:root{
    --navy:#071320;
    --navy2:#0b1d31;
    --navy3:#102844;
    --ink:#142033;
    --muted:#667085;
    --line:#e6ebf2;
    --bg:#f5f7fa;
    --white:#fff;
    --teal:#31c7c9;
    --teal2:#78e1d8;
    --blue:#5a91ff;
    --success:#18865e;
    --warning:#ab7118;
    --shadow:0 24px 64px rgba(8,20,38,.14);
    --radius:22px;
}

*{box-sizing:border-box}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color:var(--ink);
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
}

a{
    color:inherit;
}

.brand{
    display:inline-flex;
    align-items:center;
    gap:11px;
    text-decoration:none;
    font-weight:800;
    letter-spacing:-.02em;
}

.brand-mark{
    width:39px;
    height:39px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:
        linear-gradient(
            135deg,
            var(--teal),
            var(--blue)
        );
    color:white;
    font-size:11px;
    letter-spacing:.05em;
    box-shadow:
        0 10px 26px rgba(49,199,201,.25);
}

.brand-product{
    color:var(--teal);
}

.btn{
    appearance:none;
    border:0;
    min-height:44px;
    padding:0 17px;
    border-radius:13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font:inherit;
    font-weight:750;
    text-decoration:none;
    cursor:pointer;
    transition:.18s ease;
}

.btn:hover{
    transform:translateY(-1px);
}

.btn-primary{
    color:#052129;
    background:
        linear-gradient(
            135deg,
            var(--teal2),
            var(--teal)
        );
}

.btn-dark{
    color:white;
    background:#132942;
}

.btn-ghost{
    color:#dbe8f5;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.055);
}

.btn-soft{
    color:#2b3c53;
    background:#edf2f7;
}

.eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;
    font-size:11px;
    font-weight:850;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#6ee2d9;
}

.eyebrow:before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--teal);
    box-shadow:
        0 0 0 5px rgba(49,199,201,.10);
}

/* PUBLIC */

.public{
    min-height:100vh;
    color:white;
    background:
        radial-gradient(
            circle at 10% 12%,
            rgba(49,199,201,.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 5%,
            rgba(90,145,255,.15),
            transparent 28%
        ),
        var(--navy);
}

.public-nav{
    width:min(1180px,calc(100% - 40px));
    height:82px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.nav-actions{
    display:flex;
    gap:10px;
}

.hero{
    width:min(1180px,calc(100% - 40px));
    margin:72px auto 0;
    display:grid;
    grid-template-columns:1.13fr .87fr;
    gap:68px;
    align-items:center;
}

.hero h1{
    margin:19px 0 19px;
    max-width:760px;
    font-size:clamp(45px,6vw,77px);
    line-height:.98;
    letter-spacing:-.055em;
}

.hero p{
    max-width:680px;
    color:#a8bbd0;
    font-size:18px;
    line-height:1.7;
}

.hero-actions{
    margin-top:29px;
    display:flex;
    flex-wrap:wrap;
    gap:11px;
}

.control-preview{
    padding:25px;
    border-radius:28px;
    border:1px solid rgba(255,255,255,.10);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.095),
            rgba(255,255,255,.025)
        );
    backdrop-filter:blur(18px);
    box-shadow:
        0 35px 90px rgba(0,0,0,.28);
}

.preview-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding-bottom:18px;
    border-bottom:1px solid rgba(255,255,255,.09);
}

.health{
    color:#67dfba;
    font-size:13px;
    font-weight:800;
}

.score{
    margin:22px 0 6px;
    font-size:60px;
    font-weight:850;
    letter-spacing:-.05em;
}

.score span{
    color:#8498af;
    font-size:18px;
    letter-spacing:0;
}

.preview-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:11px;
    margin-top:19px;
}

.preview-cell{
    padding:15px;
    border-radius:15px;
    background:rgba(1,12,22,.40);
    border:1px solid rgba(255,255,255,.055);
}

.preview-cell small{
    color:#8095ad;
}

.preview-cell strong{
    display:block;
    margin-top:5px;
    font-size:16px;
}

.features{
    width:min(1180px,calc(100% - 40px));
    margin:85px auto 0;
    padding-bottom:80px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.feature{
    padding:24px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:19px;
    background:rgba(255,255,255,.045);
}

.feature b{
    display:block;
    margin-bottom:8px;
    font-size:16px;
}

.feature p{
    margin:0;
    color:#8fa4bc;
    font-size:14px;
    line-height:1.6;
}

/* AUTH */

.auth{
    min-height:100vh;
    display:grid;
    grid-template-columns:1.08fr .92fr;
}

.auth-left{
    padding:46px;
    color:white;
    background:
        radial-gradient(
            circle at 12% 12%,
            rgba(49,199,201,.22),
            transparent 32%
        ),
        radial-gradient(
            circle at 88% 88%,
            rgba(90,145,255,.18),
            transparent 34%
        ),
        var(--navy);
}

.auth-copy{
    width:min(690px,100%);
    margin:105px auto 0;
}

.auth-copy h1{
    margin:20px 0;
    font-size:clamp(43px,5vw,70px);
    line-height:1;
    letter-spacing:-.055em;
}

.auth-copy p{
    color:#a5b8ce;
    font-size:17px;
    line-height:1.7;
}

.auth-proof{
    margin-top:38px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:11px;
}

.proof{
    padding:16px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.045);
}

.proof strong{
    display:block;
    font-size:15px;
}

.proof span{
    display:block;
    color:#8297ae;
    font-size:11px;
    margin-top:5px;
}

.auth-right{
    display:grid;
    place-items:center;
    padding:42px;
    background:#f5f7fa;
}

.auth-card{
    width:min(465px,100%);
    padding:37px;
    background:white;
    border:1px solid var(--line);
    border-radius:26px;
    box-shadow:var(--shadow);
}

.auth-card h2{
    margin:27px 0 7px;
    font-size:29px;
    letter-spacing:-.035em;
}

.muted{
    color:var(--muted);
}

.field{
    margin-top:17px;
}

.field label{
    display:block;
    margin-bottom:7px;
    font-size:12px;
    font-weight:750;
}

.field input{
    width:100%;
    height:49px;
    padding:0 14px;
    border:1px solid #d9e0e9;
    border-radius:12px;
    outline:none;
    font:inherit;
}

.field input:focus{
    border-color:#64cfd1;
    box-shadow:
        0 0 0 4px rgba(49,199,201,.10);
}

.full{
    width:100%;
    margin-top:21px;
}

.divider{
    margin:22px 0 13px;
    display:flex;
    align-items:center;
    gap:12px;
    color:#98a2b3;
    font-size:11px;
}

.divider:before,
.divider:after{
    content:"";
    flex:1;
    height:1px;
    background:#e7ebf0;
}

.alert{
    padding:12px 14px;
    margin-top:15px;
    border-radius:11px;
    background:#fff1f3;
    color:#a52b42;
    font-size:13px;
}

/* APP */

.app-shell{
    min-height:100vh;
    display:grid;
    grid-template-columns:264px 1fr;
}

.sidebar{
    padding:24px 18px;
    color:white;
    background:
        linear-gradient(
            180deg,
            #07111f,
            #0a1a2e
        );
}

.sidebar .brand{
    padding:0 10px 24px;
}

.nav-label{
    padding:18px 11px 7px;
    color:#61778e;
    font-size:10px;
    font-weight:850;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.sidebar a.item{
    min-height:42px;
    padding:0 12px;
    margin:3px 0;
    display:flex;
    align-items:center;
    border-radius:11px;
    color:#9fb0c4;
    text-decoration:none;
    font-size:13px;
    font-weight:650;
}

.sidebar a.item.active,
.sidebar a.item:hover{
    color:white;
    background:rgba(255,255,255,.07);
}

.workspace{
    min-width:0;
}

.topbar{
    height:74px;
    padding:0 29px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--line);
    background:white;
}

.top-title strong{
    display:block;
    font-size:13px;
}

.top-title span{
    display:block;
    margin-top:2px;
    color:var(--muted);
    font-size:11px;
}

.user{
    display:flex;
    align-items:center;
    gap:10px;
}

.avatar{
    width:37px;
    height:37px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:white;
    background:
        linear-gradient(
            135deg,
            #193453,
            #34728d
        );
    font-weight:850;
}

.content{
    padding:29px;
}

.page-head{
    margin-bottom:22px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.page-head h1{
    margin:0;
    font-size:30px;
    letter-spacing:-.04em;
}

.page-head p{
    margin:7px 0 0;
    color:var(--muted);
}

.status{
    padding:8px 11px;
    border-radius:999px;
    border:1px solid #c9efdf;
    color:#08724f;
    background:#e9f8f2;
    font-size:11px;
    font-weight:800;
}

.grid{
    display:grid;
    grid-template-columns:repeat(12,1fr);
    gap:15px;
}

.card{
    padding:20px;
    border:1px solid var(--line);
    border-radius:18px;
    background:white;
}

.hero-card{
    min-height:260px;
    grid-column:span 8;
    color:white;
    border:0;
    background:
        radial-gradient(
            circle at 87% 12%,
            rgba(49,199,201,.19),
            transparent 33%
        ),
        var(--navy);
}

.hero-card h2{
    margin:14px 0 8px;
    font-size:30px;
    letter-spacing:-.04em;
}

.hero-card p{
    max-width:640px;
    color:#98adc4;
    line-height:1.6;
}

.control-card{
    grid-column:span 4;
}

.metric{
    grid-column:span 3;
}

.metric small{
    color:var(--muted);
    font-weight:750;
}

.metric strong{
    display:block;
    margin-top:8px;
    font-size:32px;
    letter-spacing:-.04em;
}

.lock{
    margin-top:15px;
    padding:11px 13px;
    border:1px solid #f1ddb3;
    border-radius:11px;
    background:#fff8e8;
    color:#8e6113;
    font-size:12px;
}

.empty{
    grid-column:span 12;
    padding:43px;
    text-align:center;
}

.empty-badge{
    width:58px;
    height:58px;
    margin:auto;
    display:grid;
    place-items:center;
    border-radius:17px;
    color:#087b80;
    background:#e7f8f8;
    font-weight:850;
    font-size:21px;
}

@media(max-width:980px){
    .hero,
    .auth{
        grid-template-columns:1fr;
    }

    .features{
        grid-template-columns:1fr;
    }

    .app-shell{
        grid-template-columns:1fr;
    }

    .sidebar{
        display:none;
    }

    .hero-card,
    .control-card,
    .metric{
        grid-column:span 12;
    }
}

@media(max-width:640px){
    .public-nav,
    .hero,
    .features{
        width:min(100% - 28px,1180px);
    }

    .hero{
        margin-top:36px;
    }

    .nav-actions .btn-ghost{
        display:none;
    }

    .auth-left,
    .auth-right,
    .content{
        padding:23px;
    }

    .auth-proof{
        grid-template-columns:1fr;
    }

    .auth-card{
        padding:25px;
    }

    .topbar{
        padding:0 18px;
    }
}

/* RES-FINAL-C bilingual / RTL foundation */
.locale-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff}.locale-switch a{min-width:31px;padding:5px 7px;border-radius:7px;text-align:center;text-decoration:none;font-size:10px;font-weight:850;color:#667085}.locale-switch a.active{background:#e7f8f8;color:#087b80}.dark-locale{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.05)}.dark-locale a{color:#9fb0c4}.dark-locale a.active{background:rgba(49,199,201,.16);color:#78e1d8}.public-locale{align-self:center}.auth-language{display:flex;justify-content:flex-end;margin-bottom:16px}.sidebar-locale{margin:22px 10px 0;padding-top:16px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:10px;color:#61778e;font-size:10px;font-weight:800}.preview-sub{color:#7f94ad;font-size:11px;margin-top:4px}.preview-copy{color:#8297b0;font-size:12px;line-height:1.5}
html[dir="rtl"] body{font-family:Tahoma,"Segoe UI",Arial,sans-serif;letter-spacing:0}html[dir="rtl"] .hero h1,html[dir="rtl"] .auth-copy h1,html[dir="rtl"] .page-head h1{letter-spacing:0}html[dir="rtl"] .eyebrow,html[dir="rtl"] .nav-label{letter-spacing:0}html[dir="rtl"] .app-shell{grid-template-columns:1fr 264px}html[dir="rtl"] .sidebar{grid-column:2;grid-row:1}html[dir="rtl"] .workspace{grid-column:1;grid-row:1}html[dir="rtl"] .sidebar a.item{text-align:right}html[dir="rtl"] .user,html[dir="rtl"] .identity-row{direction:rtl}html[dir="rtl"] .brand{letter-spacing:0}html[dir="rtl"] .account-links{direction:rtl}
@media(max-width:980px){html[dir="rtl"] .app-shell{grid-template-columns:1fr}html[dir="rtl"] .workspace{grid-column:1}}
@media(max-width:640px){.public-locale{display:none}}

/* MMT ONE unified Resilience login — 2026-08-25 */
body.mmt-unified-login{min-height:100vh;color:#17172d;background:radial-gradient(circle at 4% 15%,rgba(119,92,255,.16),transparent 28rem),radial-gradient(circle at 96% 25%,rgba(32,213,194,.15),transparent 30rem),linear-gradient(rgba(70,78,140,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(70,78,140,.055) 1px,transparent 1px),#f7f8ff;background-size:auto,auto,54px 54px,54px 54px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif}
.mmt-login-header{height:88px;max-width:1450px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:26px}.mmt-login-brand{display:flex;align-items:center;gap:12px;text-decoration:none}.mmt-login-brand img{width:42px;height:42px;filter:drop-shadow(0 8px 18px rgba(119,92,255,.18))}.mmt-login-brand span{display:flex;flex-direction:column}.mmt-login-brand b{font-size:17px;letter-spacing:-.03em}.mmt-login-brand small{margin-top:2px;color:#7d819f;font-size:7px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}.mmt-login-header nav{display:flex;align-items:center;gap:30px}.mmt-login-header nav a{color:#30344f;text-decoration:none;font-size:12px;font-weight:800}.mmt-login-actions{display:flex;align-items:center;gap:12px}.unified-locale{border:1px solid rgba(25,28,67,.12);background:rgba(255,255,255,.58)}.unified-locale a{color:#6d728f}.unified-locale a.active{background:linear-gradient(135deg,#775cff,#c44bea);color:#fff}.unified-demo{color:#fff;background:linear-gradient(115deg,#775cff,#a34fff 56%,#c64fe5);box-shadow:0 14px 34px rgba(119,92,255,.24)}
.mmt-login-shell{max-width:1450px;margin:24px auto 38px;padding:0 28px;display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:stretch}.mmt-login-story,.mmt-login-card-wrap{min-height:850px;border:1px solid rgba(35,40,80,.10);border-radius:34px}.mmt-login-story{position:relative;overflow:hidden;padding:78px 76px;background:radial-gradient(circle at 90% 90%,rgba(32,213,194,.18),transparent 27rem),radial-gradient(circle at 20% 2%,rgba(119,92,255,.17),transparent 30rem),rgba(255,255,255,.35);box-shadow:0 30px 90px rgba(66,58,133,.10)}.mmt-login-story:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(255,255,255,.20),transparent 44%)}.mmt-login-eyebrow{position:relative;z-index:1;color:#18bfb8;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.mmt-login-story h1{position:relative;z-index:1;max-width:720px;margin:25px 0 20px;font-size:clamp(54px,5.3vw,82px);line-height:1.02;letter-spacing:-.06em}.mmt-login-story p{position:relative;z-index:1;max-width:680px;color:#4f5575;font-size:18px;line-height:1.7}.mmt-login-chips{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:9px;margin-top:27px}.mmt-login-chips span{padding:10px 14px;border:1px solid rgba(30,35,80,.11);border-radius:999px;background:rgba(255,255,255,.60);font-size:11px;font-weight:800;color:#373c5b}
.res-login-preview{position:relative;z-index:1;margin-top:58px;padding:20px;border:1px solid rgba(40,45,90,.15);border-radius:25px;background:rgba(255,255,255,.62);box-shadow:0 26px 65px rgba(33,38,80,.13);backdrop-filter:blur(16px)}.preview-toolbar{display:flex;align-items:center;gap:12px;padding:2px 2px 17px;border-bottom:1px solid rgba(30,35,80,.09)}.preview-toolbar .dots{color:#ff8c87;font-size:8px;letter-spacing:3px}.preview-toolbar b{font-size:10px}.preview-toolbar em{margin-inline-start:auto;color:#24b977;font-size:8px;font-style:normal;font-weight:800}.res-login-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;padding-top:16px}.res-login-kpis article{padding:16px;border:1px solid rgba(30,35,80,.09);border-radius:16px;background:rgba(255,255,255,.68)}.res-login-kpis small{display:block;color:#777d9a;font-size:8px;font-weight:800}.res-login-kpis strong{display:block;margin-top:5px;font-size:28px}.res-login-kpis i{display:block;margin-top:4px;color:#24b977;font-size:8px;font-style:normal;font-weight:800}.res-login-lower{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:11px}.res-login-lower article{display:flex;gap:9px;align-items:center;padding:13px;border-radius:15px;background:linear-gradient(135deg,rgba(119,92,255,.06),rgba(32,213,194,.06));border:1px solid rgba(30,35,80,.07)}.res-login-lower article>span{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#e7fff2;color:#1fa56d;font-weight:900}.res-login-lower b{display:block;font-size:9px}.res-login-lower small{display:block;margin-top:2px;color:#7b819e;font-size:8px}.learn-resilience{position:relative;z-index:1;display:inline-flex;margin-top:24px;color:#515775;font-size:11px;font-weight:850;text-decoration:none}
.mmt-login-card-wrap{display:grid;place-items:center;padding:54px;background:rgba(255,255,255,.78);box-shadow:0 30px 90px rgba(66,58,133,.08)}.mmt-login-card{width:min(550px,100%)}.secure-kicker{color:#18bfb8;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.card-brand{display:flex;align-items:center;gap:12px;margin-top:24px}.card-brand img{width:44px;height:44px}.card-brand span{display:flex;flex-direction:column}.card-brand b{font-size:16px}.card-brand small{margin-top:3px;color:#8287a2;font-size:9px}.mmt-login-card h2{margin:27px 0 8px;font-size:42px;line-height:1;letter-spacing:-.05em}.mmt-login-card>p{margin:0;color:#646984;font-size:14px;line-height:1.7}.unified-primary{margin-top:30px;min-height:56px;color:#fff;background:linear-gradient(115deg,#775cff,#9a50ff 56%,#c64fe5);box-shadow:0 16px 36px rgba(119,92,255,.25)}.unified-trust{display:grid;grid-template-columns:1fr;gap:9px;margin-top:25px;padding:19px;border-block:1px solid rgba(30,35,80,.09)}.unified-trust span{color:#555b78;font-size:11px;font-weight:750}.mmt-account-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:19px;font-size:11px}.mmt-account-links a{color:#555b78;font-weight:800}.emergency-access{margin-top:22px;border-top:1px solid rgba(30,35,80,.09);padding-top:17px}.emergency-access summary{cursor:pointer;color:#7a809b;font-size:10px;font-weight:800}.login-foot{margin-top:28px;color:#8a8fa8;font-size:9px;text-align:center}
html[dir="rtl"] .mmt-login-story h1{letter-spacing:-.02em}.mmt-unified-login .alert{margin-top:18px}.mmt-unified-login .field input{background:#fff;border-color:rgba(30,35,80,.13)}
@media(max-width:1080px){.mmt-login-header nav{display:none}.mmt-login-shell{grid-template-columns:1fr}.mmt-login-story,.mmt-login-card-wrap{min-height:auto}.mmt-login-story{padding:60px}.mmt-login-card-wrap{padding:65px 40px}.res-login-preview{max-width:760px}}
@media(max-width:650px){.mmt-login-header{height:76px;padding:0 16px}.mmt-login-brand small,.unified-demo{display:none}.mmt-login-shell{margin-top:10px;padding:0 14px}.mmt-login-story{padding:38px 24px;border-radius:26px}.mmt-login-story h1{font-size:48px}.mmt-login-story p{font-size:15px}.mmt-login-chips{display:grid}.res-login-kpis,.res-login-lower{grid-template-columns:1fr}.mmt-login-card-wrap{padding:42px 24px;border-radius:26px}.mmt-login-card h2{font-size:36px}.mmt-login-actions{gap:5px}}
/* Unified MMT ONE workspace shell */
.mmt-res-brand{display:flex!important;align-items:center;gap:11px;padding:0 10px 22px!important}.mmt-res-brand img{width:38px;height:38px;filter:drop-shadow(0 8px 18px rgba(119,92,255,.25))}.mmt-res-brand>span{display:flex;flex-direction:column;line-height:1.05}.mmt-res-brand b{font-size:14px;color:#fff;letter-spacing:-.02em}.mmt-res-brand small{margin-top:4px;color:#7f91a7;font-size:8px;font-weight:800}.mmt-res-sidebar{background:radial-gradient(circle at 20% 0,rgba(119,92,255,.20),transparent 15rem),linear-gradient(180deg,#090a1a,#11152c)!important}.mmt-res-sidebar .item.active{background:linear-gradient(90deg,rgba(119,92,255,.24),rgba(32,213,194,.10))!important;border-color:rgba(119,92,255,.28)!important}.mmt-res-sidebar .nav-label{color:#7f8ba6}.mmt-res-main-link{display:block;margin:24px 10px 0;padding:14px 12px;border-top:1px solid rgba(255,255,255,.08);color:#8293aa;text-decoration:none;font-size:9px;font-weight:800}.mmt-res-main-link:hover{color:#78e1d8}

/* MMT ONE Resilience login theme switch — 2026-08-25 */
.mmt-res-theme-toggle{width:38px;height:38px;padding:0;border:1px solid rgba(30,35,80,.12);border-radius:11px;background:rgba(255,255,255,.58);color:#343954;display:grid;place-items:center;cursor:pointer;font:inherit;transition:.18s ease}.mmt-res-theme-toggle:hover{transform:translateY(-1px);border-color:rgba(119,92,255,.35)}.mmt-res-theme-toggle .theme-sun,.mmt-res-theme-toggle .theme-moon{grid-area:1/1;font-size:18px}.mmt-res-theme-toggle .theme-sun{display:none}html[data-theme="dark"] .mmt-res-theme-toggle .theme-sun{display:block}html[data-theme="dark"] .mmt-res-theme-toggle .theme-moon{display:none}
html[data-theme="dark"] body.mmt-unified-login{color:#f7f8ff;background:radial-gradient(circle at 4% 15%,rgba(119,92,255,.18),transparent 28rem),radial-gradient(circle at 96% 25%,rgba(32,213,194,.13),transparent 30rem),linear-gradient(rgba(126,132,205,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(126,132,205,.035) 1px,transparent 1px),#08091a}
html[data-theme="dark"] .mmt-login-brand small,html[data-theme="dark"] .card-brand small,html[data-theme="dark"] .login-foot{color:#7f87a7}html[data-theme="dark"] .mmt-login-header nav a{color:#d8dbed}html[data-theme="dark"] .mmt-res-theme-toggle{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.10);color:#eef0ff}html[data-theme="dark"] .unified-locale{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.10)}html[data-theme="dark"] .unified-locale a{color:#9fa5c1}
html[data-theme="dark"] .mmt-login-story{border-color:rgba(255,255,255,.08);background:radial-gradient(circle at 90% 90%,rgba(32,213,194,.09),transparent 27rem),radial-gradient(circle at 20% 2%,rgba(119,92,255,.14),transparent 30rem),rgba(255,255,255,.018);box-shadow:0 30px 90px rgba(0,0,0,.24)}html[data-theme="dark"] .mmt-login-story:after{background:linear-gradient(120deg,rgba(255,255,255,.035),transparent 44%)}html[data-theme="dark"] .mmt-login-story p{color:#a8aec9}html[data-theme="dark"] .mmt-login-chips span{color:#d9dcef;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.09)}
html[data-theme="dark"] .res-login-preview{background:rgba(13,16,38,.68);border-color:rgba(255,255,255,.09);box-shadow:0 26px 65px rgba(0,0,0,.28)}html[data-theme="dark"] .preview-toolbar{border-color:rgba(255,255,255,.08)}html[data-theme="dark"] .res-login-kpis article{background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.08)}html[data-theme="dark"] .res-login-kpis small,html[data-theme="dark"] .res-login-lower small{color:#858da9}html[data-theme="dark"] .res-login-lower article{border-color:rgba(255,255,255,.06);background:linear-gradient(135deg,rgba(119,92,255,.075),rgba(32,213,194,.05))}html[data-theme="dark"] .learn-resilience{color:#a9afca}
html[data-theme="dark"] .mmt-login-card-wrap{background:rgba(12,14,32,.80);border-color:rgba(255,255,255,.08);box-shadow:0 30px 90px rgba(0,0,0,.25)}html[data-theme="dark"] .mmt-login-card>p{color:#a1a7c0}html[data-theme="dark"] .unified-trust{border-color:rgba(255,255,255,.08)}html[data-theme="dark"] .unified-trust span,html[data-theme="dark"] .mmt-account-links a{color:#bdc2d8}html[data-theme="dark"] .emergency-access{border-color:rgba(255,255,255,.08)}html[data-theme="dark"] .mmt-unified-login .field input{background:#0f1228;color:#f7f8ff;border-color:rgba(255,255,255,.12)}

/* RES-FINAL accessibility + mobile workspace navigation */
.skip-link{position:fixed;inset-block-start:-80px;inset-inline-start:16px;z-index:9999;padding:10px 14px;border-radius:10px;background:#fff;color:#111827;font-weight:850;text-decoration:none;box-shadow:0 8px 26px rgba(0,0,0,.18)}
.skip-link:focus{inset-block-start:12px}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #31c7c9;outline-offset:3px}
#main-content:focus{outline:none}
.mmt-mobile-nav{display:none;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:80}
.mmt-mobile-nav summary{min-height:54px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:13px;font-weight:850;list-style:none}
.mmt-mobile-nav summary::-webkit-details-marker{display:none}
.mmt-mobile-nav summary:after{content:"⌄";font-size:17px}
.mmt-mobile-nav[open] summary:after{content:"⌃"}
.mmt-mobile-nav nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 14px 14px}
.mmt-mobile-nav nav a{min-height:42px;padding:10px 12px;display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;text-decoration:none;font-size:12px;font-weight:700;background:#fff}
html[dir="rtl"] .mmt-mobile-nav nav a{text-align:right}
@media(max-width:980px){.mmt-mobile-nav{display:block}.workspace{min-width:0}}
@media(max-width:560px){.mmt-mobile-nav nav{grid-template-columns:1fr}.top-title span{display:none}.user>div:not(.avatar){display:none}.content{padding:18px}.page-head{flex-direction:column}.status{align-self:flex-start;max-width:100%}.card{overflow-wrap:anywhere}}

/* RES-FINAL-C RTL desktop sidebar placement fix — 2026-08-26 */
@media(min-width:981px){
  html[dir="rtl"] .app-shell{direction:ltr;grid-template-columns:minmax(0,1fr) 264px}
  html[dir="rtl"] .workspace{grid-column:1;grid-row:1;direction:rtl}
  html[dir="rtl"] .mmt-res-sidebar{grid-column:2;grid-row:1;direction:rtl}
}

/* MMT Resilience journey navigation · 2026-08-30 */
.mmt-res-sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(120,225,216,.22) transparent}
.mmt-res-sidebar::-webkit-scrollbar{width:5px}.mmt-res-sidebar::-webkit-scrollbar-thumb{background:rgba(120,225,216,.20);border-radius:10px}
.nav-journey-title{margin:2px 10px 4px;color:#dbe6f3;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.mmt-res-sidebar .journey-label{display:flex;align-items:center;gap:8px;padding:13px 11px 5px;color:#7f8ba6;font-size:9px;letter-spacing:.09em}
.mmt-res-sidebar .journey-label .journey-no{display:inline-flex;min-width:27px;height:20px;align-items:center;justify-content:center;border:1px solid rgba(120,225,216,.15);border-radius:7px;background:rgba(120,225,216,.055);color:#78aeb3;font-size:8px;font-weight:900;letter-spacing:.04em}
.mmt-res-sidebar .journey-label.platform-label{margin-top:5px;border-top:1px solid rgba(255,255,255,.055)}
.mmt-res-sidebar a.item{min-height:38px;margin:2px 0;padding-left:14px;font-size:12px}
.mmt-res-sidebar a.item.active{box-shadow:inset 2px 0 0 #78e1d8}
.mmt-mobile-stage{display:block;margin:11px 8px 3px;padding-top:9px;border-top:1px solid var(--line);color:#667085;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
html[dir="rtl"] .mmt-res-sidebar a.item{padding-left:12px;padding-right:14px}html[dir="rtl"] .mmt-res-sidebar a.item.active{box-shadow:inset -2px 0 0 #78e1d8}
.mmt-mobile-stage{grid-column:1/-1}
