/* V4.9 · a data-news reading surface, not a report widget. Offline-first. */
:root {--v49-paper:#f5eddd;--v49-ink:#29241e;--v49-rust:#9d4535;--v49-teal:#506e68;--v49-rule:#baa995}
/* The original figure overlay masked an already functional local chart. It is now never allowed to cover evidence. */
.scrolly-scene{opacity:1!important;transform:none!important;overflow:visible;background:#172825;color:#f2e9d8;border:1px solid #7e71645b;box-shadow:9px 13px 0 #2e201514,0 20px 55px #0002}
.scrolly-scene .scene-visual{min-height:0;position:relative;padding:12px 0 16px}
.scrolly-scene .scene-terminal{visibility:visible!important;opacity:1!important;position:relative!important;min-height:0;display:block!important}
.scrolly-scene .scene-live,.scrolly-scene .flourish-embed{display:none!important}
.scrolly-scene .scene-tools{border-bottom:1px solid #d9ccb13d;padding-bottom:20px;margin-bottom:17px}
.scrolly-scene .scene-tools span{font-family:'Noto Serif CJK SC',serif;font-size:21px;color:#f2ebd8}
.scrolly-scene .scene-tools button{border:1px solid #a69b765e;min-width:76px;padding:9px 14px;color:#eed2a2}
.scrolly-scene .scene-tools button:hover{background:#e3d0ad20}
.scrolly-scene .scene-status{font-size:13px;color:#e4d3ae;margin-top:12px}
.scrolly-scene figcaption{color:#dbcdb4;line-height:1.8}
.scrolly-scene [data-local-value]{cursor:pointer;transition:opacity .2s,stroke-width .2s,filter .2s}
.scrolly-scene [data-local-value]:hover,.scrolly-scene [data-local-value].v49-selected{filter:brightness(1.35) saturate(1.25);opacity:1!important;outline:none}
.scrolly-scene .scene-terminal .flow-final,.scrolly-scene .scene-terminal .network-final{min-height:0;display:block;width:100%;max-height:620px;overflow:visible}
.scrolly-scene .flow-final text,.scrolly-scene .network-final text{font-size:13px;fill:#eee5d5}
.scrolly-scene .flow-final path{opacity:.2;transform:none!important;animation:none!important;transition:opacity .4s}
.scrolly-scene.scene-revealed .flow-final path,.scrolly-scene .flow-final path:hover{opacity:.68!important}
.scrolly-scene .network-final path{opacity:.27!important;transition:opacity .3s}
.scrolly-scene .network-final path:hover{opacity:1!important}
.scrolly-scene .race-fig{max-width:100%;overflow:visible}
.scrolly-scene .ability-clusters{min-height:345px}
.scrolly-scene .attribute-pictogram{min-height:270px}
/* Distinguish report data from active reveal without hiding the plot. */
.scrolly-scene.scene-playing .scene-terminal{animation:v49-stage-enter .8s ease-out both}
@keyframes v49-stage-enter{from{opacity:.5;filter:saturate(.5)}to{opacity:1;filter:none}}
/* Actual autonomous bars and axes remain readable when paused. */
.race-fig .race-axis-intro{display:flex;justify-content:space-between;gap:20px;font-size:13px;color:#e9dec7;margin-bottom:28px}
.race-fig .race-data-row{position:relative;min-height:40px}
.race-fig .race-note-label,.race-fig .race-data-value{font-size:15px!important;color:#f4ead8!important}
.race-fig .race-x-ticks,.race-fig .race-axis-bottom{color:#dccbab!important}
/* Screen 1: proof line and sources use the void instead of keeping a large inactive beige block. */
.v49-em-annotation{display:grid;grid-template-columns:minmax(220px,.95fr) minmax(320px,1.3fr) auto;gap:28px;align-items:center;padding:23px 24px;margin:25px 0;border-top:2px solid #9d4535;border-bottom:1px solid #b29c81;background:linear-gradient(110deg,#e9dcc9,#f5ede2);color:#312b26;font-family:'Noto Serif CJK SC',serif}
.v49-em-annotation>div>span{font-size:12px;color:#994a39;display:block;margin-bottom:8px}
.v49-em-annotation strong{font-size:24px;font-weight:700;line-height:1.5}
.v49-em-annotation p{font-size:15px;line-height:1.85;color:#5f5146;margin:0}
.v49-em-annotation a{font-size:13px;color:#984538;white-space:nowrap;border-bottom:1px solid currentColor}
/* Major repair: non-occluded manuscript with a visible, modestly sized mask and layered header. */
.ab-v34-manuscript{min-height:550px;overflow:visible!important;display:flex;flex-direction:column;isolation:isolate;padding:28px!important}
.ab-v34-manuscript .ab-v34-paper-label{position:relative;z-index:2}
.ab-v34-manuscript .ab-v34-article{position:relative!important;z-index:2!important;transform:none!important;max-width:100%!important;width:100%;margin:32px auto 0!important;min-height:335px;padding:34px 30px 40px!important;box-sizing:border-box;overflow:visible!important;box-shadow:7px 8px 0 #6e523321}
.ab-v34-manuscript .ab-v34-article>span{border-top:2px solid #362f26;padding-top:11px}
.ab-v34-manuscript .ab-v34-article h4{font-family:'Noto Serif CJK SC',serif!important;font-size:clamp(26px,2.8vw,40px)!important;line-height:1.55!important;letter-spacing:-.025em!important;font-weight:700!important;color:#25211c!important;margin:20px 0!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere;transform:none!important;filter:none!important;text-shadow:none!important;clip-path:none!important}
.ab-v34-manuscript .ab-v34-article p{font-size:15px!important;line-height:1.8;color:#665548}
.ab-v34-manuscript .ab-v34-layer-curtain{position:relative!important;inset:auto!important;min-height:72px;width:100%;margin-top:17px;border:1px dashed #aa967c;clip-path:none!important;background:#ede1ce;opacity:calc(1 - var(--revealed)*.16);display:flex;align-items:center;justify-content:center;z-index:1;pointer-events:none;transform:none!important;transition:opacity .35s}
.ab-v34-manuscript .ab-v34-layer-curtain>span{writing-mode:horizontal-tb!important;font-size:14px;letter-spacing:.1em;color:#754639;background:transparent;padding:12px}
.ab-v34-manuscript .ab-v34-ledger{position:relative!important;inset:auto!important;margin-top:20px;padding-top:12px;min-height:42px}
.ab-v34-manuscript .ab-v34-traces{position:relative!important;inset:auto!important;margin-top:12px;min-height:32px;display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.ab-v34-manuscript [data-v34-manuscript]{max-width:100%}
/* Offline interactive charts replace the external iframe as the reader's default. */
.flourish-figure.v49-rebuilt{background:#f5eddd!important;border:1px solid #baa995!important;box-shadow:7px 9px 0 #725d4520!important;color:#29241e;padding:24px!important;min-width:0;margin:15px 0 28px}
.flourish-figure.v49-rebuilt :is(h3,p,span,strong,b){color:inherit}
.v49-rebuilt .flourish-figure-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #baa995;padding-bottom:13px;margin-bottom:16px;color:#714d3d;font-size:16px}
.v49-rebuilt button{font-family:inherit;cursor:pointer}
.v49-rebuilt button:focus-visible{outline:3px solid #9c4637;outline-offset:2px}
.v49-rebuilt [data-v49-replay]{border:1px solid #ad9b85;background:transparent;color:#904737;padding:9px 14px}
.v49-local-chart{color:#302b26;font-family:'Noto Serif CJK SC',serif;min-width:0}
.v49-local-chart .v49-chart-intro{font-size:16px;line-height:1.75;margin:8px 0 22px;color:#51463b}
.v49-summary-line{display:flex;align-items:center;justify-content:space-between;gap:16px}
.v49-summary-line strong{font:36px Georgia,serif;color:#954535}
.v49-summary-line strong small{font:14px 'Noto Serif CJK SC',serif;color:#7e6a58}
.v49-summary-line span{font:18px Georgia,serif;color:#825441}
.v49-parts{height:34px;display:flex;gap:2px;margin:15px 0 24px;background:#dcc9b5}
.v49-parts i{background:#a44a38;display:block}
.v49-parts i.core{background:#527970}
.v49-ability-rows{display:grid;gap:10px}
.v49-ability-rows>button{display:grid;grid-template-columns:minmax(175px,1.5fr) minmax(90px,2.3fr) 60px;align-items:center;gap:18px;width:100%;padding:13px 5px;background:transparent;color:#40372f;text-align:left;border-bottom:1px solid #cbbba8}
.v49-mini-track{height:18px;background:#e3d7c8;display:block;position:relative;overflow:hidden}
.v49-mini-track i{display:block;width:var(--bar);height:100%;background:#a44a38;transform-origin:left;transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.v49-mini-track i.core{background:#53796e}
.v49-ability-rows b{font:20px Georgia,serif;text-align:right}
.v49-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.v49-filter-row button{border:1px solid #bdaa95;background:transparent;color:#54493d;padding:10px 16px}
.v49-filter-row button[aria-pressed="true"]{color:#fff6ec;background:#93483a;border-color:#93483a}
.v49-relations-rows{display:grid;gap:2px}
.v49-relation-row{width:100%;display:grid;grid-template-columns:minmax(180px,2fr) minmax(130px,2fr) 80px 45px;gap:16px;align-items:center;text-align:left;padding:14px 3px;border-bottom:1px solid #c9b7a0;background:transparent;color:#3b342d;font-size:14px}
.v49-relation-row[hidden]{display:none!important}
.v49-rel-track{height:17px;display:block;background:#e3d5c3;position:relative;overflow:hidden}
.v49-rel-track>i{width:var(--bar);height:100%;display:block;background:#537970;transform-origin:left;transition:transform 1.1s ease}
.v49-rel-track>i.negative{background:#a64b39}
.v49-relation-row b{font:21px Georgia,serif;text-align:right}
.v49-relation-row small{font-size:12px;color:#715d4f;text-align:center}
.v49-local-read{margin:22px 0 12px;background:#e7d8c5;padding:16px 20px;border-left:3px solid #a14b3a;font-size:15px;line-height:1.8;min-height:58px}
.v49-source{font-size:12px!important;color:#705f50!important;line-height:1.85;border-top:1px solid #cbbca9;padding-top:13px;margin:0}
.v49-ability-rows button:hover,.v49-relation-row:hover,.v49-local-chart [data-v49-value].active{background:#e6d5be}
.v49-rebuilt.v49-motion .v49-mini-track i,.v49-rebuilt.v49-motion .v49-rel-track i{animation:v49-grow 1.2s cubic-bezier(.2,.78,.2,1) both}
@keyframes v49-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.v49-rebuilt .flourish-figure-links{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;padding-top:16px}
.v49-rebuilt .flourish-figure-links a{color:#963b30;text-decoration:underline;text-underline-offset:4px}
.v49-rebuilt figcaption{font-size:12px!important;line-height:1.7;color:#716354!important}
/* Embedded extended panels shouldn't collapse into a large dark empty panel. */
.na-v35-flourish-panel:has(.v49-rebuilt),.ab-v34-flourish-iframe:has(.v49-rebuilt),.pv-v3-flourish-more:has(.v49-rebuilt){background:#eee2d0;color:#342b26;max-width:100%}
.na-v35-flourish-panel .v49-rebuilt,.ab-v34-flourish-iframe .v49-rebuilt{width:100%;box-sizing:border-box}
#rm39-flourish-slot .v49-rebuilt{background:#f5eddd}
.mp41-flourish:has(.v49-rebuilt){min-height:0}
/* compact research prose / desk widths */
@media(min-width:1100px){.ab-v34-game .ab-v34-lab-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}}
@media(max-width:1180px){.v49-em-annotation{grid-template-columns:1fr;gap:14px}.v49-relation-row{grid-template-columns:minmax(130px,2fr) minmax(95px,2fr) 70px 36px;gap:8px}.ab-v34-manuscript .ab-v34-article h4{font-size:29px!important}}
@media(prefers-reduced-motion:reduce){.v49-rebuilt *, .scrolly-scene *{animation:none!important;transition:none!important}}
/* The case study now shows its complete local chart at first sight. */
.ab-v34-flourish-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:stretch;gap:26px}
.ab-v34-flourish-action.v49-direct-ability{display:block!important;padding:0!important;margin:0!important;min-width:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ab-v34-flourish-action.v49-direct-ability .flourish-figure{margin:0!important;height:100%;box-sizing:border-box}
.ab-v34-flourish-fallback{min-width:0;max-width:100%;box-sizing:border-box}
@media(max-width:1120px){.ab-v34-flourish-grid{grid-template-columns:1fr}}
/* Reusable off-line relation graph inside the network chapter inherits loud game button skins;
   reset just the actual evidence rows, not the original game. */
.na-v35 .v49-rebuilt .v49-relations-rows button.v49-relation-row,
.mp41 .v49-rebuilt .v49-relations-rows button.v49-relation-row,
.pv-v3-flourish-more .v49-rebuilt .v49-relations-rows button.v49-relation-row{
 display:grid!important;grid-template-columns:minmax(180px,2.3fr) minmax(150px,2fr) minmax(65px,.55fr) minmax(40px,.4fr)!important;
 gap:12px!important;align-items:center!important;min-height:56px!important;padding:10px 12px!important;
 background:transparent!important;color:#362f28!important;border:0!important;border-bottom:1px solid #c9b8a0!important;
 box-shadow:none!important;transform:none!important;opacity:1!important;border-radius:0!important;
 font-size:14px!important;letter-spacing:normal!important;
}
.na-v35 .v49-rebuilt .v49-relations-rows button.v49-relation-row:hover,
.na-v35 .v49-rebuilt .v49-relations-rows button.v49-relation-row.active,
.pv-v3-flourish-more .v49-rebuilt button.v49-relation-row:hover{background:#e6d5bd!important}
.v49-rebuilt .v49-relation-row :is(span,b,small){color:#42372e!important;line-height:1.4!important}
.v49-rebuilt .v49-relation-row span:first-child{font-size:14px!important}
.v49-rebuilt .v49-relation-row b{color:#914739!important;font-size:21px!important;text-shadow:none!important}
.v49-rebuilt .v49-rel-track{display:block!important;height:16px!important;width:100%!important;min-width:0!important;background:#dfceba!important;border:none!important;overflow:hidden!important}
.v49-rebuilt .v49-rel-track>i{width:var(--bar)!important;height:100%!important;display:block!important}
#employment .em-explore-visual.v48-flow-active .em-ribbon.is-highlight{animation:v49-flow-lit 1.45s ease-out both!important;animation-delay:0!important;opacity:.88!important}
#employment .em-explore-visual .em-ribbon.is-highlight{opacity:.86!important}
#employment .em-explore-visual .em-ribbon.is-dim{opacity:.16!important}
#employment .em-explore-visual .em-node{animation:none!important;opacity:1!important}
@keyframes v49-flow-lit{0%{filter:brightness(.83)}55%{filter:brightness(1.15)}100%{filter:brightness(1)}}
@media(max-width:1250px){.na-v35 .v49-rebuilt .v49-relations-rows button.v49-relation-row{grid-template-columns:minmax(130px,1.8fr) minmax(90px,1.5fr) 58px 35px!important;gap:7px!important}}
/* Hidden state wins over high-specificity narrative button skins. */
.na-v35 .v49-rebuilt .v49-relations-rows button.v49-relation-row[hidden],
.mp41 .v49-rebuilt .v49-relations-rows button.v49-relation-row[hidden],
.pv-v3-flourish-more .v49-rebuilt .v49-relations-rows button.v49-relation-row[hidden]{display:none!important}

/* V4.9 visual interludes: never leave an uninformative empty green slab.
 * Conceptual photographs ship inline in standalone; deployed build retains assets.
 */
.cinema-story>.cinema-photo{opacity:1!important;transform:none!important;min-height:clamp(340px,51vw,750px);background:#d9c7b0!important;isolation:isolate}
.cinema-story>.cinema-photo .photo-depth{height:clamp(340px,51vw,750px);transform:none!important}
.cinema-story>.cinema-photo img{width:100%;height:100%;min-height:clamp(340px,51vw,750px);object-fit:cover;object-position:center}
.cinema-story>.cinema-photo::after{content:'社会现场 · 概念影像';position:absolute;z-index:2;top:26px;left:35px;display:block;color:#f8ecdd;font-size:13px;letter-spacing:.19em;text-shadow:0 2px 9px #171611;pointer-events:none}
.cinema-story>.cinema-photo figcaption{z-index:3;font-size:12px;background:#171a17c9!important}
.cinema-ending>.cinema-photo{min-height:0!important}
.cinema-ending>.cinema-photo .photo-depth{height:100%!important}
.cinema-ending>.cinema-photo img{height:100%!important;min-height:100%!important}

/* Reuse the genuine 696-note Sankey in the method appendix, not a relation chart in its place. */
.mp41-local-flow{background:#f4eadc;border:1px solid #ccb9a3;padding:12px;overflow:auto;max-width:100%}
.mp41-local-flow svg{display:block;width:100%;max-width:100%;height:auto;min-width:700px}
#mp41-flow-detail{margin:10px 0;background:#eadcc8;padding:15px;color:#483d31;border-left:3px solid #a44d3c;font-size:15px;line-height:1.8}
.mp41-local-flow .em-ribbon{cursor:pointer;opacity:.75;transition:opacity .25s}
.mp41-local-flow .em-ribbon.is-dim{opacity:.13}
.mp41-local-flow .em-ribbon.is-highlight{opacity:1}
