:root{color-scheme:light;--ink:#233956;--muted:#60768b;--blue:#3566b8;--mint:#7ccbb5;--coral:#eaa98f;--gold:#c49b49;--green:#27836b;--line:#d8e4ed;--paper:#f7fbff}*{box-sizing:border-box}body{margin:0;background:#eaf2f8;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif}button,input,select{font:inherit;color:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);background:#f9fcff;border-radius:13px;padding:10px 16px;min-height:44px}button:hover{background:#e3edf8}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #6b9df0;outline-offset:3px}a{color:var(--blue)}.primary{background:var(--ink);border-color:var(--ink);color:#fff}.primary:hover{background:#35577d}.app{height:100svh;max-width:1480px;margin:auto;padding:24px 40px 12px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;gap:14px}header{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{font-size:13px;letter-spacing:.08em;font-weight:800}.brand span{font-size:12px;color:var(--muted);letter-spacing:0;font-weight:500;margin-left:12px}.tools{display:flex;gap:8px}.tools button{font-size:13px}.heading{padding-top:5px}.eyebrow{font-size:11px;letter-spacing:.12em;font-weight:750;color:var(--blue);margin:0 0 9px}h1{font-size:clamp(25px,3vw,40px);line-height:1.23;letter-spacing:-.04em;word-break:keep-all;margin:0}h2{font-size:23px;line-height:1.35;letter-spacing:-.035em;margin:0;word-break:keep-all}.stage{border-radius:30px;border:1px solid #ffffffdd;background:radial-gradient(ellipse at 50% 25%,#fff,#edf5fb 65%,#deebf5);min-height:0;overflow:hidden;touch-action:pan-y;container-type:size;user-select:none}.scene{height:100%;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:clamp(12px,3cqh,30px);padding:25px;animation:arrive .45s ease both}.scene>div,.scene>p{max-width:100%}@keyframes arrive{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}.big{font-size:clamp(36px,7cqw,85px);font-weight:850;letter-spacing:-.04em;line-height:1.15;margin:0;word-break:keep-all;text-align:center}.blue{color:var(--blue)}.green{color:var(--green)}.gold{color:#9d742d}.sub{color:var(--muted);font-size:clamp(14px,2.5cqw,23px);text-align:center;margin:0;line-height:1.5;word-break:keep-all}.row{display:flex;align-items:center;justify-content:center;gap:clamp(12px,3cqw,45px);width:100%;max-width:1000px!important}.card{background:#ffffffdf;border:1px solid #dce7f0;border-radius:22px;padding:clamp(14px,2.5cqw,30px);text-align:center;box-shadow:0 9px 0 #d7e3ed,0 18px 25px #526f8a12;min-width:0}.card h3{font-size:clamp(17px,2.6cqw,28px);margin:0 0 12px;word-break:keep-all}.card p{margin:8px 0;font-size:clamp(14px,2.2cqw,22px);line-height:1.5;word-break:keep-all}.card strong{font-size:clamp(28px,5cqw,54px);color:var(--blue)}.row>.card{flex:1}.tag{background:#fff;border:1px solid var(--line);border-radius:40px;padding:10px 24px;font-size:clamp(13px,2.3cqw,20px);color:var(--muted);text-align:center;word-break:keep-all}.equation{font-size:clamp(25px,4.6cqw,58px);font-weight:800;letter-spacing:-.035em;text-align:center;word-break:keep-all}.product-image{width:min(28cqw,240px);height:min(26cqh,200px);object-fit:contain;filter:drop-shadow(0 16px 10px #506b8520)}.product-group{text-align:center;flex:1}.product-group h3{font-size:clamp(15px,2.7cqw,26px);margin:8px 0;word-break:keep-all}.product-group .score{color:var(--blue);font-size:clamp(25px,4cqw,42px);font-weight:800;margin:4px}.product-group .price{color:var(--green);font-size:clamp(19px,3cqw,30px);font-weight:700;margin:6px}.plus{font-size:32px;color:#9cb1c3}.bc{width:clamp(135px,19cqw,240px);background:linear-gradient(140deg,#5481cd,#315995);border:2px solid #9dbdeb;border-radius:22px;box-shadow:0 7px 0 #23427c,0 16px 25px #32567725;color:white;text-align:center;position:relative;padding:18px 12px 12px;flex-shrink:0}.bc::before,.bc::after{content:"";position:absolute;top:30%;height:35%;width:11%;border-radius:10px;box-shadow:inset 3px 0 0 #ffffff45}.bc::before{left:10%;background:var(--mint)}.bc::after{right:10%;background:var(--coral)}.bc small{font-size:clamp(10px,1.5cqw,15px);color:#dbe9ff;display:block}.bc b{font-size:clamp(25px,4cqw,46px);display:block;margin:5px 0}.bc .scores{display:flex;justify-content:space-between;font-size:clamp(12px,2cqw,22px);font-weight:750;gap:5px;white-space:nowrap}.bc .scores span{min-width:0}.bc.rest{background:#d5e0e9;border-color:#b6c8da;color:#536c82;box-shadow:0 7px 0 #a9bdce}.bc.rest small{color:#526c82}.tree{display:flex;align-items:center;flex-direction:column;gap:clamp(27px,6cqh,60px);width:100%;max-width:800px!important}.branches{display:flex;justify-content:space-around;gap:18px;position:relative;width:100%}.branches::before{content:"";position:absolute;left:25%;right:25%;height:25px;top:-25px;border:2px solid #abc3d7;border-bottom:0;border-radius:6px 6px 0 0}.tree>.bc{position:relative}.tree>.bc::after{background:var(--coral)}.mini-flow{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}.mini-node{background:#fff;border:1px solid var(--line);padding:14px 20px;border-radius:16px;min-width:85px;text-align:center;font-size:clamp(16px,2.5cqw,26px);box-shadow:0 5px 0 #d9e6ee}.mini-node strong{display:block;color:var(--blue);font-size:clamp(21px,3.5cqw,34px)}.arrow{font-size:clamp(20px,4cqw,42px);color:#829cb7}.timeline{width:min(800px,100%);display:grid;gap:20px}.time-row{display:grid;grid-template-columns:50px repeat(3,1fr);gap:10px;align-items:center;font-size:clamp(13px,2.7cqw,24px)}.time-row b{background:#cce6dd;border-radius:12px;text-align:center;padding:15px 3px}.steps-list{display:grid;gap:12px;width:min(720px,100%)}.steps-list p{margin:0;padding:15px 22px;background:#fff;border:1px solid var(--line);border-radius:16px;font-size:clamp(17px,2.6cqw,26px);line-height:1.4;word-break:keep-all}.caption{text-align:center;min-height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.caption p{margin:0;font-size:clamp(16px,1.6vw,22px);font-weight:650;line-height:1.45;word-break:keep-all;max-width:1100px}.caption button{font-size:11px;color:var(--muted);border:0;background:none;padding:3px 10px;min-height:26px}.navigation{display:flex;align-items:center;gap:20px}.navigation>button{min-width:105px;min-height:48px;font-weight:750}.track{flex:1;display:flex;align-items:center;gap:15px;min-width:0}#progress{height:4px;background:#cfdeeb;border-radius:5px;flex:1;overflow:hidden}#fill{height:100%;display:block;background:var(--blue);transition:width .25s}#counter{color:var(--muted);font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}footer{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:10px;line-height:1.5}dialog{border:1px solid var(--line);border-radius:25px;padding:28px;width:min(660px,calc(100% - 28px));max-height:90svh;background:#f6faff;color:var(--ink);box-shadow:0 30px 90px #203d5a30}dialog::backdrop{background:#152d4866;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.dialog-head>button{flex-shrink:0;padding:6px 12px}.detail-text{font-size:17px;line-height:1.85;white-space:pre-line;word-break:keep-all}.fineprint{font-size:12px;line-height:1.65;color:var(--muted);word-break:keep-all}.chapter-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px}.chapter-list button{text-align:left;min-height:55px;font-size:14px}.chapter-list button[aria-current]{background:#dbe9fb;border-color:#94b4e4}.sim-dialog{width:min(1180px,calc(100% - 28px));padding:28px}.sim-intro{font-size:14px;color:var(--muted);line-height:1.7;margin:12px 0 22px}.sim-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:26px;align-items:start}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:block;font-size:13px;font-weight:650;line-height:1.6}label>span,.field-label>span{font-size:11px;color:var(--muted);font-weight:400}label>span{float:right}input[type=number],select{display:block;width:100%;border:1px solid #c9dae8;border-radius:12px;background:white;min-height:45px;padding:9px 12px;margin-top:5px;font-size:17px;font-variant-numeric:tabular-nums}.check{display:flex;align-items:center;gap:8px;font-size:12px;margin:16px 0 22px;line-height:1.5}.check input{width:18px;height:18px;flex-shrink:0}.field-label{font-size:14px;font-weight:750;margin-bottom:12px}.field-label>span{display:block;margin-top:4px}.line-panel{padding:14px;background:#fff;border:1px solid var(--line);border-radius:18px;margin-bottom:12px}.line-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}.line-head h3{margin:0;font-size:14px}.line-head small{color:var(--muted);font-size:12px}.consumer-row{display:grid;grid-template-columns:1fr 1fr 44px;gap:8px;align-items:end;margin-bottom:10px}.consumer-row label{font-size:11px}.consumer-row label span{float:none}.consumer-row input{font-size:16px;padding:8px}.consumer-row>button{height:45px;padding:6px}.add-group{font-size:12px;background:#edf5fb;border:0;width:100%}.cost-field{margin-top:20px}.result-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;margin-bottom:14px}.result-label{font-size:12px;color:var(--muted);margin:0 0 8px}.result-value{font-size:clamp(32px,4vw,48px);font-weight:850;letter-spacing:-.04em;margin:0;color:var(--blue);font-variant-numeric:tabular-nums}.result-value small{font-size:15px;margin-left:4px;font-weight:600}.result-meta{font-size:13px;line-height:1.75;margin:12px 0 0}.suggestion{background:#e4f1ec;border-color:#bbd9ce}.suggestion h3{font-size:19px;margin:0 0 12px;word-break:keep-all}.suggestion p{font-size:13px;line-height:1.7;margin:8px 0}.suggestion button{width:100%;margin-top:8px;background:var(--ink);color:white}.proposal-counts{display:grid;grid-template-columns:1fr 1fr;gap:6px}.proposal-counts span{background:#ffffffa8;border-radius:9px;padding:9px;font-size:12px}.shop-row{display:grid;grid-template-columns:50px 1fr auto;gap:10px;padding:14px 4px;border-bottom:1px solid var(--line);font-size:12px;align-items:center}.shop-row b{font-size:14px}.shop-row span{line-height:1.6}.shop-row strong{color:var(--blue);white-space:nowrap}.assumptions{margin-top:18px;font-size:12px;color:var(--muted);line-height:1.7}.assumptions summary{cursor:pointer;min-height:36px}.assumptions p{margin:8px 0}#simError{padding:15px;border:1px solid #e7b9a3;border-radius:13px;background:#fff0e7;color:#8b4322;font-size:14px;margin-bottom:15px}.scene a,.scene button{font-size:clamp(14px,2.6cqw,20px);padding:14px 25px;text-decoration:none}.scene a{background:#fff;border:1px solid var(--line);border-radius:15px}.stage-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
@media(max-width:650px){.app{padding:16px 14px 10px;gap:11px}.brand{font-size:10px;letter-spacing:.05em}.brand span{display:block;margin:5px 0 0;font-size:10px}.tools{gap:5px}.tools button{font-size:11px;padding:8px 10px}#fullBtn{display:none}h1{font-size:26px}.heading{padding:0 2px}.eyebrow{font-size:10px;margin-bottom:8px}.stage{border-radius:24px}.scene{padding:18px 12px;gap:18px}.row{gap:10px}.big{font-size:clamp(33px,10cqw,54px)}.sub{font-size:14px}.card{padding:15px 10px;border-radius:18px}.card h3{font-size:17px}.card p{font-size:14px}.card strong{font-size:30px}.equation{font-size:clamp(24px,7.5cqw,34px)}.bc{width:clamp(125px,38cqw,160px);padding:12px 10px 8px;border-radius:18px}.bc b{font-size:29px}.bc .scores{font-size:13px}.bc small{font-size:10px}.tree{gap:30px}.branches{gap:10px}.branches::before{height:22px;top:-22px}.product-image{width:37cqw;height:min(28cqh,150px)}.product-group h3{font-size:15px}.product-group .score{font-size:28px}.product-group .price{font-size:21px}.caption{min-height:80px}.caption p{font-size:17px}.navigation{gap:12px}.navigation>button{min-width:80px;padding:8px 12px}.track{gap:8px}#counter{font-size:11px}footer{font-size:9px}footer span{max-width:50%}.steps-list p{font-size:17px;padding:12px 16px}.mini-flow{gap:8px}.mini-node{min-width:65px;padding:12px;font-size:16px}.mini-node strong{font-size:23px}.tag{font-size:12px;padding:10px 17px}.arrow{font-size:24px}.chapter-list{grid-template-columns:1fr}.sim-dialog{padding:20px 16px;max-height:94svh}.sim-dialog h2{font-size:21px}.sim-layout{grid-template-columns:1fr;gap:18px}.sim-results{border-top:1px solid var(--line);padding-top:20px}.dialog-head .eyebrow{font-size:9px}.result-value{font-size:40px}.time-row{font-size:13px;grid-template-columns:25px repeat(3,1fr);gap:6px}.time-row b{padding:12px 2px}dialog{padding:22px}.detail-text{font-size:16px}}
@media(max-height:560px){.app{padding:10px 20px 8px;gap:6px}header button{min-height:36px;padding:5px 12px}.brand{font-size:11px}h1{font-size:25px}.eyebrow{margin-bottom:4px}.caption{min-height:50px}.caption p{font-size:15px}.caption button{min-height:22px}.navigation>button{min-height:38px}.scene{padding:12px;gap:12px}.bc{padding:8px 10px;width:140px}.bc b{font-size:27px;margin:2px 0}.bc .scores{font-size:13px}.bc small{font-size:9px}.tree{gap:26px}.card{padding:12px}.card h3{font-size:19px;margin-bottom:6px}.card p{font-size:14px;margin:4px 0}.card strong{font-size:30px}.big{font-size:clamp(30px,9cqh,60px)}.sub{font-size:14px}.tag{font-size:12px;padding:6px 14px}.equation{font-size:30px}.mini-node{padding:10px;font-size:15px}.mini-node strong{font-size:24px}.steps-list{gap:7px}.steps-list p{padding:8px 15px;font-size:16px}.product-image{height:24cqh}.product-group h3{font-size:17px}.product-group .score{font-size:27px}.product-group .price{font-size:20px}.time-row b{padding:7px}.timeline{gap:8px}footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
@media(max-height:560px) and (min-width:651px){.tree{flex-direction:row;justify-content:center;gap:38px}.branches{width:auto;gap:26px}.branches::before{display:none}}
.count-actions{grid-column:1 / 3;display:flex;gap:8px}.count-actions button{flex:1;font-size:12px;min-height:44px;background:#f4f8fc}
.sim-dialog .dialog-head{position:sticky;top:-28px;z-index:3;background:#f6faff;padding-bottom:14px}
@media(max-width:650px){.sim-dialog .dialog-head{top:-20px}}
@media(max-height:560px) and (min-width:651px){.app{grid-template-columns:35% minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto auto;column-gap:22px}header{grid-column:1 / -1}.heading{grid-column:1;grid-row:2;padding-top:14px}.stage{grid-column:2;grid-row:2 / 4}.caption{grid-column:1;grid-row:3;text-align:left;align-items:flex-start;min-height:70px}.caption p{font-size:15px}.caption button{padding-left:0}.navigation{grid-column:1 / -1;grid-row:4}footer{grid-column:1 / -1;grid-row:5}.scene{padding:12px;gap:10px}.scene button,.scene a{padding:8px 14px;font-size:13px;min-height:40px}.big{font-size:32px}.equation{font-size:26px}.sub{font-size:13px}.tag{font-size:11px}.product-image{height:20cqh}.card h3{font-size:16px}.card p{font-size:12px}.card strong{font-size:24px}.bc{width:120px}.bc b{font-size:24px}.bc .scores{font-size:11px}.tree{gap:14px}.branches{gap:14px}.steps-list p{font-size:14px}.time-row{font-size:12px}}
.mobile-result-jump{display:none}
@media(max-width:650px){.mobile-result-jump{display:block;width:100%;position:sticky;top:calc(var(--sim-head-height,100px) - 20px);z-index:2;margin-bottom:18px;background:#e3efe9;border-color:#bfd8ca;font-size:12px;font-weight:700}.sim-results{scroll-margin-top:calc(var(--sim-head-height,100px) + 65px)}}
/* The basic explanation remains a placement tree, as in v2. */
.graph-layout{width:100%;height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:8px}.tree-visual{width:100%;height:100%;min-height:0;min-width:0}.placement-svg{display:block;width:100%;height:100%;overflow:visible}.placement-svg text{font-family:inherit;font-weight:650;letter-spacing:-.02em}.graph-explanation{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-width:0}.tree-note{color:var(--muted);font-size:12px;line-height:1.5;text-align:center;word-break:keep-all;margin:0}.graph-explanation .big{font-size:clamp(24px,4.5cqw,44px)}.graph-explanation .sub{font-size:clamp(13px,2.3cqw,21px)}.graph-explanation .equation{font-size:clamp(24px,4.2cqw,42px);margin:0}.graph-explanation .tag{font-size:clamp(12px,2cqw,18px);margin:0}.activation-switch{display:flex;gap:8px}.activation-switch button[aria-pressed=true]{background:#315fba;color:white;border-color:#315fba}.tree-comparison{display:flex;gap:12px;width:100%}.tree-comparison>.card{flex:1}.tree-comparison .card strong{font-size:30px}.tree-comparison .card h3{font-size:17px}.tree-comparison .card p{font-size:14px}.sim-tree{width:100%;height:330px;max-width:500px;margin:10px auto 16px}.sim-tree .placement-svg{background:#f5f9fd;border:1px solid #dbe5ee;border-radius:18px}.tree-sp-flow{animation:sp-upstream 1.3s ease both}@keyframes sp-upstream{from{stroke-dashoffset:-80;opacity:0}25%{opacity:1}to{stroke-dashoffset:0;opacity:1}}
@container(min-width:900px){.graph-layout{grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);grid-template-rows:minmax(0,1fr);gap:24px}.graph-explanation{gap:20px}.tree-note{font-size:14px}}
@media(max-width:650px){.scene.graph-scene{padding:12px 8px;gap:6px}.graph-explanation{gap:6px}.graph-explanation .big{font-size:24px}.graph-explanation .sub{font-size:12px}.graph-explanation .tag{font-size:11px;padding:6px 12px}.tree-note{font-size:10px}.graph-explanation .steps-list{gap:5px}.graph-explanation .steps-list p{font-size:13px;padding:6px 12px}.graph-explanation .stage-links{gap:6px}.graph-explanation .stage-links a,.graph-explanation .stage-links button{font-size:11px;padding:8px 12px;min-height:40px}.tree-comparison .card{padding:8px}.tree-comparison .card strong{font-size:24px}.tree-comparison .card h3{font-size:13px;margin-bottom:4px}.tree-comparison .card p{font-size:12px;margin:4px 0}.sim-tree{height:280px}.activation-switch button{font-size:12px;padding:8px 12px}}
@media(max-height:560px) and (min-width:651px){.scene.graph-scene{padding:8px}.graph-explanation{gap:4px}.graph-explanation .big{font-size:19px}.graph-explanation .sub,.tree-note{font-size:10px}.graph-explanation .equation{font-size:22px}.graph-explanation .tag{font-size:10px;padding:5px 10px}.graph-explanation .steps-list{gap:3px}.graph-explanation .steps-list p{font-size:11px;padding:3px 8px}.tree-comparison .card{padding:5px}.tree-comparison .card strong{font-size:20px}.tree-comparison .card h3,.tree-comparison .card p{font-size:10px;margin:2px 0}.graph-explanation .stage-links a,.graph-explanation .stage-links button{font-size:10px;padding:5px 9px;min-height:32px}}
.caption-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.caption-actions button{white-space:nowrap}#motionStatus{color:var(--muted);font-size:10px}.caption-actions [hidden]{display:none}.motion-panel{width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}.motion-equation{font-size:clamp(24px,4cqw,42px);font-weight:800;letter-spacing:-.035em;text-align:center;word-break:keep-all;line-height:1.35;margin:0}.motion-sub{font-size:clamp(12px,2.2cqw,20px);line-height:1.6;text-align:center;color:var(--muted);margin:0;word-break:keep-all}.motion-result{font-size:clamp(26px,4.5cqw,46px);font-weight:850;color:var(--blue);text-align:center;line-height:1.4;word-break:keep-all;margin:0}.motion-result.money{color:var(--green)}.motion-calendar,.motion-ledger{padding:9px 18px;border:1px solid #c5d7e9;border-radius:30px;background:white;color:var(--blue);font-size:clamp(13px,2.2cqw,20px);font-weight:700;text-align:center;margin:0}.motion-product{display:flex;align-items:center;gap:16px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:20px;width:100%;max-width:440px}.motion-product img{width:110px;height:105px;object-fit:contain;flex-shrink:0}.motion-product strong{display:block;font-size:19px;color:var(--blue);line-height:1.5;word-break:keep-all}.motion-product small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:7px}.motion-own-products{justify-content:center}.motion-own-products>div{display:flex;flex-direction:column;align-items:center;text-align:center;flex:1;min-width:0}.motion-own-products img{max-width:100%;height:105px}.motion-own-products strong{font-size:14px}.graph-explanation>[hidden]{display:none!important}.scene[data-motion-phase] .tree-sp-flow{animation:none}
@media(max-width:650px){.caption-actions{gap:6px}.caption-actions button{font-size:10px}#motionStatus{font-size:9px}.motion-panel{gap:7px}.motion-equation{font-size:23px}.motion-result{font-size:25px}.motion-sub{font-size:12px}.motion-product{padding:8px;gap:10px}.motion-product img{width:70px;height:65px}.motion-product strong{font-size:15px}.motion-product small{font-size:9px;margin-top:3px}.motion-own-products strong{font-size:11px}.motion-own-products img{height:65px;width:70px}.motion-calendar,.motion-ledger{font-size:12px;padding:6px 12px}}
@media(max-height:560px) and (min-width:651px){.caption-actions{justify-content:flex-start;gap:5px}#motionStatus{font-size:8px}.motion-panel{gap:4px}.motion-equation,.motion-result{font-size:18px}.motion-sub{font-size:10px}.motion-product{padding:5px;gap:6px}.motion-product img{width:45px;height:40px}.motion-product strong{font-size:12px}.motion-product small{font-size:8px}.motion-own-products strong{font-size:9px}.motion-calendar,.motion-ledger{font-size:10px;padding:4px 10px}}
/* Current shell and simulator, v2's original explanation renderer. */
#scene{position:relative;padding:0;animation:none}.v2-frame{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent}.v2-frame[hidden],.simulation-preview[hidden]{display:none}.simulation-preview{position:absolute;inset:0;padding:16px;width:100%;height:100%}.tools button[hidden]{display:none}#motionStatus{display:none}

/* Intro and closing use a native web hero, while the explanation keeps v2. */
.web-hero[hidden]{display:none}
.hero-mode{grid-template-rows:auto minmax(0,1fr) auto auto;gap:20px}
.hero-mode>.heading,.hero-mode>.caption{display:none}
.hero-mode .stage{border:0;border-radius:0;background:none;overflow:auto;user-select:text}
.web-hero{isolation:isolate;position:relative;min-height:100%;width:100%;display:flex;align-items:center;overflow:hidden;border-radius:30px;background:linear-gradient(125deg,#f7fbff 10%,#e1edf9 100%)}
.hero-copy{position:relative;z-index:2;width:61%;padding:clamp(28px,5vw,76px);animation:arrive .65s ease both}
.hero-kicker{color:#5578a5;font-size:11px;font-weight:800;letter-spacing:.2em;margin:0 0 26px}
.hero-copy h2{font-size:clamp(34px,4.6vw,68px);font-weight:780;line-height:1.2;letter-spacing:-.055em;word-break:keep-all;margin:0}
.hero-copy em{font-style:normal;color:#3b68a8}
.hero-description{font-size:clamp(14px,1.35vw,19px);line-height:1.8;color:#61758b;margin:25px 0 30px;word-break:keep-all}
.hero-bottom{margin-top:42px;display:flex;align-items:center;gap:12px;color:#768a9e;font-size:12px;flex-wrap:wrap}
.hero-bottom i{width:3px;height:3px;border-radius:50%;background:#9ab0c7}
.hero-art{position:absolute;inset:0 0 0 48%;overflow:hidden;pointer-events:none}
.hero-orbit{position:absolute;width:88%;aspect-ratio:1;left:9%;top:50%;translate:0 -50%;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fbfdff,#bdd1e6);box-shadow:0 0 0 32px #fff3,0 0 0 70px #fff2}
.hero-pack{position:absolute;width:49%;height:73%;object-fit:contain;top:13%;filter:drop-shadow(12px 28px 16px #2f4e7130)}
.hero-pack-one{left:5%;transform:rotate(-9deg)}.hero-pack-two{left:47%;top:21%;transform:rotate(8deg)}
.is-ending{background:#f5f0e8}.is-ending .hero-art{inset:0;width:100%;z-index:0}.hero-people{width:100%;height:100%;object-fit:cover;object-position:65% center}
.is-ending:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f5f1e9 3%,#f5f1e9ed 30%,#f5f1e966 56%,#f5f1e900 76%);z-index:1;pointer-events:none}
.is-ending .hero-copy{width:64%}.is-ending .hero-kicker{color:#8b806c}.is-ending .hero-description{color:#657069}
@media(max-width:760px){
.hero-mode{padding:16px 14px 8px;gap:12px}.web-hero{border-radius:22px;min-height:100%;align-items:flex-start;flex-direction:column}
.hero-copy,.is-ending .hero-copy{width:100%;padding:28px 24px 20px}.hero-kicker{font-size:9px;margin-bottom:16px}
.hero-copy h2{font-size:clamp(31px,7.6vw,47px);line-height:1.22}.hero-description{font-size:13px;line-height:1.7;margin:17px 0 20px}
.hero-bottom{margin-top:20px;font-size:10px;gap:9px}.hero-art{position:relative;inset:auto;order:2;min-height:190px;height:27svh;width:100%;margin-top:auto}
.hero-orbit{width:62%;top:62%;left:24%}.hero-pack{width:34%;height:100%;top:0}.hero-pack-one{left:24%}.hero-pack-two{left:50%;top:4%}
.is-ending .hero-art{position:relative;inset:auto;min-height:210px;height:31svh}.hero-people{object-position:65% 50%;}
.is-ending:after{background:linear-gradient(180deg,#f5f1e9 0%,#f5f1e900 45%);inset:auto 0 0;height:32svh}
}
@media(max-height:650px) and (min-width:761px){.hero-copy{padding:25px 38px}.hero-copy h2{font-size:40px}.hero-kicker{margin-bottom:15px}.hero-description{margin:15px 0 20px}.hero-bottom{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.hero-copy{animation:none}}
.hero-pack-one{width:62%;left:0;transform:rotate(-6deg)}.hero-pack-two{width:31%;left:61%;top:30%;height:54%;transform:rotate(7deg)}
@media(max-width:760px){.hero-pack-one{width:47%;left:17%;height:100%;top:0}.hero-pack-two{width:22%;left:61%;height:78%;top:15%}}

@media(max-width:760px){.is-ending .hero-art{flex:1;height:auto;min-height:250px;margin-top:24px}}
@media(max-width:760px){
.web-hero:not(.is-ending) .hero-art{flex:1;height:auto;min-height:250px;margin-top:12px}
.web-hero:not(.is-ending) .hero-pack-one{width:64%;left:5%}.web-hero:not(.is-ending) .hero-pack-two{width:29%;left:63%;height:78%;top:15%}
.is-ending:after{display:none}.is-ending .hero-art:before{content:"";position:absolute;inset:0 0 auto;height:70px;background:linear-gradient(180deg,#f5f1e9,transparent);z-index:1;pointer-events:none}
}

/* Shared plan selection and uncropped closing photograph. */
.plan-intro{color:var(--muted);line-height:1.7;word-break:keep-all}
.plan-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.plan-options button{text-align:left;min-height:150px;padding:24px;border-radius:20px;background:white}
.plan-options strong{display:block;font-size:24px;color:var(--blue);margin-bottom:14px}
.plan-options span{display:block;font-size:14px;line-height:1.7;color:var(--muted);word-break:keep-all}
.plan-options button[aria-pressed="true"],.plan-switch button[aria-pressed="true"]{border-color:var(--blue);background:#e6effb}
.plan-switch{display:flex;gap:8px;margin:12px 0}.plan-switch button{flex:1;min-height:44px}
.is-ending{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.is-ending .hero-copy{grid-column:1;grid-row:1;width:100%;padding:clamp(24px,4vw,60px)}
.is-ending .hero-art{position:relative;inset:auto;grid-column:2;grid-row:1;width:100%;height:100%;min-height:280px;display:flex;align-items:center}
.is-ending .hero-people{display:block;width:100%;height:auto;max-height:100%;object-fit:contain;object-position:center top}
.is-ending:after,.is-ending .hero-art:before{display:none}
@media(max-width:760px){
.tools{flex-wrap:wrap;justify-content:flex-end}.brand{flex-shrink:0}.tools button{min-height:40px}
.plan-options{grid-template-columns:1fr}.plan-options button{min-height:110px;padding:20px}
.is-ending{display:flex;flex-direction:column}.is-ending .hero-copy{padding:28px 24px 12px}
.is-ending .hero-art{flex:none;height:auto;min-height:0;margin:12px 0 0;order:2}.is-ending .hero-people{height:auto;max-height:none}
}

/* Simulation stays on the presentation canvas; inputs and results share state. */
.simulation-preview{display:flex;flex-direction:column;gap:8px;padding:12px;user-select:text;overflow:hidden}
.inline-sim-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:13px;flex-shrink:0}
.inline-sim-toolbar button{font-size:12px;padding:7px 12px;min-height:36px}
.simulation-preview .sim-layout{flex:1;min-height:0;grid-template-columns:minmax(290px,.85fr) minmax(0,1.4fr);gap:18px;align-items:stretch}
.simulation-preview .sim-inputs{overflow:auto;padding:4px 10px 10px 2px;overscroll-behavior:contain}
.simulation-preview .sim-results{overflow:auto;min-height:0;padding:4px 8px 10px 0;overscroll-behavior:contain}
.simulation-preview #currentResult{position:sticky;top:0;z-index:1;background:#eff6fc;padding-bottom:8px;border-radius:18px}
.live-tree{height:clamp(180px,32cqh,440px);min-height:0}.live-tree .placement-svg{overflow:hidden}
.simulation-preview .result-card{padding:14px;margin-bottom:8px}.simulation-preview .result-value{font-size:clamp(26px,3cqw,48px)}
.simulation-preview .result-meta{font-size:13px;line-height:1.6;margin:8px 0 0}
.simulation-preview .current-tree{display:none}.simulation-preview .line-panel{padding:10px;margin-bottom:8px}
.simulation-preview .proposal-preview summary{cursor:pointer;min-height:38px;padding:8px 0}
@media(max-width:650px){
.simulation-preview{padding:8px}.simulation-preview .sim-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(130px,1fr) minmax(180px,1.25fr);gap:8px}
.simulation-preview .sim-inputs{grid-row:2;border-top:1px solid var(--line);padding-top:8px}
.simulation-preview .sim-results{grid-row:1;border:0;padding:0;display:flex;flex-direction:column}
.simulation-preview #currentResult{position:static;display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center;padding:0}
.simulation-preview .live-tree{height:170px}.simulation-preview .result-card{padding:8px;margin:0}.simulation-preview .result-label{font-size:10px;margin-bottom:4px}
.simulation-preview .result-value{font-size:24px}.simulation-preview .result-meta{font-size:10px;line-height:1.4;margin:4px 0 0}
.simulation-preview #suggestionResult,.simulation-preview #shopResults,.simulation-preview .assumptions{margin-top:10px}
.inline-sim-toolbar{font-size:11px}.inline-sim-toolbar button{font-size:10px}.simulation-preview .field-grid{gap:8px}
}
/* Fullscreen presentation scales the entire hierarchy for a TV, beyond browser chrome. */
:root.presentation .app{max-width:none;width:100%;height:100dvh;padding:1.8vh 2.2vw 1vh;gap:1.3vh}
:root.presentation h1{font-size:clamp(32px,4.8vh,104px)}
:root.presentation .eyebrow{font-size:clamp(14px,1.7vh,36px);margin-bottom:.7vh}
:root.presentation .brand{font-size:clamp(13px,1.6vh,34px)}
:root.presentation .brand span{font-size:clamp(12px,1.5vh,32px)}
:root.presentation .tools button,:root.presentation .navigation>button{font-size:clamp(16px,2.1vh,46px);min-height:5vh;padding:.8vh 1.2vw}
:root.presentation .caption{min-height:0;gap:.3vh}
:root.presentation .caption p{max-width:none;font-size:clamp(24px,3.2vh,70px);line-height:1.3}
:root.presentation .caption-actions button{font-size:clamp(14px,1.7vh,36px);min-height:3vh}
:root.presentation #counter{font-size:clamp(14px,1.7vh,36px)}
:root.presentation footer{font-size:clamp(10px,1.2vh,26px)}
:root.presentation .hero-copy h2{font-size:clamp(42px,7.6vh,164px)}
:root.presentation .hero-description{font-size:clamp(20px,2.7vh,58px)}
:root.presentation .hero-kicker,:root.presentation .hero-bottom{font-size:clamp(14px,1.8vh,40px)}
:root.presentation .simulation-preview label,:root.presentation .simulation-preview .field-label,:root.presentation .inline-sim-toolbar{font-size:clamp(17px,2vh,44px)}
:root.presentation .simulation-preview input,:root.presentation .simulation-preview select{font-size:clamp(22px,2.6vh,56px);min-height:5vh}
:root.presentation .simulation-preview .result-value{font-size:clamp(32px,4.5vh,96px)}
:root.presentation .simulation-preview .result-meta{font-size:clamp(16px,2vh,44px)}
:root.presentation .simulation-preview .result-label,:root.presentation .simulation-preview .line-head h3,:root.presentation .simulation-preview .consumer-row label{font-size:clamp(14px,1.8vh,40px)}
:root.presentation .simulation-preview .sim-layout{grid-template-columns:minmax(360px,.9fr) minmax(0,1.4fr)}
@media(max-width:650px){:root.presentation .simulation-preview .sim-layout{grid-template-columns:minmax(0,1fr)}:root.presentation h1{font-size:30px}:root.presentation .caption p{font-size:22px}}

/* Keep the four consumer lines and the live tree readable together. */
.simulation-preview .live-tree{height:58cqh;min-height:210px}
.simulation-preview .result-meta{line-height:1.4}.simulation-preview .result-card{padding:10px}
.simulation-preview:not(.advanced-inputs) .check,.simulation-preview:not(.advanced-inputs) .cost-field,.simulation-preview:not(.advanced-inputs) .cost-field+.fineprint,.simulation-preview:not(.advanced-inputs) .count-actions,.simulation-preview:not(.advanced-inputs) .add-group,.simulation-preview:not(.advanced-inputs) .consumer-row>button,.simulation-preview:not(.advanced-inputs) .line-head small{display:none}
.simulation-preview:not(.advanced-inputs) .line-panel{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;align-items:center;padding:8px}
.simulation-preview:not(.advanced-inputs) .line-head{margin:0}.simulation-preview:not(.advanced-inputs) .line-head h3{font-size:13px}
.simulation-preview:not(.advanced-inputs) .consumer-row{grid-template-columns:1fr 1fr;gap:8px;margin:0}
.simulation-preview:not(.advanced-inputs) .consumer-row input{min-height:38px;padding:6px 9px;margin-top:2px}
.simulation-preview .field-label{margin:12px 0 8px}.inline-sim-toolbar span{margin-right:auto}
:root.presentation .simulation-preview:not(.advanced-inputs) .line-panel{grid-template-columns:7.5vw minmax(0,1fr)}
:root.presentation .simulation-preview:not(.advanced-inputs) .line-head h3{font-size:clamp(16px,2vh,44px)}
:root.presentation .simulation-preview .field-label>span,:root.presentation .simulation-preview label>span{font-size:clamp(12px,1.5vh,32px)}
@media(max-width:650px){.simulation-preview .live-tree{height:170px;min-height:0}.simulation-preview:not(.advanced-inputs) .line-panel{grid-template-columns:88px minmax(0,1fr)}.simulation-preview .field-label>span{font-size:10px}}

#fullBtn{display:inline-flex;align-items:center;justify-content:center}
:root.presentation .heading{padding:0}:root.presentation .hero-mode{grid-template-rows:auto minmax(0,1fr) auto auto}

.app.simulation-mode{grid-template-rows:auto auto minmax(0,1fr) auto auto}
.simulation-mode>.caption{display:none}
:root.presentation .simulation-mode .live-tree{height:calc(100cqh - 250px);min-height:240px;max-height:68cqh}
:root.presentation .simulation-preview .result-meta{font-size:clamp(16px,1.8vh,40px)}
:root.presentation .simulation-preview:not(.advanced-inputs) .consumer-row input{min-height:4.5vh;font-size:clamp(20px,2.4vh,52px)}
@media(max-width:650px){:root.presentation .simulation-mode .live-tree{height:170px;min-height:0;max-height:none}}

/* The same hierarchy distinguishes explanation, formula and calculated output. */
.calculation-breakdown{display:grid;gap:6px}.calculation-breakdown>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 8px;border-radius:7px;background:#f1f5f9}
.calculation-breakdown dt{color:#5a6d83;font-size:.88em;line-height:1.4}.calculation-breakdown dd{margin:0;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;color:#294f8b}
.calculation-breakdown strong{font-weight:800}.calculation-breakdown .surplus{color:#176747}.calculation-breakdown .shortfall{color:#865124}
@media(max-width:650px){.calculation-breakdown>div{display:block;padding:3px 5px}.calculation-breakdown dd{text-align:left;white-space:normal}:root.presentation .simulation-preview .result-meta{font-size:11px}:root.presentation .simulation-preview label{font-size:13px}:root.presentation .simulation-preview input,:root.presentation .simulation-preview select{font-size:18px;min-height:40px}}


#weeklyScene{--navy:#182239;--teal:#1d7186;--paper:#f8f5ef;--muted:#69777d;--mint:#72baa7;--coral:#d6a38e;--glass:linear-gradient(145deg,#ffffffb8,#ffffff55);--line:#ffffffd9;--shadow:0 20px 60px #52493409,inset 0 1px 0 #fff;--sans:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo",sans-serif;color:var(--navy);font-family:var(--sans);font-synthesis:none}
#weeklyScene *{box-sizing:border-box}#weeklyScene button{font:inherit;color:inherit;cursor:pointer}#weeklyScene button:focus-visible{outline:3px solid #238aa0;outline-offset:4px}#weeklyScene button:active{transform:translateY(1px)}
#weeklyScene .app{width:100%;max-width:1660px;height:100svh;min-height:760px;margin:auto;padding:26px 44px 18px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:25px}
#weeklyScene .header{display:flex;align-items:center;justify-content:space-between;gap:20px}#weeklyScene .dual-logo{display:inline-flex;align-items:center;height:54px;border:1px solid #fffd;border-radius:999px;background:linear-gradient(145deg,#ffffffbf,#ffffff65);box-shadow:inset 0 1px 0 #fff,0 8px 24px #18223906;backdrop-filter:blur(18px)}#weeklyScene .dayfit{padding:0 19px 4px 21px;font-size:27px;font-weight:550;letter-spacing:-1.5px;border-right:1px solid #18223916;line-height:1.45}#weeklyScene .dayfit b{font-weight:inherit;background:linear-gradient(90deg,#2f4f9a,#4f70bc);background-clip:text;-webkit-background-clip:text;color:transparent}#weeklyScene .dayfit i{display:inline-block;width:5px;height:8px;margin-left:3px;border-radius:50%;background:#b8282a;vertical-align:baseline}#weeklyScene .dual-logo img{display:block;width:137px;height:43px;padding:6px 17px;object-fit:contain}#weeklyScene .header-title{font-size:11px;letter-spacing:.19em;color:#7c8281;margin-left:24px}#weeklyScene .brand-wrap{display:flex;align-items:center}#weeklyScene .tools{display:flex;gap:9px}#weeklyScene .tools button{min-width:46px;min-height:46px;border:1px solid #fffe;border-radius:50%;background:#ffffff80;box-shadow:inset 0 1px 0 #fff;backdrop-filter:blur(16px);font-size:21px}#weeklyScene .tools button:hover{background:#fff}
#weeklyScene .heading{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:3px 2px 0}#weeklyScene .eyebrow{display:flex;align-items:center;gap:11px;margin:0 0 13px;font-size:11px;color:var(--teal);font-weight:700;letter-spacing:.1em}#weeklyScene .eyebrow .no{font-size:12px;letter-spacing:.02em}#weeklyScene .eyebrow i{width:21px;height:1px;background:#1d718666}#weeklyScene .eyebrow .step{color:#8a8f8c;letter-spacing:.06em}#weeklyScene h1{font-size:clamp(32px,3.6vw,53px);line-height:1.14;font-weight:550;letter-spacing:-.065em;margin:0}#weeklyScene .heading>p{max-width:280px;font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 4px;word-break:keep-all}
#weeklyScene .content{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:25px;min-height:0}#weeklyScene .glass{position:relative;border:1px solid var(--line);background:var(--glass);box-shadow:var(--shadow);backdrop-filter:blur(28px) saturate(115%);-webkit-backdrop-filter:blur(28px) saturate(115%);border-radius:32px;isolation:isolate}#weeklyScene .glass:before{content:"";pointer-events:none;position:absolute;inset:0;border-radius:inherit;background:linear-gradient(130deg,#fff5,transparent 40%,#fff2);z-index:-1}
#weeklyScene .graph-panel{display:flex;flex-direction:column;align-items:center;padding:23px 24px 18px;min-height:0;overflow:hidden}#weeklyScene .panel-label{align-self:flex-start;display:flex;align-items:center;gap:9px;font-size:11px;color:#74827c;letter-spacing:.08em}#weeklyScene .panel-label:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 4px #75bca715}#weeklyScene .diagram{container-type:inline-size;position:relative;flex:1;min-height:0;width:min(100%,480px);aspect-ratio:1;max-height:490px}#weeklyScene .connections{position:absolute;inset:0;width:100%;height:100%;overflow:visible}#weeklyScene .connections .under{stroke:#fff9;stroke-width:9}#weeklyScene .connections .route{fill:none;stroke-width:3;stroke-linecap:round}#weeklyScene .connections .left{stroke:#8ab8aa}#weeklyScene .connections .right{stroke:#c6aa99}#weeklyScene .connections .pulse{stroke-dasharray:7 16;stroke-width:6;opacity:0}#weeklyScene .diagram.running .pulse{opacity:.85;animation:travel .85s linear infinite}@keyframes travel{to{stroke-dashoffset:-46}}
#weeklyScene .bc{position:absolute;border-radius:19px;box-shadow:inset 0 1px 0 #fff9,0 5px 0 #94a6a93b,0 15px 28px #324c5b12}#weeklyScene .main-bc{left:27%;top:5%;width:46%;height:48%;border:1px solid #b1c4e8;background:linear-gradient(135deg,#6888c6c9,#3c5f9ee6 60%,#33518ce6);box-shadow:inset 1px 2px 0 #ffffff8c,inset -1px -1px 0 #213c6940,0 6px 0 #30487f55,0 24px 36px #3143691b;color:white;backdrop-filter:blur(18px)}#weeklyScene .main-bc:after{content:"";position:absolute;inset:6px;border-radius:14px;border:1px solid #ffffff28;pointer-events:none}#weeklyScene .owner{position:absolute;top:9%;left:0;width:100%;text-align:center;font-size:clamp(10px,2.5cqw,14px);font-weight:450;color:#f2f6ffba}#weeklyScene .bc-name{position:absolute;left:0;top:30%;width:100%;font-size:clamp(27px,8.2cqw,46px);font-weight:700;letter-spacing:-.06em;text-align:center;line-height:1.1}#weeklyScene .gauge{position:absolute;top:22%;height:36%;width:15%;border-radius:9px;background:#cce2d58c;border:1px solid #ffffff80;box-shadow:inset 2px 1px 0 #fff3;overflow:hidden}#weeklyScene .gauge.left{left:12%}#weeklyScene .gauge.right{right:12%;background:#e8c9b78c}#weeklyScene .gauge span{position:absolute;inset:auto 0 0;height:0;background:linear-gradient(#b0e6cc,#63ba9f);border-radius:6px;transition:height .6s ease}#weeklyScene .gauge.right span{background:linear-gradient(#f2d0b8,#dba083)}#weeklyScene .score{position:absolute;bottom:7%;width:35%;height:23%;padding:4px 2px;border:1px solid #ffffff2e;border-radius:9px;background:#ffffff1b;display:flex;flex-direction:column;align-items:center;justify-content:center}#weeklyScene .score.left{left:8%}#weeklyScene .score.right{right:8%}#weeklyScene .score strong{font-size:clamp(19px,5.5cqw,31px);line-height:1;font-weight:650;font-variant-numeric:tabular-nums}#weeklyScene .score small{font-size:clamp(8px,1.9cqw,11px);color:#e8eff6;line-height:1.3;margin-top:2px}
#weeklyScene .child-bc{top:72%;width:25%;height:25%;border:1px solid #ffffffe6;background:linear-gradient(140deg,#ffffffcf,#f7f3eb99);backdrop-filter:blur(16px)}#weeklyScene .child-bc.a{left:5%}#weeklyScene .child-bc.b{right:5%}#weeklyScene .child-bc .bc-name{top:31%;font-size:clamp(23px,6.5cqw,35px);font-weight:600;color:var(--navy)}#weeklyScene .child-bc .gauge{top:20%;height:54%;width:14%;background:#b3d0c8a6}#weeklyScene .child-bc .gauge.right{background:#d8bdafa6}#weeklyScene .graph-bottom{display:flex;align-items:center;gap:8px;padding:9px 17px;background:#ffffff71;border:1px solid #fffd;border-radius:999px;color:#647c72;font-size:11px;min-height:35px}#weeklyScene .graph-bottom span:first-child{width:5px;height:5px;background:#78ad98;border-radius:50%}
#weeklyScene .ledger{padding:26px 29px 22px;display:flex;flex-direction:column;min-height:0}#weeklyScene .ledger-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}#weeklyScene .ledger-top h2{font-size:15px;letter-spacing:-.025em;margin:0;font-weight:600}#weeklyScene .ledger-top span{font-size:10px;color:#7b8683;letter-spacing:.08em}#weeklyScene .week-table{width:100%;border-collapse:separate;border-spacing:0 5px;table-layout:fixed;font-variant-numeric:tabular-nums}#weeklyScene .week-table th{text-align:right;font-size:11px;font-weight:500;color:#7a8682;padding:0 13px 8px}#weeklyScene .week-table th:first-child{text-align:left;width:19%}#weeklyScene .week-table th small{font-size:9px;margin-left:2px}#weeklyScene .week-table td{padding:14px 13px;text-align:right;background:#ffffff54;border-top:1px solid #ffffffde;border-bottom:1px solid #ffffff7a;transition:background .35s,opacity .35s;font-size:19px;font-weight:500;color:#53656d}#weeklyScene .week-table td:first-child{text-align:left;border-left:1px solid #ffffffbb;border-radius:13px 0 0 13px;font-size:13px;color:#64716d;font-weight:500}#weeklyScene .week-table td:last-child{border-right:1px solid #ffffffbb;border-radius:0 13px 13px 0;color:#829085}#weeklyScene .week-table td.cp{color:#274b6b;font-weight:650}#weeklyScene .week-table tbody tr.active td{background:#dcece6ad;border-color:#ffffff}#weeklyScene .week-table tbody tr.waiting{opacity:.35}#weeklyScene .week-table small{font-size:10px;font-weight:450;opacity:.72;margin-left:3px}
#weeklyScene .total{margin-top:auto;padding-top:20px;display:grid;grid-template-columns:.7fr 1.3fr;gap:17px;align-items:center}#weeklyScene .total-cp{padding:4px 0 4px 7px}#weeklyScene .total-cp>span{display:block;font-size:11px;color:#6d7d76;margin-bottom:8px}#weeklyScene .total-cp strong{font-weight:550;font-size:clamp(31px,3.3vw,48px);letter-spacing:-.055em;font-variant-numeric:tabular-nums;line-height:1}#weeklyScene .total-cp small{font-size:14px;letter-spacing:0;margin-left:5px;color:#6c7c79;font-weight:450}#weeklyScene .money{padding:18px 21px;border:1px solid #ffffffeb;border-radius:21px;background:linear-gradient(115deg,#f7fbefbb,#f4edddbf);box-shadow:inset 0 1px 0 #fff,0 8px 24px #81755b05}#weeklyScene .money>span{display:block;font-size:11px;color:#667970;margin-bottom:7px}#weeklyScene .money strong{font-size:clamp(32px,3.4vw,50px);font-weight:550;letter-spacing:-.055em;color:#294f44;font-variant-numeric:tabular-nums;white-space:nowrap}#weeklyScene .money small{font-size:15px;font-weight:450;letter-spacing:0;margin-left:3px}#weeklyScene .money em{font-size:11px;vertical-align:middle;font-style:normal;font-weight:400;margin-right:6px;color:#7a887f}#weeklyScene .rate{font-size:10px;color:#8b928a;text-align:right;margin:11px 2px 0}#weeklyScene .summary-copy{margin:17px 0 0;padding-top:16px;border-top:1px solid #1822390b;font-size:12px;line-height:1.7;color:#6b7977;word-break:keep-all}#weeklyScene .summary-copy b{font-weight:550;color:#3d5a58}
#weeklyScene .footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 3px}#weeklyScene .footer-left{display:flex;align-items:center;gap:16px}#weeklyScene .replay{display:flex;align-items:center;gap:9px;padding:11px 19px;min-height:44px;border:1px solid #fff;border-radius:999px;background:#ffffff91;box-shadow:inset 0 1px 0 #fff,0 6px 15px #18223905;font-size:12px}#weeklyScene .replay:hover{background:#fff}#weeklyScene .replay svg{width:15px;height:15px;stroke:var(--teal)}#weeklyScene .footer-note{font-size:10px;line-height:1.6;color:#8c938e;max-width:560px}#weeklyScene .footer-right{display:flex;align-items:center;gap:28px}#weeklyScene .page-count{font-size:11px;color:#89938e;font-variant-numeric:tabular-nums}#weeklyScene .page-count b{color:#4f6e66;font-weight:500}
.presentation #weeklyScene .app{max-width:none;padding:2.3vh 3vw 1.6vh;gap:2.6vh}.presentation #weeklyScene h1{font-size:5.2vh}.presentation #weeklyScene .heading>p{font-size:1.8vh;max-width:25vw}.presentation #weeklyScene .diagram{max-height:none}.presentation #weeklyScene .ledger-top h2{font-size:2vh}.presentation #weeklyScene .week-table td{font-size:2.5vh;padding:1.8vh 13px}.presentation #weeklyScene .week-table td:first-child{font-size:1.7vh}.presentation #weeklyScene .week-table th{font-size:1.4vh}.presentation #weeklyScene .total-cp strong,.presentation #weeklyScene .money strong{font-size:5.3vh}.presentation #weeklyScene .graph-bottom,.presentation #weeklyScene .summary-copy{font-size:1.5vh}.presentation #weeklyScene .ledger-top span,.presentation #weeklyScene .rate{font-size:1.2vh}
@media(min-width:1700px){#weeklyScene .app{padding-top:35px;padding-bottom:26px;gap:32px}#weeklyScene .ledger{padding:32px 38px}#weeklyScene .week-table td{padding-block:19px;font-size:24px}#weeklyScene .week-table td:first-child{font-size:15px}#weeklyScene .diagram{max-height:570px}}
@media(max-height:820px) and (min-width:761px){#weeklyScene .app{min-height:650px;padding-top:18px;gap:18px}#weeklyScene .ledger{padding:20px 24px}#weeklyScene .week-table td{padding-block:10px}#weeklyScene .ledger-top{margin-bottom:10px}#weeklyScene .total{padding-top:12px}#weeklyScene .money{padding:14px 17px}#weeklyScene .summary-copy{margin-top:12px;padding-top:10px}#weeklyScene .graph-panel{padding:19px 20px 14px}#weeklyScene .heading>p{font-size:13px}}
@media(max-width:760px){#weeklyScene .app,.presentation #weeklyScene .app{height:auto;min-height:100svh;padding:18px 17px 22px;gap:22px}#weeklyScene .header{gap:10px}#weeklyScene .dual-logo{height:44px}#weeklyScene .dayfit{font-size:23px;padding:0 13px 3px 15px}#weeklyScene .dual-logo img{width:118px;height:37px;padding:5px 13px}#weeklyScene .header-title{display:none}#weeklyScene .tools button{min-height:40px;min-width:40px;font-size:19px}#weeklyScene .heading{display:block;padding-inline:2px}#weeklyScene .eyebrow{font-size:10px;margin-bottom:12px}#weeklyScene h1,.presentation #weeklyScene h1{font-size:clamp(29px,7.7vw,44px);line-height:1.25}#weeklyScene .heading>p,.presentation #weeklyScene .heading>p{font-size:12px;margin:13px 0 0;max-width:none}#weeklyScene .heading>p br{display:none}#weeklyScene .content{grid-template-columns:1fr;gap:17px}#weeklyScene .graph-panel{padding:17px 18px 15px}#weeklyScene .panel-label{font-size:10px}#weeklyScene .diagram,.presentation #weeklyScene .diagram{width:min(100%,370px);height:370px;flex:none;max-height:none}#weeklyScene .graph-bottom,.presentation #weeklyScene .graph-bottom{font-size:10px;min-height:31px;padding:7px 14px}#weeklyScene .glass{border-radius:26px}#weeklyScene .ledger{padding:22px 18px}#weeklyScene .ledger-top{margin-bottom:13px}#weeklyScene .ledger-top h2,.presentation #weeklyScene .ledger-top h2{font-size:14px}#weeklyScene .ledger-top span,.presentation #weeklyScene .ledger-top span{font-size:9px}#weeklyScene .week-table th,.presentation #weeklyScene .week-table th{font-size:10px;padding:0 8px 7px}#weeklyScene .week-table td,.presentation #weeklyScene .week-table td{font-size:19px;padding:13px 8px}#weeklyScene .week-table td:first-child,.presentation #weeklyScene .week-table td:first-child{font-size:12px}#weeklyScene .week-table small{font-size:9px;margin-left:2px}#weeklyScene .total{gap:10px;padding-top:16px;grid-template-columns:.65fr 1.35fr}#weeklyScene .total-cp{padding-left:3px}#weeklyScene .total-cp>span{font-size:10px}#weeklyScene .total-cp strong,.presentation #weeklyScene .total-cp strong{font-size:34px}#weeklyScene .total-cp small{font-size:12px}#weeklyScene .money{padding:17px 13px;border-radius:17px}#weeklyScene .money>span{font-size:10px}#weeklyScene .money strong,.presentation #weeklyScene .money strong{font-size:34px}#weeklyScene .money small{font-size:12px}#weeklyScene .money em{font-size:10px;margin-right:3px}#weeklyScene .rate,.presentation #weeklyScene .rate{font-size:9px}#weeklyScene .summary-copy,.presentation #weeklyScene .summary-copy{font-size:11px}#weeklyScene .footer{align-items:flex-start;gap:12px}#weeklyScene .footer-left{flex-direction:column;align-items:flex-start;gap:12px}#weeklyScene .footer-note{font-size:9px;max-width:235px}#weeklyScene .footer-right{flex-direction:column;align-items:flex-end;gap:22px;padding-top:12px}#weeklyScene .page-count{font-size:10px}}
@media(max-width:375px){#weeklyScene .diagram,.presentation #weeklyScene .diagram{height:335px}#weeklyScene .total-cp strong,.presentation #weeklyScene .total-cp strong{font-size:30px}#weeklyScene .money strong,.presentation #weeklyScene .money strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){#weeklyScene *,#weeklyScene *:before,#weeklyScene *:after{animation:none!important;transition:none!important}}

/* Presentation reading scale: labels, formulas and numbers are legible at a distance. */
@media(min-width:761px){
#weeklyScene .app,.presentation #weeklyScene .app{gap:20px;padding:22px 36px 16px;min-height:860px}
#weeklyScene .heading{gap:20px}#weeklyScene .heading h1,.presentation #weeklyScene h1{font-size:clamp(42px,5.8vh,78px)}
#weeklyScene .heading>p,.presentation #weeklyScene .heading>p{font-size:clamp(18px,2vh,28px);line-height:1.6;max-width:360px}
#weeklyScene .eyebrow,#weeklyScene .eyebrow .no{font-size:clamp(13px,1.5vh,22px)}#weeklyScene .header-title{font-size:13px}
#weeklyScene .content{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:22px}
#weeklyScene .graph-panel{padding:20px 22px 16px}#weeklyScene .panel-label{font-size:clamp(16px,1.8vh,26px);letter-spacing:.03em}
#weeklyScene .graph-bottom,.presentation #weeklyScene .graph-bottom{font-size:clamp(16px,1.8vh,26px);line-height:1.4;padding:10px 15px}
#weeklyScene .owner{font-size:clamp(14px,3.4cqw,20px)}#weeklyScene .bc-name{font-size:clamp(34px,9.4cqw,54px)}
#weeklyScene .score strong{font-size:clamp(25px,6.6cqw,39px)}#weeklyScene .score small{font-size:clamp(11px,2.7cqw,16px)}
#weeklyScene .child-bc .bc-name{font-size:clamp(28px,8cqw,45px)}
#weeklyScene .ledger{padding:22px 24px 18px}#weeklyScene .ledger-top{margin-bottom:12px}
#weeklyScene .ledger-top h2,.presentation #weeklyScene .ledger-top h2{font-size:clamp(21px,2.4vh,34px)}
#weeklyScene .ledger-top span,.presentation #weeklyScene .ledger-top span{font-size:clamp(12px,1.4vh,20px);letter-spacing:.04em}
#weeklyScene .week-table{border-spacing:0 4px}#weeklyScene .week-table th,.presentation #weeklyScene .week-table th{font-size:clamp(16px,1.8vh,26px);padding:0 10px 8px}
#weeklyScene .week-table th small{font-size:.8em}#weeklyScene .week-table td,.presentation #weeklyScene .week-table td{font-size:clamp(28px,3.2vh,46px);padding:10px 10px;line-height:1.25}
#weeklyScene .week-table td:first-child,.presentation #weeklyScene .week-table td:first-child{font-size:clamp(20px,2.3vh,33px);font-weight:550}
#weeklyScene .total{padding-top:15px;gap:15px;grid-template-columns:.65fr 1.35fr}
#weeklyScene .total-cp>span,#weeklyScene .money>span{font-size:clamp(17px,1.9vh,28px);line-height:1.4;margin-bottom:7px}
#weeklyScene .total-cp strong,.presentation #weeklyScene .total-cp strong,#weeklyScene .money strong,.presentation #weeklyScene .money strong{font-size:clamp(53px,6vh,86px);line-height:1.1;font-weight:600}
#weeklyScene .total-cp small,#weeklyScene .money small{font-size:clamp(21px,2.3vh,33px)}#weeklyScene .money em{font-size:clamp(16px,1.8vh,26px)}
#weeklyScene .money{padding:15px 18px}#weeklyScene .rate,.presentation #weeklyScene .rate{font-size:clamp(13px,1.5vh,21px);margin-top:9px}
#weeklyScene .summary-copy,.presentation #weeklyScene .summary-copy{font-size:clamp(17px,1.9vh,27px);line-height:1.6;margin-top:12px;padding-top:12px}
#weeklyScene .replay{font-size:clamp(16px,1.8vh,26px);min-height:47px;padding:11px 20px}#weeklyScene .replay svg{width:20px;height:20px}
#weeklyScene .footer-note{font-size:clamp(11px,1.25vh,18px);max-width:700px}#weeklyScene .page-count{font-size:clamp(14px,1.6vh,23px)}
}
@media(max-height:820px) and (min-width:761px){
#weeklyScene .app,.presentation #weeklyScene .app{min-height:710px;padding-block:14px;gap:12px}
#weeklyScene .heading h1,.presentation #weeklyScene h1{font-size:40px}#weeklyScene .heading>p,.presentation #weeklyScene .heading>p{font-size:17px}
#weeklyScene .ledger{padding:17px 21px}#weeklyScene .ledger-top{margin-bottom:7px}#weeklyScene .week-table td,.presentation #weeklyScene .week-table td{padding-block:7px;font-size:26px}
#weeklyScene .ledger-top h2,.presentation #weeklyScene .ledger-top h2{font-size:20px}#weeklyScene .total{padding-top:10px}#weeklyScene .money{padding:11px 15px}
#weeklyScene .total-cp strong,.presentation #weeklyScene .total-cp strong,#weeklyScene .money strong,.presentation #weeklyScene .money strong{font-size:48px}
#weeklyScene .summary-copy,.presentation #weeklyScene .summary-copy{font-size:16px;line-height:1.45;padding-top:8px;margin-top:9px}
}
@media(max-width:760px){
#weeklyScene .eyebrow{font-size:12px}#weeklyScene .eyebrow .no{font-size:13px}#weeklyScene .heading>p,.presentation #weeklyScene .heading>p{font-size:16px;line-height:1.6}
#weeklyScene .panel-label{font-size:14px}#weeklyScene .graph-bottom,.presentation #weeklyScene .graph-bottom{font-size:14px;padding:9px 14px}
#weeklyScene .owner{font-size:14px}#weeklyScene .score strong{font-size:26px}#weeklyScene .score small{font-size:11px}
#weeklyScene .ledger-top h2,.presentation #weeklyScene .ledger-top h2{font-size:20px}#weeklyScene .ledger-top span,.presentation #weeklyScene .ledger-top span{font-size:11px}
#weeklyScene .week-table th,.presentation #weeklyScene .week-table th{font-size:13px;padding-inline:5px}#weeklyScene .week-table th small{font-size:10px}
#weeklyScene .week-table td,.presentation #weeklyScene .week-table td{font-size:25px;padding:13px 6px}#weeklyScene .week-table td:first-child,.presentation #weeklyScene .week-table td:first-child{font-size:17px}
#weeklyScene .total{grid-template-columns:1fr;gap:13px;padding-top:20px}#weeklyScene .total-cp{display:flex;align-items:center;justify-content:space-between;padding:0 5px}
#weeklyScene .total-cp>span,#weeklyScene .money>span{font-size:16px;margin-bottom:4px}#weeklyScene .total-cp strong,.presentation #weeklyScene .total-cp strong{font-size:45px}
#weeklyScene .money{padding:20px}#weeklyScene .money strong,.presentation #weeklyScene .money strong{font-size:clamp(42px,12vw,56px)}
#weeklyScene .total-cp small,#weeklyScene .money small{font-size:20px}#weeklyScene .money em{font-size:15px}#weeklyScene .rate,.presentation #weeklyScene .rate{font-size:12px;line-height:1.6}
#weeklyScene .summary-copy,.presentation #weeklyScene .summary-copy{font-size:16px;line-height:1.6}#weeklyScene .replay{font-size:15px;padding:13px 18px}#weeklyScene .footer-note{font-size:11px}#weeklyScene .page-count{font-size:13px}
}


/* Table headings share the presentation reading scale. */
@media(min-width:761px){
#weeklyScene .ledger-top h2,.presentation #weeklyScene .ledger-top h2{font-size:clamp(25px,2.9vh,40px)}
#weeklyScene .week-table th,.presentation #weeklyScene .week-table th{font-size:clamp(22px,2.4vh,34px);font-weight:600;color:#53696b;padding-bottom:11px}
#weeklyScene .week-table th small{font-size:.76em;color:#71827d}
}
@media(max-width:760px){
#weeklyScene .ledger-top h2,.presentation #weeklyScene .ledger-top h2{font-size:23px}
#weeklyScene .week-table th,.presentation #weeklyScene .week-table th{font-size:17px;font-weight:600;color:#53696b;padding-bottom:10px}
#weeklyScene .week-table th small{display:block;font-size:12px;line-height:1.3;margin:3px 0 0}
}

/* Retain large type on 720p displays by tightening spacing, not shrinking text. */
@media(max-height:820px) and (min-width:761px){
#weeklyScene .app,.presentation #weeklyScene .app{gap:10px}#weeklyScene .dual-logo{height:46px}#weeklyScene .eyebrow{margin-bottom:9px}
#weeklyScene .ledger{padding:16px 21px}#weeklyScene .ledger-top{margin-bottom:5px}
#weeklyScene .week-table td,.presentation #weeklyScene .week-table td{padding-block:3px;line-height:1.12}
#weeklyScene .week-table th,.presentation #weeklyScene .week-table th{padding-bottom:8px}
#weeklyScene .total{padding-top:8px}#weeklyScene .summary-copy,.presentation #weeklyScene .summary-copy{margin-top:8px;padding-top:6px}
}

/* Subtle row and column separation retains the glass surface. */
#weeklyScene .week-table th{border-bottom:1px solid #31544f22}
#weeklyScene .week-table th+th,#weeklyScene .week-table td+td{border-left:1px solid #3c5a4d14}
#weeklyScene .week-table td{border-bottom-color:#456b5e18}
#weeklyScene .week-table tbody tr:nth-child(even) td{background:#dce8e333}
#weeklyScene .week-table tbody tr.active td{background:#dcece6b3;border-bottom-color:#83ac9955}

/* Approved Seed Glass presentation shell. */
:root{--ink:#182239;--muted:#63766f;--blue:#315a8b;--paper:#f8f5ef;--line:#d3dfd8;--green:#285b49}
body{background:#f8f5ef;color:var(--ink)}body:before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 10% 23%,#c6ded79c,transparent 40%),radial-gradient(ellipse at 82% 85%,#e5d5bbb3,transparent 45%),linear-gradient(140deg,#f8faf6,#f8f5ef)}
.app{max-width:1740px;padding:20px 34px 12px;gap:13px}.brand{display:flex;align-items:center;gap:16px;letter-spacing:0}.dual-logo{display:flex;align-items:center;height:50px;border:1px solid #fffe;border-radius:999px;background:linear-gradient(145deg,#ffffffbf,#ffffff65);box-shadow:inset 0 1px 0 #fff,0 8px 24px #18223906;backdrop-filter:blur(18px);text-decoration:none;color:#182239}.dayfit-word{padding:0 17px 3px 19px;font-size:25px;font-weight:550;letter-spacing:-1.5px;line-height:1.4;border-right:1px solid #18223916}.dayfit-word b{font-weight:inherit;background:linear-gradient(90deg,#2f4f9a,#4f70bc);background-clip:text;-webkit-background-clip:text;color:transparent}.dayfit-word i{display:inline-block;width:5px;height:8px;margin-left:3px;border-radius:50%;background:#b8282a}.dual-logo img{width:132px;height:41px;padding:6px 16px;object-fit:contain}.brand small{font-size:13px;color:#687c75;font-weight:500}
button{border-color:#ffffffed;background:#ffffff91;box-shadow:inset 0 1px 0 #fff,0 5px 15px #18223905;border-radius:999px;backdrop-filter:blur(12px)}button:hover{background:#fff}.primary{background:#243e43;color:#fff;border-color:#314e52}.primary:hover{background:#365a5e}.tools{flex-wrap:wrap;justify-content:flex-end;gap:7px}.tools button{font-size:14px;min-height:44px}.heading{padding:0 2px}.eyebrow{color:#426e68;font-size:13px;letter-spacing:.06em;margin-bottom:9px}h1{font-size:clamp(30px,3.2vw,48px);font-weight:600;letter-spacing:-.05em}.stage{background:linear-gradient(145deg,#ffffffa8,#ffffff4a);border-color:#ffffffe8;box-shadow:inset 0 1px 0 #fff,0 20px 60px #52493409;backdrop-filter:blur(24px) saturate(112%);border-radius:30px}.caption{min-height:0;gap:5px}.caption p{font-size:clamp(19px,1.8vw,27px);max-width:1440px;font-weight:550;color:#284b46}.caption-actions button{font-size:13px;min-height:32px}.navigation{gap:20px}.navigation>button{font-size:16px;min-height:46px}.navigation #progress{background:#cfdbd4}.navigation #fill{background:#5f9c8a}footer{font-size:11px;color:#819087}
dialog{background:linear-gradient(140deg,#f9fcf7f5,#f8f4eafa);border:1px solid #fffe;box-shadow:inset 0 1px 0 #fff,0 30px 90px #263f3c25;backdrop-filter:blur(30px);font-size:18px}dialog::backdrop{background:#172f2a66}.plan-options button[aria-pressed="true"],.plan-switch button[aria-pressed="true"]{background:#e1ece5;border-color:#83b3a1}.chapter-list button{font-size:16px;background:#ffffff80}.chapter-list button[aria-current]{background:#dcebe3;border-color:#82af9c}.detail-text{font-size:20px}.fineprint{font-size:13px}
.hero-mode .stage{border-radius:30px;background:linear-gradient(125deg,#fff9,#e3efeb88)}.web-hero{background:transparent;min-height:100%}.hero-copy h2{font-weight:600}.hero-copy em{color:#315a70}.hero-description{color:#657b73}.is-ending{background:#f4eee4}.is-ending .hero-art{background:#f4eee4}.is-ending .hero-people{object-fit:contain;object-position:center top}.hero-kicker{color:#557d73}.hero-bottom{color:#72877b}
.weekly-scene[hidden]{display:none!important}.weekly-scene{position:absolute;inset:0;width:100%;height:100%;padding:14px}.weekly-scene>.content{height:100%;min-height:0}.weekly-mode>.caption{display:none}.app.weekly-mode{grid-template-rows:auto auto minmax(0,1fr) auto auto}
.gesture-hint{position:fixed;right:24px;bottom:18px;max-width:calc(100vw - 48px);padding:12px 20px;border:1px solid #fff;border-radius:999px;background:#edf4eced;box-shadow:0 8px 35px #173c2c18;font-size:14px;color:#385f52;z-index:90;pointer-events:none}.gesture-hint[hidden]{display:none}
.simulation-preview{background:transparent}.simulation-preview #currentResult{background:#eef5ed}.line-panel,.result-card{background:#ffffffa6;border-color:#ffffffed;box-shadow:inset 0 1px 0 #fff}.simulation-preview .live-tree{height:50cqh}.calculation-breakdown>div{background:#e7efe788}.calculation-breakdown dt{color:#5b7165}.calculation-breakdown dd{color:#294e42}
:root.presentation .app{max-width:none;width:100%;height:100dvh;grid-template-rows:auto auto minmax(0,1fr) auto;padding:1.6vh 2.3vw 1.2vh;gap:1.2vh}
:root.presentation .navigation,:root.presentation footer{display:none!important}
:root.presentation .hero-mode{grid-template-rows:auto minmax(0,1fr)}:root.presentation .simulation-mode,:root.presentation .weekly-mode{grid-template-rows:auto auto minmax(0,1fr)}
:root.presentation h1{font-size:clamp(32px,4.5vh,90px)}:root.presentation .eyebrow{font-size:clamp(14px,1.8vh,32px)}:root.presentation .caption p{font-size:clamp(23px,3vh,62px)}
:root.presentation .tools button{font-size:clamp(16px,1.8vh,32px);min-height:4.8vh}:root.presentation .dual-logo{height:5.5vh;min-height:44px}:root.presentation .brand small{font-size:clamp(13px,1.5vh,26px)}
@container (max-height:550px){
#weeklyScene .ledger{padding:15px 20px}#weeklyScene .ledger-top{margin-bottom:6px}#weeklyScene .ledger-top h2{font-size:22px}#weeklyScene .ledger-top span{font-size:12px}
#weeklyScene .week-table th{font-size:20px;padding-bottom:7px}#weeklyScene .week-table td{font-size:26px;padding-block:4px;line-height:1.15}#weeklyScene .week-table td:first-child{font-size:19px}
#weeklyScene .total{padding-top:8px}#weeklyScene .total-cp>span,#weeklyScene .money>span{font-size:16px}#weeklyScene .total-cp strong,#weeklyScene .money strong{font-size:46px}
#weeklyScene .money{padding:12px 16px}#weeklyScene .summary-copy{font-size:16px;line-height:1.45;margin-top:8px;padding-top:7px}#weeklyScene .rate{font-size:12px;margin-top:7px}
}
@media(max-width:760px){
.app{padding:13px 12px 9px;gap:10px}.brand{gap:0}.brand small{display:none}.dual-logo{height:42px}.dayfit-word{font-size:22px;padding-inline:13px}.dual-logo img{width:108px;height:36px;padding:5px 12px}.tools{gap:4px}.tools button{font-size:12px;min-height:40px;padding:7px 10px}.tools #simBtn{font-size:11px}header{flex-wrap:wrap;gap:8px}.tools{margin-left:auto}.eyebrow{font-size:11px}h1{font-size:27px}.caption p{font-size:18px}.navigation>button{font-size:14px;min-width:78px}.stage{border-radius:25px}.gesture-hint{font-size:12px;line-height:1.5;right:12px;bottom:12px;max-width:calc(100vw - 24px);border-radius:18px}
.app.weekly-mode,.presentation .app.weekly-mode{height:auto;min-height:100svh}.weekly-mode .stage{height:auto;min-height:1100px}.weekly-mode #scene{height:auto}.weekly-mode .weekly-scene{position:relative;height:auto;padding:8px}.weekly-mode .weekly-scene>.content{height:auto}
:root.presentation h1{font-size:29px}:root.presentation .caption p{font-size:21px}:root.presentation .tools button{font-size:12px;min-height:40px}:root.presentation .app{padding:12px;gap:10px}
}
/* Wide BC faces apply to owned and lower BCs alike. */
#weeklyScene .main-bc{height:auto;aspect-ratio:1.32;top:13%}
#weeklyScene .child-bc{height:auto;aspect-ratio:1.32}
#weeklyScene .main-bc .score{height:29%;bottom:6%;padding:2px}
#weeklyScene .main-bc .gauge{top:21%;height:34%}

#weeklyScene .bc::before,#weeklyScene .bc::after{display:none}

#weeklyScene .weekly-replay{font-size:18px;padding:5px 11px;min-height:34px;margin-left:10px}#weeklyScene .ledger-top>span{margin-left:auto}

@container (min-height:551px) and (max-height:700px){
#weeklyScene .ledger{padding:18px 24px 16px}
#weeklyScene .week-table td{padding-block:6px}
#weeklyScene .total{padding-top:10px}
#weeklyScene .summary-copy{margin-top:8px;padding-top:8px}
}

/* General view may scroll on short screens; keep every explanation visible. */
@media(min-width:761px){:root:not(.presentation) .app.weekly-mode{height:max(100svh,790px)}:root:not(.presentation) .weekly-mode .stage{min-height:510px}}

@media(max-width:760px){.weekly-mode .stage{container-type:inline-size;min-height:0}#weeklyScene .week-table td:first-child{white-space:nowrap}#weeklyScene .ledger-top>span{display:none}}

/* Shared closing scene: product experience, everyday connection, a clear next step. */
.is-ending{display:block;background:radial-gradient(ellipse at 80% 60%,#ddcba64a,transparent 58%),linear-gradient(135deg,#f9faf5,#f2eee4);border:1px solid #ffffffd9}
.ending-story{display:grid;grid-template-columns:1.06fr 1fr;min-height:100%;align-items:center;isolation:isolate}
.is-ending .hero-copy{width:100%;padding:clamp(26px,3.5vw,56px);grid-area:auto}
.is-ending .hero-kicker{color:#657c6f;font-size:clamp(12px,1.45vh,22px);letter-spacing:.16em;margin-bottom:22px}
.is-ending .hero-copy h2{font-size:clamp(34px,4vw,64px);line-height:1.3;letter-spacing:-.06em;font-weight:600}
.is-ending .hero-copy h2 em{color:#336459}
.is-ending .hero-description{font-size:clamp(19px,2.25vh,30px);line-height:1.7;margin:22px 0;color:#5c7166}
.ending-values{display:grid;gap:0;margin:28px 0;border-top:1px solid #4f6b581b;border-bottom:1px solid #4f6b581b}
.ending-values>div{display:flex;align-items:center;gap:18px;padding:11px 0}
.ending-values>div+div{border-top:1px solid #4f6b5810}
.ending-values span{font-size:clamp(13px,1.55vh,22px);color:#7b877a;min-width:106px}
.ending-values strong{font-size:clamp(19px,2.3vh,32px);font-weight:550;color:#304b41;letter-spacing:-.035em}
.ending-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ending-actions a{font-size:clamp(14px,1.65vh,23px);font-weight:550;color:#4b695b;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:22px;border-bottom:1px solid #4f6b5830}
.ending-actions a:hover{color:#172e25;border-color:#172e25}
.ending-actions .ending-primary{padding:13px 20px;border:1px solid #35594b;border-radius:999px;color:#fff;background:#315646;box-shadow:inset 0 1px 0 #ffffff25,0 7px 20px #31564616}
.is-ending .ending-invitation{font-size:clamp(14px,1.65vh,23px);line-height:1.7;margin:24px 0 0;color:#7c897d;word-break:keep-all}
.ending-visual{position:relative;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:50px 24px 36px 0;isolation:isolate;overflow:hidden}
.ending-orbit{position:absolute;width:90%;aspect-ratio:1;left:3%;top:50%;translate:0 -50%;border-radius:50%;border:1px solid #fff9;background:radial-gradient(circle at 40% 25%,#fff8,#dbdfc94d 70%);box-shadow:0 0 0 30px #fff2;z-index:-1}
.ending-wordmark{font-size:clamp(42px,6vw,100px);letter-spacing:.12em;font-weight:500;color:#557a6e23;margin:0 0 15px;text-align:center}
.is-ending .hero-people{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;mix-blend-mode:multiply;border-radius:22px}
.ending-photo-caption{text-align:center;margin:26px 0 0;font-size:clamp(17px,2vh,28px);color:#668071;letter-spacing:-.035em}
:root.presentation .is-ending .hero-copy h2{font-size:clamp(38px,5.9vh,110px)}
@media(min-width:761px) and (max-height:780px){
.is-ending .hero-copy{padding:24px 32px}.is-ending .hero-kicker{margin-bottom:14px}.is-ending .hero-description{margin:15px 0;font-size:19px}.ending-values{margin:16px 0}.ending-values>div{padding:8px 0}.is-ending .ending-invitation{margin-top:16px}.ending-visual{padding-block:26px}
}
@media(max-width:760px){
.ending-story{display:flex;flex-direction:column}.is-ending .hero-copy{padding:29px 24px 12px}.is-ending .hero-kicker{font-size:11px;margin-bottom:18px}
.is-ending .hero-copy h2,:root.presentation .is-ending .hero-copy h2{font-size:clamp(29px,7.7vw,52px);line-height:1.35}
.is-ending .hero-description{font-size:18px;margin:19px 0}.ending-values{margin:22px 0}.ending-values>div{gap:12px;padding:12px 0}.ending-values span{font-size:12px;min-width:95px}.ending-values strong{font-size:17px}
.ending-actions{gap:10px 15px}.ending-actions a{font-size:13px}.ending-actions .ending-primary{font-size:15px;width:100%;justify-content:space-between;padding:14px 18px}
.is-ending .ending-invitation{font-size:14px;line-height:1.8;margin-top:21px}.ending-visual{width:100%;padding:20px 18px 29px}.ending-wordmark{font-size:49px;margin-bottom:7px}.ending-photo-caption{font-size:17px;margin-top:17px}.ending-orbit{width:76%;left:12%}
}

@media(max-width:760px){.app.ending-mode,:root.presentation .app.ending-mode{height:auto;min-height:100svh}.ending-mode .stage{container-type:inline-size;overflow:visible}.ending-mode #scene{height:auto}.ending-mode .is-ending{min-height:0}}

/* A quiet advertising close: the message leads, links stay secondary. */
.is-ending .hero-copy h2{font-size:clamp(34px,3.65vw,62px);line-height:1.3}
.is-ending .hero-description{font-size:clamp(22px,2.65vh,38px);line-height:1.65;margin:29px 0 0;font-weight:500;color:#47685a}
.is-ending .ending-invitation{font-size:clamp(17px,2vh,28px);line-height:1.8;margin:28px 0 0;color:#788579}
.ending-actions{gap:9px;margin-top:31px}
.ending-actions a,.ending-actions .ending-primary{font-size:13px;font-weight:500;min-height:36px;width:auto;gap:12px;padding:7px 12px;color:#63796c;border:1px solid #61796a26;border-radius:999px;background:#ffffff55;box-shadow:none}
.ending-actions a:hover,.ending-actions .ending-primary:hover{color:#274f3d;background:#ffffffa3;border-color:#61796a66}
:root.presentation .is-ending .hero-copy h2{font-size:clamp(37px,5.5vh,100px)}
:root.presentation .ending-actions a{font-size:clamp(13px,1.45vh,23px)}
@media(min-width:761px) and (max-height:780px){.is-ending .hero-description{margin-top:24px;font-size:22px}.is-ending .ending-invitation{margin-top:22px}.ending-actions{margin-top:25px}}
@media(max-width:760px){
.is-ending .hero-copy h2,:root.presentation .is-ending .hero-copy h2{font-size:clamp(28px,7.5vw,49px)}
.is-ending .hero-description{font-size:20px;margin-top:24px}.is-ending .ending-invitation{font-size:16px;margin-top:23px}.ending-actions{margin-top:24px;gap:8px}
.ending-actions a,.ending-actions .ending-primary,:root.presentation .ending-actions a{font-size:12px;min-height:42px;width:auto;padding:8px 11px;gap:9px}
}

/* Opening and closing are full-bleed campaign scenes, with controls over the image. */
.app.hero-mode,:root.presentation .app.hero-mode{position:relative;width:100%;max-width:none;height:100svh;grid-template-rows:auto minmax(0,1fr) auto auto;padding:20px 34px 12px;gap:13px}
.hero-mode>header{grid-row:1;position:relative;z-index:5}.hero-mode>.navigation{grid-row:3;position:relative;z-index:5}.hero-mode>footer{grid-row:4;position:relative;z-index:5}
.hero-mode .stage{position:absolute;inset:0;width:100%;height:100%;border-radius:0;border:0;overflow:hidden;background:#f4efe5;z-index:0;backdrop-filter:none}
.hero-mode #scene{height:100%;padding:0;display:block}
.hero-mode .web-hero{position:relative;width:100%;height:100%;min-height:100%;border-radius:0;border:0;display:block;overflow:hidden;background:#f4efe5}
.opening-people,.is-ending .ending-visual{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;z-index:0;pointer-events:none}
.opening-people,.is-ending .hero-people{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;mix-blend-mode:normal;border-radius:0}
.web-hero::after,.is-ending::after{content:"";display:block;position:absolute;inset:0;background:linear-gradient(90deg,#f7f3e9f5 0%,#f7f3e9d9 26%,#f7f3e9a0 38%,#f7f3e900 56%);z-index:1;pointer-events:none}
.hero-mode .hero-copy{position:absolute;left:5.2%;top:20%;width:43%;padding:0;z-index:2;animation:arrive .65s ease both}
.hero-mode .hero-copy h2{font-size:clamp(34px,3.65vw,70px);line-height:1.3;letter-spacing:-.06em}
.hero-mode .hero-description{font-size:clamp(18px,2.3vh,32px);line-height:1.7;margin:24px 0 0}
.opening-products{position:absolute;left:5.2%;bottom:14%;width:34%;height:30%;z-index:2;display:flex;align-items:flex-end;gap:16px;pointer-events:none;filter:drop-shadow(0 18px 15px #3c564432)}
.opening-products img{object-fit:contain}.opening-healthpak{width:73%;height:100%;object-position:left bottom;transform:rotate(-5deg)}.opening-biomega{width:21%;height:78%;object-position:center bottom;transform:rotate(5deg)}
.is-ending .ending-story{display:block;height:100%;min-height:100%}
.hero-mode .is-ending .hero-copy{top:50%;translate:0 -50%;width:40%;padding-top:35px;padding-bottom:55px}
.hero-mode .is-ending .hero-copy h2,:root.presentation .hero-mode .is-ending .hero-copy h2{font-size:clamp(35px,3.5vw,68px)}
.hero-mode .is-ending .hero-description{font-size:clamp(21px,2.65vh,38px)}
.hero-mode .is-ending .ending-invitation{color:#596d60;text-shadow:0 1px 8px #fff9}
.hero-mode .ending-actions a{background:#ffffff75;backdrop-filter:blur(12px)}
:root.presentation .app.hero-mode{height:100dvh;padding:1.6vh 2.3vw 1.2vh}
:root.presentation .hero-mode .hero-copy h2{font-size:clamp(38px,5.6vh,112px)}
@media(min-width:761px) and (max-height:780px){
.hero-mode .hero-copy{top:20%}.hero-mode .hero-description{margin-top:18px;font-size:18px}.opening-products{height:27%;bottom:15%}
.hero-mode .is-ending .hero-copy{padding-block:35px}.hero-mode .is-ending .hero-description{font-size:22px}.hero-mode .is-ending .ending-invitation{font-size:17px}
}
@media(max-width:760px){
.app.hero-mode,:root.presentation .app.hero-mode{height:max(100svh,950px);min-height:950px;padding:13px 12px 10px;gap:10px}
.hero-mode .stage{container-type:size;overflow:hidden}.hero-mode #scene{height:100%}
.hero-mode .hero-copy{top:135px;left:24px;width:calc(100% - 48px);padding:0}
.hero-mode .hero-copy h2,:root.presentation .hero-mode .hero-copy h2{font-size:clamp(29px,7.7vw,48px)}
.hero-mode .hero-description{font-size:18px;line-height:1.7;margin-top:19px}
.opening-people{top:auto;bottom:115px;height:auto;width:100%;object-fit:contain}
.web-hero::after,.is-ending::after{background:linear-gradient(180deg,#f4efe5 0%,#f4efe5 40%,#f4efe580 50%,#f4efe500 62%)}
.opening-products{left:24px;bottom:116px;width:46%;height:125px;gap:8px}.opening-healthpak{width:72%}.opening-biomega{width:23%;height:85%}
.hero-mode .is-ending .hero-copy{top:135px;left:24px;translate:none;width:calc(100% - 48px);padding:0}
.hero-mode .is-ending .hero-copy h2,:root.presentation .hero-mode .is-ending .hero-copy h2{font-size:clamp(29px,7.7vw,48px)}
.hero-mode .is-ending .hero-description{font-size:20px;margin-top:23px}.hero-mode .is-ending .ending-invitation{font-size:16px;margin-top:22px}
.is-ending .ending-visual{top:auto;bottom:105px;height:auto;width:100%}.is-ending .hero-people{width:100%;height:auto;object-fit:contain}
.hero-mode .ending-actions{margin-top:22px}.hero-mode footer{font-size:10px}.hero-mode .brand small{display:none}
}
/* Preserve every person from head to toe, regardless of screen ratio. */
.hero-mode .web-hero::before{content:"";position:absolute;inset:-28px;background:url('/cashback/cache/dayfit-hero-wide.49d6b581ccb93488.webp') center/cover no-repeat;filter:blur(25px);opacity:.42;z-index:0;pointer-events:none}
.hero-mode .is-ending::before{background-image:url('/cashback/cache/dayfit-lifestyle-freedom.338fea5fcb936e96.webp')}
.opening-people,.is-ending .hero-people{object-fit:contain;object-position:center}
.hero-mode .web-hero:not(.is-ending) .hero-copy{width:35%}
.hero-mode .web-hero:not(.is-ending) .hero-copy h2{font-size:clamp(32px,3.15vw,60px)}
@media(max-width:760px){
.hero-mode .web-hero:not(.is-ending) .hero-copy{width:calc(100% - 48px)}
.hero-mode .web-hero:not(.is-ending) .hero-copy h2{font-size:clamp(29px,7.7vw,48px)}
.hero-mode .web-hero::before{opacity:.2;filter:blur(35px)}
}
.hero-mode .is-ending .hero-copy{translate:none;transform:translateY(-50%);width:36%}
.hero-mode .is-ending .hero-copy h2,:root.presentation .hero-mode .is-ending .hero-copy h2{font-size:clamp(33px,3.2vw,64px)}
.web-hero::after,.is-ending::after{background:linear-gradient(90deg,#f7f3e9f5 0%,#f7f3e9d9 23%,#f7f3e975 33%,#f7f3e900 45%)}
@media(max-width:760px){
.hero-mode .is-ending .hero-copy{transform:none;translate:none;width:calc(100% - 48px)}
.hero-mode .is-ending .hero-copy h2,:root.presentation .hero-mode .is-ending .hero-copy h2{font-size:clamp(29px,7.7vw,48px)}
.web-hero::after,.is-ending::after{background:linear-gradient(180deg,#f4efe5 0%,#f4efe5 40%,#f4efe580 50%,#f4efe500 62%)}
}
/* Campaign copy is readable immediately, including before renderer motion settles. */
.hero-mode .hero-copy{animation:none}
.is-ending .ending-story{isolation:auto}
@media(max-width:760px){.opening-products{top:440px;bottom:auto;height:130px}}

/* A compact product still life, kept to the left of the people. */
.opening-products{width:34%;height:29%;bottom:14%;display:block;filter:drop-shadow(0 13px 11px #31483b28)}
.opening-products::before{content:"";position:absolute;left:-5%;right:-3%;bottom:-4%;height:22%;background:radial-gradient(ellipse,#ffffffa3,transparent 70%);border-radius:50%;z-index:-1}
.opening-products>img,.opening-products>svg{position:absolute;display:block;object-fit:contain;object-position:center bottom;transform:none}
.opening-myhealthpak{left:0;bottom:16%;width:40%;height:auto;aspect-ratio:303/302;transform:rotate(-3deg)!important;filter:drop-shadow(0 8px 6px #31483b22)}
.opening-circulate{left:34%;bottom:3%;width:28%;height:61%;z-index:2;transform:rotate(3deg)!important}
.opening-probiotic{left:3%;bottom:0;width:27%;height:32%;z-index:3;transform:rotate(-5deg)!important}
.opening-serum{left:64%;bottom:8%;width:12%;height:66%;z-index:2}
.opening-toner{left:77%;bottom:10%;width:12%;height:82%;z-index:1}
.opening-eye{left:89%;bottom:3%;width:11%;height:43%;z-index:3}
@media(min-width:761px) and (max-height:780px){.opening-products{height:27%;bottom:13%}}
@media(max-width:760px){.opening-products{left:24px;top:420px;bottom:auto;width:calc(100% - 48px);height:163px}}
/* Fit the composition to the contained photograph, rather than a fixed monitor. */
@media(min-width:761px){
.hero-mode .web-hero{--art-w:min(100cqw,177.665cqh);--art-h:min(100cqh,56.286cqw);--art-x:calc((100cqw - var(--art-w))/2);--art-y:calc((100cqh - var(--art-h))/2)}
.opening-people{left:var(--art-x);top:var(--art-y);width:var(--art-w);height:var(--art-h)}
.hero-mode .web-hero:not(.is-ending) .hero-copy{left:calc(var(--art-x) + var(--art-w)*.045);top:calc(var(--art-y) + var(--art-h)*.13);width:calc(var(--art-w)*.31)}
.hero-mode .web-hero:not(.is-ending) .hero-copy h2,:root.presentation .hero-mode .web-hero:not(.is-ending) .hero-copy h2{font-size:clamp(30px,calc(var(--art-w)*.031),128px)}
.hero-mode .web-hero:not(.is-ending) .hero-description{font-size:clamp(17px,calc(var(--art-w)*.014),48px);margin-top:clamp(16px,2cqh,40px)}
.hero-mode .hero-kicker{font-size:clamp(11px,calc(var(--art-w)*.009),30px);margin-bottom:clamp(15px,2cqh,38px)}
.opening-products{left:calc(var(--art-x) + var(--art-w)*.045);top:calc(var(--art-y) + var(--art-h)*.59);bottom:auto;width:calc(var(--art-w)*.34);height:calc(var(--art-h)*.32)}
.hero-mode .is-ending .hero-copy{left:calc(var(--art-x) + var(--art-w)*.045);width:calc(var(--art-w)*.31)}
.hero-mode .is-ending .hero-copy h2,:root.presentation .hero-mode .is-ending .hero-copy h2{font-size:clamp(30px,calc(var(--art-w)*.031),128px)}
.hero-mode .is-ending .hero-description{font-size:clamp(20px,calc(var(--art-w)*.017),58px)}
.hero-mode .is-ending .ending-invitation{font-size:clamp(16px,calc(var(--art-w)*.013),44px)}
}
/* Match the ivory podiums and warm floor in the photograph. */
.opening-products{filter:none;isolation:isolate}
.opening-products::before{left:-4%;right:-3%;bottom:-2%;height:14%;border-radius:50% / 34%;background:linear-gradient(180deg,#fffdf4 0%,#f4efdf 37%,#cfc3aa 43%,#e1d6bf 70%,#eee5d3);border:1px solid #ffffffb3;box-shadow:inset 0 -2px 4px #9e896c20,0 7px 10px #6c573f18;z-index:-1}
.opening-products::after{content:"";position:absolute;left:-2%;right:-1%;bottom:-7%;height:13%;border-radius:50%;background:radial-gradient(ellipse,#68523638,transparent 70%);filter:blur(7px);z-index:-2}
.opening-products>img,.opening-products>svg{filter:drop-shadow(2px 5px 3px #67594122)}
.opening-myhealthpak{bottom:9%;transform:none!important}
.opening-circulate{bottom:7%;transform:rotate(1deg)!important}
.opening-probiotic{left:4%;bottom:3%;transform:rotate(-2deg)!important}
.opening-serum{bottom:8%}.opening-toner{bottom:9%}.opening-eye{bottom:5%}
@media(max-width:760px){.opening-products::before{height:13%}.opening-products::after{bottom:-6%;filter:blur(5px)}}
@media(min-width:761px){.opening-products{width:calc(var(--art-w)*.30);height:calc(var(--art-h)*.29);top:calc(var(--art-y) + var(--art-h)*.62)}}

/* One weekly canvas: the controls choose the week without changing the scene. */
#weeklyScene .week-stepper{display:flex;gap:6px;margin:0 0 10px;flex-shrink:0}
#weeklyScene .week-stepper button{flex:1;font-size:15px;min-height:36px;padding:6px 8px;border:1px solid #c5d8cc80;background:#fff8;color:#698076}
#weeklyScene .week-stepper button[aria-pressed="true"]{background:#dcebe2;color:#284e3c;border-color:#92b4a1;font-weight:700}
#weeklyScene .week-table tr.waiting{opacity:.4}
#weeklyScene .summary-copy{min-height:3.4em}
@media(min-width:761px){:root:not(.presentation) .app.weekly-mode{height:max(100svh,840px)}:root:not(.presentation) .weekly-mode .stage{min-height:560px}}
@container(max-height:620px){#weeklyScene .ledger{padding:13px 18px}#weeklyScene .ledger-top{margin-bottom:5px}#weeklyScene .week-stepper{margin-bottom:5px}#weeklyScene .week-stepper button{min-height:32px;font-size:14px}#weeklyScene .total{padding-top:6px}#weeklyScene .summary-copy{font-size:16px;margin-top:6px;padding-top:6px}}
/* Compact inputs, a dedicated diagram, and a separate result column. */
.simulation-preview #applySimulation{width:100%;margin-top:6px;min-height:40px;font-size:16px}
.sim-applied{font-size:13px;color:#47745a;min-height:0;margin:5px 0 0}
.simulation-preview #currentResult.applied{animation:applied-result .8s ease}
@keyframes applied-result{0%,100%{box-shadow:none}35%{box-shadow:0 0 0 4px #72baa77a}}
@media(min-width:900px){
.simulation-preview .sim-layout{display:grid;grid-template-columns:minmax(275px,.95fr) minmax(320px,1.35fr) minmax(260px,.95fr);gap:14px;align-items:stretch;overflow:hidden}
.simulation-preview .sim-inputs,.simulation-preview .sim-results{overflow:hidden;min-height:0;padding:0;border:0}
.simulation-preview .sim-layout>#currentResult{position:static;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:8px;border-radius:20px;background:#edf4ed9c}
.simulation-preview .live-tree,:root.presentation .simulation-preview .live-tree{flex:1;height:0!important;min-height:150px;max-height:none;margin:0}
.simulation-preview #currentResult>.result-card{flex-shrink:0;margin:0}
.simulation-preview .field-grid{gap:8px}.simulation-preview .field-grid label,:root.presentation .simulation-preview .field-grid label{font-size:14px;line-height:1.3}
.simulation-preview .field-grid input,.simulation-preview .field-grid select,:root.presentation .simulation-preview .field-grid input,:root.presentation .simulation-preview .field-grid select{min-height:38px;height:38px;font-size:20px;padding:5px 8px;margin-top:4px}
.simulation-preview .field-label{font-size:14px;margin:9px 0 6px}.simulation-preview .field-label>span{display:block;font-size:11px}
.simulation-preview:not(.advanced-inputs) .line-panel,:root.presentation .simulation-preview:not(.advanced-inputs) .line-panel{grid-template-columns:77px minmax(0,1fr);padding:6px;margin-bottom:6px;gap:6px}
.simulation-preview .line-head h3,:root.presentation .simulation-preview .line-head h3{font-size:14px}
.simulation-preview .consumer-row{gap:6px}.simulation-preview .consumer-row label,.simulation-preview .consumer-row .field-label>span,:root.presentation .simulation-preview .consumer-row label,:root.presentation .simulation-preview .consumer-row .field-label>span{font-size:11px}
.simulation-preview .consumer-row input,:root.presentation .simulation-preview:not(.advanced-inputs) .consumer-row input{height:34px;min-height:34px;font-size:19px;padding:4px 7px}
.simulation-preview .result-card{padding:10px;margin-bottom:8px}.simulation-preview .result-label{font-size:13px;line-height:1.4;margin:0 0 5px}
.simulation-preview .result-value,:root.presentation .simulation-preview .result-value{font-size:clamp(29px,3.6vh,52px);line-height:1.2;margin:0 0 7px}
.simulation-preview .result-meta,:root.presentation .simulation-preview .result-meta{font-size:14px;line-height:1.4;margin:0}
.simulation-preview .calculation-breakdown>div{padding:4px 5px}.simulation-preview .calculation-breakdown dt{font-size:12px}.simulation-preview .calculation-breakdown dd{font-size:14px}
.simulation-preview .suggestion h3{font-size:19px;line-height:1.3;margin:0 0 7px}.simulation-preview .suggestion p{font-size:12px;line-height:1.45;margin:6px 0}
.simulation-preview .proposal-counts{gap:4px;font-size:12px}.simulation-preview .proposal-counts span{padding:6px 3px}.simulation-preview .proposal-counts b{font-size:17px}
.simulation-preview .proposal-preview{display:none}.simulation-preview .shop-row{padding:7px 6px;gap:6px;font-size:11px;grid-template-columns:32px minmax(0,1fr) auto}.simulation-preview .shop-row strong{font-size:15px}.simulation-preview .shop-row b{font-size:13px}
.simulation-preview .assumptions{font-size:12px}.simulation-preview .assumptions summary{min-height:32px;padding:6px 0}
.simulation-preview #applyProposal{font-size:14px;min-height:34px;padding:6px 12px;width:100%}
}
.sim-dialog .sim-layout{grid-template-columns:minmax(260px,1fr) minmax(300px,1.2fr);align-items:start}.sim-dialog .sim-layout>#currentResult{grid-column:2;grid-row:1}.sim-dialog .sim-results{grid-column:2;grid-row:2}.sim-dialog .sim-inputs{grid-column:1;grid-row:1 / span 2}.sim-dialog .live-tree{height:300px}.sim-dialog #applySimulation{width:100%;margin-top:12px}
@media(max-width:899px){
.app.simulation-mode,:root.presentation .app.simulation-mode{height:auto;min-height:100svh}
.simulation-mode .stage{container-type:inline-size;min-height:0;height:auto;overflow:visible}.simulation-mode #scene{height:auto}
.simulation-preview{position:relative;height:auto;overflow:visible}.simulation-preview .sim-layout{display:flex;flex-direction:column;overflow:visible}
.simulation-preview .sim-layout>#currentResult{position:static;order:1;display:block}.simulation-preview .sim-inputs{order:2;overflow:visible}.simulation-preview .sim-results{order:3;overflow:visible}
.simulation-preview .live-tree,:root.presentation .simulation-preview .live-tree{height:320px!important;min-height:0;max-height:none}
.sim-dialog .sim-layout{display:flex;flex-direction:column}.sim-dialog .sim-layout>*{width:100%}
}
@container (min-height:551px) and (max-height:750px){#weeklyScene .ledger{padding:16px 20px}#weeklyScene .week-table td{padding-block:4px}#weeklyScene .total{padding-top:8px}#weeklyScene .summary-copy{min-height:0;line-height:1.5}}
@media(min-width:900px){
:root.presentation .simulation-preview .sim-layout{grid-template-columns:minmax(275px,.95fr) minmax(320px,1.35fr) minmax(260px,.95fr);grid-template-rows:minmax(0,1fr);gap:14px}
.simulation-preview .sim-inputs{grid-column:1;grid-row:1}.simulation-preview .sim-layout>#currentResult{grid-column:2;grid-row:1}.simulation-preview .sim-results{grid-column:3;grid-row:1}
.simulation-preview .suggestion>p:not(:last-of-type){display:none}
.simulation-preview .proposal-counts{font-size:11px;line-height:1.25}.simulation-preview .proposal-counts span{padding:5px 3px}.simulation-preview .proposal-counts b{font-size:16px}
.simulation-preview .shop-row{padding-block:6px;line-height:1.35}.simulation-preview .shop-row strong{line-height:1.35}
}
@media(min-width:900px){
.simulation-preview .sim-inputs>#simForm>.field-label{font-size:14px;line-height:1.4;margin:8px 0 6px}.simulation-preview .sim-inputs>#simForm>.field-label>span{display:none}
.simulation-preview:not(.advanced-inputs) .line-panel,:root.presentation .simulation-preview:not(.advanced-inputs) .line-panel{padding:3px;margin-bottom:4px}
.simulation-preview #applySimulation{height:40px;min-height:40px;padding:6px 10px;line-height:1.4}
.simulation-preview .sim-results>.assumptions{display:none}
}

#weeklyScene .child-bc .bc-name{font-size:clamp(21px,4cqw,30px)}

@media(min-width:900px){.simulation-preview .consumer-row~.consumer-row{display:none}.simulation-preview:not(.advanced-inputs) .line-head small.extra-groups{display:block;font-size:10px;line-height:1.2;margin-top:2px}.simulation-preview:not(.advanced-inputs) .line-head h3,:root.presentation .simulation-preview:not(.advanced-inputs) .line-head h3{font-size:14px;line-height:1.3}}

#weeklyScene .week-order{position:absolute;top:calc(100% + 9px);left:50%;translate:-50% 0;white-space:nowrap;font-size:15px;font-weight:650;color:#557568}
#weeklyScene .diagram[data-order-side="left"] .pulse.right,#weeklyScene .diagram[data-order-side="right"] .pulse.left,#weeklyScene .diagram[data-order-side="none"] .pulse{display:none}
@media(max-width:760px){#weeklyScene .week-order{font-size:13px}}
@media(min-width:1024px){:root:not(.presentation) .app.simulation-mode{height:max(100svh,840px)}}
@media(min-width:900px) and (max-width:1023px){
.app.simulation-mode,:root.presentation .app.simulation-mode{height:auto;min-height:100svh}.simulation-mode .stage{container-type:inline-size;height:auto;overflow:visible}.simulation-mode #scene{height:auto}.simulation-preview{position:relative;height:auto;overflow:visible}
.simulation-preview .sim-layout,:root.presentation .simulation-preview .sim-layout{display:flex;flex-direction:column;overflow:visible}.simulation-preview .sim-layout>#currentResult{position:static;display:block;order:1}.simulation-preview .sim-inputs{order:2;overflow:visible}.simulation-preview .sim-results{order:3;overflow:visible}
.simulation-preview .live-tree,:root.presentation .simulation-preview .live-tree{height:340px!important;min-height:0;max-height:none}
}

/* Mobile opening: four non-overlapping rows fit the visible browser height. */
@media(max-width:760px){
.app.hero-mode:not(.ending-mode),:root.presentation .app.hero-mode:not(.ending-mode){
 height:100svh;min-height:0;max-height:100svh;
 padding:max(10px,env(safe-area-inset-top)) 12px max(8px,env(safe-area-inset-bottom));
 grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;gap:6px;
}
:root.presentation .app.hero-mode:not(.ending-mode){height:100dvh;max-height:100dvh}
.hero-mode:not(.ending-mode)>header{grid-column:1;gap:6px}
.hero-mode:not(.ending-mode) .stage{position:relative;inset:auto;grid-column:1;grid-row:2;min-height:0;height:100%;border-radius:18px;background:transparent}
.hero-mode:not(.ending-mode) #scene{min-height:0}
.hero-mode .web-hero:not(.is-ending){display:grid;grid-template-rows:auto minmax(0,1fr) clamp(76px,15svh,132px);gap:8px;padding:6px 10px 12px;min-height:0;height:100%;border-radius:0;background:transparent}
.hero-mode .web-hero:not(.is-ending)::before,.hero-mode .web-hero:not(.is-ending)::after{content:none}
.hero-mode .web-hero:not(.is-ending) .hero-copy{position:static;grid-row:1;left:auto;top:auto;width:100%;padding:0;transform:none}
.hero-mode .web-hero:not(.is-ending) .hero-kicker{font-size:9px;margin:0 0 8px;letter-spacing:.14em}
.hero-mode .web-hero:not(.is-ending) .hero-copy h2,:root.presentation .hero-mode .web-hero:not(.is-ending) .hero-copy h2{font-size:clamp(24px,6.8vw,32px);line-height:1.23}
.hero-mode .web-hero:not(.is-ending) .hero-description{font-size:clamp(13px,3.6vw,16px);line-height:1.5;margin:9px 0 0}
.hero-mode .opening-people{position:static;inset:auto;grid-row:2;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center bottom;z-index:2}
.hero-mode .opening-products{position:relative;grid-row:3;inset:auto;width:min(100%,340px);height:100%;min-height:0;margin:0 auto;z-index:2}
.hero-mode .opening-myhealthpak{width:36%;height:88%;aspect-ratio:auto;object-position:left bottom}
.hero-mode:not(.ending-mode)>.navigation{grid-column:1;grid-row:3;min-width:0;gap:8px}
.hero-mode:not(.ending-mode)>.navigation>button{min-height:44px;font-size:14px;padding:8px 12px}
.hero-mode:not(.ending-mode)>footer{grid-column:1;grid-row:4;font-size:9px;line-height:1.3}
}

/* Reframe only the photograph's empty left margin on phones; keep all six people and their feet. */
.opening-people-mobile{display:none}
@media(max-width:760px){
.hero-mode .opening-people{display:none}
.hero-mode .opening-people-mobile{display:block;grid-row:2;width:100%;height:100%;min-height:0;z-index:2}
}
@media(max-width:760px) and (orientation:landscape){
.hero-mode .web-hero:not(.is-ending){grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:minmax(0,1fr) 64px;gap:4px 10px;padding:3px 8px 10px}
.hero-mode .web-hero:not(.is-ending) .hero-copy{grid-column:1;grid-row:1;align-self:center}
.hero-mode .web-hero:not(.is-ending) .hero-kicker{font-size:8px;margin-bottom:4px}
.hero-mode .web-hero:not(.is-ending) .hero-copy h2,:root.presentation .hero-mode .web-hero:not(.is-ending) .hero-copy h2{font-size:clamp(18px,3vw,22px);line-height:1.15}
.hero-mode .web-hero:not(.is-ending) .hero-description{font-size:10.5px;line-height:1.3;margin-top:5px}
.hero-mode .opening-people-mobile{grid-column:2;grid-row:1 / 3}
.hero-mode .opening-products{grid-column:1;grid-row:2;width:min(100%,240px)}
.hero-mode:not(.ending-mode)>footer{font-size:8px;line-height:1.2}
}
