:root{--ink:#342a25;--muted:#80766f;--brown:#72513e;--brown-dark:#543a2b;--cream:#f5f2ec;--line:#e8e1d8;--white:#fff;--green:#377754;--amber:#94631c;--red:#a34238;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--cream);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c8a37d;outline-offset:3px}a{color:inherit}svg{width:19px;height:19px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-.8px;font-weight:650;line-height:1.25}h2{font-size:16px;font-weight:650}h3{font-size:16px}small{font-size:12px}.muted{color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;letter-spacing:1.9px;color:var(--muted);font-weight:700;margin-bottom:9px}.button{border:1px solid var(--line);border-radius:7px;background:var(--white);color:var(--ink);min-height:38px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:550;white-space:nowrap}.button:hover:not(:disabled){background:#f8f5ef}.button.primary{background:var(--brown);color:white;border-color:var(--brown)}.button.primary:hover:not(:disabled){background:var(--brown-dark)}.button.plain{padding:6px;border:0;background:transparent}.badge{display:inline-flex;align-items:center;white-space:nowrap;border-radius:5px;padding:5px 8px;font-size:11px;font-weight:600;line-height:1;background:#f1eeea;color:#70665e}.badge.amber{background:#faf0dc;color:var(--amber)}.badge.green{background:#e9f4ed;color:var(--green)}.badge.brown{background:#eee1d5;color:var(--brown-dark)}input:not([type=checkbox]),select{height:40px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);padding:9px 11px;min-width:0}input::placeholder{color:#a19890}input[type=checkbox]{appearance:auto;width:17px;height:17px;accent-color:var(--brown);flex-shrink:0}label{font-weight:550}.initial-loading{padding:60px;color:var(--muted)}
.login-layout{min-height:100vh;display:grid;grid-template-columns:44% 56%}.login-brand{position:relative;overflow:hidden;background:#e8dfd3;display:flex;flex-direction:column;justify-content:space-between;padding:60px 65px;color:var(--brown-dark)}.brand-lockup{display:flex;align-items:baseline;gap:14px;position:relative;z-index:1}.brand-vm{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:75px;line-height:1;letter-spacing:-8px;font-weight:400}.brand-bikinis{font-size:13px;letter-spacing:4px}.login-brand-copy{position:relative;z-index:1;margin:90px 0 110px}.login-brand-copy h2{font-size:42px;letter-spacing:-1.6px;max-width:360px;line-height:1.15;font-weight:500;margin-bottom:20px}.login-brand-copy>p:not(.eyebrow){color:#806b5b;font-size:15px;line-height:1.6;max-width:280px}.collection-pill{font-size:11px;letter-spacing:2px;margin-top:32px;display:inline-flex;border:1px solid #bda995;border-radius:30px;padding:9px 15px}.brand-lines{width:480px;height:580px;border:1px solid #c6b4a1;border-radius:50%;position:absolute;right:-210px;bottom:-270px;transform:rotate(-28deg);box-shadow:0 0 0 37px #e8dfd3,0 0 0 38px #c6b4a1,0 0 0 75px #e8dfd3,0 0 0 76px #c6b4a1,0 0 0 113px #e8dfd3,0 0 0 114px #c6b4a1}.login-panel{background:#fcfaf7;display:flex;align-items:center;justify-content:center;padding:50px}.login-card{width:100%;max-width:380px}.login-card h1{font-size:32px;margin:22px 0 11px}.login-card>.muted{font-size:14px}.login-form{display:flex;flex-direction:column;gap:10px;margin-top:32px}.login-form>label{font-size:12px;margin-top:8px}.login-form input:not([type=checkbox]){height:47px;width:100%}.password-field{position:relative}.password-field input{padding-right:48px}.password-field button{position:absolute;right:7px;top:8px;min-height:30px;color:var(--muted)}.login-submit{height:47px;margin-top:15px;justify-content:space-between;padding-inline:18px}.login-message,.setup-note{font-size:12px;line-height:1.6;color:var(--red);padding:11px 12px;background:#fbefeb;border-radius:6px}.setup-note{margin-top:20px;color:var(--amber);background:#f8efdf}.login-footnote{color:#9b9188;font-size:11px;line-height:1.6;margin-top:22px}.login-message[hidden]{display:none}
.app-layout{display:flex;min-height:100vh}.sidebar{width:235px;background:#fbf9f5;border-right:1px solid var(--line);padding:33px 20px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:10}.small-brand{text-decoration:none;display:flex;flex-direction:column;gap:12px;padding:0 14px}.small-brand .brand-vm{font-size:49px;letter-spacing:-5px;color:var(--brown-dark)}.small-brand>span:last-child{font-size:10px;color:var(--muted);letter-spacing:.8px}.sidebar-label{font-size:9px;letter-spacing:1.4px;color:#a19589;margin:44px 14px 17px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.button.nav{justify-content:flex-start;width:100%;border:0;background:transparent;font-size:13px;font-weight:500;padding:13px 15px;color:#817469;gap:13px}.button.nav svg{width:18px;height:18px}.button.nav.active{background:#eae0d4;color:#60432f;font-weight:650}.button.nav:hover{background:#f0e9df}.sidebar-bottom{margin-top:auto;padding-top:32px}.profile{display:flex;gap:10px;align-items:center;padding:18px 3px;border-top:1px solid var(--line)}.avatar{width:33px;height:33px;border-radius:50%;background:#e8ded0;color:var(--brown);display:grid;place-items:center;font-size:11px;font-weight:650}.profile strong{font-size:12px;max-width:150px;display:block;overflow-wrap:anywhere}.profile span{display:block;font-size:10px;color:var(--muted);margin-top:4px}.button.logout{width:100%;background:transparent;border:0;justify-content:flex-start;color:var(--muted);font-size:12px;padding-left:4px}.button.logout svg{width:17px}.workspace{margin-left:235px;width:calc(100% - 235px);min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);background:#fffdf9;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px}.breadcrumb{display:flex;align-items:center;gap:13px;color:var(--muted);font-size:11px}.breadcrumb>span{color:#bcb2a8}.breadcrumb strong{color:var(--ink);font-weight:550}.topbar-actions{display:flex;gap:14px;align-items:center}.topbar select{height:34px;font-size:11px;font-weight:600;background:#f6f2ec}.topbar .button{min-height:34px;height:34px;font-size:11px;padding:6px 11px}.topbar .button svg{width:15px}.sync-status{font-size:10px;color:#9b9085;max-width:175px}.sync-status.warning{color:var(--amber)}main{padding:35px 38px 50px;max-width:1700px;margin:auto}main:focus{outline:none}.page-heading{margin-bottom:27px}.page-heading .muted{margin-top:10px;font-size:12px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:24px}.heading-row>.button{margin-top:-8px}.notice{border-radius:7px;border:1px solid #eadcc1;background:#fcf4e5;color:#886123;padding:12px 15px;font-size:12px;line-height:1.6;margin-bottom:24px}.loading-panel{padding:90px 20px;text-align:center;color:var(--muted)}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:27px}.kpi{border:1px solid var(--line);border-radius:9px;background:white;padding:21px 21px 18px;display:flex;flex-direction:column;min-height:147px}.kpi-label{font-size:11px;color:var(--muted);font-weight:550}.kpi-value{font-size:33px;letter-spacing:-1.3px;margin:12px 0 8px;font-weight:600;line-height:1}.kpi-note{font-size:10px;color:#9b9085;line-height:1.5}.kpi.accent{background:#f1e7da;border-color:#e0cfbc}.kpi.accent .kpi-label,.kpi.accent .kpi-value{color:#795334}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:24px}.panel-title{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #f0ebe4}.panel-title .muted{font-size:10px;margin-top:6px}.panel-title .button{font-size:11px;min-height:31px;padding:6px 10px}.summary-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px}.summary-needs{min-width:0}.activity-list{padding:8px 22px}.activity-item{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #f3eee7}.activity-item:last-child{border-bottom:0}.activity-dot{width:6px;height:6px;background:#b59c85;border-radius:50%;margin-top:6px;flex-shrink:0}.activity-item strong{font-size:11px;font-weight:600}.activity-item p{font-size:10px;color:#8e8277;margin-top:5px}.activity-item time{display:block;color:#b1a69c;font-size:9px;margin-top:5px}.source-panel{padding:20px 23px;display:flex;align-items:center;justify-content:space-between;gap:20px}.source-panel .muted{font-size:10px;margin-top:7px}.sources{display:flex;gap:33px}.source{min-width:85px}.source span,.source strong{display:block}.source span{font-size:10px;color:var(--muted);margin-bottom:8px}.source strong{font-size:12px;font-weight:550}.empty-state{padding:50px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;background:#fff;border-radius:9px}.empty-icon{display:grid;place-items:center;background:#f5f0e9;color:#b29b85;width:46px;height:46px;border-radius:50%;margin-bottom:16px}.empty-state h3{font-size:14px;margin-bottom:9px}.empty-state p{font-size:12px;max-width:430px}.empty-inline{padding:30px 23px;color:var(--muted);font-size:12px}.replenish{color:var(--brown)}
.filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.search-field{position:relative;flex:1;min-width:230px;max-width:480px}.search-field svg{position:absolute;left:12px;top:11px;width:17px;color:#a29486}.search-field input{width:100%;padding-left:39px;font-size:12px}.filters select{font-size:12px;min-width:115px}.filter-total{margin-left:auto;font-size:12px;color:var(--muted)}.data-panel{border:1px solid var(--line);background:white;border-radius:9px;overflow:hidden}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;font-weight:550;color:#8f8175;padding:15px 17px;background:#fcfaf7;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:16px 17px;border-bottom:1px solid #f1ece5;line-height:1.35}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfbf8}td strong{font-size:12px;font-weight:600}.numeric{text-align:right;font-variant-numeric:tabular-nums}.subcell{display:block;font-size:10px;color:#9b8d80;font-weight:400;margin-top:5px;line-height:1.4}.product-cell{min-width:150px;max-width:240px}.product-cell strong{display:block;overflow-wrap:anywhere}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-top:1px solid var(--line);font-size:11px}.pagination>div{display:flex;align-items:center;gap:12px}.pagination .button{font-size:10px;min-height:30px;padding:6px 10px}.page-number{color:var(--muted);font-size:10px}.table-note{font-size:10px;color:var(--muted);line-height:1.7;margin-top:15px}.checkbox-label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}
.receipt-list{display:flex;flex-direction:column;gap:13px}.receipt-card{border:1px solid var(--line);border-radius:9px;background:white;overflow:hidden}.button.receipt-toggle{padding:20px 23px;display:block;border:0;border-radius:0;width:100%;text-align:left;background:white;white-space:normal}.receipt-head-inner{display:flex;align-items:center;gap:14px}.receipt-head-inner strong{font-size:13px}.receipt-icon{color:#9c7e65;background:#f6f0e8;width:37px;height:37px;display:grid;place-items:center;border-radius:8px}.receipt-progress{display:flex;align-items:center;gap:20px;margin-left:auto;font-size:11px;color:var(--muted)}.task-list{border-top:1px solid var(--line);padding:4px 25px 9px 74px}.task-row{display:flex;gap:13px;align-items:center;min-height:64px;cursor:pointer;border-bottom:1px solid #f1ece6}.task-row:last-child{border-bottom:0}.task-row strong{font-size:12px;font-weight:500}.task-row small{display:block;font-size:10px;color:#ac9d90;margin-top:5px}.task-row.done strong{color:#5c725b}.task-row.done small{color:#83917e}.loading-tasks,.task-error{padding:25px 74px;font-size:12px;color:var(--muted)}.task-error .button{margin-top:10px}.authorize-panel{display:flex;align-items:center;justify-content:space-between;padding:22px;gap:20px}.authorize-panel .muted{font-size:11px;margin-top:9px}.user-dialog{width:min(460px,calc(100vw - 40px));border:1px solid var(--line);border-radius:12px;padding:28px;box-shadow:0 20px 80px #342a2526;color:var(--ink)}.user-dialog::backdrop{background:#342a2555}.user-dialog form{display:flex;flex-direction:column;gap:12px}.user-dialog h2{margin-bottom:12px}.user-dialog label{font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.form-error{color:var(--red);font-size:12px;line-height:1.5}.form-error[hidden]{display:none}.toast-area{position:fixed;bottom:25px;right:25px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:420px}.toast{padding:13px 15px;border:1px solid #d7e5d6;background:#f3f8f1;color:#476c46;border-radius:8px;box-shadow:0 5px 25px #342a2515;display:flex;align-items:center;gap:16px;font-size:12px;line-height:1.5}.toast.error{background:#fff3ed;color:var(--red);border-color:#eed7cc}.toast .button{color:inherit;font-size:20px;min-height:25px}
@media(min-width:1600px){main{padding-top:45px}.kpi{min-height:160px}.kpi-value{font-size:38px;margin-top:16px}}@media(max-width:1150px){.sidebar{width:195px;padding-inline:12px}.workspace{margin-left:195px;width:calc(100% - 195px)}main{padding:28px 24px}.topbar{padding:0 24px}.sync-status{display:none}.kpi-grid{gap:10px}.kpi{padding:18px 14px}.kpi-note{font-size:9px}.summary-columns{gap:16px;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr)}.sources{gap:19px}.source-panel{align-items:flex-start}.login-brand{padding:45px}.login-brand-copy h2{font-size:36px}.profile strong{max-width:125px}}
@media(max-width:850px){.sidebar{width:165px;padding-inline:8px}.workspace{margin-left:165px;width:calc(100% - 165px)}.button.nav{font-size:12px;padding-inline:12px;gap:9px}.sidebar-label{font-size:8px;letter-spacing:1px}.small-brand{padding-inline:12px}.small-brand>span:last-child{font-size:9px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-columns{grid-template-columns:1fr}.source-panel{display:block}.sources{margin-top:22px;justify-content:space-between}.topbar-actions{gap:8px}.breadcrumb{font-size:10px;gap:7px}.topbar{padding-inline:19px}.profile strong{max-width:105px}.avatar{display:none}.login-layout{grid-template-columns:38% 62%}.login-brand{padding:35px 25px}.login-brand-copy h2{font-size:30px}.login-panel{padding:35px}.brand-bikinis{font-size:10px;letter-spacing:2px}.brand-vm{font-size:60px}.brand-lockup{gap:8px}}
@media(max-width:600px){.login-layout{display:block}.login-brand{min-height:180px;padding:24px;flex-direction:row;align-items:center}.login-brand-copy{margin:0 0 0 26px}.login-brand-copy h2{font-size:23px;margin-bottom:8px}.login-brand-copy .eyebrow{font-size:8px}.login-brand-copy>p:not(.eyebrow){display:none}.collection-pill{margin-top:9px;font-size:8px;padding:6px 9px}.login-panel{padding:35px 25px}.login-card h1{font-size:27px}.sidebar{width:64px;padding:24px 6px 15px}.small-brand{padding:0;align-items:center}.small-brand .brand-vm{font-size:30px;letter-spacing:-3px}.small-brand>span:last-child,.sidebar-label,.button.nav span,.profile,.button.logout{display:none}.sidebar nav{margin-top:30px}.button.nav{justify-content:center;padding:13px}.workspace{margin-left:64px;width:calc(100% - 64px)}.topbar{height:65px;padding:0 13px}.breadcrumb{display:none}.topbar-actions{width:100%;justify-content:space-between}.topbar select{max-width:150px}main{padding:24px 15px}h1{font-size:25px}.heading-row{align-items:flex-start;gap:10px}.heading-row>.button{font-size:0;min-width:36px;padding:10px;margin-top:20px}.heading-row>.button svg{width:17px}.kpi-grid{gap:9px}.kpi{min-height:138px;padding:16px 12px}.kpi-label{font-size:10px}.kpi-value{font-size:28px}.panel-title{padding:18px}.panel-title h2{font-size:14px}.sources{gap:10px}.source{min-width:0}.source span{font-size:9px}.source strong{font-size:10px}.search-field{min-width:100%;max-width:none}.filters select{flex:1}.filter-total{width:100%;margin:0}.receipt-head-inner{gap:9px}.button.receipt-toggle{padding:16px}.receipt-progress{gap:8px}.receipt-progress>span:last-child{display:none}.receipt-icon{display:none}.task-list{padding:4px 18px 9px}.loading-tasks,.task-error{padding:20px}.toast-area{right:15px;bottom:15px;max-width:calc(100vw - 90px)}.authorize-panel{display:block}.authorize-panel>.button{margin-top:20px}.pagination{padding:12px;gap:8px}.pagination>div{gap:7px}.pagination .muted{font-size:9px}}
.receipt-dialog{width:min(980px,calc(100vw - 48px));max-height:90vh;border:1px solid var(--line);border-radius:12px;padding:28px;color:var(--ink);box-shadow:0 20px 80px #342a2526}.receipt-dialog::backdrop{background:#342a2566}.receipt-dialog-title{margin-bottom:22px}.receipt-dialog-title h2{font-size:24px;margin-bottom:9px}.receipt-dialog-title .muted{font-size:12px}.receipt-fields{display:grid;grid-template-columns:1fr 210px;gap:20px;margin:20px 0}.receipt-dialog label{display:flex;flex-direction:column;gap:8px;font-size:12px}.receipt-add{display:flex;align-items:end;gap:12px;margin:18px 0 22px}.receipt-add label{flex:1;min-width:0}.receipt-add select{width:100%;max-width:100%}.receipt-group{border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:16px}.receipt-group-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#f6f2ec}.receipt-group-title strong{font-size:12px}.receipt-group-title .button{font-size:11px;min-height:30px;padding:5px 9px}.receipt-units{width:90px;min-width:65px;padding:9px!important;font-variant-numeric:tabular-nums}.receipt-dialog textarea{display:block;width:100%;resize:vertical;min-height:65px;border:1px solid var(--line);border-radius:7px;padding:11px;color:var(--ink);font:inherit;margin-top:8px}.receipt-note-label{margin-top:18px}.receipt-meta,.receipt-totals{display:flex;gap:26px;flex-wrap:wrap;padding:16px 0;font-size:13px}.receipt-totals{justify-content:flex-end;border-top:1px solid var(--line)}.receipt-notes{font-size:12px;line-height:1.6;white-space:pre-wrap;margin:12px 0;overflow-wrap:anywhere}.receipt-dialog .notice{font-size:12px;line-height:1.7;margin:15px 0}.receipt-detail{padding:14px 24px;border-top:1px solid var(--line);background:#fdfbf8}.receipt-detail>.muted{font-size:11px;margin-bottom:10px}.receipt-detail .table-scroll{background:white;border:1px solid var(--line);border-radius:7px}.receipt-dialog .form-error{margin:12px 0}.receipt-dialog .dialog-actions{padding-top:8px;position:sticky;bottom:-28px;background:white;padding-bottom:12px}.receipt-dialog input:focus-visible,.receipt-dialog textarea:focus-visible{outline:3px solid #c8a37d;outline-offset:2px}@media(max-width:700px){.receipt-dialog{width:calc(100vw - 24px);padding:18px}.receipt-fields{grid-template-columns:1fr}.receipt-add{display:block}.receipt-add>.button{margin-top:12px}.receipt-dialog .dialog-actions{bottom:-18px;flex-wrap:wrap}.receipt-dialog td,.receipt-dialog th{padding:10px}.receipt-units{width:75px}.receipt-detail{padding:14px}.receipt-totals{gap:12px;justify-content:start}.heading-row>#new-receipt{font-size:12px}}
.import-help{padding:23px;margin-bottom:24px}.import-help p{margin-top:12px;line-height:1.7;font-size:12px}.import-file-label{padding:28px;border:1px dashed #c9b59f;border-radius:9px;background:#faf7f1;margin-top:22px}.import-file-label input{width:100%;border:0;padding:10px 0;background:transparent}.import-instructions p{font-size:12px;margin:12px 0;line-height:1.6}.import-summary{display:flex;gap:18px;flex-wrap:wrap;padding:18px;background:#f7f2ea;border:1px solid var(--line);border-radius:9px;font-size:12px}.import-summary strong{display:block;font-size:23px;margin-bottom:5px}.import-confirm-label{margin:20px 0;display:flex!important;flex-direction:row!important}.import-mapping{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:9px}.import-mapping>.muted{margin:8px 0 16px;font-size:12px}.import-map-row{display:grid;grid-template-columns:1.1fr .7fr 1.4fr;gap:12px;align-items:center;margin:15px 0;padding-bottom:15px;border-bottom:1px solid var(--line)}.import-map-row strong{font-size:12px}.import-map-row input,.import-map-row select{width:100%;min-width:0}.import-preview-title{margin:20px 0 12px;font-size:14px}.import-exclusions{font-size:12px;margin:18px 0}.import-exclusions summary{cursor:pointer;padding:10px 0}@media(max-width:850px){.import-map-row{grid-template-columns:1fr}.import-summary{gap:12px}.import-summary strong{font-size:20px}}
