:root {
  color-scheme: light;
  --paper: #f4f7f8;
  --surface: #fff;
  --ink: #14272b;
  --muted: #4b6267;
  --line: #d6e2e5;
  --teal: #00656a;
  --teal-soft: #e3f1ef;
  --violet: #493d88;
  --violet-soft: #efecf9;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ol { margin: 0; }
body { min-height: 100vh; }
a { color: var(--teal); text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
h1, h2, h3 { line-height: 1.23; }
h1 { font-size: clamp(2rem, 5.35vw, 4.4rem); letter-spacing: -.038em; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: -.02em; }
h3 { font-size: 1.1rem; }
.shell { width: min(100% - 2.5rem, 1100px); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; background: var(--surface); padding: 8px 12px; transform: translateY(-150%); z-index: 5; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.top { min-height: 66px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 7px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: .9rem; font-weight: 750; text-decoration: none; }
.brand-mark { width: 27px; height: 27px; display: grid; place-items: center; background: var(--teal); border-radius: 8px; color: white; font-size: .84rem; }
.top nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.top nav a { padding-block: 8px; font-size: .88rem; font-weight: 650; text-decoration: none; }
.top nav a[aria-current] { color: var(--ink); text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0,1.18fr) minmax(0,.82fr); align-items: center; gap: clamp(24px,6vw,78px); padding: clamp(32px,7vw,87px) 0 clamp(35px,6vw,66px); }
.hero h1 span { display: block; }
.hero p, .guide-intro { color: var(--muted); max-width: 41ch; margin-top: 18px; }
.actions { margin-top: 23px; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 7px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 700; }
.button.primary { background: var(--teal); border-color: var(--teal); color: white; }
.button:hover { background: var(--teal-soft); color: var(--teal); }
.button.primary:hover { background: #004e55; color: white; }
.sequence { min-width: 0; border-radius: 17px; padding: clamp(15px,2.7vw,27px); background: #e5f0f0; }
.sequence h2 { font-size: 1.07rem; margin-bottom: 14px; }
.sequence ol { list-style: none; padding: 0; }
.sequence li { display: grid; grid-template-columns: max-content minmax(0,1fr); gap: 8px 13px; align-items: baseline; padding-block: 13px; border-top: 1px solid #bdcfd0; }
.sequence li:last-child { padding-bottom: 0; }
.sequence li b { color: var(--teal); font-size: .84rem; }
.sequence li span { font-weight: 680; font-size: .93rem; }
.sequence li small { display: block; font-size: .77rem; font-weight: 450; color: #375557; }
.sequence em { font-style: normal; color: var(--violet); }
.home-section { padding-block: 24px 28px; border-top: 1px solid var(--line); }
.role-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.role-link { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 12px; padding: 16px 18px; border-radius: 12px; text-decoration: none; color: var(--teal); background: var(--teal-soft); }
.role-link.student { color: var(--violet); background: var(--violet-soft); }
.role-link:hover { outline: 1px solid currentColor; }
.role-link small { grid-column: 1 / -1; color: var(--muted); line-height: 1.4; }
.routes { margin-top: 12px; }
.route { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px 12px; padding-block: 12px; color: var(--ink); text-decoration: none; }
.route + .route { border-top: 1px solid var(--line); }
.route small { display: block; color: var(--muted); font-size: .83rem; }
.route:hover strong { text-decoration: underline; }
.arrow { font-weight: 750; color: inherit; }
.site-footer { padding-block: 16px 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.guide-head { padding-block: clamp(28px,5vw,52px) 28px; }
.guide-head h1 { font-size: clamp(1.95rem,4.1vw,3.4rem); }
.guide-head .actions { margin-top: 17px; }
.guide-intro { max-width: 66ch; margin-top: 12px; }
.guide-layout { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: clamp(17px,4vw,55px); padding-bottom: 27px; }
.contents { align-self: start; position: sticky; top: 12px; padding: 12px; background: var(--teal-soft); border-radius: 12px; }
.contents h2 { font-size: .95rem; margin-bottom: 6px; }
.contents a { display: block; padding: 5px 0; font-size: .88rem; }
.guide-body { min-width: 0; }
.guide-section { border-top: 1px solid var(--line); padding-block: 17px 24px; scroll-margin-top: 15px; }
.guide-section > p { margin-top: 12px; color: var(--muted); }
.guide-section dl { margin-block: 12px 0; }
.guide-section dt { font-weight: 720; margin-top: 11px; }
.guide-section dd { margin: 4px 0 0; color: var(--muted); }
.steps { margin-top: 12px; padding-inline-start: 1.5rem; }
.steps li { padding-left: 3px; margin-block: 10px; }
.steps li::marker { color: var(--teal); font-weight: 740; }
.guide-section .button { margin-top: 11px; }
.entry-fallback { padding-block: 32px; }
.entry-fallback h1 { margin-bottom: 16px; }
@media (max-width: 720px) {
  .shell { width: calc(100% - 1.6rem); }
  .hero, .guide-layout { grid-template-columns: minmax(0,1fr); }
  .hero { gap: 22px; }
  .contents { position: static; }
}
@media (max-width: 460px) {
  .role-list { grid-template-columns: minmax(0,1fr); }
  .top nav { gap: 8px 12px; }
  .brand { font-size: .82rem; }
}
@media print {
  .site-header, .site-footer, .contents, .actions, .button, .skip { display: none !important; }
  :root { background: white; color: black; }
  .shell { width: auto; }
  .guide-layout { display: block; }
  .guide-section { break-inside: avoid; }
}
