/* TriBook V23 | documentary editorial layout, only story articles */
.tb23-editorial{--tb23-blue:#7ed5fa;--tb23-ink:#e6edf6;--tb23-dim:#a9bdd0;--tb23-surface:#102338;--tb23-line:#34506b;max-width:1120px;margin:28px auto 72px;color:var(--tb23-ink)}
html[data-theme=light] .tb23-editorial{--tb23-blue:#075d89;--tb23-ink:#15283c;--tb23-dim:#526477;--tb23-surface:#fff;--tb23-line:#cdd9e5}
.tb23-editorial [hidden]{display:none!important}.tb23-editorial .ed-links{margin-bottom:14px}.tb23-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;background:var(--tb23-surface);border:1px solid var(--tb23-line);border-radius:24px;overflow:hidden;min-width:0}.tb23-hero-copy{padding:clamp(22px,4vw,48px);min-width:0}.tb23-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--tb23-blue);margin-bottom:18px}.tb23-editorial .tb23-hero h1{font-size:clamp(29px,4vw,48px);line-height:1.15;margin:12px 0 18px;overflow-wrap:anywhere;color:var(--tb23-ink)}.tb23-editorial .tb23-hero .ed-kicker{font-size:12px;letter-spacing:.08em}.tb23-hero-copy>p{font-size:18px!important;margin:0;line-height:1.55!important;color:var(--tb23-dim)!important}.tb23-hero-visual{min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;background:#0b1829}.tb23-hero-visual>img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover;max-height:none!important;border-radius:0!important;margin:0!important}.tb23-hero-visual>p{margin:0!important;padding:9px 15px!important;color:#bacfe2!important;font-size:11px!important;line-height:1.45!important;background:#0b1829}.tb23-editorial .tb23-hero-visual>.ed-book{min-height:280px;border-radius:0;flex:1;margin:0;display:grid;place-items:center}.tb23-tools{padding:14px 0;margin:6px 0 22px;gap:8px;border-bottom:1px solid var(--tb23-line);background:var(--bg);position:sticky;top:72px;z-index:8}.tb23-progress{order:20;flex:1 0 100%;height:4px;background:var(--tb23-line);border-radius:5px;overflow:hidden}.tb23-progress>span{display:block;width:0;height:100%;background:var(--tb23-blue);border-radius:inherit}.tb23-progress-label{font-size:11px;order:21;color:var(--tb23-dim);margin-left:auto}.tb23-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,265px);gap:clamp(24px,4vw,52px);align-items:start}.tb23-body{grid-column:1;grid-row:1;min-width:0;max-width:760px}.tb23-sidebar{grid-column:2;grid-row:1;position:sticky;top:175px;max-height:calc(100vh - 195px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.tb23-toc-details{border:1px solid var(--tb23-line);border-radius:14px;background:var(--tb23-surface);padding:14px;min-width:0}.tb23-toc-details>summary{font-size:13px;font-weight:750;letter-spacing:.08em;color:var(--tb23-blue);cursor:pointer}.tb23-editorial .tb15-toc{border:0;background:none;margin:8px 0 0;padding:0}.tb23-editorial .tb15-toc>b{display:none}.tb23-editorial .tb15-toc ol{list-style:none;padding:0;margin:0}.tb23-editorial .tb15-toc li{margin:0}.tb23-editorial .tb15-toc a{display:block;text-decoration:none!important;font-size:13px;line-height:1.5;padding:10px 8px;border-left:2px solid transparent;overflow-wrap:anywhere;color:var(--tb23-dim)!important}.tb23-editorial .tb15-toc a[aria-current=location]{border-color:var(--tb23-blue);background:#4686b21c;color:var(--tb23-ink)!important;font-weight:700}.tb23-editorial .tb16-hook{font-size:clamp(19px,2vw,23px)!important;line-height:1.7!important;color:var(--tb23-ink)!important;margin:0 0 30px;border-left:3px solid var(--tb23-blue);padding:4px 0 4px 18px}.tb23-editorial .tb16-story>p,.tb23-editorial .tb16-story>ul{font-size:18px;line-height:1.85;color:var(--tb23-ink)!important;overflow-wrap:anywhere}.tb23-editorial .tb16-story h2[id]{font-size:clamp(23px,3vw,29px);line-height:1.3;padding-top:20px;border-top:1px solid var(--tb23-line);margin:44px 0 18px;scroll-margin-top:185px;color:var(--tb23-ink)}.tb23-editorial .tb16-story h2[id]:first-child{margin-top:24px}.tb23-editorial .tb16-story h2[data-tb23-scene]::before{content:attr(data-tb23-scene);display:block;width:max-content;margin-bottom:10px;padding:3px 10px;border:1px solid var(--tb23-line);border-radius:5px;color:var(--tb23-blue);font:700 12px/1.5 system-ui;letter-spacing:.12em}.tb23-editorial .tb17-narration{background:var(--tb23-surface);border-color:var(--tb23-line);border-left-color:var(--tb23-blue)}.tb23-chapter-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:24px 0 36px;padding:16px 0;border-block:1px solid var(--tb23-line)}.tb23-chapter-controls button{font-size:13px;max-width:100%}.tb23-chapter-indicator{font-size:12px;color:var(--tb23-dim)}.tb10-large .tb23-editorial .tb16-story>p,.tb10-large .tb23-editorial .tb16-story>ul{font-size:22px}.tb10-focus .tb23-editorial{max-width:780px}.tb10-focus .tb23-layout{display:block}.tb10-focus .tb23-sidebar{position:static;max-height:none;margin-bottom:18px}.tb10-focus .tb23-tools{top:0}.tb10-focus .tb23-hero{grid-template-columns:1fr}.tb10-focus .tb23-hero-visual>img{max-height:340px!important}.tb10-focus .tb23-editorial .tb16-story h2[id]{scroll-margin-top:145px}
@media(max-width:850px){.tb23-hero{grid-template-columns:1fr}.tb23-hero-visual>img{max-height:400px!important}.tb23-layout{display:block}.tb23-sidebar{position:static;max-height:none;overflow:visible;margin-bottom:22px}.tb23-editorial .tb15-toc ol{columns:2;column-gap:20px}.tb23-editorial .tb15-toc li{break-inside:avoid}.tb23-body{max-width:100%}.tb23-tools{top:var(--tb23-header-height,72px)}}
@media(max-width:560px){.tb23-editorial{margin-top:16px}.tb23-hero{border-radius:16px}.tb23-hero-copy{padding:24px 19px}.tb23-hero-visual>img{max-height:250px!important}.tb23-editorial .tb15-toc ol{columns:1}.tb23-editorial .tb16-story>p,.tb23-editorial .tb16-story>ul{font-size:17px;line-height:1.8}.tb23-tools{gap:5px;padding:9px 0}.tb23-tools button{font-size:11px;padding:6px 8px;min-height:34px}.tb23-tools .tb10-readtime{font-size:11px;flex-basis:100%}.tb23-editorial .tb16-story h2[id]{scroll-margin-top:205px}.tb10-large .tb23-editorial .tb16-story>p,.tb10-large .tb23-editorial .tb16-story>ul{font-size:20px}.tb23-chapter-controls button{font-size:12px;padding:8px}.tb23-chapter-indicator{order:3;flex-basis:100%;text-align:center}}
/* Keep chapter controls reachable while reading; respect live header height. */
.tb23-tools{top:var(--tb23-header-height,72px)}.tb23-sidebar{top:var(--tb23-stack-height,205px);max-height:calc(100vh - var(--tb23-stack-height,205px) - 20px)}.tb23-tools .tb23-chapter-controls{order:19;flex:1 0 100%;margin:0;padding:2px 0;border:0;gap:5px}.tb23-tools .tb23-chapter-controls button{padding:5px 9px;font-size:12px}.tb23-editorial .tb16-story h2[id]{scroll-margin-top:var(--tb23-stack-height,205px)}.tb10-focus .tb23-tools{top:0}.tb10-focus .tb23-editorial .tb16-story h2[id]{scroll-margin-top:var(--tb23-stack-height,145px)}
@media(max-width:850px){.tb23-sidebar{max-height:none}}@media(max-width:560px){.tb23-tools .tb23-chapter-indicator{order:0;flex-basis:auto;font-size:11px}.tb23-tools .tb23-chapter-controls button{font-size:10px;padding:5px 6px}.tb23-tools .tb23-chapter-controls{justify-content:space-between;flex-wrap:nowrap}}
