/* DPES v1.3 T2.3 Standard Typography & UX Design Tokens (v1.1.0 Rich SEO & CTA Edition) */
:root {
  --font-family-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-family-heading: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-family-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  --font-size-body: 1rem; /* 16px */
  --line-height-body: 1.65;

  /* WCAG 2.2 AA High-Contrast Palette */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-accent-soft: #eef2ff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-on-dark: #f8fafc;

  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-secondary: #0f766e;
  --whatsapp-green: #16a34a;
  --whatsapp-green-hover: #15803d;

  --status-pass-bg: #dcfce7;
  --status-pass-text: #166534;
  --status-pass-border: #86efac;

  --status-warn-bg: #fef3c7;
  --status-warn-text: #92400e;
  --status-warn-border: #fcd34d;

  --status-sim-bg: #e0e7ff;
  --status-sim-text: #1e40af;

  --border-color: #cbd5e1;
  --border-subtle: #e2e8f0;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-body);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-family-heading);
  color: var(--text-primary);
  margin-top: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.3;
}

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
  max-width: 72ch;
}

a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-primary-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 2px;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Header & Navigation */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding: var(--space-2) 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-badge {
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-primary);
  background: var(--bg-accent-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-green-hover);
  color: #ffffff;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  min-height: 34px;
}

/* Rich Editor Toolbar */
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  min-height: 32px;
}

.toolbar-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.tb-heading {
  background: #eef2ff;
  color: #3730a3;
  border-color: #a5b4fc;
}

.tb-format {
  background: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}

.tb-image {
  background: #f3e8ff;
  color: #6b21a8;
  border-color: #d8b4fe;
}

.tb-link {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #7dd3fc;
}

.tb-whatsapp {
  background: #dcfce7;
  color: #15803d;
  border-color: #4ade80;
}

.tb-spintax {
  background: #ffe4e6;
  color: #be123c;
  border-color: #fda4af;
}

.tb-geo {
  background: #ccfbf1;
  color: #0f766e;
  border-color: #5eead4;
}

.toolbar-divider {
  width: 1px;
  background: var(--border-color);
  margin: 2px 4px;
}

/* Badges & Status Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.badge-pass {
  background: var(--status-pass-bg);
  color: var(--status-pass-text);
  border: 1px solid var(--status-pass-border);
}

.badge-warn {
  background: var(--status-warn-bg);
  color: var(--status-warn-text);
  border: 1px solid var(--status-warn-border);
}

.badge-sim {
  background: var(--status-sim-bg);
  color: var(--status-sim-text);
}

/* Cards & Grid */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.studio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

.sidebar-resizer {
  display: none;
}

.sidebar-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.studio-layout.sidebar-collapsed {
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.studio-layout.sidebar-collapsed > aside.card {
  display: none !important;
}

.studio-layout.sidebar-collapsed > .sidebar-resizer {
  display: none !important;
}

@media (min-width: 860px) {
  .studio-layout {
    grid-template-columns: var(--sidebar-width, 410px) 10px 1fr;
    gap: 0 6px;
    align-items: start;
  }
  .studio-layout.sidebar-collapsed {
    grid-template-columns: 0px 0px 1fr !important;
    gap: 0;
  }
  .studio-layout > aside.card {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .sidebar-resizer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: calc(100vh - 120px);
    position: sticky;
    top: 90px;
    cursor: col-resize;
    border-radius: 6px;
    background: transparent;
    transition: background-color 0.15s ease;
    user-select: none;
  }
  .sidebar-resizer::after {
    content: '';
    width: 3px;
    height: 48px;
    border-radius: 999px;
    background: var(--border-color);
  }
  .sidebar-resizer:hover,
  .sidebar-resizer.is-dragging {
    background: #dbeafe;
  }
  .sidebar-resizer:hover::after,
  .sidebar-resizer.is-dragging::after {
    background: var(--brand-primary);
  }
  .studio-layout > .studio-main-pane,
  .studio-layout > div {
    min-width: 0;
  }
}

/* Forms */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.form-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.95rem;
}

textarea.form-control {
  font-family: var(--font-family-mono);
  font-size: 0.88rem;
  line-height: 1.55;
  resize: vertical;
}

.kecamatan-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.88rem;
  cursor: pointer;
  user-select: none;
}

.chip-checkbox input:checked + span {
  font-weight: 700;
  color: var(--brand-primary);
}

.seo-toggles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}

/* Metrics Bar */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 4px;
}

/* Google SERP Snippet Preview */
.serp-preview-box {
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 1rem;
  font-family: Arial, sans-serif;
}

.serp-site-crumb {
  font-size: 0.82rem;
  color: #202124;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.serp-title {
  font-size: 1.15rem;
  color: #1a0dab;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 4px;
  text-decoration: none;
  display: block;
}

.serp-title:hover {
  text-decoration: underline;
}

.serp-desc {
  font-size: 0.88rem;
  color: #4d5156;
  line-height: 1.5;
  margin: 0;
}

/* Article Result Cards & Rendered HTML View */
.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  overflow: hidden;
}

.article-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.article-card-body {
  padding: var(--space-6);
}

.article-rendered-view {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  max-height: 520px;
  overflow-y: auto;
}

.article-rendered-view h1 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.article-rendered-view h2 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.article-rendered-view h3 {
  font-size: 1.1rem;
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  color: #334155;
}

.article-rendered-view u {
  text-decoration: underline;
  text-decoration-color: #2563eb;
  text-underline-offset: 3px;
  background: #eff6ff;
  padding: 0 3px;
}

.seo-article-figure {
  margin: 1.25rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.seo-article-figure img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.seo-article-figure figcaption {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

.article-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.article-images-grid .seo-article-figure {
  margin: 0;
}

.project-switcher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #0f172a;
  color: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.capacity-advisor-card {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.capacity-advisor-card.warn {
  background: #fef3c7;
  border-color: #fcd34d;
}

.image-thumbs-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 0;
  margin-top: 6px;
}

.image-thumb-item {
  position: relative;
  flex: 0 0 60px;
  height: 46px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #e2e8f0;
}

.image-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-thumb-item span {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 0.65rem;
  padding: 1px 4px;
}

/* Bulk Action Bar & Minimized Article Cards */
.bulk-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.article-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--bg-dark);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.article-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-primary);
}

.article-card.is-minimized .article-card-body {
  display: none;
}

.article-card.is-minimized .article-card-header {
  border-bottom: none;
  background: #ffffff;
}

.article-card.is-minimized .article-card-header:hover {
  background: #f8fafc;
}

.wa-cta-top {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #f0fdf4;
  border: 1px dashed #4ade80;
}

/* Pop-Up Wide Editor Modal & Hover-Expandable Card */
.editor-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(2px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.editor-modal-backdrop.is-open {
  display: flex;
}

.editor-modal-dialog {
  width: min(94vw, 1140px);
  max-height: 90vh;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.editor-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.editor-modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.editor-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.25rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
}

.hover-popup-shell {
  position: relative;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.hover-popup-shell:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
}

.hover-popup-hint {
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.hover-popup-shell:hover .hover-popup-hint {
  opacity: 1;
}

.btn-scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  background: var(--bg-dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
  cursor: pointer;
}

.btn-scroll-top:hover {
  background: var(--brand-primary);
}

.guide-step-box {
  background: var(--bg-subtle);
  border-left: 4px solid var(--brand-primary);
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

/* Color-Coded Live Syntax Highlighting Editor */
.code-legend-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 10px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-top: none;
  font-size: 0.75rem;
  font-weight: 600;
}

.legend-chip {
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.code-editor-wrap {
  position: relative;
  width: 100%;
  min-height: 240px;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.code-highlight-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-family-mono);
  font-size: 0.88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-y: auto;
  pointer-events: none;
  color: #0f172a;
}

.code-textarea-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 240px;
  border: none !important;
  background: #ffffff;
  color: #0f172a;
  caret-color: #0f172a;
  padding: 0.65rem 0.85rem !important;
  font-family: var(--font-family-mono) !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  resize: vertical;
  outline: none;
}

.code-editor-wrap.is-hl-active .code-textarea-overlay {
  background: transparent !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

.code-textarea-overlay::selection {
  background: rgba(37, 99, 235, 0.22);
  color: transparent;
}

.hl-wa { background: #dcfce7; color: #166534; border-radius: 3px; font-weight: 600; }
.hl-link { background: #e0f2fe; color: #0369a1; border-radius: 3px; font-weight: 600; }
.hl-img { background: #f3e8ff; color: #6b21a8; border-radius: 3px; font-weight: 600; }
.hl-geo { background: #ccfbf1; color: #0f766e; border-radius: 3px; font-weight: 700; }
.hl-heading { background: #eef2ff; color: #3730a3; border-radius: 3px; font-weight: 700; }
.hl-fmt { background: #fef3c7; color: #92400e; border-radius: 3px; font-weight: 600; }
.hl-spin { background: #ffe4e6; color: #be123c; border-radius: 3px; font-weight: 700; }

.wa-cta-box {
  margin-top: 1.25rem;
  padding: 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  text-align: center;
}

.wa-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp-green);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

.wa-cta-button:hover {
  background: var(--whatsapp-green-hover);
}

.article-source-code {
  white-space: pre-wrap;
  font-family: var(--font-family-mono);
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  font-size: 0.84rem;
  line-height: 1.6;
  max-height: 420px;
  overflow-y: auto;
}

.seo-signals-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}

.signal-pill {
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-weight: 600;
}

/* Notice Banner */
.notice-banner {
  background: var(--bg-accent-soft);
  border-left: 4px solid var(--brand-primary);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-6);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--space-12);
  padding: var(--space-8) 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
