:root {
  color-scheme: light;
  --navy: #0f2c59;
  --ink: #182c42;
  --muted: #526373;
  --gold: #a18137;
  --line: #d9dee0;
  --paper: #fcfbf8;
  --serif: "GenYoMin TW", "Noto Serif TC", "Songti TC", "PMingLiU", "新細明體", serif;
  --sans: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--sans); }
a { color: var(--navy); text-underline-offset: .22em; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #5585ba; outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 8; left: 1rem; top: .4rem; padding: .6rem 1rem; background: white; }
.frame { width: min(1192px, calc(100% - clamp(40px, 9vw, 144px))); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.18em; }
.mast { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast-in, .brand, .main-nav, .open-search { display: flex; align-items: center; }
.mast-in { min-height: 72px; gap: 30px; }
.brand { gap: 10px; text-decoration: none; flex-shrink: 0; }
.mark { width: 36px; height: 36px; }
.wordmark { width: 101px; height: auto; }
.brand span { border-left: 1px solid #c5cbd0; padding-left: 14px; margin-left: 4px; font: 600 .96rem var(--serif); letter-spacing: .12em; }
.main-nav { align-self: stretch; align-items: stretch; gap: 28px; margin-left: auto; }
.main-nav a { display: grid; place-items: center; position: relative; color: var(--muted); text-decoration: none; font-size: .85rem; font-weight: 600; }
.main-nav a[aria-current], .main-nav a:hover { color: var(--navy); }
.main-nav a[aria-current]::after { content: ""; position: absolute; bottom: 0; width: 100%; border-bottom: 3px solid var(--gold); }
.open-search { min-height: 44px; gap: 7px; background: transparent; border: 0; color: var(--navy); font-size: .86rem; padding: 0 0 0 22px; position: relative; }
.open-search::before { content: ""; position: absolute; left: 0; height: 18px; border-left: 1px solid var(--line); }
.cover, .market-fig { background-color: var(--navy); color: #f9faf9; }
.cover { background: linear-gradient(108deg,#102b4b,#102d50 63%,#0d2847); border-bottom: 3px solid #b89c5e; }
.cover-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(36px,6vw,100px); padding-block: clamp(40px,4vw,63px); }
.cover-text { padding-left: 1px; }
.cover-label, .fig-kicker, .eyebrow, .row-meta, .road li small { font-size: .72rem; font-weight: 650; letter-spacing: .1em; }
.cover-label, .cover-date { display: flex; align-items: center; gap: 12px; }
.cover-label { color: #f0d69e; }
.cover-label i { display: inline-block; width: 26px; height: 2px; background: #d3b377; }
.cover-label span, .fig-kicker span, .eyebrow span { opacity: .65; margin-inline: .22em; }
.cover h1, .article-head h1, .section-head h2, .market-fig h2, .report-row h3, .append-group h2, .data-fig h3, .dialog-top h2 { font-family: var(--serif); }
.cover h1 { margin: 20px 0 16px; font-size: clamp(3rem,4.5vw,4.6rem); font-weight: 650; line-height: 1.17; letter-spacing: .035em; }
.cover-text > p { max-width: 34em; margin: 0; color: #d9e1e8; line-height: 1.85; font-size: .98rem; }
.cover-actions { margin-top: 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; }
.start-reading { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; padding: 6px 15px; background: #e8d5ab; color: #172e49; text-decoration: none; font-size: .86rem; font-weight: 650; }
.start-reading:hover { background: #f4e5c6; }
.cover-date { font-size: .77rem; color: #c4d0dc; letter-spacing: .04em; gap: 6px; }
.cover-date time, .fig-kicker, .row-meta, .road li small { font-family: var(--mono), var(--sans); }
.market-fig { margin: 0; min-width: 0; padding: 22px 25px 16px; border: 1px solid #516375; background: #183651; }
.fig-head, .legend, .market-fig figcaption, .section-head, .metric-label, .footer > div, .dialog-top, .append-group a { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fig-kicker { color: #dfc895; letter-spacing: .075em; }
.market-fig h2 { margin: 4px 0 0; color: #fff; font-size: clamp(1.3rem,1.8vw,1.7rem); line-height: 1.45; font-weight: 600; }
.switch { display: flex; padding: 2px; border: 1px solid #758697; border-radius: 4px; }
.switch button { min-height: 36px; padding: 1px 11px; border: 0; color: #dee8ef; background: transparent; font-size: .77rem; }
.switch button[aria-pressed="true"] { background: #e7d2a3; border-radius: 2px; color: #192d43; font-weight: bold; }
.axis-unit, .legend small { color: #becdd8; font-size: .68rem; }
.axis-unit { margin-top: 10px; }
.plot svg { display: block; width: 100%; }
.plot svg text { font: 11px var(--mono); fill: #dae4ed; }
.plot svg .annot { font-weight: 700; fill: #fff; font-size: 12px; }
.plot svg .gold { fill: #f2d391; }
.gridline { stroke: #536678; stroke-width: .75; stroke-dasharray: 2 4; }
.forecast-zone { fill: #eedaaf; fill-opacity: .045; }
.observed, .forecast { fill: none; stroke-width: 2.7; stroke-linejoin: round; }
.observed { stroke: #e3ebf3; }
.forecast { stroke: #e5c381; stroke-dasharray: 5 4; }
.point { fill: #e3ebf3; stroke: #183651; stroke-width: 1.3; }
.point.pred { fill: #183651; stroke: #e5c381; stroke-width: 1.8; }
.legend { justify-content: flex-start; gap: 15px; font-size: .75rem; color: #e7eaf0; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 20px; border-top: 2px solid #dce4ec; }
.legend i.dashed { border-top: 2px dashed #e3c389; }
.legend small { margin-left: auto; }
.market-fig figcaption { border-top: 1px solid #4c6276; margin-top: 12px; padding-top: 10px; font-size: .71rem; color: #cbd7df; flex-wrap: wrap; }
.market-fig figcaption a { color: #f1dbac; text-decoration: none; }
.market-fig figcaption a:hover, .road li a:hover, .append-group a:hover { text-decoration: underline; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid #bcc5cb; padding-block: 25px; }
.metric { min-width: 0; text-decoration: none; padding-inline: clamp(13px,2.5vw,40px); }
.metric:first-child { padding-left: 0; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric-label { color: #384d60; font-size: .84rem; font-weight: 650; justify-content: flex-start; }
.metric-label .icon { color: #7c6a44; width: 13px; }
.metric strong { display: block; margin: 3px 0; font: 500 clamp(2.1rem,3.25vw,3.25rem)/1.18 Georgia,var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.035em; }
.metric strong small { margin-left: 6px; font: 500 .93rem var(--sans); letter-spacing: normal; }
.metric p, .report-row p, .road li p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.home-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(235px,.9fr); gap: clamp(38px,6vw,96px); margin: 43px 0 70px; }
.section-head { border-bottom: 2px solid var(--navy); padding-bottom: 13px; align-items: baseline; }
.section-head h2, .append-group h2 { margin: 0; font-weight: 650; color: var(--navy); font-size: 1.6rem; letter-spacing: .035em; }
.section-head > span { font-size: .78rem; color: var(--muted); }
.report-row { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 2px; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; }
.topic-icon { display: grid; place-items: center; width: 47px; height: 47px; background: #eef1ef; color: var(--navy); border: 1px solid #d8dfdd; }
.topic-icon .icon { width: 25px; height: 25px; }
.row-meta, .road li small { color: #796337; }
.row-meta em, .road li small em { color: #9b9b90; padding-inline: .4em; font-style: normal; }
.report-row h3 { margin: 3px 0; font-size: 1.33rem; line-height: 1.45; font-weight: 650; }
.row-arrow { color: #7a8992; }
.report-row:hover { background: #f1f2ed; }
.report-row:hover .row-arrow { color: var(--navy); transform: translateX(2px); }
.road ol { list-style: none; padding: 5px 0 0; margin: 14px 0 25px 5px; }
.road li { position: relative; padding: 0 0 23px 22px; border-left: 1px solid #c5caca; }
.road li:last-child { border-left-color: transparent; padding-bottom: 0; }
.road li::before { position: absolute; content:""; left: -5px; top: 6px; width: 7px; height: 7px; border-radius: 100%; background: var(--paper); border: 1px solid #897740; }
.road li:first-child::before { background: var(--gold); }
.road li a { display: block; text-decoration: none; font: 650 1.14rem/1.7 var(--serif); margin: 2px 0; }
.appendix-cta { display: flex; align-items: center; gap: 9px; background: #efece2; color: var(--navy); padding: 13px 15px; font-size: .86rem; font-weight: 600; text-decoration: none; }
.appendix-cta .icon:last-child { margin-left: auto; }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.footer > div { min-height: 67px; }
.footer a { text-decoration: none; }
.foot-div { color: var(--gold); margin-inline: 5px; }
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: .7em; font-size: .78rem; color: var(--muted); margin-block: 24px; }
.crumb a { text-decoration: none; color: inherit; }
.crumb a:hover { text-decoration: underline; }
.article-head { padding-block: 9px 29px; border-bottom: 2px solid var(--navy); }
.eyebrow { color: #7e6731; }
.article-head h1 { max-width: 24em; font-size: clamp(1.9rem,3.1vw,3.1rem); line-height: 1.4; letter-spacing: .02em; margin: 9px 0 10px; color: var(--navy); }
.article-head p { color: var(--muted); margin: 0 0 13px; }
.article-head p:empty { display: none; }
.article-meta { font-size: .8rem; }
.reading-grid { display: grid; grid-template-columns: minmax(190px,245px) minmax(0,1fr); gap: clamp(28px,5vw,78px); margin: 32px 0 70px; }
.reading-grid aside { min-width: 0; }
.toc { position: sticky; top: 1.2rem; max-height: calc(100vh - 3rem); overflow: auto; border-top: 2px solid var(--gold); background: #f0f1ec; padding: 0 16px; }
.toc summary { padding: 12px 0; font-size: .89rem; font-weight: 700; color: var(--navy); }
.toc nav { padding: 0 0 12px; }
.toc a { display: block; text-decoration: none; color: var(--muted); padding: 7px 4px 7px 8px; font-size: .79rem; line-height: 1.55; border-left: 2px solid transparent; }
.toc .toc-h2 { color: var(--navy); font-weight: 700; margin-top: 3px; }
.toc .toc-h3 { padding-left: 14px; }
.toc .toc-h4 { padding-left: 22px; }
.toc a:hover, .toc a[aria-current] { background: #e5e9e5; border-left-color: #8c753e; color: var(--navy); }
.article-body { min-width: 0; max-width: 855px; }
.prose { font-size: 1rem; line-height: 1.95; overflow-wrap: anywhere; }
.prose > h2 { margin: 2.7rem 0 1rem; padding: 0 0 .5rem; color: var(--navy); border-bottom: 1px solid #aeb9bf; font: 650 1.8rem/1.42 var(--serif); }
.prose > h2:first-child { margin-top: 0; }
.prose > h3, .prose > h4 { color: var(--navy); margin: 2em 0 .6em; line-height: 1.55; }
.prose > h3 { font: 650 1.42rem/1.5 var(--serif); }
.prose p { margin: .9em 0; }
.prose li { margin: .4em 0; }
.prose ul, .prose ol, .quiz ul { padding-left: 1.55em; }
.prose a, .quiz > a { color: #214f79; text-decoration-color: #aabac2; }
.prose a:hover { text-decoration-color: currentColor; }
.prose code { font: .86em var(--mono); background: #edf0ee; color: #37516a; border-radius: 3px; padding: .1em .27em; }
.prose pre { max-width: 100%; overflow: auto; margin-block: 1.35em; background: #ecf0f1; border-left: 3px solid #9d864f; padding: 16px; line-height: 1.65; }
.prose pre code { padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
.prose details { background: #f1f2ed; padding: 9px 14px; margin: 1em 0; }
.prose summary { color: var(--navy); font-weight: 650; }
.table-scroll { max-width: 100%; overflow: auto; margin: 1rem 0 1.5rem; border: 1px solid #d2d9dc; }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: min(100%, 26rem); font-size: .89rem; line-height: 1.7; background: #fff; }
.prose th, .prose td { min-width: 7.3em; vertical-align: top; text-align: left; padding: 10px 12px; border-right: 1px solid #e2e5e5; border-bottom: 1px solid #e0e4e5; }
.prose table:has(th:nth-child(4)) { min-width: calc(var(--cols) * 8.8rem); }
.prose thead th { color: #fff; background: #243f5a; font-weight: 600; border-right-color: #50647a; }
.prose tbody th { font-weight: 600; color: #2e4860; }
.prose tr:nth-child(even) { background: #f4f6f4; }
.prose th:last-child, .prose td:last-child { border-right: 0; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose .market-fig, .data-fig { margin: 1.3em 0 1.7em; }
.prose .market-fig { max-width: 680px; }
.prose .market-fig figcaption a { color: #f1dbac; }
.data-fig { background: #edf1ef; border-top: 2px solid #a58b4e; padding: 20px clamp(14px,3vw,30px); }
.data-fig .fig-kicker { color: #725e31; }
.data-fig h3 { margin: 3px 0 16px; font-size: 1.35rem; color: var(--navy); }
.data-fig figcaption { margin-top: 13px; font-size: .82rem; color: var(--muted); }
.bar-row { display: grid; grid-template-columns: 8em minmax(20px,1fr) 6em; gap: .7em; align-items: center; font-size: .85rem; }
.bar-row b { font-family: var(--mono); text-align: right; }
.bar-track { background: #dde4e2; }
.bar-track i { display: block; height: 8px; background: #42627c; }
.bar-track i.accent { background: #a18443; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); }
.steps > div { padding: 0 12px; border-left: 1px solid #c8d2d1; }
.steps > div:first-child { padding-left: 0; border: 0; }
.steps span { color: var(--muted); font-size: .78rem; }
.steps b { display: block; color: var(--navy); }
.steps p { font-size: .82rem; margin: 4px 0 0; }
.next-report { display: grid; grid-template-columns: 1fr auto; margin-top: 2.5rem; padding: 16px 20px; background: #eaf0ef; text-decoration: none; }
.next-report span { font-size: .75rem; color: var(--muted); }
.next-report b { grid-column: 1; }
.next-report .icon { grid-column: 2; grid-row: 1/3; align-self: center; }
.append-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-block: 36px 45px; }
.append-group h2 { font-size: 1.3rem; border-bottom: 2px solid var(--gold); padding-bottom: 12px; }
.append-group a { min-height: 50px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .91rem; }
.question-bank { max-width: 900px; margin-bottom: 65px; }
.quiz { border-bottom: 1px solid var(--line); padding-block: 8px; }
.quiz summary { padding-block: 10px; color: var(--navy); }
.quiz summary span { font: .85rem var(--mono); margin-right: 12px; color: #806735; }
.quiz small { margin-left: 8px; color: var(--muted); }
.quiz li { margin-bottom: .6rem; }
.quiz > a { font-size: .88rem; }
#search-dialog { border: 1px solid #a8b5bc; border-top: 4px solid var(--gold); color: var(--ink); width: min(620px,calc(100% - 24px)); max-height: 82dvh; background: var(--paper); padding: 20px 24px; }
#search-dialog::backdrop { background: #1429418c; }
.dialog-top h2 { margin: 0; font-size: 1.55rem; }
.close-search { min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 1.6rem; color: var(--navy); }
#search-dialog label, .search-status { font-size: .83rem; color: var(--muted); }
#query { width: 100%; border: 1px solid #8d9eaa; background: white; padding: 10px 12px; margin-top: 4px; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { border-top: 1px solid var(--line); }
.results a { display: block; padding: 11px 3px; text-decoration: none; overflow-wrap: anywhere; }
.results a:hover { background: #eef1ef; }
.results small, .results strong, .results span { display: block; }
.results small, .results span { color: var(--muted); font-size: .78rem; }
.results strong { font-size: .94rem; }
.results mark { background: #efe0b6; color: var(--ink); }
@media (max-width: 880px) {
  .cover-grid { gap: 28px; grid-template-columns: .91fr 1fr; }
  .market-fig { padding: 17px 15px 12px; }
  .mast-in { gap: 17px; }
  .main-nav { gap: 16px; }
  .home-grid { gap: 28px; }
  .reading-grid { grid-template-columns: minmax(0,1fr); gap: 17px; margin-top: 17px; }
  .toc { position: static; max-height: 48vh; }
  .article-body { max-width: none; }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 36px); }
  .mast-in { min-height: 54px; gap: 0; flex-wrap: wrap; }
  .brand { min-height: 54px; gap: 6px; }
  .mark { width: 29px; height: 29px; }
  .wordmark { width: 84px; }
  .brand span { padding-left: 11px; font-size: .88rem; }
  .main-nav { order: 1; flex-basis: 100%; gap: 23px; border-top: 1px solid var(--line); }
  .main-nav a { min-height: 40px; }
  .open-search { margin-left: auto; padding-left: 12px; }
  .open-search::before { display: none; }
  .cover-grid { grid-template-columns: 1fr; padding-block: 28px 22px; gap: 20px; }
  .cover h1 { margin: 12px 0; font-size: clamp(2.8rem,9vw,3.5rem); }
  .cover-text > p { line-height: 1.75; font-size: .91rem; }
  .cover-actions { margin-top: 15px; }
  .market-fig { padding: 15px 15px 10px; }
  .metrics { padding-block: 17px; }
  .metric { padding-inline: 10px; }
  .metric-label { font-size: .72rem; line-height: 1.45; }
  .metric-label .icon { display: none; }
  .metric strong { font-size: clamp(1.35rem,5vw,2.1rem); margin: 5px 0; }
  .metric strong small { font-size: .68rem; margin-left: 2px; }
  .metric p { font-size: .72rem; line-height: 1.5; }
  .home-grid, .append-groups { grid-template-columns: 1fr; gap: 30px; margin: 27px 0 42px; }
  .section-head h2 { font-size: 1.45rem; }
  .report-row { gap: 12px; padding-block: 15px; }
  .report-row h3 { font-size: 1.16rem; }
  .topic-icon { width: 39px; height: 43px; }
  .report-row p { font-size: .79rem; }
  .road { margin-top: 4px; }
  .prose > h2 { font-size: 1.5rem; }
  .prose > h3 { font-size: 1.23rem; }
  .steps { grid-template-columns: 1fr; }
  .steps > div, .steps > div:first-child { border: 0; padding: 7px 0; }
  .steps > div + div { border-top: 1px solid var(--line); }
}
@media print {
  body { background: white; color: black; }
  .mast, .footer, .toc, .article-meta, .next-report, .open-search, dialog, .switch, .crumb { display: none !important; }
  .frame { width: 100%; }
  .reading-grid, .home-grid, .cover-grid { display: block; margin: 0; }
  .article-body { max-width: none; }
  .article-head { margin-bottom: 1em; }
  .prose { font-size: 9.5pt; }
  h2, h3, h4 { break-after: avoid; }
  figure, tr { break-inside: avoid; }
  .prose table, .prose table:has(th:nth-child(4)) { min-width: 0; font-size: 7.5pt; line-height: 1.35; }
  .prose td, .prose th { min-width: 0; padding: 3px; }
  .table-scroll, .prose pre { overflow: visible; }
  .market-fig, .cover, .prose thead th, .data-fig, .bar-track { print-color-adjust: exact; }
}
