:root {
    --l2l-blue: #2563eb;
    --l2l-green: #15803d;
    --l2l-ink: #10243a;
    --l2l-muted: #64748b;
    --l2l-line: #e5edf6;
    --l2l-soft: #f8fbff;
}

body {
    margin: 0;
    background: #f7faff;
    color: var(--l2l-ink);
    font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
}

.l2l-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--l2l-line);
}

.l2l-nav-wrap {
    max-width: 1180px;
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 18px;
}

.l2l-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--l2l-ink);
    text-decoration: none;
    font-weight: 950;
    white-space: nowrap;
}

.l2l-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 34px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #16a34a);
    font-weight: 950;
    letter-spacing: .04em;
}

.l2l-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

    .l2l-menu a {
        text-decoration: none;
        color: #475569;
        font-weight: 850;
        padding: 8px 11px;
        border-radius: 999px;
    }

        .l2l-menu a:hover {
            background: #eff6ff;
            color: var(--l2l-blue);
        }

.l2l-userbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.l2l-user-pill {
    border: 1px solid var(--l2l-line);
    border-radius: 999px;
    padding: 6px 10px;
    background: #fff;
    color: #334155;
    font-weight: 850;
}

.l2l-main {
    min-height: calc(100vh - 112px);
}

.l2l-footer {
    border-top: 1px solid var(--l2l-line);
    background: #fff;
    color: var(--l2l-muted);
    padding: 14px 18px;
    text-align: center;
    font-size: .9rem;
}

.l2l-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.l2l-hero, .l2l-page-hero, .l2l-auth-card, .l2l-card {
    border: 1px solid var(--l2l-line);
    background: #fff;
    box-shadow: 0 14px 34px rgba(15,23,42,.07);
}

.l2l-hero {
    border-radius: 28px;
    padding: 46px;
    background: radial-gradient(circle at top left, rgba(37,99,235,.16), transparent 34%), radial-gradient(circle at bottom right, rgba(22,163,74,.12), transparent 34%), #fff;
}

    .l2l-hero h1, .l2l-page-hero h1 {
        margin: 0;
        color: var(--l2l-ink);
        font-weight: 950;
        letter-spacing: -.03em;
    }

    .l2l-hero p, .l2l-page-hero p {
        margin: 8px 0 0;
        color: var(--l2l-muted);
        font-weight: 650;
    }

.l2l-kicker {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.l2l-page-hero {
    border-radius: 22px;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    background: radial-gradient(circle at top left, rgba(37,99,235,.12), transparent 34%), linear-gradient(180deg, #ffffff, #f8fbff);
}

.l2l-auth-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.l2l-auth-card {
    border-radius: 28px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    overflow: hidden;
}

.l2l-auth-left {
    padding: 40px;
    background: radial-gradient(circle at top left, rgba(37,99,235,.16), transparent 34%), radial-gradient(circle at bottom right, rgba(22,163,74,.12), transparent 34%), #f8fbff;
}

    .l2l-auth-left h1 {
        font-weight: 950;
        letter-spacing: -.03em;
    }

    .l2l-auth-left p, .l2l-muted {
        color: var(--l2l-muted);
        font-weight: 650;
    }

.l2l-auth-right {
    padding: 40px;
}

    .l2l-auth-right h2 {
        font-weight: 950;
    }

.l2l-info-box {
    margin-top: 24px;
    border: 1px solid var(--l2l-line);
    border-radius: 18px;
    padding: 16px;
    background: #fff;
}

    .l2l-info-box strong, .l2l-info-box span {
        display: block;
    }

    .l2l-info-box span {
        color: var(--l2l-muted);
        margin-top: 4px;
        font-weight: 650;
    }

.l2l-card {
    border-radius: 20px;
    overflow: hidden;
}

.l2l-card-body {
    padding: 18px;
}

.l2l-card-title {
    font-size: 1.08rem;
    font-weight: 950;
    color: var(--l2l-ink);
    margin: 0 0 12px;
}

.l2l-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.l2l-stat-card {
    border: 1px solid var(--l2l-line);
    border-radius: 18px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}

    .l2l-stat-card span, .l2l-label, .l2l-detail-grid span {
        display: block;
        color: #708096;
        font-size: .76rem;
        font-weight: 950;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .l2l-stat-card strong {
        display: block;
        font-size: 2rem;
        line-height: 1.1;
        margin-top: 8px;
        font-weight: 950;
    }

.l2l-amount {
    font-size: 1.7rem;
    font-weight: 950;
    color: var(--l2l-green);
}

.l2l-list-grid {
    display: grid;
    gap: 12px;
}

.l2l-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 1.2rem;
    font-weight: 950;
    color: var(--l2l-ink);
}

.l2l-code-small {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-weight: 900;
}

.l2l-value {
    color: var(--l2l-ink);
    font-weight: 850;
    overflow-wrap: anywhere;
}

.l2l-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.l2l-test-list {
    border: 1px solid var(--l2l-line);
    border-radius: 16px;
    overflow: hidden;
    max-height: 520px;
    overflow-y: auto;
}

.l2l-test-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 92px;
    gap: 10px;
    align-items: center;
    padding: 11px 13px;
    border-bottom: 1px solid #eef3f8;
    cursor: pointer;
    background: #fff;
}

    .l2l-test-row:hover {
        background: #f8fbff;
    }

    .l2l-test-row:last-child {
        border-bottom: 0;
    }

.l2l-test-main strong {
    display: block;
    font-weight: 900;
    color: var(--l2l-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.l2l-test-main small {
    display: block;
    color: var(--l2l-muted);
    font-weight: 700;
    font-size: .78rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.l2l-test-price {
    text-align: right;
    font-weight: 950;
    color: var(--l2l-green);
}

.l2l-submit-bar {
    border: 1px solid var(--l2l-line);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,.96);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.l2l-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

    .l2l-detail-grid > div {
        border: 1px solid var(--l2l-line);
        border-radius: 14px;
        background: var(--l2l-soft);
        padding: 11px;
    }

    .l2l-detail-grid strong {
        display: block;
        margin-top: 4px;
        color: var(--l2l-ink);
        font-weight: 900;
        overflow-wrap: anywhere;
    }

    .l2l-detail-grid .span-2 {
        grid-column: 1 / -1;
    }

.l2l-note-box {
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 14px;
    padding: 12px;
    font-weight: 700;
}

@media (max-width: 920px) {
    .l2l-auth-card, .l2l-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .l2l-nav-wrap {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .l2l-menu {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 640px) {
    .l2l-auth-card, .l2l-stat-grid, .l2l-detail-grid {
        grid-template-columns: 1fr;
    }

    .l2l-auth-left, .l2l-auth-right, .l2l-hero {
        padding: 24px;
    }

    .l2l-test-row {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .l2l-test-price {
        grid-column: 2;
        text-align: left;
    }
}
