:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #17252e;
  background: #f6f8f9;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.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;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  background: #101c29;
  color: #cfdae1;
  padding: 30px 17px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 13px 44px;
  color: white;
  font-size: 14px;
  font-weight: 740;
  line-height: 1.04;
  letter-spacing: -0.3px;
}
.brand-mark {
  height: 35px;
  width: 35px;
  border-radius: 10px;
  background: #2bb69f;
  color: #10222c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  letter-spacing: -4px;
  padding-right: 4px;
}
.brand-mark span {
  color: #f6df9b;
}
.rail-section {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.7px;
  color: #78909f;
  padding: 0 14px 12px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #9fb3bf;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin: 2px 0;
}
.nav-item:hover,
.nav-item.active {
  background: #223644;
  color: #fff;
}
.nav-item.active {
  box-shadow: inset 3px 0 #2bb69f;
}
.nav-icon {
  font-size: 18px;
  width: 20px;
  text-align: center;
  font-weight: 400;
}
.rail-spacer {
  flex: 1;
}
.rail-note {
  border-top: 1px solid #30404d;
  padding: 18px 13px 2px;
  font-size: 11px;
  line-height: 1.6;
  color: #8ca3b0;
}
main {
  min-width: 0;
}
.topbar {
  height: 64px;
  background: #fff;
  border-bottom: 1px solid #e8edef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
}
.crumb {
  font-size: 12px;
  color: #86959d;
}
.crumb span {
  padding: 0 11px;
  color: #b4c0c7;
}
.crumb strong {
  color: #293b45;
  font-weight: 650;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6d818c;
  font-size: 11px;
}
.live-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #35b994;
  box-shadow: 0 0 0 3px #dff8f0;
}
.icon-button {
  margin-left: 15px;
  border: 1px solid #dce4e8;
  background: #fff;
  color: #44616a;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 19px;
  line-height: 20px;
}
.icon-button:hover {
  background: #eff7f6;
}
.spinning {
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.content {
  max-width: 1480px;
  margin: auto;
  padding: 38px 44px 30px;
}
.demo-banner {
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff7e8;
  border: 1px solid #f5ddad;
  color: #88611a;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 25px;
}
.heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 28px;
}
.eyebrow,
.section-kicker {
  font-size: 10px;
  color: #188879;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 9px;
}
.heading-row h1 {
  font-size: 31px;
  letter-spacing: -1.2px;
  margin: 0 0 8px;
  line-height: 1.16;
}
.subhead {
  margin: 0;
  color: #778a95;
  font-size: 13px;
}
.select {
  appearance: none;
  padding: 10px 37px 10px 14px;
  border: 1px solid #d9e2e6;
  border-radius: 7px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23536875' stroke-width='2'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E")
    no-repeat right 13px center;
  color: #354e5a;
  font-size: 12px;
  font-weight: 650;
  min-width: 145px;
}
.error-banner {
  padding: 13px 16px;
  border: 1px solid #f0c9c3;
  background: #fff1ef;
  color: #a34335;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.metric-card {
  position: relative;
  overflow: hidden;
  min-height: 141px;
  padding: 20px 21px;
  background: #fff;
  border: 1px solid #e6edef;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(24, 48, 59, 0.025);
  display: flex;
  flex-direction: column;
}
.metric-card.primary {
  background: #143f46;
  border-color: #143f46;
  color: #fff;
}
.metric-label {
  font-size: 11px;
  font-weight: 650;
  color: #788b94;
}
.primary .metric-label {
  color: #b5d5d2;
}
.hint {
  font-weight: 400;
  margin-left: 4px;
}
.metric-card strong {
  font-size: 30px;
  letter-spacing: -1px;
  margin-top: 19px;
  line-height: 1;
  z-index: 1;
}
.metric-foot {
  font-size: 10px;
  color: #97a5ac;
  margin-top: auto;
  padding-top: 9px;
  z-index: 1;
}
.primary .metric-foot {
  color: #a1c5c3;
}
.metric-decoration {
  position: absolute;
  width: 170px;
  height: 170px;
  right: -68px;
  top: -62px;
  border: 25px solid rgba(82, 202, 176, 0.12);
  border-radius: 50%;
}
.panel {
  background: #fff;
  border: 1px solid #e6edef;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(24, 48, 59, 0.025);
}
.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.trend-panel,
.split-panel {
  min-height: 344px;
  padding: 23px 25px;
}
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}
.panel-heading h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.4px;
}
.section-kicker {
  font-size: 9px;
  margin-bottom: 7px;
  letter-spacing: 1.8px;
}
.panel-context {
  color: #9aabb3;
  font-size: 10px;
  white-space: nowrap;
  margin-top: 4px;
}
.trend {
  height: 245px;
  margin-top: 14px;
}
.trend svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.axis-label {
  font-size: 10px;
  fill: #a0afb6;
  font-family: inherit;
}
.breakdown {
  padding-top: 28px;
}
.bar-row {
  margin-bottom: 19px;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 9px;
}
.bar-label span {
  color: #526976;
  font-weight: 640;
}
.bar-label strong {
  color: #253a43;
  font-weight: 680;
}
.bar-track {
  background: #eaf1f0;
  height: 7px;
  border-radius: 10px;
  overflow: hidden;
}
.bar-track div {
  height: 100%;
  background: #28a38f;
  border-radius: 10px;
}
.split-divider {
  height: 1px;
  background: #edf1f3;
  margin: 25px 0 19px;
}
.panel-heading.mini h2 {
  font-size: 14px;
}
.empty-note {
  color: #8c9da6;
  font-size: 11px;
  line-height: 1.6;
  margin: 12px 0;
}
.table-panel,
.detail-panel {
  padding: 23px 25px;
  margin-bottom: 18px;
}
.panel-sub {
  font-size: 11px;
  color: #98a8b0;
  margin: 7px 0 0;
}
.search-row {
  display: flex;
  gap: 10px;
  margin: 21px 0 19px;
}
.search-row input {
  border: 1px solid #dbe5e8;
  border-radius: 7px;
  padding: 10px 13px;
  font-size: 12px;
  color: #28404b;
  flex: 1;
  max-width: 320px;
  outline: none;
}
.search-row input:focus {
  border-color: #27a08e;
  box-shadow: 0 0 0 3px #ddf4ee;
}
.search-row input::placeholder {
  color: #a3b2ba;
}
.button {
  border: 0;
  border-radius: 7px;
  padding: 10px 14px;
  color: #fff;
  background: #188879;
  font-size: 11px;
  font-weight: 700;
}
.button:hover {
  background: #116e62;
}
.button span {
  padding-left: 10px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
}
th {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9badb6;
  font-weight: 750;
  padding: 13px 11px;
  border-bottom: 1px solid #e8eff1;
  white-space: nowrap;
}
td {
  padding: 14px 11px;
  border-bottom: 1px solid #f1f4f5;
  color: #5d737d;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fbfdfd;
}
td.money {
  font-weight: 750;
  color: #1e3842;
}
.ticket-link {
  border: 0;
  background: none;
  color: #158474;
  font-size: 11px;
  font-weight: 750;
  padding: 0;
  text-align: left;
}
.ticket-link:hover {
  text-decoration: underline;
}
.pill {
  display: inline-flex;
  border-radius: 20px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 700;
}
.pill.good {
  background: #e6f6f0;
  color: #269573;
}
.pill.muted {
  background: #fff2e8;
  color: #b57643;
}
.arrow {
  color: #93a7ae;
  text-align: right;
}
.empty {
  text-align: center;
  padding: 30px;
  color: #99aab2;
}
.run-id {
  display: block;
  font-size: 9px;
  color: #a0afb7;
  margin-top: 4px;
  max-width: 270px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.detail-panel {
  border-color: #a8d8cc;
  scroll-margin-top: 25px;
}
.text-button {
  border: 0;
  background: none;
  color: #188879;
  font-size: 11px;
  font-weight: 700;
}
.issue-link {
  margin-top: 8px;
  color: #188879;
  font-size: 11px;
  font-weight: 700;
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 20px;
}
.detail-stats > div {
  background: #f4f8f8;
  border-radius: 8px;
  padding: 16px;
}
.detail-stats span {
  display: block;
  font-size: 10px;
  color: #80929b;
  margin-bottom: 9px;
}
.detail-stats strong {
  font-size: 19px;
  color: #1f3b43;
}
.status {
  font-weight: 650;
  color: #557078;
}
td a {
  color: #188879;
  text-decoration: none;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #a0afb6;
  font-size: 10px;
  padding: 13px 0;
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .rail {
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand {
    font-size: 0;
    padding: 0 7px 40px;
  }
  .nav-item {
    font-size: 0;
    justify-content: center;
    padding: 11px;
  }
  .nav-icon {
    font-size: 19px;
  }
  .rail-section,
  .rail-note {
    display: none;
  }
  .content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .shell {
    display: block;
  }
  .rail {
    display: none;
  }
  .topbar {
    height: 54px;
    padding: 0 17px;
  }
  .content {
    padding: 26px 16px;
  }
  .heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .heading-row h1 {
    font-size: 26px;
  }
  .metrics {
    gap: 9px;
  }
  .metric-card {
    padding: 16px;
    min-height: 123px;
  }
  .metric-card strong {
    font-size: 24px;
  }
  .chart-grid {
    gap: 10px;
  }
  .trend-panel,
  .split-panel,
  .table-panel,
  .detail-panel {
    padding: 18px;
  }
  .trend {
    height: 190px;
  }
  .panel-context {
    display: none;
  }
  .search-row {
    flex-direction: column;
  }
  .search-row input {
    max-width: none;
  }
  .detail-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    flex-direction: column;
  }
}
