/* WWS RE LEUCHTET / SMART PATROL v3.18.0
   Dynamic HTML controls, never a screenshot overlay. Employee only.
   Dark on dark + luminous borders; body text is always legible.
*/
.night-ops .smart-mission,.night-ops .smart-search-page,.night-ops .smart-route-final{box-sizing:border-box}
.night-ops .smart-kicker{color:#95eeff;font-size:11px;font-weight:900;letter-spacing:.16em}
.night-ops .smart-mission{
  position:relative;overflow:hidden;margin:18px 0;padding:20px 20px 21px;
  background:radial-gradient(ellipse 60% 75% at 92% 9%,#65268e45,transparent 80%),linear-gradient(150deg,#10172e 0%,#081528 62%,#071728 100%);
  border:1px solid #b88fff;border-radius:9px 24px 9px 24px;
  box-shadow:0 0 0 1px #986dff27,0 0 35px #744df24e,inset 0 1px #fff4;color:#f9fbff;
}
.night-ops .smart-mission:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background:repeating-linear-gradient(90deg,transparent 0 26px,#4aafff0b 27px 28px)}
.night-ops .smart-mission>*{position:relative}
.night-ops .smart-mission-head{display:flex;gap:12px;align-items:center;justify-content:space-between}
.night-ops .smart-mission-chip{font-size:10px;font-weight:900;white-space:nowrap;letter-spacing:.09em;border:1px solid #40efbb;background:#05362e;color:#89ffe0;padding:6px 9px;border-radius:5px;box-shadow:0 0 15px #00ebb65c}
.night-ops .smart-mission-body{display:flex;align-items:center;gap:22px;padding:18px 0 21px}
.night-ops .smart-mission-dial{width:128px;height:128px;flex:none;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;isolation:isolate;background:conic-gradient(#4df8fb var(--smart-progress),#283651 0);box-shadow:0 0 26px #24f2fb66,0 0 28px #9e5dff55}
.night-ops .smart-mission-dial:after{content:"";position:absolute;inset:10px;background:radial-gradient(circle at 55% 30%,#1c2852,#080f24 72%);border-radius:50%;z-index:-1}
.night-ops .smart-mission-dial strong{font-size:37px;line-height:1;font-weight:950;color:#fff;text-shadow:0 0 16px #9f8cff}
.night-ops .smart-mission-dial strong small{font-size:17px;color:#9cf7ff}
.night-ops .smart-mission-dial>span{font-size:9px;font-weight:850;letter-spacing:.13em;color:#e3faff;margin-top:8px}
.night-ops .smart-mission-detail{min-width:0}
.night-ops .smart-mission-detail>b{display:block;font-size:19px;line-height:1.25;color:#fff;overflow-wrap:anywhere}
.night-ops .smart-mission-detail p{margin:11px 0 5px;color:#e5f0ff;font-size:13px;line-height:1.5}
.night-ops .smart-mission-detail p strong{font-weight:900;color:#fff}
.night-ops .smart-mission-detail>span{font-size:12px;color:#9fefff}
.night-ops .smart-mission-track{height:11px;padding:2px;border-radius:20px;background:#1c2941;border:1px solid #476492}
.night-ops .smart-mission-track span{display:block;height:5px;border-radius:10px;background:linear-gradient(90deg,#875bff,#c58cff,#43eeff);box-shadow:0 0 16px #ac65ff;transition:width .6s ease}
.night-ops .smart-mission-segments{display:flex;gap:4px;justify-content:stretch;margin-top:12px}
.night-ops .smart-mission-segment{height:5px;flex:1;min-width:2px;background:#31415c;transform:skew(-19deg);border-radius:1px}
.night-ops .smart-mission-segment.is-done{background:#3df6c5;box-shadow:0 0 9px #3df6c588}
.night-ops .smart-dashboard-search,.night-ops .smart-route-search-trigger{display:flex;margin:14px 0 18px}
.night-ops .smart-find-trigger{min-height:52px;width:100%;display:flex;gap:9px;align-items:center;justify-content:center;font-size:14px!important;font-weight:850!important;letter-spacing:.02em!important;white-space:normal!important;text-align:center;border-color:#4cecff!important;box-shadow:0 0 20px #29cfff60!important}
.night-ops .smart-find-trigger>span:first-child{font-size:23px;color:#5aeaff}
.night-ops .smart-find-trigger>span:last-child{color:#80f4ff}
.night-ops .smart-search-page{padding:20px;background:linear-gradient(140deg,#0b1428,#091629);border:1px solid #45dafe;border-radius:9px 24px 9px 24px;box-shadow:0 0 31px #2bdafa36;margin:12px 0 30px;color:#f7fbff}
.night-ops .smart-search-top{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;justify-content:space-between}
.night-ops .smart-search-top h2{font-size:clamp(25px,5vw,34px);line-height:1.1;letter-spacing:-.04em;color:#fff!important;margin:7px 0}
.night-ops .smart-search-sub{font-size:.62em;color:#62dfff}
.night-ops .smart-search-intro{line-height:1.58;color:#cce1f3!important;font-size:13px!important;margin:12px 0 21px}
.night-ops .smart-search-label{display:block;font-size:12px;color:#cef5ff!important;margin:10px 0 8px;font-weight:850}
.night-ops .smart-search-input-wrap{display:flex;align-items:center;gap:10px;border:1.5px solid #55f0ff;border-radius:9px 18px 9px 18px;background:#090f21;color:#eaffff;box-shadow:0 0 21px #32d9f961,inset 0 1px #fff2;padding:4px 10px}
.night-ops .smart-search-input-wrap>span{color:#5df3ff;font-size:30px;line-height:1}
.night-ops .smart-search-input{background:transparent!important;color:#fff!important;border:0!important;outline:none!important;min-width:0;flex:1;height:43px;font-size:15px!important;box-shadow:none!important}
.night-ops .smart-search-input::placeholder{color:#afc3d6!important;opacity:1}
.night-ops .smart-search-reset{border:0;background:#1c2942;color:#e6faff;font-size:21px;border-radius:6px;min-width:34px;min-height:34px;cursor:pointer}
.night-ops .smart-search-filters{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0}
.night-ops .smart-search-filters button{font:850 12px system-ui,sans-serif;min-height:42px;border:1px solid #4e6f91;border-radius:6px 12px 6px 12px;color:#e2edff;background:#13233b;padding:9px 13px;cursor:pointer}
.night-ops .smart-search-filters button[aria-pressed="true"]{color:#fff;border-color:#b79cff;background:#3d276f;box-shadow:0 0 15px #9951ff8c}
.night-ops .smart-search-count{font-size:11px;color:#90ecff;font-weight:850;letter-spacing:.13em;margin:19px 0 10px}
.night-ops .smart-search-results{display:grid;gap:11px}
.night-ops .smart-site-result{background:#0e1b32;border:1px solid #38618a;border-radius:8px 19px 8px 19px;padding:15px;box-shadow:inset 0 1px #fff1;min-width:0}
.night-ops .smart-site-result[data-smart-status="next"]{border-color:#59e7ff;box-shadow:0 0 18px #15c9ff4f;background:linear-gradient(125deg,#10203a,#111633)}
.night-ops .smart-site-result[data-smart-status="done"]{border-color:#38cfac;background:#0c292c}
.night-ops .smart-site-title{display:flex;justify-content:space-between;align-items:flex-start;gap:9px}
.night-ops .smart-site-title>div{min-width:0}
.night-ops .smart-site-code{color:#79f0ff;font:850 11px system-ui;letter-spacing:.04em}
.night-ops .smart-site-title h3{color:#fff;font-size:18px;line-height:1.25;margin:7px 0 4px;overflow-wrap:anywhere}
.night-ops .smart-site-state{color:#d3caff;background:#281c43;border:1px solid #816cc1;border-radius:7px;padding:7px 9px;font-size:10px;line-height:1.25;font-weight:900;text-align:center;white-space:nowrap}
.night-ops .smart-site-result[data-smart-status="done"] .smart-site-state{color:#a9ffdf;background:#093b30;border-color:#3ce2b7}
.night-ops .smart-site-result[data-smart-status="next"] .smart-site-state{color:#acfbff;background:#0b3140;border-color:#50daff}
.night-ops .smart-site-result>p{color:#c5d9eb!important;font-size:12px;margin:6px 0 12px}
.night-ops .smart-site-actions{display:flex;gap:10px;flex-wrap:wrap}
.night-ops .smart-site-actions a,.night-ops .smart-site-actions button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;font:850 12px system-ui;text-decoration:none;color:#dcfaff;background:#102d40;border:1px solid #49cfff;border-radius:5px 12px 5px 12px;cursor:pointer}
.night-ops .smart-site-actions button{background:#65215a;border-color:#f48cda;color:#fff;box-shadow:0 0 13px #ff4dc36b}
.night-ops .smart-search-footnote{font-size:12px!important;line-height:1.6;color:#bdcedd!important;margin:20px 0}
.night-ops .smart-search-empty,.night-ops .smart-search-more{padding:20px;color:#dceeff;background:#11213a;border:1px solid #44627b;border-radius:9px}
.night-ops .smart-route-final{text-align:center;position:relative;overflow:hidden;margin:18px 0 30px;padding:35px 20px;background:radial-gradient(circle at 50% 14%,#0b675262,transparent 40%),radial-gradient(ellipse 80% 48% at 90% 70%,#522c8752,transparent 85%),#061322;border:1px solid #4df5c4;border-radius:10px 30px 10px 30px;box-shadow:0 0 37px #19efae5c,0 0 28px #9863f14f;color:#fff}
.night-ops .smart-route-final:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 36px,#3dd4fb0d 37px 38px)}
.night-ops .smart-route-final>*{position:relative}
.night-ops .smart-final-halo{display:grid;place-items:center;margin:4px auto 27px;width:128px;height:128px;border-radius:50%;font-size:80px;font-weight:900;color:#fff;background:radial-gradient(circle,#09523e,#062f30 70%);border:6px solid #78ffdc;box-shadow:0 0 25px #2bf5ba,0 0 56px #24fcb47d,inset 0 0 17px #3dffc9c0}
.night-ops .smart-route-final h2{font-weight:950!important;line-height:.95!important;font-size:clamp(35px,9vw,62px)!important;color:#fff!important;letter-spacing:-.065em;margin:22px 0}
.night-ops .smart-route-final h2 span{color:#73ffdb;text-shadow:0 0 21px #20ffb08e}
.night-ops .smart-route-final>p{color:#e6f6ff!important;font-size:14px;line-height:1.6;margin:15px auto;max-width:430px}
.night-ops .smart-final-name{font-weight:900;color:#e2d5ff;font-size:17px;margin:20px 0;overflow-wrap:anywhere}
.night-ops .smart-final-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}
.night-ops .smart-final-stats>div{padding:16px 5px;background:#0e2036;border:1px solid #42738b;border-radius:6px 13px 6px 13px}
.night-ops .smart-final-stats strong{display:block;font-size:clamp(21px,5vw,31px);color:#fff;font-weight:950}
.night-ops .smart-final-stats span{display:block;margin-top:6px;font-size:10px;color:#c9e3ef;line-height:1.4}
.night-ops .smart-final-saved{margin:18px 0 23px;padding:12px;background:#0b352d;border:1px solid #4aebc1;border-radius:9px;color:#c8ffe7;font-size:13px;font-weight:800}
.smart-final-overlay-count{color:#92ffe9;font-weight:950;font-size:clamp(22px,5vw,34px);text-shadow:0 0 12px #16ffc3;margin-bottom:10px}
@media(max-width:420px){.night-ops .smart-mission{padding:17px 14px}.night-ops .smart-mission-body{gap:14px}.night-ops .smart-mission-dial{width:100px;height:100px}.night-ops .smart-mission-dial:after{inset:8px}.night-ops .smart-mission-dial strong{font-size:29px}.night-ops .smart-mission-detail>b{font-size:16px}.night-ops .smart-search-page{padding:15px}.night-ops .smart-site-title{flex-wrap:wrap}.night-ops .smart-final-stats>div{padding:11px 4px}}
@media(prefers-reduced-motion:reduce){.night-ops .smart-mission-track span{transition:none}}
/* In der Tagesansicht werden die smart cards nicht leuchtend angezeigt: dunkles Karten-Design hat trotzdem hohen Kontrast. */
html[data-theme="light"] .night-ops .smart-mission,html[data-theme="light"] .night-ops .smart-search-page,html[data-theme="light"] .night-ops .smart-route-final{background:#0d1a2e;color:#fff}
html[data-theme="light"] .night-ops .smart-search-top h2,html[data-theme="light"] .night-ops .smart-site-title h3{color:#fff}
html[data-theme="light"] .night-ops .smart-site-result{background:#14213a;color:#fff}
html[data-theme="light"] .night-ops .smart-site-result>p,html[data-theme="light"] .night-ops .smart-search-intro{color:#d3e5fa}
html[data-theme="light"] .night-ops .smart-search-input{background:transparent;color:#fff}
html[data-theme="light"] .night-ops .smart-search-input::placeholder{color:#c4d1e5}
html[data-theme="light"] .night-ops .smart-search-filters button{background:#1d2940;color:#fff}
html[data-theme="light"] .night-ops .smart-search-filters button[aria-pressed="true"]{background:#492a70}
html[data-theme="light"] .night-ops .smart-site-actions a,html[data-theme="light"] .night-ops .smart-site-actions button{color:#fff}
