:root{--shell-bg:#f3f4f1;--shell-surface:#fafbf9;--shell-surface-muted:#f3f4f1;--shell-row-hover:#eceee9;--shell-border:#e1e4df;--shell-field-border:#868f88;--shell-field-border-strong:#6b756e;--shell-section-border:#e1e4df;--shell-focus-ring:#52796f4d;--shell-disabled-bg:#eceee9;--shell-text:#2c322e;--shell-muted:#646d67;--shell-faint:#646d67;--shell-accent:#52796f;--shell-accent-hover:#46685f;--shell-on-accent:#fafbf9;--shell-accent-soft:#e7ede7;--shell-accent-border:#c5d3cc;--shell-accent-text:#4d7268;--shell-sidebar:#ebeee8;--shell-sidebar-text:#2c322e;--shell-sidebar-muted:#646d67;--shell-sidebar-hover:#e1e5de;--shell-sidebar-line:#e1e4df;--shell-sidebar-active-bg:#fafbf9;--shell-sidebar-active-text:#4d7268;--shell-sidebar-width:15.5rem;--status-ok-bg:#e8f5e9;--status-ok-text:#2e7d32;--status-ok-border:#c8e6c9;--status-wait-bg:#fff8e1;--status-wait-text:#875f02;--status-wait-border:#f3e2a9;--status-error-bg:#ffebee;--status-error-text:#c62828;--status-error-border:#ffcdd2;--status-neutral-bg:#e7ede7;--status-neutral-text:#4d7268;--product-block-bg:#e2effc;--product-block-head-bg:#bddafa;--product-block-border:#7ca9d5;--product-block-line-bg:#f3f9ff;--product-block-head-text:#174b7c;--product-block-radius:12px;--radius-card:10px;--radius-control:7px;--shadow-card:0 2px 8px #2c322e0a;--shell-shadow-rgb:44 50 46;--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--shell-bg);color:var(--shell-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:inherit}button,input,select,textarea{font:inherit}button,select{cursor:pointer}:where(button){border:1px solid var(--shell-field-border);border-radius:var(--radius-control);background-color:var(--shell-surface);color:var(--shell-text)}:where(button:hover:not(:disabled)){border-color:var(--shell-accent-text)}button:disabled,select:disabled{cursor:not-allowed}select:disabled,input:disabled,textarea:disabled{border-color:var(--shell-border);background:var(--shell-disabled-bg);color:var(--shell-muted);opacity:1;border-style:dashed}.primary-button:disabled{background:var(--shell-disabled-bg);color:var(--shell-faint)}.secondary-link:disabled,.secondary-button:disabled,.text-button:disabled{color:var(--shell-faint)}.auth-shell,.centered-state{place-items:center;min-height:100vh;padding:2rem;display:grid}.auth-card{border:1px solid var(--shell-border);border-radius:var(--radius-card);background:var(--shell-surface);width:min(100%,30rem);box-shadow:var(--shadow-card);padding:clamp(2rem,7vw,3.5rem)}.auth-card h1,.page-heading h1,.hero-panel h1{letter-spacing:-.045em;margin:0;line-height:1}.auth-card h1{font-size:1.5rem}.eyebrow{color:var(--shell-muted);letter-spacing:.13em;text-transform:uppercase;margin:0 0 .75rem;font-size:.75rem;font-weight:800}.muted,.field-help,.security-note,.record-row span,.audit-row span,.summary-card span{color:var(--shell-muted)}.auth-card form,.inline-form{gap:1rem;margin-top:1.75rem;display:grid}.cash-form-grid{align-items:start}.allocation-list{border:1px solid var(--shell-field-border);background:var(--shell-surface-muted);border-radius:.75rem;gap:.75rem;padding:.85rem;display:grid}.form-subsection{border:1px solid var(--border);border-radius:.8rem;gap:.75rem;margin:0;padding:1rem;display:grid}label{color:var(--shell-muted);gap:.45rem;font-size:.9rem;font-weight:700;display:grid}input,select,textarea{border:1px solid var(--shell-field-border);border-radius:var(--radius-control);background:var(--shell-surface);width:100%;min-height:2.8rem;color:var(--shell-text);padding:.7rem .8rem}input:hover:not(:disabled):not(:focus),select:hover:not(:disabled):not(:focus),textarea:hover:not(:disabled):not(:focus){border-color:var(--shell-field-border-strong)}input:focus,select:focus,textarea:focus{border-color:var(--shell-accent-text);box-shadow:0 0 0 3px var(--shell-focus-ring);outline:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px}.primary-button,.primary-link{background:var(--shell-accent);min-height:2.8rem;color:var(--shell-on-accent);border:0;border-radius:.7rem;justify-content:center;align-items:center;padding:.75rem 1rem;font-weight:800;text-decoration:none;display:inline-flex}.primary-button:hover:not(:disabled),.primary-link:hover{background:var(--shell-accent-hover)}.secondary-link,.secondary-button{border:1.5px solid var(--shell-accent-border);background:var(--shell-accent-soft);min-height:2.8rem;color:var(--shell-accent-text);border-radius:.7rem;justify-content:center;align-items:center;padding:.75rem 1rem;font-weight:800;text-decoration:none;display:inline-flex}.secondary-link:hover:not(:disabled),.secondary-button:hover:not(:disabled){border-color:var(--shell-accent-text)}.text-button{color:var(--shell-text);background:0 0;border:0;padding:.25rem;font-weight:750}.form-error{color:var(--status-error-text);font-weight:700}.form-success{color:var(--status-ok-text);font-weight:700}.work-dialog-body .sales-order-page>:is(.form-success,.form-error){z-index:3;border-bottom:1px solid var(--shell-border);background:var(--shell-surface);margin:0;padding:.5rem .75rem;position:sticky;top:0}.field-help,.security-note{font-size:.82rem;line-height:1.5}.record-actions{align-items:center;gap:1rem;display:flex}.pilot-mode-indicator{border:1px solid var(--status-wait-border);color:var(--status-wait-text);letter-spacing:.06em;border-radius:999px;padding:.3rem .55rem;font-size:.72rem;font-weight:800}.pilot-check-ready,.pilot-status-ready{background:var(--status-ok-bg);color:var(--status-ok-text)}.pilot-check-not_ready,.pilot-status-not_ready{background:var(--status-error-bg);color:var(--status-error-text)}.pilot-check-warning{background:var(--status-wait-bg);color:var(--status-wait-text)}.page-content{width:min(100% - 2.5rem,76rem);margin:0 auto;padding:clamp(1.5rem,3vw,2.5rem) 0 4rem}.hero-panel{border-radius:var(--radius-card);background:var(--shell-sidebar);max-width:58rem;color:var(--shell-sidebar-text);padding:clamp(2rem,6vw,5rem)}.hero-panel .eyebrow{color:var(--shell-sidebar-muted)}.hero-panel h1{max-width:14ch;font-size:1.5rem}.hero-panel>p:last-child{max-width:42rem;color:var(--shell-sidebar-muted);margin:1.5rem 0 0;font-size:1.05rem;line-height:1.65}.summary-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin:1rem 0;display:grid}.panel-grid,.form-grid{gap:1rem;display:grid}.panel-grid{margin:1rem 0}.panel-grid.two-column,.form-grid.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-grid.three-column{grid-template-columns:repeat(3,minmax(0,1fr))}.action-links,.search-form,.photo-links,.data-card-heading{align-items:center;gap:.75rem;display:flex}.action-links{flex-wrap:wrap}.search-form{margin-top:1rem}.search-form input{flex:1}.search-form select{flex:none;width:auto}.summary-card,.panel{border:1px solid var(--shell-border);border-radius:var(--radius-card);background:var(--shell-surface);box-shadow:var(--shadow-card)}.summary-card{gap:.55rem;padding:1.35rem;display:grid}.summary-label{letter-spacing:.1em;text-transform:uppercase;font-size:.72rem;font-weight:800}.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem;display:flex}main h1{font-size:1.375rem;line-height:1.2}.page-heading h1{letter-spacing:-.03em;overflow-wrap:anywhere;font-size:1.375rem;line-height:1.15}.panel h2{border-bottom:1px solid var(--shell-border);margin:0 0 .9rem;padding-bottom:.55rem;font-size:1.15rem}.panel h3{margin:0;font-size:.95rem}.inline-form{grid-template-columns:1fr 1.3fr minmax(10rem,.8fr) auto;align-items:end}.record-list{gap:.75rem;margin-top:1.25rem;display:grid}.record-card{gap:.35rem;min-width:0;display:grid}.record-card>span{overflow-wrap:anywhere;min-width:0}.management-grid,.price-grid,.history-columns,.balance-grid,.aging-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.price-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:1rem}.balance-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:1rem}.aging-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:1.25rem}.aging-grid>article{border:1px solid var(--shell-border);background:var(--shell-surface-muted);border-radius:.8rem;gap:.45rem;padding:1rem;display:grid}.aging-grid span{color:var(--shell-muted);letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;font-weight:800}.balance-inline{color:var(--shell-muted);flex-wrap:wrap;gap:.75rem 1.5rem;margin-top:1rem;font-size:.85rem;display:flex}.balance-inline span{gap:.2rem;display:grid}.stack-form,.data-form{gap:1rem;margin-top:1.25rem;display:grid}.data-form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.25rem;display:grid}.data-card,.price-card,.history-row{border:1px solid var(--shell-border);background:var(--shell-surface);border-radius:.8rem;gap:.85rem;padding:1.15rem;display:grid}.data-card-heading{justify-content:space-between}.section-heading-row,.assignment-detail-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.section-heading-row>div,.assignment-detail-heading>div,.assignment-choice-content{gap:.3rem;display:grid}.assignment-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1.25rem;display:grid}.assignment-choice,.assignment-detail-card{border:1px solid var(--shell-border);background:var(--shell-surface);border-radius:.8rem;gap:.85rem;padding:1rem;display:grid}.assignment-choice{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.checkbox-label{align-items:center;gap:.5rem;display:flex}.assignment-choice input,.assignment-detail-heading>input,.checkbox-label>input{width:1.1rem;min-height:1.1rem;margin:0}.assignment-detail-heading{justify-content:flex-start}.assignment-detail-heading .role-badge{margin-left:auto}.assignment-detail-card>p{margin:0}.assignment-action-form{grid-template-columns:minmax(12rem,1fr) minmax(16rem,2fr) auto}.data-card-heading>div{gap:.25rem;display:grid}.record-code{color:var(--shell-muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;font-weight:800}.detail-list{gap:.7rem;margin:0;display:grid}.detail-list>div{grid-template-columns:6rem 1fr;gap:.75rem;display:grid}.detail-list dt{color:var(--shell-muted);text-transform:uppercase;font-size:.75rem;font-weight:800}.detail-list dd{margin:0}.photo-links{flex-wrap:wrap}.photo-links>span{align-items:center;gap:.35rem;display:inline-flex}.align-start{justify-self:start}.price-card{align-content:space-between;min-height:10rem}.price-card>span,.price-card small,.history-row span{color:var(--shell-muted)}.price-card>span{letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:800}.price-card strong{letter-spacing:-.04em;font-size:clamp(1.5rem,4vw,2.4rem)}.history-columns{margin-top:1.25rem}.history-row{gap:.35rem}.record-row,.audit-row{border:1px solid var(--shell-border);border-radius:.8rem;align-items:center;gap:1rem;padding:1rem;display:grid}.record-row{grid-template-columns:minmax(12rem,1.5fr) auto minmax(9rem,.65fr) minmax(10rem,1fr)}.record-row.compact{grid-template-columns:minmax(12rem,1fr) auto 1fr auto}.record-row>div:first-child,.audit-row>div:first-child{gap:.25rem;display:grid}.status-pill,.role-badge,.protected-label{background:var(--shell-surface-muted);width:fit-content;color:var(--shell-muted);border-radius:999px;padding:.35rem .55rem;font-size:.72rem;font-weight:800;display:inline-flex}.status-active{background:var(--status-ok-bg);color:var(--status-ok-text)}.status-disabled{background:var(--status-error-bg);color:var(--status-error-text)}.status-draft{background:var(--status-neutral-bg);color:var(--status-neutral-text)}.status-progress{background:var(--status-wait-bg);color:var(--status-wait-text)}.status-posted{background:var(--status-ok-bg);color:var(--status-ok-text)}.status-cancelled{background:var(--status-error-bg);color:var(--status-error-text)}.document-line-editor,.document-list,.document-lines,.status-history{gap:.8rem;display:grid}.document-line-input{border:1px solid var(--shell-border);border-radius:.8rem;grid-template-columns:.35fr 2fr repeat(3,minmax(7rem,1fr)) auto;align-items:end;gap:.75rem;padding:1rem;display:grid}.allocation-form{border:1px solid var(--shell-field-border);background:var(--status-ok-bg);border-radius:.8rem;grid-template-columns:minmax(15rem,2fr) minmax(10rem,1fr) auto;align-items:end;gap:.75rem;padding:1rem;display:grid}.document-line-input>strong{align-self:center}.document-list{margin-top:1.25rem}.document-card{border:1px solid var(--shell-border);background:var(--shell-surface-muted);border-radius:.9rem;gap:1rem;padding:1.25rem;display:grid}.document-lines>div{background:var(--shell-surface);border-radius:.65rem;justify-content:space-between;gap:1rem;padding:.75rem;display:flex}.document-lines>div:has(.special-price-decision){display:grid}.special-price-decision{border-top:1px solid var(--shell-border);width:100%;padding-top:.75rem}.document-lines span,.status-history{color:var(--shell-muted);font-size:.82rem}.invite-result{border:1px solid var(--shell-field-border);background:var(--status-ok-bg);border-radius:.8rem;gap:.5rem;margin-top:1rem;padding:1rem;display:grid}.invite-result code,.audit-row code{overflow-wrap:anywhere;font-size:.78rem}.invite-result p{color:var(--shell-muted);margin:0;font-size:.82rem}.audit-row{grid-template-columns:minmax(12rem,1fr) 1fr 1fr minmax(12rem,1fr)}@media (max-width:900px){.summary-grid,.inline-form,.management-grid,.price-grid,.history-columns,.balance-grid,.aging-grid,.data-form,.card-list,.assignment-card-list,.document-line-input,.allocation-form,.panel-grid.two-column,.panel-grid.three-column,.form-grid.two-column{grid-template-columns:1fr}.document-lines>div{flex-direction:column;align-items:start}.record-row,.record-row.compact,.audit-row{grid-template-columns:1fr}}@media (max-width:560px){.record-actions{flex-wrap:wrap}.search-form{flex-direction:column;align-items:stretch}.page-heading{flex-direction:column;align-items:start}}.permissions-page{padding-bottom:9rem}.breadcrumbs{color:var(--shell-muted);flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;font-size:.9rem;display:flex}.employee-summary{gap:1rem;display:grid}.employee-summary h1{margin:.2rem 0}.employee-facts{flex-wrap:wrap;gap:1.5rem;margin:0;display:flex}.employee-facts dt{color:var(--shell-muted);font-size:.78rem;font-weight:700}.employee-facts dd{margin:.15rem 0 0;font-weight:800}.tab-list{border-bottom:1px solid var(--shell-border);gap:.5rem;display:flex}.tab{padding:.5rem .75rem;font-weight:800}.tab.active{border-bottom:3px solid var(--shell-accent);color:var(--shell-text)}.protected-note{background:var(--shell-surface-muted);color:var(--status-wait-text);border-radius:.7rem;padding:.75rem 1rem;font-weight:700}.permission-search{gap:.35rem;max-width:28rem;margin:1rem 0;font-weight:700;display:grid}.permission-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.permission-row{border:1px solid var(--shell-border);border-radius:.7rem;grid-template-columns:minmax(14rem,1fr) auto minmax(9.5rem,auto);align-items:center;gap:.75rem;padding:.65rem .8rem;display:grid}.permission-row.dirty{border-color:var(--status-wait-border);background:var(--status-wait-bg)}.permission-text{gap:.2rem;display:grid}.permission-source{color:var(--shell-muted);font-size:.8rem}.segmented{border:1px solid var(--shell-field-border);border-radius:.6rem;display:inline-flex;overflow:hidden}.segmented button{border:0;border-right:1px solid var(--shell-field-border);background:var(--shell-surface);color:var(--shell-text);padding:.4rem .7rem;font-size:.82rem;font-weight:750}.segmented button:last-child{border-right:0}.segmented button.selected{background:var(--shell-accent);color:var(--shell-on-accent)}.save-bar{border:1px solid var(--shell-accent-border);background:var(--shell-surface);max-width:72rem;box-shadow:0 8px 24px rgb(var(--shell-shadow-rgb) / 15%);border-radius:.8rem;flex-wrap:wrap;align-items:end;gap:.75rem;margin:0 auto;padding:.9rem 1rem;display:flex;position:fixed;bottom:1rem;left:1rem;right:1rem}.save-bar label{flex:18rem;gap:.3rem;font-weight:700;display:grid}@media (max-width:900px){.permission-row{grid-template-columns:1fr}}.company-current{align-items:center;gap:.4rem;font-weight:800;display:inline-flex}.company-gate{z-index:50;background:rgb(var(--shell-shadow-rgb) / 45%);place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.company-gate-card{background:var(--shell-surface);border-radius:1rem;gap:.75rem;width:min(28rem,100%);padding:1.5rem;display:grid}.company-gate-list{gap:.5rem;display:grid}.address-list{gap:.5rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.address-row{border:1px solid var(--shell-border);border-radius:.7rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem .8rem;display:flex}.address-row>div{gap:.2rem;display:grid}.address-row.status-disabled{opacity:.65}.sales-order-page{padding-bottom:8rem}.order-lines{gap:.5rem;display:grid}.order-line{border:1px solid var(--shell-border);border-radius:.7rem;grid-template-columns:minmax(12rem,1.4fr) repeat(3,minmax(6rem,.6fr)) auto auto;align-items:end;gap:.6rem;padding:.6rem .8rem;display:grid}.order-line label{gap:.2rem;font-size:.82rem;display:grid}@media (max-width:900px){.order-line{grid-template-columns:1fr 1fr}}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:.875rem}.data-table th,.data-table td{border-bottom:1px solid var(--shell-border);text-align:left;vertical-align:top;padding:.875rem}.data-table th{background:var(--shell-surface-muted);color:var(--shell-muted);white-space:nowrap;font-size:.8125rem;font-weight:600}.data-table tbody tr:hover>td{background:var(--shell-row-hover)}.data-table input,.data-table select{max-width:11rem}.data-table .narrow-input{max-width:4.5rem}.data-table .sub-row td:first-child{padding-left:1.6rem}.data-table .main-row td{background:var(--shell-surface-muted)}.data-table .row-disabled td{background:var(--status-error-bg);color:var(--shell-faint)}.category-table td:first-child input{width:13rem;max-width:none}.data-table .amount,.data-table .numeric{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.data-table .total-row td{font-weight:700}.inherit-hint{font-size:.78rem;display:block}.badge{background:var(--status-neutral-bg);color:var(--status-neutral-text);border-radius:999px;padding:.1rem .55rem;font-size:.78rem;display:inline-block}.badge-ok{background:var(--status-ok-bg);color:var(--status-ok-text)}.badge-warn{background:var(--status-error-bg);color:var(--status-error-text)}.line-economics{grid-column:1/-1;grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.2rem 1rem;margin:.3rem 0 0;display:grid}.line-economics div{flex-direction:column;display:flex}.line-economics dt{color:var(--shell-muted);font-size:.75rem}.line-economics dd{margin:0}.product-picker{margin-bottom:1rem}.report-links{gap:.5rem;padding-left:1.2rem;display:grid}.report-notes{color:var(--shell-muted);font-size:.85rem}.picker-filters{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));align-items:end;gap:.6rem;display:grid}.product-cards{gap:.6rem;margin:.8rem 0;padding:0;list-style:none;display:grid}.product-card{background:var(--shell-surface);border:1px solid var(--shell-border);border-radius:10px;grid-template-columns:minmax(0,2fr) minmax(0,2fr) auto;align-items:center;gap:.5rem 1rem;padding:.7rem .9rem;display:grid}.product-card-main{flex-direction:column;gap:.15rem;display:flex}.product-card-prices{grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));gap:.25rem .8rem;margin:0;display:grid}.product-card-prices dt,.line-summary dt{color:var(--shell-muted);font-size:.75rem}.product-card-prices dd,.line-summary dd{margin:0;font-weight:600}.line-card{background:var(--shell-surface);border:1px solid var(--shell-border);border-radius:10px;gap:.6rem;margin-bottom:.7rem;padding:.8rem .9rem;display:grid}.line-card-head{justify-content:space-between;align-items:baseline;gap:.6rem;display:flex}.line-pack{margin:0}.price-choices{grid-template-columns:repeat(auto-fit,minmax(7.5rem,1fr));gap:.45rem;display:grid}.price-choice{background:var(--shell-surface-muted);border:1px solid var(--shell-border);cursor:pointer;font:inherit;text-align:left;border-radius:8px;flex-direction:column;gap:.1rem;min-height:3.2rem;padding:.4rem .6rem;display:flex}.price-choice.selected{background:var(--status-ok-bg);border-color:var(--shell-accent-text)}.price-choice:disabled{cursor:not-allowed;opacity:.55}.price-choice small{color:var(--shell-muted);font-size:.72rem}.line-fields{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.5rem;display:grid}.line-fields input[aria-invalid=true]{border-color:var(--status-error-border)}.line-summary{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.3rem 1rem;margin:0;display:grid}@media (max-width:720px){.product-card{grid-template-columns:1fr}.product-card .primary-button,.save-bar .primary-button,.save-bar .secondary-link{width:100%}.line-fields,.line-summary,.price-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.save-bar{flex-direction:column;position:sticky;bottom:0}}.numeric{text-align:right;white-space:nowrap}.negative{color:var(--status-error-text)}.comparison-table td,.comparison-table th{vertical-align:top}.purchase-line .line-fields,.pricing-line .line-fields{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr))}.pricing-line .price-grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.6rem 1rem;margin:.4rem 0 .8rem;display:grid}.pricing-line .price-grid dt{color:var(--shell-muted);font-size:.78rem}.pricing-line .price-grid dd{margin:0;font-weight:800}.quick-product{border:1px dashed var(--shell-field-border);margin-top:1rem}.po-print{background:var(--shell-surface);max-width:52rem;color:var(--shell-text);margin:0 auto;padding:2rem 1.5rem}.po-print-actions{margin-bottom:1.5rem}.po-print-header{border-bottom:2px solid var(--shell-text);justify-content:space-between;gap:1rem;padding-bottom:1rem;display:flex}.po-print-header>div{gap:.2rem;display:grid}.po-print-company{font-size:1.2rem}.po-print-title{text-align:right}.po-print-title h1{margin:0;font-size:1.5rem}.po-print-meta{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.8rem;margin:1.2rem 0;display:grid}.po-print-meta dt{color:var(--shell-muted);font-size:.8rem}.po-print-meta dd{margin:0;font-weight:700}.po-print-table{border-collapse:collapse;width:100%}.po-print-table th,.po-print-table td{border-bottom:1px solid var(--shell-border);text-align:left;padding:.45rem .5rem}.po-print-table .numeric{text-align:right}.po-print-table tfoot td{border-top:2px solid var(--shell-text);font-weight:800}.po-print-code{color:var(--shell-muted);font-size:.8rem}.po-print-note{color:var(--shell-muted);font-size:.85rem}@media print{.po-print-actions{display:none}.po-print{padding:0}}.closed-banner{background:var(--shell-surface-muted);color:var(--shell-text);border-radius:.6rem;padding:.6rem .8rem;font-weight:700}.setup-blocker{border:1px solid var(--status-wait-border);background:var(--status-wait-bg);color:var(--status-wait-text);border-radius:.7rem;margin:.8rem 0;padding:.8rem 1rem}.setup-blocker p{margin:.3rem 0 .6rem}.selected-row td{background:var(--status-ok-bg)}.rs-lines{gap:.8rem;display:grid}.rs-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.8rem 1.2rem;display:grid}.rs-line>.product-picker,.rs-line>.quick-product,.rs-line>.pricing-line{grid-column:1/-1}.rs-source,.rs-numo{align-content:start;gap:.25rem;display:grid}.rs-source{border-right:1px dashed var(--shell-field-border);padding-right:1rem}@media (max-width:760px){.rs-line{grid-template-columns:1fr}.rs-source{border-right:0;padding-right:0}}body{background:var(--shell-bg)}.page-heading-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.panel-header{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:.75rem 1rem;display:flex}.panel-header p{margin:.35rem 0 0}.alert-box,[data-vat-settings=ERROR]{border:1px solid var(--status-error-border);background:var(--status-error-bg);overflow-wrap:anywhere;border-radius:.7rem;margin:.75rem 0;padding:.75rem 1rem;line-height:1.5}.notice-box{border:1px solid var(--shell-border);border-left:4px solid var(--shell-muted);background:var(--shell-surface-muted);border-radius:.7rem;margin:.75rem 0 0;padding:.75rem 1rem;line-height:1.55}.document-form-panel{border-top:3px solid var(--shell-accent);border-color:var(--shell-accent-border);box-shadow:0 .75rem 2rem rgb(var(--shell-shadow-rgb) / 7%)}.document-form-panel[hidden]{display:none}.document-workspace label,.document-workspace select,.document-workspace input{min-width:0}.document-workspace select{text-overflow:ellipsis;overflow:hidden}.list-counts{color:var(--shell-muted);flex-wrap:wrap;align-items:center;gap:.45rem;font-size:.85rem;font-weight:700;display:flex}.document-card{background:var(--shell-surface);gap:.85rem}.document-card-head{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:.75rem 1.5rem;display:flex}.document-card-title{flex:20rem;gap:.25rem;min-width:0;display:grid}.document-card-title .record-code{font-weight:800}.document-party{overflow-wrap:anywhere;font-size:1.02rem}.document-card-total{justify-items:end;gap:.35rem;display:grid}.document-card-total strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.15rem}.document-card .document-lines>div{border:1px solid var(--shell-border);background:var(--shell-surface-muted);grid-template-columns:minmax(0,1fr) auto;gap:.3rem 1rem;display:grid}.document-card .document-lines>div>strong{overflow-wrap:anywhere}.document-card .line-amount{font-variant-numeric:tabular-nums;text-align:right}.document-card .line-vat{grid-column:1/-1}.document-meta{margin:0;font-size:.8rem}.document-actions{border-top:1px solid var(--shell-border);padding-top:.75rem}.empty-state{border:1px dashed var(--shell-field-border);border-radius:.9rem;justify-items:start;gap:.75rem;padding:1.5rem;display:grid}@media (max-width:900px){.document-card .document-lines>div{grid-template-columns:1fr}.document-card .line-amount{text-align:left}}input:checked{accent-color:var(--shell-accent-text)}.status-posted,.status-active{background:var(--status-ok-bg);color:var(--status-ok-text)}.status-posted:before,.status-active:before,.form-success:before{content:"✓ "}.status-cancelled:before,.status-disabled:before{content:"✕ "}.form-error:before{content:"⚠ "}.pilot-mode-indicator:before,.setup-blocker:before{content:"! ";font-weight:900}.overview-heading{margin-bottom:1.25rem}.overview-heading p{margin:.4rem 0 0}.metric-grid{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.85rem;display:grid}.metric-card{border:1px solid var(--shell-border);background:var(--shell-surface);border-radius:.85rem;align-content:start;gap:.3rem;padding:1rem 1.15rem;display:grid}.metric-value{color:var(--shell-text);font-variant-numeric:tabular-nums;letter-spacing:-.02em;overflow-wrap:anywhere;font-size:1.4rem;font-weight:700;line-height:1.2}.metric-label{color:var(--shell-text);font-size:.9rem;font-weight:500}.metric-note{color:var(--shell-muted);overflow-wrap:anywhere;font-size:.8rem;line-height:1.45}.metric-status{border-radius:999px;width:fit-content;padding:.25rem .55rem;font-size:.78rem;font-weight:700}[data-pilot-status=NOT_READY_FOR_PILOT]{background:var(--status-wait-bg);color:var(--status-wait-text)}[data-pilot-status=READY_FOR_PILOT]{background:var(--status-ok-bg);color:var(--status-ok-text)}.section-title{color:var(--shell-muted);margin:1.75rem 0 .75rem;font-size:.85rem;font-weight:700}.quick-links{gap:.5rem}.quick-links .secondary-link{min-height:2.3rem;padding:.45rem .8rem;font-size:.85rem;font-weight:600}.metric-reasons summary{color:var(--shell-accent-text);cursor:pointer;font-size:.82rem;font-weight:600}.metric-reasons ul{color:var(--shell-muted);overflow-wrap:anywhere;gap:.35rem;margin:.5rem 0 0;padding-left:1.1rem;font-size:.8rem;line-height:1.45;display:grid}.document-list-panel .document-list{border-top:1px solid var(--shell-border);gap:0;margin-top:1rem}.document-list-panel .document-card{border:0;border-bottom:1px solid var(--shell-border);background:0 0;border-radius:0;padding:0;display:block}.document-row{cursor:pointer;grid-template-columns:max-content minmax(0,2fr) max-content max-content minmax(6rem,1fr) max-content;align-items:center;gap:.5rem 1rem;padding:.7rem .5rem;list-style:none;display:grid}.document-row::-webkit-details-marker{display:none}.document-row:hover{background:var(--shell-surface-muted)}.document-row-party{overflow-wrap:anywhere;min-width:0;font-weight:600}.document-row-date{color:var(--shell-muted);font-variant-numeric:tabular-nums;font-size:.85rem}.document-row-total{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-weight:700}.document-row-toggle{color:var(--shell-accent-text);white-space:nowrap;font-size:.85rem;font-weight:600}.document-row-toggle:after{content:"›";margin-left:.3rem;transition:transform .12s;display:inline-block}.document-details[open] .document-row-toggle:after{transform:rotate(90deg)}.document-details[open]>.document-row{background:var(--shell-surface-muted)}.document-body{gap:.6rem;padding:.25rem .5rem 1rem;display:grid}.document-body p{margin:0}.document-list-panel .document-lines{gap:0}.document-list-panel .document-lines>div{border:0;border-bottom:1px solid var(--shell-border);background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto minmax(7rem,auto);align-items:baseline;gap:.2rem 1rem;padding:.45rem 0;display:grid}.document-list-panel .document-lines>div:last-child{border-bottom:0}.line-product-name{min-width:0;color:var(--shell-text);overflow-wrap:anywhere;font-size:.9rem}.document-list-panel .line-amount,.document-list-panel .line-total{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.document-list-panel .line-total{font-size:.9rem;font-weight:600}.document-list-panel .line-vat{grid-column:1/-1}.document-list-panel .document-actions{padding-top:.5rem}@media (max-width:760px){.document-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"number status""party total""date toggle";gap:.3rem 1rem}.document-row-number{grid-area:number}.document-row>.status-pill{grid-area:status;justify-self:end}.document-row-party{grid-area:party}.document-row-total{grid-area:total;align-self:start}.document-row-date{grid-area:date}.document-row-toggle{grid-area:toggle;justify-self:end}.document-list-panel .document-lines>div{grid-template-columns:minmax(0,1fr) auto}.document-list-panel .line-product-name{grid-column:1/-1}.document-list-panel .line-amount{text-align:left}}.document-body [data-vat-status=NOT_CLASSIFIED]{font-size:.9rem;font-weight:400;line-height:1.5}.sale-form{gap:0;margin-top:1rem}.form-part{border:0;border-top:1px solid var(--shell-border);gap:.75rem;min-width:0;margin:0;padding:1.1rem 0 1.25rem;display:grid}.form-part legend{float:left;width:100%;color:var(--shell-text);margin:0 0 .75rem;padding:0;font-size:.95rem;font-weight:700}.form-part legend+*{clear:both}.document-fields{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:.75rem .9rem;display:grid}.document-fields>label{grid-column:span 3}.document-fields>.field-counterparty{grid-column:span 8}.document-fields>.field-number{grid-column:span 4}.document-fields>.field-currency{grid-column:span 2}.document-fields>.field-source{grid-column:span 4}.document-fields>.field-external{grid-column:span 6}.sale-form label{gap:.3rem;font-size:.85rem;font-weight:600}.sale-form input,.sale-form select{min-height:2.5rem;padding:.5rem .7rem}.vat-hint{border-left:3px solid var(--shell-accent);background:var(--shell-surface-muted);border-radius:.4rem;gap:.35rem;padding:.6rem .8rem;font-size:.87rem;line-height:1.5;display:grid}.vat-hint p{margin:0}.vat-hint summary{width:fit-content;color:var(--shell-accent-text);cursor:pointer;font-weight:600}.vat-hint details p{margin-top:.35rem}.form-sticky-bar .secondary-link,.sale-form .form-actions .secondary-link{min-height:2.4rem;padding:.45rem .9rem;font-weight:600}.summary-bar{background:var(--shell-surface-muted);border-radius:.5rem;flex-wrap:wrap;gap:.4rem 1.5rem;margin:0;padding:.6rem .85rem;font-size:.9rem;display:flex}.summary-bar strong{font-weight:700}.summary-note{margin:0;font-size:.85rem}.sale-form .form-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;padding-top:.25rem;display:flex}.document-form-panel .panel-header{padding-bottom:.25rem}@media (max-width:900px){.document-fields>label,.document-fields>.field-counterparty,.document-fields>.field-number,.document-fields>.field-source,.document-fields>.field-external{grid-column:span 6}.document-fields>.field-counterparty{grid-column:1/-1}.document-fields>.field-currency{grid-column:span 6}}@media (max-width:560px){.document-fields>label,.document-fields>.field-currency{grid-column:1/-1}.sale-form .form-actions{flex-direction:column-reverse;align-items:stretch}}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.line-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;font-size:.9rem}.line-table thead th{z-index:5;border-bottom:1px solid var(--shell-border);background:var(--shell-surface-muted);color:var(--shell-muted);text-align:left;padding:.45rem .4rem;font-size:.78rem;font-weight:700;position:sticky;top:calc(3.75rem + 1px)}.line-table td{border-bottom:1px solid var(--shell-border);vertical-align:middle;padding:.3rem .4rem}.line-table .col-number{width:2.5rem;color:var(--shell-muted);font-variant-numeric:tabular-nums;text-align:right}.line-table .col-quantity{width:6.5rem}.line-table .col-price{width:7.5rem}.line-table .col-vat{width:10rem}.line-table .col-remove{text-align:center;width:2.5rem}.line-table input,.line-table select{min-height:2.25rem;padding:.35rem .55rem}.line-table .col-quantity input,.line-table .col-price input{font-variant-numeric:tabular-nums;text-align:right}.line-table label{font-size:inherit;font-weight:400;display:block}.cell-label{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.vat-toggle{border:1px solid var(--shell-border);background:var(--shell-surface);width:100%;min-height:2.25rem;color:var(--shell-text);text-align:left;border-radius:.5rem;padding:.3rem .5rem;font-size:.8rem;line-height:1.3}.vat-toggle.is-missing{border-color:var(--status-error-border);background:var(--status-error-bg);color:var(--status-error-text);font-weight:600}.line-remove{width:2rem;height:2rem;color:var(--shell-muted);background:0 0;border:0;border-radius:.4rem}.line-remove:hover:not(:disabled){background:var(--status-error-bg);color:var(--status-error-text)}.line-remove:disabled{color:var(--shell-faint)}.line-vat-row td{background:var(--shell-surface-muted)}.line-vat-row[hidden]{display:none}.line-vat-editor{flex-wrap:wrap;align-items:end;gap:.6rem 1rem;padding:.35rem 0;display:flex}.line-table .line-vat-editor label{gap:.25rem;min-width:11rem;font-size:.82rem;font-weight:600;display:grid}.product-search{position:relative}.product-search-results{z-index:25;border:1px solid var(--shell-border);background:var(--shell-surface);min-width:18rem;box-shadow:0 .75rem 2rem rgb(var(--shell-shadow-rgb) / 14%);border-radius:.6rem;position:absolute;top:calc(100% + .2rem);left:0;right:0}.product-search-results ul{max-height:16rem;margin:0;padding:.25rem;list-style:none;overflow-y:auto}.product-search-results li{cursor:pointer;overflow-wrap:anywhere;border-radius:.4rem;padding:.45rem .6rem}.product-search-status{color:var(--shell-muted);margin:0;padding:.35rem .8rem .5rem;font-size:.8rem}.product-search-status:empty{display:none}.form-sticky-bar{z-index:6;border-top:1px solid var(--shell-border);background:var(--shell-surface);box-shadow:0 -.5rem 1rem rgb(var(--shell-shadow-rgb) / 6%);gap:.5rem;margin:0 -.25rem;padding:.75rem .25rem .8rem;display:grid;position:sticky;bottom:0}.sticky-bar-add{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.sticky-bar-add .product-search{flex:20rem}.form-sticky-bar .summary-bar{font-size:.85rem}.form-sticky-bar .summary-note{color:var(--shell-muted);font-size:.8rem}.sale-form .form-sticky-bar .form-actions{padding-top:0}@media (max-width:760px){.line-table,.line-table tbody{display:block}.line-table thead{display:none}.line-table .line-row{border-bottom:1px solid var(--shell-border);grid-template-columns:1.75rem repeat(3,minmax(0,1fr)) 2.25rem;gap:.35rem .5rem;padding:.55rem 0;display:grid}.line-table td,.line-table td[class]{border:0;width:auto;padding:0;display:block}.line-table .col-number{text-align:left;grid-area:1/1;padding-top:.5rem}.line-table .col-product{grid-area:1/2/auto/5}.line-table .col-remove{grid-area:1/5}.line-table .col-quantity{grid-column:2}.line-table .col-unit{grid-column:3}.line-table .col-price{grid-column:4}.line-table .col-vat{grid-column:2/5}.line-table .col-quantity .cell-label,.line-table .col-unit .cell-label,.line-table .col-price .cell-label{clip:auto;width:auto;height:auto;color:var(--shell-muted);font-size:.75rem;position:static}.line-vat-row{display:block}.line-vat-row td:first-child{display:none}}.vat-toggle[aria-expanded=true]{border-color:var(--shell-accent-text)}.product-search-results li[aria-selected=true]{background:var(--shell-accent-soft);color:var(--shell-text)}.line-table thead th{background:var(--shell-disabled-bg)}.product-chosen{border:1px solid var(--shell-field-border);background:var(--shell-surface);width:100%;min-height:2.25rem;color:var(--shell-text);text-align:left;overflow-wrap:anywhere;cursor:text;border-radius:.65rem;padding:.4rem .55rem;font-size:.9rem;line-height:1.35;display:block}.product-chosen:hover{border-color:var(--shell-field-border)}.document-fields>.terms-note{grid-column:1/-1;margin:-.2rem 0 0;font-size:.85rem;line-height:1.5}.terms-note .text-button{font-size:inherit;padding:0;text-decoration:underline}html:has(#new-document-form:not([hidden])){scroll-padding-top:5.5rem;scroll-padding-bottom:13rem}.form-sticky-bar .product-search-results{top:auto;bottom:calc(100% + .2rem)}@media (max-width:760px){.form-sticky-bar{box-shadow:none;position:static}.form-sticky-bar .product-search-results{top:calc(100% + .2rem);bottom:auto}html:has(#new-document-form:not([hidden])){scroll-padding-bottom:1rem}}.document-form-panel{border:1px solid var(--shell-border)}.vat-hint{border-left:3px solid var(--shell-field-border);background:var(--shell-disabled-bg)}html:has(#new-document-form:not([hidden])){overflow:hidden}.document-dialog{z-index:60;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.document-dialog[hidden]{display:none}.document-dialog-backdrop{background:rgb(var(--shell-shadow-rgb) / 45%);position:absolute;inset:0}.document-dialog-panel.sale-form{border:1px solid var(--shell-border);background:var(--shell-surface);width:min(100%,90rem);height:min(100%,62rem);box-shadow:0 1.5rem 3rem rgb(var(--shell-shadow-rgb) / 20%);border-radius:.9rem;flex-direction:column;gap:0;margin:0;display:flex;position:relative;overflow:hidden}.dialog-bar{border-bottom:1px solid var(--shell-border);flex-wrap:wrap;align-items:center;gap:.6rem .75rem;padding:.7rem 1rem;display:flex}.dialog-title{flex:16rem;gap:.1rem;min-width:0;display:grid}.dialog-title h2{margin:0;font-size:1.15rem}.dialog-title span{font-size:.78rem}.dialog-bar .primary-button,.dialog-bar .dialog-close{min-height:2.4rem;padding:.45rem .9rem}.dialog-body{flex-direction:column;flex:1;gap:.6rem;min-height:0;padding:.75rem 1rem;display:flex;overflow:hidden}.doc-part{border:0;gap:.4rem;margin:0;padding:0;display:grid}.doc-fields{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:.5rem .75rem;display:grid}.doc-fields>label{grid-column:span 2}.doc-fields>.field-counterparty{grid-column:span 6}.doc-fields>.field-number{grid-column:span 2}.doc-fields>.terms-note{grid-column:1/-1;margin:0;font-size:.84rem;line-height:1.45}.doc-more summary{width:fit-content;color:var(--shell-muted);cursor:pointer;font-size:.82rem}.doc-more-fields{grid-template-columns:repeat(3,minmax(0,12rem));gap:.5rem .75rem;padding-top:.4rem;display:grid}.line-search-bar{z-index:8;flex-wrap:wrap;align-items:center;gap:.5rem;display:flex;position:relative}.line-search-bar .product-search{flex:22rem}.line-search-bar .secondary-link{min-height:2.4rem;padding:.45rem .85rem;font-weight:600}.dialog-body .vat-hint{padding:.35rem .7rem;font-size:.82rem}.line-table-scroll{border:1px solid var(--shell-border);border-radius:.6rem;flex:1;min-height:10rem;overflow:auto}.line-table-scroll .line-table thead th{top:0}.line-table .col-code{overflow-wrap:anywhere;width:7rem;font-size:.82rem}.line-table .col-unit{width:5rem}.line-table .col-amount{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;width:7.5rem}.line-table th.col-quantity,.line-table th.col-price,.line-table th.col-amount{text-align:right}.product-chosen.is-missing{border-color:var(--status-error-border);background:var(--status-error-bg);color:var(--status-error-text);font-weight:600}.dialog-summary{border-top:1px solid var(--shell-border);background:var(--shell-surface-muted);gap:.4rem;padding:.6rem 1rem .75rem;display:grid}.dialog-summary .summary-bar{background:0 0;padding:0;font-size:.86rem}.dialog-summary .summary-note{color:var(--shell-muted);flex-basis:100%;font-size:.78rem}.dialog-summary .alert-box{margin:0}.catalog-dialog{z-index:70;background:rgb(var(--shell-shadow-rgb) / 35%);justify-content:center;align-items:center;padding:1rem;display:flex;position:absolute;inset:0}.catalog-panel{border:1px solid var(--shell-border);background:var(--shell-surface);width:min(100%,54rem);max-height:calc(100% - 2rem);box-shadow:0 1rem 2.5rem rgb(var(--shell-shadow-rgb) / 22%);border-radius:.8rem;flex-direction:column;display:flex;overflow:hidden}.catalog-head{border-bottom:1px solid var(--shell-border);justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 1rem;display:flex}.catalog-head h3{margin:0;font-size:1rem}.catalog-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:.5rem .75rem;padding:.7rem 1rem;display:grid}.catalog-filters label{gap:.25rem;font-size:.82rem;font-weight:600;display:grid}.catalog-results{border-top:1px solid var(--shell-border);flex:1;min-height:8rem;overflow:auto}.catalog-results table{border-collapse:collapse;width:100%;font-size:.88rem}.catalog-results th{background:var(--shell-disabled-bg);color:var(--shell-muted);text-align:left;padding:.4rem .8rem;font-size:.78rem;position:sticky;top:0}.catalog-results td{border-bottom:1px solid var(--shell-border);overflow-wrap:anywhere;cursor:pointer;padding:.45rem .8rem}.catalog-results tr[aria-selected=true] td{background:var(--shell-accent-soft)}@media (max-width:760px){.document-dialog{padding:0}.document-dialog-panel.sale-form{border:0;border-radius:0;width:100%;height:100%}.dialog-body{overflow-y:auto}.doc-fields>label,.doc-fields>.field-number{grid-column:span 6}.doc-fields>.field-counterparty{grid-column:1/-1}.doc-more-fields,.catalog-filters{grid-template-columns:1fr 1fr}.line-table-scroll{border:0;flex:none;min-height:auto;overflow:visible}.line-table .line-row{grid-template-columns:1.75rem repeat(3,minmax(0,1fr)) 2.25rem}.line-table .col-number{grid-area:1/1}.line-table .col-product{grid-area:1/2/auto/5}.line-table .col-remove{grid-area:1/5}.line-table .col-code{width:auto;color:var(--shell-muted);grid-area:2/2/auto/5}.line-table .col-unit{grid-area:3/2}.line-table .col-quantity{grid-area:3/3}.line-table .col-price{grid-area:3/4}.line-table .col-amount{text-align:left;grid-area:4/2;align-self:center}.line-table .col-vat{grid-area:4/3/auto/5}.line-table .col-amount .cell-label,.line-table .col-unit .cell-label{clip:auto;width:auto;height:auto;color:var(--shell-muted);font-size:.75rem;position:static}}.doc-fields>.field-counterparty{align-self:start;gap:.3rem;font-size:.85rem;font-weight:600;display:grid}.customer-search .product-chosen{min-height:2.5rem}.balance-note{color:var(--shell-text);flex-wrap:wrap;gap:.15rem .9rem;margin:0;font-size:.8rem;font-weight:400;line-height:1.4;display:flex}.balance-note strong{font-weight:700}.balance-note .balance-date{font-size:.76rem}.balance-note .text-button{font-size:inherit;padding:0;text-decoration:underline}.default-mark{color:var(--shell-muted);white-space:normal;margin-top:.15rem;font-size:.7rem;line-height:1.3;display:block}.default-mark.is-default{color:var(--shell-muted)}.default-mark.is-manual{color:var(--shell-accent-text);font-weight:600}.default-mark.is-error{color:var(--status-error-text)}.default-mark .text-button{font-size:inherit;padding:0;text-decoration:underline}.doc-more-note{max-width:48rem;margin:.4rem 0 0;font-size:.8rem;line-height:1.45}.dialog-summary .summary-total strong{font-size:1rem;font-weight:800}.catalog-dialog.sales-settings-dialog{position:fixed}.sales-settings-body{gap:.9rem;padding:.8rem 1rem 1rem;display:grid;overflow:auto}.sales-settings-body h4{margin:0 0 .4rem;font-size:.92rem}.sales-settings-body p{margin:0;font-size:.85rem}.sales-settings-row{flex-wrap:wrap;align-items:end;gap:.5rem .75rem;margin-top:.4rem;display:flex}.sales-settings-row label{gap:.25rem;min-width:9rem;font-size:.8rem;font-weight:600;display:grid}.sales-settings-row .sales-settings-reason{flex:14rem}.sales-settings-history{margin-top:.5rem;font-size:.82rem}.sales-settings-summary{gap:.1rem;font-size:.8rem;line-height:1.35;display:grid}.document-dialog .document-dialog-backdrop{background:rgb(var(--shell-shadow-rgb) / 48%)}.document-dialog .document-dialog-panel.sale-form{border:1px solid var(--shell-border);box-shadow:0 .75rem 2rem rgb(var(--shell-shadow-rgb) / 14%);border-radius:.75rem}.document-dialog .dialog-bar{flex-wrap:nowrap;gap:.5rem;padding:.55rem 1rem}.document-dialog .dialog-title{flex-wrap:wrap;flex:auto;align-items:baseline;gap:0 .75rem;display:flex}.document-dialog .dialog-title h2{font-size:1.05rem;font-weight:700}.document-dialog .auto-number-note{font-size:.78rem;font-weight:400}.document-dialog .dialog-bar .primary-button{white-space:nowrap;border-radius:.5rem;min-height:2.25rem;padding:.4rem .95rem;font-weight:700}.document-dialog .dialog-close{width:2.25rem;min-height:2.25rem;color:var(--shell-muted);background:0 0;border-color:#0000;border-radius:.5rem;flex:none;padding:0;font-size:1rem;font-weight:400}.document-dialog .dialog-close:hover{background:var(--shell-disabled-bg);color:var(--shell-text)}.document-dialog .secondary-link{border-color:var(--shell-field-border);color:var(--shell-text);border-radius:.5rem;font-weight:500}.document-dialog .secondary-link:hover:not(:disabled){background:var(--shell-surface-muted)}.document-dialog input,.document-dialog select,.document-dialog .product-chosen{border-color:var(--shell-field-border);border-radius:.5rem}.document-dialog .doc-fields{align-items:start}.document-dialog .doc-fields>label,.document-dialog .doc-fields>.field-counterparty,.document-dialog .doc-more-fields label{color:var(--shell-muted);font-size:.78rem;font-weight:500}.document-dialog .doc-fields>.field-counterparty{grid-column:span 8}.document-dialog .doc-fields:has(>.field-number)>.field-counterparty{grid-column:span 6}.document-dialog .balance-note,.document-dialog .doc-fields>.terms-note{color:var(--shell-muted);font-size:.78rem;line-height:1.4}.document-dialog .balance-note strong,.document-dialog .terms-note strong{color:var(--shell-text);font-weight:600}.document-dialog .doc-fields>.terms-note{margin-top:-.25rem}.document-dialog .doc-more summary{font-size:.78rem}.document-dialog .line-search-bar .secondary-link{min-height:2.5rem;font-weight:500}.document-dialog .dialog-body .vat-hint{color:var(--shell-muted);background:0 0;border:0;border-radius:0;padding:0;font-size:.78rem;line-height:1.4;display:block}.document-dialog .vat-hint summary{color:var(--shell-muted);font-weight:400}.document-dialog .vat-hint p{max-width:52rem;margin:.25rem 0 0}.document-dialog .line-table-scroll{border:0;border-radius:0}.document-dialog .line-table thead th{border-bottom:1px solid var(--shell-border);background:var(--shell-surface);color:var(--shell-muted);padding:.4rem;font-size:.74rem;font-weight:600}.document-dialog .line-table td{border-bottom:1px solid var(--shell-border)}.document-dialog .line-table .col-amount{color:var(--shell-text);font-weight:600}@media (min-width:761px){.document-dialog .line-table td{vertical-align:top;padding-block:.35rem}.document-dialog .line-table td.col-number,.document-dialog .line-table td.col-code,.document-dialog .line-table td.col-amount,.document-dialog .line-table td.col-remove{padding-top:.85rem}.document-dialog .line-table .col-unit{width:7rem}.document-dialog .line-table .col-code{width:6.25rem}.document-dialog .default-mark:not(.is-error){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}.document-dialog .dialog-summary{background:var(--shell-surface);gap:.35rem;padding:.55rem 1rem}.document-dialog .dialog-summary .summary-bar{color:var(--shell-muted);border-radius:0;flex-wrap:wrap;align-items:baseline;gap:.15rem 1.25rem;font-size:.8rem;display:flex}.document-dialog .summary-meta strong{color:var(--shell-text);font-weight:600}.document-dialog .summary-info summary{cursor:pointer;width:fit-content}.document-dialog .summary-info[open]{flex-basis:100%;order:5}.document-dialog .summary-info .summary-note{max-width:52rem;margin:.2rem 0 0;font-size:.78rem}.document-dialog .summary-total{white-space:nowrap;margin-left:auto}.document-dialog .dialog-summary .summary-total strong{color:var(--shell-text);font-variant-numeric:tabular-nums;margin-left:.4rem;font-size:1.25rem;font-weight:800}.document-dialog .summary-pending{white-space:normal}.document-dialog .catalog-dialog{background:rgb(var(--shell-shadow-rgb) / 32%)}.document-dialog .catalog-panel{border:1px solid var(--shell-border);box-shadow:0 .75rem 2rem rgb(var(--shell-shadow-rgb) / 14%);border-radius:.75rem}.document-dialog .catalog-head{border-bottom:0;padding:.55rem 1rem .35rem}.document-dialog .catalog-head h3{font-size:1.05rem;font-weight:700}.document-dialog .catalog-filters{padding:.25rem 1rem .7rem}.document-dialog .catalog-filters label{color:var(--shell-muted);font-size:.78rem;font-weight:500}.document-dialog .catalog-results th{border-bottom:1px solid var(--shell-border);background:var(--shell-surface);padding:.4rem 1rem;font-size:.74rem;font-weight:600}.document-dialog .catalog-results td{padding:.5rem 1rem}.document-dialog .catalog-results tr[aria-selected=true] td{background:var(--shell-accent-soft)}.document-dialog .catalog-results tr[aria-selected=true] td:first-child{box-shadow:inset 3px 0 0 var(--shell-accent)}.document-dialog .catalog-results tr[aria-selected=true] td:nth-child(2){font-weight:600}.document-dialog .catalog-results .product-search-status{padding:.5rem 1rem}@media (max-width:760px){.document-dialog .document-dialog-panel.sale-form{box-shadow:none;border:0;border-radius:0}.document-dialog .dialog-bar,.document-dialog .dialog-summary{padding-inline:.75rem}.document-dialog .dialog-body{padding:.65rem .75rem .5rem}:is(.document-dialog .doc-fields>.field-counterparty,.document-dialog .doc-fields:has(>.field-number)>.field-counterparty){grid-column:1/-1}.document-dialog .dialog-bar{flex-wrap:wrap;gap:.15rem .5rem}.document-dialog .dialog-title{display:contents}.document-dialog .dialog-title h2{white-space:nowrap;flex:auto;font-size:1rem}.document-dialog .dialog-title .auto-number-note{flex-basis:100%;order:4}.document-dialog .dialog-bar .primary-button{padding-inline:.6rem;font-size:.82rem}.document-dialog .line-search-bar .product-search{flex-basis:100%}.document-dialog .line-search-bar .secondary-link{flex:1 1 0;padding-inline:.5rem}.document-dialog .line-table td{border-bottom:0}.document-dialog .summary-total{text-align:right;white-space:normal;flex-basis:100%;margin-left:0}.document-dialog .catalog-dialog{padding:0}.document-dialog .catalog-filters{align-items:end}.document-dialog .catalog-results th,.document-dialog .catalog-results td{padding-inline:.75rem .25rem}.document-dialog .catalog-results td.record-code{white-space:nowrap}.document-dialog .catalog-panel{border:0;border-radius:0;width:100%;height:100%;max-height:100%}}.waybill-facts{flex-wrap:wrap;align-items:center;gap:.4rem .75rem;display:flex}.waybill-fields{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.6rem .9rem;margin:.6rem 0 .9rem;display:grid}.waybill-fields label{gap:.25rem;font-size:.85rem;font-weight:600;display:grid}.waybill-fields .waybill-wide{grid-column:1/-1}.waybill-check{align-items:center;gap:.5rem;font-weight:500;display:flex!important}.waybill-check input{width:auto;min-height:0}.waybill-preview{grid-template-columns:max-content minmax(0,1fr);gap:.25rem 1rem;margin:.4rem 0 .8rem;font-size:.9rem;display:grid}.waybill-preview dt{color:var(--shell-muted)}.waybill-preview dd{overflow-wrap:anywhere;margin:0}.status-pill[data-rs-state]{border:1px solid var(--shell-field-border);background:var(--shell-surface);color:var(--shell-text)}:is(.status-pill,.badge,.rs-state)[data-rs-state=ACTIVE]{border:1px solid var(--product-block-border);background:var(--product-block-bg);color:var(--product-block-head-text);font-weight:700}:is(.status-pill,.badge,.rs-state)[data-rs-state=CANCELLED]{border:1px solid var(--status-error-text);background:var(--status-error-bg);color:var(--status-error-text);font-weight:700}.rs-state:is([data-rs-state=ACTIVE],[data-rs-state=CANCELLED]){border-radius:999px;padding:.05rem .5rem;display:inline-block}.status-pill[data-rs-state=CLOSED]{border-color:var(--status-ok-border);background:var(--status-ok-bg)}.customers-page{--customer-line:var(--shell-border)}.customers-page .panel{border-radius:.6rem;padding:.75rem 1rem}.customers-page .panel h2{margin:0 0 .5rem;font-size:1rem}.customers-page input,.customers-page select{border-radius:.45rem;min-height:2.35rem;padding:.4rem .6rem;font-size:.9rem}.customers-page .search-form{gap:.5rem}.customers-page .primary-button,.customers-page .secondary-link{border-radius:.45rem;min-height:2.35rem;padding:.4rem .9rem}.customer-inline-form{flex-wrap:wrap;align-items:end;gap:.5rem .75rem;display:flex}.customer-inline-form label{flex:12rem;gap:.2rem;font-size:.8rem;font-weight:600;display:grid}.customer-inline-form .primary-button{flex:none;width:auto}.customer-list-head{align-items:baseline;gap:.5rem;display:flex}.customer-list{border-top:1px solid var(--customer-line);margin:0;padding:0;list-style:none}.customer-row{border-bottom:1px solid var(--customer-line)}.customer-row-main{grid-template-columns:minmax(5.5rem,8rem) minmax(0,1fr) auto auto;align-items:center;gap:.25rem .9rem;min-height:3.5rem;padding:.45rem .25rem;font-size:.92rem;display:grid}.customer-code{overflow-wrap:anywhere;font-size:.82rem}.customer-name{gap:.1rem;min-width:0;display:grid}.customer-name strong{overflow-wrap:anywhere;font-weight:600;line-height:1.3}.customer-aliases{color:var(--shell-muted);overflow-wrap:anywhere;font-size:.8rem;line-height:1.3}.customer-actions{justify-content:flex-end;align-items:center;gap:.4rem;display:flex}.customers-page .customer-terms-button{white-space:nowrap;min-height:2.1rem;padding:.3rem .7rem;font-size:.82rem;font-weight:500}.row-menu{position:relative}.row-menu summary{border:1px solid var(--shell-field-border);background:var(--shell-surface);cursor:pointer;white-space:nowrap;border-radius:.45rem;padding:.35rem .6rem;font-size:.82rem;list-style:none}.row-menu summary::-webkit-details-marker{display:none}.row-menu summary:after{content:" ▾";color:var(--shell-muted)}.row-menu-list{z-index:20;border:1px solid var(--shell-border);background:var(--shell-surface);min-width:14rem;box-shadow:0 .5rem 1.25rem rgb(var(--shell-shadow-rgb) / 12%);border-radius:.5rem;margin-top:.25rem;padding:.3rem;display:grid;position:absolute;right:0}.row-menu-list .text-button{text-align:left;border-radius:.35rem;padding:.45rem .6rem;font-size:.85rem;font-weight:500}.row-menu-list .text-button:hover:not(:disabled){background:var(--shell-disabled-bg)}.customer-row-detail{border-left:2px solid var(--shell-accent-border);background:var(--shell-surface-muted);gap:.5rem;margin:0 .25rem .6rem;padding:.6rem .75rem;display:grid}.customer-row-detail h3{margin:0;font-size:.92rem}.customer-row-detail>*{margin:0}.customer-list-panel{container-type:inline-size}@container (max-width:720px){.customer-row-main{grid-template-columns:minmax(5.5rem,7.5rem) minmax(0,1fr) auto;grid-template-areas:"code name status""code actions actions"}.customer-code{grid-area:code;align-self:start;padding-top:.1rem}.customer-name{grid-area:name}.customer-row-main .status-pill{grid-area:status;align-self:start}.customer-actions{grid-area:actions;justify-content:flex-start}}@media (max-width:640px){.customer-row-main{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"code status""name name""actions actions"}.customer-code{grid-area:code}.customer-row-main .status-pill{grid-area:status;justify-self:end}.customer-name{grid-area:name}.customer-actions{grid-area:actions;justify-content:flex-start}.row-menu-list{left:0;right:auto}}.unit-list{border-top:1px solid var(--border);margin:0 0 12px;padding:0;list-style:none}.unit-row{border-bottom:1px solid var(--border);overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px 16px;min-height:48px;padding:8px 0;display:flex}.unit-main{flex:220px;min-width:0}.unit-aliases{flex-wrap:wrap;flex:2 240px;gap:6px;display:flex}.alias-chip{border:1px solid var(--border);border-radius:6px;align-items:center;gap:4px;padding:2px 8px;font-size:.9rem;display:inline-flex}.unit-fix{flex-direction:column;gap:6px;margin-top:6px;display:flex}.unit-product{margin-top:12px}body{font-size:.9375rem}label{gap:.3rem;font-size:.875rem}input,select{border-radius:var(--radius-control);min-height:2.375rem;padding:.4rem .65rem}textarea{border-radius:var(--radius-control);min-height:4.5rem;padding:.45rem .65rem}.primary-button,.primary-link,.secondary-link,.secondary-button{border-radius:var(--radius-control);min-height:2.375rem;padding:.4rem .9rem}.auth-card form,.inline-form{gap:.6rem .75rem;margin-top:.9rem}.summary-card,.panel{border-color:var(--shell-border);border-radius:var(--radius-card)}.summary-card{padding:.9rem 1rem}@media (pointer:coarse),(max-width:640px){input,select,.primary-button,.primary-link,.secondary-link{min-height:2.75rem}input,select,textarea{font-size:1rem}}.company-gate-card{border-radius:.75rem;width:min(26rem,100%);padding:1.1rem 1.2rem}.catalog-panel{border-radius:.75rem;width:min(100%,60rem);max-height:calc(100vh - 2rem)}.catalog-dialog.sales-settings-dialog .catalog-panel{width:min(100%,46rem)}.document-dialog-panel.sale-form,.document-dialog .document-dialog-panel.sale-form{border-radius:.75rem;width:min(100%,68.75rem);height:auto;max-height:100%}.document-dialog .dialog-body{flex:auto;min-height:0}.customer-new-panel .customer-inline-form{max-width:35rem}.customer-row-detail>*{max-width:47.5rem}.customer-row-detail .primary-button,.customer-row-detail .secondary-link{white-space:nowrap}@media (max-width:760px){.document-dialog-panel.sale-form,.document-dialog .document-dialog-panel.sale-form{border-radius:0;width:100%;height:100%;max-height:none}}.rs-lines{border-top:1px solid var(--shell-border);gap:0}.rs-lines>.line-card.rs-line{border:0;border-bottom:1px solid var(--shell-border);background:0 0;border-radius:0;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:.3rem 1rem;margin:0;padding:.5rem .25rem}.rs-line .summary-label{letter-spacing:.08em;color:var(--shell-muted);font-size:.65rem;line-height:1.2}.rs-line .rs-source{border-right:1px solid var(--shell-border);gap:.1rem;padding-right:.75rem}.rs-line .rs-source strong{overflow-wrap:anywhere;font-size:.92rem;font-weight:650;line-height:1.3}.rs-line .rs-source .muted{font-size:.84rem}.rs-line .rs-numo{flex-wrap:wrap;align-content:start;align-items:center;gap:.3rem .5rem;display:flex}.rs-line .rs-numo>.summary-label,.rs-line .rs-numo>strong,.rs-line .rs-numo>.muted,.rs-line .rs-numo>.checkbox-label,.rs-line .rs-numo>.inline-form,.rs-line .rs-numo>.unit-fix{flex-basis:100%}.rs-line .rs-numo>strong{font-size:.9rem;line-height:1.3}.rs-line .rs-numo>.muted,.rs-line .rs-numo .checkbox-label{font-size:.84rem}.rs-line .badge{padding:.1rem .45rem;font-size:.78rem;line-height:1.35}.rs-line .record-actions{flex-wrap:wrap;gap:.3rem;display:inline-flex}.rs-line .secondary-link,.rs-line .text-button{min-height:2rem;padding:.2rem .6rem;font-size:.85rem}.rs-line .text-button{color:var(--shell-accent-text);text-decoration:underline}.line-card{border-color:var(--shell-border);border-radius:.5rem;gap:.35rem;margin-bottom:.4rem;padding:.5rem .7rem}.save-bar{border-color:var(--shell-accent-border);box-shadow:0 .4rem 1.2rem rgb(var(--shell-shadow-rgb) / 12%);border-radius:.6rem;align-items:center;gap:.5rem .75rem;padding:.45rem .75rem}.save-bar .primary-button,.save-bar .secondary-link{min-height:2.25rem;padding:.3rem .8rem}.save-bar .muted{font-size:.85rem}@media (max-width:760px){.rs-lines>.line-card.rs-line{grid-template-columns:1fr}.rs-line .rs-source{border-right:0;padding-right:0}.rs-line .secondary-link,.rs-line .text-button{min-height:2.75rem}}.clickable-row{cursor:pointer}.clickable-row:hover>td,.clickable-row.selected-row>td{background:var(--shell-accent-soft)}body.has-work-dialog{overflow:hidden}.work-dialog{z-index:70;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.work-dialog-backdrop{background:rgb(var(--shell-shadow-rgb) / 48%);position:absolute;inset:0}.work-dialog-panel{border:1px solid var(--shell-border);border-radius:var(--radius-card);background:var(--shell-surface);width:min(100%,68.75rem);max-height:100%;box-shadow:0 .75rem 2rem rgb(var(--shell-shadow-rgb) / 18%);flex-direction:column;display:flex;position:relative;overflow:clip}.work-dialog-panel:focus{outline:none}.work-dialog-head{border-bottom:1px solid var(--shell-border);justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem 1rem;display:flex}.work-dialog-title{min-width:0}.work-dialog-title h2{overflow-wrap:anywhere;margin:0;font-size:1.05rem;line-height:1.3}.work-dialog-head .dialog-close{flex:none;min-height:2.25rem;padding:.2rem .7rem}.work-dialog-body{flex:auto;min-height:0;overflow:auto}.work-dialog-section>p:first-child{margin-top:0}.work-dialog .save-bar{z-index:2;max-width:none;box-shadow:none;border-width:1px 0 0;border-radius:0;margin:.6rem -1rem -.8rem;position:sticky;bottom:0;left:auto;right:auto}@media (max-width:760px){.work-dialog{padding:0}.work-dialog-panel{border:0;border-radius:0;width:100%;height:100%}}.supplier-add-row{flex-wrap:wrap;align-items:center;gap:.4rem .6rem;margin-bottom:.6rem;display:flex}.supplier-add-row input{flex:16rem;width:auto;min-width:0;max-width:28rem}.registry-filters{grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));align-items:end;gap:.45rem .6rem;display:grid}.registry-filters label{gap:.2rem;font-size:.8rem}.registry-filters .registry-organization{grid-column:span 2}.registry-filters .registry-clear{justify-self:start;min-height:2.375rem;font-size:.85rem;text-decoration:underline}.registry-status{flex-wrap:wrap;align-items:center;gap:.4rem 1rem;margin:.7rem 0 .4rem;font-size:.9rem;display:flex}.registry-status .primary-button{margin-left:auto}.registry-failed{border:1px solid var(--status-error-border);background:var(--status-error-bg);color:var(--status-error-text);border-radius:.5rem;flex-wrap:wrap;align-items:center;gap:.3rem .8rem;margin-bottom:.5rem;padding:.4rem .6rem;font-size:.85rem;display:flex}.registry-table td,.registry-table th{padding-top:.4rem;padding-bottom:.4rem;font-size:.88rem}.registry-table .badge{margin-left:.3rem}.registry-table .registry-cell-date{white-space:nowrap}.registry-table .registry-cell-org{min-width:12rem}.registry-table .registry-cell-state .registry-state{white-space:normal;border-radius:.6rem;max-width:100%}.registry-more{margin-top:.6rem}.rs-help-stock-note,.registry-status .registry-status-brief{display:none}.registry-table .registry-cell-state .registry-flag{white-space:normal;margin:.15rem 0 0 .3rem;display:inline-block}.registry-filters .registry-filter-toggle,.registry-filters .registry-extra-clear{display:none}@media (max-width:640px){.registry-filters .registry-organization{grid-column:1/-1}.registry-status .primary-button{width:100%;margin-left:0}}@media (max-width:720px){.rs-page-head{flex-wrap:wrap;align-items:center;gap:.2rem .8rem;display:flex}.rs-page-head>*{flex:100%}.rs-page-head>h1,.rs-page-head>.page-help{flex:0 auto;margin:0}.rs-page-head>.page-help[open]{flex-basis:100%}.rs-page-head>.eyebrow,.rs-page-head>.security-note{display:none}.rs-page-head .rs-help-stock-note{display:block}.registry-status{row-gap:.15rem}.registry-status .registry-status-brief{flex:100%;margin:0;display:block}.registry-status .registry-days,.registry-status .registry-last-sync,.registry-panel .registry-today{display:none}.registry-filters{grid-template-columns:minmax(0,1fr) auto;gap:.3rem .5rem}.registry-filters>*{grid-column:1/-1}.registry-filters .registry-organization{order:1}.registry-filters .registry-received{order:2;grid-column:1}.registry-filters .registry-filter-toggle{white-space:nowrap;order:3;grid-column:2;justify-content:center;align-self:end;align-items:center;display:inline-flex}.registry-filters .registry-filter-toggle.has-active{border-color:var(--shell-accent);background:var(--shell-accent-soft);font-weight:700}.registry-filters .registry-extra{order:4}.registry-filters .registry-extra-clear{justify-self:start;display:inline-flex}.registry-filters:not(.extras-open) .registry-extra{display:none}.registry-filters .registry-clear{order:5}.registry-filters:not(.filters-active) .registry-clear{display:none}.registry-status{gap:.2rem .8rem;margin:.45rem 0 .3rem}.registry-panel .registry-today,.registry-panel .registry-incomplete{margin:.3rem 0}.registry-panel .table-scroll{overflow-x:visible}.registry-table,.registry-table tbody{width:100%;display:block}.registry-table thead{display:none}.registry-table tr{border-bottom:1px solid var(--shell-border);grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"number date rs""org org amount""state state state""corrected corrected corrected";align-items:start;gap:.15rem .55rem;padding:.45rem .2rem;display:grid}.doc-workspace .registry-panel .data-table.registry-table tbody tr>td,.registry-panel .data-table.registry-table tbody tr>td{background:0 0;border:0;min-width:0;padding:0;display:block}.registry-panel .registry-table tr.clickable-row:hover,.registry-panel .registry-table tr.selected-row{background:var(--shell-accent-soft)}.doc-workspace .registry-panel .data-table.registry-table tbody tr>td.registry-cell-number,.registry-panel .data-table.registry-table tbody tr>td.registry-cell-number{white-space:nowrap;flex-wrap:wrap;grid-area:number;align-items:center;gap:0 .3rem;min-width:0;display:flex;overflow:hidden}.registry-table .registry-cell-number .text-button{flex:none;padding:0;font-weight:700}.registry-table .registry-cell-number .badge{text-overflow:ellipsis;white-space:nowrap;flex:none;max-width:100%;margin-left:0;overflow:hidden}.registry-table .registry-cell-date,.registry-table .registry-cell-rs{align-self:center}.registry-table .registry-cell-date{white-space:nowrap;grid-area:date}.registry-table .registry-cell-rs{white-space:nowrap;grid-area:rs}.registry-table .registry-cell-org{overflow-wrap:anywhere;grid-area:org;min-width:0}.registry-table .registry-org-name{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-inline-box;overflow:hidden}.registry-table .registry-cell-amount{text-align:right;white-space:nowrap;grid-area:amount;font-weight:600}.registry-table .registry-cell-state{grid-area:state;min-width:0}.registry-table .registry-cell-corrected{grid-area:corrected}.registry-table .registry-cell-corrected:empty{display:none}}.product-photos{flex-wrap:wrap;align-items:flex-start;gap:.6rem;margin-top:.6rem;display:flex}.product-photo{gap:.25rem;width:88px;margin:0;display:grid}.product-photo img{object-fit:cover;border:1px solid var(--shell-border);background:var(--shell-bg);border-radius:8px;width:88px;height:88px;display:block}.product-photo-hidden img{opacity:.4}.product-photo figcaption{color:var(--shell-muted);gap:.1rem;font-size:.78rem;display:grid}.product-photo-main{color:var(--shell-accent-text);font-weight:600}.product-photo-actions{flex-wrap:wrap;gap:.35rem;display:flex}.product-photo-link{border:1px dashed var(--shell-border);text-align:center;border-radius:8px;place-items:center;width:88px;height:88px;font-size:.8rem;display:grid}.product-photo-add{border:1px dashed var(--shell-accent-border);background:var(--shell-accent-soft);width:88px;height:88px;color:var(--shell-accent-text);cursor:pointer;border-radius:8px;place-items:center;font-weight:600;display:grid}.product-photo-add:focus-within{outline:2px solid var(--shell-accent);outline-offset:2px}.product-photo-add.is-busy{cursor:progress;opacity:.7}.product-photo-add input{opacity:0;width:1px;height:1px;position:absolute}.product-photos .form-error{flex-basis:100%;margin:0}.turnover-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:.6rem;display:grid}.turnover-filters .turnover-search{grid-column:span 2}.turnover-table .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.turnover-table .badge,.turnover-totals .badge{margin-left:.4rem}.turnover-value{color:var(--shell-muted);font-size:.78rem;display:block}.turnover-totals{margin:0 0 .6rem}@media (max-width:640px){.turnover-filters .turnover-search{grid-column:1/-1}}.list-filters{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));align-items:end;gap:.6rem;margin-bottom:.8rem;display:grid}.list-filters .list-filters-search{grid-column:span 2}.list-filters .form-error{grid-column:1/-1;margin:0}@media (max-width:640px){.list-filters .list-filters-search{grid-column:1/-1}}.page-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.products-filters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:.6rem;display:grid}.products-filters .products-search{grid-column:span 2}.pager{gap:.4rem;display:flex}.products-table td{vertical-align:middle}.products-table .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.products-table .product-name{white-space:normal;overflow-wrap:anywhere;min-width:14rem}.product-thumb{width:48px}.product-thumb img,.product-thumb-empty{object-fit:cover;border:1px solid var(--shell-border);background:var(--shell-bg);border-radius:6px;width:40px;height:40px;display:block}.product-sub{white-space:normal;font-size:.78rem;display:block}.product-flag{color:var(--shell-accent-text);margin-left:.15rem;font-weight:700}.products-legend{margin:.5rem 0 0;font-size:.8rem}.card-tabs{border-bottom:1px solid var(--shell-border);flex-wrap:wrap;gap:.3rem;margin-bottom:.8rem;display:flex}.card-tab{color:var(--shell-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:.45rem .8rem}.card-tab.is-active{border-bottom-color:var(--shell-accent-text);color:var(--shell-accent-text);font-weight:600}.card-tab:focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px}.card-section{gap:.6rem;display:grid}.card-section h3{margin:.4rem 0 0;font-size:.95rem}.plain-list{gap:.3rem;margin:0;padding-left:1.1rem;display:grid}@media (max-width:640px){.products-filters .products-search{grid-column:1/-1}}.rs-code-candidate{border:1px dashed var(--shell-accent-border);background:var(--shell-accent-soft);border-radius:6px;flex-wrap:wrap;align-items:center;gap:.4rem;padding:.35rem .5rem;font-size:.85rem;display:flex}.rs-lines{border-top:0;gap:.6rem;display:grid}.rs-lines>.line-card.rs-line{border:1px solid var(--shell-border);border-left:4px solid var(--shell-accent);background:var(--shell-surface);border-radius:8px;padding:.6rem .75rem}.rs-lines>.line-card.rs-line[data-line-state=open]{border-color:var(--shell-accent-border);border-left-color:var(--shell-accent-text);background:var(--shell-surface-muted)}.work-dialog-panel{border-radius:var(--radius-card);width:min(100%,56rem);box-shadow:0 1.25rem 3rem rgb(var(--shell-shadow-rgb) / 22%)}.work-dialog-title h2{font-size:.98rem;font-weight:700}.work-dialog-head .dialog-close{background:0 0;border-color:#0000;min-height:2rem;padding:.1rem .55rem}.work-dialog .closed-banner{border-radius:.5rem;margin:0 0 .75rem;padding:.45rem .7rem;font-size:.85rem;font-weight:600}.rs-lines{gap:.45rem}.rs-lines>.line-card.rs-line,.rs-lines>.line-card.rs-line[data-line-state=open]{border:1px solid var(--shell-border);border-left:3px solid var(--shell-accent);background:var(--shell-surface);border-radius:.5rem;gap:.35rem 1rem;padding:.55rem .75rem .5rem}.rs-lines>.line-card.rs-line[data-line-state=matched]{border-left-color:var(--status-ok-text)}.rs-lines>.line-card.rs-line[data-line-state=open]{background:var(--shell-surface-muted)}.rs-line .rs-source{border-right:0}.rs-line .rs-source strong{font-size:.88rem;font-weight:650}.rs-line .rs-source .muted,.rs-line .rs-numo>.muted{font-size:.78rem}.rs-line .rs-numo>strong{color:var(--shell-muted);font-size:.8rem;font-weight:500}.rs-line .badge{background:0 0;border:0;padding:0;font-size:.72rem;font-weight:650}.rs-line .badge-ok{color:var(--status-ok-text)}.rs-line .badge-ok:before{content:"✓ "}.rs-line .badge-warn{color:var(--shell-accent-text)}.rs-line>.pricing-compact{border:0;border-top:1px solid var(--shell-border);background:0 0;border-radius:0;gap:.3rem;margin:0;padding:.4rem 0 0}.pricing-compact .pricing-strip{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem 1rem;display:flex}.pricing-line.pricing-compact .price-grid{flex-wrap:wrap;gap:.25rem 1.1rem;margin:0;display:flex}.pricing-line.pricing-compact .price-grid>div{gap:0;display:grid}.pricing-line.pricing-compact .price-grid dt{color:var(--shell-muted);letter-spacing:.01em;font-size:.68rem}.pricing-line.pricing-compact .price-grid dd{font-variant-numeric:tabular-nums;font-size:.85rem;font-weight:700}.pricing-compact .pricing-strip .text-button{border:1px solid var(--shell-border);border-radius:999px;min-height:1.75rem;padding:.1rem .5rem;font-size:.78rem;text-decoration:none}.pricing-compact .pricing-strip .text-button:hover{border-color:var(--shell-accent-border);background:var(--shell-accent-soft)}.pricing-compact .form-error{margin:0;font-size:.78rem}.pricing-compact .price-decision{padding-top:.3rem}@media (max-width:760px){.pricing-compact .pricing-strip .text-button{min-height:2.5rem}}.role-preview{border:1px solid var(--shell-border);background:var(--shell-surface);border-radius:.5rem;margin-top:.6rem;padding:.5rem .75rem;font-size:.85rem}.role-preview summary{cursor:pointer;font-weight:650}.role-preview-groups{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.6rem 1.2rem;margin-top:.6rem;display:grid}.role-preview-group ul{color:var(--shell-muted);margin:.2rem 0 0;padding-left:1.1rem}.role-preview-group li{line-height:1.45}.category-trail{flex-wrap:wrap;align-items:center;gap:.35rem;margin:0 0 .6rem;font-size:.9rem;display:flex}.category-trail .text-button{min-height:auto;padding:.1rem .2rem}.category-tiles{grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:.6rem;display:grid}.category-tile{border:1px solid var(--shell-border);background:var(--shell-surface);min-height:3.25rem;color:var(--shell-text);font:inherit;text-align:left;cursor:pointer;border-radius:.6rem;justify-content:space-between;align-items:center;gap:.6rem;padding:.6rem .85rem;font-size:.92rem;font-weight:600;display:flex}.category-tile:hover,.category-tile:focus-visible{border-color:var(--shell-accent-border);background:var(--shell-surface-muted)}.category-tile.is-warn{color:var(--shell-accent-text);border-style:dashed}.category-tile.is-all{background:0 0}.category-count{background:var(--shell-bg);min-width:2rem;color:var(--shell-muted);text-align:center;border-radius:999px;flex:none;padding:.1rem .45rem;font-size:.78rem;font-weight:650}.product-card-body{gap:.75rem;display:grid}.product-card-body .card-tabs{z-index:1;background:var(--shell-surface);margin:-.75rem -1.1rem 0;padding:.25rem 1.1rem 0;position:sticky;top:-.75rem}.product-card-body .card-tab{box-shadow:none;border-radius:0}.product-card-body .detail-list>div{grid-template-columns:10rem 1fr;align-items:baseline}.product-card-body .detail-list dt{color:var(--shell-muted);text-transform:none;font-size:.8rem;font-weight:600}.price-tiles{grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.6rem;display:grid}.price-tile{border:1px solid var(--shell-border);background:var(--shell-surface-muted);border-radius:.6rem;gap:.15rem;padding:.65rem .8rem;display:grid}.price-tile-label{color:var(--shell-muted);font-size:.75rem;font-weight:600}.price-tile strong{font-variant-numeric:tabular-nums;font-size:1.15rem}.price-tile .muted{font-size:.75rem;line-height:1.35}.card-details{background:var(--shell-bg);border-radius:.6rem;padding:.6rem .8rem;font-size:.88rem}.card-footnote{margin:0;font-size:.75rem}.category-current,.category-picker{flex-wrap:wrap;align-items:center;gap:.4rem;display:inline-flex}.category-picker select{max-width:14rem}@media (max-width:640px){.product-card-body .detail-list>div{grid-template-columns:1fr;gap:.1rem}}.dispatch-date{gap:.2rem;font-size:.85rem;display:grid}.dispatch-bar{grid-template-columns:repeat(2,minmax(10rem,1fr)) minmax(14rem,2fr) auto;align-items:end;gap:.6rem;display:grid}.dispatch-table td:first-child,.dispatch-table th:first-child{width:2rem}.dispatch-rows{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.dispatch-row{border:1px solid var(--shell-border);border-left:3px solid var(--status-ok-text);border-radius:.5rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem 1rem;padding:.45rem .7rem;font-size:.88rem;display:flex}.dispatch-row.is-problem{border-left-color:var(--shell-accent-text);background:var(--shell-surface-muted)}.dispatch-row>div:first-child{gap:.1rem;display:grid}.dispatch-row .muted{font-size:.78rem}.dispatch-steps{flex-wrap:wrap;gap:.3rem;display:flex}.dispatch-unit-match{border-top:1px dashed var(--shell-border);flex-basis:100%;gap:.4rem;padding-top:.4rem;display:grid}.dispatch-unit-match .unit-match-row{flex-wrap:wrap;align-items:end;gap:.4rem .8rem}.dispatch-unit-match .unit-match-products{flex:16rem;gap:.1rem;display:grid}.dispatch-row .activation-lines{flex-basis:100%;font-size:.82rem}.rs-group-activation .dispatch-bar{margin:.6rem 0}.dispatch-confirm{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin-top:.8rem;display:flex}@media (max-width:760px){.dispatch-bar{grid-template-columns:1fr}}.rs-lines>.line-card.rs-line,.rs-lines>.line-card.rs-line[data-line-state=open]{gap:.2rem 1rem;padding:.45rem .7rem .4rem}.rs-line .rs-numo{gap:.15rem .5rem}.rs-line .rs-numo>strong{white-space:nowrap;text-overflow:ellipsis;flex-basis:100%;overflow:hidden}.rs-line .rs-change{min-height:auto;padding:0 .3rem;font-size:.75rem;text-decoration:none}.rs-line>.pricing-compact{padding-top:.3rem}.pricing-line.pricing-compact .price-grid{gap:.15rem 1rem}.category-tile{justify-content:flex-start}.category-svg-icon{color:var(--shell-text);display:block}.category-icon{background:var(--shell-bg);border-radius:.5rem;flex:none;place-items:center;width:2rem;height:2rem;font-size:1.1rem;line-height:1;display:grid}.category-name{flex:1;min-width:0}.role-presets{flex-wrap:wrap;gap:.4rem;margin:.6rem 0 .2rem;display:flex}.role-presets .secondary-button{min-height:2rem;padding:.2rem .7rem;font-size:.8rem}fieldset.role-preview-group{border:0;gap:.15rem;margin:0;padding:0;display:grid}.role-preview-group legend{margin-bottom:.2rem;font-weight:700}.role-permission{cursor:pointer;border-radius:.3rem;align-items:flex-start;gap:.45rem;padding:.1rem .25rem;font-weight:400;line-height:1.35;display:flex}.role-permission input{accent-color:var(--shell-accent-text);margin-top:.15rem}.role-permission.is-changed{background:var(--shell-accent-soft)}.employee-search{min-width:16rem}.role-chip{background:var(--shell-accent-soft);color:var(--shell-accent-text);white-space:nowrap;border-radius:999px;padding:.12rem .55rem;font-size:.8rem;font-weight:650;display:inline-block}.status-invited{background:var(--status-wait-bg);color:var(--status-wait-text)}.employee-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem;display:grid}.employee-form-wide{grid-column:1/-1}.employee-head{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.employee-avatar{background:var(--shell-accent-soft);width:3.25rem;height:3.25rem;color:var(--shell-accent-text);border-radius:50%;place-items:center;font-size:1.4rem;font-weight:750;display:grid}.employee-who{flex:1;gap:.2rem;min-width:12rem;display:grid}.employee-who h1{margin:0;font-size:1.5rem}.employee-badges{flex-wrap:wrap;align-items:center;gap:.4rem;font-size:.85rem;display:flex}.employee-grid{grid-template-columns:repeat(auto-fit,minmax(20rem,1fr));align-items:start;gap:1rem;display:grid}.employee-grid .panel{margin:0}.employee-details>div{grid-template-columns:9rem 1fr;align-items:baseline}.employee-details dt{color:var(--shell-muted);text-transform:none;font-size:.82rem;font-weight:600}.employee-password{gap:.5rem;margin-bottom:.6rem;display:grid}.employee-password .muted{margin:0;font-size:.78rem}.employee-danger{border-color:var(--status-error-border)}.employee-reset{gap:.4rem;margin-bottom:.6rem;display:grid}.employee-reset>.muted{margin:0;font-size:.78rem}.temp-password{border:1px solid var(--status-wait-border);border-radius:6px;gap:.4rem;padding:.6rem;display:grid}.temp-password .muted{margin:0;font-size:.78rem}.temp-password-row{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.temp-password-row input{flex:100%;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:16px}.danger-button{border:1px solid var(--status-error-border);background:var(--shell-surface);min-height:2.5rem;color:var(--status-error-text);font:inherit;cursor:pointer;border-radius:.5rem;padding:.4rem .9rem;font-weight:650}.danger-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:760px){.employee-form{grid-template-columns:1fr}.employee-search{width:100%;min-width:0}}.price-edit{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.price-edit input{width:7rem}.price-edit .primary-button{min-height:2.1rem;padding:.2rem .7rem}.price-edit-open{justify-self:start;min-height:auto;padding:0;font-size:.8rem}.price-tile .form-error{margin:0;font-size:.75rem}.card-subhead{justify-content:space-between;align-items:baseline;gap:.6rem;display:flex}.card-subhead .text-button{min-height:auto;padding:0;font-size:.82rem;font-weight:600}.price-set-bar{border:1px solid var(--shell-accent-border);background:var(--shell-surface-muted);border-radius:.6rem;gap:.4rem;padding:.6rem .75rem;display:grid}.price-set-bar .primary-button{justify-self:start}.price-set-bar .price-edit label{gap:.2rem;font-size:.82rem;font-weight:600;display:grid}.price-set-bar .price-edit input{width:9rem}.price-set-bar p{margin:0}.price-edit{align-items:end}.catalog-filters{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}.catalog-results td,.catalog-results th{padding-top:.4rem;padding-bottom:.4rem;font-size:.88rem}.catalog-results .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.catalog-results tbody tr{cursor:pointer}@media (max-width:760px){.catalog-filters{grid-template-columns:1fr}}.catalog-panel{width:min(100%,60rem)}.catalog-head{padding:.55rem .9rem}.catalog-filters{gap:.4rem .6rem;padding:.55rem .9rem .6rem}.catalog-filters label{color:var(--shell-muted);gap:.15rem;font-size:.75rem}.catalog-filters input,.catalog-filters select{min-height:2.2rem;padding-top:.25rem;padding-bottom:.25rem;font-size:.88rem}.catalog-results table{table-layout:fixed}.catalog-results th{padding:.3rem .6rem;font-size:.72rem}.catalog-results td{padding:.32rem .6rem;font-size:.86rem;line-height:1.3}.catalog-results .catalog-code{width:7.5rem}.catalog-results .catalog-name{white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal;overflow:hidden}.catalog-results .catalog-sub{white-space:nowrap;text-overflow:ellipsis;width:10rem;font-size:.78rem;overflow:hidden}.catalog-results .catalog-unit{width:3.5rem}.catalog-results th.numeric,.catalog-results td.numeric{width:5.5rem}.catalog-results tbody tr:hover td{background:var(--shell-surface-muted)}.catalog-results .product-search-status{margin:0;padding:.4rem .9rem;font-size:.78rem}.customer-prices .cp-pick{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.customer-prices .cp-field{gap:.25rem;font-size:.82rem;font-weight:600;display:grid}.customer-prices .cp-editor{margin:.75rem 0}.customer-prices .cp-facts{flex-wrap:wrap;gap:.35rem 1.25rem;margin:0;font-size:.85rem;display:flex}.customer-prices .cp-facts dt{color:var(--shell-muted);font-size:.75rem}.customer-prices .cp-facts dd{margin:0;font-weight:600}.customer-prices .cp-amount{flex-wrap:wrap;align-items:end;gap:.5rem;display:flex}.customer-prices .cp-amount label{gap:.2rem;font-size:.82rem;font-weight:600;display:grid}.customer-prices .cp-amount input{width:9rem}.customer-prices .cp-title{margin:0 0 .5rem;font-size:1rem}.customer-prices .cp-list{margin:0;padding:0;list-style:none}.customer-prices .cp-row{border-bottom:1px solid var(--shell-border);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:.5rem .75rem;padding:.45rem 0;font-size:.9rem;display:grid}.customer-prices .cp-row:last-child{border-bottom:0}.customer-prices .cp-product{gap:.5rem;min-width:0;display:flex}.customer-prices .cp-product span:last-child{overflow-wrap:anywhere}.customer-prices .cp-price{white-space:nowrap}@media (max-width:640px){.customer-prices .cp-pick{grid-template-columns:minmax(0,1fr)}.customer-prices .cp-row{grid-template-columns:minmax(0,1fr) auto}.customer-prices .cp-row .badge{justify-self:start}}.line-price-choices{flex-wrap:wrap;gap:.25rem;margin-top:.25rem;display:flex}.line-price-choice{border:1px solid var(--shell-border);background:var(--shell-surface);color:var(--shell-text);white-space:nowrap;cursor:pointer;border-radius:999px;padding:.1rem .45rem;font-size:.72rem;line-height:1.4}.line-price-choice.selected{border-color:var(--shell-accent-border);background:var(--shell-accent-soft);color:var(--shell-accent-text);font-weight:600}.line-price-choice:disabled{opacity:.55;cursor:not-allowed;text-decoration:line-through}.catalog-dialog{position:fixed}@media (max-width:760px){.catalog-dialog{padding:0}.catalog-panel{border-radius:0;width:100%;height:100%;max-height:100%}.catalog-dialog .catalog-results table,.catalog-dialog .catalog-results tbody{width:100%;display:block}.catalog-dialog .catalog-results thead{display:none}.catalog-dialog .catalog-results tbody tr{border-bottom:1px solid var(--shell-border);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:baseline;gap:.15rem .75rem;padding:.5rem 1rem;display:grid}.catalog-dialog .catalog-results tbody td{background:0 0;border:0;width:auto;padding:0;display:block}.catalog-dialog .catalog-results td.catalog-name{white-space:normal;order:-1;grid-column:1/-1;font-weight:600}.catalog-dialog .catalog-results td.catalog-sub{display:none}.catalog-dialog .catalog-results td.catalog-code{font-size:.78rem}.catalog-dialog .catalog-results tr[aria-selected=true]{background:var(--shell-accent-soft);box-shadow:inset 3px 0 0 var(--shell-accent)}.catalog-dialog .catalog-results tr[aria-selected=true] td,.catalog-dialog .catalog-results tr[aria-selected=true] td:first-child{box-shadow:none;background:0 0}}.employee-customers .ec-attach{gap:.5rem;margin-bottom:.75rem;display:grid}.employee-customers .ec-field{gap:.25rem;max-width:32rem;font-size:.82rem;font-weight:600;display:grid}.employee-customers .ec-confirm{flex-wrap:wrap;align-items:end;gap:.5rem;display:flex}.employee-customers .ec-confirm label{gap:.2rem;font-size:.82rem;font-weight:600;display:grid}.employee-customers .ec-note{flex-basis:100%;margin:0;font-size:.88rem}.employee-customers .ec-list{margin:0;padding:0;list-style:none}.employee-customers .ec-row{border-bottom:1px solid var(--shell-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem 1rem;padding:.45rem 0;display:flex}.employee-customers .ec-row:last-child{border-bottom:0}.employee-customers .ec-who{flex-wrap:wrap;align-items:baseline;gap:.25rem .6rem;min-width:0;display:flex}.employee-customers .ec-actions{gap:.75rem;display:flex}@media (max-width:640px){.employee-customers .ec-confirm{flex-direction:column;align-items:stretch}}.line-price-notice{color:var(--shell-accent-text);margin:.25rem 0 0;font-size:.72rem;line-height:1.35}.sale-stock-line{color:var(--status-ok-text);margin-top:.15rem;font-size:.8rem;font-weight:600;display:block}.line-stock{overflow-wrap:anywhere;margin-top:.25rem;font-size:.74rem;line-height:1.35;display:block}.line-stock-ok{color:var(--status-ok-text)}.line-stock-warn{color:var(--status-error-text);font-weight:600}.line-stock-muted{color:var(--shell-accent-text)}.sale-warehouse-bar{flex-wrap:wrap;align-items:flex-end;gap:.35rem 1rem;margin-bottom:.5rem;display:flex}.sale-warehouse-bar label{gap:.2rem;min-width:min(100%,16rem);display:grid}.sale-warehouse-bar .muted{flex:18rem;margin:0;font-size:.8rem}.catalog-results td.catalog-stock{overflow-wrap:anywhere;font-size:.82rem}.picker-stock-note{margin:.25rem 0 0;font-size:.8rem}.line-table .line-stock-row td{border-top:0;padding-top:0}.line-table .line-stock-row .line-stock{overflow-wrap:break-word;margin-top:0}@media (max-width:760px){.line-table .line-stock-row{border-bottom:1px solid var(--shell-border);margin-top:-.35rem;padding:0 0 .55rem 2.25rem;display:block}.line-table .line-stock-row .col-number{display:none}.line-table tbody:has(.line-stock-row) .line-row{border-bottom:0}}.line-price-warning{border:1px solid var(--status-wait-border);background:var(--status-wait-bg);color:var(--status-wait-text);border-radius:.5rem;margin:.35rem 0 0;padding:.35rem .6rem;font-size:.82rem;line-height:1.4}.price-recommendation{margin:.25rem 0 0;font-size:.85rem}.app-shell{min-height:100vh;padding-left:var(--shell-sidebar-width);background:var(--shell-bg)}.app-header{display:contents}.app-sidebar{z-index:50;width:var(--shell-sidebar-width);background:var(--shell-sidebar);color:var(--shell-sidebar-text);flex-direction:column;gap:1rem;padding:1.25rem .85rem 1.5rem;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.sidebar-head{border-bottom:1px solid var(--shell-sidebar-line);justify-content:space-between;align-items:center;gap:.5rem;padding:0 .4rem .9rem;display:flex}.app-sidebar .brand{color:var(--shell-sidebar-text);letter-spacing:-.01em;align-items:center;gap:.6rem;font-size:1.4rem;font-weight:600;text-decoration:none;display:inline-flex}.sidebar-close{border:1px solid var(--shell-sidebar-line);min-width:2.4rem;min-height:2.4rem;color:var(--shell-sidebar-text);background:0 0;border-radius:.5rem;justify-content:center;align-items:center;display:none}.nav-sections{gap:.3rem;margin:0;padding:0;list-style:none;display:grid}.nav-section{color:var(--shell-sidebar-text);overflow-wrap:anywhere;border-radius:.5rem;align-items:center;gap:.7rem;padding:.65rem .75rem;font-size:.92rem;font-weight:500;line-height:1.3;text-decoration:none;display:flex}.nav-section .nav-icon{color:var(--shell-sidebar-muted);flex:none}.nav-section:hover{background:var(--shell-sidebar-hover)}.nav-section[aria-current=true],.nav-section[aria-current=true]:hover{background:var(--shell-sidebar-active-bg);box-shadow:var(--shadow-card);color:var(--shell-sidebar-active-text);font-weight:700}.nav-section[aria-current=true] .nav-icon{color:var(--shell-sidebar-active-text)}.app-sidebar a:focus-visible,.sidebar-close:focus-visible{outline:2px solid var(--shell-accent);outline-offset:2px}.app-topbar{z-index:40;border-bottom:1px solid var(--shell-border);background:var(--shell-surface);min-height:3.5rem;color:var(--shell-muted);align-items:center;gap:.75rem;padding:.5rem clamp(1rem,2.5vw,1.75rem);display:flex;position:sticky;top:0}.topbar-title{min-width:0;color:var(--shell-muted);overflow-wrap:anywhere;flex:1;margin:0;font-size:.92rem}.topbar-title strong{color:var(--shell-text);font-weight:600}.nav-toggle,.nav-backdrop{display:none}.account-summary{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;font-size:.85rem;display:flex}.account-summary .company-current{border:1px solid var(--shell-border);background:var(--shell-bg);min-width:0;max-width:100%;color:var(--shell-text);border-radius:.5rem;padding:.3rem .65rem;font-weight:600}.account-summary .company-current select{text-overflow:ellipsis;width:auto;min-width:0;max-width:100%;min-height:2rem;padding:.2rem .4rem}.user-menu{position:relative}.user-menu summary{border:1px solid var(--shell-border);background:var(--shell-surface);color:var(--shell-text);cursor:pointer;border-radius:999px;align-items:center;gap:.5rem;padding:.2rem .65rem .2rem .2rem;font-weight:600;list-style:none;display:flex}.user-menu summary::-webkit-details-marker{display:none}.user-avatar{background:var(--shell-accent-soft);width:2rem;height:2rem;color:var(--shell-text);border-radius:999px;place-items:center;font-size:.85rem;font-weight:700;display:inline-grid}.user-menu-name{overflow-wrap:anywhere}.user-menu-role{font-weight:600}.user-menu-note{font-size:.78rem;line-height:1.45}.user-menu-panel{z-index:60;border:1px solid var(--shell-border);background:var(--shell-surface);width:16rem;color:var(--shell-text);box-shadow:0 .75rem 2rem rgb(var(--shell-shadow-rgb) / 14%);border-radius:.75rem;gap:.5rem;padding:1rem;display:grid;position:absolute;top:calc(100% + .4rem);right:0}.user-menu-panel strong,.user-menu-panel span{overflow-wrap:anywhere}.section-subnav{padding:.75rem clamp(1rem,2.5vw,1.75rem) 0}.section-subnav ul{border-bottom:1px solid var(--shell-border);flex-wrap:wrap;gap:.1rem 1.25rem;width:min(100%,76rem);margin:0 auto;padding:0;list-style:none;display:flex}.section-subnav a{color:var(--shell-muted);overflow-wrap:anywhere;border-bottom:3px solid #0000;margin-bottom:-1px;padding:.45rem 0 .6rem;font-size:.88rem;font-weight:500;text-decoration:none;display:inline-block}.section-subnav a:hover{color:var(--shell-text)}.section-subnav a[aria-current=page]{border-bottom-color:var(--shell-accent-text);color:var(--shell-text);font-weight:700}.app-shell .save-bar{left:calc(var(--shell-sidebar-width) + 1rem)}.app-shell .work-dialog .save-bar{left:auto}@media (max-width:1000px){.app-shell{padding-left:0}.app-shell .save-bar{left:1rem}.app-shell .work-dialog .save-bar{left:auto}.app-sidebar{width:min(85vw,18rem);box-shadow:0 0 2.5rem rgb(var(--shell-shadow-rgb) / 35%);visibility:hidden;transition:transform .16s,visibility 0s linear .16s;transform:translate(-105%)}.app-sidebar.is-open{visibility:visible;transition:transform .16s;transform:none}.sidebar-close{display:inline-flex}.nav-toggle{border:1px solid var(--shell-border);background:var(--shell-surface);min-height:2.5rem;color:var(--shell-text);border-radius:.5rem;align-items:center;gap:.45rem;padding:.35rem .8rem;font-weight:600;display:inline-flex}.nav-backdrop{z-index:45;background:rgb(var(--shell-shadow-rgb) / 45%);border:0;display:block;position:fixed;inset:0}.user-menu-name{display:none}}@media (max-width:640px){.app-topbar{flex-wrap:wrap;row-gap:.4rem}.account-summary{justify-content:space-between;width:100%}.section-subnav ul{gap:.1rem .9rem}}@media (prefers-reduced-motion:reduce){.app-sidebar,.app-sidebar.is-open{transition:none}}.sale-delivery{border:1px solid var(--shell-border);background:var(--shell-surface-muted);border-radius:.75rem;gap:.6rem;margin:0 0 .75rem;padding:.85rem 1rem;display:grid}.sale-delivery legend{color:var(--shell-text);padding:0 .35rem;font-weight:700}.sale-delivery-note{margin:0;font-size:.8rem}.sale-delivery-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.6rem .9rem;display:grid}.sale-delivery-fields label{min-width:0;display:grid}.sale-delivery-summary{margin:.25rem 0}.warehouse-address-edit{flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.35rem;display:inline-flex}.warehouse-address-edit input{min-width:min(22rem,100%)}.order-head{gap:.6rem;padding:.85rem 1rem .7rem;display:grid}.order-head-title{flex-wrap:wrap;align-items:baseline;gap:.2rem .9rem;display:flex}.order-head-title .eyebrow{margin:0}.order-head-title h1{margin:0;font-size:1.25rem}.order-head-fields{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));align-items:start;gap:.5rem .75rem;margin:0;display:grid}.order-head-fields>label{gap:.25rem;font-size:.82rem;font-weight:700;display:grid}.order-head-fields>label small{font-weight:500}.order-head-fields .order-head-customer{grid-column:span 2}.order-head-fields .order-head-notes{grid-column:1/-1}.order-head-fields input,.order-head-fields select{min-height:2.35rem;padding:.3rem .55rem}.order-more,.picker-more,.line-more{border:1px dashed var(--shell-section-border);border-radius:.6rem;padding:.3rem .7rem}.order-more summary,.picker-more summary,.line-more summary{cursor:pointer;color:var(--shell-accent-text);font-size:.85rem;font-weight:700}.order-more[open]{padding-bottom:.6rem}.order-more .order-head-fields{margin-top:.6rem}.order-products{padding:.85rem 1rem 1rem}.order-products .section-heading-row{align-items:baseline}.order-products .section-heading-row h2{flex:1}.picker-search-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:.5rem .6rem;display:grid}.picker-search-row .picker-search{gap:.25rem;font-size:.82rem;font-weight:700;display:grid}.picker-search-row .picker-search input{min-height:2.6rem;font-size:1rem}.picker-search-row .secondary-link{min-height:2.6rem}.picker-search-row .picker-more{flex-direction:column;justify-content:center;min-height:2.6rem;display:flex}.picker-search-row .picker-more[open]{grid-column:1/-1}.picker-more .picker-filters{margin-top:.5rem}.picker-stock-note,.picker-footnote{margin:.45rem 0 0;font-size:.8rem}.product-results{gap:.35rem;max-height:min(50vh,26rem);margin:.6rem 0 0;padding:0;list-style:none;display:grid;overflow-y:auto}.product-row{border:1.5px solid var(--shell-section-border);background:var(--shell-surface);border-radius:.6rem;grid-template-columns:minmax(10rem,1.3fr) minmax(0,2.2fr) auto;align-items:center;gap:.3rem .8rem;padding:.5rem .7rem;display:grid}.product-row.selected{border-color:var(--shell-accent-text);background:var(--shell-accent-soft);box-shadow:0 0 0 2px var(--shell-focus-ring)}.product-row-main{flex-direction:column;gap:.1rem;min-width:0;display:flex}.product-row-main strong{overflow-wrap:anywhere}.product-row-main .muted{font-size:.78rem}.product-row-facts{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.15rem .8rem;margin:0;display:grid}.product-row-facts dt{color:var(--shell-muted);font-size:.72rem;font-weight:700}.product-row-facts dd{overflow-wrap:anywhere;margin:0;font-size:.86rem;font-weight:600}.product-row .product-add{white-space:nowrap;min-height:2.25rem;padding:.3rem .8rem}.order-lines{gap:.4rem;margin-top:.6rem}.line-row{border:1.5px solid var(--shell-section-border);gap:.35rem;margin:0;padding:.45rem .7rem .5rem}.line-row.line-row-problem{border-color:var(--status-error-border)}.line-row .line-card-head{flex-wrap:wrap;align-items:baseline;gap:.4rem .8rem}.line-row .line-card-head strong{flex:14rem;font-size:.95rem}.line-position{min-width:1.6rem;color:var(--shell-muted);font-weight:700;display:inline-block}.line-row .line-pack{font-size:.78rem}.line-remove{font-size:.82rem}.line-card-head .line-remove-item{border:1px solid var(--status-error-text);background:var(--shell-surface);width:auto;height:auto;color:var(--status-error-text);white-space:nowrap;cursor:pointer;border-radius:.45rem;flex:none;margin-left:auto;padding:.3rem .75rem;font-weight:700}.line-card-head .line-remove-item:hover{background:var(--status-error-bg)}.line-row .line-fields{grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));align-items:start;gap:.4rem .6rem}.line-row .line-fields label{gap:.2rem;font-size:.78rem;font-weight:700;display:grid}.line-row .line-fields input{min-height:2.3rem;padding:.3rem .5rem}.line-row .line-fields small{font-weight:500}.line-total{align-self:start;gap:.2rem;font-size:.78rem;font-weight:700;display:grid}.line-total output{border:1.5px dashed var(--shell-field-border);background:var(--shell-disabled-bg);text-align:right;border-radius:.5rem;min-height:2.3rem;padding:.3rem .5rem;font-size:1rem;font-weight:800;line-height:1.6rem;display:block}.line-more[open]{padding-bottom:.6rem}.line-more .price-choices{margin-top:.5rem}.line-more .line-summary{margin-top:.6rem}.line-row .price-choice{min-height:2.6rem}.line-price-source{font-size:.74rem}.order-save-bar{justify-content:flex-end}.save-bar-total{flex:10rem;gap:.05rem;display:grid}.save-bar-total .muted{font-size:.78rem}.save-bar-total output{font-size:1.1rem;font-weight:800}.order-entry{padding-bottom:7.5rem}@media (max-width:720px){.order-head-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.order-head-fields .order-head-customer{grid-column:1/-1}.picker-search-row{grid-template-columns:minmax(0,1fr) auto}.picker-search-row .picker-more{grid-column:1/-1}.product-row{grid-template-columns:minmax(0,1fr) auto}.product-row-facts{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.line-row .line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.order-save-bar{flex-direction:row;gap:.4rem .6rem;padding:.5rem .7rem;position:fixed;bottom:.5rem}.order-save-bar .save-bar-total{flex:55%;order:0}.order-save-bar .text-button{flex:none;order:1;margin-left:auto;font-size:.85rem}.order-save-bar .primary-button,.order-save-bar .secondary-link{flex:7rem;order:2;width:auto;min-height:2.5rem}.order-entry{padding-bottom:9rem}}.product-row-unit,.sale-stock-short,.product-row-more,.save-bar-more{display:none}.save-bar-secondary{display:contents}@media (max-width:720px){.product-results{gap:.25rem;max-height:none;overflow:visible}.product-row{border-width:1px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main main""facts facts""more add";gap:.1rem .5rem;padding:.3rem .5rem}.product-row-main strong{line-height:1.25}.product-row-main .muted{font-size:.8rem}.fact-price-source{display:none}.product-row-main{grid-area:main}.product-row .product-add{white-space:normal;grid-area:add;align-self:end;max-width:9rem;min-height:2.4rem;padding:.25rem .7rem}.product-row-unit{display:inline}.product-row .product-added-badge{white-space:normal;max-width:100%}.product-row-class,.product-row-pack,.product-row-facts .fact-unit,.product-row-facts .fact-more,.product-row-facts .sale-stock-line{display:none}.product-row-facts{flex-wrap:wrap;grid-area:facts;align-self:center;gap:0 .7rem;display:flex}.product-row-facts>div{align-items:baseline;gap:.3rem;display:flex}.product-row-facts dt{white-space:nowrap;flex:none}.product-row-facts dd{min-width:0;font-size:.86rem}.sale-stock-short{display:inline}.product-row-more{grid-area:more;font-size:.8rem;display:block}.product-row-more>summary{color:var(--shell-muted);cursor:pointer}.product-row-more dl{gap:.1rem;margin:.2rem 0 0;display:grid}.product-row-more dl>div{gap:.35rem;display:flex}.product-row-more dt{color:var(--shell-muted)}.product-row-more dd{overflow-wrap:anywhere;margin:0}.save-bar-secondary{display:none}.save-bar-more{flex:none;order:2;display:block;position:relative}.save-bar-more>summary{border:1px solid var(--shell-field-border);background:var(--shell-surface);cursor:pointer;border-radius:.5rem;justify-content:center;align-items:center;min-width:2.5rem;min-height:2.5rem;font-weight:700;list-style:none;display:flex}.save-bar-more>summary::-webkit-details-marker{display:none}.save-bar-more-menu{z-index:5;border:1px solid var(--shell-border);background:var(--shell-surface);min-width:12rem;box-shadow:0 .5rem 1.5rem rgb(var(--shell-shadow-rgb) / 18%);border-radius:.5rem;gap:.3rem;padding:.4rem;display:grid;position:absolute;bottom:calc(100% + .35rem);right:0}.order-save-bar{padding:.35rem .55rem calc(.35rem + env(safe-area-inset-bottom,0px));bottom:0}.work-dialog-body{scroll-padding-bottom:8rem}.work-dialog-panel{overflow:clip}.order-entry:has(input:focus,select:focus,textarea:focus) .order-save-bar{position:static}.order-entry{padding-bottom:calc(6.5rem + env(safe-area-inset-bottom,0px))}}@media (min-width:721px){.product-row{grid-template-columns:minmax(12rem,1.5fr) minmax(0,1fr) auto;grid-template-areas:"main facts add""main more add";align-items:center;gap:.05rem .8rem;padding:.35rem .6rem}.product-row-main{grid-area:main}.product-row-unit{display:inline}.product-row-class,.product-row-pack,.product-row-facts .fact-unit,.product-row-facts .fact-more,.product-row-facts .sale-stock-line,.fact-price-source{display:none}.sale-stock-short{display:inline}.product-row-facts{flex-wrap:wrap;grid-area:facts;align-self:end;gap:0 .9rem;display:flex}.product-row-facts>div{align-items:baseline;gap:.3rem;display:flex}.product-row-facts dt{white-space:nowrap;flex:none}.product-row-more{grid-area:more;align-self:start;font-size:.8rem;display:block}.product-row-more>summary{color:var(--shell-muted);cursor:pointer}.product-row-more dl{gap:.1rem;margin:.2rem 0 0;display:grid}.product-row-more dl>div{gap:.35rem;display:flex}.product-row-more dt{color:var(--shell-muted)}.product-row-more dd{overflow-wrap:anywhere;margin:0}.product-row .product-add{grid-area:add}}.customer-code-row{align-items:center;gap:.4rem;display:flex}.customer-code-row input{flex:auto;min-width:0}.customer-code-row .secondary-link{white-space:nowrap;flex:none;min-height:2.4rem;padding:.3rem .7rem}.section-subnav ul{border-bottom:1px solid var(--shell-border);gap:.35rem .4rem;padding:0 0 .6rem}.section-subnav a{border:1.5px solid var(--shell-field-border);background:var(--shell-surface);color:var(--shell-text);border-radius:999px;margin-bottom:0;padding:.28rem .8rem;font-size:.875rem;font-weight:600;line-height:1.3}.section-subnav a:hover{border-color:var(--shell-accent-text);color:var(--shell-accent-text)}.section-subnav a[aria-current=page]{border-color:var(--shell-accent-text);background:var(--shell-accent);color:var(--shell-on-accent);font-weight:700}.section-subnav a:focus-visible{box-shadow:0 0 0 3px var(--shell-focus-ring);outline:0}.products-view-tabs{margin:0 0 .75rem}.products-bulk{flex-wrap:wrap;align-items:center;gap:.4rem .8rem;display:flex}.products-table .product-select{text-align:center;width:2rem}.products-table .product-select input{width:1.1rem;height:1.1rem;margin:0}.product-hidden-badge{margin-left:.3rem}.stock-hidden-filter{gap:.25rem;margin:.6rem 0 .4rem;font-size:.82rem;font-weight:700;display:inline-grid}.quick-address{border:1px solid var(--shell-border);background:var(--shell-surface-muted);border-radius:.5rem;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.5rem;margin-top:.4rem;padding:.6rem;display:grid}.quick-address .record-actions,.quick-address .form-error,.quick-address small,.sale-delivery-fields .quick-address,.order-head-fields .quick-address{grid-column:1/-1}.notice-inline{color:var(--status-wait-text);margin:.25rem 0 0;font-size:.85rem;display:block}.customer-scope{gap:.5rem;margin:0 0 .75rem;display:flex}.customer-load-more{margin-top:.75rem}.document-dialog-panel.sale-form,.document-dialog .document-dialog-panel.sale-form{width:min(100%,80rem)}.doc-fields>.field-warehouse{grid-column:span 2}details.sale-delivery{margin:0;padding:.45rem .8rem;display:block}details.sale-delivery[open]{padding-bottom:.8rem}details.sale-delivery[open]>:not(summary){margin-top:.6rem}.sale-delivery-head{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:.15rem .75rem;list-style-position:outside;display:flex}.sale-delivery-title{white-space:nowrap;font-weight:700}.sale-delivery-brief{min-width:0;color:var(--shell-muted);overflow-wrap:anywhere;font-size:.85rem}.sale-delivery-head .notice-inline{flex-basis:100%;margin:0}.product-search-results .sale-stock-line{color:var(--shell-muted);font-size:.8rem;display:block}.line-table-scroll{container-type:inline-size}.document-dialog .line-table .col-product{min-width:0}@container (max-width:70rem){.line-table,.line-table tbody{display:block}.line-table thead{display:none}.line-table .line-row{border-bottom:1px solid var(--shell-border);grid-template-columns:1.75rem repeat(3,minmax(0,1fr)) 2.25rem;gap:.35rem .5rem;padding:.55rem .5rem;display:grid}.line-table td,.line-table td[class],.document-dialog .line-table td,.document-dialog .line-table td[class]{border:0;width:auto;padding:0;display:block}.line-table .col-number{text-align:left;grid-area:1/1;padding-top:.5rem}.line-table .col-product{grid-area:1/2/auto/5}.line-table .col-remove{grid-area:1/5}.line-table .col-code{color:var(--shell-muted);grid-area:2/2/auto/5}.line-table .col-unit{grid-area:3/2}.line-table .col-quantity{grid-area:3/3}.line-table .col-price{grid-area:3/4}.line-table .col-amount{text-align:left;grid-area:4/2}.line-table .col-vat{grid-area:4/3/auto/5}.line-table .col-quantity .cell-label,.line-table .col-unit .cell-label,.line-table .col-price .cell-label,.line-table .col-amount .cell-label{clip:auto;width:auto;height:auto;color:var(--shell-muted);font-size:.75rem;position:static}.line-table .line-stock-row{padding:0 .5rem .5rem 2.25rem;display:block}.line-table .line-stock-row td:first-child{display:none}}.registry-state{white-space:nowrap;border-radius:999px;padding:.1rem .5rem;font-size:.8rem;font-weight:600;display:inline-block}.registry-state-muted{background:var(--shell-disabled-bg);color:var(--shell-muted)}.registry-state-info{background:var(--shell-accent-soft);color:var(--shell-text)}.registry-state-ok{background:var(--status-ok-bg,var(--shell-accent-soft));color:var(--status-ok-text,var(--shell-text))}.registry-state-warn{background:var(--status-wait-bg,var(--shell-accent-soft));color:var(--status-wait-text)}.registry-state-error{background:var(--status-error-bg);color:var(--status-error-text,var(--shell-text))}.registry-incomplete{margin:.5rem 0}.rs-waybill-actions{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.doc-workspace,.document-dialog,.work-dialog,.po-print{--shell-surface-muted:#eceee9;--row-alt:#f6f7f4;color:var(--shell-text);font-size:1rem;line-height:1.5}body:has(main.doc-workspace){background:var(--shell-bg)}.doc-workspace .panel,.document-dialog .document-dialog-panel,.work-dialog .work-dialog-panel{border-color:var(--shell-border);background:var(--shell-surface)}:is(.doc-workspace,.document-dialog,.work-dialog) :is(thead th,.dialog-bar,.work-dialog-head,.panel-header){background:var(--shell-surface-muted);color:var(--shell-text)}:is(.doc-workspace,.document-dialog,.work-dialog) thead th{letter-spacing:0;font-size:.875rem;font-weight:700}:is(.doc-workspace,.document-dialog,.work-dialog) :is(input,select,textarea){border-color:var(--shell-field-border);color:var(--shell-text);font-size:1rem}:is(.doc-workspace,.document-dialog,.work-dialog) :is(input,select,textarea):focus-visible{border-color:var(--shell-accent-text);outline:3px solid var(--shell-focus-ring);outline-offset:0}:is(.doc-workspace,.document-dialog,.work-dialog) :is(label,small,.muted,.line-stock,.default-mark,.summary-note,.terms-note,.balance-note,.doc-more summary,.sale-delivery-brief,.sale-delivery-note,.notice-inline,.line-price-notice,.registry-status,.record-code,.badge,.status-pill,.registry-state){font-size:.875rem;line-height:1.45}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.muted,small,.line-stock,.summary-note,.sale-delivery-note){color:var(--shell-muted)}:is(.doc-workspace,.work-dialog) .data-table tbody tr:nth-child(2n)>td,:is(.doc-workspace,.work-dialog) .rs-lines>.line-card:nth-child(2n){background:var(--row-alt)}.document-dialog .line-table td,:is(.doc-workspace,.work-dialog) .data-table td{border-bottom:1px solid var(--shell-border)}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.product-chosen,.line-product-name,.rs-line-name,.po-print-table td){overflow-wrap:break-word;word-break:normal;-webkit-hyphens:auto;hyphens:auto}.document-dialog .product-chosen{font-size:1rem;font-weight:600;line-height:1.4}.document-dialog .line-table .col-code{width:5.75rem;color:var(--shell-muted)}.document-dialog .line-table .col-quantity input,.document-dialog .line-table .col-price input{font-weight:600}.document-dialog .line-table .col-amount,:is(.doc-workspace,.work-dialog) td.numeric strong,.document-dialog .summary-total{color:var(--shell-text);font-weight:700}.value-empty{color:var(--shell-muted);font-weight:400}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.badge-ok,.registry-state-ok){border:1px solid var(--status-ok-border);background:var(--status-ok-bg);color:var(--status-ok-text)}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.badge-warn,.registry-state-warn){border:1px solid var(--status-wait-border);background:var(--status-wait-bg);color:var(--status-wait-text)}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.badge-error,.registry-state-error){border:1px solid var(--status-error-border);background:var(--status-error-bg);color:var(--status-error-text)}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.badge-ok,.registry-state-ok):before{content:"✓ "}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.badge-warn,.registry-state-warn):before{content:"! "}:is(.doc-workspace,.document-dialog,.work-dialog) :is(.badge-error,.registry-state-error):before{content:"✕ "}:is(.doc-workspace,.document-dialog,.work-dialog) .form-error{border:1px solid var(--status-error-border);background:var(--status-error-bg);color:var(--status-error-text);border-left-width:4px;border-radius:.5rem;padding:.5rem .75rem}:is(.doc-workspace,.document-dialog,.work-dialog) .notice-box{border-left:4px solid var(--status-wait-border)}:is(.doc-workspace,.document-dialog,.work-dialog) :is(button,input,select):disabled{border-color:var(--shell-border);background:var(--shell-disabled-bg);color:var(--shell-muted);opacity:1}.doc-workspace .form-sticky-bar,.work-dialog .save-bar{background:var(--shell-surface);box-shadow:0 -.5rem 1rem rgb(var(--shell-shadow-rgb) / 8%)}.doc-workspace:has(.form-sticky-bar,.order-save-bar){padding-bottom:6rem}:is(.doc-workspace,.po-print) :is(.waybill-facts,.waybill-preview,.po-print-meta){border:1px solid var(--shell-border);background:var(--shell-surface);border-radius:.6rem;padding:.75rem 1rem}@media print{.doc-workspace,.po-print{--shell-bg:#fff;--shell-surface:#fff;--shell-surface-muted:#f2f4f5;--shell-border:#c9d2d5;--shell-text:#111b1f;--shell-muted:#3d4c52;--row-alt:#fff;color:#111b1f;background:#fff!important}body:has(main.doc-workspace){--shell-bg:#fff;--shell-surface:#fff;--shell-surface-muted:#f2f4f5;--shell-border:#c9d2d5;--shell-text:#111b1f;--shell-muted:#3d4c52;--row-alt:#fff;color:#111b1f;background:#fff!important}.doc-workspace :is(.panel,.waybill-facts,.waybill-preview),.po-print :is(.po-print-meta,.po-print-table){box-shadow:none;background:#fff;border-color:#c9d2d5}.doc-workspace :is(.app-header,.app-sidebar,.record-actions,button),.po-print .po-print-actions{display:none!important}.po-print-table th,.doc-workspace thead th{color:#111b1f;background:#f2f4f5!important}.po-print-table td,.doc-workspace td{border-bottom:1px solid #dde3e5}}.document-dialog .field-counterparty input,.document-dialog .line-search-bar input,.doc-workspace .order-head-customer input,.doc-workspace .product-search-field input,.doc-workspace .sales-product-picker input[type=search],.doc-workspace .sales-product-picker input[type=text]{min-height:2.9rem;font-size:1.125rem;font-weight:600}.document-dialog .line-table .col-amount,.doc-workspace .line-total strong{font-size:1.0625rem;font-weight:700}.document-dialog .summary-total,.doc-workspace .order-save-bar strong{font-size:1.3rem;font-weight:800}.document-dialog .dialog-title h2{font-size:1.25rem}.document-dialog :is(.field-date,.field-warehouse,.field-currency,.field-source,.field-external,.field-number) :is(input,select),.document-dialog .sale-delivery :is(input,select),.document-dialog .line-table :is(.col-unit,.col-vat) select,.doc-workspace .order-head-fields label:not(.order-head-customer) :is(input,select),.doc-workspace .order-more :is(input,select,textarea),.doc-workspace .line-fields select{min-height:2.15rem;padding:.2rem .5rem;font-size:.9rem;font-weight:400}.document-dialog :is(.field-date,.field-warehouse) input[type=date],.doc-workspace .order-head-fields input[type=date]{max-width:10.5rem}.document-dialog .doc-fields>label,.document-dialog .doc-fields .field-counterparty>label,.document-dialog .sale-delivery label,.doc-workspace .order-head-fields label,.doc-workspace .line-fields label{color:var(--shell-muted);font-size:.875rem;font-weight:600}.document-dialog .sale-delivery-title{font-size:.95rem}.document-dialog .dialog-body{background:var(--shell-bg);gap:.85rem}.document-dialog .doc-step,.document-dialog details.sale-delivery{border:1px solid var(--shell-border);background:var(--shell-surface);box-shadow:0 1px 2px rgb(var(--shell-shadow-rgb) / 6%);border-radius:.75rem;margin:0;padding:.75rem .95rem .85rem}.document-dialog .doc-step-products{flex-direction:column;flex:auto;gap:.6rem;min-height:16rem;display:flex}.doc-step-title{border-bottom:1px solid var(--shell-border);color:var(--shell-text);flex-wrap:wrap;align-items:center;gap:.25rem .55rem;margin:0 0 .6rem;padding:0 0 .5rem;font-size:1.05rem;font-weight:800;line-height:1.3;display:flex}.doc-step-inline{border:0;margin:0;padding:0;font-size:1rem}.doc-step-no{background:var(--shell-accent);width:1.65rem;height:1.65rem;color:var(--shell-on-accent);border-radius:50%;flex:none;place-items:center;font-size:.875rem;font-weight:800;display:inline-grid}.doc-step-meta{color:var(--shell-muted);margin-left:auto;font-size:.875rem;font-weight:600}.document-dialog .sale-delivery-title{align-items:center;gap:.55rem;font-size:1.05rem;font-weight:800;display:inline-flex}.document-dialog .doc-step-products .line-table-scroll{border-color:var(--shell-border)}.doc-workspace .order-head .doc-step-title,.doc-workspace .order-products .doc-step-title{border-bottom:0;margin-bottom:.25rem}.doc-workspace .save-bar-total .doc-step-no{width:1.4rem;height:1.4rem;font-size:.8rem}.work-dialog .rs-lines{border-top:0;gap:.7rem}.work-dialog .rs-lines>.line-card.rs-line{border:1px solid var(--shell-border);border-left:4px solid var(--status-wait-border);background:var(--shell-surface);border-radius:.65rem;padding:.75rem .9rem}.work-dialog .rs-lines>.line-card.rs-line[data-line-state=matched]{border-left-color:var(--status-ok-border)}.work-dialog .rs-lines>.line-card.rs-line:nth-child(2n){background:var(--row-alt)}.work-dialog .rs-line .rs-source .rs-line-name{overflow-wrap:break-word;font-size:1.0625rem;font-weight:700;line-height:1.35}.rs-line-facts{grid-template-columns:repeat(auto-fit,minmax(6.5rem,max-content));gap:.35rem 1.25rem;margin:.4rem 0 0;display:grid}.rs-line-facts>div{gap:.05rem;display:grid}.rs-line-facts dt{color:var(--shell-muted);font-size:.875rem;font-weight:600}.rs-line-facts dd{color:var(--shell-text);font-variant-numeric:tabular-nums;margin:0;font-size:1rem}.rs-line-facts dd strong{font-size:1.0625rem;font-weight:700}.work-dialog .rs-line .pricing-strip{background:var(--shell-surface-muted);border-radius:.5rem;margin-top:.5rem;padding:.45rem .6rem}.work-dialog .rs-line .price-grid dt{color:var(--shell-muted);font-size:.875rem}.work-dialog .rs-line .price-grid dd{color:var(--shell-text);font-size:1.0625rem;font-weight:700}@media (max-width:760px){.work-dialog .rs-lines>.line-card.rs-line{grid-template-columns:1fr}.work-dialog .rs-line .rs-source{border-right:0;padding-right:0}}.document-dialog .dialog-body{overflow-y:auto}.document-dialog .doc-step-products{flex:none;min-height:auto}.document-dialog .doc-step-products .line-table-scroll{flex:none;min-height:0;overflow:visible}.document-dialog .line-table tbody:nth-of-type(2n){background:var(--row-alt)}.document-dialog .doc-fields>.field-warehouse{grid-column:span 4}.document-dialog .field-warehouse select{width:100%}.document-dialog .summary-total{font-size:1.1rem}.document-dialog .line-table th.col-amount{font-size:.875rem;font-weight:700}.document-dialog .line-table .col-price{width:9rem}@media (max-width:760px){.document-dialog .doc-fields>.field-warehouse{grid-column:1/-1}.document-dialog .summary-total{font-size:1rem}}.document-dialog .dialog-bar{padding:.45rem .8rem}.document-dialog .dialog-body{gap:.5rem;padding:.55rem .7rem}.document-dialog .doc-step,.document-dialog details.sale-delivery{border-radius:.6rem;padding:.5rem .7rem .6rem}.document-dialog .doc-step-title{margin:0 0 .4rem;padding:0 0 .3rem;font-size:1rem}.document-dialog .doc-step-no{width:1.45rem;height:1.45rem;font-size:.8rem}.document-dialog .doc-fields{gap:.3rem .6rem}.document-dialog .doc-fields>label,.document-dialog .doc-fields .field-counterparty{gap:.15rem}.document-dialog .field-counterparty input{min-height:2.5rem}.document-dialog .doc-more summary,.document-dialog .terms-note,.document-dialog .balance-note{margin:0}.document-dialog .doc-step-products{gap:.4rem}.document-dialog .line-search-bar input{min-height:2.5rem}.document-dialog .line-search-bar .secondary-link{min-height:2.25rem;padding:.3rem .7rem}.document-dialog .line-table td{padding-block:.3rem}.document-dialog .line-table .col-quantity input,.document-dialog .line-table .col-price input{min-height:2.3rem}.document-dialog .dialog-summary{padding:.4rem .8rem}@media (min-width:1200px){.document-dialog .doc-fields>.field-warehouse{grid-column:span 2}}@container (max-width:70rem){.line-table .line-row{gap:.25rem .45rem;padding:.4rem .45rem}.line-table .line-stock-row{padding:0 .45rem .35rem 2.2rem}}.work-dialog .rs-lines{gap:.45rem}.work-dialog .rs-lines>.line-card.rs-line{padding:.5rem .7rem}.work-dialog .rs-line .pricing-strip{margin-top:.35rem;padding:.35rem .5rem}@container (max-width:30rem){.line-table .line-row{grid-template-columns:1.5rem repeat(2,minmax(0,1fr)) 2rem}.line-table .col-product,.line-table .col-code{grid-column:2/4}.line-table .col-remove{grid-column:4}.line-table .col-quantity{grid-area:3/2}.line-table .col-price{grid-area:3/3}.line-table .col-unit{grid-area:4/2}.line-table .col-vat{grid-area:4/3}.line-table .col-amount{grid-area:5/2/auto/4}}.work-dialog .work-dialog-panel.work-dialog-wide{width:min(100%,90rem);height:100%}.order-embedded{padding:.55rem .85rem 0}.work-dialog .order-embedded .order-save-bar{margin:.6rem -.85rem 0;position:sticky;bottom:0}:is(.sales-order-page,.doc-workspace) .panel{border:1px solid var(--shell-border);box-shadow:none;border-radius:.55rem;padding:.6rem .8rem}.sales-order-page .order-head{gap:.4rem}.sales-order-page .order-head-fields{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.35rem .6rem}:is(.sales-order-page,.doc-workspace) :is(label,.line-total){font-size:.78rem}:is(.sales-order-page,.doc-workspace) :is(input,select,textarea){border-width:1px;min-height:2.1rem;padding:.25rem .5rem;font-size:.9rem}:is(.sales-order-page,.doc-workspace) .doc-step-title{margin:.2rem 0 .15rem;font-size:.85rem}.order-terms{border:1px solid var(--shell-border);background:var(--shell-surface-muted);border-radius:.5rem}.order-terms>summary{cursor:pointer;flex-wrap:wrap;align-items:baseline;gap:.2rem .6rem;min-height:2.25rem;padding:.35rem .6rem;display:flex}.order-terms-label{font-size:.8rem;font-weight:700}.order-terms-brief{color:var(--shell-muted);font-size:.85rem}.order-terms[open]>.order-head-fields{border-top:1px solid var(--shell-border);background:var(--shell-surface);padding:.35rem .6rem .55rem}.unsaved-note{border:1px solid var(--status-warn-border,#d9a441);background:var(--status-warn-bg,#fff6e0);border-radius:.45rem;margin:0 0 .4rem;padding:.3rem .6rem;font-size:.85rem}.sales-order-page .order-lines{container-type:inline-size}.sales-order-page .line-row{border:1px solid var(--shell-border);background:var(--shell-surface);border-radius:.45rem;padding:.35rem .6rem .4rem}.sales-order-page .line-row:nth-child(2n){background:var(--shell-surface-muted)}.sales-order-page .line-row.line-row-problem{border-color:var(--status-error-border)}.sales-order-page .line-row .line-fields{grid-template-columns:minmax(7rem,1.4fr) minmax(4.5rem,.7fr) minmax(5rem,.8fr) minmax(5.5rem,.9fr) minmax(5.5rem,.9fr);align-items:start;gap:.3rem .5rem}.sales-order-page .line-row .line-fields:has(>label:nth-of-type(4)){grid-template-columns:minmax(7rem,1.4fr) minmax(4.5rem,.7fr) minmax(5rem,.8fr) minmax(5.5rem,.9fr) minmax(4.5rem,.7fr) minmax(5.5rem,.9fr)}.line-stock-cell{align-content:start;gap:.15rem;font-size:.8rem;display:grid}.line-cell-label{font-size:.78rem;font-weight:700}.sales-order-page .line-total output{border-width:1px;min-height:2.1rem;padding:.25rem .5rem;font-size:.95rem;line-height:1.5rem}@container (min-width:56rem){.sales-order-page .line-row{grid-template-columns:minmax(12rem,1.3fr) minmax(0,3fr);align-items:start;gap:.2rem .75rem;display:grid}.sales-order-page .line-row>.line-card-head{flex-direction:column;grid-area:1/1;align-items:flex-start;gap:.1rem;padding-top:1.05rem;display:flex}.sales-order-page .line-row>.line-card-head>*{flex:none}.sales-order-page .line-row>.line-fields{grid-area:1/2/span 2}.sales-order-page .line-row>.line-more{grid-area:2/1;align-self:end}.sales-order-page .line-row>.line-more[open]{grid-area:auto/1/auto/-1}.sales-order-page .line-row>:not(.line-card-head,.line-fields,.line-more){grid-column:1/-1}}@container (max-width:30rem){:is(.sales-order-page .line-row .line-fields,.sales-order-page .line-row .line-fields:has(>label:nth-of-type(4))){grid-template-columns:repeat(2,minmax(0,1fr))}.sales-order-page .line-row .line-total{grid-column:1/-1}.sales-order-page :is(input,select,.text-button,.primary-button){min-height:max(2.5rem,40px)}}.sales-order-page .order-save-bar{gap:.4rem .6rem;padding:.4rem .75rem}.sales-order-page .order-save-bar :is(.primary-button,.secondary-link){min-height:2.25rem;padding:.3rem .9rem}.sales-order-page.order-entry:not(.order-embedded){padding-bottom:5.5rem}.order-embedded.order-entry{padding-bottom:0}@media (max-width:720px){.sales-order-page.sales-order-page :is(.panel,.order-terms,.order-save-bar) :is(.text-button,.secondary-link,input,select){min-height:max(2.5rem,40px)}.sales-order-page summary{padding-block:.65rem}.work-dialog:has(.sales-order-page) .dialog-close{min-width:max(2.5rem,40px);min-height:max(2.5rem,40px)}}.work-dialog-head{padding:.4rem .85rem}.work-dialog-title h2{font-size:.95rem;line-height:1.25}.work-dialog-title .muted{font-size:.78rem}.work-dialog-section{padding:.45rem .85rem .6rem}:is(.work-dialog,.doc-workspace) .doc-step-title{margin:.25rem 0 .2rem;padding-bottom:.2rem;font-size:.85rem}.work-dialog .work-dialog-section>.doc-step-title:not(:first-child){margin-top:.55rem}:is(.work-dialog,.doc-workspace) :is(.primary-button,.secondary-link,.secondary-button){min-height:2.1rem;padding:.2rem .75rem;font-size:.875rem}:is(.work-dialog,.doc-workspace) .text-button{font-size:.85rem}:is(.work-dialog,.doc-workspace) .badge{padding:.05rem .45rem;font-size:.75rem}:is(.work-dialog,.doc-workspace) :is(.muted,.setup-blocker,.closed-banner){font-size:.82rem}.work-dialog .save-bar{gap:.35rem .6rem;margin:.45rem -.85rem -.6rem;padding:.35rem .85rem}.work-dialog .save-bar>label{white-space:nowrap}.work-dialog .save-bar>label select{min-width:min(16rem,100%)}@media (min-width:761px){.work-dialog .save-bar>label{flex-direction:row;align-items:center;gap:.45rem;display:flex}.work-dialog .save-bar>label :is(select,input){min-height:2.1rem;padding-block:.15rem}}.doc-workspace .panel h1{font-size:1.375rem}.doc-workspace .panel h2{margin-bottom:.3rem;font-size:1rem}.doc-workspace .panel .eyebrow{font-size:.75rem}.doc-workspace .detail-list{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.3rem 1rem}.doc-workspace .detail-list>div{grid-template-columns:none;gap:0}.doc-workspace .detail-list dt{font-size:.72rem}.doc-workspace .detail-list dd{margin:0;font-size:.88rem}.doc-workspace .order-lines>.pricing-line{gap:.2rem;padding:.4rem .6rem}.doc-workspace .order-lines>.pricing-line>*{margin-block:0}.doc-workspace .order-lines>.pricing-line>.secondary-link{justify-self:start}.doc-workspace .pricing-line .line-card-head strong{font-size:.92rem}.doc-workspace .pricing-line .pricing-strip{padding:.2rem .5rem}.doc-workspace .pricing-line .price-grid{flex-wrap:wrap;gap:.1rem .9rem;margin:0;display:flex}.doc-workspace .pricing-line .price-grid>div{align-items:baseline;gap:.3rem;display:flex}.doc-workspace .pricing-line .price-grid dt{font-size:.72rem}.doc-workspace .pricing-line .price-grid dd{margin:0;font-size:.85rem;font-weight:600}.doc-workspace .pricing-line .line-price-warning{margin:0;padding:.15rem .5rem;font-size:.8rem}.work-dialog .rs-lines{gap:.3rem;container-type:inline-size}.work-dialog .rs-lines>.line-card.rs-line{border-left-width:3px;border-radius:.5rem;gap:.15rem .85rem;padding:.35rem .6rem .4rem}.work-dialog .rs-line .rs-source{gap:.15rem;padding-right:.85rem}.work-dialog .rs-line .rs-source .rs-line-name{background:0 0;border:0;padding:0;font-size:.92rem;line-height:1.3;display:block}.work-dialog .rs-line-facts{grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr));gap:0 .6rem;margin:0}.work-dialog .rs-line-facts>div{background:0 0;border:0;gap:0;padding:0}.work-dialog .rs-line-facts dt{font-size:.7rem;font-weight:600}.work-dialog .rs-line-facts dd{overflow-wrap:anywhere;font-size:.85rem}.work-dialog .rs-line-facts dd strong{font-size:.92rem}.work-dialog .rs-line .rs-numo{flex-wrap:wrap;align-content:start;align-items:center;gap:.2rem .45rem;font-size:.82rem;display:flex}.work-dialog .rs-line .rs-numo>strong{text-overflow:clip;white-space:normal;flex:100%;font-size:.82rem;line-height:1.3;overflow:visible}.work-dialog .rs-line .rs-numo>:is(.rs-code-candidate,.record-actions,.checkbox-label,.inline-form,.unit-fix){flex:100%}.work-dialog .rs-line .rs-numo .record-actions{gap:.3rem}.work-dialog .rs-line :is(.secondary-link,.text-button,.secondary-button){padding:.1rem .55rem;font-size:.8rem}@media (min-width:761px){.work-dialog .rs-line :is(.secondary-link,.text-button,.secondary-button){min-height:1.9rem}.work-dialog .rs-line :is(.rs-numo,.pricing-strip) .text-button{min-height:1.6rem}}.work-dialog .rs-line>.pricing-line{gap:.2rem;padding:0}.work-dialog .rs-line .pricing-strip{border-radius:.4rem;flex-wrap:wrap;align-items:center;gap:.1rem .75rem;margin-top:.15rem;padding:.15rem .5rem;display:flex}.work-dialog .rs-line .pricing-strip>.price-grid{flex-wrap:wrap;flex:auto;gap:.05rem .85rem;margin:0;display:flex}.work-dialog .rs-line .price-grid>div{background:0 0;border:0;align-items:baseline;gap:.3rem;padding:0;display:flex}.work-dialog .rs-line .price-grid dt{font-size:.72rem}.work-dialog .rs-line .price-grid dd{margin:0;font-size:.85rem;font-weight:600}@container (min-width:62rem){.work-dialog .rs-lines>.line-card.rs-line{grid-template-columns:minmax(0,1fr) minmax(15rem,26rem)}.work-dialog .rs-line .rs-source{grid-template-columns:minmax(10rem,1fr) minmax(23rem,26rem);align-items:center;column-gap:.85rem}}@container (max-width:34rem){.work-dialog .rs-line-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .6rem}}@media (max-width:760px){.work-dialog.work-dialog :is(.primary-button,.secondary-link,.secondary-button,.text-button,.dialog-close,input,select),.doc-workspace.doc-workspace :is(.primary-button,.secondary-link,.secondary-button,.text-button,input,select){min-height:max(2.5rem,40px)}.work-dialog.work-dialog .dialog-close{min-width:max(2.5rem,40px)}.save-bar>*,.save-bar>label{flex:none}}.opening-lines{gap:.15rem;margin:.3rem 0;padding-left:0;list-style:none;display:grid}.work-dialog .save-bar:has(.opening-lines){position:static}.opening-lines .checkbox-label{white-space:normal;overflow-wrap:anywhere;align-items:flex-start;gap:.5rem;display:flex}.actual-receipt-dialog{z-index:80}.actual-receipt-dialog .work-dialog-panel{width:min(100%,56rem)}.actual-receipt-dialog .work-dialog-body{padding:.6rem 1rem 0}.actual-receipt-table input:not([type=checkbox]){width:100%;min-width:0}.actual-receipt-table td:nth-child(3) input{text-align:right;max-width:7.5rem}.actual-receipt-table .numeric{text-align:right;white-space:nowrap}.actual-receipt-table .difference,.actual-receipt-history .difference{color:var(--status-error-text);font-weight:600}.actual-receipt-table .row-problem td{background:var(--status-error-bg)}.actual-receipt-table .form-error{margin:.2rem 0 0;font-size:.8rem}.actual-receipt-date{align-items:center;gap:.5rem;margin:.6rem 0 0;display:inline-flex}.actual-receipt-summary{margin:.6rem 0;font-weight:600}.actual-receipt-dialog .actual-receipt-actions{justify-content:flex-end;margin:0;padding:.6rem 1rem}.actual-receipt-history{margin:.6rem 0}.actual-receipt-history h3{margin:0 0 .4rem;font-size:1rem}.actual-receipt-log{margin:.4rem 0 0;padding-left:1.1rem;font-size:.85rem}@media (max-width:760px){.actual-receipt-table thead,.actual-receipt-history thead{display:none}.actual-receipt-table,.actual-receipt-table tbody,.actual-receipt-table tr,.actual-receipt-table td,.actual-receipt-history table,.actual-receipt-history tbody,.actual-receipt-history tr,.actual-receipt-history td{width:100%;display:block}.actual-receipt-table tr,.actual-receipt-history tr{border:1px solid var(--shell-border);border-radius:.5rem;margin-bottom:.6rem;padding:.5rem .6rem}.actual-receipt-table td,.actual-receipt-history td{text-align:right;white-space:normal;border:0;justify-content:space-between;align-items:center;gap:.75rem;padding:.25rem 0;display:flex}.actual-receipt-table td:before,.actual-receipt-history td:before{content:attr(data-label);color:var(--shell-muted);text-align:left;flex:none;font-size:.8rem}.actual-receipt-table td:first-child,.actual-receipt-history td:first-child{text-align:left;display:block}.actual-receipt-table td:first-child:before,.actual-receipt-history td:first-child:before{content:none}.actual-receipt-table td:nth-child(3) input{max-width:9rem;min-height:2.5rem}.actual-receipt-table td:last-child{text-align:left;display:block}.actual-receipt-table td:last-child:before{margin-bottom:.25rem;display:block}.actual-receipt-table td:last-child input{width:100%;min-height:2.5rem}.actual-receipt-table td[data-label=არ\ მიღებულა]{justify-content:flex-end}.actual-receipt-table td[data-label=არ\ მიღებულა]:before{content:none}.actual-receipt-table .checkbox-label{align-items:center;min-height:2.5rem}.actual-receipt-dialog .actual-receipt-actions button{flex:1 1 0;min-height:2.75rem}}.status-chips{flex-wrap:wrap;gap:.4rem;margin:.5rem 0 .75rem;display:flex}.status-chips .chip{border:1px solid var(--shell-field-border);background:var(--shell-surface);color:var(--shell-text);font:inherit;cursor:pointer;border-radius:999px;min-height:2rem;padding:.2rem .8rem;font-size:.875rem}.status-chips .chip:hover{border-color:var(--shell-accent-text)}.status-chips .chip-active{background:var(--shell-accent);border-color:var(--shell-accent-text);color:var(--shell-on-accent);font-weight:600}.order-next-step{color:var(--shell-accent-text);font-weight:600}.new-order-form{gap:.75rem;padding:.75rem 1rem 1rem;display:grid}.workflow-steps{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.danger-link{border:1px solid var(--status-error-text);border-radius:var(--radius-control);color:var(--status-error-text);font:inherit;cursor:pointer;background:0 0;min-height:2.25rem;padding:.3rem .8rem}.danger-link:hover{background:var(--status-error-bg)}.doc-print-warning{border:1px solid var(--status-wait-border);background:var(--status-wait-bg);color:var(--status-wait-text);border-radius:.4rem;padding:.4rem .7rem;font-weight:600}@media print{@page{size:A4;margin:12mm}.doc-print-table thead{display:table-header-group}.doc-print-table tfoot{display:table-row-group}.doc-print-table tr,.doc-print-table tfoot{break-inside:avoid;page-break-inside:avoid}.doc-print-warning{border-width:2px}}.rs-print-frame{border:1px solid var(--shell-border);background:#fff;border-radius:.4rem;width:100%;height:80vh}.work-dialog .work-dialog-panel.work-dialog-wide{width:min(100%,68.75rem);height:auto;max-height:85vh}@media (max-width:760px){.work-dialog .work-dialog-panel.work-dialog-wide{height:100%;max-height:none}}.order-embedded{font-size:.875rem}.order-embedded .muted,.order-embedded small{font-size:.78rem}.sales-order-page .order-head-title h1{font-size:1.05rem}.sales-order-page .panel{margin-bottom:.45rem}.sales-order-page .order-lines,.order-lines{grid-template-columns:minmax(0,1fr);gap:0;display:grid}.order-item-head,.order-item-row{grid-template-columns:1.5rem 6rem minmax(8rem,1fr) 4.6rem 5rem 5.4rem 5.8rem minmax(4.5rem,8rem) 7.3rem 4.4rem;align-items:center;gap:.35rem;display:grid}.order-item-head{border-bottom:1px solid var(--shell-border);color:var(--shell-muted);padding:.15rem 0;font-size:.72rem;font-weight:600}.order-item-head .num{text-align:right}.order-item{border-bottom:1px solid var(--shell-border);padding:.1rem 0}.order-item-problem{box-shadow:inset 3px 0 0 var(--status-error-text)}.order-item-row{min-height:2rem}.order-item-row input{width:100%;height:1.85rem;min-height:0;padding:.1rem .4rem;font-size:.875rem;font-weight:500}.order-item-qty input,.order-item-price input{text-align:right}.order-item-code{white-space:nowrap;font-size:.78rem;font-weight:600;overflow:hidden}.order-item-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-item-total{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-weight:600}.order-item-status{text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;overflow:hidden}.order-item-status-ok{color:var(--status-ok-text)}.order-item-status-warn{color:var(--status-error-text)}.order-item-status-muted{color:var(--shell-muted)}.order-item .line-remove-item{border:1px solid var(--status-error-text);background:var(--shell-surface);width:auto;height:auto;color:var(--status-error-text);white-space:nowrap;border-radius:.4rem;padding:.12rem .45rem;font-size:.72rem;font-weight:600}.order-item-alert{margin:.05rem 0 .2rem 1.85rem;font-size:.78rem;display:block}.order-lines .order-item-more{border-left:2px solid var(--shell-border);margin:0 0 .2rem 1.85rem;padding:0 .6rem}.order-lines .order-item-more[hidden]{display:none}.order-more>summary .order-terms-brief{color:var(--shell-muted);margin-left:.6rem;font-weight:400}.order-item .order-item-toggle{border:1px solid var(--shell-field-border);background:var(--shell-surface);min-height:0;color:var(--shell-muted);font:inherit;white-space:nowrap;cursor:pointer;border-radius:.4rem;padding:.12rem .3rem;font-size:.72rem;font-weight:600}.order-item .order-item-toggle[aria-expanded=true]{border-color:var(--shell-accent-text);color:var(--shell-accent-text)}.order-item-details{gap:.35rem;padding:.3rem 0 .4rem;display:grid}.order-item-facts{margin:0}.order-item-markup{max-width:10rem;font-size:.78rem}@media (max-width:720px){.order-item-head{display:none}.order-item-row{grid-template-columns:1.3rem minmax(0,1.25fr) minmax(0,.85fr) minmax(0,1.15fr) auto;grid-template-areas:"pos name name remove remove""pos qty unit price total""pos status status toggle toggle";row-gap:.25rem}.order-item-pos{grid-area:pos}.order-item-code{display:none}.order-item-name{white-space:normal;grid-area:name}.order-item-qty{grid-area:qty}.order-item-unit{grid-area:unit}.order-item-price{grid-area:price}.order-item-total{grid-area:total}.order-item-status{grid-area:status}.order-item .line-remove-item{grid-area:remove}.order-item .order-item-toggle{grid-area:toggle}.order-item-row input{height:2.4rem;padding:.1rem .3rem;font-size:1rem;font-weight:500}.order-item .line-remove-item,.order-item .order-item-toggle{justify-self:end;min-height:2.25rem;padding:.2rem .6rem}.order-item-alert,.order-item-more{margin-left:1.3rem}}.compact-page .page-heading h1{font-size:1.375rem}.compact-page .page-heading{margin-bottom:.35rem}.compact-page .panel{padding:.5rem .6rem}.compact-table-scroll{max-height:calc(100vh - 12.5rem);overflow:auto}.compact-table{table-layout:fixed;width:100%;font-size:.84rem}.compact-table th,.compact-table td{vertical-align:middle;height:1.875rem;padding:.2rem .5rem;line-height:1.25}.compact-table thead th{z-index:1;background:var(--shell-surface-muted);white-space:nowrap;font-size:.76rem;position:sticky;top:0}.compact-table .col-check{width:2.1rem}.compact-table .col-date{width:6.1rem}.compact-table .col-number{width:6.4rem}.compact-table .col-amount{width:6.6rem}.compact-table .col-manager{width:8.5rem}.compact-table .col-status{width:11rem}.compact-table .col-rs{width:9.5rem}.compact-table td{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-table input[type=checkbox]{vertical-align:middle;width:1rem;min-width:0;height:1rem;min-height:0;margin:0}.compact-table .col-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-table .nowrap{white-space:nowrap}.compact-table .numeric{font-variant-numeric:tabular-nums;text-align:right}.compact-table tbody tr:hover>td{background:var(--shell-row-hover)}.compact-table tr.selected-row>td{background:var(--shell-accent-soft)}.compact-table tr.selected-row>td:first-child{box-shadow:inset 3px 0 0 var(--shell-accent)}.compact-selection{margin:.35rem 0 0;font-size:.84rem;font-weight:600}.compact-note{margin:.25rem 0 0;font-size:.76rem}@media (max-width:720px){.compact-table-scroll{max-height:none}.compact-table,.compact-table tbody{width:100%;display:block}.compact-table thead tr,.compact-table tbody tr{border-bottom:1px solid var(--shell-border);grid-template-columns:1.6rem minmax(0,1fr) auto;grid-template-areas:"check number amount""check party party""check address address""check status rs""check date manager";column-gap:.5rem;padding:.4rem .35rem;display:grid}.compact-table th,.compact-table td{white-space:normal;overflow-wrap:anywhere;border:0;height:auto;padding:0;display:block}.compact-table thead th:not(.col-check){display:none}.compact-table thead tr:after{content:"ყველას მონიშვნა";color:var(--shell-muted);grid-area:number;font-size:.78rem}.compact-table .col-check{grid-area:check}.compact-table .col-number{grid-area:number;font-weight:700}.compact-table .col-amount{white-space:nowrap;grid-area:amount}.compact-table .col-party{grid-area:party}.compact-table .col-address{grid-area:address}.compact-table .col-status{grid-area:status}.compact-table .col-rs{text-align:right;grid-area:rs}.compact-table .col-date,.compact-table .col-manager{color:var(--shell-muted);font-size:.78rem}.compact-table .col-date{grid-area:date}.compact-table .col-manager{text-align:right;grid-area:manager}.compact-table thead tr,.compact-table tbody tr{grid-template-areas:"check number amount""check party party""check address address""check status status""check rs rs""check date manager";row-gap:.1rem}.compact-table :is(.col-check,.col-date,.col-number,.col-party,.col-address,.col-amount,.col-manager,.col-status,.col-rs){width:auto;min-width:0;max-width:100%}.compact-table .col-name{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.compact-table .col-number,.compact-table .col-amount,.compact-table .col-date{white-space:nowrap}.compact-table td.col-rs{text-align:left}.orders-table td.col-rs:before{content:"RS: ";color:var(--shell-muted)}.compact-table .row-delete{min-width:2rem;min-height:2rem;margin-left:.5rem}}.compact-docs .document-row,.document-head{grid-template-columns:1.6rem 5.5rem 11.25rem minmax(0,1fr) 6.3rem 6rem 6.4rem 8rem 4.2rem;grid-template-areas:"check date number party total manager status rs toggle";align-items:center;gap:0 .5rem;min-height:1.875rem;padding:.05rem .5rem;font-size:.84rem;display:grid}.document-head{z-index:1;background:var(--shell-surface-muted);color:var(--shell-muted);font-size:.76rem;font-weight:600;position:sticky;top:0}.document-head>span:first-child{grid-area:check}.document-head>span:nth-child(2){grid-area:date}.document-head>span:nth-child(3){grid-area:number}.document-head>span:nth-child(4){grid-area:party}.document-head>span:nth-child(5){text-align:right;grid-area:total}.document-head>span:nth-child(6){grid-area:manager}.document-head>span:nth-child(7){grid-area:status}.document-head>span:nth-child(8){grid-area:rs}.document-head>span:nth-child(9){grid-area:toggle}.compact-docs .document-row-check{grid-area:check}.compact-docs .document-row-date{white-space:nowrap;grid-area:date}.compact-docs .document-row-number{overflow-wrap:anywhere;grid-area:number}.compact-page .document-head+.compact-docs{margin-top:0}.compact-docs .document-row-party,.compact-docs .document-row-manager{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-docs .document-row-party{grid-area:party}.compact-docs .document-row-manager{grid-area:manager}.compact-docs .document-row-total{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;grid-area:total;font-weight:600}.compact-docs .document-row>.status-pill:not([data-rs-state]){grid-area:status}.compact-docs .document-row>.status-pill[data-rs-state]{grid-area:rs}.compact-docs .document-row>.status-pill{text-overflow:ellipsis;white-space:nowrap;justify-self:start;max-width:100%;padding:.05rem .4rem;font-size:.74rem;overflow:hidden}.compact-docs .document-row-toggle{grid-area:toggle;font-size:.74rem}.compact-docs .document-card{border-width:0 0 1px;border-radius:0;margin:0}.compact-docs .document-row.selected-row{background:var(--shell-accent-soft);box-shadow:inset 3px 0 0 var(--shell-accent)}.compact-docs input[type=checkbox],.document-head input[type=checkbox]{width:1rem;min-width:0;height:1rem;min-height:0;margin:0}@media (max-width:720px){.document-head{display:none}.compact-docs .document-row{grid-template-columns:1.8rem minmax(0,1fr) auto;grid-template-areas:"check number status""check party total""check date toggle";row-gap:.15rem}.compact-docs .document-row-manager,.compact-docs .document-row>.status-pill[data-rs-state]{display:none}}@media (min-width:721px){.compact-table .col-address{width:28%}}.compact-table .badge{padding:.05rem .4rem;font-size:.74rem}.picker-results-title{color:var(--shell-muted);letter-spacing:.02em;text-transform:uppercase;margin:.4rem 0 .2rem;font-size:.74rem;font-weight:700}.product-results .product-row-added,.product-results .product-row-added.selected{background:var(--status-ok-bg);box-shadow:inset 3px 0 0 var(--status-ok-text)}.product-added-badge{border:1px solid var(--status-ok-border);background:var(--shell-surface);color:var(--status-ok-text);white-space:nowrap;border-radius:999px;justify-self:start;padding:.05rem .45rem;font-size:.76rem;font-weight:700}.page-content.compact-page{padding-top:.35rem}.compact-page .page-heading .eyebrow{display:none}.compact-page .page-heading .primary-button{min-height:2rem;padding:.25rem .9rem}.compact-page .panel>h2{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (min-width:721px){.app-shell:has(.compact-page) .section-subnav ul{gap:.25rem .3rem;padding-bottom:.3rem}.compact-page .list-filters{flex-wrap:wrap;align-items:center;gap:.35rem .6rem;margin-bottom:.35rem;display:flex}.compact-page .list-filters label{align-items:center;gap:.3rem;margin:0;font-size:.78rem;display:flex}.compact-page .list-filters input,.compact-page .list-filters select{width:auto;height:1.9rem;min-height:1.9rem;padding:.1rem .4rem;font-size:.84rem}.compact-page .list-filters input[type=date]{width:8.4rem}.compact-page .list-filters select{max-width:8.5rem}.compact-page .list-filters .list-filters-search{flex:9rem;min-width:0}.compact-page .list-filters .list-filters-search input{flex:1;width:100%;min-width:6rem}.compact-page .list-filters .primary-button{min-height:1.9rem;padding:.15rem .9rem}.compact-page .status-chips{gap:.3rem;margin:0 0 .35rem}.compact-page .status-chips .chip{min-height:1.6rem;padding:.05rem .65rem;font-size:.8rem}.compact-page .compact-table-scroll{max-height:calc(100vh - 15rem)}.compact-page .compact-selection{z-index:2;border-top:1px solid var(--shell-border);background:var(--shell-surface);padding:.25rem .5rem;position:sticky;bottom:0}.order-embedded{gap:.4rem;font-size:.875rem}.order-embedded>.panel{margin:0;padding:.4rem .7rem}.order-embedded .order-head{gap:.35rem}.order-embedded .order-head-title{gap:.2rem .6rem}.order-embedded .order-head-title h1{font-size:1.05rem}.order-embedded .order-head-title .muted,.order-embedded .order-head-title .eyebrow{font-size:.78rem}.order-embedded .doc-step-title{margin:0;font-size:.84rem}.order-embedded .doc-step-no{width:1.25rem;height:1.25rem;font-size:.72rem}.order-embedded .order-head-fields{gap:.3rem .6rem}.order-embedded .order-head-fields label,.order-embedded .order-head-fields small,.order-embedded .order-head-fields .muted,.order-embedded .order-head-fields .notice-inline{font-size:.78rem}.order-embedded .order-head-fields label{gap:.15rem}.order-embedded .order-head-customer input,.order-embedded .sales-product-picker input[type=search],.order-embedded .sales-product-picker input[type=text]{min-height:2.1rem;padding:.2rem .5rem;font-size:.875rem;font-weight:600}.order-embedded .order-head-fields label:not(.order-head-customer) :is(input,select),.order-embedded .order-more :is(input,select,textarea){min-height:1.95rem;padding:.1rem .4rem;font-size:.84rem}.order-embedded .order-head-warehouse small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.order-embedded .order-head-fields .text-button{min-height:0;padding:0 .2rem;font-size:.78rem}.order-embedded .order-terms>summary,.order-embedded .order-more>summary{min-height:0;padding:.25rem .6rem;font-size:.8rem}.order-embedded .order-terms>.order-head-fields,.order-embedded .order-more>.order-head-fields{padding:.3rem .6rem .45rem}.order-embedded .order-more>.muted,.order-embedded .order-products .muted{font-size:.78rem}.order-embedded .section-heading-row{min-height:0;margin-bottom:.25rem}.order-embedded .order-save-bar{padding:.4rem .8rem}.order-embedded .order-save-bar strong,.order-embedded .order-save-bar output{font-size:1.05rem}.order-embedded .order-save-bar button{min-height:2.1rem;padding:.25rem .9rem}.order-embedded .order-terms>.order-head-fields{grid-template-columns:minmax(0,.9fr) minmax(0,.9fr) minmax(0,.8fr) minmax(0,1.2fr) minmax(0,1.2fr)}.order-embedded .picker-search{white-space:nowrap;align-items:center;gap:.5rem;font-size:.78rem;display:flex}.order-embedded .picker-search input{flex:1;min-width:0}.order-embedded .order-terms>.order-head-fields>.notice-inline{order:1;grid-column:1/-1;margin:0}.order-embedded .order-terms .quick-address-open{align-self:center}}.order-embedded .order-more{padding:0}.order-embedded .picker-footnote{margin:.2rem 0 0;font-size:.74rem}@media (min-width:721px){.work-dialog-wide .work-dialog-head .dialog-close{min-height:1.75rem;padding:.1rem .55rem}}.order-embedded .order-save-bar .save-bar-total{flex-wrap:wrap;align-items:baseline;gap:0 .5rem;display:flex}.order-embedded .doc-step-title{min-height:0;padding:0}.order-item-view .order-item-qty,.order-item-view .order-item-price{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.order-item-view .order-item-unit{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.order-view-bar .convert-date{align-items:center;gap:.4rem;font-size:.78rem;display:flex}.order-view-title{flex-wrap:wrap;align-items:center;gap:.3rem .6rem;display:flex}.order-view-title h1{margin:0;font-size:1.15rem}.order-view-customer{overflow-wrap:anywhere;margin:0;font-size:.95rem;font-weight:600}.order-view-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:.2rem 1rem;margin:0;display:grid}.order-view-facts>div{gap:.05rem;min-width:0;display:grid}.order-view-facts dt{color:var(--shell-muted);font-size:.74rem;font-weight:400}.order-view-facts dd{overflow-wrap:anywhere;margin:0;font-size:.875rem;font-weight:500}.order-view-history>summary,.order-stock-more>summary{color:var(--shell-muted);cursor:pointer;font-size:.76rem}.order-view-history>p{margin:.2rem 0 0;font-size:.8rem}.order-stock-strip{flex-wrap:wrap;align-items:center;gap:.25rem 1.1rem;font-size:.875rem;display:flex}.order-stock-strip>small{font-size:.74rem}.order-stock-more{flex-basis:100%}.order-stock-more .address-list{flex-wrap:wrap;gap:.3rem;margin:.25rem 0 0;padding:0;display:flex}.order-stock-more .address-row{gap:.4rem;min-height:0;padding:.1rem .5rem;font-size:.78rem}.order-view-bar .convert-date{flex:none}.order-embedded:not(.order-entry)>.panel{border:0;border-bottom:1px solid var(--shell-border);box-shadow:none;background:0 0;border-radius:0;padding:.4rem .2rem}.order-embedded .order-view-delivery{background:0 0;border:0}.order-embedded .order-view-delivery>summary{background:0 0;padding:.1rem 0}@media (max-width:720px){.order-view-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:721px){.order-embedded .order-view-head{gap:.3rem;display:grid}.order-embedded .convert-note{margin:0;font-size:.76rem}.order-embedded section[aria-label=შეკვეთის\ დეტალები]{gap:.35rem;display:grid}.order-embedded section[aria-label=შეკვეთის\ დეტალები]>h2{margin:0;font-size:.9rem}.order-embedded .order-view-delivery .employee-facts{padding:.2rem 0 .3rem}.order-embedded .order-view-bar{gap:.4rem .5rem}.order-embedded .order-view-bar button{padding:.2rem .6rem;font-size:.8rem}.order-embedded .order-view-bar .convert-date{flex-direction:column;align-items:flex-start;gap:.05rem;font-size:.72rem}.order-embedded .order-view-bar .save-bar-total{flex:auto}.order-embedded .order-view-bar .text-button{padding:.1rem .3rem;font-size:.74rem}.order-embedded .order-view-bar input[type=date]{width:8.8rem;min-height:1.95rem;padding:.1rem .4rem;font-size:.84rem}}.compact-table .col-rs .badge+.badge{margin-left:.3rem}.dispatch-hint{color:var(--shell-muted);margin:0 0 .35rem;font-size:.8rem;line-height:1.4}@media (min-width:761px){.compact-page .dispatch-bar{flex-wrap:wrap;align-items:center;gap:.35rem .8rem;padding:.4rem .6rem;display:flex}.compact-page .rs-group-activation .dispatch-bar{margin:.3rem 0;padding:0}.compact-page .dispatch-bar label{color:var(--shell-muted);align-items:center;gap:.35rem;margin:0;font-size:.78rem;font-weight:500;display:flex}.compact-page .dispatch-bar select{width:auto;max-width:13rem;height:1.9rem;min-height:1.9rem;color:var(--shell-text);padding:.1rem .4rem;font-size:.84rem}.compact-page .dispatch-bar .dispatch-start{flex:16rem;min-width:0}.compact-page .dispatch-bar .dispatch-start select{flex:1;min-width:0;max-width:none}.compact-page .dispatch-bar .primary-button{min-height:1.9rem;padding:.15rem .9rem;font-size:.84rem}.compact-page .rs-group-activation>h2{margin:0 0 .2rem;font-size:.95rem}.compact-page .dispatch-date{align-items:center;gap:.4rem;font-size:.78rem;display:flex}.compact-page .dispatch-date input{min-height:1.9rem;padding:.1rem .4rem;font-size:.84rem}.compact-page .unit-matches{padding:.35rem .6rem}}.compact-page .page-heading .heading-chips{flex:auto;margin:0 0 0 1rem}@media (max-width:720px){.compact-page .page-heading{flex-wrap:wrap}.compact-page .page-heading .heading-chips{flex-basis:100%;order:3;margin:.3rem 0 0}}@media (min-width:721px){.compact-page .document-list-panel>.panel-header{align-items:center}.compact-page .document-list-panel>.panel-header h2{margin:0;padding:.1rem .4rem;font-size:.9rem}.compact-page .document-list-panel>.panel-header .list-counts{margin:0;font-size:.8rem}.compact-page .document-list-panel>.panel-header .list-counts>*{padding-top:.05rem;padding-bottom:.05rem}}@media (max-width:720px){.section-subnav a{align-items:center;min-height:2.5rem;padding:.3rem .9rem;display:inline-flex}}.order-dialog-title{gap:0;display:grid}.order-dialog-customer{border-bottom:1px solid var(--shell-border);white-space:normal;overflow-wrap:anywhere;padding-bottom:.2rem;font-size:1.02rem;font-weight:700}.order-dialog-meta{color:var(--shell-muted);flex-wrap:wrap;align-items:baseline;gap:0 .45rem;padding-top:.2rem;font-size:.8rem;font-weight:500;display:flex}.order-dialog-meta .order-dialog-number,.order-dialog-meta .order-dialog-status{color:var(--shell-text);font-weight:700}.order-dialog-separator{color:var(--shell-border)}@media (max-width:720px){.order-dialog-meta{display:grid}.order-dialog-separator{display:none}}.work-dialog-wide .work-dialog-head{align-items:flex-start}.order-view-customer-code{margin:0;font-size:.78rem}.compact-selection-bar{flex-wrap:wrap;align-items:center;gap:.3rem .8rem;display:flex}.compact-selection-bar .secondary-link{min-height:1.9rem;padding:.15rem .7rem;font-size:.8rem}.rs-print-batch{max-width:64rem}.rs-print-failed ul{margin:.2rem 0 0;padding-left:1.2rem}.rs-print-list{margin:.4rem 0 .8rem;padding-left:1.6rem;font-size:.85rem}@media print{.rs-print-batch .po-print-actions{display:none}}.compact-selection-bar>p{margin:0}.selection-menu{z-index:60;border:1px solid var(--shell-border);background:var(--shell-surface);min-width:15rem;box-shadow:0 .5rem 1.5rem rgb(var(--shell-shadow-rgb) / 18%);border-radius:.5rem;padding:.25rem;display:grid;position:fixed}.selection-menu button{color:var(--shell-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.35rem;padding:.45rem .7rem;font-size:.875rem}.selection-menu button:hover,.selection-menu button:focus-visible{background:var(--shell-accent-soft)}.selection-menu button:disabled{color:var(--shell-muted);cursor:default}.row-delete{color:var(--shell-muted);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.3rem;margin-left:.35rem;padding:0 .3rem;font-size:.8rem;line-height:1.2}.row-delete:hover,.row-delete:focus-visible{border-color:var(--shell-border);color:var(--shell-danger,#b42318)}.draft-delete-list{margin:0 0 .6rem;padding-left:1.2rem;font-size:.875rem}.draft-delete-list li{overflow-wrap:anywhere}.realize-date{align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.8rem;display:flex}.realize-date input{width:auto}.realize-table .col-plan{white-space:normal;width:40%}.realize-table tr.realize-problem>td{color:var(--status-error-text)}@media (max-width:720px){.realize-table thead{display:none}.realize-table tbody tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"number amount""party party""plan plan""date date"}.realize-table .col-plan{grid-area:plan;width:auto}}.field-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:0 .6rem;display:flex}.field-head>small{font-weight:500}.order-terms[open]>.order-head-fields{flex-wrap:wrap;align-items:flex-end;gap:.35rem .6rem;display:flex}.order-terms[open]>.order-head-fields>label{flex:10rem;min-width:0}.order-terms[open]>.order-head-fields>label.order-address{flex:2.4 18rem}.order-terms[open]>.order-head-fields>.quick-address-open{white-space:nowrap;flex:none;min-height:2.4rem}.order-terms[open]>.order-head-fields>.quick-address{flex:100%}@media (min-width:721px){.order-head-fields:has(>.order-head-customer):has(>.order-head-warehouse){grid-template-columns:minmax(0,2fr) minmax(0,1.6fr) minmax(9.5rem,.9fr)}.order-head-fields:has(>.order-head-warehouse)>.order-head-customer{grid-column:auto}}.page-content{padding-top:.6rem}.page-heading{gap:.4rem 1rem;margin-bottom:.6rem}.page-heading>div:has(>.eyebrow+h1){flex-wrap:wrap;align-items:baseline;gap:0 .75rem;display:flex}.page-heading>div:has(>.eyebrow+h1)>h1{order:-1}.page-heading>div:has(>.eyebrow+h1)>.eyebrow{margin:0}.page-heading>div:has(>.eyebrow+h1)>:not(h1,.eyebrow){flex-basis:100%}.panel{margin-top:.6rem;padding:.75rem 1rem}.panel h2{margin-bottom:.6rem;padding-bottom:.35rem}@media (max-width:720px){.panel{padding:.7rem .75rem}}.page-help{margin:.3rem 0 0}.page-help>summary{color:var(--shell-muted);cursor:pointer;align-items:center;gap:.35rem;font-weight:600;list-style:none;display:inline-flex}.page-help>summary::-webkit-details-marker{display:none}.page-help>summary:before{content:"ⓘ";color:var(--shell-accent-text)}.page-help>summary:focus-visible{box-shadow:0 0 0 3px var(--shell-focus-ring);border-radius:.3rem;outline:0}.page-help-body{max-width:60rem;color:var(--shell-muted);margin-top:.3rem}.page-help-body>p{margin:0 0 .35rem}@media (pointer:coarse),(max-width:720px){.page-help>summary{min-height:2.5rem}}.customer-scope{flex-wrap:wrap}@media (max-width:720px),(pointer:coarse){:is(input:not([type=checkbox],[type=radio],[type=range],[type=color]),select,textarea){font-size:max(16px,1rem)!important}}@media (min-width:721px){.doc-workspace .picker-search input{min-height:2.1rem;font-size:.875rem;font-weight:500}.doc-workspace .product-row-main strong{font-size:.875rem;font-weight:600;line-height:1.3}.doc-workspace .product-results>.product-row{padding-block:.25rem}.doc-workspace .product-results .product-add{min-height:1.9rem;padding:.15rem .8rem;font-size:.82rem}}.product-picker{position:relative}.picker-pop{top:var(--picker-pop-top,30vh);left:var(--picker-pop-left,1rem);z-index:60;width:var(--picker-pop-width,calc(100vw - 2rem));max-height:min(var(--picker-pop-max,62vh), 40rem);border:1px solid var(--shell-accent-border);background:var(--shell-surface);box-shadow:0 .6rem 1.6rem rgb(var(--shell-shadow-rgb) / 22%);overscroll-behavior:contain;border-radius:.6rem;padding:.35rem .5rem .5rem;position:fixed;overflow:auto}.picker-pop-head{z-index:1;border-bottom:1px solid var(--shell-border);background:var(--shell-surface);justify-content:space-between;align-items:center;gap:.6rem;margin:-.35rem -.5rem .3rem;padding:.3rem .5rem;display:flex;position:sticky;top:-.35rem}.picker-pop-head .picker-results-title{margin:0}.picker-pop-close{min-height:2rem;font-weight:700}@media (max-width:720px){.picker-pop{max-height:var(--picker-pop-max,70vh)}.picker-pop-close{min-height:2.5rem}}.document-dialog .field-counterparty input,.document-dialog .line-search-bar input,.doc-workspace .order-head-customer input,.doc-workspace .product-search-field input,.doc-workspace .sales-product-picker input[type=search],.doc-workspace .sales-product-picker input[type=text],.doc-workspace .picker-search input{min-height:2.25rem;font-size:.9rem;font-weight:500}.document-dialog .product-chosen,.doc-workspace .line-card-head strong,.doc-workspace .line-card-head .line-name,.doc-workspace .product-row-main strong{font-size:.875rem;font-weight:600;line-height:1.3}.document-dialog .line-table .col-quantity input,.document-dialog .line-table .col-price input,.doc-workspace .line-fields input[inputmode=decimal]{min-height:2.25rem;font-size:.9rem;font-weight:600}.document-dialog .line-table .col-amount,.doc-workspace .line-total strong{font-size:.9rem}.document-dialog .summary-total,.doc-workspace .order-save-bar strong,.save-bar-total output,.document-dialog .dialog-title h2{font-size:1.05rem}.fact-code,.dt-short{display:none}@media (max-width:720px){.product-row-main>.product-row-id{display:none}.product-row-facts>.fact-code{display:flex}.product-row-facts>.fact-code dt,.product-row-facts .dt-long{display:none}.product-row-facts .dt-short{display:inline}.product-row-facts>.fact-code dd{color:var(--shell-muted)}.product-row{row-gap:0}.work-dialog:has(.picker-pop) .order-dialog-customer{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}@media (min-width:721px){.doc-workspace .product-results>.product-row{grid-template-columns:minmax(12rem,1.6fr) minmax(0,1fr) auto auto;grid-template-areas:"main facts more add";padding:.15rem .5rem}.doc-workspace .product-row-main{flex-wrap:wrap;align-items:baseline;gap:0 .6rem;display:flex}.doc-workspace .product-row-facts{align-self:center}.product-row-facts>.fact-code{display:none}.doc-workspace .product-row-more{align-self:center}.doc-workspace .product-row-more[open]{grid-area:2/1/auto/-1}}@media (max-width:720px){.product-results{gap:.2rem}.product-results>.product-row{padding:.2rem .45rem}.picker-pop{padding:.3rem .35rem .35rem}.picker-pop-head{margin:-.3rem -.35rem .25rem}}table.product-block{border:1px solid var(--product-block-border);border-radius:var(--product-block-radius);background:var(--product-block-bg);padding:0 0 .3rem}.document-list-panel .document-lines:has(>div){border:1px solid var(--product-block-border);border-radius:var(--product-block-radius);background:var(--product-block-bg);padding:0 0 .3rem}.order-lines:has(>.order-item-head){border:1px solid var(--product-block-border);border-radius:var(--product-block-radius);background:var(--product-block-bg);padding:0 0 .3rem}.order-lines:has(>.line-card){border:1px solid var(--product-block-border);border-radius:var(--product-block-radius);background:var(--product-block-bg);padding:0 0 .3rem}.rs-lines:has(>.rs-line){border:1px solid var(--product-block-border);border-radius:var(--product-block-radius);background:var(--product-block-bg);padding:0 0 .3rem}.line-table-scroll:has(>.line-table){border:1px solid var(--product-block-border);border-radius:var(--product-block-radius);background:var(--product-block-bg);padding:0 0 .3rem}table.product-block{border-collapse:separate;border-spacing:0}.order-lines>.order-item-head,.document-list-panel .document-lines>.product-block-head,.line-table-scroll>.line-table thead th,.data-table.product-block thead th{border-bottom:1px solid var(--product-block-border);background:var(--product-block-head-bg);color:var(--product-block-head-text);font-weight:700}.order-lines>.order-item-head,.document-list-panel .document-lines>.product-block-head{border-radius:calc(var(--product-block-radius) - 1px) calc(var(--product-block-radius) - 1px) 0 0;margin:0;padding:.3rem .6rem}.line-table-scroll>.line-table thead th:first-child,table.product-block thead th:first-child{border-top-left-radius:calc(var(--product-block-radius) - 1px)}.line-table-scroll>.line-table thead th:last-child,table.product-block thead th:last-child{border-top-right-radius:calc(var(--product-block-radius) - 1px)}.doc-step-title:has(+.rs-lines>.rs-line){border:1px solid var(--product-block-border);border-radius:var(--product-block-radius) var(--product-block-radius) 0 0;background:var(--product-block-head-bg);color:var(--product-block-head-text);border-bottom:0;margin-bottom:0;padding:.35rem .6rem}.doc-step-title:has(+.rs-lines>.rs-line)+.rs-lines{border-top-left-radius:0;border-top-right-radius:0}.document-list-panel .document-lines>div,.line-table-scroll>.line-table tbody td,table.product-block tbody td{background:var(--product-block-line-bg)}.order-lines:has(>.order-item-head)>.order-item{background:var(--product-block-line-bg)}.rs-lines:has(>.rs-line)>.line-card.rs-line{background:var(--product-block-line-bg)}.order-lines:has(>.order-item-head)>.order-item{padding-inline:.6rem}.document-list-panel .document-lines>div{padding-inline:.6rem}.rs-lines:has(>.rs-line)>.line-card.rs-line{padding-inline:.6rem}.order-lines>.line-card{border-color:var(--product-block-border);background:var(--product-block-line-bg);margin:.4rem .4rem 0}.order-lines .order-item-name,.document-list-panel .document-lines .line-product-name,.rs-lines .rs-line-name,.order-lines>.line-card .line-card-head strong,.line-table-scroll .line-table .col-product input,table.product-block .product-name{color:var(--shell-text);font-weight:600}.order-lines>.line-card .line-card-total input:disabled{opacity:1;color:var(--shell-text);-webkit-text-fill-color:var(--shell-text);font-weight:700}.order-lines .order-item-total,.document-list-panel .document-lines .line-total,.line-table-scroll .line-table td.col-amount,table.product-block .product-total{color:var(--shell-text);font-weight:700}@media (max-width:720px){table.product-block{padding-bottom:.25rem}.document-list-panel .document-lines:has(>div){padding-bottom:.25rem}.order-lines:has(>.order-item-head){padding-bottom:.25rem}.order-lines:has(>.line-card){padding-bottom:.25rem}.rs-lines:has(>.rs-line){padding-bottom:.25rem}.line-table-scroll:has(>.line-table){padding-bottom:.25rem}.document-list-panel .document-lines>div{padding-inline:.45rem}.order-lines:has(>.order-item-head)>.order-item{padding-inline:.45rem}.rs-lines:has(>.rs-line)>.line-card.rs-line{padding-inline:.45rem}}@media (min-width:721px){.dispatch-table .col-status{width:15rem}.dispatch-table th,.dispatch-table td{padding-left:.375rem;padding-right:.375rem}.dispatch-table .col-date{width:5.6rem}.dispatch-table .col-number{width:5.75rem}.dispatch-table .col-amount{width:6.25rem}.dispatch-table .col-manager{width:7rem}.dispatch-table .col-address{width:17%}.dispatch-page .dispatch-list-panel{padding-left:.2rem;padding-right:.2rem}.dispatch-page{padding-bottom:1rem}.dispatch-page .compact-table-scroll{max-height:calc(100vh - 7.5rem)}.dispatch-page .dispatch-list-panel .compact-selection{margin:0 0 .2rem;position:static}.dispatch-table td:is(.col-status,.col-party,.col-address){text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.dispatch-table .col-status .badge{white-space:normal}.dispatch-page{padding-top:0}.dispatch-page .page-heading{align-items:center;gap:.8rem;margin-bottom:.2rem}.dispatch-page .page-heading .dispatch-hint{flex:1;margin:0}.dispatch-page .page-heading .unit-matches{margin:0}.dispatch-page .page-heading .unit-matches:not([open]){white-space:nowrap;padding:.1rem .5rem}.dispatch-page .page-heading .unit-matches[open]{flex-basis:100%;order:5}.dispatch-page .dispatch-bar{margin-top:.25rem;padding-top:.2rem;padding-bottom:.2rem}.dispatch-page .dispatch-list-panel{margin-top:.25rem;padding-top:.2rem}}@media (max-width:720px){.dispatch-page .page-heading .dispatch-date{order:1}.dispatch-page .page-heading .dispatch-hint{order:2;margin:0}.dispatch-page .page-heading .unit-matches{order:3;align-self:stretch;margin:0}.dispatch-table tbody tr{grid-template-columns:1.6rem minmax(0,1fr) fit-content(45%)}}@media (max-width:760px){.app-shell:has(.sales-order-page.order-entry,.purchase-new) .section-subnav{padding-block:.25rem}.app-shell:has(.sales-order-page.order-entry,.purchase-new) .section-subnav ul{overscroll-behavior-x:contain;scrollbar-width:none;flex-wrap:nowrap;gap:.35rem;padding-bottom:.15rem;overflow-x:auto}.app-shell:has(.sales-order-page.order-entry,.purchase-new) .section-subnav ul::-webkit-scrollbar{display:none}.app-shell:has(.sales-order-page.order-entry,.purchase-new) .section-subnav li{flex:none}.app-shell:has(.sales-order-page.order-entry,.purchase-new) .section-subnav a{min-height:2.5rem;padding:.2rem .7rem;font-size:.8rem}.sales-order-page.order-entry .breadcrumbs,.sales-order-page.order-entry .order-head>.doc-step-title{display:none}.sales-order-page.order-entry .order-head{gap:.4rem;padding:.55rem .7rem}.sales-order-page.order-entry .order-head-title{align-items:baseline;gap:.1rem .5rem}.sales-order-page.order-entry .order-head-title .eyebrow{margin:0;font-size:.75rem}.sales-order-page.order-entry .order-head-title h1{font-size:1rem}.sales-order-page.order-entry .order-head-title>.muted{display:none}.sales-order-page.order-entry .doc-step-title{gap:.4rem;min-height:0;font-size:.85rem}.sales-order-page.order-entry .doc-step-no{width:1.25rem;height:1.25rem;font-size:.75rem}.sales-order-page.order-entry .order-head>.order-head-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.35rem .5rem}.sales-order-page.order-entry .order-head-customer{grid-column:1/-1}.sales-order-page.order-entry .order-head-fields>label{gap:.15rem;font-size:.75rem}.sales-order-page.order-entry .order-head input,.sales-order-page.order-entry .order-head select{height:2.5rem;min-height:0;padding-block:.15rem}.sales-order-page.order-entry .order-head-warehouse,.sales-order-page.order-entry .order-head-warehouse .field-head{min-width:0;overflow:hidden}.sales-order-page.order-entry .order-head-warehouse .field-head{flex-wrap:nowrap;align-items:center;gap:.3rem;min-height:0}.sales-order-page.order-entry .order-head-warehouse .field-head small{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1.2;overflow:hidden}.sales-order-page.order-entry .order-head-warehouse .field-head .text-button{flex:none;min-height:2.5rem;padding:0 .35rem;font-size:.75rem}.sales-order-page.order-entry .order-terms>summary,.sales-order-page.order-entry .order-more>summary{gap:.1rem .5rem;min-height:2.75rem;padding:.35rem .6rem;font-size:.8rem}.sales-order-page.order-entry .order-terms:not([open]) .order-terms-brief,.sales-order-page.order-entry .order-more:not([open]) .order-terms-brief{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.sales-order-page.order-entry .order-products{padding:.55rem .6rem}.sales-order-page.order-entry .order-products .section-heading-row>.muted{display:none}.sales-order-page.order-entry .order-products .section-heading-row{gap:.4rem;margin-bottom:.25rem;font-size:.75rem}.sales-order-page.order-entry .order-save-bar{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.35rem .6rem;display:grid}.sales-order-page.order-entry .order-save-bar .save-bar-total{white-space:nowrap;grid-area:1/1;gap:0;font-size:.75rem}.sales-order-page.order-entry .order-save-bar .save-bar-total output{white-space:nowrap;font-size:.95rem}.sales-order-page.order-entry .order-save-bar .primary-button{grid-area:1/2;min-height:2.75rem;padding:.25rem .6rem;font-size:.85rem}.sales-order-page.order-entry .order-save-bar .save-bar-more{grid-area:1/3}.sales-order-page.order-entry .order-save-bar .save-bar-more>summary{min-width:2.75rem;min-height:2.75rem}.sales-order-page.order-entry .order-save-bar>.secondary-link{grid-area:2/1/auto/-1;min-height:2.5rem;padding:.15rem .6rem;font-size:.8rem}.sales-order-page.order-entry .form-error,.sales-order-page.order-entry .unsaved-note{padding:.4rem .6rem;font-size:.85rem;line-height:1.35}.document-dialog .dialog-bar{flex-wrap:nowrap;gap:.5rem;min-height:0;padding:.4rem .6rem}.document-dialog .dialog-title h2{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;font-size:.9rem;overflow:hidden}.document-dialog .dialog-bar .primary-button,.document-dialog .dialog-close{flex:none;min-height:2.5rem;padding:.2rem .7rem;font-size:.85rem}.document-dialog .dialog-body{gap:.5rem;padding:.5rem .6rem;scroll-padding-bottom:4rem}.document-dialog .doc-step{gap:.35rem;padding:.5rem .6rem}.document-dialog .doc-part.doc-step>.doc-step-title{display:none}.document-dialog .doc-step-title{gap:.4rem;min-height:0;font-size:.85rem}.document-dialog .doc-step-no{width:1.25rem;height:1.25rem;font-size:.75rem}.document-dialog .doc-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.35rem .5rem}.document-dialog .doc-fields>label,.document-dialog .doc-fields>.field-number{grid-column:auto;gap:.15rem;font-size:.75rem}.document-dialog .doc-fields>.field-counterparty,.document-dialog .doc-fields>.terms-note{grid-column:1/-1}.document-dialog .doc-fields>.field-counterparty{gap:.15rem;font-size:.75rem}.document-dialog .doc-fields input,.document-dialog .doc-fields select,.document-dialog .doc-fields .product-chosen{height:2.5rem;min-height:0;padding-block:.15rem}.document-dialog .doc-fields>.field-warehouse{grid-column:auto;min-width:0}.document-dialog .balance-note{gap:.1rem .4rem;font-size:.75rem;line-height:1.3}.document-dialog .balance-note .balance-date{display:none}.document-dialog .doc-fields>.terms-note{margin:0;font-size:.75rem;line-height:1.3}.document-dialog .doc-fields>.terms-note .text-button{vertical-align:middle;align-items:center;min-height:2.5rem;padding:0 .2rem;font-size:.75rem;display:inline-flex}.document-dialog .doc-more summary{min-height:2.75rem;padding-block:.7rem;font-size:.75rem}.document-dialog .sale-delivery{padding:.4rem .6rem}.document-dialog .sale-delivery-head{flex-wrap:nowrap;align-items:center;gap:.4rem;min-height:2.75rem;font-size:.85rem}.document-dialog .sale-delivery:not([open]) .sale-delivery-brief{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.75rem;overflow:hidden}.document-dialog .line-search-bar{flex-wrap:wrap;gap:.35rem}.document-dialog .line-search-bar .secondary-link{white-space:nowrap;flex:1 1 0;min-height:2.75rem;padding:.15rem .4rem;font-size:.75rem}.document-dialog .line-table .line-row{grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr) minmax(0,1fr) minmax(0,.75fr) 1.75rem;gap:.15rem .5rem;padding:.35rem .4rem}.document-dialog .line-table .col-number{display:none}.document-dialog .line-table .col-product{grid-area:1/1/auto/5}.document-dialog .line-table .col-remove{grid-area:1/5}.document-dialog .line-table .col-code{grid-area:2/1/auto/6;font-size:.75rem;line-height:1.1}.document-dialog .line-table .col-quantity{grid-area:3/1}.document-dialog .line-table .col-unit{grid-area:3/2}.document-dialog .line-table .col-price{grid-area:3/3}.document-dialog .line-table .col-amount{text-align:right;grid-area:3/4/auto/6;align-self:start;padding-top:1rem;font-weight:600}.document-dialog .line-table .col-vat{grid-area:4/1/auto/6}.document-dialog .line-table .cell-label,.document-dialog .line-table .col-amount .cell-label,.document-dialog .line-table .col-unit .cell-label{text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;line-height:1.1;display:block;overflow:hidden}.document-dialog .line-table .col-amount .cell-label{display:none}.document-dialog .line-table .col-quantity input,.document-dialog .line-table .col-price input,.document-dialog .line-table .col-unit select{width:100%;height:2.25rem;min-height:0;padding-inline:.35rem}.document-dialog .line-table .col-unit select{padding-inline:.3rem 1.1rem}.document-dialog .line-table .col-product .product-chosen{min-height:2.25rem;padding-block:.25rem}.document-dialog .line-table .line-price-choices{gap:.15rem}.document-dialog .line-table .line-price-choice{min-height:1.3rem;font-size:.75rem;line-height:1.2}.document-dialog .line-table .line-stock-row td{padding-block:0}.document-dialog .line-table .line-stock{font-size:.75rem;line-height:1.2}.document-dialog .dialog-summary{gap:.2rem;padding:.35rem .6rem}.document-dialog .dialog-summary .summary-bar{align-items:center;gap:.05rem .6rem;font-size:.75rem}.document-dialog .dialog-summary .doc-step-inline{display:none}.document-dialog .dialog-summary .summary-info summary{min-height:1.2rem;font-size:.75rem}.document-dialog .dialog-summary .summary-total{margin-left:auto;font-size:.8rem}.document-dialog .dialog-summary .summary-total strong{font-size:1.05rem}.document-dialog .form-error,.document-dialog .alert-box{padding:.35rem .55rem;font-size:.85rem;line-height:1.35}.purchase-new .breadcrumbs{display:none}.purchase-new>section:first-of-type{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.35rem .5rem;padding:.55rem .7rem;display:grid}.purchase-new>section:first-of-type>:not(.form-grid,label){grid-column:1/-1}.purchase-new>section:first-of-type>label{min-width:0}.purchase-new>section:first-of-type .eyebrow{margin:0;font-size:.75rem}.purchase-new>section:first-of-type h1{margin:0;font-size:1rem}.purchase-new .form-grid{display:contents}.purchase-new .form-grid>label:first-child{grid-column:1/-1}.purchase-new .form-grid>label,.purchase-new>section:first-of-type>label{gap:.15rem;font-size:.75rem}.purchase-new>section:first-of-type input,.purchase-new>section:first-of-type select{height:2.5rem;min-height:0;padding-block:.15rem}.purchase-new>section:first-of-type>p.muted{margin:0;font-size:.75rem;line-height:1.3}.purchase-new>section[aria-label=პროდუქცია]{flex-direction:column;gap:.5rem;padding:.55rem .6rem;display:flex}.purchase-new>section[aria-label=პროდუქცია]>*{order:4}.purchase-new>section[aria-label=პროდუქცია]>h2{order:0;margin:0;font-size:.95rem}.purchase-new>section[aria-label=პროდუქცია]>.order-lines{order:1}.purchase-new>section[aria-label=პროდუქცია]>p{order:2;margin:0}.purchase-new>section[aria-label=პროდუქცია]>.product-picker{order:3}.purchase-new .line-card{gap:.2rem;padding:.4rem .55rem}.purchase-new .line-card-head{align-items:center;gap:.4rem}.purchase-new .line-card-head .text-button{flex:none;min-height:2.5rem}.purchase-new .line-card>p.muted{margin:0;font-size:.75rem}.purchase-new .line-fields{grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,1.1fr) minmax(0,1fr);align-items:end;gap:.35rem}.purchase-new .line-fields>label{gap:.15rem;font-size:.75rem}.purchase-new .line-fields input{width:100%;height:2.5rem;min-height:0;padding-inline:.35rem}.purchase-new .save-bar{gap:.2rem;padding:.35rem .6rem}.purchase-new .save-bar .primary-button{min-height:2.75rem}.purchase-new .save-bar .muted{font-size:.75rem}}
