:root {
  --ink: #20323a;
  --copper: #984928;
  --navy: var(--ink);
  --navy-2: #35535e;
  --navy-3: #48616a;
  --bg: #f4f4ee;
  --surface: #fffefa;
  --surface-soft: #f1f2eb;
  --blue-soft: #e6eeed;
  --green-soft: #e9efe5;
  --amber-soft: #fbefdc;
  --text: #253238;
  --muted: #546169;
  --line: #d2d6ce;
  --shadow: none;
  --ui: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --display: "Noto Serif TC", "Songti TC", "Source Han Serif TC", "PMingLiU", serif;
  --digits: "SFMono-Regular", Consolas, ui-monospace, monospace;
}
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--ui); }
input, select, button { font-family: inherit; }
.shell { max-width: 1280px; }
.site-header { background: var(--ink); border: 0; color: white; backdrop-filter: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; text-decoration: none; }
.brand-title { color: inherit; font-size: clamp(1.02rem, 1.8vw, 1.35rem); font-weight: 650; letter-spacing: .04em; margin: 0; }
.brand-mark { display: flex; align-items: end; gap: 3px; width: 29px; height: 26px; flex: none; border-bottom: 2px solid #efbd92; padding: 0 2px 3px; }
.brand-mark i { width: 6px; background: #efbd92; }
.brand-mark i:nth-child(1) { height: 6px; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 18px; }
.site-version { font: 500 .8rem/1 var(--digits); color: #efc09c; border-left: 1px solid #647379; padding-left: 10px; white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 0; }
.nav a { color: #edf1ef; border: 0; border-radius: 0; padding: 10px 12px; font-weight: 500; font-size: .9rem; }
.nav a:hover, .nav a[aria-current="page"] { background: #334850; color: #fff; box-shadow: inset 0 -2px #efbd92; }
.page { padding-block: clamp(18px, 2.8vw, 36px) 40px; }
[id] { scroll-margin-top: 82px; }
.hero-main, .subpage .hero { background: transparent; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
.hero-main { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(18rem,.85fr); gap: clamp(20px,4vw,60px); align-items: stretch; overflow: visible; }
.hero-main::before { display: none; }
.hero-main > div:first-child, .subpage .hero { border-top: 4px solid var(--ink); padding-block: clamp(19px,2.2vw,30px); }
.hero-title { margin: 0; color: var(--ink); font: 700 clamp(2.35rem,4.4vw,4.1rem)/1.22 var(--display); letter-spacing: .035em; }
.hero-intro { container-type: inline-size; min-width: 0; }
.hero-intro .hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: clamp(1.9rem, 7.6cqi, 3.35rem);
  letter-spacing: .01em;
  line-height: 1.2;
}
.hero-intro .hero-title > span { max-width: 100%; }
.hero-intro .hero-desc { margin-top: .9rem; text-wrap: pretty; }
@container (max-width: 28rem) {
  .hero-intro .hero-title { font-size: clamp(1.75rem, 9cqi, 2.2rem); }
  .hero-intro .hero-title > span:last-child { flex-basis: 100%; }
}
.hero-desc, .subpage .hero-desc { color: var(--muted); font-size: 1rem; line-height: 1.7; font-weight: 450; }
.hero-desc strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 19px; }
.hero-actions a, .feedback-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; font-size: .95rem; font-weight: 600; }
.hero-actions a:first-child, .feedback-cta { background: var(--ink); color: white; text-decoration: none; padding: 8px 18px; border-radius: 3px; }
.hero-actions a + a { color: var(--ink); text-underline-offset: .32em; }
.activity { align-self: stretch; margin: 0; padding: 17px clamp(16px,2.6vw,34px) 18px; background: var(--ink); color: white; border-top: 4px solid #c98c65; display: flex; flex-direction: column; justify-content: center; }
.activity figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-weight: 600; }
.activity figcaption small { font-size: .8rem; color: #c2cfcc; font-weight: 400; }
.activity-bars { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.activity-col { display: grid; grid-template-rows: 82px auto; text-align: center; gap: 5px; }
.activity-track { display: flex; flex-direction: column; align-items: center; justify-content: end; gap: 4px; border-bottom: 1px solid #83908e; }
.activity-track strong, .activity-col small { color: #ecf2ed; font: .8rem/1.25 var(--digits); }
.activity-track b { width: min(32px,78%); background: #9fb5af; }
.activity-col:last-child .activity-track b { background: #efb88e; }
.kpi-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 18px 0 22px; background: var(--surface); border-block: 1px solid var(--ink); }
.kpi-card { min-width: 0; padding: 14px 17px; border: 0; border-radius: 0; border-inline-start: 1px solid var(--line); background: transparent; box-shadow: none; }
.kpi-label,.kpi-card small { color: var(--muted); line-height: 1.5; font-weight: 500; }
.kpi-value { color: var(--ink); font: 600 clamp(1.5rem,2.3vw,2.15rem)/1.25 var(--ui); font-variant-numeric: tabular-nums; margin-block: 4px; }
#dataWindowLabel, #lastChecked { font-size: clamp(1rem,1.45vw,1.25rem); line-height: 1.45; }
.panel { min-width: 0; padding: clamp(16px,2vw,26px); background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--ink); border-radius: 0; box-shadow: none; }
.panel-title { color: var(--ink); font: 700 clamp(1.25rem,2vw,1.55rem)/1.45 var(--display); letter-spacing: .03em; }
.monitor-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 20px 0; }
.monitor-pair .home-stack-panel { margin: 0; min-width: 0; }
.monitor-pair .latest-item,.monitor-pair .active-item,.event-card,.case-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14px 0; background: transparent; }
.monitor-pair .latest-item,.monitor-pair .active-item { display: grid; grid-template-columns: 92px minmax(0,1fr); }
.monitor-pair .mini-date-box,.date-box { align-self: start; align-items: start; text-align: left; padding: 2px 8px 2px 0; background: none; border: 0; border-radius: 0; }
.mini-date-box .mini-date-value,.date-box .date-value,.notice-date { color: var(--copper); font: 600 .95rem/1.6 var(--digits); }
.mini-company-line,.event-company-line,.case-company-line,.notice-company strong { color: var(--ink); font-weight: 650; }
.latest-title,.active-stage,.event-title,.case-title { color: var(--text); font-weight: 450; line-height: 1.6; }
.small-badge,.badge,.active-summary-card,.summary-card,.search-box,.source-select,.track-select,.reset-btn,.official-link,.events-open-all,.chip { border-radius: 3px; }
.monitor-pair .active-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
.monitor-pair .active-summary-card { padding: 8px; }
.feedback-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #e7ece6; margin: 20px 0; }
.feedback-panel h2,.feedback-panel p { margin: 0; }
.feedback-panel p { color: var(--muted); margin-top: 5px; }
.feedback-cta { flex: none; }
.subpage .hero { margin-bottom: 12px; }
.subpage .definition-note { background: transparent; color: var(--muted); padding: 0; border: 0; margin: 8px 0 0; }
.first-seen,.helper-text,.mini-date-label,.date-label { color: var(--muted); font-weight: 450; }
.notice-columns { background: var(--surface-soft); }
.notice-row:hover,.event-card:hover,.case-card:hover { background: #f2f4ed; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #b86c3b; outline-offset: 3px; }
@media (min-width: 1050px) {
  .kpi-grid { grid-template-columns: repeat(4,minmax(0,1fr)) 1.05fr 1.35fr; }
  .kpi-card:first-child { border-inline-start: 0; }
}
@media (min-width: 621px) and (max-width: 1049px) {
  .kpi-card:nth-child(3n+1) { border-inline-start: 0; }
  .kpi-card:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 920px) {
  .header-inner { flex-direction: column; align-items: start; gap: 2px; padding-block: 10px 4px; min-height: 0; }
  .nav a { padding: 8px; }
  .monitor-pair { grid-template-columns: 1fr; }
  [id] { scroll-margin-top: 112px; }
}
@media (max-width: 700px) {
  .hero-main { grid-template-columns: 1fr; gap: 0; }
  .activity { padding-block: 12px; }
  .site-header { position: static; }
  [id] { scroll-margin-top: 12px; }
}
@media (max-width: 620px) {
  .brand { gap: 7px; }
  .brand-title { font-size: 1rem; }
  .nav a { padding: 7px 6px; font-size: .875rem; }
  .kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kpi-card { padding: 10px 12px; }
  .kpi-card:nth-child(odd) { border-inline-start: 0; }
  .kpi-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feedback-panel { flex-direction: column; align-items: start; }
  .event-card,.case-card { gap: 8px; }
  .date-box .first-seen { margin: 0; }
  .date-box .first-seen br { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
