/* ============================================================
   PlantLynk — South Africa's Plant Hire Network
   Shared stylesheet. All pages link to this single file.
   ============================================================ */


/* === Variables ============================================= */
:root {
  --teal-900: #0e4a55;
  --teal-700: #1a6b7a;
  --teal-500: #2a8a9e;
  --teal-100: #d6ebef;
  --bg: #f6f9fa;
  --text: #0f2a31;
  --muted: #5b7a82;
  --shadow: 0 6px 24px rgba(14, 74, 85, .10);
  --radius: 14px;
}


/* === Reset & base ========================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }


/* === Accessibility utilities =============================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  background: var(--teal-900);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 999;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}


/* === Layout ================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* === Header & nav ========================================== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6eef0;
  transition: box-shadow .2s;
}
header.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--teal-700);
}
.logo span {
  font-weight: 300;
  color: var(--teal-900);
}
.logo small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  background: #eef5f7;
  border-radius: 30px;
  padding: 6px;
}
nav ul a {
  padding: 8px 14px;
  border-radius: 24px;
  font-size: 14px;
  color: var(--teal-900);
  transition: .2s;
  display: block;
}
nav ul a:hover,
nav ul a.active {
  background: var(--teal-700);
  color: #fff;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--teal-700);
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
}


/* === Buttons =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: .2s;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-900); }

.btn-outline {
  border-color: var(--teal-700);
  color: var(--teal-700);
  background: #fff;
}
.btn-outline:hover { background: var(--teal-700); color: #fff; }

.btn-ghost { color: var(--teal-700); background: transparent; }
.btn-ghost:hover { color: var(--teal-900); }


/* === Hero ================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding-top: 70px;
  background:
    linear-gradient(135deg, rgba(14, 74, 85, .85), rgba(26, 107, 122, .55)),
    url('https://images.unsplash.com/photo-1599707367072-cd6ada2bc375?w=1800&q=80') center/cover no-repeat;
}
.hero.hero-sm { min-height: 380px; }

.hero-content {
  max-width: 900px;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.hero.hero-sm h1 { font-size: clamp(32px, 5vw, 56px); }

.hero p {
  font-size: clamp(15px, 1.6vw, 19px);
  opacity: .92;
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero .btn-primary { background: #fff; color: var(--teal-700); }
.hero .btn-primary:hover { background: var(--teal-100); }

.hero .btn-outline {
  background: rgba(255, 255, 255, .08);
  border-color: #fff;
  color: #fff;
}
.hero .btn-outline:hover { background: #fff; color: var(--teal-700); }


/* === Hero stat tiles ======================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}
.stat {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 18px 12px;
}
.stat .icon { font-size: 24px; margin-bottom: 6px; }
.stat strong { display: block; font-size: 26px; font-weight: 800; }
.stat span { font-size: 12px; opacity: .85; }


/* === Hero wave divider ===================================== */
.wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  line-height: 0;
  z-index: 1;
}
.wave svg { width: 100%; height: 80px; display: block; }


/* === Sections ============================================== */
section { padding: 90px 0; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title small {
  color: var(--teal-500);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 12px;
  text-transform: uppercase;
}
.section-title h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--teal-900);
  margin-top: 8px;
  font-weight: 800;
}
.section-title p {
  color: var(--muted);
  max-width: 640px;
  margin: 14px auto 0;
}

.bg-soft { background: var(--bg); }

.bg-teal {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #fff;
}
.bg-teal .section-title h2,
.bg-teal .section-title small { color: #fff; }
.bg-teal .section-title p { color: rgba(255, 255, 255, .85); }


/* === Feature cards ========================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: var(--radius);
  padding: 28px;
  transition: .2s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal-100);
}
.feature .ico {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-700);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.feature h3 {
  color: var(--teal-900);
  margin-bottom: 10px;
  font-size: 18px;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
}
.feature.wide { grid-column: 1 / -1; }


/* === Equipment carousel (homepage) ========================= */
.equip-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.equip-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 24px;
}
.equip-card {
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  color: var(--teal-900);
}
.equip-card img {
  height: 140px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.equip-card p { font-size: 13px; font-weight: 600; }

.arrow {
  position: absolute;
  top: 42%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-700);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 18px;
  z-index: 3;
}
.arrow.left { left: -10px; }
.arrow.right { right: -10px; }


/* === Equipment grid (equipment.html) ======================= */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}


/* === Search demo (equipment.html) ========================== */
.search-bar {
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}
.search-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.search-row label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.search-row select,
.search-row input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #d6e2e6;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-filter {
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid #d6e2e6;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-900);
  cursor: pointer;
  transition: .2s;
  font-family: inherit;
}
.chip-filter:hover {
  background: var(--teal-100);
  border-color: var(--teal-100);
}
.chip-filter[aria-pressed="true"] {
  background: var(--teal-700);
  color: #fff;
  border-color: var(--teal-700);
}

.results-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.result-card {
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-card .name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.result-card h3 {
  color: var(--teal-900);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}
.result-card .loc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.result-card .blurb {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.result-card .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.result-card .rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e6eef0;
  padding-top: 14px;
  margin-top: 4px;
  gap: 8px;
}
.result-card .rate {
  font-weight: 800;
  color: var(--teal-900);
  font-size: 15px;
}
.result-card .rate small {
  font-weight: 500;
  color: var(--muted);
  font-size: 11px;
}

.badge-vetted {
  background: var(--teal-100);
  color: var(--teal-900);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty-state .icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.empty-state h3 {
  color: var(--teal-900);
  margin-bottom: 6px;
}


/* === Trusted-by logos ====================================== */
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
  opacity: .8;
}
.logos div {
  font-weight: 700;
  color: var(--muted);
  font-size: 18px;
}


/* === Success stories ======================================= */
.stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.story {
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: var(--radius);
  padding: 24px;
}
.story-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.story-head .ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-700);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.story-head h4 {
  color: var(--teal-900);
  font-size: 17px;
}
.story-head .yrs {
  font-size: 12px;
  color: var(--muted);
}
.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.story-stats div {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.story-stats strong {
  display: block;
  color: var(--teal-900);
  font-size: 20px;
  font-weight: 800;
}
.story-stats span {
  font-size: 11px;
  color: var(--muted);
}
.savings-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  background: var(--teal-100);
  color: var(--teal-900);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 600;
}


/* === How it works steps ==================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.step {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-weight: 700;
}
.step h3 {
  text-align: center;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step .lead {
  text-align: center;
  font-size: 14px;
  opacity: .88;
  margin-bottom: 18px;
}
.step ul {
  list-style: none;
  font-size: 13px;
}
.step ul li {
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  gap: 8px;
}
.step ul li::before {
  content: "✓";
  color: #9ee0d6;
  font-weight: 700;
}


/* === Final CTA ============================================= */
.final-cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  color: #fff;
}
.final-cta h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 14px;
  font-weight: 800;
}
.final-cta p {
  max-width: 580px;
  margin: 0 auto 26px;
  opacity: .92;
}
.final-cta .btn-primary { background: #fff; color: var(--teal-700); }
.final-cta .btn-primary:hover { background: var(--teal-100); }
.final-cta .btn-outline {
  border-color: #fff;
  color: #fff;
}
.final-cta .btn-outline:hover { background: #fff; color: var(--teal-700); }


/* === Team / offices grids ================================== */
.team-grid,
.office-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card,
.office-card {
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.team-card .avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--teal-100);
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: var(--teal-700);
  font-weight: 700;
  font-size: 24px;
}
.team-card h4,
.office-card h4 {
  color: var(--teal-900);
  font-size: 17px;
  margin-bottom: 4px;
}
.team-card p,
.office-card p {
  color: var(--muted);
  font-size: 14px;
}
.office-card { text-align: left; }
.office-card .city {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}


/* === Footer ================================================ */
footer {
  background: #0a3a43;
  color: #cfe1e5;
  padding: 50px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
footer h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
footer ul { list-style: none; }
footer li {
  padding: 5px 0;
  font-size: 14px;
  opacity: .8;
}
footer a:hover { opacity: 1; color: #fff; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  opacity: .6;
}


/* === Modal ================================================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 74, 85, .65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-card {
  background: #fff;
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-card h3 {
  color: var(--teal-900);
  margin-bottom: 8px;
  font-size: 22px;
  padding-right: 32px;
}
.modal-card > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  line-height: 1;
}
.modal-close:hover {
  background: var(--bg);
  color: var(--teal-900);
}

.quote-context {
  background: var(--teal-100);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--teal-900);
  display: none;
}
.quote-context.show { display: block; }
.quote-context strong { display: block; margin-bottom: 4px; }
.quote-context dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  margin-top: 6px;
}
.quote-context dt {
  color: var(--muted);
  font-weight: 600;
}


/* === Forms ================================================= */
.form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-900);
  margin: 10px 0 5px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d6e2e6;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(42, 138, 158, .2);
}
.form textarea {
  min-height: 90px;
  resize: vertical;
}
.form-field.error input,
.form-field.error textarea,
.form-field.error select {
  border-color: #d04b4b;
}
.field-error {
  color: #d04b4b;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}
.form-field.error .field-error { display: block; }

.form-success {
  background: var(--teal-100);
  border: 1px solid var(--teal-500);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.form-success .icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--teal-700);
}
.form-success h4 {
  color: var(--teal-900);
  margin-bottom: 6px;
  font-size: 18px;
}
.form-success p {
  color: var(--teal-900);
  font-size: 14px;
}


/* === Reveal-on-scroll animation ============================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}


/* === Reduced-motion override =============================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.in {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .feature:hover { transform: none; }
}


/* === Responsive overrides ================================== */
@media (max-width: 1200px) {
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  nav ul { display: none; }
  .cta-group .btn-outline,
  .cta-group .btn-primary { display: none; }
  .menu-toggle { display: block; }
  nav.mobile-open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow);
  }
  nav.mobile-open ul a {
    background: transparent;
    text-align: center;
  }
  nav.mobile-open ul a.active,
  nav.mobile-open ul a:hover {
    background: var(--teal-700);
    color: #fff;
  }
  .equip-grid,
  .team-grid,
  .office-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .search-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .stories { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .results-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .equip-grid,
  .team-grid,
  .office-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}


/* ============================================================
   SEARCH-FIRST HOMEPAGE
   New design language for the rebuilt index.html. Reuses
   variables, buttons, modal, and form styles from above.
   ============================================================ */


/* === Search hero =========================================== */
.search-hero {
  background:
    linear-gradient(135deg, rgba(14, 74, 85, .92), rgba(26, 107, 122, .82)),
    url('https://images.unsplash.com/photo-1599707367072-cd6ada2bc375?w=1800&q=80') center/cover no-repeat;
  color: #fff;
  padding: 130px 0 50px;
  text-align: center;
}
.search-hero-inner { max-width: 980px; margin: 0 auto; }
.search-hero h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.search-tagline {
  font-size: clamp(15px, 1.6vw, 18px);
  opacity: .92;
  max-width: 660px;
  margin: 0 auto 32px;
}


/* === Search form (white card on hero) ====================== */
.search-form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr 1.2fr;
  gap: 12px;
}
.search-field {
  display: flex;
  flex-direction: column;
  position: relative;
}
.search-field label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.search-field select,
.search-field input[type="text"],
.search-field input[type="date"] {
  padding: 12px 14px;
  border: 1px solid #d6e2e6;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(42, 138, 158, .2);
}

.locate-btn {
  background: var(--bg);
  border: 1px dashed #c5d6db;
  color: var(--teal-700);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  align-self: flex-start;
  transition: .15s;
}
.locate-btn:hover {
  background: var(--teal-100);
  border-color: var(--teal-500);
  border-style: solid;
}
.locate-btn.active {
  background: var(--teal-100);
  color: var(--teal-900);
  border-style: solid;
  border-color: var(--teal-500);
}

.date-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 6px;
  align-items: center;
}
.date-pair > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.search-submit {
  align-self: stretch;
  padding: 14px 24px;
  font-size: 15px;
  justify-content: center;
}


/* === Filter bar ============================================ */
.filter-bar-section {
  background: #fff;
  border-bottom: 1px solid #e6eef0;
  padding: 18px 0;
  position: sticky;
  top: 70px;
  z-index: 30;
}
.filter-bar-section .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.filter-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--teal-900);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.toggle-pill input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--teal-700);
  cursor: pointer;
}

.rate-toggle {
  display: inline-flex;
  background: var(--bg);
  border-radius: 20px;
  padding: 3px;
  margin-left: auto;
}
.rate-btn {
  padding: 6px 14px;
  border-radius: 18px;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
}
.rate-btn[aria-pressed="true"] {
  background: var(--teal-700);
  color: #fff;
}


/* === Results section ====================================== */
.results {
  padding: 30px 0 80px;
  background: var(--bg);
  min-height: 60vh;
}
.results-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.results-count {
  font-size: 16px;
  color: var(--teal-900);
  font-weight: 700;
}
.results-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sort-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sort-select {
  padding: 7px 12px;
  border: 1px solid #d6e2e6;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
/* Segmented Map / List switch */
.view-switch {
  display: inline-flex;
  background: var(--concrete, #eef2f3);
  border: 1px solid var(--concrete-line, #d6e2e6);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.vs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.vs-btn svg { width: 15px; height: 15px; }
.vs-btn.is-active { background: var(--ink); color: var(--cream); }
.vs-btn:not(.is-active):hover { color: var(--safety); }
/* === Results: map-forward, with a Map / List switch ======= */
/* The map is the default ("forward") view; the list is one tap away. They're
   never shown side-by-side, so the map is a full-width hero — no sticky split,
   no overlap, no gap. The switch (#view-switch) flips .list-mode on. */
.results-split { display: block; }
.results-split > .results-list { display: none; }          /* hidden in map mode */
.results-split > .results-map-wrap { display: block; }
.results-split.list-mode > .results-map-wrap { display: none; }
.results-split.list-mode > .results-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 16px;
}

.results-map-wrap {
  position: relative;
  height: 70vh;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e6eef0;
  background: #fff;
  /* Keep Leaflet's internal z-indexes contained below the sticky filter bar. */
  z-index: 0;
}
#map {
  width: 100%;
  height: 100%;
}

/* base list rule — also used by dashboards / saved / similar grids */
.results-list {
  display: grid;
  gap: 16px;
}


/* === Listing card ========================================= */
.listing-card {
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: .2s;
}
.listing-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.lc-photo {
  position: relative;
  background: var(--teal-100);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.lc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lc-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lc-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 20px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: .5px;
}
.lc-badge-available { color: #1c8a4e; }
.lc-badge-available::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1c8a4e;
}
.lc-badge-vetted {
  color: var(--teal-900);
  background: var(--teal-100);
}

.lc-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  /* Reserve room for the absolute tier badge (top-right of the card) so the
     title and the distance pill never run underneath it. On the stacked mobile
     card the badge sits on the photo, so this is reset at ≤640px. */
  padding-right: 78px;
}
.lc-machine {
  color: var(--teal-900);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.lc-owner {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.lc-dist {
  font-size: 12px;
  font-weight: 800;
  color: var(--teal-700);
  white-space: nowrap;
  background: var(--teal-100);
  padding: 4px 9px;
  border-radius: 20px;
}
.lc-blurb {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0;
}
.lc-rate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e6eef0;
}
.lc-rate-value {
  color: var(--teal-900);
  font-size: 22px;
  font-weight: 800;
}
.lc-rate-unit {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.lc-rate-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-left: 4px;
  vertical-align: middle;
}
.lc-rate-type-wet { background: #ffe9d4; color: #b25000; }
.lc-rate-type-dry { background: var(--teal-100); color: var(--teal-900); }
.lc-other-rate {
  font-size: 12px;
  color: var(--muted);
}
.lc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}


/* === WhatsApp + Call buttons ============================== */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: .15s;
}
.btn-whatsapp:hover { background: #1eb955; color: #fff; }

.btn-call {
  background: #fff;
  color: var(--teal-900);
  border: 1px solid #d6e2e6;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: .15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-call:hover {
  background: var(--bg);
  border-color: var(--teal-500);
}


/* === Map popup =========================================== */
.map-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
.map-popup strong { color: var(--teal-900); font-size: 14px; }
.map-popup-rate {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-900);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-top: 4px;
}
.map-popup-link {
  display: inline-block;
  color: #1eb955;
  font-weight: 700;
  margin-top: 6px;
  text-decoration: none;
}


/* === Trust strip =========================================== */
.trust-strip { padding: 70px 0; background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  text-align: left;
  padding: 24px;
  border: 1px solid #e6eef0;
  border-radius: var(--radius);
}
.trust-item .ti-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.trust-item h3 {
  color: var(--teal-900);
  font-size: 17px;
  margin-bottom: 8px;
}
.trust-item p {
  color: var(--muted);
  font-size: 14px;
}


/* === Owner CTA ============================================= */
.owner-cta {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  color: #fff;
  padding: 70px 0;
}
.owner-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}
.owner-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 10px;
}
.owner-cta p {
  max-width: 600px;
  opacity: .92;
  font-size: 15px;
}
.owner-cta-btn {
  background: #fff;
  color: var(--teal-700);
  white-space: nowrap;
  padding: 14px 26px;
  font-size: 15px;
}
.owner-cta-btn:hover { background: var(--teal-100); color: var(--teal-900); }


/* === Empty state =========================================== */
.results .empty-state {
  margin-top: 30px;
}


/* === Responsive overrides for new sections ================= */
@media (max-width: 980px) {
  /* Filter bar scrolls (not sticky) on tablet/mobile — it's tall. */
  .filter-bar-section { position: static; }
}

@media (max-width: 800px) {
  .search-grid { grid-template-columns: 1fr; }
  .listing-card { grid-template-columns: 1fr; }
  .lc-photo { aspect-ratio: 16 / 9; }
  .trust-grid { grid-template-columns: 1fr; }
  .owner-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .rate-toggle { margin-left: 0; }
}

@media (max-width: 480px) {
  .lc-actions { grid-template-columns: 1fr; }
  .filter-toggles { flex-direction: column; align-items: flex-start; }
  .rate-toggle { width: 100%; }
  .rate-btn { flex: 1; }
}


/* === Card link extensions (links into machine.html) ====== */
.lc-photo {
  display: block;          /* anchor needs to be block to keep aspect-ratio layout */
  text-decoration: none;
}
.lc-machine a {
  color: inherit;
  text-decoration: none;
}
.lc-machine a:hover {
  color: var(--teal-700);
  text-decoration: underline;
}
.lc-details-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-700);
  margin-top: 4px;
  align-self: flex-start;
}
.lc-details-link:hover {
  color: var(--teal-900);
  text-decoration: underline;
}


/* ============================================================
   MACHINE DETAIL PAGE  (machine.html)
   ============================================================ */

/* App-style detail header: a "back to map" bar instead of the full site nav,
   so the booking page reads as a screen pushed from the map app. */
.machine-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(245, 239, 226, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8, 23, 27, .08);
}
.machine-topbar .mt-back {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: #fffdf8; color: var(--ink, #08171b);
  box-shadow: 0 2px 10px rgba(8, 23, 27, .12);
}
.machine-topbar .mt-back svg { width: 19px; height: 19px; }
.machine-topbar .mt-logo { line-height: 1; }
.machine-topbar .mt-logo .logo-wordmark { font-size: 20px; }
.machine-topbar .mt-find {
  margin-left: auto; font-size: 13.5px; font-weight: 700;
  color: var(--safety, #ff5e3a);
}

.machine-page { padding-top: 18px; padding-bottom: 100px; background: #fffdf8; animation: mp-in .28s ease both; }
@keyframes mp-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .machine-page { animation: none; } }

/* === Console shell (owner portal + admin): ink sidebar + content === */
.console-body { background: var(--cream); }
.console-body .owner-page, .console-body .admin-page { padding: 0; }
.owner-console { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.oc-side { background: var(--ink); color: var(--cream); display: flex; flex-direction: column; padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
.oc-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px 18px; }
.oc-brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--safety); color: var(--ink); display: grid; place-items: center; font-family: var(--display-font); font-weight: 800; font-size: 14px; }
.oc-brand .logo-wordmark { color: var(--cream); font-size: 19px; }
.oc-brand .logo-wordmark em { color: var(--safety); font-style: normal; }
.oc-nav-list { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.oc-nav { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: rgba(245,239,226,.7); font-family: var(--body-font); font-size: 14.5px; font-weight: 600; cursor: pointer; text-align: left; background: transparent; border: 0; }
.oc-nav-ic { display: flex; } .oc-nav-ic svg { width: 19px; height: 19px; }
.oc-nav-label { flex: 1; }
.oc-nav:hover { background: rgba(245,239,226,.07); color: var(--cream); }
.oc-nav.is-active { background: var(--safety); color: #fff; }
.oc-badge { background: rgba(245,239,226,.16); color: var(--cream); font-size: 11.5px; font-weight: 700; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; }
.oc-nav.is-active .oc-badge { background: rgba(255,255,255,.25); }
.oc-side-foot { border-top: 1px solid rgba(245,239,226,.12); padding-top: 14px; margin-top: 8px; }
.oc-owner-name { font-weight: 700; font-size: 14px; }
.oc-owner-sub { font-size: 12px; color: rgba(245,239,226,.55); margin-top: 2px; }
.oc-back { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: rgba(245,239,226,.8); }
.oc-back:hover { color: var(--safety); }
.oc-main { min-width: 0; display: flex; flex-direction: column; height: 100vh; }
.oc-topbar { flex: none; display: flex; align-items: center; gap: 14px; padding: 18px 30px; border-bottom: 1px solid var(--concrete-line); background: var(--cream); }
.oc-title { font-family: var(--display-font); font-size: 24px; font-weight: 800; margin: 0; }
.oc-rating { font-family: var(--mono-font); font-size: 13px; font-weight: 700; color: #7a5a00; background: #f3e6c4; padding: 4px 10px; border-radius: 999px; }
.oc-find { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--safety); }
.oc-scroll { flex: 1; overflow-y: auto; padding: 24px 30px 60px; }
.oc-sec { display: none; }
.oc-sec.is-active { display: block; }
.oc-h2 { font-family: var(--display-font); font-size: 18px; font-weight: 700; margin: 26px 0 12px; }
.oc-sec > .oc-h2:first-child { margin-top: 0; }
.oc-account { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-width: 660px; }
.oc-account > div { background: #fff; border: 1px solid var(--concrete-line); border-radius: 12px; padding: 12px 14px; }
.oc-account span { display: block; font-size: 12px; color: var(--muted); }
.oc-account strong { font-size: 15px; }
/* admin console specifics */
.adm-oc-topbar .adm-search { flex: 1; max-width: 380px; margin: 0; }
.adm-oc-topbar .adm-mini-btn { flex: none; }
.adm-console .oc-scroll > .adm-kpis { margin-top: 0; }
@media (max-width: 860px) {
  .owner-console { display: block; }
  .oc-side { flex-direction: column; height: auto; position: sticky; top: 0; z-index: 10; padding: 12px 14px; }
  .oc-brand { padding-bottom: 10px; }
  .oc-nav-list { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 2px; }
  .oc-nav { flex: 0 0 auto; padding: 9px 12px; }
  .oc-nav-label { white-space: nowrap; }
  .oc-side-foot { display: none; }
  .oc-main { height: auto; }
  .oc-topbar { padding: 16px; }
  .oc-scroll { height: auto; overflow: visible; padding: 16px; }
}
.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal-700);
  font-weight: 700;
  font-size: 14px;
}
.back-link:hover { color: var(--teal-900); text-decoration: underline; }
.back-link span { font-size: 18px; }

.loading-state, .error-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}


/* === Machine hero (photo + key info) ====================== */
.machine-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}
/* Photo gallery (machine detail) — main photo + thumbnail strip */
.mh-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mh-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--teal-100);
  aspect-ratio: 4 / 3;
}
.mh-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mh-thumb {
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color .15s ease, transform .1s ease;
}
.mh-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: opacity .15s ease;
}
.mh-thumb:hover img,
.mh-thumb:focus-visible img {
  opacity: 1;
}
.mh-thumb:hover { transform: translateY(-1px); }
.mh-thumb.active {
  border-color: var(--safety);
}
.mh-thumb.active img {
  opacity: 1;
}
.mh-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mh-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mh-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mh-category {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.mh-info h1 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--teal-900);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}
.mh-owner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.mh-owner-row strong { color: var(--teal-900); }
.mh-rating {
  color: #b25000;
  font-weight: 700;
  font-size: 13px;
}
.mh-rating::before { content: '★ '; }

.mh-rates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.mh-rates.single { grid-template-columns: 1fr; }
.rate-card {
  background: var(--bg);
  border: 1px solid #e6eef0;
  border-radius: 10px;
  padding: 14px;
}
.rate-card.primary {
  border-color: var(--teal-500);
  background: var(--teal-100);
}
.rate-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.rate-card.primary .rate-label { color: var(--teal-900); }
.rate-value {
  color: var(--teal-900);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.rate-value span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.rate-card.primary .rate-value span { color: var(--teal-900); }
.rate-day {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.mh-cta-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.mh-cta-row .btn-whatsapp,
.mh-cta-row .btn-call {
  padding: 14px;
  font-size: 14px;
}

.mh-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid #e6eef0;
  padding-top: 14px;
  margin-top: 4px;
}


/* === Machine sections ==================================== */
.machine-section {
  border-top: 1px solid #e6eef0;
  padding: 40px 0;
}
.machine-section:first-of-type { border-top: 0; padding-top: 0; }
.machine-section h2 {
  color: var(--teal-900);
  font-size: 22px;
  margin-bottom: 14px;
}
.machine-section > p {
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 16px;
}
.machine-blurb {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 20px;
}


/* === Specs grid =========================================== */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.spec {
  background: var(--bg);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.spec-value {
  color: var(--teal-900);
  font-size: 16px;
  font-weight: 700;
}


/* === Travel calc ========================================= */
.travel-calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 600px;
  margin-bottom: 16px;
}
.travel-calc-row input {
  padding: 12px 14px;
  border: 1px solid #d6e2e6;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
}
.travel-result {
  background: var(--bg);
  border: 1px solid #e6eef0;
  border-radius: 12px;
  padding: 18px 20px;
  max-width: 600px;
}
.travel-result.error { background: #fff4f0; border-color: #f4c9b9; color: #b25000; }
.travel-distance {
  font-size: 24px;
  font-weight: 800;
  color: var(--teal-900);
}
.travel-cost {
  font-size: 18px;
  color: var(--teal-700);
  font-weight: 700;
  margin-top: 4px;
}
.travel-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.travel-result .btn-whatsapp { margin-top: 14px; display: inline-flex; }


/* === Availability calendar ============================== */
.calendar {
  max-width: 540px;
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: 12px;
  padding: 16px;
}
.cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.cal-header div {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 0;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-cell {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  color: var(--text);
}
.cal-cell.empty { visibility: hidden; }
.cal-cell.past { color: #c0cdd1; }
.cal-cell.booked {
  background: #f9e0d6;
  color: #b25000;
  text-decoration: line-through;
}
.cal-cell.available {
  background: var(--teal-100);
  color: var(--teal-900);
  cursor: pointer;
  border-color: transparent;
  transition: .1s;
}
.cal-cell.available:hover {
  background: var(--teal-700);
  color: #fff;
}
.cal-cell.available:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cal-legend-item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.cal-legend-item.available::before { background: var(--teal-100); }
.cal-legend-item.booked::before { background: #f9e0d6; }
.cal-legend-item.past::before { background: #ecf1f3; }


/* === Reviews ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 1px;
}
.review-text {
  color: var(--text);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}
.review-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-top: auto;
}


/* === Similar machines / owner's other machines ========== */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mini-card {
  background: #fff;
  border: 1px solid #e6eef0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .15s;
  text-decoration: none;
  color: inherit;
}
.mini-card:hover {
  border-color: var(--teal-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.mc-photo {
  aspect-ratio: 4 / 3;
  background: var(--teal-100);
  overflow: hidden;
}
.mc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mc-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mc-body h3 {
  font-size: 14px;
  color: var(--teal-900);
  font-weight: 700;
  line-height: 1.25;
}
.mc-loc {
  font-size: 12px;
  color: var(--muted);
}
.mc-rate {
  font-size: 13px;
  color: var(--teal-700);
  font-weight: 800;
  margin-top: 2px;
}


/* === Sticky mobile bottom bar =========================== */
.machine-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #d6e2e6;
  padding: 10px 14px;
  gap: 10px;
  z-index: 80;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
}
.machine-mobile-bar .btn-whatsapp,
.machine-mobile-bar .btn-call {
  flex: 1;
  padding: 14px;
  font-size: 14px;
}


/* === Responsive =========================================== */
@media (max-width: 980px) {
  .machine-hero { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .machine-mobile-bar { display: flex; }
  .machine-page { padding-bottom: 90px; }   /* clear space for sticky bar */
  .mh-cta-row .btn-call { font-size: 12px; }
  .travel-calc-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .similar-grid { grid-template-columns: 1fr; }
  .mh-cta-row { grid-template-columns: 1fr; }
}


/* ============================================================
   ████████████████████████████████████████████████████████████
   THEME V2 — INDUSTRIAL EDITORIAL
   The "wow" rebuild. Distinctive typography, safety orange
   accent, dark map, AI search bar, topographic motifs.
   Activated by class="theme-v2" on <body>.
   ████████████████████████████████████████████████████████████
   ============================================================ */


/* === V2: Token extensions ================================== */
.theme-v2 {
  --display-font: 'Bricolage Grotesque', 'Inter', -apple-system, sans-serif;
  --body-font:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono-font:    'JetBrains Mono', ui-monospace, "SF Mono", Menlo, monospace;

  --ink:           #08171b;
  --cream:         #f5efe2;
  --concrete:      #e8e9e3;
  --concrete-line: #c8cdc4;
  --safety:        #ff5e3a;
  --safety-glow:   rgba(255, 94, 58, .18);
  --asphalt:       #0c1416;
  --asphalt-2:     #14201f;

  font-family: var(--body-font);
  background: var(--cream);
  color: var(--ink);
}

.theme-v2 body { background: var(--cream); }


/* === V2: Header refinements ============================== */
.theme-v2 .header-v2 {
  background: rgba(245, 239, 226, .85);
  border-bottom: 1px solid rgba(8, 23, 27, .08);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.theme-v2 .header-v2.scrolled {
  background: rgba(245, 239, 226, .96);
  box-shadow: 0 1px 0 rgba(8, 23, 27, .08);
}

.logo-v2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display-font);
}
.logo-v2 .logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
}
.logo-v2 .logo-wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
  line-height: 1;
}
.logo-v2 .logo-wordmark em {
  font-style: normal;
  color: var(--safety);
}
/* Footer sits on the dark asphalt — keep the wordmark legible there now that
   the "PL" badge is gone (the orange "lynk" stays orange via the em rule). */
footer .logo-v2 .logo-wordmark { color: #fff; }

.theme-v2 nav ul {
  background: rgba(8, 23, 27, .06);
  font-family: var(--body-font);
}
.theme-v2 nav ul a {
  color: var(--ink);
  font-weight: 500;
}
.theme-v2 nav ul a:hover,
.theme-v2 nav ul a.active {
  background: var(--ink);
  color: var(--cream);
}

/* Mobile dropdown — without a solid background the nav items would
   sit invisibly over the dark hero. Match the cream brand panel
   so each link is readable, and stack them as a tappable column. */
@media (max-width: 980px) {
  .theme-v2 nav.mobile-open ul {
    background: var(--cream);
    border-top: 1px solid var(--concrete-line);
    border-bottom: 1px solid var(--concrete-line);
    border-radius: 0;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(8, 23, 27, .15);
    gap: 4px;
  }
  .theme-v2 nav.mobile-open ul a {
    color: var(--ink);
    background: transparent;
    text-align: center;
    padding: 14px 16px;
    font-weight: 600;
    border-radius: 10px;
  }
  .theme-v2 nav.mobile-open ul a.active,
  .theme-v2 nav.mobile-open ul a:hover {
    background: var(--ink);
    color: var(--cream);
  }
}

.theme-v2 .btn-safety {
  background: var(--safety);
  color: #fff;
  font-weight: 700;
  letter-spacing: -.1px;
  box-shadow: 0 4px 14px var(--safety-glow);
}
.theme-v2 .btn-safety:hover {
  background: #ff7050;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 94, 58, .35);
}


/* === V2: Hero rebuild ==================================== */
.hero-v2 {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(42, 138, 158, .25), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 94, 58, .12), transparent 50%),
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-2) 100%);
  color: var(--cream);
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-v2::before {
  /* Subtle grain */
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}
.topo-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-v2-inner { max-width: 1100px; margin: 0 auto; }

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 7px 14px 7px 12px;
  border-radius: 100px;
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3px;
  color: rgba(245, 239, 226, .8);
  margin-bottom: 32px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow .status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .2);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
  50%      { box-shadow: 0 0 0 8px rgba(74, 222, 128, .05); }
}
.eyebrow-divider { opacity: .4; }
.eyebrow-live { color: var(--safety); font-weight: 600; }

/* Headline */
.hero-headline {
  font-family: var(--display-font);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .92;
  color: var(--cream);
  margin: 0 0 24px;
  font-feature-settings: "ss01", "ss02";
}
.hero-headline em {
  font-style: italic;
  font-weight: 700;
  color: var(--safety);
  letter-spacing: -.06em;
}

.hero-deck {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.5;
  color: rgba(245, 239, 226, .82);
  max-width: 620px;
  margin: 0 0 40px;
  font-weight: 400;
}


/* === V2: AI search bar =================================== */
.ai-search { width: 100%; max-width: 920px; }

.ai-search-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border-radius: 18px;
  padding: 8px 8px 8px 18px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .35),
    0 12px 24px rgba(0, 0, 0, .2),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  position: relative;
  z-index: 2;
}
.ai-search-bar:focus-within {
  outline: 3px solid var(--safety-glow);
  outline-offset: 2px;
}

.ai-icon {
  color: var(--safety);
  display: inline-grid;
  place-items: center;
  animation: aiPulse 3s ease-in-out infinite;
}
@keyframes aiPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.08) rotate(8deg); }
}

#ai-search-input {
  border: 0;
  background: transparent;
  font-family: var(--body-font);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  padding: 14px 4px;
  width: 100%;
  min-width: 0;
}
#ai-search-input::placeholder {
  color: rgba(8, 23, 27, .42);
  font-weight: 400;
}

.voice-btn {
  background: rgba(8, 23, 27, .06);
  border: 0;
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .15s;
  font-family: inherit;
}
.voice-btn:hover {
  background: rgba(8, 23, 27, .12);
}
.voice-btn.listening {
  background: var(--safety);
  color: #fff;
  animation: voicePulse 1.2s ease-in-out infinite;
}
@keyframes voicePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--safety-glow); }
  50%      { box-shadow: 0 0 0 12px transparent; }
}

.ai-submit {
  background: var(--ink);
  color: var(--cream);
  border: 0;
  padding: 14px 22px;
  border-radius: 12px;
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: .15s;
  white-space: nowrap;
}
.ai-submit:hover {
  background: var(--safety);
  transform: translateY(-1px);
}

/* AI parsed interpretation */
.ai-parsed[hidden] { display: none !important; }
.ai-parsed {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(255, 94, 58, .12);
  border: 1px solid rgba(255, 94, 58, .3);
  border-radius: 12px;
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--cream);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ai-parsed .ai-parsed-label {
  color: var(--safety);
  font-weight: 700;
}
.ai-parsed .ai-chip {
  background: rgba(255, 255, 255, .08);
  padding: 3px 9px;
  border-radius: 6px;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, .12);
}


/* === V2: Suggestion chips ================================ */
.hero-suggestions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.suggest-label {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 500;
  color: rgba(245, 239, 226, .55);
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.suggest-chip {
  background: transparent;
  border: 1px dashed rgba(245, 239, 226, .25);
  color: rgba(245, 239, 226, .85);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: .15s;
}
.suggest-chip:hover {
  background: rgba(245, 239, 226, .08);
  border-color: rgba(245, 239, 226, .5);
  border-style: solid;
  color: var(--cream);
}


/* === V2: Hero stats strip ================================ */
.hero-stats-strip {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 239, 226, .12);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hs-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px 0 0;
  flex: 1;
  min-width: 130px;
}
.hs-num {
  font-family: var(--display-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hs-num .hs-unit {
  color: var(--safety);
  font-size: 0.6em;
  font-weight: 700;
  margin-left: 2px;
}
.hs-label {
  font-family: var(--mono-font);
  font-size: 11px;
  color: rgba(245, 239, 226, .55);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hs-divider {
  width: 1px;
  height: 36px;
  background: rgba(245, 239, 226, .12);
}


/* === V2: Hero "wow" pass — ambient depth, staggered reveal, scroll cue ===
   Sells the product with motion + a clear "there's more below" invite,
   without adding clutter. Colours/fonts/text-sizes are untouched. */

/* A slow drifting glow gives the dark hero a living, premium depth.
   Sits behind the content (overflow:hidden on .hero-v2 keeps it contained). */
.hero-v2::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: -18%;
  right: -12%;
  width: 70vw;
  height: 70vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 94, 58, .18), transparent 62%);
  filter: blur(10px);
}

/* Scroll cue — the "there's more" invite at the foot of the hero */
.hero-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 44px auto 0;
  text-decoration: none;
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 239, 226, .55);
  transition: color .2s ease;
}
.hsc-chevron {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 226, .25);
  color: var(--safety);
  background: rgba(245, 239, 226, .03);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.hero-scroll-cue:hover { color: var(--cream); }
.hero-scroll-cue:hover .hsc-chevron {
  border-color: var(--safety);
  background: rgba(255, 94, 58, .14);
  transform: translateY(2px);
}

/* Motion: a soft drift on the glow, a gentle bob on the cue, and a staggered
   fade-up reveal of the hero content. All gated to users who allow motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-v2::after { animation: heroGlowDrift 16s ease-in-out infinite alternate; }
  .hsc-chevron { animation: scrollBob 2.2s ease-in-out infinite; }

  .hero-eyebrow,
  .hero-headline,
  .hero-deck,
  .ai-search,
  .hero-stats-strip,
  .hero-scroll-cue {
    opacity: 0;
    animation: heroRise .7s cubic-bezier(.2, .7, .2, 1) forwards;
  }
  .hero-eyebrow      { animation-delay: .05s; }
  .hero-headline     { animation-delay: .16s; }
  .hero-deck         { animation-delay: .28s; }
  .ai-search         { animation-delay: .40s; }
  .hero-stats-strip  { animation-delay: .52s; }
  .hero-scroll-cue   { animation-delay: .64s; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroGlowDrift {
  from { transform: translate(0, 0) scale(1);        opacity: .65; }
  to   { transform: translate(-7%, 6%) scale(1.18);  opacity: 1; }
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* Land the scroll below the fixed header, not under it */
#browse { scroll-margin-top: 78px; }


/* === V2: Filter bar overrides ============================ */
.theme-v2 .filter-bar-section {
  background: var(--cream);
  border-bottom: 1px solid var(--concrete-line);
  position: sticky;
  top: 70px;
  z-index: 30;
}
/* On mobile the filter bar is ~300px tall; sticking it under the
   71px header would freeze ~half the viewport. Let it scroll. */
@media (max-width: 800px) {
  .theme-v2 .filter-bar-section {
    position: static;
    top: auto;
  }
}
.theme-v2 .chip-filter {
  background: var(--concrete);
  border: 1px solid var(--concrete-line);
  font-family: var(--body-font);
  color: var(--ink);
}
.theme-v2 .chip-filter:hover {
  background: rgba(255, 94, 58, .1);
  border-color: var(--safety);
  color: var(--safety);
}
.theme-v2 .chip-filter[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.theme-v2 .toggle-pill { color: var(--ink); font-family: var(--body-font); }
.theme-v2 .toggle-pill input[type="checkbox"] { accent-color: var(--safety); }

.theme-v2 .rate-toggle {
  background: var(--concrete);
  font-family: var(--body-font);
}
.theme-v2 .rate-btn {
  color: var(--ink);
  opacity: .6;
}
.theme-v2 .rate-btn:hover { opacity: 1; }
.theme-v2 .rate-btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  opacity: 1;
}


/* === V2: Location search bar ============================== */
.location-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.location-field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 360px;
  min-width: 260px;
  background: #fff;
  border: 1.5px solid var(--concrete-line);
  border-radius: 12px;
  padding: 0 6px 0 12px;
  transition: border-color .15s, box-shadow .15s;
}
.location-field:focus-within {
  border-color: var(--safety);
  box-shadow: 0 0 0 3px rgba(255, 94, 58, .12);
}
.location-field .location-pin {
  color: var(--safety);
  flex-shrink: 0;
}
.location-field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 8px;
  min-width: 0;
}
.location-field input::placeholder { color: var(--muted); font-weight: 400; }

/* Location autocomplete dropdown */
.loc-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1.5px solid var(--concrete-line);
  border-radius: 12px;
  box-shadow: 0 14px 36px -10px rgba(8, 23, 27, .28);
  z-index: 120;
  max-height: 290px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.loc-suggest[hidden] { display: none; }
.loc-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.loc-opt .loc-opt-pin { color: var(--muted); flex-shrink: 0; }
.loc-opt:hover,
.loc-opt.active {
  background: rgba(255, 94, 58, .1);
  color: var(--safety);
}
.loc-opt:hover .loc-opt-pin,
.loc-opt.active .loc-opt-pin { color: var(--safety); }
.loc-opt mark { background: transparent; color: var(--safety); font-weight: 800; }
.loc-suggest-empty {
  padding: 12px;
  font-family: var(--body-font);
  font-size: 13px;
  color: var(--muted);
}
.locate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: var(--concrete);
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.locate-btn:hover { background: var(--ink); color: var(--cream); }
.locate-btn.active { background: var(--safety); color: #fff; }
.radius-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.radius-select {
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--concrete-line);
  border-radius: 10px;
  padding: 9px 12px;
  cursor: pointer;
}
.radius-select:focus { outline: 0; border-color: var(--safety); }
.loc-clear {
  background: transparent;
  border: 0;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.loc-clear:hover { color: var(--safety); }
@media (max-width: 640px) {
  .location-field { flex-basis: 100%; }
  .radius-field { flex: 1; }
  .radius-select { flex: 1; }
  .locate-btn .locate-text { display: none; }
  .locate-btn { padding: 8px; }
}


/* === V2: Results ========================================== */
.theme-v2 .results { background: var(--cream); padding-top: 24px; }
.theme-v2 .results-count {
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.theme-v2 .sort-label,
.theme-v2 .sort-select,
.theme-v2 .view-toggle {
  font-family: var(--body-font);
  color: var(--ink);
}
.theme-v2 .sort-select {
  background: var(--concrete);
  border-color: var(--concrete-line);
}
.theme-v2 .view-toggle {
  background: var(--concrete);
  border-color: var(--concrete-line);
}
.theme-v2 .view-toggle:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}


/* === V2: Map (dark) ====================================== */
.theme-v2 .results-map-wrap {
  background: #e9eef0;
  border-color: var(--concrete-line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
.theme-v2 #map { background: #e9eef0; }
.theme-v2 .leaflet-control-attribution {
  background: rgba(255, 255, 255, .82) !important;
  color: rgba(8, 23, 27, .55) !important;
  font-family: var(--mono-font);
  font-size: 9px !important;
  border-radius: 4px 0 0 0;
}
.theme-v2 .leaflet-control-attribution a {
  color: rgba(8, 23, 27, .75) !important;
}
.theme-v2 .map-attribution-overlay { display: none; }   /* Leaflet handles it */

/* Custom marker */
.pl-marker {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--safety);
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 0 var(--safety-glow), 0 1px 4px rgba(0, 0, 0, .45);
  cursor: pointer;
}
.pl-marker.active {
  animation: markerPulse 1.6s ease-out infinite;
}
@keyframes markerPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 94, 58, .6), 0 2px 6px rgba(0, 0, 0, .4); }
  100% { box-shadow: 0 0 0 18px rgba(255, 94, 58, 0), 0 2px 6px rgba(0, 0, 0, .4); }
}
.pl-marker-user {
  width: 16px; height: 16px;
  background: var(--cream);
  border: 3px solid var(--safety);
}

/* Map popup styling */
.theme-v2 .leaflet-popup-content-wrapper {
  background: var(--cream);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
}
.theme-v2 .leaflet-popup-content {
  font-family: var(--body-font);
  margin: 12px 14px;
}
.theme-v2 .leaflet-popup-tip { background: var(--cream); }
.theme-v2 .map-popup strong { color: var(--ink); font-family: var(--display-font); }
.theme-v2 .map-popup-rate {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono-font);
}
.theme-v2 .map-popup-link { color: var(--safety); }


/* === V2: Listing card rebuild ============================ */
.theme-v2 .listing-card {
  background: #fff;
  border: 1px solid var(--concrete-line);
  border-radius: 14px;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  position: relative;
}
.theme-v2 .listing-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -12px rgba(8, 23, 27, .25);
}
.theme-v2 .lc-photo { background: var(--ink); }

.theme-v2 .lc-badge {
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .5px;
}
.theme-v2 .lc-badge-available {
  background: var(--ink);
  color: #4ade80;
}
.theme-v2 .lc-badge-available::before { background: #4ade80; }
.theme-v2 .lc-badge-vetted {
  background: var(--safety);
  color: #fff;
}

.theme-v2 .lc-machine {
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.theme-v2 .lc-machine a { color: inherit; }
.theme-v2 .lc-owner {
  font-family: var(--mono-font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.theme-v2 .lc-dist {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono-font);
  font-size: 11px;
  border-radius: 6px;
  padding: 4px 8px;
  font-weight: 600;
}
.theme-v2 .lc-blurb {
  font-family: var(--body-font);
  color: rgba(8, 23, 27, .65);
  font-size: 13px;
  line-height: 1.5;
}

.theme-v2 .lc-rate-row {
  border-top: 1px dashed var(--concrete-line);
  padding-top: 12px;
}
.theme-v2 .lc-rate-value {
  font-family: var(--mono-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.theme-v2 .lc-rate-unit {
  font-family: var(--mono-font);
  color: rgba(8, 23, 27, .5);
  font-size: 11px;
}
.theme-v2 .lc-rate-type-wet { background: var(--safety); color: #fff; }
.theme-v2 .lc-rate-type-dry { background: var(--ink); color: var(--cream); }

/* Fair-rate intelligence badge */
.fair-rate {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 2px;
}
.fair-rate.below { background: rgba(74, 222, 128, .15); color: #1c8a4e; }
.fair-rate.fair  { background: rgba(8, 23, 27, .06);   color: var(--ink); }
.fair-rate.above { background: rgba(255, 94, 58, .12); color: var(--safety); }
.fair-rate::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.theme-v2 .btn-whatsapp {
  font-family: var(--body-font);
  font-weight: 700;
  letter-spacing: -.1px;
}
.theme-v2 .btn-call {
  font-family: var(--mono-font);
  font-size: 12px;
  background: var(--cream);
  border-color: var(--concrete-line);
  color: var(--ink);
}

.theme-v2 .lc-details-link {
  font-family: var(--mono-font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--safety);
  margin-top: 8px;
}
.theme-v2 .lc-details-link:hover {
  color: var(--ink);
}


/* === V2: Why strip (replaces generic trust strip) ======== */
.why-strip {
  background: var(--cream);
  padding: 100px 0;
  border-top: 1px solid var(--concrete-line);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.why-item { padding: 0; }
.why-num {
  font-family: var(--mono-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--safety);
  margin-bottom: 24px;
  letter-spacing: 1px;
  position: relative;
  padding-left: 28px;
}
.why-num::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1px;
  background: var(--safety);
}
.why-item h3 {
  font-family: var(--display-font);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.why-item p {
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(8, 23, 27, .65);
}


/* === V2: Owner CTA ======================================= */
.theme-v2 .owner-cta {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(255, 94, 58, .25), transparent 60%),
    linear-gradient(135deg, var(--asphalt), var(--asphalt-2));
  position: relative;
  overflow: hidden;
}
.theme-v2 .owner-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  pointer-events: none;
}
.theme-v2 .owner-cta h2 {
  font-family: var(--display-font);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--cream);
}
.theme-v2 .owner-cta p {
  color: rgba(245, 239, 226, .82);
  font-family: var(--body-font);
}
.theme-v2 .owner-cta-btn {
  background: var(--safety);
  color: #fff;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 12px;
}
.theme-v2 .owner-cta-btn:hover {
  background: #ff7050;
  transform: translateY(-2px);
}


/* === V2: Footer =========================================== */
.theme-v2 footer {
  background: var(--asphalt);
  font-family: var(--body-font);
}
.theme-v2 footer h5 { font-family: var(--mono-font); }


/* === V2: Empty state ===================================== */
.theme-v2 .empty-state {
  background: var(--concrete);
  border: 1px dashed var(--concrete-line);
  border-radius: 14px;
}
.theme-v2 .empty-state h3 {
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: -.02em;
}


/* === V2: Responsive ====================================== */
@media (max-width: 980px) {
  .hero-v2 { padding: 100px 0 60px; }
  .hero-headline { font-size: clamp(40px, 11vw, 72px); }
  .hero-stats-strip { gap: 0; }
  .hs-item { min-width: 50%; padding-bottom: 16px; }
  .hs-divider { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .ai-search-bar {
    grid-template-columns: auto 1fr;
    gap: 4px;
    padding: 6px 6px 6px 14px;
  }
  #ai-search-input {
    grid-column: 2;
    font-size: 16px;        /* prevents iOS zoom on focus */
    padding: 12px 4px;
  }
  .voice-btn {
    grid-column: 1;
    grid-row: 2;
    width: 48px;
    height: 48px;
  }
  .ai-submit {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    padding: 14px;
    justify-content: center;
  }
  .hero-eyebrow { font-size: 10px; padding: 6px 12px; flex-wrap: wrap; }
  .eyebrow-divider { display: none; }
}


/* ============================================================
   V2: LIST YOUR MACHINE — wizard with AI photo analyzer
   ============================================================ */

.lym-page { background: var(--cream); padding-bottom: 80px; }

.lym-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 94, 58, .18), transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(42, 138, 158, .25), transparent 60%),
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-2) 100%);
  color: var(--cream);
  padding: 120px 0 70px;
  overflow: hidden;
  isolation: isolate;
}
.lym-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}
.lym-hero-inner { max-width: 980px; margin: 0 auto; }
.lym-hero h1 {
  font-family: var(--display-font);
  font-size: clamp(40px, 7vw, 90px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--cream);
  margin: 0 0 24px;
}
.lym-hero h1 em {
  font-style: italic;
  color: var(--safety);
}
.lym-hero .hero-deck {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.5;
  color: rgba(245, 239, 226, .85);
  max-width: 700px;
}


/* === Wizard: step indicator ============================== */
.lym-wizard { padding: 60px 0 80px; }

.lym-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  position: relative;
}
.lym-steps::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--concrete-line);
  z-index: 0;
}
.lym-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.lym-steps .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--concrete);
  color: var(--muted);
  font-family: var(--mono-font);
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--concrete-line);
  transition: .2s;
}
.lym-steps .step.active .step-num {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.lym-steps .step.done .step-num {
  background: var(--safety);
  color: #fff;
  border-color: var(--safety);
}
.lym-steps .step.done .step-num::before { content: '✓'; }
.lym-steps .step.done .step-num span { display: none; }
.lym-steps .step-label {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
}
.lym-steps .step.active .step-label,
.lym-steps .step.done .step-label { color: var(--ink); }


/* === Wizard panels ====================================== */
.lym-panel {
  background: #fff;
  border: 1px solid var(--concrete-line);
  border-radius: 16px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.lym-panel h2 {
  font-family: var(--display-font);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 12px;
}
.lym-panel h2 em {
  font-style: italic;
  color: var(--safety);
}
.lym-sub {
  font-family: var(--body-font);
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 600px;
}


/* === Photo slots ========================================= */
.photo-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.photo-slot {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--concrete-line);
  border-radius: 12px;
  background: var(--cream);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: .15s;
}
.photo-slot:hover { border-color: var(--safety); background: rgba(255, 94, 58, .04); }
.photo-slot.filled { border-style: solid; border-color: var(--ink); }
.photo-slot .ps-empty {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.photo-slot.filled .ps-empty { display: none; }
.photo-slot .ps-icon { font-size: 26px; }
.photo-slot .ps-label small { font-weight: 400; opacity: .7; font-size: 11px; }
.photo-slot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-slot .ps-remove {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(8, 23, 27, .8);
  color: #fff;
  border: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: none;
}
.photo-slot.filled .ps-remove { display: grid; place-items: center; }


/* === Sample tray ========================================= */
.sample-tray {
  background: var(--concrete);
  border: 1px solid var(--concrete-line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 28px;
}
.sample-tray-label {
  display: block;
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.sample-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sample-btn {
  background: #fff;
  border: 1px solid var(--concrete-line);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  font-family: var(--body-font);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .15s;
}
.sample-btn:hover {
  border-color: var(--safety);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 94, 58, .15);
}
.sample-btn img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.sample-btn span {
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}


/* === CTAs in wizard ===================================== */
.lym-cta {
  font-size: 16px;
  padding: 16px 28px;
}
.lym-cta:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.lym-cta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn-ghost-v2 {
  background: transparent;
  border: 1px solid var(--concrete-line);
  color: var(--ink);
  padding: 14px 24px;
  border-radius: 100px;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: .15s;
}
.btn-ghost-v2:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.lym-foot-note {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.ai-mock-note { color: var(--safety); }


/* === AI analyzing animation ============================== */
.ai-analyzing {
  text-align: center;
  padding: 60px 20px;
}
.ai-spinner-big {
  width: 120px;
  height: 120px;
  position: relative;
  margin: 0 auto 30px;
}
.ai-spinner-big .ai-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--safety);
  border-right-color: rgba(255, 94, 58, .3);
  animation: aiOrbit 1.4s linear infinite;
}
.ai-spinner-big .ai-orbit::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: var(--teal-500);
  border-left-color: rgba(42, 138, 158, .3);
  animation: aiOrbit 2s linear infinite reverse;
}
.ai-spinner-big .ai-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  animation: aiPulse 1.8s ease-in-out infinite;
}
@keyframes aiOrbit { to { transform: rotate(360deg); } }
.ai-analyzing h2 {
  font-family: var(--display-font);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 26px;
}
.ai-analyzing .ai-status {
  font-family: var(--mono-font);
  font-size: 13px;
  color: var(--safety);
  margin-bottom: 20px;
}
.ai-progress {
  width: 280px;
  max-width: 90%;
  height: 4px;
  background: var(--concrete);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}
.ai-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--safety));
  transition: width .25s ease;
}


/* === AI result =========================================== */
.ai-result-banner {
  background: linear-gradient(135deg, rgba(255, 94, 58, .12), rgba(42, 138, 158, .12));
  border: 1px solid rgba(255, 94, 58, .3);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--body-font);
}
.ai-result-banner strong { display: block; font-weight: 700; color: var(--ink); font-size: 14px; }
.ai-conf-line { font-family: var(--mono-font); font-size: 12px; color: var(--muted); }
.ai-icon-inline { font-size: 18px; }


/* === Form ================================================ */
.lym-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}
.lym-field { display: flex; flex-direction: column; }
.lym-field.full { grid-column: 1 / -1; }
.lym-field label {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 6px;
}
.field-with-tag {
  position: relative;
}
.field-with-tag input,
.field-with-tag select,
.field-with-tag textarea,
.lym-field input,
.lym-field select,
.lym-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--concrete-line);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--body-font);
  color: var(--ink);
  background: #fff;
}
.field-with-tag input:focus,
.field-with-tag select:focus,
.field-with-tag textarea:focus,
.lym-field input:focus,
.lym-field select:focus,
.lym-field textarea:focus {
  outline: none;
  border-color: var(--safety);
  box-shadow: 0 0 0 3px rgba(255, 94, 58, .15);
}

.ai-fill-tag {
  position: absolute;
  top: 8px;
  right: 10px;
  background: linear-gradient(135deg, var(--safety), #ff8a64);
  color: #fff;
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: .5px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
}
.ai-fill-tag.show {
  opacity: 1;
  transform: translateY(0);
}
.field-with-tag input.ai-filled,
.field-with-tag select.ai-filled,
.field-with-tag textarea.ai-filled {
  background: linear-gradient(135deg, rgba(255, 94, 58, .04), rgba(42, 138, 158, .04));
  animation: aiFlash .8s ease-out;
}
@keyframes aiFlash {
  0%   { background: rgba(255, 94, 58, .25); }
  100% { background: linear-gradient(135deg, rgba(255, 94, 58, .04), rgba(42, 138, 158, .04)); }
}


/* === Condition ========================================== */
.lym-condition {
  background: var(--concrete);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
}
.condition-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.lym-condition h3 {
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.condition-value {
  font-family: var(--mono-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--safety);
}
.condition-bar {
  height: 8px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.condition-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-700), var(--safety));
  width: 0;
  transition: width .8s ease-out;
}


/* === Rate input + suggestion ============================ */
.rate-input {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  background: #fff;
  border: 1px solid var(--concrete-line);
  border-radius: 10px;
  overflow: hidden;
}
.rate-input:focus-within {
  border-color: var(--safety);
  box-shadow: 0 0 0 3px rgba(255, 94, 58, .15);
}
.rate-input .rate-prefix,
.rate-input .rate-suffix {
  font-family: var(--mono-font);
  font-weight: 700;
  color: var(--muted);
  padding: 0 14px;
  font-size: 14px;
}
.rate-input .rate-prefix { background: var(--concrete); padding: 12px 14px; color: var(--ink); }
.rate-input input {
  border: 0;
  padding: 12px 4px;
  font-family: var(--mono-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.rate-input input:focus { outline: none; box-shadow: none; }
.ai-suggest {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--safety);
  margin-top: 6px;
  font-weight: 500;
}


/* === Preview card ======================================= */
.lym-preview {
  background: var(--concrete);
  border: 1px dashed var(--concrete-line);
  border-radius: 14px;
  padding: 24px;
}
.lym-preview .preview-label {
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 14px;
}


/* === Success ============================================ */
.lym-success { text-align: center; padding: 70px 48px; }
.success-icon {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--safety);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 50px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 32px rgba(255, 94, 58, .35);
  animation: successPop .5s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.lym-success h2 { font-size: clamp(36px, 5vw, 56px); }

.success-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.success-stats > div {
  padding: 18px;
  background: var(--cream);
  border: 1px solid var(--concrete-line);
  border-radius: 12px;
}
.success-stats strong {
  display: block;
  font-family: var(--display-font);
  font-size: 32px;
  font-weight: 800;
  color: var(--safety);
  letter-spacing: -.02em;
}
.success-stats span {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* === Trust strip on LYM ================================== */
.lym-trust {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid var(--concrete-line);
}


/* === LYM Responsive ====================================== */
@media (max-width: 800px) {
  .lym-panel { padding: 28px 22px; }
  .photo-slots { grid-template-columns: 1fr; }
  .sample-buttons { grid-template-columns: 1fr 1fr; }
  .lym-form { grid-template-columns: 1fr; }
  .success-stats { grid-template-columns: 1fr; }
  .lym-steps { gap: 0; }
  .lym-steps .step-label { font-size: 9px; }
  .lym-steps::before { left: 12.5%; right: 12.5%; }
}

@media (max-width: 480px) {
  .lym-cta-row { flex-direction: column-reverse; }
  .lym-cta, .btn-ghost-v2 { width: 100%; text-align: center; justify-content: center; }
}


/* ============================================================
   V2: TRUST & TIER SYSTEM
   Tier badges, machine.html trust profile, list-your-machine
   verify step, and full trust.html page styles.
   ============================================================ */


/* === Tier badges (used everywhere a listing/owner appears) === */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tier-bronze {
  background: #f4e4d4;
  color: #8b5a2b;
}
.tier-silver {
  background: #e2e8eb;
  color: #4a5b66;
}
.tier-gold {
  background: linear-gradient(135deg, #fff1c2, #ffd966);
  color: #7a5a00;
  box-shadow: inset 0 0 0 1px rgba(122, 90, 0, .15);
}


/* === Listing card tier injection ========================= */
.theme-v2 .listing-card { position: relative; }
.lc-tier-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}


/* === machine.html trust profile section ================== */
.trust-profile {
  background: linear-gradient(135deg, var(--cream), #fff);
  border: 1px solid var(--concrete-line);
  border-radius: 14px;
  padding: 28px;
  margin-bottom: 30px;
}
.tp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.tp-head h2 { margin: 0; font-size: 18px; }
.tp-tier-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.tp-block h4 {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.tp-checks { list-style: none; padding: 0; margin: 0; }
.tp-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink);
}
.tp-checks li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--teal-100);
  color: var(--teal-900);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.tp-checks li.pending::before {
  content: '·';
  background: var(--concrete);
  color: var(--muted);
}
.tp-checks li.pending { color: var(--muted); }
.tp-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.tp-stat {
  background: var(--cream);
  border: 1px solid var(--concrete-line);
  border-radius: 10px;
  padding: 12px 14px;
}
.tp-stat strong {
  display: block;
  font-family: var(--display-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.tp-stat span {
  font-family: var(--mono-font);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tp-cover-line {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--concrete-line);
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tp-cover-line::before {
  content: '🛡';
  font-size: 18px;
}
.tp-cover-line a {
  color: var(--safety);
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 800px) {
  .tp-grid { grid-template-columns: 1fr; }
}


/* === Verify step (LYM step 4) ============================ */
.verify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.verify-card {
  background: var(--cream);
  border: 1px solid var(--concrete-line);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.verify-card.optional { background: rgba(255, 94, 58, .04); border-color: rgba(255, 94, 58, .25); border-style: dashed; }
.verify-card.verified {
  background: rgba(74, 222, 128, .08);
  border-color: #4ade80;
  border-style: solid;
}
.verify-card.verified .vc-status { background: #4ade80; color: #fff; }
.vc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vc-icon { font-size: 22px; }
.vc-head h3 {
  font-family: var(--display-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  flex: 1;
  margin: 0;
}
.vc-status {
  font-family: var(--mono-font);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  background: var(--ink);
  color: var(--cream);
  padding: 3px 7px;
  border-radius: 4px;
}
.vc-status.optional { background: rgba(255, 94, 58, .15); color: var(--safety); }
.vc-explain {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.vc-inputs { display: flex; flex-direction: column; gap: 8px; }
.vc-inputs input,
.verify-card input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--concrete-line);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 13px;
  color: var(--ink);
  background: #fff;
}
.vc-action {
  background: var(--ink);
  color: var(--cream);
  border: 0;
  padding: 11px 16px;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
}
.vc-action:hover {
  background: var(--safety);
}
.vc-action:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.proof-upload {
  display: block;
  cursor: pointer;
}
.proof-upload input[type="file"] { display: none; }
.proof-code-wrap {
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  position: relative;
}
.proof-code-label {
  display: block;
  font-family: var(--mono-font);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .6;
  margin-bottom: 6px;
}
.proof-code {
  font-family: var(--mono-font);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--safety);
}

.doc-uploads {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.doc-upload {
  background: #fff;
  border: 1px solid var(--concrete-line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 13px;
  color: var(--ink);
  transition: .15s;
}
.doc-upload:hover { border-color: var(--safety); }
.doc-upload.uploaded { background: rgba(74, 222, 128, .08); border-color: #4ade80; }
.du-icon { font-size: 14px; }
.du-label { flex: 1; }
.du-status { font-family: var(--mono-font); font-size: 11px; color: var(--muted); }
.doc-upload.uploaded .du-status { color: #1c8a4e; font-weight: 700; }

.vc-result {
  font-family: var(--mono-font);
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(74, 222, 128, .12);
  color: #1c8a4e;
  border: 1px solid rgba(74, 222, 128, .35);
}
.vc-result.error {
  background: rgba(255, 94, 58, .08);
  color: var(--safety);
  border-color: rgba(255, 94, 58, .35);
}

.verify-summary {
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 8px;
}
.vs-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.vs-label {
  font-family: var(--mono-font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .7;
}
.vs-progress {
  height: 6px;
  background: rgba(245, 239, 226, .12);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.vs-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--safety));
  width: 0%;
  transition: width .4s ease;
}
.vs-explain {
  font-size: 12px;
  opacity: .75;
  line-height: 1.5;
}

.toggle-pill.toggle-block {
  display: flex;
  background: #fff;
  border: 1px solid var(--concrete-line);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
}

@media (max-width: 800px) {
  .verify-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   V2: TRUST.HTML PAGE
   ============================================================ */

.trust-page { background: var(--cream); }

.trust-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 94, 58, .2), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(42, 138, 158, .25), transparent 60%),
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-2) 100%);
  color: var(--cream);
  padding: 130px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.trust-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}
.trust-hero-inner { max-width: 1000px; margin: 0 auto; }

.trust-hero-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.trust-hero-stats > div {
  background: rgba(245, 239, 226, .06);
  border: 1px solid rgba(245, 239, 226, .12);
  border-radius: 12px;
  padding: 18px;
}
.trust-hero-stats strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -.02em;
}
.trust-hero-stats span {
  font-family: var(--mono-font);
  font-size: 11px;
  color: rgba(245, 239, 226, .6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (max-width: 720px) {
  .trust-hero-stats { grid-template-columns: 1fr 1fr; }
}

.trust-section {
  background: var(--cream);
  padding: 90px 0;
  border-top: 1px solid var(--concrete-line);
}
.trust-section.bg-flip { background: #fff; }
.trust-section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.ts-eyebrow {
  display: inline-block;
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 700;
  color: var(--safety);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.trust-section-head h2 {
  font-family: var(--display-font);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.trust-section-head p {
  font-family: var(--body-font);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}


/* === The 5 layers ======================================= */
.layers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .layers-grid { grid-template-columns: 1fr; } }

.layer-card {
  background: #fff;
  border: 1px solid var(--concrete-line);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  scroll-margin-top: 100px;
}
.layer-card-cover {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 94, 58, .12), transparent 60%),
    linear-gradient(180deg, var(--ink), var(--asphalt-2));
  color: var(--cream);
  border: 1px solid rgba(255, 94, 58, .4);
  grid-column: 1 / -1;
}
.layer-num {
  font-family: var(--mono-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--safety);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.layer-card h3 {
  font-family: var(--display-font);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.2;
}
.layer-card-cover h3 { color: var(--cream); }
.layer-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.layer-checks li {
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  padding-left: 26px;
  position: relative;
}
.layer-card-cover .layer-checks li { color: rgba(245, 239, 226, .9); }
.layer-checks li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--safety);
  font-weight: 700;
}
.layer-checks strong { color: var(--ink); font-weight: 700; }
.layer-card-cover .layer-checks strong { color: var(--cream); }


/* === Tier card grid ==================================== */
.tier-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .tier-card-grid { grid-template-columns: 1fr; } }

.tier-card-big {
  background: var(--cream);
  border: 1px solid var(--concrete-line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier-card-big.featured {
  background: linear-gradient(180deg, var(--ink), var(--asphalt-2));
  color: var(--cream);
  border-color: var(--safety);
  box-shadow: 0 12px 36px rgba(255, 94, 58, .15);
}
.tier-card-big .tier-badge { align-self: flex-start; font-size: 11px; padding: 5px 12px; }
.tier-card-big h3 {
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.tier-card-big.featured h3 { color: var(--cream); }
.tier-stat {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.tier-card-big.featured .tier-stat { color: rgba(245, 239, 226, .85); }
.tier-checks {
  list-style: none;
  padding: 14px 0 0;
  border-top: 1px dashed var(--concrete-line);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--ink);
}
.tier-card-big.featured .tier-checks { border-color: rgba(245, 239, 226, .15); color: rgba(245, 239, 226, .85); }


/* === Comparison table =================================== */
.compare-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--concrete-line);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-family: var(--body-font);
}
.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--concrete-line);
}
.compare-table th {
  font-family: var(--mono-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  background: var(--cream);
}
.compare-table th.us-col,
.compare-table td.us-col {
  background: rgba(255, 94, 58, .06);
  color: var(--ink);
  font-weight: 600;
}
.compare-table th.us-col {
  color: var(--safety);
  font-weight: 800;
  font-size: 12px;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 600; color: var(--ink); }


/* === FAQ =============================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--concrete-line);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: .15s;
}
.faq-item[open] { background: #fff; border-color: var(--ink); }
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-family: var(--mono-font);
  color: var(--safety);
  transition: .15s;
}
.faq-item[open] summary::after { content: '×'; transform: rotate(0deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 22px 20px;
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}


/* ============================================================
   V2: SAVE / FAVORITES BUTTON + FLOATING CHIP
   ============================================================ */

.save-btn {
  position: absolute;
  bottom: 12px;        /* moved from top:12px to avoid clash with .lc-tier-badge (top-right) */
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(8, 23, 27, .7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  transition: transform .15s ease, background .15s ease;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.save-btn:hover {
  background: var(--ink);
  transform: scale(1.08);
}
.save-btn.saved {
  background: var(--safety);
  color: #fff;
}
.save-btn.save-pulse {
  animation: savePulse .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes savePulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

/* Large variant for machine detail page */
.save-btn-large {
  position: static;
  width: auto;
  height: auto;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--concrete-line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.save-btn-large:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
  border-color: var(--ink);
}
.save-btn-large.saved {
  background: var(--safety);
  color: #fff;
  border-color: var(--safety);
}


/* Floating "X saved" chip — bottom right, clickable link to saved.html */
.saved-chip {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 80;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 100px;
  font-family: var(--mono-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  animation: chipIn .3s ease;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.saved-chip:hover {
  transform: translateY(-2px);
  background: var(--safety);
  color: #fff;
  box-shadow: 0 16px 36px rgba(255, 94, 58, .35);
}
.saved-chip:hover svg { color: #fff; }
.saved-chip svg { color: var(--safety); }
.saved-chip::after {
  content: '→';
  margin-left: 4px;
  opacity: 0;
  transition: opacity .15s, margin-left .15s;
}
.saved-chip:hover::after {
  opacity: 1;
  margin-left: 8px;
}
@keyframes chipIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Hide chip when not on listing pages (avoid distracting) */
@media (max-width: 480px) {
  .saved-chip { bottom: 84px; right: 16px; padding: 8px 12px; font-size: 11px; }
  .save-btn-large { padding: 12px 18px; font-size: 13px; }
}


/* ============================================================
   V2: MOBILE BOTTOM NAV
   Hidden on desktop. Sticky 4-link bar on mobile.
   ============================================================ */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--concrete-line);
  z-index: 70;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
}
.mobile-bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 600px;
  margin: 0 auto;
}
.mbn-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 4px;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: color .15s ease, transform .1s ease;
  -webkit-tap-highlight-color: transparent;
}
.mbn-link svg { transition: transform .2s ease; stroke: currentColor; }
.mbn-link.active { color: var(--safety); }
.mbn-link.active svg { transform: translateY(-2px) scale(1.1); }
.mbn-link:active { transform: scale(0.95); }

@media (max-width: 800px) {
  .mobile-bottom-nav { display: block; }
  body.theme-v2 { padding-bottom: 80px; }
  .saved-chip { bottom: 96px; }
}


/* ============================================================
   V2: SKELETON LOADERS (machine.html while data fetches)
   ============================================================ */

.machine-skeleton {
  padding-top: 30px;
}
.skel-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}
.skel-gallery { display: flex; flex-direction: column; gap: 10px; }
.skel-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--concrete);
}
.skel-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.skel-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--concrete);
}
.skel-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.skel-line {
  background: var(--concrete);
  border-radius: 6px;
}
.skel-line-eyebrow { height: 14px; width: 200px; }
.skel-line-title   { height: 38px; width: 90%; border-radius: 8px; }
.skel-line-title2  { height: 38px; width: 60%; border-radius: 8px; }
.skel-line-meta    { height: 16px; width: 70%; }
.skel-rate-block {
  height: 80px;
  background: var(--concrete);
  border-radius: 12px;
}
.skel-cta-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
}
.skel-cta {
  height: 50px;
  background: var(--concrete);
  border-radius: 10px;
}

.skel-shimmer {
  position: relative;
  overflow: hidden;
}
.skel-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, .55) 50%,
    transparent 100%
  );
  animation: skelShimmer 1.4s infinite;
}
@keyframes skelShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .skel-shimmer::after { animation: none; opacity: 0.5; }
}

@media (max-width: 980px) {
  .skel-hero { grid-template-columns: 1fr; }
}


/* ============================================================
   V2: SAVED PAGE — actions row, comparison table styling
   ============================================================ */

.saved-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--concrete-line);
}
.saved-actions .btn { padding: 12px 22px; }

#saved-root .results-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}
@media (max-width: 800px) {
  #saved-root .results-list { grid-template-columns: 1fr; }
}

/* Compare table — extends existing .compare-table style */
#compare-table-wrap .compare-table {
  min-width: 100%;
}
#compare-table-wrap .compare-table td:first-child {
  background: var(--cream);
  font-family: var(--mono-font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--muted);
  font-weight: 700;
  position: sticky;
  left: 0;
  z-index: 1;
  white-space: nowrap;
}
#compare-table-wrap .compare-machine-photo {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}


/* ============================================================
   View Transitions API — smooth cross-page navigation on
   supporting browsers (Chrome 111+, Edge, Safari 18+).
   No fallback needed; older browsers just navigate normally.
   ============================================================ */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.25s;
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}


/* ============================================================
   V2: PWA INSTALL BANNER
   Shown when browser fires beforeinstallprompt. Dismissable.
   ============================================================ */

.install-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 16px 20px;
  z-index: 90;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: ibSlideUp .35s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes ibSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.ib-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ib-text strong {
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.ib-text span {
  font-family: var(--body-font);
  font-size: 13px;
  color: rgba(245, 239, 226, .75);
  line-height: 1.4;
}
.ib-actions { display: inline-flex; gap: 6px; align-items: center; }
.ib-install {
  background: var(--safety);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
}
.ib-install:hover { background: #ff7a5a; }
.ib-dismiss {
  background: transparent;
  border: 0;
  color: rgba(245, 239, 226, .55);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  font-family: inherit;
}
.ib-dismiss:hover { background: rgba(245, 239, 226, .08); color: var(--cream); }

@media (max-width: 800px) {
  .install-banner {
    bottom: 96px;        /* clear mobile bottom nav */
    left: 12px;
    right: 12px;
    padding: 12px 14px;
  }
  .ib-text strong { font-size: 14px; }
  .ib-text span { font-size: 12px; }
  .ib-install { padding: 9px 14px; font-size: 12px; }
}


/* ============================================================
   Admin console
   ============================================================ */
.admin-page { background: var(--cream); min-height: 100vh; }
.adm-shell { padding-bottom: 70px; }

/* Topbar */
.adm-topbar { background: var(--ink); color: var(--cream); position: sticky; top: 0; z-index: 40; }
.adm-topbar-inner { display: flex; align-items: center; gap: 14px; padding: 12px 0; flex-wrap: wrap; }
.adm-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display-font); font-size: 17px; }
.adm-brand .logo-mark { background: var(--safety); color: #fff; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.adm-topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: 1 1 320px; justify-content: flex-end; }
.adm-search {
  flex: 1; max-width: 420px; min-width: 160px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.18);
  color: var(--cream); border-radius: 10px; padding: 9px 13px; font-family: var(--body-font); font-size: 14px;
}
.adm-search::placeholder { color: rgba(245,239,226,.55); }
.adm-search:focus { outline: 0; border-color: var(--safety); background: rgba(255,255,255,.16); }
.adm-mini-btn {
  background: rgba(255,255,255,.12); color: var(--cream); border: 0; border-radius: 9px;
  padding: 9px 13px; font-family: var(--body-font); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.adm-mini-btn:hover { background: rgba(255,255,255,.22); }
.adm-mini-btn.solid { background: var(--safety); color: #fff; }
.adm-mini-btn.solid:hover { background: #e8492a; }

/* KPI cards */
.adm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 20px 0 8px; }
.adm-kpi {
  background: #fff; border: 1px solid var(--concrete-line); border-radius: 14px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start; cursor: pointer; text-align: left;
  font-family: var(--body-font); transition: transform .12s, box-shadow .12s, border-color .12s;
}
.adm-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); border-color: var(--ink); }
.adm-kpi.alert { border-color: rgba(255,94,58,.4); }
.adm-kpi-val { font-family: var(--display-font); font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1; }
.adm-kpi.alert .adm-kpi-val { color: var(--safety); }
.adm-kpi-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.adm-kpi-gmv { cursor: default; background: var(--ink); }
.adm-kpi-gmv:hover { transform: none; box-shadow: none; }
.adm-kpi-gmv .adm-kpi-val { color: #9ee0d6; font-size: 20px; }
.adm-kpi-gmv .adm-kpi-label { color: rgba(245,239,226,.7); }

/* Tabs */
.adm-tabs-wrap { border-bottom: 1px solid var(--concrete-line); position: sticky; top: 58px; background: var(--cream); z-index: 30; }
.adm-tabs { display: flex; gap: 4px; overflow-x: auto; }
.adm-tab {
  background: transparent; border: 0; border-bottom: 3px solid transparent; padding: 13px 16px;
  font-family: var(--body-font); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.adm-tab:hover { color: var(--ink); }
.adm-tab.active { color: var(--ink); border-bottom-color: var(--safety); }
.adm-tab-badge { background: var(--safety); color: #fff; border-radius: 10px; padding: 1px 7px; font-size: 11px; margin-left: 4px; }

#adm-content { padding-top: 18px; }

/* Toolbar within a tab */
.adm-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-toolbar-left { color: var(--ink); font-size: 14px; }
.adm-toolbar-right { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.adm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-chip {
  background: var(--concrete); border: 1px solid var(--concrete-line); border-radius: 18px;
  padding: 6px 13px; font-family: var(--body-font); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.adm-chip:hover { border-color: var(--ink); }
.adm-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.adm-select {
  background: #fff; border: 1.5px solid var(--concrete-line); border-radius: 9px; padding: 8px 11px;
  font-family: var(--body-font); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.adm-count { font-size: 13px; color: var(--muted); margin-bottom: 10px; }

/* Rows */
.adm-list { display: grid; gap: 12px; }
.adm-row { background: #fff; border: 1px solid var(--concrete-line); border-radius: 14px; padding: 14px; display: flex; gap: 14px; }
.adm-row-compact { display: block; }
.adm-row-hidden { opacity: .62; }
.adm-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.adm-thumb-empty { display: grid; place-items: center; background: var(--concrete); color: var(--muted); font-size: 10px; text-align: center; }
.adm-row-main { flex: 1; min-width: 0; }
.adm-row-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.adm-row-head h3 { margin: 0; font-family: var(--display-font); font-size: 17px; color: var(--ink); }
.adm-stars { color: #e0a400; letter-spacing: 2px; }
.adm-row-sub { font-size: 13px; color: var(--muted); margin-top: 3px; word-break: break-word; }
.adm-row-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.adm-ai { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.adm-ai.bad { color: #c0392b; font-weight: 600; }

/* Badges */
.adm-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: capitalize; letter-spacing: .02em; }
.adm-badge.b-green { background: #e3f5ec; color: #1c7a4a; }
.adm-badge.b-orange { background: #fdecdf; color: #c2570f; }
.adm-badge.b-red { background: #fdecea; color: #c0392b; }
.adm-badge.b-grey { background: var(--concrete); color: var(--muted); }
.adm-badge.b-plan { background: #eef0ff; color: #4a4fb0; }

/* Action buttons (shared) */
.adm-btn-open, .adm-btn-go, .adm-btn-warn, .adm-btn-danger, .adm-btn-ghost, .adm-btn-save {
  border: 0; border-radius: 9px; padding: 8px 14px; font-family: var(--body-font); font-size: 13px; font-weight: 700;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
}
.adm-btn-open { background: var(--ink); color: var(--cream); }
.adm-btn-go { background: #1c7a4a; color: #fff; }
.adm-btn-warn { background: var(--concrete); color: var(--ink); }
.adm-btn-danger { background: transparent; color: #c0392b; border: 1px solid rgba(192,57,43,.4); }
.adm-btn-danger:hover { background: #fdecea; }
.adm-btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--concrete-line); }
.adm-btn-save { background: var(--safety); color: #fff; padding: 10px 20px; }
.adm-btn-open:hover, .adm-btn-go:hover, .adm-btn-warn:hover, .adm-btn-ghost:hover, .adm-btn-save:hover { filter: brightness(.95); }
button:disabled { opacity: .55; cursor: default; }

/* Empty states */
.adm-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.adm-empty .icon { font-size: 34px; margin-bottom: 8px; }
.adm-empty h3 { margin: 0 0 4px; color: var(--ink); font-family: var(--display-font); }
.adm-muted { color: var(--muted); font-size: 13px; }

/* Dashboard */
.adm-attn-list { display: grid; gap: 10px; }
.adm-attn {
  background: #fff; border: 1px solid var(--concrete-line); border-left: 4px solid var(--muted); border-radius: 12px;
  padding: 14px 16px; font-family: var(--body-font); font-size: 15px; color: var(--ink); cursor: pointer; text-align: left;
}
.adm-attn:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.adm-attn.alert { border-left-color: var(--safety); }
.adm-attn.warn { border-left-color: #c0392b; }
.adm-attn strong { font-size: 18px; }
.adm-h2 { font-family: var(--display-font); font-size: 20px; color: var(--ink); margin: 26px 0 12px; }
.adm-snapshot { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.adm-snapshot > div { background: #fff; border: 1px solid var(--concrete-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.adm-snap-val { font-family: var(--display-font); font-size: 24px; font-weight: 800; color: var(--ink); }
.adm-snapshot > div span:last-child { font-size: 12.5px; color: var(--muted); }

/* Editor */
.adm-editor { max-width: 860px; padding-bottom: 20px; }
.adm-back-btn { background: transparent; border: 0; color: var(--muted); font-family: var(--body-font); font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px 0; margin-bottom: 12px; }
.adm-back-btn:hover { color: var(--ink); }
.adm-editor-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.adm-editor-head h1 { margin: 0; font-family: var(--display-font); font-size: 28px; color: var(--ink); }
.adm-ai-box { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--concrete); font-size: 14px; }
.adm-ai-box.bad { background: #fdecea; color: #c0392b; font-weight: 600; }
.adm-warn { color: #c0392b; font-size: 14px; }
.adm-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 14px 0; }
.adm-gal-item { position: relative; }
.adm-gal-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; }
.adm-gal-rm { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(8,23,27,.78); color: #fff; cursor: pointer; font-size: 13px; }
.adm-gal-rm:hover { background: #c0392b; }
.adm-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; }
.adm-f { display: flex; flex-direction: column; gap: 5px; }
.adm-f span { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.adm-f input, .adm-f select, .adm-f textarea {
  background: #fff; border: 1.5px solid var(--concrete-line); border-radius: 9px; padding: 10px 12px;
  font-family: var(--body-font); font-size: 14px; color: var(--ink); width: 100%;
}
.adm-f input:focus, .adm-f select:focus, .adm-f textarea:focus { outline: 0; border-color: var(--safety); box-shadow: 0 0 0 3px rgba(255,94,58,.12); }
.adm-f-full { margin-top: 14px; }
.adm-f textarea { resize: vertical; }
.adm-editor-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.adm-owner-mini { background: #fff; border: 1px solid var(--concrete-line); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-owner-mini-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.adm-owner-machines { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.adm-owner-machines li { display: flex; align-items: center; gap: 8px; }
.adm-link { background: transparent; border: 0; color: var(--safety); font-family: var(--body-font); font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.adm-editor-danger { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--concrete-line); }
.adm-review-comment { font-size: 14px; color: var(--ink); margin: 6px 0; font-style: italic; }

/* Analytics: charts, tables, subscriptions */
.adm-sub-h2 { font-family: var(--body-font); font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-left: 6px; }
.adm-kpi-money { color: #1c7a4a; }
.adm-snap-val.pos { color: #1c7a4a; }
.adm-snap-val.neg { color: #c0392b; }

.adm-chart { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding: 10px 4px 0; border-bottom: 1px solid var(--concrete-line); }
.adm-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.adm-bar { width: 100%; max-width: 42px; background: #cfe2dc; border-radius: 6px 6px 0 0; position: relative; min-height: 2px; }
.adm-bar-sub { position: absolute; bottom: 0; left: 0; right: 0; background: #1c7a4a; border-radius: 6px 6px 0 0; }
.adm-bar-val { font-size: 12px; font-weight: 700; color: var(--ink); }
.adm-bar-label { font-size: 11px; color: var(--muted); }
.adm-chart-key { margin-top: 8px; font-size: 12px; display: flex; align-items: center; gap: 4px; }
.adm-key-box { display: inline-block; width: 11px; height: 11px; border-radius: 3px; background: #cfe2dc; vertical-align: middle; }
.adm-key-box.dark { background: #1c7a4a; }

.adm-note { background: #fff7ed; border: 1px solid #f3d9b8; border-radius: 10px; padding: 11px 14px; font-size: 13px; color: #92600e; margin-bottom: 14px; }

.adm-table-wrap { overflow-x: auto; border: 1px solid var(--concrete-line); border-radius: 12px; background: #fff; }
.adm-table { width: 100%; border-collapse: collapse; font-family: var(--body-font); font-size: 14px; }
.adm-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--concrete-line); white-space: nowrap; }
.adm-table td { padding: 11px 14px; border-bottom: 1px solid var(--concrete); vertical-align: middle; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table td.pos { color: #1c7a4a; font-weight: 700; }
.adm-table td.neg { color: #c0392b; font-weight: 700; }

.adm-flags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.adm-flag { background: #fdecea; color: #c0392b; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 14px; }
.adm-machine-bookings { background: var(--concrete); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: var(--ink); margin: 4px 0 4px; }

@media (max-width: 640px) {
  .adm-topbar-actions { flex-basis: 100%; }
  .adm-row { flex-direction: column; }
  .adm-thumb { width: 100%; height: 150px; }
  .adm-tabs-wrap { top: 0; }
  .adm-chart { height: 130px; }
}


/* RFQ "post a request" banner on the results page */
.rfq-banner { display: flex; align-items: center; gap: 12px; background: var(--ink); color: var(--cream); border-radius: 14px; padding: 13px 18px; text-decoration: none; margin-bottom: 16px; font-size: 14.5px; line-height: 1.4; transition: transform .12s; }
.rfq-banner:hover { transform: translateY(-1px); }
.rfq-banner strong { color: #9ee0d6; }
.rfq-banner-icon { font-size: 22px; flex-shrink: 0; }

.bk-outcome-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.bk-outcome-btns .btn { flex: 1; min-width: 130px; }

/* Owner responsiveness badge on listing cards */
.lc-resp { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 12px; }
.lc-resp.rb-fast { background: #e3f5ec; color: #1c7a4a; }
.lc-resp.rb-ok { background: #eef2f4; color: #4a6b73; }
.lc-resp.rb-slow { background: #fdecdf; color: #c2570f; }

.bk-expectation { background: var(--concrete); border-radius: 10px; padding: 11px 14px; font-size: 13px; line-height: 1.5; color: var(--ink); margin-top: 4px; }

/* Booking: exact site location (typed address + GPS pin) */
.bk-site-row { display: flex; gap: 8px; align-items: stretch; }
.bk-site-row input { flex: 1; min-width: 0; }
.bk-locate-btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--concrete);
  border: 1.5px solid var(--concrete-line);
  border-radius: 10px;
  padding: 0 14px;
  font-family: var(--body-font); font-size: 13px; font-weight: 600;
  color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.bk-locate-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.bk-locate-btn.pinned { background: var(--safety); color: #fff; border-color: var(--safety); }
.bk-site-hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.bk-site-hint a { color: var(--safety); font-weight: 700; }
@media (max-width: 560px) {
  .bk-site-row { flex-direction: column; }
  .bk-locate-btn { justify-content: center; padding: 10px 14px; }
}

/* Suggested-rate hint in the listing wizard */
.lym-rate-hint { grid-column: 1 / -1; background: #e3f5ec; border: 1px solid #bfe5d2; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; line-height: 1.5; color: #1c5c3f; margin: 2px 0 0; }
.lym-rate-hint strong { color: #14492f; }
.lym-rate-hint-note { color: #4a7a63; font-size: 12.5px; }

/* Booking success — "act now, don't wait" */
.bk-success { text-align: center; padding: 10px 0; }
.bk-hero-btn { display: inline-flex; align-items: center; justify-content: center; margin: 16px auto 6px; font-size: 16px; padding: 14px 26px; }
.bk-success-sub { font-size: 13px; color: var(--muted); max-width: 420px; margin: 8px auto 0; line-height: 1.5; }
.bk-while-wait { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--concrete-line); text-align: left; }
.bk-ww-title { font-family: var(--display-font); font-size: 15px; color: var(--ink); margin-bottom: 10px; }
.bk-ww-card { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--concrete-line); border-radius: 12px; text-decoration: none; margin-bottom: 8px; transition: border-color .15s, box-shadow .15s; }
.bk-ww-card:hover { border-color: var(--safety); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.bk-ww-card img { width: 54px; height: 54px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.bk-ww-info { flex: 1; min-width: 0; }
.bk-ww-info strong { display: block; font-size: 14px; color: var(--ink); }
.bk-ww-info span { font-size: 12.5px; color: var(--muted); }
.bk-ww-go { font-size: 13px; font-weight: 700; color: var(--safety); white-space: nowrap; }
.bk-ww-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

/* === Legal pages (privacy / terms) ========================== */
.legal-page { background: var(--cream); padding: 36px 0 70px; }
.legal-page .container { max-width: 760px; }
.legal-draft-banner { background: #fff7ed; border: 1px solid #f3d9b8; color: #92600e; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 24px; }
.legal-draft-banner code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; font-family: var(--mono-font); font-size: 12px; }
.legal-page h1 { font-family: var(--display-font); font-size: clamp(30px, 5vw, 44px); color: var(--ink); margin: 0 0 8px; }
.legal-page h2 { font-family: var(--display-font); font-size: 20px; color: var(--ink); margin: 30px 0 8px; }
.legal-page p, .legal-page li { font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.legal-page ul { padding-left: 20px; display: grid; gap: 6px; }
.legal-meta { color: var(--muted) !important; font-size: 14px !important; margin-bottom: 8px; }
.legal-back { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--concrete-line); }
.legal-back a { color: var(--safety); font-weight: 600; text-decoration: none; }

/* === Owner dashboard: stats + subscription =================== */
.owner-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; margin-bottom: 8px; }
.owner-stat { background: #fff; border: 1px solid var(--concrete-line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.owner-stat-val { font-family: var(--display-font); font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1; }
.owner-stat-label { font-size: 12px; color: var(--muted); }
.owner-pending-note { background: #fff7ed; border: 1px solid #f3d9b8; color: #92600e; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-top: 14px; }

.owner-sub-card { background: #fff; border: 1px solid var(--concrete-line); border-radius: 14px; padding: 18px 20px; }
.owner-sub-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.owner-sub-plan { font-family: var(--display-font); font-size: 20px; font-weight: 800; color: var(--ink); }
.owner-sub-price { font-family: var(--mono-font); font-size: 14px; color: var(--muted); margin-left: 10px; }
.owner-sub-perks { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; gap: 6px; }
.owner-sub-perks li { font-size: 14px; color: var(--ink); padding-left: 22px; position: relative; }
.owner-sub-perks li::before { content: '✓'; position: absolute; left: 0; color: #1c7a4a; font-weight: 800; }
.owner-sub-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.owner-sub-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }


/* ============================================================
   Mobile polish — most contractors search on a phone. Trim the
   chrome above the results and make every control thumb-friendly.
   Colours, fonts and text sizes are deliberately left unchanged.
   ============================================================ */
@media (max-width: 640px) {
  /* Hero: trim padding so machines are reachable sooner — but the header is
     position:fixed at 70px, so the top padding MUST clear it or the eyebrow
     gets hidden behind the header (that was the "top cuts off" bug). */
  .hero-v2 { padding-top: 84px; padding-bottom: 18px; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero-headline { margin-bottom: 10px; }
  .hero-deck { margin-bottom: 14px; }

  /* The decorative stats strip ate ~177px of scroll before the machines. On a
     phone that's pure dead space, so drop it here (it stays on desktop). */
  .hero-stats-strip { display: none; }

  /* Tighten the filter bar so the map + listings sit higher up the page */
  .filter-bar-section { padding: 12px 0; }
  .location-bar { margin-bottom: 10px; }
  .filter-bar-section .filter-chips { margin-bottom: 10px; }

  /* Category filters: one swipeable row, not three wrapped rows */
  .filter-bar-section .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: -16px; margin-right: -16px;
    padding: 0 16px 2px;
  }
  .filter-bar-section .filter-chips::-webkit-scrollbar { display: none; }
  .chip-filter { flex: 0 0 auto; padding-top: 10px; padding-bottom: 10px; }

  /* Bigger, thumb-friendly tap targets (≈44px) */
  .rate-btn { padding-top: 10px; padding-bottom: 10px; }
  .rate-toggle { width: 100%; }
  .rate-btn { flex: 1; }
  .sort-select { padding: 10px 12px; }
  .toggle-pill { padding: 8px 0; }
  .filter-toggles { gap: 12px; }
  .vs-btn { padding-top: 9px; padding-bottom: 9px; }

  /* Map-forward: the map is the default hero view, so give it real height on
     phones; the JS zooms it INTO the searched area. List mode → single column. */
  .results-map-wrap { height: 64vh; min-height: 360px; }
  .results-split.list-mode > .results-list { grid-template-columns: 1fr; }
  .results { padding-top: 14px; }
  .results-meta-bar { margin-bottom: 10px; }

  /* Listing cards: stack photo on top, details below. Without this the
     theme-v2 rule forces a 220px side-photo column that crops the image and
     leaves dead space on a phone, and makes each card oversized. */
  .theme-v2 .listing-card,
  .listing-card { grid-template-columns: 1fr; }
  .lc-photo { aspect-ratio: 16 / 9; }
  .lc-head { padding-right: 0; }   /* tier badge sits over the photo when stacked */
  .lc-body { padding: 14px 16px; gap: 6px; }
  .lc-blurb { margin: 2px 0; }
  .lc-rate-row { padding-top: 10px; margin-top: 2px; }
  .lc-actions { grid-template-columns: 1fr; margin-top: 4px; }
}

/* Console polish: nav + rows respond to hover/press (2026-07-02) */
.oc-nav { transition: background .13s, color .13s, transform .12s; }
.oc-nav:not(.is-active):hover { background: rgba(245,239,226,.1); }
.oc-nav:active { transform: scale(.97); }
.adm-kpi, .oc-stat { transition: transform .14s cubic-bezier(.2,.8,.2,1), box-shadow .14s; }
.adm-kpi:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(8,23,27,.1); }
.btn { transition: transform .12s, box-shadow .14s, background .14s; }
.btn:active { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) {
  .oc-nav:active, .adm-kpi:hover, .btn:active { transform: none; }
}

/* Machine page: market-rate context + booking estimate (2026-07-02) */
.mh-market { margin-top: 10px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.mh-market.good { background: #eafaf1; border: 1px solid #bfe8d2; color: #14683f; }
.mh-market.ok   { background: #f2f0e9; border: 1px solid #e0dccc; color: #4a4636; }
.mh-market.high { background: #fff6e8; border: 1px solid #f0dfc0; color: #7a5a1e; }
.mh-market a { font-weight: 700; color: inherit; }
.bk-estimate { background: #eef5f6; border: 1px solid #cfe3e6; border-radius: 12px; padding: 11px 14px; font-size: 13.5px; line-height: 1.5; color: #144956; margin: 0; }

/* Track timeline + nudge + RFQ offer comparison (2026-07-02) */
.trk-line { display: flex; align-items: center; gap: 6px; margin: 18px 0 4px; }
.trk-step { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; color: rgba(8,23,27,.45); text-align: center; min-width: 72px; }
.trk-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; background: rgba(8,23,27,.08); color: rgba(8,23,27,.45); }
.trk-step.done .trk-dot { background: #1d9e75; color: #fff; }
.trk-step.done { color: #14683f; }
.trk-step.now .trk-dot { background: var(--ink, #08171b); color: #fff; box-shadow: 0 0 0 4px rgba(8,23,27,.12); }
.trk-step.now { color: var(--ink, #08171b); font-weight: 700; }
.trk-bar { flex: 1; height: 2px; background: rgba(8,23,27,.12); margin-top: -18px; }
.trk-nudge { margin-top: 14px; padding: 12px 14px; background: #fff8f0; border: 1px solid #f0e0c8; border-radius: 12px; font-size: 13.5px; line-height: 1.55; color: #6a5230; }
.trk-nudge a { font-weight: 700; color: var(--safety, #ff5e3a); }
.rfq-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.rfq-offer { position: relative; background: #fff; border: 1px solid rgba(8,23,27,.12); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.rfq-offer h3 { margin: 0; font-size: 16px; }
.rfq-best { position: absolute; top: -9px; right: 12px; background: #1d9e75; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.rfq-offer-rate { font-family: var(--mono-font, monospace); font-weight: 700; font-size: 22px; }
.rfq-offer-rate span { font-size: 12px; font-weight: 500; color: rgba(8,23,27,.5); }
.rfq-offer-machine { font-size: 13px; color: rgba(8,23,27,.6); }
.rfq-offer-msg { font-size: 13px; color: rgba(8,23,27,.7); margin: 2px 0 4px; }
.rfq-offer .btn-whatsapp { margin-top: auto; text-align: center; }

/* Owner dashboard: per-machine market benchmark line (2026-07-02) */
.oc-bench { font-size: 12.5px; margin: 4px 0 2px; color: rgba(8,23,27,.55); }
.oc-bench.ok { color: #14683f; }
.oc-bench.low { color: #1a6b7a; }
.oc-bench.high { color: #7a5a1e; }
.oc-bench:empty { display: none; }

/* Admin: pipeline strip + notes (2026-07-02) */
.adm-pipe { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; margin: 4px 0 8px; }
.adm-pipe-step { flex: 1; min-width: 120px; background: #fff; border: 1px solid rgba(8,23,27,.12); border-radius: 14px; padding: 12px 14px; text-align: left; cursor: pointer; font-family: inherit; transition: transform .13s, box-shadow .14s; }
.adm-pipe-step:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(8,23,27,.1); }
.adm-pipe-step strong { display: block; font-size: 22px; font-family: var(--mono-font, monospace); }
.adm-pipe-step span { font-size: 12px; color: rgba(8,23,27,.55); }
.adm-pipe-arrow { align-self: center; color: rgba(8,23,27,.35); font-weight: 700; }
.adm-notes-f { display: block; margin: 10px 0 4px; }
.adm-notes-f > span { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; color: rgba(8,23,27,.6); }
.adm-notes { width: 100%; border: 1.5px solid rgba(8,23,27,.15); border-radius: 10px; padding: 10px 12px; font: 14px/1.5 var(--body-font, sans-serif); resize: vertical; }
.adm-note-line { color: #7a5a1e; font-style: italic; }

/* Machine page: sticky follow bar w/ name+rate on desktop (2026-07-02) */
.machine-mobile-bar { align-items: center; }
.machine-mobile-bar.is-stuck { display: flex; }
.mb-info { flex: 1; font-size: 15px; color: var(--ink, #08171b); }
.mb-info strong { font-family: var(--mono-font, monospace); }
@media (max-width: 980px) { .mb-info { display: none; } }
@media (min-width: 981px) { .machine-mobile-bar .btn-whatsapp { flex: none; padding: 12px 28px; } }

/* List-your-machine: earnings hook card (2026-07-02) */
.lym-earn { margin-top: 22px; background: #fff; border-radius: 16px; padding: 18px 20px; max-width: 560px; box-shadow: 0 10px 30px rgba(8,23,27,.18); }
.lym-earn-head { font-weight: 800; font-size: 16px; margin-bottom: 10px; color: var(--ink, #08171b); }
.lym-earn-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.lym-earn-row select { border: 1.5px solid rgba(8,23,27,.18); border-radius: 10px; padding: 10px 12px; font: 600 14px var(--body-font, sans-serif); background: #fff; }
.lym-earn-out { display: flex; flex-direction: column; flex: 1; min-width: 200px; }
.lym-earn-out strong { font-family: var(--mono-font, monospace); font-size: 22px; color: #14683f; }
.lym-earn-out span { font-size: 12px; color: rgba(8,23,27,.55); }
.lym-earn-cta { width: 100%; text-align: center; }

/* Owner self-service: rate editor, account form, add-machine bar (2026-07-02) */
.oc-addbar { margin-bottom: 14px; }
.oc-editform { margin-top: 12px; padding: 14px; background: #f8f4ea; border: 1px dashed rgba(8,23,27,.2); border-radius: 12px; }
.oc-ef-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.oc-editform label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: rgba(8,23,27,.6); flex: 1; min-width: 140px; }
.oc-editform input, .oc-editform textarea { border: 1.5px solid rgba(8,23,27,.15); border-radius: 9px; padding: 9px 11px; font: 14px var(--body-font, sans-serif); background: #fff; }
.oc-ef-full { margin-bottom: 10px; }
.oc-e-err { color: #c0392b; font-size: 13px; margin: 8px 0 0; }
.oc-account-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.oc-account-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: rgba(8,23,27,.6); }
.oc-account-form input { border: 1.5px solid rgba(8,23,27,.15); border-radius: 9px; padding: 10px 12px; font: 14px var(--body-font, sans-serif); background: #fff; }

/* Owner dashboard v3: schedule, insights, feed, trust (2026-07-02) */
.oc-sched-list { display: flex; flex-direction: column; gap: 10px; }
.oc-sched { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid rgba(8,23,27,.1); border-radius: 14px; padding: 13px 16px; }
.oc-sched-date { flex: none; min-width: 72px; text-align: center; background: #08171b; color: #f5efe2; border-radius: 10px; padding: 8px 10px; }
.oc-sched-date strong { display: block; font-size: 15px; }
.oc-sched-date span { font-size: 10.5px; opacity: .7; }
.oc-sched-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oc-sched-mid span { font-size: 13px; color: rgba(8,23,27,.6); }
.oc-sched-acts { display: flex; gap: 8px; }
.oc-sched-acts a { padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.oc-feed { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 7px; }
.oc-feed li { background: #fff; border: 1px solid rgba(8,23,27,.08); border-radius: 10px; padding: 9px 13px; font-size: 13.5px; }
.oc-feed-when { display: inline-block; min-width: 52px; color: rgba(8,23,27,.45); font-size: 12px; }
.oc-chart { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding: 8px 4px 0; }
.oc-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; }
.oc-bar { width: 100%; max-width: 46px; background: #1a6b7a; border-radius: 6px 6px 0 0; min-height: 3px; }
.oc-bar-wrap span { font-size: 11px; color: rgba(8,23,27,.5); }
.oc-bar-wrap em { font-style: normal; font-size: 10.5px; color: rgba(8,23,27,.6); font-family: var(--mono-font, monospace); }
.oc-table-wrap { overflow-x: auto; }
.oc-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 13.5px; }
.oc-table th { text-align: left; background: #08171b; color: #f5efe2; padding: 9px 12px; font-size: 12px; letter-spacing: .3px; }
.oc-table td { padding: 9px 12px; border-top: 1px solid rgba(8,23,27,.07); }
.oc-coach { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid rgba(8,23,27,.1); border-radius: 14px; padding: 15px 17px; }
.oc-coach-e { font-size: 26px; }
.oc-coach p { margin: 3px 0 0; font-size: 13.5px; color: rgba(8,23,27,.65); }
.oc-trust { background: #fff; border: 1px solid rgba(8,23,27,.1); border-radius: 14px; padding: 15px 17px; }
.oc-trust-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.oc-trust-top strong { font-family: var(--mono-font, monospace); font-size: 20px; }
.oc-trust-bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(8,23,27,.08); overflow: hidden; }
.oc-trust-bar span { display: block; height: 100%; background: #1d9e75; border-radius: 4px; }
.oc-trust ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px; }
.oc-trust li { font-size: 13.5px; color: rgba(8,23,27,.55); }
.oc-trust li.ok { color: #14683f; }
@media (max-width: 640px) { .oc-sched { flex-wrap: wrap; } }

/* Site Kit request builder + RFQ kit display (2026-07-02) */
.rq-kicker { display:inline-block; background:#eef5f6; color:#1a6b7a; font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px; letter-spacing:.3px; }
.rq-addbar { display:flex; gap:10px; align-items:stretch; margin:6px 0 10px; }
.rq-addbar select { flex:1; }
.rq-addbar input { width:78px; }
.rq-addbar select, .rq-addbar input { border:1.5px solid rgba(8,23,27,.15); border-radius:10px; padding:11px 12px; font:15px var(--body-font,sans-serif); background:#fff; }
.rq-addbar .btn { flex:none; padding:11px 18px; }
.rq-items { display:flex; flex-direction:column; gap:8px; }
.rq-item { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid rgba(8,23,27,.12); border-radius:12px; padding:11px 14px; }
.rq-item-q { font-family:var(--mono-font,monospace); font-weight:700; color:#1a6b7a; }
.rq-item-c { flex:1; font-weight:600; }
.rq-item-rm { border:none; background:rgba(8,23,27,.06); color:#c0392b; width:26px; height:26px; border-radius:50%; cursor:pointer; font-size:13px; }
.rq-items-empty { background:#f8f4ea; border:1px dashed rgba(8,23,27,.2); border-radius:12px; padding:14px 16px; font-size:13.5px; color:rgba(8,23,27,.6); margin:0; }
.rq-seg { display:flex; gap:8px; }
.rq-seg button { flex:1; padding:11px; border:1.5px solid rgba(8,23,27,.15); border-radius:10px; background:#fff; font:600 14px var(--body-font,sans-serif); cursor:pointer; }
.rq-seg button.is-active { background:var(--ink,#08171b); color:var(--cream,#f5efe2); border-color:var(--ink,#08171b); }
.rfq-kit { display:flex; flex-wrap:wrap; gap:8px; margin:4px 0; }
.rfq-kit-item { background:#08171b; color:#f5efe2; font-size:13px; font-weight:600; padding:6px 13px; border-radius:999px; }
