:root {
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: #202c29;
  background: #f5f7f8;
  font-synthesis: none;
  --ink: #172c25;
  --muted: #718078;
  --line: #e3e9e6;
  --green: #2e6d50;
  --lime: #cbfa72;
  --white: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 750;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
}
small {
  font-size: 12px;
}
.shell {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  width: 236px;
  inset: 0 auto 0 0;
  background: #152a23;
  color: #d2ded7;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 10px 36px;
  text-decoration: none;
}
.brand img {
  width: 36px;
}
.brand strong {
  color: white;
  display: block;
  font-family: "Space Grotesk";
  font-size: 22px;
  letter-spacing: -1px;
}
.brand small {
  font-size: 10px;
  letter-spacing: 3px;
  color: #9fb6a9;
}
.nav-label {
  padding: 14px 14px 10px;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #8ca496;
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 5px;
  color: #bccdc3;
  text-decoration: none;
  font-size: 14px;
}
.nav-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}
.nav-item:hover {
  background: #233b30;
}
.nav-item.active {
  background: var(--lime);
  color: #193225;
  font-weight: 700;
}
.nav-item .tag {
  margin-left: auto;
  font-size: 10px;
  border: 1px solid #54725f;
  padding: 1px 5px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-note {
  border: 1px solid #365045;
  border-radius: 10px;
  padding: 16px;
  font-size: 12px;
  line-height: 1.6;
  margin: 25px 5px;
  color: #acbfb2;
}
.sidebar-note strong {
  display: block;
  color: #ecf6f0;
  font-size: 13px;
  margin-bottom: 6px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #33483e;
  padding: 19px 10px 0;
  font-size: 13px;
}
.avatar {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  background: #3b5045;
  border-radius: 50%;
  color: #ddecdf;
  font-size: 12px;
}
.profile small {
  display: block;
  color: #8ca496;
  margin-top: 2px;
}
.workspace {
  grid-column: 2;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: white;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.crumb {
  display: flex;
  gap: 13px;
  align-items: center;
}
.crumb strong {
  color: #34483e;
  font-weight: 500;
}
.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  gap: 6px;
}
.pill.soft {
  background: #eff5ec;
  border-color: #dfebd9;
  color: #4c7143;
}
.main {
  padding: 34px 38px;
  max-width: 1580px;
  margin: auto;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 9px;
}
.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce4df;
  border-radius: 7px;
  background: #fff;
  color: #30483b;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.button:hover {
  background: #f1f6f2;
}
.button.primary {
  background: #193d2d;
  color: white;
  border-color: #193d2d;
}
.button.lime {
  background: var(--lime);
  color: #193d2d;
  border-color: var(--lime);
}
.button.ghost {
  background: transparent;
  border-color: transparent;
}
.button svg {
  width: 16px;
  height: 16px;
}
.audit-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 26px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
}
.section-top p {
  font-size: 13px;
  color: var(--muted);
}
.url-row {
  display: flex;
  gap: 10px;
}
.url-input {
  flex: 1;
  position: relative;
  min-width: 100px;
}
.url-input svg {
  position: absolute;
  top: 15px;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #8d9a93;
}
.url-input input {
  padding-left: 42px;
}
input,
select,
textarea {
  border: 1px solid #dce5df;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  color: #21382a;
  max-width: 100%;
  font-size: 14px;
}
input {
  width: 100%;
}
textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
}
.url-row .button {
  padding: 12px 22px;
}
.options {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.options label {
  display: flex;
  gap: 7px;
  align-items: center;
}
.options input {
  width: auto;
  accent-color: #327a4e;
}
.options select {
  font-size: 12px;
  padding: 5px 9px;
  background: #f8faf9;
}
.options .right {
  margin-left: auto;
}
.report-title {
  display: flex;
  gap: 13px;
  align-items: center;
}
.site-icon {
  width: 39px;
  height: 39px;
  background: #e7eee8;
  border: 1px solid #d7e1d8;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #40654e;
}
.site-icon svg {
  width: 21px;
  height: 21px;
}
.meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.score-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin: 18px 0 25px;
}
.score-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 19px;
  border-radius: 10px;
  position: relative;
}
.score-card.featured {
  background: #ecf5df;
  border-color: #c7dfad;
}
.score-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #52675a;
  margin-bottom: 19px;
}
.score-top svg {
  width: 17px;
  height: 17px;
}
.score-value {
  font-family: "Space Grotesk";
  font-size: 37px;
  font-weight: 750;
  letter-spacing: -1.5px;
  line-height: 1.2;
}
.score-value span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: #94a398;
  margin-left: 4px;
}
.score-caption {
  font-size: 11px;
  margin-top: 10px;
  color: #738677;
}
.meter {
  height: 4px;
  border-radius: 6px;
  background: #edf0ed;
  margin-top: 16px;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  background: #43865b;
  border-radius: 6px;
}
.meter.warn i {
  background: #d6a347;
}
.meter.bad i {
  background: #db7562;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 20px;
}
.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  padding: 23px;
  margin-bottom: 20px;
  min-width: 0;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
}
.panel-header h2 {
  font-size: 16px;
}
.count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #f1f4f1;
  color: #6f8072;
  font-size: 11px;
  margin-left: 6px;
}
.text-link {
  color: #54725f;
  border: 0;
  background: none;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
  padding: 0;
}
.issue {
  display: flex;
  gap: 12px;
  border-top: 1px solid #edf0ec;
  padding: 17px 0;
  align-items: flex-start;
}
.issue:first-of-type {
  border-top: 0;
}
.severity {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
  background: #fff3e3;
  color: #a97428;
}
.severity.high {
  background: #fcebe7;
  color: #bd6252;
}
.severity.low {
  background: #edf3fa;
  color: #547ea0;
}
.issue-body {
  flex: 1;
  min-width: 0;
}
.issue h3 {
  font:
    600 13px "Instrument Sans",
    sans-serif;
  line-height: 1.5;
}
.issue p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 4px;
}
.issue .text-link {
  font-size: 11px;
  margin-top: 10px;
}
.badge {
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  display: inline-block;
  background: #f1f4f2;
  color: #718278;
  white-space: nowrap;
}
.badge.high,
.badge.fail,
.badge.regression {
  background: #fbece8;
  color: #b86450;
}
.badge.pass,
.badge.resolved {
  background: #eaf4e8;
  color: #518049;
}
.badge.unknown,
.badge.inconclusive {
  background: #fff3de;
  color: #9b762d;
}
.dim {
  margin: 17px 0;
}
.dim-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #5f7364;
}
.dim-line strong {
  color: #30483a;
  font-weight: 600;
}
.dim .meter {
  height: 5px;
  margin-top: 9px;
}
.agent-callout {
  margin-top: 24px;
  padding: 14px;
  border-radius: 7px;
  background: #f3f7ed;
  font-size: 12px;
  color: #5c744b;
  line-height: 1.6;
}
.agent-callout strong {
  display: block;
  color: #385a30;
  margin-bottom: 4px;
}
.banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #1d382b;
  color: white;
  padding: 25px;
  border-radius: 11px;
  margin: 3px 0 22px;
  position: relative;
  overflow: hidden;
}
.banner-symbol {
  width: 47px;
  height: 47px;
  border: 1px solid #557553;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--lime);
  flex-shrink: 0;
}
.banner h2 {
  font-size: 17px;
}
.banner p {
  font-size: 12px;
  color: #b2c3b5;
  margin-top: 6px;
}
.banner .button {
  margin-left: auto;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #839087;
  font-weight: 500;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  background: #fafcfb;
}
td {
  padding: 16px 12px;
  border-bottom: 1px solid #eef2ee;
  max-width: 330px;
  overflow: hidden;
  text-overflow: ellipsis;
}
td a {
  color: #3a6850;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.empty {
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
}
.empty svg {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: #98ad9e;
}
.empty h2 {
  color: #2d4837;
  margin-bottom: 10px;
}
.empty p {
  font-size: 14px;
  max-width: 430px;
  margin: 0 auto 20px;
}
.empty-small {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0;
  line-height: 1.7;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #94a097;
  font-size: 11px;
  padding: 15px 0;
}
.notice {
  padding: 13px 16px;
  background: #fff7e8;
  color: #8a672d;
  border: 1px solid #f0dfbe;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.notice.sample {
  background: #eef3ff;
  color: #5c7295;
  border-color: #dbe4f4;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}
.field.full {
  grid-column: 1/-1;
}
.field small {
  color: var(--muted);
  line-height: 1.5;
}
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tab {
  padding: 8px 13px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #7b8c7e;
  font-size: 13px;
}
.tab.active {
  background: white;
  border-color: var(--line);
  color: #31573e;
}
.progress {
  background: #ecf4e4;
  border: 1px solid #d8e5cb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.progress h3 {
  font-size: 14px;
}
.progress p {
  font-size: 12px;
  color: #708260;
  margin-top: 8px;
}
pre {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f4f7f5;
  padding: 18px;
  border: 1px solid #e4ebe5;
  border-radius: 7px;
  max-height: 500px;
  overflow: auto;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
}
.stat strong {
  display: block;
  font-size: 27px;
  font-family: "Space Grotesk";
}
.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
dialog {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 100px #152c2338;
  width: 680px;
  max-width: calc(100% - 28px);
  padding: 28px;
  color: var(--ink);
}
dialog::backdrop {
  background: #152b2380;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-bottom: 12px;
}
dialog p {
  font-size: 14px;
  margin: 12px 0;
}
dialog .close {
  float: right;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #193d2d;
  color: white;
  border-radius: 8px;
  padding: 13px 20px;
  box-shadow: 0 5px 25px #0002;
  z-index: 99;
  font-size: 13px;
  display: none;
}
.mobile-brand {
  display: none;
}
.step {
  border-left: 2px solid #bad897;
  padding: 0 0 22px 20px;
  margin-left: 7px;
}
.step h3 {
  font-size: 14px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 9px;
}
.step .badge {
  margin-bottom: 10px;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.filters input {
  max-width: 300px;
}
.filters select {
  padding: 9px;
}
.wrap {
  overflow-wrap: anywhere;
}
.inline-error {
  color: #ad5341;
  font-size: 13px;
  margin-top: 10px;
}
.muted {
  color: var(--muted);
}
.loading {
  padding: 50px;
  text-align: center;
}
.chip {
  padding: 5px 9px;
  background: #eff3ef;
  font-size: 11px;
  border-radius: 5px;
}
.check-label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.check-label input {
  width: auto;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1450px) {
  .main {
    padding: 38px 50px;
  }
  .score-card {
    padding: 23px;
  }
  .score-value {
    font-size: 43px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .shell {
    grid-template-columns: 200px 1fr;
  }
  .main {
    padding: 26px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .score-card {
    padding: 14px;
  }
  .score-top {
    font-size: 11px;
  }
  .score-value {
    font-size: 31px;
  }
  .score-caption {
    font-size: 10px;
  }
  .score-grid {
    gap: 8px;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    width: auto;
    padding: 15px;
    display: block;
  }
  .brand {
    padding: 0 0 12px;
  }
  .brand strong {
    font-size: 19px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .nav-item {
    white-space: nowrap;
    font-size: 12px;
    padding: 9px;
  }
  .nav-label,
  .sidebar-bottom,
  .nav-item .tag {
    display: none;
  }
  .sidebar nav svg {
    width: 15px;
  }
  .topbar {
    height: 54px;
    padding: 0 18px;
  }
  .top-actions .pill {
    display: none;
  }
  .main {
    padding: 22px 16px;
  }
  h1 {
    font-size: 25px;
  }
  .heading {
    align-items: flex-start;
  }
  .heading .button {
    padding: 8px;
    font-size: 11px;
  }
  .subtitle {
    font-size: 13px;
  }
  .score-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .score-card:last-child {
    grid-column: 1/-1;
  }
  .score-top {
    font-size: 13px;
  }
  .score-caption {
    font-size: 12px;
  }
  .audit-box,
  .panel {
    padding: 18px;
  }
  .url-row {
    flex-wrap: wrap;
  }
  .url-input {
    flex-basis: 100%;
  }
  .url-row .button {
    flex: 1;
  }
  .options {
    gap: 11px;
  }
  .options .right {
    margin-left: 0;
  }
  .banner {
    flex-wrap: wrap;
    padding: 20px;
  }
  .banner .button {
    margin-left: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer {
    font-size: 10px;
  }
  .section-top {
    flex-wrap: wrap;
  }
  .issue {
    gap: 9px;
  }
  .report-title h2 {
    font-size: 16px;
  }
  .topbar .crumb {
    font-size: 11px;
  }
  .top-actions {
    gap: 5px;
  }
}
