/* ═══════════════════════════════════════════════════════
   AI SEO Intelligence Suite — Premium App Design System
   Tailwind BAĞIMSIZ — panel her zaman düzgün görünür
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --dash-bg: #eceef2;
  --dash-surface: #ffffff;
  --dash-surface-elevated: #ffffff;
  --dash-border: rgba(15, 23, 42, 0.07);
  --dash-text: #0b1220;
  --dash-muted: #64748b;
  --dash-blue: #6366f1;
  --dash-blue-dark: #4f46e5;
  --dash-violet: #7c3aed;
  --dash-sidebar: #06080f;
  --dash-sidebar-hover: rgba(255,255,255,0.07);
  --dash-sidebar-active: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #8b5cf6 100%);
  --dash-radius: 18px;
  --dash-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 32px rgba(15, 23, 42, 0.06);
  --dash-shadow-lg: 0 8px 40px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(15, 23, 42, 0.06);
  --dash-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --dash-glass: rgba(255, 255, 255, 0.82);
  --dash-glass-border: rgba(15, 23, 42, 0.07);
}

/* ── Shell ── */
.app-shell {
  font-family: var(--dash-font);
  background: var(--dash-bg);
  min-height: 100vh;
  color: var(--dash-text);
  -webkit-font-smoothing: antialiased;
  position: relative;
  display: flex;
}
.app-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 10% -5%, rgba(59,130,246,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(139,92,246,0.09) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(14,165,233,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.app-main-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  margin-left: 280px;
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.app-main {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  padding: 28px 40px 48px;
  width: 100%;
  max-width: 1320px;
}

/* ── Sidebar (Dark Premium) ── */
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 280px;
  background: var(--dash-sidebar);
  border-right: 1px solid rgba(255,255,255,0.06);
  z-index: 40;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.app-sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app-sidebar-brand a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.app-sidebar-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
  color: #fff;
}
.app-sidebar-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.3px;
}
.app-sidebar-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  margin-top: 2px;
}
.app-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.app-nav-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 8px 12px 6px;
  margin-top: 8px;
}
.app-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.app-nav-item:hover {
  background: var(--dash-sidebar-hover);
  color: rgba(255,255,255,0.9);
}
.app-nav-item.active {
  background: var(--dash-sidebar-active);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.app-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.7; }
.app-nav-item.active svg { opacity: 1; }
.app-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.app-sidebar .ui-btn-primary {
  width: 100%;
  height: 44px;
  font-size: 14px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(37,99,235,0.45);
}
.app-sidebar .ui-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.5);
}
.app-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 16px);
  margin: 0 8px 10px;
  height: 44px;
  text-decoration: none;
  border-radius: 12px;
}
.app-mobile-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--dash-sidebar);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.app-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 30;
}

/* ── Page header ── */
.app-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.app-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dash-blue);
  margin-bottom: 8px;
}
.app-page-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--dash-text);
  line-height: 1.1;
}
.app-page-desc {
  font-size: 15px;
  color: var(--dash-muted);
  margin-top: 6px;
}

/* ── Buttons ── */
.ui-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-blue-dark));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
  transition: all 0.2s;
  padding: 0 20px;
  height: 42px;
}
.ui-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37,99,235,0.45);
}
.ui-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.ui-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: var(--dash-surface);
  color: var(--dash-text);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--dash-border);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  padding: 0 18px;
  height: 40px;
}
.ui-btn-outline:hover { background: #f8fafc; border-color: #cbd5e1; }
.ui-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: transparent;
  color: var(--dash-muted);
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  transition: all 0.2s;
}
.ui-btn-ghost:hover { background: #f1f5f9; color: var(--dash-text); }

/* ── Cards ── */
.ui-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.ui-card:hover { box-shadow: var(--dash-shadow-lg); border-color: #cbd5e1; }
.card-premium {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
}

/* ── Dash panels ── */
.dash-panel {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  overflow: hidden;
}
.dash-panel + .dash-panel {
  margin-top: 0;
}
.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}
.dash-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dash-text);
  letter-spacing: -0.2px;
}
.dash-panel-sub { font-size: 12px; color: var(--dash-muted); margin-top: 2px; }
.dash-panel-body { padding: 24px; }

/* ── Hero banner ── */
.dash-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #1e3a5f 100%);
  padding: 32px 36px;
  margin-bottom: 28px;
}
.dash-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(59,130,246,0.25) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139,92,246,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.dash-hero-inner { position: relative; z-index: 1; }
.dash-hero h2 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.dash-hero p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.dash-hero-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
}
.dash-hero-input {
  flex: 1;
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}
.dash-hero-input::placeholder { color: rgba(255,255,255,0.35); }
.dash-hero-input:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}
.dash-hero-btn {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dash-blue);
  flex-shrink: 0;
  transition: transform 0.15s;
}
.dash-hero-btn:hover { transform: scale(1.05); }

/* ── Stat cards ── */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.dash-stat {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  padding: 22px 24px;
  box-shadow: var(--dash-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dash-stat:hover { transform: translateY(-2px); box-shadow: var(--dash-shadow-lg); }
.dash-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.dash-stat.blue::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.dash-stat.green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.dash-stat.violet::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.dash-stat.amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.dash-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.dash-stat-icon.blue { background: #eff6ff; color: #2563eb; }
.dash-stat-icon.green { background: #ecfdf5; color: #059669; }
.dash-stat-icon.violet { background: #f5f3ff; color: #7c3aed; }
.dash-stat-icon.amber { background: #fffbeb; color: #d97706; }
.dash-stat-value {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--dash-text);
  line-height: 1;
}
.dash-stat-label {
  font-size: 13px;
  color: var(--dash-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ── Grid layouts ── */
.dash-grid-3 { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: 20px; }
.dash-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.dash-grid-sidebar { display: grid; grid-template-columns: 1fr 3fr; gap: 20px; }
.dash-stack { display: flex; flex-direction: column; gap: 24px; width: 100%; }

/* ── List items ── */
.dash-list { display: flex; flex-direction: column; gap: 4px; }
.dash-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  gap: 12px;
}
.dash-list-item:hover { background: #f8fafc; }
.dash-list-item--highlight {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 10px;
}
.dash-list-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dash-blue);
  flex-shrink: 0;
}
.dash-list-info { min-width: 0; flex: 1; }
.dash-list-title { font-size: 14px; font-weight: 600; color: var(--dash-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-list-meta { font-size: 12px; color: var(--dash-muted); margin-top: 2px; }
.dash-score-pill {
  font-size: 16px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 10px;
  flex-shrink: 0;
}
.dash-score-pill.excellent { background: #ecfdf5; color: #059669; }
.dash-score-pill.good { background: #fffbeb; color: #d97706; }
.dash-score-pill.warning { background: #fff7ed; color: #ea580c; }
.dash-score-pill.critical { background: #fef2f2; color: #dc2626; }

/* ── Progress ring (checklist) ── */
.dash-progress-ring {
  text-align: center;
  padding: 8px 0;
}
.dash-progress-value {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--dash-blue), var(--dash-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.dash-progress-bar {
  height: 8px;
  border-radius: 100px;
  background: #f1f5f9;
  overflow: hidden;
  margin: 20px 0 16px;
}
.dash-progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--dash-blue), var(--dash-violet));
  transition: width 0.6s ease;
}

/* ── Empty state ── */
.dash-empty {
  text-align: center;
  padding: 48px 24px;
}
.dash-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #94a3b8;
}
.dash-empty p { font-size: 14px; color: var(--dash-muted); margin-bottom: 16px; }

/* ── Form ── */
.ui-input {
  height: 44px;
  width: 100%;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  font-size: 14px;
  color: var(--dash-text);
  background: var(--dash-surface);
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.ui-input:focus {
  border-color: var(--dash-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.ui-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}
.gradient-primary { background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%); }

/* ── Badges ── */
.ui-badge-success { display: inline-flex; align-items: center; gap: 4px; border-radius: 100px; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.ui-badge-warning { display: inline-flex; align-items: center; gap: 4px; border-radius: 100px; background: #fffbeb; color: #b45309; border: 1px solid #fde68a; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.ui-badge-danger { display: inline-flex; align-items: center; gap: 4px; border-radius: 100px; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.dash-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.dash-status.draft { background: #f1f5f9; color: #475569; }
.dash-status.sent { background: #eff6ff; color: #1d4ed8; }
.dash-status.viewed { background: #fffbeb; color: #b45309; }
.dash-status.approved { background: #ecfdf5; color: #047857; }
.dash-status.active { background: #ecfdf5; color: #047857; }
.dash-status.rejected { background: #fef2f2; color: #b91c1c; }

/* ── Score colors (Tailwind fallback) ── */
.text-seo-excellent { color: #22c55e; }
.text-seo-good { color: #eab308; }
.text-seo-warning { color: #f97316; }
.text-seo-critical { color: #ef4444; }

/* ── Analysis progress ── */
.dash-progress-steps { max-width: 480px; margin: 0 auto; }
.dash-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.dash-step.active { background: #eff6ff; border: 1px solid #bfdbfe; }
.dash-step.done { opacity: 0.45; }
.dash-step-label { font-size: 14px; font-weight: 600; color: #334155; }
.dash-step.active .dash-step-label { color: #1d4ed8; }
.dash-step-desc { font-size: 12px; color: #94a3b8; margin-top: 2px; }

/* ── Package selector ── */
.dash-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-package {
  padding: 20px;
  border-radius: 14px;
  border: 2px solid var(--dash-border);
  background: var(--dash-surface);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-package:hover { border-color: #bfdbfe; }
.dash-package.selected {
  border-color: var(--dash-blue);
  background: linear-gradient(180deg, #eff6ff 0%, #fff 60%);
  box-shadow: 0 4px 20px rgba(37,99,235,0.12);
}
.dash-package-name { font-size: 15px; font-weight: 700; color: var(--dash-text); }
.dash-package-price { font-size: 22px; font-weight: 800; color: var(--dash-blue); margin: 8px 0 4px; letter-spacing: -0.5px; }
.dash-package-desc { font-size: 12px; color: var(--dash-muted); }

/* ── Table ── */
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--dash-muted);
  border-bottom: 2px solid #f1f5f9;
}
.dash-table th:not(:first-child) { text-align: center; }
.dash-table td { padding: 14px 16px; border-bottom: 1px solid #f1f5f9; }
.dash-table td:not(:first-child) { text-align: center; }
.dash-table tr:hover td { background: #f8fafc; }
.dash-table tr.highlight td { background: #eff6ff; font-weight: 600; }

/* ── Animations ── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.4s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.45s ease-out forwards; }

/* ── Score gauge (Tailwind bağımsız) ── */
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gauge-ring { position: relative; flex-shrink: 0; }
.gauge-ring.sm { width: 96px; height: 96px; }
.gauge-ring.md { width: 128px; height: 128px; }
.gauge-ring.lg { width: 160px; height: 160px; }
.gauge-ring svg { width: 100%; height: 100%; display: block; transform: rotate(-90deg); }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge-score { font-weight: 800; line-height: 1; }
.gauge-score.sm { font-size: 20px; }
.gauge-score.md { font-size: 28px; }
.gauge-score.lg { font-size: 36px; }
.gauge-max { font-size: 10px; color: #94a3b8; font-weight: 500; margin-top: 2px; }
.gauge-label-wrap { text-align: center; }
.gauge-label { font-size: 14px; font-weight: 600; color: #1e293b; }
.gauge-sublabel { font-size: 12px; font-weight: 600; margin-top: 2px; }
.score-excellent { color: #10b981; }
.score-good { color: #f59e0b; }
.score-warning { color: #f97316; }
.score-critical { color: #ef4444; }
.score-bar { display: flex; flex-direction: column; gap: 8px; }
.score-bar-header { display: flex; justify-content: space-between; align-items: center; }
.score-bar-label { font-size: 14px; font-weight: 500; color: #334155; }
.score-bar-value { font-size: 14px; font-weight: 700; }
.score-bar-track { height: 10px; border-radius: 100px; background: #f1f5f9; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 100px; transition: width 0.7s ease; }

/* ── Analysis results ── */
.dash-score-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dash-score-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dash-tabs-wrap { display: flex; flex-direction: column; gap: 20px; }
.dash-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid var(--dash-border);
  border-radius: 14px;
}
.dash-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--dash-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.dash-tab:hover { color: var(--dash-text); background: rgba(255,255,255,0.7); }
.dash-tab.active {
  background: var(--dash-surface-elevated);
  color: var(--dash-blue);
  box-shadow: 0 1px 4px rgba(26,34,52,0.08), inset 0 1px 0 rgba(255,255,255,0.45);
}
.dash-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.dash-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}
.dash-detail-row:last-child { border-bottom: none; }
.dash-detail-label { font-size: 13px; color: var(--dash-muted); flex-shrink: 0; }
.dash-detail-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--dash-text);
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 100px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 600;
}
.dash-alert {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #fde68a;
  background: #fffbeb;
}
.dash-alert-title { font-size: 13px; font-weight: 700; color: #b45309; margin-bottom: 8px; }
.dash-alert-list { margin: 0; padding-left: 18px; font-size: 13px; color: #92400e; }
.dash-alert-list li { margin-bottom: 4px; }
.dash-action-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
  overflow: hidden;
}
.dash-action-card .priority-bar { height: 4px; }
.dash-action-card .priority-bar.critical { background: #ef4444; }
.dash-action-card .priority-bar.important { background: #f59e0b; }
.dash-action-card .priority-bar.medium { background: #3b82f6; }
.dash-action-card .priority-bar.low { background: #94a3b8; }
.dash-action-body { padding: 16px 20px 20px; }
.dash-action-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.dash-action-emoji { font-size: 20px; line-height: 1; }
.dash-action-title { font-size: 15px; font-weight: 700; color: var(--dash-text); }
.dash-action-meta { font-size: 11px; color: var(--dash-muted); margin-top: 4px; }
.dash-action-desc { font-size: 13px; color: #475569; line-height: 1.6; margin-bottom: 12px; }
.dash-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-action-box {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.dash-action-box strong { color: var(--dash-text); display: block; margin-bottom: 4px; }
.dash-ai-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--dash-surface);
  border: 1px solid var(--dash-border);
  border-radius: var(--dash-radius);
  box-shadow: var(--dash-shadow);
}
.dash-ai-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--dash-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-ai-title { font-size: 14px; font-weight: 700; color: var(--dash-text); }
.dash-ai-desc { font-size: 12px; color: var(--dash-muted); margin-top: 6px; line-height: 1.6; }
.dash-summary-text { font-size: 14px; color: #475569; line-height: 1.7; }
.dash-summary-text strong { color: var(--dash-text); }

/* ═══════════════════════════════════════════════════════
   Premium Plus — üst düzey UI katmanı
   ═══════════════════════════════════════════════════════ */

.app-sidebar--plus {
  background: linear-gradient(180deg, #070d1a 0%, #0a1020 55%, #0c1328 100%);
  box-shadow: 4px 0 40px rgba(0,0,0,0.18);
}
.app-sidebar--plus::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(96,165,250,0.35), transparent 40%, rgba(139,92,246,0.2));
  pointer-events: none;
}
.app-sidebar-logo--glow {
  box-shadow: 0 8px 28px rgba(59,130,246,0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.app-sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 8px 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.app-sidebar-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.app-sidebar-user-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  line-height: 1.2;
}
.app-sidebar-user-email {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(226,232,240,0.75);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
  flex-shrink: 0;
}
.app-topbar-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}
.app-topbar-title {
  display: none;
}
.app-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.app-topbar-role {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff);
  color: #4338ca;
  border: 1px solid #e0e7ff;
}
.app-topbar-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--dash-border);
  background: #fff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.app-topbar-icon:hover {
  border-color: #bfdbfe;
  color: var(--dash-blue);
  box-shadow: 0 4px 14px rgba(37,99,235,0.1);
}
.app-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 14px;
  border: 1px solid var(--dash-border);
  background: #fff;
}
.app-topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-topbar-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.app-topbar-user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--dash-text);
}
.app-topbar-user-email {
  font-size: 11px;
  color: var(--dash-muted);
}

.app-page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 100px;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  border: 1px solid #dbeafe;
}
.app-page-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dash-panel.pp-panel-glass,
.pp-panel-glass {
  background: var(--dash-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--dash-glass-border);
  box-shadow: var(--dash-shadow-lg);
}
.dash-stat {
  border: 1px solid rgba(255,255,255,0.8);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.dash-stat::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 100% 0%, rgba(59,130,246,0.06), transparent 55%);
  pointer-events: none;
}
.dash-hero {
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(15,23,42,0.28);
  padding: 36px 40px;
}
.dash-hero h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.pp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pp-info-card {
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--dash-border);
  box-shadow: var(--dash-shadow);
}
.pp-info-card strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--dash-text);
  margin-bottom: 6px;
}
.pp-info-card p {
  font-size: 12px;
  color: var(--dash-muted);
  line-height: 1.5;
  margin: 0;
}
.pp-list-item {
  border: 1px solid transparent;
  transition: all 0.2s;
}
.pp-list-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.pp-member-avatar {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  color: #4338ca;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pp-role-select {
  width: 140px !important;
  height: 38px !important;
  flex-shrink: 0;
}
.ui-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #4f46e5 55%, #7c3aed 100%);
  box-shadow: 0 8px 24px rgba(59,130,246,0.32);
}
.dash-form-grid {
  grid-template-columns: 1fr 1fr;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-3, .dash-grid-2, .dash-grid-sidebar { grid-template-columns: 1fr; }
  .dash-packages { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .app-sidebar { transform: translateX(-100%); }
  .app-sidebar.open { transform: translateX(0); }
  .app-main-wrap { margin-left: 0; }
  .app-main { padding: 80px 16px 32px; width: 100%; max-width: 100%; }
  .app-topbar { padding: 14px 16px; flex-wrap: wrap; }
  .app-topbar-user-meta { display: none; }
  .app-topbar-role { display: none; }
  .app-mobile-toggle { display: flex; }
  .app-overlay.open { display: block; }
  .pp-info-grid { grid-template-columns: 1fr; }
  .dash-form-grid { grid-template-columns: 1fr !important; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-hero { padding: 24px 20px; }
  .dash-hero-form { flex-direction: column; }
  .dash-hero-btn { width: 100%; height: 48px; }
  .app-page-title { font-size: 24px; }
  .app-page-header { flex-direction: column; align-items: flex-start; }
  .dash-panel-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dash-list-item { flex-wrap: wrap; }
  .dash-score-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dash-action-grid { grid-template-columns: 1fr; }
  .dash-tab { padding: 8px 10px; font-size: 12px; }
  .dash-grid-3, .dash-grid-2, .dash-grid-sidebar { grid-template-columns: 1fr; }
  .dash-packages { grid-template-columns: 1fr; }
  .lp-nav-inner { padding: 0 16px; }
  .lp-nav-actions .lp-btn-ghost { display: none; }
}

/* SEO Studio — izleme, keyword, sıralama */
.seo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.seo-table th { text-align: left; padding: 10px 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; border-bottom: 1px solid #e2e8f0; }
.seo-table td { padding: 12px; border-bottom: 1px solid #f1f5f9; }
.seo-site-card {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--dash-border);
  background: linear-gradient(180deg, var(--dash-surface-elevated) 0%, var(--dash-surface) 100%);
  cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.seo-site-card:hover, .seo-site-card.active { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.dash-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash-stat-card {
  padding: 20px; border-radius: 16px; border: 1px solid var(--dash-border);
  background: linear-gradient(180deg, var(--dash-surface-elevated) 0%, var(--dash-surface) 100%);
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.dash-stat-card.blue { border-left: 4px solid #3b82f6; }
.dash-stat-card.green { border-left: 4px solid #10b981; }
.dash-stat-card.violet { border-left: 4px solid #7c3aed; }
.dash-stat-value { font-size: 28px; font-weight: 800; line-height: 1; }
.dash-stat-label { font-size: 12px; color: #94a3b8; }
.dash-badge { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #f1f5f9; color: #64748b; }
.dash-badge.alert { background: #fef2f2; color: #ef4444; }
.seo-difficulty { font-weight: 700; padding: 2px 8px; border-radius: 6px; font-size: 12px; }
.seo-difficulty.low { background: #ecfdf5; color: #059669; }
.seo-difficulty.mid { background: #fffbeb; color: #d97706; }
.seo-difficulty.high { background: #fef2f2; color: #dc2626; }
.seo-rank { font-weight: 800; font-size: 16px; }
.seo-rank.top { color: #059669; }
.seo-issue-list { margin: 0; padding-left: 20px; font-size: 14px; color: #475569; line-height: 1.8; }
.seo-alert-item {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--dash-border);
  background: linear-gradient(180deg, var(--dash-surface-elevated) 0%, var(--dash-surface) 100%);
}
.seo-alert-item:not(.read) { border-left: 4px solid #7c3aed; background: #faf5ff; }
.seo-alert-item.severity-high:not(.read) { border-left-color: #ef4444; background: #fef2f2; }
.seo-checklist-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--dash-border);
  background: var(--dash-surface);
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
  box-shadow: var(--dash-shadow-sm);
}
.seo-checklist-item:not(.readonly):hover { background: #fafbfc; border-color: rgba(99, 102, 241, 0.22); }
.seo-checklist-item.readonly { cursor: default; }
.seo-checklist-item.status-completed { opacity: 0.85; }
.seo-checklist-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: #cbd5e1;
}
.seo-checklist-dot.status-in_progress { background: #f59e0b; }
.seo-checklist-dot.status-completed { background: #10b981; }
.dash-panel--error { border-color: #fecaca; background: #fffbfb; }
.ui-btn-secondary {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px;
  border-radius: 10px; border: 1px solid var(--dash-border); background: rgba(236, 240, 247, 0.65);
  font-size: 13px; font-weight: 600; cursor: pointer; color: var(--dash-text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.ui-btn-secondary:hover { background: #dfe6f0; }
@media (max-width: 768px) {
  .dash-stat-grid { grid-template-columns: 1fr; }
}

/* Workspace & report template layouts */
.workspace-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 16px;
  align-items: start;
}
.workspace-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  color: inherit;
}
.workspace-list-item:hover,
.workspace-list-item.active {
  background: rgba(99, 102, 241, 0.08);
}
.workspace-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 0 !important;
}
.workspace-column {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 360px;
}
.workspace-column-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workspace-column-count {
  background: #e2e8f0;
  color: #475569;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
}
.workspace-add-task {
  display: flex;
  gap: 6px;
}
.workspace-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.workspace-add-btn:hover { background: #f1f5f9; }
.workspace-task-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
}
.workspace-task-card__top {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.workspace-task-title {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.workspace-task-delete {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #94a3b8;
  padding: 2px;
}
.workspace-task-delete:hover { color: #ef4444; }
.workspace-task-meta {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.workspace-priority-select,
.workspace-move-select {
  flex: 1;
  font-size: 11px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.report-templates-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 16px;
  align-items: start;
}
.report-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.report-module-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}
.report-module-card.checked {
  border-color: #818cf8;
  background: rgba(99, 102, 241, 0.06);
}
.report-module-card input { margin-top: 3px; }
@media (max-width: 1100px) {
  .workspace-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .workspace-layout,
  .report-templates-layout {
    grid-template-columns: 1fr;
  }
  .workspace-board { grid-template-columns: 1fr; }
}

/* SEO Audit engine UI */
.audit-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.audit-summary-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.audit-summary-value {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}
.audit-summary-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.audit-summary-card--health .audit-summary-value { color: #6366f1; }
.audit-summary-card--critical .audit-summary-value { color: #ef4444; }
.audit-summary-card--warning .audit-summary-value { color: #f59e0b; }
.audit-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  align-items: center;
}
.audit-filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
}
.audit-filter-btn.active {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}
.audit-category-select {
  font-size: 13px;
  min-width: 180px;
  margin-left: auto;
}
.audit-issue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.audit-issue-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.audit-issue-header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.audit-issue-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.audit-sev-critical .audit-issue-badge { background: #fef2f2; color: #dc2626; }
.audit-sev-warning .audit-issue-badge { background: #fffbeb; color: #d97706; }
.audit-sev-notice .audit-issue-badge { background: #f0f9ff; color: #0284c7; }
.audit-sev-info .audit-issue-badge { background: #f8fafc; color: #64748b; }
.audit-issue-title {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.audit-issue-rule {
  font-size: 11px;
  color: #94a3b8;
  font-family: monospace;
}
.audit-issue-body {
  padding: 0 16px 16px;
  font-size: 13px;
  line-height: 1.65;
  color: #334155;
  border-top: 1px solid #f1f5f9;
}
.audit-issue-section { margin-top: 12px; }
.audit-issue-section strong {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}
.audit-issue-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
  color: #64748b;
}
.audit-issue-urls { margin-top: 12px; }
.audit-issue-urls ul {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 12px;
}
.audit-issue-urls a {
  color: #6366f1;
  word-break: break-all;
}
.audit-tab-badge {
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: 4px;
}
@media (max-width: 900px) {
  .audit-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
