@font-face {
  font-family: "PyeojinGothic";
  src: url("fonts/PyeojinGothic-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-1Thin.woff2") format("woff2"); font-style: normal; font-weight: 100; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-2ExtraLight.woff2") format("woff2"); font-style: normal; font-weight: 200; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-3Light.woff2") format("woff2"); font-style: normal; font-weight: 300; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-4Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-5Medium.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-6SemiBold.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-7Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-8ExtraBold.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }
@font-face { font-family: "Paperozi"; src: url("fonts/Paperlogy-9Black.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }

@font-face {
  font-family: "PyeojinGothic";
  src: url("fonts/PyeojinGothic-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PyeojinGothic";
  src: url("fonts/PyeojinGothic-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #086b62;
  --navy-deep: #173d39;
  --blue: #00796b;
  --blue-dark: #005f55;
  --blue-pale: #eaf8f5;
  --red: #d7193f;
  --red-pale: #fff1f3;
  --ink: #1f2f2d;
  --muted: #64736f;
  --line: #dfe8e5;
  --line-strong: #bdccc7;
  --page: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #f2f7f5;
  --focus: #ffbf47;
  --shadow: 0 18px 48px rgba(24, 55, 50, .08);
  color-scheme: light;
  font-family: "PyeojinGothic", Pretendard, "Pretendard GOV", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { font-family: "PyeojinGothic", Pretendard, "Pretendard GOV", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; }
body { margin: 0; background: var(--page); color: var(--ink); font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: normal; }
button, input, textarea, select, option, summary, dialog { font: inherit; font-family: inherit; }
h1, h2, h3, .brand-name, .home-service strong, .function-nav-button { font-family: "Paperozi", "PyeojinGothic", Pretendard, "Noto Sans KR", sans-serif; }
button, a, summary, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--blue-dark); text-underline-offset: .18em; }
code, pre, input, textarea { overflow-wrap: anywhere; word-break: break-word; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); background: var(--navy); color: #fff; padding: 10px 14px; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
[hidden] { display: none !important; }

.app-header { position: sticky; z-index: 40; top: 0; min-height: 72px; padding: 14px clamp(20px, 4vw, 64px); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; backdrop-filter: blur(12px); }
.brand-block { display: flex; align-items: center; gap: 12px; }
.eyebrow, .section-kicker { margin: 0; color: var(--blue-dark); font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.brand-name { margin: 0; color: var(--navy-deep); font-weight: 700; }
.health { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .875rem; }
.health-dot { width: 9px; height: 9px; border-radius: 50%; background: #7b8791; box-shadow: 0 0 0 4px var(--surface-soft); }
.health.is-ok .health-dot { background: var(--blue); box-shadow: 0 0 0 4px #e6eaff; }
.health.is-degraded .health-dot { background: var(--red); box-shadow: 0 0 0 4px var(--red-pale); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.mobile-menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--navy-deep); font-size: 1.2rem; font-weight: 700; }

.app-shell { width: min(1680px, 100%); margin: 0 auto; display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.function-rail { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; flex-direction: column; gap: 18px; padding: 28px 18px; border-right: 1px solid var(--line); background: var(--surface); overflow-y: auto; }
.function-rail-heading { padding: 0 10px; }
.function-rail-heading strong { display: block; margin-top: 4px; color: var(--navy-deep); font-size: 1.1rem; }
.function-nav-list { display: grid; gap: 5px; }
.function-nav-button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 10px; padding: 10px 12px; background: transparent; color: var(--muted); text-align: left; font-weight: 700; }
.function-nav-button:hover { background: var(--surface-soft); color: var(--navy-deep); }
.function-nav-button.is-active { background: #e7efff; color: var(--blue-dark); box-shadow: inset 3px 0 0 var(--blue); }
.function-nav-icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 8px; font-size: .8rem; line-height: 1; }
.function-rail-note { margin: auto 10px 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }

.workspace { width: 100%; margin: 0; padding: 32px clamp(20px, 4vw, 64px) 72px; display: grid; grid-template-columns: minmax(320px, 360px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.profile-panel { position: sticky; top: 24px; background: var(--surface); border-top: 5px solid var(--navy); box-shadow: var(--shadow); padding: 28px; }
.panel-intro { margin-bottom: 28px; }
.panel-intro h1 { margin: 6px 0 10px; color: var(--navy-deep); font-size: clamp(1.65rem, 3vw, 2rem); line-height: 1.25; letter-spacing: -.035em; }
.panel-intro p:last-child { margin: 0; color: var(--muted); }

form { display: grid; gap: 24px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend, .field > label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--navy-deep); }
.required { color: var(--red); font-size: .75rem; margin-left: 4px; }
.hint { margin: -2px 0 8px; color: var(--muted); font-size: .875rem; }
input[type="text"], input[type="password"], input[type="search"], textarea, select { width: 100%; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); padding: 12px 13px; }
textarea { resize: vertical; min-height: 136px; }
input:hover, textarea:hover, select:hover { border-color: var(--navy); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border: 2px solid var(--red); }
.field-error { margin: 7px 0 0; color: var(--red); font-size: .875rem; font-weight: 700; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.segmented label { position: relative; }
.segmented label + label { border-left: 1px solid var(--line-strong); }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented span { min-height: 44px; display: grid; place-items: center; padding: 6px; color: var(--muted); font-size: .875rem; cursor: pointer; }
.segmented input:checked + span { background: var(--navy); color: #fff; font-weight: 700; }
.segmented input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }
.journey-difference { display: grid; gap: 3px; margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--blue); background: var(--blue-pale); color: var(--muted); font-size: .84rem; line-height: 1.55; }
.journey-difference strong { color: var(--navy-deep); font-size: .9rem; }
.journey-difference span { display: block; }
.radio-stack { display: grid; gap: 8px; }
.radio-stack label { position: relative; display: flex; align-items: center; min-height: 44px; padding-left: 34px; cursor: pointer; }
.radio-stack label::before { content: ""; position: absolute; left: 2px; width: 18px; height: 18px; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; }
.radio-stack label:has(input:checked)::before { border-color: var(--blue); box-shadow: inset 0 0 0 4px #fff; background: var(--blue); }
.radio-stack input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.radio-stack input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.primary-button, .secondary-button { min-height: 48px; border-radius: 8px; padding: 11px 18px; font-weight: 700; }
.primary-button { width: 100%; border: 0; background: var(--blue); color: #fff; box-shadow: 0 2px 0 var(--blue-dark); }
.primary-button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.primary-button:active { transform: translateY(1px); box-shadow: none; }
.primary-button:disabled { cursor: wait; opacity: .7; transform: none; }
.secondary-button { border: 1px solid var(--navy); background: #fff; color: var(--navy); }
.secondary-button:hover { background: var(--blue-pale); }
.secondary-button:disabled { cursor: not-allowed; opacity: .55; }
.compact-button { min-height: 44px; padding: 7px 12px; }
.compact-button.is-listening { border-color: var(--red); background: var(--red-pale); color: #8f1530; }
.text-button { min-height: 44px; border: 0; background: transparent; color: var(--blue-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { margin: -10px 0 0; color: var(--muted); font-size: .8rem; }
.save-consent { position: relative; min-height: 44px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; color: var(--navy-deep); font-size: .9rem; cursor: pointer; }
.save-consent::before { content: ""; width: 20px; height: 20px; border: 2px solid var(--line-strong); border-radius: 4px; background: #fff; }
.save-consent::after { content: "✓"; position: absolute; left: 3px; top: 50%; color: #fff; font-size: 14px; font-weight: 800; line-height: 1; opacity: 0; transform: translateY(-50%); }
.save-consent:has(input:checked)::before { border-color: var(--blue); background: var(--blue); }
.save-consent:has(input:checked)::after { opacity: 1; }
.save-consent input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.interest-test { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.interest-test summary, .resume-assistant summary { min-height: 44px; display: flex; align-items: center; color: var(--navy-deep); font-weight: 700; cursor: pointer; }
.interest-test summary span, .resume-assistant summary span { margin-left: 6px; color: var(--muted); font-size: .75rem; font-weight: 600; }
.interest-test > .hint { margin: 10px 0 14px; }
.interest-questions { display: grid; gap: 12px; }
.interest-question { display: grid; gap: 6px; color: var(--ink); font-size: .875rem; }
.interest-choices { display: grid; gap: 6px; }
.interest-question legend { float: left; width: 100%; margin-bottom: 12px; font-weight: 600; }
.interest-choices { clear: both; }
.interest-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; background: var(--surface); }
.interest-choice:has(input:checked) { border-color: var(--blue); background: var(--surface-soft); font-weight: 700; }
.interest-choice input { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.interest-choice:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.opportunity-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.opportunity-filters select { min-height: 48px; }
.opportunity-search-form { display: grid; gap: 16px; }
.opportunity-query-field { max-width: 720px; }
.opportunity-search-button { width: auto; min-width: 132px; }
@media (max-width: 600px) { .opportunity-filters { grid-template-columns: 1fr; gap: 12px; } }
.match-reason { color: var(--blue); font-weight: 600; font-size: .875rem; }
.source-disclosure { margin: 14px 0 24px; padding: 12px 14px; border-left: 3px solid var(--blue); background: var(--blue-pale); color: var(--navy-deep); font-size: .875rem; }
.source-disclosure strong { white-space: nowrap; }
.career-intro { padding: 24px; border-radius: 12px; background: #f3f7f1; }
.career-intro h2, .career-question-header h2 { font-size: clamp(21px, 3vw, 28px); line-height: 1.5; letter-spacing: -.03em; }
.career-time { color: var(--blue); font-weight: 700; font-size: .875rem; }
.career-question-header progress { width: 100%; height: 8px; accent-color: var(--blue); margin: 0 0 18px; }
.career-step { display: grid; gap: 22px; }
.career-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.career-controls .primary-button { flex: 1; }
.career-review { display: grid; gap: 12px; }
.career-review-row { padding: 16px; background: #fafbf9; border: 1px solid var(--line); border-radius: 8px; }
.career-review-row p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0; }
.input-assist-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.input-assist-actions .hint { margin: 0; }
.resume-assistant { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.resume-assistant > .hint { margin: 10px 0 14px; }
.file-picker { display: grid; gap: 7px; margin-bottom: 12px; color: var(--navy-deep); font-weight: 700; }
.file-picker input { width: 100%; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 10px; background: var(--surface-soft); }
.file-picker input[type="file"] { font-family: "PyeojinGothic", Pretendard, "Pretendard GOV", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; font-size: 14px; font-weight: 400; }
.file-picker input[type="file"]::file-selector-button { min-height: 40px; margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: var(--navy-deep); font: 700 14px/1.4 "PyeojinGothic", Pretendard, "Pretendard GOV", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; cursor: pointer; }
.file-picker input[type="file"]::-webkit-file-upload-button { min-height: 40px; margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: var(--navy-deep); font: 700 14px/1.4 "PyeojinGothic", Pretendard, "Pretendard GOV", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; cursor: pointer; }
.resume-preview { margin-top: 16px; border-left: 4px solid var(--blue); background: var(--blue-pale); padding: 16px; }
.resume-preview h3 { margin: 0 0 12px; color: var(--navy-deep); font-size: 1rem; }
.resume-signal-group { margin-bottom: 14px; }
.resume-signal-group h4 { margin: 0 0 4px; font-size: .85rem; color: var(--blue-dark); }
.resume-signal-group ul { margin: 0; padding-left: 1.2rem; font-size: .875rem; }
.resume-signal-group li { margin: 3px 0; }
.saved-panel { margin-top: 30px; padding-top: 24px; border-top: 2px solid var(--navy); }
.saved-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.saved-panel h2 { margin: 2px 0 8px; color: var(--navy-deep); font-size: 1.15rem; }
.saved-jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.saved-jobs .empty-row { grid-column: 1 / -1; }
.saved-jobs .saved-job-card { min-width: 0; display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fafbf9; }
.saved-jobs .record-title-line { display: block; }
.saved-jobs .record-title { font-size: .95rem; line-height: 1.45; }
.saved-jobs .record-meta { font-size: .78rem; }
.saved-jobs .badge { margin-top: 5px; }
.saved-jobs .record-action { margin-top: auto; font-size: .875rem; }
.saved-jobs-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 8px; }
.saved-jobs-pagination button { min-width: 44px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 7px; background: white; color: var(--ink); }
.saved-jobs-pagination button.is-current { border-color: var(--blue); background: var(--blue); color: white; }
.pagination-ellipsis { min-width: 24px; display: grid; place-items: center; color: var(--muted); }
.opportunity-pagination { margin-bottom: 34px; }
.danger { color: #a21732; }

.result-panel { min-width: 0; }
.empty-state { min-height: 620px; background: var(--blue-pale); border-top: 5px solid var(--blue); padding: clamp(28px, 5vw, 56px); }
.empty-heading { max-width: 680px; }
.empty-heading h2, .result-header h2 { margin: 6px 0 10px; color: var(--navy-deep); font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.25; letter-spacing: -.035em; }
.empty-heading > p:last-child { color: var(--muted); }
.preview-ladder { list-style: none; margin: 42px 0; padding: 0; max-width: 760px; }
.preview-ladder li { position: relative; min-height: 96px; padding: 0 0 28px 64px; }
.preview-ladder li:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 42px; bottom: 0; width: 2px; background: #b8c7eb; }
.preview-ladder li > span { position: absolute; left: 0; top: 0; width: 42px; height: 42px; display: grid; place-items: center; background: var(--blue); color: #fff; border-radius: 50%; font-weight: 700; }
.preview-ladder strong { display: block; color: var(--navy-deep); font-size: 1.1rem; }
.preview-ladder p { margin: 3px 0 0; color: var(--muted); }
.data-boundary { border-top: 1px solid #c8d6e8; padding-top: 20px; }
.data-boundary p { margin: 10px 0 0; color: var(--muted); }

.badge { display: inline-flex; align-items: center; min-height: 24px; margin: 0 6px 3px 0; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge-live { color: var(--blue-dark); background: #f0f2ff; }
.badge-inference { color: #4f5e69; background: #f0f3f5; }
.badge-failed { color: var(--red); background: var(--red-pale); }

.request-alert { margin-bottom: 24px; border-left: 5px solid var(--red); background: var(--red-pale); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.request-alert strong { color: #8f1530; font-size: 1.08rem; }
.request-alert p { margin: 3px 0 0; }
.loading-state { min-height: 520px; border-top: 5px solid var(--blue); background: #fff; padding: 40px; }
.loading-label { color: var(--navy-deep); font-weight: 700; }
.skeleton-line, .skeleton-block { background: #e7edf3; border-radius: 4px; }
.skeleton-line { width: 62%; height: 20px; margin: 20px 0; }
.skeleton-line.wide { width: 86%; height: 34px; }
.skeleton-block { height: 140px; margin-top: 34px; }
.skeleton-block.short { height: 96px; }

.results { animation: result-in 160ms ease-out both; }
.result-header { border-top: 5px solid var(--navy); padding: 28px 0 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.result-meta { margin: 0; color: var(--muted); font-size: .875rem; }
.warnings { display: grid; gap: 8px; margin-bottom: 8px; }
.warning { margin: 0; padding: 10px 14px; border-left: 3px solid var(--red); background: var(--red-pale); color: #73162b; font-size: .875rem; }
.warning.info { border-color: var(--blue); background: var(--blue-pale); color: var(--navy-deep); }

.ladder { position: relative; }
.stage { position: relative; padding: 34px 0 38px 66px; border-top: 1px solid var(--line); }
.stage:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 76px; bottom: -1px; width: 2px; background: var(--line); }
.stage-number { position: absolute; top: 34px; left: 0; width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--blue); border-radius: 50%; background: #fff; color: var(--blue-dark); font-weight: 700; }
.stage-head { margin-bottom: 20px; }
.stage-head h3 { margin: 0 0 5px; color: var(--navy-deep); font-size: 1.35rem; line-height: 1.35; letter-spacing: -.02em; }
.stage-head p { margin: 0; color: var(--muted); }
.stage-subgroup { margin-top: 28px; }
.stage-subgroup h4 { margin: 0 0 8px; color: var(--navy-deep); font-size: 1rem; }
.record-list { border-top: 1px solid var(--line-strong); }
.record { padding: 17px 0; border-bottom: 1px solid var(--line); }
.record-title-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.record-title { margin: 0; color: var(--navy-deep); font-size: 1rem; font-weight: 700; }
.record-meta { margin: 5px 0 0; color: var(--muted); font-size: .875rem; }
.record-body { margin: 8px 0 0; }
.record-action { margin-top: 10px; display: inline-flex; min-height: 40px; align-items: center; color: var(--blue-dark); font-weight: 700; }
.link-new-window { flex-shrink: 0; white-space: nowrap; margin-left: .3em; font-size: .8em; }
.record-button { margin-top: 10px; min-height: 40px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--navy); font-weight: 700; }
.record-button:hover { border-color: var(--navy); background: var(--blue-pale); }
.record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.record-button.danger { color: #a21732; }
.feedback-button.is-selected { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.feedback-button:disabled { cursor: wait; opacity: .65; }
.empty-row { margin: 0; padding: 16px; background: var(--surface-soft); color: var(--muted); }
.term-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.journey-guide { margin-bottom: 20px; padding: 16px 18px; border-left: 4px solid var(--blue); background: var(--blue-pale); }
.journey-guide h4 { margin: 0 0 4px; color: var(--blue-dark); font-size: .8rem; }
.journey-guide strong { display: block; color: var(--navy-deep); font-size: 1.05rem; }
.journey-guide p { margin: 4px 0 0; color: var(--muted); }
.interest-result { margin-bottom: 20px; padding: 16px 18px; border-left: 4px solid var(--navy); background: var(--surface-soft); }
.interest-result h4 { margin: 0 0 4px; color: var(--navy-deep); }
.interest-result p { margin: 4px 0 0; }
.term-block { border-top: 2px solid var(--navy); padding-top: 12px; }
.term-block h4 { margin: 0 0 8px; font-size: .9rem; color: var(--muted); }
.term-block ul, .gap-list { margin: 0; padding-left: 1.25rem; }
.term-block li, .gap-list li { margin: 6px 0; }
.gap-list li::marker { color: var(--blue); font-weight: 700; }

.comparison-scroll { overflow-x: auto; border: 1px solid var(--line); }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; background: var(--surface); font-size: .875rem; }
.comparison-table th, .comparison-table td { padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table thead th { background: var(--surface-soft); color: var(--navy-deep); }
.comparison-table tbody th { color: var(--blue-dark); }
.simulator-label { display: grid; gap: 7px; max-width: 520px; color: var(--navy-deep); font-weight: 700; }
.transition-route { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.transition-route li { position: relative; min-height: 150px; border-top: 3px solid var(--blue); background: var(--blue-pale); padding: 16px 14px; }
.transition-route strong { display: block; margin: 8px 0 4px; color: var(--navy-deep); }
.transition-route p { margin: 0; color: var(--muted); font-size: .85rem; }
.training-route li { min-width: 0; }
.training-route-link { display: block; color: var(--blue-dark); font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.training-route small { display: block; margin-top: 7px; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.transition-step-number { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; }
.market-snapshot { margin-bottom: 28px; padding: 18px; border-left: 4px solid var(--navy); background: var(--surface-soft); }
.market-snapshot h4 { margin: 0 0 12px; color: var(--navy-deep); }
.market-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.market-card { min-height: 116px; display: flex; flex-direction: column; padding: 14px; background: var(--surface); border: 1px solid var(--line); }
.market-card .market-count { color: var(--blue-dark); font-size: 1.8rem; line-height: 1.1; }
.market-card span { margin-top: 5px; font-weight: 700; }
.market-card small { margin-top: auto; padding-top: 8px; color: var(--muted); }
.application-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-bottom: 14px; }
.application-toolbar label { display: grid; gap: 5px; min-width: 180px; color: var(--navy-deep); font-weight: 700; }
.application-drafts { display: grid; gap: 18px; margin-top: 18px; }
.application-draft { display: grid; gap: 14px; border: 1px solid var(--line-strong); background: var(--surface); padding: 18px; }
.application-draft > label { display: grid; gap: 5px; color: var(--navy-deep); font-weight: 700; }
.application-draft textarea { min-height: 300px; font-family: inherit; line-height: 1.7; }

.action-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.action-list li { border-bottom: 1px solid var(--line); }
.action-list label { min-height: 58px; display: grid; grid-template-columns: auto 64px 92px 1fr; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; }
.action-list input { width: 20px; height: 20px; accent-color: var(--blue); }
.action-day { color: var(--blue-dark); font-size: .8rem; font-weight: 700; }
.action-category { color: var(--muted); font-size: .78rem; font-weight: 700; }
.action-list input:checked ~ .action-task { color: var(--muted); text-decoration: line-through; }

.provenance { margin-top: 18px; border-top: 3px solid var(--navy); border-bottom: 1px solid var(--line-strong); background: var(--surface); }
.provenance summary { min-height: 58px; display: flex; align-items: center; padding: 13px 16px; color: var(--navy-deep); font-weight: 700; cursor: pointer; }
.provenance-intro { padding: 0 16px 16px; }
.legend { margin: 16px 0 0; display: grid; gap: 10px; }
.legend div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: start; }
.legend dt, .legend dd { margin: 0; }
.legend dd { color: var(--muted); font-size: .875rem; }
.source-ledger { border-top: 1px solid var(--line); }
.source-row { display: grid; grid-template-columns: minmax(160px, 1fr) auto minmax(180px, 1fr); gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.source-name { font-weight: 700; }
.source-detail { color: var(--muted); font-size: .8rem; }

.mobile-tabbar, .mobile-nav-drawer { display: none; }
.mobile-nav-drawer { width: min(520px, calc(100% - 24px)); max-height: min(720px, calc(100dvh - 24px)); margin: auto auto 0; border: 0; border-radius: 20px 20px 0 0; padding: 0; color: var(--ink); background: var(--surface); box-shadow: 0 -18px 60px rgba(9,47,73,.2); }
.mobile-nav-drawer::backdrop { background: rgba(9, 25, 38, .54); backdrop-filter: blur(2px); }
.mobile-nav-drawer[open] { display: block; animation: drawer-in .18s ease-out; }
.mobile-nav-head { position: sticky; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.mobile-nav-head h2 { margin: 2px 0 0; color: var(--navy-deep); font-size: 1.3rem; }
.mobile-nav-close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--surface-soft); color: var(--navy-deep); font-size: 1.7rem; line-height: 1; }
.mobile-nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); }
.mobile-nav-grid .function-nav-button { min-height: 64px; border: 1px solid var(--line); background: var(--surface); }
.mobile-nav-grid .function-nav-button.is-active { border-color: #aebeea; background: #e7efff; box-shadow: none; }

@keyframes drawer-in { from { transform: translateY(16px); opacity: .65; } to { transform: translateY(0); opacity: 1; } }

@keyframes result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
  .app-shell { display: block; }
  .function-rail { display: none; }
  .mobile-menu-button { display: grid; place-items: center; }
  .mobile-tabbar { position: fixed; z-index: 35; right: 0; bottom: 0; left: 0; display: block; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 -8px 24px rgba(9,47,73,.1); }
  .mobile-tabbar > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mobile-tabbar .function-nav-button { min-height: 62px; justify-content: center; flex-direction: column; gap: 3px; border-radius: 0; padding: 7px 2px 6px; font-size: .72rem; text-align: center; }
  .mobile-tabbar .function-nav-button.is-active { box-shadow: inset 0 3px 0 var(--blue); }
  .mobile-tabbar .function-nav-icon { width: 24px; height: 24px; flex-basis: 24px; border: 0; font-size: .9rem; }
  .mobile-nav-drawer { display: none; }
  .workspace { grid-template-columns: 1fr; }
  .profile-panel { position: static; }
  .empty-state { min-height: auto; }
  .transition-route, .market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .app-header { padding: 10px 14px; }
  .brand-block { gap: 9px; }
  .eyebrow { display: none; }
  .brand-name { font-size: .92rem; }
  .health { display: none; }
  .header-actions { gap: 0; }
  .workspace { padding: 18px 14px 40px; gap: 22px; }
  .profile-panel { padding: 22px 18px; }
  .panel-intro h1 { font-size: 1.65rem; }
  .segmented span { font-size: .8rem; }
  .input-assist-actions { align-items: stretch; flex-direction: column; }
  .empty-state, .loading-state { padding: 26px 20px; }
  .empty-heading h2, .result-header h2 { font-size: 1.75rem; }
  .result-header { align-items: flex-start; }
  .result-header .text-button { padding: 0; min-width: 72px; }
  .stage { padding-left: 52px; }
  .stage-number { width: 36px; height: 36px; }
  .stage:not(:last-child)::before { left: 17px; top: 70px; }
  .term-grid { grid-template-columns: 1fr; }
  .record-title-line { display: block; }
  .record-title-line .badge { margin-top: 6px; }
  .action-list label { grid-template-columns: auto 52px 1fr; gap: 8px; }
  .action-category { grid-column: 3; }
  .action-task { grid-column: 2 / -1; padding-left: 0; }
  .legend div, .source-row { grid-template-columns: 1fr; gap: 4px; }
  .request-alert { align-items: stretch; flex-direction: column; }
  .transition-route, .market-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .primary-button:hover, .primary-button:active { transform: none; }
}

/* Service home and routed work screens. */
.app-header { min-height: 82px; padding: 14px 36px; display: grid; grid-template-columns: 252px minmax(220px, 420px) auto; justify-content: space-between; background: var(--surface); backdrop-filter: none; gap: 22px; }
.brand-block { min-width: 0; color: inherit; text-decoration: none; }
.brand-block:hover { color: inherit; text-decoration: none; }
.brand-symbol { width: 44px; height: 44px; flex: 0 0 44px; display: block; object-fit: contain; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: 0; font-weight: 500; }
.brand-name { font-size: 20px; letter-spacing: -.04em; }
.service-search { display: flex; gap: 0; min-width: 0; max-width: 420px; padding: 0 8px 0 0; border: 1px solid #dedbd3; border-radius: 8px; background: #f7f6f2; }
.service-search input { min-width: 0; width: 100%; min-height: 46px; padding: 10px 14px; border: 0; background: transparent; color: var(--ink); font-size: 14px; }
.service-search input::placeholder { color: #929a95; }
.service-search button { border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 700; padding: 0 10px; white-space: nowrap; }
.health { font-size: 12px; }
.health.is-ok .health-dot { box-shadow: none; }
.header-record-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.header-auth-button { min-height: 44px; padding: 0 15px; border: 0; border-radius: 8px; background: var(--blue); color: white; font-size: 13px; font-weight: 700; }
.header-user { color: var(--navy-deep); font-size: 13px; font-weight: 700; }
.header-logout { min-height: 40px; font-size: 12px; }
.app-shell { width: 100%; max-width: none; grid-template-columns: clamp(220px, 15vw, 272px) minmax(0, 1fr); }
.function-rail { top: 82px; height: calc(100dvh - 82px); padding: 20px 18px 18px; gap: 12px; }
.function-rail-heading { padding: 0 10px; }
.function-rail-heading .section-kicker { color: #87918a; font-size: 12px; font-weight: 500; }
.function-nav-list { gap: 10px; }
.nav-group { display: grid; gap: 4px; }
.nav-group-title { margin: 10px 10px 2px; color: #7b837d; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.nav-group-title:first-child { margin-top: 0; }
.nav-group-links { display: grid; gap: 3px; }
.function-nav-button { min-height: 42px; padding: 8px 10px; gap: 10px; border-radius: 8px; color: #556159; font-size: 14px; font-weight: 600; text-decoration: none; }
.function-nav-button:hover { text-decoration: none; background: #f5f8f5; color: var(--ink); }
.function-nav-button.is-active { background: #e7f7f3; color: var(--blue-dark); box-shadow: none; }
.function-nav-icon { width: 20px; height: 20px; flex-basis: 20px; border: 0; border-radius: 0; }
.function-nav-icon svg { width: 20px; height: 20px; }
.function-rail-note { font-size: 12px; color: #8a938d; }
.workspace { display: block; min-width: 0; padding: clamp(32px, 3.2vw, 54px) clamp(28px, 4vw, 76px) 80px; }
.home-view { max-width: 1280px; margin: 0 auto; }
.home-welcome { margin-bottom: 18px; }
.home-welcome > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.home-welcome h1 { margin: 0; font-size: 30px; line-height: 1.35; color: var(--ink); letter-spacing: -.035em; }
.home-menu-results { margin: 0 0 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.home-menu-results .home-section-heading,
.menu-results-heading { align-items: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.home-menu-results h2,
#menu-search-title { font-size: 19px; line-height: 1.35; }
#clear-menu-search { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: var(--navy); font-size: 12px; text-decoration: none; }
#clear-menu-search:hover { border-color: #9caf9f; background: #f7faf6; color: var(--blue-dark); }
#service-menu-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
#service-menu-results:empty { min-height: 0; }
#service-menu-search-empty { margin: 12px 0 0; }
.home-job-search { margin: 0 0 22px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.home-search-label { align-self: center; margin-right: 2px; color: #55635c; font-size: 13px; }
.home-job-search-form { display: flex; gap: 10px; align-items: stretch; }
.home-job-search-form input { flex: 1; min-width: 0; min-height: 52px; border-color: #c8d1ca; font-size: 16px; }
.home-job-search-form .primary-button { width: auto; min-width: 116px; }
.home-search-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.home-search-topics button { min-height: 44px; padding: 8px 12px; border: 1px solid #d8ded8; border-radius: 999px; background: #fbfbf8; color: #56625c; font-size: 12px; font-weight: 700; }
.home-search-topics button:hover { border-color: #9caf9f; color: var(--blue-dark); }
.home-dashboard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.home-dashboard > * { min-width: 0; }
.home-dashboard .career-banner { min-height: 100%; padding: 26px 28px; }
.home-dashboard .career-banner-copy > p:not(.banner-eyebrow):not(.banner-meta) { max-width: 280px; }
.career-banner { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 260px; border-left: 4px solid #78956e; border-radius: 6px; padding: 30px 34px; overflow: hidden; background: #edf4e8; }
.career-banner-copy { position: relative; z-index: 1; }
.career-banner .banner-eyebrow { margin: 0 0 10px; font-size: 13px; color: #4d6549; }
.career-banner h2 { margin: 0; color: #2e4934; font-size: 32px; line-height: 1.35; letter-spacing: -.04em; }
.career-banner-copy > p:not(.banner-eyebrow) { margin: 12px 0 20px; font-size: 14px; color: #52674f; }
.banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.banner-actions .primary-button { width: auto; min-height: 44px; padding-inline: 16px; }
.banner-secondary { min-height: 44px; display: inline-flex; align-items: center; padding: 0 2px; color: #2e4934; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.banner-secondary:hover { color: var(--blue-dark); }
.banner-meta { margin: 12px 0 0; color: #52674f; font-size: 12px; }
.banner-link { display: inline-flex; align-items: center; min-height: 44px; gap: 24px; color: #2e4934; font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #98ae90; }
.banner-link:hover { color: #183a22; text-decoration: none; }
.career-bridge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-self: stretch; margin: 22px 0 0; padding: 12px 0 0; border-top: 1px solid #c7d8c1; list-style: none; }
.career-bridge::before { display: none; }
.career-bridge li { position: relative; min-height: 50px; padding-right: 10px; color: #385442; }
.career-bridge li + li { margin-top: 0; padding-left: 12px; border-left: 1px solid #c7d8c1; }
.career-bridge span { display: block; margin-bottom: 2px; color: #657d5e; font-size: 10px; font-weight: 700; }
.career-bridge strong { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.35; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.home-section-heading h2 { margin: 0; color: var(--ink); font-size: 21px; letter-spacing: -.03em; }
.home-section-heading > span { color: var(--muted); font-size: 13px; }
.home-services { margin-top: 42px; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
.home-service { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 1px 13px; min-height: 86px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); text-align: left; text-decoration: none; }
.home-service:hover { color: var(--blue); text-decoration: none; }
.home-service:hover .home-service-icon { color: var(--blue-dark); }
.home-service-icon { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-right: 1px solid #d9e1db; border-radius: 0; background: transparent; color: #507263; }
.home-service-icon svg { width: 22px; height: 22px; stroke-width: 1.7; }
.home-service strong { font-size: 14px; font-weight: 600; line-height: 1.45; }
.home-service .service-description { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.home-calendar { margin-top: 42px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; background: #fcfdfc; }
.home-dashboard .home-calendar { margin-top: 0; }
.home-calendar .home-section-heading { margin-bottom: 14px; }
.home-calendar .home-section-heading > div .section-kicker { margin-bottom: 2px; }
.home-calendar .home-section-heading > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; text-decoration: none; }
.deadline-calendar { max-width: 480px; }
.home-dashboard .deadline-calendar { max-width: none; }
.calendar-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; margin-bottom: 8px; text-align: center; }
.calendar-nav { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); font-size: 20px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(32px, 1fr)); gap: 3px; }
.calendar-weekday { padding: 4px 0; color: var(--muted); font-size: 11px; text-align: center; }
.calendar-day { position: relative; min-height: 44px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; color: var(--ink); font-size: 12px; }
.calendar-day.is-today { border-color: #9ca8a0; background: #fff; font-weight: 700; }
.calendar-day.has-deadline { background: #eef7f1; color: var(--blue-dark); font-weight: 700; }
.calendar-deadline { width: 100%; min-height: 44px; border: 1px solid #b7d8c5; border-radius: 7px; background: #e8f5ed; color: var(--blue-dark); font: inherit; font-weight: 700; }
.calendar-deadline:hover { border-color: var(--blue); background: #deefe6; }
.calendar-count { position: absolute; right: 2px; top: 2px; min-width: 15px; height: 15px; display: grid; place-items: center; border-radius: 8px; background: var(--blue); color: white; font-size: 9px; font-style: normal; }
.calendar-note { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.calendar-login { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.calendar-empty { padding: 18px; border-radius: 8px; background: var(--surface-soft); }
.calendar-empty p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.auth-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 10px; padding: 26px; color: var(--ink); box-shadow: none; }
.auth-dialog::backdrop { background: rgba(20, 35, 30, .45); }
.auth-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.auth-dialog-head h2 { margin: 3px 0 18px; font-size: 24px; }
.auth-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.auth-form { align-content: start; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.auth-form h3 { margin: 0; font-size: 18px; }
.auth-form .primary-button { width: 100%; }
.auth-status { min-height: 24px; margin: 14px 0 4px; color: var(--red); font-size: 13px; font-weight: 700; }
.journey-entry { margin-top: 42px; }
.journey-entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.journey-entry-grid > a { position: relative; min-height: 132px; padding: 22px 36px 22px 0; border-top: 1px solid #dce3de; border-radius: 0; background: transparent; text-decoration: none; color: var(--ink); }
.journey-entry-grid > a:hover { border-color: #789b83; background: transparent; }
.journey-label { font-size: 12px; color: #536d55; }
.journey-entry-grid h3 { margin: 9px 0 6px; font-size: 18px; letter-spacing: -.03em; }
.journey-entry-grid p { margin: 0; font-size: 13px; color: #55635c; }
.journey-arrow { position: absolute; top: 23px; right: 22px; color: #536d55; font-size: 20px; }
.home-footnote { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: #5d6861; }
.back-home { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0 0 10px -8px; padding: 0 8px; color: #596963; font-size: 13px; text-decoration: none; }
.profile-panel, .tool-view, .feature-empty, .result-panel { position: static; width: min(100%, 1280px); max-width: none; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); background: white; padding: clamp(28px, 3.4vw, 52px); }
.profile-panel { width: min(100%, 1180px); }
.panel-intro { margin-bottom: 30px; }
.panel-intro .secondary-button { margin-top: 18px; font-size: 14px; }
.panel-intro .section-kicker { display: none; }
.panel-intro h1, .tool-view h1, .feature-empty > h1 { margin: 0 0 10px; color: var(--ink); font-size: 28px; line-height: 1.4; letter-spacing: -.04em; }
.tool-intro, .feature-empty > p { margin: 0 0 30px; color: var(--muted); }
.profile-panel form { gap: 25px; padding-bottom: 32px; }
.profile-panel textarea { min-height: 160px; }
.profile-tool-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.tool-view .interest-test, .tool-view .resume-assistant { border: 0; padding: 0; }
.tool-view .interest-test summary, .tool-view .resume-assistant summary { display: none; }
.interest-questions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.interest-question { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf9; gap: 14px; }
.interest-question > span { min-height: 44px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tool-actions .primary-button { width: auto; }
a.primary-button, a.secondary-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
a.primary-button { width: auto; }
.primary-button { box-shadow: none; }
.primary-button:hover { transform: none; }
.assessment-result { margin-top: 28px; padding: 26px; background: #f1f7ee; border-radius: 10px; }
.assessment-result h2 { margin: 6px 0 12px; }
.assessment-result .secondary-button { margin-top: 12px; }
.feature-prerequisite { max-width: 620px; margin: 30px auto; padding: 48px 32px; background: #f8faf7; border-radius: 12px; text-align: center; }
#feature-empty-icon { margin: 0 auto 20px; width: 64px; height: 64px; display: grid; place-items: center; background: #edf3e8; border-radius: 20px; color: #76916a; }
#feature-empty-icon svg { width: 32px; height: 32px; }
.feature-prerequisite h2 { font-size: 22px; margin: 0 0 12px; }
.feature-prerequisite p { max-width: 380px; margin: 0 auto 24px; color: var(--muted); font-size: 15px; }
.feature-prerequisite .text-button { display: block; margin: 20px 0 0; font-size: 13px; text-decoration: none; }
.result-header { border: 0; padding: 0 0 24px; }
.result-header h2 { font-size: 28px; }
.result-header .section-kicker { display: none; }
.result-screen-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.result-screen-tabs a { flex: 0 0 auto; min-height: 48px; padding: 10px 12px; color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.result-screen-tabs a.is-active { color: var(--blue); border-bottom: 2px solid var(--blue); font-weight: 700; }
.results { animation: none; }
.stage { padding: 20px 0 32px; }
.stage-number, .stage:not(:last-child)::before { display: none; }
.stage-head h3 { font-size: 20px; }
.stage-head p { font-size: 14px; }
.record-title { font-size: 18px; }
.record-button, .record-action { min-height: 44px; }
.badge { font-size: 11px; border-radius: 4px; border-color: transparent; }
.badge-live { background: #ecf4ee; color: #466a51; }
.badge-inference { background: #f1f3f1; color: #55615a; }
.saved-panel { margin: 0 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.saved-jobs-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 16px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.saved-jobs-filter button { min-height: 36px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; }
#saved-title, #menu-search-title { scroll-margin-top: 100px; }
.request-alert, .loading-state { max-width: 740px; margin: 0 auto 24px; }
.loading-state { min-height: 160px; padding: 20px; }
.application-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 34px; }
.application-shortcut { min-height: 112px; display: grid; align-content: center; gap: 5px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fafbf9; color: var(--ink); text-align: left; }
.application-shortcut:hover { border-color: #a9c1af; background: #f2f7f1; }
.application-shortcut strong { color: var(--navy-deep); font-size: 16px; }
.application-shortcut span { color: var(--muted); font-size: 13px; }
.sentence-builder, .application-saved-section { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.sentence-builder > h2, .application-followup h2, .application-suggestions h2, .application-section-head h2 { margin: 0 0 18px; color: var(--navy-deep); font-size: 20px; }
.sentence-builder-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sentence-builder-form .application-keyword-field, .sentence-builder-form > .primary-button { grid-column: 1 / -1; }
.sentence-builder-form > .primary-button { width: max-content; max-width: 100%; }
.application-followup, .application-suggestions { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.application-question-list { display: grid; gap: 16px; }
.application-question textarea { min-height: 96px; }
.application-followup > .primary-button, .application-suggestions > .primary-button { width: auto; margin-top: 18px; }
.sentence-card-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 24px; }
.sentence-card { display: grid; align-content: start; gap: 14px; min-height: 250px; padding: 20px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fcfdfc; }
.sentence-text { margin: 0; color: var(--ink); line-height: 1.75; }
.sentence-evidence { display: flex; flex-wrap: wrap; gap: 6px; }
.evidence-chip { padding: 3px 8px; border-radius: 999px; background: #edf4ee; color: #54705c; font-size: 11px; font-weight: 700; }
.sentence-card .secondary-button { align-self: end; margin-top: auto; }
.application-suggestions > label { display: block; margin: 8px 0; color: var(--navy-deep); font-weight: 700; }
.application-suggestions textarea { min-height: 190px; }
.character-count { margin: 5px 0 0; color: var(--muted); font-size: 12px; text-align: right; }
.application-saved-section { margin-top: 28px; scroll-margin-top: 110px; }
.application-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.application-section-head h2 { margin: 0; }
.application-saved-section .application-drafts { scroll-margin-top: 110px; }
.application-draft { border-radius: 10px; background: #fcfdfc; }

@media (max-width: 1200px) and (min-width: 961px) {
  .app-header { grid-template-columns: 230px minmax(190px, 360px) auto; gap: 16px; padding: 14px 24px; }
  .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .function-rail { padding: 18px 14px; }
  .home-service-grid, #service-menu-results { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; }
  .career-bridge strong { font-size: 12px; }
  .career-banner { padding: 28px; }
  .journey-entry-grid > a { padding: 20px 16px; }
  .journey-entry-grid h3 { font-size: 16px; }
}
@media (max-width: 960px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .app-header { display: grid; grid-template-columns: 1fr auto; min-height: 72px; padding: 12px 20px; gap: 10px 16px; }
  .service-search { grid-column: 1 / -1; grid-row: 2; }
  .service-search input { min-height: 44px; font-size: 16px; }
  .app-shell { display: block; }
  .function-rail { display: none; }
  .workspace { padding: 26px 22px 52px; }
  .home-dashboard { grid-template-columns: 1fr; }
  .home-dashboard .career-banner { min-height: 240px; }
  .home-service-grid, #service-menu-results { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .career-banner { min-height: 240px; padding: 28px; }
  .journey-entry-grid { gap: 12px; }
  .saved-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-tabbar, .mobile-nav-drawer { box-shadow: none; background: #fff; }
  .mobile-nav-drawer[open] { animation: none; }
  .mobile-tabbar .function-nav-button { font-size: 11px; min-height: 64px; }
  .mobile-tabbar .function-nav-button.is-active { background: #f0f6ee; box-shadow: none; }
  .mobile-nav-grid { grid-template-columns: 1fr; }
  .mobile-nav-grid .function-nav-button { min-height: 50px; border: 0; }
  .mobile-nav-grid .function-nav-button.is-active { background: #edf6ef; }
  .sentence-card-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .app-header { padding: 10px 16px; }
  .brand-name { font-size: 17px; }
  .brand-symbol { width: 36px; height: 36px; flex-basis: 36px; }
  .health { display: none; }
  .header-record-link { display: none; }
  .brand-block { min-height: 44px; }
  .header-auth-button { min-height: 44px; padding: 0 12px; font-size: 11px; }
  .header-user { display: none; }
  .header-logout { display: inline-flex; align-items: center; min-height: 38px; font-size: 11px; }
  .workspace { padding: 18px 14px 40px; }
  .home-welcome { margin-bottom: 18px; }
  .home-welcome > p { font-size: 12px; }
  .home-welcome h1 { font-size: 24px; }
  .home-menu-results { padding: 18px 16px; }
  .home-menu-results .home-section-heading,
  .menu-results-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  #clear-menu-search { min-height: 40px; }
  .home-job-search { padding: 18px 16px; }
  .home-job-search-form { display: grid; gap: 9px; }
  .home-job-search-form .primary-button { width: 100%; }
  .career-banner { min-height: 224px; padding: 24px 22px; }
  .career-banner h2 { font-size: 26px; }
  .career-banner .banner-eyebrow { font-size: 11px; }
  .career-banner-copy > p:not(.banner-eyebrow) { max-width: none; font-size: 14px; margin: 12px 0; }
  .banner-link { font-size: 13px; gap: 14px; }
  .banner-actions { align-items: stretch; flex-direction: column; }
  .banner-actions .primary-button, .banner-secondary { width: 100%; justify-content: center; }
  .career-bridge { display: none; }
  .home-services, .home-calendar, .journey-entry { margin-top: 30px; }
  .home-calendar { padding: 18px 14px; }
  .home-section-heading { margin-bottom: 20px; }
  .home-section-heading h2 { font-size: 18px; }
  .home-service-grid, #service-menu-results { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .home-service { grid-template-columns: 40px minmax(0, 1fr); min-height: 72px; gap: 0 10px; padding: 10px 0; }
.home-service-icon { width: 40px; height: 40px; border-radius: 0; }
  .home-service-icon svg { width: 22px; height: 22px; }
  .home-service strong { font-size: 13px; }
  .home-service .service-description { display: none; }
  .calendar-day, .calendar-deadline { min-height: 44px; }
  #saved-title, #menu-search-title { scroll-margin-top: 144px; }
  .journey-entry-grid { grid-template-columns: 1fr; gap: 10px; }
  .journey-entry-grid > a { min-height: 118px; padding: 19px 22px; }
  .journey-entry-grid h3 { font-size: 18px; }
  .journey-entry-grid p { font-size: 13px; }
  .home-footnote { margin-top: 28px; font-size: 11px; }
  .saved-jobs { grid-template-columns: 1fr; }
  .auth-dialog { padding: 20px 16px; }
  .auth-columns { grid-template-columns: 1fr; gap: 14px; }
  .panel-intro h1, .tool-view h1, .feature-empty > h1, .result-header h2 { font-size: 24px; }
  .profile-panel, .tool-view, .feature-empty, .result-panel { border-radius: 14px; padding: 22px 18px; }
  .tool-intro { font-size: 14px; }
  .interest-questions { grid-template-columns: 1fr; }
  .interest-question > span { min-height: 0; }
  .feature-prerequisite { padding: 30px 18px; }
  .feature-prerequisite h2 { font-size: 19px; }
  .feature-prerequisite p { font-size: 14px; }
  .result-header { gap: 12px; }
  .result-screen-tabs { margin-right: -18px; }
  .stage { padding: 18px 0 24px; }
  .stage-head h3 { font-size: 19px; }
  .tool-actions { flex-direction: column; }
  .profile-tool-links { gap: 12px; font-size: 13px; }
  .application-shortcuts, .sentence-builder-form { grid-template-columns: 1fr; }
  .application-shortcut { min-height: 88px; }
  .sentence-builder, .application-saved-section { padding: 20px 16px; }
  .sentence-builder-form .application-keyword-field, .sentence-builder-form > .primary-button { grid-column: auto; }
  .sentence-builder-form > .primary-button, .application-followup > .primary-button, .application-suggestions > .primary-button { width: 100%; }
  .application-section-head { align-items: stretch; flex-direction: column; }
}

/* Home landing — an independent, function-first adaptation of the reviewed reference. */
body[data-screen="home"] { background: #f4f0e8; }
body[data-screen="home"] .function-rail { display: none; }
body[data-screen="home"] .app-shell { display: block; width: 100%; max-width: none; }
body[data-screen="home"] .workspace { padding: 0 0 72px; }
body[data-screen="home"] .service-search { visibility: hidden; }
body[data-screen="home"] .home-view { max-width: none; }

.home-hero {
  --hero-cream: #f4efe4;
  --hero-copper: #e0a06c;
  position: relative;
  min-height: min(720px, calc(100dvh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  grid-template-rows: 1fr auto;
  gap: 36px 54px;
  align-items: center;
  padding: clamp(64px, 8vw, 112px) max(36px, calc((100vw - 1280px) / 2)) 34px;
  overflow: hidden;
  color: var(--hero-cream);
  background-color: #17342c;
  background-image:
    radial-gradient(circle at 76% 34%, rgba(224, 160, 108, .14), transparent 26%),
    linear-gradient(135deg, #17342c 0%, #1c4036 54%, #132e27 100%);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 4%, #000 48%, #000 96%);
}
.home-hero-copy { position: relative; z-index: 2; max-width: 680px; align-self: center; }
.home-hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #d8dfd9; font-size: 13px; letter-spacing: .025em; }
.home-hero-kicker span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(244,239,228,.34); border-radius: 50%; color: var(--hero-copper); font-size: 11px; font-weight: 700; }
.home-hero h1 { max-width: 720px; margin: 0; color: #fffdf7; font-size: clamp(46px, 5.6vw, 82px); font-weight: 700; line-height: 1.12; letter-spacing: -.055em; }
.home-hero h1 em { color: var(--hero-copper); font-style: normal; }
.home-hero-description { max-width: 610px; margin: 28px 0 0; color: #d5ded8; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.8; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 34px; }
.home-hero-primary, .home-hero-secondary { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 22px; font-size: 15px; font-weight: 700; text-decoration: none; }
.home-hero-primary { border-radius: 5px; background: var(--hero-copper); color: #17342c; }
.home-hero-primary:hover { background: #ebb383; color: #102a23; text-decoration: none; }
.home-hero-secondary { padding-inline: 2px; border-bottom: 1px solid rgba(244,239,228,.56); color: #fffdf7; }
.home-hero-secondary:hover { color: var(--hero-copper); text-decoration: none; border-color: var(--hero-copper); }
.home-hero-note { margin: 15px 0 0; color: #aebeb6; font-size: 12px; }

.home-hero-visual { position: relative; z-index: 1; width: min(100%, 560px); aspect-ratio: 1 / .92; justify-self: end; }
.home-hero-visual::before, .home-hero-visual::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(230, 204, 177, .58); transform-origin: left center; }
.home-hero-visual::before { width: 54%; height: 1px; transform: rotate(33deg); }
.home-hero-visual::after { width: 48%; height: 1px; transform: rotate(151deg); }
.hero-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(244,239,228,.19); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-orbit-one { width: 72%; height: 72%; }
.hero-orbit-two { width: 98%; height: 98%; border-style: dashed; opacity: .55; }
.hero-symbol-wrap { position: absolute; z-index: 2; left: 50%; top: 50%; width: 126px; height: 126px; display: grid; place-items: center; border: 1px solid rgba(244,239,228,.4); border-radius: 50%; background: rgba(247,245,241,.93); transform: translate(-50%, -50%); box-shadow: 0 24px 80px rgba(0,0,0,.22); }
.hero-symbol-wrap img { width: 76px; height: 76px; object-fit: contain; }
.hero-step { position: absolute; z-index: 3; min-width: 156px; display: grid; grid-template-columns: 30px 1fr; padding: 14px 16px; border: 1px solid rgba(244,239,228,.3); border-radius: 7px; background: #17382f; box-shadow: 0 16px 48px rgba(0,0,0,.15); }
.hero-step span { grid-row: 1 / 3; color: var(--hero-copper); font-size: 11px; font-weight: 700; }
.hero-step strong { color: #fffdf7; font-size: 15px; }
.hero-step small { color: #b9c7c0; font-size: 11px; }
.hero-step-experience { left: 2%; top: 13%; }
.hero-step-career { right: 0; top: 17%; }
.hero-step-learning { left: 0; bottom: 12%; }
.hero-step-apply { right: 3%; bottom: 7%; }

.home-hero-nav { position: relative; z-index: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(244,239,228,.24); }
.home-hero-nav a { min-height: 94px; display: grid; grid-template-columns: 30px 1fr; align-content: center; padding: 17px 22px; color: #f8f4eb; text-decoration: none; }
.home-hero-nav a + a { border-left: 1px solid rgba(244,239,228,.2); }
.home-hero-nav a:hover { background: rgba(255,255,255,.055); color: #fff; text-decoration: none; }
.home-hero-nav span { grid-row: 1 / 3; padding-top: 2px; color: var(--hero-copper); font-size: 11px; font-weight: 700; }
.home-hero-nav strong { font-size: 15px; }
.home-hero-nav small { color: #aebeb6; font-size: 11px; }

body[data-screen="home"] .home-menu-results,
body[data-screen="home"] .home-job-search,
body[data-screen="home"] .home-dashboard,
body[data-screen="home"] .home-services,
body[data-screen="home"] .journey-entry,
body[data-screen="home"] .home-footnote { width: min(1280px, calc(100% - 72px)); margin-right: auto; margin-left: auto; }
body[data-screen="home"] .home-menu-results { margin-top: 42px; margin-bottom: 0; }
.home-job-search { margin-top: 72px !important; padding: 0 0 34px; border: 0; border-bottom: 1px solid #dcd6cc; border-radius: 0; background: transparent; }
.home-job-search-heading { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: end; margin-bottom: 24px; }
.home-job-search-heading .section-kicker { color: #526159; }
.home-job-search-heading h2 { max-width: 720px; margin: 0; color: #24342e; font-size: clamp(24px, 3vw, 38px); line-height: 1.35; letter-spacing: -.04em; }
.home-job-search-form { max-width: 960px; }
.home-job-search-form input { background: #fffdf9; }
.home-dashboard { margin-top: 54px; }
.home-services, .journey-entry { margin-top: 72px; }

@media (max-width: 960px) {
  body[data-screen="home"] { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body[data-screen="home"] .service-search { display: none; }
  body[data-screen="home"] .workspace { padding: 0 0 48px; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 30px; padding: 64px 24px 24px; }
  .home-hero-copy { max-width: 720px; }
  .home-hero-visual { width: min(100%, 560px); justify-self: center; }
  .home-hero-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero-nav a:nth-child(3) { border-left: 0; border-top: 1px solid rgba(244,239,228,.2); }
  .home-hero-nav a:nth-child(4) { border-top: 1px solid rgba(244,239,228,.2); }
  body[data-screen="home"] .home-menu-results,
  body[data-screen="home"] .home-job-search,
  body[data-screen="home"] .home-dashboard,
  body[data-screen="home"] .home-services,
  body[data-screen="home"] .journey-entry,
  body[data-screen="home"] .home-footnote { width: min(100% - 48px, 1280px); }
}

@media (max-width: 600px) {
  .home-hero { gap: 28px; padding: 50px 18px 18px; }
  .home-hero-copy { grid-row: 1; }
  .home-hero-nav { grid-row: 2; }
  .home-hero-visual { grid-row: 3; }
  .home-hero h1 { font-size: clamp(40px, 12vw, 56px); line-height: 1.14; }
  .home-hero-description { margin-top: 22px; font-size: 15px; line-height: 1.75; }
  .home-hero-actions { align-items: stretch; flex-direction: column; gap: 10px; margin-top: 26px; }
  .home-hero-primary, .home-hero-secondary { width: 100%; }
  .home-hero-secondary { border: 1px solid rgba(244,239,228,.3); border-radius: 5px; padding: 12px 18px; }
  .home-hero-note { line-height: 1.6; }
  .home-hero-visual { aspect-ratio: 1 / 1.08; }
  .hero-symbol-wrap { width: 94px; height: 94px; }
  .hero-symbol-wrap img { width: 58px; height: 58px; }
  .hero-step { min-width: 128px; grid-template-columns: 24px 1fr; padding: 11px 12px; }
  .hero-step strong { font-size: 13px; }
  .hero-step small { font-size: 10px; }
  .hero-step-experience { left: 0; top: 8%; }
  .hero-step-career { right: 0; top: 15%; }
  .hero-step-learning { left: 0; bottom: 10%; }
  .hero-step-apply { right: 0; bottom: 3%; }
  .home-hero-nav a { min-height: 88px; grid-template-columns: 24px 1fr; padding: 14px 10px; }
  .home-hero-nav strong { font-size: 13px; }
  .home-hero-nav small { font-size: 10px; }
  body[data-screen="home"] .home-menu-results,
  body[data-screen="home"] .home-job-search,
  body[data-screen="home"] .home-dashboard,
  body[data-screen="home"] .home-services,
  body[data-screen="home"] .journey-entry,
  body[data-screen="home"] .home-footnote { width: calc(100% - 36px); }
  .home-job-search { margin-top: 48px !important; padding-bottom: 28px; }
  .home-job-search-heading { display: block; margin-bottom: 20px; }
  .home-job-search-heading .section-kicker { margin-bottom: 8px; }
  .home-job-search-heading h2 { font-size: 25px; }
  .home-dashboard { margin-top: 38px; }
  .home-services, .journey-entry { margin-top: 54px; }
}

/* User-supplied landing project adaptation: cinematic structure, real product evidence. */
.home-header-nav { display: none; }
body[data-screen="home"] .app-header {
  grid-template-columns: 252px minmax(380px, 1fr) auto;
  border-bottom-color: rgba(245, 240, 229, .16);
  background: #17342c;
}
body[data-screen="home"] .brand-block .eyebrow { color: #aebeb6; }
body[data-screen="home"] .brand-block .brand-name { color: #fffdf7; }
body[data-screen="home"] .brand-symbol { padding: 5px; border-radius: 50%; background: #f7f5ef; }
body[data-screen="home"] .home-header-nav { display: flex; justify-content: center; gap: clamp(20px, 3vw, 42px); }
body[data-screen="home"] .home-header-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: #e9eee9; font-size: 13px; text-decoration: none; }
body[data-screen="home"] .home-header-nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; background: #e0a06c; transform: scaleX(0); transform-origin: left; transition: transform .2s ease-out; }
body[data-screen="home"] .home-header-nav a:hover::after { transform: scaleX(1); }
body[data-screen="home"] .header-auth-button { background: #e0a06c; color: #17342c; }
body[data-screen="home"] .header-record-link { border-color: rgba(245, 240, 229, .34); color: #fffdf7; }
body[data-screen="home"] .mobile-menu-button { border-color: rgba(245, 240, 229, .34); background: transparent; color: #fffdf7; }

.home-hero-visual::before, .home-hero-visual::after, .hero-orbit, .hero-symbol-wrap, .hero-step { display: none; }
.home-hero-visual { min-height: 500px; aspect-ratio: auto; }
.home-hero-visual::before {
  content: "";
  position: absolute;
  display: block;
  inset: 12% 8%;
  border: 1px solid rgba(244, 239, 228, .12);
  background-image: linear-gradient(rgba(244,239,228,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(244,239,228,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotate(-3deg);
}
.experience-fragment { position: absolute; z-index: 2; width: min(210px, 43%); padding: 16px 17px; border: 1px solid rgba(244,239,228,.3); background: #1b3b32; box-shadow: 0 22px 50px rgba(5,20,16,.22); }
.experience-fragment span { display: block; margin-bottom: 6px; color: #e0a06c; font-size: 11px; font-weight: 700; }
.experience-fragment strong { display: block; color: #eef2ee; font-size: 13px; font-weight: 400; line-height: 1.55; }
.fragment-work { left: 2%; top: 7%; transform: rotate(-4deg); }
.fragment-project { right: 0; top: 14%; transform: rotate(3deg); }
.fragment-care { left: 0; bottom: 9%; transform: rotate(2deg); }
.fragment-tool { right: 3%; bottom: 4%; transform: rotate(-3deg); }
.hero-profile-card { position: absolute; z-index: 4; left: 50%; top: 50%; width: 236px; min-height: 220px; display: grid; place-items: center; align-content: center; padding: 24px; border: 1px solid #dfd8ca; background: #f7f4ec; color: #17342c; text-align: center; transform: translate(-50%, -50%) rotate(-1deg); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.hero-profile-card::before, .hero-profile-card::after { content: ""; position: absolute; z-index: -1; inset: 8px -10px -8px 10px; border: 1px solid rgba(244,239,228,.22); transform: rotate(3deg); }
.hero-profile-card::after { inset: -10px 12px 10px -12px; transform: rotate(-4deg); }
.hero-profile-card img { width: 58px; height: 58px; margin-bottom: 13px; }
.hero-profile-card p { margin: 0 0 4px; color: #65746c; font-size: 12px; }
.hero-profile-card strong { font-size: 19px; letter-spacing: -.03em; }
.hero-profile-card small { margin-top: 9px; color: #738078; font-size: 11px; }

.home-manifesto { min-height: 72svh; display: grid; place-content: center; padding: 100px max(36px, calc((100vw - 1180px) / 2)); background: #efe9de; text-align: center; }
.home-story-index { margin: 0 0 20px; color: #a4633e; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.home-manifesto h2 { max-width: 1080px; margin: 0; color: #24372f; font-size: clamp(34px, 5vw, 66px); font-weight: 700; line-height: 1.28; letter-spacing: -.05em; }
.home-manifesto em, .home-story h2 em, .home-week-plan h2 em { color: #b9653e; font-style: normal; }

.home-story { min-height: 680px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 8vw, 120px); align-items: center; padding: 96px max(36px, calc((100vw - 1280px) / 2)); overflow: hidden; }
.home-story-discover { background: #f7f3ea; }
.home-story-match { background: #203b33; color: #edf1ed; }
.home-story-apply { background: #e9dfd1; }
.home-story-copy { max-width: 560px; }
.home-story-copy h2 { margin: 0; color: #24372f; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.16; letter-spacing: -.05em; }
.home-story-match .home-story-copy h2 { color: #fffdf7; }
.home-story-copy > p:not(.home-story-index) { margin: 24px 0 0; color: #5f6c65; font-size: 16px; line-height: 1.8; }
.home-story-match .home-story-copy > p:not(.home-story-index) { color: #c3cec8; }
.home-story-points { display: grid; gap: 10px; margin: 25px 0 0; padding: 0; list-style: none; }
.home-story-points li { display: grid; grid-template-columns: 34px 1fr; align-items: center; color: #40554b; font-size: 14px; }
.home-story-points span { color: #b9653e; font-size: 10px; font-weight: 700; }
.home-story-link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; margin-top: 30px; padding: 11px 20px; border: 1px solid currentColor; color: #25493d; font-size: 14px; font-weight: 700; text-decoration: none; }
.home-story-link:hover { background: #25493d; color: #fff; text-decoration: none; }
.home-story-match .home-story-link { color: #f0b080; }
.home-story-match .home-story-link:hover { background: #f0b080; color: #17342c; }
.home-story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.home-story-actions .home-story-link { margin-top: 0; }
.home-story-actions > a:not(.home-story-link) { min-height: 44px; display: inline-flex; align-items: center; color: inherit; font-size: 14px; font-weight: 700; text-underline-offset: 4px; }

.career-dialog-preview, .match-evidence-preview, .support-preview { position: relative; min-height: 430px; padding: clamp(24px, 4vw, 42px); border: 1px solid #d8d1c5; background: #fffdf8; box-shadow: 0 30px 80px rgba(39,47,42,.1); }
.career-dialog-preview::before, .support-preview::before { content: ""; position: absolute; z-index: -1; inset: 14px -14px -14px 14px; border: 1px solid #d9cbbb; }
.preview-top { display: flex; justify-content: space-between; gap: 16px; color: #52645b; font-size: 12px; }
.preview-top i { color: #9b6c4b; font-style: normal; }
.preview-progress { height: 3px; margin-top: 16px; background: #e5dfd6; }
.preview-progress span { display: block; width: 38%; height: 100%; background: #17795f; }
.preview-question { margin: 48px 0 22px; color: #203a32; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; line-height: 1.45; letter-spacing: -.035em; }
.preview-answer { padding: 18px 20px; border-left: 3px solid #d58a58; background: #f6eee4; color: #4d5b54; font-size: 14px; line-height: 1.7; }
.preview-followup { margin-top: 26px; padding-top: 20px; border-top: 1px solid #e3ddd3; }
.preview-followup span { display: block; margin-bottom: 5px; color: #a4633e; font-size: 10px; font-weight: 700; }
.preview-followup strong { color: #31483e; font-size: 14px; line-height: 1.55; }

.match-evidence-preview { display: grid; align-content: center; gap: 12px; border-color: rgba(241,236,225,.22); background: #17342c; box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.evidence-head, .evidence-gap, .evidence-training { padding: 18px 20px; border: 1px solid rgba(241,236,225,.2); }
.evidence-head span, .evidence-gap span, .evidence-training span { display: block; margin-bottom: 4px; color: #e0a06c; font-size: 10px; font-weight: 700; }
.evidence-head strong, .evidence-gap strong, .evidence-training strong { color: #f7f3ea; font-size: 15px; }
.evidence-route { display: grid; grid-template-columns: 1fr 32px 1fr; align-items: center; gap: 8px; padding: 22px 0; }
.evidence-route div { min-height: 118px; display: grid; align-content: center; padding: 18px; background: #f4eee4; color: #203a32; }
.evidence-route small { color: #7d897f; }
.evidence-route strong { margin-top: 4px; font-size: 15px; }
.evidence-route b { color: #e0a06c; text-align: center; }

.support-preview { display: grid; align-content: center; gap: 12px; background: #f8f3ea; }
.support-search { min-height: 56px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 0 18px; border: 1px solid #d8cfc2; background: #fff; color: #28443a; }
.support-search small { color: #8a6b57; }
.support-preview article { padding: 20px; border: 1px solid #d8cfc2; background: #fff; }
.support-preview article > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.support-preview article span { color: #17795f; font-size: 10px; font-weight: 700; }
.support-preview article small { color: #78837c; }
.support-preview article > strong { color: #293b34; font-size: 16px; }
.support-preview article p { margin: 9px 0 0; color: #657169; font-size: 12px; line-height: 1.6; }
.support-preview .support-sentence { border-left: 3px solid #bd7045; }
.support-preview .support-sentence p { color: #35483f; font-size: 14px; }

.home-week-plan { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 96px); align-items: center; padding: 96px max(36px, calc((100vw - 1280px) / 2)); background: #17342c; color: #f7f3ea; }
.home-week-copy h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.2; letter-spacing: -.05em; }
.home-week-copy > p:not(.home-story-index) { color: #bfcac4; line-height: 1.75; }
.home-week-plan .home-story-link { color: #f0b080; }
.home-week-plan .home-story-link:hover { background: #f0b080; color: #17342c; }
.week-plan-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid rgba(247,243,234,.22); border-left: 1px solid rgba(247,243,234,.22); list-style: none; }
.week-plan-list li { min-height: 118px; display: grid; align-content: center; gap: 7px; padding: 16px; border-right: 1px solid rgba(247,243,234,.22); border-bottom: 1px solid rgba(247,243,234,.22); color: #edf1ed; font-size: 13px; }
.week-plan-list span { color: #e0a06c; font-size: 10px; font-weight: 700; }

.home-faq { padding: 96px max(36px, calc((100vw - 1120px) / 2)); background: #f4f0e8; }
.home-faq > h2 { margin: 0 0 38px; color: #263b32; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.05em; }
.home-faq details { border-top: 1px solid #cfc7ba; }
.home-faq details:last-child { border-bottom: 1px solid #cfc7ba; }
.home-faq summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #2b3e36; font-size: 16px; font-weight: 700; cursor: pointer; }
.home-faq summary span { color: #a4633e; font-size: 22px; font-weight: 400; }
.home-faq details p { max-width: 760px; margin: -4px 0 24px; color: #5b6861; line-height: 1.75; }

/* Landing contrast pass: keep the copper accent while meeting AA on each surface. */
.hero-profile-card p { color: #4d5c55; }
.hero-profile-card small { color: #52615a; }
.home-story-index,
.home-faq summary span { color: #7d4128; }
.home-manifesto em,
.home-story-discover h2 em,
.home-story-apply h2 em { color: #8a4529; }
.home-story-copy > p:not(.home-story-index) { color: #4b5952; }
.home-story-points span { color: #8a4529; }
.preview-top i { color: #765039; }
.home-story-match .home-story-index,
.home-story-match h2 em,
.home-week-plan .home-story-index,
.home-week-plan h2 em { color: #f3b98c; }
.evidence-route small { color: #59675f; }
.support-preview article small { color: #5d6962; }

body[data-screen="home"] .home-footnote { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 0; padding: 64px max(36px, calc((100vw - 1280px) / 2)); border-top: 0; background: #102820; color: #abb9b2; }
.home-footnote strong { color: #fffdf7; font-size: 20px; }
.home-footnote p { max-width: 620px; margin: 8px 0 0; }

@media (max-width: 960px) {
  body[data-screen="home"] .app-header { grid-template-columns: 1fr auto; }
  body[data-screen="home"] .home-header-nav { display: none; }
  .home-story { min-height: auto; grid-template-columns: 1fr; gap: 44px; padding: 72px 24px; }
  .home-story-match .match-evidence-preview { grid-row: 2; }
  .home-story-copy { max-width: 680px; }
  .career-dialog-preview, .match-evidence-preview, .support-preview { width: min(100%, 720px); min-height: 390px; }
  .home-week-plan { grid-template-columns: 1fr; padding: 72px 24px; }
  .week-plan-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body[data-screen="home"] .app-header { background: #17342c; }
  .home-hero-visual { min-height: 390px; }
  .experience-fragment { width: 46%; padding: 11px; }
  .experience-fragment strong { font-size: 11px; }
  .hero-profile-card { width: 190px; min-height: 182px; padding: 18px; }
  .hero-profile-card strong { font-size: 16px; }
  .home-manifesto { min-height: 68svh; padding: 72px 20px; text-align: left; }
  .home-manifesto h2 { font-size: 34px; }
  .home-story { gap: 34px; padding: 64px 18px; }
  .home-story-copy h2 { font-size: 39px; }
  .home-story-copy > p:not(.home-story-index) { font-size: 15px; }
  .home-story-actions { align-items: stretch; flex-direction: column; }
  .home-story-link, .home-story-actions > a:not(.home-story-link) { width: 100%; justify-content: center; }
  .career-dialog-preview, .match-evidence-preview, .support-preview { min-height: 0; padding: 20px 16px; }
  .preview-question { margin-top: 34px; font-size: 23px; }
  .evidence-route { grid-template-columns: 1fr; }
  .evidence-route b { transform: rotate(90deg); }
  .support-preview article > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .home-week-plan { padding: 64px 18px; }
  .week-plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-faq { padding: 72px 18px; }
  .home-faq summary { min-height: 76px; font-size: 15px; }
  body[data-screen="home"] .home-footnote { grid-template-columns: 1fr; gap: 24px; padding: 48px 18px 100px; }
}

/* Light landing palette + locally hosted hero film. */
body[data-screen="home"] { background: #fbfaf7; }
body[data-screen="home"] .app-header {
  border-bottom-color: #e7e3dc;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(29, 42, 36, .03);
}
body[data-screen="home"] .brand-block .eyebrow { color: #68736d; }
body[data-screen="home"] .brand-block .brand-name { color: #1e3029; }
body[data-screen="home"] .brand-symbol { background: #f7f5ef; }
body[data-screen="home"] .home-header-nav a { color: #33463e; }
body[data-screen="home"] .home-header-nav a::after { background: #a94f2d; }
body[data-screen="home"] .header-auth-button { background: #a94f2d; color: #fff; }
body[data-screen="home"] .header-record-link { border-color: #cbc6bd; color: #253a31; }
body[data-screen="home"] .mobile-menu-button { border-color: #cbc6bd; background: #fff; color: #253a31; }

.home-hero {
  --hero-cream: #24372f;
  --hero-copper: #a94f2d;
  color: #24372f;
  background: #fbfaf7;
}
.home-hero::before {
  opacity: .7;
  background-image: linear-gradient(rgba(65, 79, 71, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(65, 79, 71, .045) 1px, transparent 1px);
  mask-image: linear-gradient(to right, transparent 2%, #000 44%, #000 96%);
}
.home-hero-kicker { color: #53645b; }
.home-hero-kicker span { border-color: #cfc8bd; color: #8d4328; }
.home-hero h1 { color: #1f332a; }
.home-hero h1 em { color: #a94f2d; }
.home-hero-description { color: #53645b; }
.home-hero-primary { background: #a94f2d; color: #fff; }
.home-hero-primary:hover { background: #8f3e24; color: #fff; }
.home-hero-secondary { border-bottom-color: #9c9489; color: #263b32; }
.home-hero-secondary:hover { border-color: #a94f2d; color: #8d4328; }
.home-hero-note { color: #68766f; }

.home-hero-visual {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #d8d2c8;
  background: #eeeae3;
  box-shadow: 0 28px 70px rgba(35, 45, 40, .14);
}
.home-hero-visual::before,
.home-hero-visual::after { display: none; }
.home-hero-video { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-hero-visual figcaption { position: absolute; right: 22px; bottom: 22px; left: 22px; padding: 18px 20px; background: rgba(255,255,255,.92); color: #253a31; backdrop-filter: blur(9px); }
.home-hero-visual figcaption span { display: block; margin-bottom: 6px; color: #8d4328; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.home-hero-visual figcaption strong { font-size: 17px; line-height: 1.45; }

.home-hero-nav { border-top-color: #d9d4cb; }
.home-hero-nav a { color: #273b33; }
.home-hero-nav a + a { border-left-color: #ddd8cf; }
.home-hero-nav a:hover { background: #f3efe8; color: #1f332a; }
.home-hero-nav span { color: #8d4328; }
.home-hero-nav small { color: #66746d; }

.home-manifesto,
.home-story-discover,
.home-story-match,
.home-story-apply,
.home-week-plan,
.home-faq { background: #fff; color: #263a31; }
.home-manifesto { border-top: 1px solid #ebe7df; border-bottom: 1px solid #ebe7df; background: #f8f6f1; }
.home-story + .home-story { border-top: 1px solid #ebe7df; }
.home-story-match .home-story-copy h2,
.home-week-copy h2 { color: #24372f; }
.home-story-match .home-story-copy > p:not(.home-story-index),
.home-week-copy > p:not(.home-story-index) { color: #526159; }
.home-story-match .home-story-index,
.home-story-match h2 em,
.home-week-plan .home-story-index,
.home-week-plan h2 em { color: #8d4328; }
.home-story-match .home-story-link,
.home-week-plan .home-story-link { color: #8d4328; }
.home-story-match .home-story-link:hover,
.home-week-plan .home-story-link:hover { background: #8d4328; color: #fff; }

.match-evidence-preview { border-color: #d8d1c6; background: #f8f6f1; box-shadow: 0 28px 70px rgba(39,47,42,.1); }
.evidence-head,
.evidence-gap,
.evidence-training { border-color: #d8d1c6; background: #fff; }
.evidence-head span,
.evidence-gap span,
.evidence-training span { color: #8d4328; }
.evidence-head strong,
.evidence-gap strong,
.evidence-training strong { color: #263a31; }
.evidence-route b { color: #a94f2d; }

.week-plan-list { border-top-color: #d8d2c8; border-left-color: #d8d2c8; }
.week-plan-list li { border-right-color: #d8d2c8; border-bottom-color: #d8d2c8; background: #fbfaf7; color: #263a31; }
.week-plan-list span { color: #8d4328; }
body[data-screen="home"] .career-banner { border-color: #b96543; background: #fff; }
body[data-screen="home"] .home-calendar { background: #fff; }
body[data-screen="home"] .home-footnote { border-top: 1px solid #e3ded5; background: #f7f5f0; color: #5b6861; }
.home-footnote strong { color: #253a31; }

@media (max-width: 960px) {
  .home-hero-nav a:nth-child(3),
  .home-hero-nav a:nth-child(4) { border-top-color: #ddd8cf; }
}

@media (max-width: 600px) {
  body[data-screen="home"] .app-header { background: rgba(255,255,255,.97); }
  .home-hero { gap: 28px; padding-top: 18px; }
  .home-hero-visual { grid-row: 1; min-height: 0; aspect-ratio: 16 / 9; }
  .home-hero-copy { grid-row: 2; }
  .home-hero-nav { grid-row: 3; }
  .home-hero-secondary { border-color: #bdb6ab; }
  .home-hero-visual figcaption { right: 12px; bottom: 12px; left: 12px; padding: 14px 16px; }
  .home-hero-visual figcaption strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-video { display: none; }
  .home-hero-visual { background: #eeeae3 url('/assets/landing/tomorrow-link-hero-poster.jpg') center / cover no-repeat; }
}

/* Clearer service palette: keep the landing editorial, brighten product actions. */
body:not([data-screen="home"]),
body:not([data-screen="home"]) .app-shell,
body:not([data-screen="home"]) .workspace { background: #fff; }
body:not([data-screen="home"]) .app-header { border-bottom-color: var(--line); }
body:not([data-screen="home"]) .career-banner { border-left-color: #20a58f; background: #eefaf7; }
body:not([data-screen="home"]) .career-banner .banner-eyebrow,
body:not([data-screen="home"]) .career-banner h2,
body:not([data-screen="home"]) .banner-secondary { color: #075f56; }
body:not([data-screen="home"]) .career-banner-copy > p:not(.banner-eyebrow),
body:not([data-screen="home"]) .banner-meta { color: #526e68; }
body:not([data-screen="home"]) .career-bridge { border-top-color: #b8e2d8; }
body:not([data-screen="home"]) .career-bridge li + li { border-left-color: #b8e2d8; }
body:not([data-screen="home"]) .career-bridge li,
body:not([data-screen="home"]) .career-bridge span { color: #377168; }
body:not([data-screen="home"]) #feature-empty-icon { background: #e8f8f4; color: #09816f; }

/* Home header keeps the service paths and account controls grouped on the right. */
.home-header-cluster { min-width: 0; display: flex; align-items: center; justify-content: flex-end; }
.home-header-topline, .home-header-tagline { display: none; }

body[data-screen="home"] .app-header {
  min-height: 112px;
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: center;
  padding-block: 12px;
}
body[data-screen="home"] .service-search { display: none; }
body[data-screen="home"] .home-header-cluster {
  display: grid;
  justify-items: end;
  gap: 5px;
}
body[data-screen="home"] .home-header-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 3vw, 48px);
}
body[data-screen="home"] .home-header-tagline {
  display: block;
  margin: 0;
  color: #33463e;
  font-family: "Paperozi", "PyeojinGothic", sans-serif;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
body[data-screen="home"] .home-header-nav { justify-content: flex-end; gap: clamp(18px, 2.4vw, 34px); }
body[data-screen="home"] .home-header-nav a { min-height: 34px; font-size: 15px; }
body[data-screen="home"] .header-actions { justify-content: flex-end; min-height: 42px; }
body[data-screen="home"] .header-auth-button,
body[data-screen="home"] .header-user,
body[data-screen="home"] .header-logout,
body[data-screen="home"] .header-record-link { font-size: 15px; }

@media (max-width: 1180px) {
  body[data-screen="home"] .home-header-tagline { display: none; }
}

@media (max-width: 960px) {
  body[data-screen="home"] .app-header { min-height: 72px; grid-template-columns: 1fr auto; padding-block: 10px; }
  body[data-screen="home"] .home-header-topline { display: none; }
  body[data-screen="home"] .home-header-cluster { display: flex; }
  body[data-screen="home"] .header-actions { min-height: 44px; }
}

@media (max-width: 600px) {
  body[data-screen="home"] .header-auth-button,
  body[data-screen="home"] .header-logout,
  body[data-screen="home"] .header-record-link { font-size: 12px; }
}
