/* Extracted from dashboard.html to keep the dashboard shell maintainable. */

/* ============================================================
   AUTH SCREEN
============================================================ */
.auth-screen {
  position: fixed;
  inset: 0;
  background: var(--ink);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.auth-screen.visible {
  display: flex;
}

.auth-card {
  background: #141210;
  border: 1px solid var(--wire);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 360px;
}

.auth-logo {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 0.25rem;
}

.auth-logo span { color: var(--ember); }

.auth-tagline {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog);
}

.auth-divider {
  height: 1px;
  background: var(--wire);
  margin: 1.5rem 0;
}

.auth-or-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  height: auto;
  background: none;
}

.auth-or-divider::before,
.auth-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--wire);
}

.auth-or-divider span {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--smoke);
  flex-shrink: 0;
}

.auth-prompt {
  font-size: 0.9rem;
  color: var(--fog);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Email input row */
.auth-input-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.auth-email-input {
  width: 100%;
  background: var(--ash);
  border: 1px solid var(--wire);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.auth-email-input:focus {
  border-color: var(--ember);
}

.auth-email-input::placeholder { color: var(--smoke); }

.auth-send-btn {
  width: 100%;
  background: var(--ember);
  color: var(--paper);
  border: none;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.01em;
}

.auth-send-btn:hover { background: var(--ember-dim); }
.auth-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Magic link sent state */
.auth-sent-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.auth-sent-title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-sent-sub {
  font-size: 0.875rem;
  color: var(--fog);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1rem;
}

.auth-sent-note {
  font-size: 0.78rem;
  color: var(--smoke);
  line-height: 1.6;
  text-align: center;
}

.auth-resend-btn {
  background: none;
  border: none;
  color: var(--ember);
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Loading state */
.auth-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.auth-loading.visible { display: flex; }

.auth-loading-dots {
  display: flex;
  gap: 0.35rem;
}

.auth-loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  animation: authDotPulse 1.2s infinite;
}

.auth-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.auth-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes authDotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40%            { opacity: 1;   transform: scale(1); }
}

.auth-loading-text {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fog);
}

.auth-error {
  display: none;
  margin-top: 0.75rem;
  padding: 0.65rem 0.875rem;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.2);
  color: #f87171;
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-error.visible { display: block; }

.auth-note {
  margin-top: 1.5rem;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--smoke);
  text-align: center;
  line-height: 1.6;
}

/* Google button centering */
#google-signin-btn {
  display: flex;
  justify-content: center;
}

.auth-form-links {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.auth-text-btn {
  background: none;
  border: none;
  color: var(--ember);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
  font-family: var(--f-body);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.auth-text-btn:hover { color: var(--paper); }

.auth-magic-row {
  margin-top: 0.75rem;
  text-align: center;
}
/* ============================================================
       TOKENS — matches marketing site exactly
    ============================================================ */
    :root {
      --ink:       #0e0c0a;
      --paper:     #f5f0e8;
      --ember:     #c85a1e;
      --ember-dim: #8c3d12;
      --ash:       #2a2520;
      --smoke:     #4a4540;
      --fog:       #8a837a;
      --wire:      #2e2a26;

      --f-display: 'DM Sans', system-ui, sans-serif;
      --f-body:    'DM Sans', system-ui, sans-serif;
      --f-mono:    'DM Mono', monospace;
    }

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

    html, body {
      height: 100%;
      overflow: hidden;
    }

    body {
      background: var(--ink);
      color: var(--paper);
      font-family: var(--f-body);
      font-weight: 300;
      line-height: 1.6;
      display: flex;
      flex-direction: column;
    }

    ::selection { background: var(--ember); color: var(--paper); }
    a { color: inherit; text-decoration: none; }

    /* ============================================================
       TOP BAR
    ============================================================ */
    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1.5rem;
      border-bottom: 1px solid var(--wire);
      background: var(--ink);
      flex-shrink: 0;
      gap: 1rem;
    }

    .topbar-logo {
      font-family: var(--f-display);
      font-size: 1.15rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      color: var(--paper);
      flex-shrink: 0;
    }

    .topbar-logo span { color: var(--ember); }

    /* Site status pill */
    .site-status {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex: 1;
      justify-content: center;
    }

    .status-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: var(--f-mono);
      font-size: 0.68rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 0.25rem 0.65rem;
      border: 1px solid;
    }

    .status-pill.live {
      color: #4ade80;
      border-color: rgba(74,222,128,0.25);
      background: rgba(74,222,128,0.05);
    }

    .status-pill.building {
      color: var(--ember);
      border-color: rgba(200,90,30,0.3);
      background: rgba(200,90,30,0.05);
    }

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

    .status-pill.live .status-dot {
      animation: livePulse 2s ease-in-out infinite;
    }

    @keyframes livePulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.3; }
    }

    .site-url-link {
      font-family: var(--f-mono);
      font-size: 0.72rem;
      color: var(--fog);
      letter-spacing: 0.02em;
      display: flex;
      align-items: center;
      gap: 0.35rem;
      transition: color 0.2s;
    }

    .site-url-link:hover { color: var(--paper); }

    .site-url-link svg {
      opacity: 0.5;
      transition: opacity 0.2s;
    }

    .site-url-link:hover svg { opacity: 1; }

    /* Topbar right */
    .topbar-right {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-shrink: 0;
    }

    .plan-badge {
      font-family: var(--f-mono);
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--fog);
      border: 1px solid var(--wire);
      padding: 0.2rem 0.55rem;
    }

    .topbar-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--ash);
      border: 1px solid var(--wire);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--f-mono);
      font-size: 0.65rem;
      font-weight: 500;
      color: var(--fog);
      cursor: pointer;
      transition: border-color 0.2s;
    }

    .topbar-avatar:hover { border-color: var(--smoke); }

    /* ============================================================
       MAIN LAYOUT — sidebar + chat
    ============================================================ */
    .main {
      display: flex;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }


    .chat-column {
      flex: 1 1 0%;
      min-width: 0;
      min-height: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    /* ============================================================
       PREVIEW PANEL
    ============================================================ */
    .preview-panel {
      width: 0;
      flex-shrink: 0;
      border-left: 0 solid transparent;
      background: var(--ash);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: width 0.3s ease;
    }

    .preview-panel.open {
      width: 50%;
      border-left: 1px solid var(--wire);
    }

    .preview-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid var(--wire);
      flex-shrink: 0;
    }

    .preview-title {
      font-family: var(--f-mono);
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--fog);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .preview-mode-badge {
      font-size: 0.58rem;
      padding: 0.15rem 0.4rem;
      border-radius: 3px;
      letter-spacing: 0.06em;
    }

    .preview-mode-badge.srcdoc {
      background: rgba(200,90,30,0.15);
      color: var(--ember);
      border: 1px solid rgba(200,90,30,0.3);
    }

    .preview-mode-badge.branch {
      background: rgba(74,222,128,0.08);
      color: var(--green);
      border: 1px solid rgba(74,222,128,0.2);
    }

    .preview-mode-badge.building {
      background: rgba(138,131,122,0.15);
      color: var(--fog);
      border: 1px solid var(--wire);
      animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0.5; }
    }

    .preview-actions {
      display: flex;
      gap: 0.5rem;
      align-items: center;
    }

    .preview-btn {
      font-family: var(--f-mono);
      font-size: 0.65rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 0.35rem 0.75rem;
      border-radius: 3px;
      border: none;
      cursor: pointer;
      transition: opacity 0.15s;
    }

    .preview-btn:hover { opacity: 0.8; }

    .preview-btn.approve {
      background: var(--ember);
      color: var(--paper);
    }

    .preview-btn.close {
      background: transparent;
      color: var(--fog);
      border: 1px solid var(--wire);
    }

    .preview-btn.open-tab {
      background: transparent;
      color: var(--fog);
      border: 1px solid var(--wire);
    }

    .preview-frame-wrap {
      flex: 1;
      overflow: hidden;
      position: relative;
    }

    .preview-frame {
      width: 100%;
      height: 100%;
      border: none;
      background: white;
    }

    .preview-building {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100%;
      gap: 1rem;
      color: var(--fog);
    }

    .preview-building-dots {
      display: inline-flex;
      gap: 5px;
    }

    .preview-building-dots span {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--ember);
      opacity: 0.4;
      animation: authDot 1.2s ease-in-out infinite;
    }

    .preview-building-dots span:nth-child(2) { animation-delay: 0.2s; }
    .preview-building-dots span:nth-child(3) { animation-delay: 0.4s; }

    .preview-building-text {
      font-family: var(--f-mono);
      font-size: 0.7rem;
      letter-spacing: 0.06em;
      color: var(--fog);
    }

    .preview-building-url {
      font-family: var(--f-mono);
      font-size: 0.65rem;
      color: var(--smoke);
    }

    /* ============================================================
       SIDEBAR
    ============================================================ */
    .sidebar {
      width: 220px;
      flex-shrink: 0;
      border-right: 1px solid var(--wire);
      background: var(--ink);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      overflow-x: hidden;
    }

    .sidebar-section {
      padding: 1.25rem 1rem 0.75rem;
    }

    .sidebar-label {
      font-family: var(--f-mono);
      font-size: 0.6rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--smoke);
      margin-bottom: 0.65rem;
    }

    .sidebar-btn {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      width: 100%;
      padding: 0.55rem 0.65rem;
      font-family: var(--f-body);
      font-size: 0.82rem;
      font-weight: 400;
      color: var(--fog);
      background: none;
      border: none;
      cursor: pointer;
      transition: color 0.15s, background 0.15s;
      text-align: left;
      border-radius: 4px;
    }

    .sidebar-btn:hover {
      color: var(--paper);
      background: rgba(255,255,255,0.04);
    }

    .sidebar-btn.active {
      color: var(--paper);
      background: var(--ash);
    }

    .sidebar-btn-icon {
      font-size: 0.85rem;
      flex-shrink: 0;
    }

    .sidebar-divider {
      height: 1px;
      background: var(--wire);
      margin: 0.25rem 0;
    }

    /* Session history items */
    .session-item {
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
      padding: 0.5rem 0.65rem;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.15s;
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      color: inherit;
    }

    .session-item:hover { background: rgba(255,255,255,0.03); }

    .session-item-title {
      font-size: 0.8rem;
      color: var(--fog);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
    }

    .session-item-date {
      font-family: var(--f-mono);
      font-size: 0.62rem;
      color: var(--smoke);
      letter-spacing: 0.03em;
    }

    .sidebar-footer {
      margin-top: auto;
      padding: 1rem;
      border-top: 1px solid var(--wire);
    }

    .sidebar-footer-text {
      font-family: var(--f-mono);
      font-size: 0.6rem;
      color: var(--smoke);
      letter-spacing: 0.05em;
    }

    /* ============================================================
       CHAT AREA
    ============================================================ */
    .chat-area {
      --chat-content-width: 760px;
      flex: 1;
      min-width: 0;
      min-height: 0;
      display: grid;
      grid-template-rows: 1fr;
      justify-items: center;
      overflow: hidden;
      position: relative;
    }

    /* Messages */
    .messages {
      width: min(100%, var(--chat-content-width));
      overflow-y: auto;
      padding: 2rem 0;
      display: flex;
      flex-direction: column;
      gap: 0;
      min-height: 0;
    }

    .messages::-webkit-scrollbar { width: 4px; }
    .messages::-webkit-scrollbar-track { background: transparent; }
    .messages::-webkit-scrollbar-thumb { background: var(--wire); border-radius: 2px; }

    /* Welcome state */
    .welcome {
      width: min(100%, var(--chat-content-width));
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      text-align: center;
      gap: 0;
      overflow: hidden;
      min-height: 0;
    }

    .welcome-eyebrow {
      font-family: var(--f-mono);
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ember);
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .welcome-eyebrow::before,
    .welcome-eyebrow::after {
      content: '';
      display: block;
      width: 1.5rem;
      height: 1px;
      background: var(--ember);
      opacity: 0.5;
    }

    .welcome-heading {
      font-family: var(--f-display);
      font-size: clamp(1.5rem, 3vw, 2.25rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.1;
      color: var(--paper);
      margin-bottom: 0.75rem;
    }

    .welcome-sub {
      font-size: 0.95rem;
      color: var(--fog);
      max-width: 400px;
      line-height: 1.65;
      margin-bottom: 2.5rem;
    }

    /* Suggestion chips */
    .suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      justify-content: center;
      max-width: 540px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.5rem 0.875rem;
      background: var(--ash);
      border: 1px solid var(--wire);
      font-size: 0.825rem;
      color: var(--fog);
      cursor: pointer;
      transition: color 0.15s, border-color 0.15s, background 0.15s;
      text-align: left;
      line-height: 1.35;
    }

    .chip:hover {
      color: var(--paper);
      border-color: var(--smoke);
      background: var(--ash);
    }

    .chip-icon { font-size: 0.85rem; flex-shrink: 0; }

    /* ── Message rows ── */
    .msg-row {
      display: flex;
      gap: 0;
      padding: 0;
      animation: msgIn 0.25s ease forwards;
    }

    @keyframes msgIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .msg-row.user {
      justify-content: flex-end;
    }

    /* User messages — right-aligned bubble */
    .msg-row.user .msg-bubble {
      max-width: 72%;
      background: var(--ash);
      border: 1px solid var(--wire);
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
      color: var(--paper);
      line-height: 1.6;
      margin: 0.35rem 0;
    }

    /* Agent messages — full width, no bubble */
    .msg-row.agent {
      flex-direction: column;
    }

    .msg-agent-inner {
      display: flex;
      gap: 0.75rem;
      align-items: flex-start;
      padding: 0.75rem 0;
    }

    .agent-avatar {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
      background: var(--ember);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--f-mono);
      font-size: 0.6rem;
      font-weight: 500;
      color: var(--paper);
      border-radius: 2px;
      margin-top: 0.1rem;
    }

    .agent-content {
      flex: 1;
      font-size: 0.9rem;
      color: var(--paper);
      line-height: 1.7;
      max-width: 680px;
    }

    .agent-content p + p { margin-top: 0.75rem; }

    /* Tool activity display */
    .tool-activity {
      background: rgba(74,222,128,0.04) !important;
      border: 1px solid rgba(74,222,128,0.15) !important;
      padding: 0.75rem 1rem !important;
    }

    .tool-step {
      display: flex;
      align-items: flex-start;
      gap: 0.6rem;
      font-family: var(--f-mono);
      font-size: 0.72rem;
      color: var(--fog);
      padding: 0.2rem 0;
      line-height: 1.4;
    }

    .tool-step-icon {
      color: var(--green);
      flex-shrink: 0;
      margin-top: 0.05rem;
    }

    .tool-step-label code {
      color: var(--paper);
      font-size: 0.7rem;
    }

    /* Confirmation prompt */
    .confirm-prompt {
      background: rgba(200,90,30,0.06) !important;
      border: 1px solid rgba(200,90,30,0.25) !important;
    }

    .confirm-message {
      font-size: 0.9rem;
      color: var(--paper);
      margin-bottom: 1rem;
      line-height: 1.5;
    }

    .confirm-actions {
      display: flex;
      gap: 0.75rem;
    }

    .confirm-btn {
      font-family: var(--f-mono);
      font-size: 0.7rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 0.5rem 1.25rem;
      border-radius: 4px;
      border: none;
      cursor: pointer;
      transition: opacity 0.15s;
    }

    .confirm-btn:hover { opacity: 0.8; }

    .confirm-btn.yes {
      background: var(--ember);
      color: var(--paper);
    }

    .confirm-btn.no {
      background: var(--ash);
      color: var(--fog);
      border: 1px solid var(--wire);
    }

    /* Deploy/status line */
    .msg-row.status-line {
      padding: 0.4rem 1.5rem 0.4rem 3.75rem;
    }

    .status-line-inner {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-family: var(--f-mono);
      font-size: 0.7rem;
      color: var(--ember);
      padding: 0.4rem 0.75rem;
      background: rgba(200,90,30,0.06);
      border-left: 2px solid var(--ember);
      letter-spacing: 0.03em;
    }

    /* Typing indicator */
    .typing-indicator {
      display: inline-flex;
      gap: 3px;
      align-items: center;
      padding: 0.2rem 0;
    }

    .typing-indicator span {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--ember);
      opacity: 0.4;
      animation: typingDot 1.2s ease-in-out infinite;
    }

    .typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
    .typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

    @keyframes typingDot {
      0%, 80%, 100% { opacity: 0.4; transform: scale(0.85); }
      40% { opacity: 1; transform: scale(1); }
    }

    /* ============================================================
       INPUT AREA
    ============================================================ */
    .input-area {
      --chat-content-width: 760px;
      width: 100%;
      align-self: stretch;
      box-sizing: border-box;
      flex-shrink: 0;
      display: flex;
      justify-content: center;
      padding: 1rem 1.5rem 1.25rem;
      border-top: 0;
      background: var(--ink);
    }

    .input-area > .input-box {
      width: min(100%, var(--chat-content-width));
    }

    .input-box {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--wire);
      background: var(--ash);
      border-radius: 0.75rem;
      padding: 0.8rem 0.75rem 0.6rem 1rem;
      gap: 0.5rem;
      transition: border-color 0.2s;
    }

    .input-box:focus-within { border-color: var(--ember); }

    .input-textarea {
      background: transparent;
      border: none;
      outline: none;
      font-family: var(--f-body);
      font-size: 0.9rem;
      font-weight: 300;
      color: var(--paper);
      resize: none;
      min-height: 1.4rem;
      max-height: 180px;
      overflow-y: auto;
      line-height: 1.55;
      width: 100%;
    }

    .input-textarea::placeholder { color: var(--smoke); }

    .input-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .input-hint {
      font-family: var(--f-mono);
      font-size: 0.65rem;
      color: var(--smoke);
      letter-spacing: 0.04em;
    }

    .input-actions {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .send-btn {
      background: var(--ember);
      color: var(--paper);
      border: none;
      width: 1.85rem;
      height: 1.85rem;
      border-radius: 0.4rem;
      font-size: 0.9rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.15s, transform 0.1s;
      flex-shrink: 0;
      line-height: 1;
    }

    .send-btn:hover { background: var(--ember-dim); }
    .send-btn:active { transform: scale(0.9); }
    .send-btn:disabled { opacity: 0.4; cursor: not-allowed; }



    /* ============================================================
       CONNECTIONS + INLINE ARTIFACTS
    ============================================================ */
    .workspace-panel {
      overflow-y: auto;
      padding: 2rem;
      display: none;
    }

    .workspace-panel.active {
      display: block;
      overflow-y: auto;
    }

    .workspace-shell {
      max-width: 980px;
      margin: 0 auto;
    }

    .workspace-eyebrow {
      font-family: var(--f-mono);
      font-size: 0.65rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ember);
      margin-bottom: 0.85rem;
    }

    .workspace-title {
      font-family: var(--f-display);
      font-size: clamp(1.6rem, 3vw, 2.35rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.08;
      margin-bottom: 0.65rem;
    }

    .workspace-sub {
      color: var(--fog);
      max-width: 660px;
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 2rem;
    }

    .connections-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1rem;
    }

    .jobs-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .jobs-list {
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .job-card {
      background: var(--ash);
      border: 1px solid var(--wire);
      border-radius: 0.65rem;
      padding: 1rem;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 0.75rem 1rem;
    }

    .job-title { font-weight: 650; letter-spacing: -0.01em; }
    .job-meta, .job-detail { font-family: var(--f-mono); font-size: 0.68rem; color: var(--fog); }
    .job-status { font-family: var(--f-mono); font-size: 0.62rem; text-transform: uppercase; border: 1px solid var(--wire); padding: 0.18rem 0.45rem; height: fit-content; }
    .job-status.succeeded { color: #4ade80; border-color: rgba(74,222,128,0.25); }
    .job-status.running, .job-status.retrying { color: var(--ember); border-color: rgba(200,90,30,0.3); }
    .job-status.dead, .job-status.failed { color: #f87171; border-color: rgba(248,113,113,0.28); }

    .job-progress-track { grid-column: 1 / -1; height: 6px; background: rgba(245,240,232,0.08); border-radius: 999px; overflow: hidden; }
    .job-progress-fill { height: 100%; background: currentColor; color: var(--ember); width: 0%; transition: width 0.25s ease; }
    .job-actions { grid-column: 1 / -1; display: flex; gap: 0.5rem; flex-wrap: wrap; }
    .job-events { grid-column: 1 / -1; display: none; padding-top: 0.5rem; border-top: 1px solid var(--wire); }
    .job-events.open { display: block; }
    .job-event { font-family: var(--f-mono); font-size: 0.68rem; color: var(--fog); padding: 0.3rem 0; }
    .job-artifact { margin-top: 0.5rem; padding: 0.65rem; border: 1px solid var(--wire); background: rgba(0,0,0,0.12); border-radius: 0.45rem; }


    .connection-card,
    .artifact-card {
      background: var(--ash);
      border: 1px solid var(--wire);
      border-radius: 0.65rem;
      padding: 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .connection-card-header,
    .artifact-card-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
    }

    .connection-name,
    .artifact-title {
      font-size: 1rem;
      font-weight: 600;
      color: var(--paper);
      letter-spacing: -0.01em;
    }

    .connection-category,
    .artifact-kicker {
      font-family: var(--f-mono);
      font-size: 0.58rem;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      color: var(--smoke);
      margin-top: 0.15rem;
    }

    .connection-desc,
    .artifact-desc {
      color: var(--fog);
      font-size: 0.82rem;
      line-height: 1.55;
    }

    .connection-status {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: var(--f-mono);
      font-size: 0.62rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      white-space: nowrap;
    }

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

    .connection-status.connected { color: #4ade80; }
    .connection-status.disconnected { color: var(--fog); }
    .connection-status.soon { color: var(--smoke); }
    .connection-status.error { color: var(--ember); }

    .connection-meta {
      font-family: var(--f-mono);
      font-size: 0.62rem;
      color: var(--smoke);
      min-height: 1rem;
    }

    .connection-actions,
    .artifact-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: auto;
    }

    .small-action-btn {
      font-family: var(--f-mono);
      font-size: 0.64rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border: 1px solid var(--wire);
      background: rgba(255,255,255,0.03);
      color: var(--fog);
      padding: 0.48rem 0.7rem;
      border-radius: 0.35rem;
      cursor: pointer;
      transition: color 0.15s, border-color 0.15s, background 0.15s;
    }

    .small-action-btn:hover:not(:disabled) {
      color: var(--paper);
      border-color: var(--smoke);
      background: rgba(255,255,255,0.05);
    }

    .small-action-btn.primary {
      border-color: rgba(200,90,30,0.35);
      background: rgba(200,90,30,0.12);
      color: var(--paper);
    }

    .small-action-btn.danger {
      border-color: rgba(248,113,113,0.25);
      color: #f87171;
    }
    .small-action-btn.danger:hover:not(:disabled) {
      background: rgba(248,113,113,0.08);
      border-color: rgba(248,113,113,0.4);
    }

    /* ── Operator mode ── */
    /* Operator toggle — lives in topbar-right, hidden until operator email confirmed */
    .operator-toggle {
      display: none;
      font-family: var(--f-mono);
      font-size: 0.62rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.25rem 0.65rem;
      border-radius: 3px;
      border: 1px solid var(--wire);
      background: transparent;
      color: var(--smoke);
      cursor: pointer;
      transition: all 0.15s;
      white-space: nowrap;
    }
    .operator-toggle:hover { color: var(--paper); border-color: var(--smoke); }
    .operator-toggle.operator-active {
      border-color: rgba(200,90,30,0.5);
      color: var(--ember);
      background: rgba(200,90,30,0.08);
    }

    /* Operator sidebar section — hidden until operator mode */
    .sidebar-section.operator-section { display: none; }
    body.operator-mode .sidebar-section.operator-section { display: block; }
    body.operator-mode .operator-toggle { display: flex; }

    /* File attach button in chat input */
    .attach-btn {
      background: none;
      border: none;
      color: var(--smoke);
      cursor: pointer;
      padding: 0.2rem 0.4rem;
      border-radius: 0.3rem;
      font-size: 1rem;
      line-height: 1;
      transition: color 0.15s;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .attach-btn:hover { color: var(--fog); }
    .attach-btn.has-file { color: var(--ember); }
    #file-input { display: none; }

    /* File preview chip in input */
    .file-chip {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(200,90,30,0.08);
      border: 1px solid rgba(200,90,30,0.25);
      border-radius: 0.4rem;
      padding: 0.25rem 0.6rem;
      font-size: 0.72rem;
      font-family: var(--f-mono);
      color: var(--ember);
      margin-bottom: 0.4rem;
    }
    .file-chip-remove {
      cursor: pointer;
      opacity: 0.6;
      font-size: 0.8rem;
      line-height: 1;
      padding: 0 0.1rem;
    }
    .file-chip-remove:hover { opacity: 1; }

    /* File intent prompt — appears after attach */
    .file-intent-bar {
      display: none;
      align-items: center;
      gap: 0.5rem;
      padding: 0.4rem 0.75rem;
      background: rgba(200,90,30,0.06);
      border-top: 1px solid rgba(200,90,30,0.15);
      font-size: 0.72rem;
      color: var(--fog);
    }
    .file-intent-bar.visible { display: flex; }
    .file-intent-btn {
      background: var(--ash);
      border: 1px solid var(--wire);
      border-radius: 0.3rem;
      color: var(--fog);
      font-size: 0.68rem;
      font-family: var(--f-mono);
      letter-spacing: 0.04em;
      padding: 0.2rem 0.5rem;
      cursor: pointer;
      transition: all 0.15s;
    }
    .file-intent-btn:hover { color: var(--paper); border-color: var(--smoke); }
    .file-intent-btn.selected { color: var(--ember); border-color: rgba(200,90,30,0.4); background: rgba(200,90,30,0.06); }

    .small-action-btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .artifact-card {
      max-width: 520px;
      margin: 0.45rem 1.5rem 0.75rem 3.75rem;
      background: rgba(42,37,32,0.86);
    }

    .secret-modal-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 650;
      background: rgba(0,0,0,0.68);
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    .secret-modal-backdrop.open { display: flex; }

    .secret-modal {
      width: min(560px, 100%);
      background: var(--ash);
      border: 1px solid var(--wire);
      border-radius: 0.75rem;
      box-shadow: 0 24px 80px rgba(0,0,0,0.35);
      padding: 1.15rem;
    }

    .secret-modal-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .secret-modal-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--paper);
    }

    .secret-modal-sub {
      color: var(--fog);
      font-size: 0.82rem;
      line-height: 1.55;
      margin-top: 0.25rem;
    }

    .modal-close {
      border: none;
      background: none;
      color: var(--fog);
      font-size: 1.1rem;
      cursor: pointer;
    }

    .secret-field-label {
      font-family: var(--f-mono);
      font-size: 0.62rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--fog);
      margin-bottom: 0.45rem;
    }

    .secret-input {
      width: 100%;
      min-height: 96px;
      resize: vertical;
      border-radius: 0.5rem;
      border: 1px solid var(--wire);
      background: var(--ink);
      color: var(--paper);
      padding: 0.8rem;
      font-family: var(--f-mono);
      font-size: 0.76rem;
      outline: none;
    }

    .secret-input:focus { border-color: var(--ember); }

    .secret-note {
      display: flex;
      gap: 0.5rem;
      color: var(--fog);
      font-size: 0.78rem;
      line-height: 1.5;
      margin: 0.8rem 0 1rem;
    }

    .secret-modal-actions {
      display: flex;
      justify-content: flex-end;
      gap: 0.65rem;
    }

    /* ============================================================
       MOBILE — sidebar collapses
    ============================================================ */
    .sidebar-toggle {
      display: none;
      background: none;
      border: none;
      color: var(--fog);
      font-size: 1.1rem;
      cursor: pointer;
      padding: 0.25rem;
    }

    @media (max-width: 700px) {
      .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
      }

      .sidebar.open { transform: translateX(0); }

      .sidebar-toggle { display: flex; }

      .site-status { display: none; }

      .topbar-right .plan-badge { display: none; }
    }

    /* ============================================================
       OVERLAY for mobile sidebar
    ============================================================ */
    .overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 150;
    }

    .overlay.show { display: block; }
    /* ============================================================
       AUTH SCREEN
    ============================================================ */
    .auth-screen {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--ink);
      z-index: 500;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0;
    }

    .auth-screen.visible { display: flex; }

    .auth-card {
      width: 100%;
      max-width: 380px;
      padding: 2.5rem 2rem;
      border: 1px solid var(--wire);
      background: var(--ash);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
    }

    .auth-logo {
      font-family: var(--f-display);
      font-size: 1.5rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      color: var(--paper);
      margin-bottom: 0.35rem;
    }

    .auth-logo span { color: var(--ember); }

    .auth-tagline {
      font-family: var(--f-mono);
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--fog);
      margin-bottom: 2.25rem;
    }

    .auth-divider {
      width: 100%;
      height: 1px;
      background: var(--wire);
      margin-bottom: 2rem;
    }

    .auth-prompt {
      font-size: 0.9rem;
      color: var(--fog);
      text-align: center;
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }

    /* Google button container — GSI renders inside this */
    #google-signin-btn {
      margin-bottom: 1.5rem;
    }

    .auth-note {
      font-family: var(--f-mono);
      font-size: 0.62rem;
      color: var(--smoke);
      letter-spacing: 0.05em;
      text-align: center;
      line-height: 1.6;
    }

    .auth-error {
      margin-top: 1rem;
      padding: 0.65rem 1rem;
      background: rgba(200,90,30,0.1);
      border: 1px solid rgba(200,90,30,0.3);
      font-size: 0.8rem;
      color: var(--ember);
      text-align: center;
      width: 100%;
      display: none;
    }

    .auth-error.visible { display: block; }

    .auth-loading {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      padding: 1rem 0;
    }

    .auth-loading.visible { display: flex; }

    .auth-loading-dots {
      display: inline-flex;
      gap: 4px;
    }

    .auth-loading-dots span {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--ember);
      opacity: 0.4;
      animation: authDot 1.2s ease-in-out infinite;
    }

    .auth-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
    .auth-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

    @keyframes authDot {
      0%, 80%, 100% { opacity: 0.4; transform: scale(0.85); }
      40% { opacity: 1; transform: scale(1); }
    }

    .auth-loading-text {
      font-family: var(--f-mono);
      font-size: 0.68rem;
      color: var(--fog);
      letter-spacing: 0.06em;
    }


/* ============================================================
   INLINE BUSINESS REVIEW + DASHBOARD PANEL ALIGNMENT FIX
   Keeps all workspace panels inside the same centered chat-area shell.
============================================================ */
.business-review-panel .business-review-shell { max-width: 980px; }
.business-review-panel .crawl-trigger-zone { margin: 1.5rem 0 2rem; overflow: hidden; transition: max-height .35s ease, opacity .3s; }
.business-review-panel .crawl-trigger-zone.collapsed { max-height: 64px; opacity: .55; }
.business-review-panel .crawl-trigger-card,
.business-review-panel .status-bar,
.business-review-panel .bucket,
.business-review-panel .commit-bar,
.business-review-panel .field-card { background: var(--ash); border: 1px solid var(--wire); border-radius: .75rem; }
.business-review-panel .crawl-trigger-card { max-width: 720px; padding: 1.5rem; }
.business-review-panel .crawl-icon { font-size: 1.8rem; margin-bottom: .75rem; }
.business-review-panel .crawl-trigger-card h2 { font-family: var(--f-display); font-size: 1.35rem; margin-bottom: .4rem; }
.business-review-panel .crawl-trigger-card p, .business-review-panel .hint { color: var(--fog); font-size: .86rem; line-height: 1.6; }
.business-review-panel .crawl-input-row { display: flex; gap: .75rem; margin-top: 1rem; }
.business-review-panel .crawl-input-row input, .business-review-panel .field-edit { flex: 1; min-width: 0; background: var(--ink); border: 1px solid var(--wire); color: var(--paper); border-radius: .45rem; padding: .65rem .85rem; font-family: var(--f-sans); }
.business-review-panel .btn-primary, .business-review-panel .btn-ghost,
.business-review-panel .action-approve, .business-review-panel .action-edit, .business-review-panel .action-skip { border-radius: .45rem; padding: .55rem .85rem; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.business-review-panel .btn-primary, .business-review-panel .action-approve { background: var(--ember); color: var(--paper); border: 1px solid var(--ember); }
.business-review-panel .btn-primary:disabled { opacity:.45; cursor:not-allowed; }
.business-review-panel .btn-ghost, .business-review-panel .action-edit, .business-review-panel .action-skip { background: transparent; color: var(--fog); border: 1px solid var(--wire); }
.business-review-panel .status-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; margin-bottom: 1.5rem; }
.business-review-panel .status-inner { display:flex; align-items:center; gap:.6rem; }
.business-review-panel .status-dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--smoke); display:inline-block; }
.business-review-panel .status-dot.running { background: var(--ember); }
.business-review-panel .status-dot.ok { background: #4ade80; }
.business-review-panel .status-dot.error { background: #f87171; }
.business-review-panel .status-meta { color: var(--fog); font-size: .78rem; }
.business-review-panel .summary-strip { display:flex; flex-wrap:wrap; gap:.75rem; margin-bottom: 1.25rem; }
.business-review-panel .summary-item { background: var(--ash); border: 1px solid var(--wire); border-radius: .55rem; padding: .65rem .85rem; color: var(--fog); font-size: .8rem; }
.business-review-panel .summary-item strong { color: var(--paper); }
.business-review-panel .summary-item a { color: var(--ember); }
.business-review-panel .bucket-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.business-review-panel .bucket { padding: 1rem; }
.business-review-panel .bucket.warn { border-color: rgba(248,113,113,.24); }
.business-review-panel .bucket-header { display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:.85rem; }
.business-review-panel .bucket-badge { font-family:var(--f-mono); color:var(--ember); font-size:.68rem; text-transform:uppercase; letter-spacing:.08em; }
.business-review-panel .bucket-count { color: var(--fog); font-size:.75rem; }
.business-review-panel .field-list { display:flex; flex-direction:column; gap:.75rem; }
.business-review-panel .bucket-empty { color: var(--smoke); font-size:.82rem; padding:.75rem 0; }
.business-review-panel .field-card { padding: .85rem; }
.business-review-panel .field-top { display:flex; justify-content:space-between; gap:.75rem; align-items:flex-start; margin-bottom:.45rem; }
.business-review-panel .field-label { font-weight:600; font-size:.86rem; }
.business-review-panel .field-value { color: var(--fog); font-size:.82rem; line-height:1.55; word-break:break-word; }
.business-review-panel .conf-badge { white-space:nowrap; font-size:.65rem; color:var(--smoke); font-family:var(--f-mono); }
.business-review-panel .conf-high { color:#4ade80; } .business-review-panel .conf-med { color:#facc15; } .business-review-panel .conf-low { color:#f87171; }
.business-review-panel .contra-note { color:#f87171; font-size:.75rem; margin-top:.45rem; }
.business-review-panel .field-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.75rem; }
.business-review-panel .field-status { margin-top:.6rem; font-size:.75rem; font-family:var(--f-mono); color:var(--fog); }
.business-review-panel .field-status.saved, .business-review-panel .field-status.approved { color:#4ade80; }
.business-review-panel .field-status.skipped { color:var(--smoke); }
.business-review-panel .field-status.error { color:#f87171; }
.business-review-panel .commit-bar { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; margin-top:1.25rem; position:sticky; bottom:1rem; }
.business-review-panel .commit-summary { color:var(--fog); font-size:.82rem; }
.business-review-panel .commit-actions { display:flex; flex-wrap:wrap; gap:.65rem; }
@media (max-width: 760px) { .business-review-panel .crawl-input-row, .business-review-panel .commit-bar { flex-direction: column; align-items: stretch; } }

/* ============================================================
   ORPHAN PANEL FIX — settings, billing, and operator panels
   live as siblings of .chat-area inside .main (not children of
   .chat-area). When active they must flex-fill the remaining
   space in .main's row, not collapse or overflow the body.
============================================================ */
.main > .workspace-panel {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  display: none;
}

.main > .workspace-panel.active {
  display: flex;
  flex-direction: column;
}


/* ============================================================
   CHAT COMPOSER VISIBILITY + ANCHORING
   Uses data-view attribute (set by setView() in dashboard-panels.js)
   and matches the inline override block in dashboard.html.
   The .chat-view class selectors were removed — [data-view] is the
   single source of truth so there is no specificity conflict.
============================================================ */
.input-area,
.input-area[hidden],
body:not([data-view="chat"]) .input-area {
  display: none !important;
}

body[data-view="chat"] .input-area {
  --chat-content-width: 760px;
  display: flex !important;
  position: fixed;
  left: 220px;
  right: 0;
  bottom: 0;
  width: auto !important;
  align-self: auto !important;
  justify-content: center;
  box-sizing: border-box;
  padding: 1rem 1.5rem 1.25rem;
  border-top: 0 !important;
  background: linear-gradient(to top, var(--ink) 78%, rgba(14,12,10,0));
  z-index: 40;
}

body[data-view="chat"] .input-area > .input-box {
  width: min(100%, var(--chat-content-width)) !important;
}

body[data-view="chat"] .messages {
  padding-bottom: 8.5rem;
}

@media (max-width: 700px) {
  body[data-view="chat"] .input-area {
    left: 0;
    padding: 0.85rem 1rem 1rem;
  }
}

/* =============================================================================
   YOUR SITE PANEL — Sub-tabs
   ============================================================================= */

.your-site-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--fog);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  margin-bottom: -1px;
  white-space: nowrap;
}

.your-site-tab:hover { color: var(--paper); }

.your-site-tab.active {
  color: var(--ember);
  border-bottom-color: var(--ember);
}

.site-tab-pane {
  display: none !important;
}

.site-tab-pane.active {
  display: flex !important;
}

/* Import dropzone hover state */
#import-dropzone:hover {
  border-color: var(--ember);
}

/* Page row in pages tab */
.site-page-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ash);
  border: 1px solid var(--wire);
  border-radius: 0.45rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  gap: 1rem;
}

.site-page-row:hover {
  background: #1e1a16;
  border-color: var(--smoke);
}

.site-page-row.selected {
  border-color: var(--ember);
}

.site-page-row-meta {
  font-size: 0.74rem;
  color: var(--fog);
  font-family: var(--f-mono);
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}
