/* THIB client portal — sign in, verify, dashboard
   Namespace: .thp- (depends on thib.css for tokens + shared primitives) */

body.thp-body { background: var(--th-bg-warm); }

/* ============ AUTH ============ */
.thp-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.thp-auth__aside {
  background: var(--th-navy);
  color: #fff;
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.thp-auth__aside::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 360px at 86% 6%, rgba(46,79,160,.55), transparent 62%),
    radial-gradient(520px 280px at -4% 100%, rgba(216,35,42,.16), transparent 60%);
  pointer-events: none;
}
.thp-auth__aside > * { position: relative; z-index: 1; }
.thp-auth__aside img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.thp-auth__pitch { margin-top: auto; max-width: 460px; }
.thp-auth__pitch h2 { color: #fff; font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -0.032em; line-height: 1.02; }
.thp-auth__pitch h2 .th-serif { font-size: 1.04em; }
.thp-auth__pitch p { margin-top: 20px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; max-width: 40ch; }
.thp-auth__list { margin-top: 34px; border-top: 1px solid var(--th-line-dark); }
.thp-auth__list div { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--th-line-dark); font-size: 15px; color: rgba(255,255,255,.82); }
.thp-auth__list i { font-family: var(--th-serif); font-style: italic; color: rgba(255,255,255,.5); font-size: 15px; width: 22px; flex: none; }
.thp-auth__foot { margin-top: 40px; font-size: 12.5px; color: rgba(255,255,255,.46); }

.thp-auth__main { background: var(--th-bg-warm); display: grid; place-items: center; padding: 40px 24px; }
.thp-auth__card { width: 100%; max-width: 420px; }
.thp-auth__mobilelogo { display: none; margin-bottom: 34px; }
.thp-auth__mobilelogo img { height: 34px; width: auto; }
.thp-auth__card h1 { font-size: 34px; letter-spacing: -0.03em; }
.thp-auth__card > p { margin-top: 12px; color: var(--th-mute); font-size: 15.5px; line-height: 1.55; }
.thp-inputgroup {
  display: flex; align-items: stretch;
  border: 1px solid var(--th-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.thp-inputgroup:focus-within { border-color: var(--th-navy-2); box-shadow: 0 0 0 3px rgba(30,58,138,.1); }
.thp-inputgroup__prefix { display: flex; align-items: center; gap: 8px; padding: 0 15px; border-right: 1px solid var(--th-line); font-size: 15px; font-weight: 600; color: var(--th-ink); white-space: nowrap; }
.thp-inputgroup input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 16px 16px; font: inherit; font-size: 17px; letter-spacing: .03em; color: var(--th-ink); background: #fff; }
.thp-hint { margin-top: 11px; font-size: 13.5px; color: var(--th-mute); }
.thp-error { margin-top: 10px; font-size: 13.5px; color: var(--th-bad); font-weight: 500; }
.thp-error[hidden] { display: none; }
.thp-otp input { background: #fff; border-radius: 14px; }
.thp-authbtn { margin-top: 24px; }
.thp-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--th-mute-2); font-size: 12.5px; }
.thp-or::before, .thp-or::after { content: ""; flex: 1; height: 1px; background: var(--th-line); }
.thp-idp { display: flex; flex-direction: column; gap: 8px; }
.thp-idp__btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; padding: 13px 16px; border: 1px solid var(--th-line); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--th-ink); }
.thp-idp__btn:hover { border-color: var(--th-navy); }
.thp-consent__brand { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--th-red); margin-bottom: 14px; }
.thp-consent__list { list-style: none; margin: 22px 0 0; padding: 0; background: #fff; border: 1px solid var(--th-line); border-radius: 14px; }
.thp-consent__list li { padding: 11px 16px; border-bottom: 1px solid var(--th-line-2); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }
.thp-consent__list li:last-child { border-bottom: 0; }
.thp-consent__list li span { color: var(--th-mute); font-size: 13px; }
.thp-authnote { margin-top: 28px; padding: 14px 16px; border: 1px dashed var(--th-line); border-radius: 12px; font-size: 13px; color: var(--th-mute); line-height: 1.55; }
.thp-authnote b { color: var(--th-ink); font-weight: 600; }
.thp-back { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: var(--th-mute); margin-bottom: 22px; background: none; border: 0; padding: 0; }
.thp-back:hover { color: var(--th-navy-2); }

/* ============ APP SHELL ============ */
.thp-app { display: none; min-height: 100vh; }
.thp-app.is-on { display: block; }

.thp-topbar { position: sticky; top: 0; z-index: 40; background: rgba(247,246,242,.86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--th-line); }
.thp-topbar__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; gap: 24px; }
.thp-topbar img { height: 30px; width: auto; }
.thp-nav { display: flex; gap: 2px; margin: 0 auto; padding: 4px; background: var(--th-bg-warm-2); border-radius: 999px; }
.thp-nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--th-mute); transition: background-color .14s ease, color .14s ease; position: relative; }
.thp-nav a:hover { color: var(--th-ink); }
.thp-nav a.is-active { background: var(--th-navy); color: #fff; }
.thp-nav__count { position: absolute; top: 2px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--th-red); }
.thp-topbar__right { display: flex; align-items: center; gap: 10px; }
.thp-user { display: flex; align-items: center; gap: 10px; }
.thp-user__av { width: 38px; height: 38px; border-radius: 50%; background: var(--th-navy); color: #fff; display: grid; place-items: center; font-family: var(--th-display); font-size: 13.5px; font-weight: 600; }
.thp-user__name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.thp-user__name span { display: block; font-size: 12.5px; font-weight: 400; color: var(--th-mute); }

.thp-shell { max-width: 1120px; margin: 0 auto; padding: 44px 24px 110px; }
.thp-view { display: none; }
.thp-view.is-on { display: block; }

.thp-head { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.thp-head h1 { font-size: clamp(32px, 3.6vw, 44px); letter-spacing: -0.032em; }
.thp-head h1 .th-serif { font-size: 1.04em; }
.thp-head p { margin-top: 8px; color: var(--th-mute); font-size: 16px; }

/* ============ RENEWAL ACTION PANEL ============ */
.thp-action {
  background: var(--th-navy);
  color: #fff;
  border-radius: 24px;
  padding: 32px 34px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
}
.thp-action::after { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 300px at 100% 0%, rgba(46,79,160,.5), transparent 60%); pointer-events: none; }
.thp-action > * { position: relative; z-index: 1; }
.thp-action__label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 10px; }
.thp-action__label i { width: 7px; height: 7px; border-radius: 50%; background: var(--th-red); }
.thp-action__days { font-family: var(--th-display); font-size: clamp(84px, 9vw, 120px); font-weight: 600; letter-spacing: -0.06em; line-height: .9; margin-top: 18px; color: #fff; }
.thp-action__days small { display: block; font-family: var(--th-serif); font-style: italic; font-size: 22px; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.7); margin-top: 12px; }
.thp-action__sub { margin-top: 22px; font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.55; max-width: 36ch; }
.thp-action__sub b { color: #fff; font-weight: 600; }

.thp-track { display: flex; gap: 5px; margin-bottom: 18px; }
.thp-track i { flex: 1; height: 4px; border-radius: 3px; background: rgba(255,255,255,.18); }
.thp-track i.is-done { background: #fff; }
.thp-track i.is-now { background: var(--th-red); }
.thp-track__labels { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.52); margin-bottom: 22px; }
.thp-track__labels b { color: #fff; font-weight: 600; }

.thp-quote {
  display: flex; align-items: center; gap: 16px;
  padding: 15px 18px;
  background: #fff;
  color: var(--th-ink);
  border-radius: 16px;
  margin-top: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .14s ease, transform .14s var(--th-ease);
}
.thp-quote:first-of-type { margin-top: 0; }
.thp-quote:hover { transform: translateX(3px); }
.thp-quote.is-pick { border-color: var(--th-red); }
.thp-quote__logo { width: 76px; flex: none; display: flex; align-items: center; }
.thp-quote__logo img { height: 22px; width: auto; max-width: 76px; object-fit: contain; }
.thp-quote__main { flex: 1; min-width: 0; }
.thp-quote__main b { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.thp-quote__main span { font-size: 13px; color: var(--th-mute); display: block; margin-top: 2px; }
.thp-quote__price { text-align: right; flex: none; }
.thp-quote__price b { font-family: var(--th-display); font-size: 21px; font-weight: 600; color: var(--th-navy); letter-spacing: -0.025em; display: block; }
.thp-quote__price span { font-size: 12px; color: var(--th-mute); }
.thp-action__cta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.thp-action__cta small { font-size: 12.5px; color: rgba(255,255,255,.55); }

/* ============ SECTION ============ */
.thp-sec { margin-bottom: 40px; }
.thp-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.thp-sec__head h2 { font-size: 22px; letter-spacing: -0.024em; }
.thp-sec__head a, .thp-sec__head span { font-size: 14px; font-weight: 600; color: var(--th-navy-2); }
.thp-sec__head span { color: var(--th-mute); font-weight: 500; }

/* policy cards (physical-card feel) */
.thp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.thp-pcard {
  border-radius: 20px;
  padding: 22px 24px;
  min-height: 196px;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--th-line);
  color: var(--th-ink);
  transition: transform .2s var(--th-ease), box-shadow .2s var(--th-ease);
  cursor: pointer;
}
.thp-pcard:hover { transform: translateY(-3px); box-shadow: var(--th-shadow); }
.thp-pcard--navy { background: var(--th-navy); border-color: var(--th-navy); color: #fff; }
.thp-pcard--warm { background: var(--th-bg-warm-2); border-color: var(--th-bg-warm-2); }
.thp-pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.thp-pcard__top img { height: 20px; width: auto; max-width: 84px; object-fit: contain; }
.thp-pcard--navy .thp-pcard__top img { filter: brightness(0) invert(1); }
.thp-pcard__kind { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .62; margin-top: auto; padding-top: 28px; }
.thp-pcard__id { font-family: var(--th-display); font-size: 25px; font-weight: 600; letter-spacing: .04em; margin-top: 4px; }
.thp-pcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; font-size: 13px; opacity: .78; }
.thp-pcard__meta b { font-weight: 600; opacity: 1; }

/* hairline list */
.thp-list { background: #fff; border: 1px solid var(--th-line); border-radius: 20px; padding: 6px 24px; }
.thp-row { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--th-line-2); }
.thp-row:last-child { border-bottom: 0; }
.thp-row__plate { font-family: var(--th-display); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 5px 8px; border: 1.5px solid var(--th-ink); border-radius: 5px; flex: none; }
.thp-row__main { flex: 1; min-width: 0; }
.thp-row__main b { display: block; font-size: 15.5px; font-weight: 600; }
.thp-row__main span { font-size: 13.5px; color: var(--th-mute); }
.thp-row__right { flex: none; display: flex; align-items: center; gap: 12px; }
.thp-row__num { font-family: var(--th-display); font-weight: 600; color: var(--th-navy); font-size: 16px; letter-spacing: -0.02em; }

/* road tax choice */
.thp-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thp-choice__opt { padding: 24px; border: 1px solid var(--th-line); border-radius: 20px; text-align: left; background: #fff; transition: border-color .14s ease; cursor: pointer; }
.thp-choice__opt:hover { border-color: var(--th-navy); }
.thp-choice__opt.is-on { border-color: var(--th-navy); background: var(--th-navy); color: #fff; }
.thp-choice__opt .th-serif { font-size: 18px; color: var(--th-red); display: block; margin-bottom: 14px; }
.thp-choice__opt.is-on .th-serif { color: #FF8A8F; }
.thp-choice__opt b { display: block; font-family: var(--th-display); font-size: 19px; letter-spacing: -0.022em; margin-bottom: 8px; }
.thp-choice__opt p { font-size: 14px; line-height: 1.55; opacity: .72; }

/* table */
.thp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.thp-table th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--th-mute); padding: 14px 0 12px; border-bottom: 1px solid var(--th-line); }
.thp-table td { padding: 16px 0; border-bottom: 1px solid var(--th-line-2); vertical-align: middle; }
.thp-table tr:last-child td { border-bottom: 0; }
.thp-table td b { font-weight: 600; }
.thp-table__num { font-family: var(--th-display); font-weight: 600; color: var(--th-navy); letter-spacing: -0.02em; }

/* departments */
.thp-dept { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thp-dept__item { padding: 24px; border: 1px solid var(--th-line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; }
.thp-dept__item b { display: block; font-family: var(--th-display); font-size: 19px; letter-spacing: -0.022em; color: var(--th-navy); }
.thp-dept__item p { font-size: 14px; color: var(--th-mute); margin: 6px 0 18px; line-height: 1.55; flex: 1; }
.thp-dept__hours { font-size: 12.5px; color: var(--th-mute-2); margin-top: 12px; }

.thp-help { margin-top: 40px; padding: 28px 30px; border: 1px solid var(--th-line); border-radius: 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: #fff; }
.thp-help b { font-family: var(--th-display); font-size: 19px; letter-spacing: -0.02em; display: block; }
.thp-help p { font-size: 14px; color: var(--th-mute); margin-top: 4px; }
.thp-help .th-btn { margin-left: auto; }

/* mobile tab bar */
.thp-tabbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--th-line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
.thp-tabbar__link { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; font-size: 10.5px; font-weight: 600; color: var(--th-mute); position: relative; }
.thp-tabbar__link.is-active { color: var(--th-navy); }
.thp-tabbar__badge { position: absolute; top: 2px; left: calc(50% + 8px); width: 7px; height: 7px; border-radius: 50%; background: var(--th-red); }

/* ============ SIGN-UP (new client) ============ */
.thp-signup { display: none; min-height: 100vh; background: var(--th-bg-warm); }
.thp-signup.is-on { display: block; }
.thp-signup__top { position: sticky; top: 0; z-index: 40; background: rgba(247,246,242,.9); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--th-line); }
.thp-signup__topin { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; gap: 24px; }
.thp-signup__topin img { height: 30px; width: auto; }
.thp-stepper { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 4px; }
.thp-stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--th-mute-2); padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; }
.thp-stepper li i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-family: var(--th-display); font-size: 11.5px; font-style: normal; }
.thp-stepper li.is-done { color: var(--th-navy); }
.thp-stepper li.is-done i { background: var(--th-navy); border-color: var(--th-navy); color: #fff; }
.thp-stepper li.is-on { color: var(--th-navy); background: #fff; border-color: var(--th-line); }
.thp-stepper li.is-on i { border-color: var(--th-red); color: var(--th-red); }
.thp-signup__exit { font-size: 14px; font-weight: 600; color: var(--th-mute); }
.thp-signup__exit:hover { color: var(--th-navy); }
.thp-signup__main { max-width: 640px; margin: 0 auto; padding: 56px 24px 120px; }
.thp-sstep { display: none; }
.thp-sstep.is-on { display: block; }
.thp-sstep__kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--th-mute); margin-bottom: 14px; }
.thp-sstep h1 { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.032em; }
.thp-sstep h1 .th-serif { font-size: 1.04em; }
.thp-sstep > p { margin-top: 12px; color: var(--th-mute); font-size: 16px; line-height: 1.55; }

.thp-form { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.thp-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.thp-form input, .thp-form select { width: 100%; padding: 14px 16px; border: 1px solid var(--th-line); border-radius: 14px; font: inherit; font-size: 16px; background: #fff; color: var(--th-ink); outline: 0; transition: border-color .14s ease, box-shadow .14s ease; }
.thp-form input:focus, .thp-form select:focus { border-color: var(--th-navy-2); box-shadow: 0 0 0 3px rgba(30,58,138,.1); }
.thp-form .is-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.thp-form .thp-error { margin-top: 0; }
.thp-check { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: #fff; border: 1px solid var(--th-line); border-radius: 14px; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.thp-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--th-navy-2); flex: none; padding: 0; }
.thp-check small { display: block; color: var(--th-mute); font-size: 13px; margin-top: 3px; }
.thp-segs { display: flex; gap: 8px; flex-wrap: wrap; }
.thp-segs button { padding: 10px 16px; border: 1px solid var(--th-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--th-mute); }
.thp-segs button.is-on { background: var(--th-navy); border-color: var(--th-navy); color: #fff; }

.thp-drop { margin-top: 30px; padding: 36px 24px; border: 1.5px dashed #C9C5BB; border-radius: 20px; background: #fff; text-align: center; transition: border-color .14s ease, background-color .14s ease; }
.thp-drop.is-over { border-color: var(--th-navy-2); background: #F8FAFF; }
.thp-drop--sm { margin-top: 0; padding: 22px; }
.thp-drop__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--th-bg-warm-2); color: var(--th-navy); display: grid; place-items: center; margin: 0 auto 16px; }
.thp-drop b { display: block; font-family: var(--th-display); font-size: 18px; letter-spacing: -0.02em; }
.thp-drop p { margin-top: 6px; font-size: 14px; color: var(--th-mute); line-height: 1.5; }
.thp-drop p a { color: var(--th-navy-2); font-weight: 600; }
.thp-drop__btns { margin-top: 20px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.thp-drop input[type=file] { display: none; }

.thp-reading { margin-top: 30px; padding: 22px 24px; background: #fff; border: 1px solid var(--th-line); border-radius: 20px; display: flex; align-items: center; gap: 16px; }
.thp-reading[hidden], .thp-drop[hidden], .thp-extract[hidden] { display: none; }
.thp-reading i { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--th-line); border-top-color: var(--th-navy); animation: thp-spin .8s linear infinite; flex: none; }
@keyframes thp-spin { to { transform: rotate(360deg); } }
.thp-reading b { display: block; font-size: 15px; }
.thp-reading span { font-size: 13px; color: var(--th-mute); }

.thp-extract { margin-top: 30px; background: #fff; border: 1px solid var(--th-line); border-radius: 20px; overflow: hidden; }
.thp-extract__head { padding: 14px 20px; border-bottom: 1px solid var(--th-line); display: flex; align-items: center; gap: 10px; font-size: 14px; background: var(--th-bg-warm); }
.thp-extract__head b { font-family: var(--th-display); font-size: 15px; }
.thp-extract__head span { margin-left: auto; font-size: 12.5px; color: var(--th-mute); }
.thp-extract__row { display: grid; grid-template-columns: 180px 1fr; gap: 12px; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--th-line-2); }
.thp-extract__row:last-child { border-bottom: 0; }
.thp-extract__row label { color: var(--th-mute); font-weight: 500; margin: 0; font-size: 13.5px; }
.thp-extract__row input, .thp-extract__row select { padding: 9px 12px; border-radius: 10px; font-size: 14.5px; }
.thp-extract__foot { padding: 12px 20px; border-top: 1px solid var(--th-line); font-size: 12.5px; color: var(--th-mute); }
.thp-tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--th-ok); margin-left: 8px; }

.thp-rt { margin-top: 30px; background: var(--th-navy); color: #fff; border-radius: 24px; padding: 28px 30px; }
.thp-rt__label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.thp-rt__basis { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.85); line-height: 1.5; }
.thp-rt__basis b { color: #fff; font-weight: 600; }
.thp-rt__amts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.thp-rt__amt { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 20px; }
.thp-rt__amt small { display: block; font-size: 12px; color: rgba(255,255,255,.62); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.thp-rt__amt b { display: block; font-family: var(--th-display); font-size: 34px; font-weight: 600; letter-spacing: -0.04em; margin-top: 6px; }
.thp-rt__amt span { font-size: 12.5px; color: rgba(255,255,255,.6); }
.thp-rt__note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.62); line-height: 1.5; }
.thp-rt--light { background: #fff; color: var(--th-ink); border: 1px solid var(--th-line); margin-top: 0; }
.thp-rt--light .thp-rt__label, .thp-rt--light .thp-rt__note, .thp-rt--light .thp-rt__amt small, .thp-rt--light .thp-rt__amt span { color: var(--th-mute); }
.thp-rt--light .thp-rt__basis { color: var(--th-ink); }
.thp-rt--light .thp-rt__basis b, .thp-rt--light .thp-rt__amt b { color: var(--th-navy); }
.thp-rt--light .thp-rt__amt { background: var(--th-bg-warm); border-color: var(--th-line); }

.thp-lines { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.thp-line { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid var(--th-line); border-radius: 14px; cursor: pointer; }
.thp-line:has(input[type=checkbox]:checked) { border-color: var(--th-navy); }
.thp-line > input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--th-navy-2); flex: none; margin: 0; }
.thp-line > span { flex: 1; min-width: 0; }
.thp-line b { display: block; font-size: 15px; }
.thp-line small { display: block; font-size: 12.5px; color: var(--th-mute); margin-top: 2px; }
.thp-line__n { width: 110px; padding: 9px 12px; border: 1px solid var(--th-line); border-radius: 10px; font: inherit; font-size: 14px; }
.thp-biz[hidden], .thp-sstep[hidden] { display: none; }
.thp-sstep__nav { margin-top: 30px; display: flex; gap: 10px; align-items: center; }
.thp-sstep__nav .thp-back { margin: 0; }
.thp-sstep__nav .th-btn--primary { margin-left: auto; }
.thp-done { text-align: center; padding-top: 20px; }
.thp-done__mark { width: 72px; height: 72px; border-radius: 50%; background: #A5E0C3; color: #0B5438; display: grid; place-items: center; margin: 0 auto 24px; }
.thp-done h1 { font-size: clamp(32px, 4vw, 44px); }
.thp-summary { margin-top: 30px; text-align: left; background: #fff; border: 1px solid var(--th-line); border-radius: 20px; padding: 6px 22px; }
.thp-summary .thp-row__main b { font-size: 15px; }
.thp-summary .thp-row__main span { line-height: 1.5; }

@media (max-width: 980px) {
  .thp-auth { grid-template-columns: 1fr; }
  .thp-auth__aside { display: none; }
  .thp-auth__mobilelogo { display: block; }
  .thp-nav { display: none; }
  .thp-tabbar { display: flex; }
  .thp-action { grid-template-columns: 1fr; gap: 28px; padding: 26px 24px; }
  .thp-cards { grid-template-columns: 1fr 1fr; }
  .thp-user__name { display: none; }
}
@media (max-width: 600px) {
  .thp-shell { padding: 30px 18px 110px; }
  .thp-topbar__inner { padding: 0 18px; height: 64px; }
  .thp-cards { display: flex; overflow-x: auto; gap: 12px; margin: 0 -18px; padding: 0 18px 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .thp-pcard { flex: 0 0 78%; scroll-snap-align: start; }
  .thp-choice, .thp-dept { grid-template-columns: 1fr; }
  .thp-quote { flex-wrap: wrap; }
  .thp-quote__price { flex-basis: 100%; text-align: left; padding-left: 92px; display: flex; align-items: baseline; gap: 9px; }
  .thp-quote__price b { font-size: 18px; }
  .thp-list { padding: 4px 18px; }
  .thp-row { flex-wrap: wrap; }
  .thp-table thead { display: none; }
  .thp-table td { display: block; padding: 3px 0; border: 0; }
  .thp-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--th-line-2); }
  .thp-help .th-btn { margin-left: 0; width: 100%; }
}
