:root{font-family:system-ui,-apple-system,sans-serif;color:#241d17;background:#f5f1e9}*{box-sizing:border-box}body{margin:0}header{display:flex;gap:1rem;align-items:center;background:#33271d;color:#fff;padding:1rem 1.5rem}header strong{font-size:1.25rem}header span{opacity:.75}header button{margin-left:auto}main{max-width:1250px;margin:auto;padding:1.25rem}h1{font-size:1.5rem}h2{font-size:1.15rem;margin-top:0}.card{background:#fff;border:1px solid #ddd3c5;border-radius:12px;padding:1rem;margin-bottom:1rem;box-shadow:0 2px 8px #3d2e1910}.row{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.grow{flex:1}button,input,select{font:inherit;border-radius:7px;border:1px solid #bdb2a5;padding:.55rem;min-height:44px}button{background:#fff;cursor:pointer;touch-action:manipulation}button.primary{background:#6a3f26;color:#fff;border-color:#6a3f26}button.danger{color:#8d211c;border-color:#b87570}button:disabled{opacity:.45;cursor:not-allowed}input[type=number]{width:90px}input[type=checkbox]{width:22px;height:22px;min-height:0}label{display:block;margin:.5rem 0;font-size:.9rem}label input,label select{display:block;margin-top:.2rem;max-width:100%}.muted{color:#70665d}.warn{color:#9b431c}.good{color:#17642d}.bad{color:#a32620}.tablewrap{overflow:auto;max-height:62vh;-webkit-overflow-scrolling:touch}table{border-collapse:collapse;width:100%;font-size:.88rem}td,th{text-align:left;padding:.45rem;border-bottom:1px solid #e6dfd7;vertical-align:middle}th{position:sticky;top:0;background:#fff}tr:nth-child(even){background:#faf8f4}#notice{position:fixed;bottom:1rem;right:1rem;background:#33271d;color:#fff;padding:.7rem 1rem;border-radius:8px;display:none;max-width:min(450px,calc(100vw - 2rem));z-index:10}.pill{display:inline-block;border-radius:1rem;background:#e7dfd2;padding:.25rem .6rem;margin:.2rem}.counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.6rem}.countCard{border:1px solid #dcd2c6;border-radius:10px;padding:.7rem;background:#fff}.countCard h3{font-size:1rem;margin:.2rem 0}.countCard label{margin:.35rem 0}.countCard input{width:100%}.tabs{display:flex;gap:.5rem;margin-bottom:1rem;overflow-x:auto}.tabs button{flex:0 0 auto}.tabs button.selected{background:#6a3f26;color:white}.small{font-size:.8rem}
.productList{display:flex;flex-direction:column;max-height:60vh;overflow:auto;border:1px solid #e6dfd7;border-radius:9px}.productRow{display:flex;justify-content:space-between;align-items:center;gap:1rem;width:100%;border:0;border-bottom:1px solid #e6dfd7;border-radius:0;text-align:left;padding:.8rem 1rem;background:#fff}.productRow:last-child{border-bottom:0}.productRow:hover,.productRow.selected{background:#f0e6d8}.productRow small{color:#70665d;white-space:nowrap}.selectedItem{padding:1.25rem 1.5rem;border:2px solid #6a3f26}.selectedItem .countCard{border:0;box-shadow:none;padding:0}.selectedItem .countCard h3{font-size:1.4rem;margin:.2rem 0 .8rem}.selectedItem .countCard label{font-size:1rem}.selectedItem .countCard input{max-width:240px;font-size:1.1rem;padding:.7rem}.selectedItem .countCard button{margin:.35rem .35rem .35rem 0;padding:.75rem 1rem}.closeItem{float:right}
.pieceEntries{display:flex;flex-wrap:wrap;gap:.35rem;margin:.45rem 0}.pieceEntry{display:inline-flex;align-items:center;gap:.3rem;border:1px solid #d8cab8;background:#f5efe6;border-radius:8px;padding:.2rem .35rem}.pieceEntry .removePiece{border:0;background:transparent;padding:0 .3rem;color:#8d211c;font-size:1.1rem}.pieceTotal{font-size:1.1rem;font-weight:700}
.volumeGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:1rem;margin:1.25rem 0}.volumeColumn{border:1px solid #d8cab8;border-radius:12px;background:#fcfaf6;padding:1rem;min-height:225px}.volumeColumn h4{font-size:1.08rem;margin:0 0 .85rem}.volumeColumn label{margin-top:.9rem}.volumeColumn .volumeNext{width:100%;max-width:none}.volumeEntries{display:flex;flex-wrap:wrap;gap:.3rem;min-height:2rem}.volumeEntry{display:inline-flex;align-items:center;gap:.35rem;background:#efe5d7;border-radius:7px;padding:.2rem .4rem}.volumeEntry .removeVolume{border:0;background:transparent;padding:0 .25rem;color:#8d211c;font-size:1.1rem}.volumeTotal{font-weight:700;margin:.75rem 0 0}.countActions{border-top:1px solid #e6dfd7;padding-top:.85rem;margin-top:1rem}
.volumeEntries[hidden]{display:none}.volumeColumn .undoVolume{font-size:.85rem;color:#70665d;padding:.45rem}
.pieceEntries[hidden]{display:none}.countCard .undoPiece{font-size:.85rem;color:#70665d;padding:.45rem}
.grandTotal{font-size:1.25rem;font-weight:700;background:#efe5d7;border-radius:9px;padding:.8rem 1rem;margin:1rem 0}.volumeTotal,.pieceTotal{font-size:1.05rem;font-weight:600;min-height:1.5rem}
.productRow.uncounted,.productRow.uncounted:hover,.productRow.uncounted.selected{background:#fae8e6;border-left:5px solid #d6948e}.productRow.saved,.productRow.saved:hover,.productRow.saved.selected{background:#dceffa;border-left:5px solid #5da6d2}
.productRow .countedValue{flex-shrink:0;white-space:nowrap;font-variant-numeric:tabular-nums;color:#194762}
tr.dirty td{background:#fff5cf}
.packageChoices{display:flex;gap:.7rem;flex-wrap:wrap}.packageChoices label{display:inline-flex;align-items:center;gap:.25rem;margin:0;white-space:nowrap}.packageChoices input{width:auto;margin:0}
.categoryControls{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.45rem;margin:1rem 0;padding:.8rem;background:#f5f1e9;border-radius:9px}.categoryControls>strong{grid-column:1/-1}.categoryControls label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem;margin:0;padding:.45rem;background:#fff;border-radius:7px}.categoryControls small{color:#70665d}.productCategory h3{position:sticky;top:0;z-index:1;margin:0;padding:.6rem .8rem;background:#e7dfd2;color:#4b392d;font-size:1rem}.productCategory+.productCategory{border-top:4px solid #fff}
.locationChoices{display:flex;flex-wrap:wrap;gap:.55rem;margin:.7rem 0}.locationChoices label{display:inline-flex;align-items:center;gap:.4rem;margin:0;padding:.6rem .75rem;border:1px solid #d8cab8;border-radius:8px;background:#fcfaf6}
.revisionActions{display:flex;flex-wrap:wrap;gap:.6rem;border-top:1px solid #e6dfd7;margin-top:1rem;padding-top:1rem}.revisionActions #saveRevision{margin-left:auto}
.clubBrand{display:flex;align-items:center;justify-content:center;width:100%;height:92px;margin-bottom:38px;padding:11px;border-radius:10px;background:#fff;overflow:hidden}.clubBrand img{display:block;width:100%;height:100%;object-fit:contain}
@media (max-width:900px){main{padding:1rem}.volumeGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.selectedItem{padding:1rem}.tablewrap table{min-width:760px}.productRow{min-height:54px}}
@media (max-width:600px){main{padding:.65rem}header{padding:.7rem;gap:.5rem;flex-wrap:wrap}header strong{font-size:1.05rem}header span{font-size:.82rem;order:3;width:100%}header button{margin-left:auto}.card{padding:.75rem;border-radius:9px}h1{font-size:1.28rem}.volumeGrid{grid-template-columns:1fr;gap:.7rem;margin:.8rem 0}.volumeColumn{min-height:0;padding:.8rem}.selectedItem{padding:.8rem}.selectedItem .countCard h3{font-size:1.2rem;padding-right:4.5rem}.selectedItem .countCard input{max-width:none;font-size:16px}.selectedItem .countCard button{width:100%;margin:.25rem 0}.closeItem{width:auto!important;padding:.55rem .7rem!important}.productRow{padding:.8rem;min-height:56px;gap:.5rem}.productRow span{overflow-wrap:anywhere}.productRow .countedValue{font-size:.95rem}.countActions .saveCount{width:100%;font-weight:700}.grandTotal{font-size:1.1rem}.row button{flex:1 1 auto}#search,#findItem{width:100%;font-size:16px}#notice{left:.65rem;right:.65rem;bottom:.65rem}.packageChoices{min-width:310px}td,th{padding:.4rem}.tabs{margin-inline:-.65rem;padding-inline:.65rem}}

/* Culture Beat Reports visual system */
:root{--ink:#182631;--muted:#61727d;--line:#dbe3e6;--accent:#d7f182;--danger:#a63735;color:#192b36;background:#f2f5f6;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px}body{background:#f2f5f6}.shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:32px 22px;background:var(--ink);color:#fff}.brand{margin-bottom:48px;font-size:1.7rem;line-height:.9;letter-spacing:-.07em;font-weight:800}.brand span{display:block;color:var(--accent)}.brand small{display:block;margin-top:14px;color:#92a5ad;font-size:.7rem;letter-spacing:.12em;font-weight:500}.sidebar nav{display:flex;flex-direction:column;gap:9px}.navButton{display:flex;align-items:center;gap:12px;padding:13px;border-radius:9px;color:#b6c6cd;font-size:.94rem;font-weight:500}.navButton.active{background:var(--accent);color:var(--ink)}.sidebarFooter{margin-top:auto;padding-top:30px}.moduleNote{margin-bottom:14px;color:#a7b9c2;font-size:.8rem}.sidebarFooter button{width:100%;border-color:#44545c;background:transparent;color:#b6c6cd}.workspace{width:100%;max-width:1660px;margin:auto;padding:32px 40px 60px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:34px;font-size:.875rem}.topbar .crumb{color:var(--muted)}.topbar .tag{padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:.8rem;white-space:nowrap}h1{margin:0 0 24px;font-size:2rem;line-height:1.2;letter-spacing:-.035em}h2{font-size:1.25rem;letter-spacing:-.02em}h3{font-size:1.05rem}.card{margin-bottom:20px;padding:24px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:none}button,input,select{border-color:#bacbd2;border-radius:9px;color:var(--ink)}button{padding:11px 16px;background:#fff;font-weight:600}button:hover{border-color:#839ba5;background:#f7fafb}button.primary{border-color:var(--ink);background:var(--ink);color:#fff}button.primary:hover{background:#294352}button.danger{color:var(--danger);border-color:var(--line)}.muted{color:var(--muted)}.tabs{gap:9px;margin-bottom:22px}.tabs button.selected{border-color:var(--accent);background:var(--accent);color:var(--ink)}.pill{border-radius:6px;background:#edf1f4;color:#526570;font-size:.82rem}.tablewrap{border:1px solid var(--line);border-radius:10px}table{font-size:.89rem;white-space:nowrap}th{padding:13px 16px;border-color:var(--line);background:#f7f9fa;color:var(--muted);font-size:.81rem;font-weight:500}td{padding:14px 16px;border-color:#eaf0f2}tr:nth-child(even){background:#fbfcfc}.selectedItem{border:1px solid var(--line);border-left:5px solid var(--accent)}.volumeColumn{border-color:var(--line);background:#f7f9fa}.grandTotal{background:#edf3e9;color:#3e6244}.productList{border-color:var(--line)}.productRow{border-color:#eaf0f2;padding:14px 16px}.productRow.uncounted,.productRow.uncounted:hover,.productRow.uncounted.selected{background:#fae7e7;border-left-color:#d78f8d}.productRow.saved,.productRow.saved:hover,.productRow.saved.selected{background:#e7f2f4;border-left-color:#75b0b3}.productRow .countedValue{color:#226374}.productCategory h3{background:#edf1f4;color:#526570}.categoryControls{background:#f2f5f6}.categoryControls label,.locationChoices label{border-color:var(--line);background:#fff}.revisionActions #saveRevision{background:var(--accent);border-color:var(--accent);color:var(--ink)}#notice{background:var(--ink);box-shadow:0 8px 25px #0003}
@media(max-width:1120px){.shell{grid-template-columns:190px 1fr}.sidebar{padding:25px 14px}.workspace{padding:26px 24px}}
@media(max-width:740px){.shell{display:block}.sidebar{position:static;height:auto;padding:14px 16px}.clubBrand{width:150px;height:52px;margin:0 0 12px;padding:6px}.sidebar nav{flex-direction:row;overflow:auto}.navButton{padding:10px;white-space:nowrap;font-size:.84rem}.sidebarFooter{display:flex;align-items:center;gap:15px;padding-top:12px}.moduleNote{flex:1;margin:0}.sidebarFooter button{width:auto;min-height:34px;padding:6px 10px;font-size:.78rem}.workspace{padding:20px 16px}.topbar{margin-bottom:24px;font-size:.79rem}h1{font-size:1.7rem}.card{padding:18px}.revisionActions{display:grid;grid-template-columns:1fr}.revisionActions #saveRevision{margin-left:0}}

.savedBaseline{padding:14px;background:#eaf6fb;border-radius:10px;font-size:1.15rem}.quantityColumn{border:1px solid var(--line);border-radius:12px;padding:16px}.quantityColumn input{font-size:1.3rem;min-height:48px}.countEntry{display:inline-flex;align-items:center;gap:6px;margin:4px;padding:4px 8px;background:#f1f5f7;border-radius:8px}.countEntry button{padding:4px 10px;min-height:36px}.countActions{display:flex;gap:10px;flex-wrap:wrap}#countError{color:#a82121}
.missingItemsReview{max-height:45vh;overflow:auto;border:1px solid var(--line);border-radius:10px;padding:12px 20px;margin:18px 0}.missingItemsReview li{padding:7px 0}.missingItemsReview small{color:#667085}#absenceConfirmed{margin-right:8px}#absenceError{color:#a82121}#finishLocation{margin-top:10px}

.productCategory>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:15px 16px;min-height:48px;background:#edf1f4;color:#344954;font-weight:650}.productCategory>summary::-webkit-details-marker{display:none}.productCategory>summary:before{content:'▸';font-size:1.1rem}.productCategory[open]>summary:before{content:'▾'}.productCategory>summary small{margin-left:auto;font-weight:400;white-space:nowrap;color:#61727d}.productCategory>summary:focus-visible{outline:3px solid #6b93ae;outline-offset:-3px}.productCategory[open]>summary{position:sticky;top:0;z-index:1}
.adminCategory .categoryBulk{display:flex;align-items:center;gap:10px;margin:0;padding:14px 16px;background:#f7f9fa}.adminCategory>.tablewrap{border:0;border-radius:0}.adminCategory+.adminCategory{border-top:3px solid white}

.productCategory{scroll-margin-top:8px}

.quantityBreakdown summary{cursor:pointer;padding:5px 0}.quantityBreakdown summary small,.quantityBreakdown div small{color:var(--muted)}.quantityBreakdown>div{padding:5px 0;white-space:normal;min-width:190px}

.productRow.pending,.productRow.pending:hover{background:#fff3cd;border-left-color:#d5a42c}.productRow.pending .countedValue{color:#795600}#offlinePanel{border-left:5px solid #d5a42c}#offlinePanel details{margin:10px 0}

.reportActions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
@media print{
 @page{size:A4 landscape;margin:12mm}
 body,.workspace,.shell{display:block;background:white;color:black;margin:0;padding:0;max-width:none}
 .sidebar,.topbar,.tabs,#offlinePanel,#notice,#app>h1,#panel>section:not(#historyReport),.reportActions{display:none!important}
 #historyReport{display:block!important;border:0;padding:0;box-shadow:none}
 #historyReport button{display:none}#historyReport .tablewrap{overflow:visible;border:0}
 #historyReport table{width:100%;font-size:9px;white-space:normal}
 #historyReport td,#historyReport th{padding:5px;border:1px solid #bbb}
 #historyReport tr{break-inside:avoid}#historyReport thead{display:table-header-group}
 #historyReport details>summary{list-style:none}#historyReport .quantityBreakdown>div{min-width:0}
 #historyReport .quantityBreakdown summary small{display:none}
}

.finalPrintTable{display:none}
@media print{#historyReport>.tablewrap,#historyReport>details{display:none!important}#historyReport>.finalPrintTable{display:block!important}}

.moneySummary{margin:20px 0}.moneyTotals{display:flex;flex-wrap:wrap;gap:12px}.moneyTotals>div{padding:14px 18px;background:#f4f5f6;border:1px solid #ddd;border-radius:10px;min-width:145px}.moneyTotals span,.moneyTotals strong{display:block}.moneyTotals strong{margin-top:7px;font-size:1.3rem;font-variant-numeric:tabular-nums}

.moneyDifference{font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.moneyDifference.negative{color:#b42318}.moneyDifference.positive{color:#087443}.chargePanel{padding:18px;border:2px solid #c7df80;border-radius:12px;margin:20px 0}.chargeControls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:12px 0}.chargePanel .chargeTotal{background:#eaf4ce}.chargeSaveStatus{min-height:1.5em}[data-charge-item]{width:22px;height:22px}

.acceptedRoundLabel{display:block;font-size:12px;margin-bottom:8px}.acceptedRoundLabel select{display:block;min-width:155px;padding:8px;margin-top:4px}

.roundChoiceActions{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;margin-top:18px;border:1px solid #b5a26a;border-radius:12px;background:#fffaf0;box-shadow:0 4px 20px #0002}.roundDraftStatus{flex:1;min-width:220px}.roundChoicePending{outline:2px solid #bd8c22;background:#fff5d5}.applyRoundChoices{font-weight:700}@media print{.roundChoiceActions{display:none}}

.reviewTable table{font-size:.8rem;white-space:normal;min-width:850px}.reviewTable th,.reviewTable td{padding:7px 5px;line-height:1.25}.reviewTable th{font-size:.74rem;white-space:normal;max-width:82px}.reviewTable td:first-child{min-width:105px;max-width:145px;overflow-wrap:anywhere}.reviewTable .moneyDifference{white-space:nowrap}.reviewTable .quantityBreakdown summary{padding:3px 0;white-space:nowrap}.reviewTable .quantityBreakdown summary small{display:block;font-size:.66rem}.reviewTable .quantityBreakdown>div{min-width:110px;font-size:.75rem}.reviewTable .acceptedRoundLabel{margin:0 0 5px;font-size:.7rem}.reviewTable .acceptedRoundLabel select{width:125px;min-width:0;padding:5px 3px;font-size:.75rem}.reviewTable small{font-size:.68rem}.reviewTable input[type=checkbox]{margin:0}.reviewTable td:last-child{white-space:normal;min-width:58px;max-width:75px}
