/* === EFT TAPPING PAGE === */

main { padding: 40px 0 64px; }

.intro {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── Settings ── */
.settings {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 4px;
  margin-bottom: 28px;
}

.settings-row {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.settings-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.settings-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

#problemInput {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
}

#problemInput:focus {
  outline: none;
  border-color: var(--green-mid);
  background: var(--surface);
}

/* ── SUDS row ── */
.suds-row {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 4px;
}

.suds-btn {
  padding: 6px 0;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.suds-btn:hover {
  border-color: var(--green-mid);
  background: var(--green-light);
}

.suds-btn.selected {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: white;
  font-weight: 600;
}

@media (max-width: 480px) {
  .suds-row {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ── Tapping image stage ── */
.tap-stage {
  margin: 12px 0 24px;
  text-align: center;
}

.tap-image-wrap {
  position: relative;
  display: inline-block;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

.tap-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.tap-point {
  position: absolute;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 50%;
  background: rgba(74, 122, 90, 0);
  border: 2px solid rgba(74, 122, 90, 0);
  pointer-events: none;
  transition: background 0.2s, border-color 0.2s;
}

.tap-point.active {
  background: rgba(74, 122, 90, 0.35);
  border-color: var(--green-dark);
  animation: tap-pulse 1s ease-in-out infinite;
}

@keyframes tap-pulse {
  0%   { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(74, 122, 90, 0.55); }
  60%  { transform: scale(1.15); box-shadow: 0 0 0 10px rgba(74, 122, 90, 0); }
  100% { transform: scale(0.85); box-shadow: 0 0 0 0 rgba(74, 122, 90, 0); }
}

.image-attribution {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* ── Session display ── */
.session-display {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
  text-align: center;
}

.phase-line {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 8px;
  min-height: 1rem;
}

.phrase-line {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 14px;
  min-height: 2.6rem;
}

.progress-track {
  height: 6px;
  background: var(--green-light);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--green-dark);
  transition: width 0.3s;
}

.progress-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ── Controls ── */
.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* ── Post SUDS ── */
.post-suds {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  margin: 0 0 28px;
}

.post-suds-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.suds-delta {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--text);
  text-align: center;
  min-height: 1.2rem;
}

.suds-delta strong { color: var(--green-dark); }

/* ── Info section ── */
.info-section a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.info-section a:hover { color: var(--green-mid); }

.point-list {
  list-style: decimal;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0 16px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.numbered-steps {
  list-style: decimal;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 18px;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Science sections ── */
.science-cols {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 14px 0 18px;
}

.science-col-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.science-col.supporting .science-col-title { color: var(--green-dark); }
.science-col.critical .science-col-title { color: #B35A1F; }

.science-col .bullet-list { margin: 6px 0 0; }

.science-note {
  background: var(--green-light);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

.trademark-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  background: #FFF8E1;
  border: 1px solid #E8D9A0;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 480px) {
  .session-display { padding: 16px; }
  .phrase-line { font-size: 0.95rem; }
}
