:root {
  --ink: #0d1b1d;
  --ink-soft: #385052;
  --surface: #f6f4ee;
  --paper: #fffef9;
  --line: #dce2dd;
  --moss: #173a36;
  --blue: #083968;
  --blue-light: #e4eef8;
  --lime: #c7f36b;
  --lime-dark: #b5df5e;
  --sky: #dbeef0;
  --coral: #f26f5e;
  --sand: #efe6d4;
  --yellow: #ffd860;
  --muted: #718181;
  --radius: 17px;
  --shadow: 0 20px 50px rgba(18, 48, 45, .08);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--surface); }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: "DM Sans", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 244px minmax(0, 1fr); contain: layout style; }
.sidebar { background: var(--blue); color: #ebf1e9; padding: 28px 17px 20px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 9px; text-decoration: none; margin-bottom: 54px; }
.brand-mark { height: 27px; width: 27px; position: relative; display: grid; place-items: center; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--lime); border-radius: 60% 40% 58% 42%; transform: rotate(43deg); }
.brand-mark::after { width: 8px; height: 8px; border: 0; background: var(--lime); transform: none; border-radius: 50%; }
.brand-name { font-family: "Playfair Display", serif; font-size: 24px; letter-spacing: -.06em; }
.nav-label { color: #91aaa3; text-transform: uppercase; font: 10px "DM Mono", monospace; letter-spacing: .12em; padding: 0 12px; margin-bottom: 10px; }
.nav { display: grid; gap: 4px; }
.nav-item { border: 0; background: transparent; color: #bdccc6; border-radius: 10px; padding: 11px 12px; display: flex; gap: 12px; align-items: center; text-align: left; font-size: 14px; transition: .2s; }
.nav-item:hover { color: white; background: rgba(255,255,255,.06); }
.nav-item.active { color: white; background: rgba(199,243,107,.14); }
.nav-icon { width: 18px; height: 18px; opacity: .9; display: grid; place-items: center; }
.nav-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.sidebar-bottom { margin-top: auto; padding: 18px 9px 4px; border-top: 1px solid rgba(255,255,255,.12); }
.mini-profile { display: flex; gap: 10px; align-items: center; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; background: var(--lime); color: var(--moss); border-radius: 50%; font-weight: 700; font-size: 12px; }
.mini-profile strong { display: block; font-size: 13px; }
.mini-profile span { color: #aebfba; font-size: 11px; }

.main { width: min(1440px, 100%); margin: 0 auto; padding: 30px 40px 50px; content-visibility: auto; contain-intrinsic-size: 900px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; }
.eyebrow { text-transform: uppercase; font: 10px "DM Mono", monospace; letter-spacing: .12em; color: var(--muted); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.language-picker { display: inline-flex; align-items: center; gap: 5px; min-height: 37px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink-soft); font: 11px "DM Mono", monospace; }
.language-picker select { max-width: 82px; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; cursor: pointer; }
.is-rtl { font-family: Tahoma, "Noto Naskh Arabic", sans-serif; }
.is-rtl .sidebar { right: 0; left: auto; }
.is-rtl .nav-item, .is-rtl .mini-profile, .is-rtl .top-actions, .is-rtl .page-heading, .is-rtl .checklist-item, .is-rtl .document-row { direction: rtl; }
.is-rtl .nav-item { text-align: right; }
.is-rtl .main { direction: rtl; }
.is-rtl .topbar, .is-rtl .page-heading, .is-rtl .checklist-head, .is-rtl .document-card-head { direction: rtl; }
.is-rtl .heading-copy, .is-rtl .documents-side p { text-align: right; }
@media (max-width: 590px) { .language-picker { min-height: 34px; padding: 0 6px; } .language-picker select { max-width: 64px; } }
.icon-button { border: 1px solid var(--line); background: var(--paper); border-radius: 9px; width: 37px; height: 37px; color: var(--ink-soft); display: grid; place-items: center; }
.icon-button:hover { background: white; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.button { border: 0; min-height: 39px; padding: 0 16px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 13px; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: #062d50; }
.button.acid { background: var(--lime); color: var(--moss); }
.button.acid:hover { background: var(--lime-dark); }
.button.soft { background: #e7ece7; color: var(--moss); }
.button.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.button svg { width: 16px; height: 16px; }

.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
h1, h2, h3, p { margin: 0; }
h1 { font-family: "Playfair Display", serif; font-weight: 600; letter-spacing: -.045em; font-size: clamp(32px, 4vw, 46px); line-height: 1.04; }
h1 em { color: var(--blue); font-style: italic; }
h2 { font-family: "Playfair Display", serif; font-size: 25px; letter-spacing: -.035em; line-height: 1.1; }
h3 { font-size: 15px; letter-spacing: -.02em; }
.heading-copy { margin-top: 7px; color: var(--ink-soft); max-width: 600px; font-size: 14px; line-height: 1.55; }
.catalogue-note { margin: 8px 0 0; color: var(--ink-soft); max-width: 680px; font-size: 12px; line-height: 1.45; }
.parcoursup-search { margin: 18px 0; }
.parcoursup-fields { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 12px; align-items: end; }
.parcoursup-fields label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.parcoursup-fields input { width: 100%; min-height: 43px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; color: var(--ink); background: white; }
.parcoursup-results { margin-top: 20px; }
.parcoursup-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.parcoursup-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 190px; display: flex; flex-direction: column; gap: 7px; }
.parcoursup-card h3 { margin: 3px 0 0; font: 700 20px/1.12 Georgia, serif; color: var(--ink); }
.parcoursup-card strong { color: var(--blue); }
.parcoursup-card .card-button { margin-top: auto; align-self: flex-start; }
.parcoursup-empty { margin-top: 18px; }
.parcoursup-more { display: flex; justify-content: center; padding: 24px 0 8px; }
.parcoursup-end { display: block; text-align: center; padding: 24px 0 8px; }
.profile-directory-search { margin: 18px 0; }
.profile-directory-search > input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit; }
.profile-type-filters { margin-top: 14px; overflow-x: auto; }
.profile-directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.profile-directory-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 200px; display: flex; flex-direction: column; gap: 8px; }
.profile-directory-card h3 { margin: 2px 0 0; font: 700 20px/1.15 Georgia, serif; color: var(--ink); }
.profile-directory-foot { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: auto; font-size: 12px; }
.profile-directory-foot a { color: var(--blue); font-weight: 700; }
@media (max-width: 760px) { .profile-directory-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .parcoursup-fields, .parcoursup-grid { grid-template-columns: 1fr; } .parcoursup-fields .button { width: 100%; } }

.hero-grid { display: grid; grid-template-columns: 1.44fr .86fr; gap: 18px; margin-bottom: 18px; }
.hero-card { min-height: 276px; background: var(--moss); color: white; border-radius: var(--radius); padding: 31px; overflow: hidden; position: relative; }
.hero-card::before { content: ""; position: absolute; width: 290px; height: 290px; right: -80px; top: -95px; background: radial-gradient(circle at center, rgba(199,243,107,.3) 0 2%, transparent 3% 100%), repeating-radial-gradient(circle at center, transparent 0 20px, rgba(199,243,107,.14) 21px 22px); border-radius: 50%; }
.hero-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: 45px; top: 20px; border: 1px solid rgba(199,243,107,.35); border-radius: 38% 62% 56% 44%; transform: rotate(15deg); }
.hero-card .eyebrow { color: var(--lime); position: relative; z-index: 1; }
.hero-card h2 { font-size: 31px; max-width: 480px; margin-top: 13px; position: relative; z-index: 1; }
.hero-card p { max-width: 480px; color: #b9d0c9; font-size: 14px; line-height: 1.55; margin-top: 12px; position: relative; z-index: 1; }
.hero-card .button { margin-top: 22px; position: relative; z-index: 1; }
.profile-quick { border-radius: var(--radius); background: var(--paper); padding: 23px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.profile-quick-head { display: flex; justify-content: space-between; align-items: flex-start; }
.profile-label { font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.profile-score { width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--moss) var(--score), #e7eae5 0); padding: 7px; display: grid; place-items: center; position: relative; }
.profile-score::after { content: ""; width: 100%; height: 100%; border-radius: 50%; background: var(--paper); position: absolute; }
.profile-score span { position: relative; z-index: 1; font-size: 19px; font-weight: 700; }
.profile-score small { font-size: 8px; font-weight: 500; color: var(--muted); }
.profile-quick h3 { font-size: 17px; margin: 16px 0 4px; }
.profile-quick p { color: var(--muted); font-size: 12px; line-height: 1.45; }
.profile-quick .button { margin-top: auto; align-self: flex-start; padding-left: 0; color: var(--moss); background: transparent; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 302px; gap: 18px; }
.panel { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.panel-heading { padding: 21px 22px 15px; display: flex; justify-content: space-between; align-items: center; }
.panel-heading h2 { font-family: "DM Sans", sans-serif; font-size: 15px; }
.panel-heading a, .text-link { color: var(--moss); font-size: 12px; font-weight: 700; text-decoration: none; }
.panel-heading a:hover, .text-link:hover { text-decoration: underline; }
.recommendations { padding: 0 14px 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.uni-card { background: #fafaf6; border: 1px solid #e5e8e0; padding: 16px; border-radius: 13px; position: relative; min-width: 0; transition: .2s; }
.uni-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(20,50,45,.08); border-color: #cfdbd1; }
.uni-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 7px; }
.uni-badge { min-width: 34px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 12px "DM Mono", monospace; color: var(--moss); background: var(--badge, var(--sky)); font-weight: 500; }
.match-chip { padding: 5px 7px; border-radius: 20px; background: #e5f6cc; color: #34561a; font: 10px "DM Mono", monospace; white-space: nowrap; }
.match-chip.reach { background: #fff0cf; color: #8c5d00; }
.match-chip.stretch { background: #fbe1dc; color: #a44131; }
.uni-card h3 { margin-top: 15px; min-height: 36px; line-height: 1.2; }
.uni-card .place { margin-top: 5px; color: var(--muted); font-size: 11px; }
.uni-card .program { margin-top: 11px; color: var(--moss); font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uni-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 15px; padding-top: 12px; border-top: 1px solid #e6e8e3; }
.uni-card-foot span { color: var(--muted); font: 10px "DM Mono", monospace; }
.card-button { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 11px; font-weight: 700; }

.action-panel { background: #e7efdf; border: 1px solid #d4e0c9; padding: 21px; }
.action-panel h2 { font-family: "DM Sans", sans-serif; font-size: 15px; }
.action-panel > p { margin-top: 7px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.action-list { margin-top: 16px; display: grid; gap: 13px; }
.action-item { display: grid; grid-template-columns: 27px 1fr; gap: 9px; align-items: start; }
.action-number { width: 24px; height: 24px; background: var(--moss); color: var(--lime); border-radius: 50%; display: grid; place-items: center; font: 10px "DM Mono", monospace; }
.action-item strong { display: block; font-size: 12px; line-height: 1.25; }
.action-item span { display: block; color: var(--ink-soft); font-size: 11px; line-height: 1.35; margin-top: 2px; }
.action-panel .button { width: 100%; margin-top: 19px; }

.alert { margin-top: 18px; border-left: 3px solid var(--yellow); background: #fff9e5; padding: 11px 14px; font-size: 11px; color: #64531a; line-height: 1.45; }
.alert strong { font-weight: 700; }

/* explore */
.filter-row { display: flex; gap: 9px; margin-bottom: 21px; flex-wrap: wrap; }
.filter { border: 1px solid var(--line); color: var(--ink-soft); background: var(--paper); border-radius: 999px; height: 35px; padding: 0 13px; font-size: 12px; }
.filter.active { border-color: var(--moss); background: var(--moss); color: white; }
.university-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.directory-card { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 19px; min-height: 260px; display: flex; flex-direction: column; }
.directory-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.region-tag { font: 10px "DM Mono", monospace; color: var(--moss); background: var(--sky); padding: 5px 7px; border-radius: 5px; }
.region-tag.international { background: var(--sand); }
.directory-card h2 { font-family: "DM Sans", sans-serif; font-size: 17px; margin-top: 15px; }
.directory-card .place { color: var(--muted); font-size: 12px; margin-top: 5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.tag { border-radius: 99px; padding: 5px 8px; background: #eef1ed; color: var(--ink-soft); font-size: 10px; }
.requirement-preview { color: var(--ink-soft); font-size: 11px; line-height: 1.45; margin-bottom: 15px; }
.directory-card .card-button { margin-top: auto; align-self: flex-start; }

/* roadmap */
.roadmap-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: start; }
.roadmap-lead { min-height: 360px; background: var(--moss); color: white; border-radius: var(--radius); padding: 29px; position: sticky; top: 24px; overflow: hidden; }
.roadmap-lead::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 210px; height: 210px; border: 1px solid rgba(199,243,107,.45); border-radius: 50%; box-shadow: 0 0 0 22px transparent, 0 0 0 23px rgba(199,243,107,.22), 0 0 0 46px transparent, 0 0 0 47px rgba(199,243,107,.15); }
.roadmap-lead h2 { font-size: 28px; position: relative; z-index: 1; }
.roadmap-lead p { color: #bad0c9; font-size: 13px; margin-top: 13px; line-height: 1.55; position: relative; z-index: 1; }
.roadmap-stat { position: relative; z-index: 1; margin-top: 34px; display: flex; gap: 25px; }
.roadmap-stat strong { display: block; color: var(--lime); font-size: 27px; letter-spacing: -.06em; }
.roadmap-stat span { color: #bad0c9; font-size: 10px; display: block; margin-top: 3px; }
.roadmap-lead .button { margin-top: 31px; position: relative; z-index: 1; }
.roadmap { padding: 11px 24px 8px; }
.timeline-item { display: grid; grid-template-columns: 85px 19px 1fr; gap: 13px; min-height: 116px; }
.timeline-date { color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; padding-top: 9px; }
.timeline-track { position: relative; }
.timeline-track::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); border: 3px solid var(--moss); position: absolute; top: 9px; left: 0; z-index: 1; }
.timeline-track::after { content: ""; position: absolute; width: 1px; top: 20px; bottom: -2px; left: 5px; background: var(--line); }
.timeline-item:last-child .timeline-track::after { display: none; }
.timeline-content { padding: 6px 0 22px; border-bottom: 1px solid var(--line); }
.timeline-content strong { font-size: 13px; }
.timeline-content p { font-size: 11px; color: var(--ink-soft); margin-top: 5px; line-height: 1.45; }
.timeline-content .micro-tag { display: inline-block; margin-top: 8px; border-radius: 4px; padding: 4px 6px; font: 9px "DM Mono", monospace; background: #edf2e8; color: var(--moss); }

/* profile */
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 18px; }
.profile-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px; }
.profile-head { display: flex; gap: 17px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.profile-head .avatar { width: 61px; height: 61px; font-size: 20px; }
.profile-head h2 { font-family: "DM Sans", sans-serif; font-size: 21px; }
.profile-head p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.profile-section { padding-top: 21px; }
.profile-section h3 { text-transform: uppercase; color: var(--muted); font: 10px "DM Mono", monospace; letter-spacing: .1em; }
.data-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.data-point { padding: 13px; background: #f4f6f1; border-radius: 9px; }
.data-point span { display: block; color: var(--muted); font-size: 10px; }
.data-point strong { display: block; margin-top: 4px; font-size: 13px; }
.strengths { display: grid; gap: 10px; }
.strength { display: grid; grid-template-columns: 94px 1fr 32px; gap: 11px; align-items: center; font-size: 11px; }
.bar { height: 7px; background: #e4e9e3; border-radius: 10px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 10px; background: var(--moss); }
.strength strong { font-size: 11px; text-align: right; }
.source-note { padding: 16px; background: #f7f2e6; border-radius: 10px; color: #5d594b; font-size: 11px; line-height: 1.5; }

/* modal & welcome */
.modal-backdrop { position: fixed; inset: 0; z-index: 10; background: rgba(9, 28, 25, .58); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; }
.modal { max-width: 720px; width: 100%; max-height: calc(100vh - 40px); overflow: auto; border-radius: 18px; background: var(--paper); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.welcome-modal { max-width: 900px; overflow: hidden; }
.welcome { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 510px; }
.welcome-main { padding: 49px; background: var(--moss); color: white; position: relative; overflow: hidden; }
.welcome-main::after { content: ""; position: absolute; width: 380px; height: 380px; right: -150px; bottom: -160px; border-radius: 50%; border: 1px solid rgba(199,243,107,.5); box-shadow: 0 0 0 22px rgba(199,243,107,.05), 0 0 0 44px rgba(199,243,107,.08), 0 0 0 66px rgba(199,243,107,.06); }
.welcome-main .brand { padding: 0; margin-bottom: 64px; position: relative; z-index: 1; }
.welcome-main h1 { font-size: 48px; max-width: 420px; position: relative; z-index: 1; }
.welcome-main h1 em { color: var(--lime); }
.welcome-main p { color: #b7ccc5; line-height: 1.6; margin: 20px 0 25px; max-width: 390px; font-size: 14px; position: relative; z-index: 1; }
.welcome-main .button { position: relative; z-index: 1; }
.welcome-side { padding: 47px 35px; display: flex; flex-direction: column; }
.welcome-side h2 { font-family: "DM Sans", sans-serif; font-size: 17px; }
.welcome-side > p { color: var(--ink-soft); font-size: 12px; margin: 8px 0 23px; line-height: 1.55; }
.what-list { display: grid; gap: 16px; }
.what { display: flex; gap: 11px; align-items: flex-start; }
.what-icon { flex: 0 0 28px; height: 28px; color: var(--moss); background: var(--lime); border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.what strong { display: block; font-size: 12px; }
.what span { color: var(--muted); font-size: 11px; line-height: 1.4; display: block; margin-top: 2px; }
.demo-link { margin-top: auto; padding: 13px 0 0; background: none; border: 0; color: var(--ink-soft); font-size: 11px; text-decoration: underline; text-align: left; }

.wizard { max-width: 770px; }
.wizard-head { padding: 26px 30px 19px; border-bottom: 1px solid var(--line); }
.wizard-head-row { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.wizard-head h2 { font-family: "DM Sans", sans-serif; font-size: 19px; }
.close { border: 0; padding: 3px; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; }
.stepper { display: flex; gap: 7px; margin-top: 18px; }
.step { height: 3px; flex: 1; background: #e2e7df; border-radius: 4px; }
.step.active { background: var(--moss); }
.wizard-body { padding: 27px 30px; }
.wizard-kicker { color: var(--moss); font: 10px "DM Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.wizard-body h3 { font-family: "Playfair Display", serif; font-size: 28px; margin: 5px 0 7px; }
.wizard-body > p { color: var(--ink-soft); font-size: 12px; line-height: 1.5; margin-bottom: 23px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { color: var(--ink-soft); font-size: 11px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; color: var(--ink); border: 1px solid #d6ded6; border-radius: 8px; padding: 10px 11px; background: white; font-size: 13px; outline: none; }
.field textarea { min-height: 77px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgba(23,58,54,.08); }
.option-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.option { position: relative; }
.option input { opacity: 0; position: absolute; }
.option label { display: block; min-height: 58px; padding: 10px; border: 1px solid #d9dfd8; border-radius: 9px; color: var(--ink-soft); font-size: 11px; cursor: pointer; transition: .15s; }
.option label strong { display: block; color: var(--ink); font-size: 12px; margin-bottom: 2px; }
.option input:checked + label { border-color: var(--moss); background: #eaf1e5; box-shadow: inset 0 0 0 1px var(--moss); }
.wizard-foot { padding: 17px 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.wizard-foot .button:disabled { opacity: .4; pointer-events: none; }

.university-modal { max-width: 700px; }
.uni-modal-head { padding: 28px 30px 20px; background: var(--moss); color: white; position: relative; }
.uni-modal-head .close { position: absolute; top: 22px; right: 23px; color: #d2e0da; }
.uni-modal-head .region-tag { background: var(--lime); color: var(--moss); }
.uni-modal-head h2 { font-size: 29px; margin: 14px 28px 6px 0; }
.uni-modal-head p { font-size: 12px; color: #bdd0ca; }
.uni-modal-body { padding: 25px 30px 30px; }
.outlook { border-radius: 12px; padding: 16px; background: #edf4e9; display: flex; gap: 14px; align-items: center; }
.outlook-score { width: 51px; height: 51px; border-radius: 50%; background: var(--moss); color: var(--lime); display: grid; place-items: center; font-size: 15px; font-weight: 700; }
.outlook strong { display: block; font-size: 13px; }
.outlook span { display: block; color: var(--ink-soft); font-size: 11px; margin-top: 3px; line-height: 1.35; }
.requirement-list { margin: 22px 0; display: grid; gap: 9px; }
.requirement { padding: 12px; border-radius: 8px; background: #f5f6f2; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.4; }
.check { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 17px; color: var(--moss); background: var(--lime); border-radius: 50%; font-size: 10px; font-weight: 700; }
.source-card { padding: 14px; border: 1px solid var(--line); border-radius: 9px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.source-card span { color: var(--muted); display: block; font-size: 10px; margin-bottom: 3px; }
.source-card strong { font-size: 12px; }

/* Mission & information-first product surfaces */
.shortlist-top { min-height: 37px; padding: 0 12px; background: var(--blue-light); color: var(--blue); }
.shortlist-top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.card-actions { display: flex; gap: 7px; align-items: center; justify-content: flex-end; }
.favorite-button { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: 1px solid #dce4dc; color: var(--ink-soft); background: white; border-radius: 50%; transition: .15s; }
.favorite-button:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.favorite-button.saved { color: white; border-color: var(--blue); background: var(--blue); }
.favorite-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.favorite-button.saved svg { fill: currentColor; }

.section-kicker { color: var(--blue); font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.text-button { display: inline-flex; gap: 8px; align-items: center; padding: 0; border: 0; color: var(--blue); background: transparent; font-size: 12px; font-weight: 700; }
.text-button svg { width: 15px; height: 15px; }
.intro-hero { overflow: hidden; min-height: 530px; display: grid; grid-template-columns: 1.05fr .95fr; border-radius: 20px; background: var(--blue); color: white; }
.intro-hero { grid-template-columns: minmax(0, 1fr); }
.intro-copy { padding: clamp(34px, 5vw, 66px); position: relative; }
.intro-copy::after { content: ""; position: absolute; width: 315px; height: 315px; right: -220px; bottom: -200px; border: 1px solid rgba(199,243,107,.6); border-radius: 50%; box-shadow: 0 0 0 22px rgba(199,243,107,.09), 0 0 0 44px rgba(199,243,107,.06), 0 0 0 66px rgba(199,243,107,.04); }
.intro-copy .eyebrow { color: var(--lime); position: relative; z-index: 1; }
.intro-copy h1 { color: white; max-width: 510px; margin-top: 18px; font-size: clamp(45px, 5.2vw, 72px); position: relative; z-index: 1; }
.intro-copy h1 em { color: var(--lime); }
.intro-lead { max-width: 470px; margin-top: 23px; color: white; font: 600 18px/1.42 "DM Sans", sans-serif; position: relative; z-index: 1; }
.intro-story { max-width: 480px; margin-top: 14px; color: #c9d8e8; font-size: 13px; line-height: 1.65; position: relative; z-index: 1; }
.intro-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 27px; position: relative; z-index: 1; }
.button.light { background: rgba(255,255,255,.12); color: white; border: 1px solid rgba(255,255,255,.35); }
.button.light:hover { background: rgba(255,255,255,.2); }
.intro-image { min-height: 100%; position: relative; margin: 0; overflow: hidden; }
.intro-image { display: none; }
.intro-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,57,104,.3), transparent 35%, rgba(7,36,67,.08)); }
.intro-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.intro-image figcaption { position: absolute; z-index: 1; bottom: 22px; left: 24px; padding: 8px 11px; color: white; background: rgba(8,57,104,.76); border: 1px solid rgba(255,255,255,.25); border-radius: 7px; font: 10px "DM Mono", monospace; }
.mission-grid { display: grid; grid-template-columns: 1.15fr repeat(3, .72fr); gap: 12px; margin-top: 16px; }
.mission-statement, .mission-point { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 23px; }
.mission-statement { background: #e9f0e6; border-color: #d5e0d2; }
.mission-statement h2 { margin-top: 13px; font-size: 27px; max-width: 340px; }
.mission-statement p { max-width: 430px; margin-top: 10px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.mission-statement em { color: var(--blue); font-style: normal; font-weight: 700; }
.mission-point span { color: var(--blue); font: 11px "DM Mono", monospace; }
.mission-point h3 { margin-top: 29px; color: var(--blue); font-size: 14px; }
.mission-point p { margin-top: 7px; color: var(--ink-soft); font-size: 11px; line-height: 1.5; }
.intro-proof { margin-top: 16px; padding: 27px 29px; display: grid; grid-template-columns: 1.1fr .95fr auto; align-items: center; gap: 24px; border-radius: 14px; background: var(--moss); color: white; }
.intro-proof .section-kicker { color: var(--lime); }
.intro-proof h2 { margin-top: 9px; font-size: 25px; }
.intro-proof p { color: #bdd0ca; font-size: 12px; line-height: 1.55; }
.intro-proof .text-button { color: var(--lime); white-space: nowrap; }

.research-ribbon { padding: 15px 18px; margin: -4px 0 21px; display: grid; grid-template-columns: 1fr 1.35fr auto; gap: 18px; align-items: center; background: var(--blue-light); border: 1px solid #cedfee; border-radius: 12px; }
.research-ribbon .section-kicker { display: block; margin-bottom: 5px; }
.research-ribbon strong { color: var(--blue); display: block; font-size: 13px; }
.research-ribbon p { color: #31516e; font-size: 11px; line-height: 1.45; }
.directory-card h2 { color: var(--blue); }
.deadline-tag { max-width: 145px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--blue); background: var(--blue-light); }

.knowledge-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; margin-bottom: 23px; padding: 32px; background: var(--blue); color: white; border-radius: var(--radius); }
.knowledge-hero .section-kicker { color: var(--lime); }
.knowledge-hero h2 { margin-top: 11px; font-size: 32px; max-width: 560px; }
.knowledge-hero p { color: #c7d6e5; font-size: 13px; line-height: 1.6; margin-top: 13px; max-width: 570px; }
.knowledge-counts { display: grid; grid-template-columns: repeat(3, 1fr); align-self: end; gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; overflow: hidden; }
.knowledge-counts > div { padding: 16px 10px; background: rgba(3,31,62,.18); }
.knowledge-counts strong { display: block; color: var(--lime); font-size: 26px; letter-spacing: -.06em; }
.knowledge-counts span { display: block; color: #c7d6e5; font-size: 10px; line-height: 1.3; margin-top: 4px; }
.info-filters { margin-bottom: 16px; }
.information-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.info-card { display: flex; flex-direction: column; min-height: 272px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.info-card-top { display: flex; justify-content: space-between; align-items: center; }
.info-card h3 { margin-top: 16px; color: var(--blue); font-size: 14px; line-height: 1.25; }
.info-card .place { color: var(--muted); font-size: 11px; margin-top: 4px; }
.info-key { margin-top: 14px; padding: 10px 11px; background: #f1f5f7; border-left: 2px solid var(--blue); }
.info-key span { display: block; color: var(--blue); font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .07em; }
.info-key p { margin-top: 5px; color: var(--ink-soft); font-size: 10px; line-height: 1.42; }
.info-meta { display: flex; justify-content: space-between; gap: 9px; color: var(--muted); font: 9px "DM Mono", monospace; margin: 13px 0; }
.info-card .card-button { margin-top: auto; align-self: flex-start; }

.saved-count { display: inline-flex; color: var(--blue); background: var(--blue-light); padding: 8px 11px; border-radius: 8px; font: 11px "DM Mono", monospace; }
.shortlist-guide { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding: 15px 18px; border-radius: 11px; background: #eef4e8; border: 1px solid #d9e5d4; }
.shortlist-guide .section-kicker { flex: 0 0 140px; }
.shortlist-guide p { color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.shortlist-guide .text-button { white-space: nowrap; }
.shortlist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.shortlist-card { padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.shortlist-card h2 { margin-top: 16px; color: var(--blue); font-family: "DM Sans", sans-serif; font-size: 18px; }
.shortlist-card .place { color: var(--muted); font-size: 11px; margin: 5px 0 16px; }
.shortlist-fact { padding: 10px 0; border-top: 1px solid var(--line); }
.shortlist-fact span { display: block; color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.shortlist-fact p { color: var(--ink-soft); font-size: 11px; line-height: 1.42; margin-top: 5px; }
.shortlist-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.shortlist-card-foot a { color: var(--blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.shortlist-card-foot a:hover { text-decoration: underline; }
.empty-shortlist { max-width: 590px; margin: 45px auto; padding: 43px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.empty-mark { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; color: var(--blue); background: var(--blue-light); }
.empty-mark svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.empty-shortlist h2 { color: var(--blue); }
.empty-shortlist p { max-width: 380px; margin: 9px auto 21px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }

.priority-choice { display: grid; grid-template-columns: 1fr 190px; gap: 14px; align-items: end; padding: 15px; margin-top: 17px; border: 1px solid #cadbe8; border-radius: 10px; background: var(--blue-light); }
.priority-choice .wizard-kicker { margin-bottom: 5px; color: var(--blue); }
.priority-choice strong { display: block; color: var(--blue); font-size: 12px; }
.priority-choice span { display: block; color: #3d5e7b; font-size: 10px; line-height: 1.4; margin-top: 4px; }
.priority-choice select { width: 100%; padding: 10px; border: 1px solid #b9cfe2; color: var(--blue); background: white; border-radius: 8px; font-size: 12px; }

/* University-specific application calendar */
.calendar-layout { display: grid; grid-template-columns: minmax(250px, .73fr) minmax(0, 1.27fr); gap: 18px; align-items: start; }
.calendar-lead { position: sticky; top: 24px; padding: 29px; min-height: 336px; border-radius: var(--radius); color: white; background: var(--blue); overflow: hidden; }
.calendar-lead::after { content: ""; position: absolute; width: 190px; height: 190px; right: -82px; bottom: -85px; border-radius: 50%; border: 1px solid rgba(199,243,107,.55); box-shadow: 0 0 0 22px rgba(199,243,107,.07), 0 0 0 44px rgba(199,243,107,.05); }
.calendar-lead .eyebrow { color: var(--lime); position: relative; z-index: 1; }
.calendar-lead h2 { margin-top: 11px; font-size: 28px; position: relative; z-index: 1; }
.calendar-lead p { margin-top: 13px; color: #c7d6e5; font-size: 12px; line-height: 1.55; position: relative; z-index: 1; }
.calendar-lead p strong { color: var(--lime); }
.calendar-stats { display: flex; gap: 26px; margin-top: 23px; position: relative; z-index: 1; }
.calendar-stats strong { display: block; color: var(--lime); font-size: 25px; letter-spacing: -.06em; }
.calendar-stats span { color: #c7d6e5; display: block; font-size: 10px; margin-top: 2px; }
.calendar-lead .button { margin-top: 25px; position: relative; z-index: 1; }
.calendar-panel { overflow: hidden; }
.calendar-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 23px 25px 17px; border-bottom: 1px solid var(--line); }
.calendar-panel-head h2 { color: var(--blue); margin-top: 5px; font-family: "DM Sans", sans-serif; font-size: 18px; }
.calendar-panel-head > span { padding-top: 3px; color: var(--muted); font: 9px "DM Mono", monospace; white-space: nowrap; }
.calendar-list { padding: 8px 25px 18px; }
.calendar-item { display: grid; grid-template-columns: 118px 19px 1fr; gap: 14px; min-height: 129px; }
.calendar-date { padding-top: 14px; color: var(--blue); font: 10px/1.35 "DM Mono", monospace; text-transform: uppercase; }
.calendar-track { position: relative; }
.calendar-track::before { content: ""; position: absolute; z-index: 1; top: 13px; left: 0; width: 11px; height: 11px; border: 3px solid var(--blue); border-radius: 50%; background: var(--lime); }
.calendar-track::after { content: ""; position: absolute; top: 24px; bottom: -2px; left: 5px; width: 1px; background: #ccdce9; }
.calendar-item:last-child .calendar-track::after { display: none; }
.calendar-content { padding: 11px 0 22px; border-bottom: 1px solid var(--line); }
.calendar-content strong { display: block; margin-top: 8px; color: var(--ink); font-size: 13px; }
.calendar-content p { margin-top: 5px; color: var(--ink-soft); font-size: 11px; line-height: 1.48; }
.calendar-content a { display: inline-block; margin-top: 8px; color: var(--blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.calendar-content a:hover { text-decoration: underline; }
.calendar-tag { display: inline-block; padding: 4px 6px; color: #3f5f7c; background: #eef4f8; border-radius: 4px; font: 9px "DM Mono", monospace; }
.calendar-tag.hard-date { color: #2e561b; background: #e5f6cc; }
.recommendation-section { margin-top: 21px; padding: 26px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); }
.recommendation-head { display: flex; justify-content: space-between; gap: 20px; }
.recommendation-head h2 { margin-top: 8px; color: var(--blue); font-size: 27px; }
.recommendation-head p { margin-top: 8px; max-width: 630px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.recommendation-card { display: flex; flex-direction: column; min-height: 255px; padding: 17px; border: 1px solid #dbe3e4; border-radius: 12px; background: #fbfcfb; }
.recommendation-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--blue); font: 9px "DM Mono", monospace; }
.recommendation-meta span:last-child { color: var(--muted); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recommendation-card h3 { margin-top: 18px; color: var(--blue); font-size: 15px; line-height: 1.25; }
.recommendation-card > p { margin-top: 9px; color: var(--ink-soft); font-size: 11px; line-height: 1.48; }
.recommendation-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #e2e8e6; }
.recommendation-foot span { display: block; color: var(--muted); font-size: 10px; line-height: 1.35; }
.recommendation-foot a { display: inline-block; margin-top: 8px; color: var(--blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.recommendation-foot a:hover { text-decoration: underline; }

/* Full university requirements dossier */
.dossier-hero { padding: 30px; color: white; border-radius: var(--radius); background: var(--blue); overflow: hidden; position: relative; }
.dossier-hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: -132px; top: -190px; border: 1px solid rgba(199,243,107,.5); border-radius: 50%; box-shadow: 0 0 0 23px rgba(199,243,107,.07), 0 0 0 46px rgba(199,243,107,.04); }
.dossier-crumb, .dossier-hero-main, .dossier-hero-meta { position: relative; z-index: 1; }
.dossier-crumb { display: flex; justify-content: space-between; gap: 18px; align-items: center; color: #c7d6e5; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.dossier-crumb .text-button { padding: 0; color: var(--lime); }
.dossier-hero-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-top: 29px; }
.dossier-identity { display: flex; gap: 11px; align-items: center; color: #c7d6e5; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.dossier-identity .uni-badge { width: 36px; height: 36px; color: var(--blue); font-size: 10px; }
.dossier-hero h1 { max-width: 760px; margin-top: 18px; color: white; font-size: clamp(36px, 4.6vw, 64px); line-height: .96; letter-spacing: -.065em; }
.dossier-hero h1 em { color: var(--lime); }
.dossier-hero-main p { max-width: 760px; margin-top: 16px; color: #c9d9e8; font-size: 13px; line-height: 1.6; }
.dossier-save { display: inline-flex; flex-shrink: 0; gap: 8px; align-items: center; justify-content: center; min-width: 164px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.48); color: white; background: transparent; border-radius: 8px; font: 700 11px "DM Sans", sans-serif; cursor: pointer; }
.dossier-save svg { width: 16px; height: 16px; fill: none; stroke: currentColor; }
.dossier-save.saved { border-color: var(--lime); color: var(--blue); background: var(--lime); }
.dossier-save.saved svg { fill: currentColor; }
.dossier-hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.dossier-hero-meta div { padding-right: 14px; border-right: 1px solid rgba(255,255,255,.18); }
.dossier-hero-meta div:last-child { border: 0; }
.dossier-hero-meta span { display: block; color: #bcd0e2; font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.dossier-hero-meta strong { display: block; margin-top: 6px; color: white; font-size: 11px; line-height: 1.35; }

.dossier-alert { display: grid; grid-template-columns: .95fr 1.05fr; gap: 35px; margin-top: 18px; padding: 25px 29px; border: 1px solid #b9d59a; border-radius: var(--radius); background: #f2fae7; }
.dossier-alert .section-kicker { color: #47762f; }
.dossier-alert h2 { margin-top: 8px; color: var(--blue); font-size: 24px; letter-spacing: -.04em; }
.dossier-alert h2 em { color: #4d7b37; }
.dossier-alert > p { align-self: center; color: #355a42; font-size: 12px; line-height: 1.6; }

.dossier-layout { display: grid; grid-template-columns: minmax(190px, .44fr) minmax(0, 1.56fr); gap: 23px; margin-top: 22px; align-items: start; }
.dossier-toc { position: sticky; top: 23px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfb; }
.dossier-toc .section-kicker { margin-bottom: 11px; }
.dossier-toc > a { display: block; padding: 9px 0; border-bottom: 1px solid #e2e9e8; color: var(--blue); font-size: 11px; font-weight: 700; text-decoration: none; }
.dossier-toc > a:hover { color: #568229; }
.dossier-toc-note { margin-top: 18px; padding: 13px; border-radius: 8px; background: var(--blue-light); }
.dossier-toc-note strong { color: var(--blue); font-size: 11px; }
.dossier-toc-note p { margin-top: 5px; color: #49627a; font-size: 10px; line-height: 1.48; }
.dossier-content { min-width: 0; }
.dossier-section { margin-bottom: 16px; padding: 25px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: 22px; }
.dossier-section-heading { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.dossier-section-heading > span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--blue); background: var(--lime); border-radius: 50%; font: 9px "DM Mono", monospace; }
.dossier-section-heading h2 { color: var(--blue); font-family: "DM Sans", sans-serif; font-size: 20px; letter-spacing: -.03em; }
.dossier-section-heading p { margin-top: 5px; color: var(--ink-soft); font-size: 11px; line-height: 1.52; }
.dossier-list { list-style: none; margin: 4px 0 0; padding: 0; }
.dossier-row { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid #e7eceb; }
.dossier-row:last-child { padding-bottom: 0; border-bottom: 0; }
.dossier-status { align-self: start; width: fit-content; padding: 4px 6px; border-radius: 4px; color: #386022; background: #e4f5cf; font: 9px "DM Mono", monospace; }
.dossier-status.programme-specific, .dossier-status.live-check { color: #425f78; background: #eaf1f6; }
.dossier-status.not-published { color: #86531d; background: #fff0d8; }
.dossier-status.not-universally-required { color: #625886; background: #eee9fa; }
.dossier-status.alternative-route { color: #625886; background: #eee9fa; }
.dossier-status.safety-check { color: #626b72; background: #edf0f1; }
.dossier-status.required-for-most-applicants { color: #386022; background: #e4f5cf; }
.dossier-status.published-2025-26, .dossier-status.published-2026-27, .dossier-status.published-2027-28 { color: #174f82; background: #dbeafb; }
.dossier-row h3 { color: var(--ink); font-size: 12px; }
.dossier-row p { margin-top: 5px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }

.readiness-section { background: #fbfdf8; }
.readiness-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 19px; }
.readiness-card { min-height: 135px; padding: 16px; border: 1px solid #dce9d5; border-radius: 9px; background: white; }
.readiness-card > span { display: block; color: #547a31; font: 9px "DM Mono", monospace; text-transform: uppercase; }
.readiness-card strong { display: block; margin-top: 9px; color: var(--blue); font-size: 13px; line-height: 1.35; }
.readiness-card p { margin-top: 8px; color: var(--ink-soft); font-size: 10px; line-height: 1.48; }
.dossier-safety { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; padding: 27px; color: white; border-radius: var(--radius); background: #123e67; }
.dossier-safety .section-kicker { color: var(--lime); }
.dossier-safety h2 { margin-top: 7px; color: white; font-size: 23px; }
.dossier-safety p { max-width: 600px; margin-top: 7px; color: #c8d8e6; font-size: 11px; line-height: 1.55; }
.dossier-safety .button { flex-shrink: 0; }
.dossier-sources { padding: 25px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: 22px; }
.dossier-sources h2 { margin-top: 8px; color: var(--blue); font-size: 23px; letter-spacing: -.04em; }
.dossier-sources > p { margin-top: 5px; color: var(--ink-soft); font-size: 11px; }
.dossier-sources > div { display: grid; gap: 9px; margin-top: 19px; }
.dossier-sources a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px; border: 1px solid #dce5e5; color: var(--blue); background: #fbfcfb; border-radius: 8px; font-size: 11px; text-decoration: none; }
.dossier-sources a:hover { border-color: #82a9c7; background: var(--blue-light); }
.dossier-sources a b { flex-shrink: 0; color: #47762f; font-size: 10px; }

/* Secure in-app chat */
.chat-launcher { position: fixed; z-index: 9; right: 27px; bottom: 26px; display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px 0 8px; border: 0; border-radius: 24px; color: white; background: var(--blue); box-shadow: 0 14px 32px rgba(8,57,104,.28); font: 700 12px "DM Sans", sans-serif; transition: transform .15s, background .15s; }
.chat-launcher:hover { background: #062d50; transform: translateY(-2px); }
.chat-launcher-mark { display: grid; width: 30px; height: 30px; place-items: center; color: var(--blue); background: var(--lime); border-radius: 50%; font-size: 14px; }
.chat-modal { max-width: 820px; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; gap: 20px; padding: 25px 29px 20px; color: white; background: var(--blue); }
.chat-head .section-kicker { color: var(--lime); }
.chat-head h2 { margin-top: 7px; color: white; font-size: 28px; }
.chat-head h2 em { color: var(--lime); }
.chat-head p { margin-top: 5px; color: #c1d5e7; font-size: 11px; line-height: 1.45; }
.chat-head-actions { display: flex; align-items: flex-start; gap: 10px; }
.chat-head .close { color: #d5e3ef; }
.chat-reset { border: 1px solid rgba(255,255,255,.36); border-radius: 7px; color: white; background: transparent; padding: 7px 9px; font-size: 10px; font-weight: 700; }
.chat-reset:disabled { opacity: .45; cursor: default; }
.chat-privacy { padding: 11px 29px; border-bottom: 1px solid #d9e5ec; color: #45647e; background: #edf5fa; font-size: 10px; line-height: 1.5; }
.chat-privacy strong { color: var(--blue); }
.chat-feed { min-height: 320px; max-height: min(47vh, 490px); overflow-y: auto; padding: 22px 29px; background: #fafcfb; }
.chat-welcome { max-width: 620px; padding: 9px 0; }
.chat-welcome h3 { margin-top: 9px; color: var(--blue); font: 600 25px/1.1 "Playfair Display", serif; letter-spacing: -.04em; }
.chat-welcome > p { margin-top: 10px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.chat-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chat-prompts button { border: 1px solid #cfdfdf; border-radius: 8px; padding: 9px 10px; color: var(--blue); background: white; text-align: left; font-size: 10px; font-weight: 700; }
.chat-prompts button:hover { border-color: #789aba; background: var(--blue-light); }
.chat-message { width: fit-content; max-width: min(82%, 610px); margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; }
.chat-message > span { display: block; margin-bottom: 5px; font: 9px "DM Mono", monospace; letter-spacing: .03em; text-transform: uppercase; }
.chat-message p { font-size: 12px; line-height: 1.55; }
.from-guide { border: 1px solid #dce5e5; border-top-left-radius: 3px; color: var(--ink); background: white; }
.from-guide > span { color: #547a31; }
.from-user { margin-left: auto; border-bottom-right-radius: 3px; color: white; background: var(--blue); }
.from-user > span { color: var(--lime); }
.chat-thinking { opacity: .72; }
.chat-form { padding: 15px 20px 17px; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form textarea { display: block; width: 100%; min-height: 60px; padding: 10px 11px; border: 1px solid #ccd9d6; border-radius: 9px; color: var(--ink); background: white; font-size: 12px; line-height: 1.45; outline: none; resize: vertical; }
.chat-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,57,104,.08); }
.chat-form > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 9px; }
.chat-form > div > span { color: var(--muted); font-size: 9px; }
.chat-form .button:disabled { opacity: .55; pointer-events: none; }

/* Synapsis visual identity: original logo panel and mascot moments */
.brand.brand-visual { position: relative; display: block; min-height: 116px; margin: 0 0 28px; padding: 15px; overflow: hidden; border: 1px solid rgba(134, 242, 255, .35); border-radius: 15px; background-color: #04242a; background-image: linear-gradient(135deg, rgba(2, 27, 55, .08), rgba(3, 29, 30, .6)), url("assets/synapsis-logo.png"); background-repeat: no-repeat; background-size: cover; background-position: center 72%; box-shadow: inset 0 1px rgba(255,255,255,.12), 0 12px 24px rgba(0,0,0,.2); }
.brand.brand-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,32,48,.12), rgba(3,24,44,.34)); pointer-events: none; }
.brand-visual .brand-name, .brand-visual .brand-tagline { position: relative; z-index: 1; display: block; text-shadow: 0 2px 12px #001923; }
.brand-visual .brand-name { color: #fff; font-size: 22px; }
.brand-tagline { margin-top: 3px; color: var(--lime); font: 8px "DM Mono", monospace; letter-spacing: .06em; }
.brand.brand-visual { display: block; min-height: 0; margin: 0 0 33px; padding: 2px 9px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.brand.brand-visual::before, .brand.brand-visual::after { display: none; }
.brand-visual .brand-name, .brand-visual .brand-tagline { position: static; display: block; text-shadow: none; }
.brand-visual .brand-name { color: #fff; font-family: "DM Sans", sans-serif; font-size: 22px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.brand-visual .brand-name::first-letter { color: var(--lime); }
.brand-visual .brand-tagline { margin-top: 5px; color: var(--lime); font-size: 8px; letter-spacing: .08em; }
.brand-visual .brand-logo { display: block; width: 208px; max-width: 100%; height: auto; margin: 3px 0 16px; object-fit: contain; object-position: left center; }
.brand-visual .brand-name, .brand-visual .brand-tagline, .brand-visual .brand-mascot { display: none; }
.welcome-main .brand { width: 250px; height: 77px; margin-bottom: 45px; background: url("assets/synapsis-logo.png") left center / contain no-repeat; }
.welcome-main .brand .brand-mark, .welcome-main .brand .brand-name { display: none; }
.intro-image::before { content: ""; position: absolute; z-index: 3; width: 310px; height: 310px; right: -58px; top: 10px; opacity: .92; background: url("assets/synapsis-mascot.png") center / contain no-repeat; mix-blend-mode: screen; filter: drop-shadow(0 15px 18px rgba(0, 24, 39, .38)); animation: mascot-float 6s ease-in-out infinite; pointer-events: none; }
.intro-image figcaption { z-index: 4; }
.hero-card::after { width: 185px; height: 185px; right: -17px; top: 4px; border: 0; border-radius: 0; transform: none; opacity: .8; background: url("assets/synapsis-mascot.png") center / contain no-repeat; mix-blend-mode: screen; filter: drop-shadow(0 10px 18px rgba(0,0,0,.3)); }
.network-heading { position: relative; overflow: hidden; min-height: 104px; padding-right: 160px; }
.network-heading::after { content: ""; position: absolute; z-index: -1; width: 170px; height: 170px; top: -42px; right: -13px; opacity: .7; background: url("assets/synapsis-mascot.png") center / contain no-repeat; mix-blend-mode: multiply; }
@keyframes mascot-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* No decorative image/mascot in the interface. */
.intro-image::before,
.hero-card::after,
.network-heading::after {
  content: none;
  display: none;
  background: none;
}

/* Local student network */
.network-heading { align-items: flex-end; }
.network-count { display: grid; min-width: 132px; padding: 14px 17px; border: 1px solid #cad9d8; border-radius: 10px; background: #fff; }
.network-count strong { color: var(--blue); font: 600 31px/1 "Playfair Display", serif; }
.network-count span { margin-top: 4px; color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.network-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.network-feed { min-width: 0; }
.network-compose, .network-post, .network-follow-card, .network-note { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(22, 54, 64, .035); }
.network-compose { display: flex; gap: 13px; padding: 18px; }
.network-avatar { display: grid; flex: 0 0 39px; width: 39px; height: 39px; place-items: center; border-radius: 50%; color: var(--blue); background: var(--network-avatar, #dce9f8); font: 700 11px "DM Mono", monospace; }
.network-avatar.mine { color: #224400; background: var(--lime); }
.network-compose form { width: 100%; }
.network-compose textarea { display: block; width: 100%; min-height: 76px; border: 0; color: var(--ink); background: transparent; font: 500 13px/1.55 "DM Sans", sans-serif; outline: 0; resize: vertical; }
.network-compose textarea::placeholder { color: #91a0a0; }
.network-compose form > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 11px; border-top: 1px solid #e6eeee; }
.network-compose form > div > span { color: var(--muted); font-size: 10px; }
.network-feed-label { display: flex; align-items: center; justify-content: space-between; margin: 26px 2px 11px; color: var(--muted); font: 10px "DM Mono", monospace; }
.network-post { margin-bottom: 13px; padding: 20px 21px 0; }
.network-post-head { display: flex; align-items: center; gap: 11px; }
.network-post-head strong { display: block; color: var(--blue); font-size: 12px; }
.network-post-head span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.network-post-copy { margin: 16px 0 18px; color: var(--ink); font-size: 13px; line-height: 1.65; }
.network-post-actions { display: flex; gap: 5px; border-top: 1px solid #e8eeee; }
.network-action { display: inline-flex; align-items: center; gap: 7px; padding: 11px 10px; border: 0; color: #647b81; background: transparent; font: 700 10px "DM Sans", sans-serif; }
.network-action svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.network-action:hover, .network-action.liked { color: #2d6b32; }
.network-action.liked svg { fill: #70b942; stroke: #70b942; }
.network-comments { margin: 0 -21px; padding: 14px 21px 17px; border-top: 1px solid #e8eeee; background: #f8fbfa; }
.network-comment { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; color: #52646a; font-size: 11px; line-height: 1.45; }
.network-comment b { color: var(--blue); font-size: 10px; }
.network-comment-form { display: flex; gap: 8px; margin-top: 9px; }
.network-comment-form input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #cfdddd; border-radius: 7px; color: var(--ink); background: #fff; font: 11px "DM Sans", sans-serif; outline: none; }
.network-comment-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8,57,104,.07); }
.network-comment-form .button { padding: 0 12px; }
.network-side { position: sticky; top: 24px; display: grid; gap: 14px; }
.network-follow-card { padding: 21px; }
.network-follow-card h2 { margin-top: 8px; color: var(--blue); font-size: 24px; letter-spacing: -.04em; }
.network-follow-card > p { margin-top: 7px; color: var(--ink-soft); font-size: 11px; line-height: 1.55; }
.network-school-list { display: grid; gap: 2px; margin-top: 18px; }
.network-school { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #edf1f0; }
.network-school:last-child { border-bottom: 0; }
.network-school .uni-badge { width: 30px; height: 30px; font-size: 9px; }
.network-school strong, .network-school span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.network-school strong { color: var(--blue); font-size: 10px; }
.network-school span { margin-top: 2px; color: var(--muted); font-size: 9px; }
.network-follow { border: 1px solid #c4d5d3; border-radius: 6px; padding: 6px 7px; color: var(--blue); background: #fff; font: 700 9px "DM Sans", sans-serif; }
.network-follow:hover, .network-follow.following { border-color: var(--lime); color: #285c20; background: #ebf8dd; }
.network-note { padding: 17px 19px; border-color: #d4e6d0; background: #f6fbf2; }
.network-note strong { color: #315f2d; font-size: 11px; }
.network-note p { margin-top: 5px; color: #62795f; font-size: 10px; line-height: 1.55; }

/* Student housing */
.housing-heading { align-items: flex-end; }
.housing-count { display: grid; min-width: 150px; padding: 14px 17px; border: 1px solid #d5e4e2; border-radius: 10px; background: #fff; }
.housing-count strong { color: var(--blue); font: 600 31px/1 "Playfair Display", serif; }
.housing-count span { margin-top: 4px; color: var(--muted); font: 9px "DM Mono", monospace; text-transform: uppercase; }
.housing-guide { display: grid; grid-template-columns: minmax(0,1fr) 130px; min-height: 162px; margin-bottom: 19px; padding: 24px 28px; overflow: hidden; color: #e8f7ef; background: linear-gradient(125deg, #093b68, #113f3a); border-radius: var(--radius); }
.housing-guide h2 { margin-top: 8px; color: white; font-size: 29px; letter-spacing: -.04em; }
.housing-guide p { max-width: 570px; margin-top: 8px; color: #bfd7ce; font-size: 12px; line-height: 1.55; }
.housing-guide .section-kicker { color: var(--lime); }
.housing-guide-mark { align-self: center; color: var(--lime); font: 85px/1 "Playfair Display", serif; text-align: center; transform: rotate(-5deg); text-shadow: 0 0 32px rgba(199,243,107,.22); }
.housing-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.housing-filters label { display: grid; gap: 5px; color: var(--muted); font: 9px "DM Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.housing-filters select { min-width: 166px; padding: 8px 28px 8px 9px; border: 1px solid #cfdeda; border-radius: 7px; color: var(--blue); background: #fbfcfb; font: 600 11px "DM Sans", sans-serif; outline: none; }
.housing-filters > span { margin-left: auto; padding-bottom: 8px; color: var(--muted); font-size: 10px; }
.housing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.housing-card { display: flex; flex-direction: column; min-height: 311px; padding: 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 9px 26px rgba(22,54,64,.035); }
.housing-card-image { width: calc(100% + 38px); height: 126px; margin: -19px -19px 16px; border-radius: 13px 13px 0 0; object-fit: cover; background: #dce9e7; }
.uni-card { overflow: hidden; }
.uni-card-image { display: block; width: calc(100% + 32px); height: 118px; margin: -16px -16px 16px; object-fit: cover; background: #dbe8f8; }
.account-top { color: #104d40; background: #e7f8df; border: 1px solid #bce8a7; }
.account-modal { width: min(470px, calc(100vw - 28px)); padding: 32px; }
.account-modal h2 { margin: 8px 0; color: var(--blue); font-size: 31px; }
.account-modal > p { color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.account-modal form { display: grid; gap: 14px; margin: 23px 0 15px; }
.account-modal form > label:not(.account-check) { display: grid; gap: 6px; color: var(--ink-soft); font: 600 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.account-modal input[type="email"], .account-modal input[type="password"] { min-height: 43px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; font: 14px "DM Sans", sans-serif; }
.account-check { display: flex; align-items: flex-start; gap: 8px; color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.account-check input { margin-top: 2px; accent-color: var(--blue); }
.account-error { min-height: 17px; margin: 0; color: #ae2e2e; font-size: 11px; }
.brand-visual { display: flex; flex-direction: column; align-items: flex-start; }
.brand-visual .brand-logo { display: block; width: 184px; height: auto; max-height: 42px; object-fit: contain; object-position: left center; filter: drop-shadow(0 0 1px rgba(255,255,255,.85)); }
.brand-visual .brand-name, .brand-visual .brand-tagline { display: none; }
.brand-mascot { width: 142px; height: 84px; margin: 4px 0 8px -7px; object-fit: cover; object-position: center 42%; filter: drop-shadow(0 7px 10px rgba(13, 199, 86, .22)); }
@media (max-width: 860px) { .brand-visual .brand-logo { width: 170px; height: auto; margin: 2px 0 10px; } }
.housing-card-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.housing-type { padding: 5px 7px; border-radius: 999px; color: #315f2d; background: #eaf7dc; font: 700 8px "DM Mono", monospace; letter-spacing: .02em; text-transform: uppercase; }
.housing-city { color: var(--muted); font-size: 9px; text-align: right; }
.housing-card h2 { margin-top: 15px; color: var(--blue); font-size: 21px; letter-spacing: -.04em; }
.housing-provider { min-height: 29px; margin-top: 5px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.housing-price { margin-top: 14px; color: #245c2b; font: 600 22px/1 "Playfair Display", serif; }
.housing-facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.housing-facts span { padding: 4px 6px; border-radius: 5px; color: #52706c; background: #eff5f2; font-size: 8px; }
.housing-note { display: -webkit-box; overflow: hidden; margin: 14px 0; color: #52646a; font-size: 10px; line-height: 1.5; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.housing-card .button { width: 100%; margin-top: auto; }
.housing-empty { padding: 50px 25px; border: 1px dashed #bdcfcc; border-radius: 13px; color: var(--ink-soft); text-align: center; background: #fbfcfa; }
.housing-empty h2 { color: var(--blue); }
.housing-empty p { margin-top: 7px; font-size: 12px; }
.housing-footnote { margin: 17px 3px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.toast { position: fixed; z-index: 20; right: 25px; bottom: 25px; background: var(--moss); color: white; border-radius: 10px; box-shadow: var(--shadow); padding: 12px 15px; font-size: 12px; animation: slide .25s ease; }
@keyframes slide { from { transform: translateY(15px); opacity: 0; } }

@media (max-width: 1120px) { .recommendations, .university-grid { grid-template-columns: repeat(2, 1fr); } .hero-grid { grid-template-columns: 1.25fr .75fr; } }
@media (max-width: 860px) { .app-shell { display: block; } .sidebar { height: auto; min-height: 0; padding: 15px; position: static; display: block; } .brand { margin: 0 0 12px; } .nav-label, .sidebar-bottom { display: none; } .nav { display: flex; overflow-x: auto; } .nav-item { white-space: nowrap; padding: 8px 10px; } .main { padding: 24px 20px 40px; } .dashboard-grid, .roadmap-layout, .profile-layout { grid-template-columns: 1fr; } .action-panel { order: -1; } .roadmap-lead { position: static; min-height: 270px; } }
@media (max-width: 590px) { .main { padding: 20px 14px 30px; } .topbar { margin-bottom: 21px; } .top-actions .icon-button { display: none; } .page-heading { display: block; } .page-heading .button { margin-top: 15px; } .hero-grid, .welcome, .recommendations, .university-grid { grid-template-columns: 1fr; } .hero-card { min-height: 245px; padding: 24px; } .profile-quick { min-height: 205px; } .wizard-body, .wizard-head, .wizard-foot, .uni-modal-body { padding-left: 20px; padding-right: 20px; } .form-grid, .option-grid { grid-template-columns: 1fr; } .form-grid .field.wide { grid-column: auto; } .welcome-main, .welcome-side { padding: 31px 26px; } .welcome-main .brand { margin-bottom: 40px; } .welcome-main h1 { font-size: 38px; } .welcome-side { min-height: 350px; } .data-grid { grid-template-columns: 1fr; } .timeline-item { grid-template-columns: 70px 19px 1fr; gap: 7px; } }

@media (max-width: 1120px) {
  .mission-grid { grid-template-columns: 1.15fr repeat(3, 1fr); }
  .information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .intro-hero, .knowledge-hero { grid-template-columns: 1fr; }
  .intro-image { min-height: 340px; }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-statement { grid-column: 1 / -1; }
  .intro-proof, .research-ribbon { grid-template-columns: 1fr; }
  .intro-proof .text-button { justify-self: start; }
  .shortlist-guide { align-items: flex-start; flex-direction: column; }
  .calendar-layout { grid-template-columns: 1fr; }
  .calendar-lead { position: static; min-height: 275px; }
  .dossier-alert, .dossier-layout { grid-template-columns: 1fr; }
  .dossier-toc { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .dossier-toc .section-kicker, .dossier-toc-note { grid-column: 1 / -1; }
}
@media (max-width: 590px) {
  .shortlist-top { display: none; }
  .intro-hero { min-height: 0; }
  .intro-copy { padding: 34px 25px 39px; }
  .intro-copy h1 { font-size: 46px; }
  .intro-image { min-height: 260px; }
  .mission-grid, .information-grid, .shortlist-grid { grid-template-columns: 1fr; }
  .mission-statement { grid-column: auto; }
  .knowledge-hero { padding: 25px; }
  .knowledge-counts { grid-template-columns: 1fr; }
  .knowledge-counts > div { padding: 11px 13px; }
  .info-meta { flex-direction: column; }
  .priority-choice { grid-template-columns: 1fr; }
  .intro-proof { padding: 23px; }
  .research-ribbon { gap: 10px; }
  .calendar-panel-head { padding: 20px; }
  .calendar-list { padding: 6px 17px 16px; }
  .calendar-item { grid-template-columns: 80px 18px 1fr; gap: 8px; }
  .calendar-date { font-size: 9px; }
  .recommendation-section { padding: 20px; }
  .recommendation-grid { grid-template-columns: 1fr; }
  .dossier-hero { padding: 23px; }
  .dossier-hero-main { display: block; margin-top: 21px; }
  .dossier-hero h1 { font-size: 42px; }
  .dossier-save { margin-top: 19px; }
  .dossier-hero-meta { grid-template-columns: 1fr; gap: 12px; }
  .dossier-hero-meta div { padding: 0 0 11px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .dossier-hero-meta div:last-child { padding-bottom: 0; border-bottom: 0; }
  .dossier-alert, .dossier-section, .dossier-sources { padding: 21px; }
  .dossier-alert h2 { font-size: 22px; }
  .dossier-toc { grid-template-columns: 1fr; }
  .dossier-row { grid-template-columns: 1fr; gap: 9px; }
  .readiness-grid { grid-template-columns: 1fr; }
  .dossier-safety { display: block; padding: 22px; }
  .dossier-safety .button { margin-top: 17px; }
  .dossier-sources a { align-items: flex-start; flex-direction: column; }
  .chat-launcher { right: 16px; bottom: 16px; }
  .chat-modal { max-height: calc(100vh - 24px); }
  .chat-head { padding: 20px; }
  .chat-head h2 { font-size: 25px; }
  .chat-privacy { padding: 10px 20px; }
  .chat-feed { min-height: 285px; max-height: 46vh; padding: 18px 20px; }
  .chat-message { max-width: 92%; }
  .chat-form { padding: 13px 14px 15px; }
  .chat-form > div > span { display: none; }
  .chat-form > div { justify-content: flex-end; }
}

.documents-heading { position: relative; }
.documents-progress { min-width: 128px; padding: 14px 17px; border: 1px solid #cbd9d4; border-radius: 12px; background: #fff; }
.documents-progress strong { display: block; color: var(--blue); font: 600 29px/1 "Playfair Display", serif; }
.documents-progress span { color: var(--muted); font: 10px "DM Mono", monospace; text-transform: uppercase; }
.documents-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; align-items: start; gap: 20px; }
.documents-main { display: grid; gap: 18px; }
.checklist-card, .document-card, .documents-side section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 10px 28px rgba(22,54,64,.035); }
.checklist-card, .document-card { padding: 24px; }
.checklist-head, .document-card-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.checklist-head h2, .document-card-head h2 { margin-top: 7px; }
.document-card-head p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.checklist-meter { width: 150px; height: 7px; flex: 0 0 auto; overflow: hidden; margin-top: 19px; border-radius: 999px; background: #e2ebe6; }
.checklist-meter i { display: block; height: 100%; border-radius: inherit; background: var(--lime-dark); transition: width .25s ease; }
.checklist-items { margin-top: 20px; border-top: 1px solid #e5ece7; }
.checklist-item { width: 100%; padding: 13px 0; display: grid; grid-template-columns: 29px minmax(0,1fr) auto; gap: 10px; align-items: center; text-align: left; color: var(--ink); border: 0; border-bottom: 1px solid #e5ece7; background: transparent; }
.checklist-item:hover strong { color: var(--blue); }
.checklist-item.done strong { color: #5c7770; text-decoration: line-through; }
.checklist-item > span:last-child { color: var(--muted); font-size: 11px; }
.checklist-box { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #b9cdc4; border-radius: 7px; color: #173a36; font-size: 13px; font-weight: 800; }
.done .checklist-box { border-color: var(--lime-dark); background: var(--lime); }
.document-upload { white-space: nowrap; }
.document-list { margin-top: 21px; border-top: 1px solid #e5ece7; }
.document-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #e5ece7; }
.document-file-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--blue); background: var(--blue-light); font: 700 9px "DM Mono", monospace; }
.document-row strong, .document-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-row span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.document-actions { display: flex; gap: 7px; }
.document-actions .icon-button:last-child { color: #a14b42; }
.document-empty { display: grid; gap: 5px; min-height: 116px; margin-top: 20px; padding: 26px; place-content: center; border: 1px dashed #c9d6d0; border-radius: 12px; color: var(--ink-soft); text-align: center; }
.document-empty span { color: var(--muted); font-size: 12px; }
.documents-side { display: grid; gap: 13px; position: sticky; top: 25px; }
.documents-side section { padding: 20px; }
.documents-side h2 { margin-top: 7px; }
.documents-side p { margin-top: 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
@media (max-width: 860px) { .documents-layout { grid-template-columns: 1fr; } .documents-side { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 590px) { .documents-heading { align-items: flex-start; } .documents-progress { margin-top: 14px; } .checklist-card, .document-card { padding: 18px; } .checklist-head, .document-card-head { display: grid; } .checklist-meter { width: 100%; margin-top: 0; } .document-upload { width: 100%; } .documents-side { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .network-layout { grid-template-columns: 1fr; }
  .network-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); }
}
@media (max-width: 590px) {
  .network-heading { align-items: flex-start; }
  .network-count { margin-top: 15px; }
  .network-compose, .network-post { padding-left: 15px; padding-right: 15px; }
  .network-comments { margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px; }
  .network-side { grid-template-columns: 1fr; }
  .network-compose form > div > span { display: none; }
  .brand.brand-visual { min-height: 86px; margin-bottom: 13px; background-position: center 71%; }
  .brand-visual .brand-name { font-size: 19px; }
  .intro-image::before { width: 220px; height: 220px; right: -48px; top: 3px; }
  .hero-card::after { width: 135px; height: 135px; right: -22px; }
  .network-heading { padding-right: 88px; }
  .network-heading::after { width: 115px; height: 115px; top: -18px; right: -27px; }
}

@media (max-width: 860px) {
  .housing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
  .housing-heading { align-items: flex-start; }
  .housing-count { margin-top: 14px; }
  .housing-guide { grid-template-columns: 1fr 68px; min-height: 0; padding: 22px; }
  .housing-guide h2 { font-size: 25px; }
  .housing-guide-mark { font-size: 58px; }
  .housing-filters { align-items: stretch; }
  .housing-filters label, .housing-filters select { width: 100%; }
  .housing-filters > span { margin-left: 0; padding: 3px 0 0; }
  .housing-grid { grid-template-columns: 1fr; }
}

/* Responsive product shell: touch-first on phones, spacious on desktop. */
html, body { overflow-x: hidden; }
@media (min-width: 1441px) {
  .main { padding-left: clamp(40px, 5vw, 92px); padding-right: clamp(40px, 5vw, 92px); }
}
@media (max-width: 860px) {
  .app-shell { width: 100%; }
  .sidebar { position: sticky; top: 0; z-index: 15; padding: 11px 14px 9px; border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 6px 18px rgba(7,46,82,.12); }
  .brand.brand-visual { width: 150px; min-height: 52px; height: 52px; margin: 0 0 9px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .brand-visual .brand-logo { width: 150px; margin: 0; }
  .nav { gap: 5px; margin: 0 -3px; padding: 2px 3px 3px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; min-height: 42px; padding: 8px 11px; gap: 7px; border-radius: 9px; font-size: 12px; }
  .main { width: 100%; min-width: 0; padding: 22px 20px calc(42px + env(safe-area-inset-bottom)); }
  .topbar { flex-wrap: wrap; gap: 11px; align-items: center; }
  .topbar > .eyebrow { flex: 1 1 100%; }
  .top-actions { max-width: 100%; gap: 7px; overflow-x: auto; scrollbar-width: none; }
  .top-actions::-webkit-scrollbar { display: none; }
  .top-actions .button { min-height: 40px; padding: 0 12px; font-size: 12px; white-space: nowrap; }
  .page-heading { gap: 13px; }
  .page-heading > div { min-width: 0; }
  .button, .nav-item, select, input, textarea { touch-action: manipulation; }
  .button { min-height: 44px; }
  .hero-card, .profile-quick, .panel, .knowledge-hero, .intro-proof, .research-ribbon { min-width: 0; }
  .chat-modal { width: min(820px, calc(100vw - 20px)); margin: 0 10px; }
}
@media (max-width: 480px) {
  .sidebar { padding-left: 11px; padding-right: 11px; }
  .brand.brand-visual { width: 132px; height: 46px; min-height: 46px; }
  .brand-visual .brand-logo { width: 132px; }
  .nav-item { min-height: 44px; padding: 8px 10px; font-size: 11px; }
  .nav-icon, .nav-icon svg { width: 16px; height: 16px; }
  .main { padding: 18px 13px calc(34px + env(safe-area-inset-bottom)); }
  .topbar { margin-bottom: 18px; }
  .top-actions { width: 100%; }
  .top-actions .primary { margin-left: auto; }
  .page-heading h1 { font-size: clamp(31px, 10vw, 42px); }
  .heading-copy { font-size: 13px; line-height: 1.5; }
  .intro-copy { padding: 28px 20px 31px; }
  .intro-copy h1 { font-size: clamp(38px, 12vw, 50px); }
  .hero-card { padding: 21px; }
  .knowledge-hero, .dossier-alert, .dossier-section, .dossier-sources { border-radius: 14px; }
  .knowledge-counts { gap: 7px; }
  .knowledge-counts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .information-grid, .university-grid, .shortlist-grid, .housing-grid { grid-template-columns: minmax(0, 1fr); }
  .chat-launcher { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 48px; }
  .chat-modal { max-height: calc(100dvh - 16px); }
  .chat-head { padding: 17px 16px 15px; }
  .chat-head h2 { font-size: 23px; }
  .chat-privacy { padding-left: 16px; padding-right: 16px; }
  .chat-feed { padding: 16px; }
  .chat-form { padding: 11px 12px calc(12px + env(safe-area-inset-bottom)); }
  .chat-message { max-width: 94%; }
  .modal-card, .wizard, .uni-modal { width: calc(100vw - 20px); max-width: calc(100vw - 20px); }
}
