@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-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@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;--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}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.\!block{display:block!important}.block{display:block}.table{display:table}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.purchase-tabs{border-bottom:1px solid var(--line);gap:5px;max-width:100%;margin-bottom:18px;padding:6px 0 14px;display:flex;overflow-x:auto}.purchase-tabs button{white-space:nowrap;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;padding:10px 16px;font-weight:600}.purchase-tabs button.active{color:#ad174d;background:#fce5ed;border-color:#edb9ce}.purchase-workflow-nav{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:14px;overflow:visible}.purchase-workflow-nav>button{align-items:center;gap:7px;min-height:43px;display:inline-flex}.purchase-stage-number{color:#555;background:#f0f1f5;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;display:inline-flex}.purchase-workflow-nav>button.active .purchase-stage-number{color:#fff;background:#ad174d}.purchase-tools-container{margin-left:auto;position:relative}.purchase-tools-container .purchase-tools-toggle{white-space:nowrap;min-height:43px}.purchase-tools-menu{border:1px solid var(--line);z-index:15;background:#fff;border-radius:10px;gap:2px;width:280px;max-width:calc(100vw - 28px);padding:7px;display:grid;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 12px 28px #191f2e1f}.purchase-tools-menu button,.purchase-tools-menu a{text-align:left;width:100%;color:inherit;background:0 0;border:0;border-radius:7px;padding:11px 12px;font-weight:500;text-decoration:none;display:block}.purchase-tools-menu button:hover,.purchase-tools-menu a:hover{background:#f5f6f9}.purchase-tools-menu button.active{color:#ad174d;background:#fce5ed}.purchase-tracking-filter{margin:0 0 8px}.purchase-tracking-filter label{max-width:260px}@media (max-width:700px){.purchase-workflow-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.purchase-workflow-nav>button{justify-content:center;min-width:0;padding:9px 7px;font-size:12px}.purchase-stage-number{flex:none;width:19px;height:19px;font-size:11px}.purchase-tools-container{grid-column:1/-1;margin-left:0}.purchase-tools-container .purchase-tools-toggle{width:100%}.purchase-tools-menu{width:100%;max-width:100%;right:0}}.purchase-table{border:1px solid var(--line);background:#fff;border-radius:12px;max-width:100%;margin:15px 0;overflow-x:auto}.purchase-table table{width:100%;min-width:750px}.purchase-table td{vertical-align:top}.purchase-plan-table table{min-width:2100px}.purchase-plan-table .supplier-cell{white-space:normal;min-width:180px;max-width:230px}.purchase-table .sku-cell{white-space:nowrap}.purchase-table .product-name-cell{white-space:normal;overflow-wrap:break-word;min-width:220px;max-width:340px}.purchase-table td strong+span{margin-top:6px;display:block}.purchase-table td span,.purchase-table td small{max-width:260px;display:block}.purchase-table td input:not([type=checkbox]){width:110px;min-height:40px}.purchase-table details{min-width:190px;max-width:280px}.purchase-table summary,.purchase-formula summary{cursor:pointer;font-weight:600}.purchase-table details p{white-space:normal;margin:8px 0}.purchase-actions{flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0;display:flex}.purchase-filters{align-items:end}.purchase-actions label{gap:6px;display:grid}.purchase-form{gap:14px;padding:20px 0;display:grid}.panel.purchase-form{margin:18px 0;padding:22px}.purchase-form label{gap:7px;font-weight:500;display:grid}.purchase-form input:not([type=checkbox]),.purchase-form select,.purchase-actions select,.purchase-actions input,.purchase-form textarea{border:1px solid var(--line);width:100%;min-height:44px;font:inherit;background:#fff;border-radius:8px;min-width:0;padding:10px 12px}.purchase-form textarea{resize:vertical;min-height:78px}.purchase-form label.purchase-check{align-items:flex-start;gap:10px;font-weight:400;display:flex}.purchase-check input{flex:none;margin-top:3px}.purchase-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.purchase-basket{border-top:3px solid #c82660;margin:22px 0;padding:22px}.proposal-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0;display:grid}.proposal-summary>div{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:18px}.proposal-summary span,.proposal-summary small{color:var(--muted);display:block}.proposal-summary strong{overflow-wrap:anywhere;margin:8px 0;font-size:24px;display:block}.supplier-stock .proposal-summary{gap:8px;margin:0}.supplier-stock .proposal-summary>div{padding:10px}.supplier-stock .proposal-summary strong{margin:4px 0 0;font-size:18px}.proposal-groups td:first-child{white-space:normal;min-width:200px;max-width:320px}.proposal-lines table{min-width:2340px}.purchase-bulk-actions{border:1px solid var(--line);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0;padding:8px 12px;display:flex}.purchase-bulk-actions strong{white-space:nowrap;font-size:13px}.purchase-bulk-actions label{align-items:center;gap:8px;font-size:13px;display:flex}.purchase-bulk-actions select,.purchase-bulk-actions input{border:1px solid var(--line);background:#fff;border-radius:7px;max-width:265px;min-height:36px;padding:6px 9px}.supplier-calendar-summary{margin:12px 0 18px}.purchase-schedule-editor{border:1px solid var(--line);border-radius:10px;margin:10px 0;padding:16px}.purchase-schedule-editor .purchase-form{padding:4px}.shelf-order-percent strong{white-space:nowrap;font-size:14px;display:block}.shelf-order-percent small{font-size:12px;display:block}.shelf-order-percent.reached{color:#176c45}.shelf-order-percent.short{color:#a35012}@media (max-width:700px){.purchase-bulk-actions label{flex-wrap:wrap}.purchase-bulk-actions select{max-width:100%}}.proposal-line-excluded td{background:#f8f9fb}.purchase-signal-tabs{flex-wrap:wrap;align-items:center;gap:7px;margin:8px 0 12px;display:flex}.proposal-signal-requested{color:#155e75;font-weight:700}.proposal-signal-recovery{color:#9a5700;font-weight:700}.purchase-signal-tabs .muted{margin-left:4px}.proposal-save{border-top:3px solid #c82660;margin:20px 0;padding:22px}.proposal-drafts{border-top:1px solid var(--line);margin-top:32px;padding-top:22px}.purchase-formula{background:#f6f8fb;border-radius:10px;margin:16px 0;padding:14px 18px}.purchase-formula p{margin:8px 0}.purchase-review-mini{border:1px solid var(--line);background:#fff;border-radius:10px;margin:12px 0;overflow:hidden}.purchase-review-mini.has-blocks{border-color:#dc8494}.purchase-review-toggle{text-align:left;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-height:44px;padding:9px 12px;display:flex}.purchase-review-toggle:hover{background:#f8f9fb}.purchase-review-mini-title{margin-right:4px;font-size:14px;font-weight:700}.purchase-review-chip{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:5px;padding:2px 7px;font-size:12px}.purchase-review-chip.danger{color:#9d2337;background:#fff1f2;border-color:#e8adb4;font-weight:700}.purchase-review-expand{color:var(--primary);white-space:nowrap;margin-left:auto;font-size:12px;font-weight:700}.purchase-review-content{border-top:1px solid var(--line);padding:12px 14px}.purchase-review-content-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.purchase-review-compact-section{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.purchase-review-compact-section h4{margin-bottom:8px;font-size:14px}.purchase-review-compact-section.critical h4{color:#9d2337}.purchase-review-issue{border:1px solid var(--line);border-radius:8px;margin-top:6px;overflow:hidden}.purchase-review-issue summary{cursor:pointer;align-items:center;gap:8px;padding:9px 11px;font-size:13px;font-weight:600;display:flex}.purchase-review-issue summary::marker{content:""}.purchase-review-issue summary:before{content:"▸";flex-shrink:0;font-size:12px}.purchase-review-issue[open] summary:before{content:"▾"}.purchase-review-issue summary span{overflow-wrap:anywhere;flex:1;min-width:0}.purchase-review-issue summary small{color:var(--muted);white-space:nowrap;font-size:12px;font-weight:400}.purchase-review-issue .purchase-review-skus{padding:0 12px 12px}.purchase-review-skus{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.purchase-review-skus span{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:5px;padding:4px 7px;font-size:12px}.purchase-review-source-list{margin:0;padding:0 16px 10px 32px}.purchase-review-source-list li{overflow-wrap:anywhere;margin:6px 0}.purchase-review-source-link{text-underline-offset:3px;margin-top:10px;font-size:13px;text-decoration:underline;display:inline-block}@media (max-width:700px){.purchase-review-toggle{gap:5px;padding:8px 9px}.purchase-review-mini-title{width:100%;margin:0;font-size:13px}.purchase-review-chip{padding:2px 5px;font-size:11px}.purchase-review-content{padding:10px}.purchase-review-content-top button{width:100%}}.demand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0;display:grid}.demand-card{min-width:0;padding:22px}.demand-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0;display:grid}.demand-summary dt{color:var(--muted);font-size:12px}.demand-summary dd{margin-top:5px;font-size:22px;font-weight:700}.transfer-list>div,.receipt-card{border-top:1px solid var(--line);padding:14px 0}.purchase-history article{border-bottom:1px solid var(--line);padding:16px 0}.purchase-history article>span{color:var(--muted);margin:5px 0;font-size:13px;display:block}.purchase-history article p{margin:8px 0}.purchase-history pre{background:#f6f8fb;border-radius:8px;max-width:100%;padding:12px;font-size:12px;overflow-x:auto}.purchase-link{color:#b51952;text-align:left;cursor:pointer;margin:6px 0;display:block}@media (max-width:700px){.demand-grid{grid-template-columns:minmax(0,1fr)}.demand-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-form-grid{grid-template-columns:minmax(0,1fr)}.proposal-summary{grid-template-columns:minmax(0,1fr);gap:8px}.proposal-summary>div{padding:14px}.proposal-groups table,.proposal-groups tbody{min-width:0;display:block}.proposal-groups thead{display:none}.proposal-groups tr{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;display:grid}.proposal-groups td{white-space:normal;border:0;min-width:0;padding:10px}.proposal-groups td:first-child,.proposal-groups td:last-child{grid-column:1/-1;min-width:0;max-width:none}.proposal-groups td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:5px;font-size:12px;display:block}.proposal-groups td:last-child button{width:100%}.supplier-stock .proposal-summary>div{border:0;justify-content:space-between;align-items:center;gap:10px;padding:5px 0;display:flex}.supplier-stock .proposal-summary span{font-size:12px}.supplier-stock .proposal-summary strong{flex-shrink:0;font-size:16px}.proposal-lines table,.proposal-lines tbody,.order-lines table,.order-lines tbody{min-width:0;display:block}.proposal-lines thead,.order-lines thead{display:none}.proposal-lines tr,.order-lines tr{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;display:grid}.proposal-lines td,.order-lines td{white-space:normal;border:0;min-width:0;max-width:none;padding:8px}.proposal-lines .product-name-cell,.order-lines .order-product{grid-column:1/-1;min-width:0;max-width:none}.proposal-lines .proposal-keep,.order-lines .order-remove{align-items:center;gap:10px;display:flex}.proposal-lines .sku-cell{grid-area:1/1}.proposal-lines .proposal-keep{grid-area:1/2;justify-content:end}.order-lines .order-remove{grid-column:1/-1;justify-content:end}.proposal-lines td[data-label]:before,.order-lines td[data-label]:before{content:attr(data-label);color:var(--muted);margin-bottom:5px;font-size:12px;display:block}.proposal-lines td input:not([type=checkbox]),.order-lines td input:not([type=checkbox]){border:1px solid var(--line);border-radius:6px;width:100%;min-height:44px;padding:8px}.proposal-lines details{min-width:0;max-width:none}.proposal-lines td span,.proposal-lines td small,.order-lines td span{max-width:none}.purchase-actions label{flex:180px}.purchase-tabs button{padding:10px 12px;font-size:13px}.purchase-basket,.demand-card,.panel.purchase-form{padding:16px}.mobile-nav{justify-content:flex-start;overflow-x:auto}.mobile-nav a,.mobile-nav button{flex:0 0 65px}}:root{--ink:#172032;--muted:#657184;--line:#e5e8ee;--primary:#d71755;--primary-hover:#b91045;--canvas:#f6f8fb;--nav:#142132}*{box-sizing:border-box}body{color:var(--ink);background:var(--canvas);margin:0;font-family:Arial,Segoe UI,sans-serif;font-size:16px;line-height:1.5}h1,h2,h3,h4,p{margin:0}button,input,select{font:inherit}button,a,input{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}:focus-visible{outline-offset:3px;outline:3px solid #6084d9}h2{letter-spacing:-.5px;font-size:28px;font-weight:700}h3{font-size:16px;font-weight:700}h4{font-size:17px;font-weight:700}.muted{color:var(--muted)}.eyebrow{letter-spacing:1.8px;font-size:12px;font-weight:700}.button{white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 17px;font-size:14px;font-weight:600;transition:background .15s;display:inline-flex}.button-primary{background:var(--primary);color:#fff}.button-primary:hover:not(:disabled){background:var(--primary-hover)}.button-outline{color:var(--ink);background:#fff;border-color:#d9dfe7}.button-outline:hover:not(:disabled){background:#f2f4f8}.button-ghost{color:var(--muted);background:0 0;padding:8px 10px}.button-ghost:hover{color:var(--ink);background:#f2f4f8}.full{width:100%}label,.field-label{margin-bottom:7px;font-size:14px;font-weight:600;display:block}input:not([type=checkbox]){width:100%;min-height:46px;color:var(--ink);outline-offset:2px;background:#fff;border:1px solid #d9dfe7;border-radius:8px;padding:11px 13px}input::placeholder{color:#8d96a5}input[type=checkbox]{width:17px;height:17px;accent-color:var(--primary);flex:none}fieldset{border:0;min-width:0;margin:0;padding:0}.brand{align-items:center;gap:12px;display:flex}.brand-mark{background:var(--primary);color:#fff;letter-spacing:-1px;border-radius:10px;place-items:center;width:42px;height:44px;font-size:17px;font-weight:800;display:grid}.brand strong{letter-spacing:1px;font-size:17px;display:block}.brand span{letter-spacing:4px;color:var(--muted);font-size:12px;font-weight:700;display:block}.brand-dark{color:#fff}.brand-dark span{color:#a9b9cd}.avatar{color:#fff;background:#334354;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-weight:600;display:grid}.avatar.light{color:#b81b4c;background:#f8e8ef}.app-shell{min-height:100dvh;display:flex}.sidebar{background:var(--nav);color:#a9b9cd;flex-direction:column;width:244px;padding:30px 22px;display:flex;position:fixed;inset:0 auto 0 0}.nav-section{letter-spacing:1px;color:#8397b0;margin:45px 0 15px 12px;font-size:12px;font-weight:600}.sidebar nav{gap:6px;display:grid}.nav-item{border-radius:8px;align-items:center;gap:13px;min-height:46px;padding:12px 14px;font-size:14px;font-weight:600;display:flex}.nav-item:hover{color:#fff;background:#223248}.nav-item.active{color:#fff;background:#2a3549;box-shadow:inset 3px 0 #ee5a8b}.nav-item.active svg{color:#ff8fae}.sidebar-footer{border-top:1px solid #2d3c50;margin-top:auto;padding-top:22px}.profile{align-items:center;gap:10px;display:flex}.profile strong{color:#f4f7fb;overflow-wrap:anywhere;font-size:14px;display:block}.profile span{font-size:12px;display:block}.logout{color:#b8c5d7;background:0 0;border:0;align-items:center;gap:10px;min-height:44px;margin-top:22px;padding:8px 0;font-size:14px;display:flex}.logout-error{color:#ffa5b7;margin-top:8px;font-size:13px}.main-wrap{width:calc(100% - 244px);min-width:0;margin-left:244px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:96px;padding:0 36px;display:flex}.topbar .eyebrow{color:var(--muted);letter-spacing:1px;font-size:12px}.topbar h1{letter-spacing:-.5px;margin-top:3px;font-size:23px;font-weight:700}.topbar-user{align-items:center;gap:14px;font-size:14px;font-weight:600;display:flex}.workspace{max-width:1500px;margin:0 auto;padding:34px 36px 48px}.page-intro{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-intro .muted{margin-top:6px;font-size:15px}.date-label{color:var(--muted);margin-bottom:6px;font-size:13px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:26px;display:grid}.stat-card{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:flex-start;gap:17px;padding:23px 25px;display:flex}.card-icon{width:44px;height:44px;color:var(--primary);background:#faeaf0;border-radius:10px;flex:none;place-items:center;display:grid}.card-icon.blue{color:#416cae;background:#eaf0fb}.stat-card span{color:var(--muted);font-size:14px;display:block}.stat-card strong{margin:3px 0;font-size:34px;font-weight:700;line-height:1.4;display:block}.stat-card strong.role-value{font-size:23px;line-height:1.65}.stat-card small{color:var(--muted);font-size:12px}.home-grid{grid-template-columns:1fr 1.1fr;align-items:start;gap:22px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;display:flex}.panel-heading h3{align-items:center;gap:9px;display:flex}.panel-heading h3 svg{color:var(--muted)}.badge{white-space:nowrap;border-radius:5px;align-items:center;padding:4px 8px;font-size:12px;font-weight:600;line-height:1.4;display:inline-flex}.badge.neutral{color:#58677b;background:#f0f3f7}.badge.success{color:#237453;background:#e6f6ef}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:248px;padding:40px 22px 45px;display:flex}.empty-state p{max-width:320px;color:var(--muted);font-size:14px;line-height:1.7}.empty-icon{color:#7a8aa2;background:#f2f5f9;border-radius:12px;place-items:center;width:58px;height:58px;margin-bottom:4px;display:grid}.empty-state.compact{min-height:150px;padding:25px}.activity-row{border-bottom:1px solid #f0f2f6;align-items:center;gap:12px;padding:15px 22px;display:flex}.activity-row:last-child{border:0}.activity-row strong{font-size:14px;font-weight:600;display:block}.activity-row span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.activity-dot{background:#a6b4c9;border-radius:50%;flex:none;width:7px;height:7px}.activity-row time{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:12px}.account-details{padding:6px 22px}.account-details>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:18px 0;display:flex}.account-details>div:last-child{border:0}.account-details dt{color:var(--muted);font-size:14px}.account-details dd{margin:0;font-size:14px;font-weight:600}.table-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;display:flex}.table-toolbar>div{align-items:center;gap:9px;font-size:15px;display:flex}.table-toolbar svg{color:var(--muted)}.count-badge{color:var(--muted);background:#f1f4f8;border-radius:6px;padding:2px 8px;font-size:12px}.search-field{border:1px solid #d9dfe7;border-radius:8px;align-items:center;gap:7px;width:250px;margin:0;padding:0 10px;display:flex}.search-field input{border:0;min-height:42px;padding:8px 0;font-size:14px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;color:var(--muted);border-bottom:1px solid var(--line);background:#f9fafc;padding:14px 22px;font-size:12px;font-weight:600}td{vertical-align:middle;border-bottom:1px solid #edf0f5;padding:17px 22px}tr:last-child td{border:0}.right{text-align:right}.table-person{align-items:center;gap:12px;display:flex}.table-person strong{font-size:14px;font-weight:600;display:block}.table-person span{color:var(--muted);font-size:12px;display:block}.table-person .avatar{width:37px;height:37px;font-size:14px}.role-tags{flex-wrap:wrap;gap:6px;display:flex}.table-footer{color:var(--muted);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding:16px 22px;font-size:13px;display:flex}.table-footer>div{gap:7px;display:flex}.table-footer .button{min-height:36px;padding:7px 12px;font-size:13px}.notice{color:#246d50;background:#e9f7f0;border:1px solid #c8e5d7;border-radius:8px;margin-bottom:20px;padding:12px 16px;font-size:14px}.dialog-overlay{z-index:40;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#10203991;position:fixed;inset:0}.dialog-content{z-index:41;border:1px solid var(--line);background:#fff;border-radius:14px;width:calc(100vw - 32px);max-width:500px;max-height:90dvh;padding:28px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 20px 80px #13203940}.dialog-content h2{padding-right:25px;font-size:22px;line-height:1.4}.dialog-content>p{color:var(--muted);margin-top:6px;font-size:14px}.dialog-close{width:32px;height:32px;color:var(--muted);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:19px;right:19px}.user-form{margin-top:23px}.user-form label:not(.role-option):not(.active-option){margin-top:15px}.user-form small{color:var(--muted);margin-top:6px;font-size:12px;line-height:1.6;display:block}.user-form .field-label{margin-top:19px}.role-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.role-option{border:1px solid var(--line);cursor:pointer;border-radius:8px;align-items:center;gap:9px;margin:0;padding:12px;font-weight:500;display:flex}.role-option.selected{background:#fff8fa;border-color:#e783a3}.active-option{align-items:center;gap:10px;margin-top:13px;padding:12px 0;font-weight:500;display:flex}.dialog-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;display:flex}.form-error{color:#a62636;background:#fff0f1;border:1px solid #f2cbd0;border-radius:8px;margin:16px 0;padding:11px 13px;font-size:14px;line-height:1.6}.login-page{background:#fff;grid-template-columns:44% 56%;min-height:100dvh;display:grid}.login-brand{background:var(--nav);color:#fff;flex-direction:column;padding:48px 56px;display:flex;position:relative}.login-brand:after{content:"";background:var(--primary);width:70px;height:5px;position:absolute;bottom:160px;left:56px}.login-statement{margin:auto 0;padding:80px 0}.login-statement .eyebrow{color:#ee93b0;letter-spacing:2px}.login-statement h1{letter-spacing:-2px;margin:23px 0;font-size:clamp(38px,4vw,62px);font-weight:700;line-height:1.18}.login-statement p{color:#afbdd0;max-width:330px;font-size:16px;line-height:1.8}.login-foot{color:#afbdd0;font-size:12px}.login-form-panel{justify-content:center;align-items:center;padding:40px;display:flex}.login-form-wrap{width:100%;max-width:370px}.login-form-wrap h2{margin-top:21px;font-size:30px}.login-form-wrap>.muted{margin-top:8px;font-size:14px}.login-icon{width:54px;height:54px;color:var(--primary);background:#faeaf0;border-radius:13px;place-items:center;display:grid}.login-form-wrap form{margin-top:32px}.login-form-wrap label{margin-top:21px}.password-field{position:relative}.password-field input{padding-right:48px!important}.password-field button{width:40px;height:40px;color:var(--muted);background:0 0;border:0;place-items:center;display:grid;position:absolute;top:3px;right:5px}.login-form-wrap .button{min-height:48px;margin-top:25px}.login-help{color:var(--muted);text-align:center;margin-top:25px;font-size:13px}.login-mobile-brand{display:none}.loading-page{min-height:100dvh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:15px;padding:25px;display:flex}.error-card{flex-direction:column;justify-content:center;align-items:center;gap:18px;padding:32px;display:flex}.skeleton-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.skeleton{background:linear-gradient(90deg,#e9edf3 25%,#f5f7fa 50%,#e9edf3 75%) 0 0/200% 100%;border-radius:12px;height:140px;animation:1.5s infinite shimmer}.skeleton-list{gap:14px;padding:24px;display:grid}.skeleton-list .skeleton{height:60px}.pad{padding:22px}.spin{animation:1s linear infinite rotate}.mobile-nav,.mobile-logout-error{display:none}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes shimmer{to{background-position:-200% 0}}@media (min-width:1550px){.workspace{padding-top:40px}.home-grid{gap:26px}.login-brand{padding:56px 80px}}@media (max-width:1000px){.sidebar{width:210px;padding:25px 16px}.main-wrap{width:calc(100% - 210px);margin-left:210px}.workspace{padding:27px 24px}.topbar{padding:0 24px}.home-grid{grid-template-columns:1fr}.login-brand{padding:40px 35px}.login-brand:after{left:35px}.login-form-panel{padding:32px}.page-intro{align-items:flex-start}.page-intro h2{font-size:24px}.stat-card{padding:20px}.table-person{min-width:190px}}@media (max-width:700px){body{font-size:16px}.sidebar{display:none}.main-wrap{width:100%;margin:0}.topbar{height:83px;padding:0 20px}.topbar h1{font-size:22px}.topbar-user>span{display:none}.workspace{padding:25px 18px 105px}.page-intro{flex-direction:column;gap:18px;margin-bottom:22px}.page-intro h2{font-size:26px}.date-label{font-size:12px}.page-intro .button{width:100%}.overview-grid{grid-template-columns:1fr;gap:12px;margin-bottom:20px}.stat-card{padding:19px 20px}.stat-card strong{font-size:29px}.stat-card strong.role-value{font-size:22px}.home-grid{gap:20px}.panel-heading{padding:18px}.activity-row{padding:15px 18px}.panel-heading h3{font-size:15px}.empty-state{min-height:235px;padding:30px 18px}.mobile-nav{border-top:1px solid var(--line);z-index:20;padding:10px 10px calc(10px + env(safe-area-inset-bottom));background:#fff;justify-content:space-around;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 15px #11223305}.mobile-nav a,.mobile-nav button{min-width:80px;color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:4px;min-height:44px;font-size:12px;display:flex}.mobile-nav .active{color:var(--primary);font-weight:700}.mobile-logout-error{color:#a62636;z-index:21;background:#fff0f1;padding:12px;font-size:14px;display:block;position:fixed;bottom:90px;left:18px;right:18px}.table-toolbar{flex-direction:column;align-items:stretch;gap:14px;padding:18px}.search-field{width:100%}.table-scroll table,.table-scroll tbody{width:100%;min-width:0;display:block}.table-scroll thead{display:none}.table-scroll tbody tr{border-bottom:1px solid var(--line);grid-template-columns:1fr auto;gap:12px;padding:18px;display:grid}.table-scroll tbody tr:last-child{border-bottom:0}.table-scroll td{border:0;padding:0;display:block}.table-scroll td:first-child,.table-scroll td:nth-child(4){grid-column:1/-1}.table-scroll td:nth-child(4) .button{border:1px solid var(--line);width:100%}.table-person{min-width:0}.table-footer{gap:10px;padding:15px;font-size:12px}.table-footer .button{min-height:44px}.dialog-content{max-height:calc(100dvh - 30px);padding:25px 20px}.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-form-panel{align-items:center;min-height:100dvh;padding:35px 26px}.login-form-wrap{max-width:390px}.login-mobile-brand{margin-bottom:48px;display:block}.login-icon{display:none}.login-form-wrap h2{margin-top:0}.skeleton-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.small-text{font-size:13px;line-height:1.6}.data-notice{color:#775b24;background:#fff8e7;border:1px solid #f1deab;border-radius:9px;margin:16px 0;padding:14px 16px;font-size:14px;line-height:1.6}.data-notice p{margin-top:4px}.source-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.source-panel{padding:22px}.source-status{gap:6px;font-size:13px;line-height:1.6;display:grid}.source-status strong{font-size:15px}.source-status.ready strong{color:#237453}.source-status.stale strong,.source-status.incomplete strong{color:#886421}.source-status.error strong{color:#a62636}.source-status.not_connected strong{color:var(--muted)}.source-panel dl{margin-top:16px;font-size:13px}.source-panel dl>div{justify-content:space-between;gap:14px;margin-top:10px;display:flex}.source-panel dt{color:var(--muted)}.source-panel dd{text-align:right;margin:0}.source-footnote{margin:16px 0 24px;font-size:13px}.home-sources{gap:18px;padding:20px 22px;display:grid}.physical-stock-badges{flex-wrap:wrap;gap:5px;margin:8px 0;display:flex}.physical-stock-badge{overflow-wrap:anywhere;background:#f0f8ff;border:1px solid #b5d4ee;border-radius:7px;padding:5px 7px;font-size:11px;font-weight:700;display:inline-flex}.physical-stock-badge.short{color:#a02b24;background:#fff1ef;border-color:#e7b7b3}.physical-stock-badge.surplus{color:#216c3d;background:#eaf7ee;border-color:#a3d6b2}.physical-stock-badge.match{color:#356747;background:#edf6f2;border-color:#c1dacc}.physical-count-editor{border:1px solid var(--line);border-radius:10px;padding:14px}.physical-count-editor .purchase-form{margin-top:10px}.store-shelves{gap:18px;display:grid}.store-shelves select{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;min-height:42px;padding:8px}.shelf-two-faces{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.shelf-face{border:1px solid var(--line);background:#f8f9fc;border-radius:12px;min-width:0;padding:14px}.shelf-face-head{margin-bottom:12px}.shelf-face-head h3{margin-bottom:4px}.shelf-face-levels{gap:12px;margin-top:14px;display:grid}.shelf-level{border:1px solid var(--line);background:#fff;border-radius:9px;min-width:0;padding:10px}.shelf-level>strong{margin-bottom:7px;font-size:12px;display:block}.shelf-bays{gap:5px;display:grid;overflow-x:auto}.shelf-bay{border:1px dashed #b8c5d2;border-radius:6px;flex-direction:column;gap:5px;min-width:65px;min-height:72px;padding:6px;display:flex}.shelf-bay>small{color:var(--muted)}.shelf-bay>button{min-height:30px;margin-top:auto;padding:5px;font-size:11px}.shelf-placed-sku{overflow-wrap:anywhere;background:#eaf0f8;border-radius:5px;gap:3px;padding:5px;display:grid}.shelf-placed-sku strong{font-size:11px}.shelf-placed-sku small{font-size:10px}.shelf-item-actions{gap:6px;display:flex}.shelf-item-actions button{font-size:10px;text-decoration:underline}.shelf-slot-form,.shelf-create{padding:16px}@media (max-width:700px){.shelf-two-faces{grid-template-columns:1fr}.shelf-face{padding:10px}.shelf-bays{overflow-x:auto}}.lookup-search{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;gap:12px;padding:4px 14px;display:flex}.lookup-scan-row{align-items:stretch;gap:10px;display:flex}.lookup-scan-row .lookup-search{flex:1;min-width:0;margin:0}.lookup-camera-button{flex-shrink:0}.barcode-scanner{z-index:1100;background:#0e141ec9;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0;overflow-y:auto}.barcode-scanner-panel{background:#fff;border-radius:15px;width:min(100%,590px);max-height:calc(100dvh - 24px);padding:17px;overflow-y:auto;box-shadow:0 12px 40px #0004}.barcode-scanner-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.barcode-scanner-heading h3{align-items:center;gap:8px;display:flex}.barcode-preview{aspect-ratio:4/3;background:#161b24;border-radius:10px;position:relative;overflow:hidden}.barcode-preview video{object-fit:cover;width:100%;height:100%;display:block}.barcode-aim{pointer-events:none;border:2px solid #fff;border-width:2px 5px;border-radius:8px;position:absolute;inset:27% 12%;box-shadow:0 0 0 999px #0003}.barcode-scanner-panel>p{margin-top:12px}.barcode-scanner-actions{flex-wrap:wrap;gap:10px;margin-top:14px;display:flex}.barcode-photo-action{cursor:pointer;align-items:center;gap:8px;min-height:44px;margin:0;display:inline-flex;position:relative}.barcode-photo-action input{opacity:0;height:1px;position:absolute;bottom:0;left:0;overflow:hidden;width:1px!important}@media (max-width:700px){.lookup-scan-row{flex-direction:column}.lookup-camera-button{width:100%}.barcode-scanner{align-items:flex-start;padding:6px}.barcode-scanner-panel{max-height:calc(100dvh - 12px);padding:12px}.barcode-scanner-actions>button,.barcode-scanner-actions>label{flex:100%;justify-content:center}}.lookup-search svg{color:var(--muted);flex:none}.lookup-search input{background:0 0;border:0;min-width:0}.search-help{margin:8px 0 20px}.lookup-count{flex-wrap:wrap;justify-content:space-between;gap:8px;margin:22px 0 14px;font-size:14px;display:flex}.product-card{text-align:left;border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;gap:10px;min-width:0;padding:20px;display:flex}.product-card:hover{border-color:#d6839e;box-shadow:0 4px 18px #13203908}.product-card h3{overflow-wrap:anywhere;font-size:17px;line-height:1.5}.product-card-heading{flex-wrap:wrap;justify-content:space-between;gap:6px;display:flex}.product-sku{color:var(--primary);overflow-wrap:anywhere;font-size:12px;font-weight:600}.stock-grid,.sales-grid{flex-wrap:wrap;gap:12px;margin:10px 0;display:flex}.stock-grid>div,.sales-grid>div{background:#f6f8fb;border-radius:8px;flex:1;min-width:100px;padding:12px 16px}.stock-grid span,.sales-grid span{color:var(--muted);font-size:12px;display:block}.stock-grid strong,.sales-grid strong{font-variant-numeric:tabular-nums;margin-top:5px;font-size:22px;display:block}.negative-value{color:#a62636}.product-detail{gap:20px;margin-top:20px;display:grid}.product-detail section{border-top:1px solid var(--line);padding-top:18px}.product-detail h3{margin-bottom:10px;font-size:16px}.product-detail select{border:1px solid var(--line);width:100%;min-height:44px;font:inherit;background:#fff;border-radius:8px;padding:8px 12px}.product-detail .field-label{margin:14px 0 8px}.related-products{gap:8px;display:grid}.related-products button{text-align:left;border:1px solid var(--line);background:#f8fafc;border-radius:8px;padding:12px}.related-products strong{font-size:14px;line-height:1.5;display:block}.related-products span{color:var(--muted);margin-top:4px;font-size:12px;display:block}.detail-skeleton{height:260px;margin-top:20px}.pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin:24px 0;font-size:13px;display:flex}.sync-job{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:12px;padding:16px 22px;font-size:14px;display:flex}.sync-job:last-child{border:0}.sync-job small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.sync-job>p{width:100%}@media (max-width:700px){.source-grid,.product-grid{grid-template-columns:1fr}.product-card,.source-panel{padding:18px}.mobile-nav a,.mobile-nav button{flex:1;min-width:0;font-size:10px}.source-panel dl>div{flex-wrap:wrap}}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
