.hallucination-quick-check {
  --quick-ink: #101411;
  --quick-accent: #315d0b;
  width: min(var(--max), calc(100% - 44px));
  margin: 36px auto 0;
  border: 1px solid var(--quick-ink);
  background: #f4f8e8;
  color: var(--quick-ink);
  color-scheme: light;
}

.hallucination-quick-check__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  gap: 28px;
  padding: 28px;
  border-bottom: 1px solid var(--quick-ink);
}

.hallucination-quick-check__heading > span,
.hallucination-quick-check__privacy {
  color: var(--quick-accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hallucination-quick-check h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.05;
}

.hallucination-quick-check__heading p {
  align-self: end;
  margin: 0;
  color: #30433f;
  font-size: 15px;
  line-height: 1.7;
}

.hallucination-quick-check__form {
  display: grid;
  gap: 14px;
  padding: 24px 28px 26px;
}

.hallucination-quick-check__form label {
  color: var(--quick-ink);
  font-size: 12px;
  font-weight: 800;
}

.hallucination-quick-check__form textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--quick-ink);
  border-radius: 0;
  padding: 14px;
  color: var(--quick-ink);
  background: #fff;
  font: inherit;
  line-height: 1.55;
}

.hallucination-quick-check__form textarea::placeholder { color: #536058; opacity: 1; }

.hallucination-quick-check__form textarea:focus-visible {
  outline: 3px solid #c7f34a;
  outline-offset: 2px;
}

.hallucination-quick-check__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--quick-accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hallucination-quick-check__examples button {
  max-width: 100%;
  min-height: 34px;
  border: 1px solid var(--quick-accent);
  border-radius: 0;
  padding: 7px 10px;
  color: var(--quick-accent);
  background: transparent;
  font: inherit;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.hallucination-quick-check__examples button:hover,
.hallucination-quick-check__examples button:focus-visible {
  color: var(--quick-ink);
  background: #c7f34a;
}

.hallucination-quick-check__controls,
.hallucination-quick-check__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hallucination-quick-check__controls button,
.hallucination-quick-check__result-actions button,
.hallucination-quick-check__result-actions a {
  min-height: 42px;
  border: 1px solid var(--quick-ink);
  border-radius: 0;
  padding: 10px 14px;
  color: var(--quick-ink);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hallucination-quick-check__controls button[type="submit"],
.hallucination-quick-check__result-actions a {
  color: #ffffff;
  background: var(--quick-ink);
}

.hallucination-quick-check__controls button:hover,
.hallucination-quick-check__controls button:focus-visible,
.hallucination-quick-check__result-actions button:hover,
.hallucination-quick-check__result-actions button:focus-visible,
.hallucination-quick-check__result-actions a:hover,
.hallucination-quick-check__result-actions a:focus-visible {
  background: #c7f34a;
  color: var(--quick-ink);
}

.hallucination-quick-check__result {
  display: grid;
  gap: 8px;
  border-left: 4px solid var(--quick-accent);
  padding: 14px 16px;
  color: var(--quick-ink);
  background: #fff;
  line-height: 1.55;
}

.hallucination-quick-check__result[hidden] { display: none; }

.hallucination-quick-check__result[data-state="empty"] {
  border-left-color: #a23c25;
}

.hallucination-quick-check__result strong { font-size: 14px; }
.hallucination-quick-check__result small { color: #4b5a52; }
.hallucination-quick-check__privacy { margin: 0; text-transform: none; letter-spacing: 0; font-weight: 600; }

.hallucination-quick-check__next {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  align-items: center;
  margin: 0;
  padding: 0 28px 24px;
  color: var(--quick-accent);
  font: 800 10px/1.5 Consolas, "Courier New", monospace;
  text-transform: uppercase;
}

.hallucination-quick-check__next a {
  color: var(--quick-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hallucination-quick-check__next a:hover,
.hallucination-quick-check__next a:focus-visible {
  color: var(--quick-accent);
}

.hallucination-quick-check--home .hallucination-quick-check__result-actions--home {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 0;
  margin-top: 4px;
  border: 1px solid var(--quick-ink);
  background: #e6eed8;
}

.hallucination-quick-check--home .hallucination-quick-check__result-actions--home[hidden] { display: none; }

.home-quick-route__primary,
.home-quick-route__share {
  min-width: 0;
  padding: 20px;
}

.home-quick-route__primary { border-right: 1px solid var(--quick-ink); }

.home-quick-route__kicker {
  margin: 0;
  color: var(--quick-accent);
  font: 800 9px/1.4 Consolas, "Courier New", monospace;
  letter-spacing: .04em;
}

.home-quick-route__primary h3 {
  max-width: 620px;
  margin: 12px 0 8px;
  font-size: 23px;
  line-height: 1.1;
}

.home-quick-route__primary > p:not(.home-quick-route__kicker):not(.home-quick-route__review-note),
.home-quick-route__share > p {
  max-width: 620px;
  margin: 0;
  color: #34443d;
  font-size: 11px;
  line-height: 1.58;
}

.home-quick-route__actions,
.home-quick-route__share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.hallucination-quick-check--home .home-quick-route__actions a,
.hallucination-quick-check--home .home-quick-route__actions button,
.hallucination-quick-check--home .home-quick-route__share-actions button,
.hallucination-quick-check--home .home-quick-route__share-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--quick-ink);
  padding: 9px 12px;
  color: var(--quick-ink);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.hallucination-quick-check--home .home-quick-route__actions [data-quick-open] {
  color: #fff;
  background: var(--quick-ink);
}

.hallucination-quick-check--home .home-quick-route__actions [data-quick-paid] {
  border-color: #315d0b;
  color: #315d0b;
  background: #c7f34a;
}

.hallucination-quick-check--home .home-quick-route__actions .home-quick-route__prompt {
  border-color: #7c6d4d;
  background: #f4efe2;
  color: #3b3428;
}

.home-quick-route__prompt-notice {
  max-width: 660px;
  margin: 10px 0 0;
  color: #675f50;
  font-size: 10px;
  line-height: 1.55;
}

.hallucination-quick-check--home .home-quick-route__actions a:hover,
.hallucination-quick-check--home .home-quick-route__actions a:focus-visible,
.hallucination-quick-check--home .home-quick-route__actions button:hover,
.hallucination-quick-check--home .home-quick-route__actions button:focus-visible,
.hallucination-quick-check--home .home-quick-route__share-actions button:hover,
.hallucination-quick-check--home .home-quick-route__share-actions button:focus-visible,
.hallucination-quick-check--home .home-quick-route__share-actions a:hover,
.hallucination-quick-check--home .home-quick-route__share-actions a:focus-visible {
  background: #fff;
  color: var(--quick-ink);
}

.home-quick-route__review-note {
  margin: 12px 0 0 !important;
  color: #46651d !important;
  font: 700 9px/1.55 Consolas, "Courier New", monospace !important;
}

.home-quick-route__share summary {
  cursor: pointer;
  color: var(--quick-ink);
  font-size: 13px;
  font-weight: 800;
}

.home-quick-route__share summary::marker { color: var(--quick-accent); }
.home-quick-route__share > p { margin-top: 12px; }

@media (max-width: 760px) {
  .hallucination-quick-check--home .hallucination-quick-check__result-actions--home { grid-template-columns: 1fr; }
  .home-quick-route__primary { border-right: 0; border-bottom: 1px solid var(--quick-ink); }
  .home-quick-route__primary,
  .home-quick-route__share { padding: 18px; }
  .home-quick-route__primary h3 { font-size: 20px; }
  .home-quick-route__actions,
  .home-quick-route__share-actions { flex-direction: column; }
  .home-quick-route__actions > *,
  .home-quick-route__share-actions > * { width: 100%; }
}

@media (max-width: 760px) {
  .hallucination-quick-check { width: calc(100% - 32px); }
  .hallucination-quick-check__heading { display: block; padding: 22px 20px; }
  .hallucination-quick-check__heading p { margin-top: 16px; }
  .hallucination-quick-check__form { padding: 20px; }
  .hallucination-quick-check__next { padding: 0 20px 20px; }
  .hallucination-quick-check__controls,
  .hallucination-quick-check__result-actions { align-items: stretch; flex-direction: column; }
  .hallucination-quick-check__controls > *,
  .hallucination-quick-check__result-actions > * { width: 100%; text-align: center; }
}
