:root {
  color: #111111;
  background: #e9e7e1;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --paper: #f7f5ef;
  --ink: #111111;
  --muted: #4d4d4d;
  --red: #ff3b1f;
  --red-dark: #d9341c;
  --blue: #174fd1;
  --blue-soft: #e8eefc;
  --rule: #b9b7b0;
  --lime: #b8d62e;
  --condensed: "DIN Condensed", "Arial Narrow", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 1280px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-width: 1280px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: #e9e7e1;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #ffffff;
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-shell {
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 28px rgb(17 17 17 / 8%);
}

.site-header {
  display: grid;
  grid-template-columns: 240px 1fr 160px;
  align-items: center;
  height: 77px;
  padding-inline: 60px;
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 52px;
}

.desktop-nav a,
.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 650;
}

.desktop-nav a::after,
.header-action::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after,
.header-action:hover::after,
.header-action[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
}

.site-header.admin-header {
  grid-template-columns: 1fr auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  gap: 40px;
  min-height: 532px;
  padding: 49px 60px 42px;
  border-bottom: 1px solid var(--ink);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.event-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
}

.hero h1 {
  max-width: 740px;
  margin: 0 0 17px;
  font-size: 68px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -3.4px;
}

.status-label,
.preview-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 17px;
  padding-inline: 17px;
  color: #ffffff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 750;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.hero-actions,
.page-actions {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 26px;
}

.primary-action,
.secondary-action,
.text-action {
  min-height: 56px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 310px;
  padding-inline: 24px;
  color: #ffffff;
  background: var(--red-dark);
  font-size: 20px;
  font-weight: 750;
  transition: background 150ms ease, transform 150ms ease;
}

.primary-action:hover {
  background: #bb2c18;
  transform: translateY(-2px);
}

.primary-action:active {
  transform: translateY(0);
}

.action-icon {
  width: 24px;
  height: 24px;
}

.secondary-action,
.text-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 650;
}

.secondary-action .action-copy,
.text-action .action-copy {
  padding-block: 4px;
  border-bottom: 1px solid currentColor;
}

.secondary-action:hover,
.text-action:hover {
  color: var(--blue);
}

.hero-date {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  color: var(--red);
  font-family: var(--condensed);
  font-size: 254px;
  font-stretch: condensed;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -13px;
  white-space: nowrap;
}

.editorial-note {
  position: absolute;
  right: 34px;
  bottom: 68px;
  margin: 0;
  color: var(--blue);
  font-family: var(--condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35px;
  writing-mode: vertical-rl;
}

.information-band {
  display: grid;
  grid-template-columns: minmax(0, 690px) 1px minmax(0, 1fr);
  gap: 28px;
  min-height: 256px;
  padding: 22px 60px;
  border-bottom: 1px solid var(--ink);
}

.section-eyebrow,
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-eyebrow {
  min-height: 38px;
  margin: 0;
  font-size: 17px;
  font-weight: 750;
}

.section-marker {
  display: block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  display: grid;
  grid-template-columns: 56px 150px minmax(0, 1fr);
  align-items: center;
  min-height: 61px;
  padding-block: 15px;
}

.topic-list li + li,
.timeline-row + .timeline-row {
  border-top: 1px solid var(--rule);
}

.topic-number,
.timeline-date,
.stat-number {
  font-family: var(--condensed);
}

.topic-number {
  color: var(--blue);
  font-size: 25px;
  font-weight: 750;
}

.topic-list h3,
.topic-list p {
  margin: 0;
}

.topic-list h3 {
  font-size: 18px;
  font-weight: 750;
}

.topic-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.information-divider {
  height: 212px;
  background: var(--rule);
}

.timeline dl {
  margin: 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 160px minmax(190px, 1fr) 48px;
  align-items: center;
  min-height: 70px;
  padding-block: 7px;
}

.timeline dt,
.timeline dd {
  margin: 0;
}

.timeline dt {
  font-size: 16px;
  font-weight: 750;
}

.timeline-date {
  font-size: 48px;
  font-weight: 750;
  line-height: 1.15;
  white-space: nowrap;
}

.timeline-weekday {
  text-align: right;
  font-size: 13px;
  font-weight: 650;
}

.content-section {
  padding: 88px 60px 94px;
  border-bottom: 1px solid var(--ink);
  scroll-margin-top: 20px;
}

.content-section.compact {
  padding-block: 64px;
}

.section-heading {
  display: grid;
  grid-template-columns: 16px auto minmax(80px, 1fr);
  margin-bottom: 46px;
}

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -1.7px;
}

.heading-rule {
  height: 1px;
  margin-left: 6px;
  background: var(--rule);
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
}

.copy-block {
  max-width: 590px;
}

.copy-block h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.copy-block p,
.copy-block li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.copy-block p {
  margin: 0;
}

.copy-block ul,
.copy-block ol {
  margin: 0;
  padding-left: 1.35em;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.review-panel {
  min-height: 286px;
  padding: 42px;
  background: var(--paper);
}

.review-panel .panel-number {
  display: block;
  margin-bottom: 58px;
  color: var(--blue);
  font-family: var(--condensed);
  font-size: 22px;
  font-weight: 750;
}

.review-panel h3 {
  margin: 0 0 12px;
  font-size: 26px;
}

.review-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.organizer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding: 72px 60px;
}

.organizer-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.organizer-section a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 180px;
  padding: 54px 60px;
  color: #ffffff;
  background: var(--ink);
}

.footer-brand {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.6px;
}

.site-footer p {
  margin: 0;
  color: #d1d0ca;
  font-size: 13px;
}

.interior-main {
  min-height: calc(100vh - 257px);
}

.interior-hero {
  display: grid;
  grid-template-columns: minmax(0, 780px);
  min-height: 405px;
  padding: 72px 60px 62px;
  border-bottom: 1px solid var(--ink);
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 750;
}

.interior-hero h1 {
  margin: 0 0 22px;
  font-size: 64px;
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -3px;
}

.lead {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.interior-content {
  padding: 58px 60px 84px;
}

.preview-notice {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
  padding: 20px 22px;
  border: 1px solid var(--blue);
  background: var(--blue-soft);
}

.preview-notice strong {
  color: var(--blue);
  font-size: 15px;
}

.preview-notice p {
  margin: 0;
  color: #29395f;
  line-height: 1.6;
}

.step-list,
.provider-list,
.submission-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--ink);
}

.step-list li {
  min-height: 220px;
  padding: 30px;
}

.step-list li + li {
  border-left: 1px solid var(--rule);
}

.step-number {
  display: block;
  margin-bottom: 48px;
  color: var(--blue);
  font-family: var(--condensed);
  font-size: 28px;
  font-weight: 750;
}

.step-list h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.step-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.provider-list {
  display: grid;
  max-width: 760px;
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}

.provider-list li {
  border-bottom: 1px solid var(--rule);
}

.provider-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding-inline: 0;
  color: var(--ink);
  border: 0;
  background: transparent;
  font-size: 19px;
  font-weight: 700;
  text-align: left;
}

.provider-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.provider-button[href] {
  cursor: pointer;
  transition: color 150ms ease, padding 150ms ease;
}

.provider-button[href]:hover,
.provider-button[href][aria-busy="true"] {
  padding-inline: 14px;
  color: var(--blue);
}

.provider-button[href][aria-busy="true"] {
  pointer-events: none;
}

.provider-status,
.tag {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.event-submission-groups {
  display: grid;
  gap: 54px;
}

.event-group-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 18px;
}

.event-year {
  margin: 0 0 6px;
  color: var(--blue);
  font-family: var(--condensed);
  font-size: 18px;
  font-weight: 750;
}

.event-group-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.7px;
}

.event-state {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.event-state.historical {
  color: var(--ink);
  background: #dedbd2;
}

.submission-list {
  border-top: 1px solid var(--ink);
}

.submission-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 32px;
  gap: 28px;
  align-items: center;
  min-height: 116px;
  border-bottom: 1px solid var(--rule);
}

.submission-title {
  margin: 0 0 7px;
  font-size: 21px;
}

.submission-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.submission-status {
  font-size: 15px;
  font-weight: 750;
}

.submission-archive-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.dashboard-section + .dashboard-section {
  margin-top: 64px;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 22px;
}

.dashboard-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.8px;
}

.dashboard-heading p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  text-align: right;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.stat-card {
  min-height: 176px;
  padding: 28px;
  background: var(--paper);
}

.stat-card.accent {
  background: var(--blue-soft);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.stat-number {
  display: block;
  margin: 26px 0 5px;
  color: var(--blue);
  font-size: 50px;
  font-weight: 800;
  line-height: 1;
}

.stat-note {
  color: var(--muted);
  font-size: 13px;
}

.module-category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--ink);
  list-style: none;
}

.module-category-list li {
  min-width: 0;
}

.module-category-button {
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
  min-height: 132px;
  padding: 24px;
  color: var(--ink);
  border: 0;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease;
}

.module-category-button:hover,
.module-category-button[aria-pressed="true"] {
  background: var(--blue-soft);
}

.category-number {
  grid-row: 1 / span 2;
  color: var(--blue);
  font-family: var(--condensed);
  font-size: 24px;
  font-weight: 750;
}

.category-copy strong {
  display: block;
  margin: 0;
  font-size: 20px;
}

.category-state {
  align-self: end;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.module-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  margin-bottom: 16px;
}

.module-group-heading p,
.module-group-heading h3 {
  margin: 0;
}

.module-group-heading p {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.module-group-heading h3 {
  font-size: 26px;
}

.module-group-heading > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.module-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.module-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 190px;
  gap: 28px;
  align-items: center;
  min-height: 92px;
  border-bottom: 1px solid var(--rule);
}

.module-number {
  color: var(--blue);
  font-family: var(--condensed);
  font-size: 24px;
  font-weight: 750;
}

.module-list h3,
.module-list h4,
.module-list p {
  margin: 0;
}

.module-list h3,
.module-list h4 {
  margin-bottom: 6px;
  font-size: 20px;
}

.module-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.module-status {
  justify-self: end;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.module-category-empty {
  min-height: 132px;
  margin: 0;
  padding: 36px 32px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 72px;
}

.detail-summary {
  margin: 0;
}

.detail-summary div {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.detail-summary dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.detail-summary dd {
  margin: 0;
  font-weight: 700;
}

.detail-copy section + section {
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid var(--rule);
}

.detail-copy h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.detail-copy p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.disabled-action {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding-inline: 24px;
  color: #6d6c68;
  border: 1px solid var(--rule);
  background: #eceae4;
  cursor: not-allowed;
  font-weight: 700;
}

.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;
}

@media (max-width: 1320px) {
  .site-header,
  .hero,
  .information-band,
  .content-section,
  .organizer-section,
  .site-footer,
  .interior-hero,
  .interior-content {
    padding-right: 40px;
    padding-left: 40px;
  }

  .hero {
    grid-template-columns: 700px minmax(0, 1fr);
  }

  .hero-date {
    font-size: 210px;
    letter-spacing: -10px;
  }

  .information-band {
    grid-template-columns: minmax(0, 640px) 1px minmax(0, 1fr);
  }

  .timeline-row {
    grid-template-columns: 118px minmax(180px, 1fr) 42px;
  }
}
