@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Instrument+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");
:root {
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #0c1512;
  background: #eef1f0;
  --ink: #0c1512;
  --muted: #5f6d68;
  --line: rgba(12, 21, 18, 0.14);
  --green: #0e7a52;
  --lime: #6ee7a8;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
body {
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
.score-value,
.stat strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 27px;
  line-height: 1.15;
}
h2 {
  font-size: 20px;
}
.shell {
  grid-template-columns: 206px minmax(0, 1fr);
}
.sidebar {
  width: 206px;
  background: #e7ebea;
  border-right: 1px solid var(--line);
  color: var(--ink);
  padding: 20px 12px;
  overflow-y: auto;
}
.brand {
  padding: 0 4px;
  gap: 7px;
  align-items: baseline;
  white-space: nowrap;
}
.wordmark {
  font:
    600 20px "Space Grotesk",
    sans-serif;
  letter-spacing: -0.025em;
}
.brand-sub {
  font: 8.5px var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.new-audit {
  margin: 24px 0 18px;
  width: 100%;
}
.nav-label {
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  padding: 0 6px 8px;
  color: #5f6d68;
  overflow-wrap: anywhere;
}
.nav-item {
  border-left: 2px solid transparent;
  font-size: 13.5px;
  padding: 8px;
  margin-bottom: 2px;
  gap: 6px;
  border-radius: 7px;
  color: #3b4944;
}
.nav-item:hover {
  background: rgba(12, 21, 18, 0.06);
}
.nav-item.active {
  background: white;
  color: var(--ink);
  border-left-color: var(--green);
  font-weight: 500;
}
.sidebar-bottom {
  padding-top: 32px;
}
.profile {
  border-color: var(--line);
  padding: 16px 4px 0;
  margin-top: 18px;
  font-size: 11px;
}
.profile small {
  color: var(--muted);
  font-size: 10px;
}
.avatar {
  background: #d5e2dc;
  color: #0e7a52;
}
.topbar {
  height: 51px;
  padding: 0 24px;
  background: transparent;
  font: 11px var(--mono);
}
.main {
  padding: 24px;
  max-width: 1500px;
}
.heading {
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.heading .eyebrow {
  display: none;
}
.report-url {
  overflow-wrap: anywhere;
}
.heading > div:first-child {
  min-width: 0;
  flex: 1;
}
.meta {
  font: 10.5px/1.6 var(--mono);
  color: var(--muted);
}
.subtitle {
  font-size: 13px;
}
.button {
  font-weight: 500;
  border-color: rgba(12, 21, 18, 0.3);
  color: var(--ink);
  padding: 8px 14px;
  background: transparent;
}
.button.primary {
  background: #0c1512;
  color: white;
  border-color: #0c1512;
}
.button.primary:hover {
  background: #16352b;
}
.button.lime {
  background: #6ee7a8;
  border-color: #6ee7a8;
}
.button:hover {
  background: #e1e8e4;
}
.panel,
.audit-box {
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.panel-header {
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.panel-header h2 {
  font-size: 20px;
}
.panel .empty-small {
  padding: 8px 0 14px;
  font-size: 13px;
  line-height: 1.55;
}
.score-grid {
  gap: 12px;
  margin: 16px 0;
}
.score-card {
  display: flex;
  flex-direction: column;
  padding: 15px;
  border-radius: 10px;
}
.score-value {
  order: 0;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 0;
  color: var(--score-color, #5f6d68);
}
.score-card .meter {
  order: 1;
  margin: 12px 0 10px;
  height: 3px;
}
.score-top {
  order: 2;
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
  align-items: flex-start;
  gap: 6px;
}
.score-top svg {
  display: none;
}
.score-caption {
  order: 3;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}
.score-value span {
  font: 10px var(--mono);
  color: var(--muted);
}
.score-good {
  --score-color: #0e7a52;
}
.score-warn {
  --score-color: #8a6a12;
}
.score-bad {
  --score-color: #b02a1c;
}
.score-card .meter i {
  background: var(--score-color);
}
.meter {
  height: 3px;
  background: rgba(12, 21, 18, 0.1);
}
.meter i {
  background: #0e7a52;
}
.dimension-rows {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.dimension-row {
  display: grid;
  grid-template-columns: 1fr 110px 60px;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.dimension-row:last-child {
  border: 0;
}
.dimension-row .meter {
  margin: 0;
}
.dimension-row strong {
  font: 12px var(--mono);
  text-align: right;
  color: #0e7a52;
}
.issue {
  padding: 12px 0;
  border-color: var(--line);
}
.issue h3 {
  font:
    500 13.5px/1.5 "Instrument Sans",
    sans-serif;
}
.issue p {
  color: #5f6d68;
}
.badge {
  font: 10px var(--mono);
  border-radius: 4px;
}
.text-link {
  color: #0e7a52;
  font-weight: 500;
}
.notice {
  background: #fbf6e6;
  border-color: rgba(138, 106, 18, 0.35);
  color: #725813;
  padding: 11px 13px;
  margin-bottom: 16px;
}
.notice.sample {
  background: #e5efea;
  color: #345a47;
  border-color: #c0d4c7;
}
.agent-callout {
  background: #f0f5f3;
  color: #3b4944;
}
.agent-callout strong {
  color: #0e7a52;
}
.banner {
  background: #0c1512;
  padding: 20px;
  border-radius: 10px;
}
.banner p {
  color: #bdcec6;
}
.banner-symbol {
  color: #6ee7a8;
}
.split {
  gap: 16px;
}
.stats {
  gap: 12px;
}
.stat {
  padding: 16px;
}
.stat strong {
  font-size: 30px;
}
.stat span {
  color: var(--muted);
}
th {
  font: 10px var(--mono);
  color: var(--muted);
  background: #f4f8f7;
  padding: 10px 12px;
}
td {
  padding: 12px;
  border-color: var(--line);
}
pre {
  font: 11.5px/1.6 var(--mono);
  background: #f0f4f3;
  border: 1px dashed rgba(12, 21, 18, 0.25);
}
.footer {
  font: 9px var(--mono);
  color: var(--muted);
}
.finding-check {
  width: 17px;
  height: 17px;
  flex: none;
  accent-color: #0e7a52;
}
.progress {
  background: #e3efe8;
  border-color: #b8d5c5;
}
.progress h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress h3 svg {
  width: 18px;
  height: 18px;
}
.progress p {
  color: var(--muted);
}
.entry {
  min-height: 100vh;
  background:
    radial-gradient(
      1100px 560px at 80% -12%,
      rgba(110, 231, 168, 0.13),
      transparent 62%
    ),
    linear-gradient(180deg, #0a1122 0%, #06080f 52%, #050c0b 100%);
  color: #eef5f2;
}
.entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  flex-wrap: wrap;
}
.entry-header .brand {
  text-decoration: none;
}
.entry-header .wordmark {
  font-size: 26px;
}
.entry-header .brand-sub {
  font-size: 10px;
  color: #a3aeac;
}
.entry-header nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}
.entry-header nav a {
  text-decoration: none;
}
.entry-header .text-link {
  font-size: 13px;
  color: #a3aeac;
}
.entry .button {
  color: #eef5f2;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}
.entry-main {
  max-width: 828px;
  margin: auto;
  padding: 64px 24px 40px;
}
.entry .eyebrow {
  font: 10px/1.8 var(--mono);
  letter-spacing: 0.12em;
  color: #6ee7a8;
  margin-bottom: 18px;
}
.entry h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 14px;
}
.entry h1 span {
  color: #6ee7a8;
}
.entry-intro {
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #b1b8bd;
  margin: 0 0 30px;
}
.entry .audit-box {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.entry .audit-box > .section-top {
  display: none;
}
.entry input,
.entry select {
  background: #141b23;
  color: #eef5f2;
  border-color: rgba(255, 255, 255, 0.2);
}
.entry select option {
  color: #eef5f2;
  background: #141b23;
}
.entry .url-input input {
  border-radius: 999px;
  padding: 14px 21px;
  font: 13.5px var(--mono);
}
.entry .url-input svg {
  display: none;
}
.entry .url-row .button {
  background: #6ee7a8;
  border-color: #6ee7a8;
  color: #06080f;
  padding: 14px 30px;
  font-size: 14.5px;
}
.entry .url-row .button:hover {
  background: #8bf0c0;
}
.entry .options {
  gap: 16px 24px;
  color: #a3aeac;
  margin-top: 18px;
}
.entry .options label {
  font-size: 11.5px;
}
.entry .options select {
  border-radius: 9px;
  padding: 6px 10px;
}
.entry .options .right {
  margin: 0;
  font-size: 11px;
}
.entry .progress {
  background: #111f22;
  color: #eef5f2;
  border-color: #30463f;
  margin-top: 24px;
}
.entry .progress p {
  color: #adbdb4;
}
.entry .progress .text-link {
  color: #6ee7a8;
}
.teasers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 46px;
}
.teasers article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 14px;
}
.teasers .eyebrow {
  color: #a3aeac;
  margin-bottom: 9px;
}
.teasers h2 {
  font-size: 19px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.teasers p {
  font-size: 12px;
  line-height: 1.45;
  color: #a3aeac;
}
.entry-note {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 16px;
  margin-top: 26px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #a3aeac;
}
.entry-main > .text-link {
  display: inline-block;
  margin-top: 18px;
  color: #6ee7a8;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #0e7a52;
  outline-offset: 3px;
}
.entry :focus-visible {
  outline-color: #6ee7a8;
}
dialog {
  max-height: 90vh;
  overflow-y: auto;
}
dialog .button.primary {
  color: white;
}
.entry .button:hover {
  background: rgba(255, 255, 255, 0.09);
}
@media (min-width: 1450px) {
  .main {
    padding: 24px;
  }
  .score-card {
    padding: 15px;
  }
  .score-value {
    font-size: 40px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 206px minmax(0, 1fr);
  }
  .sidebar {
    width: 206px;
  }
  .score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .score-card {
    padding: 15px;
  }
  .main {
    padding: 20px;
  }
  .score-top {
    font-size: 13px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: 100%;
    padding: 16px;
  }
  .sidebar .brand {
    display: inline-flex;
  }
  .new-audit {
    width: auto;
    margin: 0 0 14px;
    float: right;
  }
  .sidebar > nav {
    clear: both;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .sidebar-bottom {
    display: block;
    padding-top: 4px;
    margin: 0;
  }
  .sidebar-bottom .profile,
  .nav-label {
    display: none;
  }
  .nav-item {
    padding: 9px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .main {
    padding: 20px 16px;
  }
  .topbar {
    padding: 0 16px;
  }
  .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .score-card:last-child {
    grid-column: 1/-1;
  }
  .heading {
    gap: 12px;
  }
  .heading > div:first-child {
    flex-basis: 100%;
  }
  .report-url {
    font-size: 24px;
  }
  .dimension-row {
    grid-template-columns: 1fr 60px 42px;
    gap: 10px;
    font-size: 12px;
  }
  .entry-header {
    padding: 18px;
    gap: 20px;
  }
  .entry-header nav {
    gap: 14px;
    flex-wrap: wrap;
  }
  .entry-main {
    padding: 40px 20px;
  }
  .teasers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
  }
  .teasers article:last-child {
    grid-column: 1/-1;
  }
  .entry .url-row .button {
    width: 100%;
  }
  .entry .options {
    gap: 14px;
  }
  .entry .options label {
    flex-wrap: wrap;
  }
  .entry .options .right {
    width: 100%;
  }
  .footer {
    flex-wrap: wrap;
  }
  .panel-header h2 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.measurement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.measurement-grid .eyebrow {
  font: 10px var(--mono);
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.field-data {
  background: #f4f8f7;
  border-style: dashed;
}
.lab-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}
.lab-metrics strong {
  display: block;
  font:
    600 22px "Space Grotesk",
    sans-serif;
}
.lab-metrics span {
  display: block;
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  margin-top: 4px;
}
.finding-detail {
  border-top: 1px solid var(--line);
}
.finding-detail summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  cursor: pointer;
  font-size: 13.5px;
  list-style: none;
}
.finding-detail summary::-webkit-details-marker {
  display: none;
}
.finding-detail summary:before {
  content: "▸";
  color: var(--muted);
}
.finding-detail[open] summary:before {
  content: "▾";
}
.finding-name {
  flex: 1;
}
.finding-detail[open] {
  background: #f1f6f4;
}
.finding-expanded {
  padding: 0 14px 16px;
}
.finding-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
.finding-columns > div {
  min-width: 0;
}
.finding-columns h3 {
  font: 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 8px;
}
.finding-columns p {
  font-size: 13px;
  line-height: 1.55;
}
.entry h1 {
  font-size: clamp(34px, 4.1vw, 54px);
}
@media (max-width: 760px) {
  .measurement-grid,
  .finding-columns {
    grid-template-columns: 1fr;
  }
  .measurement-grid {
    gap: 0;
  }
  .finding-detail summary {
    flex-wrap: wrap;
    gap: 8px;
  }
  .finding-detail summary > .meta {
    display: none;
  }
  .finding-name {
    min-width: 150px;
  }
  .entry h1 {
    font-size: 34px;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
}
.scoring-details {
  margin-top: 18px;
}
.scoring-details summary {
  cursor: pointer;
  font-weight: 500;
}
.scoring-details td:last-child {
  overflow-wrap: anywhere;
}
.entry-unavailable {
  border-color: #b02a1c;
}
.field-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.field-metrics strong {
  display: block;
  font-size: 20px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 760px) {
  .filters select {
    max-width: 100%;
  }
  .pagination {
    align-items: flex-start;
  }
}
