:root {
  --bg: #07111f;
  --bg-soft: #0b1828;
  --surface: #0d1d30;
  --surface-strong: #11243a;
  --line: rgba(159, 185, 211, 0.16);
  --line-strong: rgba(159, 185, 211, 0.28);
  --text: #f5f9fc;
  --muted: #91a6ba;
  --muted-light: #b5c4d2;
  --accent: #72efc7;
  --accent-strong: #42dbaa;
  --blue: #72b6ff;
  --danger: #ff7b82;
  --success: #72efc7;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-heading: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 74% -16%, rgba(43, 129, 130, 0.16), transparent 34rem),
    var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
textarea,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(114, 239, 199, 0.4);
  outline-offset: 3px;
}

[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;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  padding: 7px;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(114, 239, 199, 0.45);
  border-radius: 10px;
  background: rgba(114, 239, 199, 0.08);
}

.brand-mark i {
  width: 4px;
  display: block;
  border-radius: 4px;
  background: var(--accent);
}

.brand-mark i:nth-child(1) {
  height: 7px;
  opacity: 0.55;
}

.brand-mark i:nth-child(2) {
  height: 13px;
}

.brand-mark i:nth-child(3) {
  height: 10px;
  opacity: 0.75;
}

.brand-accent {
  color: var(--accent);
}

.top-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.top-nav a {
  transition: color 180ms ease;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--text);
}

.nav-more {
  position: relative;
}

.nav-more summary {
  cursor: pointer;
  list-style: none;
  transition: color 180ms ease;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary::after {
  content: "⌄";
  margin-left: 6px;
  color: var(--accent);
}

.nav-more[open] summary,
.nav-more summary:hover,
.nav-more.is-active summary {
  color: var(--text);
}

.nav-more-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 16px);
  right: 0;
  width: 230px;
  padding: 8px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #102137;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.nav-more-menu a {
  padding: 9px 10px;
  border-radius: 8px;
}

.nav-more-menu a:hover,
.nav-more-menu a.is-active {
  color: var(--text);
  background: rgba(114, 239, 199, 0.07);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  display: none;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
}

.nav-toggle span {
  margin: 4px 0;
}

.nav-disabled {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-disabled small {
  padding: 2px 6px;
  color: var(--accent);
  border: 1px solid rgba(114, 239, 199, 0.28);
  border-radius: 99px;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-cta:hover {
  color: var(--text);
  border-color: rgba(114, 239, 199, 0.46);
  transform: translateY(-1px);
}

.header-cta-muted {
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.account-callout {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.account-callout a {
  color: var(--accent);
  font-weight: 700;
}

.auth-page {
  min-height: 680px;
  padding: 86px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  align-items: center;
  gap: clamp(50px, 10vw, 140px);
}

.auth-copy h1,
.dashboard-head h1 {
  margin: 22px 0 18px;
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.auth-copy h1 span {
  color: var(--accent);
}

.auth-copy > p {
  max-width: 570px;
  color: var(--muted-light);
}

.auth-copy ul {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  list-style: none;
}

.auth-copy li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 800;
}

.auth-card,
.history-panel {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(17, 36, 58, 0.96), rgba(10, 24, 40, 0.96));
  box-shadow: var(--shadow);
}

.auth-tabs {
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(5, 15, 27, 0.5);
}

.auth-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: var(--text);
  background: rgba(114, 239, 199, 0.1);
}

.auth-card h2 {
  margin: 25px 0 4px;
  font-family: var(--font-heading);
  font-size: 27px;
  letter-spacing: -0.04em;
}

.auth-card > p,
.auth-card > small {
  color: var(--muted);
}

.auth-card form {
  margin: 24px 0 16px;
  display: grid;
  gap: 16px;
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.auth-submit.is-loading > span:first-child {
  font-size: 0;
}

.auth-submit.is-loading > span:first-child::after {
  content: "Memproses…";
  font-size: 14px;
}

.auth-message {
  padding: 11px 13px;
  border: 1px solid rgba(255, 123, 130, 0.28);
  border-radius: 9px;
  color: #ffc5c8;
  background: rgba(255, 123, 130, 0.07);
  font-size: 13px;
}

.auth-message.is-success {
  color: var(--accent);
  border-color: rgba(114, 239, 199, 0.28);
  background: rgba(114, 239, 199, 0.07);
}

.auth-text-link {
  width: fit-content;
  padding: 0;
  color: var(--accent);
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.auth-text-link:hover {
  text-decoration: underline;
}

.auth-forgot-link {
  margin-top: -7px;
  justify-self: end;
}

.auth-back-login {
  margin: 2px auto 18px;
  display: block;
}

.reset-password-page {
  min-height: 700px;
  padding: 80px 0 110px;
  display: grid;
  place-items: center;
}

.reset-password-card {
  width: min(100%, 500px);
}

.reset-password-card h1 {
  margin: 23px 0 6px;
  font-family: var(--font-heading);
  font-size: 34px;
  letter-spacing: -0.045em;
}

.reset-password-loading {
  min-height: 170px;
}

.reset-password-invalid {
  padding: 38px 0 14px;
  text-align: center;
}

.reset-password-invalid p {
  margin: 0 0 18px;
  color: var(--muted-light);
}

.callback-page {
  width: min(540px, calc(100% - 40px));
  min-height: 100vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.callback-spinner,
.history-loading i {
  width: 34px;
  height: 34px;
  margin: 50px 0 12px;
  border: 3px solid rgba(114, 239, 199, 0.16);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.callback-page h1 {
  margin-bottom: 5px;
  font-family: var(--font-heading);
  font-size: 34px;
}

.callback-page p {
  color: var(--muted);
}

.callback-page p.is-error {
  color: var(--danger);
}

.dashboard-page {
  min-height: 700px;
  padding: 70px 0 100px;
}

.dashboard-head {
  margin-bottom: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.dashboard-head h1 {
  margin-bottom: 5px;
  font-size: clamp(42px, 6vw, 66px);
}

.dashboard-head p {
  margin: 0;
  color: var(--muted);
}

.dashboard-actions,
.history-actions {
  display: flex;
  gap: 9px;
}

.dashboard-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.history-panel {
  min-height: 330px;
  box-shadow: none;
}

.history-limit {
  color: var(--muted);
  font-size: 12px;
}

.history-loading,
.history-empty {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted);
  text-align: center;
}

.history-loading i {
  width: 24px;
  height: 24px;
  margin: 0 0 12px;
}

.history-empty strong {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 20px;
}

.history-empty p {
  max-width: 480px;
  margin: 7px 0 0;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-card {
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 15, 27, 0.3);
}

.history-card span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.history-card h3 {
  margin: 3px 0 0;
  font-family: var(--font-heading);
  font-size: 16px;
}

.history-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.history-delete {
  color: var(--danger);
}

.nawala-page-loading {
  min-height: 360px;
}

.nawala-page > #nawalaContent {
  display: grid;
  gap: 24px;
}

.nawala-config-panel,
.nawala-domain-panel {
  margin: 0;
}

.nawala-config-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  align-items: end;
  gap: 13px;
}

.nawala-enabled {
  min-height: 68px;
}

.nawala-config-state {
  padding: 5px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.nawala-config-state.is-ready {
  color: var(--accent);
  border-color: rgba(114, 239, 199, 0.3);
}

.nawala-provider-warning {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid rgba(255, 190, 92, 0.23);
  border-radius: 10px;
  color: #e4c58d;
  background: rgba(255, 190, 92, 0.05);
  font-size: 12px;
}

.nawala-provider-warning p {
  margin: 3px 0 0;
}

.nawala-run-progress .progress-track i {
  width: 44%;
  animation: nawala-progress 1.3s ease-in-out infinite alternate;
}

@keyframes nawala-progress {
  from { transform: translateX(0); }
  to { transform: translateX(125%); }
}

.nawala-results {
  margin-top: 0;
}

.nawala-filter {
  min-width: 180px;
}

.nawala-table th:nth-child(1) { width: 30%; }
.nawala-table th:nth-child(2) { width: 15%; }
.nawala-table th:nth-child(3),
.nawala-table th:nth-child(4) { width: 20%; }
.nawala-table th:nth-child(5) { width: 15%; }

.nawala-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.nawala-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}

.nawala-status.is-safe { color: var(--success); }
.nawala-status.is-safe i { background: var(--success); }
.nawala-status.is-blocked,
.nawala-status.is-error { color: var(--danger); }
.nawala-status.is-blocked i,
.nawala-status.is-error i { background: var(--danger); }
.nawala-status.is-pending i { background: #e4c58d; }
.nawala-status.is-checking { color: #e4c58d; }
.nawala-status.is-checking i {
  background: #e4c58d;
  animation: pulse 1.4s ease-in-out infinite;
}
.nawala-status.is-paused { color: #8da0b1; }
.nawala-status.is-paused i { background: #667d92; }

.nawala-row-actions {
  display: flex;
  gap: 11px;
}

.text-button.is-danger {
  color: var(--danger);
}

.nawala-edit-panel {
  max-width: 520px;
}

.nawala-edit-panel form {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.uptime-page-loading {
  min-height: 360px;
}

.uptime-page > #uptimeContent {
  display: grid;
  gap: 24px;
}

.short-url-page > #shortUrlContent {
  display: grid;
  gap: 24px;
}

.domain-watch-page > #domainWatchContent {
  display: grid;
  gap: 24px;
}

.uptime-config-panel,
.uptime-add-panel {
  margin: 0;
}

.uptime-config-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.25fr 1fr 1fr;
  align-items: end;
  gap: 13px;
}

.short-url-config-grid {
  display: grid;
  grid-template-columns: 0.75fr 0.75fr 1.25fr 1fr 0.8fr;
  align-items: end;
  gap: 13px;
}

.domain-watch-config-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 1.25fr 1fr 0.8fr;
  align-items: end;
  gap: 13px;
}

.domain-watch-enabled {
  min-height: 68px;
}

.domain-watch-notify-grid {
  margin: 17px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.domain-watch-notify-grid label {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-light);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  font-size: 11px;
  font-weight: 600;
}

.domain-watch-notify-grid input { accent-color: var(--accent); }

.short-url-enabled {
  min-height: 68px;
}

.short-url-notify-grid {
  margin: 17px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 280px));
  gap: 9px;
}

.short-url-notify-grid label {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-light);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  font-size: 11px;
  font-weight: 600;
}

.short-url-notify-grid input {
  accent-color: var(--accent);
}

.uptime-enabled {
  min-height: 68px;
}

.uptime-notify-grid {
  margin: 17px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.uptime-notify-grid label {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-light);
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  font-size: 11px;
  font-weight: 600;
}

.uptime-notify-grid input {
  accent-color: var(--accent);
}

.uptime-config-help {
  margin: 13px 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.uptime-results {
  margin-top: 0;
}

.uptime-run-progress .progress-track i {
  width: 0;
  animation: none;
  transition: width 180ms ease;
}

.uptime-result-controls {
  display: flex;
  align-items: end;
  gap: 9px;
}

.uptime-filter {
  min-width: 145px;
}

.uptime-table {
  min-width: 1050px;
  table-layout: fixed;
}

.uptime-table th:nth-child(1) { width: 250px; }
.uptime-table th:nth-child(2) { width: 120px; }
.uptime-table th:nth-child(3) { width: 100px; }
.uptime-table th:nth-child(4) { width: 110px; }
.uptime-table th:nth-child(5) { width: 120px; }
.uptime-table th:nth-child(6) { width: 150px; }
.uptime-table th:nth-child(7) { width: 176px; }

#uptimeTableWrap {
  overflow-x: auto;
}

.uptime-table td:first-child strong,
.uptime-table td:first-child a {
  display: block;
}

.uptime-table td:first-child strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 12px;
}

.uptime-table td:first-child a {
  max-width: 260px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}

.uptime-expiry-warning {
  color: #e4c58d;
}

.uptime-row-actions {
  display: table-cell;
  white-space: nowrap;
}

.uptime-row-actions .text-button + .text-button {
  margin-left: 11px;
}

.short-url-table {
  min-width: 1080px;
  table-layout: fixed;
}

.short-url-table th:nth-child(1) { width: 220px; }
.short-url-table th:nth-child(2) { width: 115px; }
.short-url-table th:nth-child(3) { width: 80px; }
.short-url-table th:nth-child(4) { width: 250px; }
.short-url-table th:nth-child(5) { width: 85px; }
.short-url-table th:nth-child(6) { width: 145px; }
.short-url-table th:nth-child(7) { width: 176px; }

#shortUrlTableWrap {
  overflow-x: auto;
}

.short-url-table td:first-child strong,
.short-url-table td:first-child a,
.short-url-table td:nth-child(4) a {
  display: block;
}

.short-url-table td:first-child strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 12px;
}

.short-url-table td:first-child a,
.short-url-table td:nth-child(4) a {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
}

.short-url-row-actions {
  display: table-cell;
  white-space: nowrap;
}

.short-url-row-actions .text-button + .text-button {
  margin-left: 11px;
}

.nawala-status.is-normal { color: var(--success); }
.nawala-status.is-normal i { background: var(--success); }
.nawala-status.is-maintenance,
.nawala-status.is-unstable { color: #e4c58d; }
.nawala-status.is-maintenance i,
.nawala-status.is-unstable i { background: #e4c58d; }

.short-summary-maintenance strong {
  color: #e4c58d;
}

.short-url-history-list {
  display: grid;
  gap: 7px;
}

.short-url-history-list > div {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 115px 85px minmax(180px, 1fr) 220px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.short-url-history-list a {
  overflow: hidden;
  color: var(--muted-light);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-url-history-list small {
  color: var(--muted);
  text-align: right;
}

.short-url-timeout-help {
  margin: -5px 0 0;
  line-height: 1.55;
}

.domain-watch-table {
  min-width: 1080px;
  table-layout: fixed;
}

.domain-watch-table th:nth-child(1) { width: 200px; }
.domain-watch-table th:nth-child(2) { width: 150px; }
.domain-watch-table th:nth-child(3) { width: 160px; }
.domain-watch-table th:nth-child(4) { width: 280px; }
.domain-watch-table th:nth-child(5) { width: 145px; }
.domain-watch-table th:nth-child(6) { width: 176px; }

#domainWatchTableWrap { overflow-x: auto; }

.domain-watch-table td:first-child strong,
.domain-watch-table td:first-child a,
.domain-watch-table td:nth-child(4) a { display: block; }

.domain-watch-table td:first-child strong { margin-bottom: 3px; color: var(--text); font-size: 12px; }
.domain-watch-table td:first-child a,
.domain-watch-table td:nth-child(4) a { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.domain-watch-row-actions { display: table-cell; white-space: nowrap; }
.domain-watch-row-actions .text-button + .text-button { margin-left: 11px; }

.nawala-status.is-available { color: #72e7b3; }
.nawala-status.is-available i { background: #72e7b3; box-shadow: 0 0 8px rgba(114, 231, 179, 0.6); }
.nawala-status.is-auction,
.nawala-status.is-pending_delete,
.nawala-status.is-redemption,
.nawala-status.is-expired_grace,
.nawala-status.is-expiring,
.nawala-status.is-unknown { color: #e4c58d; }
.nawala-status.is-auction i,
.nawala-status.is-pending_delete i,
.nawala-status.is-redemption i,
.nawala-status.is-expired_grace i,
.nawala-status.is-expiring i,
.nawala-status.is-unknown i { background: #e4c58d; }
.nawala-status.is-registered { color: var(--success); }
.nawala-status.is-registered i { background: var(--success); }
.domain-summary-available strong { color: #72e7b3; }
.domain-summary-action strong { color: #e4c58d; }

.domain-watch-history-list { display: grid; gap: 7px; }
.domain-watch-history-list > div {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 150px 160px minmax(180px, 1fr) 150px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.domain-watch-history-list span { overflow: hidden; color: var(--muted-light); text-overflow: ellipsis; white-space: nowrap; }
.domain-watch-history-list small { color: var(--muted); text-align: right; }

.uptime-pagination {
  margin-top: 13px;
}

.uptime-pagination span {
  color: var(--muted);
  font-size: 11px;
}

.uptime-history-panel {
  max-width: 720px;
}

.uptime-history-content {
  padding: 22px;
}

.uptime-chart {
  height: 180px;
  padding: 17px 14px 0;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 15, 27, 0.45);
  font-size: 12px;
}

.uptime-chart i {
  min-width: 3px;
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  opacity: 0.75;
}

.uptime-chart i.is-down {
  background: var(--danger);
}

.uptime-history-list {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.uptime-history-list > div {
  padding: 9px 11px;
  display: grid;
  grid-template-columns: 1fr auto 150px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.uptime-history-list small {
  color: var(--muted);
  text-align: right;
}

@media (max-width: 960px) {
  .uptime-config-grid,
  .uptime-notify-grid,
  .short-url-config-grid,
  .domain-watch-config-grid,
  .domain-watch-notify-grid {
    grid-template-columns: 1fr 1fr;
  }

  .uptime-table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  .uptime-config-grid,
  .uptime-notify-grid,
  .short-url-config-grid,
  .short-url-notify-grid,
  .domain-watch-config-grid,
  .domain-watch-notify-grid {
    grid-template-columns: 1fr;
  }

  .uptime-result-controls {
    width: 100%;
  }

  .uptime-filter {
    min-width: 0;
    flex: 1;
  }

  .uptime-table,
  .uptime-table tbody {
    min-width: 0;
  }

  .uptime-table td {
    display: flex !important;
  }

  .uptime-table tr {
    display: grid;
  }

  .uptime-history-list > div {
    grid-template-columns: 1fr auto;
  }

  .uptime-history-list small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .short-url-table,
  .short-url-table tbody {
    min-width: 0;
  }

  .short-url-table td {
    display: flex !important;
  }

  .short-url-table tr {
    display: grid;
  }

  .short-url-history-list > div {
    grid-template-columns: 1fr auto;
  }

  .short-url-history-list a,
  .short-url-history-list small {
    grid-column: 1 / -1;
    text-align: left;
  }

  .domain-watch-table,
  .domain-watch-table tbody { min-width: 0; }
  .domain-watch-table td { display: flex !important; }
  .domain-watch-table tr { display: grid; }
  .domain-watch-history-list > div { grid-template-columns: 1fr auto; }
  .domain-watch-history-list span,
  .domain-watch-history-list small { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 960px) {
  .nawala-config-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nawala-config-grid {
    grid-template-columns: 1fr;
  }

  .nawala-filter {
    width: 100%;
  }

  .nawala-table td:nth-child(4) {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .auth-page {
    padding-top: 60px;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .dashboard-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  padding: 110px 20px 90px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 45px 0 auto;
  width: min(830px, 90%);
  height: 500px;
  margin: auto;
  background-image:
    linear-gradient(rgba(121, 153, 181, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 153, 181, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
}

.hero-glow-one {
  width: 250px;
  height: 250px;
  top: 110px;
  left: 15%;
  background: rgba(49, 178, 164, 0.12);
}

.hero-glow-two {
  width: 300px;
  height: 300px;
  top: 80px;
  right: 10%;
  background: rgba(51, 119, 192, 0.13);
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  color: var(--accent);
  border: 1px solid rgba(114, 239, 199, 0.23);
  border-radius: 99px;
  background: rgba(114, 239, 199, 0.055);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(114, 239, 199, 0.09);
}

.hero h1 {
  max-width: 900px;
  margin: 27px 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(49px, 7.3vw, 88px);
  line-height: 0.99;
  letter-spacing: -0.072em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(98deg, #77efd0 15%, #92ceff 80%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 47px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-primary {
  color: #04130f;
  background: var(--accent);
  box-shadow: 0 14px 35px rgba(65, 216, 169, 0.15);
}

.button-primary:hover:not(:disabled) {
  background: #8af8d4;
}

.button-secondary {
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
}

.button-secondary:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(159, 185, 211, 0.45);
}

.trust-row {
  margin-top: 53px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  color: #71889d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trust-row b {
  margin-right: 4px;
  color: var(--accent);
}

.tools-section {
  padding: 92px 0 110px;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 50px;
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2,
.roadmap-section h2,
.checker-intro h1,
.panel-heading h2,
.results-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.05em;
}

.section-heading h2 {
  max-width: 570px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tool-card {
  min-height: 325px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 45%),
    rgba(11, 25, 41, 0.7);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease;
}

a.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(114, 239, 199, 0.4);
  background:
    linear-gradient(145deg, rgba(114, 239, 199, 0.055), transparent 45%),
    rgba(11, 25, 41, 0.86);
}

.tool-card-featured {
  box-shadow: inset 0 1px 0 rgba(114, 239, 199, 0.08);
}

.tool-card-top,
.tool-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tool-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tool-icon-http {
  color: var(--accent);
  border-color: rgba(114, 239, 199, 0.27);
  background: rgba(114, 239, 199, 0.07);
}

.tool-icon-dns {
  color: #a3cfff;
  border-color: rgba(114, 182, 255, 0.27);
  background: rgba(114, 182, 255, 0.07);
}

.tool-icon-meta {
  color: #c4b7ff;
  border-color: rgba(170, 150, 255, 0.23);
  background: rgba(170, 150, 255, 0.07);
}

.status-pill {
  padding: 4px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.status-live {
  color: var(--accent);
}

.status-pill i {
  width: 5px;
  height: 5px;
  margin-right: 4px;
  display: inline-block;
  border-radius: 50%;
  background: var(--accent);
}

.tool-card h3 {
  margin: 35px 0 10px;
  font-family: var(--font-heading);
  font-size: 21px;
  letter-spacing: -0.04em;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tool-card-footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #6f859a;
  font-size: 11px;
  font-weight: 600;
}

.tool-card-footer b {
  color: var(--accent);
  font-size: 18px;
}

.roadmap-section {
  margin-bottom: 110px;
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(110deg, rgba(114, 239, 199, 0.05), rgba(114, 182, 255, 0.02)),
    var(--bg-soft);
}

.roadmap-section h2 {
  max-width: 500px;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.15;
}

.roadmap-section > p {
  margin: 0;
  color: var(--muted);
}

.ideas-section {
  padding: 0 0 110px;
}

.idea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.idea-card {
  min-height: 142px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 25, 41, 0.55);
}

.idea-card > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid rgba(114, 182, 255, 0.22);
  border-radius: 11px;
  background: rgba(114, 182, 255, 0.055);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
}

.idea-card h3 {
  margin: 1px 0 6px;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.idea-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: #657c91;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.site-footer > span {
  justify-self: end;
}

.brand-small {
  font-size: 15px;
}

.brand-small .brand-mark {
  width: 27px;
  height: 27px;
  padding: 6px;
  border-radius: 8px;
}

/* Checker */

.checker-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 42px 0 90px;
}

.breadcrumb {
  margin-bottom: 52px;
  display: flex;
  gap: 10px;
  color: #687f94;
  font-size: 12px;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb b {
  color: var(--muted-light);
  font-weight: 600;
}

.checker-intro {
  margin-bottom: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.checker-intro h1 {
  margin-top: 16px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
}

.checker-intro p {
  max-width: 650px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.intro-badge {
  min-width: 154px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(114, 239, 199, 0.22);
  border-radius: 14px;
  background: rgba(114, 239, 199, 0.045);
}

.intro-badge strong {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
}

.intro-badge span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checker-panel {
  padding: 33px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 40%),
    rgba(11, 25, 41, 0.82);
  box-shadow: var(--shadow);
}

.panel-heading,
.results-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.panel-heading h2,
.results-heading h2 {
  font-size: 24px;
}

.url-counter {
  padding: 5px 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.url-counter.is-over-limit {
  color: var(--danger);
  border-color: rgba(255, 123, 130, 0.35);
}

.checker-panel > form > textarea {
  width: 100%;
  min-height: 190px;
  padding: 20px;
  resize: vertical;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  outline: none;
  background: rgba(3, 12, 22, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.75;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.checker-panel > form > textarea::placeholder {
  color: #496075;
}

.checker-panel > form > textarea:focus {
  border-color: rgba(114, 239, 199, 0.5);
  box-shadow: 0 0 0 3px rgba(114, 239, 199, 0.07);
}

.checker-panel > form > textarea:disabled {
  opacity: 0.65;
}

.form-meta {
  margin: 9px 2px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.form-meta p {
  margin: 0;
  color: #6f859a;
  font-size: 11px;
}

.form-meta code {
  color: var(--muted-light);
  font-size: inherit;
}

.text-button {
  padding: 4px;
  color: var(--muted);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.text-button:hover {
  color: var(--danger);
}

.form-actions {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.turnstile-slot {
  max-width: 340px;
  margin-top: 18px;
}

.record-fieldset {
  margin: 22px 0 0;
  padding: 0;
  border: 0;
}

.record-fieldset legend {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.record-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.record-options label {
  position: relative;
  cursor: pointer;
}

.record-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.record-options span {
  min-width: 52px;
  height: 35px;
  padding: 0 11px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.record-options input:checked + span {
  color: var(--accent);
  border-color: rgba(114, 239, 199, 0.38);
  background: rgba(114, 239, 199, 0.07);
}

.record-options input:focus-visible + span {
  outline: 3px solid rgba(114, 239, 199, 0.3);
  outline-offset: 2px;
}

.record-options input:disabled + span {
  cursor: not-allowed;
  opacity: 0.5;
}

.audit-features {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.audit-features span {
  padding: 4px 8px;
  color: #72899e;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
}

.submit-button {
  min-width: 185px;
}

.button-spinner {
  width: 15px;
  height: 15px;
  display: none;
  border: 2px solid rgba(4, 19, 15, 0.25);
  border-top-color: #04130f;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.submit-button.is-loading .button-label {
  font-size: 0;
}

.submit-button.is-loading .button-label::after {
  content: "Memeriksa...";
  font-size: 14px;
}

.submit-button.is-loading .button-arrow {
  display: none;
}

.submit-button.is-loading .button-spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.notice {
  margin-top: 24px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 11px;
}

.notice > span {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
}

.notice strong {
  display: block;
  font-size: 13px;
}

.notice p {
  margin: 1px 0 0;
  font-size: 12px;
}

.notice-error {
  color: #ffb7bb;
  border: 1px solid rgba(255, 123, 130, 0.22);
  background: rgba(255, 123, 130, 0.06);
}

.notice-error > span {
  color: #220508;
  background: var(--danger);
}

.results-section {
  padding-top: 62px;
  scroll-margin-top: 20px;
}

.result-actions {
  display: flex;
  gap: 8px;
}

.button-compact {
  min-height: 38px;
  padding: 0 13px;
  gap: 7px;
  border-radius: 9px;
  font-size: 11px;
}

.export-menu {
  position: relative;
}

.export-options {
  position: absolute;
  z-index: 5;
  top: calc(100% + 7px);
  right: 0;
  width: 145px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #11243a;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.export-options button {
  width: 100%;
  padding: 8px 10px;
  color: var(--muted-light);
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
}

.export-options button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.summary-grid {
  margin-bottom: 17px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.summary-card {
  min-height: 126px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(11, 25, 41, 0.7);
}

.summary-card span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.summary-card strong {
  align-self: end;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
}

.summary-card small {
  align-self: end;
  color: #667d92;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.summary-success strong {
  color: var(--success);
}

.summary-failed strong {
  color: var(--danger);
}

.summary-speed strong {
  color: var(--blue);
}

.results-table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(7, 17, 31, 0.52);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.results-table th {
  padding: 13px 16px;
  color: #667d92;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.results-table th:nth-child(1) {
  width: 29%;
}

.results-table th:nth-child(2) {
  width: 18%;
}

.results-table th:nth-child(3) {
  width: 11%;
}

.results-table th:nth-child(4) {
  width: 32%;
}

.results-table th:nth-child(5) {
  width: 10%;
}

.results-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-light);
  font-size: 11px;
  vertical-align: middle;
}

.results-table tr:last-child td {
  border-bottom: 0;
}

.url-cell {
  min-width: 0;
}

.url-cell a {
  display: block;
  overflow: hidden;
  color: #c8d7e4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.url-cell a:hover {
  color: var(--accent);
}

.http-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.http-status i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.http-status.is-success {
  color: var(--success);
}

.http-status.is-success i {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(114, 239, 199, 0.06);
}

.http-status.is-error {
  color: var(--danger);
}

.http-status.is-error i {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 123, 130, 0.06);
}

.response-time {
  color: #8da5ba !important;
  font-variant-numeric: tabular-nums;
}

.title-cell {
  overflow: hidden;
  color: #8298ab !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-action {
  text-align: right;
}

.copy-url-button {
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.copy-url-button:hover {
  color: var(--accent);
  border-color: rgba(114, 239, 199, 0.3);
}

.dns-results-table {
  table-layout: auto;
}

.dns-results-table th:nth-child(1) {
  width: 17%;
}

.dns-results-table th:nth-child(2) {
  width: 7%;
}

.dns-results-table th:nth-child(3) {
  width: 11%;
}

.dns-results-table th:nth-child(4) {
  width: 40%;
}

.dns-results-table th:nth-child(5) {
  width: 7%;
}

.dns-results-table th:nth-child(6) {
  width: 8%;
}

.dns-results-table th:nth-child(7) {
  width: 10%;
}

.dns-domain-cell,
.dns-type-cell {
  color: #c8d7e4 !important;
  font-weight: 700;
}

.dns-type-cell,
.dnssec-valid {
  color: var(--accent) !important;
}

.dns-answer-cell {
  overflow-wrap: anywhere;
  color: #8298ab !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px !important;
}

.meta-results {
  display: grid;
  gap: 14px;
}

.meta-result-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(11, 25, 41, 0.67);
  overflow: hidden;
}

.meta-result-card > header {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}

.meta-result-card header > div:first-child {
  min-width: 0;
}

.meta-result-card header span:first-child {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-result-card h3 {
  margin: 6px 0 3px;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-result-card header a {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-result-card header a:hover {
  color: var(--accent);
}

.meta-card-status {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 4px;
}

.meta-card-status small {
  color: var(--muted);
  font-size: 9px;
}

.redirect-chain {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 12, 22, 0.25);
}

.redirect-chain > span,
.meta-field > span {
  display: block;
  margin-bottom: 7px;
  color: #667d92;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.redirect-chain > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.redirect-chain > div + div {
  margin-top: 6px;
}

.redirect-chain b {
  min-width: 35px;
  padding: 2px 5px;
  color: var(--blue);
  border: 1px solid rgba(114, 182, 255, 0.2);
  border-radius: 5px;
  font-size: 9px;
  text-align: center;
}

.redirect-chain code {
  overflow: hidden;
  color: var(--muted-light);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.redirect-chain i {
  margin-left: auto;
  color: var(--accent);
  font-style: normal;
}

.redirect-chain p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.meta-fields {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 30px;
}

.meta-field.is-wide {
  grid-column: 1 / -1;
}

.meta-field p,
.meta-field a {
  margin: 0;
  display: block;
  overflow-wrap: anywhere;
  color: var(--muted-light);
  font-size: 11px;
}

.meta-field a {
  color: var(--blue);
}

.meta-result-card > footer {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.issue-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.issue-list strong,
.issue-list span {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 700;
}

.issue-list.has-issues strong {
  color: #1d0709;
  background: var(--danger);
}

.issue-list.has-issues span {
  color: #ffb7bb;
  border: 1px solid rgba(255, 123, 130, 0.18);
  background: rgba(255, 123, 130, 0.045);
}

.issue-list.is-clean strong {
  color: #04130f;
  background: var(--accent);
}

.checker-note {
  margin-top: 17px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6f859a;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 11px;
}

.checker-note > span {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--blue);
  border: 1px solid rgba(114, 182, 255, 0.3);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.checker-note p {
  margin: 0;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  padding: 11px 15px;
  color: #061510;
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.checker-page-wide {
  max-width: 1240px;
}

.http-options-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.control-field,
.result-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.control-field select,
.control-field input,
.result-toolbar select,
.result-toolbar input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: rgba(6, 17, 30, 0.76);
  font: inherit;
  outline: none;
}

.control-field select:focus,
.control-field input:focus,
.result-toolbar select:focus,
.result-toolbar input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(55, 230, 174, 0.1);
}

.toggle-control,
.batch-info {
  min-height: 72px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 17, 30, 0.52);
}

.toggle-control > input {
  position: absolute;
  opacity: 0;
}

.toggle-control > span {
  width: 40px;
  height: 22px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 99px;
  background: #2b3a4d;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle-control > span i {
  width: 16px;
  height: 16px;
  display: block;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s ease;
}

.toggle-control > input:checked + span {
  background: var(--accent);
}

.toggle-control > input:checked + span i {
  transform: translateX(18px);
}

.toggle-control b {
  font-size: 0.87rem;
}

.batch-info {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.batch-info b {
  color: var(--accent);
}

.batch-info span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.batch-progress {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid rgba(55, 230, 174, 0.24);
  border-radius: 12px;
  background: rgba(55, 230, 174, 0.045);
}

.batch-progress-head,
.batch-progress-head > div,
.batch-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.batch-progress-head span {
  color: var(--muted);
}

.batch-progress-head strong {
  color: var(--accent);
}

.progress-track {
  height: 8px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 99px;
  background: #07111f;
}

.progress-track i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #6ae4ff);
  transition: width 0.25s ease;
}

.batch-progress-meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 0.78rem;
}

.batch-progress-meta span:last-child {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

.result-toolbar {
  margin: 14px 0;
  padding: 13px;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(6, 17, 30, 0.48);
}

.result-toolbar p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.http-table-wrap {
  overflow-x: auto;
}

.http-results-table {
  min-width: 1080px;
}

.http-results-table .url-cell {
  max-width: 230px;
}

.http-results-table .url-cell a {
  display: block;
  overflow: hidden;
  color: #b9d4ea;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crawler-toolbar {
  grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
}

.crawler-table-wrap {
  overflow-x: auto;
}

.crawler-results-table {
  min-width: 1180px;
}

.crawler-results-table th:nth-child(1) {
  width: 19%;
}

.crawler-results-table th:nth-child(2) {
  width: 17%;
}

.crawler-results-table th:nth-child(3) {
  width: 6%;
}

.crawler-results-table th:nth-child(4) {
  width: 8%;
}

.crawler-results-table th:nth-child(5) {
  width: 13%;
}

.crawler-results-table th:nth-child(6) {
  width: 8%;
}

.crawler-results-table th:nth-child(7) {
  width: 29%;
}

.crawler-results-table .url-cell a {
  display: block;
  overflow: hidden;
  color: #b9d4ea;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scope-pill {
  padding: 4px 7px;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
}

.scope-pill.is-internal {
  color: var(--accent);
  border-color: rgba(114, 239, 199, 0.24);
  background: rgba(114, 239, 199, 0.06);
}

.scope-pill.is-external {
  color: var(--blue);
  border-color: rgba(114, 182, 255, 0.24);
  background: rgba(114, 182, 255, 0.06);
}

.crawler-detail {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.crawler-detail strong,
.crawler-detail small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crawler-detail strong {
  color: var(--muted-light);
  font-size: 0.76rem;
}

.crawler-detail small {
  color: #647d93;
  font-size: 0.67rem;
}

.danger-text {
  color: var(--danger);
}

.redirect-summary {
  display: flex;
  align-items: center;
  gap: 6px;
}

.redirect-summary strong,
.redirect-summary span {
  padding: 3px 7px;
  border-radius: 99px;
  background: rgba(55, 230, 174, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
}

.pagination {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.84rem;
}

.pagination button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.38;
  cursor: default;
}

.body-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(1, 7, 14, 0.82);
  backdrop-filter: blur(8px);
}

.body-modal[hidden] {
  display: none;
}

.body-modal-panel {
  width: min(100%, 1040px);
  max-height: 86vh;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #091727;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.body-modal-panel header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.body-modal-panel header span,
.body-modal-meta {
  color: var(--muted);
  font-size: 0.75rem;
}

.body-modal-panel h2 {
  max-width: 850px;
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.body-modal-panel header button {
  border: 0;
  color: var(--text);
  background: none;
  font-size: 2rem;
  cursor: pointer;
}

.body-modal-meta {
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}

.body-modal pre {
  margin: 0;
  padding: 20px;
  overflow: auto;
  color: #c8dded;
  background: #050d17;
  font: 0.76rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.modal-open {
  overflow: hidden;
}

.audit-grid {
  display: grid;
  gap: 14px;
}

.audit-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(8, 22, 37, 0.74);
}

.audit-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.audit-card h3 {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-card header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.audit-grade {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  font-size: 1.35rem;
}

.grade-a { color: #05120f; background: var(--accent); }
.grade-b { color: #07111f; background: #a8edca; }
.grade-c { color: #201b05; background: #f6d270; }
.grade-d, .grade-f { color: #250d0d; background: #fa8e8e; }

.audit-checks {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.audit-check {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(3, 12, 22, 0.55);
}

.audit-check.is-pass { border-color: rgba(55, 230, 174, 0.28); }
.audit-check summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

.audit-check summary span {
  color: var(--accent);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.audit-check.is-fail summary span { color: #ff9a9a; }
.audit-check code {
  display: block;
  margin-top: 9px;
  overflow: hidden;
  color: #9cb8cb;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-check p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.audit-warning {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 2px solid #f5c86e;
  color: #f5d69b;
  background: rgba(245, 200, 110, 0.07);
  font-size: 0.78rem;
}

.ssl-facts {
  margin-top: 17px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.ssl-facts div {
  padding: 11px;
  border-radius: 9px;
  background: rgba(3, 12, 22, 0.55);
}

.ssl-facts span, .ssl-facts b { display: block; }
.ssl-facts span { color: var(--muted); font-size: 0.7rem; }
.ssl-facts b { margin-top: 5px; color: var(--text); font-size: 0.8rem; }
.ssl-state { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 1.2rem; }
.ssl-state.is-valid { color: #04150e; background: var(--accent); }
.ssl-state.is-invalid { color: #2a0808; background: #ff9a9a; }
.ssl-names { margin-top: 13px; color: var(--muted); font-size: 0.78rem; }
.ssl-names summary { cursor: pointer; }
.ssl-names p { margin: 8px 0 0; color: #a7c3d5; line-height: 1.5; }

.merge-lists, .merge-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.merge-options {
  margin-top: 15px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.merge-lists textarea, .merge-output {
  width: 100%;
  min-height: 160px;
  padding: 12px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  background: rgba(3, 12, 22, 0.65);
  font: 0.82rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  outline: none;
}

.merge-lists textarea:focus, .merge-output:focus { border-color: var(--accent); }
.merge-options .control-field input { min-height: 44px; }
.merge-output { min-height: 360px; margin-top: 4px; }

@media (max-width: 680px) {
  .http-options-grid, .audit-checks, .merge-lists, .merge-options { grid-template-columns: 1fr; }
  .ssl-facts { grid-template-columns: 1fr 1fr; }
  .batch-progress-meta { flex-wrap: wrap; }
  .batch-progress-meta span:last-child { margin-left: 0; }
  .body-modal { padding: 12px; }
  .body-modal-panel { max-height: 92vh; }
}

@media (max-width: 900px) {
  .result-toolbar,
  .crawler-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-toolbar p {
    margin: 0;
  }
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: grid;
  }

  .top-nav {
    display: none;
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: min(72vh, 620px);
    padding: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: #0d1d30;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  }

  .site-header.nav-open .top-nav {
    display: flex;
  }

  .top-nav > a,
  .nav-more summary,
  .nav-more-menu a {
    padding: 10px 11px;
    border-radius: 8px;
  }

  .top-nav > a:hover,
  .top-nav > a.is-active,
  .nav-more-menu a:hover,
  .nav-more-menu a.is-active {
    background: rgba(114, 239, 199, 0.07);
  }

  .nav-more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-more-menu {
    position: static;
    width: auto;
    margin: 3px 0 0 12px;
    padding: 3px 0 3px 9px;
    gap: 1px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tool-card:last-child {
    grid-column: 1 / -1;
  }

  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .results-table:not(.dns-results-table) th:nth-child(4),
  .results-table:not(.dns-results-table) td:nth-child(4) {
    display: none;
  }

  .results-table th:nth-child(1) {
    width: 39%;
  }

  .results-table th:nth-child(2) {
    width: 24%;
  }

  .results-table th:nth-child(3) {
    width: 17%;
  }

  .results-table th:nth-child(5) {
    width: 20%;
  }

  .dns-table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .dns-results-table,
  .dns-results-table tbody {
    display: block;
  }

  .dns-results-table thead {
    display: none;
  }

  .dns-results-table tr {
    margin-bottom: 10px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(11, 25, 41, 0.65);
  }

  .dns-results-table td {
    width: auto !important;
    padding: 0;
    display: block !important;
    border: 0;
  }

  .dns-results-table td:nth-child(1),
  .dns-results-table td:nth-child(4) {
    grid-column: 1 / -1;
  }

  .dns-results-table td:nth-child(4) {
    padding: 8px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .dns-results-table td:nth-child(7) {
    justify-self: end;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 74px;
  }

  .auth-page,
  .dashboard-page {
    padding-top: 42px;
  }

  .auth-copy h1,
  .dashboard-head h1 {
    font-size: 42px;
  }

  .auth-card,
  .history-panel {
    padding: 20px 17px;
    border-radius: 18px;
  }

  .dashboard-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-actions .button {
    width: 100%;
  }

  .history-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-actions {
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    padding: 9px 11px;
    font-size: 0;
  }

  .header-cta span {
    font-size: 15px;
  }

  .header-cta-muted {
    display: none;
  }

  .account-logout {
    display: inline-flex;
    font-size: 12px;
  }

  .hero {
    min-height: 590px;
    padding: 82px 4px 70px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(46px, 14vw, 65px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    gap: 10px 18px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .idea-grid {
    grid-template-columns: 1fr;
  }

  .tool-card:last-child {
    grid-column: auto;
  }

  .roadmap-section {
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    padding: 26px 0;
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }

  .checker-page {
    padding-top: 28px;
  }

  .breadcrumb {
    margin-bottom: 35px;
  }

  .checker-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .checker-intro h1 {
    font-size: 43px;
  }

  .intro-badge {
    min-width: 0;
    padding: 12px 15px;
  }

  .intro-badge strong {
    font-size: 29px;
  }

  .checker-panel {
    padding: 23px 18px;
    border-radius: 18px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .checker-panel > form > textarea {
    min-height: 205px;
    padding: 16px;
    font-size: 13px;
  }

  .form-meta {
    align-items: flex-start;
  }

  .form-meta p {
    max-width: 85%;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions > button,
  .export-menu,
  .export-menu > button {
    flex: 1;
  }

  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary-card {
    min-height: 115px;
  }

  .results-table-wrap {
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .results-table,
  .results-table tbody {
    display: block;
  }

  .results-table thead {
    display: none;
  }

  .results-table tr {
    margin-bottom: 10px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(11, 25, 41, 0.65);
  }

  .results-table td {
    padding: 0;
    display: block !important;
    border: 0;
  }

  .results-table td:nth-child(1),
  .results-table td:nth-child(4) {
    grid-column: 1 / -1;
  }

  .results-table td:nth-child(4) {
    padding-top: 7px;
    border-top: 1px solid var(--line);
  }

  .results-table .row-action {
    align-self: center;
  }

  .title-cell {
    white-space: normal;
  }

  .record-options span {
    min-width: 49px;
  }

  .meta-result-card > header,
  .meta-result-card > footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .meta-card-status {
    align-items: flex-start;
  }

  .meta-fields {
    grid-template-columns: 1fr;
  }

  .meta-field.is-wide {
    grid-column: auto;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
