:root{--ink:#18352a;--muted:#6b7f76;--brand:#2f9e5b;--brand-dark:#1f7842;--brand-soft:#e8f7ee;--line:#d8e9df;--surface:#fff;--canvas:#f4f9f6;--danger:#b42318;--shadow:0 14px 44px rgb(31 98 59 / 8%)}
body.theme-portal{--ink:#352323;--muted:#7d6666;--brand:#d85c5c;--brand-dark:#9f2f2f;--brand-soft:#fff0f0;--line:#efd1d1;--surface:#fff;--canvas:#fff;--shadow:0 14px 44px rgb(120 45 45 / 7%)}
body.theme-daily{--ink:#14314f;--muted:#60758a;--brand:#2f7fd6;--brand-dark:#1f5f9e;--brand-soft:#eaf4ff;--line:#cfe2f5;--surface:#fff;--canvas:#f1f8ff;--shadow:0 14px 44px rgb(38 105 168 / 8%)}
body.theme-qbbanks{--ink:#18352a;--muted:#6b7f76;--brand:#2f9e5b;--brand-dark:#1f7842;--brand-soft:#e8f7ee;--line:#d8e9df;--surface:#fff;--canvas:#f4fbf6;--shadow:0 14px 44px rgb(31 98 59 / 8%)}
*{box-sizing:border-box}body{min-height:100vh;margin:0;background:var(--canvas);color:var(--ink);font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;display:flex;flex-direction:column}a{color:var(--brand-dark)}
.site-header{height:72px;padding:.65rem clamp(1.2rem,4vw,4.5rem);background:color-mix(in srgb,var(--brand-soft) 72%,#fff);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:.75rem;color:var(--ink);font-weight:850;text-decoration:none}.brand img{width:48px;height:48px;border-radius:50%;object-fit:contain}.user-label,.muted{color:var(--muted)}
.app-shell{width:min(1540px,96vw);margin:0 auto;display:grid;grid-template-columns:268px minmax(0,1fr);gap:1.5rem;align-items:start;flex:1}.app-shell main{grid-column:2;padding:2.4rem 0 3rem}.workspace-nav{grid-column:1;position:sticky;top:94px;margin-top:1.4rem;min-height:calc(100vh - 125px);padding:1rem;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);display:flex;flex-direction:column}.nav-context{padding:.55rem .65rem 1rem;border-bottom:1px solid var(--line);display:grid}.nav-context span,.eyebrow{color:var(--brand-dark);font-size:.68rem;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.workspace-nav nav{display:grid;gap:.28rem;padding:1rem 0}.workspace-nav a,.workspace-nav button{min-height:44px;padding:.68rem .7rem;border:0;border-radius:11px;background:transparent;color:#38545a;text-decoration:none;font:inherit;font-weight:700;text-align:left;display:flex;align-items:center;gap:.75rem}.workspace-nav a:hover{background:var(--brand-soft);color:var(--brand-dark)}.workspace-nav form{margin-top:auto}
main{width:min(1180px,92vw);margin:clamp(2rem,5vw,4.5rem) auto;flex:1}footer{padding:1rem 5vw;border-top:1px solid var(--line);color:var(--muted);background:#fff;text-align:center;font-size:.78rem}h1,h2,h3{margin:.1em 0 .35em;line-height:1.16;letter-spacing:-.025em}h1{font-size:clamp(2rem,3.5vw,2.85rem)}h2{font-size:1.25rem}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:1.8rem}.page-heading p{margin-bottom:0}
.button,button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:.72rem 1rem;color:#fff;background:var(--brand);font:inherit;font-weight:750;text-decoration:none;cursor:pointer}.button:hover,button:hover{background:var(--brand-dark)}.button.secondary{background:var(--brand-soft);color:var(--brand-dark)}.button.ghost{background:transparent;color:var(--brand-dark)}.card{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:clamp(1.2rem,2.4vw,1.8rem)}.table-card{padding:0;overflow:hidden}.auth-card{max-width:520px;margin:3rem auto}.metric-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:1.25rem}.metric-strip>div{padding:1rem 1.2rem;background:#fff;display:grid}.metric-strip strong{font-size:1.35rem}.metric-strip span{color:var(--muted);font-size:.82rem}
.section-heading{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem}.section-heading p{margin:.25rem 0 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.9rem 1rem;border-bottom:1px solid var(--line);white-space:nowrap}th{color:var(--muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.08em;background:#fbfdfe}.message{padding:.8rem 1rem;border-radius:10px;background:#ddf5eb;color:#176b50;margin-bottom:1rem}
.daily-form{display:grid;gap:1rem}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem 1rem}.form-grid.dense{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid>div{min-width:0}label{display:block;font-weight:700;margin-bottom:.35rem}input,select,textarea{display:block;width:100%;padding:.72rem .8rem;border:1px solid #bad5c5;border-radius:10px;background:#fff;color:var(--ink);font:inherit}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgb(47 158 91 / 14%)}input[type=checkbox]{display:inline-block;width:auto;margin-right:.5rem}.helptext{display:block;color:var(--muted);font-size:.78rem}.sticky-actions{position:sticky;bottom:1rem;display:flex;justify-content:flex-end;gap:.7rem;padding:1rem;border:1px solid var(--line);border-radius:16px;background:rgb(255 255 255 / 94%);box-shadow:var(--shadow);backdrop-filter:blur(10px)}
@media(max-width:1050px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.form-grid.dense{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.site-header{position:static}.app-shell{display:block;width:92vw}.workspace-nav{position:static;min-height:auto}.form-grid,.form-grid.dense,.metric-strip{grid-template-columns:1fr}.page-heading{align-items:flex-start;flex-direction:column}}
.footer-links{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.footer-links a{font-weight:750;text-decoration:none}.company-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem}.company-card{padding:1.2rem;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:1rem}.portal-company-grid{grid-template-columns:repeat(auto-fit,minmax(460px,1fr));align-items:stretch}.portal-company-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.2rem;min-height:150px}.portal-company-card .company-card-identity{min-width:0}.portal-company-card .company-card-identity>div{min-width:0}.portal-company-card h2{max-width:300px;margin-bottom:.2rem;overflow-wrap:anywhere}.portal-company-card .company-card-actions{display:grid;grid-template-columns:repeat(2,minmax(145px,1fr));align-items:stretch;width:min(330px,100%)}.portal-company-card .company-card-actions .button,.portal-company-card .company-card-actions button{width:100%;min-height:46px}.portal-company-card .company-card-actions form{display:contents}.badge{display:inline-flex;padding:.3rem .58rem;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);font-size:.74rem;font-weight:750}.badge.danger{background:#ffebe8;color:var(--danger)}.form-shell,.legal-document{max-width:850px;margin:0 auto}.back-link{display:inline-block;margin-bottom:1rem;font-weight:750;text-decoration:none}.legal-document h2{margin-top:1.6rem}.legal-warning{margin-top:1.6rem;padding:1rem;border:1px solid #efd797;border-radius:10px;background:#fff7df;color:#704d00;font-weight:700}
.button-row{display:flex;gap:.6rem;flex-wrap:wrap}.formset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.75rem;margin-top:1rem}.formset-grid.compact{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.inline-record{padding:.8rem;border:1px solid var(--line);border-radius:12px;background:var(--canvas)}details{margin-top:1rem}summary{cursor:pointer;color:var(--brand-dark);font-weight:800}

/* Desktop daily workspace: compact, stable and deliberately non-responsive. */
body{min-width:1280px}.legacy-workspace{gap:0;background:#e6f3dc;border:1px solid #9caeb7;color:#3c4547;font:13px/1.25 "Segoe UI",Tahoma,sans-serif;box-shadow:0 8px 28px rgb(45 76 58 / 10%)}
.report-page{min-width:1160px}
.legacy-record-header{min-height:74px;display:grid;grid-template-columns:180px 245px 170px 145px 190px;align-items:end;gap:14px;padding:10px 14px 12px;background:#e3f1d9;border-bottom:1px solid #9caeb7}.legacy-title{display:grid;align-self:center}.legacy-title span{font-size:11px;color:#66736b}.legacy-title strong{font-size:16px}.legacy-record-header .legacy-field{display:grid;grid-template-columns:72px 1fr;align-items:center}
.legacy-tabs{display:flex;align-items:flex-end;padding:0 8px;background:#e3f1d9;border-bottom:1px solid #93a8b2}.legacy-tab{min-height:31px;padding:5px 10px;border:1px solid #93a8b2;border-bottom:0;border-radius:4px 4px 0 0;margin:0 2px 0 0;background:#fff4cf;color:#343c3e;font-weight:400}.legacy-tab:hover,.legacy-tab.active{background:#fff;color:#202829}.legacy-tab.active{position:relative;top:1px}
.legacy-body{display:grid;grid-template-columns:minmax(820px,1fr) 290px;min-height:650px;background:#e3f1d9}.legacy-panels{background:#fff;border-right:1px solid #93a8b2}.legacy-panel{min-height:650px;padding:20px 26px 30px;background:#fff}.legacy-panel[hidden]{display:none}.legacy-panel-heading{display:flex;align-items:baseline;justify-content:space-between;border-bottom:3px solid #273032;margin-bottom:17px;padding-bottom:8px}.legacy-panel-heading h1{font-size:16px;letter-spacing:0}.legacy-panel-heading span{font-size:12px;color:#687476}
.legacy-workspace input,.legacy-workspace select,.legacy-workspace textarea{border:1px solid #aeb8b8;border-radius:0;padding:4px 7px;min-height:27px;font:13px "Segoe UI",Tahoma,sans-serif}.legacy-workspace input:focus,.legacy-workspace select:focus,.legacy-workspace textarea:focus{border-color:#5487a2;box-shadow:0 0 0 1px #5487a2}.legacy-workspace label{margin:0;font-weight:400;color:#485254}.legacy-field{display:grid;grid-template-columns:minmax(105px,1fr) 112px;align-items:center;gap:7px;margin-bottom:6px}.legacy-field.wide{grid-template-columns:112px 1fr}.legacy-field textarea{min-height:74px}.errorlist{color:#a51616;margin:2px 0;padding-left:15px;font-size:11px}
.legacy-workspace fieldset{min-width:0;margin:0;padding:12px 14px 14px;border:1px solid #aeb8b8;background:#f7faf8}.legacy-workspace legend{padding:0 7px;font-weight:750}.dinerware-layout{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:18px}.legacy-total{margin-top:10px;padding-top:8px;border-top:3px solid #273032;font-weight:750}.legacy-total .legacy-field{margin:0}.legacy-summary-row{display:flex;justify-content:center;gap:34px;margin-top:18px;padding-top:14px}.legacy-summary-row .legacy-field{grid-template-columns:125px 120px}.legacy-subpanel{margin-top:18px;padding:12px;border:1px solid #aeb8b8;background:#eef7eb}.legacy-subpanel h2{font-size:13px;text-align:center;border-bottom:3px solid #273032;padding-bottom:7px;margin-bottom:10px}
.banking-layout{display:grid;grid-template-columns:minmax(600px,1fr) 280px;gap:18px}.terminal-panel{margin-top:0}.legacy-table-scroll{max-height:505px;overflow:auto}.legacy-table-area{min-height:430px;padding:8px;background:#fff1c5;border:1px solid #aeb8b8}.expense-area{background:#dce8f8}.legacy-entry-table{width:100%;table-layout:fixed;border-collapse:collapse}.legacy-entry-table th{padding:6px 7px;background:#d5dde8;color:#45525a;font-size:11px;letter-spacing:.04em;text-transform:none}.legacy-entry-table td{padding:2px;border-bottom:1px solid #d1d8d8;white-space:normal}.legacy-entry-table input,.legacy-entry-table select{width:100%;min-width:0}.legacy-entry-table input[type=checkbox]{width:auto}.expense-area th:nth-child(4){width:34%}.expense-area th:nth-child(5),.expense-area th:nth-child(6){width:90px}.expense-area th:last-child,.pending-area th:last-child{width:60px}.pending-area th:first-child{width:80px}
.stacked-records{max-width:760px;max-height:500px;overflow:auto;border:1px solid #aeb8b8;background:#edf3f7}.stacked-record,.giftcard-record{position:relative;padding:13px 18px 13px 42px;border-bottom:1px solid #c8d0d0;background:#fff}.stacked-record:nth-child(even){background:#f3f3f3}.row-marker{position:absolute;left:0;top:0;bottom:0;width:28px;display:flex;align-items:center;justify-content:center;background:#d5dde8;border-right:1px solid #aeb8b8}.giftcard-records{max-width:700px;min-height:500px;padding-bottom:150px;background:#fff1c5;border:1px solid #aeb8b8}.giftcard-record{background:#fff8df;display:grid;grid-template-columns:1fr 1fr;gap:4px 18px}.giftcard-record .wide{grid-column:1/-1}.delete-field,.check-row{display:flex;align-items:center;gap:5px;margin:6px 0}.delete-field input,.check-row input{width:auto}
.tip-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:18px;max-width:760px}.denomination-table th:first-child{width:55%}.mutation-layout,.cash-layout{display:grid;grid-template-columns:repeat(2,minmax(300px,1fr));gap:18px;max-width:820px}.cash-layout{grid-template-columns:1.15fr .85fr .95fr}.memo-panel textarea{min-height:90px}
.legacy-action-rail{padding:24px 16px;background:#e3f1d9}.rail-summary{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:3px solid #273032}.rail-note{min-height:170px;margin:12px 0;padding:12px;background:#fff;border:1px solid #aeb8b8;color:#687476}.legacy-action-rail a,.legacy-action-rail button{display:flex;width:100%;min-height:42px;margin-top:8px;border-radius:3px;padding:9px 12px;align-items:center;justify-content:center;text-decoration:none;font-weight:750}.legacy-export{background:#9ee23a;color:#152900;border:1px solid #7cb728}.legacy-export:hover{background:#88cf28}.legacy-save{background:#dbe9ff;color:#263950;border:1px solid #8faed6}.legacy-save:hover{background:#c7dcfa}.legacy-secondary,.legacy-back{background:#fff;color:#36515e;border:1px solid #aeb8b8}.legacy-action-rail .legacy-back{margin-top:28px}
.rail-memo{display:grid;gap:5px;margin:12px 0}.rail-memo label{font-weight:750}.rail-memo textarea{width:100%;min-height:170px;resize:vertical;background:#fff;border:1px solid #aeb8b8;padding:10px}
.history-filter{display:grid;grid-template-columns:130px 180px auto;align-items:end;gap:.65rem}.history-filter label{font-size:.78rem;color:var(--muted)}.history-filter select{min-width:0;padding:.55rem .7rem}.history-filter button{padding:.58rem .85rem;white-space:nowrap}
.legacy-add-row{margin-top:10px;min-height:34px;border-radius:3px;padding:6px 12px;background:#2f9e5b;color:#fff}.legacy-add-row:hover{background:#1f7842}
.company-admin-card{margin-bottom:1rem}.company-logo-preview{width:96px;height:96px;object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:12px}.user-admin-table .section-heading{padding:1.2rem 1.4rem 0}.audit-filter-card{margin-bottom:1rem}.audit-filters{display:grid;grid-template-columns:1.4fr 1fr 1fr 150px 150px auto auto;gap:.7rem;align-items:end}.audit-filters label{font-size:.78rem}.audit-filters input,.audit-filters select{padding:.58rem .7rem}.audit-filters button,.audit-filters .button{min-height:42px}
.nav-icon{width:27px;height:27px;flex:0 0 27px;border-radius:8px;background:var(--brand-soft);color:var(--brand-dark);display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:900}.workspace-nav a:hover .nav-icon,.workspace-nav a:first-child .nav-icon{background:var(--brand-soft)}.workspace-nav a:first-child{background:var(--brand-soft);color:var(--brand-dark)}.workspace-nav button .nav-icon.danger{background:#fff0ed;color:#c0392b}.nav-separator{height:1px;background:var(--line);margin:.55rem .45rem}.mfa-enrollment{display:grid;grid-template-columns:1fr 1fr;gap:2rem;max-width:900px;margin:0 auto}.mfa-qr{width:230px;height:230px;border:1px solid var(--line);border-radius:12px}.secret-code{display:block;padding:.8rem;background:#f4f7f5;word-break:break-all}.recovery-card{max-width:900px;margin:0 auto 1rem;border-color:#e5c55c;background:#fff9e5}.recovery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.recovery-grid code{padding:.7rem;background:#fff;border:1px solid #ead796;text-align:center;font-size:1rem}
.app-shell>main{width:auto;margin:0;padding:1rem 0 3rem}
.workspace-nav{padding:1.15rem 1rem;border-radius:22px}.nav-context{padding:.55rem .75rem 1.15rem}.workspace-nav nav{gap:.38rem;padding:1rem 0}.workspace-nav a,.workspace-nav button{min-height:48px;padding:.72rem .78rem;border-radius:12px}.workspace-nav a.active{background:var(--brand-soft);color:var(--brand-dark)}.workspace-nav a.active .nav-icon{background:color-mix(in srgb,var(--brand-soft) 68%,var(--brand) 32%)}.workspace-nav a:first-child:not(.active){background:transparent;color:#38545a}.workspace-nav a:first-child:not(.active) .nav-icon{background:var(--brand-soft)}.workspace-nav .nav-separator{margin:.55rem .45rem}.workspace-nav>form button{color:#8f3028}.workspace-nav>form button:hover{background:#fff0ed;color:#a62b1f}
.company-switch{display:flex;align-items:end;gap:.8rem}.company-switch form{min-width:250px}.company-switch label{font-size:.76rem;color:var(--muted)}.user-metric-strip{margin-bottom:1rem}.company-settings-disclosure{margin-top:1rem}.company-settings-disclosure>summary{font-size:1rem}.company-settings-disclosure[open]>summary{margin-bottom:1.2rem}.global-add-user-card{margin-bottom:1rem}.global-add-user-form{display:grid;grid-template-columns:minmax(220px,1fr) 190px auto;gap:.8rem;align-items:end}.company-access-list{display:grid;gap:.35rem}.company-access-item{display:grid;width:max-content;max-width:240px;padding:.4rem .55rem;border-radius:8px;background:#e7f5ef;text-decoration:none;font-weight:750}.company-access-item span{font-size:.72rem;color:var(--muted)}.company-access-item.inactive{opacity:.55}.account-actions{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;flex-wrap:wrap}.account-actions form{margin:0}.small-link{font-weight:750}.small-danger-button{padding:.45rem .62rem;border-radius:7px;background:#fff0ed;color:#a62b1f}.assignment-list{display:grid;gap:.6rem;margin:1rem 0}.assignment-list label{display:flex;align-items:center;gap:.6rem;padding:.7rem;border:1px solid var(--line);border-radius:10px}.assignment-list input{width:auto;margin:0}.nav-context{display:flex;align-items:center;gap:.7rem}.nav-context>div:last-child{display:grid}.nav-company-mark{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex:0 0 38px;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.nav-company-mark img{width:100%;height:100%;object-fit:contain}.nav-company-mark span{font-size:.64rem;letter-spacing:0}.company-heading{align-items:center}.company-identity{display:flex;align-items:center;gap:1rem}.company-logo-large{display:flex;align-items:center;justify-content:center;width:76px;height:76px;object-fit:contain;border:1px solid var(--line);border-radius:16px;background:#fff}.company-setup-grid{display:grid;grid-template-columns:2fr 1fr;gap:1rem}.company-setup-main{grid-row:span 2}.company-people-card{grid-column:1/-1}.setup-summary{display:grid;gap:.75rem}.setup-summary div{padding-bottom:.6rem;border-bottom:1px solid var(--line)}.setup-summary dt{color:var(--muted);font-size:.75rem;text-transform:uppercase}.setup-summary dd{margin:0;font-weight:800}
.legacy-record-header{grid-template-columns:180px 245px 170px 190px;min-height:64px;padding-top:6px}.legacy-panel{padding:18px 26px 28px}
.bank-fixed-layout{grid-template-columns:minmax(500px,620px) 245px;align-items:start;gap:26px}.bank-machine-matrix{border:4px solid #aaa;background:#e3f1d9}.bank-machine-head,.bank-machine-row{display:grid;grid-template-columns:120px repeat(3,1fr)}.bank-machine-head{min-height:31px;align-items:center;text-align:center;border-bottom:3px solid #202526}.bank-machine-head strong+strong{border-left:4px solid #202526;height:100%;padding-top:7px}.bank-machine-row{align-items:center;min-height:29px}.bank-machine-row label,.bank-machine-row strong{padding:4px 7px}.bank-machine-row>div,.bank-machine-row>output{padding:2px 5px;border-left:4px solid #202526;text-align:right}.bank-machine-row input{height:25px;min-height:25px;padding:2px 5px;text-align:right}.bank-currency-block+.bank-currency-block{border-top:4px solid #aaa}.bank-matrix-total{border-top:4px solid #202526;font-weight:800}.bank-matrix-total output,.fixed-total output,.bank-derived-totals output,.tipsheet-layout output,.cash-reconciliation output{display:block;min-height:25px;padding:3px 7px;border:1px solid #aeb8b8;background:#fff;text-align:right;font-variant-numeric:tabular-nums}.bank-side-panels{display:grid;gap:7px}.bank-side-panels fieldset{background:#e3f1d9;border:4px solid #aaa;padding:6px 8px}.bank-side-panels legend{width:calc(100% + 16px);margin-left:-8px;padding:5px;text-align:center;border-bottom:4px solid #202526}.bank-side-panels .legacy-field{grid-template-columns:1fr 96px}.fixed-total{display:grid;grid-template-columns:1fr 96px;align-items:center;border-top:4px solid #202526;padding-top:4px;font-weight:800}.bank-derived-totals{display:grid;gap:4px;margin-top:8px}.bank-derived-totals>div{display:grid;grid-template-columns:1fr 96px;align-items:center;font-weight:700}
.tipsheet-layout{display:grid;grid-template-columns:310px 195px 260px;grid-template-rows:auto auto;gap:8px;align-items:start;max-width:805px;padding:6px;background:#edf7fa;border:1px solid #aeb8b8}.tipsheet-layout fieldset{background:#edf7fa}.tipsheet-layout legend{width:100%;text-align:center;font-weight:700}.tipsheet-columns{display:grid;grid-template-columns:145px 130px;gap:15px}.tipsheet-columns h2{text-align:center;font-size:13px;margin:3px 0 9px}.denomination-row{display:grid;grid-template-columns:65px 75px;align-items:center;margin-bottom:3px}.denomination-row input{min-height:24px;height:24px;padding:2px 5px;text-align:right}.tipsheet-source .fixed-total{grid-template-columns:65px 75px}.tipsheet-daily{min-height:300px}.tipsheet-daily .legacy-field,.tipsheet-actions .legacy-field{grid-template-columns:110px 95px}.fixed-rule{height:4px;background:#202526;margin:18px 0 25px}.tipsheet-actions{padding:37px 0 0}.tipsheet-actions .check-row{justify-content:flex-end}.tipsheet-memo{grid-column:1/3;padding:5px 50px 14px}.tipsheet-memo textarea{height:108px}.tipsheet-memo label{margin-bottom:5px;text-align:left}
.cash-reconciliation{max-width:760px;padding:8px;background:#e3f1d9;border:1px solid #aeb8b8}.cash-inputs{display:grid;grid-template-columns:1.15fr .9fr 1.1fr;gap:22px;min-height:125px}.cash-heading-row,.cash-count-row{display:grid;grid-template-columns:160px 95px 95px;align-items:center;gap:7px;margin-bottom:4px}.cash-heading-row{text-align:center}.cash-inputs>div:nth-child(2) .cash-count-row,.cash-inputs>div:nth-child(3) .cash-count-row{grid-template-columns:145px 100px}.cash-count-row input{height:25px;min-height:25px;padding:2px 5px;text-align:right}.cash-description input{text-align:left}.cash-inputs .fixed-total{grid-template-columns:145px 100px}.cash-balance-line{height:4px;background:#202526;margin:10px 0 6px}.cash-ledger{width:610px}.cash-ledger-row{display:grid;grid-template-columns:185px 100px 1fr;align-items:center;gap:8px;min-height:28px}.cash-ledger-row small{color:#5d6869}.cash-ledger-total{grid-template-columns:185px 100px 100px;border-top:2px solid #202526;margin-top:5px;padding-top:5px}.cash-ledger-balance{grid-template-columns:185px 100px 1fr;margin-top:4px}.cash-ledger-balance strong:last-child{padding-left:4px}
.calculated-total{display:grid;grid-template-columns:1fr 112px;align-items:center;gap:7px}.calculated-total output,.calculated-summary output{display:block;min-height:27px;padding:4px 7px;border:1px solid #aeb8b8;background:#f2f4f3;text-align:right;font-variant-numeric:tabular-nums}.calculated-summary{display:grid;grid-template-columns:135px 120px;align-items:center;gap:8px}.calculated-summary input{text-align:right}
.dinerware-layout>fieldset:nth-child(2) .legacy-field,.dinerware-layout>fieldset:nth-child(2) .calculated-total{grid-template-columns:minmax(72px,1fr) 82px minmax(110px,1.5fr)}.dinerware-layout>fieldset:nth-child(2) .legacy-field input{min-width:0}.dinerware-layout>fieldset:nth-child(2) .calculated-total output{grid-column:2}.legacy-field.comp-named .money-input{text-align:right}
.tipsheet-layout{grid-template-columns:310px 215px 235px}.tipsheet-columns>div:nth-child(2) .legacy-field{grid-template-columns:58px 75px}.tipsheet-daily .legacy-field{grid-template-columns:95px 85px}.tipsheet-actions .legacy-field{grid-template-columns:115px 95px}
.cash-inputs{grid-template-columns:330px 250px;min-height:165px}.cash-inputs>div:nth-child(3){grid-column:1/3;display:grid;grid-template-columns:190px 360px;gap:10px;align-items:center}.cash-inputs>div:nth-child(3) .cash-count-row{grid-template-columns:80px 100px;margin:0}.cash-inputs>div:nth-child(3) .cash-description input{width:360px}
.cash-inputs{grid-template-columns:355px 270px}.cash-heading-row,.cash-count-row{grid-template-columns:145px 90px 90px}
.cash-start-mismatch input{background:#f6c477!important;border-color:#c86f16!important;box-shadow:0 0 0 1px #c86f16}
.mutation-access-layout{max-width:780px;padding:0 10px}.mutation-access-layout>section{padding:12px 20px 16px;border-bottom:4px solid #202526}.mutation-access-layout>section:last-child{border-bottom:0}.mutation-access-layout h1{margin:0 0 18px;text-align:center;font-size:14px}.mutation-access-layout h2{margin:0 0 14px;font-size:13px}.mutation-entry{display:grid;grid-template-columns:255px 120px;align-items:center;gap:8px;margin:6px 8px}.mutation-entry input{height:27px;text-align:right}.unit-entry{grid-template-columns:255px 100px 45px}.mutation-total{padding-top:6px;border-top:1px solid #202526}.mutation-entry output,.mutation-payment-table output{display:block;padding:4px 7px;border:1px solid #aeb8b8;background:#f2f4f3;text-align:right}.mutation-payment-table{min-height:235px;border:1px solid #aeb8b8;background:#fff}.mutation-payment-table table{margin:0}.mutation-payment-table tfoot th,.mutation-payment-table tfoot td{padding-top:140px;background:#fff}
.money-input,.legacy-workspace output{text-align:right!important;font-variant-numeric:tabular-nums}.legacy-workspace output{background:#f2f4f3!important}
.tipsheet-layout{grid-template-columns:335px 205px 220px;max-width:790px;gap:10px}.tipsheet-layout legend{width:auto;min-width:150px;margin:0 auto;padding:0 12px}.tipsheet-columns{grid-template-columns:145px 160px;gap:14px}.tipsheet-columns>div:nth-child(2) .legacy-field{grid-template-columns:92px 64px}.tipsheet-columns>div:nth-child(2) .legacy-field label{white-space:nowrap}.tipsheet-daily .legacy-field{grid-template-columns:100px 85px;margin-top:26px}.tipsheet-actions{padding-top:28px}.tipsheet-actions .legacy-field,.tipsheet-taken{display:grid;grid-template-columns:112px 90px;align-items:center;gap:7px;margin-bottom:6px}.tipsheet-taken label{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-height:27px;white-space:nowrap}.tipsheet-taken input[type=checkbox]{flex:0 0 auto;margin:0}
.bank-machine-head,.bank-machine-row{grid-template-columns:120px repeat(var(--terminal-count),1fr)}
.history-card-list{display:grid;gap:.75rem;padding:1rem;background:#f7fbf8}.history-record-card{display:grid;grid-template-columns:1.2fr .5fr .85fr .85fr .85fr 1.2fr 1fr;gap:.85rem;align-items:center;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 7px 22px rgb(31 98 59 / 6%)}.history-record-card[data-daily-url]{cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.history-record-card[data-daily-url]:hover,.history-record-card[data-daily-url]:focus-visible{border-color:#80bd99;box-shadow:0 10px 28px rgb(31 98 59 / 13%);transform:translateY(-1px)}.history-record-card[data-daily-url]:focus-visible{outline:3px solid rgb(48 158 91 / 24%);outline-offset:2px}.history-record-card>div{display:grid;min-width:0}.history-record-card span{color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}.history-record-card strong{font-size:.92rem}.history-date strong{font-size:1.03rem}.history-actions{display:flex!important;justify-content:flex-end;gap:.7rem;flex-wrap:wrap}.history-actions a{font-weight:750}.cash-variance{display:inline-flex;width:max-content;padding:.28rem .5rem;border-radius:7px}.cash-variance.surplus{background:#e5f6ea;color:#176b3c}.cash-variance.short{background:#fff0ed;color:#a62b1f}.empty-history{padding:2rem;text-align:center;color:var(--muted)}
.history-export-statuses{display:grid!important;justify-content:end;gap:.4rem}.history-export-statuses>div{display:flex;align-items:center;justify-content:flex-end;gap:.45rem}.export-status-badge{display:inline-flex;width:max-content;padding:.3rem .52rem;border-radius:7px;white-space:nowrap}.export-status-badge.journal-downloaded,.export-status-badge.cash-downloaded{background:#fff4c7;color:#735b00}.export-status-badge.journal-reconciled{background:#e5f1ff;color:#245784}.export-status-badge.cash-reconciled{background:#d7f1df;color:#105c32}.error-traceback{max-width:680px;max-height:320px;overflow:auto;padding:.8rem;background:#17211d;color:#e8f7ee;white-space:pre-wrap}
.passkit-import-row{display:flex;align-items:center;min-height:44px;margin-bottom:8px}.passkit-import-row .legacy-add-row{margin:0}.passkit-complete{display:inline-flex;padding:.55rem .8rem;border-radius:8px;background:#e5f6ea;color:#176b3c;font-weight:750}
.daily-day-navigation{display:grid;grid-template-columns:150px 1fr 160px 1fr 150px;align-items:center;gap:10px;padding:12px 16px;background:#fff;border-top:1px solid #9caeb7}.daily-day-navigation a,.daily-day-navigation span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #aeb8b8;border-radius:5px;text-decoration:none;font-weight:750}.daily-day-navigation small{color:var(--muted)}.daily-day-navigation .disabled{color:#9aa6a0;background:#f3f5f4}.daily-day-navigation .day-history{background:#e8f7ee;border-color:#b9ddc7}
.read-only-banner{padding:9px 14px;background:#fff3cd;border-bottom:1px solid #dfbd61;color:#6b4d00;font-weight:750}.daily-read-only input:disabled,.daily-read-only select:disabled,.daily-read-only textarea:disabled{opacity:1;background:#eef1ef;color:#3c4547;cursor:not-allowed}.rail-read-only{margin-top:10px;padding:10px;border:1px solid #dfbd61;background:#fff3cd;text-align:center;font-weight:750}
.journal-export-status{margin:10px 0 4px;padding:10px;background:#f5faF2;border:1px solid #b7c8b0;font-size:12px}.journal-export-status>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px}.journal-export-status label{display:flex;align-items:center;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid #cbd8c6;font-weight:750}.journal-export-status input{width:16px;height:16px;margin:0}
.export-folder-name{display:block;margin:6px 2px 12px;color:#52685c;overflow-wrap:anywhere}
.install-app-button{margin-left:auto;padding:.48rem .75rem;border:1px solid #218448;border-radius:8px;background:#fff;color:#176b3a;font-weight:800}.site-header .install-app-button+.user-label{margin-left:.75rem}.ios-install-help{position:fixed;z-index:1000;top:76px;right:18px;display:grid;gap:.65rem;width:min(340px,calc(100% - 36px));padding:1rem;border:1px solid #afd1bd;border-radius:12px;background:#fff;box-shadow:0 16px 40px rgb(17 65 38 / 22%)}.ios-install-help[hidden]{display:none}.ios-install-help button{justify-self:end;padding:.4rem .7rem;border-radius:7px;background:#2f9e5b;color:#fff}
@media all and (display-mode: standalone), all and (display-mode: fullscreen), all and (display-mode: minimal-ui), all and (display-mode: window-controls-overlay){[data-install-app]{display:none!important}}
.cash-access-sheet{max-width:780px;min-height:535px;padding:10px 16px 18px}.cash-access-top{display:grid;grid-template-columns:390px 250px;gap:36px;min-height:120px}.cash-access-top .cash-heading-row,.cash-access-top .cash-count-row{grid-template-columns:165px 95px 95px}.cash-outside{padding-top:15px}.cash-outside .cash-count-row{grid-template-columns:155px 95px;justify-content:end}.cash-outside .fixed-total{grid-template-columns:155px 95px}.cash-access-sheet .cash-balance-line{width:630px;margin:8px 0 5px}.cash-access-ledger{width:635px}.cash-access-row{display:grid;grid-template-columns:170px 96px 96px 1fr;align-items:center;gap:6px;min-height:27px}.cash-access-row output,.cash-access-row input{height:24px;min-height:24px;padding:2px 5px}.cash-access-row i{display:block}.cash-added-row>div{grid-column:3/5}.cash-added-row>div input{width:280px;text-align:left!important}.cash-access-total{margin-top:5px;padding-top:6px;border-top:1px solid #202526}.cash-access-balance{margin-top:5px}.cash-access-balance strong:last-child{padding-left:3px}.cash-access-row output{text-align:right}.cash-access-total .money-output{background:#f2f4f3;font-variant-numeric:tabular-nums}
.report-filter-card{margin-bottom:1rem}.report-filters{display:grid;grid-template-columns:180px 200px 200px minmax(180px,1fr);gap:.8rem;align-items:end}.report-filters button{min-height:46px}.report-card{padding:1.2rem;overflow:hidden}.report-card .section-heading{padding:0}.report-period-list{display:grid;gap:1rem}.report-period-card{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#fff}.report-period-card>header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;background:#f1f8f3;border-bottom:1px solid var(--line)}.report-period-card h3{margin:0;font-size:1.15rem}.report-period-card header span,.report-period-card header small{display:block;color:var(--muted);font-size:.76rem}.period-comparison{text-align:right}.period-comparison strong{display:block}.report-metric-grid{display:grid}.report-sales-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.report-total-grid{grid-template-columns:repeat(5,minmax(0,1fr));border-top:2px solid #b9d7c4;background:#f7fbf8}.report-metric{min-width:0;padding:.72rem .75rem;border-right:1px solid var(--line);font-variant-numeric:tabular-nums}.report-metric:last-child{border-right:0}.report-metric span,.report-metric small,.report-metric em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-metric span{min-height:2.2em;color:var(--muted);font-size:.69rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.report-metric strong{display:block;font-size:1rem}.report-metric small{color:var(--muted);font-size:.72rem}.report-metric em{font-size:.7rem;font-style:normal}.report-metric .positive{color:#176b3c}.report-metric .negative{color:#a62b1f}.report-total strong{font-size:1.08rem}
.bbo-summary{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin-bottom:1rem}.bbo-year-filter{display:flex;align-items:end;gap:.7rem}.bbo-year-filter select{min-width:150px}.bbo-summary>div{text-align:right}.bbo-summary>div span,.bbo-summary>div strong{display:block}.bbo-summary>div span{color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.bbo-summary>div strong{font-size:1.25rem}.bbo-month-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.85rem}.bbo-month{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem}.bbo-month span,.bbo-month small{display:block;color:var(--muted);font-size:.75rem}.bbo-month h2{margin:0;font-size:1.05rem}.bbo-amounts{text-align:right}.bbo-amounts strong{display:block;font-variant-numeric:tabular-nums}.bbo-amounts strong:last-child{color:var(--brand-dark)}
.company-card-identity{display:flex;align-items:center;gap:1rem;min-width:0}.company-card-logo{width:64px;height:64px;flex:0 0 64px;border:1px solid var(--line);border-radius:13px;background:#fff;object-fit:contain}.company-logo-fallback{display:flex;align-items:center;justify-content:center;background:var(--brand-soft);color:var(--brand-dark);font-size:1.05rem;font-weight:850}.company-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.company-card-actions form{margin:0}.company-inactive{opacity:.78}.danger-button{background:#fff0ed!important;color:var(--danger)!important;border:1px solid #f1c2bc!important}.danger-button:hover{background:#ffe3df!important}
.mobile-report-menu,.mobile-home{display:none}
.marker-guidance{padding:.7rem .8rem;border-left:3px solid var(--brand);background:#f3faf8;border-radius:0 8px 8px 0;font-size:.82rem}.support-card{max-width:720px}.contact-list{display:grid;gap:.8rem;margin:1.2rem 0}.contact-list div{display:grid;grid-template-columns:160px 1fr;gap:1rem;padding-bottom:.8rem;border-bottom:1px solid var(--line)}.contact-list dt{font-weight:800}.contact-list dd{margin:0}
.user-account-row[data-account-url]{cursor:pointer;transition:background .15s ease}.user-account-row[data-account-url]:hover,.user-account-row[data-account-url]:focus-visible{background:#f1f8f3}.user-account-row[data-account-url]:focus-visible{outline:3px solid rgb(48 158 91 / 24%);outline-offset:-3px}.last-login{white-space:nowrap;font-variant-numeric:tabular-nums}
.report-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-metric span .metric-change{display:inline;margin-left:.3rem;font-size:.66rem;letter-spacing:0;text-transform:none}
@media(max-width:900px){body,.report-page,.report-page.mobile-report-page{min-width:0;width:100%;overflow-x:hidden}.site-header{position:sticky;height:62px;padding:.45rem .8rem}.brand{gap:.5rem}.brand img{width:40px;height:40px}.brand span{font-size:.86rem}.site-header>.user-label{display:none}.mobile-report-menu{display:block;position:relative;margin-left:auto}.mobile-report-menu summary{list-style:none;cursor:pointer;border:1px solid #b9ddc7;border-radius:9px;padding:.48rem .7rem;background:#fff;color:var(--brand-dark);font-weight:800}.mobile-report-menu summary::-webkit-details-marker{display:none}.mobile-report-menu>div{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:235px;padding:.65rem;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.mobile-report-menu .mobile-company{display:block;padding:.3rem .55rem .65rem;color:var(--muted);font-size:.75rem;border-bottom:1px solid var(--line)}.mobile-report-menu a,.mobile-report-menu button{display:flex;width:100%;align-items:center;gap:.55rem;margin-top:.4rem;padding:.55rem;border-radius:8px;text-decoration:none;font-weight:750}.mobile-report-menu button{justify-content:flex-start;background:transparent;color:var(--danger)}.mobile-report-menu form{margin:0}.app-shell{display:block;width:100%;margin:0}.workspace-nav{display:none}.app-shell>main{width:100%;padding:1rem .85rem 2rem}.desktop-dashboard{display:none}.mobile-home{display:block;max-width:650px;margin:0 auto}.mobile-home-heading{padding:.8rem .25rem 1rem}.mobile-home-heading h1{margin:.1rem 0;font-size:2rem}.mobile-home-heading p:last-child{margin:0;color:var(--muted)}.mobile-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.mobile-home-grid a{display:grid;grid-template-columns:34px 1fr;column-gap:.65rem;align-items:center;padding:1rem;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgb(31 98 59 / 8%);text-decoration:none;color:var(--ink)}.mobile-home-grid a .nav-icon{grid-row:1/3}.mobile-home-grid a strong{font-size:1rem}.mobile-home-grid a small{color:var(--muted);line-height:1.3}.mobile-report-page main{max-width:760px;margin:0 auto}.mobile-report-page .page-heading{display:block;margin-bottom:1rem}.mobile-report-page .page-heading h1{font-size:1.75rem}.mobile-report-page .page-heading .button-row{display:none}.sales-report-page .report-filter-card,.sales-report-page .report-card{padding:1rem}.sales-report-page .report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-report-page .report-filters button{grid-column:1/3}.sales-report-page .report-period-card>header{align-items:flex-start}.sales-report-page .report-sales-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-report-page .report-total-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-report-page .report-metric{border-bottom:1px solid var(--line)}.sales-report-page .report-metric span{min-height:auto;white-space:normal;overflow:visible}.bbo-summary{display:grid;grid-template-columns:1fr;gap:1rem;padding:1rem}.bbo-summary>div{text-align:left}.bbo-year-filter{justify-content:space-between}.bbo-year-filter>div{flex:1}.bbo-year-filter select{min-width:0}.bbo-month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bbo-month{padding:.9rem}.bbo-amounts strong{white-space:nowrap}.bbo-amounts .bbo-tax{margin-top:.3rem;padding-top:.3rem;border-top:1px solid var(--line);color:var(--brand-dark);font-size:.78rem}footer{padding:.9rem;font-size:.68rem}}

/* QB Banks module */
.company-filter-strip{display:flex;gap:.75rem;flex-wrap:wrap;padding:1rem;margin-bottom:1rem}.company-filter-chip{display:flex;align-items:center;gap:.7rem;padding:.75rem 1rem;border-radius:12px;background:#fff;color:var(--muted);text-decoration:none;font-weight:700;border:1px solid transparent}.company-filter-chip strong{color:var(--danger);font-size:.9rem}.company-filter-chip.active{background:var(--brand);color:#fff;box-shadow:0 12px 30px rgb(47 158 91 / 18%)}.company-filter-chip.active strong{color:#fff}.company-card-shell{display:grid;gap:.85rem;padding:1rem;transition:border-color .18s,box-shadow .18s}.company-card-shell:hover,.company-card-shell.selected{border-color:#9dd8d1;box-shadow:0 18px 48px rgb(20 69 65 / 11%)}.company-card-shell.selected{background:#f7fcfb}.company-identity{display:flex;align-items:center;gap:1rem;min-width:0}.company-identity h2,.company-identity p{margin:.15rem 0}.company-logo{width:58px;height:58px;padding:4px;box-sizing:border-box;border-radius:14px;object-fit:contain;object-position:center;border:1px solid var(--line);background:#fff;flex:0 0 auto}.company-logo.large{width:76px;height:76px;padding:5px;border-radius:18px}.company-logo.placeholder{display:grid;place-items:center;padding:0;background:linear-gradient(135deg,#e9f8f5,#ccece7);color:var(--brand-dark);font-weight:900;font-size:1.35rem}.card-arrow{font-size:1.5rem;color:var(--brand)}.metric-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden;margin-bottom:1.25rem}.metric-strip>div{padding:1rem 1.2rem;background:var(--surface);display:grid}.metric-strip strong{font-size:1.45rem}.metric-strip span{color:var(--muted);font-size:.82rem}.layout-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.span-two{grid-column:span 2}.span-three{grid-column:1/-1}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.filter-bar{display:flex;align-items:flex-end;gap:.8rem;padding:1rem;margin-bottom:1rem}.filter-bar>div{min-width:280px}.statement-browser{display:grid;gap:.65rem}.statement-panel{background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:0 7px 24px rgb(20 69 65 / 5%);overflow:hidden}.statement-panel.expanded{border-color:#9dd8d1;box-shadow:var(--shadow)}.statement-summary{display:grid;grid-template-columns:24px minmax(230px,1.4fr) minmax(180px,.8fr) auto;align-items:center;gap:1rem;padding:1rem 1.15rem;color:var(--ink);text-decoration:none}.statement-summary:hover{background:#f7fbfa}.statement-summary strong,.statement-summary small{display:block}.statement-summary small{color:var(--muted);margin-top:.12rem}.statement-chevron{color:var(--brand);font-size:1.1rem}.generated-statement{border-top:1px solid var(--line);background:#f9fcfb}.generated-header{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1rem 1.15rem;background:#e5f3f1}.generated-header div{display:grid;gap:.15rem}.generated-header span,.statement-totals span{color:var(--muted);font-size:.75rem;text-transform:uppercase;letter-spacing:.07em}.transaction-table th,.transaction-table td{padding:.66rem .75rem}.transaction-table td:nth-child(3){white-space:normal;min-width:320px}.number{text-align:right}.amount{font-weight:800}.amount.debit{color:#9b3131;background:#fff4f2}.amount.credit{color:#28734d;background:#eef8f0}.statement-totals{display:flex;justify-content:flex-end;gap:1px;background:var(--line);border-top:1px solid var(--line)}.statement-totals div{min-width:155px;padding:.75rem 1rem;background:#eaf5f3;display:grid;text-align:right}.statement-action-bar{display:flex;justify-content:flex-end;padding:.75rem 1.15rem;border-top:1px solid var(--line);background:#fbfdfc}.statement-balance-summary{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line)}.statement-balance-summary div{padding:.8rem 1rem;background:#eaf5f3;display:grid;gap:.2rem}.balance-ok{color:#197047}.balance-warning{color:#9b5d00}.export-toolbar{margin-bottom:1rem}.export-toolbar form{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.table-action-bar{display:flex;justify-content:flex-end;padding:1rem;border-bottom:1px solid var(--line);background:#fbfdfc}.select-col{width:72px;text-align:center}.select-col input[type=checkbox]{width:20px;height:20px;margin:0}.export-create-card{margin-bottom:1rem}.export-create-grid{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:1rem;align-items:end}.export-create-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-top:1rem}.account-selection-wrap{border:1px solid var(--line);border-radius:12px}.selection-table th,.selection-table td{white-space:normal}.override-fields{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(320px,1.3fr);gap:1rem;margin-top:1rem}.export-metrics{grid-template-columns:repeat(4,1fr)}.export-actions-card{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.review-alert{padding:1rem 1.15rem;background:#fff7df;border-bottom:1px solid #efd797;color:#704d00}.review-alert.compact{border:1px solid #efd797;border-radius:12px;margin-top:1rem}.issue-text{color:#9b5d00!important;font-weight:700;margin-top:.3rem}.review-row-context{display:grid;gap:.25rem;padding:1rem;margin-bottom:1rem;border-radius:12px;background:var(--brand-soft)}.statement-statuses{display:flex;justify-content:flex-end;gap:.35rem;flex-wrap:wrap}.badge.exported{background:#e6f1fb;color:#245f8c}.badge.confirmed{background:#e4f5ec;color:#176b50}.subscription-line{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;font-size:.82rem;color:var(--muted)}.badge.subscription-expiring{background:#ffe08a;color:#694b00}.badge.subscription-expired{background:#9f1d20;color:#ffe66d}.small-danger-button{min-height:0;padding:.3rem .55rem;border-radius:7px;background:#fff0ee;color:var(--danger);font-size:.75rem}.small-success-button{min-height:0;padding:.3rem .55rem;border-radius:7px;background:#e4f5ec;color:#176b50;font-size:.75rem}
@media(max-width:560px){.app-shell>main{padding:.85rem .65rem 1.5rem}.mobile-home-grid{grid-template-columns:1fr}.sales-report-page .report-filters{grid-template-columns:1fr}.sales-report-page .report-filters button{grid-column:auto}.sales-report-page .report-card{padding:.65rem}.sales-report-page .report-period-card>header{display:grid;grid-template-columns:1fr 1fr}.sales-report-page .report-sales-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-report-page .report-total-grid{grid-template-columns:1fr}.sales-report-page .report-metric{padding:.65rem}.sales-report-page .report-metric strong{font-size:.92rem}.bbo-month-grid{grid-template-columns:1fr}.bbo-month{min-height:108px}.bbo-summary .bbo-year-filter{align-items:end}.bbo-summary .bbo-year-filter button{white-space:nowrap}.footer-links{gap:.55rem}}
.company-terminal-setup{grid-column:1/-1;margin:18px 0;padding:18px;border:1px solid #cfe1d8;border-radius:12px}.terminal-config-list{display:grid;gap:10px}.terminal-config-row{display:grid;grid-template-columns:90px minmax(150px,1fr) minmax(180px,1fr) 80px 90px;gap:12px;align-items:end}.terminal-config-row>div{display:grid;gap:5px}
.company-admin-summary{margin-bottom:.8rem}.company-admin-anchor-row{display:flex;gap:.7rem;flex-wrap:wrap;margin:0 0 1rem}
.portal-user-card{overflow:hidden}.portal-user-table{table-layout:fixed}.portal-user-table-wrap{overflow-x:hidden}.portal-user-table th,.portal-user-table td{padding:.78rem .82rem;white-space:normal;vertical-align:middle}.portal-user-table th:nth-child(1){width:13%}.portal-user-table th:nth-child(2){width:18%}.portal-user-table th:nth-child(3){width:8%}.portal-user-table th:nth-child(4){width:27%}.portal-user-table th:nth-child(5){width:16%}.portal-user-table th:nth-child(6){width:8%}.portal-user-table th:nth-child(7){width:5%}.portal-user-table th:nth-child(8){width:5%}.portal-user-table td:nth-child(2){overflow-wrap:anywhere}.app-access-list{display:flex;flex-wrap:wrap;gap:.35rem;max-width:100%}.app-access-list .badge{max-width:100%;white-space:normal;line-height:1.25}.last-login{font-variant-numeric:tabular-nums}.subscription-line{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:.3rem 0 0;color:var(--muted);font-size:.82rem}.badge.subscription-expiring{background:#ffe08a;color:#694b00}.badge.subscription-expired{background:#9f1d20;color:#ffe66d}
.admin-form-page{max-width:1180px;margin:0 auto}.admin-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:1rem;align-items:start}.admin-form-card{min-width:0}.admin-form-card.span-two,.admin-form-grid>.span-two{grid-column:1/-1}.form-grid.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.toggle-card{display:flex!important;align-items:center;gap:.75rem;min-height:48px;margin:0;padding:.65rem .8rem;border:1px solid #bad5c5;border-radius:10px;background:#fff}.toggle-card input{width:auto;margin:0}.toggle-card span{display:grid}.toggle-card small{color:var(--muted);font-weight:500}.app-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.app-role-card{display:grid;grid-template-columns:54px minmax(0,1fr);gap:.85rem;align-items:center;padding:1rem;border:1px solid var(--line);border-radius:16px;background:#fbfefc}.app-role-card label{margin-bottom:.25rem}.app-role-card small{display:block;color:var(--muted);line-height:1.35}.log-filter-card{margin-bottom:1rem}.log-filter-form{display:flex;align-items:end;gap:.85rem}.log-filter-form>div{min-width:280px}.log-filter-form button{min-height:46px}@media(max-width:900px){.admin-form-grid,.form-grid.two-column,.app-role-grid{grid-template-columns:1fr}.log-filter-form{display:grid}.log-filter-form>div{min-width:0}}
.god-access-banner{display:grid;gap:.25rem;margin-bottom:1rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--brand-soft);color:var(--brand-dark)}.god-access-banner span{color:var(--muted)}.app-role-card.inherited{background:var(--brand-soft)}.inherited-role{display:inline-flex;width:max-content;padding:.48rem .75rem;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);font-weight:900}
