
.embedded header,
.embedded footer,
.embedded .eyebrow {
  display: none;
}
.embedded main {
  padding: 0;
  max-width: none;
}
.embedded .preview {
  margin: 0 0 20px;
}

:root {
  color-scheme: light;
  --ink: #17251e;
  --muted: #55635b;
  --green: #254b38;
  --line: #dce2db;
  --paper: #fff;
  --lime: #e4f46b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
main {
  max-width: 780px;
  margin: auto;
  padding: 36px 36px 24px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
}
.brand {
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.4px;
}
.brand-ai {
  font-weight: 400;
}
.divider {
  height: 18px;
  border-left: 1px solid var(--line);
}
.edition {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}
.preview {
  margin: 24px 0 0;
  padding: 10px 14px;
  background: #f3f5ed;
  border-left: 3px solid #b6c38e;
  color: #586149;
  font-size: 12px;
  line-height: 1.5;
}
header {
  padding: 48px 0 30px;
}
.kicker {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px;
}
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -2px;
  max-width: 620px;
  margin: 0 0 24px;
}
.intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
}
.intro p {
  margin: 0;
}
.experiment {
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 6px;
}
.step {
  display: flex;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 0 0 20px;
}
.step span {
  font-weight: 700;
  text-transform: uppercase;
}
.audio-control {
  display: flex;
  gap: 14px;
  align-items: center;
}
.audio-icon {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}
.play {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.replay {
  margin-left: auto;
}
.audio-error {
  color: #9b2d21;
  font-size: 14px;
}
.transcript {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.transcript p {
  margin: 10px 0 0;
}
.rule {
  border-top: 1px solid var(--line);
  margin: 26px 0;
}
.question {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 14px;
}
.estimate-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.estimate-field input {
  font: inherit;
  font-size: 25px;
  width: 126px;
  padding: 8px 12px;
  border: 1px solid #8b9a8e;
  border-radius: 3px;
  color: var(--ink);
  background: white;
}
.estimate-field span {
  font-size: 14px;
  color: var(--muted);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
  min-width: 0;
}
legend {
  padding: 0;
}
.choices {
  display: flex;
  gap: 9px;
}
.choices label {
  flex: 1;
  position: relative;
  cursor: pointer;
}
.choices input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choices span {
  display: block;
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 14px;
}
.choices input:checked + span {
  background: #edf2e8;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  font-weight: 700;
}
.choices input:focus-visible + span {
  outline: 3px solid #8ca155;
  outline-offset: 3px;
}
button,
input,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
  color: var(--ink);
  padding: 9px 14px;
  min-height: 44px;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #829744;
  outline-offset: 4px;
}
.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: var(--green);
  color: white;
  border: 0;
  font-weight: 600;
  padding: 14px 20px;
}
.primary:hover {
  background: #173825;
}
.privacy {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 0;
}
[role='alert'] {
  color: #963a2a;
}
h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: 0;
}
.receipt {
  background: #f0f4e7;
  border-left: 4px solid #6c8350;
  padding: 28px;
  margin: 30px 0;
}
.receipt h2 {
  font-size: 30px;
  max-width: 560px;
}
.receipt p:last-child {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.other {
  padding: 10px 0 28px;
  border-bottom: 1px solid var(--line);
}
.other .question {
  font-size: 18px;
  font-weight: 400;
  max-width: 520px;
}
.editorial {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.75;
  padding: 14px 0 20px;
}
.editorial p {
  margin: 18px 0;
}
.results {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.results-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.quiet {
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  padding: 8px;
}
.legend {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  margin: 20px 0;
}
.own-dot {
  width: 11px;
  height: 11px;
  border: 2px solid var(--green);
  background: var(--lime);
  border-radius: 50%;
  display: inline-block;
}
.reference {
  height: 14px;
  border-left: 2px dashed var(--muted);
  margin-left: 12px;
}
.plot-label {
  font-size: 14px;
  margin: 22px 0 6px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.plot-label strong {
  font-weight: 500;
}
.plot-label span {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
svg {
  width: 100%;
  height: auto;
  display: block;
}
.axis-label {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  margin: 4px 0 25px;
}
.timing-title {
  font-size: 19px;
  font-weight: 500;
  margin: 28px 0 20px;
}
.timing-row {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.timing-row p {
  font-size: 14px;
  margin: 0 0 12px;
}
.count-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.count-cell {
  background: #f5f6f2;
  padding: 12px;
}
.count-cell span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.count-cell strong {
  display: block;
  font-size: 24px;
  font-weight: 500;
}
.data {
  font-size: 13px;
  color: var(--muted);
  margin: 24px 0;
}
.data summary,
.transcript summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 32px;
}
.sample-note {
  font-size: 12px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  main {
    padding: 24px 20px;
  }
  .edition {
    display: none;
  }
  header {
    padding-top: 34px;
  }
  .experiment {
    padding: 20px;
  }
  .question {
    font-size: 17px;
  }
  .choices {
    gap: 6px;
  }
  .choices span {
    font-size: 13px;
    padding: 11px 4px;
  }
  .receipt {
    padding: 23px 20px;
  }
  .receipt h2 {
    font-size: 27px;
  }
  .editorial {
    font-size: 19px;
  }
  .results-top {
    align-items: flex-start;
  }
  .results-top h2 {
    font-size: 28px;
  }
  .plot-label {
    font-size: 13px;
  }
  .plot-label strong {
    max-width: 75%;
  }
  .count-cell {
    padding: 10px;
  }
  .replay {
    font-size: 12px;
    padding: 7px;
  }
  .play {
    font-size: 14px;
    gap: 10px;
  }
  .audio-icon {
    width: 36px;
    height: 36px;
  }
  footer {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.preview:empty { display: none; }
