:root {
  --ink: #172c30;
  --muted: #687b7d;
  --line: #dce5e4;
  --teal: #137b74;
  --mint: #e6f3ed;
  --bg: #f5f7f4;
  --white: #fff;
  --amber: #936216;
  --nav: #142d30;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font:
    14px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: white;
  padding: 10px 15px;
  font-weight: 600;
  transition: background 0.15s;
}
button:hover {
  filter: brightness(0.95);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--teal);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfdcda;
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #89beb2;
  outline-offset: 1px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 29px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 10px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
  margin: 0 0 5px;
}
h3 {
  font-size: 15px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.brand-mark {
  font:
    700 34px/1 Georgia,
    serif;
  color: #bde4ce;
}
.brand-mark span {
  color: #58b4a0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: 36px;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: var(--nav);
  padding: 32px 20px;
  color: #a7bfbe;
  display: flex;
  flex-direction: column;
}
.nav-caption {
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 0 12px;
  color: #839e9d;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
nav button {
  background: none;
  color: #afc6c3;
  text-align: left;
  font-weight: 450;
  padding: 12px;
  display: flex;
  gap: 13px;
}
nav button.active {
  background: #294846;
  color: #d2f0df;
}
nav button:hover {
  background: #203f40;
}
.aside-bottom {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 2.2;
}
.aside-bottom small {
  color: #87a7a2;
}
.aside-bottom button {
  display: block;
  margin-top: 12px;
  background: none;
  padding: 0;
  font-size: 12px;
  color: #b5c9c6;
}
.status-dot {
  display: inline-block;
  background: #80c7a5;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 5px;
}
main {
  margin-left: 224px;
  padding: 38px 40px 24px;
  min-height: 100vh;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 26px;
}
header p:last-child {
  color: var(--muted);
  max-width: 650px;
  margin: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
}
.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.pill {
  display: inline-block;
  border-radius: 20px;
  padding: 3px 9px;
  background: #edf1ef;
  color: #536a65;
  font-size: 11px;
  white-space: nowrap;
}
.pill.good {
  color: #286950;
  background: var(--mint);
}
.pill.warn {
  color: var(--amber);
  background: #fff2d9;
}
.pill.bad {
  color: #b44343;
  background: #fbecec;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 13px;
}
.stat-number {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.2;
}
.stat-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.panel-header p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.banner {
  background: #e9f1ec;
  border: 1px solid #cfdfd5;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.banner h3 {
  margin: 0 0 4px;
}
.banner p {
  margin: 0;
  color: #57736a;
  font-size: 12px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.toolbar input {
  max-width: 420px;
}
.toolbar select {
  max-width: 240px;
}
.toolbar .spacer {
  flex: 1;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf0ee;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
td .sub {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
}
td .name {
  font-weight: 550;
  overflow-wrap: anywhere;
}
.text-button {
  padding: 4px 0;
  background: none;
  color: var(--teal);
  font-size: 12px;
}
.empty {
  padding: 34px;
  text-align: center;
  color: var(--muted);
}
.empty strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 6px;
}
.bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 65px;
  align-items: center;
  gap: 12px;
  margin: 17px 0;
  font-size: 12px;
}
.bar-row > span:first-child {
  overflow-wrap: anywhere;
}
.bar {
  height: 7px;
  border-radius: 5px;
  background: #eaf0ed;
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: #62a58f;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.benchmark-card,
.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px;
}
.benchmark-card h2 {
  margin: 14px 0 8px;
}
.benchmark-card .count {
  font-size: 25px;
  letter-spacing: -0.5px;
  margin: 12px 0;
}
.benchmark-card .count small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}
.benchmark-card .actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 19px;
}
.fingerprint {
  font:
    10px/1.5 ui-monospace,
    monospace;
  color: var(--muted);
  word-break: break-all;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.error {
  color: #af4040;
}
.notice {
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--mint);
  color: #295b47;
  margin-bottom: 20px;
}
.notice.error {
  background: #f9e7e4;
  color: #963e36;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.asset-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.asset-card img {
  height: 170px;
  width: 100%;
  object-fit: contain;
  background: #e9eeeb;
}
.asset-card .asset-info {
  padding: 12px;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.asset-card .asset-info p {
  margin: 6px 0;
}
.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.service-card h2 {
  margin-bottom: 8px;
}
.service-card p {
  font-size: 12px;
  color: var(--muted);
}
.service-card a {
  font-size: 12px;
  font-weight: 600;
}
.service-status {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f1f5f2;
  border-radius: 8px;
  padding: 15px;
  font:
    11px/1.7 ui-monospace,
    monospace;
  max-height: 450px;
  overflow: auto;
}
code {
  font:
    11px/1.6 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  width: min(800px, 92vw);
  max-height: 90vh;
  box-shadow: 0 30px 100px #142d3020;
}
dialog::backdrop {
  background: #142d3070;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  color: var(--muted);
  font-size: 25px;
  padding: 0 5px;
}
footer {
  display: flex;
  justify-content: space-between;
  color: #8b9a96;
  font-size: 10px;
  margin-top: 32px;
}
#login-screen {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #102a2d, #274c46);
}
.login-card {
  width: 420px;
  background: #fcfdf9;
  border-radius: 16px;
  padding: 42px;
}
.login-card .brand-mark {
  color: var(--teal);
  font-size: 52px;
  margin-bottom: 30px;
}
.login-card h1 {
  font-size: 25px;
}
.login-card p {
  color: var(--muted);
}
.login-card form {
  margin: 28px 0;
}
.login-card form button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 15px;
}
.login-card small {
  font-size: 11px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  main {
    padding: 28px 24px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .asset-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 750px) {
  aside {
    width: 68px;
    padding: 25px 10px;
  }
  .brand strong,
  .nav-caption,
  nav span,
  .aside-bottom {
    display: none;
  }
  .brand {
    justify-content: center;
  }
  nav button {
    justify-content: center;
  }
  main {
    margin-left: 68px;
    padding: 24px 16px;
  }
  header {
    display: block;
  }
  .header-actions {
    padding-top: 12px;
  }
  .cards,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner {
    display: block;
  }
  .banner button {
    margin-top: 15px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .login-card {
    margin: 18px;
    padding: 28px;
  }
  .stat {
    padding: 17px;
  }
  .stat-number {
    font-size: 25px;
  }
  footer {
    display: block;
  }
}

.sso-button {
  display: block;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 10px;
}
.hero-stat {
  background: var(--nav);
  color: var(--white);
  border-radius: 14px;
  padding: 26px 26px 22px;
}
.hero-stat.labelled {
  background: #155e59;
}
.hero-stat.segmented {
  background: #1f4d63;
}
.hero-stat .stat-label,
.hero-stat .stat-note {
  color: #bcd0cc;
}
.hero-number {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.hero-caption {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 24px;
}
.sso-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0;
}
.sso-actions .sso-button {
  text-align: center;
}
.sso-button.outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}
.notice.pending {
  background: #fdf5e6;
  color: #6b4a12;
}
.notice .toolbar {
  margin-top: 12px;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}
@media (max-width: 900px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}
.sso-actions .sso-button:not(.outline),
.notice .sso-button {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.notice .sso-button {
  display: inline-block;
}
