:root {
  --bg-page: #eef6df;
  --bg-surface: #fffdf8;
  --bg-soft: #e7f3cc;
  --bg-muted: #f6fbea;
  --border-color: #d5e4bc;
  --border-strong: #8fb56e;

  --text-primary: #1c3324;
  --text-secondary: #345242;
  --text-muted: #6a7f62;

  --blue-primary: #2f7d43;
  --blue-hover: #246536;
  --blue-light: #e5f4c8;

  --green-primary: #2f7d43;
  --green-hover: #246536;
  --green-light: #e5f4c8;
  --green-text: #1d5c30;

  --gold-primary: #8c5a32;
  --gold-light: #f3e6d4;
  --gold-text: #6b3f1d;

  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.14);

  --font-main: 'Nunito', 'Segoe UI', sans-serif;
  --soil: #8c5a32;
}

/* Optional Dark Theme when toggled */
body.dark-theme {
  --bg-page: #0e1a14;
  --bg-surface: #17261c;
  --bg-soft: #1e3326;
  --bg-muted: #122018;
  --border-color: #2c4636;
  --border-strong: #3d5c48;

  --text-primary: #e7f0e4;
  --text-secondary: #c5d7c0;
  --text-muted: #8fa888;

  --blue-light: rgba(31, 107, 58, 0.35);
  --green-light: rgba(31, 107, 58, 0.35);
  --green-text: #b7e0c2;
  --gold-light: rgba(140, 90, 50, 0.28);
  --gold-text: #f3e6d4;
}

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

:focus-visible {
  outline: 2px solid #1f6b3a;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  padding-bottom: 100px;
  transition: background-color 0.2s, color 0.2s;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.hidden {
  display: none !important;
}

/* Friendly Top Helper Bar */
.top-helper-bar {
  background: #2f7d43;
  color: #fffdf8;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 0;
  text-align: center;
}

.top-helper-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  width: 58px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  border: 0;
}

.brand-name {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand-name span {
  color: var(--blue-primary);
}

.brand-tag {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
}

.nav-item:hover,
.nav-item.active {
  background: var(--blue-light);
  color: var(--blue-primary);
}

.badge-count {
  background: var(--green-primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Friendly Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
}

.btn-xs {
  padding: 7px 12px;
  font-size: 0.82rem;
  border-radius: 999px;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 1rem;
}

.btn-xl {
  padding: 15px 24px;
  font-size: 1.05rem;
}

.full-width {
  width: 100%;
}

.negotiate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  background: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(31, 107, 58, 0.28);
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.32);
}

.btn-green:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-hangup {
  background: #b91c1c;
  color: #ffffff;
  border-color: #991b1b;
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.28);
}

.btn-hangup:hover {
  background: #991b1b;
  transform: translateY(-1px);
}

.btn-hangup:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-gold-friendly {
  background: var(--soil);
  color: #f7fbf6;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(140, 90, 50, 0.28);
}

.btn-gold-friendly:hover {
  background: #6b3f1d;
  color: #f7fbf6;
}

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

.btn-outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-light);
}

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

.btn-light:hover {
  background: var(--border-color);
}

.btn-link {
  background: none;
  border: none;
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.btn-link:hover {
  text-decoration: underline;
}

/* Friendly Hero Section */
.hero-friendly {
  background:
    radial-gradient(ellipse 280px 70px at 18% 88%, #c9e39a 0%, transparent 70%),
    #eef6df;
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--border-color);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(340px, 1.15fr);
  gap: 32px;
  align-items: start;
}

.hero-copy {
  text-align: left;
  padding-top: 0;
}

.hero-mascot {
  width: min(230px, 70%);
  height: auto;
  display: block;
  margin: 0 0 8px;
  animation: robotBob 3.4s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes robotBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero-center-box {
  max-width: none;
  margin: 0;
  text-align: left;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.hero-trust-pill {
  border: 1px solid var(--border-strong);
  background: rgba(247, 251, 246, 0.92);
  justify-content: flex-start;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: liveDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pill-divider {
  color: var(--text-muted);
  opacity: 0.5;
}

.hero-heading {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-align: left;
  max-width: 14em;
}

.hero-work {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0 0 16px;
  padding: 0;
  max-width: 22rem;
}

.hero-work li {
  background: #fffdf8;
  border: 2px solid #c9e39a;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1d5c30;
}

.hero-heading em {
  font-style: normal;
  font-weight: 500;
  display: block;
  margin-top: 6px;
}

.animated-gradient-text {
  color: inherit;
  font-weight: 500;
}

@keyframes shimmerGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 250% 50%;
  }
}

@keyframes liveDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.75);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pillFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.highlight-blue {
  color: var(--blue-primary);
}

.highlight-green {
  color: var(--green-primary);
}

.hero-subtext {
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 0 18px;
  line-height: 1.55;
  text-align: left;
}

@media (max-width: 640px) {
  .hero-break {
    display: none;
  }
}

body.dark-theme .hero-friendly {
  background:
    radial-gradient(ellipse 280px 70px at 18% 88%, #1d3a28 0%, transparent 70%),
    #0e1a14;
}

body.dark-theme .hero-chatbot-card {
  background: #17261c;
  box-shadow: 0 14px 0 #1d3a28;
}

body.dark-theme .hero-chatbot-card::before {
  background: #17261c;
}

body.dark-theme .hero-trust-pill {
  background: rgba(23, 38, 28, 0.92);
  border-color: #3d5c48;
}

/* =======================================================================
   HERO AI CHATBOT CONCIERGE INTERFACE
   ======================================================================= */
.hero-chatbot-card {
  background: #fffdf8;
  border: 3px solid #2f7d43;
  border-radius: 36px;
  box-shadow: 0 14px 0 #c9e39a;
  text-align: left;
  margin: 12px 0 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.hero-chatbot-card::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 42px;
  width: 22px;
  height: 22px;
  background: #fffdf8;
  border-left: 3px solid #2f7d43;
  border-bottom: 3px solid #2f7d43;
  border-radius: 0 0 0 6px;
  transform: rotate(45deg);
}

@keyframes heroCardAura {
  0%, 100% {
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.10), 0 4px 12px rgba(0, 0, 0, 0.04);
  }
  50% {
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.18), 0 6px 18px rgba(16, 185, 129, 0.08);
  }
}

.hero-chatbot-header {
  background: #f3fbe4;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 32px 32px 0 0;
}

.hero-chatbot-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-chatbot-avatar {
  width: 48px;
  height: 56px;
  object-fit: contain;
  background: transparent;
  border: 0;
  flex-shrink: 0;
}

.hero-chatbot-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.hero-chatbot-online-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.14);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-chatbot-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-chatbot-messages {
  padding: 18px 20px;
  max-height: 380px;
  min-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fffdf8;
}

.hero-chat-close-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: #fffdf8;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#heroChatResetBtn {
  white-space: nowrap;
}

body.hero-chat-full {
  overflow: hidden;
}

.hero-chatbot-card.is-full {
  position: fixed;
  inset: 0;
  z-index: 110;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  animation: heroChatOpen 0.18s ease-out;
}

.hero-chatbot-card.is-full::before {
  display: none;
}

.hero-chatbot-card.is-full .hero-chatbot-header,
.hero-chatbot-card.is-full .hero-chatbot-footer {
  border-radius: 0;
}

.hero-chatbot-card.is-full .hero-chatbot-header {
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
}

.hero-chatbot-card.is-full .hero-chatbot-messages {
  flex: 1;
  max-height: none;
  min-height: 0;
}

.hero-chatbot-card.is-full .hero-chatbot-messages > *,
.hero-chatbot-card.is-full .hero-chatbot-input-bar,
.hero-chatbot-card.is-full .hero-chatbot-footer > span {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-chatbot-card.is-full .hero-chatbot-input-bar {
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.hero-chatbot-card.is-full .hero-chat-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@keyframes heroChatOpen {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero-chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: fadeInMsg 0.25s ease-out;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-chat-msg.bot {
  justify-content: flex-start;
}

.hero-chat-msg.user {
  justify-content: flex-end;
}

.hero-msg-avatar {
  width: 36px;
  height: 42px;
  object-fit: contain;
  background: transparent;
  border: 0;
  flex-shrink: 0;
}

.hero-chat-msg.user .hero-msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5f4c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-msg-bubble {
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.45;
  max-width: 88%;
}

.hero-chat-msg.bot .hero-msg-bubble {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-top-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.hero-chat-msg.user .hero-msg-bubble {
  background: var(--blue-primary);
  color: #fff;
  border-top-right-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.hero-chip-group {
  margin-top: 10px;
}

.hero-chip-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.hero-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.hero-suggest-btn {
  background: var(--bg-muted);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hero-suggest-btn:hover,
.hero-suggest-btn.is-on {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.hero-chip-group .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

@media (hover: none) {
  .hero-suggest-btn:hover:not(.is-on) {
    background: var(--bg-muted);
    color: var(--text-primary);
    border-color: var(--border-strong);
  }

  .hero-suggest-btn:active {
    transform: scale(0.97);
  }
}

.hero-bot-mini-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-bot-mini-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 5px 0 6px;
}

.hero-bot-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.hero-bot-mini-tags .service-tag {
  font-size: 0.68rem;
  padding: 2px 8px;
  background: #ecfdf5;
  color: #047857;
}

.hero-bot-mini-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 220px;
}

.hero-bot-mini-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-chatbot-input-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 12px 18px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-input-wrapper {
  position: relative;
  flex: 1;
}

.hero-input-wrapper input {
  width: 100%;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 13px 40px 13px 16px;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.15s;
}

.hero-input-wrapper input:focus {
  border-color: var(--blue-primary);
  background: var(--bg-surface);
}

.hero-input-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--border-color);
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.75rem;
}

.hero-chat-send-btn {
  white-space: nowrap;
  padding: 13px 22px;
  font-size: 0.98rem;
  font-weight: 800;
  border-radius: var(--radius-md);
}

.hero-chatbot-footer {
  background: #f3fbe4;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 32px 32px;
  padding: 10px 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-quick-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-mini-select {
  padding: 6px 12px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.hero-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-primary);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Popular Chips & Legacy Support */
.popular-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.popular-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
}

.chip-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.16s;
}

.chip-btn:hover {
  border-color: var(--blue-primary);
  background: var(--blue-light);
  color: var(--blue-primary);
}

/* Main Explorer Section */
.main-content {
  padding: 32px 0;
}

.filter-block {
  margin-bottom: 24px;
}

.filter-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.filter-block-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
}

/* Big Friendly Niche Cards */
.niche-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
}

.niche-card-btn {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 28px;
  padding: 18px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-family: var(--font-main);
  transition: all 0.18s;
  box-shadow: var(--shadow-sm);
}

.niche-card-btn:hover {
  border-color: var(--blue-primary);
  transform: translateY(-2px);
}

.niche-card-btn.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 107, 58, 0.28);
}

.niche-card-icon {
  font-size: 2rem;
}

.niche-card-title {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;
}

.niche-card-count {
  font-size: 0.74rem;
  opacity: 0.8;
  font-weight: 600;
}

.quote-jobs-bar {
  margin-top: 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 14px 16px;
}

.quote-jobs-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.quote-jobs-head strong {
  font-size: 0.95rem;
}

.quote-job-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  align-items: center;
}

.quote-job-chip {
  border: 1.5px solid #8fb56e;
  background: #f3fbe4;
  color: #1d5c30;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.quote-job-chip span {
  margin-left: 4px;
}

.quote-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.quote-cat-pill {
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.quote-cat-pill.is-on {
  background: #1d5c30;
  border-color: #1d5c30;
  color: #fff;
}

.quote-job-add .quote-job-chip {
  background: #fff;
  border-color: var(--border-color);
  color: var(--text-secondary);
}

.quote-job-add .quote-job-chip:hover {
  border-color: #1d5c30;
  color: #1d5c30;
}

.quote-add-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.quote-add-row input {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .quote-add-row {
    grid-template-columns: 1fr;
  }
}

/* Filter Toolbar (Zones + Stars + Sort) */
.filter-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.toolbar-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toolbar-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.zones-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.zone-pill-btn {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.16s;
}

.zone-pill-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.zone-pill-btn.active {
  background: var(--blue-light);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  font-weight: 800;
}

.toolbar-divider {
  height: 1px;
  background: var(--border-color);
  margin: 14px 0;
}

.toolbar-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.star-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.star-pill {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 99px;
  cursor: pointer;
}

.star-pill.active {
  background: var(--gold-light);
  border-color: var(--gold-primary);
  color: var(--gold-text);
  font-weight: 800;
}

.clean-select {
  background: var(--bg-muted);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Directory Header & Friendly Business Cards */
.directory-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.directory-header-bar h2 {
  font-size: 1.4rem;
  font-weight: 800;
}

.directory-header-bar p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.directory-quick-btns {
  display: flex;
  gap: 10px;
}

.friendly-biz-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.friendly-biz-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.18s;
}

.friendly-biz-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
}

.friendly-biz-card.is-selected {
  border-color: var(--green-primary);
  background: linear-gradient(90deg, var(--green-light) 0%, var(--bg-surface) 35%);
}

.biz-left-content {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.biz-rank-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 68px;
}

.biz-big-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.biz-rank-tag {
  background: var(--text-primary);
  color: var(--bg-surface);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
}

.biz-rank-tag.top-gold {
  background: #f59e0b;
  color: #0f172a;
}

.biz-main-details {
  flex: 1;
}

.biz-header-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.biz-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.badge-verified {
  background: var(--green-light);
  color: var(--green-text);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
}

/* Super Clear Star Rating Box */
.friendly-stars-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.stars-gold-icons {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.stars-number {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
}

.stars-reviews-link {
  color: var(--blue-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}

.biz-easy-description {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* 3 Clear Key Info Boxes (Zona, Tiempo, Garantía) */
.biz-quick-facts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.fact-pill {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.biz-service-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.service-tag {
  background: var(--bg-soft);
  color: var(--blue-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

/* Right Action Box on Business Card */
.biz-right-box {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.price-friendly-box {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.price-from-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
}

.price-big-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.ai-discount-tag {
  display: inline-block;
  margin-top: 4px;
  background: var(--green-light);
  color: var(--green-text);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
}

/* Saved Deals Section */
.job-crews-section {
  padding: 12px 0 36px;
}

.job-crew-group {
  margin: 0 0 28px;
}

.job-crew-group h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.job-crew-group .lead-fineprint {
  margin: 0 0 12px;
}

.biz-job-line {
  margin: 2px 0 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--green-dark, #1f6b45);
}

.hero-job-crew-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.saved-deals-section {
  padding: 44px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.saved-deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.badge-green {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-text);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 6px;
}

.total-saved-box {
  background: var(--green-light);
  color: var(--green-text);
  border: 2px solid var(--green-primary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}

.saved-deals-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

.friendly-deal-card {
  background: var(--bg-page);
  border: 2px solid var(--green-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.friendly-deal-card.deal-open {
  border-color: var(--border-strong);
}

.deal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.deal-card-when {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
}

.deal-now {
  background: var(--bg-soft);
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 12px 14px;
}

.deal-now-kicker {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-text);
}

.deal-now h3 {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 800;
}

.deal-now p,
.deal-next,
.deal-jobs {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.deal-next {
  padding: 10px 12px;
  background: var(--gold-light);
  border-radius: 14px;
  color: var(--gold-text);
}

.deal-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.deal-path li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--bg-muted);
  border-left: 4px solid var(--border-strong);
}

.deal-path li span {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
}

.deal-path li b {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.deal-path li.is-done {
  border-left-color: var(--green-primary);
  background: var(--green-light);
}

.deal-path li.is-now,
.deal-path li.is-next {
  border-left-color: var(--gold-primary);
  background: var(--gold-light);
}

.deal-path li.is-hold,
.deal-path li.is-missed,
.deal-path li.is-stopped {
  border-left-color: var(--soil);
}

.deal-price-label {
  font-size: 0.76rem;
  color: var(--green-primary);
  font-weight: 700;
  display: block;
}

.deal-price-now {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-primary);
}

.deal-wait-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.deal-empty {
  grid-column: 1 / -1;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--bg-surface);
}

.deal-empty h3 {
  margin: 0 0 6px;
}

.deal-empty p {
  margin: 0;
  color: var(--text-secondary);
}

.deal-email-back {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding: 12px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  background: var(--bg-surface);
}

.deal-email-back label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
}

.deal-mail-thread {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  font-size: 0.86rem;
}

.deal-mail-thread.is-ai {
  background: #ecfdf3;
  border-color: #86efac;
}

.deal-mail-thread strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.deal-mail-thread p {
  margin: 0;
  white-space: pre-wrap;
}

.deal-email-back input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-family: var(--font-main);
  font-weight: 700;
}

.deal-quote-back {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.deal-quote-back input {
  flex: 1;
  min-width: 140px;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  font-family: var(--font-main);
  font-weight: 700;
}

.deal-prices-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Floating Bottom Bar */
.floating-selection-bar {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none;
}

.floating-bar-content {
  pointer-events: auto;
  background: var(--text-primary);
  color: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 14px 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.floating-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-count-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.mini-floating-chip {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mini-floating-chip button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.floating-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =======================================================================
   MODALS (FRIENDLY, CLEAN, SPACIOUS)
   ======================================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

#prepareCallModal,
#customerProfileModal {
  z-index: 260;
}

.modal-window {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.modal-wide { max-width: 1140px; }
.modal-medium { max-width: 780px; }
.modal-small { max-width: 560px; }

.modal-top {
  padding: 18px 24px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-top-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-friendly-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 2px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.modal-top-title h2 {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-top-title p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.close-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.close-circle-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.modal-body-scroll {
  padding: 24px;
  overflow-y: auto;
}

/* AI Negotiator Friendly Grid */
.modal-content-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) 1.08fr;
  gap: 20px;
  padding: 20px;
  overflow-y: auto;
}

.easy-config-panel {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  max-height: calc(92vh - 110px);
  overflow-y: auto;
}

.form-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1.5px solid #fca5a5;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.step-badge {
  display: inline-block;
  background: var(--blue-primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.selected-biz-summary {
  margin-bottom: 14px;
}

.small-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 6px;
}

.mini-biz-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bid-job-group {
  background: #fff;
  border: 1.5px solid #c9d6b4;
  border-radius: 14px;
  padding: 8px;
}

.bid-job-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 2px 4px 8px;
}

.bid-job-head strong {
  font-size: 0.88rem;
}

.bid-job-head span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.bid-job-empty {
  margin: 0;
  padding: 6px 4px 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.bid-job-group .mini-biz-pill {
  margin: 0 0 6px;
}

.bid-job-group .mini-biz-pill:last-child {
  margin-bottom: 0;
}

.mini-biz-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-biz-pill.is-reaching {
  border-color: #8fb56e;
  background: #f3fbe4;
}

.mini-biz-pill.is-skip {
  opacity: 0.72;
}

.mini-biz-jobs {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.3;
}

.mini-biz-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.mini-biz-stars {
  color: var(--green-primary);
  font-weight: 800;
  white-space: nowrap;
}

.mini-biz-reach {
  display: flex;
  gap: 6px;
}

.reach-toggle {
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.reach-toggle.is-on {
  background: #1d5c30;
  border-color: #1d5c30;
  color: #fff;
}

.reach-from-list {
  margin-top: 10px;
}

.reach-from-list .reach-count-field label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.easy-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prepare-brief {
  background: var(--bg-soft);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.prepare-brief strong {
  color: var(--text-primary);
}

.field-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-box label {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-highlight {
  color: var(--green-primary);
  font-size: 1.05rem;
}

.field-box input[type="text"],
.field-box input[type="number"],
.field-box textarea {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  outline: none;
}

.quick-fill-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.quick-fill-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 99px;
  cursor: pointer;
}

.quick-fill-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.friendly-slider {
  width: 100%;
  accent-color: var(--green-primary);
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.budget-inputs-hidden {
  display: none;
}

.simple-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.priority-option input {
  display: none;
}

.priority-option span {
  display: block;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  padding: 9px 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.priority-option input:checked + span {
  background: var(--blue-light);
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.protection-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Right Results Panel in Negotiator Modal */
.easy-results-panel {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.results-status-banner {
  background: var(--bg-surface);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.status-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f59e0b;
}

.status-indicator.active {
  background: var(--green-primary);
}

.best-saving-pill {
  background: var(--green-light);
  color: var(--green-text);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 800;
}

.friendly-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.neg-tab {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-bottom: none;
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 12px 12px 0 0;
  font-family: var(--font-main);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.neg-tab.active {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.results-viewport {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}

.friendly-empty-state {
  margin: auto;
  text-align: center;
  max-width: 480px;
  padding: 24px;
}

.empty-illustration {
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.empty-benefits {
  list-style: none;
  margin-top: 16px;
  text-align: left;
  background: var(--bg-surface);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Friendly Comparison Cards in Modal */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.offer-compare-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.offer-compare-card.winner-offer {
  border: 3px solid var(--green-primary);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.16);
}

.winner-ribbon {
  background: var(--green-primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  width: fit-content;
}

.offer-price-big {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-primary);
}

.offer-old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-right: 6px;
}

.offer-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Chat Bubbles in Modal */
.chat-msg {
  max-width: 86%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}

.chat-msg.ai-msg {
  align-self: flex-start;
  background: var(--blue-light);
  border-left: 4px solid var(--blue-primary);
}

.chat-msg.biz-msg {
  align-self: flex-end;
  background: var(--bg-surface);
  border: 1.5px solid var(--green-primary);
}

.chat-msg.system-msg {
  align-self: center;
  max-width: 96%;
  background: var(--gold-light);
  border: 1px solid var(--gold-primary);
  text-align: center;
}

.msg-sender {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
}

/* Easy Intervention Bar */
.easy-intervention-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.easy-intervention-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.easy-action-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.easy-custom-msg {
  display: flex;
  gap: 8px;
}

.easy-custom-msg input {
  flex: 1;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
}

/* Toast */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--text-primary);
  color: var(--bg-surface);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  font-weight: 700;
  max-width: 380px;
}

/* Footer */
.footer-friendly {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 28px 0;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .hero-heading,
  .hero-subtext {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-mascot {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-trust-pill {
    justify-content: center;
  }
  .hero-chatbot-card::before {
    display: none;
  }
  .easy-search-bar {
    grid-template-columns: 1fr;
  }
  .friendly-biz-card {
    grid-template-columns: 1fr;
  }
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-menu {
    display: none;
  }
  .biz-left-content {
    flex-direction: column;
  }
}

/* Bland.ai Voice & Phone Call Integration Styles */
.bland-pulse-calling {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid #10b981;
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.88rem;
  animation: pulseCalling 1.8s infinite;
}

@keyframes pulseCalling {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

.bland-transcript-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  max-height: 280px;
  overflow-y: auto;
}

.transcript-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transcript-entry.user, .transcript-entry.assistant {
  align-items: flex-start;
}

.transcript-sender {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.transcript-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 90%;
}

.transcript-entry.assistant .transcript-bubble {
  background: var(--bg-surface);
  border: 1.5px solid var(--blue-primary);
  color: var(--text-primary);
  border-top-left-radius: 2px;
}

.transcript-entry.user .transcript-bubble {
  background: var(--bg-soft);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  border-top-right-radius: 2px;
}

.bland-recording-player {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.hero-lead-form {
  margin-top: 18px;
  text-align: left;
  max-width: 28rem;
}

.lead-inline-form label,
.lead-card-form label,
.lead-popup-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.lead-inline-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lead-inline-row input,
.lead-card-form input,
.lead-popup-card input {
  flex: 1 1 180px;
  min-height: 46px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-main);
  font-size: 1rem;
  background: #fffdf8;
  color: var(--text-primary);
}

.lead-fineprint,
.lead-status {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.lead-popup {
  position: fixed;
  inset: 0;
  background: rgba(28, 51, 36, 0.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 120;
  padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}

.lead-popup.is-open {
  display: flex;
}

.lead-popup-card {
  background: #fffdf8;
  border: 3px solid #2f7d43;
  border-radius: 32px 32px 16px 16px;
  padding: 22px 22px 18px;
  width: min(440px, 100%);
  box-shadow: 0 14px 0 #c9e39a;
  position: relative;
}

.lead-popup-card .close-circle-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}

.lead-popup-card h2 {
  font-size: 1.45rem;
  margin: 0 0 8px;
  padding-right: 40px;
}

.lead-popup-card .page-mascot {
  width: 56px;
  height: auto;
  margin-bottom: 6px;
}

.lead-popup-card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.lead-popup-card form label {
  margin-bottom: 0;
}

.lead-popup-card form input {
  flex: none;
  width: 100%;
}

.lead-popup-card form .btn {
  min-height: 48px;
}

.lead-popup-card form .btn-link {
  align-self: center;
  min-height: 44px;
  padding: 8px 20px;
}

.lead-popup-card .lead-fineprint {
  margin: 0;
  text-align: center;
}

.lead-popup-card .lead-status:empty {
  display: none;
}

@media (min-width: 720px) {
  .lead-popup {
    align-items: center;
  }
  .lead-popup-card {
    border-radius: 32px;
  }
}

.page-sheet {
  padding: 28px 0 64px;
}

.page-narrow {
  max-width: 680px;
}

.legal-page h2 {
  margin-top: 1.6em;
  font-size: 1.15rem;
}

.legal-page p,
.legal-page li {
  line-height: 1.55;
}

.legal-updated {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-surface);
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.cookie-bar p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
}

.page-mascot {
  width: 110px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.price-cards {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.price-card,
.lead-card-form,
.ask-block {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 18px;
}

.price-range {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-primary);
  margin: 4px 0 8px;
}

.ask-block ol {
  margin: 10px 0 0 18px;
}

.owner-points {
  margin: 16px 0 22px 18px;
}

.lead-card-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.ok-note {
  background: var(--green-light);
  color: var(--green-text);
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: inherit;
  font-weight: 600;
}

.bots-wrap {
  max-width: 980px;
}

.bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.bot-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bot-card h2 {
  margin: 0;
  font-size: 1.25rem;
}

.bot-skill {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-primary);
}

.bot-when {
  margin-top: auto;
  color: var(--text-muted, #5a6b5e);
  font-size: 0.9rem;
}

.bot-report {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  padding: 18px;
  margin-top: 12px;
}

.bot-report pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
}

.yard-ask-card {
  padding: 8px 0 28px;
}

.yard-ask-inner {
  background: var(--bg-surface);
  border: 3px solid var(--green-primary);
  border-radius: 32px;
  box-shadow: 0 10px 0 #c9e39a;
  padding: 22px;
  display: grid;
  gap: 16px;
}

.yard-desk .yard-ask-card {
  padding: 0;
}

.yard-ask-inner h2 {
  margin: 0 0 8px;
}

.yard-ask-inner p,
.yard-ask-inner li {
  color: var(--text-secondary);
}

.yard-ask-inner ul {
  margin: 0;
  padding-left: 18px;
}

.hero-chatbot-input-bar {
  flex-wrap: wrap;
}

.yard-chat-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.yard-chat-sheet[hidden] {
  display: none !important;
}

.yard-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 51, 36, 0.45);
}

.yard-chat-dialog {
  position: relative;
  z-index: 1;
  background: #fffdf8;
  border: 3px solid #2f7d43;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.yard-chat-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.yard-chat-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.yard-chat-header p {
  margin: 2px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.yard-chat-header-actions {
  display: flex;
  gap: 6px;
  align-items: flex-start;
}

#yardChatListBtn[hidden],
#yardChatNewBtn[hidden] {
  display: none !important;
}

.yard-chat-notice,
.yard-chat-list,
.yard-chat-thread {
  padding: 14px 16px;
}

.yard-chat-services {
  padding: 0;
  max-height: none;
  overflow: visible;
}

.yard-chat-notice {
  background: #e5f4c8;
}

.yard-chat-thread {
  flex: 1;
  overflow: auto;
}

.yard-chat-empty,
.yard-chat-empty-state p,
.yard-chat-status {
  color: var(--text-secondary);
}

.yard-chat-list,
.yard-chat-thread,
.yard-chat-composer,
.yard-chat-status,
.yard-chat-services {
  display: none;
}

.yard-chat-list:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  overflow: auto;
  padding: 16px;
}

.yard-chat-thread:not([hidden]) {
  display: block;
  flex: 1;
  overflow: auto;
}

.yard-chat-composer:not([hidden]) {
  display: flex;
}

.yard-chat-status:not([hidden]) {
  display: block;
}

.yard-chat-services:not([hidden]) {
  display: block;
  flex: 0 0 auto;
  border-top: 2px solid #2f7d43;
  background: #f3fbe4;
}

.yard-chat-list-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yard-chat-list-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.yard-chat-list-item strong {
  font-size: 1rem;
}

.yard-chat-list-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.yard-chat-list-item.is-active {
  border-color: var(--green-primary);
  background: var(--green-light);
}

.yard-msg {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.yard-msg.is-user {
  align-items: flex-end;
}

.yard-msg.is-bot {
  align-items: flex-start;
}

.yard-msg-bubble {
  max-width: 85%;
  border-radius: 18px;
  padding: 10px 12px;
  white-space: pre-line;
}

.yard-msg.is-user .yard-msg-bubble {
  background: #2f7d43;
  color: #fff;
}

.yard-msg.is-bot .yard-msg-bubble {
  background: #fff;
  border: 1.5px solid var(--border-color);
}

.yard-msg.is-finder {
  align-items: stretch;
  width: 100%;
}

.yard-msg.is-finder .yard-finder-bubble {
  width: 100%;
  max-width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-primary);
  white-space: normal;
  padding: 12px;
}

.yard-finder-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.yard-finder-head span {
  color: var(--green-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.yard-finder-job {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 8px 10px 4px;
  margin: 8px 0 0;
}

.yard-finder-job-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.yard-finder-job-top strong {
  font-size: 0.92rem;
  line-height: 1.3;
}

.yard-finder-count {
  color: var(--green-text);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.yard-finder-shop {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 0;
  border-top: 1px solid var(--border-color);
  min-width: 0;
}

.yard-finder-shop strong {
  font-size: 0.95rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.yard-finder-meta {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.35;
}

.yard-finder-tags,
.hero-pro-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.yard-finder-tags span,
.hero-pro-tags span {
  background: var(--green-light);
  color: var(--green-text);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.yard-finder-empty {
  margin: 8px 0 6px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.35;
}

.yard-finder-shimmer {
  height: 36px;
  margin: 8px 0 6px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg-surface) 50%, var(--bg-soft) 100%);
  background-size: 200% 100%;
  animation: yard-finder-shine 1.2s ease-in-out infinite;
}

@keyframes yard-finder-shine {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.yard-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.yard-chip.is-add {
  background: #fffdf8;
}

.yard-chip.is-ready {
  background: #2f7d43;
  color: #fff;
  border-color: #2f7d43;
}

.yard-chip,
.yard-service-chip {
  border: 1.5px solid var(--border-strong);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font: inherit;
  cursor: pointer;
}

.yard-service-chip.is-on {
  background: #2f7d43;
  color: #fff;
  border-color: #2f7d43;
}

.yard-ticket {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 10px 12px 12px;
  box-shadow: none;
}

.yard-ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
}

.yard-ticket-top strong {
  font-size: 0.92rem;
}

.yard-ticket-top span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.yard-ticket-jobs,
.yard-ticket-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yard-job {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #8fb56e;
  background: #fffdf8;
  color: var(--text-primary);
  border-radius: 999px;
  padding: 6px 11px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.yard-job.is-on {
  background: #2f7d43;
  color: #fff;
  border-color: #2f7d43;
}

.yard-job.is-add {
  border-style: dashed;
  background: transparent;
  color: #1d5c30;
}

.yard-ticket-more {
  margin: 8px 0 0;
  max-height: 96px;
  overflow: auto;
}

.yard-ticket > .btn {
  margin-top: 10px;
}

.yard-ticket-next,
.yard-ticket-where,
.yard-ticket-sending,
.yard-ticket-sent p {
  margin: 10px 0 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.35;
}

.yard-ticket-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.yard-ticket-form label {
  display: grid;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.yard-ticket-form input {
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 9px 10px;
  font: inherit;
  font-weight: 500;
  background: #fffdf8;
}

.yard-ticket-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 8px;
}

.yard-ticket-sent strong {
  display: block;
  margin-top: 6px;
}

.yard-ticket-sent .btn + .btn {
  margin-top: 8px;
}

.yard-chat-composer {
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-color);
}

.yard-chat-composer input[type="text"] {
  flex: 1;
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  padding: 10px 12px;
  font: inherit;
}

.yard-chat-thumbs {
  display: flex;
  gap: 6px;
}

.yard-thumb {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.yard-thumb img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
}

.yard-quote-form,
.yard-add-service {
  display: none;
}

.yard-chat-status {
  padding: 0 16px 12px;
  min-height: 1.2em;
}

.yard-chat-bar {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #1d5c30;
  color: #fff;
}

.yard-chat-bar-link,
.yard-chat-bar-ask {
  flex: 1;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 12px 8px 14px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.yard-chat-bar-ask {
  background: #2f7d43;
}

body {
  padding-bottom: 58px;
}

@media (min-width: 640px) {
  .yard-chat-dialog {
    width: min(448px, calc(100% - 32px));
    height: 720px;
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    border-radius: 28px;
  }

  .yard-ask-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.reach-count-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.reach-count-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reach-count-field .clean-select {
  width: 100%;
}

.live-call-booth {
  background: var(--bg-soft, #f3fbe4);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.live-call-booth.is-live {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16);
}

.live-booth-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live-booth-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bland-pulse-calling.is-still {
  animation: none;
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.live-call-timer {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.live-booth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.live-call-budget {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.live-call-who,
.live-call-job,
.live-booth-empty {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.live-transcript-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.live-transcript-head span:last-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.live-transcript {
  min-height: 140px;
  max-height: 280px;
}

.live-transcript-wait,
.live-summary {
  padding: 16px 10px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.live-summary {
  text-align: left;
  background: var(--bg-soft, #f3fbe4);
  border: 1.5px solid var(--border-strong, #8fb56e);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.live-work-log.is-live {
  max-height: 220px;
}

.live-work h3 {
  margin: 14px 0 10px;
}

.live-work-log {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  max-height: 180px;
  overflow: auto;
}

.live-work-log li {
  background: #fffdf8;
  border-left: 4px solid #2f7d43;
  padding: 6px 10px;
  margin-bottom: 6px;
  font-size: 0.88rem;
}

.live-work-log li span {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.live-work-log li.is-wait {
  border-left-color: #8c5a32;
}

.live-work-log li.is-done {
  border-left-color: #1d5c30;
  background: #e5f4c8;
}

.live-crew-grid {
  display: grid;
  gap: 10px;
}

.live-crew-card {
  background: #f3fbe4;
  border: 2px solid #8fb56e;
  border-radius: 16px;
  padding: 12px;
}

.live-crew-status {
  font-weight: 700;
  color: #1d5c30;
}

.live-crew-price {
  font-size: 1.2rem;
  font-weight: 800;
}

.live-email {
  white-space: pre-wrap;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  font: inherit;
  font-size: 0.82rem;
}

.live-line {
  font-size: 0.82rem;
  margin-top: 6px;
}

.badge-clicks {
  display: inline-block;
  margin-left: 6px;
  background: #fff8e8;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-claim {
  display: inline-block;
  margin-left: 6px;
  background: #f3e6d4;
  color: #6b3f1d;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-claim.is-on {
  background: #e5f4c8;
  color: #1d5c30;
}

.claim-listing-name {
  font-weight: 700;
  margin: 0 0 12px;
}

#claimListingForm label {
  display: block;
  margin: 10px 0 4px;
  font-weight: 600;
}

#claimListingForm input {
  width: 100%;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.claim-find {
  margin: 28px 0 16px;
  padding: 18px;
  background: var(--bg-surface);
  border: 3px solid var(--green-primary);
  border-radius: 28px;
}

.claim-find-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.claim-find-row {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  background: #f3fbe4;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}

.claim-find-row em {
  color: #1d5c30;
  font-style: normal;
  font-weight: 700;
}

.shop-desk {
  --bg-page: #d8e4c8;
}

.shop-wrap {
  padding: 28px 0 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shop-ready .shop-hero,
.shop-ready .shop-steps {
  display: none;
}

.shop-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 8px;
}

.shop-today {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.shop-today h1 {
  font-size: 1.6rem;
  margin: 0 0 4px;
}

.shop-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  background: #fff8e8;
  border: 2px solid var(--soil);
  border-radius: 999px;
  padding: 8px 14px;
}

.shop-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 720px) {
  .shop-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shop-stats div {
  background: #fff8e8;
  border: 2px solid var(--soil);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 3px 3px 0 var(--soil);
}

.shop-stats strong {
  display: block;
  font-size: 1.4rem;
}

.shop-stats span {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
}

.price-guide-block {
  margin: 8px 0 28px;
}

.price-guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.price-guide-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-guide-typical {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-text);
}

.my-paid-prices {
  margin-top: 10px;
  font-size: 0.88rem;
}

.shop-activity-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.shop-filter {
  border: 1.5px solid var(--border-strong);
  background: var(--bg-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.shop-filter.is-on {
  background: #1c3324;
  color: #fff8e8;
  border-color: #1c3324;
}

.shop-ticket.is-quoted { border-color: var(--green-primary); }
.shop-ticket.is-won { border-color: #1d5c30; background: #eef8e4; }
.shop-ticket.is-open { border-color: var(--soil); }

.shop-ticket-links,
.shop-ticket-tools,
.shop-ticket-quote {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.shop-ticket-quote input,
.shop-ticket-tools input {
  padding: 8px 10px;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.shop-price-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.shop-price-chip {
  border: 1.5px solid var(--soil);
  background: #fff8e8;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.shop-price-add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.shop-price-add input {
  padding: 8px 10px;
  border: 1.5px solid var(--border-strong);
  border-radius: 8px;
  font: inherit;
}

.shop-lead,
.shop-hero p {
  color: var(--text-secondary);
  max-width: 40rem;
}

.shop-steps {
  display: grid;
  gap: 12px;
}

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

.shop-steps article {
  background: #fff8e8;
  border: 2px solid var(--soil);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 3px 3px 0 var(--soil);
}

.shop-steps strong {
  display: block;
  margin-bottom: 4px;
}

.shop-panel {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  padding: 20px;
}

.shop-onboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.shop-panel h2 {
  margin: 0 0 8px;
}

.shop-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shop-job-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-job-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-muted);
  border: 1.5px solid var(--border-color);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.88rem;
}

.shop-tickets {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.shop-ticket {
  background: #fff8e8;
  border: 2px solid var(--soil);
  border-radius: 8px;
  padding: 14px;
}

.shop-ticket.is-quoted {
  border-color: var(--green-primary);
}

.shop-ticket header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 800;
}

.shop-code {
  background: #1c3324;
  color: #fff8e8;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.shop-empty {
  color: var(--text-secondary);
  margin: 8px 0 0;
}

.shop-quote-form {
  max-width: 520px;
}

.shop-quote-form .shop-quote-note {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .shop-quote-form {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 12px;
    align-items: end;
  }
}

.btn-link {
  background: none;
  border: 0;
  color: var(--green-text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .yard-chat-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

.admin-wrap {
  padding: 28px 0 64px;
  max-width: 1180px;
}

.admin-lock {
  max-width: 34rem;
  background: var(--paper);
  border: 3px solid var(--hedge);
  box-shadow: 6px 7px 0 var(--hedge);
  padding: 28px;
}

.admin-lock-form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
}

.admin-lock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.admin-lock-row input,
.admin-lock-form input {
  width: 100%;
  border: 1.5px solid var(--hedge);
  background: var(--bg-muted);
  color: var(--text-primary);
  font: inherit;
  padding: 11px 12px;
  border-radius: 8px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.admin-stat {
  background: var(--paper);
  border: 1.5px solid var(--hedge);
  border-left: 6px solid var(--copper);
  padding: 12px;
}

.admin-stat span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-top: 4px;
  word-break: break-all;
}

.admin-panel {
  background: var(--paper);
  border: 1.5px solid var(--hedge);
  padding: 18px 20px;
  margin: 18px 0;
  box-shadow: 3px 4px 0 var(--fog);
}

.admin-split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 20px;
}

.admin-table-wrap {
  overflow: auto;
  max-height: 420px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.admin-table th {
  font-family: var(--font-display);
  position: sticky;
  top: 0;
  background: var(--paper);
}

.admin-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid var(--hedge);
}

.admin-pill.pending { background: var(--gold-light); }
.admin-pill.approved { background: var(--stripe); }
.admin-pill.rejected { background: #f0d4d0; }

.admin-env {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-env li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.admin-env .is-on strong { color: var(--wetgrass); }
.admin-env .is-off strong { color: #8f2a22; }

.admin-bot-actions {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.admin-report {
  margin-top: 16px;
  background: var(--fog);
  border: 1.5px solid var(--hedge);
  padding: 14px;
}

.admin-report pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .admin-split,
  .admin-lock-row {
    grid-template-columns: 1fr;
  }
}

.yard-desk {
  --bg-page: #e7efe0;
}

.yard-desk .top-helper-bar {
  display: none;
}

.yard-wrap {
  padding: 20px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yard-strip {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.yard-house {
  margin: 0;
  background: #cfe4f6;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.yard-house-svg {
  display: block;
  width: 100%;
  height: auto;
}

.yard-house-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.yard-house-pick {
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  border-radius: 12px;
  padding: 8px 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.yard-house-pick strong,
.yard-house-pick span {
  display: block;
}

.yard-house-pick span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.yard-house-pick.is-on {
  border-color: var(--green-primary);
  background: var(--green-light);
}

@keyframes yard-smoke {
  0% { opacity: 0.7; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-18px); }
}

.yard-smoke {
  transform-box: fill-box;
  transform-origin: center;
  animation: yard-smoke 2.4s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .yard-smoke { animation: none; }
}

.yard-strip h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 6px;
}

.yard-kicker {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--green-text);
}

.yard-strip p,
.yard-strip-side p {
  margin: 0;
  color: var(--text-secondary);
}

.yard-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.yard-edit {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 8px 16px;
}

.yard-edit summary {
  cursor: pointer;
  font-weight: 800;
  padding: 8px 0;
  color: var(--text-secondary);
}

.yard-edit .easy-form {
  padding: 8px 0 16px;
}

.yard-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.yard-col {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  padding: 14px;
  border-top: 6px solid var(--soil);
  min-height: 420px;
}

.yard-col.is-spring { border-top-color: #6f9b4a; }
.yard-col.is-summer { border-top-color: #2f7d43; }
.yard-col.is-fall { border-top-color: #8c5a32; }
.yard-col.is-winter { border-top-color: #4a6670; }

.yard-col.is-now {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 2px var(--green-light);
}

.yard-col header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.yard-col header em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green-text);
}

.yard-col header p {
  margin: 2px 0 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.yard-col-jobs {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.yard-col-jobs li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.yard-col-jobs li.is-empty {
  color: var(--text-muted);
  font-size: 0.88rem;
  border: 0;
}

.yard-col-jobs strong,
.yard-col-jobs span {
  display: block;
}

.yard-col-jobs span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.yard-col-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.yard-col-tools a,
.yard-col-tools button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green-text);
  cursor: pointer;
  text-decoration: none;
}

.yard-col-tools button {
  color: var(--text-muted);
}

.yard-col-quote {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--green-text);
}

.yard-col-add p {
  margin: 0 0 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--text-muted);
}

.yard-col-add button[data-add] {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 6px;
  border: 1.5px dashed var(--border-strong);
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 7px 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.yard-col-add form {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.yard-col-add input {
  flex: 1;
  min-width: 0;
  padding: 7px 8px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font: inherit;
  font-size: 0.82rem;
}

.yard-col-add form button {
  border: 0;
  background: var(--green-light);
  color: var(--green-text);
  font-weight: 800;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .yard-board {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .yard-strip,
  .yard-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-center-box,
  .hero-chatbot-messages,
  .hero-chat-msg,
  .hero-msg-bubble,
  .hero-chip-group {
    min-width: 0;
  }

  .hero-chatbot-card {
    min-width: 0;
    max-width: 100%;
    border-width: 2px;
    border-radius: 24px;
    box-shadow: 0 8px 0 #c9e39a;
    margin-top: 8px;
  }

  .hero-chatbot-header {
    padding: 10px 12px 10px 14px;
    gap: 10px;
    border-radius: 22px 22px 0 0;
  }

  .hero-chatbot-header-left {
    gap: 8px;
    min-width: 0;
  }

  .hero-chatbot-avatar {
    width: 34px;
    height: 40px;
  }

  .hero-chatbot-name {
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .hero-chatbot-desc {
    display: none;
  }

  #heroChatResetBtn {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.86rem;
  }

  .hero-chatbot-messages {
    padding: 12px;
    gap: 10px;
    min-height: 200px;
    max-height: min(600px, 68vh);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .hero-chat-msg {
    gap: 0;
  }

  .hero-chat-msg .hero-msg-avatar,
  .hero-chat-msg.user .hero-msg-avatar {
    display: none;
  }

  .floating-selection-bar {
    bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  }

  .hero-chat-in-view .floating-selection-bar {
    display: none;
  }

  .floating-bar-content {
    margin: 0 10px;
    padding: 8px 8px 8px 10px;
    gap: 8px;
    flex-wrap: nowrap;
    border-radius: 20px;
  }

  .floating-info {
    gap: 8px;
    min-width: 0;
  }

  .floating-info strong {
    display: none;
  }

  .floating-bar-content {
    justify-content: space-between;
  }

  .floating-count-circle {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .floating-chips {
    display: none;
  }

  .floating-buttons {
    gap: 6px;
    flex-shrink: 0;
  }

  .floating-buttons .btn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.86rem;
  }

  .hero-msg-bubble {
    padding: 12px 14px;
    font-size: 0.98rem;
  }

  .hero-chat-msg.bot .hero-msg-bubble {
    max-width: 100%;
    width: 100%;
  }

  .hero-chat-msg.user .hero-msg-bubble {
    max-width: 85%;
  }

  .hero-msg-bubble > p:first-child {
    margin: 0 0 4px;
    line-height: 1.45;
  }

  .hero-chip-group {
    margin-top: 14px;
  }

  .hero-chip-label {
    font-size: 0.86rem;
    color: var(--text-primary);
    margin-bottom: 0;
  }

  .hero-suggestion-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .hero-suggest-btn {
    min-height: 44px;
    padding: 6px 4px;
    font-size: 0.88rem;
    border-radius: 14px;
    line-height: 1.2;
    text-align: center;
  }

  .hero-suggestion-chips > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .hero-suggestion-chips > .btn {
    grid-column: 1 / -1;
    min-height: 46px;
  }

  .hero-chip-group > .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-bot-mini-card {
    padding: 10px 12px;
    align-items: center;
    flex-wrap: nowrap;
  }

  .hero-bot-mini-left {
    min-width: 0;
  }

  .hero-bot-mini-left strong {
    display: block;
    overflow-wrap: anywhere;
  }

  .hero-card-negotiate-btn {
    flex-shrink: 0;
    min-height: 40px;
    padding: 8px 12px;
  }

  .hero-compete-top3-btn {
    min-height: 46px;
    margin-top: 10px;
  }

  .hero-chatbot-input-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
  }

  .hero-input-wrapper {
    grid-column: 1 / -1;
  }

  .hero-input-wrapper input {
    font-size: 16px;
    padding: 12px 40px 12px 14px;
    min-height: 48px;
  }

  .hero-input-clear-btn {
    width: 30px;
    height: 30px;
    right: 9px;
  }

  .hero-chat-send-btn {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.96rem;
  }

  .hero-chatbot-footer {
    border-radius: 0 0 22px 22px;
    padding: 8px 14px;
    font-size: 0.8rem;
    justify-content: center;
    text-align: center;
  }
}


/* Price talk: full screen on phones */
@media (max-width: 760px) {
  #aiNegotiatorModal { padding: 0; align-items: stretch; }
  #aiNegotiatorModal .modal-window { max-width: none; width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  #aiNegotiatorModal .modal-top { padding: 12px 14px; position: sticky; top: 0; z-index: 2; }
  #aiNegotiatorModal .modal-top h2 { font-size: 1.15rem; }
  #aiNegotiatorModal .modal-content-grid { display: block; padding: 12px; flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  #aiNegotiatorModal .modal-content-grid > * { margin-bottom: 14px; min-width: 0; }
  #aiNegotiatorModal .easy-config-panel { max-height: none; overflow: visible; padding: 12px; }
  #aiNegotiatorModal .mini-biz-pill, #aiNegotiatorModal .mini-biz-main { flex-wrap: wrap; gap: 6px; min-width: 0; }
  #aiNegotiatorModal .mini-biz-main strong { word-break: break-word; }
  #aiNegotiatorModal .mini-biz-reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
  #aiNegotiatorModal .reach-count-row, #aiNegotiatorModal .quote-add-row { flex-wrap: wrap; gap: 8px; }
  #aiNegotiatorModal .quote-add-row input { flex: 1 1 100%; min-width: 0; }
  #aiNegotiatorModal input, #aiNegotiatorModal select, #aiNegotiatorModal textarea { max-width: 100%; font-size: 16px; }
  #aiNegotiatorModal .quote-cat-pills, #aiNegotiatorModal .quote-job-chips { flex-wrap: wrap; }
  body.modal-open-lock { overflow: hidden; }
}

/* How it works panels */
.how-it-works { background: var(--bg-soft, #f3faf5); border: 1px solid var(--border-color, #d7e7dc); border-radius: 14px; padding: 12px 16px; margin: 0 0 18px; }
.how-it-works summary { cursor: pointer; font-weight: 800; }
.how-it-works ol { margin: 10px 0 8px 20px; padding: 0; }
.how-it-works li, .how-it-works p { margin: 6px 0; line-height: 1.45; font-size: 0.95rem; }

/* How it works promo */
.hiw-promo { background: linear-gradient(135deg, #0f7a3d 0%, #16a34a 55%, #4ade80 100%); color: #fff; border-radius: 22px; padding: 26px; margin: 0 0 24px; box-shadow: 0 14px 34px rgba(22, 163, 74, 0.28); }
.hiw-kicker { display: inline-block; background: rgba(255,255,255,0.18); padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; }
.hiw-hero h3 { font-size: 1.7rem; line-height: 1.2; margin: 10px 0 8px; color: #fff; }
.hiw-hero p { opacity: 0.95; max-width: 640px; margin: 0; }
.hiw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.hiw-stats div { background: rgba(255,255,255,0.15); border-radius: 14px; padding: 12px; }
.hiw-stats strong { display: block; font-size: 1.4rem; }
.hiw-stats span { font-size: 0.85rem; opacity: 0.9; }
.hiw-steps { list-style: none; padding: 0; margin: 18px 0 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: hiw; }
.hiw-steps li { background: #fff; color: #14532d; border-radius: 16px; padding: 14px; position: relative; counter-increment: hiw; }
.hiw-steps li::before { content: counter(hiw); position: absolute; top: 10px; right: 12px; font-weight: 800; color: #86efac; font-size: 1.3rem; }
.hiw-icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.hiw-steps strong { display: block; margin-bottom: 4px; }
.hiw-steps p { margin: 0; font-size: 0.9rem; color: #3f6b4f; }
.hiw-fine { font-size: 0.85rem; opacity: 0.92; margin: 0; }
@media (max-width: 860px) { .hiw-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .hiw-promo { padding: 18px; border-radius: 18px; }
  .hiw-hero h3 { font-size: 1.3rem; }
  .hiw-stats { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
}

.hiw-steps li::before { content: none; }
.hiw-steps li { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.hiw-steps li:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,0.14); }
.hiw-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #dcfce7; font-size: 1.5rem; margin-bottom: 6px; }
.hiw-num { font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #16a34a; }
.hiw-steps strong { font-size: 1.02rem; color: #14532d; }
.hiw-fine { background: rgba(255,255,255,0.14); border-radius: 12px; padding: 10px 14px; }
@media (max-width: 520px) { .hiw-steps li { flex-direction: row; flex-wrap: wrap; align-items: center; } .hiw-steps li .hiw-num, .hiw-steps li strong, .hiw-steps li p { flex-basis: 100%; } }

/* Business promo */
.biz-promo { margin-top: 20px; background: linear-gradient(135deg, #14532d 0%, #15803d 50%, #22c55e 100%); }
.biz-promo-title { font-size: 2rem; line-height: 1.15; margin: 10px 0 8px; color: #fff; }
.biz-promo-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.biz-promo-cta span { font-size: 0.9rem; opacity: 0.9; }
.biz-promo-btn { background: #fff; color: #14532d; font-weight: 800; padding: 12px 22px; border-radius: 999px; border: 0; box-shadow: 0 6px 16px rgba(0,0,0,0.18); text-decoration: none; }
.biz-promo-btn:hover { background: #f0fdf4; }
@media (max-width: 520px) { .biz-promo-title { font-size: 1.45rem; } .biz-promo-btn { width: 100%; text-align: center; } }

/* Business hero */
.biz-hero .biz-promo-cta { margin: 16px 0 12px; }
.biz-hero-btn { padding: 13px 24px; font-size: 1.02rem; font-weight: 800; border-radius: 999px; }
.biz-call-demo { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.biz-bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.4; }
.biz-bubble.bot { background: #dcfce7; color: #14532d; align-self: flex-start; border-bottom-left-radius: 4px; }
.biz-bubble.you { background: #16a34a; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.biz-job-chip { align-self: center; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 0.85rem; }
.biz-steps-title { color: #fff; margin: 0 0 4px; }
.biz-promo { margin-top: 24px; }
@media (max-width: 520px) { .biz-hero-btn { width: 100%; } }

/* Business call demo v2 */
.biz-call-card { overflow: hidden; }
.biz-call-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #14532d, #16a34a); color: #fff; }
.biz-call-top strong { display: block; font-size: 1.02rem; }
.biz-call-status { font-size: 0.82rem; opacity: 0.92; display: inline-flex; align-items: center; gap: 6px; }
.biz-live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.7); animation: bizPulse 1.4s infinite; }
@keyframes bizPulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.biz-call-tag { margin-left: auto; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 999px; }
.biz-call-demo { min-height: 380px; background: #f8fafc; }
.biz-bubble b { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: .05em; opacity: .7; margin-bottom: 2px; }
.biz-job-card { background: #fff; border: 2px solid #22c55e; border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(22,163,74,.15); }
.biz-job-head { font-weight: 800; color: #15803d; margin-bottom: 8px; }
.biz-job-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; padding: 4px 0; border-top: 1px dashed #e2e8f0; }
.biz-job-row span { color: #64748b; }
.biz-job-row strong { color: #14532d; text-align: right; }
.biz-call-demo.is-anim > * { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .4s ease; }
.biz-call-demo.is-anim > .is-in { opacity: 1; transform: none; }

.biz-call-demo { transition: opacity .5s ease, transform .5s ease; }
.biz-call-demo.is-out { opacity: 0; transform: translateX(-24px); }

/* Live transcript */
.biz-call-demo { max-height: 440px; overflow-y: auto; scroll-behavior: smooth; }
.biz-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.biz-typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .4; animation: bizDot 1s infinite; }
.biz-typing i:nth-child(2) { animation-delay: .15s; } .biz-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bizDot { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-4px); opacity: .9; } }
.biz-job-card.biz-pop { animation: bizPop .45s cubic-bezier(.2,1.4,.4,1); }
@keyframes bizPop { 0% { transform: scale(.85); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.biz-call-demo.is-anim .biz-job-row { opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.biz-call-demo.is-anim .biz-job-row.is-in { opacity: 1; transform: none; }

/* Fix: show from the start, grow as messages arrive */
.biz-call-demo { max-height: none; overflow: visible; }
.biz-call-demo.is-anim > *:not(.is-in) { display: none; }
.biz-call-demo.is-anim > .is-in { animation: bizIn .35s ease; }
@keyframes bizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Admin call desk */
.call-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0; }
.call-totals div { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 10px 12px; }
.call-totals div.bad { background: #fef2f2; border-color: #fecaca; }
.call-totals strong { display: block; font-size: 1.4rem; }
.call-totals span { font-size: .82rem; color: #475569; }
.call-row { border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.call-row-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.call-row-who { font-size: .9rem; margin: 4px 0 8px; }
.call-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.step-pill { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.step-pill.ok { background: #dcfce7; color: #166534; }
.step-pill.bad { background: #fee2e2; color: #991b1b; }
.step-pill.wait { background: #f1f5f9; color: #64748b; }
.call-summary { font-size: .88rem; background: #f8fafc; border-radius: 10px; padding: 8px 10px; }
.call-row audio { width: 100%; margin-top: 6px; }
.call-row pre { white-space: pre-wrap; font-size: .8rem; max-height: 260px; overflow: auto; }
@media (max-width: 640px) { .call-totals { grid-template-columns: repeat(2, 1fr); } }

/* Fair price */
.fair-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 4px}
.fair-chip{font-size:12px;padding:3px 9px;border-radius:999px;background:#eef4f0;color:#2f4a3a}
.fair-chip.is-fair{background:#dff3e6;color:#1f6b3d;font-weight:600}
.fair-chip.is-low{background:#e5f0ff;color:#1d4f91}
.fair-chip.is-high{background:#fdeaea;color:#a03030}
.fair-board{margin-top:16px}
.fair-title{margin:0 0 8px;font-size:15px}
.fair-row{padding:10px 12px;border:1px solid #e3ece6;border-radius:12px;margin-bottom:8px;background:#fbfdfb}
.fair-row-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fair-mid{font-weight:800;color:#2e8b57;font-size:16px}
.fair-range,.fair-shops{font-size:13px;color:#5d6d63;margin-top:3px}
body.dark .fair-row{background:#16211b;border-color:#2a3a30}
