[hidden]{display:none!important}
.login-screen{position:fixed;inset:0;background:#f2f4eb;z-index:40;display:grid;place-items:center;padding:25px}.login-screen[hidden]{display:none}.login-card{background:#fff;border:1px solid #dce4d3;border-radius:12px;padding:38px;max-width:430px;width:100%;box-shadow:0 18px 70px #244c3512}.login-card h1{margin-top:22px}.login-card .field{margin-top:18px}.login-card button{margin-top:14px;width:100%}.login-card .error{color:#a74c3c}.workspace-select{background:#2d4b3c;color:#edf2e0;border:1px solid #4c6852;border-radius:5px;font-size:12px;padding:8px;max-width:100%;margin-bottom:12px}.side-label{margin-top:30px}aside{overflow-y:auto}.side-bottom{padding-top:18px}#syncBanner{position:sticky;bottom:0;margin-left:238px;padding:14px 24px;background:#fff0d4;border-top:1px solid #e3c588;color:#8d642e;z-index:25;font-size:12px;display:none;align-items:center;justify-content:space-between;gap:16px}#syncBanner .actions{flex-shrink:0}@media(max-width:1150px){#syncBanner{margin-left:205px}}@media(max-width:820px){#syncBanner{margin-left:0;flex-wrap:wrap}.workspace-select{margin-top:16px;margin-bottom:0}aside{overflow:visible}.side-bottom{display:block;font-size:11px;padding:12px 0 0}.side-bottom small{display:inline;margin-left:12px}.side-button{width:auto;margin:8px 10px 0 0;padding:6px 10px}}@media print{.login-screen,#syncBanner{display:none!important}}

.restaurant-picker{max-width:620px;max-height:92vh;overflow:auto}.restaurant-choice{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;text-align:left;border:1px solid #dce5d2;border-radius:7px;background:#f9fbf4;color:#35512f;padding:19px;margin-top:12px;cursor:pointer}.restaurant-choice:hover{background:#edf3dc}.restaurant-choice strong{overflow-wrap:anywhere}.restaurant-choice span{font-size:11px;white-space:nowrap}.restaurant-menu{margin:0 0 13px;font-size:10px}.restaurant-picker #createRestaurantForm{margin-top:25px;padding-top:15px;border-top:1px solid #e2e8d8}

.day-input{width:64px;text-align:right}#main .table-wrap:has(.day-input) td:first-child,#main .table-wrap:has(.day-input) th:first-child{position:sticky;left:0;background:#fafcf6;z-index:1}

.sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 20px;background:#f6f8ee;color:#718563;font-size:11px}.salary-sheet-wrap{max-height:75vh}.salary-sheet{table-layout:fixed;min-width:0;width:auto}.salary-sheet th{position:sticky;top:0;z-index:3;white-space:normal;overflow-wrap:anywhere;min-width:100px;max-width:130px;width:100px;text-align:center;padding:12px 8px;background:#eaf0de;color:#456035}.salary-sheet td{text-align:center;padding:0;height:32px;border-right:1px solid #e3e8d9;min-width:100px;width:100px}.salary-sheet th:first-child,.salary-sheet td:first-child{position:sticky;left:0;min-width:80px;width:80px;background:#f3f6e9;z-index:2}.salary-sheet th:nth-child(2),.salary-sheet td:nth-child(2){position:sticky;left:80px;min-width:44px;width:44px;background:#f3f6e9;z-index:2}.salary-sheet th:first-child,.salary-sheet th:nth-child(2){z-index:4}.sheet-cell{display:block;width:100%;min-width:0;height:32px;padding:4px 14px;border:0;border-radius:0;text-align:center;font-size:12px;color:#315b2a;background:transparent;user-select:text}.sheet-cell:focus{outline:2px solid #729750;outline-offset:-2px}.sheet-cell.selected{background:#e1edb3;box-shadow:inset 0 0 0 1px #b0c68b}.sheet-cell[readonly]{color:#6c7d60}.sheet-weekend{background:#f8faee}.sheet-summary td{font-size:11px;font-weight:600;height:36px;background:#f0f4df}.salary-sheet tr:hover td{background-color:inherit}.salary-sheet tr:hover td:first-child,.salary-sheet tr:hover td:nth-child(2){background:#f3f6e9}

.half-rate-note{display:block;white-space:normal;max-width:220px;color:#879778;font-size:10px;line-height:1.8;margin-top:5px}.sheet-cell[readonly]{background:#f0f1eb}

.wage-history-dialog{width:min(920px,94vw);max-height:85vh;padding:0;border:1px solid #d9e2ce;border-radius:10px;color:#344b2f;box-shadow:0 22px 90px #16351b33}.wage-history-dialog::backdrop{background:#182d2466}.wage-history-dialog .panel-head{position:sticky;top:0;background:white;z-index:1}.wage-history-dialog h2{margin-top:8px;font-size:20px}.wage-history-dialog .hint{margin-bottom:0}.wage-history-dialog .table-wrap{max-height:45vh}.wage-history-dialog .number{font-variant-numeric:tabular-nums}

.payroll-period-tabs{display:flex;gap:8px;margin-bottom:22px;border-bottom:1px solid #dce5d0}.payroll-period-tabs a{padding:14px 25px;color:#839278;border-bottom:3px solid transparent}.payroll-period-tabs a.active{color:#315c34;border-color:#527d41;background:#eef4df}.payroll-period-tabs small{margin-left:8px;font-size:10px}.payroll-month-review>summary{padding:20px 23px;color:#567247;cursor:pointer;font-weight:600;display:flex;justify-content:space-between;gap:15px}.payroll-month-review>summary span{font-variant-numeric:tabular-nums}@media(max-width:600px){.payroll-period-tabs a{padding:12px 16px}.payroll-period-tabs small{display:block;margin:4px 0 0}}

.nav-group-label{font-size:10px;letter-spacing:1.5px;color:#91ab99;padding:17px 14px 7px}.breadcrumb #sectionName{margin:0;color:#80917e}@media(max-width:820px){.nav-group-label{display:none}}
.month-label[hidden],#export[hidden],#backup[hidden]{display:none!important}
.employee-archive summary{white-space:nowrap}.employee-archive .archive-fields{display:grid;gap:10px;padding:12px 0;min-width:160px}
.rest-day-options{display:flex;flex-wrap:wrap;gap:6px 10px;min-width:180px;max-width:260px;margin:6px 0}.rest-day-options label{display:flex;align-items:center;gap:4px;white-space:nowrap;font-size:12px}.rest-day-options input{width:auto!important}.attendance-cell{position:relative}.cell-note-button{position:absolute;right:1px;top:1px;padding:0 3px;border:0;background:transparent;color:#829282;font-size:11px;cursor:pointer;z-index:1;line-height:14px}.attendance-cell.has-note .cell-note-button{color:#b27c20}.attendance-note-dialog{border:1px solid #d5dfd4;border-radius:12px;width:min(480px,90vw);padding:24px}.attendance-note-dialog::backdrop{background:#152a2255}.attendance-note-dialog textarea{box-sizing:border-box;width:100%;resize:vertical}
.attendance-font-control{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px}.attendance-font-control select{border:1px solid #cad5be;border-radius:4px;padding:5px 8px;background:white;color:#315b2a}.salary-sheet th,.salary-sheet td,.salary-sheet .sheet-cell,.salary-sheet .sheet-summary td{font-size:var(--attendance-font-size,16px)}.salary-sheet td,.salary-sheet .sheet-cell{height:max(32px,calc(var(--attendance-font-size,16px) + 16px))}.salary-sheet .sheet-summary td{height:max(36px,calc(var(--attendance-font-size,16px) + 20px))}
.historical-roster-label{display:block;margin-top:5px;color:#946b31;font-size:11px;font-weight:400}
.employee-roles>summary{padding:18px 22px;cursor:pointer;font-size:14px;font-weight:600}.employee-role-form{padding:18px 0;border-bottom:1px solid #dde5d5;margin-bottom:16px}.employee-role-form h3{margin-bottom:14px}
.employee-role-shortcut{display:flex;align-items:flex-start;flex-direction:column;gap:8px;margin-top:8px}.employee-role-shortcut small{white-space:normal;color:#75856c;font-size:11px;max-width:200px}.employee-role-row>td{padding:0 12px 10px!important;background:#f8faf3;white-space:normal}.employee-role-row .employee-roles{margin:0}.employee-role-row .employee-roles>summary{padding:10px 14px;font-size:12px}.employee-role-row .panel-body{max-width:1100px}
.payroll-tip-cell,.payroll-total-cell{display:flex;flex-direction:column;gap:7px;align-items:flex-end}.payroll-tip-cell .small-tip-source{width:170px;font-size:10px;white-space:normal}.payroll-total-cell label{font-size:10px;color:#7c8876}.payroll-total-cell input{width:75px}
.import-mapping{border:1px solid #dce3d5;border-radius:6px;margin:10px 0}.import-mapping summary{display:flex;flex-wrap:wrap;gap:10px 20px;justify-content:space-between;cursor:pointer;padding:14px 18px;font-size:12px}.import-mapping summary span{color:#708064}.mapping-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin:20px 0}.mapping-fields small{font-size:10px;color:#839079}.import-mapping .table-wrap{max-height:210px;margin-bottom:16px}

.expense-bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 18px;border-bottom:1px solid var(--line);background:#f6f8f2}.expense-bulk-toolbar label{display:flex;align-items:center;gap:8px;font-size:12px}.expense-bulk-toolbar select.edit{width:auto;min-width:150px;max-width:240px}.expense-bulk-toolbar small{color:var(--muted);font-size:11px}
.hourly-payroll-table thead th:first-child,.hourly-payroll-table tbody td:has(>.payroll-name-label){position:sticky;left:0;box-shadow:2px 0 0 #e4e8e1;min-width:150px}.hourly-payroll-table thead th:first-child{z-index:4;background:#f3f6e9}.hourly-payroll-table tbody td:has(>.payroll-name-label){z-index:2;background:#fff}.payroll-name-label{display:block;white-space:nowrap}.hourly-payroll-table tbody tr:hover td:has(>.payroll-name-label){background:#f8faee}@media print{.hourly-payroll-table thead th:first-child,.hourly-payroll-table tbody td:has(>.payroll-name-label){position:static;box-shadow:none}}

#main tr.expense-unclassified,#main tr.expense-unclassified *{color:#b42318!important}
.expense-amount-total{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;border-top:2px solid #b9c8b1;background:#f3f6e9;color:#284c41}.expense-amount-total>strong{font-size:18px;font-variant-numeric:tabular-nums}.expense-amount-total small{display:block;margin-top:5px;color:#718563;font-size:11px}
.expense-section>summary{cursor:pointer;list-style:none}.expense-section>summary::-webkit-details-marker{display:none}.expense-section>summary:focus-visible{outline:2px solid #69885b;outline-offset:-3px}.expense-section-chevron{width:9px;height:9px;border-right:2px solid #69885b;border-bottom:2px solid #69885b;transform:rotate(-45deg);margin-right:5px;flex-shrink:0}.expense-section[open]>summary .expense-section-chevron{transform:rotate(45deg)}.expense-section-actions{display:flex;justify-content:flex-end;padding:12px 20px 0}.expense-section:not([open])>summary{border-bottom:0}

.sales-total-row td,.cash-closing-row td{font-weight:600;background:#f3f6e9;border-top:2px solid #b9c8b1}

.reconciliation-subtotal td{font-weight:600;background:#f3f6e9;border-top:2px solid #b9c8b1}.reconciliation-balance td{font-size:16px;background:#e8efcf;border-top:2px solid #829a70}
:root{--section-total-font-size:16px;--section-total-font-weight:600}.expense-amount-total strong,.sales-total-row td,.sales-total-row td strong,.cash-closing-row td,.cash-closing-row td strong,.reconciliation-subtotal td,.reconciliation-subtotal td strong,.reconciliation-balance td,.reconciliation-balance td strong{font-family:inherit;font-size:var(--section-total-font-size);font-weight:var(--section-total-font-weight);line-height:1.5;font-variant-numeric:tabular-nums}
.monthly-summary-table td:first-child{min-width:220px;white-space:normal;text-align:left}.monthly-summary-table td:last-child{min-width:260px;max-width:480px;white-space:normal;text-align:left;line-height:1.7}.monthly-summary-table summary{cursor:pointer}.monthly-summary-table .stack-row{gap:18px}.monthly-summary-table .stack-row strong{white-space:nowrap}

.allocation-dialog{width:min(920px,94vw);max-height:90vh;padding:0;border:1px solid #d9e2ce;border-radius:10px;color:#344b2f}.allocation-dialog::backdrop{background:#182d2466}.allocation-dialog fieldset{border:0;padding:0;margin:0}.allocation-dialog .table-wrap{max-height:40vh;overflow:auto}.allocation-dialog .actions{margin-top:16px}.allocation-dialog [data-allocation-error]{margin-top:12px}
.attendance-column-order{display:flex;justify-content:center;gap:6px;margin-top:6px}.attendance-column-order button{border:1px solid #d8dfd2;border-radius:4px;background:#fff;color:#42613a;padding:2px 8px;font-size:14px;line-height:20px}.attendance-column-order button:hover{background:#edf1df}@media print{.attendance-column-order{display:none}}

.payroll-month-review .table-wrap{max-height:65vh;overflow:auto}
.payroll-month-review table{width:max-content;min-width:100%}
.payroll-month-review thead th{position:sticky;top:0;z-index:2}
.payroll-month-review th:first-child,.payroll-month-review td:first-child{position:sticky;left:0;min-width:150px;z-index:1;background:#fff;border-right:1px solid var(--line)}
.payroll-month-review th:first-child{z-index:3;background:#f8faf4}
.payroll-month-review tr:hover td:first-child{background:#fcfdf8}
.payroll-month-review td input{min-width:90px}
.payroll-payment-summary .field{display:grid;grid-template-rows:minmax(2.8em,auto)44px minmax(2.8em,auto);align-content:start;gap:7px;min-width:0}
.payroll-payment-summary .payroll-summary-label{display:flex;align-items:flex-end;line-height:1.4}
.payroll-payment-summary .field input,.payroll-payment-summary .field output{display:block;box-sizing:border-box;width:100%;min-width:0;height:44px;margin:0;padding:10px 12px;border:1px solid #dde5d2;border-radius:4px;background:#fff;color:#3c5334;font:600 16px/22px 'Noto Sans SC','Microsoft YaHei',sans-serif;font-variant-numeric:tabular-nums;text-align:left}
.payroll-payment-summary .field small{font-size:11px;line-height:1.5;color:#819087}
.card-fee-heading{margin:0 0 14px}
.card-fee-heading h2{font-size:18px;color:#284c41}
.card-fee-heading p{margin-top:5px;font-size:12px}
.cards.card-fee-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.metric.card-fee-card{padding:27px 28px;min-height:255px;border-radius:9px}
.card-fee-card .metric-label{font-size:15px;gap:14px;align-items:center;flex-wrap:wrap}
.card-fee-status{font-size:11px;font-weight:400;white-space:nowrap}
.card-fee-card .metric-value{font-size:clamp(40px,4.5vw,56px);line-height:1.1;margin:21px 0 23px;font-variant-numeric:tabular-nums}
.metric.card-fee-online{background:#edf2d3;border-color:#d6dfb5;color:#284c41}
.card-fee-online .metric-label{color:#3d5a34}
.card-fee-online .metric-note{color:#617451}
.card-fee-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 17px;padding-top:17px;border-top:1px solid #788c6340}
.featured .card-fee-amounts{border-color:#c4d2b640}
.card-fee-amounts div{min-width:0}
.card-fee-amounts dt{font-size:11px;opacity:.8;margin-bottom:7px}
.card-fee-amounts dd{margin:0;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.card-fee-card .card-fee-formula{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:680px){.cards.card-fee-cards{grid-template-columns:minmax(0,1fr);gap:14px}.metric.card-fee-card{padding:23px;min-height:235px}}
.tax-net-sales-table table{min-width:640px;table-layout:fixed;white-space:normal}
.tax-net-sales-table th:first-child{width:32%}
.tax-net-sales-table th:nth-child(2){width:20%}
.tax-net-sales-table td:nth-child(2){white-space:nowrap;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.tax-net-sales-table td:last-child,.tax-net-sales-table th:last-child{text-align:left;line-height:1.7}
