/* Distribuição populacional e detalhe do extremo compartilham a mesma régua. */
.journey-stage{min-height:0;--accent:var(--green)}.journey-stage[data-nature=public]{--accent:#3d6d7b}.journey-stage[data-nature=events]{--accent:#a46b2e}.journey-stage.is-negative{--accent:var(--red)}
.world.panorama{position:absolute;left:5%;right:5%;width:auto;top:78px;bottom:355px;border:0;overflow:hidden;opacity:1;z-index:1;--axis:78px;overflow-anchor:none}
.panorama-heading{height:52px;display:flex;align-items:start;justify-content:space-between;gap:20px}.panorama-heading .eyebrow{font-size:8px;letter-spacing:1.5px;margin:4px 0 0}.panorama-heading #frame-caption{font-size:9px;color:var(--muted);margin:7px 0 0}
.lookahead{display:flex;align-items:center;gap:12px;max-width:65%;min-height:41px}.upcoming-title{font-size:7px;font-weight:800;letter-spacing:1px;white-space:nowrap;color:var(--muted)}.lookahead button{border:0;border-left:1px solid var(--line);background:none;text-align:left;padding:2px 0 2px 12px;min-width:85px;max-width:180px;min-height:37px}.lookahead b{display:block;font-size:13px;color:var(--green);font-weight:750;white-space:nowrap}.lookahead button span{display:block;max-width:165px;font-size:8px;line-height:1.5;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.panorama-plot{position:absolute;inset:57px 0 77px;overflow:hidden}.panorama #world-ticks{position:absolute;inset:0;pointer-events:none}.panorama .world-tick{left:0;right:0;padding:0;line-height:1;border-top:1px solid #ccd0c166;font-size:10px}.panorama .world-tick span{display:inline-block;width:73px;padding:5px 6px 0 0;text-align:right;background:var(--paper);color:#78826e;font-variant-numeric:tabular-nums}
.population-bars,.class-tags{position:absolute;left:var(--axis);right:18px;top:0;bottom:0}.population-bars:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent,transparent calc(10% - 1px),#d3d8c655 10%);pointer-events:none}.population-bar{position:absolute;top:0;bottom:0;--bar:#6e985d;--light:#abc891}.population-bar.is-negative{--bar:#ad4b3d;--light:#dba38b}
.population-fill,.tail-fill{position:absolute;left:.5px;width:calc(100% - 1px);min-width:0;top:0;height:0;padding:0;border:1px solid var(--bar);border-bottom-width:0;border-radius:0;background:repeating-linear-gradient(0deg,var(--light),var(--light) 17px,#f5f2e9c9 17px,#f5f2e9c9 18px);opacity:.86;transition:none}.population-fill.is-tiny{border:0}.population-bar.is-negative .population-fill{border-top:0;border-bottom-width:1px}.population-fill:hover,.population-fill:focus-visible,.tail-fill:hover,.tail-fill:focus-visible{filter:brightness(.8);outline:2px solid var(--ink);outline-offset:-2px;z-index:2}
.population-curve{position:absolute;left:var(--axis);top:0;width:calc(100% - var(--axis) - 18px);height:100%;overflow:hidden;pointer-events:none}.population-curve path{fill:none;stroke:#466f3d;stroke-width:1.8;vector-effect:non-scaling-stroke}
.panorama-zero{position:absolute;left:0;right:0;border-top:1px solid #627655;pointer-events:none;z-index:2}.panorama-zero span{position:absolute;left:0;top:4px;font-size:7px;letter-spacing:1px;background:var(--paper);padding:2px;color:var(--muted)}.panorama-zero[hidden]{display:none}.panorama-level{position:absolute;left:0;right:0;border-top:1px dashed #75836699;pointer-events:none;z-index:4}.panorama-level span{position:absolute;left:0;top:-10px;padding:3px 7px 3px 0;max-width:155px;font-size:13px;font-weight:800;line-height:1.3;color:var(--accent);background:var(--paper)}
.class-tags{pointer-events:none;z-index:3;overflow:visible}.class-tag{position:absolute;transform:translateX(-50%);width:max-content;max-width:190px;padding:5px 8px;border-radius:2px;background:#f5f2e9f5;box-shadow:0 2px 8px #35472612;font-size:10px;font-weight:800;line-height:1.4;letter-spacing:.8px;color:#48649a;white-space:nowrap}.class-tag small{display:block;font-size:8px;color:var(--muted);letter-spacing:0;font-weight:500;margin-top:2px}.class-tag i{position:absolute;left:50%;height:17px;bottom:-17px;border-left:1px solid currentColor}.class-tag i:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;bottom:-2px;left:-2px}.class-tag.label-left{transform:translateX(-85%)}.group-middle{color:#a46f27}.group-rich{color:#a6423d}.class-tag.group-negative{color:#a64a35;transform:none;font-size:8px;max-width:180px}.group-negative i{bottom:auto;top:-20px;height:20px;left:8px}.group-negative i:after{top:-2px;bottom:auto}.class-tag[hidden]{display:block;visibility:hidden}
.panorama-labels{position:absolute;left:0;right:0;bottom:25px;height:48px}.population-axis{position:absolute;left:var(--axis);right:18px;top:0;bottom:0;border-top:1px solid #aeb59d}.percent-tick{position:absolute;top:7px;transform:translateX(-50%);font-size:10px;color:#6d7565;font-variant-numeric:tabular-nums}.population-axis p{margin:28px 0 0;text-align:center;font-size:9px;letter-spacing:.3px;color:var(--muted)}.panorama-footnote{position:absolute;bottom:0;left:var(--axis);right:0;display:flex;justify-content:space-between;gap:16px;font-size:8px;color:var(--muted);line-height:1.5}
.scene-shell{position:absolute;left:5%;right:5%;top:auto;bottom:103px;height:232px;width:auto;max-width:none;display:block;overflow:visible;z-index:4}.scene{height:100%;max-height:none;max-width:none;margin:0;padding:20px 0 0;display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-content:start;background:none;border:0;border-top:1px solid var(--line);box-shadow:none;animation:none;overflow:auto;scrollbar-width:thin;scrollbar-color:#b4bea9 transparent;overflow-anchor:none}
.scene-head,.scene-body{min-width:0}.scene .scene-meta{font-size:8px;margin:0 0 10px;gap:7px;line-height:1.5}.scene .kind-tag{border:0;padding:0;color:var(--accent)}.scene .scene-date{font-size:8px}.scene h2{font-size:clamp(29px,2.8vw,43px);line-height:1.05;letter-spacing:-1.2px;margin:0 0 10px;max-width:700px}.scene .amount{font-size:clamp(27px,2.7vw,40px);line-height:1.1;letter-spacing:-1.5px;color:var(--accent);margin:0 0 7px}.scene .amount-sub{font-size:9px;line-height:1.5;margin:0;color:var(--muted)}.scene .scene-description{font-size:13px;line-height:1.8;max-width:none;margin:2px 0 0}.scene .scene-actions{display:flex;flex-wrap:wrap;gap:7px 20px;margin-top:13px}.scene .text-button{font-size:10px;min-height:30px}.story-portrait{float:right;width:50px;height:58px;object-fit:cover;object-position:center 25%;filter:grayscale(1);margin:0 0 9px 12px;border-radius:2px}.balance-line{font-size:10px;line-height:1.6;color:var(--muted)}.travel-panel .travel-stats{display:flex;gap:25px;border-top:1px solid var(--line);padding-top:12px;margin:14px 0 0}.travel-panel .travel-stats span{font-size:11px;line-height:1.6}.travel-panel .travel-stats b{display:block;font-size:16px;color:var(--green)}
.stage-bottom{bottom:12px;height:74px}.position strong{font-size:24px}.position>span:after{content:none}.global-progress{height:5px}.global-progress div{position:relative}.global-progress div:after{content:'';position:absolute;right:0;top:-3px;height:11px;width:2px;background:var(--green)}
@media(max-width:1000px){.world.panorama{--axis:65px}.scene{gap:25px}.scene h2{font-size:30px}.scene .amount{font-size:29px}.scene .scene-description{font-size:12px}.lookahead{gap:7px}.lookahead button{min-width:70px;padding-left:9px}.lookahead b{font-size:11px}.panorama .world-tick span{width:61px;font-size:9px}}
@media(max-width:760px){
.world.panorama{left:6%;right:6%;top:65px;bottom:337px;--axis:35px}.panorama-heading{height:55px;gap:10px}.panorama-heading .eyebrow{font-size:6px;letter-spacing:1px;margin-top:3px}.panorama-heading #frame-caption{font-size:6px;max-width:128px;line-height:1.5;margin-top:4px}.lookahead{gap:7px;max-width:63%;align-items:start}.upcoming-title{font-size:5px;letter-spacing:.4px;max-width:40px;white-space:normal;margin-top:6px}.lookahead button{min-width:50px;max-width:85px;padding:3px 0 3px 6px}.lookahead b{font-size:9px}.lookahead button span{font-size:6px;max-width:75px;line-height:1.5}
.panorama-plot{top:57px;bottom:77px}.panorama .world-tick{font-size:7px}.panorama .world-tick span{width:33px;font-size:6px;line-height:1.35;writing-mode:horizontal-tb;padding:4px 3px 0 0}.population-fill,.tail-fill{left:.3px;width:calc(100% - .6px);border-left-width:.3px;border-right-width:.3px}.panorama-level span{font-size:10px;top:-8px;max-width:125px}.panorama-zero span{font-size:6px}
.class-tag{font-size:7px;letter-spacing:.4px;padding:4px 5px;max-width:130px;line-height:1.4}.class-tag small{font-size:6px}.class-tag.group-negative{font-size:6px;max-width:125px}.class-tag i{height:14px;bottom:-14px}.group-negative i{top:-16px;height:16px;bottom:auto}.tail-above{font-size:8px}
.population-axis p{font-size:6px;line-height:1.5;margin-top:27px}.percent-tick{font-size:8px;top:8px}.percent-minor{display:none}.panorama-footnote{font-size:6px;line-height:1.5;left:0;display:block}.panorama-footnote #window-range{display:block;font-size:6px;margin-top:2px}
.scene-shell{left:6%;right:6%;bottom:100px;height:221px}.scene{padding-top:14px;gap:15px;grid-template-columns:.95fr 1.1fr}.scene .scene-meta{font-size:6px;gap:4px;line-height:1.5;margin-bottom:8px}.scene .scene-date{font-size:6px}.scene h2{font-size:23px;line-height:1.07;letter-spacing:-.6px;margin-bottom:9px}.scene .amount{font-size:23px;letter-spacing:-.8px;margin-bottom:6px}.scene .amount-sub{font-size:7px;line-height:1.5}.scene .scene-description{font-size:10px;line-height:1.7}.scene .scene-actions{gap:6px 12px;margin-top:9px}.scene .text-button{font-size:8px;min-height:26px}.story-portrait{width:33px;height:39px;margin-left:7px}.stage-bottom{height:73px;bottom:10px}.position strong{font-size:19px}.travel-panel .travel-stats{gap:13px;margin-top:10px;padding-top:9px}.travel-panel .travel-stats span{font-size:8px}.travel-panel .travel-stats b{font-size:11px}
}
@media(max-height:760px) and (min-width:761px){.world.panorama{bottom:302px}.scene-shell{height:181px}.scene{padding-top:12px;gap:25px}.scene h2{font-size:29px}.scene .amount{font-size:29px}.scene .scene-description{font-size:11px;line-height:1.65}.scene .scene-actions{margin-top:9px}.scene .text-button{min-height:25px}}
@media(max-height:740px) and (max-width:760px){.world.panorama{bottom:290px}.scene-shell{height:176px;bottom:96px}.scene{padding-top:10px;gap:12px}.scene h2{font-size:21px}.scene .amount{font-size:21px}.scene .scene-description{font-size:9px;line-height:1.6}.scene .scene-meta{margin-bottom:6px}.scene .text-button{font-size:7px;min-height:24px}.story-portrait{width:29px;height:34px}.stage-bottom{height:68px}}

.tag-below i:after{top:-2px;bottom:auto}

.population-help{display:block;font:650 8px var(--sans);padding:3px 0 0;margin:3px 0 0;border:0;border-bottom:1px solid #b9c3ad;background:none;color:var(--green);min-height:18px}.population-help:focus-visible{outline:2px solid var(--ink);outline-offset:3px}@media(max-width:760px){.population-help{font-size:6px;min-height:15px;padding-top:2px;margin-top:2px}}

.extreme-rail{position:absolute;left:var(--axis);right:18px;top:0;bottom:0;pointer-events:none;z-index:5}.extreme-spine{position:absolute;left:calc(99.5% - 1px);width:3px;border-left:2px dashed #b28a41;background:#d9c38a55}.extreme-level{position:absolute;left:99.5%;height:0;width:0}.extreme-level>i{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:#93722e;outline:2px solid var(--paper)}.extreme-label{position:absolute;right:12px;top:-20px;min-width:120px;max-width:205px;border:0;border-right:2px solid #ab914e;background:#f5f2e9f5;padding:4px 8px 4px 6px;text-align:right;line-height:1.3;pointer-events:auto;box-shadow:0 1px 8px #4e5b2a10}.extreme-label small{display:block;font-size:5px;letter-spacing:.7px;color:var(--muted)}.extreme-label b{display:block;font-size:11px;font-weight:800;color:#6d6736}.extreme-label span{display:block;font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.extreme-level[hidden]{display:none}.label-suppressed .extreme-label{visibility:hidden}@media(max-width:760px){.extreme-label{min-width:100px;max-width:150px;right:9px;padding:4px 6px;top:-19px}.extreme-label b{font-size:9px}.extreme-label span{font-size:6px}.extreme-label small{font-size:5px}.extreme-spine{border-left-width:1px;width:2px}.extreme-level>i{width:4px;height:4px;left:-2px;top:-2px}}

/* The journey cursor follows the curve and continues on the extreme's rail. */
.panorama-level>span{display:none}
.current-marker{position:absolute;width:1px;height:1px;z-index:8;pointer-events:none;color:#b44b35}
.current-dot{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:16px;height:16px;border:3px solid var(--paper);border-radius:50%;background:currentColor;box-shadow:0 0 0 1px currentColor,0 0 0 5px #b44b351a}
.current-guide{position:absolute;left:0;top:0;border-left:1px dashed #b44b3566;pointer-events:none}
.current-leader{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.current-leader path{stroke:#b44b35;stroke-width:1;fill:none;opacity:.75}
.current-label{position:absolute;width:148px;padding:9px 12px 10px;background:var(--ink);color:var(--paper);border-radius:3px;box-shadow:0 3px 14px #172d2525;font-family:var(--sans);line-height:1.25;text-align:left}
.current-label>span{display:block;font-size:7px;font-weight:750;letter-spacing:1.2px;color:#e6bd72;margin-bottom:4px}.current-label>strong{display:block;font-size:15px;font-weight:750;letter-spacing:-.3px;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:760px){.current-label{width:126px;padding:8px 10px}.current-label>span{font-size:6px;letter-spacing:.8px;margin-bottom:3px}.current-label>strong{font-size:12px;letter-spacing:-.1px}.current-dot{width:14px;height:14px;border-width:2px;box-shadow:0 0 0 1px currentColor,0 0 0 4px #b44b351a}}

.current-marker[hidden]{display:none}

/* A quarter of the population is visible; the overview keeps global context. */
.population-bars{overflow:hidden}.population-bars:before{display:none}
.population-grid{position:absolute;left:var(--axis);right:18px;top:0;bottom:0;pointer-events:none;overflow:hidden}
.population-grid i{position:absolute;top:0;bottom:0;border-left:1px solid #d3d8c655}
.axis-context{position:absolute;left:0;right:0;top:27px;display:flex;justify-content:center;align-items:center;gap:22px;min-height:17px;color:var(--muted);font-size:9px}
.window-map{display:flex;align-items:center;gap:6px;width:180px;flex-shrink:0;font-size:8px;font-variant-numeric:tabular-nums}
.window-track{position:relative;flex:1;height:6px;border-radius:2px;background:#e0e4d6}
.window-track i{position:absolute;top:0;bottom:0;width:25%;background:#8da477;border-radius:2px}
.window-track b{position:absolute;top:-2px;bottom:-2px;width:2px;background:#b44b35}
@media(max-width:760px){.percent-minor{display:block}.axis-context{top:26px;gap:10px;font-size:6px;line-height:1.5}.window-map{width:100px;gap:3px;font-size:6px}.window-track{height:4px}}


/* Chart typography and spacing: readable labels at desktop and phone widths. */
.world.panorama{--axis:96px}
.panorama-heading{height:76px;gap:24px}
.panorama-heading>div:first-child{min-width:0;flex:1}
.panorama-heading .eyebrow{font-size:12px;letter-spacing:1.2px;line-height:1.4}
.panorama-heading #frame-caption{font-size:12px;line-height:1.45;margin-top:6px;color:#586253}
.population-help{font-size:12px;min-height:24px;margin-top:5px}
.lookahead{gap:14px;max-width:63%;min-height:60px}
.upcoming-title{font-size:10px;letter-spacing:.7px}
.lookahead button{min-width:110px;max-width:205px;padding:4px 0 4px 12px}
.lookahead b{font-size:16px;line-height:1.35}
.lookahead button span{font-size:11px;max-width:185px;line-height:1.45;color:#586253}
.panorama-plot{top:84px;bottom:100px}
.panorama .world-tick,.panorama .world-tick span{font-size:12px;line-height:1.35}
.panorama .world-tick span{width:90px;padding:5px 6px 0 0;color:#586253}
.panorama-zero span{font-size:10px;letter-spacing:.7px}
.class-tag{font-size:12px;letter-spacing:.5px;padding:6px 9px;max-width:235px}
.class-tag small{font-size:11px;color:#586253}
.class-tag.group-negative{font-size:11px;max-width:225px}
.panorama-labels{bottom:29px;height:63px}
.percent-tick{font-size:12px;top:8px;color:#586253}
.axis-context{top:32px;font-size:11px;gap:18px;color:#586253}
.window-map{font-size:10px;width:180px}
.panorama-footnote{font-size:11px;color:#586253;gap:20px}
.extreme-label{min-width:150px;max-width:235px;padding:6px 9px;top:-28px}
.extreme-label small{font-size:8px;letter-spacing:.4px}
.extreme-label b{font-size:14px;line-height:1.4}
.extreme-label span{font-size:11px;color:#586253}
.current-label{width:178px;padding:10px 12px 11px}
.current-label>span{font-size:9px;letter-spacing:.9px}
.current-label>strong{font-size:18px}
.stage-top{font-size:11px;letter-spacing:1.1px}
.base-label{font-size:10px}
.position>span{font-size:10px;letter-spacing:.8px}
.journey-controls>span{font-size:10px}
@media(min-width:761px) and (max-width:1100px){
 .panorama-heading{gap:14px}.lookahead{gap:10px;max-width:59%}.lookahead button{min-width:100px;max-width:170px}.lookahead b{font-size:14px}.lookahead button span{font-size:10px}
 .upcoming-title{white-space:normal;max-width:65px;line-height:1.4}
}
@media(max-width:760px){
 .world.panorama{--axis:60px}
 .panorama-heading{height:86px;gap:12px}
 .panorama-heading .eyebrow{font-size:11px;letter-spacing:.6px;line-height:1.4;margin-top:2px}
 .panorama-heading #frame-caption{font-size:10px;max-width:none;line-height:1.4;margin-top:4px}
 .population-help{font-size:11px;min-height:22px;line-height:1.4;margin-top:4px}
 .lookahead{display:grid;gap:4px;flex:0 0 46%;max-width:46%;min-height:0}
 .upcoming-title{font-size:9px;max-width:none;margin:2px 0 0;white-space:normal;line-height:1.4;letter-spacing:.4px}
 .lookahead button{min-width:0;max-width:none;padding:2px 0 2px 8px}
 .lookahead b{font-size:13px;line-height:1.4}
 .lookahead button span{font-size:10px;max-width:100%;line-height:1.45}
 .panorama-plot{top:94px;bottom:132px}
 .panorama .world-tick,.panorama .world-tick span{font-size:10px;line-height:1.3}
 .panorama .world-tick span{width:56px;padding:4px 4px 0 0;writing-mode:horizontal-tb}
 .panorama-zero span{font-size:9px;letter-spacing:.4px}
 .class-tag{font-size:10px;letter-spacing:.3px;max-width:175px;padding:5px 7px;line-height:1.4}
 .class-tag small{font-size:9px}
 .class-tag.group-negative{font-size:9px;max-width:170px}
 .panorama-labels{bottom:52px;height:72px}
 .percent-tick{font-size:10px;top:8px}
 .axis-context{top:29px;font-size:10px;line-height:1.4;flex-direction:column;gap:5px;min-height:0;text-align:center}
 .window-map{width:120px;font-size:9px;gap:5px}
 .panorama-footnote{font-size:9px;line-height:1.45;left:0;display:block}
 .panorama-footnote #window-range{font-size:9px;line-height:1.45;margin-top:3px}
 .extreme-label{min-width:130px;max-width:175px;right:10px;padding:5px 7px;top:-26px}
 .extreme-label small{font-size:8px}.extreme-label b{font-size:12px}.extreme-label span{font-size:10px}
 .current-label{width:150px;padding:9px 10px}
 .current-label>span{font-size:8px;letter-spacing:.5px}
 .current-label>strong{font-size:15px;letter-spacing:-.2px}
 .stage-top{font-size:10px;letter-spacing:.6px}
 .stage-top .stage-language{font-size:10px}
 .position>span{font-size:8px;letter-spacing:.5px}
 .advance-button{font-size:11px}
}
@media(max-height:740px) and (max-width:760px){
 .lookahead{display:none}
 .panorama-heading{height:56px}
 .panorama-plot{top:62px;bottom:112px}
 .panorama-labels{bottom:43px;height:61px}
 .axis-context{top:26px;gap:3px}
}
@media(max-height:640px) and (max-width:760px){
 .world.panorama{bottom:250px}.scene-shell{height:136px}
}
@media(max-height:680px) and (min-width:761px){
 .world.panorama{top:70px;bottom:238px}.scene-shell{height:132px;bottom:90px}.scene{padding-top:10px}
}
@media(max-width:760px){
 .class-tag{padding:4px 6px}
 .stage-bottom{gap:12px}
 .position{min-width:0;flex:1}.position>span{max-width:120px}
 .position strong{display:block;font-size:clamp(15px,4.3vw,19px);white-space:nowrap;letter-spacing:-.5px}
 .journey-controls{max-width:50%;flex:0 0 auto}
 .advance-button{min-width:0;width:145px;max-width:100%;padding:11px 9px}
}
.class-tag:not(.tag-below) i:after{top:auto;bottom:-2px}

.class-tags{z-index:6}
.class-tag.group-negative{transform:translateX(-50%)}

/* The last column extends to the current amount above the population mean. */
.extreme-growth{position:absolute;border:1px solid #466f3d;border-top:2px solid #466f3d;border-bottom:0;background:repeating-linear-gradient(0deg,#a4c28b,#a4c28b 17px,#f5f2e9e6 17px,#f5f2e9e6 18px);opacity:.95}
.extreme-growth[hidden]{display:none}

.encounter-navigation{display:flex;align-items:stretch;gap:10px}
.advance-button[hidden]{display:none}
.previous-button{background:transparent;color:var(--green);border:1px solid var(--green)}
.previous-button span{margin-left:0;margin-right:6px}
@media(max-width:760px){
 .stage-bottom .position{display:none}
 .stage-bottom .journey-controls{max-width:none;flex:1;width:100%}
 .encounter-navigation{gap:8px;width:100%}
 .encounter-navigation .advance-button{flex:1;width:auto;max-width:none;min-width:0;min-height:44px;padding:11px 8px;font-size:11px;line-height:1.4}
}

/* A non-modal spotlight guide: the page remains scrollable underneath. */
.journey-guide{position:fixed;inset:0;z-index:40;pointer-events:none}
.journey-guide[hidden]{display:none}
.guide-shade{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.guide-scrim{fill:#142a24a6}
#guide-outline{fill:none;stroke:#e9c983;stroke-width:2}
.guide-card{position:absolute;width:min(360px,calc(100vw - 24px));max-height:calc(100svh - 24px);overflow-y:auto;padding:18px;background:var(--paper);color:var(--ink);border:1px solid #c1c8b1;border-radius:10px;box-shadow:0 16px 70px #081d2355;pointer-events:auto}
.guide-top{height:24px;display:flex;align-items:center;padding-right:112px;color:#56674e;font-size:10px;font-weight:750;letter-spacing:1px;white-space:nowrap}
.guide-close{position:absolute;top:3px;right:3px;width:44px;height:44px;border:0;background:none;color:#61705a;font-size:25px;border-radius:5px}
.guide-illustration{position:absolute;top:13px;right:55px;width:65px;height:34px;color:var(--green)}
.guide-illustration svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.guide-illustration g{display:none}
[data-step=curve] .guide-icon-scroll,[data-step=value] .guide-icon-value,[data-step=stories] .guide-icon-stories{display:block}
.guide-wheel{animation:guide-scroll-wheel 1s ease-in-out 3}
.guide-copy{margin-top:10px}
.guide-copy h2{font-family:var(--serif);font-weight:500;font-size:27px;line-height:1.1;letter-spacing:-.6px;margin:0}
.guide-copy p{font-size:13px;line-height:1.6;color:#50604d;margin:10px 0 0}
.guide-dots{display:flex;gap:5px;margin:13px 0;height:4px}
.guide-dots i{height:4px;width:20px;border-radius:3px;background:#d5dac9}
.guide-dots i.active{background:var(--green);width:36px}
.guide-navigation{display:flex;gap:9px;justify-content:flex-end}
.guide-navigation button{font-size:12px;min-height:44px;border-radius:4px;padding:10px 15px}
.guide-navigation button[hidden]{display:none}
.guide-primary{border:1px solid var(--green);background:var(--green);color:var(--paper);flex:1;font-weight:700}
.guide-secondary{border:1px solid #b5bea5;background:none;color:var(--green)}
.guide-skip{display:block;min-height:32px;margin:4px auto 0;padding:5px 10px;background:none;border:0;text-decoration:underline;text-underline-offset:3px;font-size:11px;color:#5a6952}
.guide-pointer{position:absolute;left:var(--pointer-x);width:12px;height:12px;background:var(--paper);transform:translateX(-50%) rotate(45deg)}
[data-side=below] .guide-pointer{top:-7px;border-left:1px solid #c1c8b1;border-top:1px solid #c1c8b1}
[data-side=above] .guide-pointer{bottom:-7px;border-right:1px solid #c1c8b1;border-bottom:1px solid #c1c8b1}
.guide-overlap .guide-pointer{display:none}
@keyframes guide-scroll-wheel{0%,100%{transform:translateY(0);opacity:1}70%{transform:translateY(6px);opacity:.3}}
@media(max-width:760px){.guide-card{padding:16px}.guide-copy h2{font-size:24px}.guide-copy p{font-size:12px;line-height:1.55}.guide-dots{margin:11px 0}.guide-top{font-size:9px}.guide-skip{min-height:30px}}

.guide-card :focus-visible{outline:2px solid var(--red);outline-offset:3px}
