﻿/* Guide-only styles; the shared RUN palette and panels stay unchanged. */
.guide-root{max-width:960px;font-size:14px;line-height:1.9;padding-bottom:32px}
.guide-root .topbar{gap:12px}.guide-root .brand{font-size:12px;letter-spacing:.08em;white-space:nowrap}
.guide-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--theme-ink,#53645a);font-size:12px;text-decoration:none}
.guide-root a:focus-visible{outline:3px solid #558eaf;outline-offset:3px}
.guide-root .guide-finale{display:block;color:var(--ink);font-size:14px;letter-spacing:normal}
.guide-hero,.guide-finale{padding:clamp(20px,4vw,38px);margin-top:24px}
.guide-root .guide-hero h1{font-size:clamp(25px,4vw,40px);line-height:1.5;letter-spacing:-.04em;margin:8px 0 18px}
.guide-hero h1 span{display:block;color:var(--theme-forest,#2d795d)}.guide-root p{margin:12px 0;overflow-wrap:anywhere}
.guide-root .eyebrow{margin:0;font-size:10px;line-height:1.7}.guide-lead{font-size:16px;font-weight:600}.guide-hero>p:not(.eyebrow){max-width:710px}
.guide-goals{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.guide-goals>span{border:1px solid var(--line);border-radius:9px;padding:8px 14px;font-size:12px;background:var(--theme-tint-forest,#f3f6ed)}.guide-goals strong{font-size:18px;margin-right:4px;color:var(--theme-forest,#2d795d)}.guide-goals>span:last-child{background:var(--theme-raised,#f7f3eb)}.guide-goals>span:last-child strong{color:var(--theme-fire,#8b6249)}
.guide-root .guide-button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;max-width:340px;width:100%;padding:10px 18px;border:1px solid var(--theme-forest,#2d795d);border-radius:9px;text-decoration:none;font-weight:800;line-height:1.6;text-align:center}
.guide-root .guide-caption{font-size:12px;color:var(--theme-muted,#65746b);line-height:1.8}.guide-root .guide-hero .guide-caption{margin-bottom:0}
.guide-toc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:18px 0 24px}.guide-toc a{display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;text-decoration:none;color:var(--theme-ink,#46584c);background:var(--theme-paper,#fffefa);font-size:12px}.guide-toc a span{font-size:10px;font-weight:800;color:var(--theme-muted,#7b8c7d)}
.guide-section{padding:clamp(18px,3vw,30px);margin-top:16px;scroll-margin-top:18px}.guide-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.guide-number{display:grid;place-items:center;flex:0 0 40px;height:40px;border:1px solid var(--theme-line,#d7e4d7);border-radius:10px;background:var(--theme-tint-forest,#edf3e9);color:var(--theme-forest,#2d795d);font-size:15px;font-weight:800}
.guide-root .guide-heading h2{font-size:21px;line-height:1.5;margin:3px 0 0}.guide-root h3{font-size:15px;line-height:1.6;margin:0 0 8px}.guide-root .guide-subheading{margin:24px 0 12px}.guide-note{padding:14px 16px;border:1px solid var(--theme-line,#dce6d8);border-radius:10px;background:var(--theme-tint-forest,#f3f6ef);line-height:1.9;font-size:13px;overflow-wrap:anywhere}.guide-note>a{display:block;min-height:44px;padding-top:10px;color:var(--theme-forest,#2d795d);font-weight:700}.guide-note strong{color:var(--theme-forest,#326c4f)}
.guide-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;list-style:none;padding:0;margin:20px 0}.guide-flow li{position:relative;min-width:0;padding:13px 10px;border:1px solid var(--line);border-radius:10px;background:var(--theme-raised,#faf9f3)}.guide-flow li:not(:last-child)::after{content:'→';position:absolute;right:-17px;top:52px;color:var(--theme-muted,#829681);font-weight:800}.guide-step{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--theme-tint-forest,#e7efe3);color:var(--theme-forest,#326c4f);font-size:11px;font-weight:800;margin-bottom:8px}.guide-root .guide-flow h3{font-size:12px;overflow-wrap:anywhere}.guide-root .guide-flow p{font-size:12px;margin:0;line-height:1.8}.guide-loop{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;font-size:12px;font-weight:800;color:var(--theme-forest,#326c4f);padding:10px 0}
.guide-faces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;list-style:none;padding:0;margin:12px 0 20px}.guide-faces li{display:flex;flex-direction:column;min-width:0;min-height:127px;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--theme-paper,#fffefa)}.guide-faces li>span{font-size:10px;color:var(--theme-muted,#7b877c);margin-bottom:7px}.guide-faces strong{font-size:14px;line-height:1.65}.guide-faces small{display:block;font-size:11px;color:var(--theme-muted,#65746b);line-height:1.7;margin:5px 0 8px}.guide-faces em{margin-top:auto;font-size:11px;font-weight:700;font-style:normal;color:var(--theme-gold,#846327)}
.guide-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}.guide-product{padding:16px;min-width:0}.guide-product .eyebrow{font-size:9px;margin-bottom:10px}.guide-product h3{font-size:14px}.guide-product p:not(.eyebrow){font-size:12px;min-height:24px}.guide-product>div{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:10px;font-size:11px;color:var(--theme-gold,#846327)}.guide-product>div strong{color:var(--theme-forest,#326c4f);font-size:16px}
.guide-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.guide-action,.guide-identity{padding:18px;border:1px solid var(--line);border-radius:11px;min-width:0}.guide-root .guide-action p,.guide-root .guide-identity p{font-size:13px}.guide-action-label{display:block;font-size:11px;font-weight:800;margin-bottom:7px;color:var(--theme-forest,#2d795d)}.guide-replace .guide-action-label{color:var(--theme-gold,#9a681b)}.guide-demo-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border-radius:9px;background:#2d795d;color:white;font-size:13px;font-weight:800}.guide-replace .guide-demo-button{background:#9a681b}.guide-levels{display:flex;flex-wrap:wrap;gap:7px;font-size:12px;margin:14px 0;color:var(--theme-forest,#326c4f)}
.guide-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}.guide-tools>div{padding:14px;border:1px solid var(--line);border-radius:10px}.guide-tools dt{display:flex;justify-content:space-between;gap:8px;font-size:13px;font-weight:800}.guide-tools dt span{color:var(--theme-gold,#846327);white-space:nowrap}.guide-tools dd{margin:6px 0 0;font-size:12px;color:var(--theme-muted,#65746b);line-height:1.8}
.guide-cost-examples{max-width:500px;margin:18px 0}.guide-cost-examples>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.guide-cost-examples dd{margin:0;font-size:12px;color:var(--theme-gold,#846327);white-space:nowrap}.guide-cost-meter{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;border:1px solid var(--theme-line,#dce6d8);border-radius:10px;background:var(--theme-tint-forest,#f3f6ef);padding:16px;margin:18px 0}.guide-cost-meter>span,.guide-cost-meter small{font-size:11px;color:var(--theme-muted,#65746b)}.guide-cost-meter strong{font-size:17px}.guide-cost-meter strong span{color:var(--theme-gold,#846327)}
.guide-battle-example{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:18px;padding:20px 0;margin:18px 0}.guide-battle-example>div{min-width:0}.guide-battle-example>div>span,.guide-battle-example>div>strong{display:block}.guide-battle-example strong{font-size:15px}.guide-battle-example span{font-size:12px;color:var(--theme-muted,#65746b)}.guide-hp{height:6px;border-radius:6px;background:var(--theme-tint-forest,#e7eee2);margin-top:10px;overflow:hidden}.guide-hp i{display:block;height:100%;width:100%;background:#4f9b71}.guide-hp-opponent i{width:85%;background:#b08b56}.guide-hit{text-align:center}.guide-battle-example .guide-hit span{font-size:13px;color:var(--theme-gold,#9a681b);font-weight:800}.guide-hit b{margin-left:4px}
.guide-elements,.guide-marks{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.guide-elements span,.guide-marks span{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:10px;font-weight:800}.guide-elements span:nth-child(1){background:var(--theme-raised,#f5e8de);color:var(--theme-fire,#9c593f)}.guide-elements span:nth-child(2){background:var(--theme-tint-water,#e6eff3);color:var(--theme-water,#47758a)}.guide-elements span:nth-child(3){background:var(--theme-tint-forest,#e8f0e2);color:var(--theme-forest,#587b43)}.guide-marks{font-size:21px}
.guide-evolution-diagram{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:center;margin:24px 0;text-align:center}.guide-evolution-diagram strong{font-size:13px}.guide-mini-faces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}.guide-mini-faces i{display:grid;place-items:center;min-height:38px;border:1px solid var(--line);border-radius:7px;background:var(--theme-raised,#f8f8f0);font-size:11px;font-style:normal;color:var(--theme-muted,#65746b)}.guide-evolution-diagram>div:last-child i{background:var(--theme-tint-forest,#edf4e8);border-color:var(--theme-line,#d6e3d1);color:var(--theme-forest,#326c4f)}.guide-evolve-arrow{color:var(--theme-forest,#326c4f);font-size:12px;font-weight:800}.guide-evolve-arrow b{display:block;font-size:22px;line-height:1.3}
.guide-discoveries{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:20px 0}.guide-discoveries li{padding:7px 14px;border:1px solid var(--line);border-radius:99px;background:var(--theme-raised,#f8f7ef);font-size:12px}.guide-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.guide-results>div{padding:20px;border:1px solid var(--theme-line,#dce6d8);border-radius:12px;background:var(--theme-tint-forest,#f3f6ed);text-align:center}.guide-results>div>*{display:block}.guide-results strong{font-size:30px;line-height:1.4;color:var(--theme-forest,#2d795d)}.guide-results span{font-size:12px;font-weight:800;letter-spacing:.06em}.guide-results small{font-size:12px;color:var(--theme-muted,#65746b);margin-top:8px}.guide-results>div:last-child{background:var(--theme-raised,#f7f3eb);border-color:var(--line)}.guide-results>div:last-child strong{color:var(--theme-fire,#8b6249)}
.guide-root .guide-finale h2{font-size:clamp(20px,3vw,27px);line-height:1.6;margin:12px 0}.guide-finale>p:not(.eyebrow){font-size:14px;max-width:680px}.guide-finale .guide-button{margin-top:14px}.guide-root .guide-secondary{background:transparent;border-color:var(--line);color:var(--theme-ink,#53645a)}
@media(max-width:680px){.guide-root{font-size:13px}.guide-root .guide-heading h2{font-size:19px}.guide-flow{grid-template-columns:minmax(0,1fr);gap:24px}.guide-flow li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:0 10px;padding:13px 16px}.guide-flow .guide-step{grid-row:1/3;margin:2px 0 0}.guide-root .guide-flow h3{font-size:13px;margin-bottom:3px}.guide-flow li p{grid-column:2}.guide-flow li:not(:last-child)::after{content:'↓';top:auto;bottom:-25px;right:calc(50% - 7px)}.guide-faces{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-products,.guide-two-columns,.guide-tools{grid-template-columns:minmax(0,1fr)}.guide-product p:not(.eyebrow){min-height:0}.guide-toc a{padding:8px;gap:6px;font-size:11px}.guide-number{flex-basis:34px;height:34px;font-size:13px}.guide-heading{gap:10px}.guide-battle-example{grid-template-columns:minmax(0,1fr);gap:14px;padding:15px;border:1px solid var(--line);border-radius:10px}.guide-hit b{display:inline-block;transform:rotate(90deg)}.guide-evolution-diagram{gap:10px}.guide-results>div{padding:16px 8px}.guide-results strong{font-size:24px}.guide-goals{gap:7px}.guide-goals>span{padding:7px 9px}.guide-faces li{padding:11px}.guide-faces strong{font-size:12px}.guide-hero,.guide-finale{margin-top:16px}.guide-root .topbar{height:60px}}
@media(max-width:360px){.guide-toc{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-root .brand{font-size:11px}.guide-back{font-size:11px}.guide-hero,.guide-finale{padding:18px}.guide-root .guide-hero h1{font-size:25px}.guide-lead{font-size:14px}.guide-section{padding:16px}.guide-faces{gap:7px}.guide-root .guide-heading h2{font-size:18px}.guide-results strong{font-size:22px}.guide-evolution-diagram strong{font-size:12px}}
