:root {
  color-scheme: dark;
  color: #e7e7e8;
  background: #191a1c;
  --blue: #e5e5e7;
  --border: #343538;
  --muted: #989a9f;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
body {
  background: #191a1c;
  color: #e7e7e8;
}
button,
input,
select,
textarea {
  border-radius: 6px;
  background: #252629;
  color: #e3e3e6;
  border-color: #3a3b3f;
}
button {
  font-size: 12px;
  font-weight: 500;
  padding: 9px 13px;
  transition: background 0.12s;
}
button:hover {
  background: #333438;
}
button.primary {
  background: #e1e3e5;
  border-color: #e1e3e5;
  color: #191a1c;
}
button.primary:hover {
  background: #fff;
}
button.danger {
  background: transparent;
  border-color: #673c40;
  color: #f2949a;
}
input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid #a7adb7;
  outline-offset: 2px;
}
a {
  color: #a7bedf;
}
textarea {
  line-height: 1.6;
}
::selection {
  background: #53657a;
  color: #fff;
}
.shell {
  grid-template-columns: 224px 1fr;
}
.sidebar {
  width: 224px;
  background: #202123;
  padding: 27px 13px 20px;
  border-right: 1px solid #303134;
}
.brand {
  padding: 0 12px 35px;
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 650;
  gap: 10px;
}
.brandmark {
  background: #dedfe1;
  color: #222326;
  border: 0;
  border-radius: 5px;
  font-size: 14px;
  width: 29px;
  height: 29px;
  font-weight: 700;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.35px;
  color: #9b9da2;
  margin-top: 6px;
}
.navlabel {
  font-size: 9px;
  letter-spacing: 1.3px;
  color: #7c7e83;
  margin-top: 12px;
}
.nav button {
  color: #9fa1a7;
  font-size: 12px;
  padding: 11px 12px;
  border-radius: 5px;
  gap: 11px;
}
.nav button.active {
  background: #343538;
  color: #f4f4f5;
}
.nav button:hover {
  background: #2c2d30;
  color: #e6e6e8;
}
.nav .ico {
  width: 16px;
  height: 16px;
  stroke-width: 1.6;
}
.sidebarfooter {
  color: #777a80;
  border-color: #35363a;
  font-size: 10px;
  line-height: 1.7;
  padding: 17px 11px 0;
}
.sidebarfooter strong {
  color: #c0c2c8;
  font-size: 11px;
}
.main {
  grid-column: 2;
}
.topbar {
  background: #202123;
  border-color: #303134;
  height: 65px;
  padding: 0 32px;
}
.crumb {
  font-size: 12px;
  color: #919398;
}
.crumb strong {
  color: #d6d7da;
}
.search {
  width: 270px;
  background: #242528;
  font-size: 11px;
}
.profile {
  font-size: 11px;
}
.avatar {
  background: #37393e;
  color: #d6d7da;
  border-radius: 6px;
}
.profile small {
  color: #92959b;
}
.env {
  display: none !important;
}
.content {
  padding: 30px 32px 48px;
  max-width: 1740px;
}
.pagehead {
  align-items: center;
  margin-bottom: 25px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #7d8087;
  margin-bottom: 10px;
}
h1 {
  font-size: 26px;
  font-weight: 580;
  letter-spacing: -0.65px;
  line-height: 1.3;
}
h2 {
  color: #dfe0e3;
}
.subtitle {
  color: #96989e;
  font-size: 12px;
}
.headbuttons {
  padding-top: 0;
  flex-wrap: wrap;
}
.stats {
  gap: 14px;
  margin: 21px 0;
}
.stat {
  background: #222325;
  border: 1px solid #343538;
  border-radius: 7px;
  padding: 20px;
}
.statlabel {
  color: #a3a5aa;
  font-size: 11px;
}
.statlabel .ico {
  color: #72767f;
}
.statvalue {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 17px 0 11px;
}
.statfoot {
  color: #74777d;
  font-size: 10px;
}
.card {
  background: #222325;
  border: 1px solid #343538;
  border-radius: 7px;
}
.cardhead {
  padding: 18px 20px;
  border-color: #353639;
}
.cardhead h2 {
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0;
}
.cardhead small {
  color: #85888f;
}
.cardbody {
  padding: 17px 20px;
}
.notice {
  background: #282b30;
  border: 1px solid #3a3f48;
  color: #b8bdc8;
  padding: 13px 16px;
  line-height: 1.7;
  border-radius: 6px;
  font-size: 11px;
}
.notice.amber {
  background: #2e2a22;
  border-color: #514633;
  color: #c4b28c;
}
.notice .right {
  white-space: normal;
}
.quiet,
.muted {
  color: #92959b;
}
.empty {
  color: #80838a;
  padding: 40px 24px;
  font-size: 11px;
}
.empty strong {
  color: #b9bbc0;
  font-size: 12px;
  font-weight: 500;
}
.loading {
  color: #898c93;
}
.listrow {
  border-color: #353639;
}
.listrow small {
  color: #81848b;
}
.legend {
  color: #868a92;
}
.chart svg line {
  stroke: #36373b;
}
.emptychart,
.emptychart strong {
  color: #82868e;
}
table {
  font-size: 12px;
}
th {
  background: #262729;
  color: #8d9097;
  font-size: 10px;
  font-weight: 500;
  padding: 13px 19px;
  border-color: #36373b;
}
td {
  padding: 16px 19px;
  border-color: #303135;
  color: #c7c9ce;
}
td strong {
  font-weight: 500;
  color: #e1e2e5;
}
tr.clickable:hover,
tr:hover {
  background: #292a2d;
}
.badge {
  border-radius: 4px;
  background: #303236;
  color: #a6aab2;
  font-size: 10px;
  padding: 4px 7px;
  font-weight: 500;
}
.badge.green {
  background: #263a34;
  color: #9ec7b7;
}
.badge.amber {
  background: #3c3526;
  color: #d5bb7c;
}
.badge.red {
  background: #422c30;
  color: #e29a9f;
}
.badge.blue {
  background: #2b3544;
  color: #a4b8d3;
}
.badge.purple {
  background: #383143;
  color: #baa7ce;
}
.domainicon {
  background: #292a2d;
  border-color: #3b3c40;
  color: #c0c3ca;
}
.domaincell {
  font-weight: 500;
}
.mono,
code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  color: #c5c9d1;
}
code {
  background: #303236;
}
.fields {
  border-color: #37383c;
}
.fields label {
  color: #83878f;
}
.fields span {
  color: #d5d7dc;
}
.event {
  border-color: #42454b;
}
.timeline {
  border-color: #393b40;
}
.policyitem {
  border-color: #35373c;
}
.bottomnote {
  color: #82858d;
  font-size: 10px;
}
.error {
  background: #3e292d;
  color: #eea5ab;
  border-color: #70434b;
}
.toolbar,
.filters {
  background: transparent;
}
.tablewrap {
  background: transparent;
}
.marketing-grid {
  gap: 20px;
  margin-top: 22px;
}
.marketing-pager,
.pagination {
  background: #222325;
  border-color: #343538;
}
.marketing-pager button,
.pagination button {
  font-size: 11px;
}
.marketing-pager span {
  font-size: 10px;
}
dialog {
  color: #e2e4e8;
  background: #232426;
  border: 1px solid #4a4c52;
  border-radius: 9px;
  box-shadow: 0 24px 80px #0008;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(2px);
}
.dialoghead {
  border-color: #393b3f;
  background: #252629;
}
.dialoghead h2 {
  font-size: 21px;
  font-weight: 550;
}
.dialoghead button {
  background: #303236;
  border-color: #414349;
}
.fields {
  border-color: #3a3c41;
}
.actionform p,
.marketing-form p {
  color: #9a9da5;
}
.mail-preview {
  border-color: #3b3d42;
  background: #fff;
  color: #222;
}
.mail-preview-tabs {
  background: #292a2d;
}
.mail-preview-tabs button.active {
  background: #3a424d;
  color: #d6e2f3;
}
.mail-preview-note {
  color: #95989f;
}
.studio-toolbar,
.studio-footer,
.studio-header,
.studio-variables,
.studio-controls {
  background: #292a2d !important;
  border-color: #414349 !important;
  color: #b5b9c2;
}
.studio-toolbar button,
.studio-footer button {
  background: #323438;
  color: #d8dbe1;
  border-color: #464a51;
}
.studio-toolbar button.primary,
.studio-footer button.primary {
  background: #e1e3e5;
  color: #191a1c;
}
.studio-toolbar .quiet {
  color: #969aa3;
}
.studio-workspace,
.studio-editor,
.studio-preview,
.studio-preview-shell {
  border-color: #414349 !important;
  background: #191c22;
}
.studio-preview iframe {
  background: white;
}
.studio-text {
  border-color: #414349;
  background: #292a2d;
}
.studio-text summary {
  color: #b5bac3;
}
.studio-code {
  background: #171a20 !important;
  color: #cbd1dc !important;
  border-color: #3b3e45 !important;
}
.editor-toolbar {
  background: #2b2d31;
  color: #b9bec7;
}
.message-preview {
  background: white;
  color: #222;
}
#toast {
  background: #d7d9dd;
  color: #191a1c;
  box-shadow: 0 6px 24px #0007;
  border: 1px solid #eef0f3;
}
.loginpage {
  min-height: 100vh;
  background: #1b1c1e;
  display: grid;
  place-items: center;
  grid-template-columns: 1fr;
  padding: 40px;
}
.loginpanel {
  width: min(380px, 100%);
}
.loginpanel .brand {
  padding: 0 0 44px;
}
.loginpanel h1 {
  font-size: 23px;
  margin-bottom: 10px;
}
.loginpanel p {
  color: #92969e;
  font-size: 12px;
}
.loginpanel form {
  display: grid;
  gap: 10px;
  margin-top: 27px;
}
.loginpanel label {
  font-size: 11px;
  color: #b4b7be;
  margin-top: 7px;
}
.loginpanel input {
  width: 100%;
  background: #242528;
  padding: 12px;
}
.loginpanel button {
  margin-top: 15px;
  padding: 12px;
}
.loginpanel .bottomnote {
  font-size: 10px;
  text-align: center;
  margin-top: 30px;
  color: #72757e;
}
.mfasetup {
  background: #2e343d;
  border: 1px solid #414c5a;
  color: #b9c7da;
  font-size: 12px;
  padding: 16px;
  overflow-wrap: anywhere;
}
.pool-meter {
  height: 4px;
  background: #35373b;
  border-radius: 3px;
  overflow: hidden;
  width: 120px;
  margin-top: 8px;
}
.pool-meter i {
  display: block;
  height: 100%;
  background: #9aaeb0;
}
.ipcell {
  display: flex;
  gap: 10px;
  align-items: center;
}
.page-meta {
  font-size: 10px;
  color: #72767f;
  display: flex;
  gap: 16px;
  margin: 18px 0;
}
.health-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #36383d;
}
.health-row:last-child {
  border: 0;
}
.health-row strong {
  font-size: 12px;
  font-weight: 500;
}
.health-row p {
  font-size: 11px;
  margin: 4px 0 0;
  color: #9599a1;
  overflow-wrap: anywhere;
}
.dnsvalue {
  max-width: 480px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.health-footer {
  font-size: 10px;
  color: #777c85;
  margin-top: 16px;
}
.progressbar {
  background: #35373b;
}
.progressbar div {
  background: #899ba4;
}
@media (min-width: 1700px) {
  .content {
    padding: 38px 44px;
  }
  .topbar {
    padding: 0 44px;
  }
}
@media (max-width: 1100px) {
  .notice {
    display: block;
  }
  .notice .right {
    display: block;
    margin-top: 6px;
  }
  .marketing-grid {
    grid-template-columns: 1fr;
  }
  .headbuttons {
    justify-content: flex-end;
  }
  .search {
    width: 190px;
  }
}
@media (max-width: 850px) {
  .shell {
    grid-template-columns: 64px 1fr;
  }
  .sidebar {
    width: 64px;
    padding: 24px 8px;
  }
  .brand {
    padding: 0 8px 25px;
  }
  .brandname,
  .navlabel,
  .nav .label,
  .sidebarfooter {
    display: none;
  }
  .nav button {
    justify-content: center;
    padding: 12px 0;
  }
  .topbar {
    padding: 0 18px;
  }
  .content {
    padding: 24px 18px;
  }
  .search {
    width: 170px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .pagehead {
    align-items: flex-start;
    flex-direction: column;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .headbuttons {
    justify-content: flex-start;
  }
}
@media (max-width: 560px) {
  .search,
  .crumb {
    display: none;
  }
  .topbar .spacer {
    display: block;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 14px;
  }
  .statvalue {
    font-size: 25px;
  }
  .headbuttons button {
    font-size: 11px;
  }
  .loginpage {
    padding: 25px;
  }
}

.loginpanel .brandname {
  display: block;
}
.loginpanel .brand {
  gap: 12px;
}
.template-editor-dialog .template-editor-head,
.template-toolbar,
.pane-head,
.visual-formatbar,
.visual-link-panel,
.visual-selection-panel,
.editor-insert-card,
.plain-text-panel {
  background: #292a2d;
  color: #bfc3cc;
  border-color: #414349;
}
.template-editor-dialog .template-editor-head h2,
.pane-head strong,
.plain-text-panel summary,
.insert-card-title strong {
  color: #e3e5e9;
}
.template-toolbar button,
.visual-formatbar button {
  background: #33363b;
  color: #d5d9e0;
  border-color: #484c53;
}
.toolbar-note,
.pane-head span,
.pane-head > div > span {
  color: #9298a3;
}
.template-workspace,
.template-code-pane,
.template-preview-pane,
.template-editor-actions {
  border-color: #414349;
}
.template-preview-pane,
.template-preview-viewport {
  background: #1b1d21;
}
.preview-size label {
  background: #34373d;
  border-color: #484c53;
  color: #c9ced7;
}
.preview-size input:checked + span {
  background: #505965;
  color: #eef1f6;
}
#templateHtml {
  background: #171a20;
  color: #cbd2de;
}
.template-editor-actions code {
  background: #32353a;
  color: #b9c5d7;
}
