@charset "UTF-8";
:root{--canvas:#f4f4f6;--paper:#fff;--ink:#24252e;--muted:#767781;--line:#e5e6ea;--green:#323440;--green-hover:#282a34;--green-pale:#eeeff2;--lime:#ced0d9;--amber:#9b7132;--amber-pale:#fbf5e9;--red:#a94848;--radius:17px;--shadow:0 2px 7px #25262e10;--font:"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b0b2c1;outline-offset:3px}a{color:inherit}button{color:inherit}svg{display:block;flex:none}button svg{pointer-events:none}.skip-link{position:fixed;top:-70px;left:18px;background:var(--green);color:#fff;padding:12px 18px;z-index:100}.skip-link:focus{top:12px}.noscript{padding:28px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.25;font-weight:650;letter-spacing:-.9px}h2{font-size:18px;line-height:1.4;font-weight:650;letter-spacing:-.35px}h3{font-size:15px;font-weight:650}.muted{color:var(--muted)}.small{font-size:12px}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:226px;padding:29px 17px 20px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:0 8px;color:var(--ink);text-decoration:none;width:100%;border:0;background:none;text-align:left}.brand-mark{width:37px;height:39px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:12px}.brand-mark .icon{width:25px;height:25px}.brand-name{font-size:17px;font-weight:700;letter-spacing:-.4px;line-height:1.3}.brand-version{font-weight:500;color:var(--muted);font-size:10px;letter-spacing:1.8px;text-transform:uppercase;display:block;margin-top:3px}.nav-label{font-size:10px;font-weight:650;letter-spacing:1.2px;color:#a0a1aa;padding:0 14px;margin:42px 0 13px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;text-decoration:none;padding:12px 14px;border-radius:10px;font-size:14px;font-weight:500;margin:3px 0;color:#81828c}.nav-item.active{color:var(--green);background:var(--green-pale);font-weight:650}.nav-item.active .nav-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:var(--green)}.nav-item.future{color:#a0a1aa;cursor:default}.nav-later{margin-left:auto;font-size:9px;color:#a2a3aa;font-weight:400}.sidebar-bottom{margin-top:auto;padding:22px 10px 0}.sidebar-note{background:#f5f5f7;border:1px solid #eaeaee;border-radius:12px;padding:15px;color:#7b7d88;font-size:11px;line-height:1.65}.sidebar-note strong{display:block;color:#4e5163;font-size:12px;margin-bottom:4px}.sidebar-version{display:flex;gap:7px;align-items:center;color:#9a9ba2;font-size:10px;padding:16px 3px 0}.live-dot{width:5px;height:5px;background:#82859c;border-radius:100%}.main-shell{margin-left:226px;min-width:0}.topbar{height:77px;border-bottom:1px solid var(--line);background:#ffffffc7;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:18px}.topbar-location{display:flex;gap:9px;align-items:center;color:#737581;font-size:12px}.topbar-location .icon{width:16px;height:16px}.topbar-right{display:flex;align-items:center;gap:23px}.demo-pill{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:550;color:#6f717d;background:#f0f0f3;padding:6px 10px;border:1px solid #e2e3e8;border-radius:6px;white-space:nowrap}.demo-pill .icon{width:13px;height:13px}.workspace{display:flex;align-items:center;gap:10px;border-left:1px solid var(--line);padding-left:23px}.avatar{height:31px;width:31px;border-radius:9px;background:#e8e9ed;color:#54586c;display:grid;place-items:center;font-size:12px;font-weight:700}.workspace-name{font-size:12px;font-weight:600;line-height:1.35}.workspace-kind{font-size:10px;color:#92939d}.page{padding:35px 40px 88px;max-width:1570px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:29px}.page-eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#8f909a;margin-bottom:10px}.page-subtitle{color:var(--muted);font-size:13px;margin-top:9px;line-height:1.6}.heading-actions{display:flex;align-items:center;gap:10px;flex:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:9px;min-height:41px;padding:9px 15px;font-size:12px;font-weight:600;background:var(--paper);transition:background .16s,transform .16s,border-color .16s;white-space:nowrap;text-decoration:none}.button .icon{width:17px;height:17px}.button:hover{background:#f6f6f8;border-color:#d1d2db}.button:active{transform:translateY(1px)}.button.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 3px #32344015}.button.primary:hover{background:var(--green-hover);border-color:var(--green-hover)}.button.ghost{border-color:transparent;background:transparent;color:#696b7b}.button.small-button{min-height:33px;padding:6px 10px;font-size:11px;border-radius:7px}.button:disabled{opacity:.5;transform:none}.icon-button{display:grid;place-items:center;background:transparent;border:0;border-radius:7px;padding:7px;color:#8d8e98}.icon-button:hover{background:#f0f1f4;color:var(--green)}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:28px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:var(--shadow)}.summary-label{font-size:11px;color:#7f808a;margin-bottom:9px}.summary-number{font-size:31px;line-height:1.1;letter-spacing:-1px;font-weight:600}.summary-bottom{margin-top:11px;color:#93949e;font-size:10px}.summary-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#f0f0f3;color:#696d85}.summary-card:nth-child(2) .summary-icon{background:#efeff2;color:#6c7089}.summary-card:nth-child(3) .summary-icon{background:#fbf5e9;color:#b29b65}.summary-card.attention .summary-number{color:#a17a39}.catalog-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 23px;border-bottom:1px solid var(--line)}.catalog-title{font-size:15px;font-weight:650;display:flex;align-items:center;gap:9px}.count-badge{font-size:10px;color:#878993;background:#f2f2f4;padding:2px 7px;border-radius:5px}.toolbar-controls{display:flex;gap:9px;align-items:center}.search-wrap{position:relative}.search-wrap .icon{position:absolute;left:11px;top:10px;color:#8f919c;width:16px;height:16px}.search-input{background:#f9fafb;border:1px solid var(--line);height:37px;padding:7px 11px 7px 35px;border-radius:8px;width:225px;color:var(--ink);font-size:11px}.search-input::placeholder{color:#a0a1aa}.filter-select{border:1px solid var(--line);background:#fff;height:37px;border-radius:8px;padding:6px 27px 6px 11px;color:#656776;font-size:11px;max-width:175px}.catalog-subtoolbar{display:flex;align-items:center;justify-content:space-between;padding:13px 23px;background:#fdfdfd;gap:12px}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#828490;cursor:pointer}.checkbox-label input{accent-color:var(--green);width:13px;height:13px;margin:0}.catalog-note{display:flex;gap:7px;align-items:center;font-size:10px;color:#a0a1aa}.catalog-note .icon{width:13px;height:13px}.product-table{border-collapse:collapse;width:100%;table-layout:fixed}.product-table th{background:#f7f7f8;padding:12px 17px;font-size:10px;color:#8d8f99;font-weight:500;text-align:left;border-block:1px solid #ebebef;white-space:nowrap}.product-table th:first-child{width:34%;padding-left:24px}.product-table th:nth-child(2){width:17%}.product-table th:nth-child(3){width:10%}.product-table th:nth-child(4){width:11%}.product-table th:nth-child(5){width:15%}.product-table th:last-child{width:13%}.product-table td{padding:19px 17px;border-bottom:1px solid #ecedf0;vertical-align:middle;font-size:12px}.product-table td:first-child{padding-left:23px}.product-table tr:last-child td{border-bottom:0}.product-table tbody tr{transition:background .16s;cursor:pointer}.product-table tbody tr:hover{background:#f9fafb}.product-main{display:flex;align-items:center;gap:14px;min-width:0}.product-picture{width:55px;height:55px;flex:none;background:#f2f1e8;border-radius:11px;overflow:hidden}.product-picture svg{width:100%;height:100%}.product-main-copy{min-width:0}.product-open{padding:0;border:0;background:none;font-size:12px;font-weight:600;text-align:left;line-height:1.5;white-space:normal}.product-open:hover{color:var(--green)}.article{color:#a0a1aa;font-size:10px;margin-top:4px;letter-spacing:.15px}.market-chips{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.market-chip{display:inline-flex;gap:4px;align-items:center;border:1px solid;border-radius:5px;padding:3px 6px;font-size:9px;font-weight:650;line-height:1.25;white-space:nowrap}.market-chip.wb{color:#995582;background:#fcf0fa;border-color:#f3e3f0}.market-chip.ozon{color:#5c81b7;background:#edf4fd;border-color:#e3edf9}.market-chip .tiny-dot{width:3px;height:3px;background:currentColor;border-radius:50%}.num{font-variant-numeric:tabular-nums}.cost-main{font-weight:650;font-size:13px;white-space:nowrap}.cost-detail{display:block;color:#a0a1aa;font-size:9px;margin-top:3px}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:5px;font-size:9px;font-weight:500;white-space:nowrap}.status-pill .icon{width:11px;height:11px}.status-pill.ok{color:#676a82;background:#f0f0f3}.status-pill.warning{background:var(--amber-pale);color:var(--amber)}.status-pill.neutral{background:#f0f0f3;color:#777987}.row-last{display:flex;align-items:center;justify-content:space-between;gap:4px}.row-chevron{width:14px;height:14px;color:#b5b6be}.table-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#9c9da6;font-size:10px}.tip-panel{display:flex;align-items:flex-start;gap:13px;padding:20px 22px;margin-top:20px;border:1px solid #e0e1e7;border-radius:13px;background:#ecedf0;color:#696d85;font-size:11px;line-height:1.65}.tip-panel .icon{width:19px;height:19px;color:#878ba1;margin-top:1px}.tip-panel strong{display:block;font-weight:600;color:#5c6076;margin-bottom:3px}.page-footer{display:flex;justify-content:space-between;align-items:center;padding-top:23px;color:#a1a2aa;font-size:10px}.page-footer .status-dot{display:inline-flex;align-items:center;gap:6px}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:#8a8c98;margin-bottom:24px}.breadcrumb button{padding:0;background:none;border:0;color:#65687d;display:flex;gap:7px;align-items:center}.breadcrumb .icon{width:15px;height:15px}.detail-heading{display:flex;align-items:center;gap:22px;margin-bottom:27px}.detail-heading .product-picture{width:85px;height:85px;border-radius:18px}.detail-heading-copy{min-width:0}.detail-heading h1{font-size:27px}.detail-meta{display:flex;gap:9px;align-items:center;margin-top:9px;flex-wrap:wrap;color:#8c8e98;font-size:11px}.detail-meta .article{margin:0}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:22px;align-items:start}.detail-main{display:grid;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-head{padding:22px 24px 18px;display:flex;justify-content:space-between;align-items:flex-start;gap:13px}.panel-head p{font-size:11px;line-height:1.65;color:#878993;margin-top:5px}.panel-body{padding:0 24px 24px}.panel-number{display:grid;place-items:center;width:25px;height:25px;border:1px solid #e5e6eb;background:#f5f6f8;color:#747892;border-radius:7px;font-size:11px}.panel-title-line{display:flex;align-items:center;gap:10px}.fields-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-size:11px;font-weight:600;color:#616373}.input-group{display:flex;align-items:center;background:#fbfbfb;border:1px solid #dedfe5;border-radius:9px;min-height:45px;overflow:hidden;transition:border-color .15s,box-shadow .15s}.input-group:focus-within{border-color:#8e92a7;box-shadow:0 0 0 3px #eeeef1}.input-group input{width:100%;min-width:0;border:0;padding:10px 11px;background:transparent;font-size:14px;color:var(--ink);outline:0!important;font-variant-numeric:tabular-nums}.input-group .unit{padding-right:12px;font-size:11px;color:#9496a5;white-space:nowrap}.input-group select{background:transparent;color:#86899d;border:0;padding:10px 7px;font-size:11px;border-left:1px solid #e4e4e9;outline:none}.input-group input[type=date]{font-size:12px;min-height:43px}.plain-input{min-height:44px;padding:10px 12px;border-radius:9px;border:1px solid #dedfe5;background:#fbfbfb;width:100%;color:var(--ink)}.field-note{font-size:10px;color:#8f91a1;line-height:1.5}.field-error{color:var(--red);font-size:10px}.field-error:empty{display:none}.date-row{margin-top:23px;padding-top:20px;border-top:1px solid var(--line);display:flex;gap:21px;align-items:center}.date-row .field{width:180px;flex:none}.date-explanation{font-size:11px;color:#8f91a0;line-height:1.6;max-width:290px}.subtle-note{font-size:11px;color:#888b9b;line-height:1.65;margin-top:14px;display:flex;gap:8px;align-items:flex-start}.subtle-note .icon{width:14px;height:14px;flex:none;margin-top:2px}.preview-panel{background:#f8f8f9;border:1px solid #dcdde4;border-radius:var(--radius);padding:22px}.preview-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:#8589a0;margin-bottom:10px}.preview-title{font-size:17px;font-weight:650;margin-bottom:4px}.preview-date{font-size:10px;color:#7c7f96;margin-bottom:21px}.component-row{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#777a90;margin:14px 0;align-items:baseline}.component-row span:last-child{color:#505365;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.component-label small{display:block;font-size:9px;color:#989bad;margin-top:2px}.preview-total{border-top:1px solid #dbdce3;padding-top:19px;margin-top:21px}.preview-total-label{font-size:11px;color:#777b94}.preview-total-value{font-size:31px;line-height:1.2;font-weight:600;letter-spacing:-.9px;color:var(--green);margin-top:7px}.preview-total-value .rub{font-size:22px;color:#6a6e87;font-weight:450}.preview-bottom{border-top:1px solid #e1e2e8;margin-top:21px;padding-top:15px;font-size:10px;line-height:1.7;color:#84879e}.preview-bottom button{padding:0;border:0;background:none;font-size:10px;text-decoration:underline;text-underline-offset:3px;color:#64687f}.preview-loading{opacity:.48}.preview-status{min-height:16px;margin-top:10px;font-size:10px;color:#747891}.listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.listing-card{border:1px solid var(--line);border-radius:11px;padding:15px;background:#fff;min-width:0}.listing-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.listing-title{font-size:12px;font-weight:600;line-height:1.5}.listing-id{font-size:10px;color:#9c9eaa;margin:4px 0 14px;overflow-wrap:anywhere}.listing-cost{font-size:20px;font-weight:600;letter-spacing:-.4px;margin-bottom:8px}.inheritance-note{font-size:10px;color:#7c8098;display:flex;align-items:center;gap:5px;line-height:1.5}.inheritance-note .icon{width:12px;height:12px}.inheritance-note.custom{color:#a18b5a}.listing-edit{margin-top:11px;border:0;background:transparent;padding:0;color:#727691;font-size:10px;text-decoration:underline;text-underline-offset:3px}.history-list{display:grid;gap:0}.history-item{display:grid;grid-template-columns:23px minmax(0,1fr) auto;gap:11px;position:relative;padding:14px 0;border-bottom:1px solid #ebebef}.history-item:last-child{border-bottom:0;padding-bottom:0}.history-node{width:21px;height:21px;border-radius:50%;background:#edeef1;display:grid;place-items:center;color:#777b94;margin-top:1px}.history-node .icon{width:12px;height:12px}.history-reason{font-size:11px;font-weight:550}.history-date{font-size:10px;color:#898ca0;margin-top:2px}.history-inputs{font-size:10px;line-height:1.6;color:#8b8ea0;margin-top:6px}.history-sum{text-align:right;font-size:12px;font-weight:600;white-space:nowrap}.history-sum .status-pill{margin-top:5px;font-size:8px}.save-bar{position:sticky;bottom:16px;margin-top:25px;z-index:10;background:#fffffff5;border:1px solid #dbdce3;border-radius:13px;padding:14px 19px;box-shadow:0 9px 32px #2c2e3815;display:flex;justify-content:space-between;gap:14px;align-items:center;backdrop-filter:blur(8px)}.save-status{font-size:11px;color:#7a7e97;display:flex;align-items:center;gap:9px}.save-status .icon{width:16px;height:16px}.save-status.dirty{color:#a18853}.save-actions{display:flex;gap:8px}.empty-state{padding:60px 25px;text-align:center}.empty-icon{width:53px;height:53px;border-radius:15px;background:#edeef1;display:grid;place-items:center;color:#898ca2;margin:0 auto 16px}.empty-state h2{font-size:17px}.empty-state p{font-size:12px;color:#838697;margin:8px auto 19px;max-width:360px;line-height:1.7}.error-banner{background:#fdf0ee;border:1px solid #f0dad7;border-radius:9px;padding:11px 13px;color:#a6574d;font-size:11px;line-height:1.6;margin-top:13px}.error-banner:empty{display:none}.info-banner{background:#f0f1f4;border:1px solid #dfdfe5;border-radius:9px;padding:11px 13px;font-size:11px;line-height:1.6;color:#6b6f88;margin-bottom:18px}.loading-state{padding:80px 20px;display:flex;gap:12px;align-items:center;justify-content:center;color:#777a90;font-size:13px}.spinner{width:18px;height:18px;border:2px solid #d9dae1;border-top-color:var(--green);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.skeleton{height:14px;border-radius:5px;background:linear-gradient(90deg,#eeeef1,#f7f7f8,#eeeef1);background-size:200% 100%;animation:shimmer 1.6s infinite}@keyframes shimmer{to{background-position:-200% 0}}dialog{border:1px solid #dedfe5;border-radius:20px;box-shadow:0 25px 100px #2122292e;padding:0;width:min(480px,calc(100vw - 30px));max-height:calc(100dvh - 44px);background:#fff;color:var(--ink);overflow:auto}dialog::backdrop{background:#28293355;backdrop-filter:blur(3px)}.dialog-head{padding:25px 25px 0;display:flex;gap:18px;justify-content:space-between;align-items:flex-start}.dialog-head h2{font-size:21px;letter-spacing:-.5px}.dialog-head .icon-button{margin:-5px -6px 0 0}.dialog-copy{font-size:12px;line-height:1.7;color:#7b7e93;margin-top:8px}.dialog-body{padding:22px 25px 25px}.dialog-fields{display:grid;gap:17px}.dialog-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;padding:18px 25px;border-top:1px solid var(--line);background:#f9f9fa;border-radius:0 0 20px 20px}.dialog-footer-note{font-size:10px;line-height:1.6;color:#8e91a4;margin-top:17px}.dialog-radio{display:flex;gap:10px;align-items:flex-start;padding:13px;border:1px solid var(--line);border-radius:9px;cursor:pointer;margin-bottom:9px}.dialog-radio:has(input:checked){border-color:#9a9daf;background:#f7f7f8}.dialog-radio input{accent-color:var(--green);margin-top:3px}.dialog-radio strong{font-size:12px;font-weight:550}.dialog-radio small{display:block;color:#8689a0;font-size:10px;margin-top:3px;line-height:1.5}.link-options{display:grid;gap:8px;max-height:330px;overflow:auto}.link-option{display:flex;gap:11px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:9px;cursor:pointer}.link-option:has(input:checked){background:#f4f5f7;border-color:#9fa2b4}.link-option input{margin-top:5px;accent-color:var(--green)}.link-option-name{font-size:12px;font-weight:550;margin-bottom:4px}.link-option-meta{display:flex;gap:8px;align-items:center;color:#8a8da3;font-size:10px;margin-top:6px}.toast-region{position:fixed;right:25px;bottom:25px;z-index:200;width:min(380px,calc(100vw - 30px));display:grid;gap:9px}.toast{padding:14px 17px;background:#333541;color:#fff;border:1px solid #575a6e;border-radius:11px;box-shadow:0 8px 30px #25262e26;display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.6;animation:toast-in .2s ease-out}.toast .icon{width:18px;height:18px;margin-top:1px}.toast.error{background:#80504b;border-color:#a87872}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.mobile-brand{display:none}.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.unlinked-summary{color:#787c95;font-size:10px}.confirm-dialog .dialog-body{padding-top:8px}.wide-button{width:100%}.history-empty{color:#8589a0;font-size:11px;padding-top:3px}
@media(min-width:1500px){.page{padding-top:43px}.product-table td{padding-block:23px}.product-picture{width:61px;height:61px}.page-heading{margin-bottom:33px}.summary-card{padding:24px}}
@media(max-width:1250px){.sidebar{width:201px;padding-inline:13px}.main-shell{margin-left:201px}.topbar{padding-inline:28px}.page{padding-inline:28px}.heading-actions{gap:7px}.button{padding-inline:12px}.page-heading{gap:16px}h1{font-size:28px}.product-table th:first-child{width:36%}.product-table th:nth-child(2){width:17%}.product-table th:nth-child(3){width:9%}.product-table th:nth-child(4){width:10%}.product-table th:nth-child(5){width:14%}.product-table th:last-child{width:14%}.product-table td,.product-table th{padding-inline:11px}.product-picture{width:49px;height:49px}.product-main{gap:10px}.detail-layout{grid-template-columns:minmax(0,1fr) 265px;gap:17px}.panel-body{padding-inline:20px}.panel-head{padding-inline:20px}.fields-grid{gap:10px}.preview-panel{padding:20px}.toolbar-controls{gap:7px}.search-input{width:185px}.row-chevron{display:none}}
@media(max-width:1050px){.sidebar{width:182px}.main-shell{margin-left:182px}.brand-name{font-size:15px}.brand{gap:9px;padding:0 3px}.brand-mark{width:33px;height:35px}.nav-item{padding-inline:11px;gap:10px;font-size:13px}.nav-later{font-size:8px}.page-heading{align-items:flex-start}.heading-actions{padding-top:3px}.heading-actions .button{font-size:11px;gap:6px}.page-subtitle{max-width:350px;font-size:12px}.page{padding-inline:24px}.topbar{padding-inline:24px}.workspace{padding-left:15px}.topbar-right{gap:15px}.catalog-toolbar{padding:18px;align-items:flex-start;gap:10px;flex-direction:column}.toolbar-controls{width:100%;justify-content:space-between}.search-wrap{flex:1}.search-input{width:100%}.product-table th:first-child{width:37%}.product-table th:nth-child(2){width:16%}.product-table th:nth-child(3),.product-table td:nth-child(3){display:none}.product-table th:nth-child(4){width:12%}.product-table th:nth-child(5){width:17%}.product-table th:last-child{width:18%}.summary-card{padding:18px}.summary-icon{width:31px;height:31px}.summary-icon .icon{width:17px;height:17px}.summary-label{font-size:10px}.summary-number{font-size:28px}.detail-layout{grid-template-columns:minmax(0,1fr)}.detail-aside{grid-row:2}.preview-panel{max-width:none}.preview-components{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.preview-total{margin-top:15px;display:flex;justify-content:space-between;align-items:baseline}.preview-bottom{margin-top:15px}.detail-heading h1{font-size:25px}.detail-main{display:contents}.cost-editor-panel{grid-row:1}.listings-panel{grid-row:3}.history-panel{grid-row:4}.fields-grid{gap:17px}.catalog-note{display:none}}
@media(max-width:800px){.sidebar{width:77px;padding:22px 12px}.brand{padding:0;justify-content:center}.brand-copy,.nav-label,.nav-item .nav-text,.nav-later,.nav-dot,.sidebar-bottom{display:none}.nav-menu{margin-top:40px}.nav-item{justify-content:center;padding:14px 0;border-radius:12px}.nav-item .icon{width:22px;height:22px}.brand-mark{width:38px;height:39px}.main-shell{margin-left:77px}.page-heading{flex-direction:column;gap:16px}.heading-actions{padding:0}.summary-grid{gap:11px}.summary-card{padding:17px}.summary-icon{display:none}.summary-bottom{font-size:9px}.product-table td:first-child,.product-table th:first-child{padding-left:18px}.product-table th:nth-child(4),.product-table td:nth-child(4){display:none}.product-table th:first-child{width:42%}.product-table th:nth-child(2){width:18%}.product-table th:nth-child(5){width:21%}.product-table th:last-child{width:19%}.product-picture{width:43px;height:43px;border-radius:9px}.product-open{font-size:11px}.status-pill{font-size:8px;padding-inline:5px}.market-chip{font-size:8px}.page-subtitle{max-width:none}.topbar{height:69px}.workspace-kind{display:none}.demo-pill{font-size:9px}.topbar-location{font-size:11px}.catalog-subtoolbar{padding-inline:18px}.page-footer{font-size:9px}}
@media(max-width:600px){.sidebar{display:none}.main-shell{margin-left:0}.topbar{height:66px;padding:0 19px;background:#fff}.topbar-location{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-weight:650;font-size:14px;letter-spacing:-.4px}.mobile-brand .brand-mark{width:29px;height:31px;border-radius:9px}.mobile-brand .icon{width:20px;height:20px}.topbar-right{gap:0}.workspace{padding-left:0;border:0;display:none}.demo-pill{padding:5px 7px;font-size:8px;gap:4px}.demo-pill .icon{width:11px;height:11px}.page{padding:26px 17px 50px}.page-eyebrow{font-size:9px;margin-bottom:7px}h1{font-size:28px}.page-subtitle{font-size:12px;line-height:1.7;margin-top:8px;max-width:330px}.page-heading{gap:19px;margin-bottom:23px}.heading-actions{width:100%;gap:8px}.heading-actions .button{font-size:11px;min-height:40px;flex:1}.summary-grid{gap:8px;margin-bottom:21px}.summary-card{padding:13px 11px;border-radius:12px;min-height:104px}.summary-label{font-size:9px;line-height:1.35;margin-bottom:10px;min-height:12px}.summary-number{font-size:27px}.summary-bottom{font-size:8px;margin-top:9px;line-height:1.5}.catalog-card{border-radius:13px}.catalog-toolbar{padding:17px 15px;gap:14px}.catalog-title{font-size:14px}.toolbar-controls{gap:8px}.search-input{font-size:10px}.filter-select{width:118px;font-size:10px;padding-right:17px}.catalog-subtoolbar{padding:11px 15px}.checkbox-label{font-size:10px}.product-table,.product-table tbody{display:block;width:100%}.product-table thead{display:none}.product-table tbody tr{display:grid;grid-template-columns:1fr auto;padding:17px 15px;gap:10px 12px;border-top:1px solid #ebebef;position:relative}.product-table td{padding:0;border:0;font-size:11px}.product-table td:first-child{grid-column:1/3;padding:0}.product-table td:nth-child(2){grid-column:1;grid-row:2;padding-left:64px;align-self:center}.product-table td:nth-child(5){grid-column:2;grid-row:2;text-align:right;align-self:center}.product-table td:last-child{position:absolute;top:21px;right:15px}.product-table .product-main{gap:12px;padding-right:70px}.product-picture{width:52px;height:52px;border-radius:10px}.product-open{font-size:12px;line-height:1.5}.product-main-copy{min-width:0}.article{font-size:9px}.status-pill{font-size:8px}.status-pill .icon{width:10px;height:10px}.market-chip{font-size:8px;padding:3px 5px}.cost-main{font-size:14px}.cost-detail{font-size:8px;margin-top:2px}.product-table td:nth-child(3),.product-table td:nth-child(4){display:none}.table-footer{padding:14px 15px;font-size:9px}.tip-panel{padding:16px 15px;font-size:10px;gap:10px;border-radius:11px;margin-top:15px}.tip-panel .icon{width:16px;height:16px}.page-footer{padding-top:19px;font-size:8px}.page-footer span:last-child{max-width:155px;text-align:right}.breadcrumb{margin-bottom:20px;font-size:11px}.detail-heading{gap:14px;margin-bottom:23px;align-items:flex-start}.detail-heading .product-picture{width:65px;height:65px;border-radius:14px}.detail-heading h1{font-size:22px;line-height:1.35}.detail-meta{font-size:10px;gap:6px;margin-top:7px}.detail-meta .article{font-size:9px}.detail-layout{gap:16px}.panel{border-radius:13px}.panel-head{padding:19px 17px 17px}.panel-head h2{font-size:16px}.panel-head p{font-size:10px}.panel-body{padding:0 17px 20px}.fields-grid{grid-template-columns:1fr;gap:15px}.field label{font-size:11px}.input-group{min-height:45px}.input-group input{font-size:15px;padding:11px 12px}.field-note{font-size:10px}.date-row{align-items:flex-start;gap:14px;margin-top:20px;padding-top:18px}.date-row .field{width:156px}.date-explanation{font-size:9px;padding-top:23px}.subtle-note{font-size:10px}.preview-panel{padding:20px 18px;border-radius:13px}.preview-components{display:block}.preview-date{margin-bottom:18px}.component-row{font-size:11px}.preview-total{display:block}.preview-total-value{font-size:33px}.preview-bottom{font-size:10px}.listing-grid{grid-template-columns:1fr}.listing-card{padding:15px}.listing-title{font-size:12px}.listing-cost{font-size:22px}.listings-panel .panel-head{flex-wrap:wrap;align-items:center}.listings-panel .panel-head .button{font-size:9px;min-height:30px;padding:6px 8px;gap:5px}.listings-panel .panel-head .button .icon{width:13px;height:13px}.history-item{gap:8px;grid-template-columns:19px minmax(0,1fr) auto}.history-reason{font-size:10px}.history-inputs,.history-date{font-size:9px}.history-sum{font-size:11px}.save-bar{bottom:10px;padding:11px 12px;border-radius:11px;gap:10px;flex-wrap:wrap;margin-top:18px}.save-status{font-size:10px}.save-actions{margin-left:auto;gap:5px}.save-actions .button{font-size:10px;min-height:37px;padding:8px 10px}.save-actions .button.ghost{padding-inline:6px}.dialog-head{padding:22px 20px 0}.dialog-head h2{font-size:20px}.dialog-copy{font-size:11px}.dialog-body{padding:20px}.dialog-actions{padding:16px 20px}.dialog-actions .button{font-size:11px}.toast-region{right:15px;bottom:18px}.toast{font-size:11px}.history-sum .status-pill{font-size:7px}.empty-state{padding:45px 20px}.topbar-location .icon{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable type and contrast for everyday work; small labels stay secondary. */
.button{font-size:13px}.page-subtitle{font-size:14px;color:#6d6f7d}.summary-label{font-size:12px;color:#6c6e7c}.summary-bottom{font-size:11px;color:#7c7e8d}.search-input,.filter-select{font-size:12px}.checkbox-label{font-size:12px;color:#717383}.catalog-note,.table-footer{font-size:11px;color:#7f818e}.product-table th{font-size:11px;color:#757787}.product-table td{font-size:13px}.product-open{font-size:14px}.article{font-size:11px;color:#7f8292}.cost-main{font-size:15px}.cost-detail{font-size:11px;color:#7f8292}.market-chip{font-size:10px}.status-pill{font-size:11px}.tip-panel{font-size:12px;color:#61647b}.field label{font-size:12px}.field-note{font-size:11px;color:#737790}.panel-head p,.subtle-note,.date-explanation{font-size:12px;color:#73768c}.component-row{font-size:12px;color:#686c83}.component-row span:last-child{font-size:13px}.component-label small{font-size:10px;color:#7d8199}.preview-date,.preview-bottom,.preview-status{font-size:11px;color:#6e728d}.preview-total-label{font-size:12px}.listing-title{font-size:14px}.listing-id,.inheritance-note,.listing-edit{font-size:11px}.history-reason,.history-sum{font-size:13px}.history-date,.history-inputs{font-size:11px;color:#737790}.save-status{font-size:12px}.dialog-copy{font-size:13px}.dialog-footer-note,.dialog-radio small{font-size:12px;color:#6e728d}.link-option-name{font-size:14px}.link-option-meta{font-size:11px}.info-banner,.error-banner{font-size:12px}.empty-state p{font-size:13px}.small{font-size:12px}.muted{color:#7a7c88}
@media(max-width:1050px){.product-table td{padding-inline:10px}.product-open{font-size:13px}.product-table .status-pill{font-size:10px}.heading-actions .button{font-size:12px}.product-table .market-chip{font-size:9px}}
@media(max-width:600px){.page-subtitle{font-size:13px}.heading-actions .button{font-size:12px}.summary-label{font-size:11px;min-height:28px}.summary-bottom{font-size:10px}.summary-card{padding:13px 10px}.search-input,.filter-select{font-size:12px}.filter-select{width:124px}.checkbox-label{font-size:12px}.product-table .product-open{font-size:14px}.product-table .article{font-size:11px}.product-table .product-main{padding-right:0}.product-table td:last-child{position:static;grid-column:1;grid-row:3;padding-left:64px}.product-table .status-pill{font-size:11px}.product-table .market-chip{font-size:10px}.cost-main{font-size:16px}.cost-detail{font-size:11px}.table-footer{font-size:11px}.tip-panel{font-size:12px}.panel-head p,.field-note,.date-explanation,.subtle-note{font-size:12px}.field label{font-size:13px}.date-row{flex-wrap:wrap;gap:11px}.date-explanation{padding:0;max-width:none}.date-row .field{width:100%}.component-row{font-size:13px}.component-row span:last-child{font-size:14px}.component-label small{font-size:11px}.preview-date,.preview-bottom,.preview-status{font-size:12px}.listing-title{font-size:14px}.listing-id,.inheritance-note,.listing-edit{font-size:12px}.listings-panel .panel-head .button{font-size:11px}.history-reason,.history-sum{font-size:12px}.history-date,.history-inputs{font-size:11px}.save-status{font-size:12px}.save-actions .button{font-size:12px}.save-actions{width:100%;justify-content:flex-end}.dialog-copy{font-size:13px}.dialog-actions .button{font-size:13px}.dialog-footer-note{font-size:12px}.dialog-radio strong{font-size:13px}.dialog-radio small{font-size:12px}.dialog-two-fields{gap:12px}.toast{font-size:12px}.empty-state p{font-size:13px}}

/* Original structure sketch palette: purple accent, cool neutral surfaces. */
:root{--canvas:#f5f6f8;--paper:#fff;--ink:#242833;--muted:#616b79;--line:#e4e7ed;--brand:#6853b9;--tint:#eeebf8;--green:#6853b9;--green-hover:#55419f;--green-pale:#eeebf8;--lime:#ded6f6;--amber:#8a571b;--amber-pale:#faf3e6;--shadow:0 2px 7px #25213908}
.nav-item{color:#616b79;text-align:left}.nav-item:hover{background:#f5f3fb;color:var(--brand)}.nav-item.active{background:var(--tint);color:var(--brand)}.nav-label,.sidebar-version,.page-eyebrow{color:#7b8392}
.sidebar-note{background:#f8f7fc;border-color:#e9e5f4;color:#747083}.sidebar-note strong{color:#5c527d}.brand-mark{background:var(--brand)}.avatar{background:var(--tint);color:var(--brand)}.demo-pill{background:#f6f4fb;border-color:#ebe7f6;color:#786994}
.page-subtitle,.muted,.summary-label,.summary-bottom,.catalog-note,.table-footer,.article,.cost-detail,.field-note,.date-explanation,.subtle-note,.panel-head p,.history-date,.history-inputs,.dialog-copy,.dialog-footer-note,.dialog-radio small,.empty-state p,.topbar-location{color:var(--muted)}
.button:hover{background:#f8f7fc;border-color:#d8d2e8}.button.primary{background:var(--brand);border-color:var(--brand);box-shadow:0 2px 3px #6853b915}.button.primary:hover{background:var(--green-hover);border-color:var(--green-hover)}.button.ghost{color:var(--muted)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#b7a9e2}.input-group:focus-within{border-color:#9e8bd5;box-shadow:0 0 0 3px #eeebf8}.input-group,.plain-input{border-color:var(--line);background:#fafbfc}.field label{color:#555e70}
.summary-icon,.summary-card:nth-child(2) .summary-icon{background:var(--tint);color:var(--brand)}.summary-card:nth-child(3) .summary-icon{background:var(--amber-pale);color:var(--amber)}.count-badge{background:#f0eef7;color:#7b7196}.product-table th{background:#f8f9fb;color:#6c7482;border-color:var(--line)}.product-table td{border-color:#edf0f4}.product-table tbody tr:hover{background:#faf9fd}
.tip-panel{background:#f0edf9;border-color:#e5dff4;color:#72658e}.tip-panel strong,.tip-panel .icon{color:var(--brand)}.preview-panel{background:#f7f5fc;border-color:#e5dff2}.preview-eyebrow,.preview-date,.preview-bottom,.preview-status,.preview-total-label{color:#7b6d99}.preview-title{color:#42365f}.component-row{color:#726683}.component-row span:last-child{color:#4c3d68}.component-label small{color:#8b819a}.preview-total,.preview-bottom{border-color:#e3ddee}.preview-total-value{color:var(--brand)}.preview-total-value .rub,.preview-bottom button{color:#7c69aa}
.status-pill.ok{color:#216d58;background:#edf6f0}.status-pill.neutral{background:#f0f1f5;color:#6b7482}.live-dot{background:#689b84}.inheritance-note,.save-status{color:#5f796f}.listing-edit{color:var(--brand)}.history-node,.panel-number,.empty-icon{background:var(--tint);color:var(--brand);border-color:#e5dff4}.info-banner{background:#f5f2fb;border-color:#e6e0f3;color:#76638f}.spinner{border-color:#e3dbf5;border-top-color:var(--brand)}
.dialog-actions{background:#faf9fc}.dialog-radio:has(input:checked){border-color:#b0a0d9;background:#f6f3fc}.catalog-source-note{display:flex;align-items:center;gap:12px;color:#716584;background:#f0edf8;border:1px solid #e5dff3;border-radius:12px;padding:12px 16px;margin:-7px 0 23px;font-size:13px;line-height:1.6}.catalog-source-note>.icon{color:var(--brand);width:18px;height:18px}.catalog-source-note>span{flex:1}.catalog-source-note .button{background:#ffffffa8}
.mobile-nav{display:none}
@media(max-width:600px){.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));left:0;right:0;bottom:0;padding:6px 7px max(7px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff5;backdrop-filter:blur(12px);z-index:35}.mobile-nav-item{border:0;border-radius:9px;min-width:0;padding:7px 2px;background:transparent;color:#7c8090;display:flex;align-items:center;flex-direction:column;gap:4px;font-size:10px;line-height:1.25}.mobile-nav-item .icon{width:19px;height:19px}.mobile-nav-item.active{background:var(--tint);color:var(--brand);font-weight:650}.page{padding-bottom:120px}.save-bar{bottom:78px}.toast-region{bottom:82px}.catalog-source-note{align-items:flex-start;flex-wrap:wrap;font-size:12px;padding:13px;gap:9px}.catalog-source-note>span{flex-basis:calc(100% - 35px)}.catalog-source-note .button{margin-left:27px}.topbar-right{gap:0}.summary-label{color:var(--muted)}}
