/* ---------- модульное освещение: баннер конструктора сот, конструктор /soty, вводный текст раздела */
.cpb.spb{background:linear-gradient(90deg,rgba(14,14,16,.92) 0%,rgba(14,14,16,.6) 42%,rgba(14,14,16,.18) 100%),url(/static/img/p/ms-sc-sto.webp) center 18%/cover,#121214!important}
.spb .cpb-k{color:#CFE2FF}.spb .cpb-go{background:#E6F0FF}.spb:hover .cpb-go{background:#fff}
.sp-h{stroke:#1b1712;stroke-dasharray:240;stroke-dashoffset:240;animation:spH var(--d) infinite}
.sp-h.h2{animation-name:spH2}.sp-h.h3{animation-name:spH3}.sp-h.h4{animation-name:spH4}.sp-h.h5{animation-name:spH5}
@keyframes spH{0%,8%{stroke-dashoffset:240;stroke:#1b1712}16%{stroke-dashoffset:0;stroke:#1b1712}50%{stroke:#1b1712}56%,90%{stroke-dashoffset:0;stroke:#F2F7FF}96%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes spH2{0%,14%{stroke-dashoffset:240;stroke:#1b1712}22%{stroke-dashoffset:0;stroke:#1b1712}50%{stroke:#1b1712}56%,90%{stroke-dashoffset:0;stroke:#F2F7FF}96%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes spH3{0%,20%{stroke-dashoffset:240;stroke:#1b1712}28%{stroke-dashoffset:0;stroke:#1b1712}50%{stroke:#1b1712}56%,90%{stroke-dashoffset:0;stroke:#F2F7FF}96%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes spH4{0%,26%{stroke-dashoffset:240;stroke:#1b1712}34%{stroke-dashoffset:0;stroke:#1b1712}50%{stroke:#1b1712}56%,90%{stroke-dashoffset:0;stroke:#F2F7FF}96%,100%{stroke-dashoffset:0;opacity:0}}
@keyframes spH5{0%,32%{stroke-dashoffset:240;stroke:#1b1712}40%{stroke-dashoffset:0;stroke:#1b1712}50%{stroke:#1b1712}56%,90%{stroke-dashoffset:0;stroke:#F2F7FF}96%,100%{stroke-dashoffset:0;opacity:0}}
.sp-glow{opacity:0;mix-blend-mode:screen;animation:cpbGlow var(--d) infinite}
@media(prefers-reduced-motion:reduce){.sp-h{animation:none!important;stroke-dashoffset:0;stroke:#F2F7FF}.sp-glow{animation:none!important;opacity:1}}

/* конструктор */
.sk-kits{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:4px 0 14px;padding:2px 0 4px}.sk-kits::-webkit-scrollbar{display:none}
.sk-kits button{flex:none;display:flex;align-items:center;gap:8px;padding:5px 12px 5px 5px;border-radius:14px;border:1px solid #e8e1d4;background:#fff;cursor:pointer;font:inherit;text-align:left;transition:border-color .2s,box-shadow .2s}
.sk-kits button:hover{border-color:#cdbfa6}.sk-kits button.on{border-color:#17130e;box-shadow:0 0 0 1px #17130e}
.sk-kits img{width:44px;height:44px;border-radius:10px;object-fit:cover;background:#f3efe8}
.sk-kits span{display:flex;flex-direction:column;line-height:1.25}.sk-kits b{font-size:13.5px;font-weight:600;white-space:nowrap}.sk-kits i{font-style:normal;font-size:12.5px;color:#7a7366}
.sk-room{clear:both;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.sk-room label,.sk-gap{display:flex;flex-direction:column;gap:4px;font-size:13px;color:#7a7366;position:relative}
.sk-room input,.sk-gap input{width:96px;padding:10px 30px 10px 12px;border:1px solid #e3dccf;border-radius:12px;font:inherit;font-size:16px;color:#17130e;background:#fff}
.sk-room em,.sk-gap em{position:absolute;right:12px;bottom:11px;font-style:normal;color:#9a9284}.sk-room>span{padding-bottom:11px;color:#9a9284}
.sk-gap{margin:10px 0 4px}
.sk-cv{clear:both;position:relative;background:#17130e;border-radius:18px;padding:8px;user-select:none;-webkit-user-select:none}
.sk-cv svg{display:block;width:100%;height:auto;max-height:min(62vh,560px)}
.sk-ceil{fill:#211b14;stroke:#4a3f31}
.sk-dim{fill:#bfb19b;text-anchor:middle;dominant-baseline:middle;font-family:"Inter Tight",system-ui,sans-serif}
.sk-cell{fill:transparent;stroke:rgba(255,255,255,.13);cursor:pointer;transition:fill .15s}
.sk-cell:hover{fill:rgba(255,236,200,.08)}.sk-cell.on{fill:rgba(200,225,255,.05)}
.sk-mod{stroke:#F4F8FF;stroke-linecap:round;pointer-events:none}
.sk-node{fill:#cfd8e6;pointer-events:none}
.sk-feed circle{fill:none;stroke:#FFB45C}.sk-feed text{fill:#FFB45C;text-anchor:middle;font-family:"Inter Tight",system-ui,sans-serif;font-weight:600}.sk-feed{pointer-events:none}
.sk-hint{margin:8px 6px 2px;font-size:13px;color:#bfb19b;min-height:1em}
.sk-act{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:12px}
.sk-ck{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;cursor:pointer}.sk-ck input{width:18px;height:18px;accent-color:#17130e}
.sk-par{clear:both}.sk-par .lz-cnt{margin:8px 0}
.lz-t input:disabled+span{opacity:.45;cursor:not-allowed}
.sk-fig{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 8px}
.sk-fig div{background:#f6f2ea;border-radius:12px;padding:9px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.sk-fig b{font-size:15px;font-weight:600;white-space:nowrap}.sk-fig span{font-size:12px;color:#7a7366;line-height:1.3}
.sk-lx{font-size:13px;color:#5d5649;margin:0 0 6px;line-height:1.45}
.sk-kit{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:12px;background:#eef6ee;color:#245c2e;margin:6px 0 2px}.sk-kit b{font-size:14px}.sk-kit span{font-size:13px}
.sk-q{font-size:12.5px;color:#7a7366;white-space:nowrap}
.sk-warn{font-size:13px;color:#a4361f;background:#fdf0ec;border-radius:12px;padding:9px 12px;margin:8px 0}
.sk-empty{color:#7a7366;font-size:14.5px;line-height:1.5;margin:8px 0}
.lz-rc .btn-buy:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:640px){.sk-fig b{font-size:13.5px}.sk-room input{width:84px}.sk-cv{padding:4px;border-radius:14px}}

/* вводный текст раздела */
.sh-lead{max-width:70ch;margin:10px 0 0;color:#5d5649;font-size:16px;line-height:1.5}
.cat-intro{margin-top:clamp(28px,4vw,48px)}

/* панель размеров и модуля прямо в блоке схемы */
.sk-tb{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:8px 8px 10px}
.sk-sz{display:flex;align-items:center;gap:8px}.sk-sz>i{font-style:normal;color:#9a8c76}
.sk-sz label{position:relative;display:flex;align-items:center;gap:8px;background:#2a221a;border:1px solid #4a3f31;border-radius:12px;padding:0 10px}
.sk-sz label span{font-size:12.5px;color:#bfb19b}
.sk-sz input{width:58px;border:0;background:none;color:#fff;font:inherit;font-size:17px;font-weight:600;padding:9px 0;outline:none;text-align:right}
.sk-sz label:focus-within{border-color:#FFD9A0}.sk-sz em{font-style:normal;color:#9a8c76;font-size:14px}
.sk-seg{display:flex;align-items:center;gap:4px;background:#2a221a;border:1px solid #4a3f31;border-radius:12px;padding:3px}
.sk-seg>span{font-size:12.5px;color:#bfb19b;padding:0 6px 0 8px}
.sk-seg label{cursor:pointer}.sk-seg input{position:absolute;opacity:0;pointer-events:none}
.sk-seg b{display:block;padding:7px 11px;border-radius:9px;font-size:14px;font-weight:600;color:#d9cdb8;white-space:nowrap;transition:background .15s,color .15s}
.sk-seg input:checked+b{background:#FFD9A0;color:#17130e}.sk-seg input:focus-visible+b{outline:2px solid #FFD9A0;outline-offset:1px}
.sk-cv .sk-par{padding:0 8px;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center}
.sk-cv .sk-par:empty{display:none}
.sk-cv .lz-cnt{margin:2px 0;color:#d9cdb8;gap:10px}.sk-cv .lz-cnt>span{font-size:13.5px}
.sk-cv .qty{background:#2a221a;border-color:#4a3f31}.sk-cv .qty button{color:#fff}.sk-cv .qty input{color:#fff;background:none}
.sk-cv .sk-gap{margin:2px 0;flex-direction:row;align-items:center;gap:8px;color:#d9cdb8}.sk-cv .sk-gap input{width:84px;background:#2a221a;border-color:#4a3f31;color:#fff;padding:7px 28px 7px 10px}.sk-cv .sk-gap em{bottom:8px}
.sk-cv .sk-par .lz-h{flex-basis:100%;margin:2px 0 4px;background:none;padding:0;color:#9a8c76;font-size:12.5px}
.sk-cv .sk-act{padding:0 8px 8px;margin-top:4px}.sk-cv .lz-add{background:#2a221a;border-color:#4a3f31;color:#fff}.sk-cv .sk-ck{color:#d9cdb8}.sk-cv .sk-ck input{accent-color:#FFD9A0}
@media(max-width:640px){.sk-tb{padding:6px 4px 8px}.sk-sz input{width:44px;font-size:16px}.sk-sz label{padding:0 8px;gap:6px}.sk-seg b{padding:7px 8px;font-size:13px}.sk-seg>span{display:none}.sk-seg{width:100%;justify-content:space-between}.sk-seg label{flex:1;text-align:center}}

/* главный баннер: общая рамка системы (трек со светильниками, шина с розетками) */
.hx-gbox{position:absolute;z-index:4;pointer-events:none;left:calc(var(--x) * 1cqw - 6px);top:calc(var(--y) * 1cqh - 6px);width:calc(var(--w) * 1cqw + 12px);height:calc(var(--h) * 1cqh + 12px);border-radius:12px;outline:2px solid rgba(255,217,160,.9);box-shadow:0 0 26px 3px rgba(255,197,107,.32);opacity:0;transition:opacity .35s}
.hx-gbox.on{opacity:1}
.hx-hz.grp,.hx-hz.grp:hover{outline-color:transparent!important;box-shadow:none!important}
.hx-hz.dup .hx-tip{display:none!important}
