@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap";:root{font-family:DM Sans,system-ui,sans-serif;color:#33251f;background:#fbf8f4;font-synthesis:none;--wine:#9f4056;--wine-dark:#823247;--ink:#33251f;--muted:#81756e;--line:#eadfd5;--paper:#fff;--cream:#f6efe8;--green:#2f765e;--amber:#aa6a1f;--red:#a33b3b}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Playfair Display,Georgia,serif}.center,.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card,.config-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:0 20px 65px #4a30221a}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#f7e4e7;font-size:22px;flex:0 0 auto}.eyebrow{color:var(--wine);font-weight:700;letter-spacing:.14em;font-size:10px;margin:0 0 7px}.login-card>p:not(.eyebrow),.config-card p{color:var(--muted);line-height:1.55}.login-card label,.form-grid label{display:block;font-size:12px;font-weight:700}.login-card input,.form-grid input,.form-grid select,.form-grid textarea,.inline-form input,.inline-form select,.search{display:block;width:100%;border:1px solid var(--line);background:#fff;border-radius:11px;padding:11px 12px;margin-top:7px;color:var(--ink);outline:none}.login-card input:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.search:focus{border-color:#c47789;box-shadow:0 0 0 3px #9f405617}.login-card label{margin-top:16px}.login-card button{width:100%;border:0;border-radius:11px;padding:12px;background:var(--wine);color:#fff;font-weight:700;margin:20px 0 12px}.login-card small{color:var(--muted)}.error{background:#fde8e8;color:#912e2e;border:1px solid #f5cdcd;border-radius:11px;padding:12px 14px;margin:0 0 18px}.dismissible{display:flex;justify-content:space-between;align-items:center}.dismissible button{background:transparent;border:0;color:inherit;font-size:20px}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);padding:24px 16px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px}.brand strong,.brand small,.sidebar-user strong,.sidebar-user small{display:block}.brand small,.sidebar-user small{color:var(--muted);font-size:11px}.sidebar .brand{padding:0 8px 27px}.sidebar nav{display:grid;gap:5px}.sidebar nav button{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#675a53;border-radius:11px;padding:11px 13px;text-align:left;font-weight:600}.sidebar nav button span{width:21px;text-align:center;font-size:17px}.sidebar nav button:hover,.sidebar nav button.active{background:#f7e8eb;color:var(--wine-dark)}.sidebar-user{margin-top:auto;border-top:1px solid var(--line);padding:18px 8px 0;display:flex;align-items:center;justify-content:space-between;gap:8px}.sidebar-user>span{min-width:0}.sidebar-user strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user button{border:0;background:transparent;color:var(--wine);font-weight:700;font-size:12px}.app-main{margin-left:244px;min-height:100vh}.mobile-header,.mobile-nav{display:none}.content{max-width:1320px;margin:0 auto;padding:42px 34px 80px}.page-heading h1{font-size:38px;margin:0 0 6px}.page-heading>p:last-child{color:var(--muted);margin:0}.heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.primary,.secondary,.danger-button{border-radius:11px;padding:10px 15px;font-weight:700;border:1px solid transparent}.primary{background:var(--wine);color:#fff}.primary:hover{background:var(--wine-dark)}.secondary{background:#fff;color:#5d5049;border-color:var(--line)}.danger-button{background:var(--red);color:#fff}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.summary-grid.compact{grid-template-columns:repeat(6,1fr)}.summary-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;min-width:0}.summary-card span,.summary-card strong,.summary-card small{display:block}.summary-card span{color:var(--muted);font-size:11px}.summary-card strong{font:700 25px Playfair Display,Georgia,serif;margin-top:5px;white-space:nowrap}.summary-card small{color:var(--muted);font-size:10px;margin-top:4px}.summary-card.positive{border-bottom:3px solid #7eb6a2}.summary-card.warning{border-bottom:3px solid #e3af64}.summary-card.danger{border-bottom:3px solid #d47d7d}.panel{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden;margin-top:18px}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:21px 22px;border-bottom:1px solid #f2ebe5}.panel-title h2{font-size:21px;margin:0}.panel-title>span{color:var(--muted);font-size:11px}.two-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);gap:18px}.two-columns>.panel{margin-top:18px}.stack{display:grid;align-content:start}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px 17px;border-bottom:1px solid #f2ebe5;white-space:nowrap;font-size:12px}tbody tr:last-child td{border-bottom:0}th{color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.08em}td strong{font-weight:700}.cell-note{display:block;color:var(--muted);font-size:9px;margin-top:3px}.status,.chip{display:inline-flex;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:700;background:#fff0dc;color:var(--amber)}.status.paid,.chip.active{background:#e5f3ed;color:var(--green)}.status.partial{background:#e8effa;color:#46649b}.status.cancelled,.order-cancelled{background:#f7e7e7;color:var(--red)}.order-new{background:#ede9fb;color:#654ca4}.order-confirmed,.order-in_preparation{background:#fff0dc;color:var(--amber)}.order-ready,.order-delivered{background:#e5f3ed;color:var(--green)}.order-legacy_unspecified{background:#eeeae7;color:#746860}.table-select{border:1px solid var(--line);border-radius:8px;padding:6px 8px;background:#fff;font-size:10px}.row-actions,.card-actions{display:flex;gap:6px;flex-wrap:wrap}.small-button,.icon-button,.link-button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:6px 8px;font-size:10px;font-weight:700}.icon-button{font-size:18px;line-height:1;padding:7px 10px}.link-button{border:0;color:var(--wine);padding:4px;background:transparent}.positive-text{color:var(--green)!important}.danger-text{color:var(--red)!important}.toolbar{padding:13px 17px;border-bottom:1px solid #f2ebe5}.search{max-width:360px;margin:0}.segmented{display:flex;padding:3px;background:#efe7df;border-radius:11px}.segmented.left{width:max-content;margin-top:8px}.segmented button{border:0;background:transparent;padding:8px 11px;border-radius:8px;color:#776a62;font-size:11px;font-weight:700}.segmented button.active{background:#fff;color:var(--wine);box-shadow:0 2px 7px #37231914}.ranking{list-style:none;padding:5px 22px 16px;margin:0}.ranking li{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f2ebe5}.ranking li:last-child{border:0}.ranking span{display:flex;gap:10px;align-items:center}.ranking b{display:grid;place-items:center;width:22px;height:22px;border-radius:8px;background:#f7e8eb;color:var(--wine);font-size:10px}.mini-stock{padding:5px 22px 16px}.mini-stock>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f2ebe5}.mini-stock strong{border-radius:8px;padding:3px 8px;background:#e5f3ed;color:var(--green)}.mini-stock strong.low{background:#fff0dc;color:var(--amber)}.mini-stock strong.out_of_stock{background:#f7e7e7;color:var(--red)}.empty{padding:27px 22px;color:var(--muted);text-align:center;font-size:12px}.alert-list{padding:12px}.stock-alert{display:flex;justify-content:space-between;align-items:center;border-radius:11px;padding:12px;margin-bottom:8px;background:#edf6f2;color:var(--green)}.stock-alert.warning{background:#fff3e2;color:var(--amber)}.stock-alert.danger{background:#f9eaea;color:var(--red)}.stock-alert span{font-size:10px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.product-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.product-card.muted{opacity:.68}.product-image{height:126px;background:linear-gradient(135deg,#f8e8ea,#f6efe4);display:grid;place-items:center;font-size:44px;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.product-body{padding:17px}.product-title{display:flex;justify-content:space-between;gap:12px}.product-title h3{margin:0;font-family:Playfair Display,Georgia,serif}.product-title strong{color:var(--wine)}.product-body p{font-size:11px;color:var(--muted);min-height:34px;margin:8px 0 12px}.chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:14px}.chip{background:#eeeae7;color:#746860}.chip.low{background:#fff0dc;color:var(--amber)}.chip.out_of_stock{background:#f7e7e7;color:var(--red)}.chip.ok{background:#e5f3ed;color:var(--green)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .span-2{grid-column:1/-1}.field>span{display:block}.form-grid textarea{resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:5px}.modal-backdrop{position:fixed;inset:0;background:#281c177a;display:grid;place-items:center;padding:18px;z-index:100;overflow:auto}.modal{width:min(560px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:20px;padding:22px;box-shadow:0 25px 80px #1d110c33}.modal.wide{width:min(900px,100%)}.modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;margin-bottom:18px}.modal-header h2{margin:0;font-size:23px}.line-editor{border:1px solid var(--line);border-radius:14px;padding:13px}.line-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px}.sale-line{display:grid;grid-template-columns:minmax(180px,2fr) 72px 125px 90px 32px;gap:8px;align-items:end;border-top:1px solid #f2ebe5;padding:10px 0}.sale-line>strong{padding-bottom:11px;text-align:right}.sale-line>.icon-button{margin-bottom:3px}.sale-total{display:flex;justify-content:flex-end;align-items:center;gap:15px;border-top:1px solid var(--line);padding-top:12px}.sale-total strong{font:700 20px Playfair Display,Georgia,serif}.payment-block{background:#faf6f2;border-radius:14px;padding:14px}.payment-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.callout{background:#f4eee8;border-radius:12px;padding:13px;color:#65574f}.callout.warning{background:#fff3e2;color:#80511a}.callout p{margin:5px 0 0;font-size:11px}.check-row{display:flex;gap:22px}.check-row label{display:flex;align-items:center;gap:7px}.check-row input{width:auto;margin:0}.account-list{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:15px 18px 5px}.account-list>div{border:1px solid var(--line);border-radius:11px;padding:11px;display:flex;justify-content:space-between;gap:8px;align-items:center}.account-list small{display:block;color:var(--muted);font-size:9px}.inline-form{display:grid;grid-template-columns:2fr 1fr auto;gap:8px;padding:12px 18px 18px}.inline-form input,.inline-form select{margin:0}.stock-summary{grid-template-columns:repeat(5,1fr)}@media(max-width:1100px){.summary-grid.compact{grid-template-columns:repeat(3,1fr)}.product-grid,.account-list{grid-template-columns:repeat(2,1fr)}.stock-summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:820px){.sidebar{display:none}.app-main{margin:0}.mobile-header{height:66px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px;position:sticky;top:0;z-index:20}.mobile-nav{display:flex;overflow-x:auto;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:66px;z-index:19}.mobile-nav button{flex:0 0 auto;border:0;background:#fff;padding:10px 13px;font-size:10px;color:var(--muted);display:grid;gap:2px;place-items:center}.mobile-nav button span{font-size:15px}.mobile-nav button.active{color:var(--wine);box-shadow:inset 0 -2px var(--wine)}.content{padding:28px 16px 70px}.page-heading h1{font-size:31px}.two-columns{grid-template-columns:1fr}.summary-grid.compact,.stock-summary{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:1fr 1fr}.sale-line{grid-template-columns:1fr 70px}.sale-line label:first-child{grid-column:1/-1}.sale-line>strong{padding:9px 0}.payment-fields{grid-template-columns:1fr}.account-list{grid-template-columns:1fr 1fr}}@media(max-width:560px){.heading-row{align-items:flex-start;flex-direction:column}.heading-row>.primary{width:100%}.summary-grid.compact,.stock-summary{grid-template-columns:1fr 1fr}.summary-card{padding:15px}.summary-card strong{font-size:20px}.product-grid,.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:1}.sale-line{grid-template-columns:1fr 65px}.sale-line label:nth-child(3){grid-column:1/-1}.account-list,.inline-form{grid-template-columns:1fr}.modal{padding:17px}.check-row{display:grid;gap:10px}th,td{padding:11px 13px}.row-actions{min-width:190px}}.warning-text{color:var(--amber)!important}.center-inline{padding:60px;text-align:center;color:var(--muted)}.section-divider{display:flex;align-items:center;gap:12px;margin:30px 0 0;color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.14em}.section-divider:after{content:"";height:1px;background:var(--line);flex:1}.finance-tabs{width:max-content;max-width:100%;overflow:auto;margin:4px 0 18px}.panel-form{padding:20px}.account-balance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:18px}.account-balance-grid article{border:1px solid var(--line);border-radius:13px;padding:14px}.account-balance-grid span,.account-balance-grid strong,.account-balance-grid small{display:block}.account-balance-grid span{font-size:11px;color:var(--muted)}.account-balance-grid strong{font:700 22px Playfair Display,Georgia,serif;margin:5px 0}.account-balance-grid small{font-size:9px;color:var(--muted);line-height:1.45}.flow-note{padding:24px;line-height:1.55}.flow-note p{color:var(--muted);font-size:12px;margin:8px 0 0}.draft-actions{display:grid;grid-template-columns:180px minmax(220px,1fr) auto auto auto;gap:10px;align-items:end;padding:18px}.draft-actions label{font-size:11px;font-weight:700}.draft-actions input{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:10px;padding:10px}.distribution-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:18px}.distribution-grid article{border:1px solid var(--line);border-radius:15px;padding:16px}.distribution-grid article>div:first-child{display:flex;justify-content:space-between}.distribution-grid small{color:var(--muted)}.distribution-grid dl{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:14px 0}.distribution-grid dl div{background:var(--cream);border-radius:9px;padding:9px}.distribution-grid dt{font-size:8px;text-transform:uppercase;color:var(--muted)}.distribution-grid dd{font-weight:700;margin:3px 0 0;font-size:11px}.distribution-grid button{width:100%}.panel-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px}.panel-actions p{margin:0;color:var(--muted);font-size:12px}.selected-row{background:#fbf1f3}.closure-draft{background:#fff0dc;color:var(--amber)}.closure-finalized,.closure-amended{background:#e5f3ed;color:var(--green)}.closure-superseded,.closure-cancelled{background:#eeeae7;color:#746860}.finance-summary{margin-top:20px}.closure-summary{grid-template-columns:repeat(5,1fr)}@media(max-width:1100px){.account-balance-grid{grid-template-columns:repeat(2,1fr)}.closure-summary{grid-template-columns:repeat(3,1fr)}.draft-actions{grid-template-columns:1fr 1fr}.draft-actions button{width:100%}}@media(max-width:820px){.finance-tabs{width:100%}.finance-tabs button{flex:0 0 auto}.distribution-grid{grid-template-columns:1fr}.closure-summary{grid-template-columns:repeat(2,1fr)}.panel-actions{align-items:flex-start;flex-direction:column}.panel-actions button{width:100%}}@media(max-width:560px){.account-balance-grid,.draft-actions,.distribution-grid dl{grid-template-columns:1fr}.closure-summary{grid-template-columns:1fr 1fr}.finance-tabs{border-radius:10px}.finance-tabs button{padding:8px 9px}}.sidebar nav{overflow-y:auto;padding-right:3px}.sidebar nav::-webkit-scrollbar{width:4px}.sidebar nav::-webkit-scrollbar-thumb{background:var(--line);border-radius:10px}.desktop-topbar{display:flex;justify-content:flex-end;margin:-18px 0 20px}.global-search{position:relative;width:min(420px,100%);z-index:12}.global-search>input{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px 14px;outline:none}.global-search>input:focus{border-color:#c47789;box-shadow:0 0 0 3px #9f405617}.global-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 18px 45px #33251f24}.global-results button{display:flex;width:100%;border:0;background:transparent;text-align:left;justify-content:space-between;gap:12px;padding:10px;border-radius:9px;color:var(--ink)}.global-results button:hover,.global-results button:focus{background:var(--cream)}.global-results small,.global-results>span{color:var(--muted);font-size:10px}.global-results>span{display:block;padding:14px;text-align:center}.period-controls,.filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.period-controls select,.period-controls input,.filter-bar select,.filter-bar input[type=date]{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px;color:var(--ink)}.filter-bar{padding:13px 17px;border-bottom:1px solid #f2ebe5}.filter-bar .search{margin:0;flex:1;min-width:210px}.filter-bar.multi>*{flex:1;min-width:135px}.metric-section{margin-top:27px}.metric-section>.eyebrow{margin-bottom:-13px}.data-note{color:var(--muted);font-size:11px;line-height:1.5;margin:10px 2px}.charts-grid>.panel{min-height:320px}.bar-chart{height:230px;padding:24px 22px 16px;display:flex;align-items:stretch;gap:8px}.bar-column{flex:1;min-width:13px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}.bar-pair{height:180px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px}.bar-pair>span{width:min(15px,45%);min-height:3px;background:var(--wine);border-radius:5px 5px 2px 2px}.bar-pair>.secondary-bar{background:var(--green)}.bar-column small{font-size:8px;color:var(--muted);white-space:nowrap}.donut-wrap{display:flex;align-items:center;justify-content:center;gap:30px;padding:35px 22px}.donut{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;position:relative}.donut:after{content:"";position:absolute;inset:22px;border-radius:50%;background:#fff}.donut>span{z-index:1;font:700 27px Playfair Display,Georgia,serif;text-align:center}.donut small{display:block;font:500 9px DM Sans,sans-serif;color:var(--muted)}.legend{display:grid;gap:12px}.legend span{display:grid;grid-template-columns:10px 1fr;gap:3px 8px;font-size:11px;color:var(--muted)}.legend strong{grid-column:2;color:var(--ink)}.legend i{width:9px;height:9px;border-radius:50%;margin-top:3px}.green-dot{background:var(--green)}.amber-dot{background:#e7b46e}.rank-cards{padding:10px 20px}.rank-cards article{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f2ebe5}.rank-cards article:last-child{border:0}.rank-cards b{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f7e8eb;color:var(--wine);font-size:10px}.rank-cards strong,.rank-cards small{display:block}.rank-cards small{color:var(--muted);font-size:9px;margin-top:2px}.rank-cards em{font-style:normal;font-weight:700}.category-bars{padding:15px 22px}.category-bars>div{margin-bottom:14px}.category-bars span{display:flex;justify-content:space-between;font-size:11px;margin-bottom:6px}.category-bars small{color:var(--muted)}.category-bars i{display:block;height:7px;border-radius:10px;background:var(--cream);overflow:hidden}.category-bars i b{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,var(--wine),#d08a9a)}.quick-actions{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:22px 0}.quick-actions button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px;text-align:left;color:var(--ink)}.quick-actions button:hover{border-color:#d9a6b1;background:#fffafb}.quick-actions b{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#f7e8eb;color:var(--wine)}.quick-actions span{font-size:10px;font-weight:700}.mobile-card-list{padding:8px 18px}.mobile-card-list article{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f2ebe5}.mobile-card-list strong,.mobile-card-list small{display:block}.mobile-card-list small{color:var(--muted);font-size:9px;margin-top:3px}.order-status-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line)}.order-status-grid div{padding:13px;text-align:center;border-right:1px solid var(--line)}.order-status-grid div:last-child{border:0}.order-status-grid strong,.order-status-grid span{display:block}.order-status-grid strong{font:700 20px Playfair Display,Georgia,serif}.order-status-grid span{font-size:8px;color:var(--muted)}.admin-alert-list{padding:10px}.admin-alert-list button{display:flex;width:100%;border:0;background:#fff7e9;border-radius:11px;padding:11px;margin-bottom:7px;text-align:left;gap:10px;color:var(--amber)}.admin-alert-list button.high{background:#faeaea;color:var(--red)}.admin-alert-list button>span{display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;width:20px;height:20px;font-weight:800}.admin-alert-list strong,.admin-alert-list small{display:block}.admin-alert-list small{font-size:9px;margin-top:3px;opacity:.8}.simple-list{padding:8px 18px}.simple-list>button,.simple-list>div{display:flex;width:100%;border:0;border-bottom:1px solid #f2ebe5;background:transparent;padding:12px 0;justify-content:space-between;align-items:center;text-align:left;color:var(--ink)}.simple-list strong,.simple-list small{display:block}.simple-list small{color:var(--muted);font-size:9px;margin-top:3px}.success-message{background:#e5f3ed;color:var(--green);border:1px solid #c6e3d7;border-radius:11px;padding:12px 14px;margin-bottom:17px}.receivable-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:18px}.receivable-list article{border:1px solid var(--line);border-radius:15px;padding:15px}.receivable-main{display:flex;justify-content:space-between;gap:12px}.receivable-main strong,.receivable-main small{display:block}.receivable-main small{font-size:9px;color:var(--muted);margin-top:3px}.age-badge{height:max-content;padding:4px 7px;border-radius:20px;background:#fff0dc;color:var(--amber);font-size:9px;font-weight:700}.age-badge.old{background:#f7e7e7;color:var(--red)}.receivable-list dl{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:14px 0}.receivable-list dl div{background:var(--cream);border-radius:8px;padding:8px}.receivable-list dt{font-size:8px;color:var(--muted)}.receivable-list dd{margin:3px 0 0;font-weight:700;font-size:10px}.receivable-list article>button{width:100%}.payment-history{border-top:1px solid var(--line);padding-top:12px}.payment-history>div{display:flex;justify-content:space-between;padding:6px 0;font-size:11px}.customer-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:18px}.customer-list article{border:1px solid var(--line);border-radius:15px;padding:16px}.customer-title{display:flex;justify-content:space-between;gap:10px}.customer-title strong,.customer-title small{display:block}.customer-title small{font-size:9px;color:var(--muted);margin-top:3px}.customer-list dl{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:14px 0}.customer-list dl div{background:var(--cream);border-radius:8px;padding:8px}.customer-list dt{font-size:8px;color:var(--muted)}.customer-list dd{font-weight:700;margin:3px 0 0;font-size:10px}.customer-contact{padding:0 2px 15px}.customer-contact p{color:var(--muted);margin:0 0 5px}.customer-contact blockquote{margin:13px 0;padding:12px;border-left:3px solid #d7a3af;background:#faf4f5;color:var(--muted);font-size:11px}.product-filters{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:16px}.product-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0 12px}.product-stats span{background:var(--cream);padding:8px;border-radius:8px}.product-stats small,.product-stats strong{display:block}.product-stats small{font-size:7px;color:var(--muted);text-transform:uppercase}.product-stats strong{font-size:10px;margin-top:3px}.production-form{padding:20px}.production-form>label{display:block;font-size:11px;font-weight:700;margin-bottom:15px}.production-form input,.production-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;margin-top:6px}.production-form textarea{resize:vertical}.production-form>button{width:100%}.production-products{border:1px solid var(--line);border-radius:13px;overflow:hidden;margin-bottom:15px}.production-products label{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 13px;border-bottom:1px solid var(--line)}.production-products label:last-child{border:0}.production-products strong,.production-products small{display:block}.production-products small{font-size:8px;color:var(--muted);margin-top:3px}.production-products input{width:75px;margin:0;text-align:center}.production-history{padding:8px 20px}.production-history article{display:grid;grid-template-columns:100px 1fr;gap:16px;padding:14px 0;border-bottom:1px solid #f2ebe5}.production-history time{color:var(--muted);font-size:10px}.production-history strong,.production-history small{display:block}.production-history small{color:var(--muted);font-size:10px;margin-top:4px}.production-history p{margin:5px 0 0;font-size:10px}.timeline{padding:8px 20px}.timeline article{display:grid;grid-template-columns:35px 1fr auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #f2ebe5}.timeline-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eeeae7;color:#746860;font-weight:800}.timeline-icon.in{background:#e5f3ed;color:var(--green)}.timeline-icon.out{background:#f7e7e7;color:var(--red)}.timeline time,.timeline strong,.timeline small{display:block}.timeline time{font-size:8px;color:var(--muted);text-transform:uppercase}.timeline strong{font-size:11px;margin:3px 0}.timeline small{font-size:9px;color:var(--muted)}.neutral-chip{display:inline-block;margin-top:5px;border-radius:20px;padding:3px 6px;background:#eeeae7;color:#746860;font-size:8px}.pagination{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.report-grid article{display:grid;grid-template-columns:45px 1fr;gap:12px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px}.report-grid h3{margin:0;font:700 17px Playfair Display,Georgia,serif}.report-grid p{font-size:9px;color:var(--muted);line-height:1.45;margin:5px 0 12px}.report-grid button{grid-column:1/-1}.report-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#f7e8eb;color:var(--wine);font-size:9px;font-weight:800}.print-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px}.print-panel p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.closure-history-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:17px}.closure-history-cards>button{display:grid;grid-template-columns:1fr auto;gap:10px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px;text-align:left;color:var(--ink)}.closure-history-cards>button.active{border-color:#c47789;box-shadow:0 0 0 2px #9f405614}.closure-history-cards strong,.closure-history-cards small{display:block}.closure-history-cards small{color:var(--muted);font-size:8px;margin-top:3px}.closure-history-cards dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:4px 0 0}.closure-history-cards dl div{background:var(--cream);border-radius:7px;padding:7px}.closure-history-cards dt{font-size:7px;color:var(--muted)}.closure-history-cards dd{font-size:9px;font-weight:700;margin:2px 0 0}.closure-stepper{display:grid;grid-template-columns:repeat(5,1fr);padding:18px 20px 0}.closure-stepper button{position:relative;border:0;background:transparent;color:var(--muted);display:grid;place-items:center;gap:5px;font-size:8px}.closure-stepper button:before{content:"";position:absolute;height:2px;background:var(--line);left:-50%;right:50%;top:13px}.closure-stepper button:first-child:before{display:none}.closure-stepper b{z-index:1;display:grid;place-items:center;width:27px;height:27px;border:2px solid var(--line);border-radius:50%;background:#fff}.closure-stepper button.active,.closure-stepper button.done{color:var(--wine)}.closure-stepper button.active b,.closure-stepper button.done b{border-color:var(--wine);background:#f7e8eb}.closure-step-content{padding:24px 22px}.closure-step-content h3{font:700 20px Playfair Display,Georgia,serif}.reserve-step{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;align-items:end}.reserve-step>div,.reserve-step label{border:1px solid var(--line);border-radius:12px;padding:14px}.reserve-step span,.reserve-step strong{display:block}.reserve-step span{font-size:9px;color:var(--muted)}.reserve-step strong{font:700 20px Playfair Display,Georgia,serif;margin-top:5px}.reserve-step label{font-size:10px;font-weight:700}.reserve-step input{width:100%;border:0;border-bottom:1px solid var(--line);padding:7px 0;margin-top:7px;outline:none}.explicit-confirm{display:flex;align-items:flex-start;gap:10px;background:#fff3e2;border-radius:12px;padding:14px;font-size:11px;line-height:1.45}.explicit-confirm input{margin-top:2px}.wizard-navigation{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:22px;padding-top:15px}.mobile-page-picker{padding:9px 15px}.mobile-page-picker label{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px}.mobile-page-picker label>span{font-size:9px;color:var(--muted);font-weight:700;text-transform:uppercase}.mobile-page-picker select{flex:1;border:1px solid var(--line);border-radius:9px;background:#fff;padding:8px;color:var(--ink)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(159,64,86,.22);outline-offset:2px}@media(max-width:1100px){.quick-actions{grid-template-columns:repeat(3,1fr)}.report-grid{grid-template-columns:repeat(2,1fr)}.receivable-list,.customer-list,.closure-history-cards{grid-template-columns:1fr}}@media(max-width:820px){.desktop-topbar{display:none}.charts-grid>.panel{min-height:0}.report-grid{grid-template-columns:1fr}.closure-stepper span{display:none}.reserve-step{grid-template-columns:1fr}.quick-actions{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.content{padding-bottom:40px}.mobile-header{height:60px}.mobile-nav{top:60px}.heading-row{margin-bottom:18px}.period-controls{width:100%}.period-controls>*{flex:1;min-width:125px}.summary-grid.compact{gap:8px}.summary-card{min-height:88px}.metric-section>.eyebrow{margin-bottom:-8px}.quick-actions{grid-template-columns:repeat(2,1fr);gap:7px}.quick-actions button{padding:10px}.donut-wrap{flex-direction:column}.bar-chart{overflow-x:auto;justify-content:flex-start}.bar-column{flex:0 0 28px}.order-status-grid{grid-template-columns:repeat(2,1fr)}.mobile-card-list article{grid-template-columns:1fr auto}.mobile-card-list article>b{grid-column:1/-1}.receivable-list{padding:10px}.receivable-list dl{grid-template-columns:1fr}.customer-list{padding:10px}.customer-list dl{grid-template-columns:repeat(2,1fr)}.product-filters>*{width:100%}.production-layout .panel{margin-top:10px}.production-history article{grid-template-columns:1fr;gap:5px}.timeline{padding:6px 12px}.timeline article{grid-template-columns:32px 1fr}.timeline article>b{grid-column:2}.filter-bar.multi>*{width:100%;flex:auto}.print-panel{align-items:stretch;flex-direction:column}.closure-history-cards{padding:10px}.closure-history-cards dl{grid-template-columns:repeat(2,1fr)}.closure-stepper{padding:14px 9px 0}.closure-step-content{padding:18px 13px}.closure-step-content .summary-grid.compact{grid-template-columns:1fr 1fr}.wizard-navigation button{min-width:100px}}@media print{.sidebar,.mobile-header,.mobile-nav,.desktop-topbar,button,.period-controls{display:none!important}.app-main{margin:0}.content{max-width:none;padding:0}.panel,.summary-card,.report-grid article{break-inside:avoid;box-shadow:none}}.stock-flavor-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.stock-flavor-grid button{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:13px;background:#fff;padding:13px;text-align:left;color:var(--ink)}.stock-flavor-grid button.active{border-color:#c47789;box-shadow:0 0 0 2px #9f405614}.stock-flavor-grid strong,.stock-flavor-grid small{display:block}.stock-flavor-grid small{font-size:8px;color:var(--muted);margin-top:3px}.stock-flavor-grid b{display:grid;place-items:center;min-width:30px;height:30px;border-radius:9px;background:#e5f3ed;color:var(--green)}.stock-flavor-grid b.low{background:#fff0dc;color:var(--amber)}.stock-flavor-grid b.out_of_stock{background:#f7e7e7;color:var(--red)}.inventory-history{padding:7px 19px}.inventory-history article{display:grid;grid-template-columns:120px 1fr auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #f2ebe5}.inventory-history time{font-size:9px;color:var(--muted)}.inventory-history strong,.inventory-history small{display:block}.inventory-history small{font-size:9px;color:var(--muted);margin-top:2px}.inventory-history p{font-size:10px;margin:4px 0 0}.inventory-history article>b{font-size:16px}@media(max-width:1100px){.stock-flavor-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.stock-flavor-grid{grid-template-columns:1fr 1fr}.inventory-history article{grid-template-columns:1fr auto;gap:6px}.inventory-history time{grid-column:1/-1}}.online-orders-highlight{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;margin:18px 0 0;border:1px solid #e5c381;border-radius:15px;background:#fff7e8;color:var(--amber);padding:14px 17px;text-align:left}.online-orders-highlight span{border-radius:999px;background:#f2dfb8;padding:5px 8px;font-size:8px;font-weight:800;text-transform:uppercase}.online-orders-highlight strong{color:var(--ink)}.online-orders-highlight small{font-size:9px}@media(max-width:560px){.online-orders-highlight{grid-template-columns:1fr}.online-orders-highlight span{width:max-content}}.online-order-details dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}.online-order-details dl div,.order-detail-block{border:1px solid var(--line);border-radius:11px;padding:11px}.online-order-details dt{color:var(--muted);font-size:8px;text-transform:uppercase}.online-order-details dd{margin:4px 0 0;font-size:11px;font-weight:700}.order-detail-block{margin-bottom:10px}.order-detail-block>strong{font-size:10px}.order-detail-block p{display:flex;justify-content:space-between;gap:12px;margin:8px 0 0;color:var(--muted);font-size:11px}.order-detail-block p b{color:var(--ink)}.order-detail-block .order-detail-total{border-top:1px solid var(--line);padding-top:9px;color:var(--ink);font-weight:700}@media(max-width:560px){.online-order-details dl{grid-template-columns:1fr}}.status.order-payment_review{background:#fff0c7;color:#795300;white-space:normal;line-height:1.25}.product-image-editor{display:grid;grid-template-columns:120px 1fr;gap:1rem;align-items:center;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--cream)}.product-image-preview{width:120px;aspect-ratio:1;overflow:hidden;display:grid;place-items:center;border-radius:14px;background:#efe8df;font-size:2rem}.product-image-preview img{width:100%;height:100%;object-fit:cover}.product-image-editor p{margin:.25rem 0 .7rem;color:var(--muted);font-size:.82rem}.file-button{display:inline-flex;cursor:pointer}.file-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.file-button.disabled{opacity:.55;pointer-events:none}.payment-provider-card{border-color:#c8dde9;background:#f3f9fc}.payment-provider-card dl{margin-top:.8rem}.technical-id{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.78rem}.payment-timeline p{align-items:flex-start}.payment-timeline p>span{display:grid;text-align:left}.payment-timeline small{color:var(--muted)}.late-payment-review{display:grid;gap:.8rem;padding:1rem;border:1px solid #e2bd5d;border-radius:14px;background:#fff8e7}.late-payment-review>p{margin:0;color:#695323}.late-payment-review label{display:grid;gap:.35rem}.late-payment-review input,.late-payment-review textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px}.review-actions{display:flex;flex-wrap:wrap;gap:.6rem}.refund-form{border-color:#d9a29d;background:#fff4f2}@media(max-width:600px){.product-image-editor{grid-template-columns:1fr}.product-image-preview{width:100%;max-width:220px}.review-actions>*{width:100%}}
