@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-cyrillic-400-normal-BMzJvInZ.woff2) format("woff2"),url(/assets/manrope-cyrillic-400-normal-Dvx59UGC.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/manrope-cyrillic-500-normal-B1OEZity.woff2) format("woff2"),url(/assets/manrope-cyrillic-500-normal-CNwnNrRC.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/manrope-cyrillic-600-normal-DvRl3Mj-.woff2) format("woff2"),url(/assets/manrope-cyrillic-600-normal-It4mZcQk.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-cyrillic-700-normal-Dw_fZAg2.woff2) format("woff2"),url(/assets/manrope-cyrillic-700-normal-7JNVKxyl.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/manrope-latin-400-normal-PaqtzbVb.woff2) format("woff2"),url(/assets/manrope-latin-400-normal-8tf8FM3T.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/manrope-latin-500-normal-BYYD-dBL.woff2) format("woff2"),url(/assets/manrope-latin-500-normal-DMZssgOp.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/manrope-latin-600-normal-4f0koTD-.woff2) format("woff2"),url(/assets/manrope-latin-600-normal-BqgrALkZ.woff) format("woff")}@font-face{font-family:Manrope;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/manrope-latin-700-normal-BZp_XxE4.woff2) format("woff2"),url(/assets/manrope-latin-700-normal-DGRFkw-m.woff) format("woff")}:root{font-family:Manrope,Arial,sans-serif;color:#e9edeb;background:#131719;font-synthesis:none;font-weight:400;--muted: #9aa7a1;--accent: #e6bb73;--line: #323b39;--surface: #1b2221;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;border:0;background:none;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input,select{min-width:0}svg{flex-shrink:0}button,a{transition:color .15s,background .15s}button:hover:not(:disabled){background-color:#ffffff09}.app-shell{height:var(--app-height, 100dvh);max-width:1920px;margin:0 auto;overflow:hidden}.app-surface{height:100%;display:flex;flex-direction:column;min-height:0}.topbar{display:flex;align-items:center;gap:24px;min-height:64px;padding:8px 28px;border-bottom:1px solid var(--line);flex-shrink:0}.brand{display:flex;align-items:center;gap:9px;min-height:44px}.brand img{width:27px;height:27px}.brand strong{font-size:25px;letter-spacing:-1.4px}.brand strong span{font-weight:400;color:#abb9b1}.topbar h1{margin:0;font-size:17px;font-weight:600;line-height:1.5}.topbar h1 span{font-size:12px;font-weight:400;color:var(--muted);margin-left:10px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:6px;color:#c3cdc7}.menu-button{margin-left:auto;position:relative}.status-dot{position:absolute;right:5px;top:6px;height:5px;width:5px;border-radius:50%;background:#84928a}.status-dot.ready{background:#87bd97}.status-dot.warning{background:var(--accent)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:4px 8px;color:var(--accent);font-size:13px;border-radius:5px}.primary-button,.inspect-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;background:var(--accent);color:#292619;border-radius:6px;font-size:13px;font-weight:600}.primary-button:hover:not(:disabled),.inspect-button:hover:not(:disabled){background:#efd0a0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:auto minmax(0,1fr);gap:0 26px;padding:20px 28px;min-height:0;flex:1}.visual-workspace{grid-column:1;grid-row:1 / 3;min-width:0;min-height:0;display:flex;flex-direction:column}.scene-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}.side-switch,.mode-switch{display:flex;gap:2px;border-bottom:1px solid var(--line)}.side-switch button,.mode-switch button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:7px 12px;gap:7px;font-size:12px;color:var(--muted);border-bottom:2px solid transparent}.side-switch button[aria-pressed=true],.mode-switch button[aria-pressed=true]{color:var(--accent);border-bottom-color:var(--accent)}.side-count{font-size:10px;color:#c3cfbd}.scene-area{position:relative;min-height:0;flex:1;isolation:isolate}.three-canvas{position:absolute!important;inset:0;width:100%!important;height:100%!important;touch-action:none}.scene-zoom{position:absolute;right:0;bottom:14px;display:flex;flex-direction:column;border:1px solid var(--line);background:#1b2221eb;border-radius:7px}.cover-button{position:absolute;bottom:12px;left:8px;min-height:44px;display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:#1b2221e8;font-size:12px}.scene-loading{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:13px}.selection-slot{grid-column:2;grid-row:1;max-height:45dvh;overflow-y:auto;scrollbar-width:thin}.sidebar{grid-column:2;grid-row:2;min-height:0;padding-top:12px;display:flex;flex-direction:column}.inspector{padding:16px 0;border-bottom:1px solid var(--line)}.selection-heading{display:flex;align-items:center;gap:12px}.selection-id{flex-shrink:0;font-size:30px;letter-spacing:-1px;color:var(--accent)}.selection-name{flex:1;min-width:0}.selection-name>span{color:var(--muted);font-size:11px}.selection-name h2{font-size:16px;font-weight:600;line-height:1.4;margin:3px 0 0;overflow-wrap:anywhere}.selection-heading>.icon-button{align-self:flex-start}.selection-actions{display:flex;gap:10px;margin-top:4px}.equipment-badge{font-size:11px;color:#d1b882;margin:8px 0 0}.inspector-details{padding-top:5px;font-size:13px;line-height:1.65}.location{color:var(--muted);font-size:12px;margin:4px 0 12px}.inspect-button{width:100%;margin-bottom:15px}.inspector-details h3{font-size:12px;font-weight:600;color:var(--muted);margin:8px 0}.consumers{list-style:none;padding:0;margin:0}.consumers li{display:flex;gap:10px;padding:5px 0}.consumers li:before{content:"";width:4px;height:4px;margin-top:9px;flex-shrink:0;border-radius:50%;background:#a4b89a}.consumers li[data-status=unavailable]:before{background:#b09a6f}.consumers small{display:block;color:#c3aa79;font-size:11px}.source-note{color:#c2c5b7;padding-left:12px;border-left:2px solid #786746;font-size:12px}.replacement{font-size:12px;color:var(--muted)}.source-link{display:inline-flex;align-items:center;gap:5px;min-height:44px;color:var(--accent);font-size:12px}.manual-copy{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted);margin:4px 0 10px}.manual-copy input{width:100%;min-height:44px;color:#e9edeb;background:#131919;padding:9px;border:1px solid var(--line);border-radius:5px}.catalog{display:flex;flex-direction:column;min-height:0;flex:1}.catalog-controls{flex-shrink:0;max-height:65%;overflow-y:auto}.search{display:flex;align-items:center;gap:10px;padding:0 8px 0 12px;min-height:48px;border:1px solid #45534a;border-radius:7px;color:var(--muted);background:#19201d}.search:focus-within{border-color:var(--accent)}.search input{height:46px;width:100%;background:none;border:0;outline:none;color:#e9edeb;font-size:16px}.search input::placeholder{color:#98a69c}.search input::-webkit-search-cancel-button{display:none}.symptom-list{display:flex;flex-wrap:wrap;gap:2px 7px;margin:8px 0}.symptom-list button{min-height:44px;padding:5px 7px;font-size:12px;color:#b0bfae;border-radius:5px}.symptom-list button[aria-pressed=true]{color:var(--accent);background:#e6bb7310}.filters{display:flex;gap:8px}.filters select{flex:1;width:50%;border:1px solid var(--line);border-radius:5px;padding:7px;min-height:44px;background:#1b2221;color:#c0cdbf;font-size:12px}.filters select:disabled{opacity:.45}.search-summary{display:flex;justify-content:space-between;align-items:center;min-height:44px;gap:5px;font-size:11px;color:var(--muted)}.search-summary>span{overflow-wrap:anywhere}.search-summary .text-button{font-size:11px}.element-list{overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#53694d transparent}.element-row{width:100%;display:flex;align-items:center;gap:10px;padding:11px 4px;min-height:60px;text-align:left;border-bottom:1px solid #2d3830}.element-row.selected{background:#e6bb7310}.element-chip{display:grid;place-items:center;flex-shrink:0;font-size:12px;font-weight:700;width:34px;height:37px;border:1px solid color-mix(in srgb,var(--element-color) 60%,transparent);border-radius:4px;background:color-mix(in srgb,var(--element-color) 15%,transparent);color:var(--element-color)}.element-chip.relay{color:#c2cbbb;border-color:#6c7966;background:#2c3529}.row-content{min-width:0;flex:1}.row-content strong{display:block;font-size:13px;font-weight:500;line-height:1.45}.row-content small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}.row-rating{flex-shrink:0;font-size:12px;color:#b5c2aa}.empty-search{padding:20px 0;color:var(--muted);font-size:13px}.flat-viewport{position:absolute;inset:12px 56px 12px 12px;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none}.flat-board{position:relative;border:8px solid #354141;border-radius:12px;background:#232e30;flex-shrink:0;transform-origin:center}.flat-element{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;border-radius:3px;background:color-mix(in srgb,var(--element-color) 77%,#151e21);box-shadow:0 0 0 2px #121a1c,inset 0 0 0 1px #ffffff3a;color:#fff4d7;padding:0;touch-action:none}.flat-element:hover:not(:disabled){background-color:color-mix(in srgb,var(--element-color) 90%,#151e21)}.flat-element strong{font-size:clamp(10px,1.6vw,18px);font-weight:700}.flat-number{position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%);font-size:clamp(7px,.9vw,11px);color:#d1ded3;white-space:nowrap;pointer-events:none}.flat-element.relay{flex-direction:column;gap:5px;background:var(--element-color)}.flat-element.relay .flat-number{position:static;transform:none;font-size:clamp(9px,1.5vw,17px);font-weight:600}.flat-element.relay strong{font-size:7px;font-weight:400;color:#a7b6aa}.relay-symbol{font-size:7px;color:#a7b6aa}.flat-element.is-selected{box-shadow:0 0 0 3px var(--accent);z-index:1}.flat-element.is-dimmed{opacity:.3}.flat-element[data-availability=unavailable]:after{content:"";position:absolute;right:-3px;top:-3px;width:5px;height:5px;border:1px solid #d2b779;border-radius:50%;background:#252a23}.board-screw{position:absolute;width:5px;height:5px;border-radius:50%;background:#9baca0;pointer-events:none}.tl{top:2%;left:1%}.tr{top:2%;right:1%}.bl{bottom:2%;left:1%}.br{bottom:2%;right:1%}.panel-backdrop{position:fixed;inset:0;z-index:20;display:flex;justify-content:flex-end;align-items:flex-start;padding:80px 28px 28px;background:#05090885}.dialog{display:flex;flex-direction:column;width:440px;max-width:100%;max-height:calc(100dvh - 108px);border:1px solid #4b574c;border-radius:10px;background:#1b2221;box-shadow:0 15px 60px #0005;overflow:hidden;animation:panel-in .15s ease-out}.dialog-heading{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 20px;border-bottom:1px solid var(--line);flex-shrink:0}.dialog-heading h2{margin:0;flex:1;font-size:17px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.dialog-body{padding:16px 20px;overflow-y:auto;min-height:0;overscroll-behavior:contain}.service-menu{display:flex;flex-direction:column}.service-menu>button{display:flex;align-items:center;gap:12px;padding:12px 0;text-align:left;font-size:14px;min-height:48px}.service-status{border-top:1px solid var(--line);margin-top:12px;padding-top:4px;color:var(--muted);font-size:12px;line-height:1.65}.service-content{font-size:13px;line-height:1.8}.service-content p:first-child{margin-top:0}.service-content a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent)}.equipment-option{display:flex;align-items:center;gap:15px;justify-content:space-between;min-height:56px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.equipment-option input{width:22px;height:22px;accent-color:var(--accent);flex-shrink:0}.equipment-panel>p{font-size:12px;color:var(--accent);line-height:1.7}.update-banner{display:flex;justify-content:center;align-items:center;flex-shrink:0;gap:10px;padding:5px 10px;border-top:1px solid #5e6047;background:#293026;font-size:12px}.error-notice{flex-shrink:0;min-height:32px;font-size:11px;color:var(--accent);border-top:1px solid var(--line)}@keyframes panel-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.app-shell[data-compact=true] .topbar{min-height:56px;padding:max(4px,env(safe-area-inset-top)) 12px 4px;gap:14px}.app-shell[data-compact=true] .brand{gap:6px}.app-shell[data-compact=true] .brand strong{font-size:23px}.app-shell[data-compact=true] .brand img{width:23px;height:23px}.app-shell[data-compact=true] .topbar h1{font-size:14px}.app-shell[data-compact=true] .topbar h1 span{display:block;font-size:9px;margin-left:0}.search-launch{display:flex;align-items:center;gap:10px;min-height:44px;margin:8px 12px 0;padding:8px 12px;border:1px solid #45534a;border-radius:6px;background:#19201d;text-align:left;color:#c5cfc7;font-size:14px;flex-shrink:0}.search-launch span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-launch small{color:var(--accent)}.app-shell[data-compact=true] .workspace{display:flex;flex-direction:column;gap:0;padding:6px max(8px,env(safe-area-inset-right)) max(0px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.app-shell[data-compact=true] .visual-workspace{flex:1}.app-shell[data-compact=true] .scene-toolbar{gap:4px}.app-shell[data-compact=true] .side-switch button,.app-shell[data-compact=true] .mode-switch button{gap:4px;padding:7px 8px;font-size:11px}.app-shell[data-compact=true] .selection-slot{flex-shrink:0;max-height:44%;overflow-y:auto}.app-shell[data-compact=true] .inspector{border-top:1px solid var(--line);border-bottom:0;padding:10px 4px 2px}.app-shell[data-compact=true] .selection-id{font-size:27px}.app-shell[data-compact=true] .selection-heading{gap:10px}.app-shell[data-compact=true] .selection-name h2{font-size:14px}.app-shell[data-compact=true] .selection-name>span{font-size:10px}.app-shell[data-compact=true] .selection-heading>.icon-button{width:44px}.app-shell[data-compact=true] .selection-actions{margin-top:0}.app-shell[data-compact=true] .equipment-badge{margin-top:5px}.app-shell[data-compact=true] .flat-viewport{inset:10px 52px 10px 5px}.app-shell[data-compact=true] .flat-board{border-width:6px;border-radius:8px}.app-shell[data-compact=true] .flat-element strong{font-size:10px}.app-shell[data-compact=true] .flat-element.relay strong,.app-shell[data-compact=true] .relay-symbol{font-size:6px}.app-shell[data-compact=true] .flat-number{font-size:7px}.app-shell[data-compact=true] .flat-element.relay .flat-number{font-size:10px}.app-shell[data-compact=true] .scene-zoom{bottom:10px}.app-shell[data-compact=true] .cover-button{bottom:8px;left:4px;font-size:11px}.app-shell[data-compact=true] .update-banner{gap:6px;font-size:10px;padding:3px 6px}.app-shell[data-compact=true] .update-banner .primary-button{font-size:11px;padding:6px 9px}.app-shell[data-compact=true] .panel-backdrop{align-items:flex-end;padding:env(safe-area-inset-top) 0 0;height:var(--app-height, 100dvh);bottom:auto}.app-shell[data-compact=true] .dialog{width:100%;max-height:min(75%,680px);border-radius:12px 12px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.app-shell[data-compact=true] .dialog-heading{padding:8px 8px 8px 16px}.app-shell[data-compact=true] .dialog-heading h2{font-size:16px}.app-shell[data-compact=true] .dialog-body{padding:12px 16px}.app-shell[data-compact=true] .search-dialog{height:100%;max-height:100%}.app-shell[data-compact=true] .search-dialog .dialog-body{display:flex;flex-direction:column;padding-top:10px;overflow:hidden;flex:1}.app-shell[data-compact=true] .search-dialog .catalog{height:100%}.app-shell[data-compact=true] .search-dialog .catalog-controls{max-height:65%;overflow-y:auto;flex-shrink:0}.app-shell[data-compact=true] .symptom-list{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;margin:4px 0;scrollbar-width:thin}.app-shell[data-compact=true] .symptom-list button{flex-shrink:0}.app-shell[data-compact=true] .search-summary{font-size:11px}@media(max-width:380px){.app-shell[data-compact=true] .topbar{gap:10px}.app-shell[data-compact=true] .brand img{display:none}.app-shell[data-compact=true] .side-switch button,.app-shell[data-compact=true] .mode-switch button{padding:7px 6px;font-size:10px}}@media(min-width:600px)and (max-height:500px){.app-shell[data-compact=true] .topbar{min-height:48px;padding-top:2px;padding-bottom:2px}.app-shell[data-compact=true] .topbar h1 span{display:inline;margin-left:6px}.app-shell[data-compact=true] .search-launch{min-height:44px;margin-top:4px}.app-shell[data-compact=true] .workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,32%);grid-template-rows:minmax(0,1fr);gap:12px}.app-shell[data-compact=true] .visual-workspace{grid-column:1;grid-row:1}.app-shell[data-compact=true] .selection-slot{grid-column:2;grid-row:1;max-height:100%}.app-shell[data-compact=true] .workspace:not(:has(.selection-slot)){grid-template-columns:minmax(0,1fr)}.app-shell[data-compact=true] .inspector{border-top:0}.app-shell[data-compact=true] .dialog{max-height:100%}}
