:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #23382f;
  background: #f6f8f5;
  font-synthesis: none;
}
.statusline {
  margin: -8px 0 25px;
}
.copy-option {
  padding: 14px;
  border: 1px solid #dce3d7;
  border-radius: 8px;
  background: #f5f8f0;
  line-height: 1.6;
  cursor: pointer;
}
.copy-option input {
  margin: 0 8px 0 0;
  accent-color: #486d2f;
  vertical-align: middle;
}
.copy-option small {
  display: block;
  font-weight: 400;
  color: #758575;
  margin-top: 5px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
  min-height: 100vh;
}
aside {
  width: 245px;
  background: #142f27;
  color: #c7d9ce;
  padding: 35px 24px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
}
.brand {
  font-size: 37px;
  font-weight: 800;
  letter-spacing: -2px;
  display: flex;
  gap: 13px;
  color: #d3ef98;
  text-decoration: none;
  align-items: center;
}
.brand span {
  font-size: 15px;
  letter-spacing: 0;
  color: white;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 7px;
  color: #92afa1;
}
nav {
  margin-top: 55px;
  display: grid;
  gap: 12px;
}
button {
  cursor: pointer;
  font: inherit;
  border: 1px solid #d8e1d8;
  border-radius: 8px;
  background: white;
  color: #294338;
  padding: 11px 18px;
  font-weight: 600;
}
button:hover {
  filter: brightness(0.95);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
nav button {
  background: transparent;
  color: #bfd1c6;
  border: 0;
  text-align: left;
  padding: 15px 12px;
}
nav button.active {
  color: #e0f6b6;
  background: #2b463b;
}
.sender {
  margin-top: auto;
  font-size: 11px;
  line-height: 2;
  color: #93ad9e;
}
.sender strong {
  display: block;
  font-size: 12px;
  color: #e4eee7;
}
.sender small {
  display: block;
}
.dot {
  display: inline-block;
  background: #b4db7c;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}
#logout {
  background: transparent;
  color: #b5cbbb;
  border-color: #395347;
  margin-top: 24px;
}
main {
  margin-left: 245px;
  padding: 0 44px 50px;
  width: calc(100% - 245px);
  max-width: 1600px;
}
header {
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e1e7de;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #708376;
}
.pill,
.badge {
  padding: 6px 10px;
  border-radius: 6px;
  background: #eaf0e5;
  font-size: 11px;
  letter-spacing: 0.2px;
}
.badge.running,
.badge.delivered {
  background: #dfefd0;
  color: #3c652a;
}
.badge.failed,
.badge.bounced,
.badge.complained,
.badge.review {
  background: #fbe4dd;
  color: #9b4533;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  margin: 0 0 10px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
}
p {
  color: #6e7f73;
  font-size: 14px;
  line-height: 1.65;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 0 28px;
  gap: 20px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #70876b;
}
.primary {
  background: #c8e99a;
  border-color: #bfdc94;
  color: #253d24;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin: 24px 0;
}
.stat,
.card {
  background: #fff;
  border: 1px solid #e1e6dc;
  border-radius: 13px;
  padding: 23px;
}
.stat small {
  color: #7b897b;
  font-size: 12px;
}
.stat strong {
  display: block;
  font-size: 34px;
  font-weight: 500;
  margin: 14px 0 0;
}
.card {
  margin-bottom: 22px;
}
.cardtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tablewrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
th {
  font-size: 10px;
  color: #879080;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}
td,
th {
  padding: 17px 10px;
  border-bottom: 1px solid #eef1e9;
}
td button {
  padding: 7px 13px;
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 45px;
  color: #7a8a7c;
}
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 17px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #dce3d7;
  border-radius: 7px;
  padding: 12px;
  margin-top: 8px;
  background: #fbfcfa;
  font: inherit;
  color: #263d2e;
}
textarea {
  min-height: 180px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
input[type="checkbox"] {
  display: inline;
  width: auto;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.muted {
  font-size: 12px;
  color: #758575;
}
.note {
  background: #f0f5e8;
  border: 1px solid #dce7cc;
  padding: 17px;
  border-radius: 9px;
  font-size: 12px;
  color: #5b6c4f;
  margin: 17px 0;
  line-height: 1.7;
}
#notice {
  margin-top: 18px;
  color: #476432;
  font-size: 13px;
}
dialog {
  border: 1px solid #dce3d7;
  border-radius: 18px;
  width: 450px;
  padding: 38px;
}
dialog::backdrop {
  background: #123025ee;
}
dialog h1 {
  margin-top: 18px;
}
dialog button {
  width: 100%;
}
iframe {
  border: 1px solid #e2e6df;
  background: white;
  width: 100%;
  min-height: 300px;
  border-radius: 8px;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
}
a {
  color: #486d2f;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #8fbb58;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  aside {
    width: 200px;
    padding: 25px 15px;
  }
  main {
    margin-left: 200px;
    width: calc(100% - 200px);
    padding: 0 22px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  body {
    display: block;
  }
  aside {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
  }
  .brand {
    font-size: 28px;
  }
  nav {
    display: flex;
    overflow: auto;
    margin-top: 20px;
    gap: 5px;
  }
  nav button {
    white-space: nowrap;
    padding: 10px;
  }
  .sender,
  #logout {
    display: none;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 0 15px 30px;
  }
  header {
    height: 65px;
  }
  .heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 26px;
  }
  .stat,
  .card {
    padding: 16px;
  }
  .heading button {
    font-size: 12px;
  }
}
