/* GHF Discovery recorder - card 2.2 styles (record screen, install flow,
   mic check). Palette lifted from the approved GHF brand card
   ("23. Temp/GHF Discovery Card - E GHF Brand.html"): ivy (dark green),
   apricot (orange), light-green mint, pearl, sage. index.html's own
   inline <style> (card 2.1) still owns the three-container shell layout;
   this file only styles what lives INSIDE #mode-recorder / #mode-install /
   #mode-inapp. */

:root {
  --ghf-ivy: #05160c;
  --ghf-apricot: #fa8651;
  --ghf-mint: #c9ebcd;
  --ghf-pearl: #fffcfb;
  --ghf-sage: #5c745f;
}

/* --- Record screen -------------------------------------------------- */

.record-screen {
  width: 100%;
  max-width: 32em;
  text-align: left;
  color: var(--ghf-pearl);
}

.field-group {
  margin-bottom: 16px;
  text-align: left;
}

.field-group label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 6px;
}

.field-group input {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--ghf-sage);
  background: var(--ghf-pearl);
  color: var(--ghf-ivy);
}

/* Mint header strip above the questions list, per the GHF card design. */
.questions-header {
  background: var(--ghf-mint);
  color: var(--ghf-ivy);
  padding: 10px 14px;
  border-radius: 8px 8px 0 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.questions-list {
  max-height: 40vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--ghf-pearl);
  border-radius: 0 0 8px 8px;
  margin-bottom: 16px;
}

.question-row {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(5, 22, 12, 0.15);
  color: var(--ghf-ivy);
  cursor: pointer;
  /* Tapping a row only toggles a highlight class - it never navigates or
     interrupts the list's own scroll (no href/form/submit anywhere here). */
}

.question-row:last-child {
  border-bottom: none;
}

.question-row.current {
  background: rgba(250, 134, 81, 0.15);
}

.question-num {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--ghf-apricot);
  min-width: 1.5em;
}

.question-text {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

#record-button {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: var(--ghf-apricot);
  color: var(--ghf-ivy);
  cursor: pointer;
}

#record-button:disabled {
  background: var(--ghf-sage);
  color: var(--ghf-pearl);
  opacity: 0.6;
  cursor: not-allowed;
}

#stop-button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid var(--ghf-pearl);
  border-radius: 12px;
  background: transparent;
  color: var(--ghf-pearl);
  cursor: pointer;
  margin-top: 10px;
}

.keep-open-banner {
  background: var(--ghf-ivy);
  border: 1px solid var(--ghf-apricot);
  color: var(--ghf-pearl);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 10px;
}

.timer-display {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 10px 0;
  font-variant-numeric: tabular-nums;
}

#mic-check {
  background: var(--ghf-mint);
  color: var(--ghf-ivy);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: center;
}

#mic-check-button {
  margin-top: 10px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--ghf-apricot);
  color: var(--ghf-ivy);
  font-weight: 700;
  cursor: pointer;
}

/* --- Install flow ----------------------------------------------------- */

.install-flow {
  max-width: 28em;
  text-align: left;
}

.install-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.install-step {
  background: var(--ghf-mint);
  color: var(--ghf-ivy);
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.install-step .step-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.install-step .step-detail {
  font-size: 0.9rem;
  opacity: 0.85;
}

.share-arrow-hint {
  text-align: center;
  font-size: 1.5rem;
  margin: 6px 0;
  color: var(--ghf-apricot);
}
