:root {
  --ink: #26363a;
  --muted: #738186;
  --line: #dde6e7;
  --bg: #f4f7f7;
  --blue: #087e8b;
  --blue-dark: #086775;
  --blue-soft: #e3f4f5;
  --gold: #d79a38;
  --navy: #547aa5;
  --up: #cc4e43;
  --down: #18836d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 13px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.offer-bar { height: 25px; color: #735f31; background: #fff4cc; font-size: 11px; line-height: 25px; text-align: center; }
.offer-bar span { margin: 0 6px; color: #d0b45e; }
.offer-bar a { margin-left: 8px; color: #247584; }
.site-header { border-bottom: 1px solid #d7e0e2; background: #fff; }
.header-inner { display: flex; width: min(1200px, calc(100% - 40px)); height: 50px; margin: 0 auto; align-items: center; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; margin-right: 18px; }
.leaf-mark { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: 50% 50% 50% 15%; color: #fff; background: linear-gradient(135deg, #0992a1, #075b73); font-size: 15px; transform: rotate(-15deg); }
.brand strong { color: #1f3439; font-family: "Songti SC", STSong, serif; font-size: 18px; letter-spacing: .04em; white-space: nowrap; }
.main-nav { display: flex; align-self: stretch; }
.main-nav button { position: relative; min-width: 41px; padding: 0 9px; border: 0; color: #56666b; background: transparent; font-size: 12px; cursor: pointer; }
.main-nav button:hover, .main-nav button.active { color: var(--blue); background: #f2f8f8; }
.main-nav button.active::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: var(--blue); content: ""; }
.global-search { position: relative; display: flex; min-width: 220px; margin-left: auto; align-items: center; }
.global-search > span { position: absolute; left: 9px; color: #7f8b8f; font-size: 17px; transform: rotate(-20deg); }
.global-search input { width: 100%; height: 30px; padding: 0 47px 0 30px; border: 1px solid #dce4e5; outline: 0; border-radius: 4px; color: var(--ink); background: #fafcfc; font-size: 10px; }
.global-search input:focus { border-color: #7db7bd; background: #fff; box-shadow: 0 0 0 2px rgba(8,126,139,.08); }
.global-search kbd { position: absolute; right: 7px; color: #9aa4a7; font-size: 8px; font-weight: 400; }
.module-nav-wrap { border-bottom: 1px solid #d9e2e3; background: #fff; box-shadow: 0 2px 6px rgba(30,70,75,.025); }
.module-nav { display: flex; overflow-x: auto; width: min(1200px, calc(100% - 40px)); min-height: 62px; margin: 0 auto; align-content: center; flex-wrap: wrap; gap: 0; padding: 7px 0; scrollbar-width: none; }
.module-nav::-webkit-scrollbar { display: none; }
.module-nav button { position: relative; height: 24px; padding: 0 9px; border: 0; border-right: 1px solid #d9e1e2; color: #287788; background: transparent; font-size: 10px; white-space: nowrap; cursor: pointer; }
.module-nav button:hover, .module-nav button.active { color: #064e5d; text-decoration: underline; }
.module-nav sup { position: absolute; top: -7px; right: 1px; padding: 0 2px; border-radius: 3px; color: #fff; background: #dd3d36; font-size: 6px; line-height: 10px; text-decoration: none; }
.page { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.sub-nav { display: flex; min-height: 44px; align-items: end; gap: 3px; border-bottom: 1px solid #ccd8da; }
.sub-nav button { height: 35px; padding: 0 16px; border: 1px solid transparent; border-bottom: 0; color: #30798a; background: transparent; font-size: 11px; cursor: pointer; }
.sub-nav button.active { position: relative; bottom: -1px; color: #1f3237; border-color: #ccd8da; border-radius: 5px 5px 0 0; background: #fff; font-weight: 600; }
.notice-bar { display: flex; min-height: 30px; margin-top: 8px; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #b8dfe3; border-radius: 4px; color: #3e7078; background: #dff5f7; font-size: 10px; }
.notice-bar p { margin: 0; }
.notice-bar a { color: #087e8b; text-decoration: underline; }
.notice-bar strong { color: #bd5448; }
.notice-icon { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; color: #fff; background: #43a9b4; font: 10px Georgia, serif; }
.update-time { margin-left: auto; color: #66959b; white-space: nowrap; }
.toolbar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #dce4e5; }
.toolbar-left { display: flex; gap: 5px; }
.tool-button { height: 27px; padding: 0 10px; border: 1px solid #cfdadd; border-radius: 4px; color: #42575d; background: linear-gradient(#fff,#f1f4f4); font-size: 10px; cursor: pointer; }
.tool-button:hover { border-color: #8eb9be; color: var(--blue); background: #fff; }
.date-controls { display: flex; align-items: center; gap: 5px; }
.date-controls label { display: flex; height: 27px; align-items: center; gap: 5px; padding-left: 8px; border: 1px solid #cfdadd; border-radius: 4px; color: #69767a; background: #fff; font-size: 9px; }
.date-controls input { width: 112px; height: 25px; border: 0; outline: 0; color: #415157; font-size: 9px; }
.period-switch { display: flex; height: 27px; }
.period-switch button { min-width: 47px; padding: 0 8px; border: 1px solid #cfdadd; border-left: 0; color: #5f7075; background: #fff; font-size: 9px; cursor: pointer; }
.period-switch button:first-child { border-left: 1px solid #cfdadd; border-radius: 4px 0 0 4px; }
.period-switch button:last-child { border-radius: 0 4px 4px 0; }
.period-switch button.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin: 12px 0; border: 1px solid #d8e2e3; border-radius: 5px; background: #d8e2e3; overflow: hidden; }
.stat-grid article { min-height: 84px; padding: 12px 14px; background: #fff; }
.stat-grid article > span { display: block; color: #748287; font-size: 10px; }
.stat-grid strong { display: block; margin-top: 8px; color: #20383d; font: 600 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.stat-grid em { color: #6f7f84; font: normal 9px Inter, sans-serif; }
.stat-grid small { display: block; margin-top: 8px; color: #8f9a9d; font-size: 8px; }
.stat-grid small.up { color: var(--up); }
.chart-card, .table-card, .mini-card { border: 1px solid #d7e1e3; border-radius: 5px; background: #fff; box-shadow: 0 2px 7px rgba(29,66,72,.025); }
.chart-card { margin-bottom: 12px; padding: 18px 18px 10px; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.eyebrow { margin-bottom: 5px; color: var(--blue); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.chart-head h1 { margin: 0; color: #263b40; font-family: "Songti SC", STSong, serif; font-size: 18px; }
.chart-head p { margin: 5px 0 0; color: #869195; font-size: 9px; }
.metric-select-wrap { display: flex; align-items: center; gap: 7px; color: #7c898d; font-size: 9px; }
.metric-select-wrap select { height: 29px; padding: 0 28px 0 9px; border: 1px solid #ccd9db; outline: 0; border-radius: 4px; color: #3a555b; background: #fff; font-size: 10px; }
.series-filter { display: flex; gap: 15px; margin-top: 18px; padding: 9px 0; border-top: 1px solid #edf1f2; border-bottom: 1px solid #edf1f2; }
.series-filter label { display: flex; align-items: center; gap: 6px; color: #53676c; font-size: 9px; cursor: pointer; }
.series-filter input { width: 13px; height: 13px; accent-color: var(--blue); }
.series-filter i { display: inline-block; width: 13px; height: 3px; border-radius: 3px; background: var(--series-color); }
.chart-canvas { min-height: 380px; padding-top: 8px; }
.chart-canvas svg { display: block; width: 100%; height: 380px; overflow: visible; }
.chart-canvas .grid { stroke: #e8eeee; stroke-width: 1; stroke-dasharray: 3 4; }
.chart-canvas .axis { fill: #849195; font-size: 9px; }
.chart-canvas .series { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chart-canvas .area { opacity: .08; }
.chart-canvas .point { fill: #fff; stroke-width: 2; }
.chart-canvas .point:hover { r: 5; }
.chart-footer { display: flex; justify-content: space-between; gap: 20px; padding: 8px 2px 0; border-top: 1px solid #edf1f2; color: #8a9699; font-size: 8px; }
.chart-footer b { color: #5a6d71; }
.table-card { margin-bottom: 12px; overflow: hidden; }
.table-head { display: flex; min-height: 65px; align-items: center; justify-content: space-between; gap: 20px; padding: 0 17px; border-bottom: 1px solid #dae4e5; }
.table-head h2, .mini-head h2 { margin: 0; color: #2b4146; font-family: "Songti SC", STSong, serif; font-size: 15px; }
.table-head p { margin: 4px 0 0; color: #8e999c; font-size: 8px; }
.table-tools { display: flex; align-items: center; gap: 10px; }
.table-tools label { position: relative; display: flex; align-items: center; }
.table-tools label span { position: absolute; left: 8px; color: #889497; font-size: 15px; transform: rotate(-20deg); }
.table-tools input { width: 170px; height: 28px; padding: 0 8px 0 28px; border: 1px solid #d3dddf; outline: 0; border-radius: 4px; font-size: 9px; }
.result-count { color: #718084; font-size: 9px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { height: 36px; padding: 0 14px; color: #5d7176; background: #f5f8f8; font-size: 9px; font-weight: 600; text-align: right; cursor: pointer; }
th:first-child, td:first-child { text-align: left; }
td { height: 55px; padding: 0 14px; border-top: 1px solid #e7eded; color: #41565b; font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
tbody tr:hover { background: #f8fbfb; }
.company-cell { display: flex; align-items: center; gap: 9px; }
.company-logo { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 4px; color: #fff; background: var(--company-color); font-family: "Songti SC", serif; }
.company-meta { display: grid; font-family: Inter, "PingFang SC", sans-serif; }
.company-meta strong { color: #293e43; font-size: 10px; }
.company-meta small { margin-top: 2px; color: #8b979a; font: 8px ui-monospace, monospace; }
.positive { color: var(--up); }
.report-link { display: inline-block; padding: 4px 8px; border: 1px solid #c8dddf; border-radius: 3px; color: var(--blue); background: #f2fafa; font: 8px Inter, sans-serif; }
.report-link:hover { color: #fff; background: var(--blue); }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { min-height: 210px; padding: 16px 18px; }
.mini-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7eded; padding-bottom: 11px; }
.mini-head span { color: #879396; font-size: 8px; }
.distribution { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 20px; padding: 18px 25px 2px; }
.donut { position: relative; display: grid; width: 125px; height: 125px; place-items: center; border-radius: 50%; background: conic-gradient(var(--blue) 0 61%, var(--gold) 61% 75.4%, var(--navy) 75.4% 100%); }
.donut::before { position: absolute; width: 86px; height: 86px; border-radius: 50%; background: #fff; content: ""; }
.donut span { position: relative; text-align: center; }
.donut strong { display: block; color: #315158; font: 600 22px ui-monospace, monospace; }
.donut small { color: #8b979a; font-size: 8px; }
.dist-legend { display: grid; gap: 14px; }
.dist-legend p { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 8px; margin: 0; color: #53676c; font-size: 9px; }
.dist-legend i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.dist-legend b { color: #3d555a; font: 600 9px ui-monospace, monospace; }
.live { color: #298268 !important; }
.live i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #35a57c; box-shadow: 0 0 0 3px rgba(53,165,124,.1); }
.status-row { display: grid; grid-template-columns: 1fr 48px 35px; gap: 8px; margin-top: 17px; color: #607277; font-size: 9px; }
.status-row b { color: #3e555a; font: 600 9px ui-monospace, monospace; text-align: right; }
.status-row em { color: #2d8970; font: normal 8px ui-monospace, monospace; text-align: right; }
.status-progress { overflow: hidden; height: 3px; margin-top: 7px; border-radius: 3px; background: #e8efed; }
.status-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4bb191, #0b7d75); }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 25px 2px 20px; color: #8d999c; font-size: 8px; }
.version-switch { position: fixed; right: 0; bottom: 78px; z-index: 20; padding: 9px 8px; border: 1px solid #a9d2d6; border-right: 0; border-radius: 5px 0 0 5px; color: #fff; background: var(--blue); font-size: 9px; box-shadow: 0 4px 12px rgba(9,90,100,.18); writing-mode: vertical-rl; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; padding: 10px 14px; border-radius: 4px; color: #fff; background: #155f68; box-shadow: 0 8px 25px rgba(10,65,72,.25); font-size: 10px; opacity: 0; transform: translateY(8px); transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .header-inner, .module-nav, .page { width: calc(100% - 24px); }
  .main-nav button:nth-child(n+7) { display: none; }
  .global-search { min-width: 170px; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .offer-bar { overflow: hidden; white-space: nowrap; }
  .header-inner { height: auto; min-height: 52px; flex-wrap: wrap; padding: 8px 0; }
  .main-nav { order: 3; width: 100%; height: 35px; margin-top: 6px; overflow-x: auto; }
  .main-nav button { min-width: 54px; }
  .global-search { flex: 1; }
  .module-nav { min-height: 40px; flex-wrap: nowrap; align-items: center; }
  .sub-nav { overflow-x: auto; align-items: end; }
  .sub-nav button { white-space: nowrap; }
  .update-time { display: none; }
  .toolbar { align-items: flex-start; flex-direction: column; padding: 9px 0; }
  .date-controls { width: 100%; overflow-x: auto; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .chart-head { flex-direction: column; }
  .chart-canvas { min-height: 300px; overflow-x: auto; }
  .chart-canvas svg { min-width: 720px; height: 300px; }
  .chart-footer { flex-direction: column; gap: 4px; }
  .table-head { align-items: flex-start; flex-direction: column; padding: 13px; }
  .table-tools { width: 100%; }
  .table-tools label, .table-tools input { width: 100%; }
  .distribution { grid-template-columns: 125px 1fr; padding: 18px 0 2px; }
  footer { flex-direction: column; }
}
