:root{
  --bg:#030201;
  --edge:rgba(255,196,148,.26); --edge-soft:rgba(255,196,148,.14); --edge-hi:rgba(255,138,48,.85);
  --text:#FFF4EA; --text2:rgba(255,238,224,.70); --o:#F47920; --o2:#FF9440; --o-deep:#E8650C;
  --water:#d8f0ff; --brand:#1E78F0;
  --font:"Segoe UI Variable Display","Segoe UI Variable","SF Pro Display",-apple-system,"Segoe UI","Helvetica Neue",Arial,sans-serif;
  --rail-y:138px;            /* distance of the rail line from the bottom */
  --dock:240px;              /* where the chapters' bottom panels stand: the band between them and the rail is AQUIS's caption's */
  --pv-sat:env(safe-area-inset-top,0px); --pv-sab:env(safe-area-inset-bottom,0px);
}
html.pv2-embedded{--pv-sat:0px;--pv-sab:0px}
html.lucentos-native{--pv-sat:0px;--pv-sab:0px}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;background-color:var(--bg);background:var(--bg);color:var(--text);font-family:var(--font);overflow:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;user-select:none;-webkit-user-select:none;touch-action:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
#stage{position:fixed;inset:0;background:radial-gradient(85% 65% at 50% 42%,rgba(244,121,32,.07),rgba(3,2,1,.98) 76%)}
html.aqua #stage{background:radial-gradient(85% 65% at 50% 42%,rgba(28,140,168,.22),rgba(3,24,44,.99) 76%)}
html.day #stage{background:radial-gradient(85% 65% at 50% 42%,rgba(20,132,143,.10),#f3f9fb 76%)}
#stage canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}
#leaders{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}
#hotspots{position:fixed;inset:0;pointer-events:none;z-index:3}
#ui{position:fixed;inset:0;pointer-events:none;z-index:4}
#ui button,#ui input,.glass,.pill,.row,.row-wrap{pointer-events:auto}
#scrollSpace{display:none}
/* the world draws at once; while the home and the unit arrive a small note sits quietly clear of cards, never blocking cards in the center */
#loading{position:fixed;left:50%;top:calc(var(--pv-content,140px) + 10px);transform:translateX(-50%);z-index:9;transition:opacity .8s;padding:7px 14px;border-radius:16px;border:1px solid var(--edge);background:rgba(10,6,3,.86);color:#fff4ea;pointer-events:none;white-space:nowrap}
#loading.done{opacity:0;pointer-events:none}
.ld{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13.5px;color:inherit;letter-spacing:.02em}
.ld .brand{font-size:28px}
html.day #loading{background:rgba(255,255,255,.94);color:#0a2638;border-color:rgba(10,38,56,.22);box-shadow:0 8px 24px rgba(10,38,56,.10)}
/* the safety net's note (app.js, NET): non-blocking top status pill on Ch1 only when offline fails, never blocking chapter content */
#netNote{position:fixed;left:12px;top:calc(var(--pv-content,140px) + 6px);bottom:auto;transform:none;z-index:3;display:none;align-items:center;gap:8px;width:fit-content;max-width:calc(100vw - 24px);padding:4px 6px 4px 12px;border-radius:14px;border:1px solid var(--edge);background:var(--pv-surface,#17100c);color:var(--text);font-size:12px;letter-spacing:.01em;pointer-events:auto;box-shadow:0 10px 26px rgba(0,0,0,.38)}
#netNote.on{display:flex}
#netNote.nudge{border-color:var(--edge-hi);color:var(--text)}
#netNote.act{z-index:9;border-color:var(--edge-hi);color:var(--text)}
#netNote button{pointer-events:auto;min-height:44px;padding:0 12px;border-radius:11px;background:var(--o);color:var(--pv-action-ink,#fff);font-size:12.5px;font-weight:600;white-space:nowrap}
#netNote .net-x{min-width:44px;min-height:44px;padding:0;background:transparent;color:var(--text2);font-size:18px;border:1px solid var(--edge-soft)}

/* ---- scroll mode: the page itself scrolls, the stage stays put */
html.nav-scroll,html.nav-scroll body{height:auto;overflow-x:hidden;overflow-y:auto;touch-action:pan-y;scrollbar-width:none;overscroll-behavior:none}
html.nav-scroll::-webkit-scrollbar{display:none}
html.nav-scroll #scrollSpace{display:block;height:600vh;height:calc(var(--vh,1vh)*600)}
html.nav-scroll #stage canvas{touch-action:pan-y}
html.nav-scroll .ch{transition:none}

/* ---- smoked glass */
.glass{position:relative;background:linear-gradient(168deg,rgba(40,24,13,.66) 0%,rgba(17,10,6,.74) 55%,rgba(10,6,4,.80) 100%);border:1px solid var(--edge);border-radius:16px;
  backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);
  box-shadow:inset 0 1px 0 rgba(255,228,200,.16),inset 0 -1px 0 rgba(0,0,0,.35),inset 0 0 40px rgba(244,121,32,.035),0 0 0 1px rgba(0,0,0,.35),0 22px 60px rgba(0,0,0,.55),0 0 34px rgba(244,121,32,.06)}

/* ---- top */
#top{position:absolute;left:0;right:0;top:0;height:170px;padding:18px 24px 0 32px;background:linear-gradient(rgba(3,2,1,.82),rgba(3,2,1,.42) 55%,rgba(3,2,1,0))}
.heading{transition:opacity .25s}
.ch-label{font-size:20px;letter-spacing:.115em;font-weight:500;color:var(--text);opacity:.96}
h1{font-size:46px;font-weight:700;letter-spacing:-.012em;margin-top:1px;line-height:1.1;text-shadow:0 2px 26px rgba(0,0,0,.7);max-width:700px;white-space:nowrap}
h1.long{font-size:27px;font-weight:500;letter-spacing:0;margin-top:8px}
.pills{position:absolute;right:24px;top:18px;display:flex;gap:10px}
.pills.second{top:66px;gap:8px}
.pill{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 17px;border-radius:21px;border:1.5px solid rgba(244,121,32,.62);background:linear-gradient(180deg,rgba(26,13,6,.72),rgba(10,5,2,.78));font-size:16.5px;color:var(--text);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 0 16px rgba(244,121,32,.10),inset 0 1px 0 rgba(255,220,190,.08)}
.pill .ico{width:22px;height:22px}
.pill.seg{padding:0 4px;gap:1px}
.pill.seg>span{opacity:.45;padding:0 1px;font-weight:300}
.pill.seg button{height:30px;padding:0 12px;border-radius:16px;transition:background .25s,color .25s,box-shadow .25s}
.pill.seg button.on{background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#1c0a02;font-weight:650;box-shadow:0 0 14px rgba(244,121,32,.55),inset 0 1px 0 rgba(255,236,214,.5)}
.pill.small{height:32px;font-size:14px;padding:0 13px;color:var(--text2);border-color:var(--edge);border-width:1px;box-shadow:none}
.pill.small.seg{padding:0 3px}
.pill.small.seg button{height:24px;padding:0 10px;font-size:14px}
.pill.small.icon{padding:0 12px 0 9px;gap:5px}
.pill.small.icon svg{width:17px;height:17px;color:var(--o2)}
.pill.big{height:42px;padding:0 22px;font-size:17.5px;border:1px solid rgba(255,206,164,.42);box-shadow:inset 0 1px 0 rgba(255,228,200,.12),0 8px 26px rgba(0,0,0,.45);transition:background .25s,border-color .25s,color .25s,box-shadow .25s}
.pill.big.on,.pill.big.solid{background:linear-gradient(180deg,#ff8f3a,#ee6d10);border-color:#ffab66;color:#fff;font-weight:600;box-shadow:0 0 22px rgba(244,121,32,.55),inset 0 1px 0 rgba(255,236,214,.5);text-shadow:0 1px 0 rgba(120,40,0,.35)}
.kicker{font-size:15.5px;letter-spacing:.15em;font-weight:600}

/* ---- chapters */
.ch{position:absolute;inset:0;z-index:2;opacity:0;visibility:hidden;transition:opacity .55s,visibility .55s}
.ch.on{opacity:1;visibility:visible}
.ch:not(.on) *{pointer-events:none!important}

/* ---- rows */
.rows{display:flex;flex-direction:column;gap:10px}
.row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:0 18px 0 20px;border-radius:11px;border:1px solid var(--edge);
  background:linear-gradient(168deg,rgba(40,24,13,.66),rgba(12,7,4,.78));backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:inset 0 1px 0 rgba(255,228,200,.13),0 10px 30px rgba(0,0,0,.4);font-size:20px;text-align:left;transition:border-color .2s,box-shadow .2s}
.row:hover,.row.open{border-color:var(--edge-hi);box-shadow:inset 0 1px 0 rgba(255,228,200,.13),0 0 18px rgba(244,121,32,.22)}
.chev{width:11px;height:11px;border-right:2px solid var(--text);border-top:2px solid var(--text);transform:rotate(45deg);flex:none;transition:transform .25s;margin-right:4px;opacity:.95}
.row.open .chev{transform:rotate(135deg)}
.row-body{max-height:0;overflow:hidden;transition:max-height .35s ease;background:rgba(10,6,3,.86);border-radius:0 0 11px 11px;margin:0 8px}
.row-body>*:last-child{margin-bottom:12px}
.row-wrap.open .row-body{max-height:220px}
.row-body>*{margin:10px 20px 6px}
.note{font-size:16px;color:var(--text2);line-height:1.4}
.big-val{font-size:38px;font-weight:700;color:var(--o)}
.big-val small{font-size:18px;color:var(--text2);font-weight:400}
.dots5{display:flex;gap:10px}
.dots5 i{width:22px;height:22px;border-radius:50%;border:1.5px solid rgba(255,210,170,.5)}
.dots5 i.f{background:var(--o);border-color:var(--o);box-shadow:0 0 10px rgba(244,121,32,.6)}

/* ---- bottom: the rail, AQUIS, the small print */
#bottom{position:absolute;left:0;right:0;bottom:0;height:200px;z-index:1;pointer-events:none;background:linear-gradient(rgba(3,2,1,0),rgba(3,2,1,.62) 34%,rgba(3,2,1,.9) 80%)}
#rail{position:absolute;left:32px;right:190px;bottom:calc(var(--rail-y) - 46px);height:62px;display:flex}
#rail::before{content:"";position:absolute;left:8.33%;right:8.33%;top:15px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--o) 0,var(--o2) var(--fill,0%),rgba(255,226,200,.36) var(--fill,0%));box-shadow:0 0 12px rgba(244,121,32,.35)}
#rail::after{content:"";position:absolute;left:8.33%;top:14px;height:4px;width:calc(var(--fill,0%)*.8334);border-radius:2px;background:var(--o);filter:blur(5px);opacity:.75}
.mark{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:13px;pointer-events:auto;font-size:18.5px;color:var(--text);white-space:nowrap}
.mark i{width:22px;height:22px;margin-top:5px;border-radius:50%;border:2px solid rgba(255,238,224,.9);background:#0a0603;transition:all .35s;position:relative;z-index:1}
.mark.done i{background:#ffe9d2;border-color:#ffe9d2;box-shadow:0 0 12px rgba(255,190,130,.75),0 0 3px #fff}
.mark.on i{background:radial-gradient(circle at 50% 40%,#ffb26a,#f47920 60%,#e2610a);border-color:#ffd0a0;transform:scale(1.42);box-shadow:0 0 0 3px rgba(244,121,32,.22),0 0 22px 4px rgba(244,121,32,.8),0 0 46px 8px rgba(244,121,32,.35)}
.mark.on{color:#fff;font-weight:650}
.mark span{transition:color .3s}
.guide{z-index:3;position:absolute;right:20px;bottom:calc(var(--rail-y) - 56px);width:150px;display:flex;flex-direction:column;align-items:center;gap:0}
#aquis{width:120px;height:132px;display:grid;place-items:center}
#aquisHost{display:block;width:92px;height:106px;transform:scale(1.25);transform-origin:50% 60%;pointer-events:none}
#aquisHost canvas{display:block;width:92px;height:106px}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.pill.continue{height:36px;padding:0 12px 0 18px;font-size:16.5px;font-weight:600;gap:9px;margin-top:-4px;border-color:#ffab66;background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#fff;box-shadow:0 0 20px rgba(244,121,32,.5),inset 0 1px 0 rgba(255,236,214,.5)}
.pill.continue .chev{width:9px;height:9px;border-color:#fff;margin-right:5px}
.pill.continue[disabled]{opacity:0;pointer-events:none}
.print{position:absolute;left:32px;right:24px;bottom:15px;display:flex;justify-content:space-between;align-items:flex-end;font-size:12.7px;color:var(--text);gap:20px}
.print span{line-height:1.3;opacity:.92;max-width:930px}
.brand{color:var(--brand);font-size:31px;letter-spacing:.085em;font-weight:800;line-height:.8;text-shadow:0 0 22px rgba(30,120,240,.35)}

/* ---- ch1: the journey */
.journey{position:absolute;left:32px;bottom:var(--dock);display:flex;align-items:center;gap:16px;padding:10px 18px 10px 10px;border-radius:40px}
/* the journey bar stays solid while the landscape (rain, glints, bright stones) moves behind it, and while AQUIS speaks */
.journey.glass{background:linear-gradient(168deg,rgba(34,20,11,.88) 0%,rgba(16,9,5,.92) 60%,rgba(10,6,4,.94) 100%)}
html.day .journey.glass{background:linear-gradient(168deg,rgba(255,255,255,.94),rgba(250,244,236,.92))}
.jplay{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#fff;box-shadow:0 0 22px rgba(244,121,32,.6),inset 0 1px 0 rgba(255,236,214,.5);flex:none}
.jplay svg{width:26px;height:26px}
.jplay .i-pause{display:none}.jplay.on .i-pause{display:inline}.jplay.on .i-play{display:none}
.jmid{display:flex;flex-direction:column;gap:6px}
.jstate{font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--text2);font-weight:600}
.jchips{display:flex;gap:6px}
.jchip{display:flex;align-items:center;gap:7px;height:34px;padding:0 13px 0 6px;border-radius:17px;border:1px solid rgba(255,206,164,.32);font-size:15.5px;white-space:nowrap;transition:background .25s,border-color .25s,box-shadow .25s}
.jchip b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:13px;border:1.5px solid rgba(255,226,200,.75)}
.jchip.done b{background:#ffe9d2;color:#1c0a02;border-color:#ffe9d2}
.jchip.on{background:linear-gradient(180deg,#ff8f3a,#ee6d10);border-color:#ffab66;color:#fff;font-weight:600;box-shadow:0 0 18px rgba(244,121,32,.55)}
.jchip.on b{border-color:#fff;color:#fff}
.jclosing{position:absolute;left:32px;bottom:calc(var(--dock) + 84px);padding:12px 20px;font-size:20px;font-weight:600;color:var(--o2);opacity:0;transform:translateY(8px);transition:opacity .5s,transform .5s;pointer-events:none!important}
.jclosing.on{opacity:1;transform:none}
/* the round window is a glass lens floating over the scene: thin bright inner rim, a warm outer glow, a soft drop shadow */
.wpov{position:absolute;border-radius:50%;background:transparent;cursor:pointer;pointer-events:auto;
  box-shadow:inset 0 0 0 1.5px rgba(255,246,236,.92),inset 0 0 0 3px rgba(255,170,100,.35),inset 0 2px 18px rgba(255,255,255,.10),0 0 0 1px rgba(255,150,70,.55),0 0 26px 2px rgba(255,122,26,.42),0 0 70px 6px rgba(255,122,26,.16),0 18px 40px rgba(0,0,0,.6)}
.wpov::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:1px solid rgba(255,190,130,.28);pointer-events:none}
.wpov-cap{position:absolute;transform:translate(-50%,0);display:flex;flex-direction:column;align-items:center;gap:3px;color:#fff;white-space:nowrap;z-index:2;pointer-events:none}
.wpov-cap b{font-weight:600;font-size:13px;letter-spacing:.2em;text-transform:uppercase;padding:4px 14px;border-radius:999px;background:rgba(20,10,4,.78);border:1px solid rgba(255,150,70,.7);box-shadow:0 0 14px rgba(255,122,26,.3)}
.wpov-cap span{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--o2);text-shadow:0 1px 8px rgba(0,0,0,.8)}
.pills.second{display:none}
.jtag.dot-only{padding:3px;border-radius:50%;gap:0}
.jtag.dot-only .hd{gap:0}
.jtag.dot-only .hd span{display:none}
/* the station tags hang on the 3D landscape */
.jtag{position:absolute;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:7px 14px 8px 8px;border-radius:13px;pointer-events:auto;cursor:pointer;text-align:left;border-color:rgba(255,206,164,.42);transition:border-color .25s,box-shadow .25s,opacity .3s}
.jtag .hd{display:flex;align-items:center;gap:7px;font-size:14.5px;font-weight:600;white-space:nowrap}
.jtag .hd b{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;font-size:13.5px;border:1.5px solid rgba(255,226,200,.8)}
.jtag p{display:none;font-size:18.5px;line-height:1.34;max-width:330px;padding:0 0 0 4px;white-space:normal}
.jtag.on{border-color:var(--o);box-shadow:0 0 24px rgba(244,121,32,.45),inset 0 1px 0 rgba(255,228,200,.16);padding:10px 18px 12px 10px;z-index:2}
.jtag.on .hd b{background:var(--o);border-color:#ffab66;color:#fff}
.jtag.on p{display:block}
.jtag.dim{opacity:.55}
.jtag p{color:#fff}
.jtag p .ln{color:#ffd9b8}      /* our linking words open the paragraph in the warm white; the approved sentence follows in the brighter white */
html.day .jtag p{color:#1e130b}
html.day .jtag p .ln{color:#9a4f17}
/* the water's marker: clear at the rain; warm mineral glints join underground and stay; a pale ring joins at treatment and stays */
.wyou{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 18%,rgba(220,238,255,.55) 40%,rgba(190,222,255,.22) 72%);border:2.5px solid rgba(255,255,255,.95);pointer-events:none;animation:wyou 1.6s ease-out infinite;z-index:3;transition:outline-color .6s}
.wyou.min{background:radial-gradient(circle at 30% 64%,#ffc27a 0 9%,transparent 11%),radial-gradient(circle at 68% 58%,#ffb35c 0 8%,transparent 10%),radial-gradient(circle at 56% 30%,#ffd29a 0 7%,transparent 9%),radial-gradient(circle at 35% 30%,#fff 0 18%,rgba(220,238,255,.55) 40%,rgba(190,222,255,.22) 72%)}
.wyou.chl{outline:1.5px solid rgba(240,247,242,.75);outline-offset:3px}
@keyframes wyou{0%{box-shadow:0 0 0 0 rgba(220,238,255,.7),0 0 16px 4px rgba(200,228,255,.75)}100%{box-shadow:0 0 0 26px rgba(220,238,255,0),0 0 16px 4px rgba(200,228,255,.75)}}
.jcarry{position:absolute;transform:translateX(-50%);display:flex;gap:8px;align-items:baseline;white-space:nowrap;padding:8px 18px;border-radius:999px;font-size:16px;color:#fff;pointer-events:none;border-color:rgba(255,255,255,.26)}
.jcarry b{font-weight:600;opacity:.75}
.jcarry i{font-style:normal}
.jcarry i+i::before{content:'·';margin:0 7px;opacity:.6}
.jcarry i.new{animation:pickin 1.1s ease-out both}
@keyframes pickin{from{opacity:0;filter:blur(3px)}to{opacity:1;filter:none}}
.wyou.pick::after{content:'';position:absolute;inset:-5px;border-radius:50%;border:2px solid rgba(255,255,255,.9);animation:pick 1.1s ease-out both}
@keyframes pick{from{transform:scale(.8);opacity:1}to{transform:scale(2.6);opacity:0}}
html.day .jcarry{color:#2a1b11}
#continueBtn.nudge{animation:nudge 1.8s ease-in-out infinite}
@keyframes nudge{0%,100%{transform:translateX(0);box-shadow:0 0 0 0 rgba(244,121,32,.55)}50%{transform:translateX(5px);box-shadow:0 0 0 10px rgba(244,121,32,0)}}

/* ---- ch2 */
.scale-block{position:absolute;left:14px;top:136px;width:780px;padding:12px 20px 14px;border-radius:20px;background:radial-gradient(ellipse at 45% 50%,rgba(3,2,1,.78),rgba(3,2,1,.5) 70%,rgba(3,2,1,0))}
.scale-row{display:flex;align-items:flex-start;gap:14px;margin-top:30px}
.scale{position:relative;flex:1}
.bar{display:flex;height:24px;border-radius:12px;overflow:hidden;gap:2px;box-shadow:0 0 30px rgba(244,121,32,.40),0 0 2px rgba(255,255,255,.6)}
.bar i{flex:1}
.bar i:nth-child(1){background:linear-gradient(180deg,#fffaf3,#f6e9d8)}.bar i:nth-child(2){background:linear-gradient(180deg,#ffe9d0,#f6d5b2)}.bar i:nth-child(3){background:linear-gradient(180deg,#ffd6a8,#f5bd84)}.bar i:nth-child(4){background:linear-gradient(180deg,#ffb977,#f3a055)}.bar i:nth-child(5){background:linear-gradient(90deg,#ff9a48,#f47920)}
.marker{position:absolute;top:12px;left:0;width:0;height:0;transition:left .5s cubic-bezier(.3,.8,.3,1)}
.marker::before{content:"";position:absolute;left:-9px;top:-9px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 0 16px #fff,0 0 5px var(--o)}
.seg-labels{display:flex;margin-top:12px}
.seg-labels div{flex:1;text-align:center;display:flex;flex-direction:column;gap:3px}
.seg-labels b{font-size:17px;font-weight:600}
.seg-labels span{font-size:15px;color:var(--text2)}
.gpg{font-size:14px;color:var(--text2);margin-top:3px;white-space:nowrap}
.hard-box{position:absolute;right:40px;top:116px;width:300px;padding:10px 22px 14px;border-color:rgba(255,160,90,.5)}
.hb-top{display:flex;align-items:baseline;gap:10px;border-bottom:1px solid rgba(255,210,170,.3);padding-bottom:4px;white-space:nowrap}
.hb-top input::-webkit-inner-spin-button,.hb-top input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.hb-top input{width:128px;background:transparent;border:0;color:var(--o);font:700 62px var(--font);letter-spacing:-.02em;outline:none;-moz-appearance:textfield;text-shadow:0 0 26px rgba(244,121,32,.45)}
.hb-top span{font-size:16px;color:var(--text)}
.hb-class{font-size:21px;margin-top:8px}
.test-rows{position:absolute;right:40px;top:300px;width:364px}
.test-rows .row{min-height:48px}

/* ---- ch3 */
.household{position:absolute;left:44px;bottom:166px;width:404px;padding:18px 26px 16px}
.pencil{position:absolute;right:14px;top:12px;border:1px solid rgba(255,214,178,.55);width:40px;height:40px;display:grid;place-items:center;border-radius:50%}
.pencil svg{width:20px;height:20px}
.pencil.on{background:var(--o);color:#1a0a02;border-color:var(--o)}
.hh-month{font-size:40px;font-weight:700;color:var(--o);margin-top:2px;line-height:1.15;text-shadow:0 0 28px rgba(244,121,32,.4)}
.hh-month span{font-size:54px}
.hh-year{font-size:27px;margin-top:-2px}
.edit-grid{display:grid;grid-template-columns:1fr 110px;gap:8px 12px;margin-top:12px;font-size:17px;align-items:center}
.edit-grid input{background:rgba(0,0,0,.3);border:1px solid rgba(244,121,32,.5);border-radius:8px;color:var(--text);font:600 19px var(--font);padding:6px 10px;width:100%}
.cost-right{position:absolute;left:496px;right:176px;bottom:164px;display:flex;flex-direction:column;gap:9px;align-items:flex-start}
.cost-right .row-wrap{width:100%}
.years{height:40px}
.years button{padding:0 19px!important;font-size:17.5px;height:32px!important}
.cost-total{font-size:37px;font-weight:700;letter-spacing:-.005em;text-shadow:0 2px 20px rgba(0,0,0,.6)}
.tag{position:absolute;transform:translate(-50%,-100%);white-space:nowrap;padding:8px 16px;font-size:18px;border-radius:11px;pointer-events:auto;cursor:pointer;transition:border-color .2s,box-shadow .2s;border-color:rgba(255,206,164,.45)}
.tag.sel{border-color:var(--o);box-shadow:0 0 22px rgba(244,121,32,.45),inset 0 1px 0 rgba(255,228,200,.16)}
.dot{position:absolute;width:15px;height:15px;margin:-7.5px 0 0 -7.5px;border-radius:50%;border:2px solid #ff8a30;background:rgba(244,121,32,.25);box-shadow:0 0 14px 2px rgba(244,121,32,.9),inset 0 0 4px rgba(255,220,180,.9);pointer-events:auto;cursor:pointer}
.place-panel{position:absolute;right:40px;top:232px;width:320px;padding:18px 22px;z-index:2}
.pp-month{font-size:24px;margin:6px 0 10px}
.pp-month span{font-size:40px;font-weight:700;color:var(--o)}
.pp-years{display:grid;grid-template-columns:auto auto;gap:6px 18px;font-size:18px}
.pp-years b{text-align:right}
.close{position:absolute;right:12px;top:8px;font-size:28px;color:var(--text2);width:36px;height:36px}

/* ---- ch4 */
.package{position:absolute;left:32px;top:112px;height:44px;padding:0;border-color:rgba(255,160,90,.75)}
.package button{height:100%!important;padding:0 21px!important;font-size:18.5px;border-radius:22px!important;color:var(--text)}
.package button b{font-weight:700;margin-right:6px}
.package button.on{color:#fff!important;text-shadow:0 1px 0 rgba(120,40,0,.35)}
.stages{position:absolute;right:24px;top:112px;width:440px;padding:16px 14px 18px;border-color:rgba(255,170,100,.5)}
.stages .kicker{margin:0 0 10px 18px;color:var(--o2)}
.stages #separate{margin:16px 0 0 18px}
.sys-panel{position:absolute;right:24px;top:112px;width:min(540px,42vw);max-height:calc(100% - 112px - var(--dock) - 70px);overflow:auto;padding:24px 26px 20px}
.proofbtn{font-size:clamp(13px,1.25vw,17.5px)!important;gap:8px!important}
.sys-panel .kicker{letter-spacing:.24em;font-size:14.5px}
.sys-head{font-size:clamp(28px,2.9vw,40px);font-weight:700;line-height:1.08;letter-spacing:-.01em;margin:10px 0 8px}
.sys-facts{font-size:16.5px;color:var(--text);opacity:.9;margin-bottom:16px}
.benefits{display:flex;flex-direction:column;gap:10px}
.benefit{display:block;width:100%;text-align:left;border:1px solid rgba(255,206,164,.32);border-radius:12px;padding:0 16px;background:rgba(255,230,210,.03);transition:border-color .25s,box-shadow .25s}
.benefit .hd{display:flex;align-items:center;gap:14px;min-height:54px;font-size:20.5px}
.benefit .hd svg{width:28px;height:28px;flex:none;color:var(--text)}
.benefit .hd span{flex:1}
.benefit p{max-height:0;overflow:hidden;font-size:16.5px;line-height:1.38;color:var(--text2);transition:max-height .35s ease,margin .35s;margin:0 0 0 42px}
.benefit.open{border-color:var(--edge-hi);box-shadow:0 0 18px rgba(244,121,32,.2)}
.benefit.open p{max-height:90px;margin:-4px 0 14px 42px}
.benefit.open .chev{transform:rotate(135deg)}
.cmp{display:flex;width:100%;justify-content:space-between;align-items:center;margin-top:16px;padding:14px 6px 12px;border-top:1px solid rgba(255,214,178,.22);border-bottom:1px solid rgba(255,214,178,.22);font-size:19.5px}
.proofs{position:absolute;left:32px;right:186px;bottom:var(--dock);display:flex;gap:12px}
.proofbtn{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;height:50px;border-radius:11px;border:1px solid rgba(255,206,164,.42);background:linear-gradient(168deg,rgba(40,24,13,.66),rgba(12,7,4,.78));backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-size:17.5px;white-space:nowrap;transition:border-color .2s,box-shadow .2s}
.proofbtn svg{width:26px;height:26px;flex:none}
.proofbtn:hover,.proofbtn.on{border-color:var(--edge-hi);box-shadow:0 0 18px rgba(244,121,32,.3)}
/* ---- extras: one panel, Back top left, big close top right */
.extra{position:absolute;inset:0;z-index:3;pointer-events:auto}
.extra>*{pointer-events:auto}
.extra-panel{position:absolute;right:24px;top:112px;width:560px;max-height:calc(100% - 340px);overflow:auto;padding:26px 28px 22px;border-color:rgba(255,160,90,.6);animation:slidein .6s cubic-bezier(.2,.8,.2,1)}
.extra-panel h3{font-size:15px;letter-spacing:.2em;color:var(--o2);margin:0 0 6px}
.extra-panel h2{font-size:34px;font-weight:700;line-height:1.1;margin:0 0 14px;padding-right:50px}
.extra-panel h2.tight{font-size:27px}                                                   /* a long title kept on one line */
.extra-panel .note.fine{font-size:13.5px;line-height:1.32;margin:8px 0 0}                /* source lines and the deck's small print */
@media (max-height:820px) and (min-width:1000px){ .extra-panel{padding:18px 24px 14px} .extra-panel .prow{padding:7px 4px} }
.xbig{position:absolute;right:14px;top:14px;width:46px;height:46px;border-radius:50%;border:1.5px solid rgba(255,206,164,.6);background:rgba(10,6,3,.6);z-index:2}
.xbig::before,.xbig::after{content:"";position:absolute;left:12px;right:12px;top:21.5px;height:2px;background:var(--text);border-radius:1px;transform:rotate(45deg)}
.xbig::after{transform:rotate(-45deg)}
.prow{display:flex;align-items:center;gap:16px;padding:11px 4px;border-bottom:1px solid rgba(255,214,178,.16)}
.prow i{width:40px;height:40px;flex:none;border-radius:50%;border:1.5px solid var(--o);display:grid;place-items:center;font-style:normal;font-weight:700;color:var(--o2);font-size:18px}
.prow i svg{width:20px;height:20px}
.prow b{display:block;font-size:20px;font-weight:600}
.prow span{display:block;font-size:16px;color:var(--text2);margin-top:2px}
.preg{margin:14px 0 4px;padding:12px 16px;border:1.5px solid rgba(255,150,70,.9);border-radius:11px;font-size:18px;box-shadow:0 0 16px rgba(255,122,26,.25)}
.pdocs{display:flex;gap:10px;margin-top:12px}
.pdocs .pill{flex:1;justify-content:center;font-size:16px}
.ptag{font-style:italic;text-align:center;margin:16px 0 4px;font-size:18px;color:var(--text2)}
.extra .row{margin-top:12px;font-size:18.5px}
html.extra-on .ch-label,html.extra-on .ch-label{margin-left:226px;padding-left:22px;border-left:1px solid rgba(255,214,178,.35);line-height:30px;margin-top:-3px}
html.extra-on .sys-panel,html.extra-on #sysButtons,html.extra-on #proofs,html.extra-on .cost-col,html.extra-on .askrow{visibility:hidden}      /* the proof row stood over the open collection's counter */
.extra-sheet{z-index:3;position:absolute;inset:0;padding:26px 28px;background:linear-gradient(168deg,rgba(40,22,10,.97),rgba(12,7,4,.98))}
.extra-sheet ul{margin:8px 0 12px 20px;font-size:18px;line-height:1.5}
.extra-sheet h4{font-size:15px;letter-spacing:.18em;color:var(--o2);margin-bottom:8px}
.coll{display:grid;grid-template-columns:1fr auto;gap:0 18px;font-size:18px}
.coll div{padding:9px 0;border-bottom:1px solid rgba(255,206,164,.18)}
.coll div:nth-child(2n){color:var(--o2);font-weight:600;text-align:right}
.coll-row{grid-column:1/3;display:flex;justify-content:space-between;align-items:center;padding:9px 6px;border-bottom:1px solid rgba(255,206,164,.18);font-size:18px;text-align:left;border-radius:8px;transition:background .2s}
.coll-row b{color:var(--o2);font-weight:600}
.coll-row:hover,.coll-row.on{background:rgba(255,140,60,.12)}
html.day .pill.continue,html.day .pill.big.solid,html.day .btn-o{background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#fff;border-color:#ffab66}
.note-strip{position:absolute;left:32px;bottom:calc(var(--dock) + 124px);max-width:620px;padding:12px 18px;font-size:17px;line-height:1.35;z-index:3}
.stage-row{display:flex;gap:20px;align-items:center;width:100%;min-height:46px;padding:0 14px 0 18px;border-radius:11px;font-size:21px;text-align:left;border-bottom:1px solid rgba(255,214,178,.16);transition:background .25s,box-shadow .25s,color .25s;white-space:nowrap}
.stage-row b{width:16px;text-align:center;font-weight:700}
.stage-row.on{background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#fff;border-bottom-color:transparent;box-shadow:0 0 24px rgba(244,121,32,.6),inset 0 1px 0 rgba(255,236,214,.5);text-shadow:0 1px 0 rgba(120,40,0,.35)}
.stage-text{font-size:19px;line-height:1.36;margin:13px 14px 0 18px;color:var(--text);min-height:52px}
.unit-buttons{position:absolute;left:32px;bottom:calc(var(--dock) + 66px);display:flex;gap:11px}

/* the fine rings beside the unit are drawn in 3D; these are their invisible touch targets */
.hot{position:absolute;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;pointer-events:auto;cursor:pointer;background:transparent}

/* ---- ch5 */
.choice{position:absolute;top:184px;width:244px;height:426px;padding:22px 18px;text-align:center}
.choice.today{left:40px}
.choice.sys{left:296px;width:254px;border-color:rgba(255,138,48,.95);border-width:1.5px;box-shadow:0 0 34px rgba(244,121,32,.42),inset 0 0 44px rgba(244,121,32,.10),inset 0 1px 0 rgba(255,228,200,.2);background:linear-gradient(168deg,rgba(58,28,10,.72),rgba(22,11,5,.80))}
.choice h3{font-size:22px;letter-spacing:.03em;min-height:60px;display:grid;place-items:center;line-height:1.2;font-weight:700}
.c-big{font-size:50px;font-weight:700;margin-top:6px;line-height:1;letter-spacing:-.01em}
.c-big.o{color:var(--o);text-shadow:0 0 26px rgba(244,121,32,.4)}
.c-sub{font-size:21px;margin-top:2px}
.c-mid{font-size:21px;min-height:54px;display:grid;place-items:center;line-height:1.15}
.choice hr{border:0;border-top:1px solid rgba(255,214,178,.24);margin:11px 8px}
.chip-o{margin-top:14px;background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#fff;border-radius:11px;padding:8px 4px;font-size:13px;white-space:nowrap;font-weight:600;box-shadow:0 0 16px rgba(244,121,32,.45)}
.chart-panel{position:absolute;left:564px;right:38px;top:184px;height:426px;padding:14px 18px;display:flex;flex-direction:column;gap:8px}
.chart-panel .years{align-self:center}
#chart{width:100%;height:210px;flex:none}
.slider-row{gap:16px}
.slider-row span{white-space:nowrap;font-size:19px}
input[type=range]{-webkit-appearance:none;appearance:none;flex:1;height:4px;background:rgba(255,210,170,.3);border-radius:2px;outline:none}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:var(--o);box-shadow:0 0 12px var(--o);cursor:pointer}
.chart-panel .row{font-size:19.5px;min-height:46px}

/* ---- ch6 */
.lower{position:absolute;left:32px;top:246px;width:404px;padding:20px 24px}
.lower hr{border:0;border-top:1px solid rgba(255,214,178,.2);margin:13px 0}
.lp-line{font-size:21px;font-weight:500}
.lp-line b{font-size:25px}
.lp-line.flex{display:flex;justify-content:space-between;align-items:center}
.refs{display:flex;align-items:center;gap:10px;margin-top:13px}
.refs button{width:42px;height:42px;border-radius:50%;border:1.5px solid rgba(255,238,224,.8);font-size:19px;transition:all .2s}
.refs button.on{background:var(--o);border-color:#ffab66;color:#fff;font-weight:700;box-shadow:0 0 14px rgba(244,121,32,.6)}
.upto{border-left:1px solid rgba(255,214,178,.35);padding-left:12px;font-size:17px;white-space:nowrap;margin-left:2px}
.switch{width:64px;height:44px;background:none;border:0;box-shadow:none;position:relative;flex:none}
.switch::before{content:"";position:absolute;left:0;right:0;top:5px;height:34px;border-radius:17px;background:rgba(255,230,210,.12);border:1px solid rgba(255,214,178,.4);transition:background .25s,border-color .25s,box-shadow .25s}
.switch i{position:absolute;left:3px;top:9px;width:26px;height:26px;border-radius:50%;background:#fff6ee;transition:left .25s;z-index:1}
.switch.on::before{background:var(--o);border-color:var(--o);box-shadow:0 0 14px rgba(244,121,32,.5)}
.switch.on i{left:35px}
.invest{position:absolute;left:452px;right:30px;top:246px;padding:20px 24px 18px;border-color:rgba(255,138,48,.9);border-width:1.5px;box-shadow:0 0 30px rgba(244,121,32,.28),inset 0 1px 0 rgba(255,228,200,.16),0 22px 60px rgba(0,0,0,.55)}
.inv-top{display:flex;gap:26px;align-items:flex-start}
.vr{width:1px;align-self:stretch;background:rgba(255,214,178,.3)}
.inv-k{font-size:20px;font-weight:500}
.inv-big{font-size:45px;font-weight:700;line-height:1.1;letter-spacing:-.01em;white-space:nowrap}
.inv-big.o{color:var(--o);text-shadow:0 0 26px rgba(244,121,32,.4)}
.inv-sub{font-size:20px}
.chips{display:flex;gap:8px;margin:15px 0}
.chips span{flex:1;font-size:13.5px;text-align:center;border:1px solid rgba(255,214,178,.42);border-radius:14px;padding:6px 4px;line-height:1.2}
.inv-actions{display:flex;align-items:center;gap:14px}
.btn-o{background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#1c0a02;font-weight:700;font-size:21px;height:48px;padding:0 34px;border-radius:9px;box-shadow:0 0 24px rgba(244,121,32,.5),inset 0 1px 0 rgba(255,236,214,.5)}
.btn-g{border:1px solid rgba(255,214,178,.42);background:rgba(255,230,210,.05);font-size:20px;font-weight:600;height:48px;padding:0 34px;border-radius:9px}
.link{text-decoration:underline;font-size:18px;text-underline-offset:3px}
.mode{margin:13px auto 0;display:flex;width:max-content;height:38px}
.mode button{height:28px!important;font-size:16.5px}
.steps3{position:absolute;left:56px;right:186px;bottom:190px;display:flex;align-items:center;gap:16px;font-size:18.5px}
.steps3 span{display:flex;align-items:center;gap:13px;white-space:nowrap}
.steps3 b{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--o);display:grid;place-items:center;color:var(--o);box-shadow:0 0 12px rgba(244,121,32,.3)}
.steps3 i{flex:1;height:1.5px;background:linear-gradient(90deg,rgba(244,121,32,.2),rgba(244,121,32,.8),rgba(244,121,32,.2))}

.modal{position:absolute;left:50%;top:44%;transform:translate(-50%,-50%);width:470px;padding:30px 32px;font-size:21px;line-height:1.4;z-index:6;border-color:var(--edge-hi);background:linear-gradient(168deg,rgba(40,22,10,.95),rgba(12,7,4,.97))}
.modal h4{font-size:15px;letter-spacing:.14em;margin-bottom:8px;color:var(--o)}
[hidden]{display:none!important}

/* ---- ch2 v4: the grade and the six cards hung round the bench */
.grade{position:absolute;left:50%;transform:translateX(-50%);top:112px;display:flex;align-items:center;gap:18px;padding:12px 24px;border-radius:20px;white-space:nowrap}
.grade .vr{width:1px;align-self:stretch;background:rgba(255,214,178,.3)}
.g-k{max-width:88px;white-space:normal;font-size:13px;letter-spacing:.14em;line-height:1.2;font-weight:600}
.g-num{font-size:52px;font-weight:700;color:var(--o);text-shadow:0 0 22px rgba(244,121,32,.45);line-height:1}
.g-word{font-size:26px;font-weight:600}
.g-scale{width:clamp(180px,20vw,300px)}
.g-bar{position:relative;height:2px;background:rgba(255,226,200,.4);margin:10px 0 8px}
.g-bar i{position:absolute;left:0;top:0;height:2px;background:var(--o);box-shadow:0 0 10px var(--o)}
.g-bar b{position:absolute;top:-8px;width:18px;height:18px;margin-left:-9px;border-radius:50%;background:#fff;border:3px solid var(--o);box-shadow:0 0 12px rgba(244,121,32,.8)}
.g-lab{display:flex;justify-content:space-between;font-size:14px;color:var(--text2)}
.g-note{font-size:15px;color:var(--text2);white-space:normal;width:120px;line-height:1.3}
.tcard{position:absolute;padding:10px 16px 12px;border-radius:14px;text-align:left;pointer-events:auto;cursor:pointer;transition:border-color .25s,box-shadow .25s,opacity .3s,transform .35s cubic-bezier(.2,.8,.2,1);transform-origin:50% 50%}
.tcard .t-t{font-size:14.5px;letter-spacing:.08em;font-weight:650}
.tcard .t-s{font-size:14px;color:var(--text2);margin-top:1px}
.tcard .t-v{display:flex;align-items:baseline;gap:8px;margin:6px 0 4px}
.tcard .t-v b{font-size:34px;font-weight:700;line-height:1}
.tcard .t-v span{font-size:19px;font-weight:600}
.tcard .t-v svg{width:26px;height:26px;align-self:center;color:var(--o)}
.tcard .dots5{gap:7px}.tcard .dots5 i{width:14px;height:14px}
.dots5 i.lv{background:var(--o);border-color:var(--o);box-shadow:0 0 10px rgba(244,121,32,.7)}
.dots5 i.em{background:transparent;border-style:dashed}
.tcard .t-src{font-size:13px;color:var(--text2);margin-top:6px;max-height:0;overflow:hidden;transition:max-height .3s}
.tcard.open{border-color:var(--o);box-shadow:0 0 26px rgba(244,121,32,.45),inset 0 1px 0 rgba(255,228,200,.16);transform:scale(1.08);z-index:3}
.tcard.open .t-src{max-height:40px}
.tcard.dim{opacity:.5}
/* ---- ch3 v4: three cards in a column on the right, the ask row under the home */
.cost-col{position:absolute;right:24px;top:112px;width:min(486px,36vw);display:flex;flex-direction:column;gap:12px}
.ccard{padding:16px 22px 16px;border-radius:20px}
.c-k{font-size:15px;letter-spacing:.16em;text-transform:uppercase;font-weight:600;margin-bottom:8px}
.c-two{display:flex;align-items:baseline;gap:18px;font-size:20px}
.c-two b{font-size:clamp(34px,3.4vw,46px);color:var(--o);font-weight:700;text-shadow:0 0 22px rgba(244,121,32,.4)}
.c-two .vr,.c-badges .vr{width:1px;align-self:stretch;background:rgba(255,214,178,.3)}
.c-badges{display:flex;gap:14px;align-items:center;margin-top:10px;font-size:15.5px}
.c-badges span{display:flex;align-items:center;gap:8px}
.c-badges svg{width:26px;height:26px;fill:none;stroke:var(--o);stroke-width:1.5}
.mrow{display:flex;align-items:center;width:100%;gap:12px;padding:8px 6px;border-top:1px solid rgba(255,214,178,.14);font-size:17.5px;text-align:left;border-radius:8px;transition:background .2s}
.mrow:first-child{border-top:0}
.mrow.tap:hover{background:rgba(255,140,60,.08)}
.mrow .m-l{flex:1}
.mrow .m-tag{font-size:13.5px;padding:3px 10px;border-radius:999px;border:1px solid rgba(255,170,100,.6);color:var(--o2);white-space:nowrap}
.mrow .m-v{width:70px;text-align:right;font-weight:700;font-size:20px}
.mrow .chev{width:8px;height:8px}
.bd-head{display:flex;align-items:center;gap:10px;padding-right:46px;position:relative;text-transform:none;letter-spacing:.02em;font-size:17px}
.bd-head span:first-child{flex:1}
.bd-head b{color:var(--o)}
.xbig.small{width:36px;height:36px;right:-6px;top:-6px}
.xbig.small::before,.xbig.small::after{left:9px;right:9px;top:16.5px}
.bdrow{display:flex;align-items:center;gap:10px;padding:7px 4px;border-top:1px solid rgba(255,214,178,.14);font-size:16.5px}
.bdrow .b-l{flex:1}.bdrow .b-p{width:48px;text-align:right;color:var(--text2)}.bdrow .b-v{width:56px;text-align:right;font-weight:700;color:var(--o2)}
.bdrow button{font-size:14px;padding:3px 10px;border:1px solid rgba(255,206,164,.45);border-radius:999px}
.bd-sum{font-size:16.5px;line-height:1.35;margin:8px 4px 2px}
.bd-src{font-size:13px;margin:0 4px 6px}
.bd-q{font-size:15px;line-height:1.32;margin:5px 4px 0;color:var(--text)}
.bd-open{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px;margin:10px 0 0}
.bd-open button{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:5px 12px;min-height:38px;border:1px solid rgba(255,206,164,.45);border-radius:999px;font-size:15px;text-align:left}
.bd-open .chev{width:7px;height:7px;flex:none}
/* five rows where there were four: the column keeps the height it has always had, clear of the chapter line and Continue */
.cost-col{gap:10px}
.cost-col .ccard{padding:13px 22px}
.cost-col .c-k{margin-bottom:6px}
.cost-col .mrow{padding:6px}
.cost-col.bd-on>.ccard:last-child{display:none}       /* an open row takes the place of the compounding card until it is closed */
.c-total{margin-top:10px;font-size:22px}
.c-total b{font-size:clamp(36px,3.6vw,52px);font-weight:700}
.askrow{position:absolute;left:32px;bottom:var(--dock);width:auto;max-width:min(640px,50vw);font-size:19px}
.apptag{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:11px;font-size:15px;white-space:nowrap;pointer-events:auto;cursor:pointer;transition:opacity .3s,border-color .2s}
.apptag b{color:var(--o2)}
.apptag:hover{border-color:var(--o)}
/* ---- ch5 v4: the home calm in the band above, three panels on one grid below it */
.ch[data-ch="5"] .choice{top:auto;bottom:var(--dock);height:clamp(300px,40vh,426px)}
.ch[data-ch="5"] .choice.today{left:32px;width:clamp(200px,17vw,244px)}
.ch[data-ch="5"] .choice.sys{left:calc(32px + clamp(200px,17vw,244px) + 14px);width:clamp(210px,18vw,254px)}
.ch[data-ch="5"] .chart-panel{top:auto;bottom:var(--dock);height:clamp(300px,40vh,426px);left:calc(32px + clamp(200px,17vw,244px) + clamp(210px,18vw,254px) + 28px);right:32px}
.ch[data-ch="5"] .c-big{font-size:clamp(34px,3.4vw,50px)}
/* ---- ch6 v4 */
.grid6{position:absolute;left:32px;right:32px;bottom:var(--dock);display:grid;grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);grid-template-rows:auto auto;gap:12px}
.next6{grid-column:1 / 3;display:flex;align-items:center;gap:16px;padding:10px 26px;border-radius:999px;font-size:17.5px;white-space:nowrap}
.next6 .n-k{font-size:15px;letter-spacing:.12em;text-transform:uppercase;margin-right:10px}
.next6 span{display:flex;align-items:center;gap:10px}
.next6 i{width:32px;height:32px;border-radius:50%;border:1.5px solid var(--o);display:grid;place-items:center;font-style:normal;color:var(--o2);font-weight:700}
.next6 em{flex:1;height:1.5px;background:linear-gradient(90deg,rgba(244,121,32,.2),rgba(244,121,32,.85),rgba(244,121,32,.2))}
.lower6{padding:16px 20px}
.lower-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.refc6{border:1px solid rgba(255,206,164,.3);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.refc6>b{font-size:17px;font-weight:600}
.refc6 .refs{margin:0}.refc6 .refs button{width:36px;height:36px;font-size:16px}
.upto6{font-size:15px;color:var(--text2)}
.qr6{width:96px;height:86px;border:1.5px dashed rgba(255,206,164,.55);border-radius:10px;display:grid;place-items:center;align-content:center;gap:2px}
.qr6 b{font-size:20px;letter-spacing:.1em}.qr6 span{font-size:11.5px;color:var(--text2);max-width:80px;line-height:1.2}
.refc6 .lp-line{width:100%;font-size:16px}
.avail6{text-align:center;margin-top:10px;font-size:18px}.avail6 b{font-size:24px}
.invest6{padding:16px 22px 14px;border-color:rgba(255,138,48,.9);border-width:1.5px;box-shadow:0 0 30px rgba(244,121,32,.28),inset 0 1px 0 rgba(255,228,200,.16),0 22px 60px rgba(0,0,0,.55)}
.invest6 .inv-big{font-size:clamp(30px,3vw,45px)}
.invest6 .inv-k,.invest6 .inv-sub{font-size:17px}
.invest6 .chips span{font-size:12.5px}
.invest6 .btn-o,.invest6 .btn-g{font-size:18px;height:44px;padding:0 20px}
.invest6 .mode{margin-top:10px}
.sidewrap{position:absolute;inset:0;z-index:5}
.scrim6{position:absolute;inset:0;background:rgba(3,2,1,.35);pointer-events:auto}
.side6{position:absolute;right:24px;top:96px;bottom:var(--dock);width:min(600px,46vw);padding:20px 24px;display:flex;flex-direction:column;border-color:rgba(255,160,90,.7);animation:slidein .45s cubic-bezier(.2,.8,.2,1);pointer-events:auto}
.side-head{display:flex;align-items:center;gap:14px;padding-right:56px;border-bottom:1px solid rgba(255,214,178,.2);padding-bottom:12px;margin-bottom:12px;position:relative}
.side-head>b{flex:1;font-size:19px;letter-spacing:.1em;text-transform:uppercase}
.side-head .xbig{right:-8px;top:-8px}
.lockb{display:flex;align-items:center;gap:8px;font-size:15px}.lockb svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.side-body{flex:1;overflow:auto;display:flex;flex-direction:column;gap:10px;font-size:17px}
.refrow{border:1px solid rgba(255,206,164,.3);border-radius:12px;padding:10px 12px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px 10px}
.refrow b{grid-column:1/4;font-size:17px}.refrow.done{border-color:var(--o);box-shadow:0 0 14px rgba(244,121,32,.3)}
.refrow label,.flds label{font-size:13.5px;color:var(--text2);display:flex;flex-direction:column;gap:4px}
.field6{background:rgba(0,0,0,.3);border:1px solid rgba(255,206,164,.4);border-radius:8px;color:var(--text);font:500 16px var(--font);padding:8px 10px;width:100%;outline:none;user-select:text;-webkit-user-select:text;pointer-events:auto}
.field6:focus{border-color:var(--o)}
.stepchips{display:flex;gap:6px;flex-wrap:wrap}
.stepchip6{display:flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 4px;border-radius:15px;border:1px solid rgba(255,206,164,.32);font-size:13.5px}
.stepchip6 b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1.5px solid rgba(255,226,200,.7);font-size:12px}
.stepchip6.on{background:linear-gradient(180deg,#ff8f3a,#ee6d10);border-color:#ffab66;color:#fff}.stepchip6.done b{background:#ffe9d2;color:#1c0a02}
.stephead{font-size:26px;font-weight:600;margin-top:4px}
.flds{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.side-foot{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:10px}
.side-foot .grow{flex:1}
.side-note{font-size:14.5px;color:var(--text2);min-height:20px}
.payamt{text-align:center;font-size:52px;font-weight:700;margin-top:6px}
.paysub{text-align:center;font-size:18px;margin-bottom:8px}
.side-body .btn-o,.side-body .btn-g{width:100%;height:50px;font-size:20px}
.paysteps{display:flex;justify-content:space-between;margin-top:8px;position:relative;font-size:15px}
.paysteps span{display:flex;flex-direction:column;align-items:center;gap:6px}.paysteps i{width:18px;height:18px;border-radius:50%;border:1.5px solid rgba(255,226,200,.6)}.paysteps i.on{background:var(--o);border-color:var(--o)}
.terms6{display:grid;grid-template-columns:1fr auto;gap:8px 20px;font-size:19px}
html.side-on #continueBtn{opacity:.4;pointer-events:none}
/* ---- Day: warm off-white page, white glass panels, the same orange (direction: goal-DAY3) */
html.day{--bg:#efe7dd;--text:#2a1b11;--text2:rgba(42,27,17,.68);--edge:rgba(160,100,60,.30);--edge-soft:rgba(160,100,60,.16)}
html.day body{background:#efe7dd}
html.day .glass,html.day .row,html.day .tcard,html.day .apptag,html.day .jtag{background:linear-gradient(168deg,rgba(255,255,255,.86),rgba(250,244,236,.80));border-color:rgba(190,120,70,.32);color:#2a1b11;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 16px 40px rgba(80,50,30,.16)}
html.day .pill{background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(248,240,232,.9));color:#2a1b11;border-color:rgba(220,120,40,.55)}
html.day .pill.seg button.on,html.day .pill.big.on,html.day .jchip.on,html.day .stage-row.on,html.day .stepchip6.on{color:#fff}
html.day #top{background:linear-gradient(rgba(239,231,221,.92),rgba(239,231,221,.5) 55%,rgba(239,231,221,0))}
html.day #bottom{background:linear-gradient(rgba(239,231,221,0),rgba(239,231,221,.7) 34%,rgba(239,231,221,.95) 80%)}
html.day h1,html.day .ch-label,html.day .mark,html.day .print{color:#2a1b11;text-shadow:none}
html.day .mark i{background:#fff;border-color:rgba(42,27,17,.6)}
html.day .wpov-cap b{background:rgba(255,255,255,.9);color:#2a1b11}
html.day .row-body{background:rgba(255,250,244,.92);border:1px solid rgba(190,120,70,.18);border-top:0}      /* opened rows (Research sources, the chart's note) were near-black under dark Day text */
html.day .proofbtn{background:linear-gradient(180deg,rgba(255,255,255,.88),rgba(248,240,232,.86));border-color:rgba(190,120,70,.32);color:#2a1b11}      /* the proof badges stayed dark glass with dark Day text */
html.day .wpov-cap span{color:#b8540c;text-shadow:none;background:rgba(255,255,255,.8);padding:1px 10px;border-radius:999px}      /* the station name was pale orange on the light page */
html.day .mark.on i{background:radial-gradient(circle at 50% 40%,#ffb26a,#f47920 60%,#e2610a);border-color:#ffd0a0}      /* the chapter you are on keeps its orange in Day (the white Day dot outranked it) */
html.day .mark.done i{background:#f6b27a;border-color:#e2843a;box-shadow:0 0 8px rgba(244,121,32,.35)}
html.day .xbig{background:rgba(255,255,255,.85)}html.day .xbig::before,html.day .xbig::after{background:#2a1b11}
html.day .field6{background:#fff;color:#2a1b11}
html.day .scrim6{background:rgba(239,231,221,.4)}
html.day #leaders line{stroke:#e26a12}
html.day .refs button,html.day .jchip b,html.day .stepchip6 b,html.day .dots5 i{border-color:rgba(42,27,17,.45)}
html.day .switch{background:rgba(42,27,17,.12);border-color:rgba(42,27,17,.3)}html.day .switch i{background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}
html.day .chips span,html.day .refc6,html.day .refrow,html.day .qr6,html.day .benefit,html.day .mrow .m-tag{border-color:rgba(42,27,17,.22)}
html.day .btn-g{border-color:rgba(42,27,17,.3);background:rgba(255,255,255,.6)}
/* ---- AQUIS speaking: the drop lifts and grows a little, a ring of light arcs and a waveform round it, a pulse on the floor,
        a live caption on a slim glass ribbon to its left (hidden when silent) */
.guide{overflow:visible}
#aquisHost{transition:transform .5s cubic-bezier(.2,.8,.2,1)}
html.aquis-speaking #aquisHost{transform:scale(1.44) translateY(-5px)}
#voiceRing{position:absolute;left:50%;top:-44px;width:220px;height:220px;margin-left:-110px;pointer-events:none;filter:drop-shadow(0 0 6px rgba(255,140,50,.6))}
html.day #voiceRing{filter:drop-shadow(0 0 6px rgba(70,170,235,.6))}
#voiceFloor{position:absolute;left:50%;top:104px;width:150px;height:30px;margin-left:-75px;border-radius:50%;background:radial-gradient(ellipse at center,rgba(255,140,50,.75),rgba(255,140,50,0) 70%);opacity:0;pointer-events:none;filter:blur(2px)}
html.day #voiceFloor{background:radial-gradient(ellipse at center,rgba(70,170,235,.7),rgba(70,170,235,0) 70%)}
/* the caption: a glass ribbon like the panels, a fine orange edge, a small pointer toward the drop; it grows leftwards (two lines
   at most) in the band between the chapters' bottom panels (--dock) and the rail; app.js sets its right edge and width */
.voicecap{position:absolute;bottom:160px;padding:10px 20px 11px;border-radius:16px;font-size:clamp(16px,1.43vw,22px);line-height:1.3;font-weight:500;z-index:6;pointer-events:none;
  border:1px solid rgba(255,138,48,.75);box-shadow:0 0 22px rgba(244,121,32,.25),inset 0 1px 0 rgba(255,228,200,.16),0 14px 36px rgba(0,0,0,.55);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;animation:capin .35s ease-out}
.voicecap::after{content:"";position:absolute;right:-7px;bottom:22px;width:12px;height:12px;transform:rotate(45deg);background:rgba(17,10,6,.9);border-right:1px solid rgba(255,138,48,.75);border-top:1px solid rgba(255,138,48,.75)}
.voicecap span{color:var(--text);opacity:.6;transition:opacity .15s,text-shadow .15s}
.voicecap span.now{opacity:1;text-shadow:0 0 14px rgba(255,170,100,.55)}
html.day .voicecap span.now{text-shadow:none}html.day .voicecap::after{background:#fff}
#voiceShade{position:absolute;left:50%;top:-80px;width:300px;height:300px;margin-left:-150px;border-radius:50%;background:radial-gradient(circle,rgba(3,2,1,.82) 0,rgba(3,2,1,.6) 38%,rgba(3,2,1,0) 70%);opacity:0;pointer-events:none}
html.day #voiceShade{background:radial-gradient(circle,rgba(241,236,230,.85) 0,rgba(241,236,230,.6) 38%,rgba(241,236,230,0) 70%)}
@keyframes capin{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){ html.aquis-speaking #aquisHost{transform:scale(1.25)} .voicecap{animation:none} }
/* ---- portrait (an iPad held upright, 780 x 1130): the rail labels shrink and wrap, the journey chips wrap,
        the panels move below the 3D picture instead of beside it */
@media (max-aspect-ratio: 1/1) {
  :root{--dock:252px}
  #top{padding:14px 18px 0 20px;height:auto}
  .ch-label{font-size:15px}
  h1{font-size:30px;white-space:normal;max-width:calc(100vw - 40px);margin-top:62px}
  h1.long{font-size:22px}
  .pills{right:14px;top:12px;gap:6px}
  .pill{height:34px;font-size:14.5px;padding:0 12px}
  #rail{left:14px;right:150px}
  .mark{font-size:13px;white-space:normal;text-align:center;line-height:1.15;gap:9px}
  .mark span{max-width:84px}
  .guide{right:6px;width:130px}
  .journey{left:14px;right:14px;bottom:var(--dock);flex-wrap:nowrap;border-radius:26px;padding:10px 12px 10px 10px}
  .jchips{flex-wrap:wrap;gap:5px}
  .jchip{height:30px;font-size:13.5px;padding:0 10px 0 5px}
  .print{left:14px;font-size:11px}
  .package{left:14px;right:14px;top:142px}
  .package button{padding:0 12px!important;font-size:15.5px}
  .unit-buttons{left:14px;bottom:auto;top:194px}
  .sys-panel,.stages,.extra-panel{left:14px;right:14px;width:auto;top:auto;bottom:calc(var(--dock) + 106px);max-height:27vh;overflow:auto;padding:16px 18px 12px}
  .sys-head{font-size:28px}
  .benefit .hd{min-height:44px;font-size:17px}
  .proofs{left:14px;right:14px;bottom:var(--dock);display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .proofbtn{height:44px;font-size:14px}
  .grade{left:14px;right:14px;transform:none;top:142px;gap:10px;padding:10px 14px;flex-wrap:wrap}
  .g-num{font-size:40px}.g-word{font-size:20px}.g-note{display:none}
  .cost-col{left:14px;right:14px;width:auto;top:auto;bottom:var(--dock);gap:8px}
  .ccard{padding:10px 14px}
  .c-badges{display:none}
  .askrow{left:14px;right:14px;max-width:none;bottom:auto;top:146px}
  .wear-panel{left:14px;right:14px;width:auto;top:auto;bottom:var(--dock);max-height:44vh;overflow:auto}
  .grid6{left:14px;right:14px;bottom:var(--dock);grid-template-columns:1fr;gap:8px}
  .invest6 .chips,.avail6,.qr6 span,.upto6{display:none}
  .lower6,.invest6{padding:10px 14px}.refc6{padding:8px 10px;gap:6px}.qr6{width:64px;height:52px}

  .ch-label{margin-top:16px}
  .next6{grid-column:1;font-size:13px;gap:8px;padding:8px 14px}.next6 .n-k{display:none}
  .ch[data-ch="5"] .choice{bottom:calc(var(--dock) + 278px);height:270px;padding:12px}
  .ch[data-ch="5"] .choice.today{left:14px;width:calc(50% - 21px)}
  .ch[data-ch="5"] .choice.sys{left:calc(50% + 7px);width:calc(50% - 21px)}
  .ch[data-ch="5"] .chart-panel{left:14px;right:14px;bottom:var(--dock);height:270px}
  .ch[data-ch="5"] .choice h3{min-height:40px;font-size:17px}.ch[data-ch="5"] .c-mid{min-height:36px;font-size:16px}
  .side6{left:14px;right:14px;width:auto;top:120px}
}

/* for still captures: no transitions */
html.no-anim *,html.no-anim *::before,html.no-anim *::after{transition:none!important;animation:none!important}

/* ---- chapter 3, one tap down: the appliance wear view */
.wear{position:absolute;inset:0;z-index:3}
.wear>*{pointer-events:auto}
.pill.back{position:absolute;left:28px;top:12px;height:36px;padding:0 16px 0 14px;font-size:16.5px;gap:9px;border-color:rgba(255,206,164,.55);border-width:1px}
.chev.left{transform:rotate(-135deg);width:9px;height:9px;margin:0 0 0 3px}
html.wear-on .ch-label{margin-left:196px;padding-left:22px;border-left:1px solid rgba(255,214,178,.35);line-height:30px;margin-top:-3px}
html.wear-on h1{margin-top:6px;max-width:none}
html.wear-on .ch[data-ch="3"]{opacity:0!important;visibility:hidden!important}
html.wear-on #resetView,html.wear-on #navPill{opacity:.0;pointer-events:none}
.wear-panel{position:absolute;right:22px;top:112px;width:496px;padding:20px 20px 18px;border-color:rgba(255,160,90,.6);animation:slidein .7s cubic-bezier(.2,.8,.2,1)}
@keyframes slidein{from{transform:translateX(60px);opacity:0}to{transform:none;opacity:1}}
.wear-switch{display:flex;gap:8px}
.wear-switch .pill{flex:1;justify-content:center;padding:0 8px;font-size:16.5px;height:42px}
.wear-panel .kicker{margin:20px 4px 0;font-size:15px}
.year-slider{position:relative;margin:14px 10px 0;height:64px}
.year-slider input{position:absolute;left:0;right:0;top:6px;width:100%;height:2px;background:linear-gradient(90deg,var(--o) var(--p,66%),rgba(255,238,224,.75) var(--p,66%));margin:0}
.year-slider input::-webkit-slider-thumb{width:24px;height:24px;border:2px solid #ffd0a0;background:radial-gradient(circle at 50% 40%,#ffb26a,#f47920 60%,#e2610a);box-shadow:0 0 0 3px rgba(244,121,32,.22),0 0 18px 3px rgba(244,121,32,.8)}
.stops{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;pointer-events:none}
.stops span{position:relative;width:0;display:flex;justify-content:center;padding-top:28px;font-size:18px;white-space:nowrap;pointer-events:auto;cursor:pointer;color:var(--text)}
.stops span::before{content:"";position:absolute;top:0;left:-7px;width:12px;height:12px;border-radius:50%;border:1.5px solid rgba(255,238,224,.9);background:#120a05}
.stops span.on{color:var(--o2);font-weight:700;font-size:20px}
.stops span.on::before{opacity:0}
.wear-cond{margin:4px 4px 0;font-size:18px;color:var(--text)}
.wear-cond b{color:var(--o2);font-weight:650}
.wear-panel h3{font-size:31px;font-weight:700;letter-spacing:-.01em;margin:10px 4px 0;line-height:1.1}
.wear-panel>p{font-size:18.5px;margin:6px 4px 0;line-height:1.35}
.wear-names{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin:16px 0 14px}
.wear-names .pill{justify-content:center;font-size:18px;height:40px}
.wear-panel .row{font-size:19px;min-height:42px}
.note.sources{display:flex;flex-direction:column;gap:5px;font-size:13.5px;line-height:1.3}
.note.sources b{color:var(--text);font-weight:600}
.note.sources .src{margin-top:4px;opacity:.85}
.wear-panel .note.sources{font-size:15px;line-height:1.32;margin:12px 4px 0;gap:6px;color:var(--text)}
.wear-panel .note.sources .src{font-size:13px}
.wear-panel .row-wrap.open .row-body{max-height:240px}

/* the round window held on its last picture (the governor's last resort): a little dimmer, with a small pause mark */
#pov.held{filter:saturate(.7) brightness(.82)}
#pov.held::after{content:'';position:absolute;right:16%;bottom:16%;width:14px;height:16px;border-left:4px solid rgba(255,230,210,.85);border-right:4px solid rgba(255,230,210,.85);box-sizing:border-box;pointer-events:none}

/* the wear view's own close button (top right of its panel), above the now / after switch */
.wear-panel{padding-top:60px}
.wear-panel #wearClose{top:10px;right:10px}
/* See inside: the same close button (top right of its panel) and Back pill (top left) as every extra */
.stages #insideClose{top:10px;right:10px}
.stages{padding-top:22px}
html.inside-on .ch-label{margin-left:236px;padding-left:22px;border-left:1px solid rgba(255,214,178,.35)}
/* NOTES-products 26: on short landscape screens (1280 x 800) See inside gets more height: the big title steps out (the panel names the
   product), the step pills move up into its place and the two buttons drop into the proof row's place (the proofs are hidden in this state) */
@media (min-aspect-ratio: 1/1) and (max-height: 900px) {
  html.inside-on #chTitle{visibility:hidden}
  html.inside-on .package{top:54px}
  html.inside-on .unit-buttons{bottom:calc(var(--dock) + 8px)}
}
/* chapter 2's conclusion, after the grade and the six cards have come in: Puronics' recommendation (moved here from chapter 1) */
.verdict{position:absolute;left:50%;bottom:calc(var(--dock) - 28px);transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:12px 22px 13px 16px;border-radius:18px;
  font-size:clamp(17px,1.45vw,22px);font-weight:600;color:var(--text);white-space:nowrap;border-color:rgba(255,150,70,.7);box-shadow:0 0 26px rgba(244,121,32,.22),0 14px 36px rgba(0,0,0,.5);opacity:0}
.verdict .vd-mark{width:22px;height:22px;border-radius:50%;background:var(--o);box-shadow:0 0 12px rgba(255,140,50,.7);flex:none;position:relative}
.verdict .vd-mark::after{content:'';position:absolute;left:7px;top:4px;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.ch.on .verdict{animation:verdictIn .8s cubic-bezier(.2,.8,.2,1) 1.9s both}
@keyframes verdictIn{from{opacity:0;transform:translate(-50%,14px)}to{opacity:1;transform:translateX(-50%)}}
@media (max-width: 900px){ .verdict{white-space:normal;left:14px;right:14px;transform:none;bottom:calc(var(--dock) + 8px)} @keyframes verdictIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}} }
html.day .verdict{color:#2a1b11}
/* (the "Explain this" chip is gone, 14 Nov: AQUIS speaks from chapter 1 Play and See inside only) */
/* products.js's panel inside See inside: the list scrolls inside it */
#insidePanel{height:calc(100% - 300px);display:flex;flex-direction:column}
#pdHost{height:100%;min-height:0;flex:1}

/* ---- the quiet Play bar (Daniel, 13 Nov: "more low-key ... show less of that and more of the landscape"): one small round play button,
        a thin line with six dots; only the current stop names itself; while playing it fades to a third and comes back on touch */
.journey,.journey.glass,html.day .journey.glass{background:none;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0;gap:14px;border-radius:0;transition:opacity .6s}
.journey .jstate{display:none}
.journey .jplay{width:40px;height:40px;box-shadow:0 0 12px rgba(244,121,32,.45),inset 0 1px 0 rgba(255,236,214,.45)}
.journey .jplay svg{width:18px;height:18px}
.journey .jchips{position:relative;gap:0;align-items:center;flex-wrap:nowrap}
.journey .jchips::before{content:'';position:absolute;left:14px;right:14px;top:50%;height:1px;background:rgba(255,232,214,.38)}
html.day .journey .jchips::before{background:rgba(42,27,17,.3)}
.journey .jchip,.journey .jchip.on,html.day .journey .jchip.on{position:relative;height:28px;padding:0 9px;gap:7px;border:0;border-radius:14px;background:none;box-shadow:none;font-size:13.5px;font-weight:600;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.85)}
html.day .journey .jchip,html.day .journey .jchip.on{color:#2a1b11;text-shadow:0 0 6px rgba(255,255,255,.9)}
.journey .jchip b{width:10px;height:10px;font-size:0;border:1.5px solid rgba(255,232,214,.85);background:rgba(10,6,4,.55)}
html.day .journey .jchip b{border-color:rgba(42,27,17,.55);background:rgba(255,255,255,.8)}
.journey .jchip.done b{background:#ffe9d2;border-color:#ffe9d2}
.journey .jchip.on b{width:12px;height:12px;background:#f47920;border-color:#ffb27a;box-shadow:0 0 10px rgba(244,121,32,.8)}
.journey .jchip span{display:none}
.journey .jchip.on span{display:inline}
html.j-playing:not(.j-touched) .journey{opacity:.33}
@media (max-width: 900px){ .journey{left:14px;right:auto} .journey .jchip{padding:0 7px} }
/* Chapter 3 on short landscape screens (1280 x 800): the cost column ran over the bottom chapter bar; it is drawn a little smaller, from the same corner */
@media (min-aspect-ratio: 1/1) and (max-height: 860px) { .cost-col{top:100px;transform:scale(.84);transform-origin:top right} }
/* the three water routes: the app's "Illustrative ... path" line under the title, and the rep's small source control in the set-up line */
.ch-sub{font-size:19px;font-weight:400;opacity:.82;margin-top:2px;text-shadow:0 1px 12px rgba(0,0,0,.7)}
html.day .ch-sub{text-shadow:none}
/* measuring page: "panel blur off" removes every backdrop blur (does Safari re-blur the glass over the moving canvas every frame?) */
html.noblur *,html.noblur *::before,html.noblur *::after{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* a long route tag (GWUDI's three sentences) is wider rather than taller; the quiet bar while playing at half, not a third (too faint on a dark scene) */
.jtag.on p{max-width:440px}
html.j-playing:not(.j-touched) .journey{opacity:.5}

/* ---- narrated movie mode (html.movie): the 3D takes the whole screen; AQUIS and its live transcript stay, plus one small control */
#top,#bottom #rail,#bottom .print,#bottom .continue,.ch>*,#hotspots,#leaders,#pov,#povCap,#insidePanel,#insideBack,[class^="pd-"]:not(.pd-film){transition:opacity .7s ease,visibility .7s}
html.movie #top,html.movie #bottom #rail,html.movie #bottom .print,html.movie #bottom .continue,html.movie .ch>*:not(#journey):not(#pov):not(#povCap),html.movie #hotspots,html.movie #leaders,html.movie #insidePanel,html.movie #insideBack,html.movie [class^="pd-"]:not(.pd-film){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
html.movie .ch>#journey{opacity:.25}
/* the narrated journey: the water's marker and its thread stay (only the station tags, the end tag and the strip step out), and the bar
   says plainly which stage it is: "Stage 2 of 6 · Through the ground" */
html.movie.jmovie #hotspots,html.movie.jmovie #leaders{opacity:1!important;visibility:visible!important}
html.movie.jmovie #hotspots>*:not(.wyou){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
html.movie.jmovie .ch>#journey,html.movie.jmovie.j-playing:not(.j-touched) .journey{opacity:1}
html.jmovie .journey .jchip.on span{font-size:17px;padding:5px 12px;border-radius:14px;background:rgba(12,7,4,.62);border:1px solid rgba(255,178,122,.45)}
html.day.jmovie .journey .jchip.on span{background:rgba(255,255,255,.86);border-color:rgba(244,121,32,.5)}
html.jmovie .journey .jchip.on span::before{content:'Stage ' attr(data-n) ' of 6 · ';color:#ffb27a;font-weight:600}
html.day.jmovie .journey .jchip.on span::before{color:#c85a0a}
html.jmovie .wyou{width:28px;height:28px;margin:-14px 0 0 -14px;box-shadow:0 0 22px rgba(190,225,255,.9)}
html.movie #bottom{background:none}
html.movie .voicecap{font-size:clamp(17px,1.5vw,23px);-webkit-line-clamp:3;max-height:none}
html.movie .voicecap span{opacity:0;transition:opacity .25s}
html.movie .voicecap span.said{opacity:.55}
html.movie .voicecap span.now{opacity:1}
html.movie .voicecap span.gone{display:none}
#movieCtl{position:absolute;right:26px;bottom:18px;display:flex;gap:8px;z-index:7;opacity:0;visibility:hidden;transition:opacity .6s,visibility .6s}
html.movie #movieCtl{opacity:.75;visibility:visible}
#movieCtl button{width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,214,178,.45);background:rgba(12,7,4,.55);color:#ffe9d6;font-size:12px;display:grid;place-items:center}
html.day #movieCtl button{background:rgba(255,255,255,.7);color:#2a1b11;border-color:rgba(42,27,17,.3)}
#movieSteps{position:absolute;left:24px;right:104px;bottom:14px;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:999px;overflow-x:auto;scrollbar-width:none;z-index:7;opacity:0;visibility:hidden;transition:opacity .5s,visibility .5s;pointer-events:auto}
#movieSteps::-webkit-scrollbar{display:none}
html.movie #movieSteps:not([hidden]){opacity:.92;visibility:visible}
#movieSteps .ms-mode,#movieSteps .ms-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px;border-radius:999px;border:1px solid rgba(255,214,178,.28);background:rgba(16,10,6,.56);color:rgba(255,235,216,.84);font-size:11.5px;letter-spacing:.01em;cursor:pointer;white-space:nowrap}
#movieSteps .ms-chip i{font-style:normal;font-size:10px;opacity:.7;min-width:12px;text-align:center}
#movieSteps .ms-chip.done{border-color:rgba(255,146,58,.38);color:rgba(255,235,216,.94)}
#movieSteps .ms-chip.on,#movieSteps .ms-mode.on{background:rgba(255,122,26,.9);border-color:#ff9e52;color:#1b0c03;font-weight:600}
#movieSteps .ms-chip.on i{opacity:1}
html.day #movieSteps .ms-mode,html.day #movieSteps .ms-chip{background:rgba(255,255,255,.76);color:#2a1b11;border-color:rgba(42,27,17,.22)}
html.day #movieSteps .ms-chip.on,html.day #movieSteps .ms-mode.on{background:#e86b15;border-color:#c9580c;color:#fff}
.pdocs .legal-read{border-color:rgba(255,146,58,.65);background:rgba(255,122,26,.18)}

/* movie mode keeps the round window, the one thing beside AQUIS and its transcript (14 Nov: #pov and #povCap are children of .ch, so
   the .ch>* rule above excludes them by name; before, the narrated journey hid the water POV) */

/* ---- the cover (goal-S0-cover): the first thing on screen, before Play, over chapter 1's opening view, slightly darker.
   html.cover-on is set by a line in index.html's head (so chapter 1's title never flashes) and removed by Begin / any chapter move. */
.cover{position:absolute;inset:0;z-index:1;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .6s ease,visibility .6s}
html.cover-on .cover{opacity:1;visibility:visible}
html.cover-on #top,html.day.cover-on #top{z-index:3;background:none}      /* its dark band would sit over the dealer lockup */
.cv-dim{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(3,2,1,.80) 0%,rgba(3,2,1,.62) 26%,rgba(3,2,1,.22) 50%,rgba(3,2,1,.16) 100%)}
html.day .cv-dim{background:linear-gradient(90deg,rgba(246,241,235,.90) 0%,rgba(246,241,235,.70) 26%,rgba(246,241,235,.14) 50%,rgba(246,241,235,0) 100%)}
.cv-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:#fff3e6;overflow:visible;filter:drop-shadow(0 0 3px rgba(0,0,0,.6))}
html.day .cv-lines{color:#3a2516;filter:none}
.cv-tag{position:absolute;left:-999px;top:0;transform:translate(-50%,-100%);padding:6px 15px 7px;border-radius:10px;font-size:16px;font-weight:600;white-space:nowrap;color:#fff;opacity:0;pointer-events:none;border-color:rgba(255,226,200,.55)}
.cv-dealer{position:absolute;left:32px;top:24px;display:flex;align-items:center;gap:14px;pointer-events:none;color:var(--o)}
/* the dealer's own logo lockup from the app's brand pack (aw-logo.png); Night uses the same lockup with the wordmark in white */
.cv-dealer .cv-logo{height:clamp(70px,9.6vh,104px);width:auto;flex:none;filter:drop-shadow(0 2px 10px rgba(0,0,0,.5))}
.cv-dealer .cv-logo-d,html.day .cv-dealer .cv-logo-n{display:none}
html.day .cv-dealer .cv-logo-d{display:block;filter:none}
.cv-dealer .cv-dealer-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}      /* the logo says the name; kept for screen readers */
.cv-dealer.custom .cv-logo{display:none!important}.cv-dealer.custom .cv-dealer-name{position:static;width:auto;height:auto;clip:auto}      /* ?dealer= another name: words instead */
.cv-dealer span{letter-spacing:.06em}
.cv-dealer .vr{width:1px;height:44px;background:rgba(255,226,200,.45);flex:none}
.cv-dealer b{display:block;font-size:30px;font-weight:700;letter-spacing:-.005em;line-height:1.05;color:#fff;white-space:nowrap}
.cv-dealer span{display:block;font-size:17px;color:rgba(255,238,224,.86);margin-top:3px;white-space:nowrap}
/* co-brand lockup (Daniel 14 Nov: "more professional"): logo | a rule exactly the logo's height | AUTHORIZED DEALER over PURONICS */
.cv-dealer{--lh:clamp(70px,9.6vh,104px);gap:clamp(16px,2vw,24px);align-items:center}
.cv-dealer .cv-logo{height:var(--lh)}
.cv-dealer .vr{width:1.5px;height:calc(var(--lh) * .8);background:rgba(255,226,200,.5);border-radius:1px}
.cv-dealer .cv-auth{display:flex;flex-direction:column;justify-content:center;gap:calc(var(--lh) * .07)}
.cv-dealer .cv-auth span{margin:0;font-size:calc(var(--lh) * .14);font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:rgba(255,238,224,.74);line-height:1}
.cv-dealer .cv-pur{font-style:normal;font-size:calc(var(--lh) * .3);font-weight:800;letter-spacing:.2em;line-height:1;color:var(--o);text-shadow:0 0 18px rgba(244,121,32,.35)}
html.day .cv-dealer .cv-pur{text-shadow:none}
/* Puronics' own wordmark (puronics.com logo file, tagline cropped off; Night: same file with the blue letters in white) */
.cv-dealer .cv-pur{display:block;line-height:0}
.cv-dealer .cv-pur img{height:calc(var(--lh) * .34);width:auto;display:block}
.cv-dealer .cv-pur-d,html.day .cv-dealer .cv-pur-n{display:none!important}
html.day .cv-dealer .cv-pur-d{display:block!important}
.cv-dealer.custom .vr,.cv-dealer.custom .cv-auth span,.cv-dealer.custom .cv-pur{display:none}
/* Scrawl #22: remove Authorized Dealer / Puronics co-brand on cover; display dealer logo cleanly alone */
.cv-dealer .vr,.cv-dealer .cv-auth span,.cv-dealer .cv-pur{display:none!important}
.cv-main{position:absolute;left:48px;top:clamp(130px,27vh,300px);max-width:min(640px,46vw);pointer-events:none}
.cv-k{font-size:clamp(16px,2vh,21px);font-weight:700;letter-spacing:.2em;color:var(--o2)}
.cv-family{font-size:clamp(40px,6vh,62px);font-weight:750;line-height:1.08;color:#fff;margin-top:10px;letter-spacing:-.015em;text-shadow:0 2px 24px rgba(0,0,0,.65);overflow-wrap:anywhere}
.cv-addr,.cv-date{font-size:clamp(18px,2.35vh,25px);color:rgba(240,232,224,.9);line-height:1.42;text-shadow:0 1px 12px rgba(0,0,0,.7)}
.cv-addr{margin-top:12px}
.cv-rule{height:1px;width:min(390px,100%);margin:clamp(16px,2.6vh,28px) 0;background:linear-gradient(90deg,rgba(244,121,32,.85),rgba(244,121,32,0))}
.cv-rep{display:flex;align-items:center;gap:14px;font-size:clamp(16px,1.95vh,20px);color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.7)}
.cv-av{width:clamp(48px,6vh,62px);height:clamp(48px,6vh,62px);border-radius:50%;flex:none;display:grid;place-items:center;font-weight:700;font-size:clamp(17px,2.1vh,22px);letter-spacing:.04em;color:#fff;
  border:2px solid var(--o);background:radial-gradient(circle at 50% 35%,#3a2416,#140b06);box-shadow:0 0 14px rgba(244,121,32,.45);text-shadow:none}
.cv-begin{display:inline-flex;align-items:center;gap:22px;margin-top:clamp(20px,3.4vh,40px);pointer-events:auto}
.cv-begin i{width:clamp(70px,8.6vh,90px);height:clamp(70px,8.6vh,90px);border-radius:50%;display:grid;place-items:center;color:#fff;flex:none;
  background:radial-gradient(circle at 45% 32%,#ffa155,#f47920 55%,#d9590a);box-shadow:0 0 0 4px rgba(244,121,32,.18),0 0 30px rgba(244,121,32,.65),inset 0 1px 0 rgba(255,236,214,.6);transition:transform .2s}
.cv-begin i svg{width:42%;height:42%;margin-left:7%}
.cv-begin span{font-size:clamp(36px,4.8vh,50px);font-weight:700;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.6)}
.cv-begin:active i{transform:scale(.94)}
/* while the cover shows: no chapter title, no round window, no stops, no small Play bar; the rail stays, quiet */
#heading{transition:opacity .6s ease,visibility .6s}
html.cover-on #heading,html.cover-on #journey,html.cover-on #pov,html.cover-on #povCap,html.cover-on #jClosing{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
/* Scrawl #19: strictly hide Chapter 1 "YOU ARE THE WATER" POV HUD and journey overlays after Chapter 1 across all viewports */
body[data-ch]:not([data-ch="1"]) #pov,
body[data-ch]:not([data-ch="1"]) #povCap,
body[data-ch]:not([data-ch="1"]) .wpov,
body[data-ch]:not([data-ch="1"]) .wpov-cap,
body[data-ch]:not([data-ch="1"]) .jcarry,
body[data-ch]:not([data-ch="1"]) .wyou,
body[data-ch]:not([data-ch="1"]) .jtag{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:none!important}
html.cover-on #rail{opacity:.38}
html.day.cover-on #rail{opacity:.62}      /* the Day rail is paler to begin with */
/* Day: white page, dark text, orange accent */
html.day .cv-dealer b,html.day .cv-family,html.day .cv-rep,html.day .cv-begin span{color:#1e130b;text-shadow:none}
html.day .cv-dealer span,html.day .cv-addr,html.day .cv-date{color:#5a4636;text-shadow:none}
html.day .cv-dealer .vr{background:rgba(42,27,17,.3)}
html.day .cv-k{color:#d4620e}
html.day .cv-av{background:#fff;color:#2a1b11}
/* a narrow pane: the block stands above the landscape, smaller */
@media (max-aspect-ratio: 1/1) {
  .cv-dim{background:linear-gradient(180deg,rgba(3,2,1,.72) 0%,rgba(3,2,1,.5) 36%,rgba(3,2,1,.1) 50%,rgba(3,2,1,.12) 100%)}
  html.day .cv-dim{background:linear-gradient(180deg,rgba(246,241,235,.88) 0%,rgba(246,241,235,.6) 36%,rgba(246,241,235,.06) 50%,rgba(246,241,235,0) 100%)}
  .cv-dealer{left:20px;top:32px;gap:11px}
  .cv-dealer svg{width:26px;height:32px}
  .cv-dealer .vr{height:34px}
  .cv-dealer b{font-size:22px}
  .cv-dealer span{font-size:13.5px}
  .cv-main{left:24px;top:108px;max-width:calc(100vw - 48px)}
  .cv-k{font-size:15px}
  .cv-family{font-size:40px;margin-top:6px}
  .cv-addr,.cv-date{font-size:18px}
  .cv-addr{margin-top:8px}
  .cv-rule{margin:14px 0}
  .cv-rep{font-size:16px}
  .cv-av{width:46px;height:46px;font-size:16px}
  .cv-begin{margin-top:16px;gap:16px}
  .cv-begin i{width:64px;height:64px}
  .cv-begin span{font-size:34px}
}

/* ---- the rep's PROPOSAL SETTINGS drawer and the Video call panel (settings-drawer.js; 14 Nov). Never part of the 3D. */
#menuPill{padding:0 11px}
#videoPill .ico{width:21px;height:21px}
/* 15 Nov "premium simplicity" (goal-D1-settings.png, goal-D2-financing.png): a main page and one page per row, sliding inside the drawer. Backup styles.presimple.css. */
.sd-scrim{position:fixed;inset:0;z-index:20;background:rgba(3,2,1,.2)}
html.day .sd-scrim{background:rgba(239,231,221,.34)}
.sd-drawer{position:fixed;right:0;top:0;bottom:0;width:520px;max-width:100vw;z-index:21;border-radius:24px 0 0 24px;border:1px solid rgba(255,190,140,.22);border-right:0;overflow:hidden;
  background:linear-gradient(170deg,rgba(28,22,18,.985),rgba(16,12,10,.99) 55%,rgba(11,8,7,.995));box-shadow:-24px 0 60px rgba(0,0,0,.5);
  animation:sdin .38s cubic-bezier(.2,.8,.2,1);user-select:text;-webkit-user-select:text;touch-action:pan-y;color:#fff;--sd-2:rgba(255,246,238,.62);--sd-line:rgba(255,214,180,.12);--sd-card:rgba(255,240,228,.045);--sd-box:rgba(255,214,180,.2)}
html.day .sd-drawer{background:#fff;color:#1f1712;border-color:rgba(160,100,60,.16);box-shadow:-18px 0 50px rgba(80,50,30,.16);--sd-2:rgba(31,23,18,.58);--sd-line:rgba(60,40,25,.1);--sd-card:rgba(60,40,25,.03);--sd-box:rgba(60,40,25,.16)}
@keyframes sdin{from{transform:translateX(60px)}to{transform:none}}
.sd-page{position:absolute;inset:0;display:flex;flex-direction:column;background:linear-gradient(170deg,#1c1612,#100c0a 55%,#0b0807)}
html.day .sd-page{background:#ffffff}
html.aqua .sd-page{background:linear-gradient(168deg,#082038,#031426)}
.sd-page.in-fwd{animation:sdInF .32s cubic-bezier(.2,.8,.2,1);z-index:2}
.sd-page.out-fwd{animation:sdOutF .32s cubic-bezier(.2,.8,.2,1) forwards;pointer-events:none;z-index:1}
.sd-page.in-back{animation:sdInB .32s cubic-bezier(.2,.8,.2,1);z-index:2}
.sd-page.out-back{animation:sdOutB .32s cubic-bezier(.2,.8,.2,1) forwards;pointer-events:none;z-index:1}
@keyframes sdInF{from{transform:translateX(100%)}to{transform:none}}
@keyframes sdOutF{to{transform:translateX(-28%);opacity:0}}
@keyframes sdInB{from{transform:translateX(-28%);opacity:0}to{transform:none;opacity:1}}
@keyframes sdOutB{to{transform:translateX(100%)}}
@media (prefers-reduced-motion: reduce){.sd-drawer,.sd-page{animation:none!important}}
.sd-head{display:flex;align-items:center;gap:12px;padding:26px 26px 14px 28px}
.sd-head h2{flex:1;font-size:36px;font-weight:700;letter-spacing:-.01em;line-height:1.1;margin:0}
.sd-head.main h2{font-size:42px}
.sd-head .xbig.small{position:relative;right:auto;top:auto;width:46px;height:46px;flex:none;background:rgba(255,240,228,.08);border:1px solid rgba(255,214,180,.35)}
.sd-head .xbig.small::before,.sd-head .xbig.small::after{left:14px;right:14px;top:21.5px}
html.day .sd-head .xbig.small{background:rgba(60,40,25,.05);border-color:rgba(60,40,25,.2)}
.sd-back{width:44px;min-width:44px;height:46px;min-height:44px;margin-left:-10px;display:grid;place-items:center;flex:none;border-radius:12px;outline:none}
.sd-back:focus{outline:none}
.sd-back:focus-visible{outline:2px solid var(--pv-accent);outline-offset:2px}
.sd-back .chev.left{width:13px;height:13px;border-width:2.2px;margin:0 0 0 6px;border-color:currentColor}
.sd-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:6px 26px 22px 28px;scrollbar-width:thin;display:flex;flex-direction:column;gap:14px}
.sd-body>*{flex:none}
.sd-ico{width:34px;height:34px;color:var(--o);flex:none}
.sd-it{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;text-align:left}
.sd-it b{font-size:20px;font-weight:600;line-height:1.2}
.sd-it small{font-size:16px;color:var(--sd-2);line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-drawer .chev{border-color:currentColor;width:10px;height:10px;opacity:.85}
/* summary card */
.sd-sum{border:1px solid var(--sd-box);border-radius:18px;background:var(--sd-card);padding:22px 26px 22px}
.sd-sum-top{display:flex;align-items:center;gap:26px}
.sd-sum-top>div{display:flex;flex-direction:column;gap:2px}
.sd-sum-top span{font-size:17px;color:var(--sd-2)}
.sd-big{font-size:52px;font-weight:700;color:var(--o2);letter-spacing:-.02em;line-height:1.05}
html.day .sd-big{color:#e2680f}
.sd-mid{font-size:36px;font-weight:700;letter-spacing:-.01em;line-height:1.1}
.sd-vr{width:1px;align-self:stretch;margin:6px 0;background:var(--sd-box)}
.sd-sum-line{margin:16px 0 0;font-size:20px}
.sd-sum-note{margin:4px 0 0;font-size:15px;color:var(--sd-2)}
/* the seven rows */
.sd-list{display:flex;flex-direction:column}
.sd-row7{display:flex;align-items:center;gap:20px;min-height:82px;padding:8px 6px 8px 4px;border-bottom:1px solid var(--sd-line)}
.sd-row7:last-child{border-bottom:0}
.sd-row7 .chev{margin-right:8px}
.sd-row7:hover .sd-it b,.sd-link:hover .sd-it b{color:var(--o2)}
html.day .sd-row7:hover .sd-it b,html.day .sd-link:hover .sd-it b{color:#d4600c}
.sd-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 26px 0 28px;padding:18px 0 calc(22px + var(--pv-sab,0px));border-top:1px solid var(--sd-line)}
.sd-saved{font-size:16px;color:var(--sd-2)}
.sd-reset{font-size:17px;font-weight:500;color:var(--sd-2);min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px}
.sd-reset:hover{color:inherit}
/* sub-page items */
.sd-group{display:flex;flex-direction:column;border:1px solid var(--sd-box);border-radius:18px;background:var(--sd-card);overflow:hidden}
.sd-item{display:flex;align-items:center;gap:14px;min-height:78px;padding:10px 20px;border-bottom:1px solid var(--sd-line);width:100%}
.sd-item:last-child{border-bottom:0}
.sd-item .sd-it small{white-space:normal}
.sd-item.col{flex-direction:column;align-items:stretch;gap:10px;padding:16px 20px}
.sd-item.static{cursor:default}
.sd-item.locked .sd-it b{color:var(--sd-2)}
.sd-amt{font-style:normal;font-size:18px;font-weight:600;color:var(--o2);white-space:nowrap}
html.day .sd-amt{color:#d4600c}
.sd-amt.dim{color:var(--sd-2)!important;font-weight:500;font-size:16px}
.sd-lock{width:24px;height:24px;color:var(--sd-2);flex:none}
.sd-hint{margin:-2px 4px 0;font-size:16px;line-height:1.4;color:var(--sd-2)}
.sd-sub{margin:4px 4px -4px;font-size:17px;font-weight:600;color:var(--sd-2)}
.sd-drawer .switch{width:58px;height:44px}
.sd-drawer .switch::before{top:5px;height:34px}
.sd-drawer .switch i{width:26px;height:26px;top:9px}
.sd-drawer .switch.on i{left:29px}
.switch.nope{animation:sdnope .4s}
@keyframes sdnope{25%{translate:-5px}75%{translate:5px}}
.sd-swb{flex:none;display:flex}
.sd-money{display:flex;align-items:center;gap:6px;height:56px;padding:0 16px;border:1px solid var(--sd-box);border-radius:14px;background:rgba(0,0,0,.18);flex:none}
html.day .sd-money{background:#fff}
.sd-money em{font-style:normal;font-size:22px;color:var(--sd-2)}
.sd-money:focus-within,.sd-in.wide:focus,.sd-in.name:focus{border-color:var(--o);box-shadow:0 0 0 3px rgba(244,121,32,.22)}
.sd-in{width:118px;height:100%;border:0;background:none;color:inherit;font:600 24px var(--font);text-align:right;outline:none;user-select:text;-webkit-user-select:text;pointer-events:auto}
.sd-money.sm{height:48px;padding:0 12px}
.sd-money.sm .sd-in{width:70px;font-size:19px}
.sd-in.wide{width:100%;height:52px;border:1px solid var(--sd-box);border-radius:14px;background:rgba(0,0,0,.18);font-size:19px;font-weight:500;text-align:left;padding:0 16px}
html.day .sd-in.wide{background:#fff}
.sd-in.name{flex:1;min-width:0;width:auto;height:46px;font-size:20px;font-weight:600;text-align:left;border:1px solid transparent;border-radius:10px;padding:0 8px;margin-left:-8px}
.sd-in.name:hover{border-color:var(--sd-box)}
/* quiet disclosure */
.sd-disc summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:17px;color:var(--sd-2);padding:6px 4px}
.sd-disc summary::-webkit-details-marker{display:none}
.sd-disc summary .chev{width:8px;height:8px;transform:rotate(135deg);margin-top:-4px}
.sd-disc[open] summary .chev{transform:rotate(-45deg);margin-top:4px}
.sd-disc-b{padding-top:10px}
/* financing (goal-D2) */
.sd-seg{display:flex;border:1px solid var(--sd-box);border-radius:16px;padding:4px;gap:0;background:var(--sd-card)}
.sd-seg button{flex:1;height:50px;border-radius:12px;font-size:18px;font-weight:500;white-space:nowrap;padding:0 8px;position:relative}
.sd-seg button+button:not(.on)::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:1px;background:var(--sd-box)}
.sd-seg button.on+button::before{display:none}
.sd-seg button.on,.sd-range button.on,.sd-cta{background:linear-gradient(180deg,#ff9440,#f47920);color:#1a0d04;font-weight:650}
.sd-range{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 2px}
.sd-range b{font-size:20px;font-weight:600}
.sd-range span{display:flex;gap:10px}
.sd-range button{width:50px;height:50px;border-radius:50%;border:1.5px solid rgba(255,230,210,.42);font-size:18px;font-weight:500}
html.day .sd-range button{border-color:rgba(60,40,25,.3)}
.sd-range button.on{border-color:transparent}
.sd-plans{display:flex;flex-direction:column;gap:12px}
.sd-plan{display:flex;align-items:center;gap:14px;min-height:96px;padding:14px 22px 14px 26px;border:1.5px solid var(--sd-box);border-radius:18px;background:var(--sd-card);cursor:pointer;outline:none}
.sd-plan .sd-it b{font-size:26px;font-weight:700}
.sd-plan .sd-it small{font-size:19px;white-space:normal}
.sd-plan.on{border:2.5px solid var(--o);padding:13px 21px 13px 25px;box-shadow:0 0 22px rgba(244,121,32,.18)}
.sd-plan:focus-visible{box-shadow:0 0 0 3px rgba(244,121,32,.35)}
.sd-rates{display:flex;gap:8px;margin-top:8px}
.sd-rates button{height:34px;padding:0 14px;border-radius:17px;border:1px solid var(--sd-box);font-size:15px;color:var(--sd-2)}
.sd-rates button.on{border-color:var(--o);color:inherit}
.sd-radio{width:30px;height:30px;border-radius:50%;border:2px solid rgba(255,240,228,.6);flex:none;position:relative}
html.day .sd-radio{border-color:rgba(60,40,25,.4)}
.sd-radio.on{border-color:var(--o)}
.sd-radio.on::after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--o)}
.sd-body>.sd-link{border-bottom:1px solid var(--sd-line);padding:10px 6px 10px 4px;min-height:70px}
.sd-link .sd-it b{font-weight:500;font-size:21px;color:var(--sd-2)}
.sd-body>.sd-link .sd-it b{color:inherit;opacity:.85}
.sd-group .sd-link .sd-it b{color:inherit}
.sd-pick .chev{margin-right:6px}
.sd-cta-wrap{padding:14px 26px calc(22px + var(--pv-sab,0px)) 28px}
.sd-cta{width:100%;height:68px;border-radius:16px;font-size:23px;font-weight:700;box-shadow:0 8px 24px rgba(244,121,32,.28)}
/* new proposal */
.sd-new{height:60px;border-radius:16px;border:1.5px solid rgba(244,121,32,.7);font-size:19px;font-weight:600;color:var(--o2)}
html.day .sd-new{color:#0a6f7a;border-color:rgba(10,111,122,.55)}
.sd-confirm{padding:18px 20px;border-radius:18px;border:1px solid var(--sd-box);font-size:17px;line-height:1.4}
.sd-confirm p{margin:0}
.sd-confirm>div{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}
.sd-btn{height:48px;padding:0 20px;border-radius:14px;border:1px solid var(--sd-box);font-size:17px}
.sd-btn.solid{background:linear-gradient(180deg,#ff9440,#f47920);border-color:transparent;color:#1a0d04;font-weight:650}
@media (max-width: 1365px) { .sd-drawer{width:480px} }
@media (max-width: 800px) { .sd-drawer{width:100vw;border-radius:0;border-left:0} }
.vc-panel{position:fixed;right:24px;top:66px;width:min(360px,calc(100vw - 28px));z-index:19;padding:18px 20px 16px;font-size:15px;line-height:1.4;animation:sdin .3s cubic-bezier(.2,.8,.2,1);background:linear-gradient(168deg,rgba(30,18,10,.94),rgba(12,7,4,.96))}
.vc-panel .xbig.small{right:12px;top:12px}
.vc-panel h4{font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:var(--o2);margin-bottom:8px;padding-right:52px}
.vc-panel p{padding-right:52px}
html.day .vc-panel h4{color:#0a6f7a}
html.day .vc-panel{background:#ffffff;border-color:rgba(10,38,56,.18)}
.vc-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}
.vc-start{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.vc-start small{font-size:12px;color:var(--text2)}
.vc-panel .pill.big.solid[disabled]{opacity:.45;cursor:not-allowed;box-shadow:none}
.inv-inc{font-size:13.5px;line-height:1.3;color:var(--o2);margin-top:4px;max-width:250px;white-space:normal}
.inv-inc small{display:block;font-size:12px;color:var(--text2)}
html.day .inv-inc{color:#0a6f7a}
#pkgPill button[hidden]{display:none}
.tcard[hidden]{display:none}
@media (max-width: 1500px) and (min-aspect-ratio: 1/1) { #videoPill span{display:none} #videoPill{padding:0 12px} }
@media (max-aspect-ratio: 1/1) { #videoPill span{display:none} #videoPill,#menuPill{padding:0 9px} .vc-panel{right:14px;top:56px} }
html.day .switch.on::before{background:var(--o);border-color:#0a6f7a;box-shadow:0 4px 12px rgba(10,111,122,.28)}      /* Day switch uses IOVO teal pill via ::before */
.sd-row.col>span{flex:none}

/* the softener movie's film (app.js filmOpen): a dark backdrop over the 3D stage and under the page's captions and controls (#ui), the film fitted in the movie's picture rectangle */
#movieFilm{position:fixed;inset:0;z-index:3;background:#050302;pointer-events:none;transition:opacity .5s ease}
#movieFilm video{position:absolute;display:block;object-fit:contain;background:#050302;border-radius:18px;border:1px solid rgba(255,170,100,.42);box-shadow:0 24px 70px rgba(0,0,0,.6)}

/* Proposal V2 chrome, Aqua/Day theme contrast across all viewports, and responsive mobile portrait + landscape */
:root{--pv-surface:#17100c;--pv-raised:#231813;--pv-accent:var(--o2);--pv-live:#49d7a2;--pv-selected:#342015;--pv-action-ink:#231208}
html.day{--bg:#f3f9fb;--text:#0a2638;--text2:#456475;--edge:rgba(10,38,56,.16);--edge-soft:rgba(10,38,56,.09);--edge-hi:rgba(10,111,122,.72);--o:#0a6f7a;--o2:#14848f;--o-deep:#085a64;--pv-surface:#ffffff;--pv-raised:#f4f9fb;--pv-accent:#0a6f7a;--pv-live:#176749;--pv-selected:rgba(10,111,122,.13);--pv-action-ink:#ffffff}
html.aqua{--bg:#03182c;--text:#eef8ff;--text2:rgba(218,242,252,.76);--edge:rgba(77,217,192,.30);--edge-soft:rgba(77,217,192,.14);--edge-hi:rgba(77,217,192,.85);--o:#3ee6d3;--o2:#74f2e3;--o-deep:#18b5a4;--pv-surface:#072038;--pv-raised:#0c2d4a;--pv-accent:#74f2e3;--pv-live:#49d7a2;--pv-selected:#113a5e;--pv-action-ink:#031d24}
html.aqua body{background-color:#03182c;background:#03182c}
html.day body{background-color:#f3f9fb;background:#f3f9fb}
html.aqua .glass,html.aqua .row,html.aqua .tcard,html.aqua .apptag,html.aqua .jtag,html.aqua .journey.glass{background:linear-gradient(168deg,rgba(12,45,74,.86),rgba(4,24,44,.94));border-color:var(--edge);color:var(--text)}
html.aqua .pill,html.aqua .proofbtn,html.aqua .wear-switch .pill,html.aqua .wear-names .pill,html.aqua .pdocs .pill,html.aqua .sd-btn,html.aqua .sd-rates button{background:linear-gradient(180deg,rgba(12,44,72,.86),rgba(5,24,42,.92));border-color:rgba(77,217,192,.52);color:var(--text)}
html.aqua .pill.seg button.on,html.aqua .pill.big.on,html.aqua .pill.big.solid,html.aqua .pill.continue,html.aqua .btn-o,html.aqua .chip-o,html.aqua .stage-row.on,html.aqua .stepchip6.on,html.aqua .jchip.on,html.aqua .jplay,html.aqua .sd-seg button.on,html.aqua .sd-range button.on,html.aqua .sd-cta,html.aqua .sd-btn.solid,html.aqua #movieCtl .mc-play,html.aqua #movieSteps .ms-chip.on{background:linear-gradient(180deg,#5df2df,#1fb9a8);border-color:#84faec;color:#031d24;text-shadow:none;box-shadow:0 0 18px rgba(62,230,211,.42)}
html.aqua .switch.on::before{background:linear-gradient(180deg,#5df2df,#1fb9a8);border-color:#84faec;box-shadow:0 0 14px rgba(62,230,211,.45)}
html.aqua .pill.continue .chev{border-color:#031d24}
html.aqua #top{background:linear-gradient(rgba(3,24,44,.90),rgba(3,24,44,.48) 55%,rgba(3,24,44,0))}
html.aqua #bottom{background:linear-gradient(rgba(3,24,44,0),rgba(3,24,44,.70) 34%,rgba(3,24,44,.94) 80%)}
html.aqua .choice.sys,html.aqua .invest6{border-color:rgba(77,217,192,.85);background:linear-gradient(168deg,rgba(14,52,82,.88),rgba(6,28,48,.94));box-shadow:0 0 28px rgba(62,230,211,.22)}
html.aqua .vc-panel,html.aqua .sd-drawer,html.aqua .side6,html.aqua .modal,html.aqua .extra-sheet,html.aqua #loading{background:linear-gradient(168deg,rgba(8,32,56,.97),rgba(3,20,38,.99));border-color:rgba(77,217,192,.42);color:var(--text)}
html.aqua .xbig,html.aqua .xbig.small{background:rgba(6,30,52,.84);border-color:rgba(77,217,192,.58);color:var(--text)}
html.aqua .sd-drawer{color:var(--text);--sd-2:rgba(218,242,252,.72);--sd-line:rgba(77,217,192,.14);--sd-card:rgba(14,52,82,.38);--sd-box:rgba(77,217,192,.26);box-shadow:-24px 0 60px rgba(0,0,0,.55)}
html.aqua .sd-head .xbig.small{background:rgba(62,230,211,.10);border-color:rgba(77,217,192,.44)}
html.aqua :is(.sd-ico,.sd-big,.sd-amt,.sd-new,.vc-panel h4,.inv-inc,.mrow .m-tag){color:var(--o2)}
html.aqua .mrow .m-tag{border-color:rgba(77,217,192,.58)}
html.aqua .sd-new{border-color:rgba(77,217,192,.62)}
html.aqua .sd-cta{box-shadow:0 8px 24px rgba(62,230,211,.28)}
html.aqua .sd-plan.on{border-color:var(--o);box-shadow:0 0 22px rgba(62,230,211,.24)}
html.aqua .sd-plan:focus-visible,html.aqua .sd-money:focus-within,html.aqua .sd-in.wide:focus,html.aqua .sd-in.name:focus{border-color:var(--o);box-shadow:0 0 0 3px rgba(62,230,211,.24)}
html.aqua .sd-rates button.on,html.aqua .sd-radio.on,html.aqua .refrow.done,html.aqua .tcard.open,html.aqua .benefit.open,html.aqua .row:hover,html.aqua .row.open,html.aqua .proofbtn:hover,html.aqua .proofbtn.on,html.aqua .tag.sel{border-color:var(--edge-hi);box-shadow:0 0 18px rgba(62,230,211,.24)}
html.aqua .sd-radio{border-color:rgba(190,235,248,.52)}
html.aqua .sd-radio.on::after,html.aqua .verdict .vd-mark,html.aqua .dots5 i.lv,html.aqua .dots5 i.f,html.aqua .paysteps i.on,html.aqua .journey .jchip.on b{background:var(--o);border-color:var(--o);box-shadow:0 0 10px rgba(62,230,211,.65)}
html.aqua .verdict .vd-mark::after{border-color:#031d24}
html.aqua .verdict{border-color:rgba(77,217,192,.65);box-shadow:0 0 24px rgba(62,230,211,.22),0 14px 36px rgba(0,0,0,.5)}
html.aqua .bar{box-shadow:0 0 26px rgba(62,230,211,.35),0 0 2px rgba(255,255,255,.5)}
html.aqua .bar i:nth-child(1){background:linear-gradient(180deg,#f2fbff,#d6eff8)}
html.aqua .bar i:nth-child(2){background:linear-gradient(180deg,#ccf4fa,#9ce4ef)}
html.aqua .bar i:nth-child(3){background:linear-gradient(180deg,#9bece5,#6cded4)}
html.aqua .bar i:nth-child(4){background:linear-gradient(180deg,#6ce8da,#41d6c5)}
html.aqua .bar i:nth-child(5){background:linear-gradient(90deg,#4df0dc,#1fb9a8)}
html.aqua .dot{border-color:#3ee6d3;background:rgba(62,230,211,.24);box-shadow:0 0 14px 2px rgba(62,230,211,.85),inset 0 0 4px rgba(178,251,242,.9)}
html.aqua .voicecap{background:rgba(6,28,48,.94);border-color:rgba(77,217,192,.72);box-shadow:0 0 22px rgba(62,230,211,.22),0 14px 36px rgba(0,0,0,.5)}
html.aqua .voicecap::after{background:rgba(6,28,48,.94);border-color:rgba(77,217,192,.72)}
html.aqua .year-slider input{background:linear-gradient(90deg,var(--o) var(--p,66%),rgba(200,238,248,.68) var(--p,66%))}
html.aqua .year-slider input::-webkit-slider-thumb{border-color:#b2fbf2;background:radial-gradient(circle at 50% 40%,#7ef6e7,#3ee6d3 60%,#18b5a4);box-shadow:0 0 0 3px rgba(62,230,211,.22),0 0 18px 3px rgba(62,230,211,.78)}
html.aqua .next6 i{border-color:var(--o);color:var(--o2)}
html.aqua .next6 em{background:linear-gradient(90deg,rgba(62,230,211,.2),rgba(62,230,211,.85),rgba(62,230,211,.2))}
html.aqua .pdocs .legal-read{border-color:rgba(77,217,192,.65);background:rgba(62,230,211,.18)}
html.aqua .edit-grid input{border-color:rgba(77,217,192,.52)}
html.aqua :is(.cv-dealer .cv-pur,.cv-k){color:var(--o2);text-shadow:0 0 18px rgba(62,230,211,.35)}
html.aqua .cv-rule{background:linear-gradient(90deg,rgba(62,230,211,.85),rgba(62,230,211,0))}
html.aqua .cv-av{border-color:var(--o);background:radial-gradient(circle at 50% 35%,#134264,#04182b);box-shadow:0 0 14px rgba(62,230,211,.45)}
html.aqua .cv-begin i{background:radial-gradient(circle at 45% 32%,#7ef6e7,#3ee6d3 55%,#18b5a4);color:#031d24;box-shadow:0 0 0 4px rgba(62,230,211,.18),0 0 30px rgba(62,230,211,.65),inset 0 1px 0 rgba(230,255,252,.65)}
html.aqua .cv-tag{background:rgba(5,26,44,.9);border-color:rgba(77,217,192,.72);box-shadow:0 0 24px rgba(62,230,211,.25),0 14px 36px rgba(0,0,0,.5)}
html.aqua .mark i{background:#041c30;border-color:rgba(152,232,244,.68)}
html.aqua .mark.on i{background:radial-gradient(circle at 50% 40%,#7ef6e7,#3ee6d3 60%,#18b5a4);border-color:#b2fbf2;box-shadow:0 0 16px rgba(62,230,211,.65)}
html.aqua .mark.done i{background:#aef7ee;border-color:#aef7ee;box-shadow:0 0 12px rgba(62,230,211,.65)}
html.aqua #rail::before{background:linear-gradient(90deg,#3ee6d3 0,#74f2e3 var(--fill,0%),rgba(190,235,248,.32) var(--fill,0%));box-shadow:0 0 12px rgba(62,230,211,.35)}
html.aqua #rail::after{background:#3ee6d3}
html.aqua .field6{background:rgba(3,20,38,.78);color:var(--text);border-color:var(--edge)}
html.aqua #leaders line{stroke:#3ee6d3}
html.aqua .journey .jchips::before{background:rgba(116,242,227,.38)}
html.aqua .journey .jchip b{border-color:rgba(116,242,227,.82);background:rgba(4,24,44,.78)}
html.aqua .journey .jchip.done b{background:#74f2e3;border-color:#74f2e3;color:#031d24}
html.aqua .wpov{box-shadow:inset 0 0 0 1.5px rgba(238,248,255,.92),inset 0 0 0 3px rgba(116,242,227,.35),inset 0 2px 18px rgba(255,255,255,.10),0 0 0 1px rgba(77,217,192,.58),0 0 26px 2px rgba(62,230,211,.36),0 18px 40px rgba(0,0,0,.6)}
html.aqua .wpov::after{border-color:rgba(116,242,227,.32)}
html.aqua .wpov-cap b{background:rgba(4,24,44,.86);border-color:rgba(77,217,192,.7);box-shadow:0 0 14px rgba(62,230,211,.28)}
html.aqua #trSend{background:#3ee6d3;border-color:#3ee6d3;color:#031d24}
html.aqua #voiceRing{filter:drop-shadow(0 0 6px rgba(62,230,211,.6))}
html.aqua #voiceFloor{background:radial-gradient(ellipse at center,rgba(62,230,211,.65),rgba(62,230,211,0) 70%)}
html.aqua #movieFilm video{border-color:rgba(77,217,192,.48)}
html.day #top{background:linear-gradient(rgba(243,249,251,.92),rgba(243,249,251,.55) 55%,rgba(243,249,251,0))}
html.day #bottom{background:linear-gradient(rgba(243,249,251,0),rgba(243,249,251,.75) 34%,rgba(243,249,251,.96) 80%)}
html.day .glass,html.day .row,html.day .tcard,html.day .apptag,html.day .jtag,html.day .journey.glass{background:linear-gradient(168deg,rgba(255,255,255,.94),rgba(245,250,252,.90));border-color:rgba(10,38,56,.16);color:var(--text);box-shadow:inset 0 1px 0 #ffffff,0 14px 32px rgba(10,38,56,.09)}
html.day .pill,html.day .proofbtn{background:linear-gradient(180deg,#ffffff,#f3f9fb);color:var(--text);border-color:rgba(10,38,56,.22)}
html.day .choice.sys,html.day .invest6,html.day .pd-sheet{background:var(--pv-raised);border-color:rgba(10,111,122,.55);box-shadow:0 14px 36px rgba(10,111,122,.12)}
html.day .side6,html.day .modal,html.day .extra-sheet,html.day #trPanel{background:#ffffff;color:var(--text);border-color:rgba(10,38,56,.2)}
html.day .xbig,html.day .xbig.small,html.day .sd-head .xbig.small{background:rgba(10,38,56,.06);border-color:rgba(10,38,56,.24);color:var(--text)}
html.day .sd-head .xbig.small::before,html.day .sd-head .xbig.small::after,html.day .xbig::before,html.day .xbig::after{background:#0a2638}
html.day .field6{background:#ffffff;color:var(--text);border-color:rgba(10,38,56,.28)}
html.day .pill.seg button.on,html.day .pill.big.on,html.day .pill.big.solid,html.day .pill.continue,html.day .btn-o,html.day .chip-o,html.day .jplay,html.day .jchip.on,html.day .stage-row.on,html.day .stepchip6.on,html.day .sd-seg button.on,html.day .sd-range button.on,html.day .sd-cta,html.day .sd-btn.solid{background:linear-gradient(180deg,#14848f,#0a6f7a);border-color:#0a6f7a;color:#ffffff;text-shadow:none;font-weight:700;box-shadow:0 6px 18px rgba(10,111,122,.24)}
html.day .pill.continue .chev{border-color:#ffffff}
html.day .mark i{background:#ffffff;border-color:rgba(10,38,56,.36)}
html.day .mark.on i{background:radial-gradient(circle at 50% 40%,#26a9b6,#0a6f7a 60%,#085a64);border-color:#80d8e0;box-shadow:0 0 14px rgba(10,111,122,.45)}
html.day .mark.done i{background:#52bac4;border-color:#0a6f7a;box-shadow:0 0 8px rgba(10,111,122,.25)}
html.day #rail::before{background:linear-gradient(90deg,#0a6f7a 0,#14848f var(--fill,0%),rgba(10,38,56,.22) var(--fill,0%));box-shadow:none}
html.day #rail::after{background:#0a6f7a}
html.day .bar i:nth-child(1){background:linear-gradient(180deg,#ffffff,#e6f3f6)}
html.day .bar i:nth-child(2){background:linear-gradient(180deg,#dbf0f4,#bce2ea)}
html.day .bar i:nth-child(3){background:linear-gradient(180deg,#aedde6,#86cbd8)}
html.day .bar i:nth-child(4){background:linear-gradient(180deg,#5db7c4,#2c99a6)}
html.day .bar i:nth-child(5){background:linear-gradient(90deg,#14848f,#0a6f7a)}
html.day .g-bar i,html.day .dots5 i.lv,html.day .dots5 i.f,html.day .verdict .vd-mark,html.day .paysteps i.on,html.day .journey .jchip.on b,html.day .sd-radio.on::after{background:#0a6f7a;border-color:#0a6f7a;box-shadow:none}
html.day .g-bar b{border-color:#0a6f7a;box-shadow:0 0 10px rgba(10,111,122,.35)}
html.day .sd-ico,html.day .sd-big,html.day .sd-amt,html.day .mrow .m-tag,html.day .cv-k,html.day .c-two b,html.day .inv-big.o{color:#0a6f7a;text-shadow:none}
html.day .sd-row7:hover .sd-it b,html.day .sd-link:hover .sd-it b,html.day .wpov-cap span{color:#0a6f7a}
html.day .sd-plan.on,html.day .sd-rates button.on,html.day .sd-radio.on,html.day .refrow.done,html.day .tcard.open,html.day .benefit.open{border-color:#0a6f7a;box-shadow:0 0 16px rgba(10,111,122,.16)}
html.day .cv-rule{background:linear-gradient(90deg,rgba(10,111,122,.85),rgba(10,111,122,0))}
html.day .cv-av{border-color:#0a6f7a;background:#ffffff;color:#0a2638;box-shadow:none}
html.day .cv-begin i{background:radial-gradient(circle at 45% 32%,#1d99a6,#0a6f7a 60%,#07525b);box-shadow:0 0 0 4px rgba(10,111,122,.16),0 14px 28px rgba(10,111,122,.32)}
html.day .next6 i{border-color:#0a6f7a;color:#0a6f7a}
html.day .next6 em{background:linear-gradient(90deg,rgba(10,111,122,.16),rgba(10,111,122,.65),rgba(10,111,122,.16))}
html.day .year-slider input{background:linear-gradient(90deg,#0a6f7a var(--p,66%),rgba(10,38,56,.25) var(--p,66%))}
html.day .year-slider input::-webkit-slider-thumb{border-color:#ffffff;background:#0a6f7a;box-shadow:0 2px 8px rgba(10,111,122,.4)}
html.day #voiceRing{filter:drop-shadow(0 0 6px rgba(10,111,122,.45))}
html.day #voiceFloor{background:radial-gradient(ellipse at center,rgba(10,111,122,.5),rgba(10,111,122,0) 70%)}
html.day :is(.pd-panel,.pd-note,.pd-note.big,.pd-spec p,.pd-src span,.pd-row-body p,.pd-flow span,.pd-flow small,.pd-sep,.pd-more em,.pd-spec em,.pd-row-hd b){color:var(--text)}
html.day .pd-what,html.day .pd-deck{color:var(--pv-accent)!important}
html.day :is(.g-k,.g-word,.t-t,.inv-big,.inv-sub,.inv-k,.refc6,.next6,.verdict){color:var(--text);text-shadow:none}
html.day .journey .jchips::before{background:rgba(10,38,56,.26)}
html.day .journey .jchip b{border-color:rgba(10,38,56,.5);background:#ffffff}
html.day .journey .jchip.done b{background:#0a6f7a;border-color:#0a6f7a;color:#ffffff}
html.day #trSend{background:#0a6f7a;border-color:#0a6f7a;color:#ffffff}

.pv-brand{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;background:transparent;border:0;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:12px}
.pv-brand:focus-visible{outline:2px solid var(--pv-accent);outline-offset:2px}
.pv-brand:active{opacity:.72}
html.pv2-viewer-readonly .pv-brand{display:none!important}
html.pv2-viewer-readonly :is(#menuPill,#trPill,#videoPill,#settingsDrawer,#trPanel,#vcPanel){display:none!important}
html.pv2-viewer-readonly .pv-pills-br{display:none!important}
.pv-pills-br{display:none}
.pv-brand img{width:36px;height:36px;object-fit:contain}
.pv-brand img + img,html.day .pv-brand img:first-child{display:none}
html.day .pv-brand img + img{display:block}
.pv-theme svg,#trMic svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
#trPill,#menuPill{padding:0;justify-content:center;width:44px;min-width:44px;min-height:44px;position:relative}
#trPill.on::after{content:"";position:absolute;top:7px;right:7px;width:5px;height:5px;border-radius:50%;background:var(--pv-live)}
#langPill{height:46px;align-self:center;border-color:var(--edge);border-radius:999px;background:var(--pv-raised);padding:0 3px}
#langPill button{height:44px;min-height:44px;min-width:44px;position:relative;isolation:isolate;padding:0 8px;font-size:13px;font-weight:650;color:var(--text2);border-radius:999px}
#langPill button.on{color:var(--pv-action-ink);background:none!important;box-shadow:none!important;font-weight:700}
#langPill button.on::before{content:"";position:absolute;inset:5px 2px;z-index:-1;border-radius:999px;background:var(--o);box-shadow:0 0 12px rgba(244,121,32,.4)}
html.aqua #langPill button.on{color:#031d24}
html.aqua #langPill button.on::before{background:linear-gradient(180deg,#5df2df,#1fb9a8);box-shadow:0 0 12px rgba(62,230,211,.38)}
html.day #langPill button.on{color:#ffffff}
html.day #langPill button.on::before{background:linear-gradient(180deg,#14848f,#0a6f7a);box-shadow:0 2px 10px rgba(10,111,122,.28)}
#themePill{height:46px;align-self:center;border-color:var(--edge);border-radius:999px;background:var(--pv-raised);padding:0 3px;gap:1px}
#themePill button{width:42px;min-width:42px;height:44px;min-height:44px;padding:0;position:relative;isolation:isolate;display:inline-grid;place-items:center;color:var(--text2);border-radius:999px;background:none!important;box-shadow:none!important}
#themePill button::before{content:"";position:absolute;inset:5px 2px;z-index:-1;border-radius:999px;transition:background .2s ease,box-shadow .2s ease}
#themePill button.on{color:var(--pv-action-ink)}
#themePill button.on::before{background:var(--o);box-shadow:0 0 12px rgba(244,121,32,.4)}
html.aqua #themePill button.on{color:#031d24}
html.aqua #themePill button.on::before{background:linear-gradient(180deg,#5df2df,#1fb9a8);box-shadow:0 0 12px rgba(62,230,211,.38)}
html.day #themePill button.on{color:#ffffff}
html.day #themePill button.on::before{background:linear-gradient(180deg,#14848f,#0a6f7a);box-shadow:0 2px 10px rgba(10,111,122,.28)}
.tr-panel{position:absolute;right:24px;top:65px;width:min(400px,calc(100% - 24px));max-height:calc(100dvh - 84px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:14px;z-index:9;font-size:14px;animation:tr-in .2s ease-out;user-select:text;-webkit-user-select:text}
#trPanel{background:var(--pv-surface)}
@keyframes tr-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.tr-panel{animation:none}}
.tr-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.tr-head p,.tr-turn small{font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--pv-accent)}
.tr-head h2{font-size:22px;letter-spacing:-.025em;margin-top:2px}
.tr-head .xbig.small{position:relative;inset:auto;flex:none;width:44px;height:44px}
.tr-controls{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:8px 0}
#trState{border-radius:20px;padding:5px 8px;background:var(--pv-raised);color:var(--text2);font-size:11px;font-weight:700}
#trState[data-phase="listening"],#trState[data-phase="working"]{color:var(--pv-live)}
.tr-swap,#trMic,#trSend{min-height:44px;border:1px solid var(--edge);border-radius:12px;font-size:13px;font-weight:650;padding:0 10px}
.tr-swap{border-radius:30px;display:flex;align-items:center;gap:8px;text-align:left}
.tr-swap b,.tr-swap-ico{width:18px;height:18px;flex:none;stroke:var(--pv-accent);color:var(--pv-accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#trEmpty{padding:20px 8px;text-align:center;color:var(--text2);font-size:13px}
#trHistory{max-height:min(27vh,235px);overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
.tr-turn{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:6px}
.tr-turn>div{min-width:0;border:1px solid var(--edge-soft);border-radius:10px;padding:8px 9px;background:var(--pv-raised)}
.tr-turn>div + div{background:var(--pv-selected)}
.tr-turn p,#trNote{margin:4px 0 0;line-height:1.35;overflow-wrap:anywhere}
.tr-turn button{min-height:44px;display:inline-flex;align-items:center;padding:4px 2px;text-align:left;font-size:12px;color:var(--pv-accent);font-weight:650;text-decoration:underline;text-underline-offset:3px}
.tr-feedback{font-size:13px;color:var(--text2)}
.tr-feedback a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;color:var(--pv-accent)}
#trForm{display:grid;gap:6px;margin-top:7px}
#trMic{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--pv-raised)}
.tr-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
#trInput{min-width:0;min-height:44px;padding:0 10px;border-radius:12px;border:1px solid var(--edge);color:var(--text);background:var(--pv-raised);font:inherit;font-size:16px;user-select:text;-webkit-user-select:text}
#trInput::placeholder{color:var(--text2);font-size:13px}
#trSend{background:var(--o);color:var(--pv-action-ink);border-color:var(--o)}
#trPanel button:disabled{opacity:.5;cursor:default}
#trPanel :is(button,input,a):focus-visible,#top :is(button):focus-visible{outline:2px solid var(--pv-accent);outline-offset:2px}
@media(hover:none),(pointer:coarse){
  .sd-back:focus,.sd-back:focus-visible,.sd-head .xbig.small:focus,.sd-head .xbig.small:focus-visible,
  #top :is(button,a):focus,#top :is(button,a):focus-visible,#trPanel :is(button,input,a):focus-visible{outline:none!important}
}
.mode{min-height:44px;height:44px;align-items:center}
.mode button{min-height:44px!important;height:44px!important;min-width:44px;padding:0 12px}
.pv2-stage-focus-btn{display:none;align-items:center;gap:5px;height:30px;padding:0 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;color:var(--text);z-index:5;white-space:nowrap;transition:border-color .2s,box-shadow .2s,background .2s,color .2s}
.pv2-stage-focus-btn svg{width:13px;height:13px;flex:none}
.pv2-stage-focus-btn.on{border-color:var(--edge-hi);background:linear-gradient(180deg,#ff8f3a,#ee6d10);color:#1c0a02;box-shadow:0 0 14px rgba(244,121,32,.42)}
html.aqua .pv2-stage-focus-btn.on{background:linear-gradient(180deg,#5df2df,#1fb9a8);border-color:#84faec;color:#031d24;box-shadow:0 0 14px rgba(62,230,211,.4)}
html.day .pv2-stage-focus-btn.on{background:linear-gradient(180deg,#14848f,#0a6f7a);border-color:#0a6f7a;color:#ffffff;box-shadow:0 6px 16px rgba(10,111,122,.24)}
html:is(.cover-on,.extra-on,.wear-on,.inside-on,.side-on,.movie) .pv2-stage-focus-btn{display:none!important}

@media (max-width:767px) and (orientation:portrait){
  :root{--rail-y:106px;--dock:calc(152px + var(--pv-sab));--pv-top:calc(58px + var(--pv-sat));--pv-content:calc(var(--pv-top) + 64px)}
  html.pv2-viewer-readonly{--pv-top:calc(57px + var(--pv-sat))}
  #top,html.aqua #top{height:auto;padding:var(--pv-top) 12px 10px;z-index:3;background:linear-gradient(180deg,rgba(4,20,34,.82) 0%,rgba(4,20,34,.52) 72%,transparent 100%)}
  html.day #top{height:auto;padding:var(--pv-top) 12px 10px;z-index:3;background:linear-gradient(180deg,rgba(246,241,235,.88) 0%,rgba(246,241,235,.55) 72%,transparent 100%)}
  html.cover-on #top,html.day.cover-on #top,html.aqua.cover-on #top{background:none}
  html.cover-on #netNote:not(.act){display:none!important}
  html.cover-on .pill.continue{display:none!important}
  html:has(.ch[data-ch="3"].on):not(.wear-on) #hotspots,html:has(.ch[data-ch="3"].on):not(.wear-on) #leaders{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
  html:has(.ch[data-ch="3"].on):not(.wear-on) #hotspots *{pointer-events:none!important}
  #top .pills:not(.second){left:0;right:0;top:0;min-height:52px;padding:calc(var(--pv-sat) + 4px) 10px 6px;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:5px;border-bottom:1px solid var(--edge-soft);background:var(--pv-surface)}
  .pv-brand{margin-right:auto;width:36px;height:36px;min-width:36px;min-height:36px}
  .pv-pills-br{display:none!important}
  #langPill,#themePill{height:36px;min-height:36px!important;padding:3px;border-radius:999px;gap:2px}
  #langPill>span{display:none!important}
  #langPill button{height:28px!important;min-height:28px!important;min-width:28px;padding:0 8px;border-radius:999px;font-size:11.5px;font-weight:700}
  #langPill button.on::before,#themePill button::before{inset:0}
  #themePill button{width:28px;min-width:28px;height:28px!important;min-height:28px!important;padding:0;border-radius:999px}
  #themePill .ico{width:15px;height:15px}
  #top button.pill,#top #trPill,#top #videoPill,#top #menuPill{height:36px!important;min-height:36px!important;min-width:36px!important;width:36px!important;flex:0 0 36px;padding:0!important;border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center;border-color:var(--edge);box-shadow:none}
  #top button.pill .ico,#top :is(#trPill,#videoPill,#menuPill) .ico{width:17px!important;height:17px!important}
  #videoPill span{display:none}
  .cv-dim{background:linear-gradient(180deg,rgba(3,2,1,.78) 0%,rgba(3,2,1,.56) 36%,rgba(3,2,1,.14) 64%,rgba(3,2,1,.30) 100%)}
  html.day .cv-dim{background:linear-gradient(180deg,rgba(246,241,235,.88) 0%,rgba(246,241,235,.64) 36%,rgba(246,241,235,.10) 64%,rgba(246,241,235,.22) 100%)}
  .cv-dealer{--lh:clamp(54px,7.2vh,72px);left:16px;top:calc(var(--pv-top) + 10px)}
  .cv-main{top:calc(var(--pv-top) + 84px);left:16px;right:16px;max-width:none}
  .cv-family{font-size:clamp(32px,5vh,44px)}
  .cv-addr,.cv-date{font-size:clamp(15px,2vh,18px)}
  .cv-begin{margin-top:clamp(14px,2.2vh,22px)}
  .cv-begin i{width:56px;height:56px}
  .cv-begin span{font-size:clamp(26px,3.6vh,34px)}
  #top .heading{padding-top:10px}
  html:not(.cover-on):not(.extra-on):not(.wear-on):not(.inside-on):not(.side-on):not(.movie):has(.ch:is([data-ch="2"],[data-ch="3"],[data-ch="4"]).on) #top .heading{padding-right:102px}
  #top .ch-label{font-size:10.5px;letter-spacing:.16em;line-height:1.2;margin:0;padding:0;border:none;color:var(--pv-accent);font-weight:700}
  html:is(.extra-on,.wear-on,.inside-on) #top .heading{display:none}
  html:is(.extra-on,.wear-on,.inside-on) #top .ch-label{margin-left:0;padding-left:0;border-left:0}
  html:is(.side-on) .guide,html:has(.modal:not([hidden]),#extraSheet:not([hidden]),#trPanel:not([hidden]),#vcPanel:not([hidden])) .guide{opacity:0;pointer-events:none}
  #top h1,#top h1.long{font-size:23px;line-height:1.08;max-width:none;margin:4px 0 0;font-weight:700;letter-spacing:-.025em}
  #top .ch-sub{font-size:12px;max-width:100%;white-space:normal}
  .tr-panel{top:var(--pv-top);left:12px;right:12px;width:auto;max-height:calc(100dvh - var(--pv-top) - 14px)}
  #bottom{height:calc(148px + var(--pv-sab));padding-bottom:var(--pv-sab)}
  #rail{left:8px;right:8px;bottom:calc(100px + var(--pv-sab));height:44px}
  #rail::before{top:12px}#rail::after{top:11px}
  #rail .mark{font-size:9.5px;min-width:0;min-height:44px;gap:5px;line-height:1.05;padding:1px 1px 0;white-space:nowrap;letter-spacing:-.02em;text-align:center}
  #rail .mark i{width:14px;height:14px;flex:none}
  #rail .mark span{max-width:100%}
  /* Scrawl #26: exact canonical 77x89 visual mobile AQUIS orb (matches 70x81 * 1.1 across IOVO; no Dive game in homeowner presentation) */
  .guide{right:8px;bottom:calc(6px + var(--pv-sab));width:77px;height:89px;display:block;gap:0;pointer-events:none}
  #aquis{position:relative;display:block;width:77px;height:89px;overflow:visible;margin:0;pointer-events:auto}
  #aquisHost{position:absolute;left:50%;top:50%;width:92px;height:106px;margin:-53px 0 0 -46px;transform:scale(.837);transform-origin:50% 50%}
  html.aquis-speaking #aquisHost{transform:scale(.90) translateY(-2px)}
  @media (prefers-reduced-motion: reduce){ html.aquis-speaking #aquisHost{transform:scale(.837)} }
  .pill.continue{position:absolute;right:86px;bottom:40px;width:calc(100vw - 106px);min-height:44px!important;height:44px!important;justify-content:center;border-radius:14px;gap:6px;font-size:14.5px;font-weight:700;margin:0;padding:0 16px;pointer-events:auto;white-space:nowrap}
  .pill.continue[disabled]{display:none}
  .voicecap{bottom:calc(150px + var(--pv-sab))}
  .pill.seg{min-height:36px!important;height:36px!important;border-radius:999px}.pill.seg button{min-height:28px!important;height:28px!important;border-radius:999px}
  .print{left:12px;right:94px;bottom:calc(6px + var(--pv-sab));font-size:8.5px;line-height:1.18;max-height:36px;overflow:hidden;opacity:.76;text-align:left}
  html:has(#continueBtn[disabled]) .print,html.cover-on .print{bottom:calc(16px + var(--pv-sab));font-size:9.5px;line-height:1.25;max-height:none;right:94px}
  .journey,.journey.glass{left:12px;right:12px;width:auto;gap:8px;padding:6px 10px}
  .journey .jplay{width:44px!important;height:44px!important;min-width:44px;min-height:44px}
  .journey .jmid{flex:1;min-width:0}
  .jchips{min-width:0;width:100%;justify-content:space-between;gap:0}.journey .jchip{font-size:11px;min-width:44px;min-height:44px;height:44px;justify-content:center;padding:0 2px;gap:4px}
  .jtag,.jclosing,.modal{max-width:calc(100vw - 24px)}
  .jtag.on p{max-width:100%}.jtag p{font-size:14px}
  .wpov-cap{gap:2px}.wpov-cap b{font-size:9.5px;letter-spacing:.12em;padding:2px 8px}.wpov-cap span{font-size:9.5px;letter-spacing:.1em}
  .pv2-stage-focus-btn{display:inline-flex;position:fixed;right:12px;top:calc(var(--pv-top) + 6px)}
  html.pv2-stage-focus :is(#tcards,.verdict,#costCol,#sysPanel,#proofs){opacity:0!important;pointer-events:none!important;transform:translateY(24px);transition:opacity .25s ease,transform .25s ease}
  .grade{left:12px;right:12px;top:var(--pv-content);padding:7px 10px;gap:4px 8px;border-radius:14px;display:grid;grid-template-columns:1fr auto auto;align-items:center}
  .grade .g-k{max-width:none;font-size:10.5px;white-space:normal}
  .grade .vr{display:none}.g-num{font-size:26px;color:var(--pv-accent);text-shadow:none}
  .g-word{font-size:14px}.grade .g-scale{width:auto;grid-column:1/-1}
  .grade .g-lab{font-size:9.5px}.grade .g-bar{margin:4px 0 4px}
  #tcards{position:absolute;left:12px;right:12px;top:max(var(--pv-grade-bottom,calc(var(--pv-content) + 100px)),50dvh);bottom:calc(var(--dock) + 42px);max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;align-content:start;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;pointer-events:auto;transition:opacity .25s ease,transform .25s ease}
  .ch:not(.on) #tcards{pointer-events:none}
  #tcards .tcard{position:relative;inset:auto!important;width:auto!important;min-height:0!important;padding:6px 8px;border-radius:11px;transform:none}
  .tcard .t-t{font-size:10px}.tcard .t-s{font-size:10.5px}.tcard .t-v{margin:3px 0 2px;gap:4px}.tcard .t-v b{font-size:19px}.tcard .t-v span{font-size:12.5px}.tcard .t-v svg{width:15px;height:15px}.tcard .dots5 i{width:8px;height:8px}
  .tcard .t-src{font-size:10.5px;margin-top:1px}.tcard.open .t-src{max-height:none}
  .verdict{bottom:var(--dock);padding:5px 10px;line-height:1.2;font-size:10.5px;margin:0;left:12px;right:12px}
  .ch.on .verdict{animation-delay:.2s;animation-duration:.35s}
  .askrow{top:var(--pv-content);left:12px;right:12px;font-size:13.5px;padding:7px 12px;min-height:44px;height:auto;line-height:1.22}
  .cost-col{left:12px;right:12px;bottom:calc(var(--dock) + 4px);max-height:min(46dvh,calc(100dvh - var(--dock) - var(--pv-content) - 166px));gap:5px;padding-bottom:6px;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;pointer-events:auto;transition:opacity .25s ease,transform .25s ease}
  .cost-col .ccard{padding:6px 10px;border-radius:14px}.c-k{font-size:10px;margin-bottom:3px;line-height:1.15}.c-two{gap:7px;font-size:12.5px;line-height:1.1}.c-two b{font-size:20px;line-height:1.05}.cost-col .years{min-height:30px!important;height:30px!important;padding:2px}.cost-col .years button{min-height:24px!important;height:24px!important;padding:0 10px;font-size:12px}.cost-col .c-total{margin-top:4px;font-size:13.5px;line-height:1.15}.c-total b{font-size:21px;line-height:1.05}.mrow{font-size:12px;min-height:28px;padding:2.5px 4px;gap:6px;line-height:1.15}.mrow .m-tag{font-size:10px;padding:1px 6px}.mrow .m-v{font-size:14px;width:auto;min-width:44px}.bd-head{min-height:44px;padding-right:54px;margin-bottom:6px;gap:8px}.bd-head #bdClose{right:0;top:0}.bd-open button,.bdrow button{min-height:44px;padding:6px 10px;font-size:14px}
  .apptag{font-size:11.5px;padding:4px 8px;max-width:calc(100vw - 20px)}
  .pill.back{left:12px;top:calc(var(--pv-top) + 8px);z-index:4;min-height:44px;height:44px;max-width:calc(100vw - 24px);font-size:12px;padding:0 14px}
  .wear-panel,.extra-panel,.stages{left:12px;right:12px;width:auto;top:auto;bottom:calc(var(--dock) + 8px);height:auto;max-height:min(58dvh,calc(100dvh - var(--dock) - var(--pv-top) - 66px));overflow:auto;touch-action:pan-y;overscroll-behavior:contain}
  .wear-panel{padding:58px 12px 12px}.wear-panel .kicker{margin-top:10px;font-size:11px}.year-slider{height:50px;margin:10px 12px 0}
  .wear-panel h3{font-size:21px;padding-right:40px}.wear-panel>p,.wear-cond{font-size:14px}
  .wear-switch .pill,.wear-names .pill{white-space:normal;min-width:0;line-height:1.15;font-size:12px;min-height:44px;height:auto;padding:6px 8px;text-align:center}
  .wear-names{margin:8px 0;gap:6px}
  .package{left:12px;right:12px;top:var(--pv-content);gap:4px;height:auto;min-height:44px;display:flex;align-items:stretch}
  .package button{flex:1 1 auto;white-space:nowrap;line-height:1.1;min-height:44px!important;height:44px!important;min-width:0;padding:0 7px!important;font-size:clamp(10.5px,2.75vw,12px)}
  .package button b{margin-right:3px}
  .unit-buttons{top:calc(var(--pv-content) + 50px);left:12px;right:12px;gap:6px;flex-wrap:wrap}
  .unit-buttons .pill{font-size:12px;padding:0 12px;min-height:44px;height:44px}
  .sys-panel{left:12px;right:12px;padding:10px 12px;bottom:calc(var(--dock) + 106px);max-height:min(27dvh,calc(100dvh - var(--dock) - var(--pv-content) - 216px));overflow:auto;overscroll-behavior:contain;touch-action:pan-y;transition:opacity .25s ease,transform .25s ease}
  .sys-head{font-size:20px}.benefit .hd{font-size:14px;min-height:44px}.sys-facts{font-size:12.5px}
  .proofs{left:12px;right:12px;gap:5px}.proofbtn{padding:4px 8px;min-width:0;min-height:44px;height:auto;font-size:11px;text-align:center;white-space:normal}
  .extra-panel{padding:14px 12px 12px}.extra-panel h3,.stages h3{padding-right:52px}
  .pdocs{flex-wrap:wrap;gap:6px}.pdocs .pill{min-height:44px;font-size:13px;padding:6px 12px}
  .ch[data-ch="5"]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:10px;padding:var(--pv-content) 12px calc(var(--dock) + 4px);align-content:stretch}
  .ch[data-ch="5"] .choice,.ch[data-ch="5"] .chart-panel{position:static!important;width:auto!important;height:auto!important;inset:auto!important;max-height:none!important}
  .ch[data-ch="5"] .choice{padding:9px 10px 9px;border-radius:16px;display:flex;flex-direction:column;justify-content:flex-start;min-height:0}
  .ch[data-ch="5"] .choice.today::after{content:'';display:block;min-height:30px;margin-top:6px}
  .ch[data-ch="5"] .c-big{font-size:21px;line-height:1.12;font-variant-numeric:tabular-nums}.ch[data-ch="5"] .c-sub{font-size:11.5px;margin-top:1px}
  .ch[data-ch="5"] .choice h3{font-size:11px;letter-spacing:.08em;white-space:normal;min-height:28px;display:flex;align-items:center;justify-content:center;margin-bottom:3px}
  .ch[data-ch="5"] .choice hr{margin:6px 6px}.ch[data-ch="5"] .c-mid{min-height:30px;display:flex;align-items:center;justify-content:center;font-size:11.5px;line-height:1.2}
  .ch[data-ch="5"] .chip-o{white-space:normal;line-height:1.15;padding:5px 8px;min-height:30px;border-radius:10px;font-size:10.5px;margin-top:6px;display:flex;align-items:center;justify-content:center}
  .ch[data-ch="5"] .chart-panel{grid-column:1 / -1;min-height:0;overflow:auto;touch-action:pan-y;padding:10px 12px 11px;border-radius:18px;display:flex;flex-direction:column;gap:6px}
  .ch[data-ch="5"] #chart{flex:none;width:100%;height:clamp(100px,13.6dvh,130px);margin-top:0}
  .ch[data-ch="5"] .row-wrap{border-radius:12px}
  .ch[data-ch="5"] .chart-panel .row{font-size:13.5px;min-height:44px;border-radius:12px;padding:0 14px}
  .ch[data-ch="5"] .slider-row{flex-direction:column;align-items:stretch;gap:8px;padding:9px 14px 11px;border-radius:12px}
  .ch[data-ch="5"] .slider-row span{font-size:13.5px;font-weight:600;line-height:1.2;letter-spacing:-.01em}
  .ch[data-ch="5"] .slider-row input[type="range"]{flex:none;width:100%;height:6px;margin:4px 0 2px;border-radius:999px;background:rgba(148,214,230,.22);-webkit-appearance:none;appearance:none}
  .ch[data-ch="5"] .slider-row input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;background:var(--pv-accent);border:2px solid rgba(255,255,255,.88);box-shadow:0 0 12px rgba(62,230,211,.55),0 2px 6px rgba(0,0,0,.35)}
  html.day .ch[data-ch="5"] .slider-row input[type="range"]{background:rgba(10,38,56,.16)}
  .grid6{left:12px;right:12px;bottom:var(--dock);gap:10px;max-height:calc(100dvh - var(--pv-content) - var(--dock));overflow:auto;touch-action:pan-y;pointer-events:auto;align-content:start;padding-bottom:4px}
  .ch:not(.on) .grid6{pointer-events:none}
  .grid6 .invest6{grid-row:1;padding:16px 14px 14px;border-radius:18px}
  .invest6 .chips{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:13px 0 14px}.invest6 .chips span{flex:1 1 auto;max-width:calc(50% - 4px);min-width:max-content;font-size:11.5px;padding:6px 11px;border-radius:999px;text-align:center;white-space:nowrap}.invest6 .chips span br{display:none}
  .invest6 .inv-top{display:grid;grid-template-columns:minmax(0,1.25fr) 1px minmax(0,1fr);gap:12px;padding-bottom:12px;border-bottom:1px solid var(--edge-soft)}
  .invest6 .inv-k,.invest6 .inv-sub{font-size:12px;white-space:normal;line-height:1.25}
  .invest6 .inv-big{font-size:24px;white-space:normal;line-height:1.12;margin:4px 0;letter-spacing:-.04em}
  .invest6 .inv-inc{max-width:none;font-size:12px;margin-top:3px}
  .invest6 .inv-actions{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:8px;margin-top:0}
  .invest6 .inv-actions button{min-height:46px;height:auto;font-size:13.5px;font-weight:700;padding:8px 10px;border-radius:12px;line-height:1.15}
  .invest6 .inv-actions .link{grid-column:1/-1;justify-self:center;min-height:36px;padding:4px 12px;margin-top:2px;font-weight:500;display:inline-flex;align-items:center}
  .invest6 .mode{margin:4px auto 0;height:44px}.mode button{font-size:13px;min-height:44px!important;height:44px!important;min-width:44px}
  .grid6 .next6{grid-row:3;border-radius:14px;white-space:normal;font-size:11px;padding:10px 10px;gap:6px}
  .next6>span{min-width:0;gap:5px;flex:1}.next6 i{width:18px;height:18px;flex:none}.next6 em{display:none}
  .lower6{padding:14px 12px 12px;border-radius:18px}.lower-cards{gap:10px;margin-top:10px;align-items:stretch}.refc6{min-width:0;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:10px;padding:12px 10px;border-radius:14px}
  .refc6>b{font-size:12px;text-align:center;line-height:1.25}.refc6 .lp-line{font-size:12px;width:100%;min-height:44px;justify-content:space-between;align-items:center;padding:0 2px}.upto6{display:block;font-size:11px;text-align:center}.avail6{display:block;font-size:13px;margin-top:12px;padding-top:10px;border-top:1px solid var(--edge-soft);text-align:center}.avail6 b{font-size:16px}
  .refc6 .refs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.refc6 .refs button{width:44px;height:44px;min-width:44px;min-height:44px;font-size:14px}
  .refc6 .pill.big{min-height:44px;height:44px;width:100%;justify-content:center;font-size:12.5px;padding:0 12px}.qr6{width:68px;height:68px;border-radius:12px}.qr6 b{font-size:15px}
  .side6{left:12px;right:12px;width:auto;top:calc(var(--pv-top) + 8px);bottom:calc(8px + var(--pv-sab));max-height:none;padding:12px;overflow:auto;touch-action:pan-y;overscroll-behavior:contain}
  .side-body{gap:7px;font-size:15px}.stephead{font-size:20px;margin-top:0}.side-note{min-height:0;font-size:13px}
  .stepchip6{min-height:44px;height:44px;padding:0 12px 0 6px;border-radius:22px}
  .side-foot{flex-wrap:wrap;gap:8px;padding:6px 0 4px}
  .side-foot .grow{display:none}
  .side-foot .btn-o{min-height:44px;height:44px;font-size:15px;padding:0 18px;margin-left:auto}
  .refrow,.flds{grid-template-columns:1fr;gap:6px}.refrow b{grid-column:auto}.field6{font-size:16px;min-height:44px;padding:6px 10px}
  .modal{left:12px;right:12px;width:auto;max-width:none;top:50%;transform:translateY(-50%);padding:18px 16px;font-size:16px;max-height:calc(100dvh - var(--pv-top) - 24px);overflow:auto;overscroll-behavior:contain}
  .sd-head{padding:calc(12px + var(--pv-sat)) 14px 10px}.sd-head h2,.sd-head.main h2{font-size:24px}
  .sd-body{padding:4px 14px 14px;gap:10px}.sd-sum{padding:12px 14px}.sd-sum-top{gap:14px}.sd-big{font-size:32px}.sd-mid{font-size:24px}.sd-sum-line{margin:10px 0 0;font-size:16px}.sd-sum-note{font-size:13.5px}
  .sd-row7{min-height:56px;gap:12px;padding:6px 4px}.sd-ico{width:28px;height:28px}
  .sd-it b,.sd-link .sd-it b{font-size:16.5px}.sd-it small{font-size:13px}
  .sd-item{min-height:58px;padding:10px 14px;gap:10px}
  .sd-money{height:48px;padding:0 12px}.sd-money em{font-size:18px}
  .sd-in,.sd-money input,.sd-in.wide,.sd-in.name{font-size:16px}.sd-in{width:88px}.sd-money.sm{height:44px;padding:0 10px}.sd-money.sm .sd-in{width:64px}
  .sd-custom{flex-wrap:wrap;gap:8px 10px}.sd-custom .sd-in.name{flex:1 1 100%;min-height:44px;height:44px;margin-left:0;padding:0 12px;border-color:var(--sd-box);border-radius:12px;background:rgba(0,0,0,.18);font-weight:500}.sd-custom .sd-swb{margin-left:auto}
  html.day .sd-custom .sd-in.name{background:#fff}
  .sd-disc summary{min-height:44px;padding:8px 12px;border-radius:12px;background:var(--sd-card);border:1px solid var(--sd-line);justify-content:space-between;font-size:15px}
  .sd-seg button{flex:1 1 auto;min-height:44px;height:44px;font-size:clamp(11.5px,3vw,13px);padding:0 6px}
  .sd-range{gap:8px}.sd-range b{font-size:16px}.sd-range span{gap:5px}.sd-range button{width:44px;height:44px;min-height:44px;min-width:44px;font-size:15px}
  .sd-rates{flex-wrap:wrap;gap:6px}.sd-rates button{min-height:44px;height:44px;min-width:44px;padding:0 12px;font-size:14px}
  .sd-plan{min-height:68px;padding:10px 14px}.sd-plan .sd-it b{font-size:18px}.sd-plan .sd-it small{font-size:13.5px}
  .sd-foot{margin:0 14px;padding:12px 0 calc(14px + var(--pv-sab))}.sd-saved,.sd-reset{font-size:14px}
  .sd-cta-wrap{padding:10px 14px calc(12px + var(--pv-sab))}.sd-cta{height:52px;font-size:17px}.sd-new{height:48px;font-size:15.5px}.sd-btn{min-height:44px;height:44px;font-size:15px}
  .vc-panel{left:12px;right:12px;width:auto;top:var(--pv-top);padding:14px 16px}
  #pdHostX,#pdHostS,#pdHostC{height:auto!important;max-height:calc(100dvh - var(--dock) - var(--pv-content) - 108px);overflow:auto}
  .xbig.small{width:44px;height:44px}
  .xbig.small::before,.xbig.small::after{left:12px;right:12px;top:21px}
}
@media (max-width:767px) and (orientation:portrait) and (max-height:740px){
  :root{--pv-top:calc(96px + var(--pv-sat));--pv-content:calc(var(--pv-top) + 66px);--dock:calc(146px + var(--pv-sab))}
  html.pv2-viewer-readonly{--pv-top:calc(52px + var(--pv-sat))}
  .cv-main{top:calc(var(--pv-top) + 88px)}
  #bottom{height:calc(144px + var(--pv-sab))}
  #rail{bottom:calc(98px + var(--pv-sab));height:44px}
  .pill.continue{right:86px;bottom:38px;width:calc(100vw - 106px)}
  .print{bottom:calc(4px + var(--pv-sab));font-size:8px;line-height:1.15;max-height:34px}
  #top h1,#top h1.long{font-size:20px}
  .grade{padding:6px 10px}.g-num{font-size:24px}.g-word{font-size:13px}
  #tcards{top:max(var(--pv-grade-bottom,calc(var(--pv-content) + 100px)),48dvh);bottom:calc(var(--dock) + 42px);max-height:none}
  .ch[data-ch="5"]{gap:6px}
  .ch[data-ch="5"] .choice{padding:6px 7px}.ch[data-ch="5"] .c-big{font-size:18px}.ch[data-ch="5"] .c-mid{font-size:11px}
  .ch[data-ch="5"] #chart{height:126px}
}
@media (max-width:520px) and (orientation:portrait){
  #top h1,#top h1.long{font-size:clamp(18px,4.8vw,21px);line-height:1.12;text-wrap:balance}
}
@keyframes verdictInLand{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* Phone landscape (667x375 / 844x390 / 915x412 / 932x430 / up to 980x520): widescreen split stage with slim chrome and right-docked compact side cards */
@media (max-height:500px) and (orientation:landscape) and (max-width:980px), (max-height:520px) and (max-width:980px) and (orientation:landscape){
  :root{--pv-top:calc(36px + var(--pv-sat));--pv-content:calc(var(--pv-top) + 26px);--rail-y:calc(36px + var(--pv-sab));--dock:calc(46px + var(--pv-sab))}
  #top,html.day #top,html.aqua #top{height:auto;padding:var(--pv-top) 10px 1px;z-index:3}
  html.cover-on #top,html.day.cover-on #top,html.aqua.cover-on #top{background:none}
  html.cover-on #netNote:not(.act){display:none!important}
  html.cover-on .pill.continue{display:none!important}
  #top .pills:not(.second){left:0;right:0;top:0;min-height:36px;height:36px;padding:var(--pv-sat) 10px 0;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:5px;border-bottom:1px solid var(--edge-soft);background:var(--pv-surface)}
  .pv-brand{margin-right:auto;width:32px;height:32px;min-width:32px;min-height:32px}
  .pv-brand img{width:26px;height:26px}
  .pv-pills-br{display:none!important}
  #langPill,#themePill{height:30px;min-height:30px!important;padding:2px;border-radius:999px;gap:1px}
  #langPill>span{display:none!important}
  #langPill button{height:26px!important;min-height:26px!important;min-width:26px;padding:0 7px;border-radius:999px;font-size:11px;font-weight:700}
  #langPill button.on::before,#themePill button::before{inset:0}
  #themePill button{width:26px;min-width:26px;height:26px!important;min-height:26px!important;padding:0;border-radius:999px}
  #themePill .ico{width:14px;height:14px}
  #top button.pill,#top #trPill,#top #videoPill,#top #menuPill{height:30px!important;min-height:30px!important;min-width:30px!important;width:30px!important;flex:0 0 30px;padding:0!important;border-radius:50%!important;display:inline-flex;align-items:center;justify-content:center;border-color:var(--edge);box-shadow:none}
  #top button.pill .ico,#top :is(#trPill,#videoPill,#menuPill) .ico{width:15px!important;height:15px!important}
  #videoPill span{display:none}
  #top .heading{padding-top:1px;display:flex;align-items:baseline;gap:6px;overflow:hidden;max-width:calc(100vw - min(312px,37vw) - 110px)}
  html:is(.extra-on,.wear-on,.inside-on) #top .heading{display:none}
  html:is(.extra-on,.wear-on,.inside-on) #top .ch-label{margin-left:0;padding-left:0;border-left:0}
  #top .ch-label{flex:0 0 auto;font-size:9.5px;letter-spacing:.12em;line-height:1.15;color:var(--pv-accent);white-space:nowrap;font-weight:700;margin:0}
  #top h1,#top h1.long{min-width:0;flex:1 1 auto;max-width:none;font-size:15px;line-height:1.15;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #top .ch-sub{display:none}
  /* Widescreen 2-column cover: copy cleanly left (<=52vw), glowing 3D home wide open on right */
  .cv-dim{background:linear-gradient(90deg,rgba(3,2,1,.84) 0%,rgba(3,2,1,.64) 38%,rgba(3,2,1,.18) 62%,rgba(3,2,1,.08) 100%)}
  html.day .cv-dim{background:linear-gradient(90deg,rgba(246,241,235,.92) 0%,rgba(246,241,235,.72) 38%,rgba(246,241,235,.14) 62%,rgba(246,241,235,0) 100%)}
  .cv-dealer{--lh:clamp(34px,9dvh,46px);left:16px;top:calc(var(--pv-top) + 6px)}
  .cv-main{left:16px;right:auto;top:calc(var(--pv-top) + 48px);max-width:min(440px,52vw)}
  .cv-k{font-size:10.5px;letter-spacing:.16em}
  .cv-family{font-size:clamp(22px,6.2dvh,30px);margin-top:3px;line-height:1.08}
  .cv-addr,.cv-date{font-size:clamp(12px,3.3dvh,14px);line-height:1.3}
  .cv-addr{margin-top:4px}
  .cv-rule{margin:8px 0;width:min(260px,100%)}
  .cv-rep{font-size:12.5px;gap:8px}
  .cv-av{width:30px;height:30px;font-size:11px}
  .cv-begin{margin-top:10px;gap:12px}
  .cv-begin i{width:44px;height:44px}
  .cv-begin span{font-size:clamp(20px,5.5dvh,26px)}
  .pv2-stage-focus-btn{display:inline-flex;position:fixed;right:calc(min(312px,37vw) + 14px);top:calc(var(--pv-top) + 2px);height:22px;padding:0 8px;font-size:10px}
  html.pv2-stage-focus .pv2-stage-focus-btn{right:10px}
  html.pv2-stage-focus :is(#tcards,.verdict,#costCol,#sysPanel,#proofs){opacity:0!important;pointer-events:none!important;transform:translateX(24px);transition:opacity .25s ease,transform .25s ease}
  .tr-panel{top:var(--pv-top);right:10px;width:min(420px,calc(100vw - 20px));max-height:calc(100dvh - var(--pv-top) - 10px)}
  #bottom{height:calc(46px + var(--pv-sab));padding-bottom:var(--pv-sab)}
  #rail{left:10px;right:154px;bottom:calc(6px + var(--pv-sab));height:32px}
  #rail::before{top:7px}#rail::after{top:6px}
  #rail .mark{font-size:9.5px;min-width:0;min-height:32px;gap:2px;padding:0;white-space:nowrap}
  #rail .mark i{width:11px;height:11px;margin-top:2px}
  .guide{right:8px;bottom:calc(4px + var(--pv-sab));width:auto;height:auto;display:flex;flex-direction:row;align-items:center;gap:6px}
  #aquis{position:relative;display:block;width:40px;height:40px;overflow:visible}
  #aquisHost{position:absolute;left:50%;top:50%;width:92px;height:106px;margin:-53px 0 0 -46px;transform:scale(.42);transform-origin:50% 50%}
  html.aquis-speaking #aquisHost{transform:scale(.50) translateY(-2px)}
  @media (prefers-reduced-motion: reduce){ html.aquis-speaking #aquisHost{transform:scale(.42)} }
  .pill.continue{position:static;width:auto;min-height:34px;height:34px;font-size:12px;padding:0 11px;margin:0;border-radius:17px}
  .pill.continue[disabled]{display:none}
  .voicecap{bottom:calc(52px + var(--pv-sab));font-size:13px;padding:7px 14px}
  .print{display:none}
  /* Ch1: full widescreen journey stage + compact bottom play strip + compact POV caption */
  .journey,.journey.glass{left:10px;right:164px;width:auto;bottom:calc(var(--dock) + 2px);padding:2px 8px;gap:8px}
  .journey .jplay{width:34px;height:34px}
  .journey .jplay svg{width:15px;height:15px}
  .journey .jchip{height:24px;font-size:11.5px;padding:0 6px}
  .wpov-cap{gap:2px}.wpov-cap b{font-size:9px;letter-spacing:.12em;padding:2px 8px}.wpov-cap span{font-size:9px;letter-spacing:.1em}
  .jtag{padding:5px 10px 6px 7px}.jtag .hd{font-size:12px}.jtag p{font-size:12.5px;max-width:min(300px,46vw)}
  .jcarry{font-size:11.5px;padding:4px 10px}
  /* Ch2: compact top-left grade badge, right-docked 36vw test cards, left 62vw unobstructed kitchen bench */
  .grade{left:10px;right:auto;transform:none;top:var(--pv-content);max-width:calc(100vw - min(304px,36vw) - 24px);padding:3px 10px;gap:7px;border-radius:12px;display:flex;flex-wrap:nowrap;align-items:center;overflow:hidden}
  .grade .vr,.g-note,.grade .g-lab{display:none}
  .grade .g-k{min-width:0;max-width:none;font-size:9px;letter-spacing:.09em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .g-num{font-size:20px;line-height:1;flex:none}.g-word{font-size:12px;flex:none}
  .grade .g-scale{width:clamp(46px,9vw,76px);flex:none}.grade .g-bar{margin:0}
  #tcards{position:absolute;top:calc(var(--pv-top) + 4px);bottom:calc(var(--dock) + 32px);left:auto;right:10px;width:min(304px,36vw);display:grid;grid-template-columns:1fr;gap:5px;align-content:start;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;pointer-events:auto;transition:opacity .25s ease,transform .25s ease}
  .ch:not(.on) #tcards{pointer-events:none}
  #tcards .tcard{position:relative;inset:auto!important;width:auto!important;min-height:0!important;padding:6px 8px;border-radius:10px;transform:none}
  .tcard .t-t{font-size:10px}.tcard .t-s{font-size:10.5px}.tcard .t-v{margin:2px 0;gap:5px}.tcard .t-v b{font-size:18px}.tcard .t-v span{font-size:12px}.tcard .t-v svg{width:14px;height:14px}.tcard .dots5{gap:5px}.tcard .dots5 i{width:8px;height:8px}
  .tcard .t-src{font-size:10.5px;margin-top:2px}.tcard.open .t-src{max-height:none}
  .verdict{left:auto;right:10px;width:min(304px,36vw);transform:none;bottom:calc(var(--dock) + 4px);font-size:10px;padding:4px 8px;border-radius:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;gap:6px;transition:opacity .25s ease,transform .25s ease}
  .verdict .vd-mark{width:14px;height:14px}.verdict .vd-mark::after{left:4.5px;top:2px;width:3.5px;height:7px;border-width:0 2px 2px 0}
  .ch.on .verdict{animation-name:verdictInLand;animation-delay:.2s;animation-duration:.35s}
  /* Ch3: right-docked 36vw cost cards (no .84 scale!), compact bottom-left ask pill, left 62vw lit home */
  .cost-col{top:calc(var(--pv-top) + 4px);bottom:calc(var(--dock) + 4px);left:auto;right:10px;width:min(304px,36vw);transform:none!important;gap:6px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;transition:opacity .25s ease,transform .25s ease}
  .cost-col .ccard{padding:7px 10px;border-radius:13px}
  .cost-col .c-k{font-size:10px;margin-bottom:4px}
  .cost-col .c-two{gap:8px;font-size:12px}.cost-col .c-two b{font-size:20px}
  .cost-col .c-badges{display:none}
  .cost-col .mrow{font-size:12px;min-height:34px;padding:4px;gap:6px}.cost-col .mrow .m-tag{font-size:10px;padding:2px 6px}.cost-col .mrow .m-v{font-size:14px;width:auto}
  .cost-col .years{height:28px}.cost-col .years button{height:22px!important;padding:0 10px!important;font-size:11.5px}
  .cost-col .c-total{margin-top:4px;font-size:13px}.cost-col .c-total b{font-size:22px}
  .bd-head{min-height:44px;padding-right:54px;margin-bottom:6px;gap:8px;font-size:13px}.bd-head #bdClose{right:0;top:0}.bd-open button,.bdrow button{min-height:44px;padding:6px 10px;font-size:13px}.xbig.small{width:40px;height:40px}.xbig.small::before,.xbig.small::after{left:10px;right:10px;top:19px}
  .askrow{left:10px;right:auto;bottom:calc(var(--dock) + 4px);top:auto;max-width:calc(100vw - min(304px,36vw) - 28px);font-size:11.5px;min-height:30px;height:auto;padding:5px 11px;border-radius:10px}
  .apptag{font-size:11px;padding:4px 8px}
  /* Ch4: right-docked 37vw product panel + tucked proof strip, left 61vw unobstructed Puronics 3D stage */
  .package{left:10px;right:auto;top:var(--pv-content);max-width:calc(100vw - min(312px,37vw) - 26px);min-height:24px!important;height:24px!important;padding:2px;gap:2px;display:flex;align-items:stretch}
  .package button{font-size:10.5px;padding:0 8px!important;min-height:20px!important;height:20px!important;white-space:nowrap}
  .package button b{margin-right:3px}
  .unit-buttons{left:10px;right:auto;bottom:calc(var(--dock) + 2px);top:auto;max-width:calc(100vw - min(312px,37vw) - 26px);gap:6px}
  .unit-buttons .pill{min-height:26px;height:26px;font-size:11px;padding:0 11px}
  .sys-panel{top:calc(var(--pv-top) + 4px);bottom:calc(var(--dock) + 36px);left:auto;right:10px;width:min(312px,37vw);max-height:none;padding:10px 12px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;transition:opacity .25s ease,transform .25s ease}
  .sys-panel .kicker{font-size:9.5px;letter-spacing:.14em}.sys-head{font-size:17px;margin:4px 0 4px}.sys-facts{font-size:11px;margin-bottom:8px}
  .benefits{gap:5px}.benefit{padding:0 10px;border-radius:10px}.benefit .hd{min-height:34px;font-size:12.5px;gap:8px}.benefit .hd svg{width:17px;height:17px}.benefit p{font-size:11.5px;margin-left:25px}.benefit.open p{margin:-2px 0 8px 25px}.cmp{margin-top:8px;padding:8px 4px;font-size:13px}
  .stages,#insidePanel,.extra-panel{top:calc(var(--pv-top) + 4px);bottom:calc(var(--dock) + 4px);left:auto;right:10px;width:min(316px,37vw);max-height:none;height:auto;padding:10px 12px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
  .wear-panel{top:calc(var(--pv-top) + 4px);bottom:calc(var(--dock) + 4px);left:auto;right:10px;width:min(324px,38vw);max-height:none;height:auto;padding:44px 10px 10px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
  .wear-panel .kicker{margin-top:6px;font-size:10px}.wear-panel h3{font-size:17px}.wear-panel>p,.wear-cond{font-size:12px}.wear-switch .pill,.wear-names .pill{font-size:11px;min-height:32px;height:auto;padding:4px 6px;white-space:normal;line-height:1.15}.wear-names{margin:6px 0;gap:5px}.year-slider{height:40px;margin:6px 8px 0}.stops span{font-size:12px;padding-top:20px}
  .proofs{left:auto;right:10px;width:min(312px,37vw);bottom:calc(var(--dock) + 4px);display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;scrollbar-width:none;transition:opacity .25s ease,transform .25s ease}
  .proofs::-webkit-scrollbar{display:none}
  .proofbtn{flex:0 0 auto;min-height:28px;height:28px;font-size:10px!important;padding:0 8px;gap:5px!important;border-radius:9px}
  .proofbtn svg{width:14px;height:14px}
  /* Ch5: responsive 3-column horizontal fit */
  .ch[data-ch="5"]{display:grid;grid-template-columns:minmax(130px,22%) minmax(144px,24%) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:8px;padding:var(--pv-content) 10px calc(var(--dock) + 4px);align-items:stretch}
  .ch[data-ch="5"] .choice,.ch[data-ch="5"] .chart-panel{position:static!important;width:auto!important;height:auto!important;inset:auto!important;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;padding:8px 10px;border-radius:14px}
  .ch[data-ch="5"] .choice h3{min-height:28px;font-size:11px;letter-spacing:.05em}.ch[data-ch="5"] .c-big{font-size:21px;margin-top:2px}.ch[data-ch="5"] .c-sub{font-size:11px}.ch[data-ch="5"] .c-mid{min-height:26px;font-size:11.5px}.ch[data-ch="5"] .choice hr{margin:6px 4px}.ch[data-ch="5"] .chip-o{white-space:normal;font-size:10px;padding:4px 6px;margin-top:6px;line-height:1.15}
  .ch[data-ch="5"] .chart-panel{gap:5px}
  .ch[data-ch="5"] .chart-panel .years{height:28px}.ch[data-ch="5"] .chart-panel .years button{height:22px!important;padding:0 10px!important;font-size:11.5px}
  .ch[data-ch="5"] #chart{height:clamp(88px,32dvh,148px)}
  .ch[data-ch="5"] .chart-panel .row{min-height:32px;font-size:12px;padding:0 10px}
  .ch[data-ch="5"] .slider-row{gap:8px}.ch[data-ch="5"] .slider-row span{font-size:11.5px}
  /* Ch6: clean 2-column horizontal layout */
  .grid6{left:10px;right:10px;top:var(--pv-content);bottom:calc(var(--dock) + 4px);display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,0.88fr);grid-template-rows:auto minmax(0,1fr);gap:8px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;align-content:start}
  .grid6 .next6{grid-column:1 / -1;grid-row:1;padding:5px 14px;font-size:11px;gap:8px;border-radius:999px;white-space:nowrap}
  .grid6 .next6 .n-k{font-size:10px;margin-right:4px}.grid6 .next6 i{width:20px;height:20px;font-size:11px}
  .grid6 .invest6{grid-column:1;grid-row:2;padding:10px 12px;border-radius:14px}
  .grid6 .lower6{grid-column:2;grid-row:2;padding:10px 12px;border-radius:14px}
  .invest6 .inv-top{gap:12px}.invest6 .inv-k,.invest6 .inv-sub{font-size:11.5px}.invest6 .inv-big{font-size:22px}
  .invest6 .chips{flex-wrap:wrap;gap:5px;margin:7px 0}.invest6 .chips span{flex:1 1 auto;min-width:max-content;padding:4px 8px;font-size:10.5px;white-space:nowrap}.invest6 .chips span br{display:none}
  .invest6 .inv-actions{gap:8px;flex-wrap:wrap}.invest6 .btn-o,.invest6 .btn-g{height:34px;font-size:12.5px;padding:0 12px}.invest6 .link{font-size:12px}
  .invest6 .mode{margin-top:7px;min-height:30px;height:30px}.invest6 .mode button{min-height:26px!important;height:26px!important;min-width:36px;font-size:11.5px;padding:0 10px}
  .lower6 .c-k{font-size:10px;margin-bottom:5px}.lower-cards{gap:6px}.refc6{padding:7px 8px;gap:5px;border-radius:10px}.refc6>b{font-size:11px}
  .refc6 .refs{gap:4px;flex-wrap:wrap;justify-content:center}.refc6 .refs button{width:30px;height:30px;font-size:12px}
  .refc6 .pill.big{height:30px;font-size:11px;padding:0 10px}.qr6{width:54px;height:48px}.qr6 b{font-size:13px}.qr6 span,.upto6{font-size:9.5px}.refc6 .lp-line{font-size:11px}.avail6{margin-top:6px;font-size:12px}.avail6 b{font-size:15px}
  .side6{top:calc(var(--pv-top) + 6px);bottom:8px;right:10px;left:10px;width:auto}
  .pill.back{left:10px;top:calc(var(--pv-top) + 4px);min-height:30px;height:30px;font-size:11.5px;padding:0 12px}
  #pdHostX,#pdHostS,#pdHostC{height:auto!important;max-height:calc(100dvh - var(--dock) - var(--pv-top) - 48px);overflow:auto}
  .sd-drawer{width:min(520px,100vw)}
  .sd-head{padding:calc(10px + var(--pv-sat)) 16px 8px}.sd-head h2,.sd-head.main h2{font-size:22px}
  .sd-body{padding:4px 16px 12px;gap:8px}.sd-sum{padding:10px 14px}.sd-sum-top{gap:14px}.sd-big{font-size:28px}.sd-mid{font-size:22px}.sd-sum-line{margin:8px 0 0;font-size:15px}
  .sd-row7{min-height:52px;gap:12px;padding:4px}.sd-ico{width:26px;height:26px}.sd-it b,.sd-link .sd-it b{font-size:16px}.sd-it small{font-size:13px}
  .sd-item{min-height:54px;padding:8px 14px;gap:10px}
  .sd-money{height:44px;padding:0 12px}.sd-money em{font-size:17px}.sd-in,.sd-money input,.sd-in.wide,.sd-in.name{font-size:16px}.sd-in{width:88px}.sd-money.sm{height:44px}.sd-money.sm .sd-in{width:64px}
  .sd-custom{gap:8px}.sd-custom .sd-in.name{min-height:44px;height:44px;margin-left:0;padding:0 12px;border-color:var(--sd-box);border-radius:12px;background:rgba(0,0,0,.18);font-weight:500}
  html.day .sd-custom .sd-in.name{background:#fff}
  .sd-disc summary{min-height:44px;padding:8px 12px;border-radius:12px;background:var(--sd-card);border:1px solid var(--sd-line);justify-content:space-between;font-size:15px}
  .sd-seg button,.sd-range button,.sd-rates button,.sd-btn{min-height:44px;height:44px}.sd-range button{width:44px;min-width:44px;font-size:15px}
  .sd-plan{min-height:60px;padding:10px 14px}.sd-plan .sd-it b{font-size:17px}.sd-plan .sd-it small{font-size:13px}
  .sd-foot{margin:0 16px;padding:10px 0 calc(10px + var(--pv-sab))}.sd-saved,.sd-reset{font-size:14px}
  .sd-cta-wrap{padding:8px 16px calc(10px + var(--pv-sab))}.sd-cta{height:48px;font-size:16px}.sd-new{height:46px;font-size:15px}
}
.pv-brand img,.su-iovo{object-view-box:none;border-radius:50%;object-fit:contain}
#pdHostX,#pdHostS,#pdHostC{height:62vh}
@media(max-width:767px) and (orientation:portrait){
  #pdHostC{height:auto;max-height:calc(100dvh - var(--dock) - var(--pv-content) - 92px)}
  #pdHostC .pd-makes .pd-sep{min-height:44px;height:auto;padding:6px 10px;font-size:12px}
}
html:has(#native-launcher:not(.native-inline-control)) #native-launcher:not(.native-inline-control){
  display:none!important;
}
