/* Editorial guides: original prose and tables, common article rhythm. */
html[data-theme=dark] .rg-collection{--rs-blue:#86d2ff}
.rg-collection .rs-hero h1{max-width:22ch;font-size:clamp(44px,6.3vw,76px);line-height:1.08;overflow-wrap:anywhere}
.rg-collection .rs-hero{padding-top:15px}.rg-collection .rs-meta{margin:17px 0}.rg-collection .rg-answer{margin-top:23px}
.rg-collection .rg-answer .answer-label{display:block;margin-bottom:12px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--rs-blue);font-weight:800}
.rg-collection .rg-answer p+p{margin-top:13px}.rg-collection .rg-answer .note{font-size:12px}
.rg-collection .rg-section{padding-block:32px;border-bottom:1px solid var(--rs-line)}
.rg-collection .gc-section-number{font-size:10px;margin:0 0 13px;letter-spacing:.15em}
.rg-collection .rg-section h2{font-size:clamp(29px,3.6vw,43px);line-height:1.16;margin:0 0 23px;max-width:25ch}
.rg-collection .rg-section h3{font-size:24px;line-height:1.3;margin:27px 0 15px}
.rg-collection .rg-section p,.rg-collection .rg-section li,.rg-collection .rg-tool li{font-size:16px;line-height:1.9;color:var(--rs-muted)}
.rg-collection .rg-section p+p{margin-top:18px}.rg-collection .rg-section ul,.rg-collection .rg-section ol{padding-left:22px;margin:20px 0}.rg-collection .rg-section li+li{margin-top:10px}
.rg-collection strong{color:var(--rs-ink)}.rg-collection .rg-section .note{font-size:12px;line-height:1.8;margin-top:17px}
.rg-collection .formula,.rg-collection .example{padding:20px;border-left:3px solid var(--rs-blue);background:var(--rs-tint);border-radius:0 13px 13px 0;margin:23px 0;font-size:17px;line-height:1.7}
.rg-collection .example p{font-size:15px}.rg-collection .table-scroll{overflow:auto;max-width:100%;margin:25px 0;border:1px solid var(--rs-line);border-radius:14px;overscroll-behavior-x:contain}
.rg-collection .reading-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.7;text-align:left;background:var(--rs-panel)}
.rg-collection .reading-table th,.rg-collection .reading-table td{padding:15px 13px;border-bottom:1px solid var(--rs-line);vertical-align:top;min-width:100px}
.rg-collection .reading-table thead th{background:var(--rs-tint);font-size:11px}.rg-collection .reading-table tbody th{min-width:145px;font-size:13px}.rg-collection .reading-table caption{text-align:left;padding:16px;font-size:12px;font-weight:700;color:var(--rs-muted)}
.rg-collection .reading-cell-label{display:none}.rg-collection .reading-table tr:last-child>*{border-bottom:0}
.rg-collection .rg-section .rg-secondary,.rg-collection .rg-tool .rg-secondary{margin-top:12px}.rg-collection .rg-tool{margin-block:32px}.rg-collection .rg-tool h2{font-size:34px;line-height:1.18}
.rg-collection .rg-appendix{margin-top:32px}.rg-collection .rg-appendix>h2{font-size:27px;line-height:1.3}
.rg-collection details>summary{min-height:44px;font-weight:700;line-height:1.6}.rg-collection .faq details{padding:16px 0;border-top:1px solid var(--rs-line)}.rg-collection .faq details p{margin-top:14px}
.rg-collection .rg-related ul{padding-left:20px}.rg-collection .rg-related li{font-size:14px;line-height:1.8;margin:12px 0}
.rg-collection .rs-footer p{font-size:11px;color:var(--rs-muted)}.rg-collection .rs-footer nav{grid-column:1/-1}
.gc-chapters{margin-top:8px}.gc-chapters a{max-width:290px;white-space:normal;min-width:175px;line-height:1.5;flex-shrink:0}.gc-chapters span{flex-shrink:0}
.gc-explorer{background:#122f47;color:#eff8ff;padding:26px;border:1px solid #42647b;border-radius:22px;margin:30px 0;overflow:hidden}
.gc-explorer-top{display:grid;grid-template-columns:minmax(0,1fr) 140px;align-items:center;gap:12px}
.rg-collection .gc-explorer .gc-kicker{color:#98dbf7;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px}
.gc-explorer h3{color:#eff8ff;font-size:24px!important;line-height:1.3!important;margin:0!important;letter-spacing:-.025em}
.gc-subject{display:block;width:100%;color:#8bdcff;filter:drop-shadow(0 9px 12px #0004)}
.gc-choices{display:flex;flex-wrap:wrap;gap:7px;margin:23px 0 0}.gc-choices button{flex:1 1 120px;min-height:48px;padding:11px 13px;border:1px solid #50738b;border-radius:11px;background:#1b3c53;color:#cbe2f2;text-align:left;font-size:12px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.gc-choices button[aria-pressed=true]{background:#dff5ff;color:#122f47;border-color:#dff5ff}
.gc-result{padding-top:23px;min-height:165px}.rg-collection .gc-explorer .gc-case-title{font-size:15px;font-weight:700;color:#eff8ff;margin:0 0 14px;line-height:1.5}
.gc-result dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:13px;margin:0}.gc-result dl>div{padding:14px;border-radius:12px;background:#0c263b;border:1px solid #41667c}
.gc-result dt{font-size:10px;line-height:1.6;color:#b1cfdf}.gc-result dd{font-size:26px;font-weight:750;letter-spacing:-.035em;line-height:1.3;margin:8px 0 0;color:#9be9ff;overflow-wrap:anywhere}
.rg-collection .gc-explorer .gc-explorer-note{font-size:10px;line-height:1.8;color:#a9c9da;margin-top:18px}
@media(max-width:700px){
 .rg-collection .rs-hero h1{font-size:clamp(36px,10.6vw,54px);max-width:22ch;line-height:1.1}
 .rg-collection .rg-section{padding-block:26px}.rg-collection .rg-section h2{font-size:30px;line-height:1.2;margin-bottom:19px}.rg-collection .rg-section h3{font-size:23px}
 .rg-collection .rg-section p,.rg-collection .rg-section li,.rg-collection .rg-tool li{font-size:15px;line-height:1.85}
 .rg-collection .rs-hero .rs-deck{font-size:15px;line-height:1.8}.rg-collection .rg-answer{padding:20px 18px}.rg-collection .rg-answer h2{font-size:25px}
 .rg-collection .formula,.rg-collection .example{padding:17px;font-size:15px}.rg-collection .rg-tool h2{font-size:28px}
 .gc-explorer{padding:20px 16px;border-radius:18px;margin-inline:-4px}.gc-explorer-top{grid-template-columns:minmax(0,1fr) 76px;gap:8px}.gc-explorer h3{font-size:21px!important}
 .gc-choices button{flex-basis:105px;font-size:11px}.gc-result{min-height:170px}.gc-result dl{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:9px}.gc-result dl>div{padding:12px}.gc-result dd{font-size:23px}
 .rg-collection .reading-table{font-size:12px}.rg-collection .reading-table th,.rg-collection .reading-table td{padding:12px 10px}
}
/* Concept scenes: scalable original SVG, deliberately without simulated technical readings. */
.gs-scene{width:min(900px,calc(100% - 32px));margin:10px auto 28px;border:1px solid var(--rs-line);border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 60% 35%,var(--rs-panel),var(--rs-tint));color:var(--rs-ink)}
.gs-scene svg{display:block;width:100%;height:auto;max-height:350px;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5}
.gs-scene figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 21px 15px;font:500 11px/1.6 system-ui;color:var(--rs-muted);border-top:1px solid var(--rs-line)}
.gs-scene button{font:600 11px/1.5 system-ui;min-height:44px;padding:9px 14px;border:1px solid var(--rs-line);border-radius:999px;background:var(--rs-panel);color:var(--rs-ink);cursor:pointer;flex-shrink:0}.gs-scene button:focus-visible{outline:3px solid var(--rs-blue);outline-offset:3px}.gs-scene [hidden]{display:none!important}
.gs-case{fill:var(--rs-panel);stroke:#5196ba}.gs-glass{fill:#c2edfa;stroke:#529abf}.gs-line{stroke:#4298be;stroke-width:4}.gs-detail{stroke:#e2f7ff;stroke-width:3}.gs-shadow{fill:#346c89;opacity:.12}.gs-wheel{fill:#173b55}.gs-rim{fill:#bad5e5;stroke:#789eb5;stroke-width:3}.gs-cell{fill:#21b7a0}.gs-cell-1{opacity:.86}.gs-cell-2{opacity:.7}.gs-cell-3{opacity:.55}.gs-wire{stroke:#78abc0;opacity:.28;stroke-width:7}.gs-flow{stroke:#13acb4;stroke-width:5;stroke-dasharray:7 19}.gs-ground{stroke:#72a8c3;opacity:.17;stroke-width:1}.gs-ring{stroke:#76b6d1;stroke-width:5}.gs-hand{transform-origin:85px 85px}.gs-coin{fill:#b8eddc;stroke:#299e88}.gs-symbol{fill:#16836f;font:700 21px system-ui;stroke:none}.gs-axis{stroke:#77a8bc;stroke-width:2}.gs-dashed{stroke-dasharray:4 8}.gs-curve{stroke:#14a4b3;stroke-width:8}.gs-dot{fill:#f6fcff;stroke:#0c9b9c;stroke-width:4}.gs-big{fill:var(--rs-ink);font:700 24px system-ui;stroke:none}.gs-lens{fill:var(--rs-panel);stroke:#4e9cbf;stroke-width:6}.gs-check{stroke:#15ad95;stroke-width:7;stroke-dasharray:80;stroke-dashoffset:0}.gs-loss{stroke:#d69b4b;stroke-width:3;stroke-dasharray:3 9}.gs-pin{fill:#18a892;stroke:#158d83}.gs-traveller{fill:#a3f4e4;offset-path:path('M100 73H320Q360 73 385 113T453 167 558 182');offset-distance:0%}
.gs-scene .gs-flow{animation:gs-flow 2.8s linear infinite}.gs-scene .gs-cell{animation:gs-charge 4s ease-in-out infinite alternate}.gs-scene .gs-cell-1{animation-delay:.4s}.gs-scene .gs-cell-2{animation-delay:.8s}.gs-scene .gs-cell-3{animation-delay:1.2s}.gs-scene .gs-hand{animation:gs-hand 8s ease-in-out infinite alternate}.gs-scene .gs-loss{animation:gs-flow 4s linear infinite}.gs-scene .gs-traveller{animation:gs-curve 6s linear infinite}.gs-scene .gs-check{animation:gs-check 5s ease-in-out infinite}
.gs-scene svg *{animation-play-state:paused!important}.gs-scene.is-playing svg *{animation-play-state:running!important}
@keyframes gs-flow{to{stroke-dashoffset:-104}}@keyframes gs-charge{from{opacity:.5}to{opacity:1}}@keyframes gs-hand{from{transform:rotate(-16deg)}to{transform:rotate(45deg)}}@keyframes gs-curve{0%,8%{offset-distance:0%}92%,100%{offset-distance:100%}}@keyframes gs-check{0%,15%{stroke-dashoffset:80}40%,100%{stroke-dashoffset:0}}
@media(max-width:700px){.gs-scene{width:calc(100% - 24px);border-radius:19px;margin-bottom:18px}.gs-scene figcaption{padding:8px 13px 12px;font-size:10px;gap:8px}.gs-scene button{font-size:10px;padding-inline:11px}}
@media(prefers-reduced-motion:reduce){.gs-scene svg *{animation:none!important}.gs-scene .gs-traveller{offset-distance:70%}.gs-scene [data-scene-motion]{display:none!important}}
@media print{.gs-scene button{display:none}.gs-scene svg *{animation:none!important}}
