/* Renesia account portal. Tokens measured from the Renesia Figma flow screens and renesia.co. */
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/BeVietnamPro-Medium.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/BeVietnamPro-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/BeVietnamPro-Bold.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/AlbertSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/AlbertSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/AlbertSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/AlbertSans-Bold.woff2") format("woff2"); }

:root {
  --burgundy: #400c08;
  --burgundy-hover: #5c1a14;
  --ink: #212020;
  --grey: #6b6766;
  --line: #ead9d1;
  --line-strong: #dcc5ba;
  --ivory: #fff8f4;
  --peach: #ffede3;
  --orange: #ff783b;
  --orange-ink: #c2470f;
  --green: #2e7d4f;
  --green-tint: #e7f3ec;
  --blue-tint: #eaf5fd;
  --blue-ink: #1d5b86;
  --red: #a8321f;
  --red-tint: #fdece8;
  --white: #fff;
  --head: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;
  --body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --pad: 20px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(64, 12, 8, 0.04), 0 4px 16px rgba(64, 12, 8, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 17px/1.5 var(--body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: 0; }
button { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; }
a { color: var(--burgundy); }
strong { font-weight: 700; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--grey); }
.center { text-align: center; }
.break { overflow-wrap: anywhere; }
.noscript { padding: 24px; text-align: center; }

.icon { flex: none; display: block; }
.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } .sk { animation: none !important; } }

/* ---------- strips and top bar ---------- */
.strip { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 32px; padding: 6px 16px;
  font: 500 14px/1.3 var(--body); text-align: center; }
.strip-dev { background: var(--ink); color: #fff; }
.strip-dev strong { font: 700 15px/1 var(--head); color: #ffd7c2; }
.strip-test { background: var(--blue-tint); color: var(--blue-ink); border-bottom: 1px solid #cfe6f7; }

.topbar { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; height: 64px; padding: 0 8px;
  background: var(--ivory); border-bottom: 1px solid var(--line); position: relative; }
.topbar-side { display: flex; align-items: center; min-height: 48px; }
.topbar-right { justify-content: flex-end; }
.topbar-logo { justify-self: center; display: inline-flex; align-items: center; padding: 8px; color: var(--burgundy); }
.logo { width: 104px; height: 22px; }
.logo-big { width: 152px; height: 32px; }
.icon-btn { width: 48px; height: 48px; display: inline-grid; place-items: center; border: 0; border-radius: 999px;
  background: transparent; color: var(--burgundy); }
.icon-btn:hover:not(:disabled) { background: var(--peach); }
.icon-btn:disabled { opacity: 0.4; }

/* ---------- layout ---------- */
.page { width: 100%; max-width: 720px; margin: 0 auto; padding: 28px var(--pad) 48px; }
.page-flow { max-width: 480px; padding-top: 20px; }
@media (min-width: 390px) { :root { --pad: 24px; } }
.stack { display: grid; gap: 16px; }
.section { margin-top: 36px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-title { font: 700 20px/1.3 var(--head); color: var(--ink); margin-bottom: 14px; }
.see-all { display: inline-flex; align-items: center; gap: 2px; min-height: 48px; font: 600 16px/1 var(--body); text-decoration: none; }
.see-all:hover { text-decoration: underline; }

/* ---------- buttons ---------- */
.btn { display: flex; width: 100%; min-height: 56px; align-items: center; justify-content: center; padding: 14px 24px;
  border-radius: 999px; border: 1.5px solid transparent; text-align: center; text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.btn-inner { display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%; }
.btn-text { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.btn-label { overflow-wrap: anywhere; }
.btn-sub { font: 400 15px/1.3 var(--body); opacity: 0.88; margin-top: 3px; }
.btn-primary { background: var(--burgundy); color: #fff; font: 700 18px/1.25 var(--head); }
.btn-primary:hover:not(:disabled) { background: var(--burgundy-hover); }
.btn-has-sub { min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.btn-secondary { background: transparent; color: var(--burgundy); border-color: var(--burgundy); font: 600 17px/1.25 var(--body); }
.btn-secondary:hover:not(:disabled) { background: var(--peach); }
.btn-quiet { background: transparent; color: var(--burgundy); font: 600 17px/1.25 var(--body); text-decoration: underline;
  text-underline-offset: 3px; min-height: 48px; }
.btn-danger { background: var(--red); color: #fff; font: 700 18px/1.25 var(--head); }
.btn-danger:hover:not(:disabled) { background: #8e2617; }
.btn:disabled { opacity: 0.55; }
.btn[aria-busy="true"] { opacity: 0.85; }
.btn-stack { display: grid; gap: 12px; margin-top: 24px; }

.text-link, .link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
  padding: 8px 4px; border: 0; background: none; color: var(--ink); font: 500 16px/1.3 var(--body);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(33, 32, 32, 0.45); }
.text-link:hover:not(:disabled) { color: var(--burgundy); text-decoration-color: currentColor; }
.text-link.strong { color: var(--burgundy); font-weight: 600; }
.text-link:disabled, .link-btn:disabled { opacity: 0.5; }
.link-btn.retry { color: var(--burgundy); font-weight: 600; min-height: 44px; padding: 4px 0; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 10px 3px 8px;
  border-radius: 999px; font: 600 14px/1.4 var(--body); white-space: nowrap; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip-green { background: var(--green-tint); color: var(--green); }
.chip-peach { background: var(--peach); color: var(--burgundy); }
.chip-red { background: var(--red-tint); color: var(--red); }
.chip-grey { background: #f1ebe8; color: #5f5a58; }
.chip-blue { background: var(--blue-tint); color: var(--blue-ink); }

/* ---------- notices ---------- */
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); margin-top: 20px; font-size: 16px; }
.notice-icon { margin-top: 1px; }
.notice-title { font-weight: 700; }
.notice-body { min-width: 0; }
.notice-warn { background: var(--peach); color: var(--burgundy); }
.notice-error { background: var(--red-tint); color: var(--red); }
.notice-info { background: var(--blue-tint); color: var(--blue-ink); }
.notice-text { color: var(--ink); }
.error-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 16px; padding: 12px 14px;
  border-radius: var(--radius); background: var(--red-tint); color: var(--red); font-size: 16px; }
.error-line .error-text { flex: 1 1 200px; color: var(--ink); }
.toast { max-width: 672px; margin: 16px auto 0; width: calc(100% - 2 * var(--pad)); padding: 12px 16px; border-radius: var(--radius);
  background: var(--ink); color: #fff; font-size: 16px; }
.toast-error { background: var(--red); }

/* ---------- auth ---------- */
.auth { width: 100%; max-width: 440px; margin: 0 auto; padding: 40px var(--pad) 40px; display: flex; flex-direction: column; }
.auth-logo { display: flex; justify-content: center; margin: 8px 0 40px; }
.auth-title { font: 700 28px/1.25 var(--head); color: var(--burgundy); text-align: center; }
.auth-sub { margin-top: 10px; text-align: center; color: var(--grey); font-size: 17px; overflow-wrap: anywhere; }
.auth-sub strong { color: var(--ink); font-weight: 600; }
.auth-form { margin-top: 28px; display: grid; gap: 20px; }
.auth-links { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 20px; }
.auth-note { margin-top: 16px; text-align: center; font-size: 15px; max-width: 34ch; margin-left: auto; margin-right: auto; }
.resend-wait { min-height: 48px; display: flex; align-items: center; font-size: 16px; text-align: center; }
.auth-help { margin-top: 40px; text-align: center; color: var(--grey); font-size: 16px; }
.auth-help a { font-weight: 600; }

/* ---------- form fields ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field-label { font: 600 16px/1.3 var(--body); color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  background: #fff; font-size: 18px; line-height: 1.3; color: var(--ink); appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 96px; resize: vertical; font-size: 17px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(64, 12, 8, 0.15); }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--red); font-size: 16px; line-height: 1.35; }
.field-error .icon { margin-top: 1px; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 48px; }
.select-caret { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(90deg); pointer-events: none; color: var(--burgundy); }
.form-error-sum { display: flex; gap: 8px; align-items: center; margin: 18px 0 4px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--red-tint); color: var(--red); font-size: 16px; }
.textbox { margin-top: 20px; }

/* code input: one real input over six visual cells */
.code-box { position: relative; height: 68px; }
.code-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; height: 100%; }
.code-cell { display: grid; place-items: center; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: #fff;
  font: 700 30px/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
.code-cell.active { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(64, 12, 8, 0.15); }
.code-cell.active:empty::after { content: ""; width: 2px; height: 30px; background: var(--burgundy); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code-box.has-error .code-cell { border-color: var(--red); }
.code-box.is-busy .code-cell { opacity: 0.55; }
.field .code-input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; background: transparent;
  color: transparent; caret-color: transparent; font-size: 16px; opacity: 0.01; cursor: text; box-shadow: none; }
.code-input:focus { box-shadow: none !important; }
.code-busy { position: absolute; inset: 0; display: grid; place-items: center; color: var(--burgundy); }

/* ---------- dashboard ---------- */
.greet { font: 700 30px/1.2 var(--head); color: var(--burgundy); overflow-wrap: anywhere; }
.greet-email { margin-top: 4px; color: var(--grey); font-size: 16px; overflow-wrap: anywhere; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sub-card { padding: 20px 18px 8px; }
.sub-head { display: flex; gap: 16px; align-items: flex-start; }
.sub-img { width: 80px; height: 80px; flex: none; border-radius: 10px; object-fit: cover; background: var(--peach); }
.sub-head-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sub-title { font: 700 19px/1.3 var(--head); color: var(--ink); overflow-wrap: anywhere; }
.sub-plan { color: var(--ink); font-size: 17px; line-height: 1.35; }
.sub-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 16px; }
.sub-alert .icon { margin-top: 1px; }
.sub-alert-title { font-weight: 700; font-size: 17px; }
.sub-alert-red { background: var(--red-tint); color: var(--red); }
.sub-alert-red p:not(.sub-alert-title) { color: var(--ink); margin-top: 2px; }
.sub-alert-peach { background: var(--peach); color: var(--burgundy); align-items: center; }
.sub-alert-grey { background: #f5f0ee; color: #5f5a58; align-items: center; }
.sub-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px 12px; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--ivory);
  border: 1px solid var(--line); }
.sub-fact dt { font-size: 15px; color: var(--grey); }
.sub-fact dd { font: 700 18px/1.3 var(--head); color: var(--ink); margin-top: 2px; white-space: nowrap; }
.sub-fact .was { font: 400 16px/1 var(--body); color: var(--grey); margin-right: 4px; }
.sub-discount { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--green); font-weight: 600; font-size: 16px; }
.sub-offer { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 10px;
  background: #eef7f1; border: 1px solid #cfe6d8; color: var(--ink); }
.sub-offer-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; }
.sub-offer-title { font: 600 16px/1.35 var(--head); color: var(--green); }
.sub-offer-detail { margin-top: 2px; font-size: 15px; line-height: 1.4; color: var(--ink); }
.strip-btn { margin-left: 10px; padding: 4px 10px; min-height: 28px; border: 1px solid currentColor; border-radius: 999px; background: transparent;
  color: inherit; font: 600 13px/1 var(--body); cursor: pointer; }
.next-box { margin-top: 18px; }
.mini-heading { font: 600 15px/1.3 var(--head); color: var(--grey); margin-bottom: 4px; }
.sub-cta { margin-top: 18px; }
.action-list { margin-top: 14px; border-top: 1px solid var(--line); }
.action-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left; color: var(--ink); font: 600 17px/1.3 var(--body); }
.action-row:hover:not(:disabled) .action-label { color: var(--burgundy); }
.action-row:hover:not(:disabled) .action-icon { background: var(--peach); }
.action-row:disabled { opacity: 0.6; }
.action-icon { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 999px; background: var(--ivory); color: var(--burgundy); }
.action-label { flex: 1; min-width: 0; }
.action-sub { display: block; font-weight: 400; font-size: 15px; color: var(--grey); }
.action-end { color: var(--grey); }
.action-list li:last-child .action-row { border-bottom: 0; }
.sub-cancel { display: flex; justify-content: center; border-top: 1px solid var(--line); margin-top: 0; padding: 4px 0; }
.action-list + .sub-cancel { border-top: 1px solid var(--line); }
.sub-cta + .sub-cancel { border-top: 0; margin-top: 6px; }
.sub-card.status-cancelled { background: #fdfbfa; box-shadow: none; }
.sub-card.status-cancelled .sub-img { filter: grayscale(0.6); opacity: 0.7; }
.sub-card.status-cancelled .sub-title, .sub-card.status-cancelled .sub-plan { color: #5f5a58; }
.sub-card.status-cancelled .sub-cta { margin-bottom: 12px; }
.sub-card.status-paused .sub-cta, .sub-card.status-payment_issue .sub-cta { margin-bottom: 4px; }

.items { display: grid; }
.item { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.item:last-child { border-bottom: 0; }
.item-icon { color: var(--burgundy); padding-top: 2px; }
.item-gift .item-icon { color: var(--green); }
.item-main { display: flex; flex-direction: column; min-width: 0; }
.item-title { font-weight: 600; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.item-qty { color: var(--grey); font-weight: 500; }
.item-detail { color: var(--grey); font-size: 15px; line-height: 1.35; }
.item-price { font-weight: 600; font-size: 17px; white-space: nowrap; text-align: right; }
.item-free { color: var(--green); }

.order-card { padding: 18px 18px 6px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.order-title { font: 700 18px/1.3 var(--head); }
.order-date { color: var(--grey); font-size: 15px; }
.order-total { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; }
.order-total strong { font: 700 18px/1.3 var(--head); }
.order-track { border-top: 1px solid var(--line); }
.track-link { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; text-decoration: none; color: var(--burgundy); }
.track-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.track-label { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.track-sub { color: var(--grey); font-size: 15px; overflow-wrap: anywhere; }
.order-cancel { display: flex; justify-content: center; border-top: 1px solid var(--line); }

.acct-card { padding: 4px 18px; }
.acct-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.acct-row:last-child { border-bottom: 0; }
.acct-icon { color: var(--burgundy); padding-top: 2px; }
.acct-main { flex: 1; min-width: 0; }
.acct-title { font: 600 16px/1.3 var(--head); color: var(--grey); margin-bottom: 4px; }
.acct-line { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.edit-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; min-width: 48px; padding: 0 14px; margin: -6px -6px 0 0;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--burgundy); font: 600 16px/1 var(--body); }
.edit-btn:hover:not(:disabled) { border-color: var(--burgundy); background: var(--peach); }
.edit-btn:disabled { opacity: 0.55; }

.help { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.help-links { display: grid; gap: 4px; }
.help-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 18px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.help-link:hover { text-decoration: underline; }
.help-hours { display: flex; align-items: center; gap: 12px; margin-top: 4px; color: var(--grey); font-size: 16px; }
.help .signout { margin-top: 28px; }

.empty { margin-top: 28px; padding: 32px 20px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; justify-items: center; gap: 16px; }
.empty-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--peach); color: var(--burgundy); }
.empty-title { font: 700 20px/1.35 var(--head); color: var(--ink); }
.empty .btn { max-width: 360px; }

/* skeletons */
.sk { background: linear-gradient(90deg, #f6ebe5 0%, #fbf3ef 50%, #f6ebe5 100%); background-size: 200% 100%; border-radius: 10px;
  animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.sk-greet { width: 55%; height: 36px; }
.sk-line { width: 70%; height: 20px; margin-top: 10px; }
.sk-h2 { width: 45%; height: 26px; margin-top: 40px; margin-bottom: 14px; }
.sk-card { height: 460px; border-radius: var(--radius); }
.sk-card-short { height: 220px; }

/* ---------- flows ---------- */
.summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); }
.summary-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; background: var(--peach); }
.summary-main { flex: 1; min-width: 0; }
.summary-title { font: 600 16px/1.3 var(--head); overflow-wrap: anywhere; }
.summary-line { color: var(--grey); font-size: 15px; line-height: 1.35; }
.dot-sep { padding: 0 2px; }
.flow-title { font: 700 26px/1.25 var(--head); color: var(--ink); overflow-wrap: anywhere; }
.flow-title.burgundy { color: var(--burgundy); }
.flow-sub { margin-top: 12px; color: var(--ink); font-size: 17px; line-height: 1.5; }
.flow-sub strong { color: var(--burgundy); }
.flow-question .flow-sub, .flow-tools .flow-sub, .flow-picker .flow-sub, .flow-date .flow-sub, .flow-form .flow-sub { color: var(--grey); }
.eyebrow { display: flex; justify-content: center; margin-bottom: 14px; }
.eyebrow span { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--peach); color: var(--burgundy);
  font: 600 13px/1.3 var(--head); text-transform: uppercase; text-align: center; }

.options { display: grid; gap: 12px; margin-top: 24px; }
.option { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 14px 16px; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color 0.15s, background-color 0.15s; }
.option:hover:not(:disabled) { border-color: var(--burgundy); background: var(--peach); }
.option:disabled { opacity: 0.6; }
.option[aria-busy="true"] { opacity: 1; border: 2px solid var(--burgundy); background: var(--peach); }
.option-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.option-label { font: 600 17px/1.35 var(--head); overflow-wrap: anywhere; }
.option-desc { font-size: 15px; line-height: 1.35; color: var(--grey); }
.option-end { color: var(--burgundy); flex: none; }
.tool-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--peach); color: var(--burgundy); }

.radios { display: grid; gap: 12px; margin-top: 24px; }
.radio { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 16px; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.radio:hover { border-color: var(--line-strong); }
.radio.checked { border: 2px solid var(--burgundy); background: var(--peach); padding: 13.5px 15.5px; }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-mark { width: 24px; height: 24px; flex: none; border: 2px solid var(--line-strong); border-radius: 50%; background: #fff; display: grid; place-items: center; }
.radio.checked .radio-mark { border-color: var(--burgundy); }
.radio.checked .radio-mark::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--burgundy); }
.radio:has(input:focus-visible) { outline: 3px solid var(--burgundy); outline-offset: 3px; }

.blocks { display: grid; gap: 18px; margin-top: 22px; }
.para { font-size: 17px; line-height: 1.55; }
.para strong { color: var(--burgundy); }
.block-heading { font: 700 19px/1.35 var(--head); color: var(--ink); margin-top: 6px; }
.block-image { position: relative; border-radius: 14px; overflow: hidden; background: var(--line); }
.block-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; background: rgba(64, 12, 8, 0.9); color: #fff;
  font: 600 13px/1.35 var(--head); text-transform: uppercase; }
.list { display: grid; gap: 12px; }
.list-ordered { counter-reset: n; }
.list-ordered li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 17px; line-height: 1.5; }
.list-ordered li::before { content: counter(n); width: 28px; height: 28px; border-radius: 50%; background: var(--peach); color: var(--burgundy);
  display: grid; place-items: center; font: 700 14px/1 var(--head); margin-top: 1px; }
.list-bullets li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 17px; line-height: 1.5; }
.list-bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--burgundy); margin: 11px 0 0 4px; }
.li-text strong { color: var(--burgundy); }
.note { padding: 14px 16px; border-radius: var(--radius); background: var(--peach); color: var(--ink); font-size: 16px; line-height: 1.5; }
.note strong { color: var(--burgundy); }

.timeline { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.tl-row { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 10px 10px; border-radius: 10px; border: 2px solid transparent; }
.tl-num { width: 30px; height: 30px; border-radius: 50%; background: var(--burgundy); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--head); }
.tl-head { font-size: 16px; line-height: 1.4; }
.tl-dot { color: var(--grey); }
.tl-text { color: var(--grey); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.tl-current { border-color: var(--orange); background: var(--ivory); }
.tl-current .tl-num { background: var(--orange); color: var(--ink); }
.tl-here { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--orange); color: var(--ink);
  font: 700 12px/1.4 var(--head); text-transform: uppercase; }

.testimonial { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--blue-tint); margin-top: 22px; }
.blocks .testimonial { margin-top: 0; }
.testimonial-img { background: var(--line); }
.testimonial-img img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.testimonial-body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .off { color: var(--line); }
.testimonial blockquote p { font-size: 17px; line-height: 1.5; }
.testimonial blockquote strong { color: var(--burgundy); }
.testimonial figcaption { font-size: 15px; }

.offer-body { color: var(--ink); }
.save-block { margin-top: 20px; padding: 18px 16px; text-align: center; background: #fff; border: 1.5px dashed var(--burgundy); border-radius: 14px; }
.save-big { font: 700 36px/1.1 var(--head); color: var(--burgundy); }
.save-small { margin-top: 4px; font-size: 16px; color: var(--ink); }
.save-prices { margin-top: 6px; display: flex; gap: 10px; justify-content: center; align-items: baseline; font-size: 17px; }
.save-prices s { color: var(--grey); }
.save-prices strong { font: 700 20px/1.2 var(--head); color: var(--burgundy); }
.checks { display: grid; gap: 8px; margin-top: 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.4; }
.checks .icon { color: var(--burgundy); margin-top: 1px; }
.footnote { margin-top: 14px; text-align: center; color: var(--grey); font-size: 13px; line-height: 1.4; }

.calendar { margin-top: 24px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-month { font: 700 17px/1.3 var(--head); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-week span { text-align: center; font: 600 13px/2 var(--body); color: var(--grey); }
.cal-day { aspect-ratio: 1; min-height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent;
  font: 600 16px/1 var(--body); color: var(--ink); font-variant-numeric: tabular-nums; }
.cal-day:hover:not(:disabled) { background: var(--peach); }
.cal-day:disabled { color: #c9bfbb; font-weight: 400; }
.cal-day.mark { box-shadow: inset 0 0 0 2px var(--orange); }
.cal-day.sel, .cal-day.sel:hover:not(:disabled) { background: var(--burgundy); color: #fff; }
.date-chosen { margin-top: 14px; text-align: center; font-size: 17px; color: var(--grey); min-height: 26px; }
.date-chosen strong { color: var(--ink); }

.flow-form .form { margin-top: 22px; }
.confirm-items { margin-top: 20px; padding: 4px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

.flow-result { text-align: center; padding-top: 16px; }
.result-ring { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; border: 6px solid var(--green); color: var(--green); }
.result-ring.tone-neutral { border-color: var(--burgundy); color: var(--burgundy); }
.result-ring.tone-error { border-color: var(--red); color: var(--red); }
.result-body { color: var(--ink); }
.dry-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--blue-tint);
  color: var(--blue-ink); font-size: 14px; font-weight: 500; }
.facts { margin-top: 22px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 16px; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.fact:last-child { border-bottom: 0; }
.fact dt { color: var(--grey); font-size: 16px; }
.fact dd { font-weight: 700; font-size: 17px; text-align: right; margin-left: auto; }

.cancel-now { display: flex; justify-content: center; margin-top: 18px; }
.cancel-now .text-link { color: var(--grey); font-size: 15px; }

.img-broken { visibility: hidden; }
.img-ph { display: block; background: var(--peach); }

/* dialog */
.dialog { width: min(420px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 20px 60px rgba(33, 32, 32, 0.25); }
.dialog::backdrop { background: rgba(33, 32, 32, 0.45); }
.dialog-title { font: 700 22px/1.3 var(--head); color: var(--burgundy); }
.dialog-text { margin-top: 8px; font-size: 17px; }
.dialog .btn-stack { margin-top: 20px; }

@media (max-width: 379px) {
  .sub-card { padding-left: 14px; padding-right: 14px; }
  .sub-facts { padding: 12px; }
  .sub-fact dd { font-size: 17px; }
}

@media (min-width: 600px) {
  .page { padding-top: 40px; }
  .greet { font-size: 34px; }
  .sub-card { padding: 24px 24px 8px; }
  .order-card { padding: 20px 24px 6px; }
  .acct-card { padding: 4px 24px; }
  .sub-img { width: 96px; height: 96px; }
  .flow-title { font-size: 28px; }
  .auth { padding-top: 72px; }
}

/* Welcome-back line on a cancelled card, and the test-account picker (test builds only). */
.restart-offer { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; color: var(--green); font-weight: 600; font-size: 15px; }
.testers { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.testers-title { font: 600 18px/1.3 var(--head); color: var(--burgundy); }
.testers-sub { margin-top: 4px; color: var(--grey); font-size: 15px; }
.testers-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tester { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font: inherit; }
.tester:hover:not(:disabled) { border-color: var(--burgundy); }
.tester:disabled { opacity: 0.6; }
.tester-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.tester-name { font: 600 16px/1.3 var(--head); }
.tester-label { font-weight: 600; font-size: 14px; color: var(--burgundy); }
.tester-detail { font-size: 14px; line-height: 1.4; color: var(--grey); }
.testers-group { margin-top: 22px; font: 600 13px/1.3 var(--body); color: var(--grey); text-transform: uppercase; }
.testers-group + .testers-list { margin-top: 8px; }
.tester-label { font: 600 16px/1.3 var(--head); color: var(--ink); }
.tester-email { font-size: 14px; font-weight: 600; color: var(--burgundy); overflow-wrap: anywhere; }
.item-thumb { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.item { grid-template-columns: 44px 1fr auto; align-items: center; }
.item-icon { display: grid; place-items: center; width: 44px; padding-top: 0; }

/* Care team view */
.strip-staff { background: var(--burgundy); color: #fff; }
.staff-home .auth-sub { max-width: 36ch; margin-left: auto; margin-right: auto; }
.activity { list-style: none; margin: 0; padding: 0; }
.activity-row { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15px; line-height: 1.4; }
.activity-row:last-child { border-bottom: 0; }
.activity-when { color: var(--grey); font-size: 13px; padding-top: 2px; }
.activity-text { min-width: 0; overflow-wrap: anywhere; }
.activity-who { font-weight: 600; color: var(--burgundy); }
.activity-by { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--peach); color: var(--burgundy); font-size: 12px; font-weight: 600; }
.activity-card { padding: 6px 16px; }
.staff-close { margin-top: 16px; }
.testers .activity { margin-top: 12px; }

/* Care team: open requests */
.requests { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.request { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 12px 14px; font-size: 15px; line-height: 1.4; text-align: left; }
.request-urgent { border-color: var(--orange); }
.request-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.request-title { font-weight: 600; color: var(--ink); }
.request-flag { display: inline-block; padding: 1px 7px; border-radius: 4px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; }
.request-when { color: var(--grey); font-size: 13px; white-space: nowrap; }
.request-who { color: var(--burgundy); font-weight: 500; overflow-wrap: anywhere; margin-top: 2px; }
.request-test { color: var(--grey); font-weight: 400; font-size: 13px; }
.request-line { color: var(--grey); overflow-wrap: anywhere; }
.request-actions { display: flex; gap: 18px; margin-top: 8px; }

/* Care team: cancel numbers */
.numbers-wrap { overflow-x: auto; }
.numbers { width: 100%; border-collapse: collapse; font-size: 14px; text-align: right; }
.numbers th, .numbers td { padding: 7px 6px; border-bottom: 1px solid var(--line); }
.numbers th:first-child, .numbers td:first-child { text-align: left; }
.numbers th { color: var(--grey); font-weight: 500; font-size: 13px; }
.numbers-total td { font-weight: 600; border-bottom: 0; }
