/* Voice-chat band (TME Teresa pattern, STR teal + gold ring) */
:root {
  --str-teal: #0f4c4a;
  --str-teal-mid: #146a66;
  --str-teal-soft: #d9ebe8;
  --str-sand: #f7f2ea;
  --str-sand-2: #efe7da;
  --str-card: #fffdf9;
  --str-ink: #0d2b2b;
  --str-ink-2: #36504f;
  --str-gold: #f2c14e;
  --str-gold-soft: #fbe7b0;
  --str-coral: #d9694a;
}
.voice { background: transparent; border: 0; padding: 0; }
.voice-band {
  background: var(--str-teal);
  color: #fffdf9;
  padding: 3.4rem 0;
}
.voice-card { display: grid; grid-template-columns: 148px 1fr; gap: 1.5rem; align-items: center; max-width: 860px; margin: 0 auto; }
.voice-portrait { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; object-position: center top; border: 4px solid var(--str-gold); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); background: var(--str-sand); }
.voice-intro h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.15; margin: 0 0 .45rem; color: #fffdf9; }
.voice-sub { margin: 0 0 .35rem; color: #fffdf9; font-size: 1.05rem; }
.voice-disclosure { margin: 0 0 .9rem; color: var(--str-gold-soft); font-size: .88rem; display: flex; align-items: center; gap: .4rem; }
.voice-disclosure::before { content: "AI"; font-size: .68rem; font-weight: 800; letter-spacing: .05em; background: var(--str-gold); color: var(--str-teal); border-radius: 999px; padding: .1rem .45rem; }
.voice-start { background: var(--str-gold); color: var(--str-teal); border: 0; }
.voice-start:hover { background: var(--str-gold-soft); }
.voice-start[aria-expanded="true"] { display: none; }
.voice-chat-slot:has(#voice-panel:not([hidden])) { padding: 1.25rem 0 1.75rem; }
.voice-panel {
  max-width: 860px; margin: 1.4rem auto 0; background: var(--str-card);
  border: 1px solid #d9ebe8; border-radius: 22px; box-shadow: 0 10px 30px rgba(13,43,43,.12);
  overflow: hidden; display: flex; flex-direction: column;
  max-height: min(78vh, 740px); min-height: 28rem;
}
.voice-panel[hidden] { display: none; }
.voice-head { display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: var(--str-teal); color: #fff; flex: 0 0 auto; }
.voice-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--str-gold); }
.voice-head strong { font-size: .98rem; }
.voice-head span { font-size: .78rem; color: var(--str-gold-soft); display: block; line-height: 1.2; }
.voice-close { margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: .25rem .7rem; font: inherit; font-size: .82rem; cursor: pointer; }
.voice-close:focus-visible, .voice-send:focus-visible, .voice-quick button:focus-visible {
  outline: 2px solid var(--str-gold); outline-offset: 2px;
}
.voice-log { flex: 1 1 auto; min-height: 12rem; overflow-y: auto; padding: 1rem .9rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; background: var(--str-sand); scroll-behavior: smooth; }
.voice-msg { max-width: 86%; padding: .7rem 1rem; border-radius: 20px; line-height: 1.5; font-size: 1rem; white-space: pre-wrap; word-wrap: break-word; }
.voice-msg.bot { background: #fff; color: var(--str-ink); border: 1px solid #d9ebe8; align-self: flex-start; border-bottom-left-radius: 6px; }
.voice-msg.user { background: var(--str-gold); color: var(--str-teal); align-self: flex-end; border-bottom-right-radius: 6px; }
.voice-msg.typing { color: var(--str-ink-2); font-style: italic; background: #fff; }
.voice-links { display: flex; flex-wrap: wrap; gap: .5rem; align-self: flex-start; padding: 0 .15rem; }
.voice-links a { font-size: .9rem; padding: .5rem .9rem; background: var(--str-teal); color: #fff; border-radius: 999px; text-decoration: none; }
.voice-links a:hover { background: var(--str-teal-mid); }
.voice-dock { flex: 0 0 auto; background: var(--str-card); padding: .45rem .7rem calc(.55rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #d9ebe8; }
.voice-suggest { margin: 0 0 .45rem; padding: .55rem .65rem .5rem; background: #fff; border: 1px solid #d9ebe8; border-radius: 16px; }
.voice-suggest[hidden] { display: none; }
.voice-quick { display: flex; flex-wrap: wrap; gap: .4rem; }
.voice-quick button { font: inherit; font-size: .85rem; background: var(--str-teal-soft); color: var(--str-teal); border: 0; border-radius: 999px; padding: .4rem .75rem; cursor: pointer; }
.voice-quick button:hover { background: var(--str-gold-soft); }
.voice-compose { display: flex; gap: .45rem; align-items: flex-end; }
.voice-compose textarea { flex: 1; font: inherit; font-size: 1rem; border: 1px solid #d9ebe8; border-radius: 14px; padding: .7rem .85rem; resize: none; min-height: 2.8rem; max-height: 8rem; background: #fff; color: var(--str-ink); }
.voice-send { background: var(--str-gold); color: var(--str-teal); border: 0; border-radius: 14px; padding: .7rem 1rem; font: inherit; font-weight: 700; cursor: pointer; }
.voice-fine { margin: .45rem 0 0; font-size: .78rem; color: var(--str-ink-2); }
@media (max-width: 640px) {
  .voice-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .voice-disclosure { justify-content: center; }
  .voice-portrait { width: 120px; height: 120px; }
}

/* Opt-in magnet + LP helpers */
.magnet { padding: 2.6rem 0 3.4rem; background: var(--str-sand, #f7f2ea); }
.magnet-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .magnet-grid { grid-template-columns: 1.05fr .95fr; } }
.magnet h1 { font-family: Fraunces, Georgia, serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: .2rem 0 .8rem; color: var(--str-teal, #0f4c4a); }
.plan-points { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.plan-points li { margin: .25rem 0; }
.plan-preview { background: #fff; border: 1px solid #d9ebe8; border-radius: 14px; box-shadow: 0 8px 24px rgba(13,43,43,.08); padding: .6rem; }
.plan-preview img { border-radius: 8px; width: 100%; height: auto; display: block; }
.unlocked-box { background: #fff; border: 2px solid #1f7a4d; border-radius: 14px; padding: 1.2rem 1.3rem; }
.gate-flash { outline: 3px solid var(--str-gold, #f2c14e); outline-offset: 6px; border-radius: 12px; }
.form-box { background: #fff; border: 1px solid #d9ebe8; border-radius: 14px; padding: 1.1rem 1.2rem; }
.lp-only-footer { text-align: center; padding: 1.6rem 1rem 2.2rem; color: #36504f; font-size: .92rem; }
.lp-only-footer p { margin: .25rem 0; }
.tool-gate { background: var(--str-sand, #f7f2ea); border: 1px solid #d9ebe8; border-radius: 14px; padding: 1.2rem 1.3rem; margin: 1rem 0 1.4rem; }
.tme-cross { font-size: .9rem; }
.stay-lp { padding: 2.8rem 0 3.2rem; }
.stay-lp h1 { font-family: Fraunces, Georgia, serif; font-size: clamp(1.8rem, 3.6vw, 2.5rem); color: var(--str-teal, #0f4c4a); }
