/* ── Filament layout reset ──────────────── */
    .fi-simple-layout,
    .fi-simple-main-ctn,
    .fi-simple-main {
        all: unset !important;
        display: block !important;
    }

    .fi-body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: #f4f6fb;
        font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    }

    /* ── Variables ──────────────────────────── */
    :root {
        --navy:   #0f2044;
        --navy-d: #091529;
        --navy-l: #1a3560;
        --gold:   #c9a227;
        --gold-l: #e8b830;
        --text:   #1e293b;
        --muted:  #64748b;
        --border: #dde3ed;
        --bg:     #f4f6fb;
        --white:  #ffffff;
    }

    /* ── Confidential banner ────────────────── */
    .ec-conf-bar {
        background: #7f1d1d;
        color: #fecaca;
        text-align: center;
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .18em;
        text-transform: uppercase;
        padding: .4rem 1rem;
        flex-shrink: 0;
    }

    /* ── Nav ────────────────────────────────── */
    .ec-nav {
        background: var(--navy);
        padding: 0 2.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 68px;
        box-shadow: 0 2px 12px rgba(0,0,0,.3);
        flex-shrink: 0;
    }

    .ec-brand {
        display: flex;
        align-items: center;
        gap: .9rem;
        text-decoration: none;
        color: #fff;
    }

    .ec-brand-coat {
        width: 44px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .ec-brand-coat img { width: 100%; height: 100%; object-fit: contain; }

    .ec-brand-name {
        font-size: .98rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        display: block;
        line-height: 1.2;
    }

    .ec-brand-sub {
        font-size: .62rem;
        text-transform: uppercase;
        letter-spacing: .1em;
        opacity: .5;
        display: block;
    }

    .ec-class-tag {
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--gold-l);
        border: 1px solid rgba(201,162,39,.4);
        padding: .22rem .65rem;
        border-radius: 4px;
    }

    .ec-nav-back {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        font-size: .82rem;
        font-weight: 600;
        color: rgba(255,255,255,.65);
        text-decoration: none;
        transition: color .15s;
    }

    .ec-nav-back:hover { color: #fff; }
    .ec-nav-back svg { width: 14px; height: 14px; }

    /* ── Page body ──────────────────────────── */
    .ec-login-page {
        flex: 1;
        display: flex;
        align-items: stretch;
        min-height: calc(100vh - 112px);
    }

    /* ── Left panel ─────────────────────────── */
    .ec-left {
        display: none;
        flex-direction: column;
        justify-content: center;
        color: #fff;
        padding: 3.5rem;
        position: relative;
        overflow: hidden;
    }
    .ec-left-scene {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    .ec-left-scene svg { width: 100%; height: 100%; }
    .ec-left-body {
        position: relative;
        z-index: 2;
        background: linear-gradient(to right, rgba(5,12,31,.72) 0%, rgba(5,12,31,.50) 60%, transparent 100%);
        padding: 1.5rem;
        border-radius: 10px;
    }
    @keyframes lp-sun-pulse    { 0%,100%{opacity:1}   50%{opacity:.82} }
    @keyframes lp-halo-breathe { 0%,100%{opacity:.16} 50%{opacity:.3}  }
    @keyframes lp-shimmer      { 0%,100%{opacity:.3}  50%{opacity:.72} }
    .lp-sun-orb  { animation: lp-sun-pulse    4s ease-in-out infinite; }
    .lp-sun-halo { animation: lp-halo-breathe 4s ease-in-out infinite; }
    .lp-shimmer  { animation: lp-shimmer      2.8s ease-in-out infinite; }

    .ec-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        background: rgba(201,162,39,.12);
        border: 1px solid rgba(201,162,39,.3);
        color: var(--gold-l);
        padding: .28rem .8rem;
        border-radius: 3px;
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
        margin-bottom: 2rem;
        width: fit-content;
    }

    .ec-left h2 {
        font-size: 1.85rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 1.1rem;
        letter-spacing: -.01em;
    }

    .ec-left h2 span { color: var(--gold-l); }

    .ec-left > p {
        font-size: .9rem;
        opacity: .7;
        line-height: 1.75;
        margin-bottom: 2.5rem;
        max-width: 360px;
    }

    .ec-access-list {
        display: flex;
        flex-direction: column;
        gap: .85rem;
        margin-bottom: 2.5rem;
    }

    .ec-access-item {
        display: flex;
        align-items: flex-start;
        gap: .75rem;
        font-size: .84rem;
    }

    .ec-access-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--gold-l);
        flex-shrink: 0;
        margin-top: .35rem;
    }

    .ec-access-item-text { opacity: .8; line-height: 1.5; }

    .ec-divider {
        height: 1px;
        background: rgba(255,255,255,.1);
        margin: 0 0 1.5rem;
    }

    .ec-notice {
        font-size: .75rem;
        opacity: .4;
        line-height: 1.6;
        letter-spacing: .02em;
    }

    /* ── Right panel (form) ─────────────────── */
    .ec-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2.5rem 1.5rem;
        background: var(--bg);
    }

    .ec-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: 0 4px 24px rgba(15,32,68,.09);
        width: 100%;
        max-width: 420px;
        overflow: hidden;
    }

    .ec-card-head {
        background: linear-gradient(135deg, var(--navy-d), var(--navy));
        padding: 1.85rem 2rem;
        text-align: center;
        border-bottom: 3px solid var(--gold);
    }

    .ec-card-emblem {
        width: 52px;
        height: 52px;
        background: rgba(201,162,39,.15);
        border: 2px solid rgba(201,162,39,.35);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }

    .ec-card-emblem svg { width: 24px; height: 24px; color: var(--gold-l); }

    .ec-card-head h1 {
        font-size: 1.15rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: .3rem;
        letter-spacing: .01em;
    }

    .ec-card-head p {
        font-size: .78rem;
        color: rgba(255,255,255,.5);
        letter-spacing: .02em;
    }

    .ec-card-body { padding: 1.85rem 2rem 2rem; }

    .ec-card-foot {
        border-top: 1px solid var(--border);
        padding: .9rem 2rem;
        text-align: center;
        font-size: .75rem;
        color: var(--muted);
        background: #f8fafc;
        letter-spacing: .02em;
    }

    .ec-card-foot a { color: #1a56db; font-weight: 600; text-decoration: none; }
    .ec-card-foot a:hover { text-decoration: underline; }

    /* ── SSO buttons ───────────────────────── */
    .ec-sso-sep {
        display: flex;
        align-items: center;
        gap: .75rem;
        margin: 1.25rem 0;
        color: var(--muted);
        font-size: .75rem;
        letter-spacing: .04em;
    }
    .ec-sso-sep::before,
    .ec-sso-sep::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

    .ec-sso-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .65rem;
        width: 100%;
        padding: .65rem 1rem;
        border: 1.5px solid var(--border);
        border-radius: 8px;
        background: #fff;
        font-size: .85rem;
        font-weight: 600;
        color: var(--text);
        text-decoration: none;
        transition: border-color .15s, background .15s, box-shadow .15s;
        margin-bottom: .6rem;
        cursor: pointer;
    }
    .ec-sso-btn:last-child { margin-bottom: 0; }
    .ec-sso-btn:hover {
        border-color: #94a3b8;
        background: #f8fafc;
        box-shadow: 0 1px 4px rgba(0,0,0,.07);
    }
    .ec-sso-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

    /* ── Responsive ─────────────────────────── */
    @media (min-width: 900px) {
        .ec-left {
            display: flex;
            flex: 0 0 44%;
        }
    }

    @media (max-width: 640px) {
        .ec-nav { padding: 0 1.25rem; }
        .ec-brand-sub, .ec-class-tag { display: none; }
        .ec-right { padding: 1.5rem 1rem; }
        .ec-card-head { padding: 1.5rem 1.25rem; }
        .ec-card-body { padding: 1.25rem 1.25rem 1.5rem; }
    }
