/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.mt-4{margin-top:calc(var(--spacing) * 4)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.min-w-0{min-width:0}.rotate-180{rotate:180deg}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.items-end{align-items:flex-end}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.border{border-style:var(--tw-border-style);border-width:1px}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}@media (width>=40rem){.sm\:col-span-2{grid-column:span 2/span 2}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=80rem){.xl\:block{display:block}.xl\:hidden{display:none}.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}}:root{color:var(--text);background:var(--canvas);font-synthesis:none;text-rendering:optimizelegibility;--brand:#244f91;--brand-dark:#173761;--brand-soft:#e8eef8;--ring:#244f9138;--accent:#d3ed8c;--navy:#142b4a;--canvas:#f5f7fb;--green-900:#173f35;--green-800:#1f6b4f;--green-600:#23805c;--green-100:#e1f3e9;--orange-500:#c9772a;--orange-100:#fcefdf;--blue-500:#3d6fb6;--blue-100:#e5edf9;--violet-500:#6e62a6;--violet-100:#ece9f6;--text:#192b45;--border:#dfe5ed;--muted:#5d6b80;--shadow:0 1px 2px #162a490a, 0 4px 16px #162a490a;--shadow-hover:0 10px 24px #162a4914;font-family:DM Sans,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}html{background:var(--canvas);min-width:320px;scroll-padding-top:88px}body{background:var(--canvas);-webkit-font-smoothing:antialiased;min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-offset:3px;outline:3px solid #5485cf}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif}.app-shell{min-height:100vh}.sidebar{z-index:30;background:var(--navy);color:#fff;flex-direction:column;width:264px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-head{border-bottom:1px solid #ffffff14;align-items:center;gap:12px;min-height:72px;padding:14px 20px;display:flex}.sidebar-head>div:nth-child(2){flex-direction:column;display:flex}.sidebar-head strong{letter-spacing:-.04em;font-family:Manrope,sans-serif;font-size:21px;line-height:1.1}.sidebar-head span{color:#a4b6cd;font-size:12px}.brand-mark{background:var(--accent);color:#172e4c;border-radius:12px;flex:none;place-items:center;width:40px;height:40px;font-family:Manrope,sans-serif;font-size:22px;font-weight:800;display:grid}.brand-mark.large{border-radius:16px;width:54px;height:54px;margin-bottom:30px;font-size:30px}.sidebar nav{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#fff3 transparent;flex-direction:column;flex:1;gap:10px;padding:10px 12px;display:flex;overflow-y:auto}.nav-section{gap:1px;display:grid}.nav-section>p{color:#8ea6c4;letter-spacing:.12em;text-transform:uppercase;margin:4px 12px 3px;font-size:10px;font-weight:800}.sidebar nav button{color:#c1cede;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;min-height:44px;padding:8px 12px;transition:background-color .15s,color .15s;display:flex}.sidebar nav button:hover{color:#fff;background:#ffffff12}.sidebar nav button.active{color:#fff;box-shadow:inset 3px 0 var(--accent);background:#294667}.sidebar nav button.active svg{color:var(--accent)}.sidebar nav button span{font-size:14.5px;font-weight:650}.sidebar nav button:focus-visible{outline-color:var(--accent);outline-offset:-2px}.sidebar-foot{background:#0000001a;border-top:1px solid #ffffff14;padding:10px 12px 12px}.mode-badge{color:#b3c3d6;text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:7px;margin:0 4px 8px;font-size:10px;font-weight:700;display:flex}.mode-badge span{background:#f2b35f;border-radius:99px;width:7px;height:7px;box-shadow:0 0 0 4px #f2b35f24}.mode-badge.api span{background:var(--accent);box-shadow:0 0 0 4px #d3ed8c1f}.user-row{align-items:center;gap:10px;padding-left:4px;display:flex}.user-row>div:nth-child(2){flex-direction:column;flex:1;min-width:0;display:flex}.user-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.user-row span{color:#a4b6cd;font-size:11px}.user-row .icon-button{color:#c1cede}.avatar{width:34px;height:34px;color:var(--brand-dark);background:#e6edf7;border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid}.avatar.small{width:34px;height:34px;font-size:11px}.icon-button{min-width:44px;min-height:44px;color:inherit;background:0 0;border:0;border-radius:10px;place-items:center;padding:8px;display:grid}.icon-button:hover{background:#ffffff14}.mobile-close,.menu-button,.mobile-overlay,.mobile-bottom-nav{display:none}.main-content{min-height:100vh;margin-left:264px}.topbar{z-index:20;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe6;align-items:center;min-height:76px;padding:0 clamp(24px,3vw,42px);display:flex;position:sticky;top:0}.topbar-title{flex-direction:column;flex:1;display:flex}.topbar-title span{font-family:Manrope,sans-serif;font-size:15px;font-weight:750}.topbar-title small{color:var(--muted);margin-top:2px;font-size:12px}.page{max-width:1380px;margin:0 auto;padding:clamp(26px,3vw,42px)}.page-heading{justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:30px;display:flex}.page-heading h1{color:#121b29;letter-spacing:-.045em;margin-bottom:8px;font-size:clamp(30px,3vw,42px);line-height:1.06}.page-heading p:last-child{max-width:720px;color:var(--muted);margin-bottom:0;font-size:16px;line-height:1.5}.page-heading-actions{align-items:center;gap:10px;display:flex}.eyebrow{color:var(--brand);letter-spacing:.14em;margin-bottom:10px;font-size:12px;font-weight:800}.hero-heading{padding:8px 0 2px}.button{border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:0 18px;font-size:14px;font-weight:750;transition:background-color .15s,border-color .15s,transform .1s;display:inline-flex}.button.primary{background:var(--brand);color:#fff;box-shadow:0 1px 2px #17376133,0 4px 12px #244f9124}.button.primary:hover{background:var(--brand-dark)}.button:active:not(:disabled){transform:scale(.98)}.button.ghost{border-color:var(--border);color:#34465f;background:#fff}.button.ghost:hover{background:#f7f9fb;border-color:#c9cfd7}.button.full{width:100%}.button:disabled{cursor:not-allowed;opacity:.55;transform:none!important}.text-button{min-height:42px;color:var(--brand);background:0 0;border:0;align-items:center;gap:3px;padding:0 4px;font-size:13px;font-weight:750;display:inline-flex}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;margin-bottom:22px;display:grid}.metric-card{border:1px solid var(--border);min-width:0;min-height:156px;box-shadow:var(--shadow);background:#fffffff0;border-radius:18px;padding:20px;transition:transform .18s,box-shadow .18s}.metric-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-2px)}.metric-card-heading{color:var(--muted);align-items:center;gap:11px;margin-bottom:16px;font-size:13px;font-weight:700;display:flex}.metric-card>strong{overflow-wrap:anywhere;color:#111b29;letter-spacing:-.045em;font-family:Manrope,sans-serif;font-size:clamp(24px,2.1vw,31px);line-height:1.08;display:block}.metric-card>small{color:#7a879b;margin-top:7px;font-size:12px;line-height:1.35;display:block}.metric-icon,.quick-icon{border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:grid}.metric-icon svg{width:21px}.green{background:var(--green-100);color:var(--green-600)}.orange{background:var(--orange-100);color:var(--orange-500)}.blue{background:var(--blue-100);color:var(--blue-500)}.violet{background:var(--violet-100);color:var(--violet-500)}.heading-actions{align-items:center;gap:10px;display:flex}.dashboard-layout{grid-template-columns:minmax(0,1.7fr) minmax(280px,.75fr);align-items:start;gap:20px;display:grid}.dashboard-focus-grid{grid-template-columns:minmax(300px,.78fr) minmax(0,1.35fr);align-items:stretch;gap:20px;margin-bottom:20px;display:grid}.dashboard-detail-grid{grid-template-columns:minmax(0,1.22fr) minmax(320px,.78fr);align-items:start;gap:20px;display:grid}.panel{border:1px solid var(--border);box-shadow:var(--shadow);background:#fffffff5;border-radius:18px}.panel-head{justify-content:space-between;align-items:flex-start;gap:16px;padding:23px 24px 17px;display:flex}.panel-head h2{letter-spacing:-.025em;margin-bottom:5px;font-size:18px}.panel-head p{color:var(--muted);margin-bottom:0;font-size:13px}.movement-list{padding:0 24px 15px}.movement-row{border-top:1px solid #eaeef3;grid-template-columns:38px minmax(190px,1fr) 110px 52px;align-items:center;gap:12px;padding:13px 0;display:grid}.movement-icon{border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.movement-icon svg{width:16px}.movement-icon.in{background:var(--green-100);color:var(--green-600)}.movement-icon.out{background:var(--orange-100);color:var(--orange-500)}.movement-product,.movement-reference{flex-direction:column;min-width:0;display:flex}.movement-product strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.movement-product span,.movement-reference small{color:var(--muted);font-size:12px}.movement-mobile-meta{display:none}.movement-reference{text-align:right}.movement-reference span{font-size:12px;font-weight:650}.positive{color:var(--green-600)}.negative{color:#c96849}.quick-panel{padding-bottom:9px}.quick-action{width:calc(100% - 28px);min-height:62px;color:inherit;text-align:left;background:0 0;border:0;border-radius:13px;align-items:center;gap:13px;margin:0 14px 8px;padding:11px 12px;display:flex}.quick-action:hover{background:#f5f7f9}.quick-action>span:nth-child(2){flex-direction:column;flex:1;display:flex}.quick-action strong{font-size:14px}.quick-action small{color:var(--muted);font-size:12px}.quick-action>svg{color:#9aa4b2;width:17px}.quick-icon{border-radius:10px;width:38px;height:38px}.quick-icon svg{width:18px}.attention-list{padding:0 14px 14px;display:grid}.attention-list button{min-height:77px;color:var(--text);text-align:left;background:0 0;border:0;border-top:1px solid #eaeef4;grid-template-columns:42px minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:11px 10px;display:grid}.attention-list button:hover{background:#f7f8fa;border-radius:12px}.attention-list button>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.attention-list button strong{font-size:13px}.attention-list button small{color:var(--muted);font-size:11px;line-height:1.35}.attention-list button>b{color:#1a273c;text-align:right;min-width:30px;font-family:Manrope,sans-serif;font-size:22px}.attention-list button>svg{color:#9da7b5;width:17px}.attention-icon{border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.attention-icon svg{width:19px}.attention-icon.orange{background:var(--orange-100);color:var(--orange-500)}.attention-icon.red{color:#b9513d;background:#fae4df}.attention-icon.blue{background:var(--blue-100);color:var(--blue-500)}.dashboard-chart-panel{min-width:0}.dashboard-guide-list{padding:0 16px 13px;display:grid}.dashboard-guide-list>button{min-width:0;min-height:67px;color:inherit;text-align:left;background:0 0;border:0;border-top:1px solid #eaeef4;justify-content:space-between;align-items:center;gap:14px;padding:11px 8px;display:flex}.dashboard-guide-list>button:hover{background:#f7f8fa;border-radius:12px}.dashboard-guide-list>button>span{flex-direction:column;gap:4px;min-width:0;display:flex}.dashboard-guide-list>button>span:last-child{flex:none;align-items:flex-end}.dashboard-guide-list strong,.dashboard-guide-list b{font-size:13px}.dashboard-guide-list small{max-width:210px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.dashboard-secondary-link{border:1px solid var(--border);width:calc(100% - 32px);min-height:46px;color:var(--brand);background:#f7f9fb;border-radius:11px;justify-content:center;align-items:center;gap:5px;margin:0 16px 16px;font-size:12px;font-weight:750;display:flex}.summary-pill{background:var(--brand-soft);min-height:48px;color:var(--brand);border-radius:13px;align-items:center;gap:10px;padding:10px 15px;display:flex}.summary-pill svg{width:20px}.summary-pill span{flex-direction:column;font-size:11px;display:flex}.summary-pill strong{font-size:16px}.summary-pill.blue{background:var(--blue-100);color:#366685}.toolbar{border-bottom:1px solid var(--border);gap:12px;padding:18px 20px;display:flex}.toolbar>select{min-width:190px}.product-create-panel{margin-bottom:22px;padding:24px}.compact-form-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.compact-form-head h2{margin-bottom:4px;font-size:18px}.compact-form-head p{color:var(--muted);margin-bottom:0;font-size:13px;line-height:1.45}.compact-form-head .icon-button{color:var(--muted)}.compact-form-head .icon-button:hover{background:#eff2f6}.product-form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-form-grid label{color:#334f78;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:700;display:flex}.product-form-grid .product-description{grid-column:span 2}.product-form-actions{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;margin-top:20px;padding-top:18px;display:flex}.product-form-actions>span{color:var(--muted);font-size:12px}.product-form-actions>div{gap:9px;display:flex}.search-field{border:1px solid var(--border);color:#728095;background:#fff;border-radius:12px;flex:1;align-items:center;gap:10px;min-height:48px;padding:0 14px;display:flex}.search-field input{background:0 0;border:0;outline:0;width:100%}select,input{color:#1a273c;background:#fff;border:1px solid #d1d9e6;border-radius:11px;outline:0;min-width:0;min-height:48px;padding:0 13px;font-size:14px}select:focus,input:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th{border-bottom:1px solid var(--border);color:#5d697b;letter-spacing:.055em;text-align:left;text-transform:uppercase;white-space:nowrap;background:#f5f7fa;padding:13px 16px;font-size:11px;font-weight:800}td{color:#293f60;border-bottom:1px solid #e6ebf2;padding:15px 16px;font-size:13px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfd}.number{text-align:right}.strong{color:#19263a;font-weight:700}.muted{color:var(--muted)}.product-cell,.customer-cell{align-items:center;gap:11px;min-width:220px;display:flex}.product-cell>div:last-child{flex-direction:column;display:flex}.product-cell strong{color:#1b293e;font-size:13px}.product-cell span{color:var(--muted);font-size:11px}.product-thumb{color:#78869a;background:#ebeff4;border-radius:10px;flex:none;place-items:center;width:39px;height:39px;display:grid;overflow:hidden}.product-thumb.large{width:56px;height:56px}.product-thumb img{object-fit:cover;width:100%;height:100%}.product-thumb svg{width:19px}.warehouse-tag{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.status{color:#4d5767;white-space:nowrap;background:#ebeff4;border-radius:99px;justify-content:center;align-items:center;min-width:76px;min-height:27px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex}.status.ok,.status.delivered{background:var(--green-100);color:var(--green-800)}.status.warning,.status.ready{color:#a56720;background:#fff0d9}.status.danger,.status.cancelled{color:#b9513d;background:#fae4df}.status.dispatched{background:var(--blue-100);color:#416f8e}.empty-state{color:#8490a3;justify-content:center;align-items:center;gap:10px;min-height:160px;display:flex}.empty-state p{margin:0;font-size:12px}.form-layout{grid-template-columns:minmax(0,1.65fr) minmax(270px,.6fr);align-items:start;gap:20px;display:grid}.form-panel{padding:clamp(20px,2.3vw,28px)}.section-title{align-items:center;gap:11px;margin:2px 0 17px;display:flex}.section-title:not(:first-child){border-top:1px solid var(--border);margin-top:28px;padding-top:24px}.section-title>span{background:var(--brand-soft);width:32px;height:32px;color:var(--brand);border-radius:10px;flex:none;place-items:center;font-family:Manrope,sans-serif;font-size:13px;font-weight:800;display:grid}.section-title h2{margin-bottom:2px;font-size:16px}.section-title p{color:var(--muted);margin-bottom:0;font-size:12px;line-height:1.4}.form-grid{gap:14px;display:grid}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label,.login-form label{color:#334f78;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:700;display:flex}.form-grid label.wide{grid-column:span 1}.customer-picker{flex-direction:column;gap:8px;min-width:0;display:flex}.customer-picker>label{color:#334f78;font-size:13px;font-weight:700}.customer-picker>small{color:var(--muted);font-size:11px}.customer-search{color:#728095;background:#fff;border:1px solid #d1d9e6;border-radius:11px;align-items:center;gap:9px;min-width:0;padding:0 12px;display:flex}.customer-search:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}.customer-search input{box-shadow:none;border:0;flex:1;padding:0}.customer-search input:focus{box-shadow:none;border:0}.form-actions{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;margin-top:28px;padding-top:21px;display:flex}.form-actions>span{color:var(--muted);font-size:12px}.form-actions>span strong{color:#1a273c}.preview-panel{padding:22px;position:sticky;top:100px}.preview-product{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:13px 0 20px;display:flex}.preview-product>div:last-child{flex-direction:column;display:flex}.preview-product strong{font-size:14px}.preview-product span{color:var(--muted);font-size:12px}.preview-panel dl{margin:8px 0 0}.preview-panel dl>div{border-bottom:1px solid #ebeff4;justify-content:space-between;gap:12px;padding:11px 0;display:flex}.preview-panel dt{color:var(--muted);font-size:12px}.preview-panel dd{margin:0;font-size:13px;font-weight:700}.preview-panel .total-row{color:var(--brand)}.preview-panel .total-row dd{font-size:17px}.line-divider{border-top:1px solid var(--border);margin:24px 0}.stock-check{color:var(--green-800);background:#f1f8f5;border:1px solid #cae3d8;border-radius:11px;align-items:center;gap:11px;margin-top:18px;padding:12px 14px;display:flex}.stock-check>span{flex-direction:column;flex:1;display:flex}.stock-check strong{font-size:11px}.stock-check small{color:#626f82;font-size:9px}.stock-check.invalid{color:#ae4f3c;background:#fff4f1;border-color:#efc6bd}.recent-guides{padding-bottom:10px}.guide-row{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin:0 17px;padding:13px 4px;display:flex}.guide-row>div{flex-direction:column;gap:4px;display:flex}.guide-row>div:last-child{align-items:flex-end}.guide-row strong{font-size:11px}.guide-row span:not(.status){color:var(--muted);font-size:9px}.guide-products-title{display:flex}.guide-products-title .button{margin-left:auto}.button.compact{min-height:40px;padding:0 13px;font-size:12px}.guide-line select,.guide-line input{min-width:0;min-height:44px;padding:0 9px;font-size:13px}.guide-line select{background-position:right 8px center;padding-right:30px}.line-description{flex-direction:column;min-width:0;display:flex}.line-description strong{overflow-wrap:anywhere;font-size:12px}.line-description small{color:var(--muted);margin-top:2px;font-size:10px}.line-total{text-align:right;font-size:13px}.danger-button{color:#b5523d}.danger-button:hover{background:#fff0ec}.inline-warning{color:#8a551f;background:#fff2e5;border-radius:10px;align-items:center;gap:9px;margin-top:12px;padding:12px 13px;font-size:12px;line-height:1.4;display:flex}.guide-side-summary{padding:20px}.guide-side-summary img{margin:4px 0 18px}.guide-side-summary dl{margin:0 0 16px}.guide-side-summary dl>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:10px;padding:9px 0;display:flex}.guide-side-summary dt{color:var(--muted);font-size:12px}.guide-side-summary dd{text-align:right;text-overflow:ellipsis;white-space:nowrap;max-width:170px;margin:0;font-size:12px;font-weight:700;overflow:hidden}.guide-side-summary .total-row dd{color:var(--brand);font-size:15px}.print-sheet{display:none}.warehouse-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:16px 20px 0;display:grid}.warehouse-summary button{border:1px solid var(--border);min-width:0;min-height:92px;color:var(--text);text-align:left;background:#f6faf8;border-radius:10px;padding:12px}.warehouse-summary button[aria-pressed=true]{border-color:var(--brand);background:var(--brand-soft)}.warehouse-summary strong,.warehouse-summary span,.warehouse-summary small{display:block}.warehouse-summary strong{font-size:12px}.warehouse-summary span{margin-top:5px;font-size:16px;font-weight:750}.warehouse-summary small{color:var(--muted);margin-top:3px;font-size:11px}@media (width<=760px){.warehouse-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 12px 0}}.export-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.export-toolbar>span{color:var(--muted);font-size:12px}.excel-download{min-width:0}.excel-download p{color:#b42318;max-width:320px;margin:6px 0 0;font-size:12px}.stock-operation-form{max-width:860px}.stock-operation-form textarea{border:1px solid var(--border);resize:vertical;width:100%;min-width:0;font:inherit;border-radius:8px;padding:12px}.stock-operation-review{border:1px solid var(--border);overflow-wrap:anywhere;background:#f6faf8;border-radius:10px;margin:20px 0;padding:16px}.stock-operation-review>strong{font-size:14px}.stock-operation-review p{margin:8px 0;font-size:13px}.stock-operation-review dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;display:grid}.stock-operation-review dt{color:var(--muted);font-size:11px}.stock-operation-review dd{margin:4px 0 0;font-size:19px;font-weight:800}.stock-operation-form button:focus-visible,.stock-operation-form textarea:focus-visible{outline:3px solid var(--brand);outline-offset:2px}.date-range-filter{flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px 20px;display:flex}.date-range-filter label{flex:0 190px;gap:6px;min-width:0;font-size:12px;font-weight:700;display:grid}.date-range-filter input{border:1px solid var(--border);width:100%;min-width:0;min-height:44px;color:var(--text);font:inherit;background:#fff;border-radius:8px;padding:9px}.date-range-filter p{color:#b42318;flex-basis:100%;margin:0;font-size:12px}@media (width<=540px){.date-range-filter label{flex:120px}}.guide-progress-badge{background:var(--brand-soft);min-height:40px;color:var(--brand);white-space:nowrap;border:1px solid #d2d6dd;border-radius:99px;align-items:center;padding:0 15px;font-size:12px;font-weight:800;display:inline-flex}.guide-wizard-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px;display:grid}.guide-wizard-layout.review{grid-template-columns:minmax(0,1.65fr) minmax(285px,.58fr)}.guide-wizard-panel{min-width:0;overflow:hidden}.guide-wizard-panel fieldset{border:0;min-width:0;margin:0;padding:clamp(20px,2.5vw,28px)}.guide-stepper{border-bottom:1px solid var(--border);background:#f7f9fb;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 clamp(20px,2.5vw,28px);display:grid}.guide-stepper button{color:#828ea0;background:0 0;border:0;justify-content:center;align-items:center;gap:9px;min-height:76px;padding:12px;display:flex;position:relative}.guide-stepper button:after{content:"";background:0 0;border-radius:99px 99px 0 0;height:3px;position:absolute;bottom:-1px;left:0;right:0}.guide-stepper button>span{background:#fff;border:1px solid #ccd1d8;border-radius:50%;place-items:center;width:30px;height:30px;font-size:12px;font-weight:800;display:grid}.guide-stepper button svg{width:16px}.guide-stepper button b{font-size:12px}.guide-stepper button.active{color:var(--brand)}.guide-stepper button.active:after{background:var(--brand)}.guide-stepper button.active>span{border-color:var(--brand);background:var(--brand);color:#fff}.guide-stepper button.complete{color:var(--brand)}.guide-stepper button.complete>span{background:var(--brand-soft);color:var(--brand);border-color:#bfd0ea}.guide-stepper button:disabled{cursor:default;opacity:1}.guide-empty-products{min-height:270px;color:var(--muted);text-align:center;background:#f8fafb;border:1px dashed #cbd0d7;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;padding:32px 20px;display:flex}.guide-empty-products>svg{color:#8e99aa;width:42px;height:42px;margin-bottom:14px}.guide-empty-products strong{color:#1b293f;margin-bottom:5px;font-size:15px}.guide-empty-products>span{max-width:340px;margin-bottom:18px;font-size:12px;line-height:1.45}.guide-total-review{border:1px solid var(--border);background:var(--border);border-radius:13px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:20px;display:grid;overflow:hidden}.guide-total-review>span{min-width:0;color:var(--muted);background:#f7f9fb;flex-direction:column;padding:15px;font-size:11px;display:flex}.guide-total-review strong{overflow-wrap:anywhere;color:#1a273c;margin-top:5px;font-family:Manrope,sans-serif;font-size:18px}.guide-total-review>span:last-child strong{color:#a56228}.guide-step-actions{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-top:26px;padding-top:20px;display:flex}.guide-saved{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:410px;padding:35px;display:flex}.guide-saved>span{background:var(--green-100);width:72px;height:72px;color:var(--green-800);border-radius:22px;place-items:center;margin-bottom:20px;display:grid}.guide-saved>span svg{width:34px;height:34px}.guide-saved h2{margin-bottom:9px;font-size:24px}.guide-saved p{max-width:520px;color:var(--muted);margin-bottom:24px;font-size:14px;line-height:1.55}.guide-saved>div{gap:10px;display:flex}.dispatch-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px;display:grid}.dispatch-summary>button{border:1px solid var(--border);min-width:0;min-height:84px;color:var(--muted);text-align:left;background:#ffffffe6;border-radius:15px;align-items:center;gap:13px;padding:16px 18px;display:flex;box-shadow:0 6px 20px #16372c09}.dispatch-summary>button:hover,.dispatch-summary>button.active{color:var(--brand);background:#f3f7fd;border-color:#b0b8c4}.dispatch-summary>button>svg{width:25px}.dispatch-summary>button>span{flex-direction:column;min-width:0;font-size:12px;display:flex}.dispatch-summary>button strong{color:#19263a;font-family:Manrope,sans-serif;font-size:22px}.dispatch-list{gap:14px;display:grid}.dispatch-card{overflow:hidden}.dispatch-card-head{justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 16px;display:flex}.dispatch-card-head h2{margin-bottom:6px;font-size:18px}.dispatch-card-head p{color:var(--muted);align-items:center;gap:5px;margin:0;font-size:12px;display:flex}.dispatch-meta{border:1px solid var(--border);background:#f7f9fb;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 24px;display:grid;overflow:hidden}.dispatch-meta>span{min-width:0;color:var(--muted);flex-direction:column;padding:12px 14px;font-size:10px;display:flex}.dispatch-meta>span+span{border-left:1px solid var(--border)}.dispatch-meta strong{color:#1c2a40;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:12px;overflow:hidden}.dispatch-items{padding:12px 24px 15px;display:grid}.dispatch-items>div{color:#293f60;border-bottom:1px solid #eaeef4;justify-content:space-between;gap:16px;padding:8px 0;font-size:12px;display:flex}.dispatch-items>div>span{overflow-wrap:anywhere;min-width:0}.dispatch-items>div>strong{flex:none}.dispatch-actions{border-top:1px solid var(--border);background:#fafbfd;justify-content:flex-end;align-items:center;gap:18px;padding:15px 24px;display:flex}.dispatch-actions>span{color:var(--muted);flex:1;font-size:11px;line-height:1.4}.kardex-list,.collection-list{display:grid}.kardex-row{border-top:1px solid #eaeef4;grid-template-columns:42px minmax(180px,1.2fr) minmax(180px,1fr) 70px;align-items:center;gap:13px;min-height:72px;padding:12px 20px;display:grid}.kardex-row>div{flex-direction:column;gap:3px;min-width:0;display:flex}.kardex-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.kardex-row span:not(.movement-icon){font-size:12px;font-weight:700}.kardex-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.kardex-row>b{text-align:right;font-family:Manrope,sans-serif}.compact-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-row{border-top:1px solid #eaeef4;grid-template-columns:38px minmax(180px,1fr) 90px minmax(125px,auto);align-items:center;gap:13px;min-height:72px;padding:12px 20px;display:grid}.collection-row>div:nth-child(2),.collection-amount{flex-direction:column;gap:3px;min-width:0;display:flex}.collection-row>div:nth-child(2) strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.collection-row small{color:var(--muted);font-size:11px}.collection-amount{align-items:flex-end}.collection-amount strong{font-family:Manrope,sans-serif;font-size:14px}.collection-amount span{min-height:15px;color:var(--muted);font-size:10px}.address-cell{white-space:normal;min-width:280px;max-width:420px}.report-filters{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px;padding:18px 20px;display:flex}.report-filters>div{flex:1;grid-template-columns:repeat(3,minmax(150px,220px));gap:12px;display:grid}.report-filters label{color:#334f78;flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:750;display:flex}.report-filters select{width:100%}.report-filters>span{color:var(--muted);flex:none;padding-bottom:14px;font-size:12px}.report-chart-grid{grid-template-columns:minmax(0,1.3fr) minmax(330px,.7fr);gap:20px;margin-bottom:20px;display:grid}.chart-panel{min-width:0;overflow:hidden}.chart-frame{width:100%;height:310px;padding:0 15px 18px 5px}.chart-loading{min-height:310px;color:var(--muted);place-items:center;font-size:12px;display:grid}.chart-empty{min-height:300px;color:var(--muted);place-items:center;padding:20px;font-size:12px;display:grid}.report-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px;display:grid}.report-ranking{padding:0 20px 18px;display:grid}.report-ranking>div{border-top:1px solid #eaeef4;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;display:grid}.rank-number{width:25px;height:25px;color:var(--brand);background:#ebeff4;border-radius:8px;place-items:center;font-size:10px;font-weight:800;display:grid}.report-ranking>div>span:nth-child(2){flex-direction:column;gap:3px;min-width:0;display:flex}.report-ranking strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.report-ranking small{color:var(--muted);font-size:10px;font-weight:500;display:block}.report-ranking>div>b{text-align:right;font-size:12px}.destination-list{padding:0 20px 18px;display:grid}.destination-list>div{border-top:1px solid #eaeef4;grid-template-columns:minmax(100px,.75fr) minmax(90px,1fr) 38px;align-items:center;gap:12px;min-height:58px;display:grid}.destination-list>div>span{flex-direction:column;gap:3px;min-width:0;display:flex}.destination-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.destination-list small{color:var(--muted);font-size:10px}.destination-list progress{appearance:none;background:#e5eaf1;border:0;border-radius:99px;width:100%;height:8px;overflow:hidden}.destination-list progress::-webkit-progress-bar{background:#e5eaf1;border-radius:99px}.destination-list progress::-webkit-progress-value{background:linear-gradient(90deg, var(--brand), #7fa3d6);border-radius:99px}.destination-list progress::-moz-progress-bar{background:linear-gradient(90deg, var(--brand), #7fa3d6);border-radius:99px}.destination-list b{text-align:right;font-size:11px}.report-detail-panel{margin-bottom:10px}.report-detail-head{align-items:center}.report-detail-head .search-field{max-width:390px}.sales-table-wrap{max-height:620px}.sales-table-wrap thead{z-index:2;position:sticky;top:0}.sales-table-wrap td{white-space:nowrap}.sales-table-wrap td:nth-child(3){white-space:normal;min-width:260px}.table-pagination{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;font-size:13px;display:flex}.table-pagination>div{align-items:center;gap:12px;display:flex}.table-pagination strong{color:var(--text);white-space:nowrap}.table-pagination .button{min-height:38px;padding:8px 14px}.mobile-record-list{display:none}.mobile-record-card{border:1px solid var(--border);background:#fff;border-radius:15px;min-width:0;overflow:hidden;box-shadow:0 5px 18px #16372c0b}.record-card-head{justify-content:space-between;align-items:flex-start;gap:14px;padding:16px;display:flex}.record-card-head>div{min-width:0}.record-card-head strong{overflow-wrap:anywhere;color:#182539;font-size:14px;line-height:1.35;display:block}.record-card-head small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.4;display:block}.record-kicker{color:var(--brand);letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;font-size:10px;font-weight:800;display:block}.product-card-title{align-items:center;gap:12px;display:flex}.record-stock-grid{background:#f7f9fb;border-top:1px solid #eaeef4;border-bottom:1px solid #eaeef4;grid-template-columns:repeat(3,1fr);display:grid}.record-stock-grid>div{text-align:center;min-width:0;padding:13px 10px}.record-stock-grid>div+div{border-left:1px solid #dee4ee}.record-stock-grid span{color:var(--muted);margin-bottom:2px;font-size:10px;display:block}.record-stock-grid strong{color:#1e2e47;font-family:Manrope,sans-serif;font-size:17px}.record-stock-grid .available strong{color:var(--green-600)}.record-card-foot{color:var(--muted);justify-content:space-between;align-items:center;gap:14px;padding:13px 16px;font-size:12px;display:flex}.record-card-foot strong{color:#1a273c}.customer-address{color:var(--muted);margin:0;padding:0 16px 15px;font-size:13px;line-height:1.5}.customer-card-foot{background:#f7f9fb;border-top:1px solid #eaeef4;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:14px;padding:13px 16px;display:grid}.customer-card-foot span{min-width:0;color:var(--muted);font-size:10px}.customer-card-foot span:last-child{text-align:right}.customer-card-foot strong{overflow-wrap:anywhere;color:#1b293e;margin-top:3px;font-size:12px;display:block}.record-money-grid{background:#f7f9fb;border-top:1px solid #eaeef4;border-bottom:1px solid #eaeef4;grid-template-columns:repeat(3,1fr);margin:0;display:grid}.record-money-grid>div{min-width:0;padding:13px 9px}.record-money-grid>div+div{border-left:1px solid #dee4ee}.record-money-grid dt{color:var(--muted);font-size:10px}.record-money-grid dd{overflow-wrap:anywhere;color:#1a283e;margin:3px 0 0;font-family:Manrope,sans-serif;font-size:13px;font-weight:750}.record-money-grid .pending dd{color:#a55e24}.alert{border-radius:12px;align-items:center;gap:10px;margin-bottom:20px;padding:14px 15px;font-size:13px;display:flex}.alert span{flex:1}.alert button{color:inherit;background:0 0;border:0;padding:3px;display:grid}.alert.error{color:#9d4334;background:#fff3f0;border:1px solid #f0c9c1}.alert.success{color:var(--green-800);background:#eff8f4;border:1px solid #c8e1d6}.app-loading,.content-loading{min-height:70vh;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.login-shell{background:#fff;grid-template-columns:minmax(430px,.85fr) 1.15fr;min-height:100vh;display:grid}.login-panel{flex-direction:column;width:min(430px,100% - 64px);margin:auto;display:flex}.login-panel h1{letter-spacing:-.05em;margin-bottom:18px;font-size:clamp(36px,5vw,56px);line-height:1.03}.login-copy{max-width:360px;color:var(--muted);margin-bottom:32px;line-height:1.6}.login-form{flex-direction:column;gap:17px;display:flex}.login-form input{min-height:48px}.form-error{color:#9d4334;background:#fff3f0;border-radius:10px;margin:-6px 0 0;padding:10px 12px;font-size:13px}.login-help{color:#7f8c9f;align-items:center;gap:6px;margin:21px auto 0;font-size:12px;display:flex}.login-visual{background:radial-gradient(circle at 70% 28%, #2f5c96 0, #1c3b66 38%, var(--navy) 74%);border-radius:26px;margin:16px;position:relative;overflow:hidden}.login-visual:before{content:"";background-image:linear-gradient(#ffffff09 1px,#0000 1px),linear-gradient(90deg,#ffffff09 1px,#0000 1px);background-size:46px 46px;position:absolute;inset:0}.visual-orbit{border:1px solid #ffffff1f;border-radius:50%;width:460px;height:460px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 80px #ffffff06,0 0 0 160px #ffffff05}.visual-card{z-index:2;color:#fff;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffff1a;border:1px solid #ffffff29;border-radius:16px;grid-template-columns:44px 1fr;width:245px;padding:18px;display:grid;position:absolute;box-shadow:0 24px 50px #00000040}.visual-card svg{background:#ffffff1f;border-radius:12px;grid-row:1/3;align-self:center;padding:10px}.visual-card span{color:#c7d5e8;font-size:11px}.visual-card strong{font-family:Manrope,sans-serif;font-size:16px}.card-one{top:28%;left:18%;transform:rotate(-3deg)}.card-two{bottom:26%;right:14%;transform:rotate(3deg)}@media (width<=1199px){.desktop-records{display:none}.mobile-record-list{gap:12px;padding:14px;display:grid}.sales-card-list{background:#f6f8fa}}@media (width<=1399px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=1100px){.form-layout{grid-template-columns:1fr}.preview-panel{position:static}.login-shell{grid-template-columns:1fr}.login-visual{display:none}.product-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-side-summary{position:static}.guide-wizard-layout.review,.report-chart-grid{grid-template-columns:1fr}}@media (width<=1120px){.sidebar{visibility:hidden;width:min(88vw,320px);transition:transform .22s;transform:translate(-105%)}.sidebar.open{visibility:visible;transform:translate(0)}.mobile-close{margin-left:auto;display:grid}.mobile-overlay{z-index:25;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#08181373;border:0;display:block;position:fixed;inset:0}.main-content{margin-left:0}.topbar{min-height:68px;padding:0 clamp(16px,3vw,30px)}.menu-button{color:#243753;margin-right:10px;display:grid}.page{padding:clamp(22px,3.5vw,34px) clamp(16px,3.5vw,34px) 108px}.mobile-bottom-nav{z-index:22;min-height:70px;padding:7px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffff5;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 30px #14302714}.mobile-bottom-nav button{color:#687589;background:0 0;border:0;border-radius:11px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:54px;padding:5px 2px;display:flex}.mobile-bottom-nav button svg{width:21px;height:21px}.mobile-bottom-nav button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;font-weight:700;overflow:hidden}.mobile-bottom-nav button.active{background:var(--brand-soft);color:var(--brand)}}@media (width<=1024px){.dashboard-layout,.dashboard-focus-grid,.dashboard-detail-grid{grid-template-columns:1fr}}@media (width<=760px){.page-heading{flex-direction:column;align-items:flex-start}.page-heading .button{width:100%}.page-heading-actions{flex-direction:column;align-items:stretch;width:100%}.heading-actions{flex-direction:column-reverse;align-items:stretch;width:100%}.toolbar{flex-direction:column}.toolbar>select{width:100%;min-width:0}.report-filters{flex-direction:column;align-items:stretch}.report-filters>div{grid-template-columns:1fr}.report-filters>span{padding:0}.report-insight-grid{grid-template-columns:1fr}.report-detail-head{flex-direction:column;align-items:stretch}.report-detail-head .search-field{width:100%;max-width:none}.dispatch-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-meta>span:nth-child(3){border-top:1px solid var(--border);border-left:0}.dispatch-meta>span:nth-child(4){border-top:1px solid var(--border)}}@media (width<=620px){.page{padding:22px 16px 100px}.page-heading{gap:19px;margin-bottom:23px}.page-heading h1{margin-bottom:7px;font-size:29px}.page-heading p:last-child{font-size:14px}.eyebrow{margin-bottom:8px;font-size:10px}.metric-card{min-height:142px;padding:18px}.metric-card>strong{font-size:27px}.product-form-grid{grid-template-columns:1fr}.product-form-grid .product-description{grid-column:auto}.product-form-actions{flex-direction:column;align-items:stretch}.product-form-actions>div{flex-direction:column-reverse}.form-grid.three,.form-grid.two{grid-template-columns:1fr}.form-actions{flex-direction:column;align-items:stretch}.guide-step-actions{flex-direction:column-reverse;align-items:stretch}.guide-step-actions>span{display:none}.guide-step-actions .button{width:100%}.guide-total-review{grid-template-columns:1fr}.guide-saved{min-height:360px;padding:28px 18px}.guide-saved>div{flex-direction:column-reverse;width:100%}.guide-saved .button{width:100%}.dispatch-summary{grid-template-columns:1fr}.dispatch-actions{flex-direction:column;align-items:stretch}.dispatch-actions .button{width:100%}.kardex-row{grid-template-columns:40px minmax(0,1fr) auto;padding:13px 16px}.kardex-row>div:nth-child(3){grid-column:2/-1}.kardex-row>b{grid-area:1/3}.collection-row{grid-template-columns:36px minmax(0,1fr) auto;padding:13px 16px}.collection-row>.status{grid-column:2;justify-self:start}.collection-amount{grid-area:1/3/3}.movement-row{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;padding:14px 0}.movement-reference{display:none}.movement-mobile-meta{color:#7d8a9d;margin-top:3px;font-size:10px;display:block}.topbar{min-height:64px;padding:0 13px}.topbar .button{width:42px;min-height:42px;padding:0;font-size:0}.topbar-title small{display:none}.login-panel{width:calc(100% - 38px);padding:32px 0}.guide-products-title{align-items:flex-start}.guide-products-title .button{width:auto;margin-left:auto}.table-pagination{flex-direction:column;align-items:stretch}.table-pagination>div{justify-content:space-between}.table-pagination .button{flex:1}.record-card-foot{flex-direction:column;align-items:flex-start;gap:6px}select,input{font-size:16px}}@media (width<=540px){.metrics-grid,.compact-metrics{grid-template-columns:1fr}.chart-frame{height:280px;padding-right:8px}}@media (width<=390px){.sidebar-head{padding-left:18px;padding-right:16px}.panel-head{padding:19px 17px 14px}.movement-list{padding-left:17px;padding-right:17px}.guide-products-title{flex-wrap:wrap}.guide-products-title .button{width:100%;margin:8px 0 0}.guide-stepper{padding:0 8px}.guide-stepper button{flex-direction:column;gap:4px;min-height:68px;padding:8px 4px}.guide-stepper button b{font-size:10px}.guide-wizard-panel fieldset{padding:18px 15px}.dispatch-card-head{padding:19px 17px 14px}.dispatch-meta{margin:0 17px}.dispatch-items{padding-left:17px;padding-right:17px}.dispatch-actions{padding:15px 17px}.attention-list{padding-left:8px;padding-right:8px}.attention-list button{grid-template-columns:38px minmax(0,1fr) auto 15px;gap:9px}.attention-list button>b{font-size:19px}.destination-list>div{grid-template-columns:minmax(90px,.8fr) minmax(70px,1fr) 34px;gap:8px}.customer-card-foot.single{grid-template-columns:1fr}.customer-card-foot.single span:last-child{text-align:left}.record-stock-grid span,.record-money-grid dt{font-size:9px}.record-money-grid dd{font-size:12px}}@media print{@page{size:A4 portrait;margin:7mm}:root,html,body{background:#fff;width:auto;min-width:0}body{margin:0}.sidebar,.topbar,.no-print,.alert,.mobile-overlay,.mobile-bottom-nav,[hidden]{display:none!important}.app-shell,.main-content{min-height:0;margin:0}.page{max-width:none;margin:0;padding:0}.print-sheet{color:#000;-webkit-print-color-adjust:exact;print-color-adjust:exact;width:196mm;padding:2mm 0 0;font-family:Arial Narrow,Arial,sans-serif;line-height:1.12;display:block}.print-header{grid-template-columns:minmax(0,1fr) 66mm;align-items:start;gap:5mm;display:grid}.print-letterhead{min-width:0}.print-brand{color:#29176b;align-items:center;gap:1mm;min-height:26mm;padding-left:5mm;display:flex}.print-brand img{object-fit:contain;flex:0 0 26mm;width:26mm;height:26mm}.print-brand>div{text-align:center;flex:1;min-width:0}.print-brand strong{text-transform:uppercase;border-bottom:.6pt solid #29176b;font-size:16pt;font-weight:900;display:block}.print-brand p{margin:1mm 0;font-size:8.5pt;font-weight:700}.print-brand address{margin:0;font-family:Arial,sans-serif;font-size:8.5pt;line-height:1.15}.print-customer-document{grid-template-columns:27mm 1fr 22mm;align-items:center;gap:3mm;min-height:7mm;margin:1mm 4mm 0 9mm;font-size:11pt;display:grid}.print-customer-document>b,.print-meta b{justify-content:space-between;font-size:10pt;display:flex}.print-customer-document time{text-align:right;font-weight:700}.print-guide-box{text-align:center;border:2pt solid #000}.print-guide-box>strong{padding:3mm 1mm;font-size:17pt;display:block}.print-guide-box h2{color:#000;border-top:2pt solid #000;border-bottom:2pt solid #000;margin:0;padding:2mm 1mm;font-family:inherit;font-size:17pt;font-weight:800;background:#4f81bd!important}.print-guide-box>div{grid-template-columns:12mm 7mm 1fr;align-items:center;padding:1.5mm 3mm;font-size:14pt;display:grid}.print-guide-box>div>b:last-child{text-align:center}.print-meta{grid-template-columns:minmax(0,1fr) 64mm;gap:1.5mm 5mm;margin:1mm 0 1mm 9mm;font-size:11pt;display:grid}.print-meta>div{grid-template-columns:27mm minmax(0,1fr);align-items:baseline;gap:3mm;min-width:0;display:grid}.print-meta strong{overflow-wrap:anywhere;text-transform:uppercase}.print-meta .print-seller{grid-template-columns:30mm minmax(0,1fr);gap:3mm}.print-meta .print-address{grid-column:1/-1;font-size:10pt}.print-lines{border:1.5pt solid #000}.print-line{break-inside:avoid;border-top:1pt solid #000;grid-template-columns:19% 6% 41% 11.5% 22.5%;min-height:6.25mm;display:grid}.print-line:first-child{border-top:0}.print-line>span{overflow-wrap:anywhere;border-left:1pt solid #000;justify-content:center;align-items:center;min-width:0;padding:.45mm 1mm;font-size:11pt;display:flex}.print-line>span:first-child{border-left:0}.print-line>span:nth-child(3){font-size:9pt}.print-line>span:nth-child(n+4){justify-content:flex-end;padding-right:2mm}.print-line-head{min-height:6.7mm;font-weight:800;background:#4f81bd!important}.print-line-head>span:nth-child(n){white-space:nowrap;justify-content:center;padding:.3mm;font-size:11pt}.print-bottom{break-inside:avoid;justify-content:space-between;align-items:start;margin-top:2mm;display:flex}.print-payment{text-align:center;border:1.5pt solid #000;width:70mm;margin-top:6mm}.print-payment>strong{color:#fff;min-height:6mm;padding:1.2mm .5mm;font-family:Arial,sans-serif;font-size:8.5pt;font-weight:800;display:block;background:#4f81bd!important}.print-payment .print-paid{border-top:1pt solid #000;border-bottom:1pt solid #000;min-height:5.5mm;padding:1mm;font-size:11pt;display:block}.print-terms{border-top:1pt solid #000;grid-template-columns:55% 45%;min-height:6mm;display:grid}.print-terms>*{padding:1mm;font-size:11pt}.print-terms>b{border-left:1pt solid #000;font-family:Arial,sans-serif;font-size:10pt;font-weight:900}.print-bottom dl{width:80mm;margin:0}.print-bottom dl>div{grid-template-columns:1fr 44mm;min-height:6mm;display:grid}.print-bottom dt,.print-bottom dd{justify-content:flex-end;align-items:center;font-size:11pt;font-weight:700;display:flex}.print-bottom dt{padding-right:1mm}.print-bottom dd{border:1.5pt solid #000;margin:0;padding:.6mm 3mm}.print-bottom dl>div+div dd{border-top:0}.print-credit-note{color:red;margin:2mm 1mm 0;font-size:11pt;font-weight:700}.print-signature{break-inside:avoid;width:70mm;margin-top:21mm;font-size:12pt;font-weight:700}.print-signature>div:first-child{text-align:center;border-top:3pt double #000;min-height:14mm;padding-top:1.5mm}.print-signature>div:last-child{border-bottom:3pt double #000;min-height:6mm;padding-left:15mm}.print-sheet-dense .print-line{min-height:5mm}.print-sheet-dense .print-line>span{font-size:8pt}.print-sheet-dense .print-signature{margin-top:8mm}}.field-hint{color:var(--muted);margin:12px 0;font-size:13px;line-height:1.6}.product-picker{margin-bottom:20px}.product-picker-results{gap:8px;margin-top:12px;display:grid}.product-picker-results button{border:1px solid var(--border);min-width:0;min-height:68px;color:var(--text);text-align:left;background:#f8fbf9;border-radius:12px;align-items:center;gap:12px;padding:12px;display:flex}.product-picker-results button:hover{border-color:var(--brand);background:#f3f7fd}.product-picker-results button:disabled{opacity:.5;cursor:not-allowed}.product-picker-results button>span:first-child{flex:1;min-width:0}.product-picker-results button>span:nth-child(2){text-align:right;flex-shrink:0}.product-picker-results b,.product-picker-results strong{font-size:13px;display:block}.product-picker-results small{color:var(--muted);overflow-wrap:anywhere;margin-top:4px;font-size:12px;display:block}.product-picker-results strong{color:var(--brand)}.review-order{margin:20px 0}.review-order h3{margin-bottom:8px;font-size:17px}.review-order p{color:var(--muted);font-size:13px;line-height:1.5}.review-order>div{border-top:1px solid var(--border);justify-content:space-between;gap:18px;padding:14px 0;font-size:13px;display:flex}.review-order>div>span{overflow-wrap:anywhere;min-width:0}.review-order>div>strong{flex-shrink:0}.payment-help{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-top:16px;font-size:13px;line-height:1.6;display:flex}.payment-help .button{flex-shrink:0}.dispatch-confirm{background:#eff7f2}.toolbar{flex-wrap:wrap}.toolbar>select{flex:180px;min-width:0;max-width:100%}.toolbar .search-field{flex:2 260px}.icon-button,.text-button,.table-pagination .button,.alert button{min-width:44px;min-height:44px}.collection-row>div:nth-child(2) strong{white-space:normal;overflow-wrap:anywhere}button:focus-visible,input:focus-visible,select:focus-visible{outline-color:var(--brand)}@media (width<=760px){.toolbar>select,.toolbar .search-field{flex-basis:auto}.payment-help{flex-direction:column;align-items:stretch}.review-order>div{flex-direction:column;gap:6px}}@media (width<=620px){.topbar .button{width:44px;min-height:44px}.topbar-refresh-label{display:none}.dashboard-focus-grid{margin-top:0}.product-picker-results button{gap:8px}.product-picker-results button>svg{display:none}.product-picker-results strong{font-size:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}@media (width<=540px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dashboard-metrics .metric-card{min-height:136px;padding:14px}.dashboard-metrics .metric-card-heading{gap:7px;margin-bottom:12px;font-size:11px}.dashboard-metrics .metric-icon{border-radius:9px;width:30px;height:30px}.dashboard-metrics .metric-icon svg{width:17px}.dashboard-metrics .metric-card>strong{font-size:20px}.dashboard-metrics .metric-card>small{font-size:11px}}@media (width<=1100px){.guide-side-summary{display:none}}@media (width<=620px){.guide-total-review>span{justify-content:space-between;align-items:center;gap:12px;padding:13px;display:flex}.guide-total-review strong{margin:0;font-size:18px}.guide-products-title{flex-wrap:nowrap}}.detail-dialog{color:#203c32;background:#f4f6f9;border:1px solid #d7dee9;border-radius:20px;width:min(1100px,100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;box-shadow:0 24px 90px #102e3340}.detail-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#102b31a6}.detail-header{z-index:2;background:#fff;border-bottom:1px solid #d7dee9;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex;position:sticky;top:0}.detail-header>div{min-width:0}.detail-header h2{overflow-wrap:anywhere;font-size:22px}.detail-header .button{flex-shrink:0;min-width:44px;min-height:44px}.detail-body{gap:24px;min-width:0;padding:24px;display:grid}.detail-body>*,.detail-body .metric-card{min-width:0}.detail-body h3{margin-bottom:12px;font-weight:700}.detail-profile,.detail-facts{background:#fff;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:20px;display:grid}.detail-profile span,.detail-profile small,.detail-facts dt{color:#606c7f;font-size:12px;display:block}.detail-profile strong,.detail-facts dd{overflow-wrap:anywhere;margin-top:5px;display:block}.detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.detail-note,.detail-rule{color:#525c6c;font-size:13px;line-height:1.6}.detail-records{gap:10px;display:grid}.detail-record{background:#fff;border:1px solid #d7dee9;border-radius:14px;overflow:hidden}.detail-record summary{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:16px;display:flex}.detail-record summary>span{overflow-wrap:anywhere;min-width:0}.detail-record summary small{color:#606c7f;margin-top:4px;font-size:12px;display:block}.detail-record .detail-note{padding:0 20px 20px}.detail-link{text-align:left;min-height:44px;color:var(--brand);overflow-wrap:anywhere;cursor:pointer;flex-direction:column;justify-content:center;align-items:flex-start;font-weight:700;display:inline-flex}.detail-link span{color:#586374;font-size:11px;font-weight:500}.detail-link:hover{text-decoration:underline}.detail-empty{text-align:center;color:#606c7f;padding:24px}.commission-months{gap:16px;max-height:300px;display:grid;overflow:auto}.commission-month{grid-template-columns:65px minmax(20px,1fr) 95px;align-items:center;gap:12px;font-size:12px;display:grid}.commission-month>div{background:#ebeff4;border-radius:5px;height:16px;overflow:hidden}.commission-month>div span{background:var(--brand);border-radius:5px;height:100%;display:block}.photo-button{cursor:pointer;border-radius:10px;flex-shrink:0;min-width:48px;min-height:48px}.photo-preview{object-fit:contain;background:#fff;border-radius:14px;width:100%;max-height:50dvh}.photo-picker{gap:12px;display:grid}.photo-picker input{max-width:100%}.photo-message{color:var(--muted);font-size:13px}@media (width>=1000px){.detail-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=600px){.detail-body{gap:18px;padding:14px}.detail-header{padding:14px}.detail-header h2{font-size:19px}.detail-profile,.detail-facts{grid-template-columns:1fr;padding:14px}.detail-metrics{gap:10px}.detail-metrics .metric-card{padding:12px}.detail-metrics .metric-card>strong{font-size:21px}}.picker-photo{object-fit:contain;background:#fff;border-radius:8px;flex-shrink:0;width:44px;height:44px}.detail-record summary>span:last-child{text-align:right;flex-shrink:0;max-width:48%}.detail-record summary>span:last-child strong{white-space:nowrap}@media (width<=440px){.detail-metrics{grid-template-columns:1fr}.detail-metrics .metric-card{padding:16px}.detail-metrics .metric-card>strong{font-size:26px}}.photo-picker>*,.photo-picker label{min-width:0}.photo-picker label{gap:8px;display:grid}.photo-picker input{box-sizing:border-box;width:100%;min-width:0}.filter-row{display:contents}.filter-row>select{flex:180px;min-width:0;max-width:100%}select{appearance:none;text-overflow:ellipsis;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 12px center no-repeat;padding-right:38px;font-weight:500}select:disabled{color:var(--muted);background-color:#f3f5f9}input::placeholder{color:#8391a5}.search-field input{min-height:46px;padding:0}.metric-card:hover{transform:none}.empty-state{text-align:center;min-height:128px;padding:16px}.alert{box-shadow:var(--shadow)}.status{letter-spacing:.01em}.mobile-bottom-nav button:focus-visible{outline-offset:-3px}@media (width<=1120px){.topbar{min-height:60px}.mobile-bottom-nav{min-height:64px;padding-top:6px}.mobile-bottom-nav button{gap:3px;min-height:50px}.mobile-bottom-nav button span{font-size:11px}}@media (width<=620px){.page{padding:16px 16px 96px}.topbar{min-height:56px;padding:0 8px 0 6px}.menu-button{margin-right:4px}.topbar-title span{font-size:16px}.alert{z-index:15;margin-bottom:14px;position:sticky;top:64px}.page-heading{gap:14px;margin-bottom:16px}.page-heading h1{margin-bottom:4px;font-size:26px}.page-heading p:last-child{font-size:14px;line-height:1.45}.eyebrow{margin-bottom:6px}.metrics-grid:not(.sales-metrics){border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;border-radius:14px;grid-template-columns:1fr;gap:0;margin-bottom:16px;overflow:hidden}.detail-metrics.metrics-grid{margin-bottom:0}.metrics-grid .metric-card{border:0;border-top:1px solid var(--border);min-height:0;box-shadow:none;background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:12px 14px;display:grid}.metrics-grid .metric-card:first-child{border-top:0}.metrics-grid .metric-card-heading{gap:9px;margin:0;font-size:13px}.metrics-grid .metric-icon{border-radius:9px;width:30px;height:30px}.metrics-grid .metric-icon svg{width:16px}.metrics-grid .metric-card>strong{text-align:right;letter-spacing:-.03em;font-size:19px}.metrics-grid .metric-card>small{grid-column:1/-1;margin-top:0;padding-left:39px;font-size:11px}.detail-metrics .metric-card{padding:12px 14px}.detail-metrics .metric-card>strong{font-size:19px}.panel{border-radius:14px}.panel-head{padding:16px 16px 12px}.panel-head h2{font-size:17px}.toolbar{flex-flow:wrap;gap:10px;padding:12px}.toolbar>*,.toolbar .search-field{flex:100%;min-width:0}.export-toolbar{flex-wrap:nowrap;padding:8px 12px}.export-toolbar>span{flex:auto;min-width:0;font-size:12px}.export-toolbar .excel-download{flex:none}.page-heading-actions{flex-direction:row}.page-heading-actions>.button{flex:auto;width:auto}.summary-pill{flex:none;min-height:46px;padding:8px 12px}.export-toolbar .button{white-space:nowrap;min-height:44px;padding:0 12px}.date-range-filter{gap:10px;padding:4px 12px 12px}.filter-row{scrollbar-width:none;flex:100%;gap:8px;margin:-3px -12px;padding:3px 12px;scroll-padding-inline:12px;display:flex;overflow-x:auto}.filter-row::-webkit-scrollbar{display:none}.filter-row>select{border-radius:99px;flex:none;width:auto;min-height:44px;padding-left:14px}.warehouse-summary{gap:8px;padding:12px 12px 0}.warehouse-summary button{min-height:0;padding:10px 12px}.warehouse-summary span{margin-top:2px;font-size:15px}.mobile-record-list{gap:10px;padding:10px}.mobile-record-card{box-shadow:none;border-radius:13px}.record-card-head{gap:10px;padding:12px 12px 10px}.record-card-head strong{font-size:14px}.product-card-title{align-items:flex-start;gap:10px}.record-stock-grid>div{padding:8px 6px}.record-stock-grid strong{font-size:16px}.record-card-foot{padding:10px 12px}.customer-address{padding:0 12px 12px}.customer-card-foot{padding:10px 12px}.dispatch-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}.dispatch-summary>button{text-align:center;justify-content:center;gap:0;min-height:64px;padding:8px 6px}.dispatch-summary>button>svg{display:none}.dispatch-summary>button>span{align-items:center;font-size:11px;line-height:1.25}.dispatch-summary>button strong{font-size:20px}.chart-frame{height:240px}.empty-state{min-height:96px}.dashboard-hero{margin-bottom:18px}}.section-tabs{border:1px solid var(--border);box-shadow:var(--shadow);scrollbar-width:none;background:#fff;border-radius:13px;gap:6px;margin:-8px 0 20px;padding:4px;display:flex;overflow-x:auto}.section-tabs::-webkit-scrollbar{display:none}.section-tabs button{min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:10px;flex:1 0 auto;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:700;display:inline-flex}.section-tabs button:hover{color:var(--text);background:#f3f6fb}.section-tabs button.active{background:var(--brand);color:#fff}.section-tabs b{color:#8a4b12;background:#fde7c7;border-radius:99px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;display:grid}.section-tabs button.active b{background:var(--accent);color:#172e4c}.row-actions{flex-wrap:wrap;gap:6px;display:flex}.row-actions .button.compact{min-height:36px}.record-card-actions{padding:0 16px 14px}.record-card-actions .row-actions .button{flex:1;min-height:44px}.report-more{justify-content:center;margin:18px 0;display:flex}.rotate-180{transform:rotate(180deg)}.receivable-list{display:grid}.receivable-row{border-top:1px solid var(--border);grid-template-columns:minmax(0,1.4fr) auto minmax(0,1.5fr) auto;align-items:center;gap:10px 18px;padding:14px 20px;display:grid}.receivable-row:first-child{border-top:0}.receivable-main{flex-direction:column;gap:2px;min-width:0;display:flex}.receivable-main strong{overflow-wrap:anywhere;font-size:14px}.receivable-main small{color:var(--muted);font-size:12px}.receivable-amounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.receivable-amounts dt{color:var(--muted);font-size:11px}.receivable-amounts dd{white-space:nowrap;margin:2px 0 0;font-family:Manrope,sans-serif;font-size:14px;font-weight:750}.receivable-amounts .pending dd{color:#a55e24}.receivable-actions{justify-content:flex-end;gap:8px;display:flex}.inline-payment{background:#f6f9fe;border:1px solid #cfdcef;border-radius:12px;grid-column:1/-1;padding:16px}.inline-payment-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.inline-payment-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;display:flex}.inline-payment-actions>span{flex:1}@media (width<=900px){.receivable-row{grid-template-columns:minmax(0,1fr) auto}.receivable-amounts,.receivable-actions{grid-column:1/-1}.receivable-actions .button{flex:1}.inline-payment-fields{grid-template-columns:1fr}}@media (width<=620px){.section-tabs{margin:-4px 0 14px}.section-tabs button{padding:0 12px;font-size:13px}.receivable-row,.inline-payment{padding:12px}.inline-payment-actions{flex-direction:column;align-items:stretch}.inline-payment-actions>span{display:none}.dispatch-actions{flex-wrap:wrap}}.guide-sheet{gap:16px;max-width:1100px;display:grid}.guide-block{min-width:0;padding:20px 22px}.guide-block-title{align-items:center;gap:10px;margin-bottom:14px;display:flex}.guide-block-title>span{background:var(--brand);color:#fff;border-radius:8px;place-items:center;width:28px;height:28px;font-size:13px;font-weight:800;display:grid}.guide-block-title h2{margin:0;font-size:18px}.guide-block-title small{color:var(--muted);margin-left:auto;font-size:12px}.guide-number{border:2px solid var(--brand);background:#fff;border-radius:12px;flex-direction:column;align-items:flex-end;padding:10px 16px;display:flex}.guide-number span{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:700}.guide-number strong{font-family:Manrope,sans-serif;font-size:18px}.picker{gap:8px;display:grid}.picker-results{gap:6px;display:grid}.picker-results button{border:1px solid var(--border);min-width:0;min-height:56px;color:var(--text);text-align:left;background:#f8fafd;border-radius:11px;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 12px;display:flex}.picker-results button:hover,.picker-results button:focus-visible{border-color:var(--brand);background:var(--brand-soft)}.picker-results button>span:not(.picker-meta),.picker-results button>b+small{flex:200px;min-width:0}.picker-results b{font-size:14px;display:block}.picker-results small{color:var(--muted);overflow-wrap:anywhere;font-size:12px;display:block}.picker-results button>b{flex:100%}.picker-meta{text-align:right;margin-left:auto}.picker-meta strong{color:var(--green-800);font-size:13px;display:block}.chosen-customer{background:var(--brand-soft);border:1px solid #cfdcef;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;display:flex}.chosen-customer>svg{color:var(--brand);flex:none}.chosen-customer>div{flex:1;min-width:0}.chosen-customer strong{overflow-wrap:anywhere;font-size:15px;display:block}.chosen-customer small{color:var(--muted);overflow-wrap:anywhere;margin-top:2px;font-size:12px;display:block}.guide-fields{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px 14px;margin-top:14px;display:grid}.guide-fields label{color:#46546b;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:700;display:flex}.guide-lines{border:1px solid var(--border);border-radius:12px;margin-top:14px;overflow:hidden}.guide-lines-head,.guide-line-row{grid-template-columns:110px minmax(0,1fr) 90px 110px 120px 44px;align-items:center;gap:10px;padding:8px 12px;display:grid}.guide-lines-head{background:var(--brand-dark);color:#fff;letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:800}.guide-lines-head span:nth-child(5){text-align:right}.guide-line-row{border-top:1px solid var(--border)}.guide-line-row:first-of-type{border-top:0}.guide-line-row.invalid{background:#fff5f2}.guide-line-row>b{overflow-wrap:anywhere;font-size:13px}.guide-line-row input{width:100%;min-height:44px;padding:0 10px;font-size:14px}.guide-line-row .field-label{display:none}.guide-totals{border:1px solid var(--border);background:var(--border);border-radius:12px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1px;margin:16px 0 0;display:grid;overflow:hidden}.guide-totals>div{background:#f8fafd;padding:12px 14px}.guide-totals dt{color:var(--muted);font-size:12px}.guide-totals dd{margin:4px 0 0;font-family:Manrope,sans-serif;font-size:18px;font-weight:800}.guide-totals .grand{background:var(--brand-soft)}.guide-totals .grand dd{color:var(--brand);font-size:21px}.guide-totals .pending dd{color:#a55e24}.guide-save{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;margin-top:18px;padding-top:16px;display:flex}.guide-save>span{color:var(--muted);font-size:13px}.guide-save .button{min-width:200px}.guide-block .payment-help{margin-top:12px}@media (width<=760px){.guide-fields{grid-template-columns:1fr}.guide-lines-head{display:none}.guide-line-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;grid-template-areas:"code code remove""desc desc desc""qty price price""total total total";gap:8px;padding:12px}.guide-line-row>b{grid-area:code;font-size:14px}.guide-line-row>.line-description{grid-area:desc}.guide-line-row>label:first-of-type{grid-area:qty}.guide-line-row>label:nth-of-type(2){grid-area:price}.guide-line-row>.line-total{grid-area:total;font-size:15px}.guide-line-row>button{grid-area:remove;justify-self:end}.guide-line-row .field-label{color:var(--muted);margin-bottom:4px;font-size:11px;font-weight:700;display:block}.guide-save{flex-direction:column;align-items:stretch}.guide-save .button{width:100%;min-width:0}.guide-number{align-items:flex-start}}@media (width<=620px){.guide-block{padding:14px}.guide-sheet{gap:12px}.chosen-customer{flex-wrap:wrap}.chosen-customer .button{margin-left:auto}}.purchase-fields{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px 14px;display:grid}.purchase-fields label{color:#46546b;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:700;display:flex}.purchase-fields .lookup-controls{margin-bottom:6px}.picker-new{background:#fff!important;border-style:dashed!important}.picker-new svg{color:var(--brand)}.purchase-lines{gap:10px;margin-top:14px;display:grid}.purchase-line{border:1px solid var(--border);background:#fbfcfe;border-radius:12px;gap:10px;padding:12px 14px;display:grid}.purchase-line-head{align-items:center;gap:10px;display:flex}.purchase-line-head b{overflow-wrap:anywhere;font-size:15px}.purchase-line-head .icon-button{margin-left:auto}.purchase-line-name{color:var(--text);margin:0;font-size:13px;font-weight:700}label.purchase-line-name{color:#46546b;flex-direction:column;gap:6px;display:flex}.purchase-line-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.purchase-line-fields label{color:#46546b;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:700;display:flex}.purchase-line-fields input{min-height:44px}.purchase-line-costs{flex-wrap:wrap;gap:8px 24px;margin:0;display:flex}.purchase-line-costs div{align-items:baseline;gap:8px;display:flex}.purchase-line-costs dt{color:var(--muted);font-size:12px}.purchase-line-costs dd{margin:0;font-size:14px;font-weight:800}@media (width<=1100px){.purchase-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.purchase-fields,.purchase-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-fields>:first-child,.purchase-fields>label:nth-child(2){grid-column:1/-1}}.search-field input:focus-visible{outline:none}.search-field:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}@media (width<=620px){.guide-totals .grand{grid-column:1/-1}}.location-chips{flex-wrap:wrap;gap:6px;display:flex}.location-chips button{border:1px solid var(--border);min-height:36px;color:var(--text);white-space:nowrap;background:#f8fafd;border-radius:99px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex}.location-chips button:hover{border-color:var(--brand);background:var(--brand-soft)}.location-chips b{color:var(--green-800)}.record-card-foot .location-chips{flex:1}@media (width<=620px){.location-chips button{min-height:44px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@media screen{.dashboard-hero{align-items:center;padding:0}.dashboard-hero .eyebrow{letter-spacing:.16em;font-size:10px}.dashboard-hero h1{font-size:clamp(30px,3vw,38px)}.dashboard-hero p:last-child{font-size:14px}.dashboard-hero-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:12px;display:flex}.dashboard-date{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.dashboard-modules{margin-bottom:26px}.section-label{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.section-label h2{letter-spacing:-.025em;margin:0;font-size:15px}.section-label>span{color:var(--muted);font-size:12px}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.module-card{border:1px solid var(--border);min-width:0;color:var(--text);text-align:left;box-shadow:var(--shadow);background:#fff;border-radius:16px;flex-direction:column;align-items:flex-start;gap:15px;padding:18px;transition:border-color .18s,box-shadow .18s;display:flex;position:relative}.module-card:hover{box-shadow:var(--shadow-hover);border-color:#9cb3d3}.module-icon{color:#315d9c;background:#eaf0fb;border-radius:12px;flex:none;place-items:center;width:43px;height:43px;display:grid}.module-card.amber .module-icon{color:#96601c;background:#fff1dd}.module-card.violet .module-icon{color:#7860a2;background:#f0ebfa}.module-card.teal .module-icon{color:#34765d;background:#e4f3ed}.module-copy{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.module-copy strong{font-size:14px;font-weight:750;line-height:1.3}.module-copy small{color:var(--muted);font-size:12px;line-height:1.5}.module-arrow{color:#8090a6;position:absolute;top:19px;right:16px}.module-card.featured{color:#fff;background:#1c3b66;border-color:#1c3b66}.module-card.featured:hover{background:#244775}.module-card.featured .module-icon{color:#1c3b66;background:#d3ed8c}.module-card.featured small{color:#c7d5e8}.module-card.featured .module-arrow{color:#d3ed8c}.dashboard-sales{margin-bottom:22px;overflow:hidden}.dashboard-sales .panel-head{padding-bottom:8px}.dashboard-sales .date-range-filter{padding:8px 24px 18px}.sales-metrics{border-top:1px solid var(--border);background:#fcfdff;grid-template-columns:1fr;gap:0;margin:0}.sales-metrics .metric-card{border:0;border-bottom:1px solid var(--border);min-height:0;box-shadow:none;background:0 0;border-radius:0;padding:19px 24px}.sales-metrics .metric-card:last-child{border-bottom:0}.sales-metrics .metric-card:hover{transform:none}.sales-metrics .metric-card-heading{gap:8px;margin-bottom:12px;font-size:12px}.sales-metrics .metric-icon{border-radius:9px;width:30px;height:30px}.sales-metrics .metric-icon svg{width:17px}.sales-metrics .metric-card>strong{color:var(--text);font-size:clamp(24px,2.5vw,32px)}.sales-metrics .metric-card>small{font-size:11px}.sales-empty{border-top:1px solid var(--border);color:var(--muted);margin:0;padding:12px 24px;font-size:13px}@media (width>=620px){.module-grid,.sales-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-metrics .metric-card{border-right:1px solid var(--border);border-bottom:0}.sales-metrics .metric-card:last-child{border-right:0}}@media (width>=1280px){.module-card{flex-direction:row;align-items:center;gap:13px;min-height:125px;padding:22px 30px 22px 20px}.module-copy strong{font-size:15px}.module-arrow{width:15px;top:13px;right:11px}}@media (width<=760px){.dashboard-hero{align-items:stretch;gap:16px}.dashboard-hero-actions{flex-direction:row;justify-content:space-between;align-items:center;gap:10px}.dashboard-hero-actions .button{width:auto}}@media (width<=619px){.section-label>span{display:none}.module-card{gap:13px;padding:15px}.module-copy strong{font-size:13px}.module-copy small,.dashboard-date{font-size:11px}.dashboard-hero-actions .button{padding:0 12px;font-size:12px}.dashboard-sales .panel-head{gap:10px;padding:18px 16px 8px}.dashboard-sales .panel-head p{font-size:12px}.dashboard-sales .text-button{flex-shrink:0;font-size:11px}.dashboard-sales .date-range-filter{padding:8px 16px 16px}.sales-metrics .metric-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px;padding:15px 16px;display:grid}.sales-metrics .metric-card-heading{margin-bottom:0;font-size:11px}.sales-metrics .metric-card>strong{text-align:right;font-size:21px}.sales-metrics .metric-card>small{grid-column:1/-1;margin-top:0;padding-left:38px}}}@media screen and (width>=1100px){.module-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.commission-filters,.commission-settings,.commission-summary{min-width:0;margin-bottom:20px}.commission-filters .toolbar{align-items:flex-end}.commission-seller,.commission-rule-form label{gap:7px;min-width:0;font-size:12px;font-weight:700;display:grid}.commission-seller{flex:0 240px}.commission-seller select,.commission-rule-form select,.commission-rule-form input{border:1px solid var(--border);width:100%;min-width:0;min-height:44px;color:var(--text);background-color:#fff;border-radius:9px;padding:10px}.commission-seller select,.commission-rule-form select{padding-right:38px}.commission-rule-form{border:0;grid-template-columns:minmax(0,1fr);align-items:end;gap:15px;margin:0;padding:0 20px;display:grid}.commission-rule-help,.commission-feedback{color:var(--muted);margin:14px 20px;font-size:12px;line-height:1.6}.commission-feedback{color:#23543b;background:#eaf5ee;border-radius:10px;padding:12px}.commission-feedback.error{color:#a33220;background:#fff0ed}.commission-rule-list{border-top:1px solid var(--border);padding:10px 20px;display:grid}.commission-rule-list>div{flex-wrap:wrap;align-items:center;gap:5px 12px;padding:8px 0;display:flex}.commission-rule-list strong{overflow-wrap:anywhere;flex:160px;font-size:13px}.commission-rule-list span{color:var(--muted);font-size:12px}.commission-rule-list>p{color:var(--muted);margin:8px 0;font-size:12px}.commission-note{border:1px solid var(--border);color:#455873;background:#eef3fa;border-radius:12px;margin:0 0 20px;padding:14px 18px;font-size:13px;line-height:1.6}.commission-settings>.commission-note{margin:0 20px 20px}.commission-seller-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:12px;padding:0 20px 20px;display:grid}.commission-seller-grid article{border:1px solid var(--border);border-radius:12px;flex-direction:column;gap:9px;min-width:0;padding:16px;display:flex}.commission-seller-grid strong{overflow-wrap:anywhere;font-size:13px}.commission-seller-grid b{font-size:21px}.commission-seller-grid small{color:var(--muted);font-size:12px}.supplier-directory{gap:12px;padding:20px;display:grid}.supplier-card{border:1px solid var(--border);border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;min-width:0;padding:18px;display:flex}.supplier-card>div{flex:1;min-width:0}.supplier-card h2{overflow-wrap:anywhere;margin:0 0 5px;font-size:16px}.supplier-card p{color:var(--muted);margin:0;font-size:12px}@media (width>=768px){.commission-rule-form{grid-template-columns:minmax(0,1.1fr) minmax(0,.6fr) minmax(0,1.3fr)}.commission-rule-form .button{grid-column:1/-1;justify-self:end}}@media (width>=1440px){.commission-rule-form{grid-template-columns:minmax(0,1fr) minmax(0,.6fr) minmax(0,1.2fr) auto}.commission-rule-form .button{grid-column:auto}}@media (width<=760px){.commission-seller{flex:auto;width:100%}.commission-filters .toolbar{align-items:stretch}.supplier-card .button{flex-basis:100%}}.commission-bulk{background:#f6f9fe;border:1px dashed #bfd0ea;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 20px 0;padding:12px 14px;font-size:13px;display:flex}.commission-bulk>span{color:#34465f;flex:260px}
