:root{color-scheme:dark;--bg:#101214;--surface:#191c1f;--surface2:#202428;--line:#2b3035;--text:#edf0ed;--muted:#969e9d;--accent:#e5f76d;--green:#79d9b3;--danger:#ffa3a3;--radius:16px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 'Segoe UI',system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:650}h2{font-size:17px;font-weight:650;letter-spacing:-.2px}h3{font-size:16px;font-weight:600}p{color:var(--muted)}small{font-size:12px}.muted{color:var(--muted)}.block{display:block}.break{overflow-wrap:anywhere}.nowrap{white-space:nowrap}.numeric{font-variant-numeric:tabular-nums}.text-green{color:var(--green)}.text-yellow{color:var(--accent)}.text-danger{color:var(--danger)}.hidden{display:none!important}
.layout{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#151719;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 18px 15px}.brand{display:flex;gap:13px;align-items:center;padding:0 12px 33px;font-weight:800;letter-spacing:1.4px;font-size:17px;line-height:1.15}.brand-sub{display:block;color:var(--muted);font-size:11px;letter-spacing:4px;padding-top:5px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--accent);color:#202514;border-radius:13px;transform:rotate(-5deg)}.brand-mark .icon{width:25px;height:25px}.workspace-label{font-size:10px;color:#6e7875;letter-spacing:1.3px;padding:0 13px;margin-bottom:14px}.nav-item{display:flex;gap:13px;align-items:center;border-radius:10px;padding:11px 13px;margin-bottom:3px;color:#a5adab;transition:background .15s,color .15s;font-size:13px;font-weight:500}.nav-item .icon{width:19px;height:19px}.nav-item:hover{background:#232728;color:var(--text)}.nav-item.active{background:var(--accent);color:#202510;font-weight:650}.nav-dot{width:5px;height:5px;background:#202510;border-radius:50%;margin-left:auto}.nav-separator{height:1px;background:var(--line);margin:18px 5px}.sidebar-bottom{margin-top:auto;padding-top:25px}.version-label{font-size:10px;color:var(--muted);display:flex;gap:7px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--line)}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--green);display:inline-block;flex-shrink:0}.account{display:flex;gap:10px;align-items:center;padding:16px 6px 0}.avatar{width:32px;height:32px;border-radius:50%;background:#343a33;display:grid;place-items:center;color:var(--accent);font-weight:700}.account strong{font-size:12px}.account small{display:block;color:var(--muted);font-size:10px}.account form{margin-left:auto}.icon-button{background:transparent;color:var(--muted);border:0;padding:5px;display:grid;place-items:center}.icon-button:hover{color:var(--text)}.main-wrap{min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#49504c}.top-status{display:flex;align-items:center;gap:7px;color:#99a39b;font-size:11px}.top-status .icon{width:15px;height:15px}.content{padding:34px 38px 20px;max-width:1600px;margin:auto}.mobile-menu{display:none}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading p{margin-top:9px;font-size:13px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:var(--accent);font-weight:600;margin-bottom:10px}.button{background:var(--accent);color:#202512;border:1px solid transparent;border-radius:9px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:650;font-size:12px;white-space:nowrap;transition:filter .15s}.button:hover{filter:brightness(1.1)}.button.secondary{background:#232729;border-color:#363c3c;color:var(--text)}.button.small{padding:8px 12px;font-size:11px}.button.wide{width:100%}.button .icon{width:17px;height:17px}.badge{font-size:10px;line-height:1.5;padding:4px 9px;border-radius:6px;white-space:nowrap;display:inline-block;font-weight:600}.badge.neutral{background:#2b3032;color:#aeb8b5}.badge.good{background:#244235;color:#9adfba}.badge.warning{background:#443c25;color:#e9cc88}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat{padding:21px 21px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:7px;color:var(--muted);font-size:11px;margin-bottom:15px}.stat-top .icon{width:19px;height:19px;color:#67756b}.stat strong{font-size:35px;font-weight:600;letter-spacing:-1.3px;line-height:1.2;display:block;font-variant-numeric:tabular-nums}.stat small{font-size:10px;color:var(--muted);display:block;margin-top:10px}.green-stat{background:#1b2b23;border-color:#2b4937}.green-stat strong,.green-stat .icon{color:var(--green)}.integration-note{display:flex;align-items:center;gap:15px;background:#1c2222;border:1px solid #313b35;border-radius:12px;padding:16px 19px;margin-bottom:24px}.integration-note>.icon{color:var(--accent);width:20px;height:20px}.integration-note strong{font-size:12px}.integration-note p{font-size:11px;margin-top:3px}.integration-note a{margin-left:auto;font-size:11px;color:var(--accent);white-space:nowrap}.integration-note a .icon{width:13px;height:13px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:24px;min-width:0}.card>h2{margin-bottom:17px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}.card-heading p{font-size:11px;margin-top:4px}.card-heading>a{font-size:11px;color:var(--muted);white-space:nowrap}.attention-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.attention-row:first-child{padding-top:3px}.attention-row:last-child{border-bottom:0;padding-bottom:0}.attention-row>div:nth-child(2){flex:1}.attention-row strong{font-size:12px}.attention-row small{display:block;font-size:10px;color:var(--muted)}.attention-row>strong{text-align:right;font-size:18px;font-weight:600;min-width:54px}.color-dot{width:10px;height:10px;border-radius:50%;background:#e9ce91;box-shadow:0 0 0 5px #332e25;margin:0 5px}.empty-dot{background:#e39595;box-shadow:0 0 0 5px #352728}.store-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line)}.store-row:last-child{border-bottom:0;padding-bottom:0}.store-row>div{min-width:0;flex:1}.store-row strong{font-size:12px}.store-row small{display:block;font-size:10px;color:var(--muted);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.store-avatar{width:35px;height:35px;background:#282e2b;border:1px solid #3b443d;border-radius:9px;display:grid;place-items:center;font-size:10px;font-weight:700;color:#c8d3bd;flex-shrink:0}.store-avatar.big{width:45px;height:45px;font-size:13px;border-radius:12px}.review-link{display:block;margin-top:20px;font-size:12px;color:#e9cc88}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:0 12px 12px;color:#87908d;font-size:10px;font-weight:500;white-space:nowrap;border-bottom:1px solid var(--line)}td{border-bottom:1px solid var(--line);padding:15px 12px;font-size:12px;vertical-align:middle}th:first-child,td:first-child{padding-left:0}th:last-child,td:last-child{padding-right:0}tbody tr:last-child td{border-bottom:0}td strong{font-weight:550}td small{font-size:10px}td.numeric{font-size:13px}.footer{display:flex;justify-content:space-between;gap:15px;color:#65716a;font-size:10px;border-top:1px solid var(--line);padding:18px 0 2px;margin-top:10px}.banner{display:flex;align-items:center;gap:12px;border:1px solid;border-radius:10px;padding:13px 16px;font-size:12px;line-height:1.6;margin-bottom:23px}.banner button{margin-left:auto;border:0;background:transparent;color:inherit;font-size:20px}.banner.info{background:#212b2c;border-color:#34484b;color:#b6ced0}.banner.success{background:#20382a;border-color:#345941;color:#b4deba}.banner.danger{background:#382528;border-color:#64353a;color:#f1b5b5}.demo-banner{background:#2d3020;border-color:#454b2c;color:#d1dca0;font-size:11px}.empty{text-align:center;max-width:490px;margin:auto;padding:30px 10px}.empty-icon{width:49px;height:49px;background:#242c26;color:#8fa58c;border-radius:15px;display:grid;place-items:center;margin:0 auto 17px}.empty h3{font-size:16px;margin-bottom:8px}.empty p{font-size:12px;margin-bottom:20px}.empty .button{font-size:11px}.empty-line{padding:16px 0;font-size:12px}.calm-state{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.calm-state .icon{color:var(--green);width:30px;height:30px;margin-bottom:15px}.calm-state strong{font-size:14px}.calm-state p{font-size:12px;max-width:300px;margin-top:8px}label{font-size:11px;font-weight:550;color:#c1c8c3;display:block;margin-bottom:7px}input,select{width:100%;padding:10px 12px;color:var(--text);border:1px solid #383f3d;background:#111615;border-radius:8px;outline:0;min-height:42px;font-size:12px;margin-top:5px}input:focus,select:focus{border-color:#a3bb5e;box-shadow:0 0 0 2px #718d3b33}input::placeholder{color:#626f67}input[type=checkbox]{width:15px;min-height:15px;margin:0;accent-color:var(--accent)}input[type=number]{font-variant-numeric:tabular-nums}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:20px}.form-grid>label{margin-bottom:0}.hint{font-size:10px;color:#829087;margin-top:7px;line-height:1.6;display:block}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;border-top:1px solid var(--line);padding-top:19px;margin-top:19px}.form-footer p{font-size:11px;max-width:600px}.size-options{padding:15px;border-radius:8px;background:#222923;margin-top:10px}.inline-form{display:flex;gap:7px;align-items:center}.inline-form input{margin:0;min-height:35px;padding:6px 8px;max-width:180px;font-size:11px}.inline-form input[type=number]{width:78px;max-width:78px}.count-form{min-width:335px}.stock-number{font-size:19px;font-weight:550}.stock-number~small{font-size:10px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.two-columns .card>p{font-size:12px;margin-bottom:20px}.card form>label{margin-bottom:15px}.code-block{display:block;font:11px/1.7 Consolas,monospace;padding:13px 14px;background:#111615;border:1px solid #2d3c31;border-radius:8px;color:#c8d3bd;margin-bottom:19px;overflow-wrap:anywhere}.connection-state{display:flex;align-items:center;gap:8px;padding-top:12px;font-size:12px}.action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:20px}.stores-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.store-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.store-card h2{font-size:20px;margin-bottom:3px}.store-card>p{font-size:11px;margin-bottom:24px}.store-card-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;margin-top:11px}.store-card-meta span{color:var(--muted)}.store-card-meta strong{font-weight:500}.store-card>.button{margin-top:23px}.filter-form{display:flex;gap:18px;align-items:flex-end}.filter-form>label:first-child{flex:1}.filter-form>label{margin-bottom:0}.filter-form .checkbox-label{padding-bottom:12px;white-space:nowrap}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.catalog-row{display:grid;grid-template-columns:1fr 1.35fr;gap:30px}.catalog-product h3{margin:12px 0 8px}.catalog-product>p{font-size:11px;margin-bottom:14px}.catalog-mapping{display:grid;grid-template-columns:1fr 1fr 90px;gap:12px}.catalog-mapping label{font-size:10px;margin-bottom:0!important}.catalog-mapping select{font-size:10px}.mapping-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px}.pagination{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px;font-size:11px;color:var(--muted)}.order-link{color:var(--accent);font-weight:600}.order-counters{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.order-counters>div{border:1px solid var(--line);border-radius:10px;padding:18px}.order-counters strong{font-size:28px;display:block;font-weight:600}.order-counters span{font-size:11px;color:var(--muted)}.ready-counter strong{color:var(--green)}.order-counters+.banner{margin-top:20px;margin-bottom:0}.allocation-table th:not(:first-child){min-width:100px}.allocation-label{font-size:9px;margin:0}.allocation-label input{max-width:90px;margin-top:3px;padding:5px 9px;min-height:32px}.allocation-result{display:block;margin-top:7px;color:var(--accent);font-size:14px;font-weight:600}.allocation-result small{color:var(--muted);font-size:9px;font-weight:400;display:block}.job-detail{max-width:380px;overflow-wrap:anywhere;font-size:11px}summary{cursor:pointer;font-weight:600;font-size:13px}details>p{margin:15px 0;font-size:12px}.auth-body{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 15% 20%,#243223 0,transparent 45%),var(--bg)}.auth-card{width:100%;max-width:430px;border:1px solid #354236;border-radius:22px;background:#191e1bd9;padding:38px}.auth-mark{margin-bottom:25px}.auth-card h1{font-size:28px;line-height:1.25;margin-bottom:12px}.auth-card>.muted{font-size:12px;margin-bottom:25px}.auth-card label{margin-top:18px;margin-bottom:0}.auth-card .button{margin-top:24px}.auth-card .hint{font-size:10px}.auth-foot{display:flex;align-items:center;justify-content:center;gap:7px;color:#798879;font-size:10px;margin-top:28px}.auth-foot .icon{width:13px;height:13px}.auth-card>.banner{margin-top:20px}
@media(min-width:1500px){.content{padding-left:50px;padding-right:50px}}@media(max-width:1200px){.layout{grid-template-columns:218px 1fr}.sidebar{padding:25px 12px 15px}.content{padding:28px 24px}.topbar{padding:0 24px}.stats-grid{gap:12px}.stat{padding:17px}.stat-top{font-size:10px}.stat small{font-size:9px}.dashboard-grid{gap:17px}.card{padding:20px}.catalog-row{grid-template-columns:1fr;gap:20px}.stores-grid{grid-template-columns:repeat(2,1fr)}.action-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:950px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.two-columns{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading h1{font-size:28px}.integration-note{flex-wrap:wrap}.integration-note a{margin-left:35px}.filter-form{flex-wrap:wrap}.filter-form>label:first-child{flex-basis:100%}.footer span{display:none}}
@media(max-width:700px){.layout{display:block}.sidebar{position:fixed;width:244px;z-index:30;left:-245px;transition:left .2s;box-shadow:10px 0 45px #0008}.menu-open .sidebar{left:0}.mobile-menu{display:grid;margin-right:13px;font-size:19px}.topbar{height:60px;padding:0 18px;justify-content:flex-start}.top-status{margin-left:auto;font-size:0}.top-status .icon{width:18px;height:18px}.content{padding:24px 16px 16px}.page-heading{display:block;margin-bottom:23px}.page-heading>.button,.page-heading>.badge{margin-top:18px}.page-heading h1{font-size:28px}.page-heading p{font-size:12px}.stats-grid{gap:10px}.stat{padding:17px 14px}.stat strong{font-size:31px}.stat-top .icon{width:16px;height:16px}.stat small{font-size:9px;max-width:130px}.integration-note{padding:14px;gap:10px}.integration-note>div{flex:1;min-width:210px}.integration-note p{font-size:10px}.integration-note a{margin-left:30px}.card{padding:19px 17px;border-radius:13px}.card-heading>a{font-size:10px}.card-heading h2{font-size:16px}.form-grid{grid-template-columns:1fr;gap:13px}.form-footer{flex-direction:column;align-items:stretch}.form-footer .button{width:100%}.stores-grid{grid-template-columns:1fr}.action-grid{grid-template-columns:1fr}.catalog-mapping{grid-template-columns:1fr 1fr}.catalog-mapping>label:nth-child(4){grid-column:1/-1}.catalog-mapping>label:last-of-type{grid-column:1/-1}.mapping-footer{flex-wrap:wrap}.order-counters{grid-template-columns:repeat(2,1fr)}.filter-form{gap:12px}.auth-card{padding:28px}.auth-body{padding:18px}.store-row .badge{font-size:9px}.banner{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
