@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--background:210 40% 98%;--foreground:222 47% 11%;--card:0 0% 100%;--primary:222 16% 28%;--primary-foreground:210 40% 98%;--secondary:215 28% 92%;--muted:214 32% 94%;--muted-foreground:216 15% 40%;--accent:220 18% 92%;--border:214 32% 91%;--destructive:0 84% 60%;--radius:.75rem;color:hsl(var(--foreground));background:hsl(var(--background));font-synthesis:none;-webkit-font-smoothing:antialiased;font-family:Inter Variable,Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;font-weight:400}*{box-sizing:border-box}html{scrollbar-gutter:stable}body{background:hsl(var(--background));margin:0}button,input,select{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}svg{flex-shrink:0}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.75px;margin-bottom:6px;font-size:30px;font-weight:600;line-height:1.2}h2{margin-bottom:8px;font-size:18px;font-weight:600;line-height:1.4}h3{font-size:16px;font-weight:600}p{line-height:1.6}.muted{color:hsl(var(--muted-foreground))}.eyebrow{letter-spacing:.5px;color:hsl(var(--muted-foreground));font-size:11px;font-weight:600}.app-shell{height:100dvh;display:flex;overflow:hidden}.sidebar{background:#f2f4f7;flex-direction:column;flex-shrink:0;gap:4px;height:100dvh;padding:16px 12px;transition:width .2s ease-in-out;display:flex;overflow:hidden auto}.sidebar.expanded{width:240px}.sidebar.collapsed{align-items:center;width:64px;padding-inline:0}.sidebar-heading{justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding-inline:4px;display:flex}.brand{letter-spacing:-.8px;align-items:center;gap:7px;font-size:19px;font-weight:700;display:flex}.brand span{text-overflow:ellipsis;overflow:hidden}.icon-button{color:hsl(var(--muted-foreground));background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:8px;display:inline-flex}.icon-button:hover{background:hsl(var(--accent));color:hsl(var(--foreground))}.sidebar-expand{background:hsl(var(--card));border:0;border-radius:12px;place-items:center;width:40px;height:40px;padding:0;display:grid;box-shadow:0 1px 2px #0000000d}.sidebar-expand:hover{background:hsl(var(--accent))}.sidebar nav{flex-direction:column;gap:4px;margin-top:8px;display:flex}.sidebar.collapsed nav{align-items:center;width:100%}.nav-section{letter-spacing:.4px;text-transform:uppercase;color:hsl(var(--muted-foreground) / .8);margin-bottom:0;padding:8px 8px 4px;font-size:11px;font-weight:600}.nav-item{height:40px;color:hsl(var(--foreground) / .85);border-radius:12px;align-items:center;gap:12px;padding:0 12px;font-size:14px;font-weight:500;display:flex}.nav-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.nav-item:hover{background:hsl(var(--accent) / .6)}.nav-item.active{color:hsl(var(--foreground));background:#e3e7ee}.sidebar.collapsed .nav-item{border-radius:8px;justify-content:center;width:56px;height:48px;padding:0}.sidebar-footer{border-top:1px solid hsl(var(--border) / .7);color:hsl(var(--muted-foreground));align-items:center;gap:12px;margin-top:auto;padding:16px 4px 0;font-size:12px;display:flex}.sidebar.collapsed .sidebar-footer{flex-direction:column;width:48px;padding-inline:0}.sidebar-backdrop{display:none}.workspace-picker{border-bottom:1px solid hsl(var(--border));margin-top:12px;padding:8px 4px 12px}.workspace-picker label{letter-spacing:.4px;color:hsl(var(--muted-foreground));margin:0 0 8px;font-size:11px;font-weight:600;display:block}.select-wrap{align-items:center;gap:6px;display:flex}.select-wrap select{background:0 0;border:0;width:100%;min-width:0;padding:6px 0;font-size:13px}.text-button{color:hsl(var(--muted-foreground));background:0 0;border:0;padding:8px 0;font-size:12px}.tenant-expand{margin-top:12px}.main-shell{flex:1;min-width:0;overflow-y:auto}main#main-content{max-width:1200px;margin-inline:auto;padding:32px 32px 48px}.page-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.page-heading>div{min-width:0}.page-heading .muted{margin:0;font-size:14px}.button{white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:6px 14px;font-size:14px;font-weight:500;transition:background-color .15s;display:inline-flex}.button svg{width:16px;height:16px}.primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.primary:hover:not(:disabled){background:hsl(var(--primary) / .9)}.secondary{background:hsl(var(--background));border-color:hsl(var(--border))}.secondary:hover:not(:disabled){background:hsl(var(--accent))}.shop-list{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));padding:8px;box-shadow:0 1px 2px #0000000d}.shop-import-action{margin-bottom:16px}.page-actions{flex-wrap:wrap;gap:8px;display:flex}.list-toolbar,.section-heading{justify-content:space-between;align-items:center;gap:16px;margin:20px 0;display:flex}.list-toolbar>label{margin:0}.action-group{flex-shrink:0;align-items:center;gap:8px;display:flex}.draft-context p,.section-heading h2{margin:0}.disclosure-menu{flex-shrink:0;position:relative}.disclosure-menu>summary{cursor:pointer;list-style:none}.disclosure-menu>summary::-webkit-details-marker{display:none}.disclosure-menu-panel{z-index:5;border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;padding:16px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 8px 24px #00000014}.action-menu .disclosure-menu-panel{gap:4px;min-width:200px;padding:6px;display:grid}.action-menu .text-button{text-align:left;border-radius:4px;align-items:center;gap:8px;padding:10px;font-size:14px;display:flex}.action-menu .text-button:hover:not(:disabled){background:hsl(var(--muted))}.catalogue-filter-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.active-filter-summary{max-width:280px;color:hsl(var(--muted-foreground));font-size:12px}.article-filters .catalogue-filter-controls{display:contents}.article-filters .catalogue-filter-menu{grid-area:1/4}.article-filters .active-filter-summary{grid-area:2/1/auto/-1;max-width:none}.catalogue-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:480px;display:grid}.catalogue-filter-panel label{color:hsl(var(--muted-foreground));gap:6px;margin:0;font-size:12px;display:grid}.catalogue-filter-panel .text-button{grid-column:1/-1;justify-self:end}.article-filters{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);grid-template-columns:minmax(160px,.8fr) minmax(220px,1.4fr) minmax(160px,.8fr) auto;align-items:end;gap:12px;margin-bottom:16px;padding:12px;display:grid;box-shadow:0 1px 2px #0000000d}.article-filters label{min-width:0;color:hsl(var(--muted-foreground));gap:6px;font-size:12px;font-weight:500;display:grid}.article-filters input,.article-filters select{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;min-width:0;height:38px;color:hsl(var(--foreground));border-radius:6px;padding:8px 12px;font-size:14px}.article-filters .article-shop select{font-weight:500}.input-with-icon{display:block;position:relative}.input-with-icon>svg{width:16px;height:16px;color:hsl(var(--muted-foreground));pointer-events:none;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.article-filters .input-with-icon input{padding-left:34px}.article-summary{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;margin:0 2px 8px;display:flex}.article-summary p{margin:0}.article-summary p:first-child{align-items:baseline;gap:10px;display:flex}.article-summary p:first-child span{color:hsl(var(--muted-foreground));font-size:12px}.article-table{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius)}.article-name{text-align:left;background:0 0;border:0;padding:8px 0;font-weight:500}.article-name:hover{text-decoration:underline}.dialog.article-detail{border-radius:12px 0 0 12px;flex-direction:column;width:min(640px,100vw);max-width:none;height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;overflow:hidden}.dialog.article-detail[open]{display:flex}.article-detail .dialog-heading{align-items:flex-start}.article-detail .dialog-heading h2{overflow-wrap:anywhere}.sales-detail-header{border-bottom:1px solid hsl(var(--border));flex-shrink:0;padding:24px}.sales-detail-header .field-help{margin:8px 0 0}.sales-detail-header .dialog-heading{margin:0}.sales-detail-body{flex:1;min-height:0;padding:24px;overflow-y:auto}.sales-tabs{background:hsl(var(--secondary));border-radius:8px;gap:4px;width:fit-content;margin-bottom:24px;padding:4px;display:flex}.sales-tabs button{color:hsl(var(--muted-foreground));background:0 0;border:0;border-radius:6px;padding:7px 18px;font-size:13px}.sales-tabs button[aria-pressed=true]{background:hsl(var(--card));color:hsl(var(--foreground));box-shadow:0 1px 3px #00000010}.sales-series-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.sales-series-heading h3{margin:0;font-size:14px;font-weight:600}.article-detail .sales-series-heading select{width:auto;max-width:150px;height:34px;padding:4px 8px;font-size:12px}.sales-coverage{color:hsl(var(--muted-foreground));margin:12px 0;font-size:12px}.sales-summary{gap:40px;margin:24px 0;display:flex}.sales-summary>div{flex-direction:column;gap:6px;display:flex}.sales-summary span{color:hsl(var(--muted-foreground));font-size:12px}.sales-summary strong{letter-spacing:-.6px;font-variant-numeric:tabular-nums;font-size:26px;font-weight:600}.sales-summary>div+div strong{color:hsl(var(--muted-foreground));font-size:20px;line-height:32px}.sales-chart-card{--sales-current:217 68% 48%;--sales-current-selected:217 70% 35%;--sales-prior:35 72% 40%;--sales-prior-selected:35 76% 29%;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;padding:16px 12px 8px}.sales-chart-period{color:hsl(var(--muted-foreground));flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:0 4px;font-size:12px;display:flex}.sales-partial{background:hsl(var(--secondary));white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:4px;padding:2px 6px}.sales-chart-readout{color:hsl(var(--muted-foreground));grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px 4px 8px;font-size:12px;display:grid}.sales-chart-readout>div{flex-direction:column;align-items:flex-start;gap:4px;display:flex}.sales-chart-readout span:before{content:"";background:hsl(var(--sales-current));border-radius:2px;width:8px;height:8px;margin-right:6px;display:inline-block}.sales-chart-readout .sales-comparison span:before{background:hsl(var(--sales-prior))}.sales-chart-readout strong{color:hsl(var(--foreground));font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.sales-plot{width:100%;min-width:0}.sales-plot svg{width:100%;height:238px;display:block;overflow:visible}.sales-grid line{stroke:hsl(var(--border));stroke-width:1px;stroke-dasharray:3 4}.sales-grid text,.sales-axis-label{fill:hsl(var(--muted-foreground));font-family:inherit;font-size:11px}.sales-hit{fill:#0000}.sales-selection{fill:hsl(var(--sales-current) / .06);pointer-events:none}.sales-bar{cursor:pointer;outline:none}.sales-bar-fill,.sales-zero{fill:hsl(var(--sales-current))}.sales-bar.selected .sales-bar-fill,.sales-bar.selected .sales-zero{fill:hsl(var(--sales-current-selected))}.sales-gap{stroke:hsl(var(--border));stroke-width:1px}.sales-bar:focus-visible .sales-hit{stroke:hsl(var(--sales-current));stroke-width:1px;fill:hsl(var(--sales-current) / .06)}.sales-values{margin-top:24px;font-size:12px}.sales-values summary{cursor:pointer;color:hsl(var(--muted-foreground));padding:8px 0}.sales-values .table-scroll{max-height:280px;margin-top:8px;overflow-y:auto}.sales-values th:last-child,.sales-values td:last-child{text-align:right;font-variant-numeric:tabular-nums}.sales-methodology{color:hsl(var(--muted-foreground));margin:20px 0 0;font-size:11px;line-height:1.6}.sales-methodology summary{cursor:pointer;padding:8px 0;font-size:12px}.sales-methodology p{margin:8px 0}.sales-empty{color:hsl(var(--muted-foreground));padding:32px 0;font-size:13px}.sales-empty p{margin-bottom:8px}.sales-empty span{font-size:12px}@media (width<=767px){.sales-detail-header,.sales-detail-body{padding:20px 16px}.sales-summary{gap:32px}.article-detail .sales-series-heading select{max-width:130px}}.purchasing-settings{gap:24px;max-width:1120px;display:grid}.purchasing-settings fieldset{min-width:0;margin:0}.purchasing-settings .settings-section{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:12px;padding:24px}.purchasing-settings legend{float:left;width:100%;margin:0 0 8px;padding:0;font-size:15px;font-weight:600}.purchasing-settings legend+*{clear:both}.settings-help{color:hsl(var(--muted-foreground));margin-top:16px;font-size:12px}.settings-help summary{cursor:pointer;width:fit-content}.settings-help p{max-width:760px;margin:12px 0 0;line-height:1.7}.settings-section-heading .settings-count{background:hsl(var(--secondary));color:hsl(var(--muted-foreground));vertical-align:middle;border-radius:6px;margin-left:6px;padding:2px 7px;font-size:11px;font-weight:500;display:inline-block}.settings-empty{border:1px dashed hsl(var(--border));color:hsl(var(--muted-foreground));border-radius:8px;padding:24px;font-size:13px}.settings-save{z-index:2;border:1px solid hsl(var(--border));background:hsl(var(--card));box-shadow:0 -4px 20px hsl(var(--foreground) / .03);border-radius:10px;padding:16px 20px;position:sticky;bottom:0;margin:0!important}.settings-save-buttons{align-items:center;gap:8px;display:flex}.policy-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.policy-fields label,.category-rule label,.inactive-policy,.stock-rule label,.draft-search,.order-workspace label{flex-direction:column;gap:8px;font-size:13px;display:flex}.category-rule input:not([type=checkbox]),.policy-fields input,.policy-fields select,.weekly-schedule select,.inactive-policy select,.stock-rule input,.stock-rule select,.draft-search input,.draft-editor td input[type=number],.order-workspace input{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:6px;min-width:0;max-width:100%;height:40px;padding:8px 12px}.weekly-schedule{gap:12px;max-width:640px;margin-bottom:20px;display:grid}.weekly-schedule-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.weekly-schedule-row label{gap:8px;min-width:0;font-size:13px;display:grid}.weekly-schedule-row>span{padding-bottom:12px}.weekly-schedule select{width:100%}.weekly-schedule>button{justify-self:start}.schedule-preview{border:1px solid hsl(var(--border));border-radius:8px;margin:16px 0;padding:16px;font-size:13px}.schedule-preview p{margin:8px 0 0}.inactive-policy{max-width:480px}.stock-rules{gap:16px;margin-bottom:16px;display:grid}.stock-rule{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:8px;grid-template-columns:130px minmax(150px,1fr) 125px 190px 32px;align-items:start;gap:12px;padding:16px;display:grid}.stock-rule label{min-width:0}.stock-rule input,.stock-rule select{background:hsl(var(--card));width:100%}.stock-rule label>span{min-height:17px}.stock-rule .rule-target small{min-height:16px;color:hsl(var(--muted-foreground));overflow-wrap:anywhere;font-size:11px;line-height:1.4}.stock-rule .rule-delete{color:hsl(var(--muted-foreground));grid-area:1/5;align-self:start;margin-top:24px}.stock-rule .rule-delete:hover{color:hsl(var(--destructive));background:hsl(var(--destructive) / .06)}.stock-rule .rule-pack{grid-column:3/5}.stock-rule.is-excluded .rule-exclusion select{color:hsl(var(--destructive))}@media (width<=1150px){.stock-rule{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px}.stock-rule .rule-delete{grid-column:3}.stock-rule .rule-exclusion{grid-area:2/2}.stock-rule .rule-pack{grid-column:1/3}}.purchasing-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;display:flex}.purchasing-actions .field-help{flex:1;min-width:180px;margin:0}.draft-notes{color:hsl(var(--muted-foreground));background:0 0;border:0;padding:0;font-size:12px;line-height:1.6}.draft-notes summary,.line-explanation summary{cursor:pointer;font-weight:500}.draft-notes p{margin-top:12px;margin-bottom:0}.draft-search{flex:1;min-width:200px;max-width:420px}.draft-editor td input[type=number]{width:112px}.draft-editor td{vertical-align:top}.draft-editor td:first-child{min-width:240px}.draft-editor td .text-button{font-size:12px;display:block}.draft-removed{color:hsl(var(--muted-foreground));background:hsl(var(--muted))}.draft-action-heading,.draft-editor .draft-line-action{text-align:right;white-space:nowrap}.draft-editor .draft-line-action .icon-button{min-width:40px;min-height:40px}.draft-editor .draft-restore{white-space:normal}.line-explanation{max-width:300px;color:hsl(var(--muted-foreground));margin-top:8px}.line-explanation p{margin:8px 0 0}.draft-save{background:hsl(var(--background));border-top:1px solid hsl(var(--border));z-index:1;padding:16px;position:sticky;bottom:0}.draft-save>span{min-width:150px;color:hsl(var(--muted-foreground));flex:1;font-size:12px}.dialog select{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:6px;width:100%;min-width:0;height:40px;padding:8px 12px}@media (width<=767px){.draft-editor .table-scroll.article-table{background:0 0;border:0;overflow:visible}.draft-editor table{display:block}.draft-editor thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.draft-editor tbody{gap:12px;display:grid}.draft-editor tr{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px;padding:16px;display:grid}.draft-editor tr.draft-removed{background:hsl(var(--muted))}.draft-editor td{border:0;min-width:0;padding:0}.draft-editor td:first-child{overflow-wrap:anywhere;grid-column:1/-1;min-width:0}.draft-editor td:nth-child(5){grid-column:1/3}.draft-editor td[data-label]:before{content:attr(data-label);color:hsl(var(--muted-foreground));margin-bottom:8px;font-size:11px;display:block}.draft-editor td input[type=number]{width:100%}.draft-editor .draft-line-action{align-self:end}.purchasing-settings{gap:16px}.purchasing-settings .settings-section{padding:18px 16px}.policy-fields{grid-template-columns:1fr}.stock-rule{grid-template-columns:minmax(0,1fr) 32px;gap:16px 8px;padding:14px}.stock-rule>label,.stock-rule .rule-pack,.stock-rule .rule-exclusion{grid-area:auto/1/auto/-1}.stock-rule>label:first-child{grid-column:1}.stock-rule .rule-delete{grid-area:1/2}.settings-save{padding:12px}.settings-save-buttons{width:100%}.settings-save-buttons .button{flex:1}.category-rule input:not([type=checkbox]),.policy-fields input,.stock-rule input,.stock-rule select,.draft-search input,.draft-editor td input[type=number],.order-workspace input,.dialog select{font-size:16px}.draft-save{padding-inline:0}.dialog.article-detail{border-radius:0;width:100vw}.article-filters input,.article-filters select{font-size:16px}}.shop-import-action .button{white-space:normal}.import-shop,.import-upload label:not(.file-field),.date-range label{flex-direction:column;gap:8px;font-weight:500;display:flex}.import-shop{max-width:420px;margin-bottom:24px}.import-upload,.import-preview{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);margin-bottom:24px;padding:24px}.import-upload{gap:16px;display:grid}.import-upload>div>p{margin-bottom:0}.import-upload>.field-help{margin:-8px 0 0}.import-upload select,.import-upload input[type=date],.import-shop select,.date-range input{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:6px;min-width:0;max-width:100%;height:40px;padding:8px 12px}.import-upload details summary{cursor:pointer;color:hsl(var(--muted-foreground));font-size:12px}.import-upload details label{margin-top:12px}.file-field{border:1px dashed hsl(var(--muted-foreground) / .4);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:12px;min-height:88px;padding:16px;display:flex;position:relative}.file-field span{overflow-wrap:anywhere;min-width:0}.file-field input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.file-field:focus-within{outline:2px solid hsl(var(--primary));outline-offset:2px}.import-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.import-history{margin-bottom:24px}.import-list{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));padding:8px}.import-list-row{text-align:left;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:12px;display:flex}.import-list-row:hover,.import-list-row.selected{background:hsl(var(--muted))}.import-list-row>span{overflow-wrap:anywhere;min-width:0}.import-list-row strong{font-weight:500}.import-list-row small,.import-list-row>span:last-child{color:hsl(var(--muted-foreground));font-size:12px}.import-list-row small{margin-top:4px;display:block}.import-preview h2{overflow-wrap:anywhere}.import-warning{color:hsl(var(--muted-foreground));border-left:2px solid hsl(var(--border));padding-left:12px;font-size:12px}.table-scroll{max-width:100%;overflow-x:auto}.table-scroll table{border-collapse:collapse;width:100%;font-size:12px}.table-scroll caption{text-align:left;color:hsl(var(--muted-foreground));margin-bottom:12px}.table-scroll th,.table-scroll td{text-align:left;border-bottom:1px solid hsl(var(--border));padding:12px 8px}.table-scroll th{color:hsl(var(--muted-foreground));white-space:nowrap;font-weight:500}.table-scroll td{min-width:90px}.table-scroll td:first-child{min-width:200px}.table-scroll small{color:hsl(var(--muted-foreground));margin-top:4px;display:block}.import-confirmation{gap:16px;margin-top:24px;display:grid}.import-confirmation fieldset{border:1px solid hsl(var(--border));border-radius:8px;min-width:0;padding:16px}.date-range{flex-wrap:wrap;gap:16px;display:flex}.date-range label{flex:1;min-width:140px}.checkbox-label{align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;display:flex}.checkbox-label input{accent-color:hsl(var(--primary));flex-shrink:0;margin-top:4px}.import-confirmation>.button{justify-self:end}.import-success{margin-top:20px;font-weight:500}@media (width<=767px){.import-upload,.import-preview{padding:16px}.import-list-row{flex-direction:column;align-items:flex-start;gap:8px}.import-upload select,.import-upload input[type=date],.import-shop select,.date-range input{font-size:16px}}.shop-row{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;padding:12px 8px;display:flex}.shop-row+.shop-row{border-top:1px solid hsl(var(--border))}.shop-row:hover{background:hsl(var(--accent) / .4)}.shop-row.selected{background:hsl(var(--muted))}.shop-avatar{background:hsl(var(--primary));width:40px;height:40px;color:hsl(var(--primary-foreground));border-radius:50%;flex-shrink:0;place-items:center;font-weight:500;display:grid}.shop-info{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.shop-name{overflow-wrap:anywhere;font-size:14px;font-weight:500}.shop-branch{color:hsl(var(--muted-foreground));font-size:12px}.shop-row-action{color:hsl(var(--muted-foreground));align-items:center;gap:8px;font-size:12px;display:flex}.feature-icon{color:hsl(var(--muted-foreground) / .5);place-items:center;margin-bottom:12px;display:grid}.feature-icon.small{background:hsl(var(--muted));border-radius:50%;width:40px;height:40px;margin:0}.empty-state{text-align:center;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));padding:40px 24px;box-shadow:0 1px 2px #0000000d}.empty-state .feature-icon svg{width:48px;height:48px}.empty-state h2{color:hsl(var(--muted-foreground));font-size:14px;font-weight:500}.empty-state p{margin-bottom:0}.setup-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);max-width:600px;margin:32px auto;padding:24px;box-shadow:0 1px 2px #0000000d}.setup-card .feature-icon{justify-content:start}.member-list{gap:12px;display:grid}.member-row{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex;box-shadow:0 1px 2px #0000000d}.member-name{overflow-wrap:anywhere;flex-direction:column;gap:4px;min-width:0;display:flex}.member-name strong{font-weight:500}.member-name span{font-size:14px}.member-row select{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:6px;width:220px;max-width:45%;padding:8px 12px}.error-notice{border:1px solid hsl(var(--destructive) / .3);background:hsl(var(--destructive) / .1);color:hsl(var(--destructive));border-radius:8px;justify-content:space-between;align-items:center;gap:16px;margin:12px 0;padding:12px 16px;line-height:1.5;display:flex}.status{color:hsl(var(--muted-foreground));justify-content:center;align-items:center;gap:8px;padding:48px 24px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.dialog{border:1px solid hsl(var(--border));background:hsl(var(--background));width:calc(100vw - 32px);max-width:512px;max-height:90dvh;color:inherit;border-radius:8px;padding:24px;overflow-y:auto;box-shadow:0 10px 30px #00000026}.dialog::backdrop{background:#0000008c}.dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;display:flex}.dialog-heading h2{margin:0;font-size:18px}.dialog>p,.dialog form>p{color:hsl(var(--muted-foreground))}.dialog label{margin:20px 0 8px;font-size:14px;font-weight:500;display:block}.dialog input{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:6px;width:100%;height:40px;padding:8px 12px;font-size:14px}.field-help{color:hsl(var(--muted-foreground));margin:8px 0;font-size:12px;line-height:1.6}.field-error{color:hsl(var(--destructive))}.dialog-footer{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:24px;display:flex}.dialog.order-review{max-width:1120px}.order-workspace{flex-direction:column;min-width:0;height:auto;display:flex}.order-workspace .tabs-content>form,.order-catalogue-fields{min-height:0;display:block}.order-workspace-footer{flex-shrink:0;margin-top:12px}.order-catalogue-table td:nth-last-child(2) details{white-space:normal;font-size:12px}.order-catalogue-fields{border:0;min-width:0;padding:0}.order-catalogue-filters{grid-template-columns:minmax(220px,420px) minmax(0,1fr);align-items:end;gap:12px;display:grid}.order-catalogue-filters>label{margin:8px 0}.order-catalogue-table{flex:1;height:auto;min-height:0;max-height:max(300px,100dvh - 430px);overflow:auto}.load-more{text-align:center;padding:12px}.draft-overview{margin-top:28px}.draft-overview h2{margin-bottom:16px;font-size:16px}.draft-list{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:10px;overflow:hidden}.draft-list-row{color:hsl(var(--foreground));grid-template-columns:minmax(180px,1.6fr) minmax(100px,1fr) minmax(130px,1fr) minmax(150px,1fr) auto;align-items:center;gap:20px;padding:20px;text-decoration:none;display:grid}.draft-list-row+.draft-list-row{border-top:1px solid hsl(var(--border))}.draft-list-row:hover{background:hsl(var(--secondary))}.draft-list-row:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}.draft-list-row strong,.draft-list-row time{font-variant-numeric:tabular-nums;font-size:14px;display:block}.draft-list-row span{color:hsl(var(--muted-foreground));overflow-wrap:anywhere;margin-top:6px;font-size:12px;display:block}.draft-list-name{min-width:0}@media (width<=1100px){.draft-list-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:16px}.draft-list-row>svg{display:none}}.order-catalogue-loaded{margin:10px 0 0}.order-catalogue-table input[data-order-quantity]{width:100%;scroll-margin-block:56px}.order-article-table>thead>tr>th{z-index:2;background:hsl(var(--card));box-shadow:inset 0 -1px hsl(var(--border));position:sticky;top:0}.order-article-table>thead>tr>th:last-child{z-index:3}.order-catalogue-table small{color:hsl(var(--muted-foreground));margin-top:4px;font-size:12px;display:block}.order-catalogue-table small.field-error{color:hsl(var(--destructive))}.order-workspace .dialog-footer{background:hsl(var(--background));flex-shrink:0;align-items:center;margin-top:12px;padding:12px 0 0}.order-catalogue-help{color:hsl(var(--muted-foreground));margin:6px 0;font-size:12px}.order-catalogue-help summary{cursor:pointer;padding:4px 0}.order-catalogue-help[open]{flex-shrink:0;max-height:140px;overflow:auto}.catalogue-group-heading th{background:hsl(var(--secondary));color:hsl(var(--foreground));text-align:left;font-size:12px;font-weight:600}@media (width>=768px) and (width<=1150px){.order-catalogue-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}.order-catalogue-summary{flex-wrap:wrap;justify-content:space-between;gap:4px 16px;display:flex}.order-sales-amount{font-variant-numeric:tabular-nums}@media (width<=767px){.order-catalogue-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.order-catalogue-fields{display:block;overflow:visible}.order-catalogue-table{height:auto;max-height:max(260px,100dvh - 300px)}}.order-review-upload,.order-review-filters{flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;display:flex}.order-review-upload label,.order-review-filters label{flex:240px;min-width:0;margin:0}.order-review-upload .file-field{min-height:48px;padding:12px;display:flex}.order-review-upload .file-field input{height:100%}.order-review-summary{border-block:1px solid hsl(var(--border));grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px;margin:20px 0;padding:20px 0;display:grid}.order-review-summary span,.order-review-summary strong{display:block}.order-review-summary span{color:hsl(var(--muted-foreground));margin-bottom:6px;font-size:12px}.order-review-summary strong{font-variant-numeric:tabular-nums;font-size:24px;font-weight:600}.order-review-table{max-height:48dvh;overflow:auto}.order-review-table td:not(:first-child){font-variant-numeric:tabular-nums}.order-review-table td:first-child{min-width:240px;max-width:320px}.order-review-table td:last-child{white-space:normal;min-width:210px;max-width:280px}.order-review-table small{color:hsl(var(--muted-foreground));margin-top:6px;font-size:12px;display:block}.order-review-status{font-weight:500}.order-review-status.missing,.order-review-status.unknown{color:#945b0a}@media (width<=767px){.dialog.order-review{max-height:95dvh;padding:20px 16px}.order-review-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.order-review-summary strong{font-size:20px}.order-review-table{max-height:none;overflow:visible}.order-review-table table,.order-review-table tbody{min-width:0;display:block}.order-review-table thead{display:none}.order-review-table tr{border-bottom:1px solid hsl(var(--border));grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 8px;padding:16px 0;display:grid}.order-review-table td{white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;padding:0}.order-review-table td:first-child,.order-review-table td:last-child{grid-column:1/-1;min-width:0;max-width:none}.order-review-table td[data-label]:before{content:attr(data-label);color:hsl(var(--muted-foreground));margin-bottom:4px;font-size:11px;display:block}}.welcome{justify-content:center;align-items:center;min-height:100dvh;display:flex}.welcome-content{max-width:650px;padding:48px 24px}.welcome .brand{margin-bottom:48px}.welcome h1{font-size:clamp(30px,4vw,48px)}.welcome-copy{color:hsl(var(--muted-foreground));margin-bottom:24px}.configuration{max-width:650px;margin:12vh auto;padding:24px;line-height:1.7}.configuration code{overflow-wrap:anywhere;background:hsl(var(--muted));padding:2px 4px}@media (width<=1023px){.page-heading{flex-direction:column;align-items:flex-start}}@media (width<=767px){.sidebar{z-index:30;position:fixed;inset:0 auto 0 0}.sidebar.expanded{box-shadow:8px 0 30px #0000001a}.main-shell{margin-left:64px}.sidebar-backdrop{z-index:20;background:#0003;border:0;display:block;position:fixed;inset:0}main#main-content{padding:24px 16px}.member-row{flex-direction:column;align-items:stretch}.member-row select{width:100%;max-width:100%}.shop-row-action>span{display:none}.error-notice{flex-direction:column;align-items:flex-start}.dialog input{font-size:16px}.welcome-content{padding:32px 24px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.sales-prior-fill{fill:hsl(var(--sales-prior))}.sales-comparison strong{color:hsl(var(--muted-foreground))}.seasonal-outlook{border-top:1px solid hsl(var(--border));margin-top:28px;padding-top:20px}.seasonal-outlook h3{margin:0 0 12px;font-size:14px}.seasonal-outlook td small,.seasonal-outlook td strong{font-size:12px;display:block}.seasonal-outlook td small{color:hsl(var(--muted-foreground));margin-top:4px}.seasonal-outlook td strong{font-variant-numeric:tabular-nums;font-size:16px;font-weight:600}.seasonal-outlook table{table-layout:fixed}.seasonal-outlook th,.seasonal-outlook td,.seasonal-outlook td:first-child{white-space:normal;overflow-wrap:anywhere;min-width:0;padding:12px 8px;font-size:12px}.seasonal-outlook th:not(:first-child),.seasonal-outlook td{text-align:right}.seasonal-outlook tbody th{color:hsl(var(--foreground));font-weight:500}.seasonal-outlook .is-current-period{background:hsl(var(--secondary) / .6)}.seasonal-outlook th:first-child{width:25%}.sales-bar.selected .sales-prior-fill{fill:hsl(var(--sales-prior-selected))}.group-editor{max-width:1000px}.group-list{gap:12px;margin:20px 0;display:grid}.group-row{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:16px;display:grid}.group-row small{color:hsl(var(--muted-foreground));overflow-wrap:anywhere;margin-top:6px;font-size:12px;display:block}.group-row label{gap:8px;font-size:13px;display:grid}.group-row input{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:6px;width:100%;min-width:0;height:40px;padding:8px 12px}@media (width<=640px){.group-row{grid-template-columns:minmax(0,1fr);gap:12px}}.draft-summary{min-width:180px;color:hsl(var(--muted-foreground));flex:1;gap:6px;font-size:12px;display:grid}.draft-summary>small{margin:0;font-size:11px}.draft-value{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.draft-value strong{color:hsl(var(--foreground));font-variant-numeric:tabular-nums;font-size:20px;font-weight:600}.draft-value small{flex-basis:100%}.group-exclusions{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:10px;margin-bottom:24px;padding:18px}.exclusion-heading h2{margin:0 0 8px;font-size:14px;font-weight:600}.excluded-group-tags{flex-wrap:wrap;gap:8px;margin:16px 0;padding:0;list-style:none;display:flex}.excluded-group-tags li{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;align-items:center;gap:8px;max-width:100%;padding:6px 8px 6px 12px;font-size:12px;display:flex}.excluded-group-tags li>span{overflow-wrap:anywhere;min-width:0}.excluded-group-tags small,.group-exclusion-option small{color:hsl(var(--muted-foreground));margin-top:3px;font-size:11px;display:block}.excluded-group-tags .icon-button{flex-shrink:0}.group-exclusion-picker>summary{cursor:pointer;width:fit-content;padding:6px 0;font-size:13px}.group-exclusion-picker .draft-search{min-width:0;max-width:none;margin:14px 0}.group-exclusion-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:320px;display:grid;overflow-y:auto}.group-exclusion-option{cursor:pointer;overflow-wrap:anywhere;border-radius:6px;align-items:flex-start;gap:10px;padding:10px;font-size:12px;display:flex}.group-exclusion-option:hover{background:hsl(var(--secondary))}.group-exclusion-option input{accent-color:hsl(var(--primary));flex-shrink:0;margin-top:2px}@media (width<=767px){.group-exclusions{padding:14px}.group-exclusion-options{grid-template-columns:minmax(0,1fr)}}.article-picker{min-width:0;position:relative}.article-picker>label:first-child{margin-bottom:8px}.article-picker-selection{color:hsl(var(--muted-foreground));margin-top:6px;font-size:12px;display:block}.stock-rule .article-picker-results{z-index:5;background:hsl(var(--card));scroll-margin-bottom:96px;position:absolute;top:100%;left:0;right:0;box-shadow:0 6px 20px #00000018}.article-picker-input{border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.article-picker-input:focus-within{outline:2px solid hsl(var(--ring));outline-offset:2px}.article-picker-input>svg{flex-shrink:0}.article-picker .article-picker-input input{min-width:0;box-shadow:none;border:0;outline:none;padding:8px 0}.article-picker-results{border:1px solid hsl(var(--border));border-radius:8px;max-height:300px;margin-top:8px;overflow-y:auto}.article-picker .article-picker-filter{color:hsl(var(--muted-foreground));flex-direction:row;align-items:center;gap:8px;margin:10px 0;font-size:12px;display:flex}.article-picker .article-picker-filter input{width:16px;height:16px;margin:0;padding:0}.article-picker-status{color:hsl(var(--muted-foreground));padding:10px 12px;font-size:12px}.article-picker-results ul{max-height:none;margin:0;padding:0 4px 4px;list-style:none;overflow:visible}.article-picker-results li{cursor:pointer;overflow-wrap:anywhere;border-radius:6px;padding:10px 30px 10px 8px;position:relative}.article-picker-results li.is-active{background:hsl(var(--accent))}.article-picker-results strong{font-size:14px;font-weight:500;display:block}.article-picker-results small{color:hsl(var(--muted-foreground));margin-top:4px;display:block}.article-picker-results li>svg{position:absolute;top:12px;right:8px}.draft-pack-info,.draft-pack-info>.field-error{display:block}.category-rules{gap:16px;margin:16px 0;display:grid}.category-rule{border:1px solid hsl(var(--border));border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.category-rule label{gap:8px;min-width:0;display:grid}.category-rule label.checkbox-label{flex-direction:row;display:flex}.category-rule input:not([type=checkbox]){width:100%;min-width:0}.category-adjustment{grid-column:1/-1}.category-adjustment>label{margin-top:12px}.category-adjustment summary{cursor:pointer;color:hsl(var(--muted-foreground))}.category-rule>button{grid-column:2;justify-self:end}@media (width<=767px){.category-rule{grid-template-columns:minmax(0,1fr)}.category-rule>button{grid-column:1}}.article-results .article-table{box-shadow:0 1px 2px #0000000d}.article-table table,.order-catalogue-table table{font-variant-numeric:tabular-nums;font-family:inherit;font-size:14px}.article-results .table-scroll th{background:hsl(var(--muted) / .6);padding:10px 12px;font-size:12px}.article-results .table-scroll td{vertical-align:middle;min-width:0;padding:10px 12px}.article-results .table-scroll td:first-child{min-width:0}.article-results .table-scroll td.article-cell{width:100%;min-width:260px}.article-results tbody tr{transition:background-color .1s}.article-results tbody tr:hover{background:hsl(var(--muted) / .5)}.article-results tbody tr:last-child td{border-bottom:0}.article-results .numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.article-results .article-name{gap:2px;width:100%;padding:0;display:grid}.article-results .article-name:hover{text-decoration:none}.article-results .article-name:hover .article-title{text-underline-offset:2px;text-decoration:underline}.article-title{color:hsl(var(--foreground));font-size:14px;font-weight:500}.article-title.is-missing{color:hsl(var(--muted-foreground));font-style:italic;font-weight:400}.article-meta{color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:2px 12px;font-size:12px;font-weight:400;display:flex}.article-ean,.article-supplier{font-variant-numeric:tabular-nums;font-family:inherit}.article-stock.is-empty{color:hsl(var(--muted-foreground));font-weight:400}.article-stock.is-negative{color:hsl(var(--destructive))}.article-tags{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.article-category-tag{color:#274c9b;background:#2463eb1a;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:500;display:inline-block}.article-name .article-category-tag{margin:4px 4px 0 0}.article-no-results{text-align:center;margin:0;padding:32px 16px}@media (width<=1023px){.article-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.article-filters .catalogue-filter-menu{grid-area:2/2;justify-self:end}.article-filters .active-filter-summary{grid-row:3}}@media (width<=767px){.article-filters{grid-template-columns:minmax(0,1fr)}.article-filters .catalogue-filter-menu,.article-filters .active-filter-summary{grid-area:auto/1}.catalogue-filter-panel{grid-template-columns:minmax(0,1fr);width:min(480px,100vw - 128px)}.list-toolbar{flex-wrap:wrap}}.group-navigation{flex-wrap:wrap;gap:8px;margin-bottom:24px;display:flex}.custom-group-members{grid-column:1/-1;min-width:0}.custom-group-members>summary{cursor:pointer;padding:8px 0;font-weight:500}.group-article-selection{gap:12px;margin-top:12px;display:grid}.custom-group-articles{max-height:320px;margin:0;padding:0;list-style:none;overflow-y:auto}.custom-group-articles li{border-top:1px solid hsl(var(--border));padding:10px 0}.custom-group-articles small{color:hsl(var(--muted-foreground));margin-top:4px;display:block}.custom-group-articles label{overflow-wrap:anywhere}.data-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.data-overview>div{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;gap:8px;min-width:0;padding:16px;display:grid}.data-overview span,.data-overview small{color:hsl(var(--muted-foreground));font-size:12px}.data-overview strong{overflow-wrap:anywhere;font-size:15px}.import-types{flex-wrap:wrap;gap:8px;display:flex}.optional-import>summary{cursor:pointer;color:hsl(var(--muted-foreground));font-size:12px}.import-export-guide ol{gap:6px;margin:8px 0;padding-inline-start:20px;display:grid}.import-export-guide a{text-decoration:underline}.sales-detail-body>.sales-tabs{margin-bottom:16px}@media (width<=767px){.data-overview{grid-template-columns:minmax(0,1fr)}}.new-draft-dialog{width:min(480px,100vw - 32px)}.new-draft-dialog form>label{gap:8px;margin:20px 0;font-size:13px;display:grid}.purchase-context-label{margin:0 0 24px}.order-workspace .button{min-height:44px}.order-quantity-control{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:7px;align-items:stretch;min-height:44px;display:flex}.order-workspace .order-quantity-control input{background:0 0;border:0;border-radius:7px;flex:1;width:0;min-width:0;height:42px;padding:8px}.order-quantity-control:focus-within{border-color:hsl(var(--ring))}.order-adopt{color:#15803d;cursor:pointer;background:0 0;border:0;border-radius:0 6px 6px 0;flex:0 0 44px;place-items:center;min-height:44px;padding:0;display:grid}.order-adopt:hover:not(:disabled){background:#dcfce7}.order-adopt:disabled{opacity:.45;cursor:default}.order-quantity-cell[data-edited=true] .order-quantity-control{background:#eff6ff;border-color:#2563b8}.order-workspace .article-name{min-height:44px}.order-workspace td details>summary{cursor:pointer;min-height:32px;padding-block:6px}.order-workspace .order-recommendation-filter{flex-direction:row;align-items:center;gap:8px;margin:10px 0;font-size:13px;font-weight:500;display:flex}.order-workspace .order-recommendation-filter input{accent-color:#2563b8;width:16px;height:16px;margin:0;padding:0}.tabs-list{background:hsl(var(--muted));width:max-content;max-width:100%;height:44px;color:hsl(var(--muted-foreground));vertical-align:middle;border-radius:12px;justify-content:center;align-self:flex-start;align-items:center;padding:4px;display:inline-flex;overflow-x:auto}.tabs-trigger{white-space:nowrap;height:36px;color:inherit;background:0 0;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:6px 12px;font-size:14px;font-weight:500;transition:background-color .15s,box-shadow .15s;display:inline-flex}.tabs-trigger[data-state=active]{background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 1px 2px #0000000d}.tabs-trigger:focus-visible,.tabs-content:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.tabs-trigger:disabled{pointer-events:none;opacity:.5}.tabs-content{min-width:0;margin-top:24px}main#main-content:has(.purchasing-layout){max-width:none;height:100dvh;padding:0}main#main-content>div:has(.purchasing-layout){height:100%}.purchasing-layout{height:100%;min-height:0}.purchasing-layout .order-workspace{background:hsl(var(--card));height:100%;min-height:0;overflow:hidden}.order-workspace-heading{border-bottom:1px solid hsl(var(--border));flex-shrink:0;align-items:center;gap:12px;min-height:52px;padding:10px 24px;display:flex}.order-workspace-title{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.order-workspace-title a{width:28px;height:28px;color:hsl(var(--muted-foreground));border-radius:5px;flex-shrink:0;place-items:center;display:grid}.order-workspace-title h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:14px;font-weight:600;overflow:hidden}.purchasing-layout .order-workspace .button{min-height:30px;padding:4px 10px;font-size:13px}.order-workspace-heading .button.secondary{background:0 0;border-color:#0000}.order-workspace-heading .page-actions{flex-wrap:nowrap;gap:4px}.order-workspace-heading .action-menu>summary{min-height:30px;padding:4px 8px;font-size:13px}.order-view-bar{border-bottom:1px solid hsl(var(--border));flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:6px 24px;display:flex}.order-view-bar .tabs-list{border-radius:8px;height:30px;padding:2px}.order-view-bar .tabs-trigger{border-radius:6px;height:26px;padding:3px 10px;font-size:13px}.order-workspace-meta{flex-wrap:wrap;gap:16px;margin:0;font-size:12px;display:flex}.order-workspace-meta strong{color:hsl(var(--foreground));font-weight:500}.purchasing-layout .order-workspace>.tabs-content{flex-direction:column;flex:1;min-height:0;margin:0;display:flex}.purchasing-layout .tabs-content>form,.purchasing-layout .order-catalogue-fields{flex-direction:column;flex:1;min-height:0;display:flex}.purchasing-layout .order-catalogue-filters{border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;align-items:center;gap:8px;padding:10px 24px;display:flex}.purchasing-layout .order-catalogue-filters>label:first-child{width:min(280px,100%);margin:0}.purchasing-layout .order-catalogue-filters input[type=search]{height:30px;padding:4px 10px;font-size:14px}.purchasing-layout .order-catalogue-filters .catalogue-filter-controls{margin-left:auto}.purchasing-layout .order-catalogue-filters .button{white-space:nowrap}.purchasing-layout .order-recommendation-filter{gap:6px;margin:0;font-size:13px}.purchasing-layout .order-statistics-toggle{gap:8px}.purchasing-layout .order-catalogue-table{--order-column-heading-height:52px;--order-group-heading-height:44px;--order-group-pagination-height:56px;overflow-anchor:none;border:0;border-radius:0;flex:1;height:auto;min-height:0;max-height:none;overflow:auto;container-type:size}.order-catalogue-table>.order-article-table>thead{height:var(--order-column-heading-height)}.order-article-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:1120px}.order-col-article{width:auto}.order-col-stock{width:72px}.order-col-sales{width:64px}.order-col-prior{width:100px}.order-col-delivery-sales{width:140px}.order-col-recommendation{width:100px}.order-col-quantity{width:176px}.order-col-status{width:108px}.order-col-expand{width:48px}.order-article-table>thead>tr>th{background:hsl(var(--card));text-align:right;border-bottom:1px solid hsl(var(--border));padding:9px 8px;font-size:12px}.order-article-table>thead>tr>th.order-stock-divider,.order-article-table>tbody>tr>td.order-stock-divider{border-right:1px solid hsl(var(--border))}.order-article-table>thead>tr>th:first-child,.order-article-table>thead>tr>th:nth-child(9){text-align:left}.order-article-table>tbody>tr>td{text-align:right;font-variant-numeric:tabular-nums;vertical-align:middle;border-bottom:1px solid hsl(var(--border) / .55);min-width:0;max-width:none;padding:8px;font-size:14px}.order-article-table>tbody>tr>td:first-child,.order-article-table>tbody>tr>td:nth-child(9){text-align:left}.order-article-table>tbody>tr>td:first-child{white-space:normal;min-width:0;max-width:none}.order-article-table>tbody>.order-pagination>td{background:hsl(var(--secondary));padding:0}.order-pagination .load-more,.order-pagination-complete{text-align:left;align-items:center;gap:8px;width:fit-content;max-width:100cqw;min-height:44px;padding:6px 16px;display:flex;position:sticky;left:0}.order-pagination-complete{color:hsl(var(--muted-foreground));margin:0;font-size:13px}.order-pagination .status{justify-content:flex-start;padding:0;font-size:13px}.order-article-table>thead>tr>th:last-child,.order-article-table>tbody>tr>td:last-child{border-left:0;width:auto;min-width:0;position:static}.order-article-table .article-name{min-height:0;padding:0;font-size:14px;line-height:1.4}.order-article-table small{margin-top:3px;font-size:12px}.order-article-table>thead>tr>th.order-quantity-heading{text-align:left}.order-article-table>tbody>tr>td.order-quantity-cell{text-align:left;position:relative}.order-quantity-cell:has(>small) .order-quantity-control{margin-block:8px}.order-article-table .order-quantity-cell>small{text-align:left;white-space:nowrap;margin:0;line-height:14px;position:absolute;top:calc(50% + 16px);left:8px;right:8px}.purchasing-layout .order-quantity-control{background:0 0;border:0;border-radius:0;gap:4px;min-height:30px}.purchasing-layout .order-quantity-control input{border:1px solid hsl(var(--border));background:hsl(var(--card));text-align:right;border-radius:6px;flex:0 56px;width:56px;height:30px;padding:4px 6px}.purchasing-layout .order-quantity-cell[data-edited=true] .order-quantity-control{background:0 0}.purchasing-layout .order-quantity-cell[data-edited=true] input{background:#f5f5ff;border-color:#6366f1}.purchasing-layout .order-adopt{min-height:30px;color:hsl(var(--muted-foreground));border-radius:5px;flex:0 0 48px;justify-content:center;align-items:center;gap:4px;font-size:12px;display:inline-flex}.purchasing-layout .order-adopt:hover:not(:disabled){background:hsl(var(--muted));color:hsl(var(--foreground))}.order-status{white-space:nowrap;color:hsl(var(--muted-foreground));align-items:center;gap:6px;font-size:12px;display:inline-flex}.order-status i{background:#9ca3af;border-radius:50%;width:6px;height:6px}.order-status.missing i{background:#f59e0b}.order-status.included i{background:#4338ca}.order-row-warning{color:#b45309;font-size:11px;display:block}.purchasing-layout .order-expand-cell .icon-button{width:28px;height:30px;min-height:0;color:hsl(var(--muted-foreground));padding:0}.order-article-table>tbody>.order-row-active>td{background:hsl(var(--muted) / .6)}.order-article-table>tbody>.order-row-active>td:first-child{box-shadow:inset 2px 0 #6366f1}.order-table-caption{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:12px;min-height:35px;padding:8px 24px;display:flex}.order-table-caption p{margin:0;font-size:12px}.order-table-caption[data-pagination-loading]{background:hsl(var(--secondary))}.order-table-caption[data-pagination-loading] .order-keyboard-help{display:none}.order-table-caption .status{color:hsl(var(--foreground));padding:0;font-size:13px}.order-table-caption .status>svg{flex:0 0 16px;height:16px}@media (width<=767px){.order-table-caption[data-pagination-loading]{z-index:3;border-top:1px solid hsl(var(--border));position:sticky;bottom:0}}.purchasing-layout .order-workspace-footer{border-top:1px solid hsl(var(--border));background:hsl(var(--card));margin:0;padding:10px 24px}.purchasing-layout .purchasing-layout .order-workspace>.field-help{flex-shrink:0;margin-block:6px;padding-inline:24px}.order-article-table>tbody>.order-statistics-row>td{background:hsl(var(--muted) / .6);text-align:left;padding:0 12px 12px}.order-statistics-row-frame{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:10px;width:calc(100cqw - 24px);min-height:300px;padding:12px 16px;position:sticky;left:12px;overflow:visible}.order-statistics-row-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.order-statistics-row-toolbar .sales-tabs{border-radius:6px;margin:0;padding:2px}.order-statistics-row-toolbar .sales-tabs button{min-height:24px;padding:3px 8px;font-size:12px}.order-statistics-row-toolbar .text-button{font-size:12px}.order-statistics-row-sales{grid-template-columns:minmax(0,1fr) 340px;gap:24px;display:grid}.order-statistics-row-heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.order-statistics-row-heading .sales-tabs{margin:0;padding:2px}.order-statistics-row-heading .sales-tabs button{min-height:24px;padding:3px 8px;font-size:12px}.order-statistics-row-readout{flex-wrap:wrap;align-items:center;gap:10px;min-height:24px;font-size:12px;display:flex}.order-statistics-row-current{color:#4338ca;font-weight:600}.order-statistics-row-chart{--sales-current-selected:245 58% 51%;--sales-prior-selected:220 9% 60%;min-width:0}.order-statistics-row-chart .sales-plot svg{height:166px}.order-statistics-row-chart .sales-plot{width:100%}.order-statistics-row-chart .sales-bar-fill,.order-statistics-row-chart .sales-zero{fill:#6366f1}.order-statistics-row-chart .sales-prior-fill{fill:#d1d5db}.order-statistics-row-chart .sales-selection{fill:hsl(var(--muted))}.order-statistics-row-season h3{margin:3px 0 8px;font-size:12px}.order-statistics-row-season table{table-layout:fixed;width:100%;font-size:12px}.order-statistics-row-season th,.order-statistics-row-season td{text-align:right;border-bottom:1px solid hsl(var(--border) / .4);width:auto;padding:4px;font-size:12px;min-width:0!important}.order-statistics-row-season th:first-child{text-align:left}.order-statistics-row-season .is-current-period{background:#f5f5ff;font-weight:600}.order-statistics-row-season small{margin-left:3px;font-size:11px;display:inline}.order-statistics-row-calculation{font-size:12px}.order-statistics-row-calculation p{margin:5px 0}.order-statistics-row-frame .article-statistics-loading,.order-statistics-row-frame .article-statistics-error{justify-content:center;align-items:center;gap:12px;min-height:240px;display:flex}.order-statistics-row-frame .sales-empty{min-height:150px;padding:20px}@media (width<=1023px){.order-workspace-heading{flex-wrap:wrap;gap:6px;padding:8px 12px}.order-workspace-title{flex-basis:100%}.order-workspace-heading .page-actions{flex-wrap:wrap}.order-view-bar{flex-wrap:wrap;gap:6px;padding:6px 12px}.order-workspace-meta{gap:8px}.purchasing-layout .order-catalogue-filters{padding:8px 12px}.purchasing-layout .order-workspace .button{min-height:44px}.purchasing-layout .order-quantity-control input,.purchasing-layout .order-adopt,.purchasing-layout .order-expand-cell .icon-button{height:44px;min-height:44px}.order-keyboard-help{display:none}.order-table-caption,.purchasing-layout .order-workspace-footer{padding-inline:12px}.dialog.article-detail{border-radius:0;width:100vw;height:100dvh}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.main-shell:has(.purchasing-layout){overflow:hidden}.order-statistics-row-season td:last-child{border-left:0;position:static}@media (width<=767px){.main-shell:has(.purchasing-layout){overflow:hidden auto}main#main-content:has(.purchasing-layout){height:auto;min-height:100dvh}.purchasing-layout,.purchasing-layout .order-workspace{height:auto;overflow:visible}main#main-content>div:has(.purchasing-layout){height:auto;overflow:visible}.purchasing-layout .order-catalogue-table{flex:none;max-height:none;container-type:inline-size}}@media (width<=1023px){.purchasing-layout input,.purchasing-layout select{font-size:16px}.order-col-expand{width:64px}}@media (width<=767px){.dialog.order-review{margin:0;position:fixed;inset:50dvh auto auto 50vw;transform:translate(-50%,-50%)}}@media (width<=1023px){.order-article-table .order-quantity-cell>small{top:calc(50% + 23px)}}.order-workspace-footer .draft-summary{flex:180px;min-width:0}.order-footer-value{align-items:center;gap:12px;min-width:0;height:20px;display:flex}.order-footer-value>strong{flex-shrink:0}.order-save-status{white-space:nowrap;text-overflow:ellipsis;min-width:0;color:hsl(var(--muted-foreground));flex:1;line-height:20px;overflow:hidden}@media (width<=767px){.order-workspace-footer .draft-summary{flex-basis:100%}}.order-remove{min-height:28px;color:hsl(var(--muted-foreground));cursor:pointer;background:0 0;border:0;border-radius:4px;flex:0 0 28px;justify-content:center;align-items:center;padding:0;display:inline-flex}.order-remove:hover:not(:disabled){color:#b91c1c;background:#fef2f2}.order-remove:disabled{opacity:.45;cursor:default}@media (pointer:coarse){.order-col-quantity{width:196px}.order-remove{min-width:44px;min-height:44px}}.order-group-actions,.order-group-toggle>span{align-items:center;gap:8px;display:inline-flex}.order-article-table .catalogue-group-heading th,.order-article-table>tbody>.order-group-body>td{padding:0}.order-group-viewport{height:max(120px, calc(100cqh - var(--order-column-heading-height) - var(--order-group-heading-height) - var(--order-group-pagination-height) - var(--order-next-group-heading-height,0px)));overflow-anchor:none;scrollbar-width:none;overflow:hidden auto}.order-group-viewport::-webkit-scrollbar{display:none}.order-article-table>tbody:has(+tbody){--order-next-group-heading-height:var(--order-group-heading-height)}@media (width<=767px){.order-group-viewport{height:max(160px, calc(100dvh - var(--order-group-heading-height) - var(--order-group-pagination-height) - var(--order-next-group-heading-height,0px)))}}.order-group-viewport>.order-article-table{min-width:0}.order-group-pagination{width:100cqw;height:var(--order-group-pagination-height);background:hsl(var(--background));border-block:1px solid hsl(var(--border));align-items:center;gap:12px;padding:5px 12px;display:flex;position:sticky;left:0}.order-group-pagination p{color:hsl(var(--muted-foreground));align-items:center;gap:6px;margin:0;font-size:12px;line-height:1.25;display:flex}.order-group-pagination p svg,.order-group-pagination button{flex-shrink:0}.order-group-pagination button[aria-disabled=true]{opacity:.55;cursor:default}.order-group-viewport .order-statistics-row-frame{left:calc(var(--order-scroll-left,0px) + 12px)}.order-group-toggle{width:100%;min-height:var(--order-group-heading-height);text-align:left;padding:12px 16px;display:flex}.order-group-toggle>span{position:sticky;left:16px}.order-group-toggle:hover{background:hsl(var(--muted));color:hsl(var(--foreground))}.order-group-toggle:focus-visible{outline-offset:-2px}
