/* Magnolia walkthrough viewer (src/js/walkthrough.js). Shared by the owner portal and the MY41 series page.
   Blues and off-whites only. Class names are prefixed or scoped under .wt-root so they never meet site.css. */
.wt-root{--wt-line:rgba(27,37,71,.12);--wt-line2:rgba(27,37,71,.2);--wt-ok:#3D6B57;--wt-ink:var(--ink,#1B2547);--wt-harbour:var(--harbour,#4F7099);--wt-muted:var(--muted,#5E6781)}
.wt{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.wt-decks{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.wt-decks button{font:400 13px/1.2 var(--sans);padding:8px 14px;border:1px solid var(--wt-line2);border-radius:99px;background:#fff;color:var(--navy,#2A3763)}
.wt-decks button[aria-pressed=true]{background:var(--wt-ink);color:#fff;border-color:var(--wt-ink)}
.wt-plan{position:relative;background:#fff;border:1px solid var(--wt-line);padding:8px}
.wt-plan img{width:100%;height:auto;display:block}
.wt-plan .pins{position:absolute;inset:8px}
.wt-root .pin{position:absolute;transform:translate(-50%,-50%);width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.92);border:1.5px solid var(--wt-harbour);display:grid;place-items:center;font:500 11px/1 var(--sans);color:var(--wt-ink);box-shadow:0 1px 5px rgba(27,37,71,.18);transition:transform .15s;padding:0}
.wt-root .pin:hover{transform:translate(-50%,-50%) scale(1.12)}
.wt-root .pin.has{background:var(--wt-harbour);color:#fff;border-color:#fff}
.wt-root .pin[aria-current=true]{background:var(--wt-ink);color:#fff;border-color:#fff;transform:translate(-50%,-50%) scale(1.2);box-shadow:0 0 0 5px rgba(79,112,153,.3)}
.wt-note{font-size:13px;color:var(--wt-muted);margin-top:8px}
.wt-spaces{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:2px;max-height:58vh;overflow:auto}
.wt-spaces button{width:100%;text-align:left;padding:9px 12px;display:flex;gap:10px;align-items:center;border-left:2px solid transparent;font-size:14.5px;line-height:1.35;position:relative}
.wt-spaces button:hover{background:#fff}
.wt-spaces button[aria-current=true]{background:#fff;border-left-color:var(--wt-harbour);color:var(--wt-ink);font-weight:400}
.wt-spaces .n{font:500 11px/1 var(--sans);color:var(--wt-harbour);min-width:18px}
.wt-spaces .ic{margin-left:auto;display:flex;gap:4px}
.wt-spaces .ic i{width:7px;height:7px;border-radius:50%;background:var(--wt-line2)}
.wt-spaces .ic i.on{background:var(--wt-harbour)}
.wt-spaces .ic i.on.c{background:var(--wt-ok)}
.wt-sr{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.wt-root .viewer{background:var(--wt-ink);position:relative;aspect-ratio:3/2;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}
.wt-root .viewer .stage{position:absolute;inset:0;cursor:grab;padding:0;background:none;aspect-ratio:auto}
.wt-root .viewer .stage.drag{cursor:grabbing}
.wt-root .viewer .stage img{position:absolute;left:0;top:0;transform-origin:0 0;max-width:none;will-change:transform}
.wt-root .viewer .ctl{position:absolute;right:12px;bottom:12px;display:flex;gap:6px;z-index:2}
.wt-root .viewer .ctl button,.wt-root .viewer .wt-nav{background:rgba(27,37,71,.62);color:#fff;border:1px solid rgba(255,255,255,.25);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:18px;line-height:1;backdrop-filter:blur(4px);padding:0}
.wt-root .viewer .wt-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:44px;font-size:24px}
.wt-root .viewer .wt-nav.prev{left:12px}.wt-root .viewer .wt-nav.next{right:12px}
.wt-root .viewer .none{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:rgba(255,255,255,.8);padding:30px 70px 60px}
.wt-root [hidden]{display:none!important}
.wt-root .viewer .none b{display:block;font:300 clamp(24px,3vw,34px)/1.2 var(--serif);color:#fff;margin-bottom:8px}
.wt-root .viewer .wt-go{margin-top:16px;color:#fff;border:1px solid #fff;background:transparent;padding:9px 14px;font:500 11.5px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase}
.wt-root .viewer .wt-go:hover{background:#fff;color:var(--wt-ink)}
.wt-root .viewer:fullscreen{aspect-ratio:auto}
.wt-bar{display:flex;align-items:center;gap:12px 18px;flex-wrap:wrap;margin:0 0 12px}
.wt-title{margin-right:auto;display:flex;align-items:center;gap:10px 14px;flex-wrap:wrap;min-width:0}
.wt-bar h2{font-size:clamp(26px,2.8vw,38px);line-height:1.1;margin:0}
.wt-chip{display:inline-flex;align-items:center;gap:7px;font:500 11px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--wt-ink);background:var(--mist2,#DCE7EF);border:1px solid rgba(79,112,153,.35);border-radius:99px;padding:6px 11px}
.wt-chip i{width:7px;height:7px;border-radius:50%;background:var(--wt-harbour);flex:0 0 auto}
.wt-chip span{letter-spacing:.06em;text-transform:none;font-weight:400;color:var(--wt-muted)}
/* the Render / Build toggle: the main control, so it reads as one */
.wt-root .seg{display:inline-flex;border:1.5px solid var(--wt-ink);border-radius:99px;overflow:hidden;background:#fff;box-shadow:0 2px 10px rgba(27,37,71,.08)}
.wt-root .seg button{padding:11px 20px;font:500 12.5px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--wt-ink);transition:background .2s,color .2s}
.wt-root .seg button b{font-weight:500}
.wt-root .seg button span{font-weight:400;opacity:.75}
.wt-root .seg button+button{border-left:1.5px solid var(--wt-ink)}
.wt-root .seg button[aria-pressed=true]{background:var(--wt-ink);color:#fff}
.wt-root .seg button.soon{color:var(--wt-muted);font-style:normal}
.wt-root .seg button.soon b{font-weight:400;letter-spacing:.08em}
.wt-root .seg button.soon[aria-pressed=true]{background:var(--mist2,#DCE7EF);color:var(--wt-ink)}
.wt-cap{font-size:14px;color:var(--wt-muted);min-height:1.6em;margin-top:10px}
.wt-cap b{color:var(--wt-ink);font-weight:500}
.wt-cap .muted{color:var(--wt-muted)}
.wt-strip{display:flex;gap:8px;overflow-x:auto;padding:8px 0 4px}
.wt-strip button{flex:0 0 auto;width:96px;height:64px;border:2px solid transparent;padding:0;background:#ddd;overflow:hidden}
.wt-strip button img{width:100%;height:100%;object-fit:cover}
.wt-strip button[aria-current=true]{border-color:var(--wt-harbour)}
.wt-help{font-size:12.5px;color:var(--wt-muted);margin-top:10px}
.wt-root kbd{font:500 11px/1 var(--sans);border:1px solid var(--wt-line2);border-bottom-width:2px;padding:2px 5px;border-radius:3px;background:#fff}
@media (max-width:1000px){
  .wt{grid-template-columns:1fr}
  .wt-spaces{max-height:none;flex-direction:row;flex-wrap:wrap}
  .wt-spaces li{flex:1 1 44%}
}
@media (max-width:720px){
  .wt-root .viewer{aspect-ratio:4/3}
  .wt-root .viewer .ctl{bottom:8px;right:8px}
  .wt-root .viewer .wt-nav{width:38px;height:38px}
  .wt-root .viewer .ctl button{width:34px;height:34px}
  .wt-spaces li{flex:1 1 100%}
  .wt-root .seg{width:100%}
  .wt-root .seg button{flex:1 1 50%;padding:12px 10px;letter-spacing:.08em}
  .wt-help{display:none}
}
@media print{
  .wt-decks,.wt-root .viewer .ctl,.wt-root .viewer .wt-nav,.wt-root .seg,.wt-strip{display:none!important}
  .wt-root .viewer{aspect-ratio:auto;height:auto;background:none}
  .wt-root .viewer .stage{position:static}.wt-root .viewer .stage img{position:static;transform:none!important;width:100%!important;height:auto!important}
}
