:root {
  color-scheme: dark;
  --bg: #171b19;
  --panel: #202623;
  --text: #f4f5ef;
  --muted: #9da9a2;
  --line: #343c37;
  --accent: #c7e579;
  --cyan: #9bd6d4;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}
.table-action + .table-action {
  margin-left: 8px;
}
#publish-dialog {
  width: 660px;
}
#domain-dialog {
  width: 620px;
}
.domain-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}
.domain-form > label {
  margin-top: 0;
}
.domain-hint {
  margin: 10px 0 20px;
}
.domain-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--muted);
}
.status.domain-verified {
  color: var(--accent);
  background: #c7e57912;
}
.status.domain-pending {
  color: var(--cyan);
  background: #9bd6d412;
}
.status.domain-failed {
  color: #f4b9ae;
  background: #f4b9ae14;
}
.domain-message {
  font-size: 13px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.dns-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.dns-section h3 {
  font-size: 15px;
  margin-bottom: 14px;
}
.dns-section .form-note {
  margin: 12px 0 0;
}
.dns-records {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dns-record {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.dns-record:first-child {
  border-top: 0;
  padding-top: 0;
}
.dns-record-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 13px;
}
.dns-record-head span,
.dns-label {
  color: var(--muted);
  font-size: 11px;
}
.dns-record code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  background: #171d19;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 8px;
  overflow-wrap: anywhere;
  user-select: all;
}
.field-hint {
  color: var(--muted);
  font-size: 11px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkbox-label input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}
.upload-note {
  margin-top: 16px;
}
.publish-feedback {
  margin-top: 18px;
  font-size: 13px;
  color: var(--accent);
}
.deployment-history {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.deployment-history h3 {
  font-size: 15px;
  margin-bottom: 16px;
}
.deployment-history ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.deployment-history li {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.deployment-history p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.deployment-history small {
  color: var(--muted);
  font-size: 10px;
}
.job-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  font-weight: 650;
  line-height: 1.15;
}
h2 {
  font-size: 19px;
  font-weight: 600;
}
h3 {
  font-size: 19px;
}
p {
  line-height: 1.65;
}
button {
  border: 0;
}
button,
a {
  transition:
    background 0.15s,
    color 0.15s;
}
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #455148;
  background: #171d19;
  color: var(--text);
  border-radius: 5px;
  padding: 10px 12px;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
}
textarea {
  resize: vertical;
}
input::placeholder {
  color: #839087;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #cbd3cd;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: #cbd3cd;
}
.brand img {
  width: 116px;
  height: auto;
  display: block;
}
.brand-divider {
  height: 22px;
  width: 1px;
  background: #4a544d;
}
.support-link {
  font-size: 13px;
  color: var(--muted);
}
.support-link:hover {
  color: var(--text);
}
.account {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.badge {
  background: #c7e57918;
  color: var(--accent);
  border: 1px solid #c7e57944;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.quiet {
  background: none;
  color: var(--muted);
  padding: 10px 0 10px 16px;
  border-left: 1px solid var(--line);
  font-size: 13px;
}
.quiet:hover {
  color: var(--text);
}
.login-view {
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 32px 30px;
  position: relative;
}
.login-content {
  width: 100%;
  max-width: 470px;
  margin: auto;
  text-align: left;
  padding: 20px 0 70px;
}
.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.login-content h1 {
  font-size: 60px;
  line-height: 1.09;
  font-weight: 600;
  margin-bottom: 26px;
}
.login-content h1 span {
  color: var(--accent);
}
.login-description {
  font-size: 16px;
  color: #b2beb6;
  margin-bottom: 36px;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 650;
}
.primary {
  background: var(--accent);
  color: #172015;
}
.primary:hover {
  background: #dbf299;
}
.secondary {
  background: #2b342e;
  color: var(--text);
  border: 1px solid #465148;
}
.secondary:hover {
  background: #354138;
}
.login-button {
  width: 100%;
  justify-content: space-between;
  min-height: 56px;
  font-size: 15px;
}
.login-button span {
  font-size: 24px;
  line-height: 1;
}
.identity-note {
  font-size: 12px;
  color: #8d9c92;
  text-align: center;
  margin-top: 16px;
}
.login-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 11px;
  color: #89988e;
  margin-top: 32px;
}
.loading {
  padding: 90px 32px;
  text-align: center;
  color: var(--muted);
}
.notice {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 14px 20px;
  background: #30372b;
  border-left: 3px solid var(--accent);
  font-size: 14px;
}
.workspace {
  max-width: 1268px;
  margin: 0 auto;
  padding: 50px 44px 20px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.page-heading .eyebrow {
  margin-bottom: 12px;
}
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-bottom: 30px;
}
.metrics > div {
  padding: 0 26px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.metrics > div:first-child {
  padding-left: 0;
}
.metrics > div:last-child {
  border: 0;
}
.metrics span {
  font-size: 12px;
  color: var(--muted);
}
.metrics strong {
  font-size: 28px;
  font-weight: 500;
}
.metrics .metric-label {
  font-size: 18px;
  align-self: center;
  color: var(--cyan);
}
.tabs {
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.tabs button,
.tabs a {
  background: none;
  font-size: 13px;
  padding: 14px 0;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tabs .selected {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.tabs a {
  margin-left: auto;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.list-heading p {
  font-size: 12px;
  color: var(--muted);
}
.count {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}
.search {
  width: 260px;
  max-width: 100%;
}
.search input {
  font-size: 12px;
  min-height: 38px;
  background: transparent;
}
.empty {
  text-align: center;
  padding: 66px 20px 80px;
}
.empty-symbol {
  display: block;
  color: var(--cyan);
  font-size: 32px;
  margin-bottom: 18px;
}
.empty p {
  font-size: 13px;
  color: var(--muted);
  max-width: 410px;
  margin: 12px auto 0;
}
.table-scroll {
  position: relative;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  font-weight: 450;
  font-size: 11px;
  color: var(--muted);
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 20px 16px;
  border-bottom: 1px solid #2b342e;
}
th:first-child,
td:first-child {
  padding-left: 0;
}
th:last-child,
td:last-child {
  padding-right: 0;
  text-align: right;
}
td strong {
  font-size: 14px;
  font-weight: 550;
  display: block;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.status {
  display: inline-block;
  white-space: nowrap;
  font-size: 11px;
  padding: 5px 8px;
  background: #303831;
  border-radius: 4px;
  color: #c9d2cb;
}
.status-live {
  color: var(--accent);
  background: #c7e57912;
}
.status-in_setup {
  color: var(--cyan);
  background: #9bd6d412;
}
.table-action {
  background: none;
  border: 1px solid #445048;
  color: #dce5de;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.table-action:hover {
  background: #2d372f;
}
.workspace-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 23px 0;
  margin-top: 50px;
  color: #89978e;
  font-size: 11px;
}
.workspace-footer a {
  color: var(--cyan);
}
dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid #49554c;
  border-radius: 8px;
  padding: 28px;
  width: 540px;
  max-width: calc(100% - 32px);
  max-height: calc(100svh - 48px);
  box-shadow: 0 20px 90px #0007;
}
dialog::backdrop {
  background: #080d0bbb;
  backdrop-filter: blur(4px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.close {
  color: var(--muted);
  background: none;
  font-size: 25px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 24px;
}
form > label {
  margin-top: 18px;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}
.form-error {
  font-size: 13px;
  color: #f4b9ae;
  margin-top: 16px;
}
dl {
  margin: 22px 0 28px;
}
dt {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
dd {
  margin: 7px 0 0;
  font-size: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.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: 700px) {
  .topbar {
    height: auto;
    min-height: 72px;
    padding: 20px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand {
    gap: 15px;
  }
  .brand img {
    width: 100px;
  }
  .support-link {
    font-size: 11px;
  }
  .account {
    width: 100%;
    justify-content: flex-end;
    font-size: 12px;
  }
  .account #account-name {
    margin-right: auto;
    overflow-wrap: anywhere;
    min-width: 0;
  }
  .login-view {
    min-height: calc(100svh - 72px);
    padding: 54px 24px 24px;
  }
  .login-content {
    max-width: 400px;
    padding-bottom: 44px;
  }
  .login-content h1 {
    font-size: 46px;
  }
  .login-description {
    font-size: 14px;
  }
  .login-bottom {
    font-size: 10px;
    flex-wrap: wrap;
  }
  .workspace {
    padding: 32px 20px 16px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }
  h1 {
    font-size: 30px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }
  .metrics > div:nth-child(2) {
    border: 0;
  }
  .metrics > div:nth-child(3) {
    padding-left: 0;
  }
  .metrics strong {
    font-size: 24px;
  }
  .list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .search {
    width: 100%;
  }
  table {
    min-width: 530px;
  }
  .empty {
    padding: 40px 10px 50px;
  }
  .workspace-footer {
    margin-top: 30px;
    flex-wrap: wrap;
  }
  .form-columns,
  .domain-form {
    grid-template-columns: 1fr;
  }
  .notice {
    margin: 16px 20px 0;
  }
  .tabs {
    gap: 24px;
  }
  dialog {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
