:root {
  --ink: #14231f;
  --muted: #65736e;
  --paper: #ffffff;
  --soft: #f5efe5;
  --line: rgba(20, 35, 31, 0.13);
  --green: #0d624c;
  --deep-green: #074235;
  --red: #c9162e;
  --gold: #e7b24a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(231, 178, 74, 0.18), transparent 28rem),
    linear-gradient(135deg, #fffaf2 0%, #f7fbf8 48%, #fff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  font: inherit;
}

.app-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 54px;
}

.app-nav,
.hero-panel,
.choice-card,
.status-card,
.dashboard-card,
.credit-wallet-panel,
.verify-banner {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 12px 16px 12px 22px;
  border-radius: 24px;
  backdrop-filter: blur(18px);
}

.brand-link {
  font-weight: 900;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions form {
  display: flex;
  align-items: center;
  margin: 0;
}

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

.nav-actions a,
.nav-actions button,
.language-switcher select,
.verify-banner button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  min-height: 40px;
  padding: 0 16px;
}

.language-switcher select {
  appearance: none;
  min-width: 64px;
  padding-right: 28px;
  background:
    linear-gradient(45deg, transparent 50%, currentColor 50%) right 15px center / 5px 5px no-repeat,
    linear-gradient(135deg, currentColor 50%, transparent 50%) right 10px center / 5px 5px no-repeat,
    var(--paper);
  font: inherit;
  font-weight: 900;
}

.nav-actions button {
  color: var(--red);
}

.nav-actions a.is-active {
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(234, 243, 255, 0.96);
  color: #1e3a8a;
}

.purchase-consent {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 10px;
  line-height: 1.35;
  margin: 14px 0 16px;
}

.purchase-consent input {
  flex: 0 0 auto;
  margin-top: 2px;
  min-height: 18px;
  width: 18px;
}

.purchase-consent a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flash-stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.flash {
  margin: 0;
  padding: 13px 16px;
  border-radius: 16px;
  background: #edf7f1;
  color: var(--green);
  font-weight: 800;
}

.verify-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
}

.verify-banner strong {
  display: block;
  margin-bottom: 4px;
}

.verify-banner p {
  margin: 0;
  color: var(--muted);
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-top: 24px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(13, 98, 76, 0.95), rgba(7, 66, 53, 0.98)),
    var(--green);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -35% 40%;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hero-copy,
.credit-pill {
  position: relative;
  z-index: 1;
}

.eyebrow,
.card-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-panel p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.6;
}

.credit-pill {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.credit-pill span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}

.credit-pill strong {
  font-size: 2.6rem;
  line-height: 1;
}

.choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
}

.choice-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 330px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 26px;
}

.choice-card h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.choice-card p:not(.card-kicker) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.choice-primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 242, 0.95)),
    var(--paper);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  min-height: 82px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.flow-list li::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-weight: 900;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.primary-action {
  background: var(--red);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(201, 22, 46, 0.2);
}

.secondary-action {
  background: rgba(20, 35, 31, 0.08);
  color: var(--muted);
  cursor: not-allowed;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 900;
}

button.secondary-link {
  cursor: pointer;
}

.secondary-link.is-disabled {
  background: rgba(20, 35, 31, 0.05);
  color: rgba(20, 35, 31, 0.46);
  border-color: rgba(20, 35, 31, 0.14);
  box-shadow: none;
}

button.secondary-link.is-disabled {
  cursor: pointer;
}

.policy-reminder {
  padding: 14px 16px;
  border: 1px solid rgba(20, 35, 31, 0.12);
  border-radius: 8px;
  background: rgba(20, 35, 31, 0.04);
  color: var(--muted);
  font-weight: 800;
}

.primary-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.status-card {
  min-height: 130px;
  padding: 22px;
  border-radius: 22px;
}

.status-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.status-card strong {
  display: block;
  margin-top: 12px;
  font-size: 2.6rem;
  line-height: 1;
}

.neutral-blue-theme {
  --blue: #2563eb;
  --blue-deep: #1e3a8a;
  --blue-soft: #eaf3ff;
  --blue-line: rgba(37, 99, 235, 0.18);
  background:
    radial-gradient(circle at 12% 8%, rgba(96, 165, 250, 0.24), transparent 28rem),
    linear-gradient(135deg, #f4f9ff 0%, #fbfdff 52%, #ffffff 100%);
}

.neutral-blue-theme .eyebrow,
.neutral-blue-theme .card-kicker {
  color: var(--blue);
}

.neutral-blue-theme .hero-panel .eyebrow {
  color: #dbeafe;
}

.neutral-blue-theme .hero-panel {
  grid-template-columns: minmax(0, 1fr);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.94), rgba(30, 58, 138, 0.98)),
    var(--blue);
}

.neutral-blue-theme .hero-panel::after {
  background: rgba(255, 255, 255, 0.13);
}

.neutral-blue-theme .credit-pill {
  background: rgba(239, 246, 255, 0.96);
  color: var(--blue-deep);
}

.neutral-blue-theme .dashboard-card--primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(239, 246, 255, 0.92)),
    var(--paper);
}

.neutral-blue-theme .dashboard-card--accent,
.neutral-blue-theme .dashboard-card--soft,
.neutral-blue-theme .settings-note {
  background: rgba(234, 243, 255, 0.82);
}

.neutral-blue-theme .primary-action {
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.neutral-blue-theme .secondary-link {
  color: var(--blue-deep);
}

.neutral-blue-theme .flow-list li::before {
  color: var(--blue);
}

.neutral-blue-theme .resume-strip,
.neutral-blue-theme .settings-list div,
.neutral-blue-theme .settings-form input:focus,
.neutral-blue-theme .settings-form select:focus {
  border-color: var(--blue-line);
}

.neutral-blue-theme .settings-form input:focus,
.neutral-blue-theme .settings-form select:focus {
  outline-color: rgba(37, 99, 235, 0.14);
}

.neutral-blue-theme .status-ok {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-deep);
}

.neutral-blue-theme .purchase-consent a {
  color: var(--blue-deep);
}

.legal-shell {
  max-width: 980px;
}

.legal-header {
  padding: clamp(46px, 8vw, 84px) 8px clamp(26px, 5vw, 42px);
}

.legal-header h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.9;
  margin: 10px 0 20px;
}

.legal-header p:last-child {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0;
  max-width: 760px;
}

.legal-card {
  display: grid;
  gap: 26px;
  padding: clamp(28px, 5vw, 54px);
}

.legal-card article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.legal-card article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.legal-card h3 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin: 0 0 10px;
}

.legal-card p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.65;
  margin: 0;
}

.legal-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-weight: 800;
  gap: 12px 18px;
  justify-content: center;
  padding: 28px 0 0;
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.experience-section {
  margin-top: clamp(34px, 5vw, 58px);
}

.experience-details {
  display: grid;
  gap: 22px;
}

.experience-details > summary {
  list-style: none;
}

.experience-details > summary::-webkit-details-marker {
  display: none;
}

.experience-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  margin-bottom: 22px;
  padding: 0 4px;
  cursor: pointer;
}

.experience-section-header h2 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.18rem, 2.1vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 900;
}

.experience-section-header--with-count > strong {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 1.08rem;
}

.section-rule {
  flex: 1 1 auto;
  min-width: 32px;
  height: 1px;
  background: var(--blue-line);
}

.section-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-deep);
  font-size: 1.25rem;
  font-weight: 900;
}

.section-toggle::before {
  content: "+";
  transform: translateY(-1px);
}

.experience-details[open] .section-toggle::before {
  content: "-";
}

.experience-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  justify-content: start;
  gap: 18px;
  max-width: 900px;
}

.experience-card {
  display: flex;
  width: 100%;
  max-width: 420px;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.experience-card > img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.experience-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
}

.experience-card-content .card-kicker,
.experience-card-content h3,
.experience-card-content p {
  margin: 0;
}

.experience-card-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.experience-card-content p {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.55;
}

.experience-card-content .dashboard-actions,
.experience-card-content .primary-action,
.experience-card-content .secondary-action {
  margin-top: auto;
}

.experience-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
}

.experience-meta div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.experience-meta dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-meta dd {
  margin: 0;
  font-weight: 900;
  line-height: 1.3;
}

.experience-card--santa {
  border-color: rgba(13, 98, 76, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 240, 0.96)),
    var(--paper);
  box-shadow: 0 18px 44px rgba(13, 98, 76, 0.1);
}

.experience-card--santa .card-kicker {
  color: var(--gold);
}

.experience-card--santa .primary-action {
  background: var(--green);
  box-shadow: 0 14px 28px rgba(13, 98, 76, 0.18);
}

.experience-card--santa .experience-meta div {
  border-color: rgba(13, 98, 76, 0.16);
  background: rgba(245, 239, 229, 0.62);
}

.experience-card--professional {
  border-color: var(--blue-line);
}

.experience-card--placeholder {
  background: rgba(234, 243, 255, 0.7);
}

.experience-placeholder-media {
  height: 250px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(14, 165, 233, 0.08)),
    var(--blue-soft);
}

.experience-placeholder-media--professional {
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.13), rgba(96, 165, 250, 0.16)),
    var(--blue-soft);
}

.activity-section-card {
  margin-top: 0;
}

.dashboard-hero {
  margin-bottom: 18px;
}

.santa-hero-actions {
  display: grid;
  justify-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.santa-hero-actions .primary-action {
  text-align: center;
}

.santa-hero-actions .credit-pill {
  width: 156px;
  height: 156px;
  gap: 4px;
}

.santa-hero-actions .credit-pill .primary-action {
  min-height: 36px;
  margin-top: 4px;
  padding: 0 20px;
  font-size: 0.85rem;
}

.dashboard-grid,
.dashboard-columns,
.dashboard-secondary-grid {
  display: grid;
  gap: 18px;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.dashboard-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.children-dashboard {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-secondary-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-top: 18px;
}

.dashboard-side-stack {
  display: grid;
  align-content: start;
  gap: 18px;
}

.settings-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.account-summary-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.dashboard-card {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 260px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
}

.dashboard-card--primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.96)),
    var(--paper);
}

.dashboard-card--media {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.dashboard-media-link {
  display: block;
  width: 100%;
  background: #0b5f4d;
}

.dashboard-media-link:focus-visible {
  outline: 4px solid rgba(201, 22, 46, 0.35);
  outline-offset: -4px;
}

.dashboard-media-link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}

.dashboard-media-content {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
}

.dashboard-card--accent {
  background: rgba(236, 247, 242, 0.94);
}

.dashboard-card--wide {
  margin-top: 18px;
}

.dashboard-card--compact {
  min-height: 220px;
}

.dashboard-card--soft {
  background: rgba(236, 247, 242, 0.94);
}

.dashboard-card h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.dashboard-card p:not(.card-kicker) {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.scenario-note {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.dashboard-more-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.dashboard-see-all {
  width: fit-content;
}

.resume-strip {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 98, 76, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.resume-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-strip strong {
  font-size: 1.1rem;
}

.dashboard-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-section-header > strong {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 62px;
  height: 62px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.mini-list,
.conversation-list {
  display: grid;
  gap: 10px;
}

.mini-list--compact {
  gap: 8px;
}

.mini-row,
.conversation-row {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.mini-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.mini-row--with-action {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.conversation-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.conversation-row--with-actions {
  grid-template-columns: minmax(0, 1fr) auto;
}

.conversation-row.is-content-deleted {
  background: rgba(20, 35, 31, 0.04);
}

.conversation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.mini-row strong,
.mini-row small,
.conversation-row strong,
.conversation-row small {
  display: block;
}

.mini-row small,
.conversation-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.mini-avatar,
.ledger-amount {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-weight: 900;
}

.mini-avatar {
  background: var(--soft);
  color: var(--red);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.ledger-amount {
  background: rgba(20, 35, 31, 0.06);
  color: var(--muted);
}

.ledger-amount.is-positive {
  background: rgba(13, 98, 76, 0.1);
  color: var(--green);
}

.ledger-amount.is-negative {
  background: rgba(201, 22, 46, 0.08);
  color: var(--red);
}

.credit-wallet-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
}

.credit-wallet-panel strong {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.9;
}

.credit-wallet-panel span,
.credit-wallet-panel p {
  color: var(--muted);
  font-weight: 800;
}

.credit-wallet-panel p {
  max-width: 560px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
}

.flow-header {
  max-width: 820px;
  padding: 54px 6px 32px;
}

.back-link {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--muted);
  font-weight: 800;
}

.flow-header h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.flow-header > p:last-child {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.setup-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.setup-progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.setup-progress li.is-current {
  border-color: var(--red);
  color: var(--ink);
}

.setup-progress span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 35, 31, 0.07);
}

.setup-progress .is-current span {
  background: var(--red);
  color: #fff;
}

.setup-progress li.is-complete {
  border-color: var(--green);
  color: var(--green);
}

.setup-progress .is-complete span {
  background: var(--green);
  color: #fff;
}

.child-layout {
  display: grid;
  justify-items: center;
  gap: 0;
}

.child-section {
  width: min(100%, 940px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.currency-selector {
  margin: 0 0 18px;
}

.currency-selector fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.currency-selector legend {
  font-weight: 800;
  margin-bottom: 8px;
}

.currency-selector-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.currency-selector button {
  background: #fff8ed;
  border: 1px solid #b5a78b;
  border-radius: 999px;
  color: #315b45;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 8px 18px;
}

.currency-selector button[aria-pressed="true"] {
  background: #315b45;
  border-color: #315b45;
  color: #fff8ed;
}

.currency-selector button:focus-visible {
  outline: 3px solid #a52e3d;
  outline-offset: 3px;
}

.currency-availability {
  margin: 0 0 18px;
}

.credit-pack-card .primary-action:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

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

.section-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.count-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soft);
  font-weight: 900;
}

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

.child-option {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.child-option.is-selected {
  border-color: rgba(13, 98, 76, 0.5);
  background: #f0f8f4;
}

.child-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--red);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.child-details h3,
.child-details p {
  margin: 0;
}

.child-details h3 {
  font-size: 1.05rem;
}

.child-details p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.select-action {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
}

.selected-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.empty-state {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.empty-state p,
.form-intro {
  color: var(--muted);
  line-height: 1.6;
}

.empty-state p {
  margin: 8px 0 0;
}

.form-intro {
  margin: 0 0 28px;
}

.child-form {
  display: grid;
  gap: 12px;
}

.child-form-row {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(180px, 1.3fr);
  gap: 12px;
}

.child-form-row > div {
  display: grid;
  gap: 12px;
}

.child-form label {
  font-size: 0.9rem;
  font-weight: 900;
}

.child-form input[type="text"],
.child-form input[type="number"],
.child-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.child-form input[type="text"]:focus,
.child-form input[type="number"]:focus,
.child-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(13, 98, 76, 0.12);
}

.child-form .primary-action {
  width: 100%;
  margin-top: 6px;
  cursor: pointer;
}

.modal-divider {
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(201, 22, 46, 0.18);
  border-radius: 8px;
  background: rgba(201, 22, 46, 0.04);
}

.account-danger-zone {
  margin-top: 18px;
}

.danger-zone strong,
.danger-zone p {
  display: block;
  margin: 0;
}

.danger-zone p {
  max-width: 520px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.danger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(201, 22, 46, 0.28);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.danger-action--solid {
  min-height: 52px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 28px rgba(201, 22, 46, 0.18);
}

.confirm-child {
  width: min(100%, 620px);
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.settings-form-row > div {
  display: grid;
  gap: 10px;
}

.settings-form label {
  font-size: 0.9rem;
  font-weight: 900;
}

.settings-form input,
.settings-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.settings-form input:focus,
.settings-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(13, 98, 76, 0.12);
}

.settings-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.settings-list div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.settings-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-list dd {
  margin: 0;
  font-weight: 900;
}

.account-list-card {
  min-height: 220px;
}

.account-row-list {
  display: grid;
  gap: 10px;
}

.account-row-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.account-row-link:hover {
  border-color: var(--blue-line);
  background: rgba(234, 243, 255, 0.78);
}

.account-row-link strong,
.account-row-link small {
  display: block;
}

.account-row-link small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.account-row-link em {
  color: var(--blue-deep);
  font-style: normal;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.settings-note {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(236, 247, 242, 0.74);
}

.settings-note strong,
.settings-note p {
  display: block;
  margin: 0;
}

.settings-note p {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-left: 8px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-ok {
  background: rgba(13, 98, 76, 0.12);
  color: var(--green);
}

.status-warn {
  background: rgba(201, 22, 46, 0.1);
  color: var(--red);
}

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

.child-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.child-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 31, 0.36);
  backdrop-filter: blur(6px);
}

.create-child {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: calc(100vh - 44px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
}

.modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.modal-header .modal-close {
  margin-top: 2px;
}

.modal-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--red);
  outline: 3px solid rgba(201, 22, 46, 0.12);
}

.has-child-modal {
  overflow: hidden;
}

.compact-action {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
}

.flow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 0;
}

.flow-footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.prep-form {
  display: grid;
  gap: 14px;
  max-width: 920px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.prep-field {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.prep-label-row label {
  font-weight: 900;
  line-height: 1.4;
}

.prep-label-row span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.prep-field textarea,
.prep-field input,
.prep-field select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

.prep-field input,
.prep-field select {
  min-height: 54px;
}

.prep-field textarea:focus,
.prep-field input:focus,
.prep-field select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(13, 98, 76, 0.12);
}

.prep-field.has-error textarea,
.prep-field.has-error input,
.prep-field.has-error select {
  border-color: var(--red);
}

.prep-field.review-approved {
  padding-right: 16px;
  padding-left: 16px;
  border: 1px solid rgba(13, 98, 76, 0.3);
  border-radius: 6px;
  background: #f0f8f4;
}

.prep-field.review-needs_edit {
  padding-right: 16px;
  padding-left: 16px;
  border: 1px solid rgba(224, 145, 22, 0.58);
  border-radius: 6px;
  background: #fff8e9;
}

.prep-field.review-blocked {
  padding-right: 16px;
  padding-left: 16px;
  border: 1px solid rgba(201, 22, 46, 0.5);
  border-radius: 6px;
  background: #fff2f3;
}

.prep-field.review-needs_edit textarea,
.prep-field.review-needs_edit input,
.prep-field.review-needs_edit select {
  border-color: #d98a12;
}

.prep-field.review-blocked textarea,
.prep-field.review-blocked input,
.prep-field.review-blocked select {
  border-color: var(--red);
}

.field-status-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  vertical-align: middle;
}

.prep-label-row label .field-status-icon,
.approved-answer .field-status-icon {
  color: #fff;
}

.review-needs_edit .field-status-icon {
  background: #d98a12;
  color: #fff;
}

.review-blocked .field-status-icon {
  background: var(--red);
  color: #fff;
}

.field-error {
  margin: 0;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 800;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.rewrite-note {
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
}

.blocked-note {
  color: var(--red);
}

.approved-note {
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}

.safety-error {
  padding: 16px;
  border: 1px solid rgba(201, 22, 46, 0.28);
  border-radius: 6px;
  background: #fff2f3;
  color: var(--red);
  font-weight: 800;
  line-height: 1.5;
}

.review-attention-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  padding: 18px;
  border: 1px solid rgba(224, 145, 22, 0.48);
  border-radius: 6px;
  background: #fff8e9;
  color: var(--ink);
}

.review-attention-banner .field-status-icon {
  margin: 0;
  background: #d98a12;
  color: #fff;
}

.review-attention-banner strong {
  display: block;
}

.review-attention-banner p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  min-height: auto;
  margin: 0;
  accent-color: var(--green);
}

.checkbox-field span {
  font-weight: 700;
}

.advanced-prep {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbf8;
}

.advanced-prep summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.advanced-prep summary::-webkit-details-marker {
  display: none;
}

.advanced-prep summary strong,
.advanced-prep summary small {
  display: block;
}

.advanced-prep summary small {
  margin-top: 4px;
  color: var(--muted);
}

.advanced-prep summary > span:last-child {
  color: var(--green);
  font-size: 1.6rem;
  font-weight: 700;
}

.advanced-prep[open] summary > span:last-child {
  transform: rotate(45deg);
}

.advanced-prep-fields {
  padding: 0 20px 8px;
  border-top: 1px solid var(--line);
}

.advanced-guidance {
  margin: 20px 0 4px;
  color: var(--muted);
  line-height: 1.55;
}

.prep-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
}

.prep-actions p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.prep-actions button {
  cursor: pointer;
}

.credit-check {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.4fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.credit-check > div {
  min-height: 220px;
  padding: clamp(24px, 4vw, 38px);
}

.credit-check > div + div {
  border-left: 1px solid var(--line);
}

.credit-check > div:first-child > strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}

.credit-check span,
.credit-result p {
  color: var(--muted);
}

.credit-requirement {
  display: grid;
  align-content: center;
  gap: 10px;
}

.credit-requirement strong {
  font-size: 1.4rem;
}

.credit-result {
  display: grid;
  align-content: center;
  background: #fff6f6;
}

.credit-result.is-ready {
  background: #edf7f1;
}

.credit-result p {
  margin: 8px 0 0;
  line-height: 1.5;
}

.credit-result .primary-action {
  margin-top: 18px;
}

.ready-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.ready-panel,
.ready-start-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.ready-panel {
  padding: clamp(24px, 4vw, 38px);
}

.ready-primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.94)),
    #fff;
}

.ready-summary {
  background:
    linear-gradient(135deg, rgba(237, 247, 241, 0.95), rgba(255, 255, 255, 0.96)),
    #fff;
}

.ready-panel h2,
.ready-start-card h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
  line-height: 1;
}

.ready-panel h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.ready-summary p,
.ready-start-card p {
  color: var(--muted);
  line-height: 1.65;
}

.guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.guidance-card {
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.guidance-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.guidance-card strong {
  display: block;
  font-size: 1.02rem;
}

.guidance-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.ready-facts {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.ready-facts div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.ready-facts dt,
.ready-facts dd {
  margin: 0;
}

.ready-facts dt {
  color: var(--muted);
  font-weight: 800;
}

.ready-facts dd {
  text-align: right;
  font-weight: 900;
}

.ready-start-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.ready-start-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.ready-start-card p {
  max-width: 680px;
  margin: 12px 0 0;
}

.ready-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.ready-actions form {
  margin: 0;
}

.live-shell {
  width: min(1380px, calc(100% - 36px));
}

.live-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  margin-top: 28px;
}

.live-video-shell,
.live-side-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.live-video-shell {
  display: grid;
  min-height: clamp(420px, 62vh, 760px);
  padding: 18px;
}

.live-video-shell > * {
  grid-area: 1 / 1;
}

.live-video-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  min-height: 100%;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 35%, rgba(231, 178, 74, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(13, 98, 76, 0.96), rgba(7, 66, 53, 0.98));
  color: #fff;
  text-align: center;
}

.live-video-placeholder.is-paused {
  background:
    radial-gradient(circle at 50% 35%, rgba(231, 178, 74, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(41, 71, 62, 0.96), rgba(25, 43, 38, 0.98));
}

.live-video-placeholder span {
  width: 62px;
  height: 62px;
  border: 5px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: review-spin 0.9s linear infinite;
}

.live-placeholder-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 2rem;
  font-weight: 900;
}

.live-video-placeholder p {
  margin: 0;
  font-weight: 900;
}

.live-video-placeholder small {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  line-height: 1.5;
}

.live-media-surface {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #101815;
}

.live-media-surface video,
.live-media-surface audio {
  width: 100%;
  height: 100%;
}

.live-media-surface video {
  display: block;
  object-fit: cover;
}

.live-media-surface audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.live-side-panel {
  padding: clamp(24px, 4vw, 38px);
}

.live-side-panel h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.live-side-panel > p:not(.card-kicker) {
  color: var(--muted);
  line-height: 1.65;
}

.live-timer {
  display: grid;
  gap: 2px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(13, 98, 76, 0.18);
  border-radius: 8px;
  background: rgba(236, 247, 242, 0.9);
}

.live-timer span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.95;
  color: var(--evergreen);
}

.live-timer small {
  font-weight: 900;
  color: var(--muted);
}

.live-actions {
  margin-top: 24px;
}

.live-connection-status {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(13, 98, 76, 0.18);
  border-radius: 8px;
  background: rgba(236, 247, 242, 0.74);
  color: var(--muted);
  font-weight: 900;
}

.live-mic-action {
  width: 100%;
  margin-top: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(13, 98, 76, 0.24);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.live-mic-overlay {
  z-index: 4;
  align-self: center;
  justify-self: center;
  width: min(420px, calc(100% - 32px));
  margin: 0;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.live-mic-action.is-hidden,
.live-mic-action[hidden] {
  display: none !important;
}

.live-mic-action:disabled {
  cursor: default;
  opacity: 0.72;
}

.live-end-action {
  width: 100%;
}

.summary-hero {
  width: min(100%, 1040px);
  margin: clamp(56px, 8vw, 96px) auto 28px;
}

.summary-home-link {
  display: inline-flex;
  margin-bottom: 26px;
  padding-inline: 26px;
}

.summary-hero h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.summary-hero p:not(.card-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.shared-summary-hero-image {
  display: block;
  width: min(100%, 820px);
  margin-top: 28px;
  aspect-ratio: 2456 / 1426;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.summary-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 1040px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.summary-panel > div {
  min-height: 160px;
  padding: clamp(24px, 4vw, 36px);
  border-right: 1px solid var(--line);
}

.summary-panel > div:last-child {
  border-right: 0;
  background: rgba(236, 247, 242, 0.9);
}

.summary-panel strong {
  display: block;
  font-size: 1.45rem;
}

.summary-meta-panel {
  display: grid;
  align-content: start;
  gap: 20px;
}

.summary-meta-panel > div + div {
  padding-top: 18px;
  border-top: 1px solid rgba(20, 35, 31, 0.1);
}

.summary-feedback-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.summary-feedback-panel form {
  display: grid;
  gap: 12px;
}

.feedback-details.is-hidden {
  display: none;
}

.feedback-details {
  display: grid;
  gap: 12px;
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-rating-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: rgba(20, 35, 31, 0.24);
  cursor: pointer;
  font-size: 1.58rem;
  line-height: 1;
  padding: 0;
  transition: color 140ms ease, transform 140ms ease;
}

.star-rating-button:hover,
.star-rating-button:focus-visible,
.star-rating-button.is-selected {
  color: #f1b73e;
}

.star-rating-button:hover,
.star-rating-button:focus-visible {
  transform: translateY(-1px);
}

.feedback-comment-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.feedback-comment-field textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  background: rgba(255, 255, 255, 0.92);
}

.feedback-comment-field textarea:focus {
  outline: 2px solid rgba(7, 106, 82, 0.18);
  border-color: rgba(7, 106, 82, 0.42);
}

.feedback-save-action {
  justify-self: start;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(7, 106, 82, 0.2);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.summary-share-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}

.summary-share-panel p:not(.card-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.summary-share-panel form,
.summary-share-actions {
  margin-top: 8px;
}

.summary-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-share-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(201, 22, 46, 0.18);
  text-decoration: none;
}

.summary-share-action--icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.summary-share-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.summary-share-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.18s ease;
}

.summary-share-action--whatsapp,
.summary-share-action--telegram,
.summary-share-action--copy {
  border: 0;
  background: transparent;
  color: var(--green);
  box-shadow: none;
}

.summary-share-action--copy {
  border: 0;
}

.summary-share-action--icon:hover .summary-share-icon img,
.summary-share-action--icon:focus-visible .summary-share-icon img {
  transform: translateY(-1px) scale(1.04);
}

.copy-share-status {
  min-height: 18px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
}

.summary-share-action:disabled,
.summary-share-action.is-disabled {
  background: rgba(20, 35, 31, 0.12);
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

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

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 38, 32, 0.36);
  backdrop-filter: blur(5px);
}

.share-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(17, 38, 32, 0.22);
}

.share-modal-panel h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.share-modal-panel > p:not(.card-kicker) {
  margin: 12px 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.share-modal-panel form {
  display: grid;
  gap: 12px;
}

.share-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.share-choice input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.share-choice strong,
.share-choice small {
  display: block;
}

.share-choice small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.share-email-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.share-email-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.share-email-field input:disabled {
  background: rgba(20, 35, 31, 0.04);
  color: var(--muted);
}

.share-modal-panel .primary-action {
  width: 100%;
  margin-top: 8px;
  border: 0;
}

.has-share-modal {
  overflow: hidden;
}

.recap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  width: min(100%, 1040px);
  margin: 18px auto 0;
}

.recap-card,
.recap-highlights {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.recap-card {
  padding: clamp(24px, 4vw, 36px);
}

.recap-card--wishlist {
  background: rgba(236, 247, 242, 0.9);
}

.recap-card h2 {
  margin: 0 0 14px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.recap-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.recap-status-message {
  margin-bottom: 12px !important;
  color: var(--green) !important;
  font-weight: 900;
}

.recap-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 0 18px;
}

.recap-loading p {
  color: var(--green) !important;
  font-weight: 900;
}

.recap-spinner {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 5px solid rgba(13, 98, 76, 0.14);
  border-top-color: var(--green);
  border-right-color: rgba(231, 178, 74, 0.9);
  border-radius: 50%;
  animation: review-spin 0.8s linear infinite;
}

.recap-placeholder {
  color: var(--muted) !important;
}

.recap-highlights.is-hidden,
.recap-status-message.is-hidden,
.recap-loading.is-hidden,
.recap-placeholder.is-hidden {
  display: none;
}

.wishlist-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wishlist-list li {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 98, 76, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.wishlist-list strong {
  font-size: 1.1rem;
}

.wishlist-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 7px 13px 7px 8px;
  border: 1px solid rgba(13, 98, 76, 0.18);
  border-radius: 999px;
  background: rgba(13, 98, 76, 0.08);
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.wishlist-link-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20, 35, 31, 0.08);
}

.wishlist-link-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 7px;
}

.wishlist-link:hover {
  border-color: rgba(13, 98, 76, 0.34);
  background: rgba(13, 98, 76, 0.13);
  color: var(--deep-green);
}

.wishlist-list span {
  color: var(--muted);
  line-height: 1.5;
}

.wishlist-list small {
  color: var(--green);
  font-weight: 900;
}

.recap-highlights {
  width: min(100%, 1040px);
  margin: 18px auto 0;
  padding: 22px;
}

.recap-highlights div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.recap-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(13, 98, 76, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.transcript-panel {
  width: min(100%, 1040px);
  margin: 18px auto 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.transcript-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 18px;
  align-items: end;
}

.transcript-intro h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.transcript-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.transcript-details {
  margin-top: 22px;
}

.transcript-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.transcript-details summary::-webkit-details-marker {
  display: none;
}

.transcript-details summary span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
}

.transcript-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.transcript-message {
  max-width: 78%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.transcript-message--assistant {
  background: rgba(236, 247, 242, 0.92);
}

.transcript-message--user {
  justify-self: end;
  background: rgba(255, 250, 242, 0.96);
}

.transcript-message strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.9rem;
}

.transcript-message p,
.transcript-empty {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.transcript-empty {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--muted);
  font-weight: 700;
}

.summary-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: min(100%, 1040px);
  margin: 24px auto 0;
}

.credit-pack-section {
  width: 100%;
  margin: 28px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.credit-pack-section .section-heading p:not(.card-kicker) {
  margin: 12px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.credit-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.credit-cancellation-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.gift-checkout-form,
.gift-link-card {
  display: grid;
  gap: 16px;
}

.gift-checkout-form label,
.gift-email-form label,
.gift-link-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.gift-checkout-form input,
.gift-checkout-form textarea,
.gift-email-form input,
.gift-link-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.gift-checkout-form textarea {
  resize: vertical;
}

.gift-checkout-form small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.gift-explainer {
  margin-bottom: 18px;
}

.gift-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gift-explainer-grid > div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
}

.gift-explainer-grid strong,
.gift-explainer-grid p {
  display: block;
  margin: 0;
}

.gift-explainer-grid p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.gift-message,
.gift-status-strip {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.7);
}

.gift-message p:not(.card-kicker) {
  margin: 0;
  white-space: pre-line;
}

.gift-marketing-card {
  display: grid;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
}

.gift-marketing-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.gift-marketing-card h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.gift-marketing-card p:not(.card-kicker) {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.gift-marketing-card .secondary-link {
  width: fit-content;
  margin-top: 18px;
}

.gift-status-strip span,
.gift-status-strip strong {
  display: block;
}

.gift-status-strip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-status-strip strong {
  margin-top: 4px;
}

.gift-status-strip p,
.gift-status-strip form {
  margin: 10px 0 0;
}

.gift-email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.credit-pack-card {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.credit-pack-card.is-featured {
  border-color: rgba(13, 98, 76, 0.52);
  background: #f0f8f4;
}

.credit-pack-card h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: 0;
}

.credit-pack-card p:not(.card-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pack-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pack-price strong,
.pack-price span {
  display: block;
}

.pack-price strong {
  font-size: 2rem;
  line-height: 1;
}

.pack-price span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.credit-pack-card .primary-action {
  width: 100%;
  cursor: pointer;
}

.review-wait {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: clamp(70px, 12vh, 140px) auto 0;
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
  text-align: center;
}

.review-spinner {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border: 5px solid rgba(13, 98, 76, 0.14);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: review-spin 0.9s linear infinite;
}

.review-wait h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.review-wait > p:not(.eyebrow) {
  max-width: 600px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.review-live-status {
  font-weight: 900;
}

.review-result-header {
  padding-bottom: 38px;
}

.approved-answers {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(20, 35, 31, 0.08);
}

.approval-seal {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
}

.approved-answer-list {
  display: grid;
  gap: 10px;
}

.approved-answer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(13, 98, 76, 0.24);
  border-radius: 6px;
  background: #f0f8f4;
}

.approved-answer h3,
.approved-answer p {
  margin: 0;
}

.approved-answer h3 {
  font-size: 0.94rem;
}

.approved-answer p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.review-result-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 26px;
}

.secondary-link {
  color: var(--green);
  font-weight: 900;
}

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

@media (prefers-reduced-motion: reduce) {
  .review-spinner {
    animation: none;
    border-color: var(--green);
  }
}

@media (max-width: 860px) {
  .app-shell {
    width: min(100% - 24px, 720px);
    padding-top: 14px;
  }

  .app-nav,
  .verify-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-actions {
    justify-content: space-between;
  }

	  .hero-panel,
	  .choice-grid,
	  .status-grid,
	  .experience-card-grid,
	  .dashboard-grid,
	  .dashboard-columns,
	  .dashboard-secondary-grid,
  .account-summary-grid,
  .settings-layout,
  .settings-shortcuts,
  .child-layout,
  .ready-layout,
  .guidance-grid,
  .live-stage,
  .recap-grid,
  .summary-panel,
  .credit-wallet-panel,
  .credit-pack-grid,
  .gift-explainer-grid,
  .gift-email-form {
    grid-template-columns: 1fr;
  }

  .ready-start-card,
  .ready-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ready-actions,
  .ready-actions .primary-action,
  .ready-actions .secondary-link {
    width: 100%;
  }

  .dashboard-card--media {
    grid-template-columns: 1fr;
  }

  .dashboard-media-link img {
    max-height: 360px;
  }

  .live-shell {
    width: min(100% - 16px, 720px);
  }

  .live-stage {
    gap: 12px;
  }

  .live-side-panel {
    order: -1;
    padding: 18px;
  }

  .live-side-panel h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .live-timer {
    position: sticky;
    top: 8px;
    z-index: 5;
    margin: 16px 0;
    padding: 14px 16px;
    box-shadow: 0 14px 34px rgba(20, 35, 31, 0.12);
  }

  .live-timer span {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .live-video-shell {
    min-height: 56vh;
    padding: 10px;
  }

  .credit-check {
    grid-template-columns: 1fr;
  }

  .credit-check > div {
    min-height: auto;
  }

  .credit-check > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .summary-panel > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-panel > div:last-child {
    border-bottom: 0;
  }

  .transcript-intro {
    grid-template-columns: 1fr;
  }

  .transcript-details summary {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 16px 18px;
    border-radius: 8px;
  }

  .transcript-message {
    max-width: 100%;
  }

  .summary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .summary-actions .primary-action,
  .summary-actions .secondary-link {
    width: 100%;
  }

	  .credit-pill {
	    width: 112px;
	    height: 112px;
	  }

	  .experience-section-header {
	    align-items: flex-start;
	    flex-direction: column;
	  }

		  .experience-card {
		    grid-template-columns: 1fr;
		    max-width: 100%;
		  }

		  .experience-card > img {
	    min-height: 240px;
	    aspect-ratio: 16 / 10;
	  }

		  .flow-list {
		    grid-template-columns: repeat(2, minmax(0, 1fr));
	  }

	  .conversation-row {
	    grid-template-columns: 1fr;
	  }

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

	  .conversation-row .secondary-link {
	    width: 100%;
	  }

	  .conversation-actions .danger-action {
	    width: 100%;
	  }
	}

@media (max-width: 520px) {
  .live-shell {
    width: min(100% - 10px, 520px);
  }

  .live-side-panel {
    padding: 14px;
  }

  .live-timer span {
    font-size: clamp(3rem, 22vw, 4.8rem);
  }

  .live-video-shell {
    min-height: 48vh;
  }

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

  .nav-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .setup-progress li {
    justify-content: center;
    font-size: 0;
  }

  .setup-progress span {
    font-size: 0.88rem;
  }

  .child-option {
    grid-template-columns: 46px minmax(0, 1fr) auto;
  }

  .mini-row--with-action {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .mini-row--with-action .select-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .mini-row--with-action .secondary-link {
    grid-column: 1 / -1;
    width: 100%;
  }

  .child-avatar {
    width: 46px;
    height: 46px;
  }

  .flow-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .flow-footer .secondary-action,
  .flow-footer .primary-action {
    width: 100%;
  }

  .child-form-row {
    grid-template-columns: 1fr;
  }

  .settings-form-row {
    grid-template-columns: 1fr;
  }

  .danger-zone,
  .confirm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .danger-action,
  .confirm-actions .secondary-link,
  .confirm-actions form {
    width: 100%;
  }

  .prep-actions {
    align-items: stretch;
    flex-direction: column;
  }

	  .prep-actions .primary-action {
	    width: 100%;
	  }

	  .account-row-link {
	    grid-template-columns: 1fr;
	  }

	  .account-row-link em {
	    text-align: left;
	    white-space: normal;
	  }

	  .review-result-actions {
	    align-items: stretch;
    flex-direction: column-reverse;
  }

  .review-result-actions a {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}
