:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#163454;background:#f5f8fc;font-size:16px}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;gap:12px;padding:18px 28px;background:#1557a0;color:white}.brand{font-weight:750;font-size:23px;margin-right:auto}.brand span{font-weight:400;color:#d6e7ff}button,input,textarea,select{font:inherit}button{min-height:48px;border:1px solid #cbd8ea;border-radius:9px;background:white;color:#163454;padding:10px 17px;cursor:pointer;font-weight:600}button:hover{background:#edf4ff}button:disabled{opacity:.5;cursor:default}header button{background:transparent;color:white;border-color:#91b6e2}main{padding:26px;max-width:1500px;margin:auto}.weekbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}h1{font-size:32px;margin:6px 0 8px;letter-spacing:-1px}.eyebrow{font-size:13px;letter-spacing:1.8px;font-weight:700;color:#536b87}#status{color:#536b87}#tools{display:flex;gap:8px;flex-wrap:wrap}.tablewrap{background:white;border:1px solid #d1deef;border-radius:12px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;max-height:72vh}table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:0}th,td{border-bottom:1px solid #e1e9f5;text-align:center}thead th{position:sticky;top:0;background:#1557a0;color:white;z-index:2;padding:16px 4px;font-size:14px}th:first-child{width:clamp(150px,21vw,240px);text-align:left;padding-left:14px}thead th:last-child{width:clamp(110px,17vw,190px)}.category th{background:#e9f2ff;color:#204f83;text-align:left;padding:12px 20px;font-size:14px;letter-spacing:1px}.product{padding:12px 14px;overflow-wrap:anywhere;text-align:left;font-size:14px;font-weight:600}.cell{width:100%;border:0;border-radius:0;min-height:55px;padding:8px;font-size:23px;font-weight:600;background:transparent}.cell.empty{color:#8699b2;font-weight:400}.cell.filled{color:#1557a0;background:#f2f7ff}.notes{font-size:14px;width:100%;min-height:55px;border:0;border-radius:0;font-weight:400;text-align:left}.notes small{display:block;overflow-wrap:anywhere}footer{font-size:14px;color:#536b87;padding:16px 0}dialog{border:0;border-radius:18px;padding:28px;width:min(94vw,540px);max-height:92vh;box-shadow:0 25px 100px #0003}dialog::backdrop{background:#0b244577}h2{margin:0 0 10px;font-size:26px}label{display:block;margin:16px 0 8px}input,textarea,select{width:100%;padding:14px;border:1px solid #bccde4;border-radius:9px;background:white;color:#163454}textarea{min-height:110px}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.primary{background:#1557a0;color:white;border-color:#1557a0}.primary:hover{background:#104582}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.keypad button{font-size:26px;height:60px}.quantity{font-size:38px;text-align:center;font-weight:700;min-height:70px;background:#edf4ff;padding:10px;border-radius:10px}.muted{color:#536b87;font-size:14px;line-height:1.5}.list{display:grid;gap:10px}.list button{text-align:left}.code{font-family:ui-monospace,monospace;word-break:break-all;white-space:pre-wrap;max-height:260px;overflow:auto;background:#edf4ff;padding:16px;font-size:18px;line-height:1.8}.danger{color:#aa3636}#notice:not(:empty){padding:12px 16px;margin:12px 0;border-radius:9px;background:#fff0d5;color:#6e4915}#save{font-size:14px}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #dda648;outline-offset:2px}@media(max-width:700px){header{padding:12px;gap:6px}.brand{font-size:19px}header button{padding:8px}#save{display:none}main{padding:14px}.weekbar{align-items:flex-start;flex-direction:column}h1{font-size:28px}dialog{padding:20px}}

[hidden]{display:none!important}html,body{height:100%;overflow:hidden}body{display:flex;flex-direction:column;overscroll-behavior:none}header{flex-shrink:0}main{width:100%;flex:1;min-height:0;margin:0 auto;display:flex;flex-direction:column;overflow:hidden}.weekbar{flex-shrink:0}.tablewrap{flex:1;min-height:0;max-height:none}footer{flex-shrink:0}#notice{flex-shrink:0;overflow-wrap:anywhere}dialog{overflow-y:auto}.worksheet-expanded main{position:fixed;inset:0;z-index:10;background:#f5f8fc;max-width:none;padding:18px 22px}.worksheet-expanded header{visibility:hidden}.worksheet-expanded .weekbar{margin-bottom:12px}.worksheet-expanded h1{font-size:27px}.worksheet-expanded footer{padding:10px 0}.cell{touch-action:manipulation}.notes{padding:8px;touch-action:manipulation}@media(max-width:767px){thead th:first-child{width:130px}thead th:last-child{width:76px}th:first-child{padding-left:8px}thead th{font-size:12px;padding:12px 1px}.product{padding:8px;font-size:13px}.notes{font-size:12px;padding:4px}.cell{font-size:20px;padding:4px}.weekbar{gap:6px;margin-bottom:10px}footer{font-size:12px;padding:8px 0}.worksheet-expanded main{padding:12px}.worksheet-expanded h1{font-size:23px}}

.week-create{padding:16px;border:1px solid #cbd8ea;border-radius:10px;margin:20px 0;background:#f2f7ff}.week-create h3{margin:0 0 14px}#modal h3{font-size:18px}.week-create .primary{width:100%}
#workspace{flex:1;min-height:0;display:flex;flex-direction:column}#login{overflow-y:auto;max-height:100%;padding:20px 0}.authcard{max-width:420px;margin:0 auto;background:white;padding:28px;border:1px solid #d1deef;border-radius:14px}.authcard .primary{width:100%;margin-top:22px}.authcard .authlinks{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.authlinks button{border:0;font-weight:400;font-size:14px}.daypicker{display:none;flex-shrink:0}.pending{text-align:center;max-width:450px;margin:30px auto;line-height:1.6}.account{border:1px solid #d1deef;border-radius:10px;padding:12px}.account .actions{margin-top:10px}.audit-entry{padding:10px 0;border-bottom:1px solid #d1deef}.tablewrap{min-height:160px}#notice:not(:empty){max-height:90px;overflow-y:auto}.account .actions button{font-size:14px}@media(max-width:767px){.daypicker{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-bottom:10px}.daypicker button{padding:8px 0;min-height:48px;font-size:13px}.daypicker .selected{background:#1557a0;color:white}#grid thead th:first-child{width:48%}#grid thead th:last-child{width:26%}.cell{min-height:58px;font-size:25px}.notes{font-size:13px}.authcard{padding:22px}.weekbar{flex-direction:row;align-items:center}#title{font-size:25px}main{padding:12px}.brand{font-size:20px}#tools button{font-size:13px;padding:8px}footer{font-size:12px}} 

.brand{min-width:0;line-height:1.25}.brand .store-name{display:block;margin-top:4px;font-size:14px;font-weight:500;color:#e2efff;line-height:1.35;letter-spacing:0}@media(max-width:767px){.brand .store-name{font-size:14px}header{align-items:center}}
.extra-title{border:0;background:transparent;text-align:left;padding:0;width:100%;font-size:inherit;font-weight:600;overflow-wrap:anywhere}.extra-title:hover{background:#edf4ff}.extra-form{display:grid;grid-template-columns:minmax(160px,2fr) minmax(140px,1fr) minmax(90px,.7fr) auto;gap:12px;text-align:left;align-items:end;padding:16px}.extra-form label{margin:0 0 8px;font-size:14px}.extra-form>div{min-width:0}.extra-form input,.extra-form select{font-size:16px;min-height:50px}.extra-save{min-height:50px}@media(max-width:767px){.extra-form{grid-template-columns:1fr 1fr;gap:12px;padding:12px 4px}.extra-name-field,.extra-save{grid-column:1/-1}}
.worksheet-layout{display:flex;gap:16px;flex:1;min-height:0}.worksheet-layout>.tablewrap{flex:1;min-width:0}.top-five{width:290px;flex-shrink:0;border:1px solid #d1deef;border-radius:12px;background:white;padding:20px;overflow-y:auto}.top-five h2{font-size:24px;margin-top:8px}.top-five button{width:100%;margin-top:14px}.top-five-list{padding-left:22px}.top-five-list li{padding:12px 0;border-bottom:1px solid #e1e9f5}.top-five-list strong,.top-five-list span{display:block;overflow-wrap:anywhere}.top-five-list span{margin-top:5px;color:#1557a0}.top-five details{margin-top:16px}.top-five textarea{min-height:230px;font-size:14px}.top-five input{font-size:16px}.top-five input[type=file]{padding:8px;font-size:13px}@media(max-width:1100px){.worksheet-layout.has-report{flex-direction:column;overflow-y:auto}.worksheet-layout.has-report>.tablewrap{flex:none;max-height:60vh;min-height:260px}.top-five{width:100%;flex:none;overflow:visible}}
.report-tabs{display:flex;gap:6px;margin-bottom:20px}.report-tabs button{margin:0;padding:8px;flex:1;font-size:14px}.report-tabs [aria-pressed=true]{background:#1557a0;color:white}.live-summary{table-layout:auto;font-size:12px;margin-top:16px}.live-summary th,.live-summary td{padding:10px 3px}.live-summary th:first-child{width:auto;padding-left:0;text-align:left;overflow-wrap:anywhere}.live-summary th:last-child{width:auto}.live-summary thead th{position:static;background:#edf4ff;color:#163454;font-size:12px}.live-summary td{vertical-align:top}.live-summary td:last-child{white-space:nowrap}.live-total{padding:16px 0;border-bottom:1px solid #d1deef;font-size:18px;line-height:1.6}.top-five{width:340px}.live-summary th:first-child{max-width:155px}
@media(max-width:1100px){.top-five{width:100%}.live-summary th:first-child{max-width:none}}

.top-five.report-focus{position:fixed;inset:12px;z-index:30;width:calc(100% - 24px);max-width:760px;margin:0 auto;overflow-y:auto;box-shadow:0 0 0 100vmax #16345477;max-height:none}.report-focus .report-close{position:sticky;top:0;z-index:3;margin:0 0 20px;background:#1557a0;color:white}.report-focus .live-summary{font-size:15px}.report-focus .live-summary th:first-child{max-width:none}.report-focus .live-summary thead th{font-size:14px}@media(max-width:767px){header{flex-wrap:wrap}#open-live-summary{font-size:13px;min-height:42px;padding:8px}.report-focus .live-summary{font-size:13px}}
