:root {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: #21342d;
  background: #f6f7f1;
  line-height: 1.5;
  font-size: 15px;
  font-synthesis: none;
  --dark: #192c23;
  --muted: #607167;
  --lime: #d4f66d;
  --line: #d8ded4;
  --paper: #ffffff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 86px);
}
header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: #fbfcf7;
}
footer {
  min-height: 65px;
  border-top: 1px solid var(--line);
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 0.04em;
  color: #637369;
}
a {
  color: #28553c;
}
.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -1.3px;
  text-decoration: none;
  color: var(--dark);
}
.brand img {
  width: 34px;
  height: 34px;
}
.brand b {
  font-weight: 750;
}
#header-right {
  font-size: 13px;
  color: #617167;
  display: flex;
  align-items: center;
  gap: 16px;
}
main {
  flex: 1;
  width: 100%;
}
.loading {
  margin: 10vh auto;
  text-align: center;
}
.auth {
  max-width: 1460px;
  padding: clamp(24px, 4vw, 64px) clamp(16px, 5vw, 86px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  min-height: calc(100vh - 141px);
}
.visual {
  background: #192c23;
  color: #f4f6e9;
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.5vw, 54px);
  min-height: 560px;
  isolation: isolate;
}
.visual:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(#a8c6a62e 0.8px, transparent 0.9px);
  background-size: 15px 15px;
  mask-image: linear-gradient(to bottom, #0002, #000 60%);
}
.eyebrow,
.overline {
  font:
    600 11px/1.5 ui-monospace,
    'Courier New',
    monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow {
  color: #c3dd9f;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow:before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--lime);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.visual h2 {
  font-size: clamp(38px, 4.4vw, 72px);
  line-height: 1.01;
  letter-spacing: -0.065em;
  font-weight: 520;
  margin: 23px 0 14px;
  max-width: 8em;
}
.visual h2 em {
  font-style: normal;
  color: var(--lime);
}
.visual p {
  font-size: 15px;
  max-width: 30em;
  color: #bacabe;
  margin-bottom: 0;
}
.filesystem-art {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.diagram-key {
  display: flex;
  justify-content: space-between;
  color: #c6d8c8;
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid #5b74644d;
  padding-top: 14px;
}
.authform {
  width: 100%;
  max-width: 430px;
  align-self: center;
  justify-self: center;
  padding: 35px;
}
.authform h1,
.title h1 {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 570;
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 12px 0;
}
.authform > p,
.title p,
.muted {
  color: var(--muted);
}
.overline {
  color: #55713c;
}
.fields {
  display: grid;
  gap: 17px;
  margin: 25px 0 12px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}
input,
select,
textarea {
  font: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border: 1px solid #c3cfc2;
  color: var(--dark);
  border-radius: 6px;
  background: white;
  width: 100%;
}
input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8fab46;
  outline-offset: 2px;
}
button,
.button {
  font: inherit;
  font-size: 14px;
  font-weight: 630;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
button:disabled {
  opacity: 0.48;
  cursor: wait;
}
.primary:hover {
  background: #35573c;
}
.primary .arrow {
  margin-left: auto;
}
.fields .primary {
  margin-top: 5px;
}
.secondary {
  border-color: #c9d2c7;
  color: #294132;
  background: transparent;
}
.ghost {
  padding: 3px 0;
  color: #3b6047;
  background: transparent;
  border: 0;
}
.ghost:hover {
  text-decoration: underline;
}
.tiny {
  font-size: 12px;
}
.error {
  color: #9b3229;
  font-weight: 550;
  white-space: pre-wrap;
  margin: 10px 0;
}
.error:empty {
  display: none;
}
.authnote {
  border-top: 1px solid var(--line);
  margin-top: 27px;
  padding-top: 18px;
  font-size: 13px;
  color: #657166;
}
.shell {
  width: min(1360px, 100%);
  margin: auto;
  padding: 0 clamp(18px, 5vw, 76px) 55px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tabs .button {
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 16px 0;
  color: var(--muted);
}
.tabs .active {
  color: #203c28;
  box-shadow: inset 0 -3px #63854b;
}
.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 37px 0 24px;
}
.title p {
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0 30px;
}
.stat,
.card,
.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
}
.stat {
  padding: 20px;
}
.stat b {
  display: block;
  font-size: 38px;
  letter-spacing: -0.06em;
  line-height: 1.3;
}
.stat:first-child {
  background: var(--dark);
  color: #eff8e8;
}
.stat:first-child small {
  color: #bbd3bc;
}
.stat small,
.caption {
  font:
    12px ui-monospace,
    monospace;
  color: var(--muted);
}
.panel {
  overflow: auto;
  margin: 16px 0 24px;
}
.panel-head,
.row,
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.panel-head {
  padding: 19px 21px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2,
.card h2 {
  font-size: 19px;
  letter-spacing: -0.035em;
  margin: 0;
}
.panel .content,
.card {
  padding: 23px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 16px;
}
.card h2 {
  margin-bottom: 12px;
}
.empty {
  text-align: center;
  padding: 38px 20px;
  color: var(--muted);
}
.empty b {
  display: block;
  color: var(--dark);
  font-size: 18px;
  margin-bottom: 4px;
}
.empty p {
  margin-bottom: 14px;
}
.signal {
  width: 45px;
  height: 45px;
  padding: 7px;
  border: 1px solid #b9c7ad;
  border-radius: 10px;
  background: #ecf3e1;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #526f46;
  font: 22px monospace;
}
.pill {
  display: inline-flex;
  border-radius: 20px;
  background: #eef1e9;
  color: #576657;
  padding: 3px 9px;
  font:
    600 11px/1.65 ui-monospace,
    monospace;
  white-space: nowrap;
}
.filelist fieldset { margin: 12px 0; padding: 14px; border: 1px solid var(--line); }
.filelist label { display: grid; gap: 4px; margin: 6px 0; }
.cve-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.pill.green {
  background: #e5f2d5;
  color: #3f5a30;
}
.pill.high,
.pill.warning {
  background: #ffead5;
  color: #8a4c08;
}
.pill.critical {
  background: #fae0dc;
  color: #a63228;
}
.pill.medium {
  background: #fbf0b7;
  color: #735a12;
}
.pill.low {
  background: #dceef4;
  color: #376574;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  padding: 13px 20px;
  border-bottom: 1px solid #e5e9e1;
  text-align: left;
  vertical-align: middle;
}
th {
  font:
    600 10px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #f9faf6;
}
tr:last-child td {
  border: 0;
}
td small {
  display: block;
  color: var(--muted);
}
td a,
.text-link {
  padding: 0;
  border: 0;
  background: none;
  color: #305b40;
  font-weight: 650;
  text-align: left;
}
.notice {
  padding: 13px 17px;
  background: #f2eddc;
  border: 1px solid #dfd5ae;
  border-radius: 7px;
  font-size: 14px;
  margin: 14px 0;
}
.finding-states {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 20px 0;
}
.finding-states > * {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #305b40;
  text-decoration: none;
  font-weight: 600;
}
.finding-states [aria-current] { background: var(--dark); color: white; }
.finding-states small { display: block; font-weight: 400; }
.finding-explanation { margin: 8px 20px 16px; font-size: 14px; }
.coverage-note {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.coverage-note li + li { margin-top: 4px; }
.panel > .coverage-note { margin: 0 20px 16px; }
.controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.block {
  display: block;
}
.pager {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px;
  align-items: center;
  font-size: 13px;
}
.list {
  padding: 0;
  list-style: none;
}
.list li {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.list li:last-child {
  border: 0;
}
.list small {
  display: block;
  color: var(--muted);
}
dialog {
  width: min(510px, 94vw);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  color: var(--dark);
  max-height: 88vh;
}
dialog::backdrop {
  background: #10231eb0;
}
dialog h2 {
  letter-spacing: -0.045em;
  font-size: 25px;
  margin-bottom: 8px;
}
dialog .fields {
  margin-top: 18px;
}
dialog textarea {
  font: 12px monospace;
  min-height: 75px;
}
.file-choice {
  border: 1px dashed #9aad98;
  border-radius: 8px;
  padding: 15px;
  background: #f8faf3;
}
.filelist label {
  margin-top: 12px;
}
.mfa-qr {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto 18px;
  image-rendering: pixelated;
}
.secret {
  overflow-wrap: anywhere;
  background: #f0f3e9;
  padding: 12px;
  display: block;
  font: 14px/1.6 monospace;
  user-select: all;
}
.progress {
  width: 100%;
  accent-color: #75964f;
}
.breadcrumb {
  margin: 20px 0 -18px;
}
#toast:not(:empty) {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #20392a;
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
  max-width: 92vw;
  z-index: 3;
}
.small {
  font-size: 13px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.right {
  text-align: right;
}
.pending {
  color: #885217;
}
@media (max-width: 800px) {
  .auth {
    padding: 20px;
    grid-template-columns: 1fr 0.95fr;
  }
  .visual {
    padding: 23px;
    min-height: 480px;
  }
  .authform {
    padding: 24px;
  }
  .title {
    align-items: flex-start;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 15px;
  }
  th,
  td {
    padding: 12px;
  }
  .two {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 15px;
  }
}
@media (max-width: 620px) {
  header {
    height: 62px;
  }
  .auth {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .visual {
    min-height: 0;
    padding: 17px 20px;
    display: block;
  }
  .visual h2 {
    font-size: 31px;
    margin: 10px 0;
  }
  .visual p,
  .diagram-key {
    display: none;
  }
  .filesystem-art {
    width: min(100%, 340px);
    margin: 2px auto 0;
  }
  .authform {
    max-width: 420px;
    padding: 15px 12px 25px;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat b {
    font-size: 29px;
  }
  .stat small {
    font-size: 10px;
  }
  .title {
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 18px;
  }
  .tabs {
    gap: 17px;
  }
  .tabs .button {
    font-size: 13px;
  }
  .shell {
    padding: 0 14px 28px;
  }
  #header-right {
    font-size: 11px;
    gap: 8px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 28px;
  }
  .panel-head {
    gap: 8px;
  }
  .card {
    padding: 17px;
  }
  .row {
    align-items: flex-start;
  }
  footer {
    min-height: 48px;
  }
  .two {
    gap: 10px;
  }
  .controls button {
    font-size: 12px;
  }
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.check input {
  width: auto;
}
.fields details {
  font-size: 13px;
}
.fields summary {
  cursor: pointer;
  font-weight: 650;
}
.workspace-nav { padding: 12px 0; }
.panel .workspace-nav { padding: 8px 20px; }
.digest { overflow-wrap: anywhere; }
textarea { min-height: 5rem; width: 100%; font: inherit; }
@media print {
  body:has(.evidence-summary) header, body:has(.evidence-summary) footer,
  body:has(.evidence-summary) nav, body:has(.evidence-summary) .button,
  body:has(.evidence-summary) button { display:none; }
  .evidence-summary table {min-width:0;}
  .evidence-summary { color:#111; background:white; }
}

.public-guide {
  max-width: 1460px;
  margin: 0 auto 3rem;
  padding: 0 clamp(16px, 5vw, 86px);
}
.public-guide h2 { margin: 0 0 1.1rem; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.18; }
.public-guide h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.public-guide p { margin: .5rem 0; line-height: 1.6; }
.public-guide ol { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.6rem; padding: 0; list-style: none; }
.public-guide li { border-top: 2px solid var(--line); padding: 1rem 0; }
.conformity-guide { background: #edf2e9; border-radius: 12px; padding: clamp(18px, 3vw, 34px); margin-top: 1.6rem; }
.conformity-guide p { max-width: 95ch; }
.public-guide a { color: #224c39; text-decoration: underline; }
@media (max-width: 700px) {
  .public-guide ol { grid-template-columns: 1fr; gap: 0; }
}
dialog:has(.quality-preview) { width: min(880px, 94vw); }
.quality-preview { margin-block: .75rem; }
.quality-preview summary { cursor: pointer; font-weight: 650; }
.quality-table { overflow-x: auto; }
.quality-table td { overflow-wrap: anywhere; vertical-align: top; }
.quality-view { padding: 1rem; }
.quality-view p { margin: .5rem 0 1rem; }

.alert-components { list-style: none; margin: 0; padding: 0; overflow-wrap: anywhere; }
.alert-components li + li { margin-top: .5rem; }
