@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";.factory-workspace{display:grid;gap:18px;min-width:0}.factory-workspace-heading h1{margin:0;font-size:30px}.factory-workspace-heading p{margin:8px 0 0;color:var(--muted)}.factory-workspace-tabs{display:flex;gap:8px}.factory-workspace button,.factory-workspace select,.factory-tv-link input{min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}.factory-workspace button{cursor:pointer;font-weight:700}.factory-workspace button:disabled{opacity:.5;cursor:default}.factory-workspace-tabs button[aria-current],.factory-loading-actions button:first-child{background:#2e7953;border-color:#2e7953;color:#fff}.factory-tv-setup,.factory-loading-controls{padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;min-width:0}.factory-tv-setup summary{cursor:pointer;font-weight:700}.factory-tv-setup>div{display:grid;grid-template-columns:1fr 1fr;gap:16px}.factory-tv-setup section{padding:16px;border:1px solid var(--line);border-radius:12px;min-width:0}.factory-tv-setup .factory-tv-automatic{grid-column:1 / -1;border-color:#2e7953}.factory-tv-setup button{margin:4px 8px 4px 0}.factory-tv-link label{display:grid;gap:6px;margin-top:16px}.factory-tv-link input{width:100%;min-width:0}.factory-tv-link a{display:inline-block;padding:10px 0;color:#9d2823;font-weight:700}.factory-loading-picker{display:flex;align-items:end;gap:12px;margin:20px 0}.factory-loading-picker label{display:grid;gap:8px;flex:1;min-width:0}.factory-loading-picker select{width:100%}.factory-loading-current{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.factory-loading-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.factory-manifest>article{border:1px solid var(--line);padding:16px;border-radius:12px;margin:12px 0}.factory-manifest header,.factory-manifest li{display:flex;justify-content:space-between;gap:16px}.factory-manifest header span{color:#995300;font-weight:700}.factory-manifest p{color:var(--muted);overflow-wrap:anywhere}.factory-manifest ul{list-style:none;padding:0;margin:0}.factory-manifest li{padding:8px 0;border-top:1px solid var(--line)}.factory-manifest li strong{white-space:nowrap}.factory-manifest small{display:block;color:var(--muted)}.factory-workspace .factory-live-hero{min-height:0;padding:24px}.factory-workspace .factory-live-hero h1{font-size:28px}.factory-tv{box-sizing:border-box;height:100dvh;min-height:540px;display:flex;flex-direction:column;gap:1.4vh;padding:2vh 2.2vw;color:#f5f6f7;background:#101718;font-family:Arial,sans-serif;overflow:hidden}.factory-tv *,.factory-tv *:before,.factory-tv *:after{box-sizing:border-box}.factory-tv>header{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:2px solid #344243;padding-bottom:1.3vh;flex-shrink:0}.factory-tv>header span{color:#b2bfbe;font-size:clamp(12px,1.15vw,22px);letter-spacing:.1em}.factory-tv h1{margin:.5vh 0 0;font-size:clamp(26px,2.8vw,54px);line-height:1.1;letter-spacing:-.02em}.factory-tv-connection{display:grid;gap:6px;text-align:right;font-size:clamp(12px,1.1vw,22px);color:#78dfac}.factory-tv-connection small{color:#b2bfbe}.factory-tv-summary,.factory-tv-run{display:flex;justify-content:space-between;gap:20px;font-size:clamp(20px,2vw,40px);padding:1vh 0}.factory-tv-summary>span,.factory-tv-run>span{color:#b2bfbe;font-size:.75em}.factory-tv table{width:100%;border-collapse:collapse;table-layout:fixed;flex:1;min-height:0;font-size:clamp(18px,2vw,40px);line-height:1.2}.factory-tv th{padding:1.3vh .9vw;text-align:right;color:#b2bfbe;font-size:.65em;border-bottom:2px solid #52605e}.factory-tv td{padding:1.5vh .9vw;border-bottom:1px solid #344243;text-align:right;overflow-wrap:anywhere}.factory-tv th:first-child,.factory-tv td:first-child{text-align:left;width:52%}.factory-tv td small{display:block;font-size:.58em;color:#b2bfbe;margin-top:.4vh}.factory-tv .tv-process{color:#78dfac}.factory-tv .tv-qc{color:#ffd078}.factory-tv .factory-tv-production th:first-child,.factory-tv .factory-tv-production td:first-child{width:44%}.factory-tv .tv-soh{color:#8dcbff;font-weight:700;background:#172c3b}.factory-tv .factory-tv-production td:last-child{color:#fff;background:#233435}.factory-tv footer{display:flex;justify-content:space-between;gap:16px;color:#b2bfbe;font-size:clamp(12px,1.1vw,22px);padding-top:1vh;flex-shrink:0}.factory-tv footer small{display:block;color:#ffd078;font-size:inherit}.factory-tv-stop{display:grid;grid-template-columns:26% 1fr;gap:2vw;padding:1.6vh 1.4vw;background:#233435;border-radius:10px}.factory-tv-position{display:flex;flex-direction:column;justify-content:center;gap:1vh;color:#ffd078}.factory-tv-position>strong{font-size:clamp(28px,3.5vw,68px);line-height:1}.factory-tv-position>span{font-size:clamp(13px,1.2vw,24px);font-weight:700}.factory-tv-stop h2{font-size:clamp(22px,2.1vw,42px);line-height:1.15;margin:.6vh 0;overflow-wrap:anywhere}.factory-tv-stop p{font-size:clamp(13px,1.2vw,24px);line-height:1.3;color:#c5cfce;margin:0;overflow-wrap:anywhere}.factory-tv .factory-tv-items th:first-child{width:80%}.factory-tv-empty{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:3vw}.factory-tv-empty strong{font-size:clamp(28px,3.5vw,64px);line-height:1.2}.factory-tv-empty p{font-size:clamp(18px,1.8vw,34px);color:#c5cfce;line-height:1.4}.factory-tv .offline,.factory-tv .offline strong{color:#ffc190}@media(max-width:760px){.factory-tv-setup>div{grid-template-columns:1fr}.factory-loading-controls{padding:16px}.factory-workspace-tabs{display:grid;grid-template-columns:1fr 1fr}.factory-workspace-tabs button{width:100%}.factory-loading-picker{display:grid;align-items:stretch;gap:10px;margin:16px 0}.factory-loading-picker button,.factory-loading-actions button,.factory-action{width:100%;min-height:48px}.factory-loading-actions{display:grid;gap:10px}.factory-manifest>article{padding:14px}.factory-manifest li{align-items:flex-start}.factory-manifest header{flex-wrap:wrap}.factory-workspace .factory-live-hero h1{font-size:24px}.factory-tv{padding:16px 10px}.factory-tv>header{gap:10px}.factory-tv h1{font-size:24px}.factory-tv table{font-size:16px}.factory-tv footer,.factory-tv-run{flex-wrap:wrap}}.factory-arrivals{margin:18px 0;padding:16px;border:1px solid #a6c4b0;border-radius:14px;background:#e4efe7}.factory-arrivals>article{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}.factory-arrivals>article+article{border-top:1px solid #b8d0bf}.factory-arrivals>article>div{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}.factory-arrivals p{margin:5px 0}.factory-arrivals button{min-height:44px;padding:10px 16px;border:1px solid #346347;border-radius:9px;color:#234c32;background:#fffdf9;font:inherit;font-weight:700;cursor:pointer}.factory-arrivals button:disabled{opacity:.55;cursor:not-allowed}.factory-manifest .factory-arrival-time{color:#346347;font-weight:700}@media(max-width:760px){.factory-arrivals button{width:100%}}.app-update-notice{position:fixed;z-index:55;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translate(-50%);width:min(580px,calc(100% - 32px));display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid #cebea1;border-radius:14px;background:#fffbf1;color:#24241f;box-shadow:0 8px 28px #201a1626;overflow-wrap:anywhere}.app-update-notice>div{min-width:0;flex:1}.app-update-notice strong{font-size:15px;line-height:1.4}.app-update-notice p{margin:5px 0 0;font-size:13px;line-height:1.5;color:#625c50}.app-update-notice button{min-height:44px;border:1px solid #24241f;border-radius:9px;padding:10px 14px;background:#24241f;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;flex-shrink:0}.app-update-notice button:disabled{opacity:.6;cursor:default}.app-update-notice button:focus-visible{outline:3px solid #1856a4;outline-offset:3px}#root{padding-bottom:var(--app-update-space,0px)}.app-load-error{max-width:600px;margin:15vh auto;padding:24px 24px 180px;line-height:1.6}.app-load-error h1{font-size:24px}@media(max-width:480px){.app-update-notice{display:grid;gap:12px;padding:14px}.app-update-notice button{width:100%;min-height:48px}}:root{font-family:DM Sans,sans-serif;color:#211d1b;background:#f5f4f1;font-synthesis:none;text-rendering:optimizeLegibility;--red: #d62f2b;--ink: #1d1917;--muted: #716a66;--line: #e2dfda}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button{font:inherit}button:focus-visible{outline:3px solid rgba(214,47,43,.3);outline-offset:2px}.app-shell{min-height:100vh;display:flex;background:#f5f4f1}.sidebar{position:sticky;top:0;width:252px;height:100vh;flex:0 0 252px;display:flex;flex-direction:column;padding:24px 16px;color:#fff;background:#1d1917}.brand{display:flex;align-items:center;gap:12px;padding:0 6px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#fff;background:var(--red);font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.05em}.brand strong,.brand small{display:block}.brand strong{font-family:Manrope,sans-serif;font-size:15px}.brand small{margin-top:3px;color:#ffffff7a;font-size:12px}.sidebar-label{margin:38px 12px 10px;color:#ffffff59;font-size:11px;font-weight:700;letter-spacing:.14em}.role-nav{display:grid;gap:5px}.role-link{display:flex;align-items:center;gap:11px;width:100%;padding:11px 12px;border:0;border-radius:11px;color:#ffffff9e;background:transparent;cursor:pointer;text-align:left;transition:.18s ease}.role-link svg{width:18px;height:18px}.role-link:hover{color:#fff;background:#ffffff12}.role-link.active{color:#fff;background:var(--red);box-shadow:0 13px 28px #73100d4d}.demo-note{margin-top:auto;padding:15px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:#ffffff0a}.demo-note strong{font-size:13px}.demo-note p{margin:8px 0 0;color:#ffffff7a;font-size:12px;line-height:1.55}.demo-dot{display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#5fce87;box-shadow:0 0 0 4px #5fce871f}.main-area{min-width:0;flex:1}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;min-height:70px;padding:12px 34px;border-bottom:1px solid rgba(29,25,23,.08);background:#f5f4f1ed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar strong,.topbar span{display:block}.topbar>div>strong{font-size:14px}.topbar>div>span{margin-top:3px;color:var(--muted);font-size:12px}.topbar-actions{display:flex;align-items:center;gap:12px}.topbar-actions .demo-badge{margin:0;padding:6px 9px;border:1px solid #bfe5cb;border-radius:999px;color:#227343;background:#eaf8ef;font-size:10px;font-weight:800;letter-spacing:.08em}.avatar{display:grid!important;place-items:center;width:38px;height:38px;border-radius:50%;color:#fff!important;background:var(--ink);font-size:12px!important;font-weight:800}.profile-trigger{display:flex;align-items:center;gap:9px;padding:3px 8px 3px 3px;border:1px solid transparent;border-radius:12px;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.profile-trigger:hover{border-color:var(--line);background:#fff}.profile-trigger-copy strong,.profile-trigger-copy small{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger-copy strong{font-size:11px}.profile-trigger-copy small{margin-top:2px;color:var(--muted);font-size:9px}.profile-trigger>svg{width:15px;color:var(--muted)}.mobile-role-nav{display:none}.content{max-width:1460px;margin:0 auto;padding:28px 34px 36px}.hero-panel{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:32px;border-radius:25px;color:#fff;background:var(--ink);box-shadow:0 22px 55px #2c201b21}.hero-glow{position:absolute;top:-100px;right:2%;width:300px;height:260px;border-radius:50%;background:#d62f2b8c;filter:blur(72px)}.hero-copy{position:relative;max-width:720px}.eyebrow{display:inline-flex;align-items:center;gap:7px;color:#f2b654;font-size:11px;font-weight:800;letter-spacing:.15em}.eyebrow svg{width:16px;height:16px}h1,h2{margin:0;font-family:Manrope,sans-serif;letter-spacing:-.04em}.hero-copy h1{margin-top:12px;max-width:660px;font-size:clamp(31px,4vw,48px);line-height:1.08}.hero-copy p{max-width:620px;margin:13px 0 0;color:#fff9;font-size:16px;line-height:1.65}.primary-action{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:45px;padding:0 18px;border:0;border-radius:11px;color:#fff;background:var(--red);font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}.primary-action:hover{background:#bd2521}.primary-action svg{width:17px;height:17px}.metrics-grid{display:grid;gap:13px;margin-top:15px}.metrics-3{grid-template-columns:repeat(3,1fr)}.metrics-4{grid-template-columns:repeat(4,1fr)}.metric-card{display:grid;grid-template-columns:1fr auto;gap:8px 14px;padding:19px;border:1px solid var(--line);border-radius:17px;background:#fff}.metric-card strong{display:block;margin-top:7px;font-family:Manrope,sans-serif;font-size:25px;letter-spacing:-.04em}.metric-card p{grid-column:1 / -1;margin:3px 0 0;color:var(--muted);font-size:12px}.metric-label{color:var(--muted);font-size:13px;font-weight:600}.metric-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px}.metric-icon svg{width:19px;height:19px}.status-neutral{color:#5f5752;background:#efede9}.status-good{color:#28794a;background:#e8f7ed}.status-warning{color:#956010;background:#fff3d8}.status-active{color:#2867a5;background:#e8f2fd}.operations-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.65fr);gap:15px;margin-top:15px}.queue-card,.flow-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:21px 22px;border-bottom:1px solid var(--line)}.section-heading h2,.flow-heading h2{font-size:19px}.section-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.section-heading button{padding:0;border:0;color:var(--red);background:transparent;font-size:12px;font-weight:700;cursor:pointer}.queue-list{display:grid}.queue-row{display:grid;grid-template-columns:122px minmax(150px,1fr) auto 95px 18px;align-items:center;gap:13px;width:100%;min-height:70px;padding:13px 22px;border:0;border-bottom:1px solid var(--line);color:inherit;background:#fff;text-align:left;cursor:pointer;transition:background .15s}.queue-row:last-child{border-bottom:0}.queue-row:hover{background:#faf9f7}.queue-ref{color:#8b837e;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;font-weight:700}.queue-title strong,.queue-title small{display:block}.queue-title strong{font-size:13px}.queue-title small{margin-top:4px;color:var(--muted);font-size:12px}.status-pill{justify-self:start;padding:5px 8px;border-radius:7px;font-size:10px;font-weight:800;white-space:nowrap}.queue-amount{justify-self:end;font-size:12px;white-space:nowrap}.row-arrow{width:16px;height:16px;color:#aea8a3}.flow-card{padding:21px}.flow-heading{display:flex;align-items:center;justify-content:space-between}.flow-heading>strong{color:var(--red);font-size:13px}.progress-track{overflow:hidden;height:8px;margin:17px 0 22px;border-radius:999px;background:#ece9e5}.progress-track span{display:block;width:74%;height:100%;border-radius:inherit;background:var(--red)}.flow-steps{display:grid;gap:14px}.flow-step{display:grid;grid-template-columns:33px 1fr auto;align-items:center;gap:10px;font-size:12px;font-weight:600}.flow-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;color:#796f69;background:#efede9}.flow-icon.done{color:#28794a;background:#e8f7ed}.flow-icon svg{width:15px;height:15px}.location-note{display:flex;align-items:center;gap:10px;margin-top:22px;padding:13px;border-radius:12px;color:#77551e;background:#f6e5bd;font-size:11px;line-height:1.5}.location-note svg{width:18px;height:18px}.toast{position:fixed;right:24px;bottom:24px;z-index:20;max-width:min(390px,calc(100vw - 32px));padding:14px 16px;border:1px solid rgba(255,255,255,.12);border-radius:12px;color:#fff;background:#221e1c;box-shadow:0 18px 50px #00000038;font-size:13px}.order-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#14100eb3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.order-panel{overflow:hidden;width:min(1180px,100%);max-height:calc(100vh - 40px);border-radius:22px;background:#f6f5f2;box-shadow:0 35px 100px #00000059}.order-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid var(--line);background:#fff}.order-header h2{margin-top:4px;font-size:24px}.order-kicker{margin:0;color:var(--red);font-size:10px;font-weight:800;letter-spacing:.15em}.close-order{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:11px;color:#625a55;background:#fff;cursor:pointer}.close-order:hover{background:#f3f1ee}.close-order svg{width:19px;height:19px}.order-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:0;height:calc(100vh - 126px);height:calc(100dvh - 126px);overflow:hidden}.order-state{display:grid;place-items:center;align-content:center;gap:12px;min-height:420px;padding:40px;color:var(--muted);text-align:center}.order-state svg{width:28px;height:28px;color:var(--red)}.order-state-error{color:#9d2d29}.product-section{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 24px 26px}.category-tabs{display:flex;gap:7px;overflow-x:auto;margin-bottom:17px;scrollbar-width:none}.category-tabs::-webkit-scrollbar{display:none}.category-tabs button{padding:8px 12px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.category-tabs button.active{border-color:var(--ink);color:#fff;background:var(--ink)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.product-order-card{position:relative;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff;transition:border-color .15s,box-shadow .15s}.product-order-card.selected{border-color:#d62f2ba6;box-shadow:inset 0 0 0 1px #d62f2b1f}.product-code{color:#98908a;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:700}.product-order-card h3{margin:10px 0 0;font-family:Manrope,sans-serif;font-size:14px;letter-spacing:-.02em}.product-order-card>p{min-height:18px;margin:4px 0 0;color:var(--muted);font-size:11px}.product-price-row{display:flex;align-items:baseline;gap:4px;margin-top:15px}.product-price-row strong{font-family:Manrope,sans-serif;font-size:17px}.product-price-row span{color:var(--muted);font-size:10px}.quantity-control{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;height:34px;margin-top:13px;border:1px solid var(--line);border-radius:9px}.quantity-control button{display:grid;place-items:center;height:100%;border:0;color:var(--red);background:transparent;cursor:pointer}.quantity-control button:disabled{color:#c8c3bf;cursor:not-allowed}.quantity-control button:hover:not(:disabled){background:#f8eceb}.quantity-control button:first-child{border-radius:8px 0 0 8px}.quantity-control button:last-child{border-radius:0 8px 8px 0}.quantity-control svg{width:15px;height:15px}.quantity-control input{width:100%;height:100%;min-width:0;padding:0 3px;border:0;border-right:1px solid var(--line);border-left:1px solid var(--line);outline:0;background:#fff;text-align:center;font-size:13px;font-weight:800;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.quantity-control input::-webkit-outer-spin-button,.quantity-control input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.quantity-control input:focus{box-shadow:inset 0 0 0 2px #d62f2b38}.payment-mode-picker{display:grid;gap:8px;margin:15px 0 0;padding:0;border:0}.payment-mode-picker legend{margin-bottom:7px;color:#4e4743;font-size:11px;font-weight:800}.payment-mode-picker>label{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.payment-mode-picker>label.selected{border-color:#d62f2b99;background:#fff6f5}.payment-mode-picker input{margin-top:2px;accent-color:var(--red)}.payment-mode-picker span,.payment-mode-picker strong,.payment-mode-picker small{display:block}.payment-mode-picker strong{font-size:12px}.payment-mode-picker small{margin-top:2px;color:var(--muted);font-size:10px;line-height:1.4}.wallet-pending-note{margin:8px 0 0;color:#8a641d;font-size:10px}.wallet-card{margin:18px 30px;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff}.wallet-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.wallet-card h2,.wallet-card header p{margin:0}.wallet-card h2{margin-top:6px;font:800 20px Manrope,sans-serif}.wallet-card header p{margin-top:5px;color:var(--muted);font-size:12px}.wallet-layout{display:grid;grid-template-columns:.75fr 1.2fr 1.4fr;gap:15px;margin-top:18px}.wallet-balance,.wallet-topup-form,.wallet-history{padding:16px;border:1px solid var(--line);border-radius:14px;background:#faf9f7}.wallet-balance small,.wallet-balance strong{display:block}.wallet-balance>strong{margin-top:8px;font:800 25px Manrope,sans-serif}.wallet-balance p{color:var(--muted);font-size:11px}.wallet-topup-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wallet-topup-form h3,.wallet-history h3{display:flex;grid-column:1 / -1;align-items:center;gap:7px;margin:0 0 4px;font-size:13px}.wallet-topup-form h3 svg,.wallet-history h3 svg{width:16px}.wallet-topup-form label{color:var(--muted);font-size:10px;font-weight:700}.wallet-topup-form input,.wallet-request-list input{width:100%;margin-top:5px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.wallet-topup-form button{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:0;border-radius:10px;color:#fff;background:var(--red);font-weight:800;cursor:pointer}.wallet-topup-form button:disabled{opacity:.5;cursor:not-allowed}.wallet-topup-form button svg{width:16px}.wallet-history{display:grid;align-content:start;gap:9px}.wallet-history>div{display:flex;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid var(--line)}.wallet-history span strong,.wallet-history span small{display:block}.wallet-history span strong{font-size:11px}.wallet-history span small{margin-top:3px;color:var(--muted);font-size:9px}.wallet-history .credit{color:#17733c}.wallet-history .debit{color:var(--red)}.wallet-admin-page{padding:28px 30px 48px}.wallet-request-list,.wallet-account-list{display:grid;gap:10px;padding:18px}.wallet-request-list article{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(260px,.8fr);align-items:center;gap:18px;padding:15px;border:1px solid var(--line);border-radius:13px}.wallet-request-list small,.wallet-request-list span{display:block;margin-top:3px;color:var(--muted);font-size:10px}.wallet-request-list p{margin:6px 0 0;font-size:11px}.wallet-request-list article>div:last-child{display:grid;grid-template-columns:1fr auto auto;gap:7px}.wallet-request-list button{display:flex;align-items:center;gap:5px;padding:9px 11px;border-radius:9px}.wallet-request-list button svg{width:15px}.wallet-account-card{margin-top:18px}.wallet-account-list>div{display:grid;grid-template-columns:1fr 150px 150px;gap:15px;padding:12px;border-bottom:1px solid var(--line)}.wallet-account-list span strong,.wallet-account-list span small{display:block}.wallet-account-list span small{color:var(--muted);font-size:9px}@media(max-width:900px){.wallet-layout{grid-template-columns:1fr}.wallet-request-list article{grid-template-columns:1fr}.wallet-request-list article>div:last-child{grid-template-columns:1fr 1fr}.wallet-request-list input{grid-column:1 / -1}}@media(max-width:640px){.wallet-card{margin:14px 16px;padding:16px}.wallet-card>header{align-items:stretch;flex-direction:column}.wallet-topup-form{grid-template-columns:1fr}.wallet-account-list>div{grid-template-columns:1fr 1fr}.wallet-account-list>div>span:first-child{grid-column:1 / -1}}.cart-panel{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px;border-left:1px solid var(--line);background:#fff}.cart-title{display:flex;align-items:center;gap:11px}.cart-title>svg{width:19px;height:19px;color:var(--red)}.cart-title h3,.cart-title p{margin:0}.cart-title h3{font-family:Manrope,sans-serif;font-size:15px}.cart-title p{margin-top:3px;color:var(--muted);font-size:11px}.cart-lines{display:grid;gap:10px;min-height:76px;margin-top:17px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.cart-line{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;font-size:11px}.cart-line span strong,.cart-line span small{display:block}.cart-line span strong{font-size:12px}.cart-line span small{margin-top:3px;color:var(--muted)}.empty-cart{display:flex;align-items:center;gap:8px;color:#9a928c;font-size:11px}.empty-cart svg{width:17px;height:17px}.delivery-fields{display:grid;gap:12px;margin-top:15px}.delivery-fields label>span{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:#4e4743;font-size:11px;font-weight:700}.delivery-fields label>span svg{width:14px;height:14px}.delivery-fields input,.delivery-fields select,.delivery-fields textarea{width:100%;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fbfaf8;font:inherit;font-size:12px;outline:none}.delivery-fields input,.delivery-fields select{height:39px;padding:0 10px}.delivery-fields textarea{resize:vertical;min-height:68px;padding:10px}.delivery-fields input:focus,.delivery-fields select:focus,.delivery-fields textarea:focus{border-color:#d62f2ba6;box-shadow:0 0 0 3px #d62f2b14}.cart-total{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding-top:15px;border-top:1px solid var(--line);font-size:12px}.cart-total strong{font-family:Manrope,sans-serif;font-size:21px}.price-note{margin:9px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.customer-credit{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:11px 12px;border:1px solid #c9e4d2;border-radius:10px;color:#28794a;background:#edf8f1}.customer-credit span strong,.customer-credit span small{display:block}.customer-credit span strong{font-size:11px}.customer-credit span small{margin-top:3px;color:#527361;font-size:9px;line-height:1.4}.customer-credit>strong{font-family:Manrope,sans-serif;font-size:14px;white-space:nowrap}.customer-credit.cash{color:#665b54;border-color:var(--line);background:#f6f3ef}.customer-credit.warning{color:#9d2d29;border-color:#edc2bf;background:#fff0ef}.customer-credit.warning span small{color:#87524f}.credit-order-warning{display:flex;align-items:flex-start;gap:6px;margin:8px 0 0;color:#9d2d29;font-size:9px;line-height:1.45}.credit-order-warning svg{flex:0 0 auto;width:13px;height:13px}.order-error{display:flex;align-items:flex-start;gap:7px;margin:13px 0 0;padding:9px 10px;border-radius:9px;color:#9d2d29;background:#fff0ef;font-size:10px;line-height:1.5}.order-error svg{flex:0 0 auto;width:15px;height:15px}.order-submit{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:43px;margin-top:15px;border:0;border-radius:10px;color:#fff;background:var(--red);font-weight:700;cursor:pointer}.order-submit svg{width:17px;height:17px}.order-submit:hover:not(:disabled){background:#bd2521}.order-submit:disabled{color:#9d9691;background:#e5e1dc;cursor:not-allowed}.order-success{width:min(620px,100%);padding:42px;border-radius:22px;background:#fff;text-align:center;box-shadow:0 35px 100px #00000059}.success-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 17px;border-radius:19px;color:#28794a;background:#e8f7ed}.success-icon svg{width:32px;height:32px}.order-success h2{margin-top:7px;font-size:27px}.order-success>p:not(.order-kicker):not(.demo-warning){margin:10px 0 0;color:var(--muted);font-size:13px}.success-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:26px}.success-flow span{position:relative;display:grid;place-items:center;height:72px;border:1px solid var(--line);border-radius:11px;color:#a09893;background:#faf9f7;font-size:16px;font-weight:800}.success-flow span strong{display:block;margin-top:5px;font-size:9px}.success-flow span.done{border-color:#bfe5cb;color:#28794a;background:#eaf8ef}.success-flow span.active{border-color:#f2d08f;color:#966114;background:#fff5df}.demo-warning{margin:22px 0 0;padding:10px;border-radius:9px;color:#8a5911;background:#fff4db;font-size:11px}.order-success>.live-order-note{margin-top:22px;padding:10px;border-radius:9px;color:#28794a;background:#eaf8ef;font-size:11px}.order-success>.live-order-note.credit-hold-note{color:#8a5911;background:#fff4db}.order-success .order-submit{max-width:240px}.profile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:20px;background:#14100eb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.profile-panel{overflow:hidden;width:min(920px,100%);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);border-radius:22px;background:#f6f5f2;box-shadow:0 35px 100px #00000059}.profile-header{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line);background:#fff}.profile-header>div{display:flex;align-items:center;gap:12px}.profile-header>div>svg{width:22px;color:var(--red)}.profile-header small{display:block;color:var(--red);font-size:9px;font-weight:800;letter-spacing:.14em}.profile-header h2{margin-top:3px;font-size:22px}.profile-header>button,.address-form-title button{display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:#fff;cursor:pointer}.profile-header button svg,.address-form-title button svg{width:17px}.profile-body{overflow-y:auto;max-height:calc(100vh - 118px);max-height:calc(100dvh - 118px);padding:18px}.profile-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:320px;color:var(--muted);font-size:12px}.profile-message{display:flex;align-items:center;gap:8px;margin:0 0 14px;padding:10px 12px;border-radius:10px;font-size:11px}.profile-message svg{flex:0 0 auto;width:16px}.profile-message.error{color:#9d2d29;background:#fff0ef}.profile-message.success{color:#28794a;background:#eaf8ef}.profile-card{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}.profile-card+.profile-card{margin-top:16px}.profile-card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 18px;border-bottom:1px solid var(--line)}.profile-card-heading h3,.profile-card-heading p{margin:0}.profile-card-heading h3{font-family:Manrope,sans-serif;font-size:15px}.profile-card-heading p{margin-top:4px;color:var(--muted);font-size:9px}.profile-card-heading>span{padding:6px 9px;border-radius:999px;color:#28794a;background:#eaf8ef;font-size:9px;font-weight:800}.profile-card-heading>button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid var(--red);border-radius:9px;color:#fff;background:var(--red);font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.profile-card-heading>button svg{width:14px}.profile-form,.address-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px}.profile-form label,.address-form label{display:grid;gap:6px;color:#4e4743;font-size:9px;font-weight:800}.profile-form input,.address-form input{width:100%;height:41px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fbfaf8;font:inherit;font-size:11px;outline:none}.profile-form input:focus,.address-form input:focus{border-color:#d62f2ba6;box-shadow:0 0 0 3px #d62f2b14}.profile-form input:disabled{color:#8f8782;background:#efede9}.profile-wide{grid-column:1 / -1}.profile-save{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 15px;border:1px solid #28794a;border-radius:9px;color:#fff;background:#2e8a57;font-size:10px;font-weight:800;cursor:pointer}.profile-save svg{width:15px}.profile-save:disabled,.profile-card button:disabled{opacity:.5;cursor:wait}.address-list{display:grid}.address-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:13px;padding:17px 18px}.address-item+.address-item{border-top:1px solid var(--line)}.address-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:var(--red);background:#fdebea}.address-icon svg{width:17px}.address-copy>div{display:flex;align-items:center;gap:7px}.address-copy strong{font-size:12px}.address-copy em{display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border-radius:999px;color:#956010;background:#fff3d8;font-size:8px;font-style:normal;font-weight:800}.address-copy em svg{width:10px}.address-copy em.gps{color:#28794a;background:#eaf8ef}.address-copy p{margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.address-copy small{display:block;margin-top:6px;color:#77551e;font-size:9px}.address-actions{display:flex;gap:6px}.address-actions button{display:inline-flex;align-items:center;gap:5px;min-height:35px;padding:0 9px;border:1px solid var(--line);border-radius:8px;color:#5f5752;background:#fff;font-size:9px;font-weight:700;cursor:pointer;white-space:nowrap}.address-actions button svg{width:13px}.address-actions button.danger{color:#a02d29;border-color:#edc2bf}.address-form{margin:0 18px 18px;padding:16px;border:1px solid #d9c9b7;border-radius:13px;background:#fbfaf8}.address-form-title{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between}.address-form-title h4{margin:0;font-size:13px}.address-form-title button{width:32px;height:32px}.default-check{display:flex!important;grid-template-columns:18px 1fr;align-items:center}.default-check input{width:17px;height:17px}.address-form-actions{display:flex;justify-content:flex-end;gap:8px}.address-form-actions>button{min-height:42px;padding:0 15px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;font-size:10px;font-weight:800;cursor:pointer}.address-form-actions>.profile-save{color:#fff;border-color:#28794a;background:#2e8a57}.address-location{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px;border:1px dashed #cabaa9;border-radius:10px;background:#fff}.address-location span strong,.address-location span small{display:block}.address-location span strong{color:#423b37;font-size:10px}.address-location span small{margin-top:4px;color:var(--muted);font-size:9px;font-weight:500;line-height:1.45}.address-location button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid #28794a;border-radius:9px;color:#28794a;background:#f2faf5;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}.address-location button svg{width:14px}.sign-out-button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:10px;color:#625a55;background:#fff;font-size:12px;font-weight:700;cursor:pointer}.sign-out-button:hover{color:var(--red);border-color:#d62f2b59}.sign-out-button svg{width:15px;height:15px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);background:#f5f4f1}.auth-brand-panel{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:100vh;padding:clamp(42px,8vw,120px);color:#fff;background:#1d1917}.auth-brand-panel:after{content:"";position:absolute;right:-80px;bottom:-120px;width:440px;height:440px;border-radius:50%;background:#d62f2b85;filter:blur(90px)}.auth-brand-mark{position:relative;z-index:1;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--red);font-family:Manrope,sans-serif;font-size:18px;font-weight:800}.auth-brand-panel p{position:relative;z-index:1;margin:36px 0 0;color:#f2b654;font-size:11px;font-weight:800;letter-spacing:.16em}.auth-brand-panel h1{position:relative;z-index:1;max-width:650px;margin-top:13px;font-size:clamp(36px,5vw,67px);line-height:1.04}.auth-brand-panel>span:last-child{position:relative;z-index:1;margin-top:22px;color:#ffffff8c}.auth-card{align-self:center;width:min(440px,calc(100% - 48px));margin:40px auto;padding:32px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 24px 70px #2d211b1a}.auth-card-heading{display:flex;align-items:center;gap:13px;margin-bottom:25px}.auth-card-heading>svg{width:22px;height:22px;color:var(--red)}.auth-card-heading p{margin:0 0 4px;color:var(--red);font-size:10px;font-weight:800;letter-spacing:.14em}.auth-card-heading h2{font-size:24px}.auth-card form,.onboarding-form{display:grid;gap:15px}.auth-card label,.onboarding-card label{display:grid;gap:7px;color:#504944;font-size:12px;font-weight:700}.auth-card input,.onboarding-card input,.onboarding-card select{width:100%;height:43px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#fbfaf8;font:inherit;outline:none}.auth-card input:focus,.onboarding-card input:focus,.onboarding-card select:focus{border-color:#d62f2ba6;box-shadow:0 0 0 3px #d62f2b14}.auth-submit,.status-screen button{min-height:44px;border:0;border-radius:10px;color:#fff;background:var(--red);font-weight:700;cursor:pointer}.auth-submit:hover:not(:disabled),.status-screen button:hover{background:#bd2521}.auth-submit:disabled{opacity:.55;cursor:wait}.forgot-password{display:block;margin:12px auto 0;padding:6px 8px;border:0;color:#655d58;background:transparent;font-size:11px;font-weight:700;cursor:pointer}.forgot-password:hover{color:var(--red)}.auth-switch{width:100%;margin-top:17px;padding:8px;border:0;color:var(--red);background:transparent;font-size:12px;font-weight:700;cursor:pointer}.form-error,.form-success{margin:0;padding:10px 12px;border-radius:9px;font-size:11px;line-height:1.5}.form-error{color:#9f201d;background:#fdebea}.form-success{color:#247044;background:#e8f7ed}.password-rule{margin:-3px 0 0;color:var(--muted);font-size:10px;line-height:1.5}.recovery-complete{display:grid;justify-items:center;gap:15px;text-align:center}.recovery-complete>svg{width:44px;height:44px;padding:10px;border-radius:13px;color:#28794a;background:#e8f7ed}.recovery-complete p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.recovery-complete .auth-submit{width:100%}.auth-loading{grid-column:1 / -1;align-self:center;justify-self:center;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.spin{width:19px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.onboarding-shell{min-height:100vh;display:grid;place-items:center;padding:30px;background:#f5f4f1}.onboarding-card{width:min(760px,100%);padding:32px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 24px 70px #2d211b1a}.onboarding-form{grid-template-columns:repeat(2,minmax(0,1fr))}.form-wide{grid-column:1 / -1}.status-screen{min-height:100vh;display:grid;place-items:center;padding:28px;background:#f5f4f1}.status-screen section{width:min(510px,100%);padding:38px;border:1px solid var(--line);border-radius:22px;text-align:center;background:#fff;box-shadow:0 24px 70px #2d211b1a}.status-screen-icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto;border-radius:16px;color:var(--red);background:#fbe9e8}.status-screen-icon svg{width:24px}.status-screen p{margin:22px 0 8px;color:var(--red);font-size:10px;font-weight:800;letter-spacing:.14em}.status-screen h1{font-size:29px}.status-screen section>span:not(.status-screen-icon){display:block;margin-top:13px;color:var(--muted);font-size:14px;line-height:1.65}.status-screen button{min-width:150px;margin-top:23px;padding:0 17px}.admin-orders{display:grid;gap:18px}.admin-live-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;min-height:230px;padding:38px 42px;border-radius:25px;color:#fff;background:linear-gradient(125deg,#1e1a18 58%,#6c211f)}.admin-live-hero:after{content:"";position:absolute;right:-70px;bottom:-130px;width:360px;height:360px;border-radius:50%;background:#d62f2b6b;filter:blur(70px)}.admin-live-hero>*{position:relative;z-index:1}.admin-live-hero .eyebrow{color:#f1ad3d}.admin-live-hero h1{max-width:760px;margin-top:14px;font-size:clamp(36px,5vw,62px);line-height:1.04}.admin-live-hero p{max-width:680px;margin:17px 0 0;color:#fff9;font-size:15px;line-height:1.6}.admin-live-value{flex:0 0 auto;min-width:210px;padding:18px 20px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:#ffffff12;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.admin-live-value span,.admin-live-value strong{display:block}.admin-live-value span{color:#ffffff8f;font-size:11px}.admin-live-value strong{margin-top:7px;font-family:Manrope,sans-serif;font-size:28px}.admin-order-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff}.admin-order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--line)}.admin-order-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.admin-order-tabs button,.refresh-orders{min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.admin-order-tabs button.active{border-color:var(--ink);color:#fff;background:var(--ink)}.refresh-orders{display:inline-flex;align-items:center;gap:6px;color:var(--ink)}.refresh-orders svg{width:14px;height:14px}.admin-order-message{display:flex;align-items:center;gap:8px;margin:14px 18px 0;padding:10px 12px;border-radius:10px;font-size:11px}.admin-order-message svg{width:16px;height:16px}.admin-order-message.error{color:#9d2d29;background:#fff0ef}.admin-order-message.success{color:#28794a;background:#eaf8ef}.admin-order-empty{display:grid;place-items:center;align-content:center;gap:11px;min-height:260px;padding:40px;color:var(--muted);font-size:12px}.admin-order-empty svg{width:27px;height:27px;color:var(--red)}.admin-order-row+.admin-order-row{border-top:1px solid var(--line)}.admin-order-summary{display:grid;grid-template-columns:138px minmax(210px,1fr) 160px 105px 115px 18px;align-items:center;gap:14px;width:100%;padding:17px 20px;border:0;color:var(--ink);background:#fff;text-align:left;cursor:pointer}.admin-order-summary:hover{background:#fbfaf8}.admin-order-summary>svg{width:16px;color:var(--muted)}.admin-order-ref strong,.admin-order-ref small,.admin-order-total strong,.admin-order-total small{display:block}.admin-order-ref strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.admin-order-ref small,.admin-order-total small{margin-top:4px;color:var(--muted);font-size:10px}.admin-order-customer,.admin-order-date{display:flex;align-items:center;gap:9px}.admin-order-customer>svg,.admin-order-date>svg{flex:0 0 auto;width:18px;color:var(--red)}.admin-order-customer span strong,.admin-order-customer span small,.admin-order-date span strong,.admin-order-date span small{display:block}.admin-order-customer span strong,.admin-order-date span strong{font-size:12px}.admin-order-customer span small,.admin-order-date span small{margin-top:3px;color:var(--muted);font-size:10px}.admin-status{justify-self:start;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:800}.admin-status.submitted{color:#966114;background:#fff2d2}.admin-status.confirmed{color:#28794a;background:#e7f6ec}.admin-status.cancelled{color:#9d2d29;background:#fdebea}.admin-status.credit-hold{color:#fff;background:#a82c28}.admin-order-total{text-align:right}.admin-order-total strong{font-family:Manrope,sans-serif;font-size:14px}.admin-order-details{padding:0 20px 20px;background:#fbfaf8;border-top:1px solid var(--line)}.admin-order-items{padding:18px 0}.admin-order-details h3{margin:0 0 10px;font-size:12px}.admin-order-items>div{display:grid;grid-template-columns:minmax(220px,1fr) 140px 100px;gap:16px;padding:9px 0;border-top:1px solid var(--line);font-size:11px}.admin-order-items>div span strong,.admin-order-items>div span small{display:block}.admin-order-items>div span small{margin-top:3px;color:var(--muted);font-size:9px}.admin-order-items>div>strong{text-align:right}.admin-order-info{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-order-info>div{padding:14px;border:1px solid var(--line);border-radius:11px;background:#fff}.admin-order-info p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.order-credit-card{display:grid;grid-template-columns:minmax(180px,.55fr) 1fr;align-items:center;gap:14px;margin-top:14px;padding:14px;border:1px solid #c9e4d2;border-radius:11px;color:#28794a;background:#edf8f1}.order-credit-card.hold{border-color:#edc2bf;color:#9d2d29;background:#fff0ef}.order-credit-title{display:flex;align-items:center;gap:9px}.order-credit-title>svg{flex:0 0 auto;width:19px;height:19px}.order-credit-title span strong,.order-credit-title span small{display:block}.order-credit-title span strong{font-size:11px}.order-credit-title span small{margin-top:3px;color:var(--muted);font-size:9px}.order-credit-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.order-credit-metrics span{padding-left:10px;border-left:1px solid rgba(40,121,74,.18)}.order-credit-card.hold .order-credit-metrics span{border-color:#9d2d292e}.order-credit-metrics small,.order-credit-metrics strong{display:block}.order-credit-metrics small{color:var(--muted);font-size:8px}.order-credit-metrics strong{margin-top:4px;color:var(--ink);font-size:10px}.order-credit-card>p{grid-column:1 / -1;margin:0;font-size:10px;line-height:1.45}.order-credit-card>p.credit-released{display:flex;align-items:center;gap:6px;color:#28794a}.order-credit-card>p.credit-released svg{width:14px;height:14px}.admin-review{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:16px;margin-top:15px;padding-top:15px;border-top:1px solid var(--line)}.admin-review label{color:#4e4743;font-size:10px;font-weight:700}.admin-review textarea{width:100%;min-height:60px;margin-top:6px;padding:9px 10px;resize:vertical;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit;font-size:11px;outline:none}.admin-review textarea:focus{border-color:#d62f2ba6;box-shadow:0 0 0 3px #d62f2b14}.admin-review>div{display:flex;gap:8px}.admin-review button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 13px;border-radius:9px;font-size:11px;font-weight:800;cursor:pointer}.admin-review button svg{width:15px;height:15px}.cancel-order{border:1px solid #edc2bf;color:#a02d29;background:#fff}.confirm-order{border:1px solid var(--red);color:#fff;background:var(--red)}.release-credit{border:1px solid #996115;color:#fff;background:#aa711a}.admin-review button:disabled{opacity:.55;cursor:wait}.admin-workspace{display:grid;gap:14px}.admin-workspace-nav{display:inline-flex;justify-self:start;gap:7px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#fff}.admin-workspace-nav button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:0;border-radius:8px;color:var(--muted);background:transparent;font-size:11px;font-weight:800;cursor:pointer}.admin-workspace-nav button svg{width:15px;height:15px}.admin-workspace-nav button.active{color:#fff;background:var(--ink)}.user-management{display:grid;gap:18px}.users-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;min-height:215px;padding:36px 40px;border-radius:24px;color:#fff;background:linear-gradient(125deg,#1e1a18 56%,#70221f)}.users-hero:after{content:"";position:absolute;right:-70px;bottom:-150px;width:360px;height:360px;border-radius:50%;background:#d62f2b6b;filter:blur(70px)}.users-hero>*{position:relative;z-index:1}.users-hero .eyebrow{color:#f1ad3d}.users-hero h1{margin-top:13px;font-size:clamp(34px,4.6vw,55px)}.users-hero p{max-width:650px;margin:15px 0 0;color:#ffffffa3;font-size:13px;line-height:1.6}.users-hero-metrics{flex:0 0 auto;display:grid;grid-template-columns:repeat(2,minmax(105px,1fr));gap:8px}.users-hero-metrics span{padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.users-hero-metrics small,.users-hero-metrics strong{display:block}.users-hero-metrics small{color:#fff9;font-size:9px}.users-hero-metrics strong{margin-top:6px;font-family:Manrope,sans-serif;font-size:26px}.staff-create-card{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff}.staff-create-card.open{border-color:#d9c9b7;box-shadow:0 12px 34px #32241c0f}.staff-create-card>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px}.staff-create-card>header>div{display:flex;align-items:center;gap:12px}.staff-create-card>header>div>span{display:grid;place-items:center;width:41px;height:41px;border-radius:11px;color:var(--red);background:#fdebea}.staff-create-card>header svg{width:17px;height:17px}.staff-create-card h2{font-size:15px}.staff-create-card header p{margin:4px 0 0;color:var(--muted);font-size:9px}.staff-create-card>header>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:0 12px;border:1px solid var(--red);border-radius:9px;color:#fff;background:var(--red);font-size:10px;font-weight:800;cursor:pointer}.staff-create-card.open>header>button{border-color:var(--line);color:var(--muted);background:#fff}.staff-create-form{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));align-items:end;gap:12px;padding:17px 19px 20px;border-top:1px solid var(--line);background:#fbfaf8}.staff-create-form label{color:#4e4743;font-size:9px;font-weight:800}.staff-create-form input,.staff-create-form select{width:100%;height:41px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font:inherit;font-size:10px;outline:0}.staff-create-form input:focus,.staff-create-form select:focus{border-color:#d62f2ba6;box-shadow:0 0 0 3px #d62f2b14}.staff-password{grid-column:span 2}.staff-password>div{display:grid;grid-template-columns:1fr 41px 41px;margin-top:6px}.staff-password>div input{min-width:0;margin-top:0;border-radius:9px 0 0 9px}.staff-password>div button{display:grid;place-items:center;border:1px solid var(--line);border-left:0;color:var(--muted);background:#fff;cursor:pointer}.staff-password>div button:last-child{border-radius:0 9px 9px 0}.staff-password>div svg{width:15px;height:15px}.staff-password>small{display:block;margin-top:5px;color:var(--muted);font-size:8px;font-weight:500}.create-staff-submit{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:41px;padding:0 14px;border:1px solid #28794a;border-radius:9px;color:#fff;background:#2e8a57;font-size:10px;font-weight:800;cursor:pointer}.create-staff-submit svg{width:15px;height:15px}.create-staff-submit:disabled{opacity:.55;cursor:wait}.staff-credentials{display:grid;grid-template-columns:minmax(180px,.7fr) 1fr 1fr;align-items:center;gap:12px;margin:0 19px 19px;padding:15px;border:1px solid #bde2c9;border-radius:12px;background:#eaf7ef}.staff-credentials strong,.staff-credentials small{display:block}.staff-credentials>div strong{color:#28794a;font-size:11px}.staff-credentials>div small{margin-top:4px;color:#4c725c;font-size:9px}.staff-credentials>span{position:relative;min-width:0;padding:10px 74px 10px 11px;border:1px solid rgba(40,121,74,.18);border-radius:9px;background:#fff}.staff-credentials>span small{color:var(--muted);font-size:8px}.staff-credentials>span strong{overflow:hidden;margin-top:3px;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.staff-credentials>span button{position:absolute;top:50%;right:7px;display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:0 7px;transform:translateY(-50%);border:0;border-radius:7px;color:#28794a;background:#eaf7ef;font-size:8px;font-weight:800;cursor:pointer}.staff-credentials>span button svg{width:12px;height:12px}.staff-credentials>p{grid-column:1 / -1;margin:0;color:#4c725c;font-size:8px}.users-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff}.users-toolbar{display:flex;align-items:center;gap:10px;padding:16px 18px;border-bottom:1px solid var(--line)}.users-search{flex:1 1 230px;display:flex;align-items:center;gap:8px;min-width:180px;height:39px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:#fbfaf8}.users-search svg{flex:0 0 auto;width:15px;color:var(--muted)}.users-search input{width:100%;border:0;outline:0;color:var(--ink);background:transparent;font:inherit;font-size:10px}.users-list{display:grid}.user-row{display:grid;grid-template-columns:minmax(210px,1.2fr) auto minmax(210px,1fr) auto;align-items:center;gap:15px;padding:18px 20px}.user-row+.user-row{border-top:1px solid var(--line)}.user-identity{display:flex;align-items:center;min-width:0;gap:11px}.user-identity>span{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#fff;background:var(--ink);font-family:Manrope,sans-serif;font-size:14px;font-weight:800}.user-identity strong,.user-identity small,.user-business strong,.user-business small{display:block;overflow:hidden;text-overflow:ellipsis}.user-identity strong,.user-business strong{font-size:11px}.user-identity small,.user-business small{margin-top:4px;color:var(--muted);font-size:9px;white-space:nowrap}.user-status{padding:5px 8px;border-radius:999px;font-size:8px;font-weight:800;white-space:nowrap}.user-status.pending{color:#996115;background:#fff1cf}.user-status.active{color:#28794a;background:#e5f5eb}.user-status.suspended{color:#9d2d29;background:#fdebea}.user-business{min-width:0}.user-business em{display:inline-block;margin-top:6px;color:var(--red);font-size:8px;font-style:normal;font-weight:800}.user-meta{display:flex;justify-content:flex-end;gap:16px}.user-meta span{text-align:right}.user-meta small,.user-meta strong{display:block;white-space:nowrap}.user-meta small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.04em}.user-meta strong{margin-top:4px;font-size:9px}.user-review{grid-column:1 / -1;display:grid;grid-template-columns:minmax(150px,.35fr) minmax(230px,1fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #e5dfd8;border-radius:12px;background:#fbfaf8}.user-review label{color:#4e4743;font-size:9px;font-weight:800}.user-review select,.user-review input{width:100%;height:39px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font:inherit;font-size:10px;outline:0}.user-review select:focus,.user-review input:focus{border-color:#d62f2ba6;box-shadow:0 0 0 3px #d62f2b14}.user-review>div{display:flex;justify-content:flex-end;gap:7px}.user-review button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:0 11px;border-radius:9px;font-size:9px;font-weight:800;cursor:pointer}.user-review button svg{width:14px;height:14px}.approve-user,.save-user-role{border:1px solid #28794a;color:#fff;background:#2e8a57}.suspend-user{border:1px solid #edc2bf;color:#a02d29;background:#fff}.user-review button:disabled{opacity:.5;cursor:not-allowed}.credit-settings{grid-column:1 / -1;display:grid;grid-template-columns:minmax(210px,1fr) 150px 150px auto;align-items:end;gap:12px;padding:14px;border:1px solid #d8e7de;border-radius:12px;background:#f3faf6}.credit-settings-title{display:flex;align-items:center;gap:9px;color:#28794a}.credit-settings-title>svg{flex:0 0 auto;width:18px;height:18px}.credit-settings-title strong,.credit-settings-title small{display:block}.credit-settings-title strong{font-size:10px}.credit-settings-title small{margin-top:3px;color:#577061;font-size:8px;line-height:1.4}.credit-settings label{color:#4e4743;font-size:9px;font-weight:800}.credit-settings input{width:100%;height:39px;margin-top:6px;padding:0 10px;border:1px solid #cddbd2;border-radius:9px;color:var(--ink);background:#fff;font:inherit;font-size:10px;outline:0}.credit-settings input:focus{border-color:#28794aa6;box-shadow:0 0 0 3px #28794a14}.credit-settings>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:39px;padding:0 12px;border:1px solid #28794a;border-radius:9px;color:#fff;background:#2e8a57;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}.credit-settings>button svg{width:14px;height:14px}.credit-settings>button:disabled{opacity:.5;cursor:wait}.user-protected,.user-last-note{grid-column:1 / -1;margin:0;color:var(--muted);font-size:9px}.user-protected{display:flex;align-items:center;gap:6px;padding:10px 12px;border-radius:9px;background:#f4f1ed}.user-protected svg{width:14px}.user-last-note{padding-top:2px;font-style:italic}.stock-inventory{display:grid;gap:18px}.stock-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;min-height:230px;padding:38px 42px;border-radius:25px;color:#fff;background:linear-gradient(125deg,#1e1a18 55%,#264f42)}.stock-hero:after{content:"";position:absolute;right:-80px;bottom:-150px;width:390px;height:390px;border-radius:50%;background:#39a16c57;filter:blur(74px)}.stock-hero>*{position:relative;z-index:1}.stock-hero .eyebrow{color:#f1ad3d}.stock-hero h1{max-width:710px;margin-top:14px;font-size:clamp(36px,5vw,58px);line-height:1.04}.stock-hero p{max-width:680px;margin:17px 0 0;color:#ffffffa3;font-size:14px;line-height:1.6}.stock-hero-metrics{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:8px}.stock-hero-metrics span{padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.stock-hero-metrics small,.stock-hero-metrics strong{display:block}.stock-hero-metrics small{color:#ffffff94;font-size:9px;white-space:nowrap}.stock-hero-metrics strong{margin-top:7px;font-family:Manrope,sans-serif;font-size:25px}.stock-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff}.stock-card-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid var(--line)}.stock-card-header h2{font-size:17px}.stock-card-header p{margin:4px 0 0;color:var(--muted);font-size:10px}.stock-row{display:grid;grid-template-columns:minmax(210px,1fr) repeat(4,78px) 115px;align-items:center;gap:15px;padding:16px 20px}.stock-row+.stock-row{border-top:1px solid var(--line)}.stock-row.editing{background:#fbfaf8}.stock-product strong,.stock-product small,.stock-number strong,.stock-number small{display:block}.stock-product strong{font-size:12px}.stock-product small{margin-top:4px;color:var(--muted);font-size:9px}.stock-number{text-align:right}.stock-number small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.06em}.stock-number strong{margin-top:4px;font-family:Manrope,sans-serif;font-size:16px}.stock-number.available strong{color:#28794a}.stock-number.reserved strong{color:#966114}.stock-number.shortage.active strong{color:var(--red)}.stock-edit-button,.stock-cancel,.stock-save{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:37px;padding:0 10px;border-radius:9px;font-size:10px;font-weight:800;cursor:pointer}.stock-edit-button{border:1px solid var(--line);color:var(--ink);background:#fff}.stock-edit-button svg,.stock-cancel svg,.stock-save svg{width:14px;height:14px}.stock-adjustment-form{grid-column:1 / -1;display:grid;grid-template-columns:minmax(160px,.45fr) minmax(240px,1fr) auto;align-items:end;gap:12px;padding:15px;border:1px solid #ddd8d2;border-radius:12px;background:#fff}.stock-adjustment-form label{color:#4e4743;font-size:10px;font-weight:700}.stock-adjustment-form input{width:100%;height:39px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fbfaf8;font:inherit;font-size:11px;outline:none}.stock-adjustment-form input:focus{border-color:#2e8a57a6;box-shadow:0 0 0 3px #2e8a5717}.stock-adjustment-form>div{display:flex;gap:7px}.stock-cancel{border:1px solid var(--line);color:var(--muted);background:#fff}.stock-save{border:1px solid #28794a;color:#fff;background:#2e8a57}.stock-cancel:disabled,.stock-save:disabled{opacity:.55;cursor:wait}.product-settings{display:grid;gap:18px}.product-settings-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:205px;padding:35px 40px;border-radius:24px;color:#fff;background:linear-gradient(125deg,#1e1a18 58%,#792522)}.product-settings-hero:after{content:"";position:absolute;right:-70px;bottom:-150px;width:360px;height:360px;border-radius:50%;background:#d62f2b6b;filter:blur(70px)}.product-settings-hero>*{position:relative;z-index:1}.product-settings-hero .eyebrow{color:#f1ad3d}.product-settings-hero h1{margin-top:13px;font-size:clamp(34px,4.6vw,55px)}.product-settings-hero p{max-width:650px;margin:15px 0 0;color:#ffffff9e;font-size:13px;line-height:1.6}.refresh-orders.inverted{border-color:#ffffff2e;color:#fff;background:#ffffff17}.settings-loading{border:1px solid var(--line);border-radius:18px;background:#fff}.product-settings-list{display:grid;gap:11px}.product-setting-row{display:grid;grid-template-columns:48px minmax(250px,1fr) minmax(340px,auto) 105px 82px;align-items:center;gap:15px;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 9px 25px #32241c0b}.product-setting-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;color:#7a6657;background:#f5eee3}.product-setting-icon svg{width:20px;height:20px}.product-setting-copy>strong{display:block;font-size:13px}.product-setting-copy>strong small{color:var(--muted);font-size:10px;font-weight:500}.product-setting-copy p{margin:5px 0 0;color:var(--muted);font-size:10px}.product-setting-copy em{display:inline-block;margin-top:7px;padding:4px 8px;border-radius:999px;color:#fff;background:var(--red);font-size:8px;font-style:normal;font-weight:800}.product-price-pills{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.product-price-pills span,.product-price-pills strong{padding:6px 10px;border:1px solid #ded6cc;border-radius:999px;font-size:9px;white-space:nowrap}.product-price-pills strong{border-color:var(--red);color:#fff;background:var(--red)}.product-active-toggle{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;border:0;color:var(--muted);background:transparent;font-size:10px;font-weight:700;cursor:pointer}.product-active-toggle i{position:relative;width:33px;height:19px;border-radius:999px;background:#ddd4c8}.product-active-toggle i:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:transform .18s ease}.product-active-toggle.active{color:var(--ink)}.product-active-toggle.active i{background:var(--red)}.product-active-toggle.active i:after{transform:translate(14px)}.product-edit{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font-size:10px;font-weight:800;cursor:pointer}.product-edit svg{width:14px;height:14px}.contract-price-card{padding:24px;border:1px solid var(--line);border-radius:19px;background:#fff}.contract-price-card header h2{font-size:18px}.contract-price-card header p{margin:6px 0 0;color:var(--muted);font-size:11px}.contract-price-form{display:grid;grid-template-columns:minmax(230px,1.2fr) minmax(190px,.9fr) 170px auto;align-items:end;gap:12px;margin-top:20px}.contract-price-form label{color:#4e4743;font-size:10px;font-weight:700}.contract-price-form select,.contract-price-form input{width:100%;height:40px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fbfaf8;font:inherit;font-size:10px}.contract-price-form>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 13px;border:0;border-radius:9px;color:#fff;background:var(--red);font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.contract-price-form>button:disabled{opacity:.45;cursor:not-allowed}.contract-price-form>button svg{width:14px}.contract-price-list{display:grid;gap:8px;margin-top:18px}.contract-price-list>p{color:var(--muted);font-size:11px}.contract-price-list>div{display:grid;grid-template-columns:1fr auto 34px;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:11px}.contract-price-list span strong,.contract-price-list span small{display:block}.contract-price-list span strong{font-size:11px}.contract-price-list span small{margin-top:3px;color:var(--muted);font-size:9px}.contract-price-list>div>strong{color:var(--red);font-size:13px}.contract-price-list button{display:grid;place-items:center;width:32px;height:32px;border:0;color:#766c66;background:transparent;cursor:pointer}.contract-price-list button svg{width:15px}.product-edit-overlay{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:25px;background:#14110fa8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.product-edit-panel{width:min(720px,100%);max-height:calc(100vh - 50px);overflow-y:auto;border-radius:21px;background:#fff;box-shadow:0 30px 100px #0000004d}.product-edit-panel header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px;border-bottom:1px solid var(--line)}.product-edit-panel header p{margin:0 0 5px;color:var(--red);font-size:9px;font-weight:800;letter-spacing:.13em}.product-edit-panel header h2{font-size:22px}.product-edit-panel header button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;cursor:pointer}.product-edit-panel header button svg{width:17px}.product-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:22px 24px}.product-edit-fields label{color:#4e4743;font-size:10px;font-weight:700}.product-edit-fields label.wide{grid-column:1 / -1}.product-edit-fields input:not([type=checkbox]),.product-edit-fields textarea{width:100%;margin-top:6px;padding:0 11px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fbfaf8;font:inherit;font-size:11px;outline:none}.product-edit-fields input:not([type=checkbox]){height:40px}.product-edit-fields textarea{min-height:70px;padding-top:10px;resize:vertical}.product-edit-fields input:focus,.product-edit-fields textarea:focus{border-color:#d62f2b99;box-shadow:0 0 0 3px #d62f2b14}.product-edit-active{display:flex;align-items:center;gap:8px;min-height:40px}.product-edit-active input{accent-color:var(--red)}.product-edit-panel footer{display:flex;justify-content:flex-end;gap:8px;padding:17px 24px;border-top:1px solid var(--line);background:#fbfaf8}.product-edit-panel footer button{min-width:105px}.factory-jobs{display:grid;gap:18px}.factory-live-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;min-height:230px;padding:38px 42px;border-radius:25px;color:#fff;background:linear-gradient(125deg,#1e1a18 55%,#25583f)}.factory-live-hero:after{content:"";position:absolute;right:-70px;bottom:-140px;width:370px;height:370px;border-radius:50%;background:#38a16961;filter:blur(72px)}.factory-live-hero>*{position:relative;z-index:1}.factory-live-hero .eyebrow{color:#f1ad3d}.factory-live-hero h1{max-width:760px;margin-top:14px;font-size:clamp(36px,5vw,62px);line-height:1.04}.factory-live-hero p{max-width:680px;margin:17px 0 0;color:#ffffffa3;font-size:15px;line-height:1.6}.factory-live-metrics{flex:0 0 auto;display:grid;grid-template-columns:repeat(2,minmax(105px,1fr));gap:9px}.factory-live-metrics span{padding:17px 18px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.factory-live-metrics small,.factory-live-metrics strong{display:block}.factory-live-metrics small{color:#ffffff94;font-size:10px}.factory-live-metrics strong{margin-top:7px;font-family:Manrope,sans-serif;font-size:27px}.factory-job-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff}.factory-job-row{display:grid;grid-template-columns:150px minmax(185px,1.2fr) minmax(145px,.9fr) 145px 68px 96px 132px;align-items:center;gap:14px;padding:17px 20px}.factory-job-row+.factory-job-row{border-top:1px solid var(--line)}.factory-job-row:hover{background:#fbfaf8}.factory-job-ref strong,.factory-job-ref small,.factory-job-product strong,.factory-job-product small,.factory-job-customer strong,.factory-job-customer small,.factory-job-date strong,.factory-job-date small,.factory-job-quantity strong,.factory-job-quantity small{display:block}.factory-job-ref strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.factory-job-ref small,.factory-job-product small,.factory-job-customer small,.factory-job-date small,.factory-job-quantity small{margin-top:4px;color:var(--muted);font-size:9px}.factory-job-product strong,.factory-job-customer strong,.factory-job-date strong{font-size:11px}.factory-job-quantity{text-align:right}.factory-job-quantity strong{font-family:Manrope,sans-serif;font-size:17px}.factory-status{justify-self:start;padding:6px 9px;border-radius:999px;font-size:9px;font-weight:800;white-space:nowrap}.factory-status.queued{color:#966114;background:#fff2d2}.factory-status.in_progress{color:#245e8c;background:#e6f2fb}.factory-status.qc{color:#7445a4;background:#f1eafa}.factory-status.completed{color:#28794a;background:#e7f6ec}.factory-status.cancelled{color:#9d2d29;background:#fdebea}.factory-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:37px;padding:0 11px;border:1px solid #26774a;border-radius:9px;color:#fff;background:#2e8a57;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.factory-action svg,.factory-complete svg{width:14px;height:14px}.factory-action:disabled{opacity:.55;cursor:wait}.factory-complete{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#28794a;font-size:10px;font-weight:800}.delivery-dispatch,.driver-workspace,.finance-ledger{display:grid;gap:18px}.delivery-hero,.driver-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;min-height:215px;padding:36px 40px;border-radius:24px;color:#fff;background:linear-gradient(125deg,#1e1a18 55%,#7d2522)}.driver-hero{background:linear-gradient(125deg,#1e1a18 55%,#25583f)}.delivery-hero:after,.driver-hero:after{content:"";position:absolute;right:-70px;bottom:-145px;width:370px;height:370px;border-radius:50%;background:#d62f2b61;filter:blur(72px)}.driver-hero:after{background:#38a16961}.delivery-hero>*,.driver-hero>*{position:relative;z-index:1}.delivery-hero .eyebrow,.driver-hero .eyebrow{color:#f1ad3d}.delivery-hero h1,.driver-hero h1{margin-top:14px;font-size:clamp(35px,4.7vw,58px);line-height:1.04}.delivery-hero p,.driver-hero p{max-width:710px;margin:16px 0 0;color:#ffffffa3;font-size:14px;line-height:1.6}.dispatch-planner,.delivery-runs,.driver-run,.driver-empty{border:1px solid var(--line);border-radius:19px;background:#fff}.dispatch-planner{overflow:hidden}.dispatch-planner>header,.delivery-runs>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line)}.dispatch-planner>header h2,.delivery-runs>header h2{font-size:18px}.dispatch-planner>header p,.delivery-runs>header p{margin:5px 0 0;color:var(--muted);font-size:10px}.dispatch-planner>header>strong{color:var(--red);font-size:11px}.ready-order-list{display:grid}.ready-order{display:grid;grid-template-columns:24px minmax(170px,.75fr) minmax(250px,1.4fr) 100px;align-items:center;gap:15px;padding:16px 22px;border-bottom:1px solid var(--line);cursor:pointer}.ready-order:hover,.ready-order.selected{background:#fff9f7}.ready-order input{width:16px;height:16px;accent-color:var(--red)}.ready-order span>strong,.ready-order span>small{display:block}.ready-order span>strong{font-size:11px}.ready-order span>small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45}.ready-order>span:nth-child(3){display:grid;grid-template-columns:16px 1fr;column-gap:7px}.ready-order>span:nth-child(3) svg{grid-row:1 / span 2;width:15px;color:var(--red)}.ready-order-total{text-align:right}.route-sequence{border-top:10px solid #f6f3ef;border-bottom:1px solid var(--line)}.route-sequence>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 22px;background:#fff}.route-sequence h3,.route-sequence p{margin:0}.route-sequence h3{font-size:14px}.route-sequence p{margin-top:4px;color:var(--muted);font-size:9px}.route-sequence>header>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid #28794a;border-radius:9px;color:#28794a;background:#f2faf5;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}.route-sequence>header>button svg{width:14px}.route-sequence>header>button:disabled{opacity:.5;cursor:not-allowed}.route-sequence>div{display:grid;border-top:1px solid var(--line)}.route-sequence article{display:grid;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:11px 22px}.route-sequence article+article{border-top:1px solid var(--line)}.route-sequence article>b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#fff;background:#1e1a18;font-size:9px}.route-sequence article>span>strong,.route-sequence article>span>small{display:block}.route-sequence article>span>strong{font-size:10px}.route-sequence article>span>small{margin-top:3px;color:var(--muted);font-size:8px}.route-sequence article>em{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border-radius:999px;font-size:8px;font-style:normal;font-weight:800;white-space:nowrap}.route-sequence article>em svg{width:11px}.route-sequence article>em.located{color:#28794a;background:#eaf8ef}.route-sequence article>em.missing{color:#966114;background:#fff2d2}.route-move{display:flex;gap:4px}.route-move button{display:grid;place-items:center;width:32px;height:32px;border:1px solid var(--line);border-radius:8px;color:#514943;background:#fff;cursor:pointer}.route-move button svg{width:14px}.route-move button:disabled{opacity:.28;cursor:not-allowed}.dispatch-form{display:grid;grid-template-columns:160px minmax(200px,1fr) 180px auto;align-items:end;gap:12px;padding:20px 22px;background:#fbfaf8}.dispatch-form label,.delivery-proof-form label{color:#514943;font-size:9px;font-weight:800}.dispatch-form input,.dispatch-form select,.delivery-proof-form input,.failure-note input{width:100%;height:40px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font:inherit;font-size:10px;outline:none}.dispatch-form button,.delivery-run-head>button,.driver-run>header>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border:0;border-radius:9px;color:#fff;background:var(--red);font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.dispatch-form button svg,.delivery-run-head>button svg,.driver-run>header>button svg{width:14px}.dispatch-form button:disabled,.delivery-run-head>button:disabled,.driver-run>header>button:disabled{opacity:.45;cursor:not-allowed}.dispatch-hint{display:flex;align-items:center;gap:8px;margin:0;padding:0 22px 20px;color:#966114;background:#fbfaf8;font-size:10px}.dispatch-hint svg{width:16px}.delivery-runs{overflow:hidden}.delivery-run+.delivery-run{border-top:10px solid #f6f3ef}.delivery-run-head{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,.8fr) 115px 120px auto;align-items:center;gap:14px;padding:17px 20px}.delivery-run-head span>strong,.delivery-run-head span>small{display:block}.delivery-run-head span>strong{font-size:11px}.delivery-run-head span>small{margin-top:4px;color:var(--muted);font-size:9px}.delivery-status{justify-self:start;padding:6px 9px;border-radius:999px;font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.delivery-status.planned{color:#966114;background:#fff2d2}.delivery-status.loading{color:#245e8c;background:#e6f2fb}.delivery-status.out_for_delivery{color:#7445a4;background:#f1eafa}.delivery-status.completed{color:#28794a;background:#e7f6ec}.delivery-status.cancelled{color:#9d2d29;background:#fdebea}.delivery-stop-list{border-top:1px solid var(--line);background:#fbfaf8}.delivery-stop-list>div{display:grid;grid-template-columns:28px minmax(210px,1fr) 100px 90px auto;align-items:center;gap:12px;padding:13px 20px}.delivery-stop-list>div+div{border-top:1px solid var(--line)}.delivery-stop-list b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;color:#fff;background:#1e1a18;font-size:9px}.delivery-stop-list span strong,.delivery-stop-list span small{display:block}.delivery-stop-list span strong{font-size:10px}.delivery-stop-list span small{margin-top:3px;color:var(--muted);font-size:8px}.delivery-stop-list em{justify-self:end;font-size:9px;font-style:normal;font-weight:800}.delivery-stop-list em.delivered{color:#28794a}.delivery-stop-list em.failed{color:var(--red)}.delivery-stop-list .sales-document-actions{justify-self:end;padding:0}.delivery-stop-list .sales-document-buttons{gap:0}.delivery-stop-list .sales-document-buttons button{min-height:36px;padding:8px 10px;font-size:9px}.driver-run{overflow:hidden}.driver-stop-list{display:grid}.driver-stop{display:grid;grid-template-columns:38px minmax(260px,1fr) minmax(160px,auto);align-items:start;gap:15px;padding:20px}.driver-stop+.driver-stop{border-top:1px solid var(--line)}.driver-stop>b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;color:#fff;background:#1e1a18;font-size:11px}.driver-stop.delivered>b{background:#2e8a57}.driver-stop.failed>b{background:var(--red)}.driver-stop-main h2{font-size:15px}.driver-stop-main>p{margin:5px 0 0;color:var(--muted);font-size:10px}.driver-stop-main .driver-cod-badge{display:inline-flex;align-items:center;gap:5px;margin-top:9px;padding:6px 9px;border-radius:999px;color:#8a5510;background:#fff0c9;font-size:10px;font-weight:700}.next-stop{box-shadow:inset 4px 0 #2e8a57;background:#fbfffc}.next-stop-label{display:inline-block;margin-bottom:7px;color:#28794a;font-size:8px;font-weight:900;letter-spacing:.12em}.driver-contact-actions{display:flex;align-items:stretch;gap:8px;margin-top:11px}.driver-address{display:flex;align-items:flex-start;gap:6px;margin:11px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.driver-address svg{width:14px;flex:0 0 auto;color:var(--red)}.driver-contact-actions a{display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 10px;border:1px solid #cce0ed;border-radius:9px;color:#245e8c;background:#f4f9fc;font-size:10px;font-weight:700;line-height:1.4;text-decoration:none}.driver-contact-actions a:first-child{flex:1}.driver-contact-actions a svg{width:14px;flex:0 0 auto}.driver-contact-actions a svg:last-child{margin-left:auto}.driver-contact-actions .driver-phone{flex:0 0 auto;border-color:#c9e5d5;color:#28794a;background:#f2faf5}.driver-contact-actions .driver-waze{flex:0 0 auto;border-color:#bcdfe7;color:#176476;background:#effafd}.driver-contact-actions .driver-phone svg:last-child{margin-left:0}.driver-stop-actions{display:flex;align-items:stretch;justify-content:flex-end;gap:7px;flex-wrap:wrap}.driver-stop-actions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:37px;padding:0 11px;border-radius:9px;font-size:9px;font-weight:800;cursor:pointer}.driver-stop-actions button svg{width:13px}.driver-stop-actions button.arrive{border:1px solid #245e8c;color:#245e8c;background:#edf6fc}.driver-stop-actions button.deliver{border:1px solid #28794a;color:#fff;background:#2e8a57}.driver-stop-actions button.fail{border:1px solid #efbbb8;color:#a82c28;background:#fff}.driver-stop-actions button:disabled{opacity:.45;cursor:not-allowed}.delivery-proof-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:9px;margin-top:14px;padding:12px;border-radius:11px;background:#f6f3ef}.delivery-proof-form>label{min-width:0}.delivery-proof-help{grid-column:1 / -1;margin:0;color:var(--muted);font-size:13px;line-height:1.6}.delivery-proof-form>.proof-input{grid-column:1 / -1;min-height:44px}.delivery-proof-form input:focus-visible,.failure-reason input:focus-visible,.return-item-list input:focus-visible,.proof-input:focus-within{outline:2px solid var(--red);outline-offset:2px}.signature-pad{grid-column:1 / -1;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.signature-pad-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:10px;font-weight:800}.signature-pad-head strong{color:var(--red)}.signature-pad-head button{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--muted);font:inherit;font-size:10px;font-weight:800}.signature-pad-head button svg{width:14px}.signature-pad canvas{display:block;width:100%;height:150px;border:1px dashed #b9afa9;border-radius:8px;background:#fff;touch-action:none}.signature-pad small{display:block;margin-top:6px;color:var(--muted);font-size:9px}.delivery-proof-form .cod-input input{border-color:#edc978;background:#fffaf0;font-weight:800}.proof-input{display:inline-flex;position:relative;overflow:hidden;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;cursor:pointer}.proof-input svg{width:14px}.proof-input>span{overflow:hidden;max-width:150px;text-overflow:ellipsis;white-space:nowrap}.proof-input input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.failure-note{margin-top:11px}.failure-note input{max-width:420px;margin:0}.failure-reconciliation{margin-top:14px;padding:13px;border:1px solid #efbbb8;border-radius:12px;background:#fff8f7}.failure-reconciliation>header strong,.failure-reconciliation>header small{display:block}.failure-reconciliation>header strong{color:#8e2724;font-size:11px}.failure-reconciliation>header small{margin-top:3px;color:var(--muted);font-size:9px}.failure-reason{display:block;margin-top:11px;color:#514943;font-size:9px;font-weight:800}.failure-reason input{width:100%;height:40px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit}.return-item-list{display:grid;gap:8px;margin-top:10px}.return-item-list article{display:grid;grid-template-columns:minmax(150px,1fr) repeat(3,75px) 38px;align-items:end;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.return-item-list article.invalid{border-color:#dc7772}.return-item-list article>div strong,.return-item-list article>div small{display:block}.return-item-list article>div strong{font-size:10px}.return-item-list article>div small{margin-top:3px;color:var(--muted);font-size:8px}.return-item-list label{color:var(--muted);font-size:8px;font-weight:800}.return-item-list input{width:100%;height:36px;margin-top:4px;padding:0 7px;border:1px solid var(--line);border-radius:8px;font:inherit;font-size:10px}.return-item-list em{align-self:center;color:var(--muted);font-size:9px;font-style:normal;font-weight:900;text-align:right}.return-item-list article.invalid em{color:var(--red)}.return-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}.return-actions button{min-height:39px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit;font-size:9px;font-weight:800}.return-actions button.confirm-return{display:inline-flex;align-items:center;gap:6px;border-color:var(--red);color:#fff;background:var(--red)}.return-actions button:disabled{opacity:.45}.stop-done,.stop-failed{max-width:220px;font-size:10px;font-weight:800;line-height:1.4}.stop-done{color:#28794a}.stop-failed{color:#a82c28}.stop-done svg,.stop-failed svg{width:14px;vertical-align:middle}.finance-hero{position:relative;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;min-height:230px;padding:36px 40px;border-radius:24px;color:#fff;background:linear-gradient(125deg,#1e1a18 53%,#7d2522)}.finance-hero:after{content:"";position:absolute;right:-70px;bottom:-145px;width:370px;height:370px;border-radius:50%;background:#d62f2b61;filter:blur(72px)}.finance-hero>*{position:relative;z-index:1}.finance-hero .eyebrow{color:#f1ad3d}.finance-hero h1{margin-top:14px;font-size:clamp(35px,4.7vw,58px);line-height:1.04}.finance-hero p{max-width:620px;margin:16px 0 0;color:#ffffffa3;font-size:14px;line-height:1.6}.finance-hero-metrics{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px;min-width:340px}.finance-hero-metrics span{padding:17px 18px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.finance-hero-metrics small,.finance-hero-metrics strong{display:block}.finance-hero-metrics small{color:#ffffff94;font-size:10px}.finance-hero-metrics strong{margin-top:7px;font-family:Manrope,sans-serif;font-size:21px}.finance-card{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:#fff}.finance-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.invoice-list{display:grid}.invoice-row+.invoice-row{border-top:1px solid var(--line)}.invoice-row.overdue{box-shadow:inset 4px 0 0 var(--red)}.invoice-summary{display:grid;grid-template-columns:minmax(180px,1.3fr) 130px 120px 125px 18px;align-items:center;gap:14px;width:100%;padding:17px 20px;border:0;color:var(--ink);background:#fff;text-align:left;cursor:pointer}.invoice-summary:hover{background:#fbfaf8}.invoice-summary span strong,.invoice-summary span small{display:block}.invoice-summary span strong{font-size:11px}.invoice-summary span small{margin-top:4px;color:var(--muted);font-size:9px}.invoice-summary>svg{width:16px;color:var(--muted)}.invoice-status{justify-self:start;padding:6px 9px;border-radius:999px;font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.invoice-status.issued{color:#245e8c;background:#e6f2fb}.invoice-status.partial{color:#966114;background:#fff2d2}.invoice-status.paid{color:#28794a;background:#e7f6ec}.invoice-status.overdue{color:#a82c28;background:#fdebea}.invoice-status.draft,.invoice-status.void{color:var(--muted);background:#ece9e5}.invoice-balance{text-align:right}.invoice-detail{padding:0 20px 20px;background:#fbfaf8}.invoice-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 0;border-top:1px solid var(--line)}.invoice-totals span{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.invoice-totals small,.invoice-totals strong{display:block}.invoice-totals small{color:var(--muted);font-size:9px}.invoice-totals strong{margin-top:5px;font-size:12px}.payment-form{display:grid;grid-template-columns:125px 145px minmax(140px,1fr) minmax(140px,1fr) minmax(160px,.8fr) auto;align-items:end;gap:9px;padding:14px;border:1px solid #c9e5d5;border-radius:12px;background:#f3faf5}.payment-form label{color:#514943;font-size:9px;font-weight:800}.payment-form input,.payment-form select,.payment-reversal input{width:100%;height:40px;margin-top:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--ink);background:#fff;font:inherit;font-size:10px;outline:none}.payment-form>button,.payment-reversal button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 13px;border:0;border-radius:9px;color:#fff;background:#2e8a57;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}.payment-form button svg,.payment-reversal button svg{width:14px}.payment-form button:disabled,.payment-reversal button:disabled{opacity:.45;cursor:not-allowed}.receipt-upload{position:relative;overflow:hidden}.receipt-upload>span{display:flex;align-items:center;gap:6px;overflow:hidden;height:40px;margin-top:6px;padding:0 10px;border:1px dashed #78b590;border-radius:9px;color:#28794a;background:#fff;font-size:9px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.receipt-upload>span svg{width:14px;flex:0 0 auto}.receipt-upload>input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.payment-history{margin-top:15px}.payment-history h3{display:flex;align-items:center;gap:7px;margin-bottom:9px;font-size:12px}.payment-history h3 svg{width:16px;color:var(--red)}.payment-history>p{margin:0;color:var(--muted);font-size:10px}.payment-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.payment-entry+.payment-entry{margin-top:7px}.payment-entry>span strong,.payment-entry>span small{display:block}.payment-entry>span strong{font-size:11px}.payment-entry>span small{margin-top:3px;color:var(--muted);font-size:9px}.payment-entry.reversed{opacity:.65;text-decoration:line-through;background:#f2efeb}.payment-entry-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:min(520px,58%)}.view-receipt{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid #cce0ed;border-radius:9px;color:#245e8c;background:#f4f9fc;font-size:9px;font-weight:800;cursor:pointer;white-space:nowrap}.view-receipt svg{width:14px}.view-receipt:disabled{opacity:.45;cursor:wait}.payment-reversal{display:flex;align-items:end;gap:7px;min-width:min(390px,45%)}.payment-reversal input{margin:0}.payment-reversal button{flex:0 0 auto;color:#a82c28;background:#fdebea}@media(max-width:1100px){.metrics-4{grid-template-columns:repeat(2,1fr)}.operations-grid{grid-template-columns:1fr}.flow-card{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(280px,1fr);gap:0 30px}.flow-heading,.progress-track,.location-note{grid-column:1}.flow-steps{grid-column:2;grid-row:1 / span 3}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-order-summary{grid-template-columns:130px minmax(190px,1fr) 145px 100px 18px}.admin-status{display:none}.factory-job-row{grid-template-columns:135px minmax(180px,1fr) 135px 65px 92px 125px}.factory-job-customer{display:none}.stock-hero{display:block}.stock-hero-metrics{margin-top:20px}.stock-row{grid-template-columns:minmax(180px,1fr) repeat(4,65px) 105px;gap:10px}.product-setting-row{grid-template-columns:48px minmax(210px,1fr) minmax(250px,auto) 95px 75px;gap:10px}.contract-price-form,.payment-form{grid-template-columns:repeat(2,1fr)}.payment-form>button{min-height:42px}}@media(max-width:760px){.sidebar{display:none}.topbar{min-height:62px;padding:10px 16px}.topbar>div>span{display:none}.profile-trigger-copy,.profile-trigger>svg{display:none}.profile-trigger{padding:2px}.mobile-role-nav{display:flex;gap:7px;overflow-x:auto;padding:10px 16px 2px;scrollbar-width:none}.mobile-role-nav::-webkit-scrollbar{display:none}.mobile-role-nav button{padding:8px 12px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;font-size:12px;font-weight:700;white-space:nowrap}.mobile-role-nav button.active{border-color:var(--red);color:#fff;background:var(--red)}.content{padding:14px 16px 28px}.hero-panel{display:block;padding:25px 21px;border-radius:20px}.hero-copy h1{font-size:31px}.hero-copy p{font-size:15px}.primary-action{width:100%;margin-top:22px}.metrics-3,.metrics-4{grid-template-columns:1fr}.queue-row{grid-template-columns:1fr auto;gap:7px 10px;padding:15px 18px}.queue-ref,.queue-title{grid-column:1}.status-pill{grid-column:2;grid-row:1}.queue-amount{grid-column:2;grid-row:2}.row-arrow{display:none}.section-heading{align-items:flex-start;padding:18px}.section-heading button{white-space:nowrap}.flow-card{display:block;padding:18px}.flow-steps{display:grid}.location-note{margin-top:20px}.toast{right:16px;bottom:16px}.sign-out-button span{display:none}.sign-out-button{width:38px;justify-content:center;padding:0}.profile-overlay{align-items:end;padding:0}.profile-panel{max-height:97vh;max-height:97dvh;border-radius:20px 20px 0 0}.profile-header{padding:15px 16px}.profile-header h2{font-size:19px}.profile-body{max-height:calc(97vh - 70px);max-height:calc(97dvh - 70px);padding:13px}.profile-card-heading{align-items:flex-start;padding:15px}.profile-card-heading>button{min-height:42px}.profile-form,.address-form{grid-template-columns:1fr;padding:15px}.profile-wide,.address-form-title{grid-column:1}.profile-save{min-height:48px}.address-item{grid-template-columns:34px 1fr;padding:15px}.address-actions{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.address-actions button{justify-content:center;min-height:43px}.address-actions button:first-child:nth-last-child(3){grid-column:1 / -1}.address-form{margin:0 13px 13px}.address-location{display:grid}.address-location button{width:100%;min-height:46px;font-size:11px}.address-form-actions{display:grid;grid-template-columns:1fr 1fr}.address-form-actions>button{min-height:48px}.auth-shell{display:block}.auth-brand-panel{min-height:320px;padding:38px 24px}.auth-brand-panel h1{font-size:36px}.auth-card{position:relative;z-index:2;width:calc(100% - 32px);margin:-28px auto 28px;padding:25px 20px}.onboarding-shell{padding:16px}.onboarding-card{padding:24px 18px}.onboarding-form{grid-template-columns:1fr}.form-wide{grid-column:1}.order-overlay{align-items:end;padding:0}.order-panel{max-height:96vh;border-radius:20px 20px 0 0}.order-header{padding:16px}.order-header h2{font-size:20px}.order-layout{display:block;height:auto;overflow-y:auto;max-height:calc(96vh - 78px);max-height:calc(96dvh - 78px)}.product-section{overflow:visible;padding:16px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-order-card{padding:13px}.cart-panel{overflow:visible;padding:18px 16px 28px;border-top:1px solid var(--line);border-left:0}.order-success{margin:0 12px 14px;padding:30px 18px}.success-flow{grid-template-columns:repeat(2,1fr)}.admin-live-hero{display:block;min-height:0;padding:25px 21px;border-radius:20px}.admin-live-hero h1{font-size:33px}.admin-live-value{margin-top:20px}.admin-order-toolbar{align-items:flex-start}.admin-order-summary{grid-template-columns:1fr auto;gap:10px;padding:15px}.admin-order-customer,.admin-order-date{grid-column:1}.admin-order-total{grid-column:2;grid-row:1}.admin-order-summary>svg{grid-column:2;grid-row:2}.admin-order-items>div{grid-template-columns:1fr auto}.admin-order-items>div>strong{grid-column:2;grid-row:1}.admin-order-items>div>span:nth-child(2){grid-column:1 / -1}.admin-order-info,.admin-review,.order-credit-card{grid-template-columns:1fr}.order-credit-metrics{grid-template-columns:repeat(2,1fr)}.admin-review>div{justify-content:stretch}.admin-review button{flex:1}.admin-workspace-nav{display:flex;width:100%;overflow-x:auto;scrollbar-width:none}.admin-workspace-nav::-webkit-scrollbar{display:none}.admin-workspace-nav button{flex:0 0 auto;justify-content:center;min-height:44px;white-space:nowrap}.users-hero{display:block;min-height:0;padding:25px 21px;border-radius:20px}.users-hero h1{font-size:33px}.users-hero-metrics{margin-top:20px}.staff-create-card>header{align-items:flex-start;padding:15px}.staff-create-card>header>button{min-height:44px;white-space:nowrap}.staff-create-form{grid-template-columns:1fr 1fr;padding:16px}.staff-password{grid-column:1 / -1}.create-staff-submit{min-height:48px}.staff-credentials{grid-template-columns:1fr;margin:0 15px 15px}.staff-credentials>p{grid-column:1}.users-toolbar{align-items:stretch;flex-wrap:wrap;padding:14px}.users-toolbar .admin-order-tabs{width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.users-toolbar .admin-order-tabs button{flex:0 0 auto;min-height:42px}.users-search{flex-basis:calc(100% - 95px);min-height:44px}.users-toolbar .refresh-orders{min-height:44px}.user-row{grid-template-columns:1fr auto;gap:11px;padding:16px}.user-identity{grid-column:1}.user-status{grid-column:2;grid-row:1}.user-business,.user-meta,.user-review,.credit-settings,.user-protected,.user-last-note{grid-column:1 / -1}.user-business small{white-space:normal;line-height:1.5}.user-meta{justify-content:flex-start;flex-wrap:wrap;padding-top:3px}.user-meta span{text-align:left}.user-review{grid-template-columns:1fr}.credit-settings{grid-template-columns:1fr 1fr}.credit-settings-title,.credit-settings>button{grid-column:1 / -1}.credit-settings>button{min-height:48px}.user-review>div{display:grid;grid-template-columns:repeat(2,1fr);justify-content:stretch}.user-review button{min-height:48px;font-size:10px}.save-user-role{grid-column:1 / -1}.stock-hero{min-height:0;padding:25px 21px;border-radius:20px}.stock-hero h1{font-size:33px}.stock-hero-metrics{grid-template-columns:repeat(3,1fr)}.stock-hero-metrics span{padding:13px 10px}.stock-card-header{align-items:flex-start}.stock-row{grid-template-columns:repeat(4,1fr);gap:12px 8px;padding:15px}.stock-product{grid-column:1 / -1}.stock-number{text-align:left}.stock-edit-button{grid-column:1 / -1}.stock-adjustment-form{grid-template-columns:1fr}.stock-adjustment-form>div{justify-content:stretch}.stock-adjustment-form button{flex:1}.product-settings-hero{display:block;min-height:0;padding:25px 21px;border-radius:20px}.product-settings-hero h1{font-size:33px}.product-settings-hero .refresh-orders{margin-top:18px}.product-setting-row{grid-template-columns:44px 1fr auto;padding:14px}.product-setting-icon{width:44px;height:44px}.product-setting-copy{grid-column:2 / -1}.product-price-pills{grid-column:1 / -1;justify-content:flex-start}.product-active-toggle{grid-column:1 / 3}.product-edit{grid-column:3}.contract-price-card{padding:18px}.contract-price-form{grid-template-columns:1fr}.product-edit-overlay{align-items:end;padding:0}.product-edit-panel{max-height:95vh;border-radius:20px 20px 0 0}.product-edit-fields{grid-template-columns:1fr;padding:18px}.product-edit-fields label.wide{grid-column:1}.factory-live-hero{display:block;min-height:0;padding:25px 21px;border-radius:20px}.factory-live-hero h1{font-size:33px}.factory-live-metrics{margin-top:20px}.factory-job-row{grid-template-columns:1fr auto;gap:12px;padding:15px}.factory-job-ref,.factory-job-product{grid-column:1}.factory-job-customer{display:block;grid-column:1}.factory-job-date{grid-column:1}.factory-job-quantity{grid-column:2;grid-row:1}.factory-status{grid-column:2;grid-row:2}.factory-action,.factory-complete{grid-column:1 / -1;width:100%}.delivery-hero,.driver-hero{display:block;min-height:0;padding:25px 21px;border-radius:20px}.delivery-hero h1,.driver-hero h1{font-size:33px}.delivery-hero .refresh-orders,.driver-hero .refresh-orders{margin-top:18px}.dispatch-planner>header,.delivery-runs>header{align-items:flex-start;padding:17px}.ready-order{grid-template-columns:22px 1fr auto;gap:10px;padding:15px 17px}.ready-order>span:nth-child(3){grid-column:2 / -1}.ready-order-total{grid-column:3;grid-row:1}.route-sequence>header{display:grid;padding:15px 17px}.route-sequence>header>button{width:100%;min-height:46px;font-size:11px}.route-sequence article{grid-template-columns:28px 1fr auto;padding:13px 17px}.route-sequence article>em{grid-column:2;justify-self:start}.route-move{grid-column:3;grid-row:1 / span 2}.route-move button{width:40px;height:44px}.dispatch-form{grid-template-columns:1fr;padding:17px}.dispatch-hint{padding:0 17px 17px}.delivery-run-head{grid-template-columns:1fr auto;padding:15px 17px}.delivery-run-head>span:nth-child(2),.delivery-run-head>span:nth-child(3){grid-column:1}.delivery-run-head .delivery-status{grid-column:2;grid-row:1}.delivery-run-head>button{grid-column:1 / -1}.delivery-stop-list>div{grid-template-columns:28px 1fr auto;padding:13px 17px}.delivery-stop-list>div>span:nth-child(3){grid-column:2}.delivery-stop-list em{grid-column:3;grid-row:1}.delivery-stop-list .sales-document-actions{grid-column:2 / -1;justify-self:stretch}.delivery-stop-list .sales-document-buttons button{width:100%}.driver-stop{grid-template-columns:34px 1fr;padding:16px}.driver-stop-actions{grid-column:1 / -1;justify-content:stretch}.driver-stop-actions button{flex:1 0 100%;min-height:48px;font-size:14px}.delivery-proof-form{grid-template-columns:minmax(0,1fr);gap:14px}.delivery-proof-form label{font-size:14px}.delivery-proof-form>.proof-input{min-height:48px}.delivery-proof-form input,.failure-note input,.proof-input{min-height:48px;font-size:16px}.failure-reason,.failure-reconciliation>header small{font-size:11px}.failure-reconciliation>header strong{font-size:13px}.failure-reason input{min-height:48px;font-size:16px}.return-item-list article{grid-template-columns:repeat(3,1fr)}.return-item-list article>div{grid-column:1 / -1}.return-item-list article>div strong{font-size:12px}.return-item-list article>div small,.return-item-list label{font-size:10px}.return-item-list input{min-width:0;min-height:48px;font-size:16px}.return-item-list em{grid-column:1 / -1;font-size:11px;text-align:left}.return-actions{display:grid;grid-template-columns:1fr}.return-actions button{min-height:48px;font-size:14px}.signature-pad canvas{height:180px}.signature-pad-head{flex-wrap:wrap;font-size:14px}.signature-pad-head button{min-height:44px;font-size:14px}.signature-pad small{font-size:12px;line-height:1.5}.driver-contact-actions{display:grid;grid-template-columns:1fr 1fr}.driver-contact-actions a{min-height:46px;font-size:14px}.driver-contact-actions .driver-phone{grid-column:1 / -1;justify-content:center}.driver-phone{justify-content:center}.driver-empty{min-height:180px}.finance-hero{display:block;min-height:0;padding:25px 21px;border-radius:20px}.finance-hero h1{font-size:33px}.finance-hero-metrics{grid-template-columns:1fr 1fr;min-width:0;margin-top:20px}.finance-toolbar{align-items:stretch}.invoice-summary{grid-template-columns:1fr auto;gap:9px;padding:15px}.invoice-summary>span:first-child{grid-column:1}.invoice-summary>span:nth-child(2){grid-column:1}.invoice-summary .invoice-status{grid-column:2;grid-row:1}.invoice-summary .invoice-balance{grid-column:2;grid-row:2}.invoice-summary>svg{display:none}.invoice-detail{padding:0 15px 15px}.invoice-totals,.payment-form{grid-template-columns:1fr}.payment-form input,.payment-form select,.payment-form>button{min-height:48px;font-size:12px}.payment-entry{align-items:stretch;flex-direction:column}.payment-entry-actions{align-items:stretch;flex-direction:column;min-width:0;width:100%}.view-receipt{min-height:46px}.payment-reversal{min-width:0;width:100%}.payment-reversal input,.payment-reversal button{min-height:46px}}@media(max-width:420px){.driver-hero{padding:22px 18px}.driver-hero h1{font-size:29px}.driver-stop{grid-template-columns:30px minmax(0,1fr);gap:11px;padding:14px}.driver-stop>b{width:30px;height:30px}.driver-contact-actions{grid-template-columns:1fr}.driver-contact-actions a:first-child,.driver-contact-actions .driver-phone{grid-column:1}.users-hero{padding:22px 18px}.users-hero h1{font-size:29px}.users-hero-metrics{grid-template-columns:1fr 1fr}.staff-create-card>header{display:grid;grid-template-columns:1fr}.staff-create-card>header>button{width:100%}.staff-create-form{grid-template-columns:1fr}.staff-password{grid-column:1}.create-staff-submit{width:100%}.users-search{flex-basis:100%}.users-toolbar .refresh-orders{width:100%;justify-content:center}}@media(max-width:420px){.product-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}.customer-live-hero,.owner-live-hero{position:relative;display:flex;align-items:end;justify-content:space-between;gap:24px;overflow:hidden;min-height:235px;padding:42px;border-radius:26px;color:#fff;background:linear-gradient(112deg,#1e1a18 42%,#8f2421)}.customer-live-hero h1,.owner-live-hero h1{max-width:760px;margin:22px 0 10px;font-size:clamp(38px,4.5vw,66px);line-height:.98;letter-spacing:-.055em}.customer-live-hero p,.owner-live-hero p{max-width:720px;margin:0;color:#cfc8c2;font-size:15px}.customer-live-hero .eyebrow,.owner-live-hero .eyebrow{color:#ffb72f}.customer-live-hero .primary-action{flex:0 0 auto}.owner-refresh{position:relative;align-self:flex-start;color:#fff;border-color:#ffffff59;background:#ffffff1a}.customer-metrics,.owner-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.owner-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.customer-metrics article,.owner-metrics article{position:relative;padding:22px;border:1px solid var(--line);border-radius:18px;background:#fff}.customer-metrics article>span,.owner-metrics article>span{position:absolute;top:20px;right:20px;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#766d66;background:#efede9}.customer-metrics article>span svg,.owner-metrics article>span svg{width:19px}.owner-metrics article>span.good{color:#28794a;background:#e7f6ec}.owner-metrics article>span.warning{color:#966114;background:#fff2d2}.customer-metrics small,.owner-metrics small{display:block;max-width:calc(100% - 50px);color:var(--muted);font-size:10px;font-weight:800}.customer-metrics strong,.owner-metrics strong{display:block;margin-top:14px;font-size:25px;letter-spacing:-.04em}.customer-metrics p,.owner-metrics p{margin:8px 0 0;color:var(--muted);font-size:10px}.customer-orders-card,.owner-attention,.owner-flow{overflow:hidden;margin-top:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.customer-orders-card>header,.owner-attention>header,.owner-flow>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line)}.customer-orders-card h2,.owner-attention h2,.owner-flow h2{margin:0;font-size:17px}.customer-orders-card header p,.owner-attention header p,.owner-flow header p{margin:5px 0 0;color:var(--muted);font-size:10px}.customer-order-tabs{display:flex;gap:8px;padding:13px 20px;border-bottom:1px solid var(--line)}.customer-order-tabs button{min-height:38px;padding:0 15px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#fff;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.customer-order-tabs button.active{color:#fff;border-color:#1e1a18;background:#1e1a18}.customer-order+.customer-order{border-top:1px solid var(--line)}.customer-order-summary{display:grid;grid-template-columns:minmax(180px,1.25fr) 140px 135px 150px 18px;align-items:center;gap:14px;width:100%;padding:18px 21px;border:0;color:var(--ink);background:#fff;text-align:left;cursor:pointer}.customer-order-summary:hover{background:#fbfaf8}.customer-order-summary span strong,.customer-order-summary span small{display:block}.customer-order-summary span strong{font-size:11px}.customer-order-summary span small{margin-top:4px;color:var(--muted);font-size:9px}.customer-order-total{text-align:right}.customer-order-summary>svg{width:16px;color:var(--muted)}.customer-status{justify-self:start;padding:6px 9px;border-radius:999px;color:#6d655f;background:#ece9e5;font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.customer-status.submitted,.customer-status.production{color:#966114;background:#fff2d2}.customer-status.confirmed,.customer-status.ready_for_delivery{color:#245e8c;background:#e6f2fb}.customer-status.out_for_delivery{color:#a82c28;background:#fdebea}.customer-status.delivered,.customer-status.completed{color:#28794a;background:#e7f6ec}.customer-status.cancelled{color:#a82c28;background:#f5e2e1}.customer-order-detail{padding:0 21px 21px;background:#fbfaf8}.customer-order-items{border-top:1px solid var(--line)}.customer-order-items>div{display:grid;grid-template-columns:1fr 150px 110px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:10px}.customer-order-items span strong,.customer-order-items span small{display:block}.customer-order-items span small{margin-top:3px;color:var(--muted)}.customer-order-items>div>strong{text-align:right}.customer-order-info{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:13px}.customer-order-info>span{display:grid;grid-template-columns:30px 1fr;padding:12px;border:1px solid var(--line);border-radius:11px;background:#fff}.customer-order-info svg{grid-row:1 / span 2;width:18px;color:var(--red)}.customer-order-info small{color:var(--muted);font-size:9px}.customer-order-info strong{margin-top:4px;font-size:10px}.customer-timeline{margin-top:17px}.customer-timeline h3{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:12px}.customer-timeline h3 svg{width:16px;color:var(--red)}.customer-timeline>div{display:grid;grid-template-columns:28px 1fr;gap:9px}.customer-timeline>div+div{margin-top:10px}.customer-timeline>div>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;color:#28794a;background:#e7f6ec}.customer-timeline>div>span svg{width:13px}.customer-timeline p,.customer-timeline strong,.customer-timeline small{display:block;margin:0}.customer-timeline strong{font-size:10px}.customer-timeline small{margin-top:3px;color:var(--muted);font-size:9px}.owner-operations{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr);gap:18px}.owner-attention>header>strong{display:grid;place-items:center;min-width:36px;height:36px;border-radius:50%;color:#fff;background:var(--red)}.owner-attention-row{display:grid;grid-template-columns:1fr auto 110px;align-items:center;gap:15px;padding:16px 20px;border-top:1px solid var(--line)}.owner-attention>div>.owner-attention-row:first-child{border-top:0}.owner-attention-row span small,.owner-attention-row span strong{display:block}.owner-attention-row span small{color:var(--muted);font-size:9px}.owner-attention-row span strong{margin-top:3px;font-size:11px}.owner-attention-row span p{margin:4px 0 0;color:var(--muted);font-size:9px}.owner-attention-row em{padding:6px 9px;border-radius:999px;color:#966114;background:#fff2d2;font-size:9px;font-style:normal;font-weight:800;white-space:nowrap}.owner-attention-row.credit em{color:#a82c28;background:#fdebea}.owner-attention-row.stock em{color:#245e8c;background:#e6f2fb}.owner-attention-row>strong{text-align:right;font-size:11px}.owner-flow>header{border-bottom:0}.owner-flow>header>strong{color:var(--red);font-size:16px}.owner-progress{height:8px;margin:0 22px 18px;overflow:hidden;border-radius:99px;background:#ebe8e4}.owner-progress span{display:block;height:100%;border-radius:inherit;background:var(--red)}.owner-flow-list{display:grid;gap:9px;padding:0 22px 22px}.owner-flow-list>span{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;font-size:10px}.owner-flow-list svg{width:16px;color:#28794a}.owner-flow-list>span>svg{box-sizing:content-box;padding:8px;border-radius:9px;background:#e7f6ec}.owner-flow-list b{font-weight:700}@media(max-width:1100px){.owner-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-operations{grid-template-columns:1fr}}@media(max-width:760px){.customer-live-hero,.owner-live-hero{display:block;min-height:0;padding:25px 21px;border-radius:20px}.customer-live-hero h1,.owner-live-hero h1{font-size:33px}.customer-live-hero .primary-action,.owner-refresh{width:100%;margin-top:20px}.customer-metrics,.owner-metrics{grid-template-columns:1fr}.customer-order-summary{grid-template-columns:1fr auto;gap:9px;padding:15px}.customer-order-summary>span:first-child,.customer-order-summary>span:nth-child(2){grid-column:1}.customer-order-summary .customer-status{grid-column:2;grid-row:1}.customer-order-summary .customer-order-total{grid-column:2;grid-row:2}.customer-order-summary>svg{display:none}.customer-order-detail{padding:0 15px 15px}.customer-order-items>div{grid-template-columns:1fr auto}.customer-order-items>div>span:nth-child(2){grid-column:1}.customer-order-items>div>strong{grid-column:2;grid-row:1}.customer-order-info{grid-template-columns:1fr}.owner-attention-row{grid-template-columns:1fr auto;padding:15px}.owner-attention-row>strong{grid-column:2}}.customer-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.customer-hero-actions button:disabled{opacity:.5;cursor:not-allowed}.wallet-screen{padding:16px}.wallet-screen .wallet-card{margin:16px 0}.order-funding{padding:16px;border:1px solid var(--line);border-radius:12px;background:#faf9f7;margin:12px 0;text-align:left}.order-funding h3{margin:0 0 8px}.order-funding p{font-size:13px;line-height:1.5}.mobile-cart-bar{display:none}@media(max-width:760px){.customer-app .topbar{gap:8px}.customer-app .topbar>div:first-child{min-width:0}.customer-app .topbar-actions{gap:6px;flex-shrink:0}.customer-app .topbar .demo-badge,.single-role.mobile-role-nav{display:none}.customer-app .profile-trigger,.customer-app .sign-out-button{min-width:44px;min-height:44px}.customer-dashboard{min-width:0;overflow-wrap:anywhere}.customer-live-hero h1{font-size:30px;line-height:1.12}.customer-live-hero p{font-size:14px;line-height:1.6}.customer-hero-actions{margin-top:20px;gap:10px}.customer-hero-actions .primary-action{margin:0;min-height:48px}.customer-metrics{gap:10px}.customer-metrics article{padding:16px}.customer-metrics strong{margin-top:8px}.customer-metrics small,.customer-metrics p{font-size:13px}.customer-orders-card>header{flex-wrap:wrap;padding:16px}.customer-orders-card header p{font-size:13px;line-height:1.5}.customer-dashboard .refresh-orders,.customer-order-tabs button{min-height:44px;font-size:14px}.customer-order-tabs button{flex:1}.customer-order-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.customer-order-summary span strong{font-size:14px}.customer-order-summary span small,.customer-status{font-size:12px}.customer-status{white-space:normal}.customer-order-items>div{grid-template-columns:minmax(0,1fr) auto;font-size:14px}.customer-order-info strong,.customer-timeline strong{font-size:14px}.customer-order-info small,.customer-timeline small{font-size:13px;line-height:1.5}.wallet-screen{padding:0}.wallet-layout>*,.wallet-topup-form label,.wallet-history span{min-width:0}.wallet-topup-form label,.wallet-balance p,.wallet-history span strong{font-size:14px}.wallet-history span small{font-size:12px;line-height:1.5}.wallet-history>div{flex-wrap:wrap}.wallet-topup-form input,.profile-form input,.address-form input,.onboarding-form input,.onboarding-form select{min-height:48px;font-size:16px}.wallet-topup-form button{min-height:48px;font-size:14px}.order-panel{display:flex;flex-direction:column;max-height:100vh;max-height:100dvh}.order-header{flex-shrink:0;padding-top:max(12px,env(safe-area-inset-top))}.close-order{min-width:44px;height:44px}.order-layout{flex:1;min-height:0;max-height:none;overscroll-behavior:contain}.order-state{min-height:0;overflow-y:auto}.category-tabs button{min-height:44px}.product-order-card{padding:10px;min-width:0}.product-order-card h3{font-size:15px;overflow-wrap:anywhere}.product-order-card>p{font-size:12px;line-height:1.5}.quantity-control{grid-template-columns:44px minmax(0,1fr) 44px;height:48px}.quantity-control input{font-size:16px}.cart-panel{min-width:0;scroll-margin-top:12px}.cart-line,.cart-line span strong{font-size:14px;overflow-wrap:anywhere}.cart-line>strong{flex-shrink:0}.cart-total{gap:10px;flex-wrap:wrap}.delivery-fields input,.delivery-fields select,.delivery-fields textarea{min-width:0;max-width:100%;font-size:16px;min-height:48px}.delivery-fields label,.payment-mode-picker{min-width:0}.payment-mode-picker legend,.payment-mode-picker strong{font-size:14px}.payment-mode-picker small,.price-note,.credit-order-warning,.wallet-pending-note{font-size:13px;line-height:1.5}.payment-mode-picker>label{min-height:48px}.order-submit{min-height:48px;font-size:16px}.order-funding{overflow-wrap:anywhere}.order-funding button{min-height:48px;max-width:100%;white-space:normal}.order-success{max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);overflow-y:auto;padding-bottom:max(24px,env(safe-area-inset-bottom))}.mobile-cart-bar{display:flex;flex-shrink:0;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}.mobile-cart-bar span{min-width:0}.mobile-cart-bar strong,.mobile-cart-bar small{display:block;font-size:14px}.mobile-cart-bar button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 14px;border:0;border-radius:10px;color:#fff;background:var(--red);font:inherit;font-weight:700}.mobile-cart-bar button:disabled{opacity:.5}.mobile-cart-bar svg{width:18px}.customer-auth .auth-brand-panel{padding:16px 24px 32px}.customer-auth .auth-company-logo{width:140px}.customer-auth .auth-brand-panel>p{margin-top:10px}.customer-auth .auth-brand-panel h1{font-size:27px;margin:12px 0}.customer-auth .auth-customer-benefits,.customer-auth .auth-brand-panel>span:last-child{display:none}}@media(max-width:359px){.product-grid{grid-template-columns:1fr}.mobile-cart-bar{gap:8px;padding-left:12px;padding-right:12px}.mobile-cart-bar button{font-size:13px;padding:10px}}.order-funding{margin:14px 0;padding:18px;border:1px solid #e6c8a5;border-radius:14px;background:#fff8ed;line-height:1.6;overflow-wrap:anywhere}.order-funding h3{margin:0 0 10px;font-size:17px}.order-funding p{font-size:14px}.order-funding button{min-height:46px;padding:10px 14px;border:1px solid #c52e28;border-radius:10px;background:#fff;color:#a32320;font:inherit;cursor:pointer}.order-funding button:disabled{opacity:.5;cursor:not-allowed}.funding-actions,.delivery-quote-form{display:grid;gap:12px;margin-top:14px}.delivery-quote-form label{display:grid;gap:6px;font-size:14px}.delivery-quote-form input,.delivery-quote-form select{width:100%;min-width:0;min-height:46px;padding:10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:16px}.wallet-topup-form>p,.wallet-topup-form>small,.wallet-topup-form>div{grid-column:1 / -1;margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.wallet-topup-form input[type=file]{font-size:14px;max-width:100%}.wallet-request-list label{display:block;margin-top:10px}.wallet-request-list label input[type=checkbox]{width:auto}.customer-bank-details{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.admin-status,.customer-status{white-space:normal;overflow-wrap:anywhere}.mobile-role-picker,.mobile-module-picker{display:none}.sidebar-company-logo{display:block;width:156px;max-width:100%;border-radius:12px;background:#f2dfbf}.app-location{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 30px 0;color:#655b52;font-size:14px}.app-location>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:#fff;font-weight:700;cursor:pointer}.app-location svg{width:18px;height:18px}.app-shell button,.app-dialog button{-webkit-tap-highlight-color:transparent}.app-shell :is(button,a,input,select,textarea):focus-visible,.app-dialog :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #28588c;outline-offset:3px}.app-dialog{color:var(--ink);overscroll-behavior-y:contain}.app-dialog:not([open]){display:none}.app-dialog::backdrop{background:#201a1680}.app-dialog:is(.profile-overlay,.order-overlay,.product-edit-overlay){margin:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.app-dialog.notification-inbox{position:fixed;inset:80px 20px auto auto;margin:0;padding:0}.app-dialog.notification-inbox>header{position:sticky;top:0;z-index:1;background:#fff;border-bottom:1px solid var(--line)}.profile-panel,.order-panel,.product-edit-panel{min-height:0}.profile-header>button,.close-order,.product-edit-panel header>button{flex-shrink:0}@media(max-width:1100px){.sidebar{display:none}.mobile-role-picker{display:flex;align-items:center;gap:12px;padding:12px 16px 0;font-size:14px;font-weight:700}.mobile-role-picker>span{flex-shrink:0}.mobile-role-picker select{flex:1;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font:inherit;font-size:16px;color:var(--ink);background:#fff}}@media(max-width:760px){.main-area,.content,.content>*,.app-dialog :is(form,fieldset,label){min-width:0}.content{padding:14px 12px max(28px,env(safe-area-inset-bottom))}.app-location{padding:12px 12px 0;gap:10px}.topbar.compact-header{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}.compact-header .header-logo{flex:0 1 88px}.topbar.compact-header .topbar-actions{gap:6px}.mobile-role-picker{padding-inline:12px}.mobile-module-picker{display:grid;gap:7px;padding:14px;margin-bottom:14px;border:1px solid var(--line);border-radius:14px;color:#62574e;background:#fff;font-size:13px;font-weight:700}.mobile-module-picker select{width:100%;border:1px solid #d9d0c7;border-radius:10px;padding:10px 12px;background:#faf7f2;color:var(--ink)}.admin-workspace-nav.admin-desktop-nav{display:none}.admin-workspace-nav:not(.admin-desktop-nav){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:6px;gap:6px}.admin-workspace-nav:not(.admin-desktop-nav) button{white-space:normal;gap:6px;padding:10px 8px}.app-shell button,.app-dialog button{min-height:44px;font-size:14px;line-height:1.4}.app-shell :is(input,select,textarea):not([type=checkbox]):not([type=radio]),.app-dialog :is(input,select,textarea):not([type=checkbox]):not([type=radio]){min-width:0;max-width:100%;min-height:48px;font-size:16px}.app-shell .content :is(p,label),.app-dialog :is(p,label){font-size:14px;line-height:1.55}.app-shell .content small,.app-dialog small{font-size:12px;line-height:1.5}.content :is(h1,h2,h3,p,strong,small),.app-dialog :is(h1,h2,h3,p,strong,small){overflow-wrap:anywhere}.content :is(button,a),.app-dialog :is(button,a){max-width:100%}.content h1{font-size:clamp(26px,7.5vw,32px);line-height:1.16}.content :is(.users-hero,.stock-hero,.factory-live-hero,.delivery-hero,.driver-hero,.finance-hero,.product-settings-hero,.owner-live-hero){padding:22px 18px}.content :is(.users-hero-metrics,.factory-live-metrics,.stock-hero-metrics,.finance-hero-metrics){min-width:0;gap:8px}.content :is(.users-hero-metrics,.factory-live-metrics,.stock-hero-metrics,.finance-hero-metrics)>*{min-width:0}.content :is(.admin-order-tabs,.factory-tabs,.category-tabs){flex-wrap:wrap;overflow:visible;gap:6px}.content .admin-order-tabs button{flex:1 1 auto;white-space:normal}.admin-order-toolbar,.finance-toolbar,.stock-card-header,.dispatch-planner>header,.delivery-runs>header{flex-wrap:wrap;gap:12px}.admin-order-summary,.invoice-summary{grid-template-columns:minmax(0,1fr) auto}.admin-order-summary>*,.invoice-summary>*{min-width:0}.admin-order-detail,.invoice-detail{padding-inline:12px}.admin-order-summary strong,.invoice-summary strong,.factory-job-row strong,.ready-order strong,.driver-run>header strong{font-size:14px}.admin-status,.invoice-status,.factory-status,.delivery-status{max-width:130px;white-space:normal;font-size:12px;line-height:1.5}.user-row{grid-template-columns:minmax(0,1fr) auto;padding:14px}.user-identity,.user-business,.user-review,.credit-settings{min-width:0}.users-toolbar .users-search{flex:1 1 100%}.users-toolbar .admin-order-tabs{flex-wrap:wrap;overflow:visible}.user-meta span,.user-identity strong,.user-business strong{font-size:14px}.staff-create-card>header,.profile-card-heading{flex-wrap:wrap;gap:12px}.credit-settings,.staff-create-form{grid-template-columns:minmax(0,1fr)}.stock-row{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-number strong{font-size:20px}.stock-adjustment-form>div,.user-review>div{gap:8px}.product-price-pills{flex-wrap:wrap;gap:8px}.product-price-pills>*{font-size:13px;line-height:1.5}.factory-job-row{grid-template-columns:minmax(0,1fr) auto}.factory-job-row .factory-action{white-space:normal}.ready-order{grid-template-columns:24px minmax(0,1fr) auto;gap:8px;padding:14px 12px}.ready-order input{width:22px;height:22px}.ready-order-total{max-width:105px}.route-sequence article{grid-template-columns:26px minmax(0,1fr) auto;padding-inline:12px;gap:8px}.route-move{flex-direction:column}.route-move button{min-width:44px}.route-sequence article>em{white-space:normal}.delivery-run-head{grid-template-columns:minmax(0,1fr) auto}.delivery-stop-list>div{grid-template-columns:26px minmax(0,1fr) auto;gap:8px;padding-inline:12px}.delivery-stop-list em{max-width:90px;overflow-wrap:anywhere}.driver-stop{grid-template-columns:28px minmax(0,1fr);gap:12px;padding:14px 12px}.driver-stop>b{width:28px;height:28px}.driver-stop-main{min-width:0}.driver-stop .delivery-proof-form,.driver-stop .failure-reconciliation{margin-left:-40px}.driver-stop-actions{gap:10px}.driver-stop-main .driver-cod-badge{white-space:normal;line-height:1.5}.delivery-proof-form .proof-input{font-size:14px}.return-item-list article{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.payment-form,.wallet-topup-form,.wallet-request-review{min-width:0}.payment-form .receipt-upload{min-height:48px;font-size:14px}.payment-reversal,.wallet-request-review{flex-wrap:wrap;gap:10px}.payment-reversal button,.payment-entry a{min-height:44px;font-size:14px;white-space:normal}.owner-attention-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.app-dialog:is(.profile-overlay,.order-overlay,.product-edit-overlay){padding:0;align-items:end}.app-dialog.notification-inbox{top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;border:0;border-radius:0;padding-bottom:max(20px,env(safe-area-inset-bottom))}.app-dialog.notification-inbox>header{padding-top:max(12px,env(safe-area-inset-top))}.app-dialog:is(.profile-overlay,.order-overlay,.product-edit-overlay)>:is(.profile-panel,.order-panel,.product-edit-panel){width:100%;max-height:100dvh;border-radius:16px 16px 0 0}.profile-panel{display:flex;flex-direction:column}.profile-header{flex-shrink:0;padding-top:max(14px,env(safe-area-inset-top))}.profile-body{min-height:0;max-height:none;padding-bottom:max(20px,env(safe-area-inset-bottom));overscroll-behavior:contain}.profile-header button,.address-form-title button,.product-edit-panel header button{min-width:44px}.profile-card-heading>button{width:100%;justify-content:center}.address-item{grid-template-columns:28px minmax(0,1fr);padding:12px}.product-edit-panel{display:flex;flex-direction:column;overflow:hidden}.product-edit-panel>header,.product-edit-panel>footer{flex-shrink:0;padding:14px}.product-edit-panel>header{padding-top:max(14px,env(safe-area-inset-top))}.product-edit-panel>footer{padding-bottom:max(14px,env(safe-area-inset-bottom))}.product-edit-fields{overflow-y:auto;overscroll-behavior:contain;min-height:0}.product-edit-panel>footer button{flex:1}.order-header{gap:12px}.order-layout{overflow-y:auto}.order-state{padding:24px 16px}}@media(max-width:359px){.compact-header .header-logo{flex-basis:76px}.compact-header .profile-trigger{width:44px;padding:8px}.compact-header .profile-trigger .header-profile-label,.compact-header .profile-trigger>svg:last-child{display:none}.ready-order{grid-template-columns:24px minmax(0,1fr)}.ready-order-total{grid-column:2;grid-row:auto;text-align:left;max-width:none}.ready-order>span:nth-child(3){grid-column:2}.factory-status,.invoice-status,.admin-status{max-width:105px}.finance-hero-metrics{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.app-shell *,.app-dialog *{scroll-behavior:auto}}.app-dialog.wallet-dialog{position:fixed;top:0;right:0;bottom:0;left:0;margin:auto;padding:0;width:min(1120px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);border:0;border-radius:22px;background:#fff;overflow:hidden}.wallet-dialog[open]{display:flex;flex-direction:column}.wallet-dialog-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line)}.wallet-dialog-header h2{display:flex;align-items:center;gap:10px;margin:0;font-size:22px}.wallet-dialog-header button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}.wallet-dialog-header button:disabled{opacity:.5;cursor:wait}.wallet-dialog-body{min-height:0;padding:20px;overflow-y:auto;overscroll-behavior:contain}.wallet-dialog .wallet-card{margin:0;border:0;padding:0}.wallet-dialog .wallet-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.wallet-dialog .wallet-history{grid-column:1 / -1}.wallet-dialog .wallet-layout>*,.wallet-dialog .wallet-history span{min-width:0;overflow-wrap:anywhere}.wallet-dialog .wallet-topup-form{grid-template-columns:minmax(0,1fr)}@media(max-width:760px){.app-dialog.wallet-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:16px 16px 0 0}.wallet-dialog-header{padding:max(14px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 14px max(16px,env(safe-area-inset-left))}.wallet-dialog-body{flex:1;padding:16px max(12px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.wallet-dialog .wallet-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:760px)and (prefers-reduced-motion:no-preference){.app-dialog[open]:is(.wallet-dialog,.notification-inbox,.order-change-dialog),.app-dialog[open]>:is(.profile-panel,.order-panel,.order-success,.product-edit-panel){animation:mobile-panel-enter .22s cubic-bezier(.2,.75,.25,1)}.app-dialog[open]::backdrop{animation:mobile-backdrop-enter .18s ease-out}.app-shell details[open]>:not(summary),.app-dialog details[open]>:not(summary){animation:mobile-content-enter .17s ease-out}.app-shell :is(.role-link,.category-tabs button,.customer-order-tabs button,.admin-order-tabs button),.app-dialog .category-tabs button{transition:background-color .14s ease,color .14s ease,border-color .14s ease}}@keyframes mobile-panel-enter{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes mobile-backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes mobile-content-enter{0%{opacity:.72}to{opacity:1}}
