:root {
  color-scheme: light;
  --ink: #17283e;
  --muted: #506177;
  --blue: #1757ba;
  --border: #dce5ef;
  font: 16px/1.6 system-ui, "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #f3f7fc; }
.wrap { width: min(940px, calc(100% - 32px)); margin-inline: auto; }
.top { background: #fff; border-bottom: 1px solid var(--border); }
.top-inner, .section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top-inner { min-height: 64px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 750; color: var(--ink); text-decoration: none; }
.brand svg, .eyebrow { color: var(--blue); }
.intro { padding: clamp(32px, 7vw, 72px) 0 27px; }
.intro p:last-child { color: var(--muted); margin: 9px 0 0; }
.eyebrow { font-weight: 700; letter-spacing: .12em; font-size: .85rem; margin: 0 0 7px; }
h1 { margin: 0; line-height: 1.15; font-size: clamp(2.1rem, 6vw, 3.45rem); }
h2 { font-size: 1.16rem; margin: 0 0 16px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: clamp(16px, 4vw, 28px); }
.lookup { box-shadow: 0 10px 24px #17283e09; }
label { font-weight: 650; display: block; margin-bottom: 7px; }
.fields { display: flex; align-items: stretch; gap: 10px; }
input, select, button { font: inherit; border-radius: 8px; }
input { width: 100%; min-width: 0; background: #f8fafc; border: 1px solid #bac9dc; padding: 10px 13px; color: var(--ink); }
.month-field { margin-bottom: 14px; }
.month-field select { background: #f8fafc; border: 1px solid #bac9dc; padding: 8px 13px; color: var(--ink); }
.action, button { cursor: pointer; border: 0; padding: 10px 19px; background: var(--blue); color: #fff; font-weight: 650; white-space: nowrap; }
.action { display: inline-block; border-radius: 8px; text-decoration: none; }
.action:hover, button:hover:enabled { background: #12448f; }
.secondary { color: var(--blue); background: #ecf3ff; }
.secondary:hover:enabled { color: #fff; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #336dda; outline-offset: 3px; }
.hint { margin: 9px 0 0; }
.muted { color: var(--muted); font-size: .9rem; }
.notice { margin: 12px 0 0; font-weight: 600; }
.notice:empty { margin: 0; }
.results { margin-top: 27px; }
.section-head { flex-wrap: wrap; margin-bottom: 10px; }
.section-head h2 { margin: 0; }
.metric { display: grid; gap: 4px; background: #f4f7fb; border-radius: 10px; padding: 13px 15px; }
.metric strong { font-size: clamp(1.05rem, 3vw, 1.6rem); font-variant-numeric: tabular-nums; }
.highlight { background: #e8f1ff; color: #174ca3; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }
th { color: var(--muted); background: #f4f7fb; }
footer.wrap { padding-block: 22px 35px; }
@media (max-width: 480px) {
  .fields { flex-direction: column; }
  .metric { grid-template-columns: 1fr auto; align-items: baseline; }
}
