/* DCM adaptation of KWM 1.2.10 BO1/unslop graphite and employee style D. */
@font-face{font-family:Geist;src:url('/geist-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Geist;src:url('/geist-medium.woff2') format('woff2');font-weight:500 800;font-display:swap}
@font-face{font-family:'Geist Mono';src:url('/geist-mono-regular.woff2') format('woff2');font-display:swap}
@font-face{font-family:Inter;src:url('/inter-variable.woff2') format('woff2');font-weight:400 900;font-display:swap}
:root{color-scheme:dark;--bg:#0a0a0b;--sidebar:#0e0e10;--surface:#141416;--raised:#1b1b1e;--border:#26262a;--strong:#3b3b42;--text:#ededed;--muted:#9a9aa0;--danger:#f08b7a;--warn:#f2b544;font:400 14px/1.5 Geist,system-ui,sans-serif;background:var(--bg);color:var(--text)}
:root[data-theme=light]{color-scheme:light;--bg:#f4f4f5;--sidebar:#fdfdfd;--surface:#fff;--raised:#eeeef0;--border:#dedee2;--strong:#bfc0c6;--text:#19191d;--muted:#5d5e65;--danger:#a4372a;--warn:#745000}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}a{color:inherit;text-underline-offset:4px}button{cursor:pointer}button,input,select{min-height:40px;border:1px solid var(--strong);border-radius:8px;padding:8px 12px;color:var(--text);background:var(--surface)}button:hover{background:var(--raised)}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--rk-green);border-color:var(--rk-green);color:var(--rk-ink);font-weight:500}button.danger{color:var(--danger)}button.quiet{border-color:transparent;background:transparent}input,select{width:100%;background:var(--bg)}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--rk-green)}:focus-visible{outline:2px solid var(--rk-green);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;font-weight:500;letter-spacing:-.025em}h2{font-size:18px;font-weight:500}h3{font-size:15px;font-weight:500}.muted,small{color:var(--muted)}.mono,code,time{font-family:'Geist Mono',monospace;font-variant-numeric:tabular-nums}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.stack{display:grid;gap:16px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:grid;gap:6px;font-size:13px}.check{display:flex;align-items:center;gap:8px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.error{color:var(--danger);white-space:pre-line}.notice{border:1px solid var(--border);border-left:3px solid var(--rk-green);padding:12px 16px;border-radius:8px;color:var(--muted)}.warning{color:var(--warn)}.badge{font-size:12px;color:var(--muted);padding:4px 8px;background:var(--raised);border-radius:5px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:24px}.panel+.panel{margin-top:20px}.section-head{margin-bottom:28px}.section-head p{margin-top:8px}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100svh}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);padding:28px 16px;display:flex;flex-direction:column;gap:28px}.brand{font-size:36px}.brand-mark-dcm{width:3.06em;height:1em}.brand-signature{font-size:10px;white-space:normal;gap:.3em;color:var(--muted)}.sidebar nav{display:grid;gap:4px}.sidebar nav button{text-align:left;background:transparent;border:0;color:var(--muted)}.sidebar nav button[aria-current=page]{background:var(--raised);color:var(--text)}.nav-label{text-transform:uppercase;font-size:10px;letter-spacing:.12em;color:var(--muted);margin:16px 12px 6px}.sidebar footer{margin-top:auto}.workspace{min-width:0}.topbar{height:64px;padding:0 32px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.controls{display:flex;gap:6px}.controls button{min-height:30px;padding:4px 8px;font-size:12px}.content{padding:40px;max-width:1300px}.list{margin-top:16px}.list-item{padding:16px 0;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.list-item .description{display:grid;gap:4px}.list-item .actions{margin:0}.form-title{margin-bottom:20px}.editor{margin-top:24px;padding-top:24px;border-top:1px solid var(--border)}.rules{display:grid;gap:10px}.rule{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:16px;align-items:center}.rule small{display:block}.selection{display:grid;gap:8px;padding:12px;background:var(--bg);border:1px solid var(--border);border-radius:8px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}td,th{text-align:left;border-bottom:1px solid var(--border);padding:12px 8px}th{color:var(--muted);font-weight:400}.signin{min-height:100svh;display:grid;place-items:center;padding:28px 20px}.signin-card{width:min(100%,420px)}.signin-card>.brand-area{margin-bottom:40px}.signin-card h1{font-size:28px}.signin-card .stack{margin-top:24px}.signin-card .controls{margin-bottom:28px}.signin-links{display:flex;gap:20px;justify-content:center;margin-top:28px;color:var(--muted);font-size:12px}.employee{font-family:Inter,system-ui,sans-serif;min-height:100svh}.employee .topbar{height:auto;min-height:80px;padding:20px 4vw}.employee main{max-width:1100px;margin:auto;padding:48px 24px}.employee h1{font-family:Inter,sans-serif;font-weight:750;font-size:clamp(30px,5vw,46px)}.employee .tile{margin-top:32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:32px;padding:28px;width:min(100%,340px);height:200px;border-radius:19px;border:1px solid var(--border);background:var(--surface);opacity:.65;color:var(--text)}.tile strong{font-size:23px}.tile .tile-icon{font-size:28px;color:var(--rk-green)}.pin-input{font-family:'Geist Mono',monospace;font-size:30px;letter-spacing:16px;text-align:center;padding-left:28px}.qr-box{background:white;color:black;padding:20px;border-radius:8px;width:min(100%,300px)}.qr-box svg{display:block;width:100%;height:auto}.activation-code{font-size:24px;letter-spacing:3px;overflow-wrap:anywhere}.scan-video{width:100%;max-height:320px;background:#000;border-radius:12px}.loading{padding:40px}.space-top{margin-top:20px}.audit{font-size:12px;overflow-wrap:anywhere}.overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.metric{font-size:36px;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.overview>.panel{margin:0}.brand-mark{overflow:visible}
.fields{align-items:start}
.cash-dialog{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:18px;padding:24px;width:min(480px,calc(100vw - 32px))}.cash-dialog::backdrop{background:#0009}.cash-dialog:not([open]){display:none}.declaration-flow{max-width:850px}.declaration-flow>.panel,.declaration-flow .panel{margin:0}.declaration-flow input[type=file]{max-width:100%;font-size:12px}.declaration-flow .closing-actions{bottom:0}.declaration-flow .closing-actions button{min-height:52px}details>summary{cursor:pointer;font-size:17px}
.equipment-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.closing-flow{max-width:1000px}.closing-flow h1{font-size:32px}.closing-flow .panel{margin:0}.closing-steps{list-style:none;padding:0;display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.closing-steps li{padding:8px;border-bottom:2px solid var(--border)}.closing-steps [aria-current=step]{color:var(--text);border-color:var(--rk-green)}.closing-actions{position:sticky;bottom:0;display:flex;flex-wrap:wrap;gap:10px;padding:16px 0;background:var(--bg);border-top:1px solid var(--border);z-index:2}.closing-actions button{flex:1}.closing-photo{width:100%;max-width:280px;max-height:220px;object-fit:contain;border:1px solid var(--border);border-radius:8px}.photo-slot{padding-top:16px;border-top:1px solid var(--border)}.photo-slot input[type=file]{font-size:12px}.correction-row{padding:16px;border:1px solid var(--border);border-radius:8px}.methods-list{max-height:500px;overflow:auto}.methods-list .rule{grid-template-columns:1fr minmax(150px,220px)}.methods-list small{display:block;color:var(--muted)}.closing-flow input{min-height:48px}.closing-flow select{min-height:48px}
.employee .brand-area{flex-shrink:0}
@media(max-width:600px){.employee .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:20px 24px}.employee .topbar .brand-area{grid-column:1/-1}.employee .topbar>.muted{grid-column:1/-1}.employee .topbar .controls{justify-self:start}.employee main{padding-top:32px}.brand-signature{max-width:100%}}
@media(max-width:800px){.shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border);padding:18px}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar .nav-label{display:none}.sidebar footer{display:none}.sidebar>.brand-area{display:none}.sidebar{gap:12px}.content{padding:24px 18px}.topbar{padding:12px 18px;height:auto;min-height:58px}.fields{grid-template-columns:1fr}.panel{padding:18px}.overview{grid-template-columns:1fr}.rule{grid-template-columns:1fr 130px}.list-item{align-items:flex-start}}
[hidden]{display:none!important}

.diagnostic-json{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
.matrix-scroll{overflow-x:auto;max-width:100%;border:1px solid var(--border,#333);border-radius:10px}
.match-matrix{width:100%;border-collapse:collapse;min-width:850px;text-align:left;font-size:.9rem}
.match-matrix th,.match-matrix td{padding:14px;vertical-align:top;border-bottom:1px solid var(--border,#333);min-width:120px}
.match-matrix small{display:block;margin-top:6px;line-height:1.4}
.match-difference{background:rgba(220,90,60,.12)}
.status-pill{display:inline-block;padding:6px 10px;border-radius:20px;border:1px solid var(--border,#555);font-size:.85rem}
.status-pill.matched{color:#42b75c}.status-pill.differences,.status-pill.manual{color:var(--warn,#e6a35e)}
.exception-group>summary{cursor:pointer;padding:12px 0}.exception-group article{margin:12px 0}
 .email-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.5}
 .button-link{display:inline-block;border:1px solid var(--border,#626A70);border-radius:8px;padding:9px 13px;text-decoration:none;color:inherit}
 textarea{background:var(--surface,#25292D);color:inherit;border:1px solid var(--border,#626A70);border-radius:8px;padding:10px;font:inherit;max-width:100%;resize:vertical}
 .status-pill.reconciled{background:#1A512C;color:#DFFBE5}
 .config-save-top{position:sticky;top:8px;z-index:3;background:var(--surface);padding:8px 0;border-bottom:1px solid var(--border)}

.document-photo .photo-controls{display:flex;flex-direction:column;align-items:stretch;gap:10px}.photograph-button{min-height:56px;font-size:1.05rem;width:100%}.gallery-link{align-self:center;border:0;background:transparent;padding:4px 8px;text-decoration:underline;font-size:.85rem;min-height:30px}.photo-complete{color:#42B75C;font-weight:600}.photo-group-progress{font-weight:600;color:var(--muted)}.document-photo .row{justify-content:space-between;align-items:center;flex-wrap:wrap}

.employee-wizard{max-width:720px;margin:0 auto;padding-bottom:12px;min-height:72vh}.wizard-header{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.wizard-header strong{font-size:13px;text-align:center}.wizard-header button{padding:8px}.wizard-progress{display:flex;gap:7px;margin:12px 0 24px}.wizard-progress span{height:5px;border-radius:4px;flex:1;background:var(--border)}.wizard-progress .complete{background:#42B75C}.wizard-footer{position:sticky;bottom:0;z-index:5;display:flex;flex-direction:column;gap:10px;padding:12px 0;background:var(--bg,#101214)}.wizard-footer>.primary,.wizard-footer>.quiet{width:100%;min-height:54px}.wizard-footer>.actions>*{flex:1;min-height:54px}.wizard-values{margin:0;display:flex;flex-direction:column;gap:10px}.wizard-values>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);padding:10px 0}.wizard-values dt{color:var(--muted)}.wizard-values dd{font-weight:600;margin:0;text-align:right;white-space:nowrap}.wizard-photo{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px}.wizard-photo>h3,.wizard-photo>.photo-controls,.wizard-photo>details,.wizard-photo>progress,.wizard-photo>.check,.wizard-photo>.notice,.wizard-photo>button{grid-column:1/-1}.wizard-photo>a{grid-column:1;grid-row:2 / span 2}.wizard-photo>small,.wizard-photo>.wizard-values,.wizard-photo>p{grid-column:2}.wizard-photo:not(:has(a))>p{grid-column:1/-1}.wizard-thumbnail{width:70px;height:100px;object-fit:contain;border-radius:7px;background:var(--surface)}.wizard-photo.failed{border-color:var(--warn,#e9a84a)}.wizard-photo.skipped{border-style:dashed}.wizard-photo progress{width:100%;height:7px;accent-color:#42B75C}.reason-chips{display:flex;gap:10px;flex-wrap:wrap}.reason-chip{border:1px solid var(--border);border-radius:24px;background:transparent;padding:12px 16px;text-align:left}.reason-chip[aria-pressed=true]{border-color:#42B75C;background:rgba(66,183,92,.1)}.cash-amount{display:flex;align-items:baseline;justify-content:center;gap:12px;padding:18px 0}.cash-entry{font-size:clamp(40px,10vw,64px);width:100%;max-width:480px;text-align:center;background:transparent!important;border:0!important;font-weight:600;padding:0!important}.cash-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cash-keypad .key{font-size:26px;min-height:62px;background:var(--surface);border:1px solid var(--border)}.cash-dialog.wizard-sheet{position:fixed;top:auto;bottom:0;margin:0 auto;width:calc(100% - 16px);max-width:640px;max-height:90vh;overflow:auto;border-radius:22px 22px 0 0;padding:24px;display:flex;flex-direction:column;gap:18px}.wizard-sheet h1{font-size:25px}.sales-point-config .equipment-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}.point-comparison .match-matrix{min-width:500px}@media(max-width:600px){.employee:has(.employee-wizard) .topbar{display:flex;gap:10px;flex-wrap:wrap;padding:12px 18px}.employee:has(.employee-wizard) .brand-signature{display:none}.employee:has(.employee-wizard) .brand{font-size:25px}.employee:has(.employee-wizard) .brand-area{width:76px}.employee:has(.employee-wizard) .topbar>.muted{font-size:12px;flex:1}.employee:has(.employee-wizard) .topbar button{padding:7px 9px;font-size:12px}.employee:has(.employee-wizard) main{padding:18px}.employee-wizard h1{font-size:28px}.sales-point-config .equipment-row{grid-template-columns:1fr}.wizard-sheet .actions{display:flex}.wizard-sheet .actions>*{flex:1}}
/* F5B employee screens: one document scroll, compact flow and a reserved footer. */
:root{color-scheme:only dark}:root[data-theme=light]{color-scheme:only light}
.employee .primary{background:#42B75C!important;border-color:#42B75C!important;color:#0a0a0b!important;opacity:1;font-weight:650}
.employee button.primary:disabled{background:var(--border)!important;border-color:var(--border)!important;color:var(--muted)!important;opacity:1}
.employee main>.error:empty{display:none}
.employee:has(.employee-wizard[data-view=flow])>.topbar,.employee:has(.employee-wizard[data-view=sent])>.topbar{display:none}
.employee:has(.employee-wizard) main{padding:0 18px;margin:0 auto;width:100%;max-width:720px}
.employee-wizard{display:flex;flex-direction:column;gap:14px;min-height:100dvh;margin:0 auto;padding:18px 0 calc(130px + env(safe-area-inset-bottom));max-width:720px;overflow:visible}
.employee-wizard[data-view=home]{min-height:0;padding:24px 0 32px}
.employee-wizard h1{font-size:27px;line-height:1.16;letter-spacing:-.025em}
.employee-wizard .panel{padding:16px;border-radius:20px;margin:0}
.employee-wizard .wizard-header{flex-shrink:0;grid-template-columns:30px minmax(0,1fr) auto;gap:5px}
.employee-wizard .wizard-header strong{font-size:12px;font-weight:500;color:var(--muted)}
.employee-wizard .wizard-header button{font-size:11px;padding:4px 2px;white-space:nowrap;min-width:0}
.employee-wizard .wizard-header button:first-child{font-size:26px}
.employee-wizard .wizard-progress{margin:0 0 5px;flex-shrink:0;min-height:5px}
.employee-wizard .wizard-point{gap:12px}
.employee-wizard .wizard-point>h2{display:none}
.employee-wizard .wizard-photo{gap:10px;overflow:visible}
.employee-wizard .wizard-photo h3{font-size:17px;font-weight:600;line-height:1.3}
.employee-wizard .photo-controls{display:flex;flex-direction:column;gap:6px;grid-column:1/-1}
.employee-wizard input[type=file][hidden]{display:none!important}
.employee-wizard .wizard-values{font-size:14px;gap:0;min-width:0}
.employee-wizard .wizard-values>div{padding:4px 0;border:0;gap:6px}
.employee-wizard .wizard-values dd{font-weight:600}
.employee-wizard .wizard-footer{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:calc(100% - 36px);max-width:684px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));gap:10px;background:var(--bg);z-index:5}
.employee-wizard .wizard-footer>small{text-align:center;font-size:12px}
.employee-wizard .wizard-footer button{min-height:52px;border-radius:14px;font-size:16px}
.employee-wizard .wizard-footer .actions{margin:0;flex-wrap:nowrap}
.employee-wizard .summary-row{display:flex;flex-direction:column;gap:4px;padding:10px 0;border-bottom:1px solid var(--border)}
.employee-wizard .summary-row:last-child{border:0}
.employee-wizard .reason-chip{min-height:44px;font-size:14px;padding:10px 14px;line-height:1.35}
.employee-wizard textarea{width:100%;min-height:82px}
.employee-wizard .wizard-success{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px;margin:auto 0;min-height:58dvh;justify-content:center}
.employee-wizard .success-check{width:88px;height:88px;border-radius:50%;background:#42b75c22;color:#42B75C;display:grid;place-items:center;font-size:50px}
.employee-wizard .wizard-success h1{font-size:26px}
.home-days{display:flex;flex-direction:column;gap:12px}.home-day{border:1px solid var(--border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:14px;background:var(--surface)}
.home-day h2{font-size:18px}.home-day.current{border-color:#42B75C}.home-current{color:#42B75C}.home-day-status{color:var(--muted);font-size:13px;margin-top:5px}.home-day button{text-align:left}.home-day.current button{text-align:center}
@media(max-width:600px){.employee:has(.employee-wizard)>.topbar{padding:12px 18px;min-height:64px}.employee:has(.employee-wizard) .brand{font-size:25px}.employee:has(.employee-wizard) .topbar>.muted{font-size:12px}.employee:has(.employee-wizard) .brand-signature{display:none}.employee:has(.employee-wizard[data-view=flow])>.topbar,.employee:has(.employee-wizard[data-view=sent])>.topbar{display:none}.employee:has(.employee-wizard) main{padding:0 18px}}
.employee-wizard .retake-controls{flex-direction:row;align-items:center;gap:16px;flex-wrap:wrap}
.employee-wizard .retake-link,.home-day .home-start-link{background:transparent;border:0;border-radius:0;padding:4px 0;min-height:30px;font-size:13px;font-weight:400;text-decoration:underline;text-underline-offset:3px;color:var(--muted);width:auto;align-self:flex-start}
.employee-wizard .retake-link:hover,.home-day .home-start-link:hover{color:var(--text);background:transparent}
.employee-wizard{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
.employee-wizard:has(.wizard-footer>button+button){padding-bottom:calc(160px + env(safe-area-inset-bottom))}
