:root{
    --navy:#0b2558;
    --navy-dark:#071c43;
    --gold:#e2a818;
    --gold-soft:#f7edd1;
    --cream:#fbf8f1;
    --white:#ffffff;
    --ink:#172033;
    --muted:#6d7890;
    --line:#e8e0d4;
}

*{box-sizing:border-box}

html,body{
    margin:0;
    min-height:100%;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    color:var(--ink);
    background:
        linear-gradient(rgba(226,168,24,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(226,168,24,.035) 1px,transparent 1px),
        var(--cream);
    background-size:42px 42px;
}

h1,h2,h3,.serif{
    font-family:Georgia,"Times New Roman",serif;
}

a{
    color:inherit;
}

.shell{
    display:flex;
    min-height:100vh;
}

.sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:230px;
    padding:24px 16px;
    background:linear-gradient(180deg,var(--navy),var(--navy-dark));
    color:white;
    overflow-y:auto;
    transition:width .15s;
}

.sidebar-top{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.section-switcher-rail{
    display:flex;
    align-items:center;
    gap:6px;
}

.nav-search{
    position:relative;
    margin:4px 2px 20px;
}

.nav-search-input{
    width:100%;
    padding:9px 12px;
    border-radius:8px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:12px;
    font:inherit;
}

.nav-search-input::placeholder{
    color:#b9c6e0;
}

.nav-search-input:focus{
    outline:2px solid var(--gold);
    outline-offset:1px;
    background:rgba(255,255,255,.12);
}

.nav-search-results{
    position:absolute;
    top:calc(100% + 4px);
    left:0;
    right:0;
    background:var(--navy-dark);
    border:1px solid rgba(255,255,255,.16);
    border-radius:8px;
    overflow:hidden;
    z-index:25;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.nav-search-result{
    display:block;
    padding:9px 12px;
    color:#fff;
    text-decoration:none;
    font-size:12.5px;
}

.nav-search-result:hover,
.nav-search-result:focus-visible{
    background:rgba(255,255,255,.1);
}

.nav-link-label{
    white-space:nowrap;
}

.brand{
    display:flex;
    gap:12px;
    align-items:center;
    margin-bottom:20px;
}

.brand-mark{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#f0bc35;
    color:var(--navy);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:Georgia,serif;
    font-size:23px;
}

.brand-name{
    font-family:Georgia,serif;
    font-size:19px;
    letter-spacing:.08em;
}

.brand-sub{
    font-size:9px;
    letter-spacing:.28em;
    text-transform:uppercase;
}

.sidebar-copy{
    color:#ccd6e7;
    font-size:12px;
    line-height:1.45;
    margin:18px 2px 24px;
}

.nav-label{
    margin:22px 5px 8px;
    font-size:11px;
    color:#e8edf7;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-weight:700;
}

.nav-link{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    margin:2px 0;
    border-radius:7px;
    color:white;
    text-decoration:none;
    font-size:13px;
}

.nav-link .icon{
    width:16px;
    height:16px;
    flex:0 0 auto;
    opacity:.85;
}

.nav-link:hover{
    background:rgba(255,255,255,.08);
}

.nav-link.active{
    background:var(--gold);
    color:var(--navy);
    font-weight:700;
}

.nav-link.active .icon{
    opacity:1;
}

.org-card{
    margin-top:34px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.16);
    border-radius:13px;
    padding:15px;
}

.org-card small{
    color:#b8c4d9;
}

.org-name{
    font-family:Georgia,serif;
    margin:7px 0;
    font-size:16px;
}

.main{
    margin-left:230px;
    width:calc(100% - 230px);
    transition:margin-left .15s,width .15s;
}

.topbar{
    height:68px;
    padding:0 30px;
    background:rgba(255,255,255,.92);
    border-bottom:1px solid var(--line);
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(10px);
}

.topbar-title{
    font-weight:700;
}

.topbar-sub{
    font-size:12px;
    color:var(--muted);
}

.user{
    display:flex;
    align-items:center;
    gap:9px;
    font-size:12px;
}

.avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    background:var(--navy);
    color:white;
    border:2px solid var(--gold);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.page{
    max-width:1450px;
    margin:0 auto;
    padding:30px 28px 70px;
}

.eyebrow{
    color:var(--navy);
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.15em;
}

.page-title{
    margin:5px 0 7px;
    font-size:32px;
}

.page-intro{
    color:var(--muted);
    line-height:1.5;
    margin:0 0 24px;
}

.preview{
    padding:13px 16px;
    margin-bottom:18px;
    background:#fff3cd;
    border:1px solid #edca68;
    border-radius:9px;
    font-size:13px;
}

.grid{
    display:grid;
    gap:16px;
}

.grid-4{
    grid-template-columns:repeat(4,1fr);
}

.grid-2{
    grid-template-columns:repeat(2,1fr);
}

.panel{
    background:rgba(255,255,255,.97);
    border:1px solid var(--line);
    border-radius:14px;
    box-shadow:0 5px 20px rgba(11,37,88,.035);
}

.panel-heading{
    padding:20px 20px 5px;
}

.panel-title{
    font-size:23px;
    margin:4px 0;
}

.panel-subtitle{
    font-size:11px;
    color:var(--muted);
}

.panel-body{
    padding:20px;
}

.metric{
    min-height:116px;
    padding:18px;
    position:relative;
    overflow:hidden;
}

.metric:after{
    content:"";
    position:absolute;
    width:55px;
    height:55px;
    border-radius:50%;
    background:var(--gold-soft);
    top:-16px;
    right:-13px;
}

.metric-label{
    font-size:11px;
    color:var(--muted);
    margin-bottom:10px;
}

.metric-value{
    font-size:29px;
    line-height:1;
    font-weight:800;
}

.metric-foot{
    margin-top:8px;
    font-size:11px;
    color:var(--muted);
}

.btn{
    height:42px;
    border:0;
    border-radius:7px;
    padding:0 18px;
    cursor:pointer;
    font-weight:700;
}

.btn-gold{
    background:var(--gold);
    color:var(--navy);
}

@media(max-width:1100px){
    .grid-4{grid-template-columns:repeat(2,1fr)}
    .grid-2{grid-template-columns:1fr}
}

@media(max-width:760px){
    .sidebar{display:none}
    .main{
        width:100%;
        margin-left:0;
    }
    .grid-4{grid-template-columns:1fr}
    .page{padding:20px}
}

/* =========================================================
   COBE INTELLIGENCE — SHARED VISUAL REFINEMENT
   ========================================================= */

.sidebar-top .brand-mark{
    width:34px;
    height:34px;
    font-size:19px;
    flex:0 0 auto;
}

.nav-rail-btn{
    width:34px;
    height:34px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#b9c6e0;
    text-decoration:none;
    flex:0 0 auto;
}

.nav-rail-btn:hover{
    background:rgba(255,255,255,.1);
    color:#fff;
}

.nav-rail-btn.active{
    background:var(--gold);
    color:var(--navy);
}

.nav-rail-toggle{
    margin-left:auto;
    width:34px;
    height:34px;
    border-radius:9px;
    border:0;
    background:transparent;
    color:#b9c6e0;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex:0 0 auto;
}

.nav-rail-toggle:hover{
    background:rgba(255,255,255,.1);
    color:#fff;
}

.nav-rail-toggle svg{
    transition:transform .15s;
}

.nav-rail-btn:focus-visible,
.nav-rail-toggle:focus-visible{
    outline:2px solid var(--gold);
    outline-offset:2px;
}

.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

html.nav-collapsed .sidebar{
    width:64px;
    padding:24px 10px;
}

html.nav-collapsed .main{
    margin-left:64px;
    width:calc(100% - 64px);
}

html.nav-collapsed .nav-rail-toggle svg{
    transform:rotate(180deg);
}

html.nav-collapsed .nav-link{
    justify-content:center;
    padding:10px 0;
}

/*
 * The label span stays visually hidden but still in the accessibility
 * tree (same clip technique as .sr-only), so a collapsed nav-link keeps
 * its accessible name for screen readers even though sighted users only
 * see the icon (plus the JS-positioned hover tooltip).
 */
html.nav-collapsed .nav-link-label{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/* These have no icon to fall back to, so fully hide rather than clip-hide. */
html.nav-collapsed .nav-sub-link,
html.nav-collapsed .nav-label,
html.nav-collapsed .nav-disclosure,
html.nav-collapsed .brand,
html.nav-collapsed .sidebar-copy,
html.nav-collapsed .nav-search,
html.nav-collapsed .org-card{
    display:none;
}

#nav-tooltip{
    position:fixed;
    transform:translateY(-50%);
    padding:5px 9px;
    border-radius:6px;
    background:var(--navy);
    color:#fff;
    font-size:11px;
    font-weight:600;
    white-space:nowrap;
    opacity:0;
    pointer-events:none;
    transition:opacity .12s;
    z-index:40;
}

#nav-tooltip.visible{
    opacity:1;
}

.brand{
    margin-bottom:14px;
}

.brand-name{
    font-size:18px;
    font-weight:700;
}

.sidebar-copy{
    margin:16px 4px 26px;
    max-width:175px;
    font-size:11px;
    line-height:1.5;
}

.nav-label{
    margin-top:25px;
    padding-left:7px;
}

.nav-link{
    padding:9px 10px;
    font-size:12px;
    border-radius:6px;
}

.nav-link.active{
    box-shadow:inset 3px 0 0 rgba(255,255,255,.35);
}

.org-card{
    margin-top:36px;
    padding:14px;
}

.topbar{
    min-height:64px;
    height:auto;
    padding:11px 28px;
}

.topbar-title{
    font-size:14px;
    color:var(--ink);
}

.topbar-sub{
    margin-top:2px;
    font-size:10px;
}

.page{
    max-width:1320px;
    padding:31px 32px 72px;
}

.page-title{
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.025em;
}

.page-intro{
    max-width:1050px;
    font-size:14px;
}

.panel{
    border-color:#dfe4ec;
    box-shadow:none;
}

.panel-heading{
    padding:20px 20px 7px;
}

.panel-title{
    font-size:22px;
    line-height:1.12;
}

.metric{
    min-height:104px;
    padding:17px 18px;
}

.metric-label{
    font-size:10px;
}

.metric-value{
    font-size:27px;
}

.preview{
    background:#fff4ce;
    border-color:#e7c45d;
    color:#24211b;
}

.btn-gold{
    background:#e2a818;
    transition:transform .15s ease, box-shadow .15s ease;
}

.btn-gold:hover{
    transform:translateY(-1px);
    box-shadow:0 5px 12px rgba(226,168,24,.22);
}

@media(max-width:760px){
    .main,
    html.nav-collapsed .main{
        margin-left:0;
        width:100%;
    }

    .page{
        padding:22px 18px 55px;
    }

    .page-title{
        font-size:29px;
    }

    /*
     * The topbar's title block and .user control group are both flex rows
     * with no wrapping — below ~700px they don't fit on one line and were
     * squeezing Notifications/Account/Help/Log out together at the edge
     * instead of reflowing, to the point Log out was barely reachable.
     */
    .topbar{
        flex-wrap:wrap;
        row-gap:10px;
    }

    .user{
        flex-wrap:wrap;
        row-gap:8px;
        width:100%;
    }
}

/* =========================================================
   STATUS PILLS
   ========================================================= */

.pill{
    display:inline-flex;
    align-items:center;
    padding:3px 11px;
    border-radius:999px;
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.pill-red{background:#fbe4e2;color:#9c2b1f}
.pill-amber{background:#fdecc8;color:#8a5a00}
.pill-green{background:#e2f2e6;color:#1f6b3a}
.pill-gray{background:#eceff3;color:#5b6576}
.pill-navy{background:var(--gold-soft);color:var(--navy)}

/* =========================================================
   TABLES
   ========================================================= */

.data-table{
    width:100%;
    border-collapse:collapse;
    margin-top:6px;
}

.data-table th{
    text-align:left;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:var(--muted);
    padding:10px 12px;
    border-bottom:1px solid var(--line);
}

.data-table td{
    padding:12px;
    border-bottom:1px solid var(--line);
    font-size:13px;
    vertical-align:middle;
}

.data-table tr:last-child td{
    border-bottom:0;
}

/* =========================================================
   ORG CARD ACTION BUTTON
   ========================================================= */

.org-card-btn{
    display:block;
    margin-top:11px;
    padding:8px 10px;
    text-align:center;
    background:var(--gold);
    color:var(--navy);
    border-radius:7px;
    font-size:11px;
    font-weight:700;
    text-decoration:none;
}

.org-card-btn:hover{
    filter:brightness(1.05);
}

/* =========================================================
   TABS
   ========================================================= */

.tab-row{
    display:flex;
    gap:6px;
    border-bottom:1px solid var(--line);
    margin-bottom:22px;
    flex-wrap:wrap;
}

.tab-link{
    padding:10px 16px;
    color:var(--muted);
    text-decoration:none;
    font-weight:700;
    font-size:13px;
    border-bottom:2px solid transparent;
    margin-bottom:-1px;
}

.tab-link:hover{
    color:var(--ink);
}

.tab-link.active{
    color:var(--navy);
    border-bottom-color:var(--gold);
}

/* =========================================================
   AUTH SPLIT-SCREEN
   ========================================================= */

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

.auth-brand-panel{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,var(--navy),var(--navy-dark));
    color:#fff;
    padding:64px 56px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.auth-brand-panel:after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    border:60px solid rgba(226,168,24,.08);
    bottom:-180px;
    left:-140px;
}

.auth-brand-mark{
    display:flex;
    align-items:center;
    gap:12px;
}

.auth-brand-mark .brand-mark{
    width:46px;
    height:46px;
    font-size:24px;
}

.auth-tagline{
    margin-top:26px;
    font-size:11px;
    letter-spacing:.3em;
    text-transform:uppercase;
    color:#c7d3e8;
}

.auth-headline{
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(30px,3.6vw,44px);
    line-height:1.18;
    max-width:520px;
    margin:26px 0 0;
}

.auth-headline em{
    color:var(--gold);
    font-style:italic;
}

.auth-body-copy{
    margin-top:18px;
    max-width:460px;
    color:#cbd6e9;
    line-height:1.6;
    font-size:14px;
}

.auth-footer-credit{
    position:relative;
    font-size:12px;
    color:#9fb0cc;
    border-top:1px solid rgba(255,255,255,.14);
    padding-top:18px;
}

.auth-form-panel{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px 24px;
}

.auth-card{
    width:100%;
    max-width:400px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:38px 34px;
    box-shadow:0 12px 40px rgba(11,37,88,.08);
}

.auth-card .eyebrow{
    color:var(--gold);
}

.auth-card h1{
    font-family:Georgia,"Times New Roman",serif;
    font-size:30px;
    margin:8px 0 6px;
    color:var(--ink);
}

.auth-card .muted{
    color:var(--muted);
    font-size:14px;
    margin:0 0 22px;
}

.auth-field{
    margin-bottom:16px;
}

.auth-field label{
    display:block;
    font-size:12px;
    font-weight:700;
    color:var(--ink);
    margin-bottom:6px;
}

.auth-field input[type=email],
.auth-field input[type=password]{
    width:100%;
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius:8px;
    font:inherit;
    background:#f7f9fc;
}

.auth-field input:focus{
    outline:2px solid var(--gold);
    outline-offset:1px;
    background:#fff;
}

.auth-remember{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:12px;
    color:var(--muted);
    margin-bottom:22px;
}

.auth-remember label{
    display:flex;
    align-items:center;
    gap:7px;
}

.auth-remember a{
    color:var(--navy);
    font-weight:700;
    text-decoration:none;
}

.auth-submit{
    width:100%;
    height:46px;
    border:0;
    border-radius:8px;
    background:var(--gold);
    color:var(--navy);
    font-weight:800;
    font-size:14px;
    cursor:pointer;
}

.auth-submit:hover{
    filter:brightness(1.05);
}

.auth-submit-secondary{
    background:#fff;
    color:var(--navy);
    border:1px solid var(--line);
}

.auth-submit-secondary:hover{
    background:#f7f9fc;
    filter:none;
}

.auth-submit:focus-visible,
.auth-remember a:focus-visible,
.auth-helper a:focus-visible{
    outline:2px solid var(--navy);
    outline-offset:2px;
}

.auth-divider{
    display:flex;
    align-items:center;
    gap:10px;
    margin:24px 0 18px;
    font-size:10px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--muted);
}

.auth-divider:before,
.auth-divider:after{
    content:"";
    flex:1;
    height:1px;
    background:var(--line);
}

.auth-helper{
    font-size:12px;
    color:var(--muted);
    text-align:center;
    line-height:1.5;
}

.auth-helper a{
    color:var(--navy);
    font-weight:700;
    text-decoration:none;
}

.auth-error{
    background:#fbe4e2;
    color:#9c2b1f;
    border-radius:8px;
    padding:11px 14px;
    font-size:13px;
    margin-bottom:18px;
}

@media(max-width:900px){
    .auth-shell{
        grid-template-columns:1fr;
    }

    .auth-brand-panel{
        padding:40px 28px;
    }
}

/* =========================================================
   COBE INSIGHTS — RESPONSIVE APPLICATION SHELL
   ========================================================= */

@font-face{
    font-family:"Manrope";
    src:url("/fonts/manrope/Manrope-VariableFont_wght.ttf") format("truetype-variations");
    font-style:normal;
    font-weight:200 800;
    font-display:swap;
}

:root{
    --navy:#092554;
    --navy-dark:#061b3f;
    --gold:#d49b32;
    --gold-dark:#9a5a00;
    --gold-soft:#f7f1e7;
    --terracotta:#8f3d2e;
    --cream:#ffffff;
    --ink:#102344;
    --muted:#59677b;
    --line:#e5dfd6;
}

body{
    font-family:"Manrope",Arial,Helvetica,sans-serif;
    color:var(--ink);
    background:#fff;
    background-image:none;
}

h1,h2,h3,h4,h5,h6,.serif,
.page .page-title,
.page .section-title,
.page .tt-framework-title,
.page .qi-bridge-title,
.page .ta-definition-question,
.page .pi-pattern-name,
.page .pi-pattern-focus,
.page .score-content h1,
.page .score-results h1,
.page .score-results h2{
    font-family:"Manrope",Arial,Helvetica,sans-serif !important;
    font-weight:700;
    letter-spacing:-.025em;
}

.sidebar{
    width:248px;
    padding:20px 16px;
    background:#fff;
    color:var(--navy);
    border-right:1px solid var(--line);
    box-shadow:none;
}

.main{
    margin-left:248px;
    width:calc(100% - 248px);
}

.sidebar-top{
    display:grid;
    grid-template-columns:1fr auto;
    gap:14px 8px;
    margin-bottom:18px;
}

.brand-lockup{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--navy);
    text-decoration:none;
    min-width:0;
}

.brand-lockup .brand-mark{
    width:44px;
    height:44px;
    flex:0 0 44px;
    background:var(--gold);
    color:var(--navy);
    font-family:Georgia,"Times New Roman",serif;
    font-size:25px;
}

.brand-wordmark{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.brand-wordmark strong{
    font-family:Georgia,"Times New Roman",serif;
    font-size:19px;
    letter-spacing:.04em;
}

.brand-wordmark small{
    margin-top:4px;
    font-size:8px;
    font-weight:800;
    letter-spacing:.28em;
}

.section-switcher-rail{
    grid-column:1 / -1;
}

.nav-rail-btn,
.nav-rail-toggle{
    color:var(--navy);
    border:1px solid transparent;
}

.nav-rail-btn:hover,
.nav-rail-toggle:hover{
    color:var(--navy);
    background:var(--gold-soft);
    border-color:var(--line);
}

.nav-rail-btn.active{
    color:var(--navy);
    background:var(--gold-soft);
    border-color:var(--gold);
}

.nav-search-input{
    min-height:44px;
    border:1px solid var(--line);
    background:#fff;
    color:var(--navy);
}

.nav-search-input::placeholder{color:var(--muted)}
.nav-search-input:focus{background:#fff}

.nav-search-results{
    background:#fff;
    border-color:var(--line);
    box-shadow:0 14px 35px rgba(9,37,84,.12);
}

.nav-search-result{color:var(--navy)}
.nav-search-result:hover,.nav-search-result:focus-visible{background:var(--gold-soft)}

.nav-label{
    color:var(--muted);
    font-size:10px;
}

.nav-link{
    min-height:44px;
    color:var(--navy);
    border:1px solid transparent;
}

.nav-link-label{
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.35;
}

.nav-disclosure{
    margin:20px 0 8px;
}

.nav-disclosure summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:44px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    color:var(--navy);
    cursor:pointer;
    font-size:12px;
    font-weight:750;
    list-style:none;
}

.nav-disclosure summary::-webkit-details-marker{display:none}
.nav-disclosure summary:hover{background:var(--gold-soft);border-color:var(--gold)}
.nav-disclosure summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.nav-disclosure summary::after{content:'+';font-size:18px;line-height:1}
.nav-disclosure[open] summary::after{content:'\2212'}
.nav-disclosure-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:24px;
    height:24px;
    margin-left:auto;
    border-radius:999px;
    background:var(--gold-soft);
    color:var(--gold-dark);
    font-size:11px;
    font-weight:800;
}
.nav-disclosure-content{padding-top:6px}

.nav-link:hover{
    color:var(--navy);
    background:var(--gold-soft);
    border-color:var(--line);
}

.nav-link.active{
    color:var(--navy);
    background:var(--gold-soft);
    border-color:var(--line);
    box-shadow:inset 3px 0 0 var(--gold);
}

.org-card{
    color:var(--navy);
    background:var(--gold-soft);
    border-color:var(--line);
}

.org-card small{color:var(--muted)}
.org-name{font-family:"Manrope",Arial,Helvetica,sans-serif;font-weight:700}

.topbar{
    min-height:72px;
    background:rgba(255,255,255,.97);
    border-color:var(--line);
}

.topbar-title{font-size:15px;color:var(--navy)}
.page{max-width:1450px}
.panel,.executive-metric,.executive-panel,.privacy-lock{
    border-color:var(--line);
    box-shadow:none;
}

.mobile-menu-toggle,.nav-backdrop{display:none}

html.nav-collapsed .sidebar{
    width:76px;
    padding:20px 12px;
    background:#fff;
}

html.nav-collapsed .main{
    margin-left:76px;
    width:calc(100% - 76px);
}

html.nav-collapsed .brand-wordmark{display:none}
html.nav-collapsed .brand-lockup{justify-content:center}

@media (min-width:761px) and (max-width:1100px){
    .sidebar{
        width:76px;
        padding:20px 12px;
    }

    .main,
    html.nav-collapsed .main{
        margin-left:76px;
        width:calc(100% - 76px);
    }

    .brand-wordmark,
    .nav-link-label,
    .nav-disclosure,
    .nav-sub-link,
    .nav-label,
    .nav-search,
    .org-card{
        position:absolute;
        width:1px;
        height:1px;
        padding:0;
        margin:-1px;
        overflow:hidden;
        clip:rect(0,0,0,0);
        white-space:nowrap;
        border:0;
    }

    .brand-lockup,.nav-link{justify-content:center}
    .nav-link{padding:10px 0}
    .section-switcher-rail{flex-direction:column;width:100%}
    .nav-rail-toggle{display:none}
    .page{padding:28px 24px 64px}
}

@media(max-width:760px){
    .sidebar{
        display:block;
        width:min(88vw,340px);
        padding:20px 18px 36px;
        transform:translateX(-105%);
        transition:transform .2s ease;
        z-index:70;
    }

    html.mobile-nav-open{overflow:hidden}
    html.mobile-nav-open .sidebar{transform:translateX(0)}

    .nav-backdrop{
        position:fixed;
        inset:0;
        z-index:60;
        width:100%;
        height:100%;
        padding:0;
        border:0;
        background:rgba(6,27,63,.42);
        cursor:pointer;
    }

    html.mobile-nav-open .nav-backdrop{display:block}

    .main,
    html.nav-collapsed .main{
        margin-left:0;
        width:100%;
    }

    .topbar{
        min-height:64px;
        padding:10px 16px;
        flex-wrap:nowrap;
        gap:10px;
    }

    .mobile-menu-toggle{
        display:inline-flex;
        flex:0 0 44px;
        width:44px;
        height:44px;
        order:3;
    }

    .topbar>div:first-of-type{min-width:0;flex:1}
    .topbar-sub{display:none}
    .user{width:auto;flex-wrap:nowrap;gap:4px}
    .user>div:not(.avatar),
    .user>a[aria-label="Account"],
    .user>a[aria-label="Help"],
    .user .logout-form,
    .organisation-switcher{display:none}

    .avatar{width:40px;height:40px}
    .icon-btn{width:44px;height:44px}
    .page{padding:24px 16px 52px}
    .page-title{font-size:28px}
}

@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{
        scroll-behavior:auto !important;
        transition-duration:.01ms !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
    }
}
