:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #20233f;
  background: #f5f5fb;
  font-size: 16px;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #6742c5;
  color: white;
  cursor: pointer;
  font-weight: 650;
}
button:hover {
  background: #5231a8;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button.secondary {
  background: white;
  border-color: #dddbe9;
  color: #363452;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #9277df;
  outline-offset: 3px;
}
input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #c7c4d6;
  border-radius: 10px;
  padding: 10px 12px;
  background: white;
  color: #20233f;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 36px;
  background: white;
  border-bottom: 1px solid #e6e3ef;
}
.brand {
  color: #5631af;
  font-size: 24px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-left: 10px;
  padding: 5px 8px;
  background: #efebfb;
  border-radius: 6px;
  vertical-align: middle;
}
.private-label {
  flex: 1;
  font-size: 13px;
  color: #6b687e;
}
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 36px;
}
h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 12px 0 18px;
}
h2 {
  font-size: 18px;
  margin: 0;
}
h3 {
  margin: 0 0 10px;
  font-size: 17px;
}
p {
  color: #66647a;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #6742c5;
}
.login-card {
  max-width: 540px;
  margin: 36px auto;
  padding: 36px;
  border: 1px solid #e4e0ee;
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 48px #28204308;
}
.login-card label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin-top: 28px;
  margin-bottom: 8px;
}
.login-card button {
  width: 100%;
  margin-top: 14px;
}
#status {
  max-width: 1200px;
  min-height: 24px;
  overflow-wrap: anywhere;
}
#status.error {
  color: #a52b45;
}
#status:empty {
  display: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.metric {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #e6e2ef;
  background: white;
}
.metric strong {
  display: block;
  font-size: 34px;
  color: #5631af;
}
.metric span {
  display: block;
  font-size: 13px;
  color: #66647a;
}
.coverage {
  font-size: 13px;
  max-width: 950px;
  margin: 20px 0 30px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid #e4e0ee;
  border-radius: 20px;
  padding: 24px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.panel-heading > span {
  font-size: 13px;
  color: #66647a;
}
.search-form {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 6px;
  color: #747084;
  background: #faf9fd;
}
td {
  padding: 14px 6px;
  border-bottom: 1px solid #eeecf4;
  font-size: 13px;
}
.user-button {
  color: #5631af;
  background: none;
  padding: 2px 0;
  text-align: left;
  overflow-wrap: anywhere;
  min-height: 44px;
  max-width: 250px;
}
.user-button:hover {
  background: #f3effb;
}
.user-button[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}
td small {
  display: block;
  color: #797488;
  font-size: 11px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
}
.detail-panel h2 {
  overflow-wrap: anywhere;
}
.child {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e6e2ef;
}
.child-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  margin: 10px 0 18px;
}
.child-summary span {
  padding: 5px 9px;
  border-radius: 8px;
  background: #efebfa;
  color: #4e3981;
}
.activity-list {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}
.activity-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  border-bottom: 1px solid #efedf5;
  padding: 8px 0;
}
.activity-list li span:last-child {
  color: #66647a;
  text-align: right;
}
.section-label {
  color: #6742c5;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 750;
  margin-top: 18px;
}
.updated,
footer {
  font-size: 12px;
  color: #746e84;
}
footer {
  padding: 0 36px 30px;
  max-width: 1440px;
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  main {
    padding: 28px 16px;
  }
  .topbar {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .private-label {
    order: 2;
    flex-basis: 100%;
  }
  .topbar #logout {
    margin-left: auto;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .panel {
    padding: 18px;
  }
  .login-card {
    padding: 24px;
    margin: 12px auto;
  }
  footer {
    padding: 0 16px 24px;
  }
}
