:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #153d45;
  background: #edf6f6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: #08758a; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 20; background: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.page-shell { width: min(880px, 100%); margin: 0 auto; padding: 24px 18px 72px; }
.hero { color: #fff; border-radius: 28px; padding: 30px; background: radial-gradient(circle at 90% 0, #36b7b1 0, transparent 34%), linear-gradient(135deg, #075f73, #0c8796); box-shadow: 0 24px 70px rgba(4, 89, 105, .18); }
.hero__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; opacity: .86; }
.hero__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.hero h1 { margin: 13px 0 8px; font-size: clamp(27px, 5vw, 42px); letter-spacing: -.03em; }
.hero p { margin: 0; opacity: .9; line-height: 1.7; }
.identity { flex: 0 0 auto; max-width: 250px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 14px; background: rgba(255,255,255,.12); font-size: 13px; line-height: 1.55; text-align: right; overflow-wrap: anywhere; }
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 27px; }
.progress span { height: 6px; border-radius: 999px; background: rgba(255,255,255,.28); }
.progress span.is-done { background: #fff; }
.card { min-height: 420px; margin-top: 20px; padding: clamp(22px, 5vw, 38px); border: 1px solid #d6e8e9; border-radius: 26px; background: #fff; box-shadow: 0 18px 55px rgba(8, 89, 103, .08); }
h2 { margin: 0 0 10px; color: #123f48; font-size: clamp(24px, 4vw, 32px); letter-spacing: -.02em; }
h3 { margin: 28px 0 12px; font-size: 19px; }
.lede, .muted { color: #607980; line-height: 1.75; }
.lede { margin: 0 0 25px; }
.muted { font-size: 14px; }
.loading { min-height: 330px; display: grid; place-content: center; justify-items: center; color: #627b82; }
.spinner { width: 34px; height: 34px; border: 3px solid #d8e9eb; border-top-color: #0b8295; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.notice { margin: 18px 0; padding: 15px 17px; border-left: 4px solid #e3a44f; border-radius: 12px; background: #fff8e9; color: #5e4c2d; line-height: 1.72; }
.notice.info { border-left-color: #1594a0; background: #edf9f9; color: #215d65; }
.notice.success { border-left-color: #2a9a6b; background: #eefaf4; color: #216346; }
.notice.danger { border-left-color: #b55d43; background: #fff1ed; color: #7b3b2a; }
.profile-grid, .cost-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-item { padding: 16px; border: 1px solid #dcebed; border-radius: 15px; background: #f9fcfc; }
.profile-item span { display: block; margin-bottom: 6px; color: #70868b; font-size: 12px; }
.profile-item strong { display: block; overflow-wrap: anywhere; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { min-height: 110px; padding: 16px; border: 1.5px solid #d7e6e8; border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: .15s ease; }
.choice:hover { border-color: #56aeb7; transform: translateY(-1px); }
.choice[aria-pressed="true"] { border-color: #087e91; background: #edf9fa; box-shadow: inset 0 0 0 1px #087e91; }
.choice strong { display: block; margin-bottom: 7px; color: #183f47; }
.choice small { color: #667e84; line-height: 1.55; }
.choice .price { margin-top: 10px; color: #08778b; font-weight: 800; }
.field { margin: 20px 0; }
.field label, .field legend { display: block; margin-bottom: 8px; font-weight: 750; }
.field input, .field select { width: 100%; min-height: 50px; padding: 12px 13px; border: 1px solid #c9dfe2; border-radius: 12px; background: #fff; color: #153d45; }
.field-help { margin: 7px 2px 0; color: #71868b; font-size: 12px; line-height: 1.6; }
.item { margin: 12px 0; padding: 17px; border: 1px solid #d9e8ea; border-radius: 16px; }
.item.is-selected { border-color: #16899a; background: #f1fafb; }
.item__head { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 11px; align-items: start; }
.item input { width: 21px; height: 21px; accent-color: #0b8295; }
.item__title strong, .item__title small { display: block; }
.item__title small { margin-top: 3px; color: #6b8389; }
.item__price { font-weight: 800; white-space: nowrap; }
.item p { margin: 12px 0 0 35px; color: #60777d; font-size: 13px; line-height: 1.65; }
.tag { display: inline-block; margin: 8px 5px 0 0; padding: 4px 8px; border-radius: 999px; background: #e4f2f3; color: #176e79; font-size: 11px; }
.tag.pending { background: #fff1d8; color: #875b1d; }
.cost-grid { margin: 20px 0; padding: 18px; border-radius: 17px; background: #ecf8f8; }
.cost-grid div { padding: 5px; }
.cost-grid span { display: block; color: #617a80; font-size: 12px; }
.cost-grid strong { display: block; margin-top: 5px; font-size: 21px; }
.cost-grid .personal strong { color: #a04b30; }
.check { display: flex; gap: 11px; align-items: flex-start; margin: 17px 0; line-height: 1.65; }
.check input { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 2px; accent-color: #0b8295; }
.actions { display: flex; gap: 12px; margin-top: 28px; }
.button { min-height: 52px; flex: 1; padding: 13px 20px; border: 0; border-radius: 14px; background: #087e91; color: #fff; font-weight: 800; cursor: pointer; }
.button:hover { background: #056f80; }
.button.secondary { flex: 0 0 auto; background: #e6f1f2; color: #2b626b; }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button:focus-visible, .choice:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #e8a442; outline-offset: 3px; }
.summary-list { padding: 0; list-style: none; }
.summary-list li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid #e5eeee; line-height: 1.55; }
.summary-list span { color: #647c82; }
.summary-list strong { text-align: right; overflow-wrap: anywhere; }
.sources { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e3eded; color: #677f85; font-size: 12px; line-height: 1.8; }
footer { padding: 23px 8px 0; color: #617a80; font-size: 12px; line-height: 1.75; }
footer p { margin: 6px 0; }

@media (max-width: 620px) {
  .page-shell { padding: 10px 10px 54px; }
  .hero { padding: 23px 18px; border-radius: 21px; }
  .hero__row { display: block; }
  .identity { margin-top: 16px; max-width: none; text-align: left; }
  .card { margin-top: 12px; padding: 22px 16px; border-radius: 20px; }
  .choices, .profile-grid { grid-template-columns: 1fr; }
  .choice { min-height: 0; }
  .item { padding: 15px 13px; }
  .item__head { grid-template-columns: 23px minmax(0, 1fr); }
  .item__price { grid-column: 2; }
  .item p { margin-left: 34px; }
  .cost-grid { grid-template-columns: 1fr; }
  .actions { position: sticky; bottom: 0; z-index: 4; margin-inline: -4px; padding: 18px 4px 6px; background: linear-gradient(transparent 0, #fff 22%); }
  .button { padding-inline: 13px; }
  .summary-list li { display: block; }
  .summary-list strong { display: block; margin-top: 4px; text-align: left; }
}
