:root{--ink:#183b31;--muted:#727870;--paper:#f5f4ee;--white:#fff;--line:#e1e5dc;--green:#204f3d;--pale:#eaf0e8;--gold:#b88737;--red:#a44031;--red-bg:#fff0e9;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:disabled{cursor:not-allowed;opacity:.55}[hidden]{display:none!important}.skip{position:absolute;top:-50px;left:12px;background:white;padding:10px;z-index:99}.skip:focus{top:8px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b9944d;outline-offset:3px}
#preview-banner{background:#efe2c7;color:#664916;text-align:center;font-size:11px;font-weight:650;letter-spacing:.07em;padding:9px 16px}.topbar{height:88px;max-width:1440px;margin:auto;padding:0 56px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-family:Georgia,serif;font-size:28px;letter-spacing:-.8px}.brand-mark{background:var(--ink);color:var(--paper);height:43px;width:43px;display:grid;place-items:center;border-radius:12px;font-size:35px;line-height:1}.brand-sub{display:block;font-family:inherit;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:8px;letter-spacing:2.6px;margin-top:-4px;color:var(--muted)}nav{display:flex;align-items:center;gap:28px}nav a{color:var(--muted);text-decoration:none;font-size:13px}nav a.active{color:var(--ink);font-weight:700}nav a.active:after{content:'';display:block;height:3px;background:var(--green);margin-top:7px;border-radius:3px}.text-button{background:transparent;border:0;color:var(--muted);padding:8px;font-size:12px}main{max-width:1280px;margin:0 auto;padding:42px 48px 70px;min-height:calc(100vh - 190px)}footer{max-width:1280px;margin:auto;padding:25px 48px;border-top:1px solid var(--line);color:#66736a;font-size:10px;letter-spacing:2px;display:flex;justify-content:space-between}footer span{font-size:11px;letter-spacing:0}.eyebrow{text-transform:uppercase;color:var(--muted);font-size:10px;letter-spacing:2px;font-weight:750;margin:0 0 10px}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,serif;font-size:40px;font-weight:400;letter-spacing:-1.4px;line-height:1.18;margin-bottom:10px}h2{font-size:17px;font-weight:650;letter-spacing:-.2px;margin-bottom:5px}h3{font-size:14px;margin-bottom:10px}.subtle{color:var(--muted);font-size:13px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px}.date-chip,.badge{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:30px;padding:8px 13px;background:#fafbf7;color:#57705f;font-size:11px;white-space:nowrap}.badge{padding:4px 9px;font-size:10px}.badge.warn{background:#fbefda;border-color:#f2dfbc;color:#8b6120}.badge.danger{background:var(--red-bg);border-color:#efd7cd;color:var(--red)}.badge.good{background:#e8f1e6;border-color:#d6e5d2;color:#376246}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:18px}.section-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:24px}.section-number{display:grid;place-items:center;width:28px;height:28px;border:1px solid #dce5d7;border-radius:9px;color:#6e7d69;font-size:11px;flex-shrink:0;margin-top:1px}.section-head .subtle{margin-bottom:0;font-size:12px}.section-head .right{margin-left:auto}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-grid.three{grid-template-columns:repeat(3,1fr)}label{display:block;font-size:12px;font-weight:600;color:#3c5145;margin-bottom:7px}.required{font-weight:400;color:#9a7f49;margin-left:3px}.optional{font-size:11px;color:var(--muted);font-weight:400;margin-left:4px}input,select,textarea{width:100%;border:1px solid #dbe0d6;border-radius:8px;background:#fff;color:var(--ink);padding:11px 12px;min-height:43px;transition:border .15s}input:hover,select:hover,textarea:hover{border-color:#aab9a4}input[readonly],input:disabled{background:#f5f6f2;color:#657160}input::placeholder,textarea::placeholder{color:#a1a89b}textarea{min-height:95px;resize:vertical;line-height:1.6}.money-input{position:relative}.money-input span{position:absolute;left:12px;top:10px;color:#83907b}.money-input input{padding-left:28px;text-align:right;font-variant-numeric:tabular-nums}.help{font-size:11px;color:var(--muted);margin:7px 0 0;line-height:1.5}.field-error{color:var(--red);font-size:11px;margin:6px 0 0}.invalid{border-color:var(--red)!important;background:#fffaf7!important}.check{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400;color:#63715d;margin:18px 0 0}.check input{width:16px;height:16px;min-height:16px;accent-color:var(--green);flex-shrink:0}.primary,.secondary{min-height:44px;padding:12px 18px;border-radius:9px;border:1px solid var(--green);background:var(--green);color:white;font-weight:600;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary:hover{background:#153d2e}.secondary{color:var(--ink);background:transparent;border-color:#d8e0d3}.secondary:hover{background:#eff3eb}.wide{width:100%}.add-button{background:#f2f5ee;color:#3b5f41;border:1px dashed #b9cbb0;border-radius:8px;padding:11px 14px;font-size:12px;font-weight:600;min-height:42px}.add-button:hover{background:#e5eddd}.remove-button{color:#8e756a;background:transparent;border:1px solid #e4ded7;min-height:42px;border-radius:8px;padding:7px 12px;font-size:18px}.entry-row{display:grid;grid-template-columns:minmax(120px,1fr) 135px 39px;gap:10px;align-items:end;margin-bottom:14px}.entry-row.expense{grid-template-columns:minmax(120px,1fr) 135px 39px}.line-total{display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid var(--line);margin-top:22px;font-size:12px;color:var(--muted)}.line-total strong{font-size:18px;color:var(--ink);font-variant-numeric:tabular-nums}.report-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:26px;align-items:start}.summary{position:sticky;top:24px}.summary-card{background:var(--ink);color:#f7f6ef;border-radius:var(--radius);padding:27px}.summary-card .eyebrow{color:#a9bcaa}.summary-value{font-size:40px;letter-spacing:-1.8px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.2;margin:12px 0 9px}.summary-card small{color:#adc1ad;font-size:11px}.summary-lines{margin:24px 0 16px;border-top:1px solid #456052;padding-top:18px}.summary-lines div{display:flex;justify-content:space-between;font-size:12px;padding:7px 0;color:#c5d2c1}.summary-lines strong{color:white;font-weight:500;font-variant-numeric:tabular-nums}.variance-box{border-top:1px solid #456052;padding-top:18px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.variance-box strong{font-size:24px;letter-spacing:-.7px}.summary-foot{margin:15px 0 0;color:#afc1ad;font-size:11px;line-height:1.6}.summary-note{padding:18px 8px;font-size:11px;color:var(--muted);line-height:1.7}.summary-note strong{color:#57664e;display:block;margin-bottom:4px}.notice{padding:14px 16px;border-radius:9px;background:#f5efdF;color:#7b612c;font-size:12px;margin-bottom:20px;border:1px solid #eaddbf}.notice.error{background:var(--red-bg);border-color:#e6c6bb;color:var(--red)}.notice.success{background:#edf4e8;border-color:#d4e2ca;color:#426335}.notice p:last-child{margin-bottom:0}.explanation{margin-top:18px;padding:15px;background:#fbf3e6;border-radius:10px;border:1px solid #ecd8b5}.explanation label{color:#85612b}.rating-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.rating-option{position:relative;margin:0;cursor:pointer}.rating-option input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.rating-box{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e1e5dc;border-radius:10px;padding:14px 4px 12px;background:#fff;min-height:81px}.rating-box strong{font-size:22px;font-weight:500;margin-bottom:5px}.rating-box span{font-size:10px;font-weight:400;color:var(--muted);text-align:center}.rating-option input:checked+.rating-box{background:#edf2e7;border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.rating-option input:focus-visible+.rating-box{outline:3px solid var(--gold);outline-offset:3px}.rating-option:nth-child(-n+2) input:checked+.rating-box{background:#fcf0df;border-color:var(--gold);box-shadow:0 0 0 1px var(--gold)}fieldset{border:0;margin:0;padding:0;min-width:0}legend{font-weight:600;font-size:12px;margin-bottom:12px}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:25px}.form-actions .help{max-width:260px}.form-actions .primary{min-width:200px}.login-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:100px;max-width:940px;margin:48px auto 70px;align-items:center}.login-intro h1{font-size:55px;line-height:1.05;max-width:470px}.login-intro p{font-size:15px;max-width:360px;line-height:1.8;color:var(--muted)}.login-list{margin-top:30px;display:grid;gap:17px}.login-list span{display:flex;gap:12px;align-items:center;font-size:12px;color:#64765f}.login-list b{width:23px;height:23px;display:grid;place-items:center;background:#e5ecdf;border-radius:50%;font-size:10px}.login-card{padding:34px}.login-card h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin:0 0 9px}.login-card .primary{margin-top:20px}.pin-input{text-align:center;letter-spacing:10px;font-size:25px;padding:15px}.login-meta{text-align:center;font-size:11px;color:var(--muted);margin:20px 0 0}.login-icon{width:46px;height:46px;background:#edf2e7;border-radius:13px;display:grid;place-items:center;margin-bottom:25px;color:#3a6144;font-size:23px}.receipt{max-width:650px;margin:35px auto;text-align:center}.receipt .check-circle{width:65px;height:65px;background:#e2eedc;border-radius:50%;display:grid;place-items:center;font-size:30px;margin:0 auto 25px;color:#37613c}.receipt-values{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left;margin:30px 0}.receipt-values div{padding:18px;background:#f5f7f0;border-radius:10px;font-size:12px;color:var(--muted)}.receipt-values strong{display:block;color:var(--ink);font-size:24px;margin-top:5px}.countdown{font-variant-numeric:tabular-nums;font-weight:600}.receipt .primary{margin-bottom:12px}.dashboard-head{align-items:center}.dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}.filter-bar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;padding:20px 23px;margin-bottom:22px}.filter-bar .filter-field{min-width:160px}.filter-bar input,.filter-bar select{min-height:40px;padding:9px 10px;font-size:12px}.filter-bar label{font-size:10px;letter-spacing:.4px}.filter-bar .primary{min-height:40px;margin-left:auto}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:23px}.metric .metric-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.metric strong{display:block;font-size:30px;letter-spacing:-1px;font-weight:500;margin-top:12px;font-variant-numeric:tabular-nums}.metric p{margin:5px 0 0;font-size:10px;color:var(--muted)}.metric.featured{background:var(--ink);color:white;border-color:var(--ink)}.metric.featured .metric-label,.metric.featured p{color:#b6c8b4}.tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:22px}.tabs button{background:none;border:0;padding:0 2px 13px;color:var(--muted);font-size:12px}.tabs button.active{border-bottom:2px solid var(--green);color:var(--ink);font-weight:650}.table-card{padding:0;overflow:hidden}.table-header{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.table-header h2{margin:0;font-size:15px}.table-header p{margin:5px 0 0;font-size:11px;color:var(--muted)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}thead{background:#f6f8f2;color:#7b8475;font-size:10px;letter-spacing:.3px}th{text-align:left;font-weight:600;padding:12px 20px}td{padding:17px 20px;border-bottom:1px solid #edf0e8;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbf7}td.numeric,th.numeric{text-align:right;font-variant-numeric:tabular-nums}.branch-cell{font-weight:600}.cell-sub{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:3px}.table-link{border:0;background:transparent;color:var(--green);font-size:11px;font-weight:600;padding:6px}.positive{color:#567149}.negative{color:var(--red)}.empty{padding:45px 25px;text-align:center;color:var(--muted);font-size:13px}.audit-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.alert-card{border-left:3px solid var(--gold)}.alert-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.alert-card p{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.alert-card .subtle{font-size:11px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.detail-grid>div{background:#f3f6ef;border-radius:9px;padding:15px;color:var(--muted);font-size:11px}.detail-grid strong{display:block;font-size:19px;color:var(--ink);margin-top:5px}.detail-section{padding:18px 0;border-top:1px solid var(--line)}.detail-section p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.detail-list{display:flex;justify-content:space-between;font-size:12px;padding:7px 0;gap:15px}.detail-list span{overflow-wrap:anywhere}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}dialog{border:0;padding:30px;border-radius:18px;max-width:660px;width:calc(100% - 32px);max-height:88vh;color:var(--ink);box-shadow:0 20px 100px #153d2e35}dialog::backdrop{background:#142a24a1}.dialog-close{background:#eef2e8;border:0;border-radius:50%;width:32px;height:32px;font-size:20px;color:var(--ink);flex-shrink:0}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#163e31;color:white;z-index:20;padding:14px 24px;border-radius:12px;font-size:12px;box-shadow:0 8px 25px #163e3130;max-width:90vw}.loading{padding:80px;text-align:center;color:var(--muted)}.weather-note{padding:16px 0 0;margin-top:18px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.attention-count{background:#eee3c9;color:#8a692e;padding:2px 6px;border-radius:6px;margin-left:5px;font-size:10px}.completion-grid{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.completion-grid .badge{border-radius:7px}.inline-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.report-error{margin-top:15px}.demo-hint{padding:10px 13px;background:#f7f0df;border-radius:7px;color:#876d3c;font-size:11px;margin-top:15px}.auth-message{margin-top:20px;font-size:12px;color:var(--red)}
@media(min-width:1450px){.topbar{padding:0 80px}main{padding-top:52px}.login-layout{margin-top:75px}}
@media(max-width:1000px){.topbar{padding:0 30px}main{padding:30px}.report-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.card{padding:20px}.field-grid.three{grid-template-columns:repeat(2,1fr)}.entry-row,.entry-row.expense{grid-template-columns:minmax(95px,1fr) 105px 35px}.login-layout{gap:45px}.login-intro h1{font-size:46px}.metrics{grid-template-columns:repeat(2,1fr)}.filter-bar .filter-field{min-width:130px}.summary-card{padding:22px}}
@media(max-width:720px){#preview-banner{font-size:9px;padding:8px 12px;letter-spacing:.03em}.topbar{height:76px;padding:0 18px}.brand{font-size:24px;gap:9px}.brand-mark{width:36px;height:36px;font-size:30px}.brand-sub{font-size:7px;letter-spacing:2px}nav{gap:14px}nav a{font-size:11px}nav .text-button{font-size:10px;padding:0}main{padding:28px 16px 45px}.page-head{display:block;margin-bottom:22px}.page-head .date-chip{margin-top:10px}h1{font-size:34px}.report-layout{display:flex;flex-direction:column;gap:20px}.report-layout>div{width:100%}.summary{position:static;order:-1}.summary-card{padding:21px}.summary-value{font-size:34px;margin:8px 0}.summary-lines{display:grid;grid-template-columns:1fr 1fr;margin:15px 0 12px;padding-top:12px;gap:3px 20px}.summary-lines div{padding:3px 0;gap:10px;font-size:11px}.variance-box{padding-top:11px}.summary-foot{margin-top:10px}.summary-note{display:none}.card{padding:20px 17px;margin-bottom:16px;border-radius:12px}.section-head{gap:10px;margin-bottom:20px}h2{font-size:16px}.section-head .subtle{font-size:11px}.field-grid{gap:14px}.field-grid.three{grid-template-columns:repeat(2,1fr)}.rating-grid{gap:5px}.rating-box{padding:12px 2px;min-height:76px}.rating-box span{font-size:9px}.rating-box strong{font-size:20px}.entry-row,.entry-row.expense{grid-template-columns:minmax(100px,1fr) 100px 34px;gap:7px}.entry-row select,.entry-row input{font-size:12px;padding-left:8px}.entry-row .money-input input{padding-left:23px}.entry-row .money-input span{left:9px}.entry-row label{font-size:11px}.remove-button{padding:5px}.form-actions{display:block}.form-actions .help{max-width:none;margin-bottom:16px}.form-actions .primary{width:100%;min-height:49px}.login-layout{display:flex;flex-direction:column;gap:24px;margin:12px 0 20px}.login-intro{width:100%}.login-intro h1{font-size:39px}.login-intro p{font-size:13px;margin-bottom:0}.login-list{display:none}.login-card{width:100%;padding:27px}.login-icon{display:none}.login-card h2{font-size:25px}.metrics{gap:10px}.metric{padding:16px}.metric strong{font-size:24px}.metric .metric-label{font-size:10px}.metric p{font-size:9px}.dashboard-actions{margin-top:20px}.dashboard-actions button{font-size:11px;padding:10px 13px}.filter-bar{padding:15px;gap:10px;display:grid;grid-template-columns:1fr 1fr}.filter-bar .filter-field{min-width:0}.filter-bar .primary{width:100%;margin:0}.filter-bar select,.filter-bar input{font-size:11px;width:100%}.tabs{gap:20px}.tabs button{font-size:11px}.table-header{padding:18px}.table-header h2{font-size:14px}td,th{padding:13px 15px}.audit-grid{grid-template-columns:1fr}.completion-grid{gap:5px}.completion-grid .badge{font-size:9px}footer{padding:20px 18px;font-size:9px}footer span{font-size:10px}.receipt{margin-top:12px}.receipt h1{font-size:32px}.receipt-values strong{font-size:22px}.detail-grid{gap:10px}dialog{padding:23px 18px}.detail-grid>div{padding:12px}.detail-grid strong{font-size:17px}input,select,textarea{font-size:16px}.pin-input{font-size:25px}.field-grid .help{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:480px){.topbar{height:auto;min-height:108px;flex-wrap:wrap;gap:12px;padding:14px 18px}.topbar nav{width:100%;justify-content:space-between;gap:12px}.topbar nav a{padding:5px 0}.brand-sub{letter-spacing:1.4px}.field-grid:not(.three){grid-template-columns:1fr}}

.cash-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.cash-table-note{padding:16px 24px;color:var(--muted);font-size:12px}.received-input{width:100px;min-width:85px;text-align:right}.cash-subtabs{margin-bottom:20px}tfoot th{border-top:2px solid #dce2da;background:#f4f6f1;padding:18px}#cash-check-section{margin-top:25px}#cash-check-section .table-wrap{margin:20px 0}#cash-check-section td,#cash-check-section th{padding:12px 8px}.tabs{overflow-x:auto}.tabs button{white-space:nowrap}@media(max-width:480px){.cash-toolbar{align-items:flex-start;flex-direction:column}.cash-table-note{padding:14px}.received-input{width:85px}}

.week-picker{width:100%;background:white;border:1px solid #dce2da;border-radius:8px;padding:12px 14px;text-align:left;color:#173d32;font:inherit;cursor:pointer;min-height:46px}.sunday-calendar{width:min(390px,calc(100vw - 32px));padding:24px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-heading h2{margin:0;font-size:19px}.calendar-heading button{padding:8px 14px;font-size:22px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0}.calendar-weekday{text-align:center;font-size:11px;color:#626b65;padding:6px 0}.calendar-day{min-width:0;min-height:40px;border:1px solid #173d32;border-radius:7px;background:#edf5ee;color:#173d32;font:inherit;cursor:pointer}.calendar-day:disabled{background:#f0f0ed;color:#a7aaa5;border-color:transparent;cursor:not-allowed;opacity:1}.calendar-day.selected{background:#173d32;color:white}.calendar-day:focus-visible{outline:3px solid #b99c50;outline-offset:2px}

.banking-denominations .expected-group{text-align:center;border-bottom:1px solid var(--line)}.banking-denominations .combined-cash{background:#eaf0e8;font-weight:700}.banking-denominations th,.banking-denominations td{padding:13px 14px}.banking-denominations tfoot th{font-weight:700}
.issue-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:24px;align-items:start}.issue-layout form>label,.issue-layout #order-fields>label{display:block;margin-top:22px}.issue-types{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.issue-types label{padding:18px;border:1px solid #cad5cd;border-radius:12px;cursor:pointer}.issue-types label:has(input:checked){border:2px solid #1b6049;background:#eef5ef}.issue-types input{width:auto;margin-right:8px}.issue-types strong{display:inline}.issue-types span{display:block;font-size:13px;margin-top:8px;color:#65746a}.issue-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.issue-media img,.issue-media video{width:100%;height:140px;object-fit:contain;background:#eef2ee;border-radius:8px}.issue-media small{display:block;overflow-wrap:anywhere}.existing-issue{padding:18px 0;border-bottom:1px solid #e0e5df}.existing-issue p{white-space:pre-wrap}.issue-layout aside .card{margin-bottom:20px}@media(max-width:760px){.issue-layout{grid-template-columns:1fr}.issue-types{grid-template-columns:1fr}.topbar nav{flex-wrap:wrap}}
.hub-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:20px 0}.hub-shortcuts a{text-decoration:none;color:inherit}.account-card{padding:24px 0;border-bottom:1px solid #dce2dc}.check-label{display:flex;align-items:center;gap:10px;padding:8px}.check-label input{width:auto}fieldset{border:1px solid #dce2dc;padding:14px;margin:14px 0}.dashboard-actions{flex-wrap:wrap}.issue-layout .card{margin-bottom:20px}input[type=file]{max-width:100%}

.release-footer{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.release-footer a{text-decoration:underline}.beta-label{display:inline-block;border:1px solid currentColor;border-radius:5px;padding:2px 6px;font-size:inherit}

.cash-branch-context{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px;padding:20px 24px;margin:0 0 24px;border:1px solid #c6d5ca;border-left:5px solid var(--green);border-radius:12px;background:#edf3ed}.cash-branch-context span{display:block;font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--muted);margin-bottom:5px}.cash-branch-context strong{display:block;font-size:24px;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}.cash-branch-context p{margin:0;font-size:13px;color:var(--ink)}

.cash-branch-picker{flex:1 1 280px;max-width:440px;min-width:0}.cash-branch-picker label{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.cash-branch-picker select{width:100%;min-height:48px;background:#fff;font-size:18px;font-weight:600;color:var(--ink);border:1px solid #aebfb4;border-radius:8px;padding:10px 12px}.cash-branch-picker select:disabled{opacity:1;color:var(--ink)}

.pending-approvals{border:2px solid #b42318}.pending-approvals h2,.pending-person{color:#b42318}.pending-person{display:block;margin:10px 0;border-color:#b42318}.access-switch{appearance:none;width:48px!important;height:27px;border-radius:20px;background:#777;position:relative;cursor:pointer}.access-switch:before{content:"";position:absolute;width:21px;height:21px;top:3px;left:3px;border-radius:50%;background:white}.access-switch:checked{background:#205b45}.access-switch:checked:before{left:24px}
.settings-group{margin:20px 0}.settings-group summary{font-size:18px;font-weight:650;cursor:pointer;padding:14px 0}.task-editor{border:1px solid #dce3d7;padding:20px;border-radius:12px;margin:20px 0;background:#fafbf7}.settings-actions{position:sticky;bottom:0;z-index:10;box-shadow:0 -5px 20px #173d3210}.settings-actions button{margin:4px}

.login-log-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.login-log-row{display:grid;grid-template-columns:92px 1fr 1fr;gap:14px;align-items:start;padding:14px 0;border-top:1px solid #e4e4dc}.login-log-row p{margin:2px 0 0}.login-log-state{font-size:12px;font-weight:650;padding:4px 8px;border-radius:6px;text-align:center}.login-log-state.ok{background:#e3efe6;color:#21493a}.login-log-state.failed{background:#f6e0dc;color:#8a2c1e}.login-log-reason{color:#8a2c1e;font-size:14px}.login-log-meta{text-align:right;font-size:13px}
@media(max-width:720px){.login-log-filters{grid-template-columns:1fr}.login-log-row{grid-template-columns:82px 1fr}.login-log-meta{grid-column:2;text-align:left}}

.people-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.people-bulk{display:flex;align-items:center;gap:12px;background:var(--pale);border-radius:11px;padding:9px 14px;margin:14px 0 6px}.people-bulk .check-label{margin:0 auto 0 0;font-weight:650}.people-danger{background:var(--red);border:1px solid var(--red);color:#fff;border-radius:10px;padding:9px 14px;font-weight:650}.people-link{background:none;border:0;padding:0;color:var(--green);font-weight:650}.people-back{margin-bottom:14px}
.people-head,.people-row{display:grid;grid-template-columns:34px minmax(170px,1.2fr) minmax(200px,2.4fr) 110px 150px 84px 62px;gap:10px;align-items:center;padding:11px 6px;border-bottom:1px solid var(--line)}.people-head{font-size:11.5px;color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-weight:650}.people-row.selected{background:#fff7ef}.people-name small,.people-event small{display:block;color:var(--muted);font-size:12.5px;overflow-wrap:anywhere}.people-meta{font-size:13px}.people-meta em{display:block;font-style:normal;color:var(--red);font-size:12px;font-weight:650}.people-chip{display:inline-block;background:var(--pale);border-radius:6px;padding:2px 8px;margin:2px 4px 2px 0;font-size:12px}.people-status{display:inline-block;background:#e3efe6;padding:3px 9px;border-radius:20px;font-size:12px;font-weight:650}.people-status.pending{background:#f6ecd8;color:#664916}.people-status.disabled{background:var(--red-bg);color:var(--red)}.people-open{text-align:right}
.people-person{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.people-checks{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}.people-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:14px}.people-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}.people-stats div{background:var(--paper);border-radius:10px;padding:10px 12px}.people-stats small{display:block;color:var(--muted)}.people-stats .warn strong{color:var(--red)}.people-event{display:flex;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}.people-event time{margin-left:auto;font-size:12.5px;color:var(--muted);text-align:right}.people-dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--red)}.people-dot.ok{background:#2f8a5f}.people-dialog{border:0;border-radius:16px;padding:22px;max-width:480px;width:calc(100% - 32px);color:var(--ink)}.people-dialog::backdrop{background:rgba(24,59,49,.4)}.people-warning{background:var(--red-bg);color:var(--red);border-radius:9px;padding:9px 12px;font-weight:650}
@media(max-width:900px){.people-filters,.people-person{grid-template-columns:1fr}.people-head{display:none}.people-row{grid-template-columns:30px 1fr auto;gap:6px 10px;align-items:start}.people-row>div:nth-child(n+3):not(.people-open){grid-column:2/4}.people-name{grid-column:2/4}.people-open{grid-column:2/4;text-align:left}.people-bulk{flex-wrap:wrap}.people-stats{grid-template-columns:1fr}}
.people-tick input,.people-row input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0;padding:0}.people-checks .check-label{margin:0;padding:5px 0;min-height:0}fieldset .people-checks{margin-top:4px}

.period-bar{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:end}.period-buttons{display:flex;flex-wrap:wrap;gap:8px}.period-button{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 15px;font-weight:650;color:var(--ink)}.period-button.active{background:var(--green);border-color:var(--green);color:#fff}.period-bar .filter-field{flex:0 1 230px;min-width:170px}.period-custom{display:flex;flex-wrap:wrap;gap:14px;align-items:end;flex-basis:100%}.period-custom[hidden]{display:none}
@media(max-width:720px){.period-button{flex:1 1 auto}.period-bar .filter-field{flex:1 1 100%}}
.sc-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.sc-tiles .card{margin:0;padding:14px 18px}.sc-tiles b{display:block;font-size:26px;margin-top:2px}.sc-red{color:#b42318}.sc-amber{color:#a86400}
.sc-range{display:flex;gap:12px;margin:10px 0;flex-wrap:wrap}.sc-table-wrap{overflow-x:auto;border-radius:14px;background:#fff}
.sc-table{width:100%;min-width:760px;border-collapse:collapse}.sc-table th,.sc-table td{padding:9px 8px;border-bottom:1px solid #eee9dd;text-align:center;font-size:14px}.sc-table thead th{background:#ece9df;font-size:13px}.sc-table tbody th,.sc-table tfoot th{text-align:left;white-space:nowrap;padding-left:14px}.sc-table tfoot{font-weight:700}
.sc-ok{color:#20513f}.sc-closed{background:#eeeeea;color:#666}.sc-miss{background:#fdecea;color:#b42318;font-size:12px;font-weight:600}.sc-miss div{margin-top:4px;display:flex;gap:4px;justify-content:center}.sc-miss button{padding:3px 8px;font-size:12px;min-height:0}.sc-wait{background:#fff4dc;color:#7a4b00}.sc-table .sc-wait span{display:block;font-size:11px}
.sc-amount,.sc-link{background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.sc-link{display:block;margin:2px auto 0;font-size:11px}
.sc-request{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #eee9dd;flex-wrap:wrap}.sc-actions{display:flex;gap:8px;align-items:flex-start}.sc-compare{border-collapse:collapse;margin-top:6px;font-size:14px}.sc-compare th,.sc-compare td{padding:3px 14px 3px 0;text-align:left}.sc-changed{font-weight:700;color:#a86400}
.sc-staff-row{display:grid;grid-template-columns:1fr auto 170px;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #eee9dd}.sc-staff-row:first-child{border-top:0}.sc-staff-row p{margin:2px 0 0}.sc-chip{padding:4px 10px;border-radius:99px;font-size:13px;font-weight:600}
@media(max-width:620px){.sc-tiles{grid-template-columns:repeat(2,1fr)}.sc-staff-row{grid-template-columns:1fr auto}.sc-staff-row button{grid-column:1/-1}}
.se-times{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:10px 0}.se-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:4px 14px}.se-preview{width:100%;height:440px;border:1px solid #ddd8cb;border-radius:10px;margin-top:12px;background:#fff}
@media(max-width:620px){.se-times{grid-template-columns:1fr}}
.fc-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px;align-items:start;margin-top:14px}.fc-table{min-width:1120px}.fc-table td,.fc-table thead th{padding:5px 4px;font-size:12px}.fc-none{color:#b42318;font-size:11px}.fc-count{display:block;width:100%;background:none;border:0;border-radius:6px;padding:3px;font:inherit;color:#20513f;cursor:pointer}.fc-count:hover{background:#eef3ef}.fc-count b{display:block;white-space:nowrap}.fc-count span{font-size:10px;color:#667}.fc-amber{background:#fff4dc;color:#7a4b00}.fc-detail{position:sticky;top:12px;margin:0;padding:16px}.fc-detail h2{font-size:18px;margin:0}.fc-breakdown{width:100%;border-collapse:collapse;margin-top:8px}.fc-breakdown td{padding:3px 0;border-bottom:1px solid #eee9dd}.fc-breakdown td:last-child{text-align:right}.fc-total td{font-weight:700;border-bottom:0}
@media(max-width:900px){.fc-layout{grid-template-columns:1fr}}

.pc-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:end;justify-content:space-between;margin:14px 0}.pc-tabs{display:flex;flex-wrap:wrap;gap:6px}.pc-tabs button{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:9px 14px;color:var(--ink);cursor:pointer}.pc-tabs button[aria-selected="true"]{background:var(--ink);color:var(--white)}.pc-filters{display:flex;flex-wrap:wrap;gap:10px}.pc-filters label{font-size:12px}.pc-stats{display:flex;flex-wrap:wrap;gap:28px;margin-bottom:12px}.pc-stats small{display:block;color:var(--muted)}.pc-stats strong{font-size:22px}.pc-scroll{overflow-x:auto}.pc-table{width:100%;border-collapse:collapse;font-size:13px}.pc-table th{text-align:left;color:var(--muted);font-weight:500;white-space:nowrap}.pc-table th,.pc-table td{padding:8px 10px;border-bottom:1px solid var(--line)}.pc-table .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.pc-table tbody tr[data-product]{cursor:pointer}.pc-table tbody tr[data-product]:hover{background:var(--paper)}.pc-chart{width:100%;height:auto;color:var(--ink);display:block;margin:10px 0 4px}
.pc-filters[hidden]{display:none}.pc-views{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.pc-views button{background:none;border:0;border-bottom:2px solid transparent;padding:6px 10px;color:var(--ink);cursor:pointer}.pc-views button[aria-pressed="true"]{border-color:var(--ink);font-weight:600}.pc-inline{display:inline-block;margin:6px 0 12px;min-width:220px}.cmp-table{min-width:880px}.cmp-table td{vertical-align:top;text-align:left}.cmp-table td.num,.cmp-table th.num{text-align:right}.cmp-table td>strong,.cmp-table td>small{display:block}.cmp-table small{white-space:normal}.cmp-table small,.pc-price small,.cmp-pair small{display:block;color:var(--muted,#667)}.pc-win{background:rgba(32,120,80,.09)}.pc-flag{display:inline-block;margin:4px 6px 0 0;padding:2px 7px;border-radius:6px;background:rgba(190,120,20,.14);font-size:12px}.cmp-head{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}.cmp-card{border:1px solid var(--line);border-radius:8px;padding:14px;margin-bottom:12px}.cmp-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cmp-pair strong,.cmp-pair small{display:block}.cmp-fields{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;margin-top:10px}.cmp-alts,.cmp-found{margin:8px 0;font-size:13px}.cmp-found button{display:block;text-align:left}.cmp-actions{display:flex;gap:8px;margin-top:10px;align-items:center}.cmp-actions button:not(.primary){padding:10px 14px;background:var(--white);border:1px solid var(--line);border-radius:8px;cursor:pointer}.cmp-msg{min-height:1em;margin:6px 0 0;font-size:13px}button.link{background:none;border:0;padding:0;color:inherit;text-decoration:underline;cursor:pointer}@media(max-width:640px){.cmp-pair,.cmp-fields{grid-template-columns:1fr}}
.cmp-map-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:8px}.cmp-map{display:grid;grid-template-columns:repeat(3,minmax(0,1.4fr)) minmax(0,1fr) 100px;gap:12px;align-items:start;padding:12px 0;border-top:1px solid var(--line)}.cmp-map label{min-width:0;margin:0}.cmp-map label small{display:block;font-weight:400;color:var(--muted);margin-top:4px}.cmp-map select{width:100%;min-width:0}.cmp-map select:disabled{background:#f5f6f2;color:var(--ink);opacity:1}.cmp-map-notes{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px}.cmp-map-notes:empty{display:none}.cmp-map-end{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.cmp-state{font-size:.85em;font-weight:600}.cmp-map-search{grid-column:1/-1}.cmp-map-search[hidden]{display:none}.cmp-map-search .cmp-found{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:6px}@media(max-width:1100px){.cmp-map{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cmp-map-end{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap}}@media(max-width:760px){.cmp-map-filters,.cmp-map{grid-template-columns:minmax(0,1fr)}}
.cmp-row-actions{white-space:nowrap;margin-top:6px}.cmp-row-actions button+button{margin-left:14px}.cmp-size-row[hidden]{display:none}.cmp-size-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.cmp-size-form label{margin:0;width:150px}.cmp-size-form .cmp-msg{flex-basis:100%;margin:0}
.sim-actions{display:flex;gap:8px;align-items:end}.sim-actions button{min-height:43px}.sim-price{width:96px;min-height:36px;padding:6px 8px;text-align:right}
.pc-table thead th{cursor:pointer;user-select:none}.pc-table thead th:hover{color:var(--ink)}.pc-table thead th[aria-sort=ascending]::after{content:' ▲'}.pc-table thead th[aria-sort=descending]::after{content:' ▼'}.cmp-map-filters:has(#map-sort){grid-template-columns:2fr 1fr 1fr 1fr}@media(max-width:760px){.cmp-map-filters:has(#map-sort){grid-template-columns:minmax(0,1fr)}}
.pc-table .pc-code{white-space:nowrap;font-variant-numeric:tabular-nums}.pc-table td.pc-code{font-weight:650;color:var(--ink)}
.pc-export{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;margin:0 0 14px}.pc-export .subtle{font-size:13px;margin:0}.pc-print-meta,#pc-print{display:none}
@media print{@page{size:A4 landscape;margin:12mm}body{background:#fff!important;display:block!important;padding:0!important}#hub-navigation,.skip,#preview-banner,.topbar,#toast,.release-footer,#detail-dialog,.pc-controls,.pc-views,.pc-export,#pc-body label,#pc-body button,.page-head .subtle{display:none!important}main,#main{margin:0!important;padding:0!important;max-width:none!important;width:auto!important}.card{box-shadow:none!important;border:0!important;padding:0!important}.pc-print-meta{display:block;margin:0 0 10px}.pc-scroll{overflow:visible!important}.pc-table{font-size:9pt}.pc-table tr{break-inside:avoid}.pc-table thead{display:table-header-group}.pc-table thead th::after{content:''!important}
body.print-list>*{display:none!important}body.print-list>#pc-print{display:block!important;font:10pt/1.4 -apple-system,Helvetica,Arial,sans-serif;color:#000}#pc-print h1{font-size:16pt;margin:0 0 4px}#pc-print table{width:100%;border-collapse:collapse;margin:10px 0}#pc-print th,#pc-print td{border-bottom:1px solid #ccc;padding:5px 6px;text-align:left;vertical-align:top}#pc-print .num{text-align:right}#pc-print small{display:block;color:#555;font-size:8pt}#pc-print thead{display:table-header-group}#pc-print tr{break-inside:avoid}}
.cf-switch{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;align-items:end;margin:12px 0 18px}.cf-switch input{width:100%}.cf-switch small{color:var(--muted,#666)}.pc-table tfoot th{font-weight:700;border-top:2px solid var(--line)}

.cc-pill{display:inline-block;font-size:12px;padding:2px 9px;border-radius:999px;background:#eef0ec;color:#3b4a40;white-space:nowrap}.cc-pill.cc-late{background:#fbeccf;color:#7a4a05}.cc-pill.cc-collected{background:#e3eefa;color:#17436f}.cc-pill.cc-banked{background:#e3f1e1;color:#24532a}.cc-warn{color:#a2470f}.cc-missing{border-left:4px solid #c9811c}.cc-table td:first-child,.cc-table th:first-child{width:34px}.cc-table input[type=checkbox]{width:20px;height:20px}.cc-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-top:16px;padding:14px;border-radius:12px;background:#f3f4f0;position:sticky;bottom:8px}.cc-bar label{display:flex;flex-direction:column;font-size:12px;gap:4px}.cc-bar input{min-width:0;width:170px}.cc-bar span{flex:1 1 100%}
.cc-phone{display:none}@media (max-width:640px){.cc-phone{display:block;margin-top:6px;font-size:13px}.cc-table th:nth-child(n+3),.cc-table td:nth-child(n+3){display:none}}
.ed-style{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px 16px;align-items:end;margin-bottom:8px}.ed-style input[type=color]{height:42px;padding:3px;width:100%}.ed-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.ed-grid textarea{font-family:ui-monospace,Menlo,monospace;font-size:13px}.ed-fields{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 10px}.ed-chip{font:12px ui-monospace,Menlo,monospace;padding:4px 8px;border-radius:6px;border:1px solid #ddd8cb;background:#f6f5f0;cursor:pointer}.ed-preview{height:560px}.ed-list td{vertical-align:top}@media (max-width:760px){.ed-grid{grid-template-columns:minmax(0,1fr)}.ed-preview{height:480px}}
.se-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:16px}
.attention{border-left:6px solid #2f8f4e}.attention.is-red{border-left-color:#c8372d}.attention.is-amber{border-left-color:#e0a21b}.attention-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:flex-start}.attention-head h2{margin:2px 0 4px}.lights{display:flex;flex-wrap:wrap;gap:10px}.light-count{display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;background:#f5f4ef;font-size:13px}.light-count b{font-size:22px}.light-count i,.branch-light i,.attention-item>i,.dot{display:inline-block;width:14px;height:14px;border-radius:50%;flex:none}.red i,.dot.red{background:#d93a2f;box-shadow:0 0 0 3px #f8d6d2}.amber i,.dot.amber{background:#efaa16;box-shadow:0 0 0 3px #fbecc6}.green i,.dot.green{background:#2f9e55;box-shadow:0 0 0 3px #d3eedb}.branch-lights{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}.branch-light{display:inline-flex;align-items:center;gap:7px;padding:6px 11px;border:1px solid #e4e1d7;border-radius:999px;font-size:13px;background:#fff}.attention-list{display:grid;gap:8px;margin-top:10px}.attention-item{display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:12px;border:1px solid #ece9df;background:#fff;color:inherit;text-decoration:none}.attention-item.red{background:#fdf3f2;border-color:#f3cfcb}.attention-item.amber{background:#fffaf0;border-color:#f3e2b5}.attention-item>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.attention-item small{color:#5f6762;overflow-wrap:anywhere}.attention-status{font-size:13px;font-weight:600;white-space:nowrap}.attention-key{margin-top:12px}.attention-key .dot{width:10px;height:10px;vertical-align:-1px;margin:0 2px 0 6px}@media (max-width:640px){.attention-item{flex-wrap:wrap}.attention-status{flex-basis:100%;padding-left:26px}}


/* Banking: the Save button turns green once the record is saved. */
#save-banking.saved-ok{background:#2f7d4f;border-color:#2f7d4f;color:#fff}

/* Petty cash receipts on the daily report, the saved screen and weekly banking. */
.expense-receipt{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:-6px 0 16px}.expense-receipt .field-error{flex-basis:100%;margin:0}
.receipt-pick,.petty-add{display:inline-flex;align-items:center;gap:6px;margin:0;padding:8px 12px;border:1px dashed #b9cbb0;border-radius:8px;background:#f2f5ee;color:#3b5f41;font-size:12px;font-weight:600;cursor:pointer}
.receipt-chip{display:inline-flex;align-items:center;gap:4px;padding:5px 6px 5px 10px;border-radius:20px;background:#e8f1e6;color:#376246;font-size:12px}.receipt-chip button{border:0;background:transparent;color:#376246;font-size:16px;padding:0 4px;min-height:0}
.receipt-ok{color:#376246;font-size:12px;font-weight:600}.receipt-none{margin:0}.receipt-reason{margin:-8px 0 16px}
.receipt-petty{text-align:left;margin:26px 0}.receipt-petty h2{margin-bottom:10px}
.petty-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:12px}.petty-summary div{padding:12px 14px;background:#f5f7f0;border-radius:10px;font-size:11px;color:var(--muted)}.petty-summary strong{display:block;color:var(--ink);font-size:18px;margin-top:3px}.petty-summary .petty-missing{background:#fbefda;color:#8b6120}
.petty-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:12px 0;border-top:1px solid var(--line);text-align:left}.petty-row.is-missing{background:#fffaf2}.petty-main{display:flex;flex-direction:column;gap:2px;min-width:0}.petty-main strong{overflow-wrap:anywhere;font-size:13px}.petty-date{font-size:11px;color:var(--muted)}.petty-amount{font-variant-numeric:tabular-nums;font-size:14px}
.petty-files{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;font-size:12px}.petty-files a{color:var(--green);font-weight:600}.petty-files small{color:var(--muted)}.petty-none{color:#8b6120;font-weight:600}.petty-msg{font-size:12px;color:var(--muted)}.petty-msg.error{color:var(--red)}

/* Weekly banking: tap a day to see its cash breakdown. */
.day-cash{border-top:1px solid var(--line)}.day-cash summary{display:flex;justify-content:space-between;gap:15px;padding:10px 0;font-size:12px;cursor:pointer;list-style:none}.day-cash summary::-webkit-details-marker{display:none}
.day-cash summary span:before{content:'›';display:inline-block;width:18px;font-size:18px;line-height:1;font-weight:700;color:var(--green);transition:transform .15s}.day-cash[open] summary span:before{transform:rotate(90deg)}
.day-cash-body{padding:0 0 12px 16px}.day-cash-body .detail-list{padding:4px 0;color:var(--muted)}

.petty-extra-head{margin:22px 0 4px;font-size:13px}.petty-extra-form{margin-top:18px;padding:14px 16px;border:1px dashed #b9cbb0;border-radius:10px;background:#fafbf7}.petty-extra-form summary{cursor:pointer;font-weight:600;font-size:13px;color:#3b5f41}.petty-extra-form[open] summary{margin-bottom:10px}

/* Till Products (owner): slow sellers, hide from till / show on till. */
.tp-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px;align-items:end}.tp-filters label{display:block}.tp-days{display:flex;align-items:center;gap:8px}.tp-days input{width:100px}.tp-status{grid-column:1/-1}
.tp-note{margin:6px 0 12px}.tp-bar{position:sticky;top:0;z-index:5;display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;background:var(--paper,#fff);border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.tp-bar .check-label{margin:0}.tp-count{flex:1}.tp-actions{display:flex;flex-wrap:wrap;gap:8px}.tp-msg .notice{margin:10px 0}
.tp-list{margin-top:10px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.tp-row{display:grid;grid-template-columns:24px 48px minmax(0,1fr) 70px 150px 120px;gap:12px;align-items:center;padding:10px 14px;border-top:1px solid var(--line);cursor:pointer;margin:0;font-weight:400}.tp-row:first-child{border-top:0}
.tp-row.is-picked{background:#eef6f1}.tp-row input{width:18px;height:18px;margin:0}.tp-main small,.tp-sold small{display:block;color:var(--muted);font-size:12px}.tp-price{text-align:right}
.tp-chip{justify-self:end;font-size:12px;font-weight:650;border-radius:999px;padding:3px 10px;white-space:nowrap}.tp-on{background:#e3f1e8;color:#17603a}.tp-hidden{background:#fdecea;color:#b42318}.tp-muted{background:#f0f0ee;color:var(--muted)}
@media(max-width:760px){.tp-filters{grid-template-columns:1fr 1fr}.tp-row{grid-template-columns:24px 44px minmax(0,1fr) auto;gap:4px 10px}.tp-photo{grid-row:1/3;grid-column:2}.tp-main{grid-column:3}.tp-price{grid-column:4;grid-row:1}.tp-sold{grid-column:3}.tp-chip{grid-column:4;grid-row:2}.tp-bar{gap:6px 10px;padding:8px 10px}.tp-actions{width:100%;flex-wrap:nowrap;gap:6px}.tp-actions button{flex:1;padding:8px 6px;font-size:13px;min-height:0}}
.tp-photo{width:44px;height:44px;border-radius:8px;background:#f0f0ee;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--muted);font-weight:700}.tp-photo img{width:100%;height:100%;object-fit:contain;background:#fff}.tp-credit{margin-top:10px;font-size:12px}

/* Wastage: staff recording (scan, search, till categories) and the report. */
.wz-days{margin:0 0 12px}.wz-find{display:grid;gap:12px}.wz-scan{font-size:18px;padding:16px;width:100%}.wz-or input{width:100%}
.wz-crumbs{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.wz-crumbs h2{margin:0}
.wz-cats{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.wz-cat{background:var(--green);color:#fff;border:0;border-radius:12px;padding:16px 12px;font-weight:650;text-align:left;min-height:64px}
.wz-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}
.wz-item{display:flex;flex-direction:column;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;text-align:center;color:var(--ink);font-weight:600;font-size:13px;line-height:1.25}
.wz-item small{color:var(--muted);font-weight:500}.wz-item.is-off{opacity:.65}
.wz-thumb,.wz-big{display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#f0f0ee;color:var(--muted);font-weight:700;flex:none}
.wz-thumb{width:72px;height:72px;font-size:22px}.wz-entry .wz-thumb{width:44px;height:44px;font-size:16px}.wz-big{width:96px;height:96px;font-size:30px}
.wz-thumb img,.wz-big img{width:100%;height:100%;object-fit:contain;background:#fff}
.wz-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.wz-tiles div{background:#f6f6f3;border-radius:10px;padding:10px 12px;font-size:12px;color:var(--muted)}.wz-tiles strong{display:block;font-size:20px;color:var(--ink)}
.wz-list{display:grid}.wz-entry{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.wz-entry small{display:block;color:var(--muted);font-size:12px}
.wz-report{grid-template-columns:minmax(0,1fr) auto}.wz-val{font-weight:700;text-align:right}.wz-val small{font-weight:500}
body.wz-open{overflow:hidden}.wz-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:50}
.wz-panel{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(560px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));z-index:51;box-shadow:0 -8px 30px rgba(0,0,0,.2)}
.wz-panel h2{margin-top:0}.wz-panel label{display:block;margin:14px 0 6px;font-weight:650}.wz-panel input{width:100%}
.wz-head{display:flex;gap:14px;align-items:center}.wz-head h2{margin:0 0 4px}.wz-head p{margin:0 0 4px}
.wz-qty{display:grid;grid-template-columns:56px 1fr 56px;gap:8px}.wz-qty button{font-size:24px;padding:8px 0}.wz-qty input{text-align:center;font-size:20px;font-weight:700}
.wz-reasons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wz-reasons button{padding:12px 8px}
.wz-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}.wz-actions button{flex:1}
.wz-camera{position:relative;border-radius:12px;overflow:hidden;background:#000;aspect-ratio:4/3}.wz-camera video{width:100%;height:100%;object-fit:cover;display:block}
.wz-aim{position:absolute;left:7.5%;right:7.5%;top:25%;bottom:25%;border:3px solid rgba(255,255,255,.9);border-radius:10px;box-shadow:0 0 0 999px rgba(0,0,0,.25)}
.wz-type{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}.help.error{color:#b42318}
@media(max-width:620px){.wz-grid{grid-template-columns:repeat(2,1fr)}.wz-cats{grid-template-columns:repeat(2,1fr)}.wz-entry{grid-template-columns:44px minmax(0,1fr) auto}.wz-entry button{grid-column:2/-1;justify-self:end}}
.wz-addphoto{display:block!important;margin:12px 0 0!important;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;background:#f6f6f3;font-weight:600!important;cursor:pointer}

/* Record Wastage, "Scanner first" layout (built for phones). */
.wz-page{max-width:560px;margin:0 auto}.wz-top{padding:2px 2px 0}.wz-eyebrow{text-transform:uppercase;font-size:12px;font-weight:650;letter-spacing:1.5px;color:var(--muted)}.wz-h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:34px;margin:2px 0 0;letter-spacing:-.3px}
.wz-ico{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wz-hero{margin:14px 0 0;border-radius:26px;background:radial-gradient(120% 90% at 30% 0%,#2f6a53 0%,#173a2d 70%);color:#fff;padding:20px 18px 18px;box-shadow:0 12px 28px rgba(23,58,45,.25)}
.wz-hero-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.wz-hero-top b{font-size:17px}.wz-pill{font-size:12px;font-weight:650;background:rgba(255,255,255,.14);padding:6px 11px;border-radius:999px;white-space:nowrap}
.wz-viewfinder{display:block;width:100%;height:170px;margin:14px 0;border:0;border-radius:18px;background:rgba(255,255,255,.06);position:relative;cursor:pointer;padding:0}
.wz-viewfinder i{position:absolute;width:34px;height:34px;border:3px solid #e9d29c}.wz-viewfinder i:nth-child(1){top:12px;left:12px;border-right:0;border-bottom:0;border-radius:10px 0 0 0}.wz-viewfinder i:nth-child(2){top:12px;right:12px;border-left:0;border-bottom:0;border-radius:0 10px 0 0}.wz-viewfinder i:nth-child(3){bottom:12px;left:12px;border-right:0;border-top:0;border-radius:0 0 0 10px}.wz-viewfinder i:nth-child(4){bottom:12px;right:12px;border-left:0;border-top:0;border-radius:0 0 10px 0}
.wz-bars{position:absolute;inset:48px 22%;background:repeating-linear-gradient(90deg,#fff 0 3px,transparent 3px 6px,#fff 6px 7px,transparent 7px 11px);opacity:.5}
.wz-laser{position:absolute;left:24px;right:24px;top:50%;height:2px;background:#ff5a4e;box-shadow:0 0 12px #ff5a4e;animation:wz-sweep 2.4s ease-in-out infinite}
@keyframes wz-sweep{0%,100%{transform:translateY(-34px)}50%{transform:translateY(34px)}}@media(prefers-reduced-motion:reduce){.wz-laser{animation:none}}
.wz-scanbtn{display:flex;width:100%;align-items:center;justify-content:center;gap:10px;background:#e9d29c;color:#1f2a24;border:0;border-radius:16px;padding:16px;font-weight:700;font-size:17px;cursor:pointer}
.wz-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 0}.wz-quick button{background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px 14px;display:flex;gap:10px;align-items:center;font-weight:650;font-size:15px;color:var(--ink);cursor:pointer}
.wz-dayrow{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0 8px;flex-wrap:wrap}.wz-sum{font-size:12px;color:var(--muted)}
.wz-seg{display:inline-grid;grid-template-columns:1fr 1fr;background:#e6e5dd;border-radius:11px;padding:3px}.wz-seg button{border:0;background:none;padding:7px 14px;font-weight:650;font-size:13px;border-radius:9px;color:var(--ink)}.wz-seg .on{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.wz-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.wz-empty{padding:22px;text-align:center;color:var(--muted);font-size:14px}
.wz-li{display:flex;gap:12px;align-items:center;padding:11px 14px;border-top:1px solid var(--line)}.wz-li:first-child{border-top:0}.wz-li .wz-thumb{width:44px;height:44px;font-size:16px}.wz-li-main{flex:1;min-width:0}.wz-li-main strong{display:block;font-size:14px}.wz-li-main small{color:var(--muted);font-size:12px}.wz-li em{font-style:normal;font-weight:700;font-size:14px}
.wz-remove{border:0;background:none;padding:0;color:var(--red);font-size:12px;font-weight:600;text-decoration:underline}
.wz-view{margin-top:10px}.wz-viewbar{display:flex;align-items:center;gap:12px;margin:0 0 12px}.wz-viewbar strong{font-size:17px}.wz-backlink{border:0;background:none;color:var(--green);font-weight:650;font-size:15px;padding:6px 0}
.wz-searchbox{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:4px 14px;margin-bottom:12px;color:var(--muted)}.wz-searchbox input{border:0;padding:10px 0;font-size:16px;flex:1;background:none;box-shadow:none;outline:none}
.wz-hint{color:var(--muted);font-size:14px;text-align:center;padding:16px}
.wz-cat{display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(140deg,#2c6650,#173a2d);color:#fff;border:0;border-radius:16px;padding:14px;min-height:84px;text-align:left;font-weight:700;font-size:15px}.wz-cat small{font-weight:500;opacity:.75;font-size:12px}
.hub-new-tag{display:inline-block;vertical-align:middle;margin-left:8px;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;padding:2px 7px;border-radius:999px;background:#b99750;color:#1f2a24}.hub-new-card{border-color:#d9c08a}
/* Till Products: editing */
.tp-mode{margin:0 0 12px}.tp-main{all:unset;cursor:pointer;min-width:0;display:block}.tp-main:hover strong{text-decoration:underline}.tp-main:focus-visible{outline:2px solid var(--gold,#b99750);outline-offset:3px;border-radius:4px}
.tp-main strong{display:block;overflow:hidden;text-overflow:ellipsis}.tp-changed{color:#1d4f80!important}.tp-price small{display:block;color:var(--muted);font-size:12px}.tp-area{color:#8a5a00!important}.tp-low{color:#b42318}
.tp-sheet{border:0;border-radius:20px;padding:22px 20px 20px;width:min(560px,calc(100vw - 32px));max-height:min(88vh,900px);overflow:auto;box-shadow:0 20px 60px #0004}
.tp-sheet::backdrop{background:#0006}.tp-sheet h2{margin:2px 0 10px;font-size:22px}.tp-sheet label{display:block;margin-top:12px}.tp-sheet input,.tp-sheet select{width:100%}
.tp-x{position:absolute;top:10px;right:12px;border:0;background:#f0f0ee;width:34px;height:34px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;color:inherit}
.tp-sheet-head{display:flex;gap:12px;align-items:center;padding-right:40px}.tp-sheet-head h2{margin:0}.tp-photo-lg{width:64px;height:64px;flex:0 0 64px;border-radius:12px;font-size:24px}
.tp-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tp-two small{display:block;margin-top:3px;font-size:12px}
.tp-money{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;background:#fff;padding-left:10px}.tp-money span{color:var(--muted)}.tp-money input{border:0!important;box-shadow:none!important;background:transparent;font-size:17px}
.tp-margin{margin-top:12px;background:#f4f1ea;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center}.tp-margin strong{font-size:24px;line-height:1.2}.tp-margin small{color:var(--muted);font-size:12px}
.tp-areas{margin-top:14px;background:#fdf6e6;border:1px solid #ecd49a;border-radius:12px;padding:10px 12px}.tp-areas p{margin:2px 0 6px;font-size:13px}.tp-areas div{display:flex;justify-content:space-between;gap:10px;padding:3px 0;font-size:14px}
.tp-sheet .primary.wide{margin-top:16px;width:100%;min-height:48px}
.tp-history{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.tp-hist{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:8px 0;border-top:1px solid var(--line);font-size:14px}.tp-hist:first-of-type{border-top:0}.tp-hist small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.tp-preview{margin-top:14px}.tp-plan{max-height:38vh;overflow:auto;border:1px solid var(--line);border-radius:12px}.tp-plan div{display:flex;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid var(--line);font-size:14px}.tp-plan div:first-child{border-top:0}
.tp-plan small{margin-left:8px;color:var(--muted)}.tp-plan .tp-big{background:#fdecea}.tp-preview .notice{margin:10px 0 0;font-size:13px}
@media(max-width:760px){.tp-sheet{width:100vw;max-width:100vw;margin:auto 0 0;border-radius:22px 22px 0 0;max-height:92vh;padding-bottom:calc(20px + env(safe-area-inset-bottom))}.tp-mode{display:flex}.tp-mode button{flex:1}.tp-actions{flex-wrap:wrap}.tp-actions button{flex:1 1 30%}}
/* Owner dashboard: Morning briefing */
.briefing{max-width:760px;margin:0 0 18px}.br-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:14px}.br-head h1{margin:2px 0 0}
.br-seg{display:flex;background:#fff;border:1px solid var(--line);border-radius:12px;padding:3px}.br-seg button{border:0;background:transparent;padding:8px 14px;border-radius:9px;font-weight:600;font-size:14px;cursor:pointer;color:inherit;min-height:0}.br-seg button.on{background:#173d32;color:#fff}
.br-hero{background:linear-gradient(160deg,#173d32,#21564a);color:#fff;border-radius:20px;padding:16px 16px 14px;margin-bottom:12px}.br-hero>small{opacity:.8;font-size:13px}
.br-big{font:600 40px/1.1 Georgia,'Times New Roman',serif;margin:4px 0 10px;letter-spacing:-.5px}.br-wbig{font:600 30px/1.15 Georgia,'Times New Roman',serif;margin:2px 0 8px}
.br-cmp{display:grid;grid-template-columns:1fr 1fr;gap:10px}.br-cmp span{background:#ffffff17;border-radius:12px;padding:8px 10px;min-width:0}.br-cmp small{display:block;font-size:12px;opacity:.82;overflow:hidden;text-overflow:ellipsis}.br-cmp b{display:block;font-size:18px;margin:1px 0}
.br-cmp.light span{background:#f4f1ea}.br-cmp.light small{color:var(--muted);opacity:1}
.br-hero .br-up{color:#8fe3b5}.br-hero .br-down{color:#ffb4a3}.br-hero .br-flat{color:#fff}
.br-up{color:#1f7a4d}.br-down{color:#b3402a}.br-flat{color:var(--muted)}
.br-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;margin-bottom:12px}.br-card>.eyebrow{margin:0 0 4px}
.br-note{font-size:13px;color:#8a5a00;background:#fdf6e6;border-radius:10px;padding:8px 10px;margin:10px 0 0}
.br-row{display:grid;grid-template-columns:minmax(0,1fr) 78px 70px 80px;gap:8px;align-items:center;padding:9px 0;border-top:1px solid var(--line);font-size:15px;width:100%;text-align:left;background:none;border-left:0;border-right:0;border-bottom:0;color:inherit;font-family:inherit;min-height:0;border-radius:0}
.br-row>span:not(:first-child){text-align:right;font-weight:600;font-size:14px}.br-row .br-v{font-size:15px}.br-n{font-weight:500;min-width:0}.br-n small{display:block;font-size:11px;color:#8a5a00;font-weight:400}
.br-th{font-size:11px!important;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-top:0;padding-top:4px}.br-th>span{font-weight:500!important;font-size:11px!important}
.br-tap{cursor:pointer}.br-tap.on{background:#eef6f1;margin:0 -8px;padding-left:8px;padding-right:8px;width:calc(100% + 16px);border-radius:10px}
.br-more{margin-top:6px;border-top:1px solid var(--line);padding-top:8px}.br-more summary{cursor:pointer;font-weight:600;font-size:14px;color:#173d32;padding:4px 0}
.br-foot{font-size:12px;color:var(--muted);margin:10px 0 0}
.br-label{margin:16px 0 8px}.br-needs{display:grid;gap:8px}.br-need{display:flex;gap:12px;align-items:center;padding:11px 14px;border-radius:14px;background:#fdf1d6;color:inherit;text-decoration:none;font-size:15px}
.br-need b{font-size:20px;min-width:26px;text-align:center}.br-need span{flex:1}.br-need small{display:block;color:var(--muted);font-size:13px}.br-need em{font-style:normal;color:var(--muted);font-size:22px}.br-need.br-clear{background:#e3f1e8}.br-need.br-clear b{color:#1f7a4d}
.br-chart-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.br-chip{border:1px solid var(--line);background:#f4f1ea;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;cursor:pointer;min-height:0;color:inherit}
.br-bars{display:block;width:100%;height:auto;margin-top:6px;overflow:visible}.br-bars .br-hit{fill:transparent;cursor:pointer}.br-bars g.on .br-hit{fill:#173d3210}
.br-lw{fill:#d9d4c7}.br-t{fill:#b99750}.br-cur{fill:#d8c28f}.br-grid-l{stroke:#e9e4d8;stroke-width:1}.br-ax{font-size:9px;fill:#8a8f87;text-anchor:middle}.br-ax-l{text-anchor:start}
.br-legend{display:flex;gap:14px;font-size:12px;color:var(--muted);margin-top:4px}.br-legend i{display:inline-block;width:12px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}.br-legend i.br-t{background:#b99750}.br-legend i.br-lw{background:#d9d4c7}
.br-readout{font-size:13px;margin:8px 0 0;min-height:18px}.br-reports-head{margin-top:8px}.br-reports-head h2{margin:2px 0 0}
@media(max-width:760px){.br-head{align-items:stretch}.br-seg{width:100%}.br-seg button{flex:1}.br-row{grid-template-columns:minmax(0,1fr) 64px 58px 66px;gap:6px;font-size:14px}.br-big{font-size:36px}}
/* Briefing: right-hand charts */
/* Briefing widgets: a 12-column grid on a computer, one column on a phone */
.briefing{max-width:none}.br-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;grid-auto-flow:row dense}
.br-w{position:relative;min-width:0;display:flex;flex-direction:column}.br-wbody{flex:1;display:flex;flex-direction:column;min-width:0}.br-wbody>section,.br-wbody>.br-safety{margin:0;flex:1}.br-safety>section{margin:0;height:100%}
@media(min-width:900px){.br-grid{grid-template-columns:repeat(12,minmax(0,1fr))}.br-w{grid-column:span var(--span,6)}}
.br-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.br-custom{border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px 14px;font-weight:600;font-size:14px;cursor:pointer;color:#173d32;min-height:0}.br-custom.on{background:#b99750;color:#1f2a24;border-color:#b99750}
.br-editbar{background:#fff;border:2px dashed #b99750;border-radius:18px;padding:14px 16px;margin-bottom:14px;display:grid;gap:10px}.br-editbar p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.br-picks{display:flex;flex-wrap:wrap;gap:8px}.br-pick{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;cursor:pointer;margin:0;background:#f4f1ea;color:var(--muted)}.br-pick.on{background:#e3f1e8;border-color:#9cc9ad;color:#17603a}.br-pick input{width:16px;height:16px;margin:0}
.br-editact{display:flex;gap:8px;justify-content:flex-end}
.br-grid.editing .br-w{outline:2px dashed #cfc3a3;outline-offset:3px;border-radius:20px}.br-grid.editing .br-wbody{pointer-events:none;user-select:none}
.br-grid.editing .br-w.is-off .br-wbody{opacity:.35;filter:grayscale(1)}
.br-wbar{display:flex;align-items:center;gap:4px;background:#173d32;color:#fff;border-radius:12px;padding:5px 6px;margin-bottom:6px;font-size:13px;font-weight:600}.br-wbar span{flex:1;padding-left:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.br-wbar button{border:0;background:#ffffff22;color:#fff;border-radius:8px;min-width:32px;height:32px;padding:0 8px;font-size:15px;cursor:pointer;min-height:0}.br-wbar button:disabled{opacity:.35}.br-wbar b{font-size:12px;font-weight:600;opacity:.85;min-width:36px;text-align:center}
.br-grip{cursor:grab!important;touch-action:none;font-size:18px!important;background:#b99750!important;color:#1f2a24!important}.br-w.dragging{opacity:.55;transform:scale(.98)}.br-w.dragging .br-grip{cursor:grabbing!important}
.br-corner{position:absolute;right:-4px;bottom:-4px;width:22px;height:22px;border-radius:6px;background:#b99750;cursor:nwse-resize;touch-action:none;box-shadow:0 1px 4px #0003;display:none}
.br-corner::after{content:'';position:absolute;inset:6px;border-right:2px solid #1f2a24;border-bottom:2px solid #1f2a24}.br-w.resizing{outline-color:#b99750!important}
@media(min-width:900px){.br-corner{display:block}}@media(max-width:899px){.br-wide{display:none}}
.br-grip-i{display:inline-block;background:#b99750;color:#1f2a24;border-radius:5px;padding:0 4px;font-weight:700}
.br-ch{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.br-ch b{font-size:15px}
.br-svg{display:block;width:100%;height:auto;margin-top:6px;overflow:visible}.br-hit{fill:transparent;cursor:pointer}g.on .br-hit{fill:#173d3210}
.br-now-line{fill:none;stroke:#b99750;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.br-ly-line{fill:none;stroke:#173d32;stroke-width:2;stroke-dasharray:5 4;opacity:.55}
.br-dot{fill:#fff;stroke:#b99750;stroke-width:2.5;pointer-events:none}g.on .br-dot{fill:#b99750}
.br-wd{fill:#173d32}.br-we{fill:#b99750}.br-mark{stroke:#c0392b;stroke-width:2.5;stroke-linecap:round}
.br-legend i.br-wd{background:#173d32}.br-legend i.br-we{background:#b99750}.br-legend i.br-lyk{height:0;border-top:2px dashed #173d32;border-radius:0;opacity:.6}.br-legend i.br-markk{height:0;border-top:3px solid #c0392b;border-radius:0}.br-legend{flex-wrap:wrap}.br-tot{margin-left:auto;font-weight:600;color:#1f2a24}
.br-tip{font-size:13px;margin:8px 0 0;min-height:18px;color:var(--muted)}.br-tip b{color:#1f2a24}
.br-donut-wrap{display:flex;gap:14px;align-items:center}.br-donut{width:150px;flex:0 0 150px}.br-seg-arc{cursor:pointer;transition:stroke-width .15s}.br-seg-arc.on,.br-seg-arc:hover{stroke-width:28}
.br-dc-v{font:600 17px Georgia,serif;text-anchor:middle;fill:#1f2a24}.br-dc-l{font-size:9px;text-anchor:middle;fill:#8a8f87}
.br-keys{list-style:none;margin:0;padding:0;flex:1;display:grid;gap:5px;font-size:13px}.br-keys li{display:flex;align-items:center;gap:7px}.br-keys i{width:10px;height:10px;border-radius:3px;flex:0 0 10px}.br-keys span{flex:1}
.br-grow{display:grid;gap:7px;margin-top:6px}.br-gr{display:grid;grid-template-columns:96px minmax(0,1fr) 58px;gap:8px;align-items:center;font-size:13px;cursor:pointer;border-radius:8px;padding:2px 4px}.br-gr.on{background:#173d3210}.br-gr b{text-align:right}
.br-gt{position:relative;height:14px;background:linear-gradient(90deg,transparent calc(50% - 1px),#cfc9bb calc(50% - 1px),#cfc9bb calc(50% + 1px),transparent calc(50% + 1px))}
.br-gt i{position:absolute;top:0;height:14px;border-radius:4px}.br-gt i.pos{left:50%;background:linear-gradient(90deg,#97C459,#1f7a4d)}.br-gt i.neg{right:50%;background:linear-gradient(270deg,#F0997B,#b3402a)}
.br-svg{max-height:250px}
.br-pick{min-height:0;line-height:1.2}
.br-pick{padding:5px 11px;min-height:0!important}.br-pick input{width:16px!important;height:16px!important;min-height:0!important;padding:0!important;flex:0 0 16px}
@media(max-width:760px){.br-tools{width:100%;flex-wrap:nowrap}.br-seg{width:auto;flex:1}.br-seg button{padding:8px 6px;font-size:13px}.br-custom{padding:9px 10px;font-size:13px;white-space:nowrap}}

/* Medium screens (an unfolded iPhone Duo, small tablets): two columns; widgets 8/12 or wider span both */
@media(min-width:600px) and (max-width:899px){.br-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.br-w{grid-column:span 1}.br-w.br-full,.br-w[data-w=branches]{grid-column:1/-1}.br-w:not(.br-full) .br-donut-wrap{flex-direction:column;align-items:stretch}.br-w:not(.br-full) .br-donut{margin:0 auto}}

/* Sales Check approvals: full breakdown before approving */
.sc-request{display:block}.sc-rhead{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.sc-reason{margin:4px 0 0;font-style:italic}
.sc-body{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:10px}
.sc-detail{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.sc-body h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.sc-sum,.sc-detail>section{background:#faf8f3;border:1px solid #eee9dd;border-radius:14px;padding:12px 14px;min-width:0}
.sc-lines{width:100%;border-collapse:collapse;font-size:14px}.sc-lines th{text-align:left;font-weight:500;padding:3px 0}.sc-lines td{text-align:right;padding:3px 0 3px 10px;white-space:nowrap}.sc-lines tr+tr{border-top:1px solid #eee9dd}
.sc-lines small{display:block;font-size:12px;font-weight:600}.sc-n{color:var(--muted)}
.sc-tot{display:flex;justify-content:space-between;margin:6px 0 0;padding-top:6px;border-top:2px solid #e4ddcc;font-size:14px}.sc-sub{margin:10px 0 2px;font-size:12px;font-weight:600;color:var(--muted)}
.sc-detail p{margin:4px 0;font-size:14px}.sc-ok{color:#1f7a4d;font-weight:600;white-space:nowrap}.sc-bad{color:#b3402a;font-weight:600}
.sc-compare td,.sc-compare th{white-space:nowrap}.sc-sum{overflow-x:auto}.sc-was{margin-top:10px}.sc-was summary{cursor:pointer;font-weight:600;font-size:14px}.sc-was .sc-detail{margin-top:8px}
@media(min-width:1100px){.sc-body{grid-template-columns:minmax(300px,auto) minmax(0,1fr)}}
.detail-owner{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 14px}.danger-button{border:1px solid #e3b4a6;background:#fff4f0;color:#a3341e;border-radius:12px;padding:9px 14px;font-weight:600;cursor:pointer}
.sc-del{display:block;margin-top:2px;color:#a3341e!important;font-size:12px}.sc-none{color:var(--muted);font-size:13px}.sc-none span{display:block}
/* Electricity (owner) */
.el-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:14px}
.el-kpi{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}.el-kpi span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}
.el-kpi b{font:600 28px Georgia,serif;color:#1f2a24}.el-kpi small{color:var(--muted);font-size:12px}.el-kpi.el-bad{background:#fbeae5;border-color:#efc2b5}.el-kpi.el-warn{background:#fdf3df;border-color:#ecd49a}
.el-chase h2,.el .card h2{margin:0 0 8px;font-size:18px}.el-c{display:flex;gap:10px;padding:8px 10px;border-radius:10px;margin-top:6px;font-size:14px;background:#f4f1ea}.el-c b{min-width:150px}
.el-c.bad{background:#fbeae5}.el-c.warn{background:#fdf3df}@media(max-width:600px){.el-c{flex-direction:column;gap:2px}.el-c b{min-width:0}}
.el-ch{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}.el-ch h2{margin:0}
.el-svg{display:block;width:100%;height:auto;margin-top:8px;overflow:visible}.el-grid{stroke:#e9e4d8}.el-ax{font-size:9px;fill:#8a8f87;text-anchor:middle}.el-ax-r{text-anchor:end}.el-ax-l{text-anchor:start}
.el-hit{fill:transparent;cursor:pointer}.el-col.on .el-hit{fill:#173d3212}.el-tip{font-size:13px;color:var(--muted);min-height:18px;margin:6px 0 0}.el-tip b{color:#1f2a24}
.el-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted);margin-top:6px}.el-legend i,.el-sh h3 i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.el-sites{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;margin-top:10px}
.el-site{border:1px solid var(--line);border-radius:16px;padding:12px 14px;background:#fffdf8;min-width:0}.el-site.open{grid-column:1/-1}
.el-sh{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.el-sh h3{margin:0;font-size:16px}.el-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.el-chip{font-size:11px;font-weight:700;border-radius:999px;padding:2px 8px;background:#eee9dd;color:#5b5f57}.el-chip-bad{background:#f8d7cf;color:#a3341e}.el-chip-warn{background:#fce8c3;color:#7a5200}.el-chip-ok{background:#e3f1e8;color:#17603a}
.el-more{border:1px solid var(--line);background:#fff;border-radius:10px;padding:6px 10px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;min-height:0;color:#173d32}
.el-bar{fill:var(--c)}.el-bar-est{fill:#f0c46b;stroke:#b07a12;stroke-width:1;stroke-dasharray:3 2}.el-bar-fc{fill:var(--c);opacity:.3;stroke:var(--c);stroke-dasharray:3 2}
.el-usual{stroke:#1f2a24;stroke-width:1.2;stroke-dasharray:5 4;opacity:.55}.el-k{display:inline-block;width:12px;height:10px;border-radius:2px;vertical-align:-1px}.el-k-est{background:#f0c46b;border:1px dashed #b07a12}
.el-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;margin:8px 0 0}.el-facts dt{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.el-facts dd{margin:0;font-weight:600;font-size:14px}.el-facts small{font-weight:400;color:var(--muted)}
.el-site.open .el-use{max-height:260px}.el-note{font-size:12px;color:#7a5200;margin:6px 0 0}
.el-detail{margin-top:14px;border-top:1px solid var(--line);padding-top:10px}.el-detail h4{margin:14px 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.el-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;align-items:end}.el-form label{font-size:13px;font-weight:600;display:grid;gap:4px}.el-form .el-wide{grid-column:span 2}.el-form .auth-message{grid-column:1/-1;margin:0}
.el-scroll{overflow-x:auto}.el-table{width:100%;border-collapse:collapse;font-size:13px}.el-table th{text-align:left;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;padding:6px 8px;border-bottom:1px solid var(--line)}
.el-table td{padding:7px 8px;border-bottom:1px solid #eee9dd;vertical-align:top}.el-table small{color:var(--muted)}.el-row-est{background:#fdf3df}
.el-bad-t{color:#a3341e;font-weight:600}.el-warn-t{color:#7a5200;font-weight:600}.el-ok-t{color:#1f7a4d;font-weight:700}.el-link{border:0;background:none;color:#a3341e;font-size:12px;cursor:pointer;padding:0;min-height:0;text-decoration:underline}
.el-none{font-size:14px}.el-how ul{margin:8px 0 0;padding-left:18px;font-size:14px;line-height:1.5}.el-how summary{cursor:pointer;font-weight:600}
@media(max-width:600px){.el-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.el-kpi b{font-size:24px}.el-form .el-wide{grid-column:1/-1}}
.el-filter{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}.el-filter::-webkit-scrollbar{display:none}
.el-filter button{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 13px;font-size:13px;font-weight:600;color:#3d4640;cursor:pointer;min-height:0;white-space:nowrap}
.el-filter button i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.el-filter button small{font-weight:400;color:var(--muted)}
.el-filter button.on{background:#173d32;border-color:#173d32;color:#fff}.el-filter button.on small{color:#cfe0d8}
.el-avg label{font-size:12px;color:var(--muted);margin-top:4px;display:flex;align-items:center;gap:6px}.el-avg select{font-size:12px;padding:2px 6px;border-radius:8px;border:1px solid var(--line);min-height:0;width:auto}
.el-check .el-form{margin-top:10px}.el-res{margin-top:12px;background:#f4f1ea;border-radius:14px;padding:12px 14px}.el-res p{margin:4px 0}.el-res-bad{background:#fbeae5}
.el-res-total{display:flex;align-items:baseline;gap:10px;margin:8px 0}.el-res-total span{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600}.el-res-total b{font:600 30px Georgia,serif}.el-res-total small{color:var(--muted)}
.el-res .el-table td:last-child{text-align:right;white-space:nowrap}.el-saved{color:#17603a;font-weight:600;margin:6px 0}
.el-hist{border-top:1px solid #eee9dd;padding:8px 0}.el-hist summary{cursor:pointer;font-weight:600;font-size:15px}.el-hist summary i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:6px;vertical-align:-1px}.el-hist summary small{font-weight:400;color:var(--muted);margin-left:6px}
.el-hist .el-table{margin-top:8px}.el-row-you{background:#e9f4ed}
/* Weekly Orders */
.oi .card h2{margin:0 0 8px;font-size:18px}.oi-back{margin-bottom:6px}
.oi-why-box{display:grid;gap:2px;background:#f4f1ea;border-radius:14px;padding:10px 14px;font-size:14px;margin:0 0 12px}.oi-why-box span{color:var(--muted)}
.oi-h{font-size:16px;margin:14px 0 6px}.oi-h small,.oi-other summary small{color:var(--muted);font-weight:400}
.oi-lines{display:grid;gap:8px}.oi-line{display:grid;grid-template-columns:minmax(0,1fr) 92px 70px 92px;gap:10px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px}
.oi-line.oi-far{border-color:#ecd49a;background:#fffaf0}.oi-name b{display:block;font-size:15px}.oi-name small{color:var(--muted);font-size:12px}
.oi-copy{border:0;background:#f4f1ea;border-radius:6px;padding:1px 6px;font-size:12px;cursor:pointer;min-height:0;color:#173d32;font-family:ui-monospace,monospace}
.oi-in{display:grid;gap:2px;margin:0}.oi-in span,.oi-sug span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.oi-in input{min-height:42px;font-size:17px;text-align:center;padding:6px}
.oi-sug{display:grid;gap:2px;text-align:center}.oi-sug b{font:600 22px Georgia,serif;color:#173d32}
.oi-why{grid-column:1/-1;min-height:38px;font-size:14px}
.oi-other{margin-top:12px}.oi-other summary{cursor:pointer;font-weight:600;padding:6px 0}
.oi-foot{position:sticky;bottom:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#fffdf8;border:1px solid var(--line);border-radius:16px;padding:10px 14px;margin:14px 0;box-shadow:0 -4px 16px #0000000d}
.oi-foot span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;display:block}.oi-foot b{font:600 24px Georgia,serif}.oi-foot small{display:block;color:var(--muted);font-size:12px}
.oi-acts{display:flex;gap:8px;flex-wrap:wrap}.oi-site{text-decoration:none;display:inline-flex;align-items:center}
.oi-pl{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;align-items:end}.oi-pl label{display:grid;gap:4px;font-size:13px;font-weight:600}
.oi-placed{background:#e3f1e8;color:#17603a}.oi-toast{background:#e3f1e8}
.oi-up{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #eee9dd}.oi-up>div{flex:1;min-width:0}.oi-up span{display:block;font-size:13px;color:var(--muted)}.oi-up small{color:var(--muted)}
.oi-st{font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;white-space:nowrap;display:inline-block!important}.oi-todo{background:#eee9dd;color:#5b5f57!important}.oi-draft{background:#fce8c3;color:#7a5200!important}.oi-done{background:#e3f1e8;color:#17603a!important}.oi-late{background:#f8d7cf;color:#a3341e!important}
.oi-milk .oi-mh{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.oi-milk h2{margin:0}.oi-clock{font-size:13px;font-weight:700;background:#e3f1e8;color:#17603a;border-radius:999px;padding:5px 11px}.oi-clock.oi-late{background:#f8d7cf;color:#a3341e}
.oi-milkf{display:grid;gap:8px;margin-top:8px}.oi-mrow{display:grid;grid-template-columns:minmax(0,1fr) auto auto 110px;gap:12px;align-items:center;font-size:14px;border-top:1px solid #eee9dd;padding-top:8px}.oi-mrow span{color:var(--muted)}.oi-mrow label{display:grid;gap:2px;font-size:11px;color:var(--muted);text-transform:uppercase}.oi-mrow input{min-height:40px;text-align:center;font-size:16px}
.oi-rec{border-top:1px solid #eee9dd;padding:8px 0}.oi-rec summary{cursor:pointer;font-size:14px}.oi-rec small{color:var(--muted)}.oi-iss{margin:6px 0 0;padding-left:18px;font-size:14px}.oi-alert{background:#fbeae5;border-color:#efc2b5}
@media(max-width:640px){.oi-line{grid-template-columns:minmax(0,1fr) 1fr 1fr;}.oi-name{grid-column:1/-1}.oi-mrow{grid-template-columns:1fr 1fr;}.oi-mrow b:first-child{grid-column:1/-1}.oi-up{flex-wrap:wrap}}
@media(max-width:640px){.oi-foot{padding:8px 12px;gap:8px;flex-wrap:nowrap}.oi-foot b{font-size:20px}.oi-foot small,.oi-foot span{display:none}.oi-acts{flex-wrap:nowrap}.oi-acts .secondary{padding:8px 10px;font-size:13px;min-height:0}.oi-site{display:none!important}}
.oi-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:6px 0 2px}.oi-tools label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;margin:0}
.oi-tools select{width:auto;min-height:38px;padding:4px 10px;border-radius:10px}.oi-hz input{width:18px;height:18px;min-height:0;margin:0}.oi-hidden{margin-top:8px}
/* People & Access: bulk change access */
.pb{display:grid;gap:8px;max-width:620px}.pb h2{margin:0}.pb h3{margin:10px 0 2px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.pb-list{display:grid;gap:2px}.pb-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;padding:6px 0;border-top:1px solid #eee9dd}.pb-row>span{font-size:14px;font-weight:600}.pb-row small{grid-column:1/-1;color:var(--muted);font-size:12px}
.pb-seg{display:inline-flex;border:1px solid var(--line);border-radius:10px;overflow:hidden}.pb-seg label{margin:0;cursor:pointer}.pb-seg input{position:absolute;opacity:0;width:1px;height:1px}
.pb-seg span{display:block;padding:6px 10px;font-size:13px;font-weight:600;color:#5b5f57;background:#fff}.pb-seg label+label span{border-left:1px solid var(--line)}
.pb-seg input:checked+span{background:#173d32;color:#fff}.pb-seg input[value=off]:checked+span,.pb-seg input[value=remove]:checked+span{background:#a3341e}.pb-seg input:focus-visible+span{outline:2px solid #b99750}
@media(max-width:600px){.pb-row{grid-template-columns:1fr}.pb-seg{width:100%}.pb-seg label{flex:1;text-align:center}}
/* Outstanding Invoices (Admin Tools) */
.bl .page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.bl-refresh{white-space:nowrap}
.bl-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-bottom:14px}
.bl-kpi{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;text-align:left;font:inherit;color:inherit}
.bl-kpi span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}.bl-kpi b{font:600 26px Georgia,serif;color:#1f2a24}.bl-kpi small{color:var(--muted);font-size:12px}
.bl-main{background:#173d32;border-color:#173d32}.bl-main span,.bl-main small{color:#cfe0d8}.bl-main b{color:#fff;font-size:30px}.bl-bad{background:#fbeae5;border-color:#efc2b5}.bl-warn{background:#fdf3df;border-color:#ecd49a}.bl-hub{cursor:pointer}
.bl-tools{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:10px}.bl-tools input[type=search]{flex:1;min-width:200px}.bl-tools label{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:600;margin:0}.bl-tools select{width:auto;min-height:38px}
.bl-chips{display:flex;gap:6px;flex-wrap:wrap}.bl-chips button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;cursor:pointer;min-height:0;color:#3d4640}.bl-chips button.on{background:#173d32;border-color:#173d32;color:#fff}
.bl-table{display:grid}.bl-head,.bl-row{display:grid;grid-template-columns:32px minmax(0,2fr) minmax(0,1.3fr) 110px 100px 90px 80px 110px;gap:10px;align-items:center;padding:9px 6px;border-bottom:1px solid #eee9dd;font-size:14px}
.bl-head{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700}.bl-row small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.bl-row.on{background:#eef5f0}.bl-over .bl-due{color:#a3341e;font-weight:600}
.bl-od{color:#a3341e!important;font-weight:600}.bl-nobank{color:#b07a12!important}.r{text-align:right}.bl-x{font-size:13px;font-weight:600;white-space:nowrap;color:#173d32}.bl-sum{background:#f4f1ea;font-weight:600;border-radius:0 0 12px 12px}.bl-empty{padding:12px}
.bl-head input,.bl-row input[type=checkbox]{width:18px;height:18px;min-height:0;margin:0}
.bl-pay{position:sticky;bottom:12px;z-index:6;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#173d32;color:#fff;border-radius:16px;padding:12px 16px;box-shadow:0 8px 24px #0003;margin-top:12px}
.bl-pay b{font:600 24px Georgia,serif}.bl-pay small{display:block;color:#cfe0d8;font-size:12px}.bl-pa{display:flex;gap:8px;flex-wrap:wrap}.bl-pay .text-button{color:#fff}
.bl-hh h2{margin:0}.bl-hh select{width:auto;min-height:0;padding:2px 6px;display:inline-block}.bl-scroll{overflow-x:auto}.bl-ht{width:100%;border-collapse:collapse;font-size:14px;margin-top:8px}.bl-ht th{text-align:left;font-size:11px;text-transform:uppercase;color:var(--muted);padding:6px 8px;border-bottom:1px solid var(--line)}
.bl-ht td{padding:7px 8px;border-bottom:1px solid #eee9dd;vertical-align:top}.bl-ht small{color:var(--muted)}.bl-new{background:#e3f1e8;color:#17603a;font-weight:700;font-size:12px;border-radius:999px;padding:2px 8px}.bl-okmsg{color:#17603a;font-weight:600}
.bl-connect{max-width:640px}
@media(max-width:900px){.bl-head{display:none}.bl-row{grid-template-columns:28px minmax(0,1fr) auto;grid-template-areas:"c s inc" "c i due" "c ex x";row-gap:4px}.bl-row>label{grid-area:c;align-self:start}.bl-sup{grid-area:s}.bl-inv{grid-area:i}.bl-due{grid-area:due;text-align:right}.bl-row>.r:nth-of-type(1){grid-area:inc}
 .bl-row>div.r:nth-child(5){grid-area:inc}.bl-row>div.r:nth-child(6){grid-area:ex;font-size:12px;color:var(--muted)}.bl-row>div.r:nth-child(6)::after{content:' ex VAT'}.bl-row>div.r:nth-child(7){display:none}.bl-x{grid-area:x;text-align:right}
 .bl-sum{grid-template-columns:1fr auto;grid-template-areas:none}.bl-sum>span,.bl-sum>div.r:nth-child(6),.bl-sum>div.r:nth-child(7){display:none}}
.bl-pay .secondary{background:#fff;color:#173d32;border-color:#fff}.bl-pay .secondary:hover{background:#eef5f0}
@media(max-width:640px){.bl-pay{padding:10px 12px;gap:8px}.bl-pay b{font-size:20px}.bl-pa{width:100%;flex-wrap:nowrap}.bl-pa .secondary{flex:1;padding:8px 6px;font-size:13px;min-height:0}.bl-refresh{width:100%}}
.bl-credit{background:#f2f8f4}.bl-credit .r b,.bl-credit .r{color:#1f7a4d}.bl-cn{font-size:11px;background:#e3f1e8;color:#17603a;border-radius:999px;padding:1px 7px}
.bl-grp{background:#faf8f3}.bl-grp.on{background:#e6f1ea}.bl-gname{border:0;background:none;padding:0;text-align:left;cursor:pointer;min-height:0;color:inherit;font:inherit;min-width:0}.bl-gname b{display:block;font-size:15px}.bl-gname small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.bl-sub{background:#fff;font-size:13px}.bl-sub .bl-sup{padding-left:16px}.bl-sub .bl-sup b{font-weight:500;color:var(--muted)}
@media(max-width:900px){.bl-grp{grid-template-areas:"c s inc" "c i due" "c ex x"}.bl-gname{grid-area:s}.bl-sub .bl-sup{padding-left:0}}
/* Turnover Rent (Admin Tools) */
.tr-filter{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;scrollbar-width:none}.tr-filter button,.tr-seg button{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 13px;font-size:13px;font-weight:600;cursor:pointer;min-height:0;color:#3d4640;white-space:nowrap}
.tr-filter button.on,.tr-seg button.on{background:#173d32;border-color:#173d32;color:#fff}.tr-method>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.tr-seg{display:flex;gap:6px;flex-wrap:wrap}.tr-method .help{margin:8px 0 0}
.tr-alert{background:#fdf3df;border-color:#ecd49a}.tr-alert p{margin:4px 0}.tr-redt{color:#a3341e}
.tr-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0}.tr-kpi{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.tr-kpi span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:600}.tr-kpi b{font:600 26px Georgia,serif}.tr-kpi small{color:var(--muted);font-size:12px}.tr-main{background:#173d32;border-color:#173d32}.tr-main span,.tr-main small{color:#cfe0d8}.tr-main b{color:#fff}
.tr-sites{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-bottom:14px}.tr-site{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px}.tr-site h3{margin:0}.tr-site .subtle{margin:2px 0 8px;font-size:13px}
.tr-q{font-size:13px;font-weight:600;margin:0 0 6px}.tr-bar{position:relative;height:12px;background:#eee9dd;border-radius:999px;overflow:visible}.tr-bar i{display:block;height:100%;background:linear-gradient(90deg,#b99750,#173d32);border-radius:999px}
.tr-bar em{position:absolute;top:-4px;width:2px;height:20px;background:#a3341e;transform:translateX(-1px)}.tr-barl{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:4px 0 8px}
.tr-site dl{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin:0}.tr-site dt{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.tr-site dd{margin:0;font-weight:600}
.tr-scroll{overflow-x:auto}.tr-table{width:100%;border-collapse:collapse;font-size:14px;min-width:640px}.tr-table th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:6px 8px;border-bottom:1px solid var(--line)}
.tr-table td{padding:8px;border-bottom:1px solid #eee9dd;vertical-align:top}.tr-table small{color:var(--muted)}.tr-part{background:#faf8f3}.tr-up{color:#1f7a4d;font-weight:600}.tr-down{color:#8a8f87}.tr-tot td,.tr-tot th{font-weight:700;border-top:2px solid #cfc9bb}
.tr-st{font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;white-space:nowrap}.tr-grey{background:#eee9dd;color:#5b5f57}.tr-amber{background:#fce8c3;color:#7a5200}.tr-red{background:#f8d7cf;color:#a3341e}.tr-green{background:#e3f1e8;color:#17603a}
.tr-acts{white-space:nowrap}.tr-acts .secondary{padding:6px 10px;font-size:13px;min-height:0}
.tr-dlg{max-width:760px;width:calc(100% - 24px);border:0;border-radius:18px;padding:22px}.tr-dlg h2{margin:0 0 10px}.tr-kv{width:100%;border-collapse:collapse;font-size:14px;margin:10px 0}.tr-kv th{text-align:left;font-weight:600;padding:5px 8px 5px 0;width:45%;color:#3d4640}.tr-kv td{padding:5px 0}
.tr-calc td{text-align:right}.tr-dacts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.tr-dlg .tr-table{min-width:0}.tr-how ul{margin:8px 0 0;padding-left:18px;font-size:14px;line-height:1.5}.tr-how summary{cursor:pointer;font-weight:600}
.tr-grid th:first-child,.tr-grid tbody th{text-align:left;white-space:nowrap}.tr-grid tbody th{font-weight:600}.tr-neg{color:#a3341e}.tr-ok{color:#1f7a4d;font-weight:600}.tr-warnk{background:#fdf3df;border-color:#ecd49a}
.tr-method{display:block}.tr-method .tr-seg{margin-top:6px}.tr-dlg h3{margin:16px 0 4px}.tr-dlg h3 small{font-weight:400;color:var(--muted);font-size:13px}
.tr-sh{margin:14px 0 4px;font-size:16px}.tr-sh small{font-weight:400;color:var(--muted);font-size:12px}
.tr-sub{font-size:13px;font-weight:400;color:var(--muted)}.tr-overnote{background:#fbeae5;border:1px solid #efc2b5;color:#5c2a1d}
.tr-lease{border-top:1px solid #eee9dd;padding:10px 0}.tr-lease summary{cursor:pointer;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tr-lease summary small{flex-basis:100%;color:var(--muted);font-size:12px;margin-left:18px}
.tr-terms th{width:30%;vertical-align:top}.tr-terms td{font-size:14px}.tr-lease .secondary{margin-top:6px}
@media(max-width:600px){.tr-terms th,.tr-terms td{display:block;width:auto;padding:2px 0}.tr-terms td{padding-bottom:8px}}
/* Hub Inbox */
.ib .page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.ib-how{padding:16px 20px;font-size:13px;line-height:1.6}.ib-how ul{margin:6px 0 0;padding-left:18px}
.ib-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:6px 0 12px}.ib-bar input{flex:1;min-width:200px;min-height:40px}
.ib-tabs{display:flex;gap:6px;flex-wrap:wrap}.ib-tabs button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 14px;font-size:12px;color:var(--muted)}
.ib-tabs button.active{background:#173d32;border-color:#173d32;color:#fff;font-weight:600}.ib-tabs span{opacity:.75;margin-left:3px}
.ib-list{display:flex;flex-direction:column;gap:10px}
.ib-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;display:flex;gap:14px;justify-content:space-between;align-items:flex-start}
.ib-done{background:#f7f8f4}.ib-done .ib-title b{color:var(--muted)}
.ib-main{min-width:0;flex:1}.ib-title{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:15px}.ib-facts{margin-top:4px;font-size:13px}
.ib-sub{margin-top:4px;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.ib-text{white-space:pre-wrap;font:12px/1.5 inherit;background:#f6f8f2;padding:10px;border-radius:8px;max-height:300px;overflow:auto}
.ib-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.ib-actions .primary,.ib-actions .secondary{min-height:36px;padding:8px 12px}
.ib-edit{flex-direction:column;align-items:stretch}.ib-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}
@media (max-width:640px){.ib-item{flex-direction:column}.ib-actions{justify-content:flex-start}}

/* ===== Draft 6 Nov 2026: one type scale for the whole Hub =====
   Five text sizes only: 12 (small print, badges), 14 (labels, tables, buttons), 15 (body), 18 (section titles), 30 (page titles). */
:root{--fs-xs:12px;--fs-s:14px;--fs-m:15px;--fs-l:18px;--fs-xl:30px}
body{font-size:var(--fs-m);line-height:1.55}
h1{font-size:var(--fs-xl);letter-spacing:-.8px;line-height:1.2}
h2{font-size:var(--fs-l);letter-spacing:-.1px}
h3{font-size:var(--fs-m)}
.subtle,.help,.cell-sub,.metric p,.table-header p,.notice,.summary-note,.login-meta,.weather-note{font-size:var(--fs-s)}
.eyebrow{font-size:var(--fs-xs);letter-spacing:1.6px}
label,legend,.check,.filter-bar label{font-size:var(--fs-s)}
input,select,textarea{font-size:var(--fs-m)}
.primary,.secondary,.add-button,.text-button,.table-link,.tabs button{font-size:var(--fs-s)}
.badge,.date-chip,.attention-count{font-size:var(--fs-xs)}
.metric .metric-label{font-size:var(--fs-s)}.metric strong{font-size:28px}
/* Tables: bigger text, lighter header, room to breathe, zebra rows so a line is easy to follow. */
table{font-size:var(--fs-s)}
thead{font-size:var(--fs-xs);letter-spacing:.4px;text-transform:uppercase}
th{padding:10px 14px;color:#5f6b5c}
td{padding:12px 14px}
tbody tr:nth-child(even){background:#fafbf8}
.cell-sub{font-size:var(--fs-xs);margin-top:2px}
.table-header{padding:16px 18px}.table-header h2{font-size:var(--fs-l)}
@media(max-width:720px){h1{font-size:26px}main{padding:22px 16px 60px}td,th{padding:10px 10px}}

/* Issues page: two views of one list */
.seg-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 16px}
.seg-tabs a{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 16px;font-size:var(--fs-s);color:var(--muted);text-decoration:none}
.seg-tabs a.active{background:#173d32;border-color:#173d32;color:#fff;font-weight:600}

/* Staff Home: today's jobs */
.today-site{display:flex;align-items:center;gap:12px;padding:14px 18px}.today-site label{margin:0;white-space:nowrap}.today-site select{max-width:320px}
.today-card{padding:18px 20px}.today-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.today-head h2{margin:0}
.today-job{display:flex;align-items:center;gap:14px;padding:13px 4px;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.today-job:hover{background:#fafbf7}
.today-tick{width:26px;height:26px;border-radius:50%;border:2px solid #c9d2c4;display:grid;place-items:center;flex-shrink:0;font-weight:700;color:#fff}
.today-job.done .today-tick{background:#2f7a4f;border-color:#2f7a4f}
.today-text{flex:1;display:flex;flex-direction:column}.today-text b{font-size:var(--fs-m)}.today-text small{font-size:var(--fs-s);color:var(--muted)}
.today-job.done .today-text b{color:var(--muted)}
.today-go{font-size:var(--fs-s);font-weight:600;color:var(--green);white-space:nowrap}
.today-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.today-tile{color:inherit;text-decoration:none;display:flex;flex-direction:column;gap:6px}.today-tile h2{display:flex;gap:8px;align-items:center;margin:0}
.today-tile p{margin:0;font-size:var(--fs-s);color:#4d5a4f}.today-post b{color:var(--ink)}

/* Sign-in page: Create account stands out; Google sign-in as a proper button with its logo. */
.login-links{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-top:14px;font-size:var(--fs-s,14px);color:var(--muted)}
.link-strong{background:none;border:0;padding:0 2px;font:inherit;font-weight:700;color:var(--green,#1f4d3d);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px;cursor:pointer}
.link-strong:hover{color:var(--ink)}
.login-or{display:flex;align-items:center;gap:12px;margin:22px 0 14px;color:var(--muted);font-size:var(--fs-xs,12px);text-transform:uppercase;letter-spacing:.1em}
.login-or:before,.login-or:after{content:'';flex:1;height:1px;background:var(--line)}
.google-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:10px;font-size:var(--fs-m,15px);font-weight:600;cursor:pointer}
.google-btn:hover{background:#f8faf9;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.google-btn:disabled{opacity:.6}
.login-google-note{text-align:center;margin-top:6px}
