/* IPO 资本窗口观察台: a research journal rather than a dashboard. Warm paper, an ink rail,
   serif headlines, hairlines instead of boxes, and marks that stay thin so the data leads.
   Chart colours --a to --c8 passed the palette validator on both surfaces. */
:root {
  --paper: #f6f3ec; --panel: #fffdf8; --panel2: #faf7f0; --ink: #15202b; --ink2: #49535f; --ink3: #6e7480;
  --line: #e4dfd3; --line2: #efeadf; --chip: #f1ece2;
  --accent: #27479a; --accent-soft: #e6eaf5; --brass: #b4934f; --brass-ink: #86692c;
  --up: #0f7a50; --down: #c0392f; --warn: #9a6410; --warn-soft: #f8eed9;
  --a: #2b5cb0; --h: #d9622b; --u: #12937f; --c4: #d6980f; --c5: #c95c8c; --c6: #3a8a3a; --c7: #6a56c9; --c8: #cf4444;
  --kup: #d9363e; --kdn: #0f9d58;
  --rail: #101b27; --rail-ink: #bcc6d0; --rail-mute: #7f8c9a; --band: #101b27; --mute-chart: #a3a39c;
  --sans: "Segoe UI Variable Text", "Segoe UI", -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STZhongsong", "SimSun", serif;
  --r: 14px; --gap: 16px; --rail-w: 228px; --pad: 36px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1318; --panel: #171c23; --panel2: #1c222a; --ink: #eceef1; --ink2: #b4bbc5; --ink3: #8d94a0;
    --line: #2a313b; --line2: #222831; --chip: #242b35;
    --accent: #93acee; --accent-soft: #222c44; --brass: #c9a860; --brass-ink: #c9a860;
    --up: #3cc48a; --down: #f07a6e; --warn: #e0ad55; --warn-soft: #332a1a;
    --a: #5a88de; --h: #d6703a; --u: #1aa08a; --c4: #b5861a; --c5: #c96a95; --c6: #4a994a; --c7: #8a7ce0; --c8: #dc5c5c;
    --kup: #f0585f; --kdn: #2fbf77;
    --rail: #0b1016; --band: #141b24; --mute-chart: #6f7682;
    color-scheme: dark;
  }
}

/* ---- base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink3); }
::-webkit-scrollbar-track { background: transparent; }
.up { color: var(--up); } .down { color: var(--down); } .muted { color: var(--ink3); }
.small { font-size: 12.5px; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.loading { padding: 120px 0; text-align: center; color: var(--ink3); font-family: var(--serif); font-size: 16px; }
.empty { padding: 28px; text-align: center; color: var(--ink3); }

/* ---- shell: ink rail + paper page */
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail-w); background: var(--rail); color: var(--rail-ink); display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 11px; padding: 22px 20px 16px; color: #fff; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { display: block; font: 600 16px/1.25 var(--serif); letter-spacing: .02em; color: #fff; }
.brand small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.2; color: var(--rail-mute); letter-spacing: .08em; }
.search { position: relative; padding: 0 14px 10px; }
.search svg { position: absolute; left: 25px; top: 9px; width: 14px; height: 14px; fill: none; stroke: var(--rail-mute); stroke-width: 1.6; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; padding: 6px 10px 6px 31px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 9px; background: rgba(255, 255, 255, .06); color: #fff; font: 13px/1.5 var(--sans); }
.search input::placeholder { color: var(--rail-mute); }
.search input:focus { outline: none; border-color: var(--brass); background: rgba(255, 255, 255, .1); }
#qres { position: absolute; left: 14px; top: calc(100% - 4px); width: 420px; max-height: 460px; overflow: auto; padding: 4px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 27, 39, .22); z-index: 40; }
#qres a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#qres a.cur, #qres a:hover { background: var(--accent-soft); text-decoration: none; }
#nav { flex: 1; overflow: auto; padding: 0 10px 12px; scrollbar-width: none; }
#nav::-webkit-scrollbar { display: none; }
.nt { padding: 14px 10px 4px; font-size: 11px; letter-spacing: .14em; color: var(--rail-mute); }
#nav a { position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--rail-ink); font-size: 13.5px; line-height: 1.4; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
#nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
#nav a.on { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
#nav a.on::before { content: ""; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brass); }
#nav svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
#nav a.on svg { opacity: 1; }
.rail-foot { padding: 12px 20px 16px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 11.5px; line-height: 1.75; color: var(--rail-mute); font-variant-numeric: tabular-nums; }
.rail-foot b { display: block; font-weight: 500; color: var(--rail-ink); }
.rail-foot .chk { display: flex; margin-top: 8px; color: var(--rail-ink); font-size: 11.5px; }
.rail-foot .chk input { accent-color: var(--brass); }
.rail-foot i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--brass); vertical-align: 1px; }
.shell { margin-left: var(--rail-w); min-width: 0; }
main { max-width: 1560px; margin: 0 auto; padding: 24px var(--pad) 88px; }
main[data-group]:not([data-group=""])::before { content: attr(data-group); display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .16em; color: var(--brass-ink); }

/* ---- filter bar */
.fbar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 9px var(--pad); background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.fbar .fg { display: inline-flex; align-items: center; gap: 1px; }
.fbar .fg button { padding: 3px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--ink2); font: 12.5px/1.6 var(--sans); cursor: pointer; transition: background .15s, color .15s; }
.fbar .fg button:hover { background: var(--chip); }
.fbar .fg button.g { font-weight: 600; color: var(--ink); }
.fbar .fg button.on { background: var(--ink); color: var(--paper); }
.fbar .fg + .fg::before { content: ""; width: 1px; height: 14px; margin-right: 13px; background: var(--line); }
.fbar .fact { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font: 500 12.5px/1.6 var(--sans); text-decoration: none; transition: background .15s; }
.fbar .fact:hover { background: var(--chip); }
.fbar .fact svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1440px) { .fbar { gap: 6px 8px; } .fbar .fg button { padding: 3px 7px; } .fbar .fg + .fg::before { margin-right: 8px; } }
.chk { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink2); cursor: pointer; }
.chk input { margin: 0; accent-color: var(--ink); }

/* ---- type */
h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 10px; font: 600 30px/1.3 var(--serif); letter-spacing: .01em; }
h3 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; margin: 0 0 14px; font: 600 15px/1.45 var(--sans); }
.card h3 .hint { flex: 1 0 100%; order: 3; margin-top: 3px; font-weight: 400; font-size: 12.5px; line-height: 1.6; color: var(--ink3); }
.card h3 .hint:has(> a:only-child) { flex: 0 1 auto; order: 2; margin: 0 0 0 auto; }
.lead { max-width: 104ch; margin: 0 0 22px; color: var(--ink2); line-height: 1.85; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--chip); color: var(--ink2); font: 400 12px/1.6 var(--sans); letter-spacing: 0; }
.sect { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 36px 0 14px; }
.sect h3 { margin: 0; font: 600 21px/1.35 var(--serif); }
.sect p { margin: 0 0 0 auto; font-size: 12.5px; color: var(--ink3); }
.sec { margin: 22px 0 8px; font: 600 15px/1.45 var(--sans); }

/* ---- page head: title, one line, then a bar of views and controls that stays in view */
.phead { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; margin-bottom: 10px; padding-right: 158px; }
.plink { position: absolute; right: 78px; top: 9px; padding: 0; border: 0; background: none; color: var(--ink3); font: 12.5px var(--sans); cursor: pointer; }
.plink:hover { color: var(--accent); }
.phead h2 { margin: 0; font-size: 27px; }
.phead .lead { flex: 1 1 320px; margin: 0; font-size: 13.5px; line-height: 1.7; }
.method { flex: 1 0 100%; margin: 0; font-size: 13px; color: var(--ink2); }
.method summary { position: absolute; right: 0; top: 11px; font-size: 12.5px; color: var(--ink3); cursor: pointer; }
.method summary:hover { color: var(--accent); }
.method > div { max-width: 104ch; margin-top: 6px; padding: 2px 0 2px 14px; border-left: 2px solid var(--brass); line-height: 1.8; }
.pbar { position: sticky; top: var(--fbar-h, 0px); z-index: 15; display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 20px; min-height: 46px; margin: 0 calc(var(--pad) * -1) 20px; padding: 0 var(--pad); background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.vtabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.vtabs::-webkit-scrollbar { display: none; }
.vtabs a { position: relative; display: flex; align-items: center; padding: 8px 0; color: var(--ink2); font-size: 14px; white-space: nowrap; }
.vtabs a:hover { color: var(--ink); text-decoration: none; }
.vtabs a.on { color: var(--ink); font-weight: 600; }
.vtabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--brass); }
.pctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; padding: 6px 0; }
.pctl:only-child { margin-left: 0; }
.pbar > .seg { align-self: center; padding: 2px; }
.pbar > .seg button { padding: 3px 12px; font-size: 13px; }
.pctl .seg { padding: 2px; }
.pctl .seg button { padding: 3px 10px; font-size: 12.5px; }
.pctl select, .pctl input { padding: 3px 8px; font-size: 12.5px; }
.pbar + .sect { margin-top: 6px; }
#view > .card + .card, #view > .card + .grid, #view > .grid + .card, #view > .grid + .grid { margin-top: var(--gap); }

/* ---- layout */
.grid { display: grid; gap: var(--gap); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.grid.env { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.card { min-width: 0; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.card .note, .note { margin-top: 8px; font-size: 12px; color: var(--ink3); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.row-flex { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.row-flex .meter { width: 100%; }
.callout { margin: 10px 0; padding: 10px 14px; border-radius: 10px; background: var(--warn-soft); font-size: 13px; }
.biz { margin: 10px 0 18px; padding: 2px 0 2px 14px; border-left: 2px solid var(--brass); color: var(--ink2); line-height: 1.8; max-width: 110ch; }

/* ---- controls */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--chip); }
.seg button, .seg a { padding: 4px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink2); font: 13px/1.5 var(--sans); cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover, .seg a:hover { color: var(--ink); text-decoration: none; }
.seg button.on, .seg a.on { background: var(--panel); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(21, 32, 43, .1); }
.seg.tabs { font-weight: 500; }
select, input[type=text], input[type=date], input[type=number], textarea, .pf-m { padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font: 13px/1.5 var(--sans); }
input[type=search] { font: 13px/1.5 var(--sans); }
textarea { width: 100%; min-height: 74px; }
.basis { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink3); white-space: nowrap; }
.bline { margin: -8px 0 16px; font-size: 12.5px; line-height: 1.7; color: var(--ink3); }
.bline b { color: var(--ink2); font-weight: 600; }
.period { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.pf-m { width: 112px; padding: 3px 6px; font-size: 12.5px; }
.dr { padding: 0; border: 0; border-bottom: 1px dotted var(--ink3); background: none; color: inherit; font: inherit; cursor: pointer; }
.dr:hover, .dr:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
[data-dr] { cursor: pointer; }
.funnel a[data-dr]:hover b { color: var(--accent); }
.chart.drillable { position: relative; }
.dr-open { overflow: hidden; }
#dr-bg { position: fixed; inset: 0; z-index: 900; background: rgba(15, 19, 24, .3); }
#dr { position: fixed; top: 0; right: 0; bottom: 0; z-index: 901; width: min(1320px, 100vw); padding: 22px 26px 26px; overflow: auto; background: var(--panel); border-left: 1px solid var(--line); box-shadow: -18px 0 48px rgba(16, 27, 39, .2); transform: translateX(28px); opacity: 0; transition: transform .18s ease, opacity .18s ease; }
#dr.on { transform: none; opacity: 1; }
#dr[hidden], #dr-bg[hidden] { display: none; }
#dr header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
#dr h3 { margin: 0; font-size: 18px; }
#dr header p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink3); }
#dr-x { flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel2); color: var(--ink2); font-size: 18px; line-height: 1; cursor: pointer; }
#dr-x:hover { color: var(--ink); }
#dr-k { gap: 18px; margin-bottom: 14px; }
#dr-k .minikpi { min-width: 84px; }
#dr .bar { margin-bottom: 10px; }
#dr-q { flex: 1 1 200px; max-width: 320px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font: 13px/1.5 var(--sans); }
#dr .tablewrap { max-height: none; }
#dr td:last-child { min-width: 280px; }
#dr td:last-child .cw { width: 400px; max-width: none; white-space: normal; }
@media (max-width: 900px) { #dr td:last-child .cw { width: 260px; } }
@media (max-width: 640px) { #dr { padding: 16px; } #dr-k { gap: 12px; } #dr-q { max-width: none; } }
@media (prefers-reduced-motion: reduce) { #dr { transition: none; } }
table.heat td.hc { padding: 2px 3px; text-align: center; }
table.heat th:not(.l) { text-align: center; }
.hb { display: block; width: 100%; min-width: 58px; padding: 4px 8px; border: 0; border-radius: 6px; font: inherit; font-variant-numeric: tabular-nums; color: var(--ink); text-align: center;
  background: color-mix(in srgb, var(--a) calc(var(--v, 0) * 42%), transparent); }
button.hb { cursor: pointer; }
button.hb:hover { outline: 1.5px solid var(--ink3); outline-offset: -1px; }
.hb.pos { background: color-mix(in srgb, var(--up) calc(var(--v, 0) * 40%), transparent); }
.hb.neg { background: color-mix(in srgb, var(--down) calc(var(--v, 0) * 40%), transparent); }
.hb.thin { color: var(--ink3); }
.lim { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.75; color: var(--ink2); }
.lim li + li { margin-top: 4px; }
.calbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.calbar > b { font-size: 15px; }
.calbar .legend-b { margin-left: auto; }
.calgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 20px; margin-bottom: 14px; }
.calgrid.n12 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.calm h4 { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 6px; font-size: 13.5px; font-weight: 600; }
.calm h4 a { color: var(--ink); }
.calm h4 span { font-size: 12px; font-weight: 400; color: var(--ink3); }
.calm .mc .c { height: 34px; padding: 1px 3px; }
.calm .mc .c.has { background: var(--accent-soft); }
.calm .mc .h { font-size: 11px; }
.chips { display: flex; flex-wrap: wrap; gap: 3px; white-space: normal; }
.chips .chip { display: inline-block; padding: 1px 6px; border-radius: 4px; color: #fff; font-size: 11.5px; line-height: 1.5; }
.chips .chip:hover { text-decoration: none; filter: brightness(1.08); }
.chips .chip.b-H { background: var(--h); } .chips .chip.b-U { background: var(--u); }
a.hm { color: inherit; }
button.btn { padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font: 13px/1.5 var(--sans); cursor: pointer; transition: background .15s; }
button.btn:hover { background: var(--chip); }
button.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
label.inline { display: inline-flex; align-items: center; gap: 6px; color: var(--ink2); }
.defq { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; margin-left: 3px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink3); font: 500 10px/1 var(--sans); vertical-align: 1px; }
.tc-big { margin-bottom: 8px; font: 600 40px/1 var(--serif); font-variant-numeric: tabular-nums; }
.tc-big span { margin-left: 8px; font: 500 13px var(--sans); }
.tc td.l { white-space: normal; }
.tc-sum td { border-top: 1px solid var(--line); font-weight: 500; }
.ph-i { display: inline-block; margin-right: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ph-i i { font-style: normal; }
.cr-read { gap: 10px 26px; }
.cr-v { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 12px; font-size: 13.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.cr-chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cr-s { position: relative; min-width: 0; padding: 10px 12px 8px; border: 1px solid var(--line); border-radius: 10px; }
.cr-s + .cr-s::before { content: "→"; position: absolute; top: 11px; left: -13px; font-size: 12px; color: var(--ink3); }
.cr-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 6px; font-size: 13.5px; }
.cr-h b { font-weight: 600; }
.cr-s dl { margin: 6px 0 0; }
.cr-s dl > div { padding: 5px 0; border-top: 1px solid var(--line2); }
.cr-s dt { font-size: 12px; color: var(--ink3); }
.cr-s dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 0; font-size: 12px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.cr-s dd b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.cr-s dd i { margin-left: auto; font-style: normal; color: var(--ink3); }
.cr-s dd i.in { color: var(--up); }
.cr-s dd i.out { color: var(--down); }
@media (max-width: 1100px) { .cr-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cr-s + .cr-s::before { display: none; } }
@media (max-width: 560px) { .cr-chain { grid-template-columns: minmax(0, 1fr); } }
.cr-t > div { min-width: 0; }
.cr-t .cal-h { flex-wrap: wrap; }
.cr-read b { font-size: 13.5px; }
.cr-read p { margin: 2px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink2); font-variant-numeric: tabular-nums; }
.st { margin-bottom: var(--gap); }
.st-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.st-h b { margin-left: 6px; font: 600 17px/1.5 var(--serif); }
.st-b { max-width: 104ch; margin: 8px 0 12px; font-size: 13.5px; line-height: 1.8; color: var(--ink2); }
.st-v { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 14px; }
.st-t { min-width: 0; }
.st-t h5 { margin: 0; font-size: 12.5px; font-weight: 500; color: var(--ink3); }
.st-t b { display: block; margin-top: 1px; font: 600 17px/1.35 var(--serif); font-variant-numeric: tabular-nums; }
.st-t p { margin: 2px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink2); font-variant-numeric: tabular-nums; }
.chart.st-c { height: 66px; min-height: 0; margin-top: 4px; }
.st-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 12px; border-top: 1px solid var(--line2); }
.st-g h4 { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.st-l { margin: 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.6; }
.st-l li + li { margin-top: 10px; }
.st-l time { display: block; color: var(--ink3); font-variant-numeric: tabular-nums; }
.st-l b { display: block; font-weight: 600; }
.st-l span { display: block; color: var(--ink2); }
.st-l em { font-style: normal; font-size: 12px; }
.st-k { margin: 0; font-size: 12.5px; line-height: 1.5; }
.st-k div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.st-k dt { color: var(--ink3); white-space: nowrap; }
.st-k dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.st-w { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line2); font-size: 13px; color: var(--ink2); }
.st-w b { margin-right: 10px; font-weight: 600; color: var(--ink); }
.st-brief { margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.st-brief li { display: flex; align-items: center; gap: 4px; padding: 5px 0; }
.st-brief span:last-child { margin-left: 6px; }
.pl, .pl ul { margin: 0; padding: 0; list-style: none; }
.pl li.pe { display: grid; grid-template-columns: 92px 150px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line2); font-size: 13px; }
.pl time { color: var(--ink3); font-variant-numeric: tabular-nums; }
.pl b { font-weight: 600; }
.pl p { max-width: 92ch; margin: 2px 0; line-height: 1.7; color: var(--ink2); }
.pl em { font-style: normal; font-size: 12px; }
.sp-sum { overflow-x: auto; }
#sp-case > .card, #sp-case + .grid { margin-top: var(--gap); }
.sp-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.hb2 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--gap); }
.hb2 .st { display: flex; flex-direction: column; margin-bottom: 0; }
.hb2 .st-v { flex: 1; }
.hb2 .st-t { display: flex; flex-direction: column; }
.hb2 .chart.st-c { flex: 1 1 66px; }
.env.one .card:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; align-items: start; }
.env.one h3 { grid-column: 1 / -1; }
.env.one .comp { margin-bottom: 0; }
.env.one .state-row { margin-top: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--line2); }
.hb-c { display: flex; flex-direction: column; }
.hb-m { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 216px; align-items: center; gap: 8px 24px; padding: 12px 0; border-top: 1px solid var(--line2); }
.hb-m:first-of-type { padding-top: 0; border-top: 0; }
.hb-g { min-width: 0; }
.hb-gh { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; font-size: 11.5px; line-height: 1.5; color: var(--ink3); font-variant-numeric: tabular-nums; }
.hb-gh span:first-child { flex-basis: 100%; }
.hb-gh b { font-weight: 600; color: var(--ink); }
.hb-bars { display: flex; align-items: flex-end; gap: 3px; height: 58px; margin-top: 6px; border-bottom: 1px solid var(--line); }
.hb-bars a { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; height: 100%; }
.hb-bars em { font-style: normal; font-size: 10px; line-height: 13px; color: var(--ink3); text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hb-bars a[data-dr] { cursor: pointer; }
.hb-bars i { display: block; width: 100%; border-radius: 2px 2px 0 0; background: var(--c); }
.hb-bars a[data-dr]:hover i { opacity: .72; }
.hb-bars .cur i { opacity: .42; }
.hb-gx { display: flex; justify-content: space-between; margin-top: 3px; font-size: 11px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.hb-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.hb-h b { margin-left: 6px; font: 600 15px/1.5 var(--serif); }
.hb-l { display: grid; gap: 1px; margin: 4px 0 0; font-size: 12.5px; line-height: 1.65; color: var(--ink2); font-variant-numeric: tabular-nums; }
.hb-l span b { margin-right: 6px; font-weight: 500; color: var(--ink3); }
.nw { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.55; }
.nw li { padding: 7px 0; border-top: 1px solid var(--line2); }
.nw li:first-child { padding-top: 0; border-top: 0; }
.nw a { color: var(--ink); }
.nw li > div { margin-top: 2px; font-size: 11.5px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.pl-y { margin: 16px 0 2px; font: 600 16px/1.4 var(--serif); }
.pl-y:first-child { margin-top: 0; }
.cal-b { margin: 14px 0 10px; }
@media (max-width: 1100px) { .st-v, .st-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hb2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .hb-m { grid-template-columns: minmax(0, 1fr); } .st-g { grid-template-columns: minmax(0, 1fr); } .pl li.pe { grid-template-columns: minmax(0, 1fr); gap: 3px; } .sp-k { grid-template-columns: minmax(0, 1fr); } }
.defq:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ---- numbers */
.kpi .l { font-size: 12.5px; color: var(--ink2); }
.kpi .v { margin: 4px 0 3px; font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.kpi .d { font-size: 12px; line-height: 1.6; color: var(--ink3); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.grid.g4:has(> .card > .kpi) { gap: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: var(--gap) !important; }
.grid.g4:has(> .card > .kpi) > .card { padding: 18px 22px; border: 0; border-left: 1px solid var(--line2); border-radius: 0; background: transparent; }
.grid.g4:has(> .card > .kpi) > .card:nth-child(4n+1) { border-left: 0; }
.grid.g4:has(> .card > .kpi) > .card:nth-child(n+5) { border-top: 1px solid var(--line2); }
.big { font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.minikpi { display: flex; flex-direction: column; gap: 2px; min-width: 130px; }
.minikpi b { font-size: 18px; font-weight: 600; }
.meter { height: 5px; margin-top: 4px; overflow: hidden; border-radius: 3px; background: var(--line2); }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.state-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line2); }
.state-row .k { font-size: 12px; line-height: 1.6; color: var(--ink3); }
.state-row .v { font-size: 16px; font-weight: 600; }
.comp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-bottom: 14px; }
.comp .k { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink2); }
.comp .k b { font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- tags */
.tag { display: inline-block; margin: 0 3px 2px 0; padding: 1px 7px; border-radius: 5px; background: var(--chip); color: var(--ink2); font: 500 11.5px/1.5 var(--sans); white-space: nowrap; vertical-align: 1px; }
.tag.a { background: color-mix(in srgb, var(--a) 13%, transparent); color: var(--a); }
.tag.h { background: color-mix(in srgb, var(--h) 13%, transparent); color: var(--h); }
.tag.u { background: color-mix(in srgb, var(--u) 14%, transparent); color: var(--u); }
.tag.dual { margin: 0 0 0 5px; padding: 0 5px; background: color-mix(in srgb, var(--c7) 14%, transparent); color: var(--c7); font-size: 11px; }
.co-also { margin-top: 6px; font-size: 13px; color: var(--ink2); }
.co-also b { margin-right: 4px; color: var(--c7); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.up-t { background: color-mix(in srgb, var(--up) 12%, transparent); color: var(--up); }
.tag.down-t { background: color-mix(in srgb, var(--down) 12%, transparent); color: var(--down); }
.tag.c-ctl { background: color-mix(in srgb, var(--a) 13%, transparent); color: var(--a); }
.tag.c-fin { background: color-mix(in srgb, var(--down) 12%, transparent); color: var(--down); }
.tag.c-esop { background: color-mix(in srgb, var(--c7) 14%, transparent); color: var(--c7); }
.tag.c-str { background: color-mix(in srgb, var(--u) 14%, transparent); color: var(--u); }
.tag.c-off { background: var(--chip); color: var(--ink2); }
.mkt-a h3::before, .mkt-h h3::before, .mkt-u h3::before { content: ""; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; align-self: center; }
.mkt-a h3::before { background: var(--a); } .mkt-h h3::before { background: var(--h); } .mkt-u h3::before { background: var(--u); }

/* ---- tables */
.tablewrap { overflow-x: auto; }
table.t, .idxlist, .mini { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.t th, table.t td { padding: 8px 9px; border-bottom: 1px solid var(--line2); text-align: right; white-space: nowrap; }
table.t th { padding-top: 6px; background: var(--panel); border-bottom-color: var(--line); color: var(--ink3); font-weight: 500; font-size: 12px; cursor: pointer; user-select: none; }
table.t th:hover { color: var(--ink); }
table.t th.l, table.t td.l { text-align: left; }
.cw { width: 240px; white-space: normal; line-height: 1.6; }
#cl-t .cw { width: 190px; }
table.t tbody tr:last-child td { border-bottom: 0; }
table.t tbody tr { transition: background .1s; }
table.t tbody tr:hover td { background: var(--panel2); }
table.t td.wrap { min-width: 200px; white-space: normal; }
/* Wide tables: headers may break, and the name stays in view while scrolling sideways. */
table.t.dense { font-size: 12.5px; }
table.t.dense th { min-width: 42px; line-height: 1.3; vertical-align: bottom; white-space: normal; }
table.t.dense th, table.t.dense td { padding-left: 6px; padding-right: 6px; }
table.t.dense th:first-child, table.t.dense td:first-child { position: sticky; left: 0; z-index: 1; }
table.t.dense tbody tr:not(:hover):not(.sel) td:first-child { background: var(--panel); }
table.t tr.click { cursor: pointer; }
table.t tr.sel td { background: var(--accent-soft); }
table.t td a, .mini td a, .list a, .idxlist a { color: var(--ink); font-weight: 500; }
table.t td a:hover, .mini td a:hover, .list a:hover { color: var(--accent); }
table.cmp th.wrap { min-width: 76px; max-width: 130px; white-space: normal; line-height: 1.35; }
th .arr { color: var(--accent); }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 8px; font-size: 12.5px; color: var(--ink3); }
.wtable .gh th { padding-bottom: 3px; border-bottom-color: var(--line2); color: var(--ink2); letter-spacing: .04em; text-align: center; cursor: default; }
.wtable .gh th.l { text-align: left; vertical-align: bottom; border-bottom-color: var(--line); }
.wtable th.gs, .wtable td.gs { border-left: 1px solid var(--line); }
.wtable small { margin-left: 2px; font-size: 11px; font-weight: 400; color: var(--ink3); }
.wtable tr.w1 { cursor: pointer; }
.wtable tr.w1 td { font-weight: 500; }
.wtable tr.w1 td:first-child { white-space: nowrap; }
.wtable tr.w2 td { background: var(--panel2); color: var(--ink2); font-size: 13px; }
.wtable tr.w2 td:first-child { padding-left: 32px; }
.chev { display: inline-block; width: 7px; height: 7px; margin: 0 11px 2px 4px; border: solid var(--ink3); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform .15s; }
.w1.open .chev { transform: rotate(45deg); }
.arrow-up, .arrow-down { margin-left: 3px; font-size: 9px; vertical-align: 1px; }
.arrow-up { color: var(--up); } .arrow-down { color: var(--down); }
.idxlist td { padding: 7px 4px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.idxlist tr:last-child td { border-bottom: 0; }
.idxlist td:not(:first-child) { text-align: right; }
.mini { font-size: 12.5px; }
.mini th { padding: 3px 4px 5px; border-bottom: 1px solid var(--line); color: var(--ink3); font-weight: 500; text-align: right; white-space: nowrap; }
.mini td { padding: 6px 4px; border-bottom: 1px solid var(--line2); text-align: right; white-space: nowrap; }
.mini tr:last-child td { border-bottom: 0; }
.mini th:first-child, .mini td:first-child { max-width: 112px; overflow: hidden; text-align: left; text-overflow: ellipsis; }
.feed, .list { margin: 0; padding: 0; list-style: none; }
.feed { max-height: 420px; overflow: auto; }
.list { max-height: 300px; overflow: auto; }
.list.full { max-height: none; overflow: visible; }
.feed li, .list li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line2); line-height: 1.55; }
.feed li:last-child, .list li:last-child { border-bottom: 0; }
.feed .dt, .list .dt { flex: none; color: var(--ink3); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.feed .dt { width: 78px; } .list .dt { width: 44px; }

/* ---- charts */
.chart { width: 100%; height: 330px; }
.chart.short { height: 240px; }
.chart.fit { height: 288px; }
.chart.mid { height: 360px; }
.chart.tall { height: 400px; }
.chart.tall2 { height: 600px; }
.chart.kl { height: 460px; }
.legend-b { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--ink2); }
.legend-b button { display: inline-flex; align-items: center; padding: 2px 7px; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; cursor: pointer; }
.legend-b button:hover, .legend-b button.on { background: var(--chip); }
.legend-b button.on { font-weight: 600; color: var(--ink); }
.legend-b button.off { opacity: .45; }
.cal-h { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 6px; font-size: 14px; font-weight: 600; }
.cal-h span { font-size: 12px; font-weight: 400; color: var(--ink3); }
.legend-b i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 3px; }

/* ---- home hero */
.hero { position: relative; overflow: hidden; margin-bottom: 8px; padding: 26px 32px 8px; border-radius: 18px; background: var(--band); color: #dfe5ea; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 340px at 92% -10%, rgba(180, 147, 79, .22), transparent 70%), radial-gradient(700px 300px at -5% 120%, rgba(43, 92, 176, .28), transparent 70%); pointer-events: none; }
.hero > * { position: relative; }
.hero .when { font-size: 12px; letter-spacing: .14em; color: #93a0ae; }
.hero h1 { margin: 8px 0 4px; font: 600 30px/1.4 var(--serif); letter-spacing: .01em; color: #fff; }
.hero h1 em { font-style: normal; color: #e3c88f; }
.hero p { max-width: 100ch; margin: 0; font-size: 13px; color: #a9b5c1; line-height: 1.75; }
.hero p .defq { border-color: rgba(255, 255, 255, .28); color: #a9b5c1; }
.hero p b { font-weight: 600; color: #fff; }
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.wcard { min-width: 0; padding: 16px 24px 6px 0; }
.wcard + .wcard { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.wtop { display: flex; align-items: center; gap: 10px; }
.wname { font: 600 19px/1.3 var(--serif); color: #fff; }
.wname:hover { color: #e3c88f; text-decoration: none; }
.wst { padding: 1px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12.5px; font-weight: 600; color: #dfe5ea; }
.wst.go { background: rgba(92, 200, 150, .16); color: #93e4bd; }
.wst.mid { background: rgba(227, 200, 143, .16); color: #e3c88f; }
.wst.no { background: rgba(236, 120, 100, .18); color: #f5ab9b; }
.wsc { margin-left: auto; font-size: 12px; color: #93a0ae; white-space: nowrap; }
.wsc b { margin: 0 2px; font-size: 19px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.wsc i { margin-right: 6px; font-style: normal; color: #dfe5ea; }
.wline { margin-top: 6px; font-size: 12.5px; color: #a9b5c1; font-variant-numeric: tabular-nums; }
.wline b { font-weight: 600; color: #fff; }
.wbars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.wbars div { display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 11.5px; color: #93a0ae; }
.wbars div:nth-child(3) { margin-left: -5px; padding-left: 5px; border-left: 1px solid rgba(255, 255, 255, .22); }
.wbars b { font-weight: 500; color: #dfe5ea; font-variant-numeric: tabular-nums; }
.wbars i { flex: 0 0 100%; height: 3px; margin-top: 4px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .13); }
.wbars u { display: block; height: 100%; border-radius: 2px; background: #e3c88f; text-decoration: none; }
.wbars .low b { color: #f5ab9b; }
.wbars .low u { background: #f5ab9b; }
.wsec { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: #e3c88f; }
.wsec span { font-weight: 400; letter-spacing: 0; color: #93a0ae; }
.mband { margin: 14px -32px 16px; padding: 12px 32px 6px; border-block: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .035); }
.mband .wsec { margin-bottom: 2px; color: #9fc0e6; }
.temps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.temps .gauge { min-width: 0; padding-right: 24px; }
.temps .gauge + .gauge { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.gauge { display: flex; align-items: center; gap: 14px; margin-top: 6px; padding: 6px 0 8px; color: inherit; }
.dial { position: relative; flex: none; width: 92px; height: 54px; color: inherit; }
.dial:hover { text-decoration: none; }
.dial svg { display: block; width: 92px; height: 54px; overflow: visible; }
.dial b { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; font-size: 24px; font-weight: 600; line-height: 1; color: #fff; }
.gmeta { min-width: 0; flex: 1; }
.gname { display: flex; align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.5; color: #a9b5c1; }
.gname a { color: inherit; transition: color .15s; }
.gname a:hover { color: #e3c88f; text-decoration: none; }
.gname span { font: 400 12px/1.5 var(--sans); color: #a9b5c1; }
.gname b { font-weight: 600; color: #fff; }
.gname .defq { border-color: rgba(255, 255, 255, .28); color: #a9b5c1; }
.gname .defq:hover { border-color: #e3c88f; color: #e3c88f; }
.gstate { margin-top: 4px; }
.gidx { flex: none; max-width: 132px; min-height: 26px; padding: 2px 22px 2px 8px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 6px; font: 500 12.5px/1.4 var(--sans); color: #fff; color-scheme: dark; cursor: pointer; appearance: none; background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c9d2da' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 8px center; transition: border-color .15s, background-color .15s; }
.gidx:hover, .gidx:focus { border-color: #e3c88f; background-color: rgba(255, 255, 255, .12); outline: none; }
.gidx option { color: #dfe5ea; background: #1b2530; }
.gmeta svg { display: block; width: 100%; height: 26px; margin-top: 7px; overflow: visible; }
.gyear { margin-top: 3px; font-size: 12px; line-height: 1.5; color: #a9b5c1; font-variant-numeric: tabular-nums; }

/* ---- listing conditions */
.rule-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 12px; font-size: 12.5px; color: var(--ink3); }
.rule-key span { display: inline-flex; align-items: center; gap: 6px; }
.rule-key i { display: inline-block; }
.k-iqr { width: 20px; height: 8px; border-radius: 2px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.k-med { width: 2.5px; height: 13px; background: var(--ink); }
.k-th { width: 2px; height: 13px; background: var(--brass); }
.card.rb { margin-top: 14px; padding: 0; overflow: hidden; }
.rb-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 16px 22px 13px; border-bottom: 1px solid var(--line2); }
.rb-head h3 { display: block; margin: 0; font: 600 18px/1.35 var(--serif); }
.rb-head span { font-size: 12.5px; color: var(--ink3); }
.rb-c { margin-left: auto; }
.rb-c b { font-size: 16px; font-weight: 600; color: var(--ink); }
.sr { display: grid; grid-template-columns: 132px minmax(0, 1fr); border-bottom: 1px solid var(--line2); }
.sr > .std-n { padding: 12px 0 12px 22px; }
.sr-r { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 0 22px; align-items: center; padding: 5px 0; border-top: 1px dashed var(--line2); }
.sr-h + .sr-r { margin-top: 7px; }
.sr-c { font-size: 13.5px; line-height: 1.55; }
.sr-m .rl:first-child { margin-top: 0; }
.sr-none { font-size: 12px; color: var(--ink3); }
.sr-t .sr-r { padding: 7px 22px 7px 8px; border-top: 0; }
.sr-t { font-size: 12px; color: var(--ink3); }
.sr-t > div:first-child { padding: 7px 22px; }
.sr-a { min-width: 0; padding: 11px 22px 10px 8px; }
.sr-h { font-size: 13px; color: var(--ink2); }
.sr-h b { font-size: 16px; font-weight: 600; color: var(--ink); }
.sr-co { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--ink2); }
.sr-co a { color: var(--ink); }
.sr-g { margin-top: 4px; font-size: 12px; color: var(--ink3); }
.rl { display: grid; grid-template-columns: 104px minmax(60px, 1fr) minmax(112px, auto); align-items: center; gap: 10px; margin-top: 3px; font-size: 12.5px; color: var(--ink2); }
.rl .rs-t { height: 22px; margin: 0 5px; }
.rl .rs-t i.rs-th { height: 18px; }
.rl-v { text-align: right; font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rl-v b { font-weight: 600; color: var(--ink); }
.rl-e { color: var(--ink3); }
.rb-x { padding: 8px 22px; border-bottom: 1px solid var(--line2); font-size: 13px; color: var(--ink2); }
.rb-foot { padding: 4px 22px 14px; }
.std { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.std-n b { display: block; font: 600 14px/1.5 var(--serif); }
.std-n span { display: block; font-size: 12px; line-height: 1.5; color: var(--ink3); }
.std-n em { display: inline-block; margin-top: 3px; padding: 0 5px; border-radius: 4px; background: var(--accent-soft); font-size: 11px; font-style: normal; color: var(--accent); }
.std ul { margin: 0; padding: 0; list-style: none; }
.std li { position: relative; padding-left: 12px; line-height: 1.7; }
.std li::before { content: ""; position: absolute; left: 0; top: .75em; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }
.rb-p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: var(--ink2); }
.rb-p b { margin-right: 8px; font-weight: 600; color: var(--ink); }
.rb-src { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 10px; font-size: 12px; }
.rs-t { position: relative; height: 26px; margin: 4px 5px 0; }
.rs-t i { position: absolute; top: 50%; display: block; }
.rs-all { height: 2px; margin-top: -1px; background: var(--line); }
.rs-iqr { height: 10px; margin-top: -5px; border-radius: 2px; background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.rs-neg { left: 0; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--down) 0 3px, transparent 3px 6px); }
.rs-med { width: 2.5px; height: 16px; margin: -8px 0 0 -1px; background: var(--ink); }
.rs-t i.rs-th { top: 2px; width: 2px; height: 22px; margin-left: -1px; background: var(--brass); }
.rs-t i.rs-th::after { content: ""; position: absolute; inset: 0 -6px; }
.dt.rdt { width: 82px; }
@media (max-width: 720px) {
  .std { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .rb-head, .sr > .std-n, .sr-t > div, .sr-a, .rb-x, .rb-foot { padding-left: 16px; padding-right: 16px; }
}

/* ---- review steps */
.timeline { display: flex; flex-wrap: wrap; margin: 8px 0 14px; }
.timeline .st { position: relative; flex: 1 1 110px; padding: 10px 8px 0 0; border-top: 2px solid var(--line); }
.timeline .st.done { border-color: var(--accent); }
.timeline .st::before { content: ""; position: absolute; left: 0; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.timeline .st.done::before { background: var(--accent); }
.timeline .st .n { font-size: 12.5px; color: var(--ink2); }
.timeline .st .d { font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline .st .g { font-size: 11.5px; color: var(--ink3); }
.lk { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: center; margin-bottom: 14px; }
.lk.one { grid-template-columns: minmax(0, 1fr); }
.ring { position: relative; width: 180px; height: 180px; }
.ring svg { display: block; width: 100%; height: 100%; }
.ring circle { transition: stroke-width .12s; }
.ring circle:hover { stroke-width: 6.5; }
.ring div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.ring b { font: 600 21px/1.25 var(--serif); font-variant-numeric: tabular-nums; }
.ring span { font-size: 12px; color: var(--ink3); }
i.dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 3px; background: var(--line); }
dl.kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 18px; margin: 0 0 14px; }
dl.kv div { min-width: 0; }
dl.kv dt { font-size: 12.5px; color: var(--ink3); }
dl.kv dd { margin: 1px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---- approval calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal .h { padding: 2px 0; text-align: center; font-size: 12px; color: var(--ink3); }
.cal .d { min-height: 90px; overflow: hidden; padding: 5px 6px; border: 1px solid var(--line2); border-radius: 8px; background: var(--panel); }
.cal .d.off { background: transparent; border-color: transparent; }
.cal .d.we { background: var(--panel2); }
.cal .d.has { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.cal .d.today { box-shadow: inset 0 0 0 2px var(--brass); }
.cal .d .n { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink3); }
.cal .d .n b { color: var(--accent); }
.cal .chip { display: block; margin-top: 2px; padding: 1px 5px; overflow: hidden; border-radius: 4px; color: #fff; font-size: 11px; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
a.chip { text-decoration: none; }
.chip.b-科创板 { background: var(--c7); } .chip.b-创业板 { background: var(--u); } .chip.b-沪主板 { background: var(--a); } .chip.b-深主板 { background: var(--h); } .chip.b-北交所 { background: var(--c4); color: #15202b; }
.chip.b-主板 { background: var(--c6); }
.cal .chip.b-H { background: var(--h); } .cal .chip.b-U { background: var(--u); }
.cal a.chip:hover { text-decoration: none; filter: brightness(1.08); }
.chip.neg { background: var(--down); }
.chip i { margin-right: 3px; padding: 0 2px; border-radius: 2px; background: rgba(255, 255, 255, .24); font-size: .86em; font-style: normal; }
.legend-b b.he { margin-right: 4px; padding: 0 3px; border-radius: 3px; background: var(--chip); font-size: 11px; font-weight: 600; color: var(--ink2); }
.chip.term, .cal .chip.term { background: var(--mute-chart); color: #fff; }

/* ---- home month + pipeline */
.home3 { grid-template-columns: minmax(300px, 340px) minmax(0, 1.25fr) minmax(0, 1fr); }
.mc-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mc-h .pf-m { text-align: center; }
.mc-h button { width: 26px; height: 24px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink2); font: inherit; cursor: pointer; }
.mc-h button:hover { background: var(--chip); }
.mc { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mc .h { text-align: center; font-size: 11.5px; color: var(--ink3); }
.mc .c { display: block; height: 50px; overflow: hidden; padding: 2px 4px; border-radius: 7px; background: var(--panel2); color: var(--ink); cursor: pointer; }
.mc .c:hover { text-decoration: none; box-shadow: inset 0 0 0 1px var(--accent); }
.mc .c.off { background: transparent; box-shadow: none; cursor: default; }
.mc .c.we { opacity: .6; }
.mc .c.today { box-shadow: inset 0 0 0 1.5px var(--brass); }
.mc .c .n { font-size: 11.5px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.mc .c .dots { display: flex; flex-wrap: wrap; gap: 2px; }
.mc i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.mc-f { display: flex; flex-wrap: wrap; gap: 3px 4px; margin-bottom: 8px; }
.mc-f button { padding: 1px 7px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: var(--ink2); font: 12px/1.6 var(--sans); cursor: pointer; }
.mc-f button:hover { background: var(--chip); }
.mc-f button.on { border-color: var(--line); background: var(--chip); color: var(--ink); font-weight: 500; }
.mc-f i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; vertical-align: 1px; }
.mc .c .dots span { margin-left: -1px; font-size: 11px; line-height: 6px; color: var(--ink2); }
.funnel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-bottom: 12px; overflow: hidden; border: 1px solid var(--line2); border-radius: 10px; }
.funnel.strip { margin-bottom: var(--gap); background: var(--panel); border-color: var(--line); border-radius: var(--r); }
.funnel.strip a { padding: 14px 18px; }
.funnel.strip b { font-size: 24px; }
.funnel a { min-width: 0; padding: 9px 6px; border-left: 1px solid var(--line2); color: var(--ink); text-align: center; }
.funnel.strip a { text-align: left; }
.funnel a:first-child { border-left: 0; }
.funnel a:hover { background: var(--panel2); text-decoration: none; }
.funnel b { display: block; font-size: 20px; font-weight: 600; line-height: 1.25; }
.funnel span { display: block; overflow: hidden; font-size: 12px; color: var(--ink3); white-space: nowrap; text-overflow: ellipsis; }
.card > .mini th:first-child, .card > .mini td:first-child { max-width: none; }
.mini td.cut { max-width: 240px; overflow: hidden; text-overflow: ellipsis; color: var(--ink2); }
.fnote { margin: -4px 0 4px; }
.gate h3 { margin-bottom: 6px; }
.gwho { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.gwho b { font: 600 21px/1.3 var(--serif); }
.gwho span { font-size: 12.5px; color: var(--ink3); }
.chain { min-height: 224px; margin: 0; padding: 0; list-style: none; }
.chain li { position: relative; padding: 3px 0 3px 18px; font-size: 13px; color: var(--ink2); }
.chain li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.chain li::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: -11px; width: 1px; background: var(--line); }
.chain li:last-child::after { display: none; }
.chain li.on { font-weight: 600; color: var(--ink); }
.chain li.alt { color: var(--brass-ink); }
.chain li.alt::before { background: var(--panel); box-shadow: inset 0 0 0 1.5px var(--brass); }
.chain li.on::before { background: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 28%, transparent); }
.gnote { min-height: 5.2em; margin: 10px 0 12px; font-size: 12.5px; line-height: 1.7; color: var(--ink3); }
.gstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 12px 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.gstats div:first-child { grid-column: span 2; }
.gstats b { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.gstats span { font-size: 12px; color: var(--ink3); }
.gt { display: flex; justify-content: space-between; gap: 8px; margin: 12px 0 2px; font-size: 12.5px; font-weight: 500; color: var(--ink2); }
.gt span { font-weight: 400; color: var(--ink3); }
.chart.gm { height: 150px; }
.hm { display: block; margin: -4px -6px; padding: 4px 6px; border-radius: 6px; background: color-mix(in srgb, var(--accent) calc(var(--v) * 32%), transparent); }
.sm4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.sm4 h4 { margin: 0 0 2px; font-size: 12.5px; font-weight: 500; color: var(--ink2); }
.sm4 .chart { height: 146px; }
#hm-lift li > span > .muted { display: block; }
.sub4 { margin: 12px 0 4px; font-size: 12.5px; font-weight: 600; color: var(--ink2); }

/* ---- company */
.co-head { margin-bottom: 4px; }
.co-head h2 { margin-bottom: 4px; }
.term { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.term-main { display: flex; flex-direction: column; min-width: 0; }
.term-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.term-bar .seg button { padding: 3px 10px; font-size: 12.5px; }
.term-k { position: relative; }
.k-card { position: absolute; top: 6px; z-index: 5; width: 330px; max-width: calc(100% - 16px); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); box-shadow: 0 10px 28px rgba(16, 27, 39, .14); font-size: 12.5px; line-height: 1.55; pointer-events: none; }
.k-card h5 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: 13.5px; font-weight: 600; }
.k-card h5 span { font-size: 12px; font-weight: 400; color: var(--ink3); }
.k-card p { margin: 0 0 5px; }
.k-card p:last-child { margin-bottom: 0; font-size: 11.5px; }
.kc-g { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; margin: 7px 0 6px; padding-top: 7px; border-top: 1px solid var(--line2); text-align: center; }
.kc-g span { display: block; font-size: 11px; color: var(--ink3); }
.kc-g b { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.term-g { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.term-i { white-space: nowrap; }
.term-info .term-i i { display: inline-block; width: 8px; height: 8px; margin-right: 4px; border-radius: 2px; }
.term-br { flex-basis: 100%; height: 0; }
.term-info.cmp { height: 71px; }
.term-info { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0 14px; height: 50px; overflow: hidden; padding: 2px 0 6px; line-height: 21px; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.term-info i { display: none; }
.term-info .warn { color: var(--warn); }
.term-k { width: 100%; height: 620px; }
.kup { color: var(--kup); } .kdn { color: var(--kdn); }
.term-side { min-width: 0; padding-left: 20px; border-left: 1px solid var(--line2); font-size: 12.5px; }
.term-side .up { color: var(--kup); } .term-side .down { color: var(--kdn); }
.ts-px { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.ts-px b { font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.ts-px span { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.term-side h4 { margin: 12px 0 4px; padding-top: 10px; border-top: 1px solid var(--line2); font-size: 12.5px; font-weight: 600; }
.term-side h4 .muted, .term-side h4 a.muted { font-weight: 400; }
.ts-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 14px; margin: 4px 0 0; }
.ts-kv div { display: flex; justify-content: space-between; gap: 6px; min-width: 0; }
.ts-kv dt { color: var(--ink3); white-space: nowrap; }
.ts-kv dd { margin: 0; overflow: hidden; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-overflow: ellipsis; }
.ts-row { display: flex; gap: 8px; line-height: 1.75; font-variant-numeric: tabular-nums; }
.ts-row .grow { flex: 1; min-width: 0; overflow: hidden; color: var(--ink2); white-space: nowrap; text-overflow: ellipsis; }

.ts-peer { width: 100%; margin-top: 2px; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; table-layout: fixed; }
.ts-peer th { padding: 0 0 2px; color: var(--ink3); font-weight: 400; text-align: right; white-space: nowrap; }
.ts-peer td { overflow: hidden; padding: 2px 0; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.ts-peer th:first-child, .ts-peer td:first-child { width: 40%; text-align: left; }
.ts-peer tr.sel td { font-weight: 600; }
table.t tr.grp th { padding-bottom: 0; border-bottom: 0; color: var(--ink3); font-weight: 500; text-align: center; cursor: default; }
.wt-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 16px; }
a.tag { text-decoration: none; }

/* ---- glossary */
.gl-wrap { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 32px; }
.gl-toc { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 84px); overflow: auto; font-size: 13px; line-height: 1.6; scrollbar-width: none; }
.gl-toc b { display: block; margin: 12px 0 2px; font: 600 13.5px/1.5 var(--serif); }
.gl-toc b:first-child { margin-top: 0; }
.gl-toc a { display: block; padding: 2px 0; color: var(--ink2); }
.glossary { margin: 0; }
.glossary .g-cat:first-child { margin-top: 0; }
.glossary dt { margin-top: 16px; font-weight: 600; scroll-margin-top: 70px; }
.glossary dt.hl { border-radius: 4px; background: var(--warn-soft); }
.glossary dd { max-width: 96ch; margin: 4px 0 0; color: var(--ink2); line-height: 1.8; }
.glossary dd table { margin: 6px 0; }
.glossary .g-cat { margin-top: 26px; font: 600 18px/1.4 var(--serif); }
.tip { position: fixed; z-index: 60; max-width: 360px; padding: 8px 11px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 12.5px; line-height: 1.6; white-space: pre-line; pointer-events: none; box-shadow: 0 10px 28px rgba(16, 27, 39, .25); }

/* ---- responsive */
@media (max-width: 1320px) {
  :root { --pad: 24px; }
  .home3 { grid-template-columns: 1fr 1fr; }
  .home3 > :last-child { grid-column: span 2; }
}
@media (max-width: 1100px) {
  .sr { grid-template-columns: minmax(0, 1fr); }
  .sr-t { display: none; }
  .sr-a { padding-top: 0; }
  .sr-r { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.g4:has(> .card > .kpi) > .card:nth-child(odd) { border-left: 0; }
  .grid.g4:has(> .card > .kpi) > .card:nth-child(n+3) { border-top: 1px solid var(--line2); }
  .term { grid-template-columns: 1fr; }
  .term-side { padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line2); }
  .term-k { height: 540px; }
}
@media (max-width: 900px) {
  :root { --pad: 16px; }
  .gl-wrap { grid-template-columns: minmax(0, 1fr); }
  .gl-toc { display: none; }
  .rail { position: static; width: auto; }
  .brand { padding: 14px 16px 10px; }
  .search { padding: 0 16px 8px; }
  .search svg { left: 27px; }
  #qres { left: 16px; right: 16px; width: auto; }
  #nav { display: flex; gap: 2px; overflow-x: auto; padding: 0 12px 8px; }
  .ng { display: contents; }
  .nt { display: none; }
  #nav svg { display: none; }
  #nav a { padding: 5px 10px; }
  #nav a.on::before { display: none; }
  .rail-foot { display: none; }
  .shell { margin-left: 0; }
  .fbar { flex-wrap: nowrap; overflow-x: auto; padding: 8px var(--pad); white-space: nowrap; scrollbar-width: none; }
  .fbar::-webkit-scrollbar { display: none; }
  .fbar .fact { position: sticky; right: 0; margin-left: 12px; }
  main { padding: 22px var(--pad) 60px; }
  h2 { font-size: 25px; }
  .hero { padding: 24px 20px 8px; }
  .hero h1 { font-size: 26px; }
  .mband { margin-inline: -20px; padding-inline: 20px; }
  .temps { grid-template-columns: minmax(0, 1fr); }
  .temps .gauge { margin-top: 2px; padding: 5px 0; }
  .temps .gauge + .gauge { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .temps .gmeta > svg { display: none; }
  .temps .gstate { margin-top: 2px; }
  .wcard + .wcard { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .sect p { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 720px) {
  .pbar { position: static; }
  .pctl { margin-left: 0; }
  .funnel.strip { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .funnel.strip a { padding: 10px 12px; }
  .g2, .g3, .g4, .two, .home3 { grid-template-columns: 1fr; }
  .span2, .home3 > :last-child { grid-column: auto; }
  .grid.g4:has(> .card > .kpi) { grid-template-columns: 1fr 1fr; }
  .card { padding: 16px; }
  .grid.g4:has(> .card > .kpi) > .card { padding: 14px 16px; }
  .kpi .v { font-size: 22px; }
  dl.kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comp { grid-template-columns: 1fr; }
  .lk { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .calgrid, .calgrid.n12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calbar .legend-b { margin-left: 0; }
  .ring { margin: 0 auto; }
  .cal .d { min-height: 56px; }
  .cal .chip { font-size: 10px; }
  .chart.kl { height: 380px; }
  .chart.tall2 { height: 440px; }
  .term-k { height: 460px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* reader pass */
.card.read h3 { margin-bottom: 6px; }
#view > .read + .grid, #view > .read + .card { margin-top: var(--gap); }
.hero + .sn { margin-top: var(--gap); }
.sn { position: relative; }
.sn .bar { position: absolute; top: 14px; right: 20px; margin: 0; }
.sn-b { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.sn-b .funnel { grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; }
.sn-m { display: grid; gap: 6px; font-size: 12.5px; color: var(--ink2); }
.sn-m div { display: grid; grid-template-columns: 36px 1fr 1fr 1fr 1.3fr; gap: 8px; align-items: baseline; }
.bt thead th[colspan] { text-align: center; }
.bt td small { display: block; font-size: 11px; font-weight: 400; color: var(--ink3); }
.bt .bt-now td { font-weight: 600; }
.sn-m b { font-weight: 600; color: var(--ink); }
.sn-m b.up { color: var(--up); } .sn-m b.down { color: var(--down); }
#my-focus .card { margin-bottom: var(--gap); }
table.fc td { padding: 7px 10px 7px 0; }
.wbtn { padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink3); font: 12px/1.6 var(--sans); vertical-align: middle; cursor: pointer; }
.wbtn:hover { color: var(--brass-ink); border-color: var(--brass); }
.wbtn.on { color: var(--brass-ink); border-color: var(--brass); }
.wbtn.sm { padding: 0 2px; border: 0; font-size: 13px; }
/* One market: the two bands side by side, so nothing has to stretch across the page */
.hero.solo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "f f" "w w" "h h" "m g"; column-gap: 16px; padding-bottom: 24px; }
.hero.solo .hfilter { grid-area: f; }
.hero.solo .when { grid-area: w; }
.hero.solo h1 { grid-area: h; }
.hero.solo .mband { grid-area: m; display: flex; flex-direction: column; margin: 10px 0 0; padding: 14px 20px 10px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.hero.solo .temps { flex: 1; align-items: center; }
.hero.solo .temps .gauge { padding-right: 0; }
.hero.solo .gmeta svg { height: 38px; }
.hero.solo .gauges { grid-area: g; margin-top: 10px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.hero.solo .wcard { padding: 14px 20px 12px; }
@media (max-width: 1000px) { .hero.solo { display: block; padding-bottom: 12px; } .env.one .card:not([hidden]) { display: block; } .env.one .comp { margin-bottom: 14px; } .env.one .state-row { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line2); } }
.wsig { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wsig span { padding: 1px 8px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 11.5px; color: #93a0ae; }
.wsig b { margin-left: 4px; font-weight: 600; color: #fff; }
.hero .when { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; }
.hfilter { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 6px 12px; border-radius: 8px; background: rgba(227, 200, 143, .14); font-size: 12.5px; color: #e3c88f; }
.hfilter button { padding: 0 10px; border: 1px solid rgba(227, 200, 143, .5); border-radius: 999px; background: none; color: #e3c88f; font: 12px/1.7 var(--sans); cursor: pointer; }
.brief { max-width: 900px; margin: 0 auto; padding: 28px 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.brief header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.brief header h2 { margin: 0; font-size: 20px; }
.brief header p { margin: 2px 0 0; font-size: 12px; color: var(--ink3); }
.brief > h1 { margin: 12px 0 8px; font: 600 21px/1.4 var(--serif); }
.brief > h1 em { font-style: normal; color: var(--brass-ink); }
.brief section { margin-top: 12px; }
.brief h3 { margin: 0 0 6px; font-size: 13.5px; }
.brief h3 span { margin-left: 8px; font-weight: 400; font-size: 11.5px; color: var(--ink3); }
.b-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.b-t th, .b-t td { padding: 5px 6px; border-bottom: 1px solid var(--line2); text-align: right; white-space: nowrap; font-weight: 400; }
.b-t thead th { font-size: 11.5px; color: var(--ink3); }
.b-t tbody th { text-align: left; font-weight: 600; }
.b-t td:nth-child(2), .b-t td:nth-child(3), .b-t td:nth-child(4), .b-t thead th:nth-child(2), .b-t thead th:nth-child(3), .b-t thead th:nth-child(4) { text-align: left; }
.b-t small { margin-left: 2px; color: var(--ink3); }
.b-n { margin: 6px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--ink3); }
.b-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-g p { margin: 4px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--ink2); }
.b-g .hb-g { width: auto; margin-top: 4px; }
.brief .lim { font-size: 12.5px; line-height: 1.6; }
.b-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 20px; }
.b-2 dl { margin: 0; display: grid; gap: 3px; font-size: 12.5px; }
.b-2 dl div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line2); padding: 2px 0; }
.b-2 dd { margin: 0; font-weight: 600; }
.brief .nw { margin: 0; padding: 0; list-style: none; font-size: 12.5px; line-height: 1.5; }
.brief .nw li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; border-bottom: 1px solid var(--line2); }
.brief .nw li span { flex: none; font-size: 11px; color: var(--ink3); }
.brief footer { margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink3); }
@media (max-width: 1100px) { .sn-b { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .sn .bar { position: static; margin-bottom: 8px; } .sn-b .funnel { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sn-m div { grid-template-columns: 36px 1fr 1fr; } .b-g, .b-2 { grid-template-columns: minmax(0, 1fr); } .brief { padding: 18px; } .brief .tablewrap, .b-t { display: block; overflow-x: auto; } }
@media print {
  @page { size: A4; margin: 10mm 12mm; }
  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rail, .fbar, .pbar, .noprint, #dr, #dr-bg, #tip, .method, .wbtn { display: none !important; }
  .shell { margin: 0; }
  main { max-width: none; padding: 0; }
  main[data-group]::before { display: none; }
  .card { break-inside: avoid; box-shadow: none; }
  .brief { max-width: none; padding: 0; border: 0; border-radius: 0; background: #fff; }
}
h4.sub { margin: 6px 0 8px; font-size: 13px; font-weight: 600; color: var(--ink2); }
h4.sub .hint { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--ink3); }
.kpi .v .kv2 { font-size: .8em; line-height: 1.3; }

/* home on a phone: the verdict first, the lower sections open on a tap */
.gw { font-style: normal; }
.hfold > .card + .card, .hfold > .card + .grid, .hfold > .grid + .card, .hfold > .grid + .grid { margin-top: var(--gap); }
.fsum { margin: -6px 0 0; font-size: 12.5px; color: var(--ink3); }
@media (max-width: 720px) {
  .temps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .temps .gauge { flex-direction: column; gap: 4px; margin-top: 4px; padding: 4px 2px 6px; text-align: center; }
  .temps .gauge + .gauge { padding-left: 2px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .1); }
  .temps .gmeta { width: 100%; }
  .temps .gname { justify-content: center; gap: 4px; font-size: 12px; }
  .temps .gstate, .temps .gyear, .temps .gw { display: none; }
  .temps .dial, .temps .dial svg { width: 74px; height: 44px; }
  .temps .dial b { font-size: 20px; }
  .mband { margin-bottom: 8px; padding-bottom: 2px; }
  .wcard { padding: 12px 0 10px; }
  .wtop { flex-wrap: wrap; row-gap: 4px; }
  .wname, .wst { white-space: nowrap; }
  .wbars { display: none; }
  .sn .seg { display: flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .sn .seg button { flex: none; padding: 4px 9px; white-space: nowrap; }
  .sn-b .funnel { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sn-b .funnel a:nth-child(4n+1) { border-left: 0; }
  .sn-b .funnel a:nth-child(n+5) { border-top: 1px solid var(--line2); }
  .sn-m div { grid-template-columns: 36px repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .sn-m div > b:first-child { grid-row: span 2; }
  .hb-l span:nth-child(-n+2) { display: none; }
  .hb-c .hb-m { gap: 6px; padding: 10px 0; }
  .hb2 .nw li:nth-child(n+5) { display: none; }
  .hfold > .sect { margin: 26px 0 10px; cursor: pointer; }
  .hfold > .sect h3::after { content: "收起"; margin-left: 10px; font: 400 12px/1 var(--sans); color: var(--ink3); }
  .hfold.shut > .sect h3::after { content: "展开"; color: var(--brass-ink); }
  .hfold.shut { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .hfold.shut .sect p { display: none; }
}
