:root{font-family:IBM Plex Sans,Segoe UI,sans-serif;color:#132238;background:radial-gradient(circle at top left,rgba(238,173,45,.28),transparent 28%),radial-gradient(circle at top right,rgba(34,114,180,.16),transparent 30%),linear-gradient(180deg,#f4f7fb,#ebf0f7);line-height:1.4;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}input,select,textarea{width:100%;padding:.85rem 1rem;border:1px solid rgba(19,34,56,.12);border-radius:14px;background:#fff}input:focus,select:focus,textarea:focus{outline:none;border-color:#eead2de6;box-shadow:0 0 0 3px #eead2d2e}textarea{min-height:110px;resize:vertical}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.sidebar{padding:2rem 1.25rem;background:linear-gradient(180deg,#0f2238,#112b47);color:#e9f0f6;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:1rem;padding:0 .75rem 1.5rem}.brand-mark{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#f3b740,#ffdd87);color:#0f2238;font-weight:700;font-size:1.25rem}.brand p,.topbar p,.section-card-header p,.stat-card p{margin:0;color:#13223894}.brand p{color:#e9f0f6b8}.nav{display:grid;gap:.35rem;overflow-y:auto;max-height:calc(100vh - 120px);padding-right:.35rem}.nav-link{padding:.8rem .95rem;border-radius:14px;color:#e9f0f6d1;transition:all .2s ease}.nav-group{display:grid;gap:.35rem}.nav-group-title{padding:.75rem .95rem .35rem;color:#fff;font-weight:700}.nav-sub-link{margin-left:.75rem}.nav-link:hover,.nav-link.active{color:#fff;background:#f3b7402e}.app-main{min-width:0;padding:1.5rem}.order-search-page{display:grid;align-content:start;min-height:calc(100vh - 3rem);padding-top:1.75rem}.order-search{display:grid;grid-template-columns:48px minmax(260px,520px) auto;align-items:end;gap:.65rem;width:min(720px,100%)}.order-search-field{display:grid;gap:.55rem}.order-search-field span{color:#132238a3;font-size:.92rem;font-weight:700}.order-search-field input{min-height:46px;padding:.75rem 1rem;border-radius:12px;border:1px solid rgba(15,34,56,.1);background:#fffffff5;box-shadow:0 16px 38px #0f223814;font-size:.98rem;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.order-search-field input:focus{border-color:#efac20d9;box-shadow:0 18px 42px #0f22381a,0 0 0 4px #efac202e}.order-search .primary-button{min-height:46px;padding-inline:1.3rem;border-radius:12px}.external-prices-page{display:grid;align-content:start;gap:1rem;min-height:calc(100vh - 3rem)}.external-prices-topline{display:flex;align-items:center;justify-content:space-between;gap:1rem}.external-prices-topline h2{margin:0;font-size:1.35rem}.external-prices-topline span{color:#13223894;font-size:.92rem;font-weight:700}.external-prices-actions{display:flex;align-items:center;justify-content:flex-end;gap:.75rem}.cart-jump-button{display:inline-flex;align-items:center;gap:.55rem;min-height:38px;padding:.45rem .75rem .45rem .95rem;border:1px solid rgba(239,172,32,.58);border-radius:10px;background:#fff;color:#132238;box-shadow:0 10px 22px #0f223812;font-size:.9rem;font-weight:800}.cart-jump-button strong{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 .35rem;border-radius:7px;background:linear-gradient(135deg,#efac20,#f7c85f);color:#0f2238;font-size:.82rem}.external-price-search{display:grid;grid-template-columns:minmax(260px,520px) auto;align-items:end;gap:.65rem;width:min(660px,100%)}.external-price-search .primary-button{min-height:46px;padding-inline:1.3rem;border-radius:12px}.price-status-panel{display:grid;gap:.55rem;padding:.8rem 1rem;border:1px solid rgba(19,34,56,.1);border-left:4px solid #2f855a;border-radius:10px;background:#ffffffdb}.price-status-panel-warning{border-left-color:#c2410c}.price-status-metrics{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:.65rem}.price-status-metrics div{display:grid;gap:.08rem}.price-status-panel span,.price-status-panel p{margin:0;color:#1322389e;font-size:.82rem;font-weight:700}.price-status-panel strong{color:#132238;font-size:1rem}.price-source-switcher{display:flex;flex-wrap:wrap;gap:.5rem}.price-source-switcher button{display:grid;grid-template-columns:auto auto;align-items:center;gap:.08rem .45rem;min-height:42px;padding:.42rem .7rem;border:1px solid rgba(19,34,56,.12);border-radius:9px;background:#fff;color:#132238;box-shadow:0 8px 18px #0f22380f}.price-source-switcher button.active{border-color:#efac20c7;background:#fff8e8}.price-source-switcher strong{font-size:.86rem;line-height:1.1}.price-source-switcher span{color:#1322389e;font-size:.72rem;font-weight:700;line-height:1.1}.price-source-switcher em,.price-source-switcher small{grid-column:1 / -1;color:#13223894;font-size:.72rem;font-weight:800;line-height:1.1}.price-source-switcher em{font-style:normal}.price-source-switcher small{font-size:.68rem;font-weight:700}.external-price-filters{display:flex;flex-wrap:wrap;gap:.55rem}.external-price-filters label{display:inline-flex;align-items:center;gap:.42rem;min-height:34px;padding:.35rem .65rem;border:1px solid rgba(19,34,56,.12);border-radius:9px;background:#fff;color:#132238;font-size:.84rem;font-weight:800}.external-price-filters input{width:auto}.external-prices-page .section-card{padding:.75rem 1rem}.external-prices-page .data-table th,.external-prices-page .data-table td{padding:.46rem .55rem;font-size:.86rem;line-height:1.25}.external-prices-page .data-table th{font-size:.8rem}.price-logins-page{display:grid;align-content:start;gap:1rem;min-height:calc(100vh - 3rem)}.price-logins-toolbar{display:grid;grid-template-columns:minmax(260px,520px) auto;align-items:center;gap:.75rem}.price-logins-toolbar input{min-height:46px}.price-logins-toolbar strong{color:#2f855a;font-size:.9rem}.price-logins-page .section-card{padding:.75rem 1rem}.price-logins-page .data-table th,.price-logins-page .data-table td{padding:.5rem .55rem;font-size:.86rem;line-height:1.25;vertical-align:top}.price-login-name{display:grid;gap:.15rem;min-width:150px}.price-login-name strong{color:#132238}.price-login-name span,.price-login-info{color:#13223899;font-size:.78rem;font-weight:700}.price-login-link{color:#0b66c3;font-weight:800;text-decoration:underline;text-underline-offset:3px;word-break:break-word}.copy-value{display:inline-grid;grid-template-columns:minmax(90px,auto) 30px;align-items:stretch;max-width:260px;border:1px solid rgba(19,34,56,.12);border-radius:9px;overflow:hidden;background:#fff}.copy-value-text,.copy-value-button{border:0;background:transparent;color:#132238}.copy-value-text{min-width:0;padding:.35rem .55rem;font-family:Consolas,SFMono-Regular,monospace;font-size:.82rem;font-weight:800;text-align:left;word-break:break-word}.copy-value-button{display:grid;place-items:center;border-left:1px solid rgba(19,34,56,.1);background:#efac202e;font-size:.9rem;font-weight:900}.copy-value-text:hover,.copy-value-button:hover,.copy-value-text:focus-visible,.copy-value-button:focus-visible{background:#efac2047;outline:none}.automations-page{display:grid;align-content:start;gap:1rem;min-height:calc(100vh - 3rem)}.automation-grid{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(420px,1.15fr);gap:1rem}.automation-status{display:grid;gap:.8rem}.automation-badge{display:inline-flex;align-items:center;width:max-content;min-height:30px;padding:.3rem .65rem;border-radius:8px;font-size:.82rem;font-weight:900}.automation-badge-ok{background:#2f855a24;color:#166534}.automation-status dl{display:grid;gap:.55rem;margin:0}.automation-status dl div,.automation-metrics div,.automation-sources div{display:grid;gap:.12rem}.automation-status dt,.automation-metrics span,.automation-sources span,.automation-sources small,.automation-note{margin:0;color:#1322389e;font-size:.82rem;font-weight:700}.automation-status dd{margin:0;color:#132238;font-weight:900}.automation-metrics{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:.75rem}.automation-metrics div{padding:.7rem;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#ffffffc2}.automation-metrics strong,.automation-sources strong{color:#132238;font-size:1rem}.automation-note-error{color:#b42318}.automation-sources{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem}.automation-sources div{padding:.65rem;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#ffffffc2}.price-sort-button{display:inline-flex;align-items:center;gap:.38rem;min-height:28px;padding:.1rem .2rem;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-align:left;cursor:pointer}.price-sort-button strong{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#efac2033;color:#132238;font-size:.85rem;line-height:1}.price-sort-button:hover strong,.price-sort-button:focus-visible strong{background:#efac206b}.price-sort-button-static{cursor:default}.price-sort-button-static strong{background:#13223814;color:#132238a3}.price-sort-button:focus-visible{outline:2px solid rgba(239,172,32,.78);outline-offset:2px;border-radius:7px}.external-price-supplier,.external-price-product,.external-price-availability,.external-price-money,.external-price-freshness{display:grid;gap:.08rem}.external-price-supplier span,.external-price-product span,.external-price-availability span,.external-price-money span,.external-price-freshness span{color:#13223894;font-size:.76rem}.external-price-freshness-fresh strong{color:#166534}.external-price-freshness-stale strong{color:#9a3412}.external-price-freshness-expired strong,.external-price-freshness-unknown strong{color:#991b1b}.external-price-product strong{min-width:320px}.external-price-code-button{border:none;background:transparent;color:#0b66c3;padding:0;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}.external-order-control{display:grid;grid-template-columns:30px 64px 30px auto;align-items:center;gap:.25rem;min-width:154px}.external-order-step{display:inline-grid;place-items:center;width:30px;height:32px;padding:0;border:1px solid rgba(19,34,56,.14);border-radius:8px;background:#fff;color:#132238;font-size:1rem;font-weight:900;line-height:1}.external-order-step:hover:not(:disabled){border-color:#efac20d9;background:#efac201f}.external-order-input{width:64px;min-height:32px;padding:.35rem .45rem;border:1px solid rgba(19,34,56,.14);border-radius:8px;background:#fff;color:#132238;font-size:.86rem;font-weight:700;text-align:center}.external-order-unit{color:#13223894;font-size:.78rem;font-weight:800;white-space:nowrap}.external-order-step:disabled,.external-order-input:disabled{color:#13223857;background:#1322380a;cursor:not-allowed}.cart-remove-button{min-height:32px;border:1px solid rgba(19,34,56,.14);border-radius:8px;background:#fff;color:#132238;font-size:.82rem;font-weight:700}.cart-modal{width:min(1180px,100%);max-height:calc(100vh - 2rem);overflow:auto;border-radius:10px;background:#fff;box-shadow:0 24px 70px #0c182647}.cart-modal-actions{display:flex;align-items:center;gap:.65rem}.cart-modal-body{display:grid;gap:.85rem;padding:.75rem 1rem 1rem}.cart-modal-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:.7rem}.cart-modal-summary div{display:grid;gap:.12rem;padding:.72rem;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#f4f7fbeb}.cart-modal-summary span,.cart-source-cell span,.cart-source-cell small,.invoice-line-product-field small{color:#13223894;font-size:.78rem;font-weight:800}.cart-modal-summary strong{color:#132238;font-size:1rem}.cart-source-cell{display:grid;gap:.08rem;min-width:120px}.cart-source-cell strong{color:#132238;font-size:.92rem}.cart-modal .data-table th,.cart-modal .data-table td{padding:.5rem .55rem;font-size:.86rem}.external-prices-load-state{min-height:1.8rem;color:#13223894;font-size:.84rem;font-weight:700;text-align:center}.product-card-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:1rem;background:#0c182661}.product-card-modal{width:min(980px,100%);max-height:calc(100vh - 2rem);overflow:auto;border-radius:10px;background:#fff;box-shadow:0 24px 70px #0c182647}.product-card-header{display:flex;align-items:start;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;border-bottom:1px solid rgba(19,34,56,.1)}.product-card-header span{color:#1322388f;font-size:.82rem;font-weight:700}.product-card-header h3{margin:.2rem 0 0;font-size:1rem;line-height:1.35}.product-card-close{width:34px;height:34px;border:1px solid rgba(19,34,56,.14);border-radius:8px;background:#fff;color:#132238;font-size:1rem;font-weight:700;cursor:pointer}.invoice-product-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(1180px,100%);max-height:calc(100vh - 2rem);overflow:hidden;border-radius:10px;background:#fff;box-shadow:0 24px 70px #0c182647}.invoice-product-picker-body{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:.85rem;min-height:0;padding:1rem 1.25rem 1.25rem}.invoice-product-toolbar{display:grid;grid-template-columns:minmax(260px,1fr);gap:.75rem}.invoice-product-search{width:100%}.invoice-product-source-switcher{max-height:128px;overflow:auto;padding-bottom:.1rem}.invoice-product-results{min-height:260px;overflow:auto;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#fff}.invoice-product-results-head,.invoice-product-result-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(260px,1.8fr) minmax(120px,.8fr) 100px 130px 92px;gap:.65rem;align-items:center}.invoice-product-results-head{position:sticky;top:0;z-index:1;padding:.62rem .75rem;border-bottom:1px solid rgba(19,34,56,.08);background:#f8fafc;color:#13223894;font-size:.78rem;font-weight:900}.invoice-product-result-row{width:100%;min-height:66px;padding:.68rem .75rem;border:0;border-bottom:1px solid rgba(19,34,56,.07);background:#fff;color:#132238;text-align:left}.invoice-product-result-row:hover,.invoice-product-result-row:focus{outline:none;background:#fff8e8}.invoice-product-source,.invoice-product-name{display:grid;gap:.12rem;min-width:0}.invoice-product-source small,.invoice-product-name small{overflow:hidden;color:#13223894;font-size:.76rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.invoice-product-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-product-select-text{justify-self:end;color:#0b66c3;font-size:.84rem}.invoice-product-empty-state{padding:1.2rem;color:#13223894;font-weight:800;text-align:center}.product-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:.35rem 1.25rem 1.25rem}.product-card-field{display:grid;gap:.3rem;min-height:74px;padding:.9rem .85rem;border-bottom:1px solid rgba(19,34,56,.08)}.product-card-field span{color:#1322388f;font-size:.78rem;font-weight:700}.product-card-field strong{overflow-wrap:anywhere;font-size:.92rem;line-height:1.35}.warehouse-picker{width:46px;height:46px;padding:0;border-radius:10px;border:1px solid rgba(239,172,32,.58);background:#fff;box-shadow:0 10px 22px #0f223812;color:#132238;font-size:.86rem;font-weight:700;line-height:1;text-align:center;text-align-last:center;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.warehouse-picker:focus{border-color:#efac20d9;box-shadow:0 10px 22px #0f223812,0 0 0 3px #efac2029}.topbar,.page-header,.section-card-header,.topbar-user,.page-header-actions,.form-grid,.stats-grid{display:flex;gap:1rem}.topbar,.page-header,.section-card-header{justify-content:space-between;align-items:flex-start}.topbar{margin-bottom:1.5rem}.topbar h1,.page-header h2,.section-card h3{margin:0 0 .35rem}.topbar-user{align-items:center}.ghost-button,.primary-button,.secondary-button{border:none;border-radius:999px;padding:.8rem 1.15rem;font-weight:600}.primary-button{background:linear-gradient(135deg,#efac20,#f7c85f);color:#0f2238}.secondary-button,.ghost-button{background:#fff;color:#132238;border:1px solid rgba(19,34,56,.12)}.danger-button{border:1px solid rgba(185,28,28,.28);border-radius:999px;background:#b91c1c14;color:#991b1b;font-weight:800}.primary-button:disabled,.secondary-button:disabled,.ghost-button:disabled,.danger-button:disabled{opacity:.58;cursor:wait}.content-stack{display:grid;gap:1.2rem}.section-card,.stat-card,.login-card{background:#ffffffeb;border:1px solid rgba(19,34,56,.08);border-radius:24px;box-shadow:0 14px 34px #0f223814}.section-card{padding:1.25rem}.stat-card{padding:1.1rem 1.25rem}.stat-card span{display:block;color:#13223894}.stat-card strong{display:block;font-size:2rem;margin:.4rem 0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:.9rem .8rem;border-bottom:1px solid rgba(19,34,56,.08);text-align:left}.data-table th{color:#13223894;font-weight:600;white-space:nowrap}.empty-cell{text-align:center;color:#13223894}.field{display:grid;gap:.45rem;flex:1 1 220px}.field span{font-size:.92rem;color:#132238ad}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.page-grid{display:grid;gap:1rem}.login-page,.fullscreen-state{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.login-card{width:min(460px,100%);padding:2rem}.login-card h1{margin-top:0}.login-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.login-card-heading h1{margin-bottom:.7rem}.language-switcher{display:inline-flex;flex:0 0 auto;gap:.2rem;padding:.25rem;border:1px solid rgba(19,34,56,.1);border-radius:10px;background:#f4f7fbe0}.language-switcher button{min-width:38px;min-height:30px;padding:.3rem .45rem;border:0;border-radius:7px;background:transparent;color:#132238a3;font-size:.75rem;font-weight:900}.language-switcher button.active{background:#fff;color:#132238;box-shadow:0 5px 14px #0f223817}.password-field{min-width:0}.password-input-wrap{position:relative}.password-input-wrap input{padding-right:3rem}.password-toggle{position:absolute;top:50%;right:.45rem;transform:translateY(-50%);display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;padding:0;border:0;border-radius:10px;background:transparent;color:#1322389e}.password-toggle:hover{background:#13223814;color:#132238}.password-eye-icon{width:1.2rem;height:1.2rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.form-actions{display:flex;justify-content:flex-end;gap:.75rem}.muted{color:#13223894}.badge{display:inline-flex;align-items:center;padding:.35rem .75rem;border-radius:999px;background:#13223814;font-size:.85rem;font-weight:600}.segmented-control{display:grid;grid-template-columns:repeat(2,1fr);gap:.35rem;padding:.25rem;border:1px solid rgba(19,34,56,.1);border-radius:10px;background:#1322380a}.segmented-control button{min-height:38px;border:0;border-radius:8px;background:transparent;color:#132238;font-weight:800}.segmented-control button.active{background:#fff;box-shadow:0 6px 16px #0f223814}.notice{padding:.75rem .9rem;border-radius:9px;font-size:.9rem;font-weight:800}.notice-ok{background:#2f855a1f;color:#166534}.notice-error{background:#b91c1c1a;color:#991b1b}.stack-tight{display:grid;gap:.12rem}.stack-tight span{color:#13223894;font-size:.82rem;font-weight:700}.compact-select{min-width:170px;min-height:36px;padding:.35rem .55rem;border-radius:8px}.table-actions{display:flex;flex-wrap:wrap;gap:.4rem}.compact-button{min-height:32px;padding:.35rem .65rem;border-radius:8px;font-size:.82rem}.status-pill{display:inline-flex;align-items:center;min-height:28px;padding:.25rem .6rem;border-radius:8px;background:#13223814;color:#132238;font-size:.82rem;font-weight:900;white-space:nowrap}.status-active,.status-available{background:#2f855a24;color:#166534}.status-pending{background:#efac202e;color:#92400e}.status-blocked,.status-unavailable{background:#b91c1c1a;color:#991b1b}.roles-toolbar,.catalog-toolbar{display:grid;grid-template-columns:minmax(240px,420px) auto auto;align-items:center;gap:.75rem}.catalog-section-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.65rem}.catalog-section-button{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:48px;padding:.65rem .8rem;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#fff;color:#132238;text-align:left;font-weight:900}.catalog-section-button span{min-width:0}.catalog-section-button strong{flex:0 0 auto;color:#13223894;font-size:.82rem}.catalog-section-button.active{border-color:#efac20f2;background:#efac201f;box-shadow:inset 0 0 0 1px #efac2066}.catalog-subsection-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.9rem}.catalog-subsection-button{display:inline-flex;align-items:center;gap:.45rem;min-height:34px;padding:.4rem .7rem;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#fff;color:#132238;font-size:.86rem;font-weight:900}.catalog-subsection-button span{color:#13223894}.catalog-subsection-button.active{border-color:#2f855a61;background:#2f855a1f;color:#166534}.catalog-pagination{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;margin-bottom:.85rem}.catalog-pagination-bottom{margin-top:.85rem;margin-bottom:0}.catalog-pagination-summary,.catalog-page-controls span,.catalog-per-page span{color:#1322389e;font-size:.88rem;font-weight:800}.catalog-per-page,.catalog-page-controls{display:inline-flex;align-items:center;gap:.5rem}.catalog-per-page .compact-select{min-width:96px}.access-matrix{display:grid;min-width:720px}.access-matrix-row{display:grid;grid-template-columns:minmax(220px,1fr) repeat(4,120px);align-items:center;min-height:48px;border-bottom:1px solid rgba(19,34,56,.08)}.access-matrix-row>*{padding:.55rem .65rem}.access-matrix-head{color:#13223894;font-size:.82rem;font-weight:900}.checkbox-cell{display:grid;place-items:center}.checkbox-cell input,.permission-check input,.inline-checkbox input{width:auto}.permission-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.5rem}.permission-check,.inline-checkbox{display:inline-flex;align-items:center;gap:.45rem;min-height:34px;font-weight:800}.catalog-product strong{min-width:260px}.catalog-delivery{display:inline-flex;min-width:130px;color:#132238;font-weight:800}.invoice-page .section-card{border-radius:10px}.invoice-page,.invoice-page>*,.invoice-layout,.invoice-layout>*{min-width:0;max-width:100%}.invoice-layout{display:grid;grid-template-columns:minmax(520px,1.05fr) minmax(420px,.95fr);gap:1rem;align-items:start}.invoice-status-toggle{width:min(320px,100%)}.invoice-buyer-fields h3,.invoice-lines h3{margin:0;font-size:1rem}.invoice-lines{display:grid;gap:.7rem}.invoice-lines-head,.invoice-toolbar,.invoice-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.invoice-toolbar{margin-bottom:.85rem}.invoice-toolbar input{width:min(420px,100%);min-height:42px}.invoice-line-row{display:grid;grid-template-columns:minmax(120px,.9fr) 72px 96px 132px 90px minmax(118px,.85fr) auto;gap:.65rem;align-items:end;padding:.85rem;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#ffffffe6;box-shadow:0 10px 28px #1322380d}.invoice-line-row .field{min-width:0}.invoice-line-product-field{display:grid;grid-column:1 / -1;gap:.35rem;min-width:0;position:relative}.invoice-product-picker{position:relative}.invoice-product-picker input{min-height:44px;cursor:pointer;background:#fff}.invoice-product-suggestions{position:absolute;z-index:30;top:calc(100% + .35rem);left:0;right:0;max-height:280px;overflow:auto;padding:.35rem;border:1px solid rgba(19,34,56,.12);border-radius:8px;background:#fff;box-shadow:0 18px 40px #13223824}.invoice-product-option{display:grid;gap:.18rem;width:100%;padding:.62rem .7rem;border:0;border-radius:7px;background:transparent;color:#132238;text-align:left}.invoice-product-option:hover,.invoice-product-option:focus{outline:none;background:#eead2d24}.invoice-product-option span,.invoice-product-empty{color:#1322389e;font-size:.82rem}.invoice-product-empty{padding:.7rem}.invoice-line-source-note{display:flex;flex-wrap:wrap;gap:.35rem;min-height:1.35rem}.invoice-line-source-note span{width:fit-content;padding:.16rem .45rem;border-radius:999px;background:#2272b417;color:#132238a8;font-size:.78rem;font-weight:800;line-height:1.25}.invoice-line-row input{min-height:38px;padding:.55rem .65rem;border-radius:8px}.invoice-line-total{display:grid;gap:.24rem;min-height:58px;align-content:center}.invoice-line-total span,.invoice-summary span,.invoice-print-header span,.invoice-print-total span,.invoice-requisites dt{color:#13223894;font-size:.82rem;font-weight:800}.invoice-line-total strong,.invoice-summary strong,.invoice-print-total strong{color:#132238;font-size:1rem}.invoice-summary{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:.7rem}.invoice-summary div{display:grid;gap:.18rem;padding:.75rem;border:1px solid rgba(19,34,56,.1);border-radius:8px;background:#f4f7fbe6}.invoice-summary div:last-child{border-color:#2f855a47;background:#2f855a1a}.invoice-link-button{padding:0;border:0;background:transparent;color:#0b66c3;font:inherit;font-weight:900;text-decoration:underline;text-underline-offset:3px}.invoice-print-paper{display:grid;gap:1rem;padding:1rem;border:1px solid rgba(19,34,56,.12);border-radius:8px;background:#fff}.invoice-contract-print{gap:.65rem;width:min(980px,100%);color:#000;font-family:Arial,Segoe UI,sans-serif;font-size:.72rem;line-height:1.18}.invoice-contract-header{display:grid;gap:.15rem;font-style:italic;font-weight:700}.invoice-contract-seller-header,.invoice-contract-party-header{display:grid;gap:.08rem;font-style:italic;font-weight:700;line-height:1.18;min-width:0;overflow-wrap:anywhere}.invoice-contract-seller-header p,.invoice-contract-party-header p{margin:0}.invoice-contract-seller-header p:first-of-type,.invoice-contract-party-header p:first-of-type{text-decoration:underline}.invoice-contract-header p,.invoice-contract-seller-header p,.invoice-contract-party-header p,.invoice-contract-terms p,.invoice-contract-buyer p,.invoice-contract-summary p,.invoice-contract-signatures p{margin:0}.invoice-contract-title{margin:.9rem 0 1rem;font-size:1rem;text-align:center}.invoice-contract-terms{display:grid;gap:.08rem}.invoice-contract-terms strong{margin-top:.1rem}.invoice-contract-buyer{display:grid;gap:.12rem;margin-top:.6rem;font-style:italic;font-weight:700}.invoice-print-header{display:flex;justify-content:space-between;gap:1rem;padding-bottom:.9rem;border-bottom:2px solid rgba(19,34,56,.12)}.invoice-print-header h3{margin:.1rem 0 0;font-size:1.35rem}.invoice-print-header>div:last-child{display:grid;gap:.15rem;justify-items:end;text-align:right}.invoice-print-header>div:last-child strong{font-size:1.35rem}.invoice-requisites{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem;margin:0}.invoice-requisites div{display:grid;gap:.15rem;min-width:0}.invoice-requisites dd{margin:0;overflow-wrap:anywhere;color:#132238;font-weight:800}.invoice-print-table th,.invoice-print-table td{padding:.6rem .55rem}.invoice-contract-print .table-wrap{overflow:visible}.invoice-contract-print .invoice-print-table{table-layout:fixed;border:1px solid #000000;font-size:.62rem;line-height:1.08}.invoice-contract-print .invoice-print-table th,.invoice-contract-print .invoice-print-table td{padding:.12rem .18rem;border:1px solid #000000;color:#000;vertical-align:top}.invoice-contract-print .invoice-print-table th{font-weight:700;text-align:center;white-space:normal}.invoice-contract-print .invoice-print-table th:nth-child(1),.invoice-contract-print .invoice-print-table td:nth-child(1){width:4%;text-align:center}.invoice-contract-print .invoice-print-table th:nth-child(2),.invoice-contract-print .invoice-print-table td:nth-child(2){width:38%}.invoice-contract-print .invoice-print-table th:nth-child(3),.invoice-contract-print .invoice-print-table td:nth-child(3){width:7%;text-align:center}.invoice-contract-print .invoice-print-table th:nth-child(n+4),.invoice-contract-print .invoice-print-table td:nth-child(n+4){text-align:right}.invoice-print-total-row td{font-weight:700}.invoice-contract-summary{display:grid;gap:.55rem;margin-top:.4rem}.invoice-contract-requisites{display:grid;grid-template-columns:1fr 1fr;gap:.8rem 1.25rem;margin-top:.45rem;padding-top:.5rem;border-top:1px solid #000000;font-style:italic;font-weight:700}.invoice-contract-requisites h4{margin:0 0 .12rem;font-size:.76rem}.invoice-contract-signatures{display:grid;grid-template-columns:1fr 1fr;gap:1rem 2.5rem;align-items:end;margin-top:.85rem}.invoice-signature-block{display:grid;gap:.36rem;width:min(340px,100%)}.invoice-signature-buyer{justify-self:start}.invoice-signature-director{justify-self:end}.invoice-signature-line{min-height:1rem;border-bottom:2px solid #000000}.invoice-print-total{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:.65rem;justify-self:end;width:min(520px,100%)}.invoice-print-total div{display:grid;gap:.18rem;padding:.65rem;border:1px solid rgba(19,34,56,.1);border-radius:8px}.invoice-purpose{margin:0;padding-top:.75rem;border-top:1px solid rgba(19,34,56,.1);color:#132238b8;font-weight:700}.status-sent{background:#0b66c31f;color:#0b4f95}.status-paid{background:#2f855a24;color:#166534}.status-cancelled{background:#b91c1c1a;color:#991b1b}.status-one-c-sent{background:#2f855a24;color:#166534}.status-one-c-pending{background:#efac202e;color:#92400e}.status-one-c-failed{background:#b91c1c1a;color:#991b1b}.status-one-c-skipped{background:#13223814;color:#132238a3}@media (max-width: 1280px){.invoice-layout{grid-template-columns:1fr}}@media (max-width: 1024px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.order-search,.external-price-search,.catalog-toolbar{grid-template-columns:1fr}.price-status-metrics{grid-template-columns:repeat(2,minmax(120px,1fr))}.external-prices-topline{align-items:flex-start;flex-direction:column}.external-prices-actions{width:100%;justify-content:space-between}.order-search .primary-button,.external-price-search .primary-button,.catalog-toolbar .primary-button{width:100%}.product-card-grid{grid-template-columns:1fr}.product-card-modal{max-height:calc(100vh - 1rem)}.cart-modal-summary{grid-template-columns:repeat(2,minmax(130px,1fr))}.invoice-line-row{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-product-results-head{display:none}.invoice-product-result-row{grid-template-columns:1fr;align-items:start}.invoice-product-select-text{justify-self:start}}@media (max-width: 560px){.login-card-heading{display:grid}.price-status-metrics,.cart-modal-summary,.invoice-summary,.invoice-print-total,.invoice-requisites,.invoice-line-row{grid-template-columns:1fr}.invoice-print-header{display:grid}.invoice-print-header>div:last-child{justify-items:start;text-align:left}}@media print{:root{background:#fff}body{background:#fff}.sidebar,.topbar,.page-header,.invoice-screen-only,.invoice-page>.invoice-layout>.section-card,.invoice-page>.invoice-layout>.content-stack>.section-card:first-child,.invoice-page .section-card-header{display:none!important}.app-shell,.invoice-layout{display:block}.app-main,.section-card,.invoice-print-paper{padding:0;border:0;box-shadow:none;background:#fff}.invoice-print-paper{gap:.8rem}.invoice-contract-print{width:100%;font-size:7.7pt;line-height:1.12}.invoice-contract-title{font-size:11pt;margin:.7rem 0 1rem}.invoice-contract-print .invoice-print-table{font-size:6.6pt}.data-table th,.data-table td{border-color:#d7dce3}}
