@font-face {
  font-family: "Pretendard HJIT";
  src: url("./assets/fonts/Pretendard-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Pretendard HJIT";
  src: url("./assets/fonts/Pretendard-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Pretendard HJIT";
  src: url("./assets/fonts/Pretendard-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Pretendard HJIT";
  src: url("./assets/fonts/Pretendard-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Paperlogy HJIT";
  src: url("./assets/fonts/Paperlogy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Paperlogy HJIT";
  src: url("./assets/fonts/Paperlogy-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: light;
  --title-font: "Paperlogy HJIT", "Pretendard HJIT", "Malgun Gothic", sans-serif;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --line: #dbe5ef;
  --line-strong: #9db3cc;
  --text: #1f2935;
  --text-muted: #627184;
  --brand-dark: #051469;
  --brand-blue: #1e64dc;
  --brand-cyan: #00cdff;
  --accent: #051469;
  --accent-strong: #1e64dc;
  --accent-soft: #eef5ff;
  --danger: #a33b32;
  --danger-soft: #f8e9e7;
  --warning: #8b651d;
  --warning-soft: #f7edd6;
  --shadow: 0 10px 24px rgba(23, 38, 65, 0.05);
  --radius: 8px;
  font-family:
    "Pretendard HJIT",
    "Pretendard",
    "Segoe UI",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 24px;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-title {
  display: inline-grid;
  gap: 4px;
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  padding-top: 10px;
}

.brand-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.brand-kicker .eyebrow {
  margin: 0;
}

.brand-logo {
  width: 326px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.eyebrow,
.section-label {
  margin: 0 0 5px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.section-label:empty {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--title-font);
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--brand-dark);
  word-break: keep-all;
}

.health-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
}

.health-title-year {
  display: inline;
  color: #2b5fa8;
  font-family: var(--title-font);
  font-size: 33px;
  font-weight: 800;
  line-height: 1.14;
  white-space: nowrap;
}

.health-title-main {
  display: inline;
  color: var(--brand-dark);
  font-family: var(--title-font);
  font-size: 33px;
  font-weight: 800;
  line-height: 1.14;
  word-break: keep-all;
  white-space: nowrap;
}

.health-title-sub {
  margin: 0;
  color: var(--brand-dark);
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

h2 {
  font-family: var(--title-font);
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.32;
  font-weight: 700;
  word-break: keep-all;
}

.period {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.period strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

@media (min-width: 861px) and (max-width: 1040px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand {
    width: 100%;
  }

  .period {
    align-self: flex-end;
  }
}

.step-rail {
  position: sticky;
  top: 18px;
  padding: 14px 0;
}

.step-rail::before {
  content: "";
  position: absolute;
  top: 45px;
  bottom: 45px;
  left: 14px;
  border-left: 1px dashed var(--line-strong);
}

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  color: var(--text-muted);
  font-size: 14px;
}

.step-item.is-hidden {
  display: none;
}

.step-item span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}

.step-item p {
  font-family: var(--title-font);
  font-weight: 700;
  margin: 0;
}

.step-item.is-active,
.step-item.is-complete {
  color: var(--text);
}

.step-item.is-active span,
.step-item.is-complete span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.screen {
  display: none;
  min-height: 520px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.screen.is-active {
  display: block;
}

.screen-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.survey-head {
  align-items: flex-start;
  margin-bottom: 14px;
}

.checkup-type-open-button {
  align-self: center;
  min-height: 42px;
  padding: 0 14px;
  border-color: #9fc5f8;
  background: #eef7ff;
  color: #0b3f91;
  font-size: 15px;
  font-weight: 850;
}

.checkup-type-open-button:hover {
  border-color: #78aef2;
  background: #e0f0ff;
}

.login-form {
  width: min(560px, 100%);
  margin-top: 22px;
}

label,
legend {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.login-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 150px auto;
  align-items: end;
  gap: 12px;
}

.field {
  display: grid;
  gap: 14px;
}

.field-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.inline-field-message {
  min-height: 18px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

.inline-field-message:empty {
  display: none;
}

.inline-field-message.is-error {
  color: var(--danger);
}

input[type="text"] {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  outline: none;
}

input[type="text"]:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 205, 255, 0.16);
}

input[type="text"].is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.login-grid button,
.primary-button,
.secondary-button {
  font-family: var(--title-font);
  min-height: 54px;
  padding: 0 17px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.login-grid button,
.primary-button {
  background: var(--accent);
  color: #fff;
}

.login-grid button:hover,
.primary-button:hover {
  background: var(--accent-strong);
}

.primary-button:disabled {
  cursor: not-allowed;
  background: #b8c2cf;
}

.primary-button.is-next-target {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
}

.primary-button.is-next-target span {
  font-size: 0.8em;
  font-weight: 500;
}

.primary-button.is-next-target strong {
  font-size: 1em;
  font-weight: 800;
}

.secondary-button.is-hidden {
  display: none;
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.secondary-button.checkup-type-open-button {
  border-color: #9fc5f8;
  background: #eef7ff;
  color: #0b3f91;
}

.secondary-button.checkup-type-open-button:hover {
  border-color: #78aef2;
  background: #e0f0ff;
}

.add-inline-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
  border-style: dashed;
  border-color: #9fb3cc;
  background: #fcfdff;
  color: var(--brand-dark);
  text-align: left;
}

.add-inline-button .add-symbol {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

.add-inline-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.add-inline-text strong,
.add-inline-text small {
  display: block;
  line-height: 1.25;
}

.add-inline-text strong {
  font-size: 14px;
  font-weight: 800;
}

.add-inline-text small {
  font-size: 12px;
  font-weight: 800;
}

.add-inline-text .family-cost-note,
.add-family-card .family-cost-note,
.target-card .family-cost-note {
  color: #d46a6a;
}

#inlineFamilyButton {
  display: none !important;
}

.text-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
}

.text-button:hover {
  border-color: var(--line);
  background: var(--surface-muted);
}

.gender-fieldset {
  display: grid;
  gap: 0;
}

.gender-fieldset legend {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.gender-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gender-options label {
  display: block;
  cursor: pointer;
}

.gender-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gender-options span {
  display: grid;
  place-items: center;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-family: var(--title-font);
  font-weight: 700;
}

.gender-options input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--brand-dark);
  box-shadow: 0 0 0 2px rgba(30, 100, 220, 0.1);
}

.help-text {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.help-text strong {
  color: var(--text);
  font-weight: 800;
}

.error-text {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.suggestions button {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 13px;
}

.survey-title-block {
  min-width: 0;
}

.survey-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.chip.is-on {
  border-color: #9fbdf0;
  background: var(--accent-soft);
  color: var(--brand-dark);
}

.target-panel {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px 38px;
}

.target-panel.is-hidden,
.step-final-actions.is-hidden {
  display: none;
}

.target-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  overflow: hidden;
}

.target-card:hover {
  border-color: var(--line-strong);
}

.target-card.is-active {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(30, 100, 220, 0.12);
}

.target-select-button {
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 13px 14px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.target-card small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.target-card strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.target-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.target-name-line strong {
  display: inline;
  margin-top: 0;
}

.target-mini-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 0;
}

.target-mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid #9fbdf0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.target-status-text {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 12px;
}

.target-remove-button {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
}

.target-remove-button:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.step-final-actions {
  display: grid;
  gap: 8px;
  margin: 2px 0 18px 38px;
}

.side-submit-button {
  min-height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
}

.side-submit-button:disabled {
  cursor: not-allowed;
  background: #b8c2cf;
}

.side-help-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.45;
  word-break: keep-all;
}

.side-help-text:empty {
  display: none;
}

.notice-box {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--text);
}

.target-overview-box {
  display: grid;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.notice-overview-title {
  margin: 0;
  font-family: var(--title-font);
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.notice-summary-list {
  display: grid;
  gap: 12px;
}

.notice-summary-item {
  display: grid;
  gap: 11px;
  padding: 16px 17px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  border-radius: 2px;
  background: #fff;
}

.notice-summary-item.is-no-target {
  background: #fbfcfe;
}

.notice-summary-item.is-kind-employee {
  border-color: rgba(22, 101, 52, 0.18);
}

.notice-summary-item.is-kind-spouse {
  border-color: rgba(157, 23, 77, 0.2);
}

.notice-summary-item.has-comprehensive {
  background: #fbfdff;
  border-color: rgba(30, 100, 220, 0.2);
}

.notice-summary-item.has-executive {
  background: #fdfcff;
  border-color: rgba(91, 58, 157, 0.22);
}

.exception-entry-box {
  display: grid;
  gap: 16px;
}

.exception-note {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border: 1px solid rgba(30, 100, 220, 0.2);
  border-radius: 2px;
  background: #f4f8ff;
}

.exception-note strong {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.exception-note span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.exception-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px);
  gap: 16px;
  width: min(720px, 100%);
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 2px;
  background: #fff;
}

.exception-note-field,
.exception-form .error-text,
.exception-actions {
  grid-column: 1 / -1;
}

.exception-actions {
  display: flex;
  justify-content: flex-end;
}

.exception-actions .primary-button {
  min-height: 46px;
}

.notice-person-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.notice-person-name {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--title-font);
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

.notice-person-name .name-honorific {
  margin-left: 0.28em;
  font-family: var(--font);
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0;
}

.notice-person-badges,
.notice-target-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.notice-person-badges span,
.notice-target-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  border: 1px solid #b7cdf4;
  border-radius: 999px;
  background: #f4f8ff;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.notice-person-badges span.is-role-default {
  border-color: #d1d9e6;
  background: #f7f9fc;
  color: #475569;
}

.notice-person-badges span.is-role-employee {
  border-color: #a7d9bd;
  background: #effaf3;
  color: #166534;
}

.notice-person-badges span.is-role-spouse {
  border-color: #f2bdd0;
  background: #fff1f6;
  color: #9d174d;
}

.notice-person-badges span.is-role-family {
  border-color: #d8c4f5;
  background: #f7f1ff;
  color: #6d28d9;
}

.notice-person-badges span.is-exam {
  border-color: #b7cdf4;
  background: #f4f8ff;
  color: var(--brand-dark);
}

.notice-person-badges span.is-leave {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.notice-person-lines {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-person-lines li {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
  word-break: keep-all;
}

.notice-person-lines li.is-primary {
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 900;
}

.notice-person-lines li.is-legal-required {
  margin-top: 1px;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.notice-legal-emphasis {
  display: inline;
  color: #b91c1c;
  font-size: inherit;
  font-weight: 950;
  line-height: inherit;
}

.notice-common-note {
  margin: 0;
  padding: 12px 13px;
  border-left: 3px solid var(--brand-blue);
  border-radius: 6px;
  background: #eef5ff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
}

.notice-common-note strong {
  display: block;
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.notice-common-note span {
  display: block;
}

.visit-schedule {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  color: #1f2935;
}

.visit-schedule b {
  margin-top: 5px;
  color: #111827;
  font-weight: 900;
}

.visit-schedule b:first-child {
  margin-top: 0;
}

.visit-schedule span {
  padding-left: 10px;
  color: #334155;
  font-weight: 700;
}

.notice-common-note em {
  display: block;
  margin-top: 6px;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 900;
}

.notice-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.notice-detail-card {
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 12px;
  padding: 16px 17px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

.notice-detail-card.is-wide {
  grid-column: 1 / -1;
}

.notice-detail-card.is-primary {
  border-color: rgba(30, 100, 220, 0.24);
  background: #f4f8ff;
}

.notice-detail-card.is-schedule {
  border-color: rgba(0, 143, 156, 0.28);
  background: #f5fcfd;
}

.notice-detail-card.is-warning {
  border-color: rgba(180, 83, 9, 0.24);
  background: #fffaf0;
}

.notice-detail-card.is-danger {
  border-color: rgba(190, 60, 60, 0.22);
  background: #fff7f5;
}

.notice-detail-card.is-muted {
  border-color: rgba(100, 116, 139, 0.18);
  background: #f8fafc;
}

.notice-detail-card.is-executive {
  border-color: rgba(91, 58, 157, 0.22);
  background: #f8f6ff;
}

.notice-detail-card.is-info {
  border-color: rgba(30, 100, 220, 0.18);
  background: #fbfdff;
}

.notice-detail-card b {
  display: block;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  font-family: var(--title-font);
  color: #111827;
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.35;
}

.notice-detail-card span {
  color: #475569;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.75;
  word-break: keep-all;
  white-space: pre-line;
}

.notice-detail-body {
  display: grid;
  gap: 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.75;
  word-break: keep-all;
}

.notice-detail-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 19px;
}

.notice-detail-list.is-ordered {
  padding-left: 21px;
}

.notice-detail-list li {
  padding-left: 2px;
}

.notice-detail-card.is-schedule .notice-detail-list li {
  font-size: 12.5px;
  white-space: nowrap;
}

.notice-detail-list li::marker {
  color: #c2410c;
  font-size: 0.9em;
  font-weight: 900;
}

.notice-detail-note {
  display: block;
  margin: 2px 0 0;
  padding-left: 19px;
  text-indent: -10px;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.75;
  word-break: keep-all;
}

.notice-detail-list.is-ordered + .notice-detail-note {
  padding-left: 21px;
}

.notice-detail-card .guidance-highlight {
  font-weight: 900;
}

.notice-detail-card .guidance-highlight.is-critical {
  color: #991b1b;
  font-weight: 950;
}

.notice-detail-card.is-primary b,
.notice-detail-card.is-primary .guidance-highlight {
  color: var(--brand-blue);
}

.notice-detail-card.is-primary .notice-detail-list li::marker {
  color: var(--brand-blue);
}

.notice-detail-card.is-primary b {
  border-bottom-color: rgba(30, 100, 220, 0.18);
}

.notice-detail-card.is-schedule .guidance-highlight {
  color: #008f9c;
}

.notice-detail-card.is-schedule .notice-detail-list li::marker {
  color: #008f9c;
}

.notice-detail-card.is-schedule b {
  border-bottom-color: rgba(0, 143, 156, 0.22);
  color: #006c78;
}

.notice-detail-card.is-warning b,
.notice-detail-card.is-warning .guidance-highlight {
  color: #9a5a00;
}

.notice-detail-card.is-warning .notice-detail-list li::marker {
  color: #c16a00;
}

.notice-detail-card.is-warning b {
  border-bottom-color: rgba(180, 83, 9, 0.18);
}

.notice-detail-card.is-danger b,
.notice-detail-card.is-danger .guidance-highlight {
  color: #b42318;
}

.notice-detail-card.is-danger .notice-detail-list li::marker {
  color: #b42318;
}

.notice-detail-card.is-danger b {
  border-bottom-color: rgba(190, 60, 60, 0.18);
}

.notice-detail-card.is-executive b,
.notice-detail-card.is-executive .guidance-highlight {
  color: #4c2f91;
}

.notice-detail-card.is-executive .notice-detail-list li::marker {
  color: #4c2f91;
}

.notice-detail-card.is-executive b {
  border-bottom-color: rgba(91, 58, 157, 0.18);
}

.notice-detail-card.is-muted b {
  color: #334155;
}

.notice-detail-card.is-muted .notice-detail-list li::marker {
  color: #64748b;
}

.checkup-type-card {
  gap: 14px;
}

.checkup-type-card > b {
  color: #0b1569;
  border-bottom-color: rgba(30, 100, 220, 0.18);
}

.checkup-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.checkup-type-grid article {
  --type-accent: #1d4ed8;
  --type-bg: #f8fafc;
  --type-border: rgba(148, 163, 184, 0.26);
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--type-border);
  border-radius: 2px;
  background: var(--type-bg);
}

.checkup-type-grid article.is-general {
  --type-accent: #111827;
  --type-bg: #f8fafc;
  --type-border: rgba(148, 163, 184, 0.28);
}

.checkup-type-grid article.is-special {
  --type-accent: #991b1b;
  --type-bg: #f8fafc;
  --type-border: rgba(148, 163, 184, 0.28);
}

.checkup-type-grid article.is-comprehensive {
  --type-accent: #1d4ed8;
  --type-bg: #f8fafc;
  --type-border: rgba(148, 163, 184, 0.28);
}

.checkup-type-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.checkup-type-head strong {
  font-family: var(--title-font);
  color: var(--type-accent);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.35;
}

.checkup-type-card .type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.checkup-type-card .type-badge.is-legal {
  border-color: rgba(190, 18, 60, 0.22);
  background: #fff1f2;
  color: #be123c;
}

.checkup-type-card .type-badge.is-company {
  border-color: rgba(21, 128, 61, 0.24);
  background: #f0fdf4;
  color: #15803d;
}

.checkup-type-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 17px;
  color: #475569;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.72;
  word-break: keep-all;
}

.checkup-type-card li::marker {
  color: var(--type-accent);
  font-size: 0.85em;
}

.checkup-type-card .checkup-type-emphasis {
  font-family: "Pretendard HJIT", "Pretendard", "Malgun Gothic", sans-serif;
  color: var(--type-accent);
  font-weight: 950;
}

.checkup-type-period {
  display: list-item;
}

.checkup-type-period > span {
  display: block;
  margin-bottom: 4px;
}

.checkup-type-number-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-left: 20px;
}

.checkup-type-number-list li {
  padding-left: 2px;
}

.checkup-type-card .checkup-type-note,
.checkup-type-card .checkup-type-subline {
  color: #334155;
  font-weight: 750;
}

.checkup-type-card .checkup-type-note {
  list-style: none;
  margin-left: -17px;
  padding-left: 17px;
}

.checkup-type-subgroup {
  --subgroup-accent: var(--type-accent);
  display: grid;
  gap: 3px;
  margin-top: 7px;
  padding: 8px 9px;
  border: 1px solid var(--type-border);
  background: rgba(255, 255, 255, 0.56);
}

.checkup-type-subgroup.is-employee {
  --subgroup-accent: #1d4ed8;
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.checkup-type-subgroup.is-spouse {
  --subgroup-accent: #1d4ed8;
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.checkup-type-subgroup + .checkup-type-subgroup {
  margin-top: 7px;
}

.checkup-type-subgroup span {
  font-family: var(--title-font);
  color: var(--subgroup-accent);
  font-size: 12.5px;
  font-weight: 950;
  line-height: 1.5;
}

.checkup-type-card .checkup-type-dash-list {
  list-style: none;
  gap: 4px;
  margin: 0;
  padding-left: 0;
}

.checkup-type-card .checkup-type-dash-list li {
  position: relative;
  padding-left: 9px;
}

.checkup-type-card .checkup-type-dash-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--subgroup-accent);
  font-weight: 950;
}

.checkup-type-subgroup em {
  color: #475569;
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.6;
}

.checkup-type-modal-panel {
  width: min(980px, calc(100vw - 28px));
}

.checkup-type-modal-panel .modal-head h2 {
  font-family: var(--title-font);
  font-weight: 950;
}

.checkup-type-modal-body {
  max-height: min(68vh, 640px);
  overflow-y: auto;
  padding-right: 4px;
}

.checkup-type-modal-body .checkup-type-card {
  display: grid;
}

.notice-start-actions {
  display: flex;
  justify-content: flex-end;
}

.notice-start-button {
  min-width: 112px;
  min-height: 42px;
}

.notice-box strong {
  display: block;
  color: #006d77;
  font-size: 16px;
  line-height: 1.45;
}

.guidance-title-name {
  color: #111827;
  font-size: 19px;
  font-weight: 900;
}

.notice-box p {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.notice-box .notice-person-name {
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.notice-box .notice-summary-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.notice-box .notice-common-note {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.notice-box .notice-common-note strong {
  margin: 0 0 4px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.notice-box .notice-common-note em {
  color: var(--brand-dark);
}

.notice-box .visit-schedule b {
  color: #111827;
}

.guidance-highlight {
  color: var(--brand-dark);
  font-weight: 900;
}

.checkup-guidance-box {
  display: grid;
  gap: 10px;
  border-color: #c9d8ec;
  background: #f8fbff;
}

.checkup-guidance-box strong + strong {
  margin-top: 6px;
  color: var(--brand-dark);
}

.guidance-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.guidance-card {
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid #d6e2f0;
  border-radius: 8px;
  background: #fff;
}

.guidance-card b {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.guidance-card span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
  white-space: pre-line;
}

.notice-target-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.notice-target-card {
  display: grid;
  gap: 7px;
  width: 100%;
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid #b8c8dc;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.notice-target-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(30, 100, 220, 0.1);
}

.notice-target-card small {
  color: #006d77;
  font-size: 13px;
  font-weight: 800;
}

.notice-target-card strong {
  font-family: var(--title-font);
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

.notice-target-card span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.notice-target-card .notice-target-meta span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}

.notice-target-action {
  justify-self: end;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--title-font);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.add-family-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  border-style: dashed;
  color: var(--brand-blue);
  font-weight: 800;
  border-color: #b8c8dc;
  background: #fcfdff;
}

.add-family-card .add-symbol {
  grid-row: 1 / span 3;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.target-card.add-family-card strong,
.target-card.add-family-card > span:not(.add-symbol) {
  grid-column: 2;
}

.target-card.add-family-card strong {
  margin-top: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.target-card.add-family-card > span:not(.add-symbol) {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.notice-box.is-hidden,
#surveyForm.is-hidden,
.spouse-fieldset.is-hidden,
.type-fieldset.is-hidden,
.date-fieldset.is-hidden,
.form-actions.is-hidden {
  display: none;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.spouse-fieldset,
.type-fieldset {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.date-fieldset {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.date-fieldset legend,
.spouse-fieldset legend,
.type-fieldset legend {
  font-family: var(--title-font);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 20px;
}

.section-guide {
  color: #1f67b8;
  font-family: var(--title-font);
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
}

.section-guide.is-hidden {
  display: none;
}

.operation-period-note {
  color: #64748b;
  font-family: var(--font);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.spouse-contact-box {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.spouse-contact-box.is-hidden {
  display: none;
}

.consent-check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 22px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.consent-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.family-consent-check {
  align-items: flex-start;
}

.date-fieldset:not(.is-hidden),
.form-actions:not(.is-hidden),
.exam-notice:not(.is-hidden),
.reveal-block {
  animation: revealBlock 180ms ease-out both;
}

@keyframes revealBlock {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.date-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.date-choice-button {
  display: grid;
  gap: 8px;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.date-choice-button span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.date-choice-button strong {
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.date-choice-button.is-active,
.date-choice-button.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(30, 100, 220, 0.1);
}

.date-choice-button.is-active {
  background: var(--accent-soft);
}

.same-date-button {
  justify-self: start;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid #b8c9e6;
  border-radius: 8px;
  background: #f7faff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.same-date-button:hover:not(:disabled) {
  border-color: var(--accent);
  background: #eef5ff;
}

.same-date-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
}

.same-date-button.is-hidden {
  display: none;
}

.calendar {
  width: 100%;
  padding: 16px 16px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.calendar-head strong {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
}

.calendar-nav {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.calendar-nav:disabled {
  cursor: not-allowed;
  color: #b8c2cf;
  background: var(--surface-muted);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.calendar-day {
  display: grid;
  place-items: center;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.calendar-day:not(:disabled):hover {
  border-color: var(--brand-blue);
  background: var(--accent-soft);
}

.calendar-day.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.calendar-day.is-saturday:not(.is-selected) {
  color: #2563eb;
}

.calendar-day.is-sunday:not(.is-selected),
.calendar-day.is-holiday:not(.is-selected) {
  color: #dc2626;
}

.calendar-day:disabled {
  cursor: not-allowed;
  background: #f4f7fa;
  opacity: 0.62;
}

.calendar-day.is-saturday:disabled {
  color: #7aa2e8;
}

.calendar-day.is-sunday:disabled,
.calendar-day.is-holiday:disabled {
  color: #e18686;
}

.calendar-day.is-empty {
  height: 38px;
  background: transparent;
}

.date-status {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.calendar-modal-panel {
  width: min(460px, 100%);
}

.privacy-modal-panel {
  width: min(560px, 100%);
  max-height: min(700px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

.privacy-consent-body {
  max-height: 220px;
  overflow-y: auto;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.48);
  border-radius: 6px;
  background: #f8fbff;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.75;
}

.privacy-consent-body h3 {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 900;
}

.privacy-consent-body dl {
  margin: 0;
}

.privacy-consent-body dt {
  margin-top: 16px;
  color: var(--text);
  font-weight: 900;
}

.privacy-consent-body dd {
  margin: 5px 0 0;
  color: var(--text-muted);
}

.privacy-consent-body p {
  margin: 14px 0 0;
}

.privacy-scroll-hint {
  margin: 12px 0 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.privacy-scroll-hint.is-complete {
  color: var(--text-muted);
}

.privacy-consent-actions {
  margin-top: 16px;
}

.date-modal-note {
  min-height: 20px;
  margin: 12px 0 0;
  color: #6b4a13;
  font-size: 13px;
  font-weight: 800;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-muted);
}

.segmented label {
  display: block;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: grid;
  place-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.segmented input:checked + span {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 5px rgba(31, 42, 33, 0.1);
}

.exam-notice {
  margin: 2px 0 0;
  padding: 11px 13px;
  border: 1px solid #d8b76b;
  border-radius: 8px;
  background: #fff8e6;
  color: #6b4a13;
  font-size: 13px;
  font-weight: 800;
}

.exam-notice span {
  color: #b45309;
  font-weight: 950;
}

.exam-notice.is-hidden {
  display: none;
}

.base-exam-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  margin-bottom: 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.base-exam-section.is-hidden {
  display: none;
}

.included-precision-section {
  margin-top: -14px;
}

.base-exam-section h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 800;
}

.base-exam-section p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.base-exam-open-button {
  flex: 0 0 auto;
  min-width: 128px;
}

.choice-area {
  display: grid;
  gap: 28px;
}

.choice-group {
  display: grid;
  gap: 12px;
}

.group-title {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.group-title h3 {
  font-family: var(--title-font);
  font-weight: 700;
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.group-title span {
  min-width: 48px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.group-title span.is-complete {
  border-color: #9fbdf0;
  background: var(--accent-soft);
  color: var(--brand-dark);
}

.choice-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.choice-row {
  display: grid;
  grid-template-columns: 28px minmax(150px, 230px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.choice-row:first-child {
  border-top: 0;
}

.choice-row:hover {
  background: #fafbf9;
}

.choice-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-blue);
}

.choice-row.is-selected {
  background: var(--accent-soft);
}

.choice-row.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.choice-row.is-gender-locked {
  background: #f8fafc;
  opacity: 0.62;
}

.choice-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

.choice-badge {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 22px;
  padding: 0 8px;
  border: 1px solid #c8d7ec;
  border-radius: 999px;
  background: #f5f8fc;
  color: #4d617b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.choice-badge.is-female {
  border-color: #f0bfd0;
  background: #fff5f8;
  color: #b21d54;
}

.choice-badge.is-male {
  border-color: #b8d3f1;
  background: #f1f7ff;
  color: #175a9c;
}

.choice-desc {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.choice-desc-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 17px;
}

.choice-desc-list li::marker {
  color: var(--brand-blue);
}

.choice-recommend-item {
  list-style: none;
  margin-left: -17px;
}

.choice-recommend-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 8px;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  background: #f5f3ff;
  color: #5b21b6;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.2;
}

.choice-recommend-pill.is-recommend-male {
  border-color: #b8d3f1;
  background: #f1f7ff;
  color: #245f9f;
}

.choice-recommend-pill.is-recommend-female {
  border-color: #f0bfd0;
  background: #fff5f8;
  color: #b21d54;
}

.choice-recommend-pill.is-recommend-all {
  border-color: #c7d2fe;
  background: #f5f3ff;
  color: #5b21b6;
}

.choice-lock-note {
  display: block;
  margin-top: 4px;
  color: #8b4a61;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.additional-section {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.additional-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.additional-head h3 {
  margin: 0;
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 800;
}

.personal-cost-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff1f2;
  color: #be123c;
  font-size: 0.78em;
  font-weight: 900;
  vertical-align: 0.08em;
}

.additional-head p,
.modal-subtext {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.additional-head .additional-warning {
  color: #8b4a13;
  font-weight: 800;
}

.additional-open-button {
  min-width: 94px;
}

.additional-selected-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.additional-selected-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

.additional-selected-row:first-child {
  border-top: 0;
}

.additional-selected-row span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.additional-selected-row strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
}

.additional-selected-row em {
  color: var(--brand-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.additional-selected-row button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.additional-total {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

.form-actions .error-text,
.form-actions .action-hint {
  flex: 1;
  margin: 0;
}

.action-hint {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.action-hint:empty {
  display: none;
}

.summary-box {
  display: grid;
  gap: 14px;
  padding-top: 22px;
}

.summary-line {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.summary-line dt {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-line dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.done-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px 18px;
  padding: 22px 2px 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
  word-break: keep-all;
  line-break: strict;
}

.footer-note strong {
  color: var(--text);
  font-weight: 800;
}

.footer-privacy {
  flex: 1 1 720px;
  max-width: 980px;
  min-width: min(720px, 100%);
  overflow-wrap: normal;
  word-break: keep-all;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.32);
}

.modal-backdrop.is-hidden {
  display: none;
}

.modal-panel {
  width: min(480px, 100%);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(23, 38, 65, 0.18);
}

.modal-panel.checkup-type-modal-panel {
  width: min(1040px, calc(100vw - 48px));
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.modal-panel.checkup-type-modal-panel .checkup-type-grid {
  grid-template-columns: repeat(3, minmax(250px, 1fr));
}

.additional-modal-panel {
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.additional-modal-panel .modal-actions {
  margin-top: 14px;
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-head h2 {
  margin: 0;
  font-size: 21px;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
}

.family-form {
  display: grid;
  gap: 16px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.additional-filter {
  margin-bottom: 14px;
}

.additional-filter label {
  display: grid;
  gap: 8px;
}

.additional-filter span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.additional-filter input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 15px;
}

.additional-test-list {
  display: block;
  overflow: auto;
  max-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  scrollbar-gutter: stable;
}

.additional-test-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 13px;
  align-items: flex-start;
  width: 100%;
  min-height: 0;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.additional-test-row:first-child {
  border-top: 0;
}

.additional-test-row:hover {
  background: #fafbf9;
}

.additional-test-row.is-selected {
  background: var(--accent-soft);
}

.additional-test-row.is-disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.additional-test-row input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--brand-blue);
}

.additional-test-main {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.additional-title-line {
  display: flex;
  align-items: baseline;
  gap: 7px 9px;
  min-width: 0;
  flex-wrap: wrap;
}

.additional-category {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
}

.additional-test-main strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.additional-desc-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.55;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.additional-desc-list li {
  position: relative;
  padding-left: 10px;
}

.additional-desc-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 900;
}

.additional-lock-note {
  margin: 0;
  color: #8b4a61;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.additional-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.additional-badges b {
  padding: 3px 7px;
  border: 1px solid #d8e4f5;
  border-radius: 999px;
  background: #f4f8ff;
  color: #315985;
  font-size: 11px;
  font-weight: 800;
}

.additional-badges b.is-female {
  border-color: #f0bfd0;
  background: #fff5f8;
  color: #b21d54;
}

.additional-badges b.is-male {
  border-color: #b8d3f1;
  background: #f1f7ff;
  color: #245f9f;
}

.additional-badges b.is-cost-inquiry {
  border-color: #cad7e5;
  background: #f6f8fb;
  color: #3f5268;
}

.additional-badges b.is-afternoon {
  border-color: #c7d7ff;
  background: #f2f6ff;
  color: #264f9c;
}

.additional-badges b.is-saturday-blocked {
  border-color: #d5e0eb;
  background: #f7fafc;
  color: #4b647e;
}

.additional-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  min-width: 0;
}

.additional-price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.additional-price b {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.additional-empty {
  margin: 0;
  padding: 26px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.base-exam-modal-panel {
  width: min(820px, calc(100vw - 28px));
}

.base-exam-list {
  display: grid;
  gap: 14px;
  max-height: min(68vh, 640px);
  overflow: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.base-exam-category {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.base-exam-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.base-exam-category-head h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 800;
}

.base-exam-category-head span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.base-exam-rows {
  display: grid;
}

.base-exam-row {
  display: grid;
  gap: 7px;
  padding: 13px 15px 14px;
  border-top: 1px solid var(--line);
}

.base-exam-row:first-child {
  border-top: 0;
}

.base-exam-row strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.base-exam-row ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.55;
  word-break: keep-all;
}

.base-exam-row li::marker {
  color: var(--brand-blue);
}

@media (max-width: 860px) {
  .app-shell {
    width: min(100% - 22px, 640px);
    padding-top: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 24px;
  }

  .brand-logo {
    width: min(318px, 100%);
    height: 60px;
  }

  .workspace {
    display: block;
  }

  .checkup-type-grid {
    grid-template-columns: 1fr;
  }

  .modal-panel.checkup-type-modal-panel .checkup-type-grid {
    grid-template-columns: 1fr;
  }

  .step-rail {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 26px;
    padding-bottom: 18px;
    padding-top: 0;
  }

  [data-step-indicator="login"] {
    order: 1;
  }

  [data-step-indicator="notice"] {
    order: 2;
  }

  [data-step-indicator="survey"] {
    order: 3;
  }

  [data-step-indicator="done"] {
    order: 6;
  }

  .step-targets {
    order: 4;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin: 0 0 0 38px;
  }

  .step-final-actions {
    order: 5;
    margin: 0 0 10px 38px;
  }

  .step-rail::before {
    top: 20px;
    bottom: 20px;
    left: 26px;
    right: auto;
    border-top: 0;
    border-left: 1px dashed var(--line-strong);
  }

  .step-item {
    justify-content: flex-start;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .step-item span {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .step-item p {
    font-size: 13px;
    font-weight: 700;
  }

  .screen {
    min-height: auto;
    padding: 28px;
  }

  .screen-head,
  .type-fieldset {
    align-items: stretch;
    flex-direction: column;
  }

  .checkup-type-open-button {
    align-self: stretch;
    width: 100%;
  }

  .base-exam-section {
    align-items: stretch;
    flex-direction: column;
  }

  .base-exam-open-button {
    width: 100%;
  }

  .choice-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .choice-desc {
    grid-column: 2;
  }

  .guidance-card-list {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .done-actions,
  .footer-note {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .footer-privacy {
    flex: 0 1 auto;
    max-width: none;
    min-width: 0;
  }

  .form-actions .error-text,
  .form-actions .action-hint {
    width: 100%;
  }

  .date-choice-button {
    min-height: 70px;
    padding: 12px 13px;
  }

  .date-choice-button strong {
    font-size: 14px;
  }

  .date-fieldset legend,
  .spouse-fieldset legend,
  .type-fieldset legend {
    gap: 5px;
  }

  .section-guide {
    flex-basis: 100%;
    font-size: 13px;
  }

  .group-title h3 {
    order: 1;
  }

  .group-title span {
    order: 2;
  }

  .group-title .section-guide {
    order: 3;
  }

  .add-inline-button {
    justify-content: center;
    text-align: left;
  }

  .modal-panel {
    padding: 22px;
  }

  .additional-head {
    display: grid;
  }

  .additional-open-button {
    width: 100%;
  }

  .additional-selected-row {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .additional-selected-row em {
    white-space: normal;
  }

  .additional-test-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .additional-price {
    grid-column: auto;
    text-align: left;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }
}

@media (prefers-reduced-motion: reduce) {
  .date-fieldset:not(.is-hidden),
  .spouse-fieldset:not(.is-hidden),
  .form-actions:not(.is-hidden),
  .exam-notice:not(.is-hidden),
  .reveal-block {
    animation: none;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
    gap: 22px;
  }

  .brand > div {
    flex: 1 1 100%;
    min-width: 0;
  }

  .brand-logo {
    width: 142px;
    height: 56px;
  }

  h1 {
    font-size: 18px;
  }

  h2 {
    font-size: 20px;
    font-weight: 700;
  }

  .login-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .segmented {
    grid-template-columns: 1fr;
  }

  .summary-line {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: min(100% - 20px, 540px);
    padding-top: 12px;
  }

  .topbar {
    gap: 12px;
    padding: 10px 0 14px;
  }

  .brand {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .brand-logo {
    width: min(318px, 100%);
    height: 60px;
  }

  .health-title-year {
    font-size: 28px;
  }

  .health-title-main {
    font-size: 28px;
    line-height: 1.18;
  }

  h1 {
    font-size: 25px;
    line-height: 1.28;
  }

  .eyebrow {
    font-size: 13px;
  }

  .period {
    width: 100%;
    align-items: baseline;
    flex-wrap: wrap;
    white-space: normal;
    font-size: 15px;
  }

  .period strong {
    font-size: 16px;
  }

  .step-rail {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 26px;
    padding-bottom: 18px;
  }

  [data-step-indicator="done"] {
    order: 6;
  }

  .step-targets {
    order: 4;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin: 0 0 0 38px;
  }

  .step-final-actions {
    order: 5;
    margin: 0 0 10px 38px;
  }

  .step-rail::before {
    top: 20px;
    bottom: 20px;
    left: 26px;
    right: auto;
    border-top: 0;
    border-left: 1px dashed var(--line-strong);
  }

  .step-item {
    justify-content: flex-start;
    min-height: 42px;
    padding: 8px 12px;
  }

  .step-item span {
    width: 26px;
    height: 26px;
  }

  .step-item p {
    font-size: 13px;
  }

  .target-select-button {
    min-height: 64px;
    padding: 11px 12px;
  }

  .target-card strong {
    font-size: 14px;
  }

  .target-card small,
  .target-card span,
  .side-help-text {
    font-size: 11px;
  }

  .notice-detail-grid {
    grid-template-columns: 1fr;
  }

  .exception-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .exception-actions {
    justify-content: stretch;
  }

  .exception-actions .primary-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 24px;
  }

  .brand-logo {
    width: min(318px, 100%);
    height: 60px;
  }

  .health-title {
    gap: 8px;
  }

  .health-title-year {
    font-size: 26px;
  }

  .health-title-main {
    font-size: 26px;
    line-height: 1.2;
  }

  .health-title-sub {
    font-size: 13px;
  }

  h1 {
    font-size: 25px;
  }
}
