:root{font:15px/1.45 system-ui,-apple-system,Segoe UI,sans-serif;color:#18243b;background:#f5f7fb}
.brand mark{background:#FFD400;color:#000;font-weight:900;padding:0 3px}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap}.admin-tabs button{background:#eaf0ff;color:#1d49b7}.admin-tabs button.active{background:#2356d7;color:#fff}.admin-panel{max-width:1100px}.admin-panel>details{border-top:1px solid #e4e9f2;margin-top:16px;padding-top:12px}.admin-panel summary,.choice-dropdown summary{cursor:pointer;font-weight:650}.choice-dropdown{position:relative;min-width:200px}.choice-dropdown summary{border:1px solid #cbd4e5;border-radius:9px;padding:9px 12px;background:#fff}.choice-dropdown[open]{z-index:2}.choice-options{max-height:180px;overflow:auto}.choice-dropdown .admin-choice{display:flex}.choice-search{width:100%;margin:6px 0}.admin-row.user-row{align-items:center}.admin-row.user-row>.choice-dropdown{width:min(320px,100%)}#companySearch,#companySelect{display:block;width:min(540px,100%);margin:8px 0}.admin-panel .company-row{max-width:100%}
.choice-dropdown summary{list-style:none;display:flex;align-items:center;justify-content:space-between;min-height:43px}.choice-dropdown summary::-webkit-details-marker{display:none}.choice-dropdown summary:after{content:"▾";color:#65728a;margin-left:10px}.choice-dropdown[open] summary:after{content:"▴"}.choice-dropdown .choice-options{padding:4px 9px;border:1px solid #cbd4e5;border-radius:9px;background:#fff}.admin-form .choice-dropdown{width:min(300px,100%);align-self:end}.admin-form .choice-dropdown .admin-choice{display:flex;justify-content:flex-start;width:100%}.admin-form .choice-dropdown .admin-choice input{flex:none;min-width:18px}
.choice-popover{position:absolute;top:calc(100% + 4px);left:0;z-index:20;width:max(100%,260px);max-width:min(440px,90vw);padding:8px;background:#fff;border:1px solid #cbd4e5;border-radius:9px;box-shadow:0 12px 28px #18243b24}.choice-dropdown .choice-popover .choice-options{border:0;padding:0}.choice-popover .choice-search{margin:0 0 7px}.admin-form .choice-dropdown{align-self:auto}#newUserForm>label select{width:100%;min-height:43px;border:1px solid #cbd4e5;border-radius:9px;background:#fff;color:#18243b;padding:9px 12px}#newUserForm>label{min-width:230px;flex:1}#newUserForm>button,.connection-form>button{width:auto;min-height:40px;height:40px;flex:0 0 auto;white-space:nowrap}#newUserForm>button{margin-left:auto;align-self:flex-end}.connection-form>button{grid-column:1/-1;justify-self:end}.admin-form button.primary,.connection-form button.primary{border-radius:9px}
#adminPage .choice-native{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}#adminPage .styled-select{width:100%;min-width:180px}#adminPage .choice-option{display:block;width:100%;padding:9px 10px;border:0;border-radius:6px;background:#fff;color:#18243b;text-align:left;font-weight:400}#adminPage .choice-option:hover,#adminPage .choice-option:focus{background:#eaf0ff}#adminPage .choice-option[hidden]{display:none}.user-permission-pair{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;width:100%}.user-permission-pair>div{flex:1 1 240px}.user-permission-pair .choice-dropdown{width:100%}.user-editor{grid-template-columns:repeat(2,minmax(220px,1fr));align-items:start}.user-editor>label,.user-editor>.user-actions{grid-column:1/-1}.user-editor>.choice-dropdown{width:100%}@media(max-width:650px){.user-editor{grid-template-columns:1fr}}
#adminPage .account-binding{min-height:43px;border:1px solid #cbd4e5;border-radius:9px;background:#fff;color:#18243b;padding:9px 12px}
.key-expiry{white-space:nowrap;color:#53627a}.key-expiry-red{color:#b42318;font-weight:700;background:#fff0ee}.key-alert{border:2px solid #d92d20;background:#fff6f4}.key-alert span,.key-alert strong{color:#b42318}.key-alert p{margin:8px 0}
.task-bar{background:#edf3ff;border-bottom:1px solid #cbdaf8;padding:6px max(20px,3vw);position:relative;z-index:3}.task-bar-running{background:#fff6df;border-color:#f0d88e}.task-bar-error{border-left:4px solid #ca573e}.task-bar-toggle{background:transparent;color:#233c6a;padding:6px 0;text-align:left}.task-bar-details{padding:8px 0 12px;display:grid;gap:8px}.task-row{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;border-top:1px solid #d6e0f2;padding-top:7px}.task-row strong{min-width:170px}.task-row small{color:#66758c}
.header-utilities{display:flex;align-items:center;gap:4px;flex-shrink:0}.header-utilities>.menu-wrap{min-width:0;max-width:220px}.header-utilities>.menu-wrap>button{white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.notification-wrap{flex-shrink:0}.notification-wrap>button{white-space:nowrap}.notifications-panel{width:min(550px,calc(100vw - 24px));max-height:70vh;overflow:auto}.notifications-panel .task-bar{border:1px solid #cbdaf8;border-radius:10px;padding:8px;margin-top:10px}.notifications-panel .task-bar button{width:auto}.notifications-panel .task-row{display:block}.notifications-panel .task-row strong,.notifications-panel .task-row span{display:block}#notificationCount{background:#2856cb;color:#fff;border-radius:12px;padding:1px 6px;font-size:11px}#notificationCount.critical,.notification-critical{background:#c93d37;color:#fff}.price-notice{display:block;padding:8px 0;border-bottom:1px solid #e3e9f4}.price-notice strong,.price-notice small{display:block}.price-notice-critical{color:#b42318}
.calculation-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 14px}.calculation-summary>div{padding:14px;border:1px solid #d6deeb;border-radius:11px;background:#f7f9fd}.calculation-summary small{display:block;color:#65728a;margin-bottom:6px}.calculation-summary strong{font-size:22px}.calculation-formula{padding:14px;background:#eaf0ff;border-radius:10px;color:#183f94;font-weight:650;line-height:1.5;margin-bottom:14px}@media(max-width:650px){.calculation-summary{grid-template-columns:1fr}}
.repricer-extra-row{grid-column:3;display:flex;align-items:end}.repricer-extra-row label{width:100%}@media(max-width:820px){.repricer-extra-row{grid-column:1/-1}}
.repricer-run-preview{max-height:360px;overflow:auto;margin:14px 0}.repricer-run-preview table{width:100%;border-collapse:collapse}.repricer-run-preview th,.repricer-run-preview td{padding:8px;border:1px solid #d9e2f0;text-align:left}.repricer-run-approval{display:flex;align-items:center;gap:10px;margin:14px 0}.repricer-run-approval input{width:auto}#repricerRunDownload{display:inline-block;margin:8px 0;padding:9px 13px;text-decoration:none;border-radius:9px}
#repricerRunInline{margin:14px 0}#repricerRunInline strong{display:block}#repricerRunInline .hint{margin:6px 0 10px}#repricerRunInline button{margin:4px 8px 0 0}
.repricer-dialog [hidden]{display:none!important}
.price-notice{display:block;border-top:1px solid #e2e7f0;padding:9px 4px}.price-notice strong,.price-notice small{display:block}.price-notice small{color:#8b3540;margin-top:4px}
.pricing-notifications{margin-top:10px}.price-notice-heading{display:block;margin-bottom:8px;color:#18243b}.price-market-group{border:1px solid #dce4f1;border-radius:9px;background:#fff;margin-top:6px;color:#18243b}.price-market-group>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:10px 12px}.price-market-group>summary::-webkit-details-marker{display:none}.price-market-group>summary strong{flex:1}.price-market-group>summary span{color:#65728a;font-size:12px}.price-market-group>summary:after{content:'▾';color:#65728a;font-size:16px;line-height:1}.price-market-group[open]>summary:after{content:'▴'}.price-market-group[open]>summary{border-bottom:1px solid #e3e9f4}.price-market-critical>summary strong,.price-market-critical>summary span{color:#b42318}.price-market-entries{max-height:250px;overflow:auto;padding:0 12px}.price-market-entries .price-notice{margin:0}.price-market-empty{margin:10px 0}
[hidden]{display:none!important}
.product-intro{flex-wrap:wrap}.product-actions{display:flex;gap:10px;flex-wrap:wrap}.product-actions button{white-space:normal}.product-search{width:min(430px,100%);margin:0 0 14px}
.auth-main{min-height:100vh;display:grid;place-items:center}.auth-card{width:min(440px,100%)}.auth-card input{width:100%}.password-row{display:flex;gap:8px}.password-row input{flex:1}
#passwordDialog input{width:100%}
#adminPage{display:grid;gap:18px}.admin-form{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.admin-form input{min-width:160px;flex:1}.admin-row{border-bottom:1px solid #e4e9f2;padding:12px 0;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.admin-row input,.admin-row select{min-width:130px}.admin-row .wide-input{flex:1}.admin-choice{display:inline-flex;gap:5px;align-items:center;margin:5px 12px 5px 0}.admin-choice input{width:18px;height:18px}
.company-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;padding:20px 0}.company-title{grid-column:1/-1}.admin-field{margin:0;min-width:0;font-size:13px;color:#5c6980}.admin-field input{display:block;width:100%;min-width:0;margin-top:4px}.company-row .save-company{justify-self:start}@media(max-width:650px){.company-row{grid-template-columns:1fr}}
.connection-details{border:1px solid #dfe5ef;border-radius:10px;padding:12px;margin:14px 0 20px}.connection-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}.connection-form label{display:grid;gap:5px;align-content:start}.connection-form input,.connection-form select{width:100%;min-width:0}.connection-form label[hidden]{display:none}.connection-form button{justify-self:start}.account-search{width:min(420px,100%);display:block;margin:7px 0 12px}.account-table-scroll{max-height:430px;overflow:auto;border:1px solid #e3e8f0;border-radius:10px}.account-table{min-width:580px}.account-table select{width:100%;min-width:180px}.user-card{border-bottom:1px solid #e4e9f2;padding:14px 0}.user-summary{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.user-card details{margin:12px 0 0}.user-editor{display:grid;justify-items:start;gap:12px;padding:14px 0}.user-editor .choice-dropdown{width:min(420px,100%)}.user-editor .choice-options{display:grid;justify-items:start}.user-editor .admin-choice{margin:5px 0}.user-actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:650px){.connection-form{grid-template-columns:1fr}}
.repricer-page{display:grid;gap:18px;max-width:1250px}.repricer-page .card p{color:#65728a}.repricer-upload,.repricer-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.repricer-upload input{max-width:460px}.repricer-rules-scroll{max-height:500px}.repricer-rules{min-width:520px}.repricer-rules input{width:100%;min-width:90px}.repricer-products-scroll{max-height:500px}.repricer-page #repricerSearch{width:min(440px,100%)}
.repricer-toolbar,.repricer-filters{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.repricer-toolbar h2{margin-bottom:4px}.repricer-filters{justify-content:flex-start;margin:14px 0}.repricer-filters select{min-width:190px;max-width:320px}.repricer-price-table{min-width:980px}.repricer-price-table tbody tr{cursor:pointer}.repricer-price-table tbody tr:hover{background:#f3f7ff}.repricer-price-table td small{font-size:11px}.repricer-price-table td>div+div{margin-top:5px;border-top:1px solid #edf0f5;padding-top:5px}.repricer-dialog{width:min(1120px,calc(100vw - 30px));max-height:90vh;overflow:auto}.repricer-dialog>select{width:min(480px,100%)}.repricer-rate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.repricer-rate-grid label{margin:0}.repricer-rate-grid input{display:block;width:100%;margin-top:5px}.repricer-rules{min-width:850px;table-layout:fixed}.repricer-rules td{padding:6px}.repricer-rules input{min-width:0}.repricer-rules .repricer-lower{background:#f2f4f8;color:#65728a}@media(max-width:700px){.repricer-rate-grid{grid-template-columns:1fr 1fr}}
.repricer-show-calculation{padding:4px 8px;margin-top:5px;font-size:12px}.repricer-calculation-dialog{width:min(720px,calc(100vw - 30px))}.repricer-calculation-table{min-width:0}.repricer-calculation-table th{position:static;letter-spacing:0;text-transform:none;font-size:13px;width:65%;background:transparent}.repricer-calculation-table td{font-weight:650;text-align:right}.repricer-calculation-dialog .status{margin:14px 0}
.repricer-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:48px;padding-right:36px}.repricer-dialog-head h2{margin:0}.repricer-switch{display:grid;grid-template-columns:auto 48px;align-items:center;gap:2px 10px;margin:0;cursor:pointer}.repricer-switch small{grid-column:1/-1;color:#65728a;font-size:11px;font-weight:400}.repricer-switch input{position:absolute;opacity:0;width:1px;height:1px}.repricer-slider{width:48px;height:27px;border-radius:20px;background:#aab5c7;position:relative;transition:background .2s}.repricer-slider:before{content:"";position:absolute;width:21px;height:21px;left:3px;top:3px;border-radius:50%;background:white;transition:transform .2s}.repricer-switch input:checked+.repricer-slider{background:#2356d7}.repricer-switch input:checked+.repricer-slider:before{transform:translateX(21px)}.repricer-switch input:focus-visible+.repricer-slider{outline:3px solid #8eafff;outline-offset:2px}@media(max-width:650px){.repricer-dialog-head{display:block}.repricer-switch{margin:12px 0}}
.home-page{display:grid;gap:18px}.home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.home-stat{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:160px;color:#18243b}.home-stat>span{color:#65728a;font-weight:650}.home-stat strong{font-size:29px;margin:10px 0}.home-stat small{color:#65728a;line-height:1.4}.home-stat select{margin-top:8px;width:100%}button.home-stat:hover{border-color:#2356d7;box-shadow:0 8px 24px #25395d19}.health-green{border-left:5px solid #27a36b}.health-yellow{border-left:5px solid #e0a221}.health-red{border-left:5px solid #d44747}.home-sales-head{display:flex;justify-content:space-between;gap:20px;align-items:start;flex-wrap:wrap}.home-controls{display:flex;gap:12px;flex-wrap:wrap}.home-controls label{margin:0;font-size:13px;color:#65728a}.home-controls select{display:block;margin-top:5px;min-width:145px}.home-chart{margin-top:20px;min-height:240px;overflow:auto}.home-chart svg{display:block;width:100%;min-width:550px}.home-chart text{font-size:11px;fill:#65728a}.home-empty{display:grid;place-items:center;min-height:180px;color:#65728a}@media(max-width:900px){.home-grid{grid-template-columns:1fr}}
.site-header>.menu-wrap{max-width:220px;min-width:150px}.site-header>.menu-wrap>button{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.site-header nav button{padding:8px 10px;font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:10px 14px;font-weight:650}button:disabled{cursor:default;opacity:.5}input,select{border:1px solid #cbd4e5;border-radius:9px;background:#fff;padding:10px 12px;color:inherit}label{display:block;font-weight:650;margin:12px 0 6px}h1{font-size:27px;margin:0}h2{font-size:19px;margin:0 0 16px}p{margin:8px 0}.primary{background:#2356d7;color:white}.secondary{background:#eaf0ff;color:#1d49b7}.quiet{background:#f0f3fa;color:#33435e}.wide{width:100%;margin-top:18px}.hint{color:#65728a;font-size:13px;margin-top:16px}.site-header{display:flex;align-items:center;gap:26px;background:white;border-bottom:1px solid #dfe5ef;padding:13px max(22px,3vw);position:relative;z-index:4}.brand{display:grid;min-width:145px}.brand strong{font-size:19px}.brand span{font-size:11px;color:#6b7890}.site-header nav{display:flex;gap:6px;flex:1;flex-wrap:wrap}.site-header nav button{background:transparent;color:#52617a}.site-header nav button.active{background:#eaf0ff;color:#1d49b7;opacity:1}.menu-wrap{position:relative}.popup{position:absolute;right:0;top:calc(100% + 6px);background:white;border:1px solid #d6deeb;box-shadow:0 12px 32px #172a4a22;border-radius:12px;padding:8px;z-index:10;min-width:230px}.popup button{background:transparent;color:#22314e;text-align:left;width:100%;display:block}.popup button:hover{background:#eaf0ff}.popup strong{display:block;font-size:12px;color:#64728b;padding:10px 12px 3px;text-transform:uppercase;letter-spacing:.05em}.popup strong:not(:first-child){border-top:1px solid #e8ecf4;margin-top:6px}main{max-width:1500px;margin:auto;padding:28px max(20px,3vw)}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-heading p{color:#65728a}.badge{padding:7px 12px;border-radius:20px;background:#e8f0ff;color:#2050c8;font-weight:700}.layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:20px}.card{background:#fff;border:1px solid #dfe5ef;border-radius:15px;box-shadow:0 4px 16px #25395d0a;padding:20px}.parameters select{width:100%}.workspace{min-width:0}.tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.tabs button{background:#edf1f9;color:#34435d}.tabs button.active{background:#2356d7;color:#fff}.status{border-radius:9px;padding:10px 13px;background:#edf3ff;margin:0 0 18px}.status.error{background:#fff0ee;color:#a52822}.toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:16px}.toolbar .field{min-width:180px}.toolbar .search{flex:1}.toolbar input,.toolbar select{width:100%}.toolbar button{white-space:nowrap}.tablewrap{overflow:auto;max-height:70vh}table{border-collapse:collapse;width:100%;min-width:700px}th,td{text-align:left;border-bottom:1px solid #e9edf4;padding:10px 8px;vertical-align:top}th{color:#65728a;font-size:11px;letter-spacing:.05em;text-transform:uppercase;background:#fff;position:sticky;top:0}td small{display:block;color:#6e7a90;margin-top:3px}.pick-select{min-width:145px}.tag{background:#eef2f9;border-radius:20px;padding:3px 8px;font-size:12px;white-space:nowrap}.select-cell{width:36px}.select-cell input{width:18px;height:18px}.product-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.product-intro p{color:#65728a}.add-picker{display:flex;gap:8px;margin-bottom:18px}.add-picker input{min-width:0;width:230px}.check{font-weight:400}.check input{width:18px;height:18px;vertical-align:middle}dialog{border:1px solid #d9e0ec;border-radius:16px;padding:26px;width:min(650px,calc(100vw - 30px));box-shadow:0 20px 70px #15234055}dialog::backdrop{background:#16223d99}dialog .close{position:absolute;right:12px;top:10px;background:transparent;font-size:26px;color:#65728a}dialog input[type=file]{width:100%;margin-bottom:12px}dialog #importResult{margin-top:15px}dialog #importSummary{margin:12px 0;max-height:250px;overflow:auto}.summary-row{display:flex;justify-content:space-between;border-bottom:1px solid #e9edf4;padding:6px 0}.print-page{break-after:page}.print-page:last-child{break-after:auto}.print-page h1{font-size:18px}.print-page .print-meta{color:#63708a;margin-bottom:16px}
.print-dialog{width:min(950px,calc(100vw - 30px));max-height:90vh;overflow:auto}.print-dialog .dialog-actions{margin:8px 0 22px}.print-dialog .print-page{padding:16px 0;border-top:1px solid #e2e7f0}.print-dialog .print-page table{min-width:0}.print-dialog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:4px 0 12px}.print-dialog-toolbar .hint{margin:0}.print-dialog-toolbar button{flex-shrink:0}@media(max-width:650px){.print-dialog-toolbar{align-items:flex-start;flex-direction:column}}
.status.success{background:#e7f6ea;color:#176634;border:1px solid #8ed2a2;font-weight:650}.print-file{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-top:1px solid #e2e7f0}.print-file strong{display:block;overflow-wrap:anywhere}.print-file small{display:block;color:#65728a;margin-top:4px}.print-file-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}@media(max-width:650px){.print-file{align-items:flex-start;flex-direction:column}}
.orders-grid{min-width:1050px;width:100%;table-layout:fixed}.orders-grid .order-select-col{width:6%}.orders-grid .order-number-col{width:28%}.orders-grid .order-status-col{width:18%}.orders-grid .order-products-col{width:48%}.orders-grid .order-number strong{white-space:nowrap}
.parameters input[type=date]{width:100%}.orders-grid.dated{min-width:1300px}.orders-grid.dated .order-number-col{width:19%}.orders-grid.dated .order-accepted-col{width:14%}.orders-grid.dated .order-shipment-col{width:14%}.orders-grid.dated .order-status-col{width:16%}.orders-grid.dated .order-products-col{width:31%}
.shipment-picker{position:relative}.shipment-date-button{width:100%;text-align:left;border:1px solid #cbd4e5;background:#fff;color:#22314e;font-weight:400}.shipment-date-panel{position:absolute;z-index:12;top:calc(100% + 6px);left:0;width:min(310px,calc(100vw - 40px));padding:14px;background:#fff;border:1px solid #cbd4e5;border-radius:10px;box-shadow:0 12px 32px #172a4a22}.shipment-month{display:flex;align-items:center;justify-content:space-between}.shipment-month button{background:#eef2f9;padding:4px 11px;font-size:22px}.shipment-weekdays,.shipment-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.shipment-weekdays{margin-top:12px;color:#65728a;font-size:12px}.shipment-calendar{margin-top:4px}.shipment-calendar button{padding:7px 0;background:#fff;font-weight:400}.shipment-calendar button:hover,.shipment-calendar button.between{background:#eaf0ff}.shipment-calendar button.selected{background:#2356d7;color:#fff}.shipment-date-panel .hint{margin:10px 0}.shipment-date-panel .primary{width:100%}
@media(max-width:900px){.site-header{display:block}.site-header nav{margin:10px 0}.layout{grid-template-columns:1fr}.tablewrap{max-height:none}}
@media print{@page{size:A4;margin:12mm}body{background:#fff}.site-header,main,dialog:not(#printDialog),#printDialog form,#printDialog h2,#printDialog .dialog-actions{display:none!important}#printDialog{display:block!important;position:static;border:0;box-shadow:none;max-width:none;max-height:none;width:100%;margin:0;padding:0}#printArea{display:block!important}.print-page table{min-width:0;font-size:11px}.print-page th{position:static}.print-page tr{break-inside:avoid}}
.stock-page{display:grid;gap:18px}.stock-head{display:flex;justify-content:space-between;gap:20px;align-items:start;flex-wrap:wrap}.stock-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0}.stock-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.stock-account{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid #dfe5ef;border-radius:10px;padding:8px 12px}.stock-account span{font-size:13px}.stock-account label{margin:0}.stock-dialog{width:min(1000px,calc(100vw - 30px));max-height:90vh;overflow:auto}.stock-entry-table{min-width:750px}.stock-entry-table input,.stock-entry-table select{width:100%}.stock-entry-table td{padding:6px}.stock-history-list{max-height:55vh;overflow:auto}.stock-history-row{display:flex;justify-content:space-between;width:100%;margin:4px 0;background:#f3f6fb;text-align:left}.stock-history-row:hover{background:#e8f0ff}
.stock-market-filter{width:min(290px,100%);margin:12px 0}.stock-market-filter select{display:block;width:100%;margin-top:6px}.stock-account-text{display:block;min-width:0}.stock-account-text strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}.stock-account-text small{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:#65728a;overflow-wrap:anywhere}.stock-account .repricer-switch{flex-shrink:0}
.stock-history-row.cancelled{color:#8b3540;background:#fff1ef}.stock-dialog textarea{display:block;width:100%;min-height:70px;margin:6px 0 12px;border:1px solid #cbd4e5;border-radius:9px;padding:10px 12px;font:inherit;resize:vertical}
.styled-select .choice-popover{position:fixed;max-height:min(320px,50vh);overflow:auto;max-width:calc(100vw - 16px)}
.goods-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:16px 0}
.goods-toolbar input{width:min(420px,100%)}
.goods-table-wrap{max-height:65vh;overflow:auto}
.goods-table-wrap td:nth-child(2){font-weight:600;overflow-wrap:anywhere}
.goods-photo{display:block;width:64px;height:64px;object-fit:contain;border:1px solid #e1e7f1;border-radius:8px;background:#fff}
#adminPage select.choice-native,select.choice-native{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important}
.styled-select{min-width:180px;max-width:100%}
.parameters .styled-select,.toolbar .field .styled-select{width:100%;min-width:0}
.repricer-filters .styled-select{min-width:190px;max-width:320px}
.repricer-dialog>.styled-select{width:min(480px,100%)}
.styled-select>summary{width:100%;min-width:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.styled-select .choice-popover{box-sizing:border-box;max-width:calc(100vw - 16px)}
.styled-select .choice-options{max-height:min(260px,42vh);overflow-y:auto;overflow-x:hidden}
.styled-select .choice-option{display:block;width:100%;box-sizing:border-box;padding:9px 10px;border:0;border-radius:6px;background:#fff;color:#18243b;text-align:left;font-weight:400;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.styled-select .choice-option:hover,.styled-select .choice-option:focus-visible{background:#eaf0ff;color:#18243b}
.styled-select .choice-option[hidden]{display:none}

.brand-logo { display: block; width: 156px; height: auto; margin-block: -10px; }

.site-header nav > a { align-self: center; padding: 8px 10px; border-radius: 9px; color: #52617a; font-weight: 650; text-decoration: none; }
.site-header nav > a:hover, .site-header nav > a.active { background: #eaf0ff; color: #1d49b7; }
