:root {
  color-scheme: light;
  --ink: #19332f;
  --body: #40554e;
  --muted: #65726a;
  --line: #d6ddd2;
  --canvas: #f7f8f1;
  --paper: #fff;
  --green: #19483c;
  --light: #e6eddf;
  --accent: #c2ddac;
  --gold: #ddbd75;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --serif:
    "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}
.buyer-journey {
  margin-top: 40px;
}
.multi-seller-summary {
  margin-block: 36px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.multi-seller-summary h2,
.multi-seller-summary h3 {
  font-size: clamp(28px, 3vw, 42px);
  margin-block: 16px 20px;
  letter-spacing: -0.04em;
}
.multi-seller-summary p + p {
  margin-top: 14px;
}
.multi-seller-summary .btn {
  margin-top: 24px;
}
.multi-seller-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 26px;
}
.multi-seller-stats strong {
  display: block;
  font-size: 42px;
  color: var(--green);
}
.multi-seller-stats span {
  font-size: 13px;
}
@media (max-width: 480px) {
  .multi-seller-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .multi-seller-stats > div {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}
.buyer-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}
.buyer-jump-links a {
  display: flex;
  align-items: center;
  gap: 18px;
}
.buyer-before,
.buyer-after {
  padding-top: clamp(40px, 5vw, 72px);
  scroll-margin-top: 24px;
}
.buyer-before-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}
.buyer-headline {
  font-size: clamp(32px, 3.25vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin-block: 18px 24px;
  max-width: 850px;
}
.buyer-narrative p + p,
.buyer-before-close p + p,
.buyer-calculation-note p + p {
  margin-top: 14px;
}
.buyer-subheading {
  font-size: 24px;
  letter-spacing: -0.035em;
  margin-block: 34px 14px;
}
.buyer-criteria {
  display: grid;
  gap: 22px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.buyer-criteria li {
  display: flex;
  align-items: start;
  gap: 16px;
}
.buyer-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  color: var(--green);
  background: var(--light);
}
.buyer-icon svg {
  width: 23px;
  height: 23px;
}
.buyer-criteria h4,
.buyer-feature h4 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 650;
}
.buyer-criteria p,
.buyer-feature p {
  font-size: 15px;
  line-height: 1.6;
}
.buyer-example {
  display: inline-block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.buyer-journey .buyer-small {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.buyer-score-block {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-block: 26px;
}
.buyer-score-ring {
  display: grid;
  place-items: center;
  width: 130px;
  height: 130px;
  flex: 0 0 130px;
  border-radius: 50%;
  background: conic-gradient(#a33c32 28%, #edf1f2 0);
  position: relative;
}
.buyer-score-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--paper);
}
.buyer-score-ring strong {
  position: relative;
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -0.05em;
}
.buyer-score-ring span {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--muted);
}
.buyer-score-block > div > p {
  font-size: 12px;
  margin-block: 4px 12px;
}
.buyer-journey table {
  font-size: 14px;
}
.buyer-journey th,
.buyer-journey td {
  border-color: var(--line);
  padding: 14px 12px;
}
.buyer-journey th {
  font-size: 13px;
  color: var(--body);
  background: transparent;
  white-space: normal;
}
.buyer-journey thead th {
  background: var(--canvas);
  font-weight: 650;
}
.buyer-calculator-detail summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  padding-block: 8px;
}
.buyer-before-close {
  padding: clamp(24px, 4vw, 44px);
  margin-block: 44px 0;
  background: var(--light);
  border-radius: 12px;
}
.buyer-before-close h3 {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.buyer-before-close p {
  max-width: 810px;
}
.buyer-journey .btn {
  margin-top: 24px;
  text-align: center;
}
.buyer-after {
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.buyer-after-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.buyer-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.buyer-feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 150ms ease;
}
.buyer-feature:hover {
  border-color: var(--green);
}
.buyer-feature h4 {
  margin-top: 20px;
}
.buyer-performance,
.buyer-savings {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.buyer-section-title h3 {
  max-width: 800px;
  font-size: clamp(30px, 3.3vw, 44px);
  letter-spacing: -0.04em;
  margin-block: 16px 20px;
}
.buyer-section-title p {
  max-width: 800px;
}
.buyer-comparison {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.buyer-comparison table {
  min-width: 610px;
}
.buyer-comparison caption {
  font-size: 12px;
  color: var(--muted);
  text-align: left;
  padding: 14px 20px;
}
.buyer-comparison th,
.buyer-comparison td {
  padding: 16px 20px;
}
.buyer-comparison td,
.buyer-comparison thead th:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.buyer-comparison tr > :nth-child(2) {
  background: var(--light);
  color: var(--green);
}
.buyer-comparison tbody tr:last-child > * {
  font-weight: 700;
}
.buyer-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 22px;
}
.buyer-result {
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 26px;
  background: var(--paper);
}
.buyer-result > strong {
  display: block;
  font-size: 42px;
  color: var(--green);
  letter-spacing: -0.04em;
}
.buyer-result strong span {
  display: block;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.buyer-result p {
  font-size: 14px;
}
.buyer-bars {
  display: grid;
  gap: 6px;
  margin-block: 22px;
}
.buyer-bars i {
  width: var(--bar);
  height: 7px;
  background: var(--green);
  border-radius: 3px;
}
.buyer-bars i + i {
  background: #b6c8cf;
}
.buyer-comparison-note {
  margin-top: 20px;
  max-width: 960px;
  font-size: 15px;
}
.buyer-calculator {
  padding: clamp(20px, 3vw, 36px);
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.buyer-calculator-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
}
.buyer-calculator label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  font-weight: 650;
}
.buyer-calculator select,
.buyer-calculator input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px;
  border: 1px solid #8da5ac;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}
.buyer-savings-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.4fr;
  align-items: center;
  gap: 20px;
  padding-block: 30px;
  font-variant-numeric: tabular-nums;
}
.buyer-savings-equation > div {
  min-width: 0;
}
.buyer-savings-equation strong {
  display: block;
  font-size: clamp(28px, 3.3vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.buyer-savings-equation span {
  display: block;
  font-size: 13px;
  margin-top: 8px;
  color: var(--body);
}
.buyer-savings-equation > b {
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
}
.buyer-savings-total {
  background: var(--light);
  color: var(--green);
  padding: 20px;
  border-radius: 8px;
}
.buyer-formula {
  padding-block: 0 24px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.buyer-calculator-detail {
  margin-top: 16px;
}
.buyer-savings-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 20px;
}
.buyer-calculator h4 {
  font-size: 14px;
  margin-block: 20px 12px;
}
.buyer-savings-details dl {
  margin: 0 0 14px;
}
.buyer-savings-details dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-block: 10px;
  font-size: 13px;
  color: var(--body);
}
.buyer-savings-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}
.buyer-policy-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: 13px;
}
.buyer-policy-comparison > div {
  padding: 18px;
  border-radius: 8px;
  background: var(--canvas);
}
.buyer-policy-comparison p {
  margin-top: 8px;
}
.buyer-calculation-note {
  border-left: 3px solid var(--green);
  padding-left: 22px;
  margin-top: 28px;
  max-width: 980px;
}
.buyer-calculation-note h4 {
  font-size: 16px;
  margin: 0 0 12px;
}
.buyer-calculation-note p {
  font-size: 13px;
  line-height: 1.65;
}
.buyer-final {
  text-align: center;
  margin-top: 64px;
  padding: clamp(28px, 5vw, 64px);
  background: var(--light);
  border-radius: 12px;
}
.buyer-final h3 {
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -0.04em;
  margin: 18px auto 20px;
  max-width: 820px;
}
@media (max-width: 1000px) {
  .buyer-before-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
  .buyer-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .buyer-calculator-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .buyer-before-grid,
  .buyer-after-intro,
  .buyer-result-grid,
  .buyer-savings-details,
  .buyer-policy-comparison {
    grid-template-columns: minmax(0, 1fr);
  }
  .buyer-headline {
    font-size: clamp(32px, 7vw, 42px);
  }
  .buyer-after-intro {
    gap: 16px;
  }
  .buyer-savings-equation {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .buyer-savings-equation > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  .buyer-savings-equation span {
    margin-top: 0;
    max-width: 130px;
    text-align: right;
  }
  .buyer-savings-equation > b {
    line-height: 1;
  }
  .buyer-jump-links {
    gap: 14px 24px;
  }
}
@media (max-width: 480px) {
  .buyer-feature-grid,
  .buyer-calculator-controls {
    grid-template-columns: minmax(0, 1fr);
  }
  .buyer-score-block {
    gap: 16px;
  }
  .buyer-score-ring {
    width: 108px;
    height: 108px;
    flex-basis: 108px;
  }
  .buyer-score-block > div:not(.buyer-score-ring) > strong {
    font-size: 14px;
  }
  .buyer-savings-total {
    padding: 16px;
  }
  .buyer-journey th,
  .buyer-journey td {
    padding: 12px 8px;
  }
}
.quality-demo {
  margin-top: 44px;
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.quality-demo-label {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 5px;
  background: var(--light);
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.quality-demo .buyer-section-title p + p {
  margin-top: 12px;
}
.quality-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  margin-top: 32px;
}
.quality-match-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--canvas);
}
.quality-match-entry p {
  flex: 1 1 320px;
  margin: 0;
  font-size: 14px;
}
.quality-match-review {
  margin-top: 24px;
  padding: clamp(16px, 2.5vw, 28px);
  border: 2px solid var(--green);
  border-radius: 12px;
  background: var(--canvas);
  overflow-wrap: anywhere;
  scroll-margin-top: 24px;
}
.quality-match-review > p {
  font-size: 14px;
  line-height: 1.6;
}
.quality-match-submissions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}
.quality-match-submissions article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  min-width: 0;
}
.quality-match-submissions h5 {
  margin: 10px 0;
  font-size: 18px;
}
.quality-match-submissions p {
  margin-bottom: 0;
  font-size: 13px;
}
.quality-match-status {
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--light);
  font-weight: 700;
}
.quality-match-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.quality-match-stats > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.quality-match-stats strong {
  display: block;
  font-size: 30px;
  color: var(--green);
}
.quality-match-stats span {
  font-size: 12px;
  line-height: 1.4;
  display: block;
  margin-top: 5px;
}
.quality-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}
.quality-match-actions button,
.quality-match-entry button {
  max-width: 100%;
  white-space: normal;
}
.quality-match-actions button:disabled,
.quality-match-entry button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .quality-match-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .quality-match-submissions,
  .quality-match-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .quality-match-entry {
    padding: 16px;
  }
  .quality-match-actions button {
    width: 100%;
  }
}
.quality-history,
.quality-controls {
  min-width: 0;
}
.quality-history {
  position: sticky;
  top: 24px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(18px, 2vw, 28px);
}
.quality-demo h4 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.quality-demo .buyer-score-ring::before {
  background: var(--canvas);
}
.quality-demo .buyer-score-ring {
  animation: quality-score-enter 600ms ease-out both;
}
@keyframes quality-score-enter {
  from {
    opacity: 0.3;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.quality-fixed-score {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.quality-facts {
  margin: 0;
  font-size: 14px;
}
.quality-facts > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
.quality-facts dt {
  color: var(--body);
}
.quality-facts dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.quality-timeline,
.quality-history-note {
  margin-top: 22px;
}
.quality-timeline summary,
.quality-why summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  padding-block: 8px;
}
.quality-timeline ol {
  display: grid;
  gap: 14px;
  padding-left: 20px;
  font-size: 13px;
}
.quality-timeline li > span {
  font-weight: 650;
  color: var(--green);
}
.quality-timeline .buyer-small {
  margin-top: 10px;
}
.quality-controls-fieldset {
  padding: 0;
  margin: 0;
  border: 0;
  min-width: 0;
}
.quality-live-summary {
  position: sticky;
  top: 12px;
  z-index: 2;
  padding: 12px 14px;
  margin-top: 18px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
}
.quality-control {
  margin-top: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.quality-control-head,
.quality-outcome-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quality-control label,
.quality-outcomes legend {
  font-weight: 650;
  font-size: 14px;
}
.quality-control-head label {
  flex: 1;
}
.quality-control-head > span[data-demo-value] {
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.quality-rule-status {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--body);
  background: var(--canvas);
  white-space: nowrap;
}
.quality-rule-status[data-status="FAIL"] {
  background: #fff0ec;
  color: #8b3029;
  border-color: #e2b8b1;
}
.quality-rule-status[data-status="PASS"] {
  background: var(--light);
  color: var(--green);
  border-color: #a4c7c1;
}
.quality-rule-status[data-status="REVIEW"] {
  background: #fff5dd;
  color: #725015;
  border-color: #ddc790;
}
.quality-demo input[type="range"] {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  accent-color: var(--green);
  margin: 10px 0 0;
}
.quality-control > p,
.quality-why p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 6px;
}
.quality-demo select,
.quality-demo input[type="number"] {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px;
  border: 1px solid #8da5ac;
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
}
.quality-control > select {
  margin-top: 10px;
}
.quality-outcomes {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.quality-outcomes legend {
  margin-bottom: 8px;
}
.quality-outcome {
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}
.quality-outcome[data-enabled="false"] .quality-outcome-settings,
.quality-outcome[data-enabled="false"] > p {
  display: none;
}
.quality-outcome-head {
  justify-content: space-between;
  align-items: start;
}
.quality-outcome-head label {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.quality-outcome input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 2px 0 0;
  accent-color: var(--green);
}
.quality-outcome-settings {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-block: 12px 8px;
}
.quality-outcome-settings > div,
.quality-outcome-settings > label {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1;
  font-size: 11px;
  color: var(--body);
}
.quality-outcome-settings > div > label {
  font-size: 11px;
}
.quality-demo [data-demo-reset] {
  margin-top: 16px;
}
.quality-validation {
  color: #8b3029;
  font-size: 13px;
  margin-top: 16px;
}
.quality-demo input:disabled {
  opacity: 0.6;
}
.quality-decision {
  margin-top: 32px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid #e2b8b1;
  border-left: 4px solid #a33c32;
  border-radius: 10px;
  background: #fffaf8;
}
.quality-decision[data-decision="PASS"] {
  background: #f0f8f6;
  border-color: #a4c7c1;
  border-left-color: var(--green);
}
.quality-decision[data-decision="REVIEW"] {
  background: #fffbef;
  border-color: #ddc790;
  border-left-color: #927023;
}
.quality-decision-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.quality-decision h4 {
  margin-block: 12px 20px;
}
.quality-decision-price {
  font-size: 12px;
  color: var(--body);
  white-space: nowrap;
}
.quality-triggered {
  margin-top: 18px;
  font-size: 14px;
}
.quality-triggered ul {
  padding-left: 20px;
  color: var(--body);
}
.quality-triggered li + li {
  margin-top: 8px;
}
.quality-purchase-savings {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 24px;
  align-items: center;
  margin-block: 24px;
  border-block: 1px solid var(--line);
  padding-block: 20px;
}
.quality-purchase-savings span {
  display: block;
  font-size: 13px;
}
.quality-purchase-savings strong {
  font-size: 40px;
  letter-spacing: -0.04em;
}
.quality-purchase-savings p {
  font-size: 13px;
}
.quality-education {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.quality-education p {
  font-size: 14px;
}
@media (max-width: 900px) {
  .quality-demo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .quality-history {
    position: static;
  }
}
@media (max-width: 600px) {
  .quality-decision-heading {
    display: block;
  }
  .quality-decision-price {
    display: block;
    margin-bottom: 16px;
  }
  .quality-purchase-savings {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .quality-demo {
    padding-inline: 16px;
  }
  .quality-history {
    padding-inline: 16px;
  }
  .quality-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
  .quality-control-head {
    flex-wrap: wrap;
  }
  .quality-control-head label {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .quality-demo .buyer-score-ring {
    animation: none;
  }
}
body:has(.site-head) {
  --ink: #102a35;
  --green: #075f5a;
  --body: #375563;
  --muted: #4f6770;
  --line: #cedbdf;
  --canvas: #f6fafb;
  --light: #e1f1ef;
}
.site-head .head-inner {
  height: auto;
  min-height: 78px;
  gap: 14px;
}
.site-head .head-inner nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-dropdown {
  position: relative;
}
.site-dropdown summary,
.site-account a {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.site-dropdown[open] > div {
  position: absolute;
  top: 100%;
  z-index: 5;
  min-width: 195px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 8px 24px #102a351a;
}
.site-dropdown a {
  display: block;
  padding: 5px 0;
}
.site-account,
.article-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.site-foot .wrap.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: start;
  padding-block: 38px;
  gap: 20px;
}
.site-foot .site-footer-grid nav {
  display: grid;
  min-width: 0;
  align-content: start;
  align-items: start;
  gap: 7px;
  margin: 0;
}
.access-demo {
  max-width: 540px;
}
.access-trap {
  position: absolute;
  left: -10000px;
}
@media (max-width: 1000px) {
  .site-head .head-inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .site-head .head-inner nav {
    order: 3;
    width: 100%;
    gap: 8px 15px;
  }
}
@media (max-width: 480px) {
  .site-head .brand {
    font-size: 17px;
  }
  .site-account {
    gap: 6px;
  }
  .site-account .btn {
    padding: 6px 9px;
    font-size: 12px;
  }
  .site-dropdown[open] > div {
    min-width: 150px;
  }
  .site-head .head-inner {
    gap: 8px;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a:hover,
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #c17724;
  outline-offset: 3px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  line-height: 1.1;
}
h1,
h2 {
  letter-spacing: -0.055em;
}
p {
  color: var(--body);
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.btn,
.text-link,
.mini,
.sign-out {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  font-weight: 650;
}
.btn {
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #285e4c;
  text-decoration: none;
}
.secondary,
.mini {
  border: 1px solid #bac7b8;
  background: #fff;
  color: var(--ink);
}
.secondary:hover,
.mini:hover {
  background: var(--light);
}
.mini {
  font-size: 12px;
  min-height: 34px;
  border-radius: 5px;
  padding: 5px 10px;
}
.actions,
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.actions .text-link {
  font-size: 14px;
}
.text-link {
  border-bottom: 1px solid #84977f;
  padding-block: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  letter-spacing: -0.068em;
  line-height: 1;
  font-weight: 720;
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  border-radius: 8px;
}
.site-head {
  border-bottom: 1px solid var(--line);
}
.head-inner {
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.head-inner nav,
.site-foot nav,
.resource-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.head-inner nav a,
.site-foot nav a,
.resource-links a {
  font-size: 14px;
  font-weight: 580;
}
.head-inner > .btn {
  font-size: 13px;
  min-height: 40px;
  padding: 9px 15px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #4b6553;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.155em;
  text-transform: uppercase;
}
.eyebrow i {
  width: 18px;
  height: 2px;
  background: #698a5d;
  display: inline-block;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 80px);
  padding-block: clamp(50px, 6.4vw, 94px);
}
.hero-text {
  padding-bottom: 4px;
}
.hero-text h1 {
  font-size: clamp(58px, 6.6vw, 101px);
  letter-spacing: -0.082em;
  line-height: 1.02;
  margin: 26px 0 24px;
  font-weight: 560;
}
.hero-text h1 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.08em;
  color: #51734d;
  padding-right: 0.07em;
}
.hero-text > p {
  font-size: clamp(17px, 1.3vw, 21px);
  max-width: 440px;
  line-height: 1.55;
}
.hero-text .actions {
  margin-top: 31px;
  gap: 25px;
}
.atlas {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  background: #143a38;
  border: 1px solid #244940;
  border-radius: 13px;
  box-shadow: 0 12px 28px -24px #133c37;
  color: white;
}
.atlas canvas {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 600/430;
}
.atlas-head,
.atlas figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.atlas-head {
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  padding: 17px 20px;
  background: linear-gradient(#153b38f5, transparent);
  color: #deeadb;
}
.atlas-head span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.atlas-head span:last-child {
  border: 1px solid #71907b85;
  border-radius: 4px;
  padding: 3px 7px;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.signal {
  background: #b7dba8;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  box-shadow: 0 0 0 4px #a6c6a71c;
}
.atlas figcaption {
  position: absolute;
  inset: auto 12px 12px;
  padding: 12px 16px;
  border: 1px solid #79918066;
  border-radius: 8px;
  background: #14332fe8;
}
.atlas figcaption small {
  display: block;
  color: #bfd1bf;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.atlas figcaption strong {
  font-size: 16px;
  font-weight: 570;
}
.stage-controls {
  display: flex;
  gap: 6px;
}
.stage-controls button {
  background: transparent;
  color: white;
  border: 1px solid #789381;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
.stage-controls button:hover {
  background: #355b4c;
}
.verticals {
  border-block: 1px solid var(--line);
}
.verticals > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}
.verticals a {
  font-size: 12px;
  font-weight: 680;
}
.verticals a b {
  margin-left: 5px;
}
.verticals span {
  font-size: 13px;
  color: #57675c;
}
.home-section {
  padding-block: clamp(52px, 6.2vw, 90px);
}
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
}
.section-intro h2,
.team-band h2 {
  font-size: clamp(36px, 3.8vw, 58px);
  margin-top: 15px;
}
.section-intro > p {
  font-size: 15px;
  max-width: 310px;
  padding-bottom: 2px;
}
.feature-grid,
.team-grid,
.article-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  position: relative;
  padding: 22px 22px 28px;
  border: 1px solid var(--line);
  background: #fcfcf7;
  border-radius: 10px;
}
.feature:hover,
.team-grid a:hover {
  border-color: #859780;
  text-decoration: none;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  font-size: 25px;
  font-weight: 400;
  background: #e8eddd;
  color: #3f644a;
}
.feature:nth-child(2) .feature-icon {
  background: #eee7d7;
  color: #856530;
}
.feature:nth-child(3) .feature-icon {
  background: #dfeae7;
  color: #2f655a;
}
.feature h3,
.team-grid h3,
.article-grid h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin: 22px 0 9px;
}
.feature p,
.team-grid p,
.article-grid p {
  font-size: 15px;
  line-height: 1.55;
}
.link-arrow {
  position: absolute;
  right: 22px;
  top: 23px;
  color: #657661;
}
.team-band {
  background: #eaf0e4;
  border-top: 1px solid var(--line);
}
.team-grid,
.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.team-grid a,
.article-grid section {
  border-top: 1px solid #b6c2ae;
  padding: 5px 0 20px;
}
.team-grid h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.resource-links {
  margin-top: 20px;
  flex-wrap: wrap;
}
.site-foot {
  border-top: 1px solid var(--line);
}
.site-foot .wrap {
  min-height: 105px;
  display: flex;
  gap: 25px;
  align-items: center;
}
.site-foot .brand {
  font-size: 21px;
}
.site-foot .brand img {
  width: 28px;
  height: 28px;
}
.site-foot .wrap > span {
  font-size: 12px;
  color: var(--muted);
}
.site-foot nav {
  margin-left: auto;
  gap: 20px;
}
.article {
  padding-block: 60px 90px;
  min-height: 66vh;
}
.article h1,
.sign-in h1 {
  font-size: clamp(50px, 6.5vw, 90px);
  margin-block: 18px 22px;
}
.back {
  display: inline-block;
  font-size: 13px;
  margin-bottom: 40px;
}
.lede {
  max-width: 700px;
  font-size: 22px;
}
.article-grid {
  gap: 60px;
  margin-block: 38px 25px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 99;
  background: #fff;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--canvas);
  color: var(--ink);
  width: min(490px, calc(100% - 24px));
  padding: 30px;
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 16px 75px #0d261f30;
}
dialog::backdrop {
  background: #112b2794;
}
.close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  background: transparent;
  font-size: 25px;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  color: var(--body);
}
dialog h2 {
  margin: 10px 25px 10px 0;
  font-size: 30px;
}
dialog p {
  font-size: 14px;
  margin-bottom: 16px;
}
.org-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: white;
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 7px;
  text-align: left;
  color: var(--ink);
  width: 100%;
  margin-top: 9px;
}
.org-choice:hover {
  background: #eff4e7;
}
.org-choice strong,
.org-choice small {
  display: block;
}
.org-choice small {
  font-size: 12px;
  color: var(--body);
  margin-top: 4px;
}
.auth-link {
  display: block;
  margin-top: 15px;
  text-decoration: underline;
  font-size: 13px;
}
.sign-in {
  max-width: 700px;
  margin: 60px auto;
  padding: 26px;
}
.sign-in .brand {
  margin-bottom: 60px;
}
.sign-in .btn {
  margin-top: 24px;
}
.app-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  background: #f6f7f2;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 25px 14px 16px;
  background: #edf1e8;
  border-right: 1px solid var(--line);
}
.sidebar .brand {
  font-size: 23px;
  margin-left: 8px;
}
.sidebar .brand img {
  width: 30px;
  height: 30px;
}
.org-switch {
  margin: 28px 0 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  background: #fafbf5;
  border: 1px solid #cbd5c8;
  border-radius: 7px;
  padding: 10px;
  color: var(--ink);
}
.org-switch span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.org-switch strong,
.org-switch small {
  display: block;
}
.org-switch strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.org-switch small {
  color: var(--muted);
  font-size: 11px;
}
.org-icon {
  display: grid;
  place-items: center;
  background: #e1e8d7;
  color: #3d5e43;
  width: 28px;
  height: 28px;
  border-radius: 5px;
}
.nav-group {
  margin-block: 8px 17px;
}
.nav-group h2 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5c705f;
  margin: 12px;
}
.nav-group a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 11px;
  min-height: 35px;
  font-size: 13px;
  font-weight: 540;
  border-radius: 5px;
  margin-block: 1px;
}
.nav-group a span {
  font: 17px/1 var(--sans);
  color: #4b6954;
  width: 18px;
  text-align: center;
}
.nav-group a[aria-current="page"] {
  background: #d6e4cb;
  color: #17492c;
  font-weight: 680;
}
.nav-group a:hover {
  background: #e0e9d9;
  text-decoration: none;
}
.sign-out {
  margin-top: auto;
  justify-content: start;
  background: transparent;
  border: 0;
  color: #405749;
  font-size: 13px;
  padding: 12px;
}
.app-column {
  min-width: 0;
}
.app-head {
  height: 60px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding-inline: clamp(18px, 3vw, 50px);
  background: #fcfcf8;
}
.app-head b {
  padding-inline: 9px;
  color: #7a887b;
}
.app-head a,
.panel-title > a {
  font-size: 12px;
  font-weight: 600;
}
.app-main {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 34px clamp(18px, 3vw, 50px) 70px;
}
.app-main:focus {
  outline: none;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 27px;
}
.page-title h1 {
  font-size: clamp(35px, 4vw, 54px);
  margin: 10px 0 6px;
  letter-spacing: -0.064em;
}
.page-title p,
.panel > p,
.guide dd {
  font-size: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.metrics > div,
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.metrics > div {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 15px;
  gap: 7px;
}
.metrics span {
  font-size: 12px;
  font-weight: 600;
}
.metrics strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.06em;
  font-weight: 580;
}
.metrics small {
  font-size: 11px;
  color: var(--muted);
}
.panel {
  padding: 21px 23px;
  min-width: 0;
  margin-bottom: 17px;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}
.panel h2 {
  font-size: 21px;
  letter-spacing: -0.045em;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
  gap: 17px;
  align-items: start;
}
.form,
.field {
  display: grid;
  gap: 6px;
}
.form {
  gap: 14px;
}
.form:not(:first-child) {
  margin-top: 15px;
}
.field {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  min-width: 0;
}
.field small {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bcc8bb;
  border-radius: 5px;
  padding: 9px 10px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}
.field textarea {
  font:
    13px/1.5 ui-monospace,
    Consolas,
    monospace;
  resize: vertical;
}
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.checkline {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 13px;
  color: var(--body);
}
input[type="checkbox"] {
  accent-color: #345d39;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.form-actions {
  gap: 10px;
}
.form-actions .btn {
  min-height: 38px;
}
.guide {
  margin: 0;
}
.guide dt {
  margin: 14px 0 5px;
  font-weight: 630;
}
.guide dd {
  margin: 0;
  color: var(--body);
}
.table-scroll {
  overflow: auto;
  max-width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-weight: 600;
  color: #59695c;
  white-space: nowrap;
  font-size: 11px;
  background: #f5f7f1;
}
td,
th {
  padding: 11px;
  border-bottom: 1px solid #e0e6dd;
}
td {
  max-width: 360px;
  overflow-wrap: anywhere;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.badge {
  display: inline-block;
  background: #eaf0e7;
  color: #39513e;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.badge.accept,
.badge.purchased,
.badge.active,
.badge.valid,
.badge.passed {
  background: #dcf0da;
  color: #295e39;
}
.badge.on_the_margins,
.badge.review,
.badge.pending,
.badge.offered {
  background: #faf0cf;
  color: #735517;
}
.badge.reject,
.badge.rejected,
.badge.invalid,
.badge.revoked {
  background: #f6e4dd;
  color: #8c4034;
}
.empty {
  padding: 17px 8px;
  color: var(--muted);
  font-size: 13px;
}
.notice,
.error {
  margin-block: 10px 15px;
  border-radius: 5px;
  padding: 10px 13px;
  font-size: 13px;
}
.error {
  background: #fbeee7;
  color: #8a3627;
}
.notice {
  background: #e8f1df;
  color: #325433;
}
.error:empty,
[data-output]:empty {
  display: none;
}
.result {
  background: #f2f6eb;
  border: 1px solid #ccdbc4;
  border-radius: 7px;
  padding: 17px;
  margin-top: 7px;
}
.result h2 {
  margin-block: 9px;
}
.result p,
.result small {
  font-size: 12px;
}
.result dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.result dt {
  font-size: 11px;
  color: var(--muted);
}
.result dd {
  margin: 0;
  font-size: 14px;
}
.legend {
  display: flex;
  gap: 14px;
}
.legend span {
  font-size: 11px;
}
.legend span:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63946b;
}
.legend span:nth-child(2):before {
  background: #d8b76b;
}
.legend span:nth-child(3):before {
  background: #b27869;
}
.chart-wrap {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  overflow: auto;
}
.scale {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px;
  font-size: 10px;
  color: var(--muted);
}
.chart {
  display: flex;
  justify-content: space-evenly;
  gap: 4px;
  flex: 1;
  min-height: 150px;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 29px,
    #e3e9df 30px
  );
  border-bottom: 1px solid var(--line);
}
.bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 18px;
}
.stack {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 125px;
  width: 60%;
  max-width: 50px;
}
.bar {
  display: block;
  width: 100%;
  height: var(--pct);
}
.bar.accept {
  background: #63946b;
}
.bar.on_the_margins,
.bar.review {
  background: #d8b76b;
}
.bar.reject {
  background: #b27869;
}
.bar-wrap small {
  background: white;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}
.chart-detail {
  margin-top: 10px;
  font-size: 11px;
}
.chart-detail summary {
  cursor: pointer;
}
.mobile {
  display: none;
}
pre {
  overflow: auto;
  max-width: 100%;
  background: #eaf0e4;
  padding: 12px;
  font-size: 12px;
}
.detail-dialog {
  width: min(600px, calc(100% - 24px));
}
.detail-dialog .actions {
  margin-top: 16px;
}
.detail-dialog .panel-title {
  margin-top: 12px;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .hero-grid {
    gap: 27px;
    padding-block: 52px;
  }
  .hero-text h1 {
    font-size: clamp(50px, 7.4vw, 75px);
  }
  .app-layout {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 10px;
  }
  .app-main {
    padding-inline: 18px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 6px;
  }
  .metrics > div {
    padding: 13px;
  }
  .atlas figcaption {
    padding: 8px 10px;
  }
  .atlas-head {
    padding: 11px 14px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .head-inner {
    height: 64px;
    gap: 10px;
  }
  .head-inner nav {
    display: none;
  }
  .head-inner > .btn {
    font-size: 12px;
    min-height: 36px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px 25px;
  }
  .hero-text h1 {
    font-size: clamp(58px, 11.1vw, 83px);
    margin-block: 18px;
  }
  .hero-text > p {
    font-size: 17px;
  }
  .hero-text .actions {
    margin-top: 22px;
  }
  .atlas {
    max-width: 620px;
  }
  .atlas canvas {
    aspect-ratio: 600/395;
    object-fit: cover;
  }
  .verticals > .wrap {
    overflow: auto;
    justify-content: start;
    gap: 25px;
    padding-block: 14px;
  }
  .verticals a,
  .verticals span {
    white-space: nowrap;
  }
  .section-intro {
    display: block;
  }
  .section-intro > p {
    margin-top: 14px;
  }
  .feature-grid,
  .team-grid,
  .article-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature {
    padding: 18px;
  }
  .feature h3 {
    margin-top: 14px;
  }
  .site-foot .wrap {
    flex-wrap: wrap;
    padding-block: 22px;
    gap: 13px;
  }
  .site-foot nav {
    margin-left: 0;
  }
  .site-foot .wrap > span {
    display: none;
  }
  .article-grid {
    margin-block: 25px;
  }
  .article {
    padding-block: 28px 50px;
  }
  .lede {
    font-size: 18px;
  }
  .app-layout {
    display: block;
  }
  .sidebar {
    display: none;
    position: fixed;
    z-index: 5;
    top: 53px;
    bottom: 0;
    left: 0;
    width: min(290px, 85vw);
    height: calc(100dvh - 53px);
    box-shadow: 8px 8px 25px #19332f24;
  }
  .sidebar.open {
    display: flex;
  }
  .app-head {
    height: 53px;
    position: sticky;
    top: 0;
    z-index: 4;
    justify-content: start;
  }
  .app-head a {
    margin-left: auto;
  }
  .mobile {
    display: inline-flex;
  }
  .app-head > b,
  .app-head > span {
    font-size: 11px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .page-title {
    align-items: start;
    flex-wrap: wrap;
  }
  .page-title .btn {
    min-height: 36px;
    padding: 7px 12px;
  }
  .app-main {
    padding-top: 25px;
  }
  .panel {
    padding: 16px 14px;
  }
  .panel-title {
    flex-wrap: wrap;
  }
  .legend {
    gap: 8px;
  }
  .bar-wrap small {
    font-size: 8px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .article h1 {
    font-size: 50px;
  }
  .stage-controls button {
    width: 30px;
    height: 30px;
  }
}
.score-editor {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 7px;
}
.score-editor legend,
.lead-score h3 {
  font-weight: 650;
}
.score-editor p,
.lead-score li {
  font-size: 13px;
}
.score-condition {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  gap: 8px;
  align-items: end;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.score-condition .field:first-child {
  grid-column: span 2;
}
.lead-score {
  border-left: 3px solid var(--line);
  padding: 4px 12px;
  margin: 12px 0;
}
.lead-score ul {
  padding-left: 20px;
  margin: 6px 0;
}
@media (max-width: 500px) {
  .score-condition {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.rule-editor {
  margin: 6px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
}
.rule-editor summary {
  cursor: pointer;
  font-weight: 650;
}
.rule-editor .fields {
  margin-block: 12px;
}
.app-main > form {
  margin: 0 0 16px;
  max-width: 420px;
}
.form + .table-scroll {
  margin-top: 15px;
}
.table-scroll + .actions {
  margin-top: 12px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.history-filter fieldset {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 14px 14px;
  min-width: 0;
  margin: 0;
}
.history-filter legend {
  font-size: 13px;
  font-weight: 650;
  padding-inline: 5px;
}
.history-filter fieldset > small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.history-basic,
.timeline-form .fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.response-condition {
  display: grid;
  grid-template-columns: minmax(160px, 2fr) repeat(2, minmax(85px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}
.history-pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.history-pages div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.unknown {
  color: var(--muted);
  font-style: italic;
}
.inquiry-summary {
  background: #edf4e8;
}
.inquiry-summary h2 {
  font-size: 30px;
  margin-block: 10px 18px;
}
.inquiry-summary dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.inquiry-summary dt {
  font-size: 12px;
  color: var(--muted);
}
.inquiry-summary dd {
  margin: 3px 0;
  font-weight: 630;
  font-size: 14px;
}
.history-back {
  margin: 0 0 15px;
}
.timeline-form {
  max-width: 790px;
  margin-bottom: 18px;
}
.timeline-form > button,
.provider-editor button {
  justify-self: start;
}
.chronology {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}
.chronology li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 15px;
  position: relative;
  padding: 14px 0;
}
.chronology li:not(:last-child):before {
  content: "";
  position: absolute;
  width: 1px;
  background: var(--line);
  left: 6px;
  top: 30px;
  height: calc(100% - 15px);
}
.chronology-marker {
  position: relative;
  background: #5d845d;
  box-shadow: 0 0 0 4px #edf4e8;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 5px 0 0 2px;
}
.chronology time {
  color: var(--muted);
  font-size: 12px;
}
.chronology h3 {
  font-size: 17px;
  letter-spacing: -0.025em;
  margin: 2px 0 5px;
}
.chronology p {
  font-size: 13px;
}
.provider-editor summary {
  cursor: pointer;
  font-weight: 600;
}
@media (max-width: 760px) {
  .history-basic,
  .timeline-form .fields,
  .response-condition,
  .inquiry-summary dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .response-condition .field:first-child {
    grid-column: 1/-1;
  }
  .response-condition button {
    justify-self: start;
  }
}
@media (max-width: 430px) {
  .history-basic,
  .timeline-form .fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
.history-example {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 20px;
  background: #edf4e7;
  border: 1px solid #cddcc5;
  border-radius: 9px;
  margin-bottom: 15px;
}
.history-example strong {
  font-size: 14px;
}
.history-example p,
.history-example a {
  font-size: 13px;
}
.history-example a {
  font-weight: 650;
  text-decoration: underline;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .history-example {
    display: grid;
  }
}
