/* Tell us about your Spark! show (/tell-us, Nov 2026). Audience
   feedback, typed or recorded, saved to the pipeline app. Page-only
   styles; the form fields themselves use .field from styles.css. */

/* A layout display rule must never beat the hidden attribute. */
.tu-wrap [hidden] { display: none !important; }

/* The hero text shares the form's column, so everything has one left
   edge (Chris, 4 Nov). */
.tu-hero .wrap { max-width: 760px; }
.tu-hero h1 { font-size: clamp(2.3rem, 7vw, 3.7rem); line-height: 1.05; }
.tu-hero .wrap p { font-weight: 600; color: #fff; text-shadow: 0 1px 12px rgba(7,10,18,.7); }

.tu-band { background: var(--bg); padding: clamp(36px, 6vw, 72px) 0 clamp(60px, 8vw, 100px); }
.tu-wrap { max-width: 760px; }

.tu-comp {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,61,127,.7);
  background: linear-gradient(120deg, rgba(255,61,127,.2) 0%, rgba(255,61,127,.08) 60%, rgba(255,194,75,.08) 100%), var(--bg-2);
  box-shadow: 0 14px 40px rgba(255,61,127,.16);
  padding: 22px 26px; margin-bottom: 24px;
}
.tu-comp-kicker { margin: 0 0 4px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: #ff7aa6; }
.tu-comp h2 { margin: 0 0 8px; font-size: clamp(1.45rem, 2.8vw, 1.85rem); color: #fff; }
.tu-comp p { margin: 0; color: #f1f3f8; line-height: 1.55; font-weight: 600; }
.tu-comp strong { font-weight: 800; color: #fff; }

.tu-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4.5vw, 44px); box-shadow: var(--shadow); }
.tu-req-note { margin: 0 0 22px; font-size: .95rem; font-weight: 600; color: #e3e8f1; }
.tu-star { color: var(--pink); font-weight: 800; }
.tu-hint { margin: -2px 0 10px; font-size: .97rem; font-weight: 600; color: #e3e8f1; line-height: 1.45; }
.tu-or { margin: 18px 0 8px; font-size: .97rem; font-weight: 600; color: #e3e8f1; }
.tu-card .field { margin-bottom: 24px; }
.tu-card .field input, .tu-card .field textarea, .tu-card .field select { background: var(--bg); }
.tu-card .field textarea { resize: vertical; line-height: 1.55; }
.tu-card .field input::placeholder, .tu-card .field textarea::placeholder { color: #9aa4b9; font-weight: 500; }
.tu-card [aria-invalid="true"] { border-color: var(--pink) !important; }

/* Yes / No */
.tu-choice { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.tu-choice legend { font-weight: 700; font-size: .95rem; margin-bottom: 10px; padding: 0; line-height: 1.45; }
.tu-choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tu-card .field .tu-radio { position: relative; display: inline-flex; margin: 0; align-items: center; gap: 12px; cursor: pointer; min-height: 52px; min-width: 120px; padding: 0 22px 0 16px; border: 1.5px solid rgba(255,255,255,.18); border-radius: 12px; background: var(--bg); font-weight: 700; line-height: 1; }
.tu-card .field .tu-radio input[type="radio"] {
  -webkit-appearance: none; appearance: none; flex: none;
  width: 22px; height: 22px; padding: 0; margin: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55); background: transparent; box-shadow: none; cursor: pointer;
  display: grid; place-items: center;
}
.tu-card .field .tu-radio input[type="radio"]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); transform: scale(0); transition: transform .15s; }
.tu-card .field .tu-radio input[type="radio"]:checked { border-color: var(--pink); }
.tu-card .field .tu-radio input[type="radio"]:checked::after { transform: scale(1); }
.tu-card .field .tu-radio input[type="radio"]:focus { outline: none; }
.tu-radio:hover { border-color: rgba(255,255,255,.4); }
.tu-radio:has(input:checked) { border-color: var(--pink); background: rgba(255,61,127,.12); }
.tu-radio:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(42,212,224,.55); }
.tu-choice.is-invalid .tu-radio { border-color: var(--pink); }

/* Recording */
.tu-voice { margin-top: 4px; }
.tu-rec-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 0 22px 0 16px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; color: #fff;
  background: var(--bg-3); border: 1.5px solid rgba(42,212,224,.45);
  transition: border-color .2s, background .2s, transform .12s;
}
.tu-rec-btn:hover { border-color: var(--cyan); background: #182133; transform: translateY(-1px); }
.tu-rec-btn:focus-visible, .tu-live-actions .btn:focus-visible, .tu-submit .btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.tu-rec-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255,61,127,.22); }
.tu-voice-small { margin: 10px 0 0; font-size: .95rem; font-weight: 600; color: #e3e8f1; }

.tu-voice-live { border: 1.5px solid rgba(255,61,127,.55); border-radius: var(--radius); padding: 16px 18px; background: rgba(255,61,127,.06); }
.tu-live-top { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.tu-pulse { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); }
.tu-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--pink); animation: tu-pulse 1.4s ease-out infinite; }
@keyframes tu-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }
.tu-timer { margin-left: auto; font-variant-numeric: tabular-nums; color: #c9d1e1; font-weight: 600; }
.tu-wave { display: block; width: 100%; height: 72px; margin: 12px 0 14px; }
.tu-live-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.tu-live-actions .btn { min-height: 48px; }

.tu-voice-busy { display: flex; align-items: center; gap: 12px; min-height: 52px; color: #d9dfec; font-weight: 600; }
.tu-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(42,212,224,.25); border-top-color: var(--cyan); animation: tu-spin .8s linear infinite; }
@keyframes tu-spin { to { transform: rotate(360deg); } }
.tu-voice-status { margin: 10px 0 0; font-size: .97rem; font-weight: 600; color: var(--cyan); min-height: 1px; }
.tu-voice-status.is-error { color: #ffb3cb; }
.tu-voice-status:empty { margin: 0; }

.tu-ferr { margin: 8px 0 0; display: flex; gap: 8px; align-items: flex-start; color: #ff8fb4; font-weight: 700; font-size: .93rem; line-height: 1.4; }
.tu-ferr::before, .tu-err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--pink); color: #fff; font-size: .8rem; font-weight: 800; line-height: 1; }
.tu-err { display: none; margin: 0 0 14px; gap: 8px; align-items: center; color: #ff8fb4; font-weight: 700; font-size: .95rem; }
.tu-err.is-shown { display: flex; justify-content: flex-end; }
.tu-submit { display: flex; justify-content: flex-end; margin-top: 6px; }
.tu-submit .btn { min-height: 52px; padding-left: 30px; padding-right: 30px; }
.tu-submit .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.tu-small { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; font-weight: 500; color: #dde3ee; line-height: 1.55; }
.tu-small p { margin: 0 0 8px; }
.tu-small a, .tu-done a { color: var(--cyan); }

.tu-card.is-done { border: 1.5px solid rgba(42,212,224,.7); box-shadow: 0 14px 40px rgba(42,212,224,.18), var(--shadow); background: linear-gradient(120deg, rgba(42,212,224,.12) 0%, rgba(42,212,224,.04) 60%, transparent 100%), var(--bg-2); }
.tu-done { outline: none; }
.tu-done h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.tu-done p { color: #eef1f7; font-weight: 500; line-height: 1.6; margin: 0 0 10px; }

@media (prefers-reduced-motion: reduce) {
  .tu-pulse::after, .tu-spinner { animation: none; }
  .tu-rec-btn:hover { transform: none; }
}
@media (max-width: 560px) {
  .tu-submit .btn, .tu-live-actions .btn { width: 100%; justify-content: center; }
  .tu-radio { flex: 1 1 0; justify-content: center; }
}
