/* One icon scale and responsive layout rules shared by all mobile sections. */
.ui-arrow{display:inline-block;width:1em;height:1em;flex:0 0 1em;vertical-align:-.12em;overflow:visible;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.button,.nav-button{gap:16px}.chapter .arrow{display:grid;place-items:center;line-height:1}.mini-line{float:none;display:block;font-size:inherit;line-height:1;margin:24px 0;width:110px;height:36px}.mini-line svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6}.dialog-toolbar{display:contents}
@media(max-width:700px){
 html{scroll-padding-top:76px}header{height:72px;padding:0 20px;gap:12px}.brand-group{min-width:0}.owner-line{font-size:8px;gap:4px}.owner-line a{font-size:9px;white-space:nowrap}header nav{font-size:11px;flex-shrink:0}.brand span{font-size:9px}.brand{font-size:24px}
 .section{padding:60px 20px}.section-heading{margin-bottom:28px}.section-heading .eyebrow{margin-bottom:18px}.section-heading h2{font-size:clamp(28px,7.8vw,43px);letter-spacing:-1.3px}.section-heading>p{font-size:13px;line-height:1.8}.editorial-line{max-width:100%;white-space:normal;overflow-wrap:break-word}
 .hero{padding-left:20px;padding-right:20px}.hero-copy{margin-top:64px}.academy-title{font-size:clamp(46px,14vw,86px);letter-spacing:-2.5px}.hero-copy .intro{font-size:13px;max-width:100%}.hero-bottom{left:20px;right:20px;gap:16px;align-items:center}.hero-bottom a{display:flex;align-items:center;gap:8px;white-space:nowrap}.hero-bottom .ui-arrow{font-size:12px}.button{padding:16px 20px;min-height:48px;font-size:12px;max-width:100%;gap:16px;justify-content:space-between}.button .ui-arrow{width:16px;height:16px;flex-basis:16px}
 .chapter{grid-template-columns:22px minmax(0,1fr) 20px;gap:12px;padding:22px 0}.chapter:hover{padding-left:0}.chapter>div{min-width:0}.chapter h3{font-size:clamp(16px,4.5vw,20px);line-height:1.4;letter-spacing:-.5px}.chapter p{font-size:12px;line-height:1.6}.chapter .arrow{font-size:18px;align-self:center}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.filters button{min-height:44px;font-size:11px;text-align:left}
 .network-description{font-size:clamp(9px,2.55vw,14px)!important;letter-spacing:-.1px}.network-stage{gap:6px}.node{width:20%;min-width:0;padding:0}.node>span{width:100%;max-width:56px;height:56px;font-size:24px}.node b{font-size:10px;line-height:1.5;min-height:30px;margin:12px 0 4px}.node small{font-size:7px;letter-spacing:0}.network-line{top:28px}.network-detail h3{font-size:23px;line-height:1.35}.transfer-check{padding:20px}.transfer-check h3{line-height:1.35}.transfer-check>div:last-child{grid-template-columns:minmax(0,1fr);gap:18px}.transfer-check select,.network-search input{font-size:16px;padding:12px;min-height:48px}.transfer-check label{font-size:12px}#networkCount{margin-bottom:0}
 .trade-tabs{gap:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.trade-tabs button{font-size:11px;padding:14px 7px;line-height:1.6}.chart-options{flex-wrap:wrap}.chart-options label{min-width:120px}.chart-options select{font-size:12px;min-height:44px}.chart-controls{display:grid;grid-template-columns:1fr 44px 44px 1fr;gap:8px}.chart-controls button{min-height:44px;padding:9px;font-size:11px}.chart-controls .ui-arrow{font-size:16px}.chart-controls input{grid-column:1/-1;grid-row:2;width:100%;min-height:32px;min-width:0;margin:0}.chart-controls span{grid-column:1/-1}.trade-levels,.execution-stats,.portfolio-stats,.sim-stats,.sim-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trade-levels>div,.execution-stats>div,.portfolio-stats>div,.sim-stats>div{min-width:0}.trade-levels span,.execution-stats span,.portfolio-stats span,.sim-stats span,.sim-result-grid span{font-size:9px;letter-spacing:.3px;overflow-wrap:anywhere}.trade-levels b,.execution-stats b,.portfolio-stats b,.sim-stats b,.sim-result-grid b{font-size:clamp(16px,4.7vw,23px);white-space:normal;overflow-wrap:anywhere}.portfolio-stats>div:first-child b{font-size:clamp(20px,5.5vw,28px)}.portfolio-stats,.sim-result-grid{padding:18px;gap:22px 16px}.execution-inputs,.input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.execution-inputs input,.portfolio-inputs input,.input-grid input{min-width:0;width:100%;font-size:18px}.execution-inputs label,.portfolio-inputs label{line-height:1.6}
 .sim-notice strong{min-width:0;line-height:1.6}.sim-toolbar .button{min-width:0}.sim-actions{grid-template-columns:1fr}.sim-actions button{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:13px;min-height:48px;padding:14px 16px}.sim-actions .ui-arrow{font-size:16px}.sim-actions p{font-size:12px}.sim-table,.trade-ledger{font-size:12px}.sim-rules summary,.candle-record summary,.method summary{line-height:1.6;gap:16px;min-height:44px;align-items:center}.hindsight-heading h3{line-height:1.35}
 .strategy-grid article{min-width:0}.strategy-grid article>p{clear:both;line-height:1.8}.mini-line{float:none;margin:18px 0 24px;width:100px;height:32px}.strategy-grid article>button{min-height:44px;display:inline-flex;align-items:center;gap:14px;line-height:1.5}.strategy-grid article>button .ui-arrow{font-size:16px}.glossary{grid-template-columns:1fr;gap:0}.term{padding:24px 0}.term h3{font-size:20px}.term p,.term-example p{font-size:13px;line-height:1.8}.search-label input{font-size:16px;min-height:48px}
 .source-links a{display:block;font-size:12px;line-height:1.8;padding:18px 0}.source-copy{line-height:1.8}.owner-sentence{font-size:clamp(9px,2.6vw,13px)}footer{margin:0 20px;gap:22px}footer p{line-height:1.8}.outline{min-height:48px;font-size:12px;line-height:1.5}
 dialog{padding:0;width:calc(100% - 24px);max-width:600px;max-height:90svh;overflow:hidden}dialog[open]{display:flex;flex-direction:column}.dialog-toolbar{display:flex;justify-content:flex-end;flex:0 0 58px;padding:7px 12px;background:var(--white);border-bottom:1px solid #d3d3cc}.close{position:static;float:none;margin:0;width:44px;height:44px;display:grid;place-items:center;padding:0;font-size:22px;line-height:1}#lessonContent{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:24px 20px 32px}dialog h2{font-size:clamp(25px,7vw,34px);line-height:1.2;letter-spacing:-1px}dialog h3{font-size:22px;line-height:1.4}.lesson-question{padding:14px;margin:24px 0}.lesson-question h4{font-size:15px;line-height:1.6}.mc-option{padding:12px 10px;gap:10px;min-height:48px;font-size:13px;line-height:1.65}.mc-option>span:last-child{min-width:0;overflow-wrap:anywhere}.choice-letter{flex-basis:24px;height:24px;font-size:11px}.mc-feedback{padding:14px}.lesson-links{overflow-wrap:anywhere;line-height:1.9}
}
@media(max-width:360px){header{padding:0 14px}.section{padding-left:16px;padding-right:16px}.brand-group{gap:8px}.brand span{font-size:8px;letter-spacing:1px}.owner-line a{font-size:8px}header nav{font-size:10px}.trade-tabs button{font-size:10px}.ohlc{grid-template-columns:repeat(2,minmax(0,1fr))}#riskResult{grid-template-columns:1fr;gap:18px}.network-description{font-size:9px!important}.owner-sentence{font-size:9px}#lessonContent{padding:20px 14px 28px}}
@media(max-width:700px){#simChart:not(:has(polyline)){min-width:0;width:100%}.strategy-grid ul{line-height:1.8}.term-example .eyebrow{font-size:9px}}
.back-to-top{display:inline-flex;align-items:center;gap:10px}.back-to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.back-to-top:focus-visible{outline:2px solid #aaa;outline-offset:4px}@media(max-width:700px){footer .back-to-top{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:40;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #555;border-radius:12px;background:#111e;color:#f5f5f2;backdrop-filter:blur(12px);box-shadow:0 4px 18px #0003;transition:background .2s,transform .2s;touch-action:manipulation}footer .back-to-top span{display:none}footer .back-to-top svg{width:21px;height:21px}footer .back-to-top:hover{background:#252525}footer .back-to-top:active{transform:translateY(-2px)}footer{padding-bottom:calc(80px + env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){footer .back-to-top{transition:none}}
