:root {
  --paper: #f6f5ef;
  --ink: #25392f;
  --muted: #6b756c;
  --green: #294c3d;
  --mint: #e3eadc;
  --line: #dcded3;
  --white: #fffef9;
  --orange: #d87649;
  --radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}
.estimate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.estimate-item,
.bayesian-estimate {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 10px;
  background: #f0f3e9;
  overflow-wrap: anywhere;
}
.estimate-value {
  font:
    36px Georgia,
    serif;
  margin: 8px 0;
}
.estimate-item .quiet,
.bayesian-estimate .quiet {
  font-size: 11px;
}
.exact-matrix {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #bd6b40;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 40px;
}
.site-header {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -1.6px;
  text-decoration: none !important;
  gap: 10px;
}
.brand-dot {
  color: var(--orange);
  margin-left: -10px;
}
.brand-lockup {
  min-width: 0;
}
.site-header-tagline {
  height: auto;
  min-height: 120px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand-tagline {
  margin: 7px 0 0 49px;
  max-width: 290px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.brand-mark {
  color: var(--paper);
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  background: var(--green);
  border-radius: 50%;
}
.sensitive-star {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.12em;
  background: currentColor;
  -webkit-mask: url("sensitive-star.36beae053afa.svg") center / contain no-repeat;
  mask: url("sensitive-star.36beae053afa.svg") center / contain no-repeat;
}
.brand-mark .sensitive-star {
  width: 70%;
  height: 70%;
}
.account-email {
  overflow-wrap: anywhere;
}
.response-panel form > .actions {
  margin-top: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.header-note {
  font-size: 13px;
  color: var(--muted);
}
.creator-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
}
.creator-navigation .button {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 13px;
}
.eyebrow,
.small-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  display: block;
}
.eyebrow {
  color: #526c56;
  margin-bottom: 18px;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #5e7751;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -1.7px;
  line-height: 1.08;
}
h1 {
  font-size: 64px;
  margin-bottom: 24px;
}
h1 em {
  font-weight: 400;
  color: #68794b;
}
h2 {
  font-size: 34px;
  margin-bottom: 18px;
  letter-spacing: -0.9px;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
}
.lede.small {
  font-size: 16px;
}
.quiet {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #173a2c;
}
.secondary {
  background: transparent;
  border-color: #bdc5b5;
  color: var(--ink);
}
.secondary:hover {
  background: #e9ecdf;
}
.danger {
  border-color: #ce9885;
  color: #994627;
  background: transparent;
}
.full {
  width: 100%;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 72px 0 62px;
}
.hero .actions {
  margin-top: 30px;
}
.hero-caption {
  margin-top: 20px;
  font-size: 11px;
}
.hero > .vignette {
  justify-self: center;
}
.hero .vignette-title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.2;
}
.hero .vignette-question {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}
.vignette-details {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-top: 16px;
}
.vignette-prompt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}
.steps-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  gap: 25px;
}
.steps-strip > div {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}
.steps-strip > div > span {
  color: #7c8b65;
  font:
    20px Georgia,
    serif;
}
.steps-strip p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.steps-strip strong {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}
.template-section {
  padding: 58px 0 16px;
}
.template-section .section-heading {
  flex-wrap: wrap;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.template-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 19px;
  background: #fbfaf5;
  text-decoration: none !important;
  transition: background 0.2s;
}
.template-card:hover {
  background: #e9eddf;
}
.template-symbol {
  display: block;
  font:
    32px Georgia,
    serif;
  color: #688056;
  margin-bottom: 24px;
}
.template-card h3 {
  font-size: 16px;
}
.template-card p {
  font-size: 12px;
  color: var(--muted);
  min-height: 42px;
}
.template-bottom {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 9px;
  color: #798272;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 25px;
}
.template-section > .quiet {
  font-size: 10px;
  margin-top: 17px;
}
.privacy-note {
  border-radius: var(--radius);
  background: var(--mint);
  padding: 35px 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 16px 0 60px;
}
.privacy-note h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
}
.privacy-note p {
  font-size: 13px;
  color: #657260;
  margin: 0;
  max-width: 800px;
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 30px;
  font-size: 10px;
  color: #7a8274;
}
.usage-shell {
  padding: 48px 0;
}
.usage-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.usage-heading .lede {
  margin-bottom: 24px;
}
.usage-periods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.usage-periods a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
}
.usage-periods a[aria-current] {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}
.usage-cohort {
  margin: 16px 0 28px;
  max-width: 760px;
}
.usage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.usage-metric {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.usage-metric h2 {
  margin: 0;
  font: 600 13px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}
.usage-metric p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.usage-metric .usage-number {
  color: var(--ink);
  font: 42px/1.2 Georgia, "Times New Roman", serif;
  margin: 10px 0;
}
.usage-number span {
  font-size: 24px;
}
.usage-metric-accent {
  background: var(--mint);
}
.usage-panel {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.usage-panel h2,
.usage-notes h2 {
  font-size: 27px;
}
.usage-panel > .quiet {
  max-width: 760px;
}
.usage-table-scroll {
  overflow-x: auto;
  margin: 20px 0 0;
}
.cohort-percent {
  display: block;
  font-size: 12px;
}
@media (min-width: 821px) {
  .invitation-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.usage-table-scroll table {
  width: 100%;
  min-width: 540px;
  font-size: 13px;
  margin: 0;
}
.usage-table-scroll th,
.usage-table-scroll td {
  padding: 13px 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.usage-table-scroll th:first-child,
.usage-table-scroll td:first-child {
  text-align: left;
  padding-left: 0;
  overflow-wrap: anywhere;
  max-width: 300px;
}
.usage-table-scroll thead th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.usage-table-scroll tbody th {
  font-weight: 500;
}
.usage-chart {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100px;
}
.usage-bar-total {
  fill: #c9d5be;
}
.usage-bar-engaged {
  fill: var(--green);
}
.usage-chart-axis {
  stroke: var(--line);
}
.usage-legend,
.usage-chart-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}
.usage-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  background: #c9d5be;
}
.usage-legend span + span::before {
  background: var(--green);
}
.usage-chart-dates {
  justify-content: space-between;
}
.usage-trend-details {
  margin-top: 22px;
}
.usage-trend-details .usage-table-scroll {
  max-height: 320px;
}
.usage-notes {
  background: var(--mint);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  font-size: 13px;
}
.usage-context-fields {
  margin-top: 24px;
}
.usage-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 700px) {
  .usage-heading {
    display: block;
  }
  .usage-heading > .pill {
    display: inline-block;
    margin-bottom: 20px;
  }
  .usage-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .usage-metric {
    padding: 16px;
  }
  .usage-metric .usage-number {
    font-size: 34px;
  }
  .usage-context-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.brand-signature {
  padding-bottom: 24px;
  text-align: left;
}
.brand-signature-line {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.brand-signature-wordmark {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.05em;
}
.brand-signature-wordmark > span {
  color: var(--orange);
}
.page-title {
  font-size: 44px;
}
.text-link {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 270px;
  gap: 70px;
  padding: 52px 0 70px;
}
.editor-aside {
  padding-top: 130px;
}
.editor-template-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 24px 0;
}
.editor-template-option p {
  margin: 0;
}
.aside-card {
  background: #e8eddf;
  border-radius: var(--radius);
  padding: 28px;
}
.aside-card h2 {
  font-size: 27px;
}
.aside-card p {
  font-size: 13px;
}
.aside-card hr {
  border: 0;
  border-top: 1px solid #cbd4c0;
  margin: 25px 0;
}
.example-answer {
  padding: 11px 14px;
  border: 1px solid #94a47e;
  border-radius: 8px;
  background: #f9faf3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 13px;
}
.example-answer.plain {
  border-color: #d3d8cb;
  background: transparent;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 18px 0 8px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #ced3c5;
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
  color: var(--ink);
  min-height: 46px;
}
.invitation-request-card { overflow-wrap: anywhere; }
.invitation-request-card dt { font-weight: 600; margin-top: 1rem; }
.invitation-request-card dd { margin: .25rem 0 1rem; }

textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #8b9286;
}
details {
  margin: 20px 0;
}
summary {
  cursor: pointer;
  font-size: 13px;
  min-height: 32px;
  padding: 4px 0;
}
summary .quiet {
  font-size: 11px;
  margin-left: 8px;
}
.question-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  margin: 25px 0;
}
.question-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 15px;
}
.question-number {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.card-tools {
  display: flex;
  gap: 4px;
}
.icon-button {
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.answer-row {
  display: flex;
  gap: 7px;
  margin-bottom: 9px;
}
.answer-row input {
  min-width: 0;
}
.star-button {
  min-width: 46px;
  font-size: 22px;
  color: #8a917e;
  display: grid;
  place-items: center;
}
.star-button[aria-pressed="false"] .sensitive-star {
  opacity: 0.45;
}
.star-button[aria-pressed="true"] {
  background: #e7eddb;
  border-color: #9cab81;
  color: #566d35;
}
#protection-label .sensitive-star {
  margin-right: 0.4em;
}
.add-answer {
  margin-top: 5px;
  font-size: 12px;
  background: transparent;
  border: none;
  color: #466846;
  min-height: 40px;
}
.protection-summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 0;
  font-size: 12px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.protection-summary strong {
  font-weight: 500;
  color: #5e7447;
}
.branch-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  margin: 10px 0;
  align-items: center;
  font-size: 12px;
}
.publish-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.publish-bar p {
  font-size: 11px;
  margin: 0;
}
.notice {
  border-radius: 9px;
  padding: 15px;
  font-size: 13px;
  margin: 20px 0;
  background: #e7eddf;
}
.notice.error {
  background: #f5e5df;
  color: #873d29;
  border: 1px solid #deb5a6;
}
.alpha-banner {
  margin: 16px auto;
  border: 1px solid #c9b87c;
  background: #f2ecd5;
}
.alpha-banner strong {
  display: inline-block;
  margin-right: 0.45rem;
  color: #55491f;
}
.notice.warning {
  background: #f2ecd5;
  color: #706023;
}
.respond-shell {
  max-width: 640px;
  margin: 60px auto 90px;
  min-height: 500px;
}
.response-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  padding: 40px;
}
.response-panel .page-title {
  font-size: 40px;
}
.privacy-callout {
  display: flex;
  gap: 16px;
  background: #eaf0e1;
  padding: 18px;
  border-radius: 12px;
  margin: 25px 0 20px;
}
.privacy-callout p {
  font-size: 14px;
  margin: 0;
}
.intro-copy {
  font-size: 16px;
  line-height: 1.7;
}
.response-panel > .button {
  margin-top: 20px;
}
.question-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  gap: 10px;
}
.pill {
  display: inline-block;
  border-radius: 50px;
  background: #e9efdf;
  color: #4d693f;
  padding: 5px 12px;
  font-size: 10px;
  white-space: nowrap;
}
progress {
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 18px 0 30px;
  border: 0;
  background: #eceee5;
}
progress::-webkit-progress-bar {
  background: #eceee5;
  border-radius: 5px;
}
progress::-webkit-progress-value {
  background: #7b8e59;
  border-radius: 5px;
}
progress::-moz-progress-bar {
  background: #7b8e59;
}
.question-title {
  font-size: 32px;
  line-height: 1.2;
}
.choice-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 15px;
  border: 1px solid #d2d8c9;
  background: transparent;
  padding: 18px;
  border-radius: 10px;
  min-height: 60px;
  margin: 10px 0;
  color: var(--ink);
}
.choice-button::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #c3cbb7;
  border-radius: 50%;
  flex-shrink: 0;
}
.choice-button[aria-pressed="true"] {
  background: #e8eedc;
  border-color: #758b55;
}
.choice-button[aria-pressed="true"]::after {
  background: #566f3f;
  border: 5px solid #e8eedc;
  outline: 1px solid #758b55;
}
.probability-row {
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  overflow-wrap: anywhere;
}
.centered {
  text-align: center;
}
.finish-mark {
  background: #e8eedc;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  margin: 0 auto 30px;
  font-size: 30px;
  color: #738651;
}
.manage-shell {
  padding: 50px 0 70px;
}
.manage-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  margin: 30px 0 55px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.share-panel h2 {
  margin-top: 18px;
}
.share-panel > p,
.private-panel > p {
  font-size: 13px;
  color: var(--muted);
}
.share-panel .actions {
  margin-top: 15px;
}
.private-panel {
  background: #e9eedf;
}
.qr-code {
  display: block;
  margin-top: 10px;
  background: white;
}
.results-section .section-heading {
  margin-top: 35px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  margin: 25px 0;
  padding: 20px 0;
}
.metrics > div {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border: 0;
}
.metrics strong {
  display: block;
  font:
    32px Georgia,
    serif;
}
.metrics span {
  font-size: 11px;
  color: var(--muted);
}
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
  margin: 20px 0;
}
.result-card h3 {
  font:
    25px/1.25 Georgia,
    serif;
}
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
}
th {
  font-weight: 600;
  color: var(--muted);
  font-size: 10px;
}
td,
th {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}
td:first-child,
th:first-child {
  padding-left: 0;
}
td {
  white-space: nowrap;
}
td:first-child {
  white-space: normal;
  min-width: 100px;
}
caption {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  padding: 10px 0;
}
.result-empty {
  background: #f3f5eb;
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  margin: 20px 0;
}
.management-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}
.recent-section {
  margin: 20px 0 16px;
}
.recent-link {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.skip-link {
  position: absolute;
  left: 15px;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.source-tools textarea {
  font-family: monospace;
  font-size: 13px;
}
.source-tools .button {
  margin-top: 10px;
}
.probability-table {
  margin-top: 12px;
}
.draft-note {
  font-size: 12px;
  color: var(--muted);
}
.draft-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
#editor-fields {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.draft-controls p {
  margin: 0;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--green);
  text-decoration: underline;
  font-size: 13px;
}
.estimate-item .estimate-uncertainty,
.bayesian-estimate .estimate-uncertainty {
  font-size: 12px;
  margin: 12px 0 0;
  line-height: 1.5;
}
.estimate-item .uncertainty-warning {
  color: #706023;
}
#account-options {
  margin-top: 20px;
}
#account-options .actions {
  gap: 10px;
}
.branch-row select {
  min-width: 0;
}
.explanation-intro {
  padding: 64px 0 30px;
  max-width: 810px;
}
.explanation-intro h1 {
  font-size: 52px;
}
.explanation-intro .lede {
  max-width: 670px;
}
.explanation-contents {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  font-size: 14px;
}
.explanation-contents a,
.explanation-next .text-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.explanation-page {
  max-width: 790px;
  margin: 0 auto;
}
.explanation-section {
  border-top: 1px solid var(--line);
  padding: 38px 0 26px;
  scroll-margin-top: 24px;
}
.explanation-section > p,
.explanation-limits,
.explanation-details {
  line-height: 1.75;
}
.explanation-section .eyebrow {
  margin-bottom: 12px;
}
.worked-question,
.aggregate-example,
.explanation-takeaway {
  padding: 26px;
  background: var(--mint);
  border-radius: var(--radius);
  margin: 25px 0;
}
.worked-question > p:first-child,
.explanation-takeaway p {
  font: 24px/1.4 Georgia, serif;
  letter-spacing: -0.4px;
}
.worked-question > p:last-child,
.explanation-takeaway p {
  margin-bottom: 0;
}
.worked-question .quiet {
  margin-top: 16px;
}
.answer-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.answer-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  border-radius: 7px;
  color: var(--white);
  background: var(--green);
  font-weight: 600;
  font-size: 15px;
}
.plain-chip {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.explanation-section > .vignette {
  margin: 25px auto;
}
.aggregate-values {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
}
.aggregate-values strong {
  display: block;
  font: 44px/1.2 Georgia, serif;
}
.aggregate-values p span {
  display: block;
  font-size: 13px;
}
.aggregate-example code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
}
.explanation-details {
  margin: 24px 0 0;
}
.explanation-details summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 12px;
}
.explanation-limits {
  padding-left: 22px;
}
.explanation-limits li {
  margin-bottom: 18px;
  padding-left: 5px;
}
.explanation-next {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  border-top: 1px solid var(--line);
  padding: 30px 0 60px;
}
.explanation-next p {
  width: 100%;
  margin-bottom: 0;
}
.library-page {
  max-width: 1040px;
  margin: 0 auto;
}
.library-section {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.library-section .section-heading p {
  margin: 12px 0 0;
  font-size: 15px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}
.library-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  min-width: 0;
}
.library-card > .small-label {
  color: var(--muted);
  margin-bottom: 16px;
}
.library-card h3 {
  font: 27px/1.2 Georgia, serif;
}
.library-card > p,
.library-note p,
.topic-action p,
.support-note p {
  line-height: 1.7;
}
.template-preview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin: 20px 0;
  font-size: 14px;
}
.template-preview summary {
  cursor: pointer;
  font-weight: 600;
}
.template-preview > ol {
  padding-left: 22px;
}
.template-preview > ol > li {
  margin: 20px 0;
}
.template-preview li p {
  margin-bottom: 10px;
}
.preview-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.preview-answers li {
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--mint);
  font-size: 12px;
}
.preview-answers .sensitive-star {
  color: var(--green);
}
.template-guidance {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.library-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}
.library-card-actions .text-link {
  font-size: 13px;
}
.library-note,
.support-note {
  border-radius: var(--radius);
  background: var(--mint);
  padding: 28px;
  margin: 0 0 32px;
}
.library-note h2 {
  font-size: 28px;
}
.topic-actions {
  margin-top: 28px;
}
.topic-action {
  padding: 26px 0 12px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.topic-action h3 {
  font: 28px/1.25 Georgia, serif;
}
.action-page a,
.library-note a {
  text-underline-offset: 3px;
}
.follow-up-principles,
.follow-up-example ul,
.action-page .topic-action ul {
  padding-left: 22px;
  line-height: 1.7;
}
.follow-up-principles li,
.follow-up-example li,
.action-page .topic-action li {
  margin-bottom: 10px;
}
.follow-up-examples {
  margin-top: 28px;
}
.follow-up-example {
  padding: 24px 0 16px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.follow-up-example h3 {
  font: 28px/1.25 Georgia, serif;
}
.follow-up-question {
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 12px;
}
.follow-up-resources {
  margin-top: 24px;
}
.action-example {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin: 24px 0;
}
.action-example .small-label {
  margin-bottom: 16px;
}
.action-avoid {
  color: var(--muted);
}
.action-offer {
  margin-bottom: 0;
  font: 22px/1.5 Georgia, serif;
}
.results-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--mint);
  padding: 28px;
  border-radius: var(--radius);
  margin: 32px 0;
}
.results-next .eyebrow {
  margin-bottom: 12px;
}
.results-next h2 {
  margin-bottom: 12px;
}
.results-next p {
  margin-bottom: 0;
}
.vignette-option {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.option-description {
  padding-top: 24px;
}
.option-description > p {
  max-width: 350px;
  line-height: 1.7;
}
.vignette {
  margin: 0;
  padding: 30px;
  max-width: 540px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.vignette-question {
  font: 27px/1.2 Georgia, serif;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.sensitive-key {
  font-size: 13px;
  color: var(--green);
  margin-bottom: 24px;
}
.sensitive-key .sensitive-star {
  margin-right: 5px;
}
.path-headings {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.answer-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.path-source,
.path-record {
  padding: 11px 14px;
  border-radius: 7px;
  font: 24px/1.3 Georgia, serif;
}
.path-source {
  border: 1px solid var(--line);
}
.path-source .sensitive-star {
  font-size: 16px;
}
.path-record {
  background: var(--green);
  color: var(--white);
}
.ordinary-record {
  color: var(--ink);
  background: var(--mint);
}
.path-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.path-arrow > span:last-child {
  font-size: 24px;
}
.vignette figcaption {
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
}
.story-steps {
  padding: 0;
  list-style: none;
  margin: 24px 0 0;
}
.story-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.story-steps li > div {
  min-width: 0;
}
.story-steps h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.story-steps p {
  font-size: 14px;
  margin-bottom: 0;
}
.story-number {
  color: #68794b;
  font: 27px/1.2 Georgia, serif;
}
.record-focus {
  text-align: center;
  padding: 22px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
}
.record-focus strong {
  font: 74px/1.3 Georgia, serif;
}
.possible-origins {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  margin-top: 25px;
}
.possible-origins > div > span,
.origin-or {
  font-size: 12px;
  color: var(--muted);
}
.possible-origins p {
  font-size: 15px;
  margin: 6px 0 0;
}
.origin-or {
  align-self: center;
}
.review-boundary {
  padding: 24px 0 45px;
  border-top: 1px solid var(--line);
  max-width: 760px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .wrap {
    padding-left: 26px;
    padding-right: 26px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
  }
  h1 {
    font-size: 50px;
  }
  .editor-layout {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .library-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .library-card,
  .library-note,
  .support-note,
  .action-example,
  .results-next {
    padding: 20px;
  }
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    height: 80px;
  }
  .site-header-tagline {
    height: auto;
    min-height: 106px;
    gap: 12px;
    align-items: flex-start;
  }
  .site-header-tagline > .text-link {
    padding-top: 8px;
    flex-shrink: 0;
    font-size: 13px;
  }
  .brand-tagline {
    margin-left: 44px;
    max-width: 235px;
    font-size: 11px;
  }
  .explanation-intro {
    padding: 38px 0 24px;
  }
  .explanation-intro h1 {
    font-size: 38px;
  }
  .explanation-contents {
    gap: 12px 18px;
  }
  .explanation-section {
    padding-top: 28px;
  }
  .worked-question,
  .aggregate-example,
  .explanation-takeaway {
    padding: 20px;
  }
  .aggregate-values {
    gap: 14px;
  }
  .aggregate-values strong {
    font-size: 35px;
  }
  .vignette-option {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
  }
  .option-description {
    padding-top: 0;
  }
  .option-description > p {
    max-width: none;
  }
  .vignette {
    padding: 22px;
  }
  .vignette-question {
    font-size: 25px;
  }
  .answer-path {
    grid-template-columns: minmax(0, 1fr) 55px minmax(0, 1fr);
    gap: 8px;
  }
  .path-source,
  .path-record {
    padding: 10px 8px;
    font-size: 21px;
  }
  .path-source .sensitive-star {
    font-size: 13px;
  }
  .possible-origins {
    gap: 10px;
  }
  .header-note {
    display: none;
  }
  .site-header:has(.creator-navigation) {
    height: auto;
    min-height: 100px;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 12px;
    align-items: center;
  }
  .header-actions:has(.creator-navigation) {
    flex: 0 0 auto;
    max-width: 50%;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  .header-actions:has(.creator-navigation) .language-choice {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
  }
  .creator-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  .brand {
    font-size: 29px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 29px;
  }
  .hero {
    display: block;
    padding: 42px 0 30px;
  }
  h1 {
    font-size: 45px;
    letter-spacing: -1.4px;
  }
  .lede {
    font-size: 15px;
  }
  .hero > .vignette {
    margin: 35px auto 0;
  }
  .hero-caption {
    font-size: 10px;
  }
  .hero .button {
    padding: 12px 16px;
    gap: 14px;
  }
  .steps-strip {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 26px 0;
  }
  .steps-strip > div {
    gap: 22px;
  }
  .steps-strip p {
    font-size: 12px;
  }
  .template-section {
    padding-top: 35px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .section-heading p {
    margin: 0;
  }
  h2 {
    font-size: 29px;
  }
  .template-grid {
    gap: 12px;
  }
  .template-card {
    padding: 18px 14px;
  }
  .template-card h3 {
    font-size: 15px;
  }
  .template-card p {
    font-size: 12px;
  }
  .template-bottom {
    font-size: 8px;
  }
  .privacy-note {
    padding: 25px 22px;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 35px;
  }
  .privacy-note h2 {
    font-size: 24px;
  }
  .site-footer {
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }
  .editor-layout {
    display: block;
    padding: 35px 0 45px;
  }
  .editor-aside {
    padding-top: 20px;
  }
  .page-title {
    font-size: 36px;
  }
  .question-card {
    padding: 18px 15px;
  }
  .publish-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .question-card-heading {
    gap: 5px;
  }
  .card-tools {
    gap: 3px;
  }
  .icon-button {
    min-width: 38px;
    padding: 6px;
  }
  .respond-shell {
    margin: 30px auto 45px;
    min-height: 450px;
  }
  .response-panel {
    padding: 27px 20px;
  }
  .response-panel .page-title {
    font-size: 33px;
  }
  .question-title {
    font-size: 29px;
  }
  .privacy-callout {
    padding: 15px;
    gap: 12px;
  }
  .manage-shell {
    padding: 35px 0;
  }
  .manage-grid {
    grid-template-columns: 1fr;
    margin-bottom: 35px;
  }
  .panel {
    padding: 23px;
  }
  .metrics > div {
    padding: 0 15px;
  }
  .metrics strong {
    font-size: 28px;
  }
  .metrics span {
    font-size: 10px;
  }
  .result-card {
    padding: 20px 16px;
  }
  .result-card h3 {
    font-size: 23px;
  }
  .branch-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .management-actions {
    flex-direction: column;
  }
  .management-actions .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* A small native selector on public pages; never reload drafts or responses. */
.header-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.language-choice { display: flex; align-items: center; gap: 6px; margin: 0; }
.language-choice select { width: auto; padding: 4px 2px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.language-choice select:hover { color: var(--ink); }
.language-choice select:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.language-choice button { padding: 4px 8px; font-size: 12px; }

/* Legal notices use the same quiet typography as the surrounding forms. */
.legal-footer { display: flex; gap: 1.25rem; padding-bottom: 1.5rem; font-size: .85rem; }
.legal-footer a { color: var(--muted); text-underline-offset: .2em; }
.legal-document { max-width: 760px; margin: 2rem auto 4rem; line-height: 1.65; }
.legal-document h2 { margin-top: 2rem; }
.legal-digest { overflow-wrap: anywhere; }
.legal-choice { margin: 1.5rem 0; font-size: .95rem; }
.consent-control { display: flex; align-items: flex-start; gap: .75rem; margin: 1rem 0; line-height: 1.5; }
.consent-control input[type="checkbox"] { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; padding: 0; }
.invitation-request-card h2, .invitation-request-card .consent-control span, .request-delete-list li { overflow-wrap: anywhere; min-width: 0; }
.request-delete-list { margin-top: 1.5rem; }
.request-delete-list ul { max-height: 24rem; overflow-y: auto; }
.survey-notice-fields, .survey-privacy-notice { margin-top: 2rem; }
.survey-privacy-notice p, .survey-privacy-notice li { overflow-wrap: anywhere; }
#withdrawal-panel { margin-top: 1rem; }
#withdrawal-panel .button { display: block; margin-top: 1rem; }

/* Feedback stays visible without covering the work or taking keyboard focus. */
.site-header:has(.feedback-link) { height: auto; min-height: 100px; gap: 20px; padding-block: 20px; }
.site-header:has(.feedback-link) .brand-lockup, .site-header:has(.feedback-link) .brand-mark { flex-shrink: 0; }
.site-header:has(.feedback-link) .header-actions { flex: 1; min-width: 0; }
.feedback-link { border: 1px solid var(--green); background: #eaf0e1; color: var(--ink); font-size: 13px; padding: 9px 14px; min-height: 40px; }
.feedback-prompt { margin: 12px 0 32px; padding: 24px; background: #eaf0e1; border: 1px solid #bac8a8; border-radius: 18px; box-shadow: 0 8px 24px #2531210a; }
.feedback-prompt h2 { margin: 8px 0; font-size: 24px; }
.feedback-prompt p { margin: 0 0 16px; }
.feedback-prompt .eyebrow { margin-bottom: 8px; }
.feedback-prompt .actions { gap: 12px; }
.feedback-prompt .text-link { border: 0; background: transparent; padding-inline: 4px; }
.feedback-shell { max-width: 720px; margin: 28px auto 60px; }
.feedback-shell input:not([type=checkbox]), .feedback-shell select, .feedback-shell textarea { width: 100%; max-width: 100%; }
.feedback-shell textarea { resize: vertical; }
.feedback-privacy { margin-top: 24px; }
.feedback-message { white-space: pre-wrap; overflow-wrap: anywhere; padding-block: 24px; border-block: 1px solid var(--line); }
.feedback-contact, .feedback-summary p { overflow-wrap: anywhere; }
.feedback-delete { margin-top: 32px; border-top: 1px solid var(--line); padding-top: 20px; }
.feedback-delete form { margin-top: 20px; }
.feedback-filters { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 12px; margin: 24px 0; }
.feedback-filters .field-label { margin: 0; }
.feedback-filters select { min-width: 0; }
.feedback-summary { margin-block: 16px; }
@media (max-width: 700px) {
  .site-header:has(.feedback-link) { gap: 12px; }
  .site-header:has(.feedback-link) .brand-lockup { flex: 1; }
  .site-header:has(.feedback-link) .brand-tagline { margin-left: 0; }
  .feedback-shell { padding: 24px; }
  .feedback-prompt { padding: 20px; }
  .feedback-prompt h2 { font-size: 22px; }
  .feedback-filters { grid-template-columns: 1fr; gap: 8px; }
  .feedback-filters .field-label { margin-top: 10px; }
  .site-header:has(.feedback-link) .header-actions { max-width: 55%; }
}

/* Make protection and the actual change rate visible before any selection. */
.survey-protection { display: grid; gap: 10px; }
.survey-protection > strong { font-size: 18px; line-height: 1.4; }
#survey-rate-summary { font-weight: 600; }
.question-protection {
  background: #f4f4ee;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.question-protection.is-protected { background: #eaf0e1; border-color: #afbea0; }
.protection-heading { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: space-between; }
#protection-label { font-size: 17px; line-height: 1.4; }
.garbling-display { margin: 0; display: grid; gap: 2px; }
.garbling-display strong { font-size: 32px; font-weight: 650; line-height: 1.1; overflow-wrap: anywhere; }
.garbling-display span { font-size: 12px; }
#protection-explanation { margin: 12px 0 0; font-size: 14px; line-height: 1.55; }
.choice-content { display: grid; gap: 7px; min-width: 0; }
.choice-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.choice-label { font-size: 17px; overflow-wrap: anywhere; }
.response-protection-badge { display: inline-flex; align-items: center; gap: 5px; color: #3e5833; font-size: 12px; font-weight: 600; }
.choice-protected { border-color: #9bae88; }
.choice-change-rate { font-size: 12px; line-height: 1.5; color: #566350; }
.review-protection { font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
#question-review .response-protection-badge { margin-left: 8px; }

/* Bayesian summaries distinguish credible intervals from the detailed Wald calculations. */
.result-method { font-size: 18px; margin: 20px 0 10px; }
.bayesian-prior { font-size: 14px; }
.result-reasons p { margin: 0; }
.result-reasons ul { margin: 8px 0 0; padding-left: 20px; }
.bayesian-estimate .group-members { margin: 8px 0 0; font-size: 12px; }
.bayesian-estimate .credible-interval { font-size: 14px; font-weight: 600; }
.bayesian-summary > .quiet, .result-analysis > .quiet { font-size: 12px; }
.result-analysis .legacy-estimates { margin-top: 16px; }
