:root {
    --sd-green: #087a49;
    --sd-green-dark: #055d38;
    --sd-green-soft: #e8f5ef;
    --sd-gold: #e0b51d;
    --sd-navy: #08234c;
    --sd-blue: #075cbd;
    --sd-blue-soft: #e9f2ff;
    --sd-ink: #142943;
    --sd-muted: #65758a;
    --sd-border: #dce4ee;
    --sd-bg: #f3f6fa;
    --bs-primary: var(--sd-green);
    --bs-primary-rgb: 11, 107, 75;
}

/* Formulaire de décision : rattachement aux référentiels institutionnels */
.decision-form-intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); gap: 2rem; align-items: end; margin-bottom: 1.35rem; padding: 2rem 2.2rem; overflow: hidden; color: #fff; border-radius: 1.35rem; background: linear-gradient(112deg, rgba(3,30,73,.98), rgba(5,63,108,.94) 68%, rgba(8,122,73,.9)); box-shadow: 0 18px 45px rgba(3,30,73,.14); }
.decision-form-intro::after { content: ""; position: absolute; width: 300px; height: 300px; right: -135px; top: -170px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018); }
.decision-form-intro > * { position: relative; z-index: 1; }
.decision-form-intro .back-link { color: rgba(255,255,255,.72); }
.decision-form-intro .eyebrow { color: #f2d15f; }
.decision-form-intro h1 { margin: .35rem 0 .55rem; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 790; letter-spacing: -.045em; }
.decision-form-intro > div:first-child > p:last-child { max-width: 740px; margin: 0; color: rgba(255,255,255,.72); }
.decision-form-intro__rule { display: grid; grid-template-columns: 42px 1fr; gap: .85rem; align-items: start; padding: 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.decision-form-intro__rule > i { display: grid; width: 42px; height: 42px; place-items: center; color: #f2d15f; border-radius: .8rem; background: rgba(255,255,255,.1); }
.decision-form-intro__rule strong, .decision-form-intro__rule span { display: block; }
.decision-form-intro__rule strong { margin-bottom: .25rem; font-size: .82rem; }
.decision-form-intro__rule span { color: rgba(255,255,255,.68); font-size: .69rem; line-height: 1.55; }
.decision-form { display: grid; gap: 1rem; }
.decision-form-section { overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1.15rem; background: #fff; box-shadow: 0 10px 32px rgba(24,50,71,.045); }
.decision-form-section > header { display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.35rem; border-bottom: 1px solid #e9eeef; background: linear-gradient(90deg, #f7fbf9, #fff 72%); }
.decision-form-section > header > span { display: grid; flex: 0 0 38px; height: 38px; place-items: center; color: #fff; border-radius: .75rem; background: var(--sd-green); font-size: .67rem; font-weight: 850; letter-spacing: .08em; box-shadow: 0 7px 16px rgba(8,122,73,.18); }
.decision-form-section > header p { margin: 0 0 .1rem; color: var(--sd-green-dark); font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.decision-form-section > header h2 { margin: 0; color: var(--sd-navy); font-size: 1rem; font-weight: 760; }
.decision-form-section__body { padding: 1.45rem 1.35rem 1.65rem; }
.decision-form-section .form-label { color: #354a58; font-size: .71rem; font-weight: 760; }
.decision-form-section .form-control, .decision-form-section .form-select { min-height: 43px; border-color: #dce5e5; border-radius: .72rem; font-size: .8rem; }
.decision-form-section textarea.form-control { min-height: auto; }
.decision-form-section .form-control:focus, .decision-form-section .form-select:focus { border-color: #76bba2; box-shadow: 0 0 0 .18rem rgba(11,107,75,.1); }
.decision-form-section .form-text { color: #7a8993; font-size: .65rem; line-height: 1.5; }
.reference-empty-state { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .9rem 1rem; color: #645114; border: 1px solid #eadb9f; border-radius: .85rem; background: #fffaf0; }
.reference-empty-state > i { display: grid; width: 38px; height: 38px; place-items: center; color: #8a6b02; border-radius: .7rem; background: #fff0b8; }
.reference-empty-state strong, .reference-empty-state span { display: block; }
.reference-empty-state strong { margin-bottom: .15rem; font-size: .75rem; }
.reference-empty-state span { color: #807143; font-size: .67rem; line-height: 1.45; }
.reference-empty-state a { color: #755b00; font-size: .68rem; font-weight: 760; white-space: nowrap; }
.decision-form-actions { position: sticky; z-index: 8; bottom: .75rem; display: flex; gap: .7rem; align-items: center; justify-content: flex-end; padding: .85rem 1rem; border: 1px solid rgba(207,219,220,.92); border-radius: 1rem; background: rgba(255,255,255,.94); box-shadow: 0 14px 38px rgba(24,50,71,.12); backdrop-filter: blur(12px); }
.decision-form-actions > div { display: flex; flex: 1; gap: .45rem; align-items: center; color: var(--sd-muted); font-size: .67rem; }
.decision-form-actions > div i { color: var(--sd-green); font-size: .9rem; }

@media (max-width: 991.98px) {
    .decision-form-intro { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
}

@media (max-width: 575.98px) {
    .decision-form-intro { padding: 1.35rem; border-radius: 1rem; }
    .decision-form-intro__rule { grid-template-columns: 34px 1fr; }
    .decision-form-intro__rule > i { width: 34px; height: 34px; }
    .decision-form-section > header { padding: 1rem; }
    .decision-form-section__body { padding: 1.1rem 1rem 1.3rem; }
    .reference-empty-state { grid-template-columns: 34px minmax(0, 1fr); }
    .reference-empty-state > i { width: 34px; height: 34px; }
    .reference-empty-state a { grid-column: 2; }
    .decision-form-actions { flex-wrap: wrap; bottom: .4rem; }
    .decision-form-actions > div { flex-basis: 100%; }
    .decision-form-actions .btn { flex: 1; }
}

body { color: var(--sd-ink); background: var(--sd-bg); font-family: Inter, "Segoe UI", Arial, sans-serif; }
.app-header { z-index: 1030; box-shadow: 0 7px 24px rgba(8,35,76,.08); }
.institution-bar { display: flex; min-height: 24px; align-items: center; color: rgba(255,255,255,.76); background: #041b3d; font-size: .61rem; font-weight: 650; letter-spacing: .035em; }
.institution-identity, .pilot-label { display: flex; align-items: center; gap: .55rem; }
.senegal-flag {
    display: inline-block;
    flex: 0 0 auto;
    width: 27px;
    height: 18px;
    border: 1px solid rgba(4,27,61,.14);
    border-radius: 2px;
    background: #fdef42 url("../img/senegal-flag.svg") center / cover no-repeat;
    box-shadow: 0 1px 3px rgba(4,27,61,.16);
}
.institution-divider { width: 1px; height: 11px; background: rgba(255,255,255,.2); }
.pilot-label { color: rgba(255,255,255,.78); }
.pilot-label i { color: #f0c522; }
.pilot-label strong { color: #fff; letter-spacing: .07em; }
.app-navbar { min-height: 66px; padding: .35rem 0; background: rgba(255,255,255,.975); border-bottom: 1px solid rgba(220,228,238,.9); backdrop-filter: blur(14px); }
.app-brand { display: flex; min-width: 248px; align-items: center; gap: .68rem; color: var(--sd-navy); line-height: 1; }
.app-brand:hover { color: var(--sd-green); }
.brand-copy > strong, .brand-copy > small { display: block; }
.brand-copy > strong { font-size: 1rem; letter-spacing: -.025em; }
.brand-copy > strong span { color: var(--sd-green); font-weight: 500; }
.brand-copy > small { margin-top: .28rem; color: var(--sd-muted); font-size: .54rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.brand-mark, .login-emblem { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(145deg, #0d7a56, #075b43); color: #fff; font-weight: 800; letter-spacing: -.04em; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12), 0 7px 16px rgba(11,107,75,.16); }
.mtn-logo-mark { display: inline-flex; flex: 0 0 76px; height: 39px; align-items: center; justify-content: center; overflow: hidden; border-radius: .4rem; background: #fff; }
.mtn-logo-mark img { display: block; width: 75px; height: auto; }
.main-nav { gap: .18rem; padding: .22rem; border: 1px solid #e7edf2; border-radius: .8rem; background: #f6f8fa; }
.app-navbar .main-nav .nav-link { display: flex; gap: .42rem; align-items: center; min-height: 38px; padding: .52rem .66rem !important; color: #596772; border-radius: .58rem; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.app-navbar .main-nav .nav-link i { color: #82909a; font-size: .88rem; }
.app-navbar .main-nav .nav-link:hover { color: var(--sd-green-dark); background: #fff; }
.app-navbar .main-nav .nav-link.active { color: #fff; background: var(--sd-navy); box-shadow: 0 6px 16px rgba(8,35,76,.2); }
.app-navbar .main-nav .nav-link.active i { color: #fff; }
.app-dropdown { min-width: 255px; margin-top: .55rem !important; padding: .5rem; border: 1px solid var(--sd-border); border-radius: .9rem; box-shadow: 0 18px 45px rgba(24,50,71,.13); }
.app-dropdown .dropdown-item { display: grid; grid-template-columns: 34px 1fr; gap: .65rem; align-items: center; padding: .7rem; border-radius: .65rem; }
.app-dropdown .dropdown-item:hover { color: var(--sd-green-dark); background: var(--sd-green-soft); }
.app-dropdown .dropdown-item > i { display: grid; width: 34px; height: 34px; place-items: center; color: var(--sd-green); border-radius: .55rem; background: var(--sd-green-soft); }
.app-dropdown .dropdown-item strong, .app-dropdown .dropdown-item small { display: block; }
.app-dropdown .dropdown-item strong { font-size: .78rem; }
.app-dropdown .dropdown-item small { margin-top: .15rem; color: var(--sd-muted); font-size: .65rem; }
.header-utility { display: flex; flex: 0 0 auto; gap: .4rem; align-items: center; margin-left: .55rem; }
.header-mobile-actions { padding-top: .65rem; margin-top: .55rem; border-top: 1px solid var(--sd-border); }
.header-create { display: inline-flex; gap: .35rem; align-items: center; min-height: 36px; padding: .45rem .62rem; color: var(--sd-green-dark); border: 1px solid #bcd9ce; border-radius: .6rem; background: #fff; font-size: .68rem; font-weight: 750; text-decoration: none; }
.header-create:hover { color: #fff; border-color: var(--sd-green); background: var(--sd-green); }
.scope-indicator { gap: .5rem; align-items: center; max-width: 170px; padding: 0 .65rem; color: var(--sd-green); border-left: 1px solid var(--sd-border); }
.scope-indicator > span, .scope-indicator small, .scope-indicator strong { display: block; min-width: 0; }
.scope-indicator small { color: var(--sd-muted); font-size: .58rem; }
.scope-indicator strong { overflow: hidden; color: var(--sd-ink); font-size: .66rem; white-space: nowrap; text-overflow: ellipsis; }
.user-trigger { display: flex; gap: .5rem; align-items: center; min-height: 40px; padding: .2rem .35rem .2rem .2rem; color: var(--sd-ink); border: 0; border-radius: .68rem; background: transparent; text-align: left; }
.user-trigger:hover, .user-trigger[aria-expanded="true"] { background: var(--sd-green-soft); }
.user-trigger::after { color: var(--sd-muted); }
.user-avatar { width: 32px; height: 32px; display: inline-grid; flex: 0 0 32px; place-items: center; border-radius: .62rem; color: var(--sd-green); background: var(--sd-green-soft); }
.user-copy strong, .user-copy small { display: block; max-width: 125px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.user-copy strong { font-size: .72rem; }
.user-copy small { margin-top: .15rem; color: var(--sd-muted); font-size: .59rem; }
.account-menu { min-width: 240px; padding: .55rem; border-color: var(--sd-border); border-radius: .85rem; box-shadow: 0 18px 45px rgba(24,50,71,.13); }
.account-context { padding: .55rem .65rem; }
.account-context span, .account-context strong { display: block; }
.account-context span { color: var(--sd-muted); font-size: .63rem; text-transform: uppercase; letter-spacing: .07em; }
.account-context strong { margin-top: .25rem; font-size: .76rem; }
.navbar-toggler { width: 39px; height: 39px; padding: 0; border-color: var(--sd-border); border-radius: .65rem; }
.menu-lines { display: grid; width: 18px; gap: 4px; margin: auto; }
.menu-lines i { display: block; height: 2px; border-radius: 2px; background: var(--sd-navy); }
.app-main { min-height: calc(100vh - 96px); max-width: 1600px; margin: auto; }
.app-footer { color: var(--sd-muted); font-size: .8rem; border-top: 1px solid var(--sd-border); background: #fff; }
.page-heading { margin-bottom: 2rem; }
.page-heading h1 { color: var(--sd-navy); font-size: clamp(1.7rem, 2vw, 2.35rem); font-weight: 750; letter-spacing: -.035em; }
.eyebrow { margin-bottom: .35rem; color: var(--sd-green); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-title { color: var(--sd-navy); font-size: 1.15rem; font-weight: 750; }
.btn-primary { --bs-btn-bg: var(--sd-green); --bs-btn-border-color: var(--sd-green); --bs-btn-hover-bg: var(--sd-green-dark); --bs-btn-hover-border-color: var(--sd-green-dark); }
.app-card { border: 1px solid var(--sd-border); border-radius: 1rem; box-shadow: 0 7px 26px rgba(26, 50, 65, .055); overflow: hidden; }
.back-link { color: var(--sd-muted); font-size: .9rem; font-weight: 600; text-decoration: none; }
.back-link:hover { color: var(--sd-green); }

.loading-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--sd-muted); }
.kpi-card { height: 100%; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; padding: 1.3rem; box-shadow: 0 6px 22px rgba(26,50,65,.045); }
.kpi-card .kpi-top { display: flex; justify-content: space-between; align-items: flex-start; }
.kpi-card .kpi-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: .8rem; color: var(--sd-green); background: var(--sd-green-soft); font-size: 1.15rem; }
.kpi-card.danger .kpi-icon { color: #b42318; background: #feeceb; }
.kpi-card.warning .kpi-icon { color: #9a6700; background: #fff3d1; }
.kpi-card .kpi-label { color: var(--sd-muted); font-size: .82rem; font-weight: 650; }
.kpi-card .kpi-value { display: block; margin-top: .55rem; color: var(--sd-navy); font-size: 2rem; font-weight: 780; letter-spacing: -.045em; }

.import-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: .9rem; list-style: none; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; box-shadow: 0 7px 26px rgba(26, 50, 65, .045); }
.import-workflow li { position: relative; display: flex; align-items: center; gap: .7rem; min-width: 0; padding: .45rem .75rem; color: var(--sd-muted); }
.import-workflow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -.35rem; width: .7rem; height: 1px; background: var(--sd-border); }
.import-workflow li > span { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--sd-border); border-radius: 50%; background: #f7f9fb; font-size: .78rem; font-weight: 800; }
.import-workflow li div { min-width: 0; }
.import-workflow li strong, .import-workflow li small { display: block; }
.import-workflow li strong { color: var(--sd-navy); font-size: .82rem; }
.import-workflow li small { overflow: hidden; color: var(--sd-muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.import-workflow li.done > span { border-color: var(--sd-green); color: #fff; background: var(--sd-green); }
.import-workflow li.done > span::before { content: "✓"; }
.import-workflow li.done > span { font-size: 0; }
.import-workflow li.done > span::before { font-size: .82rem; }
.import-workflow li.active { border-radius: .75rem; background: rgba(20, 103, 177, .07); }
.import-workflow li.active > span { border-color: var(--sd-blue); color: #fff; background: var(--sd-blue); box-shadow: 0 0 0 4px rgba(20, 103, 177, .1); }
.import-issue-summary { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; max-width: 54rem; }
.import-issue-summary .badge { font-size: .64rem; font-weight: 750; letter-spacing: .015em; }
.import-column-mapping { margin: 1.1rem 0; padding: 1rem; border: 1px solid #cad9e8; border-radius: .9rem; background: linear-gradient(145deg, #f7fbff, #fff); }
.import-column-mapping__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .4rem; }
.import-column-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.import-column-field { display: flex; flex-direction: column; min-width: 0; padding: .75rem; border: 1px solid var(--sd-border); border-radius: .7rem; background: #fff; }
.import-column-field > span { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.import-column-field strong { color: var(--sd-navy); font-size: .76rem; }
.import-column-field em { color: #a13b32; font-size: .58rem; font-style: normal; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.import-column-field small { min-height: 2rem; margin: .2rem 0 .45rem; color: var(--sd-muted); font-size: .66rem; line-height: 1.35; }
.import-column-field.is-duplicate { border-color: #d7675e; box-shadow: 0 0 0 2px rgba(194, 72, 61, .09); }
.import-mapping-status { margin-top: .75rem; padding: .55rem .7rem; color: var(--sd-muted); border-radius: .55rem; background: #edf3f8; font-size: .73rem; font-weight: 650; }
.import-mapping-status.is-ready { color: #08603c; background: var(--sd-green-soft); }
.import-mapping-status.is-error { color: #9d3029; background: #feeceb; }
.import-mapping-audit { overflow: visible; }
.import-mapping-audit > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; list-style: none; }
.import-mapping-audit > summary::-webkit-details-marker { display: none; }
.import-mapping-audit > summary span { display: flex; align-items: center; gap: .65rem; color: var(--sd-navy); }
.import-mapping-audit > summary i { color: var(--sd-blue); }
.import-mapping-audit > summary small { color: var(--sd-muted); }
.chart-card { min-height: 390px; }
.chart-card .chart-title { font-size: 1rem; font-weight: 750; color: var(--sd-navy); }
.chart { width: 100%; height: 315px; }
.empty-state { color: var(--sd-muted); text-align: center; padding: 3rem 1rem; }

.navigation-card { display: flex; height: 100%; align-items: center; gap: 1rem; padding: 1.4rem; color: var(--sd-ink); text-decoration: none; background: #fff; border: 1px solid var(--sd-border); border-radius: 1rem; box-shadow: 0 7px 24px rgba(26,50,65,.05); transition: transform .2s, box-shadow .2s; }
.navigation-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(26,50,65,.1); color: var(--sd-ink); }
.navigation-card .nav-icon { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: .85rem; font-size: 1.35rem; background: var(--sd-green-soft); color: var(--sd-green); }
.navigation-card.tactical .nav-icon { color: #9a6700; background: #fff4d6; }
.navigation-card.operational .nav-icon { color: #2456a6; background: #e9f0fc; }
.navigation-card .nav-copy { flex: 1; }
.navigation-card .nav-copy small, .navigation-card .nav-copy span { display: block; }
.navigation-card .nav-copy small { color: var(--sd-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.navigation-card .nav-copy strong { display: block; margin: .15rem 0 .3rem; color: var(--sd-navy); }
.navigation-card .nav-copy span { color: var(--sd-muted); font-size: .8rem; line-height: 1.45; }

.app-table { width: 100% !important; font-size: .86rem; }
.app-table thead th { color: #5b6874; font-size: .72rem; text-transform: uppercase; letter-spacing: .055em; border-bottom-width: 1px; white-space: nowrap; }
.app-table td { padding-top: .85rem; padding-bottom: .85rem; border-color: #edf0f2; }
.app-table .decision-copy { min-width: 260px; max-width: 460px; }
.decision-scope-bar {
    display: grid;
    grid-template-columns: 42px minmax(260px, 420px) 1fr;
    align-items: end;
    gap: 1rem;
    margin: -.15rem 0 1.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid #dce4e1;
    border-left: 3px solid var(--sd-green);
    background: #f7f9f8;
}
.decision-scope-bar .form-label {
    margin-bottom: .35rem;
    color: var(--sd-green-dark);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.decision-scope-bar p { margin: 0 0 .65rem auto; color: #65736e; font-size: .82rem; }
.decision-scope-bar p strong { color: var(--sd-navy); font-size: 1rem; }
.decision-scope-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    align-self: end;
    border: 1px solid #cfe0d8;
    color: var(--sd-green);
    background: #fff;
}
.decision-register-filters {
    margin: 0 0 1.1rem;
    border: 1px solid #ccd7d2;
    border-top: 4px solid var(--sd-navy);
    background: #fff;
    box-shadow: 0 8px 22px rgba(7, 31, 63, .045);
}
.decision-register-filters__head {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #dce3df;
    background: #f7f8f5;
}
.decision-register-filters__head h2 { margin: .18rem 0 .2rem; color: var(--sd-navy); font-size: 1rem; }
.decision-register-filters__head p { margin: 0; color: var(--sd-muted); font-size: .76rem; }
.decision-register-filters__result { flex: 0 0 auto; min-width: 116px; padding-left: 1rem; border-left: 1px solid #cfd8d4; text-align: right; }
.decision-register-filters__result strong { display: block; color: var(--sd-green-dark); font-size: 1.7rem; line-height: 1; }
.decision-register-filters__result span { display: block; margin-top: .25rem; color: var(--sd-muted); font-size: .68rem; }
.decision-register-views { display: flex; align-items: stretch; overflow-x: auto; border-bottom: 1px solid #dce3df; background: #fff; scrollbar-width: none; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
.decision-register-views::-webkit-scrollbar { display: none; }
.decision-register-view { position: relative; display: inline-flex; flex: 0 0 auto; gap: .55rem; align-items: center; min-height: 43px; padding: .55rem .9rem; color: #40564e; border: 0; border-right: 1px solid #dce3df; background: transparent; font-size: .72rem; font-weight: 740; }
.decision-register-view::after { content: ""; position: absolute; right: .8rem; bottom: 0; left: .8rem; height: 3px; background: transparent; }
.decision-register-view strong { display: inline-grid; min-width: 24px; height: 21px; padding: 0 .35rem; place-items: center; color: var(--sd-navy); background: #edf1ef; font-size: .65rem; }
.decision-register-view:hover { color: var(--sd-navy); background: #f6f8f7; }
.decision-register-view.is-active { color: var(--sd-navy); background: #f4f7f5; }
.decision-register-view.is-active::after { background: var(--sd-green); }
.decision-register-view.is-active strong { color: #fff; background: var(--sd-green); }
.decision-register-filter-grid { display: grid; grid-template-columns: minmax(230px, 1.55fr) repeat(5, minmax(130px, 1fr)) auto; gap: .7rem; align-items: end; padding: 1rem 1.15rem .75rem; }
.decision-register-filter-grid label { min-width: 0; }
.decision-register-filter-grid label > span:first-child { display: block; margin-bottom: .3rem; color: #53665f; font-size: .62rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.decision-register-filter-grid .form-control,
.decision-register-filter-grid .form-select { min-height: 39px; border-radius: .18rem; font-size: .72rem; }
.decision-register-search__control { position: relative; display: block; }
.decision-register-search__control i { position: absolute; z-index: 1; top: 50%; left: .7rem; color: #6c7c76; transform: translateY(-50%); }
.decision-register-search__control input { padding-left: 2rem; }
.decision-register-reset { display: inline-flex; gap: .4rem; align-items: center; justify-content: center; min-height: 39px; border-radius: .18rem; font-size: .7rem; }
.decision-register-active { display: flex; gap: .45rem; align-items: center; min-height: 30px; margin: 0; padding: 0 1.15rem .75rem; color: var(--sd-muted); font-size: .68rem; }
.decision-register-active i { color: var(--sd-green); }
.decision-ministry {
    display: inline-block;
    min-width: 118px;
    max-width: 180px;
    color: #344d44;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.35;
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .decision-register-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .decision-register-search { grid-column: span 2; }
    .decision-register-reset { width: 100%; }
}
.decision-register-table .decision-copy { min-width: 210px; max-width: 400px; }
.decision-register-accountability { min-width: 220px; }
.decision-register-role,
.decision-register-holder { display: block; }
.decision-register-role { color: var(--sd-navy); font-size: .74rem; line-height: 1.35; }
.decision-register-holder { margin-top: .2rem; color: var(--sd-muted); font-size: .66rem; line-height: 1.35; }
.decision-register-holder.is-vacant { color: #8a5b00; font-weight: 720; }
.decision-register-executor { display: flex; gap: .32rem; align-items: flex-start; margin-top: .38rem; padding-top: .35rem; color: #3f5e70; border-top: 1px solid #e0e7e4; font-size: .61rem; line-height: 1.35; }
.decision-register-executor i { flex: 0 0 auto; color: var(--sd-green); }
.critical-row { --bs-table-bg: #fff8f7; }
.slim-progress { width: 90px; height: 5px; margin-bottom: 4px; }
.progress-bar { background-color: var(--sd-green); }
.dt-search input, .dt-length select { border-color: var(--sd-border) !important; border-radius: .5rem !important; }
.detail-table td { vertical-align: middle; }
.priority-flag { display: inline-flex; align-items: center; gap: .3rem; color: #b42318; font-weight: 700; font-size: .72rem; }

.form-card { max-width: 1100px; margin: auto; }
.form-section-title { display: flex; align-items: center; gap: .7rem; color: var(--sd-navy); font-size: 1.05rem; font-weight: 750; padding-bottom: .85rem; border-bottom: 1px solid var(--sd-border); }
.form-section-title span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sd-green-soft); color: var(--sd-green); font-size: .8rem; }
.form-label { color: #42515d; font-size: .82rem; font-weight: 700; }
.form-control, .form-select { border-color: #d8e0e5; border-radius: .65rem; }
.form-control:focus, .form-select:focus { border-color: #66ab91; box-shadow: 0 0 0 .22rem rgba(11,107,75,.12); }
.progress-output { display: inline-block; min-width: 52px; padding: .25rem .5rem; border-radius: .45rem; color: var(--sd-green); background: var(--sd-green-soft); font-weight: 750; text-align: center; }
.decision-title { color: var(--sd-navy); font-size: 1.35rem; line-height: 1.45; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem; }
.detail-grid span, .detail-grid strong { display: block; }
.detail-grid span { color: var(--sd-muted); font-size: .76rem; margin-bottom: .25rem; }
.detail-grid strong { font-size: .9rem; }
.operational-form { top: 82px; }
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ""; position: absolute; left: .3rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--sd-border); }
.timeline-item { position: relative; padding: 0 0 1.7rem .5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -1.6rem; top: .3rem; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: var(--sd-green); box-shadow: 0 0 0 2px var(--sd-green-soft); }
.timeline time { color: var(--sd-muted); font-size: .75rem; }
.admin-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(420px, .75fr); gap: 3rem; align-items: end; margin-bottom: 1.5rem; padding: clamp(2rem, 4vw, 3.2rem); overflow: hidden; color: #fff; border-radius: 1.45rem; background: linear-gradient(125deg, #061d43 0%, #08366d 64%, #075c98 100%); box-shadow: 0 18px 45px rgba(8,35,76,.16); }
.admin-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -280px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 58px rgba(255,255,255,.025), 0 0 0 118px rgba(255,255,255,.018); }
.admin-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #1aa877 0 68%, #e1b32c 68% 85%, #d35b50 85%); }
.admin-hero-copy, .admin-hero-side, .admin-hero-stats { position: relative; z-index: 1; }
.admin-hero-side { display: grid; gap: .85rem; }
.admin-scope-selector { padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: .9rem; background: rgba(3,24,57,.42); backdrop-filter: blur(8px); }
.admin-scope-selector label { display: block; margin-bottom: .4rem; color: rgba(255,255,255,.62); font-size: .62rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.admin-scope-selector .form-select { color: #fff; border-color: rgba(255,255,255,.16); background-color: rgba(255,255,255,.08); background-image: none; font-size: .72rem; font-weight: 700; }
.admin-scope-selector .form-select option { color: var(--sd-ink); background: #fff; }
.admin-kicker { display: inline-flex; gap: .45rem; align-items: center; color: #f2d574; font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.admin-hero h1 { margin: .65rem 0 .75rem; color: #fff; font-size: clamp(2rem, 3vw, 3.15rem); font-weight: 760; letter-spacing: -.05em; }
.admin-hero-copy > p { max-width: 720px; margin: 0; color: rgba(255,255,255,.67); line-height: 1.65; }
.admin-scope-line { display: flex; flex-wrap: wrap; gap: .45rem .6rem; align-items: center; margin-top: 1.4rem; color: rgba(255,255,255,.62); font-size: .72rem; }
.admin-scope-line i { color: #69d7ad; }
.admin-scope-line strong { color: #fff; }
.admin-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 1rem; background: rgba(255,255,255,.1); }
.admin-hero-stats > div { min-height: 105px; padding: 1.2rem; background: rgba(9,43,37,.58); }
.admin-hero-stats > div.is-warning { background: rgba(126,75,10,.62); }
.admin-hero-stats strong, .admin-hero-stats span { display: block; }
.admin-hero-stats strong { color: #fff; font-size: 1.8rem; letter-spacing: -.04em; }
.admin-hero-stats span { margin-top: .25rem; color: rgba(255,255,255,.57); font-size: .67rem; }
.admin-console { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.admin-navigation { position: sticky; top: 82px; padding: 1rem; border: 1px solid var(--sd-border); border-radius: 1.1rem; background: #fff; box-shadow: 0 10px 32px rgba(24,50,71,.055); }
.admin-navigation-heading { padding: .45rem .55rem 1rem; }
.admin-navigation-heading span, .admin-navigation-heading small { display: block; }
.admin-navigation-heading span { color: var(--sd-navy); font-size: .82rem; font-weight: 750; }
.admin-navigation-heading small { margin-top: .25rem; color: var(--sd-muted); font-size: .66rem; }
.admin-tabs { display: grid; width: 100%; gap: .35rem; }
.admin-tabs .nav-link { display: grid; grid-template-columns: 36px minmax(0, 1fr) 14px; gap: .65rem; align-items: center; width: 100%; padding: .72rem; color: var(--sd-muted); border-radius: .75rem; text-align: left; }
.admin-tabs .nav-link > i:first-child { display: grid; width: 36px; height: 36px; place-items: center; color: var(--sd-green); border-radius: .6rem; background: var(--sd-green-soft); }
.admin-tabs .nav-link strong, .admin-tabs .nav-link small { display: block; }
.admin-tabs .nav-link strong { color: var(--sd-ink); font-size: .75rem; }
.admin-tabs .nav-link small { margin-top: .15rem; color: var(--sd-muted); font-size: .61rem; }
.admin-tabs .nav-link.active { color: var(--sd-green); background: #edf7f3; box-shadow: inset 3px 0 var(--sd-green); }
.admin-tabs .nav-link.active > i:first-child { color: #fff; background: var(--sd-green); }
.admin-tab-arrow { color: #a7b1b7; font-size: .65rem; }
.admin-governance-note { display: flex; gap: .65rem; margin-top: 1rem; padding: .85rem; color: var(--sd-muted); border-top: 1px solid var(--sd-border); font-size: .64rem; }
.admin-governance-note > i { color: var(--sd-green); }
.admin-governance-note p, .admin-governance-note strong, .admin-governance-note span { display: block; margin: 0; }
.admin-governance-note strong { color: var(--sd-ink); }
.admin-governance-note span { margin-top: .18rem; line-height: 1.45; }
.admin-workspace { min-width: 0; }
.admin-section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.admin-section-heading > div { display: flex; gap: .7rem; align-items: center; }
.admin-section-icon { display: grid; width: 40px; height: 40px; place-items: center; color: var(--sd-green); border-radius: .75rem; background: var(--sd-green-soft); }
.admin-section-heading p, .admin-section-heading h2 { margin: 0; }
.admin-section-heading p { color: var(--sd-green); font-size: .62rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.admin-section-heading h2 { margin-top: .15rem; color: var(--sd-navy); font-size: 1.2rem; font-weight: 760; }
.admin-count { padding: .42rem .65rem; color: var(--sd-muted); border: 1px solid var(--sd-border); border-radius: 2rem; background: #fff; font-size: .68rem; font-weight: 700; }
.admin-panel { overflow: hidden; border-color: var(--sd-border); border-radius: 1.1rem; box-shadow: 0 9px 30px rgba(24,50,71,.05); }
.admin-panel-intro { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.35rem; border-bottom: 1px solid var(--sd-border); background: #fff; }
.admin-panel-intro h3, .admin-panel-intro p { margin: 0; }
.admin-panel-intro h3 { color: var(--sd-navy); font-size: .96rem; font-weight: 750; }
.admin-panel-intro p { margin-top: .28rem; color: var(--sd-muted); font-size: .68rem; line-height: 1.45; }
.admin-panel-intro > i { color: #a6b1b8; font-size: 1.2rem; }
.admin-table-wrap { padding: .4rem 1.1rem .8rem; }
.admin-table td { vertical-align: middle; }
.admin-user { display: flex; gap: .65rem; align-items: center; min-width: 150px; }
.admin-user-avatar { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; color: var(--sd-green-dark); border-radius: .6rem; background: var(--sd-green-soft); font-size: .72rem; font-weight: 800; }
.admin-user strong { font-size: .78rem; }
.admin-email { color: #50616d; font-size: .75rem; text-decoration: none; }
.admin-email:hover { color: var(--sd-green); text-decoration: underline; }
.admin-role { display: inline-block; padding: .3rem .5rem; color: #405460; border-radius: .45rem; background: #eef2f3; font-size: .66rem; font-weight: 700; }
.status-dot { display: inline-flex; gap: .4rem; align-items: center; color: var(--sd-muted); font-size: .68rem; font-weight: 750; white-space: nowrap; }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: #a8b1b7; }
.status-dot.is-active { color: var(--sd-green-dark); }
.status-dot.is-active i { background: #1aa877; box-shadow: 0 0 0 4px #e5f5ef; }
.admin-form-body { padding: 1.35rem; }
.admin-form-footer { padding: 1rem 1.35rem 1.35rem; }
.form-step { display: inline-block; margin-bottom: .35rem; color: var(--sd-green); font-size: .59rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.reference-list { margin: 0; padding: .35rem 1.25rem 1rem; list-style: none; }
.reference-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid #edf0f2; }
.reference-list li:last-child { border-bottom: 0; }
.reference-list strong { font-size: .76rem; }
.reference-list code { color: var(--sd-muted); font-size: .62rem; }
.reference-symbol { width: 8px; height: 8px; border-radius: 50%; background: #7f8c95; }
.reference-symbol.status-success { background: #1b9b6f; }
.reference-symbol.status-warning { background: var(--sd-gold); }
.reference-symbol.status-danger { background: #d35b50; }
.reference-symbol.status-primary, .reference-symbol.status-info { background: #3979bc; }
.reference-health-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.1rem; }
.reference-health-grid article { position: relative; display: flex; min-height: 92px; gap: .75rem; align-items: center; padding: 1rem; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; box-shadow: 0 8px 24px rgba(24,50,71,.045); }
.reference-health-grid article > div { min-width: 0; }
.reference-health-grid article strong, .reference-health-grid article span { display: block; }
.reference-health-grid article strong { color: var(--sd-navy); font-size: 1.35rem; line-height: 1; }
.reference-health-grid article div > span { margin-top: .25rem; color: var(--sd-muted); font-size: .63rem; line-height: 1.25; }
.reference-health-grid article > a { position: absolute; right: .75rem; top: .65rem; color: var(--sd-muted); }
.reference-health-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: .75rem; }
.reference-health-icon.is-success { color: #147b58; background: #e4f5ee; }
.reference-health-icon.is-warning { color: #936c04; background: #fff4cc; }
.reference-health-icon.is-info { color: #256ca8; background: #e9f3fb; }
.reference-health-icon.is-danger { color: #b6443a; background: #fbeae8; }
.reference-code { display: block; color: var(--sd-navy); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; letter-spacing: .015em; }
.organisation-table td:first-child small, .admin-table td > span + small, .admin-table td > strong + span { display: block; margin-top: .22rem; color: var(--sd-muted); font-size: .61rem; }
.reference-inline-form { display: flex; min-width: 185px; gap: .3rem; align-items: center; }
.reference-inline-form .form-select { min-width: 130px; }
.reference-state-actions { display: flex; flex-wrap: wrap; gap: .15rem .45rem; align-items: center; }
.reference-state-actions form { margin: 0; }
.reference-state-actions .btn-link { padding: .1rem; color: var(--sd-muted); font-size: .61rem; text-decoration: none; }
.reference-state-actions .btn-link:hover { color: var(--sd-green); }
.admin-empty-state { display: grid; min-height: 125px; place-items: center; align-content: center; gap: .25rem; color: var(--sd-muted); text-align: center; }
.admin-empty-state i { color: #9ab1a9; font-size: 1.35rem; }
.admin-empty-state strong { color: var(--sd-ink); font-size: .74rem; }
.admin-empty-state span { font-size: .65rem; }
.normative-banner { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.1rem; padding: 1rem 1.15rem; color: #52636e; border: 1px solid #dbe7e2; border-radius: 1rem; background: #f4f9f7; }
.normative-banner > i { color: var(--sd-green); }
.normative-banner strong, .normative-banner p { display: block; margin: 0; }
.normative-banner strong { color: var(--sd-navy); font-size: .75rem; }
.normative-banner p { margin-top: .25rem; font-size: .67rem; line-height: 1.5; }
.policy-status-banner { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-bottom: 1.25rem; padding: 1rem 1.15rem; border: 1px solid #cfe2da; border-left: 4px solid var(--sd-green); border-radius: .85rem; background: #f4f9f7; }
.policy-status-banner.is-inherited { border-color: #d8e0e7; border-left-color: var(--sd-blue); background: #f5f8fa; }
.policy-status-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--sd-green); border-radius: .7rem; background: #dff1ea; }
.policy-status-banner.is-inherited .policy-status-icon { color: var(--sd-blue); background: #e7f0f7; }
.policy-status-banner small, .policy-status-banner strong, .policy-status-banner p { display: block; margin: 0; }
.policy-status-banner small { color: var(--sd-muted); font-size: .59rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.policy-status-banner strong { margin-top: .12rem; color: var(--sd-navy); font-size: .82rem; }
.policy-status-banner p { margin-top: .2rem; color: var(--sd-muted); font-size: .65rem; }
.policy-status-badge { display: inline-flex; gap: .4rem; align-items: center; padding: .36rem .55rem; color: #0b7552; border: 1px solid #bce1d3; border-radius: 2rem; background: #fff; font-size: .62rem; font-weight: 800; }
.policy-status-badge i { width: 7px; height: 7px; border-radius: 50%; background: #1aa877; }
.policy-status-banner.is-inherited .policy-status-badge { color: #376681; border-color: #cbdce6; }
.policy-status-banner.is-inherited .policy-status-badge i { background: #4a82a3; }
.tolerance-policy-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr); gap: 1.25rem; align-items: start; }
.tolerance-policy-grid { display: grid; gap: .8rem; }
.tolerance-rule-card { --rule-accent: #a93e3e; overflow: hidden; border: 1px solid var(--sd-border); border-left: 4px solid var(--rule-accent); border-radius: .8rem; background: #fff; }
.tolerance-rule-card.is-medium { --rule-accent: #c99611; }
.tolerance-rule-card.is-low { --rule-accent: #347c68; }
.tolerance-rule-card header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 1rem .62rem; }
.tolerance-rule-card header span { display: inline-flex; gap: .45rem; align-items: center; color: var(--sd-navy); font-size: .74rem; font-weight: 800; }
.tolerance-rule-card header span i { color: var(--rule-accent); }
.tolerance-rule-card header small { color: var(--sd-muted); font-size: .59rem; }
.tolerance-rule-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: 0 1rem .75rem; }
.tolerance-rule-inputs > label { color: var(--sd-muted); font-size: .61rem; font-weight: 750; }
.tolerance-rule-inputs .input-group { margin-top: .3rem; }
.tolerance-rule-inputs .form-control { min-width: 0; font-weight: 750; }
.tolerance-rule-inputs .input-group-text { min-width: 50px; justify-content: center; color: #617178; border-color: #d5ddda; background: #f5f7f6; font-size: .64rem; }
.tolerance-rule-card > p { display: flex; gap: .45rem; margin: 0; padding: .55rem 1rem; color: #617178; border-top: 1px solid #edf0ef; background: #f8faf9; font-size: .61rem; }
.tolerance-rule-card > p i { color: var(--rule-accent); }
.policy-formula-note, .policy-impact-explanation { display: flex; gap: .7rem; margin-top: 1rem; padding: .8rem .9rem; color: #586b72; border-radius: .72rem; background: #f1f5f4; font-size: .63rem; }
.policy-formula-note > i, .policy-impact-explanation > i { color: var(--sd-green); }
.policy-formula-note p, .policy-formula-note strong, .policy-formula-note span, .policy-impact-explanation p, .policy-impact-explanation strong, .policy-impact-explanation span { display: block; margin: 0; }
.policy-formula-note strong, .policy-impact-explanation strong { margin-bottom: .12rem; color: var(--sd-ink); }
.policy-submit-footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-top: 1px solid var(--sd-border); }
.policy-submit-footer p { display: flex; max-width: 500px; gap: .55rem; margin: 0; color: var(--sd-muted); font-size: .62rem; line-height: 1.45; }
.policy-submit-footer p i { color: var(--sd-green); }
.policy-submit-footer p strong { display: block; color: var(--sd-ink); }
.policy-impact-panel { position: sticky; top: 82px; }
.policy-impact-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 1rem; overflow: hidden; border: 1px solid var(--sd-border); border-radius: .75rem; background: var(--sd-border); }
.policy-impact-metrics > div { min-height: 112px; padding: .9rem; background: #fff; }
.policy-impact-metrics > div.is-projected { background: #f1f8f5; }
.policy-impact-metrics > div.is-change { background: #fff9e9; }
.policy-impact-metrics small, .policy-impact-metrics strong, .policy-impact-metrics span { display: block; }
.policy-impact-metrics small { min-height: 32px; color: var(--sd-muted); font-size: .57rem; line-height: 1.35; text-transform: uppercase; }
.policy-impact-metrics strong { margin: .25rem 0 .1rem; color: var(--sd-navy); font-size: 1.7rem; line-height: 1; }
.policy-impact-metrics span { color: var(--sd-muted); font-size: .58rem; line-height: 1.3; }
.policy-impact-explanation { margin: 0 1rem 1rem; }
.policy-history-panel .admin-table-wrap { padding-top: .5rem; }
.policy-history-table td { min-width: 105px; }
.policy-history-table td small { display: block; max-width: 240px; margin-top: .2rem; color: var(--sd-muted); font-size: .59rem; line-height: 1.35; }
.policy-version-state { display: inline-flex !important; width: max-content; margin-top: .3rem !important; padding: .2rem .38rem; color: #66767e !important; border-radius: 2rem; background: #edf1f2; font-size: .54rem !important; font-weight: 800; text-transform: uppercase; }
.policy-version-state.is-active { color: #08754a !important; background: #e2f4ed; }
.policy-history-empty { display: flex; min-height: 125px; gap: .8rem; align-items: center; justify-content: center; padding: 1.5rem; color: var(--sd-muted); text-align: left; }
.policy-history-empty > i { color: #91a8a0; font-size: 1.4rem; }
.policy-history-empty p, .policy-history-empty strong, .policy-history-empty span { display: block; margin: 0; }
.policy-history-empty strong { color: var(--sd-ink); font-size: .72rem; }
.policy-history-empty span { margin-top: .2rem; font-size: .63rem; }

/* Dashboards éditoriaux */
.dashboard-root { --dash-radius: 1.35rem; }
.mtn-dashboard-hero, .mtn-home-hero { position: relative; display: flex; min-height: 285px; align-items: end; justify-content: space-between; gap: 2rem; padding: clamp(1.6rem, 4vw, 3.2rem); overflow: hidden; color: #fff; border-radius: 1.4rem; background-image: linear-gradient(90deg, rgba(2,20,55,.96) 0%, rgba(3,31,79,.82) 35%, rgba(2,30,76,.18) 68%, rgba(2,22,58,.08) 100%), url("../img/mtn-banner-clean.png"); background-position: center center; background-size: cover; box-shadow: 0 18px 45px rgba(4,27,61,.16); isolation: isolate; }
.mtn-dashboard-hero { min-height: 178px; padding-top: 1.45rem; padding-bottom: 1.7rem; background-position: center 48%; }
.mtn-dashboard-hero::after, .mtn-home-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, #079451 0 42%, #f0c51f 42% 62%, #d83d3d 62% 70%, #1582d8 70%); }
.mtn-hero-copy { position: relative; z-index: 1; max-width: 590px; }
.mtn-hero-copy .eyebrow { color: #f3cd3f; }
.mtn-hero-copy h1 { margin-bottom: .7rem; color: #fff; font-size: clamp(2rem, 3.2vw, 3.5rem); text-shadow: 0 3px 18px rgba(0,15,45,.32); }
.mtn-hero-copy .text-muted { max-width: 570px; color: rgba(255,255,255,.78) !important; line-height: 1.55; }
.mtn-home-hero .btn-primary { flex: 0 0 auto; color: var(--sd-navy); border-color: #fff; background: #fff; box-shadow: 0 9px 24px rgba(0,20,55,.2); }
.mtn-home-hero .btn-primary:hover { color: #fff; border-color: var(--sd-blue); background: var(--sd-blue); }
.dashboard-commandbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin: -1rem 1.15rem 1.25rem; padding: .72rem .8rem .72rem 1rem; border: 1px solid var(--sd-border); border-radius: 1rem; background: rgba(255,255,255,.97); box-shadow: 0 10px 28px rgba(8,35,76,.08); }
.dashboard-commandbar__context { display: flex; gap: .5rem; align-items: center; color: var(--sd-navy); }
.dashboard-commandbar__context strong { font-size: .72rem; }
.dashboard-commandbar__context small { padding-left: .5rem; color: var(--sd-muted); border-left: 1px solid var(--sd-border); font-size: .63rem; }
.dashboard-tools { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; justify-content: end; }
.dashboard-switch { display: flex; gap: .2rem; padding: .25rem; border: 1px solid var(--sd-border); border-radius: 2rem; background: #fff; }
.dashboard-switch a { padding: .5rem .8rem; color: var(--sd-muted); border-radius: 2rem; font-size: .72rem; font-weight: 700; text-decoration: none; }
.dashboard-switch a:hover { color: var(--sd-green); }
.dashboard-switch a.active { color: #fff; background: var(--sd-blue); box-shadow: 0 5px 12px rgba(7,92,189,.2); }
.dashboard-export { display: flex; gap: .3rem; }
.dashboard-export a { display: inline-flex; gap: .35rem; align-items: center; padding: .55rem .7rem; color: var(--sd-muted); border: 1px solid var(--sd-border); border-radius: .7rem; background: #fff; font-size: .7rem; font-weight: 700; text-decoration: none; }
.dashboard-export a:hover { color: var(--sd-green); border-color: #b7d8cb; }
.dashboard-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.glance-metric { position: relative; min-height: 150px; padding: 1.35rem; overflow: hidden; border: 1px solid var(--sd-border); border-radius: var(--dash-radius); background: #fff; }
.glance-metric::after { content: ""; position: absolute; width: 84px; height: 84px; right: -34px; bottom: -42px; border: 14px solid var(--sd-green-soft); border-radius: 50%; }
.glance-metric > span, .glance-metric > small { display: block; color: var(--sd-muted); }
.glance-metric > span { font-size: .75rem; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.glance-metric > strong { display: block; margin: 1rem 0 .35rem; color: var(--sd-navy); font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1; letter-spacing: -.05em; }
.glance-metric > small { font-size: .75rem; }
.glance-metric.risk::after { border-color: #fee3df; }

.executive-brief { position: relative; overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1.35rem; background: #fff; box-shadow: 0 14px 38px rgba(8,35,76,.07); }
.executive-brief::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 2; width: 4px; background: linear-gradient(180deg, var(--sd-blue) 0 62%, var(--sd-gold) 62% 82%, var(--sd-green) 82%); }
.executive-brief__header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 1.35rem 1rem 1.5rem; border-bottom: 1px solid var(--sd-border); }
.executive-brief__header > div > span { color: var(--sd-blue); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.executive-brief__header h2 { margin: .15rem 0 0; color: var(--sd-navy); font-size: 1.15rem; font-weight: 780; letter-spacing: -.025em; }
.executive-brief__header p { margin: .22rem 0 0; color: var(--sd-muted); font-size: .7rem; }
.portfolio-chip { display: inline-flex; gap: .4rem; align-items: baseline; padding: .5rem .7rem; color: var(--sd-muted); border: 1px solid var(--sd-border); border-radius: 2rem; background: #f8fafc; font-size: .65rem; white-space: nowrap; }
.portfolio-chip strong { color: var(--sd-navy); font-size: .9rem; }
.executive-brief__body { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); }
.execution-focus { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 1.15rem; align-items: center; padding: 1.3rem 1.45rem 1.4rem 1.5rem; background: linear-gradient(125deg, #f4f8fd, #edf4fc); }
.execution-score { display: grid; width: 112px; height: 112px; place-content: center; text-align: center; border: 10px solid #d8e6f5; border-top-color: var(--sd-blue); border-right-color: var(--sd-blue); border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(7,92,189,.06); }
.execution-score strong, .execution-score span { display: block; }
.execution-score strong { color: var(--sd-navy); font-size: 1.45rem; letter-spacing: -.05em; }
.execution-score span { margin-top: .16rem; color: var(--sd-muted); font-size: .58rem; }
.execution-track > div { display: flex; justify-content: space-between; gap: 1rem; color: var(--sd-muted); font-size: .65rem; }
.execution-track > div strong { color: var(--sd-navy); }
.execution-track > i { display: block; height: 7px; margin: .55rem 0 .65rem; overflow: hidden; border-radius: 7px; background: #d6e2ee; }
.execution-track > i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sd-blue), #1593db); }
.execution-track p { margin: 0; color: var(--sd-muted); font-size: .66rem; line-height: 1.5; }
.execution-variation { display: inline-flex; gap: .2rem; align-items: center; margin-right: .2rem; padding: .15rem .38rem; color: #53636e; border-radius: 1rem; background: #e7edf1; font-size: .6rem; font-weight: 800; white-space: nowrap; }
.execution-variation.is-up { color: #08714c; background: #dff3e9; }
.execution-variation.is-down { color: #a24038; background: #fbe7e4; }
.executive-signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--sd-border); }
.executive-metric { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: .8rem; align-items: center; min-height: 102px; padding: 1rem 1.15rem; background: #fff; }
.executive-metric.is-link { position: relative; padding-right: 2.6rem; color: inherit; text-decoration: none; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease; }
.executive-metric.is-link:hover { background: #f7faf8; box-shadow: inset 0 0 0 1px rgba(0, 132, 87, .2); }
.executive-metric.is-link:focus-visible { z-index: 1; outline: 3px solid rgba(0, 132, 87, .3); outline-offset: -3px; }
.executive-metric .executive-metric__action { position: absolute; top: .9rem; right: 1rem; color: var(--sd-green); font-size: .9rem; }
.executive-metric > i { display: grid; width: 38px; height: 38px; place-items: center; color: var(--sd-blue); border-radius: .7rem; background: var(--sd-blue-soft); }
.executive-metric span, .executive-metric strong, .executive-metric small { display: block; }
.executive-metric span { color: var(--sd-muted); font-size: .65rem; }
.executive-metric strong { margin-top: .12rem; color: var(--sd-navy); font-size: 1.15rem; letter-spacing: -.035em; }
.executive-metric small { margin-top: .1rem; color: #8a98a8; font-size: .57rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.executive-metric.risk > i { color: #b43b34; background: #feeceb; }
.executive-metric.watch > i { color: #976700; background: #fff2ce; }
.executive-metric.good > i { color: var(--sd-green); background: var(--sd-green-soft); }

.command-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: 410px; margin-bottom: 3rem; padding: clamp(2rem, 5vw, 4.5rem); overflow: hidden; color: #fff; border-radius: 1.75rem; background: linear-gradient(125deg, #061d43, #07366e); isolation: isolate; }
.command-hero::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -245px; top: -295px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 78px rgba(255,255,255,.025), 0 0 0 158px rgba(255,255,255,.018); }
.command-hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--sd-green) 0 68%, var(--sd-gold) 68% 84%, #c4433a 84%); }
.command-kicker { display: block; color: #f5d66e; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.command-copy h2 { max-width: 770px; margin: .8rem 0 1rem; color: #fff; font-size: clamp(2rem, 4vw, 4rem); font-weight: 750; line-height: 1.03; letter-spacing: -.055em; }
.command-copy > p { max-width: 700px; margin: 0; color: rgba(255,255,255,.68); font-size: 1rem; line-height: 1.7; }
.command-signals { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.command-signal { display: grid; grid-template-columns: auto 1fr; min-width: 180px; gap: .15rem .55rem; align-items: center; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: .9rem; background: rgba(255,255,255,.055); }
.command-signal i { grid-row: 1 / span 2; color: #77ddb4; font-size: 1.05rem; }
.command-signal span { color: rgba(255,255,255,.58); font-size: .68rem; }
.command-signal strong { color: #fff; font-size: 1.05rem; }
.command-signal.is-risk i { color: #f4c05d; }
.command-score { text-align: center; }
.score-orbit { position: relative; display: grid; width: min(230px, 100%); aspect-ratio: 1; margin: 0 auto 1.2rem; place-items: center; border-radius: 50%; background: conic-gradient(#54d49f calc(var(--score) * 1%), rgba(255,255,255,.11) 0); }
.score-orbit::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: inherit; background: #092f29; }
.score-orbit::after { content: ""; position: absolute; inset: -10px; border: 1px dashed rgba(255,255,255,.16); border-radius: inherit; }
.score-orbit > div { position: relative; z-index: 1; }
.score-orbit strong, .score-orbit span { display: block; }
.score-orbit strong { color: #fff; font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.06em; }
.score-orbit span { color: rgba(255,255,255,.58); font-size: .72rem; }
.command-score > p { margin: 0; color: rgba(255,255,255,.58); font-size: .78rem; }
.command-score > p strong { color: #fff; }

.dashboard-section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin: 2.6rem 0 1.2rem; }
.dashboard-section-heading > div { display: flex; align-items: center; gap: .7rem; }
.dashboard-section-heading h2 { margin: 0; color: var(--sd-navy); font-size: 1.25rem; font-weight: 760; letter-spacing: -.025em; }
.dashboard-section-heading p { max-width: 520px; margin: 0; color: var(--sd-muted); font-size: .78rem; text-align: right; }
.section-index { width: 27px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--sd-green) 70%, var(--sd-gold) 70%); }
.dashboard-layout { display: grid; gap: 1.25rem; }
.dashboard-layout--strategic { grid-template-columns: minmax(0, 1.55fr) minmax(340px, .75fr); }
.dashboard-layout--strategic-performance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-layout--tactical { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-layout--tactical-control { grid-template-columns: minmax(0, 1.2fr) minmax(390px, .8fr); align-items: stretch; }
.strategic-trajectory-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 1.25rem; align-items: stretch; }
.strategic-decision-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(350px, .55fr); gap: 1.25rem; align-items: stretch; }
.strategic-decision-grid > .visual-panel { height: 100%; }
.strategic-arbitration { min-width: 0; overflow: hidden; border: 1px solid var(--sd-border); border-radius: var(--dash-radius); background: #fff; box-shadow: 0 12px 38px rgba(24,50,71,.055); }
.strategic-arbitration > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.15rem 1.2rem .95rem; border-bottom: 1px solid var(--sd-border); }
.strategic-arbitration > header span { color: var(--sd-blue); font-size: .59rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.strategic-arbitration > header h3 { margin: .16rem 0 0; color: var(--sd-navy); font-size: .96rem; font-weight: 760; }
.strategic-arbitration > header p { margin: .22rem 0 0; color: var(--sd-muted); font-size: .64rem; }
.strategic-arbitration > header > strong { display: grid; width: 31px; height: 31px; place-items: center; color: var(--sd-blue); border-radius: 50%; background: var(--sd-blue-soft); font-size: .72rem; }
.strategic-arbitration__list { display: grid; }
.strategic-arbitration__item { display: grid; grid-template-columns: 27px minmax(0, 1fr) auto; gap: .65rem; align-items: center; min-height: 62px; padding: .7rem 1rem; color: var(--sd-ink); border-bottom: 1px solid #edf1f5; box-shadow: inset 3px 0 var(--sd-gold); text-decoration: none; transition: background .16s ease; }
.strategic-arbitration__item:last-child { border-bottom: 0; }
.strategic-arbitration__item.is-critical { box-shadow: inset 3px 0 #c54a42; }
.strategic-arbitration__item:hover { color: var(--sd-ink); background: #f7faff; }
.strategic-arbitration__rank { color: #9aa8b6; font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.strategic-arbitration__copy { min-width: 0; }
.strategic-arbitration__copy strong, .strategic-arbitration__copy > span, .strategic-arbitration__copy small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.strategic-arbitration__copy strong { color: var(--sd-blue); font-size: .62rem; letter-spacing: .055em; }
.strategic-arbitration__copy > span { margin-top: .13rem; font-size: .69rem; }
.strategic-arbitration__copy small { margin-top: .12rem; color: var(--sd-muted); font-size: .58rem; }
.strategic-arbitration__signal { display: inline-flex; gap: .35rem; align-items: center; color: #a13a34; font-size: .58rem; font-weight: 750; white-space: nowrap; }
.strategic-arbitration__empty { display: flex; min-height: 265px; flex-direction: column; gap: .55rem; align-items: center; justify-content: center; padding: 1.5rem; color: var(--sd-muted); font-size: .7rem; text-align: center; }
.strategic-arbitration__empty i { color: var(--sd-green); font-size: 1.35rem; }
.visual-panel { min-width: 0; padding: 1.4rem; border: 1px solid var(--sd-border); border-radius: var(--dash-radius); background: #fff; box-shadow: 0 12px 38px rgba(24,50,71,.055); }
.visual-panel--full { grid-column: 1 / -1; }
.visual-panel--trajectory { min-height: 445px; }
.visual-panel--trajectory .chart--editorial { height: 355px; }
.visual-panel--weighted .chart--editorial { height: 360px; }
.visual-panel--pressure { grid-row: span 2; }
.visual-panel--pressure .chart--editorial { height: 520px; }
.visual-panel--compact .chart--editorial { height: 210px; }
.visual-panel--quality .chart--editorial { height: 300px; }
.visual-panel > header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; margin-bottom: .8rem; }
.visual-panel h3 { margin: 0 0 .25rem; color: var(--sd-navy); font-size: .98rem; font-weight: 760; }
.visual-panel header p { margin: 0; color: var(--sd-muted); font-size: .72rem; }
.panel-mark { flex: 0 0 34px; height: 10px; margin-top: .3rem; border-radius: 10px; background: repeating-linear-gradient(90deg, var(--sd-green) 0 5px, transparent 5px 9px); opacity: .7; }
.chart--editorial { height: 330px; }
.visual-panel--full .chart--editorial { height: 390px; }
.chart-reading { display: flex; gap: .55rem; align-items: flex-start; margin: .25rem 0 0; padding-top: .65rem; color: #596b76; border-top: 1px solid #e3e8e6; font-size: .64rem; line-height: 1.45; }
.chart-reading i { flex: 0 0 auto; margin-top: .05rem; color: var(--sd-green); }
.chart-reading strong { color: var(--sd-navy); font-weight: 760; }
.dashboard-method-note { display: flex; gap: .75rem; align-items: flex-start; margin-top: .85rem; padding: .75rem .9rem; color: #52636e; border-left: 3px solid var(--sd-blue); background: #f3f7fa; }
.dashboard-method-note > i { margin-top: .08rem; color: var(--sd-blue); }
.dashboard-method-note p { margin: 0; font-size: .66rem; line-height: 1.55; }
.dashboard-method-note strong { color: var(--sd-navy); }
.dashboard-method-note--weighted { border-left-color: var(--sd-green); background: #f2f8f5; }
.dashboard-method-note--weighted > i { color: var(--sd-green); }
.dashboard-method-note--data-quality { border-left-color: var(--sd-gold); background: #fff8e6; }
.dashboard-method-note--data-quality > i { color: #8a6500; }
.dashboard-method-note--tactical { border-left-color: var(--sd-gold); background: #fffaf0; }
.dashboard-method-note--tactical > i { color: #9b7410; }
.chart-tooltip { box-sizing: border-box; width: auto; min-width: min(280px, calc(100vw - 64px)); max-width: 100%; white-space: normal; }
.chart-tooltip__title { display: block; margin-bottom: .45rem; padding-bottom: .45rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); font-size: .76rem; line-height: 1.35; }
.chart-tooltip__row { display: grid; grid-template-columns: 12px minmax(0,1fr) max-content; gap: .55rem; align-items: center; padding: .27rem .2rem .27rem 0; }
.chart-tooltip__marker { display: inline-block; width: 8px; height: 8px; background: var(--series-color); box-shadow: 0 0 0 1px rgba(255,255,255,.38); }
.chart-tooltip__marker.is-circle { border-radius: 50%; }
.chart-tooltip__marker.is-diamond { transform: rotate(45deg); }
.chart-tooltip__marker.is-triangle { width: 0; height: 0; background: transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--series-color); border-left: 5px solid transparent; box-shadow: none; }
.chart-tooltip__marker.is-bar { width: 10px; height: 8px; border: 1px solid rgba(255,255,255,.55); }
.chart-tooltip__marker.is-dash { width: 11px; height: 3px; box-shadow: none; }
.chart-tooltip__marker.is-bubble { width: 10px; height: 10px; border: 2px solid rgba(255,255,255,.82); border-radius: 50%; box-shadow: none; }
.chart-tooltip__marker.is-none { visibility: hidden; }
.chart-tooltip__copy { min-width: 0; }
.chart-tooltip__copy > span { display: block; color: rgba(255,255,255,.82); font-size: .64rem; line-height: 1.28; }
.chart-tooltip__copy small { display: block; margin-top: .08rem; color: rgba(255,255,255,.6); font-size: .56rem; line-height: 1.35; }
.chart-tooltip__row > b { min-width: max-content; padding-left: .15rem; color: #fff; font-size: .69rem; white-space: nowrap; text-align: right; }
.chart-tooltip__note { margin: .42rem 0 0; padding-top: .42rem; color: #f4cf68; border-top: 1px solid rgba(255,255,255,.16); font-size: .59rem; line-height: 1.4; }

.tactical-ribbon { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(130px, .6fr)); overflow: hidden; color: #fff; border-radius: 1.35rem; background: var(--sd-navy); box-shadow: 0 18px 40px rgba(24,50,71,.15); }
.tactical-title, .ribbon-metric { padding: 1.35rem 1.5rem; }
.tactical-title { background: linear-gradient(130deg, #0a6549, #0b7955); }
.tactical-title span, .tactical-title strong { display: block; }
.tactical-title span { color: rgba(255,255,255,.65); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.tactical-title strong { margin-top: .35rem; color: #fff; font-size: 1.15rem; }
.ribbon-metric { position: relative; border-left: 1px solid rgba(255,255,255,.09); }
.ribbon-metric::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; height: 3px; background: rgba(255,255,255,.18); }
.ribbon-metric span, .ribbon-metric strong { display: block; }
.ribbon-metric span { color: rgba(255,255,255,.56); font-size: .7rem; }
.ribbon-metric strong { margin-top: .35rem; color: #fff; font-size: 1.55rem; letter-spacing: -.035em; }
.ribbon-metric.risk::after { background: #f27a6a; }
.ribbon-metric.watch::after { background: #f2c25a; }
.ribbon-metric.done::after { background: #55d7a1; }

.decision-ledger { overflow: hidden; border: 1px solid var(--sd-border); border-radius: var(--dash-radius); background: #fff; }
.ledger-table { margin: 0; }
.ledger-table thead th { padding: .95rem 1rem; color: var(--sd-muted); background: #f8fafb; border: 0; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.ledger-table tbody td { padding: 1rem; vertical-align: middle; border-color: #eef1f2; }
.ledger-table tbody tr { box-shadow: inset 3px 0 transparent; }
.ledger-table tbody tr.is-critical { background: #fff9f7; box-shadow: inset 3px 0 #d95d4f; }
.ledger-table td:first-child { min-width: 300px; }
.ledger-table td:first-child strong, .ledger-table td:first-child span { display: block; }
.ledger-table td:first-child strong { margin-bottom: .2rem; color: var(--sd-green-dark); font-size: .72rem; letter-spacing: .06em; }
.ledger-table td:first-child span { max-width: 540px; color: var(--sd-ink); font-size: .8rem; line-height: 1.45; }
.ledger-table td:first-child small { display: block; margin-top: .35rem; color: var(--sd-muted); font-size: .64rem; }
.ledger-table time { display: block; margin-bottom: .35rem; font-weight: 700; white-space: nowrap; }
.ledger-commitment { min-width: 230px; max-width: 360px; }
.ledger-commitment strong, .ledger-commitment small { display: block; }
.ledger-commitment strong { color: var(--sd-ink); font-size: .73rem; font-weight: 650; line-height: 1.4; }
.ledger-commitment small { margin-top: .3rem; color: var(--sd-muted); font-size: .63rem; }
.review-link { display: inline-flex; gap: .45rem; align-items: center; padding: .5rem .7rem; color: var(--sd-green-dark); border: 1px solid #bdd9cc; border-radius: .7rem; background: #f5fbf8; font-size: .65rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.review-link:hover { color: #fff; border-color: var(--sd-green); background: var(--sd-green); }
.temporal-badge { display: inline-flex; align-items: center; gap: .38rem; padding: .34rem .55rem; color: #50616d; border-radius: 2rem; background: #eef2f3; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.temporal-badge i { width: 6px; height: 6px; border-radius: 50%; background: #768894; }
.temporal-badge.warning { color: #7d5800; background: #fff3cc; }
.temporal-badge.warning i { background: var(--sd-gold); }
.temporal-badge.danger { color: #9c3027; background: #fee9e6; }
.temporal-badge.danger i { background: #cc4a3e; }
.temporal-badge.safe { color: #076046; background: #e0f4eb; }
.temporal-badge.safe i { background: var(--sd-green); }
.progress-meter { display: inline-flex; min-width: 112px; gap: .55rem; align-items: center; }
.progress-meter > i { flex: 1; height: 5px; overflow: hidden; border-radius: 5px; background: #e8edef; }
.progress-meter > i > b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sd-green), #44bf8b); }
.progress-meter > strong { min-width: 32px; color: var(--sd-navy); font-size: .7rem; }
.decision-link { display: inline-grid; width: 35px; height: 35px; place-items: center; color: var(--sd-green); border: 1px solid var(--sd-border); border-radius: 50%; background: #fff; text-decoration: none; transition: .18s ease; }
.decision-link:hover { color: #fff; border-color: var(--sd-green); background: var(--sd-green); transform: translateY(-2px); }

.today-board { position: relative; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(430px, 1.15fr); gap: 2rem; align-items: stretch; margin-bottom: 2rem; overflow: hidden; border-radius: 1.65rem; background: #061f48; }
.today-board::after { content: ""; position: absolute; width: 270px; height: 270px; left: -165px; bottom: -180px; border: 55px solid rgba(255,255,255,.035); border-radius: 50%; }
.today-focus { padding: clamp(2rem, 4vw, 3.3rem); color: #fff; }
.today-focus > strong { display: block; margin-top: 1.2rem; color: #fff; font-size: clamp(4rem, 8vw, 7rem); line-height: .8; letter-spacing: -.08em; }
.today-focus h2 { margin: .7rem 0 1rem; color: #fff; font-size: 1.65rem; font-weight: 720; }
.today-focus__portfolio { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin: 0 0 1rem; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.today-focus__portfolio span { color: rgba(255,255,255,.68); font-size: .7rem; }
.today-focus__portfolio b { margin-right: .2rem; color: #fff; font-size: .9rem; }
.today-focus p { max-width: 510px; margin: 0; color: rgba(255,255,255,.6); font-size: .84rem; line-height: 1.65; }
.today-pulse { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: rgba(255,255,255,.08); }
.pulse-metric { display: flex; gap: .9rem; align-items: center; min-height: 145px; padding: 1.5rem; color: #fff; background: #0c3263; }
.pulse-metric > i { display: grid; width: 43px; height: 43px; place-items: center; color: #78dcb6; border-radius: 50%; background: rgba(255,255,255,.07); }
.pulse-metric span, .pulse-metric strong { display: block; }
.pulse-metric span { color: rgba(255,255,255,.52); font-size: .7rem; }
.pulse-metric strong { margin-top: .18rem; color: #fff; font-size: 1.65rem; letter-spacing: -.04em; }
.pulse-metric.risk > i { color: #ff9182; }
.pulse-metric.watch > i { color: #f4c35e; }
.pulse-metric.done > i { color: #78dcb6; }
.operations-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .5fr); gap: 1.5rem; align-items: start; }
.operations-main, .operations-aside, .action-body { min-width: 0; }
.operations-main .dashboard-section-heading { margin-top: .4rem; }
.operations-aside { display: grid; gap: 1rem; }
.action-queue { display: grid; gap: .65rem; }
.operational-lenses { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; padding: .55rem; border: 1px solid var(--sd-border); border-radius: .9rem; background: #f5f7f6; }
.operational-lens { display: inline-flex; gap: .45rem; align-items: center; min-height: 34px; padding: .42rem .68rem; color: #53636c; border: 1px solid transparent; border-radius: .62rem; background: transparent; font-size: .66rem; font-weight: 720; }
.operational-lens strong { display: grid; min-width: 20px; height: 20px; place-items: center; color: var(--sd-muted); border-radius: 50%; background: #fff; font-size: .6rem; }
.operational-lens:hover { color: var(--sd-green-dark); background: #fff; }
.operational-lens.is-active { color: #fff; border-color: var(--sd-green); background: var(--sd-green); box-shadow: 0 5px 14px rgba(8,117,74,.18); }
.operational-lens.is-active strong { color: var(--sd-green-dark); }
.action-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.05rem; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; box-shadow: inset 4px 0 var(--sd-green); }
.action-item.is-watch { box-shadow: inset 4px 0 var(--sd-gold); }
.action-item.is-critical { background: #fff9f7; box-shadow: inset 4px 0 #ce4c40; }
.action-rank { color: #9aa6ae; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.action-meta { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.action-meta > strong { color: var(--sd-green-dark); font-size: .68rem; letter-spacing: .07em; }
.action-meta > span:not(.temporal-badge) { color: var(--sd-muted); font-size: .66rem; }
.priority-reasons { display: inline-flex; flex-wrap: wrap; gap: .3rem; }
.priority-reason { display: inline-flex; align-items: center; min-height: 23px; padding: .24rem .47rem; color: #31546f; border-radius: 2rem; background: #e8f0f6; font-size: .58rem; font-weight: 760; white-space: nowrap; }
.priority-reason.watch { color: #775500; background: #fff1c7; }
.priority-reason.risk { color: #96332d; background: #fee9e6; }
.action-body h3 { margin: .45rem 0 .65rem; color: var(--sd-ink); font-size: .88rem; font-weight: 650; line-height: 1.45; }
.action-next-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .65rem; align-items: center; margin: .55rem 0 .7rem; padding: .65rem .72rem; border-left: 3px solid var(--sd-green); background: #f4f8f6; }
.action-next-step > i { color: var(--sd-green); font-size: .95rem; }
.action-next-step span, .action-next-step strong, .action-next-step small { display: block; }
.action-next-step span { color: var(--sd-muted); font-size: .57rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.action-next-step strong { margin-top: .12rem; color: var(--sd-ink); font-size: .7rem; font-weight: 670; }
.action-next-step small { margin-top: .14rem; color: var(--sd-muted); font-size: .61rem; }
.action-next-step.is-missing { border-left-color: var(--sd-gold); background: #fff9e9; }
.action-next-step.is-missing > i { color: #9b7410; }
.action-foot { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; color: var(--sd-muted); font-size: .69rem; }
.action-foot > span:not(.progress-meter) i { margin-right: .3rem; color: var(--sd-green); }
.action-foot .progress-meter { margin-left: auto; }
.action-cta { display: inline-flex; gap: .45rem; align-items: center; justify-content: center; min-width: 118px; padding: .62rem .72rem; color: var(--sd-green-dark); border: 1px solid #bdd9cc; border-radius: .72rem; background: #f5fbf8; font-size: .64rem; font-weight: 760; text-decoration: none; }
.action-cta:hover { color: #fff; border-color: var(--sd-green); background: var(--sd-green); }
.compact-panel { overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; }
.compact-panel > header { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--sd-border); }
.compact-panel > header > i { color: var(--sd-green); }
.compact-panel h2 { margin: 0; color: var(--sd-navy); font-size: .84rem; font-weight: 750; }
.compact-panel > header > span { display: grid; min-width: 27px; height: 27px; place-items: center; color: var(--sd-green-dark); border-radius: 50%; background: var(--sd-green-soft); font-size: .68rem; font-weight: 800; }
.compact-panel--risk { border-top: 3px solid #b34139; }
.compact-panel--risk > header > i { color: #b34139; }
.blocker-list a, .operational-side-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .82rem 1rem; color: var(--sd-ink); border-bottom: 1px solid #eef1f2; text-decoration: none; }
.blocker-list a:last-child, .operational-side-list a:last-child { border-bottom: 0; }
.blocker-list a:hover, .operational-side-list a:hover { background: #f8faf9; }
.blocker-list a > div, .operational-side-list a > span { min-width: 0; }
.blocker-list span, .blocker-list strong, .blocker-list small, .operational-side-list strong, .operational-side-list small { display: block; }
.blocker-list span, .operational-side-list strong { color: var(--sd-green-dark); font-size: .62rem; font-weight: 780; letter-spacing: .05em; }
.blocker-list strong { margin-top: .18rem; overflow: hidden; font-size: .69rem; font-weight: 660; white-space: nowrap; text-overflow: ellipsis; }
.blocker-list small, .operational-side-list small { margin-top: .16rem; color: var(--sd-muted); font-size: .58rem; }
.blocker-list a > i, .operational-side-list a > i { color: #9aa7ae; font-size: .68rem; }
.operational-side-list a > span { overflow: hidden; color: var(--sd-ink); font-size: .68rem; white-space: nowrap; text-overflow: ellipsis; }
.compact-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .85rem 1.1rem; color: var(--sd-ink); border-bottom: 1px solid #eef1f2; text-decoration: none; }
.compact-list a:last-child { border-bottom: 0; }
.compact-list a:hover { background: #f8faf9; }
.compact-list a > span { min-width: 0; overflow: hidden; font-size: .72rem; white-space: nowrap; text-overflow: ellipsis; }
.compact-list a strong { display: block; margin-bottom: .15rem; color: var(--sd-green-dark); font-size: .64rem; letter-spacing: .05em; }
.compact-list a > i { color: #a1abb2; font-size: .7rem; }
.compact-empty, .dashboard-empty { display: flex; gap: .6rem; align-items: center; justify-content: center; padding: 2rem 1rem; color: var(--sd-muted); font-size: .76rem; text-align: center; }
.compact-empty i, .dashboard-empty i { color: var(--sd-green); font-size: 1.2rem; }

.dashboard-filterbar { position: relative; margin: -.2rem 0 1.6rem; padding: 1rem 1.1rem 1.15rem 1.25rem; overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1.15rem; background: linear-gradient(105deg, #fff 0%, #fff 72%, #f3faf7 100%); box-shadow: 0 10px 30px rgba(24,50,71,.045); }
.dashboard-filterbar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, var(--sd-green) 0 70%, var(--sd-gold) 70%); }
.dashboard-filterbar__heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: .85rem; }
.dashboard-filterbar__title { display: flex; gap: .7rem; align-items: center; }
.dashboard-filter-icon { display: grid; flex: 0 0 34px; height: 34px; place-items: center; color: var(--sd-green); border-radius: 10px; background: var(--sd-green-soft); }
.dashboard-filterbar h2 { margin: 0; color: var(--sd-navy); font-size: .86rem; font-weight: 760; }
.dashboard-filterbar__title p { margin: .12rem 0 0; color: var(--sd-muted); font-size: .68rem; }
.dashboard-filter-count { padding: .33rem .58rem; color: var(--sd-muted); border: 1px solid var(--sd-border); border-radius: 2rem; background: #fff; font-size: .63rem; font-weight: 720; white-space: nowrap; }
.dashboard-filter-count.is-active { color: var(--sd-green-dark); border-color: #b9e1d2; background: var(--sd-green-soft); }
.dashboard-filter-grid { display: grid; grid-template-columns: 1.02fr 1.08fr 1.18fr .95fr .9fr auto; gap: .65rem; align-items: end; }
@media (min-width: 1200px) {
    .dashboard-filter-grid--with-ministry { grid-template-columns: 1.22fr 1fr 1fr 1.08fr .9fr .85fr auto; }
}
.dashboard-filter-field { display: grid; min-width: 0; gap: .32rem; }
.dashboard-filter-field > span { color: #60717d; font-size: .61rem; font-weight: 760; letter-spacing: .065em; text-transform: uppercase; }
.dashboard-filter-field .form-select { min-width: 0; height: 39px; padding-top: .35rem; padding-bottom: .35rem; color: var(--sd-ink); border-color: #dfe6e8; border-radius: .68rem; background-color: #fff; font-size: .72rem; }
.dashboard-filter-field .form-select:focus { border-color: #76bba2; box-shadow: 0 0 0 .18rem rgba(11,107,75,.1); }
.dashboard-filter-reset { display: inline-flex; height: 39px; gap: .4rem; align-items: center; justify-content: center; padding: 0 .8rem; color: var(--sd-green-dark); border: 1px solid #c7ddd5; border-radius: .68rem; background: #f7fbf9; font-size: .69rem; font-weight: 720; transition: .18s ease; }
.dashboard-filter-reset:not(:disabled):hover { color: #fff; border-color: var(--sd-green); background: var(--sd-green); }
.dashboard-filter-reset:disabled { color: #9aa6ae; border-color: var(--sd-border); background: #f5f7f7; cursor: default; }
.dashboard-root { transition: opacity .16s ease; }
.dashboard-root.is-refreshing { opacity: .48; pointer-events: none; }

.login-page { min-height: 100vh; overflow-x: hidden; background: #fff; }
.login-shell { display: grid; grid-template-columns: minmax(480px, 1.05fr) minmax(480px, .95fr); min-height: 100vh; }
.login-intro { position: relative; align-items: center; padding: clamp(3rem,7vw,7rem); color: #fff; overflow: hidden; background-image: linear-gradient(90deg, rgba(3,22,58,.98) 0%, rgba(3,32,79,.9) 54%, rgba(3,31,76,.42) 100%), url("../img/mtn-banner-clean.png"); background-position: center; background-size: cover; }
.login-intro::before, .login-intro::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.login-intro::before { width: 580px; height: 580px; right: -300px; top: -180px; }
.login-intro::after { width: 360px; height: 360px; left: -180px; bottom: -140px; }
.login-intro > div { position: relative; z-index: 1; max-width: 640px; }
.login-mtn-logo { display: inline-flex; width: 126px; min-height: 58px; align-items: center; justify-content: center; padding: .35rem .5rem; border-radius: .65rem; background: #fff; box-shadow: 0 10px 28px rgba(0,15,45,.24); }
.login-mtn-logo img { display: block; width: 112px; height: auto; }
.login-emblem { width: 58px; height: 58px; color: var(--sd-green); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.login-intro .eyebrow { color: #f5d66e; }
.login-intro h1 { max-width: 600px; margin: .8rem 0 1.3rem; font-size: clamp(2.5rem,4.6vw,4.6rem); line-height: 1.04; font-weight: 780; letter-spacing: -.055em; }
.login-intro > div > p:not(.eyebrow) { max-width: 570px; color: rgba(255,255,255,.76); font-size: 1.05rem; line-height: 1.7; }
.login-principles { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.6rem; color: rgba(255,255,255,.82); font-size: .82rem; }
.login-principles i { color: #f5d66e; margin-right: .35rem; }
.login-form-panel { display: grid; place-items: center; padding: 3rem; }
.login-card { width: min(100%, 430px); }
.login-card h2 { color: var(--sd-navy); font-size: 2.25rem; font-weight: 780; letter-spacing: -.04em; }
.login-card .input-group-text { color: var(--sd-muted); background: #fff; border-right: 0; }
.login-card .input-group .form-control { border-left: 0; }
.login-card .btn-primary { --bs-btn-bg: var(--sd-blue); --bs-btn-border-color: var(--sd-blue); --bs-btn-hover-bg: var(--sd-navy); --bs-btn-hover-border-color: var(--sd-navy); }
.login-help { margin-top: 2rem; color: var(--sd-muted); font-size: .78rem; text-align: center; }
.password-change-card { width: min(100%, 560px); }
.password-change-card h2 { margin-bottom: .55rem; }
.password-change-identity { display: flex; align-items: center; gap: .85rem; margin: 0 0 1.25rem; padding: .85rem 1rem; border: 1px solid #dbe5e2; border-left: 3px solid var(--sd-green); background: #f7faf9; }
.password-change-identity > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: var(--sd-green); background: #e5f1ed; border-radius: 4px; font-size: 1.05rem; }
.password-change-identity div { min-width: 0; display: grid; gap: .12rem; }
.password-change-identity strong { color: var(--sd-navy); font-size: .92rem; }
.password-change-identity small { color: var(--sd-muted); overflow-wrap: anywhere; }
.password-rules { margin: .2rem 0 1.25rem; padding: .9rem 1rem; color: var(--sd-muted); background: #f7f8f7; border: 1px solid var(--sd-border); }
.password-rules > strong { display: block; margin-bottom: .45rem; color: var(--sd-navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .055em; }
.password-rules ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .32rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .78rem; }
.password-rules li { display: flex; align-items: center; gap: .4rem; }
.password-rules li i { color: #9aa8a4; }
.password-rules li.is-valid { color: #116a4b; }
.password-rules li.is-valid i { color: var(--sd-green); }
.password-change-logout { margin-top: .8rem; text-align: center; }
.password-change-logout .btn-link { color: var(--sd-muted); font-size: .82rem; text-decoration: none; }
.password-change-logout .btn-link:hover { color: var(--sd-navy); text-decoration: underline; }

@media (max-width: 1199.98px) {
    .app-navbar { min-height: 62px; }
    .app-brand { min-width: 0; }
    .app-navbar .navbar-collapse { margin-top: .7rem; padding: .75rem; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; box-shadow: 0 16px 34px rgba(24,50,71,.1); }
    .main-nav { gap: .25rem; padding: 0; border: 0; background: transparent; }
    .app-navbar .main-nav .nav-link { padding: .7rem .8rem !important; }
    .header-utility { margin-left: auto; }
    .header-mobile-actions .header-create { width: 100%; justify-content: center; }
    .user-menu { margin: 0 !important; }
    .admin-hero { grid-template-columns: 1fr; gap: 2rem; }
    .admin-hero-stats { max-width: 700px; }
    .admin-console { grid-template-columns: 1fr; }
    .reference-health-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-navigation { position: static; }
    .admin-navigation-heading, .admin-governance-note { display: none; }
    .admin-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .admin-tabs .nav-link { grid-template-columns: 32px minmax(0, 1fr); }
    .admin-tabs .nav-link > i:first-child { width: 32px; height: 32px; }
    .admin-tab-arrow { display: none; }
    .tolerance-policy-layout { grid-template-columns: 1fr; }
    .policy-impact-panel { position: static; }
    .dashboard-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dashboard-filter-reset { width: 100%; }
}

@media (max-width: 991.98px) {
    .login-shell { display: block; }
    .login-form-panel { min-height: 100vh; padding: 2rem 1.25rem; }
    .dashboard-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .command-hero { grid-template-columns: 1fr; }
    .executive-brief__body { grid-template-columns: 1fr; }
    .execution-focus { grid-template-columns: 118px minmax(0, 1fr); }
    .command-score { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; align-items: center; text-align: left; }
    .score-orbit { width: 170px; margin: 0; }
    .dashboard-layout--strategic, .dashboard-layout--strategic-performance, .dashboard-layout--tactical, .dashboard-layout--tactical-control, .strategic-decision-grid, .strategic-trajectory-grid { grid-template-columns: 1fr; }
    .visual-panel--full { grid-column: auto; }
    .visual-panel--pressure { grid-row: auto; }
    .visual-panel--pressure .chart--editorial { height: 420px; }
    .visual-panel--compact .chart--editorial { height: 300px; }
    .visual-panel--quality .chart--editorial { height: 330px; }
    .tactical-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tactical-title { grid-column: 1 / -1; }
    .today-board, .operations-grid { grid-template-columns: 1fr; }
    .reference-grid { grid-template-columns: 1fr; }
    .policy-submit-footer { align-items: flex-start; flex-direction: column; }
    .policy-submit-footer .btn { width: 100%; }
    .dashboard-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mtn-dashboard-hero, .mtn-home-hero { min-height: 260px; background-position: 61% center; }
    .mtn-dashboard-hero { min-height: 175px; background-position: 58% center; }
    .dashboard-commandbar { align-items: flex-start; }
    .dashboard-commandbar__context { display: none; }
    .dashboard-tools { width: 100%; justify-content: space-between; }
}

@media (max-width: 575.98px) {
    .password-rules ul { grid-template-columns: 1fr; }
    .policy-status-banner { grid-template-columns: 38px minmax(0, 1fr); }
    .policy-status-badge { grid-column: 2; width: max-content; }
    .tolerance-rule-inputs, .policy-impact-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .institution-bar { min-height: 22px; font-size: .56rem; }
    .pilot-label { font-size: .56rem; }
    .app-navbar { padding: .28rem 0; }
    .brand-mark { width: 40px; height: 40px; border-radius: 11px; }
    .app-brand { min-width: 0; gap: .55rem; }
    .mtn-logo-mark { flex-basis: 62px; width: 62px; height: 34px; }
    .mtn-logo-mark img { width: 61px; }
    .brand-copy > strong { font-size: .92rem; }
    .brand-copy > small { font-size: .47rem; }
    .app-navbar .navbar-collapse { margin-top: .6rem; padding: .6rem; }
    .header-create { justify-content: center; }
    .header-utility { gap: .28rem; margin-left: .3rem; }
    .header-utility .user-trigger { width: auto; }
    .app-main { padding-top: 1.5rem !important; }
    .page-heading h1 { font-size: 1.7rem; }
    .page-heading > .d-flex { width: 100%; }
    .page-heading > .d-flex .btn { flex: 1; }
    .detail-grid { grid-template-columns: 1fr; }
    .kpi-card .kpi-value { font-size: 1.65rem; }
    .page-heading { margin-bottom: 1.4rem; }
    .dashboard-glance { grid-template-columns: 1fr; }
    .command-hero { padding: 1.6rem; border-radius: 1.2rem; }
    .executive-brief__header { align-items: flex-start; padding: 1rem 1rem .9rem 1.2rem; }
    .portfolio-chip { padding: .38rem .5rem; }
    .portfolio-chip { font-size: 0; }
    .portfolio-chip strong { font-size: .82rem; }
    .portfolio-chip strong::after { content: " décisions"; margin-left: .2rem; color: var(--sd-muted); font-size: .58rem; font-weight: 500; }
    .execution-focus { grid-template-columns: 88px minmax(0, 1fr); gap: .85rem; padding: 1.1rem 1rem 1.15rem 1.2rem; }
    .execution-score { width: 84px; height: 84px; border-width: 8px; }
    .execution-score strong { font-size: 1.1rem; }
    .executive-signals { grid-template-columns: 1fr; }
    .executive-metric { min-height: 82px; }
    .command-copy h2 { font-size: 2.05rem; }
    .command-signals { display: grid; }
    .command-score { display: block; text-align: center; }
    .score-orbit { width: 165px; margin: 1rem auto; }
    .dashboard-section-heading { display: block; }
    .dashboard-section-heading p { margin-top: .45rem; text-align: left; }
    .tactical-ribbon { display: block; }
    .ribbon-metric { border-top: 1px solid rgba(255,255,255,.09); border-left: 0; }
    .today-pulse { grid-template-columns: 1fr; }
    .pulse-metric { min-height: 100px; }
    .action-item { grid-template-columns: 32px minmax(0, 1fr); }
    .action-item > .action-cta { grid-column: 2; width: 100%; }
    .action-foot .progress-meter { width: 100%; margin-left: 0; }
    .operational-lenses { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; }
    .operational-lenses::-webkit-scrollbar { display: none; }
    .operational-lens { flex: 0 0 auto; }
    .chart--editorial, .visual-panel--full .chart--editorial { height: 300px; }
    .visual-panel--trajectory { min-height: 390px; }
    .visual-panel--trajectory .chart--editorial, .visual-panel--weighted .chart--editorial { height: 300px; }
    .dashboard-tools { justify-content: start; }
    .dashboard-switch { width: 100%; overflow-x: auto; overflow-y: hidden; border-radius: .8rem; }
    .dashboard-switch a { flex: 1; text-align: center; }
    .mtn-dashboard-hero, .mtn-home-hero { min-height: 235px; padding: 1.35rem; align-items: end; background-image: linear-gradient(90deg, rgba(2,20,55,.97), rgba(3,31,79,.72) 62%, rgba(2,22,58,.24)), url("../img/mtn-banner-clean.png"); background-position: 58% center; border-radius: 1.1rem; }
    .mtn-dashboard-hero { min-height: 168px; }
    .mtn-hero-copy h1 { font-size: 2rem; }
    .mtn-hero-copy .text-muted { max-width: 92%; font-size: .78rem; }
    .mtn-home-hero { display: flex; min-height: 280px; flex-direction: column; align-items: flex-start; justify-content: end; }
    .mtn-home-hero .btn-primary { width: 100%; }
    .dashboard-commandbar { margin: -.7rem .55rem 1rem; padding: .6rem; }
    .dashboard-tools { gap: .5rem; }
    .dashboard-export { width: 100%; }
    .dashboard-export a { flex: 1; justify-content: center; }
    .strategic-arbitration__item { grid-template-columns: 25px minmax(0, 1fr); }
    .strategic-arbitration__signal { display: none; }
    .dashboard-filterbar { padding: .9rem .85rem 1rem 1rem; }
    .dashboard-filterbar__heading { align-items: flex-start; }
    .dashboard-filter-count { margin-top: .15rem; }
    .dashboard-filter-grid { grid-template-columns: 1fr; }
    .dashboard-filter-field .form-select, .dashboard-filter-reset { height: 42px; }
    .admin-hero { gap: 1.5rem; margin-inline: -.25rem; padding: 1.5rem; border-radius: 1.15rem; }
    .admin-hero h1 { font-size: 2rem; }
    .admin-hero-copy > p { font-size: .82rem; }
    .admin-hero-stats > div { min-height: 88px; padding: 1rem; }
    .admin-hero-stats strong { font-size: 1.5rem; }
    .admin-scope-selector { padding: .75rem; }
    .admin-navigation { padding: .5rem; }
    .admin-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .admin-tabs .nav-item, .admin-tabs .nav-link { width: 100%; }
    .admin-tabs .nav-link { grid-template-columns: 30px minmax(0, 1fr); gap: .5rem; padding: .6rem; }
    .admin-tabs .nav-link > i:first-child { width: 30px; height: 30px; }
    .admin-tabs .nav-link small { display: none; }
    .admin-section-heading { align-items: flex-end; }
    .admin-count { font-size: .6rem; }
    .admin-panel-intro { padding: 1rem; }
    .admin-form-body { padding: 1rem; }
    .admin-form-footer { padding: .85rem 1rem 1rem; }
    .admin-table-wrap { padding: .25rem .6rem .7rem; }
    .reference-health-grid { grid-template-columns: 1fr; }
    .reference-health-grid article { min-height: 78px; }
    .reference-inline-form { min-width: 0; }
    .normative-banner { padding: .85rem; }
    .dt-container .dt-layout-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
    .dt-container .dt-layout-cell { width: 100%; text-align: center; }
    .dt-container .dt-search label, .dt-container .dt-length label { display: flex; gap: .55rem; align-items: center; justify-content: center; }
    .dt-container .dt-search input { min-width: 0; width: min(100%, 230px); }
    .responsive-stack { display: block; width: 100% !important; }
    .responsive-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .responsive-stack tbody { display: grid; gap: .8rem; width: 100%; }
    .responsive-stack tbody tr { display: block; padding: .75rem; border: 1px solid var(--sd-border); border-radius: .85rem; background: #fff; box-shadow: inset 4px 0 var(--sd-green); }
    .responsive-stack tbody tr.critical-row, .responsive-stack tbody tr.is-critical { background: #fff9f7; box-shadow: inset 4px 0 #ce4c40; }
    .responsive-stack tbody td { display: grid; grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr); gap: .7rem; align-items: start; width: 100% !important; min-width: 0 !important; max-width: none !important; padding: .45rem .35rem !important; border: 0; overflow-wrap: anywhere; white-space: normal; }
    .responsive-stack tbody td::before { content: attr(data-label); color: var(--sd-muted); font-size: .66rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
    .responsive-stack tbody td[data-label="Décision"] { display: block; padding-bottom: .7rem !important; border-bottom: 1px solid var(--sd-border); }
    .responsive-stack tbody td[data-label="Décision"]::before { display: block; margin-bottom: .35rem; }
    .responsive-stack .decision-copy { min-width: 0; }
    .responsive-stack .slim-progress { width: 100%; }
    .responsive-stack .qualification-cell form, .responsive-stack .resolution-cell form { display: grid; grid-template-columns: 1fr; margin: 0; }
    .responsive-stack .qualification-cell form > div, .responsive-stack .resolution-cell form > div { width: 100%; }
    .responsive-stack .decision-link { width: auto; padding: .5rem .75rem; border-radius: .65rem; }
    .decision-ledger { overflow: visible; border: 0; background: transparent; }
    .decision-ledger .table-responsive, .app-card .table-responsive { overflow: visible; }
    .ledger-table td:first-child { min-width: 0; }
    .timeline time { font-size: .7rem; }
}

.decision-accountability { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.decision-accountability article { position: relative; min-height: 96px; padding: 1rem 1rem .95rem 3.4rem; border: 1px solid var(--sd-border); border-radius: .9rem; background: #fbfdfc; }
.decision-accountability article > i { position: absolute; left: 1rem; top: 1rem; display: grid; width: 30px; height: 30px; place-items: center; color: var(--sd-green); border-radius: .6rem; background: var(--sd-green-soft); }
.decision-accountability article > span, .decision-accountability article > strong { display: block; }
.decision-accountability article > span { margin-bottom: .3rem; color: var(--sd-muted); font-size: .62rem; font-weight: 720; letter-spacing: .06em; text-transform: uppercase; }
.decision-accountability article > strong { color: var(--sd-navy); font-size: .77rem; line-height: 1.4; }
.decision-accountability article.is-pending { border-style: dashed; border-color: #ddc66c; background: #fffaf0; }
.decision-accountability article.is-pending > i { color: #806400; background: #fff0b8; }

@media (max-width: 575.98px) {
    .decision-accountability { grid-template-columns: 1fr; }
}

/* Poste de revue opérationnelle */
.operational-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(520px, .8fr); gap: 1.5rem; align-items: end; margin-bottom: 1.25rem; padding: 1.15rem 0 .4rem; }
.operational-hero__copy h1 { margin: 0; color: var(--sd-navy); font-size: clamp(2rem, 3.2vw, 3.25rem); font-weight: 810; letter-spacing: -.045em; }
.operational-hero__copy > p { margin: .65rem 0 0; color: var(--sd-muted); }
.operational-hero__actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-top: 1rem; }
.operational-hero__actions .btn { min-height: 42px; padding-inline: 1rem; font-size: .72rem; font-weight: 760; }
.review-action-required { margin-left: .5rem; padding: .16rem .32rem; color: #5d4900; border-radius: .28rem; background: #f5d95e; font-size: .52rem; font-weight: 850; letter-spacing: .035em; text-transform: uppercase; }
.operational-hero__signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.operational-hero__signals article { min-height: 82px; padding: .8rem .85rem; border: 1px solid var(--sd-border); border-radius: .85rem; background: rgba(255,255,255,.82); box-shadow: 0 8px 24px rgba(24,50,71,.035); }
.operational-hero__signals span, .operational-hero__signals strong, .operational-hero__signals small { display: block; }
.operational-hero__signals span { color: var(--sd-muted); font-size: .58rem; font-weight: 780; letter-spacing: .075em; text-transform: uppercase; }
.operational-hero__signals strong { margin-top: .25rem; color: var(--sd-navy); font-size: .72rem; line-height: 1.35; }
.operational-hero__signals small { margin-top: .18rem; color: #7b8993; font-size: .59rem; line-height: 1.35; }
.operational-hero__signals article[data-state="HORS_TOLERANCE"], .operational-hero__signals article[data-state="OBSOLETE"] { border-color: #edc7c2; background: #fff8f7; }
.operational-hero__signals article[data-state="HORS_TOLERANCE"] strong, .operational-hero__signals article[data-state="OBSOLETE"] strong { color: #a73e35; }
.operational-hero__signals article[data-state="A_JOUR"] { border-color: #c7e4d8; background: #f7fcf9; }
.decision-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary" "actions" "history"; gap: 1.1rem; align-items: start; }
.decision-summary-panel { grid-area: summary; }
.decision-action-panel { grid-area: actions; min-width: 0; overflow: hidden; }
.decision-history-panel { grid-area: history; }
.current-action-card { padding: 1rem 1.1rem; border: 1px solid #c9e2d8; border-radius: .9rem; background: linear-gradient(105deg, #f4fbf8, #fff); }
.current-action-card > div { display: flex; gap: .45rem; align-items: center; margin-bottom: .4rem; color: var(--sd-green-dark); font-size: .63rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.current-action-card > strong, .current-action-card > small { display: block; }
.current-action-card > strong { color: var(--sd-navy); font-size: .82rem; line-height: 1.5; }
.current-action-card > small { margin-top: .3rem; color: var(--sd-muted); font-size: .66rem; }
.action-plan-snapshot { display: grid; grid-template-columns: 1fr auto; gap: .22rem 1rem; padding: 1rem 1.1rem; border: 1px solid #c9e2d8; border-radius: .9rem; background: linear-gradient(105deg, #f4fbf8, #fff); }
.action-plan-snapshot > div { display: flex; grid-column: 1 / -1; gap: .45rem; align-items: center; margin-bottom: .2rem; color: var(--sd-green-dark); font-size: .63rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }
.action-plan-snapshot > strong { color: var(--sd-navy); font-size: .82rem; }
.action-plan-snapshot > small { color: var(--sd-muted); font-size: .66rem; text-align: right; }
.action-plan-snapshot > a { grid-column: 1 / -1; width: max-content; margin-top: .45rem; color: var(--sd-green-dark); font-size: .66rem; font-weight: 750; text-decoration: none; }
.action-plan-header { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: 1.3rem 1.4rem 1.1rem; border-bottom: 1px solid var(--sd-border); }
.action-plan-header h2 { margin: 0; color: var(--sd-navy); font-size: 1.35rem; font-weight: 790; letter-spacing: -.025em; }
.action-plan-header p:not(.eyebrow) { margin: .3rem 0 0; color: var(--sd-muted); font-size: .7rem; }
.action-plan-kpis { display: flex; flex: 0 0 auto; gap: .35rem; }
.action-plan-kpis span { display: grid; min-width: 68px; padding: .48rem .58rem; color: var(--sd-muted); border: 1px solid var(--sd-border); border-radius: .65rem; background: #f8faf9; font-size: .58rem; text-align: center; }
.action-plan-kpis strong { color: var(--sd-navy); font-size: .92rem; line-height: 1; }
.action-plan-kpis .is-alert { color: #9b3d35; border-color: #edc7c2; background: #fff7f5; }
.action-plan-kpis .is-alert strong { color: #a83e35; }
.action-plan-governance { display: grid; grid-template-columns: 34px 1fr; gap: .75rem; align-items: start; margin: 1rem 1.25rem; padding: .8rem .9rem; border-left: 3px solid var(--sd-green); background: #f4f8f6; }
.action-plan-governance > i { display: grid; width: 32px; height: 32px; place-items: center; color: var(--sd-green-dark); border-radius: .55rem; background: var(--sd-green-soft); }
.action-plan-governance strong, .action-plan-governance span { display: block; }
.action-plan-governance strong { color: var(--sd-navy); font-size: .7rem; }
.action-plan-governance span { margin-top: .15rem; color: var(--sd-muted); font-size: .63rem; line-height: 1.45; }
.action-create-box { margin: 0 1.25rem 1rem; border: 1px solid #bfded1; border-radius: .85rem; background: #f9fcfa; }
.action-create-box > summary { display: flex; align-items: center; justify-content: space-between; padding: .8rem .9rem; color: var(--sd-green-dark); cursor: pointer; list-style: none; font-size: .7rem; font-weight: 780; }
.action-create-box > summary::-webkit-details-marker, .action-inline-details > summary::-webkit-details-marker, .action-completion-box > summary::-webkit-details-marker { display: none; }
.action-create-box > summary span { display: flex; gap: .45rem; align-items: center; }
.action-create-box > summary small { color: var(--sd-muted); font-size: .58rem; font-weight: 600; }
.action-editor { padding: .95rem; border-top: 1px solid #d5e9e0; background: #fff; }
.action-editor .form-label, .action-completion-box .form-label { margin-bottom: .3rem; color: #435663; font-size: .66rem; font-weight: 740; }
.action-editor .form-control, .action-editor .form-select, .action-completion-box .form-control { min-height: 40px; border-color: #dce5e5; border-radius: .65rem; font-size: .75rem; }
.action-editor textarea.form-control, .action-completion-box textarea.form-control { min-height: auto; }
.action-editor .form-text { font-size: .61rem; }
.action-editor__footer { display: flex; gap: .8rem; align-items: center; justify-content: space-between; margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--sd-border); }
.action-editor__footer span { color: var(--sd-muted); font-size: .61rem; }
.action-plan-list { display: grid; gap: .75rem; padding: 0 1.25rem 1.25rem; }
.action-plan-empty { display: grid; justify-items: center; padding: 2rem 1rem; color: var(--sd-muted); border: 1px dashed #cbd7d5; border-radius: .9rem; text-align: center; }
.action-plan-empty i { margin-bottom: .55rem; color: var(--sd-green); font-size: 1.6rem; }
.action-plan-empty strong { color: var(--sd-navy); font-size: .8rem; }
.action-plan-empty span { margin-top: .25rem; font-size: .65rem; }
.action-plan-item { border: 1px solid var(--sd-border); border-left: 3px solid var(--sd-blue); border-radius: .85rem; background: #fff; }
.action-plan-item.is-overdue { border-left-color: var(--sd-red); }
.action-plan-item.is-closed { border-left-color: var(--sd-green); background: #fbfdfc; }
.action-plan-item > header { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: .7rem; align-items: start; padding: .9rem; }
.action-plan-item__index span { display: grid; width: 30px; height: 30px; place-items: center; color: var(--sd-navy); border-radius: 50%; background: #edf2f4; font-size: .63rem; font-weight: 820; }
.action-plan-item__title strong, .action-plan-item__title span { display: block; overflow-wrap: anywhere; }
.action-plan-item__title strong { color: var(--sd-navy); font-size: .76rem; line-height: 1.42; }
.action-plan-item__title span { margin-top: .27rem; color: var(--sd-muted); font-size: .61rem; }
.action-plan-item__state { display: grid; justify-items: end; gap: .3rem; }
.action-plan-item__state small { color: var(--sd-muted); font-size: .58rem; white-space: nowrap; }
.action-result { display: grid; grid-template-columns: 30px 1fr; gap: .65rem; margin: 0 .9rem .9rem 3.75rem; padding: .75rem; border-radius: .65rem; background: #edf7f2; }
.action-result > i { display: grid; width: 28px; height: 28px; place-items: center; color: var(--sd-green); }
.action-result span, .action-result strong, .action-result small { display: block; }
.action-result span { color: var(--sd-green-dark); font-size: .58rem; font-weight: 780; text-transform: uppercase; }
.action-result strong { margin-top: .2rem; color: var(--sd-navy); font-size: .68rem; line-height: 1.45; }
.action-result small { margin-top: .25rem; color: var(--sd-muted); font-size: .58rem; }
.action-inline-details { margin: 0 .9rem .75rem 3.75rem; border: 1px solid var(--sd-border); border-radius: .65rem; }
.action-inline-details > summary { padding: .6rem .7rem; color: var(--sd-muted); cursor: pointer; list-style: none; font-size: .62rem; font-weight: 700; }
.action-inline-details[open] > summary { color: var(--sd-navy); border-bottom: 1px solid var(--sd-border); }
.action-inline-details .action-editor { border: 0; }
.action-lifecycle { display: flex; gap: .5rem; align-items: flex-start; flex-wrap: wrap; margin: 0 .9rem .9rem 3.75rem; padding-top: .7rem; border-top: 1px solid var(--sd-border); }
.action-lifecycle form { margin: 0; }
.action-completion-box { position: relative; }
.action-completion-box > summary { display: inline-flex; gap: .3rem; align-items: center; min-height: 31px; padding: .35rem .6rem; color: #fff; border-radius: .45rem; background: var(--sd-green); cursor: pointer; list-style: none; font-size: .62rem; font-weight: 720; }
.action-completion-box--cancel > summary { color: #a43c34; border: 1px solid #ecc3bf; background: #fff6f5; }
.action-completion-box > form { width: min(390px, calc(100vw - 5rem)); margin-top: .45rem; padding: .8rem; border: 1px solid var(--sd-border); border-radius: .65rem; background: #f8faf9; }
.progress-review-alert { display: grid; grid-template-columns: 30px 1fr; gap: .65rem; padding: .7rem; border: 1px solid #e6d48c; border-radius: .65rem; background: #fffaf0; }
.progress-review-alert > i { display: grid; width: 28px; height: 28px; place-items: center; color: #866900; border-radius: .5rem; background: #fff0b8; }
.progress-review-alert strong, .progress-review-alert span { display: block; }
.progress-review-alert strong { color: #5a4911; font-size: .68rem; }
.progress-review-alert span { margin-top: .15rem; color: #796a3e; font-size: .6rem; line-height: 1.4; }
.progress-review-check { display: flex; gap: .55rem; align-items: flex-start; margin-top: .6rem; padding: .6rem .65rem; color: #52656e; border: 1px solid var(--sd-border); border-radius: .6rem; font-size: .62rem; line-height: 1.4; cursor: pointer; }
.progress-review-check input { flex: 0 0 auto; margin-top: .08rem; }
.operational-review-form { overflow: visible; }
.decision-review-drawer-open { overflow: hidden; }
body.decision-review-drawer-open .app-unsaved-indicator { display: none !important; }
.decision-review-backdrop { position: fixed; z-index: 1040; inset: 0; opacity: 0; background: rgba(4, 24, 48, .52); backdrop-filter: blur(2px); transition: opacity .22s ease; }
.decision-review-backdrop.is-visible { opacity: 1; }
.decision-review-drawer { position: fixed; z-index: 1045; top: 0; right: 0; bottom: 0; display: flex; width: min(680px, calc(100vw - 2rem)); min-width: 0; flex-direction: column; visibility: hidden; overflow: hidden; border: 0; background: #f4f5f2; box-shadow: -22px 0 60px rgba(3, 25, 54, .24); transform: translateX(102%); transition: transform .24s ease, visibility 0s linear .24s; }
.decision-review-drawer.is-open { visibility: visible; transform: translateX(0); transition-delay: 0s; }
.decision-review-drawer__header { display: flex; flex: 0 0 auto; gap: 1rem; align-items: center; justify-content: space-between; min-height: 72px; padding: 1rem 1.25rem; color: #fff; border-bottom: 3px solid var(--sd-green); background: var(--sd-navy); }
.decision-review-drawer__header span, .decision-review-drawer__header h2 { display: block; }
.decision-review-drawer__header span { color: rgba(255,255,255,.66); font-size: .58rem; font-weight: 790; letter-spacing: .09em; text-transform: uppercase; }
.decision-review-drawer__header h2 { margin: .15rem 0 0; color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: -.015em; }
.decision-review-drawer__close { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: .3rem; background: rgba(255,255,255,.08); }
.decision-review-drawer__close:hover, .decision-review-drawer__close:focus-visible { border-color: #f1cf36; background: rgba(255,255,255,.15); outline: 0; }
.decision-review-drawer__content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #9aaca6 transparent; scrollbar-width: thin; }
.decision-review-drawer .operational-review-form { min-height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.operational-review-header { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: 1.25rem 1.35rem; border-bottom: 1px solid var(--sd-border); }
.operational-review-header h2 { margin: 0; color: var(--sd-navy); font-size: 1.35rem; font-weight: 780; letter-spacing: -.025em; }
.review-freshness { display: inline-flex; gap: .35rem; align-items: center; padding: .38rem .55rem; color: var(--sd-green-dark); border: 1px solid #c8e4d8; border-radius: 2rem; background: var(--sd-green-soft); font-size: .62rem; font-weight: 750; white-space: nowrap; }
.review-freshness[data-state="OBSOLETE"], .review-freshness[data-state="JAMAIS_ACTUALISEE"] { color: #a13d35; border-color: #edc4bf; background: #fff1ef; }
.review-deadline-lock { display: grid; grid-template-columns: 32px 1fr; gap: .7rem; align-items: start; margin: .85rem 1.1rem 0; padding: .75rem .8rem; border: 1px solid #e5d89d; border-radius: .75rem; background: #fffaf0; }
.review-deadline-lock > i { display: grid; width: 32px; height: 32px; place-items: center; color: #806400; border-radius: .55rem; background: #fff0b8; }
.review-deadline-lock span, .review-deadline-lock strong, .review-deadline-lock small { display: block; }
.review-deadline-lock span { color: #806400; font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.review-deadline-lock strong { margin-top: .1rem; color: #4d421b; font-size: .75rem; }
.review-deadline-lock small { color: #89794a; font-size: .6rem; }
.review-directive-context { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .7rem; align-items: start; margin: .65rem 1.1rem 0; padding: .8rem; border: 1px solid var(--sd-border); border-radius: .75rem; background: #fff; }
.review-directive-context > i { display: grid; width: 32px; height: 32px; place-items: center; color: var(--sd-green); border-radius: .55rem; background: #e8f3ee; }
.review-directive-context span { display: block; color: var(--sd-green); font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.review-directive-context p { margin: .2rem 0 0; color: var(--sd-navy); font-size: .72rem; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.operational-review-body { display: grid; gap: .7rem; padding: .9rem 1.1rem 1.1rem; }
.review-form-section { padding: .95rem; border: 1px solid var(--sd-border); border-radius: .85rem; background: #fff; }
.review-form-section > header { display: flex; gap: .65rem; align-items: center; margin-bottom: .85rem; }
.review-form-section > header > span { display: grid; flex: 0 0 29px; height: 29px; place-items: center; color: var(--sd-green-dark); border-radius: .55rem; background: var(--sd-green-soft); font-size: .58rem; font-weight: 850; }
.review-form-section > header strong, .review-form-section > header small { display: block; }
.review-form-section > header strong { color: var(--sd-navy); font-size: .75rem; }
.review-form-section > header small { margin-top: .08rem; color: var(--sd-muted); font-size: .59rem; }
.review-form-section .form-label { margin-bottom: .3rem; color: #435663; font-size: .66rem; font-weight: 740; }
.review-form-section .form-control, .review-form-section .form-select { min-height: 40px; border-color: #dce5e5; border-radius: .65rem; font-size: .75rem; }
.review-form-section textarea.form-control { min-height: auto; }
.review-form-section .form-text { font-size: .61rem; }
.review-form-section--risk { border-color: #ebd5c1; background: #fffaf7; }
.review-form-section--risk > header > span { color: #9c4e27; background: #fbe7da; }
.review-actions-summary { border-color: #c9ddd5; background: linear-gradient(145deg, #fbfdfc, #f5faf7); }
.review-actions-summary__list { display: grid; gap: .45rem; max-height: 220px; overflow-y: auto; padding-right: .2rem; scrollbar-color: #a9bbb5 transparent; scrollbar-width: thin; }
.review-action-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .65rem .7rem; color: inherit; border: 1px solid #dce6e2; border-radius: .68rem; background: #fff; text-decoration: none; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.review-action-row:hover, .review-action-row:focus-visible { color: inherit; border-color: #9bc8b5; box-shadow: 0 7px 18px rgba(20, 72, 54, .08); transform: translateY(-1px); }
.review-action-row__state { width: 7px; height: 30px; border-radius: 1rem; background: var(--sd-blue); }
.review-action-row__state[data-state="EN_COURS"] { background: var(--sd-green); }
.review-action-row.is-overdue .review-action-row__state { background: var(--sd-red); }
.review-action-row__copy { min-width: 0; }
.review-action-row__copy strong, .review-action-row__copy small, .review-action-row__deadline em, .review-action-row__deadline small { display: block; }
.review-action-row__copy strong { overflow: hidden; color: var(--sd-navy); font-size: .67rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.review-action-row__copy small { overflow: hidden; margin-top: .2rem; color: var(--sd-muted); font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }
.review-action-row__deadline { display: grid; justify-items: end; min-width: 92px; }
.review-action-row__deadline em { color: var(--sd-green-dark); font-size: .56rem; font-style: normal; font-weight: 790; text-transform: uppercase; }
.review-action-row__deadline small { margin-top: .18rem; color: var(--sd-muted); font-size: .55rem; white-space: nowrap; }
.review-action-row.is-overdue .review-action-row__deadline small { color: var(--sd-red); font-weight: 720; }
.review-actions-summary__empty { display: grid; grid-template-columns: 30px 1fr; gap: .6rem; align-items: start; padding: .72rem; color: var(--sd-muted); border: 1px dashed #bfd2ca; border-radius: .68rem; background: rgba(255,255,255,.75); }
.review-actions-summary__empty > i { display: grid; width: 28px; height: 28px; place-items: center; color: var(--sd-green); border-radius: .5rem; background: var(--sd-green-soft); }
.review-actions-summary__empty strong, .review-actions-summary__empty span { display: block; }
.review-actions-summary__empty strong { color: var(--sd-navy); font-size: .66rem; }
.review-actions-summary__empty span { margin-top: .15rem; font-size: .58rem; line-height: 1.4; }
.review-actions-summary__footer { display: flex; gap: .65rem; align-items: center; justify-content: space-between; margin-top: .7rem; padding-top: .65rem; border-top: 1px solid #d8e4df; }
.review-actions-summary__manage { color: var(--sd-green-dark); font-size: .61rem; font-weight: 760; text-decoration: none; }
.review-actions-summary__manage:hover { text-decoration: underline; }
.review-actions-summary__footer .btn { flex: 0 0 auto; font-size: .61rem; font-weight: 740; }
.review-readonly-note { display: grid; grid-template-columns: 24px 1fr; gap: .5rem; align-items: start; padding: .7rem; color: #52656e; border-left: 3px solid var(--sd-blue); background: #f2f6f8; font-size: .61rem; line-height: 1.45; }
.review-readonly-note i { color: var(--sd-blue); }
.review-state-readonly__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.review-state-readonly__grid > div { padding: .6rem .65rem; border: 1px solid #e0e7e5; border-radius: .6rem; background: #fbfcfc; }
.review-state-readonly__grid > div:last-child { grid-column: 1 / -1; }
.review-state-readonly__grid span, .review-state-readonly__grid strong { display: block; }
.review-state-readonly__grid span { color: var(--sd-muted); font-size: .55rem; font-weight: 760; letter-spacing: .045em; text-transform: uppercase; }
.review-state-readonly__grid strong { margin-top: .2rem; color: var(--sd-navy); font-size: .67rem; line-height: 1.35; }
.operational-review-footer { position: sticky; z-index: 8; bottom: .5rem; display: flex; gap: .8rem; align-items: center; justify-content: space-between; margin: 0 .6rem .6rem; padding: .8rem; border: 1px solid rgba(205,218,220,.94); border-radius: .85rem; background: rgba(255,255,255,.95); box-shadow: 0 12px 30px rgba(24,50,71,.13); backdrop-filter: blur(12px); }
.review-change-state { display: flex; gap: .4rem; align-items: center; color: var(--sd-muted); font-size: .62rem; }
.review-change-state i { color: #9aabb2; }
.review-change-state.is-dirty { color: var(--sd-green-dark); font-weight: 720; }
.review-change-state.is-dirty i { color: var(--sd-green); }
.operational-review-footer .btn { font-size: .7rem; font-weight: 740; white-space: nowrap; }
.history-author { display: inline-flex; gap: .35rem; align-items: center; color: var(--sd-muted); font-size: .64rem; }
.history-author i { color: var(--sd-green); }
.timeline-transition { display: flex; gap: .4rem; align-items: flex-start; margin: .55rem 0 0; padding: .55rem .65rem; color: #5c4c14; border-radius: .55rem; background: #fff8dc; font-size: .67rem; }

@media (max-width: 1199.98px) {
    .operational-hero { grid-template-columns: 1fr; }
    .operational-hero__signals { max-width: 760px; }
}

@media (max-width: 767.98px) {
    .import-column-grid { grid-template-columns: 1fr; }
    .import-mapping-audit > summary { align-items: flex-start; flex-direction: column; }
    .import-workflow { grid-template-columns: 1fr 1fr; gap: .35rem; }
    .import-workflow li { padding: .55rem; }
    .import-workflow li:not(:last-child)::after { display: none; }
    .operational-hero__signals { grid-template-columns: 1fr; }
    .operational-hero__signals article { min-height: 68px; }
    .decision-review-drawer { width: 100vw; }
    .operational-review-header { align-items: flex-start; }
    .review-freshness { font-size: 0; }
    .review-freshness i { font-size: .8rem; }
    .operational-review-footer { flex-wrap: wrap; }
    .review-change-state { flex-basis: 100%; }
    .operational-review-footer .btn { width: 100%; }
    .action-plan-header, .action-editor__footer { align-items: stretch; flex-direction: column; }
    .action-plan-kpis { width: 100%; }
    .action-plan-kpis span { flex: 1; min-width: 0; }
    .action-plan-item > header { grid-template-columns: 30px minmax(0, 1fr); }
    .action-plan-item__state { grid-column: 2; justify-items: start; }
    .action-result, .action-inline-details, .action-lifecycle { margin-left: .9rem; }
    .review-action-row { grid-template-columns: 7px minmax(0, 1fr); }
    .review-action-row__deadline { grid-column: 2; justify-items: start; }
    .review-actions-summary__footer { align-items: stretch; flex-direction: column; }
    .review-actions-summary__footer .btn { width: 100%; }
    .action-completion-box { width: 100%; }
    .action-completion-box > summary { width: 100%; justify-content: center; }
    .action-completion-box > form { width: 100%; }
}

/* Atelier de qualification des imports */
.import-studio { --studio-navy: #061d42; --studio-blue: #1565c0; --studio-coral: #d95c4f; display: grid; gap: 1rem; }
.import-back-link { display: inline-flex; width: max-content; gap: .5rem; align-items: center; color: var(--sd-muted); font-size: .72rem; font-weight: 750; text-decoration: none; }
.import-back-link:hover { color: var(--sd-green); }
.import-command-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(320px, .7fr); gap: 1.2rem; min-height: 300px; padding: clamp(1.45rem, 3vw, 2.7rem); overflow: hidden; color: #fff; border-radius: 1.45rem; background:
    radial-gradient(circle at 62% 15%, rgba(32,142,231,.24), transparent 26%),
    linear-gradient(118deg, #041938 0%, #072d5d 66%, #075c58 100%); box-shadow: 0 24px 55px rgba(3,27,61,.18); }
.import-command-hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, transparent, #000); }
.import-command-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: 24%; bottom: -355px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 58px rgba(255,255,255,.025), 0 0 0 116px rgba(255,255,255,.02); }
.import-command-hero > * { position: relative; z-index: 1; }
.import-command-hero__main { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.import-command-hero__eyebrow { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.import-command-hero__eyebrow span { padding: .35rem .55rem; color: #f4d35e; border: 1px solid rgba(244,211,94,.28); border-radius: 999px; background: rgba(244,211,94,.08); font-size: .62rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.import-command-hero__eyebrow span + span { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.import-command-hero h1 { max-width: 740px; margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); font-weight: 790; line-height: .98; letter-spacing: -.055em; }
.import-command-hero__main > p { max-width: 720px; margin: 1rem 0 1.2rem; color: rgba(255,255,255,.68); font-size: .82rem; line-height: 1.65; }
.import-file-context { display: flex; flex-wrap: wrap; gap: .5rem; }
.import-file-context > * { display: inline-flex; max-width: min(360px, 100%); gap: .4rem; align-items: center; padding: .42rem .58rem; overflow: hidden; color: rgba(255,255,255,.78); border-radius: .5rem; background: rgba(255,255,255,.075); font-size: .65rem; white-space: nowrap; text-overflow: ellipsis; }
.import-file-context i { flex: 0 0 auto; color: #55d3a3; }
.import-readiness { display: grid; grid-template-columns: 46px 1fr; gap: .8rem; align-self: stretch; padding: 1.2rem; border: 1px solid rgba(255,255,255,.15); border-radius: 1.15rem; background: rgba(255,255,255,.09); backdrop-filter: blur(14px); }
.import-readiness__icon { display: grid; width: 46px; height: 46px; place-items: center; color: #ffdc65; border-radius: .9rem; background: rgba(255,220,101,.13); font-size: 1.15rem; }
.import-readiness.is-ready .import-readiness__icon, .import-readiness.is-complete .import-readiness__icon { color: #61e2ae; background: rgba(57,210,151,.13); }
.import-readiness small, .import-readiness strong, .import-readiness p { display: block; }
.import-readiness small { margin-bottom: .25rem; color: rgba(255,255,255,.55); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.import-readiness strong { color: #fff; font-size: 1.25rem; letter-spacing: -.025em; }
.import-readiness p { margin: .45rem 0 0; color: rgba(255,255,255,.64); font-size: .69rem; line-height: 1.5; }
.import-readiness__actions { grid-column: 1 / -1; align-self: end; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.12); }
.import-readiness__actions .btn { min-height: 42px; color: #07345b; border: 0; font-size: .72rem; font-weight: 800; }
.import-readiness__actions .btn:disabled { color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); opacity: 1; }
.import-workflow--studio { border-radius: 1.15rem; box-shadow: none; }
.import-signal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.import-signal-grid article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .75rem; align-items: center; min-height: 92px; padding: .9rem 1rem; border: 1px solid var(--sd-border); border-radius: .95rem; background: #fff; box-shadow: 0 7px 22px rgba(24,50,71,.035); }
.signal-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--sd-green); border-radius: .8rem; background: var(--sd-green-soft); font-size: 1rem; }
.signal-icon.is-neutral { color: var(--sd-blue); background: var(--sd-blue-soft); }
.signal-icon.is-danger { color: #b9382f; background: #feeceb; }
.signal-icon.is-warning { color: #8a6800; background: #fff3d1; }
.signal-icon.is-reference { color: #6852b7; background: #f0ecff; }
.import-signal-grid small, .import-signal-grid strong, .import-signal-grid p { display: block; }
.import-signal-grid small { color: var(--sd-muted); font-size: .62rem; font-weight: 750; }
.import-signal-grid strong { margin-top: .12rem; color: var(--sd-navy); font-size: 1.45rem; line-height: 1; letter-spacing: -.04em; }
.import-signal-grid p { margin: .2rem 0 0; color: #8793a0; font-size: .58rem; }
.import-view-nav { position: sticky; z-index: 12; top: 98px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; padding: .45rem; border: 1px solid rgba(214,225,232,.92); border-radius: 1.05rem; background: rgba(255,255,255,.94); box-shadow: 0 12px 34px rgba(17,45,69,.09); backdrop-filter: blur(12px); }
.import-view-nav button { display: grid; grid-template-columns: 36px 1fr auto; gap: .65rem; align-items: center; min-width: 0; padding: .7rem .75rem; color: var(--sd-muted); border: 0; border-radius: .75rem; background: transparent; text-align: left; }
.import-view-nav button > i { display: grid; width: 36px; height: 36px; place-items: center; color: #788896; border-radius: .65rem; background: #eef2f5; }
.import-view-nav button span, .import-view-nav button strong, .import-view-nav button small { display: block; min-width: 0; }
.import-view-nav button strong { color: var(--sd-ink); font-size: .76rem; }
.import-view-nav button small { margin-top: .12rem; overflow: hidden; font-size: .59rem; white-space: nowrap; text-overflow: ellipsis; }
.import-view-nav button b { display: grid; min-width: 26px; height: 26px; padding: 0 .38rem; place-items: center; color: #65717d; border-radius: 999px; background: #e9eef2; font-size: .62rem; }
.import-view-nav button:hover { color: var(--sd-green); background: #f5faf8; }
.import-view-nav button.active { color: #fff; background: var(--sd-navy); box-shadow: 0 8px 18px rgba(8,35,76,.18); }
.import-view-nav button.active > i { color: #f4d35e; background: rgba(255,255,255,.1); }
.import-view-nav button.active strong { color: #fff; }
.import-view-nav button.active small { color: rgba(255,255,255,.6); }
.import-view-nav button.active b { color: #fff; background: rgba(255,255,255,.14); }
.import-view-panel { display: grid; gap: 1rem; scroll-margin-top: 170px; }
.import-section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.3rem 1.4rem; border: 1px solid var(--sd-border); border-radius: 1.05rem; background: #fff; }
.import-section-heading > div { display: flex; gap: .85rem; align-items: center; }
.import-section-heading > div > span { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; border-radius: .75rem; background: var(--sd-navy); font-size: .64rem; font-weight: 850; letter-spacing: .06em; }
.import-section-heading h2, .import-section-heading p { margin: 0; }
.import-section-heading h2 { color: var(--sd-navy); font-size: 1.08rem; font-weight: 780; }
.import-section-heading p { margin-top: .2rem; color: var(--sd-muted); font-size: .68rem; }
.import-section-status { display: inline-flex; gap: .4rem; align-items: center; padding: .45rem .65rem; color: #9a3028; border-radius: 999px; background: #feeceb; font-size: .62rem; font-weight: 750; white-space: nowrap; }
.import-section-status i { width: 6px; height: 6px; border-radius: 50%; background: #d84b40; box-shadow: 0 0 0 4px rgba(216,75,64,.12); }
.import-section-status.is-neutral { color: #536578; background: #eef3f7; }
.import-section-status.is-neutral i { background: #718295; box-shadow: none; }
.import-priority-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1.05rem 1.2rem; color: #fff; border-radius: 1rem; background: linear-gradient(105deg, #0a6b4c, #0b8560); box-shadow: 0 12px 28px rgba(8,122,73,.15); }
.import-priority-banner__index { padding: .38rem .52rem; color: #053d2a; border-radius: .4rem; background: #f4d35e; font-size: .57rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.import-priority-banner strong { font-size: .86rem; }
.import-priority-banner p { margin: .2rem 0 0; color: rgba(255,255,255,.68); font-size: .66rem; }
.import-priority-banner .btn { color: #07573d; border: 0; font-size: .68rem; font-weight: 800; }
.import-all-clear { display: grid; grid-template-columns: 46px 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem; color: #0a5c40; border: 1px solid #a9d9c7; border-radius: 1rem; background: #effaf6; }
.import-all-clear > span { display: grid; width: 46px; height: 46px; place-items: center; color: #fff; border-radius: 50%; background: var(--sd-green); font-size: 1.25rem; }
.import-all-clear strong, .import-all-clear p { display: block; margin: 0; }
.import-all-clear strong { font-size: .82rem; }
.import-all-clear p { margin-top: .25rem; color: #4c7d6c; font-size: .67rem; }
.import-task-section { overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1.1rem; background: #fff; }
.import-task-section__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: .85rem; align-items: center; padding: 1.2rem 1.3rem; border-bottom: 1px solid #e8edf2; background: linear-gradient(90deg, #f8fbfd, #fff 72%); }
.task-step { display: grid; width: 44px; height: 44px; place-items: center; color: #6552ac; border-radius: .85rem; background: #f0ecff; font-size: 1rem; }
.task-step.is-done { color: var(--sd-green); background: var(--sd-green-soft); }
.task-step.is-danger { color: #b9382f; background: #feeceb; }
.task-step.is-warning { color: #8a6800; background: #fff3d1; }
.import-task-section__head p, .import-task-section__head h3, .import-task-section__head small { margin: 0; }
.import-task-section__head p { color: var(--sd-green); font-size: .58rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.import-task-section__head h3 { margin: .12rem 0; color: var(--sd-navy); font-size: .95rem; font-weight: 780; }
.import-task-section__head small { display: block; color: var(--sd-muted); font-size: .65rem; line-height: 1.45; }
.import-task-section__head > strong { color: var(--sd-muted); font-size: .67rem; white-space: nowrap; }
.reference-work-grid, .issue-family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: 1rem; }
.reference-task-card { padding: 1rem; border: 1px solid #dfe6ee; border-radius: .9rem; background: #fff; box-shadow: 0 6px 18px rgba(24,50,71,.035); }
.reference-task-card header { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding-bottom: .8rem; margin-bottom: .8rem; border-bottom: 1px solid #edf1f4; }
.reference-task-card header > span { display: grid; width: 38px; height: 38px; place-items: center; color: #6552ac; border-radius: .7rem; background: #f0ecff; }
.reference-task-card header small, .reference-task-card header strong { display: block; }
.reference-task-card header small { color: var(--sd-muted); font-size: .55rem; font-weight: 800; letter-spacing: .07em; }
.reference-task-card header strong { overflow: hidden; color: var(--sd-navy); font-size: .76rem; white-space: nowrap; text-overflow: ellipsis; }
.reference-task-card header em { padding: .3rem .42rem; color: #765c00; border-radius: 999px; background: #fff0bd; font-size: .54rem; font-style: normal; font-weight: 800; }
.reference-task-card form { display: grid; grid-template-columns: 1.1fr .9fr; gap: .65rem; align-items: end; }
.reference-task-card label { color: #46596b; font-size: .62rem; font-weight: 750; }
.reference-task-card .form-control, .reference-task-card .form-select { min-height: 39px; margin-top: .3rem; font-size: .69rem; }
.reference-task-card form .btn { grid-column: 1 / -1; min-height: 39px; font-size: .68rem; font-weight: 750; }
.import-step-complete { display: flex; gap: .7rem; align-items: center; padding: 1rem 1.3rem; color: #0b6849; background: #f5fbf8; }
.import-step-complete > i { font-size: 1.2rem; }
.import-step-complete span { flex: 1; color: #668176; font-size: .66rem; }
.import-step-complete span strong { display: block; margin-bottom: .1rem; color: #0b6849; font-size: .72rem; }
.import-step-complete button { padding: 0; color: var(--sd-green); border: 0; background: transparent; font-size: .65rem; font-weight: 800; }
.issue-family-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .9rem; color: inherit; border: 1px solid #e1e7ec; border-radius: .85rem; background: #fff; text-align: left; transition: transform .16s, box-shadow .16s, border-color .16s; }
.issue-family-card:hover { transform: translateY(-2px); border-color: #b9ccc4; box-shadow: 0 10px 22px rgba(24,50,71,.08); }
.issue-family-card > span { display: grid; width: 42px; height: 42px; place-items: center; color: #886900; border-radius: .75rem; background: #fff3d1; }
.issue-family-card.is-blocking > span { color: #b9382f; background: #feeceb; }
.issue-family-card small, .issue-family-card strong, .issue-family-card p { display: block; margin: 0; }
.issue-family-card small { color: var(--sd-muted); font-size: .56rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.issue-family-card strong { margin-top: .12rem; color: var(--sd-navy); font-size: .76rem; }
.issue-family-card p { margin-top: .24rem; color: #71808d; font-size: .62rem; line-height: 1.4; }
.issue-family-card > i { color: #8b98a3; }
.issue-toolbar { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .75rem; border: 1px solid var(--sd-border); border-radius: .95rem; background: #fff; }
.issue-status-filters { display: flex; flex-wrap: wrap; gap: .3rem; }
.issue-status-filters button, .issue-code-filters button { color: #617180; border: 0; border-radius: .55rem; background: #f1f4f6; font-size: .63rem; font-weight: 750; }
.issue-status-filters button { min-height: 35px; padding: .45rem .62rem; }
.issue-status-filters button.active, .issue-code-filters button.active { color: #fff; background: var(--sd-navy); }
.issue-search { display: flex; flex: 0 1 340px; gap: .5rem; align-items: center; min-height: 38px; padding: 0 .7rem; border: 1px solid #d8e1e8; border-radius: .65rem; background: #fff; }
.issue-search i { color: #82909b; }
.issue-search input { width: 100%; min-width: 0; border: 0; outline: 0; font-size: .68rem; }
.issue-code-filters { display: flex; gap: .4rem; overflow-x: auto; padding: .15rem 0 .25rem; scrollbar-width: thin; }
.issue-code-filters button { display: inline-flex; flex: 0 0 auto; gap: .4rem; align-items: center; min-height: 34px; padding: .4rem .58rem; }
.issue-code-filters button span { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 50%; background: rgba(0,0,0,.07); font-size: .55rem; }
.issue-code-filters button.active span { background: rgba(255,255,255,.14); }
.issue-work-list { display: grid; gap: .65rem; }
.issue-work-card { display: grid; grid-template-columns: 122px minmax(0, 1fr) minmax(170px, auto); gap: 1rem; align-items: start; padding: 1rem; border: 1px solid var(--sd-border); border-left: 4px solid #e0b51d; border-radius: .95rem; background: #fff; box-shadow: 0 5px 18px rgba(24,50,71,.03); }
.issue-work-card.is-blocking { border-left-color: #d65349; }
.issue-work-card__identity { padding-right: .8rem; border-right: 1px solid #edf0f3; }
.issue-work-card__identity span, .issue-work-card__identity strong, .issue-work-card__identity small { display: block; }
.issue-work-card__identity span { color: var(--sd-muted); font-size: .57rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.issue-work-card__identity strong { margin: .3rem 0; overflow-wrap: anywhere; color: var(--sd-navy); font-size: .72rem; }
.issue-work-card__identity small { color: #82909c; font-size: .61rem; }
.issue-work-card__badges { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .55rem; }
.issue-severity, .issue-state { display: inline-flex; gap: .35rem; align-items: center; padding: .28rem .45rem; border-radius: 999px; font-size: .54rem; font-weight: 800; }
.issue-severity { color: #7a5d00; background: #fff3d1; }
.issue-severity.is-blocking { color: #a73129; background: #feeceb; }
.issue-severity i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.issue-state { color: #755c08; border: 1px solid #eadb9f; background: #fff; }
.issue-state.is-done { color: #08734b; border-color: #b9dccf; }
.issue-work-card__body h3 { margin: 0; color: var(--sd-navy); font-size: .86rem; font-weight: 780; }
.issue-directive { margin: .3rem 0 .55rem; color: #34495d; font-size: .72rem; line-height: 1.45; }
.issue-explanation { display: flex; gap: .45rem; align-items: flex-start; padding: .55rem .65rem; color: #637485; border-radius: .6rem; background: #f3f6f8; font-size: .63rem; line-height: 1.45; }
.issue-explanation i { color: var(--sd-blue); }
.issue-resolution-note { display: flex; flex-wrap: wrap; gap: .35rem .55rem; align-items: center; margin-top: .55rem; padding: .55rem .65rem; color: #4f7666; border-radius: .6rem; background: #edf8f3; font-size: .61rem; }
.issue-resolution-note strong { color: #0c6244; }
.issue-resolution-note code { color: #075cbd; }
.issue-work-card__action { min-width: 170px; }
.issue-resolution { width: 100%; }
.issue-resolution > summary { display: flex; justify-content: center; gap: .5rem; align-items: center; min-height: 36px; padding: .4rem .65rem; color: var(--sd-green-dark); border: 1px solid #b9d7cc; border-radius: .6rem; cursor: pointer; list-style: none; font-size: .65rem; font-weight: 800; }
.issue-resolution > summary::-webkit-details-marker { display: none; }
.issue-resolution[open] > summary { color: #fff; border-color: var(--sd-green); background: var(--sd-green); }
.issue-resolution[open] > summary i { transform: rotate(180deg); }
.issue-resolution form { display: grid; gap: .55rem; min-width: 260px; padding-top: .7rem; }
.issue-resolution label { color: #4c5e6d; font-size: .6rem; font-weight: 750; }
.issue-resolution .form-control, .issue-resolution .form-select { margin-top: .25rem; font-size: .65rem; }
.issue-resolution textarea { resize: vertical; }
.issue-locked { display: flex; gap: .4rem; align-items: center; justify-content: center; min-height: 36px; color: #8a969f; border-radius: .55rem; background: #f2f4f6; font-size: .6rem; }
.issue-empty { display: grid; min-height: 210px; place-items: center; align-content: center; gap: .4rem; color: var(--sd-muted); border: 1px dashed #cdd8e0; border-radius: 1rem; background: #f8fafb; text-align: center; }
.issue-empty i { font-size: 1.4rem; }
.issue-empty strong { color: var(--sd-navy); font-size: .78rem; }
.issue-empty span { font-size: .64rem; }
.issue-pagination { display: flex; justify-content: center; gap: .3rem; flex-wrap: wrap; }
.issue-pagination > span { display: inline-flex; min-width: 110px; align-items: center; justify-content: center; color: var(--sd-muted); font-size: .62rem; font-weight: 750; }
.issue-pagination button { min-width: 34px; height: 34px; padding: 0 .45rem; color: #596a79; border: 1px solid var(--sd-border); border-radius: .55rem; background: #fff; font-size: .62rem; font-weight: 750; }
.issue-pagination button.active { color: #fff; border-color: var(--sd-navy); background: var(--sd-navy); }
.import-audit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.import-audit-card { overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; }
.import-audit-card > header { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: 1rem; border-bottom: 1px solid #e8edf2; background: #f8fafb; }
.import-audit-card > header > span { display: grid; width: 40px; height: 40px; place-items: center; color: var(--sd-blue); border-radius: .7rem; background: var(--sd-blue-soft); }
.import-audit-card h3, .import-audit-card p { margin: 0; }
.import-audit-card h3 { color: var(--sd-navy); font-size: .82rem; font-weight: 780; }
.import-audit-card header p { margin-top: .15rem; color: var(--sd-muted); font-size: .6rem; }
.import-audit-card header em { color: var(--sd-muted); font-size: .58rem; font-style: normal; font-weight: 750; }
.column-audit-list, .reference-audit-list { max-height: 430px; overflow-y: auto; scrollbar-width: thin; }
.column-audit-list > div { display: grid; grid-template-columns: 1fr 24px 1fr; gap: .5rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid #edf1f4; font-size: .64rem; }
.column-audit-list span { color: var(--sd-muted); }
.column-audit-list i { color: #a0abb4; text-align: center; }
.column-audit-list strong { color: var(--sd-ink); }
.import-audit-card > footer { display: flex; gap: .45rem; align-items: center; padding: .7rem 1rem; color: var(--sd-muted); background: #f8fafb; font-size: .61rem; }
.import-audit-card > footer i { color: var(--sd-green); }
.reference-audit-list > div { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .65rem 1rem; border-bottom: 1px solid #edf1f4; }
.reference-audit-type { color: #5d6f80; font-size: .53rem; font-weight: 850; letter-spacing: .05em; }
.reference-audit-list strong, .reference-audit-list small { display: block; }
.reference-audit-list strong { color: var(--sd-navy); font-size: .66rem; }
.reference-audit-list small { margin-top: .15rem; color: var(--sd-muted); font-size: .59rem; }
.reference-audit-list em { padding: .25rem .35rem; color: #7a6160; border-radius: 999px; background: #f1f3f5; font-size: .5rem; font-style: normal; font-weight: 800; }
.reference-audit-list em.is-validated { color: #08704a; background: #e7f6ef; }
.reference-audit-list em.is-provisional { color: #7a5d00; background: #fff3d1; }
.import-audit-card--governance { grid-column: 1 / -1; }
.import-audit-card--governance ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 1rem; list-style: none; }
.import-audit-card--governance li { display: flex; gap: .55rem; align-items: flex-start; padding: .75rem; border-radius: .7rem; background: #f5faf8; }
.import-audit-card--governance li > i { color: var(--sd-green); }
.import-audit-card--governance li strong, .import-audit-card--governance li span { display: block; }
.import-audit-card--governance li strong { margin-bottom: .2rem; color: var(--sd-green-dark); font-size: .64rem; }
.import-audit-card--governance li span { color: #678074; font-size: .59rem; line-height: 1.45; }
.import-audit-empty { padding: 1.5rem; color: var(--sd-muted); font-size: .66rem; }

@media (max-width: 1199.98px) {
    .import-command-hero { grid-template-columns: 1fr; }
    .import-readiness { max-width: 680px; }
    .import-view-nav { top: 91px; }
    .issue-work-card { grid-template-columns: 105px minmax(0, 1fr); }
    .issue-work-card__action { grid-column: 2; min-width: 0; }
}

@media (max-width: 991.98px) {
    .import-signal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .import-view-nav button { grid-template-columns: 32px 1fr auto; }
    .import-view-nav button > i { width: 32px; height: 32px; }
    .reference-work-grid, .issue-family-grid { grid-template-columns: 1fr; }
    .import-audit-card--governance ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .import-command-hero { min-height: 0; padding: 1.35rem; border-radius: 1.05rem; }
    .import-command-hero h1 { font-size: 2.1rem; }
    .import-readiness { grid-template-columns: 40px 1fr; padding: 1rem; }
    .import-readiness__icon { width: 40px; height: 40px; }
    .import-view-nav { position: static; grid-template-columns: 1fr; }
    .import-view-nav button small { white-space: normal; }
    .import-section-heading, .issue-toolbar { align-items: flex-start; flex-direction: column; }
    .import-priority-banner { grid-template-columns: 1fr; }
    .import-priority-banner__index { width: max-content; }
    .import-task-section__head { grid-template-columns: 40px minmax(0, 1fr); }
    .import-task-section__head > strong { grid-column: 2; }
    .reference-task-card form { grid-template-columns: 1fr; }
    .reference-task-card form .btn { grid-column: auto; }
    .issue-search { width: 100%; flex-basis: auto; }
    .issue-work-card { grid-template-columns: 1fr; }
    .issue-work-card__identity { padding: 0 0 .6rem; border-right: 0; border-bottom: 1px solid #edf0f3; }
    .issue-work-card__action { grid-column: auto; }
    .issue-resolution form { min-width: 0; }
    .import-audit-grid { grid-template-columns: 1fr; }
    .import-audit-card--governance { grid-column: auto; }
    .import-audit-card--governance ul { grid-template-columns: 1fr; }
}

@media (max-width: 479.98px) {
    .import-signal-grid { grid-template-columns: 1fr; }
    .import-file-context { display: grid; }
    .import-all-clear { grid-template-columns: 40px 1fr; }
    .import-all-clear > .btn { grid-column: 1 / -1; }
    .reference-audit-list > div { grid-template-columns: 70px minmax(0, 1fr); }
    .reference-audit-list em { grid-column: 2; width: max-content; }
}

/* Accueil éditorial */
.home-command { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); gap: 1.25rem; min-height: 330px; margin-bottom: 1rem; padding: clamp(1.8rem, 4vw, 3.6rem); overflow: hidden; color: #fff; border-radius: 1.5rem; background-image: linear-gradient(96deg, rgba(3,24,61,.98) 0%, rgba(4,40,93,.91) 46%, rgba(2,36,80,.36) 75%, rgba(3,24,61,.2)), url("../img/mtn-banner-clean.png"); background-position: center 50%; background-size: cover; box-shadow: 0 22px 55px rgba(3,24,61,.18); isolation: isolate; }
.home-command::before { content: ""; position: absolute; z-index: -1; width: 440px; height: 440px; left: -315px; bottom: -300px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 58px rgba(255,255,255,.025), 0 0 0 116px rgba(255,255,255,.018); }
.home-command::after { content: ""; position: absolute; z-index: 2; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, #0aa05d 0 53%, #f1c927 53% 71%, #d94a42 71% 78%, #1687dc 78%); }
.home-command > * { position: relative; z-index: 1; }
.home-command > .home-command__ministry-lockup { position: absolute; z-index: 3; top: 1.35rem; right: 1.55rem; display: grid; width: clamp(176px, 12vw, 218px); place-items: center; padding: 0; border: 0; background: transparent; filter: drop-shadow(0 8px 18px rgba(0, 12, 36, .34)); }
.home-command__ministry-lockup img { display: block; width: 100%; height: auto; object-fit: contain; }
.home-command__ministry-monogram { color: #14171c; font-size: 2.4rem; font-weight: 850; letter-spacing: -.06em; }
.home-command__copy { display: flex; flex-direction: column; justify-content: center; max-width: 760px; }
.home-command__context { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .85rem; }
.home-command__context span { display: inline-flex; gap: .4rem; align-items: center; padding: .32rem .5rem; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(255,255,255,.055); font-size: .58rem; font-weight: 750; }
.home-command__context span:first-child { color: #f4d35e; border-color: rgba(244,211,94,.25); }
.home-command__context span:first-child i { width: 5px; height: 5px; border-radius: 50%; background: #f4d35e; box-shadow: 0 0 0 4px rgba(244,211,94,.12); }
.home-command__welcome { margin: 0 0 .2rem; color: rgba(255,255,255,.62); font-size: .72rem; font-weight: 700; }
.home-command__welcome strong { color: rgba(255,255,255,.94); font-weight: 800; }
.home-command h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(2.25rem, 4.5vw, 4.1rem); font-weight: 800; line-height: .98; letter-spacing: -.06em; text-shadow: 0 4px 22px rgba(0,16,43,.28); }
.home-command__copy > p:not(.home-command__welcome) { max-width: 650px; margin: 1rem 0 1.25rem; color: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.65; }
.home-command__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.home-command__actions .btn { min-height: 42px; padding-inline: .9rem; font-size: .69rem; font-weight: 780; }
.home-command__actions .btn-light { color: #063768; border: 0; }
.home-command__actions .btn-outline-light { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.home-command__brief { align-self: end; display: grid; grid-template-columns: 44px 1fr; gap: .75rem; padding: 1.05rem; border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; background: rgba(4,31,70,.68); backdrop-filter: blur(12px); }
.home-command__brief-icon { display: grid; width: 44px; height: 44px; place-items: center; color: #f4d35e; border-radius: .8rem; background: rgba(244,211,94,.12); }
.home-command__brief small, .home-command__brief strong, .home-command__brief p { display: block; }
.home-command__brief small { color: rgba(255,255,255,.5); font-size: .55rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.home-command__brief strong { margin-top: .16rem; color: #fff; font-size: .82rem; }
.home-command__brief p { margin: .35rem 0 0; color: rgba(255,255,255,.58); font-size: .62rem; line-height: 1.5; }
.home-command__brief > a { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding-top: .65rem; color: #fff; border-top: 1px solid rgba(255,255,255,.12); font-size: .62rem; font-weight: 750; text-decoration: none; }
.home-command__brief > a i { color: #5ed6a8; }
.home-pulse { overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1.2rem; background: #fff; box-shadow: 0 9px 28px rgba(24,50,71,.05); }
.home-pulse > header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid #e9edf1; background: linear-gradient(90deg, #f7fafc, #fff); }
.home-pulse > header span { color: var(--sd-green); font-size: .57rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.home-pulse > header h2 { margin: .1rem 0 0; color: var(--sd-navy); font-size: .95rem; font-weight: 780; }
.home-pulse > header p { margin: 0; color: var(--sd-muted); font-size: .61rem; }
.home-pulse > header p i { color: var(--sd-green); }
.home-pulse__body { display: grid; grid-template-columns: minmax(360px, 1.15fr) minmax(260px, .7fr) minmax(260px, .65fr); gap: 0; }
.home-execution { display: grid; grid-template-columns: 132px 1fr; gap: 1.1rem; align-items: center; min-height: 190px; padding: 1.3rem; border-right: 1px solid #edf0f3; }
.home-execution__dial { display: grid; width: 122px; height: 122px; place-items: center; border-radius: 50%; background: conic-gradient(var(--sd-green) calc(var(--home-score) * 1%), #e8eef1 0); box-shadow: inset 0 0 0 1px rgba(8,122,73,.05); }
.home-execution__dial::before { content: ""; grid-area: 1 / 1; width: 94px; height: 94px; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(24,50,71,.08); }
.home-execution__dial > span { z-index: 1; grid-area: 1 / 1; text-align: center; }
.home-execution__dial strong, .home-execution__dial small { display: block; }
.home-execution__dial strong { color: var(--sd-navy); font-size: 1.5rem; letter-spacing: -.05em; }
.home-execution__dial small { color: var(--sd-muted); font-size: .55rem; font-weight: 750; text-transform: uppercase; }
.home-execution > div:last-child > small { color: var(--sd-green); font-size: .56rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.home-execution h3 { margin: .15rem 0 .35rem; color: var(--sd-navy); font-size: .93rem; font-weight: 780; }
.home-execution p { margin: 0; color: var(--sd-muted); font-size: .63rem; line-height: 1.5; }
.home-execution a { display: inline-flex; gap: .45rem; align-items: center; margin-top: .6rem; color: var(--sd-green); font-size: .62rem; font-weight: 800; text-decoration: none; }
.home-pulse__signals { display: grid; grid-template-rows: repeat(2, 1fr); }
.home-pulse__signals article { display: grid; grid-template-columns: 40px 1fr; gap: .7rem; align-items: center; padding: .9rem 1rem; border-bottom: 1px solid #edf0f3; }
.home-pulse__signals article:last-child { border-bottom: 0; }
.home-pulse__signals article > span { display: grid; width: 40px; height: 40px; place-items: center; color: var(--sd-green); border-radius: .7rem; background: var(--sd-green-soft); }
.home-pulse__signals article > span.is-blue { color: var(--sd-blue); background: var(--sd-blue-soft); }
.home-pulse__signals article.is-risk > span { color: #b53a31; background: #feeceb; }
.home-pulse__signals small, .home-pulse__signals strong, .home-pulse__signals p { display: block; margin: 0; }
.home-pulse__signals small { color: var(--sd-muted); font-size: .56rem; font-weight: 750; }
.home-pulse__signals strong { color: var(--sd-navy); font-size: 1.35rem; line-height: 1.1; }
.home-pulse__signals p { margin-top: .1rem; color: #85919c; font-size: .56rem; }
.home-pulse__action { display: grid; grid-template-columns: 40px 1fr auto; gap: .7rem; align-content: center; align-items: center; min-height: 190px; padding: 1.15rem; color: inherit; border-left: 1px solid #edf0f3; background: #f8fafb; text-decoration: none; }
.home-pulse__action:hover { color: inherit; background: #f2f7f5; }
.home-pulse__action > span { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; border-radius: .75rem; background: var(--sd-green); }
.home-pulse__action.is-risk > span { background: #c5483e; }
.home-pulse__action small, .home-pulse__action strong, .home-pulse__action p { display: block; }
.home-pulse__action small { color: #a33a32; font-size: .55rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.home-pulse__action.is-good small { color: var(--sd-green); }
.home-pulse__action strong { margin-top: .15rem; color: var(--sd-navy); font-size: .73rem; line-height: 1.4; }
.home-pulse__action p { margin: .3rem 0 0; color: var(--sd-muted); font-size: .59rem; line-height: 1.45; }
.home-pulse__action > i { color: #8a98a3; }
.home-routes { margin-top: 2.2rem; }
.home-section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: .85rem; }
.home-section-heading span, .home-section-heading h2, .home-section-heading p { margin: 0; }
.home-section-heading span { color: var(--sd-green); font-size: .56rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.home-section-heading h2 { margin-top: .15rem; color: var(--sd-navy); font-size: 1.15rem; font-weight: 800; }
.home-section-heading p { max-width: 480px; color: var(--sd-muted); font-size: .66rem; text-align: right; }
.home-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.home-route-card { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto 1fr auto; gap: .7rem .9rem; min-height: 218px; padding: 1.15rem; overflow: hidden; color: inherit; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.home-route-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--route-color, var(--sd-green)); }
.home-route-card:hover { transform: translateY(-3px); color: inherit; box-shadow: 0 15px 32px rgba(24,50,71,.09); }
.home-route-card.is-strategic { --route-color: #087a49; --route-soft: #e8f5ef; }
.home-route-card.is-tactical { --route-color: #c69907; --route-soft: #fff5d5; }
.home-route-card.is-operational { --route-color: #176ac1; --route-soft: #e9f2ff; }
.home-route-card__number { position: absolute; right: .95rem; top: .85rem; color: #e4e9ed; font-size: 2.2rem; font-weight: 900; letter-spacing: -.08em; }
.home-route-card__icon { display: grid; width: 48px; height: 48px; place-items: center; color: var(--route-color); border-radius: .85rem; background: var(--route-soft); font-size: 1.15rem; }
.home-route-card__copy { grid-column: 1 / -1; align-self: end; }
.home-route-card__copy small, .home-route-card__copy strong, .home-route-card__copy span { display: block; }
.home-route-card__copy small { color: var(--route-color); font-size: .56rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.home-route-card__copy strong { margin: .18rem 0 .3rem; color: var(--sd-navy); font-size: 1rem; }
.home-route-card__copy span { color: var(--sd-muted); font-size: .65rem; line-height: 1.45; }
.home-route-card__link { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: .65rem; color: var(--route-color); border-top: 1px solid #edf0f2; font-size: .61rem; font-weight: 800; }
.home-shortcuts { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 1.65fr); gap: 1rem; align-items: center; margin-top: .8rem; padding: 1rem; border: 1px solid var(--sd-border); border-radius: 1rem; background: #fff; }
.home-shortcuts header span { color: var(--sd-green); font-size: .54rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.home-shortcuts header h2 { margin: .15rem 0 0; color: var(--sd-navy); font-size: .86rem; }
.home-shortcuts > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.home-shortcuts a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: .55rem; align-items: center; padding: .7rem; color: inherit; border-radius: .7rem; background: #f6f8f9; text-decoration: none; }
.home-shortcuts a:hover { color: inherit; background: #eef6f2; }
.home-shortcuts a > i:first-child { display: grid; width: 34px; height: 34px; place-items: center; color: var(--sd-green); border-radius: .6rem; background: #fff; }
.home-shortcuts a strong, .home-shortcuts a small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.home-shortcuts a strong { color: var(--sd-navy); font-size: .64rem; }
.home-shortcuts a small { margin-top: .12rem; color: var(--sd-muted); font-size: .54rem; }
.home-shortcuts a > i:last-child { color: #94a0a9; font-size: .7rem; }

/* Landing de reprises et intégrations */
.import-landing { display: grid; gap: 1rem; }
.import-landing-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); gap: 1.2rem; min-height: 265px; padding: clamp(1.6rem, 3.5vw, 3rem); overflow: hidden; color: #fff; border-radius: 1.4rem; background: radial-gradient(circle at 68% 18%, rgba(29,134,220,.25), transparent 25%), linear-gradient(118deg, #041938, #073463 67%, #086149); box-shadow: 0 20px 48px rgba(4,28,61,.16); }
.import-landing-hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent 30%, #000); }
.import-landing-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, #0aa05d 0 64%, #f1c927 64% 82%, #d94a42 82%); }
.import-landing-hero > * { position: relative; z-index: 1; }
.import-landing-hero__copy { display: flex; flex-direction: column; justify-content: center; }
.import-landing-hero__eyebrow { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .8rem; }
.import-landing-hero__eyebrow span { display: inline-flex; gap: .4rem; align-items: center; padding: .32rem .48rem; color: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: .56rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.import-landing-hero__eyebrow span:first-child { color: #f4d35e; border-color: rgba(244,211,94,.25); background: rgba(244,211,94,.07); }
.import-landing-hero__eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: #f4d35e; }
.import-landing-hero h1 { max-width: 710px; margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 800; line-height: .98; letter-spacing: -.06em; }
.import-landing-hero__copy > p { max-width: 710px; margin: .9rem 0 1rem; color: rgba(255,255,255,.69); font-size: .79rem; line-height: 1.65; }
.import-landing-hero__proofs { display: flex; flex-wrap: wrap; gap: .75rem; }
.import-landing-hero__proofs span { display: inline-flex; gap: .4rem; align-items: center; color: rgba(255,255,255,.66); font-size: .6rem; }
.import-landing-hero__proofs i { color: #57d5a5; }
.import-landing-hero__aside { align-self: stretch; display: grid; grid-template-columns: 44px 1fr; gap: .75rem; align-content: center; padding: 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; background: rgba(255,255,255,.085); backdrop-filter: blur(12px); }
.import-landing-hero__icon { display: grid; width: 44px; height: 44px; place-items: center; color: #f4d35e; border-radius: .8rem; background: rgba(244,211,94,.12); }
.import-landing-hero__aside small, .import-landing-hero__aside strong, .import-landing-hero__aside p { display: block; }
.import-landing-hero__aside small { color: rgba(255,255,255,.5); font-size: .54rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.import-landing-hero__aside strong { margin-top: .12rem; color: #fff; font-size: 1.25rem; }
.import-landing-hero__aside p { margin: .3rem 0 0; color: rgba(255,255,255,.58); font-size: .61rem; line-height: 1.5; }
.import-format-badge { grid-column: 1 / -1; display: inline-flex; gap: .45rem; align-items: center; width: max-content; padding: .4rem .55rem; color: rgba(255,255,255,.75); border-radius: .5rem; background: rgba(255,255,255,.08); font-size: .58rem; font-weight: 750; }
.import-format-badge i { color: #57d5a5; }
.import-landing-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); gap: 1rem; align-items: stretch; }
.import-upload-card, .import-circuit-card, .import-history { overflow: hidden; border: 1px solid var(--sd-border); border-radius: 1.1rem; background: #fff; box-shadow: 0 8px 26px rgba(24,50,71,.045); }
.import-upload-card { display: flex; flex-direction: column; min-width: 0; }
.import-upload-card__header { display: grid; grid-template-columns: 42px 1fr auto; gap: .75rem; align-items: center; padding: 1rem 1.15rem; border-bottom: 1px solid #e9edf1; background: linear-gradient(90deg, #f7fbf9, #fff 72%); }
.import-upload-card__header > span { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; border-radius: .75rem; background: var(--sd-green); font-size: .6rem; font-weight: 850; letter-spacing: .06em; }
.import-upload-card__header p, .import-upload-card__header h2, .import-upload-card__header small { margin: 0; }
.import-upload-card__header p { color: var(--sd-green); font-size: .54rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.import-upload-card__header h2 { margin: .1rem 0; color: var(--sd-navy); font-size: .93rem; font-weight: 780; }
.import-upload-card__header small { display: block; color: var(--sd-muted); font-size: .59rem; }
.import-upload-card__header > i { color: #cbd4db; font-size: 1.4rem; }
.import-upload-card__body { flex: 1; padding: 1.15rem; }
.import-scope-field { display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(250px, .75fr); gap: .65rem; align-items: center; margin-bottom: .8rem; padding: .75rem; border: 1px solid #e0e7ec; border-radius: .8rem; background: #f8fafb; }
.import-field-icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--sd-blue); border-radius: .65rem; background: var(--sd-blue-soft); }
.import-scope-field strong, .import-scope-field small { display: block; }
.import-scope-field strong { color: var(--sd-navy); font-size: .66rem; }
.import-scope-field small { margin-top: .12rem; color: var(--sd-muted); font-size: .56rem; }
.import-scope-field .form-select { font-size: .67rem; }
.import-dropzone { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: .85rem; align-items: center; min-height: 145px; padding: 1.15rem; cursor: pointer; border: 1.5px dashed #aebfca; border-radius: .95rem; background: linear-gradient(145deg, #f8fbfc, #fff); transition: border-color .18s, background .18s, transform .18s; }
.import-dropzone:hover, .import-dropzone.is-dragging { transform: translateY(-1px); border-color: var(--sd-green); background: #f3faf7; }
.import-dropzone.has-file { border-style: solid; border-color: #8bc7b0; background: #f2faf6; }
.import-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.import-dropzone__icon { display: grid; width: 52px; height: 52px; place-items: center; color: var(--sd-green); border-radius: .9rem; background: var(--sd-green-soft); font-size: 1.25rem; }
.import-dropzone.has-file .import-dropzone__icon { color: #fff; background: var(--sd-green); }
.import-dropzone__copy strong, .import-dropzone__copy small { display: block; }
.import-dropzone__copy strong { overflow: hidden; color: var(--sd-navy); font-size: .77rem; white-space: nowrap; text-overflow: ellipsis; }
.import-dropzone__copy small { margin-top: .25rem; color: var(--sd-muted); font-size: .61rem; }
.import-dropzone__action { padding: .55rem .7rem; color: var(--sd-green-dark); border: 1px solid #bad9cd; border-radius: .6rem; background: #fff; font-size: .61rem; font-weight: 800; white-space: nowrap; }
.import-dropzone__formats { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: .35rem; }
.import-dropzone__formats b { padding: .25rem .38rem; color: #6b7b88; border-radius: .35rem; background: #edf2f4; font-size: .5rem; letter-spacing: .04em; }
.import-column-mapping--landing { margin-bottom: 0; border-color: #dbe6ec; }
.import-column-mapping--landing .import-column-mapping__head h3 { margin: 0; color: var(--sd-navy); font-size: .84rem; }
.import-column-mapping--landing .import-column-mapping__head > span { padding: .3rem .45rem; color: var(--sd-muted); border-radius: .4rem; background: #edf2f4; font-size: .55rem; font-weight: 750; }
.import-column-mapping--landing > p { color: var(--sd-muted); font-size: .61rem; }
.import-upload-card__footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 1.15rem; border-top: 1px solid #e8edf1; background: #f8fafb; }
.import-upload-card__footer > span { display: flex; gap: .4rem; align-items: center; color: var(--sd-muted); font-size: .57rem; }
.import-upload-card__footer > span i { color: var(--sd-green); }
.import-upload-card__footer .btn { min-height: 39px; font-size: .65rem; font-weight: 780; }
.import-circuit-card { display: flex; flex-direction: column; }
.import-circuit-card > header { display: grid; grid-template-columns: 40px 1fr; gap: .65rem; align-items: center; padding: 1rem; border-bottom: 1px solid #e9edf1; background: #f8fafb; }
.import-circuit-card > header > span { display: grid; width: 40px; height: 40px; place-items: center; color: #7b63bd; border-radius: .7rem; background: #f0ecff; }
.import-circuit-card header p, .import-circuit-card header h2 { margin: 0; }
.import-circuit-card header p { color: #7b63bd; font-size: .52rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.import-circuit-card header h2 { margin-top: .1rem; color: var(--sd-navy); font-size: .84rem; }
.import-circuit-card ol { flex: 1; margin: 0; padding: 1rem; list-style: none; }
.import-circuit-card li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: .65rem; padding-bottom: .9rem; }
.import-circuit-card li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 1px; background: #dbe4e9; }
.import-circuit-card li > span { z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; color: var(--sd-green); border: 1px solid #bcdccf; border-radius: 50%; background: #fff; font-size: .58rem; font-weight: 850; }
.import-circuit-card li strong, .import-circuit-card li p { display: block; margin: 0; }
.import-circuit-card li strong { color: var(--sd-navy); font-size: .68rem; }
.import-circuit-card li p { margin-top: .16rem; color: var(--sd-muted); font-size: .58rem; line-height: 1.45; }
.import-circuit-card__safety { display: flex; gap: .55rem; align-items: flex-start; margin: 0 .8rem .8rem; padding: .7rem; color: #536b61; border-radius: .7rem; background: #eef8f3; }
.import-circuit-card__safety > i { color: var(--sd-green); }
.import-circuit-card__safety strong, .import-circuit-card__safety span { display: block; }
.import-circuit-card__safety strong { margin-bottom: .12rem; color: var(--sd-green-dark); font-size: .61rem; }
.import-circuit-card__safety span { font-size: .56rem; line-height: 1.4; }
.import-history__header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.15rem; border-bottom: 1px solid #e9edf1; background: linear-gradient(90deg, #f7fafc, #fff); }
.import-history__header span, .import-history__header h2, .import-history__header p { margin: 0; }
.import-history__header span { color: var(--sd-green); font-size: .54rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.import-history__header h2 { margin-top: .1rem; color: var(--sd-navy); font-size: .94rem; font-weight: 780; }
.import-history__header p { margin-top: .18rem; color: var(--sd-muted); font-size: .59rem; }
.import-history__header > strong { display: grid; min-width: 62px; height: 32px; padding: 0 .6rem; place-items: center; color: #526372; border-radius: 999px; background: #edf2f4; font-size: .58rem; }
.import-history__list { padding: .65rem; }
.import-lot-row { display: grid; grid-template-columns: minmax(280px, 1.4fr) 130px minmax(260px, .7fr) 105px; gap: .8rem; align-items: center; padding: .75rem; border: 1px solid transparent; border-radius: .8rem; }
.import-lot-row + .import-lot-row { border-top-color: #edf0f3; border-top-left-radius: 0; border-top-right-radius: 0; }
.import-lot-row:hover { border-color: #dbe5e1; background: #f7fbf9; }
.import-lot-row__identity { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .65rem; align-items: center; min-width: 0; }
.import-lot-row__identity > span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--sd-blue); border-radius: .7rem; background: var(--sd-blue-soft); font-size: .64rem; font-weight: 850; }
.import-lot-row__identity strong, .import-lot-row__identity small { display: block; min-width: 0; }
.import-lot-row__identity strong { overflow: hidden; color: var(--sd-navy); font-size: .68rem; white-space: nowrap; text-overflow: ellipsis; }
.import-lot-row__identity small { margin-top: .2rem; overflow: hidden; color: var(--sd-muted); font-size: .55rem; white-space: nowrap; text-overflow: ellipsis; }
.import-lot-row__identity small i { margin-right: .28rem; color: var(--sd-green); }
.import-lot-row__status > span { display: inline-flex; gap: .35rem; align-items: center; padding: .32rem .45rem; color: #765c00; border-radius: 999px; background: #fff3d1; font-size: .53rem; font-weight: 800; white-space: nowrap; }
.import-lot-row__status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.import-lot-row__status .is-valide { color: #075cbd; background: #e9f2ff; }
.import-lot-row__status .is-importe { color: #08704a; background: #e7f6ef; }
.import-lot-row__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #e5eaee; border-radius: .65rem; }
.import-lot-row__metrics > span { padding: .45rem .55rem; text-align: center; border-right: 1px solid #e5eaee; }
.import-lot-row__metrics > span:last-child { border-right: 0; }
.import-lot-row__metrics small, .import-lot-row__metrics strong { display: block; }
.import-lot-row__metrics small { color: var(--sd-muted); font-size: .49rem; font-weight: 750; text-transform: uppercase; }
.import-lot-row__metrics strong { margin-top: .1rem; color: var(--sd-navy); font-size: .72rem; }
.import-lot-row__metrics .has-risk strong { color: #b43a31; }
.import-lot-row__metrics .has-warning strong { color: #8a6800; }
.import-lot-row__action { display: flex; justify-content: space-between; gap: .45rem; align-items: center; min-height: 36px; padding: .45rem .6rem; color: var(--sd-green-dark); border: 1px solid #bad9cd; border-radius: .6rem; background: #fff; font-size: .58rem; font-weight: 800; text-decoration: none; }
.import-lot-row__action:hover { color: #fff; border-color: var(--sd-green); background: var(--sd-green); }
.import-history__empty { display: grid; min-height: 170px; place-items: center; align-content: center; gap: .3rem; color: var(--sd-muted); text-align: center; }
.import-history__empty i { font-size: 1.35rem; }
.import-history__empty strong { color: var(--sd-navy); font-size: .75rem; }
.import-history__empty span { font-size: .6rem; }

@media (max-width: 1199.98px) {
    .home-command, .import-landing-hero, .import-landing-grid { grid-template-columns: 1fr; }
    .home-command__ministry-lockup { display: none !important; }
    .home-command__brief, .import-landing-hero__aside { max-width: 680px; }
    .home-pulse__body { grid-template-columns: 1fr 1fr; }
    .home-execution { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #edf0f3; }
    .import-lot-row { grid-template-columns: minmax(260px, 1fr) 120px minmax(240px, .7fr) 100px; }
}

@media (max-width: 991.98px) {
    .home-route-grid { grid-template-columns: 1fr; }
    .home-route-card { min-height: 180px; }
    .home-shortcuts { grid-template-columns: 1fr; }
    .import-lot-row { grid-template-columns: 1fr auto; }
    .import-lot-row__metrics { grid-column: 1; }
    .import-lot-row__action { grid-column: 2; grid-row: 1 / 3; align-self: stretch; }
}

@media (max-width: 767.98px) {
    .home-command, .import-landing-hero { min-height: 0; padding: 1.35rem; border-radius: 1.05rem; }
    .home-command h1, .import-landing-hero h1 { font-size: 2.25rem; }
    .home-pulse > header, .home-section-heading, .import-upload-card__footer { align-items: flex-start; flex-direction: column; }
    .home-pulse__body { grid-template-columns: 1fr; }
    .home-execution { grid-column: auto; grid-template-columns: 105px 1fr; }
    .home-execution__dial { width: 100px; height: 100px; }
    .home-execution__dial::before { width: 76px; height: 76px; }
    .home-pulse__action { min-height: 150px; border-top: 1px solid #edf0f3; border-left: 0; }
    .home-section-heading p { text-align: left; }
    .home-shortcuts > div { grid-template-columns: 1fr; }
    .import-scope-field { grid-template-columns: 38px 1fr; }
    .import-scope-field .form-select { grid-column: 1 / -1; }
    .import-dropzone { grid-template-columns: 46px 1fr; }
    .import-dropzone__icon { width: 46px; height: 46px; }
    .import-dropzone__action { grid-column: 1 / -1; text-align: center; }
    .import-dropzone__formats { grid-column: 1 / -1; }
    .import-upload-card__footer .btn { width: 100%; }
    .import-lot-row { grid-template-columns: 1fr; }
    .import-lot-row__status, .import-lot-row__metrics, .import-lot-row__action { grid-column: auto; grid-row: auto; }
}

@media (max-width: 479.98px) {
    .home-command__actions .btn { width: 100%; }
    .home-execution { grid-template-columns: 1fr; }
    .home-execution__dial { margin: auto; }
    .import-upload-card__header { grid-template-columns: 38px 1fr; }
    .import-upload-card__header > i { display: none; }
}

/* Bandeau institutionnel MTN : repères stables, navigation et contexte de pilotage */
.institution-bar {
    position: relative;
    min-height: 29px;
    color: rgba(255,255,255,.72);
    background: linear-gradient(90deg, #031936, #05264c 58%, #043b3a);
    font-size: .57rem;
    letter-spacing: .045em;
}
.institution-bar::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #0b8f53 0 42%, #f1c928 42% 70%, #d83f3f 70% 100%);
}
.institution-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    min-height: 29px;
    max-width: 1600px;
    margin: auto;
}
.institution-identity,
.pilot-label,
.institution-program { min-width: 0; }
.institution-identity { overflow: hidden; white-space: nowrap; }
.institution-identity strong { color: #fff; font-weight: 760; }
.institution-identity .senegal-flag { flex-basis: 24px; width: 24px; height: 16px; }
.institution-program {
    display: flex;
    gap: .42rem;
    align-items: center;
    color: rgba(255,255,255,.63);
    text-transform: uppercase;
}
.institution-program i { color: #f2cc33; font-size: .68rem; }
.institution-program span { font-weight: 760; }
.institution-program b { color: #f2cc33; font-size: .54rem; font-weight: 760; }
.pilot-label { justify-content: flex-end; overflow: hidden; white-space: nowrap; }
.pilot-label strong { overflow: hidden; text-overflow: ellipsis; }
.scope-live {
    display: inline-block;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #55d9a2;
    box-shadow: 0 0 0 3px rgba(85,217,162,.12);
}

.app-header {
    border-bottom: 1px solid rgba(212,222,230,.92);
    box-shadow: 0 9px 28px rgba(4,27,61,.065);
}
.app-navbar {
    min-height: 76px;
    padding: .42rem 0;
    border: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
}
.header-shell { max-width: 1600px; margin: auto; }
.app-brand {
    flex: 0 0 auto;
    min-width: 300px;
    gap: .65rem;
    margin-right: .65rem;
    text-decoration: none;
}
.mtn-logo-mark {
    position: relative;
    flex: 0 0 128px;
    width: 128px;
    height: 58px;
    border-radius: 0;
    background: transparent;
}
.mtn-logo-mark img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 126px;
    max-width: none;
    height: auto;
    transform: translate(-50%, -50%);
    image-rendering: auto;
}
.brand-divider {
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: 39px;
    background: linear-gradient(180deg, transparent, #cbd5dc 18% 82%, transparent);
}
.brand-copy { min-width: 0; }
.brand-copy > small,
.brand-copy > strong,
.brand-copy > em { display: block; }
.brand-copy > small {
    margin: 0 0 .17rem;
    color: var(--sd-green);
    font-size: .48rem;
    font-weight: 850;
    letter-spacing: .13em;
}
.brand-copy > strong {
    color: var(--sd-navy);
    font-size: 1.02rem;
    font-weight: 820;
    letter-spacing: -.035em;
}
.brand-copy > strong span { color: var(--sd-green); font-weight: 560; }
.brand-copy > em {
    margin-top: .22rem;
    color: #82909a;
    font-size: .45rem;
    font-style: normal;
    font-weight: 720;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.main-nav {
    gap: .08rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.app-navbar .main-nav .nav-link {
    position: relative;
    gap: .38rem;
    min-height: 43px;
    padding: .48rem .58rem !important;
    color: #526372;
    border: 1px solid transparent;
    border-radius: .7rem;
    font-size: .67rem;
    font-weight: 760;
    transition: color .16s ease, background .16s ease, border-color .16s ease;
}
.app-navbar .main-nav .nav-link i {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #768895;
    border-radius: .48rem;
    background: #f2f5f7;
    font-size: .76rem;
}
.app-navbar .main-nav .nav-link:hover {
    color: var(--sd-green-dark);
    border-color: #dce8e3;
    background: #f7fbf9;
}
.app-navbar .main-nav .nav-link:hover i { color: var(--sd-green); background: #e8f5ef; }
.app-navbar .main-nav .nav-link.active {
    color: #fff;
    border-color: #08234c;
    background: linear-gradient(135deg, #08234c, #0b3769);
    box-shadow: 0 7px 17px rgba(8,35,76,.16);
}
.app-navbar .main-nav .nav-link.active::after {
    content: "";
    position: absolute;
    right: .8rem;
    bottom: -1px;
    left: .8rem;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: #f0c929;
}
.app-navbar .main-nav .nav-link.active i { color: #f4d85c; background: rgba(255,255,255,.1); }
.app-dropdown { margin-top: .72rem !important; border-top: 3px solid var(--sd-green); }

.header-utility { gap: .48rem; margin-left: .7rem; }
.header-scope {
    gap: .55rem;
    align-items: center;
    max-width: 190px;
    min-height: 43px;
    padding: .35rem .58rem;
    border: 1px solid #e1e7ec;
    border-radius: .72rem;
    background: #f7f9fa;
}
.header-scope > i {
    display: grid;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    place-items: center;
    color: var(--sd-green);
    border-radius: .5rem;
    background: var(--sd-green-soft);
    font-size: .72rem;
}
.header-scope > span,
.header-scope small,
.header-scope strong { display: block; min-width: 0; }
.header-scope small { color: #7b8993; font-size: .46rem; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.header-scope strong { margin-top: .12rem; overflow: hidden; color: var(--sd-navy); font-size: .58rem; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.header-scope--selector { max-width: 250px; min-width: 210px; cursor: pointer; }
.header-scope--selector > span { flex: 1 1 auto; overflow: hidden; }
.header-scope--selector select {
    display: block;
    width: 100%;
    margin-top: .02rem;
    padding: 0 1.1rem 0 0;
    overflow: hidden;
    color: var(--sd-navy);
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .59rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}
.header-scope--selector select:disabled { cursor: progress; opacity: .68; }
.header-create {
    min-height: 43px;
    padding: .48rem .72rem;
    color: #fff;
    border-color: var(--sd-green);
    border-radius: .7rem;
    background: var(--sd-green);
    box-shadow: 0 7px 15px rgba(8,122,73,.14);
    font-size: .63rem;
    font-weight: 800;
}
.header-create:hover { border-color: var(--sd-navy); background: var(--sd-navy); }
.user-trigger {
    min-height: 43px;
    padding: .25rem .38rem .25rem .25rem;
    border: 1px solid transparent;
    border-radius: .72rem;
}
.user-trigger:hover,
.user-trigger[aria-expanded="true"] { border-color: #dce6e1; background: #f4faf7; }
.user-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    color: #fff;
    border-radius: .62rem;
    background: linear-gradient(145deg, #0c315f, #08234c);
}
.user-copy strong { color: var(--sd-navy); font-size: .66rem; }
.user-copy small { font-size: .52rem; }
.account-menu { min-width: 285px; margin-top: .65rem !important; padding: .55rem; border-top: 3px solid var(--sd-green); }
.account-profile {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    padding: .65rem;
}
.account-profile .user-avatar { width: 38px; height: 38px; }
.account-profile strong,
.account-profile small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-profile strong { color: var(--sd-navy); font-size: .72rem; }
.account-profile small { margin-top: .15rem; color: var(--sd-muted); font-size: .58rem; }
.account-role {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    margin: 0 .35rem .35rem;
    padding: .55rem .6rem;
    border-radius: .55rem;
    background: #f4f7f8;
}
.account-role span { color: var(--sd-green-dark); font-size: .55rem; font-weight: 800; }
.account-role strong { overflow: hidden; color: var(--sd-muted); font-size: .54rem; font-weight: 650; white-space: nowrap; text-overflow: ellipsis; }

@media (max-width: 1399.98px) {
    .app-brand { min-width: 288px; margin-right: .35rem; }
    .app-navbar .main-nav .nav-link { padding-right: .5rem !important; padding-left: .5rem !important; }
}

@media (max-width: 1199.98px) {
    .institution-shell { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .app-navbar { min-height: 70px; }
    .app-brand { min-width: 0; }
    .app-navbar .navbar-collapse {
        order: 4;
        flex-basis: 100%;
        margin: .55rem 0 .25rem;
        padding: .7rem;
        border-top: 3px solid var(--sd-green);
        border-radius: .85rem;
    }
    .app-navbar .main-nav .nav-link { min-height: 42px; padding: .55rem .65rem !important; }
    .header-mobile-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; align-items: center; }
    .header-mobile-context { min-width: 0; }
    .header-mobile-context small,
    .header-mobile-context strong { display: block; }
    .header-mobile-context small { color: var(--sd-muted); font-size: .52rem; text-transform: uppercase; }
    .header-mobile-context strong { overflow: hidden; color: var(--sd-navy); font-size: .67rem; white-space: nowrap; text-overflow: ellipsis; }
    .header-mobile-actions .header-create { width: auto; }
}

@media (max-width: 991.98px) {
    .institution-shell { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pilot-label { justify-self: end; }
}

@media (max-width: 767.98px) {
    .decision-scope-bar { grid-template-columns: 42px minmax(0, 1fr); align-items: end; }
    .decision-scope-bar p { grid-column: 1 / -1; margin: 0; }
    .decision-register-filters__head { align-items: flex-start; }
    .decision-register-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .decision-register-search { grid-column: 1 / -1; }
    .decision-register-reset { width: 100%; }
}

@media (max-width: 575.98px) {
    .institution-bar,
    .institution-shell { min-height: 25px; }
    .institution-shell { grid-template-columns: 1fr auto; gap: .5rem; }
    .institution-divider,
    .institution-identity span:not(.senegal-flag),
    .pilot-label > span:not(.scope-live) { display: none !important; }
    .pilot-label { max-width: 135px; }
    .app-navbar { min-height: 64px; padding: .24rem 0; }
    .app-brand { gap: .45rem; margin-right: 0; }
    .mtn-logo-mark { flex-basis: 65px; width: 65px; height: 38px; }
    .mtn-logo-mark img { width: 65px; }
    .brand-divider { height: 31px; }
    .brand-copy > strong { font-size: .84rem; }
    .brand-copy > small { margin-bottom: .13rem; font-size: .4rem; }
    .brand-copy > em { display: none; }
    .user-trigger { min-height: 38px; padding: .15rem; }
    .user-avatar { width: 32px; height: 32px; flex-basis: 32px; }
    .navbar-toggler { width: 38px; height: 38px; }
    .header-mobile-actions { grid-template-columns: 1fr; }
    .header-mobile-actions .header-create { width: 100%; }
    .decision-scope-bar { grid-template-columns: 1fr; padding: .9rem; }
    .decision-scope-icon { display: none; }
    .decision-register-filters__head { display: block; padding: .9rem; }
    .decision-register-filters__result { display: flex; gap: .35rem; align-items: baseline; min-width: 0; margin-top: .8rem; padding: .7rem 0 0; border-top: 1px solid #cfd8d4; border-left: 0; text-align: left; }
    .decision-register-filters__result strong { font-size: 1.3rem; }
    .decision-register-filter-grid { grid-template-columns: 1fr; padding: .9rem .9rem .65rem; }
    .decision-register-search { grid-column: auto; }
    .decision-register-active { padding: 0 .9rem .7rem; }
}

@media (max-width: 389.98px) {
    .institution-identity strong { font-size: .51rem; }
    .mtn-logo-mark { flex-basis: 58px; width: 58px; }
    .mtn-logo-mark img { width: 58px; }
    .brand-divider { display: none; }
    .brand-copy > small { display: none; }
    .brand-copy > strong { font-size: .8rem; }
}

/* Correction administrative gouvernée des directives */
.decision-admin-edit-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: 2rem;
    align-items: end;
    margin: 1.75rem 0 1.25rem;
    padding: 1.5rem 1.65rem;
    border-top: 3px solid var(--sd-navy);
    border-bottom: 1px solid #cfd8d4;
    background: #fafbf9;
}
.decision-admin-edit-hero h1 { margin: .3rem 0 .5rem; color: var(--sd-navy); font-size: clamp(1.75rem, 3vw, 2.65rem); }
.decision-admin-edit-hero p { max-width: 850px; margin: 0; color: var(--sd-muted); }
.decision-admin-edit-hero aside {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    padding: 1rem;
    border-left: 3px solid var(--sd-green);
    background: #eef5f1;
}
.decision-admin-edit-hero aside > i { display: grid; width: 46px; height: 46px; place-items: center; color: var(--sd-green-dark); background: #fff; font-size: 1.2rem; }
.decision-admin-edit-hero aside strong,
.decision-admin-edit-hero aside span { display: block; }
.decision-admin-edit-hero aside strong { color: var(--sd-navy); }
.decision-admin-edit-hero aside span { margin-top: .2rem; color: var(--sd-muted); font-size: .82rem; line-height: 1.45; }
.decision-admin-boundaries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    border: 1px solid #cbd5d0;
    background: #cbd5d0;
}
.decision-admin-boundaries article { min-width: 0; padding: 1rem 1.1rem; background: #f7f8f6; }
.decision-admin-boundaries span,
.decision-admin-boundaries strong,
.decision-admin-boundaries small { display: block; }
.decision-admin-boundaries span { color: var(--sd-green-dark); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.decision-admin-boundaries strong { margin-top: .25rem; overflow-wrap: anywhere; color: var(--sd-navy); }
.decision-admin-boundaries small { margin-top: .25rem; color: var(--sd-muted); line-height: 1.35; }
.decision-admin-edit-form .decision-form-section { border-radius: 0; box-shadow: none; }
.decision-admin-reason { border-bottom: 3px solid var(--sd-yellow) !important; }
.operational-hero__admin-link { margin-top: .65rem; }
.decision-admin-history-panel { grid-column: 1 / -1; border-top: 3px solid var(--sd-green); }
.administrative-history-empty { display: flex; gap: .85rem; align-items: center; color: var(--sd-muted); }
.administrative-history-empty > i { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: var(--sd-green); background: var(--sd-green-soft); font-size: 1.1rem; }
.administrative-history-empty strong,
.administrative-history-empty span { display: block; }
.administrative-history-list { display: grid; gap: .9rem; }
.administrative-history-list article { padding: 1rem 1.1rem; border-left: 3px solid var(--sd-green); background: #f7f9f7; }
.administrative-history-list header { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.administrative-history-list header strong,
.administrative-history-list header time { display: block; }
.administrative-history-list header time { margin-top: .15rem; color: var(--sd-muted); font-size: .76rem; }
.administrative-history-list header > span { color: var(--sd-green-dark); font-size: .75rem; font-weight: 800; }
.administrative-history-fields { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.administrative-history-fields span { padding: .25rem .5rem; color: var(--sd-navy); border: 1px solid #d4ddd8; background: #fff; font-size: .72rem; font-weight: 700; }
.administrative-history-list p { margin: .75rem 0 0; color: var(--sd-muted); line-height: 1.5; }

@media (max-width: 991.98px) {
    .decision-admin-edit-hero { grid-template-columns: 1fr; align-items: start; }
    .decision-admin-boundaries { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
    .decision-admin-edit-hero { margin-top: .9rem; padding: 1.1rem; }
    .administrative-history-list header { display: block; }
    .administrative-history-list header > span { display: inline-block; margin-top: .5rem; }
}
