/*! RLT */
/* Earned Standards — shared operational design system. Loaded after legacy layouts. */
:root,body.application-shell,body.application-shell:not(.public-layout){color-scheme:dark;--ink:#eef5ff;--muted:#a5b7cd;--paper:#070f1d;--dark:#091729;--green:#44d9aa;--line:#253b55;--accent:#45c7ff;--surface:#101f34;--surface-raised:#142840;--brand-link:#77d5ff;--brand-brass:#269cff;background:var(--paper);color:var(--ink)}
body.application-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55}
body.application-shell *,body.application-shell *::before,body.application-shell *::after{box-sizing:border-box}
body.application-shell :is(h1,h2,h3,h4,strong){color:var(--ink)}
body.application-shell h1{font-size:clamp(1.8rem,3vw,2.45rem);letter-spacing:-.035em;line-height:1.15}
body.application-shell h2{font-size:1.15rem;letter-spacing:-.015em}
body.application-shell p{color:var(--muted)}
body.application-shell a{color:#77d5ff}
body.application-shell .kicker,body.application-shell .eyeline{color:#79c8ff;font-size:.72rem;letter-spacing:.14em;font-weight:700}
body.application-shell :is(.muted,small,.intro){color:var(--muted)}
body.application-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #7fddff;outline-offset:3px}
body.application-shell :is(button,.button){color:#e8f4ff;background:#172d46;border:1px solid #355373;border-radius:8px;font-size:.875rem;line-height:1.45;padding:10px 15px;min-height:42px;box-shadow:none;text-decoration:none}
body.application-shell :is(button,.button):hover{background:#213e5d;border-color:#56b5f0;color:#fff}
body.application-shell :is(button,.button).primary{color:white;background:#1468d4;border-color:#3989ee}
body.application-shell :is(button,.button).primary:hover{background:#2079e5}
body.application-shell button:disabled{opacity:.55;cursor:not-allowed}
body.application-shell :is(input,select,textarea){background:#091727;color:var(--ink);border:1px solid #36506b;border-radius:7px;max-width:100%;font:inherit;min-height:42px;padding:10px 12px}
body.application-shell input[type=checkbox],body.application-shell input[type=radio]{min-height:0;accent-color:#289cfb}
body.application-shell :is(label,legend){color:#b8cce3;font-size:.875rem}
body.application-shell :is(fieldset,hr){border-color:var(--line)}
body.application-shell .workspace{max-width:1540px;margin:auto;padding:26px 32px 56px}
body.application-shell .rail,body.application-shell .rail nav{background:#091525;border-color:#20374d}
body.application-shell .nav-masthead{padding:14px 32px;max-width:1540px}
body.application-shell .rail nav{margin-top:0;padding:5px 22px;max-width:1540px}
body.application-shell .rail .brand{max-width:310px;gap:3px}
body.application-shell .brand-wordmark{font-weight:760;letter-spacing:-.025em;font-size:1.25rem;white-space:nowrap;color:#f0f7ff;display:flex;gap:10px;align-items:center}
body.application-shell .brand-mark{display:block;width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 0 8px #d8ad5a38);flex:0 0 38px}
body.application-shell .brand-tagline{color:#95afcc;font-size:.6rem;letter-spacing:.16em;padding-left:43px}
body.application-shell .rail nav a,body.application-shell .nav-group summary{color:#b4c7df;padding:9px 14px;min-height:40px;font-weight:600}
body.application-shell .rail nav a[aria-current=page],body.application-shell .nav-group[data-current=true]>summary{color:#e7f7ff;background:#143353;box-shadow:inset 0 -2px #40c7ff}
body.application-shell .rail nav a:hover,body.application-shell .nav-group summary:hover,body.application-shell .nav-group[open]>summary{background:#18314e;color:white}
body.application-shell .nav-dropdown{background:#11253c;border-color:#3a526d;box-shadow:0 14px 32px #0007}
body.application-shell .rail .nav-dropdown a{color:#dbeeff}
body.application-shell .rail .nav-dropdown a:hover{background:#214260}
body.application-shell .account-identity small{color:#96adc8}
body.application-shell :is(.card,.home-panel,.dispatch-card,.proof-card,.project-panel,.pricing-card,.public-login,.workshop-facts article,.auth-panel){background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:13px;box-shadow:0 7px 22px #020b181a}
body.application-shell :is(.card,.home-panel,.dispatch-card,.proof-card){padding:22px}
body.application-shell :is(.empty,.home-empty){background:#0b192b;border:1px dashed #314962;border-radius:10px;color:var(--muted);padding:22px}
body.application-shell :is(details,.callout){background:#0d1e32;border-color:#304b69;color:#cce0f8;border-radius:9px}
body.application-shell details{padding:13px 16px;margin:14px 0}
body.application-shell summary{cursor:pointer;color:#c9e7ff;min-height:28px;font-weight:600}
body.application-shell .callout{border-left:3px solid #42a8ff;padding:16px 20px}
body.application-shell .error{color:#ffadb3}
body.application-shell :is(.status-badge,.pill){background:#15334d;color:#b8e7ff;border:1px solid #2c526e;border-radius:6px;padding:4px 8px;font-size:.75rem}
body.application-shell table{background:#0b1a2c;color:#dceafa}
body.application-shell th{background:#142941;color:#c9dcf2}
body.application-shell td,body.application-shell th{border-color:#2b4058}
body.application-shell .tablewrap{border:1px solid var(--line);border-radius:10px;overflow-x:auto}
body.application-shell .professional-dashboard .home-heading{padding:0;margin:0 0 14px;border:0;align-items:center}
body.application-shell .home-heading h1{margin:5px 0 7px}
body.application-shell .professional-dashboard #dashboard-refresh{color:#bde9ff;background:#152b43}
body.application-shell .home-controls{display:flex;flex-wrap:wrap;gap:12px;padding:0 0 14px;margin:0 0 10px;border:0;border-radius:0;background:transparent;align-items:center}
body.application-shell .home-controls label{min-width:130px;display:flex;gap:8px;align-items:center;color:#a5b7cd;font-size:.75rem}
body.application-shell .home-controls select{font-size:.8rem;min-height:36px;padding:6px 28px 6px 10px;margin:0;color:#dceafa}
body.application-shell .home-metrics,.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
body.application-shell .home-metric,body.application-shell .metric-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;position:relative;min-height:120px;border:1px solid #294560;border-radius:11px;background:#12243b;box-shadow:none;padding:18px 20px;color:var(--ink);text-decoration:none;overflow:hidden}
body.application-shell .home-metric:nth-child(n){background:#12243b;border:1px solid #294560}
body.application-shell .metric-card:hover,body.application-shell .home-metric:hover{border-color:#49b9f5;background:#172e48}
body.application-shell .home-metric .metric-caption,.metric-caption{color:#b7cbe2;font-size:.8rem;font-weight:600;margin:0}
body.application-shell .home-metric strong,.metric-value{font-size:2rem;font-weight:720;font-variant-numeric:tabular-nums;letter-spacing:-.035em;line-height:1.2;margin:5px 0}
.metric-note{font-size:.7rem;color:#a8c0da;line-height:1.4}
.metric-arrow{position:absolute;right:16px;top:13px;color:#70b8e8}
body.application-shell .metric-card.is-warning{border-color:#806338;background:#252b30;box-shadow:inset 3px 0 #edb65c}
body.application-shell .metric-card.is-warning .metric-value{color:#ffd089}
.metric-card.is-success .metric-value{color:#69e9be}
.metric-rule{display:none}
.command-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:18px;align-items:start;margin:16px 0}
.command-main,.command-sidebar{min-width:0}
.command-sidebar{display:grid;gap:16px}
.attention-panel{border:1px solid #816339;background:#191f2a;border-radius:12px;padding:20px;margin-bottom:16px}
.attention-panel h2{margin:0;font-size:1rem;display:flex;justify-content:space-between;gap:12px}
.attention-panel .attention-count{color:#ffd089}
.attention-panel ul{list-style:none;padding:0;margin:12px 0 0}
.attention-panel li+li{border-top:1px solid #343d4a}
.attention-link{display:flex;gap:11px;padding:12px 0;text-decoration:none}
.attention-icon{color:#f7c46e;font-size:1rem;flex-shrink:0}
.attention-link strong{font-size:.86rem;display:block;line-height:1.4}
.attention-link small{display:block;font-size:.75rem;margin-top:4px}
.attention-panel.is-clear{background:#10252c;border-color:#2d574c}
.attention-panel.is-clear .attention-count{color:#62ddb6}
.attention-panel p{font-size:.8rem;margin:8px 0 0}
.gauge-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:16px 0}
.dashboard-readiness{grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0 18px}
.dashboard-readiness .gauge-card{padding:14px 16px;gap:14px}
.dashboard-readiness .gauge-ring{width:78px;height:78px;flex-basis:78px}
.dashboard-readiness .gauge-ring strong{font-size:1.15rem}
.gauge-card{display:flex;align-items:center;gap:18px;background:#0f2137;border:1px solid #2c4964;border-radius:12px;padding:19px;text-decoration:none;min-width:0;box-shadow:0 0 18px #0b94fe08}
.gauge-card:hover{border-color:#56bff6}
.gauge-ring{width:100px;height:100px;flex:0 0 100px;position:relative}
.gauge-ring svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.gauge-track{fill:none;stroke:#233b53;stroke-width:8}
.gauge-value{fill:none;stroke:var(--gauge-color,#41bcff);stroke-width:8;stroke-linecap:round}
.gauge-ring strong{position:absolute;inset:0;display:grid;place-items:center;font-size:1.4rem;font-variant-numeric:tabular-nums}
.gauge-copy{min-width:0}.gauge-copy h3{font-size:.87rem;margin:0 0 6px}.gauge-copy p{font-size:.75rem;margin:0;line-height:1.55}
.status-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #365775;color:#a7dafa;background:#13324a;padding:3px 8px;border-radius:6px;font-size:.73rem;line-height:1.5;white-space:normal}
.status-chip.success{color:#8ce8c1;background:#103b32;border-color:#2e6653}
.status-chip.warning{color:#ffd08b;background:#403320;border-color:#785c32}
.status-chip.danger{color:#ffb9be;background:#472830;border-color:#8c4c57}
.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:22px 0 12px}.section-heading h2{margin:0}.section-heading a{font-size:.82rem}
body.application-shell .home-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:16px 0}
body.application-shell .home-action{min-height:0;background:#102036;border:1px solid #2a415b;border-radius:9px;padding:14px;text-decoration:none}
body.application-shell .home-action strong{color:#b7e3ff;font-size:.85rem}
body.application-shell .home-action>span{color:#a5b7cd;font-size:.78rem;line-height:1.5;margin-top:6px}
body.application-shell .home-panel h2{border-color:var(--line);font-size:1rem}
body.application-shell .home-list li{border-color:#2b4058;padding:13px 0}
body.application-shell .home-list li span{color:#a7bcd4}
body.application-shell .home-columns{gap:18px}
body.application-shell .dispatch-pulse{padding:18px;margin:16px 0;background:#102238;border-color:#294866;grid-template-columns:1fr 1fr auto;gap:20px}
body.application-shell .dispatch-pulse h2{font-size:1.05rem;margin:5px 0}.dispatch-pulse p{font-size:.8rem}
body.application-shell .schedule-board{background:#0d1c30;border-color:#2b4764;border-radius:13px;overflow:hidden;margin:0;box-shadow:0 0 22px #0f77ce09}
body.application-shell .board-title{padding:18px 22px;border-color:#29425d;background:#12263e}.board-title h2{margin:4px 0!important}
body.application-shell .board-date{color:#a8c2df}
body.application-shell .schedule-day{background:#0d1d31;border-color:#233b54;min-width:0}
body.application-shell .schedule-day>header{background:#14283e;border-color:#2a4058;color:#b5cde5;padding:12px 16px}
body.application-shell .schedule-day>header strong{color:white}
body.application-shell .schedule-slots{padding:15px;min-height:220px}
body.application-shell .schedule-job{background:#133655;color:#b9daf6;border:1px solid #315675;border-left:3px solid #41beff;padding:15px;text-decoration:none;box-shadow:none}
body.application-shell .schedule-job strong{color:#eff8ff}.schedule-job .schedule-time{color:#a4c4df}
body.application-shell .schedule-job.tone-amber{background:#302b25;border-color:#78613f;border-left-color:#edb966}
body.application-shell .schedule-job.tone-purple{background:#252c47;border-color:#555c91;border-left-color:#adb7f5}
body.application-shell .schedule-job.tone-green{background:#15372f;border-color:#356956;border-left-color:#49dab0}
body.application-shell .schedule-vacant{color:#8faac8;background:transparent;min-height:210px}.schedule-vacant p{font-size:.9rem}
body.application-shell .status-legend{border-color:#29435e;background:#10243a;color:#abc1db;padding:12px 18px}
body.application-shell .dispatch-tabs{gap:7px;margin:16px 0;border-bottom:1px solid #2c4761;padding-bottom:12px}
body.application-shell .dispatch-tabs button{background:transparent;border:1px solid transparent;min-width:74px;color:#b5cbe5}
body.application-shell .dispatch-tabs button.primary{background:#143d64;border-color:#287fb3;color:#e2f7ff;box-shadow:inset 0 -2px #5cceff}
.dispatch-tabs label{margin-left:auto;display:flex;align-items:center;gap:10px}
body.application-shell .ops-toolbar{margin:14px 0;gap:18px}
.ops-toolbar>label{display:flex;align-items:center;gap:12px}.ops-toolbar select{min-height:36px!important;font-size:.8rem!important}
body.application-shell #dispatch-map{height:470px;border:1px solid #315678;border-radius:12px;background:#0d2237;isolation:isolate}
#dispatch-map .leaflet-tile-pane{filter:brightness(.62) saturate(.5) hue-rotate(170deg)}
#dispatch-map .leaflet-bar a{background:#16334e;color:white;border-color:#466079}
#dispatch-map .leaflet-popup-content-wrapper,#dispatch-map .leaflet-popup-tip{background:#112a40;color:#e2f1ff}
#dispatch-map .leaflet-control-attribution{background:#0a1a2de8;color:#b6cce4;font-size:11px}
body.application-shell .dispatch-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,450px),1fr));gap:18px;margin-top:18px}
body.application-shell .dispatch-card{border-top:2px solid #3985c1;margin:0;scroll-margin-top:20px}.dispatch-card.tone-amber{border-top-color:#f0b962!important}
body.application-shell .dispatch-card>h2{font-size:1.2rem;margin:10px 0}.dispatch-card>p{font-size:.875rem}
body.application-shell .assignment-row,body.application-shell .deliverable{background:#0c1c2f;border-color:#2b4460;border-radius:9px;padding:16px}
body.application-shell .attendance-panel{background:#0b1b2d;border-color:#2e4a62;color:#c6d9ee;border-radius:10px;min-width:0}
body.application-shell .attendance-panel p{color:#a9bfd7}.attendance-panel .attendance-heading h3{font-size:.9rem}
body.application-shell .attendance-state{background:#17334b;color:#bddaf4}
body.application-shell .attendance-state.is-in{background:#113e32;color:#85efbb}
body.application-shell .attendance-exception{color:#ffd18e}
body.application-shell .attendance-notice,body.application-shell .attendance-footnote{font-size:.74rem}
body.application-shell .attendance-visit-heading,body.application-shell .attendance-points{border-color:#31516b}
body.application-shell .candidate-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:16px 0}
body.application-shell .candidate{background:#10273b;border:1px solid #31536b;border-radius:11px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.candidate>a{font-size:1rem;font-weight:650}.candidate ul{padding-left:20px;font-size:.85rem;color:#ffd599}.qualification-list{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.candidate ul li{margin:6px 0}
.regional-list{display:grid;gap:10px}.region-row{display:grid;grid-template-columns:1fr auto;gap:8px;border:1px solid #2b4964;border-radius:8px;padding:14px;text-decoration:none;font-size:.85rem;background:#0e2135}.region-row progress{grid-column:1/-1;width:100%;height:5px;accent-color:#41c9e9}
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:15px}.project-health-card{display:block;background:#11243a;border:1px solid #2c4864;border-radius:12px;padding:20px;text-decoration:none}.project-health-card h3{margin:10px 0}.project-health-card p{font-size:.8rem}.project-health-card progress{width:100%;height:6px;accent-color:#47d4b1}
.current-work{border:1px solid #327da8;border-radius:13px;background:linear-gradient(110deg,#122e48,#101f33);padding:23px;margin:16px 0;box-shadow:0 0 24px #118bdf0b}.current-work h2{font-size:1.45rem!important;margin:9px 0}.current-work-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:26px}.current-work ul{padding-left:20px;font-size:.86rem;color:#c2d5e9}.current-work p{font-size:.87rem}
body.application-shell .profile-head{background:linear-gradient(115deg,#153758,#102137);border:1px solid #365d7e;border-radius:16px;padding:30px;align-items:start;margin:20px 0}.profile-head h1{font-size:2.4rem!important}.profile-avatar{display:grid;place-items:center;width:72px;height:72px;border:1px solid #58b1eb;border-radius:18px;background:#164f7b;font-size:1.7rem;font-weight:700;margin-bottom:16px;color:white}.profile-head>.card{background:#0c2036!important;font-size:.875rem}.profile-head input{font-size:.75rem!important}
.profile-nav{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid #2f4a63;padding:4px 0 18px;margin-bottom:24px}.profile-nav a{padding:7px 12px;border:1px solid #2b4f6b;border-radius:7px;text-decoration:none;font-size:.83rem}
body.application-shell .proof-card h2{font-size:1.1rem}.proof-card .proof-photos img{border-radius:9px}.profile-section{scroll-margin-top:24px}.profile-section>h2{font-size:1.25rem;margin-top:26px}
body.application-shell .workshop-promo{margin-top:28px;background:#102137;border:1px solid #315575;border-radius:13px;box-shadow:none}
body.application-shell .workshop-promo h2{font-size:1.7rem}.workshop-promo .kicker{color:#77cfff!important}
body.application-shell .workshop-seal{background:#0b1d32f5;border-color:#3b88b5}.workshop-seal-copy strong{color:#f0f8ff!important}.workshop-seal .workshop-seal-copy span{color:#8ecef4!important}
body.application-shell .workshop-promo-art:after{background:linear-gradient(90deg,#102137,transparent 80%)}
body.application-shell .public-hero,body.application-shell .public-footer{background:#09192c}.public-footer{border-top:1px solid #2e4961}.public-hero .kicker{color:#74ccff!important}
body.application-shell .public-start{background:#0a1525}.public-values article{border-color:#294660}.public-login{padding:28px}
body.application-shell .cost-stats article,body.application-shell .finance-card,body.application-shell .candidate-finance{background:#0c2136;border-color:#2c4a63;color:#d9eaff}
body.application-shell progress{accent-color:#3dd4c0}
body.application-shell .lesson-body,body.application-shell .lesson-content,body.application-shell .lesson-card,body.application-shell .exam-question,body.application-shell .question,body.application-shell .module-card,body.application-shell .module,body.application-shell .stat,body.application-shell .chapter,body.application-shell .lesson-nav,body.application-shell .scorecard{background:#102138;color:#d9e9ff;border-color:#304961}
body.application-shell .choice{background:#142a42;color:#d8e7fa;border-color:#375470}
@media(min-width:1100px){.metric-strip.has-five{grid-template-columns:1.1fr 1.1fr 1fr 1fr 1fr}.professional-dashboard.role-dispatcher .home-actions{grid-template-columns:repeat(5,1fr)}}
@media(max-width:1050px){.command-layout{grid-template-columns:minmax(0,1fr) 270px;gap:14px}.gauge-grid{grid-template-columns:repeat(2,1fr)}.gauge-card{padding:14px;gap:12px}.gauge-ring{width:84px;height:84px;flex-basis:84px}.metric-strip.has-five{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){body.application-shell .workspace{padding:20px 16px 40px}body.application-shell .nav-masthead{padding:12px 16px;gap:12px}body.application-shell .accountbar{width:auto;margin-left:auto}body.application-shell .account-identity{display:none!important}body.application-shell .rail nav{padding:6px 8px;gap:2px}body.application-shell .rail nav a,body.application-shell .nav-group summary{font-size:.79rem;padding:8px 10px}body.application-shell .brand-wordmark{font-size:1.08rem}.brand-emblem{width:28px;height:32px}body.application-shell .brand-tagline{font-size:.5rem;padding-left:38px}body.application-shell .home-heading{align-items:flex-start}body.application-shell .home-heading h1{font-size:1.6rem}body.application-shell .home-heading p{font-size:.83rem}body.application-shell .home-controls{gap:8px}body.application-shell .home-controls label{font-size:.7rem;min-width:0;flex:1 1 150px}body.application-shell .home-controls select{max-width:180px;width:100%;font-size:.75rem}.command-layout{display:flex;flex-direction:column}.command-sidebar{order:-1;width:100%}.command-sidebar .gauge-card{display:none}.command-main{width:100%}.metric-strip,.metric-strip.has-five,body.application-shell .home-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.application-shell .metric-card,body.application-shell .home-metric{min-height:112px;padding:14px}.metric-value{font-size:1.8rem}.metric-caption{font-size:.76rem}.gauge-grid{grid-template-columns:1fr}.gauge-card{padding:17px}.gauge-ring{width:88px;height:88px;flex-basis:88px}body.application-shell .home-columns{display:block}body.application-shell .home-actions{grid-template-columns:repeat(2,1fr)}body.application-shell .home-panel{padding:18px}body.application-shell .dispatch-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:4px}.dispatch-tabs label{grid-column:1/-1;margin-left:0;margin-top:8px}body.application-shell .dispatch-tabs button{min-width:0;padding:9px 4px;font-size:.77rem}.current-work-grid{grid-template-columns:1fr;gap:14px}.current-work{padding:18px}.current-work h2{font-size:1.2rem!important}body.application-shell .dispatch-pulse{display:block}.dispatch-pulse .gauge-card{margin:12px 0}body.application-shell #dispatch-map{height:360px}.profile-head{grid-template-columns:1fr!important;padding:22px!important}.profile-head h1{font-size:1.9rem!important}.profile-nav{gap:6px}.profile-nav a{font-size:.76rem;padding:7px 9px}.attention-panel{padding:17px}.ops-toolbar{flex-direction:column;align-items:flex-start!important}.ops-toolbar>.row{flex-wrap:wrap}.workshop-promo-art{display:none!important}body.application-shell .workshop-promo{grid-template-columns:1fr}.professional-dashboard{display:flex;flex-direction:column}.professional-dashboard>.home-heading{order:0}.professional-dashboard>.home-controls{order:1}.professional-dashboard>.callout{order:2}.professional-dashboard>.attention-panel{order:3}.professional-dashboard>.current-work{order:4}.professional-dashboard>.home-metrics{order:5}.professional-dashboard>.home-actions{order:6}.professional-dashboard>.dashboard-workspace{order:7}.professional-dashboard>.gauge-grid{order:8}.professional-dashboard>.home-columns{order:9}.professional-dashboard>.dashboard-secondary{order:10}.professional-dashboard>p{order:11}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Compact controls keep the operating surface in the first viewport. */
body.application-shell .professional-dashboard .home-heading h1{font-size:clamp(1.6rem,2.6vw,2.15rem)}
body.application-shell .role-dispatcher .home-actions{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #2b435c;padding:0 0 12px;margin:10px 0}
body.application-shell .role-dispatcher .home-action{padding:8px 16px;min-width:86px}.role-dispatcher .home-action strong{gap:16px!important}
body.application-shell .schedule-job>span{color:#b4cce4}body.application-shell .schedule-job .schedule-status{color:#bfe9ff}body.application-shell .schedule-job.tone-amber .schedule-status{color:#ffd08d}body.application-shell .schedule-job.tone-green .schedule-status{color:#87e8bf}
body.application-shell .status-legend span{color:#bdd1e8}
@media(max-width:760px){
 .command-layout{display:grid;grid-template-columns:1fr}.command-sidebar{display:contents}.command-main{grid-row:2}.command-sidebar>.attention-panel{grid-row:1}.command-sidebar>.gauge-card{display:flex;grid-row:3}
 .professional-dashboard>.metric-strip{order:5}
 .role-dispatcher>.dashboard-workspace,.role-dispatcher .command-layout,.role-dispatcher .command-sidebar{display:contents}
 .role-dispatcher .command-sidebar>.attention-panel{order:3}.role-dispatcher .command-main{order:4}.role-dispatcher .command-sidebar>.gauge-card{order:8}
 body.application-shell .role-dispatcher .home-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.role-dispatcher .home-action{min-width:0!important;padding:9px 5px!important}.role-dispatcher .home-action strong{font-size:.74rem!important}.role-dispatcher .home-action strong>span{display:none}
}
@media(min-width:761px){.professional-dashboard>.attention-panel>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.professional-dashboard>.attention-panel>ul>li+li{border-top:0;border-left:1px solid #344252;padding-left:18px}.professional-dashboard>.attention-panel .attention-link{padding:6px 0}.professional-dashboard>.attention-panel{padding:16px 20px}.professional-dashboard>.attention-panel .attention-more{margin:8px 0 0;padding:6px 10px;font-size:.8rem}}
body.application-shell :is(.authbox,.lessonbody,.study-section,.metric,.cost-metric,.candidate-evidence,.pricing-faq,.pricing-note,.free-plan){background:#11243a;color:#d9e9fb;border-color:#2b4661}
body.application-shell .cost-alert{background:#322b23;color:#ffce87;border-color:#7a5e35}
body.application-shell .learning{background:#0b1c2f;border-color:#2d4660}
body.application-shell .metrics .metric strong,body.application-shell .cost-metric strong{color:#e6f5ff}
body.application-shell .academy-stats{background:transparent;padding-top:0;padding-bottom:0;border-bottom:0}
body.application-shell .filters button[aria-pressed=true]{background:#1456a0;color:#e5f5ff}
body.application-shell .dispatch-tabs{background:#0d2035;border:1px solid #2d4964;border-radius:10px;padding:9px 12px}
body.application-shell .dispatch-tabs button{color:#c3d8ef}body.application-shell .dispatch-tabs label{color:#9eb8d2}
body.application-shell .dispatch-tabs button.primary{background:#164f7d;border-color:#48bfff}
body.application-shell .candidate>.status-chip{display:inline-flex;width:auto;height:auto;border-radius:6px;font-size:.8rem;font-weight:600;padding:4px 9px;max-width:100%}
body.application-shell .candidate>.status-chip.warning{background:#403320;color:#ffd08b;border-color:#785c32}
body.application-shell .candidate>.status-chip.success{background:#103b32;color:#8ce8c1;border-color:#2e6653}
body.application-shell .candidate small{font-size:.8rem}.metric-note{font-size:.75rem}.status-chip{font-size:.78rem}
@media(max-width:760px){
 body.application-shell .professional-dashboard .home-controls{flex-direction:row;align-items:center;padding:0 0 10px;gap:7px}
 body.application-shell .professional-dashboard .home-controls label{flex:1 1 100%;min-height:36px;justify-content:space-between}
 body.application-shell .professional-dashboard .home-controls select{max-width:210px;flex:0 1 210px}
 body.application-shell .professional-dashboard .home-heading{display:flex;flex-direction:row;align-items:flex-start;gap:12px}
 body.application-shell .professional-dashboard .home-heading>div{min-width:0;padding:0}
 body.application-shell .professional-dashboard #dashboard-refresh{padding:8px 10px;font-size:.76rem;flex-shrink:0}
}
@media(max-width:760px){body.application-shell .profile-head{gap:16px;padding:18px!important}.profile-head .profile-avatar{width:48px;height:48px;font-size:1.2rem;margin-bottom:8px}.profile-head h1{margin:8px 0!important}.profile-head p{margin:8px 0;font-size:.85rem!important;line-height:1.5}.profile-head>.card{padding:16px!important}}
body.application-shell .home-controls .role-preview-control{position:relative;margin:0 0 0 auto;padding:7px 12px;background:transparent;border:1px solid #2d4762;font-size:.8rem}
body.application-shell .role-preview-control summary{font-size:.8rem;min-height:20px}.role-preview-control[open] label{padding-top:10px}
@media(max-width:760px){body.application-shell .home-controls .role-preview-control{margin:0;flex:1 1 100%;padding:6px 10px}.role-preview-control label{display:flex!important;justify-content:space-between}}
.dashboard-heading-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}
@media(max-width:760px){.dashboard-heading-actions{flex-direction:column;gap:6px}.dashboard-heading-actions .button{font-size:.76rem!important;padding:8px 10px!important;min-height:36px!important}}
#dispatch-map .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.8) contrast(.85) saturate(.75)}
body.application-shell .operations-workspace .dispatch-card .status-badge{color:#c8e5fc;background:#18334f;border-color:#315b7c}
body.application-shell .operations-workspace .dispatch-card.tone-amber .status-badge{color:#ffd08b;background:#403320;border-color:#785c32}
body.application-shell .operations-workspace .dispatch-card.tone-green .status-badge{color:#8ce8c1;background:#103b32;border-color:#2e6653}
.current-work li{margin:8px 0}.current-work li .status-chip{margin-left:5px}

/* Compatibility layer for legacy light surfaces. Every retained card now has an
   explicit dark background and readable foreground under the application theme. */
body.application-shell :is(.authbox,.metric,.lessonbody,.ops-form,#org-content form,.team-manager,.continue-card,.team-grid article,.track,.path,.profile-card,.modal-shell,.price-card,.pricing-faq details,.cost-summary,.cost-metric,.candidate-evidence,.dashboard .panel,.dashboard .kpi-row article,.quiz button){background:var(--surface);color:var(--ink);border-color:var(--line)}
body.application-shell :is(.team-share,.team-incoming,.free-plan,.price-card.featured,.attendance-exception-form,.quiz,.quiz button.correct,.quiz button.wrong){background:#12253a!important;color:var(--ink)!important;border-color:#39526c!important}
body.application-shell :is(.cost-metric,.candidate-evidence,.team-share,.free-plan,.free-plan p,.price-card>p,.price,.price-unit,.price-card ul,.pricing-note,.pricing-faq p,.workshop-facts p,.workshop-registrations span,.lesson-list){color:#c5d6e8}
body.application-shell :is(.task button,.alert-row button,.verify-item button,.search){background:#10243a;color:var(--ink);border-color:#39526c}
body.application-shell :is(.rubric th,.status-key span,.chips span,.packet){background:#153149;color:#cbe9ff}

@media(max-width:760px){
 body.application-shell .brand-mark{width:31px;height:31px;flex-basis:31px}
 body.application-shell .brand-tagline{padding-left:41px}
 .dashboard-readiness{grid-template-columns:1fr}
 .professional-dashboard>.gauge-grid{order:6}
}
/* Role-based help center and page-aware support shortcut. */
.context-help{position:fixed;right:1.25rem;bottom:1.25rem;z-index:40;width:3rem;height:3rem;border-radius:50%;display:grid;place-items:center;background:var(--gold,#e4b657);color:#07101d!important;border:1px solid rgba(255,255,255,.22);box-shadow:0 12px 30px rgba(0,0,0,.35);font-size:1.35rem;font-weight:900;text-decoration:none}.context-help:hover,.context-help:focus-visible{transform:translateY(-2px);outline:3px solid rgba(228,182,87,.28);outline-offset:3px}.help-page{max-width:1180px}.help-heading{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(18rem,.8fr);gap:2rem;align-items:end;margin-bottom:3rem}.help-heading h1,.help-detail-heading h1{max-width:780px}.help-search{display:grid;gap:.55rem;padding:1.25rem;background:rgba(255,255,255,.04);border:1px solid var(--line,#273849);border-radius:12px}.help-search label{font-weight:750}.help-search input,.help-search select{width:100%}.help-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.help-role-card,.help-guide-card,.help-steps,.help-side,.help-boundary{background:rgba(255,255,255,.035);border:1px solid var(--line,#273849);border-radius:12px;padding:1.25rem}.help-role-card{display:flex;flex-direction:column}.help-role-card h2,.help-guide-card h2{font-size:1.15rem;margin:.45rem 0}.help-role-card p,.help-guide-card p{line-height:1.55}.help-role-card ol{padding-left:1.25rem;line-height:1.65;flex:1}.help-role-card .button{align-self:flex-start}.help-task-section{margin-top:3.5rem}.help-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.help-guide-card h2 a{color:inherit}.help-role-tags{font-size:.82rem;color:var(--muted,#a7b7c9)}.help-detail-heading{margin:2rem 0}.help-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,22rem);gap:1.25rem;align-items:start}.help-steps h2:not(:first-child){margin-top:2rem}.help-steps>ol{list-style:none;padding:0;display:grid;gap:.75rem}.help-steps>ol>li{display:grid;grid-template-columns:2.35rem 1fr;gap:.8rem;align-items:start}.help-steps>ol>li>span{width:2.35rem;height:2.35rem;border-radius:50%;display:grid;place-items:center;background:var(--gold,#e4b657);color:#07101d;font-weight:900}.help-steps>ol p{margin:.3rem 0 0;line-height:1.6}.help-side{position:sticky;top:1rem}.help-side .button{width:100%;justify-content:center}.help-boundary{margin-top:3.5rem}.help-boundary p{max-width:900px;line-height:1.65}@media(max-width:900px){.help-heading,.help-detail-layout{grid-template-columns:1fr}.help-role-grid,.help-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.help-side{position:static}}@media(max-width:620px){.context-help{right:.9rem;bottom:.9rem;width:2.8rem;height:2.8rem}.help-role-grid,.help-guide-grid{grid-template-columns:1fr}.help-heading{gap:1.25rem}.help-role-card,.help-guide-card,.help-steps,.help-side,.help-boundary{padding:1rem}.help-steps>ol>li{grid-template-columns:2rem 1fr}.help-steps>ol>li>span{width:2rem;height:2rem}}

/* RLT: pending field work sign-out choice, in both themes. */
body.application-shell .field-signout-dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;max-width:min(600px,calc(100vw - 32px));padding:24px;box-shadow:0 20px 80px #0008}
.field-signout-dialog::backdrop{background:#0009}
.field-signout-dialog .row{display:flex;flex-wrap:wrap;gap:10px}
