@font-face {
  font-family: Eelon;
  src: url("./assets/home-labels.woff2") format("woff2");
  font-display: swap;
}
:root { color-scheme: dark; background: #202129; color: #e8c5a3; font-family: Eelon, Tahoma, sans-serif; --graphite-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }
.home { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 28% 18%, #2b2c34 0%, #24262e 40%, #1c1f27 78%, #171a22 100%); }
.home::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .065; background-image: var(--graphite-grain); }
.mark-floor, .mark-position, .mark-press, .approved-frame, .plan-surface { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.mark-floor, .mark-position { pointer-events: none; }
.mark-floor, .mark-face { visibility: hidden; }
.home[data-rendering="live"] :is(.mark-floor, .mark-face) { visibility: visible; }
.home[data-rendering="live"] .approved-frame { visibility: hidden; }
.approved-frame { object-fit: cover; }
.mark-face {
  position: absolute;
  width: var(--face-width);
  height: var(--face-height);
  left: 50%;
  top: 48.4%;
  transform: translate(-50%, -50%);
}
.mark-floor--clear, .approved-frame--lit, .mark-face--lit { opacity: 0; will-change: opacity; }
.mark-floor--clear { right: auto; bottom: auto; transition: opacity 215ms cubic-bezier(.22, .62, .29, 1); }
.home:is([data-phase="opening"], [data-phase="on"]) .mark-floor--clear { opacity: 1; }
.home[data-phase="closing"] .mark-floor--clear { transition-delay: 195ms; }
.plan-ambience {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 29% 26%, #302e2feb, #282729eb 53%, #1e1d20f2 100%);
  opacity: 0;
  will-change: opacity;
  transition: opacity 250ms cubic-bezier(.22, .62, .29, 1);
}
.home:is([data-phase="opening"], [data-phase="on"]) .plan-ambience { opacity: .76; }
.home[data-phase="closing"] .plan-ambience { transition-delay: 170ms; }
.approved-frame--lit, .mark-face--lit { transition: opacity 80ms ease-out; }
.home[data-powered="true"] :is(.approved-frame--lit, .mark-face--lit) { opacity: 1; }
.mark-position, .mark-press { will-change: transform; }
.mark-position { transform-origin: 50% 48.4%; }
.home:is([data-phase="opening"], [data-phase="on"]) .mark-position { transform: translate3d(0, var(--mark-shift-y, 0px), 0) scale(var(--mark-scale, 1)); }
.home[data-phase="opening"] .mark-position { transition: transform 220ms cubic-bezier(.23, .62, .30, 1) 20ms; }
.home[data-phase="closing"] .mark-position { transition: transform 217ms cubic-bezier(.45, .05, .63, .89) 208ms; }
.mark-press {
  transform-origin: 50% 48.4%;
  transform: translate3d(calc(var(--hover-x, 0px) + var(--depth-x, 0px)), calc(var(--hover-y, 0px) + var(--depth-y, 0px)), 0);
  transition: transform 145ms cubic-bezier(.20, .67, .28, 1);
}
.home[data-switch-held] .mark-press {
  --depth-x: var(--press-x, 1px);
  --depth-y: var(--press-y, 3px);
  transition: transform 68ms cubic-bezier(.40, 0, .60, 1);
}
.home[data-rendering="fallback"] .approved-frame {
  mask-image: radial-gradient(ellipse 72% 80% at 50% 48.4%, black 56%, transparent 100%);
}
.mark-power { position: absolute; z-index: 2; top: 48.5%; left: 50%; width: min(36vh, 88vw); height: 66%; transform: translate(-50%, -50%); border: 0; padding: 0; background: transparent; cursor: pointer; touch-action: manipulation; }
.home[data-phase="on"] .mark-power {
  top: var(--mark-center-y, 48.4%);
  width: var(--mark-hit-width, 30vh);
  height: var(--mark-hit-height, 60%);
}
.mark-power:disabled { pointer-events: none; visibility: hidden; }
.mark-power:focus-visible { outline: 1px solid #df9b65; outline-offset: 8px; border-radius: 6px; }
.plan-surface { z-index: 1; display: grid; place-items: center; pointer-events: none; }
.home[data-phase="on"] .plan-surface { pointer-events: auto; }
.plan-drawing { display: block; position: relative; }
.home[data-plan-layout="mobile"] .plan-surface { display: block; overflow: hidden; overscroll-behavior: contain; }
.home[data-plan-layout="mobile"][data-phase="on"] .plan-surface { overflow-y: auto; scrollbar-width: thin; }
.plan-drawing[data-layout="mobile"] { margin: var(--plan-top, 58px) auto 23px; }
.plan-layer, .room-navigation {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  will-change: opacity, transform;
}
.plan-layer { pointer-events: none; }
.room-lighting {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.room-underlight { opacity: 0; transition: opacity 75ms ease-out; }
.room-symbol {
  pointer-events: none;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.room-engraving use, .room-hologram use { stroke-width: var(--wire-width); }
.room-symbol-detail { stroke-width: calc(var(--wire-width) * .76); }
.engraving-shadow { --wire-width: 4.3; stroke: #111013; opacity: .38; }
.engraving-lip { --wire-width: 3.1; stroke: #696464; opacity: .55; }
.engraving-groove { --wire-width: 2.85; stroke: #0d0c0f; opacity: .76; }
.engraving-edge { --wire-width: .65; stroke: #3e393b; opacity: .52; }
.room-hologram {
  opacity: var(--hologram-active, 0);
  transition: opacity 145ms ease-out;
  --hologram-motion: 175ms cubic-bezier(.22, .62, .29, 1);
}
.hologram-spill { --wire-width: 9; stroke: #f37431; opacity: .36; filter: url(#room-hologram-spill); }
.hologram-wall { fill: #ed8f57; fill-opacity: .067; }
.hologram-column { stroke: #ffae6b; stroke-width: .98; stroke-opacity: .62; }
.hologram-foot { --wire-width: 1.12; stroke: #ffa25d; opacity: .82; }
.hologram-section { --wire-width: .7; stroke: #ffa968; stroke-dasharray: 3 6; opacity: .36; }
.hologram-bloom { --wire-width: 4; stroke: #fc883d; opacity: .72; filter: url(#room-hologram-bloom); }
.hologram-wire { --wire-width: 1.45; stroke: #ffd09f; opacity: .96; }
.hologram-grow {
  transform-origin: 0 0;
  transform: scaleY(var(--hologram-active, 0));
  transition: transform var(--hologram-motion);
}
.hologram-cap, .hologram-section {
  transform: translateY(calc(var(--room-rise) * var(--hologram-active, 0) * var(--hologram-level, 1)));
  transition: transform var(--hologram-motion);
}
.hologram-section { --hologram-level: .5; }
.home[data-phase="on"][data-view="pressing"] .room-engraved-link[data-committed],
.home[data-phase="on"][data-view="plan"] .plan-drawing:not(:has(.room-link[data-pressed])) .room-engraved-link:focus-visible,
.home[data-phase="on"][data-view="plan"] .room-engraved-link[data-pressed] { --hologram-active: 1; }
@media (hover: hover) {
  .home[data-phase="on"][data-view="plan"] .plan-drawing:has(.room-link:hover) .room-engraved-link:focus-visible:not(:hover) { --hologram-active: 0; }
  .home[data-phase="on"][data-view="plan"] .plan-drawing:not(:has(.room-link[data-pressed])) .room-engraved-link:hover { --hologram-active: 1; }
}
.home[data-motion-warming] :is(.plan-layer, .plan-ambience, .room-navigation, .mark-face--lit, .mark-floor--clear, .approved-frame--lit) { opacity: .005; }
.home[data-phase="on"] :is(.plan-layer, .room-navigation) { opacity: 1; }
.room-link { cursor: pointer; outline: none; touch-action: manipulation; }
.room-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  transition: stroke 120ms;
}
.room-beam-hit { fill: transparent; }
.room-title {
  fill: #e0d5cc;
  font-size: 20px;
  font-weight: 400;
  paint-order: stroke;
  stroke: #161719;
  stroke-width: .35px;
  text-shadow: 0 -1px #1b1b1d, 0 1px #7b6c5d77;
  pointer-events: none;
  user-select: none;
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleY(var(--plan-type-y, 1));
  transition: fill 85ms;
}
.room-title--compact { font-size: 18px; }
.room-title--center {
  fill: var(--threshold-ink, #ece2d8);
  font-size: 35px;
  font-weight: 700;
  stroke: none;
  text-shadow: var(--threshold-text-glow, 0 1px 1px #161518);
}
.plan-drawing .room-title.room-title--subtitle {
  fill: var(--threshold-ink, #eeeae4);
  font-size: max(32px, var(--plan-subtitle-min, 32px));
  font-weight: 600;
  stroke: #141317;
  stroke-width: 1.15px;
  text-shadow: var(--threshold-text-glow, 0 -1px #0d0d10, 0 -2px 1px #161519, 0 1px #827b73);
}
.room-link:is([data-pressed], [data-committed]) .room-title { fill: #ffcb9e; }
.room-link:focus-visible .room-hit { stroke: #f1c28d; stroke-width: 2px; }
.threshold-key { pointer-events: none; }
.threshold-motion { transform-box: fill-box; transform-origin: center; }
.threshold-indicator { fill: none; stroke: #ffc391; stroke-width: 1.3px; filter: drop-shadow(0 0 4px #ff964d); opacity: .8; }
.home[data-phase="on"][data-view="plan"] .threshold-indicator { animation: threshold-pulse 3.6s ease-in-out infinite; }
@keyframes threshold-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ups-entry[data-committed] .room-hit { stroke: transparent; }
.ups-entry .room-title { transition: fill 100ms ease-out, text-shadow 100ms ease-out; }
.threshold-light { opacity: var(--threshold-light, 0); transition: opacity 100ms ease-out; }
.home[data-phase="on"][data-view="plan"] .ups-entry:is(:focus-visible, [data-pressed]) {
  --threshold-light: 1;
  --threshold-ink: #fff0df;
  --threshold-text-glow: 0 0 5px #ffba81aa, 0 0 11px #f791515c;
}
@media (hover: hover) {
  .home[data-phase="on"][data-view="plan"] .ups-entry:hover {
    --threshold-light: 1;
    --threshold-ink: #fff0df;
    --threshold-text-glow: 0 0 5px #ffba81aa, 0 0 11px #f791515c;
  }
}
.home:not([data-view="plan"]) .room-navigation { pointer-events: none; }
.plan-power { position: absolute; z-index: 3; top: max(20px, env(safe-area-inset-top)); left: max(20px, env(safe-area-inset-left)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #9d6d4d80; border-radius: 50%; background: #202129b8; color: #d4a57e; cursor: pointer; touch-action: manipulation; transition: color 180ms, border-color 180ms; }
.plan-power:hover { color: #ffdeb5; border-color: #dba476; }
.plan-power:focus-visible { outline: 2px solid #dba476; outline-offset: 5px; }
.home-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.home[data-plan-layout="mobile"] .plan-power { top: max(9px, env(safe-area-inset-top)); left: max(13px, env(safe-area-inset-left)); }
.plan-drawing[data-layout="mobile"] .room-title { font-size: max(16px, var(--plan-room-min, 16px)); }
.plan-drawing[data-layout="mobile"] .room-title--center { font-size: 28px; }
.plan-drawing[data-layout="mobile"] .room-title.room-title--subtitle { font-size: max(24px, var(--plan-subtitle-min, 24px)); }
@media (max-height: 500px) and (orientation: landscape) {
  .plan-drawing[data-layout="desktop"] .room-title:not(.room-title--center, .room-title--subtitle) {
    font-size: var(--plan-room-min, 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home[data-phase="on"][data-view="plan"] .threshold-indicator { animation: none; }
  .home[data-switch-held] .mark-press { --depth-x: 0px; --depth-y: 0px; }
  *, *::before, *::after { animation-duration: 0ms !important; transition-duration: 0ms !important; }
}



.second-power-reveal { position: absolute; inset: 0; z-index: 2; touch-action: none; }
.second-power-raised-key {
  position: absolute;
  left: var(--reveal-x);
  top: var(--reveal-y);
  width: min(var(--reveal-width), 64vw);
  opacity: 0;
  overflow: visible;
  filter: drop-shadow(0 8px 9px #100d10c4);
}
.home[data-view="second-power"] .mark-position { display: none; }
.home[data-phase="on"][data-view="second-power"] .plan-surface {
  display: block; overflow: hidden; overflow: clip; overscroll-behavior: none;
}
.second-power-plan {
  --sp-top: 52px;
  --sp-room: 212px;
  position: absolute; inset-inline: 0; top: 0;
  width: min(1030px, 100% - 48px); margin-inline: auto; padding-top: var(--sp-top);
}
.second-power-plan[data-entering] { top: var(--second-power-scroll); pointer-events: none; }
.home[data-second-power-shifting] .plan-drawing :is(.plan-shadow, .plan-frame, .plan-hall, .plan-rooms, .room-engraved-link, .room-lighting) { visibility: hidden; }
.home[data-view="pressing"][data-second-power-shifting] .ups-entry { visibility: visible; pointer-events: none; }
.home[data-second-power-shifting] .ups-entry .threshold-indicator { opacity: 0; }
.home[data-second-power-shifting] .ups-entry .room-title--subtitle { animation: second-power-recess-exit 170ms ease-out both; }
@keyframes second-power-recess-exit { to { opacity: 0; } }
.second-power-plan[data-entering] :is(.second-power-circuit, .second-power-device) {
  animation: second-power-plan-arrival 380ms 560ms ease-out both;
}
@keyframes second-power-plan-arrival { from { opacity: 0; } to { opacity: 1; } }
.second-power-plan[data-entering] :is(.second-power-engineering, .second-power-back) { visibility: hidden; }
.second-power-plan[data-entering] :is(.sp-bay-quantity, .sp-bay-sample) { visibility: hidden; }
.second-power-back {
  position: fixed; top: max(21px, env(safe-area-inset-top)); right: max(38px, env(safe-area-inset-right)); z-index: 1;
  min-height: 40px; padding: 6px 12px; font: 600 13px SpVazirmatn, Eelon, sans-serif;
}
.second-power-layout { direction: ltr; }
.second-power-equipment {
  position: relative; margin-inline: auto;
  width: min(100%, calc(max(var(--sp-map-min, 58px), var(--sp-viewport, 100vh) - var(--sp-top) - var(--sp-room)) * var(--sp-map-ratio, 1.6)));
}
.second-power-bay {
  position: absolute; transform-origin: 0 0; border: 0; padding: 0; background: transparent; color: #cbc0b7;
  font-size: clamp(10px, 1.03vw, 15px); cursor: pointer; direction: rtl;
}
.second-power-frame, .second-power-circuit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.second-power-device {
  position: absolute; inset: 17% 12%; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 2px; background: radial-gradient(ellipse at center, var(--second-power-device-glow, #e98a4500), transparent 67%);
}
.second-power-device svg {
  width: min(52%, 124px); max-height: 83%; fill: none; stroke: #918685; stroke-width: 2.5;
  stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(1px 2px 1px #0a090b); transition: transform 180ms ease, stroke 180ms ease, filter 180ms ease;
}
.second-power-bay[aria-pressed="true"] { --second-power-device-glow: #e98a4524; color: #f3c79f; }
.second-power-bay[aria-pressed="true"] svg {
  stroke: #ffca98; transform: translateY(-6px);
  filter: drop-shadow(0 0 5px #f09b62) drop-shadow(0 8px 12px #b95d31);
}
.second-power-bay[aria-pressed="true"] .second-power-device::after {
  content: "✓"; position: absolute; top: 0; right: 8%; display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid #cc8f65;
  color: #ffd3ae; background: #4a322c; box-shadow: 0 0 14px #ed924533; font: 600 13px SpVazirmatn, sans-serif;
}
.second-power-bay[aria-disabled="true"] { cursor: default; }
.sp-bay-quantity, .sp-bay-sample {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); pointer-events: none;
  white-space: nowrap; color: #ffd6b5; font: 600 12px SpVazirmatn, sans-serif;
}
.sp-bay-quantity { display: flex; align-items: center; gap: 4px; }
.sp-bay-count { min-width: 20px; padding: 0 3px; border-radius: 4px; text-align: center; background: #292326; }
.sp-bay-quantity button {
  pointer-events: auto; width: 29px; height: 26px; padding: 0; line-height: 1;
}
.sp-bay-quantity[data-editable="false"] button { display: none; }
.second-power-bay[aria-pressed="true"] .second-power-device { bottom: 29%; }
.second-power-bay:focus-visible { outline: 2px solid #ffc899; outline-offset: 4px; }
.second-power-circuit { z-index: 1; overflow: visible; }
.second-power-branch path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.circuit-channel { stroke: #121114; stroke-width: 4.7; }
.circuit-edge { stroke: #504a4b; stroke-width: 1.25; opacity: .79; }
.circuit-core { stroke: #ffd1a5; stroke-width: 2.6; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; }
.circuit-node { fill: #494449; stroke: #777078; stroke-width: 1; vector-effect: non-scaling-stroke; }
.circuit-node-recess { fill: #0f0e11; stroke: #221d20; stroke-width: 1; vector-effect: non-scaling-stroke; }
.second-power-branch.is-powered .circuit-core {
  opacity: 1; stroke-dashoffset: 0; animation: second-power-current 340ms ease-out both;
  filter: drop-shadow(0 0 3px #f68d4a) drop-shadow(0 0 7px #e9804e);
}
.second-power-branch.is-powered .circuit-node {
  stroke: #ffcf9e; fill: #ba713f; transition: stroke 130ms 285ms, fill 130ms 285ms;
  filter: drop-shadow(0 0 5px #f59048);
}
@keyframes second-power-current { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.second-power-key-seat { position: absolute; aspect-ratio: 320 / 132; transform: translate(-50%, -50%); z-index: 2; pointer-events: none; }
.second-power-key-seat .second-power-raised-key { position: static; width: 100%; display: block; opacity: 1; }
.second-power-key-seat .second-power-hose { stroke-dasharray: none; }
@font-face {
  font-family: SpVazirmatn;
  src: url("./assets/Vazirmatn-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
.second-power-engineering {
  --sp-ink: #f5ebe2; --sp-muted: #c7b9af; --sp-accent: #eebc96;
  position: relative; z-index: 2; min-width: 0; margin-top: 2px; padding-top: 12px;
  border-top: 1px solid #d2ac8b3c;
  color: var(--sp-ink); direction: rtl; font: 400 15px/1.5 SpVazirmatn, Eelon, sans-serif;
}
.second-power-engineering::before {
  content: ""; position: absolute; top: -1px; right: 0; height: 1px; width: 125px;
  background: linear-gradient(to left, #d88953a0, transparent);
}
.second-power-engineering :is(h1, h2, p) { margin: 0; }
.second-power-engineering h1 { font-size: 26px; line-height: 1.2; font-weight: 760; overflow-wrap: anywhere; }
.second-power-engineering h1:focus { outline: 0; }
.second-power-engineering p { color: var(--sp-muted); }
.second-power-engineering small { color: var(--sp-muted); font-size: 13px; }
.second-power-engineering .sp-keyword { color: #ffc494; }
.sp-heading, .sp-result-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; }
.sp-heading > span { color: var(--sp-accent); font-size: 13px; white-space: nowrap; }
.sp-pills, .sp-options, .sp-fields, .sp-actions, .sp-actions > div, .sp-pagination, .sp-carousel, .sp-tabs {
  display: flex; gap: 8px; align-items: stretch;
}
.sp-actions { justify-content: space-between; align-items: center; margin-top: 9px; }
.sp-actions > div { align-items: center; }
.sp-count { color: #ffceaa; }
.sp-pills, .sp-actions { flex-wrap: wrap; }
.sp-pagination, .sp-carousel { align-items: center; gap: 4px; white-space: nowrap; }
.sp-actions small, .sp-carousel span { color: var(--sp-muted); font-size: 12px; }
.sp-bay-quantity button { --eelon-action-radius: 7px; }
.second-power-engineering button { min-height: 41px; padding: 6px 15px; font: inherit; line-height: 1.25; }
.second-power-engineering .sp-primary { min-width: 110px; font-weight: 760; }
.second-power-engineering .sp-link { padding-inline: 7px; --eelon-action-ink: var(--sp-accent); }
.second-power-engineering :is(button, a, input):focus-visible, .second-power-back:focus-visible {
  outline: 2px solid #ffc899; outline-offset: 2px;
}
.second-power-engineering .sp-option { flex: 1; min-width: 0; text-align: start; padding: 8px 12px; }
.sp-option :is(strong, small) { display: block; }
.sp-option small { margin-top: 4px; font-size: 12px; line-height: 1.4; }
.second-power-engineering .sp-range-note { margin-bottom: 6px; font-size: 13px; }
.sp-fields { align-items: end; }
.sp-field { flex: 0 1 280px; min-width: 0; color: #e7d8ce; font-size: 13px; }
.sp-field:only-child { flex-basis: 420px; }
.sp-field input {
  display: block; width: 100%; height: 39px; margin-top: 3px; padding-inline: 9px;
  color: var(--sp-ink); border: 1px solid #ffffff35; border-radius: 6px; background: #19181c;
  font: 400 16px SpVazirmatn, sans-serif;
}
.sp-field input[inputmode="decimal"], .sp-field input[inputmode="numeric"] { direction: ltr; text-align: right; }
.sp-recap { display: grid; grid-template-columns: 1.25fr .8fr 1fr; }
.sp-recap > div { min-width: 0; padding: 2px 10px; border-right: 1px solid #be937159; }
.sp-recap strong, .sp-recap small { display: block; }
.sp-recap strong { color: #f5e4d7; font-size: 15px; font-weight: 650; }
.sp-recap strong > span, .sp-glass small > span[title] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-source { color: #ffd0ab; text-underline-offset: .15em; }
.second-power-engineering .sp-error { margin-top: 4px; color: #ffd0b5; font-size: 13px; }
.second-power-engineering[data-step="result"] { padding-top: 6px; }
.sp-result-head { margin-bottom: 7px; }
.sp-result-head h1 { font-size: 21px; }
.sp-results { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 11px; }
.sp-glass {
  min-width: 0; min-height: 122px; padding: 8px 14px 10px; overflow-wrap: anywhere;
  border: 1px solid #ad806575; border-top-color: #edb088ba; border-radius: 10px;
  background: linear-gradient(145deg, transparent 29%, #f8e8e412 29.3%, transparent 52%),
    radial-gradient(ellipse at 83% 0, #98807523, transparent 49%),
    linear-gradient(163deg, #6e62694d, #343037ae 34%, #221f25b5 71%),
    repeating-linear-gradient(174deg, transparent 0 19px, #c4b1af0b 20px 21px);
  box-shadow: 0 4px 0 -1px #442d29, 0 6px 0 -2px #b482664d, 0 12px 20px #100c12ad,
    inset 0 1px 0 #fff1e533, inset 0 0 22px #77605b22;
  animation: sp-project-card 230ms ease-out both;
}
@keyframes sp-project-card { from { opacity: 0; transform: translateY(7px); } }
.sp-glass::before { content: ""; display: block; width: 31px; height: 1px; margin-bottom: 5px; background: #ffd3aa; box-shadow: 0 0 6px #ffab6d; }
.sp-glass h2 { margin-bottom: 3px; color: #ffe7d3; font-size: 16px; line-height: 1.25; }
.sp-glass p { color: #e3d5cd; font-size: 13.5px; }
.sp-glass small { display: block; margin-top: 3px; line-height: 1.4; }
.sp-product { display: flex; align-items: center; gap: 11px; }
.sp-product > div { flex: 1; min-width: 0; }
.sp-product img { width: 82px; height: 68px; object-fit: contain; filter: drop-shadow(0 7px 5px #150e15); }
.sp-product-tools { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.sp-details {
  display: inline-flex; align-items: center; min-height: 29px;
  padding: 3px 8px; --eelon-action-rim-top: #bd8b69; --eelon-action-ink: #ffdfc5;
  text-decoration: none; white-space: nowrap; font-size: 12px; font-weight: 650;
}
.sp-carousel { justify-content: end; }
.second-power-engineering .sp-carousel button, .second-power-engineering[data-step="result"] .sp-actions button { min-height: 29px; padding: 3px 9px; font-size: 12px; }
.sp-linked-product .sp-product img { height: 43px; }
.sp-tabs { display: none; }

@media (max-width: 760px), (max-width: 1024px) and (max-height: 500px) {
  .second-power-plan { --sp-top: 76px; --sp-room: 342px; width: calc(100% - 32px); }
  .second-power-equipment { max-width: 73%; }
  .second-power-back { right: max(16px, env(safe-area-inset-right)); top: max(17px, env(safe-area-inset-top)); min-height: 38px; }
  .second-power-bay { font-size: clamp(9px, 3vw, 12px); }
  .second-power-device { inset: 14% 0; gap: 0; }
  .second-power-device svg { width: min(55%, 50px); max-height: 72%; }
  .second-power-bay[aria-pressed="true"] .second-power-device::after { right: 14%; width: 17px; height: 17px; font-size: 10px; }
  .second-power-bay[aria-pressed="true"] svg { transform: translateY(-2px); }
  .sp-bay-quantity, .sp-bay-sample { font-size: 10px; }
  .second-power-engineering { margin-top: 7px; font-size: 14px; }
  .sp-heading { flex-direction: column-reverse; align-items: start; gap: 6px; margin-bottom: 10px; }
  .sp-heading > span { font-size: 12px; }
  .second-power-engineering h1 { font-size: clamp(18px, 5.5vw, 22px); }
  .second-power-engineering button { min-height: 44px; padding: 6px 9px; font-size: 13.5px; }
  .second-power-engineering .sp-primary { min-width: 86px; }
  .second-power-engineering .sp-link { font-size: 12px; }
  .second-power-engineering .sp-option { min-height: 61px; padding: 7px 9px; }
  .sp-options > * { flex: 1 1 0; }
  .sp-option small { font-size: 11.5px; }
  .sp-pills { gap: 5px; }
  .sp-actions, .sp-actions > div { gap: 6px; }
  .sp-recap { grid-template-columns: 1.1fr .65fr 1fr; }
  .sp-recap > div { padding-inline: 6px; }
  .sp-recap strong, .sp-recap small { font-size: 12px; }
  .sp-result-head h1 { font-size: 20px; }
  .sp-tabs { display: flex; gap: 5px; margin-bottom: 9px; }
  .sp-tabs button { flex: 1; min-width: 0; padding-inline: 4px; font-size: 12px; }
  .sp-results { display: block; }
  .second-power-engineering[data-tab="0"] .sp-glass:not([data-card="0"]),
  .second-power-engineering[data-tab="1"] .sp-glass:not([data-card="1"]),
  .second-power-engineering[data-tab="2"] .sp-glass:not([data-card="2"]) { display: none; }
  .sp-glass { min-height: 129px; padding: 10px 12px; }
  .sp-product img { width: 76px; height: 72px; }
  .sp-linked-product .sp-product img { height: 48px; }
  .sp-details { min-height: 44px; }
  .second-power-engineering[data-step="result"] :is(.sp-carousel, .sp-actions) button { min-height: 44px; }
}

@media (max-width: 760px) and (max-height: 610px) {
  .second-power-plan { --sp-top: 55px; --sp-room: 334px; }
  .second-power-back { top: 10px; }
  .sp-bay-quantity button { width: 23px; height: 22px; }
  .sp-bay-count { min-width: 14px; }
}
@media (max-width: 360px) {
  .second-power-plan { --sp-room: 350px; }
  .sp-result-head h1 { font-size: 18px; }
  .sp-result-head small { font-size: 11px; white-space: nowrap; }
  .sp-linked-product .sp-product img { width: 59px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .second-power-plan { --sp-top: 28px; --sp-room: 274px; width: min(900px, calc(100% - 32px)); }
  .second-power-back { top: 8px; }
  .second-power-equipment { max-width: 66%; }
  .second-power-engineering { margin-top: 1px; padding-top: 5px; }
  .sp-heading { flex-direction: row; gap: 7px; }
  .sp-heading > span { align-self: center; }
  .second-power-engineering .sp-tabs button, .second-power-engineering[data-step="result"] .sp-actions button { min-height: 34px; }
  .sp-glass { min-height: 100px; }
  .sp-product img { height: 45px; }
  .sp-linked-product .sp-product img { height: 39px; }
  .sp-details { min-height: 33px; }
  .sp-bay-quantity button { width: 21px; height: 18px; }
  .sp-bay-sample { margin-top: 4px; }
  .second-power-engineering[data-step="result"] .sp-carousel button { min-height: 33px; }
}
.second-power-plan[data-viewport-compact] { --sp-top: 44px; --sp-room: 182px; --sp-map-min: 40px; }
.second-power-plan[data-viewport-compact] .second-power-back { top: 4px; }
.second-power-plan[data-viewport-compact] .second-power-bay { font-size: 9px; }
.second-power-plan[data-viewport-compact] .second-power-engineering { margin-top: 4px; padding-top: 6px; }
.second-power-plan[data-viewport-compact] .sp-heading { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 5px; }
.second-power-plan[data-viewport-compact] .sp-heading h1 { font-size: 18px; }
.second-power-plan[data-viewport-compact] .sp-actions { margin-top: 5px; }
@media (max-width: 760px), (max-width: 1024px) and (max-height: 500px) {
  .home[data-phase="on"][data-view="second-power"] .plan-surface {
    overflow: hidden auto;
    overscroll-behavior: contain;
    scroll-padding-block: 56px 20px;
  }
  .second-power-plan:not([data-entering]) {
    position: relative;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .second-power-plan:has(.second-power-engineering[data-step="devices"]) {
    --sp-map-min: clamp(160px, 48vw, 210px);
  }
  .second-power-back {
    min-height: 44px;
    right: max(16px, env(safe-area-inset-right));
  }
  .second-power-engineering input,
  .second-power-engineering select { font-size: 16px; }
}
@media (min-width: 541px) and (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
  .second-power-plan { --sp-top: 64px; }
  .second-power-layout {
    display: grid;
    grid-template-columns: minmax(0, min(30vw, 220px)) minmax(0, 1fr);
    align-items: start;
    gap: clamp(12px, 3vw, 32px);
  }
  .second-power-equipment { width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-glass, .second-power-branch.is-powered .circuit-core { animation: none; }
  .second-power-device svg, .second-power-branch.is-powered .circuit-node { transition: none; }
}


:root { --button-light: 255, 151, 64; }
.tactile { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 18px; border: 1px solid #55504f; border-radius: 7px; color: #e7e0d8; background: linear-gradient(180deg, #333133, #232225); box-shadow: inset 0 1px 0 #ffffff12, 0 3px 0 #100e10, 0 6px 12px #0004; cursor: pointer; touch-action: manipulation; user-select: none; transform: translateY(0); transition: transform 65ms, box-shadow 65ms, border-color 150ms, color 150ms; }
.tactile::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -2px; height: 1px; border-radius: 2px; background: #ffdbb1; box-shadow: 0 0 4px rgba(var(--button-light), .8), 0 2px 12px rgba(var(--button-light), .4); opacity: 0; pointer-events: none; transition: opacity 130ms; }
.tactile:hover:not(:disabled) { border-color: #676b73; color: #f4f3ef; }
.tactile:hover:not(:disabled)::after { opacity: .4; }
.tactile--primary::after, .tactile[aria-pressed="true"]::after { opacity: .8; }
.tactile--primary { border-color: #615246; }
.tactile:active:not(:disabled), .tactile[data-pressed="true"]:not(:disabled) { transform: translateY(2px); background: linear-gradient(180deg, #1e1d20, #2a282c); box-shadow: inset 0 2px 5px #0007, 0 1px 0 #090b10, 0 2px 4px #0003; }
.tactile:active:not(:disabled)::after, .tactile[data-pressed="true"]::after { opacity: 1; }
.tactile:focus-visible { outline: 2px solid #f0c9a1; outline-offset: 5px; }
.tactile:disabled { opacity: .38; cursor: default; box-shadow: inset 0 1px 3px #0006; transform: none; }
.tactile:disabled::after { opacity: 0; }
.tactile--icon { width: 44px; min-width: 44px; padding: 0; }
.tactile--round { border-radius: 50%; }
.tactile--small { min-height: 38px; padding: 8px 12px; font-size: 12px; gap: 7px; }
.tactile--quiet { border-color: #675b535f; background: linear-gradient(#2d2a2c, #232224); box-shadow: inset 0 1px 0 #ffffff06, 0 2px 0 #111014; }
.ui-icon { flex: none; }
.plan-power.tactile { position: absolute; min-height: 44px; color: #e5d8c9; }
.department-page { --page-inset: clamp(20px, 4.1vw, 60px); --corridor-gutter: 4.1vw; --shell-left: 0px; --shell-right: 0px; --shell-bottom: 5.3dvh; position: fixed; inset: 0; z-index: 4; display: flex; flex-direction: column; overflow: hidden; color: #e5e0d9; }
.department-page[data-wing="east"] { --shell-left: var(--corridor-gutter); }
.department-page[data-wing="west"] { --shell-right: var(--corridor-gutter); }
.department-page[aria-hidden="true"] { pointer-events: none; }
.room-shell { position: absolute; inset: 0; pointer-events: none; }
.room-shell svg { display: block; width: 100%; height: 100%; }
.room-shell::after { content: ""; position: absolute; inset: 0; opacity: .065; background-image: var(--graphite-grain); }
.page-header, .page-scroll, .page-return { position: relative; padding-left: calc(var(--page-inset) + var(--shell-left)); padding-right: calc(var(--page-inset) + var(--shell-right)); }
.page-header { display: grid; grid-template-columns: auto minmax(0, 1fr); flex: none; gap: 18px; align-items: center; padding-top: max(32px, 5.2dvh); padding-bottom: 8px; direction: ltr; }
.page-brand { display: inline-flex; gap: 14px; align-items: center; font: 22px/1 sans-serif; letter-spacing: .12em; color: #e4e0d8; }
.brand-symbol { display: block; width: 26px; height: 44px; color: #e8c29d; filter: drop-shadow(0 0 2px #ed9b4b3d); }
.brand-symbol svg { display: block; width: 100%; height: 100%; }
.page-back { direction: rtl; font-size: 13px; }
.page-scroll { --scroll-inset: clamp(10px, 3.35vw, 48px); flex: 1; min-height: 0; margin-left: calc(var(--scroll-inset) + var(--shell-left)); margin-right: calc(var(--scroll-inset) + var(--shell-right)); padding: 16px max(6px, calc(var(--page-inset) - var(--scroll-inset))) 14px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #555150 transparent; }
.page-return { display: flex; align-items: center; flex: none; padding-block: 6px max(var(--shell-bottom), env(safe-area-inset-bottom)); direction: ltr; }
.department-page[data-wing="west"] .page-return { justify-content: flex-end; }
.page-heading h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); font-weight: 400; line-height: 1.7; color: #eee2d4; outline: none; }
.department-page[data-page="design"] .page-heading { text-align: center; padding-left: 0; padding-right: min(10vw, 145px); }
.backup-intro { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); max-width: 1060px; margin: clamp(30px, 7vh, 70px) auto 50px; direction: rtl; }
.backup-eyebrow { color: #c4b1a0; font-size: 12px; margin: 0 0 18px; }
.backup-intro .backup-intro-copy h2 { color: #f3e6d8; font-size: clamp(28px, 3vw, 42px); line-height: 1.65; margin: 0 0 20px; }
.backup-intro p:not(.backup-eyebrow) { color: #c4b1a0; font-size: 14px; line-height: 2; }
.backup-path { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-inline-start: 20px; margin: 28px 0 0; color: #e8c29d; font-size: 12px; list-style-type: persian; }
.backup-start { border-inline-start: 1px solid #615852; padding-inline-start: clamp(24px, 4vw, 55px); display: flex; flex-direction: column; align-items: flex-start; }
.backup-tool-icon { color: #e8c29d; display: block; margin-bottom: 18px; }
.backup-tool-icon svg { width: 54px; height: 46px; }
.backup-start h3 { font-size: 23px; font-weight: 400; margin: 0; color: #f3e6d8; }
.backup-start .tactile { margin-block: 10px 16px; text-decoration: none; }
.backup-text-link { display: inline-block; color: #e8c29d; text-underline-offset: 5px; font-size: 13px; line-height: 2; margin-block: 5px; }
.backup-schematic { margin: 0 auto 25px; border-block: 1px solid #615852; }
.backup-schematic > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; list-style: none; cursor: pointer; }
.backup-schematic > summary::-webkit-details-marker { display: none; }
.backup-schematic > summary strong { color: #f3e6d8; font-size: 17px; font-weight: 400; }
.backup-schematic > summary small { color: #c4b1a0; display: block; font-size: 12px; margin-top: 6px; }
.backup-schematic > summary > span:last-child { color: #e8c29d; font-size: 24px; }
.backup-schematic[open] > summary > span:last-child { font-size: 0; }
.backup-schematic[open] > summary > span:last-child::before { content: "−"; font-size: 24px; }
.backup-schematic[open] > summary { margin-bottom: 16px; border-bottom: 1px solid #615852; }
.backup-schematic:focus-within, .backup-text-link:focus-visible { outline-color: #e8c29d; }
@media (max-width: 760px) {
  .backup-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-block: 22px 30px; }
  .backup-intro .backup-intro-copy h2 { font-size: 28px; }
  .backup-start { border-inline-start: 0; border-top: 1px solid #615852; padding: 25px 0 0; }
  .backup-tool-icon { display: none; }
  .backup-path { gap: 12px 26px; line-height: 1.8; }
  .backup-start .tactile { width: 100%; justify-content: space-between; }
}
.page-body h2 { font-size: 20px; font-weight: 400; margin: 0 0 20px; }
.muted { color: #9198a3; font-size: 12px; line-height: 2; }
.page-status { position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%); z-index: 12; max-width: min(540px, 88%); margin: 0; padding: 10px 16px; border: 1px solid #4a4d55; border-radius: 6px; background: #191d25f2; color: #d4d6dc; font-size: 12px; text-align: center; pointer-events: none; box-shadow: 0 6px 20px #0005; }
.page-status:empty { display: none; }
/* The rear wall corners, returns and floor rays share the same perspective. */
.department-page[data-page="search"] {
  --search-width: min(100vw, 191dvh, 2090px);
  --search-gutter: calc((100vw - var(--search-width)) / 2);
  --search-left: calc(var(--search-gutter) + var(--search-width) * .223);
  --search-right: calc(var(--search-gutter) + var(--search-width) * .133);
  --search-amber: #edaa6c;
  --search-seam: #151414;
  color: #f0e7db;
}
[data-page="search"] .room-shell::after { opacity: 0; }
.specialty-room {
  position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse at 50% 58%, #2a2624 35%, #211f1e 76%, #171615);
}
.specialty-volume {
  position: absolute; inset: 0 var(--search-gutter);
  --rear-left: 15.3%;
  --rear-right: 92.7%;
  --rear-top: 6.3%;
  --rear-base: 90.6%;
  --eye-x: 54%;
  --eye-y: 48%;
  --floor-rays: repeating-conic-gradient(from -.08deg at var(--eye-x) var(--eye-y), #ab978316 0deg .14deg, transparent .14deg 5.4deg);
}
.specialty-volume::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--graphite-grain) 0 0 / 155px 155px,
    var(--graphite-grain) 87px 23px / 490px 490px;
  background-blend-mode: soft-light;
  mix-blend-mode: soft-light; opacity: .28;
}
.specialty-back-wall, .specialty-ceiling, .specialty-side, .specialty-floor,
.specialty-door, .specialty-passage-floor, .specialty-threshold, .specialty-door-jamb, .specialty-door-head {
  position: absolute; inset: 0;
}
.specialty-back-wall {
  inset: var(--rear-top) calc(100% - var(--rear-right)) calc(100% - var(--rear-base)) var(--rear-left);
  border: 1px solid #171514;
  background:
    linear-gradient(90deg, transparent calc(3.4% - 1px), #100e0d 3.4%, #b29c842d calc(3.4% + 1px), transparent calc(3.4% + 2px),
      transparent calc(96.7% - 1px), #11100f 96.7%, #b29c842a calc(96.7% + 1px), transparent calc(96.7% + 2px)),
    radial-gradient(ellipse 51% 27% at 47% 5%, #ad785b3f, transparent 83%),
    radial-gradient(ellipse 29% 42% at 22% 40%, #ccc4b50a, transparent 87%),
    radial-gradient(ellipse 23% 36% at 83% 73%, #b5aca307, transparent 86%),
    radial-gradient(ellipse at 47% 18%, #393633, #252422 61%, #1c1b1a);
  box-shadow: inset 0 11px 15px -5px #050404c9, inset 0 26px 45px -24px #0a0808b9,
    inset 22px 0 32px -18px #080706a6, inset -23px 0 37px -24px #0a0808ba,
    inset 0 -21px 0 #1e1c1b, inset 0 -22px #c5b19835, inset 0 -43px 40px -31px #090808ab;
}
.specialty-back-wall::before {
  content: ""; position: absolute; top: 3.7%; left: 8.95%; right: 7.8%; height: clamp(2px, .42vh, 5px);
  background: #ffcc98; border-radius: 1px;
  box-shadow: 0 -4px 2px #151210, 0 0 5px #f0a86bc9,
    0 5px 12px 3px #df8e5166, 0 11px 27px 4px #df8e512d;
}
.specialty-ceiling {
  clip-path: polygon(9.5% 0, 98.5% 0, var(--rear-right) var(--rear-top), var(--rear-left) var(--rear-top));
  background: radial-gradient(ellipse 49% 8% at 55% 1%, #675c5333, transparent 85%),
    linear-gradient(180deg, #282625, #211f1e 4.9%, #312c29 5.7%, #493b31 var(--rear-top));
}
.specialty-side--left {
  clip-path: polygon(0 0, 9.5% 0, var(--rear-left) var(--rear-top), var(--rear-left) var(--rear-base), 6.6% 100%, 0 100%);
  background: radial-gradient(ellipse 7% 26% at 9% 20%, #9c765036, transparent 88%),
    linear-gradient(180deg, #0c0a093d, transparent 19%, transparent 74%, #100e0fcc),
    linear-gradient(90deg, #272626, #363330 5%, #262423 5.6%, #2b2825 12.2%, #191716 15.3%);
}
.specialty-side--right {
  clip-path: polygon(98.5% 0, 100% 0, 100% 100%, var(--rear-right) var(--rear-base), var(--rear-right) var(--rear-top));
  background: radial-gradient(ellipse 6.4% 28% at 97% 17%, #a7764d4d, transparent 88%),
    linear-gradient(180deg, #100e0e46, transparent 25%, transparent 57%, #0d0b0cb3),
    linear-gradient(90deg, #151413 92.7%, #272422 93.5%, #34302e 98.5%, #292624);
}
.specialty-floor {
  clip-path: polygon(4.48% 100%, 4.48% 96.8%, 10.4% 90.4%, var(--rear-left) var(--rear-base), var(--rear-right) var(--rear-base), 100% 100%);
  background:
    linear-gradient(180deg, transparent 90.7%, #ad99851a 90.8%, transparent 90.92%, transparent 93.7%, #ad99851a 93.82%, transparent 93.95%, transparent 97.45%, #ad99851e 97.57%, transparent 97.7%),
    var(--floor-rays),
    radial-gradient(ellipse 8% 6% at 7.9% 94.7%, #de8f4d47, transparent 88%),
    radial-gradient(ellipse 44% 14% at 53% 99%, #ab948511, transparent 82%),
    linear-gradient(180deg, #121110 90.6%, #1d1a19 91.3%, #24211f 93.1%, #242220);
}
.specialty-door { direction: ltr; }
.specialty-passage {
  position: absolute; inset: 20.2% 86.1% 4% 4.5%; overflow: hidden;
  clip-path: polygon(0 0, 100% 12%, 100% 90%, 0 100%);
  background: radial-gradient(ellipse 81% 25% at 14% 18%, #d38b4c38, transparent 91%),
    radial-gradient(ellipse 78% 48% at 21% 63%, #85563025, transparent 86%),
    linear-gradient(90deg, #2b2620, #29231e 48%, #141211 50%, #211d1a);
  box-shadow: inset 0 25px 25px #090707d4, inset -12px 0 27px #0e0c0b9c;
}
.specialty-passage::before {
  content: ""; position: absolute; top: 13.5%; left: -6%; width: 68%; height: 2px;
  transform: skewY(26deg); background: #ffd2a4;
  box-shadow: 0 0 8px #eb9c5a, 0 6px 14px 5px #dc92564f;
}
.specialty-passage-floor {
  clip-path: polygon(4.48% 74%, 9.4% 69.8%, 13.4% 79%, 13.4% 90.6%, 4.48% 97%);
  background:
    linear-gradient(180deg, transparent 74%, #c2a17c22 74.17%, transparent 74.3%, transparent 78.8%, #c2a17c24 78.95%, transparent 79.05%, transparent 84.25%, #c2a17c29 84.4%, transparent 84.53%, transparent 90.35%, #c2a17c2e 90.5%, transparent 90.65%),
    var(--floor-rays),
    radial-gradient(ellipse 7% 12% at 6.2% 90%, #bc7a4966, transparent 89%),
    radial-gradient(ellipse 8% 8% at 11% 72%, #090807a9, transparent 83%),
    linear-gradient(180deg, #231e1a 68%, #382c21 81%, #63442e 96%);
}
.specialty-threshold::before, .specialty-threshold::after {
  content: ""; position: absolute; inset: 0;
}
.specialty-threshold::before {
  clip-path: polygon(4.48% 83%, 10.2% 85%, 16% 96%, 16% 100%, 4.48% 100%);
  background: radial-gradient(ellipse 5.9% 6.8% at 7.9% 94.4%, #bd753e55, #a65e362d 42%, transparent 90%),
    radial-gradient(ellipse 4.8% 2.6% at 7.25% 94%, #e7a46547, transparent 90%);
  mix-blend-mode: screen;
}
.specialty-threshold::after {
  clip-path: polygon(4.5% 96.6%, 10.4% 90.2%, 10.5% 90.38%, 4.5% 96.83%);
  background: linear-gradient(90deg, #d58950 4.5%, #ffd1a0 8.9%, #e7a570 10.5%);
}
.specialty-door .brand-symbol {
  position: absolute; z-index: 1; top: 37%; left: 12%; width: 34%; height: auto;
  color: #efa467; filter: drop-shadow(0 0 4px #f8aa6c82);
}
.specialty-door .brand-symbol + span { display: none; }
.specialty-door-head {
  clip-path: polygon(4.3% 19.5%, 14.95% 27%, 14.95% 30%, 4.3% 23.3%);
  background: radial-gradient(ellipse 12% 8% at 9% 21%, #b49b8628, transparent 86%),
    linear-gradient(172deg, #3a3531 18%, #443b34 23.6%, #171412 24.9%, #100d0b 26.5%, #211b17 28%);
}
.specialty-door-jamb {
  clip-path: polygon(10.1% 24.5%, 14.95% 28.1%, 14.95% 90.6%, 10.1% 91.2%);
  background: radial-gradient(ellipse 2.4% 14.5% at 13.4% 54%, #eab48168, transparent 93%),
    radial-gradient(ellipse 3.7% 25% at 13.5% 55%, #c7844f3b, transparent 92%),
    linear-gradient(180deg, #090807b0 27%, transparent 44%, transparent 74%, #0b0908ae 91%),
    linear-gradient(90deg, #211d1b 10.1%, #39312b 10.35%, #2f2823 12.1%, #141211 13%, #362d27 13.35%, #26221f 14.2%, #4c4037 14.4%, #211d19 14.7%);
}
.specialty-door-jamb::after {
  content: ""; position: absolute; top: 45%; bottom: 37.5%; left: 13.4%; width: clamp(2px, .36vh, 4px);
  background: #ffe0b8; border-radius: 1px;
  box-shadow: 0 0 4px 1px #ffc485, 0 0 10px 2px #e98f4dd4, 1px 0 23px 5px #c17a485d;
}
[data-page="search"] .page-header {
  display: block; padding: clamp(66px, 12vh, 116px) var(--search-right) 4px var(--search-left);
}
[data-page="search"] .page-brand { display: none; }
[data-page="search"] .page-heading h1 {
  font-size: clamp(25px, 3.15vw, 48px); text-shadow: 0 2px #151313, 0 -1px #fff3;
}
[data-page="search"] .page-scroll { margin: 0; padding: clamp(12px, 3vh, 28px) var(--search-right) 24px var(--search-left); }
[data-page="search"] .page-return { padding-left: var(--search-left); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
[data-page="search"] .page-back { min-height: 42px; background: #26211e; border-color: #685647; }
.specialty-wall { position: relative; }
.specialty-wall button, .specialty-wall select, .specialty-wall summary { cursor: pointer; }
.specialty-wall :is(button, select, summary, a):focus-visible { outline: 2px solid var(--search-amber); outline-offset: 2px; }
.specialty-slot {
  display: flex; min-height: clamp(56px, 9.5vh, 103px); align-items: stretch; overflow: hidden;
  background: linear-gradient(#171513, #22201e 18%, #292623); border: 1px solid #110f0e; border-radius: 3px;
  box-shadow: inset 0 5px 11px #000c, inset 0 2px #dd9b58a1, inset 2px -2px #a9784fa5,
    inset -2px 0 #715039b5, 0 2px #b09a834d, 0 -3px #171514, 0 8px 18px -11px #090706a8;
}
.specialty-slot:focus-within { outline: 1px solid var(--search-amber); }
.specialty-slot input {
  width: 100%; min-width: 0; padding: 8px clamp(12px, 2vw, 32px);
  color: inherit; font-size: clamp(16px, 2vw, 27px); background: transparent; border: 0; outline: 0;
}
.specialty-slot input:placeholder-shown { text-align: right; }
.specialty-slot input::placeholder { color: #afa69c; opacity: 1; }
.specialty-slot button {
  display: grid; place-items: center; min-width: 52px; padding-inline: clamp(12px, 2vw, 27px);
  border: 0; background: transparent; color: var(--search-amber);
}
.specialty-slot button:focus-visible { outline-offset: -5px; }
.specialty-rail {
  position: relative; display: flex; flex-wrap: wrap; align-items: stretch; min-height: 52px;
  margin-block: clamp(17px, 3.6vh, 33px) 0; background: #221f1eb3;
  border-block: 1px solid var(--search-seam); box-shadow: inset 0 3px 8px #12100f74, 0 1px #ffffff14;
}
.specialty-rail::before, .specialty-rail::after {
  content: ""; position: absolute; inset-inline: 0; height: 1px; background: #151414;
  box-shadow: 0 1px #ffffff16, 2vw 0 #151414, -2vw 0 #151414; pointer-events: none;
}
.specialty-rail::before { inset-block-start: -1px; }
.specialty-rail::after { inset-block-end: -1px; }
.specialty-rail button, .specialty-rail-label, .specialty-select, .specialty-phase > span, .specialty-count {
  display: inline-flex; align-items: center; min-height: 50px; padding-inline: clamp(8px, 1.4vw, 24px);
  color: #e9dfd3; font-size: clamp(13px, 1.38vw, 20px);
}
.specialty-rail button {
  justify-content: center; background: linear-gradient(#22201f, #2b2826 60%, #262322); border: 0;
  border-inline-start: 1px solid var(--search-seam); box-shadow: inset -1px -1px #ffffff13;
}
.specialty-rail button[aria-pressed="true"], .specialty-rail button:hover {
  color: #fff1df; box-shadow: inset 0 -2px var(--search-amber); background: #382c25;
}
.specialty-wall[data-has-query="false"] .specialty-rail button { flex: 1 1 0; }
.specialty-wall[data-has-query="false"] .specialty-rail-label { padding-inline: clamp(12px, 2.6vw, 40px); }
.specialty-filter-controls { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: stretch; min-width: 0; }
.specialty-select { justify-content: space-between; gap: 8px; border-inline-end: 1px solid var(--search-seam); }
.specialty-select > span { color: #c9baab; }
.specialty-select select {
  max-width: min(165px, 34vw); min-height: 36px; color: #f0e7db; color-scheme: dark;
  background: #211f1e; border: 1px solid #6f5745; border-radius: 3px; font: inherit; padding-inline: .35em;
}
.specialty-select[data-active="true"] select { color: #f4d5b5; box-shadow: inset 0 -1px #b4845d; }
.specialty-phase { display: flex; flex: 1 1 auto; }
.specialty-phase button { flex: 1 1 0; white-space: nowrap; }
.specialty-count { margin-inline-start: auto; border-inline-start: 1px solid var(--search-seam); color: #d5c9bc; white-space: nowrap; }
.specialty-filter-note { margin: 0; padding: 7px 12px 0; color: #f1c498; font-size: 13px; }
.specialty-results { padding-block: clamp(19px, 3.4vh, 34px); }
.specialty-results:has(.specialty-cards)::after {
  content: ""; display: block; height: 2px; margin-top: clamp(10px, 1.55vh, 17px);
  background: linear-gradient(90deg, #b76a3000, #e99c57 12%, #e99c57 88%, #b76a3000);
  box-shadow: 0 5px #151414, 0 6px #fff1db1c, 0 -2px 12px 2px #e9955559;
}
.specialty-cards { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.5vw, 22px); padding: 8px; }
.specialty-cards::before {
  content: ""; position: absolute; inset: 0; border: 1px solid #181615;
  border-block-start-color: #171514; border-block-end-color: #77625467; border-radius: 5px;
  box-shadow: inset 0 5px 9px -5px #0908079c, 0 1px #a28b7326;
  pointer-events: none;
}
.specialty-card {
  position: relative; display: grid; align-items: start; gap: clamp(10px, 1.65vw, 24px);
  padding: clamp(13px, 1.65vw, 25px); border: 1px solid #574d45; border-radius: 8px;
  background: radial-gradient(ellipse at 74% 0, #34312e, transparent 76%), linear-gradient(145deg, #2b2927, #22201f);
  box-shadow: inset 0 1px #fff1dc26, 0 2px 2px #100e0d, 0 8px 17px -4px #0b0908bc;
}
.specialty-card::before {
  content: ""; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none;
  background: var(--graphite-grain) 0 0 / 155px 155px;
  mix-blend-mode: soft-light; opacity: .19;
}
.specialty-card:has(figure) { grid-template-columns: minmax(0, 1fr) minmax(72px, 40%); }
.specialty-card-copy { display: flex; min-width: 0; align-self: stretch; flex-direction: column; }
.specialty-card h3 { margin: 0; overflow-wrap: anywhere; font-size: clamp(19px, 2.4vw, 34px); font-weight: 600; line-height: 1.25; }
.specialty-card h3 small { font-size: .65em; font-weight: 400; }
.specialty-card p { margin-block: 5px; line-height: 1.5; }
.specialty-maker, .specialty-spec { color: #ded3c6; font-size: clamp(13px, 1.42vw, 21px); }
.specialty-card .specialty-output { margin-block-start: 9px; color: #f4e6d8; font-size: clamp(14px, 1.52vw, 22px); font-weight: 400; }
.specialty-card figure { margin: 0; text-align: center; }
.specialty-photo {
  position: relative; aspect-ratio: 1 / 1.12; overflow: hidden; isolation: isolate;
  border: 1px solid #c69a75; border-block-start-color: #8c7665; border-block-end-color: #e5a76c;
  border-radius: clamp(8px, .7vw, 13px);
  background: radial-gradient(ellipse at 43% 49%, #90989f 12%, #6e757d 48%, #30353a 100%);
  box-shadow: 0 0 0 1px #100e0c, 0 0 0 3px #27231f, 0 4px 12px #000b;
}
.specialty-photo img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.specialty-photo[data-model-photo] img { object-fit: contain; }
.specialty-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 12px #100e0e88, inset 0 -1px #f4aa6988;
}
.specialty-card figcaption { margin-top: 6px; color: #d7cbbc; font-size: clamp(11px, .94vw, 13px); }
.specialty-card summary, .specialty-card a { color: #f4ba84; text-underline-offset: 4px; font-size: clamp(13px, 1.13vw, 16px); }
.specialty-card .specialty-product-link { width: fit-content; min-height: 44px; margin-block-start: 10px; }
.specialty-card summary { width: fit-content; min-height: 44px; display: flex; align-items: center; gap: 7px; list-style: none; }
.specialty-card summary::-webkit-details-marker { display: none; }
.specialty-card details[open] summary .ui-icon { transform: rotate(-90deg); }
.specialty-card details { margin-block-start: auto; }
.specialty-card details[open] { margin-block-start: 5px; }
.specialty-card-details, .specialty-links { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 13px; }
.specialty-card-details p { width: 100%; }
.specialty-destination { justify-items: start; max-width: 495px; }
.specialty-empty p { margin: 0 0 12px; color: #f0e7db; }
.specialty-empty button, .specialty-more {
  min-height: 40px; padding-inline: 12px; margin: 0 0 6px 8px; border: 1px solid #7a6555;
  border-radius: 4px; background: #2c2826; color: #f4ba84;
}
.specialty-more { margin-block-start: 16px; }
.specialty-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 1050px) and (min-height: 760px) {
  [data-page="search"] .page-header { padding-top: 12.5vh; }
  [data-page="search"] .page-heading h1 { font-size: clamp(32px, 3.3vw, 54px); }
  .specialty-slot input { font-size: clamp(22px, 2vw, 31px); }
  .specialty-rail { margin-top: 4.1vh; }
  .specialty-rail button, .specialty-rail-label, .specialty-select, .specialty-phase > span, .specialty-count {
    min-height: 6.5vh; font-size: clamp(17px, 1.5vw, 24px);
  }
  .specialty-results { padding-top: 5.6vh; }
  .specialty-card:has(figure) .specialty-card-copy { padding-inline-start: clamp(17px, 2vw, 38px); }
  .specialty-maker, .specialty-spec { font-size: clamp(17px, 1.6vw, 24px); }
  .specialty-card .specialty-output { font-size: clamp(18px, 1.7vw, 26px); }
  .specialty-card summary { font-size: clamp(15px, 1.32vw, 20px); }
}
@media (max-width: 850px) {
  .department-page[data-page="search"] {
    --search-width: 100vw; --search-left: max(42px, 13vw); --search-right: max(12px, 5vw);
  }
  .specialty-door { left: -2.5%; right: 10%; }
  .specialty-back-wall { left: 11%; right: 4%; }
  .specialty-side--right { opacity: .65; }
}
@media (min-width: 851px) and (min-aspect-ratio: 2/1) {
  .specialty-volume { mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
}
@media (max-width: 620px) {
  [data-page="search"] .page-header { padding-top: clamp(59px, 10.5vh, 94px); }
  .specialty-slot { min-height: 58px; }
  .specialty-slot .ui-icon { width: 25px; height: 25px; }
  .specialty-cards { grid-template-columns: minmax(0, 1fr); padding: 5px; }
  .specialty-card:has(figure) { grid-template-columns: minmax(0, 1fr) minmax(66px, 36%); }
  .specialty-rail { margin-top: 17px; }
  .specialty-rail:has(.specialty-filter-controls) { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .specialty-filter-controls { display: contents; }
  .specialty-filter-controls .specialty-select { grid-column: 1 / -1; }
  .specialty-filter-controls .specialty-select:has([name="capacityVA"]) { grid-area: 1 / 1; }
  .specialty-filter-controls .specialty-phase { grid-area: 2 / 1 / 3 / -1; border-block-start: 1px solid var(--search-seam); }
  .specialty-select select { max-width: min(144px, 37vw); }
  .specialty-rail button, .specialty-rail-label, .specialty-select, .specialty-phase > span, .specialty-count { padding-inline: 7px; }
  .specialty-count { grid-area: 1 / 2; justify-content: flex-end; min-height: 44px; }
  .specialty-wall[data-has-query="false"] .specialty-rail-label { width: 100%; min-height: 32px; border-block-end: 1px solid var(--search-seam); }
  .specialty-wall[data-has-query="false"] .specialty-rail button { min-width: max-content; }
}
.catalogue-nav { display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 20px); margin-bottom: clamp(24px, 4vh, 42px); }
.catalogue-tab { min-width: min(28%, 144px); min-height: 48px; }
.catalogue-tab[aria-pressed="true"] { border-color: #a78567; color: #fff0e0; }
.catalogue-studio-entry.tactile {
  display: flex; width: min(100%, 820px); min-height: 62px; margin: 0 auto 14px;
  justify-content: space-between; gap: 12px; padding: 10px 16px; border-color: #967350;
  color: #f5e7d7; text-align: start; text-decoration: none;
}
.catalogue-studio-entry > span { display: grid; gap: 3px; }
.catalogue-studio-entry strong { font-size: 15px; font-weight: 600; }
.catalogue-studio-entry small { color: #cfbaaa; font-size: 12px; }
.catalogue-plan { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 24px); width: min(100%, 820px); margin-inline: auto; padding: clamp(12px, 1.7vw, 25px); border: 1px solid #615852; border-radius: 12px; background: linear-gradient(145deg, #232225, #19181b); box-shadow: inset 0 0 18px #0008, 0 12px 32px #0004; }
.catalogue-plan::before { content: ""; position: absolute; inset: 5px; border: 1px solid #8e786140; border-radius: 8px; pointer-events: none; }
.catalogue-room.tactile { display: grid; justify-items: center; align-content: center; gap: 8px; min-height: clamp(130px, 21vh, 192px); padding: 16px 7px; border-color: #61554e; border-radius: 5px; background: linear-gradient(150deg, #3b3737, #29282c 65%, #252427); box-shadow: inset 0 1px #ebe1da19, inset 0 0 0 4px #b9aaa00c, 0 4px #110f10, 0 8px 14px #0004; }
.catalogue-room::before { content: ""; position: absolute; inset: 5px; border: 1px solid #c1a48628; border-radius: 2px; pointer-events: none; }
.catalogue-room > svg { width: clamp(50px, 7.4vw, 96px); height: clamp(41px, 6.2vw, 81px); color: #d1aa85; filter: drop-shadow(0 1px 0 #140f0e); }
.catalogue-room.tactile:is(:active, [data-pressed="true"]) { transform: translateY(4px); border-color: #a4744d; background: linear-gradient(145deg, #252226, #302a29); box-shadow: inset 0 4px 10px #0007, 0 1px #110f10; }
.catalogue-room-label { display: grid; justify-items: center; gap: 4px; text-align: center; }
.catalogue-room-label strong, .catalogue-company strong { font-weight: 400; color: #f3e6d8; }
.catalogue-room-label strong { font-size: clamp(13px, 1.55vw, 21px); }
.catalogue-room-label small, .catalogue-company small, .catalogue-total { color: #c4b1a0; font-size: 12px; }
.catalogue-total { margin: 18px 0 4px; text-align: center; }
.catalogue-companies { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 216px), 1fr)); gap: 14px; width: min(100%, 1020px); margin-inline: auto; }
.catalogue-company { min-height: 78px; justify-content: space-between; padding-inline: 16px; text-align: start; }
.catalogue-company > span { display: grid; gap: 4px; }
.catalogue-company strong { overflow-wrap: anywhere; }
.catalogue-company > svg { color: #c6a98c; }
.department-page[data-directory-view="companies"] { --button-light: 255, 255, 255; color: #e8e9eb; }
.department-page[data-directory-view="companies"] .brand-symbol { color: #ff9740; filter: none; }
.department-page[data-directory-view="companies"] :is(.page-heading h1, .catalogue-tab, .catalogue-scope h2) { color: #f1f2f3; }
.department-page[data-directory-view="companies"] .tactile { border-color: #64666d; color: #e8e9eb; }
.department-page[data-directory-view="companies"] .tactile::after { background: #f4f5f6; box-shadow: 0 0 5px #ffffff45; }
.department-page[data-directory-view="companies"] .tactile:focus-visible { outline-color: #fff; }
.department-page[data-company-hall] { background: #101010; }
.department-page[data-company-hall] > .room-shell { display: none; }
.department-page[data-company-hall] .page-header {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%);
}
.department-page[data-company-hall] .page-scroll { margin: 0; padding: 0; overflow: hidden; }
.department-page[data-company-hall] .catalogue-nav { position: absolute; z-index: 5; bottom: max(18px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; gap: 40px; margin: 0; }
.department-page[data-company-hall] .catalogue-tab { flex: none; min-height: 40px; min-width: 0; padding: 5px 0 12px; border: 0; border-radius: 0; font-size: 14px; font-weight: 400; background: none; box-shadow: none; }
.department-page[data-company-hall] .catalogue-tab::after { inset: auto 0 0; height: 1px; background: #eee; box-shadow: none; }
.department-page[data-company-hall] .catalogue-tab[aria-pressed="true"]::after { opacity: 1; }
.department-page[data-company-hall] .page-return { position: absolute; z-index: 5; inset: auto 0 0; justify-content: flex-end; padding: 0 3vw max(22px, env(safe-area-inset-bottom)); pointer-events: none; }
.department-page[data-company-hall] .page-back { min-height: 40px; padding: 8px 12px; border: 1px solid #ffffff20; border-radius: 4px; font-size: 12px; font-weight: 400; background: #151515c0; box-shadow: none; pointer-events: auto; }
.department-page[data-company-hall] .comparison-dock { position: absolute; z-index: 5; inset: auto 3vw 68px; margin: 0; }
.company-hall { position: absolute; inset: 0; }
.company-hall-viewport { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; }
.company-hall-scene { position: relative; width: min(100%, 177.282378dvh); aspect-ratio: 1670 / 942; isolation: isolate; container-type: inline-size; direction: ltr; }
.company-hall-stage { position: absolute; inset: 0; }
.company-hall-canvas { position: absolute; inset: 0; }
.company-hall-canvas canvas { display: block; width: 100%; height: 100%; }
.company-hall-canvas:not([data-painted]) canvas { opacity: 0; }
.company-hall-canvas canvas { transition: opacity 140ms ease-out; }
.company-hall-brand { position: absolute; top: 3.2%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.66cqw; color: #f3f2f1; font: 500 2.3cqw/1 Arial,sans-serif; letter-spacing: .59cqw; pointer-events: none; }
.company-hall-brand .brand-symbol { display: block; width: 3.6cqw; height: 5.8cqw; }
.company-hall-brand .brand-symbol svg { display: block; width: 100%; height: 100%; }
.company-hall-sr, .company-hall-scene:not([data-fallback]) :where(.company-hall-plot, .company-hall-group h2) { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; pointer-events: none; }
.company-hall-scene:not([data-fallback]) .company-hall-plot img { display: none; }
.company-hall-scene:not([data-fallback]) .company-hall-plot[data-list-only] { display: none; }
.company-hall-scene[data-fallback] { width: min(100%, 760px); padding: 100px 28px 150px; aspect-ratio: auto; direction: rtl; }
.company-hall-scene[data-fallback] .company-hall-canvas { display: none; }
.company-hall-scene[data-fallback] .company-hall-stage { pointer-events: none; }
.company-hall-scene[data-fallback] .company-hall-brand { top: 18px; }
.company-hall-scene[data-fallback] .company-hall-plot { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 4px; padding: 7px 10px; background: #222; color: white; border: 1px solid #49413b; cursor: pointer; }
.company-hall-scene[data-fallback] .company-hall-plot:disabled { opacity: .35; cursor: default; }
.company-hall-scene[data-fallback] .company-hall-plot[aria-pressed="true"] { border-color: #ff983c; }
.company-hall-scene[data-fallback] .company-hall-plot img { width: 57px; height: 26px; object-fit: contain; }
.company-hall-renderer-status { margin: 0 0 22px; font-size: 14px; }
.company-hall-group h2 { font-size: 15px; margin-block: 13px 4px; }
.company-hall-viewport:has([data-fallback]) { display: block; overflow: auto; }
.company-hall-selection { display: inline-flex; align-items: center; gap: 10px; direction: rtl; font-size: 13px; }
.company-hall-facts { display: grid; text-align: center; line-height: 1.28; }
.company-hall-selection[data-anchored] { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.company-hall-selection[data-anchored]:not([data-open]) { visibility: hidden; }
.company-hall-selection[data-anchored] > * { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; }
.company-hall-selection[data-anchored] .company-hall-facts {
  color: #ffead3; font-size: clamp(13px, 1.24cqw, 21px); font-weight: 600; text-shadow: 0 1px 3px #211204;
}
.company-hall-product-link { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 3px 12px; font: inherit; }
.company-hall-selection[data-anchored] .company-hall-product-link {
  min-height: 25px; padding: 1px 12px; --eelon-action-radius: 999px;
  font-size: clamp(12px, 1.02cqw, 17px); line-height: 1.2; pointer-events: auto;
}
.company-hall-overview {
  position: absolute; z-index: 5; top: max(16px, env(safe-area-inset-top)); right: 3vw;
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding-inline: 12px;
  border: 1px solid #ad835d; border-radius: 6px; background: #201a16; color: #ffe7cb;
  direction: rtl; font: inherit; font-size: 13px; cursor: pointer;
}
.company-hall-overview:is(:hover, :focus-visible) { border-color: #f7bf85; }
@media (pointer: coarse) {
  .company-hall-selection[data-anchored] .company-hall-product-link::before { content: ""; position: absolute; inset: -10px 0; }
}
.company-hall-tools { position: absolute; z-index: 5; bottom: 24px; left: 3vw; width: min(22%,240px); direction: rtl; }
.company-hall-search { display: flex; align-items: center; gap: 10px; padding-inline: 9px; border: 1px solid #ffffff32; border-radius: 5px; background: #1c1a18; color: #b3aaa0; }
.company-hall-search input { min-width: 0; width: 100%; min-height: 35px; border: 0; padding: 0; color: #ddd; background: transparent; font: inherit; font-size: 12px; color-scheme: dark; }
.company-hall-search input::placeholder { color: #aaa; }
.company-hall-search:focus-within { border-color: #ddd; }
.company-hall-results { position: absolute; bottom: calc(100% + 5px); left: 0; width: max(100%, 195px); max-height: min(43vh, 310px); overflow: auto; padding: 8px; border: 1px solid #655545; border-radius: 5px; background: #221f1c; color: #eee6dc; font-size: 12px; }
.company-hall-results ul { display: grid; gap: 3px; padding: 0; margin: 0; list-style: none; }
.company-hall-results button { width: 100%; min-height: 34px; padding: 4px 8px; border: 1px solid transparent; border-radius: 4px; background: #302b25; color: inherit; text-align: start; font: inherit; cursor: pointer; }
.company-hall-results button:is(:hover, :focus-visible) { border-color: #d1ae8a; }
.company-hall-search-status { margin: 0 0 6px; color: #d2c5b7; }
.company-hall-search-status:empty { display: none; }
.company-hall-directory { width: min(100%,1020px); margin-inline: auto; }
.company-hall-directory .catalogue-company { display: grid; grid-template-columns: auto minmax(0,1fr) auto; }
.company-hall-logo { width: 76px; height: 38px; padding: 5px; border-radius: 2px; object-fit: contain; background: #fff; }
@media (max-width: 760px) {
  .company-hall { bottom: max(116px, calc(103px + env(safe-area-inset-bottom))); }
  .company-hall-viewport { display: block; overflow: auto; overscroll-behavior: contain; padding-top: 66px; scrollbar-width: thin; }
  .company-hall-scene, .company-hall-scene[data-fallback] { width: 100%; padding: 0 0 18px; aspect-ratio: auto; }
  .company-hall-stage { position: relative; aspect-ratio: 1670 / 942; }
  .company-hall-scene[data-fallback] .company-hall-stage { display: none; }
  .company-hall-renderer-status { margin: 12px 16px 0; }
  .company-hall-tools { inset: 12px 16px auto; width: auto; }
  .company-hall-search input { min-height: 43px; font-size: 14px; }
  .company-hall-results { inset: calc(100% + 5px) 0 auto; width: auto; }
  .company-hall-results button { min-height: 44px; }
  .company-hall-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 16px 16px; }
  .company-hall-scene:not([data-fallback]) .company-hall-group h2, .company-hall-group h2 {
    position: static; grid-column: 1 / -1; width: auto; height: auto; margin: 7px 0 2px; padding-bottom: 7px;
    clip-path: none; white-space: normal; color: #e3d4c5; font-size: 13px; border-bottom: 1px solid #5c4f44;
  }
  .company-hall-scene:not([data-fallback]) .company-hall-plot, .company-hall-scene[data-fallback] .company-hall-plot {
    position: static; display: flex; align-items: center; gap: 7px; width: 100%; height: auto; min-height: 44px;
    margin: 0; padding: 7px; clip-path: none; white-space: normal; pointer-events: auto; text-align: start;
    border: 1px solid #4d443c; border-radius: 5px; background: #23201e; color: #eee7df; cursor: pointer; font-size: 12px;
  }
  .company-hall-scene .company-hall-plot bdi { min-width: 0; overflow-wrap: anywhere; }
  .company-hall-scene:not([data-fallback]) .company-hall-plot img, .company-hall-scene[data-fallback] .company-hall-plot img {
    display: block; flex: 0 0 29px; width: 29px; height: 19px; object-fit: contain;
  }
  .company-hall-scene:not([data-fallback]) .company-hall-plot[aria-pressed="true"] { border-color: #d09765; background: #34271e; }
  .company-hall-scene:not([data-fallback]) .company-hall-plot:disabled { opacity: .37; cursor: default; }
  .company-hall-selection, .company-hall-selection[data-anchored] {
    position: static; visibility: visible; grid-column: 1 / -1; display: flex; justify-content: space-between; padding: 8px;
    border: 1px solid #805d43; border-radius: 5px; background: #2b211c;
  }
  .company-hall-selection[data-anchored]:not([data-open]) { visibility: visible; }
  .company-hall-selection[data-anchored] > * { position: static; transform: none; white-space: normal; }
  .company-hall-selection .company-hall-facts { min-width: 0; text-align: start; font-size: 11px; }
  .company-hall-selection[data-anchored] .company-hall-product-link { min-height: 44px; flex: none; }
  .company-hall-overview { inset: auto 16px 12px auto; }
  .department-page[data-company-hall] .catalogue-nav { bottom: max(65px, calc(52px + env(safe-area-inset-bottom))); gap: 28px; }
  .department-page[data-company-hall] .page-return { padding-inline: 16px; }
}
@media (max-width: 560px) {
 .department-page[data-company-hall] .catalogue-tab { min-height: 44px; }
}

.catalogue-scope { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.catalogue-scope h2 { margin: 0; color: #eee2d4; font-size: clamp(17px, 2vw, 25px); overflow-wrap: anywhere; }
.catalogue-scope button { flex: none; }
.catalogue-layout { display: grid; grid-template-areas: "filters tools" "filters results"; grid-template-columns: 230px minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: 28px; }
.catalogue-layout[data-has-filters="false"] { grid-template-areas: "tools" "results"; grid-template-columns: minmax(0, 1fr); }
.catalogue-tools { grid-area: tools; display: flex; align-items: center; gap: 12px; min-width: 0; }
.catalogue-filter-toggle { display: none; }
.catalogue-filters { grid-area: filters; min-width: 0; border-inline-end: 1px solid #ffffff0d; padding-inline-end: 26px; }
.catalogue-filters h2 { margin-bottom: 0; }
.catalogue-filters select { min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #474d58; border-radius: 6px; background: #20242c; color: #e0e2e6; font: inherit; color-scheme: dark; }
.catalogue-filters select:focus-visible { outline: 1px solid #d3b08b; outline-offset: 3px; }
.catalogue-technical { margin: 16px 0; font-size: 13px; color: #d2c3b2; }
.catalogue-technical summary { cursor: pointer; padding-block: 7px; }
.catalogue-filters > .tactile { margin-top: 10px; font-size: 12px; }
.catalogue-filters fieldset { min-width: 0; padding: 0 0 14px; margin: 18px 0 0; border: 0; border-bottom: 1px solid #ffffff12; }
.catalogue-filters legend { padding: 0; margin-bottom: 7px; font-size: 14px; color: #dbcec1; }
.check-row { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 13px; color: #b9bec8; cursor: pointer; }
.department-page input[type="checkbox"] { appearance: none; position: relative; flex: none; width: 18px; height: 18px; margin: 0; border: 1px solid #606570; border-radius: 4px; background: #1b1f26; box-shadow: inset 0 2px 4px #0006, 0 1px 0 #ffffff07; cursor: pointer; }
.department-page input[type="checkbox"]:checked { border-color: #8e775e; }
.department-page input[type="checkbox"]:checked::before { content: ""; position: absolute; width: 8px; height: 4px; border: solid #ffddb1; border-width: 0 0 2px 2px; transform: rotate(-45deg); left: 4px; top: 4px; filter: drop-shadow(0 0 2px #ff9b3d); }
.department-page input:focus-visible, .department-page summary:focus-visible { outline: 1px solid #d3b08b; outline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; color: #c4c8d0; font-size: 13px; line-height: 1.8; }
.field input, .catalogue-search input { min-height: 44px; width: 100%; padding: 10px 12px; border: 1px solid #474d58; border-radius: 6px; background: linear-gradient(#1b1f26, #22262e); color: #e0e2e6; box-shadow: inset 0 2px 6px #0004, 0 1px 0 #ffffff04; font-family: inherit; font-size: 14px; }
.field input[inputmode="decimal"] { direction: ltr; text-align: left; }
.field input[aria-invalid="true"] { border-color: #b47e58; box-shadow: inset 0 2px 6px #0004, 0 0 5px #f5963824; }
.catalogue-main { grid-area: results; min-width: 0; }
.catalogue-search { display: flex; align-items: center; gap: 12px; color: #b3b8c2; }
.catalogue-tools .catalogue-search { flex: 1; min-width: 0; }
.catalogue-tools .catalogue-search input { min-width: 0; }
.catalogue-search input { min-height: 50px; color-scheme: dark; }
.catalogue-search input[dir="auto"]:placeholder-shown { text-align: right; }
.catalogue-layout[data-global-search] { grid-template-areas: "tools tools" "filters results"; }
.catalogue-layout[data-global-search] .catalogue-tools {
  width: min(100%, 680px);
  margin: clamp(12px, 3vh, 32px) auto 0;
}
.catalogue-layout[data-global-search] .catalogue-search input { min-height: 56px; border-color: #796654; }
.catalogue-layout[data-global-search] .catalogue-filter-toggle { display: inline-flex; }
.catalogue-layout[data-global-search][data-filters-open="false"] {
  grid-template-areas: "tools" "results";
  grid-template-columns: minmax(0, 1fr);
}
.catalogue-layout[data-global-search][data-filters-open="false"] .catalogue-filters { display: none; }
.catalogue-layout[data-global-search][data-filters-open="false"] .catalogue-main { width: min(100%, 960px); margin-inline: auto; }
.catalogue-layout[data-single-result][data-filters-open="false"] .catalogue-main { max-width: 680px; }
.catalogue-layout[data-single-result] .product-grid { grid-template-columns: minmax(0, 1fr); }
.catalogue-search-examples { display: none; }
.catalogue-layout[data-empty-search] .catalogue-search-examples {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  max-width: 680px; margin: 16px auto 0; color: #c3b8ac; font-size: 12px;
}
.catalogue-search-examples button { color: #e2c7ab; }
.catalogue-layout[data-empty-search] .catalogue-caption { margin: 0; }
.catalogue-caption { display: flex; margin: 16px 0; color: #b9b4b0; font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-card { position: relative; min-width: 0; padding: 16px 18px; border: 1px solid #625b55; border-radius: 9px; background: linear-gradient(145deg, #2e2c2dba, #222123e3); box-shadow: inset 0 1px 0 #ffffff05, 0 8px 18px #0002; }
.product-card[data-selected="true"] { border-color: #826145; box-shadow: inset 0 -1px 0 #ffc17c38, 0 1px 8px #fc8c2c12; }
.product-card-top, .product-card-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px 14px; }
.product-card-top h3 { margin: 0; font-size: 18px; font-weight: 500; color: #f1e7dc; overflow-wrap: anywhere; }
.product-card-top h3 small { color: #e1b992; font-size: .74em; }
.product-card-top > span { font-size: 11px; color: #d9bc9f; }
.product-card-meta { margin: 9px 0 12px; font-size: 13px; color: #c2c1c4; }
.product-card-meta > span { display: flex; flex-wrap: wrap; gap: 8px; }
.product-actions { display: flex; gap: 10px; justify-content: space-between; border-top: 1px solid #ffffff0d; padding-top: 12px; }
.catalogue-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-block: 20px 8px; font-size: 12px; color: #d2c4b5; }
.selection-lamp { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; border: 1px solid #656a74; border-radius: 3px; color: transparent; background: #181c23; }
[aria-pressed="true"] .selection-lamp { color: #ffdfb7; border-color: #987956; filter: drop-shadow(0 0 2px #f5903244); }
.comparison-dock { position: sticky; z-index: 6; bottom: 0; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 20px; border: 1px solid #5b4e42; border-radius: 8px; background: #1d222bf5; box-shadow: inset 0 1px 0 #ffffff06, 0 0 10px #ff9a3010, 0 15px 40px #0005; }
.comparison-selection { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.comparison-selection strong { font-size: 13px; font-weight: 400; }
.comparison-chip { min-height: 34px; font-size: 11px; padding: 6px 10px; }
.empty-state { grid-column: 1/-1; display: grid; place-items: center; min-height: 290px; gap: 20px; align-content: center; color: #aab1bd; font-size: 14px; text-align: center; }
.spec-dialog { width: min(630px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 38px; margin: auto; background: #20242c; color: #dde0e5; border: 1px solid #55545a; border-radius: 9px; box-shadow: inset 0 1px 0 #ffffff08, 0 20px 100px #0008; }
.spec-dialog[data-comparison="true"] { width: min(1100px, calc(100% - 32px)); }
.spec-dialog::backdrop { background: #0b0e16c9; backdrop-filter: blur(6px); }
.spec-dialog h2 { margin: 0 0 28px; font-weight: 400; font-size: 25px; }
.dialog-close { position: absolute; top: 22px; left: 22px; }
.spec-list { margin: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid #ffffff0b; font-size: 14px; }
.spec-list dt { flex: none; }
.spec-list dd { margin: 0; overflow-wrap: anywhere; }
.catalogue-source { margin: 20px 0 0; font-size: 12px; line-height: 1.85; color: #c2c3c8; overflow-wrap: anywhere; }
.catalogue-source strong { display: block; color: #d9bc9f; font-weight: 400; }
.comparison-table-wrap { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.comparison-table th, .comparison-table td { min-width: 150px; text-align: center; padding: 15px 10px; border-bottom: 1px solid #ffffff0c; font-weight: 400; }
.comparison-table th[scope="row"] { text-align: right; color: #aeb5c0; }
.comparison-table bdi { overflow-wrap: anywhere; }
.designer-layout { display: grid; grid-template-columns: 265px minmax(0, 1fr) 100px; gap: 22px; align-items: start; }
.designer-inspector { border-inline-end: 1px solid #ffffff0e; padding-inline-end: 24px; }
.designer-inspector h2 { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #ffffff15; }
.inspector-fields .field { margin: 12px 0; gap: 5px; }
.inspector-fields .field:first-child { margin-top: 0; }
.inspector-error { font-size: 12px; color: #f0bb8b; }
.inspector-error:empty { display: none; }
.advanced-fields { margin: 12px 0; border-top: 1px solid #ffffff15; padding-top: 10px; font-size: 12px; color: #c2b6ab; }
.advanced-fields summary { cursor: pointer; }
.target-field { margin-top: 10px; padding-top: 8px; border-top: 1px solid #ffffff15; }
.designer-workspace { display: flex; flex-direction: column; min-width: 0; }
.designer-toolbar { display: flex; align-items: center; justify-content: space-between; direction: ltr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #ffffff0e; }
.designer-toolbar > div { display: flex; gap: 10px; }
.designer-toolbar .tactile--primary { direction: rtl; }
.designer-canvas-wrap { height: clamp(365px, 49dvh, 560px); position: relative; }
.design-canvas { display: block; width: 100%; height: 100%; }
.design-node { color: #eedac0; cursor: grab; outline: none; touch-action: none; }
.design-node:active { cursor: grabbing; }
.node-hit { fill: #232730; fill-opacity: 0; stroke: transparent; stroke-width: 1.2; }
.design-node[aria-pressed="true"] .node-hit { fill-opacity: .5; stroke: #d9ac7b; filter: drop-shadow(0 0 3px #ff9a3c38); }
.design-node:focus-visible .node-hit { stroke: #ffe0ba; stroke-width: 2.5; }
.design-node[data-included="false"] { color: #686f7b; }
.node-label { fill: #ead5bb; font-family: Eelon, Tahoma, sans-serif; font-size: 21px; direction: rtl; unicode-bidi: plaintext; pointer-events: none; }
.wire-bed { fill: none; stroke: #11151c; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.wire-light { fill: none; stroke: #e4ae7a; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; filter: url(#wire-light); }
.wire-junction { fill: #f4d4ad; }
.canvas-caption { position: absolute; bottom: 16px; right: 0; color: #6e7989; font-size: 10px; pointer-events: none; }
.canvas-tools { position: absolute; bottom: 10px; left: 0; display: flex; gap: 7px; direction: ltr; }
.designer-palette { border-inline-start: 1px solid #ffffff0e; padding-inline-start: 18px; }
.designer-palette h2 { font-size: 19px; text-align: center; }
.component-button { width: 100%; display: flex; flex-direction: column; padding: 8px 6px; min-height: 73px; gap: 4px; margin-bottom: 10px; font-size: 12px; }
.component-button > svg { display: block; width: 43px; height: 36px; }
.designer-summary { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 17px 0 6px; margin-top: 14px; border-top: 1px solid #ffffff18; }
.designer-summary dl { display: grid; grid-template-columns: repeat(3, 1fr); flex: 1; margin: 0; }
.designer-summary dl > div { text-align: center; padding: 0 20px; border-inline-end: 1px solid #ffffff0e; }
.designer-summary dt { font-size: 13px; color: #9da6b5; margin-bottom: 7px; }
.designer-summary dd { margin: 0; font-size: 24px; color: #e3e2de; }
.analysis-report { padding: 24px; margin-top: 20px; border: 1px solid #414750; border-radius: 8px; background: #191e26; outline: none; line-height: 2; }
.analysis-report h2 { font-size: 19px; }
.analysis-report li { color: #c2c7cf; font-size: 13px; }
.assessment-values { display: flex; gap: 40px; flex-wrap: wrap; }
.assessment-values dt { color: #929dab; font-size: 12px; }
.assessment-values dd { margin: 4px 0; font-size: 22px; }
.room-columns, .studies-grid { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(0, 1.95fr); gap: clamp(14px, 2.4vw, 36px); align-items: start; }
.room-panel { min-width: 0; padding: clamp(15px, 2.35vw, 34px); border: 1px solid #5f5953; border-radius: 8px; background: linear-gradient(135deg, #302e2dbc, #222225c9 68%); box-shadow: inset 0 1px 0 #ffffff07, 0 14px 24px #0002; }
.room-panel h2 { color: #eee2d2; }
.room-panel-title { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.room-panel-title h2 { margin-bottom: 0; }
.room-form .field { margin: 0 0 18px; }
.room-form .field :is(input, select, textarea) { min-height: 44px; min-width: 0; width: 100%; color: #e8e1d8; background: #1d1d20; border: 1px solid #5d5854; box-shadow: inset 0 2px 6px #0005; border-radius: 5px; padding: 10px 11px; font: inherit; }
.room-form .field textarea { resize: vertical; }
.room-form .field :is(input, select, textarea):focus-visible { outline: 1px solid #d3b08b; outline-offset: 3px; }
.room-form input[inputmode="numeric"] { direction: ltr; text-align: left; }
.room-form input[type="file"] { padding: 6px; font-size: 12px; }
.room-form input[type="file"]::file-selector-button { border: 1px solid #60574f; color: #e5d3bd; padding: 5px 10px; border-radius: 4px; margin-inline-end: 8px; background: #302c2b; cursor: pointer; font: inherit; }
.fields-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.room-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.room-panel .form-message { margin: 8px 0 0; color: #f4bb93; font-size: 12px; }
.room-panel .form-message:empty { display: none; }
.equipment-empty { min-height: 170px; display: grid; gap: 8px; align-content: center; justify-items: center; padding-block: 25px; color: #d5bea5; text-align: center; }
.equipment-empty svg:not(.ui-icon) { width: 57px; height: 49px; }
.equipment-empty p { margin: 0; font-size: 14px; }
.equipment-items, .project-files, .project-list ul, .study-chapters { padding: 0; margin: 0; list-style: none; }
.equipment-items li { display: grid; grid-template-columns: auto minmax(100px, 1fr) minmax(80px, .68fr) auto; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid #81726237; }
.equipment-name { display: flex; min-width: 0; flex-direction: column; gap: 5px; overflow-wrap: anywhere; }
.equipment-name strong { font-size: 14px; font-weight: 500; }
.equipment-name span, .equipment-values, .project-list small { color: #b5a89d; font-size: 11px; }
.equipment-values { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.equipment-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.equipment-actions .tactile { min-height: 44px; }
.room-summary { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; border-top: 1px solid #81726246; margin-top: 20px; padding-top: 20px; }
.room-summary dl { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 0; }
.room-summary dt { color: #c2b2a2; font-size: 12px; margin-bottom: 4px; }
.room-summary dd { margin: 0; color: #e9dfd4; font-size: 17px; }
.equipment-selection { margin-bottom: 0; }
.project-list ul { display: grid; gap: 11px; }
.project-list button { width: 100%; justify-content: flex-start; text-align: right; }
.project-list button span { flex: 1; overflow-wrap: anywhere; }
.project-list small { white-space: nowrap; }
.project-files { display: grid; gap: 8px; }
.project-files li { display: flex; gap: 7px; align-items: center; border-bottom: 1px solid #81726237; padding-block: 5px; }
.project-files bdi { min-width: 0; flex: 1; overflow-wrap: anywhere; font-size: 13px; }
.project-files button { min-width: 42px; }
[data-page="studies"] { background: #1f1d1c; }
[data-page="studies"] .room-shell { display: none; }
[data-page="studies"] .page-scroll { position: absolute; inset: 0; margin: 0; padding: 0; scrollbar-width: none; }
[data-page="studies"] .page-header, [data-page="studies"] .page-return { position: absolute; z-index: 2; inset-inline: 0; pointer-events: none; }
[data-page="studies"] .page-header { top: 0; padding: max(18px, env(safe-area-inset-top)) clamp(16px, 3vw, 48px) 24px; background: linear-gradient(#120f0dc7, transparent); }
[data-page="studies"] .page-heading h1 { font-size: clamp(19px, 2.3vw, 34px); text-shadow: 0 2px 6px #000a; }
[data-page="studies"] .page-return { bottom: 0; justify-content: flex-start; padding: 0 0 max(16px, env(safe-area-inset-bottom)) clamp(12px, 2.4vw, 36px); }
[data-page="studies"] .page-back { pointer-events: auto; }
.study-library { position: relative; margin: 0 auto 26px; }
.study-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.study-shelves { position: relative; overflow: hidden; width: 100%; height: 100dvh; background: #22201e; }
.study-shelves canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.study-shelves canvas.dragging { cursor: grabbing; }
.study-room-tools { position: absolute; top: calc(100dvh - max(16px, env(safe-area-inset-bottom))); right: clamp(12px, 2.4vw, 36px); transform: translateY(-100%); display: flex; align-items: center; gap: 8px; }
[data-page="studies"] .page-back, .study-room-tools .tactile { min-height: 42px; background: #211b18dc; border-color: #8b6c53a8; box-shadow: 0 3px 12px #0006; }
.study-shelf-cover { position: absolute; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; cursor: pointer; }
.study-shelf-cover:hover, .study-shelf-cover:focus-visible { border-color: #e6ad7d; background: #ffbb791c; box-shadow: 0 0 12px #ffae6b61; }
.study-shelf-cover:focus-visible { outline: 2px solid #fbe0c4; outline-offset: 2px; }
.study-file-list { width: min(100% - 36px, 960px); margin: 0 auto; padding-top: max(24px, env(safe-area-inset-top)); scroll-margin-top: 60px; }
.study-file-list h3 { margin: 0 0 10px; color: #ead5c0; font-weight: 500; scroll-margin-top: 76px; }
.study-mobile-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
.study-mobile-files button { width: 100%; min-height: 46px; padding: 8px 12px; justify-content: space-between; gap: 8px; text-align: start; }
.study-library[data-fallback] { padding-top: 86px; }
.study-library[data-fallback] :is(.study-shelves, .study-room-tools) { display: none; }
.study-render-unavailable { width: min(100% - 36px, 960px); margin: 0 auto; color: #d0bba8; font-size: 13px; }
.study-mobile-files small, .study-preview-type { color: #ebba91; }
.study-mobile-files small { flex: none; }
.study-preview { width: min(920px, calc(100% - 32px)); padding: clamp(14px, 2.5vw, 27px); background: #242322; border-color: #7b6251; }
.study-preview-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.study-preview-header h2 { margin: 3px 0 10px; padding: 0; color: #f5e8db; font-size: clamp(17px, 3vw, 25px); }
.study-preview-header form { flex: none; margin: 0; }
.study-preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.study-preview-note { margin: 0; flex: 1 1 260px; color: #dccec1; font-size: 13px; line-height: 1.65; }
.study-download { color: #fff2e6; text-decoration: none; }
.study-preview-body { margin-top: 14px; max-height: 62dvh; padding: 10px; overflow: auto; overscroll-behavior: contain; background: #191817; border-radius: 5px; }
.study-preview-body img { display: block; width: min(100%, 750px); height: auto; margin-inline: auto; border-radius: 3px; }
.study-sheet-note { color: #f3dfcb; margin: 0 0 8px; font-size: 13px; }
.study-sheet-scroll { overflow-x: auto; }
.study-sheet { min-width: 600px; width: 100%; border-collapse: collapse; font-size: 12px; }
.study-sheet th, .study-sheet td { border: 1px solid #8d7666; padding: 8px; text-align: start; }
.study-sheet th { background: #47362b; color: #fff2e6; }
.study-sheet td { background: #f7ead8; height: 30px; }
.study-sheet td:nth-child(n+6) { background: #e5e0da; }
.studies-grid { width: min(100% - 36px, 960px); margin: 0 auto 90px; grid-template-columns: minmax(270px, 1fr) minmax(0, 1.35fr); }
.study-book { display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: space-between; gap: 22px; min-height: 230px; }
.study-book h2 { margin-bottom: 8px; }
.study-book a { margin-top: 14px; color: #ebded0; text-decoration: none; }
.study-book img { width: clamp(78px, 10vw, 141px); height: auto; border-radius: 3px 6px 6px 3px; border: 1px solid #676168; box-shadow: -7px 5px 0 #171619, -12px 9px 13px #0007; }
.study-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px; }
.study-chapters a { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; min-height: 46px; padding: 10px 5px; border-bottom: 1px solid #81726237; color: #e6dcd2; font-size: 13px; text-decoration: none; }
.study-chapters a:hover { color: #ffddba; }
.study-chapters a:focus-visible { outline: 1px solid #d3b08b; outline-offset: 2px; border-radius: 4px; }
.study-chapters a > span { flex: 1; }
.study-chapters small { color: #b8ac9f; }
.contact-desk { width: min(100%, 1060px); margin-inline: auto; }
.contact-channels { border-top: 2px solid #9e724f; }
.contact-channels > .ui-icon { color: #dc9a65; margin-bottom: 5px; }
.contact-channels h2, .contact-form h2 { margin: 0 0 20px; font-size: clamp(17px, 2.1vw, 23px); }
.contact-channels p { margin: 0; font-size: 13px; }
.contact-topics { min-width: 0; padding: 0; margin: 0 0 20px; border: 0; }
.contact-topics legend { padding: 0; margin-bottom: 9px; color: #e1d6cc; font-size: 13px; }
.contact-topics > div { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-choice { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 10px; border: 1px solid #5d564e; border-radius: 5px; background: #242325; color: #e4d7c8; font-size: 13px; cursor: pointer; }
.contact-choice:has(:checked) { border-color: #b28b66; background: #382c25; box-shadow: inset 0 -1px #df925b60; }
.contact-choice input { margin: 0; accent-color: #d59a6d; width: 15px; height: 15px; flex: none; }
.contact-optional { border-block: 1px solid #86715b4d; }
.contact-optional summary { padding-block: 12px; color: #d8c7b5; font-size: 13px; cursor: pointer; }
.contact-actions { align-items: center; }
.contact-actions p { margin: 0; font-size: 12px; }
.project-index-note { color: #c0ad9a; margin: -6px 0 18px; font-size: 12px; }
.project-form > fieldset { display: contents; }
.project-form [data-draft-status] { margin: 0 0 14px; color: #dfb28d; font-size: 12px; }
.project-attachments { padding: 10px 0 12px; border-top: 1px solid #86715b4d; }
@media (max-width: 560px) {
  .contact-channels { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .contact-channels > .ui-icon { margin: 0; width: 23px; height: 23px; }
  .contact-channels h2 { margin: 0; }
  .contact-channels p { grid-column: 1 / -1; }
  .contact-form .field textarea { min-height: 92px; }
}
@media (max-width: 1100px) { .catalogue-layout { grid-template-columns: 190px minmax(0, 1fr); column-gap: 18px; } .product-card { padding: 16px; } .product-actions { gap: 8px; flex-wrap: wrap; } .designer-layout { grid-template-columns: 235px minmax(0, 1fr) 82px; gap: 16px; } .designer-inspector { padding-inline-end: 16px; } .designer-palette { padding-inline-start: 12px; } }
@media (max-width: 800px) {
  .page-header { padding-top: max(26px, 5.2dvh); }
  .page-brand { font-size: 18px; gap: 9px; }.brand-symbol { width: 22px; height: 37px; }
  .catalogue-layout { grid-template-columns: 160px minmax(0, 1fr); }.product-grid { grid-template-columns: 1fr; }
  .designer-layout { grid-template-columns: 1fr; gap: 20px; }
  .designer-workspace { grid-row: 2; }.designer-palette { grid-row: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; }
  .designer-palette h2 { display: none; }.component-button { min-width: 0; min-height: 70px; margin: 0; }.component-button > svg { width: min(100%, 36px); height: 30px; }
  .designer-inspector { grid-row: 3; border: 0; padding: 20px 0 0; border-top: 1px solid #ffffff0e; }
  .inspector-fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }.advanced-fields { grid-column: 1/-1; }.target-field { margin: 0; padding: 0; border: 0; }
  .designer-summary { flex-wrap: wrap; }.designer-summary dl { min-width: 100%; }.designer-summary > button { margin-inline-start: auto; }
  .room-columns, .studies-grid { grid-template-columns: minmax(0, 1fr); }
  .page-scroll { padding-block-start: 12px; }
}
@media (max-width: 560px) {
  .study-mobile-files { grid-template-columns: 1fr; gap: 6px; }
  .study-room-tools { gap: 5px; }
  .study-room-tools .tactile, [data-page="studies"] .page-back { padding-inline: 8px; gap: 4px; font-size: 10px; }
  .department-page { --page-inset: 18px; }
  .catalogue-tab { flex: 1; padding-inline: 6px; font-size: 13px; }
  .catalogue-nav { margin-bottom: 22px; }
  .catalogue-company { min-height: 62px; }
  .catalogue-filter-toggle { display: inline-flex; padding-inline: 10px; font-size: 12px; }
  .catalogue-tools .catalogue-search > svg { display: none; }
  .catalogue-layout:not([data-filters-open="true"]) .catalogue-filters { display: none; }
  .catalogue-layout:not([data-filters-open="true"]) { grid-template-areas: "tools" "results"; }
  .page-back { font-size: 11px; padding-inline: 12px; gap: 6px; }.page-brand { font-size: 16px; }
  .page-header { gap: 12px; }.page-heading h1 { font-size: clamp(18px, 5.5vw, 29px); }
  .department-page[data-page="design"] .page-heading { padding-right: 0; text-align: start; }
  .catalogue-layout { grid-template-areas: "tools" "filters" "results"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .catalogue-layout[data-global-search][data-filters-open="true"] { grid-template-areas: "tools" "filters" "results"; }
  .catalogue-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; padding: 0 0 14px; border: 0; border-bottom: 1px solid #ffffff16; }
  .catalogue-filters h2 { display: none; }.catalogue-technical { grid-column: 1/-1; margin: 0; }.catalogue-filters .field { margin: 0; }.catalogue-filters > .tactile { grid-column: 1/-1; justify-self: start; margin: 0; }
  .catalogue-technical .field { margin-block: 14px 0; }
  .tactile--small { min-height: 44px; }.product-actions { flex-wrap: nowrap; }.product-actions .tactile { padding-inline: 9px; font-size: 10px; }
  .comparison-dock { padding: 12px; gap: 10px; }.comparison-selection { gap: 7px; }.comparison-selection strong { width: 100%; font-size: 11px; }.comparison-chip { font-size: 9px; padding: 5px; min-height: 32px; gap: 4px; }.comparison-dock > .tactile { padding-inline: 13px; }
  .spec-dialog { padding: 25px 18px; }.spec-dialog h2 { font-size: 22px; padding-inline-end: 48px; }.dialog-close { top: 17px; left: 17px; }
  .designer-toolbar .tactile--primary { font-size: 12px; padding-inline: 13px; }.designer-toolbar > div { gap: 8px; }
  .designer-canvas-wrap { height: auto; padding-bottom: 44px; }
  .design-canvas { height: auto; aspect-ratio: 1000 / 760; }
  .designer-palette { gap: 6px; }.component-button { font-size: 10px; padding-inline: 2px; }
  .inspector-fields { column-gap: 16px; }.designer-summary dl > div { padding: 0 10px; }.designer-summary dd { font-size: 19px; }.designer-summary dt { font-size: 11px; }
  .page-status { bottom: 132px; font-size: 11px; }
  .equipment-items li { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 8px; }
  .equipment-values { grid-column: 2 / -1; grid-row: 2; }
  .equipment-actions { gap: 5px; }
  .fields-pair { column-gap: 9px; }
}
@media (prefers-reduced-motion: reduce) { .tactile, .tactile::after, .room-hit { transition-duration: 0ms; } }


.department-page[data-product-studio] > :is(.room-shell, .page-header, .page-return) { display: none; }
.department-page[data-product-studio] .page-scroll { margin: 0; padding: 0; overflow-y: auto; background: #111213; }
.product-studio { --studio-ink: #ededeb; --studio-muted: #bbc0c0; --studio-numerals: "Bahnschrift SemiCondensed", Arial, sans-serif; color: var(--studio-ink); background: #111213; }
.studio-scene { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1586 / 992; container-type: inline-size; overflow: hidden; direction: ltr; background: #171717; }
.studio-viewport { position: absolute; inset: 0; overflow: hidden; }
.studio-camera { position: absolute; inset: 0; transform-origin: 50% 44.1%; transform: scale(1); }
.product-studio[data-zoomed="true"] .studio-camera { transform: scale(var(--studio-zoom-scale)); }
.product-studio[data-zoomed="true"] .studio-product { cursor: zoom-out; }
.product-studio[data-zoomed="true"] .studio-photo-hint { display: none; }
.studio-screen-content { position: absolute; inset: 0; }
.product-studio[data-zoomed="true"] .studio-screen-content { opacity: 0; }
.studio-zoom-reset { position: absolute; z-index: 4; top: 16px; left: 50%; transform: translateX(-50%); min-height: 44px; padding: 8px 12px; font-size: 12px; white-space: nowrap; }
.studio-zoom-reset:is(:active, [data-pressed="true"]) { transform: translate(-50%, 2px); }
.studio-architecture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.studio-header { position: absolute; z-index: 3; inset: max(16px, env(safe-area-inset-top)) 2.5% auto; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px; direction: rtl; }
.studio-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #c1c2c0; font-size: 12px; text-shadow: 0 1px 4px #000; }
.studio-header .studio-back { min-height: 44px; font-size: 12px; padding: 7px 12px; color: #dddcd7; }
.studio-wall-brand { position: absolute; top: 38%; left: 2.4%; width: 5.7%; display: flex; flex-direction: column; align-items: center; gap: .85cqw; color: #d4d0c8; font: 500 .75cqw/1 var(--studio-numerals); letter-spacing: .17em; }
.studio-wall-brand .brand-symbol { width: 4.1cqw; height: 7.8cqw; color: #ed9953; filter: drop-shadow(1px 2px 1px #000) drop-shadow(0 0 2px #ed99534a); }
.studio-wall-brand .brand-symbol svg { stroke-width: .055; }
.studio-writing { position: absolute; top: 39.5%; left: 14.3%; width: 26%; direction: rtl; font-family: Tahoma, sans-serif; transform: rotate(1.2deg); }
.studio-product-heading { display: flex; align-items: center; gap: 2.35cqw; direction: ltr; }
.studio-csb { display: block; width: 6.1cqw; height: auto; flex: none; }
.studio-writing h1 { margin: 0; color: #e9eaea; font: 600 2.7cqw/1.1 Arial, sans-serif; letter-spacing: -.025em; white-space: nowrap; outline: none; }
.studio-type { margin-top: 1.65cqw; }
.product-studio .studio-type h2 { margin: 0; font-size: 1.35cqw; font-weight: 400; line-height: 1.5; }
.studio-type p { margin: 1cqw 0 0; color: var(--studio-muted); font-size: .88cqw; }
.studio-screen-specs { position: absolute; top: 40%; right: 13.2%; width: 24.6%; direction: rtl; font-family: Tahoma, sans-serif; transform: rotate(-1.2deg); }
.product-studio .studio-screen-specs h2 { margin: 0; font-size: .86cqw; font-weight: 450; }
.studio-terminal { position: absolute; top: 1.5cqw; left: 0; margin: 0; color: var(--studio-muted); font-size: .78cqw; }
.studio-key-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3cqw; margin: 3cqw 0 0; }
.studio-key-specs div { display: flex; flex-direction: column; gap: .7cqw; }
.studio-key-specs dt { color: var(--studio-muted); font-size: .78cqw; white-space: nowrap; }
.studio-key-specs dd { margin: 0; font: 500 1.75cqw/1 var(--studio-numerals); white-space: nowrap; direction: ltr; text-align: right; }
.studio-key-specs dd bdi { font-family: Tahoma, sans-serif; }
.studio-key-specs dd span { margin-left: .25cqw; font-size: .8cqw; font-weight: 400; }
.studio-conditions { margin: 2cqw 0 0; font-size: .65cqw; line-height: 1.6; color: var(--studio-muted); white-space: nowrap; }
.studio-product { position: absolute; z-index: 2; left: 44.83%; top: 39.42%; width: 9.77%; aspect-ratio: 655 / 420; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; touch-action: manipulation; filter: drop-shadow(0 2px 1px #000b); }
.studio-product > svg { display: block; width: 100%; height: 100%; }
.studio-product:focus-visible { outline: 1px solid #ffb466; outline-offset: 8px; border-radius: 3px; }
.studio-photo-hint { position: absolute; left: 50%; bottom: calc(100% + 12px); display: inline-flex; align-items: center; gap: 8px; padding: 5px 9px; border: 1px solid #6a6054; border-radius: 4px; background: #191a1bf2; color: #ebe5dd; font-size: 11px; direction: rtl; white-space: nowrap; opacity: 0; transform: translate(-50%, 3px); transition: opacity 180ms, transform 180ms; }
.studio-product:is(:hover, :focus-visible) .studio-photo-hint { opacity: 1; transform: translate(-50%, 0); }
.studio-actions { position: absolute; z-index: 3; top: 84%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 14px; direction: rtl; }
.studio-actions .tactile { min-height: 46px; padding-inline: 18px; color: #e4e3df; font-size: 13px; text-decoration: none; white-space: nowrap; }
.studio-actions .tactile svg { color: #e5bb8e; }
.studio-data { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8vw; padding: 32px 9% 42px; direction: rtl; border-top: 1px solid #ffffff0b; background: linear-gradient(#151617, #111213); }
.product-studio .studio-data h2 { margin: 0 0 14px; font-size: 18px; font-weight: 500; }
.studio-dimensions { margin: 0; }
.studio-dimensions > div { display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; padding: 10px 0; border-bottom: 1px solid #ffffff13; font-size: 12px; }
.studio-dimensions dt { color: var(--studio-muted); }
.studio-dimensions dd { margin: 0; color: #e1e2e0; font: 500 15px/1.5 var(--studio-numerals); white-space: nowrap; }
.studio-capacity-conditions { margin: 13px 0 0; color: var(--studio-muted); font-size: 12px; line-height: 1.9; }
.studio-source { display: flex; align-items: flex-start; gap: 13px; }
.studio-source > svg { margin-top: 3px; color: #caab87; }
.studio-source p { margin: 6px 0; color: var(--studio-muted); font-size: 12px; line-height: 1.9; }
.studio-source bdi { color: #dfdedb; }
.studio-source .studio-image-note { max-width: 360px; margin-top: 14px; color: #a4a8a8; }
.studio-mobile-type, .studio-mobile-metrics, .studio-mobile-zoom { display: none; }
.studio-scene--representative .studio-camera { transform-origin: var(--studio-x) var(--studio-y); }
.studio-frame, .studio-frame-image, .studio-reveal { position: absolute; inset: 0; width: 100%; height: 100%; }
.studio-frame { overflow: hidden; }
.studio-frame-image { display: block; }
.studio-reveal { opacity: 0; pointer-events: none; }
.studio-frame-target {
  left: var(--studio-x); top: var(--studio-y); width: var(--studio-width); height: var(--studio-height);
  aspect-ratio: auto; transform: translate(-50%, -50%);
}
.studio-frame-bounds { display: block; width: 100%; height: 100%; }
.product-studio .studio-technical h1 { margin: 0 0 8px; font-size: clamp(19px, 2vw, 28px); font-weight: 500; }
.studio-representative-type { margin: 0 0 14px; color: var(--studio-muted); }
.product-actions a { text-decoration: none; }
.product-details-page { max-width: 960px; margin-inline: auto; padding: 20px clamp(16px, 5vw, 56px) 48px; }
.product-details-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.product-details-header nav { display: flex; align-items: center; gap: 8px; color: var(--studio-muted); font-size: 13px; }
.product-details-header button { font-size: 12px; }
.product-details-hero { padding: clamp(28px, 6vw, 62px) 0 28px; border-bottom: 1px solid #ffffff20; }
.product-details-hero p { margin: 0; color: #e1b992; }
.product-details-hero h1 { margin: 6px 0 20px; font-size: clamp(26px, 5vw, 52px); overflow-wrap: anywhere; }
.product-details-section { margin-top: 28px; }
.product-details-page .product-details-section h2 { margin: 0 0 12px; font-size: 17px; }
.product-details-section .catalogue-source { margin: 0; overflow-wrap: anywhere; }
.product-variant-field { width: min(100%, 22rem); }
.product-variant-field select {
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid #796654;
  border-radius: 6px;
  background: #20242c;
  color: #f1e7dc;
  color-scheme: dark;
  font: inherit;
}
.product-variant-field select:focus-visible { outline: 1px solid #d3b08b; outline-offset: 3px; }
.product-variant-field + .spec-list + .catalogue-source { margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .studio-camera { transition: transform 750ms cubic-bezier(.22,.7,.3,1); }
  .studio-screen-content { transition: opacity 250ms 350ms; }
  .product-studio[data-zoomed="true"] .studio-screen-content { transition-delay: 0s; }
  .product-studio:not([hidden]) .studio-screen-surface { animation: studio-screen-on 650ms ease-out both; }
  .product-studio:not([hidden]) :is(.studio-writing, .studio-screen-specs) { animation: studio-screen-on 650ms 130ms ease-out both; }
  .product-studio:not([hidden]) .studio-product { animation: studio-product-arrive 650ms 100ms cubic-bezier(.22,.7,.3,1) both; }
  .product-studio:not([hidden]) .studio-plinth { animation: studio-plinth-arrive 650ms calc(var(--plinth-order) * 35ms) cubic-bezier(.22,.7,.3,1) both; }
  .studio-frame--ready { animation: studio-frame-arrive 750ms cubic-bezier(.22,.7,.3,1) both; }
  .studio-frame--ready .studio-reveal { opacity: 1; }
  .studio-frame--ready .studio-reveal-screen { animation: studio-light-reveal 650ms 130ms ease-out both; }
  .studio-frame--ready .studio-reveal-plinth { animation: studio-light-reveal 650ms calc((5 - var(--studio-stage)) * 35ms) cubic-bezier(.22,.7,.3,1) both; }
  .studio-frame--ready .studio-reveal-product { animation: studio-light-reveal 650ms 100ms cubic-bezier(.22,.7,.3,1) both; }
}
@keyframes studio-screen-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes studio-product-arrive { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@keyframes studio-plinth-arrive { from { opacity: .25; translate: 0 4px; } to { opacity: 1; translate: 0 0; } }
@keyframes studio-frame-arrive { from { transform: scale(1.018); } to { transform: scale(1); } }
@keyframes studio-light-reveal { from { opacity: .9; } to { opacity: 0; } }
@media (max-width: 900px) {
  .studio-header nav { font-size: 10px; gap: 5px; }
  .studio-header .studio-back { font-size: 11px; }
  .studio-actions { gap: 10px; }
  .studio-actions .tactile { min-height: 44px; padding: 8px 12px; font-size: 12px; }
  .studio-data { gap: 30px; padding: 28px 5% 32px; }
  .studio-dimensions > div { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .studio-scene { margin-top: 60px; overflow: visible; }
  .studio-header { top: -50px; left: 16px; right: 16px; }
  .studio-header nav { font-size: 10px; }
  .studio-header nav > span:nth-of-type(2), .studio-header nav > svg:nth-of-type(2) { display: none; }
  .studio-header .studio-back { font-size: 11px; padding-inline: 10px; }
  .studio-zoom-reset { top: auto; bottom: 10px; font-size: 11px; }
  .studio-actions { top: auto; bottom: -66px; width: 100%; padding-inline: 16px; }
  .studio-actions .tactile { flex: 1; max-width: 240px; min-height: 46px; }
  .studio-data { grid-template-columns: 1fr; gap: 28px; margin-top: 85px; padding: 24px 20px 32px; }
  .studio-mobile-type { display: block; clear: both; margin: 0; padding-top: 6px; color: #c3c6c5; font-size: 13px; line-height: 2; }
  .studio-mobile-zoom { float: left; display: inline-flex; min-height: 44px; padding: 6px 10px; margin: -9px 12px 8px 0; font-size: 11px; }
  .studio-mobile-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0 16px; }
  .studio-mobile-metrics div { display: flex; flex-direction: column; gap: 8px; }
  .studio-mobile-metrics dt { color: var(--studio-muted); font-size: 11px; }
  .studio-mobile-metrics dd { margin: 0; font: 500 23px/1.2 var(--studio-numerals); direction: ltr; text-align: right; white-space: nowrap; }
  .studio-mobile-metrics dd bdi { font-family: Eelon, Tahoma, sans-serif; }
  .studio-mobile-metrics dd span { font-size: 12px; }
  .studio-product { min-width: 44px; min-height: 44px; left: 49.715%; top: 39.42%; transform: translateX(-50%); }
  .studio-product > svg { position: absolute; width: 9.77cqw; height: auto; left: 50%; top: 0; transform: translateX(-50%); }
  .studio-frame-target { left: var(--studio-x); top: var(--studio-y); transform: translate(-50%, -50%); }
  .studio-photo-hint { display: none; }
  .studio-dimensions > div { font-size: 12px; }
}

.studio-scene--front-terminal { height: 100dvh; aspect-ratio: auto; }
.studio-front-terminal-frame { position: absolute; inset: 0; }
.studio-front-terminal-ceiling { display: none; }
.studio-front-terminal-fallback { display: contents; }
.studio-room-official { display: none; }
.studio-category-fallback { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); transform-origin: 50% 46%; }
.studio-category-ceiling-mark { position: absolute; top: 7%; left: 50%; width: min(10vw, 104px); height: 15%; transform: translateX(-50%) skewY(-8deg); fill: none; stroke: #be794c; filter: drop-shadow(0 0 3px #bb753d55); }
.studio-scene--categories[data-room-renderer="3d"] :is(.studio-category-fallback, .studio-category-ceiling-mark) { display: none; }
.studio-scene--categories .studio-header { justify-content: flex-start; }
.studio-scene--categories .studio-header .studio-back {
  min-height: 42px; padding-inline: 8px; border: 0; border-radius: 0;
  background: none; color: #eed7be; box-shadow: none;
}
.studio-scene--categories .studio-header .studio-back::after { inset: auto 8px 5px; }
.studio-scene--categories .studio-header .studio-back:is(:hover, :focus-visible) {
  border-color: #edb17c; color: #fff3e3;
}
.studio-category-screen {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 2;
  width: 94vw;
  transform: translate(-50%, -50%);
  direction: rtl;
  text-align: center;
  color: #f6ede1;
}
.studio-scene--categories:not([data-room-renderer="3d"]) .studio-category-screen {
  padding: 8px;
  border: 1px solid #8b786150;
  border-radius: 8px;
  background: #131313ee;
}
.studio-category-screen h1 {
  margin: 0 0 clamp(12px, 2vh, 22px);
  font-size: clamp(22px, 3vw, 43px);
  font-weight: 650;
  line-height: 1.25;
  text-wrap: balance;
}
.studio-category-screen h1:focus { outline: none; }
.studio-category-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid #b99a724d;
}
.studio-category-links a {
  display: grid;
  place-items: center;
  min-height: clamp(44px, 6.6vh, 64px);
  padding: 5px 7px;
  color: #e6cbae;
  font-size: clamp(13px, 1.45vw, 21px);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}
.studio-category-links a + a { border-inline-start: 1px solid #b99a7238; }
.studio-category-links a:is(:hover, :focus-visible) { color: #fff5e8; background: #c8a5831b; }
.studio-category-links a:focus-visible { outline: 2px solid #e1b588; outline-offset: -2px; }
.studio-category-screen:is([data-mode="models"], [data-mode="catalogue"]) {
  display: grid;
  height: var(--studio-screen-height, clamp(178px, 29vh, 248px));
  text-align: start;
}
.studio-category-screen[data-mode="models"] {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.85fr) minmax(0, 1.18fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: "category models search" "index index index";
  align-items: stretch;
}
.studio-category-screen[data-mode="catalogue"] { grid-template: auto auto minmax(0, 1fr) / minmax(0, 1fr); gap: 5px; }
.studio-company-logo { display: block; width: auto; max-width: 100%; height: clamp(20px, 3.7vw, 43px); object-fit: contain; object-position: right center; }
.studio-category-screen[data-company-models] .studio-wall-heading h1 { margin-top: 5px; max-width: none; font-size: clamp(17px, 1.85vw, 29px); overflow-wrap: anywhere; }
.studio-company-empty { grid-area: models; align-self: center; text-align: center; color: #d5bca4; }
.studio-wall-reading { min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ae805e #1a1513; }
.studio-wall-reading:focus-visible { outline: 1px solid #e1b588; outline-offset: -1px; }
.studio-category-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block-end: 3px;
  border-bottom: 1px solid #b99a724d;
}
.studio-category-bar h1 { margin: 0; font-size: clamp(17px, 1.65vw, 23px); }
.studio-wall-heading {
  grid-area: category; flex-direction: column; align-items: flex-start; justify-content: center; gap: clamp(8px, 1.4vh, 15px);
  padding-inline: 6px clamp(10px, 2vw, 29px); border: 0; border-inline-end: 1px solid #aa8b5c40;
}
.studio-wall-heading h1 { max-width: 9ch; font-size: clamp(20px, 2.7vw, 45px); line-height: 1.2; }
.studio-category-total {
  display: flex; align-items: baseline; gap: 7px; margin: 10px 0 0; padding-top: 5px;
  border-top: 1px solid #bd91646b; color: #eabd96; font-size: clamp(13px, 1.17vw, 18px);
}
.studio-category-total strong { font-size: clamp(20px, 2.05vw, 34px); font-weight: 650; font-variant-numeric: tabular-nums; }
.studio-category-screen :is(.studio-category-bar button, .studio-model-pager button, .studio-search-link, .studio-wall-source-toggle) {
  display: inline-flex; gap: 7px; align-items: center; justify-content: center; padding: 0 6px; min-height: 40px;
  border: 0; border-radius: 0; background: none; color: #f2d6bb;
  font: inherit; font-size: 12px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color 160ms, text-shadow 160ms, transform 160ms;
}
.studio-category-bar button .ui-icon, .studio-wall-source-toggle .ui-icon { color: #e9ac76; }
.studio-category-screen :is(.studio-category-bar button, .studio-model-pager button, .studio-wall-source-toggle, .studio-search-link):active { transform: translateY(1px); }
.studio-model-grid { grid-area: models; display: grid; grid-template: minmax(0, 1fr) / repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; min-block-size: 0; }
.studio-model-grid li { min-block-size: 0; min-inline-size: 0; }
.studio-model-grid li + li { border-inline-start: 1px solid #aa8b5c28; }
.studio-model-grid a {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  height: 100%; min-width: 0; padding: 4px 8px 8px; box-sizing: border-box;
  color: #f1e7db; text-align: center; text-decoration: none; overflow-wrap: anywhere;
}
.studio-model-grid a::after { content: ""; position: absolute; inset: auto 16% 3px; height: 2px; background: #e4a265; opacity: 0; box-shadow: 0 0 6px #ed984d83; }
.studio-model-grid a:is(:hover, :focus-visible)::after { opacity: 1; }
.studio-model-image { position: relative; width: 100%; flex: 1 1 86px; min-height: 0; max-height: 116px; }
.studio-model-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 6px #0008); }
.studio-model-symbol svg { position: absolute; inset: 0; margin: auto; width: 55%; max-width: 64px; height: 68%; color: #a88c72; }
.studio-model-grid :is(strong, small, .studio-stage-label) { flex: none; }
.studio-model-grid .studio-model-family {
  flex: none; min-height: 1.1em; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: #d7a77f; font-size: clamp(10px, .95vw, 13px); line-height: 1.1;
}
.studio-model-grid li + li[data-family-start] { border-inline-start-color: #b0835866; }
.studio-model-grid strong { font-size: clamp(16px, 1.65vw, 25px); font-weight: 650; line-height: 1.15; }
.studio-model-grid small { max-width: 100%; color: #d9c3ae; font-size: clamp(12px, 1.05vw, 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-stage-label { color: #b49c84; font-size: 11px; }
.studio-wall-actions { grid-area: search; display: flex; justify-content: center; align-items: center; padding-inline: clamp(8px, 1.4vw, 20px) 3px; border-inline-start: 1px solid #aa8b5c40; }
.studio-wall-actions.studio-company-controls { flex-direction: column; justify-content: center; align-items: stretch; gap: 4px; min-width: 0; }
.studio-company-controls select {
  width: 100%; min-width: 0; min-height: 34px; padding-inline: 4px; border: 0; border-bottom: 1px solid #a9876b87;
  background: #151313; color: #f2d6bb; border-radius: 0; font: inherit; font-size: clamp(12px, 1.1vw, 15px); cursor: pointer;
}
.studio-company-controls select:focus-visible { outline: 1px solid #e1b588; }
.studio-company-sort { display: flex; justify-content: space-around; align-items: center; }
.studio-category-screen .studio-company-sort button {
  min-width: 34px; min-height: 30px; padding-inline: 4px; border: 0; background: none; color: #d3baa2; font: inherit; font-size: 12px; cursor: pointer;
}
.studio-category-screen .studio-company-sort button[aria-pressed="true"] { color: #fff3e3; text-decoration: underline; text-decoration-color: #e4a265; text-underline-offset: 5px; }
.studio-category-screen .studio-search-link {
  min-height: 44px; color: #fff2e1; font-size: clamp(13px, 1.3vw, 19px); font-weight: 550;
}
.studio-search-link .ui-icon { color: #e9ac76; }
.studio-wall-index { grid-area: index; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 2vw, 26px); }
.studio-index-ruler {
  --studio-ruler-fill: linear-gradient(#a9876b87, #a9876b87) center / 100% 1px no-repeat,
    repeating-linear-gradient(to right, #a9876b65 0 1px, transparent 1px max(11px, 2.7%));
  appearance: none; direction: ltr; width: 100%; min-width: 0; height: 34px;
  margin: 0; background: none; cursor: ew-resize;
}
.studio-index-ruler::-webkit-slider-runnable-track { height: 9px; background: var(--studio-ruler-fill); }
.studio-index-ruler::-moz-range-track { height: 9px; background: var(--studio-ruler-fill); }
.studio-index-ruler::-webkit-slider-thumb {
  appearance: none; width: 3px; height: 16px; margin-top: -3.5px; background: #ffd3a2;
  border-radius: 0; box-shadow: 0 0 9px #f5a45b9c;
}
.studio-index-ruler::-moz-range-thumb { width: 3px; height: 16px; border: 0; border-radius: 0; background: #ffd3a2; box-shadow: 0 0 9px #f5a45b9c; }
.studio-index-ruler:focus-visible { outline: none; filter: drop-shadow(0 0 4px #e9aa75); }
.studio-index-ruler:disabled { cursor: default; opacity: .45; }
.studio-model-pager {
  display: inline-flex; align-items: center; gap: 5px;
  text-align: center; font-size: clamp(11px, 1.04vw, 14px); color: #e6c8ac;
}
.studio-model-pager span { min-width: 4.3em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.studio-category-screen .studio-model-pager button { min-width: 37px; min-height: 40px; padding: 0; }
.studio-model-pager button:disabled { opacity: .31; cursor: default; }
.studio-category-screen :is(.studio-search-link, button:not(:disabled)):is(:hover, :focus-visible) {
  color: #fff3e3; text-shadow: 0 0 8px #d6914c78;
}
.studio-category-screen :is(a, button):focus-visible { outline: none; text-decoration: underline; text-underline-offset: 5px; }
.studio-category-screen .studio-model-pager button:focus-visible .ui-icon { filter: drop-shadow(0 0 4px #f9b878); }
.studio-stage-status { margin: 5px 0 0; }
.studio-stage-status:empty { display: none; }
.studio-wall-catalogue-heading { align-items: flex-start; border: 0; }
.studio-wall-catalogue-heading > div { min-width: 0; }
.studio-category-screen .studio-wall-catalogue-heading h1 { margin: 0 0 4px; font-size: clamp(19px, 2vw, 32px); overflow-wrap: anywhere; }
.studio-wall-catalogue-heading small { color: #d5bca4; font-size: 12px; }
.studio-category-screen[data-mode="catalogue"] .spec-list {
  display: grid; align-content: start; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 7%; row-gap: 3px;
}
.studio-category-screen[data-stage="true"] .spec-list { column-gap: 35%; }
.studio-category-screen[data-stage-object] .spec-list { column-gap: 54%; }
.studio-category-screen[data-mode="catalogue"] .spec-list > div {
  display: block; padding: 4px 6px; min-width: 0; border-bottom: 1px solid #ad8b5f3f;
  text-align: start; line-height: 1.35;
}
.studio-category-screen[data-mode="catalogue"] .spec-list dt { color: #d5bca4; font-size: clamp(11px, 1.05vw, 15px); }
.studio-category-screen[data-mode="catalogue"] .spec-list dd { color: #fff1e1; font-size: clamp(13px, 1.28vw, 18px); font-weight: 550; }
.studio-wall-source { color: #dec4ac; font-size: clamp(11px, 1.06vw, 15px); }
.studio-wall-source h2 { margin: 0 0 4px; font-size: clamp(14px, 1.4vw, 20px); color: #f6ede1; }
.studio-wall-source p { margin: 0 0 3px; overflow-wrap: anywhere; }
.studio-wall-source a { color: #f2c295; }
.studio-category-screen[data-stage="true"] .studio-wall-source > div { max-width: 33%; }
.studio-wall-catalogue-tools { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; color: #d5bca4; font-size: 12px; }
.studio-wall-spec-actions { display: flex; align-items: center; gap: 7px; }
.studio-category-screen .studio-wall-source-toggle[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 6px; }
.studio-wall-catalogue-tools label { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; min-width: 0; }
.studio-wall-catalogue-tools select {
  min-height: 34px; width: min(30vw, 240px); min-width: 0; color: #f6ede1;
  padding-inline: 5px; border: 0; border-bottom: 1px solid #a6815c81; border-radius: 0; background: #151313; font: inherit;
}
.studio-stage-controls {
  position: absolute; z-index: 3; inset: auto 0 max(10px, env(safe-area-inset-bottom)) auto;
  width: 100%; display: flex; justify-content: center; gap: clamp(18px, 4vw, 60px);
  visibility: hidden; pointer-events: none;
}
.studio-scene--categories[data-studio-stage-model]:not([data-studio-lift]):has(.studio-category-screen[data-stage="true"]) .studio-stage-controls { visibility: visible; }
.studio-stage-controls button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding-inline: 8px;
  border: 0; background: none; font: inherit; font-size: 12px; color: #f2d6bb;
  text-shadow: 0 1px 4px #000; cursor: pointer; pointer-events: auto;
}
.studio-stage-controls button:is(:hover, :focus-visible, [aria-pressed="true"]) { color: #fff5e8; text-decoration: underline; text-underline-offset: 5px; }
.studio-stage-controls .ui-icon { color: #e9ac76; }
.studio-scene--categories:not([data-studio-stage-model]) .studio-room-canvas,
.studio-scene--categories[data-studio-lift] .studio-room-canvas { cursor: default; }
@media (prefers-reduced-motion: no-preference) {
  .studio-wall-reading > * { animation: studio-wall-details-appear 180ms ease-out both; }
  @keyframes studio-wall-details-appear { from { opacity: 0; } to { opacity: 1; } }
}
.studio-family {
  position: absolute;
  z-index: 4;
  top: 39%;
  left: 75%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: stretch;
  gap: 4px;
  direction: rtl;
  pointer-events: auto;
  padding: 2px;
  border: 1px solid #8c776153;
  border-radius: 6px;
  background: #171614f2;
  color: #e9e2d9;
}
.studio-family .tactile { width: 36px; min-height: 40px; padding: 0; justify-content: center; color: #e5bb8e; }
.studio-family-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.studio-family-model { display: grid; justify-items: center; gap: 1px; padding-inline: 3px; color: #e9c7a5; font-size: 10px; white-space: nowrap; }
.studio-family-model select {
  width: 100%;
  min-width: 112px;
  min-height: 24px;
  border: 1px solid #87755f;
  border-radius: 4px;
  padding-inline: 6px;
  background: #282320;
  color: #f4f0ea;
  font: 600 13px system-ui, sans-serif;
}
.studio-family-model select:focus-visible { outline: 2px solid #e5bb8e; outline-offset: 2px; }
.studio-scene--front-terminal[data-studio-has-photo="false"]:not([data-room-renderer]) .studio-front-terminal-zoom { display: none; }
.studio-room-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}
.studio-room-canvas:active { cursor: grabbing; }
[data-room-renderer="3d"] :is(.studio-architecture, .studio-front-terminal-ceiling, .studio-product, .studio-front-terminal-sources) { display: none; }
.studio-screen-details { display: contents; }
[data-room-renderer="3d"] .studio-front-terminal-screen {
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
[data-room-renderer="3d"] .studio-screen-details {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
[data-room-renderer="3d"] .studio-room-official {
  position: absolute;
  z-index: 3;
  top: max(60px, calc(env(safe-area-inset-top) + 48px));
  left: 2.5%;
  display: block;
  padding: 6px;
  color: #e8d3bb;
  font-size: 11px;
  text-underline-offset: .2em;
}
.studio-front-terminal-screen { position: absolute; inset: 0; pointer-events: none; }
.studio-front-terminal-screen a { pointer-events: auto; }
.studio-front-terminal-screen .studio-writing { width: 21.3%; }
.studio-front-terminal-screen .studio-screen-specs { right: 13.2%; width: 22%; }
.studio-front-terminal-screen .studio-key-specs { margin-top: 1.7cqw; }
.studio-front-terminal-dimensions, .studio-front-terminal-screen .studio-conditions {
  margin: .75cqw 0 0;
  color: var(--studio-muted);
  font-size: .72cqw;
}
.studio-front-terminal-dimensions bdi { margin-inline-start: .55em; color: var(--studio-ink); }
.studio-front-terminal-sources {
  position: absolute;
  top: 53.5%;
  left: 14.3%;
  width: 21.3%;
  display: flex;
  flex-wrap: wrap;
  gap: .4em 1em;
  direction: rtl;
  color: #dec4a5;
  font-size: .76cqw;
}
.studio-front-terminal-sources a { color: inherit; text-underline-offset: .2em; }
.studio-scene--front-terminal .studio-product {
  left: 49.62%;
  top: 35.28%;
  width: 15.26%;
  height: 35.69%;
  aspect-ratio: auto;
  transform: translateX(-50%);
  filter: none;
}
.studio-scene--front-terminal .studio-product > svg { position: static; width: 100%; height: 100%; transform: none; }
.product-studio[data-zoomed="true"] .studio-scene--front-terminal .studio-product {
  transform: translateX(-50%) scale(var(--studio-zoom-scale, 1));
}
.studio-scene--front-terminal .studio-zoom-reset {
  top: 10%;
  bottom: auto;
}
.studio-scene--front-terminal .studio-actions { top: auto; bottom: max(8%, env(safe-area-inset-bottom)); }
.studio-front-terminal-brand {
  display: block;
  flex: none;
  width: 5.2cqw;
  height: auto;
  padding: 2px;
  border-radius: 2px;
  background: #fff;
}
.studio-front-terminal-screen .studio-product-heading { gap: 1.1cqw; }
@media (prefers-reduced-motion: no-preference) {
  .studio-scene--front-terminal .studio-product { transition: transform 650ms cubic-bezier(.22,.7,.3,1); }
}
@media (max-width: 720px) and (orientation: portrait), (max-aspect-ratio: 1/1) {
  .studio-scene--front-terminal {
    margin: 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 50%, #211c18, #141313 90%);
  }
  .studio-scene--front-terminal .studio-header { inset: max(10px, env(safe-area-inset-top)) 16px auto; }
  .studio-category-screen { width: min(93vw, 570px); }
  .studio-scene--categories:not([data-room-renderer="3d"]) .studio-category-screen { top: 42%; }
  .studio-category-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-category-screen h1 { margin-bottom: 12px; font-size: clamp(22px, 6vw, 30px); }
  .studio-category-links a { min-height: 44px; font-size: clamp(12px, 3.6vw, 16px); }
  .studio-category-links a:nth-child(odd) { border-inline-start: 0; }
  .studio-category-links a:nth-child(n+3) { border-block-start: 1px solid #b99a7238; }
  .studio-category-ceiling-mark { top: 6%; width: 58px; height: 13%; }
  .studio-category-bar h1 { margin: 0; font-size: clamp(16px, 4.6vw, 21px); }
  .studio-category-screen[data-mode="models"] {
    grid-template: "category category" auto "models models" minmax(0, 1fr) "search index" auto / minmax(0, 1fr) auto; gap: 3px 8px;
  }
  .studio-wall-heading, .studio-wall-actions { justify-content: space-between; align-items: center; gap: 6px; padding-inline: 1px; border-inline: 0; }
  .studio-wall-heading { flex-direction: row-reverse; border-bottom: 1px solid #aa8b5c40; }
  .studio-wall-heading h1 { max-width: none; }
  .studio-category-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; }
  .studio-company-logo { max-width: 72px; height: 25px; align-self: center; }
  .studio-category-screen[data-company-models] .studio-wall-heading { flex-direction: row; }
  .studio-category-screen[data-company-models] .studio-wall-heading h1 { margin-top: 0; }
  .studio-wall-actions.studio-company-controls { gap: 0; }
  .studio-company-controls select { min-height: 31px; font-size: 16px; }
  .studio-company-sort { justify-content: flex-start; }
  .studio-category-total { border: 0; margin: 0; padding: 0; font-size: 11px; gap: 4px; }
  .studio-category-total strong { font-size: 15px; }
  .studio-wall-index { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .studio-index-ruler { height: 24px; }
  .studio-wall-index .studio-model-pager { justify-content: space-between; padding: 0; }
  .studio-category-screen .studio-wall-index .studio-model-pager button { min-height: 30px; min-width: 30px; }
  .studio-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-model-grid a { gap: 3px; padding-block: 3px 6px; }
  .studio-model-grid strong { font-size: clamp(13px, 4vw, 17px); }
  .studio-model-grid small { font-size: 12px; }
  .studio-stage-label { font-size: 9px; }
  .studio-category-screen .studio-search-link { min-height: 41px; font-size: clamp(11px, 3.4vw, 15px); }
  .studio-category-screen .studio-category-bar button { min-height: 36px; }
  .studio-category-screen[data-stage="true"]:not([data-stage-object]) .spec-list { column-gap: 18%; }
  .studio-category-screen[data-stage="true"] .spec-list > div:nth-child(even) { text-align: left; }
  .studio-category-screen[data-stage="true"] .studio-wall-source > div { max-width: 45%; }
  .studio-wall-catalogue-tools label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .studio-wall-catalogue-tools select { width: min(35vw, 140px); font-size: 16px; }
  .studio-wall-spec-actions { gap: 5px; }
  .studio-wall-spec-actions .studio-model-pager { gap: 4px; padding: 2px; }
  .studio-category-screen .studio-wall-spec-actions .studio-model-pager button { min-width: 31px; }
  .studio-category-screen .studio-wall-source-toggle { padding-inline: 10px; }
  .studio-family-model select { min-width: 126px; font-size: 16px; }
  .studio-scene--front-terminal:not([data-room-renderer="3d"]) .studio-family {
    position: relative; top: auto; left: auto; align-self: center; margin-bottom: 9px; transform: none;
  }
  .studio-front-terminal-ceiling {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 31%;
    mask-image: linear-gradient(#000 60%, transparent);
  }
  .studio-scene--front-terminal .studio-architecture {
    top: 22%;
    left: 50%;
    width: 172%;
    height: 78%;
    transform: translateX(-50%);
    mask-image: linear-gradient(transparent 33%, #000 41%);
  }
  .studio-scene--front-terminal .studio-product {
    /* Match the product cutout within the portrait room framing. */
    left: 49.35%;
    top: 49.52%;
    width: 26.25%;
    height: 27.84%;
    transform-origin: 50% 12%;
  }
  .studio-front-terminal-screen {
    inset: auto max(12px, 6%) 55%;
    display: flex;
    flex-direction: column;
    padding: 11px clamp(13px, 4vw, 24px) 13px;
    border: 1px solid #74726d;
    border-radius: 50% 50% 46% 46% / 4% 4% 4% 4%;
    background: radial-gradient(ellipse at 50% 0%, #212222, #0d0e0e 70%);
    box-shadow: 0 7px 13px #000b, inset 0 0 14px #000;
  }
  .studio-front-terminal-screen :is(.studio-writing, .studio-screen-specs, .studio-front-terminal-sources) {
    position: static;
    width: auto;
    transform: none;
  }
  .studio-front-terminal-screen .studio-product-heading { gap: 10px; justify-content: flex-end; }
  .studio-front-terminal-screen .studio-front-terminal-brand { width: 48px; }
  .studio-front-terminal-screen .studio-writing h1 { font-size: 23px; }
  .studio-front-terminal-screen .studio-type { margin: 2px 0 6px; }
  .product-studio .studio-front-terminal-screen .studio-type h2 { font-size: 13px; }
  .product-studio .studio-front-terminal-screen .studio-screen-specs h2 { font-size: 12px; }
  .studio-front-terminal-screen .studio-key-specs { margin-top: 8px; }
  .studio-front-terminal-screen .studio-key-specs dt { font-size: 11px; }
  .studio-front-terminal-screen .studio-key-specs dd { font-size: 21px; }
  .studio-front-terminal-screen .studio-key-specs dd span { font-size: 11px; }
  .studio-front-terminal-dimensions, .studio-front-terminal-screen .studio-conditions, .studio-front-terminal-sources { margin-top: 7px; font-size: 11px; }
  .studio-front-terminal-sources { padding-top: 5px; border-top: 1px solid #ffffff18; }
  .studio-scene--front-terminal .studio-zoom-reset { top: auto; bottom: 11%; }
  .studio-scene--front-terminal .studio-actions {
    bottom: max(3%, env(safe-area-inset-bottom));
    width: 100%;
    padding: 0 12px;
    gap: 6px;
  }
  .studio-scene--front-terminal .studio-actions .tactile { flex: 0 1 auto; font-size: 11px; padding-inline: 8px; }
}
@media (max-height: 700px) and (max-aspect-ratio: 1/1) {
  .studio-stage-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (max-height: 550px) and (orientation: landscape) {
  .studio-category-screen h1 { margin-bottom: 8px; font-size: clamp(19px, 3.1vw, 28px); }
  .studio-category-screen[data-company-models] .studio-wall-heading { gap: 0; padding-inline: 4px; }
  .studio-category-screen[data-company-models] .studio-company-logo { height: 14px; }
  .studio-category-screen[data-company-models] .studio-wall-heading h1 {
    margin: 2px 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .studio-category-screen[data-company-models] .studio-category-total { margin-top: 1px; padding-top: 1px; line-height: 1; }
  .studio-category-screen[data-company-models] .studio-category-total strong { font-size: 14px; }
  .studio-wall-actions.studio-company-controls { gap: 0; }
  .studio-company-controls select { min-height: 21px; font-size: 11px; }
  .studio-category-screen .studio-company-sort button { min-height: 20px; }
  .studio-category-screen[data-company-models] .studio-model-grid a { gap: 1px; padding-block: 1px; }
  .studio-category-screen[data-company-models] .studio-stage-label { display: none; }
  .studio-category-screen[data-company-models] .studio-index-ruler,
  .studio-category-screen[data-company-models] .studio-wall-index .studio-model-pager button { height: 30px; min-height: 30px; }
  .studio-category-screen[data-mode="catalogue"] { grid-template: auto minmax(0, 1fr) / minmax(0, 1fr) auto; column-gap: 18px; }
  .studio-wall-catalogue-tools { align-items: center; }
  .studio-wall-reading { grid-column: 1 / -1; }
  .studio-category-screen[data-mode="catalogue"] .spec-list > div { display: flex; align-items: baseline; gap: 6px; padding: 3px 5px; }
  .studio-stage-controls { inset: auto 3% 4px; width: auto; justify-content: space-between; }
  .studio-category-links a { min-height: 40px; font-size: clamp(11px, 1.85vw, 14px); }
  .studio-family .tactile { width: 30px; min-height: 36px; }
  .studio-family-model select { min-width: 108px; font-size: 12px; }
  .studio-front-terminal-screen .studio-key-specs { margin-top: .65cqw; }
  .studio-front-terminal-dimensions, .studio-front-terminal-screen .studio-conditions { margin-top: .32cqw; }
  .studio-front-terminal-screen .studio-type { margin-top: .6cqw; }
  .studio-scene--front-terminal .studio-zoom-reset { top: 8px; }
}


.ups-entry.tactile {
  position: absolute;
  inset-block-start: max(20px, env(safe-area-inset-top));
  inset-inline-start: max(20px, env(safe-area-inset-right));
  font-size: 14px;
  color: #ffe1bc;
  border-color: #986746;
}
.home:not([data-phase="on"]) .ups-entry, .home:not([data-view="plan"]) .ups-entry { visibility: hidden; }

:is(.department-page[data-page="ups"], .second-power-engineering) {
  --ups-pad: clamp(24px, 4.1vw, 60px);
  --ups-ink: #f1e7d8;
  --ups-muted: #c1b3a8;
  --ups-copper: #efb478;
  --ups-border: #49434a;
  color: var(--ups-ink);
}
.department-page[data-page="ups"] {
  background: radial-gradient(ellipse at 87% -8%, #332a23 0%, transparent 47%), #191a21;
}
.ups-embedded .second-power-panel { min-width: 0; align-content: start; }
.ups-embedded-content { display: grid; gap: 9px; min-width: 0; align-content: start; }
.ups-embedded .second-power-panel h2 { font-size: 17px; }
.ups-embedded .ups-heading { margin: 0; }
.ups-embedded .ups-heading h1 { font-size: 17px; line-height: 1.5; }
.ups-embedded .ups-heading .ups-stage-label,
.ups-embedded .ups-info-symbol, .ups-embedded .ups-step-index { display: none; }
.ups-embedded .ups-steps { gap: 2px; padding: 0; margin: 0; flex-wrap: wrap; }
.ups-embedded .ups-steps .ups-button { min-height: 32px; padding: 3px 4px; font-size: 11px; }
.ups-embedded .ups-flow-footer { align-items: flex-start; flex-wrap: wrap; gap: 6px; padding-block: 7px 0; }
.ups-embedded .ups-flow-footer .ups-primary { min-height: 34px; padding-inline: 9px; }
.ups-embedded .ups-choices, .ups-embedded .ups-field-pair { grid-template-columns: minmax(0, 1fr); }
.ups-embedded .ups-card { background: transparent; padding: 0; border: 0; }
.ups-embedded .ups-button, .ups-embedded .ups-choice { white-space: normal; }
.ups-embedded .ups-choice { min-height: 42px; padding: 7px 8px; }
.ups-embedded .ups-choice-icon { width: 28px; height: 28px; }
.ups-embedded .ups-art { min-height: 155px; height: 185px; }
.ups-embedded .ups-runtime-table { overflow: auto; }
.ups-embedded .ups-heading h1:focus { outline: none; }
.ups-embedded-product summary { cursor: pointer; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 8px; }
.ups-embedded-product img { width: 52px; height: 50px; object-fit: contain; grid-row: span 2; }
.ups-embedded-product summary > small { grid-column: 2; }
.second-power-engineering .office-embedded { min-width: 0; margin: 0; padding: 0; }
.second-power-engineering .office-embedded .office-workspace { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.second-power-engineering .office-embedded .office-visual { position: static; padding: 0; border: 0; background: transparent; }
.second-power-engineering .office-embedded :is(.office-input, .office-results) {
  background: radial-gradient(ellipse at 96% 0%, #4b3429bd, #322824b3 47%, #2b2326d9);
  border-color: #ab744c; padding: 14px;
}
.second-power-engineering .office-embedded .office-quick { display: none; }
@media (min-width: 761px) and (min-height: 620px) {
  .ups-embedded { height: calc(100dvh - 112px); grid-template-rows: minmax(0, 2.8fr) repeat(2, minmax(0, 1fr)); }
  .ups-embedded[data-panel="1"] { grid-template-rows: minmax(0, 1fr) minmax(0, 2.8fr) minmax(0, 1fr); }
  .ups-embedded[data-panel="2"] { grid-template-rows: repeat(2, minmax(0, 1fr)) minmax(0, 2.8fr); }
  .ups-embedded .second-power-panel { grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; align-content: stretch; }
  .ups-embedded-content { overflow: auto; scrollbar-width: thin; scrollbar-gutter: stable; }
}
.department-page[data-page="ups"] :is(.page-header, .page-scroll) { margin-left: calc(var(--ups-pad) + var(--shell-left)); margin-right: calc(var(--ups-pad) + var(--shell-right)); padding-inline: 0; }
.department-page[data-page="ups"] .page-header {
  display: flex;
  justify-content: flex-start;
  direction: ltr;
  height: 104px;
  padding-block: 24px 0;
  border-bottom: 0;
}
.department-page[data-page="ups"] .page-brand { direction: ltr; font-size: 18px; gap: 11px; }
.department-page[data-page="ups"] .brand-symbol { width: 19px; height: 32px; color: #d1a175; }
.department-page[data-page="ups"] .page-heading { display: none; }
.department-page[data-page="ups"] .page-heading h1 { font-size: 13px; color: var(--ups-muted); }
.department-page[data-page="ups"] .page-return {
  position: absolute;
  z-index: 2;
  inset: 44px calc(var(--ups-pad) + var(--shell-right)) auto auto;
  padding: 0;
}
.department-page[data-page="ups"] .page-back {
  background: transparent;
  box-shadow: none;
  color: var(--ups-ink);
  border-color: transparent;
  padding-inline: 5px;
}
.department-page[data-page="ups"] .page-scroll { padding-block: 0 30px; }
.ups-flow { max-width: 1280px; margin: auto; min-height: calc(100dvh - 154px); display: flex; flex-direction: column; }
.ups-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 40px; padding-bottom: 12px; color: var(--ups-muted); font-size: 12px; }
.ups-breadcrumb a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
.ups-breadcrumb a:hover { color: var(--ups-ink); text-decoration: underline; }
.ups-breadcrumb [aria-current] { color: var(--ups-ink); }
.ups-steps {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2.2vw, 30px);
  min-height: 54px;
  border-block: 1px solid var(--ups-border);
}
.ups-steps .ups-button {
  height: 54px;
  padding: 0 3px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ups-muted);
}
.ups-steps .ups-button span { margin-inline-end: 3px; color: #d2a478; }
.ups-steps .ups-button .ups-step-index { margin-inline-end: 8px; font-size: 12px; }
.ups-steps [aria-current="step"] { border-bottom-color: var(--ups-copper); color: var(--ups-ink); font-weight: 700; }
.ups-heading { margin: 0 0 30px; }
.ups-heading h1 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.55; margin: 0; color: #fbf0df; font-weight: 700; }
.ups-heading h1:focus { outline: none; }
.ups-heading h1 { max-width: 540px; }
.ups-heading p { margin: 6px 0 0; color: var(--ups-muted); line-height: 1.75; font-size: 13px; }
.ups-heading .ups-stage-label { margin: 0 0 12px; color: var(--ups-copper); font-size: 11px; }
.ups-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 40px; align-items: start; direction: ltr; flex: 1; padding-block: 36px; }
.ups-grid[data-aside="false"] { grid-template-columns: minmax(0, 1fr); }
.ups-grid[data-aside="false"] .ups-panel { grid-column: 1; }
.ups-flow[data-step="result"] .ups-grid[data-aside="false"] .ups-heading h1 { max-width: none; }
.ups-flow[data-step="result"] .ups-grid[data-aside="false"] .ups-matches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ups-flow[data-step="result"] .ups-grid[data-aside="false"] .ups-matches li { margin: 0; padding: 18px; }
.ups-card { min-width: 0; background: #232127; border: 1px solid var(--ups-border); border-radius: 10px; }
.ups-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  line-height: 1.75;
  direction: rtl;
}
.ups-panel h2, .ups-panel h3 { margin: 0 0 12px; color: #fbf0df; font-weight: 700; }
.ups-panel h2 { font-size: clamp(17px, 1.45vw, 21px); }
.ups-panel h3 { font-size: 15px; margin-top: 12px; }
.ups-map { grid-column: 2; grid-row: 1; overflow: hidden; direction: rtl; }
.ups-grid[data-map="true"] { grid-template-columns: minmax(0, .82fr) minmax(0, 1.14fr); gap: 34px; }
.ups-grid[data-map="true"] .ups-panel { grid-column: 1; }
.ups-map-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 11px 14px;
  gap: 5px 14px;
  color: var(--ups-muted);
  font-size: 12px;
  line-height: 1.8;
}
.ups-map-bar strong { font-size: 14px; color: var(--ups-ink); }
.ups-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5;
  isolation: isolate;
  direction: ltr;
  border-block: 1px solid #3d373d;
  background: #1b191d;
  container-type: inline-size;
}
.ups-art img, .ups-wires { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ups-wires { fill: none; stroke: #ffc485; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; opacity: .78; filter: drop-shadow(0 0 5px #d89150); }
.ups-art[data-placing="true"], .ups-art[data-placing="true"] .ups-marker { cursor: crosshair; }
.ups-art[data-no-image="true"] { display: none; }
.ups-room-name { position: absolute; left: var(--room-x); top: var(--room-y); transform: translate(-50%, -50%); color: #f5d6af; font-size: clamp(9px, 1.8cqw, 22px); font-weight: 700; text-shadow: 0 1px 4px #000, 0 2px 9px #000; pointer-events: none; white-space: nowrap; }
.ups-room-name[data-zone="counter"] { --room-x: 75%; --room-y: 77%; }
.ups-room-name[data-zone="equipment"] { --room-x: 75%; --room-y: 12.6%; }
.ups-room-name[data-zone="cold"] { --room-x: 20.5%; --room-y: 12.6%; }
.ups-room-name[data-zone="sales"] { --room-x: 50%; --room-y: 54%; }
.ups-room-name[data-zone="entrance"] { --room-x: 50%; --room-y: 93%; }
.ups-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: max(44px, 4.8cqw);
  height: max(44px, 4.8cqw);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffe0b1;
  cursor: pointer;
  touch-action: manipulation;
}
.ups-marker span {
  display: grid;
  place-items: center;
  width: clamp(23px, 3.3cqw, 41px);
  aspect-ratio: 1;
  border: 1px solid #dfad76;
  border-radius: 50%;
  background: #4c3825e8;
  box-shadow: 0 0 16px #ecab625e;
}
.ups-marker svg { width: 68%; height: 68%; }
.ups-marker small { position: absolute; right: 83%; top: 30%; font-size: clamp(10px, 1.55cqw, 18px); font-weight: 700; white-space: nowrap; text-shadow: 0 2px 6px #18130d; pointer-events: none; }
.ups-marker:is([data-state="off"], [data-state="suggested"]) span { background: #282528e8; border-color: #b6a593; color: #e1cfb8; box-shadow: 0 0 6px #000a; }
.ups-marker:hover span, .ups-marker[aria-pressed="true"] span { box-shadow: 0 0 0 4px #fbc58533, 0 0 18px #ecab6288; border-color: #ffd6a7; }
.ups-marker:focus-visible { outline: 2px solid #ffe4bf; outline-offset: 1px; z-index: 1; }
.ups-map-notice { position: absolute; bottom: 2%; left: 50%; translate: -50% 0; width: max-content; max-width: 88%; border-radius: 6px; padding: 3px 10px; font-size: clamp(10px, 1.4cqw, 15px); color: var(--ups-ink); background: #242127ed; direction: rtl; }
.ups-legend { justify-content: flex-start; min-height: 42px; }
.ups-legend span { display: flex; gap: 7px; align-items: center; }
.ups-legend i { box-sizing: border-box; display: inline-block; border: 1px solid #eab67c; border-radius: 50%; width: 10px; height: 10px; background: #d4a67566; }
.ups-legend .ups-open-dot { border-color: #ad9e8f; background: transparent; }
.ups-legend .ups-line-key { width: 17px; height: 1px; border: none; border-radius: 0; background: var(--ups-copper); }
.ups-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  min-height: 38px;
  color: var(--ups-ink);
  font: inherit;
  line-height: 1.4;
  border: 1px solid #5b5049;
  border-radius: 6px;
  background: #2d282b;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.ups-button:hover:not(:disabled), .ups-button[aria-pressed="true"] { border-color: #bc8b5c; background-color: #423125; }
.ups-button:disabled { opacity: .5; cursor: default; }
.ups-button:focus-visible, .ups-flow :is(input, select, summary, a):focus-visible { outline: 2px solid #ffca94; outline-offset: 2px; }
.ups-primary, .ups-primary:hover:not(:disabled) { color: #272018; background: #efb478; border-color: #ebad72; font-weight: 700; }
.ups-primary:hover:not(:disabled) { background: #ffd0a0; }
.ups-secondary { border-color: #956b48; color: #f5c08b; background: #352a22; }
.ups-quiet { color: var(--ups-muted); background: transparent; border-color: transparent; }
.ups-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.ups-entry-modes { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.ups-device-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 10px; }
.ups-mode-link { margin-block: 6px; }
.ups-foot { margin-top: auto; padding-top: 16px; flex-direction: row-reverse; justify-content: space-between; }
.ups-foot .ups-primary { min-height: 44px; }
.ups-form { display: grid; gap: 8px; margin-block: 8px; padding-block: 8px; border-block: 1px solid var(--ups-border); }
.ups-form details { color: var(--ups-muted); }
.ups-form details[open] > summary { margin-bottom: 8px; }
.ups-form details > :not(summary) { margin-bottom: 7px; }
.ups-form summary { cursor: pointer; }
.ups-device-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 7px 9px; border: 1px solid #76583e; background: #382c25; border-radius: 6px; }
.ups-device-head span { font-size: 11px; color: var(--ups-copper); }
.ups-field, .ups-range { display: grid; gap: 3px; color: var(--ups-muted); }
.ups-field-pair, .ups-range > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ups-field :is(input, select), .ups-range input {
  min-width: 0;
  width: 100%;
  min-height: 37px;
  border: 1px solid #665850;
  border-radius: 5px;
  background: #29262b;
  color: var(--ups-ink);
  padding: 5px 8px;
  font: inherit;
}
.ups-range input::placeholder { direction: rtl; font-size: 11px; color: #c0b2a9; }
.ups-segments { margin: 0; padding: 0; border: 0; min-width: 0; }
.ups-segments legend { margin-bottom: 5px; font-weight: 700; }
.ups-segments div { display: flex; flex-wrap: wrap; gap: 5px; }
.ups-segments label { position: relative; cursor: pointer; }
.ups-segments label input { position: absolute; inset-inline-start: 5px; opacity: 0; }
.ups-segments label span { display: block; padding: 6px 8px; border-radius: 5px; border: 1px solid #61534d; }
.ups-segments label input:checked + span { background: #423125; border-color: #bf8d5c; }
.ups-segments label input:focus-visible + span { outline: 2px solid #ffd3a1; outline-offset: 2px; }
.ups-duration { margin-block: 11px 7px; }
.ups-duration .ups-button { min-height: 34px; font-size: 12px; padding-inline: 7px; }
.ups-time-form { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.ups-callout { margin: 8px 0; padding: 9px 10px; border-inline-start: 2px solid #b27b4d; border-radius: 5px; background: #382c24; color: #f0dfcb; }
.ups-callout strong { color: #f6c895; }
.ups-callout p { margin: 2px 0 6px; }
.ups-supply-form { border: 0; padding: 0; margin-block: 6px; }
.ups-source { color: #f4c192; text-underline-offset: 3px; }
.ups-hint { margin-block: 6px; color: var(--ups-muted); }
.ups-device-list, .ups-loads, .ups-matches { list-style: none; padding: 0; margin: 4px 0; }
.ups-row, .ups-check { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 37px; padding-inline: 6px; }
.ups-row { text-align: start; }
.ups-device-list li + li { margin-block-start: 4px; }
.ups-row small, .ups-loads small, .ups-matches small { color: var(--ups-muted); font-size: 11px; }
.ups-row > small { margin-inline-start: auto; }
.ups-row input, .ups-check input { accent-color: var(--ups-copper); width: 16px; height: 16px; flex-shrink: 0; }
.ups-checks { margin: 7px 0; }
.ups-checks div, .ups-loads li { display: flex; justify-content: space-between; gap: 4px 10px; padding: 6px 0; border-bottom: 1px solid #443c42; }
.ups-checks dd { text-align: end; color: var(--ups-muted); margin: 0; }
.ups-loads li[data-highlight="true"] { border-bottom-color: var(--ups-copper); background: #352b26; }
.ups-loads small { display: block; }
.ups-totals { display: grid; grid-template-columns: 1.35fr 1fr; gap: 7px; margin: 0 0 11px; }
.ups-totals > div { background: #30282a; padding: 8px 9px; border: 1px solid #5e4e45; border-radius: 6px; }
.ups-totals dt { color: var(--ups-muted); font-size: 11px; }
.ups-totals dd { font-size: clamp(15px, 1.4vw, 21px); font-weight: 700; color: #f4c495; margin: 2px 0 0; }
.ups-matches li { margin: 4px 0 7px; padding: 8px; background: #29262b; border: 1px solid #554847; border-radius: 6px; }
.ups-matches li > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.ups-matches p { margin: 4px 0 7px; color: #eac5a5; }
.ups-runtime-evidence { font-size: 12px; color: var(--ups-muted); margin-block: 10px; }
.ups-runtime-evidence summary { cursor: pointer; }
.ups-message { margin: 10px 0 0; color: #ffd2b8; }
.ups-message:empty { display: none; }

@media (max-width: 760px) {
  .ups-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ups-panel, .ups-map { grid-row: auto; grid-column: auto; min-height: auto; }
  .ups-panel { padding: 12px; }
  .ups-panel .ups-button, .ups-panel :is(input:not([type=checkbox], [type=radio]), select), .ups-row { min-height: 44px; }
  .ups-segments label span { min-height: 44px; display: grid; align-items: center; }
  .ups-heading { margin-block: 12px; }
  .ups-steps { justify-content: space-between; gap: 4px; }
  .ups-steps .ups-button { font-size: 11px; }
  .ups-map-bar { padding: 8px 10px; }
}
@media (max-width: 430px) {
  .department-page[data-page="ups"] .page-heading { display: none; }
  .ups-room-name[data-zone="equipment"] { --room-x: 73%; }
}

.ups-flow-footer { display: flex; justify-content: space-between; gap: 16px; align-items: center; direction: ltr; padding-block: 15px 2px; border-top: 1px solid var(--ups-border); }
.ups-flow-footer .ups-actions { direction: rtl; }
.ups-flow-footer .ups-primary { gap: 12px; min-height: 46px; padding-inline: 18px; }
.ups-info-card { grid-column: 1; grid-row: 1; padding: clamp(24px, 3vw, 42px); direction: rtl; background: linear-gradient(130deg, #312923, #242226 70%); }
.ups-info-card h2 { margin-block: 28px 12px; font-size: clamp(21px, 2vw, 28px); font-weight: 700; line-height: 1.7; }
.ups-info-card p { font-size: 14px; line-height: 2; color: var(--ups-muted); }
.ups-info-symbol { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; border: 1px solid #9d7655; color: var(--ups-copper); background: #503b2e66; font: 26px/1 sans-serif; }
.ups-choices { display: grid; gap: 11px; margin-block: 4px 16px; }
.ups-choices-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.ups-choice { display: flex; gap: 11px; justify-content: flex-start; text-align: right; width: 100%; min-height: 74px; padding: 12px; background: #29272c; border-color: #49434a; border-radius: 11px; }
.ups-choice > span:nth-child(2) { flex: 1; min-width: 0; }
.ups-choice strong { display: block; font-weight: 700; font-size: 14px; }
.ups-choice small { display: block; font-size: 11px; line-height: 1.8; color: var(--ups-muted); margin-top: 4px; }
.ups-choice-icon { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border: 1px solid #655043; border-radius: 9px; background: #49372e66; color: var(--ups-copper); font: 21px/1 sans-serif; }
.ups-choice-mark { color: #a89684; font: 17px/1 sans-serif; }
.ups-choice[aria-pressed="true"], .ups-choice-check:has(input:checked) { background: linear-gradient(110deg, #433127, #2e2929); border-color: #b38756; }
.ups-choice[aria-pressed="true"] .ups-choice-mark { color: var(--ups-copper); }
.ups-choice-check { cursor: pointer; }
.ups-choice-check input { width: 17px; height: 17px; accent-color: var(--ups-copper); flex: none; }
.ups-list-heading { margin-top: 20px !important; font-size: 15px !important; }
.ups-result-section { margin-top: 24px !important; margin-bottom: 10px !important; font-size: 18px !important; }
.ups-runtime-status { margin-block: 10px 18px; padding-block: 8px; border-block: 1px solid var(--ups-border); color: var(--ups-muted); }
.ups-runtime-status summary { cursor: pointer; }
.ups-runtime-table { margin-block: 12px; }
.ups-table-scroll { max-width: 100%; overflow-x: auto; margin-block: 10px; }
.ups-runtime-table table { width: 100%; min-width: 360px; border-collapse: collapse; font-size: 11px; }
.ups-runtime-table caption { text-align: start; padding-block: 6px; }
.ups-runtime-table th, .ups-runtime-table td { padding: 7px 5px; border: 1px solid var(--ups-border); text-align: center; white-space: nowrap; }
.ups-runtime-table th:first-child { text-align: start; white-space: normal; min-width: 130px; }
.ups-runtime-table th small { display: block; color: var(--ups-muted); font-weight: normal; }
.ups-form { border: 0; padding: 0; margin-block: 12px; gap: 12px; }
.ups-field { gap: 7px; font-size: 12px; }
.ups-field :is(input, select), .ups-range input { min-height: 46px; border-radius: 8px; font-size: 14px; }
.ups-field textarea { min-width: 0; width: 100%; resize: vertical; padding: 14px; border: 1px solid #665850; border-radius: 8px; background: #29262b; color: var(--ups-ink); font: inherit; font-size: 15px; line-height: 2; }
.ups-field-pair { gap: 12px; }
.ups-candidate { margin: 0; padding: 12px; border: 1px solid var(--ups-border); border-radius: 8px; min-width: 0; display: grid; gap: 10px; }
.ups-candidate legend { padding-inline: 5px; color: var(--ups-copper); }
.ups-evidence { font-size: 11px; line-height: 1.8; color: var(--ups-muted); }
.ups-device-list li + li { margin-top: 10px; }
.ups-device-list .ups-row { border: 1px solid var(--ups-border); border-radius: 10px; background: #29272c; min-height: 62px; padding: 12px; }
.ups-row:has(input:checked), .ups-row[aria-pressed="true"], .ups-row[data-highlight="true"] { border-color: #b38756; background: #3c2f27; }
.ups-row[data-highlight="true"] { outline: 2px solid #e6b077; outline-offset: 2px; }
.ups-map-badge { border: 1px solid #78563e; color: #efb478; padding: 1px 7px; border-radius: 4px; background: #3c2d26; font-size: 11px; }
.ups-map-caption { min-height: 45px; border-top: 1px solid var(--ups-border); }
.ups-map-caption > span { display: block; width: 100%; }
.ups-map-selection:empty { display: none; }
.ups-map-selection { padding: 5px 12px; font-size: 11px; color: var(--ups-copper); }
.ups-scene { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.ups-flow[data-step="advanced"] .ups-scene { touch-action: none; }
.ups-scene[hidden] { display: none; }
.ups-scene-labels { position: absolute; inset: 0; pointer-events: none; }
.ups-object-label, .ups-proposed-point { position: absolute; translate: -50% -50%; padding: 5px 8px; border: 1px solid #ab875e; border-radius: 5px; background: #29221ee8; color: #f2d2ab; font: inherit; font-size: clamp(9px, 1.8cqw, 12px); white-space: nowrap; pointer-events: auto; cursor: pointer; direction: rtl; min-height: 32px; }
.ups-object-label[data-state="off"] { border-color: #6b6260; color: #d2c5ba; background: #252329e8; }
.ups-object-label[aria-pressed="true"] { outline: 2px solid #ffc789; outline-offset: 3px; }
.ups-art[data-placing="true"] .ups-object-label { pointer-events: none; opacity: .45; }
.ups-proposed-point { color: #f5c598; border-style: dashed; pointer-events: none; }
.ups-proposed-point::after { content: ""; display: block; position: absolute; top: 100%; left: 50%; height: 18px; border-left: 1px dashed #e0a467; }
.ups-scene-fallback { position: absolute; inset: 25% 8%; line-height: 2; text-align: center; color: var(--ups-muted); font-size: 14px; direction: rtl; }
.ups-layout-warning { position: absolute; bottom: 8px; left: 12px; right: 12px; padding: 9px; margin: 0; border: 1px solid #a87c51; border-radius: 6px; background: #29221ef0; color: #f2d2ab; font-size: 12px; line-height: 1.8; direction: rtl; pointer-events: none; }
.ups-map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px; }
.ups-map-tools .ups-check { width: auto; font-size: 12px; }
.ups-duration .ups-button { min-height: 45px; padding-inline: 13px; font-size: 13px; }
.ups-duration legend { margin-bottom: 15px; }
.ups-grid:has(.ups-candidate), .ups-flow[data-step="advanced"] .ups-grid { align-items: start; }
.ups-grid:has(.ups-candidate) .ups-info-card { position: sticky; top: 20px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .ups-grid, .ups-grid[data-map="true"] { gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .ups-choice { gap: 8px; padding: 9px; }
  .ups-choice-icon { width: 31px; height: 34px; }
  .ups-choice strong { font-size: 12px; }
}
@media (max-width: 760px) {
  .department-page[data-page="ups"] { --ups-pad: 24px; --shell-left: 0px; }
  .department-page[data-page="ups"] .page-back { font-size: 11px; min-height: 38px; }
  .ups-flow { min-height: calc(100dvh - 154px); }
  .ups-breadcrumb { order: -1; font-size: 11px; gap: 8px; }
  .ups-grid, .ups-grid[data-map="true"] { display: contents; }
  .ups-steps { order: 0; }
  .ups-grid .ups-panel { padding: 0; order: 1; margin-block: 28px 0; }
  .ups-grid :is(.ups-map, .ups-info-card) { order: 3; margin-block: 24px 12px; }
  .ups-info-card { padding: 22px; }
  .ups-info-card h2 { margin-top: 18px; }
  .ups-heading h1 { font-size: 28px; }
  .ups-flow[data-step="result"] .ups-grid[data-aside="false"] .ups-matches { grid-template-columns: minmax(0, 1fr); }
  .ups-heading { margin-bottom: 22px; }
  .ups-choice { min-height: 73px; padding: 10px; gap: 8px; }
  .ups-choice strong { font-size: 12px; }
  .ups-choice small { font-size: 10px; }
  .ups-choice-icon { width: 30px; height: 35px; }
  .ups-flow-footer { order: 2; flex-wrap: wrap; margin-block: 20px 0; }
  .ups-flow-footer .ups-primary { font-size: 12px; }
  .ups-grid:has(.ups-candidate) .ups-info-card { position: static; }
  .ups-map-bar { font-size: 11px; }
  .ups-object-label { min-height: 36px; max-width: 80%; white-space: normal; }
}


.office-backup {
  --office-ink: #f1f1f3;
  --office-muted: #bac0cc;
  --office-border: #3b404b;
  --office-accent: #ffa96d;
  width: min(100%, 1160px);
  margin-inline: auto;
  padding: clamp(8px, 2.3vh, 28px) 0 32px;
  color: var(--office-ink);
  line-height: 1.7;
}
.department-page[data-ups-view="office"] {
  background: radial-gradient(ellipse at 83% 0, #2c303a 0, transparent 50%), #171a21;
}
.department-page[data-ups-view="office"] .room-shell { opacity: .34; }
.office-heading { margin-block-end: clamp(16px, 2.6vh, 28px); }
.office-heading p { margin: 5px 0 0; font-size: 13px; color: var(--office-muted); }
.office-heading h1 {
  margin: 0;
  font-size: clamp(25px, 3.8vw, 45px);
  font-weight: 650;
  line-height: 1.24;
  letter-spacing: -.025em;
}
.office-heading h1:focus { outline: none; }
.office-heading :is(h1 span, a) { color: var(--office-accent); }
.office-workspace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 2.2vw, 29px); align-items: start; }
.office-input, .office-results, .office-visual {
  min-width: 0;
  border: 1px solid var(--office-border);
  border-radius: 16px;
  padding: clamp(14px, 2vw, 26px);
  background: #20242df2;
}
.office-results { grid-column: 1 / -1; background: #1c2029f5; }
.office-backup[data-entry="total"] .office-results { grid-column: auto; }
.office-visual { position: sticky; top: 0; background: #232a34; }
.office-visual[hidden] { display: none; }
.office-map-head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-block-end: 13px; }
.office-map-head p { margin: 3px 0 0; font-size: 12px; color: var(--office-muted); }
.page-body .office-map-head h2, .page-body .office-input-heading h2, .page-body .office-results h2, .office-time legend {
  display: flex; align-items: center; gap: 8px;
}
.office-backup h2 > .ui-icon, .office-time legend .ui-icon { color: var(--office-accent); }
.office-map-views { display: flex; flex-wrap: wrap; gap: 5px; }
.office-map-views .office-button { padding-inline: 8px; }
.office-map {
  padding: clamp(8px, 2vw, 22px);
  border: 1px solid #495566;
  border-radius: 12px;
  background: radial-gradient(ellipse at 77% 8%, #a8bbca, transparent 65%), #71879c;
}
.office-map-board {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.65fr) minmax(0, .93fr);
  grid-template-rows: repeat(2, minmax(103px, auto));
  grid-template-areas: "internet work lights" "cameras work other";
  gap: 5px;
  min-height: clamp(215px, 23vw, 315px);
  padding: 6px;
  border: 1px solid #dce6ed;
  background: #8598aa;
  box-shadow: 0 4px 0 #5b7186, 0 8px 0 #4f6377, 0 14px 21px #2b3e57b3;
}
.office-zone {
  direction: rtl;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  border: 1px solid #718498;
  border-top: 3px solid #f3f8fc;
  border-inline-end: 3px solid #d9e4ed;
  border-radius: 0 0 4px 4px;
  padding: 4px 4px 6px;
  background:
    repeating-linear-gradient(0deg, transparent 0 21px, #7e92a526 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 21px, #7e92a526 21px 22px), #cdd9e3;
  box-shadow: inset 5px 6px 8px #6b839b38, inset -3px -3px 7px #f4f8fc8f;
  color: #172533;
  cursor: pointer;
}
.office-zone:hover { border-color: #3e556c; background-color: #e0ebf2; }
.office-zone[data-powered="true"] {
  border-bottom-color: #c57d48;
  background-color: #e3eaf1;
  box-shadow: inset 0 -2px 0 #ee9a5e, inset 5px 6px 8px #6b839b2b;
}
.office-zone[aria-current="true"] { outline: 2px solid #334f6a; outline-offset: -3px; }
.office-zone:focus-visible { z-index: 1; }
.office-zone--work { grid-area: work; }
.office-zone--internet { grid-area: internet; }
.office-zone--lights { grid-area: lights; }
.office-zone--cameras { grid-area: cameras; }
.office-zone--other { grid-area: other; }
.office-zone-label {
  display: grid;
  justify-items: center;
  line-height: 1.45;
  border-radius: 4px;
  padding: 2px 0;
  background: #eef4f8d9;
}
.office-zone-label strong { font-size: clamp(10px, 1.25vw, 14px); font-weight: 700; }
.office-zone-label small { font-size: 10px; color: #3c5165; }
.office-zone[data-powered="true"] .office-zone-label small { color: #7f4018; }
.office-zone-art { position: relative; flex: 1; display: grid; place-items: center; min-height: 39px; width: 100%; }
.office-zone--work .office-zone-art {
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(7px, 1.2vw, 15px);
  padding: 9px 2px 17px;
}
.office-desk {
  position: relative;
  display: inline-block;
  width: min(38%, 54px);
  min-height: 28px;
  aspect-ratio: 1.35;
  border: 1px solid #a4b4c3;
  border-radius: 4px;
  background: linear-gradient(150deg, #f8fbff, #d2dce6);
  box-shadow: inset 0 2px 1px #fff, 0 3px 0 #8b9baa, 2px 5px 5px #50647c7a;
}
.office-desk::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -10px;
  left: 35%;
  width: 31%;
  height: 11px;
  background: #64788a;
  border-radius: 25% 25% 50% 50%;
  box-shadow: 1px 3px 3px #53667b8a;
}
.office-desk span {
  position: absolute;
  top: 16%;
  left: 25%;
  width: 50%;
  height: 48%;
  border: 2px solid #677d90;
  border-radius: 3px;
  background: #8396a9;
  box-shadow: 0 3px 0 #65798a;
}
.office-desk.is-powered span { border-color: #935a31; background: #ffc091; box-shadow: 0 2px 0 #9c6240, 0 0 9px #ffa268; }
.office-desk-batches { display: grid; width: min(100%, 160px); gap: 5px; }
.office-desk-batch {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid #8ea4b7; border-radius: 6px; padding: 2px 4px; background: #ecf3f8;
}
.office-desk-batch.is-powered { border-color: #bd8055; background: #ffdfc5; }
.office-desk-batch strong { font-size: 14px; }
.office-desk-batch small { font-size: 10px; }
.office-symbol {
  width: clamp(23px, 5vw, 49px);
  aspect-ratio: 1.33;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1px solid #8094a8;
  background: linear-gradient(150deg, #f3f8fc, #b1c1d0);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 #7f93a6, 3px 6px 8px #4259726b;
}
.office-symbol span { display: block; width: 47%; height: 30%; border-radius: 3px; background: #788da0; }
.office-symbol.is-powered span { background: #d1844b; box-shadow: 0 0 10px #fc9e57aa; }
.office-symbol--internet::before, .office-symbol--internet::after {
  position: absolute;
  content: "";
  top: -28%;
  width: 3px;
  height: 65%;
  border-radius: 2px;
  background: #50677c;
}
.office-symbol--internet::before { left: 18%; }
.office-symbol--internet::after { right: 18%; }
.office-symbol--lights { width: 55%; max-width: 53px; aspect-ratio: 2.3; }
.office-symbol--lights span { width: 72%; height: 30%; box-shadow: 0 5px 0 #788da0; }
.office-symbol--lights.is-powered span { background: #ffc17c; box-shadow: 0 5px 0 #f4914d, 0 0 11px #e77731; }
.office-symbol--cameras { width: 32%; min-width: 16px; transform: rotate(-18deg); }
.office-symbol--cameras span { width: 43%; height: 50%; border-radius: 50%; border: 1px solid #536d83; }
.office-symbol--other { width: 41%; aspect-ratio: .81; }
.office-map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; margin-block-start: 13px; font-size: 11px; color: var(--office-muted); }
.office-map-foot span { display: inline-flex; align-items: center; gap: 6px; }
.office-map-foot i { width: 7px; height: 7px; border-radius: 50%; background: var(--office-accent); box-shadow: 0 0 6px #f69b59; }
.page-body .office-backup h2 { margin: 0; font-size: clamp(16px, 1.7vw, 21px); font-weight: 650; line-height: 1.55; }
.office-input-heading { display: flex; justify-content: space-between; flex-wrap: wrap; column-gap: 16px; align-items: center; margin-block-end: 15px; }
.office-backup :is(button, input, select) { font: inherit; }
.office-backup :is(button, a, select, summary, input):focus-visible { outline: 2px solid var(--office-accent); outline-offset: 3px; }
.office-backup a { color: var(--office-accent); text-underline-offset: 4px; }
.office-backup .office-link-button {
  border: 0;
  background: transparent;
  color: var(--office-accent);
  cursor: pointer;
  padding: 6px 0;
  min-height: 42px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-align: start;
  font-size: 13px;
}
.office-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.office-button {
  color: var(--office-ink);
  border: 1px solid var(--office-border);
  border-radius: 9px;
  background: #262b36;
  min-height: 44px;
  cursor: pointer;
  text-align: start;
}
.office-button:hover { border-color: #737c8b; }
.office-backup button[aria-pressed="true"] { border-color: #b5724d; background: #3a2d2a; }
.office-sample { margin-block-start: 6px; }
.office-task-detail { border-block-start: 1px solid var(--office-border); padding-block-start: 12px; margin-block-start: 14px; }
.office-task-detail header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-block-end: 7px; }
.office-task-detail h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 0; }
.office-task-detail h3 svg { color: #b8d2e6; }
.office-editor-actions { display: flex; flex-wrap: wrap; gap: 0 16px; margin-block-start: 2px; }
.office-check { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--office-muted); min-height: 32px; cursor: pointer; }
.office-backup input[type="checkbox"] { accent-color: var(--office-accent); width: 16px; height: 16px; flex: none; }
.office-load { display: grid; gap: 5px; padding-block-start: 5px; }
.office-load + .office-load { border-block-start: 1px solid var(--office-border); margin-block-start: 8px; padding-block-start: 12px; }
.office-custom { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.office-counts { margin-block-end: 0; }
.office-stepper { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; border: 1px solid #505765; border-radius: 8px; background: #171b23; }
.office-stepper input { text-align: center; border: 0; background: transparent; padding-inline: 0; }
.office-icon-button, .office-product-close { display: inline-grid; place-items: center; padding: 0; min-height: 42px; border: 0; background: transparent; color: var(--office-ink); cursor: pointer; border-radius: 7px; }
.office-icon-button:not(:disabled):hover { color: var(--office-accent); background: #2a303b; }
.office-icon-button:disabled, .office-phase-shortcuts button:disabled { opacity: .4; cursor: default; }
.office-stepper:has(input[aria-invalid="true"]) { border-color: #ff8d7d; }
.office-reading { min-width: 0; font-size: 12px; align-self: end; color: var(--office-muted); }
.office-reading summary, .office-ups summary { padding-block: 10px; cursor: pointer; }
.office-reading summary { display: flex; gap: 7px; align-items: center; list-style: none; }
.office-reading summary::-webkit-details-marker, .office-time-custom summary::-webkit-details-marker { display: none; }
.office-reading summary .ui-icon:last-child { margin-inline-start: auto; }
.office-reading[open] summary .ui-icon:last-child { transform: rotate(-90deg); }
.office-field { display: grid; gap: 4px; font-size: 12px; color: var(--office-muted); min-width: 0; }
.office-field :is(input, select) {
  max-width: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  border: 1px solid #505765;
  border-radius: 7px;
  padding: 6px 10px;
  color: var(--office-ink);
  background: #171b23;
  color-scheme: dark;
  font-size: 16px;
}
.office-field input[aria-invalid="true"] { border-color: #ff8d7d; }
.office-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block-end: 7px; }
.office-note, .office-source { color: var(--office-muted); font-size: 12px; margin-block: 6px; }
.office-estimate { color: var(--office-accent); font-size: 12px; margin: 4px 0; }
.office-estimate:empty { display: none; }
.office-power-basis { border-block-start: 1px solid var(--office-border); margin-block-start: 12px; padding-block-start: 8px; color: var(--office-muted); font-size: 12px; }
.office-power-basis summary { cursor: pointer; }
.office-margin { max-width: 230px; margin-block-start: 8px; }
.office-photo { border-block-start: 1px solid var(--office-border); margin-block-start: 10px; padding-block-start: 8px; }
.office-photo .office-upload-trigger { position: relative; display: inline-flex; gap: 7px; align-items: center; min-height: 42px; padding: 3px 10px; border: 1px solid #505765; border-radius: 7px; cursor: pointer; }
.office-upload-trigger:focus-within { outline: 2px solid var(--office-accent); outline-offset: 2px; }
.office-upload-trigger input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.office-photo img { display: block; max-width: 100%; max-height: 260px; margin-block-start: 8px; border-radius: 7px; object-fit: contain; }
.office-photo p:empty { display: none; }
.office-time { min-width: 0; border: 0; border-block-start: 1px solid var(--office-border); padding: 12px 0 0; margin: 20px 0 0; }
.office-time legend { float: right; font-weight: 650; margin-block-end: 9px; font-size: 14px; }
.office-times { display: flex; flex-wrap: wrap; gap: 6px; margin-block-end: 9px; clear: both; }
.office-backup .office-button { font-size: 13px; text-align: center; padding: 5px 11px; white-space: nowrap; }
.office-quick { display: none; }
.office-brief {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-block-end: 14px; padding: 9px 11px; border: 1px solid #554c47; border-radius: 9px; background: #282831;
}
.office-brief[hidden] { display: none; }
.office-brief strong, .office-brief span { display: block; }
.office-brief strong { font-size: 13px; }
.office-brief span { color: var(--office-muted); font-size: 12px; }
.office-time-custom { max-width: 160px; }
.office-time-custom summary { display: flex; align-items: center; gap: 5px; min-height: 35px; font-size: 12px; list-style: none; color: var(--office-accent); cursor: pointer; }
.office-phase-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 4px 7px; }
.office-quick button { display: inline-flex; align-items: center; gap: 5px; }
.office-field-error, .office-plan .office-field-error { color: #ffb4a7; font-size: 12px; margin: 2px 0 0; }
.office-field-error:empty { display: none; }
.office-sample-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 10px; font-size: 13px; color: var(--office-muted); }
.office-phase-input { margin-block: 14px; }
.office-phase-input .office-field { max-width: 250px; }
.office-phases { padding-inline-start: 25px; margin-block: 8px; color: var(--office-muted); font-size: 13px; }
.office-phase-track { display: flex; gap: 3px; block-size: 8px; margin-block-start: 8px; }
.office-phase-track span { border-radius: 5px; background: var(--office-accent); }
.office-phase-track span + span { background: #9cb9d2; }
.office-outcome { margin-block-start: 10px; }
.office-result-time, .office-empty { color: var(--office-muted); font-size: 13px; margin-block: 0 12px; }
.office-empty { margin-block-start: 12px; }
.office-plan { min-width: 0; padding: 12px; border: 1px solid var(--office-border); border-radius: 10px; background: #252a35; overflow-wrap: anywhere; }
.office-plan[data-office-plan="full"] { border-color: #8d624a; }
.office-plan[data-office-plan="phased"] { margin-block-start: 14px; }
.office-plan h3 { font-size: 14px; margin: 0; }
.office-plan p { font-size: 12px; color: var(--office-muted); margin: 5px 0 12px; }
.office-plan dl { display: grid; gap: 6px; margin: 0; }
.office-plan dt, .office-plan small { font-size: 11px; color: var(--office-muted); }
.office-plan dd { font-size: clamp(14px, 1.55vw, 22px); font-weight: 650; color: var(--office-ink); margin: 0; }
.office-plan dd bdi { font-size: 11px; font-weight: 400; white-space: nowrap; color: var(--office-muted); }
.office-difference { color: var(--office-accent); margin-block: 11px 0; font-size: 13px; }
.office-question { padding-block-start: 12px; margin-block-start: 13px; border-block-start: 1px solid var(--office-border); }
.office-question strong { font-size: 14px; }
.office-plan .office-decision { gap: 0; margin-block-start: 12px; padding: 2px 10px; border-radius: 8px; background: #1e242e; }
.office-decision div { display: grid; grid-template-columns: 53px minmax(0, 1fr); align-items: baseline; gap: 7px; padding-block: 6px; }
.office-decision div + div { border-block-start: 1px solid var(--office-border); }
.office-decision dt { display: flex; align-items: center; gap: 5px; }
.office-decision dt svg { flex: none; }
.office-plan .office-decision dd { font-size: 12px; font-weight: 500; }
.office-decision dd small { display: block; margin-block-start: 2px; }
.office-decision div:last-child dt { color: var(--office-accent); }
.office-decision[data-tone="supported"] div:last-child dt { color: #a5dfc3; }
.office-energy-comparison { display: grid; gap: 5px; max-width: 480px; margin-block-start: 12px; font-size: 12px; }
.office-energy-comparison div { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(42px, auto); gap: 8px; align-items: center; }
.office-energy-comparison i { display: block; block-size: 7px; border-radius: 6px; background: #343e4e; }
.office-energy-comparison b { display: block; block-size: 100%; border-radius: inherit; background: var(--office-accent); }
.office-energy-comparison div + div b { background: #a8c5dd; }
.office-energy-comparison small { color: var(--office-muted); }
.office-question p, .office-ups p { color: var(--office-muted); margin: 3px 0 0; font-size: 12px; }
.office-ups { margin-block-start: 8px; color: var(--office-muted); font-size: 13px; }
.office-ups summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid #4d5869;
  border-radius: 8px;
  color: var(--office-ink);
  background: #1c212b;
  list-style: none;
}
.office-ups summary::-webkit-details-marker { display: none; }
.office-ups summary small { display: block; color: var(--office-muted); }
.office-ups-thumb { display: grid; place-items: center; width: 53px; height: 50px; border-radius: 5px; background: #eef2f7; }
.office-ups-thumb img { width: 91%; height: 91%; object-fit: contain; mix-blend-mode: multiply; }
.office-ups-arrow { font-size: 22px; line-height: 1; padding-inline: 3px; }
.office-ups[open] .office-ups-arrow { transform: rotate(-90deg); }
.office-ups ul { list-style: none; padding: 0; margin: 8px 0 0; }
.office-ups li + li { margin-block-start: 6px; }
.office-ups-product { width: 100%; display: grid; grid-template-columns: clamp(64px, 9vw, 104px) minmax(0, 1fr) auto; align-items: center;
  gap: 10px; padding: 7px; border: 1px solid #444c59; border-radius: 8px; color: var(--office-ink); background: #1e242e; text-align: start; cursor: pointer; }
.office-ups-product:hover { border-color: #9cb6cc; background: #28313d; }
.office-product-photo { min-width: 0; display: grid; place-items: center; background: #eef3f8; border-radius: 5px; }
.office-product-photo img { width: 95%; height: 68px; padding: 2px; object-fit: contain; mix-blend-mode: multiply; }
.office-ups-product-body { min-width: 0; display: grid; align-content: start; gap: 2px; }
.office-ups-product-body strong { font-size: 15px; }
.office-ups-product-body > span, .office-ups-product-body small { font-size: 11px; color: var(--office-muted); }
.office-product-status { display: flex; align-items: center; gap: 4px; }
.office-product-status .ui-icon, .office-product-chevron { color: var(--office-accent); }
.office-product-dialog { color: var(--office-ink); background: #1c232e; border: 1px solid #526174; border-radius: 18px;
  width: min(720px, calc(100% - 32px)); max-width: none; max-height: 88vh; max-height: 88dvh; padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 20px 80px #080c17ba; overscroll-behavior: contain; }
.office-product-dialog::backdrop { background: #0b111ad6; backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
  .office-ups-product, .office-icon-button { transition: background-color .16s, border-color .16s, color .16s; }
  .office-product-dialog[open] { animation: office-product-in .2s ease-out; }
  @keyframes office-product-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
.office-product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-block-end: 15px; }
.office-product-head p { margin: 0 0 3px; font-size: 12px; color: var(--office-muted); }
.page-body .office-backup .office-product-head h2 { font-size: clamp(22px, 4vw, 30px); }
.office-product-close { min-width: 44px; min-height: 44px; border: 1px solid #546176; }
.office-product-close:hover { color: var(--office-accent); background: #2a3342; }
.office-product-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: stretch; gap: 15px; }
.office-product-detail figure { margin: 0; min-width: 0; display: grid; place-items: center; align-content: center; padding: 12px; border-radius: 9px;
  background: radial-gradient(ellipse at 50% 40%, #fff, #d8e5f2); color: #384f66; }
.office-product-detail figure img { width: 100%; height: clamp(123px, 21vh, 258px); object-fit: contain; mix-blend-mode: multiply; }
.office-product-detail figcaption { font-size: 11px; margin-block-start: 3px; }
.office-product-facts { min-width: 0; display: grid; gap: 12px; }
.office-product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; }
.office-product-specs div, .office-product-run { border: 1px solid #485568; border-radius: 8px; padding: 8px 10px; }
.office-product-specs dt, .office-product-run h3, .office-product-run span, .office-product-evidence summary { display: flex; gap: 6px; align-items: center; }
.office-product-specs dt, .office-product-run span { color: var(--office-muted); font-size: 12px; }
.office-product-specs dd { margin: 2px 0 0; font-size: 17px; font-weight: 650; }
.office-product-run { display: grid; gap: 4px; align-content: start; }
.office-product-run h3 { margin: 0; font-size: 14px; }
.office-product-run strong { font-size: 16px; }
.office-product-run p, .office-product-evidence p { margin: 2px 0; color: var(--office-muted); font-size: 12px; }
.office-product-run h3 svg, .office-product-specs dt svg { color: var(--office-accent); }
.office-product-evidence { border-block-start: 1px solid #485568; margin-block-start: 14px; padding-block-start: 8px; font-size: 13px; }
.office-product-evidence summary { min-height: 34px; cursor: pointer; }
.office-product-evidence div { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 7px; }
.office-product-evidence a { display: inline-flex; gap: 4px; align-items: center; }
@media (max-width: 830px) {
  .office-workspace { grid-template-columns: minmax(0, 1fr); }
  .office-visual { position: static; }
  .office-backup[data-entry="activities"] .office-workspace { row-gap: 0; }
  .office-backup[data-entry="activities"] .office-visual { border-end-start-radius: 0; border-end-end-radius: 0; border-block-end: 0; }
  .office-backup[data-entry="activities"] .office-input { border-start-start-radius: 0; border-start-end-radius: 0; }
  .office-backup[data-entry="activities"] .office-results { margin-block-start: 14px; }
  .office-results { position: static; }
  .office-backup { padding-block-end: calc(92px + env(safe-area-inset-bottom)); }
  .office-quick {
    position: fixed;
    z-index: 3;
    inset-inline: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 7px 10px;
    border: 1px solid var(--office-border);
    border-radius: 10px;
    background: #20242df7;
    font-size: 12px;
  }
}
@media (max-width: 390px) {
  .office-plan { padding: 8px; }
}
@media (max-width: 570px) {
  .office-compare { grid-template-columns: minmax(0, 1fr); }
  .office-map-board { grid-template-rows: repeat(2, minmax(72px, auto)); min-height: 0; }
  .office-zone { padding: 2px 3px 3px; }
  .office-zone-art { min-height: 32px; }
  .office-zone--work .office-zone-art { gap: 9px; padding: 3px 2px 8px; }
  .office-zone-label small { font-size: 9px; }
  .office-product-dialog { margin: auto 0 0; width: 100%; max-height: 94vh; max-height: 94dvh; border-radius: 15px 15px 0 0; padding-block-end: max(18px, env(safe-area-inset-bottom)); }
  .office-product-detail { grid-template-columns: minmax(0, 1fr); gap: 9px; }
}


:is(.second-power-back, .sp-bay-quantity button, .second-power-engineering button, .sp-details,
  .department-page :is(.tactile--primary, .studio-compare, .ups-primary, .office-button, .specialty-slot button[type="submit"])) {
  border: 1px solid transparent;
  border-radius: var(--eelon-action-radius, 11px);
  background:
    var(--eelon-action-face, linear-gradient(#353237, #29272b 60%, #232125)) padding-box,
    linear-gradient(155deg, var(--eelon-action-rim-top, #887062), var(--eelon-action-rim-bottom, #563d34)) border-box;
  color: var(--eelon-action-ink, #f2e4d6);
  box-shadow: var(--eelon-action-shadow, inset 0 1px 1px #ffffff13, inset 0 -1px 2px #100c1099, 0 3px 6px #110d10a8);
  cursor: pointer;
  transition: filter 130ms ease, box-shadow 130ms ease, transform 65ms ease;
}

:is(.second-power-engineering .sp-primary,
  .department-page :is(.tactile--primary, .studio-compare, .ups-primary, [data-office-results], .specialty-slot button[type="submit"])) {
  --eelon-action-rim-top: #ffc99f;
  --eelon-action-rim-bottom: #dc824e;
  --eelon-action-ink: #fff1e4;
  --eelon-action-shadow: inset 0 0 0 2px #181418, inset 0 1px 4px #fff0dc36, 0 0 9px #f791514d, 0 3px 7px #110d10b3;
}

.department-page :is(.tactile--primary, .studio-compare) { text-decoration: none; }
.department-page :is(.tactile--primary, .studio-compare)::after { display: none; }
.department-page .specialty-slot button[type="submit"] { margin: 4px; }

:is(.second-power-engineering button, .department-page .office-button)[aria-pressed="true"] {
  --eelon-action-rim-top: #d79870;
  --eelon-action-rim-bottom: #a56042;
  --eelon-action-face: linear-gradient(#49352c, #34282a 72%, #2e2426);
  --eelon-action-ink: #ffe4c9;
}

@media (hover: hover) {
  :is(.second-power-back, .sp-bay-quantity button, .second-power-engineering button, .sp-details,
    .department-page :is(.tactile--primary, .studio-compare, .ups-primary, .office-button, .specialty-slot button[type="submit"])):hover:not(:disabled) {
    filter: brightness(1.13);
  }
}

:is(.second-power-back, .sp-bay-quantity button, .second-power-engineering button, .sp-details,
  .department-page :is(.tactile--primary, .studio-compare, .ups-primary, .office-button, .specialty-slot button[type="submit"])):focus-visible {
  outline: 2px solid #ffc899;
  outline-offset: 2px;
}
:is(.second-power-engineering button, .department-page :is(.tactile--primary, .studio-compare, .ups-primary, .office-button)):disabled {
  opacity: .53;
  cursor: default;
}
@media (prefers-reduced-motion: reduce) {
  :is(.second-power-back, .sp-bay-quantity button, .second-power-engineering button, .sp-details,
    .department-page :is(.tactile--primary, .studio-compare, .ups-primary, .office-button, .specialty-slot button[type="submit"])) { transition: none; }
}



:root:lang(ar) { font-family: SpVazirmatn, Tahoma, sans-serif; }
:lang(ar) :is(.node-label, .studio-writing, .studio-screen-specs, .studio-key-specs dd bdi, .studio-mobile-metrics dd bdi) {
  font-family: SpVazirmatn, Tahoma, sans-serif;
}
:lang(ar) .plan-drawing text { unicode-bidi: isolate; }
:lang(ar) .second-power-engineering .sp-heading h1 { letter-spacing: normal; }
:lang(ar) .second-power-device { pointer-events: none; }
:lang(ar) .second-power-engineering bdi { unicode-bidi: isolate; }
:lang(ar) input[type="search"] { text-align: start; }
