:root {
  font-family:
    'Inter',
    'SF Pro Display',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #eef2ef;
  background: #0c1111;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: dark;
  --mint: #a4edc8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}
::selection {
  background: #a4edc8;
  color: #0c1111;
}
.static-answers {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px;
  line-height: 1.6;
  color: #c3d0c9;
}
.static-answers h1,
.static-answers h2,
.static-answers h3 {
  color: #eef2ef;
}
.static-answers h2 {
  margin-top: 56px;
}
.static-answers a {
  color: var(--mint);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}
.ambient-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.ambient-background canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 800ms ease;
}
.site-header {
  min-height: 38px;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.site-wordmark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #eef5f1;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1;
}
.site-wordmark span {
  color: var(--mint);
}
.header-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 24px;
  margin-left: auto;
}
.about-button {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 8px 0;
  background: none;
  font-size: 14px;
  color: #c3cec9;
  border-bottom: 1px solid #a4edc855;
  transition:
    color 160ms,
    border-color 160ms;
}
.about-button > [data-icon] {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.about-button svg {
  display: block;
  flex-shrink: 0;
}
.about-button:hover {
  color: var(--mint);
  border-color: var(--mint);
}
.walkthrough {
  position: fixed;
  z-index: 80;
  width: min(340px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #729d85;
  border-radius: 14px;
  background: #14231c;
  box-shadow: 0 12px 40px #0008;
}
.walkthrough h2 {
  margin: 0 18px 10px 0;
  color: #eef5f1;
  font-size: 17px;
  font-weight: 550;
  line-height: 1.4;
}
.walkthrough-target {
  outline: 2px solid var(--mint);
  outline-offset: 5px;
}
.walkthrough-progress {
  margin: 0 30px 20px 0;
  color: #93a69b;
  font-size: 12px;
}
.walkthrough-description {
  margin: 0;
  color: #c3d0c9;
  font-size: 13px;
  line-height: 1.6;
}
.walkthrough-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.walkthrough-actions button {
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #a9b9b0;
  font-size: 14px;
}
.walkthrough-actions .walkthrough-next {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--mint);
  color: #11271c;
  font-weight: 550;
}
main {
  flex: 1;
  display: grid;
  align-items: center;
  padding: 32px 28px 96px;
}
.launch-content {
  width: min(100%, 760px);
  margin: 0 auto;
  animation: enter 650ms ease-out both;
}
h1 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 640;
  margin: 0 0 44px;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 2px 30px #0c1111;
}
h1 span {
  color: var(--mint);
}
.question-form {
  background: #111817eb;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid #ffffff1f;
  border-radius: 22px;
  padding: 22px 22px 16px;
  box-shadow:
    0 1px 0 #ffffff0d inset,
    0 24px 70px #00000059;
  transition:
    border-color 180ms,
    box-shadow 180ms;
}
.question-form:focus-within {
  border-color: #a4edc899;
  box-shadow:
    0 0 0 4px #a4edc814,
    0 24px 70px #00000059;
}
textarea {
  width: 100%;
  min-height: 96px;
  resize: none;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #eef2ef;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.2px;
}
textarea::placeholder {
  color: #a8b5af;
  opacity: 1;
}
.composer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
}
.upload-notice {
  flex: 1;
  margin: 0 12px;
  color: #a9b9b0;
  font-size: 11px;
  line-height: 1.4;
}
.upload-button {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  color: #aebdb5;
  cursor: pointer;
  transition:
    background 150ms,
    color 150ms;
}
.upload-button:hover {
  background: #a4edc812;
  color: var(--mint);
}
.upload-button:focus-within {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}
.submit-button {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  border: 0;
  border-radius: 13px;
  background: var(--mint);
  color: #12271e;
  flex-shrink: 0;
  transition:
    background 150ms,
    transform 150ms;
}
.submit-button > [data-icon] {
  display: grid;
  place-items: center;
  line-height: 0;
}
.submit-button svg {
  display: block;
}
.submit-button:hover:not(:disabled) {
  background: #c0f8dd;
  transform: translateY(-2px);
}
.submit-button:active:not(:disabled) {
  transform: translateY(0);
}
.submit-button:disabled {
  background: #394e44;
  color: #a5b8ae;
}
.site-footer {
  padding: 24px 48px 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8f9d96;
  font-size: 12px;
  letter-spacing: 0.1px;
}
.footer-year {
  color: #a7b5ad;
}
.info-dialog {
  background: #151e1a;
  color: #eff5f1;
  border: 1px solid #43564a;
  border-radius: 23px;
  width: min(540px, calc(100% - 32px));
  padding: 0;
  box-shadow: 0 24px 120px #0008;
}
.info-dialog::backdrop {
  background: #020907b8;
  backdrop-filter: blur(9px);
}
.dialog-content {
  padding: 40px;
  position: relative;
}
.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: #afc0b6;
}
.close-button:hover {
  background: #263a2e;
}
.dialog-icon {
  color: var(--mint);
  margin-bottom: 20px;
}
#dialog-title:focus {
  outline: none;
}
h2 {
  margin: 0 0 15px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 500;
}
.dialog-content p {
  font-size: 14px;
  line-height: 1.75;
  color: #b4c3ba;
  margin: 0 0 14px;
}
.dialog-questions {
  margin: 25px 0;
}
.dialog-questions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid #334339;
  text-align: left;
  font-size: 14px;
}
.dialog-questions button:hover {
  color: var(--mint);
}
.dialog-questions svg {
  color: var(--mint);
}
.edit-button {
  border: 1px solid #405749;
  border-radius: 9px;
  background: #22372b;
  font-size: 13px;
  padding: 12px 17px;
}
.edit-button:hover {
  background: #2e4939;
}
.history-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 248px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 14px;
  background: #0b1110d9;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-right: 1px solid #ffffff12;
  animation: enter 400ms ease-out both;
}
.history-top {
  display: flex;
  align-items: center;
  gap: 6px;
}
.history-top .history-new {
  flex: 1;
}
.panel-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #aebdb5;
  transition:
    background 150ms,
    color 150ms;
}
.panel-toggle:hover {
  background: #a4edc812;
  color: var(--mint);
}
.site-header .panel-toggle {
  margin: -8px 4px -8px -10px;
}
.history-new {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #ffffff1f;
  border-radius: 10px;
  background: #ffffff08;
  font-size: 14px;
  color: #dfe9e3;
  transition:
    border-color 150ms,
    color 150ms;
}
.history-new:hover {
  border-color: #a4edc880;
  color: var(--mint);
}
.history-panel nav {
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}
.history-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.history-panel li button {
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 14px;
  color: #aebdb5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    background 150ms,
    color 150ms;
}
.history-panel li button:hover {
  background: #a4edc80d;
  color: #e4eee8;
}
.history-panel li button[aria-current='page'] {
  background: #a4edc817;
  color: #eef5f1;
}
.has-history {
  padding-left: 248px;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-height: 950px) {
  main {
    padding-bottom: 150px;
  }
}
@media (max-width: 900px) {
  .history-panel,
  .site-header .panel-toggle {
    display: none;
  }
  .has-history {
    padding-left: 0;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 25px 24px;
    gap: 16px;
    flex-wrap: wrap;
  }
  .site-wordmark {
    font-size: 14px;
    letter-spacing: 0.07em;
  }
  .about-button {
    font-size: 12px;
  }
  .about-button svg {
    display: none;
  }
  main {
    padding: 48px 24px 80px;
  }
  h1 {
    font-size: clamp(34px, 10vw, 48px);
    margin-bottom: 32px;
    white-space: normal;
    text-wrap: balance;
  }
  .question-form {
    border-radius: 20px;
    padding: 19px 18px 14px;
  }
  textarea {
    font-size: 16px;
    min-height: 120px;
  }
  .site-footer {
    padding: 20px 24px;
    font-size: 10px;
  }
  .dialog-content {
    padding: 38px 26px 28px;
  }
}
@media (max-width: 380px) {
  .site-header {
    padding-inline: 18px;
  }
  main {
    padding-inline: 18px;
  }
  .site-footer {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.showing-answer .ambient-background {
  opacity: 0.2;
}
.showing-answer .site-header {
  justify-content: space-between;
}
main.answer-main {
  display: block;
  padding: 8px 48px 64px;
}
.answer-view {
  max-width: 1180px;
  margin: 0 auto;
  animation: answer-appear 0.8s ease-in-out both;
}
@media (prefers-reduced-motion: reduce) {
  /* Keep the requested opacity fade; movement and looping effects remain disabled. */
  .answer-view {
    animation: answer-appear 0.8s ease-in-out both !important;
  }
}
@keyframes answer-appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.answer-loading {
  margin: 40px 0;
  font-size: 16px;
  color: #c5d0ca;
}

h1.answer-question {
  margin: 16px 0 0;
  max-width: 900px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.4px;
  font-weight: 600;
  text-align: left;
  white-space: normal;
  text-shadow: none;
}
h1.answer-question:focus {
  outline: none;
}

.takeaways {
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
  max-width: 900px;
}
.takeaways p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: #e4eee8;
}
.takeaways .is-linkable {
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition:
    color 150ms,
    background 150ms;
}
.takeaways [role='button'] {
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: #8eaa9a;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.takeaways [role='button']:hover {
  color: var(--mint);
}
.takeaways [role='button']:focus-visible {
  color: var(--mint);
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 3px;
}
.takeaways [role='button'][aria-pressed='true'] {
  color: var(--mint);
  background: #a4edc81a;
}
.selection-note {
  position: fixed;
  z-index: 15;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(40svh, 280px);
  overflow-y: auto;
  padding: 18px 48px 18px 18px;
  border: 1px solid #547762;
  border-radius: 14px;
  background: #14211bf5;
  box-shadow: 0 12px 40px #0005;
  backdrop-filter: blur(14px);
}
.selection-note p {
  margin: 0;
  color: #dcebe2;
  font-size: 13px;
  line-height: 1.65;
}
.selection-note button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #acc7b7;
}
.selection-note button:hover {
  color: var(--mint);
  background: #a4edc812;
}
@media (min-width: 1280px) {
  .answer-main:has(.evidence-drawer.is-open) .selection-note {
    right: 484px;
  }
}
@media (max-width: 760px) {
  .selection-note {
    right: 16px;
    bottom: 16px;
  }
}

.glance {
  margin-top: 40px;
}
.glance > h2,
.section-heading > h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  color: #e7efea;
}
.section-hint,
.drawer-section > .section-hint {
  margin: 0 0 14px;
  max-width: 900px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #93a69b;
}
.section-heading {
  margin-bottom: 16px;
}
.section-heading > .section-hint {
  margin: 0;
}
.summary-section {
  margin-top: 22px;
}
.summary-section .section-hint {
  margin-bottom: 8px;
}
.summary-section .takeaways {
  margin-top: 0;
}
.limitations .section-hint {
  margin: 6px 0 0;
}
.gap-hint {
  margin: 8px 0 0;
}
.graph-error {
  padding: 20px;
  border: 1px solid #435c4d;
  border-radius: 12px;
  background: #111a16;
  color: #c3d0c9;
  font-size: 14px;
  line-height: 1.7;
}
.graph-error > p {
  margin: 0 0 15px;
}
.graph-error-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.graph-error-actions button {
  padding: 9px 14px;
  border: 1px solid #617e6c;
  border-radius: 7px;
  background: #1b3024;
  color: var(--mint);
}
.graph-error details {
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.graph-error summary {
  cursor: pointer;
}
.direction {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 550;
  color: #eef5f1;
}
.direction svg {
  color: var(--mint);
  flex-shrink: 0;
}
.certainty {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #c3d0c9;
}
.certainty-dots {
  display: inline-flex;
  gap: 3px;
}
.certainty-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid #6f8c7c;
}
.certainty-dots i.on {
  background: var(--mint);
  border-color: var(--mint);
}
.result-cell:not(.gap),
.finding-row {
  position: relative;
}
.finding-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
}
.result-cell:not(.gap) > :not(.finding-open),
.finding-row > :not(.finding-open) {
  pointer-events: none;
}
.certainty .certainty-info {
  pointer-events: auto;
}
.finding-open:hover {
  background: #a4edc805;
}
.finding-row .finding-open {
  grid-column: auto;
}
.result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  font-size: 13px;
  color: #a9b9b0;
}
.result-breakdown {
  font-size: 12px;
  color: #93a69b;
  line-height: 1.5;
}
.is-dimmed {
  opacity: 1;
}
.is-linked {
  box-shadow:
    0 0 0 1px var(--mint) inset,
    0 0 24px #a4edc81f;
}
.is-dimmed,
.is-linked {
  transition:
    opacity 160ms,
    box-shadow 160ms;
}

.matrix-head,
.matrix-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(2, minmax(0, 1.25fr));
  gap: 10px;
  align-items: stretch;
}
.matrix-head {
  padding-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #dfe9e3;
}
.matrix-head [role='columnheader'] + [role='columnheader'] {
  text-align: center;
}
.matrix-group-label {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8fa699;
}
.matrix-row {
  margin-bottom: 10px;
}
.matrix-practice {
  align-self: center;
  font-size: 15px;
  line-height: 1.45;
  color: #e7efea;
  padding-right: 8px;
}
.matrix-row > span[role='cell'] {
  display: flex;
}
.result-cell {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 92px;
  padding: 14px 16px;
  text-align: left;
  background: #131c19e6;
  border: 1px solid #2c3d35;
  border-radius: 12px;
  transition:
    border-color 150ms,
    background 150ms,
    opacity 160ms,
    box-shadow 160ms;
}
.result-cell:not(.gap) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  column-gap: 16px;
}
.result-cell > .direction,
.result-cell > .result-meta {
  grid-column: 1;
}
.result-study-count {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-width: 40px;
  color: #a9b9b0;
  font-size: 11px;
  line-height: 1.2;
}
.result-study-count strong {
  color: #eef5f1;
  font-size: 26px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.result-cell > .result-breakdown {
  grid-column: 1 / -1;
}
.result-cell.gap {
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 1px dashed #4a5f54;
  color: #a9b9b0;
  font-size: 14px;
}
.result-cell:hover,
.finding-row:hover {
  border-color: #46634f;
  background: #16211d;
}
.result-cell.gap:hover {
  background: #a4edc808;
}
.result-cell[aria-expanded='true'],
.finding-row[aria-expanded='true'] {
  border-color: #7fb898;
  background: #182620;
}
.result-cell:focus-visible,
.finding-row:focus-visible,
.combined button:focus-visible,
.gap-chips button:focus-visible,
.map-cell:focus-visible {
  outline-offset: 2px;
}

.view-switch {
  scroll-margin-top: 72px;
  scroll-margin-bottom: 72px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin-bottom: 20px;
  border: 1px solid #2c3d35;
  border-radius: 10px;
  background: #111916;
}
.view-switch button {
  padding: 6px 14px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: 13px;
  color: #a9b9b0;
  transition:
    background 150ms,
    color 150ms;
}
.glance > .view-switch {
  display: flex;
  width: fit-content;
  margin-bottom: 18px;
}
.marsh > .view-switch + h2 {
  margin-top: 0;
}
.view-switch button:hover {
  color: #eef5f1;
}
.view-switch button[aria-pressed='true'] {
  background: #a4edc81a;
  color: #eef5f1;
}
.view-switch button:focus-visible {
  outline-offset: 1px;
}
.graph-loading {
  min-height: 480px;
}
.chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.chart-controls label {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #a9b9b0;
}
.chart-controls select {
  max-width: min(320px, 100%);
  padding: 9px 32px 9px 12px;
  border: 1px solid #3a5446;
  border-radius: 8px;
  background: #111a16;
  color: #e7efea;
  font: inherit;
}
.chart-controls select:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}
.study-chart-group + .study-chart-group {
  margin-top: 28px;
}
.study-chart-group h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
  color: #b8c9bf;
  font-size: 12px;
}
.chart-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  color: #96aa9e;
}
.chart-rows {
  display: grid;
  gap: 4px;
  max-height: 520px;
  overflow-y: auto;
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: #4b6756 transparent;
}
.chart-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(160px, 1.6fr) 32px 210px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #2b3a33;
  border-radius: 8px;
}
.chart-row-name {
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #dfe9e3;
}
.chart-row-name span + span {
  font-size: 12px;
  color: #a9b9b0;
}
.chart-row-bar {
  min-width: 0;
}
.study-bar {
  display: block;
  width: 100%;
  height: 28px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: #a4edc809;
  text-align: left;
}
.study-bar:hover {
  background: #a4edc81a;
}
.study-bar-fill {
  display: flex;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
}
.study-bar-fill > span {
  display: grid;
  place-items: center;
  flex-basis: 0;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  color: #101c18;
}
.bar-increase,
.bar-above_reference {
  background: #a4d6ef;
}
.bar-decrease,
.bar-below_reference {
  background: #e7be7b;
}
.bar-mixed {
  background: #c5b3e6;
}
.bar-no_effect,
.bar-comparable {
  background: #b9c8bf;
}
.bar-unclear {
  background: repeating-linear-gradient(135deg, #8fa699 0 3px, #b5c5bb 3px 5px);
}
.bar-coverage {
  background: var(--mint);
}
.chart-breakdown {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.5;
  color: #a9b9b0;
}
.chart-total {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.chart-grade .certainty {
  width: max-content;
  gap: 6px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.chart-grade .certainty-dots {
  flex-shrink: 0;
}
.chart-grade {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 6px;
  padding-left: 14px;
  border-left: 1px solid #2c3d35;
}
.chart-effect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #dfe9e3;
}
.chart-effect svg {
  flex-shrink: 0;
}
.chart-gaps,
.chart-empty {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #a9b9b0;
}
.chart-gaps > span {
  display: block;
}
.chart-gaps ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.chart-gaps button {
  padding: 6px 10px;
  border: 1px dashed #4a5f54;
  border-radius: 8px;
  background: transparent;
  color: #b9c7bf;
  font: inherit;
}
.view-switch [aria-busy='true'] {
  opacity: 0.65;
  cursor: progress;
}
@media (max-width: 1100px) {
  .chart-row {
    grid-template-columns: minmax(140px, 1fr) minmax(120px, 1.5fr) 24px;
  }
  .chart-grade {
    grid-column: 2 / -1;
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 600px) {
  .chart-controls label {
    width: 100%;
  }
  .chart-controls select {
    width: 100%;
    max-width: 100%;
  }
  .chart-row {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 8px;
  }
  .chart-row-name,
  .chart-grade {
    grid-column: 1 / -1;
  }
}

.combined {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid #2b3a33;
}
.combined h3,
.marsh h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #e7efea;
}
.combined ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.combined li {
  margin: 0 -12px;
  border-radius: 8px;
  position: relative;
}
.combined button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
  color: #c3d0c9;
  transition: background 150ms;
}
.combined button:hover {
  background: #a4edc80d;
}
.combined button[aria-expanded='true'] {
  background: #a4edc814;
  color: #eef5f1;
}
.combined .pack-note,
.drawer-section > .pack-note,
.drawer-body > .pack-note,
.claims .pack-note,
.coverage .pack-note {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 2px solid #cf7777;
  border-radius: 0 6px 6px 0;
  background: #e8838310;
  font-size: 13px;
  line-height: 1.5;
  color: #efb3b3;
}
.combined li + li::before {
  content: '';
  position: absolute;
  top: -3.5px;
  left: 12px;
  right: 12px;
  border-top: 1px solid #22302a;
}
.combined li.is-linked::before,
.combined li.is-linked + li::before {
  display: none;
}
.combined button > span:first-child::first-letter {
  text-transform: uppercase;
}
.combined li svg {
  vertical-align: -2px;
  color: #7f978a;
}
.combined .direction {
  font-size: 13px;
  flex-shrink: 0;
}

.headline-fact {
  max-width: 900px;
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid #3a5446;
  border-radius: 8px;
  background: #a4edc80a;
}
.fact-label {
  display: block;
  font-size: 13px;
  color: #a9b9b0;
}
.headline-fact strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: -0.4px;
  font-weight: 600;
  color: var(--mint);
}
.headline-fact p {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #b9c7bf;
}
.marsh h2 {
  margin-top: 34px;
}
.trend-note {
  margin: -2px 0 14px;
  font-size: 13px;
  line-height: 1.65;
  color: #b9c7bf;
}
.finding-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.finding-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(200px, 1.6fr) minmax(150px, 1fr) minmax(170px, 0.9fr) 80px;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 18px;
  text-align: left;
  background: #131c19e6;
  border: 1px solid #2c3d35;
  border-radius: 12px;
  transition:
    border-color 150ms,
    background 150ms,
    opacity 160ms,
    box-shadow 160ms;
}
.finding-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #e7efea;
}
.finding-studies {
  font-size: 13px;
  color: #a9b9b0;
  text-align: right;
}
.finding-extra {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 12px;
  color: #93a69b;
}
.tag {
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #0f2219;
  background: #e6c27a;
}
.gap-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-top: 14px;
}
.gap-chips > span {
  font-size: 13px;
  color: #a9b9b0;
}
.gap-chips ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.gap-chips li {
  border-radius: 99px;
}
.gap-chips button {
  padding: 6px 12px;
  border: 1px dashed #4a5f54;
  border-radius: 99px;
  background: none;
  font-size: 13px;
  color: #b9c7bf;
  transition:
    border-color 150ms,
    background 150ms;
}
.gap-chips button:hover {
  background: #a4edc808;
  border-color: #6f8c7c;
}
.gap-chips button[aria-expanded='true'] {
  border-color: var(--mint);
  color: #eef5f1;
}

.coverage {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 18px;
}
.coverage p {
  margin: 0;
  font-size: 14px;
  color: #b9c7bf;
}
.coverage strong {
  color: #eef5f1;
  font-weight: 600;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12px;
  color: #c3d0c9;
}
.map-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.map-legend i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  font-style: normal;
}
.map-cell.d-thin,
.map-legend .d-thin {
  background: repeating-linear-gradient(135deg, #243c4e 0 4px, #2e4b60 4px 5px);
  color: #eef5f1;
  border: 1px solid #789eb7;
}
.map-cell.d-some,
.map-legend .d-some {
  background: #99c8ee;
  color: #11221b;
}
.map-cell.d-dense,
.map-legend .d-dense {
  background: #e8c77a;
  color: #11221b;
}
.map-legend .d-gap {
  background: #0f1713;
  border: 1px dashed #789182;
}
.map-legend .d-densest {
  background: #e8c77a;
  color: #11221b;
  box-shadow: 0 0 0 1.5px #11221b inset;
  outline: 1px solid #ffefd1;
  outline-offset: -1px;
  font-size: 10px;
}
.gap-map-scroll {
  min-width: 0;
  overflow-x: auto;
  padding: 20px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: #4b6756 transparent;
}
.gap-map {
  border-collapse: separate;
  border-spacing: 3px;
}
.gap-map thead th {
  height: 230px;
  width: 34px;
  vertical-align: bottom;
  padding: 0;
  position: relative;
  pointer-events: none;
}
.gap-map thead th > span {
  position: absolute;
  left: 14px;
  bottom: 6px;
  transform-origin: 0 100%;
  transform: rotate(-52deg);
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 450;
  color: #b9c7bf;
  pointer-events: none;
}
.gap-map thead .term-info {
  pointer-events: auto;
}
.gap-map thead th:focus-within {
  z-index: 2;
}
.gap-map tbody th {
  padding: 0 14px 0 0;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.3;
  text-align: right;
  color: #d5e0da;
  white-space: nowrap;
}
.gap-map td {
  width: 34px;
  height: 28px;
  padding: 0;
}
.map-gap {
  border: 1px dashed #789182;
  background: #0f1713;
  border-radius: 4px;
}
.map-gap.is-linked {
  border-color: var(--mint);
  box-shadow: none;
}
.map-cell {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;

  font-size: 12px;
  font-weight: 600;
  transition:
    transform 120ms,
    opacity 160ms,
    box-shadow 160ms;
}
.map-cell:hover {
  transform: scale(1.12);
}
.map-cell.densest {
  box-shadow: 0 0 0 1.5px #11221b inset;
  outline: 1px solid #ffefd1;
  outline-offset: -1px;
}
.map-rank {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 8px;
  line-height: 1;
}
.map-cell:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.map-cell.is-linked {
  box-shadow: 0 0 0 1px var(--mint) inset;
}
.map-cell[aria-expanded='true'] {
  box-shadow:
    0 0 0 2px var(--mint),
    0 0 0 4px #0c1111;
}
.limitations {
  max-width: 900px;
  margin: 28px 0 0;
  padding: 16px 20px 12px;
  border: 1px solid #3a4a41;
  border-left: 3px solid #e8c77a;
  border-radius: 8px;
  background: #e8c77a0a;
}
.limitations h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #f1e3bd;
}
.limitations ul {
  margin: 10px 0 0;
  padding-left: 20px;
}
.limitations li {
  font-size: 13.5px;
  line-height: 1.65;
  color: #c9d3cd;
  padding-bottom: 6px;
}

.gap-map {
  margin-right: 150px;
}

.evidence-drawer {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(460px, 100%);
  display: flex;
  flex-direction: column;
  background: #0f1614f5;
  border-left: 1px solid #2c3d35;
  box-shadow: -24px 0 60px #00000059;
  backdrop-filter: blur(14px);
  overscroll-behavior: contain;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.28s ease;
}
.evidence-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  animation: drawer-in 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes drawer-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
}
@keyframes drawer-swap {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px 18px 28px;
  border-bottom: 1px solid #22302a;
}
.drawer-head h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: #eef5f1;
}
.drawer-head h2:focus {
  outline: none;
}
.drawer-head h2 span {
  display: block;
  font-weight: 400;
  color: #b9c7bf;
}
.drawer-head h2 span::before {
  content: '× ';
  color: #7f978a;
}
.drawer-head h2.is-claim::first-letter {
  text-transform: uppercase;
}
.drawer-head h2 svg {
  vertical-align: -1px;
  color: #7f978a;
}
.drawer-close {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: -6px -8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #a9b9b0;
}
.drawer-close:hover {
  background: #a4edc80f;
  color: #eef5f1;
}
.drawer-close:focus-visible {
  outline-offset: 0;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 40px;
  scrollbar-width: thin;
  scrollbar-color: #3b5245 transparent;
  animation: drawer-swap 0.28s ease;
}
@media (prefers-reduced-motion: reduce) {
  .evidence-drawer,
  .evidence-drawer.is-open {
    transition: none;
    animation: none;
  }
  .drawer-body {
    animation: none;
  }
}
.drawer-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.drawer-finding-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
}
.drawer-finding-summary > .direction,
.drawer-finding-summary > .result-meta {
  grid-column: 1;
}
.drawer-finding-summary > .result-breakdown {
  grid-column: 1 / -1;
}
.drawer-finding-summary .result-study-count strong {
  font-size: 22px;
}
.drawer-summary p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #b9c7bf;
}
.drawer-gap {
  padding: 5px 12px;
  border: 1px dashed #4a5f54;
  border-radius: 99px;
  font-size: 13px;
  color: #d5e0da;
}
.drawer-section {
  margin-top: 28px;
}
.drawer-section h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #e7efea;
}
.drawer-section > .sources-count {
  margin: -6px 0 16px;
  font-size: 13px;
  color: #8fa699;
}
.drawer-section > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #b9c7bf;
}
.drawer-reasons {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: #c3d0c9;
}
.drawer-reasons li::marker {
  color: #6f8c7c;
}
.papers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.papers > li + li {
  padding-top: 22px;
  border-top: 1px solid #1f2b26;
}
.paper-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 550;
  color: #e7efea;
}
.paper-title a {
  color: inherit;
  text-decoration: none;
}
.paper-title a:hover {
  color: var(--mint);
}
.paper-title a:focus-visible {
  outline-offset: 2px;
  border-radius: 2px;
}
.paper-title svg {
  margin-left: 4px;
  vertical-align: -1px;
  color: #7f978a;
}
.paper-title > span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 400;
  color: #8fa699;
}
.claims {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.claims blockquote {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid #3b5a4a;
  font-size: 13.5px;
  line-height: 1.6;
  color: #c9d5ce;
}
.claim-line {
  display: block;
  margin: 6px 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: #8fa699;
}
.claim-line::first-letter {
  text-transform: uppercase;
}
.claim-line svg {
  vertical-align: -2px;
}

@media (min-width: 1280px) {
  main.answer-main {
    transition: padding-right 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .answer-main:has(.evidence-drawer.is-open) {
    padding-right: 508px;
  }
  @media (prefers-reduced-motion: reduce) {
    main.answer-main {
      transition: none;
    }
  }
}
@media (max-width: 760px) {
  main.answer-main {
    padding: 4px 20px 48px;
  }
  h1.answer-question {
    font-size: 18px;
    margin-top: 8px;
  }
  .takeaways p {
    font-size: 14.5px;
  }
  .matrix-head {
    display: none;
  }
  .matrix-row {
    grid-template-columns: 1fr 1fr;
  }
  .matrix-practice {
    grid-column: 1 / -1;
  }
  .matrix-row > span[role='cell'] {
    flex-direction: column;
    gap: 6px;
  }
  .matrix-row > span[role='cell']::before {
    content: attr(data-outcome);
    font-size: 11px;
    color: #8fa699;
  }
  .finding-row {
    grid-template-columns: 1fr auto;
  }
  .finding-row .certainty {
    grid-column: 1;
  }
  .finding-studies {
    text-align: right;
  }
}

.certainty-info {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 4px;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #a9bfb2;
  vertical-align: middle;
}
.term-info {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  pointer-events: auto;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-inline-start: 4px;
  padding: 0;
  border: 1px solid #455e50;
  border-radius: 50%;
  background: transparent;
  color: #a6bcae;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  vertical-align: middle;
}
.term-info::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
}
.term-info:hover,
.term-info[aria-expanded='true'] {
  color: var(--mint);
  border-color: var(--mint);
  background: #a4edc80d;
}
.certainty-info:hover {
  color: var(--mint);
  background: #a4edc812;
}
.certainty-info:focus-visible {
  outline-offset: 1px;
}
.certainty-dialog {
  width: min(550px, calc(100% - 32px));
  max-height: 85svh;
  overflow-y: auto;
  padding: 0;
  border: 1px solid #435c4d;
  border-radius: 16px;
  background: #111a16;
  color: #e7efea;
  box-shadow: 0 24px 80px #0007;
}
.certainty-dialog::backdrop {
  background: #030907b3;
  backdrop-filter: blur(5px);
}
.certainty-dialog-content {
  position: relative;
  padding: 30px;
  text-align: left;
}
.certainty-dialog h2 {
  margin: 0 30px 20px 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.certainty-dialog h2:focus {
  outline: none;
}
.certainty-dialog p,
.certainty-dialog li {
  font-size: 14px;
  line-height: 1.7;
  color: #c4d2c9;
}
.certainty-dialog p {
  margin: 0 0 14px;
}
.certainty-dialog .certainty-mixed-note {
  padding: 12px 14px;
  border-left: 2px solid var(--mint);
  background: #a4edc80a;
}
.certainty-dialog .certainty-scale-note {
  font-size: 12px;
  color: #9eb2a5;
}
.certainty-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #b7c9bd;
  background: none;
}
.certainty-dialog-close:hover {
  background: #a4edc812;
  color: var(--mint);
}
@media (max-width: 600px) {
  .certainty-dialog-content {
    padding: 26px 22px;
  }
}

.field-work {
  display: flex;
  min-height: calc(100vh - 240px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fw-in 0.5s ease both;
}
.field-work svg {
  width: min(820px, 100%);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.field-work svg * {
  transform-box: view-box;
  transform-origin: 0 0;
}

.fw-line,
.fw-hill,
.fw-ground,
.fw-furrow,
.fw-mound {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fw-line {
  stroke: var(--mint);
  stroke-width: 2;
}
.fw-body {
  fill: #8fd4b1;
}
.fw-skin {
  fill: #d4f3e3;
}
.fw-hat {
  fill: #b9ecd2;
}
.fw-boot {
  fill: #4e7d66;
}
.fw-limb {
  fill: none;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fw-sleeve {
  stroke: #8fd4b1;
}
.fw-trouser {
  stroke: #5f9a7c;
  stroke-width: 3.8;
}
.fw-back {
  opacity: 0.55;
}
.fw-tool {
  fill: none;
  stroke: #c3e8d4;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.fw-can {
  fill: #c3e8d4;
  fill-opacity: 0.8;
}
.fw-leaf {
  fill: var(--mint);
  fill-opacity: 0.82;
}
.fw-board {
  fill-opacity: 0.55;
}
.fw-hill {
  stroke: rgba(164, 237, 200, 0.2);
  stroke-width: 1.2;
  stroke-dasharray: 700;
  animation: fw-draw 1.6s ease-out both;
}
.fw-hill-far {
  stroke: rgba(164, 237, 200, 0.1);
  animation-delay: 0.15s;
}
.fw-ground {
  stroke: rgba(164, 237, 200, 0.5);
  stroke-width: 1.4;
  stroke-dasharray: 700;
  animation: fw-draw 1s ease-out both;
}
.fw-furrow {
  stroke: rgba(164, 237, 200, 0.13);
  stroke-width: 1;
  stroke-dasharray: 2 9;
}
.fw-furrow-near {
  stroke: rgba(164, 237, 200, 0.08);
  stroke-dasharray: 3 14;
}
.fw-mound {
  stroke: rgba(164, 237, 200, 0.4);
  stroke-width: 1.4;
}
.fw-tuft {
  fill: none;
  stroke: rgba(164, 237, 200, 0.35);
  stroke-width: 1.1;
  stroke-linecap: round;
}
.fw-far-tree {
  fill: rgba(164, 237, 200, 0.17);
  animation: fw-appear 0.8s ease both;
}
.fw-sun {
  fill: #a4edc8;
  fill-opacity: 0.6;
}
.fw-glow {
  fill: #a4edc8;
  fill-opacity: 0.05;
}
.fw-orbit {
  animation: fw-orbit cubic-bezier(0.2, 0.6, 0.35, 1) both;
}
.fw-fly {
  animation: fw-fly linear both;
}
.fw-bird {
  fill: none;
  stroke: rgba(164, 237, 200, 0.6);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: fw-flap 0.32s ease-in-out infinite alternate;
}
.fw-sprout {
  animation: fw-sprout 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.fw-fade {
  animation: fw-fade 0.3s ease forwards;
}
.fw-tree {
  animation: fw-sprout 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
.fw-dig {
  animation: fw-dig 1.1s ease-in-out infinite;
}
.fw-dirt {
  fill: rgba(164, 237, 200, 0.7);
  opacity: 0;
  animation: fw-dirt 1.1s ease-out infinite;
}
.fw-dirt-1 {
  animation-name: fw-dirt-far;
}
.fw-dirt-2 {
  animation-name: fw-dirt-high;
}

.fw-walk {
  animation: fw-walk linear both;
}
.fw-bob {
  animation: fw-bob calc(var(--stride) / 2) ease-in-out infinite alternate;
}
.fw-leg {
  animation: fw-stride var(--stride) ease-in-out infinite alternate;
}
.fw-leg-back,
.fw-arm {
  animation-direction: alternate-reverse;
}
.fw-arm {
  animation: fw-swing var(--stride) ease-in-out infinite alternate-reverse;
}
.fw-drop {
  fill: #c9f6df;
  animation: fw-drop 0.45s ease-in infinite;
}
.fw-drop-1 {
  animation-delay: 0.15s;
}
.fw-drop-2 {
  animation-delay: 0.3s;
}

.fw-nod {
  animation: fw-nod 2.4s ease-in-out infinite;
}
.fw-write {
  animation: fw-write 0.36s ease-in-out infinite alternate;
}
.fw-pollen {
  fill: var(--mint);
  opacity: 0;
  animation: fw-pollen 6s ease-out infinite;
}
.field-work-steps {
  display: grid;
  margin: 26px 0 0;
  font-size: 15px;
  letter-spacing: 0.1px;
  color: #c5d0ca;
}
.field-work-steps span {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  animation: fw-step ease both;
}
.field-work-steps span.is-last {
  animation-name: fw-step-last;
}

@keyframes fw-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes fw-draw {
  from {
    stroke-dashoffset: 700;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fw-sprout {
  from {
    transform: scale(0, 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    transform: scale(1, 1);
    opacity: 1;
  }
}
@keyframes fw-dig {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  45% {
    transform: rotate(16deg) translateY(1px);
  }
  62% {
    transform: rotate(-6deg) translateY(-2px);
  }
}
@keyframes fw-dirt {
  0%,
  55% {
    opacity: 0;
    transform: translate(0, 0);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-16px, -6px);
  }
}
@keyframes fw-dirt-far {
  0%,
  57% {
    opacity: 0;
    transform: translate(0, 0);
  }
  62% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-22px, 2px);
  }
}
@keyframes fw-dirt-high {
  0%,
  56% {
    opacity: 0;
    transform: translate(0, 0);
  }
  61% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-10px, -11px);
  }
}
@keyframes fw-walk {
  from {
    transform: translateX(0);
    opacity: 0;
  }
  6%,
  92% {
    opacity: 1;
  }
  to {
    transform: translateX(var(--walk));
    opacity: 0;
  }
}
@keyframes fw-bob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-1.4px);
  }
}
@keyframes fw-stride {
  from {
    transform: rotate(-24deg);
  }
  to {
    transform: rotate(24deg);
  }
}
@keyframes fw-swing {
  from {
    transform: rotate(-28deg);
  }
  to {
    transform: rotate(28deg);
  }
}
@keyframes fw-drop {
  from {
    opacity: 0;
    transform: translate(0, 0);
  }
  20% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate(2px, 16px);
  }
}
@keyframes fw-nod {
  0%,
  100% {
    transform: rotate(0deg);
  }
  40%,
  60% {
    transform: rotate(12deg);
  }
}
@keyframes fw-write {
  from {
    transform: rotate(-6deg);
  }
  to {
    transform: rotate(8deg);
  }
}
@keyframes fw-pollen {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  20% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate(14px, -96px);
  }
}
@keyframes fw-appear {
  from {
    opacity: 0;
  }
}
@keyframes fw-orbit {
  from {
    transform: rotate(-28deg);
  }
  to {
    transform: rotate(-2deg);
  }
}
@keyframes fw-fly {
  from {
    transform: translateX(600px);
    opacity: 0;
  }
  10%,
  85% {
    opacity: 1;
  }
  to {
    transform: translateX(-40px);
    opacity: 0;
  }
}
@keyframes fw-flap {
  from {
    transform: scale(1, 1);
  }
  to {
    transform: scale(1, -0.5);
  }
}
@keyframes fw-fade {
  to {
    opacity: 0;
  }
}
@keyframes fw-step {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  20%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@keyframes fw-step-last {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  20%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fw-walk,
  .fw-dirt,
  .fw-drop,
  .fw-pollen,
  .fw-fade,
  .fw-fly,
  .field-work-steps span:not(.is-last) {
    visibility: hidden;
  }
  .field-work-steps span.is-last {
    opacity: 1;
  }
}

.evidence-graph {
  margin-top: 4px;
}
.graph-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #4b6756 transparent;
}
.graph-frame {
  flex-shrink: 0;
}

.graph-node {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #2c3d35;
  border-radius: 10px;
  background: #131c19;
  font-size: 13px;
  line-height: 1.35;
  color: #e7efea;
  transition: opacity 160ms;
}
.graph-node.kind-condition {
  background: #111a17;
  border-style: solid;
  border-color: #34483e;
}
.graph-node.kind-outcome {
  border-color: #5f8f76;
  background: #15221d;
  font-weight: 550;
}
.graph-node.kind-combination {
  gap: 6px;
}
.graph-node ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.graph-node li {
  padding: 3px 8px;
  border-radius: 6px;
  background: #a4edc810;
  font-size: 12px;
}
.graph-node-note {
  font-size: 11px;
  color: #8fa699;
}
.graph-node.is-faded {
  opacity: 1;
}
.graph-frame:has(.graph-node.is-faded) .graph-node:not(.is-faded),
.graph-frame:has(.graph-node.is-faded) .graph-label:not(.is-faded) {
  border-color: var(--mint);
}
.graph-frame:has(.graph-node.is-faded) .graph-edge:not(.is-faded) {
  stroke: var(--mint);
}
.graph-header {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #8fa699;
}

.graph-edge {
  stroke: #557364;
  fill: none;
  transition:
    opacity 160ms,
    stroke 160ms;
}
.graph-edge.is-gap {
  stroke: #6b8277;
  stroke-dasharray: 6 5;
}
.graph-edge.is-moderation {
  stroke-dasharray: 1.5 4;
  stroke-linecap: round;
}
.graph-edge.is-linked {
  stroke: var(--mint);
}
.graph-edge.is-dimmed,
.graph-edge.is-faded {
  opacity: 1;
  stroke: #557364;
}
.graph-edge.is-selected {
  stroke: #7fae96;
  opacity: 1;
}
.graph-flow {
  fill: none;
  stroke: var(--mint);
  stroke-linecap: round;
  stroke-dasharray: 3 15;
  pointer-events: none;
  animation: graph-flow 0.9s linear infinite;
}
.graph-flow.is-preview {
  opacity: 0.7;
}
@keyframes graph-flow {
  to {
    stroke-dashoffset: -18;
  }
}
@media (prefers-reduced-motion: reduce) {
  .graph-flow {
    animation: none;
    stroke-dasharray: none;
    opacity: 0.6;
  }
}

.graph-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border: 1px solid #3a5446;
  border-radius: 99px;
  background: #0f1714;
  color: #e7efea;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: all;
  transition:
    opacity 160ms,
    border-color 150ms,
    background 150ms;
}
.graph-label svg {
  color: var(--mint);
}
.graph-label:hover {
  border-color: #7fb898;
  background: #16231e;
}
.graph-label:has(.graph-evidence-button[aria-expanded='true']) {
  border-color: var(--mint);
  background: #1b2c25;
}
.graph-evidence-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}
.graph-label .certainty-info {
  width: 20px;
  height: 20px;
  padding: 2px;
}
.graph-label.is-gap {
  border-style: dashed;
  color: #b9c7bf;
}
.graph-label.is-linked {
  border-color: var(--mint);
  box-shadow: 0 0 0 1px var(--mint);
}
.graph-label.is-dimmed,
.graph-label.is-faded {
  opacity: 1;
}
.graph-label:focus-visible {
  outline-offset: 2px;
}
.graph-dots {
  display: inline-flex;
  gap: 2px;
}
.graph-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid #6f8c7c;
}
.graph-dots i.on {
  background: var(--mint);
  border-color: var(--mint);
}

.graph-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: 12px;
  color: #a9b9b0;
}
.graph-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.graph-legend > span > svg:not(.legend-svg) {
  color: var(--mint);
}
.legend-line {
  stroke: #6f8f7e;
  stroke-width: 2;
}
.legend-line.is-moderation {
  stroke-dasharray: 1.5 4;
  stroke-linecap: round;
}
.legend-line.is-gap {
  stroke-dasharray: 6 5;
  stroke-width: 1.4;
}
.graph-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #93a69b;
}

/* Native HTML nodes and badges share the SVG connection layer's coordinates. */
[hidden] {
  display: none !important;
}
.graph-frame {
  position: relative;
}
.graph-connections {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.graph-node,
.graph-header {
  position: absolute;
}
.graph-label {
  transform: translate(-50%, -50%);
}
.graph-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 14;
  pointer-events: stroke;
  cursor: pointer;
}
.graph-edge.is-context,
.graph-label.is-context {
  opacity: 0.85;
  stroke: var(--mint);
}
.graph-label.is-context {
  border-color: #7fb898;
}
.moderation-endpoint {
  fill: #6f8f7e;
  pointer-events: none;
}
.moderation-endpoint.is-linked {
  fill: var(--mint);
}
.claim-arrow {
  display: inline-flex;
  vertical-align: middle;
}
.result-cell:has(.finding-open[aria-expanded='true']),
.finding-row:has(.finding-open[aria-expanded='true']) {
  border-color: #7fb898;
  background: #182620;
}

.how-steps {
  margin: 24px 0 0;
  padding-left: 22px;
  color: #dfe9e3;
}
.how-steps li {
  padding-left: 6px;
  margin-bottom: 20px;
}
.how-steps strong {
  font-size: 15px;
  font-weight: 550;
}
.how-steps li p {
  margin: 6px 0 0;
  font-size: 14px;
}
@media (max-width: 700px) {
  .header-links {
    gap: 6px 16px;
  }
}
