/* WWS RE LEUCHTET v3.20.0 – NEON OPS / PHASE 1
   Pure visual layer. 1) preserves existing layout/functionality; 2) dark islands have
   explicitly light text, light islands have explicitly dark text; 3) no invented KPIs. */
:root{--neo-night:#080f1d;--neo-void:#0d1725;--neo-panel:#142235;--neo-cyan:#69e1ed;--neo-pink:#ff568e;--neo-violet:#b48aff;--neo-amber:#ffb269;--neo-green:#5debb9;--neo-line:#36516a;--neo-white:#f2f8ff;--neo-muted:#bfd0e3;}
html[data-theme="dark"]{--ops-outer:#070d19;--ops-panel:#101c2c;--ops-stroke:#304761;--ops-ink:#f1f8ff;--ops-sub:#b4c8dc;--ops-cyan:#78e9f6;}
html[data-theme="light"]{--ops-outer:#edf2f8;--ops-panel:#fff;--ops-stroke:#cedce9;--ops-ink:#1b2e43;--ops-sub:#435c73;--ops-cyan:#096b85;}
html[data-theme="dark"] .app-shell{background:radial-gradient(ellipse 75% 690px at 85% -15%,#2e376a42,transparent 74%),radial-gradient(ellipse 75% 900px at 0% 70%,#1c59753c,transparent 76%),#070d19!important;color:#f2f8ff;}
html[data-theme="light"] .app-shell{background:radial-gradient(ellipse 80% 720px at 90% -15%,#bbcfed61,transparent 75%),radial-gradient(ellipse 60% 670px at 5% 70%,#c1e2ed4f,transparent 75%),#edf2f8!important;color:#1b2e43;}
/* Header: neon microdetails, not a glowing wall. */
html[data-theme="dark"] .app-shell .topbar{background:#0b1422f5!important;border-bottom:1px solid #39546c!important;box-shadow:0 10px 38px #0008,0 1px 0 #ff4f863b!important;}
html[data-theme="light"] .app-shell .topbar{background:#f6fbffed!important;border-bottom:1px solid #c9ddeb!important;box-shadow:0 7px 28px #2136530b!important;}
.app-shell .brand-emblem{background:linear-gradient(145deg,#ff5b8d,#c12154 75%)!important;border:1px solid #f78ca8!important;box-shadow:0 6px 24px #f144754e!important;}
html[data-theme="dark"] .app-shell .brand-copy strong{color:#f1f6ff!important;}
html[data-theme="dark"] .app-shell .brand-copy small{color:#a9b9d5!important;}
/* Admin hero and top metrics: dark compact command-cards with real numbers. */
html[data-theme="dark"] .app-shell .container>.hero,html[data-theme="light"] .app-shell .container>.hero{background:linear-gradient(114deg,#101b2c,#18243b 60%,#281937 100%)!important;border:1px solid #43516f!important;color:#f4f7ff!important;box-shadow:0 18px 49px #0004,0 0 0 1px #66dbf312!important;}
html[data-theme="dark"] .app-shell .container>.hero h1,html[data-theme="light"] .app-shell .container>.hero h1{color:#fff!important;text-shadow:none!important;}
html[data-theme="dark"] .app-shell .container>.hero .eyebrow,html[data-theme="light"] .app-shell .container>.hero .eyebrow{color:#a8effa!important;}
html[data-theme="dark"] .app-shell .container>.hero p,html[data-theme="light"] .app-shell .container>.hero p{color:#cfdaef!important;}
html[data-theme="dark"] .app-shell .container>.hero h1 span,html[data-theme="light"] .app-shell .container>.hero h1 span{color:#ff80ad!important;-webkit-text-fill-color:#ff80ad!important;}
html[data-theme="dark"] .app-shell .container>.hero .hero-stat,html[data-theme="light"] .app-shell .container>.hero .hero-stat{background:#162439!important;color:#d4e3fb!important;border:1px solid #577089!important;box-shadow:inset 0 1px #ffffff12!important;white-space:normal;}
html[data-theme="dark"] .app-shell .container>.hero .hero-stat b,html[data-theme="light"] .app-shell .container>.hero .hero-stat b{color:#f0f6ff!important;}
html[data-theme="dark"] .app-shell .container>.stats>.stat-card,html[data-theme="light"] .app-shell .container>.stats>.stat-card{position:relative;isolation:isolate;background:linear-gradient(150deg,#101c2d,#15263d)!important;border:1px solid #3c526d!important;color:#f6f8ff!important;box-shadow:0 12px 30px #0a172f36,inset 0 1px #ffffff0e!important;overflow:hidden;}
.app-shell .container>.stats>.stat-card:before{left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#ff5c9c,#b387ff,#71eaf4 86%,transparent)!important;box-shadow:0 0 20px #ff54914e;}
html[data-theme="dark"] .app-shell .container>.stats>.stat-card :is(strong,b,small,span,p,h3),html[data-theme="light"] .app-shell .container>.stats>.stat-card :is(strong,b,small,span,p,h3){color:#e3efff!important;text-shadow:none!important;}
html[data-theme="dark"] .app-shell .container>.stats>.stat-card .number,html[data-theme="light"] .app-shell .container>.stats>.stat-card .number{color:#fff!important;}
/* Admin direct actions */
.neon-admin-command{display:flex;justify-content:space-between;align-items:stretch;gap:19px;padding:23px;margin:5px 0 22px;background:linear-gradient(112deg,#0e192b,#1c243c 65%,#271a33);border:1px solid #385875;border-radius:22px;box-shadow:0 12px 39px #080f1b33,0 0 35px #743e8d10;position:relative;isolation:isolate;overflow:hidden;color:#eef6ff;}
.neon-admin-command:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 61px,#c7e9ff06 62px 63px);pointer-events:none;z-index:-1;}
.neon-admin-command-copy{display:flex;flex-direction:column;justify-content:center;gap:8px;flex:1;min-width:0;}
.neon-admin-command-copy>span,.neon-signal-label{font-size:10px;font-weight:850;letter-spacing:.17em;color:#7de8f8!important;display:flex;align-items:center;gap:8px;}
.neon-admin-command-copy>strong{color:#f5f9ff!important;font:850 clamp(19px,2.5vw,27px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.045em;}
.neon-admin-command-copy>small{color:#bbccde!important;font-size:12px;max-width:340px;line-height:1.45;}
.neon-admin-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;flex:1.25;}
.neon-admin-links button{background:linear-gradient(150deg,#172841,#132137);border:1px solid #415670;border-radius:15px;padding:12px;text-align:left;display:flex;flex-direction:column;gap:7px;color:#f4f9ff;min-width:0;min-height:100px;transition:background .18s,transform .18s,border-color .18s,box-shadow .18s;}
.neon-admin-links button:hover{background:#253650;border-color:#81dfea;transform:translateY(-2px);box-shadow:0 0 22px #5cefff22;}
.neon-admin-links button>span{color:#ffa5c8;font-size:18px;line-height:1;}
.neon-admin-links button>b{color:#fff;font-size:14px;}
.neon-admin-links button>small{color:#b8cde0;font-size:11px;}
html[data-theme="dark"] .app-shell .admin-tabs{background:#111c2ce8!important;border:1px solid #384e6a!important;box-shadow:0 8px 30px #0006!important;}
html[data-theme="dark"] .app-shell .admin-tabs button{color:#b7cde2!important;}
html[data-theme="dark"] .app-shell .admin-tabs button.active{background:linear-gradient(95deg,#254960,#442d60)!important;color:#fff!important;border-color:#71e0ef!important;box-shadow:inset 0 0 0 1px #78f0ff52,0 0 16px #70e6f92c!important;}
html[data-theme="light"] .app-shell .admin-tabs button.active{background:#e0f3ff!important;color:#13516b!important;border:1px solid #8bd0ec!important;}
/* Compact employee command header, entire hero is dark even in daytime:
   no white cards or near-white text on white card backgrounds. */
html[data-theme="dark"] .app-shell .worker-layout .welcome-mini{background:linear-gradient(115deg,#0e1e31ef,#1a203ad9 72%,#302039ae)!important;border:1px solid #476c8a!important;box-shadow:0 12px 33px #0006!important;}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini{background:linear-gradient(115deg,#102037f5,#262641e6 72%,#35263bf0)!important;border:1px solid #526c88!important;box-shadow:0 12px 33px #3041592a!important;}
html[data-theme="dark"] .app-shell .worker-layout .welcome-mini :is(h1,h1 span,.eyebrow,.night-welcome-sub,.ops-hud-marker),html[data-theme="light"] .app-shell .worker-layout .welcome-mini :is(h1,h1 span,.eyebrow,.night-welcome-sub,.ops-hud-marker){color:#edf6ff!important;text-shadow:none!important;}
html[data-theme="dark"] .app-shell .worker-layout .welcome-mini .ops-hud-marker,html[data-theme="light"] .app-shell .worker-layout .welcome-mini .ops-hud-marker{color:#7eeaf3!important;}
html[data-theme="dark"] .app-shell .worker-layout .welcome-mini .night-live-pill,html[data-theme="light"] .app-shell .worker-layout .welcome-mini .night-live-pill{background:#203c3b!important;color:#a7f9da!important;border:1px solid #3b8a82!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-hero,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero{background:radial-gradient(ellipse 75% 95% at 115% 30%,#6b224d66,transparent 65%),radial-gradient(ellipse 80% 98% at -25% -28%,#1c689e50,transparent 65%),linear-gradient(125deg,#101d31,#101a2d 63%,#21152f)!important;border:1px solid #476580!important;box-shadow:0 18px 44px #0a14284d,0 0 40px #ff598113,inset 0 1px #ffffff1c!important;color:#f6fbff!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-hero:after,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero:after{border-color:#ed699127!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-hero h2,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero h2{color:#fff!important;text-shadow:none!important;line-height:1.12;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-hero h2 span,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero h2 span{color:#ffa2c6!important;text-shadow:0 0 24px #fd5a993b!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-hero>p,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero>p{color:#dce9f8!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-hero .staff-hero-kicker,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero .staff-hero-kicker{color:#97ddea!important;letter-spacing:.14em;}
.neon-mission-panel{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:19px;padding:16px 19px;margin-top:20px;border:1px solid #45627c;border-radius:20px;background:linear-gradient(110deg,#0c1525ca,#1d2238c6);box-shadow:inset 0 1px #ffffff0e,0 10px 25px #01081336;}
.neon-mission-ring,.neon-issue-dial{width:116px;height:116px;border-radius:50%;padding:8px;background:conic-gradient(from -90deg,#ff6093 0 var(--neon-progress),#304459 var(--neon-progress) 100%);box-shadow:0 0 28px #ff528827,inset 0 0 0 1px #ffffff34;flex-shrink:0;}
.neon-mission-ring-inner,.neon-issue-dial>div{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at 40% 25%,#1c3045,#0a1526 73%);box-shadow:inset 0 2px 14px #0009;border:1px solid #253d53;color:#fff;}
.neon-mission-ring-inner strong,.neon-issue-dial b{display:flex;align-items:baseline;line-height:1;color:#fff!important;font:850 30px/1.05 Manrope,system-ui;letter-spacing:-.055em;text-shadow:none!important;}
.neon-mission-ring-inner strong small,.neon-issue-dial b small{font-size:13px;color:#f4c4d6!important;margin-left:2px;}
.neon-mission-ring-inner>span,.neon-issue-dial>div>span{color:#bbcada!important;font-size:8px;font-weight:800;letter-spacing:.1em;margin-top:5px;}
.neon-mission-info{min-width:0;display:flex;flex-direction:column;gap:9px;}
.neon-signal-label>span{width:7px;height:7px;border-radius:50%;background:#5debb9;box-shadow:0 0 11px #59e6b88c;}
.neon-mission-info>strong{font:800 clamp(15px,2.7vw,19px)/1.25 Manrope,system-ui;color:#f8faff!important;}
.neon-mission-info>.neon-mission-detail{color:#c3d5e5!important;font-size:12px;}
.neon-mission-track{height:5px;background:#2f435c;border-radius:12px;overflow:hidden;margin-top:2px;}
.neon-mission-track>span{display:block;height:100%;background:linear-gradient(90deg,#fa588d,#b389f6,#70e5f4);border-radius:8px;box-shadow:0 0 15px #ff7fad;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-stats>div,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero .staff-dashboard-stats>div{background:linear-gradient(153deg,#172439,#112035)!important;border:1px solid #3b5571!important;box-shadow:inset 0 1px #ffffff19,0 11px 28px #0511224c!important;position:relative;overflow:hidden;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-stats>div:before,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-stats>div:before{content:"";height:3px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,#ff6fa1,#b78aff,#75e9f7);}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-stats>div:nth-child(2):before,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-stats>div:nth-child(2):before{background:linear-gradient(90deg,#75e9f7,#a78bfa);}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-stats>div:nth-child(3):before,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-stats>div:nth-child(3):before{background:linear-gradient(90deg,#ffb76a,#ff6493);}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-stats>div strong,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-stats>div strong{color:#fff!important;text-shadow:none!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-stats>div span,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-stats>div span{color:#d1dff0!important;text-shadow:none!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-hero .staff-dashboard-count-note,html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero .staff-dashboard-count-note{color:#b6c8db!important;}
/* Route cards and mission progress */
html[data-theme="dark"] .app-shell .worker-layout :is(.ops-focus-card,.staff-day-route,.ops-readiness-card,.ops-problem-widget){border:1px solid #425f7b!important;box-shadow:0 12px 32px #0005,0 0 22px #2bd8ff12!important;}
html[data-theme="dark"] .app-shell .worker-layout .ops-focus-card{background:linear-gradient(145deg,#14213a,#152338 68%,#231b39)!important;}
html[data-theme="dark"] .app-shell .worker-layout .ops-focus-card:before{background:radial-gradient(circle at 90% 15%,#e7558636,transparent 58%)!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-day-route{background:linear-gradient(160deg,#132235,#0c1a2c)!important;}
html[data-theme="light"] .app-shell .worker-layout .staff-day-route{background:#fff!important;border-color:#cbdde9!important;box-shadow:0 9px 28px #23445e13!important;}
html[data-theme="dark"] .app-shell .worker-layout .staff-day-route strong{color:#f1f7ff!important;}
html[data-theme="light"] .app-shell .worker-layout .staff-day-route strong{color:#173149!important;}
html[data-theme="dark"] .app-shell .worker-layout .capture-nav{background:#0d1828f5!important;border:1px solid #355671!important;box-shadow:0 13px 35px #0008!important;}
html[data-theme="dark"] .app-shell .worker-layout .capture-nav button.active{background:linear-gradient(145deg,#214460,#3c2c57)!important;color:#fff!important;box-shadow:inset 0 0 0 1px #77ebf37e,0 0 18px #57e1f43a!important;}
html[data-theme="light"] .app-shell .worker-layout .capture-nav button.active{background:linear-gradient(145deg,#ddf6fc,#f2e8ff)!important;color:#075b78!important;border:1px solid #9fd2e3!important;}
html[data-theme="dark"] .app-shell .btn.primary{background:linear-gradient(115deg,#cc2b61,#962a70)!important;border-color:#ec78a5!important;color:#fff!important;box-shadow:0 7px 23px #cf3b734a!important;}
html[data-theme="light"] .app-shell .btn.primary{background:linear-gradient(115deg,#b9285a,#88265e)!important;border-color:#b74a78!important;color:#fff!important;box-shadow:0 7px 23px #b9427830!important;}
html[data-theme="dark"] .app-shell .btn.outline{background:#17263a!important;color:#dfebfc!important;border:1px solid #46617d!important;}
html[data-theme="dark"] .app-shell .btn.outline:hover{background:#243752!important;border-color:#76cde6!important;}
html[data-theme="light"] .app-shell .btn.outline{background:#f8fcff!important;color:#26485b!important;border:1px solid #b3cede!important;}
/* Issue control room */
html[data-theme="dark"] .app-shell .ops-issues-panel{background:linear-gradient(125deg,#0f1a2b,#111a2d 75%,#20182d)!important;border:1px solid #3d5570!important;color:#eff7ff!important;box-shadow:0 18px 43px #0007!important;}
html[data-theme="dark"] .app-shell .ops-issues-heading h2{color:#fff!important;}
html[data-theme="dark"] .app-shell .ops-issues-heading p{color:#bfd0e4!important;}
html[data-theme="dark"] .app-shell .ops-issues-panel .ops-kicker{color:#89ecf4!important;}
.neon-issue-command{display:flex;align-items:center;gap:18px;background:linear-gradient(110deg,#15283f,#20213c 80%,#2b1936);color:#f5faff!important;border:1px solid #445879;border-radius:17px;padding:16px;margin:15px 0 18px;}
.neon-issue-dial{width:96px;height:96px;padding:7px;}
.neon-issue-dial b{font-size:25px;}
.neon-issue-message{display:flex;flex-direction:column;gap:8px;min-width:0;}
.neon-issue-message strong{color:#fff!important;font:800 clamp(16px,2.3vw,21px)/1.24 Manrope,system-ui;letter-spacing:-.03em;}
.neon-issue-message small{font-size:12px;color:#d1deef!important;}
html[data-theme="dark"] .app-shell .ops-metrics>div{background:linear-gradient(156deg,#17283c,#121d30)!important;border:1px solid #394e6d!important;box-shadow:inset 0 1px #ffffff12,0 9px 22px #0004!important;position:relative;overflow:hidden;}
html[data-theme="dark"] .app-shell .ops-metrics>div:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:#ff7d9d;}
html[data-theme="dark"] .app-shell .ops-metrics>div:nth-child(2):before{background:#81c0ff;}
html[data-theme="dark"] .app-shell .ops-metrics>div:nth-child(3):before{background:#af8afd;}
html[data-theme="dark"] .app-shell .ops-metrics>div:nth-child(4):before{background:#77eec0;}
html[data-theme="dark"] .app-shell .ops-metrics :is(b,span){color:#f6faff!important;}
html[data-theme="light"] .app-shell .ops-metrics>div{background:#f9fcff!important;color:#1e354b!important;border:1px solid #c9deee!important;box-shadow:0 6px 17px #233f6614!important;}
html[data-theme="light"] .app-shell .ops-metrics b{color:#20364c!important;}
html[data-theme="light"] .app-shell .ops-metrics span{color:#52697c!important;}
html[data-theme="dark"] .app-shell .ops-filters button{color:#cbdaea!important;border:1px solid #44617a!important;background:#142238!important;}
html[data-theme="dark"] .app-shell .ops-filters button[aria-pressed="true"]{color:#0b1b2d!important;background:#88eaf6!important;border-color:#a4f1f9!important;}
html[data-theme="dark"] .app-shell .ops-issue-card{background:linear-gradient(158deg,#15253a,#111d30)!important;border:1px solid #3a5270!important;box-shadow:0 9px 25px #0005!important;}
html[data-theme="dark"] .app-shell .ops-issue-card :is(h3,strong){color:#f2f7ff!important;}
html[data-theme="dark"] .app-shell .ops-issue-card :is(p,small,.ops-issue-date){color:#c1d2e5!important;}
html[data-theme="dark"] .app-shell .ops-issue-card .ops-issue-detail{background:#20344c!important;color:#dcecff!important;}
html[data-theme="light"] .app-shell .ops-issue-card{background:#fff!important;color:#183048!important;box-shadow:0 7px 22px #20446013!important;}
html[data-theme="light"] .app-shell .ops-issue-card :is(h3,strong){color:#172f47!important;}
html[data-theme="light"] .app-shell .ops-issue-card :is(p,small,.ops-issue-date){color:#455d70!important;}
/* Support: restyle existing fixed widget only; keep approval, polling, drafts, handlers untouched. */
#rel-support-fab{background:linear-gradient(155deg,#1a3147,#102034 75%)!important;border:1px solid #65dcf0!important;color:#ebfbff!important;box-shadow:0 10px 30px #0009,0 0 18px #49e1fd4a,inset 0 1px #ffffff37!important;}
#rel-support-fab svg{color:#91f0fa;filter:drop-shadow(0 0 6px #6ce3f04a);}
#rel-support-fab .rel-sup-unread{background:#ff4f89;color:#fff;border-color:#0b1928;}
#rel-support-layer .rel-sup-window{background:#0d1829;border-color:#426281;box-shadow:0 20px 70px #000b,0 0 30px #58dcef22;}
#rel-support-layer .rel-sup-top{background:linear-gradient(105deg,#12263b,#23213e);border-bottom:1px solid #4b6079;}
#rel-support-layer .rel-sup-eyebrow{color:#8deef4!important;}
#rel-support-layer .rel-sup-online{color:#e2efff!important;background:#101e30!important;}
#rel-support-layer .rel-sup-primary{background:linear-gradient(115deg,#ac2e67,#7f326f)!important;border-color:#dc7caa!important;color:#fff!important;}
#rel-support-layer .rel-sup-bubble{background:#17283e;border-color:#426078;color:#eaf5ff;}
#rel-support-layer .rel-sup-message.mine .rel-sup-bubble{background:#253150;border-color:#7365a5;}
#rel-support-layer .rel-sup-dot.available{background:#59efbd;box-shadow:0 0 12px #4df2b8aa;}
#rel-support-layer .rel-sup-dot.away{background:#abbad1;}
/* Admin chat intentionally dark in both modes. */
html[data-theme="dark"] .app-shell .rel-sup-inbox-item.selected,html[data-theme="light"] .app-shell .rel-sup-inbox-item.selected{background:#233751!important;border-color:#82dce8!important;}
html[data-theme="dark"] .app-shell .rel-sup-availability-button.on,html[data-theme="light"] .app-shell .rel-sup-availability-button.on{background:#174038!important;border-color:#4fc4a4!important;color:#caffea!important;}
/* Focus & responsive basics */
.neon-admin-links button:focus-visible,.app-shell .neon-admin-links button:focus-visible{outline:3px solid #79ecfa;outline-offset:3px;}
@media(max-width:850px){.neon-admin-command{flex-direction:column;}.neon-admin-links{flex:unset;}}
@media(max-width:600px){.neon-admin-command{padding:17px;gap:15px;border-radius:18px;}.neon-admin-links button{min-height:90px;padding:10px;}.neon-admin-links button>b{font-size:12px;}.neon-admin-links button>small{font-size:10px;}.neon-mission-panel{grid-template-columns:95px minmax(0,1fr);gap:13px;padding:13px 12px;margin-top:16px;}.neon-mission-ring{height:90px;width:90px;padding:7px;}.neon-mission-ring-inner strong{font-size:24px;}.neon-mission-info>strong{font-size:15px;}.neon-mission-info>.neon-mission-detail{font-size:11px;}.neon-issue-command{padding:12px;gap:11px;}.neon-issue-dial{height:76px;width:76px;padding:6px;}.neon-issue-dial b{font-size:20px;}.neon-issue-dial>div>span{font-size:7px;}.neon-signal-label{font-size:9px;}.app-shell .staff-dashboard-hero{padding:20px 16px!important;}}
@media(max-width:365px){.neon-admin-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;}.neon-admin-links button{padding:8px;}.neon-admin-links button>b{font-size:11px;}.neon-mission-panel{grid-template-columns:1fr;justify-items:center;text-align:center;}.neon-mission-info{align-items:center;width:100%;}.neon-mission-track{width:100%;}}
@media(prefers-reduced-motion:reduce){.neon-admin-links button,.app-shell .btn{transition:none!important;}}

/* Phase-1 QA: restore equivalent, robust layout geometry for DAY view. */
html[data-theme="light"] .app-shell .worker-layout .welcome-mini{
  min-height:195px!important;padding:24px 19px 22px!important;
  display:flex;flex-direction:row;justify-content:space-between;align-items:flex-end!important;
  gap:12px;position:relative;overflow:hidden;
}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini>div{min-width:0;flex:1;}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini .eyebrow,
html[data-theme="light"] .app-shell .worker-layout .welcome-mini .ops-hud-marker{display:block;font-size:10px;line-height:1.45;letter-spacing:.11em;margin-bottom:4px;}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini h1{font:800 clamp(23px,5.7vw,34px)/1.13 Manrope,system-ui,sans-serif;margin:9px 0 8px;letter-spacing:-.045em;overflow-wrap:anywhere;}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini .night-welcome-sub{display:block!important;line-height:1.42;font-size:12px;margin:0;}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini .night-live-pill{display:inline-flex!important;align-self:flex-start!important;align-items:center;gap:5px;font-size:9px;letter-spacing:.03em;white-space:normal;max-width:105px;flex-shrink:0;padding:8px 9px;}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini .night-live-pill i{display:inline-block;width:7px;height:7px;flex:none;background:#62e6bb;border-radius:50%;box-shadow:0 0 9px #65ffc3;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card{position:relative;isolation:isolate;overflow:hidden;min-width:0;padding:21px!important;border-radius:22px;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-content{position:relative;z-index:1;min-width:0;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-top{display:flex;justify-content:space-between;align-items:center;gap:10px;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-top .eyebrow{font-size:10px;letter-spacing:.1em;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-status{display:inline-flex;align-items:center;gap:6px;flex:none;padding:6px 8px;font-size:10px;border-radius:999px!important;font-weight:800;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-status span{width:7px;height:7px;background:#eaa454;border-radius:50%;flex:none;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-status.is-live span{background:#34be89;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card h3{font:850 clamp(21px,5.5vw,28px)/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.04em;max-width:69%;margin:24px 0 16px;overflow-wrap:anywhere;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-facts{display:flex;flex-wrap:wrap;gap:6px 12px;max-width:73%;font-size:12px;font-weight:700;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-route-art{position:absolute!important;right:5px!important;top:27px!important;width:min(40%,165px)!important;max-width:40%;opacity:.43;pointer-events:none;z-index:0;filter:none;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-route-art svg{width:100%;height:auto;display:block;}
html[data-theme="light"] .app-shell .worker-layout .ops-focus-card .ops-focus-action{position:relative;z-index:2;margin-top:23px;}
/* Fixed an original dark-mode route artwork overflow of 4px on narrow screens. */
html[data-theme="dark"] .app-shell .worker-layout .ops-focus-card .ops-route-art{right:0!important;max-width:43%!important;}
/* Specificity counteracts earlier v3.19.2 day contrast rule on last KPI. */
html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero .staff-dashboard-stats>div:nth-child(3) strong,
html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-hero .staff-dashboard-stats>div:nth-child(3) span{color:#e9f3ff!important;text-shadow:none!important;}
@media(max-width:410px){html[data-theme="light"] .app-shell .worker-layout .welcome-mini{min-height:207px!important;}.app-shell .worker-layout .ops-focus-card h3{max-width:74%;}}
/* Prevent 1–4 px decorative SVG/drop-shadow overflow on compact dark phones. */
@media(max-width:600px){html[data-theme="dark"],html[data-theme="dark"] body{overflow-x:clip;}}
