/* Extend the existing cream-and-forest site; keep the test workflow readable. */
.tester-kit { padding-bottom: 32px; }
.tester-kit [hidden] { display: none !important; }
.tester-kit section { padding: 0; }
.tester-kit .tester-heading { padding: 64px 0 40px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tester-heading h1 { margin: 12px 0 24px; font-size: clamp(2.2rem, 4.8vw, 3.55rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.tester-heading .lead { font-size: 1.12rem; color: var(--text-2); margin: 0 0 24px; }
.tester-kit h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 22px; }
.tester-kit h3 { font-size: 1.1rem; line-height: 1.35; margin: 18px 0 12px; }
.tester-kit .eyebrow { font-size: .875rem; }
.tester-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tester-kit .btn { font: inherit; font-weight: 650; min-height: 44px; justify-content: center; text-align: center; }
.tester-kit a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.tester-note { font-size: .94rem; color: var(--text-2); margin: 20px 0 0; }
.tester-note a, .tester-contact a, .tester-fallback a { overflow-wrap: anywhere; }
.tester-reward { padding: 32px; border-radius: 24px; color: var(--ink-on); background: linear-gradient(145deg, var(--forest), #0c392c); box-shadow: var(--shadow); }
.tester-reward .eyebrow { color: var(--sage-bg); }
.tester-reward h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.tester-reward p { margin: 20px 0; }
.tester-reward .tester-reward__note { border-top: 1px solid #618475; padding-top: 20px; font-size: .94rem; }
.tester-reward a { color: var(--ink-on); font-weight: 650; }
.tester-kit .tester-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 300px); align-items: center; gap: 40px; padding: 32px; margin-bottom: 40px; border: 1px solid var(--border); border-radius: 24px; background: linear-gradient(145deg, var(--card), var(--sage-bg)); }
.tester-video__copy { min-width: 0; }
.tester-video__copy > p { color: var(--text-2); }
.tester-video__copy > .btn { margin-top: 24px; }
.tester-video__player { min-width: 0; width: 100%; max-width: 300px; justify-self: center; }
.tester-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: var(--forest); box-shadow: var(--shadow); }
.tester-video__transcript { margin-top: 24px; }
.tester-video__transcript summary { cursor: pointer; padding-block: 12px; min-height: 44px; font-weight: 650; }
.tester-video__transcript ol { list-style: none; padding: 0; margin: 12px 0 0; }
.tester-video__transcript li { padding-block: 12px; border-top: 1px solid var(--border-strong); }
.tester-video__transcript span { font-variant-numeric: tabular-nums; color: var(--forest); font-weight: 650; }
.tester-video__transcript p { margin: 8px 0 0; color: var(--text-2); }
.tester-index { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 12px 0; border-block: 1px solid var(--border-strong); }
.tester-index a { padding: 9px 0; font-weight: 650; min-height: 44px; }
.tester-kit .tester-section { padding: 40px 0; border-bottom: 1px solid var(--border-strong); scroll-margin-top: 88px; }
.tester-start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; list-style: none; }
.tester-start p { margin: 0; color: var(--text-2); }
.tester-step { display: grid; place-items: center; width: 38px; height: 38px; background: var(--sage-bg); color: var(--forest); border-radius: 50%; font-weight: 750; }
.tester-intro { color: var(--text-2); max-width: 75ch; margin: 0 0 24px; }
.tester-scenarios { display: grid; gap: 12px; }
.tester-scenarios details { background: var(--card); border: 1px solid var(--border-strong); border-radius: 16px; padding: 20px 24px; }
.tester-scenarios summary { font-size: 1.1rem; font-weight: 700; cursor: pointer; min-height: 32px; padding-block: 4px; }
.tester-scenarios details > p { color: var(--text-2); }
.tester-scenarios ul { list-style: none; padding: 0; margin: 16px 0 0; }
.tester-scenarios li + li { border-top: 1px solid var(--border); }
.tester-scenarios label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 12px 0; }
.tester-scenarios input { width: 20px; height: 20px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--forest); }
.tester-scenarios input:checked + span { color: var(--text-2); text-decoration: line-through; }
.tester-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; padding: 28px; border: 1px solid var(--border-strong); background: var(--card); border-radius: 20px; }
.tester-field { min-width: 0; }
.tester-field--wide { grid-column: 1 / -1; }
.tester-form > p { margin: 0; color: var(--text-2); }
.tester-form label, .tester-result > label { display: block; font-weight: 650; margin-bottom: 8px; }
.tester-form input, .tester-form textarea, .tester-result textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); border: 1px solid var(--border-strong); border-radius: 10px; padding: 12px; background: #fff; }
.tester-form textarea, .tester-result textarea { resize: vertical; min-height: 140px; }
.tester-result { margin-block: 24px; }
.tester-result textarea { margin-bottom: 16px; line-height: 1.55; }
#tester-status { color: var(--forest); font-weight: 650; }
.tester-fallback { padding: 24px; border-left: 3px solid var(--sage); background: var(--card); }
.tester-fallback p { margin-top: 0; }
.tester-fallback .btn { margin: 0 12px 12px 0; }
.tester-terms { padding-left: 24px; max-width: 85ch; }
.tester-terms li { margin-bottom: 16px; padding-left: 8px; }
.tester-kit .tester-contact { padding: 36px 0 0; }
.tester-contact h2 { margin-bottom: 12px; }
.tester-kit :focus-visible { outline: 3px solid var(--forest); outline-offset: 4px; }
.tester-reward :focus-visible { outline-color: var(--ink-on); }
@media (max-width: 760px) {
  .tester-kit .tester-heading { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 36px; }
  .tester-start { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tester-start h3 { margin-top: 12px; }
  .tester-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .tester-kit .tester-video { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 24px; }
}
@media (max-width: 420px) {
  .tester-kit.wrap { padding-inline: 18px; }
  .tester-reward, .tester-scenarios details { padding: 22px; }
  .tester-actions { align-items: stretch; flex-direction: column; }
  .tester-form { padding: 16px; }
  .tester-kit .tester-video { padding: 20px; }
}
@media print {
  .site-head, .site-foot, .skip-link, .tester-actions, .tester-index, .tester-video, .tester-form, .tester-result, #tester-status { display: none !important; }
  .tester-kit .tester-heading { display: block; }
  .tester-reward { background: none; color: #000; box-shadow: none; border: 1px solid #000; }
  .tester-reward .eyebrow, .tester-reward a { color: #000; }
  .tester-scenarios details { break-inside: avoid; }
}
