:root {
  --brick: #bd3a0a;
  --ink-4: #6f6a63;
}

.ars-main {
  min-height: 78vh;
  padding: 148px 0 96px;
  background: var(--bg);
}

.ars-page { max-width: 1240px; }
.ars-loading { color: var(--ink-3); }
.ars-eyebrow,
.ars-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 10.5px/1.4 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ars-eyebrow { color: var(--brick); }
.ars-kicker { color: var(--ink-2); }
.ars-eyebrow::before,
.ars-kicker::before,
.ars-form-title::before {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--brick);
  content: '';
}
.ars-label {
  color: var(--ink-3);
  font: 600 10px/1.4 var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ars-overview-hero {
  display: grid;
  gap: 12px;
  margin: 4px 0 24px;
  padding: 20px 0 26px;
  border-bottom: 1px solid var(--ink);
}
.ars-overview-hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}
.ars-overview-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}
.ars-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.ars-overview-meta span {
  padding: 4px 8px;
  border: 1px solid rgba(200,65,13,.35);
  background: rgba(200,65,13,.06);
  color: var(--brick-2);
  font: 500 10px var(--font-mono);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.ars-form-panel {
  margin: 24px 7px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: 7px 7px 0 var(--ink);
}
.ars-submit { display: grid; gap: 8px; }
.ars-form-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font: 650 21px/1.1 var(--font-display);
  letter-spacing: -.015em;
}
.ars-form-row { display: flex; gap: 10px; }
.ars-input {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  caret-color: var(--brick);
  font: 14px var(--font-mono);
  outline: none;
}
.ars-input::placeholder { color: var(--ink-4); opacity: 1; }
.ars-input:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(200,65,13,.09);
}
.ars-scan-button {
  min-width: 104px;
  min-height: 44px;
  justify-content: center;
  padding: 10px 24px;
  line-height: 1;
}
.ars-scan-button:disabled {
  border-color: rgba(200,65,13,.3);
  background: rgba(200,65,13,.08);
  color: var(--brick-2);
  cursor: wait;
}
.ars-form-help,
.ars-form-message { margin: 0; color: var(--ink-3); font-size: 12.5px; }
.ars-form-message[data-tone="error"] { margin-top: 12px; color: var(--fail); }
.ars-challenge { margin-top: 12px; }

.ars-section { margin-top: 52px; }
.ars-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
}
.ars-section-head > div { display: grid; gap: 6px; }
.ars-section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.ars-section-head > p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-3);
  font-size: 13px;
}

.ars-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ars-category {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 11px;
  padding: 20px;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 4px 4px 0 var(--brick);
}
.ars-category h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.ars-category-question { margin: 0; color: var(--ink-3); font-size: 12.5px; }
.ars-overview-category {
  display: grid;
  grid-template-rows: auto minmax(54px, auto) minmax(48px, auto) 1fr;
  align-content: start;
  padding: 24px;
}
.ars-overview-category .ars-label { color: var(--brick); font-family: var(--font-display); }
.ars-overview-category h3 { font-size: 21px; }
.ars-example-list {
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.ars-example-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.35;
}
.ars-example-list li::before {
  width: 5px;
  height: 5px;
  flex: none;
  margin-top: 6px;
  background: var(--brick);
  content: '';
}
.ars-report-category {
  display: grid;
  grid-template-rows: auto minmax(46px, auto) minmax(38px, auto) minmax(58px, auto) auto auto;
  align-content: start;
}
.ars-category-counts { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; }
.ars-category-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.ars-category-foot > span {
  color: var(--ink-3);
  font: 9.5px var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ars-history {
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.ars-history-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.ars-history-search {
  display: flex;
  width: min(420px, 100%);
  height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--line-2);
  color: var(--ink-4);
}
.ars-history-search:focus-within {
  border-color: var(--brick);
  box-shadow: 0 0 0 2px rgba(200,65,13,.08);
}
.ars-search-icon { font-family: var(--font-mono); }
.ars-history-search-input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 12.5px var(--font-sans);
  outline: none;
}
.ars-history-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font: 600 10px var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ars-history-size-select {
  height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 500 12px var(--font-sans);
}
.ars-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px 30px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}
a.ars-history-row:hover { background: var(--bg-2); }
.ars-history-head {
  padding-block: 8px;
  border-top: 0;
  background: var(--ink);
  color: rgba(246,242,239,.8);
  font: 600 10px var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ars-history-domain { overflow: hidden; color: var(--brick); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
a.ars-history-row:hover .ars-history-domain { text-decoration: underline; text-underline-offset: 3px; }
.ars-history-date { color: var(--ink-3); font: 10.5px var(--font-mono); white-space: nowrap; }
.ars-history-arrow { color: var(--ink-4); }
.ars-history-empty { margin: 0; padding: 22px 16px; color: var(--ink-3); }
.ars-history-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  border-top: 1px solid var(--line-2);
  background: var(--bg-2);
}
.ars-history-summary,
.ars-history-pages span {
  color: var(--ink-3);
  font: 600 10px var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ars-history-pages { display: flex; align-items: center; gap: 10px; }
.ars-history-pages button {
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  font: 600 9.5px var(--font-mono);
  text-transform: uppercase;
  cursor: pointer;
}
.ars-history-pages button:hover:not(:disabled) { border-color: var(--brick); color: var(--brick); }
.ars-history-pages button:disabled { color: var(--ink-4); cursor: not-allowed; }

.ars-result-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 32px;
  margin: 8px 0 24px;
}
.ars-result-hero-main { display: grid; min-width: 0; gap: 12px; }
.ars-result-title { display: flex; min-width: 0; align-items: center; gap: 14px; }
.ars-result-favicon {
  display: grid;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #fff;
}
.ars-result-favicon[hidden] { display: none; }
.ars-result-favicon img { width: 48px; height: 48px; object-fit: contain; }
.ars-result-hero h1 {
  max-width: 900px;
  overflow-wrap: anywhere;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .98;
}
.ars-result-hero p { max-width: 640px; margin: 0; color: var(--ink-2); font-size: 14px; }
.ars-result-side { display: grid; min-width: max-content; justify-items: end; gap: 14px; padding-top: 4px; }
.ars-result-pills,
.ars-result-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ars-result-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  font: 600 10px var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ars-result-pill-complete { border-color: rgba(31,95,63,.25); background: rgba(31,95,63,.08); color: var(--pass); }
.ars-result-actions .btn { min-height: 40px; justify-content: center; padding: 9px 16px; font-weight: 600; }

.ars-running {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid #1f5da6;
  background: #fff;
}
.ars-running-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ars-running-head strong { font-size: 14px; }
.ars-running-copy { color: var(--ink-3); font-size: 12.5px; }
.ars-running-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1f5da6;
  box-shadow: 0 0 0 5px rgba(31,93,166,.12);
  animation: ars-pulse 1.4s ease-in-out infinite;
}
.ars-progress-track { max-width: 560px; height: 8px; background: var(--bg-3); }
.ars-progress-fill { display: block; width: 2%; height: 100%; background: #1f5da6; transition: width 180ms ease; }
.ars-running-note { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }
@keyframes ars-pulse { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

.ars-notice,
.ars-empty { padding: 24px; border: 1px solid var(--warn); background: #fff; }
.ars-notice h2 { font-size: 26px; }
.ars-notice p { color: var(--ink-2); }

.ars-summary {
  margin: 24px 8px 0 0;
  border: 1px solid var(--ink);
  background: #fff;
  box-shadow: 8px 8px 0 var(--brick);
}
.ars-summary-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.ars-stat { display: flex; min-height: 150px; flex-direction: column; gap: 10px; padding: 22px; }
.ars-stat + .ars-stat { border-left: 1px solid var(--ink); }
.ars-stat > span {
  color: var(--ink-3);
  font: 600 10px var(--font-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ars-stat > strong { font: 600 clamp(44px,5vw,60px)/1 var(--font-display); letter-spacing: -.04em; }
.ars-stat > strong small { color: var(--ink-4); font: 500 15px var(--font-mono); }
.ars-stat > em { margin-top: auto; color: var(--ink-3); font-size: 12px; font-style: normal; }
.ars-stat-primary { background: var(--ink); color: var(--bg); }
.ars-stat-primary > span,
.ars-stat-primary > em { color: rgba(246,242,239,.66); }
.ars-stat-primary > strong small { color: rgba(246,242,239,.72); }
.ars-summary-bar { display: grid; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--ink); background: var(--bg-2); }

.ars-bar { display: flex; height: 12px; }
.ars-bar-mid { height: 8px; }
.ars-bar-mini { height: 6px; }
.ars-segment { min-width: 3px; }
.ars-segment + .ars-segment { margin-left: 2px; }
.ars-segment-pass { background: var(--pass); }
.ars-segment-warning { background: var(--warn); }
.ars-segment-fail { background: var(--fail); }
.ars-segment-error { background: repeating-linear-gradient(135deg,#807a76 0,#807a76 3px,#4a4644 3px,#4a4644 6px); }
.ars-segment-not_tested { background: transparent; box-shadow: inset 0 0 0 1px var(--ink-4); }
.ars-segment-not_applicable { background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.ars-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ars-legend span { color: var(--ink-3); font: 10px var(--font-mono); text-transform: uppercase; }

.ars-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid;
  font: 600 10px/1.5 var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ars-chip-pass { border-color: rgba(31,95,63,.25); background: rgba(31,95,63,.08); color: var(--pass); }
.ars-chip-warning { border-color: rgba(138,90,0,.25); background: rgba(138,90,0,.08); color: var(--warn); }
.ars-chip-fail { border-color: rgba(142,30,20,.25); background: rgba(142,30,20,.08); color: var(--fail); }
.ars-chip-error { border-color: var(--line-2); background: repeating-linear-gradient(135deg,#f6f2ef 0,#f6f2ef 3px,#e5ded6 3px,#e5ded6 6px); color: var(--ink-2); }
.ars-chip-not_tested { border-style: dashed; border-color: var(--ink-4); color: var(--ink-3); }
.ars-chip-not_applicable { border-color: var(--bg-3); background: var(--bg-3); color: var(--ink-3); }

.ars-text-button {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--brick);
  font: 600 10px var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}
.ars-text-button:hover { text-decoration: underline; text-underline-offset: 3px; }

.ars-fixes { border: 1px solid var(--line-2); background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.ars-fix {
  display: grid;
  grid-template-columns: 32px 104px 190px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
}
.ars-fix:first-child { border-top: 0; }
.ars-fix-index { color: var(--ink-4); font: 600 12px var(--font-mono); }
.ars-fix h3 { font-size: 13px; line-height: 1.3; }
.ars-fix-recommendation { margin: 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.35; }

.ars-filters {
  display: grid;
  grid-template-columns: auto minmax(170px,210px) minmax(0,1fr);
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line-2);
  background: #fff;
}
.ars-filter-set { display: grid; gap: 4px; }
.ars-filter-label { color: var(--ink-3); font: 600 9px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ars-category-filter { display: inline-flex; width: max-content; height: 36px; border: 1px solid var(--line-2); background: #fff; }
.ars-category-filter button {
  height: 34px;
  padding: 6px 10px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  font: 600 11px var(--font-sans);
  cursor: pointer;
}
.ars-category-filter button:first-child { border-left: 0; }
.ars-category-filter button span { margin-left: 4px; color: var(--ink-4); font: 500 9px var(--font-mono); }
.ars-category-filter button.is-active { background: var(--ink); color: var(--bg); }
.ars-category-filter button.is-active span { color: rgba(246,242,239,.76); }
.ars-filter-select {
  width: 100%;
  height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 600 12px var(--font-sans);
}
.ars-filter-count { align-self: center; justify-self: end; color: var(--ink-3); font: 11px var(--font-mono); }

.ars-check-table { border: 1px solid var(--line-2); background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.ars-check-head,
.ars-check-row {
  display: grid;
  grid-template-columns: 128px minmax(0,1fr) 84px 230px 30px;
  gap: 14px;
  align-items: center;
}
.ars-check-head {
  padding: 9px 16px;
  background: var(--ink);
  color: var(--bg);
  font: 600 10px var(--font-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ars-check-category {
  display: grid;
  grid-template-columns: 260px 140px minmax(0,1fr) 20px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px 16px;
  border: 0;
  border-top: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.ars-check-category:hover,
.ars-check-row:hover { background: var(--bg-2); }
.ars-check-category-title { font: 600 10.5px var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.ars-check-category-bar { width: 140px; }
.ars-check-category-counts { justify-self: end; color: var(--ink-3); font: 600 9.5px var(--font-mono); text-transform: uppercase; }
.ars-check-toggle { color: var(--ink-3); }
.ars-check-row {
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}
.ars-check-row.is-muted .ars-check-name { color: var(--ink-4); }
.ars-check-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ars-check-name strong { font-weight: 600; }
.ars-check-name span { color: var(--ink-3); font-size: 12.5px; }
.ars-check-evidence-count,
.ars-check-id { overflow: hidden; color: var(--ink-4); font: 10px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.ars-check-empty { padding: 14px 16px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; }
.ars-check-details {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 22px;
  padding: 18px 16px 20px;
  border-top: 1px solid var(--line-2);
  background: var(--bg-2);
}
.ars-check-details h4 { margin: 0 0 8px; color: var(--ink-3); font: 600 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ars-check-details h4:not(:first-child) { margin-top: 16px; }
.ars-check-details p { margin: 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.55; }
.ars-recommendation { padding: 12px 14px; border: 1px solid rgba(138,90,0,.25); border-left: 3px solid var(--warn); background: rgba(138,90,0,.08); color: var(--ink-2); font-size: 12.5px; }
.ars-recommendation.is-fail { border-color: rgba(142,30,20,.25); border-left-color: var(--fail); background: rgba(142,30,20,.08); }
.ars-evidence { padding: 9px 12px; border: 1px solid var(--line-2); background: #fff; }
.ars-evidence + .ars-evidence { margin-top: 8px; }
.ars-evidence-source { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; min-width: 0; }
.ars-source-tag,
.ars-http-tag { padding: 1px 5px; border: 1px dashed var(--line-2); color: var(--ink-4); font: 600 9px var(--font-mono); text-transform: uppercase; }
.ars-evidence-url { overflow: hidden; color: var(--brick); font: 10px var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.ars-evidence-url:hover { text-decoration: underline; }
.ars-muted { color: var(--ink-3); }
.ars-check-footer { display: flex; justify-content: space-between; gap: 12px; padding: 9px 16px; border-top: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-3); font: 10px var(--font-mono); text-transform: uppercase; }
.ars-method { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--ink-3); font-size: 12.5px; }
.ars-method a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* The shared footer uses decorative low-contrast tones. Keep this public
   report within WCAG AA without changing the rest of the marketing site. */
#site-footer .footer-col-title { color: #8a857d; }
#site-footer .footer-wordmark { color: #6f6a63; }

@media (max-width: 980px) {
  .ars-result-hero { grid-template-columns: 1fr; }
  .ars-result-side { min-width: 0; justify-items: start; }
  .ars-result-pills,
  .ars-result-actions { justify-content: flex-start; }
  .ars-summary { margin-right: 0; }
  .ars-summary-grid { grid-template-columns: 1fr; }
  .ars-stat { min-height: 0; }
  .ars-stat + .ars-stat { border-top: 1px solid var(--ink); border-left: 0; }
  .ars-category-grid { grid-template-columns: 1fr; }
  .ars-section-head { display: grid; gap: 10px; }
}

@media (max-width: 760px) {
  .ars-main { padding-top: 126px; }
  .ars-form-row { flex-direction: column; }
  .ars-history-search { width: 100%; }
  .ars-history-row { display: flex; flex-wrap: wrap; gap: 6px 10px; }
  .ars-history-domain { width: 100%; }
  .ars-history-arrow { margin-left: auto; }
  .ars-history-foot { align-items: flex-start; flex-direction: column; }
  .ars-history-pages { width: 100%; justify-content: space-between; }
  .ars-result-favicon { width: 46px; height: 46px; flex-basis: 46px; }
  .ars-result-favicon img { width: 36px; height: 36px; }
  .ars-fix { grid-template-columns: 28px 92px minmax(0,1fr) auto; }
  .ars-fix h3 { grid-column: 3; }
  .ars-fix-recommendation { grid-column: 1 / -1; }
  .ars-filters { grid-template-columns: 1fr; }
  .ars-filter-count { justify-self: start; }
  .ars-category-filter { max-width: 100%; overflow-x: auto; }
  .ars-check-head { display: none; }
  .ars-check-row { display: flex; flex-wrap: wrap; gap: 6px 10px; }
  .ars-check-name { order: 3; width: 100%; white-space: normal; }
  .ars-check-evidence-count { order: 1; margin-left: auto; }
  .ars-check-chevron { order: 2; }
  .ars-check-id { order: 4; width: 100%; }
  .ars-check-category { grid-template-columns: minmax(0,1fr) 20px; gap: 8px 12px; }
  .ars-check-category-bar { grid-column: 1; grid-row: 2; }
  .ars-check-category-counts { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .ars-check-toggle { grid-column: 2; grid-row: 1; }
  .ars-check-details { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .ars-overview-meta { display: none; }
  .ars-form-panel { padding: 18px; }
  .ars-result-title { align-items: flex-start; }
  .ars-result-hero h1 { font-size: 42px; }
  .ars-summary { box-shadow: 5px 5px 0 var(--brick); }
}

@media (prefers-reduced-motion: reduce) {
  .ars-running-dot { animation: none; }
  .ars-progress-fill { transition: none; }
}
