:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #162232;
  background: #f6f8fa;
  font-synthesis: none;
  font-size: 14px;
  --muted: #75818f;
  --line: #e5e9ee;
  --green: #16876f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid #dce2e7;
  background: white;
  padding: 10px 15px;
  border-radius: 7px;
  color: #283849;
  font-weight: 550;
  transition: 0.15s;
}
button:hover {
  background: #f2f6f5;
  border-color: #aebeb8;
}
button.primary {
  background: #173f36;
  border-color: #173f36;
  color: white;
}
button.danger {
  color: #b3463c;
}
button.small {
  font-size: 12px;
  padding: 6px 9px;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: #16876f;
  text-decoration: none;
}
.app {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 222px;
  background: #10251f;
  color: #c0cdc7;
  padding: 32px 19px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -1px;
  padding: 0 13px 38px;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #6a9d82;
  border-radius: 9px;
  background: #234737;
  color: #c9e7a8;
  font-size: 20px;
}
.nav-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #6d8b7b;
  padding: 10px 14px 13px;
  font-weight: 650;
}
.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 0;
  color: #9eb5aa;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 450;
  margin-bottom: 5px;
  padding: 12px 14px;
}
.nav.active {
  color: #f4fff9;
  background: #264438;
}
.nav .icon {
  width: 18px;
  text-align: center;
  font-size: 17px;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid #294137;
  padding: 22px 10px 0;
  font-size: 12px;
  line-height: 1.9;
}
.environment {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b9d8ad;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #8bbf77;
}
.main {
  margin-left: 222px;
  width: calc(100% - 222px);
}
.topbar {
  height: 74px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.breadcrumb {
  font-size: 12px;
  color: #7b858f;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb strong {
  color: #344339;
  font-weight: 550;
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #66756c;
}
.avatar {
  background: #e8eee8;
  color: #48644e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.content {
  padding: 36px 40px 60px;
  max-width: 1640px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #849185;
  font-weight: 650;
  margin: 0 0 10px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.heading h1 {
  font-size: 28px;
  letter-spacing: -0.9px;
  font-weight: 600;
  margin: 0 0 9px;
}
.sub {
  color: #7b858f;
  font-size: 12px;
  line-height: 1.6;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.metric {
  padding: 21px 23px;
  position: relative;
}
.metric-label {
  font-size: 12px;
  color: #6e7e77;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-value {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 570;
  margin: 17px 0 12px;
}
.metric-foot {
  font-size: 11px;
  color: #929a96;
}
.metric-foot.good {
  color: #2b8465;
}
.metric-foot.warn {
  color: #ae7634;
}
.card-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.card-head h2 {
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}
.card-head .sub {
  margin-top: 6px;
  font-size: 11px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  margin-bottom: 26px;
}
.chart {
  height: 180px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 25px 28px 8px;
}
.bar {
  flex: 1;
  background: #d9e8df;
  min-height: 2px;
  border-radius: 3px 3px 0 0;
  position: relative;
}
.bar:hover {
  background: #609c77;
}
.axis {
  padding: 5px 28px 20px;
  display: flex;
  justify-content: space-between;
  color: #95a198;
  font-size: 10px;
}
.health-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 23px;
  border-bottom: 1px solid #f0f2f4;
  gap: 10px;
}
.health-title {
  font-size: 12px;
  font-weight: 550;
}
.health-desc {
  font-size: 10px;
  color: #8b9690;
  margin-top: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 550;
  background: #edf1f5;
  color: #64748b;
}
.badge.delivered,
.badge.healthy,
.badge.verified,
.badge.enabled {
  background: #eaf4ee;
  color: #398061;
}
.badge.provider_accepted {
  background: #eaf1fb;
  color: #4f75a5;
}
.badge.queued,
.badge.sending {
  background: #f1f0fa;
  color: #7770a6;
}
.badge.failed,
.badge.bounced,
.badge.complained,
.badge.unknown,
.badge.disabled {
  background: #fff1e9;
  color: #b77944;
}
.badge.cancelled {
  background: #eff1f3;
  color: #7e8791;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  background: #fafbfc;
  font-size: 10px;
  letter-spacing: 0.35px;
  font-weight: 550;
  text-transform: uppercase;
  color: #8a958e;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 16px 22px;
  border-bottom: 1px solid #eef1f3;
  vertical-align: middle;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
}
tr:last-child td {
  border: 0;
}
tbody tr:hover {
  background: #fbfcfb;
}
td .primary-text {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 6px;
}
td .secondary-text {
  color: #8a9691;
  font-size: 10px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
}
td button.link {
  border: 0;
  padding: 0;
  background: none;
  color: #3a6e59;
  text-align: left;
}
.empty {
  text-align: center;
  padding: 45px;
  color: #8b9690;
  font-size: 12px;
  line-height: 1.9;
}
.empty strong {
  display: block;
  font-size: 14px;
  color: #5b7063;
  margin-bottom: 8px;
}
.notice {
  padding: 14px 18px;
  background: #f0f5ee;
  color: #55714d;
  border: 1px solid #e0e9dc;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.notice.warn {
  background: #fff8ec;
  border-color: #f2e6cd;
  color: #96723a;
}
.filters {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
input,
textarea,
select {
  border: 1px solid #dbe2de;
  background: white;
  color: #30443a;
  border-radius: 6px;
  padding: 10px 12px;
  max-width: 100%;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #9fbdaa;
  border-color: transparent;
}
.filters input,
.filters select {
  font-size: 11px;
  min-width: 125px;
  flex: 1;
}
.filters input[type="datetime-local"] {
  min-width: 175px;
}
label[hidden] {
  display: none;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #637169;
}
form label {
  margin-bottom: 16px;
}
label small {
  font-size: 10px;
  line-height: 1.5;
  color: #8b9691;
}
textarea {
  min-height: 95px;
  resize: vertical;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.error {
  color: #b05a48;
  background: #fff4ed;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 12px;
  display: none;
}
.error:not(:empty) {
  display: block;
}
dialog {
  border: 1px solid #d9e2dc;
  border-radius: 12px;
  padding: 28px;
  width: 650px;
  max-width: 95vw;
  max-height: 90vh;
  box-shadow: 0 25px 80px #10251f30;
}
dialog::backdrop {
  background: #10251f66;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}
dialog .sub {
  margin-bottom: 24px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.detail-grid .sub {
  margin: 0 0 6px;
}
.detail-grid .value {
  font-size: 12px;
  overflow-wrap: anywhere;
}
pre {
  background: #f4f7f4;
  padding: 15px;
  border-radius: 7px;
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  max-height: 250px;
  overflow: auto;
}
#toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #193e30;
  color: white;
  border-radius: 8px;
  padding: 13px 20px;
  display: none;
  z-index: 20;
  font-size: 12px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: #102b21;
  padding: 70px;
  color: #d5e1d5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-art .brand {
  padding: 0;
}
.login-art h1 {
  font-size: 49px;
  line-height: 1.15;
  letter-spacing: -2px;
  font-weight: 500;
  max-width: 440px;
}
.login-art p {
  color: #a4b6a8;
  line-height: 1.8;
  max-width: 350px;
  font-size: 13px;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 40px;
  background: #fff;
}
.login-panel form {
  width: 330px;
}
.login-panel h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 600;
}
.login-panel .sub {
  margin-bottom: 30px;
}
.login-panel button {
  width: 100%;
  margin-top: 8px;
}
.pagination {
  display: flex;
  justify-content: flex-end;
  padding: 16px 22px;
}
.inline-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}
.section-space {
  margin-top: 24px;
}
.warning-title {
  color: #a46536;
}
.code-output {
  user-select: all;
}
.caption {
  font-size: 10px;
  color: #8d9791;
  margin-top: 13px;
}
.pill {
  border: 1px solid #e4e9e4;
  border-radius: 30px;
  font-size: 10px;
  padding: 6px 10px;
  color: #687b6c;
}
.footer {
  color: #9aa29d;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}
@media (max-width: 1100px) {
  .content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .metric-grid {
    gap: 10px;
  }
  .metric {
    padding: 17px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .sidebar {
    width: 190px;
  }
  .main {
    margin-left: 190px;
    width: calc(100% - 190px);
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 15px;
  }
  .sidebar .brand {
    padding: 0 0 15px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .nav {
    width: auto;
    white-space: nowrap;
  }
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .main {
    margin: 0;
    width: 100%;
  }
  .app {
    display: block;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .heading {
    align-items: flex-start;
  }
  .heading h1 {
    font-size: 23px;
  }
  .topbar {
    height: 60px;
  }
  .content {
    padding: 24px 16px;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.sidebar nav {
  scrollbar-width: none;
}
.sidebar nav::-webkit-scrollbar {
  display: none;
}
