:root {
  --ink: #1b312d;
  --muted: #61746e;
  --line: #dce5df;
  --green: #175a47;
  --paper: #f5f7f3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: var(--green);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
.topbar {
  height: 82px;
  max-width: 1440px;
  padding: 0 48px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  display: inline-block;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  margin-left: 0;
  padding: 2px 7px;
  line-height: 1.2;
}
.version {
  font-size: 12px;
  color: var(--muted);
}
.private {
  margin-left: auto;
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 20px;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 46px 48px 64px;
}
.intro {
  max-width: 830px;
  margin-bottom: 38px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--green);
}
h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin: 0 0 20px;
  font-weight: 650;
}
.lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 680px;
  margin: 0;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 0 0 18px;
}
h3 {
  font-size: 16px;
  margin: 0 0 14px;
}
.workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
}
form {
  display: grid;
  gap: 10px;
}
label {
  font-size: 13px;
  font-weight: 600;
}
textarea,
input {
  width: 100%;
  border: 1px solid #c6d4cc;
  border-radius: 6px;
  background: #fff;
  padding: 11px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  font-size: 13px;
}
.password-control {
  position: relative;
  margin-bottom: 9px;
}
#password {
  padding-right: 52px;
}
#password[aria-invalid="true"] {
  border-color: #922f23;
}
.password-toggle {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: var(--green);
  background: transparent;
}
.password-toggle:hover {
  background: #e8eee8;
}
#run {
  border: 0;
  color: white;
  background: var(--green);
  border-radius: 7px;
  padding: 13px;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 15px 0;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  color: var(--green);
  font-size: 12px;
}
.scope-note {
  padding: 24px 10px;
  font-size: 13px;
  color: var(--muted);
}
.scope-note h3 {
  color: var(--ink);
  font-size: 14px;
}
.status {
  background: #e8eee8;
  border: 1px solid var(--line);
  padding: 12px 17px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 20px;
}
.status.error {
  color: #922f23;
  background: #fff0eb;
}
.empty {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 44px;
  border: 1px dashed #c4d2c8;
  border-radius: 12px;
  background: #ffffff55;
}
.empty-icon {
  font-size: 28px;
  background: #e1eae1;
  width: 48px;
  height: 48px;
  text-align: center;
  border-radius: 10px;
  margin-bottom: 24px;
}
.empty p {
  max-width: 480px;
  color: var(--muted);
  margin: 0;
}
.steps {
  display: flex;
  gap: 22px;
  font-size: 11px;
  margin-top: 35px;
  color: var(--muted);
  flex-wrap: wrap;
}
.report-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.report-heading h2 {
  font-size: 28px;
  margin: 0 0 6px;
}
.report-heading .eyebrow {
  margin-bottom: 8px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.small-button {
  background: white;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--green);
  font-size: 11px;
  white-space: nowrap;
}
.counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.count {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 9px;
}
.count strong {
  font-size: 28px;
  display: block;
  line-height: 1.2;
}
.count span {
  font-size: 12px;
  color: var(--muted);
}
.methodology {
  font-size: 12px;
  color: var(--muted);
  border-left: 3px solid #94ad9c;
  padding: 4px 14px;
  margin: 0 0 26px;
}
.business-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}
.field {
  background: #fff;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.field-label {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.field-value {
  font-size: 14px;
  margin: 6px 0;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.observed {
  background: #e6f1e8;
  color: #286340;
}
.review {
  background: #fff0d3;
  color: #875d0d;
}
.not-checked {
  background: #e9edef;
  color: #55636c;
}
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 25px 0 14px;
}
.section-top h3 {
  margin: 0;
}
.filter-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
select {
  margin-left: 5px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  padding: 6px;
}
.finding {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 9px;
  padding: 16px 18px;
}
.finding-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.finding-title h4 {
  font-size: 14px;
  margin: 0;
  flex: 1;
}
.finding-id {
  font-size: 10px;
  color: var(--muted);
}
.finding p {
  font-size: 13px;
  margin: 10px 0;
  color: #4a5e56;
}
.finding details {
  font-size: 12px;
}
.finding summary,
.inventory > summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
}
.evidence {
  padding: 10px 0;
  border-bottom: 1px solid #edf0ec;
}
.evidence:last-child {
  border-bottom: 0;
}
.evidence blockquote {
  margin: 7px 0 0;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}
.evidence .muted {
  font-size: 10px;
}
.inventory {
  margin-top: 20px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.inventory article {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.inventory h4 {
  font-size: 13px;
  margin: 0 0 8px;
}
.inventory p {
  font-size: 12px;
  color: var(--muted);
}
#limitations ul {
  padding-left: 19px;
  color: var(--muted);
  font-size: 12px;
}
#screenshots img {
  max-width: 100%;
  border: 1px solid var(--line);
}
#screenshots figure {
  margin: 20px 0;
}
#screenshots figcaption {
  font-size: 11px;
  color: var(--muted);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  font-size: 12px;
}
footer {
  padding: 20px 48px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  max-width: 1440px;
  margin: auto;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .version {
    display: none;
  }
  main {
    padding: 30px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .workspace {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 20px;
  }
  .report-heading {
    display: block;
  }
  .actions {
    justify-content: flex-start;
  }
  .business-fields {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .brand {
    font-size: 19px;
    letter-spacing: -0.6px;
  }
  .private {
    margin-left: 0;
  }
  .workspace {
    display: block;
  }
  .intro {
    margin-bottom: 28px;
  }
  .topbar {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .version {
    display: none;
  }
  .scope-note {
    padding: 20px 4px;
  }
  .empty {
    padding: 28px;
  }
  .report-heading h2 {
    font-size: 24px;
  }
  .business-fields {
    grid-template-columns: 1fr 1fr;
  }
  .finding-title {
    flex-wrap: wrap;
  }
  .finding-title h4 {
    min-width: 60%;
  }
  .counts {
    gap: 7px;
  }
  .count {
    padding: 12px;
  }
  .count strong {
    font-size: 25px;
  }
  footer {
    padding: 20px 24px;
  }
}
@media (max-width: 430px) {
  .business-fields {
    grid-template-columns: 1fr;
  }
}
@media print {
  body {
    background: white;
  }
  aside,
  .intro,
  .actions,
  #status,
  .filter-label,
  .topbar .private,
  footer {
    display: none;
  }
  .workspace {
    display: block;
  }
  main {
    padding: 12px;
  }
  .finding,
  .field {
    break-inside: avoid;
  }
  .finding details:not([open]) {
    display: block;
  }
  .inventory {
    break-before: auto;
  }
  .topbar {
    height: 50px;
    padding: 0 12px;
  }
  a {
    color: black;
  }
  #screenshots {
    display: none;
  }
}
