.mode-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #bfc4b8}.mode-switch{display:inline-flex;border:1px solid #9ca992;padding:3px;border-radius:7px;background:var(--glass)}.mode-switch button{background:none;border:0;min-height:39px;padding:9px 16px;border-radius:4px;color:var(--garden);font-size:12px;font-weight:650}.mode-switch button[aria-pressed=true]{background:var(--garden);color:var(--glass)}.mode-toolbar>p{font-size:11px;color:var(--monstera)}.sheet-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:25px 0 20px}.sheet-heading h1{font-size:35px;letter-spacing:-.05em;color:var(--garden);line-height:1.06}.sheet-heading h1 .serif{font-size:1.12em}.sheet-heading p:last-child{font-size:12px;color:var(--muted);margin-top:12px}.sheet-filters{display:grid;grid-template-columns:1fr 1fr 1.3fr 1fr 1.15fr 1.1fr;gap:10px;padding:17px;background:#f2f2f080;border:1px solid #cbd0c1;border-radius:8px;margin-bottom:18px;align-items:end}.sheet-filters label{font-size:11px}.sheet-filters input,.sheet-filters select{width:100%;min-width:0;font-size:12px}.sheet-filters>.button{grid-column:6}.workbook{border:1px solid #b6c1af;border-radius:8px;overflow:hidden;background:var(--paper);min-width:0}.workbook-top{display:flex;align-items:center;justify-content:space-between;background:var(--garden);color:var(--glass);padding:13px 18px}.workbook-name{font-size:14px;font-weight:650}.readonly-label{font-size:10px;border:1px solid #9fae90;padding:3px 9px;border-radius:20px}.sheet-export-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px 16px;background:#eff0e8;border-bottom:1px solid var(--line)}.sheet-export-bar .button{min-height:39px;padding:9px 12px;font-size:11px}.sheet-export-bar .text-button{font-size:11px;margin-left:auto}.sheet-formula-bar{display:flex;gap:12px;padding:9px 16px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.sheet-formula-bar>span{font-weight:650;color:var(--garden);border-right:1px solid var(--line);padding-right:12px}.sheet-formula-bar p{overflow-wrap:anywhere}.sheet-scroll{width:100%;overflow:auto;max-height:520px;min-height:170px;position:relative;overscroll-behavior:contain;scrollbar-color:#8c9d7e #edf0e5}.sheet-scroll:focus-visible{outline:3px solid #956d3e;outline-offset:-3px}#sheet-table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;font-size:12px;color:var(--night)}#sheet-table th,#sheet-table td{padding:9px 12px;border-right:1px solid #dce1d4;border-bottom:1px solid #dce1d4;max-width:350px;white-space:nowrap;background:var(--paper);height:42px}#sheet-table thead th{position:sticky;top:25px;z-index:3;background:#e9edde;padding:0;font-weight:600;text-align:left}#sheet-table .sheet-letters th{top:0;height:25px;font-size:9px;text-align:center;background:#e0e6d7;color:var(--monstera);font-weight:400}#sheet-table th:first-child,#sheet-table td:first-child{position:sticky;left:0;z-index:2;text-align:center;min-width:44px;width:44px;max-width:44px;background:#eff1e8;font-size:10px;color:var(--muted)}#sheet-table th:nth-child(2),#sheet-table td:nth-child(2){position:sticky;left:44px;z-index:2;background:#f5f6ef;min-width:130px;max-width:170px;box-shadow:2px 0 0 #bcc7b3}#sheet-table thead th:first-child,#sheet-table thead th:nth-child(2){z-index:5}#sheet-table tbody tr:hover td{background:#edf1e4}#sheet-table .number-cell{text-align:right;font-variant-numeric:tabular-nums}#sheet-table .exception-cell{background:var(--redwash);color:var(--carnation);font-weight:650}#sheet-table .note-cell{white-space:normal;min-width:240px;line-height:1.6}.sort-column{border:0;background:none;padding:12px;width:100%;min-height:43px;text-align:left;font-size:11px;color:var(--garden);font-weight:650}.sort-column:focus-visible{outline-offset:-3px}.sheet-person{border:0;background:none;color:var(--garden);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:4px;padding:0;min-height:25px;text-align:left}.sheet-tabs{display:flex;overflow:auto;gap:0;background:#eef0e6;border-top:1px solid #bcc8b1;padding:0 12px}.sheet-tab{border:0;border-right:1px solid #cfd7c5;border-bottom:3px solid transparent;background:none;min-height:46px;padding:11px 19px;color:var(--monstera);font-size:12px;white-space:nowrap}.sheet-tab[aria-selected=true]{background:var(--paper);color:var(--garden);font-weight:650;border-bottom-color:var(--garden)}.sheet-bottom{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:10px 16px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}.sheet-bottom>div{display:flex;gap:6px}.sheet-bottom .icon-button{min-height:32px;width:34px;font-size:15px}.sheet-empty{padding:35px 20px;font-size:13px;color:var(--muted)}.sheet-explanation{font-size:11px;line-height:1.8;color:var(--monstera);margin:18px 0;max-width:100ch}.week-tools{display:flex;flex-wrap:wrap;gap:9px;align-items:end}.week-tools label{font-size:11px}.week-tools input,.week-tools select{font-size:12px}.week-tools .button{font-size:12px}.week-subtext{font-size:12px;color:var(--muted);margin:18px 0}.date-range{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.date-range input{font-size:12px}.refresh-small{border:0;background:none;color:var(--garden);text-decoration:underline;min-height:36px;font-size:11px}.guide-body{display:grid;gap:15px}.guide-body details{border-bottom:1px solid var(--line);padding-bottom:14px}.guide-body summary{font-weight:650;color:var(--garden);cursor:pointer;min-height:35px}.guide-body p{font-size:13px;line-height:1.75;color:var(--muted)}
@media(max-width:1200px){.sheet-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet-filters>.button{grid-column:3}}
@media(max-width:760px){.mode-toolbar>p{max-width:160px;text-align:right}.sheet-heading h1{font-size:30px}.sheet-heading{align-items:start}.sheet-heading>.button{font-size:11px;max-width:160px}.sheet-export-bar .text-button{margin-left:0}.sheet-scroll{max-height:480px}}
@media(max-width:520px){.mode-toolbar{padding:10px 0;gap:10px}.mode-toolbar>p{display:none}.mode-switch{width:100%}.mode-switch button{flex:1;padding:9px 10px;font-size:12px}.sheet-heading{display:block;padding:20px 0 17px}.sheet-heading h1{font-size:29px}.sheet-heading .eyebrow{font-size:10px}.sheet-heading>.button{margin-top:15px;max-width:none}.sheet-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;gap:12px 9px}.sheet-filters input,.sheet-filters select{font-size:16px}.sheet-filters label:nth-child(3){grid-column:1/-1}.sheet-filters>.button{grid-column:1/-1}.sheet-export-bar{gap:8px;padding:11px}.sheet-export-bar .button{font-size:11px;flex:1;padding:9px}.sheet-export-bar .text-button{font-size:11px;width:100%;text-align:left}.workbook-top{padding:12px}.workbook-name{font-size:12px}.sheet-formula-bar{padding:9px 12px;font-size:10px}.sheet-bottom{padding:10px 12px;gap:10px;font-size:10px}.sheet-tab{font-size:11px;padding:11px 15px}.sheet-tabs{padding:0 4px}.week-tools{margin-top:16px}.week-tools input,.week-tools select{font-size:16px}.week-tools label{min-width:140px}.date-range input{font-size:16px}.sheet-explanation{font-size:10px}}
@media(prefers-reduced-motion:reduce){.sheet-scroll{scroll-behavior:auto}}

/* Inspection revision: lead with the ledger, not a full screen of filters. */
.sheet-filter-panel{margin:0 0 16px;border-top:1px solid #bfc7b6;border-bottom:1px solid #bfc7b6}
.sheet-filter-panel>summary{padding:12px 2px;min-height:44px;font-size:12px;font-weight:650;color:var(--garden);cursor:pointer}
.sheet-filter-panel .sheet-filters{margin:0 0 13px}
#sheet-table .cell-identifier{display:block;max-width:20ch;white-space:normal;overflow-wrap:anywhere;line-height:1.5;font-variant-numeric:tabular-nums}
.sheet-heading{padding:21px 0 17px}
.sheet-heading h1{font-size:30px;line-height:1.2}
.sheet-heading h1 br{display:none}
.sheet-heading h1 .serif{margin-left:.15em}
.sheet-heading .eyebrow{margin-bottom:5px}
.sheet-heading p:last-child{margin-top:6px}
#sheet-scroll[data-sheet=attendance] #sheet-table th:nth-child(2),#sheet-scroll[data-sheet=attendance] #sheet-table td:nth-child(2){position:static;min-width:130px;box-shadow:none}
#sheet-scroll[data-sheet=attendance] #sheet-table thead th:nth-child(2){position:sticky;top:25px;z-index:3}
#sheet-scroll[data-sheet=attendance] #sheet-table thead .sheet-letters th:nth-child(2){top:0}
#sheet-scroll[data-sheet=attendance] #sheet-table th:nth-child(3),#sheet-scroll[data-sheet=attendance] #sheet-table td:nth-child(3){position:sticky;left:44px;z-index:2;min-width:170px;max-width:220px;background:#f5f6ef;box-shadow:2px 0 0 #bcc7b3}
#sheet-scroll[data-sheet=attendance] #sheet-table thead th:nth-child(3){z-index:5}
@media(max-width:520px){.sheet-heading{padding:17px 0 12px}.sheet-heading h1{font-size:26px}.sheet-heading .eyebrow{display:none}.sheet-heading>.button{margin-top:11px;min-height:39px}.sheet-heading p:last-child{font-size:11px}.sheet-scroll{max-height:360px}.page-title .eyebrow{display:none}.page-title{margin-top:17px}.topbar .refresh-small{padding:0;font-size:10px;min-height:34px}.topbar-actions{gap:8px}.sheet-filter-panel{margin-bottom:13px}}
.sheet-expanded{position:fixed;inset:0;z-index:80;background:var(--champagne);overflow:auto;padding:16px clamp(12px,3vw,36px)}
.sheet-expanded .sheet-scroll{max-height:calc(100dvh - 270px);min-height:180px}
.sheet-expanded .sheet-heading{padding:4px 0 12px}.sheet-expanded .sheet-heading h1{font-size:24px}
@media(max-width:520px){.sheet-expanded{padding:12px}.sheet-expanded .sheet-scroll{max-height:calc(100dvh - 340px)}.sheet-expanded .sheet-heading>.button{margin:8px 8px 0 0}}
