:root {
  color-scheme: light;
  --blue: #002676;
  --blue-dark: #010133;
  --blue-medium: #004aae;
  --blue-light: #9fd1ff;
  --gold: #fdb515;
  --gold-light: #ffe88d;
  --blue-tint: #e7f2ff;
  --white: #ffffff;
  --paper: #f2f2f2;
  --muted: #414c65;
  --line: #c4cbd7;
  --surface-support: var(--blue-tint);
  --surface-highlight: var(--gold-light);
  --anchor-offset: 6rem;
  --radius: 6px;
  --gap: 24px;
  --section-space: 80px;
  --hard-shadow: 8px 8px 0 var(--blue-dark);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; scrollbar-color: var(--blue) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--blue-dark); font: 1rem/1.8 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--blue-dark); }
a { color: var(--blue); text-underline-offset: .25em; text-decoration-thickness: 1.5px; touch-action: manipulation; }
a:hover { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--blue-medium); outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; overflow-wrap: anywhere; }
h1, h2, h3, h4 { line-height: 1.35; text-wrap: pretty; }
p { text-wrap: pretty; }
p + p { margin-top: 16px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 16px; z-index: 100; transform: translateY(-200%); padding: 12px 20px; background: var(--gold); color: var(--blue-dark); border: 2px solid var(--blue-dark); }
.skip:focus { transform: none; }
main:focus { outline: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 2px solid var(--blue-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 36px; min-height: 72px; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1.125rem; line-height: 1.3; font-weight: 800; text-decoration: none; }
.brand img { width: 40px; height: 40px; flex-shrink: 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; font-weight: 600; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding-top: 40px; }
.panel { min-width: 0; border: 2px solid var(--blue-dark); border-radius: var(--radius); background: var(--white); }
.hero-brand { grid-column: span 8; grid-row: span 2; display: flex; flex-direction: column; padding: 32px 40px; background: var(--blue); color: var(--white); border-width: 3px; box-shadow: var(--hard-shadow); }
.term { font-size: 1rem; line-height: 1.5; font-weight: 600; color: var(--blue-light); }
.hero-brand h1 { margin-top: 22px; font-size: clamp(2.625rem, 5.8vw, 5.25rem); font-weight: 850; line-height: .99; letter-spacing: -.04em; max-width: 100%; }
.hero-brand h1 span { display: block; }
.tagline { margin-top: 16px; font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.4; color: var(--gold); }
.hero-positioning { margin-top: 30px; }
.hero-positioning h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 750; line-height: 1.5; text-wrap: balance; }
.hero-positioning p { margin-top: 12px; font-size: 1.0625rem; line-height: 1.8; max-width: 35em; }
.hero-time { grid-column: span 4; background: var(--surface-highlight); padding: 26px 28px; border-width: 3px; box-shadow: var(--hard-shadow); display: flex; flex-direction: column; justify-content: center; }
.hero-time .weekday { font-size: 1.25rem; font-weight: 750; }
.hero-time .time-range { font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 850; line-height: 1.35; margin-top: 8px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.hero-time .timezone { font-size: .9375rem; line-height: 1.6; margin-top: 10px; }
.hero-details { grid-column: span 4; padding: 26px 28px; }
.hero-details dl { margin: 0; }
.hero-details dt { font-size: .9375rem; color: var(--muted); }
.hero-details dd { margin: 3px 0 0; font-size: 1.375rem; line-height: 1.5; font-weight: 750; overflow-wrap: anywhere; }
.hero-details .teacher { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.hero-details .teacher dd { font-size: 1.0625rem; }
.hero-details a { display: inline-flex; align-items: center; min-height: 44px; }
.course-format { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 16px; font-size: .9375rem; line-height: 1.8; }
.section { margin-top: var(--section-space); }
:is(main, .section, .lecture-row) { scroll-margin-top: var(--anchor-offset); }
.learning-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.learning-lead { grid-column: span 7; grid-row: span 2; padding: 32px; }
.learning-lead h2 { color: var(--blue); font-size: clamp(1.75rem, 2.5vw, 2.25rem); font-weight: 800; line-height: 1.45; max-width: 15em; text-wrap: balance; }
.learning-lead p { font-size: 1.0625rem; max-width: 35em; }
.learning-lead h2 + p { margin-top: 22px; }
.learning-card { grid-column: span 5; padding: 26px 28px; }
.learning-card:first-of-type { background: var(--surface-support); }
.learning-card h3 { font-size: 1.25rem; font-weight: 750; line-height: 1.5; }
.learning-card p { margin-top: 12px; font-size: 1rem; }
.section-heading { display: grid; grid-template-columns: 4fr 8fr; align-items: start; gap: var(--gap); }
.section-heading h2 { color: var(--blue); font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 800; line-height: 1.25; }
.section-heading > p { max-width: 40em; font-size: 1rem; }
.date-note { margin-top: 24px; font-size: .9375rem; line-height: 1.85; max-width: 74em; color: var(--muted); }
.coverage { display: grid; gap: 28px; margin-top: 28px; }
.course-stage { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); background: var(--white); min-width: 0; }
.stage-heading { border-radius: 3px 0 0 3px; padding: 28px 24px; color: var(--white); background: var(--blue); }
.tone-medium .stage-heading { background: var(--blue-medium); }
.tone-dark .stage-heading { background: var(--blue-dark); }
.stage-label { font-size: .9375rem; line-height: 1.6; font-weight: 650; }
.stage-heading .stage-label { color: var(--gold-light); }
.stage-heading h3 { margin-top: 20px; font-size: 1.625rem; line-height: 1.5; font-weight: 780; }
.stage-range { font-size: 1rem; margin-top: 16px; font-weight: 700; }
.stage-description { font-size: .9375rem; line-height: 1.8; margin-top: 12px; }
.schedule-body { min-width: 0; }
.lecture-list { margin: 0; padding: 0; list-style: none; }
.lecture-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 20px; padding: 24px; border-bottom: 1px solid var(--line); }
.schedule-body > .lecture-list:last-child > .lecture-row:last-child { border-bottom: 0; }
.lecture-meta { display: flex; align-content: flex-start; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: .9375rem; line-height: 1.75; font-variant-numeric: tabular-nums; min-width: 0; }
.lecture-meta .lec-number { font-weight: 750; color: var(--blue); }
.lecture-meta time { flex-basis: 100%; order: 2; color: var(--muted); overflow-wrap: anywhere; }
.date-status { font-size: .8125rem; color: var(--muted); }
.lecture-body { min-width: 0; }
.lecture-body h4 { font-size: 1.25rem; font-weight: 750; line-height: 1.55; }
.lecture-body p { margin-top: 7px; font-size: 1rem; line-height: 1.8; max-width: 37em; }
.calendar-break { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 20px; padding: 14px 24px; font-size: .9375rem; line-height: 1.8; background: var(--paper); border-block-end: 1px solid var(--line); }
.calendar-break time { font-variant-numeric: tabular-nums; color: var(--muted); }
.calendar-break .break-status { font-size: .8125rem; }
.finale-heading { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; align-items: start; padding: 24px; border-bottom: 2px solid var(--blue-dark); background: var(--surface-highlight); border-radius: 3px 3px 0 0; }
.finale-heading h3 { font-size: 1.625rem; font-weight: 800; }
.finale-heading .stage-range { margin-top: 4px; }
.finale-heading .stage-description { margin-top: 8px; }
.course-finale .lecture-row { grid-template-columns: 16.125rem minmax(0, 1fr); }
.course-finale .lecture-row:last-child { border-bottom: 0; }
.requirements-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; }
.requirement { min-width: 0; padding: 28px; }
.requirement h3 { font-size: 1.25rem; font-weight: 750; line-height: 1.5; }
.requirement h3 + p { margin-top: 16px; }
.requirement p { font-size: 1rem; line-height: 1.85; max-width: 38em; }
.audience { grid-column: span 7; }
.channel { grid-column: span 5; background: var(--surface-support); }
.grade-panel { grid-column: span 6; }
.grade-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
.grade-value { font-size: 4rem !important; font-weight: 850; line-height: 1 !important; color: var(--blue); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.grade-value span { font-size: 1.75rem; margin-left: 3px; }
.grade-note { padding-top: 18px; border-top: 1px solid var(--line); margin-top: 22px; }
.grade-project { background: var(--blue); color: var(--white); border-width: 3px; box-shadow: var(--hard-shadow); }
.grade-project .grade-value { color: var(--gold); }
.grade-project .grade-note { border-top-color: var(--blue-light); }
.ai-guidance { grid-column: span 12; display: grid; grid-template-columns: 4fr 8fr; gap: 32px; }
.ai-guidance h3 { max-width: 15em; color: var(--blue); }
.site-footer { margin-top: var(--section-space); padding-block: 32px 40px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 24px; border-top: 2px solid var(--blue-dark); color: var(--blue); }
.footer-name { font-size: 1.5rem; line-height: 1.4; font-weight: 800; }
.footer-institute { font-size: 1.125rem; font-weight: 650; margin-left: auto; text-align: right; }
.site-footer p + p { margin-top: 0; }
@media (max-width: 63.99rem) {
  :root { --gap: 20px; --section-space: 64px; }
  .wrap { width: calc(100% - 48px); }
  .hero-brand { grid-column: span 7; padding: 28px; }
  .hero-time, .hero-details { grid-column: span 5; padding: 24px; }
  .hero-brand h1 { font-size: clamp(2.625rem, 6vw, 4rem); }
  .hero-positioning h2 { font-size: 1.375rem; }
  .hero-positioning p { font-size: 1rem; }
  .learning-lead { grid-column: span 12; grid-row: auto; }
  .learning-lead p { max-width: none; }
  .learning-card { grid-column: span 6; }
  .section-heading { grid-template-columns: 1fr 1.6fr; }
  .course-stage { grid-template-columns: 1fr; }
  .stage-heading { border-radius: 3px 3px 0 0; display: grid; grid-template-columns: 9rem 1fr; gap: 6px 24px; padding: 24px; }
  .stage-label { grid-column: 1; grid-row: 1; }
  .stage-heading h3 { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; font-size: 1.5rem; }
  .stage-heading .stage-range { grid-column: 1; grid-row: 2; margin-top: 0; }
  .stage-heading .stage-description { grid-column: 2; margin-top: 0; }
  .lecture-row, .calendar-break { grid-template-columns: 10.5rem minmax(0, 1fr); }
  .finale-heading { grid-template-columns: 10.5rem minmax(0, 1fr); }
  .course-finale .lecture-row { grid-template-columns: 10.5rem minmax(0, 1fr); }
  .audience, .channel { grid-column: span 6; }
  .requirement { padding: 24px; }
  .ai-guidance { grid-template-columns: 1fr 1.6fr; gap: 24px; }
}
@media (max-width: 43.99rem) {
  :root { --gap: 16px; --section-space: 48px; --hard-shadow: 4px 4px 0 var(--blue-dark); --anchor-offset: 4.5rem; }
  .wrap { width: calc(100% - 36px); }
  .site-header { top: -3.5rem; }
  .site-header:has(.brand:focus-visible) { top: 0; }
  .header-inner { display: block; padding-block: 0; }
  .brand { font-size: 1rem; gap: 10px; min-height: 3.5rem; }
  .brand img { width: 32px; height: 32px; }
  .nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 0; padding-bottom: 4px; }
  .nav a { justify-content: center; font-size: .875rem; min-height: 3rem; line-height: 1.5; text-align: center; padding-block: 6px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-brand, .hero-time, .hero-details { grid-column: auto; grid-row: auto; padding: 22px 24px; border-width: 2px; }
  .hero-brand h1 { font-size: clamp(1.75rem, 7.8vw, 2.25rem); margin-top: 18px; }
  .hero-brand h1 span { display: inline; }
  .term { font-size: .9375rem; }
  .tagline { font-size: 1.125rem; margin-top: 14px; }
  .hero-positioning { margin-top: 24px; }
  .hero-positioning h2 { font-size: 1.375rem; }
  .hero-positioning p { margin-top: 10px; }
  .hero-time { display: grid; grid-template-columns: 1fr; gap: 0; }
  .hero-time .weekday { font-size: 1.0625rem; }
  .hero-time .time-range { font-size: 2rem; margin-top: 2px; }
  .hero-time .timezone { margin-top: 6px; }
  .hero-details dl { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 10px 16px; }
  .hero-details dd { font-size: 1.1875rem; }
  .hero-details .teacher { display: block; margin: 0; }
  .hero-details .teacher dd { margin-top: 0; }
  .hero-details a { min-height: 44px; }
  .course-format { font-size: .9375rem; margin-top: 12px; padding-top: 12px; }
  .learning-grid, .requirements-grid { grid-template-columns: 1fr; }
  .learning-lead, .learning-card, .requirement { grid-column: auto; grid-row: auto; padding: 24px; }
  .learning-lead h2 { font-size: 1.75rem; }
  .learning-lead p { font-size: 1rem; }
  .learning-card h3, .requirement h3 { font-size: 1.25rem; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .section-heading h2 { font-size: 1.875rem; }
  .date-note { margin-top: 20px; }
  .coverage { gap: 24px; margin-top: 24px; }
  .stage-heading { display: block; padding: 22px; }
  .stage-heading h3 { margin-top: 10px; font-size: 1.5rem; }
  .stage-heading .stage-range { margin-top: 12px; }
  .stage-heading .stage-description { margin-top: 8px; }
  .lecture-row, .course-finale .lecture-row { grid-template-columns: 1fr; padding: 22px; gap: 9px; }
  .lecture-meta { gap: 2px 12px; font-size: .875rem; }
  .lecture-meta time { flex-basis: auto; order: 0; }
  .lecture-meta .date-status { margin-left: auto; }
  .lecture-body h4 { font-size: 1.25rem; }
  .lecture-body p { margin-top: 8px; }
  .calendar-break { grid-template-columns: 1fr; padding: 16px 22px; gap: 2px; }
  .finale-heading { grid-template-columns: 1fr; padding: 22px; gap: 10px; }
  .finale-heading h3 { font-size: 1.5rem; }
  .finale-heading .stage-range { font-size: .9375rem; }
  .grade-value { font-size: 3.5rem !important; }
  .grade-project { border-width: 2px; }
  .ai-guidance { display: block; }
  .ai-guidance > div { margin-top: 16px; }
  .site-footer { gap: 12px 16px; padding-block: 24px 32px; }
  .footer-name { font-size: 1.25rem; }
  .footer-institute { font-size: 1rem; }
}
@media (max-width: 23rem) {
  .wrap { width: calc(100% - 32px); }
  .hero-brand, .hero-time, .hero-details, .learning-lead, .learning-card, .requirement { padding: 20px; }
  .hero-brand h1 { font-size: 1.75rem; }
  .hero-details dl { grid-template-columns: 1fr; gap: 8px; }
  .hero-details .teacher { display: flex; gap: 16px; align-items: baseline; }
  .hero-time .time-range { font-size: 1.75rem; }
  .stage-heading, .lecture-row, .course-finale .lecture-row, .finale-heading { padding: 20px; }
  .calendar-break { padding-inline: 20px; }
  .lecture-meta .date-status { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .panel { border-color: CanvasText; box-shadow: none; }
  a:focus-visible { outline-color: Highlight; }
}
@media print {
  .site-header, .skip { display: none; }
  .wrap { width: 100%; }
  body { background: white; }
  .hero-grid { padding-top: 0; }
  .section { margin-top: 32px; }
  .panel { box-shadow: none; }
  .hero-brand, .hero-time, .grade-project, .stage-heading, .finale-heading, .channel, .learning-card { background: white !important; color: var(--blue-dark) !important; }
  .term, .tagline, .grade-project .grade-value, .stage-heading .stage-label { color: var(--blue) !important; }
  .lecture-row, .calendar-break { break-inside: avoid; }
  .stage-heading, .finale-heading, .section-heading { break-after: avoid; }
}
