*{box-sizing:border-box}body{margin:0;font-family:-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#f4f6f8;color:#1a202c}a{color:inherit;text-decoration:none}.layout{display:flex;min-height:100vh}.sidebar{width:240px;background:#1a202c;color:#e2e8f0;padding:20px;position:sticky;top:0;height:100vh}.sidebar h1{font-size:20px;margin:0 0 20px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{padding:9px 12px;border-radius:8px;font-size:14px}.sidebar nav a:hover{background:#2d3748}.sidebar nav a.active{background:#3182ce}.date-control{margin-top:28px;display:flex;flex-direction:column;gap:6px}.date-control label{font-size:12px;color:#a0aec0}.date-control input{padding:7px;border-radius:6px;border:none}.date-control small{font-size:11px;color:#718096}.content{flex:1;padding:28px;overflow:auto}h2{margin-top:0}.muted{color:#718096;font-size:13px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.card{background:#fff;border-radius:12px;padding:14px;box-shadow:0 1px 3px #00000014;cursor:pointer;border-left:6px solid #ccc}.card:hover{box-shadow:0 4px 12px #0000001f}.card .seg{font-size:11px;color:#718096}.card .nm{font-weight:600;font-size:14px;margin:4px 0}.legend{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0}.legend span{display:inline-flex;align-items:center;gap:6px;font-size:13px}.dot{width:14px;height:14px;border-radius:4px;display:inline-block}.heatmap{display:grid;grid-template-columns:repeat(auto-fill,34px);gap:5px;margin-top:12px}.cell{width:34px;height:34px;border-radius:6px;cursor:pointer}table{border-collapse:collapse;width:100%;background:#fff;border-radius:8px;overflow:hidden}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid #edf2f7;font-size:13px}th{background:#f7fafc}.pill{padding:2px 8px;border-radius:999px;font-size:11px;color:#fff}.metrics{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.metric{background:#fff;border-radius:10px;padding:12px}.metric .v{font-size:22px;font-weight:700}.metric .l{font-size:12px;color:#718096}pre{white-space:pre-wrap;background:#fff;padding:16px;border-radius:8px;font-size:13px;line-height:1.5}.flex{display:flex;gap:20px}.col{flex:1}button{padding:8px 14px;border:none;border-radius:8px;background:#3182ce;color:#fff;cursor:pointer}button:disabled{background:#a0aec0;cursor:not-allowed}.sidebar nav a.top{font-weight:600}.group-title{padding:9px 12px;font-size:14px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;color:#cbd5e0}.subnav{display:flex;flex-direction:column;gap:4px;margin-left:8px;border-left:2px solid #2d3748;padding-left:6px}.subnav a{font-size:13px;padding:7px 10px}.sber{--sber: #21a038;--sber-dark: #168a2c}.sber-header{background:var(--sber);color:#fff;padding:14px 22px;border-radius:12px;display:flex;align-items:center;justify-content:space-between}.sber-logo{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700}.sber-logo .mark{width:30px;height:30px;border-radius:8px;background:#fff;color:var(--sber);display:grid;place-items:center;font-weight:900}.sber-phones{font-size:13px;text-align:right;opacity:.95}.aud-tabs{display:flex;gap:8px;margin:18px 0}.aud-tabs button{background:#fff;color:#1a202c;border:1px solid #d7dde3;padding:8px 14px;border-radius:8px;cursor:pointer}.aud-tabs button.active{background:#21a038;color:#fff;border-color:#21a038}.sber .aud-tabs button.active{background:var(--sber);border-color:var(--sber)}.sber-hero{background:linear-gradient(135deg,#21a038,#0f7a26);color:#fff;padding:26px;border-radius:14px;margin-bottom:18px}.sber-hero h2{margin:0 0 6px}.cat-title{font-size:18px;font-weight:700;margin:22px 0 10px;color:#168a2c;border-left:4px solid var(--sber);padding-left:10px}.prod-card{background:#fff;border-radius:14px;padding:16px;box-shadow:0 1px 4px #00000014;cursor:pointer;transition:.15s;border:1px solid #eef1f4;display:block;color:inherit;text-decoration:none}.prod-card:hover{box-shadow:0 6px 18px #21a0382e;transform:translateY(-2px)}.prod-card .cat{font-size:11px;color:var(--sber);font-weight:600;text-transform:uppercase}.prod-card .nm{font-weight:700;font-size:15px;margin:6px 0}.prod-card .more{color:var(--sber);font-weight:600;font-size:13px;margin-top:8px;display:inline-block;text-decoration:none}.prod-card .more:hover{text-decoration:underline}.md pre{background:#eef2f7;color:#1a202c;border:1px solid #cbd5e0;border-radius:8px;padding:14px;overflow-x:auto}.md pre code{background:transparent;color:inherit;padding:0}.md code{background:#eef2f7;color:#c53030;border:1px solid #e2e8f0}.pos-section{margin-bottom:8px}.pos-section-title{font-weight:600;font-size:14px;padding:8px 10px;background:#fff;border-radius:8px;cursor:pointer}.pos-doc-list{margin:4px 0 8px 12px;border-left:2px solid #e2e8f0;padding-left:8px}.pos-doc-item{font-size:13px;padding:6px 10px;border-radius:6px;cursor:pointer;margin:2px 0}.pos-doc-item:hover{background:#edf2f7}.pos-doc-item.active{background:#3182ce;color:#fff}.compliance-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.compliance-cell{background:#fff;border:2px solid;border-radius:10px;padding:10px;cursor:pointer;font-size:12px}.compliance-cell:hover{box-shadow:0 4px 12px #0000001a}.cc-dot{width:12px;height:12px;border-radius:4px;margin-bottom:4px}.cc-name{font-weight:600;line-height:1.3}.cc-status{color:#718096;margin-top:4px}.param-edit input{padding:6px 8px;border:1px solid #e2e8f0;border-radius:6px}.composition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.composition-block{border-radius:10px;padding:10px;color:#fff;font-size:12px;min-height:56px}.cube-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.cube{border-radius:10px;padding:10px;color:#fff;font-size:12px;min-height:56px}.param-edit{display:grid;grid-template-columns:140px 1fr;gap:8px;align-items:center;margin:6px 0}.constructor-summary{border-left:6px solid #3182ce}.constructor-dims{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:12px}.constructor-dim{margin-bottom:0}.constructor-dim-head{display:flex;justify-content:space-between;cursor:pointer;margin-bottom:8px}.constructor-param{margin:10px 0;padding-top:8px;border-top:1px dashed #edf2f7}.constructor-param-name{font-size:13px;font-weight:600;margin-bottom:6px;display:flex;align-items:center;gap:8px}.regulated-tag{background:#edf2f7!important;color:#4a5568!important;font-size:10px!important}.option-chips{display:flex;flex-wrap:wrap;gap:6px}.option-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:2px solid #e2e8f0;border-radius:8px;background:#fff;color:#1a202c;font-size:12px;cursor:pointer;text-align:left;max-width:100%}.option-chip.active{border-color:#3182ce;background:#ebf8ff}.option-chip.disabled{opacity:.45;cursor:not-allowed;text-decoration:line-through}.option-chip.status-orange:not(.disabled){border-color:#f6993f;background:#fffaf0}.option-chip.status-yellow:not(.disabled){border-color:#f2d024;background:ivory}.option-chip.status-green.active{border-color:#1f9d55;background:#f0fff4}.chip-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.chip-val{flex:1}.chip-warn{font-size:10px;color:#744210}.chip-use{font-size:10px;color:#718096}.param-filters .filter-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.param-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#718096}.param-filters select,.param-filters input{padding:7px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;min-width:140px}.param-filters .search-label input{min-width:220px}.lego-section{margin-bottom:28px}.lego-section-title{font-size:18px;border-left:4px solid #3182ce;padding-left:10px;margin:20px 0 12px}.lego-param-block{margin-bottom:16px}.lego-param-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:14px}.lego-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}.lego-grid-compact{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.lego-brick{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;border:2px solid #e2e8f0;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#fff,#f7fafc);color:#1a202c;cursor:pointer;text-align:left;min-height:64px;position:relative;box-shadow:0 3px #cbd5e0}.lego-brick .lego-label{color:#1a202c}.lego-brick.disabled .lego-label{color:#718096}.lego-brick.status-yellow .lego-warn{color:#975a16;background:#ffffffb3;padding:0 4px;border-radius:4px}.lego-brick.status-orange .lego-warn{color:#9c4221;background:#ffffffb3;padding:0 4px;border-radius:4px}.lego-multi-mark{position:absolute;top:6px;right:8px;font-size:11px;color:#1f9d55;font-weight:700}.selection-mode-tag{font-size:10px!important;color:#2d3748!important;background:#edf2f7!important}.selection-mode-tag.multi{background:#ebf8ff!important;color:#2b6cb0!important}.param-demo-result{margin-top:8px;font-size:13px;color:#2d3748;padding:8px;background:#f7fafc;border-radius:6px}.param-include-btn{width:26px;height:26px;border-radius:6px;border:2px solid #e2e8f0;flex-shrink:0;font-size:14px;font-weight:700;cursor:pointer;display:grid;place-items:center;padding:0;background:#fff;color:#4a5568}.lego-param-head b,.lego-section-title,.lego-palette h3,.lego-assembly h3{color:#1a202c}.lego-brick:active:not(.disabled){transform:translateY(2px);box-shadow:0 1px #cbd5e0}.lego-brick.active{border-color:#3182ce;background:linear-gradient(180deg,#ebf8ff,#bee3f8);box-shadow:0 3px #3182ce}.lego-brick.disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.lego-brick.status-orange:not(.disabled){border-color:#f6993f}.lego-brick.status-yellow:not(.disabled){border-color:#f2d024}.lego-brick.active .lego-label,.lego-brick.status-green.active .lego-label{color:#1a202c}.lego-stud{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.8)}.lego-label{font-size:13px;font-weight:600;line-height:1.25}.lego-warn{font-size:10px;color:#744210;line-height:1.2}.lego-workspace{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}@media (max-width: 960px){.lego-workspace{grid-template-columns:1fr}}.lego-assembly,.lego-palette{background:#fff;border-radius:12px;padding:16px;box-shadow:0 1px 3px #00000014}.lego-strip{display:flex;flex-direction:column;gap:6px;margin:12px 0}.lego-slot{display:flex;align-items:center;gap:8px;padding:8px 10px;border:2px solid #e2e8f0;border-radius:8px;background:#f7fafc;color:#1a202c;cursor:pointer;text-align:left;width:100%}.lego-slot.active{border-color:#3182ce;background:#ebf8ff}.lego-slot-dot{width:12px;height:12px;border-radius:4px;flex-shrink:0}.lego-slot-name{font-weight:600;font-size:13px;flex:1;color:#1a202c}.lego-slot-meta{font-size:11px;color:#718096}.lego-built-preview{margin-top:12px;max-height:280px;overflow-y:auto}.lego-built-row{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px dashed #edf2f7;font-size:12px}.lego-built-val{font-weight:600;border-bottom:3px solid #ccc;padding-bottom:2px}.lego-built-row.excluded{opacity:.55}.lego-built-label{display:flex;align-items:center;gap:6px}.lego-grid-inactive{opacity:.45;pointer-events:none;filter:grayscale(.85)}.param-excluded{opacity:.7}.param-excluded .lego-param-head b{color:#718096;font-weight:500}.param-include-btn{width:26px;height:26px;border-radius:6px;border:2px solid #e2e8f0;flex-shrink:0;font-size:14px;font-weight:700;cursor:pointer;display:grid;place-items:center;padding:0;background:#fff;color:#718096}.param-include-btn.on{border-color:#1f9d55;background:#f0fff4;color:#1f9d55}.param-include-btn.off{border-color:#cbd5e0;background:#f7fafc;color:#a0aec0}.param-include-btn:hover{box-shadow:0 1px 4px #0000001f}.sber-footer{margin-top:30px;padding:18px;background:#1a202c;color:#a0aec0;border-radius:12px;font-size:12px;line-height:1.5}.md{background:#fff;padding:22px 26px;border-radius:10px;line-height:1.6}.md h1,.md h2,.md h3{color:#1a202c}.md table{margin:12px 0}.md code{background:#f1f5f9;padding:1px 5px;border-radius:4px;font-size:12px}.md blockquote{border-left:4px solid #21a038;margin:10px 0;padding:4px 14px;color:#475569;background:#f7fafc}.mermaid{background:#fff;border-radius:8px;padding:10px;overflow:auto}.tree{background:#fff;border-radius:8px;padding:8px 12px}.tnode{cursor:pointer;padding:5px 0;-webkit-user-select:none;user-select:none}.tnode .tw{display:inline-block;width:16px;color:#718096}.tlevel{margin-left:18px;border-left:1px dashed #e2e8f0;padding-left:10px}.tnorm{font-size:13px;padding:4px 0}.param-row{display:flex;justify-content:space-between;font-size:13px;padding:3px 0;border-bottom:1px dashed #edf2f7}.bad{color:#e3342f;font-weight:600}.good{color:#1f9d55;font-weight:600}.trace{font-size:11px;color:#718096}.diff-old{color:#e3342f;text-decoration:line-through}.diff-new{color:#1f9d55;font-weight:600}
