/* Reputifly brand system — ported from kit.html.
   Override: Inter for EVERYTHING, no Space Grotesk. */

:root {
  --bg-deep: #0B0A14;
  --bg-panel: rgba(20, 20, 30, 0.6);
  --bg-subtle: rgba(255, 255, 255, 0.03);
  --bg-subtler: rgba(255, 255, 255, 0.05);
  --accent-primary: #E6397F;
  --accent-secondary: #FF8A00;
  --text-main: #F0F0F0;
  --text-muted: #9ca3af;
  --text-faint: #6b7280;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-bright: rgba(255, 255, 255, 0.15);
  --red-danger: #ef4444;
  --green-live: #22c55e;

  --shadow-glow-pink: 0 10px 30px -10px rgba(230, 57, 127, 0.6);
  --shadow-glow-orange: 0 20px 40px -10px rgba(255, 138, 0, 0.5);
  --shadow-panel: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

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

html, body {
  height: 100%;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* All headings — Inter, tight tracking, bold weights */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
}

h1 { font-size: 2rem; line-height: 1.15; }
h2 { font-size: 1.5rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.25; }
h4 { font-size: 1.0625rem; line-height: 1.3; }

@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.875rem; }
}

::selection {
  background: var(--accent-primary);
  color: white;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent-secondary);
}

/* ---------- Ambient glow blobs (fixed position, decoration only) ---------- */
.ambient-glow {
  position: fixed;
  width: 40vw;
  max-width: 600px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  filter: blur(80px);
  animation: drift 20s infinite alternate ease-in-out;
}
.ambient-glow--pink {
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(230, 57, 127, 0.18) 0%, transparent 70%);
}
.ambient-glow--orange {
  bottom: -10vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.12) 0%, transparent 70%);
  animation-delay: -10s;
}
@keyframes drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(30px, 50px); }
}

/* ---------- Stealth glass scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ---------- Glass panel ---------- */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid var(--glass-border-bright);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease;
}
.glass-panel--interactive:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 40px 80px -12px rgba(0, 0, 0, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
  text-decoration: none;
  min-height: 44px; /* mobile touch target */
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 13px;
  min-height: 36px;
}
.btn--block {
  width: 100%;
}

.btn--primary {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
    linear-gradient(90deg, #E6397F, #FF8A00);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow:
    var(--shadow-glow-pink),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}
.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    var(--shadow-glow-orange),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--primary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

.btn--glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #cfcfd4;
}
.btn--glass:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.btn--danger-ghost {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.btn--danger-ghost:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.6);
  color: white;
}

/* ---------- Forms ---------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-height: 44px; /* mobile touch target */
}
.form-input::placeholder {
  color: var(--text-faint);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 127, 0.15);
  background: rgba(255, 255, 255, 0.05);
}
.form-help {
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- Gradient text helper ---------- */
.text-gradient {
  background: linear-gradient(to right, #E6397F, #FF8A00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid transparent;
}
.badge--live {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}
.badge--creating {
  background: rgba(255, 138, 0, 0.12);
  color: #fdba74;
  border-color: rgba(255, 138, 0, 0.3);
}
.badge--failed {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .container { padding: 0 24px; }
}

.stack { display: flex; flex-direction: column; }
.stack--4 { gap: 16px; }
.stack--6 { gap: 24px; }
.stack--8 { gap: 32px; }
.stack--12 { gap: 48px; }

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }

.grid { display: grid; gap: 16px; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.hide-mobile { display: none; }
@media (min-width: 768px) {
  .hide-mobile { display: initial; }
  .hide-desktop { display: none; }
}

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

/* ---------- Log viewer ---------- */
.log-viewer {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  font-family: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #cfcfd4;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.log-line { display: block; }
.log-line--success { color: #4ade80; }
.log-line--error { color: #fca5a5; }
.log-line--step { color: var(--accent-primary); font-weight: 600; }

/* ---------- Toast ---------- */
.toast-host {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-width: calc(100% - 32px);
}
.toast {
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-main);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  animation: toast-in 0.3s ease-out;
}
.toast--success { border-color: rgba(34, 197, 94, 0.4); }
.toast--error { border-color: rgba(239, 68, 68, 0.4); }
.toast--warn { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.08); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal {
  max-width: 480px;
  width: 100%;
  padding: 32px;
}

/* ---------- Dropdown menu (3-dot) ---------- */
/* The td/tr containing the dropdown must allow overflow + create a stacking
   context so the menu can escape the table cell and overlay rows below. */
.col-actions { overflow: visible !important; }
.sites-table tbody tr { position: relative; }
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown__trigger {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.dropdown__trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}
.dropdown__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 240px;
  background: rgba(20, 20, 30, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border-bright);
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
  padding: 6px;
  z-index: 9999;
  display: none;
  animation: dropdown-in 0.15s ease-out;
}
/* Make sure the table doesn't clip the dropdown menus */
.sites-table-wrapper.glass-panel {
  overflow: visible !important;
}
.dropdown__menu.open { display: block; }
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dropdown__item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.dropdown__item--danger {
  color: #fca5a5;
}
.dropdown__item--danger:hover {
  background: rgba(239, 68, 68, 0.12);
}
.dropdown__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}
.dropdown__divider {
  height: 1px;
  background: var(--glass-border);
  margin: 6px 0;
}

/* Section header inside a categorised dropdown */
.dropdown__section {
  padding: 8px 14px 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
}
.dropdown__section:first-child { padding-top: 4px; }

/* AI Portal item — gradient accent to pop in the menu */
.dropdown__item--ai-portal {
  position: relative;
}
.dropdown__item--ai-portal .ai-portal__label {
  background: linear-gradient(135deg, #8b5cf6 0%, #e6397f 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}
.dropdown__item--ai-portal svg { opacity: 1; }
.dropdown__item--ai-portal::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #8b5cf6 0%, #e6397f 50%, #f59e0b 100%);
}
.dropdown__item--ai-portal:hover {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.08), rgba(230, 57, 127, 0.08), rgba(245, 158, 11, 0.08));
}

/* ---------- Custom domain UI ---------- */

/* When a custom domain is live, it becomes the primary URL in the row:
   big, Inter, full color. The staging URL is demoted to a small muted subtitle
   beneath it (still clickable for debugging). */
.domain-primary {
  display: block;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-pink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.domain-primary:hover {
  color: var(--brand-orange);
}
.domain-secondary {
  display: inline-block;
  margin-top: 4px;
  font-family: "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.15s ease;
}
.domain-secondary:hover {
  opacity: 1;
  color: var(--text-main);
}

.custom-domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 8px;
  background: rgba(230, 57, 127, 0.1);
  border: 1px solid rgba(230, 57, 127, 0.3);
  color: #f9a8d4;
}
.custom-domain-chip--pending {
  background: rgba(255, 138, 0, 0.1);
  border-color: rgba(255, 138, 0, 0.3);
  color: #fdba74;
}
.custom-domain-chip--active {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 8px;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}
.copy-row__value {
  flex: 1;
  color: var(--accent-primary);
  font-weight: 600;
  user-select: all;
  word-break: break-all;
}
.copy-row__btn {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.copy-row__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.copy-row__btn--copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.instruction-box {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.instruction-box strong { color: var(--text-main); }
.instruction-box ol {
  margin: 8px 0 0;
  padding-left: 20px;
}
.instruction-box li { margin: 4px 0; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 138, 0, 0.1);
  border: 1px solid rgba(255, 138, 0, 0.3);
  color: #fdba74;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Custom domain status + action rows — consistent spacing, no overflow */
.cd-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cd-status-row .status-pill {
  flex: 1 1 auto;
  min-width: 0;
}
.cd-status-row .btn {
  flex-shrink: 0;
}
.cd-action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}
@media (max-width: 540px) {
  .cd-action-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .cd-action-row .btn {
    width: 100%;
  }
}
.status-pill--active {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}
.status-pill--checking {
  background: rgba(230, 57, 127, 0.1);
  border-color: rgba(230, 57, 127, 0.3);
  color: #f9a8d4;
}

/* ---------- Hidden utility ---------- */
.hidden { display: none !important; }
/* =============================================================================
   AI Portal admin modal — v3 (sidebar layout, simplified)
   Wider, left-nav, no containerized "cards", clean horizontal dividers.
   ============================================================================= */

/* Backdrop: no blur (prevents nested-filter Chromium bug) */
.modal-backdrop#aiPortalBackdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.72);
    z-index: 10000;
    animation: aipFadeIn 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes aipFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Backdrop: let the inner modal stretch wide — remove any padding constraints. */
.modal-backdrop#aiPortalBackdrop {
    padding: 24px !important;
    align-items: center !important;
}

/* Main card — liquid-glass, wide. Height auto-fits content (with a sensible
   cap) so sparse panes don't leave a huge empty canvas below. */
.aip-modal {
    position: relative !important;
    max-width: 1100px !important;
    width: 100% !important;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    max-height: 90vh !important;
    /* No forced min-height or height — let content dictate, up to 90vh. */
    display: flex;
    flex-direction: column;

    /* Liquid-glass surface (matches the rest of the dashboard) */
    background: rgba(20, 20, 30, 0.75) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow:
        0 40px 80px -14px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;

    animation: aipSlideIn 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes aipSlideIn {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Close button — circle with visible background, sits inline with header chips */
.aip-modal__close {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%);
    right: 16px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    cursor: pointer;
    display: grid !important;
    place-items: center;
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.aip-modal__close:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #fff !important;
    transform: translateY(-50%) scale(1.05);
}
.aip-modal__close svg { width: 13px; height: 13px; }

/* The header sits in the same row as the close button — reserve the right-side
   gutter (60px padding + 34 + 16 right offset ≈ fits the 34px circle).
   The close button is absolutely positioned at vertical center of the header. */

/* Header — ONE single row: title · chips · … · close (X).
   position:relative so the X anchors to this header, not the whole modal. */
.aip-modal__header {
    position: relative !important;
    padding: 14px 60px 14px 22px !important;   /* right pad reserves space for the X */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap;
}
.aip-modal__title {
    margin: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.015em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.aip-modal__slug { color: #fff; font-weight: 600; }
.aip-modal__sep  { opacity: 0.35; font-weight: 400; }

.aip-modal__meta {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.aip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-variant-numeric: tabular-nums;
}
.aip-chip--status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}
.aip-chip--green { color: #bbf7d0; background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
.aip-chip--green.aip-chip--status::before { background: #4ade80; box-shadow: 0 0 8px rgba(74,222,128,0.6); }
.aip-chip--red   { color: #fecaca; background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.3); }
.aip-chip--red.aip-chip--status::before   { background: #f87171; }

/* Body — sidebar + main. Wider sidebar, generous but not wasteful main. */
.aip-modal__body {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 0;
}

/* Sidebar — integrated, flush to edges, full-width active pill */
.aip-sidebar {
    padding: 8px 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.02);
    overflow-y: auto;
}
.aip-sidebar__item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 20px !important;
    background: transparent;
    border: none;                      /* no pill border — pure row styling */
    border-left: 2px solid transparent !important;
    color: rgba(255, 255, 255, 0.62);
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    border-radius: 0 !important;       /* flush — no rounded pill */
    cursor: pointer;
    transition: all 0.12s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.aip-sidebar__item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}
.aip-sidebar__item.is-active {
    background: linear-gradient(90deg, rgba(230,57,127,0.14), rgba(255,138,0,0.04) 70%, transparent) !important;
    color: #fff !important;
    border-left: 2px solid #E6397F !important;
}
.aip-sidebar__item.is-active svg { color: #E6397F; }
.aip-sidebar__item--danger { color: rgba(252,165,165,0.75); }
.aip-sidebar__item--danger:hover { color: #fca5a5; background: rgba(239,68,68,0.08); }
.aip-sidebar__item--danger.is-active {
    background: rgba(239, 68, 68, 0.1) !important;
    border-left: 2px solid #f87171 !important;
    color: #fca5a5 !important;
}
.aip-sidebar__item--danger.is-active svg { color: #f87171; }
.aip-sidebar__item svg { flex-shrink: 0; color: inherit; }

/* Main pane — scrollable. Content centers horizontally for readability. */
.aip-main {
    padding: 24px 32px 24px !important;
    overflow-y: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}
/* Inner-pane content is centered + capped for readable line length. */
.aip-pane {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}
.aip-main > .aip-notice,
.aip-main > .aip-retry,
.aip-main > .aip-success {
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
/* Activity log — full width, subtle, bottom of main pane */
.aip-log {
    width: 100%;
    max-width: 760px;
    margin: 8px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.aip-log__head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}
.aip-log__head svg { opacity: 0.75; }
.aip-log__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 140px;
    overflow-y: auto;
}
.aip-log__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 7px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.aip-log__item.aip-log__item--success { color: #bbf7d0; background: rgba(34,197,94,0.05); border-color: rgba(34,197,94,0.12); }
.aip-log__item.aip-log__item--error   { color: #fecaca; background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.12); }
.aip-log__time { color: rgba(255,255,255,0.35); font-variant-numeric: tabular-nums; flex-shrink: 0; min-width: 56px; }
.aip-log__empty {
    list-style: none;
    padding: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
    text-align: center;
}

/* Success banner — persistent inline (above pane content) */
.aip-success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 10px;
    color: #bbf7d0;
    animation: aipSuccessSlide 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes aipSuccessSlide { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.aip-success__icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    background: rgba(34, 197, 94, 0.18);
    border-radius: 50%;
    color: #4ade80;
}
.aip-success__body { flex: 1; min-width: 0; }
.aip-success__title { font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.aip-success__sub   { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); line-height: 1.45; }
.aip-success__close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.15s;
}
.aip-success__close:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.aip-pane { display: none; }
.aip-pane.is-active { display: block; animation: aipPaneIn 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); }
@keyframes aipPaneIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.aip-pane__title {
    margin: 0 0 4px !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}
.aip-pane__desc {
    margin: 0 0 14px !important;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}
.aip-pane__desc strong { color: #fff; font-weight: 600; }

/* Form primitives */
.aip-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 8px;
}
.aip-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.aip-input:focus {
    outline: none;
    border-color: rgba(230, 57, 127, 0.4);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 0 3px rgba(230, 57, 127, 0.12);
}
.aip-input--num {
    width: 130px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.aip-actions {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;       /* side by side — never stacked */
    margin-top: 14px !important;
}
.aip-actions > .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) {
    .aip-actions { flex-wrap: wrap !important; }   /* wrap only on phones */
}
.aip-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* Inline notices */
.aip-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}
.aip-notice__body { flex: 1; min-width: 240px; line-height: 1.45; }
.aip-notice--warn {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fde68a;
}

/* Sessions list */
.aip-session {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 8px;
}
.aip-session__meta { min-width: 0; flex: 1; }
.aip-session__id {
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aip-session__sub {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
}
.aip-sessions__empty {
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    border: 1px dashed rgba(255,255,255,0.08);
}

/* Danger zone rows */
.aip-danger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.aip-danger-row:last-child { border-bottom: none; }
.aip-danger__label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.aip-danger__sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
    line-height: 1.45;
}

/* Retry card */
.aip-retry {
    padding: 20px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
}
.aip-retry__title { font-weight: 600; color: #fca5a5; margin-bottom: 6px; }
.aip-retry__body  { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-bottom: 14px; }

/* Primary gradient button */
.aip-btn-primary {
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.35) 0%, transparent 60%),
        linear-gradient(90deg, #E6397F, #FF8A00) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    box-shadow:
        0 8px 20px -8px rgba(230, 57, 127, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.aip-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow:
        0 12px 26px -8px rgba(255, 138, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* .hidden must stay — keeps show/hide working */
.hidden { display: none !important; }

/* =============================================================================
   Responsive breakpoints
     Desktop  ≥ 900 px: 210 px sidebar + main + activity log
     Tablet   560-900: sidebar shrinks to 170 px, padding tightens
     Mobile   < 560 : fullscreen; sidebar becomes top horizontal scroll tabs;
                     activity log collapses to footer; danger rows stack
   ============================================================================= */
@media (max-width: 900px) {
    .modal-backdrop#aiPortalBackdrop { padding: 14px !important; }
    .aip-modal { max-width: 100% !important; max-height: 92vh !important; }
    .aip-modal__body { grid-template-columns: 168px 1fr; }
    .aip-modal__header { padding: 12px 54px 12px 18px !important; gap: 10px !important; }
    .aip-main { padding: 20px 22px 20px !important; gap: 14px; }
    .aip-sidebar__item { font-size: 13px; padding: 10px 14px !important; }
}

@media (max-width: 560px) {
    /* Fullscreen modal on phone */
    .modal-backdrop#aiPortalBackdrop { padding: 0 !important; align-items: stretch !important; }
    .aip-modal {
        max-width: 100vw !important;
        width: 100vw !important;
        max-height: 100dvh !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
    }

    /* Header — title + X on one row, chips wrap below */
    .aip-modal__header {
        padding: 10px 48px 10px 14px !important;
        gap: 6px !important;
    }
    .aip-modal__title { font-size: 14px !important; }
    .aip-modal__close {
        right: 8px !important;
        width: 30px !important; height: 30px !important;
    }
    .aip-chip { font-size: 10.5px !important; padding: 3px 8px !important; }

    /* Sidebar flips to horizontal tab strip */
    .aip-modal__body {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto 1fr !important;
    }
    .aip-sidebar {
        flex-direction: row;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 0 !important;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }
    .aip-sidebar::-webkit-scrollbar { display: none; }
    .aip-sidebar__item {
        font-size: 13px !important;
        padding: 11px 14px !important;
        flex-shrink: 0;
        border-left: none !important;
        border-bottom: 2px solid transparent !important;
        min-height: 44px;   /* tap target size */
    }
    .aip-sidebar__item.is-active {
        border-left: none !important;
        border-bottom: 2px solid #E6397F !important;
        background: rgba(230, 57, 127, 0.1) !important;
    }
    .aip-sidebar__item--danger.is-active { border-bottom: 2px solid #f87171 !important; }

    /* Main pane — tighter, full bleed */
    .aip-main { padding: 16px !important; gap: 12px !important; }
    .aip-pane__title { font-size: 15px !important; }
    .aip-pane__desc  { font-size: 12.5px !important; margin-bottom: 10px !important; }
    .aip-input { font-size: 15px !important; padding: 11px 12px !important; /* 15px stops iOS auto-zoom */ }
    .aip-input--num { width: 110px !important; }

    /* Buttons stretch on mobile for bigger tap targets */
    .aip-actions { flex-direction: column !important; align-items: stretch !important; }
    .aip-actions > .btn { width: 100%; justify-content: center; min-height: 44px; }
    .aip-row { flex-direction: column !important; align-items: stretch !important; }
    .aip-row > .btn { width: 100%; justify-content: center; min-height: 44px; }
    .aip-row > .aip-input--num { width: 100% !important; }

    /* Danger rows stack */
    .aip-danger-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px 0;
    }
    .aip-danger-row > .btn { align-self: stretch; justify-content: center; min-height: 44px; }

    /* Sessions */
    .aip-session { padding: 10px 12px; flex-direction: column; align-items: stretch; gap: 8px; }
    .aip-session__id { font-size: 12px; }
    .aip-session__sub { font-size: 11.5px; }
    .aip-session > .btn { align-self: flex-end; min-height: 40px; }

    /* Activity log compacts */
    .aip-log { padding-top: 10px; margin-top: 4px; }
    .aip-log__list { max-height: 110px; }
    .aip-log__item { font-size: 12px; padding: 6px 8px; }

    /* Success banner full width, slightly smaller */
    .aip-success { padding: 10px 12px; gap: 10px; }
    .aip-success__title { font-size: 13px; }
    .aip-success__sub   { font-size: 12px; }
}

/* =============================================================================
   Chatbot connection health row — sits at the top of the Access pane.
   Shows a green/amber/red pill + "Test connection" + "Resync from VPS" buttons.
   Written by Phase 3 of the key-rotation-sync fix.
   ============================================================================= */
.aip-conn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.aip-conn__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.aip-conn__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}
.aip-conn__pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.aip-conn__pill--idle {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.55);
}
.aip-conn__pill--checking {
    background: rgba(234, 179, 8, 0.10);
    border-color: rgba(234, 179, 8, 0.35);
    color: rgba(253, 224, 71, 0.95);
}
.aip-conn__pill--ok {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.40);
    color: rgba(134, 239, 172, 1);
}
.aip-conn__pill--bad {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.45);
    color: rgba(252, 165, 165, 1);
}
.aip-conn__pill--unreachable {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.45);
    color: rgba(253, 186, 116, 1);
}
.aip-conn__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.aip-conn__detail {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    min-height: 1em;
}
/* hidden helper (patches already define .hidden; this is a safety net) */
.aip-conn .hidden { display: none !important; }

/* ============================================================
   Phase 11.3 — Snapshots modal styling
   Scoped under .ss-* so nothing existing is affected.
   ============================================================ */
.ss-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ss-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.ss-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}
.ss-row__main {
    flex: 1;
    min-width: 0; /* allow truncation */
}
.ss-row__label {
    font-size: 13.5px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ss-row__meta {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.3;
}
.ss-row__actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.ss-action {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    padding: 0;
}
.ss-action svg {
    width: 17px;
    height: 17px;
}
.ss-action:hover:not(:disabled) {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.ss-action:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}
.ss-action--primary:hover:not(:disabled) {
    color: #e6397f;
    background: rgba(230, 57, 127, 0.08);
}
.ss-action--danger:hover:not(:disabled) {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* Title + label typography — Inter, heavier weight, tighter tracking */
#snapshotsModal .modal-title {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    font-size: 22px;
    line-height: 1.2;
}
#snapshotsModal .modal-subtitle {
    font-family: "Inter", -apple-system, sans-serif;
    font-size: 12.5px;
    margin-top: 4px;
    color: var(--text-muted);
}
.ss-row__label {
    font-family: "Inter", -apple-system, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 13.5px;
}

/* Empty-state for Snapshots — minimal, centered, generous whitespace. */
.ss-empty {
    padding: 56px 32px 48px;
    text-align: center;
    color: var(--text-muted);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: radial-gradient(circle at center top, rgba(255, 255, 255, 0.03), transparent 60%);
}
.ss-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: rgba(255, 255, 255, 0.45);
}
.ss-empty__icon svg { width: 100%; height: 100%; }
.ss-empty__title {
    font-family: "Inter", -apple-system, sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.ss-empty__hint {
    font-size: 12.5px;
    line-height: 1.55;
    max-width: 380px;
    margin: 0 auto 14px;
    color: rgba(255, 255, 255, 0.55);
}
.ss-empty__sub {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.01em;
}

/* Mobile / narrow modal: stack actions below the main info. */
@media (max-width: 600px) {
    .ss-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .ss-row__actions {
        justify-content: flex-end;
    }
    .ss-row__label {
        white-space: normal;
    }
    .ss-create-row {
        flex-direction: column;
        align-items: stretch !important;
    }
    .ss-create-row .btn {
        width: 100%;
    }
}
