:root {
  font-family: Inter, "Segoe UI", sans-serif;
  color: #1a332d;
  background: #f6f5ef;
  font-size: 15px;
  line-height: 1.55;
  --ink: #173c32;
  --green: #235a47;
  --line: #d6d9ca;
  --muted: #5c6b62;
  --paper: #fffefa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 0 max(5vw, 18px);
  gap: 38px;
  background: var(--ink);
  color: white;
}
a {
  color: #245c49;
  text-underline-offset: 3px;
}
header a {
  color: inherit;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 22px;
  flex: 1;
}
nav a {
  padding: 20px 0;
  color: #cbded2;
}
nav a[aria-current] {
  border-bottom: 2px solid #e5c886;
  color: #fff;
}
.brand {
  font:
    600 24px Georgia,
    serif;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mark {
  font: italic bold 22px Georgia;
  background: #e6e0bc;
  color: #123d31;
  padding: 1px 9px;
  border-radius: 4px;
}
main {
  width: min(1100px, 92vw);
  margin: 48px auto;
  min-height: 72vh;
}
h1,
h2,
h3,
p {
  margin: 0 0 0.8em;
}
h1 {
  font:
    normal clamp(36px, 5vw, 56px) / 1.1 Georgia,
    serif;
  letter-spacing: -0.035em;
}
h2 {
  font:
    normal 29px/1.2 Georgia,
    serif;
}
h3 {
  font-size: 17px;
  line-height: 1.4;
}
small,
.meta,
.hint {
  color: var(--muted);
}
.meta {
  font-size: 12px;
  letter-spacing: 0.025em;
}
.lead {
  color: var(--muted);
  font-size: 16px;
}
.panel,
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin: 14px 0;
}
.panel {
  border-top: 3px solid var(--green);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 20px;
}
.side {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
button,
select,
input,
textarea {
  font: inherit;
}
button {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}
button:hover {
  filter: brightness(1.12);
}
button.secondary,
header button {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}
header button {
  color: #fff;
  font-size: 13px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
textarea,
input,
select {
  border: 1px solid #b6c1af;
  border-radius: 4px;
  padding: 9px 11px;
  background: white;
  color: var(--ink);
  width: 100%;
}
textarea {
  min-height: 72px;
  resize: vertical;
}
input[type="checkbox"] {
  width: auto;
  margin: 0 0.35rem 0 0;
  accent-color: var(--green);
}
details {
  margin: 10px 0;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
form > * {
  margin-bottom: 9px;
}
.actions,
.heading,
.split {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.heading {
  justify-content: space-between;
}
.split > * {
  flex: 1;
}
.tag {
  display: inline-block;
  background: #e4eddf;
  color: #335241;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  margin: 1px;
}
.rule {
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}
.answer-text {
  white-space: pre-line;
}
.suggestions ol {
  padding-left: 1.4rem;
}
.suggestions li + li {
  margin-top: 1rem;
}
.suggestions li p, .connections .rule p {
  margin: .35rem 0;
}
.rule:last-child {
  border: 0;
}
blockquote {
  margin: 12px 0;
  padding: 8px 15px;
  border-left: 3px solid #bdc7a8;
  color: #394c40;
  background: #f3f5eb;
}
.notice {
  padding: 11px 15px;
  border-left: 3px solid #a57530;
  background: #f6eddc;
  margin: 12px 0;
}
.status {
  font-size: 14px;
  color: #375245;
}
.index {
  list-style: none;
  padding: 0;
}
.index li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.path {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.path span {
  background: #e6ebdf;
  border-radius: 3px;
  padding: 3px 7px;
}
.graph {
  width: 100%;
  height: 400px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fcfcf6;
}
.login {
  max-width: 520px;
  margin: 10vh auto;
}
footer {
  border-top: 1px solid var(--line);
  padding: 20px max(5vw, 18px);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
code {
  overflow-wrap: anywhere;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #bf823b;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  header {
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 10px;
  }
  nav {
    gap: 12px;
    font-size: 13px;
  }
  .layout {
    display: block;
  }
  .side {
    border-left: 0;
    padding: 0;
  }
  main {
    margin: 26px auto;
  }
  h1 {
    font-size: 37px;
  }
  .card,
  .panel {
    padding: 15px;
  }
  .graph {
    height: 320px;
  }
}

.review-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  column-gap: 2rem;
}
.review-comparison, #bulkStatus {
  overflow-wrap: anywhere;
}
