.ch-hero {
  position: relative;
  background: var(--surface-2);
  border-radius: 12px;
  padding: 1.1rem;
  min-height: 21rem;
  overflow: hidden;
}
.ch-q {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: .9rem 1rem;
  max-width: 26rem;
  box-shadow: var(--shadow);
}
.ch-q__kicker {
  font-family: var(--font-head);
  font-size: .66rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.ch-q__text {
  font-size: 1rem;
  line-height: 1.4;
  margin: .35rem 0 .6rem;
  color: var(--ink);
}
.ch-q__opts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ch-q__opts li {
  font-size: .85rem;
  color: var(--ink-2);
  padding: .15rem 0;
}
.ch-q__opts li::before {
  content: "";
  display: inline-block;
  width: .7rem;
  height: .7rem;
  border: 1.5px solid var(--rule-strong);
  border-radius: 50%;
  margin-right: .5rem;
  vertical-align: -.05rem;
}
.ch-b {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  width: min(22rem, 86%);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.ch-b__tabs {
  display: flex;
  gap: .35rem;
  padding: .5rem .6rem 0;
}
.ch-b__tab {
  font-family: var(--font-head);
  font-size: .7rem;
  padding: .3rem .6rem;
  border-radius: 7px 7px 0 0;
  background: var(--surface-2);
  color: var(--muted);
}
.ch-b__tab.is-on {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-bottom: 0;
}
.ch-b__search {
  margin: 0 .6rem .7rem;
  padding: .55rem .85rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
}
.ch-b__search svg {
  flex: none;
  color: var(--muted);
}
.ch-b__caret {
  width: 1.5px;
  height: 1.1rem;
  background: var(--ink);
  margin-left: -.3rem;
}
@media (prefers-reduced-motion: no-preference) {
  .ch-b__caret {
    animation: ch-blink 1.1s steps(1) infinite;
  }
}
@keyframes ch-blink {
  50% {
    opacity: 0;
  }
}
.ch-b__tr {
  font-size: .8rem;
  color: var(--muted);
  margin: -.3rem .9rem .7rem;
}
@media (min-width: 40rem) {
  .ch-hero {
    padding: 1.4rem;
    min-height: 0;
  }
  .ch-b {
    right: 1.4rem;
    bottom: 1.4rem;
  }
}
.ch-log {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ch-log__list {
  list-style: none;
  margin: 0;
  padding: .4rem 1rem;
  background: var(--surface-2);
  border-radius: 12px;
}
.ch-log__row {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: .6rem;
  align-items: start;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--rule-strong);
  font-size: .85rem;
  color: var(--ink-2);
}
.ch-log__row:last-child {
  border-bottom: 0;
}
.ch-log__dot {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--dot);
  margin: .35rem auto 0;
  transition: background .4s, box-shadow .4s;
}
.ch-log__edge {
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
.ch-log__edge .ch-log__dot {
  background: none;
  border: 2px solid var(--ref);
  width: .5rem;
  height: .5rem;
}
.ch-log__site {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.ch-log__what {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}
.ch-log mark {
  background: none;
  color: inherit;
  border-radius: 3px;
  transition: background .4s, box-shadow .4s;
}
.ch-log__verdict {
  display: block;
  font-family: var(--font-head);
  font-size: .68rem;
  letter-spacing: .04em;
  margin-top: .2rem;
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s, opacity .4s;
}
.ch-log__note {
  font-family: var(--font-head);
  font-size: .7rem;
  color: var(--muted);
  margin: .5rem 0 0;
}
[data-state=log-flag] .ch-log mark {
  box-shadow: 0 0 0 1.5px var(--rule-strong);
  background: var(--surface);
}
[data-state=log-flag] .ch-log__row.is-hit .ch-log__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
}
[data-state=log-flag] .ch-log__row.is-hit .ch-log__site {
  color: var(--ink);
  font-weight: 600;
}
[data-state=log-flag] .ch-log__verdict {
  max-height: 2rem;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .ch-log * {
    transition: none !important;
  }
}
.key-sq {
  width: 9px;
  height: 9px;
  border-radius: 1.5px;
  display: inline-block;
  background: var(--accent);
}
.g-svg .bar-fill {
  fill: var(--dot);
}
.g-svg .bar-fill--accent {
  fill: var(--accent);
}
.g-svg .dens {
  fill: var(--dot);
  fill-opacity: .35;
  stroke: var(--dot);
  stroke-width: 1.5;
}
.g-svg .dens--accent {
  fill: var(--accent);
  fill-opacity: .3;
  stroke: var(--accent);
}
.g-svg .ci {
  stroke: var(--dot);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.g-svg .ci--80 {
  stroke-width: 4;
}
.g-svg .ci--accent {
  stroke: var(--accent);
}
.g-svg .row-rule {
  stroke: var(--rule);
}
