:root {
  --ink: #172b27;
  --muted: #71817b;
  --green: #216b50;
  --light: #edf7f1;
  --border: #e4eae6;
  --bg: #f6f8f6;
  --orange: #b97d37;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 7px;
  padding: 10px 15px;
  color: var(--ink);
  font-weight: 600;
}
button:hover {
  background: #f0f5f1;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: var(--green);
  text-decoration: none;
}
.hidden {
  display: none !important;
}
.shell {
  display: flex;
  min-height: 100vh;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 238px;
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 29px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--ink);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -1px;
  padding: 0 8px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  margin-top: 6px;
  color: var(--muted);
}
.brand-mark {
  background: var(--green);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  text-align: center;
  line-height: 56px;
  font-size: 36px;
  font-weight: 800;
}
.brand-mark.small {
  height: 36px;
  width: 36px;
  font-size: 23px;
  line-height: 36px;
  border-radius: 9px;
  letter-spacing: -3px;
}
.workspace {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 31px 0 27px;
  font-size: 12px;
  font-weight: 650;
}
.workspace small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}
.workspace-dot {
  background: #e8eee8;
  width: 29px;
  height: 29px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #97a39d;
  padding-left: 12px;
  margin-bottom: 12px;
}
nav {
  overflow: auto;
}
nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  margin-bottom: 3px;
  border-radius: 6px;
  color: #66766f;
  font-size: 12px;
  font-weight: 550;
}
nav a:hover {
  background: #f4f7f4;
}
nav a.active {
  background: #eaf3ed;
  color: #246a50;
  font-weight: 700;
}
nav a b {
  width: 17px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 22px;
}
.connection {
  border: 1px solid var(--border);
  padding: 12px 9px;
  border-radius: 7px;
  font-size: 9px;
  color: var(--muted);
}
.connection i {
  display: inline-block;
  background: #6e9c7d;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}
.quiet {
  border: 0;
  background: transparent;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.main-shell {
  margin-left: 238px;
  width: calc(100% - 238px);
}
header {
  height: 76px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
  font-size: 11px;
}
.breadcrumb {
  color: #98a39d;
  margin-right: 9px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 17px;
}
.avatar {
  border: 1px solid var(--border);
  background: #f1f3ed;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.danger-quiet {
  border: 0;
  font-size: 10px;
  color: #a3664c;
  background: transparent;
  padding: 5px;
}
.badge {
  display: inline-block;
  border-radius: 4px;
  background: #f3f4ee;
  padding: 5px 8px;
  font-size: 10px;
  color: #7a8069;
  white-space: nowrap;
}
.badge.green {
  background: var(--light);
  color: var(--green);
}
.badge.orange {
  color: #96612a;
  background: #fcf1df;
}
.badge.red {
  color: #a1594b;
  background: #fff0ec;
}
main {
  padding: 38px;
  max-width: 1680px;
  margin: auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.8px;
  font-weight: 650;
  margin: 0 0 10px;
}
h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
}
h3 {
  font-size: 14px;
}
p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
small {
  color: var(--muted);
}
.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 2px 3px #183c2210;
}
.primary:hover {
  background: #18513d;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.banner {
  display: flex;
  gap: 17px;
  align-items: center;
  background: #eaf2eb;
  border: 1px solid #dbe8dc;
  padding: 20px 23px;
  border-radius: 9px;
  margin-bottom: 25px;
}
.banner-icon {
  font-size: 24px;
  color: var(--green);
}
.banner h3 {
  margin: 0 0 5px;
}
.banner p {
  font-size: 11px;
}
.banner .actions {
  margin-left: auto;
  flex-shrink: 0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 25px;
}
.metric {
  padding: 21px 21px 17px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: white;
}
.metric .label {
  font-size: 11px;
  color: #63766c;
  display: flex;
  justify-content: space-between;
}
.metric strong {
  display: block;
  font-size: 33px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 18px 0 10px;
}
.metric small {
  font-size: 10px;
}
.metric .metric-icon {
  color: #94a29b;
}
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 22px;
  margin-bottom: 25px;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 23px 24px;
  border-bottom: 1px solid #f0f3f0;
}
.panel-head p {
  font-size: 10px;
  margin-top: 6px;
}
.panel-body {
  padding: 22px 24px;
}
.graph {
  width: 100%;
  height: 205px;
}
.graph text {
  fill: #8e9c94;
  font-size: 10px;
}
.graph line {
  stroke: #e8eeea;
  stroke-dasharray: 3 4;
}
.graph path {
  stroke: #438569;
  stroke-width: 2.5;
  fill: none;
}
.graph circle {
  fill: #438569;
}
.legend {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.legend i {
  width: 7px;
  height: 7px;
  background: #438569;
  border-radius: 50%;
  display: block;
}
.pipeline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #f0f3f0;
  font-size: 12px;
}
.pipeline-row:last-child {
  border: 0;
}
.pipeline-row span {
  color: var(--muted);
}
.pipeline-row strong {
  font-size: 16px;
  font-weight: 600;
}
.pipeline-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pipeline-label i {
  width: 7px;
  height: 7px;
  background: #d2e1d5;
  border-radius: 2px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
}
th {
  text-align: left;
  font-size: 9px;
  text-transform: uppercase;
  color: #8c9991;
  letter-spacing: 0.8px;
  font-weight: 650;
  background: #fbfcfa;
  padding: 15px 21px;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 17px 21px;
  border-bottom: 1px solid #edf0eb;
  font-size: 11px;
}
td strong {
  font-weight: 600;
}
td small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
.store-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.store-icon {
  width: 32px;
  height: 32px;
  background: #eff3ee;
  border: 1px solid #e2e8df;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #647a66;
}
.score {
  font-size: 16px;
  color: var(--green);
  font-weight: 700;
}
.empty {
  text-align: center;
  padding: 45px 20px;
  color: var(--muted);
}
.empty strong {
  display: block;
  font-size: 14px;
  color: #536b5c;
  margin-bottom: 10px;
}
.empty p {
  font-size: 11px;
}
.table-footer {
  padding: 15px 24px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
.section-gap {
  margin-top: 25px;
}
.filters {
  display: flex;
  gap: 10px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
input,
select,
textarea {
  border: 1px solid #dce5dd;
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  max-width: 100%;
}
input:focus,
textarea:focus {
  border-color: var(--green);
  outline: 1px solid var(--green);
}
textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}
label {
  display: block;
  font-size: 11px;
  color: #677b6d;
  margin-bottom: 17px;
}
label input,
label textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.field-row {
  display: flex;
  gap: 15px;
}
.field-row label {
  flex: 1;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.7;
  background: #f7f9f5;
  border-radius: 6px;
  padding: 16px;
  margin: 10px 0;
  color: #4e6357;
}
.notice {
  padding: 13px 16px;
  border: 1px solid #eddfc6;
  background: #fffaf0;
  border-radius: 7px;
  color: #956c3b;
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.muted {
  color: var(--muted);
  font-size: 11px;
}
.progress {
  height: 4px;
  background: #edf2ed;
  border-radius: 3px;
  margin-top: 8px;
}
progress {
  width: 100%;
  height: 6px;
  accent-color: var(--green);
}
footer {
  padding: 20px 38px 25px;
  display: flex;
  gap: 10px;
  font-size: 9px;
  color: #9aa79c;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 1000px;
  max-width: 95vw;
  max-height: 92vh;
  padding: 34px;
  box-shadow: 0 30px 90px #12332233;
}
dialog::backdrop {
  background: #10271e55;
}
.close {
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  font-size: 24px;
  padding: 0 8px;
}
.evidence-gallery {
  display: flex;
  gap: 14px;
  overflow: auto;
  padding: 12px 0;
}
.evidence-gallery img {
  width: 240px;
  height: 180px;
  object-fit: contain;
  background: #eee;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.test-row {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.test-row h3 {
  margin: 0 0 8px;
}
.test-row p {
  font-size: 11px;
}
.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #183f30;
  color: #fff;
  padding: 16px 22px;
  border-radius: 9px;
  max-width: 500px;
  z-index: 50;
  box-shadow: 0 10px 30px #1234;
  font-size: 12px;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at top right, #deeddf, transparent 65%);
}
.login-card {
  background: white;
  padding: 45px;
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 420px;
  max-width: 92vw;
  box-shadow: 0 15px 55px #123b1410;
}
.login-card h1 {
  font-size: 27px;
  margin-top: 25px;
}
.login-card h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--green);
}
.login-card p {
  font-size: 12px;
  margin-bottom: 26px;
}
.login-card button {
  width: 100%;
}
.error {
  color: #a54636;
}
.tab-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 24px 0;
}
.tab-summary > div {
  background: #f5f8f3;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 16px;
}
.tab-summary strong {
  display: block;
  font-size: 21px;
  margin-bottom: 6px;
}
details {
  padding: 12px 0;
}
summary {
  cursor: pointer;
  color: var(--green);
  font-size: 12px;
}
.section-title {
  margin: 25px 0 14px;
}
.full-width {
  grid-column: 1/-1;
}
.row-button {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--green);
  text-align: left;
}
.file-input {
  display: none;
}
.mono {
  font-family: Consolas, monospace;
}
.json-settings {
  min-height: 520px;
  font-family: Consolas, monospace;
  font-size: 12px;
}
.activity-list {
  padding: 0;
  list-style: none;
}
.activity-list li {
  padding: 13px 0;
  border-bottom: 1px solid #edf0eb;
  font-size: 11px;
}
.activity-list time {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1500px) {
  main {
    padding: 42px 50px;
  }
  .metrics {
    gap: 22px;
  }
}
@media (max-width: 1100px) {
  aside {
    width: 200px;
    padding: 23px 12px;
  }
  .main-shell {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
  main {
    padding: 25px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-heading {
    align-items: flex-start;
  }
  .banner {
    flex-wrap: wrap;
  }
  .banner .actions {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  aside {
    position: relative;
    width: 100%;
    padding: 16px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .shell {
    display: block;
  }
  .workspace,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 16px;
  }
  nav a {
    white-space: nowrap;
    margin: 0 3px;
    padding: 10px;
  }
  .brand {
    font-size: 20px;
  }
  .main-shell {
    margin: 0;
    width: 100%;
  }
  header {
    height: 60px;
    padding: 0 18px;
  }
  .header-right {
    gap: 8px;
  }
  .avatar,
  .breadcrumb {
    display: none;
  }
  main {
    padding: 24px 16px;
  }
  .page-heading {
    display: block;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading .actions {
    margin-top: 18px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 17px;
  }
  .metric strong {
    font-size: 29px;
  }
  .panel-head {
    padding: 18px;
  }
  .panel-body {
    padding: 18px;
  }
  .tab-summary {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 20px;
    font-size: 8px;
  }
  .field-row {
    display: block;
  }
  dialog {
    padding: 28px 20px;
  }
  .banner {
    padding: 17px;
  }
  .badge {
    font-size: 9px;
  }
}
