@charset "UTF-8";
:root {
  --page-gutter: clamp(52px, 3.75vw, 64px);
  --header-gutter: var(--page-gutter);
  --paper: var(--tone-paper);
  --white: var(--tone-surface);
  --nav-surface: color-mix(in srgb,var(--white) 94%,transparent);
  --ink: var(--tone-title);
  --text: var(--tone-body);
  --muted: var(--tone-secondary);
  --quiet: var(--tone-caption);
  --line: var(--tone-stroke);
  --soft: var(--tone-soft);
  --blue: var(--tone-accent);
  --blue-dark: var(--tone-strong);
  --sky: var(--tone-secondary);
  --ice: var(--tone-ice);
  --danger: var(--tone-strong);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --ease: cubic-bezier(.22, .68, .15, 1.01);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html { scrollbar-gutter: stable; }
body.dialog-open { overflow: hidden; }
::selection { background: var(--tone-selected); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { color: inherit; cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { outline: none; }
:focus-visible { outline: 2px solid var(--tone-accent); outline-offset: 5px; }
button:disabled, input:disabled { cursor: default; opacity: .6; }
button:disabled { transform: none !important; }
svg { display: inline-block; flex-shrink: 0; vertical-align: middle; }
svg.icon, .btn svg, .icon-btn svg, .text-link svg, .nav-link svg { width: 18px; height: 18px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { list-style: none; margin: 0; padding: 0; }
small { font-size: 12px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 1000; padding: 12px 24px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.value { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--blue); }
.full-width { width: 100%; grid-column: 1 / -1; }
.divider { height: 1px; border: 0; margin: 28px 0; background: var(--line); }
.inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }

/* A quiet, continuous shell. */
.site-header, #site-header { position: sticky; top: 0; z-index: 40; height: 88px; background: var(--nav-surface); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
#site-header .site-header { position: static; }
.header-inner { height: 100%; padding-inline: var(--header-gutter); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; background: none; padding: 0; }
.brand-logo { display: block; width: clamp(112px, 16vw, 146px); height: auto; flex: none; color-scheme: light; }
:root[data-ink=light] .brand-logo { color-scheme: dark; }
@media (max-width: 640px) { .brand-logo { width: clamp(98px, 29vw, 116px); } }
.brand > svg { width: 34px; height: 34px; color: var(--blue); }
.brand-name { display: block; font-size: 23px; font-weight: 550; letter-spacing: .14em; line-height: 1.15; }
.brand-en { display: block; font-size: 8px; letter-spacing: .3em; margin-top: 6px; color: var(--muted); line-height: 1; }
.desktop-nav { display: flex; align-items: center; gap: 36px; height: 100%; }
.nav-link { padding: 10px 0; position: relative; background: transparent; font-size: 13px; color: var(--tone-secondary); white-space: nowrap; transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link::after { position: absolute; content: ""; bottom: 0; left: 50%; width: 14px; height: 2px; background: var(--blue); transform: translateX(-50%) scaleX(0); transition: transform .25s var(--ease); border-radius: 1px; }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-actions .btn { min-height: 40px; padding: 10px 22px; font-size: 12px; }
.header-actions .btn-ghost { padding: 7px 0; }
.avatar { border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--tone-selected); color: var(--blue); font-size: 13px; flex-shrink: 0; }
.mobile-menu-button { display: none !important; }
.mobile-nav { display: none; }
.user-menu { position: absolute; top: 72px; inset-inline-end: var(--header-gutter); min-width: 180px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 42px #17477c12; padding: 8px; }
.user-menu button, .user-menu a { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 13px; background: transparent; border-radius: 7px; font-size: 13px; }
.user-menu button:hover, .user-menu a:hover { background: var(--soft); }

/* Controls are compact and deliberately limited. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 25px; min-height: 46px; border-radius: 7px; font-size: 13px; line-height: 1.4; font-weight: 500; white-space: nowrap; border: 1px solid transparent; background: none; transition: background .22s, border-color .22s, color .22s, transform .25s var(--ease), box-shadow .22s; }
.btn-primary { color: var(--tone-surface); background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-primary:hover { background: var(--tone-strong); border-color: var(--tone-strong); box-shadow: 0 6px 16px #17477c12; transform: translateY(-1px); }
.btn-secondary { color: var(--ink); border-color: var(--tone-outline); background: color-mix(in srgb,var(--white) 24%,transparent); }
.btn-secondary:hover { background: var(--soft); border-color: var(--tone-track); transform: translateY(-1px); }
.btn-ghost { color: var(--text); padding: 10px 13px; }
.btn-ghost:hover { background: var(--soft); }
.btn-sm { min-height: 36px; padding: 8px 15px; gap: 8px; font-size: 12px; }
.icon-btn { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: transparent; border-radius: 50%; color: var(--muted); transition: color .2s, background .2s; flex-shrink: 0; }
.icon-btn:hover, .icon-btn.active, .icon-btn[aria-pressed="true"] { color: var(--blue); background: var(--ice); }
.text-link { display: inline-flex; align-items: center; gap: 9px; background: none; padding: 6px 0; color: var(--blue); font-size: 12px; white-space: nowrap; }
.text-link:hover { color: var(--blue-dark); }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.eyebrow { display: block; color: var(--muted); font-size: 10px; letter-spacing: .2em; font-weight: 500; text-transform: uppercase; }
.tag, .badge { display: inline-flex; align-items: center; padding: 3px 8px; background: var(--tone-ice); border-radius: 4px; color: var(--tone-secondary); font-size: 11px; line-height: 1.5; white-space: nowrap; }
.badge { background: var(--tone-selected); color: var(--blue); }
.status { display: inline-block; color: var(--blue); background: var(--tone-ice); font-size: 11px; line-height: 1.7; border-radius: 4px; padding: 3px 9px; white-space: nowrap; }
.status.paused, .status.withdrawn { background: var(--tone-ice); color: var(--tone-secondary); }

/* The homepage unfolds like an editorial opening. */
.hero { min-height: 720px; height: calc(100svh - 88px); max-height: 1080px; position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, var(--tone-surface) 0, var(--tone-paper) 36%, var(--tone-soft) 100%); }
#particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-content { width: 100%; max-width: 760px; position: relative; margin: -36px auto 0; text-align: center; padding: 50px 24px 72px; animation: arrive 1s var(--ease) both; }
.hero-content > .eyebrow { font-size: 9px; letter-spacing: .28em; color: var(--tone-secondary); margin: 0 0 31px; }
.hero-title { font-family: var(--serif); font-size: clamp(62px,6.2vw,92px); font-weight: 400; line-height: 1.38; letter-spacing: .055em; margin-left: .055em; color: var(--tone-title); }
.hero-title span { color: var(--tone-accent); }
.hero-description { margin: 26px 0 0; font-size: 14px; letter-spacing: .16em; color: var(--tone-secondary); }
.hero-actions { display: flex; justify-content: center; gap: 15px; margin-top: 44px; }
.hero-bottom { position: absolute; bottom: 31px; inset-inline: var(--page-gutter); display: flex; justify-content: space-between; align-items: flex-end; color: var(--tone-caption); font-size: 10px; letter-spacing: .15em; }
.hero-bottom > :last-child { text-align: right; }
.scroll-indicator { position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 13px; background: none; color: var(--tone-caption); font-size: 9px; letter-spacing: .16em; }
.scroll-indicator::after { content: ""; display: block; width: 1px; height: 29px; background: color-mix(in srgb,currentColor 32%,transparent); animation: breathe 3s ease-in-out infinite; }
.scroll-indicator svg { width: 16px; height: 16px; }
.home-section, .home-pathways, .site-footer, .page-shell { margin-inline: var(--page-gutter); }
.home-pathways { display: grid; grid-template-columns: repeat(3,1fr); padding: 88px 0 84px; border-bottom: 1px solid var(--line); }
.pathway { position: relative; background: none; text-align: left; padding: 0 46px; border-right: 1px solid var(--line); }
.pathway:first-child { padding-left: 0; }
.pathway:last-child { padding-right: 0; border-right: 0; }
.pathway-index { display: block; font-size: 10px; font-family: var(--sans); letter-spacing: .18em; margin-bottom: 20px; color: var(--tone-caption); }
.pathway-title { font-family: var(--serif); font-size: 26px; font-weight: 400; margin-bottom: 9px; }
.pathway-copy { color: var(--muted); font-size: 12px; margin-top: 9px; }
.pathway .text-link { margin-top: 25px; }
.pathway > svg { position: absolute; right: 36px; top: 49px; width: 20px; height: 20px; color: var(--sky); }
.home-section { padding: 70px 0 90px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 25px; }
.section-heading h2 { font-size: 24px; font-weight: 450; letter-spacing: -.025em; }
.section-heading .eyebrow { margin-bottom: 9px; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--quiet); display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 10px; letter-spacing: .04em; }
.site-footer .brand { transform-origin: left center; transform: scale(.72); opacity: .7; }
.site-footer a, .site-footer button { color: var(--muted); background: none; font-size: 11px; }

/* Working pages. No card wall: content lives on a shared surface. */
.page-shell { min-height: calc(100svh - 180px); padding: 65px 0 90px; animation: arrive .5s var(--ease); }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.page-heading .eyebrow { margin-bottom: 14px; }
.page-title, .page-heading h1 { font-size: 35px; font-weight: 450; line-height: 1.35; letter-spacing: -.03em; }
.page-subtitle, .page-heading p { font-size: 13px; color: var(--muted); margin-top: 12px; }
.toolbar { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; margin-bottom: 0; flex-wrap: wrap; }
.search-field { display: flex; align-items: center; gap: 11px; padding: 0 15px; border: 1px solid var(--tone-stroke); border-radius: 6px; width: 300px; max-width: 100%; min-height: 43px; background: color-mix(in srgb,var(--tone-surface) 53.3%,transparent); color: var(--tone-caption); }
.search-field:focus-within { border-color: var(--tone-track); box-shadow: 0 0 0 3px #17477c09; }
.search-field > svg { width: 17px; height: 17px; }
.search-field input { width: 100%; padding: 11px 0; border: 0; background: none; color: var(--ink); min-width: 0; font-size: 12px; box-shadow: none; }
.search-field input:focus { box-shadow: none; outline: 0; }
input::placeholder, textarea::placeholder { color: var(--tone-caption); }
.filter-group { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.filter-chip { padding: 7px 12px; min-height: 34px; font-size: 12px; color: var(--muted); background: none; border-radius: 5px; white-space: nowrap; transition: background .2s, color .2s; }
.academy-page .filter-chip { max-inline-size:100%; white-space:normal; overflow-wrap:anywhere; }
.filter-chip:hover { color: var(--blue); background: var(--tone-soft); }
.filter-chip.active { background: var(--tone-selected); color: var(--blue-dark); font-weight: 500; }
.toolbar select { width: auto; min-width: 106px; margin-left: auto; font-size: 12px; padding: 9px 30px 9px 11px; min-height: 40px; background-color: transparent; }
.result-count { font-size: 11px; color: var(--muted); padding: 17px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 60px; }
.result-list { border-top: 1px solid var(--line); }
.result-count + .result-list { border-top: 0; }
.job-pages { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; padding: 24px 0; font-size: 12px; color: var(--muted); }
.job-pages:empty { display: none; }
.list-row { padding: 29px 4px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 21px; position: relative; transition: background .2s; min-width: 0; }
.list-row:hover { background: color-mix(in srgb,var(--tone-soft) 46.7%,transparent); }
.list-row[data-action] { cursor: pointer; }
.row-leading { flex-shrink: 0; }
.company-mark { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--tone-ice); color: var(--tone-secondary); font: 500 20px var(--serif); flex-shrink: 0; }
.list-row:nth-child(3n+2) .company-mark { background: var(--tone-ice); color: var(--tone-secondary); }
.list-row:nth-child(3n+3) .company-mark { background: var(--tone-ice); color: var(--tone-secondary); }
.row-main { min-width: 0; flex: 1; }
.row-title { font-size: 16px; font-weight: 500; line-height: 1.5; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-title button, button.row-title { font-size: inherit; padding: 0; text-align: left; background: none; }
.row-title a:hover, .row-title button:hover, button.row-title:hover { color: var(--blue); }
.row-subtitle { font-size: 12px; color: var(--muted); margin-top: 6px; }
.row-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 11px; color: var(--muted); }
.row-meta .tag { padding: 1px 7px; background: var(--tone-ice); }
.row-meta > span:not(.tag) + span:not(.tag)::before { content: ""; display: inline-block; width: 1px; height: 9px; margin-right: 10px; background: var(--tone-outline); }
.row-side { display: flex; align-items: flex-end; flex-direction: column; gap: 10px; margin-left: 15px; flex-shrink: 0; text-align: right; }
.row-side .value { font-size: 16px; letter-spacing: -.02em; }
.row-side .muted { font-size: 11px; }
.row-side .inline-actions { justify-content: flex-end; }
.row-side > .btn { margin-top: 1px; }
.empty-state { text-align: center; padding: 74px 24px; color: var(--muted); font-size: 13px; }
.empty-state > svg { width: 29px; height: 29px; color: var(--tone-track); margin-bottom: 18px; }
.empty-state h3 { color: var(--text); font-size: 18px; margin-bottom: 9px; }
.empty-state p { margin-bottom: 21px; }
.empty-state .btn { margin-top: 19px; }
.tabs { display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { color: var(--muted); padding: 13px 0 15px; font-size: 13px; background: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s; }
.tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.stats-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 15px 0 35px; margin-bottom: 44px; border-bottom: 1px solid var(--line); gap: 32px; }
.stat { border-right: 1px solid var(--line); background: none; text-align: left; padding: 5px 30px 5px 0; }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--serif); font-size: 42px; font-weight: 400; line-height: 1.2; color: var(--tone-accent); }
.stat-label { display: block; font-size: 12px; color: var(--muted); margin-top: 11px; }
.workspace-section { margin: 34px 0 48px; }
.op-user-record { padding: 14px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.op-user-record p { margin: 6px 0; white-space: pre-wrap; }
.op-user-record small { color: var(--muted); }
[data-form="auth"] details summary { cursor: pointer; }
[data-form="auth"] details p { margin: 8px 0; line-height: 1.6; }
.activity-row { border-bottom: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.activity-row h3 { font-size: 14px; }
.activity-row p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.activity-row .row-main { flex: 1; }
.course-row { display: flex; align-items: center; gap: 34px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.course-content { flex: 1; min-width: 0; }
.course-content h3 { font-size: 22px; margin-top: 7px; margin-bottom: 8px; font-weight: 450; }
.course-content p { color: var(--muted); font-size: 13px; }
.course-content .row-meta { margin-top: 19px; }

/* The content stays in place while its detail unfolds. */
.overlay-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(17,51,92,.24); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade-in .22s ease; }
.drawer, .modal { position: fixed; z-index: 101; background: var(--paper); display: flex; flex-direction: column; box-shadow: -18px 0 90px #17477c12; }
.drawer { right: 0; top: 0; bottom: 0; width: min(680px,100%); animation: slide-in .4s var(--ease); }
.modal { width: min(480px, calc(100vw - 40px)); max-height: calc(100svh - 48px); top: 50%; left: 50%; transform: translate(-50%,-50%); border: 1px solid color-mix(in srgb,var(--tone-surface) 56.5%,transparent); border-radius: 16px; box-shadow: 0 28px 110px #17477c21; animation: modal-in .3s var(--ease); }
.modal.wide { width: min(680px,calc(100vw - 40px)); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 25px 35px; gap: 18px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-header h2 { font-size: 16px; font-weight: 500; }
.drawer-header .eyebrow { font-size: 10px; }
.drawer-body { overflow-y: auto; overscroll-behavior: contain; padding: 34px 38px 38px; min-height: 0; scrollbar-width: thin; scrollbar-color: var(--tone-outline) transparent; }
.drawer-footer { display: flex; align-items: center; gap: 12px; padding: 20px 38px; border-top: 1px solid var(--line); background: var(--paper); flex-shrink: 0; justify-content: flex-end; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.drawer-footer .btn-primary { min-width: 140px; }
.detail-title { font-size: 29px; font-weight: 450; line-height: 1.45; margin: 13px 0 10px; }
.detail-copy { font-size: 13px; color: var(--text); line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.detail-section { margin-top: 30px; }
.detail-section h3 { font-size: 14px; font-weight: 550; margin-bottom: 12px; }
.detail-section p + p { margin-top: 12px; }
.interview-summary { white-space: pre-line; overflow-wrap: anywhere; }
.hiring-result-history { margin-block: 12px; }
.hiring-result-history summary { cursor: pointer; color: var(--muted); }
.detail-section .interview-summary { margin-block-end: 12px; }
.detail-section .list-row { padding: 15px 0; }
.detail-section .list-row:first-child { border-top: 1px solid var(--line); }
.detail-facts { margin: 28px 0; padding: 22px 0; display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 20px 28px; }
.detail-fact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.detail-fact label, .detail-fact .muted, .detail-fact small { color: var(--muted); font-size: 11px; }
.detail-fact strong { font-weight: 500; }
.detail-section .tag { margin: 0 7px 7px 0; }
.close-dialog { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--muted); background: transparent; border-radius: 50%; }
.close-dialog:hover { background: var(--tone-ice); color: var(--blue); }
.close-dialog svg { width: 18px; height: 18px; }
.modal .drawer-header { padding: 23px 28px 18px; border: 0; }
.modal .drawer-header h2 { font-size: 20px; }
.modal .drawer-body { padding: 4px 30px 30px; }
.modal .drawer-footer { padding: 18px 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 17px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { color: var(--tone-secondary); font-size: 12px; }
input:not([type="file"]):not([type="checkbox"]):not([type="radio"]), select, textarea { border: 1px solid var(--tone-stroke); background: color-mix(in srgb,var(--tone-surface) 58.8%,transparent); color: var(--ink); padding: 12px 13px; border-radius: 6px; width: 100%; min-height: 44px; transition: border-color .2s, box-shadow .2s; font-size: 13px; }
input:not([type="file"]):focus, select:focus, textarea:focus { border-color: var(--tone-track); box-shadow: 0 0 0 3px #17477c10; }
.search-field input:not([type="file"]) { border: 0; background: transparent; box-shadow: none; min-height: 41px; padding: 10px 0; }
.search-field #search-input { border: 0; background: transparent; box-shadow: none; min-height: 41px; padding: 10px 0; border-radius: 0; }
.toolbar select { width: auto; }
textarea { min-height: 112px; resize: vertical; line-height: 1.8; }
select { cursor: pointer; }
input[type="checkbox"] { accent-color: var(--blue); width: 15px; height: 15px; }
input[type="file"] { font-size: 12px; max-width: 100%; width: 100%; color: var(--muted); }
input[type="file"]::file-selector-button { border: 1px solid var(--tone-outline); background: var(--tone-soft); padding: 11px 15px; border-radius: 5px; color: var(--blue); margin-right: 14px; cursor: pointer; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 10px; }
.form-error:empty { display: none; }
.auth-role { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--tone-ice); border-radius: 7px; gap: 4px; margin-bottom: 26px; }
.auth-role button { padding: 10px 16px; font-size: 13px; border-radius: 5px; color: var(--tone-secondary); background: none; }
.auth-role button.active, .auth-role button[aria-selected="true"] { background: var(--white); color: var(--blue-dark); box-shadow: 0 1px 5px #17477c07; }
.auth-note { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.8; margin: 16px 0; }
.auth-switch { font-size: 12px; color: var(--muted); text-align: center; margin-top: 20px; }
.auth-switch button { padding: 0 5px; color: var(--blue); font-size: inherit; background: none; }
.auth-divider { display: flex; align-items: center; gap: 14px; font-size: 10px; color: var(--quiet); margin: 25px 0; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.profile-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 66px; }
.profile-aside { border-right: 1px solid var(--line); padding: 4px 36px 30px 0; }
.profile-aside .avatar { width: 68px; height: 68px; font-size: 23px; margin-bottom: 21px; }
.profile-aside h2 { font-size: 22px; }
.profile-aside p { font-size: 12px; color: var(--muted); margin-top: 7px; }
.profile-aside .btn { margin-top: 24px; }
.resume-upload { border: 1px dashed var(--tone-outline); border-radius: 8px; padding: 26px; background: var(--tone-soft); margin: 20px 0; }
.resume-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.detail-section .resume-actions { margin-top: 10px; }
body:has(.resume-preview[open]) { overflow: hidden; }
.resume-preview { width: min(940px, 96vw); height: min(90dvh, 1080px); max-height: 100dvh; padding: 0; max-width: 100vw; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--white); }
.resume-preview[open] { display: flex; flex-direction: column; }
.resume-preview::backdrop { background: rgb(13 25 36 / 52%); }
.resume-preview-header, .resume-preview-tools, .resume-preview-tools > div { display: flex; align-items: center; gap: 10px; }
.resume-preview-header { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.resume-preview-header h2 { margin-right: auto; font-size: 17px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; min-width: 0; }
.resume-preview-header button { flex-shrink: 0; }
.resume-preview-tools { padding: 6px 16px; flex-wrap: wrap; }
.resume-preview-tools select { width: auto; min-height: 32px; margin-left: auto; padding: 3px 8px; }
.resume-preview-tools output { font-variant-numeric: tabular-nums; font-size: 13px; }
.resume-preview-status { margin: 8px 16px; color: var(--text); }
.resume-preview-stage { position: relative; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background: #e9edf0; }
.resume-preview-stage canvas { display: block; margin: 10px auto; max-width: none; background: white; }
.resume-preview-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.resume-text-paper { max-width: 780px; min-height: 95%; margin: 12px auto; padding: clamp(18px,5vw,56px); background: white; color: #17232c; font: 15px/1.85 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .resume-preview { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .resume-preview-header, .resume-preview-tools { padding-inline: 10px; }
}
.job-pause-reason { margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); font-size: 13px; }
.publishing-suggestions { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.publishing-suggestions > span { margin-right: 3px; color: var(--muted); font-size: 12px; }
.publishing-suggestions button { padding: 4px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--white); font-size: 12px; text-align: left; white-space: pre-line; }
.publishing-suggestions button:is(:hover,:focus-visible,[aria-pressed=true],:disabled) { background: var(--tone-selected); color: var(--ink); }
.publishing-suggestions button > span { color: var(--blue-dark); }
.resume-upload > svg { color: var(--sky); width: 26px; height: 26px; margin-bottom: 15px; }
.resume-upload p { color: var(--muted); font-size: 12px; margin-bottom: 17px; }
.resume-file { display: flex; align-items: center; gap: 13px; padding: 17px 20px; background: var(--tone-ice); border-radius: 7px; margin: 18px 0; font-size: 12px; overflow-wrap: anywhere; }
.resume-file > svg { color: var(--blue); width: 22px; height: 22px; }
.resume-file .muted { font-size: 11px; }
.profile-main { min-width: 0; }

/* Conversation. */
body:has(#app > .messages-page) { height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
body:has(.messages-page) > #site-header { flex: none; }
#app:has(> .messages-page) { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.page-shell.messages-page { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: clamp(12px, 3vh, 30px) 0 0; }
.messages-page + .site-footer { flex: none; padding-block: 8px; }
.message-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); grid-template-rows: minmax(0,1fr); flex: 1; min-height: 0; border-top: 1px solid var(--line); }
.thread-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--line); padding: 12px 14px 12px 0; }
.thread-list,.message-history,.notification-card-body { scrollbar-width: thin; scrollbar-color: var(--tone-outline) transparent; }
.thread-item { display: flex; align-items: flex-start; text-align: left; gap: 12px; padding: 16px 12px; width: 100%; background: none; border-radius: 6px; margin-bottom: 4px; }
.thread-item.active { background: var(--tone-ice); }
.thread-item:hover { background: var(--tone-soft); }
.thread-item h3 { font-size: 13px; }
.thread-item p { color: var(--muted); font-size: 11px; margin-top: 5px; max-width: 175px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.thread-item small { font-size: 10px; color: var(--quiet); }
.message-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 16px 24px; overflow: hidden; }
.message-panel > :is(.message-panel-header,.chat-tools,.message-composer) { flex: none; }
.message-panel > .empty-state { overflow: auto; }
.message-panel > .section-heading { margin-bottom: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.message-panel > .section-heading h2 { font-size: 16px; }
.message-history { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 6px 4px 16px; }
.message-history > * { flex: none; }
.message-history [data-action="load-earlier"] { align-self: center; }
.message-bubble { align-self: flex-start; background: var(--tone-ice); border-radius: 8px 8px 8px 2px; max-width: 85%; padding: 13px 17px; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.message-line .message-bubble { white-space: pre-wrap; }
.messages-page > h1,.notifications-page > h1 {font-size:clamp(28px,4vw,44px);margin:0 0 24px;}
.messages-page > h1 { flex: none; margin-bottom: clamp(8px, 1.7vh, 18px); line-height: 1.2; }
.unread-badge {display:inline-flex;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:#c82d40;color:#fff;font:600 10px/1 system-ui;vertical-align:top;pointer-events:none;}
.nav-link .unread-badge {margin:-3px 0 0 3px;}
.notification-entry,.thread-avatar {position:relative;}
.notification-entry .unread-badge,.thread-avatar .unread-badge {position:absolute;top:-3px;right:-4px;}
.notification-anchor { position: relative; display: inline-flex; }
.notification-card { position: absolute; z-index: 2; inset: calc(100% + 12px) 0 auto auto; width: 360px; max-width: calc(100vw - 28px); max-height: min(460px, calc(100dvh - 100px)); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 42px #102b4829; }
.notification-card > header { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.notification-card h2 { font-size: 16px; }
.notification-card-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px; }
.notification-card-body .op-user-record:last-child { border-bottom: 0; }
.notification-status { padding: 24px 0; text-align: center; color: var(--muted); }
.notification-status button { margin-left: 8px; }
.mobile-dialogue {display:none;}
.chat-tools,.chat-context,.chat-card-actions,.chat-message-row {display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.chat-tools {padding:10px 0;}
.chat-context-list {flex:0 1 auto;max-height:min(145px,20%);overflow:auto;overscroll-behavior:contain;}
.chat-context {padding:7px 0;border-bottom:1px solid var(--line);font-size:12px;}
.chat-context p {flex-basis:100%;margin:0;color:var(--muted);}
.chat-message-row {flex-wrap:nowrap;align-items:flex-start;max-width:100%;}
.chat-peer-avatar {flex:0 0 auto;border:0;}
.chat-message-row .chat-peer-avatar {width:30px;height:30px;font-size:13px;}
.message-panel .message-panel-header {justify-content:flex-start;margin-bottom:6px;padding-bottom:12px;}
.message-panel-header small {color:var(--muted);}
.chat-card {padding:10px 0 3px;}
.chat-card-actions {margin-top:5px;overflow-wrap:anywhere;}
@media(max-width:820px) {.mobile-dialogue {display:inline-flex;align-items:center;} .header-account .role-switch {display:none;}}
@media(max-width:380px) {.header-actions .header-search {display:none;} .header-inner .brand-logo {width:86px;}}
.message-bubble.own, .message-bubble.sent { align-self: flex-end; background: var(--tone-selected); border-radius: 8px 8px 2px 8px; }
.message-bubble small { display: block; text-align: right; font-size: 9px; margin-top: 5px; color: var(--tone-secondary); }
.message-composer { display: flex; gap: 12px; align-items: flex-end; padding-top: 15px; border-top: 1px solid var(--line); }
.message-composer input, .message-composer textarea { flex: 1; min-width: 0; min-height: 44px; resize: none; }
.message-composer textarea { height: 76px; }
#toast-root { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; align-items: center; flex-direction: column; gap: 8px; width: max-content; max-width: calc(100vw - 40px); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 6px;
  width: fit-content; max-width: 100%; min-height: 34px; padding: 5px 11px;
  font-size: 12px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere;
  animation: toast-in .3s var(--ease);
}
.toast svg.icon { width: 1.12em; height: 1.12em; }

/* Small supporting elements, sharing the same visual vocabulary. */
.brand-mark { display: flex; width: 32px; height: 32px; color: var(--blue); flex: 0 0 32px; align-items: center; justify-content: center; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { white-space: nowrap; }
.pathway-title { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
.pathway-title .icon { width: 19px; height: 19px; color: var(--sky); transition: transform .25s; }
.pathway:hover .pathway-title .icon { transform: translate(3px,-3px); }
.page-heading h1 > span { color: var(--tone-accent); }
.page-heading-action { flex-shrink: 0; }
.row-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.title-button { display: inline-flex; background: none; padding: 0; text-align: left; }
.title-button:hover { color: var(--blue); }
.meta-separator { display: inline-block; width: 1px; height: 9px; background: var(--tone-outline); margin: 0 11px; }
.row-arrow { display: inline-flex; align-items: center; color: var(--tone-caption); margin-left: 2px; }
.row-arrow .icon { width: 16px; height: 16px; }
.list-row:hover .row-arrow { color: var(--blue); }
.toolbar-selects { display: flex; gap: 10px; margin-left: auto; }
.toolbar-selects select { max-width: 135px; }
.project-index { width: 48px; color: var(--tone-caption); font: 400 27px var(--serif); flex-shrink: 0; }
.candidate-avatar, .profile-avatar { display: inline-flex; justify-content: center; align-items: center; background: var(--tone-selected); color: var(--blue); border-radius: 50%; flex-shrink: 0; }
.candidate-avatar { width: 43px; height: 43px; font-size: 15px; }
.profile-avatar { width: 68px; height: 68px; font-size: 24px; margin-bottom: 21px; }
.profile-aside .badge { margin-top: 17px; }
.candidate-intro { display: flex; gap: 19px; align-items: center; margin: 2px 0 22px; overflow-wrap: anywhere; }
.candidate-intro .profile-avatar { margin: 0; }
.candidate-intro h2 { font-size: 26px; margin: 0 0 7px; }
.candidate-intro p { color: var(--muted); font-size: 13px; }
.detail-heading { font-size: 30px; line-height: 1.45; font-weight: 450; margin: 14px 0 9px; letter-spacing: -.025em; }
.detail-salary { font-size: 22px; color: var(--blue); margin: 22px 0 10px; font-weight: 450; }
.detail-facts > span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.detail-facts > .status { display: inline-block; width: max-content; padding: 3px 9px; color: var(--blue); }
.detail-facts > span .icon { color: var(--tone-caption); width: 15px; height: 15px; }
.auth-title { font: 400 33px/1.5 var(--serif); letter-spacing: .035em; margin: 15px 0 28px; }
.auth-title span { color: var(--tone-accent); }
.auth-modal form > .btn { margin-top: 22px; }
.auth-modal .auth-note { font-size: 10px; margin: 20px 0 0; color: var(--tone-caption); }
.demo-label { font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.dialog-kicker { color: var(--muted); font-size: 12px; margin-top: 10px; }
.apply-title { font-size: 22px; margin: 8px 0 24px; }
.application-identity, .account-identity { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.application-identity p, .account-identity p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.application-identity strong { font-size: 14px; font-weight: 500; }
.account-identity .profile-avatar { margin: 0; }
.account-identity h3 { font-size: 23px; }
.account-actions { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.account-actions .btn { justify-content: flex-start; }
.account-actions .btn-ghost { margin-top: 7px; }
.online-resume-summary { margin: 18px 0; padding: 18px 20px; background: var(--tone-soft); border-radius: 6px; font-size: 12px; }
.online-resume-summary p { color: var(--muted); margin: 7px 0; line-height: 1.9; }
.online-resume-summary strong { color: var(--blue); font-weight: 500; }
.resume-heading { margin-top: 37px; }
.resume-heading h2 { font-size: 20px; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.form-actions > .muted { font-size: 11px; }
.drawer-body form > .btn.full-width { margin-top: 24px; }
.form-grid + .auth-note { text-align: left; }
.content-note { color: var(--muted); font-size: 11px; line-height: 1.8; margin: 18px 0; }
.project-applicant { display: flex; flex-wrap: wrap; gap: 14px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.project-applicant > div { flex: 1; min-width: 0; }
.project-applicant h4 { font-size: 14px; }
.project-applicant p { color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.8; }
.project-applicant .inline-actions { flex-basis: 100%; }
.message-panel-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.message-panel-header h2 { font-size: 17px; }
.message-line { align-self: flex-start; max-width: 87%; display: flex; flex-direction: column; align-items: flex-start; }
.message-line.mine { align-self: flex-end; align-items: flex-end; }
.message-line .message-bubble { max-width: 100%; }
.message-line.mine .message-bubble { background: var(--tone-selected); border-radius: 8px 8px 2px 8px; }
.message-time { font-size: 9px; color: var(--tone-caption); margin-top: 4px; }
.message-note { margin-top: 12px; font-size: 10px; color: var(--quiet); }
.conversation-start, .thread-empty { color: var(--tone-caption); font-size: 12px; text-align: center; padding: 65px 10px; }
.thread-item > span:last-child { min-width: 0; }
.thread-item strong { font-size: 13px; font-weight: 500; }
.thread-item small { display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; max-width: 160px; margin-top: 5px; }
.footer-copy { margin-left: auto; }

@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { opacity: .6; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes modal-in { from { opacity: 0; transform: translate(-50%,calc(-50% + 12px)) scale(.99); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 0%,100% { opacity: .4; transform: scaleY(.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); transform-origin: top; } }

@media (min-width: 1600px) {
  .hero-content { margin-top: -54px; }
  .home-section > .result-list, #results:is(.result-list,.course-list) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 50rem), 1fr));
    column-gap: clamp(24px, 2.5vw, 48px);
  }
}
@media (max-width: 1260px) {
  :root { --header-gutter: 32px; }
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 25px; }
  .header-actions { gap: 15px; }
  .header-actions .btn { padding: 10px 16px; }
  .content-grid { gap: 36px; }
}
@media (max-width: 1040px) {
  :root { --page-gutter: 36px; --header-gutter: 26px; }
  .desktop-nav { gap: 20px; }
  .nav-link { font-size: 12px; }
  .header-actions { gap: 10px; }
  .header-actions .btn-ghost { font-size: 11px; }
  .header-actions .btn { padding: 9px 13px; }
  .brand { gap: 9px; }
  .brand > svg { width: 30px; height: 30px; }
  .brand-name { font-size: 21px; }
  .header-inner { gap: 16px; }
  .content-grid { display: block; }
  .content-grid > aside { display: none; }
  .pathway { padding-left: 30px; padding-right: 30px; }
  .profile-layout { gap: 38px; grid-template-columns: 180px minmax(0,1fr); }
}
@media (max-width: 820px) {
  .site-header, #site-header { height: 76px; }
  .desktop-nav { display: none; }
  :root { --header-gutter: 24px; }
  .mobile-menu-button { display: inline-flex !important; }
  .mobile-nav { display: flex; flex-direction: column; gap: 2px; position: absolute; top: 76px; left: 0; right: 0; padding: 16px 24px 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 25px #17477c08; }
  .mobile-nav .nav-link { text-align: left; padding: 13px 8px; width: 100%; font-size: 14px; }
  .mobile-nav .nav-link.active { background: var(--soft); }
  .mobile-nav .nav-link::after { display: none; }
  .hero { min-height: 650px; height: calc(100svh - 76px); }
  .hero-title { font-size: 67px; }
  .hero-content { margin-top: -24px; }
  .home-pathways { padding-top: 60px; padding-bottom: 60px; }
  .pathway-title { font-size: 23px; }
  .pathway-copy { font-size: 11px; }
  .page-shell { padding-top: 45px; }
  .page-heading { align-items: flex-start; margin-bottom: 34px; }
  .page-title, .page-heading h1 { font-size: 30px; }
  .toolbar { gap: 15px; }
  .search-field { width: 100%; }
  .toolbar select { min-width: 90px; }
  .filter-group { gap: 3px; }
  .filter-chip { padding: 6px 10px; }
  .list-row { gap: 15px; }
  .company-mark { width: 43px; height: 43px; }
  .row-title { font-size: 15px; }
  .row-side { gap: 7px; margin-left: 5px; }
  .row-side .value { font-size: 14px; }
  .course-row { gap: 25px; }
  .course-content h3 { font-size: 19px; }
  .message-layout { grid-template-columns: 220px minmax(0,1fr); }
  .message-panel { padding: 23px 20px; }
  .thread-list { padding-right: 12px; }
  .thread-item { padding-left: 7px; padding-right: 7px; }
  .stats-strip { gap: 20px; }
  .stat { padding-right: 20px; }
  .stat-value { font-size: 36px; }
}
@media (max-width: 600px) {
  .brand-mark { width: 28px; height: 28px; flex-basis: 28px; }
  .header-actions .role-switch { display: none; }
  .page-heading-action { width: 100%; }
  .page-heading h1 > span { display: block; margin-top: 4px; }
  .pathway-title .icon { width: 17px; height: 17px; }
  .toolbar-selects { flex: 1 0 auto; margin: 0; }
  .toolbar-selects select { max-width: 120px; min-width: 100px; }
  .row-arrow { display: none; }
  .project-index { width: 38px; font-size: 23px; }
  .candidate-avatar { width: 38px; height: 38px; font-size: 14px; }
  .profile-avatar { width: 52px; height: 52px; font-size: 20px; margin-bottom: 15px; }
  .row-title-line { gap: 7px; }
  .meta-separator { margin-left: 8px; margin-right: 8px; }
  .detail-heading { font-size: 26px; }
  .detail-salary { font-size: 20px; }
  .form-actions { flex-wrap: wrap; gap: 12px; }
  .auth-title { font-size: 29px; }
  .auth-title span { display: block; }
  .message-panel-header h2 { font-size: 16px; }
  .thread-item small { max-width: 115px; }
  .message-note { font-size: 9px; }
  .site-footer .footer-copy { margin-left: 0; }
  :root { --page-gutter: 24px; --header-gutter: 12px; }
  .header-actions { gap: 6px; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .btn { min-height: 35px; font-size: 11px; padding: 8px 13px; }
  .brand-name { font-size: 21px; }
  .brand-en { font-size: 7px; }
  .brand > svg { width: 30px; height: 30px; }
  .hero { min-height: 610px; max-height: 920px; }
  .hero-content { padding: 35px 20px 66px; margin-top: -8px; }
  .hero-content > .eyebrow { font-size: 8px; letter-spacing: .19em; margin-bottom: 30px; }
  .hero-title { font-size: clamp(45px, 12.5vw, 64px); line-height: 1.45; letter-spacing: .035em; }
  .hero-description { font-size: 12px; margin-top: 25px; letter-spacing: .12em; }
  .hero-actions { gap: 12px; margin-top: 36px; }
  .hero-bottom { bottom: 28px; font-size: 8px; letter-spacing: .05em; }
  .scroll-indicator { bottom: -4px; }
  .scroll-indicator::after { height: 23px; }
  .scroll-indicator span { display: none; }
  .home-pathways { display: block; padding: 27px 0; }
  .pathway, .pathway:first-child, .pathway:last-child { display: grid; grid-template-columns: 27px 1fr auto; grid-template-rows: auto auto; gap: 3px 17px; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .pathway:last-child { border-bottom: 0; }
  .pathway-index { grid-row: 1/3; margin: 5px 0 0; font-size: 9px; }
  .pathway-title { font-size: 24px; margin-bottom: 0; }
  .pathway-copy { grid-column: 2; margin-top: 5px; }
  .pathway .text-link { grid-column: 3; grid-row: 1/3; margin: 0; font-size: 0; justify-self: end; }
  .pathway .text-link svg { width: 22px; height: 22px; }
  .pathway > svg { position: static; grid-column: 3; grid-row: 1/3; align-self: center; }
  .home-section { padding-top: 43px; padding-bottom: 52px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading { gap: 12px; }
  .site-footer { padding: 23px 0; flex-wrap: wrap; font-size: 9px; gap: 9px 18px; }
  .site-footer > :first-child { flex: 1; }
  .page-shell { padding-top: 36px; padding-bottom: 48px; }
  .page-heading { flex-wrap: wrap; gap: 20px; margin-bottom: 29px; }
  .page-title, .page-heading h1 { font-size: 29px; }
  .page-heading .eyebrow { font-size: 9px; margin-bottom: 10px; }
  .page-subtitle, .page-heading p { font-size: 12px; margin-top: 9px; }
  .page-heading .btn { min-height: 38px; padding: 9px 14px; font-size: 12px; }
  .toolbar { padding-bottom: 20px; gap: 13px; }
  .filter-group { flex: 1; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 1px; scrollbar-width: none; }
  .filter-chip { padding-left: 10px; padding-right: 10px; font-size: 11px; }
  .toolbar select { min-width: 81px; padding-left: 9px; padding-right: 5px; font-size: 11px; max-width: 91px; }
  .result-count { padding: 13px 0; font-size: 10px; }
  .list-row { padding: 23px 0; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
  .company-mark { width: 38px; height: 38px; font-size: 17px; border-radius: 9px; }
  .row-title { font-size: 14px; gap: 7px; }
  .row-subtitle { font-size: 11px; margin-top: 5px; }
  .row-main { flex: 1; min-width: 150px; }
  .row-meta { font-size: 10px; gap: 7px; margin-top: 9px; }
  .row-meta .tag { font-size: 10px; padding: 1px 5px; }
  .row-meta > span:not(.tag) + span:not(.tag)::before { margin-right: 7px; }
  .row-side { margin-left: 50px; width: calc(100% - 50px); flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; text-align: left; }
  .row-side .value { font-size: 13px; }
  .row-side .muted { font-size: 10px; }
  .list-row > .icon-btn { position: absolute; right: -6px; top: 19px; width: 30px; height: 30px; }
  .list-row:has(> .icon-btn) .row-main { padding-right: 23px; }
  .row-side .btn { font-size: 11px; min-height: 32px; padding: 7px 11px; }
  .row-side .icon-btn { width: 30px; height: 30px; }
  .empty-state { padding: 55px 10px; }
  .tabs { gap: 25px; margin-bottom: 20px; }
  .tab { font-size: 12px; padding-bottom: 13px; }
  .stats-strip { grid-template-columns: repeat(2,1fr); gap: 26px 20px; padding: 8px 0 30px; margin-bottom: 28px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat-value { font-size: 36px; }
  .stat-label { font-size: 11px; margin-top: 8px; }
  .activity-row { align-items: flex-start; flex-wrap: wrap; }
  .activity-row h3 { font-size: 13px; }
  .activity-row p { font-size: 11px; }
  .activity-row .inline-actions { gap: 6px; }
  .course-row { gap: 17px; padding: 25px 0; flex-wrap: wrap; align-items: flex-start; }
  .course-content h3 { font-size: 17px; margin-top: 6px; }
  .course-content p { font-size: 11px; }
  .course-content .row-meta { margin-top: 12px; }
  .course-row > .row-side { margin-left: 109px; width: calc(100% - 109px); }
  .course-row > .btn { margin-left: 109px; }
  .drawer-header { padding: 20px 23px; }
  .drawer-body { padding: 27px 24px; }
  .drawer-footer { padding: 17px 24px; padding-bottom: max(17px, env(safe-area-inset-bottom)); }
  .drawer-footer .btn { flex: 1; padding: 12px 13px; font-size: 12px; gap: 7px; }
  .drawer-footer .btn-primary { min-width: 0; }
  .detail-title { font-size: 26px; }
  .detail-facts { gap: 19px; }
  .detail-copy { font-size: 13px; }
  .modal { width: calc(100vw - 32px); border-radius: 12px; max-height: calc(100svh - 32px); }
  .modal .drawer-header { padding: 22px 23px 18px; }
  .modal .drawer-body { padding: 4px 24px 26px; }
  .modal .drawer-footer { padding: 17px 24px; }
  .form-grid { gap: 17px 13px; }
  .profile-layout { display: block; }
  .profile-aside { border-right: 0; border-bottom: 1px solid var(--line); margin-bottom: 30px; padding: 0 0 26px; }
  .profile-aside .avatar { width: 50px; height: 50px; margin-bottom: 12px; font-size: 19px; }
  .profile-aside .btn { margin-top: 18px; }
  .resume-upload { padding: 20px; }
  .resume-file { padding: 15px; font-size: 11px; }
  .message-layout { grid-template-columns: minmax(0,1fr); grid-template-rows: fit-content(clamp(55px,15dvh,110px)) minmax(0,1fr); }
  .messages-page + .site-footer { gap: 6px 10px; padding-block: 4px; }
  .messages-page + .site-footer .brand-logo { width: 88px; }
  .messages-page + .site-footer > span:not(.footer-copy) { display: none; }
  .thread-list { padding: 4px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .thread-item { align-items: center; padding: 5px 8px; margin: 0; }
  .thread-item small { max-width: 60vw; margin-top: 0; }
  .thread-item h3 { font-size: 12px; }
  .thread-item p { max-width: 125px; font-size: 10px; }
  .thread-item .avatar { width: 27px; height: 27px; font-size: 11px; }
  .message-panel { padding: 8px 0; }
  .message-panel .message-panel-header { padding-bottom: 6px; }
  .notification-anchor { position: static; }
  .notification-card { inset: calc(100% + 4px) 12px auto; width: auto; max-width: 360px; margin-left: auto; }
  .message-bubble { font-size: 12px; }
  .message-composer .btn { padding: 13px 17px; }
  .message-composer { padding-top: 6px; }
  .message-composer textarea { height: 48px; padding: 4px 9px; line-height: 1.4; }
}
@media (max-height: 650px) {
  body:has(.messages-page) > #site-header { height: 56px; }
  body:has(.messages-page) .mobile-nav { top: 100%; }
  .page-shell.messages-page { padding-top: 4px; }
  .messages-page > h1 { font-size: 20px; margin-bottom: 4px; }
  .messages-page + .site-footer { padding-block: 0; }
  .messages-page + .site-footer .brand-logo { width: 84px; }
  .message-panel { padding-block: 4px; }
  .message-panel .message-panel-header { padding-bottom: 3px; margin-bottom: 0; }
  .chat-tools,.message-composer { padding-block: 3px; }
  .message-composer textarea { height: 44px; }
}
html[data-motion=reduced] { scroll-behavior: auto; }
:where(html[data-motion=reduced]) *,:where(html[data-motion=reduced]) *::before,:where(html[data-motion=reduced]) *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
/* Blue surfaces and restrained transitions */
:root { color-scheme: light; --ease: cubic-bezier(.2,.72,.23,1); --focus: var(--tone-focus-ink); }
body { background: var(--white); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.brand-mark { border-radius: 9px; background: var(--blue); color: white; padding: 3px; }
.brand-name { color: var(--ink); letter-spacing: .08em; }
.brand-en, .eyebrow, .pathway-index { font-family: "Segoe UI", var(--sans); font-weight: 600; }
.desktop-nav .nav-link:hover::after { transform: translateX(-50%) scaleX(.55); }
.desktop-nav .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.header-search { gap: 7px; border: 1px solid var(--line); border-radius: 7px; width: auto; padding: 0 10px; color: var(--text); }
.header-search kbd { font: 10px/1.3 var(--sans); }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-secondary { background: var(--white); border-color: var(--tone-rim); }
.btn svg { transition: transform .2s var(--ease); }
.hero {
  min-height: clamp(540px,75svh,760px);
  background: radial-gradient(ellipse at 52% 39%,var(--tone-surface) 0%,color-mix(in srgb,var(--tone-surface) 92.2%,transparent) 23%,color-mix(in srgb,var(--tone-surface) 0.0%,transparent) 61%), linear-gradient(115deg,var(--tone-hero-light) 0%,var(--tone-frost) 38%,var(--tone-hero-core) 70%,var(--tone-hero-side) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-content { animation: none; }
.hero-content > .eyebrow { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); }
.hero-content > .eyebrow::before, .hero-content > .eyebrow::after { content: ""; height: 1px; width: 29px; background: var(--tone-rule); }
.hero-title { color: var(--ink); line-height: 1.28; }
.hero-title span, .page-heading h1 > span, .auth-title span { color: var(--blue); }
.hero-description { color: var(--text); }
.hero-bottom { color: var(--muted); }
.scroll-indicator, .page-heading .eyebrow, .section-heading .eyebrow, .pathway-index { color: var(--blue); }
.page-shell { animation: none; }
.pathway-title .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--soft); color: var(--blue); }
.pathway:hover .pathway-title, .pathway:focus-visible .pathway-title { color: var(--blue); }
.search-field { background: var(--paper); }
.search-field:focus-within, .global-field:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px var(--tone-focus-ring); }
.filter-chip.active { background: var(--ice); color: var(--blue-dark); box-shadow: inset 0 0 0 1px var(--tone-keyline); }
.result-count { align-items: center; min-height: 48px; }
.reset-filters { padding: 2px 0 2px 10px; color: var(--blue); background: none; font-size: 12px; }
.reset-filters:hover { text-decoration: underline; }
.bookmark-button.is-saved .icon { fill: var(--blue); color: var(--blue); }
.row-arrow { transition: color .2s, transform .2s var(--ease); }
.list-row:focus-within { background: var(--paper); }
@media (hover: hover) {
  .list-row[data-action]:hover { background: var(--paper); }
  .list-row[data-action]:hover .row-arrow { transform: translate(2px,-2px); }
}
.drawer, .modal, .drawer-footer, .mobile-nav { background: var(--white); }
.form-error:not(:empty) { border-inline-start: 2px solid var(--blue); padding-inline-start: 10px; font-weight: 550; }
.toast.leaving { opacity: 0; transform: translateY(4px); transition: opacity .18s,transform .18s; }
.search-dialog { width: min(600px,calc(100vw - 32px)); }
.search-dialog .drawer-header { padding-bottom: 12px; }
.search-dialog .drawer-body { padding: 4px 26px 20px; }
.global-field { display: flex; align-items: center; gap: 10px; padding: 0 12px; margin: 2px 3px 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--blue); }
.global-field #global-input { border: 0; box-shadow: none; outline: none; padding: 11px 0; background: transparent; }
.global-results { max-height: min(47svh,378px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.global-group { margin: 7px 5px 4px; color: var(--muted); font: 600 11px/1.5 var(--sans); letter-spacing: .08em; }
.global-result { background: transparent; width: 100%; text-align: start; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; border-radius: 6px; padding: 9px; }
.global-result:hover, .global-result:focus-visible { background: var(--soft); color: var(--blue); outline-offset: -2px; }
.global-result > .icon:first-child { width: 32px; height: 32px; border: 1px solid var(--line); padding: 7px; border-radius: 7px; color: var(--blue); background: var(--paper); }
.global-result strong, .global-result small { display: block; }
.global-result strong { font-size: 14px; font-weight: 550; color: var(--ink); }
.global-result small { color: var(--muted); font-size: 11px; }
.global-result > .icon:last-child { width: 14px; color: var(--muted); }
.global-empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.search-return { margin-right: auto; }
:where(html[data-motion=full]) .route-enter .page-shell { animation: arrive .32s var(--ease) both; }
:where(html[data-motion=full]) .route-enter .hero-content > * { animation: arrive .65s var(--ease) backwards; }
:where(html[data-motion=full]) .route-enter .hero-title { animation-delay: 65ms; }
:where(html[data-motion=full]) .route-enter .hero-description { animation-delay: 130ms; }
:where(html[data-motion=full]) .route-enter .hero-actions { animation-delay: 190ms; }
:where(html[data-motion=full]) .reveal-in { animation: arrive .5s var(--ease) backwards; }
:where(html[data-motion=full]) .home-pathways .reveal-in:nth-child(2) { animation-delay: 55ms; }
:where(html[data-motion=full]) .home-pathways .reveal-in:nth-child(3) { animation-delay: 110ms; }
:where(html[data-motion=full]) .mobile-nav { animation: arrive .18s var(--ease); }
:where(html[data-motion=full]) [data-repeat] { animation: none; }
@media (max-width: 1040px) { .header-search kbd { display: none; } .header-search { width: 36px; padding: 0; } }
@media (max-width: 600px) {
  .header-inner { gap: 7px; }
  .header-search { border: none; width: 32px; }
  .hero { min-height: 505px; }
  .hero-title { line-height: 1.34; }
  .pathway-index { grid-column: 1 / 3; grid-row: auto; }
  .pathway, .pathway:first-child, .pathway:last-child { grid-template-columns: 1fr auto; gap: 7px 10px; }
  .pathway-title, .pathway-copy { grid-column: 1 / -1; }
  .pathway-title .icon { width: 28px; height: 28px; }
  .search-dialog .drawer-body { padding-inline: 16px; }
}
:where(html[data-motion=reduced]) *,:where(html[data-motion=reduced]) *::before,:where(html[data-motion=reduced]) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:where(html[data-motion=reduced]) .btn:active,:where(html[data-motion=reduced]) .pathway:hover .icon,:where(html[data-motion=reduced]) .list-row:hover .row-arrow { transform: none; }

:root {
  --tone-surface:color-mix(in srgb,#ffffff var(--daylight),#090b0f);
  --tone-paper:color-mix(in srgb,#fafcfd var(--daylight),#0d1014);
  --tone-soft:color-mix(in srgb,#f4f9fb var(--daylight),#14181d);
  --tone-ice:color-mix(in srgb,#edf5fa var(--daylight),#1a2027);
  --tone-selected:color-mix(in srgb,#e1eff6 var(--daylight),#232b34);
  --tone-stroke:color-mix(in srgb,#dce8ed var(--daylight),#262b32);
  --tone-outline:color-mix(in srgb,#c9dce5 var(--daylight),#363e47);
  --tone-rim:color-mix(in srgb,#c9dce5 var(--daylight),#363e47);
  --tone-keyline:color-mix(in srgb,#c9dce5 var(--daylight),#3a424d);
  --tone-focus-ring:color-mix(in srgb,#e4f1f7 var(--daylight),#23313e);
  --tone-rule:color-mix(in srgb,#b5cfdc var(--daylight),#48505c);
  --tone-track:color-mix(in srgb,#95b5c7 var(--daylight),#606b79);
  --tone-hero-side:color-mix(in srgb,#f3f8fb var(--daylight),#07090c);
  --tone-hero-light:color-mix(in srgb,#e6f2f9 var(--daylight),#10151b);
  --tone-hero-core:color-mix(in srgb,#ffffff var(--daylight),#0b0d11);
  --tone-frost:color-mix(in srgb,#f9fcfd var(--daylight),#101318);
  --tone-title:#3c4b56;
  --tone-body:#455761;
  --tone-secondary:#516670;
  --tone-caption:#536873;
  --tone-accent:#406d87;
  --tone-strong:#365c70;
  --tone-focus-ink:#347ac2;
  --hero-light:var(--tone-hero-light); --hero-side:var(--tone-hero-side); --hero-core:var(--tone-hero-core);
}
:root[data-ink=light] {
  --tone-title:#f3f6f7;
  --tone-body:#e2e9ed;
  --tone-secondary:#d2dde3;
  --tone-caption:#ccd8df;
  --tone-accent:#cee6f4;
  --tone-strong:#dcedf5;
  --tone-focus-ink:#9dccff;
}

/* The same light value drives the key, hero lighting and page surfaces. */
@property --daylight { syntax: '<percentage>'; inherits: true; initial-value: 100%; }
:root {
  --daylight: 100%;
  --cap-face: color-mix(in srgb,#ffffff var(--daylight),#21232a);
  --cap-foot: color-mix(in srgb,#e8f4fb var(--daylight),#171a21);
  --rail-end: color-mix(in srgb,#dde8ee var(--daylight),#050609);
  --metal-edge: color-mix(in srgb,#c6d7df var(--daylight),#32353c);
  --glint: color-mix(in srgb,#8cc9f0 var(--daylight),#b6d7ff);
  --primary-top: color-mix(in srgb,#3f82c4 var(--daylight),#386da5);
  --primary-base: color-mix(in srgb,#21568e var(--daylight),#234e80);
  --key-side: color-mix(in srgb,#184878 var(--daylight),#10283e);
}
:root[data-theme=night] { --daylight: 0%; color-scheme: dark; }
:root[data-drag-light] { transition: none; }
.btn.btn-primary,.btn.btn-secondary {
  position:relative; isolation:isolate; border-radius:9px;
  transition:transform .22s cubic-bezier(.22,.85,.24,1.25),box-shadow .2s,border-color .2s,background-color .2s;
}
.btn.btn-primary {
  color:#fff; border:1px solid color-mix(in srgb,#7eb1e2 var(--daylight),#547eaa);
  background:var(--nav-surface);
  box-shadow:inset 0 1px 0 #e1f2ff9c,inset 0 -1px 1px #1b447455,0 3px 0 var(--key-side),0 7px 14px #14477428;
}
.btn.btn-secondary {
  color:var(--ink); border:1px solid var(--metal-edge); background:var(--nav-surface);
  box-shadow:inset 0 1px 0 #dff2ff87,0 2px 0 var(--metal-edge),0 5px 10px #12334f16;
}
.hero { background:radial-gradient(ellipse at 51% 39%,var(--hero-core) 0%,transparent 58%),radial-gradient(ellipse at 103% 85%,var(--hero-light),transparent 56%),linear-gradient(118deg,var(--hero-side),var(--paper) 47%,var(--hero-side)); }
.hero-content,.hero-bottom { z-index:1; }
.hero::after { content:"";position:absolute;inset:0;pointer-events:none;z-index:-2;background:radial-gradient(ellipse at 10% 64%,var(--hero-light),transparent 56%); }
.hero-description,.hero-bottom,.page-subtitle { color:var(--muted); }
.site-header,#site-header { background:var(--nav-surface);border-bottom-color:var(--line); }
.brand-mark { color:#f5faff; background:linear-gradient(145deg,var(--primary-top),var(--primary-base)); }
.skip-link {background:var(--primary-base);color:#fff;}
.filter-group { position:relative;isolation:isolate; }
.filter-group .filter-chip { position:relative;z-index:1; }
.filter-group.gliding .filter-chip.active { background:transparent;box-shadow:none; }
.filter-travel { position:absolute;background:var(--ice);border-radius:5px;box-shadow:inset 0 0 0 1px var(--metal-edge);transform-origin:0 50%;pointer-events:none; }
.auth-role {position:relative;isolation:isolate;}
.auth-role::before {content:"";position:absolute;left:4px;top:4px;bottom:4px;width:calc(50% - 6px);border-radius:5px;background:var(--white);box-shadow:0 2px 5px #12334f28;transition:transform .32s var(--ease);}
.auth-role[data-role=enterprise]::before {transform:translateX(calc(100% + 4px));}
.auth-role button {position:relative;}
.auth-role button.active,.auth-role button[aria-selected=true] {background:transparent;box-shadow:none;}
.bookmark-button { transition:background .2s,color .2s,scale .2s; }
.list-row {transition:background .2s,box-shadow .2s;}
@media(hover:hover){.list-row[data-action]:hover {box-shadow:inset 2px 0 var(--metal-edge);}}
.modal,.drawer { border-color:var(--line); }
.overlay-backdrop { background:color-mix(in srgb,#112e4e38 var(--daylight),#010c1eb5); }
.form-error:not(:empty){background:var(--soft);padding:8px 12px;border-radius:3px;}
.route-blend #app {view-transition-name:page-content;}
::view-transition-group(page-content) {animation-duration:.3s;}
::view-transition-old(root),::view-transition-new(root){animation:none;}
::view-transition-old(page-content){animation:page-leave .16s ease-in both;}
::view-transition-new(page-content){animation:page-arrive .32s var(--ease) both;}
::view-transition{pointer-events:none;}
.route-blend .page-shell {animation:none;}
@keyframes page-leave {to{opacity:0;transform:translateY(-6px);}}
@keyframes page-arrive {from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}
@media(max-width:1120px) {.header-inner {gap:12px;} .desktop-nav{gap:19px;}.header-actions{gap:9px;}}
@media(max-width:600px){
 .header-actions {gap:4px;}
}
@media(max-width:390px){
 :root {--header-gutter:10px;}
 .header-inner{gap:5px;}.header-actions{gap:2px;} .header-actions .login-secondary{display:none;}
 .header-actions .btn{padding-inline:10px;}.header-search,.header-actions .icon-btn{width:31px;}.brand{gap:6px;}
}
:root[data-motion=reduced],:where(html[data-motion=reduced]) .auth-role::before {transition:none!important;}
:where(html[data-motion=reduced]) .btn.btn-primary:hover:not(:disabled),:where(html[data-motion=reduced]) .btn.btn-secondary:hover:not(:disabled),:where(html[data-motion=reduced]) .btn.btn-primary:active:not(:disabled),:where(html[data-motion=reduced]) .btn.btn-secondary:active:not(:disabled) {transform:none;}
:where(html[data-motion=reduced]) .bookmark-button:active {scale:1;}

/* Compact signed-in navigation. */
@media(max-width:360px){
 :root {--header-gutter:7px;}
 .header-inner {gap:3px;}
 .header-inner .brand {gap:4px;}
 .header-inner .brand-name {font-size:16px;letter-spacing:.035em;}
 .header-inner .brand-mark {width:23px;height:23px;flex-basis:23px;}
 .header-actions .avatar {width:29px;height:29px;}
}


/* Editorial home links and pale-blue actions. */
.hero-actions { align-items:center;justify-content:center;column-gap:0;margin-top:32px; }
.hero-link { position:relative;display:inline-flex;align-items:center;gap:10px;padding:9px 0;min-height:44px;
  color:var(--tone-strong);font-size:14px;letter-spacing:.055em;font-weight:550;line-height:1.45; }
.hero-link + .hero-link { margin-left:25px;padding-left:25px; }
.hero-link + .hero-link::before {content:"";position:absolute;left:0;height:13px;width:1px;background:var(--tone-rule);}
.hero-link svg {width:16px;height:16px;transition:transform .3s var(--ease);}
.hero-link span {background:linear-gradient(currentColor,currentColor) no-repeat 0 100%/0% 1px;
  padding:3px 0;transition:background-size .3s var(--ease);}
.hero-link:is(:hover,:focus-visible) span {background-size:100% 1px;}
.hero-link:first-child:is(:hover,:focus-visible) svg {transform:translateX(3px);}
.hero-link:last-child:is(:hover,:focus-visible) svg {transform:translate(2px,-2px);}
:root {
  --primary-top:color-mix(in srgb,#edf7fb var(--daylight),#dce9ef);
  --primary-base:color-mix(in srgb,#d1e6f1 var(--daylight),#b4ccd8);
  --key-side:color-mix(in srgb,#adcad8 var(--daylight),#8ea6b3);
}
.btn.btn-primary,.brand-mark {color:#294d60;}
.btn.btn-primary {border-color:var(--metal-edge);box-shadow:inset 0 1px 0 #ffffffab,0 1px 0 var(--key-side),0 3px 9px #65849820;}
.brand-mark {background:linear-gradient(150deg,var(--primary-top),var(--primary-base));}
.skip-link {color:#294d60;}
.hero-title,.hero-title span,.hero-description,.hero-bottom,.nav-link,.brand-name {transition:color .22s ease;}
@media(max-width:600px){.hero-actions{margin-top:25px;}.hero-link{font-size:13px;}}
:where(html[data-motion=reduced]) .hero-link:is(:hover,:focus-visible) svg {transform:none;}

#particle-canvas {opacity:clamp(.58,var(--daylight),1);}

:root {--soft-return:cubic-bezier(.18,.94,.28,1.22);--settle:cubic-bezier(.2,.7,.18,1);}
:root[data-motion=full] .nav-link::after{transition:transform .34s var(--soft-return);}
:root[data-motion=full] .pathway-title .icon,:root[data-motion=full] .row-arrow {transition:transform .36s var(--soft-return),color .24s;}
:root[data-motion=full] :is(.job-row,.candidate-row,.project-row):focus-visible {background:var(--soft);}
:root[data-motion=full] :is(.btn,.filter-chip,.global-result,.stat,.thread-item):focus-visible {outline-offset:3px;outline:2px solid var(--ink);}
:root[data-motion=full] .drawer:not([data-repeat]) {animation:drawer-settle .53s var(--settle) both;}
:root[data-motion=full] .modal:not([data-repeat]) {animation:modal-settle .43s var(--settle) both;}
:root[data-motion=full] .message-new {animation:message-settle .37s var(--settle) both;transform-origin:100% 100%;}
:root[data-motion=full] .toast:not(.leaving){animation:message-settle .32s var(--settle) both;}
:root[data-motion=full] .search-field,:root[data-motion=full] .global-field {transition:box-shadow .28s var(--settle),border-color .25s,background-color .25s;}
@keyframes drawer-settle {0%{opacity:.5;transform:translateX(min(12%,68px));}72%{opacity:1;transform:translateX(-3px);}100%{transform:none;}}
@keyframes modal-settle {0%{opacity:0;transform:translate(-50%,calc(-50% + 12px)) scale(.975);}72%{opacity:1;transform:translate(-50%,calc(-50% - 1px)) scale(1.006);}100%{transform:translate(-50%,-50%);}}
@keyframes message-settle {0%{opacity:0;scale:.96 .92;translate:0 7px;}70%{opacity:1;scale:1.012 1.008;translate:0 -1px;}100%{scale:1;translate:none;}}
.heading-kicker {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;}
.heading-kicker .eyebrow {margin:0;color:var(--blue);}
.hero-bottom {align-items:center;}
@media(max-width:600px){
  .heading-kicker {margin-bottom:6px;}
}
.header-inner .brand {min-height:44px;cursor:pointer;border-radius:8px;}

/* Reserve space before the brand, and give that space back first on narrow desktops. */
@media (min-width: 821px) {
  .header-inner { justify-content: flex-start; column-gap: 0; }
  .header-inner::before {
    content: "";
    flex: 0 1 clamp(0px, calc(20vw - 164px), 350px);
  }
  .header-inner > .desktop-nav {
    flex-shrink: 0;
    margin-inline: clamp(12px, calc(5vw - 29px), 52px) 12px;
  }
  .header-inner > .header-actions { margin-inline-start: auto; }
}

/* Solid keys carry a thin illuminated lip. Quiet controls pick up the
   same reflection locally without acquiring a permanent button outline. */
button:not(.light-switch) {
  --contact:0; --light-x:50%; --light-y:25%; --lean-sign:0;
  --spread:.044; --squeeze:.145; --travel:2.4px;
}
:where(button:not(.light-switch,.scroll-indicator)), :where([role=button][data-action]) {position:relative;}
button:not(.light-switch) {isolation:isolate;}
button:is(.stat,.thread-item,.global-result,.title-button,.text-link,.scroll-indicator) {
  --spread:.012; --squeeze:.066; --travel:1.2px;
}
:where([role=button]:not(button)[data-action]) {
  --contact:0; --light-x:50%; --light-y:50%; --lean-sign:0;
  --spread:.003;--squeeze:.025;--travel:1px;
}
:root[data-motion=full] :is(button:not(.light-switch),[role=button][data-action])[data-contact] {
  transform-origin:var(--light-x) 65%;
  scale:calc(1 + var(--spread)*var(--contact)) calc(1 - var(--squeeze)*var(--contact));
  translate:0 calc(var(--travel)*var(--contact));
  rotate:calc(.7deg*var(--lean-sign)*var(--contact));
}
:root .btn:is(.btn-primary,.btn-secondary):is(:active,:hover):not(:disabled), :root .icon-btn:active:not(:disabled), :root .btn-ghost:active:not(:disabled) {transform:none;}
:root[data-motion=full] button:not(.light-switch) {
  transition:color .18s,box-shadow .14s,background-color .2s,border-color .18s;
}
:root .bookmark-button:active {scale:1;}


/* Action buttons share the navigation surface and follow its light transition. */
:root {
  --control-ink: #191919;
  --control-muted: #5e5e5e;
  --control-edge: color-mix(in srgb, var(--white) 87%, var(--control-ink));
  --control-hover: color-mix(in srgb, var(--white) 96%, var(--control-ink));
  --control-selected: color-mix(in srgb, var(--white) 91%, var(--control-ink));
  --control-active-edge: color-mix(in srgb, var(--white) 74%, var(--control-ink));
}

:root[data-ink=light] {
  --control-ink: #f2f2f2;
  --control-muted: #bfbfbf;
}

.btn:is(.btn-primary,.btn-secondary,.btn-ghost),
button:is(.icon-btn,.avatar,.filter-chip,.tab),
.filter-travel, .auth-role, .auth-role::before, .toast,
input[type=file]::file-selector-button {
  border: 1px solid var(--control-edge);
  border-radius: 999px;
  background: var(--nav-surface);
  color: var(--control-ink);
  box-shadow: none;
}

.btn:is(.btn-primary,.btn-secondary,.btn-ghost) {
  width: fit-content;
  max-width: 100%;
  min-height: 36px;
  padding: 6px 13px;
  gap: 6px;
  line-height: 1.35;
}
.btn.btn-primary {font-weight: 600;}
.btn svg.icon {width: 1.12em; height: 1.12em;}
.header-actions .btn, .row-side .btn, .btn.btn-sm {min-height: 34px; padding: 5px 11px;}
.header-actions [data-action=login] {gap: 2px;}
.drawer-footer .btn {flex: 0 0 auto; min-width: 0;}

button.icon-btn:not(.header-search), button.avatar {border-radius: 50%;}
button.tab {padding: 6px 11px; min-height: 32px;}

:is(.btn,.icon-btn,.avatar,.filter-chip,.tab):is(:hover,:focus-visible):not(:disabled),
label.btn:focus-within, input[type=file]::file-selector-button:hover {
  background: var(--control-hover);
  border-color: var(--control-active-edge);
  color: var(--control-ink);
  box-shadow: none;
}
:is(.btn,.icon-btn,.avatar,.filter-chip,.tab):active:not(:disabled),
button:is(.filter-chip,.tab,.icon-btn):is(.active,[aria-pressed=true]),
.filter-travel, .auth-role::before {
  background: var(--control-selected);
  border-color: var(--control-active-edge);
  color: var(--control-ink);
  box-shadow: none;
}
.filter-group.gliding .filter-chip.active {background: transparent; border-color: transparent;}
.auth-role {width: fit-content; max-width: 100%;}
.auth-role button {border-radius: 999px; padding: 6px 12px; color: var(--control-muted);}
.auth-role button:is(.active,[aria-pressed=true],:hover) {background: transparent; color: var(--control-ink);}
.bookmark-button.is-saved .icon {fill: currentColor; color: var(--control-ink);}
button:is(.global-result,.thread-item):is(:hover,:focus-visible,.active) {
  --ink: var(--control-ink); --text: var(--control-ink); --blue: var(--control-ink);
  --muted: var(--control-muted); --quiet: var(--control-muted);
  background: var(--control-hover); color: var(--control-ink);
}

/* City and work-type controls follow the active theme. */
.listing-filters {
  display: flex; align-items: center; gap: 10px; margin-inline-start: auto;
  color-scheme: inherit; color: var(--control-ink); font-size: 13px;
}
.city-field, .type-picker summary {
  display: flex; align-items: center; min-height: 38px;
  background: var(--white); border: 1px solid var(--control-edge); border-radius: 999px;
}
.city-field {width: 202px; padding-inline: 13px 4px;}
.city-field input[type=search]:not([type=file]):not([type=checkbox]):not([type=radio]) {
  flex: 1; min-width: 0; min-height: 34px; padding: 4px 0; width: 0;
  color: var(--control-ink); background: transparent; border: 0; box-shadow: none;
}
.city-field input::placeholder {color: var(--control-muted);}
.city-field:focus-within, .type-picker[open] summary {border-color: var(--control-active-edge);}
.locate-city {
  display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px;
  min-height: 28px; border-radius: 999px; color: var(--control-ink); background: var(--control-hover);
  font-size: 12px; white-space: nowrap;
}
.locate-city svg.icon {width: 14px; height: 14px;}
.type-picker {position: relative;}
.type-picker summary {
  list-style: none; justify-content: space-between; gap: 10px; padding: 6px 12px;
  color: var(--control-ink); cursor: pointer; white-space: nowrap;
}
.type-picker summary::-webkit-details-marker {display: none;}
.type-picker summary svg {width: 15px; height: 15px; transition: transform .18s;}
.type-picker[open] summary svg {transform: rotate(180deg);}
.type-options {
  position: absolute; z-index: 6; inset: calc(100% + 6px) 0 auto auto;
  width: max-content; min-width: 132px; padding: 4px;
  border-radius: 14px; border: 1px solid var(--control-edge); background: var(--white);
  box-shadow: 0 5px 16px #00000012;
}
.type-options button {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; min-height: 35px; padding: 5px 10px; border-radius: 10px;
  background: var(--white); color: var(--control-ink); font-size: 13px;
}
.type-options button:is(:hover,:focus-visible,[aria-pressed=true]), .locate-city:hover {background: var(--control-selected);}
.type-options button svg {width: 14px; height: 14px; visibility: hidden;}
.type-options button[aria-pressed=true] svg {visibility: visible;}
.listing-filters :is(summary,button):focus-visible {outline: 2px solid var(--control-ink); outline-offset: 1px;}
.field select, select[data-candidate-status], select option {color-scheme: inherit; color: var(--control-ink); background-color: var(--white);}
.filter-group + .result-count {margin-top: 12px;}
.tabs {padding-bottom: 12px;}
@media (max-width: 760px) {
  .listing-filters {margin-inline-start: 0; max-width: 100%;}
  .city-field {width: min(185px, 50vw);}
}
@media (prefers-reduced-motion: reduce) {
  .type-picker summary svg {transition: none;}
}

/* The embedded artwork renders in its own viewport; this window frames its track. */
.header-account,.header-identity {display: contents;}
.glass-toggle {
  --glass-scale: .592593;
  position: relative; display: inline-block; flex: none; vertical-align: middle;
  width: calc(108px * var(--glass-scale)); height: calc(56px * var(--glass-scale));
  border-radius: calc(18px * var(--glass-scale)); overflow: hidden;
}
.glass-toggle iframe {
  position: absolute; width: 160px; height: 216px; max-width: none; border: 0;
  left: calc(-26px * var(--glass-scale)); top: calc(-70px * var(--glass-scale));
  transform: scale(var(--glass-scale)); transform-origin: top left; visibility: hidden;
}
.glass-toggle[data-ready] iframe {visibility: visible;}
.glass-toggle:focus-within {outline: 2px solid var(--ink); outline-offset: 3px;}
.glass-fallback {
  width: 100%; height: 100%; border-radius: inherit; border: 1px solid var(--control-edge);
  color: var(--control-ink); background: var(--white); font-size: 19px; line-height: 1;
}
@media (max-width: 600px) {.glass-toggle {--glass-scale: .5;}}

.listing-filters {position: relative;}
.city-panel {
  position: absolute; z-index: 7; top: calc(100% + 7px); right: 0;
  width: min(348px, calc(100vw - 36px)); padding: 13px;
  color: var(--control-ink); background: var(--white);
  border: 1px solid var(--control-edge); border-radius: 16px; box-shadow: 0 5px 16px #0002;
}
.city-panel-head {display: flex; align-items: center; gap: 8px; margin-bottom: 9px;}
.city-panel-head strong {font-size: 13px; font-weight: 600;}
.city-panel-head button, .city-initials button, .city-choices button {
  color: var(--control-ink); background: transparent; padding: 4px 7px; border-radius: 7px; font-size: 12px;
}
.city-panel-head [data-any] {margin-inline-start: auto; color: var(--control-muted);}
.city-panel-head [data-back] {display: inline-flex; align-items: center; padding-inline-start: 0;}
.city-panel-head svg.icon {width: 13px; height: 13px; transform: rotate(180deg);}
.city-initials {display: flex; flex-wrap: wrap; gap: 3px; padding-bottom: 9px; border-bottom: 1px solid var(--control-edge);}
.city-initials button {min-width: 24px; min-height: 25px; font-size: 11px; padding: 2px 5px;}
.city-choices {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2px; padding-top: 7px; max-height: min(224px,34vh); overflow-y: auto; overscroll-behavior: contain;}
.city-choices button {text-align: left; min-height: 32px; overflow-wrap: anywhere;}
.city-panel button:is(:hover,:focus-visible,[aria-pressed=true]) {background: var(--control-selected);}
@media (max-width: 760px) {.city-panel {right: auto; left: 0; width: min(330px, calc(100vw - 48px));}}
.header-menu-slot {display: contents;}

/* Scheduled course enrollment and the learner's course list. */
.scheduled-course-row { gap: 18px; padding-block: 23px; }
.scheduled-course-mark {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  border-radius: 9px;
  background: var(--tone-ice);
  color: var(--blue);
}
.scheduled-course-mark .icon { width: 21px; height: 21px; }
.scheduled-course-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.scheduled-course-facts > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.scheduled-course-facts > span > span, .scheduled-course-detail > span > span,
.scheduled-course-row .title-button { overflow-wrap: anywhere; }
.scheduled-course-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scheduled-course-facts .icon { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .scheduled-course-row { gap: 10px 12px; }
  .scheduled-course-mark { flex-basis: 36px; height: 36px; }
  .scheduled-course-row > .row-side { margin-inline-start: 48px; width: calc(100% - 48px); }
  .scheduled-course-facts { column-gap: 12px; }
}

.mail-code-form { display:grid; gap:14px; }
.mail-code-fields { display:grid; gap:14px; min-width:0; padding:0; margin:0; border:0; }
.mail-code-fields[hidden], .mail-code-actions [hidden] { display:none; }
.mail-code-form .field { min-width:0; margin:0; }
.mail-code-form .field input { display:block; width:100%; margin-top:5px; }
.mail-code-hint { font-size:13px; line-height:1.6; color:var(--muted); overflow-wrap:anywhere; }
.mail-code-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:9px 16px; }
.mail-code-actions button:disabled { color:var(--muted); cursor:default; }
.mail-admin-entry { justify-self:start; }
