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

:root {
  --bg: #f0f2f5;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --phase-0: #6b7280;
  --phase-1: #3b82f6;
  --phase-2: #6366f1;
  --phase-3: #8b5cf6;
  --phase-4: #f59e0b;
  --phase-5: #10b981;
  --phase-6: #34d399;
  --phase-7: #14b8a6;
  --phase-8: #f59e0b;
  --phase-fin: #ec4899;
  --pass: #10b981;
  --fail: #ef4444;
  --unknown: #9ca3af;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Header */
header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

header h1 {
  font-size: 24px;
  font-weight: 700;
}

header .subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.back-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  margin-right: 16px;
}

.back-link:hover { color: white; }

#component-badges {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* Help Button & Modal */
.help-btn {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.help-btn:hover {
  border-color: white;
  color: white;
}

.help-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.help-modal.active {
  display: flex;
}

.help-content {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 32px;
  max-width: 700px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.help-content h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.help-content h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 20px 0 8px;
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.help-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.help-table td:first-child {
  width: 160px;
  white-space: nowrap;
}

.help-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.help-close:hover {
  background: var(--bg);
  color: var(--text);
}

/* Main */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px;
}

/* Pipeline Overview */
#pipeline-overview {
  margin-bottom: 32px;
}

#pipeline-overview h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

#pipeline-bar {
  display: flex;
  gap: 4px;
  border-radius: 12px;
  overflow: hidden;
  height: 72px;
  margin-bottom: 16px;
}

.pipeline-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  min-width: 60px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.pipeline-segment:hover {
  opacity: 0.85;
  transform: scaleY(1.05);
}

.pipeline-segment .count {
  font-size: 22px;
  font-weight: 700;
}

.pipeline-segment .label {
  font-size: 11px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#summary-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  min-width: 140px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
}

.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Filters */
#filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

#filters input, #filters select {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--card-bg);
  color: var(--text);
  outline: none;
}

#filters input {
  flex: 1;
  min-width: 200px;
}

#filters input:focus, #filters select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

/* Component Grid */
#component-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.component-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid transparent;
}

.component-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--border);
}

.component-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.component-card .card-name {
  font-size: 16px;
  font-weight: 600;
}

.component-card .card-description {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#component-list.list-view .card-description {
  flex: 2;
  min-width: 0;
  -webkit-line-clamp: 1;
}

.component-card .card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.component-card .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

.component-card .card-icons {
  display: flex;
  gap: 4px;
}

.card-icons .icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.4;
}

.card-icons .icon-dot.active { opacity: 1; }

/* View Toggle */
#view-toggle {
  display: flex;
  gap: 4px;
}

.view-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn.active {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
}

/* List View */
#component-list.list-view {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#component-list.list-view .component-card {
  flex-direction: row;
  align-items: center;
  padding: 12px 20px;
  border-radius: 8px;
  gap: 16px;
}

#component-list.list-view .card-header {
  flex: 1;
  min-width: 0;
}

#component-list.list-view .card-name {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#component-list.list-view .card-meta {
  flex-shrink: 0;
}

#component-list.list-view .card-footer {
  flex-shrink: 0;
  margin-top: 0;
  min-width: 140px;
  justify-content: flex-end;
}

/* Remaining Steps */
.card-remaining {
  font-size: 12px;
  color: var(--text-muted);
}

.next-step {
  background: #dbeafe;
  color: #1e40af;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.remaining-path {
  display: none;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.steps-done {
  background: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

#component-list.list-view .card-remaining {
  flex-shrink: 0;
  min-width: 200px;
  text-align: right;
}

#component-list.list-view .remaining-path {
  display: block;
}

/* Grid view: show path on hover */
.component-card:hover .remaining-path {
  display: block;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-phase { color: white; }
.badge-phase-0 { background: var(--phase-0); }
.badge-phase-1 { background: var(--phase-1); }
.badge-phase-2 { background: var(--phase-2); }
.badge-phase-3 { background: var(--phase-3); }
.badge-phase-4 { background: var(--phase-4); }
.badge-phase-5 { background: var(--phase-5); }
.badge-phase-6 { background: var(--phase-6); }
.badge-phase-7 { background: var(--phase-7); }
.badge-phase-8 { background: var(--phase-8); }
.badge-phase-fin { background: var(--phase-fin); }
.badge-phase--1 { background: var(--phase-0); }

.badge-pass { background: #d1fae5; color: #065f46; }
.badge-fail { background: #fee2e2; color: #991b1b; }
.badge-unknown { background: #f3f4f6; color: #6b7280; }

.badge-location {
  background: #ede9fe;
  color: #5b21b6;
}

/* Detail Page */
#detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Tabs */
#tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab {
  padding: 12px 20px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s;
}

.tab:hover { color: var(--text); }
.tab.active {
  color: #6366f1;
  border-bottom-color: #6366f1;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Overview Tab */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}

.timeline-item.pass::before { background: var(--pass); }
.timeline-item.fail::before { background: var(--fail); }
.timeline-item.unknown::before { background: var(--unknown); }

.timeline-item .phase-name {
  font-weight: 600;
  font-size: 14px;
}

.timeline-item .phase-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Files checklist */
.files-checklist {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.file-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.file-check .check { color: var(--pass); }
.file-check .cross { color: var(--fail); }

/* Manifest Props Table */
.props-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.props-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f9fafb;
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.props-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.props-table tr:hover td { background: #f9fafb; }

.props-table .prop-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  background: #ede9fe;
  color: #5b21b6;
}

.raw-json-toggle {
  margin-top: 16px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
}

.raw-json {
  margin-top: 12px;
  padding: 16px;
  background: #1a1a2e;
  color: #e2e8f0;
  border-radius: 8px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 13px;
  overflow-x: auto;
  white-space: pre;
  display: none;
}

.raw-json.visible { display: block; }

/* Markdown Content */
.markdown-content h1 { font-size: 22px; margin: 24px 0 12px; }
.markdown-content h2 { font-size: 18px; margin: 20px 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.markdown-content h3 { font-size: 15px; margin: 16px 0 8px; }
.markdown-content p { margin: 8px 0; }
.markdown-content ul, .markdown-content ol { padding-left: 24px; margin: 8px 0; }
.markdown-content li { margin: 4px 0; }
.markdown-content code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 13px;
}
.markdown-content pre {
  background: #1a1a2e;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 12px 0;
}
.markdown-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 14px;
}
.markdown-content th, .markdown-content td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
}
.markdown-content th {
  background: #f9fafb;
  font-weight: 600;
}
.markdown-content strong { font-weight: 600; }
.markdown-content hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* Screenshots */
.screenshot-group {
  margin-bottom: 24px;
}

.screenshot-group h3 {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.screenshot-thumb {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s;
}

.screenshot-thumb:hover { transform: scale(1.02); }

.screenshot-thumb img {
  width: 100%;
  display: block;
}

.screenshot-thumb .filename {
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-muted);
  background: #f9fafb;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
}

/* ========================================
   Adalo Help Docs Style — Documentation Tab
   Matches help.adalo.com: clean, white cards,
   casual-instructional, quick-start feel
   ======================================== */

.adalo-docs {
  max-width: 780px;
}

/* Breadcrumb header */
.adalo-help-header {
  margin-bottom: 20px;
}

.adalo-help-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.adalo-help-crumb {
  font-size: 13px;
  font-weight: 500;
  color: #6366f1;
}

.adalo-help-crumb-sep {
  font-size: 12px;
  color: var(--text-muted);
}

.adalo-help-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.adalo-help-download {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: #4f46e5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.adalo-help-download:hover {
  background: #3730a3;
}

/* Intro card — the description blurb */
.adalo-help-intro {
  border-left: 4px solid #6366f1;
}

.adalo-help-intro p {
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
  margin: 0;
}

/* Table of contents — "On this page" */
.adalo-help-toc {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.adalo-help-toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.adalo-help-toc-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #4f46e5;
  text-decoration: none;
  padding: 5px 0;
  cursor: pointer;
  transition: color 0.15s;
  border-bottom: 1px solid transparent;
}

.adalo-help-toc-link:hover {
  color: #3730a3;
}

.adalo-help-toc-link + .adalo-help-toc-link {
  border-top: 1px solid #f3f4f6;
}

/* Section cards */
.adalo-help-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 16px;
  scroll-margin-top: 24px;
}

.adalo-help-card h2.adalo-help-card-header {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
  padding: 0;
  border: none;
}

/* Collapsible card header */
.adalo-help-card-header.adalo-help-collapsible {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin: 0 0 0;
  user-select: none;
}

.adalo-help-card-header.adalo-help-collapsible h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  padding: 0;
  border: none;
}

.adalo-help-chevron {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.adalo-help-card-body {
  /* open state */
}

.adalo-help-card-body.collapsed {
  display: none;
}

.adalo-help-collapsible + .adalo-help-card-body:not(.collapsed) {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Doc body — casual, clean typography (help.adalo.com) */
.adalo-docs-body h1 {
  display: none; /* hidden — title already in page header */
}

.adalo-docs-body h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f3f4f6;
  color: var(--text);
}

/* Inside cards, h2 is the card title — hide duplicate */
.adalo-help-card .adalo-docs-body h2:first-child {
  display: none;
}

.adalo-docs-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0 8px;
  color: #374151;
}

.adalo-docs-body h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 16px 0 6px;
  color: #4b5563;
}

.adalo-docs-body p {
  font-size: 14px;
  line-height: 1.75;
  margin: 8px 0;
  color: #374151;
}

.adalo-docs-body ul,
.adalo-docs-body ol {
  padding-left: 22px;
  margin: 10px 0;
}

.adalo-docs-body li {
  font-size: 14px;
  line-height: 1.75;
  margin: 5px 0;
  color: #374151;
}

.adalo-docs-body strong {
  font-weight: 600;
  color: var(--text);
}

/* Tables — clean Adalo help style */
.adalo-docs-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0;
  font-size: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.adalo-docs-body th {
  text-align: left;
  padding: 10px 14px;
  background: #f8fafc;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  border-bottom: 2px solid #e5e7eb;
}

.adalo-docs-body td {
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  line-height: 1.6;
  color: #374151;
}

.adalo-docs-body tr:last-child td {
  border-bottom: none;
}

.adalo-docs-body tr:hover td {
  background: #fafbfc;
}

.adalo-docs-body code {
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px;
  color: #6d28d9;
}

.adalo-docs-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 12px 0;
}

.adalo-docs-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.adalo-docs-body hr {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 24px 0;
}

/* Callout boxes — help.adalo.com disclaimer style */
.adalo-callout {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.65;
  margin: 16px 0;
  border-left: 4px solid;
}

.adalo-callout strong {
  font-weight: 700;
}

.adalo-callout-note {
  background: #eff6ff;
  border-left-color: #3b82f6;
  color: #1e40af;
}

.adalo-callout-warning {
  background: #fef3c7;
  border-left-color: #f59e0b;
  color: #92400e;
}

.adalo-callout-tip {
  background: #ecfdf5;
  border-left-color: #10b981;
  color: #065f46;
}

/* Hero preview image — like help.adalo.com's GIF */
.adalo-help-hero {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.adalo-help-hero:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.adalo-help-hero img {
  width: 100%;
  display: block;
}

.adalo-help-hero-caption {
  padding: 8px 14px;
  background: #f9fafb;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Inline section screenshots */
.adalo-help-screenshots {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.adalo-help-screenshots-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.adalo-help-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.adalo-help-thumb {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.adalo-help-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.adalo-help-thumb img {
  width: 100%;
  display: block;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

.empty-state .icon { font-size: 48px; margin-bottom: 12px; }

/* Loading */
.loading {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
  font-size: 16px;
}
