/* =========================================================================
   Virtual Wall product page extras (loaded after product.css, on the two virtual-wall pages only).
   Only what the shared engine cannot express: wall size variants, nested wall, 10-screen strip, side-by-side frames,
   per-pane state tiles (Connecting / No Source are neutral), static caption chips, globe glyph.
   Status colours appear only on pane states (customer equipment): Online, Reconnecting, Offline.
   ========================================================================= */

/* wall size variants: product.css fixes 16:7 with a 150px floor; text-bearing walls need more height */
.mk-wall--t { aspect-ratio: 16 / 9; min-height: 0; }
.mk-wall--s { aspect-ratio: 16 / 9; min-height: 0; border-width: 4px; }
.mk-wall--strip { aspect-ratio: 9600 / 2160; min-height: 0; border-width: 3px; }
.mk-wall .mk-win { font-size: 12px; }

/* static caption chip: a fact stated in the copy, never animated (solid neutral outline, not the dashed qualifier) */
.mk-fact { display: inline-flex; align-items: center; max-width: 100%; padding: 3px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-alt); font-size: 12px; line-height: var(--lh-th); color: var(--text-2); overflow-wrap: break-word; }

/* two frames side by side (stacked on a phone) */
.mk-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; align-items: start; }
.mk-duo__f { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mk-duo__f > .mk-lbl { line-height: var(--lh-th); overflow-wrap: break-word; }

/* nested wall inside a window of the main wall */
.mk-nest { position: absolute; inset: 3px; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 3px; text-align: left; }
.mk-nest > .mk-lbl { font-size: 12px; line-height: 1.3; font-family: var(--font); }
.mk-nest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; min-height: 0; }
.mk-nest .mk-cell { min-height: 0; }

/* ten narrow screens, each with a small nested layout */
.mk-subs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.mk-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 2px; }
.mk-sub > i { background: linear-gradient(135deg, #3a3a42, #25252b); border: 1px solid rgba(255, 255, 255, .28); }

/* multi-wall: other walls as miniature views */
.mk-mini--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-mini .mk-w3 { aspect-ratio: auto; min-height: 66px; padding: 6px; align-content: center; justify-items: center; gap: 2px; font-size: 12px; line-height: var(--lh-th); text-align: center; overflow-wrap: anywhere; }
.mk-w3 .mk-lbl { font-size: 12px; }
.mk-wcap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* per-pane status tiles */
.mk-tiles6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.mk-tiles6 > * { min-width: 0; }
.mk-win--rel { position: relative; min-height: 80px; padding: 8px 6px; align-content: center; justify-items: center; gap: 4px; }
.mk-win--rel .mk-lbl { color: var(--text-2); }
.mk-win--rel .mk-st { font-size: 12px; justify-content: center; }
.mk-st--conn { position: relative; color: var(--text-2); }
.mk-st--conn::before { background: transparent; border: 2px dotted var(--text-2); }
.mk-conn { position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border: 2px solid var(--text-2); border-radius: 50%; box-sizing: border-box; }
.mk-st--none { color: var(--text-2); }
.mk-st--none::before { content: "+"; width: auto; height: auto; background: none; border-radius: 0; font-size: 16px; line-height: 1; color: var(--text-2); }
.mk-win--none .mk-lbl { color: var(--muted); }
.mk-statestack { display: grid; }
.mk-statestack > * { grid-area: 1 / 1; }

/* restart: the wall goes dark with a power glyph, then the layout returns */
.mk-dark { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; align-content: center; gap: 4px; background: rgba(0, 0, 0, .9); color: var(--text-2); font-size: 12px; line-height: var(--lh-th); }
.mk-dark .mk-glyph { width: 22px; height: 22px; }

/* import tile and plan icons */
.mk-imp { position: absolute; inset: 22% 24%; z-index: 3; display: grid; place-items: center; border: 1px dashed var(--muted); border-radius: 6px; background: rgba(16, 16, 18, .92); font: 600 13px/1.5 var(--mono); color: var(--text-2); }
.mk-mon { position: absolute; width: 22px; height: 14px; margin: -7px 0 0 -11px; border: 2px solid var(--text-2); border-radius: 2px; background: var(--surface-2); box-sizing: border-box; }
.mk-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-legend .chip { display: inline-flex; gap: 6px; align-items: center; }
.mk-globe { display: block; width: 34px; height: 34px; flex: none; color: var(--text-2); }
.mk-offrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.mk-aud--sel { border-color: var(--text); background: rgba(255, 255, 255, .12); color: var(--text); }

/* deploy: three facts, the caveat, the minimum spec list */
@media (min-width: 900px) { .facts--deploy.facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.deploy-note { margin-top: 22px; max-width: 70ch; line-height: var(--lh-th); overflow-wrap: break-word; }
.deploy-spec { margin-top: 28px; max-width: 70ch; }
.deploy-spec__h { margin: 0 0 12px; font-weight: 600; color: var(--text); line-height: var(--lh-th); overflow-wrap: break-word; }
.deploy-spec .checks li > span { min-width: 0; overflow-wrap: break-word; line-height: var(--lh-th); }

/* Offline pane = the shared Offline treatment (.mk-st--off: grey hollow ring on a grey-bordered pane); no red here */
