/* WWS RE LEUCHTET v3.19.0 · AURORA OPS | Modern day/night skin.
   Loaded last, preserving route, maps, existing dialogs, Chat and JS. */
:root{
 --ops-cyan:#0e92aa; --ops-cyan-soft:#dbf4f7; --ops-violet:#7569dd;
 --ops-panel:#ffffff; --ops-outer:#f1f5f9;--ops-ink:#162333;
 --ops-sub:#566a7c;--ops-stroke:#d7e2eb;--ops-glow:#45d2e4;
}
html[data-theme="dark"]{
 --ops-cyan:#6bd9ec;--ops-cyan-soft:#173d4d;--ops-panel:#101e2b;
 --ops-outer:#080f1b;--ops-ink:#f3f8ff;--ops-sub:#b0c5d6;
 --ops-stroke:#31485b;--ops-glow:#50d9ee;
}
html,body{background:var(--ops-outer);}
.app-shell{background:
 radial-gradient(ellipse 80% 430px at 80% 15px,#53bfd21a,transparent 75%),
 radial-gradient(ellipse 55% 300px at -15% 360px,#8e7edc10,transparent 80%),
 var(--ops-outer);min-height:100dvh;}
html[data-theme="dark"] .app-shell{background:
 radial-gradient(ellipse 85% 480px at 82% -20px,#207a9850,transparent 75%),
 radial-gradient(ellipse 80% 480px at -20% 700px,#663a8a23,transparent 73%),
 #080f1b;}
.app-shell .topbar{background:#f9fdffeb;border-bottom:1px solid #cce0e9;padding-block:0;box-shadow:0 4px 26px #22486609;}
html[data-theme="dark"] .app-shell .topbar{background:#0b1521ef;border-color:#2d4656;box-shadow:0 6px 35px #0007;}
.app-shell .brand-emblem{background:linear-gradient(150deg,#cd2445,#a00e2e);border:1px solid #d95a71;box-shadow:0 7px 24px #b32c4652;}
.app-shell .user-chip{border:1px solid var(--ops-stroke);background:var(--ops-panel);color:var(--ops-sub);}
.app-shell .container .hero{padding:24px 27px;margin-bottom:20px;background:linear-gradient(105deg,#ffffffea,#e9f7fbdc 78%);border:1px solid #c8e4ed;border-radius:24px;box-shadow:0 16px 38px #21677b10;position:relative;overflow:hidden;}
.app-shell .container .hero:after{content:"";width:180px;height:180px;border:1px solid #24a7c647;position:absolute;right:-90px;top:-115px;border-radius:50%;box-shadow:0 0 0 26px #1fa8cb0b;pointer-events:none;}
html[data-theme="dark"] .app-shell .container .hero{background:linear-gradient(110deg,#12202f,#10293a 82%);border-color:#3b6c81;box-shadow:0 14px 42px #0006,0 0 35px #1b9bce13;}
.app-shell .container .hero h1{letter-spacing:-.055em;}
.app-shell .container .hero-stat{border-color:var(--ops-stroke);background:var(--ops-panel);color:var(--ops-ink);white-space:normal;}
.app-shell .card,.app-shell .stat-card,.app-shell .route-option{border-radius:19px;border-color:var(--ops-stroke);box-shadow:0 11px 31px #21476512;}
html[data-theme="dark"] .app-shell .card,
html[data-theme="dark"] .app-shell .stat-card,
html[data-theme="dark"] .app-shell .route-option{background:#111f2e!important;border-color:#315166!important;color:#f2f7fd!important;box-shadow:0 11px 32px #0006,0 0 0 1px #3bcde411!important;}
.app-shell .btn{border-radius:12px;letter-spacing:.01em;transition:transform .16s,filter .16s,border-color .16s,box-shadow .16s;}
.app-shell .btn.primary{background:linear-gradient(130deg,#bf1940,#982342);color:#fff;box-shadow:0 7px 25px #a91f4a2c;}
html[data-theme="dark"] .app-shell .btn.primary{background:linear-gradient(130deg,#bb244a,#921c41)!important;color:#fff!important;border:1px solid #d6597d!important;box-shadow:0 6px 27px #b8295750!important;}
.app-shell .btn:focus-visible,.app-shell [data-act]:focus-visible{outline:3px solid #62d8f2;outline-offset:3px;}
.app-shell .admin-tabs{border-radius:18px;padding:7px;border:1px solid var(--ops-stroke);background:var(--ops-panel);box-shadow:0 8px 28px #356b7c0f;}
.app-shell .admin-tabs button{border-radius:12px;transition:background .15s,box-shadow .15s;}
html[data-theme="dark"] .app-shell .admin-tabs{background:#0c1a27!important;border-color:#345166!important;}
html[data-theme="dark"] .app-shell .admin-tabs button.active{background:linear-gradient(100deg,#194a60,#233b62)!important;color:#e6fcff!important;box-shadow:inset 0 0 0 1px #5ed4e466,0 0 18px #1ea4c133;}
.app-shell .field{border-color:var(--ops-stroke);border-radius:12px;}
.app-shell .stats .stat-card{position:relative;overflow:hidden;}
.app-shell .stats .stat-card:before{content:"";position:absolute;top:0;left:18px;right:18px;height:2px;border-radius:2px;background:linear-gradient(90deg,#27b7cf,transparent);}
.app-shell .worker-layout .welcome-mini{border-radius:23px!important;overflow:hidden;}
html[data-theme="dark"] .app-shell .worker-layout .welcome-mini{background:
 linear-gradient(90deg,#08131eec,#122437d9 65%,#123849b3),url('/live-hero.webp') center 37%/cover no-repeat!important;
 border:1px solid #397b8d!important;box-shadow:0 15px 38px #000a,0 0 38px #0b8eb51c!important;}
html[data-theme="light"] .app-shell .worker-layout .welcome-mini{background:
 linear-gradient(90deg,#edfafff4,#e7f6ffcf 70%,#d1edfd98),url('/live-hero.webp') center 37%/cover no-repeat!important;
 border:1px solid #a8d8e7!important;box-shadow:0 15px 38px #38798a21!important;}
.app-shell .worker-layout .capture-nav{box-shadow:0 12px 32px #16395b1c;border:1px solid #b9d7e0;}
html[data-theme="dark"] .app-shell .worker-layout .capture-nav{background:#0b1928!important;border:1px solid #335a6e!important;box-shadow:0 14px 37px #000a,0 0 25px #2199b320!important;}
html[data-theme="dark"] .app-shell .worker-layout .capture-nav button.active{background:#174356!important;color:#ddfcff!important;box-shadow:inset 0 0 0 1px #52d0e060!important;}
.app-shell .worker-layout .ops-focus-card,
.app-shell .worker-layout .progress-card{
 border-radius:23px!important;overflow:hidden;}
html[data-theme="dark"] .app-shell .worker-layout .ops-focus-card,
html[data-theme="dark"] .app-shell .worker-layout .progress-card{background:linear-gradient(150deg,#0e2332,#112236 70%,#17223e)!important;border:1px solid #337286!important;box-shadow:0 13px 30px #0008,0 0 23px #1b99bf1f!important;}
.app-shell .worker-layout .progress-bar>div,.app-shell .worker-layout .guided-progress-bar>span{background:linear-gradient(90deg,#27b8cf,#64ebf2,#ad92ff)!important;box-shadow:0 0 17px #4eddec88;}
html[data-theme="dark"] .app-shell .worker-layout .staff-day-route,
html[data-theme="dark"] .app-shell .worker-layout .staff-dashboard-stats>div{background:#132536!important;border-color:#35526a!important;box-shadow:0 5px 18px #0004!important;}
html[data-theme="light"] .app-shell .worker-layout .staff-day-route,
html[data-theme="light"] .app-shell .worker-layout .staff-dashboard-stats>div{background:#fff!important;border:1px solid #c9e0e9!important;box-shadow:0 8px 24px #2d778114!important;}
html[data-theme="dark"] .app-shell .worker-layout .guided-choice.is-selected,
html[data-theme="dark"] .app-shell .worker-layout .guided-arrive-btn{box-shadow:0 5px 22px #0a8a9c22!important;}
html[data-theme="dark"] .app-shell .worker-layout .stop-card,
html[data-theme="dark"] .app-shell .worker-layout .staff-map-panel,
html[data-theme="dark"] .app-shell .worker-layout .staff-journey-next{border-color:#376076!important;}
/* New modules use their own accessible dual-theme palette. */
.ops-kicker{font-size:10px;letter-spacing:.17em;font-weight:850;color:var(--ops-cyan);text-transform:uppercase;}
.ops-readiness-card,.ops-problem-widget,.ops-issues-panel{
 color:var(--ops-ink);background:var(--ops-panel);border:1px solid var(--ops-stroke);
 box-shadow:0 12px 34px #183d5817;border-radius:20px;padding:21px;margin:14px 0 21px;
}
html[data-theme="dark"] .ops-readiness-card,
html[data-theme="dark"] .ops-problem-widget,
html[data-theme="dark"] .ops-issues-panel{background:linear-gradient(130deg,#102232,#10202e)!important;color:#eff8ff!important;border-color:#376277!important;box-shadow:0 14px 35px #0008,0 0 26px #18bde512!important;}
.ops-check-header,.ops-issues-heading,.ops-problem-head{display:flex;align-items:start;justify-content:space-between;gap:14px;}
.ops-check-header{align-items:center;}.ops-status{font-size:10px;font-weight:800;letter-spacing:.06em;border-radius:999px;padding:6px 9px;white-space:nowrap;background:#edf3f6;color:#466171;}
.ops-status.ready{background:#d5f8ed;color:#0a7350;}.ops-status.warn{background:#fff1da;color:#925b1c;}
html[data-theme="dark"] .ops-status{background:#293d4b;color:#b7cfdd;}html[data-theme="dark"] .ops-status.ready{background:#153e34;color:#95f1d1;}html[data-theme="dark"] .ops-status.warn{background:#473323;color:#ffd49a;}
.ops-ready-main{display:flex;gap:14px;align-items:center;padding:15px 0 9px;}
.ops-ready-main h3,.ops-problem-widget h3{font:800 clamp(17px,4vw,21px)/1.22 Manrope,system-ui;margin:0 0 5px;color:var(--ops-ink);letter-spacing:-.035em;}
.ops-ready-main p,.ops-problem-widget p,.ops-issues-heading p{color:var(--ops-sub);font-size:12px;line-height:1.55;margin:0;}
.ops-check-symbol{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:14px;background:linear-gradient(150deg,#d9f6fa,#edf6ff);color:#076f83;font-size:25px;box-shadow:inset 0 0 0 1px #8de2eb66;}
html[data-theme="dark"] .ops-check-symbol{background:linear-gradient(140deg,#1d5265,#15374e);color:#8ceaff;box-shadow:inset 0 0 0 1px #62cbdf50,0 0 22px #15b3d02d;}
.ops-check-items{display:grid;gap:8px;margin:11px 0 13px;}.ops-check-item{display:grid;grid-template-columns:10px minmax(105px,1fr) minmax(105px,1.6fr);gap:9px;align-items:center;padding:9px 10px;border-radius:10px;background:#ecf5f9;font-size:12px;color:var(--ops-ink);}
.ops-check-item small{font-size:11px;color:var(--ops-sub);text-align:right;overflow-wrap:anywhere;}
html[data-theme="dark"] .ops-check-item{background:#162e3f;color:#e5f4ff;}
.ops-mini-dot{width:8px;height:8px;border-radius:50%;background:#4c9d77}.ops-mini-dot.warn{background:#e9ac61}.ops-mini-dot.bad{background:#e16b7e}.ops-mini-dot.skip{background:#7b93aa;}
.ops-time{font-size:11px;line-height:1.5;color:var(--ops-sub);margin:10px 0!important;}.ops-check-button{width:100%;margin-top:10px;min-height:45px;}
.ops-problem-head{align-items:center;}.ops-problem-head>span{font-size:30px;color:#d38b55;}.ops-problem-widget{border-style:dashed;}
.ops-report-trigger{width:100%;margin-top:17px;min-height:49px;}.ops-report-form{display:grid;gap:9px;margin-top:17px;}.ops-report-form label{font-size:12px;font-weight:750;color:var(--ops-ink);}.ops-report-form .field{width:100%;background:#fff!important;color:#152635!important;border:1px solid #abcad7!important;}.ops-report-form .field:focus{outline:2px solid #53c4d9;outline-offset:1px;}
html[data-theme="dark"] .ops-report-form .field{background:#132a3b!important;color:#f8fcff!important;border:1px solid #4b7287!important;}
.ops-report-form .ops-warning{padding:12px;border-radius:11px;border:1px solid #ecd0ad;background:#fff7ea;color:#735025;font-size:11px;line-height:1.6;}
html[data-theme="dark"] .ops-report-form .ops-warning{background:#352b23!important;color:#f5d5ab!important;border-color:#7a593b!important;}
.ops-actions{display:flex;gap:8px;flex-wrap:wrap;}.ops-actions button{flex:1;min-height:46px;}
.ops-issues-heading{align-items:center;margin-bottom:20px;}.ops-issues-heading h2{font:800 clamp(21px,3vw,28px)/1.2 Manrope,system-ui;margin:8px 0;letter-spacing:-.04em;color:var(--ops-ink);}.ops-issues-heading p{max-width:620px;}
.ops-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0;}.ops-metrics>div{padding:15px;border-radius:14px;background:#eef6fa;border:1px solid #d8e8ef;display:flex;flex-direction:column;gap:5px;}.ops-metrics b{font:850 29px/1 Manrope,system-ui;color:var(--ops-ink)}.ops-metrics span{color:var(--ops-sub);font-size:11px;}
html[data-theme="dark"] .ops-metrics>div{background:#172e3f;border-color:#32556a;}
.ops-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px;}.ops-filters button{border-radius:999px;border:1px solid var(--ops-stroke);padding:9px 13px;color:var(--ops-ink);background:transparent;font-size:12px;font-weight:800;}.ops-filters button[aria-pressed="true"]{background:#c9f0f6;border-color:#79d5e2;color:#075e77;}
html[data-theme="dark"] .ops-filters button[aria-pressed="true"]{background:#18526a;border-color:#55bddd;color:#dcfcff;}
.ops-issue-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;}.ops-issue-card{background:#f9fcff;border:1px solid var(--ops-stroke);border-radius:16px;padding:17px;display:flex;flex-direction:column;gap:10px;min-width:0;}
html[data-theme="dark"] .ops-issue-card{background:#152b3a;border-color:#31576c;}
.ops-issue-top{display:flex;align-items:center;justify-content:space-between;gap:7px;}.ops-issue-date{font-size:10px;color:var(--ops-sub);}.ops-issue-state{font-size:10px;letter-spacing:.06em;font-weight:850;border-radius:6px;padding:6px 8px;background:#fee9d3;color:#965621;}.ops-issue-state.progress{background:#d5eaf9;color:#145b86;}.ops-issue-state.resolved{background:#dcf6e9;color:#1a7753;}.ops-issue-state.derived{background:#eee6ff;color:#6243ac;}
html[data-theme="dark"] .ops-issue-state{background:#4b3528;color:#ffcd95;}html[data-theme="dark"] .ops-issue-state.progress{background:#1b425c;color:#b9e2ff;}html[data-theme="dark"] .ops-issue-state.resolved{background:#1d4237;color:#b4efcf;}html[data-theme="dark"] .ops-issue-state.derived{background:#322d51;color:#d6c9ff;}
.ops-issue-card h3{font:800 17px/1.35 Manrope,system-ui;color:var(--ops-ink);margin:0;}.ops-issue-card p{margin:0;color:var(--ops-sub);font-size:12px;line-height:1.5;}.ops-issue-detail{background:#eaf3f8;border-radius:9px;padding:10px;overflow-wrap:anywhere;}.ops-issue-card small{color:var(--ops-sub);font-size:11px;line-height:1.4;}
html[data-theme="dark"] .ops-issue-detail{background:#203d50;color:#deeffa;}
.ops-issue-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:8px;}.ops-issue-actions .btn{font-size:11px;padding:9px 12px;}.ops-empty{border:1px dashed var(--ops-stroke);border-radius:14px;color:var(--ops-sub);padding:25px;text-align:center;}
.ops-count{display:inline-grid;place-items:center;min-width:18px;padding:1px 5px;border-radius:999px;background:#b72045;color:white;font-size:10px;}
@media(max-width:710px){.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}.ops-issues-heading{align-items:stretch;flex-direction:column;}.ops-issues-heading .btn{width:100%;}}
@media(max-width:480px){.ops-readiness-card,.ops-problem-widget,.ops-issues-panel{padding:16px;border-radius:16px}.ops-check-item{grid-template-columns:9px minmax(0,1fr);}.ops-check-item small{grid-column:2;text-align:left}.ops-ready-main{gap:11px}.ops-check-symbol{width:42px;height:42px}.app-shell .container .hero{padding:20px 16px;}}
@media(prefers-reduced-motion:reduce){.app-shell .btn{transition:none!important;}}

.ops-status.blocked{background:#ffe1e5;color:#a4213f}html[data-theme="dark"] .ops-status.blocked{background:#502432;color:#ffbecb}
