/* STORE-1 second overview direction: common product slots and label baselines. */
.ex-system-redesign.ex-overview-open .ex-world,
.ex-system-redesign.ex-overview-open .ex-overview-targets { visibility: hidden; pointer-events: none; }
.ex-stage.ex-system-redesign.ex-overview-open .ex-world { opacity: 0; }
.ex-stage.ex-system-redesign.ex-overview-open .ex-nav { display: none; }
.ex-system-grid { display: none; position: absolute; inset: 146px max(28px, calc((100% - 1280px) / 2)) 92px; pointer-events: auto; }
.ex-system-redesign.ex-overview-open .ex-system-grid { display: block; }
.ex-system-content { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 62px 24px; height: calc(100% - 30px); }
.ex-system-wires { position: absolute; inset: 0; width: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.ex-system-wires path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.ex-system-wires .system-wire-core { stroke-width: 1.35; opacity: .85; }
.ex-system-wires .system-wire-glow { stroke-width: 5; opacity: .12; filter: blur(2px); }
.ex-system-wires .is-data path { stroke-dasharray: 3 7; }
.ex-system-wires .system-data-label { fill: var(--ex-dim); font: 9px var(--mono); paint-order: stroke; stroke: var(--ex-bg); stroke-width: 4px; }
.ex-system-product { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 10px; min-width: 0; padding: 0; margin: 0; border: 0; background: transparent; color: var(--ex-text); font-family: var(--body); text-decoration: none; cursor: pointer; }
.ex-system-product[data-system-product="production"] { grid-column: 2 / 4; grid-row: 1; }
.ex-system-product[data-system-product="storage"] { grid-column: 5 / 7; grid-row: 1; }
.ex-system-product[data-system-product="conversion"] { grid-column: 8 / 10; grid-row: 1; }
.ex-system-product[data-system-product="consumption"] { grid-column: 1 / 3; grid-row: 2; }
.ex-system-product[data-system-product="distribution"] { grid-column: 3 / 5; grid-row: 2; }
.ex-system-product[data-system-product="monitoring"] { grid-column: 5 / 7; grid-row: 2; }
.ex-system-product[data-system-product="glass"] { grid-column: 7 / 9; grid-row: 2; }
.ex-system-product[data-system-product="one"] { grid-column: 9 / 11; grid-row: 2; }
.ex-system-media { display: flex; justify-content: center; align-items: center; min-height: 0; height: clamp(90px, 16vh, 160px); flex: none; filter: drop-shadow(0 12px 20px color-mix(in srgb, var(--system-tone) 13%, transparent)); }
.ex-system-media img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ex-system-product[data-system-product="storage"] .ex-system-media img { max-width: 124%; max-height: 130%; }
.ex-system-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 58px; padding: 8px 6px; border: 1px solid color-mix(in srgb, var(--system-tone) 36%, var(--ex-line-2)); border-radius: 9px; background: var(--bg-soft); text-align: center; transition: border-color .15s, background .15s; }
.ex-system-label em { font: normal 9px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--system-tone); }
.ex-system-label strong { font: 600 14px/1.3 var(--body); }
.ex-system-product[data-system-product="storage"] .ex-system-label { border-color: var(--ex-storage); background: color-mix(in srgb, var(--ex-storage) 12%, var(--bg-soft)); }
.ex-system-product:focus-visible { outline: 2px solid var(--system-tone); outline-offset: 5px; border-radius: 9px; }
@media (hover: hover) { .ex-system-product:hover .ex-system-label { border-color: var(--system-tone); background: color-mix(in srgb, var(--system-tone) 9%, var(--bg-soft)); } }
.ex-system-legend { display: flex; justify-content: center; gap: 24px; margin: 16px 0 0; color: var(--ex-dim); font: 10px/1.5 var(--mono); }
.ex-system-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ex-system-legend i { width: 24px; height: 1px; background: var(--ex-storage); }
.ex-system-legend i.is-data { height: 0; border-top: 1px dashed var(--ex-storage); background: transparent; }
@media (max-height: 780px) and (min-width: 921px) {
  .ex-system-grid { top: 140px; bottom: 86px; }
  .ex-system-content { gap: 40px 22px; }
  .ex-system-media { height: 100px; }
  .ex-system-label { min-height: 54px; }
  .ex-system-label strong { font-size: 13px; }
}
@media (max-width: 920px) {
  .ex-system-grid { inset: 132px 20px 70px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; scrollbar-width: thin; }
  .ex-system-content { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 32px 20px; height: auto; padding: 12px 3px 0; }
  .ex-system-product[data-system-product] { grid-column: auto; grid-row: auto; }
  .ex-system-product[data-system-product="storage"] { grid-column: 1 / -1; grid-row: 1; width: 50%; justify-self: center; }
  .ex-system-product[data-system-product="production"] { grid-column: 1; grid-row: 2; }
  .ex-system-product[data-system-product="conversion"] { grid-column: 2; grid-row: 2; }
  .ex-system-product[data-system-product="one"] { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .ex-system-media { height: 105px; }
  .ex-system-label { min-height: 54px; }
  .ex-system-label strong { font-size: 12px; }
  .ex-system-label em { font-size: 8px; letter-spacing: .07em; }
  .ex-system-legend { flex-wrap: wrap; gap: 8px 16px; padding-bottom: 16px; }
  .ex-system-legend span:last-child { flex-basis: 100%; justify-content: center; }
  .ex-system-redesign.ex-mobile .ex-overview-hint { max-width: 32ch; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .ex-system-label { transition: none; } }
