/* WEITBLICK customer design: visual layer only. Functional IDs, rights and workflows stay intact.
   Reference: accepted homepage refashion, 28 November 2026; system-font stack, no external assets. */
:root{color-scheme:light;--ink:#181b1e;--muted:#626c76;--accent:#d65a32;--accent-ink:#9b3d21;--pale:#f2f3f4;--line:#dfe1e3;--surface:#fff;--border:#d4d9de;--radius:8px;--space:22px;--ease:cubic-bezier(.2,.75,.25,1);font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#f2f3f4;font-synthesis:none}
html{scrollbar-gutter:stable;scroll-behavior:smooth}
body{margin:0;background:#f2f3f4;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.6;min-height:100vh}
[hidden],.hidden{display:none!important}
button,input,select,textarea{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
body button,body .primary,body header button{background:var(--ink);color:#fff;border:1px solid var(--ink);border-radius:5px;padding:11px 17px;min-height:44px;font-size:14px;font-weight:600;line-height:1.45;box-shadow:none;transition:background-color .15s,border-color .15s}
body button:hover,body .primary:hover{background:#343b42;border-color:#343b42;transform:none}
body .ghostBtn,body .secondary,body .subnav button,body .part button{background:#fff;color:#26323a;border:1px solid #9da7b0;border-radius:5px;box-shadow:none}
body .ghostBtn:hover,body .secondary:hover,body .subnav button:hover{background:#edf0f2;border-color:#677782;color:#181b1e}
body button:disabled,body button:disabled:hover{background:#eceff1;color:#6b737b;border-color:#d5dbe0;opacity:1;cursor:not-allowed;transform:none}
body a{color:#8e3820;text-underline-offset:4px}body a:hover{color:#652814}
body h1,body h2,body h3,body h4{color:var(--ink);font-weight:650;letter-spacing:-.035em;line-height:1.25}
body h2{font-size:27px;margin:0 0 20px}body h3{font-size:19px;margin:0 0 14px}body h4{font-size:16px;margin:22px 0 12px}
body p{line-height:1.7}body .muted,body .hint,body small{color:var(--muted)}
body>.appHeader{display:grid;grid-template-columns:minmax(220px,1fr) auto auto auto;gap:14px;align-items:center;position:relative;z-index:40;padding:24px max(3vw,env(safe-area-inset-right)) 22px;max-width:none;margin:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:none}
.brandBlock h1{font-size:23px!important;letter-spacing:.12em!important;font-weight:800!important;line-height:1.3;display:flex;gap:13px;align-items:center;flex-wrap:wrap}
.brandBlock h1::before{content:'';display:block;width:7px;height:22px;transform:skew(-24deg);background:var(--accent);flex:none}
.brandBlock h1 span{font-size:13px;font-weight:500;color:#626d76;letter-spacing:.02em;border-left:1px solid var(--line);padding-left:13px}
.brandBlock p{margin:7px 0 0 20px!important;font-size:12px!important;color:#68747e;line-height:1.5}
body>nav{position:sticky;top:0;z-index:35;max-width:none;margin:0;display:flex;align-items:center;flex-wrap:nowrap;overflow:auto;overscroll-behavior-x:contain;gap:5px;padding:11px 3vw;background:#232b34;border:0;scrollbar-width:thin;scrollbar-color:#68737c #232b34}
body>nav button,body>nav .ghostBtn{flex:0 0 auto;min-height:44px;padding:11px 16px;background:transparent;color:#d6dfe6;border:1px solid transparent;border-radius:5px;white-space:nowrap;font-size:13px;font-weight:550}
body>nav button.active,body>nav button:hover,body>nav .ghostBtn:hover{background:#f7f8f9;color:#18222a;border-color:#f7f8f9}
body>nav button:disabled{background:transparent;color:#8997a2;border-color:transparent}
body>nav button:disabled:hover{background:transparent;color:#8997a2;border-color:transparent}
body .navBadge{background:#526270;color:#fff;border-radius:4px}
body #customerMain{max-width:1700px;margin:0 auto;padding:12px 3vw 48px}
.customerStatus{margin:12px 3vw;font-size:13px;border-radius:5px;padding:12px 15px;line-height:1.65;background:#fff;border:1px solid #dbe1e5;color:#4d5d69;overflow-wrap:anywhere}
body #customerModeNotice{background:#e8edf0;color:#4d5d69;border:0;border-left:3px solid #a8b5bf;font-size:12px;padding:12px 15px}
body .notice,body .unavailable{padding:14px 16px;border:1px solid #d4dde3;border-left:3px solid #8398a6;background:#eef2f5;color:#415460;border-radius:5px;margin:16px 0;font-size:14px;line-height:1.7}
body .notice p{margin:5px 0}body .notice button{margin:5px 6px 0 0}
body .stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:12px 0 28px}
body .stats article{background:#fff;border:1px solid #dde2e6;border-top:3px solid #b2c0ca;border-radius:6px;padding:21px 20px;min-width:0;box-shadow:none}
body .stats b{font-size:31px;font-weight:650;letter-spacing:-.045em;line-height:1.2;margin-bottom:9px;color:#202b33}
body .stats span{font-size:13px;color:#626f7a;line-height:1.5}
body .stats .defectStat{border-color:#e0d0ce;border-top-color:#b17568;background:#fff}
.customerUnavailable{opacity:1}body .stats article.customerUnavailable b{color:#7f8c96}
body .sectionTitle{align-items:center;gap:20px;margin:26px 0 20px}body .sectionTitle h2{font-size:25px;margin:0}body .sectionTitle .hint{max-width:520px;font-size:12px}
body .cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:18px;align-items:stretch}
body .card{background:#fff;border:1px solid #d8dfe4;border-radius:7px;box-shadow:0 3px 8px #26354505;min-width:0;overflow:hidden}
body .card:hover{border-color:#9aabb8;transform:none;box-shadow:0 5px 20px #2635450b}
body .cardBody{padding:21px;gap:7px}body .card .plate{font-size:22px;font-weight:700;color:#1e2b34;line-height:1.3;letter-spacing:.015em}
body .card .car{font-size:15px;color:#536571}body .card p{font-size:13px;color:#526471}
.customerPlaceholder{height:116px;display:grid;place-items:center;background:#e7edf1;color:#526a7b;font-size:13px;border-bottom:1px solid #dbe3e9}
body .card .thumb{aspect-ratio:16/9}body .card .progress,body .progress{background:#e4e9ed;height:5px;border-radius:2px}body .progress i{background:#b96a46}
body .tag,body .badge,body .mini .tag,body .partState{border-radius:4px;background:#edf1f4;color:#3a5569;font-size:12px;font-weight:550;padding:5px 8px;border:1px solid #e0e7ec}
body .tag.bill{color:#29604b;background:#edf6ef;border-color:#d1e3d6}
body .ok{color:#276047}body .warn{color:#8a510f}body .danger{color:#a33030}
body .alert,body .defectFlag{background:#fff0ed;color:#8d302a;border:1px solid #eac9c3;border-radius:5px;padding:14px}
body .alert span{color:#903f39}body .partsLine{font-size:13px}
body .kanban{display:grid;grid-template-columns:repeat(18,minmax(245px,1fr));gap:15px;overflow-x:auto;padding:0 0 20px;scrollbar-color:#a4b4c0 #e8edf1}
body .column{background:#e7ecf0;border:1px solid #d6dfe6;border-top:3px solid #9baebd;border-radius:6px;padding:14px;min-height:280px}
body .column h3{font-size:14px;color:#3c5262;letter-spacing:0;font-weight:650}
body .column h3 em{background:#d4dee5;color:#3f5363;border-radius:4px;padding:2px 7px;font-weight:600}
body .mini{background:#fff;color:#253a48;border:1px solid #d5dfe7;border-radius:5px;padding:14px;margin:11px 0}
body .mini:hover{border-color:#8ca3b4}body .mini strong{font-size:16px}body .mini small{font-size:12px}
body .tableRow{background:#fff;color:#283b49;border:1px solid #d8e0e6;border-radius:5px;gap:18px;padding:17px 20px;align-items:center;font-size:14px}
body .empty{color:#5d6d79;background:#f7f9fa;border:1px dashed #c3cfd8;border-radius:5px;padding:30px}
body .modal{z-index:70;align-items:center;background:#15202db3;padding:24px;backdrop-filter:blur(3px)}
body .modal .sheet{background:#fff;color:#26343e;border:1px solid #cdd7de;border-radius:10px;width:min(1080px,100%);padding:30px 34px;box-shadow:0 24px 80px #10202d30;max-height:calc(100dvh - 48px);scrollbar-color:#a4b3bd transparent;overscroll-behavior:contain}
body .modal .smallSheet{max-width:760px}
body .close{position:sticky;top:0;right:0;float:right;background:#fff;color:#4b5d69;border:1px solid #c7d1d8;border-radius:50%;font-size:25px;min-width:44px;min-height:44px;margin:-12px -15px 8px 16px;z-index:6;box-shadow:0 3px 7px #172a3c09}
body .close:hover{color:#181b1e;background:#e9eff3;border-color:#a9bac7}
body .panel,body .accordionBody,body .message,body .userCard{background:#fff;color:#2a3e4b;border:1px solid #d8e1e7;border-radius:6px;padding:20px;margin:16px 0;box-shadow:none;overflow-wrap:anywhere}
body .panel .panel{background:#f6f8fa;border-color:#e1e7eb;padding:17px}
body .panelTitle span{color:#5e7180}body .sheet dl{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:10px 22px;padding:17px 0;border-top:1px solid #e0e6eb;border-bottom:1px solid #e0e6eb}
body .sheet dt{color:#647787;font-size:13px}body .sheet dd{margin:0;color:#263b49;font-size:15px;font-weight:550;overflow-wrap:anywhere}
body .sheet form{margin:16px 0}body .sheet form>button,body .sheet section>button{margin:6px 7px 6px 0}
body .field{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:13px;color:#3e5262;margin:14px 0}
body .field>span,body label{line-height:1.6}body input:not([type=checkbox]):not([type=radio]),body select,body textarea,body .sheet input:not([type=checkbox]),body .sheet select{background:#fff;color:#233747;border:1px solid #8b9ca9;border-radius:5px;min-height:46px;font-size:15px;line-height:1.5;padding:11px 13px;max-width:100%;width:100%;box-shadow:none}
body input::placeholder,body textarea::placeholder{color:#6c7c88;opacity:1}
body input:disabled,body select:disabled,body textarea:disabled{background:#edf1f4;color:#627383;border-color:#cbd6de;opacity:1}
body input[readonly]{background:#f1f4f6;color:#465c6d}
body input[type=checkbox],body input[type=radio]{width:20px;height:20px;min-width:20px;min-height:20px;accent-color:#a94a28;flex:none;margin:0}
body .taskRow{display:flex;align-items:flex-start;gap:11px;min-height:44px;padding:11px 0;margin:0!important;color:#344e61;font-size:14px;line-height:1.6}
body .taskRow input{margin-top:2px}body .taskRow input+span{min-width:0}
body fieldset{min-width:0;border:1px solid #d3dfe8;border-radius:5px;padding:13px 16px;margin:18px 0;background:#f8fafb}
body legend{color:#3c5264;font-weight:600;font-size:13px;padding:0 7px;line-height:1.6}
body .panel fieldset{margin:16px 0}body .panel label{margin:10px 0}
body details{background:#f7f9fb;border:1px solid #dce5ec;border-radius:5px;margin:14px 0;padding:12px 15px}
body summary{color:#334f63;cursor:pointer;line-height:1.6;min-height:36px;font-size:14px;font-weight:600}
body .search{max-width:420px}
body .formGrid{gap:16px}body .formGrid>*{min-width:0}
body .networkAudit{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 ui-monospace,Consolas,monospace;color:#3c5568;background:#edf2f6;padding:15px;border-radius:4px}
.networkEntry{min-width:0}body .networkEntry{background:#f5f8fa!important}
body progress{width:100%;height:11px;accent-color:#a94f2f;max-width:100%;display:block;margin:14px 0}
.customerPrivateImage{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:20px auto;background:#e5ebef;border-radius:5px}
body #mediaItems{padding:0;list-style:none}body #mediaItems li{border-top:1px solid #dde5ec;padding:15px 0;color:#3c5364;line-height:1.7}body #mediaItems li>span{display:block;margin-bottom:10px;overflow-wrap:anywhere}body #mediaItems button{margin:5px 7px 5px 0}
body .timeline{border-color:#d0dce5}body .part{border-color:#d7e1e9}body .part small{color:#5c7487}
body .capacityChip,body .planStats>div,body .teamCard,body .planDay,body .monthDay{background:#f2f6f9;color:#354f65;border:1px solid #cedbe6;border-radius:5px}
body .capGreen .capacityChip,body .capacityChip.capGreen{background:#edf7ee;color:#2f6240;border-color:#bad5bd}
body .capOrange .capacityChip,body .capacityChip.capOrange{background:#fff5e7;color:#805011;border-color:#dfc598}
body .capRed .capacityChip,body .capacityChip.capRed{background:#fceeed;color:#963b31;border-color:#e0b9b5}
body .capClosed .capacityChip,body .capacityChip.capClosed{background:#e9eef3;color:#526b80;border-color:#bacbd8}
body .codes{font:15px/1.8 ui-monospace,Consolas,monospace;color:#293e4e;background:#edf2f6;padding:20px 20px 20px 45px;border-radius:5px;overflow-wrap:anywhere}
body #customerAuth:not(.hidden){display:flex;align-items:center;justify-content:center;background:#eef0f2;backdrop-filter:none;padding:75px 24px 100px;overflow:auto;z-index:75}
body #customerAuth .sheet{max-width:540px;width:100%;margin:auto;background:#fff;border:1px solid #d7dee4;border-radius:9px;padding:37px 39px;max-height:calc(100dvh - 170px)}
body #customerAuth .sheet::before{content:'WEITBLICK';display:block;border-left:5px solid var(--accent);padding-left:13px;margin:0 0 33px;font-size:18px;letter-spacing:.14em;font-weight:800;color:#20262b}
body #pilotRoot>h2{font-size:28px;margin:0 0 15px}body #pilotRoot>p{font-size:14px;color:#536779}
body #pilotRoot form{margin-top:24px}body #pilotRoot form>button[type=submit]{width:100%;margin:17px 0 12px}
body #pilotRoot>button{margin:8px 6px 0 0}body #pilotRoot .field{margin:16px 0}
body:has(#customerAuth:not(.hidden))>#status{position:fixed;left:24px;right:24px;bottom:15px;margin:0 auto;z-index:80;max-width:650px;background:#fff;border:1px solid #c8d4dd;border-left:3px solid #b86a46;box-shadow:0 3px 15px #273b4e12;padding:12px 16px;font-size:12px}
body:has(#customerAuth:not(.hidden))>nav{visibility:hidden}
body.customerEnrollment{background:#eef0f2;padding:58px 24px;min-height:100vh}
body.customerEnrollment main{max-width:730px;margin:auto;background:#fff;border:1px solid #d7e0e6;border-radius:9px;padding:38px 44px;box-shadow:0 12px 35px #243a4f08}
body.customerEnrollment h1{font-size:31px;letter-spacing:-.035em;line-height:1.22;border-left:5px solid var(--accent);padding-left:18px;margin:0 0 27px}
body.customerEnrollment p{font-size:14px;color:#4c6375}body.customerEnrollment .panel{background:#fff;padding:0;border:0}
body.customerEnrollment #setupLogin{display:inline-flex;background:var(--ink);color:#fff;border-radius:5px;padding:12px 18px;min-height:44px;align-items:center;text-decoration:none}
body.customerEnrollment #setupLogin[hidden]{display:none!important}
@media(max-width:1000px){body>.appHeader{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:20px 24px}.brandBlock{grid-column:1}.appHeader #globalSearchButton{grid-column:2;grid-row:1}.appHeader #newJob{grid-column:1;grid-row:2}.appHeader #logout{grid-column:2;grid-row:2}body>nav{padding:9px 24px}.customerStatus{margin-left:24px;margin-right:24px}body #customerMain{padding-left:24px;padding-right:24px}body .stats{grid-template-columns:repeat(3,minmax(0,1fr))}body .sectionTitle{align-items:flex-start;flex-direction:column}.brandBlock h1 span{display:none}}
@media(max-width:600px){body{font-size:14px}body>.appHeader{padding:17px 18px;gap:11px}.brandBlock h1{font-size:19px!important;gap:10px}.brandBlock p{font-size:11px!important;margin-left:17px!important}.brandBlock h1::before{height:19px;width:6px}body>nav{padding:8px 12px;gap:3px}body>nav button,body>nav .ghostBtn{font-size:12px;padding:10px 13px;min-height:44px}.customerStatus{margin:11px 16px;padding:11px 13px}body #customerModeNotice{font-size:11px;margin:11px 16px;line-height:1.6}body #customerMain{padding:8px 16px 35px}body .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:23px}body .stats article{padding:17px 14px}body .stats b{font-size:28px}body .stats span{font-size:12px}body .sectionTitle{gap:10px;margin:23px 0 18px}body .sectionTitle h2{font-size:23px}body .cards{gap:15px}body .cardBody{padding:19px}body .card .plate{font-size:21px}body .modal{padding:10px;align-items:center}body .modal .sheet{border-radius:8px;padding:24px 19px;width:100%;max-height:calc(100dvh - 20px)}body .close{margin:-9px -7px 5px 10px}body h2{font-size:24px;margin-bottom:18px}body h3{font-size:18px}body .panel{padding:17px;margin:15px 0}body .panel .panel{padding:14px}body .sheet dl{grid-template-columns:1fr;gap:4px;padding:14px 0}body .sheet dd{margin-bottom:10px}body .sheet dt{font-size:12px}body .sheet form>button,body .sheet section>button{margin:6px 3px 6px 0}body .field{font-size:13px}body input:not([type=checkbox]):not([type=radio]),body select,body textarea,body .sheet input:not([type=checkbox]),body .sheet select{font-size:16px;padding:11px;min-height:46px}body fieldset{padding:12px}body .tableRow{grid-template-columns:1fr;gap:7px;padding:17px}body .tableRow>*{min-width:0;overflow-wrap:anywhere}body #customerAuth:not(.hidden){padding:22px 12px 105px}body #customerAuth .sheet{padding:28px 24px;max-height:calc(100dvh - 130px)}body #customerAuth .sheet::before{font-size:17px;margin-bottom:26px}body #pilotRoot>h2{font-size:25px}body:has(#customerAuth:not(.hidden))>#status{left:12px;right:12px;bottom:10px;padding:10px 12px}body.customerEnrollment{padding:18px 12px}body.customerEnrollment main{padding:28px 23px}body.customerEnrollment h1{font-size:27px;padding-left:13px}body .networkAudit{font-size:12px;padding:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body *,body *::before,body *::after{transition:none!important;animation:none!important}}
/* Explicit field-caption color replaces the historical dark-theme caption rule. */
body .field>span,body .field>small{color:#455c6e}
body .sheet:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* Opaque warning surfaces replace legacy translucent !important dark-theme colors. */
body .stats .defectStat{background:#fff4f1!important;border:1px solid #d4a199!important;border-top:3px solid #bb6c59!important}
body .stats .defectStat span{color:#794b40}
body .stats .defectStat b{color:#935a4c}
