:root {
  --ink: #17243b;
  --paper: #f6f7f9;
  --seal: #ad3529;
  --seal-dark: #92291f;
  --seal-soft: #fbefed;
  --slate: #68778d;
  --muted: #8b97a8;
  --hairline: #e4e9f0;
  --card: #fff;
  --notice: #f8f2e8;
  --notice-line: #dfcba8;
  --shadow: 0 8px 26px rgba(25, 42, 70, .055);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans SC", "Noto Sans TC", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--seal); text-underline-offset: 3px; }
a:hover { color: var(--seal-dark); }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid rgba(173, 53, 41, .28); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: "Noto Serif SC", "Noto Serif TC", "Songti SC", serif; text-wrap: balance; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.masthead { position: sticky; top: 0; z-index: 20; background: var(--card); border-bottom: 1px solid var(--hairline); }
.masthead-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; color: var(--ink); text-decoration: none; }
.brand-seal { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 10px; background: var(--seal); color: #fff; font: 800 27px "Noto Serif SC", serif; transform: rotate(-3deg); }
.brand-name { display: block; font: 700 25px/1.2 "Noto Serif SC", serif; letter-spacing: .04em; }
.brand-sub { display: block; margin-top: 5px; color: var(--slate); font-size: 11px; letter-spacing: .02em; line-height: 1.3; }
.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav a { padding: 10px 15px; border-radius: 9px; color: #53627a; font-size: 14px; font-weight: 650; text-decoration: none; transition: background .18s ease, color .18s ease; }
.site-nav a:hover { background: #f5f6f8; color: var(--ink); }
.site-nav a.nav-weekly, .site-nav a.nav-weekly:hover, .site-nav a.nav-weekly.active { background: var(--seal); color: #fff; box-shadow: 0 4px 10px rgba(173, 53, 41, .16); }
.site-nav a.nav-weekly:hover { background: var(--seal-dark); }
.page-main { padding-block: 27px 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--seal); }
.breadcrumbs span:last-child { color: #52627b; }
.weekly-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--seal); font-size: 12px; font-weight: 750; letter-spacing: .09em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--seal); }
.weekly-intro h1 { margin-top: 10px; font-size: 36px; line-height: 1.25; letter-spacing: .02em; }
.weekly-intro p { margin-top: 10px; color: var(--slate); font-size: 15px; line-height: 1.75; }
.hero-note { display: flex; align-items: center; flex: none; gap: 13px; min-width: 218px; padding: 13px 16px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--card); box-shadow: 0 3px 12px rgba(25, 42, 70, .025); }
.note-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 10px; background: var(--seal-soft); color: var(--seal); }
.note-label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.note-value { display: block; color: var(--ink); font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.filter-panel { margin-bottom: 20px; padding: 19px 21px 17px; border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.time-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; padding-bottom: 17px; border-bottom: 1px solid var(--hairline); }
.filter-caption { margin-right: 4px; color: #4b5b73; font-size: 13px; font-weight: 750; }
.time-shortcuts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.time-shortcut { padding: 7px 14px; border: 1px solid #e1e6ee; border-radius: 999px; background: var(--card); color: #5e6d83; font-size: 13px; font-weight: 650; line-height: 1.5; text-decoration: none; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.time-shortcut:hover { border-color: #d9a39d; color: var(--seal); }
.time-shortcut.active { border-color: var(--seal); background: var(--seal); color: #fff; }
.filter-grid { display: grid; grid-template-columns: repeat(2, minmax(180px, 1fr)) auto; gap: 13px; align-items: end; }
.field { display: grid; min-width: 0; gap: 7px; }
.field label { color: #596981; font-size: 12px; font-weight: 700; }
.field input, .field select { width: 100%; min-width: 0; min-height: 43px; padding: 8px 13px; border: 1px solid #dce2ea; border-radius: 9px; outline: none; background: var(--card); color: var(--ink); font-family: inherit; font-size: 13px; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus { border-color: #c56b61; box-shadow: 0 0 0 3px rgba(173, 53, 41, .09); }
.filter-actions { display: flex; align-items: center; align-self: end; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px 14px; border: 1px solid #bcc6d4; border-radius: 9px; background: var(--card); color: var(--ink); font-family: inherit; font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer; }
.btn.primary { border-color: var(--seal); background: var(--seal); color: #fff; }
.btn.primary:hover { background: var(--seal-dark); color: #fff; }
.btn.ghost { gap: 5px; border-color: transparent; background: transparent; color: #65748a; white-space: nowrap; }
.btn.ghost:hover { background: var(--paper); color: var(--seal); }
.custom-weeks { margin-top: 12px; }
.custom-weeks summary { width: fit-content; color: var(--slate); font-size: 12px; font-weight: 650; cursor: pointer; list-style: none; }
.custom-weeks summary::-webkit-details-marker { display: none; }
.chevron { display: inline-block; margin-right: 4px; transition: transform .18s ease; }
.custom-weeks[open] .chevron { transform: rotate(180deg); }
.custom-week-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; max-width: 660px; margin-top: 13px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.filter-note { margin-top: 4px; color: #9aa4b2; font-size: 11px; text-align: right; }
.results-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; padding: 0 1px 13px; border-bottom: 1px solid #e1e6ed; color: var(--slate); font-size: 13px; }
.results-meta strong { margin-right: 3px; color: var(--ink); font-size: 15px; }
.results-meta span:last-child { color: var(--muted); font-size: 12px; }
.week-group { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 25px; margin-bottom: 27px; }
.week-heading { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 4px 0 0 25px; color: var(--slate); font-size: 11px; }
.week-heading::after { content: ""; position: absolute; top: 25px; bottom: 0; left: 7px; width: 1px; background: #e0e5ec; }
.week-dot { position: absolute; z-index: 1; top: 6px; left: 0; width: 15px; height: 15px; margin: 0; border: 4px solid var(--seal); border-radius: 50%; background: var(--card); }
.week-kicker { margin-bottom: 7px; color: var(--seal); font-size: 11px; font-weight: 750; letter-spacing: .08em; }
.week-range { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.week-heading time { display: block; color: #23324a; font: 700 21px/1.3 "Noto Serif SC", serif; font-variant-numeric: tabular-nums; }
.week-range-separator { margin-block: 3px; color: #9aa4b2; font-size: 11px; }
.week-total { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; padding: 4px 9px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--card); color: #718096; font-size: 11px; }
.week-total > span { color: var(--seal); font-size: 8px; }
.report-list { display: grid; gap: 12px; }
.report-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 21px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--card); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.report-card:hover { transform: translateY(-2px); border-color: #e0b5b0; box-shadow: 0 8px 22px rgba(31, 47, 72, .06); }
.report-card-main { min-width: 0; }
.card-flags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 10px; border: 1px solid #f0d4ce; border-radius: 999px; background: #f8eeeb; color: #a83a2e; font-size: 11px; font-weight: 750; line-height: 1.2; }
.report-card .badge + .badge, .detail-header .badge + .badge { border-color: #e3e8ef; background: #f1f4f8; color: #52627a; }
.card-date, .period-badge { margin-left: 2px; color: #8995a6; font-size: 11px; font-variant-numeric: tabular-nums; }
.report-card h2 { margin-top: 9px; color: #1d2c45; font-size: 20px; line-height: 1.45; overflow-wrap: anywhere; }
.report-card h2 a { color: inherit; text-decoration: none; }
.report-card h2 a:hover { color: var(--seal); }
.report-desc { margin-top: 6px; color: #78869a; font-size: 13px; line-height: 1.65; }
.report-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 15px; margin-top: 12px; color: #8a96a7; font-size: 11px; font-variant-numeric: tabular-nums; }
.card-more { min-width: 118px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 12px; border: 1px solid #efd4d0; border-radius: 8px; background: #fff8f7; color: var(--seal); font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.card-more:hover { border-color: var(--seal); background: var(--seal); color: #fff; }
.empty { padding: 48px 20px; border: 1px dashed #d9e0e9; border-radius: 12px; background: var(--card); color: #7b889a; text-align: center; }
.empty h2 { color: #35445c; font-size: 18px; }
.empty p { margin: 7px 0 18px; color: #7b889a; font-size: 13px; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.page-link { min-width: 36px; padding: 7px 10px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--card); color: var(--ink); font-size: 13px; text-align: center; text-decoration: none; }
.page-link:hover { border-color: #d9a39d; color: var(--seal); }
.page-link.active { border-color: var(--seal); background: var(--seal); color: #fff; }
.page-link.disabled { color: var(--slate); pointer-events: none; opacity: .5; }
.info-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; padding: 13px 15px; border: 1px solid #e7eaf0; border-radius: 10px; background: #fbfcfd; color: #7c899b; font-size: 12px; line-height: 1.65; }
.info-note svg { flex: none; margin-top: 2px; color: #8997a9; }
.detail-page { background: var(--card); }
.back-to-list { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 20px; padding: 7px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--card); color: var(--slate); font-size: 12px; font-weight: 650; text-decoration: none; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.back-to-list:hover { border-color: #d9a39d; background: #fff8f7; color: var(--seal); }
.back-to-list span { font-size: 16px; line-height: 1; }
.weekly-report { max-width: 860px; margin-inline: auto; }
.detail-header { padding: 10px 0 25px; border-bottom: 1px solid var(--hairline); }
.detail-header h1 { margin-top: 15px; font-size: clamp(28px, 4.5vw, 40px); line-height: 1.45; overflow-wrap: anywhere; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 16px; color: var(--slate); font-size: 12px; }
.collection-notice { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; margin-block: 24px 30px; padding: 16px 18px; border-left: 3px solid var(--notice-line); background: var(--notice); }
.collection-notice strong { font-size: 13px; }
.collection-notice p { color: #574d3e; font-size: 13px; line-height: 1.85; }
.stage-section + .stage-section { margin-top: 34px; }
.stage-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.stage-heading h2 { font-size: 22px; letter-spacing: .08em; }
.stage-heading span { color: var(--slate); font-size: 11px; }
.school-item { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.4fr); gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--hairline); }
.school-item h3 { font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.application-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.application-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 9px 12px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.application-links a:hover { border-color: #d7a39d; background: #fbf3f1; color: var(--seal); }
.link-arrow { flex: none; color: var(--seal); font-size: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.detail-footnote { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 28px; padding-top: 15px; border-top: 1px solid var(--hairline); color: var(--slate); font-size: 11px; }
.site-footer { padding: 22px 0; border-top: 1px solid var(--hairline); background: var(--card); color: #9aa4b2; font-size: 11px; text-align: center; }
.error-page { padding: 70px 20px; text-align: center; }
.error-code { display: block; margin-bottom: 8px; color: var(--seal); font: 700 13px "Noto Sans SC", sans-serif; letter-spacing: .2em; }
.error-page h1 { font-size: 32px; }
.error-page p { max-width: 540px; margin: 12px auto 24px; color: var(--slate); }
@media (max-width: 820px) {
  .container { width: min(calc(100% - 32px), 680px); }
  .masthead-inner { min-height: 68px; }
  .brand-seal { width: 38px; height: 38px; font-size: 24px; }
  .brand-name { font-size: 22px; }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 9px 10px; font-size: 12px; }
  .weekly-intro { align-items: flex-start; }
  .hero-note { display: none; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: 1 / -1; justify-self: start; }
  .week-group { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
  .week-heading time { font-size: 18px; }
  .report-card { padding: 16px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .masthead { position: static; }
  .masthead-inner { flex-wrap: wrap; gap: 12px; padding-block: 14px 10px; }
  .brand-seal { width: 34px; height: 34px; border-radius: 8px; font-size: 22px; }
  .brand-name { font-size: 19px; }
  .brand-sub { display: none; }
  .site-nav { width: 100%; justify-content: space-between; margin-left: 0; padding-top: 9px; border-top: 1px solid var(--hairline); }
  .site-nav a { padding: 7px 12px; }
  .page-main { padding-block: 19px 40px; }
  .breadcrumbs { gap: 8px; margin-bottom: 17px; font-size: 12px; }
  .weekly-intro { margin-bottom: 19px; }
  .weekly-intro h1 { margin-top: 8px; font-size: 29px; }
  .weekly-intro p { font-size: 13px; line-height: 1.65; }
  .eyebrow { font-size: 10px; }
  .filter-panel { margin-bottom: 17px; padding: 15px 13px 13px; border-radius: 12px; }
  .time-filter { align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 13px; padding-bottom: 13px; }
  .time-shortcuts { gap: 6px; }
  .time-shortcut { padding: 6px 10px; font-size: 11px; }
  .filter-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .filter-actions { grid-column: 1 / -1; }
  .field label { font-size: 11px; }
  .field input, .field select { min-height: 40px; font-size: 12px; }
  .btn { min-height: 38px; }
  .custom-week-grid { grid-template-columns: 1fr; }
  .filter-note { text-align: left; }
  .results-meta { align-items: flex-start; flex-direction: column; gap: 3px; padding-bottom: 10px; }
  .week-group { display: block; margin-bottom: 20px; }
  .week-heading { margin-bottom: 9px; padding: 0 0 10px 20px; border-left: 1px solid #e0e5ec; }
  .week-heading::after { display: none; }
  .week-dot { position: absolute; top: 2px; left: -8px; width: 14px; height: 14px; margin: 0; }
  .week-kicker { margin-bottom: 4px; }
  .week-range { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 0; }
  .week-heading time { font-family: inherit; font-size: 13px; font-weight: 750; }
  .week-range-separator { margin-inline: 5px; }
  .week-total { margin-top: 7px; }
  .report-list { gap: 9px; }
  .report-card { grid-template-columns: 1fr; gap: 13px; padding: 14px; border-radius: 11px; }
  .report-card h2 { font-size: 17px; }
  .report-desc { font-size: 12px; }
  .report-meta { gap: 4px 10px; margin-top: 9px; }
  .card-more { width: 100%; min-height: 37px; }
  .info-note { margin-top: 18px; padding: 11px 12px; font-size: 11px; }
  .collection-notice { grid-template-columns: 1fr; gap: 5px; padding: 14px; }
  .school-item { grid-template-columns: 1fr; gap: 12px; }
  .detail-header h1 { font-size: 28px; }
  .detail-footnote { flex-direction: column; }
  .error-page { padding: 50px 10px; }
  .error-page h1 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .report-card, .site-nav a, .time-shortcut, .card-more, .chevron { transition: none; }
  .report-card:hover { transform: none; }
}
