/* Brand: amber #F7A934, charcoal #2F241A, cream #FFF6E6.
   Type faces live in fuyo-web.css (loaded after this file): Glow Sans SC for Chinese,
   Plus Jakarta Sans for Latin and numbers. Eyebrows use Plus Jakarta Sans 800. */
:root {
  --site-header-height: 85px;
  --amber: #f7a934;
  --charcoal: #2f241a;
  --cream: #fff6e6;
  --white: #ffffff;
  --tint: #fde9c4;
  --sand: #f3e6cf;
  --grey: #6b5e50;
  --line: #e5d9c4;
  --deep: #8a5200;
  --soft: #4a3d30;
  /* Section colours, 2026-11-01. Graphic fills only for olive, mauve, dust, and coral.
     Small text uses the paired ink. Tints are a 12% mix with cream. */
  --navy: #1c3d66;
  --navy-ink: #1c3d66;
  --navy-label: #fff6e6;
  --navy-tint: #e4e0d7;
  --olive: #9b9855;
  --olive-ink: #4a4f2f;
  --olive-label: #2f241a;
  --olive-tint: #f3ebd5;
  --mauve: #897f98;
  --mauve-ink: #4a4452;
  --mauve-label: #1b1b1b;
  --mauve-tint: #f1e8dd;
  --pine: #206f50;
  --pine-ink: #206f50;
  --pine-label: #fff6e6;
  --pine-tint: #e4e6d4;
  --dust: #5f8ca1;
  --dust-ink: #1c3d66;
  --dust-label: #1b1b1b;
  --dust-tint: #ece9de;
  --dust-soft: #e7eef1;
  --dust-border: #b8ccd6;
  --dust-strong: #356177;
  --coral: #f07884;
  --coral-ink: #5a372d;
  --coral-label: #2f241a;
  --coral-tint: #fde7da;
  --neutral-tint: #e7dece;
  --ink: #1b1b1b;
  --font-sans: "FUYO Latin", "FUYO Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --font-display: var(--font-sans);   /* headings: same family, weight 600 */
  --font-body: var(--font-sans);
  --font-en: var(--font-sans);        /* eyebrow labels: Plus Jakarta Sans 800 */
  /* v4 英伦书院卡片：标题改用系统衬线字体，不新增字体文件（素材包未附带 Noto Serif CJK SC）。 */
  --font-serif-cjk: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, "SimSun", serif;
  /* v4 卡片顶线 / 卡身 / 边界（边界=顶线36%与卡身64%混合），对照 card-upgrade-design-spec.md v4 第二、三节 */
  --v4-top-appeal: #9a90aa; --v4-body-appeal: #f2eff6; --v4-border-appeal: #d2cddb;
  --v4-top-study: #5e82a8; --v4-body-study: #edf3fa; --v4-border-study: #bacadc;
  --v4-top-tutoring: #a5a265; --v4-body-tutoring: #f4f3e6; --v4-border-tutoring: #d8d6b8;
  --v4-top-career: #5c9c7e; --v4-body-career: #ebf4ef; --v4-border-career: #b8d4c6;
  --v4-top-about: #bea571; --v4-body-about: #f6efdf; --v4-border-about: #e2d4b7;
  /* Countries band fill. Shipped as sand. Still switchable: white, var(--sand), or #fffbf3. */
  --band: var(--sand);
  --section-pad: 40px;
  --hero-after-pad-top: 18px;
  --section-head-gap: 24px;
  --max: 1440px;
  --gutter: clamp(20px, 3.2vw, 80px);
  color: var(--charcoal);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--cream); color: var(--charcoal); }
img { max-width: 100%; height: auto; }
a { color: var(--deep); font-weight: 600; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; text-wrap: balance; }
h1 { font-size: 44px; line-height: 1.35; margin: 18px 0 0; }
h2 { font-size: 34px; line-height: 1.35; margin: 6px 0 0; }
h3 { font-size: 21px; line-height: 1.5; margin: 0; }
p { margin: 0 0 0.8em; text-wrap: pretty; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--charcoal);
  color: var(--cream);
  padding: 8px 12px;
  z-index: 8;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2 * var(--gutter))); }

.eyebrow {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--deep);
  text-transform: uppercase;
}
.eyebrow.on-dark { color: var(--amber); }
.lead, .lede { color: var(--soft); font-size: 18px; line-height: 1.75; max-width: 36rem; }
.logo { display: flex; align-items: center; color: inherit; text-decoration: none; }
.logo img { display: block; height: 44px; width: auto; }

#consult, #contact, #services, #team, #solutions, #timeline,
.consult label {
  scroll-margin-top: calc(var(--site-header-height) + 24px);
}

/* Keep the label above a field visible when the field itself scrolls into view. */
.consult input, .consult select, .consult textarea {
  scroll-margin-top: calc(var(--site-header-height) + 48px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: calc(var(--site-header-height) - 1px);
  min-width: 0;
}
.logo { justify-self: start; }
.nav { display: flex; align-items: center; justify-content: center; gap: 32px; min-width: 0; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 12px; min-width: 0; }
.nav a:not(.btn) { color: var(--soft); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--charcoal); box-shadow: inset 0 -2px 0 var(--amber); }
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.nav-burger { display: none; }
.nav-cta { display: none; }

button {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-height: 40px;
  cursor: pointer;
}
a.btn.hdr-btn { display: inline-flex; align-items: center; height: 42px; min-height: 42px; padding: 0 18px; font-size: 15px; line-height: 1; white-space: nowrap; }
.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 10px;
  border: 1.5px solid var(--amber);
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
}
.btn.ghost, a.btn.ghost, .btn-ghost, .btn.btn-ghost {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-primary { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.btn-danger, .btn.btn-danger { background: transparent; color: var(--deep); border-color: var(--deep); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.hdr-btn { padding: 12px 22px; min-height: 44px; }
.nav-burger { display: none; }
.nav a.nav-cta { display: none; }

.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { margin-top: 18px; font-size: clamp(28px, 3.6vw, 44px); text-wrap: normal; }
.hero-title-line { display: block; }
.hero .lead { margin: 24px 0 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 36px 0 0; padding: 0; color: var(--grey); font-size: 14px; }
.trust li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 8px; }

.visual { position: relative; min-height: 540px; overflow: hidden; }
.art-wrap { position: relative; height: 540px; }
.art { position: absolute; left: 50%; top: 10px; width: 460px; height: 520px; margin-left: -230px; }
.art .halo { position: absolute; left: 50px; top: 80px; width: 360px; height: 360px; border-radius: 50%; background: var(--tint); opacity: 0.7; }
.art svg.flight { position: absolute; left: 0; top: 0; width: 540px; height: 520px; overflow: visible; pointer-events: none; }
.tst { position: absolute; filter: drop-shadow(0 6px 14px #2f241a24) drop-shadow(0 1px 2px #2f241a1f); }
.tst img { display: block; height: 100%; width: auto; }
.t-sh { height: 290px; left: 40px; top: 36px; transform: rotate(-6deg); z-index: 1; }
.t-ld { height: 300px; left: 190px; top: 165px; transform: rotate(5deg); z-index: 2; }
.plane {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  z-index: 4;
  offset-path: path("M120 20 C230 -16 405 34 424 150 C440 236 446 380 404 456 C356 534 196 528 150 474 C112 428 24 404 20 300 C16 196 32 62 120 20 Z");
  offset-rotate: auto;
  offset-anchor: center;
  animation: fly 18s linear infinite;
}
.plane span {
  display: flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px #2f241a33;
}
.plane svg { display: block; transform: rotate(90deg); }
@keyframes fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.otag {
  position: absolute;
  z-index: 3;
  background: var(--white);
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 8px 20px #2f241a1a;
  white-space: nowrap;
}
.otag small { font-family: var(--font-en); font-weight: 700; letter-spacing: 0.14em; font-size: 10px; color: var(--deep); display: block; }
.otag b { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.o-sh { left: 262px; top: 58px; }
.o-ld { left: 352px; top: 424px; }

.band { padding: var(--hero-after-pad-top) 0 var(--section-pad); background: var(--band); color: var(--charcoal); }
.band-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 8px; }
.band-head p { max-width: 28rem; color: var(--soft); margin: 0; }
.marquee {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}
.mtrack { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .mtrack, .marquee:active .mtrack, .marquee:focus-within .mtrack, .mtrack.is-paused { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mitem { margin: 0; padding: 2px 16px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; background: none; border: 0; box-shadow: none; }
.mitem img { height: 120px; width: auto; display: block; filter: none; }
.mitem:nth-child(odd) img { transform: rotate(-2deg); }
.mitem:nth-child(even) img { transform: rotate(2deg); }
.mitem figcaption { font-size: 17px; font-weight: 600; color: var(--charcoal); }

section.alt, .page-section { padding: 96px 0; }
.page-section.career-page { padding-top: 32px; }
section.alt { padding: var(--section-pad) 0; background: var(--sand); }
section.alt .sec-head { margin-bottom: var(--section-head-gap); }
.sec-head, .page-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.page-hero { display: block; margin-bottom: 36px; }
.page-hero.compact { margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 12px; }
.sec-head p, .page-hero .lede { max-width: 34rem; margin: 12px 0 0; color: var(--soft); font-size: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid3, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card, .info-card, .panel, .login-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
}
.card .ic, .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card h3, .info-card h3 { margin-bottom: 10px; }
.card p, .info-card p { font-size: 15px; color: var(--soft); }
.more { display: inline-block; margin-top: 18px; color: var(--deep); font-weight: 600; font-size: 15px; text-decoration: none; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 56px 0 0; padding: 0; }
.step { border-top: 3px solid var(--amber); padding-top: 18px; }
.step b { font-family: var(--font-en); color: var(--deep); font-size: 14px; letter-spacing: 0.1em; }
.step h3 { font-size: 19px; margin: 8px 0 6px; }
.step p { font-size: 15px; color: var(--soft); }

.ph, .example-mark {
  display: inline-block;
  background: var(--sand);
  color: var(--grey);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.team { padding: var(--section-pad) 0; border-top: 1px solid var(--line); background: var(--cream); }
.team .sec-head { margin-bottom: var(--section-head-gap); }
.person {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.person .photo, .portrait {
  aspect-ratio: 40 / 34;
  background: #faf3e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 14px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.person .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.person .info {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.person h3, .info-card h2 {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.35;
}
.person h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.person .person-degree {
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
}
.person .role { font-size: 14px; color: var(--deep); font-weight: 600; margin: 6px 0 10px; }
.person p { font-size: 14px; color: var(--soft); line-height: 1.7; }
.person .bio { text-align: justify; margin: 0; }
.case, .case-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case .tag { display: flex; gap: 8px; flex-wrap: wrap; }
.case .tag span { font-size: 13px; background: var(--sand); padding: 4px 10px; border-radius: 8px; color: var(--soft); }
.case .tag .ph { background: var(--sand); color: var(--grey); margin-left: 0; }
.case h3 { font-size: 20px; }
.case p { font-size: 15px; color: var(--soft); margin: 0; }
.case .q { border-left: 3px solid var(--amber); padding-left: 14px; }
.disclaimer { margin: 24px 0 0; font-size: 14px; color: var(--grey); }

.consult-section { padding: 0 0 var(--section-pad); background: var(--cream); }
.cta {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 28px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.cta-copy { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.cta h2 { color: var(--cream); margin-top: 10px; }
.cta p { color: #e9dcc6; margin-top: 14px; text-align: justify; }
.cta ul { list-style: none; padding: 0; margin: 28px 0 0; color: #e9dcc6; font-size: 15px; line-height: 2.1; }
.cta ul li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 10px; }
.cta-qrs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 184px));
  gap: 20px;
}
.cta-qr-card {
  margin: 0;
  background: rgba(255, 248, 236, 0.08);
  border: 1px solid rgba(255, 248, 236, 0.16);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta-qr-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cta-qr-card figcaption {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  text-align: center;
  line-height: 1.4;
}
.consult, .sheet form, .stack-form, .sheet-form { display: grid; gap: 14px; }
.consult { background: var(--cream); border-radius: 20px; padding: 24px 28px; gap: 11px; }
.consult .form-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fdeceb;
  border: 1px solid #efb8b2;
  color: #8f2419;
  font-size: 14px;
  line-height: 1.5;
}
.consult label, .field label, label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--charcoal); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult input, .consult select, .consult textarea, input, select, textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 48px;
  padding: 12px 14px;
  font-weight: 400;
}
.consult textarea, textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--amber); border-color: var(--deep); }
.consult .consent, .consent { font-size: 13px; font-weight: 400; color: var(--grey); line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: auto; min-height: 0; margin-top: 4px; }
.consult .hint, .hint { color: var(--grey); font-size: 13px; font-weight: 400; line-height: 1.6; }
.consult label { gap: 5px; }
.consult .row2 { gap: 12px; }
.consult input:not([type="checkbox"]), .consult select { min-height: 42px; padding: 9px 12px; }
.consult textarea { min-height: 68px; padding: 9px 12px; }
.consult .btn { width: 100%; min-height: 44px; }
.consult .hint { margin: 0; line-height: 1.5; text-align: justify; }

.site-footer { background: var(--charcoal); color: #d8cbb6; padding: 56px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1.15fr; gap: 32px; }
.site-footer p, .site-footer li { font-size: 14px; color: #d8cbb6; line-height: 2; }
.site-footer a { color: #d8cbb6; font-weight: 400; text-decoration: none; }
.site-footer a:hover { color: #fff8ec; text-decoration: none; }
.foot-title { color: var(--cream); font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .logo, .site-footer img { height: 44px; margin-bottom: 18px; }
.footer-email { white-space: nowrap; }
.footer-qr { width: 92px; margin: 10px 0 0; text-align: center; }
.footer-qr-frame { width: 92px; height: 92px; padding: 6px; border-radius: 10px; background: var(--white); }
.site-footer .footer-qr-frame img { width: 100%; height: 100%; margin: 0; object-fit: contain; image-rendering: pixelated; display: block; }
.footer-qr figcaption { margin-top: 7px; font-size: 12px; color: #b9ab95; }
.legal > span:last-child { font-size: 12.5px; }
.site-footer .legal a { color: inherit; }
.legal {
  border-top: 1px solid var(--soft);
  margin-top: 38px;
  padding-top: 22px;
  font-size: 13px;
  color: #b9ab95;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.85;
  gap: 0;
}

.prose h2 { margin: 1.4em 0 0.4em; }
.prose ul, .prose ol, .link-list { padding-left: 1.2em; color: var(--soft); }
.link-list { line-height: 2; }
.sheet { width: min(760px, calc(100% - 2 * var(--gutter))); margin: 0 auto; padding-bottom: 64px; }
.page-section .sheet, .sheet { padding-top: 28px; }
.form-section, .privacy-box, .question-card, .staff-card, .danger-zone, .drawer, .submission-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 16px;
  margin: 0 0 16px;
  padding: 18px 18px 8px;
}
.form-section legend, .label-line { font-family: var(--font-body); font-weight: 600; padding: 0 6px; }
.field { margin-bottom: 14px; }
.req { margin-left: 8px; color: var(--deep); font-size: 0.75rem; }
.field-error { color: var(--deep); font-size: 0.9rem; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--deep); }
.error-summary, .flash-error {
  background: var(--tint);
  border: 1px solid var(--amber);
  color: var(--charcoal);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.choices { display: grid; gap: 8px; }
.choices label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.choices input { width: auto; min-height: 0; margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0 28px; }
.thanks { padding: 72px 0 24px; }
.thanks .ctas { margin-top: 24px; }
.ref {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  background: var(--white);
  border: 1px dashed var(--deep);
  padding: 14px;
  border-radius: 12px;
}
.personal-note { background: var(--tint); color: var(--charcoal); padding: 10px 12px; border-radius: 10px; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.86rem; word-break: break-all; }

.admin-body { background: var(--cream); }
.admin-shell { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
.admin-main, .admin-side { min-width: 0; }
.admin-side { background: var(--charcoal); color: var(--cream); padding: 20px 16px; }
.admin-side .logo img { height: 40px; }
.side-role { margin: 10px 0 0; color: var(--amber); font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; }
.side-nav { display: flex; gap: 8px; overflow: auto; margin: 18px 0; }
.side-nav a { color: var(--cream); text-decoration: none; padding: 8px 10px; border-radius: 999px; white-space: nowrap; }
.side-nav a[aria-current="page"] { background: var(--amber); color: var(--charcoal); }
.side-logout { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side-logout p { margin: 0; color: #e9dcc6; font-size: 14px; }
.side-logout button { background: transparent; color: var(--cream); border: 1px solid #b9ab95; border-radius: 999px; padding: 8px 12px; min-height: 40px; }
.admin-main { padding: 28px 16px 64px; }
.filters, .inline-form { display: grid; gap: 10px; margin-bottom: 16px; }
.student-table { display: grid; }
.student-head { display: none; }
.student-row {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.who { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge, .status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.78rem;
  background: var(--sand);
  color: var(--charcoal);
}
.status-new { background: var(--tint); color: var(--deep); }
.status-following { background: var(--sand); color: var(--charcoal); }
.status-signed { background: var(--cream); color: var(--charcoal); border: 1px solid var(--line); }
.status-done { background: var(--charcoal); color: var(--cream); }
.status-closed { background: var(--sand); color: var(--grey); }
.kv, .answer-list { display: grid; gap: 8px; margin: 0; }
.kv div, .answer-list div { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; }
dt { color: var(--grey); }
dd { margin: 0; white-space: pre-wrap; }
.submission-card { margin: 14px 0; padding: 16px; }
.submission-card header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.notes { list-style: none; padding: 0; margin: 0 0 12px; }
.notes li { border-top: 1px solid var(--line); padding: 8px 0; }
.notes p { white-space: pre-wrap; }
.flash { background: var(--tint); border: 1px solid var(--line); padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; color: var(--charcoal); }
.empty { padding: 24px 0; }
.crumb { color: var(--grey); font-size: 0.9rem; }
.invite-list, .merge-list { list-style: none; padding: 0; }
.question-card header, .invite-list li, .merge-list li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.staff-list { display: grid; gap: 12px; }
.pager, .result-count { display: flex; gap: 12px; align-items: center; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--cream); }
.login-card { width: min(520px, 100%); }
.login-card h1 { font-size: 36px; }
.login-actions { display: grid; gap: 10px; }
.login-actions .btn { width: 100%; }

@media (min-width: 800px) {
  .admin-shell { grid-template-columns: 240px minmax(0, 1fr); }
  .admin-side { position: sticky; top: 0; height: 100vh; }
  .side-nav { display: grid; overflow: visible; }
  .admin-main { padding: 32px 36px 72px; }
  .filters { grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)) auto; align-items: end; }
  .inline-form { grid-template-columns: repeat(3, minmax(0, 220px)); align-items: end; }
  .student-head { display: grid; color: var(--grey); font-size: 0.82rem; }
  .student-row, .student-head { grid-template-columns: 1.1fr 1.3fr 1.2fr 0.7fr 0.8fr 0.9fr; align-items: center; gap: 10px; }
}

@media (max-width: 1100px) and (min-width: 800px) {
  .art { transform: scale(0.78); transform-origin: top center; }
  .visual, .art-wrap { height: 430px; min-height: 0; }
}
@media (max-width: 980px) {
  .hero-grid, .cta, .footer-grid, .grid4, .steps { grid-template-columns: 1fr 1fr; }
  .grid3, .card-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  :root { --site-header-height: 65px; }
  .header-inner { display: flex; justify-content: flex-start; gap: 8px; }
  .header-tools { margin-left: auto; gap: 4px; }
  .header-tools a.hdr-login, .header-tools a.btn.hdr-btn { display: none; }
  .nav .nav-login { display: block; }
  .nav-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    border-color: transparent;
    color: var(--charcoal);
    line-height: 1;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100vh - 64px);
    overflow: auto;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    z-index: 7;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a:not(.btn) { align-self: flex-start; }
  .nav a.nav-cta { display: inline-flex; margin-top: 8px; align-self: stretch; }
}
@media (max-width: 799px) {
  .wrap, .narrow, .sheet { width: min(var(--max), calc(100% - 40px)); }
  .logo img, .site-footer img { height: 36px; }
  h1 { font-size: 28px; line-height: 1.42; }
  h2 { font-size: 24px; line-height: 1.42; }
  h3 { font-size: 18px; line-height: 1.5; }
  .hero { padding: 36px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero .lead { font-size: 16px; margin: 16px 0 24px; }
  .ctas { flex-direction: column; }
  .ctas .btn { text-align: center; }
  .trust { gap: 10px 18px; margin-top: 24px; }
  .visual, .art-wrap { height: 360px; min-height: 0; }
  .art { transform: scale(0.68); transform-origin: top center; top: 0; }
  .band-head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 2px; }
  .marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  }
  .mtrack { animation-duration: 78s; }
  .mitem { padding: 10px 14px 4px; gap: 10px; }
  .mitem img { height: 96px; }
  .mitem figcaption { font-size: 15px; }
  :root { --section-pad: 32px; --hero-after-pad-top: 14px; --section-head-gap: 20px; }
  section.alt, .team { padding: var(--section-pad) 0; }
  .page-section { padding: 56px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  section.alt .sec-head, .team .sec-head { margin-bottom: var(--section-head-gap); }
  .grid4, .grid3, .card-grid, .steps, .cta, .footer-grid, .row2 { grid-template-columns: 1fr; }
  .team .grid4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person .photo, .portrait { height: 140px; }
  .person .info { padding: 14px; }
  .person p { display: none; }
  .person .role { display: block; }
  .person h3 { font-size: 16px; }
  .steps { margin-top: 32px; }
  .cta { padding: 32px 22px; gap: 28px; border-radius: 20px; }
  .consult { padding: 20px; }
  .consult-section { padding-bottom: var(--section-pad); }
  .site-footer { padding-top: 40px; }
  .footer-grid { gap: 40px; }
  .filters { grid-template-columns: 1fr; }
}

@media (min-width: 1101px) and (max-width: 1280px) {
  .nav { gap: 22px; }
  .header-tools { gap: 8px; }
  a.btn.hdr-btn { height: 42px; min-height: 42px; padding: 0 16px; font-size: 15px; }
}

@media (min-width: 1500px) {
  :root { --site-header-height: 93px; }
  .logo img, .site-footer .logo, .site-footer img { height: 48px; }
  .hero { padding: 104px 0 88px; }
  .hero-grid { gap: 64px; }
  .page-section { padding: 112px 0; }
  .sec-head, .page-hero { margin-bottom: 56px; }
  section.alt .sec-head, .team .sec-head { margin-bottom: var(--section-head-gap); }
  :root { --hero-after-pad-top: 22px; }
}

@media (min-width: 2000px) {
  .hero { padding: 120px 0 100px; }
  .page-section { padding: 128px 0; }
  .art { transform: scale(1.08); transform-origin: top center; }
  .visual, .art-wrap { height: 600px; min-height: 0; }
}

.krows { display: grid; gap: 12px; margin-top: 36px; min-width: 0; }
.alt .krows { margin-top: 40px; }
.krow {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}
.ktrack { display: flex; width: max-content; gap: 10px; animation: kslide 46s linear infinite; }
.ktrack.reverse { animation-direction: reverse; }
.krow:nth-child(2) .ktrack { animation-duration: 58s; }
.krow:nth-child(3) .ktrack { animation-duration: 52s; }
.krow:hover .ktrack, .krow:focus-within .ktrack, .ktrack.is-paused { animation-play-state: paused; }
@keyframes kslide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
a.pill, span.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
a.pill.is-on { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

.stats { background: var(--charcoal); color: var(--cream); padding: var(--section-pad) 0; }
.stats-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; }
.stat b { display: block; font-size: 40px; line-height: 1.2; font-weight: 600; color: var(--cream); }
.stat span { color: #e9dcc6; font-size: 15px; }
.stats-note { margin: 22px 0 0; color: #b9ab95; font-size: 14px; }

.lecture-teaser { background: var(--cream); }
.teaser-more { margin-top: 28px; }
.lecture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lecture-teaser .lecture-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lecture-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.lecture-body { padding: 18px 18px 22px; }
.lecture-body h3 { margin: 8px 0; font-size: 20px; }
.lecture-body h3 a { color: var(--charcoal); text-decoration: none; font-weight: 600; }
.lecture-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--deep); font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.cover-link { display: block; color: inherit; text-decoration: none; }
.cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.cover-fallback {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--tint), var(--cream) 55%, var(--sand));
  color: var(--charcoal);
}
.cover-mark { position: absolute; top: 8px; right: 8px; width: 46%; height: auto; }
.cover-fallback span { position: relative; font-weight: 600; letter-spacing: 0.12em; font-size: 15px; color: var(--deep); }
.filters-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.embed { margin: 18px 0; border-radius: 16px; overflow: hidden; background: var(--charcoal); }
.embed iframe { display: block; width: 100%; height: 360px; border: 0; }
.lecture-video { display: block; width: 100%; max-width: calc(70vh * 16 / 9); aspect-ratio: 16 / 9; height: auto; object-fit: contain; margin: 0 0 18px; background: var(--charcoal); border-radius: 16px; }
.job-badges { margin: 8px 0; }
.job-badge { display: inline-flex; align-items: center; margin: 0 8px 8px 0; padding: 2px 10px; border-radius: 999px; background: var(--sand); color: var(--grey); font-size: 13px; font-weight: 600; }
.job-badge.is-licence { background: var(--pine); color: var(--pine-label); }
.job-badge.is-yes { background: var(--pine-tint); color: var(--pine); border: 1px solid var(--pine); }
.job-badge.is-no { background: var(--neutral-tint); color: var(--grey); }
.job-card { padding: 10px 24px; margin-bottom: 14px; }
.job-card h3 { margin-bottom: 2px; font-size: 17px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.job-card p { margin: 3px 0; }
.job-card .job-badges { margin: 4px 0; }
.job-card .job-badges.inline { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.job-card .job-badges.inline .job-badge { margin: 0; }
.job-tags .job-badge { font-size: 15px; font-weight: 300; }
.job-card .job-badge { margin-bottom: 4px; }
.job-tags { margin: 3px 0; }
.job-tag { display: inline-flex; margin: 0 8px 3px 0; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); font-size: 13px; }
.job-facts span { margin-right: 14px; display: inline-block; }
.job-snippet { color: var(--soft); font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.job-source { margin-top: 10px; }
.job-pager { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; margin: 28px 0 8px; }
.job-pager-pages { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
.job-pager-num { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 15px; background: var(--white); }
.job-pager-num.is-current { background: var(--pine); border-color: var(--pine); color: var(--pine-label); }
.job-pager-gap { color: var(--soft); padding: 0 2px; }
.job-pager .is-disabled { opacity: 0.4; cursor: default; pointer-events: none; }
@media (max-width: 640px) { .job-pager { justify-content: space-between; } .job-pager-pages { order: 3; width: 100%; } .job-pager .btn { padding-left: 14px; padding-right: 14px; } .job-pager-num { min-width: 36px; height: 36px; } }
.lecture-block { margin-top: 36px; }
.lecture-block h2 { margin-bottom: 18px; }
.flash { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }

@media (max-width: 980px) {
  .lecture-grid, .stats-grid, .lecture-teaser .lecture-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 799px) {
  .stats-grid, .lecture-grid, .lecture-teaser .lecture-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 32px; }
  .ktrack { animation-duration: 32s; }
}

.hdr-login {
  display: inline-flex;
  align-items: center;
  height: 42px;
  margin: 0;
  color: var(--charcoal);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin: 0;
  padding: 0 12px;
  gap: 6px;
  flex: 0 0 auto;
  box-sizing: border-box;
  border: 1px solid var(--amber);
  border-radius: 999px;
  background: var(--tint);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
}
.lang-switch a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1; }
.lang-switch a[aria-current="true"] { color: var(--deep); font-weight: 700; }
.lang-switch span { color: var(--grey); line-height: 1; }
html.lang-en { font-family: "FUYO Latin", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; }
.bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.admin-side .lang-switch { margin: 12px 0; }
.subnav { background: var(--cream); border-bottom: 1px solid var(--line); }
.subnav-row { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.subnav a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.subnav a[aria-current="page"] { background: var(--amber); border-color: var(--amber); }
.career-hub { padding: 28px 0 8px; }
.highlights { display: grid; grid-template-columns: 1fr; gap: 12px; }
.job-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tool-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.career-banner {
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 20px;
  padding: 28px 24px;
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
}
.career-banner h2, .career-banner p { color: var(--cream); margin: 0; }
.career-page .prose { max-width: 40rem; }
.career-tools { margin: 28px 0; }
.career-tools a.card {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.career-tools a.card h3 { margin-bottom: 8px; }
.career-tools a.card p { margin: 0; }
.career-tools a.card:hover { border-color: var(--amber); }
.career-form { display: grid; gap: 12px; margin: 0 0 20px; }
.career-form .consent { grid-column: 1 / -1; align-items: center; }
.stack { display: grid; gap: 16px; }
.page-section .form-section .btn { margin: 4px 0 14px; }
@media (min-width: 1101px) {
  .nav .nav-login { display: none; }
}
@media (min-width: 800px) {
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .job-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
  .career-form { grid-template-columns: 1fr 1fr; align-items: end; }
  .career-form .btn { grid-column: 1 / -1; justify-self: start; min-width: 140px; }
}
@media (max-width: 799px) {
  .career-form .btn,
  .page-section .form-section .btn,
  .page-section .ctas .btn { width: 100%; }
}

/* Job search bar: one row on desktop, stacked on mobile. */
.job-search { margin: 0 0 22px; display: grid; gap: 12px; }
.job-search-bar { display: grid; gap: 10px; grid-template-columns: 1fr; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.job-search-bar input, .job-search-bar select { min-height: 46px; padding: 10px 14px; font-size: 15px; border-radius: 10px; background: var(--cream); }
.job-search-bar input::placeholder { color: var(--grey); opacity: 1; }
.job-search-bar .btn { min-height: 46px; width: 100%; padding: 10px 26px; font-size: 15px; }
.job-search-more { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; align-items: end; }
.job-search-more label { font-size: 13px; font-weight: 500; color: var(--grey); gap: 4px; }
.job-search-more select { min-height: 40px; padding: 8px 12px; font-size: 14px; }
.job-search-more .consent { grid-column: 1 / -1; align-items: center; }
.job-count { margin: 0 0 12px; }
.job-empty { padding: 28px 0 8px; text-align: center; color: var(--charcoal); }
.job-empty p { margin: 0 0 10px; }
@media (min-width: 800px) {
  .job-search-bar { grid-template-columns: minmax(0, 1fr) 150px 170px auto; align-items: center; }
  .job-search-bar .btn { width: auto; }
  .job-search-more { grid-template-columns: 150px 130px auto; justify-content: start; }
  .job-search-more .consent { grid-column: auto; padding-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plane { animation: none; offset-distance: 13%; }
  .mtrack { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .mitem.dup { display: none; }
  .ktrack { animation: none; flex-wrap: wrap; width: auto; }
  .krow { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .pill.dup { display: none; }
}

.tone-study { --tone: var(--navy); --tone-ink: var(--navy-ink); --tone-label: var(--navy-label); --tone-tint: var(--navy-tint); }
.tone-tutoring { --tone: var(--olive); --tone-ink: var(--olive-ink); --tone-label: var(--olive-label); --tone-tint: var(--olive-tint); }
.tone-appeal { --tone: var(--mauve); --tone-ink: var(--mauve-ink); --tone-label: var(--mauve-label); --tone-tint: var(--mauve-tint); }
.tone-life { --tone: var(--dust); --tone-ink: var(--dust-ink); --tone-label: var(--dust-label); --tone-tint: var(--dust-tint); }
.tone-career { --tone: var(--pine); --tone-ink: var(--pine-ink); --tone-label: var(--pine-label); --tone-tint: var(--pine-tint); }
.tone-about { --tone-ink: #745b33; }

.grid4 > .card.tone-study,
.grid4 > .card.tone-tutoring,
.grid4 > .card.tone-appeal,
.grid4 > .card.tone-career {
  box-shadow: inset 0 4px 0 var(--tone);
}
.grid4 > .card[class*="tone-"] .ic { background: var(--tone-tint); color: var(--tone-ink); }
.grid4 > .card[class*="tone-"] h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--tone);
}
.grid4 > .card[class*="tone-"] .more { color: var(--tone-ink); }

.svc-group > h2 { box-shadow: inset 4px 0 0 var(--tone); padding-left: 12px; }
.svc-group .card { box-shadow: inset 0 4px 0 var(--tone); }
.page-section.tone-study .page-hero,
.page-section.tone-tutoring .page-hero,
.page-section.tone-appeal .page-hero,
.page-section.tone-life .page-hero,
.page-section.tone-career .page-hero { box-shadow: inset 0 4px 0 var(--tone); padding-top: 14px; }
.tone-study .eyebrow:not(.on-dark),
.tone-tutoring .eyebrow:not(.on-dark),
.tone-appeal .eyebrow:not(.on-dark),
.tone-life .eyebrow:not(.on-dark),
.tone-career .eyebrow:not(.on-dark),
.eyebrow.tone-study,
.eyebrow.tone-tutoring,
.eyebrow.tone-appeal,
.eyebrow.tone-life,
.eyebrow.tone-career { color: var(--tone-ink); }

html.section-study .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--navy); }
html.section-career .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pine); }
html.section-lectures .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--charcoal); }
.subnav a.tone-study[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--navy-label); }
.subnav a.tone-tutoring[aria-current="page"] { background: var(--olive); border-color: var(--olive); color: var(--olive-label); }
.subnav a.tone-appeal[aria-current="page"] { background: var(--mauve); border-color: var(--mauve); color: var(--mauve-label); }
.subnav a.tone-life[aria-current="page"] { background: var(--dust); border-color: var(--dust); color: var(--dust-label); }
.subnav a.tone-career[aria-current="page"] { background: var(--pine); border-color: var(--pine); color: var(--pine-label); }

html.section-career .sec-head .eyebrow:not(.on-dark),
html.section-career .page-hero .eyebrow:not(.on-dark) { color: var(--pine); }
html.section-career .tool-grid .card {
  background:
    linear-gradient(var(--pine), var(--pine)) top left / 100% 4px no-repeat,
    linear-gradient(var(--pine-tint), var(--pine-tint)) top 12px right 12px / 22px 22px no-repeat,
    var(--white);
}
html.section-career .stats .stat b {
  color: var(--pine);
  background: var(--cream);
  display: inline-block;
  padding: 0 8px;
  border-radius: 8px;
  box-shadow: inset 0 -3px 0 var(--pine);
}

.lecture-block.tone-study h2,
.lecture-block.tone-career h2 { box-shadow: inset 4px 0 0 var(--tone); padding-left: 12px; }
.lecture-block.tone-study .lecture-meta > span:first-child,
.lecture-block.tone-career .lecture-meta > span:first-child {
  background: var(--tone);
  color: var(--tone-label);
  padding: 1px 8px;
  border-radius: 999px;
}

.badge.tone-study { background: var(--navy); color: var(--navy-label); }
.badge.tone-tutoring { background: var(--olive); color: var(--olive-label); }
.badge.tone-appeal { background: var(--mauve); color: var(--mauve-label); }
.badge.tone-life { background: var(--dust); color: var(--dust-label); }
.badge.tone-career { background: var(--pine); color: var(--pine-label); }

/* 陪跑课堂 */
.coaching-entry {
  font-weight: 400;
  display: block;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(var(--pine), var(--pine)) top left / 100% 4px no-repeat, var(--white);
}
.coaching-entry p { margin: 0; color: var(--soft); font-weight: 400; }
.coaching-entry:hover { border-color: var(--amber); }
.coaching-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; }
.coaching-points li {
  background: var(--pine-tint);
  color: var(--pine-ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
}
.coaching-locked {
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: linear-gradient(var(--pine), var(--pine)) top left / 100% 4px no-repeat, #fffdf8;
  border-radius: 20px;
  padding: 36px 32px 28px;
  text-align: center;
  color: var(--charcoal);
}
.coaching-locked h2 { margin: 0 0 28px; font-size: 19px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--charcoal); }
.coaching-locked .ctas { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.coaching-locked .btn { width: 100%; box-sizing: border-box; height: 46px; min-height: 46px; padding: 0 20px; font-size: 15px; font-weight: 600; letter-spacing: 0; border-radius: 10px; justify-content: center; text-align: center; }
.coaching-locked .btn-primary { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.coaching-locked .btn:not(.btn-primary) { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.coaching-locked .btn:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.coaching-open { color: var(--pine-ink); font-weight: 600; margin: 0 0 6px; }
.coaching-month { margin: 28px 0 36px; }
.coaching-month h2 { box-shadow: inset 4px 0 0 var(--pine); padding-left: 12px; margin-bottom: 18px; }
.coaching-card .lecture-meta > span:first-child {
  background: var(--pine);
  color: var(--pine-label);
  padding: 1px 8px;
  border-radius: 999px;
}
.coaching-card .lecture-meta .soon { color: var(--deep); }
.coaching-card.is-soon .cover { opacity: 0.85; }
.job-body { max-width: 720px; line-height: 1.9; overflow-wrap: anywhere; }
.job-body p { margin: 0 0 14px; }
.job-body ul, .job-body ol { margin: 0 0 14px; padding-left: 1.4em; }
.job-body li { margin: 4px 0; }

/* Plus upgrade popup (native <dialog>). The [open]:not(:modal) rule is the no-script fallback. */
.upgrade-dialog { border: 0; border-radius: 20px; padding: 36px 32px 28px; width: min(400px, calc(100vw - 32px)); background: #fffdf8; color: var(--charcoal); font-family: var(--font-sans); box-shadow: 0 1px 2px rgba(47, 36, 26, 0.06), 0 20px 48px rgba(47, 36, 26, 0.18); text-align: center; }
.upgrade-dialog::backdrop { background: rgba(47, 36, 26, 0.42); }
.upgrade-dialog[open]:not(:modal) { position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 200; }
.upgrade-dialog h2 { margin: 0 0 28px; font-size: 19px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; color: var(--charcoal); }
.upgrade-dialog .auth-gate-note { margin: -12px 0 22px; font-size: 14px; line-height: 1.6; color: var(--grey); }
.upgrade-dialog .ctas { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.upgrade-dialog .btn { width: 100%; box-sizing: border-box; height: 46px; min-height: 46px; padding: 0 20px; font-size: 15px; font-weight: 600; letter-spacing: 0; border-radius: 10px; justify-content: center; text-align: center; }
.upgrade-dialog .btn-primary { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.upgrade-dialog .btn:not(.btn-primary):not(.ghost) { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.upgrade-dialog .btn.ghost { background: transparent; border-color: transparent; color: var(--grey); font-weight: 500; height: 40px; min-height: 40px; }
.upgrade-dialog .btn.ghost:hover { color: var(--charcoal); background: rgba(47, 36, 26, 0.05); }
.upgrade-dialog .btn:focus-visible { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.assess-promo { background: var(--tint); color: var(--charcoal); border: 1px solid var(--amber); text-decoration: none; }
.assess-promo h2, .assess-promo p { color: var(--charcoal); }
.assess-promo .eyebrow { color: var(--deep); }
.assess-promo:hover { border-color: var(--deep); }
.assess-promo .btn { justify-self: start; }

/* Account search: keep contact details and education inside each grid cell. */
.accounts-admin .student-row > span { min-width: 0; overflow-wrap: anywhere; }
.accounts-admin .filters { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.accounts-admin .student-head { display: none; }
@media (min-width: 800px) {
  .accounts-admin .student-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .accounts-admin .student-head { display: grid; }
}

.service-form-admin dd{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;max-width:100%}
.service-form-admin details{min-width:0;max-width:100%;overflow-wrap:anywhere;padding:12px 0}

.service-form-admin .attach-item{display:flex;flex-wrap:wrap;align-items:center;gap:12px;overflow-wrap:anywhere;min-width:0}

/* Shared link treatment and aligned service cards. */
a, a:hover, a:focus, summary { text-decoration: none; }
a.card, a.dcard, .card a, .dcard a, .lecture-card a, .svc-grid a.card { text-decoration: none; }
.grid4 > .card[class*="tone-"] h3::after { display: none; }
.grid4 { align-items: stretch; }
.grid4 > .card { min-height: 260px; display: flex; flex-direction: column; }
.grid4 > .card .more { margin-top: auto; }
.page-section.lectures-page { padding-top: 32px; }
@media (max-width: 799px) { .page-section.lectures-page { padding-top: 24px; } }
/* Dashboard styles load later; scoped selectors keep message spacing compact. */
.dcard.msgcard { padding: 16px 20px; }
.dcard.msgcard .hd { margin-bottom: 10px; }
.dcard.msgcard .hd .btn { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.dcard.msgcard > p:last-of-type { margin-bottom: 0; }
.msg-history { display: flex; flex-direction: column; gap: 8px; padding: 4px 4px 4px 0; }
.dcard.msgcard .msg-history { overflow-y: auto; }
.msg-bubble { align-self: flex-start; width: fit-content; max-width: 88%; padding: 8px 14px; background: var(--sand); border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.msg-bubble.is-student { align-self: flex-end; background: var(--cream); }
.msg-meta { display: flex; align-items: baseline; justify-content: flex-start; gap: 4px 10px; flex-wrap: wrap; line-height: 1.35; }
.msg-hd .msg-sender, .msg-bubble .msg-meta b { font-weight:600; }
.msg-item .msg-body, .msg-hd > :is(span, small), .msg-hd time, .msg-bubble, .msg-bubble :is(p, small, time) { font-weight:400; }
.msg-meta b { font-size: 13.5px; line-height: 1.35; }
.msg-history .msg-bubble p, .msg-bubble p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.msg-bubble small { font-size: 12px; line-height: 1.35; color: var(--soft); white-space: nowrap; }
.msg-dialog { width: min(540px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--cream); color: var(--charcoal); }
.msg-dialog::backdrop { background: rgb(47 36 26 / .45); }
.msg-dialog textarea { width: 100%; min-height: 160px; }
.msg-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.msg-unread { display: inline-block; background: #9b2226; color: white; border-radius: 14px; padding: 2px 8px; font-size: 12px; }
.msg-thread { margin: 20px 0; min-width: 0; }
.msg-thread textarea { width: 100%; }
@media (min-width: 981px) {
  #services .grid4 > .card { height: 260px; padding: 18px 20px; }
  #services .grid4 > .card .ic { width: 32px; height: 32px; margin-bottom: 10px; flex-shrink: 0; }
  #services .grid4 > .card .ic svg { width: 22px; height: 22px; }
  #services .grid4 > .card h3 { font-size: 18px; margin-bottom: 8px; }
  #services .grid4 > .card p { font-size: 14px; line-height: 1.65; margin: 0 0 12px; }
}

/* Study staff workbench and structured editor. */
.admin-body .task-grid,.admin-body .board-grid,.admin-body .task-stats{display:grid;gap:16px;align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-body .board-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.admin-body .task-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0}
.admin-body .task-card{display:flex;flex-direction:column;gap:12px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--white);min-width:0}
.admin-body .task-card form:last-child{margin-top:auto}
.admin-body .task-card .top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.admin-body .task-card h3{margin:0}
.admin-body .task-card p{margin:0}
.admin-body .task-card,.admin-body .board-col,.admin-body .audit-list li{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.admin-body .board-list,.admin-body .audit-list{padding-left:20px}
.admin-body .board-list li,.admin-body .audit-list li{margin-bottom:16px}
.admin-body .study-editor details{padding:12px 0;border-top:1px solid var(--line)}
.admin-body .study-editor summary{cursor:pointer;margin-bottom:12px}
.admin-body .task-stats a{padding:16px;background:var(--white);border:1px solid var(--line);border-radius:12px;display:grid;gap:8px}
.admin-body .task-stats strong{font-size:24px}
.admin-body .filter-bar{margin:20px 0}
.admin-body .due-overdue{color:#9b2226;background:#fde7da}
.admin-body .due-today{color:#8a5200;background:#fde9c4}
.admin-body .due-badge{border-radius:20px;padding:4px 10px}
.admin-body .study-editor input,.admin-body .study-editor textarea,.admin-body .study-editor select,.admin-body .task-card select{max-width:100%;min-width:0}
.admin-body .board-grid>*,.admin-body .task-grid>*,.admin-body .row2>*{min-width:0}

/* task-card interior: badges, title, meta grid, checklist, footer */
.task-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.task-title{margin:0;font-size:17px;font-weight:700;color:var(--charcoal);overflow-wrap:anywhere}
.task-sub{margin:0;font-size:13.5px;color:var(--soft);overflow-wrap:anywhere}
.task-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;background:var(--cream);border-radius:12px;padding:10px 12px;font-size:12.5px;min-width:0}
.task-meta-grid div{min-width:0;overflow-wrap:anywhere}
.task-meta-grid div span{display:block;color:var(--grey)}
.task-meta-grid div b{display:block;color:var(--charcoal);margin-top:1px;font-variant-numeric:tabular-nums}
.checklist-box{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:var(--cream);min-width:0}
.checklist-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:700;margin-bottom:8px}
.checklist-items{display:grid;gap:7px}
.chk-row{display:flex;align-items:center;gap:9px;font-size:13.5px;cursor:pointer;overflow-wrap:anywhere}
.chk-row input[type=checkbox]{width:17px;height:17px;accent-color:var(--navy);flex:0 0 auto}
.chk-row.is-checked span{color:var(--grey);text-decoration:line-through}
.task-foot{margin-top:auto;padding-top:10px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.task-audit-mini{font-size:12px;color:var(--grey);font-variant-numeric:tabular-nums}
.task-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* email-bar: admin notice strip */
.email-bar{border-radius:14px;padding:12px 16px;margin-bottom:18px;border:1px solid var(--line);background:var(--cream);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.email-bar.is-unconfigured{background:var(--tint);border-color:var(--amber)}
.email-bar.is-ready{background:var(--dust-soft);border-color:var(--dust-border);color:var(--dust-ink)}

/* board: overdue / today / within-7-days columns */
.admin-body .board-col{background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:10px;height:100%;min-width:0}
.admin-body .board-col-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.admin-body .board-col-hd h2,.admin-body .board-col-hd b{font-size:15px;margin:0}
.admin-body .board-item{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:11px 12px;font-size:13px;display:grid;gap:4px;min-width:0}
.admin-body .board-item-top{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}
.admin-body .board-item-meta{font-size:12px;color:var(--grey)}

/* role-grid: 4-column desktop, collapses responsively */
.role-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.role-box{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;height:100%;min-width:0}
.role-box small{font-size:12px;color:var(--grey);line-height:1.4}
@media (min-width: 1024px) and (max-width:1100px){.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.role-grid-foot{margin-top:14px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}

/* chip: shared pill badge, same palette rules across student + admin pages */
.chip{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;line-height:1.35;padding:3px 11px;border-radius:999px;background:var(--sand);color:var(--charcoal);white-space:nowrap;border:1px solid transparent}
.chip.on{background:var(--charcoal);color:var(--cream)}
.chip.tint{background:var(--tint);color:var(--deep)}
.chip.navy-tint{background:var(--navy-tint);color:var(--navy-ink)}
.chip.amber{background:var(--amber);color:var(--charcoal)}
.chip.warn{background:var(--white);color:var(--deep);border-color:var(--amber)}
.chip.ok{background:var(--dust-soft);color:var(--dust-ink);border-color:var(--dust-border)}
.chip.danger{background:var(--coral-tint);color:#9b2226;border-color:#e6b8bc}
.chip.mute{background:var(--sand);color:var(--grey)}
.chip.tone-study{background:var(--navy);color:var(--navy-label)}
.chip.tone-career{background:var(--pine);color:var(--pine-label)}
.chip.tone-appeal{background:var(--mauve);color:#fff}
.chip.tone-tutoring{background:var(--olive);color:var(--charcoal)}
.chip.tabular{font-variant-numeric:tabular-nums}
.btn.xs{height:30px;min-height:30px;padding:0 12px;font-size:12.5px;line-height:1;border-radius:8px}
.btn.navy{background:var(--navy);border-color:var(--navy);color:#fff}

/* Study delivery: reviewed v1.3 dimensions and accessible native dialogs, aligned to Zac's prototype. */
.delivery-dialog *{text-decoration:none!important;box-sizing:border-box}
.delivery-dialog p,.revision-comment{overflow-wrap:anywhere;white-space:pre-wrap;text-align:justify}
.milestone-node{display:contents}
.delivery-check{display:inline-block;width:10px;height:6px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);vertical-align:2px;margin-right:4px}
.stepper li.done .dot .delivery-check{margin-right:0}
.milestone-stack{min-width:0;display:grid;gap:10px;margin-top:14px}
.pdf-deliverable-bar{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-width:0}
.pdf-deliverable-bar.is-empty{background:#fcfaf5;border-style:dashed;border-color:var(--grey)}
.pdf-deliverable-bar.is-locked{background:var(--white);border-color:var(--dust-border)}
.pdf-file-left{display:flex;align-items:flex-start;gap:10px;min-width:0;flex:1 1 260px}
.pdf-icon-badge{width:34px;height:34px;border-radius:10px;background:var(--navy-tint);color:var(--navy-ink);display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.pdf-deliverable-bar.is-empty .pdf-icon-badge{background:var(--sand);color:var(--grey)}
.pdf-deliverable-bar.is-locked .pdf-icon-badge{background:var(--dust-soft);color:var(--dust-ink)}
.pdf-file-meta{min-width:0;flex:1}
.pdf-file-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px;font-weight:700;color:var(--charcoal);overflow-wrap:anywhere}
.pdf-ver-plain{font-size:inherit;font-weight:700;line-height:inherit;color:var(--navy-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.pdf-ver-plain.is-locked{color:var(--dust-strong)}
.pdf-ver-plain.is-history{color:var(--grey);font-weight:600}
.pdf-file-sub{font-size:12.5px;color:var(--grey);margin-top:2px;font-variant-numeric:tabular-nums;line-height:1.45;overflow-wrap:anywhere}
.pdf-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:0 0 auto}
.confirm-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex:0 0 auto}
.pdf-actions .btn.sm,.confirm-actions .btn.sm{display:inline-flex;width:104px;min-width:104px;height:36px;min-height:36px;padding:0 8px;align-items:center;justify-content:center;white-space:nowrap;line-height:1;font-size:14px;border:1px solid transparent;border-radius:8px;box-sizing:border-box}
.pdf-actions .btn.sm.subtle{background:#fff;color:#2f241a;border-color:#d7c7ad}
.pdf-actions .btn.sm.pdf-download{background:var(--navy);color:#fff;border-color:var(--navy)}
.confirm-actions .btn.sm.ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.confirm-actions .btn.sm.btn-primary{background:var(--amber);color:var(--charcoal);border-color:var(--amber)}
button:disabled,.btn:disabled{opacity:.5;cursor:not-allowed}

/* 关键节点确认交互条 */
.confirm-box{margin-top:0;border-radius:14px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border:1px solid var(--line);background:var(--cream)}
.confirm-box.is-pending{background:var(--tint);border-color:var(--amber)}
.confirm-box.is-confirmed{background:var(--dust-soft);border-color:var(--dust-border)}
.confirm-meta{min-width:0;flex:1 1 240px}
.confirm-meta b{display:block;font-size:14px;color:var(--charcoal)}
.confirm-meta span{display:block;font-size:12.5px;color:var(--soft);margin-top:2px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap;text-align:justify}
.confirm-locked-pill{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 14px;border-radius:10px;background:var(--white);border:1px solid var(--dust-border);color:var(--dust-ink);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;cursor:default;user-select:none}
.confirm-box.is-revision{background:#fff9ee;border-color:var(--amber);flex-direction:column;align-items:stretch;gap:10px}
.revision-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.revision-quote{background:var(--white);border:1px solid var(--line);border-left:3px solid var(--amber);border-radius:10px;padding:10px 12px;font-size:13.5px;line-height:1.6;color:var(--charcoal);overflow-wrap:anywhere;white-space:pre-wrap;text-align:justify}
.revision-meta-line{display:flex;align-items:center;gap:6px 16px;flex-wrap:wrap;font-size:12px;color:var(--grey);font-variant-numeric:tabular-nums}

/* 老师/后台交付 PDF 上传与版本管理 */
.task-pdf-box,.admin-pdf-panel{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:grid;gap:10px;min-width:0}
.admin-pdf-panel{background:var(--white)}
.task-pdf-box form{margin:0}
.task-pdf-box input,.task-pdf-box select,.task-pdf-box textarea{max-width:100%;min-width:0;width:100%}
.task-pdf-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12.5px;font-weight:700;color:var(--navy-ink)}
.pdf-lock-banner{background:var(--dust-soft);border:1px solid var(--dust-border);border-radius:10px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12.5px;color:var(--dust-ink);font-weight:600}
.pdf-ver-list{display:grid;gap:6px;min-width:0}
.pdf-ver-row{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12.5px;min-width:0}
.admin-pdf-panel .pdf-ver-row{background:var(--cream)}
.pdf-ver-info{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;flex:1 1 200px;overflow-wrap:anywhere}
.pdf-ver-sub{color:var(--grey);font-size:12px;font-variant-numeric:tabular-nums}
.pdf-ver-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}

/* 退回修改历史 */
.revision-alert-bar{background:var(--tint);border:1px solid var(--amber);border-left:4px solid var(--deep);border-radius:12px;padding:10px 12px;display:grid;gap:6px;min-width:0}
.revision-comment{line-height:1.7}
.rev-history-box{border:1px dashed var(--line);border-radius:10px;background:rgba(255,255,255,.72);padding:7px 10px;font-size:12px;color:var(--soft);margin-top:10px}
.rev-history-box summary{cursor:pointer;font-weight:600;color:var(--navy-ink);display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none}
.rev-history-box summary::-webkit-details-marker{display:none}
.rev-history-list{margin-top:8px;display:grid;gap:6px}
.rev-history-item{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:7px 9px;font-size:12px;color:var(--soft);display:grid;gap:4px}
.revision-history{border-bottom:1px solid var(--dust-border);padding:12px 0}

.delivery-dialog{width:min(560px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid var(--dust-border);border-radius:16px;padding:24px;background:var(--cream);color:#2f241a}
.delivery-dialog::backdrop{background:#182b40aa}
.delivery-dialog textarea{width:100%;min-width:0}
.delivery-snapshot{background:var(--navy);color:white;padding:16px;border-radius:10px;overflow-wrap:anywhere}
.dialog-actions{display:flex;gap:12px;justify-content:flex-end}
.delivery-dialog .btn,.task-pdf-box .btn{background:var(--navy);border-color:var(--navy);color:#fff}
.delivery-dialog .btn.ghost{background:transparent;color:var(--navy)}
.delivery-dialog textarea:focus,.task-pdf-box input:focus,.task-pdf-box select:focus,.task-pdf-box textarea:focus{outline-color:var(--navy);border-color:var(--navy);box-shadow:0 0 0 2px var(--dust-border)}

/* Study Abroad landing page */
.study-home #main { letter-spacing: 0.01em; }
.study-home #main :is(h1, h2, h3, p, li) { text-wrap: wrap; }
.study-home :where(#main) :is(h1, h2, h3) { margin: 0; }
.study-home #main h1 { font-size: 44px; line-height: 1.35; }
.study-home #main h3 { overflow-wrap: anywhere; }
.study-home .eyebrow { color: var(--navy-ink); font-weight: 800; }
.study-home .justify { text-align: justify; }
.study-home[lang="zh-CN"] .justify { text-justify: inter-ideograph; }
.study-home .logo { gap: 12px; }
.study-home .logo strong { font-size: 19px; letter-spacing: 0.04em; line-height: 1.15; }
.study-home .site-footer .logo { display: flex; margin-bottom: 18px; }
.study-home .site-footer .logo img { margin-bottom: 0; }
.study-home .site-footer .logo strong { color: var(--cream); }
.study-home .site-footer a { font-weight: 400; }

.study-home .hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 60px;
  background:
    radial-gradient(ellipse 38% 58% at 72% 52%, rgba(247, 169, 52, 0.14), rgba(247, 169, 52, 0) 70%),
    var(--cream);
}
.study-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: repeating-linear-gradient(-45deg,
    var(--amber) 0 14px, var(--cream) 14px 22px, var(--navy) 22px 36px, var(--cream) 36px 44px);
  opacity: 0.48;
}
.study-home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
}
.study-home .hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.study-home .hero-brand {
  font-size: 13px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--navy-tint);
  color: var(--navy-ink);
  letter-spacing: 0.04em;
}
.study-home .hero h1 {
  margin-top: 0;
}
.study-home .hero .lead {
  margin: 22px 0 34px;
}

.study-home .stamp-visual {
  position: relative;
  height: 560px;
  isolation: isolate;
}
.study-home .infinite-spiral__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.study-home .stamp-visual.is-ready .infinite-spiral__stage { cursor: grab; }
.study-home .stamp-visual.is-dragging .infinite-spiral__stage { cursor: grabbing; }
.study-home .infinite-spiral__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  aspect-ratio: 2 / 3;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  filter: drop-shadow(0 10px 22px rgba(47, 36, 26, 0.16));
}
.study-home .stamp-visual.is-ready .infinite-spiral__item {
  touch-action: pan-x pinch-zoom;
  will-change: transform, opacity, filter;
}
.study-home .stamp-visual:not(.is-ready) .infinite-spiral__item:not(:first-child) {
  opacity: 0;
  pointer-events: none;
}
.study-home .infinite-spiral__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
.study-home .infinite-spiral__pause {
  position: absolute;
  right: 6px;
  bottom: 6px;
  z-index: 100100;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-ink);
  cursor: pointer;
}
.study-home .infinite-spiral__pause:hover { border-color: var(--amber); }
.study-home .stamp-visual:not(.is-ready) .infinite-spiral__pause,
.study-home .infinite-spiral__play-icon,
.study-home .infinite-spiral__pause[aria-pressed="true"] .infinite-spiral__pause-icon { display: none; }
.study-home .infinite-spiral__pause[aria-pressed="true"] .infinite-spiral__play-icon { display: block; }
@media (prefers-reduced-motion: reduce) {
  .study-home .infinite-spiral__pause { display: none; }
}

.study-home .sec {
  padding: var(--section-pad) 0;
}
.study-home #pain-points,
.career-home ~ #parts {
  padding-top: var(--hero-after-pad-top);
}
.study-home .sec.sand {
  background: var(--sand);
}
.study-home .sec-head {
  display: block;
  margin-bottom: var(--section-head-gap);
}

/* 01 · 留学痛点：沿用首页「我们的服务」v4 四列蓝底卡片规格（4 列 × 2 行 = 8 卡，去图标与编号，通体浅蓝卡身） */
.study-home .pain-grid {
  grid-auto-rows: 1fr;
}
.study-home .pain-card .v4-card-body p {
  margin-bottom: 0;
}
.study-home[lang="en"] .pain-card .v4-card-body h3 { font-size: 19px; }

/* 02 · 解决方案：62px 雾蓝编号栏贯穿卡片全高 + 右侧标题分隔线，桌面 2 列 × 3 行，对照 spec v4 第四节 */
.study-home .solutions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}
.study-home .sol-strip {
  background: #fffdf8;
  border: 1px solid #c5d1db;
  border-radius: 10px;
  box-shadow: 0 3px 9px rgba(47, 36, 26, 0.05);
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}
.study-home .sol-index {
  width: 62px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d5e4f4;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 30px;
  color: #2d5173;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.study-home .sol-content {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}
.study-home .sol-content h3 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c5d8ea;
  font-family: var(--font-serif-cjk);
}
.study-home .sol-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--soft);
}

/* 04 & 05 · Case panels */
.study-home .case-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-areas: "photo body";
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
}
.study-home .case-panel.is-reversed {
  grid-template-areas: "body photo";
  grid-template-columns: minmax(0, 1fr) 320px;
}
.study-home .case-photo {
  grid-area: photo;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 75% 24%, rgba(247, 169, 52, 0.18), transparent 48%),
    repeating-linear-gradient(135deg, #f7ecda 0 14px, #f2e4cc 14px 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  min-height: 300px;
  color: var(--navy-ink);
  text-align: center;
}
.study-home .case-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(47, 36, 26, 0.08);
}
.study-home .case-photo strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.study-home .case-photo span {
  font-size: 13px;
  color: var(--grey);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
}
.study-home .case-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.study-home .case-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--soft);
}

@media (min-width: 1101px) {
  .study-home .nav a:not(.btn) { padding: 6px 0; }
}

@media (min-width: 800px) and (max-width: 1100px) {
  .study-home .stamp-visual { height: 480px; }
}

@media (max-width: 1100px) {
  .study-home .case-panel { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
  .study-home .case-panel.is-reversed { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

/* 平板 601–1023px：痛点 2 列 × 4 行、解决方案 2 列编号栏收至 48px，对照 spec 响应式对照表 */
@media (max-width: 1023px) and (min-width: 601px) {
  .study-home .pain-grid, .study-home .solutions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .study-home .sol-index { width: 48px; font-size: 24px; }
}

@media (max-width: 799px) {
  .study-home #main h1 { font-size: 28px; line-height: 1.42; }
  .study-home .logo strong { font-size: 15px; }
  .study-home .hero { padding: 38px 0 24px; }
  .study-home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .study-home .hero .lead { margin: 16px 0 24px; }
  .study-home .stamp-visual { height: 400px; }
  .study-home :is(.case-panel, .case-panel.is-reversed) {
    grid-template-areas: "photo" "body";
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }
  .study-home .case-photo { min-height: 210px; }
  .study-home .case-body p { font-size: 15px; }
}

/* 手机 ≤600px：痛点/解决方案单列，时间轴改为左侧纵轨 + 节点左对齐，对照 spec 响应式对照表 */
@media (max-width: 600px) {
  .study-home .pain-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .study-home .solutions-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .study-home .sol-index { width: 44px; font-size: 22px; }
}

/* Section titles on the home, study and career landing pages. */
:where(.study-home, main:has(.home-hero, .ch-split)) .eyebrow:has(+ h2) {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .16em;
  margin: 0;
  text-transform: uppercase;
}
:where(.study-home, main:has(.home-hero, .ch-split)) .eyebrow + h2 {
  margin: 6px 0 0;
}
main:has(.ch-split) .eyebrow:has(+ h2) { color: var(--pine); }
@media (max-width: 799px) {
  :where(.study-home, main:has(.home-hero, .ch-split)) .eyebrow:has(+ h2) { font-size: 14px; }
}

/* Bilingual study timeline */
.study-home #timeline .landscape{position:absolute;inset:0;width:100%;height:100%;display:block}
.study-home #timeline .paper{position:relative;background:#fff6e6;border-radius:24px;box-shadow:0 8px 30px #61471b0c;padding:16px 24px 20px}
.study-home #timeline h2{margin:0 0 8px;width:fit-content}
.study-home #timeline .map{position:relative;aspect-ratio:1.85}
.study-home #timeline .track{--ink:#1c3d66;--dot:#2b4f7a;--soft:#5b7899;color:var(--ink)}
.study-home #timeline .masters{--ink:#206f50;--dot:#2b7859;--soft:#4f826c}
.study-home #timeline .caption{position:absolute;bottom:102%;left:40.25%;transform:translateX(-50%);width:max-content;text-align:center;white-space:nowrap}
.study-home #timeline .masters .caption{left:81.25%}
.study-home #timeline .caption h3{white-space:nowrap;text-wrap:nowrap;overflow-wrap:normal}
.study-home #timeline h3{font-size:26px;font-weight:600;line-height:1.35;margin:4px 0}
.study-home #timeline .campus{display:none}
.study-home #timeline .marker{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--dot);box-shadow:0 0 0 3px #fff6e6bb;color:white;font-size:11px;font-weight:700;line-height:1}
.study-home #timeline .copy{position:absolute;left:calc(var(--x) + 33px);top:calc(var(--y) - 9px);width:var(--w)}
.study-home #timeline h4{margin:0 0 3px;font-size:14px;line-height:1.35}
.study-home #timeline ul{display:block;text-align:start;margin:0;padding:0;list-style:none;color:#4a3d30;font-size:12px;line-height:1.45}
.study-home #timeline li{margin:0;position:relative;padding-left:9px}
.study-home #timeline li:before{content:'·';position:absolute;left:0;color:var(--soft);font-size:12px}
.study-home #timeline .copy::before,.study-home #timeline .copy::after{content:"";position:absolute;top:9px;background:var(--soft)}
.study-home #timeline .copy::before{left:-15px;width:12px;height:1px}
.study-home #timeline .copy::after{left:-5px;width:3px;height:3px;border-radius:50%;margin-top:-1px}
/* Scale both axes against the original desktop presentation. Its content box had 16px more horizontal padding. */
@media(min-width:1280px){
  .study-home #timeline .paper{container-type:inline-size}
  .study-home #timeline .map{display:grid;grid-template-columns:1fr 1fr;gap:2%;aspect-ratio:2.73}
  .study-home:lang(en) #timeline .map{aspect-ratio:2.44}
  .study-home #timeline .track{position:relative;container-type:inline-size;--path-width:calc((100% / .49 - 16px) * .345);--path-height-unit:calc((100cqw / .49 - 16px) * .69 / 1.85 / .768)}
  .study-home:lang(en) #timeline .track{--path-width:calc((100% / .49 - 16px) * .3105);--path-height-unit:calc((100cqw / .49 - 16px) * .69 * 680 / 1120 / .768)}
  .study-home #timeline .landscape{width:calc(var(--path-width) * 1.1);height:calc(var(--path-height-unit) * .724);inset:50% auto auto 50%;transform:translate(-50%,-50%)}
  .study-home #timeline .caption,.study-home #timeline .masters .caption{bottom:calc(100% + 8px);height:1lh;line-height:1.35;display:flex;align-items:center;left:73%;font-size:34px}
  .study-home:lang(en) #timeline .caption{left:calc(103% + 10px)}
  .study-home #timeline .masters .caption,.study-home:lang(en) #timeline .masters .caption{left:68%}
  .study-home #timeline .caption h3{margin:0;font-size:clamp(20px,1.7vw,26px)}
  .study-home #timeline .marker{left:calc(50% + var(--path-width) * var(--path-x));top:calc(50% + var(--path-height-unit) * var(--path-y));width:35px;height:35px;white-space:nowrap}
  .study-home #timeline .copy{left:var(--label-x);top:var(--label-y);width:var(--label-width);text-align:var(--label-align,start)}
  .study-home #timeline .copy ul{text-align:inherit}
  .study-home #timeline .copy li{padding-left:0;white-space:nowrap}
  .study-home:lang(en) #timeline .masters .node:nth-last-child(2) .copy{width:max-content}
  .study-home:lang(en) #timeline .masters .node:nth-last-child(2) h4{white-space:nowrap;width:max-content;margin-left:auto}
  .study-home #timeline .copy li::before{position:static;margin-right:4px}
  .study-home #timeline .copy::before,.study-home #timeline .copy::after{display:none}
  .study-home #timeline .leader{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;color:var(--soft)}
  .study-home #timeline .leader line{stroke:currentColor;stroke-width:1}
  .study-home #timeline .leader circle{fill:currentColor}
}
@media(max-width:1279px){.study-home #timeline .leader,.study-home #timeline .landscape{display:none}
.study-home #timeline .paper{padding:26px 20px}
.study-home #timeline .map{height:auto;aspect-ratio:auto}
.study-home #timeline .caption,.study-home #timeline .masters .caption{position:static;left:auto;transform:none;white-space:normal;width:auto}
.study-home #timeline .caption h3{white-space:normal;text-wrap:wrap;overflow-wrap:anywhere}
  .study-home:lang(en) #timeline .caption h3{text-wrap:balance;font-size:clamp(16px,4.6vw,24px)}
.study-home #timeline .campus{display:block;width:min(100%,420px);height:auto;margin:10px auto}
.study-home #timeline .track+.track{margin-top:48px}
.study-home #timeline .node{position:relative;display:grid;grid-template-columns:38px 1fr;gap:15px;padding-bottom:21px}
.study-home #timeline .node:last-child{padding:0}
.study-home #timeline .node:not(:last-child):before{content:'';position:absolute;top:18px;left:18px;height:100%;border-left:1px solid var(--soft);opacity:.25}
.study-home #timeline .marker,.study-home #timeline .copy{position:relative;inset:auto;transform:none}
.study-home #timeline .copy{width:auto;padding-top:8px}
.study-home #timeline .copy::before,.study-home #timeline .copy::after{top:17px}
.study-home #timeline h3{font-size:24px}}
.study-home #timeline .undergraduate .node:nth-last-child(5){--path-x:-0.20000;--path-y:0.30645}
.study-home #timeline .undergraduate .node:nth-last-child(4){--path-x:-0.27000;--path-y:0.06990}
.study-home #timeline .undergraduate .node:nth-last-child(3){--path-x:0.31000;--path-y:0.01876}
.study-home #timeline .undergraduate .node:nth-last-child(2){--path-x:-0.06000;--path-y:-0.03877}
.study-home #timeline .undergraduate .node:nth-last-child(1){--path-x:0.30500;--path-y:-0.14882}
.study-home #timeline .masters .node:nth-last-child(5){--path-x:-0.40000;--path-y:0.30645}
.study-home #timeline .masters .node:nth-last-child(4){--path-x:-0.25000;--path-y:0.19639}
.study-home #timeline .masters .node:nth-last-child(3){--path-x:0.17260;--path-y:0.08880}
.study-home #timeline .masters .node:nth-last-child(2){--path-x:-0.34500;--path-y:-0.02625}
.study-home #timeline .masters .node:nth-last-child(1){--path-x:0.12500;--path-y:-0.14882}
/* Label positions are relative to each illustrated track. */
.study-home #timeline .undergraduate .node:nth-last-child(5){--label-x:calc(40.996% + 6px);--label-y:71.437%;--label-width:21.577%;--label-align:start}
.study-home #timeline .undergraduate .node:nth-last-child(4){--label-x:10.069%;--label-y:calc(34.636% - 6px);--label-width:21.577%;--label-align:end}
.study-home #timeline .undergraduate .node:nth-last-child(3){--label-x:75.519%;--label-y:58.689%;--label-width:19.779%;--label-align:start}
.study-home #timeline .undergraduate .node:nth-last-child(2){--label-x:calc(34.703% - 6px);--label-y:calc(7.697% - 4px);--label-width:19.779%;--label-align:end}
.study-home #timeline .undergraduate .node:nth-last-child(1){--label-x:78.037%;--label-y:33.674%;--label-width:23.375%;--label-align:start}
.study-home #timeline .masters .node:nth-last-child(5){--label-x:-5.008%;--label-y:72.399%;--label-width:21.577%;--label-align:end}
.study-home #timeline .masters .node:nth-last-child(4){--label-x:34.55%;--label-y:81.058%;--label-width:19.779%;--label-align:start}
.study-home #timeline .masters .node:nth-last-child(3){--label-x:calc(68.174% + 10px);--label-y:54.6%;--label-width:23.375%;--label-align:start}
.study-home #timeline .masters .node:nth-last-child(2){--label-x:calc(-0.153% - 2px);--label-y:27.901%;--label-width:19.779%;--label-align:end}
.study-home #timeline .masters .node:nth-last-child(1){--label-x:calc(62.78% + 20px);--label-y:32.712%;--label-width:23.375%;--label-align:start}
@media(min-width:1440px){
.study-home #timeline .undergraduate .node:nth-last-child(5){--label-x:calc(40.658% + 8px);--label-y:73.721%;--label-width:19.058%;--label-align:start}
.study-home #timeline .undergraduate .node:nth-last-child(4){--label-x:12.705%;--label-y:calc(36.754% - 6px);--label-width:19.058%;--label-align:end}
.study-home #timeline .undergraduate .node:nth-last-child(3){--label-x:75.121%;--label-y:58.637%;--label-width:17.47%;--label-align:start}
.study-home #timeline .undergraduate .node:nth-last-child(2){--label-x:25.252%;--label-y:15.509%;--label-width:20.646%;--label-align:end}
.study-home #timeline .undergraduate .node:nth-last-child(1){--label-x:calc(77.662% + 2px);--label-y:calc(33.142% + 2px);--label-width:19.058%;--label-align:start}
.study-home #timeline .masters .node:nth-last-child(5){--label-x:-1.803%;--label-y:73.721%;--label-width:19.058%;--label-align:end}
.study-home #timeline .masters .node:nth-last-child(4){--label-x:33.932%;--label-y:80.519%;--label-width:19.058%;--label-align:start}
.study-home #timeline .masters .node:nth-last-child(3){--label-x:calc(68.078% + 4px);--label-y:calc(51.201% - 8px);--label-width:20.646%;--label-align:start}
.study-home #timeline .masters .node:nth-last-child(2){--label-x:calc(2.327% - 2px);--label-y:30.168%;--label-width:17.47%;--label-align:end}
.study-home #timeline .masters .node:nth-last-child(1){--label-x:calc(62.519% + 2px);--label-y:calc(32.293% + 4px);--label-width:19.058%;--label-align:start}
}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(5){--label-x:calc(34.523% + 38px);--label-y:calc(68.363% - 6px - 6px);--label-width:37.76%;--label-align:start}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(4){--label-x:-1.438%;--label-y:calc(32.892% - 6px);--label-width:35.962%;--label-align:end}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(3){--label-x:75.519%;--label-y:52.24%;--label-width:37.76%;--label-align:start}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(2){--label-x:5.035%;--label-y:15.263%;--label-width:41.356%;--label-align:end}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(1){--label-x:75.339%;--label-y:33.537%;--label-width:41.356%;--label-align:start}
.study-home:lang(en) #timeline .masters .node:nth-last-child(5){--label-x:-21.37%;--label-y:73.522%;--label-width:41.356%;--label-align:end}
.study-home:lang(en) #timeline .masters .node:nth-last-child(4){--label-x:35.988%;--label-y:80.617%;--label-width:35.962%;--label-align:start}
.study-home:lang(en) #timeline .masters .node:nth-last-child(3){--label-x:calc(66.915% - 20px);--label-y:calc(51.595% + 85px);--label-width:34.163%;--label-align:start}
.study-home:lang(en) #timeline .masters .node:nth-last-child(2){--label-x:calc(14.232% - 28px);--label-y:calc(3.44% + 55px);--label-width:21.577%;--label-align:end}
.study-home:lang(en) #timeline .masters .node:nth-last-child(1){--label-x:calc(61.521% + 2px);--label-y:calc(33.537% + 2px);--label-width:35.962%;--label-align:start}
@media(min-width:1440px){
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(5){--label-x:calc(41.928% + 6px);--label-y:75.574%;--label-width:33.352%;--label-align:start}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(4){--label-x:-1.271%;--label-y:calc(39.116% - 8px);--label-width:38.116%;--label-align:end}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(3){--label-x:75.519%;--label-y:52.24%;--label-width:37.76%;--label-align:start}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(2){--label-x:12.705%;--label-y:22.596%;--label-width:33.352%;--label-align:end}
.study-home:lang(en) #timeline .undergraduate .node:nth-last-child(1){--label-x:75.339%;--label-y:33.537%;--label-width:41.356%;--label-align:start}
.study-home:lang(en) #timeline .masters .node:nth-last-child(5){--label-x:-16.573%;--label-y:75.574%;--label-width:36.528%;--label-align:end}
.study-home:lang(en) #timeline .masters .node:nth-last-child(4){--label-x:35.679%;--label-y:80.131%;--label-width:31.764%;--label-align:start}
.study-home:lang(en) #timeline .masters .node:nth-last-child(3){--label-x:calc(66.648% + 2px);--label-y:48.99%;--label-width:31.764%;--label-align:start}
.study-home:lang(en) #timeline .masters .node:nth-last-child(2){--label-x:calc(3.756% - 2px);--label-y:calc(18.419% + 11px);--label-width:19.058%;--label-align:end}
.study-home:lang(en) #timeline .masters .node:nth-last-child(1){--label-x:calc(61.725% + 2px);--label-y:calc(31.9% + 4px);--label-width:31.764%;--label-align:start}
}

a[href], button:not(:disabled), summary, input:is([type=submit],[type=button],[type=file]):not(:disabled), input[type=file]:not(:disabled)::file-selector-button {cursor:pointer}
button:disabled, [aria-disabled="true"] {cursor:not-allowed}
.form-error-notice { margin: 10px; padding: 12px 16px; border: 1px solid #E5D9C4; border-left: 4px solid #F7A934; border-radius: 8px; background: #F6F1E5; color: #2F241A; }

.policy-document { max-width: 48rem; overflow-wrap: anywhere; }
.policy-document h1, .policy-document h2 { font-weight: 700; text-align: start; }
.page-section.policy-document { padding-block: 36px 80px; }
.policy-document h1 { font-size: 30px; line-height: 1.3; margin: 0 0 12px; }
.policy-document h2 { font-size: 20px; line-height: 1.4; margin: 0 0 10px; }
.policy-document section { margin-block-start: 1.75rem; }
@media (max-width: 767px) {
  .page-section.policy-document { padding-block: 24px 64px; }
  .policy-document h1 { font-size: 26px; }
  .policy-document h2 { font-size: 18px; }
}
.policy-document p { font-size: 16px; text-align: justify; font-weight: 400; line-height: 1.75; }
.policy-document header p { text-align: start; }
.policy-document .policy-basis { color: var(--dust-ink); font-size: .9rem; }
