/* One consistent midnight-blue exhibition, with readable explanatory copy. */
:root,.dark-page{--paper:#101d30;--ink:#edf1f5;--muted:#b0bfd1;--line:#ffffff21;--gold:#dfbb86;--forest:#a9c4b9}
[hidden]{display:none!important}body.dark-page,body.dark-page header,body.dark-page footer,body.dark-page #editorial,body.dark-page #stage{background:#101d30;color:#edf1f5}body.dark-page #editorial:before{display:none}body{font-size:17px}header{height:76px;padding:0 34px;border-bottom:1px solid #ffffff20}.head-caption{font-size:13px}.head-caption span{font-size:12px;color:#9caec2}.head-actions span{font-size:14px}.head-actions button{font-size:19px}.brand b{font-size:23px}.brand span{font-size:9px;color:#c0b395}main{height:calc(100dvh - 187px);grid-template-columns:minmax(330px,30%) 1fr;background:#101d30}#editorial{padding:32px 30px 20px 34px;border-right:1px solid #ffffff17}h2,.dark-page h2{font-size:clamp(28px,2.5vw,42px);line-height:1.45;color:#f0f3f7;letter-spacing:.015em;margin:14px 0 22px;font-family:SimSun,serif}body[data-page="0"] h1{font-size:clamp(53px,5vw,83px);line-height:1.05}.lead,body[data-page="0"] .lead{font-size:19px;line-height:1.9;color:#c6d1dd;margin-bottom:23px}.eyebrow,body[data-page="0"] .eyebrow{font-size:12px;line-height:1.7;letter-spacing:.12em;color:#c5ae8b}.footnote,body[data-page="0"] .footnote{font-size:14px;line-height:1.85;color:#9dacbf}.row{font-size:16px;padding:12px 0}.row strong{font-size:17px}.hero-stat small{font-size:14px}.hero-stat b{font-size:36px!important}.hero-cn{font-size:21px}.primary,.text-link{font-size:17px}.primary{padding:14px 20px}.select-row button{font-size:15px;padding:9px 12px}.method-select{font-size:17px;padding:14px 0}.method-select span{font-size:16px}.method-select b{font-size:23px}.method-select small{font-size:13px}.mini-definition,.bullet-note{font-size:17px;line-height:1.85}.metric-button{padding:12px;font-size:17px}.metric-button small{font-size:14px}.metric-button em{font-size:15px}.tree-tag{font-size:14px;padding:6px 9px}.removed-list{gap:6px}.stat-pair small{font-size:14px}.stat-pair strong{font-size:27px}.result-main b{font-size:48px}.result-main span{font-size:15px}.compact-select{font-size:16px;padding:12px}.chart{max-height:260px}.chart text{font-size:10px;fill:#b7c5d6}.chart .axis{stroke:#52657b}.mode-switch{font-size:15px}.reading-context{border-bottom:1px solid #ffffff20;padding-bottom:16px;margin-bottom:22px}.reading-context span{font-size:12px;color:#dfbb86}.reading-context h3{font-size:23px;line-height:1.5}.reading-context p{font-size:16px;color:#b7c5d4;line-height:1.8}.definition-large,.conclusion-lead{font-size:19px;line-height:1.95;color:#c6d2df}.weight-display{display:flex;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid #ffffff20}.weight-display strong{font:55px Georgia;color:#e1c28f}.weight-display small{font-size:24px}.weight-display span{font-size:15px;color:#b0bfd0}.source-text{border-top:1px solid #ffffff22;margin:30px 0 16px;padding-top:18px}.source-text summary{cursor:pointer;font-size:17px;color:#dfbb86}.source-text p{font-size:17px;line-height:1.85;color:#bdcad9}
#reader-toolbar{height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-top:1px solid #ffffff1c;background:#101d30;gap:16px}#reader-tabs{display:flex;gap:5px}#reader-tabs button{font-size:14px;padding:7px 17px;border-radius:24px;color:#aebdd0}#reader-tabs button.active{background:#d6b584;color:#152136}#source-caption{font-size:12px;color:#9cacc0}footer{height:67px;padding:0 34px;border-top:1px solid #ffffff1c}.footer-label{min-width:240px}.footer-label span:first-child{font-size:14px}.footer-label span:last-child{font-size:12px}#progress{gap:5px;max-width:500px}.page-nav button{font-size:16px}.page-nav button:last-child{min-width:100px}.stage-top{left:24px;right:24px}.model-badge{font-size:10px}.view-buttons button{font-size:13px}.view-buttons{background:#1a2a42!important;border-color:#536d8b66}.stage-bottom{left:20px;right:20px}.scene-actions button{font-size:13px;background:#1b2f49!important}.scene-actions button[aria-pressed=true]{background:#d6b584!important}#legend{font-size:12px;background:#162740dd!important}#stage-label{font-size:12px;line-height:1.7;color:#a7b8cb;max-width:48%}#gesture-hint{font-size:12px;color:#91a4bc}#tree-detail,#metric-note{background:#192e49f5!important;border-color:#4a6079;color:#edf1f5}#tree-detail{width:270px;padding:22px}#tree-detail p{font-size:15px;line-height:1.8}#tree-detail h3{font-size:28px}#metric-note{width:245px}#metric-note p{font-size:14px}#metric-note h3{font-size:21px}#split-labels b{font-size:14px;background:#1b3049e8}#split-labels:after{height:65dvh}
#figure-stage{min-width:0;display:grid;grid-template-rows:45px minmax(0,1fr) 83px;padding:10px 24px 14px;gap:12px;overflow:hidden;background:#101d30}.figure-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#a5b6ca}.figure-heading button{border:1px solid #56708c;border-radius:20px;padding:8px 17px;color:#d7e0ec;font-size:14px}.figure-main{padding:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;min-height:0;cursor:zoom-in;background:#16243a;border:1px solid #ffffff13;box-shadow:0 15px 40px #0002;border-radius:3px;overflow:hidden}.figure-main img{display:block;max-width:100%;max-height:100%;object-fit:contain}.figure-strip{display:flex;gap:9px;overflow-x:auto;overflow-y:hidden;padding:4px 2px 7px;scrollbar-width:thin;scrollbar-color:#60718a #15263b;align-items:center}.figure-strip button{position:relative;flex:0 0 115px;height:66px;border:2px solid transparent;border-radius:3px;overflow:hidden;padding:0;opacity:.6}.figure-strip button:hover,.figure-strip button.active{opacity:1;border-color:#d6b584}.figure-strip img{width:100%;height:100%;object-fit:cover}.figure-strip span{position:absolute;bottom:0;right:0;background:#122239eb;padding:2px 5px;font:10px Arial;color:#edf1f5}
.summary-visual{grid-row:1/-1;padding:35px 25px;overflow:auto}.summary-visual h2{font-size:29px;margin:18px 0 30px}.table-scroll{overflow-x:auto}.summary-visual table{width:100%;border-collapse:collapse;font-size:15px;text-align:right;white-space:nowrap}.summary-visual th{font-size:13px;line-height:1.8;color:#a3b5cc;font-weight:400;padding:12px 10px;border-bottom:1px solid #ffffff30}.summary-visual td{padding:22px 10px;border-bottom:1px solid #ffffff18;font-variant-numeric:tabular-nums}.summary-visual th:first-child,.summary-visual td:first-child{text-align:left}.summary-visual .best{background:#d6b58412;color:#e8c38f}.summary-visual td button{font-weight:bold;color:#d6b584}.summary-visual .muted{font-size:14px;line-height:1.9;margin-top:20px}.summary-diagram{display:flex;gap:35px;padding-top:30px}.summary-diagram>div{flex:1;display:flex;flex-direction:column;gap:12px}.summary-diagram span{font-size:16px}.summary-diagram b{font:50px Georgia;color:#d4e0de}.summary-diagram small{font-size:13px;color:#9fb0c6}.summary-diagram i{height:4px;background:linear-gradient(90deg,#d6b584 var(--value),#354760 var(--value));margin-top:15px}
#plan-stage{position:relative;min-width:0;min-height:0;display:grid;grid-template-rows:52px minmax(0,1fr) 87px;padding:8px 20px;background:#101d30}.plan-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#b3c4d7;gap:10px}.plan-top button{background:#213954;border:1px solid #4c6583;font-size:15px;padding:7px 12px;margin-left:5px;border-radius:18px}.plan-scroll{overflow:auto;scrollbar-width:thin;background:#14253b;border:1px solid #ffffff12;border-radius:4px}.plan-scroll svg{display:block;width:100%;height:100%;min-width:100%;min-height:100%}.plan-water{fill:#264c64;stroke:#5e8ba2;stroke-width:.12}.plan-context{fill:#203349;stroke:#62718a;stroke-width:.12}.plan-road{fill:#394654;stroke:#728096;stroke-width:.1}.plan-boundary{fill:#1f383d;stroke:#91b1a1;stroke-width:.17}.plan-route{stroke:#d8b780;stroke-width:1.5;fill:none;stroke-linecap:round;opacity:.9}.plan-tree{cursor:pointer;outline:none}.crown-circle{fill:#8aba9b23;stroke:#a5c5aa;stroke-width:.12}.trunk-point{fill:#d3e6d8;stroke:#101d30;stroke-width:.06}.plan-tree text{fill:#e6ebed;font:1px Arial;text-anchor:middle;paint-order:stroke;stroke:#14253b;stroke-width:.27;stroke-linejoin:round}.plan-tree.young .crown-circle{fill:#b7a6d330;stroke:#d0bbe4}.plan-tree.young .trunk-point{fill:#d0bbe4}.plan-tree.removed .crown-circle{fill:#e48b7a18;stroke:#ee9a8b;stroke-dasharray:.5 .3;stroke-width:.2}.plan-tree.removed text{fill:#f1b0a4}.remove-x{stroke:#f4a896;stroke-width:.17}.plan-tree:hover .crown-circle,.plan-tree:focus .crown-circle,.plan-tree.selected .crown-circle{stroke:#fff2be;stroke-width:.32;fill:#f1d59635}.plan-node{cursor:pointer}.plan-node circle{fill:#dfbd85;stroke:#fff0c8;stroke-width:.15}.plan-node text{font:bold 1.1px Arial;text-anchor:middle;fill:#25344a}.plan-bottom{font-size:12px;color:#adbed0;padding-top:12px}.plan-layer-menu{display:flex;gap:15px;flex-wrap:wrap}.plan-layer-menu label{display:flex;gap:5px;align-items:center;cursor:pointer;font-size:13px}.plan-layer-menu input{accent-color:#d6b584}.plan-bottom p{line-height:1.8;margin:10px 0 0}.plan-bottom p span{font-size:11px;color:#889cb6}.keep-dot,.removed-dot,.young-dot{display:inline-block;width:9px;height:9px;border:1px solid #b0d0b7;border-radius:50%}.removed-dot{border-color:#ee9a8b;border-style:dashed}.young-dot{border-color:#d0bbe4}#plan-detail{position:absolute;right:35px;top:85px;width:260px;padding:22px;background:#172b45f5;border:1px solid #5b7592;box-shadow:0 15px 35px #0005;border-radius:3px}#plan-detail h3{font-size:25px;margin:12px 0}#plan-detail p{font-size:15px;line-height:1.9;color:#bbccdd}#plan-detail .close-plan-detail{position:absolute;right:12px;top:8px;font-size:25px}
.modal-card{width:min(1120px,94vw);max-height:90dvh;overflow:auto;background:#14243b!important;color:#edf1f5;padding:36px}.modal-card h2{font-size:33px}#chapter-list{display:block}.catalog-section{border-top:1px solid #ffffff20;padding:16px 0}.catalog-section h3{font:22px SimSun;color:#dfbb86;margin:10px 0 18px}.catalog-section>div{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 26px}.catalog-page{display:flex!important;align-items:center;gap:12px;font-size:15px!important;padding:13px 8px!important;line-height:1.6;border-bottom:1px solid #ffffff0d}.catalog-page b{font:13px Georgia!important;color:#8ea4c0;min-width:28px}.catalog-page span{flex:1}.catalog-page small{font-size:11px;color:#95a9c1}.catalog-page.active{background:#c6a47b20;color:#dfbb86}.close-modal{color:#c7d6e5}.image-card{max-width:94vw}.close-image{font-size:26px}
#zoom-modal{display:grid;grid-template-rows:62px minmax(0,1fr);padding:0;background:#0a1527f5;z-index:60}#zoom-modal[hidden]{display:none}.zoom-bar{display:flex;gap:10px;align-items:center;padding:0 26px;border-bottom:1px solid #ffffff25;background:#14243b}.zoom-bar span{flex:1;font-size:17px}.zoom-bar button{padding:8px 14px;border:1px solid #526985;border-radius:20px;font-size:15px}#zoom-scroll{overflow:auto;padding:22px;cursor:grab}#zoom-image{display:block;object-fit:contain;max-width:none;max-height:none;margin:auto}.focus-mode main{grid-template-columns:1fr}.focus-mode #editorial{display:none}.focus-mode #stage,.focus-mode #figure-stage,.focus-mode #plan-stage{grid-column:1}#loading{background:#101d30}#toast{font-size:15px}body.book-figure #figure-stage{animation:reader-in .3s ease}@keyframes reader-in{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:1800px){main{grid-template-columns:minmax(420px,28%) 1fr}#editorial{padding:40px 44px}.lead,body[data-page="0"] .lead,.definition-large,.conclusion-lead{font-size:22px}.row{font-size:19px}.row strong{font-size:20px}.footnote{font-size:16px}.figure-strip button{flex-basis:140px;height:78px}#figure-stage{grid-template-rows:50px minmax(0,1fr) 97px}}
@media(max-width:1100px){header{padding:0 22px}.head-caption{display:none}main{grid-template-columns:320px 1fr}#editorial{padding:25px 23px}.lead,body[data-page="0"] .lead{font-size:18px}h2,.dark-page h2{font-size:29px}.summary-visual{padding:25px 0}.summary-visual h2{font-size:24px}.summary-visual table{font-size:13px}.summary-visual td,.summary-visual th{padding:15px 7px}.stage-top{left:12px;right:12px}.stage-top .model-badge{display:none}.scene-actions button{font-size:11px}.footer-label{min-width:195px}#source-caption{font-size:10px}.view-buttons button{font-size:12px}#reader-toolbar{padding:0 20px}.plan-bottom p span{display:none}}
@media(max-width:740px){header{height:58px;padding:0 17px}.brand b{font-size:18px}.head-actions{gap:4px}.head-actions button{padding:8px;font-size:16px}.head-actions span{font-size:11px}main{height:calc(100dvh - 168px);display:grid;grid-template-columns:1fr;grid-template-rows:38% 62%}#editorial{padding:17px 20px;border-right:0;border-bottom:1px solid #ffffff20}h2,.dark-page h2{font-size:25px;line-height:1.4;margin:8px 0 12px}.lead,body[data-page="0"] .lead,.definition-large,.conclusion-lead{font-size:16px;line-height:1.8}.eyebrow{font-size:10px}body[data-page="0"] h1{font-size:41px;line-height:1;margin-bottom:12px}body[data-page="0"] h1 br{display:none}.hero-cn{font-size:14px;margin:6px 0 13px}.hero-stat{display:none}.footnote{font-size:12px}.row{font-size:14px;padding:8px 0}.row strong{font-size:14px}.select-row button{font-size:13px;padding:7px 10px}.result-main b{font-size:34px}.mini-definition{font-size:14px}.source-text{margin-top:15px}.source-text summary{font-size:14px}.source-text p{font-size:15px}.metric-button{font-size:14px;padding:8px}.stage-bottom{bottom:25px;left:10px;right:10px}.scene-actions{gap:4px}.scene-actions button{font-size:10px;padding:7px}#legend{font-size:9px}#stage-label{font-size:10px;max-width:55%;top:48px;left:14px}#gesture-hint{font-size:9px;bottom:7px}.view-buttons button{font-size:10px;padding:6px}.stage-top{top:10px}.stage-top .model-badge{display:none}#tree-detail{width:210px;top:47px;right:10px;padding:15px}#tree-detail p{font-size:12px}#tree-detail h3{font-size:22px}#metric-note{display:none}#figure-stage{padding:4px 12px 5px;grid-template-rows:30px minmax(0,1fr) 52px;gap:6px}.figure-heading{font-size:10px}.figure-heading button{font-size:11px;padding:5px 10px}.figure-strip{padding:0 0 4px}.figure-strip button{flex-basis:76px;height:42px}#reader-toolbar{height:44px;padding:0 12px}#reader-tabs{gap:0}#reader-tabs button{font-size:12px;padding:7px 12px}#source-caption{display:none}footer{height:66px;padding:0 14px}.footer-label{min-width:unset;width:135px}.footer-label span:first-child{font-size:11px}.footer-label span:last-child{font-size:10px}#progress{display:none}.page-nav{margin-left:auto}.page-nav button{font-size:13px;padding:8px 12px}.page-nav button:last-child{min-width:80px}.summary-visual{padding:14px 0}.summary-visual h2{font-size:20px;margin:10px 0 15px}.summary-visual table{font-size:12px}.summary-visual th{font-size:11px}.summary-visual td{padding:14px 7px}.summary-diagram{gap:20px;padding-top:10px}.summary-diagram b{font-size:32px}.summary-diagram span{font-size:13px}.summary-diagram small{font-size:11px}.summary-visual .muted{font-size:12px}#plan-stage{padding:0 10px;grid-template-rows:37px minmax(0,1fr) 70px}.plan-top{font-size:10px}.plan-top button{font-size:12px;padding:5px 10px}.plan-layer-menu{gap:7px}.plan-layer-menu label{font-size:10px}.plan-bottom p{font-size:9px;margin-top:4px}.plan-bottom{padding-top:6px}#plan-detail{top:45px;right:20px;width:200px;padding:16px}#plan-detail h3{font-size:20px}#plan-detail p{font-size:12px}.modal-card{padding:22px}.catalog-section>div{grid-template-columns:1fr}.catalog-page{font-size:14px!important}.zoom-bar{padding:0 12px;gap:4px}.zoom-bar span{font-size:12px;max-width:40%;overflow:hidden}.zoom-bar button{padding:6px 9px;font-size:11px}#zoom-scroll{padding:10px}.focus-mode main{grid-template-rows:1fr}.reading-context h3{font-size:19px}.reading-context p{font-size:14px}}
.group-note{font-size:14px;line-height:1.8;color:#d9ba8b;padding:15px 0;border-top:1px solid #ffffff20}.figure-controls{display:flex;align-items:center;gap:6px;flex-shrink:0}.figure-controls b{font:12px Arial;color:#c2cedb;padding:0 5px}.figure-controls button{padding:7px 12px}.figure-heading>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:60%}.figure-heading{gap:12px}.figure-heading>div{max-width:75%}.mode-options label{font-size:14px}#editorial{scrollbar-color:#52657d #101d30}body.book-figure #figure-stage .figure-strip{justify-content:center}@media(max-width:740px){.figure-heading>span{max-width:43%;font-size:9px}.figure-controls button{font-size:10px;padding:5px 8px}.figure-controls{gap:3px}.figure-controls b{font-size:9px}.group-note{font-size:12px}}
#zoom-modal{align-items:stretch;justify-content:stretch;grid-template-columns:minmax(0,1fr)}.zoom-bar{height:62px;position:relative;z-index:2}#zoom-scroll{min-height:0;height:100%;position:relative;align-self:stretch}.zoom-bar button{position:relative;z-index:3}
