:root{--nav:#152f2d;--green:#187363;--mint:#e5f3ee;--text:#203632;--muted:#73817c;--border:#e1e7e2;--bg:#f5f7f4}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}aside{position:fixed;width:230px;inset:0 auto 0 0;background:var(--nav);color:#d6e3dc;padding:32px 20px;display:flex;flex-direction:column}.brand{font-size:35px;letter-spacing:-2px;font-weight:750;text-decoration:none;color:#fff;padding:0 12px}.brand span{display:block;letter-spacing:2.5px;font-size:9px;font-weight:500;margin-top:7px}.workspace{font-size:9px;letter-spacing:1.5px;margin:42px 12px 18px;color:#8da9a0}.workspace b{display:block;font-size:12px;letter-spacing:.6px;color:#d6e3dc;margin-top:9px}nav button{display:block;width:100%;text-align:left;border:0;background:transparent;color:#b2c6bd;padding:12px 15px;margin:4px 0;border-radius:7px;font-size:13px}nav button.active{background:#2c4a43;color:white}nav button:hover{background:#24453d}.nav-icon{display:inline-block;width:28px;font-size:17px}.nav-section{font-size:9px;letter-spacing:1.4px;color:#87a296;margin:26px 15px 9px}.aside-bottom{margin-top:auto;padding:25px 10px 0;font-size:11px;line-height:2}.aside-bottom small{color:#87a296;font-size:10px}.dot{display:inline-block;background:#70c6a4;width:6px;height:6px;border-radius:100%;margin-right:6px}main{margin-left:230px;padding:0 38px}header{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.crumb{font-size:10px;letter-spacing:1.4px;font-weight:650}.crumb span{margin:0 12px;color:#aab7af}.badge{background:var(--mint);color:var(--green);font-size:10px;letter-spacing:.7px;border-radius:4px;padding:6px 9px;font-weight:700}.notice{font-size:11px;color:#886c34;background:#fbf3e2;border:1px solid #ede3ca;padding:10px 14px;border-radius:5px;margin-top:20px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:32px 0 24px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--green);font-weight:700}h1{font-size:30px;letter-spacing:-1px;margin:9px 0}p{color:var(--muted);line-height:1.7;margin:7px 0}button{cursor:pointer;font:inherit;transition:.15s}button:disabled{opacity:.5;cursor:wait}.primary{border:1px solid var(--green);background:var(--green);color:#fff;padding:12px 18px;border-radius:6px}.primary:hover{background:#115e51}.quiet{border:1px solid var(--border);background:white;color:var(--text);padding:9px 12px;border-radius:5px}.quiet:hover{border-color:#96b2a4}.filters{display:flex;gap:10px;align-items:center;margin-bottom:23px;flex-wrap:wrap}.filters label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.filters input{width:142px;padding:8px;font-size:11px}.filters span{flex:1;color:var(--muted);font-size:10px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.card,.panel{background:white;border:1px solid var(--border);border-radius:9px}.card{padding:22px}.card .label{color:var(--muted);font-size:12px}.card .value{font-size:25px;font-weight:650;letter-spacing:-1px;margin:16px 0 10px}.card small{color:var(--muted);font-size:10px}.card.feature{background:var(--nav);color:white;border-color:var(--nav)}.card.feature .label,.card.feature small{color:#acc5b7}.grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px;margin-bottom:22px}.panel{overflow:hidden;margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:21px 24px;border-bottom:1px solid var(--border)}h2{font-size:15px;margin:0;letter-spacing:-.2px}.panel-head small{color:var(--muted);font-size:10px}.panel-body{padding:22px 24px}.bars{display:flex;align-items:flex-end;gap:20px;height:170px;padding:16px 15px 0;border-bottom:1px solid var(--border)}.bar-group{height:100%;flex:1;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative}.bar{width:25%;background:#398979;border-radius:4px 4px 0 0;min-height:2px}.bar.out{background:#d9bc83}.bar-group small{position:absolute;bottom:-23px;font-size:10px;color:var(--muted)}.legend{margin-top:35px;display:flex;gap:20px;font-size:10px;color:var(--muted)}.legend i{display:inline-block;width:8px;height:8px;background:#398979;margin-right:5px;border-radius:2px}.legend i.gold{background:#d9bc83}.account-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #eff2ef}.account-row:last-child{border:0}.account-row small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.account-icon{background:var(--mint);padding:10px;border-radius:7px;color:var(--green);margin-right:12px}.account-left{display:flex;align-items:center}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:var(--muted);font-size:9px;letter-spacing:.9px;text-transform:uppercase;font-weight:600;background:#fafbf9;padding:14px 20px}td{border-top:1px solid #eff2ef;padding:15px 20px;vertical-align:top}td small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.positive{color:#187363}.negative{color:#a36d42}.pill{font-size:9px;background:#edf4ef;color:#4b7760;border-radius:4px;padding:5px 7px;white-space:nowrap}.pill.warn{background:#faf0df;color:#957035}.table-wrap{overflow:auto}.link{border:0;background:transparent;color:var(--green);padding:0;text-decoration:underline;font-size:12px}.empty{text-align:center;color:var(--muted);padding:40px}.summary-row{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:17px 0}.summary-row.total{font-weight:700;font-size:17px}.summary-row.indent{padding-left:18px;font-size:12px;color:var(--muted)}input,select,textarea{font:inherit;border:1px solid #dce4de;border-radius:5px;padding:10px;width:100%;background:white;color:var(--text)}input:focus,select:focus,textarea:focus{outline:2px solid #a2cdbb;outline-offset:1px}label{font-size:11px;color:#61766b;display:block}label input,label select,label textarea{margin-top:6px}textarea{resize:vertical}dialog{width:min(750px,94vw);border:1px solid var(--border);border-radius:12px;padding:0;box-shadow:0 20px 100px #0003;color:var(--text)}dialog::backdrop{background:#112a2966}dialog .dialog-head{padding:24px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between}dialog form,.dialog-body{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.help{font-size:11px;background:#f5f7f3;padding:12px;line-height:1.8;color:var(--muted);border-radius:5px}.error{color:#a44337;background:#fff0ee;padding:10px;border-radius:5px;margin-top:12px;display:none}.journal-line{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin-bottom:8px}#toast{position:fixed;bottom:24px;right:24px;background:var(--nav);color:white;padding:15px 20px;border-radius:8px;display:none;max-width:450px;z-index:5}footer{font-size:9px;color:#93a197;display:flex;justify-content:space-between;padding:12px 0 30px;line-height:1.8}pre{white-space:pre-wrap;font-size:11px}.toolbar{display:flex;gap:10px;margin-bottom:18px;align-items:center}.toolbar select{max-width:300px}a{color:var(--green)}@media(max-width:1100px){aside{width:190px}main{margin-left:190px;padding:0 22px}.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:1fr}.card .value{font-size:23px}}@media(max-width:700px){aside{position:static;width:100%;padding:15px}.brand{font-size:24px}.brand span,.workspace,.aside-bottom,.nav-section{display:none}nav{display:flex;flex-wrap:wrap;margin-top:10px}nav button{width:auto;padding:8px;font-size:11px}.nav-icon{display:none}main{margin:0;padding:0 15px}header{height:65px}.crumb{display:none}.page-heading{align-items:flex-start}h1{font-size:25px}.cards{gap:8px}.card{padding:15px}.card .value{font-size:20px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}footer{display:block}.notice{line-height:1.7}.page-heading .primary{font-size:11px;padding:10px}.filters input{width:125px}}
[hidden]{display:none!important}
.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#eaf0eb;padding:24px}.auth-card{background:white;border:1px solid var(--border);border-radius:14px;padding:38px;width:min(460px,100%);box-shadow:0 20px 65px #193c2c0b}.auth-brand{display:block;text-decoration:none;font-size:35px;font-weight:750;letter-spacing:-1px;color:var(--nav);margin-bottom:25px}.auth-brand span{font-size:10px;letter-spacing:3px;font-weight:600;margin-left:10px}.auth-card h1{font-size:25px;margin-top:24px}.auth-card label{margin-top:18px}.auth-card .primary{width:100%;margin-top:24px}.auth-note{font-size:11px;text-align:center;margin-top:22px}.user-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}header{height:auto;min-height:82px;gap:12px;padding:12px 0}.user-tools .quiet{font-size:11px}#signed-user{font-size:11px;color:var(--muted)}
.import-choice{margin-top:24px;align-items:end}.import-choice label{flex:1}.import-choice select{max-width:100%;width:100%}.import-metrics{display:flex;gap:12px;align-items:center;margin:18px 0;flex-wrap:wrap}.duplicate{background:#f8e5e1;color:#9a4a3b}.import-check{width:17px;height:17px}.check-label{display:flex;align-items:start;gap:10px;margin-top:14px;line-height:1.6}.check-label input{width:17px;height:17px;flex:none;margin-top:2px}#import-workspace td{min-width:100px}#import-workspace td small{max-width:350px;overflow-wrap:anywhere;line-height:1.65}#import-workspace td:first-child{min-width:50px}

.bank-preview-table{max-height:45vh;overflow:auto;margin-bottom:16px}.bank-preview-table th{position:sticky;top:0;background:#f3f6f4;z-index:1}

.statement-description{white-space:pre-wrap;overflow-wrap:anywhere;min-width:220px}

.date-stack{display:inline-flex;flex-direction:column;white-space:nowrap;line-height:1.45;vertical-align:middle}.date-stack .date-year{font-size:.85em;color:var(--muted)}

.bank-list-controls{flex-wrap:wrap;align-items:flex-end;margin-top:20px}.bank-list-controls label{min-width:150px}.bank-list-controls label:last-child{flex:1}.bank-list-controls input,.bank-list-controls select{width:100%}

.bank-sort-header{display:flex;flex-direction:column;gap:12px;min-width:155px}.bank-sort-header select{width:100%;font-size:12px;font-weight:400;letter-spacing:normal;text-transform:none}.bank-sort-header .pill{font-size:10px}

.duplicate-choice{text-align:center}.duplicate-choice input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:var(--green)}

.bank-sort-header input{width:100%;min-width:125px;font-size:12px;font-weight:400;letter-spacing:normal;text-transform:none}

.bank-column-dropdown{font-weight:400;letter-spacing:normal;text-transform:none;font-size:12px}.bank-column-dropdown summary{cursor:pointer;border:1px solid var(--border);border-radius:6px;background:white;padding:9px 12px;color:var(--green)}.bank-column-options{background:white;border:1px solid var(--border);border-radius:6px;padding:12px;margin-top:5px;min-width:170px}.bank-column-options .bank-sort-option{display:flex;align-items:center;gap:8px;margin-top:10px}.bank-column-options .bank-sort-option input{width:16px;min-width:16px;height:16px;margin:0}.bank-column-dropdown summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}

.nav-group{width:100%;margin:4px 0}.nav-group summary{cursor:pointer;list-style:none;display:flex;align-items:center;padding:13px 12px;border-radius:7px;color:#b5cbc2;font-size:12px;gap:10px}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary::after{content:'▸';margin-left:auto}.nav-group[open] summary::after{content:'▾'}.nav-group.has-active summary{color:white}.nav-children{margin-left:18px;border-left:1px solid #46615a;padding-left:6px}.nav-group summary:focus-visible{outline:2px solid #a2cdbb}.nav-group summary:hover{background:#ffffff0a}@media(max-width:700px){.nav-group{width:auto}.nav-children{display:flex;flex-wrap:wrap}}


@media(min-width:701px){aside nav{overflow-y:auto;min-height:0;flex:1}.aside-bottom{flex-shrink:0}}

.purchase-items{min-width:680px}.purchase-items td,.purchase-items th{padding:10px}.purchase-items td:first-child{min-width:180px}.purchase-items input{min-width:75px}.purchase-items .num{white-space:nowrap}dialog:has(#purchase-form){width:min(1100px,96vw)}

dialog:has(.partner-sheet){width:min(1100px,96vw)}.partner-sheet .table-wrap{max-height:60vh;overflow:auto;border:1px solid var(--border)}.partner-sheet table{border-collapse:collapse}.partner-sheet th{position:sticky;top:0;background:#eaf1ed;z-index:1}.partner-sheet td,.partner-sheet th{border:1px solid var(--border);padding:9px 12px}.partner-sheet td:last-child{white-space:pre-wrap;overflow-wrap:anywhere;min-width:260px}.partner-sheet .sheet-row-number{width:50px;text-align:center;background:#f1f5f2;color:var(--muted)}.partner-sheet-tabs{display:flex;border-bottom:2px solid var(--green);margin-bottom:12px}.partner-sheet-tabs span{padding:10px 18px;background:var(--mint);color:var(--green);font-weight:600}

.partner-sheet-tabs button[aria-pressed="true"]{background:var(--mint);border-bottom:3px solid var(--green);font-weight:700}

.partner-toggles{display:flex;gap:28px;flex-wrap:wrap}.partner-toggle{display:inline-flex;align-items:center;gap:10px;position:relative;cursor:pointer}.partner-toggle input{position:absolute;opacity:0;width:42px;height:24px;margin:0}.toggle-track{width:42px;height:24px;border-radius:20px;background:#a8b5b0;display:inline-block;position:relative}.toggle-track:after{content:'';position:absolute;left:3px;top:3px;width:18px;height:18px;background:white;border-radius:50%;transition:transform .15s}.partner-toggle input:checked+.toggle-track{background:var(--green)}.partner-toggle input:checked+.toggle-track:after{transform:translateX(18px)}.partner-toggle input:focus-visible+.toggle-track{outline:2px solid var(--green);outline-offset:3px}.partner-toggle input:disabled+.toggle-track{opacity:.5}#partner-main-form{padding:0}

#partner-table-form{padding:0}#partner-table-form td input{min-width:150px}#partner-table-form .table-wrap{margin-bottom:14px}

.delivery-field{display:block;width:100%;margin-top:6px;text-align:left}.delivery-popup{width:min(420px,94vw)}.delivery-month{display:flex;justify-content:space-between;align-items:center;margin:15px 0}.delivery-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.delivery-calendar button{padding:9px 0}.delivery-calendar .selected{background:var(--green);color:white}.calendar-weekday{text-align:center;font-size:11px;padding:8px 0;color:var(--muted)}.delivery-calendar button:disabled{opacity:.35;cursor:default}

.product-fields{border:0;padding:0;margin:20px 0}.product-checks{display:flex;gap:25px;margin:12px 0 24px}.product-checks label{display:flex;align-items:center;gap:8px}.product-checks input{width:auto;margin:0}.product-category-new{display:flex;gap:12px;margin:12px 0 24px}.product-category-new input{max-width:400px}.product-attribute{display:grid;grid-template-columns:190px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.product-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.product-tags input{width:180px;flex-grow:1}.product-chip{display:inline-flex;align-items:center;gap:8px;background:#e1eee9;color:#204c43;border-radius:18px;padding:6px 12px;font-size:14px;margin:3px 0}.product-chip:nth-child(3n+2){background:#e6e1f5;color:#4d3e76}.product-chip:nth-child(3n){background:#fff0cd;color:#715718}.product-chip button{border:0;background:none;padding:0;color:inherit;font-size:18px}.product-attribute-title input{font-weight:600}#product-skus input{min-width:140px}@media(max-width:700px){.product-attribute{grid-template-columns:1fr}.product-category-new{flex-wrap:wrap}}

.product-category-edit{display:inline-block;margin:8px 0 18px;text-decoration:underline}.product-category-edit:disabled{opacity:.5;cursor:default}

.product-category-control{display:flex;align-items:center;border:1px solid var(--line,#dce5e0);border-radius:6px;background:#fff;margin-top:6px}.product-category-control:focus-within{outline:2px solid var(--green);outline-offset:2px}.product-category-control select{flex:1;min-width:0;width:auto;border:0;margin:0;background:transparent;box-shadow:none}.product-category-control select:focus{outline:none}.product-category-arrow{flex:none;border:0;background:transparent;color:var(--green);font-size:19px;line-height:1;padding:8px 10px;margin:0 5px 0 0;cursor:pointer}.product-category-arrow:hover{background:var(--mint);border-radius:4px}.product-category-arrow:disabled{opacity:.35;cursor:default}

.product-photo{margin:12px 0 24px}.product-photo img{display:block;max-width:240px;max-height:220px;object-fit:contain;border:1px solid #dce5e0;border-radius:8px;margin-bottom:12px}.product-photo img[hidden]{display:none}

.product-summary-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start}.product-summary-layout .product-photo{margin:0}.product-photo-thumb{display:flex;align-items:center;justify-content:center;width:160px;height:140px;padding:0;border:1px solid #dce5e0;border-radius:8px;background:#f5f8f6;cursor:zoom-in;margin-bottom:10px}.product-photo .product-photo-thumb img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;object-position:center;margin:0;border:0;border-radius:0}.product-photo-thumb span{font-size:13px;color:#73817c}.product-photo-thumb span[hidden]{display:none}.product-photo input[type=file]{font-size:12px;padding:6px;width:100%;min-width:0}.product-photo .help{font-size:12px;padding:8px;margin:8px 0}.product-summary-fields{min-width:0}.product-summary-fields .product-checks{margin-bottom:14px}.product-photo-popup{width:min(1000px,94vw);max-height:94vh;padding:0}.product-photo-popup>img{display:block;width:100%;height:auto;max-height:78vh;object-fit:contain;padding:12px;box-sizing:border-box}.product-inventory-info{margin-top:18px}@media(max-width:650px){.product-summary-layout{grid-template-columns:1fr}.product-summary-layout .product-photo{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px}.product-photo-thumb{width:120px;height:110px;grid-row:span 2}.product-summary-layout .product-photo .help{margin:0}}

.product-photo-frame{position:relative;width:160px;height:140px;margin-bottom:10px}.product-photo-frame .product-photo-thumb{margin:0}.product-photo-actions{position:absolute;top:7px;bottom:auto;left:7px;right:7px;z-index:2;display:flex;justify-content:space-between;pointer-events:none;opacity:0;transition:opacity .15s}.product-photo-actions button{pointer-events:none;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:6px;border:1px solid #dce5e0;border-radius:50%;background:white;color:#23453e;box-shadow:0 1px 4px #0002}.product-photo-actions button:hover{background:#e1eee9}.product-photo-actions button:disabled{opacity:.4;cursor:default}.product-photo-actions svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:650px){.product-photo-frame{width:120px;height:110px}}

.product-photo-thumb{position:relative;overflow:hidden}.product-photo-thumb .product-photo-info{position:absolute;inset:0;padding:42px 8px 8px;box-sizing:border-box;background:rgba(255,255,255,.93);font-size:11px;line-height:1.3;color:#37564c;text-align:left;display:flex;align-items:center;opacity:0;transition:opacity .15s}.product-photo-thumb:hover .product-photo-info,.product-photo-thumb:focus-visible .product-photo-info,.product-photo-thumb:has(img[hidden]) .product-photo-info{opacity:1}.product-photo-thumb:has(img[hidden]) #product-photo-placeholder{visibility:hidden}@media(max-width:650px){.product-photo-frame,.product-photo-frame .product-photo-thumb{width:160px;height:140px}.product-summary-layout .product-photo{grid-template-columns:160px minmax(0,1fr)}}

.product-crop-popup{width:min(760px,94vw);max-height:94vh;padding:0;overflow:auto}.product-crop-body{padding:20px}.product-crop-stage{display:flex;align-items:center;justify-content:center;background:#e6ece9;min-height:180px;padding:12px;margin-bottom:16px;border-radius:8px}.product-crop-stage canvas{display:block;max-width:100%;max-height:42vh;width:auto;height:auto;cursor:grab;touch-action:none;outline:1px solid #7e938b}.product-crop-stage canvas:active{cursor:grabbing}.product-crop-stage canvas:focus-visible{outline:3px solid var(--green)}.product-crop-body input[type=range]{padding:0;accent-color:var(--green);min-height:30px}.product-crop-body output{float:right;font-weight:600}

.product-crop-stage canvas.is-dragging{cursor:grabbing}.product-crop-readout{font-size:13px;color:var(--muted)}.product-crop-readout output{float:none;font-weight:600}.product-crop-stage canvas{user-select:none;-webkit-user-select:none}

.product-photo-frame:hover .product-photo-actions,.product-photo-frame:has(:focus-visible) .product-photo-actions{opacity:1}.product-photo-frame:hover .product-photo-actions button,.product-photo-frame:has(:focus-visible) .product-photo-actions button{pointer-events:auto}
@media(hover:none){.product-photo-frame:focus-within .product-photo-actions{opacity:1}.product-photo-frame:focus-within .product-photo-actions button{pointer-events:auto}}

/* Match crop output 8:7 without a border changing the inner image ratio. */
.product-photo-frame .product-photo-thumb{border:0;box-shadow:0 0 0 1px #dce5e0}

[data-part-category][hidden]{display:none}

/* Keep preview title and close action visible inside the scrolling dialog. */
dialog .dialog-head{position:sticky;top:0;z-index:50;background:#fff;align-items:center;gap:16px;box-shadow:0 2px 6px #152f2d0d}
dialog .dialog-head h2{margin:0;min-width:0;overflow-wrap:anywhere}
dialog .dialog-head button{flex-shrink:0;min-width:44px;min-height:44px}

/* Monthly HR calendar, Monday through Sunday. */
.hr-month-calendar{table-layout:fixed;width:100%;min-width:560px}.hr-month-calendar th{text-align:center;padding:12px 4px}.hr-month-calendar td{height:82px;vertical-align:top;border:1px solid #e4eae7;padding:10px}.hr-month-calendar td strong{font-size:17px}.hr-month-calendar td span{display:block;font-size:12px;line-height:1.4;margin-top:8px;overflow-wrap:anywhere}.hr-month-calendar .hr-calendar-holiday{background:#fff0ee;color:#a5352d}.hr-month-calendar .hr-calendar-empty{background:#f7f9f8}
.hr-move-calendar table{table-layout:fixed;width:100%;min-width:560px}.hr-move-calendar th{text-align:center;padding:9px 4px}.hr-move-calendar td{height:64px;border:1px solid #e4eae7;padding:0}.hr-move-calendar td button{width:100%;height:100%;border:0;border-radius:0;background:#fff;color:var(--text);padding:8px}.hr-move-calendar td button:hover{background:var(--mint)}.hr-move-calendar td button span{display:block;font-size:11px;margin-top:4px}.hr-move-calendar .hr-move-holiday,.hr-move-calendar .hr-move-holiday button{background:#fff0ee;color:#a5352d}.hr-move-calendar [data-move-date].hr-move-selected{box-shadow:inset 0 0 0 3px var(--green);background:var(--mint)}

/* Bank reconciliation: compact workbench with source-backed running balances. */
.recon-workspace{--recon-purple:#182e57;--recon-teal:#182e57;color:#30323b}
.recon-workspace button.primary{background:var(--recon-teal);border-color:var(--recon-teal);color:white}.recon-workspace button.link{color:var(--recon-teal)}
.recon-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#fff;border:1px solid #dddce2;border-top:4px solid var(--recon-purple);border-radius:7px 7px 0 0}.recon-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.3px;color:var(--recon-purple)}.recon-topbar h2{font-size:20px;margin:5px 0 0}.recon-actions{display:flex;gap:8px;flex-wrap:wrap}
.recon-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #dddce2;border-top:0;border-radius:0 0 7px 7px}.recon-summary>div{padding:20px;border-right:1px solid #e8e6eb;min-width:0}.recon-summary>div:last-child{border-right:0}.recon-summary span,.recon-summary small{display:block;color:#6e7079;font-size:11px;line-height:1.5}.recon-summary strong{display:block;font-size:21px;font-variant-numeric:tabular-nums;letter-spacing:-.5px;margin:7px 0;overflow-wrap:anywhere}.recon-summary strong small{display:inline;font-size:15px}.recon-summary-bank{background:#f7f3f7}.recon-summary-bank strong{color:var(--recon-purple)}.recon-summary progress{display:block;width:100%;height:5px;accent-color:var(--recon-teal);margin:8px 0}.recon-source{font-size:11px;color:#73747e;line-height:1.6;margin:10px 0 16px}
.recon-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(310px,1fr);gap:18px;align-items:start}.recon-list,.recon-detail{background:#fff;border:1px solid #dddce2;border-radius:7px;min-width:0;overflow:hidden}.recon-list-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:14px 16px;border-bottom:1px solid #dddce2;background:#faf9fb}.recon-list-toolbar label{font-size:11px;color:#62636c;min-width:0}.recon-list-toolbar input,.recon-list-toolbar select{padding:8px 9px;font-size:12px;background:white}.recon-search{flex:1;min-width:170px!important}.recon-list-toolbar button{font-size:11px;padding:6px 0}.recon-list-scroll{max-height:660px;overflow:auto}.recon-table{width:100%;min-width:655px;border-collapse:collapse;table-layout:fixed}.recon-table th{position:sticky;top:0;z-index:2;background:#f5f3f6;font-size:10px;text-transform:none;letter-spacing:0;padding:9px 10px;vertical-align:bottom}.recon-table th:nth-child(1){width:76px}.recon-table th:nth-child(2){width:auto}.recon-table th:nth-child(3){width:119px}.recon-table th:nth-child(4){width:124px}.recon-table th:nth-child(5){width:127px}.recon-table td{padding:12px 10px;border-bottom:1px solid #eeedf0;font-size:11px;vertical-align:top}.recon-table tr.recon-selected td{background:#f1ebf2}.recon-table tr.recon-selected td:first-child{box-shadow:inset 3px 0 var(--recon-purple)}.recon-table tbody tr:hover td{background:#f7f4f8}.recon-row-select{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:#30323b;font-weight:650;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.recon-row-select:hover{text-decoration:underline;background:transparent}.recon-row-description{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#787983;font-size:10px;line-height:1.6;max-width:100%;margin-top:4px}.recon-row-status{display:block;font-size:10px;color:#77717b;line-height:1.4;margin-bottom:5px}.recon-table .num{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.recon-running{font-weight:600;color:#4e4055}.recon-out{color:#a44941}.recon-in{color:#08796e}.recon-table .bank-sort-header{gap:4px;align-items:stretch}.recon-table .bank-column-dropdown summary{font-size:9px;padding:3px 0}.recon-table .bank-column-options{min-width:190px;text-align:left}.recon-table .bank-sort-header .pill{font-size:9px;padding:1px 4px}.recon-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-top:1px solid #e7e4e9;font-size:11px;color:#6f6b75}.recon-pager button{padding:5px 12px;margin-left:5px}.recon-pager button:disabled{opacity:.35;cursor:default}
.recon-detail{position:sticky;top:18px}.recon-detail-head{padding:20px 22px;border-bottom:1px solid #e5e1e7;background:linear-gradient(125deg,#fff,#f8f4f8)}.recon-detail-head h2{font-size:19px;line-height:1.4;margin:9px 0;overflow-wrap:anywhere}.recon-detail-head>span:not(.pill):not(.recon-eyebrow){font-size:11px;color:#79717d}.recon-amount{display:block;font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:-.7px;margin:17px 0 11px}.recon-detail-body{padding:18px 22px;font-size:12px;line-height:1.65}.recon-detail-body h3{font-size:12px;color:#514758;margin:22px 0 8px}.recon-balance-line{display:flex;justify-content:space-between;align-items:start;gap:12px;font-size:11px}.recon-balance-line strong{text-align:right;white-space:nowrap;font-size:13px}.recon-description{white-space:pre-wrap;overflow-wrap:anywhere;background:#faf9fb;border:1px solid #ece8ee;padding:12px;border-radius:5px;color:#68606e}.recon-section-title{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.recon-section-title h3{margin:0}.recon-section-title button{font-size:11px;padding:5px 10px}.recon-tab-title{border-bottom:2px solid var(--recon-purple);padding-bottom:10px}.recon-detail-body select{width:100%;font-size:12px}.recon-empty-match{padding:14px;background:#f7f6f8;border:1px dashed #d6cfd9;border-radius:5px;color:#68616e}.recon-empty-match p{font-size:11px;margin:6px 0 0;color:#87808c}.recon-validate{width:100%;margin-top:12px}.recon-success{color:var(--recon-teal)}.recon-empty{text-align:center;padding:30px 20px;color:#89808d}.recon-unmatched{margin-top:18px;background:white;border:1px solid #dddce2;border-radius:7px}.recon-unmatched>summary{cursor:pointer;padding:15px 18px;font-size:12px;font-weight:600;color:#64516b}.recon-workspace button:focus-visible{outline:2px solid var(--recon-teal);outline-offset:3px}
body.reconcile-workbench main{padding-left:24px;padding-right:24px}body.reconcile-workbench .page-heading{margin:22px 0 16px}body.reconcile-workbench .filters{margin-bottom:16px}
@media(min-width:1600px){.recon-grid{grid-template-columns:minmax(0,2fr) minmax(350px,1fr)}}
@media(max-width:1100px){.recon-grid{grid-template-columns:minmax(0,1fr)}.recon-detail{position:static}.recon-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.recon-summary>div:nth-child(2){border-right:0}.recon-summary>div:nth-child(-n+2){border-bottom:1px solid #e8e6eb}}
@media(max-width:600px){.recon-topbar{align-items:start;flex-direction:column;padding:16px}.recon-summary strong{font-size:18px}.recon-summary>div{padding:13px}.recon-actions{width:100%}.recon-actions button{font-size:11px;padding:8px}.recon-detail-body,.recon-detail-head{padding:16px}.recon-list-toolbar{padding:12px}.recon-list-scroll{max-height:450px}body.reconcile-workbench main{padding-left:12px;padding-right:12px}}
.recon-grid{grid-template-columns:minmax(0,2.05fr) minmax(300px,1fr)}.recon-table .bank-sort-header{min-width:0}.recon-table .bank-column-dropdown{position:relative}.recon-table .bank-column-options{position:absolute;top:100%;left:0;z-index:6;box-shadow:0 6px 20px #30203222}.recon-table th:last-child .bank-column-options{left:auto;right:0}
@media(max-width:1200px){.recon-grid{grid-template-columns:minmax(0,1fr)}.recon-detail{position:static}}
.recon-row-select{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* AMG workspace layout inspired by the user's Odoo installation. */
:root{--nav:#182e57;--green:#182e57;--mint:#e8f1f8;--text:#303840;--muted:#737b84;--border:#e1e4e8;--bg:#f7f8fa}
aside{width:218px;background:#fff;color:var(--text);padding:24px 14px;border-right:1px solid var(--border);overflow-y:auto}.brand{color:var(--nav);font-size:28px}.workspace{margin:26px 12px 18px;color:var(--muted)}.workspace b{color:var(--text);font-size:10px}nav button{color:#59616b;border-radius:4px;margin:2px 0;padding:9px 12px}nav button.active{background:#e7eff6;color:#182e57;font-weight:600}nav button:hover{background:#f2f3f5;color:#303840}.nav-group summary{color:#49525c!important;padding:12px!important;font-weight:650;font-size:12px}.nav-group.has-active>summary{color:#182e57!important}.nav-children{padding-left:8px;border-left:1px solid #e8e3e8;margin-left:12px}.nav-children button{font-size:12px}.aside-bottom,.aside-bottom small{color:#7c8792;font-size:10px}main{margin-left:218px;padding:0 30px}header{margin:0 -30px;padding:12px 30px;background:#182e57;color:#fff;border:0;min-height:62px}.crumb{display:flex;align-items:center;font-size:13px;letter-spacing:.3px}.crumb span{color:#d1deea}.user-tools #signed-user{color:#fff}.user-tools .quiet{background:#ffffff14;border-color:#ffffff30;color:#fff}.amg-app-switch{font-size:23px;border:0;color:#fff;background:transparent;padding:0 12px 0 0}.page-heading{margin:25px 0 20px}h1{font-size:26px;letter-spacing:-.6px}.eyebrow{color:#182e57}.panel,.card{border-radius:5px;box-shadow:0 2px 4px #1b223005}.panel-head{padding:16px 20px}.primary{border-radius:3px;padding:9px 14px}.quiet{border-radius:3px}th{background:#f1f3f5;font-size:10px;letter-spacing:.4px;padding:12px 16px}td{padding:12px 16px}input,select,textarea{border-radius:3px}.card.feature{background:#182e57;border-color:#182e57}.notice{background:#fff8e8;color:#836b36;border-color:#f0e3c4;border-radius:3px}.auth-page{background:linear-gradient(140deg,#e8eef3,#f6f8fa)}.auth-card{border-radius:8px}.auth-brand{color:#182e57}.amg-bank-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin-bottom:24px}.amg-bank-card{background:white;border:1px solid var(--border);border-radius:5px;padding:20px;box-shadow:0 2px 6px #1d263007}.amg-bank-card-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.amg-bank-symbol{font-size:22px;color:#182e57}.amg-bank-card p{display:flex;justify-content:space-between;color:#727981;font-size:12px}.amg-bank-card strong{color:#303840;font-size:18px}.amg-bank-card small{color:#8d939a;display:block;margin:8px 0 20px}.amg-bank-card .toolbar{margin-bottom:0}.amg-apps-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:32px 22px;max-width:920px;margin:35px auto 70px}.amg-app-tile{display:flex;flex-direction:column;align-items:center;background:transparent;border:0;padding:14px 6px;color:#303840;gap:10px}.amg-app-icon{width:78px;height:78px;border-radius:12px;background:#fff;color:var(--app-color);font-size:43px;display:grid;place-items:center;box-shadow:0 4px 12px #41405516;border:1px solid #ffffff99}.amg-app-tile:hover .amg-app-icon{transform:translateY(-4px);box-shadow:0 8px 20px #41405524}.amg-app-tile strong{font-size:14px;font-weight:600}.amg-app-tile small{font-size:11px;color:#737e88}.home-active{background:linear-gradient(135deg,#e5ebf0,#f8fafc 60%,#edf1f5)}.home-active aside{display:none}.home-active main{margin-left:0;padding:0 36px;min-height:100vh}.home-active header{margin:0 -36px;padding:12px 36px}.home-active .page-heading{max-width:920px;margin:40px auto 0}.home-active .notice{max-width:920px;margin:22px auto}.home-active footer{max-width:920px;margin:0 auto}
@media(max-width:1000px){.amg-apps-grid{grid-template-columns:repeat(3,1fr)}main{padding:0 22px}header{margin:0 -22px;padding:12px 22px}}
@media(max-width:700px){aside{position:static;width:100%;padding:14px;border-bottom:1px solid var(--border)}main{margin:0;padding:0 15px}nav{display:block}.nav-group{display:inline-block;vertical-align:top;width:49%}.nav-group .nav-children{display:block}.crumb{display:flex;font-size:12px}header{margin:0 -15px;padding:12px 15px}.user-tools{gap:5px}.user-tools .quiet{font-size:10px}.amg-apps-grid{grid-template-columns:repeat(3,minmax(80px,1fr));gap:18px 4px}.amg-app-icon{width:62px;height:62px;font-size:34px}.amg-app-tile small{display:none}.amg-app-tile strong{font-size:12px}.home-active main{padding:0 16px}.home-active header{margin:0 -16px;padding:12px 16px}.home-active .page-heading{margin-top:25px}.amg-bank-grid{grid-template-columns:1fr}}

/* AMG official logo */
.brand{display:flex;align-items:center;gap:12px}.brand img{width:72px;height:64px;object-fit:contain;background:#fff;border-radius:4px}.brand span{color:#182e57}

/* Official white AMG logo on navy brand panel */
.brand{background:#182e57;padding:12px;border-radius:8px;justify-content:center}.brand img{width:128px;height:128px;background:transparent;object-fit:contain}.brand span{display:none}

/* AMG logo in top workspace navigation */
.brand{background:transparent;padding:0;border-radius:0;justify-content:flex-start}.brand span{display:inline;color:#182e57}.amg-app-switch{display:inline-flex;align-items:center;justify-content:center;padding:3px;background:transparent!important;border:0}.amg-app-switch img{width:34px;height:34px;object-fit:contain;display:block}

/* Full width bank reconciliation list */
.recon-grid{grid-template-columns:minmax(0,1fr)}

/* Bank reconciliation columns */
.recon-table{min-width:980px}.recon-table th:nth-child(1){width:90px}.recon-table th:nth-child(2){width:30%}.recon-table th:nth-child(3){width:17%}.recon-table th:nth-child(4){width:19%}.recon-table th:nth-child(5){width:140px}.recon-table th:nth-child(6){width:150px}.recon-description-cell{white-space:pre-wrap;overflow-wrap:anywhere}.recon-table td:nth-child(3),.recon-table td:nth-child(4){overflow-wrap:anywhere}.recon-table td button.quiet{font-size:11px;padding:6px 8px}

#statement-coa-results table{width:100%}#statement-coa-results tbody tr{cursor:pointer}#statement-coa-results tbody tr:hover,#statement-coa-results .coa-picked{background:#e7eff6}#statement-coa-results th:first-child{width:110px}#statement-coa-results th:last-child{width:100px}#statement-coa-selection{font-weight:600;color:#182e57}

/* Compact Excel-style column menus */
.recon-table .bank-sort-header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:5px}.recon-table .num .bank-sort-header{justify-content:flex-end}.recon-table .bank-column-dropdown{position:relative;flex:none}.recon-table .bank-column-dropdown summary{display:inline-flex;align-items:center;justify-content:center;width:18px;height:20px;padding:0;border:0;background:transparent;list-style:none;font-size:11px;cursor:pointer}.recon-table .bank-column-dropdown summary::-webkit-details-marker{display:none}.recon-table .bank-column-dropdown summary::marker{content:''}.recon-table .bank-column-dropdown summary:hover{background:#dbe6f0}.recon-table .bank-column-options{position:absolute;top:100%;left:0;margin:0;z-index:20;text-align:left;min-width:210px;white-space:normal}.recon-table .num .bank-column-options{left:auto;right:0}.bank-sort-rank{font-size:9px;color:#62788c}

/* Tag-style search */
.recon-list-toolbar .amg-tag-search{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:7px 10px;background:#fff;border:1px solid #ccd5df;border-radius:7px;min-height:42px}.recon-list-toolbar .amg-tag-search:focus-within{border-color:#182e57;box-shadow:0 0 0 2px #182e5715}.recon-list-toolbar .amg-tag-search input{flex:1;min-width:180px;width:auto;border:0;box-shadow:none;padding:5px;background:transparent}.amg-search-tag{display:inline-flex;align-items:center;gap:7px;border-radius:5px;background:#e7eff6;color:#182e57;padding:5px 8px;font-size:12px;max-width:100%}.amg-search-tag>span{overflow-wrap:anywhere}.recon-list-toolbar .amg-search-tag button{padding:0 3px;border:0;background:transparent;color:#182e57;font-size:16px;line-height:1}.amg-tag-hint{font-size:10px;color:#7b8794;white-space:nowrap}

.recon-table th:nth-child(7){width:75px}.recon-table td:nth-child(7){text-align:right}.recon-table{min-width:1055px}

/* Bank monitoring dashboard */
.recon-monitor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:18px;background:#f4f6f9}.recon-monitor-card{border:1px solid;border-left:5px solid;border-radius:9px;padding:20px;min-width:0}.recon-monitor-card>span{font-size:12px;font-weight:600}.recon-monitor-card>strong{display:block;font-size:32px;margin:10px 0 4px}.recon-monitor-card p{font-size:13px;margin:8px 0}.recon-monitor-card small{display:block;font-size:10px;line-height:1.5;opacity:.8}.recon-monitor-card progress{width:100%;height:8px;margin:5px 0 10px;accent-color:currentColor}.tone-green{background:#edf8f1;color:#216b41;border-color:#a9d7ba}.tone-yellow{background:#fff7df;color:#886514;border-color:#e9cf83}.tone-red{background:#fff0ee;color:#a13d36;border-color:#e5b0a9}.tone-neutral{background:#f4f5f7;color:#67717f;border-color:#d0d6df}.recon-balance-details>summary{padding:12px 20px;cursor:pointer;color:#182e57;font-size:12px;font-weight:600}.recon-balance-details{border-top:1px solid #e0e5ec}.recon-monitor+details .recon-summary{border-top:1px solid #e0e5ec}@media(max-width:850px){.recon-monitor{grid-template-columns:1fr}.recon-monitor-card>strong{font-size:26px}}

/* Compact monitoring cards */
.recon-monitor{gap:10px;padding:10px 14px}.recon-monitor-card{padding:9px 14px;border-radius:6px}.recon-monitor-card>span{font-size:11px}.recon-monitor-card>strong{font-size:24px;line-height:1.1;margin:4px 0 2px}.recon-monitor-card p{font-size:11px;line-height:1.25;margin:4px 0}.recon-monitor-card small{font-size:9px;line-height:1.2}.recon-monitor-card progress{display:block;height:5px;margin:3px 0 5px}@media(max-width:850px){.recon-monitor-card>strong{font-size:24px}}

.coa-system{color:#1769bb;font-weight:650}

.coa-rule-note{border:1px solid #dce3ed;border-left:4px solid #182e57;border-radius:6px;padding:12px 16px;margin:12px 0}.coa-rule-note h3{margin:0 0 8px}.coa-rule-note small{color:#677687}

.coa-review-text,.recon-workspace button.coa-review-text{color:#bb3434!important;font-weight:650}.coa-category-sort{border:0;border-bottom:1px solid #dce2e9;margin:0 0 10px;padding:0 0 8px}.coa-category-sort legend{font-size:11px;font-weight:650;padding-bottom:6px}

.recon-workspace button.coa-system{color:#1769bb;font-weight:650;text-align:left;white-space:normal}.coa-conflict-explanation{background:#fff3f1;border:1px solid #efc3bf;border-left:4px solid #bb3434;border-radius:6px;padding:14px;margin-bottom:16px}.coa-conflict-explanation h3{color:#bb3434;margin-top:0}.coa-conflict-explanation p{font-size:12px;line-height:1.6}.coa-conflict-explanation table{background:#fff}.coa-conflict-explanation th,.coa-conflict-explanation td{font-size:11px}.coa-conflict-explanation small{display:block;color:#6e7886;margin-top:5px}

/* Two-column compact text inside each monitoring card */
.recon-monitor-card{display:grid;grid-template-columns:minmax(95px,.85fr) minmax(0,1.15fr);grid-template-rows:auto auto auto;column-gap:12px;row-gap:2px;align-content:center;padding:8px 12px}.recon-monitor-card>span{grid-column:1;grid-row:1;line-height:1.25}.recon-monitor-card>strong{grid-column:1;grid-row:2 / 4;margin:1px 0 0;font-size:25px;line-height:1.15;align-self:center}.recon-monitor-card>p{grid-column:2;grid-row:1;margin:0;line-height:1.3}.recon-monitor-card>progress{grid-column:2;grid-row:2;margin:2px 0;height:4px}.recon-monitor-card>small{grid-column:2;grid-row:3;font-size:9px;line-height:1.25;margin:0}.recon-monitor{padding:8px 12px;gap:9px}@media(max-width:1100px){.recon-monitor{grid-template-columns:1fr}.recon-monitor-card{grid-template-columns:minmax(130px,.8fr) minmax(0,1.2fr)}}

.recon-csv-balance>strong{font-size:clamp(16px,1.3vw,24px);overflow-wrap:anywhere}.recon-csv-balance>p{grid-row:1 / 3}

/* Larger sort indicators across all cash and bank account headers. */
.bank-sort-header .bank-column-dropdown > summary > span[aria-hidden="true"]{display:inline-block;font-size:2em;line-height:1}
