.sales-documents form{display:grid;gap:18px}.sales-documents .source-text{width:100%;min-height:240px;font-family:monospace;font-size:13px}.sales-documents .file-version{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.sales-documents input[type=file]{max-width:100%}.sales-documents .import-party{margin:6px 0}.sales-documents .check{display:flex;align-items:center;gap:10px}.sales-documents .check input{width:18px;height:18px;flex:none}:root{--background:#f3f5f8;--foreground:#172b42;--primary:#ee6c32;--primary-foreground:#fff;--card:#fff;--border:#e2e7ee;--muted:#6b7b8d;--radius:.8rem;color-scheme:light}.stock-metrics{margin-top:18px}.investment-method{margin:0 0 16px}.investment-method>summary{font-size:13px;color:#607287;cursor:pointer}.investment-method>p{max-width:900px}.purchase-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:#f7f9fb;border:1px solid var(--border);border-radius:9px;padding:16px;margin:16px 0}.purchase-amounts span{display:block;font-size:12px;color:var(--muted)}.purchase-amounts strong{display:block;margin-top:6px;overflow-wrap:anywhere}.purchase-amounts>small{grid-column:1/-1}.plan-price-rub{font-size:11px}.line-edit:has(.plan-price-rub){align-items:start}@media(max-width:760px){.purchase-amounts{grid-template-columns:1fr}}*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:Arial,Segoe UI,sans-serif;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{transition:background .15s,color .15s}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #ed8c5b;outline-offset:3px}a{color:#1761a4;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.8px;font-weight:700}h2{font-size:21px;letter-spacing:-.35px;font-weight:700}h3{font-size:16px;font-weight:700}p{margin:10px 0;color:#607287}small{display:block;font-size:13px;color:#708093}strong,b{font-weight:600}button{border:0;background:none;color:inherit}.app{display:flex;min-height:100vh}.sidebar{width:258px;flex:none;background:#11283f;color:#b9c7d5;position:fixed;inset:0 auto 0 0;padding:31px 17px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:21px;font-weight:700;white-space:nowrap;text-align:left;padding:0 10px;letter-spacing:-.5px}.brand>span{background:#ed7139;border-radius:9px;display:grid;place-items:center;width:37px;height:39px;color:#fff;font-size:25px}.workspace-label{font-size:11px;letter-spacing:1.5px;color:#8fa4b9;margin:40px 14px 15px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{display:flex;gap:12px;align-items:center;text-align:left;font-size:14px;border-radius:7px;padding:12px 14px;min-height:45px}.sidebar nav button:hover{background:#1b354e;color:#fff}.sidebar nav button.active{background:#294056;color:#fff;box-shadow:inset 3px 0 #ef7a43}.sidebar nav button.active svg{color:#f96}.sidebar nav i{width:6px;height:6px;background:#ef7a43;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;border-top:1px solid #2e4359;padding:20px 0 0;display:flex;align-items:center;gap:10px;font-size:14px}.sidebar-bottom small{font-size:11px;color:#9eafc1}.sidebar-bottom .icon{color:#a8b9cb}.avatar{width:33px;height:33px;border-radius:50%;background:#354f68;display:grid;place-items:center;color:#fff}main{margin-left:258px;width:calc(100% - 258px)}header{background:#fff;border-bottom:1px solid var(--border);padding:25px 38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.heading{display:flex;align-items:center;gap:12px}.breadcrumb{font-size:12px;color:#7b8999;display:flex;gap:7px;align-items:center;margin-bottom:5px}.header-right{display:flex;align-items:center;gap:18px}.date-label{font-size:13px;color:#718298}.content{max-width:1700px;margin:auto;padding:28px 38px 20px}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px;margin-bottom:22px;min-width:0;box-shadow:0 3px 8px #162a4203}.panel>h2{margin-bottom:16px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px}.section-top h2{margin-top:5px}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:600;color:#8190a1}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.metrics.three{grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0 0}.metric{padding:20px;background:#fff;border:1px solid var(--border);border-radius:10px;min-width:0}.metric>span{font-size:13px;font-weight:500;color:#728296;display:block}.metric strong{display:block;font-size:27px;letter-spacing:-1px;margin:13px 0 7px;overflow-wrap:anywhere}.metric small{font-size:12px}.metric.accent{background:#f1f8f6;border-color:#d5e7df}.metric.accent strong{color:#17845b}.panel .metric{padding:17px;background:#f7f9fb;border:0}.panel .metric strong{font-size:23px}.panel .metric.accent{background:#ecf7f1}.overview-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.workflow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:25px 0}.workflow button{border:1px solid #e1e7ee;padding:16px 13px;border-radius:9px;position:relative;text-align:left;min-height:126px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}.workflow button:hover{background:#fff7f0;border-color:#edb393}.workflow button>svg:last-child{position:absolute;right:10px;bottom:15px}.workflow button strong{font-size:13px;line-height:1.4;padding-right:8px}.step-number{position:absolute;right:12px;top:10px;font-size:11px;color:#8f9eac}.workflow button>svg{color:#bd724d}.period{display:flex;align-items:center;gap:8px;border-top:1px solid #edf0f4;padding-top:20px;flex-wrap:wrap;font-size:12px}.period>span:first-child{margin-right:auto;font-size:14px;font-weight:600}.period input{max-width:140px;font-size:12px;padding:6px;border-color:#e4e8ed;min-height:33px}.event{display:flex;gap:12px;border-top:1px solid #edf0f5;padding:15px 0;align-items:flex-start}.event>svg{margin-top:3px;flex:none;color:#8c9dae}.event>div{flex:1}.event strong{display:block;font-size:14px}.event span{display:block;font-size:12px;color:#7e8b9a}.event b{font-size:13px}.event .badge{font-size:10px;padding:3px 5px}.calm{padding:35px 10px;text-align:center}.calm>svg{color:#248c6a;margin:0 auto 12px}.calm p{font-size:14px}.badge{display:inline-flex!important;align-items:center;gap:5px;background:#eef2f6;color:#61778d;padding:4px 9px;border-radius:5px;font-size:12px;white-space:nowrap;font-weight:500}.badge.green{background:#eaf6ef;color:#1e8158}.badge.red{background:#fff0ed;color:#c85646}.badge.blue{background:#edf4fc;color:#3778ad}.badge.amber{background:#fff4df;color:#996926}.red{color:#c45142!important}.amber{color:#a26c24!important}.green{color:#188256!important}.button,.primary,.small{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dce3ea;background:#fff;padding:9px 14px;border-radius:7px;font-size:14px;line-height:1.5;text-decoration:none;min-height:39px;cursor:pointer}.primary{background:#ec7139;border-color:#ec7139;color:#fff;font-weight:600}.primary:hover{background:#d9612b;text-decoration:none}.button:hover,.small:hover{background:#f2f5f8;text-decoration:none}.button.primary:hover{background:#d9612b}.small{padding:5px 9px;font-size:12px;min-height:30px}.icon{display:inline-flex;align-items:center;justify-content:center;padding:7px;border-radius:6px}.icon:hover{background:#dce4ed40}.text-button{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#62809a}.link{color:#22658f;font-weight:600;text-align:left;padding:0}.link:hover{text-decoration:underline}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.toolbar:last-child{margin-bottom:0}.toolbar .field{max-width:260px}.toolbar>span{font-size:14px;color:#6b7d90}.table-wrap{overflow-x:auto;margin:0 -24px}table{width:100%;border-collapse:collapse;font-size:14px;text-align:left;white-space:nowrap}th{background:#f7f9fb;color:#8492a2;font-size:11px;letter-spacing:.45px;font-weight:600;text-transform:uppercase;padding:12px 18px;border-block:1px solid #edf0f4}th:first-child,td:first-child{padding-left:24px}th:last-child,td:last-child{padding-right:24px}td{padding:17px 18px;border-bottom:1px solid #edf0f4;color:#3b5064}tr:last-child td{border-bottom:0}td .toolbar{margin:0;flex-wrap:nowrap}td small{font-size:12px;margin-top:2px}.empty{text-align:center;color:#8596a8;padding:55px 20px}.empty svg{margin:0 auto 13px;color:#97adbf}.empty h3{color:#3f586e;font-size:18px}.empty p{max-width:510px;margin:8px auto;font-size:14px}.search{display:flex;align-items:center;gap:10px;max-width:410px;background:#fff;border:1px solid var(--border);border-radius:8px;padding:0 12px;margin-bottom:21px;color:#8d9aaa}.search input{border:0;background:transparent;width:100%;outline:0}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.cards .panel{margin:0}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0}.facts span{font-size:12px;display:block;color:#8290a0;margin-bottom:5px}.facts strong{font-size:17px}.warning{font-size:14px;background:#fff7e9;color:#956c2d;padding:13px 15px;border:1px solid #f4e3c7;border-radius:7px}.muted{font-size:13px;color:#7b8d9e}.back{display:flex;align-items:center;gap:7px;font-size:14px;color:#62829a;margin-bottom:17px;padding:0}.error,.notice{display:flex;align-items:center;gap:8px;padding:13px 16px;border-radius:8px;margin:0 0 20px;font-size:14px}.error{background:#fff0ed;color:#a53625;border:1px solid #ffd1c7}.notice{background:#e9f6ef;color:#26734c}.error .icon,.notice .icon{margin-left:auto}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:14px;color:#536a7f}input,select,textarea{padding:10px 12px;background:#fff;border:1px solid #dce3ec;border-radius:7px;outline:none;min-height:43px;color:#233e55;font-size:15px;min-width:0;max-width:100%}input:focus,select:focus,textarea:focus{border-color:#e17b49;box-shadow:0 0 0 3px #fbece2}input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:#ed7139;flex:none}.check{display:flex;align-items:center;gap:10px;font-size:14px;padding:8px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wide{grid-column:1/-1}textarea{min-height:95px;resize:vertical}.overlay{position:fixed;inset:0;background:#0d203ab0;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:30px;z-index:50}.modal{width:900px;max-width:100%;max-height:92vh;overflow:auto;background:#fff;border-radius:14px;padding:27px;box-shadow:0 20px 80px #05162f50}.modal-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5eaf0;padding-bottom:20px;margin-bottom:23px}.modal-footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e5eaf0;margin-top:25px;padding-top:20px}.modal .error{margin-top:18px}.line-edit{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 30px;gap:10px;align-items:end;margin-bottom:12px}.line-edit .field>span{font-size:12px}.line-edit input,.line-edit select{width:100%;font-size:14px}.subhead{display:flex;justify-content:space-between;align-items:center;margin:6px 0 15px}.lines{background:#f7f9fb;padding:18px;border-radius:8px}.allocation{display:grid;grid-template-columns:2fr 1fr 32px;gap:10px;margin-top:10px}.calculation{display:flex;flex-wrap:wrap;gap:18px;padding:16px;background:#f0f6fa;border-radius:8px;font-size:14px}.file-version{border-top:1px solid #e7edf1;padding:17px 0}.file{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:14px}.file>a:first-of-type{overflow-wrap:anywhere}.file small{margin-left:auto;white-space:nowrap}.gallery{display:flex;flex-wrap:wrap;gap:18px;margin-top:20px}.gallery>div{max-width:220px}.gallery img{width:220px;height:180px;object-fit:contain;border:1px solid #edf0f4;border-radius:8px}.history{padding-top:12px}footer{display:flex;justify-content:space-between;font-size:11px;color:#98a5b3;border-top:1px solid #e1e7ed;margin-top:30px;padding:18px 0}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{background:#11283f;padding:50px 60px;color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.login-story h1{font-size:clamp(36px,4.5vw,66px);line-height:1.15;letter-spacing:-2px;margin:20px 0}.login-story p{font-size:20px;line-height:1.7;color:#a7bacb}.login-story .eyebrow{color:#f7a474}.login-route{display:flex;align-items:center;gap:16px;color:#ec945f;margin-top:44px;max-width:360px}.login-route i{flex:1;border-top:1px dashed #698297}.login-story>small{color:#91a8bd}.login-form{display:flex;align-items:center;justify-content:center;padding:35px}.login-form form{width:360px;max-width:100%}.login-form h2{font-size:29px;margin-top:24px}.login-form p{font-size:15px;margin:12px 0 26px}.login-form .primary{width:100%;margin-top:23px;justify-content:space-between;padding:13px 17px}.login-form small{margin-top:10px}.login-form .error{margin-top:18px}.mobile-menu{display:none}.danger{color:#bd5345}@media(min-width:1600px){.overview-grid{grid-template-columns:1.85fr 1fr}.workflow button strong{font-size:15px}.metric strong{font-size:32px}}@media(max-width:1200px){.sidebar{width:226px;padding-inline:12px}.sidebar nav button{font-size:13px;padding-inline:10px;gap:9px}main{margin-left:226px;width:calc(100% - 226px)}header{padding:24px}.content{padding:24px}.overview-grid{grid-template-columns:1fr}.metrics{gap:12px}.metric{padding:16px}.metric strong{font-size:23px}.date-label{display:none}.cards{grid-template-columns:1fr}.sidebar-bottom small{font-size:10px}}@media(max-width:760px){.sidebar{transform:translate(-100%);width:265px;box-shadow:10px 0 45px #10294340;transition:transform .2s}.sidebar.shown{transform:translate(0)}main{width:100%;margin:0}.mobile-menu{display:inline-flex}header{padding:17px 15px;gap:5px;align-items:center}h1{font-size:23px}.breadcrumb{font-size:10px}.header-right .button{font-size:12px;padding:7px}.content{padding:19px 15px}.metrics{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.metric{padding:15px}.metric strong{font-size:24px;margin-top:9px}.metric>span{font-size:12px}.metric small{font-size:11px}.panel{padding:19px;margin-bottom:17px;border-radius:10px}.overview-grid{gap:0}.table-wrap{margin-inline:-19px}th:first-child,td:first-child{padding-left:19px}.workflow{grid-template-columns:1fr 1fr}.workflow button{min-height:108px}.workflow button strong{font-size:14px}.metrics.three{grid-template-columns:1fr}.metrics.three .metric{display:grid;grid-template-columns:1fr auto;gap:4px;align-items:center}.metrics.three .metric strong{margin:0;font-size:23px}.metrics.three .metric small{grid-column:1/-1}.period input{max-width:125px}.period>span:first-child{width:100%}.section-top h2{font-size:19px}.form-grid{grid-template-columns:1fr}.overlay{padding:10px;align-items:flex-end}.modal{padding:20px;border-radius:14px;max-height:94vh}.line-edit{grid-template-columns:1fr 1fr;position:relative;border-bottom:1px solid #dce5ec;padding-bottom:18px}.line-edit>.field:first-child{grid-column:1/-1;padding-right:30px}.line-edit>.icon{position:absolute;right:0;top:23px}.line-edit .field>span{font-size:13px}.toolbar{gap:8px}.toolbar .button,.toolbar .primary{font-size:13px}.facts{gap:15px}.facts strong{font-size:16px}.login{grid-template-columns:1fr}.login-story{min-height:0;padding:25px 27px}.login-story>div:nth-child(2){display:none}.login-story>small{display:none}.login-form{padding:40px 24px;align-items:start}.file{flex-wrap:wrap}.file small{margin-left:0}footer{gap:20px;font-size:10px}.sidebar-bottom small{font-size:11px}}.menu-shade{display:none}@media(max-width:760px){.sidebar:not(.shown){visibility:hidden}.sidebar.shown{visibility:visible}.menu-shade{display:block;position:fixed;inset:0;background:#10243970;z-index:19}}.document-import{width:1160px}.import-drop{border:2px dashed #cad7e1;border-radius:10px;padding:32px;text-align:center;margin-bottom:24px;background:#f5f9fc}.import-drop>svg{margin:0 auto 14px;color:#5981a0}.import-drop input{display:block;margin:18px auto 0;width:100%}.import-parties{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.import-party{border:1px solid #dce5ec;border-radius:9px;padding:18px;min-width:0}.import-party legend{padding:0 8px;font-weight:600;font-size:16px}.import-party>.field{margin-bottom:16px}.import-party .field>span{font-size:13px}.import-item{border:1px solid #dfe7ef;border-radius:10px;padding:20px;margin-bottom:18px;background:#f8fafc}.import-item .section-top{margin-bottom:12px}.import-subtitle{margin-top:24px}.import-review-heading{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.import-review-heading .badge{white-space:normal;overflow-wrap:anywhere}.source-text{margin:20px 0}.source-text textarea{min-height:240px;font-family:monospace;font-size:13px;white-space:pre;overflow:auto}.source-text .button{margin-top:10px}.document-import details{font-size:14px;margin:12px 0}.document-import pre,.requisites{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;color:#5c7286}.document-import .warning ul{margin:10px 0 0;padding-left:20px}.document-import .notice{margin-top:20px}.packing-summary{border:1px solid #dce7ee;background:#f6fafc;padding:20px;border-radius:10px;margin:20px 0}.packing-summary .facts{grid-template-columns:repeat(4,minmax(0,1fr))}.packing-summary .table-wrap{margin-inline:-20px}.purchase-requisites{margin:18px 0}.item-specs{white-space:normal;max-width:400px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:760px){.import-parties{grid-template-columns:1fr}.import-drop{padding:18px}.import-party{padding:14px}.packing-summary .facts{grid-template-columns:1fr 1fr}.import-item{padding:15px}.import-entry>span{font-size:12px}}.customer-summary-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.customer-summary-card{text-align:left;padding:18px 20px;border:1px solid #dae3ef;border-radius:12px;background:#f7fafc;min-width:0;cursor:pointer;color:#15304c}.customer-summary-card>span{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:600}.customer-summary-card strong{display:block;font-size:clamp(22px,3vw,32px);margin:10px 0;overflow-wrap:anywhere}.customer-summary-card small{color:#52677d}.customer-summary-card.paid{background:#f0faf6}.customer-summary-card.due{background:#fff9ec}.customer-summary-card:hover{border-color:#688cb2;box-shadow:0 3px 12px #15304c12}.customer-summary-card:focus-visible{outline:3px solid #427cc5;outline-offset:3px}.customer-summary-dialog{border:1px solid #dce3ed;border-radius:16px;padding:24px;max-width:740px;width:calc(100% - 32px);max-height:85vh;overflow:auto;margin:auto;color:#17304a;background:#fff}.customer-summary-dialog::backdrop{background:#0b1c36a6}.customer-summary-total{font-size:28px;display:block;margin:10px 0}.customer-summary-dialog td:last-child{white-space:nowrap;font-weight:600}.customer-summary-dialog td:first-child{min-width:140px}@media(max-width:600px){.customer-summary-cards{grid-template-columns:1fr;gap:10px}.customer-summary-card{padding:14px 16px}.customer-summary-dialog{padding:16px}}.customer-goods{margin:10px 0 0;padding-left:18px;white-space:normal;min-width:230px;max-width:520px;font-size:13px;color:#607287}.customer-goods li{margin:5px 0}.customer-goods:empty{display:none}.customer-purchase-card{padding:22px 0;border-bottom:1px solid #dce5ec}.customer-purchase-card:last-child{border-bottom:0}.customer-purchase-card .section-top{align-items:flex-start;flex-wrap:wrap}.customer-name{font-size:18px;font-weight:600;text-align:left}.customer-totals{display:flex;gap:16px;flex-wrap:wrap;font-size:14px}.customer-product-name{white-space:normal;min-width:230px;max-width:600px}.customer-purchase-card .table-wrap{margin:0}.customer-purchase-card table{width:100%}.cards.plan-cards{grid-template-columns:minmax(0,1fr)}.modal.sale-modal{width:1400px;max-width:calc(100vw - 32px)}.sale-modal .sale-line{grid-template-columns:repeat(3,minmax(0,1fr)) 36px}.sale-modal .sale-line>.field:first-child{grid-column:1/-1}.sale-modal .selected-equipment{white-space:normal;overflow-wrap:anywhere;margin-top:6px}.sale-modal select{width:100%;min-width:0}@media(max-width:650px){.modal.sale-modal{max-width:100%;width:100%}.sale-modal .sale-line{grid-template-columns:1fr 1fr}.sale-modal .sale-line>.field:first-child{padding-right:32px}}.customer-sale-details{margin-top:16px}.customer-sale-details>summary{cursor:pointer;color:var(--muted);padding:10px 0}.customer-sale-details>.panel{margin-top:12px;box-shadow:none}.customer-sale-details h3{margin:0}.sale-history-filter{margin-top:12px}.sale-history-filter button[aria-pressed=true]{background:var(--foreground);border-color:var(--foreground);color:#fff}.customer-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.customer-summary-table-modal{position:fixed;inset:0;margin:auto;height:fit-content;width:min(1360px,calc(100vw - 32px));padding:0;border:1px solid var(--border);overflow:hidden}.customer-summary-table-modal{display:flex;flex-direction:column}.customer-summary-table-modal::backdrop{background:#0d203ab0;backdrop-filter:blur(3px)}.customer-summary-table-modal .customer-orders-body{padding-top:12px}.customer-summary-table-modal .table-wrap{margin:16px 0 0}.customer-summary-table-modal tfoot td{font-weight:600;background:#f7f9fb;border-top:1px solid var(--border)}.customer-equipment-title{font-size:16px;margin:12px 0 0;overflow-wrap:anywhere}.customer-equipment-back{margin:8px 0 16px}.customer-equipment-link{line-height:1.5;white-space:normal}.customer-equipment-link:focus-visible{outline:2px solid #427cc5;outline-offset:4px;border-radius:2px}.modal.contract-correction{width:min(1100px,calc(100vw - 32px));max-width:1100px}.contract-correction-fields{border:0;padding:0;margin:0;min-width:0;display:grid;gap:18px}.contract-correction .import-party{display:grid;gap:12px}.contract-correction textarea{resize:vertical}.contract-correction .field input,.contract-correction .field select,.contract-correction .field textarea{width:100%;min-width:0}.contract-correction h3{margin:0}.contract-correction-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 170px 40px;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid var(--border)}.contract-correction-row .field{margin:0;min-width:0}.contract-correction-row textarea{line-height:1.4;min-height:74px}.contract-correction-row .contract-remove-row{margin-top:27px;padding:4px;font-size:22px;min-width:40px}.contract-correction-fields>.button{justify-self:start}@media(max-width:650px){.contract-correction-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px}.contract-correction-row>.field:first-child{grid-column:1/3}.contract-correction-row .contract-remove-row{grid-column:3;grid-row:1}.contract-correction-row>.field:nth-child(2){grid-column:1}.contract-correction-row>.field:nth-child(3){grid-column:2}}.dispatch-batches{display:grid;gap:12px;margin:12px 0 20px}.dispatch-batches>p{margin:0}.dispatch-batch{border:1px solid #dce3ea;border-radius:10px;padding:16px;background:#f8fafc;display:grid;gap:10px;min-width:0;overflow-wrap:anywhere}.dispatch-batch.selected{border-color:#86b9a2;background:#f2faf6}.dispatch-batch-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.dispatch-batch-source{font-size:14px;color:#52677d}.dispatch-batch-facts{display:flex;gap:8px 24px;flex-wrap:wrap;font-size:13px;color:#607287}.dispatch-batch .field{margin:0;max-width:280px}.dispatch-selected-total{color:#172b42;font-size:14px}@media(max-width:600px){.dispatch-batch{padding:12px}.dispatch-batch .field{max-width:none}.dispatch-batch-facts{flex-direction:column}}.modal.contract-correction{display:flex;flex-direction:column;overflow:hidden;padding:0}.contract-correction-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:20px 27px;border-bottom:1px solid var(--border);background:#fff}.contract-correction-head h2{margin:0;min-width:0;overflow-wrap:anywhere}.contract-correction-head .icon{flex:none;width:44px;height:44px}.contract-correction-head .icon:focus-visible{outline:3px solid #e17b49;outline-offset:2px}.contract-correction>form{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 27px 27px}@media(max-width:760px){.contract-correction-head{padding:16px 20px}.contract-correction>form{padding:0 20px 20px}}.customer-dispatch-button:disabled,.customer-dispatch-button:disabled:hover{background:#e5e9ee;border-color:#d5dce4;color:#65768a;opacity:1;cursor:not-allowed}.modal.customer-orders-modal{width:min(1100px,calc(100vw - 32px));display:flex;flex-direction:column;overflow:hidden;padding:0}.customer-orders-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:20px 27px;border-bottom:1px solid var(--border)}.customer-orders-head p{margin:4px 0 0;overflow-wrap:anywhere}.customer-orders-head .icon{flex:none;width:44px;height:44px}.customer-orders-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 27px 24px}.customer-order{padding:24px 0;border-bottom:1px solid var(--border);margin-bottom:20px}.customer-order .section-top{flex-wrap:wrap;gap:8px;margin-bottom:12px}.customer-order .table-wrap{margin:0 0 16px}.customer-order td:first-child{white-space:normal;min-width:220px;width:65%;overflow-wrap:anywhere}@media(max-width:760px){.customer-orders-head{padding:16px 20px}.customer-orders-body{padding:0 20px 20px}.customer-order th,.customer-order td{padding:10px}.customer-order td:first-child{min-width:170px}}.release-version{margin-top:18px;color:#7b8d9e;font-size:12px}.cancelled-shipments{margin-top:20px;border-top:1px solid var(--border);padding-top:16px}.cancelled-shipments>summary{color:#718499}.cancelled-fulfillment .section-top .badge{background:#e9edf2;color:#64748b}.modal.goods-payment-modal{width:min(1100px,calc(100vw - 32px));display:flex;flex-direction:column;overflow:hidden;padding:0}.goods-payment-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:20px 27px;border-bottom:1px solid var(--border)}.goods-payment-head p{margin:4px 0 0}.goods-payment-head .icon{flex:none;width:44px;height:44px}.goods-payment-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 27px 24px}.goods-payment-date{max-width:220px;margin:20px 0}.goods-payment-body .table-wrap{margin:0 0 20px}.goods-payment-body td:first-child{width:65%;white-space:normal;min-width:220px;overflow-wrap:anywhere}.goods-payment-body button:disabled{cursor:not-allowed;background:#e5e9ee;border-color:#d5dce4;color:#65768a;opacity:1}@media(max-width:760px){.goods-payment-head{padding:16px 20px}.goods-payment-body{padding:0 20px 20px}.goods-payment-body th,.goods-payment-body td{padding:10px}.goods-payment-body td:first-child{min-width:170px}}.modal.dispatch-modal{display:flex;flex-direction:column;overflow:hidden;padding:0}.dispatch-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:20px 27px;border-bottom:1px solid var(--border)}.dispatch-modal-head h2{overflow-wrap:anywhere}.dispatch-modal-head .icon{flex:none;width:44px;height:44px}.dispatch-modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 27px 27px}@media(max-width:760px){.dispatch-modal-head{padding:16px 20px}.dispatch-modal-body{padding:16px 20px 20px}}.editable-product-name{position:relative;padding-right:38px;min-height:32px;white-space:normal;overflow-wrap:anywhere}.editable-product-name .product-name-pencil{position:absolute;right:0;top:-6px;width:32px;height:32px;color:#718499;border-radius:7px}.editable-product-name .product-name-pencil:hover{background:#edf2f7;color:#1e4b6c}.editable-product-name .product-name-pencil:focus-visible{outline:2px solid #e17b49;outline-offset:2px}.modal.product-name-modal{width:min(600px,calc(100vw - 32px));white-space:normal}.product-name-modal .section-top{gap:16px}.product-name-modal .section-top .icon{flex:none;width:44px;height:44px}.product-name-modal form{margin-top:18px}.product-name-modal textarea{resize:vertical;min-height:96px}.stock-retail-panel th{white-space:normal}.stock-retail-panel th,.stock-retail-panel td{padding-inline:12px}.stock-retail-panel th:last-child,.stock-retail-panel td:last-child{min-width:190px;white-space:normal}.stock-retail-panel td:first-child{min-width:270px;max-width:420px;white-space:normal}.unsold-retail-value{display:flex;align-items:flex-start;flex-direction:column;gap:4px}.unsold-retail-value>strong{color:#26734c}.unsold-retail-value>small{white-space:normal;margin:0}.unsold-retail-value>.small{margin-top:3px}.retail-price-needed{color:#a56824;font-size:13px}.modal.retail-value-modal{width:min(620px,calc(100vw - 32px));padding:0;display:flex;flex-direction:column;overflow:hidden;white-space:normal}.retail-value-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 27px;border-bottom:1px solid var(--border);flex:none}.retail-value-head .icon{width:44px;height:44px;flex:none}.retail-value-head h2{margin:0}.retail-value-body{padding:0 27px 27px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.retail-value-body p{white-space:normal}.retail-product-title{font-weight:600;overflow-wrap:anywhere}.retail-price-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.retail-value-body input{width:100%}:root{--p-primary-color:#ec7139;--p-primary-hover-color:#d9612b;--p-content-border-color:#e2e7ee;--p-text-color:#172b42;--p-text-muted-color:#6b7b8d;--p-form-field-border-radius:7px;--p-form-field-focus-border-color:#ee8b5b;--p-button-border-radius:7px}.p-button{font-family:inherit}.p-inputtext,.p-textarea{font-family:inherit;max-width:100%}.p-datatable{font-family:inherit;font-size:14px}.p-datatable-header-cell{background:#f6f8fb;color:#8090a3;font-size:11px;text-transform:uppercase;letter-spacing:.45px}.p-datatable-tbody>tr>td{border-color:var(--border)}.overlay{display:contents!important}.vue-dialog{position:fixed;padding:0!important;max-height:90dvh!important;color:var(--foreground);background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden!important}.vue-dialog>.p-dialog-content{position:relative;padding:24px;min-height:0;overflow:auto}.vue-dialog .vue-dialog-dismiss{position:absolute;right:16px;top:16px;z-index:10;width:40px;height:40px;background:#fff;color:#172b42;border:0}.vue-dialog .p-dialog-content button[aria-label^=Закрыть]:not(.vue-dialog-dismiss){display:none}.vue-dialog h2{padding-right:48px}.vue-dialog.customer-orders-modal>.p-dialog-content,.vue-dialog.customer-summary-table-modal>.p-dialog-content,.vue-dialog.customer-equipment-matrix>.p-dialog-content,.vue-dialog.goods-payment-modal>.p-dialog-content,.vue-dialog.dispatch-modal>.p-dialog-content,.vue-dialog.contract-correction>.p-dialog-content{padding:0;display:flex;flex-direction:column;overflow:hidden;max-height:calc(90dvh - 2px)}.p-dialog-mask{background:#0d203ab0;backdrop-filter:blur(3px)}.connection-status{font-size:12px;color:#a26c24}.customer-equipment-matrix{position:fixed;inset:0;margin:auto;width:min(1700px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90dvh;padding:0;overflow:hidden;border:1px solid var(--border)}.customer-equipment-matrix{display:flex;flex-direction:column}.customer-equipment-matrix::backdrop{background:#0d203ab0;backdrop-filter:blur(3px)}.customer-equipment-matrix .customer-orders-head{background:#fff}.customer-matrix-filters{display:flex;gap:8px;flex-wrap:wrap;flex:none;padding:16px 27px;border-bottom:1px solid var(--border);background:#fff}.customer-matrix-filters button[aria-pressed=true]{background:var(--foreground);border-color:var(--foreground);color:#fff}.customer-matrix-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;isolation:isolate}.customer-matrix-scroll:focus-visible{outline:3px solid #ed8c5b;outline-offset:-3px}.customer-matrix-scroll table{border-collapse:separate;border-spacing:0;margin:0;width:max-content;min-width:100%;font-size:14px}.customer-matrix-scroll th,.customer-matrix-scroll td{padding:14px 18px;min-width:175px;border-bottom:1px solid var(--border);text-align:center;white-space:normal}.customer-matrix-scroll thead th{position:sticky;top:0;z-index:2;width:200px;max-width:240px;background:#f6f8fb;vertical-align:middle;overflow-wrap:anywhere}.customer-matrix-scroll th:first-child{position:sticky;left:0;z-index:1;width:300px;min-width:300px;max-width:300px;text-align:left;background:#fff;box-shadow:1px 0 0 var(--border)}.customer-matrix-scroll thead th:first-child{z-index:3;background:#f6f8fb}.customer-matrix-scroll tbody th{font-weight:400;text-transform:none;letter-spacing:normal;color:var(--foreground);font-size:14px}.customer-matrix-scroll tbody tr:hover th,.customer-matrix-scroll tbody tr:hover td{background:#f7fafc}.customer-matrix-scroll .customer-matrix-total,.customer-matrix-scroll tfoot td,.customer-matrix-scroll tfoot th{font-weight:600;background:#f6f8fb}.customer-matrix-scroll small{font-size:11px}.customer-matrix-empty{padding:0 27px 24px}@media(max-width:760px){.customer-matrix-filters{padding:12px 20px}.customer-matrix-scroll th,.customer-matrix-scroll td{padding:12px;min-width:150px}.customer-matrix-scroll th:first-child{width:220px;min-width:220px;max-width:220px}}:root{--motion-ease:cubic-bezier(.22,1,.36,1);--motion-time:.28s}.sidebar nav button{transition:background .2s ease,color .2s ease,box-shadow .25s ease,transform .25s var(--motion-ease)}.sidebar nav button svg{transition:transform .25s var(--motion-ease),color .2s ease}.button,.primary,.small,.icon,.workflow button,.customer-summary-card{transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .22s ease,transform .22s var(--motion-ease)}.button:active:not(:disabled),.primary:active:not(:disabled),.small:active:not(:disabled),.icon:active:not(:disabled){transform:scale(.97)}input,select,textarea{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}tbody tr{transition:background .18s ease}.notice,.error[role=alert]{animation:notice-arrive .3s var(--motion-ease) backwards}.notice>svg{animation:check-arrive .42s var(--motion-ease) backwards}.overlay{animation:overlay-arrive .18s ease-out backwards}.overlay>.modal,dialog[open]{animation:modal-arrive .32s var(--motion-ease) backwards}dialog[open]::backdrop{animation:overlay-arrive .18s ease-out backwards}.customer-purchase-card{transition:background .22s ease,border-color .22s ease;padding:22px 0}.customer-purchase-heading{margin-bottom:0!important;align-items:center!important;gap:12px}.customer-name{display:inline-flex;align-items:center;gap:10px;line-height:1.45}.customer-fold-icon{flex:none;transition:transform .34s var(--motion-ease)}.customer-expanded .customer-fold-icon{transform:rotate(180deg)}.customer-complete-label{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#428169;background:#f0f8f4;border:1px solid #deece4;border-radius:999px;padding:5px 10px}.customer-sales-fold{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .36s var(--motion-ease),opacity .24s ease}.customer-sales-fold.is-open{grid-template-rows:1fr;opacity:1}.customer-sales-fold-inner{min-height:0;overflow:hidden}.customer-purchase-body{padding:18px 0 2px}.customer-purchase-body>.customer-totals{margin-bottom:16px}.customer-sales-visibility{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;padding:10px 12px;background:#f6f8fb;border:1px solid #e7ecf2;border-radius:9px}.customer-sales-visibility .muted{font-size:12px}.customer-show-all{white-space:nowrap;flex:none}.customer-show-all svg{transition:transform var(--motion-time) var(--motion-ease)}.customer-show-all[aria-pressed=true] svg{transform:rotate(180deg)}.customer-purchase-body>table,.customer-purchase-body>.table-wrap{margin-bottom:16px}.customer-purchase-body>button{margin:0 6px 8px 0}.customer-purchase-card.customer-complete:not(.customer-expanded){padding-block:18px}.customer-complete>.customer-purchase-heading .customer-name{padding:3px 0}.customer-sale-details[open]>.panel,.customer-order{animation:panel-arrive .32s var(--motion-ease) backwards}@media(hover:hover){.sidebar nav button:hover{transform:translate(3px)}.sidebar nav button:hover svg{transform:translate(2px)}.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 5px 12px #d9612b24}.button:hover:not(:disabled),.small:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 3px 9px #172b420b}.workflow button:hover,.customer-summary-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px #172b4210}tbody tr:hover{background:#f9fbfd}.customer-complete:not(.customer-expanded):hover{background:#f8fbfa}}@media(max-width:650px){.customer-totals{gap:6px 16px;font-size:12px}.customer-name{font-size:16px}.customer-sales-visibility{align-items:flex-start}.customer-show-all{min-height:38px}.customer-complete-label{font-size:11px}}@keyframes panel-arrive{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes notice-arrive{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@keyframes check-arrive{0%{opacity:0;transform:scale(.6) rotate(-15deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes overlay-arrive{0%{opacity:0}to{opacity:1}}@keyframes modal-arrive{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.page-view,.page-view>.panel,.page-view>.metrics,.page-view>.overview-grid,.page-view>.cards,.overlay,.overlay>.modal,dialog[open]{transform:none!important}}.sidebar nav button{position:relative;isolation:isolate}.sidebar nav button.active{background:transparent;box-shadow:none}.nav-active-indicator{position:absolute;inset:0;border-radius:inherit;background:#294056;box-shadow:inset 3px 0 #ef7a43;pointer-events:none;z-index:-1}.metrics.stock-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}@media(min-width:1200px){.metrics.stock-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:500px){.metrics.stock-metrics{grid-template-columns:1fr}}.stock-metrics .metric strong{font-size:clamp(20px,1.7vw,28px);letter-spacing:-.5px;overflow-wrap:normal;white-space:nowrap}.expected-revenue-value{display:grid;gap:5px;white-space:normal;min-width:190px}.expected-revenue-value>strong{color:#26734c}.expected-revenue-value>small{margin:0}.expected-revenue-value .unsold-retail-value{border-top:1px solid var(--border);padding-top:6px}
