/* BizNym Theme - Premium Dark Design */
/* Inspired by Linear, Vercel, Stripe */

/*
  Design principles:
  - Dark, sophisticated aesthetic
  - Subtle gradients and glows
  - Premium typography
  - Refined micro-interactions
*/

/* ============================================
   CSS Variables - Premium Dark Palette
   ============================================ */
.biz-theme {
  /* Core colors */
  --biz-bg: #121316;
  --biz-bg-elevated: #15171a;
  --biz-bg-subtle: #17191d;
  --biz-bg-muted: #1b1d21;

  /* Borders */
  --biz-border: rgba(255, 255, 255, 0.07);
  --biz-border-subtle: rgba(255, 255, 255, 0.05);
  --biz-border-strong: rgba(255, 255, 255, 0.1);

  /* Text */
  --biz-text-primary: #f2f2f0;
  --biz-text-secondary: #b3b5b8;
  --biz-text-tertiary: #8b8e93;
  --biz-text-muted: #6f737a;

  /* Accent - single action color */
  --biz-accent-1: #2f6f5f;
  --biz-accent-2: #2f6f5f;
  --biz-accent-glow: rgba(47, 111, 95, 0.08);

  /* Success/Error */
  --biz-success: #4e8f76;
  --biz-error: #a16b6b;
  --biz-warning: #8a7a55;

  /* Typography */
  --biz-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --biz-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  --biz-nav-height: 56px;
  --biz-rail-height: 72px;
  --biz-rail-row-gap: 0.5rem;
  --biz-advanced-toggle-height: 56px;
  --biz-rail-gap: 0.75rem;
  --biz-control-stack: calc(var(--biz-rail-height) + var(--biz-rail-row-gap) + var(--biz-advanced-toggle-height));
  --biz-rail-shift: 0px;
  --biz-drawer-gap: 28px;
  --biz-drawer-offset: 0px;
  --biz-shortlist-bar-h: 64px;
  --biz-page-max-w: 72rem;
  --biz-page-pad-x: 24px;
  --biz-hero-max-w: 58rem;
  --biz-hero-btn-w: 260px;
  --biz-mock-h: clamp(200px, 22vw, 260px);
  --biz-mock-radius: 16px;
  --biz-mock-pad: 14px;

  background: var(--biz-bg);
  color: var(--biz-text-primary);
  font-family: var(--biz-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Base Styles
   ============================================ */
.biz-theme {
  min-height: 100vh;
}

.biz-theme h1,
.biz-theme h2,
.biz-theme h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--biz-text-primary);
}

.biz-theme p {
  color: var(--biz-text-secondary);
  line-height: 1.6;
}

.biz-page-container {
  width: 100%;
  max-width: var(--biz-page-max-w);
  margin: 0 auto;
  padding-left: var(--biz-page-pad-x);
  padding-right: var(--biz-page-pad-x);
}

body[data-stage='results'].biz-theme {
  padding-bottom: calc(var(--biz-shortlist-bar-h) + 16px + env(safe-area-inset-bottom, 0px));
}

/* ============================================
   Header / Navigation
   ============================================ */
.biz-theme header {
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--biz-border);
}

.biz-theme .biz-nav-link {
  color: var(--biz-text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.15s ease;
}

.biz-theme .biz-nav-link:hover {
  color: var(--biz-text-primary);
}

.biz-theme .biz-nav-link.biz-nav-link--active {
  color: var(--biz-text-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.biz-home-hero {
  min-height: calc(100vh - var(--biz-nav-height));
  display: flex;
  align-items: center;
  padding: 0 0 18px;
}

.biz-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  position: relative;
}

/* Entry Stage (Home) */
.biz-entry-stage {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: transparent;
  border: none;
  padding: 0;
}

body:not([data-stage='results']) .biz-hero-form {
  width: 100%;
  max-width: var(--biz-hero-max-w);
  margin: 0 auto;
}

.biz-entry-rail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 769px) {
  body:not([data-stage='results']) .biz-entry-rail {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  body:not([data-stage='results']) #ai-prompt-input {
    flex: 1 1 auto;
    min-width: 0;
  }

  body:not([data-stage='results']) #generate-btn {
    flex: 0 0 var(--biz-hero-btn-w);
    width: auto;
  }
}

@media (max-width: 768px) {
  body:not([data-stage='results']) .biz-entry-rail {
    flex-direction: column;
  }

  body:not([data-stage='results']) #generate-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  body:not([data-stage='results']) .biz-workbar {
    gap: 10px;
  }
}

.biz-advanced-area {
  position: relative;
  width: 100%;
}

.biz-advanced-slot {
  width: 100%;
  height: var(--biz-advanced-toggle-height);
  display: flex;
  align-items: center;
}

.biz-entry .biz-advanced-trigger {
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-entry:focus-within .biz-advanced-trigger {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.biz-advanced-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: min(32vh, 240px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem 1.75rem;
  border: 1px solid var(--biz-border);
  border-radius: 0.75rem;
  background: var(--biz-bg-elevated);
  z-index: 20;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 560ms ease-in-out, transform 560ms ease-in-out;
}

.biz-advanced-panel::after {
  content: '';
  position: sticky;
  display: block;
  bottom: 0;
  height: 28px;
  margin-top: -28px;
  background: linear-gradient(180deg, rgba(21, 23, 26, 0), rgba(21, 23, 26, 0.9));
  pointer-events: none;
}

.biz-advanced-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.biz-advanced-panel .biz-section-label {
  display: none;
}

.adv-group {
  border-top: 1px solid var(--biz-border-subtle);
}

.adv-group:first-child {
  border-top: none;
}

.adv-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.adv-group-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--biz-text-muted);
}

.adv-group-summary {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--biz-text-tertiary);
}

.adv-group-chevron {
  color: var(--biz-text-muted);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.adv-group-header[aria-expanded='true'] .adv-group-chevron {
  transform: rotate(180deg);
}

.adv-group-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-2px);
  transition: max-height 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.adv-group-body.is-open {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

.adv-group-body-inner {
  padding: 0 0 0.75rem;
}

.biz-hero > * {
  position: relative;
  z-index: 1;
}

.biz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--biz-bg-subtle);
  border: 1px solid var(--biz-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--biz-text-secondary);
  margin-bottom: 1.5rem;
}

.biz-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--biz-text-primary);
  margin-bottom: 0.75rem;
}

.biz-hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--biz-text-tertiary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================
   Tool Card - Main Generator
   ============================================ */
.biz-theme .biz-tool-card {
  background: var(--biz-bg-elevated);
  border: 1px solid var(--biz-border);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Section Labels */
.biz-section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--biz-text-muted);
  margin-bottom: 0.625rem;
}

/* ============================================
   Option Buttons (Pills)
   ============================================ */
.biz-theme .option-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--biz-border);
  background: transparent;
  color: var(--biz-text-secondary);
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .option-btn:hover {
  background: var(--biz-bg-subtle);
  border-color: var(--biz-border-strong);
  color: var(--biz-text-primary);
}

.biz-theme .option-btn.active,
.biz-theme .option-btn.biz-active {
  background: var(--biz-accent-1);
  border-color: var(--biz-accent-1);
  color: #f8f8f5;
}

/* ============================================
   Input Fields
   ============================================ */
.biz-theme .biz-input {
  width: 100%;
  height: 88px;
  padding: 0 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg);
  font-size: 0.9375rem;
  color: var(--biz-text-primary);
  background-image: linear-gradient(var(--biz-accent-1), var(--biz-accent-1));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  transition: border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-size 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-input::placeholder {
  color: var(--biz-text-muted);
}

.biz-theme .biz-input:focus {
  outline: none;
  border-color: var(--biz-text-tertiary);
  background-size: 100% 1px;
  box-shadow: inset 0 -1px 0 0 var(--biz-accent-1);
}

/* ============================================
   Generate Button - Primary CTA
   ============================================ */
.biz-theme .biz-generate-btn,
.biz-theme #generate-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--biz-accent-1);
  color: #f8f8f5;
  border: none;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.biz-theme .biz-generate-btn:hover,
.biz-theme #generate-btn:hover {
  background: #2a6355;
}

.biz-theme .biz-generate-btn:active,
.biz-theme #generate-btn:active {
  transform: scale(0.98);
  background: #26584c;
}

/* ============================================
   Filter Toggle
   ============================================ */
.biz-theme .biz-filter-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--biz-border);
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--biz-text-tertiary);
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-filter-toggle:hover {
  background: var(--biz-bg-subtle);
  color: var(--biz-text-secondary);
}

.biz-theme .biz-filter-toggle:active {
  transform: scale(0.98);
}

.biz-theme .biz-filter-toggle i {
  color: var(--biz-text-muted);
}

.biz-theme .biz-filter-toggle #biz-filter-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================
   Results Workbar (Single Tool Source)
   ============================================ */
.biz-hero-stage {
  position: relative;
  transform: translateY(0);
  transform-origin: center top;
  transition: transform 560ms ease-in-out, opacity 560ms ease-in-out;
  will-change: transform;
  z-index: 0;
}

body[data-stage='results'] .biz-hero-stage {
  position: sticky;
  top: calc(var(--biz-nav-height) + env(safe-area-inset-top, 0px));
  z-index: 40;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-rows: var(--biz-rail-height) auto;
  column-gap: 1.5rem;
  row-gap: var(--biz-rail-row-gap);
  align-items: center;
  background: transparent;
  transform: none;
}

body.biz-rail-snap .biz-hero-stage {
  transition: none;
}

body.biz-rail-snap .biz-results-shell {
  animation: none;
}

body[data-stage='results'] .biz-entry {
  max-width: var(--biz-page-max-w);
  width: 100%;
}

body[data-stage='results'] .biz-home-hero {
  align-items: flex-start;
}

body[data-stage='results'] .biz-hero-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--biz-control-stack);
  background: rgba(10, 10, 11, 0.92);
  border-bottom: 1px solid var(--biz-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
  z-index: -1;
}

body[data-stage='results'] .biz-hero-title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  text-align: left;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--biz-text-tertiary);
  opacity: 0.68;
  white-space: nowrap;
  transition: opacity 560ms ease-in-out;
  pointer-events: none;
}

body[data-stage='results'] .biz-entry-stage {
  display: contents;
}

body[data-stage='results'] .biz-entry-rail {
  display: contents;
}

body[data-stage='results'] #ai-prompt-input {
  grid-column: 2;
  grid-row: 1;
  height: 52px;
  border-radius: 0.45rem;
  padding: 0 1rem;
  align-self: center;
}

body[data-stage='results'] #generate-btn {
  grid-column: 3;
  grid-row: 1;
  width: auto;
  height: 52px;
  padding: 0 1.25rem;
  border-radius: 0.45rem;
  align-self: center;
}

body[data-stage='results'] .biz-entry-stage .biz-advanced-area {
  grid-column: 1 / -1;
  grid-row: 2;
}

body[data-stage='results'] {
  --biz-drawer-offset: 0px;
}

body[data-stage='results'] .biz-advanced-panel {
  position: absolute;
  z-index: 30;
}

body[data-stage='results'] .biz-filter-toggle--mini {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

@media (max-width: 640px) {
  body[data-stage='results'] {
    --biz-control-stack: calc(52px + 52px + var(--biz-advanced-toggle-height) + 48px);
  }

  body[data-stage='results'] .biz-hero-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    row-gap: 10px;
    column-gap: 0;
    align-items: stretch;
    top: calc(var(--biz-nav-height) + env(safe-area-inset-top, 0px));
    transform: none;
  }

  body[data-stage='results'] .biz-workbar-label {
    grid-column: 1;
    grid-row: 1;
    white-space: normal;
    font-size: 0.625rem;
    letter-spacing: 0.08em;
  }

  body[data-stage='results'] #ai-prompt-input {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body[data-stage='results'] #generate-btn {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }

  body[data-stage='results'] .biz-entry-stage .biz-advanced-area {
    grid-column: 1;
    grid-row: 4;
  }
}

/* ============================================
   Results Card
   ============================================ */
.biz-results-shell {
  --biz-results-offset: 0px;
  display: none;
  opacity: 0;
  transform: translateY(calc(var(--biz-results-offset) + 48px));
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform 560ms ease-in-out;
}

body[data-stage='results'] .biz-results-shell {
  --biz-results-offset: calc(-100vh + var(--biz-nav-height) + var(--biz-control-stack) + var(--biz-rail-gap) + var(--biz-drawer-offset));
  display: block;
  padding-top: 0;
  animation: biz-results-in 560ms ease-in-out 120ms forwards;
  pointer-events: auto;
  margin-bottom: calc(var(--biz-results-offset) + 48px);
}

@keyframes biz-results-in {
  from {
    opacity: 0;
    transform: translateY(calc(var(--biz-results-offset) + 48px));
  }
  to {
    opacity: 1;
    transform: translateY(var(--biz-results-offset));
  }
}

/* ============================================
   Results Header
   ============================================ */
.biz-results-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.5rem 0 0.75rem;
  border-bottom: 1px solid var(--biz-border);
}

body[data-stage='results'] .biz-results-header {
  padding-top: 0.5rem;
}

.biz-results-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--biz-text-tertiary);
}

.biz-results-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--biz-text-primary);
}

.biz-results-title-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.biz-results-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.biz-batch-meta {
  font-size: 0.75rem;
  color: var(--biz-text-tertiary);
}

.biz-results-count {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--biz-text-tertiary);
}

.biz-results-subline {
  font-size: 0.8125rem;
  color: var(--biz-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.biz-results-pager {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.biz-pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg-subtle);
  color: var(--biz-text-secondary);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.biz-pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.biz-results-header-actions {
  display: none;
}

/* ============================================
   Details Toggle Bar
   ============================================ */
.biz-details-bar {
  margin: 1.25rem 0 1.5rem;
}

.biz-details-toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg-elevated);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--biz-text-secondary);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.biz-details-toggle:hover {
  background: var(--biz-bg-subtle);
  border-color: var(--biz-border-strong);
  color: var(--biz-text-primary);
}

.biz-details-toggle:focus-visible {
  outline: 2px solid rgba(47, 111, 95, 0.4);
  outline-offset: 2px;
}

.biz-details-toggle__icon {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.biz-details-toggle[aria-expanded='true'] .biz-details-toggle__icon {
  transform: rotate(180deg);
}

@media (max-width: 720px) {
  .biz-results-header {
    align-items: flex-start;
  }

  .biz-results-title-row {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .biz-results-title {
    font-size: 1rem;
  }

  .biz-results-count {
    display: none;
  }
}

@media (max-width: 860px) and (min-width: 641px) {
  body[data-stage='results'] .biz-hero-title {
    opacity: 0;
  }
}

@media (max-width: 560px) {
  .biz-results-title-row {
    flex-wrap: wrap;
  }

  .biz-results-pager {
    gap: 0.3rem;
  }

  .biz-pager-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.68rem;
  }
}

/* ============================================
   Exhibition Grid
   ============================================ */
.biz-results-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

body[data-stage='results'] #results-batches {
  display: block;
  width: 100%;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overscroll-behavior: auto;
}

body[data-stage='results'] .biz-results-grid {
  padding-bottom: calc(var(--biz-shortlist-bar-h) + 24px);
}

@media (min-width: 980px) {
  .biz-results-grid {
    grid-template-columns: repeat(2, minmax(420px, 1fr));
  }
}

.biz-theme .biz-results-card {
  background: var(--biz-bg-elevated);
  border: 1px solid var(--biz-border);
  border-radius: 1rem;
  overflow: hidden;
}

/* ============================================
   Lower Content Collapse
   ============================================ */
.biz-details-content[data-open='0'] {
  display: none;
}

/* ============================================
   Action Buttons
   ============================================ */
.biz-theme .biz-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--biz-border);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--biz-text-secondary);
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-action-btn:hover {
  background: var(--biz-bg-subtle);
  border-color: var(--biz-border-strong);
  color: var(--biz-text-primary);
}

.biz-theme .biz-action-btn i {
  font-size: 0.6875rem;
}

.biz-theme .biz-action-btn--accent {
  background: var(--biz-accent-1);
  border-color: var(--biz-accent-1);
  color: #f8f8f5;
}

.biz-theme .biz-action-btn--accent:hover {
  background: #2a6355;
}

.biz-theme .biz-action-btn:active,
.biz-theme .biz-action-btn--accent:active {
  transform: scale(0.98);
}

.biz-theme .biz-shortlist-add {
  border-style: dashed;
  white-space: nowrap;
}

.biz-theme .biz-shortlist-add span {
  font-size: 0.7rem;
}

/* ============================================
   Name Row (Results)
   ============================================ */
.biz-theme .biz-name-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--biz-bg-subtle);
  border: 1px solid var(--biz-border);
  border-radius: 0.9rem;
  min-width: 0;
  transition: background-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-name-row:hover {
  background: var(--biz-bg-muted);
  border-color: var(--biz-border-strong);
  box-shadow: 0 8px 24px rgba(12, 16, 20, 0.08);
}

.biz-theme .biz-name {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--biz-text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.biz-theme .biz-name-row > div {
  width: 100%;
}

.biz-theme .biz-result-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.biz-theme .biz-name-wrap {
  flex: 1;
  min-width: 0;
}

.biz-theme .biz-primary-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.biz-theme .biz-result-top .biz-action-btn {
  opacity: 0.8;
  transition: opacity 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-name-row:hover .biz-result-top .biz-action-btn {
  opacity: 1;
}

.biz-theme .biz-copy-btn {
  position: relative;
  min-width: 72px;
}

.biz-theme .biz-btn-label {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.biz-theme .biz-btn-label--copied {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.biz-theme .biz-copy-btn[data-copied='1'] .biz-btn-label--default {
  opacity: 0;
}

.biz-theme .biz-copy-btn[data-copied='1'] .biz-btn-label--copied {
  opacity: 1;
}

.biz-theme .biz-star-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--biz-border);
  background: transparent;
  color: var(--biz-text-tertiary);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.biz-theme .biz-star-toggle i {
  font-size: 0.85rem;
}

.biz-theme .biz-star-toggle:hover {
  color: var(--biz-text-primary);
  border-color: var(--biz-border-strong);
}

.biz-theme .biz-star-toggle[data-shortlisted='1'] {
  color: var(--biz-accent-1);
  border-color: rgba(54, 125, 104, 0.4);
  background: rgba(54, 125, 104, 0.12);
}

.biz-theme .biz-star-toggle--mini {
  width: 1.75rem;
  height: 1.75rem;
}

.biz-theme .biz-more {
  position: relative;
}

.biz-theme .biz-more-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--biz-border);
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--biz-text-secondary);
  cursor: pointer;
  transition: color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  list-style: none;
}

.biz-theme .biz-more-trigger:hover {
  background: var(--biz-bg-subtle);
  border-color: var(--biz-border-strong);
  color: var(--biz-text-primary);
}

.biz-theme .biz-more summary::-webkit-details-marker {
  display: none;
}

.biz-theme .biz-more-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  padding: 0.35rem;
  border-radius: 0.5rem;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg-elevated);
  box-shadow: 0 12px 24px rgba(12, 16, 20, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 12;
}

.biz-theme .biz-more[open] .biz-more-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.biz-theme .biz-more-item {
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.65rem;
  border-radius: 0.375rem;
  border: none;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--biz-text-secondary);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.biz-theme .biz-more-item:hover {
  background: var(--biz-bg-subtle);
  color: var(--biz-text-primary);
}

.biz-theme .biz-edit-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 240ms ease-out, opacity 200ms ease-out;
}

.biz-theme .biz-edit-drawer.is-open {
  max-height: 520px;
  opacity: 1;
}

.biz-theme .biz-edit-inner {
  padding-top: 0.75rem;
  border-top: 1px solid var(--biz-border-subtle);
}

.biz-theme .biz-edit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.biz-theme .biz-chip {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--biz-border);
  background: transparent;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--biz-text-secondary);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.biz-theme .biz-chip.is-active {
  border-color: rgba(54, 125, 104, 0.5);
  color: var(--biz-text-primary);
  background: rgba(54, 125, 104, 0.12);
}

.biz-theme .biz-edit-input {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg);
  color: var(--biz-text-primary);
  font-size: 0.8rem;
}

.biz-theme .biz-edit-input::placeholder {
  color: var(--biz-text-tertiary);
}

.biz-theme .biz-variant-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.biz-theme .biz-variant-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg);
}

.biz-theme .biz-variant-name {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  color: var(--biz-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.biz-theme .biz-variant-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.biz-theme .biz-variant-copy {
  padding: 0.35rem 0.55rem;
  font-size: 0.7rem;
}

.biz-theme .biz-legacy {
  display: none !important;
}

@media (max-width: 720px) {
  .biz-theme .biz-result-top {
    flex-wrap: wrap;
  }

  .biz-theme .biz-star-toggle {
    margin-left: 0;
  }
}

/* ============================================
   Shortlist Panel
   ============================================ */
.shortlist-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 34;
  display: none;
  padding: 0 var(--biz-page-pad-x) calc(env(safe-area-inset-bottom, 0px));
  pointer-events: auto;
}

body[data-stage='results'] .shortlist-panel {
  display: block;
}

.shortlist-shell {
  width: 100%;
  max-width: var(--biz-page-max-w);
  margin: 0 auto;
}

.shortlist-bar {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 1rem;
  min-height: var(--biz-shortlist-bar-h);
  border: 1px solid var(--biz-border);
  border-radius: 1rem;
  background: var(--biz-bg-elevated);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
}

.shortlist-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.shortlist-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--biz-text-primary);
}

.shortlist-count {
  font-size: 0.75rem;
  color: var(--biz-text-muted);
}

.shortlist-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: none;
}

.shortlist-preview::-webkit-scrollbar {
  display: none;
}

.shortlist-pill {
  display: inline-flex;
  align-items: center;
  max-width: 10rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg-subtle);
  font-size: 0.75rem;
  color: var(--biz-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.shortlist-pill--overflow {
  color: var(--biz-text-tertiary);
  background: transparent;
}

.shortlist-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.shortlist-toggle {
  min-width: 88px;
}

.shortlist-expanded {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#shortlist-panel[data-open='1'] .shortlist-expanded {
  max-height: 60vh;
  opacity: 1;
}

#shortlist-panel[data-open='1'] .shortlist-bar {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.shortlist-expanded-inner {
  max-height: 56vh;
  overflow-y: auto;
  border: 1px solid var(--biz-border);
  border-top: none;
  border-radius: 0 0 1rem 1rem;
  background: var(--biz-bg-elevated);
  padding: 0.75rem 1rem 1rem;
}

.shortlist-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.shortlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--biz-bg-subtle);
  border: 1px solid var(--biz-border);
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--biz-text-primary);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.shortlist-item.is-jump-highlight {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(var(--biz-accent-rgb), 0.45);
  box-shadow: 0 0 0 1px rgba(var(--biz-accent-rgb), 0.25);
}

.shortlist-item-name {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
  color: var(--biz-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shortlist-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.shortlist-item-actions .biz-action-btn {
  padding: 0.4rem 0.6rem;
  font-size: 0.7rem;
}

.shortlist-empty {
  display: none;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  color: var(--biz-text-muted);
  line-height: 1.5;
}

.shortlist-empty-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--biz-text-primary);
  margin-bottom: 0.35rem;
}

.shortlist-empty-body {
  font-size: 0.85rem;
}

.shortlist-empty-tip {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--biz-text-tertiary);
}

#shortlist-panel[data-empty='1'] .shortlist-actions button[data-shortlist-action='copy-all'],
#shortlist-panel[data-empty='1'] .shortlist-actions button[data-shortlist-action='clear'] {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .shortlist-bar {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .shortlist-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Legacy shortlist layout (other pages) */
body[data-stage='results'] #biz-shortlist-box.hidden {
  display: block;
}

.biz-shortlist-empty {
  display: none;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--biz-border);
  font-size: 0.875rem;
  color: var(--biz-text-muted);
}

.biz-theme #biz-shortlist-box[data-shortlist-empty='true'] #biz-shortlist-items {
  display: none;
}

.biz-theme #biz-shortlist-box[data-shortlist-empty='true'] .biz-shortlist-empty {
  display: block;
}

.biz-theme #biz-shortlist-box[data-shortlist-empty='false'] .biz-shortlist-empty {
  display: none;
}

.biz-theme #biz-shortlist-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem 1rem;
}

.biz-theme #biz-shortlist-items > div {
  background: var(--biz-bg-subtle);
  border: 1px solid var(--biz-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--biz-text-primary);
}

.biz-theme #biz-shortlist-items button {
  border: 1px solid var(--biz-border);
  background: transparent;
  color: var(--biz-text-secondary);
  border-radius: 0.5rem;
}

.biz-theme #biz-shortlist-items button:hover {
  background: var(--biz-bg-muted);
  border-color: var(--biz-border-strong);
  color: var(--biz-text-primary);
}

.biz-theme #biz-shortlist-items i {
  color: var(--biz-text-tertiary);
}

/* ============================================
   Checkbox
   ============================================ */
.biz-theme .biz-checkbox {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1.5px solid var(--biz-border-strong);
  background: var(--biz-bg);
  accent-color: var(--biz-accent-1);
  cursor: pointer;
}

/* ============================================
   Navigation Cards (Sub-generators)
   ============================================ */
.biz-theme .biz-nav-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: var(--biz-bg-elevated);
  border: 1px solid var(--biz-border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--biz-text-secondary);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-nav-card:hover {
  background: var(--biz-bg-subtle);
  border-color: var(--biz-border-strong);
  color: var(--biz-text-primary);
}

.biz-theme .biz-nav-card i {
  font-size: 1rem;
}

.biz-theme .biz-nav-card.active {
  background: var(--biz-accent-1);
  border-color: var(--biz-accent-1);
  color: #f8f8f5;
}

/* ============================================
   Feature Cards
   ============================================ */
.biz-theme .biz-feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--biz-bg-elevated);
  border: 1px solid var(--biz-border);
  text-align: left;
}

.biz-theme .biz-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--biz-accent-1);
  color: #f8f8f5;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.biz-theme .biz-feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.biz-theme .biz-feature-card p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--biz-text-tertiary);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.biz-theme .biz-faq-item {
  background: var(--biz-bg-elevated);
  border: 1px solid var(--biz-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.biz-theme .biz-faq-question {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--biz-text-primary);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-faq-question:hover {
  background: var(--biz-bg-subtle);
}

.biz-theme .biz-faq-question::-webkit-details-marker {
  display: none;
}

.biz-theme .biz-faq-question i {
  color: var(--biz-text-muted);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.biz-theme .biz-faq-item[open] .biz-faq-question {
  border-bottom: 1px solid var(--biz-border-subtle);
}

.biz-theme .biz-faq-item[open] .biz-faq-question i {
  transform: rotate(180deg);
}

.biz-theme .biz-faq-answer {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--biz-text-tertiary);
  line-height: 1.6;
}

/* ============================================
   Section Styles
   ============================================ */
.biz-section {
  padding: 64px 0;
}

.biz-section--alt {
  background: var(--biz-bg-elevated);
}

.biz-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
}

.biz-section-subtitle {
  font-size: 1rem;
  color: var(--biz-text-tertiary);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.biz-section-header {
  margin-bottom: 2.5rem;
}

.biz-features .biz-section-title,
.biz-features .biz-section-subtitle {
  text-align: left;
  margin-left: 0;
}

.biz-features .biz-section-subtitle {
  max-width: 620px;
  margin-bottom: 0;
}

.biz-feature-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.biz-feature-block + .biz-feature-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--biz-border-subtle);
}

.biz-feature-block.is-reverse .biz-feature-copy {
  order: 2;
}

.biz-feature-block.is-reverse .biz-feature-visual {
  order: 1;
}

.biz-feature-block.is-reverse .biz-feature-visual {
  justify-content: flex-start;
}

.biz-feature-copy h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.biz-feature-copy p {
  color: var(--biz-text-secondary);
  margin-bottom: 1rem;
}

.biz-feature-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.biz-feature-list li {
  display: flex;
  gap: 0.5rem;
  color: var(--biz-text-tertiary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.biz-feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: var(--biz-accent-1);
  flex-shrink: 0;
}

.biz-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--biz-accent-1);
  cursor: default;
}

.biz-feature-cta::after {
  content: '>';
  font-size: 0.75rem;
}

.biz-feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.biz-ui-mock {
  width: 100%;
  max-width: 520px;
  height: var(--biz-mock-h);
  border-radius: var(--biz-mock-radius);
  border: 1px solid var(--biz-border);
  background: var(--biz-bg-elevated);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px var(--biz-border-subtle);
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.biz-ui-mock--wide {
  max-width: 100%;
}

.biz-ui-mock-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 32px;
  padding: 0 var(--biz-mock-pad);
  background: var(--biz-bg-subtle);
  border-bottom: 1px solid var(--biz-border);
  font-size: 0.7rem;
  color: var(--biz-text-tertiary);
}

.biz-ui-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.biz-ui-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.biz-ui-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.65rem;
}

.biz-ui-actions {
  margin-left: auto;
}

.biz-ui-mock-body {
  padding: var(--biz-mock-pad);
  display: grid;
  gap: 0.75rem;
  flex: 1;
  overflow: hidden;
}

.biz-ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: var(--biz-bg-subtle);
  border: 1px solid var(--biz-border-subtle);
  border-radius: 0.75rem;
}

.biz-ui-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--biz-text-primary);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.biz-ui-tags {
  display: inline-flex;
  gap: 0.4rem;
}

.biz-ui-chip {
  border-radius: 999px;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg-muted);
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
  color: var(--biz-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.biz-ui-meta {
  font-size: 0.7rem;
  color: var(--biz-text-muted);
}

.biz-ui-field {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--biz-border-subtle);
  background: var(--biz-bg-subtle);
}

.biz-ui-field-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--biz-text-muted);
}

.biz-ui-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.biz-ui-pill {
  border-radius: 999px;
  border: 1px solid var(--biz-border);
  background: var(--biz-bg-muted);
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  color: var(--biz-text-secondary);
}

.biz-ui-pill.is-active {
  background: var(--biz-accent-1);
  border-color: var(--biz-accent-1);
  color: #f8f8f5;
}

.biz-ui-pill.is-muted {
  color: var(--biz-text-muted);
  background: transparent;
}

.biz-ui-shortlist-bar {
  display: grid;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid var(--biz-border-subtle);
  background: var(--biz-bg-muted);
}

.biz-ui-shortlist-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--biz-text-primary);
}

.biz-ui-shortlist-count {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--biz-text-muted);
}

.biz-ui-shortlist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.biz-explore .biz-section-subtitle {
  margin-bottom: 1.5rem;
}

.biz-how .biz-tips-box {
  margin-top: 1.5rem;
}

.biz-faq-stack {
  margin-top: 1.5rem;
}

/* ============================================
   Tips Box
   ============================================ */
.biz-tips-box {
  background: var(--biz-bg-elevated);
  border: 1px solid var(--biz-border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.biz-tips-box h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--biz-text-primary);
}

.biz-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.biz-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  color: var(--biz-text-secondary);
  line-height: 1.5;
}

.biz-tips-list li + li {
  border-top: 1px solid var(--biz-border-subtle);
}

.biz-tip-number {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 100px;
  background: var(--biz-accent-1);
  color: #f8f8f5;
  font-size: 0.6875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.biz-tip-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 100px;
  background: var(--biz-success);
  color: white;
  font-size: 0.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   Batch Styles (Results)
   ============================================ */
.biz-theme .biz-batch {
  display: contents;
}

.biz-theme .biz-batch-summary {
  display: none;
}

.biz-theme .biz-batch-title {
  font-weight: 600;
  color: var(--biz-text-primary);
  font-size: 0.875rem;
}

.biz-theme .biz-batch-meta {
  color: var(--biz-text-muted);
  font-size: 0.75rem;
}

.biz-theme [data-batch-body] {
  padding: 0;
  display: contents;
}

.biz-theme [data-batch-body] > div {
  display: contents;
}

body[data-stage='results'] #results-batches [data-batch-body] {
  display: block;
}

body[data-stage='results'] #results-batches [data-batch-body] > div {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

body[data-stage='results'] #results-batches [data-batch-body] > div > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0 !important;
}

@media (min-width: 980px) {
  body[data-stage='results'] #results-batches [data-batch-body] > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-stage='results'] #results-batches .biz-name-row.is-drawer-open,
  body[data-stage='results'] #results-batches .biz-name-row.is-menu-open {
    grid-column: 1 / -1;
  }
}

body[data-stage='results'] #results-batches.biz-results-focus [data-batch-body] > div {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

body[data-stage='results'] #results-batches [data-biz-batch='1'][data-active='0'] {
  display: none;
}

body[data-stage='results'] #results-batches [data-biz-batch='1'].is-batch-enter {
  animation: biz-batch-enter 220ms ease-in-out;
}

@keyframes biz-batch-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Domain Availability Badge
   ============================================ */
.biz-theme .biz-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.biz-theme .biz-domain-badge--available {
  background: rgba(78, 143, 118, 0.18);
  color: var(--biz-success);
}

.biz-theme .biz-domain-badge--taken {
  background: rgba(161, 107, 107, 0.18);
  color: var(--biz-error);
}

/* ============================================
   Loading State
   ============================================ */
.biz-theme .biz-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: var(--biz-text-muted);
  position: relative;
}

.biz-theme .biz-loading-spinner {
  display: none;
}

.biz-theme .biz-loading::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0.5rem;
  height: 1px;
  background: var(--biz-border-strong);
  transform: scaleX(0);
  transform-origin: center;
  animation: biz-scan 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* ============================================
   Motion - Sequential Awakening
   ============================================ */
.biz-theme .biz-hero-title,
.biz-theme .biz-hero-subtitle,
.biz-theme .biz-tool-card {
  opacity: 0;
  transform: translateY(10px);
  animation: biz-awaken 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.biz-theme .biz-hero-title {
  animation-delay: 0.08s;
}

.biz-theme .biz-hero-subtitle {
  animation-delay: 0.16s;
}

.biz-theme .biz-tool-card {
  animation-delay: 0.24s;
}

@keyframes biz-awaken {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes biz-scan {
  to {
    transform: scaleX(1);
  }
}

/* ============================================
   Footer
   ============================================ */
.biz-theme footer {
  border-top: 1px solid var(--biz-border);
  background: var(--biz-bg);
}

.biz-theme footer > div {
  width: 100%;
  max-width: var(--biz-page-max-w);
  margin: 0 auto;
  padding-left: var(--biz-page-pad-x);
  padding-right: var(--biz-page-pad-x);
}

.biz-theme footer a {
  color: var(--biz-text-muted);
  transition: color 0.15s ease;
}

.biz-theme footer a:hover {
  color: var(--biz-text-secondary);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .biz-theme {
    --biz-page-pad-x: 16px;
  }

  .biz-hero {
    padding: 3rem 0 1.5rem;
  }

  .biz-hero-title {
    font-size: 1.75rem;
  }

  .biz-hero-subtitle {
    font-size: 1rem;
  }

  .biz-theme .biz-tool-card {
    padding: 1.25rem;
    border-radius: 0.75rem;
  }

  .biz-section {
    padding: 48px 0;
  }

  .biz-section-title {
    font-size: 1.25rem;
  }

  .biz-feature-block {
    grid-template-columns: 1fr;
  }

  .biz-feature-block.is-reverse .biz-feature-copy,
  .biz-feature-block.is-reverse .biz-feature-visual {
    order: initial;
  }

  .biz-feature-copy {
    order: 1;
  }

  .biz-feature-visual {
    order: 2;
  }

  .biz-section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .biz-theme .option-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .biz-theme .biz-generate-btn,
  .biz-theme #generate-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .biz-theme .biz-nav-card {
    padding: 0.75rem;
    font-size: 0.8125rem;
  }
}

/* ============================================
   Scrollbar Styling
   ============================================ */
.biz-theme ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.biz-theme ::-webkit-scrollbar-track {
  background: var(--biz-bg);
}

.biz-theme ::-webkit-scrollbar-thumb {
  background: var(--biz-border-strong);
  border-radius: 3px;
}

.biz-theme ::-webkit-scrollbar-thumb:hover {
  background: var(--biz-text-muted);
}
