:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#243247;background:#f7f6f3;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button{border:1px solid #dbe2e9;background:#fff;border-radius:8px;padding:9px 14px;color:#33485e;cursor:pointer;font-weight:500;transition:.15s}button:hover{background:#faf0e9;border-color:#dcb59f}button:disabled{opacity:.5;cursor:default}.primary{background:#b84c28;border-color:#b84c28;color:#fff}.primary:hover{background:#a84121;color:#fff}.link{border:0;padding:0;background:none;color:#b14b2a;font-weight:650}input,select,textarea{border:1px solid #d8e0e9;background:#fff;border-radius:7px;padding:10px;min-width:0;color:#243349}input:focus,select:focus,textarea:focus{outline:2px solid #edb89e;outline-offset:1px}input[type=checkbox]{accent-color:#b84c28;width:16px;height:16px}label{display:flex;flex-direction:column;gap:7px;margin:16px 0;font-weight:500}.check{flex-direction:row;align-items:center}small{display:block;color:#7c8797;margin-top:5px;font-size:12px;line-height:1.4}h1,h2,h3{margin:0;color:#17263a}h1{font-size:30px;letter-spacing:-.9px}h2{font-size:19px;margin-bottom:15px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#8491a3;margin:0 0 10px}.muted{color:#7b8798;line-height:1.6}.layout{display:grid;grid-template-columns:235px 1fr;min-height:100vh}aside{background:#101e32;color:#ecf0f6;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:30px 20px}.brand{display:flex;align-items:center;gap:12px;font-weight:650;font-size:21px;letter-spacing:-.5px}.brand small{color:#859bb5;letter-spacing:0;font-weight:400}.brand-mark{display:grid;place-items:center;background:#3378f2;color:#fff;width:38px;height:38px;border-radius:11px;font-size:23px;font-weight:750;flex-shrink:0}aside nav{margin-top:45px;display:flex;flex-direction:column;gap:7px}aside nav button{text-align:left;background:none;color:#9fafc4;border-color:transparent;padding:12px 15px}aside nav button.active{color:#fff;background:#213c60}aside nav button:hover{background:#1c304a;color:#fff}.sidebar-footer{margin-top:auto;font-size:11px;color:#8ea4bf;padding:16px 0;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.sidebar-footer button{width:100%;margin-top:12px;background:none;color:#8ea4bf;border-color:#28405f}.live-dot{width:6px;height:6px;border-radius:100%;background:#58b18f}.workspace{padding:35px 40px;min-width:0;max-width:1600px;width:100%}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.panel{padding:25px;background:#fff;border:1px solid #e5eaf1;border-radius:12px;margin-bottom:22px;box-shadow:0 3px 12px #10213a03}.banner{background:#fff9e9;border:1px solid #eee0b8;border-radius:10px;padding:16px 20px;display:flex;gap:20px;line-height:1.5;margin-bottom:22px;color:#72541b}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.stats section{background:#fff;border-radius:12px;border:1px solid #e5eaf1;padding:24px}.stats p{margin:0 0 16px;color:#7c8797}.stats strong{display:block;font-size:38px;font-weight:600;letter-spacing:-1px}.stats button{border:0;padding:0;color:#b84c28;margin-top:20px;font-size:12px}.connection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.connection{padding:18px;border:1px solid #e7ecf2;border-radius:9px;margin-bottom:12px}.connection h3{margin:12px 0}.connection p{color:#7b8798;font-size:12px}.tag{background:#fff1e7;color:#a94a28;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:650;letter-spacing:.5px}.badge{display:inline-block;border-radius:6px;background:#edf1f6;color:#65758d;padding:5px 8px;font-size:11px;white-space:nowrap}.badge.good{background:#e9f6ee;color:#2a7852}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-weight:600;color:#8490a1;font-size:11px;padding:15px 12px;border-bottom:1px solid #e3e8ef;white-space:nowrap}td{padding:17px 12px;border-bottom:1px solid #eef1f6;vertical-align:middle;font-size:13px}tr:last-child td{border-bottom:0}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.toolbar input{max-width:260px}.pagination{display:flex;align-items:center;gap:10px;justify-content:flex-end;margin-top:20px;font-size:12px;color:#8b96a5}.pagination span{margin-right:auto}.empty{text-align:center;padding:42px 20px;color:#94a0b0;line-height:1.7}.error,.success{border-radius:8px;padding:12px 16px;line-height:1.5;margin:0 0 20px}.error{background:#fff0ee;color:#a54132;border:1px solid #f3d0ca}.success{background:#edf8f1;color:#2e7c4b;border:1px solid #cee8d6}.warning{color:#ac7726;max-width:300px}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.timeline{border-left:2px solid #d5e2ff;padding:10px 15px}.timeline span{display:block;color:#8b96a5;font-size:12px;margin-bottom:6px}.order-detail{margin-top:20px}.order-detail table{margin:20px 0}.mapping-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f3f7fd;padding:18px;border-radius:9px;margin:20px 0}.mapping-form select{max-width:400px}.stickers{display:flex;flex-wrap:wrap;gap:16px}.stickers img{max-width:290px}.stickers figure{margin:0}.stickers figcaption{font-size:12px;color:#8490a1}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 0,#dfebff 0,transparent 60%),#f3f6fa}.login-card{background:#fff;border-radius:18px;padding:42px;width:min(420px,92vw);box-shadow:0 18px 60px #182d5010;border:1px solid #e4ebf5}.login-card .brand-mark{margin-bottom:28px;width:46px;height:46px}.login-card h1{font-size:34px}.login-card form{margin:28px 0 20px}.login-card button{width:100%;margin-top:12px}.login-card small{text-align:center;font-size:11px}@media(max-width:1000px){.workspace{padding:25px}.layout{grid-template-columns:190px 1fr}.settings-layout{grid-template-columns:1fr}.stats{gap:10px}.banner{flex-direction:column;gap:6px}}@media(max-width:720px){.layout{display:block}aside{position:static;height:auto;padding:18px}.brand{font-size:20px}aside nav{margin-top:20px;flex-direction:row;overflow:auto;gap:4px}aside nav button{white-space:nowrap;padding:8px 12px}.sidebar-footer{display:none}.workspace{padding:22px 15px}.stats{grid-template-columns:1fr}.stats section{padding:18px}.panel{padding:18px}.toolbar input,.toolbar select{width:100%;max-width:none}h1{font-size:26px}td,th{padding:12px 8px}.section-head{align-items:flex-start}.settings-layout{gap:0}}.telegram-preview{white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f4f6fa;border-radius:10px;font:inherit}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.catalog-card{border:1px solid #dce4ef;border-radius:14px;padding:16px;min-width:0}.catalog-card h3{margin:12px 0 8px}.product-cover{width:100%;height:180px;display:flex;align-items:center;justify-content:center;background:#f4f6fa;border:0}.product-cover img{width:100%;height:100%;object-fit:contain}.product-thumb{width:64px;height:64px;object-fit:contain;float:left;margin-right:12px}.product-gallery{display:flex;gap:12px;flex-wrap:wrap}.product-gallery img{width:240px;height:240px;object-fit:contain;max-width:100%}.matching-candidates{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.matching-candidates button{display:grid;text-align:left;gap:5px}.matching-candidates img{height:90px;width:100%;object-fit:contain}.matching-candidates .chosen{border:2px solid #b84c28;background:#fff1e7}.mapping-form{margin:16px 0}.mapping-form[open]{display:grid;gap:12px}td strong{display:block}td input:not([type=checkbox]),td select{min-width:160px}.ms-status{margin-top:20px}.brand-logo{width:46px;height:46px;flex-shrink:0}.login-card .brand-logo{width:64px;height:64px}.brand{color:#fffaf6}.brand small{letter-spacing:.02em}.pagination{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px;padding:12px 0;border-top:1px solid #e7e2db}.pagination label{display:flex;flex-direction:row;align-items:center;gap:6px;margin:0;font-weight:400}.pagination input{width:70px;padding:6px}.pagination select{padding:6px}.pagination-pages{display:flex;gap:4px}.pagination-pages button{padding:6px 10px}.pagination-pages .current{background:#172a43;color:#fff;border-color:#172a43}.compact-catalog td{padding:8px 12px;font-size:13px}.compact-catalog strong{font-weight:550}.compact-catalog small{font-size:12px}.compact-catalog .error{padding:6px;margin:0 0 6px;max-width:380px}.thumb-button{border:0;background:transparent;padding:0;display:block}.thumb-button img,.thumb-placeholder{width:44px;height:44px;object-fit:contain;border-radius:6px;background:#f3f1ed;display:flex;align-items:center;justify-content:center;color:#9caaa9}.order-composition{min-width:240px;max-width:420px}.order-item{display:flex;gap:10px;align-items:center;padding:4px 0}.order-item img{width:44px;height:44px;object-fit:contain;border-radius:6px}.order-item small{font-size:12px}.job-summary{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.job-error{max-width:400px;overflow-wrap:anywhere;font-size:13px}.pagination-total{color:#768187}@media(max-width:720px){.pagination-pages{order:3;width:100%}.brand-logo{width:38px;height:38px}.pagination-pages button{padding:6px 9px}}aside{background:#172a43}aside nav button.active{background:#6f422f;color:#fffaf6}.brand small{color:#b8b7b2}app-workspace{display:block}.order-item img,.order-item .product-thumb,.order-item .thumb-placeholder{width:48px;height:48px;min-width:48px;max-width:48px;min-height:48px;max-height:48px;flex:0 0 48px;object-fit:contain;float:none;margin:0;border-radius:6px;background:#f3f1ed}.product-detail-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(260px,1fr);gap:28px;margin-bottom:28px}.product-detail .product-gallery img{width:220px;height:220px}.stock-summary{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}.product-detail h3{margin-top:24px}.product-detail td{vertical-align:top}@media(max-width:800px){.product-detail-grid{grid-template-columns:1fr}.product-detail .product-gallery img{width:150px;height:150px}}.cabinet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:16px;margin:20px 0 30px}.cabinet-card{border:1px solid #e7e2db;border-radius:12px;padding:18px;min-width:0}.cabinet-card h4{margin:0;font-size:16px}.cabinet-card h5{margin:16px 0 6px;font-size:14px}.cabinet-offer{border-top:1px solid #e7e2db;margin-top:16px;padding-top:14px}.cabinet-offer>a{display:block;margin:8px 0}.cabinet-offer small{display:block}.cabinet-stocks th,.cabinet-stocks td{padding:6px;font-size:12px}.cabinet-card .error{font-size:12px;overflow-wrap:anywhere}fieldset{border:0;padding:0;margin:0;min-width:0}.column-filter{display:block;max-width:none;font-weight:400}.column-filter>summary{cursor:pointer;font-size:12px;color:#795138;width:max-content}.marketplace-table th,.marketplace-table td{padding:10px 12px}.marketplace-table small{font-size:11px}.marketplace-table details{font-size:12px;max-width:320px;white-space:normal}.compact-error>summary{color:#ab3d36;cursor:pointer}.inline-check{display:flex;align-items:center;gap:8px;white-space:nowrap}.inline-check input{width:16px;min-width:16px}.route-content[hidden]{display:none}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:-8px 0 18px;color:#8a9097;font-size:12px}.breadcrumbs a{border:0;background:transparent;color:#795138;padding:0;font-size:12px;text-decoration:none}.breadcrumbs [aria-current=page]{color:#495767;max-width:min(70vw,600px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skeleton{background:linear-gradient(90deg,#efede9 25%,#f9f8f6,#efede9 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s ease-in-out infinite;border-radius:6px}@keyframes skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.skeleton-layout{min-height:460px}.skeleton-toolbar{height:40px;max-width:720px;margin:0 0 28px}.skeleton-title{height:26px;width:55%;margin:0 0 24px}.skeleton-line{height:16px;width:85%;margin:18px 0}.skeleton-line:nth-child(2n){width:65%}.skeleton-field{height:42px;max-width:600px;margin:24px 0}.skeleton-table-head{height:42px;margin:12px 0}.skeleton-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:24px;padding:20px 12px;border-bottom:1px solid #efede9}.skeleton-cell{height:16px}.skeleton-product{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:0 0 40px}.skeleton-cover{height:280px}.skeleton-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0 0 32px}.skeleton-stat{height:140px}.availability-panel{min-height:260px}.availability-skeleton{min-height:190px}.auto-mapping-settings{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #e7e2db}.threshold-label{display:flex;flex-direction:row;align-items:center;gap:8px;margin:0}.threshold-label input{width:70px;min-width:70px}.gallery-cover{border:0;background:transparent;padding:0;cursor:zoom-in}.gallery-backdrop{position:fixed;inset:0;z-index:200;background:#111d2cba;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}.gallery-dialog{background:#fff;border-radius:14px;width:min(1100px,100%);max-height:calc(100dvh - 48px);display:flex;flex-direction:column;box-shadow:0 12px 60px #0005;overflow:hidden}.gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px}.gallery-heading strong{display:block;overflow-wrap:anywhere}.gallery-heading small{color:#818891}.gallery-heading>button{font-size:26px;padding:0;width:32px;height:32px;border:0;background:#f3f1ed;flex:0 0 32px}.gallery-stage{position:relative;height:min(68dvh,720px);min-height:200px;display:flex;align-items:center;justify-content:center;background:#f8f7f5}.gallery-stage>img{width:100%;height:100%;object-fit:contain}.gallery-stage .photo-hidden{opacity:0}.gallery-photo-skeleton{position:absolute;inset:24px}.gallery-stage>p{position:absolute}.gallery-prev,.gallery-next{position:absolute;top:calc(50% - 22px);width:44px;height:44px;padding:0;font-size:34px;border:0;background:#ffffffdb;box-shadow:0 2px 12px #0002}.gallery-prev{left:12px}.gallery-next{right:12px}.gallery-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:12px 20px}.gallery-thumbnails button{padding:2px;border:2px solid transparent;flex:0 0 60px;background:#f4f2ef}.gallery-thumbnails button.current{border-color:#a95d38}.gallery-thumbnails img{width:54px;height:54px;object-fit:contain;display:block}.order-item>.thumb-button{flex:0 0 48px;width:48px;height:48px;padding:0;border:0;cursor:zoom-in}.product-detail .product-gallery .gallery-cover img{width:150px;height:150px;object-fit:contain}.product-detail .product-gallery{min-height:200px}@media(max-width:800px){.skeleton-product{grid-template-columns:1fr}.skeleton-cover{height:200px}.skeleton-stats{gap:8px}.skeleton-stat{height:100px}.skeleton-row{gap:12px}.gallery-backdrop{padding:10px}.gallery-dialog{max-height:calc(100dvh - 20px)}.gallery-heading{padding:12px}.gallery-stage{height:60dvh}.auto-mapping-settings{gap:10px}.skeleton-layout{min-height:420px}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}.login-card .skeleton-layout{min-height:230px}.login-card .skeleton-field{margin:18px 0}.column-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.column-heading>span{min-width:0}.column-heading>app-column-filter{flex:0 0 auto}.product-detail .product-gallery{display:flex;flex-direction:column;align-items:center;min-height:280px;gap:10px}.product-detail .product-gallery>.gallery-cover img{width:220px;height:220px;object-fit:contain}.product-gallery-strip{display:flex;gap:8px;width:100%;max-width:480px;overflow-x:auto;height:50px;flex-wrap:nowrap}.product-gallery-strip button{flex:0 0 44px;padding:0;border:1px solid #e7e2db;border-radius:5px;background:#f8f7f5;height:44px}.product-detail .product-gallery .product-gallery-strip img{width:42px;height:42px;object-fit:contain}.matching-candidates .matching-candidate{border:1px solid #e7e2db;border-radius:8px;overflow:hidden;padding:8px}.matching-candidates .matching-photo{width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.matching-candidates .matching-choice{width:100%;border:0;background:transparent;padding:8px 0;display:grid;gap:5px;text-align:left}.workspace .breadcrumbs{flex-direction:row;justify-content:flex-start;align-items:center;margin:0 0 20px;padding:0;gap:8px}.product-workspace.panel{padding:0;border:0;background:transparent;box-shadow:none}.product-detail{display:grid;gap:18px}.product-block{margin:0;min-width:0}.product-block>h3{margin-bottom:18px}.connection-badge{display:inline-flex;align-items:center;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:600;letter-spacing:normal;line-height:1.4;text-transform:none;max-width:100%;overflow-wrap:anywhere}.order-composition,.order-item,.order-item>div,.order-item .link,.order-detail td{text-align:left}.order-item{justify-content:flex-start}input[type=color]{width:80px;height:42px;padding:4px;cursor:pointer}.stock-control-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:14px 0;padding:12px;background:#f6f4f0;border-radius:8px}.stock-control{padding:12px;border:1px solid #e3e8ef;border-radius:8px;margin-bottom:16px}.stock-control-table td{padding:8px 10px}.stock-control-table input[type=number]{width:105px;padding:6px}.stock-control .toolbar input{width:105px}.stock-results{margin:12px 0}.stock-confirm-backdrop{position:fixed;inset:0;background:#17263a99;z-index:120;display:flex;align-items:center;justify-content:center;padding:20px}.stock-confirm{width:min(700px,100%);max-height:90vh;overflow:auto;margin:0}.stock-preview{max-height:50vh;overflow:auto}:root{--accent:#b84c28;--nav:#172a43;--surface:#fff;--canvas:#f7f8fa;--ink:#17263a;--muted:#526277;--line:#dee3eb;--success:#166534;--danger:#b42318;--warning:#92400e}body{background:var(--canvas);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}h1{font-size:26px;letter-spacing:-.6px}h2{font-size:20px}h3{font-size:16px}small,.badge,.tag,.eyebrow,th,.pagination{font-size:12px}small,.muted,th{color:var(--muted)}.eyebrow{letter-spacing:.08em}button,input,select,textarea{font:inherit}button{min-height:34px;border-color:var(--line);border-radius:6px}button.primary{background:var(--accent);border-color:var(--accent)}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #3977c6;outline-offset:3px}input,select,textarea{border-color:var(--line);color:var(--ink);background:var(--surface)}a{color:#974023}button.link{min-height:0}.layout{grid-template-columns:228px minmax(0,1fr)}.layout>aside{padding:24px 16px;background:var(--nav)}.brand{font-size:20px}.brand-logo{width:40px;height:40px}.brand small{font-size:12px}.nav-collapse{background:transparent;color:#c4cfdf;border:0;text-align:left;margin-top:24px}.layout aside nav{margin-top:16px;gap:8px}.nav-group>button{width:100%;display:flex;align-items:center;gap:12px;font-size:14px;color:#c6d1e0;padding:10px 12px}.nav-icon{width:20px;text-align:center;flex-shrink:0;font-size:19px}.layout aside nav .nav-child{padding:7px 12px 7px 44px;font-size:12px;color:#afbdd1;min-height:30px}.layout aside nav button.active{background:#ffffff14;color:#fff;box-shadow:inset 3px 0 var(--accent)}.compact-nav{grid-template-columns:80px minmax(0,1fr)}.compact-nav .brand>div,.compact-nav .nav-label,.compact-nav .nav-child,.compact-nav .nav-collapse>span{display:none}.compact-nav .brand,.compact-nav .nav-group>button{justify-content:center}.compact-nav .sidebar-footer>button{font-size:12px}.compact-nav .sidebar-footer>.live-dot{display:none}.workspace{max-width:none;padding:24px 32px}.workspace>header{margin-bottom:24px;gap:16px}.workspace .breadcrumbs{font-size:12px;margin-bottom:12px}.panel{border:1px solid var(--line);border-radius:10px;padding:24px;box-shadow:none;margin-bottom:20px}.section-head h2,.section-head h3{margin:0}.section-head .muted{margin:8px 0 0}.header-actions{display:flex;align-items:center;gap:12px}.global-search{display:flex;position:relative;gap:4px}.global-search>input{width:230px;max-width:100%}.search-results{position:absolute;right:0;top:44px;z-index:80;width:420px;max-width:85vw;max-height:65vh;overflow:auto;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 32px #17263a26;border-radius:8px;padding:16px}.search-results>button{display:flex;width:100%;align-items:center;gap:12px;border:0;text-align:left}.search-results img{width:32px;height:32px;object-fit:contain}.search-results small{display:block}.section-tabs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:0 0 20px;border-bottom:1px solid var(--line);padding-bottom:8px}.section-tabs>button{background:transparent;border:0;color:var(--muted);padding:8px 12px}.section-tabs>button.active{color:var(--accent);background:#fff0e9;font-weight:600}.product-sections{position:sticky;top:0;z-index:20;background:var(--canvas);padding:12px 0}.product-block{scroll-margin-top:70px}.view-tools{display:flex;justify-content:flex-end;gap:16px;align-items:center;margin:-10px 0 16px}.view-tools>label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px}.view-tools select{padding:6px}.view-tools details{position:relative}.view-popover{position:absolute;right:0;top:32px;z-index:50;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px #17263a26;padding:16px;width:280px;border-radius:8px}.view-popover>div{display:flex;justify-content:space-between;margin-top:8px}.active-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.filter-chip{display:inline-flex;max-width:300px;overflow:hidden;text-overflow:ellipsis;align-items:center;gap:8px;background:#eef2f7;color:var(--ink);border-color:transparent;margin:0 4px 8px 0;font-size:12px;padding:4px 10px}.table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px}table{font-variant-numeric:tabular-nums}th{padding:12px;background:#f7f8fa;position:sticky;top:0;z-index:2;color:var(--muted);border-color:var(--line)}td,.compact-catalog td,.marketplace-table td{padding:8px 12px;min-height:44px;font-size:14px;vertical-align:middle;border-color:#e8ecf1}tbody tr:hover{background:#fafbfc}td small{font-size:12px;line-height:1.45}.numeric{text-align:right;font-variant-numeric:tabular-nums}.numeric button{display:block;margin-left:auto}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px;min-width:16px}.orders-table th:first-child,.orders-table td:first-child,.compact-catalog th:first-child,.compact-catalog td:first-child{position:sticky;left:0;background:var(--surface);z-index:1}.orders-table th:first-child,.compact-catalog th:first-child{background:#f7f8fa;z-index:3}.order-item img,.order-item .product-thumb,.order-item .thumb-placeholder,.order-item>.thumb-button{width:32px;height:32px;min-width:32px;max-width:32px;min-height:32px;max-height:32px;flex:0 0 32px}.thumb-button img,.thumb-placeholder,.workspace-thumb{width:32px;height:32px;object-fit:contain;border-radius:5px;background:#f4f6f8}.standard-density td,.standard-density .compact-catalog td{padding-top:12px;padding-bottom:12px;min-height:56px}.standard-density .order-item img,.standard-density .order-item .thumb-placeholder,.standard-density .order-item>.thumb-button{width:40px;height:40px;min-width:40px;max-width:40px;min-height:40px;max-height:40px;flex-basis:40px}.standard-density .thumb-button img,.standard-density .thumb-placeholder,.standard-density .workspace-thumb{width:40px;height:40px}.bulk-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 16px;background:#eef2f7;border:1px solid var(--line);border-radius:8px;margin-bottom:16px;position:sticky;top:8px;z-index:15}.bulk-bar small{flex-basis:100%}.badge.good{color:var(--success);background:#edf7ef}.warning{color:var(--warning)}.error{color:var(--danger);background:#fff1f0;border-color:#f0c8c2}.success{color:var(--success)}.connection p{color:var(--muted)}.stats{gap:16px}.stats section{padding:20px}.stats p{color:var(--muted)}.work-queue-heading{margin:24px 0 16px}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:20px 0 24px}.metric{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:8px;padding:20px;color:var(--ink);text-decoration:none}.metric>span,.metric small{color:var(--muted)}.metric strong{font-size:32px;font-variant-numeric:tabular-nums}.metric strong.metric-money{font-size:22px}.metric:hover{border-color:var(--accent)}.trend{height:180px;display:flex;align-items:flex-end;gap:5px;overflow-x:auto;margin:16px 0 24px;padding:20px 0 32px}.trend-day{position:relative;display:flex;align-items:flex-end;justify-content:center;height:100%;min-width:24px;flex:1;border:0;border-radius:0;padding:0;background:transparent}.trend-bar{position:relative;overflow:hidden;display:block;background:#e4e9f0;min-width:12px;width:80%;max-width:32px;border-radius:3px 3px 0 0}.trend-day:hover .trend-bar,.trend-day:focus-visible .trend-bar{outline:2px solid var(--accent);outline-offset:2px}.trend-label{position:absolute;bottom:-24px;font-size:10px;white-space:nowrap}.trend-count{position:absolute;top:-20px;font-size:12px;color:var(--muted)}.method{font-size:12px;color:var(--muted)}.order-drawer{position:fixed;right:0;top:0;width:min(850px,92vw);height:100dvh;overflow:auto;z-index:90;box-shadow:-20px 0 60px #17263a33;margin:0;border-radius:0}.order-detail.order-drawer table{min-width:640px}.offer-workspace td{vertical-align:top}.offer-workspace th{white-space:nowrap}@media(max-width:1100px){.header-actions{flex-wrap:wrap;justify-content:flex-end}.global-search>input{width:180px}.workspace{padding:24px}}@media(max-width:720px){.layout,.compact-nav{display:block}.layout>aside{height:auto;padding:16px}.layout aside nav{display:flex;flex-direction:row;overflow-x:auto;align-items:flex-start}.nav-group{flex-shrink:0}.nav-group>button{white-space:nowrap}.layout aside nav .nav-child,.nav-collapse{display:none}.workspace{padding:20px 12px}.workspace>header{align-items:flex-start;flex-direction:column}.header-actions{width:100%;justify-content:space-between}.global-search{min-width:0;flex:1}.global-search>input{min-width:0;width:100%}.metric-grid{grid-template-columns:1fr 1fr;gap:8px}.metric{padding:12px}.metric strong{font-size:24px}.metric strong.metric-money{font-size:18px}.panel{padding:16px}.section-tabs{gap:2px}.section-tabs>button{padding:8px}.view-tools{justify-content:flex-start;flex-wrap:wrap;margin:0 0 16px}.order-drawer{width:96vw}.compact-nav .nav-label,.compact-nav .brand>div{display:block}.compact-nav .nav-child{display:none}}.table-column-picker{position:relative;display:flex;justify-content:flex-end;margin-bottom:8px;font-size:12px;color:var(--muted)}.table-column-picker>summary{cursor:pointer;width:max-content;margin-left:auto;padding:6px}.column-picker-menu{position:absolute;right:0;top:30px;z-index:40;min-width:240px;max-height:380px;overflow:auto;background:var(--surface);border:1px solid var(--line);padding:12px;box-shadow:0 8px 24px #17263a26;border-radius:8px}.column-picker-menu label{display:flex;align-items:center;gap:8px;padding:6px;margin:0}table [hidden]{display:none!important}.toolbar .inline-check{flex-direction:row;align-items:center;margin:0;gap:8px}.table-wrap button.link{text-align:left}.table-wrap td:last-child>button:not(.link){white-space:nowrap}.trend-label,.sidebar-footer{font-size:12px}.view-tools>label{flex-direction:row}.layout aside{overflow-y:auto}.compact-catalog{table-layout:fixed;min-width:850px}.compact-catalog th:first-child{width:52px}.compact-catalog th:nth-child(2){width:38%}.compact-catalog th:nth-child(3){width:15%}.compact-catalog th:nth-child(4){width:14%}.compact-catalog th:nth-child(5){width:175px}.compact-catalog th:nth-child(6){width:145px}.compact-catalog td{padding:6px 10px;vertical-align:middle;line-height:1.25}.compact-catalog td:nth-child(2)>.link{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;width:100%;font-weight:500}.compact-catalog td:nth-child(3){overflow:hidden;overflow-wrap:anywhere;font-size:12px}.compact-catalog td:nth-child(4){overflow-wrap:anywhere;font-size:12px;font-variant-numeric:tabular-nums}.compact-catalog small{margin-top:2px;line-height:1.25}.catalog-badge-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.connection-badge.connection-badge-round{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;min-width:27px;padding:0;border-radius:50%;font-size:11px;line-height:1;letter-spacing:-.2px;white-space:nowrap;overflow:hidden}.catalog-connections .catalog-badge-row{max-width:170px}.mapping-article{display:block;font-weight:600;margin-top:5px;text-decoration:none}.mapping-article:hover{text-decoration:underline}.compact-catalog td details>summary{font-size:12px;cursor:pointer}.compact-catalog td details[open]{position:relative}.compact-catalog td details[open] label{margin:8px 0}.compact-catalog .catalog-connections small{display:none}.price-editor{border:1px solid var(--border,#d8e1ec);background:var(--surface-soft,#f5f8fc);padding:14px;border-radius:10px;margin:12px 0}.price-editor h3{margin:0}.price-editor .toolbar label{max-width:230px}.price-preview{max-height:360px;overflow:auto}.price-preview thead{position:sticky;top:0;background:var(--surface,#fff);z-index:1}.draft-list{margin:10px 0;padding-left:20px}.product-block[hidden]{display:none!important}.product-sections{position:static;margin-bottom:14px;padding:0 0 8px}.product-detail>.product-block{margin:0}.order-toolbar{align-items:flex-end;gap:9px;margin:14px 0}.order-toolbar label{margin:0;gap:6px}.order-toolbar>button,.order-toolbar input,.order-toolbar select{height:38px;box-sizing:border-box}.order-toolbar>button{align-self:flex-end;white-space:nowrap}.catalog-filter-bar{display:flex;align-items:center;gap:10px;margin:8px 0 12px;min-width:0}.catalog-filter-bar>input{width:300px;max-width:40%;min-width:100px;height:38px;box-sizing:border-box}.catalog-filter-bar>button{height:38px;white-space:nowrap}.catalog-filter-bar>.inline-check{display:flex;flex-direction:row;align-items:center;gap:7px;white-space:nowrap;margin:0}.catalog-filter-bar input[type=checkbox]{width:16px;height:16px;margin:0}.catalog-count{margin-left:auto;white-space:nowrap;font-size:13px;color:var(--muted)}.product-workspace .availability-panel{padding:12px;margin:0 0 12px}.product-workspace .availability-panel h3{margin:0 0 6px}.product-workspace .availability-panel p{margin:6px 0}.product-gallery .gallery-cover img{max-height:300px}.product-detail .stock-control-summary>button{display:none}@media(max-width:600px){.catalog-filter-bar{gap:6px}.catalog-filter-bar>input{flex:1;width:100px;max-width:none;min-width:50px}.catalog-count{font-size:11px}.catalog-filter-bar>.inline-check{font-size:12px}.order-toolbar>label{flex:1;min-width:130px}.product-sections>button{padding:8px}.product-detail .availability-panel small{overflow-wrap:anywhere}}.stock-control .price-scope{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:11px;margin:7px 0 0;white-space:normal}.price-scope input[type=checkbox]{width:14px;height:14px}.stock-control-table input:disabled{background:var(--canvas)}.stock-control-summary{margin-bottom:10px}.stock-control>.toolbar{align-items:flex-end;gap:8px}.stock-control .toolbar input{height:36px;box-sizing:border-box}.stock-control .toolbar button{height:36px;padding:6px 10px}.stock-control-table th{white-space:normal}.product-workspace .availability-panel{min-height:0}.catalog-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.product-workspace .stock-control-summary{margin:10px 0}.stock-control .toolbar input::placeholder{font-size:12px}.order-toolbar input[type=date]{min-width:130px}.table-column-picker .column-picker-menu label{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start;text-align:left;gap:9px;min-height:32px;width:100%;box-sizing:border-box;padding:5px 7px;font-size:13px}.table-column-picker .column-picker-menu input[type=checkbox]{width:16px;height:16px;min-height:0;flex:0 0 16px;margin:0;padding:0}.column-picker-menu label:hover{background:var(--canvas,#f4f6f8);border-radius:4px}.period-toolbar{align-items:flex-end}.period-toolbar>label{margin:0;gap:6px;min-width:135px}.period-toolbar>button{align-self:flex-end;white-space:nowrap}.period-toolbar input,.period-toolbar select,.period-toolbar>button{height:40px;box-sizing:border-box}.moysklad-balance-line{display:flex;align-items:center;gap:14px;min-height:44px;padding:8px 12px;margin-bottom:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft,#f5f8fc);flex-wrap:wrap;font-size:14px}.moysklad-balance-line strong{font-size:20px;margin-left:8px;font-variant-numeric:tabular-nums}.moysklad-balance-line time{margin-left:auto;color:var(--muted);font-size:12px}.inactive-stock-row{color:var(--muted);background:var(--canvas,#f4f6f8)}.inactive-stock-row app-connection-badge{filter:grayscale(1);opacity:.6}.stock-copy-toolbar{justify-content:flex-end}.shipment-setting{margin:18px 0;padding:12px;border:1px solid var(--line);border-radius:8px}.shipment-setting .inline-check{display:flex;flex-direction:row;gap:8px;align-items:center}.shipment-setting input[type=checkbox]{width:16px;height:16px}.product-mapping-dialog{width:min(460px,calc(100vw - 32px));max-height:90vh;overflow:auto}.marketplace-table input[type=checkbox],.stock-control-table input[type=checkbox]{width:16px;height:16px;margin:0}.product-info-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.product-info-heading h2{margin:5px 0 10px;font-size:24px;line-height:1.25}.product-info-heading .eyebrow{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.product-article{display:inline-block;background:var(--canvas,#f3f5f8);border:1px solid var(--line);padding:4px 9px;border-radius:5px;font-size:13px;font-weight:600}.product-information-layout{display:grid;grid-template-columns:minmax(200px,280px) minmax(0,1fr);gap:28px;align-items:start}.product-information-layout .gallery-cover{width:100%;height:270px;background:#f7f9fc;display:grid;place-items:center;border-radius:10px;border:1px solid var(--line)}.product-information-layout .gallery-cover img{max-width:100%;max-height:250px;object-fit:contain}.product-information-body{min-width:0}.photo-count{display:block;color:var(--muted);font-size:12px;margin:9px 0}.product-no-image{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;background:var(--canvas);border-radius:10px;padding:20px}.product-no-image small{max-width:190px}.product-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:0}.product-facts>div{padding:10px 0 13px;border-bottom:1px solid var(--line);min-width:0}.product-facts .fact-wide{grid-column:1/-1}.product-facts dt{color:var(--muted);font-size:12px;margin-bottom:5px}.product-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere}.product-facts .technical-id{font-size:12px;font-family:monospace}.product-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.product-context-grid button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:13px 12px;background:var(--canvas,#f5f7fa);min-width:0;gap:5px;white-space:normal}.product-context-grid button strong{font-size:24px;line-height:1.2}.product-context-grid button small{font-size:11px}.product-context-grid button span{font-size:11px;color:var(--accent,#b74621)}.moysklad-balance-card{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:16px 18px;margin:0 0 16px;background:#f7f9fc;border:1px solid var(--line);border-radius:10px;min-height:82px;box-sizing:border-box}.balance-source{display:flex;align-items:center;gap:10px}.balance-source h4{margin:0 0 7px;font-size:13px;font-weight:600}.balance-icon{font-size:23px;background:#e9eff6;border-radius:9px;padding:8px;color:#4f6f8f}.balance-main>span,.balance-freshness div>span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.balance-main strong{font-size:30px;line-height:1;font-variant-numeric:tabular-nums}.balance-main strong small{display:inline;font-size:12px;margin-left:6px;font-weight:400}.balance-detail{display:grid;gap:6px;font-size:12px;color:var(--muted);padding-left:18px;border-left:1px solid var(--line)}.balance-detail b{color:var(--ink,#17263a);margin-left:8px}.balance-freshness{margin-left:auto;display:flex;align-items:center;gap:8px}.balance-freshness time{display:block;font-size:12px;font-variant-numeric:tabular-nums}.freshness-dot{width:7px;height:7px;border-radius:50%;background:#258565;flex-shrink:0}.freshness-dot.stale{background:#bd8b35}.balance-notice{flex-basis:100%;font-size:12px;color:#99631b;border-top:1px solid var(--line);padding-top:9px}.metric-revenue .metric-money{font-variant-numeric:tabular-nums}@media(max-width:900px){.product-information-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.product-context-grid{grid-template-columns:1fr}.product-context-grid button{display:grid;grid-template-columns:1fr auto;gap:6px}.product-context-grid button span{grid-column:1/-1}.moysklad-balance-card{gap:14px}.balance-freshness{margin-left:0}}@media(max-width:600px){.product-information-layout{grid-template-columns:1fr}.product-information-layout .gallery-cover{height:230px}.product-facts{gap:0 12px}.product-context-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-context-grid button{display:flex;padding:10px 7px}.product-info-heading h2{font-size:20px}.balance-main strong{font-size:26px}.moysklad-balance-card{padding:12px}.balance-freshness{flex-basis:100%;border-top:1px solid var(--line);padding-top:10px}}.trend-delivered{position:absolute;bottom:0;left:0;width:100%;background:#2f855a}.trend-cancelled{position:absolute;left:0;width:100%;background:#c74750}.trend-legend{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;font-size:12px;color:var(--muted)}.trend-legend>span{display:inline-flex;align-items:center;gap:6px}.trend-key{display:inline-block;width:12px;height:12px;border-radius:3px}.trend-key.total{background:#e4e9f0}.trend-key.delivered{background:#2f855a}.trend-key.cancelled{background:#c74750}
