:root {
  --tool-bg: transparent;
  --tool-bg-alt: #ffffff;
  --tool-surface: transparent;
  --tool-soft: rgba(0, 0, 0, 0.04);
  --tool-soft-strong: rgba(0, 0, 0, 0.08);
  --tool-border: rgba(0, 0, 0, 0.08);
  --tool-border-strong: rgba(0, 0, 0, 0.2);
  --tool-muted: rgba(0, 0, 0, 0.65);
  --tool-shadow: none;
  --panel: #ffffff;
  --panel-border: rgba(0, 0, 0, 0.08);
  --app-primary: #000000;
  --app-primary-strong: #000000;
  --app-text: #000000;
  --app-text-muted: rgba(0, 0, 0, 0.6);
  --tool-sidebar-width: clamp(230px, 26vw, 270px);
}

@media (max-width: 960px) {
  :root {
    --tool-sidebar-width: 220px;
  }
}

@media (max-width: 640px) {
  :root {
    --tool-sidebar-width: min(80vw, 240px);
  }
}

body.app-body {
  background: var(--tool-bg);
  color: var(--app-text, #000000);
}

.tool-layout {
  position: relative;
  padding-left: 0 !important;
  background: transparent;
}

.tool-layout main {
  margin-left: 0 !important;
  max-width: 1360px;
  margin: 0 auto !important;
}

.tool-layout .main-content {
  padding: 4px 10px 12px !important;
}

.tool-chrome {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.tool-heading {
  margin: 0 auto 2px !important;
  padding: 0 10px 1px !important;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  text-align: center;
}

.tool-heading-left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.tool-heading-copy .tool-breadcrumb {
  margin: 0 0 6px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--tool-muted);
}

.tool-heading-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 1.2rem + 1.6vw, 3rem);
  color: var(--app-primary-strong);
}

.tool-heading-copy small {
  color: var(--tool-muted);
}

.demo-label {
  background: #000000;
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
}

@media (max-width: 640px) {
  .tool-heading {
    padding: 16px 20px !important;
  }
}

.tool-layout aside.sidebar {
  width: var(--tool-sidebar-width);
  transform: translateX(-110%);
  transition: transform 0.35s ease;
  z-index: 240;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  background: #ffffff;
}

/* Shared table empty state */


.ls-table-wrapper {
  position: relative;
}

.ls-table-wrapper table {
  width: 100%;
}

.ls-table-empty-body {
  pointer-events: none;
}

.ls-table-empty-row td {
  position: sticky;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem;
  border: none;
  background: transparent;
  z-index: 2;
}

.ls-table-empty {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 55px rgba(10, 15, 35, 0.18);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.25rem 1.75rem;
}

.ls-table-empty.is-hidden {
  display: none;
}

.ls-table-empty-icon {
  font-size: 3rem;
  color: var(--app-primary-strong);
  opacity: 0.8;
}

.ls-table-empty-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--app-primary-strong);
  margin: 0;
}

.ls-table-empty-text {
  margin: 0;
  max-width: 420px;
  color: var(--tool-muted);
  line-height: 1.5;
}

.tool-layout.sidebar-open aside.sidebar {
  transform: translateX(0);
}

.tool-layout .sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.tool-layout.sidebar-open .sidebar-overlay {
  opacity: 0.5;
  pointer-events: auto;
}

.tool-layout.sidebar-open main,
.tool-layout.sidebar-open .tool-hero,
.tool-layout.sidebar-open .builder-card,
.tool-layout.sidebar-open .ingest-card,
.tool-layout.sidebar-open .workflow-card,
.tool-layout.sidebar-open .cta-panel,
.tool-layout.sidebar-open .site-footer {
  pointer-events: none;
  user-select: none;
}

body.sidebar-open {
  overflow: hidden;
}

.sidebar-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #000000;
}

.sidebar-toggle:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

.sidebar-toggle:hover {
  background: #f5f5f5;
}

.sidebar-launcher {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: none;
  width: 100%;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(16px, 4vw, 32px);
  border: none;
  background: #ffffff;
  box-shadow: none;
}

.sidebar-launcher .launcher-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.sidebar-launcher .launcher-copy {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  line-height: 1.1;
}

.sidebar-launcher .launcher-copy strong {
  font-size: 0.95rem;
}

.sidebar-launcher .launcher-copy span {
  color: rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 560px) {
  .sidebar-launcher {
    left: 0;
    right: 0;
    padding: 14px 18px;
  }

  .sidebar-launcher .launcher-copy {
    display: none;
  }
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  position: sticky;
  top: 0;
  background: inherit;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.sidebar-header .brand-lockup {
  margin-bottom: 0;
  flex: 1;
}

.sidebar-header .sidebar-toggle-inline {
  flex-shrink: 0;
}

.tool-layout nav li a:hover,
.tool-layout nav li.active a {
  background: rgba(0, 0, 0, 0.08);
  color: var(--app-primary-strong, #000000);
}

.tool-layout .nav-icon {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--app-primary-strong, #000000);
}

.tool-layout .tool-hero::after {
  background: transparent;
}

.tool-layout .builder-header,
.tool-layout .card-slim .card-header,
.tool-layout .ingest-header,
.tool-layout .workflow-header,
.tool-layout .panel-header {
  background: #ffffff;
}

.tool-layout .builder-grid .field,
.tool-layout .ingest-body,
.tool-layout .workflow-body,
.tool-layout .extension-banner,
.tool-layout .status-panel,
.tool-layout .cta-panel,
.tool-layout .cta-shell,
.tool-layout .summary-panel,
.tool-layout .profile-card,
.tool-layout .process-card,
.tool-layout .result-card,
.tool-layout .progress-card,
.tool-layout .filters-wrap,
.tool-layout .filter-row,
.tool-layout .stats-panel,
.tool-layout .metrics-card,
.tool-layout .insight-card,
.tool-layout .automation-card,
.tool-layout .yellowpages-card,
.tool-layout .yelp-card,
.tool-layout .cta-tile,
.tool-layout .cta-banner,
.tool-layout .table-responsive,
.tool-layout .wide-table,
.tool-layout .tool-hero,
.tool-layout .builder-card,
.tool-layout .ingest-card,
.tool-layout .workflow-card,
.tool-layout .panel,
.tool-layout .card,
.tool-layout [class*="card"],
.tool-layout [class*="panel"],
.tool-layout [class*="banner"],
.tool-layout [class*="cta"],
.tool-layout [class*="stat"],
.tool-layout [class*="metric"],
.tool-layout [class*="status"] {
  background: #ffffff !important;
  color: var(--app-text, #000000) !important;
  border: 1px solid var(--tool-border) !important;
  border-radius: 18px;
  background-image: none !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05) !important;
}

.tool-layout .hero-eyebrow,
.tool-layout .header-pill,
.tool-layout .status-pill,
.tool-layout .count-pill,
.tool-layout .summary-pill,
.tool-layout .badge,
.tool-layout .header-pill,
.tool-layout #manualCount {
  background: #ffffff !important;
  color: var(--app-text, #000000) !important;
  border: 1px solid var(--tool-border) !important;
}

.tool-layout .stat-card,
.tool-layout .insight-card,
.tool-layout .automation-card,
.tool-layout .process-card,
.tool-layout .profile-card,
.tool-layout .progress-card,
.tool-layout .result-card,
.tool-layout .cta-panel,
.tool-layout .extension-banner,
.tool-layout .status-panel,
.tool-layout .builder-card,
.tool-layout .ingest-card,
.tool-layout .workflow-card,
.tool-layout .table-responsive,
.tool-layout .tool-hero {
  box-shadow: 0 8px 30px rgba(0,0,0,0.05) !important;
}

.tool-layout .btn,
.tool-layout .action-btn,
.tool-layout .btn-download-ext,
.tool-layout .btn-install-guide,
.tool-layout .btn-outline-primary,
.tool-layout .btn-outline-secondary,
.tool-layout .btn-outline-light,
.tool-layout .btn-outline-danger,
.tool-layout .btn-success,
.tool-layout .btn-info,
.tool-layout .btn-dark,
.tool-layout .btn-primary,
.tool-layout .btn-link {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.85);
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.tool-layout .btn:hover,
.tool-layout .btn:focus,
.tool-layout .action-btn:hover,
.tool-layout .btn-download-ext:hover,
.tool-layout .btn-install-guide:hover {
  background: #f5f5f5 !important;
  color: #000000 !important;
  transform: translateY(-1px);
}

.tool-layout .btn-ghost,
.tool-layout .btn-ghost:hover {
  background: #ffffff !important;
}

.tool-layout progress,
.tool-layout #progressBar {
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid var(--tool-border);
}

.tool-layout progress::-webkit-progress-bar,
.tool-layout #progressBar::-webkit-progress-bar {
  background: #ffffff;
}

.tool-layout progress::-webkit-progress-value,
.tool-layout #progressBar::-webkit-progress-value {
  background: #000000;
}

.tool-layout progress::-moz-progress-bar {
  background: #000000;
}

.tool-layout .cta-panel .btn-outline-light,
.tool-layout .cta-panel .btn-outline-secondary,
.tool-layout .cta-panel .btn-outline-primary {
  border-color: rgba(0, 0, 0, 0.85) !important;
  color: #000000 !important;
}

.site-footer {
  margin-top: 120px;
  padding: 90px 0 0;
  background: var(--bg-2);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.footer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(480px, 2.1fr);
  gap: 2.5rem;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-mark {
  align-items: center;
  gap: 14px;
}

.footer-brand p {
  margin: 0;
  color: var(--text-muted);
}

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

@media (min-width: 1100px) {
  .footer-columns {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.footer-column a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  opacity: 1;
  color: var(--primary-strong);
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 24px 0 40px;
  color: var(--text-muted);
}

.footer-bottom-inner p {
  margin: 0;
}

.footer-legal-links,
.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 500;
}

.footer-legal-links a,
.footer-social a {
  color: inherit;
  opacity: 0.9;
}

@media (max-width: 960px) {
  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.workflow-guide {
  padding: clamp(6px, 1.6vw, 18px) 0 clamp(10px, 2vw, 20px);
}

.workflow-card {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--tool-radius-lg, 24px);
  border: 1px solid var(--tool-border, rgba(0, 0, 0, 0.1));
  background: var(--tool-surface, #ffffff);
  box-shadow: var(--tool-shadow, 0 24px 60px rgba(0, 0, 0, 0.08));
  padding: clamp(24px, 3vw, 40px);
}

.workflow-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tool-muted, rgba(0, 0, 0, 0.55));
  margin-bottom: 0.6rem;
}

.workflow-card h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.75rem, 1.3rem + 1vw, 2.3rem);
}

.workflow-card p {
  color: var(--tool-muted, rgba(0, 0, 0, 0.65));
  margin-bottom: 0;
}

.workflow-steps {
  list-style: none;
  margin: clamp(20px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.workflow-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0;
}

.workflow-step-index {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--tool-border, rgba(0, 0, 0, 0.12));
  background: var(--tool-soft, rgba(0, 0, 0, 0.05));
  color: var(--app-primary-strong, #000000);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
}

.workflow-step-body h4 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.workflow-step-body p {
  margin: 0;
  color: var(--tool-muted, rgba(0, 0, 0, 0.65));
}

.tool-fields {
  padding: clamp(28px, 4vw, 60px) 0;
}

.tool-fields .container > *:not(:last-child) {
  margin-bottom: clamp(26px, 4vw, 36px);
}

@media (max-width: 640px) {
  .workflow-steps li {
    flex-direction: column;
  }
  .workflow-step-index {
    width: 36px;
    height: 36px;
  }
}
