:root {
  color-scheme: light;
  --ink: #35101c;
  --muted: #77646a;
  --line: #e8dcd7;
  --surface: #fffcf8;
  --canvas: #fbf6f0;
  --teal: #a62942;
  --teal-dark: #801c32;
  --coral: #c84157;
  --gold: #c49259;
  --danger: #b52b34;
  --success: #376d51;
  --shadow: 0 12px 28px rgba(53, 16, 28, 0.045);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
}

button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.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;
}

.app-shell {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  font-style: italic;
}

.brand-lockup h1,
.brand-lockup p,
.section-heading h2,
.section-heading h3,
.section-heading p,
.admin-header h2,
.admin-header p,
.welcome-band h2,
.welcome-band p,
.state-view h2,
.state-view p { margin: 0; }

.brand-lockup h1 {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  line-height: 1.2;
}

.eyebrow {
  color: var(--teal);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.light { color: #ebbac2; }

.language-control select {
  min-width: 92px;
  height: 40px;
  padding: 0 30px 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}

.welcome-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 180px;
  padding: 28px 20px;
  color: #fff;
  background: #101d1a;
  border-bottom: 4px solid var(--gold);
}

.welcome-band h2 {
  margin-top: 6px;
  font-size: 26px;
  line-height: 1.15;
}

.welcome-band p:last-child {
  margin-top: 8px;
  color: #c9d6d2;
  max-width: 360px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 120ms ease, background 120ms ease, opacity 120ms ease;
}

.button:active { transform: translateY(1px); }
.button:disabled { cursor: wait; opacity: 0.55; }
.button.primary { background: var(--teal); color: #fff; }
.button.primary:hover { background: var(--teal-dark); }
.button.accent { background: var(--canvas); color: var(--ink); }
.button.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.button.danger { background: var(--danger); color: #fff; }
.button.full { width: 100%; }

.tabbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 52px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-panel { display: none; padding: 24px 18px; }
.tab-panel.active { display: block; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2,
.section-heading h3 {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.2;
}

.compact-top { margin-top: 32px; }
.section-intro { margin: -6px 0 18px; color: var(--muted); }

.count-badge {
  min-width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #f6e7e9;
  color: var(--teal-dark);
  font-weight: 800;
}

.stack-list { display: grid; gap: 10px; }
.plans-grid { display: grid; gap: 14px; }

.membership-row,
.payment-row,
.empty-state {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
}

.membership-row-header,
.payment-row-header,
.plan-header,
.method-row,
.form-footer,
.modal-header,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.membership-row strong,
.payment-row strong { overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: 13px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eaf1e9;
  color: var(--success);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.plan-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan-card.featured { border-top: 4px solid var(--coral); }
.plan-card h3 { margin: 0; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.plan-card p { margin: 0; color: var(--muted); }

.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.price-value { font-size: 28px; font-weight: 850; line-height: 1; }
.price-currency { color: var(--muted); font-weight: 750; }

.plan-facts,
.method-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.fact,
.method-tag {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  background: #f7eeea;
  color: #6d3946;
  font-size: 12px;
  font-weight: 650;
}

.stars-note {
  padding: 10px 11px;
  border-left: 3px solid var(--gold);
  background: #fff8df;
  color: #5c4711;
  font-size: 13px;
}

.support-form,
.settings-list { display: grid; gap: 16px; }
.support-form label,
.setting-row label,
.modal label { font-size: 13px; font-weight: 800; }

textarea,
input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cdbdb8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

textarea { resize: vertical; min-height: 110px; }
textarea:focus, input:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(166, 41, 66, 0.12); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.form-footer { align-items: flex-end; }
.form-footer span { color: var(--muted); font-size: 12px; }

.state-view {
  min-height: 66vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}

.state-view p { color: var(--muted); max-width: 360px; }
.status-symbol {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font-size: 24px;
  font-weight: 850;
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(calc(100% - 32px), 460px);
  transform: translateX(-50%);
  padding: 12px 15px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 650;
}

/* Admin */
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px minmax(0, 1fr); }

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  background: #35101c;
  color: #fff;
}

.admin-brand { padding: 0 6px 22px; border-bottom: 1px solid #613343; }
.admin-brand h1 { max-width: 154px; }
.admin-nav { display: grid; gap: 5px; padding-top: 18px; }

.nav-item {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #e4c6cd;
  text-align: left;
  font-weight: 700;
}

.nav-item:hover,
.nav-item.active { background: #613343; color: #fff; }
.nav-item span { min-width: 25px; padding: 2px 6px; border-radius: 999px; background: var(--coral); color: #fff; text-align: center; font-size: 11px; }

.admin-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 6px 0;
  border-top: 1px solid #613343;
  min-width: 0;
}

.avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #292005;
  font-weight: 850;
}

.admin-identity div { min-width: 0; }
.admin-identity strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-identity small { color: #d0a8b3; }

.admin-main { min-width: 0; padding: 28px clamp(18px, 4vw, 54px) 48px; }
.admin-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.admin-header h2 { margin-top: 4px; font-size: 26px; }

.icon-button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
}

.admin-view { display: none; }
.admin-view.active { display: block; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.stat-card {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  padding: 15px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  background: var(--surface);
}

.stat-card:nth-child(2) { border-top-color: var(--coral); }
.stat-card:nth-child(3) { border-top-color: var(--gold); }
.stat-card:nth-child(4) { border-top-color: #517bb8; }
.stat-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.stat-card strong { font-size: 25px; line-height: 1; overflow-wrap: anywhere; }

.content-band { padding-top: 22px; border-top: 1px solid var(--line); }
.text-button { border: 0; background: transparent; color: var(--teal); font-weight: 800; }

.payment-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-left-color: var(--coral); }
.payment-main { display: grid; gap: 6px; min-width: 0; }
.payment-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.payment-actions .button { min-height: 38px; padding: 7px 11px; font-size: 13px; }

.admin-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-card.inactive { opacity: 0.7; box-shadow: none; }
.method-list { display: grid; gap: 7px; padding-top: 4px; }
.method-row { min-height: 40px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 6px; }
.method-row span { min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }

.toggle {
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  position: relative;
  border: 0;
  border-radius: 999px;
  background: #aeb9b5;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 140ms ease;
}

.toggle.on { background: var(--teal); }
.toggle.on::after { transform: translateX(18px); }

.setting-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.setting-row input { min-width: 0; }
.setting-row .button { min-height: 40px; padding: 8px 13px; }

.modal {
  width: min(calc(100% - 28px), 520px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(16, 21, 20, 0.28);
}

.modal::backdrop { background: rgba(36, 10, 19, 0.68); }
.modal form { display: grid; gap: 15px; padding: 20px; }
.modal h3 { margin: 4px 0 0; font-size: 20px; }
.modal-actions { justify-content: flex-end; }

.proof-modal { width: min(calc(100% - 24px), 820px); padding: 18px; }
.proof-content { min-height: 220px; display: grid; place-items: center; margin-top: 14px; background: #f7eeea; }
.proof-content img,
.proof-content iframe { display: block; width: 100%; max-height: 72vh; border: 0; object-fit: contain; background: #fff; }
.proof-content iframe { height: 68vh; }

@media (min-width: 640px) {
  .client-app { padding: 24px 0; }
  .app-shell { min-height: calc(100vh - 48px); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #featured-plan .plan-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  #featured-plan .plan-card .button { min-width: 170px; }
}

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: sticky;
    z-index: 10;
    height: auto;
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
  }
  .admin-brand { display: none; }
  .admin-nav { display: flex; padding: 0; gap: 4px; }
  .nav-item { min-width: max-content; min-height: 40px; }
  .admin-identity { order: -1; margin: 0; padding: 0 12px 0 0; border: 0; border-right: 1px solid #2b3532; }
  .admin-identity div { display: none; }
  .admin-main { padding-top: 20px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 580px) {
  .welcome-band { grid-template-columns: 1fr; align-items: end; }
  .welcome-band .button { width: 100%; }
  .payment-row { grid-template-columns: 1fr; }
  .payment-actions { justify-content: stretch; }
  .payment-actions .button { flex: 1; }
  .admin-plans { grid-template-columns: 1fr; }
  .setting-row { grid-template-columns: 1fr; gap: 7px; }
  .setting-row .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}

/* Rojita Iconica: warm paper, cherry accents and editorial typography. */
.eyebrow { letter-spacing: .12em; }
.plan-content { display: grid; gap: 15px; min-width: 0; }
.price-label { font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 5vw, 32px); line-height: 1.2; overflow-wrap: anywhere; }
.plan-header { align-items: flex-start; }
.status-pill { flex: 0 0 auto; letter-spacing: .02em; text-align: center; }
.status-pill.warning { color: #795219; background: #fbefd8; }
.status-pill.muted { color: #77646a; background: #efe7e3; }
.button:disabled { cursor: not-allowed; }
.button[aria-busy="true"] { cursor: wait; }
.text-button { min-height: 44px; padding: 8px 0; text-align: left; }
.client-app .app-shell { width: min(100%, 780px); background: var(--canvas); }
.client-app .topbar { padding: 20px 24px; min-height: 88px; gap: 12px; }
.client-app .brand-lockup h1 { font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 500; margin-top: 3px; }
.language-control { display: grid; gap: 4px; flex: 0 0 auto; }
.language-control > span { color: var(--muted); font-size: 10px; text-align: right; }
.language-control select { min-width: 88px; max-width: 128px; min-height: 38px; height: auto; border-radius: 6px; padding: 5px 7px; font-size: 12px; }
.welcome-band { position: relative; display: block; min-height: 316px; padding: 38px 30px 28px; overflow: hidden; background: #35101c; border-bottom: 0; }
.welcome-content { position: relative; z-index: 1; max-width: 77%; }
.welcome-band h2 { max-width: 430px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 6vw, 48px); font-weight: 400; line-height: 1.08; margin-top: 15px; overflow-wrap: anywhere; }
.welcome-band #welcome-copy { margin: 16px 0 24px; max-width: 365px; color: #e6cad1; font-size: 14px; line-height: 1.65; }
.welcome-band .button { min-height: 46px; font-size: 13px; gap: 26px; width: auto; }
.hero-orbit { position: absolute; width: 265px; height: 265px; right: -60px; top: 38px; border: 1px solid #895365; border-radius: 50%; transform: rotate(-16deg); opacity: .65; display: grid; place-items: center; }
.hero-orbit::before, .hero-orbit::after { position: absolute; content: ""; border: 1px solid #895365; border-radius: 50%; inset: 15px -35px; }
.hero-orbit::after { inset: -20px 23px; }
.hero-orbit span { font-family: Georgia, "Times New Roman", serif; font-size: 160px; font-style: italic; color: #8b4057; letter-spacing: -.07em; }
.hero-signature { position: relative; z-index: 1; text-align: right; color: #dcaeb9; margin-top: 24px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-style: italic; }
.client-app .tabbar { padding: 0 18px; background: var(--canvas); }
.client-app .tab { min-height: 59px; font-size: 13px; font-weight: 650; }
.client-app .tab-panel { padding: 30px 24px 20px; }
.client-app .section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 28px; margin-top: 7px; }
.client-app .section-heading .text-button { font-size: 12px; white-space: nowrap; }
.client-app .section-intro { font-size: 14px; line-height: 1.65; margin-bottom: 22px; }
.client-app .compact-top { margin-top: 34px; }
.client-app .plan-card { border-radius: 12px; padding: 22px; gap: 24px; box-shadow: none; }
.client-app .plan-card.featured { border-top: 1px solid var(--teal); border-left: 3px solid var(--teal); }
.client-app .plan-card h3 { font-size: 19px; font-weight: 600; }
.client-app .plan-card p { font-size: 13px; line-height: 1.6; }
.client-app .price-value { font-family: Georgia, "Times New Roman", serif; font-size: 46px; font-weight: 400; }
.client-app .price-currency { font-size: 12px; letter-spacing: .06em; }
.client-app .plan-card .status-pill { font-size: 9px; padding: 4px 7px; min-height: 23px; }
.client-app .method-tags { gap: 5px; }
.client-app .method-tag { background: transparent; border: 1px solid var(--line); font-size: 11px; border-radius: 999px; }
.client-app .fact { background: transparent; padding: 0; min-height: 20px; font-size: 12px; }
.client-app .fact + .fact::before { content: "·"; padding-right: 7px; }
.client-app .membership-row { border-radius: 10px; padding: 19px; gap: 10px; }
.client-app .membership-row p { margin: 0; }
.client-app .membership-row .button { margin-top: 4px; }
.client-app .membership-time { font-size: 14px; }
.membership-row.expiring { border-left-color: var(--gold); }
.client-app .empty-state { border-left: 1px solid var(--line); border-radius: 12px; padding: 25px 22px; justify-items: start; gap: 9px; }
.client-app .empty-state strong { font-size: 17px; font-weight: 550; }
.client-app .empty-state .meta { max-width: 490px; line-height: 1.6; }
.empty-mark { display: grid; place-items: center; color: var(--teal); background: #f7e8e9; border: 1px solid #ead0d4; border-radius: 50%; width: 44px; height: 44px; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 28px; margin-bottom: 4px; }
.purchase-steps { list-style: none; padding: 0 0 21px; margin: 0 0 23px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-bottom: 1px solid var(--line); }
.purchase-steps li { font-size: 11px; color: var(--muted); }
.purchase-steps span { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 25px; color: var(--teal); margin-bottom: 5px; }
.catalog-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 5px; border: 1px solid var(--line); background: #f4e9e5; border-radius: 10px; }
.category-button { min-height: 44px; border: 0; border-radius: 7px; padding: 8px 5px; background: transparent; color: var(--muted); font-weight: 650; font-size: 13px; }
.category-button.active { color: #fff; background: var(--teal); }
.category-description { margin: 15px 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.purchase-row { display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.purchase-row-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.purchase-row-header strong { min-width: 0; overflow-wrap: anywhere; }
.purchase-row-header .status-pill { max-width: 52%; font-size: 10px; }
.delivery-note { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.fine-print { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.support-form { background: var(--surface); padding: 22px; border: 1px solid var(--line); border-radius: 12px; gap: 12px; }
.support-form .meta { margin: 0; font-size: 11px; line-height: 1.6; }
.support-form .form-footer { margin-top: 4px; }
.brand-footer { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 22px 20px 10px; color: var(--muted); font-size: 11px; }
.footer-mark { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--teal); font-size: 26px; }
.loading-mark { font-family: Georgia, "Times New Roman", serif; color: var(--teal); font-style: italic; font-size: 64px; line-height: 1; margin-bottom: 14px; }
.client-app .state-view h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 28px; }
.client-app .state-view p { font-size: 14px; }
.client-app .spinner { width: 25px; height: 25px; border-width: 2px; margin-bottom: 10px; }
.checkout-modal { background: var(--canvas); color: var(--ink); border-radius: 16px; max-height: calc(100dvh - 40px); overflow-y: auto; }
.checkout-inner { padding: 24px; display: grid; gap: 18px; }
.checkout-inner h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 32px; margin: 0; line-height: 1.1; }
.checkout-inner .section-intro, .checkout-inner .fine-print, .checkout-inner .eyebrow { margin: 0; }
.checkout-summary { display: grid; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.checkout-price { font-family: Georgia, "Times New Roman", serif; font-size: 29px; }
.inline-notice { padding: 14px; background: #eaf1e9; color: #315940; border: 1px solid #c5d9c8; border-radius: 8px; font-size: 13px; line-height: 1.6; }
.inline-error { padding: 14px; background: #fbe9eb; color: #8c263b; border: 1px solid #e7b7c0; border-radius: 8px; font-size: 13px; margin: 0; }
.proof-content { gap: 14px; padding: 14px; }
#support-success { margin-bottom: 18px; }
@media (min-width: 640px) {
  .client-app { padding: 30px 20px; background: #eee4df; }
  .client-app .app-shell { min-height: calc(100vh - 60px); border-radius: 16px; overflow: clip; box-shadow: 0 24px 80px #35101c0c; }
  .welcome-band { padding: 40px; }
  .hero-orbit { right: 15px; }
  .client-app .tab-panel { padding: 32px; }
  .client-app #featured-plan .plan-card { grid-template-columns: minmax(0, 1fr) 170px; }
}
@media (max-width: 370px) {
  .client-app .topbar { padding: 16px; gap: 8px; }
  .client-app .brand-lockup { gap: 8px; }
  .client-app .brand-lockup h1 { font-size: 17px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .language-control select { min-width: 76px; max-width: 90px; font-size: 11px; }
  .welcome-band { padding: 30px 22px 22px; }
  .welcome-content { max-width: 90%; }
  .hero-orbit { right: -150px; opacity: .45; }
  .client-app .tab-panel { padding: 25px 16px 15px; }
  .client-app .plan-card, .support-form { padding: 18px; }
  .client-app .section-heading h2 { font-size: 25px; }
  .support-form .form-footer { align-items: stretch; flex-direction: column; }
}
