/* ================================================================
   Teradive — Clean white design system
   ================================================================ */

:root {
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-400: #bdc1c6;
  --gray-500: #9aa0a6;
  --gray-600: #80868b;
  --gray-700: #5f6368;
  --gray-800: #3c4043;
  --gray-900: #202124;
  --blue-500: #1a73e8;
  --blue-600: #1765cc;
  --blue-50: #e8f0fe;
  --green-600: #1e8e3e;
  --green-50: #e6f4ea;
  --red-600: #d93025;
  --red-50: #fce8e6;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(60, 64, 67, 0.1);
  --shadow: 0 1px 3px rgba(60, 64, 67, 0.15), 0 1px 2px rgba(60, 64, 67, 0.1);
  --shadow-lg: 0 4px 12px rgba(60, 64, 67, 0.15);
  --transition: 150ms ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ---- Navigation ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1e3a5f;
  border-bottom: 1px solid #16304f;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav-logo:hover { text-decoration: none; color: var(--white); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background var(--transition);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--white);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.avatar-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  max-width: min(240px, calc(100vw - 24px));
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.avatar-dropdown.show { display: block; }

.dropdown-header { padding: 16px; }
.dropdown-name { font-weight: 600; font-size: 14px; color: var(--gray-900); }
.dropdown-email { font-size: 13px; color: var(--gray-600); margin-top: 2px; }
.dropdown-divider { height: 1px; background: var(--gray-200); }
.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--gray-800);
  transition: background var(--transition);
}
.dropdown-item:hover {
  background: var(--gray-50);
  text-decoration: none;
}


/* ---- Flash messages ---- */

.flash-container {
  max-width: 560px;
  margin: 16px auto;
  padding: 0 24px;
}

.flash {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.flash-success { background: var(--green-50); color: var(--green-600); }
.flash-error   { background: var(--red-50);   color: var(--red-600); }
.flash-info    { background: var(--blue-50);  color: var(--blue-500); }


/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 24px;
  min-height: 42px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  text-align: center;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-600);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-500);
  border: 1px solid var(--gray-300);
}
.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  text-decoration: none;
}

.btn-lg { padding: 12px 32px; font-size: 15px; }
.btn-full { width: 100%; }


/* ---- Forms ---- */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 16px;
  min-height: 44px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 2px var(--blue-50);
}

.form-input::placeholder {
  color: var(--gray-400);
}

.form-error {
  display: block;
  font-size: 12px;
  color: var(--red-600);
  margin-top: 4px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
}

.checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-500);
}


.form-row-split {
  justify-content: space-between;
}

.form-link {
  font-size: 13px;
  font-weight: 500;
}


/* ---- Auth pages ---- */

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--gray-50);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.auth-logo {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-900);
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.auth-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 32px;
}

.auth-desc {
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.5;
}

.auth-switch {
  text-align: center;
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 24px;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  gap: 16px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.auth-divider span {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.btn-google {
  background: var(--white);
  color: var(--gray-800);
  border: 1px solid var(--gray-300);
  font-weight: 500;
  gap: 10px;
}

.btn-google:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.google-icon { flex-shrink: 0; }

.resend-box {
  margin-top: 20px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  text-align: center;
}

.resend-box p {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 10px;
}


/* ---- Landing page ---- */

.landing {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.landing-logo {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.landing-tagline {
  font-size: 20px;
  color: var(--gray-700);
  font-weight: 400;
  margin-bottom: 8px;
}

.landing-sub {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 480px;
  margin-bottom: 40px;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.landing-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
}

.dot { margin: 0; }


/* ---- Dashboard / Pages ---- */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 24px;
}

.page-narrow { max-width: 600px; }

.page-header { margin-bottom: 32px; }

.page-title {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}

.page-subtitle {
  font-size: 15px;
  color: var(--gray-600);
  margin-top: 4px;
}


/* ---- Cards ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.card-value {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gray-900);
}

.card-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}


/* ---- Empty state ---- */

.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-lg);
}

.empty-icon {
  color: var(--gray-400);
  margin-bottom: 16px;
}

.empty-title {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.empty-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}


/* ---- Settings ---- */

.settings-form {
  margin-top: 8px;
}

.settings-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.settings-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 8px;
}

.settings-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.settings-hint {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.settings-actions {
  padding-top: 16px;
}


/* ---- Site list ---- */

.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}

.site-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.site-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-card-body { flex: 1; min-width: 0; }
.site-card-name { font-weight: 600; font-size: 15px; color: var(--gray-900); }
.site-card-domain { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

.site-card-stats {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.site-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 48px;
}

.site-stat-value {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.2;
}

.site-stat-label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.site-card-arrow { color: var(--gray-400); flex-shrink: 0; }


/* ---- Geo stats ---- */

.geo-section { margin-top: 40px; }

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.stat-list { margin-top: 12px; }

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
}

.stat-row:last-child { border-bottom: none; }

.stat-name {
  font-size: 14px;
  color: var(--gray-800);
  flex: 1;
  min-width: 0;
}
.stat-detail {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.stat-count {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  font-family: 'SF Mono', 'Fira Code', monospace;
  flex-shrink: 0;
  text-align: right;
}

.stat-empty {
  font-size: 13px;
  color: var(--gray-400);
  padding: 8px 0;
}

.card-value-sm {
  font-size: 16px;
  word-break: break-all;
}


/* ---- Snippet ---- */

.snippet-section, .visits-section {
  margin-top: 40px;
}

.section-title {
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.section-desc {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.section-desc code {
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.snippet-toggle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background var(--transition);
}

.snippet-toggle:hover { background: var(--gray-50); }
.snippet-toggle .section-title { margin-bottom: 0; flex-shrink: 0; }

.toggle-hint {
  flex: 1 1 180px;
  font-size: 13px;
  color: var(--green-600);
  font-weight: 500;
}

.toggle-arrow {
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.toggle-arrow.open { transform: rotate(180deg); }

.snippet-body { overflow: hidden; }
.snippet-body.collapsed { display: none; }

.snippet-toggle + .snippet-body { margin-top: 16px; }

.snippet-box {
  position: relative;
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  padding: 20px 24px 64px;
  overflow-x: auto;
}

.snippet-box pre {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #e8eaed;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  white-space: pre-wrap;
  word-break: break-all;
}

.snippet-copy {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
  padding: 4px 12px;
}

.snippet-copy:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-sm { padding: 4px 12px; font-size: 12px; }


/* ---- Data table ---- */

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--gray-50); }

.cell-nowrap { white-space: nowrap; }
.cell-url { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 13px; color: var(--gray-500); }

.table-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 12px;
  text-align: center;
}

.empty-state-sm { padding: 40px 24px; }


/* ---- Form extras ---- */

.form-hint {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}


/* ---- Danger zone ---- */

.danger-zone {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--red-50);
  border-radius: var(--radius-lg);
  background: var(--red-50);
}

.danger-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--red-600);
  margin-bottom: 4px;
}

.danger-text {
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.btn-danger {
  background: var(--red-600);
  color: var(--white);
  border: none;
}

.btn-danger:hover {
  background: #c5221f;
  text-decoration: none;
}


/* ---- Responsive ---- */

@media (max-width: 720px) {
  .nav-inner {
    height: auto;
    min-height: 56px;
    padding: 12px 16px;
  }

  .nav-right {
    gap: 10px;
  }

  .flash-container,
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .page-header {
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 22px;
  }

  .auth-page {
    padding: 16px;
    align-items: flex-start;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .form-row-split,
  .page-header-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-header-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .landing-hero {
    padding: 64px 20px 48px;
  }

  .landing-logo {
    font-size: 40px;
  }

  .landing-tagline {
    font-size: 17px;
  }

  .landing-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
  }

  .landing-actions .btn {
    width: 100%;
  }

  .dot {
    display: none;
  }

  .card-grid,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .card,
  .empty-state {
    padding: 20px;
  }

  .site-card {
    padding: 16px;
    flex-wrap: wrap;
  }

  .site-card-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    flex: 1 1 100%;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
  }

  .site-stat {
    align-items: flex-start;
    min-width: 0;
  }

  .site-stat-value {
    font-size: 15px;
  }

  .period-picker {
    flex-wrap: wrap;
  }

  .period-pill {
    min-height: 36px;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 8px;
  }

  .snippet-toggle {
    align-items: flex-start;
  }

  .toggle-hint {
    flex-basis: 100%;
    order: 3;
  }

  .snippet-box {
    padding: 16px;
  }

  .snippet-copy {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .table-wrap {
    overflow: visible;
    border: none;
    border-radius: 0;
  }

  .data-table {
    min-width: 0;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table thead {
    display: none;
  }

  .data-table tbody {
    display: grid;
    gap: 12px;
  }

  .data-table tbody tr {
    padding: 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
  }

  .data-table td {
    padding: 0;
    border-bottom: none;
    display: grid;
    grid-template-columns: minmax(80px, 96px) 1fr;
    gap: 12px;
  }

  .data-table td + td {
    margin-top: 10px;
  }

  .data-table td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--gray-500);
  }

  .cell-nowrap,
  .cell-url {
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .cell-mono {
    font-size: 12px;
  }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

.pagination-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-500);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}

.pagination-link:hover {
  background: var(--gray-100);
}

.pagination-disabled {
  color: var(--gray-500);
  pointer-events: none;
}

.pagination-info {
  font-size: 13px;
  color: var(--gray-500);
}

/* Period picker */
.period-picker {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.period-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--gray-500);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.15s;
}

.period-pill:hover {
  color: var(--gray-900);
  border-color: var(--gray-500);
}

.period-pill.active {
  color: #fff;
  background: var(--blue-500);
  border-color: var(--blue-500);
}

/* Public dashboard badge */
.public-badge {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: -12px;
  margin-bottom: 16px;
}

/* Header actions row */
.page-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
