:root {
  color-scheme: light;
  --ink: #162c2c;
  --sub: #4c6260;
  --green: #006953;
  --green-dark: #004c3c;
  --mint: #e8f6ef;
  --cream: #f8f8f2;
  --line: #d5e3dc;
  --white: #fff;
  font: 16px/1.7 system-ui, "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); overflow-wrap: anywhere; }
a { color: var(--green-dark); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid #b2551d; outline-offset: 4px; }
.wrap { width: min(920px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 0; left: 1rem; z-index: 5; background: white; padding: 1rem; }
.header { background: white; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner, nav, .actions { display: flex; align-items: center; gap: 1rem; }
.header-inner, .footer-inner { justify-content: space-between; min-height: 75px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.15rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.brand-area { color: #08765e; }
.brand-mark { display: block; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; }
.brand { color: #133f35; letter-spacing: -.045em; }
nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.23; letter-spacing: -.045em; margin-bottom: 1rem; }
h1 strong { color: var(--green-dark); }
h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.35; margin-bottom: .8rem; }
h3 { line-height: 1.4; margin-bottom: .5rem; }
.muted { color: var(--sub); }
.eyebrow { color: var(--green-dark); font-size: .85rem; font-weight: 800; letter-spacing: .07em; margin-bottom: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45em; border: 1px solid var(--green); border-radius: .72rem; padding: .65rem 1.05rem; min-width: 0; max-width: 100%; min-height: 48px; line-height: 1.35; text-align: center; white-space: normal; background: var(--green); color: white; text-decoration: none; font-weight: 800; cursor: pointer; box-shadow: 0 2px 5px #173b2b24; transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease; }
.button.secondary { background: white; color: var(--green-dark); border-color: #b5ccc0; box-shadow: 0 1px 3px #173b2b12; }
@media (hover: hover) {
  .button:hover { background: var(--green-dark); }
  .button.secondary:hover { background: var(--mint); }
}
.button:active:not(:disabled) { background: var(--green-dark); transform: translateY(1px) scale(.98); box-shadow: inset 0 1px 3px #173b2b2b; }
.button.secondary:active:not(:disabled) { background: var(--mint); }
.button.small { padding: .42rem .75rem; }
.button:disabled { opacity: .65; cursor: default; box-shadow: none; transform: none; }
.button[aria-busy="true"] { cursor: wait; }
.button[aria-busy="true"]::after { content: ""; width: .8em; height: .8em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: button-wait .7s linear infinite; }
@keyframes button-wait { to { transform: rotate(360deg); } }
.actions { flex-wrap: wrap; }
.section { padding-block: clamp(2rem, 5vw, 4rem); }
.page { padding-block: 2.75rem 4rem; min-height: 68vh; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.card, .empty { border: 1px solid var(--line); background: white; padding: clamp(1rem, 2.3vw, 1.65rem); border-radius: .9rem; }
.empty { text-align: center; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: .65rem; }
.tag { display: inline-block; background: var(--mint); color: var(--green-dark); padding: .19em .65em; border-radius: 2em; font-size: .82rem; font-weight: 800; }
.area-grid { display: flex; flex-wrap: wrap; gap: .55rem; }
.area-grid a { flex: 1 0 115px; }
.steps .eyebrow { margin-bottom: .45rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: .9rem; }
.compact { max-width: 560px; margin-inline: auto; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; align-items: end; }
.search-panel { margin-bottom: 1.1rem; }
.search-options { border-block: 1px solid var(--line); }
.search-options .filters { padding-bottom: .85rem; }
.search-options summary, #manage-jobs summary { min-height: 48px; padding-block: .65rem; color: var(--green-dark); font-weight: 800; }
.job-card > .button, .dashboard-card > .button { justify-self: start; }
.job-card { min-width: 0; align-content: start; gap: .65rem; }
.job-facility { color: var(--green-dark); font-size: .9rem; font-weight: 750; }
.job-cover { min-width: 0; margin: 0; }
.job-cover img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: .55rem; }
.job-cover figcaption { color: var(--sub); font-size: .76rem; padding-top: .25rem; }
.job-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem; }
.job-card-meta p, .message-header h2, .directory-results h2 { margin: 0; }
.directory-results p { margin-block: .25rem .75rem; }
.application-shortcuts { display: none; }
#application-messages, #manage-jobs { scroll-margin-top: 1rem; }
.back-link { display: inline-flex; justify-self: start; align-items: center; gap: .5rem; min-height: 48px; width: fit-content; margin-bottom: .7rem; padding: .35rem .9rem .35rem .45rem; border: 1px solid var(--line); background: white; border-radius: 999px; color: var(--green-dark); font-weight: 800; text-decoration: none; }
.back-link svg { width: 1.75rem; height: 1.75rem; padding: .2rem; border-radius: 50%; background: var(--mint); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-link:active { background: var(--mint); }
.hospital-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.hospital-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #d7e6de; border-radius: .9rem; background: white; box-shadow: 0 2px 5px #173b2b14; }
.hospital-card.is-selected { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.hospital-card-link { display: block; flex: 1; min-width: 0; border-radius: inherit; color: var(--ink); text-decoration: none; transition: background-color 140ms ease, transform 140ms ease; }
.hospital-card-link:active { background: var(--mint); transform: scale(.985); }
.hospital-card-media { position: relative; }
.hospital-card-image { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: .85rem .85rem 0 0; background: var(--mint); }
.hospital-card-beds { display: block; margin-top: .3rem; color: var(--sub); font-size: .72rem; }
.hospital-card-body { padding: .65rem .75rem; }
.hospital-card-body h3, .hospital-card-body p { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.hospital-card-body h3 { -webkit-line-clamp: 2; font-size: .95rem; line-height: 1.4; }
.hospital-card-body { overflow-wrap: anywhere; }
.hospital-card-body p { -webkit-line-clamp: 1; margin-top: .18rem; font-size: .76rem; line-height: 1.4; color: var(--sub); }
.hospital-card-actions { padding: 0 .65rem .65rem; }
.hospital-card-actions .button { width: 100%; min-height: 44px; padding: .4rem .28rem; font-size: .8rem; }
.hospital-card-actions [aria-pressed="true"] { background: var(--mint); border-color: var(--green); }
.hospital-dismiss { position: absolute; top: .15rem; right: .15rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.hospital-dismiss svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: #fff; stroke: currentColor; stroke-width: 2; fill: none; transition: transform 140ms ease, background-color 140ms ease; }
.hospital-dismiss:active svg { transform: scale(.88); background: var(--mint); }
.hospital-dismiss[aria-busy="true"] svg { opacity: .5; }
.results-topbar { margin-bottom: .4rem; padding-block: .4rem; border-bottom: 1px solid #e7edec; }
.match-location { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .75rem 0; font-size: .88rem; }
.match-location a, .results-dates .results-heading a { font-size: .8rem; font-weight: 750; }
.match-hint { margin: .7rem 0; padding: .65rem .75rem; border-radius: .7rem; background: #eaf6f0; color: #315a4b; font-size: .8rem; }
.results-mobile-footer { position: fixed; inset: auto 0 0; z-index: 5; padding: .55rem 12px calc(.55rem + env(safe-area-inset-bottom)); pointer-events: none; }
.match-footer-inner { width: min(100%, 490px); margin: auto; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .6rem; padding: .5rem; border-radius: .85rem; background: white; box-shadow: 0 -2px 14px #173b2b19; pointer-events: auto; }
.match-footer-inner span { font-size: .8rem; padding-inline: .35rem; }
.match-footer-inner .button { min-height: 46px; border-radius: .7rem; padding-inline: .45rem; }
body[data-view="matches"] .mobile-nav { display: none; }
body:has(.results-page input[type="search"]:focus) .results-mobile-footer { display: none; }
.match-detail-dialog > button { margin: 0 0 .5rem auto; }
.match-detail-dialog { padding: 0; width: min(calc(100% - 24px), 460px); }
.match-detail-dialog > button { position: absolute; z-index: 1; right: .75rem; top: .75rem; margin: 0; background: #fff; box-shadow: 0 2px 12px #102b3240; }
.match-detail-dialog [data-match-content] { gap: 0; }
.match-detail-media { margin: 0; background: #edf6f4; }
.match-detail-media img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.match-detail-media figcaption { padding: .3rem .9rem; font-size: .72rem; overflow-wrap: anywhere; }
.match-detail-copy { padding: 1rem; gap: .65rem; }
.match-detail-copy h2 { font-size: clamp(1.15rem, 5vw, 1.55rem); line-height: 1.45; overflow-wrap: anywhere; }
.match-detail-copy .actions { display: grid; }
.match-detail-dialog[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; width: min(calc(100% - 20px), 576px); max-height: 92dvh; overflow: hidden; }
.match-detail-dialog [data-match-content] { overflow-y: auto; overscroll-behavior: contain; }
.match-detail-media img { aspect-ratio: 16 / 9; }
.match-detail-footer:not(:empty) { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem; padding: .7rem .9rem max(.7rem, env(safe-area-inset-bottom)); border-top: 1px solid #e2ebe9; background: white; }
.hospital-location-map { width: 100%; height: 200px; border: 0; border-radius: .8rem; display: block; }
.hospital-overview { gap: .55rem; }
.hospital-overview h3 { font-size: .95rem; margin: .35rem 0 0; }
.hospital-info-note { padding: .8rem; border: 1px solid #e2ebe9; border-radius: .75rem; background: white; overflow-wrap: anywhere; }
.hospital-info-note p { margin: .35rem 0; }
.hospital-editorial-photo { margin: .35rem 0; }
.hospital-editorial-photo img { display: block; width: 100%; height: auto; }
.hospital-editorial-photo figcaption { padding: .35rem .5rem; font-size: .75rem; }
.match-detail-copy .hospital-editorial-photo { margin-inline: -1rem; }
.hospital-availability { border-color: #aed8ce; background: #f1faf7; }
.hospital-heading h1 { font-size: clamp(1.35rem, 5vw, 2rem); line-height: 1.45; overflow-wrap: anywhere; }
.hospital-heading { padding: 1rem; border-left: 4px solid var(--green); background: white; border-radius: .7rem; }
.hospital-heading h1 { font-size: clamp(1.45rem, 4vw, 2.2rem); }
.hospital-page .compact { max-width: 680px; }
.hospital-placeholder { position: relative; margin: 0; }
.hospital-placeholder > span, .hospital-placeholder > figcaption { position: absolute; inset: auto .45rem .45rem auto; padding: .13rem .45rem; border-radius: .35rem; background: white; color: var(--sub); font-size: .75rem; line-height: 1.4; }
.exterior-card { gap: 0; overflow: hidden; padding: 0; }
.exterior-card img { width: 100%; max-height: 360px; height: auto; object-fit: cover; }
.exterior-actions { padding: 1rem; }
.exterior-actions p { margin-bottom: .6rem; }
label { display: grid; gap: .25rem; color: var(--ink); font-size: .93rem; font-weight: 700; }
input, textarea, select { width: 100%; min-width: 0; max-width: 100%; min-height: 48px; padding: .55rem .7rem; border: 1px solid #91aba0; border-radius: .6rem; background: white; color: var(--ink); font-size: 1rem; }
textarea { resize: vertical; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.stack > * { margin-bottom: 0; }
.section-gap { margin-top: 2rem; }
.pay { color: var(--green-dark); font-weight: 900; font-size: 1.35rem; }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
.adjustment { background: var(--mint); border-radius: .7rem; padding: .85rem; }
summary { cursor: pointer; overflow-wrap: anywhere; }
details[open] > summary { margin-bottom: .65rem; }
.job-mobile-action { display: none; }
.status { position: fixed; z-index: 4; bottom: .8rem; right: 1rem; width: auto; max-width: min(480px, calc(100% - 2rem)); }
.status:not(:empty) { background: var(--green-dark); color: white; border-radius: .5rem; padding: .55rem .9rem; box-shadow: 0 .35rem 1.2rem #1234; }
.status.error { background: #9e3430; }
.notice { background: #fff5dc; border: 1px solid #e5d7ad; border-radius: .55rem; padding: .75rem 1rem; }
.footer-inner { font-size: .85rem; }
footer { background: white; border-top: 1px solid var(--line); }
.bubble { background: var(--mint); border-radius: .65rem; padding: .8rem; }
.bubble p { margin-bottom: 0; }
.chat-thread { display: grid; gap: .65rem; min-width: 0; }
.chat-thread .bubble { max-width: 90%; justify-self: start; background: #f0f4f6; overflow-wrap: anywhere; }
.chat-thread .bubble-own { justify-self: end; background: var(--mint); }
.chat-page { max-width: 44rem; }
.chat-page #application-messages { background: #e5edf5; }
.chat-page #application-messages { padding: 0; gap: 0; overflow: hidden; border: 1px solid #afc2dc; border-radius: 1rem; background: linear-gradient(#adc1df, #c7d5e9); }
.chat-page .message-header { margin: 0; padding: .65rem 1rem; color: #17263c; background: #adc1df; }
.chat-page #application-messages > .muted { margin: .35rem 1rem; font-size: .82rem; }
.chat-page .chat-thread { min-height: 36dvh; max-height: 58dvh; padding: 1rem; gap: .9rem; }
.chat-page .bubble { position: relative; max-width: calc(100% - 4.5rem); margin-inline: .35rem; padding: .6rem .75rem; border-radius: 1rem; }
.chat-page .bubble::before { content: ""; position: absolute; top: .65rem; left: -.36rem; width: .65rem; height: .65rem; transform: rotate(45deg); background: inherit; }
.chat-page .bubble-own { background: #a9ed83; }
.chat-page .bubble-own::before { left: auto; right: -.36rem; }
.chat-page .bubble small { position: absolute; left: calc(100% + .4rem); bottom: 0; white-space: nowrap; color: #263f5f; }
.chat-page .bubble-own small { left: auto; right: calc(100% + .4rem); }
.chat-page .chat-composer { padding: .65rem; background: #fff; }
.chat-page .chat-composer textarea { border-radius: 1.15rem; background: #f2f4f7; }
.chat-thread { max-height: 48dvh; overflow: auto; align-content: start; padding: .35rem; }
.chat-thread .bubble { background: #fff; border-radius: .9rem .9rem .9rem .25rem; }
.chat-thread .bubble-own { background: #c7edac; border-radius: .9rem .9rem .25rem .9rem; }
.chat-thread .bubble small { display: block; text-align: right; font-size: .72rem; }
.chat-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: end; }
.chat-composer textarea { width: 100%; min-width: 0; max-height: 8rem; resize: vertical; }
.chat-notice { position: fixed; z-index: 30; top: max(.65rem, env(safe-area-inset-top)); right: .65rem; width: min(22rem, calc(100% - 1.3rem)); }
.chat-notice a { display: grid; gap: .2rem; padding: .8rem 1rem; background: #fff; color: #173d31; border: 1px solid #d8e7de; border-radius: .9rem; box-shadow: 0 .4rem 1.4rem #173d3126; text-decoration: none; }
.chat-notice strong span { float: right; border-radius: 1rem; padding: 0 .55rem; background: #08745b; color: white; }
.portrait-preview, .review-portrait { width: min(100%, 15rem); aspect-ratio: 1; object-fit: contain; border-radius: .75rem; background: #deeffa; margin-inline: auto; }
.review-portrait { display: grid; place-items: center; }
.portrait-consent { display: flex; align-items: baseline; gap: .5rem; }
.portrait-consent input[type=checkbox] { width: auto; }
.portrait-frame { position: relative; width: min(100%, 18rem); aspect-ratio: 1; margin-inline: auto; overflow: hidden; border-radius: .75rem; background: #deeffa; }
.portrait-frame .portrait-preview { width: 100%; height: 100%; object-fit: cover; }
.portrait-guides { position: absolute; inset: 0; pointer-events: none; }
.portrait-guides span { display: block; position: absolute; border: 2px dashed #fff; outline: 1px solid #203c57; }
.portrait-guides span:first-child { inset: 9% 31% 44%; border-radius: 50%; }
.portrait-position { min-width: 0; margin: 0; padding: .5rem .75rem; border: 1px solid #ccdce4; border-radius: .65rem; }
.portrait-position label { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; gap: .5rem; }
.portrait-guides span:last-child { inset: 53% 10% -15%; border-radius: 50% 50% 0 0; }
.section-photo { border-radius: .8rem; object-fit: cover; width: 100%; height: auto; }
.guide-shell { width: min(100%, 490px); margin-inline: auto; }
.guide-heading { padding: .4rem 0 .8rem; margin-bottom: .45rem; }
.guide-heading .profile-toolbar { font-size: .88rem; font-weight: 750; }
.guide-progress { display: block; width: 100%; height: .48rem; margin: .65rem 0 1rem; accent-color: var(--green); }
.guide-heading h1 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.35; }
.guide-heading p { margin: 0; color: var(--sub); }
.guide-fields { display: grid; gap: .75rem; min-width: 0; }
.guide-fields .choice { min-height: 55px; border-radius: .8rem; font-weight: 700; }
.guide-fields .choice:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.guide-fields .choice:active { background: var(--mint); }
.guide-page { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.guide-actions { position: fixed; inset: auto 0 0; z-index: 5; margin: 0; background: white; border-top: 1px solid var(--line); padding: .7rem max(16px, env(safe-area-inset-right)) calc(.7rem + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.guide-action-inner { width: min(100%, 490px); margin-inline: auto; }
.guide-actions .button { width: 100%; min-height: 50px; border-radius: .8rem; text-align: center; }
.guide-fields :is(input, select, textarea) { scroll-margin-bottom: 88px; }
.guide-shell .inline-error:empty { display: none; }
body:has(.guide-page) .status { bottom: calc(env(safe-area-inset-bottom) + 5.25rem); z-index: 6; }
.profile-editor { width: min(100%, 490px); margin-inline: auto; }
.profile-toolbar { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: .4rem; text-align: center; }
.profile-toolbar h1 { margin: 0; font-size: clamp(1rem, 4vw, 1.25rem); }
.profile-back { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eaf2ee; color: var(--green); text-decoration: none; font: inherit; font-size: 1.3rem; cursor: pointer; }
.profile-progress { width: 100%; height: .45rem; accent-color: var(--green); }
.profile-step-count { margin: 0; color: var(--sub); font-weight: 700; }
.profile-step { display: grid; gap: .9rem; min-width: 0; border-radius: 1rem; box-shadow: none; }
.profile-step h2, .profile-step > p { margin: 0; }
.profile-editor [hidden] { display: none; }
.profile-workplace, .profile-skill-group { min-inline-size: 0; margin: 0; padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; }
.profile-workplace legend, .profile-skill-group legend { padding-inline: .35rem; font-weight: 750; }
.profile-months, .profile-skill-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr)); gap: .5rem; }
.profile-months input { width: 100%; min-width: 0; }
.profile-skill-grid .choice { padding: .45rem .55rem; gap: .4rem; font-size: .9rem; overflow-wrap: anywhere; }
.profile-skill-grid input { flex: 0 0 auto; }
.profile-actions-inner { width: min(100%, 490px); margin-inline: auto; }
.profile-actions .button { width: 100%; min-height: 50px; border-radius: .85rem; }
.profile-actions .button, .profile-back, .profile-skill-grid .choice { transition: background-color .16s ease, border-color .16s ease, transform .12s ease; }
.profile-actions .button:active, .profile-back:active, .profile-skill-grid .choice:active { transform: scale(.98); }
.profile-skill-grid .choice:has(:checked) { box-shadow: inset 0 0 0 1px var(--green); }
.profile-step:not([hidden]) { animation: profile-enter .18s ease-out; }
@keyframes profile-enter { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .profile-step:not([hidden]) { animation: none; }
  .profile-actions .button, .profile-back, .profile-skill-grid .choice { transition: none; }
}
@media (max-width: 680px) {
  body:has(.profile-editor) .mobile-nav { display: none; }
  .profile-page { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .profile-actions { position: fixed; z-index: 5; inset: auto 0 0; padding: .65rem max(16px, env(safe-area-inset-right)) calc(.65rem + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: white; }
  .profile-editor :is(input, textarea) { scroll-margin-bottom: 90px; }
}
.profile-history { padding-left: 1.2rem; }
.profile-history li + li { margin-top: .65rem; }
.profile-history p { margin: .15rem 0; }
.choice-grid { display: grid; gap: .6rem; }
.choice { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: .55rem; cursor: pointer; }
.choice:has(input:checked) { background: var(--mint); border-color: var(--green); }
.choice input { width: 1.15rem; min-height: auto; height: 1.15rem; margin: 0; accent-color: var(--green); }
.results-page { max-width: 490px; padding-bottom: 6rem; }
.results-page .hospital-grid { gap: .55rem; }
.results-page .hospital-card { border-radius: .8rem; }
.results-page { max-width: 448px; background: #f5f7f9; }
.results-page .hospital-card-media { aspect-ratio: 16 / 9; height: auto; }
.results-page .hospital-card-body { padding: .55rem .62rem; }
.results-page .hospital-card-body h3 { font-size: .8rem; line-height: 1.4; }
.results-page .hospital-card-body p { font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.results-page .match-footer-inner { max-width: 448px; }
.guide-shell, .guide-action-inner { max-width: 448px; }
.guide-area-card { overflow: hidden; border: 1px solid #e4eceb; border-radius: 1.25rem; background: white; box-shadow: 0 .5rem 1.4rem #102e2a0d; }
.guide-area-fields { display: grid; gap: .6rem; padding: 1rem; }
.guide-area-card .hospital-location-map { border-radius: 0; height: 245px; }
.guide-area-count, .guide-map-empty { margin: 0; padding: 1rem; text-align: center; }
.guide-area-count strong { color: #07825e; }
.guide-map-empty { background: #eef8f4; }
.guide-intent-card { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: .7rem; padding: 1.35rem 3rem 1.35rem 1rem; min-height: 110px; align-items: center; border: 2px solid #e4eceb; border-radius: 1rem; cursor: pointer; }
.guide-intent-card:has(input:checked) { border-color: #00b785; background: #f1fbf7; box-shadow: 0 .4rem 1rem #07825e14; }
.guide-intent-card input { position: absolute; right: 1rem; top: 1rem; width: 1.25rem; height: 1.25rem; accent-color: #008962; }
.guide-intent-card small { display: block; margin-top: .3rem; }
.guide-intent-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: .8rem; background: #d4f6e8; }
.matching-loading { min-height: 72dvh; width: min(100%, 448px); margin: auto; display: grid; align-content: center; gap: .65rem; text-align: center; padding: 1.5rem; }
.matching-loading h1 { font-size: 1.35rem; margin: 1rem 0 0; }
.matching-loading p { margin: 0 0 .75rem; }
.matching-loading > div:not(.matching-spinner) { padding: .7rem; border: 1px solid #bcebd9; border-radius: .8rem; }
.matching-spinner { width: 74px; height: 74px; margin-inline: auto; border: 5px solid #d3f6e8; border-top-color: #01936d; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .matching-spinner { animation: matching-spin .85s linear infinite; } }
@keyframes matching-spin { to { transform: rotate(1turn); } }
.results-dates .results-heading h2 { display: inline-flex; align-items: center; gap: .35rem; font-size: 1rem; }
.results-dates .landing-icon { width: 1.65rem; height: 1.65rem; }
.results-dates .landing-icon svg { width: 1rem; height: 1rem; }
.results-dates .date-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .35rem; }
.results-dates .date-chips li { flex: 0 0 auto; max-width: 13rem; text-align: left; background: #f8faf6; border: 1px solid #e4ebdc; }
.date-chips small { overflow-wrap: anywhere; }
.results-header { background: linear-gradient(130deg, #e4f6eb, #f1f8f4); padding: clamp(1.2rem, 4vw, 2.5rem); border-radius: 1.15rem; margin-bottom: 1.2rem; }
.results-header .tags { margin-block: .85rem; }
.results-heading, .results-next { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.results-heading h2, .results-next p { margin: 0; }
.result-count { color: var(--green); font-size: .85em; }
.date-chips { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: .85rem 0 0; gap: .55rem; }
.date-chips li { display: grid; min-width: 6rem; padding: .55rem .75rem; border-radius: .65rem; background: var(--mint); text-align: center; }
.date-chips time { color: var(--green-dark); font-weight: 800; }
.date-chips span { color: var(--sub); font-size: .85rem; }
.tag.pending { background: #fff1d9; color: #74491b; }
.facility-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .75rem; }
.facility-card .tags { margin: 0; }
.facility-card .button { justify-self: start; }
.facility-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .65rem; background: var(--mint); color: var(--green-dark); }
.facility-card summary, .excluded-list summary { cursor: pointer; color: var(--green-dark); font-weight: 700; }
.facility-card details p, .excluded-list p { margin: .5rem 0; }
.excluded-list ul, .draft-facilities { list-style: none; padding: 0; margin: 0; }
.excluded-list li, .draft-facilities li { border-top: 1px solid var(--line); padding: .65rem 0; }
.excluded-list li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.results-next { background: #eff8f3; }
.directory-pages { justify-content: center; margin-top: 1rem; }
.hospital-credit { font-size: .82rem; margin-top: 1rem; }
.hospital-filters { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); align-items: end; }
.photo-filter { grid-column: 1 / -1; justify-self: start; }
.hospital-photo { margin: 0; }
.hospital-photo img { width: 100%; height: auto; max-height: 440px; aspect-ratio: 4 / 3; object-fit: contain; background: #e7efe9; border-radius: .8rem; }
.hospital-photo figcaption { font-size: .8rem; margin-top: .35rem; }
.hospital-details { margin: 0; }
.hospital-details > div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: .4rem; border-bottom: 1px solid var(--line); padding: .45rem 0; }
.hospital-details dt { font-weight: 800; }
.hospital-details dd { margin: 0; }
.hospital-specialties { margin: 0; padding-left: 1.35rem; columns: 2; }
.hospital-specialties li { break-inside: avoid; }
.selection-list { flex: 1 0 100%; margin: 0; padding-left: 1.2rem; }
.selection-list li { margin-block: .45rem; }
.selection-list .button { margin-left: .4rem; }
.review-banner { background: var(--mint); border-bottom: 1px solid var(--line); }
.review-banner .wrap { display: flex; align-items: center; flex-wrap: wrap; column-gap: 1rem; padding-block: .25rem; }
.review-banner a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.mobile-nav, .mobile-facility { display: none; }
.auth-card { padding: clamp(1rem, 4vw, 1.75rem); }
.auth-card > .text-button { justify-self: start; margin-block: -.65rem -.3rem; }
.auth-steps { display: flex; gap: .5rem; padding: 0; list-style: none; flex-wrap: wrap; }
.auth-steps [aria-current] { color: var(--green-dark); font-weight: 800; }
.auth-links { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.auth-links a { display: inline-flex; align-items: center; min-height: 44px; }
.auth-code { font-size: 1.3rem; letter-spacing: .18em; }
.inline-error { color: #9e3430; margin: 0; font-weight: 700; }
.inline-error:empty { display: none; }
.text-button { border: 0; background: none; text-decoration: underline; color: var(--green-dark); padding: .4rem .15rem; min-height: 44px; text-align: left; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calendar-picker, .calendar-selected { display: grid; gap: .65rem; min-width: 0; }
.calendar-range { display: flex; align-items: center; justify-content: space-between; gap: .4rem; font-size: .9rem; }
.calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.18rem, 1vw, .4rem); }
.calendar-column { display: grid; gap: .3rem; text-align: center; color: #50635d; font-size: .73rem; }
.calendar-column[data-weekday="0"] { color: #a94347; }
.calendar-column[data-weekday="6"] { color: #4858a8; }
.calendar-day { display: grid; place-content: center; min-height: 52px; min-width: 0; padding: .22rem .12rem; border: 1px solid transparent; border-radius: .65rem; background: #f1f5f4; color: inherit; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.calendar-day[aria-pressed="true"] { background: #dcf3e9; color: #145741; border-color: #75b5a1; }
.calendar-day small { display: block; margin-top: .1rem; font-size: .65rem; line-height: 1; }
.calendar-day:active { transform: translateY(1px); }
.calendar-day:disabled { opacity: .5; cursor: default; }
.calendar-next { background: #e8f7ef; border-color: transparent; color: #145741; }
.calendar-status { display: grid; gap: .55rem; padding: .8rem; border: 1px solid #d7eee2; border-radius: .8rem; background: #eff9f3; }
.calendar-count { display: flex; justify-content: space-between; gap: .35rem; color: #145741; font-size: .8rem; }
.calendar-status progress { width: 100%; height: .4rem; accent-color: var(--green); }
.calendar-selected { display: flex; flex-wrap: wrap; gap: .35rem; }
.calendar-selected:empty { display: none; }
.calendar-chip { padding: .35rem .55rem; min-height: 36px; border: 1px solid #cce6d7; border-radius: .55rem; background: white; color: #145741; cursor: pointer; }
.calendar-dialog { width: min(calc(100% - 24px), 410px); max-height: 90dvh; border: 0; border-radius: 1rem; padding: 1rem; color: var(--ink); }
.calendar-dialog::backdrop { background: #11231f6b; }
.calendar-dialog-inner { display: grid; gap: .7rem; }
.calendar-dialog header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.calendar-dialog h2, .calendar-dialog p { margin: 0; }
.calendar-part input { margin-left: auto; }
.calendar-part-icon { min-width: 1.3rem; color: #78601d; font-size: 1.2rem; }
.calendar-dialog [hidden] { display: none; }
.calendar-note { font-size: .85rem; }
.calendar-note summary { cursor: pointer; }
.calendar-note label { margin-top: .45rem; }
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { --bottom-nav: 65px; padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); }
  .wrap { width: auto; margin-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  .header-inner { gap: .5rem; min-height: 58px; padding-block: .25rem; }
  .header-inner .brand { font-size: clamp(.95rem, 4.3vw, 1.12rem); gap: .38rem; }
  .brand-mark { width: 1.85rem; height: 1.85rem; }
  .desktop-nav { display: none; }
  .mobile-facility { display: inline-flex; min-height: 44px; align-items: center; padding-inline: .2rem; font-size: .83rem; font-weight: 800; white-space: nowrap; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 6; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: var(--bottom-nav); gap: 0; border-top: 1px solid var(--line); background: white; padding: .25rem env(safe-area-inset-right) calc(.25rem + env(safe-area-inset-bottom)) env(safe-area-inset-left); }
  .mobile-nav a { display: grid; place-items: center; align-content: center; gap: .18rem; min-height: 54px; margin: 0 .15rem; padding: .25rem .1rem; border-radius: .55rem; color: var(--sub); font-size: .72rem; text-align: center; line-height: 1.2; }
  .mobile-nav a[aria-current], .mobile-nav a:active { color: var(--green-dark); background: var(--mint); }
  .mobile-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
  body[data-view="guide"] .mobile-nav, body:has(input:not([type="checkbox"],[type="radio"]):focus, textarea:focus) .mobile-nav { display: none; }
  .status { bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom) + .55rem); }
  .page { padding-block: 1.45rem 2rem; }
  .page h1 { font-size: clamp(1.65rem, 7.5vw, 2.1rem); }
  .section { padding-block: 1.35rem; }
  .section-gap { margin-top: 1.25rem; }
  .split, .tiles { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .filters, .directory-search, .dashboard-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .filters > :last-child, .directory-search > label:nth-child(2), .dashboard-shortcuts > :nth-child(3) { grid-column: 1 / -1; }
  .directory-search > label:nth-child(2) { grid-row: 1; }
  .search-submit { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; }
  .search-options summary .tag { font-size: .72rem; }
  .job-card > .button, .dashboard-card > .button { justify-self: stretch; }
  .application-shortcuts { display: grid; margin-bottom: .75rem; }
  .message-header { justify-content: space-between; gap: .5rem; }
  .message-header .button { padding-inline: .6rem; font-size: .82rem; }
  .page .auth-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem .55rem; }
  .facility-card { grid-template-columns: minmax(0, 1fr); }
  .facility-card .facility-icon { display: none; }
  .facility-card .actions { gap: .5rem; }
  .facility-card .actions .button { flex: 1 1 120px; }
  .hospital-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .hospital-card-body { padding: .48rem .52rem; }
  .hospital-card-body h3 { font-size: .83rem; }
  .hospital-card-actions { padding: 0 .45rem .45rem; }
  body:has(.results-mobile-footer) .status { bottom: calc(env(safe-area-inset-bottom) + 4.6rem); z-index: 6; }
  .exterior-actions .actions { display: grid; gap: .55rem; }
  .hospital-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .hospital-actions > :nth-child(3) { grid-column: 1 / -1; }
  #job-apply { scroll-margin-top: 1rem; }
  .job-mobile-action { display: grid; position: sticky; bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom)); z-index: 4; margin-top: .85rem; padding: .55rem 0; background: var(--paper, #f8f8f2); }
  .job-layout:focus-within + .job-mobile-action { display: none; }
  .area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area-grid .button { padding-inline: .25rem; }
  .results-header { padding: 1rem; border-radius: .85rem; }
  .results-header .button, .results-heading .button { min-height: 44px; padding: .45rem .65rem; font-size: .85rem; }
  .results-heading h2 { font-size: 1.25rem; }
  .date-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
  .date-chips li { min-width: 0; padding: .48rem .2rem; font-size: .88rem; }
  .date-chips span { font-size: .78rem; }
  .facility-card .button { justify-self: stretch; }
  .results-next .button, .auth-card > .button { width: 100%; }
  .selection-list .button { width: auto; }
  .hospital-details > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hospital-filters:not(.directory-search) { grid-template-columns: minmax(0, 1fr); }
  .excluded-list li > span { min-width: 0; }
  .excluded-list li .button { flex: 0 0 auto; padding-inline: .55rem; font-size: .82rem; }
  .footer-inner { flex-wrap: wrap; padding-block: .85rem; gap: .35rem .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .hospital-card-link, .hospital-dismiss svg { transition: none; }
  .button:active:not(:disabled), .hospital-card-link:active, .hospital-dismiss:active svg { transform: none; }
  .button[aria-busy="true"]::after { animation: none; }
}

/* The registration flow uses a single phone-width canvas. */
body:has(.guide-page, .intake-auth, .matching-loading, .results-page, .profile-editor) {
  background: #f4f5f6;
  padding-bottom: 0;
}
body:has(.guide-page, .intake-auth, .matching-loading, .results-page, .profile-editor) > :is(.header, footer, .mobile-nav) {
  display: none;
}
:is(.guide-page, .intake-auth, .profile-page:has(.profile-editor), .results-page) {
  width: min(100%, 460px);
  max-width: 460px;
  margin-inline: auto;
  padding: 24px clamp(18px, 5.5vw, 28px) 88px;
  min-height: 100dvh;
  box-shadow: 0 0 22px #1b342a0b;
}
:is(.guide-page, .intake-auth, .profile-page:has(.profile-editor)) { background: #fff; color: #18283a; }
.guide-shell, .guide-action-inner, .intake-auth .compact { max-width: none; width: 100%; }
.guide-heading { padding: 0; margin: 0 0 16px; }
.guide-heading p { margin: 5px 0 0 39px; font-size: .82rem; }
.guide-progress, .profile-progress {
  appearance: none;
  height: 4px;
  width: 100%;
  border: 0;
  margin: 0 0 16px;
  border-radius: 99px;
  overflow: hidden;
  background: #edf1f3;
}
:is(.guide-progress,.profile-progress)::-webkit-progress-bar { background: #edf1f3; }
:is(.guide-progress,.profile-progress)::-webkit-progress-value { background: #08ae7e; }
:is(.guide-progress,.profile-progress)::-moz-progress-bar { background: #08ae7e; }
.intake-heading-row { display: flex; align-items: center; gap: 10px; min-height: 35px; }
.intake-heading-row h1 { margin: 0; font-size: clamp(1rem, 4.2vw, 1.18rem); line-height: 1.4; letter-spacing: -.02em; }
.intake-heading-row .profile-back, .results-topbar .profile-back {
  flex: none; background: transparent; border-radius: .4rem; width: 27px; height: 35px; color: #4e5e6f;
}
.intake-heading-row .landing-icon, .guide-area-options .landing-icon {
  flex: none; width: 29px; height: 29px; border-radius: 50%; background: #e9fbf3; color: #008f6b;
}
.intake-heading-row .landing-icon svg, .guide-area-options .landing-icon svg { width: 19px; height: 19px; }
.guide-actions, .profile-page:has(.profile-editor) .profile-actions {
  position: fixed; z-index: 5; inset: auto 0 0;
  width: min(100%, 460px); margin-inline: auto;
  padding: 8px clamp(21px, 6.7vw, 35px) calc(11px + env(safe-area-inset-bottom));
  background: #fff; border: 0;
}
:is(.guide-actions,.profile-actions) .button, .intake-auth .auth-card > .button {
  width: 100%; min-height: 49px; border-radius: 12px; background: #087c5c; border-color: #087c5c;
}
.guide-qualification { padding: 12px; border-radius: 16px; background: #f5f7f9; }
.guide-qualification p { margin: 0 0 8px; font-size: .82rem; font-weight: 700; }
.guide-qualification .choice { position: relative; justify-content: center; min-height: 45px; background: white; border-color: #dfe6e8; }
.guide-qualification .choice:has(:checked) { min-height: 55px; color: #008c69; background: #ebfbf5; border-color: #02ad7a; }
.guide-qualification .choice input { position: absolute; opacity: 0; inset-inline-start: .6rem; }
.guide-area-options summary { display: flex; align-items: center; gap: 13px; padding: 14px 16px; cursor: pointer; }
.guide-area-options summary::-webkit-details-marker { display: none; }
.guide-area-options summary span:nth-child(2) { display: grid; line-height: 1.4; }
.guide-area-options summary small { color: #087f61; font-weight: 700; }
.guide-area-change { margin-inline-start: auto; font-size: .8rem; color: #425567; }
.guide-area-card { border-color: #ecf2ef; }
.guide-area-card .hospital-location-map { height: 255px; }
.guide-intent-card { min-height: 144px; background: #fff; gap: .8rem; padding: 1.1rem 3rem 1.1rem .95rem; }
.guide-intent-card:has(input:checked) { background: #f3fcf8; border-color: #06ac83; }
.guide-step-2 .guide-fields { gap: 17px; margin-top: .8rem; }
.guide-intent-card input { width: 22px; height: 22px; accent-color: #00a977; }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); text-align: center; font-size: .78rem; color: #5c6d7f; }
.calendar-weekdays [data-weekday="0"] { color: #a94347; }
.calendar-weekdays [data-weekday="6"] { color: #2764a7; }
.calendar-day { min-height: 49px; background: #f3f6f8; border-color: #e5ebef; border-radius: 9px; }
.calendar-day[aria-pressed="true"] { background: #eff4f7; border-color: #dbe7ed; }
.calendar-day small { display: flex; justify-content: center; gap: 2px; }
.calendar-day small span { padding: .1rem .2rem; border-radius: 12px; background: #087c5c; color: #fff; }
.guide-step-4 .calendar-picker { min-height: min(620px, max(330px, calc(100dvh - 200px))); grid-template-rows: auto auto auto auto 1fr; align-items: start; }
.guide-step-4 .calendar-status { align-self: end; }
.calendar-next { min-height: 44px; border-radius: 12px; background: #eafaf3; color: #15624c; }
.guide-page .calendar-dialog { width: min(calc(100% - 44px), 416px); border-radius: 18px; padding: 20px; }
.guide-page .calendar-part { min-height: 64px; border: 1px solid #e3ebef; border-radius: 15px; }
.guide-page .calendar-dialog [data-action="calendar-confirm"] { background: #087c5c; border-color: #087c5c; }
.matching-loading { position: relative; isolation: isolate; min-height: 100dvh; display: grid; place-items: center; background: #fff; width: min(100%, 460px); padding: 120px 26px 38px; }
.matching-loading::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: min(15vh, 135px); background: #f0faf5; }
.matching-loader-content { width: min(100%, 320px); }
.matching-emblem { position: relative; display: grid; place-items: center; width: 113px; height: 113px; margin: 0 auto 26px; border: 1px solid #c9f0e2; border-radius: 50%; }
.matching-emblem .matching-spinner { position: absolute; width: 101px; height: 101px; border-width: 2px; border-top-color: #27bb95; }
.matching-emblem img { width: 54px; height: 54px; }
.matching-loading > div.matching-loader-content { border: 0; padding: 0; }
.matching-loading h1 { font-size: clamp(1.13rem, 5vw, 1.38rem); margin: 0 0 .35rem; }
.matching-loading p { font-size: .85rem; color: #4c5f70; margin-bottom: 22px; }
.matching-loading ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: left; }
.matching-loading li { display: flex; align-items: center; gap: .7rem; padding: 9px 12px; border: 1px solid #d6eee4; border-radius: 12px; box-shadow: 0 1px 3px #1e503217; font-size: .83rem; }
.matching-loading li span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #087c5c; color: white; }
.results-page { padding-top: 12px; padding-inline: clamp(10px, 3.8vw, 18px); background: #f4f7f9; }
.results-page .results-topbar h1 { font-size: 1rem; }
.results-topbar { border-bottom: 0; margin: 0; }
.results-page .hospital-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.results-page .hospital-card { background: white; }
.results-page .results-dates .date-chips li { background: #f3fcf7; border-color: #c6eedb; }
.intake-auth .compact { min-height: calc(100dvh - 54px); display: flex; flex-direction: column; }
.intake-auth { padding-bottom: 22px; }
.intake-auth-description { margin: 5px 0 1rem; font-size: .82rem; color: #4b6271; }
.intake-auth .auth-steps { order: -1; margin: 0 0 13px; padding-bottom: 7px; border-top: 4px solid #08ae7e; font-size: .72rem; }
.intake-auth .auth-steps .tag { background: transparent; padding-inline: 0; }
.intake-auth .auth-card { flex: 1; align-content: start; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.intake-auth .auth-card input:not([type="checkbox"],[type="file"]) { background: #f4f6f8; border-color: #eaf0f2; border-radius: 12px; min-height: 48px; }
.intake-auth .portrait-empty { display: flex; gap: .6rem; align-items: center; color: #526374; }
.intake-auth .portrait-file-button { position: sticky; bottom: max(10px, env(safe-area-inset-bottom)); cursor: pointer; }
.intake-auth .portrait-file-button:focus-within { outline: 3px solid #b2551d; outline-offset: 4px; }
.intake-auth .auth-card:has(.portrait-preview[hidden]) { grid-template-rows: auto 1fr auto auto; }
.intake-auth .auth-card:has(.portrait-preview[hidden]) > :is(.portrait-frame, .portrait-instruction, .actions, button) { display: none; }
.intake-auth .auth-card:has(.portrait-preview:not([hidden])) .portrait-empty { display: none; }
.intake-auth .auth-card:has(.portrait-preview[hidden]) .portrait-file-button { grid-row: 3; }
.profile-page:has(.profile-editor) .profile-step { border: 0; padding: 0; }
.profile-page:has(.profile-editor) .profile-workplace { background: #f6f8fa; }
.profile-skill-group { background: #f5f7f9; border-color: #e8edf0; }
.profile-skill-group summary { cursor: pointer; font-weight: 700; }
.profile-skill-group[open] .profile-skill-grid { margin-top: .65rem; }
.profile-skill-group .choice { background: #fff; }
.profile-skill-group .choice:has(:checked) { background: #e7faf2; }
.intake-auth .auth-card[data-form="start-email"] { display: flex; flex-direction: column; }
.intake-auth .auth-card[data-form="start-email"] > .policy-consent { margin-top: clamp(14px, 17dvh, 155px); background: transparent; border: 0; padding-inline: 0; }
.intake-auth .auth-card[data-form="start-email"] > .button { margin-top: auto; }
.profile-page:has(.profile-editor) :is(input:not([type="checkbox"]),textarea) { border-radius: 11px; background: #f6f8fa; border-color: #e4eaed; }
.guide-step-0 .guide-heading p { margin-inline-start: 39px; }
.guide-step-0 .intake-heading-row .profile-back { width: 19px; }
.qualification-form { display: grid; gap: 11px; }
.qualification-form [hidden] { display: none; }
.qualification-occupation { color: #253547; font-size: .86rem; }
.qualification-occupation select { min-height: 48px; width: 100%; border-radius: 13px; border-color: #dfe5e8; color: #18283a; background: white; }
.qualification-caption { margin: -4px 0 5px; font-size: .74rem; color: #43566a; }
[data-qualification-controls] { display: grid; gap: 12px; }
.guide-step-0 .guide-qualification .choice { min-height: 44px; }
.guide-step-0 .guide-qualification .choice:first-child { min-height: 55px; }
.qualification-extras { min-inline-size: 0; border: 0; padding: 0; margin: 12px 0 0; }
.qualification-extras legend { padding: 0 0 6px; font-size: .77rem; font-weight: 700; color: #43566a; }
.qualification-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.qualification-grid.single { grid-template-columns: 1fr; }
.qualification-tile { position: relative; display: grid; place-items: center; min-width: 0; min-height: 39px; padding: .33rem .2rem; border: 1px solid #dfe5e8; border-radius: 12px; background: #fff; color: #253547; font: inherit; font-size: .76rem; text-align: center; line-height: 1.35; cursor: pointer; }
.qualification-tile input { position: absolute; opacity: 0; inset-inline-start: .35rem; width: 1px; height: 1px; }
.qualification-tile:has(:checked), .qualification-tile[aria-pressed="true"] { background: #eafbf3; color: #007e5d; border-color: #00a77c; }
.qualification-tile:has(:focus-visible) { outline: 2px solid #18283a; outline-offset: 1px; }
.qualification-extras:disabled .qualification-tile { opacity: .32; cursor: default; }
.qualification-other summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 9px 12px; border: 1px solid #dfe5e8; border-radius: 12px; background: white; color: #33465a; cursor: pointer; }
.qualification-other summary::-webkit-details-marker { display: none; }
.qualification-other summary :is(strong,small) { display: block; }
.qualification-other summary strong { font-size: .84rem; }
.qualification-other summary small { font-size: .74rem; }
.qualification-other[open] summary > span:last-child { rotate: 180deg; }
.qualification-other-groups { display: grid; gap: 12px; padding: 10px 12px; margin-top: 10px; border-radius: 14px; background: #f5f7f9; }
.qualification-other-groups .qualification-grid + .qualification-grid { padding-top: 12px; border-top: 1px solid #dfe5e8; }
.qualification-advice { margin: 17px 0 0; padding: 16px; border: 1px solid #efe19d; border-radius: 17px; background: #fbf9e8; color: #784614; font-size: .77rem; }
.qualification-dialog { width: min(calc(100% - 62px), 384px); max-height: 85dvh; padding: 0; border: 0; border-radius: 16px; color: #18283a; box-shadow: 0 10px 36px #18283a28; }
.qualification-dialog::backdrop { background: #20273a73; }
.qualification-dialog-body { padding: 20px 20px 15px; }
.qualification-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qualification-dialog h2 { margin: 0; font-size: 1.04rem; }
.qualification-dialog-heading button { background: transparent; border: 0; color: #425266; font-size: 1.3rem; cursor: pointer; }
.qualification-dialog label { color: #526577; font-size: .82rem; }
.qualification-dialog input { min-height: 49px; width: 100%; margin-top: 7px; border: 1px solid #007b60; border-radius: 11px; background: white; }
.qualification-dialog input:focus-visible { outline: 1px solid #007b60; outline-offset: 0; }
.qualification-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 20px 15px; border-top: 1px solid #e9eff1; }
.qualification-dialog-actions .button { min-height: 44px; border-radius: 12px; }
.qualification-dialog-actions .secondary { background: #eff3f7; border-color: #eff3f7; color: #18283a; box-shadow: none; }
.qualification-dialog-actions .button:disabled { opacity: .52; }
.qualification-clear { margin: 0 20px 6px; }
.guide-radius-map { position: relative; overflow: hidden; isolation: isolate; background: #e5f3ed; }
.guide-radius-map iframe { display: block; width: 100%; height: 255px; border: 0; pointer-events: none; }
.guide-radius-circle, .guide-radius-center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; pointer-events: none; border-radius: 50%; }
.guide-radius-circle { height: 52%; aspect-ratio: 1; border: 2px solid #05ac8077; background: #18bf8524; }
.guide-radius-center { width: 20px; height: 20px; background: #00b87c; border: 3px solid white; box-shadow: 0 1px 5px #004e4566; }
.guide-radius-badge { position: absolute; top: .65rem; right: .65rem; border: 1px solid #d8e9e1; border-radius: 99px; background: #fff; padding: .27rem .7rem; color: #066749; font-size: .77rem; font-weight: 750; }
.guide-intent-amount { display: block; margin-top: .45rem; color: #3c5661; font-size: .75rem; }
.guide-intent-amount b { color: #007d5e; font-size: 1.42rem; line-height: 1.12; letter-spacing: -.04em; }
.guide-intent-note { color: #536676; font-size: .74rem; text-align: center; margin: .15rem 0; }
.match-location strong { display: flex; align-items: center; gap: .45rem; }
.result-radius-tabs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 2px; margin: .65rem 0 .5rem; padding: .28rem; border-radius: 12px; background: #edf2f6; }
.result-radius-tabs a { display: grid; place-items: center; min-height: 41px; padding-inline: .1rem; white-space: nowrap; border-radius: 10px; color: #40566b; font-size: .76rem; }
.result-radius-tabs a[aria-current] { background: white; color: #007958; box-shadow: 0 1px 4px #223b3a23; }
.hospital-card-media { position: relative; }
.results-page .match-footer-inner.match-next-only { grid-template-columns: minmax(0,1fr); }

.results-page .hospital-card-station { display: block; margin-top: .2rem; color: var(--green-dark); font-size: .72rem; font-weight: 700; }
.guide-page { overflow-x: clip; }
.guide-progress-track { position: relative; height: 4px; margin-bottom: 16px; overflow: hidden; border-radius: 99px; background: #edf1f3; }
.guide-progress-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #08ae7e; }
.guide-progress-track .guide-progress { position: absolute; inset: 0; margin: 0; opacity: 0; }
.results-page .results-dates { border-color: #bcebd5; border-radius: 1.1rem; margin: .85rem 0 0; }
.results-dates .results-heading .landing-icon { border-radius: .5rem; background: #e8fbf1; color: #008760; }
.results-dates .schedule-strip { gap: .55rem; padding: 0 0 .6rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.results-page .results-dates .schedule-date { display: flex; flex-direction: column; gap: .15rem; flex: 0 0 9rem; padding: .56rem .65rem; scroll-snap-align: start; background: #fffdf2; border-color: #f6db7f; }
.schedule-date div { display: flex; align-items: center; justify-content: space-between; gap: .2rem; white-space: nowrap; }
.schedule-date time { color: #34435a; }
.schedule-date.weekday-6 time { color: #2367bf; }
.schedule-date.weekday-0 time { color: #b14757; }
.schedule-date .schedule-unsent { padding: .05rem .33rem; border-radius: 1rem; background: #fff0c1; color: #854600; font-size: .7rem; font-weight: 750; }
.schedule-date small { color: var(--sub); white-space: normal; }
.schedule-rewards { border-top: 1px solid var(--line); margin-top: .55rem; padding-top: .7rem; }
.schedule-rewards p { color: var(--sub); margin: 0 0 .5rem; font-size: .78rem; }
.schedule-rewards > small { display: block; margin-top: .45rem; color: var(--sub); font-size: .7rem; }
.schedule-reward-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.schedule-reward { flex: 1 1 8rem; display: grid; gap: .12rem; padding: .55rem .65rem; border-radius: .7rem; background: #ebfaf3; color: #00684c; }
.schedule-reward-visit { background: #eaf7ff; color: #145a79; }
.schedule-reward strong { font-size: clamp(1.1rem, 5vw, 1.5rem); line-height: 1.18; }
.schedule-reward span, .schedule-reward small { font-size: .72rem; }

.preview-finish-action .button { width: 100%; }

.basic-page .guide-shell { display: flex; flex-direction: column; }
.intake-progress-header { border-bottom: 1px solid #e9eff3; padding: .5rem 0 .85rem; margin-bottom: 1.15rem; }
.intake-progress-header .guide-progress-track { margin-bottom: .6rem; }
.intake-progress-meta { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: space-between; align-items: center; color: #42566b; font-size: .73rem; }
.intake-progress-meta b { color: #00815f; }
.intake-progress-meta a { padding: .25rem .53rem; border: 1px solid #a0ecca; border-radius: 2rem; color: #007a59; font-weight: 750; text-decoration: none; }
.basic-page .intake-heading-row { gap: .55rem; }
.basic-page .intake-heading-row h1 { margin: 0; font-size: clamp(1rem, 5vw, 1.4rem); }
.basic-description { margin: .35rem 0 0 2.5rem; font-size: .85rem; color: #42566b; }
.basic-fields { display: grid; gap: .9rem; margin-top: .95rem; }
.basic-fields fieldset { min-width: 0; margin: 0; }
.basic-fields fieldset:not(.profile-workplace) { border: 0; padding: 0; }
.basic-fields legend { margin-bottom: .28rem; font-weight: 700; }
.basic-fields :is(input:not([type=checkbox],[type=radio]), select, textarea) {
  width: 100%; min-width: 0; min-height: 2.8rem; padding: .55rem .65rem; border: 1px solid #d4dfe9;
  border-radius: .65rem; background: #f5f8fa; color: #18283a; font-size: 1rem;
}
.basic-pair, .basic-birth, .basic-address { display: grid; gap: .5rem; }
.basic-pair { grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr)); }
.basic-birth { grid-template-columns: 2fr 1fr 1fr; }
.basic-birth input { text-align: center; }
.basic-address { grid-template-columns: 1fr 1.65fr; padding: .65rem; border-radius: .75rem; background: #f5f8fa; }
.basic-address label { min-width: 0; }
.basic-address input { background: white !important; }
.basic-note, .basic-popular { margin: 0; padding: .75rem; border: 1px solid #c5f1dd; border-radius: .8rem; background: #ecfcf3; color: #17604e; }
.basic-note p { margin: .35rem 0 0; }
.basic-popular h2 { margin: 0 0 .55rem; font-size: .9rem; }
.basic-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.basic-fields .basic-chip { position: relative; margin: 0; display: block; }
.basic-chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.basic-chip span { display: block; padding: .54rem .65rem; border: 1px solid #dce6ee; border-radius: .6rem; background: white; color: #34485a; font-size: .78rem; font-weight: 700; text-align: center; }
.basic-chip input:checked + span { background: #008460; border-color: #008460; color: white; }
.basic-chip input:focus-visible + span { outline: 2px solid #165eae; outline-offset: 2px; }
.basic-fields .profile-skill-group .basic-chips { padding: .55rem; }
.basic-fields .profile-workplace { padding: .7rem; border: 1px solid #e2eaf0; border-radius: .8rem; }
.basic-actions a { display: block; padding: .3rem 0; text-align: center; color: #42566b; font-size: .78rem; }
@media (max-width: 720px) { body[data-view="basic"] .mobile-nav { display: none; } }

.guide-progress-track[data-progress="1"] > span { width: 10%; }
.guide-progress-track[data-progress="2"] > span { width: 20%; }
.guide-progress-track[data-progress="3"] > span { width: 30%; }
.guide-progress-track[data-progress="4"] > span { width: 40%; }
.guide-progress-track[data-progress="5"] > span { width: 50%; }
.guide-progress-track[data-progress="6"] > span { width: 60%; }
.guide-progress-track[data-progress="7"] > span { width: 70%; }
.guide-progress-track[data-progress="8"] > span { width: 80%; }
.guide-progress-track[data-progress="9"] > span { width: 90%; }
.guide-progress-track[data-progress="10"] > span { width: 100%; }
.guide-heading .intake-progress-header { padding-top: 0; }
.intake-progress-meta [data-intake-reward] { margin-inline-start: auto; text-align: right; }
.intake-progress-meta a { margin-inline-start: auto; }
.workplace-month-selects { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: .3rem; }
.workplace-month-selects select { min-width: 0; width: 100%; }
.basic-skill-count:not([hidden]) { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding-inline: .22rem; margin-inline-start: .36rem; border-radius: 999px; background: #008460; color: white; font-size: .75rem; }

.landing-nav { display: none; }
body[data-view="home"] { background: #fff; }
body[data-view="home"] .desktop-nav,
body[data-view="home"] .mobile-facility { display: none; }
body[data-view="home"] .landing-nav { display: flex; gap: .65rem; }
.landing-nav .button { border-radius: 999px; min-height: 43px; padding: .55rem .95rem; }
.landing { --leaf: #08765e; --pine: #133f35; --foam: #e9f7ef; background: white; }
.landing-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); width: min(920px, calc(100% - 48px)); margin: 1rem auto 0; background: #f5faf6; overflow: hidden; border: 1px solid #e2eee6; border-radius: 1.4rem; }
.landing-copy { align-self: center; min-width: 0; padding: 1.65rem clamp(1.25rem, 3vw, 2.2rem); }
.landing-label { display: inline-flex; justify-content: center; align-items: center; width: fit-content; max-width: 100%; min-height: 30px; padding: .13rem .9rem; color: var(--leaf, #087850); border: 1px solid #87b7a5; border-radius: 999px; font-size: .82rem; font-weight: 900; letter-spacing: .035em; background: #fff; }
.landing-copy h1 { margin: .78rem 0 .65rem; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.18; font-weight: 900; letter-spacing: -.035em; }
.landing-copy h1 strong { color: var(--leaf); font-size: 1.14em; text-decoration: underline .13em #f4ca82; text-underline-offset: .07em; text-decoration-skip-ink: none; }
.landing-intro { margin-bottom: 1.05rem; color: #344f45; font-weight: 700; line-height: 1.65; }
.landing-picture { position: relative; min-width: 0; }
.landing-picture picture, .landing-picture img { width: 100%; height: 100%; }
.landing-picture img { position: absolute; inset: 0; object-fit: cover; object-position: 61% 43%; }
.landing-photo-note { position: absolute; top: 15%; left: 8%; display: flex; align-items: center; gap: .6rem; max-width: 84%; background: #f7fff3f5; border: 1px solid #edf5e9; box-shadow: 0 8px 24px #163c2220; border-radius: 1rem; padding: .55rem .88rem .55rem .65rem; font-size: .76rem; font-weight: 800; line-height: 1.5; color: var(--pine); }
.landing-photo-note strong { display: block; font-size: 1rem; color: var(--leaf); }
.landing-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.55rem; height: 2.55rem; border-radius: 50%; background: var(--foam, #e9f7ef); color: var(--leaf, #087850); }
.landing-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.landing-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .62rem; margin: 0 0 1.25rem; }
.landing-benefits > div { min-width: 0; display: flex; align-items: center; gap: .48rem; min-height: 72px; background: #fff; border: 1px solid #e5eee8; border-radius: .75rem; padding: .58rem; box-shadow: 0 6px 18px #1739280d; font-size: .77rem; font-weight: 750; line-height: 1.55; }
.landing-benefits strong { display: block; color: #165f47; font-size: .88rem; font-weight: 900; }
.landing-benefits .landing-icon { width: 2.1rem; height: 2.1rem; }
.landing-benefits .landing-icon svg { width: 1.17rem; height: 1.17rem; }
.landing-hero-actions { display: grid; justify-items: start; gap: .5rem; }
.landing-primary { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1rem; width: min(100%, 440px); min-height: 58px; padding: .6rem 1.45rem; background: #075448; border: 0; border-radius: 999px; box-shadow: 0 5px 14px #07544830; font-size: clamp(1.08rem, 2vw, 1.55rem); font-weight: 900; }
.landing-primary > span:first-child { text-align: center; }
.landing-primary > span:last-child { font-size: 1.45rem; }
.landing-hero-actions > a:last-child { display: inline-flex; align-items: center; min-height: 38px; padding: 0 .4rem; font-size: .86rem; font-weight: 800; }
.landing-proof { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: 1.1rem; padding-block: 1.65rem; }
.landing-proof > div:first-child { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: .6rem 1rem; color: var(--pine); font-weight: 900; }
.landing-proof strong { font-size: clamp(2.55rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.06em; color: var(--leaf); font-variant-numeric: tabular-nums; }
.landing-proof strong small { font-size: .37em; margin-left: .3em; letter-spacing: 0; }
.landing-prefectures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.landing-prefectures a { display: grid; place-items: center; min-height: 44px; padding: .2rem; background: var(--foam); border-radius: 999px; text-decoration: none; font-size: .85rem; font-weight: 800; }
.landing-prefectures a:hover, .landing-area-grid a:hover { background: #dcf3e6; }
.landing-section { padding-block: clamp(2.35rem, 6vw, 5.5rem); }
.landing-steps, .landing-questions { background: #f8faf5; }
.landing-search-guide { background: #eef7ef; }
.landing-situations, .landing-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.landing-situations article { display: flex; align-items: flex-start; gap: .7rem; border: 1px solid #dcebe1; border-radius: .9rem; padding: 1rem; }
.landing-situations h3, .landing-compare h3 { color: var(--pine); }
.landing-situations p { color: var(--sub); margin: 0; }
.landing-compare .tag { justify-self: start; }
.landing-compare .button { align-self: end; justify-self: start; }
.landing-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.landing-section-head { text-align: center; margin: 0 auto 1.55rem; max-width: 680px; }
.landing-section-head .landing-label { background: var(--foam); border-color: transparent; }
.landing-section-head h2, .landing-final h2 { margin: .7rem 0 .65rem; font-weight: 900; font-size: clamp(1.55rem, 3.2vw, 2.6rem); line-height: 1.32; }
.landing-section-head h2 strong { color: var(--leaf); text-decoration: underline #dce7a3 .2em; text-underline-offset: .13em; text-decoration-skip-ink: none; }
.landing-section-head p, .landing-final p { color: var(--sub); }
.landing-step-grid, .landing-area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.landing-step-grid article { display: grid; justify-items: center; align-content: start; text-align: center; gap: .55rem; padding: 1.15rem; border: 1px solid #e9efe8; border-radius: 1rem; background: white; box-shadow: 0 6px 20px #2446300d; }
.landing-step-grid h3, .landing-step-grid p { margin: 0; }
.landing-step-grid h3 { color: var(--pine); }
.landing-step-grid p { margin-top: .3rem; color: var(--sub); font-size: .88rem; }
.landing-step-number { font-size: .82rem; font-weight: 900; color: var(--leaf); border-bottom: 2px solid #83b694; }
.landing-section-action { display: grid; justify-items: center; margin-top: 1.25rem; }
.landing-area-grid a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-height: 72px; padding: .65rem .8rem; border: 1px solid #dcebe1; border-radius: .85rem; color: var(--pine); background: #f9fcf8; text-decoration: none; }
.landing-area-grid a:active, .landing-prefectures a:active { background: #d4ecdd; }
.landing-area-grid small { display: block; color: var(--sub); font-size: .76rem; }
.landing-faq { display: grid; gap: .6rem; max-width: 740px; margin-inline: auto; }
.landing-faq details { background: white; border: 1px solid #e0ece3; border-radius: .85rem; }
.landing-faq summary { display: flex; align-items: center; min-height: 56px; padding: .55rem .85rem; gap: .6rem; cursor: pointer; font-weight: 850; }
.landing-faq summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: var(--leaf); }
.landing-faq details[open] summary::after { content: "−"; }
.landing-faq summary span { color: var(--leaf); font-weight: 900; }
.landing-faq p { margin: 0; padding: 0 .9rem .8rem 2.35rem; color: var(--sub); font-size: .9rem; }
.landing-final { background: #eaf6ec; text-align: center; }
.landing-final .landing-primary { margin-inline: auto; }
.landing-recommendations { background: #f7faf7; border-top: 1px solid var(--line); }
.landing-hospitals { padding-block: clamp(1.4rem, 4vw, 2.4rem); }
.landing-hospitals .hospital-card-image { max-height: 170px; }
.landing-hospitals .hospital-card-media.is-placeholder .hospital-card-image { object-fit: contain; }
.landing-hospitals .actions .button { min-height: 44px; }
.landing-situations .landing-icon--restart { background: #e2efe9; color: #215b49; }
.landing-situations .landing-icon--house { background: #fbefdb; color: #785025; }
.landing-situations .landing-icon--work { background: #e7edf8; color: #3b567b; }
.landing-situations .landing-icon--search { background: #f3e8f1; color: #734e6e; }
.recommendation-heading { display: flex; align-items: flex-end; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.recommendation-heading h2 { margin: 0 0 .2rem; color: var(--pine); }
.recommendation-heading p { margin: 0; font-size: .9rem; }
.recommendation-area { display: flex; align-items: end; gap: .45rem; }
.recommendation-area label { min-width: 8rem; }
.facility-illustration { background: #f1f9f3; }
.facility-illustration p { display: flex; align-items: center; gap: .65rem; padding: .45rem 0; }

@media (max-width: 720px) {
  .recommendation-area { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; }
  .recommendation-area label { min-width: 0; }
  .landing-recommendations .actions .button { width: 100%; }
  .landing-hospitals .actions .button { width: 100%; }
  body[data-view="home"] { padding-bottom: 0; }
  body[data-view="home"] .mobile-nav { display: none; }
  body[data-view="home"] .review-banner .wrap { justify-content: space-between; column-gap: .35rem; padding-block: 0; font-size: .72rem; }
  body[data-view="home"] .review-banner .wrap strong { display: none; }
  .landing-nav { flex: 0 0 auto; }
  body[data-view="home"] .landing-nav { gap: .32rem; }
  .landing-nav .button { min-height: 44px; padding: .35rem .48rem; font-size: .68rem; white-space: nowrap; }
  .landing-hero { grid-template-columns: minmax(0, 1fr); width: auto; margin: .5rem max(10px, env(safe-area-inset-left)) 0 max(10px, env(safe-area-inset-right)); border-radius: 1.1rem; }
  .landing-picture { grid-row: 1; height: clamp(190px, 61vw, 310px); border-radius: 1rem 1rem 0 0; overflow: hidden; }
  .landing-picture img { object-position: 63% 45%; }
  .landing-photo-note { top: 17%; left: max(12px, env(safe-area-inset-left)); gap: .4rem; padding: .43rem .65rem .43rem .48rem; font-size: .65rem; border-radius: .7rem; }
  .landing-photo-note strong { font-size: .8rem; }
  .landing-photo-note .landing-icon { width: 1.85rem; height: 1.85rem; }
  .landing-photo-note .landing-icon svg { width: 1rem; height: 1rem; }
  .landing-copy { width: 100%; padding: 1.05rem 1rem .5rem; text-align: center; }
  .landing-copy .landing-label { min-height: 25px; font-size: .69rem; padding-inline: .6rem; }
  .landing-copy h1 { margin: .55rem 0 .4rem; font-size: clamp(1.95rem, 8.7vw, 3rem); }
  .landing-copy h1 strong { font-size: 1.12em; }
  .landing-intro { margin-bottom: .75rem; font-size: .88rem; }
  .landing-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .48rem; margin-bottom: .8rem; }
  .landing-benefits > div { display: grid; justify-items: center; gap: .18rem; min-height: 80px; padding: .5rem .35rem; font-size: .7rem; }
  .landing-benefits > div:first-child { grid-column: 1 / -1; display: flex; justify-content: center; gap: .35rem; min-height: 42px; border-radius: 999px; background: var(--foam); box-shadow: none; }
  .landing-benefits > div:first-child strong { display: inline; margin-left: .25rem; }
  .landing-benefits strong { font-size: .79rem; }
  .landing-benefits .landing-icon { width: 1.75rem; height: 1.75rem; }
  .landing-benefits .landing-icon svg { width: 1.1rem; height: 1.1rem; }
  .landing-hero-actions { justify-items: center; gap: .2rem; }
  .landing-primary { min-height: 54px; }
  .landing-hero-actions > a:last-child { min-height: 44px; }
  .landing-proof { grid-template-columns: minmax(0, 1fr); gap: .65rem; padding-block: .9rem 1.3rem; }
  .landing-proof > div:first-child { gap: .35rem .65rem; }
  .landing-prefectures a { font-size: .75rem; }
  .landing-step-grid, .landing-area-grid { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .landing-step-grid article { grid-template-columns: auto auto minmax(0, 1fr); align-items: center; justify-items: start; text-align: left; gap: .55rem; padding: .85rem .65rem; }
  .landing-step-grid .landing-icon { width: 2.3rem; height: 2.3rem; }
  .landing-area-grid a { min-height: 62px; }
  .landing-situations, .landing-compare { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .landing-situations article { padding: .75rem; }
  .landing-situations h3 { margin-bottom: .2rem; }
  .landing-situations p { font-size: .9rem; }
  .landing-compare .button { justify-self: stretch; }
  .landing-section-head { margin-bottom: 1rem; }
}
@media (max-width: 365px) {
  body[data-view="home"] .header-inner { gap: .25rem; margin-inline: 11px; }
  body[data-view="home"] .header-inner .brand { font-size: .9rem; }
  .landing-nav .button { font-size: .65rem; padding-inline: .37rem; }
}

.facility-page { background: #f4faf7; color: #153a34; }
.facility-hero { display: grid; align-items: center; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.25rem, 6vw, 5.5rem); }
.facility-hero h1 { font-size: clamp(2rem, 4.1vw, 3.7rem); line-height: 1.23; letter-spacing: -.035em; }
.facility-hero .stack > p:not(.facility-eyebrow) { max-width: 33rem; color: #45645f; }
.facility-hero img { display: block; width: 100%; height: auto; border-radius: 1.3rem; box-shadow: 0 16px 38px #134b3d1a; }
.facility-eyebrow { color: #006658; font-size: .82rem; font-weight: 700; }
.facility-section { padding-block: clamp(2rem, 5vw, 4.4rem); }
.facility-section h2, .facility-cta h2 { font-size: clamp(1.45rem, 2.4vw, 2.15rem); }
.facility-benefits { display: grid; grid-template-columns: .85fr 2.15fr; align-items: start; gap: 1.25rem; }
.facility-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.15rem 0 0; padding: 0; list-style: none; }
.facility-benefits .facility-grid { margin-top: 0; }
.facility-card { border: 1px solid #cfe4da; border-radius: 1.1rem; padding: clamp(1rem, 2vw, 1.45rem); background: #fff; box-shadow: 0 8px 22px #2858430c; }
.facility-card p { margin: 0; }
.facility-card p:not(.facility-eyebrow) { color: #45645f; font-size: .93rem; }
.facility-card h3 { margin: 0; font-size: 1.06rem; }
.facility-band { background: #e8f5ee; }
.facility-fees { text-align: center; }
.facility-fees .facility-card { justify-items: center; }
.facility-fees strong { font-size: clamp(1.65rem, 3vw, 2.35rem); color: #006658; }
.facility-fee-note { margin-top: 1rem; color: #45645f; }
.facility-contact-section { background: #fff; }
#facility-contact { scroll-margin-top: 5.5rem; }
.facility-contact-section h2, .facility-contact-section .facility-eyebrow { text-align: center; }
.facility-contact-form { margin: 0; }
.facility-contact-form fieldset { min-width: 0; padding: 0; border: 0; }
.facility-contact-name { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.facility-contact-form :is(input, select, textarea):disabled { color: #536962; background: #f5f8f6; }
.facility-cta { background: #12483c; color: white; padding-block: 2.7rem; text-align: center; }
.facility-cta .actions { justify-content: center; }
.facility-cta .button:not(:disabled) { color: #12483c; background: #fff; }
.legal-document { padding-block: 1rem 2.5rem; }
.legal-document section { padding-top: .9rem; border-top: 1px solid #d5e7df; }
.legal-document section h2 { font-size: 1.15rem; }
.policy-consent { align-items: flex-start; }
.policy-consent a { text-decoration: underline; }
.results-page .match-register { margin-block: .85rem; }
.calendar-part-label small { color: #526a64; margin-inline-start: .28rem; }
@media (max-width: 760px) {
  .facility-hero, .facility-benefits, .facility-grid { grid-template-columns: minmax(0, 1fr); }
  .facility-hero img { max-height: 315px; object-fit: cover; }
  .facility-card { gap: .5rem; }
  .facility-hero .actions { flex-wrap: wrap; }
}
.facility-fee-options { display: grid; gap: .42rem; width: 100%; }
.facility-fee-options > div { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; background: #f4faf7; border: 1px solid #dcece4; border-radius: .55rem; padding: .35rem .55rem; }
.facility-fee-options strong { font-size: clamp(1rem, 2vw, 1.3rem); white-space: nowrap; }
