:root {
  color-scheme: light;
  --paper: #f6f6f0;
  --white: #fff;
  --ink: #20291e;
  --muted: #515e51;
  --line: #d5d9cd;
  --leaf: #304729;
  --lime: #d1f37b;
  --green-pale: #e9f3d7;
  --rust: #8a3625;
  --amber: #7e500c;
  --radius: 12px;
  font-family:
    Geist,
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.48;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
select,
summary,
input[type='checkbox'] {
  cursor: pointer;
}
a {
  color: var(--leaf);
  text-underline-offset: 0.18em;
}
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #217558;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(1.95rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.065em;
  font-weight: 650;
  overflow-wrap: anywhere;
}
h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.24;
  letter-spacing: -0.035em;
  font-weight: 650;
}
h3 {
  font-size: 1.04rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 620;
}
small,
.meta {
  font-size: 0.81rem;
  line-height: 1.5;
}
.meta,
.muted,
.byline {
  color: var(--muted);
}
.masthead {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 13px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fcfcf7;
}
.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -0.055em;
  font-size: 1.32rem;
}
.brand strong {
  font-weight: 500;
}
.mark {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  background: var(--lime);
  width: 33px;
  height: 33px;
  border-radius: 9px;
  padding: 8px 6px;
}
.mark b {
  width: 4px;
  background: #32402b;
  transform: skewY(-14deg);
}
.mark b:nth-child(1) {
  height: 46%;
}
.mark b:nth-child(2) {
  height: 74%;
}
.mark b:nth-child(3) {
  height: 100%;
}
.byline {
  font-size: 0.78rem;
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}
.store-name {
  margin-left: auto;
  max-width: 45%;
  text-align: right;
  font-size: 0.85rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 60px;
}
body[data-demo='false'] .masthead,
.nav[hidden] {
  display: none;
}
.nav {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-top: 4px;
}
.nav a {
  padding: 12px 0 11px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 550;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.nav a[aria-current='page'] {
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 700;
}
.skip {
  position: absolute;
  top: -70px;
  left: 10px;
  z-index: 3;
  padding: 8px 12px;
  background: white;
}
.skip:focus {
  top: 5px;
}
main {
  padding-top: 30px;
}
main:focus {
  outline: none;
}
.hero,
.sectionhead,
.dialoghead,
.row,
.actions,
.pagenames,
.tagrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero,
.sectionhead,
.dialoghead,
.row {
  justify-content: space-between;
}
.hero {
  align-items: flex-end;
  margin-bottom: 24px;
}
.hero p {
  margin-top: 9px;
}
.actions,
.tagrow {
  flex-wrap: wrap;
}
button,
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid #bdc4b6;
  font-weight: 600;
  font-size: 0.87rem;
  border-radius: 7px;
  padding: 8px 13px;
  min-height: 38px;
  text-decoration: none;
  line-height: 1.35;
}
button:hover:not(:disabled),
.btn:hover {
  background: #f0f3e9;
}
.primary,
.btn-primary {
  background: var(--lime);
  border-color: #abc471;
  color: #263018;
}
.primary:hover:not(:disabled),
.btn-primary:hover {
  background: #c4e96a;
}
button:disabled {
  cursor: default;
  opacity: 0.52;
}
.textbutton {
  border: 0;
  padding: 5px 0;
  min-height: auto;
  background: transparent;
  color: var(--leaf);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.textbutton:hover:not(:disabled) {
  background: transparent;
}
.banner {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-top: 14px;
  background: #ecf0e1;
  color: #3c4c30;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 0.83rem;
}
.banner.error {
  background: #fae8e3;
  color: var(--rust);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.metric,
.panel,
.sample,
.empty {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.metric {
  padding: 16px 18px 15px;
  display: flex;
  flex-direction: column;
}
.metric:first-child {
  background: var(--leaf);
  color: white;
  border-color: var(--leaf);
}
.metric:first-child .metric-desc {
  color: #e1e9d6;
}
.metric-label {
  font-size: 0.85rem;
  font-weight: 580;
}
.metric-value {
  margin: 12px 0 7px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.metric-desc {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.78rem;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, 1fr);
  align-items: start;
  gap: 16px;
  margin-top: 17px;
}
.panel {
  padding: 19px;
  min-width: 0;
}
.sectionhead {
  align-items: flex-start;
  gap: 16px;
}
.sectionhead > div {
  min-width: 0;
}
.sectionhead p,
.sample header p {
  margin-top: 4px;
}
.list {
  display: grid;
  margin-top: 13px;
}
.list > * {
  border-top: 1px solid var(--line);
}
.issue {
  padding: 0;
}
details summary {
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}
.issue summary {
  padding: 12px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: start;
}
.issue summary:after,
.sample summary:after {
  content: '+';
  color: var(--muted);
  font-size: 1.1rem;
}
.issue[open] summary:after,
.sample[open] summary:after {
  content: '−';
}
.issue-body {
  padding: 1px 0 15px;
}
.issue-body dl {
  margin: 0;
}
.issue-body dt {
  font-weight: 650;
  font-size: 0.84rem;
  margin: 8px 0 2px;
}
.issue-body dd {
  margin: 0;
  font-size: 0.89rem;
  overflow-wrap: anywhere;
}
.tag {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.73rem;
  color: #415040;
  background: #f0f2ea;
  font-weight: 620;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.tag.high {
  background: #fae8e3;
  color: var(--rust);
}
.tag.medium {
  background: #fff1cf;
  color: var(--amber);
}
.tag.green {
  background: var(--green-pale);
  color: var(--leaf);
}
.tag.outline {
  background: transparent;
  border: 1px solid var(--line);
}
.tagrow {
  gap: 6px;
  margin-bottom: 5px;
}
.evidence-link,
.path {
  overflow-wrap: anywhere;
}
.path {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  color: var(--muted);
}
.quiet {
  padding: 15px 0 4px;
  font-size: 0.9rem;
  color: var(--muted);
}
.stack {
  display: grid;
  gap: 12px;
}
.answer-mini {
  display: block;
  padding: 12px 0;
}
.answer-mini .tag {
  margin: 6px 0;
}
.between {
  margin-top: 20px;
}
.small-panel {
  background: #edf0e4;
  border-color: #d9ddce;
}
.usage-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 0;
  font-size: 0.88rem;
}
.usage-row + .usage-row {
  border-top: 1px solid var(--line);
}
.empty {
  padding: 22px;
}
.empty p {
  margin: 6px 0 14px;
}
.filterbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.field {
  display: grid;
  gap: 5px;
  font-weight: 600;
  font-size: 0.86rem;
}
.field input,
.field select,
.field textarea,
.filterbar select {
  width: 100%;
  min-width: 0;
  background: white;
  border: 1px solid #9fa999;
  color: var(--ink);
  border-radius: 6px;
  padding: 8px 10px;
  line-height: 1.4;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  min-height: 86px;
}
.detailtext {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
}
.auditpage {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.auditpage:first-of-type {
  margin-top: 12px;
}
.scope {
  font-size: 0.72rem;
  font-weight: 680;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.065em;
}
.change {
  padding: 10px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.change-title {
  overflow-wrap: anywhere;
}
.sample {
  padding: 0 17px;
}
.sample summary {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
}
.sample summary p,
.answer-mini h3,
.issue h3 {
  overflow-wrap: anywhere;
}
.sample-body {
  padding: 0 0 15px;
}
.answer {
  background: #f6f7f1;
  border-radius: 8px;
  padding: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  margin: 9px 0;
}
.source-list {
  margin: 5px 0 12px;
  padding-left: 1.75rem;
  font-size: 0.84rem;
}
.source-list li {
  padding: 2px 0;
  overflow-wrap: anywhere;
}
.inline-cite {
  font-size: 0.76rem;
  font-weight: 700;
  margin-left: 0.15em;
}
.samplefoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
dialog {
  width: min(540px, calc(100% - 24px));
  max-height: min(85vh, 800px);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 21px;
  border-radius: 14px;
  overflow: auto;
  box-shadow: 0 18px 80px #16231333;
}
dialog::backdrop {
  background: #15201075;
}
.dialoghead {
  margin-bottom: 12px;
}
.dialoghead button {
  min-height: 30px;
  font-size: 0.8rem;
  padding: 4px 10px;
}
.formgrid {
  display: grid;
  gap: 14px;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  padding: 0;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 6px;
}
.catalog {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  max-height: 270px;
  overflow-y: auto;
}
.catalog-item,
.consent {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 0.88rem;
  cursor: pointer;
}
.catalog-item {
  padding: 8px 10px;
}
.catalog-item + .catalog-item {
  border-top: 1px solid var(--line);
}
.catalog-item strong {
  display: block;
  font-size: 0.9rem;
}
input[type='checkbox'] {
  accent-color: var(--leaf);
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 3px 0 0;
}
.form-error {
  color: var(--rust);
  font-size: 0.86rem;
}
.form-error:empty {
  display: none;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.billing {
  max-width: 680px;
}
@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 13px;
  }
}
@media (max-width: 580px) {
  .shell {
    width: calc(100% - 28px);
  }
  .masthead {
    padding: 11px 14px;
    gap: 8px;
  }
  .byline {
    display: none;
  }
  .store-name {
    font-size: 0.75rem;
  }
  .nav {
    gap: 19px;
  }
  .nav a {
    font-size: 0.84rem;
  }
  main {
    padding-top: 22px;
  }
  .hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  .metrics {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .metric {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1px 8px;
    align-items: center;
    padding: 11px 13px;
  }
  .metric-value {
    grid-row: 1/3;
    grid-column: 1;
    margin: 0;
    font-size: 1.8rem;
  }
  .metric-label,
  .metric-desc {
    grid-column: 2;
  }
  .panel {
    padding: 14px;
  }
  .change {
    align-items: flex-start;
  }
  .banner {
    display: block;
  }
}

.tablewrap {
  overflow-x: auto;
  margin: 8px 0;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.88rem;
}
td,
th {
  padding: 8px;
  text-align: start;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  vertical-align: top;
}
td:not(:first-child),
th:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
th {
  font-weight: 650;
}
.nav {
  overflow-x: auto;
}
.nav a {
  white-space: nowrap;
}

.evidence-picker {
  margin: 0 0 10px;
}
.evidence-picker .field {
  flex: 1 1 240px;
  min-width: 0;
}
.footer {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer span {
  margin-right: auto;
}

.buyer-check {
  margin: 12px 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.buyer-check dl {
  margin: 7px 0 0;
}
.buyer-check dl > div {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) 3fr;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.85rem;
}
.buyer-check dt {
  font-weight: 620;
}
.buyer-check dd,
.buyer-check blockquote {
  margin: 0;
  overflow-wrap: anywhere;
}
.catalog-observations {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.catalog-observations h3 {
  margin-top: 0;
}
.catalog-observations-list {
  font-size: 0.9rem;
  margin: 1rem 0;
}
.catalog-observations-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  padding: 0.35rem 0;
}
.catalog-observations-list dt {
  font-weight: 600;
}
.catalog-observations-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}
