@font-face { font-family: Spectral; src: url('./spectral-400.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Source; src: url('./source-sans-3-400.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Source; src: url('./source-sans-3-600.ttf') format('truetype'); font-weight: 600 800; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #172f3a;
  --navy: #132b39;
  --deep: #0e2532;
  --muted: #4f6267;
  --paper: #f7f7f2;
  --white: #fff;
  --line: #d9e1da;
  --gold: #e8c678;
  --teal: #235b50;
  --mint: #e8f0e9;
  --serif: Spectral, Georgia, 'Times New Roman', serif;
  --sans: Source, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
:focus-visible { outline: 3px solid #a36817; outline-offset: 3px; }
[hidden] { display: none !important; }
.frame { width: min(1264px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 6; background: white; padding: 8px 12px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { color: #f6f5ed; background: var(--deep); border-bottom: 1px solid #ffffff26; }
.site-header-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: .875rem; font-weight: 680; letter-spacing: .055em; text-decoration: none; }
.brand-mark { display: block; width: 31px; height: 31px; border: 1px solid var(--gold); border-radius: 50%; position: relative; flex: none; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; border: 1px solid var(--gold); border-radius: 50%; }
.brand-mark::before { inset: 5px 10px; }
.brand-mark::after { inset: 10px 5px; }
.university-link { text-decoration: none; font-size: .875rem; color: #e2e9e6; white-space: nowrap; }
.university-link:hover { text-decoration: underline; }
.hero { position: relative; overflow: hidden; background: linear-gradient(108deg, #182c2b 34%, #254b3e 100%); color: #fcfbf5; }
.hero-inner { min-height: 237px; display: flex; position: relative; align-items: center; justify-content: space-between; gap: 30px; padding-block: 35px 42px; }
.hero-text, #hero-plan { position: relative; z-index: 1; }
.eyebrow { font-size: .76rem; font-weight: 760; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.hero-kicker { color: var(--gold); margin-bottom: .65rem; }
.hero h1 { font: 400 clamp(2.35rem, 4.9vw, 4.15rem)/1.02 var(--serif); letter-spacing: -.04em; }
.hero-text > p:last-child { max-width: 565px; margin-top: .85rem; color: #dce9e6; font-size: 1.027rem; }
.hero-art { position: absolute; pointer-events: none; height: 430px; width: 430px; right: -8px; top: -101px; }
.hero-art i, .hero-art b, .hero-art span { position: absolute; display: block; }
.hero-art i { border: 1px solid #e8c67845; border-radius: 50%; inset: 15%; }
.hero-art i:nth-child(2) { inset: 23%; }
.hero-art i:nth-child(3) { inset: 31%; }
.hero-art i:nth-child(4) { inset: 39%; }
.hero-art b { width: 7px; height: 7px; background: #e8c678a6; border-radius: 50%; }
.hero-art b:nth-of-type(1) { top: 30%; left: 21%; }
.hero-art b:nth-of-type(2) { top: 61%; left: 87%; }
.hero-art b:nth-of-type(3) { top: 68%; left: 36%; }
.hero-art span { border-top: 1px solid #e8c67847; inset: 50% 4% auto; transform: rotate(-24deg); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 43px; border: 1px solid transparent; border-radius: 7px; padding: .55rem .9rem; font-size: .9rem; font-weight: 690; text-align: center; text-decoration: none; line-height: 1.3; white-space: nowrap; }
.button-gold { background: var(--gold); color: #18282a; padding-inline: 1.1rem; }
.button-gold:hover { background: #f5d791; }
.button-outline { color: var(--ink); background: var(--white); border-color: #cbd8d1; }
.button-outline:hover { background: #edf4ee; border-color: #9eafa7; }
.button-primary { color: var(--white); background: var(--teal); }
.button-primary:hover { background: #18463d; }
.button-danger { color: var(--white); background: #9b3428; }
.button-danger:hover { background: #7f291e; }
.button[disabled] { opacity: .64; cursor: default; }
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: .9rem; padding: 22px 0 23px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.project-controls { display: flex; align-items: flex-end; gap: .6rem; min-width: 0; }
.project-picker { width: min(290px, 33vw); min-width: 0; }
.project-picker label { color: var(--muted); display: block; margin-bottom: .4rem; }
.project-picker select { height: 43px; font-weight: 650; text-overflow: ellipsis; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' fill='none' viewBox='0 0 14 10'%3E%3Cpath d='m2 3 5 5 5-5' stroke='%23415859' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; }
.options { position: relative; }
.options > summary { display: flex; list-style: none; align-items: center; gap: .25rem; padding: .6rem .45rem .6rem .6rem; min-height: 43px; border-radius: 6px; font-size: .875rem; font-weight: 650; white-space: nowrap; }
summary::-webkit-details-marker { display: none; }
.options > summary:hover, .options[open] > summary { background: var(--mint); }
.options-menu { position: absolute; top: calc(100% + 7px); left: 0; width: max-content; min-width: 203px; padding: 5px; z-index: 4; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px #132b391c; }
.options-menu button { display: block; width: 100%; border: 0; background: transparent; padding: .55rem .65rem; border-radius: 5px; font-size: .875rem; text-align: left; }
.options-menu button:hover { background: var(--mint); }
.danger { color: #9b3428; }
.save-state { color: var(--muted); font-size: .875rem; min-height: 43px; display: flex; align-items: center; justify-content: flex-end; gap: .4rem; text-align: right; }
.save-state::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #558066; flex: none; }
.save-state[data-failed]::before { background: #9b3428; }
.layout { display: grid; grid-template-columns: 217px minmax(0, 1fr) 254px; gap: 24px; align-items: start; }
.journey h2 { color: var(--muted); margin: .6rem 0 .65rem .55rem; }
.journey ol { list-style: none; padding: 0; margin: 0; }
.journey li + li { margin-top: .2rem; }
.journey button { width: 100%; display: flex; align-items: center; gap: .6rem; text-align: left; min-height: 43px; border: 1px solid transparent; border-radius: 7px; padding: .45rem .45rem; background: transparent; font-size: .88rem; font-weight: 640; }
.journey button:hover { background: #eef1eb; }
.journey button[aria-current="step"], .journey button[aria-current="page"] { background: #e5eee6; color: #164d41; border-color: #d8e5d9; }
.step-number { font-size: .77rem; color: #465e5b; background: var(--white); border: 1px solid #d4ded6; border-radius: 50%; display: grid; place-items: center; flex: 0 0 25px; height: 25px; }
.step-number.complete { background: #d5e8db; color: #225445; border-color: #bddeca; }
.journey-plan { margin-top: 1rem; }
.journey-plan span:first-child { color: var(--teal); width: 25px; text-align: center; font-size: 1.05rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.editor { min-width: 0; }
.editor-head { padding: 26px 29px 20px; border-bottom: 1px solid #e6ebe4; }
.editor-head .eyebrow { color: var(--teal); margin-bottom: .5rem; }
.editor-head h2 { font: 400 clamp(1.9rem, 3.5vw, 2.55rem)/1.08 var(--serif); letter-spacing: -.03em; overflow-wrap: anywhere; }
.editor-head p:last-child { margin-top: .6rem; color: var(--muted); }
.editor-body { padding: 22px 29px; display: grid; gap: 19px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field-wide { grid-column: 1 / -1; }
label.field, .field-label { display: block; }
.field-label { font-weight: 690; font-size: .89rem; line-height: 1.35; margin-bottom: .35rem; }
.field-detail { display: block; color: var(--muted); font-size: .85rem; margin-top: .35rem; }
.optional { color: var(--muted); font-weight: 450; margin-left: .2rem; font-size: .79rem; }
input:not([type=file]), textarea, select { display: block; width: 100%; min-width: 0; color: var(--ink); background-color: #fcfdfb; border: 1px solid #cdd8d1; border-radius: 7px; padding: .62rem .72rem; line-height: 1.35; }
select { padding-right: 2rem; }
textarea { min-height: 78px; resize: vertical; }
::placeholder { color: #5d706f; opacity: 1; }
input[type=date] { min-height: 43px; }
.editor-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 16px 29px; border-top: 1px solid #e6ebe4; }
.editor-foot > :last-child { margin-left: auto; }
.row-list { display: grid; gap: 13px; }
.entry { min-inline-size: 0; margin: 0; border: 1px solid #dbe4db; border-radius: 9px; padding: 13px 13px 15px; background: #f8faf6; }
.entry-heading { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin-bottom: .65rem; }
.entry-heading strong { font-size: .89rem; }
.entry-remove { background: transparent; border: 0; border-radius: 4px; font-size: .82rem; color: #893b31; padding: .25rem .35rem; }
.entry-remove:hover { background: #f6e7e2; }
.row-actions { display: flex; justify-content: flex-start; }
.context { display: grid; gap: 16px; min-width: 0; }
.progress-panel, .prompt-panel { padding: 17px; }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.progress-top h2 { font-size: .975rem; }
#progress-percent { font-size: .86rem; font-weight: 750; color: var(--teal); }
progress { width: 100%; display: block; margin-top: .7rem; height: 7px; border: 0; overflow: hidden; appearance: none; border-radius: 20px; background: #e2ebe3; color: var(--teal); }
progress::-webkit-progress-bar { background: #e2ebe3; border-radius: 20px; }
progress::-webkit-progress-value { background: var(--teal); border-radius: 20px; }
progress::-moz-progress-bar { background: var(--teal); border-radius: 20px; }
.progress-count { color: var(--muted); font-size: .875rem; margin-top: .65rem; }
.commitment-count { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.text-button { border: 0; background: transparent; padding: 0; text-decoration: underline; text-underline-offset: .16em; color: var(--teal); font-size: .85rem; font-weight: 670; text-align: left; }
#next-incomplete { display: block; margin-top: .4rem; }
.prompt-panel { background: #edf2ea; border-color: #e0e8dd; }
.prompt-panel .eyebrow { color: var(--teal); margin-bottom: .35rem; }
.prompt-panel h2 { font: 400 1.3rem/1.22 var(--serif); }
.prompt-panel p:last-child { margin-top: .5rem; color: #405552; font-size: .875rem; }
.principles { border: 1px solid var(--line); border-radius: 8px; }
.principles summary { color: var(--teal); font-size: .84rem; font-weight: 720; padding: .6rem .8rem; }
.principles dl { margin: 0; padding: 0 .8rem .7rem; font-size: .84rem; }
.principles dt { font-weight: 700; margin-top: .55rem; }
.principles dd { color: var(--muted); margin: .18rem 0 0; }
.workspace-footer { color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; font-size: .84rem; border-top: 1px solid var(--line); margin-top: 2.1rem; padding: 1rem 0 1.3rem; }
.plan-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.plan-sheet { display: grid; gap: .9rem; overflow-wrap: anywhere; }
.plan-section { border-top: 1px solid var(--line); padding-top: .6rem; }
.plan-section h3 { font-size: 1rem; margin-bottom: .35rem; }
.plan-section ul { padding-left: 1.3rem; margin: 0; }
.plan-section ul li + li { margin-top: .25rem; }
.plan-empty { color: var(--muted); font-style: italic; }
.plan-parts { display: grid; gap: .3rem; }
.plan-parts p { white-space: pre-line; }
.plan-list-entry { white-space: pre-line; }
.plan-incomplete { font-size: .795rem; color: #805612; margin-left: .4rem; font-weight: 560; }
dialog { max-width: min(420px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; color: var(--ink); }
dialog::backdrop { background: #102d37a1; }
dialog h2 { font: 400 1.7rem/1.1 var(--serif); margin-bottom: .6rem; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: .6rem; margin-top: 1.1rem; }
.notice { position: fixed; z-index: 5; bottom: 1.15rem; right: 1.15rem; max-width: calc(100% - 2.3rem); padding: .75rem 1rem; background: var(--deep); color: white; border-radius: 8px; box-shadow: 0 6px 20px #102d3742; }
@media (max-width: 1110px) {
  .frame { width: calc(100% - 54px); }
  .layout { grid-template-columns: 180px minmax(0, 1fr) 220px; gap: 17px; }
  .editor-head, .editor-body, .editor-foot { padding-inline: 21px; }
}
@media (max-width: 925px) {
  .layout { grid-template-columns: 180px minmax(0, 1fr); }
  .context { grid-column: 2; grid-template-columns: 1fr 1fr; }
  .principles { grid-column: 1 / -1; }
}
@media (max-width: 660px) {
  .frame { width: calc(100% - 32px); }
  .brand { letter-spacing: 0; }
  .brand-break { display: block; line-height: 1.15; }
  .site-header-inner { min-height: 60px; }
  .hero-inner { min-height: 0; padding-block: 24px 28px; display: block; }
  .hero h1 { max-width: 450px; }
  .hero-art { right: -170px; opacity: .72; }
  #hero-plan { margin-top: .9rem; }
  .toolbar { flex-wrap: wrap; gap: .45rem; margin-bottom: 15px; padding-block: 15px 11px; }
  .project-controls { width: 100%; }
  .project-picker { flex: 1; width: auto; }
  .options-menu { left: auto; right: 0; }
  .save-state { min-height: 26px; }
  .layout { display: flex; flex-direction: column; gap: 1rem; }
  .journey, .editor, .context { width: 100%; }
  .journey ol { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem .35rem; }
  .journey li + li { margin-top: 0; }
  .journey h2 { margin: .25rem 0 .35rem .45rem; }
  .journey .journey-plan { margin-top: .2rem; }
  .editor-head, .editor-body, .editor-foot { padding-inline: 15px; }
  .fields { gap: 13px; }
}
@media (max-width: 400px) {
  .fields, .context { grid-template-columns: minmax(0, 1fr); }
  .button { padding-inline: .63rem; }
  .plan-actions .button { white-space: normal; }
}
@media print {
  body { background: white; color: #101010; font-size: 10.5pt; }
  .site-header, .hero, .toolbar, .journey, .context, .workspace-footer, .plan-actions, .editor-foot, .notice, .skip { display: none !important; }
  .frame, .editor, .layout { display: block; width: auto; max-width: none; border: 0; }
  .editor-head, .editor-body { padding: 0; }
  .editor-head { padding-bottom: .6rem; margin-bottom: .6rem; }
  .editor-head h2 { font-size: 22pt; }
  .plan-sheet { gap: .5rem; }
  .plan-section h3 { break-after: avoid; }
  .plan-section li { break-inside: avoid; }
}

.journey #journey-plan { margin-top: .2rem; }
.resource-callout { border-top: 1px solid var(--line); padding-top: 1rem; }
.resource-callout h3, .resource-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.resource-callout p { margin: .4rem 0 .7rem; color: var(--muted); }
.resource-callout .text-button { margin-left: .8rem; }
.finder { gap: .9rem; }
.finder-views, .resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.finder-views { border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.finder-views [aria-pressed=true] { background: var(--teal); color: white; }
.finder-list { display: grid; gap: .85rem; }
.finder .button { justify-self: start; }
.resource-card { border: 1px solid var(--line); border-radius: 8px; background: #fafcf8; padding: .95rem; display: grid; gap: .6rem; overflow-wrap: anywhere; }
.resource-type { font-size: .78rem; color: var(--teal); font-weight: 700; }
.resource-card > p:not(.resource-type), .resource-facts, .listing-detail { font-size: .87rem; }
.resource-card .entry-heading { margin: 0; }
.listing-detail summary { color: var(--teal); font-weight: 650; }
.listing-detail, .finder a { color: var(--teal); }
.listing-detail[open] { padding-bottom: .45rem; }
.resource-facts { display: grid; gap: .15rem; margin: .5rem 0; color: var(--ink); }
.resource-facts dt { font-weight: 690; margin-top: .35rem; }
.resource-facts dd { margin: 0; }
.resource-actions a { font-weight: 650; font-size: .88rem; }
.finder-credit { border-top: 1px solid var(--line); padding-top: .8rem; font-size: .8rem; color: var(--muted); }
@media (max-width: 660px) { .finder-filters, .resource-card .fields { grid-template-columns: 1fr; } }

.partner-check { border-top: 1px solid var(--line); padding-top: .65rem; }
.partner-check summary { width: fit-content; color: var(--teal); font-weight: 700; }
.partner-check .fields { margin-top: .8rem; }
.pilot-comparison { border: 1px solid var(--line); border-radius: 8px; background: #fafcf8; min-width: 0; }
.pilot-comparison > summary { padding: .8rem 1rem; color: var(--teal); font-weight: 720; cursor: pointer; }
.comparison-body { display: grid; gap: 1rem; min-width: 0; padding: 0 .9rem 1rem; }
.comparison-intro { color: var(--muted); font-size: .9rem; }
.comparison-scroll { min-width: 0; overflow-x: auto; }
.comparison-table { border-collapse: collapse; table-layout: fixed; width: 100%; font-size: .87rem; }
.comparison-table:has(th:nth-child(4)) { min-width: 32rem; }
.comparison-table th, .comparison-table td { border-bottom: 1px solid var(--line); padding: .45rem .3rem; text-align: left; vertical-align: top; }
.comparison-table thead th { background: var(--mint); color: var(--teal); }
.comparison-table th:first-child { width: 23%; overflow-wrap: anywhere; }
.comparison-table input, .comparison-table textarea { width: 100%; min-width: 0; background: white; color: var(--ink); border: 1px solid #b5c4bc; border-radius: 4px; padding: .4rem; }
.comparison-table textarea { resize: vertical; }
.comparison-body > .text-button { justify-self: start; }
.pilot-choice { display: flex; flex-wrap: wrap; gap: .45rem 1rem; padding: .5rem 0 0; border: 0; margin: 0; min-width: 0; }
.pilot-choice legend { font-weight: 700; }
.pilot-choice label { display: flex; align-items: center; gap: .3rem; font-size: .9rem; }
.pilot-choice input { accent-color: var(--teal); }

:lang(zh-Hans) .eyebrow, :lang(zh-Hans) .hero h1 { letter-spacing: normal; }
:lang(zh-Hans) .hero h1 { line-height: 1.2; }
