:root{color:#15251f;font-synthesis:none;--green:#0b6b57;--green-dark:#075344;--green-soft:#e7f2ee;--ink:#15251f;--muted:#64726d;--line:#d8e1dd;--panel:#fff;--danger:#b42318;--shadow:0 14px 40px #14302614;background:#eef2f0;font-family:Inter,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{background:#eef2f0;min-width:1024px;min-height:100%;margin:0}body{min-height:100vh}button,input,select,textarea{font:inherit}button,a.button,label.button{min-height:40px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--green-dark)}h1,h2,h3,h4,p{margin-top:0}h1{margin-bottom:0;font-size:30px;line-height:1.15}h2{margin-bottom:8px;font-size:22px;line-height:1.25}h3{margin-bottom:8px;font-size:17px}.eyebrow{color:var(--green);letter-spacing:.09em;text-transform:uppercase;margin:0 0 5px;font-size:11px;font-weight:800}.muted{color:var(--muted)}.app-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .2s;display:grid}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{color:#fff;background:#0d332b;flex-direction:column;height:100vh;padding:18px 14px;display:flex;position:sticky;top:0;overflow:hidden}.sidebar-brand{border-bottom:1px solid #ffffff21;align-items:center;gap:10px;height:58px;padding:0 4px 12px;display:flex;position:relative}.sidebar-brand img{object-fit:contain;filter:brightness(0)invert();width:42px;height:42px}.sidebar-brand div{white-space:nowrap;flex-direction:column;display:flex}.sidebar-brand strong{font-size:18px}.sidebar-brand span{letter-spacing:.12em;color:#bcd3cc;font-size:11px}.collapse-button{color:#fff;background:#ffffff14;border:1px solid #fff3;border-radius:8px;width:32px;min-height:32px;position:absolute;top:5px;right:-3px}.sidebar nav{flex-direction:column;gap:6px;margin-top:24px;display:flex}.sidebar nav button{color:#d4e2de;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;padding:0 13px;display:flex}.sidebar nav button i{text-align:center;width:22px;font-size:20px;font-style:normal}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#ffffff1f}.sidebar nav button.active{box-shadow:inset 3px 0 #70c9ae}.account{border-top:1px solid #ffffff21;grid-template-columns:38px minmax(0,1fr) 30px;align-items:center;gap:9px;margin-top:auto;padding:14px 4px 0;display:grid}.avatar{color:#0d4c3e;background:#d8eee6;border-radius:50%;place-items:center;width:38px;height:38px;font-size:12px;font-weight:800;display:grid}.account div{flex-direction:column;min-width:0;display:flex}.account strong,.account small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account small{color:#aac4bc}.account button{color:#d4e2de;background:0 0;border:0;min-height:34px}.sidebar-collapsed .sidebar-brand div,.sidebar-collapsed .sidebar nav span,.sidebar-collapsed .account div,.sidebar-collapsed .avatar{display:none}.sidebar-collapsed .sidebar-brand img{width:34px}.sidebar-collapsed .sidebar nav button{padding:0 11px}.sidebar-collapsed .account{text-align:center;display:block}.main-area{min-width:0}.topbar{border-bottom:1px solid var(--line);z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffeb;justify-content:space-between;align-items:center;height:94px;padding:0 30px;display:flex;position:sticky;top:0}.topbar p{color:var(--muted);margin:0 0 3px;font-size:13px}.topbar-user{text-align:right;flex-direction:column;display:flex}.topbar-user small{color:var(--muted)}.page-content{max-width:3000px;margin:0 auto;padding:26px 30px 50px}.page-stack{flex-direction:column;gap:18px;display:flex}.panel,.create-order-card,.catalog-summary,.order-workspace,.empty-state{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 2px #142d2408}.panel{padding:24px}.section-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:18px;display:flex}.section-heading p:last-child{color:var(--muted);margin-bottom:0}.primary,.secondary,.button{border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:700;text-decoration:none;display:inline-flex}.primary{border:1px solid var(--green);background:var(--green);color:#fff}.primary:hover{background:var(--green-dark)}.secondary{color:#25433a;background:#fff;border:1px solid #aebdb7}.secondary:hover{border-color:var(--green);color:var(--green)}.text-button,.danger-link{color:var(--green);background:0 0;border:0;padding:0;font-weight:700}.danger-link{color:var(--danger)}.icon-button{border:1px solid var(--line);color:#4e5d58;background:#fff;border-radius:9px;width:40px;padding:0;font-size:22px}.button input,.file-drop input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}input,select,textarea{width:100%;min-height:42px;color:var(--ink);background:#fff;border:1px solid #b9c6c1;border-radius:9px;padding:9px 12px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline-offset:1px;border-color:var(--green);outline:3px solid #0b6b5738}label{color:#33463f;flex-direction:column;gap:6px;font-size:13px;font-weight:700;display:flex}.form-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.span-2{grid-column:1/-1}.form-actions{justify-content:flex-end;margin-top:20px;display:flex}.error,.notice,.inline-warning{border-radius:10px;margin:12px 0;padding:12px 14px}.error{color:#8c1c13;background:#fff0ee;border:1px solid #f3b3aa}.notice{color:#14533f;background:#e8f5ef;border:1px solid #afd9c9}.inline-warning{color:#735a13;background:#fff8e6;border:1px solid #e9cc78}.spinner{border:2px solid #bcd3cb;border-top-color:var(--green);border-radius:50%;flex:none;width:18px;height:18px;animation:.75s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.workspace-loading,.status-screen,.calculation-loading{color:var(--muted);justify-content:center;align-items:center;gap:10px;min-height:130px;display:flex}.status-screen{min-height:100vh}.login-shell{background:radial-gradient(circle at 30% 15%,#e7f4ef,#0000 35%),linear-gradient(135deg,#eff4f2,#dfe9e5);place-items:center;min-height:100vh;display:grid}.login-panel{border:1px solid var(--line);width:460px;box-shadow:var(--shadow);background:#fff;border-radius:20px;flex-direction:column;gap:26px;padding:36px;display:flex}.login-brand{color:var(--green-dark);align-items:center;gap:12px;font-weight:800;display:flex}.login-brand img{object-fit:contain;width:60px;height:44px}.login-panel form{flex-direction:column;gap:16px;display:flex}.login-panel form button{margin-top:4px}.create-order-card{grid-template-columns:minmax(300px,.8fr) minmax(480px,1.2fr);gap:38px;margin:18px 0;padding:22px 24px;display:grid}.create-order-card p:last-child{color:var(--muted);max-width:590px;margin-bottom:0}.create-order-card form>div{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.page-toolbar{justify-content:space-between;align-items:center;gap:20px;margin:16px 0;display:flex}.page-toolbar>div{flex-direction:column;display:flex}.page-toolbar span{color:var(--muted);font-size:13px}.page-toolbar form{gap:10px;width:min(620px,60%);display:flex}.order-registry-heading{justify-content:space-between;align-items:flex-start;gap:24px;margin:2px 0 20px;display:flex}.order-registry-heading h2,.order-registry-heading p:last-child{margin-bottom:0}.order-registry-heading p:last-child{color:var(--muted)}.order-registry{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 1px 2px #142d2408}.order-registry-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:24px;padding:18px 20px;display:flex}.order-registry-toolbar>div:first-child{white-space:nowrap;align-items:baseline;gap:7px;display:flex}.order-registry-toolbar>div:first-child strong{font-size:18px}.order-registry-toolbar>div:first-child span{color:var(--muted)}.order-registry-filters{grid-template-columns:minmax(280px,430px) minmax(190px,260px) minmax(170px,220px);justify-content:end;gap:12px;width:min(900px,76%);display:grid}.order-registry-filters label span{color:var(--muted);font-size:11px}.order-registry-list{flex-direction:column;display:flex}.order-registry-row{border:0;border-bottom:1px solid var(--line);width:100%;min-width:0;min-height:96px;color:var(--ink);text-align:left;background:#fff;grid-template-columns:minmax(250px,1.45fr) minmax(340px,2fr) minmax(120px,.65fr) minmax(150px,.8fr) 24px;align-items:center;gap:18px;padding:16px 20px;display:grid}.order-registry-row:last-child{border-bottom:0}.order-registry-row:hover,.order-registry-row:focus-visible{z-index:1;background:#f5faf8;position:relative}.order-registry-main,.order-registry-total{flex-direction:column;gap:5px;min-width:0;display:flex}.order-registry-main strong{overflow-wrap:anywhere;font-size:16px;line-height:1.35}.order-registry-main>span,.order-registry-total small{color:var(--muted);font-size:12px}.order-registry-metrics{flex-wrap:wrap;align-items:center;gap:7px 14px;min-width:0;display:flex}.order-registry-metrics>span:not(.order-summary-placeholder){white-space:nowrap;color:#51635d;font-size:12px}.order-registry-metrics b{color:var(--ink);font-size:14px}.order-summary-placeholder{color:var(--muted);font-size:13px}.order-registry-total strong{white-space:nowrap;font-size:15px}.order-stage{color:#4c5d57;background:#edf2f0;border-radius:999px;justify-self:start;max-width:100%;padding:7px 10px;font-size:12px;font-weight:750;line-height:1.25}.order-stage[data-tone=ready]{color:#126047;background:#e3f4ed}.order-stage[data-tone=processing]{color:#28528b;background:#e9f0fb}.order-stage[data-tone=attention],.order-stage[data-tone=warning]{color:#7a5411;background:#fff2d9}.order-stage[data-tone=loading]{color:var(--muted)}.order-row-arrow{color:var(--green);justify-self:end;font-size:22px}.order-registry-empty{text-align:center;padding:58px 24px}.order-registry-empty p{color:var(--muted);margin-bottom:0}.order-pagination{border-top:1px solid var(--line);justify-content:center;align-items:center;gap:16px;padding:18px;display:flex}.order-pagination span{color:var(--muted);font-size:13px}.order-detail-page{min-width:0}.order-back{min-height:40px;color:var(--green);background:0 0;border:0;margin:0 0 14px;padding:0;font-weight:750}.order-workspace{min-width:0;padding:22px}.workspace-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:18px;display:flex}.workspace-header h2{max-width:740px}.workspace-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.manager-select{grid-template-columns:auto 220px;align-items:center;gap:8px;margin-top:12px;display:grid}.manager-select select{min-height:36px;padding:6px 9px}.processing-summary,.progress-card{border-radius:11px;margin:16px 0;padding:14px 16px}.processing-summary{background:#eef6f3;justify-content:space-between;align-items:center;display:flex}.processing-summary>div{flex-direction:column;display:flex}.processing-summary span{color:var(--muted);font-size:13px}.processing-summary.warning{background:#fff7e9}.progress-card{background:#edf6f2;border:1px solid #c7e1d7}.progress-card>div{align-items:center;gap:10px;display:flex}.progress-card em{margin-left:auto;font-style:normal;font-weight:800}.progress-card progress{width:100%;height:9px;accent-color:var(--green);margin:11px 0 5px}.progress-card p{color:var(--muted);margin:0;font-size:12px}.upload-empty{text-align:center;background:#fbfdfc;border:1px dashed #aac5bb;border-radius:12px;margin-top:16px;padding:44px 20px}.upload-empty p{color:var(--muted)}.file-list{border:1px solid var(--line);border-radius:11px;flex-direction:column;margin:16px 0;padding:0;list-style:none;display:flex;overflow:hidden}.file-list li{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto 40px;align-items:center;gap:14px;padding:12px 14px;display:grid}.file-list li:last-child{border-bottom:0}.file-list li>div{align-items:center;gap:12px;min-width:0;display:flex}.file-list a{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.file-status{color:var(--muted);white-space:nowrap;font-size:12px}.file-status[data-state=failed]{color:var(--danger)}.file-status button{color:var(--green);background:0 0;border:0;min-height:auto;padding:0 0 0 6px;text-decoration:underline}.file-list small{color:var(--muted);white-space:nowrap}.icon-button.delete{color:var(--danger)}.extracted{margin:18px 0}.extracted summary{cursor:pointer;color:#345148;padding:8px 0;font-weight:800}.empty-state{text-align:center;padding:60px 30px}.empty-icon{background:var(--green-soft);width:54px;height:54px;color:var(--green);border-radius:16px;place-items:center;margin:0 auto 14px;font-size:30px;display:grid}@media (width<=1599px){.order-registry-row{grid-template-columns:minmax(240px,1.35fr) minmax(300px,1.75fr) minmax(110px,.6fr) minmax(135px,.75fr) 20px;gap:14px}.order-registry-filters{grid-template-columns:minmax(240px,1fr) minmax(180px,220px) minmax(160px,190px)}}@media (width<=1279px){.create-order-card{grid-template-columns:1fr;gap:20px}.order-registry-toolbar{flex-direction:column;align-items:stretch}.order-registry-filters{grid-template-columns:minmax(260px,1fr) minmax(190px,.7fr) minmax(170px,.6fr);width:100%}.order-registry-row{grid-template-columns:minmax(260px,1.2fr) minmax(260px,1fr) 24px;align-items:start}.order-registry-metrics{grid-area:2/1/auto/3}.order-registry-total,.order-stage{grid-row:1}.order-registry-total{grid-column:2;align-self:end}.order-stage{grid-column:2;align-self:start;margin-bottom:32px}.order-row-arrow{grid-area:1/3/3;align-self:center}}.draft-calculation{border-top:1px solid var(--line);margin-top:26px;padding-top:24px}.calculation-total{text-align:right}.calculation-total span{color:var(--muted);font-size:12px;display:block}.calculation-total strong{color:var(--green-dark);font-size:24px}.draft-summary{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.draft-summary button{border:1px solid var(--line);color:#354a43;background:#f8faf9;border-radius:10px;align-items:center;gap:10px;padding:8px 12px;display:flex}.draft-summary button[aria-pressed=true]{border-color:var(--green);background:var(--green-soft);color:var(--green-dark)}.draft-summary strong{font-size:15px}.document-actions{background:#f3f8f6;border:1px solid #cfe0da;border-radius:12px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;padding:14px 16px;display:flex}.document-actions>div:first-child{flex-direction:column;display:flex}.document-actions span{color:var(--muted);margin-top:3px;font-size:12px}.download-links{gap:8px;display:flex}.data-table{border:1px solid var(--line);background:#fff;border-radius:11px;width:100%;overflow:auto}.data-table table{border-collapse:collapse;width:100%;min-width:920px}.data-table th{color:#40534c;text-transform:uppercase;letter-spacing:.04em;text-align:left;z-index:1;background:#f2f6f4;font-size:11px;position:sticky;top:0}.data-table th,.data-table td{vertical-align:middle;border-bottom:1px solid #e4ebe8;padding:11px 12px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#f8fbfa}.data-table.compact table{min-width:680px}.interactive-row{cursor:pointer}.number-cell{text-align:right;white-space:nowrap}.status-tag{color:#42534d;white-space:nowrap;background:#eef2f0;border-radius:999px;align-items:center;padding:5px 8px;font-size:11px;font-weight:800;display:inline-flex}.status-auto_matched,.status-manager_changed,.status-confirmed,.status-tag.active{color:#17604b;background:#e4f4ed}.status-possible_analogue{color:#755711;background:#fff5dc}.status-not_found,.status-tag.blocked{color:#98251a;background:#fff0ee}.table-empty{color:var(--muted);text-align:center!important;padding:28px!important}.pagination{justify-content:center;align-items:center;gap:12px;padding:14px;display:flex}.pagination button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:0 12px}.catalog-summary{justify-content:space-between;gap:25px;padding:24px;display:flex}.catalog-summary h2{overflow-wrap:anywhere;max-width:780px}.catalog-summary p:last-child{color:var(--muted);margin-bottom:0}.catalog-stats{border-left:1px solid var(--line);display:flex}.catalog-stats span{min-width:140px;color:var(--muted);flex-direction:column;padding:8px 22px;font-size:12px;display:flex}.catalog-stats strong{color:var(--ink);margin-top:5px;font-size:16px}.catalog-upload{grid-template-columns:minmax(0,1fr) auto;gap:14px;display:grid}.file-drop{background:#fbfdfc;border:1px dashed #9ebeb3;border-radius:10px;padding:16px;position:relative}.file-drop span{color:var(--muted);font-weight:400}.catalog-search{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.readiness{border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.readiness.ready{color:#17604b;background:#e4f4ed}.readiness.warning{color:#755711;background:#fff5dc}.row-actions{justify-content:flex-end;gap:8px;display:flex}.row-actions button{color:var(--green);background:0 0;border:0;min-height:32px}.role-list{flex-direction:column;gap:14px;display:flex}.role-list article{border:1px solid var(--line);border-radius:11px;padding:18px}.role-list article>header{justify-content:space-between;gap:20px;display:flex}.role-list p{color:var(--muted);margin-bottom:12px}.role-list footer{justify-content:flex-end;margin-top:14px;display:flex}.permission-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px;display:grid}.permission-list .checkbox{min-height:32px;font-weight:600}.password-field{flex-direction:column;gap:10px;display:flex}.password-actions{align-items:center;gap:8px;display:flex}.password-actions span{color:var(--muted);font-size:12px}.password-checklist{color:#7a4e11;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;margin:0;padding:0;font-size:12px;list-style:none;display:grid}.password-checklist .passed{color:#17604b}.modal-backdrop{z-index:100;background:#0e1f199e;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:16px;width:min(760px,100vw - 64px);max-height:calc(100vh - 56px);padding:24px;overflow:auto;box-shadow:0 24px 70px #00000040}.dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;padding-bottom:14px;display:flex}.dialog form{flex-direction:column;gap:16px;display:flex}.dialog footer{border-top:1px solid var(--line);justify-content:flex-end;gap:9px;padding-top:16px;display:flex}.row-dialog{width:min(860px,100vw - 64px)}.current-product{background:#f1f7f4;border-radius:11px;margin:14px 0;padding:14px}.current-product p{margin-bottom:5px}.positive{color:#17604b}.checkbox{align-items:center;flex-direction:row!important;gap:9px!important;display:flex!important}.checkbox input{width:18px;height:18px;min-height:18px}.search-results{border:1px solid var(--line);border-radius:9px;flex-direction:column;max-height:210px;display:flex;overflow:auto}.search-results button{border:0;border-bottom:1px solid var(--line);text-align:left;background:#fff;padding:9px 12px}.search-results button:hover{background:#f0f7f4}.search-results button:last-child{border-bottom:0}.candidate-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:220px;display:grid;overflow:auto}.candidate-list button{border:1px solid var(--line);color:var(--ink);text-align:left;background:#fff;border-radius:9px;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;display:flex}.candidate-list button.selected{border-color:var(--green);background:var(--green-soft)}.candidate-list span{color:var(--muted);font-size:12px}.suggestion-card{background:#f1f7f4;border:1px solid #b8d7cc;border-radius:11px;margin-bottom:16px;padding:14px}.suggestion-card p:last-child,.suggestion-card h3{margin-bottom:6px}.suggestion-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 16px;display:grid}.suggestion-card dl div{min-width:0}.suggestion-card dt{color:var(--muted);font-size:11px}.suggestion-card dd{overflow-wrap:anywhere;margin:2px 0 0}@media (width>=1900px){.page-content{padding-left:48px;padding-right:48px}.orders-layout{grid-template-columns:350px minmax(0,1fr)}.create-order-card{grid-template-columns:.7fr 1.3fr}}@media print{.sidebar,.topbar,.create-order-card,.orders-toolbar{display:none}.app-shell{display:block}.page-content{padding:0}}.sidebar nav button{position:relative}.sidebar nav button i{place-items:center;display:grid}.navigation-icon{width:22px;height:22px;display:block}.sidebar-collapsed .sidebar{overflow:visible}.sidebar-collapsed .sidebar-brand{flex:0 0 96px;align-items:flex-start;height:96px}.sidebar-collapsed .collapse-button{top:54px;right:6px}.sidebar-collapsed .sidebar nav button:after{content:attr(data-tooltip);color:#fff;box-shadow:var(--shadow);pointer-events:none;opacity:0;visibility:hidden;z-index:30;background:#15251f;border-radius:7px;padding:7px 9px;font-size:12px;font-style:normal;position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%)}.sidebar-collapsed .sidebar nav button:hover:after,.sidebar-collapsed .sidebar nav button:focus-visible:after{opacity:1;visibility:visible}
