:root{--red:#d71920;--ink:#202124;--muted:#667085;--line:#dfe3e8;--bg:#f5f6f8;--blue:#eaf2ff;--green:#e9f7ef;--amber:#fff3cf;--white:#fff;--shadow:0 10px 28px rgba(22,31,45,.08)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.4 Arial,sans-serif}button,select,input,textarea{font:inherit}button{border:0;border-radius:10px;padding:11px 17px;background:var(--red);color:#fff;font-weight:700;cursor:pointer}button.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}button.ghost{background:transparent;color:var(--muted);border:1px solid transparent}header{background:#fff;border-bottom:4px solid var(--red);padding:24px max(24px,calc((100vw - 1480px)/2));display:flex;justify-content:space-between;gap:24px;align-items:center}h1,h2,p{margin:0}h1{font-size:32px}header>div>p:last-child{color:var(--muted);margin-top:4px}.eyebrow,.section-kicker{color:var(--red);font-size:12px;font-weight:800;letter-spacing:.1em}.header-actions{display:flex;gap:10px}main{max-width:1480px;margin:24px auto;padding:0 24px 60px}.period-bar,.notice,.section-card{background:#fff;border:1px solid var(--line);border-radius:16px}.period-bar{padding:14px 18px;display:flex;align-items:center;gap:14px;box-shadow:var(--shadow)}.period-bar>button{width:42px;height:42px;padding:0;background:var(--ink)}.period-bar>div:nth-child(2){display:flex;align-items:baseline;gap:9px}.period-bar strong{font-size:28px}.period-bar select{padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.status{margin-left:auto;display:flex;align-items:center;gap:8px;color:var(--muted)}.status i{width:9px;height:9px;border-radius:50%;background:#28a745}.notice{margin-top:14px;padding:10px 14px;background:#fff8e5;border-color:#efd586;display:flex;gap:10px}.section-card{margin-top:18px;padding:20px;box-shadow:var(--shadow)}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:16px}.section-heading h2{font-size:22px}.legend,.hint{display:flex;gap:14px;color:var(--muted);font-size:13px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.dot.initial{background:#6b7280}.dot.actual{background:#1a73e8}.dot.revised{background:#188038}.week-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.week-card{border:1px solid var(--line);border-radius:14px;overflow:hidden}.week-head{padding:13px 15px;background:#292b2f;color:#fff;display:flex;justify-content:space-between;align-items:center}.week-head h3{margin:0}.week-head .week-total{text-align:right}.week-head small{display:block;color:#cfd3d8}.days{width:100%;border-collapse:collapse}.days th,.days td{padding:8px 9px;border-bottom:1px solid var(--line);text-align:right}.days th:first-child,.days td:first-child{text-align:left}.days th{font-size:12px;color:var(--muted);background:#fafafa}.money-input,.hour-input{width:100%;border:1px solid transparent;background:var(--blue);border-radius:6px;padding:6px;text-align:right}.money-input:focus,.hour-input:focus{outline:2px solid #7aa7ef}.context-input{width:100%;border:0;background:#fff;padding:4px;color:var(--muted)}.week-foot{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}.week-foot>div{background:#fff;padding:10px}.week-foot small{display:block;color:var(--muted)}.week-foot strong{font-size:16px}.pace-up{color:#188038}.pace-down{color:#b3261e}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}#deptTable th,#deptTable td{border:1px solid var(--line);padding:8px;text-align:right;min-width:100px}#deptTable th:first-child,#deptTable td:first-child{text-align:left;position:sticky;left:0;background:#fff;min-width:155px}#deptTable thead th{background:#292b2f;color:#fff;font-size:12px}#deptTable thead th:first-child{background:#292b2f}.subhead{background:#f1f3f5!important;color:var(--ink)!important}.bottom-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.metric{border:1px solid var(--line);border-radius:12px;padding:14px}.metric small{display:block;color:var(--muted);margin-bottom:5px}.metric strong{font-size:22px}.recommendation{border-top:5px solid var(--red)}.confidence{background:var(--green);color:#137333;border-radius:999px;padding:6px 10px;font-weight:700;font-size:12px}.reco-number{font-size:36px;font-weight:800;margin:8px 0}.reco-explainer{color:var(--muted);margin:10px 0 16px}.decision-actions{display:flex;gap:8px;flex-wrap:wrap}.notes-card label{font-weight:800;display:block;margin-bottom:8px}.notes-card textarea{width:100%;min-height:100px;border:1px solid var(--line);border-radius:10px;padding:12px;resize:vertical}#toast{position:fixed;right:22px;bottom:22px;background:#202124;color:#fff;padding:12px 16px;border-radius:10px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:none}@media(max-width:1000px){.week-panels,.bottom-grid{grid-template-columns:1fr}.summary-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){header{align-items:flex-start;flex-direction:column}.header-actions{width:100%}.header-actions button{flex:1}.period-bar{flex-wrap:wrap}.status{width:100%;margin-left:0}.week-panels{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.summary-grid{grid-template-columns:1fr}.legend{flex-wrap:wrap}}@media print{body{background:#fff}.header-actions,.period-bar button,.notice,.decision-actions,#toast{display:none!important}header,main{padding:10px;margin:0;max-width:none}.section-card,.period-bar{box-shadow:none;break-inside:avoid}.week-panels{grid-template-columns:repeat(2,1fr)}.bottom-grid{grid-template-columns:1.2fr .8fr}}



#printSheet{display:none}.initial-input{background:var(--amber)}.week-foot{grid-template-columns:repeat(4,1fr)}
.period-bar #refreshData{width:auto;min-width:max-content;height:42px;padding:0 14px;background:#fff;color:var(--ink);white-space:nowrap;flex-shrink:0}
.period-bar #prevPeriod,.period-bar #nextPeriod{flex:0 0 42px;line-height:1;display:grid;place-items:center}
.period-bar{flex-wrap:wrap}.period-bar .status{min-width:0;overflow-wrap:anywhere}
.metric .metric-detail{margin-top:6px;font-size:12px}

#deptTable th:first-child{min-width:240px;text-align:left}#deptTable .hours-detail-row th{padding-left:24px;font-size:12px;font-weight:normal}#deptTable .hours-kitchen-row{background:#fff4df}#deptTable .hours-subtotal-row{background:#edf3ef;font-weight:bold}#deptTable .hours-total-row{background:#e9eef4;font-weight:bold;border-top:2px solid #344454}.hours-guide{font-size:13px;line-height:1.5;color:#43515c}#hoursDetails{width:auto;margin-right:7px}.hour-input{min-width:80px}.print-hours th:first-child{width:27%}@media print{.print-hours{break-inside:avoid}.print-hours .hours-kitchen-row{background:#fff4df!important}.print-hours .hours-subtotal-row{font-weight:bold}}

