/* ui.css */
/* ==========================================================================
   SMAD UI 2026-11 — design layer loaded after Bootstrap 4 + the phpListings theme.
   Scoped to body.smad-ui so it can be removed by deleting one <link>.
   ========================================================================== */

:root {
  --s-ink: #0b1220;
  --s-ink-2: #334155;
  --s-muted: #64748b;
  --s-faint: #94a3b8;
  --s-line: #e2e8f0;
  --s-line-2: #eef2f7;
  --s-bg: #ffffff;
  --s-soft: #f7f9fc;
  --s-soft-2: #f1f5fb;
  --s-brand: #2156e8;
  --s-brand-ink: #1a45c2;
  --s-brand-soft: #eaf0ff;
  --s-ok: #15803d;
  --s-ok-soft: #e8f7ee;
  --s-radius: 14px;
  --s-radius-sm: 10px;
  --s-radius-lg: 20px;
  --s-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --s-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px -6px rgba(15, 23, 42, .10);
  --s-shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 18px 40px -12px rgba(15, 23, 42, .18);
  --s-head: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --s-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --s-header-h: 68px;
}

/* ---------- Base ---------- */
body.smad-ui {
  font-family: var(--s-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--s-ink-2);
  background: var(--s-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.smad-ui a { color: var(--s-brand); text-decoration: none; }
.smad-ui a:hover { color: var(--s-brand-ink); }
.smad-ui :focus-visible { outline: 3px solid rgba(33, 86, 232, .35); outline-offset: 2px; border-radius: 6px; }
.smad-ui :where(h1, h2, h3, h4, h5) { font-family: var(--s-head); color: var(--s-ink); letter-spacing: -.015em; }
.smad-ui .container { max-width: 1200px; padding-left: 20px; padding-right: 20px; }
.smad-ui img { max-width: 100%; }

.smad-h1 { font-family: var(--s-head); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); line-height: 1.15; letter-spacing: -.025em; color: var(--s-ink); margin: 0; }
.smad-h2 { font-family: var(--s-head); font-weight: 800; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; color: var(--s-ink); margin: 0; }
.smad-h3 { font-family: var(--s-head); font-weight: 700; font-size: 1.125rem; line-height: 1.35; color: var(--s-ink); margin: 0 0 .4rem; }
.smad-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--s-brand); margin: 0 0 .5rem; }
.smad-kicker-light { color: rgba(255, 255, 255, .8); }
.smad-link-arrow { font-weight: 600; font-size: .95rem; white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.smad-link-arrow i { font-size: .8em; transition: transform .15s; }
.smad-link-arrow:hover i { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.smad-ui .btn { font-weight: 600; border-radius: 999px; padding: .6rem 1.15rem; font-size: .95rem; line-height: 1.3; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .05s; }
.smad-ui .btn:active { transform: translateY(1px); }
.smad-ui .btn-sm { padding: .42rem .9rem; font-size: .85rem; }
.smad-ui .btn-lg { padding: .8rem 1.5rem; font-size: 1.02rem; }
.smad-ui .btn-primary { background: var(--s-brand); border-color: var(--s-brand); color: #fff; box-shadow: 0 1px 2px rgba(33, 86, 232, .25); }
.smad-ui .btn-primary:hover, .smad-ui .btn-primary:focus { background: var(--s-brand-ink); border-color: var(--s-brand-ink); color: #fff; }
.smad-ui .btn-light { background: #fff; border-color: #fff; color: var(--s-ink); }
.smad-ui .btn-light:hover { background: var(--s-soft-2); color: var(--s-ink); }
.smad-ui .btn-outline-primary { border-color: var(--s-line); color: var(--s-ink-2); background: #fff; }
.smad-ui .btn-outline-primary:hover { border-color: var(--s-brand); color: var(--s-brand); background: var(--s-brand-soft); }
.smad-btn-outline { background: #fff; border: 1px solid var(--s-line) !important; color: var(--s-ink) !important; }
.smad-btn-outline:hover { border-color: var(--s-brand) !important; color: var(--s-brand) !important; background: var(--s-brand-soft); }
.smad-btn-ghost { background: transparent; border: 0; color: var(--s-ink-2) !important; }
.smad-btn-ghost:hover { background: var(--s-soft-2); color: var(--s-ink) !important; }

/* ---------- Forms ---------- */
.smad-ui .form-control, .smad-ui .custom-select {
  border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); min-height: 44px; font-size: .95rem; color: var(--s-ink);
  box-shadow: none; transition: border-color .15s, box-shadow .15s; background-color: #fff;
}
.smad-ui .custom-select-sm { min-height: 36px; font-size: .875rem; }
.smad-ui .form-control:focus, .smad-ui .custom-select:focus { border-color: var(--s-brand); box-shadow: 0 0 0 4px rgba(33, 86, 232, .12); }
.smad-ui label, .smad-ui .col-form-label { font-weight: 600; font-size: .875rem; color: var(--s-ink); }
.smad-ui .form-text, .smad-ui small.text-muted { color: var(--s-muted) !important; }

/* ---------- Chips / pills ---------- */
.smad-chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--s-line); color: var(--s-ink-2) !important; font-size: .875rem; font-weight: 500;
  line-height: 1.3; white-space: nowrap; cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.smad-chip:hover, .smad-chip.is-active { border-color: var(--s-brand); color: var(--s-brand) !important; background: var(--s-brand-soft); }
.smad-chip-count { font-size: .75rem; color: var(--s-muted); font-weight: 600; background: var(--s-soft-2); border-radius: 999px; padding: 0 .45rem; }
.smad-chip:hover .smad-chip-count, .smad-chip.is-active .smad-chip-count { background: #fff; color: var(--s-brand); }
.smad-count { font-size: .78rem; font-weight: 700; color: var(--s-ink-2); background: var(--s-soft-2); border-radius: 999px; padding: .15rem .55rem; }
.smad-verified {
  display: inline-flex; align-items: center; gap: .3rem; font-family: var(--s-body); font-size: .72rem; font-weight: 700;
  color: var(--s-ok); background: var(--s-ok-soft); border-radius: 999px; padding: .15rem .55rem; letter-spacing: .01em; vertical-align: middle; white-space: nowrap;
}
.smad-verified i { font-size: .65rem; }
.smad-verified-lg { font-size: .8rem; padding: .25rem .7rem; }
.smad-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: .6rem 0 0; padding: 0; }
.smad-tags li { font-size: .75rem; color: var(--s-ink-2); background: var(--s-soft-2); border-radius: 6px; padding: .15rem .5rem; }

/* ---------- Header ---------- */
.smad-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.smad-header.is-scrolled { border-bottom-color: var(--s-line); box-shadow: 0 4px 20px -12px rgba(15, 23, 42, .25); }
.smad-header .navbar { padding: 0; min-height: var(--s-header-h); background: transparent !important; box-shadow: none !important; }
.smad-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.smad-brand { padding: 10px 0; margin-right: 1.5rem; display: flex; align-items: center; }
.smad-brand img { height: 40px; width: auto; }
.smad-header .navbar-nav .nav-link { color: var(--s-ink-2); font-weight: 500; font-size: .95rem; padding: .5rem .85rem !important; border-radius: 8px; }
.smad-header .navbar-nav .nav-link:hover, .smad-header .navbar-nav .active > .nav-link, .smad-header .navbar-nav .show > .nav-link { color: var(--s-ink); background: var(--s-soft-2); }
.smad-header .dropdown-toggle::after { border-top-width: .3em; margin-left: .35em; vertical-align: .15em; opacity: .6; }
.smad-dropdown { border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-lg); padding: .4rem; min-width: 240px; margin-top: .4rem; }
@media (min-width: 992px) { .smad-dropdown { column-count: 2; column-gap: .25rem; min-width: 380px; } }
.smad-dropdown .dropdown-item { border-radius: 8px; padding: .45rem .7rem; font-size: .9rem; color: var(--s-ink-2); display: flex; align-items: center; gap: .55rem; break-inside: avoid; }
.smad-dropdown .dropdown-item:hover { background: var(--s-soft-2); color: var(--s-ink); }
.smad-header-actions { display: flex; align-items: center; gap: .35rem; }
.smad-btn-cta { padding: .55rem 1.05rem !important; }
.smad-toggler { border: 1px solid var(--s-line) !important; border-radius: 10px; width: 44px; height: 44px; padding: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #fff; }
.smad-toggler-bar { width: 18px; height: 2px; background: var(--s-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.smad-toggler[aria-expanded="true"] .smad-toggler-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.smad-toggler[aria-expanded="true"] .smad-toggler-bar:nth-child(2) { opacity: 0; }
.smad-toggler[aria-expanded="true"] .smad-toggler-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .smad-brand img { height: 34px; }
  .smad-header .navbar-collapse { flex-basis: 100%; }
  .smad-header .navbar-collapse.show, .smad-header .navbar-collapse.collapsing { border-top: 1px solid var(--s-line); margin: 0 -20px; padding: .5rem 20px 1rem; max-height: calc(100vh - var(--s-header-h)); overflow-y: auto; }
  .smad-header .navbar-nav .nav-link { padding: .75rem .5rem !important; font-size: 1rem; }
  .smad-dropdown { border: 0; box-shadow: none; padding: 0 0 0 .5rem; margin: 0; column-count: 2; }
  .smad-header-actions { padding-top: .75rem; margin-top: .5rem; border-top: 1px solid var(--s-line); }
  .smad-header-actions .btn { flex: 1; text-align: center; }
  .smad-header-actions .smad-btn-ghost { border: 1px solid var(--s-line); }
}

/* ---------- Sections ---------- */
.smad-section { padding: 72px 0; background: var(--s-bg); }
.smad-section-soft { background: var(--s-soft); }
.smad-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 28px; }
.smad-section-head-center { justify-content: center; text-align: center; }
@media (max-width: 575.98px) { .smad-section { padding: 48px 0; } .smad-section-head { margin-bottom: 20px; } }

/* ---------- Hero ---------- */
.smad-hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: linear-gradient(180deg, #f3f6ff 0%, #fff 100%); }
.smad-hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(33, 86, 232, .12), transparent 70%),
    radial-gradient(500px 280px at 90% 10%, rgba(124, 58, 237, .08), transparent 70%);
}
.smad-hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(15, 23, 42, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
.smad-hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.smad-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--s-ink-2); background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: .35rem .9rem; box-shadow: var(--s-shadow-sm); margin-bottom: 1.25rem; }
.smad-eyebrow i { color: var(--s-ok); }
.smad-hero-title { font-family: var(--s-head); font-weight: 800; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; color: var(--s-ink); margin: 0 0 1rem; text-shadow: none; }
.smad-hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: var(--s-muted); max-width: 640px; margin: 0 auto 2rem; letter-spacing: 0; }
.smad-search { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--s-line); border-radius: 18px; box-shadow: var(--s-shadow-lg); padding: 8px; text-align: left; }
.smad-search-field { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; }
.smad-search-field + .smad-search-field { border-left: 1px solid var(--s-line); }
.smad-search-keyword { flex: 1.5 1 0; }
.smad-search-field > i { position: absolute; left: 16px; color: var(--s-faint); font-size: .95rem; pointer-events: none; z-index: 2; }
.smad-search-field .form-group { margin: 0; width: 100%; }
.smad-search-field label { display: none; }
.smad-search .form-control, .smad-search .custom-select, .smad-search select, .smad-search input { border: 0 !important; box-shadow: none !important; background-color: transparent; height: 52px; min-height: 52px; padding-left: 42px; font-size: 1rem; color: var(--s-ink); width: 100%; border-radius: 12px; }
.smad-search select, .smad-search .custom-select { -webkit-appearance: none; appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; cursor: pointer; }
.smad-search .form-control:focus, .smad-search select:focus { background-color: var(--s-soft); }
.smad-search-btn { border-radius: 12px !important; padding: 0 1.75rem !important; font-size: 1rem !important; min-height: 52px; flex: 0 0 auto; }
.smad-quick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.smad-quick-label { font-size: .875rem; color: var(--s-muted); font-weight: 500; }
.smad-trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 2.75rem auto 0; padding: 0; max-width: 760px; background: var(--s-line); border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow: hidden; }
.smad-trust li { background: rgba(255, 255, 255, .9); padding: 1rem .5rem; display: flex; flex-direction: column; align-items: center; }
.smad-trust strong { font-family: var(--s-head); font-size: 1.35rem; font-weight: 800; color: var(--s-ink); line-height: 1.1; }
.smad-trust span { font-size: .8rem; color: var(--s-muted); }
@media (max-width: 767.98px) {
  .smad-hero { padding: 40px 0 44px; }
  .smad-search { flex-direction: column; padding: 6px; border-radius: 16px; }
  .smad-search-field + .smad-search-field { border-left: 0; border-top: 1px solid var(--s-line-2); }
  .smad-search-btn { margin-top: 6px; width: 100%; }
  .smad-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; }
  .smad-quick { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 1rem -20px 0; padding: 0 20px 4px; scrollbar-width: none; }
  .smad-quick::-webkit-scrollbar { display: none; }
}

/* ---------- Category tiles ---------- */
.smad-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.smad-cat-arrow { color: var(--s-faint); font-size: .8rem; transition: transform .15s, color .15s; }
.smad-cat:hover .smad-cat-arrow { color: var(--s-brand); transform: translateX(3px); }
.smad-cat { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); color: inherit !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.smad-cat:hover { border-color: #c9d6f5; box-shadow: var(--s-shadow); transform: translateY(-2px); }
.smad-cat-media { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--s-brand-soft); display: flex; align-items: center; justify-content: center; color: var(--s-brand); font-size: 1.3rem; }
.smad-cat-media img { width: 100%; height: 100%; object-fit: cover; }
.smad-cat-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.smad-cat-name { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1rem; line-height: 1.3; }
.smad-cat-desc { font-size: .85rem; color: var(--s-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.smad-cat .smad-count { align-self: flex-start; }
@media (max-width: 575.98px) { .smad-cat-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } .smad-cat-media { flex-basis: 48px; width: 48px; height: 48px; } }

/* ---------- Country grid ---------- */
.smad-country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.smad-country { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); color: var(--s-ink) !important; font-weight: 600; transition: border-color .15s, box-shadow .15s, transform .15s; }
.smad-country:hover { border-color: #c9d6f5; box-shadow: var(--s-shadow); transform: translateY(-2px); }
.smad-flag { width: 28px !important; height: 20px !important; border-radius: 4px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); flex: 0 0 auto; background-size: cover; }
.smad-flag-lg { width: 44px !important; height: 32px !important; border-radius: 6px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); flex: 0 0 auto; background-size: cover; }
.smad-country-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smad-country-count { font-size: .85rem; font-weight: 600; color: var(--s-muted); }
@media (max-width: 575.98px) { .smad-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .smad-country { padding: 12px; gap: 8px; font-size: .9rem; } .smad-country-count { font-size: .78rem; } }

/* ---------- Features ---------- */
.smad-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.smad-feature { background: var(--s-soft); border: 1px solid var(--s-line-2); border-radius: var(--s-radius-lg); padding: 28px; }
.smad-feature p { margin: 0; color: var(--s-muted); font-size: .95rem; }
.smad-feature-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--s-line); color: var(--s-brand); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 1rem; box-shadow: var(--s-shadow-sm); }
@media (max-width: 767.98px) { .smad-feature-grid { grid-template-columns: 1fr; } .smad-feature { padding: 22px; } }

/* ---------- CTA band ---------- */
.add-account-teaser-widget.smad-section { padding-top: 0; }
.smad-cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 44px 48px; border-radius: 24px; color: #fff; background: radial-gradient(500px 220px at 90% 0%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(135deg, #1d4ed8 0%, #2156e8 45%, #4f46e5 100%); box-shadow: var(--s-shadow-lg); }
.smad-cta-band .smad-h2 { color: #fff; }
.smad-cta-band p { color: rgba(255, 255, 255, .85); margin: .6rem 0 0; max-width: 560px; }
.smad-cta-actions { display: flex; flex-direction: column; align-items: center; gap: .6rem; flex: 0 0 auto; }
.smad-cta-secondary { color: #fff !important; font-weight: 600; font-size: .9rem; opacity: .9; }
.smad-cta-secondary:hover { opacity: 1; }
@media (max-width: 767.98px) { .smad-cta-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; } .smad-cta-actions { align-items: stretch; width: 100%; } }

/* ---------- Directory header (country / category / search) ---------- */
.smad-dir-head { padding: 28px 0 8px; background: linear-gradient(180deg, var(--s-soft) 0%, #fff 100%); border-bottom: 1px solid var(--s-line-2); }
.smad-dir-title { display: flex; align-items: center; gap: 16px; }
.smad-dir-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--s-brand-soft); color: var(--s-brand); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 auto; }
.smad-dir-meta { margin: .3rem 0 0; color: var(--s-muted); font-size: .95rem; }
.smad-dir-meta strong { color: var(--s-ink); }
.smad-dir-lead { margin: 14px 0 0; max-width: 760px; color: var(--s-ink-2); font-size: 1.02rem; }
.smad-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; align-items: flex-start; }
.smad-chip-more { display: contents; }
.smad-chip-more > summary { list-style: none; background: var(--s-soft-2); }
.smad-chip-more > summary::-webkit-details-marker { display: none; }
.smad-chip-more[open] > summary { display: none; }
.smad-chip-more-list { display: contents; }
.smad-readmore { margin: 10px 0 16px; max-width: 820px; }
.smad-readmore > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--s-brand); padding: .25rem 0; }
.smad-readmore > summary::-webkit-details-marker { display: none; }
.smad-readmore > summary i { font-size: .75em; transition: transform .2s; }
.smad-readmore[open] > summary i { transform: rotate(180deg); }
.smad-readmore-body { padding-top: .5rem; color: var(--s-ink-2); font-size: .95rem; }
.smad-readmore-body p { margin-bottom: .8rem; }
@media (max-width: 767.98px) {
  .smad-dir-head { padding-top: 20px; }
  .smad-dir-lead { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .smad-chip-row { flex-wrap: nowrap; overflow-x: auto; margin: 14px -20px 4px; padding: 0 20px 6px; scrollbar-width: none; }
  .smad-chip-row::-webkit-scrollbar { display: none; }
  .smad-chip-more-list { display: contents; }
}

/* ---------- Results ---------- */
.smad-results { padding: 20px 0 64px; background: #fff; }
.smad-crumbs .breadcrumb { background: transparent; padding: 0; margin: 0 0 12px; font-size: .85rem; }
.smad-crumbs .breadcrumb-item, .smad-crumbs .breadcrumb-item a { color: var(--s-muted); }
.smad-crumbs .breadcrumb-item a:hover { color: var(--s-brand); }
.smad-crumbs .breadcrumb-item + .breadcrumb-item::before { content: "›"; color: var(--s-faint); }
.smad-crumbs .breadcrumb-item.active { color: var(--s-ink-2); }
.smad-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--s-line-2); }
.smad-toolbar-title { margin: 0; display: flex; flex-direction: column; font-family: var(--s-body); }
.smad-toolbar-count { font-family: var(--s-head); font-size: 1.25rem; font-weight: 800; color: var(--s-ink); letter-spacing: -.01em; }
.smad-toolbar-sub { font-size: .85rem; font-weight: 400; color: var(--s-muted); }
.smad-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.smad-sort { width: auto; min-width: 190px; border-radius: 999px !important; padding-left: .9rem; }
.smad-segment { display: inline-flex; border: 1px solid var(--s-line); border-radius: 999px; padding: 3px; background: #fff; }
.smad-segment button { border: 0; background: transparent; width: 34px; height: 30px; border-radius: 999px; color: var(--s-muted); display: inline-flex; align-items: center; justify-content: center; }
.smad-segment button:hover { color: var(--s-ink); }
.smad-segment button.active { background: var(--s-ink); color: #fff; }
.listing-results-container > .listing-card-container { margin-bottom: 12px; }
.listing-results-container.is-grid > .listing-card-container { margin-bottom: 16px; }
.smad-results .map { height: 520px; border-radius: var(--s-radius); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--s-line); }
.smad-filters { border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 18px; background: #fff; position: sticky; top: calc(var(--s-header-h) + 16px); }
.smad-filters > summary { list-style: none; font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1rem; margin-bottom: 12px; pointer-events: none; }
.smad-filters > summary::-webkit-details-marker { display: none; }
.smad-filters > summary i { color: var(--s-brand); margin-right: .35rem; }
.smad-filters .form-group { margin-bottom: 14px; }
.smad-filters .btn { width: 100%; }
.smad-filters .btn + .btn, .smad-filters a.btn { margin-top: 0; }
.smad-filters .btn-secondary, .smad-filters .btn-outline-secondary { background: transparent; border-color: var(--s-line); color: var(--s-ink-2); }
@media (max-width: 991.98px) {
  .smad-filters-col { margin-top: 24px; }
  .smad-filters { position: static; padding: 0; border: 0; }
  .smad-filters > summary { pointer-events: auto; cursor: pointer; border: 1px solid var(--s-line); border-radius: 999px; padding: .6rem 1rem; display: inline-flex; align-items: center; }
  .smad-filters[open] > summary { margin-bottom: 16px; }
}
@media (max-width: 575.98px) {
  .smad-toolbar { align-items: flex-start; }
  .smad-toolbar-actions { width: 100%; }
  .smad-sort { flex: 1; min-width: 0; }
}
.smad-empty { text-align: center; padding: 56px 16px; border: 1px dashed var(--s-line); border-radius: var(--s-radius); background: var(--s-soft); }
.smad-empty > i { font-size: 1.6rem; color: var(--s-faint); margin-bottom: .75rem; }
.smad-empty-title { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1.1rem; margin-bottom: .3rem; }

/* ---------- Agency card ---------- */
.smad-ui .listing-card.smad-lcard { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; box-shadow: none; transition: border-color .15s, box-shadow .15s; height: 100%; }
.smad-ui .listing-card.smad-lcard:hover { border-color: #c9d6f5; box-shadow: var(--s-shadow); }
.smad-lcard-logo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--s-line-2); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.smad-lcard-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.smad-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--s-head); font-weight: 800; font-size: 1.35rem; color: var(--s-brand); background: var(--s-brand-soft); }
.smad-lcard-main { flex: 1; min-width: 0; }
.smad-lcard-title { font-family: var(--s-head); font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 0 0 .25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.smad-lcard-title a { color: var(--s-ink) !important; }
.smad-lcard-title a:hover { color: var(--s-brand) !important; }
.smad-lcard-title a::after { content: ""; position: absolute; inset: 0; }
.smad-lcard { position: relative; }
.smad-lcard-side { position: relative; z-index: 1; }
.smad-lcard-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; margin: 0 0 .45rem; font-size: .85rem; color: var(--s-muted); }
.smad-lcard-meta i { color: var(--s-faint); margin-right: .15rem; }
.smad-lcard-desc { margin: 0; font-size: .9rem; color: var(--s-ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.smad-lcard-rating { margin: 0 0 .35rem; font-size: .85rem; }
.smad-lcard-side { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; flex: 0 0 auto; }
.smad-icon-btn { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--s-line); display: inline-flex; align-items: center; justify-content: center; color: var(--s-muted) !important; cursor: pointer; background: #fff; }
.smad-icon-btn:hover { color: var(--s-brand) !important; border-color: var(--s-brand); }
.is-grid .smad-lcard { flex-wrap: wrap; }
.is-grid .smad-lcard-side { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; padding-top: .75rem; border-top: 1px solid var(--s-line-2); }
@media (max-width: 575.98px) {
  .smad-ui .listing-card.smad-lcard { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .smad-lcard-logo { flex-basis: 56px; width: 56px; height: 56px; border-radius: 12px; }
  .smad-lcard-main { flex-basis: calc(100% - 68px); }
  .smad-lcard-side { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; padding-top: .6rem; border-top: 1px solid var(--s-line-2); }
}

/* ---------- Pagination ---------- */
.smad-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--s-line-2); }
.smad-pagination-info { margin: 0; font-size: .875rem; color: var(--s-muted); }
.smad-pagination .pagination { margin: 0; gap: 4px; flex-wrap: wrap; }
.smad-pagination .page-link { border: 1px solid var(--s-line); border-radius: 10px !important; color: var(--s-ink-2); min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; font-weight: 500; font-size: .9rem; padding: 0 .7rem; background: #fff; }
.smad-pagination .page-link:hover { border-color: var(--s-brand); color: var(--s-brand); background: var(--s-brand-soft); }
.smad-pagination .page-item.active .page-link { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.smad-pagination .page-item.disabled .page-link { color: var(--s-faint); background: #fff; }
.smad-pagination .smad-ellipsis .page-link { border-color: transparent; min-width: 24px; padding: 0; }
.smad-pagination-limit { display: flex; align-items: center; gap: .5rem; }
.smad-pagination-limit label { margin: 0; font-weight: 500; color: var(--s-muted); font-size: .85rem; white-space: nowrap; }
.smad-pagination-limit select { width: auto; border-radius: 999px !important; }
@media (max-width: 767.98px) { .smad-pagination { justify-content: center; } .smad-pagination-info { width: 100%; text-align: center; order: 2; } }

/* ---------- Profile page ---------- */
.smad-profile-head { padding: 20px 0 8px; background: linear-gradient(180deg, var(--s-soft) 0%, #fff 100%); }
.smad-profile-card { display: flex; align-items: center; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); }
.smad-profile-logo { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 20px; border: 1px solid var(--s-line-2); overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.smad-profile-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.smad-profile-logo .smad-initials { font-size: 2rem; }
.smad-profile-id { flex: 1; min-width: 0; }
.smad-profile-name { font-family: var(--s-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.15; letter-spacing: -.025em; color: var(--s-ink); margin: 0 0 .5rem; }
.smad-profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; color: var(--s-muted); font-size: .92rem; }
.smad-profile-loc a { color: var(--s-ink-2) !important; }
.smad-profile-loc a:hover { color: var(--s-brand) !important; }
.smad-profile-loc i { color: var(--s-faint); margin-right: .2rem; }
.smad-profile-rating { margin: .5rem 0 0; font-size: .9rem; }
.smad-profile-actions { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; min-width: 190px; }
.smad-profile-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.smad-profile-actions .btn i { font-size: .8em; }
.smad-facts { margin-top: 16px; padding: 20px 24px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); }
.smad-facts-title { font-family: var(--s-body); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 12px; }
.smad-facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 24px; margin: 0; }
.smad-fact dt { font-size: .78rem; font-weight: 600; color: var(--s-muted); margin-bottom: .1rem; }
.smad-fact dd { margin: 0; font-size: .95rem; color: var(--s-ink); font-weight: 500; overflow-wrap: anywhere; }
.smad-socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 8px; }
.smad-socials-label { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); margin-right: .35rem; }
.smad-social-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border: 1px solid var(--s-line); border-radius: 999px; font-size: .85rem; color: var(--s-ink-2) !important; background: #fff; }
.smad-social-pill:hover { border-color: var(--s-brand); color: var(--s-brand) !important; }
.smad-social-pill i { font-size: .9em; }
@media (max-width: 767.98px) {
  .smad-profile-card { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .smad-profile-logo { flex-basis: 72px; width: 72px; height: 72px; border-radius: 16px; }
  .smad-profile-logo .smad-initials { font-size: 1.5rem; }
  .smad-profile-id { flex-basis: calc(100% - 86px); }
  .smad-profile-actions { flex-direction: row; flex-wrap: wrap; width: 100%; min-width: 0; }
  .smad-profile-actions .btn { flex: 1 1 auto; }
  .smad-profile-actions .btn-primary { flex-basis: 100%; }
  .smad-facts { padding: 16px; }
  .smad-facts-grid { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
}

.smad-ui .listing-widget-body { background: #fff !important; padding-bottom: 64px !important; }
.smad-ui .listing-widget-body > .container > .row > .py-5 { padding-top: 24px !important; }
.smad-ui .listing-widget-body h3.display-5, .smad-ui .listing-widget-body h2.display-5 { font-family: var(--s-head); font-size: 1.35rem !important; font-weight: 800 !important; letter-spacing: -.015em; margin-bottom: 1rem !important; }
.smad-ui .listing-widget-body .border-bottom { border-color: var(--s-line-2) !important; }
.smad-ui .listing-description { color: var(--s-ink-2); font-size: 1rem; line-height: 1.75; }
.smad-ui .listing-widget-body .map, .smad-ui .listing-widget-body #map { height: 320px; border-radius: var(--s-radius); overflow: hidden; border: 1px solid var(--s-line); }
.smad-ui .related-agencies-wrap h4 { font-family: var(--s-head); font-size: 1.35rem !important; font-weight: 800; color: var(--s-ink); }
.smad-ui .related-agency-card > div { border-radius: var(--s-radius) !important; border-color: var(--s-line) !important; box-shadow: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.smad-ui .related-agency-card:hover > div { border-color: #c9d6f5 !important; box-shadow: var(--s-shadow) !important; transform: translateY(-2px); }
.smad-profile-side { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
@media (min-width: 992px) { .smad-profile-side { position: sticky; top: calc(var(--s-header-h) + 16px); align-self: flex-start; } }
.smad-side-card { display: block; padding: 20px; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: #fff; color: inherit !important; }
.smad-side-card p { font-size: .9rem; color: var(--s-muted); margin: 0 0 .75rem; }
.smad-side-card .smad-side-title { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1rem; margin-bottom: .75rem; }
.smad-side-title i { color: var(--s-brand); margin-right: .3rem; }
.smad-side-actions .btn + .btn { margin-top: 8px; }
.smad-side-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--s-line-2); }
.smad-tool { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--s-line); background: #fff; font-size: .82rem; font-weight: 500; color: var(--s-ink-2) !important; cursor: pointer; }
.smad-tool:hover { border-color: var(--s-brand); color: var(--s-brand) !important; }
.smad-side-claim { background: var(--s-soft); border-color: var(--s-line-2); }
.smad-side-badge img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--s-line-2); margin-bottom: .75rem; }
.smad-side-preview img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 10px; border: 1px solid var(--s-line-2); transition: transform .3s; }
.smad-side-preview:hover img { transform: scale(1.01); }
.smad-side-host { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--s-brand); }
.smad-side-host i { font-size: .75em; }
.smad-share-pop { position: absolute; z-index: 20; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-lg); padding: 6px; display: flex; flex-direction: column; min-width: 180px; }
.smad-share-pop a, .smad-share-pop button { display: flex; align-items: center; gap: .55rem; padding: .5rem .7rem; border-radius: 8px; font-size: .88rem; color: var(--s-ink-2) !important; background: none; border: 0; text-align: left; }
.smad-share-pop a:hover, .smad-share-pop button:hover { background: var(--s-soft-2); }

/* ---------- Content pages ---------- */
.smad-page { padding: 0 0 72px; background: #fff; }
.smad-page-head { padding: 28px 0 32px; background: linear-gradient(180deg, var(--s-soft) 0%, #fff 100%); border-bottom: 1px solid var(--s-line-2); margin-bottom: 36px; }
.smad-page-lead { font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); color: var(--s-muted); margin: .85rem 0 0; max-width: 760px; }
.smad-page-updated { font-size: .82rem; color: var(--s-faint); margin: .75rem 0 0; }
.smad-prose-width { max-width: 820px; }
.smad-page-body { font-size: 1.02rem; line-height: 1.75; color: var(--s-ink-2); }
.smad-page-body.is-wide { font-size: .98rem; }
.smad-page-body > p, .smad-page-body li { color: var(--s-ink-2); }
.smad-page-body h2, .smad-page-body .cp-h { font-family: var(--s-head); font-size: 1.4rem; font-weight: 800; color: var(--s-ink); margin: 2.2rem 0 .75rem; letter-spacing: -.015em; }
.smad-page-body h3 { font-family: var(--s-head); font-size: 1.12rem; font-weight: 700; color: var(--s-ink); margin: 1.6rem 0 .5rem; }
.smad-page-body h2:first-child, .smad-page-body > *:first-child { margin-top: 0; }
.smad-page-body table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow: hidden; font-size: .92rem; margin: 1rem 0 1.5rem; }
.smad-page-body th { background: var(--s-soft); color: var(--s-ink); font-weight: 700; font-size: .82rem; text-transform: none; border-bottom: 1px solid var(--s-line) !important; border-top: 0 !important; padding: .75rem .9rem !important; vertical-align: bottom; }
.smad-page-body td { border-top: 1px solid var(--s-line-2) !important; padding: .75rem .9rem !important; vertical-align: middle; }
.smad-page-body tr:hover td { background: #fbfcfe; }
.smad-page-body .table-responsive { border-radius: var(--s-radius); }
.smad-page-body details { border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; margin-bottom: 12px; padding: 0 18px; }
.smad-page-body details > summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--s-ink); list-style-position: inside; }
.smad-page-body details[open] > summary { border-bottom: 1px solid var(--s-line-2); margin-bottom: 12px; }
.smad-page-body details details { border: 0; padding: 0; margin: 0; background: transparent; }
.smad-page-body details details > summary { padding: 4px 0; font-weight: 500; font-size: .88rem; border: 0 !important; margin: 0 !important; }
.smad-page-body .top-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 1.5rem !important; }
.smad-page-body .top-nav .btn, .smad-page-body .top-city-btn { margin: 0 !important; border-radius: 999px !important; border: 1px solid var(--s-line) !important; color: var(--s-ink-2) !important; background: #fff !important; font-weight: 500 !important; }
.smad-page-body .top-nav .btn:hover, .smad-page-body .top-city-btn:hover { border-color: var(--s-brand) !important; color: var(--s-brand) !important; background: var(--s-brand-soft) !important; }
.smad-page-body .card { border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: none !important; }
.smad-page-body pre { border-radius: 10px !important; }
.smad-page-body .badge-success, .smad-page-body .badge-primary { border-radius: 999px; font-weight: 600; }
/* legacy content-page helpers (cp-*) produced by the page builders */
.smad-page-body .cp-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
.smad-page-body .cp-card { border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); padding: 22px; background: var(--s-soft); }
.smad-page-body .cp-card-h { font-size: 1.05rem !important; margin: 0 0 .6rem !important; display: flex; align-items: center; gap: .5rem; }
.smad-page-body .cp-card-h i { color: var(--s-brand); }
.smad-page-body .cp-btn-primary { display: inline-flex; align-items: center; padding: .7rem 1.3rem; border-radius: 999px; background: var(--s-brand); color: #fff !important; font-weight: 600; margin: .5rem 0 1.5rem; }
.smad-page-body .cp-btn-primary:hover { background: var(--s-brand-ink); }
.smad-page-body .cp-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 2rem; }
.smad-page-body .cp-benefit { border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 16px; display: flex; flex-direction: column; gap: .15rem; background: #fff; }
.smad-page-body .cp-benefit i { color: var(--s-brand); margin-bottom: .4rem; }
.smad-page-body .cp-benefit b { color: var(--s-ink); font-family: var(--s-head); }
.smad-page-body .cp-benefit span { font-size: .85rem; color: var(--s-muted); }
.smad-page-body .cp-steps { counter-reset: step; list-style: none; padding: 0; }
.smad-page-body .cp-steps li { counter-increment: step; position: relative; padding: .55rem 0 .55rem 2.75rem; }
.smad-page-body .cp-steps li::before { content: counter(step); position: absolute; left: 0; top: .45rem; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--s-brand-soft); color: var(--s-brand); font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.smad-page-body .faq-card { border: 1px solid var(--s-line) !important; box-shadow: none !important; border-radius: var(--s-radius) !important; padding: 0 !important; }
.smad-page-body .faq-q { padding: 16px 20px !important; margin: 0 !important; border: 0 !important; }
.smad-page-body .faq-q > i:first-child { color: var(--s-brand) !important; }
.smad-page-body .faq-cta { background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%) !important; border-radius: var(--s-radius-lg) !important; }
.smad-page-body .faq-cta * { color: #fff; }
@media (max-width: 767.98px) {
  .smad-page-head { padding: 20px 0 24px; margin-bottom: 24px; }
  .smad-page-body .cp-row { grid-template-columns: 1fr; }
  .smad-page-body .cp-benefits { grid-template-columns: 1fr 1fr; }
  .smad-page-body table { display: block; overflow-x: auto; white-space: nowrap; }
}
/* badge page: search box injected by ui.js */
.smad-badge-search { position: sticky; top: calc(var(--s-header-h) + 8px); z-index: 5; background: #fff; padding: 8px 0 12px; margin-bottom: 8px; }
.smad-badge-search input { border-radius: 999px !important; padding-left: 1.1rem; }
.smad-badge-empty { display: none; padding: 24px; text-align: center; color: var(--s-muted); border: 1px dashed var(--s-line); border-radius: var(--s-radius); }

/* ---------- 404 ---------- */
.smad-404 { padding: 72px 0 96px; }
.smad-404-code { font-family: var(--s-head); font-weight: 800; font-size: 4.5rem; line-height: 1; letter-spacing: -.04em; color: var(--s-brand); opacity: .2; margin: 0 0 .5rem; }
.smad-404-search { display: flex; gap: 8px; max-width: 520px; margin: 1.75rem auto 1rem; }
.smad-404-search .form-control { border-radius: 999px; padding-left: 1.1rem; }
.smad-404-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; font-weight: 600; font-size: .95rem; }

/* ---------- Footer ---------- */
.smad-footer { background: #0b1220; color: #a5b0c2; padding: 64px 0 28px; font-size: .92rem; }
.smad-footer a { color: #cbd3df !important; }
.smad-footer a:hover { color: #fff !important; }
.smad-footer-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.smad-footer-name { font-family: var(--s-head); font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0 0 .6rem; }
.smad-footer-blurb { color: #94a0b4; margin: 0 0 1rem; max-width: 340px; line-height: 1.6; }
.smad-footer-contact { display: flex; flex-direction: column; gap: .15rem; margin: 0 0 1rem; }
.smad-footer-contact a { overflow-wrap: anywhere; font-weight: 500; }
.smad-footer-contact span { font-size: .82rem; color: #7d8aa0; }
.smad-footer-heading { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 .9rem; }
.smad-footer-col ul { list-style: none; margin: 0; padding: 0; }
.smad-footer-col li { margin-bottom: .55rem; }
.smad-social { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.smad-social a { width: 36px; height: 36px; border-radius: 999px; background: rgba(255, 255, 255, .06); display: inline-flex; align-items: center; justify-content: center; color: #cbd3df !important; transition: background .15s; }
.smad-social a:hover { background: rgba(255, 255, 255, .14); }
.smad-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 24px; font-size: .82rem; color: #7d8aa0; }
.smad-footer-bottom p { margin: 0; }
@media (max-width: 991.98px) { .smad-footer-top { grid-template-columns: 1fr 1fr; } .smad-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .smad-footer { padding: 44px 0 24px; } .smad-footer-top { gap: 24px 16px; } }

/* ---------- Auth / account / contact forms ---------- */
.smad-ui .page-account .datawrapper-widget, .page-account .data-wrapper-widget { background: var(--s-soft); }
.page-account .widget > .container .card, .page-content.page-contact .card { border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); }
.page-account h2, .page-content.page-contact h3 { font-family: var(--s-head); font-weight: 800; letter-spacing: -.02em; color: var(--s-ink); }

/* ---------- Misc / theme overrides ---------- */
.smad-ui .bg-light { background-color: var(--s-soft) !important; }
.smad-ui .shadow-md { box-shadow: var(--s-shadow) !important; }
.smad-ui .card { border-color: var(--s-line); border-radius: var(--s-radius); }
.smad-ui .badge-pill { font-weight: 600; }
.smad-ui .alert { border-radius: var(--s-radius); }
.smad-ui #_bttb { width: 44px; height: 44px; border-radius: 999px; box-shadow: var(--s-shadow-lg); border: 1px solid var(--s-line); background: #fff; display: none; align-items: center; justify-content: center; right: 20px; bottom: 20px; }
.smad-ui .offcanvas { box-shadow: var(--s-shadow-lg); }
.smad-ui .window-overlay { opacity: 0; }
.smad-ui .window-overlay.show { opacity: .4; }
.smad-ui .dropdown-item.active, .smad-ui .dropdown-item:active { background: var(--s-brand-soft); color: var(--s-brand); }
.smad-ui ::selection { background: rgba(33, 86, 232, .18); }
@media (prefers-reduced-motion: reduce) { .smad-ui *, .smad-ui *::before, .smad-ui *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- 2026-11-08 pass 2 ---------- */
/* select2 (used by the cascading location/category fields) */
.smad-ui .select2-container--custom .select2-selection--single, .smad-ui .select2-container .select2-selection--single { height: 44px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); display: flex; align-items: center; background: #fff; }
.smad-ui .select2-container .select2-selection__rendered { line-height: 1.3 !important; padding-left: .75rem !important; color: var(--s-ink) !important; font-size: .95rem; }
.smad-ui .select2-container .select2-selection__placeholder { color: var(--s-muted) !important; }
.smad-ui .select2-container .select2-selection__arrow { height: 100% !important; top: 0 !important; right: 8px !important; }
.smad-ui .select2-container--focus .select2-selection--single, .smad-ui .select2-container--open .select2-selection--single { border-color: var(--s-brand) !important; box-shadow: 0 0 0 4px rgba(33, 86, 232, .12); }
.smad-ui .select2-dropdown { border: 1px solid var(--s-line) !important; border-radius: var(--s-radius-sm) !important; box-shadow: var(--s-shadow-lg); overflow: hidden; }
.smad-ui .select2-results__option--highlighted { background: var(--s-brand-soft) !important; color: var(--s-brand) !important; }
.smad-ui .select2-search__field { border: 1px solid var(--s-line) !important; border-radius: 8px !important; }
.smad-search .select2-container { width: 100% !important; }
.smad-search .select2-container .select2-selection--single { height: 52px; border: 0 !important; box-shadow: none !important; background: transparent; border-radius: 12px; }
.smad-search .select2-container .select2-selection__rendered { padding-left: 42px !important; font-size: 1rem; }
.smad-search .select2-container--open .select2-selection--single { background: var(--s-soft); }
/* the toolbar already sorts; hide the duplicate (and empty) sort control in the sidebar */
.smad-filters .form-group:has(select[name="sort"]) { display: none; }
/* account pages: single centred card */
.page-account-login section.bg-white > .container, .page-account-create section.bg-white > .container, .page-account-password-reminder section.bg-white > .container, .page-account-password-reset section.bg-white > .container, .page-account-verification section.bg-white > .container { max-width: 620px; }
.page-account-login section.bg-white > .container > .row > .col-11, .page-account-create section.bg-white > .container > .row > .col-11, .page-account-password-reminder section.bg-white > .container > .row > .col-11, .page-account-password-reset section.bg-white > .container > .row > .col-11, .page-account-verification section.bg-white > .container > .row > .col-11 { flex: 0 0 100%; max-width: 100%; }
.page-account-login .bd-box-right, .page-account-create .bd-box-right, .page-account-password-reminder .bd-box-right, .page-account-password-reset .bd-box-right, .page-account-verification .bd-box-right { border: 0 !important; padding-right: 15px !important; }
.page-account-login section.bg-white .row.align-items-center > .col-lg-8, .page-account-create section.bg-white .row.align-items-center > .col-lg-8, .page-account-password-reminder section.bg-white .row.align-items-center > .col-lg-8, .page-account-password-reset section.bg-white .row.align-items-center > .col-lg-8, .page-account-verification section.bg-white .row.align-items-center > .col-lg-8 { flex: 0 0 100%; max-width: 100%; }
.page-account-login section.bg-white .row.align-items-center > .col-lg-4:not(:has(a)), .page-account-create section.bg-white .row.align-items-center > .col-lg-4:not(:has(a)), .page-account-password-reminder section.bg-white .row.align-items-center > .col-lg-4:not(:has(a)), .page-account-password-reset section.bg-white .row.align-items-center > .col-lg-4:not(:has(a)), .page-account-verification section.bg-white .row.align-items-center > .col-lg-4:not(:has(a)) { display: none; }
.page-account-login section.bg-white .row.align-items-center > .col-lg-4, .page-account-create section.bg-white .row.align-items-center > .col-lg-4, .page-account-password-reminder section.bg-white .row.align-items-center > .col-lg-4, .page-account-password-reset section.bg-white .row.align-items-center > .col-lg-4, .page-account-verification section.bg-white .row.align-items-center > .col-lg-4 { flex: 0 0 100%; max-width: 100%; }
.page-account-login section.bg-white > .container > .row:last-child > .col-11, .page-account-create section.bg-white > .container > .row:last-child > .col-11, .page-account-password-reminder section.bg-white > .container > .row:last-child > .col-11, .page-account-password-reset section.bg-white > .container > .row:last-child > .col-11, .page-account-verification section.bg-white > .container > .row:last-child > .col-11 { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); padding: 28px; }
.page-account-login section.bg-white, .page-account-create section.bg-white, .page-account-password-reminder section.bg-white, .page-account-password-reset section.bg-white, .page-account-verification section.bg-white { background: var(--s-soft) !important; padding: 48px 0 72px !important; }
.page-account-login .form-group.row > [class*="col-sm-"], .page-account-create .form-group.row > [class*="col-sm-"], .page-account-password-reminder .form-group.row > [class*="col-sm-"], .page-account-password-reset .form-group.row > [class*="col-sm-"], .page-account-verification .form-group.row > [class*="col-sm-"], .page-account-login .form-group.row > [class*="col-md-"], .page-account-create .form-group.row > [class*="col-md-"], .page-account-password-reminder .form-group.row > [class*="col-md-"], .page-account-password-reset .form-group.row > [class*="col-md-"], .page-account-verification .form-group.row > [class*="col-md-"], .page-account-login .form-group.row > [class*="col-lg-"], .page-account-create .form-group.row > [class*="col-lg-"], .page-account-password-reminder .form-group.row > [class*="col-lg-"], .page-account-password-reset .form-group.row > [class*="col-lg-"], .page-account-verification .form-group.row > [class*="col-lg-"] { flex: 0 0 100%; max-width: 100%; text-align: left !important; }
.page-account-login .form-group.row > label, .page-account-create .form-group.row > label, .page-account-password-reminder .form-group.row > label, .page-account-password-reset .form-group.row > label, .page-account-verification .form-group.row > label { padding-bottom: .3rem; }
.page-account-login .form-group.row .offset-sm-3, .page-account-create .form-group.row .offset-sm-3, .page-account-password-reminder .form-group.row .offset-sm-3, .page-account-password-reset .form-group.row .offset-sm-3, .page-account-verification .form-group.row .offset-sm-3, .page-account-login .form-group.row [class*="offset-"], .page-account-create .form-group.row [class*="offset-"], .page-account-password-reminder .form-group.row [class*="offset-"], .page-account-password-reset .form-group.row [class*="offset-"], .page-account-verification .form-group.row [class*="offset-"] { margin-left: 0; }
.page-account-login .smad-h1, .page-account-create .smad-h1, .page-account-password-reminder .smad-h1, .page-account-password-reset .smad-h1, .page-account-verification .smad-h1 { font-size: 1.9rem; }
.page-account-login .btn, .page-account-create .btn, .page-account-password-reminder .btn, .page-account-password-reset .btn, .page-account-verification .btn { min-width: 120px; }
.contact-form-widget { padding: 48px 0 72px !important; background: var(--s-soft) !important; }
.contact-form-widget .container { max-width: 760px; }
.contact-form-widget .col-12.mt-5 { margin-top: 24px !important; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); padding: 28px; }
.contact-form-widget .form-group.row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; text-align: left !important; }
.contact-form-widget .form-group.row [class*="offset-"] { margin-left: 0; }
@media (max-width: 575.98px) { .page-account section.bg-white > .container > .row:last-child > .col-11, .contact-form-widget .col-12.mt-5 { padding: 20px; } }
.smad-search .select2-container .select2-selection__arrow { top: 50% !important; transform: translateY(-50%); height: 20px !important; right: 12px !important; }
@media (max-width: 575.98px) { .smad-country-name { white-space: normal; line-height: 1.25; } }
.page-account section.bg-white > .container > .row.mb-4 > .col-11 { padding-left: 15px; }

/* ---------- 2026-11-08 pass 3: SEO landing pages, compare, filters ---------- */
.smad-dir-parent { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--s-muted) !important; margin-bottom: 10px; }
.smad-dir-parent:hover { color: var(--s-brand) !important; }
.smad-dir-parent i { font-size: .75em; }
.smad-chip-block + .smad-chip-block { margin-top: 4px; }
.smad-chip-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); margin: 16px 0 -8px; }
.smad-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 16px; }
.smad-active-filters .smad-chip i { font-size: .7rem; opacity: .7; }
.smad-clear-filters { font-size: .85rem; font-weight: 600; margin-left: 4px; }
.smad-compare-btn { display: inline-flex; align-items: center; gap: .35rem; border: 1px dashed var(--s-line); background: #fff; color: var(--s-muted); border-radius: 999px; font-size: .78rem; font-weight: 600; padding: .3rem .7rem; cursor: pointer; white-space: nowrap; }
.smad-compare-btn:hover { border-color: var(--s-brand); color: var(--s-brand); border-style: solid; }
.smad-compare-btn.is-on { border-style: solid; border-color: var(--s-brand); background: var(--s-brand-soft); color: var(--s-brand); }
.smad-compare-btn i { font-size: .7rem; }
.smad-compare-tray { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1040; width: min(760px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 16px; background: var(--s-ink); color: #fff; border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(11, 18, 32, .5); animation: smadUp .2s ease-out; }
@keyframes smadUp { from { transform: translate(-50%, 12px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.smad-compare-tray-items { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.smad-compare-pill { display: inline-flex; align-items: center; gap: .35rem; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: .25rem .4rem .25rem .75rem; font-size: .82rem; font-weight: 500; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smad-compare-pill button { border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 20px; height: 20px; border-radius: 999px; line-height: 1; font-size: .9rem; padding: 0; cursor: pointer; flex: 0 0 auto; }
.smad-compare-note-inline { font-size: .78rem; color: #fbbf24; align-self: center; }
.smad-compare-tray-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.smad-compare-tray-hint { font-size: .8rem; color: #a5b0c2; }
.smad-compare-tray-clear { border: 0; background: transparent; color: #a5b0c2; font-size: .82rem; font-weight: 600; cursor: pointer; }
.smad-compare-tray-clear:hover { color: #fff; }
@media (max-width: 575.98px) { .smad-compare-tray { flex-direction: column; align-items: stretch; bottom: 8px; } .smad-compare-tray-actions { justify-content: space-between; } }
.smad-compare { margin-bottom: 40px; }
.smad-compare-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.smad-compare-scroll { overflow-x: auto; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: #fff; }
.smad-page-body .smad-compare-table { width: 100%; min-width: 640px; border: 0; margin: 0; border-radius: 0; table-layout: fixed; }
.smad-page-body .smad-compare-table thead th { background: #fff; vertical-align: top; padding: 18px 16px !important; border-bottom: 1px solid var(--s-line) !important; }
.smad-page-body .smad-compare-table thead th:first-child, .smad-page-body .smad-compare-table tbody th { width: 150px; }
.smad-page-body .smad-compare-table tbody th { background: var(--s-soft); font-size: .8rem; color: var(--s-muted); font-weight: 600; vertical-align: top; }
.smad-page-body .smad-compare-table td { vertical-align: top !important; font-size: .9rem; color: var(--s-ink); line-height: 1.5; }
.smad-compare-agency { display: flex; flex-direction: column; gap: 10px; color: var(--s-ink) !important; margin-bottom: 8px; }
.smad-compare-agency .smad-lcard-logo { width: 56px; height: 56px; flex: 0 0 56px; }
.smad-compare-name { font-family: var(--s-head); font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.smad-compare-actions td .btn { margin: 0 6px 6px 0; }
.smad-muted-dash { color: var(--s-faint); }
.smad-compare-note { font-size: .82rem; color: var(--s-muted); margin-top: 10px; }
.smad-compare-hint { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: var(--s-soft); }
.smad-compare-hint p { margin: 0 0 .5rem; font-size: .95rem; }
.smad-compare-hint .smad-feature-icon { margin: 0; flex: 0 0 auto; }
.smad-lcard-side .smad-compare-btn { margin-top: 2px; }
.is-grid .smad-lcard-side .smad-compare-btn, .smad-lcard-side .smad-compare-btn { order: 2; }

.smad-toolbar-title, .smad-toolbar-sub { letter-spacing: 0; }

/* ---------- 2026-11-08 pass 4: reviews ---------- */
.smad-review-invite { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px dashed #c9d6f5; border-radius: var(--s-radius-lg); background: var(--s-brand-soft); }
.smad-review-invite-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; flex: 0 0 auto; }
.smad-review-invite-body { flex: 1; min-width: 0; }
.smad-review-invite-body p { margin: 0; color: var(--s-ink-2); font-size: .92rem; }
.smad-review-invite .smad-side-title { margin-bottom: .2rem !important; }
.smad-review-jump { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; color: var(--s-ink-2) !important; padding: .5rem .9rem; border: 1px solid var(--s-line); border-radius: 999px; }
.smad-review-jump i.fa-arrow-down { font-size: .75rem; color: var(--s-muted); }
@media (max-width: 575.98px) { .smad-review-invite { flex-wrap: wrap; } .smad-review-invite .btn { width: 100%; } }
.smad-reviews { padding: 56px 0 !important; background: var(--s-soft) !important; border-top: 1px solid var(--s-line-2); }
.smad-reviews-note { font-size: .88rem; color: var(--s-muted); margin: .5rem 0 0; }
.smad-reviews-note i { color: var(--s-ok); margin-right: .3rem; }
.smad-reviews .rating-page { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); padding: 24px 12px; margin: 0; }
.smad-reviews .col-12.py-5.border-bottom { border: 0 !important; padding-bottom: 0 !important; }
.smad-reviews .display-0 { font-family: var(--s-head); font-weight: 800; font-size: 3rem; color: var(--s-ink); line-height: 1; }
.smad-reviews .progress { height: 8px; border-radius: 999px; background: var(--s-soft-2); }
.smad-reviews .progress-bar { border-radius: 999px; font-size: 0; }
.smad-reviews .media { background: #fff; border: 1px solid var(--s-line) !important; border-radius: var(--s-radius-lg); padding: 20px !important; margin-bottom: 14px; }
.smad-reviews .user-profile-icon { width: 48px; height: 48px; font-size: 1.2rem !important; }
.smad-reviews h5 { font-family: var(--s-head); font-size: 1.05rem !important; font-weight: 700; }
.smad-review-page { padding: 32px 0 72px; background: var(--s-soft); }
.smad-review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.smad-review-card { margin-top: 24px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); padding: 28px; }
.smad-review-card .form-group.row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; text-align: left !important; }
.smad-review-card .form-group.row [class*="offset-"] { margin-left: 0; }
.smad-review-aside { position: sticky; top: calc(var(--s-header-h) + 16px); }
.smad-checklist { list-style: none; padding: 0; margin: 0 0 .9rem; }
.smad-checklist li { position: relative; padding: .3rem 0 .3rem 1.6rem; font-size: .9rem; color: var(--s-ink-2); }
.smad-checklist li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: .35rem; color: var(--s-ok); font-size: .8rem; }
@media (max-width: 991.98px) { .smad-review-layout { grid-template-columns: 1fr; } .smad-review-aside { position: static; } }
.smad-auth-note { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: var(--s-radius-sm); background: var(--s-brand-soft); color: var(--s-ink-2); font-size: .92rem; margin-bottom: 1rem; }
.smad-auth-note i { color: #f59e0b; }

/* ---------- 2026-11-08 pass 4: Get matched ---------- */
.smad-nav-match { color: var(--s-brand) !important; font-weight: 600 !important; }
.smad-nav-match i { font-size: .8em; margin-right: .2rem; }
.smad-hero-match { margin: 1.1rem 0 0; font-size: .95rem; color: var(--s-muted); }
.smad-hero-match a { font-weight: 600; }
.smad-hero-match i { font-size: .8em; }
.smad-match-promo { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--s-radius); background: linear-gradient(135deg, var(--s-brand-soft), #f3efff); border: 1px solid #d9e2fb; color: var(--s-ink-2) !important; margin-bottom: 12px; }
.smad-match-promo .smad-feature-icon { margin: 0; flex: 0 0 auto; }
.smad-match-promo-body { flex: 1; font-size: .93rem; }
.smad-match-promo-body strong { color: var(--s-ink); margin-right: .25rem; }
@media (max-width: 575.98px) { .smad-match-promo { flex-wrap: wrap; } .smad-match-promo .btn { width: 100%; } }
.page-get-matched .smad-page-body { max-width: 860px; }
.smad-match-form { display: flex; flex-direction: column; gap: 16px; }
.smad-match-form.is-collapsed { display: none; }
.smad-match-step { border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); padding: 22px 24px 8px; background: #fff; margin: 0; min-width: 0; }
.smad-match-step legend { float: left; width: 100%; font-family: var(--s-head); font-weight: 700; font-size: 1.08rem; color: var(--s-ink); margin: 0 0 14px; padding: 0; display: flex; align-items: center; gap: .6rem; }
.smad-match-step legend + * { clear: both; }
.smad-step-n { width: 28px; height: 28px; border-radius: 999px; background: var(--s-brand); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.smad-optional { font-family: var(--s-body); font-size: .75rem; font-weight: 500; color: var(--s-muted); background: var(--s-soft-2); border-radius: 999px; padding: .1rem .5rem; }
.smad-step-help { font-size: .9rem; color: var(--s-muted); margin: -4px 0 12px; }
.smad-option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 14px; }
.smad-option { position: relative; margin: 0; cursor: pointer; font-weight: 500 !important; }
.smad-option input { position: absolute; opacity: 0; pointer-events: none; }
.smad-option span { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); font-size: .92rem; color: var(--s-ink-2); transition: border-color .15s, background .15s, color .15s; }
.smad-option span i { color: var(--s-faint); width: 1.1rem; text-align: center; }
.smad-option:hover span { border-color: #c9d6f5; }
.smad-option input:checked + span { border-color: var(--s-brand); background: var(--s-brand-soft); color: var(--s-brand); box-shadow: inset 0 0 0 1px var(--s-brand); }
.smad-option input:checked + span i { color: var(--s-brand); }
.smad-option input:focus-visible + span { outline: 3px solid rgba(33, 86, 232, .35); outline-offset: 2px; }
.smad-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 575.98px) { .smad-field-row { grid-template-columns: 1fr; } .smad-match-step { padding: 18px 16px 4px; } }
.smad-hint-link { display: inline-block; font-size: .82rem; margin-top: .35rem; }
.smad-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.smad-match-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 4px 0 0; }
.smad-match-results { margin-bottom: 32px; }
.smad-match-done { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--s-radius-lg); background: var(--s-ok-soft); border: 1px solid #c7ebd4; margin-bottom: 18px; }
.smad-match-done .smad-feature-icon { margin: 0; color: var(--s-ok); flex: 0 0 auto; }
.smad-match-done p { margin: .4rem 0 0; color: var(--s-ink-2); }
.smad-match-why { font-size: .78rem; font-weight: 700; color: var(--s-ok); margin: 0 0 6px 4px; text-transform: uppercase; letter-spacing: .05em; }
.smad-match-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.smad-leads-table { min-width: 1200px !important; table-layout: auto !important; }
.smad-leads-table td, .smad-leads-table th { font-size: .82rem !important; }
.smad-review-invite-body p.smad-side-title { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1rem; }
@media (min-width: 992px) { .smad-header .navbar-nav .nav-link { padding: .5rem .7rem !important; } .smad-header .navbar-collapse { flex-wrap: nowrap; } }
.smad-match-results .smad-lcard { height: auto !important; }

/* ---------- 2026-11-08 pass 5: account dashboard ---------- */
.smad-account .side-menu .nav-link { border-radius: 10px; color: var(--s-ink-2); font-weight: 500; padding: .55rem .8rem; }
.smad-account .side-menu .nav-link:hover { background: var(--s-soft-2); color: var(--s-ink); }
.page-account .side-menu .nav-link { border-radius: 10px; color: var(--s-ink-2); font-weight: 500; }
.page-account .side-menu .nav-link:hover { background: var(--s-soft-2); }
.smad-account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.smad-account-h2 { font-family: var(--s-head); font-weight: 800; font-size: 1.2rem; color: var(--s-ink); margin: 8px 0 12px; display: flex; align-items: center; gap: .5rem; }
.smad-account-note { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: var(--s-radius-sm); background: #fff8e6; border: 1px solid #fde7a8; color: var(--s-ink-2); margin-bottom: 14px; font-size: .92rem; }
.smad-claim-empty { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: linear-gradient(135deg, var(--s-brand-soft), #fff); margin-bottom: 24px; }
.smad-claim-empty .smad-feature-icon { margin: 0; flex: 0 0 auto; }
.smad-claim-empty-body { flex: 1; min-width: 0; }
.smad-claim-empty-body p { color: var(--s-ink-2); }
.smad-claim-empty .smad-404-search { margin: 1rem 0 .6rem; max-width: 520px; }
.smad-claim-alt { font-size: .9rem; margin: 0; }
.smad-agency-panel { border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: #fff; padding: 20px; margin-bottom: 14px; }
.smad-agency-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.smad-agency-panel-name { font-family: var(--s-head); font-weight: 800; font-size: 1.15rem; color: var(--s-ink) !important; margin-right: .5rem; }
.smad-agency-panel-status { font-size: .72rem; font-weight: 700; border-radius: 999px; padding: .15rem .55rem; vertical-align: middle; }
.smad-agency-panel-status.is-live { background: var(--s-ok-soft); color: var(--s-ok); }
.smad-agency-panel-status.is-pending { background: #fff8e6; color: #a16207; }
.smad-agency-panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.smad-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--s-line-2); border: 1px solid var(--s-line-2); border-radius: var(--s-radius); overflow: hidden; }
.smad-kpi { background: var(--s-soft); padding: 14px 16px; display: flex; flex-direction: column; gap: .1rem; }
.smad-kpi-n { font-family: var(--s-head); font-weight: 800; font-size: 1.6rem; color: var(--s-ink); line-height: 1.1; }
.smad-kpi-l { font-size: .82rem; font-weight: 600; color: var(--s-ink-2); }
.smad-kpi-l em { font-style: normal; font-weight: 500; color: var(--s-muted); }
.smad-kpi-t { font-size: .76rem; color: var(--s-muted); }
@media (max-width: 767.98px) { .smad-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .smad-claim-empty { flex-direction: column; } }
.smad-account-tip { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--s-ink-2); padding: .8rem 1rem; border-radius: var(--s-radius-sm); background: var(--s-soft); margin: 6px 0 24px; }
.smad-account-tip i { color: #f59e0b; margin-top: .2rem; }
.smad-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 767.98px) { .smad-account-grid { grid-template-columns: 1fr; } }
.smad-account-list { list-style: none; padding: 0; margin: 0 0 .75rem; }
.smad-account-list li { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--s-line-2); font-size: .92rem; }
.smad-account-list li:last-child { border-bottom: 0; }
.smad-account-list li span { color: var(--s-faint); font-size: .8rem; white-space: nowrap; }
.smad-account-list a.is-unread { font-weight: 700; }

/* account band + side menu */
.smad-account-band { background: linear-gradient(180deg, var(--s-soft) 0%, #fff 100%); border-bottom: 1px solid var(--s-line-2); padding: 20px 0; }
.smad-account-band .container { display: flex; align-items: center; gap: 14px; }
.smad-account-avatar { width: 48px; height: 48px; border-radius: 999px; background: var(--s-brand); color: #fff; font-family: var(--s-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.smad-account-band-name { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: 1.1rem; margin: 0; }
.smad-account-band-sub { margin: 0; font-size: .85rem; color: var(--s-muted); }
.page-account .side-menu .nav-link .badge { display: inline-block; margin-left: .35rem !important; background: var(--s-soft-2); color: var(--s-muted); font-weight: 600; }
.page-account .side-menu .nav-link .badge-danger { background: #ef4444; color: #fff; }
.page-account .side-menu { width: 100%; }
@media (min-width: 992px) { .page-account .side-menu .nav-link { white-space: nowrap; } }

.smad-kind-pill { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--s-body); font-size: .72rem; font-weight: 700; color: #7c3aed; background: #f3efff; border-radius: 999px; padding: .15rem .55rem; vertical-align: middle; white-space: nowrap; }
.smad-kind-pill i { font-size: .62rem; }
.smad-kind-pill-lg { font-size: .8rem; padding: .25rem .7rem; }

/* ---------- 2026-11-08: logo A ---------- */
.smad-brand { gap: 10px; text-decoration: none !important; }
.smad-logo-mark { flex: 0 0 auto; display: block; }
.smad-logo-text { display: flex; flex-direction: column; line-height: 1; }
.smad-logo-t1 { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: 17px; letter-spacing: -.02em; line-height: 1.05; }
.smad-logo-t2 { font-family: var(--s-body); font-weight: 600; color: var(--s-muted); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }
@media (max-width: 991.98px) { .smad-logo-mark { width: 30px; height: 33px; } .smad-logo-t1 { font-size: 15.5px; } .smad-logo-t2 { font-size: 8.5px; } }

/* ---------- Claim flow (2026-11-08) ---------- */
.smad-claim .smad-eyebrow { margin-bottom: .9rem; }
.smad-claim-lead { color: var(--s-ink-2); font-size: 1.02rem; margin: .6rem 0 1.4rem; max-width: 46ch; }
.smad-claim-form .form-group:has(#listing),
.smad-free-only .smad-claim-form .form-group:has(#pricing_id) { display: none; }
.smad-claim-form .form-group.row { display: block; margin-left: 0; margin-right: 0; }
.smad-claim-form .form-group.row > [class*="col-"] { max-width: 100%; padding-left: 0; padding-right: 0; text-align: left !important; }
.smad-claim-form label[for="comment"] { font-weight: 600; color: var(--s-ink); margin-bottom: .4rem; }
.smad-claim-form textarea { min-height: 140px; }
.smad-claim-steps { background: var(--s-bg-soft, #f6f8fc); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.5rem; }
.smad-claim-steps ol { padding-left: 1.2rem; margin: .8rem 0 1.1rem; color: var(--s-ink-2); }
.smad-claim-steps li { margin-bottom: .6rem; }
.smad-claim-steps li strong { color: var(--s-ink); }
.smad-claim-tip { display: flex; gap: .6rem; align-items: flex-start; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); padding: .8rem 1rem; font-size: .92rem; color: var(--s-ink-2); margin: 0; }
.smad-claim-tip i { color: #f59e0b; margin-top: .2rem; }
.smad-claim-tip em { font-style: normal; font-weight: 600; color: var(--s-ink); word-break: break-all; }
.smad-auth-note-claim { align-items: flex-start; }
.smad-auth-note-claim i { color: var(--s-brand); margin-top: .2rem; }
.smad-continue-claim { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--s-radius); background: var(--s-brand-soft); border: 1px solid #c7d4fb; margin-bottom: 16px; }
.smad-continue-claim p { margin: .15rem 0 0; color: var(--s-ink-2); font-size: .92rem; }
.smad-continue-claim > div { flex: 1 1 auto; min-width: 0; }
.smad-continue-claim .btn { flex: 0 0 auto; }
@media (max-width: 575.98px) { .smad-continue-claim { flex-wrap: wrap; } .smad-continue-claim .btn { width: 100%; } }
.smad-plan-note { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--s-radius-sm); background: var(--s-brand-soft); border: 1px solid #c7d4fb; margin-bottom: 1.25rem; }
.smad-plan-note p { margin: .2rem 0 0; color: var(--s-ink-2); font-size: .93rem; }
/* Add/edit agency form: hide fields agencies don't need (all optional or defaulted). */
.smad-ui.page-account form .form-group:has([name="meta_title"]),
.smad-ui.page-account form .form-group:has([name="meta_keywords"]),
.smad-ui.page-account form .form-group:has([name="meta_description"]),
.smad-ui.page-account form .form-group:has([name="timezone"]) { display: none; }
.smad-ui.page-account form .form-group:has([name="website"]) label::after { content: " (shown as a link on your profile)"; font-weight: 400; color: var(--s-ink-3, #64748b); }
.smad-page-body .faq-cta a { color: var(--s-brand) !important; background: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.4rem; border-radius: 999px; text-decoration: none; }
.smad-page-body .faq-cta a:hover { background: #eef2ff; }
/* Account area tidy-up (2026-11-08) */
.smad-ui.page-account .data-wrapper-widget { padding-top: 28px !important; }
.smad-ui.page-account .data-wrapper-widget > .container > .row.py-6,
.smad-ui.page-account .data-wrapper-widget > .container > .row.py-5,
.smad-ui.page-account .data-wrapper-widget .container > .row.py-6:first-child { padding-top: 0 !important; }
.smad-ui.page-account .btn-success { background: var(--s-brand); border-color: var(--s-brand); color: #fff !important; }
.smad-ui.page-account .btn-success:hover { background: #1d4ed8; border-color: #1d4ed8; }
/* Single free plan: no invoices, and no "Cancel Pricing Plan" (it would unpublish the listing). */
.smad-free-only.page-account a[href*="/account/invoices?listing_id"] { display: none !important; }
.smad-free-only.page-account .card:has(#submit_cancel),
.smad-free-only.page-account form:has(#submit_cancel) { display: none !important; }
/* Mobile polish (QA audit 2026-11-08) */
.smad-header .dropdown-menu .fp, .navbar .dropdown-menu .fp { flex: 0 0 1.35em; min-width: 1.35em; }
@media (max-width: 575.98px) {
  .smad-compare-tray { padding: 8px 12px; gap: 8px; }
  .smad-compare-tray-items { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; max-width: 100%; }
  .smad-compare-tray-items::-webkit-scrollbar { display: none; }
  .smad-compare-pill { white-space: nowrap; flex: 0 0 auto; }
  body:has(.smad-compare-tray) { padding-bottom: 120px; }
  body:has(.smad-compare-tray) .btn-float { bottom: 130px !important; }
}

/* ---------- 2026-11-09 layout: full-width content pages + calmer directory header ---------- */
.smad-page-head-inner { max-width: 100%; }
.smad-page-head-inner .smad-page-lead { max-width: 72ch; }
.smad-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.smad-page-grid .smad-prose { max-width: 760px; }
.smad-page-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.smad-toc { border-left: 2px solid var(--s-line); padding: 2px 0 2px 16px; }
.smad-toc-title, .smad-aside-card-title { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 .6rem; }
.smad-toc ol { list-style: none; padding: 0; margin: 0; }
.smad-toc li { margin: 0 0 .45rem; line-height: 1.35; }
.smad-toc a { color: var(--s-ink-2); font-size: .92rem; }
.smad-toc a:hover { color: var(--s-brand); }
.smad-aside-card { border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-soft); padding: 16px 18px; font-size: .92rem; color: var(--s-ink-2); }
.smad-aside-card p { margin: 0 0 .7rem; }
.smad-aside-card-title { display: flex; align-items: center; gap: .45rem; text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--s-ink); }
.smad-aside-card-title i { color: var(--s-brand); }
.smad-aside-card .btn { margin-right: .6rem; }
.smad-aside-card a { word-break: break-word; }
.smad-page-body h2[id] { scroll-margin-top: 96px; }
.smad-page-body.is-row .cp-row { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
.smad-page-body.is-row .cp-main { max-width: 780px; }
@media (max-width: 991.98px) {
  .smad-page-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .smad-page-aside { position: static; }
  .smad-toc { display: none; }
  .smad-page-body.is-row .cp-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Directory header */
.smad-dir-head { padding: 18px 0 18px; }
.smad-dir-crumbs { margin-bottom: 10px; }
.smad-dir-crumbs .breadcrumb { margin: 0; }
.smad-dir-meta { color: var(--s-muted); }
.smad-dir-intro { max-width: 820px; margin-top: 12px; }
.smad-dir-intro .smad-dir-lead { margin: 0; display: inline; }
.smad-dir-intro .smad-readmore { display: inline; margin: 0 0 0 .35rem; }
.smad-dir-intro .smad-readmore > summary { display: inline-flex; font-size: .92rem; }
.smad-dir-intro .smad-readmore[open] { display: block; margin-top: .4rem; }
.smad-chip-scroller { display: flex; align-items: center; gap: 14px; margin-top: 18px; position: relative; }
.smad-chip-scroller-label { flex: 0 0 auto; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); }
.smad-chip-scroller-track { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding: 2px 32px 6px 2px; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.smad-chip-scroller-track .smad-chip { flex: 0 0 auto; white-space: nowrap; }
.smad-chip-scroller-track::-webkit-scrollbar { height: 6px; }
.smad-chip-scroller-track::-webkit-scrollbar-thumb { background: var(--s-line); border-radius: 6px; }
@media (max-width: 575.98px) {
  .smad-chip-scroller { flex-direction: column; align-items: flex-start; gap: 8px; }
  .smad-chip-scroller-track { width: 100%; }
  .smad-dir-intro .smad-dir-lead { display: -webkit-box; }
}

/* Sidebar link lists (services in this place, etc.) */
.smad-side-links { border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; padding: 14px 6px 8px; margin-bottom: 16px; }
.smad-side-links-title { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); margin: 0 12px 8px; }
.smad-side-links ul { list-style: none; margin: 0; padding: 0; }
.smad-side-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 8px; color: var(--s-ink-2); font-size: .92rem; line-height: 1.3; }
.smad-side-links a:hover { background: var(--s-soft); color: var(--s-brand); text-decoration: none; }
.smad-side-links a.is-active { background: var(--s-brand-soft); color: var(--s-brand); font-weight: 600; }
.smad-side-count { color: var(--s-muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
/* City FAQ below the results (2026-11-09) */
.smad-dir-faq { border-top: 1px solid var(--s-line-2); background: var(--s-soft); padding: 48px 0 56px; margin-top: 32px; }
.smad-dir-faq-inner { max-width: 820px; }
.smad-dir-faq .smad-h2 { margin-bottom: 20px; }
.smad-faq-item { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); margin-bottom: 10px; }
.smad-faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 600; color: var(--s-ink); }
.smad-faq-item > summary::-webkit-details-marker { display: none; }
.smad-faq-item > summary i { color: var(--s-muted); font-size: .8rem; transition: transform .2s; }
.smad-faq-item[open] > summary i { transform: rotate(180deg); }
.smad-faq-a { padding: 0 20px 16px; color: var(--s-ink-2); }
.smad-faq-a p { margin: 0; }
/* Polish pass (2026-11-09): content tables scroll instead of clipping, consistent disclosure chevrons and pills */
.smad-page-body details > summary { list-style: none; position: relative; padding-right: 28px; }
.smad-page-body details > summary::-webkit-details-marker { display: none; }
.smad-page-body details > summary::after { content: "\f078"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .72rem; color: var(--s-muted); position: absolute; right: 2px; top: 50%; transform: translateY(-50%); transition: transform .2s; }
.smad-page-body details[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.smad-page-body .faq-card > summary::after { content: none; }
.smad-page-body .badge-success, .smad-page-body .badge.badge-success { background: #e8f7ee !important; color: #15803d !important; border: 0; font-weight: 600; font-size: .72rem; padding: .25em .6em; }
@media (max-width: 767.98px) {
  .smad-page-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; font-size: .86rem; }
  .smad-page-body th, .smad-page-body td { padding: .6rem .7rem !important; }
  .smad-page-body td a { white-space: normal; }
  .smad-page-body .table-responsive { overflow-x: auto; }
}
@media (max-width: 575.98px) { .smad-country-name { overflow: visible; text-overflow: clip; font-size: .9rem; hyphens: auto; -webkit-hyphens: auto; } }
@media (max-width: 575.98px) { .smad-country-name { font-size: .86rem; margin-right: .4rem; letter-spacing: -.01em; } }

/* Owner form sections (2026-11-10) */
.smad-owner-form fieldset.smad-form-section { border: 0; border-top: 1px solid var(--s-line); margin: 0 0 8px; padding: 26px 0 6px; min-width: 0; }
.smad-owner-form fieldset.smad-form-section:first-of-type { border-top: 0; padding-top: 6px; }
.smad-owner-form .smad-form-h { float: none; width: auto; padding: 0; margin: 0 0 4px; font-family: var(--s-head); font-size: 1.2rem; font-weight: 800; color: var(--s-ink); letter-spacing: -.01em; }
.smad-owner-form .smad-form-lead { margin: 0 0 18px; color: var(--s-muted); font-size: .92rem; line-height: 1.5; }
.smad-owner-form .smad-anchor { display: block; position: relative; top: -90px; visibility: hidden; height: 0; }
.smad-owner-form fieldset.smad-form-section { scroll-margin-top: 90px; }
.smad-form-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 18px; }
.smad-form-nav a { display: inline-block; padding: .3rem .8rem; border: 1px solid var(--s-line); border-radius: 999px; background: #fff; color: var(--s-ink-2) !important; font-size: .84rem; font-weight: 600; text-decoration: none !important; }
.smad-form-nav a:hover { border-color: var(--s-brand); color: var(--s-brand) !important; }
.smad-owner-form .form-group > .form-text { margin-top: .35rem; }
.smad-owner-form .smad-form-actions { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--s-line); }
.smad-owner-form .smad-form-actions > label { display: none; }
@media (max-width: 575.98px) { .smad-owner-form .smad-form-h { font-size: 1.1rem; } .smad-form-nav a { font-size: .8rem; padding: .28rem .7rem; } }

/* Owner-declared profile facts: partner chips, languages, clients, pricing, remote (2026-11-10) */
.smad-fact-wide { grid-column: 1 / -1; }
.smad-pchips, .smad-lang-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.smad-pchips li { display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 600; color: var(--s-brand); background: var(--s-brand-soft); border: 1px solid #c7d4fb; border-radius: 999px; padding: .22rem .7rem; cursor: help; }
.smad-pchips li i { font-size: .72rem; }
.smad-fact-note { display: block; margin-top: .2rem; font-size: .76rem; font-weight: 500; color: var(--s-muted); }
.smad-fact dt .smad-info, .smad-fit-row dt .smad-info { margin-left: .25rem; color: var(--s-faint); cursor: help; font-size: .78rem; }
.smad-profile-remote { display: inline-flex; align-items: center; gap: .3rem; }
.smad-clients-list { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.smad-clients-list li { font-size: .84rem; color: var(--s-ink-2); background: var(--s-soft-2); border-radius: 6px; padding: .2rem .6rem; }
/* Long checkbox lists in two columns (2026-11-10) */
.smad-owner-form .form-group:has(.custom-checkbox) label:not(.custom-control-label) { display: block; width: 100%; float: none; margin-bottom: .5rem; }
@media (min-width: 576px) {
  .smad-owner-form .form-group:has(.custom-checkbox:nth-of-type(4)) .custom-checkbox { display: inline-block; width: 49%; vertical-align: top; }
}

/* features.css */
/* SMAD features (structured profile fields, filters, completeness meter) - owned by the features task. */

/* ---- platform icons + budget chip on listing cards ---- */
.smad-lcard-fit { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: .55rem 0 0; }
.smad-plat-icons { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.smad-plat-icons li { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--s-soft-2); color: var(--s-ink-2); font-size: .8rem; font-weight: 700; line-height: 1; }
.smad-budget-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; font-weight: 600; color: var(--s-ok); background: var(--s-ok-soft); border-radius: 999px; padding: .15rem .6rem; white-space: nowrap; }
.smad-budget-chip i { font-size: .7rem; }

/* ---- profile "Platforms & fit" ---- */
.smad-fit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px 24px; margin: 0; }
.smad-fit-row dt { font-size: .78rem; font-weight: 600; color: var(--s-muted); margin-bottom: .3rem; }
.smad-fit-row dd { margin: 0; font-size: .95rem; color: var(--s-ink); font-weight: 500; }
.smad-fit-wide { grid-column: 1 / -1; }
.smad-fit .smad-tags { margin: 0; }
.smad-fit .smad-tags li { font-size: .82rem; padding: .2rem .6rem; }
.smad-plat-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.smad-plat-list li { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--s-line); border-radius: 999px; padding: .3rem .8rem; font-size: .88rem; font-weight: 600; color: var(--s-ink-2); background: #fff; }
.smad-plat-list li i, .smad-plat-txt { color: var(--s-brand); font-size: .95rem; font-weight: 800; }

/* ---- filters (sidebar blocks + mobile chips + notes) ---- */
.smad-feat-ico { display: inline-block; width: 1.35rem; text-align: center; color: var(--s-muted); margin-right: .15rem; font-weight: 700; font-size: .85rem; }
.smad-side-links a.is-active .smad-feat-ico { color: var(--s-brand); }
.smad-feat-x { font-size: .7rem; opacity: .7; }
.smad-feat-off { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; font-size: .92rem; color: var(--s-faint); cursor: default; }
.smad-feat-off .smad-side-count { background: transparent; }
.smad-feat-hint { margin: .5rem 12px .25rem; font-size: .76rem; line-height: 1.4; color: var(--s-muted); }
.smad-fchips { margin: 0 0 14px; }
.smad-fchips-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.smad-fchips-row::-webkit-scrollbar { display: none; }
.smad-fchips-row .smad-chip { flex: 0 0 auto; white-space: nowrap; }
.smad-fchips-label { flex: 0 0 auto; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); min-width: 4.2rem; }
.smad-filter-note { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--s-ink-2); background: var(--s-brand-soft); border-radius: var(--s-radius-sm); padding: .65rem .9rem; margin: 0 0 14px; line-height: 1.45; }
.smad-filter-note i { color: var(--s-brand); margin-top: .2rem; }
.smad-filter-note.is-warn { background: #fff8e6; }
.smad-filter-note.is-warn i { color: #a16207; }

/* ---- completeness meter ---- */
.smad-meter { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-soft); }
.smad-meter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.smad-meter-title { font-family: var(--s-head); font-weight: 800; font-size: .95rem; color: var(--s-ink); }
.smad-meter-pct { font-family: var(--s-head); font-weight: 800; font-size: 1.35rem; color: var(--s-ink); }
.smad-meter-bar { height: 10px; border-radius: 999px; background: var(--s-line); overflow: hidden; }
.smad-meter-bar span { display: block; height: 100%; border-radius: 999px; background: var(--s-brand); transition: width .6s ease; }
.smad-meter.is-low .smad-meter-bar span { background: #f59e0b; }
.smad-meter.is-high .smad-meter-bar span { background: var(--s-ok); }
.smad-meter-nudge { display: flex; gap: .55rem; align-items: flex-start; margin: 12px 0 2px; font-size: .9rem; font-weight: 600; color: var(--s-ink); line-height: 1.45; }
.smad-meter-nudge i { color: var(--s-brand); margin-top: .2rem; }
.smad-meter-done { margin: 12px 0 0; font-size: .9rem; color: var(--s-ok); font-weight: 600; }
.smad-meter-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 18px; }
.smad-meter-list a { display: flex; align-items: center; gap: .6rem; padding: .4rem .25rem; border-radius: 8px; color: var(--s-ink-2) !important; font-size: .88rem; line-height: 1.3; text-decoration: none !important; }
.smad-meter-list a:hover { background: #fff; color: var(--s-brand) !important; }
.smad-meter-add { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--s-brand-soft); color: var(--s-brand); font-size: .6rem; }
.smad-meter-lbl { flex: 1; min-width: 0; }
.smad-meter-w { flex: 0 0 auto; font-size: .76rem; font-weight: 700; color: var(--s-muted); }
.smad-meter.is-compact { margin: 0 0 20px; }
.smad-meter.is-compact .smad-meter-list { grid-template-columns: 1fr; }
.smad-edit-hint { margin: 0 0 18px; padding: .75rem 1rem; border-radius: var(--s-radius-sm); background: var(--s-brand-soft); color: var(--s-ink-2); font-size: .9rem; line-height: 1.45; }

@media (max-width: 767.98px) {
  .smad-fit-grid { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .smad-meter-list { grid-template-columns: 1fr; }
  .smad-plat-list li { padding: .25rem .65rem; font-size: .84rem; }
}

/* ---- edit form: field highlighted when arriving from a checklist link ---- */
.smad-field-flash { background: var(--s-brand-soft); border-radius: var(--s-radius-sm); outline: 4px solid var(--s-brand-soft); outline-offset: 2px; transition: background .4s ease; }
.smad-svg-ico { display: inline-block; vertical-align: -.125em; }
.smad-plat-icons .smad-svg-ico { width: .85rem; height: .85rem; }
.smad-plat-list .smad-svg-ico { color: var(--s-brand); width: .95rem; height: .95rem; }
.smad-feat-ico.smad-svg-ico { width: .9rem; height: .9rem; margin: 0 .25rem 0 .2rem; vertical-align: -.1em; }
.smad-option .smad-svg-ico { color: var(--s-faint); width: 1.1rem; height: .95rem; }
.smad-option .smad-plat-txt { color: var(--s-faint); width: 1.1rem; text-align: center; font-weight: 700; }
/* the stock dropzone preview can be 9px wider than a 390px viewport on the edit form */
.dropzone .dz-image, .dropzone .dz-image img { max-width: 100%; }

/* ---- "Is this your agency?" one-click claim, confirm-your-email prompt (2026-11-10) ---- */
.smad-own { display: flex; gap: 18px; padding: 22px 24px; margin: 0 0 20px; border: 1px solid #c7d4fb; border-radius: var(--s-radius-lg); background: linear-gradient(135deg, var(--s-brand-soft), #fff); }
.smad-own.is-match { flex-direction: column; gap: 14px; }
.smad-own.is-unverified { background: #fff8e6; border-color: #fde7a8; }
.smad-own .smad-feature-icon { margin: 0; flex: 0 0 auto; }
.smad-own-head { display: flex; gap: 18px; align-items: flex-start; }
.smad-own-body { flex: 1 1 auto; min-width: 0; }
.smad-own .smad-h3 { margin: 0 0 .3rem; }
.smad-own p { margin: 0 0 .6rem; color: var(--s-ink-2); font-size: .95rem; line-height: 1.5; }
.smad-own-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.smad-own-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow-sm); }
.smad-own-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--s-line-2); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.smad-own-logo img { width: 100%; height: 100%; object-fit: contain; }
.smad-own-logo .smad-initials { font-size: 1.1rem; }
.smad-own-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.smad-own-name { font-family: var(--s-head); font-weight: 700; color: var(--s-ink) !important; text-decoration: none !important; overflow-wrap: anywhere; }
.smad-own-name:hover { color: var(--s-brand) !important; }
.smad-own-place { font-size: .86rem; color: var(--s-muted); overflow-wrap: anywhere; }
.smad-own-place i { color: var(--s-faint); margin-right: .2rem; }
.smad-own-claim { flex: 0 0 auto; margin: 0; }
.smad-own-foot { margin: 0 !important; font-size: .84rem !important; color: var(--s-muted) !important; }
.smad-own-form { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem .9rem; margin: .4rem 0 0; }
.smad-own-form-row .form-control { flex: 1 1 220px; max-width: 340px; min-width: 0; }
.smad-own-hint { font-size: .84rem; color: var(--s-muted); }
p.smad-own-hint { margin: .5rem 0 0; }
.smad-own-inline { margin: 0 0 18px; padding: 18px 20px; }
.smad-account-note.is-ok { background: var(--s-ok-soft); border-color: #bfe6cc; }
.smad-account-note.is-ok i { color: var(--s-ok); }
.smad-account-note > span { min-width: 0; }
@media (max-width: 575.98px) {
  .smad-own { flex-direction: column; padding: 18px 16px; gap: 12px; }
  .smad-own-head { flex-direction: column; gap: 10px; }
  .smad-own-item { flex-wrap: wrap; }
  .smad-own-claim { flex: 1 1 100%; }
  .smad-own-claim .btn { width: 100%; }
  .smad-own-form-row .form-control { max-width: none; flex-basis: 100%; }
  .smad-own-form .btn { width: 100%; }
}

/* ---------- /submit landing page (2026-11-11) ---------- */
.smad-sb .sb-hero { padding: 24px 0 56px; background: radial-gradient(1200px 420px at 85% 10%, var(--s-brand-soft) 0%, rgba(234,240,255,0) 60%), linear-gradient(180deg, var(--s-soft) 0%, #fff 100%); border-bottom: 1px solid var(--s-line-2); overflow: hidden; }
.smad-sb .sb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; margin-top: 18px; }
.smad-sb .sb-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-brand); background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: .3rem .8rem; margin: 0 0 1rem; }
.smad-sb .sb-h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; }
.smad-sb .sb-lead { font-size: 1.2rem; line-height: 1.55; color: var(--s-ink-2); max-width: 34rem; margin: 0 0 1.6rem; }
.smad-sb .sb-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.smad-sb .sb-ctas-center { justify-content: center; }
.smad-sb .sb-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.45rem; border-radius: 999px; font-weight: 600; font-size: 1.02rem; text-decoration: none !important; transition: background .15s, box-shadow .15s, transform .15s, color .15s; }
.smad-sb .sb-btn-primary { background: var(--s-brand); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(33,86,232,.6); }
.smad-sb .sb-btn-primary:hover { background: var(--s-brand-ink); transform: translateY(-1px); }
.smad-sb .sb-btn-ghost { color: var(--s-ink) !important; background: #fff; border: 1px solid var(--s-line); }
.smad-sb .sb-btn-ghost:hover { border-color: var(--s-brand); color: var(--s-brand) !important; }
.smad-sb .sb-btn-light { background: #fff; color: var(--s-ink) !important; }
.smad-sb .sb-btn-light:hover { background: var(--s-brand-soft); }
.smad-sb .sb-btn-outline { color: #fff !important; border: 1px solid rgba(255,255,255,.35); }
.smad-sb .sb-btn-outline:hover { border-color: #fff; }
.smad-sb .sb-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .95rem; color: var(--s-ink-2); }
.smad-sb .sb-trust i { color: var(--s-ok); margin-right: .35rem; }

.smad-sb .sb-hero-visual { position: relative; padding: 46px 0 50px; }
.smad-sb .sb-preview { position: relative; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow-lg); padding: 24px; max-width: 440px; margin-left: auto; transform: rotate(-1deg); }
.smad-sb .sb-preview-tag { position: absolute; top: -11px; right: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: .15rem .6rem; }
.smad-sb .sb-preview-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.smad-sb .sb-preview-logo { flex: 0 0 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-family: var(--s-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, #2156e8, #7c3aed); font-size: 1.15rem; }
.smad-sb .sb-preview-name { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: 1.15rem; margin: 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.smad-sb .sb-preview-loc { margin: .1rem 0 0; font-size: .88rem; color: var(--s-muted); }
.smad-sb .sb-preview-loc i { margin-right: .3rem; }
.smad-sb .sb-preview-desc { font-size: .92rem; line-height: 1.5; color: var(--s-ink-2); margin: 0 0 12px; }
.smad-sb .sb-preview-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.smad-sb .sb-preview-chips span { font-size: .78rem; font-weight: 600; color: var(--s-brand-ink); background: var(--s-brand-soft); border-radius: 999px; padding: .2rem .65rem; }
.smad-sb .sb-preview-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; padding: 12px 0; border-top: 1px solid var(--s-line-2); border-bottom: 1px solid var(--s-line-2); }
.smad-sb .sb-preview-facts dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--s-faint); }
.smad-sb .sb-preview-facts dd { margin: 0; font-weight: 700; color: var(--s-ink); font-size: .95rem; }
.smad-sb .sb-preview-actions { display: flex; gap: 14px; align-items: center; }
.smad-sb .sb-preview-btn { background: var(--s-brand); color: #fff; border-radius: 999px; padding: .5rem 1rem; font-weight: 600; font-size: .88rem; }
.smad-sb .sb-preview-link { color: var(--s-brand); font-weight: 600; font-size: .88rem; }
.smad-sb .sb-float { position: absolute; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow); padding: 10px 14px; font-size: .85rem; }
.smad-sb .sb-float i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--s-ok-soft); color: var(--s-ok); }
.smad-sb .sb-float b { display: block; color: var(--s-ink); font-size: .88rem; }
.smad-sb .sb-float small { color: var(--s-muted); font-size: .78rem; }
.smad-sb .sb-float-a { top: 0; left: 0; transform: rotate(-1.5deg); }
.smad-sb .sb-float-b { bottom: 0; right: 0; transform: rotate(1deg); }
.smad-sb .sb-float-b i { background: var(--s-brand-soft); color: var(--s-brand); }

.smad-sb .sb-stats { border-bottom: 1px solid var(--s-line-2); background: #fff; }
.smad-sb .sb-stats ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.smad-sb .sb-stats li { text-align: center; border-left: 1px solid var(--s-line-2); }
.smad-sb .sb-stats li:first-child { border-left: 0; }
.smad-sb .sb-stats b { display: block; font-family: var(--s-head); font-weight: 800; font-size: 1.7rem; color: var(--s-ink); line-height: 1.2; }
.smad-sb .sb-stats span { font-size: .9rem; color: var(--s-muted); }

.smad-sb .sb-h2 { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.01em; margin: 0 0 .6rem; }
.smad-sb .sb-center { text-align: center; }
.smad-sb .sb-sub { color: var(--s-muted); max-width: 46rem; margin: 0 auto 2rem; }
.smad-sb .sb-section { margin: 72px 0; }

.smad-sb .sb-claim { margin: 48px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--s-ink); color: #cbd5e1; border-radius: var(--s-radius-lg); padding: 32px 36px; background-image: radial-gradient(600px 240px at 100% 0%, rgba(33,86,232,.35), transparent 70%); }
.smad-sb .sb-claim .sb-h2 { color: #fff; }
.smad-sb .sb-claim p { margin: 0; line-height: 1.6; }
.smad-sb .sb-claim-form { position: relative; display: flex; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.smad-sb .sb-claim-form i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--s-faint); }
.smad-sb .sb-claim-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .75rem 1rem .75rem 2.6rem; font-size: 1rem; color: var(--s-ink); }
.smad-sb .sb-claim-form button { border: 0; border-radius: 999px; background: var(--s-brand); color: #fff; font-weight: 600; padding: .7rem 1.3rem; white-space: nowrap; }
.smad-sb .sb-claim-form button:hover { background: var(--s-brand-ink); }
.smad-sb .sb-claim-form:focus-within { box-shadow: 0 0 0 3px rgba(33,86,232,.45), 0 10px 30px -10px rgba(0,0,0,.5); }

.smad-sb .sb-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.smad-sb .sb-steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--s-line) 0 8px, transparent 8px 14px); }
.smad-sb .sb-steps li { position: relative; text-align: center; padding: 0 8px; }
.smad-sb .sb-step-n { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--s-brand); color: var(--s-brand); font-family: var(--s-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; box-shadow: 0 0 0 6px #fff; }
.smad-sb .sb-steps li:last-child .sb-step-n { background: var(--s-brand); color: #fff; }
.smad-sb .sb-steps h3, .smad-sb .sb-feature h3 { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1.08rem; margin: 0 0 .4rem; }
.smad-sb .sb-steps p { font-size: .95rem; color: var(--s-muted); margin: 0; }

.smad-sb .sb-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.smad-sb .sb-feature { border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 24px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.smad-sb .sb-feature:hover { box-shadow: var(--s-shadow); border-color: #d5deeb; }
.smad-sb .sb-feature i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--s-brand-soft); color: var(--s-brand); font-size: 1.1rem; margin-bottom: 14px; }
.smad-sb .sb-feature p { margin: 0; color: var(--s-ink-2); font-size: .97rem; }

.smad-sb .sb-two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.smad-sb .sb-need { background: var(--s-soft); border: 1px solid var(--s-line-2); border-radius: var(--s-radius-lg); padding: 28px; }
.smad-sb .sb-checks { list-style: none; padding: 0; margin: 1rem 0; }
.smad-sb .sb-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.smad-sb .sb-checks li:last-child { border-bottom: 0; }
.smad-sb .sb-checks i { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--s-line); color: var(--s-brand); }
.smad-sb .sb-checks b { color: var(--s-ink); }
.smad-sb .sb-note { font-size: .92rem; color: var(--s-muted); margin: .8rem 0 0; }
.smad-sb .sb-faq details { border-bottom: 1px solid var(--s-line); padding: 4px 0; }
.smad-sb .sb-faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--s-ink); padding: 14px 32px 14px 0; position: relative; }
.smad-sb .sb-faq summary::-webkit-details-marker { display: none; }
.smad-sb .sb-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.35rem; font-weight: 400; color: var(--s-brand); }
.smad-sb .sb-faq details[open] summary::after { content: "\2212"; }
.smad-sb .sb-faq details p { margin: 0 0 14px; color: var(--s-ink-2); }

.smad-sb .sb-final { margin-top: 24px; padding: 64px 0; text-align: center; background: linear-gradient(135deg, #1a45c2 0%, #2156e8 55%, #4f46e5 100%); color: #dbe5ff; }
.smad-sb .sb-final h2 { font-family: var(--s-head); font-weight: 800; color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .4rem; }
.smad-sb .sb-final p { font-size: 1.1rem; margin: 0 0 1.5rem; }

@media (max-width: 991px) {
  .smad-sb .sb-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .smad-sb .sb-preview { margin: 0 auto; }
  .smad-sb .sb-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .smad-sb .sb-features { grid-template-columns: 1fr 1fr; }
  .smad-sb .sb-claim, .smad-sb .sb-two { grid-template-columns: 1fr; }
  .smad-sb .sb-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .smad-sb .sb-steps::before { display: none; }
}
@media (max-width: 575px) {
  .smad-sb .sb-hero { padding-bottom: 32px; }
  .smad-sb .sb-lead { font-size: 1.05rem; }
  .smad-sb .sb-btn { width: 100%; justify-content: center; }
  .smad-sb .sb-hero-visual { padding: 20px 0 8px; }
  .smad-sb .sb-float { display: none; }
  .smad-sb .sb-preview { transform: none; padding: 20px; }
  .smad-sb .sb-stats ul { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .smad-sb .sb-stats li:nth-child(3) { border-left: 0; }
  .smad-sb .sb-features, .smad-sb .sb-steps { grid-template-columns: 1fr; }
  .smad-sb .sb-steps li { text-align: left; padding-left: 62px; }
  .smad-sb .sb-step-n { position: absolute; left: 0; top: -4px; }
  .smad-sb .sb-claim { padding: 24px 20px; }
  .smad-sb .sb-claim-form { flex-direction: column; border-radius: var(--s-radius); gap: 6px; }
  .smad-sb .sb-claim-form i { top: 28px; }
  .smad-sb .sb-claim-form button { padding: .8rem; }
  .smad-sb .sb-section { margin: 52px 0; }
  .smad-sb .sb-final { padding: 48px 0; }
}

/* awards.css */
/* SMAD awards feature styles: /awards page, profile sidebar card, agency dashboard card. */
.smad-embed-box { display: block; width: 100%; box-sizing: border-box; font: .78rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--s-ink-2); background: var(--s-soft); border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); padding: .7rem .8rem; resize: vertical; min-height: 96px; overflow-wrap: anywhere; }
.smad-embed-box:focus { outline: 0; border-color: var(--s-brand); box-shadow: 0 0 0 4px rgba(33, 86, 232, .12); }
.smad-copy-btn { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.smad-copy-btn.is-copied { border-color: var(--s-ok) !important; color: var(--s-ok) !important; background: var(--s-ok-soft); }

/* Profile sidebar */
.smad-side-award img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--s-line-2); margin-bottom: .75rem; }

/* Agency dashboard card */
.smad-award-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: #fff; padding: 20px; margin: 0 0 16px; }
.smad-award-card + .smad-award-card { margin-top: -4px; }
.smad-award-card img { display: block; width: 300px; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--s-line-2); }
.smad-award-card .smad-award-title { font-family: var(--s-head); font-weight: 700; font-size: 1.1rem; line-height: 1.3; color: var(--s-ink); margin: 0 0 .4rem; }
.smad-award-card p { font-size: .9rem; color: var(--s-muted); margin: 0 0 .75rem; }
.smad-award-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: .6rem; }
/* .smad-link-arrow is nowrap by default; let the long line wrap on phones */
.smad-award-more .smad-link-arrow { white-space: normal; }
@media (max-width: 767.98px) { .smad-award-card { grid-template-columns: minmax(0, 1fr); } }

/* /awards page */
.smad-page-body .aw-city { margin-top: 2.2rem; scroll-margin-top: calc(var(--s-header-h) + 16px); }
.smad-page-body .aw-city > h2 { margin-top: 0; }
.smad-page-body .aw-tier { margin: -.2rem 0 .7rem; font-size: .88rem; color: var(--s-muted); }
.smad-page-body .aw-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--s-line); border-radius: var(--s-radius); overflow: hidden; background: #fff; }
.smad-page-body .aw-row { border: 0; border-top: 1px solid var(--s-line-2); border-radius: 0; margin: 0; padding: 0 1rem; background: transparent; scroll-margin-top: calc(var(--s-header-h) + 16px); }
.smad-page-body .aw-row:first-child { border-top: 0; }
.smad-page-body .aw-row:target { background: var(--s-brand-soft); }
.smad-page-body .aw-row > .aw-head { display: flex; align-items: center; gap: .75rem; padding: .7rem 28px .7rem 0; margin: 0; border: 0; }
.smad-page-body .aw-row[open] > .aw-head { border: 0; margin: 0; }
.smad-page-body .aw-rank { flex: 0 0 2.4rem; font-family: var(--s-head); font-weight: 800; color: var(--s-brand); }
.smad-page-body .aw-name { flex: 1 1 auto; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.smad-page-body .aw-toggle { flex: 0 0 auto; font-size: .85rem; color: var(--s-muted); font-weight: 600; white-space: nowrap; }
.smad-page-body .aw-row[open] .aw-embed-wrap { padding-bottom: 1rem; }
.smad-page-body .aw-embed-wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.smad-page-body .aw-embed-wrap img { width: 300px; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--s-line-2); }
.smad-page-body .aw-embed-wrap .smad-copy-btn { margin-top: .5rem; }
@media (max-width: 767.98px) { .smad-page-body .aw-embed-wrap { grid-template-columns: minmax(0, 1fr); } }
.smad-page-body .aw-note { border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-soft); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.smad-page-body .aw-note p:last-child { margin-bottom: 0; }
.smad-page-body .aw-quote { border-left: 3px solid var(--s-brand); padding: .2rem 0 .2rem 1rem; margin: 1rem 0; color: var(--s-ink-2); overflow-wrap: anywhere; }

/* report.css */
/* SMAD report feature styles: /social-media-agency-report-2026 (charts, headline findings, citation, CTA). */
.smad-page-body .rpt-findings { border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: var(--s-soft); padding: 22px 24px 8px; margin: 0 0 8px; }
.smad-page-body .rpt-findings .rpt-h2-first { margin: 0 0 .9rem; font-size: 1.3rem; }
.smad-page-body .rpt-find-list { list-style: none; margin: 0; padding: 0; }
.smad-page-body .rpt-find-list li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 4px 18px; align-items: baseline; padding: .85rem 0; border-top: 1px solid var(--s-line); color: var(--s-ink-2); line-height: 1.55; }
.smad-page-body .rpt-find-list li:first-child { border-top: 0; padding-top: .2rem; }
.smad-page-body .rpt-num { font-family: var(--s-head); font-weight: 800; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.02em; color: var(--s-brand); }

.smad-page-body .rpt-fig { margin: 1.1rem 0 2.1rem; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 14px 28px; align-items: start; }
.smad-page-body .rpt-chart { min-width: 0; }
.smad-page-body .rpt-chart svg, .smad-page-body svg.rpt-svg { display: block; width: 100%; height: auto; max-width: 400px; box-shadow: var(--s-shadow-sm); border-radius: 14px; }
.smad-page-body .rpt-fig figcaption { font-size: .95rem; color: var(--s-ink-2); line-height: 1.6; }
.smad-page-body .rpt-take { margin: 0 0 .8rem; }
.smad-page-body .rpt-dl { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.smad-page-body .rpt-dl a { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--s-line); border-radius: 999px; padding: .25rem .85rem; font-size: .85rem; font-weight: 600; color: var(--s-ink-2); background: #fff; }
.smad-page-body .rpt-dl a:hover { border-color: var(--s-brand); color: var(--s-brand); background: var(--s-brand-soft); }
.smad-page-body .rpt-foot { font-size: .9rem; color: var(--s-muted); line-height: 1.6; }

.smad-page-body .rpt-cite { margin: .4rem 0 1.2rem; padding: 14px 18px; border-left: 4px solid var(--s-brand); background: var(--s-soft); border-radius: 0 var(--s-radius-sm) var(--s-radius-sm) 0; font-size: .96rem; line-height: 1.6; color: var(--s-ink-2); overflow-wrap: anywhere; }
.smad-page-body .rpt-code { margin: .4rem 0 1.2rem; padding: 12px 16px; background: var(--s-soft-2); border: 1px solid var(--s-line); color: var(--s-ink); font-size: .85rem; white-space: pre-wrap; word-break: break-word; }
.smad-page-body .rpt-cta { margin: 2.4rem 0 0; padding: 24px; border: 1px solid #cfdcfb; border-radius: var(--s-radius-lg); background: var(--s-brand-soft); }
.smad-page-body .rpt-cta-h { font-family: var(--s-head); font-weight: 800; font-size: 1.3rem; color: var(--s-ink); margin: 0 0 .4rem; }
.smad-page-body .rpt-cta p:last-child { margin-bottom: 0; }
.smad-page-body .rpt-cta .btn { margin: .4rem .5rem 0 0; }

@media (max-width: 767.98px) {
  .smad-page-body .rpt-fig { grid-template-columns: minmax(0, 1fr); }
  .smad-page-body .rpt-chart svg, .smad-page-body svg.rpt-svg { max-width: 100%; }
  .smad-page-body .rpt-findings { padding: 18px 16px 6px; }
  .smad-page-body .rpt-find-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .smad-page-body .rpt-num { font-size: 1.7rem; }
}

/* reviews.css */
/* SMAD reviews feature styles (2026-11-09): review invites, "Invited client" label, add-review banner. */

/* Label on a review whose author opened the agency's invite link */
.smad-invited-label {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700; line-height: 1;
  color: var(--s-brand); background: var(--s-brand-soft);
  border: 1px solid #c9d6f5; border-radius: 999px;
  padding: .25rem .6rem; margin-left: .5rem; vertical-align: middle; white-space: nowrap;
  cursor: help;
}
.smad-invited-label i { font-size: .7rem; }

/* Add-review page: banner for invited clients, note for the owner */
.smad-invited-banner {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 20px; padding: 16px 18px;
  background: var(--s-brand-soft); border: 1px solid #c9d6f5; border-radius: var(--s-radius);
}
.smad-invited-banner-icon {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--s-brand); font-size: .95rem;
}
.smad-invited-banner p { margin: 0; font-size: .92rem; color: var(--s-ink-2); }
.smad-invited-banner p + p { margin-top: .15rem; }
.smad-invited-banner .smad-invited-banner-title { font-family: var(--s-head); font-weight: 700; font-size: 1rem; color: var(--s-ink); }
.smad-owner-note p { color: var(--s-ink-2); }
.smad-owner-note .smad-side-title { margin-bottom: .4rem; }
.smad-review-aside .smad-link-arrow { display: inline-block; margin-top: .1rem; }

/* Dashboard: invite panel */
.smad-invite-panel {
  border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: #fff;
  padding: 20px; margin: 0 0 18px;
}
.smad-invite-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.smad-invite-head .smad-kicker { margin-bottom: .2rem; }
.smad-invite-head .smad-h3 { margin: 0; }
.smad-invite-count {
  font-size: .85rem; color: var(--s-ink-2) !important; background: var(--s-soft-2);
  border-radius: 999px; padding: .3rem .8rem; white-space: nowrap;
}
.smad-invite-count strong { color: var(--s-ink); }
a.smad-invite-count:hover { color: var(--s-brand) !important; background: var(--s-brand-soft); }
.smad-invite-count i { font-size: .7rem; margin-left: .2rem; }
.smad-invite-lead { color: var(--s-ink-2); font-size: .94rem; margin: 0 0 16px; }
.smad-invite-lead .smad-invited-label { margin-left: 0; cursor: default; }
.smad-invite-note { display: flex; align-items: center; gap: .6rem; margin: 0; color: var(--s-ink-2); font-size: .92rem; }
.smad-invite-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); margin: 14px 0 6px; }
.smad-invite-copyrow { display: flex; gap: 8px; }
.smad-invite-copyrow .form-control { flex: 1; min-width: 0; font-size: .88rem; background: var(--s-soft); }
.smad-invite-copyrow .btn { flex: 0 0 auto; white-space: nowrap; }
.smad-invite-mail { font-size: .88rem; line-height: 1.5; background: var(--s-soft); resize: vertical; }
.smad-invite-copyrow-btn { margin: 8px 0 18px; }
.smad-invite-panel .smad-side-title { margin: 0 0 .4rem; }
.smad-invite-panel .smad-checklist { margin-bottom: 0; }
@media (max-width: 575.98px) {
  .smad-invite-copyrow { flex-direction: column; }
  .smad-invite-copyrow .btn { width: 100%; }
  .smad-invited-banner { padding: 14px; }
}
.smad-invite-panel .smad-side-title { font-family: var(--s-head); font-weight: 700; font-size: .95rem; color: var(--s-ink); }

/* leads.css */
/* SMAD leads feature styles: proposal requests (form page, profile CTAs, owner dashboard). */

/* ---------- profile header: one primary action ---------- */
/* When the proposal button is present it is the single primary button; Visit Website drops to the outline style. */
.smad-profile-actions .smad-proposal-cta { order: -1; }
.smad-profile-actions:has(.smad-proposal-cta) > a.btn-primary:not(.smad-proposal-cta) {
  background: #fff; border: 1px solid var(--s-line) !important; color: var(--s-ink) !important; box-shadow: none;
}
.smad-profile-actions:has(.smad-proposal-cta) > a.btn-primary:not(.smad-proposal-cta):hover { background: var(--s-soft); }
@media (max-width: 767.98px) {
  .smad-profile-actions .smad-proposal-cta { flex: 1 1 100%; }
  .smad-profile-actions:has(.smad-proposal-cta) > a.btn:not(.smad-proposal-cta) { flex: 1 1 calc(50% - 8px); min-width: 0; padding-left: .5rem; padding-right: .5rem; white-space: nowrap; font-size: .92rem; }
  .smad-profile-actions:has(.smad-proposal-cta) > a.btn-primary:not(.smad-proposal-cta) { flex-basis: calc(50% - 8px); }
}

/* ---------- sidebar card ---------- */
.smad-side-proposal { background: var(--s-brand-soft); border-color: #cfdcfb; margin-bottom: 16px; }
.smad-side-proposal .smad-side-title { margin-bottom: .35rem; }
.smad-side-proposal p { color: var(--s-ink-2); }

/* ---------- /request-proposal ---------- */
.smad-prop { max-width: 820px; }
.smad-prop-agency { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: var(--s-soft); margin: 0 0 20px; }
.smad-prop-logo { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 14px; border: 1px solid var(--s-line-2); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.smad-prop-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.smad-prop-logo .smad-initials { font-size: 1.3rem; }
.smad-prop-agency-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.smad-prop-kicker { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--s-muted); }
.smad-prop-agency-name { font-family: var(--s-head); font-weight: 800; font-size: 1.2rem; line-height: 1.25; color: var(--s-ink); overflow-wrap: anywhere; }
.smad-prop-agency-name:hover { color: var(--s-brand); text-decoration: none; }
.smad-prop-agency-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .88rem; color: var(--s-muted); }
.smad-prop-agency-meta i { color: var(--s-faint); }
.smad-prop-agency-meta .smad-verified i { color: inherit; }
.smad-prop-form .form-group { margin-bottom: 1rem; }
.smad-prop-form textarea { resize: vertical; min-height: 130px; }
.smad-prop-count { margin-top: .25rem; }
.smad-prop-done, .smad-prop-missing { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid #bfe3cc; border-radius: var(--s-radius-lg); background: var(--s-ok-soft); margin-bottom: 20px; }
.smad-prop-missing { border-color: var(--s-line); background: var(--s-soft); }
.smad-prop-done .smad-h2, .smad-prop-missing .smad-h2 { margin-top: 0; font-size: 1.3rem; }
.smad-prop-done p, .smad-prop-missing p { margin-bottom: .6rem; }
.smad-prop-next { padding: 20px; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: #fff; }
.smad-prop-next .smad-side-title { margin-bottom: .35rem; font-family: var(--s-head); font-weight: 700; color: var(--s-ink); }
@media (max-width: 575.98px) {
  .smad-prop-agency { padding: 14px; gap: 12px; }
  .smad-prop-done, .smad-prop-missing { padding: 16px; flex-direction: column; gap: 10px; }
}

/* ---------- owner dashboard ---------- */
.smad-leads { margin: 0 0 24px; padding: 20px; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); background: #fff; }
.smad-leads-title { font-family: var(--s-head); font-weight: 800; font-size: 1.15rem; color: var(--s-ink); margin: 0 0 14px; display: flex; align-items: center; gap: .5rem; }
.smad-leads-title i { color: var(--s-brand); font-size: .95em; }
.smad-leads-count { font-size: .78rem; font-weight: 700; background: var(--s-brand); color: #fff; border-radius: 999px; padding: .05rem .55rem; }
.smad-leads-empty { padding: 14px 16px; border-radius: var(--s-radius-sm); background: var(--s-soft); }
.smad-leads-empty p { margin: 0; font-size: .92rem; color: var(--s-ink-2); }
.smad-leads-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.smad-lead { border: 1px solid var(--s-line-2); border-radius: var(--s-radius); padding: 14px 16px; background: var(--s-soft); min-width: 0; }
.smad-lead-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.smad-lead-top > div { min-width: 0; }
.smad-lead-top .btn { flex: 0 0 auto; white-space: nowrap; }
.smad-lead-name { margin: 0; font-weight: 700; color: var(--s-ink); overflow-wrap: anywhere; }
.smad-lead-name span { font-weight: 500; color: var(--s-muted); }
.smad-lead-when { margin: 0; font-size: .82rem; color: var(--s-muted); }
.smad-lead-chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.smad-lead-chips li { font-size: .8rem; color: var(--s-ink-2); background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: .15rem .65rem; max-width: 100%; overflow-wrap: anywhere; }
.smad-lead-chips li i { color: var(--s-faint); margin-right: .25rem; }
.smad-lead-msg { margin-top: 10px; font-size: .92rem; color: var(--s-ink-2); }
.smad-lead-msg summary { cursor: pointer; list-style: none; overflow-wrap: anywhere; }
.smad-lead-msg summary::-webkit-details-marker { display: none; }
.smad-lead-msg[open] summary { font-weight: 600; color: var(--s-ink); }
.smad-lead-msg > div { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--s-line); }
.smad-lead-msg p { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.smad-lead-contact { font-size: .82rem; color: var(--s-muted); }
.smad-leads-more { margin: 12px 0 0; font-size: .85rem; color: var(--s-muted); }
@media (max-width: 575.98px) {
  .smad-leads { padding: 16px 14px; }
  .smad-lead-top { flex-direction: column; }
  .smad-lead-top .btn { width: 100%; }
}

/* pages-content.css */
/* SMAD content pages - audit fixes 2026-11-11
   Sections: shared (cx-*), content-page layout fixes, about, faq, how-we-verify, badge, for-ai-agents,
   contact, 404, homepage polish, for-agencies landing (ag-*). */

/* ---------- Shared buttons and closing CTA band (same language as /submit) ---------- */
.smad-page .cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.45rem; border-radius: 999px; font-weight: 600; font-size: 1.02rem; line-height: 1.3; text-decoration: none !important; transition: background .15s, box-shadow .15s, transform .15s, color .15s, border-color .15s; }
.smad-page .cx-btn-primary { background: var(--s-brand); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(33,86,232,.6); }
.smad-page .cx-btn-primary:hover { background: var(--s-brand-ink); transform: translateY(-1px); }
.smad-page .cx-btn-ghost { color: var(--s-ink) !important; background: #fff; border: 1px solid var(--s-line); }
.smad-page .cx-btn-ghost:hover { border-color: var(--s-brand); color: var(--s-brand) !important; }
.smad-page .cx-btn-light { background: #fff; color: var(--s-ink) !important; }
.smad-page .cx-btn-light:hover { background: var(--s-brand-soft); }
.smad-page .cx-btn-outline { color: #fff !important; border: 1px solid rgba(255,255,255,.4); }
.smad-page .cx-btn-outline:hover { border-color: #fff; }
.smad-page.has-cta { padding-bottom: 0; }
.smad-page .cx-final { margin-top: 72px; padding: 64px 0; text-align: center; background: linear-gradient(135deg, #1a45c2 0%, #2156e8 55%, #4f46e5 100%); color: #dbe5ff; }
.smad-page .cx-final h2 { font-family: var(--s-head); font-weight: 800; color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 .4rem; letter-spacing: -.01em; }
.smad-page .cx-final p { font-size: 1.1rem; margin: 0 auto 1.5rem; max-width: 42rem; }
.smad-page .cx-final-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Content-page layout fixes ---------- */
.smad-page-body.is-row .cp-main, .smad-page-body .cp-main, .smad-page-body .cp-side { min-width: 0; }
.smad-page-body .cp-side { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.smad-page-body .cp-side .cp-card { margin: 0; }
.smad-page-body .cp-card p:last-child { margin-bottom: 0; }
.smad-page-aside .smad-aside-card a, .smad-page-body .cp-card a { word-break: normal; overflow-wrap: normal; }
.smad-page .cx-mail { display: inline-block; font-size: .86rem; font-weight: 600; line-height: 1.35; }
.smad-page .cx-mail-note { margin: 0 0 .35rem !important; }
.smad-page-body .cp-updated { display: none; }
.smad-page-body p a, .smad-page-body li a { overflow-wrap: anywhere; }
.smad-page-body .cp-btn-primary { margin-right: .4rem; white-space: normal; text-align: center; }
@media (max-width: 991.98px) {
  .smad-page-body .cp-side { position: static; }
}
@media (max-width: 575.98px) {
  .smad-page .cx-btn { width: 100%; }
  .smad-page .cx-final { padding: 48px 0; margin-top: 52px; }
  .smad-page .cx-final .container { padding-left: 20px; padding-right: 20px; }
  .smad-page-body .cp-card { padding: 18px; }
}

/* ---------- Generic cards / grids used by hand-written page HTML ---------- */
.smad-page .cx-section { margin: 3rem 0 0; }
.smad-page .cx-section:first-child { margin-top: 0; }
.smad-page-body .cx-h2 { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -.01em; margin: 0 0 .6rem; }
.smad-page-body .cx-sub { color: var(--s-muted); max-width: 46rem; margin: 0 0 1.4rem; }
.smad-page-body .cx-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 1.2rem; }
.smad-page-body .cx-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.smad-page-body .cx-card { border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 24px; background: #fff; transition: box-shadow .15s, border-color .15s; min-width: 0; }
.smad-page-body .cx-card:hover { box-shadow: var(--s-shadow); border-color: #d5deeb; }
.smad-page-body .cx-card .cx-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--s-brand-soft); color: var(--s-brand); font-size: 1.1rem; margin-bottom: 14px; }
.smad-page-body .cx-card h3 { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1.08rem; margin: 0 0 .4rem; }
.smad-page-body .cx-card p { margin: 0; font-size: .96rem; line-height: 1.6; color: var(--s-ink-2); }
.smad-page-body .cx-mission { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; background: var(--s-ink); color: #cbd5e1; border-radius: var(--s-radius-lg); padding: 36px 40px; background-image: radial-gradient(600px 240px at 100% 0%, rgba(33,86,232,.38), transparent 70%); }
.smad-page-body .cx-mission h2 { color: #fff; margin: 0 0 .6rem; font-family: var(--s-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.smad-page-body .cx-mission p { margin: 0; line-height: 1.65; color: #cbd5e1; }
.smad-page-body .cx-mission ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.smad-page-body .cx-mission li { display: flex; gap: 12px; align-items: flex-start; color: #e2e8f0; font-size: .98rem; line-height: 1.5; }
.smad-page-body .cx-mission li i { flex: 0 0 auto; margin-top: .2rem; color: #7ea2ff; }
.smad-page-body .cx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; }
.smad-page-body .cx-stat { border: 1px solid var(--s-line); border-radius: var(--s-radius); background: var(--s-soft); padding: 18px 12px; text-align: center; }
.smad-page-body .cx-stat b { display: block; font-family: var(--s-head); font-weight: 800; font-size: 1.7rem; line-height: 1.2; color: var(--s-ink); }
.smad-page-body .cx-stat span { font-size: .9rem; color: var(--s-muted); }
.smad-page-body .cx-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 1.2rem; }
.smad-page-body .cx-panel { border: 1px solid var(--s-line-2); border-radius: var(--s-radius-lg); background: var(--s-soft); padding: 28px; min-width: 0; }
.smad-page-body .cx-panel h3 { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: 1.2rem; margin: 0 0 .6rem; }
.smad-page-body .cx-panel p { margin: 0 0 .8rem; }
.smad-page-body .cx-panel p:last-child { margin-bottom: 0; }
.smad-page-body .cx-dl { margin: 0; display: grid; gap: 0; }
.smad-page-body .cx-dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--s-line); }
.smad-page-body .cx-dl > div:first-child { border-top: 0; padding-top: 0; }
.smad-page-body .cx-dl dt { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-faint); padding-top: .2rem; }
.smad-page-body .cx-dl dd { margin: 0; color: var(--s-ink); font-size: .96rem; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
  .smad-page-body .cx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smad-page-body .cx-cards.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smad-page-body .cx-mission, .smad-page-body .cx-two { grid-template-columns: minmax(0, 1fr); }
  .smad-page-body .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .smad-page-body .cx-cards, .smad-page-body .cx-cards.is-3 { grid-template-columns: minmax(0, 1fr); }
  .smad-page-body .cx-mission { padding: 24px 20px; }
  .smad-page-body .cx-panel { padding: 22px 18px; }
  .smad-page-body .cx-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* "Listed vs Verified" comparison (how-we-verify) */
.smad-page-body .cx-vs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.2rem 0 1.6rem; }
.smad-page-body .cx-vs > div { border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 20px 22px; background: #fff; }
.smad-page-body .cx-vs > div.is-verified { border-color: #bfe3cb; background: linear-gradient(180deg, #f3fbf6 0%, #fff 70%); }
.smad-page-body .cx-vs h3 { font-family: var(--s-head); font-size: 1.1rem; font-weight: 800; margin: 0 0 .55rem; display: flex; align-items: center; gap: .5rem; }
.smad-page-body .cx-vs ul { margin: 0; padding: 0; list-style: none; }
.smad-page-body .cx-vs li { position: relative; padding: .25rem 0 .25rem 1.5rem; font-size: .95rem; line-height: 1.5; }
.smad-page-body .cx-vs li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .72rem; position: absolute; left: 0; top: .55rem; color: var(--s-faint); }
.smad-page-body .cx-vs .is-verified li::before { color: var(--s-ok); }
@media (max-width: 575.98px) { .smad-page-body .cx-vs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.smad-page-body .cx-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4rem; }
.smad-page-body .cx-jump a { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--s-line); border-radius: 999px; padding: .4rem .95rem; font-size: .92rem; font-weight: 600; color: var(--s-ink-2); background: #fff; }
.smad-page-body .cx-jump a:hover { border-color: var(--s-brand); color: var(--s-brand); background: var(--s-brand-soft); }
.smad-page-body .cx-jump a i { color: var(--s-brand); font-size: .85em; }
.smad-page-body .faq-q span { min-width: 0; overflow-wrap: anywhere; }
.smad-page-body .faq-card { max-width: 100%; }
.smad-page-body .faq-a { overflow-wrap: anywhere; }

/* ---------- Badge page ---------- */
.smad-page-body .smad-badge-search { background: #fff; padding: 12px 14px; margin: 0 0 14px; border: 1px solid var(--s-line); border-radius: 999px; box-shadow: 0 8px 24px -10px rgba(15,23,42,.22); z-index: 20; }
.smad-page-body .smad-badge-search input { border: 0; box-shadow: none !important; background: var(--s-soft); height: 44px; }
.smad-page-body .smad-badge-search input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(33,86,232,.3) !important; }
.smad-page-body .badge-country { margin-bottom: 10px; }
.smad-page-body .badge-country > summary { padding: 16px 0; font-size: 1.02rem; }
.smad-page-body .badge-country details > summary, .smad-page-body .badge-country summary.text-primary { color: var(--s-brand) !important; font-weight: 600; font-size: .9rem; }
.smad-page-body .badge-country details > summary:hover { color: var(--s-brand-ink) !important; }
.smad-page-body .badge-country .card { box-shadow: none !important; }
.smad-page-body .badge-country pre { white-space: pre-wrap !important; overflow-wrap: anywhere; word-break: break-all; max-width: 100%; }
.smad-page-body .badge-country pre code { background: none; color: var(--s-ink-2); padding: 0; }

/* ---------- Developer / for-ai-agents ---------- */
.smad-page-body code { color: var(--s-ink); background: var(--s-soft-2); border: 1px solid var(--s-line-2); padding: .08em .38em; border-radius: 6px; font-size: .86em; overflow-wrap: anywhere; word-break: normal; }
.smad-page-body pre { max-width: 100%; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
.smad-page-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; word-break: normal; white-space: pre; }
.smad-page-body .table-responsive { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--s-line); border-radius: var(--s-radius); margin: 1rem 0 1.5rem; }
.smad-page-body .table-responsive table { display: table; width: 100%; min-width: 620px; margin: 0; border: 0; border-radius: 0; white-space: normal; font-size: .9rem; }
.smad-page-body .table-responsive td code { white-space: normal; }
.smad-page-body .cx-copybox { display: block; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); background: #fff; overflow: hidden; margin: .35rem 0 .9rem; }
.smad-page-body .cx-copybox code { display: block; background: transparent; border: 0; border-radius: 0; padding: .65rem .6rem; font-size: .68rem; letter-spacing: -.01em; line-height: 1.45; color: var(--s-ink); overflow-wrap: break-word; word-break: normal; }
.smad-page-body .cx-copybox button { display: block; width: 100%; border: 0; border-top: 1px solid var(--s-line); background: var(--s-soft); color: var(--s-brand); font-weight: 600; font-size: .82rem; padding: .45rem .85rem; cursor: pointer; }
.smad-page-body .cx-copybox button:hover { background: var(--s-brand-soft); }
.smad-page-body .cx-vs h3 { min-height: 1.9rem; }

/* ---------- Contact ---------- */
.contact-form-widget.smad-cx-contact { padding: 40px 0 72px !important; }
.contact-form-widget.smad-cx-contact .container { max-width: 1200px; }
.smad-cx-contact .cx-contact-head { max-width: 760px; margin-bottom: 28px; }
.smad-cx-contact .cx-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.smad-cx-contact .cx-contact-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); padding: 28px; min-width: 0; }
.smad-cx-contact .cx-contact-card .form-group.row { margin-left: 0; margin-right: 0; }
.smad-cx-contact .cx-contact-card .form-group.row > [class*="col-"] { padding-left: 0; padding-right: 0; flex: 0 0 100%; max-width: 100%; text-align: left !important; }
.smad-cx-contact .cx-contact-card .col-form-label { font-weight: 600; color: var(--s-ink); padding-left: 0; padding-right: 0; }
.smad-cx-contact .cx-contact-card textarea.form-control { min-height: 170px; }
.smad-cx-contact .cx-contact-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.smad-cx-contact .cx-side-card { border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; padding: 20px 22px; font-size: .94rem; color: var(--s-ink-2); }
.smad-cx-contact .cx-side-card.is-soft { background: var(--s-soft); }
.smad-cx-contact .cx-side-card h2 { font-family: var(--s-head); font-size: 1rem; font-weight: 800; color: var(--s-ink); margin: 0 0 .6rem; display: flex; align-items: center; gap: .5rem; }
.smad-cx-contact .cx-side-card h2 i { color: var(--s-brand); }
.smad-cx-contact .cx-side-card p { margin: 0 0 .6rem; }
.smad-cx-contact .cx-side-card p:last-child { margin-bottom: 0; }
.smad-cx-contact .cx-side-card ul { list-style: none; margin: 0; padding: 0; }
.smad-cx-contact .cx-side-card li { padding: .38rem 0; border-top: 1px solid var(--s-line-2); }
.smad-cx-contact .cx-side-card li:first-child { border-top: 0; padding-top: 0; }
.smad-cx-contact .cx-side-card li:last-child { padding-bottom: 0; }
.smad-cx-contact .cx-side-card li i { color: var(--s-brand); width: 1.3rem; }
.smad-cx-contact .cx-side-mail { font-weight: 700; font-size: .95rem; overflow-wrap: normal; }
@media (max-width: 991.98px) {
  .smad-cx-contact .cx-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .smad-cx-contact .cx-contact-side { position: static; }
}
@media (max-width: 575.98px) {
  .contact-form-widget.smad-cx-contact { padding: 28px 0 48px !important; }
  .smad-cx-contact .cx-contact-card { padding: 20px 18px; }
  .smad-cx-contact .cx-contact-card .btn { width: 100%; }
}

/* ---------- 404 ---------- */
.smad-404 .smad-prose-width { margin-left: auto; margin-right: auto; }
.smad-404 .smad-404-search { max-width: 560px; }
.smad-404 .cx-404-block { margin: 2rem auto 0; max-width: 620px; }
.smad-404 .cx-404-label { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 .7rem; }
.smad-404 .cx-404-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.smad-404 .smad-404-links { margin-top: 2rem; }
@media (max-width: 575.98px) { .smad-404 { padding: 44px 0 64px; } .smad-404 .smad-404-search { flex-direction: column; } .smad-404 .smad-404-search .btn { width: 100%; } }

/* ---------- Homepage polish ---------- */
.smad-hero .smad-trust strong { white-space: nowrap; }
.smad-country-grid .smad-country-name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; overflow-wrap: anywhere; }
.smad-country-grid .smad-country { min-height: 56px; }
.smad-feature-grid { align-items: stretch; }
.smad-feature-grid .smad-feature { display: flex; flex-direction: column; background: #fff; box-shadow: var(--s-shadow-sm); transition: box-shadow .15s, border-color .15s, transform .15s; }
.smad-feature-grid .smad-feature:hover { box-shadow: var(--s-shadow); border-color: #d5deeb; transform: translateY(-2px); }
.smad-feature-grid .smad-feature .smad-feature-icon { background: var(--s-brand-soft); border-color: transparent; width: 48px; height: 48px; }
.smad-feature-grid .smad-feature p { flex: 1 1 auto; }
.smad-feature-grid .smad-feature .smad-link-arrow { margin-top: 1rem; }
@media (max-width: 575.98px) {
  .smad-hero .smad-quick { flex-wrap: wrap; justify-content: center; overflow: visible; margin: 1rem 0 0; padding: 0; }
  .smad-hero .smad-quick-label { flex: 0 0 100%; text-align: center; }
}

/* ---------- /for-agencies landing (ag-*) ---------- */
.smad-ag .ag-hero { padding: 24px 0 56px; background: radial-gradient(1200px 420px at 85% 10%, var(--s-brand-soft) 0%, rgba(234,240,255,0) 60%), linear-gradient(180deg, var(--s-soft) 0%, #fff 100%); border-bottom: 1px solid var(--s-line-2); overflow: hidden; }
.smad-ag .ag-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; margin-top: 18px; }
.smad-ag .ag-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-brand); background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: .3rem .8rem; margin: 0 0 1rem; }
.smad-ag .ag-h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; }
.smad-ag .ag-lead { font-size: 1.18rem; line-height: 1.55; color: var(--s-ink-2); max-width: 35rem; margin: 0 0 1.5rem; }
.smad-ag .ag-find { position: relative; display: flex; background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: 6px; box-shadow: var(--s-shadow); max-width: 34rem; }
.smad-ag .ag-find i { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--s-faint); }
.smad-ag .ag-find input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .75rem 1rem .75rem 2.6rem; font-size: 1rem; color: var(--s-ink); }
.smad-ag .ag-find button { border: 0; border-radius: 999px; background: var(--s-brand); color: #fff; font-weight: 600; padding: .7rem 1.3rem; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(33,86,232,.6); }
.smad-ag .ag-find button:hover { background: var(--s-brand-ink); }
.smad-ag .ag-find:focus-within { border-color: var(--s-brand); box-shadow: 0 0 0 3px rgba(33,86,232,.25), var(--s-shadow); }
.smad-ag .ag-alt { margin: .9rem 0 0; font-size: .96rem; color: var(--s-muted); }
.smad-ag .ag-alt a { font-weight: 600; }
.smad-ag .ag-trust { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .95rem; color: var(--s-ink-2); }
.smad-ag .ag-trust i { color: var(--s-ok); margin-right: .35rem; }

.smad-ag .ag-visual { position: relative; padding: 18px 0 52px; }
.smad-ag .ag-card { position: relative; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow-lg); padding: 24px; max-width: 450px; margin-left: auto; }
.smad-ag .ag-card-tag { position: absolute; top: -11px; right: 22px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: .15rem .6rem; }
.smad-ag .ag-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.smad-ag .ag-card-logo { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-family: var(--s-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, #2156e8, #7c3aed); }
.smad-ag .ag-card-name { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: 1.1rem; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.smad-ag .ag-card-loc { margin: .1rem 0 0; font-size: .86rem; color: var(--s-muted); }
.smad-ag .ag-claimbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed #b9c9f5; background: var(--s-brand-soft); border-radius: var(--s-radius-sm); padding: 10px 14px; font-size: .88rem; color: var(--s-ink-2); margin-bottom: 14px; }
.smad-ag .ag-claimbar b { color: var(--s-brand-ink); white-space: nowrap; }
.smad-ag .ag-stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.smad-ag .ag-stat-tile { border: 1px solid var(--s-line-2); border-radius: var(--s-radius-sm); background: var(--s-soft); padding: 10px; }
.smad-ag .ag-stat-tile small { display: block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--s-faint); line-height: 1.25; min-height: 1.75em; }
.smad-ag .ag-stat-tile i { display: block; height: 22px; margin-top: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--s-line) 0 55%, transparent 55%), linear-gradient(0deg, var(--s-line-2), var(--s-line-2)); opacity: .9; }
.smad-ag .ag-card-note { margin: 0; font-size: .82rem; color: var(--s-muted); }
.smad-ag .ag-float { position: absolute; left: 0; bottom: 0; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow); padding: 10px 14px; font-size: .85rem; transform: rotate(-1.2deg); }
.smad-ag .ag-float i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--s-ok-soft); color: var(--s-ok); }
.smad-ag .ag-float b { display: block; color: var(--s-ink); font-size: .88rem; }
.smad-ag .ag-float small { color: var(--s-muted); font-size: .78rem; }

.smad-ag .ag-stats { border-bottom: 1px solid var(--s-line-2); background: #fff; }
.smad-ag .ag-stats ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.smad-ag .ag-stats li { text-align: center; border-left: 1px solid var(--s-line-2); padding: 0 8px; }
.smad-ag .ag-stats li:first-child { border-left: 0; }
.smad-ag .ag-stats b { display: block; font-family: var(--s-head); font-weight: 800; font-size: 1.7rem; color: var(--s-ink); line-height: 1.2; }
.smad-ag .ag-stats span { font-size: .9rem; color: var(--s-muted); }

.smad-ag .ag-h2 { font-family: var(--s-head); font-weight: 800; color: var(--s-ink); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.01em; margin: 0 0 .6rem; }
.smad-ag .ag-center { text-align: center; }
.smad-ag .ag-sub { color: var(--s-muted); max-width: 46rem; margin: 0 auto 2rem; }
.smad-ag .ag-section { margin: 72px 0; }
.smad-ag .ag-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.smad-ag .ag-steps::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--s-line) 0 8px, transparent 8px 14px); }
.smad-ag .ag-steps li { position: relative; text-align: center; padding: 0 8px; }
.smad-ag .ag-step-n { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--s-brand); color: var(--s-brand); font-family: var(--s-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; box-shadow: 0 0 0 6px #fff; }
.smad-ag .ag-steps li:last-child .ag-step-n { background: var(--s-brand); color: #fff; }
.smad-ag .ag-steps h3, .smad-ag .ag-feature h3 { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1.08rem; margin: 0 0 .4rem; }
.smad-ag .ag-steps p { font-size: .95rem; color: var(--s-muted); margin: 0; }
.smad-ag .ag-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.smad-ag .ag-feature { border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 24px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.smad-ag .ag-feature:hover { box-shadow: var(--s-shadow); border-color: #d5deeb; }
.smad-ag .ag-feature > i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--s-brand-soft); color: var(--s-brand); font-size: 1.1rem; margin-bottom: 14px; }
.smad-ag .ag-feature p { margin: 0; color: var(--s-ink-2); font-size: .97rem; }
.smad-ag .ag-two { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.smad-ag .ag-domain { background: var(--s-ink); color: #cbd5e1; border-radius: var(--s-radius-lg); padding: 30px 32px; background-image: radial-gradient(600px 240px at 100% 0%, rgba(33,86,232,.35), transparent 70%); }
.smad-ag .ag-domain h2 { color: #fff; }
.smad-ag .ag-domain p { margin: 0 0 1rem; line-height: 1.6; }
.smad-ag .ag-domain ul { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 10px; }
.smad-ag .ag-domain li { display: flex; gap: 12px; color: #e2e8f0; line-height: 1.5; }
.smad-ag .ag-domain li i { flex: 0 0 auto; margin-top: .25rem; color: #7ea2ff; }
.smad-ag .ag-domain .ag-note { font-size: .9rem; color: #94a3b8; margin: 0; }
.smad-ag .ag-faq details { border-bottom: 1px solid var(--s-line); padding: 4px 0; }
.smad-ag .ag-faq summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--s-ink); padding: 14px 32px 14px 0; position: relative; }
.smad-ag .ag-faq summary::-webkit-details-marker { display: none; }
.smad-ag .ag-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.35rem; font-weight: 400; color: var(--s-brand); }
.smad-ag .ag-faq details[open] summary::after { content: "\2212"; }
.smad-ag .ag-faq details p { margin: 0 0 14px; color: var(--s-ink-2); }
.smad-ag .ag-note { font-size: .92rem; color: var(--s-muted); margin: .8rem 0 0; }
@media (max-width: 991.98px) {
  .smad-ag .ag-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .smad-ag .ag-card { margin: 0 auto; }
  .smad-ag .ag-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .smad-ag .ag-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smad-ag .ag-two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .smad-ag .ag-steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .smad-ag .ag-steps::before { display: none; }
}
@media (max-width: 575.98px) {
  .smad-ag .ag-hero { padding-bottom: 32px; }
  .smad-ag .ag-lead { font-size: 1.05rem; }
  .smad-ag .ag-find { flex-direction: column; border-radius: var(--s-radius); gap: 6px; }
  .smad-ag .ag-find i { top: 28px; }
  .smad-ag .ag-find button { padding: .8rem; }
  .smad-ag .ag-float { display: none; }
  .smad-ag .ag-card { padding: 20px; }
  .smad-ag .ag-stats ul { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .smad-ag .ag-stats li:nth-child(3) { border-left: 0; }
  .smad-ag .ag-features, .smad-ag .ag-steps { grid-template-columns: minmax(0, 1fr); }
  .smad-ag .ag-steps li { text-align: left; padding-left: 62px; }
  .smad-ag .ag-step-n { position: absolute; left: 0; top: -4px; }
  .smad-ag .ag-section { margin: 52px 0; }
  .smad-ag .ag-domain { padding: 24px 20px; }
}
.smad-page-body .cp-card a[href^="mailto"] { display: inline-block; font-size: .86rem; font-weight: 600; line-height: 1.4; }
.smad-page-body.is-cx { max-width: 100%; }

/* pages-directory.css */
/* SMAD directory pages - audit fixes 2026-11-11 (search, country/city/service pages, data pages) */

/* ---------- header: breadcrumb, intro, chip rows ---------- */
.smad-dir-crumbs .breadcrumb { flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.smad-dir-crumbs .breadcrumb-item { flex: 0 0 auto; }
.smad-dir-crumbs .breadcrumb-item.active { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 575.98px) {
  .smad-dir-crumbs .breadcrumb { font-size: .8rem; }
  .smad-dir-crumbs .breadcrumb-item + .breadcrumb-item { padding-left: .35rem; }
  .smad-dir-crumbs .breadcrumb-item + .breadcrumb-item::before { padding-right: .35rem; }
}

/* intro: lead on its own block, "Read more" below it (expands the lead on mobile too) */
.smad-dir-intro .smad-dir-lead { display: block; margin: 0; }
.smad-dir-intro .smad-readmore { display: block; margin: .35rem 0 0; }
.smad-dir-intro .smad-readmore > summary { display: inline-flex; font-size: .9rem; }
.smad-dir-intro .smad-readmore[open] { display: block; margin-top: .35rem; }
.smad-readmore .rm-less { display: none; }
.smad-readmore[open] .rm-more { display: none; }
.smad-readmore[open] .rm-less { display: inline; }
@media (min-width: 768px) { .smad-readmore.is-expand-only { display: none !important; } }
@media (max-width: 767.98px) {
  .smad-dir-intro .smad-dir-lead { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .smad-dir-intro:has(.smad-readmore[open]) .smad-dir-lead { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

/* chip row: wrap to two lines on desktop with "Show all", scroll with a fade on mobile */
.smad-chip-scroller { align-items: flex-start; }
.smad-chip-scroller-label { padding-top: 10px; }
.smad-chip-scroller-wrap { flex: 1 1 auto; min-width: 0; }
.smad-chip-toggle { appearance: none; -webkit-appearance: none; border: 0; background: none; padding: 4px 2px 0; margin: 2px 0 0; color: var(--s-brand); font-weight: 600; font-size: .85rem; cursor: pointer; }
.smad-chip-toggle:hover { text-decoration: underline; }
.smad-chip-toggle[hidden] { display: none; }
@media (min-width: 768px) {
  .smad-chip-scroller-track { flex-wrap: wrap; overflow: hidden; max-height: 84px; padding: 2px 0 0 2px; -webkit-mask-image: none; mask-image: none; }
  .smad-chip-scroller.is-open .smad-chip-scroller-track { max-height: none; }
}
@media (max-width: 767.98px) {
  .smad-chip-scroller { flex-direction: column; gap: 6px; }
  .smad-chip-scroller-label { padding-top: 0; }
  .smad-chip-scroller-wrap { width: 100%; }
  .smad-chip-scroller-track { padding-right: 56px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); scroll-snap-type: x proximity; }
  .smad-chip-scroller-track .smad-chip { scroll-snap-align: start; }
  .smad-fchips-row { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); padding-right: 36px; }
}

/* ---------- results layout: filter panel on top of the sidebar, toggle on mobile ---------- */
.smad-res-row .smad-filter-slot { width: 100%; padding: 0 15px; }
@media (min-width: 992px) {
  .smad-res-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); grid-template-rows: auto 1fr; align-items: start; }
  .smad-res-row > .smad-filter-slot { grid-column: 1; grid-row: 1; }
  .smad-res-row > .smad-filters-col { grid-column: 1; grid-row: 2; max-width: none; width: auto; flex: none; }
  .smad-res-row > .smad-res-main { grid-column: 2; grid-row: 1 / span 2; max-width: none; width: auto; flex: none; min-width: 0; }
  .smad-res-row > .smad-filters-col { margin-top: 0; }
}
.smad-results .smad-filters { position: static; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 16px 16px 6px; background: #fff; margin-bottom: 16px; }
.smad-filters-title { font-family: var(--s-head); font-weight: 700; color: var(--s-ink); font-size: 1rem; margin: 0 0 12px; }
.smad-filters-title i { color: var(--s-brand); margin-right: .35rem; }
.smad-results .smad-filters .form-group { margin-bottom: 12px; }
.smad-results .smad-filters label { font-size: .78rem; font-weight: 600; color: var(--s-ink-2); margin: 0 0 .3rem; }
.smad-results .smad-filters label[for="_actions"] { display: none; }
.smad-results .smad-filters .form-control,
.smad-results .smad-filters select.custom-select,
.smad-results .smad-filters .select2-container .select2-selection--single {
  height: 44px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); box-shadow: none; font-size: .95rem; color: var(--s-ink); background-color: #fff; padding: 0 .85rem;
}
.smad-results .smad-filters .form-control::placeholder { color: var(--s-faint); }
.smad-results .smad-filters select.custom-select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 36px; line-height: 1.3;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.smad-results .smad-filters .form-control:focus, .smad-results .smad-filters select.custom-select:focus { border-color: var(--s-brand); box-shadow: 0 0 0 4px rgba(33, 86, 232, .12); outline: 0; }
.smad-results .smad-filters .form-group:last-child { display: flex; gap: 8px; margin-top: 4px; margin-bottom: 12px; }
.smad-results .smad-filters .smad-fbtn { width: auto !important; flex: 1 1 0; margin: 0 !important; min-height: 0; height: 42px; padding: 0 14px; font-size: .9rem; font-weight: 600; line-height: 1; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.smad-results .smad-filters .smad-fbtn.btn-primary { flex-grow: 1.4; }
.smad-results .smad-filters .smad-fbtn.btn-outline-secondary { background: #fff; border-color: var(--s-line); color: var(--s-ink-2); }
.smad-results .smad-filters .smad-fbtn.btn-outline-secondary:hover { border-color: var(--s-brand); color: var(--s-brand); background: var(--s-brand-soft); }
.smad-filter-toggle { display: none; align-items: center; gap: .55rem; width: 100%; height: 46px; padding: 0 16px; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); background: #fff; color: var(--s-ink); font-weight: 600; font-size: .95rem; cursor: pointer; margin: 0 0 12px; }
.smad-filter-toggle > i:first-child { color: var(--s-brand); }
.smad-filter-toggle .smad-filter-caret { margin-left: auto; font-size: .75rem; color: var(--s-muted); transition: transform .2s; }
.smad-filter-toggle.is-open .smad-filter-caret { transform: rotate(180deg); }
.smad-filter-toggle.is-open { border-color: var(--s-brand); }
@media (max-width: 991.98px) {
  .smad-filter-toggle { display: flex; }
  .smad-results .smad-filters { display: none; margin-top: 0; }
  .smad-results .smad-filters.is-open { display: block; }
  .smad-results .smad-filters-title { display: none; }
  .smad-results { padding-top: 16px; }
}

/* ---------- empty state ---------- */
.smad-results.is-empty .smad-toolbar { display: none; }
body:has(.smad-results.is-empty) .smad-dir-head .smad-chip-scroller { display: none; }
.smad-results .smad-empty { padding: 44px 20px 36px; }
.smad-empty-tips { list-style: none; margin: .9rem auto 1.1rem; padding: 0; max-width: 440px; text-align: left; color: var(--s-ink-2); font-size: .92rem; }
.smad-empty-tips li { position: relative; padding-left: 1.1rem; margin: .3rem 0; }
.smad-empty-tips li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--s-faint); }
.smad-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; }
.smad-empty-browse { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin: 20px 0 0; font-size: .88rem; color: var(--s-muted); }
.smad-empty-browse a { font-weight: 600; }

/* ---------- result cards ---------- */
.smad-compare-btn { border-style: solid; border-color: var(--s-line); background: var(--s-soft); color: var(--s-ink-2); }
.smad-compare-btn:hover { border-color: var(--s-brand); background: var(--s-brand-soft); color: var(--s-brand); }
.smad-compare-btn.is-on { background: var(--s-brand-soft); border-color: var(--s-brand); color: var(--s-brand); }

/* ---------- hero search: native select and select2 look identical ---------- */
.smad-search .select2-container .select2-selection--single { display: flex; align-items: center; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.smad-search .select2-container .select2-selection__rendered { padding: 0 36px 0 42px !important; font-size: 1rem; line-height: 52px !important; color: var(--s-ink) !important; font-family: inherit; font-weight: 400; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smad-search .select2-container .select2-selection__placeholder { color: var(--s-ink) !important; }
.smad-search .select2-container .select2-selection__arrow { display: none; }
.smad-search .select2-container--focus .select2-selection--single, .smad-search .select2-container--open .select2-selection--single { box-shadow: none !important; }
.smad-search .select2-container .select2-selection--single { height: 52px; padding: 0 !important; }

/* ---------- data pages: /compare, /top-agencies, /industries, /services ---------- */
.smad-page-body .cp-note { font-size: .92rem; color: var(--s-muted); margin: 20px 0 14px; }
.smad-page-body details > summary .cp-count { font-weight: 500; color: var(--s-muted); margin-left: .2rem; }
.smad-page-body details[id], .smad-page-body details > summary[id] { scroll-margin-top: 88px; }
.smad-page-body .cp-howto { background: var(--s-soft); margin: 0 0 8px; }
.smad-page-body .cp-howto > summary { font-weight: 600; }
.smad-page-body .cp-howto[open] > summary { margin-bottom: 8px; }
.smad-page-body .cp-howto p { font-size: .93rem; line-height: 1.65; }
.smad-page-body .top-nav { margin-top: 1.25rem !important; }
.cp-soc { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 11px; color: var(--s-muted); font-size: .95rem; line-height: 1; }
.cp-svg { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; }
.cp-soc-t { font-size: .78rem; }
.smad-page-body .top-table td { vertical-align: middle; }
.smad-page-body .badge-success.badge-pill { font-size: .68rem; vertical-align: .08em; }

/* compare lists: collapsed countries, first 25 rows, Compare button under the agency name */
.smad-page-body .compare-table td { vertical-align: top !important; }
.compare-table .cmp-agency a { font-weight: 600; }
.compare-table .cmp-agency .smad-compare-btn { display: flex; margin-top: 6px; font-size: .72rem; padding: .15rem .6rem; }
.compare-country.js-trim:not(.is-all) tr.cmp-extra { display: none; }
.cmp-more { text-align: center; margin: 12px 0 14px; }
body:has(.smad-compare-tray) { padding-bottom: 92px; }

/* compare picker */
.smad-cmp-pick-body { flex: 1 1 auto; min-width: 0; }
.smad-cmp-search { position: relative; max-width: 520px; margin: 10px 0 4px; }
.smad-cmp-search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--s-faint); pointer-events: none; }
.smad-cmp-search input { height: 46px; padding-left: 42px; border-radius: 999px; border: 1px solid var(--s-line); background: #fff; box-shadow: none; }
.smad-cmp-search input:focus { border-color: var(--s-brand); box-shadow: 0 0 0 4px rgba(33, 86, 232, .12); }
.smad-cmp-results { list-style: none; margin: 8px 0 4px; padding: 4px; max-width: 520px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); box-shadow: var(--s-shadow); }
.smad-cmp-results[hidden] { display: none; }
.smad-cmp-results li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; }
.smad-cmp-results li + li { border-top: 1px solid var(--s-line-2); }
.smad-cmp-results .is-none { color: var(--s-muted); font-size: .9rem; }
.smad-cmp-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.smad-cmp-name a { font-weight: 600; color: var(--s-ink) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smad-cmp-name small { color: var(--s-muted); font-size: .78rem; }
.smad-compare-hint .smad-cmp-help { margin: 10px 0 8px; font-size: .88rem; color: var(--s-muted); }

@media (max-width: 767.98px) {
  .smad-page-body .compare-table, .smad-page-body .top-table { display: table; white-space: normal; overflow: visible; }
  .compare-table .cmp-hide-sm { display: none; }
  .smad-page-body .compare-table th, .smad-page-body .compare-table td { padding: .6rem .55rem !important; }
  .smad-page-body details { padding: 0 12px; }
}
@media (max-width: 575.98px) {
  .smad-page-body .top-table th:nth-child(4), .smad-page-body .top-table td:nth-child(4),
  .smad-page-body .top-table th:nth-child(5), .smad-page-body .top-table td:nth-child(5) { display: none; }
  .smad-page-body .top-table th, .smad-page-body .top-table td { padding: .55rem .5rem !important; }
  .smad-cmp-pick .smad-feature-icon { display: none; }
  body:has(.smad-compare-tray) { padding-bottom: 150px; }
}
.compare-table .cp-soc { flex-wrap: nowrap; white-space: nowrap; gap: 9px; }
.cmp-svc-sm { display: none; }
@media (max-width: 575.98px) {
  .compare-table .cmp-hide-xs { display: none; }
  .cmp-svc-sm { display: block; margin-top: 2px; font-size: .78rem; line-height: 1.35; color: var(--s-muted); }
}
/* pages-content.css gives every content table min-width 620px; the compare lists reflow instead */
.smad-page-body .table-responsive table.compare-table { min-width: 0; }
@media (max-width: 575.98px) { .smad-page-body .table-responsive table.top-table { min-width: 0; } }
@media (max-width: 575.98px) { .smad-page-body .top-table th { white-space: normal; } }

/* 2026-11-17 SEO audit: "<Place> in numbers" block on city and country pages (_smad-city-data.html.php). */
.smad-city-data { border-top: 1px solid var(--s-line-2); padding: 44px 0 8px; margin-top: 32px; }
.smad-city-data + .smad-dir-faq { margin-top: 24px; }
.smad-city-data .smad-h2 { margin-bottom: .5rem; }
.smad-cd-sum { color: var(--s-ink-2); max-width: 760px; margin: 0 0 1.4rem; font-size: 1.02rem; line-height: 1.55; }
.smad-cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.smad-cd-card { background: var(--s-bg); border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 18px 18px 14px; box-shadow: var(--s-shadow-sm); display: flex; flex-direction: column; }
.smad-cd-card .smad-h3 { font-size: 1rem; margin-bottom: .75rem; }
.smad-cd-bars, .smad-cd-list, .smad-cd-facts, .smad-cd-awards { list-style: none; margin: 0; padding: 0; }
.smad-cd-bars li { margin-bottom: .6rem; }
.smad-cd-row { display: flex; justify-content: space-between; gap: 8px; font-size: .9rem; color: var(--s-ink-2); margin-bottom: 3px; }
.smad-cd-row strong { color: var(--s-ink); font-variant-numeric: tabular-nums; }
.smad-cd-bar { position: relative; height: 8px; background: var(--s-soft-2); border-radius: 99px; }
.smad-cd-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--s-brand); border-radius: 99px; }
.smad-cd-bar i { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--s-ink); border-radius: 1px; transform: translateX(-1px); }
.smad-cd-list li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--s-line-2); font-size: .92rem; color: var(--s-ink-2); }
.smad-cd-list li:last-child { border-bottom: 0; }
.smad-cd-list strong { color: var(--s-ink); font-variant-numeric: tabular-nums; }
.smad-cd-facts li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--s-line-2); }
.smad-cd-facts li:last-child { border-bottom: 0; }
.smad-cd-facts strong { font-family: var(--s-head); font-size: 1.25rem; font-weight: 800; color: var(--s-ink); min-width: 4.2em; font-variant-numeric: tabular-nums; }
.smad-cd-facts span { color: var(--s-ink-2); font-size: .9rem; }
.smad-cd-awards li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--s-line-2); font-weight: 600; }
.smad-cd-awards li:last-child { border-bottom: 0; }
.smad-cd-rank { display: inline-flex; align-items: center; justify-content: center; min-width: 2.1em; height: 2.1em; border-radius: 99px; background: var(--s-brand-soft); color: var(--s-brand-ink); font-size: .8rem; font-weight: 800; }
.smad-cd-note { margin: auto 0 0; padding-top: .7rem; font-size: .8rem; color: var(--s-muted); line-height: 1.45; }
.smad-cd-foot { margin: 1rem 0 0; font-size: .82rem; color: var(--s-muted); }
@media (max-width: 575.98px) { .smad-city-data { padding-top: 32px; } .smad-cd-grid { grid-template-columns: 1fr; } }

/* pages-listing.css */
/* SMAD listing pages - audit fixes 2026-11-11 */

/* ---------- header card: one action cluster ---------- */
.smad-profile-actions { align-items: stretch; }
.smad-profile-sub { display: flex; justify-content: center; gap: 1.1rem; margin-top: 2px; }
.smad-profile-sub a { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--s-ink-2) !important; }
.smad-profile-sub a:hover { color: var(--s-brand) !important; }
.smad-profile-sub i { font-size: .8em; color: var(--s-faint); }
.smad-profile-sub a:hover i { color: var(--s-brand); }
.smad-open-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; color: var(--s-ok); background: var(--s-ok-soft); border-radius: 999px; padding: .12rem .6rem; }
.smad-open-badge i { font-size: .45rem; }

/* ---------- logos: initials fallback for broken / tiny images ---------- */
.smad-logo-box { position: relative; }
.smad-logo-box .smad-logo-fb { display: none; }
.smad-logo-box.is-fb .smad-logo-fb { display: flex; }
.smad-logo-box.is-fb > img { display: none; }
.smad-logo-box > img.is-natural { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: none; padding: 0; image-rendering: auto; }

/* ---------- header: crumbs row ---------- */
.smad-crumbs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.smad-crumbs-row .breadcrumb { margin-bottom: .75rem; }
.smad-back { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .75rem; font-size: .88rem; font-weight: 600; color: var(--s-ink-2) !important; }
.smad-back:hover { color: var(--s-brand) !important; text-decoration: none; }

/* ---------- body: main + sidebar grid (mobile order: key facts, main, rest) ---------- */
.smad-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.smad-main { min-width: 0; }
@media (min-width: 992px) {
  .smad-body { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "main key" "main side"; grid-template-rows: auto 1fr; gap: 16px 40px; }
  .smad-main { grid-area: main; }
  .smad-key { grid-area: key; align-self: start; }
  .smad-side { grid-area: side; align-self: start; }
  .smad-body .smad-profile-side { position: static; padding-top: 0; }
}
.smad-body .smad-profile-side { padding-top: 0; }

/* ---------- key facts card ---------- */
.smad-keycard { padding: 22px; box-shadow: var(--s-shadow-sm); }
.smad-keycard .smad-side-title { margin-bottom: 1rem; }
.smad-keylist { margin: 0; }
.smad-keyrow { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--s-line-2); }
.smad-keyrow:first-child { border-top: 0; padding-top: 0; }
.smad-keyrow dt { display: contents; }
.smad-keyico { grid-row: 1 / span 2; grid-column: 1; width: 32px; height: 32px; border-radius: 10px; background: var(--s-brand-soft); color: var(--s-brand); display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; }
.smad-keylabel { grid-column: 2; grid-row: 1; font-size: .75rem; font-weight: 600; color: var(--s-muted); line-height: 1.2; }
.smad-keyrow dd { grid-column: 2; grid-row: 2; margin: 0; font-size: .95rem; font-weight: 600; color: var(--s-ink); line-height: 1.35; overflow-wrap: anywhere; }
.smad-key-sub-line { display: block; margin-top: .1rem; font-size: .8rem; font-weight: 400; color: var(--s-muted); }
.smad-keyblock { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--s-line-2); }
.smad-key-sub { margin: 0 0 .5rem !important; font-size: .75rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted) !important; }
.smad-keycard .smad-pchips li { font-size: .8rem; cursor: default; }
.smad-keyblock .smad-fact-note { margin-top: .5rem; }
.smad-socialrow { display: flex; flex-wrap: wrap; gap: 8px; }
.smad-social-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--s-line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--s-ink-2) !important; font-size: .95rem; transition: border-color .15s, color .15s, background .15s; }
.smad-social-btn:hover { border-color: var(--s-brand); color: var(--s-brand) !important; background: var(--s-brand-soft); text-decoration: none; }
.smad-social-btn .smad-svg-ico { width: 1rem; height: 1rem; }

/* ---------- services & expertise chip groups ---------- */
.smad-xgroup + .smad-xgroup { margin-top: 1.25rem; }
.smad-xsub { font-family: var(--s-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 .5rem; }
.smad-fchips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.smad-fchips li { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; font-weight: 600; color: var(--s-ink-2); background: var(--s-soft-2); border: 1px solid var(--s-line-2); border-radius: 999px; padding: .28rem .8rem; }
.smad-fchips li i, .smad-fchips li .smad-svg-ico { color: var(--s-brand); font-size: .85rem; width: .9rem; height: .9rem; }
.smad-fchips li i { width: auto; height: auto; }
.smad-xgroup .smad-fact-note { margin-top: .4rem; }

/* ---------- About description: owner HTML headings stay body-scale ---------- */
.smad-ui .listing-description { overflow-wrap: anywhere; }
.smad-ui .listing-description h1, .smad-ui .listing-description h2, .smad-ui .listing-description h3,
.smad-ui .listing-description h4, .smad-ui .listing-description h5, .smad-ui .listing-description h6 {
  font-family: var(--s-head); font-size: 1.1rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; color: var(--s-ink); margin: 1.4rem 0 .5rem;
}
.smad-ui .listing-description > *:first-child, .smad-ui .listing-description > span:first-child > *:first-child { margin-top: 0; }
.smad-ui .listing-description p { margin: 0 0 1rem; }
.smad-ui .listing-description ul, .smad-ui .listing-description ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.smad-ui .listing-description img { max-width: 100%; height: auto; }
.smad-ui .listing-description table { display: block; max-width: 100%; overflow-x: auto; }
.smad-ui .listing-description br + br { display: none; }

/* ---------- related agencies ---------- */
.smad-related { margin-top: 3rem; }
.smad-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 575.98px) { .smad-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.smad-related-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px 12px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); color: var(--s-ink) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.smad-related-card:hover { border-color: #c9d6f5; box-shadow: var(--s-shadow); transform: translateY(-2px); text-decoration: none; }
.smad-related-logo { flex: 0 0 56px; width: 56px; height: 56px; margin-bottom: .6rem; border-radius: 12px; border: 1px solid var(--s-line-2); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.smad-related-logo > img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.smad-related-logo .smad-initials { font-size: 1.05rem; }
.smad-related-name { font-size: .92rem; font-weight: 700; line-height: 1.25; color: var(--s-ink); overflow-wrap: anywhere; }
.smad-related-loc { margin-top: .15rem; font-size: .8rem; color: var(--s-muted); }

/* ---------- sidebar: share card, hours card ---------- */
.smad-side-tools-first { margin-top: 0; padding-top: 0; border-top: 0; }
.smad-side-share .smad-side-title { margin-bottom: .75rem; }
.smad-side-hours .smad-side-title { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.smad-closed-badge { margin-left: auto; font-family: var(--s-body); font-size: .75rem; font-weight: 600; color: var(--s-muted); background: var(--s-soft-2); border-radius: 999px; padding: .1rem .55rem; }
.smad-hours { width: 100%; border-collapse: collapse; font-size: .88rem; }
.smad-hours th, .smad-hours td { padding: .38rem 0; border-top: 1px solid var(--s-line-2); vertical-align: top; }
.smad-hours tr:first-child th, .smad-hours tr:first-child td { border-top: 0; }
.smad-hours th { font-weight: 600; color: var(--s-ink-2); text-align: left; }
.smad-hours td { text-align: right; color: var(--s-ink); }
.smad-hours td span { display: block; }
.smad-hours .smad-hours-closed { color: var(--s-faint); }
.smad-hours tr.is-today th, .smad-hours tr.is-today td { color: var(--s-brand); font-weight: 700; }

/* ---------- mobile sticky contact bar ---------- */
.smad-sticky-cta { display: none; }
@media (max-width: 991.98px) {
  .smad-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--s-line); box-shadow: 0 -6px 20px -8px rgba(15, 23, 42, .15); transform: translateY(110%); transition: transform .2s; }
  .smad-sticky-cta.is-on { transform: none; }
  .smad-sticky-cta .btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; white-space: nowrap; padding-left: .5rem; padding-right: .5rem; }
  .smad-sticky-cta .btn:first-child:not(:only-child) { flex: 1.6 1 0; }
  .smad-sticky-cta .btn i { font-size: .8em; }
  body.smad-has-sticky { padding-bottom: 68px; }
}
@media (max-width: 767.98px) {
  .smad-profile-card { align-items: flex-start; }
  .smad-profile-sub { justify-content: flex-start; flex: 1 1 100%; }
  .smad-fchips li { font-size: .8rem; }
  .smad-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smad-ui .listing-description h1, .smad-ui .listing-description h2, .smad-ui .listing-description h3 { font-size: 1.05rem; }
}

/* main column sits in the grid, not in a bootstrap gutter: cancel the row/col gutters so borders align with the text */
.smad-main > .row { margin-left: 0; margin-right: 0; }
.smad-main > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }

/* pages-account.css */
/* SMAD account pages - audit fixes 2026-11-11 */

/* reCAPTCHA v3 badge: hidden site-wide; every form that uses reCAPTCHA prints the Google privacy/terms notice instead. */
.grecaptcha-badge { visibility: hidden !important; }

/* ---------- Account entry pages (login, create, reminder, verification) ---------- */
.smad-auth-lead { margin: .65rem 0 0; color: var(--s-ink-2); font-size: 1rem; line-height: 1.6; max-width: 60ch; }
.smad-auth-note { align-items: flex-start; background: var(--s-brand-soft); border: 1px solid #c7d4fb; }
.smad-auth-note i { color: var(--s-brand); margin-top: .25rem; }
.smad-auth-note a { font-weight: 600; }

:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form > * { grid-column: 1 / -1; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form > .form-group.row { margin: 0 0 1.1rem; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form > .form-group.row > * { padding-left: 0; padding-right: 0; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form label[for="captcha"],
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form label[for="_actions"] { display: none; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form .form-text { font-size: .85rem; line-height: 1.45; margin-top: .4rem; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form .form-text:empty { display: none; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form p.small { font-size: .84rem; line-height: 1.5; margin-top: -.2rem !important; }
@media (min-width: 576px) {
  .page-account-create form > .form-group.row:has(#first_name),
  .page-account-create form > .form-group.row:has(#last_name) { grid-column: auto; }
}
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) .smad-auth-submit { width: 100%; min-height: 52px; justify-content: center; }
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) form .btn { min-width: 0; }

/* show/hide password */
.smad-pw { position: relative; }
.smad-pw .form-control { padding-right: 52px; }
.smad-pw-toggle { position: absolute; top: 0; right: 0; height: 100%; width: 48px; border: 0; background: transparent; color: var(--s-muted); cursor: pointer; border-radius: 0 var(--s-radius-sm) var(--s-radius-sm) 0; }
.smad-pw-toggle:hover, .smad-pw-toggle:focus-visible { color: var(--s-brand); outline: none; }
.smad-pw-toggle:focus-visible { box-shadow: 0 0 0 3px rgba(33, 86, 232, .25); }

/* remember me + forgot password row */
.smad-auth-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -.35rem 0 1.25rem; font-size: .92rem; }
.smad-remember { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-weight: 500; color: var(--s-ink-2); cursor: pointer; }
.smad-remember input { width: 18px; height: 18px; margin: 0; accent-color: var(--s-brand); cursor: pointer; }
.smad-forgot { font-weight: 600; }

/* terms + alternative-action lines */
.smad-auth-terms { margin: 1rem 0 0; font-size: .85rem; line-height: 1.5; color: var(--s-muted); text-align: center; }
.smad-auth-alt { margin: 1.1rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--s-line-2); text-align: center; color: var(--s-ink-2); font-size: .95rem; }
.smad-auth-alt a { font-weight: 600; }
.smad-auth-terms + .smad-auth-alt { margin-top: 1rem; }

/* resend panel: soft brand card, no off-system yellow */
:is(.page-account-login, .page-account-verification) .smad-own.is-unverified { background: linear-gradient(135deg, var(--s-brand-soft), #fff); border-color: #c7d4fb; }
:is(.page-account-login, .page-account-verification) .smad-own-inline { margin: 1.5rem 0 0; }
.page-account-login #smad-resend { margin: 0 0 1.25rem; }

/* mobile: one gutter for heading and card */
@media (max-width: 575.98px) {
  :is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white { padding: 32px 0 56px !important; }
  :is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white > .container { padding-left: 16px; padding-right: 16px; }
  :is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white > .container > .row { margin-left: 0; margin-right: 0; }
  :is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white > .container > .row > .col-11 { padding-left: 0; padding-right: 0; }
  :is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white > .container > .row:last-child > .col-11 { padding: 22px 18px; }
  :is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white .row.align-items-center { margin-left: 0; margin-right: 0; }
  :is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white .row.align-items-center > [class*="col-"] { padding-left: 0; padding-right: 0; }
}
/* heading column: align the h1 with the card edge (ui.css adds 15px) */
:is(.page-account-login, .page-account-create, .page-account-password-reminder, .page-account-verification) section.bg-white > .container > .row.mb-4 > .col-11 { padding-left: 0; padding-right: 0; }

/* ---------- Get matched + Request a proposal: form with a "what happens next" sidebar ---------- */
.smad-page-body.smad-prose-width:has(.smad-match-layout) { max-width: 1120px; }
.smad-prop:has(.smad-match-layout) { max-width: none; }
.smad-match-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.smad-match-layout:not(:has(.smad-match-aside)) { grid-template-columns: minmax(0, 820px); }
.smad-match-main { min-width: 0; }
.smad-match-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--s-header-h) + 20px); }
.smad-match-aside .smad-side-card { background: var(--s-soft); }
.smad-match-aside .smad-side-title { margin-bottom: .6rem; }
.smad-match-aside .smad-side-title-2 { margin-top: 1rem; }
.smad-match-aside .smad-side-text { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--s-ink-2); }
.smad-next-list { margin: 0; padding: 0; list-style: none; counter-reset: smadnext; display: grid; gap: 12px; }
.smad-next-list li { position: relative; padding-left: 34px; font-size: .9rem; line-height: 1.5; color: var(--s-ink-2); counter-increment: smadnext; }
.smad-next-list li::before { content: counter(smadnext); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 999px; background: var(--s-brand-soft); color: var(--s-brand); font: 700 .78rem/24px var(--s-head); text-align: center; }
.smad-next-list strong { color: var(--s-ink); }
@media (max-width: 991.98px) {
  .smad-match-layout { grid-template-columns: minmax(0, 1fr); }
  .smad-match-aside { position: static; }
}

/* option tiles: equal heights, and the text-only platform glyph (Threads "@") is plain text, not a nested box */
.smad-option-grid { align-items: stretch; }
.smad-option { display: flex; }
.smad-option > span { flex: 1 1 auto; min-height: 56px; }
.smad-option > span .smad-plat-txt { display: inline-block; flex: 0 0 1.1rem; width: 1.1rem; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: center; line-height: 1; font-size: 1rem; }
.smad-option input:checked + span .smad-plat-txt { color: var(--s-brand); }
.smad-option > span { line-height: 1.35; }

/* ---------- /awards ---------- */
.smad-page-body .aw-example { display: flex; align-items: center; gap: 20px; margin: 1.4rem 0 1.6rem; padding: 18px 20px; border: 1px solid #c7d4fb; border-radius: var(--s-radius-lg); background: linear-gradient(135deg, var(--s-brand-soft), #fff); }
.smad-page-body .aw-example img { flex: 0 0 auto; width: 240px; max-width: 45%; height: auto; border-radius: 8px; }
.smad-page-body .aw-example figcaption { font-size: .93rem; line-height: 1.55; color: var(--s-ink-2); }
.smad-page-body .aw-back { margin: .6rem 0 0; font-size: .88rem; text-align: right; }
.smad-page-body .aw-back a { font-weight: 600; text-decoration: none; }
.smad-page-body #cities { scroll-margin-top: calc(var(--s-header-h) + 16px); }
@media (max-width: 575.98px) { .smad-page-body .aw-example { flex-direction: column; align-items: flex-start; } .smad-page-body .aw-example img { max-width: 100%; width: 260px; } .smad-page-body .aw-back { text-align: left; } }

/* ---------- /social-media-agency-report-2026: charts across the column (capped so chart text stays near body size), caption and downloads beneath ---------- */
.smad-page-body .rpt-fig { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.smad-page-body .rpt-chart svg, .smad-page-body svg.rpt-svg { max-width: min(100%, 680px); }
.smad-page-body .rpt-fig figcaption { font-size: 1rem; }

/* ===== Owner listing form, redesign 2026-11-16 (add + edit agency). Overrides the 2026-11-10 rules in ui.css. ===== */
/* Progress */
.smad-stepper { list-style: none; display: flex; gap: .5rem; margin: 0 0 22px; padding: 0; counter-reset: none; }
.smad-stepper li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--s-muted); }
.smad-stepper li + li::before { content: ""; width: 34px; height: 2px; background: var(--s-line); border-radius: 2px; margin-right: .1rem; }
.smad-stepper-n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--s-line); background: #fff; font-size: .78rem; font-weight: 800; color: var(--s-muted); }
.smad-stepper li.is-current { color: var(--s-ink); }
.smad-stepper li.is-current .smad-stepper-n { border-color: var(--s-brand); background: var(--s-brand); color: #fff; }
.smad-stepper li.is-done { color: var(--s-ink-2); }
.smad-stepper li.is-done .smad-stepper-n { border-color: var(--s-ok); background: var(--s-ok); color: #fff; font-size: .7rem; }

/* Step 1: main service cards */
.smad-step-h { font-family: var(--s-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; color: var(--s-ink); margin: 0 0 .35rem; }
.smad-step-lead { color: var(--s-muted); margin: 0 0 1.25rem; max-width: 60ch; }
.smad-svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.smad-svc { position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; margin: 0; padding: .9rem 2.4rem .9rem .9rem; border: 1.5px solid var(--s-line); border-radius: var(--s-radius); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.smad-svc:hover { border-color: #b9c8f5; box-shadow: var(--s-shadow-sm); }
.smad-svc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.smad-svc-ic { grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--s-brand-soft); color: var(--s-brand); font-size: 1.05rem; }
.smad-svc-t { font-weight: 700; font-size: .98rem; color: var(--s-ink); line-height: 1.25; }
.smad-svc-d { font-weight: 400; font-size: .84rem; color: var(--s-muted); line-height: 1.35; margin-top: .1rem; }
.smad-svc-tick { position: absolute; top: .7rem; right: .7rem; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--s-line); display: inline-flex; align-items: center; justify-content: center; color: transparent; font-size: .65rem; background: #fff; }
.smad-svc:has(input:checked) { border-color: var(--s-brand); background: #f6f8ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.smad-svc:has(input:checked) .smad-svc-tick { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.smad-svc:has(input:focus-visible) { outline: 2px solid var(--s-brand); outline-offset: 2px; }
.smad-owner-step1 .smad-form-actions { border-top: 0; padding-top: 6px; }
@media (max-width: 575.98px) { .smad-svc-grid { grid-template-columns: 1fr; } .smad-svc { padding: .75rem 2.3rem .75rem .75rem; } }

/* Section nav: numbered, sticky */
.smad-owner-details .smad-form-nav { position: sticky; top: calc(var(--s-header-h, 72px) + 6px); z-index: 5; margin: 0 -8px 10px; padding: 8px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); border-radius: 999px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.smad-owner-details .smad-form-nav::-webkit-scrollbar { display: none; }
.smad-owner-details .smad-form-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.smad-owner-details .smad-form-nav a span { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50%; background: var(--s-soft-2); font-size: .7rem; font-weight: 800; color: var(--s-muted); }
.smad-owner-details .smad-form-nav a.is-active { border-color: var(--s-brand); color: var(--s-brand) !important; background: var(--s-brand-soft); }
.smad-owner-details .smad-form-nav a.is-active span { background: var(--s-brand); color: #fff; }

/* Sections */
.smad-owner-details fieldset.smad-form-section { padding: 30px 0 8px; scroll-margin-top: calc(var(--s-header-h, 72px) + 70px); }
.smad-owner-details .smad-form-h { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; }
.smad-sec-n { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--s-brand-soft); color: var(--s-brand); font-size: .85rem; font-weight: 800; }
.smad-owner-details .smad-form-lead { margin-left: calc(28px + .6rem); }
.smad-owner-details .form-group { margin-bottom: 1.35rem; }
.smad-owner-details .form-group > label, .smad-switch-h, .smad-main-label { display: block; font-weight: 700; font-size: .95rem; color: var(--s-ink); margin-bottom: .4rem; }
.smad-req { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 999px; background: #fff1e6; color: #b45309; font-size: .68rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; vertical-align: 2px; }
.smad-owner-details .form-text { font-size: .8rem; line-height: 1.45; }
.smad-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 575.98px) { .smad-form-row { grid-template-columns: 1fr; } .smad-owner-details .smad-form-lead { margin-left: 0; } }

/* Profile address (slug) with fixed prefix */
.smad-slug { display: flex; align-items: stretch; flex-wrap: wrap; }
.smad-slug-pre { display: inline-flex; align-items: center; padding: 0 .75rem; border: 1px solid var(--s-line); border-right: 0; border-radius: var(--s-radius-sm) 0 0 var(--s-radius-sm); background: var(--s-soft); color: var(--s-muted); font-size: .85rem; white-space: nowrap; }
.smad-slug > input { flex: 1 1 160px; min-width: 0; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.smad-slug > small, .smad-slug > .form-text { flex-basis: 100%; }

/* Main service (read-only) */
.smad-main-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border-radius: 999px; background: var(--s-brand-soft); border: 1px solid #c7d4fb; color: var(--s-brand); font-weight: 700; font-size: .92rem; }
.smad-main-change { margin-left: .35rem; padding-left: .6rem; border-left: 1px solid #c7d4fb; font-weight: 600; font-size: .84rem; }

/* Chips: extra services (custom markup) and every multi-option checkbox list (stock markup restyled) */
.smad-ochips { display: flex; flex-wrap: wrap; gap: .5rem; }
.smad-ochip { position: relative; margin: 0; cursor: pointer; }
.smad-ochip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.smad-ochip span, .smad-chipgroup-css .custom-control-label { display: inline-flex; align-items: center; gap: .4rem; padding: .42rem .85rem; border: 1.5px solid var(--s-line); border-radius: 999px; background: #fff; color: var(--s-ink-2); font-size: .88rem; font-weight: 600; line-height: 1.2; transition: border-color .12s, background .12s, color .12s; user-select: none; }
.smad-ochip span i { color: var(--s-faint); font-size: .8rem; }
.smad-ochip:hover span, .smad-chipgroup-css .custom-control-label:hover { border-color: #b9c8f5; }
.smad-ochip input:checked + span, .smad-chipgroup-css .custom-control-input:checked + .custom-control-label { border-color: var(--s-brand); background: var(--s-brand-soft); color: var(--s-brand); }
.smad-ochip input:checked + span i { color: var(--s-brand); }
.smad-ochip input:focus-visible + span, .smad-chipgroup-css .custom-control-input:focus-visible + .custom-control-label { outline: 2px solid var(--s-brand); outline-offset: 2px; }
.smad-ochip.is-off span { opacity: .45; cursor: not-allowed; }
.smad-chipgroup-css > .custom-control { display: inline-block !important; width: auto !important; min-height: 0; margin: 0 .5rem .5rem 0; padding: 0 !important; vertical-align: top; }
.smad-chipgroup-css .custom-control-label { margin: 0; cursor: pointer; }
.smad-chipgroup-css .custom-control-label::before, .smad-chipgroup-css .custom-control-label::after { display: none !important; }
.smad-chipgroup-css .custom-control-input:checked + .custom-control-label::before { display: none !important; }
.smad-chipgroup-css .custom-control-input:checked + .custom-control-label { padding-left: .7rem; }
.smad-chipgroup-css .custom-control-input:checked + .custom-control-label::after { display: inline-block !important; content: "\f00c"; position: static; width: auto; height: auto; background: none !important; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .7rem; order: -1; }
.smad-chipgroup-css > .form-text { display: block; margin-top: .1rem; }

/* Single checkbox (remote) as a toggle card */
.smad-switchgroup .custom-control { display: flex; align-items: center; padding: .8rem 1rem .8rem 3.6rem !important; border: 1.5px solid var(--s-line); border-radius: var(--s-radius-sm); background: #fff; min-height: 0; }
.smad-switchgroup .custom-control:has(.custom-control-input:checked) { border-color: var(--s-brand); background: #f6f8ff; }
.smad-switchgroup .custom-control-label { font-weight: 600; color: var(--s-ink); cursor: pointer; padding: 0 !important; }
.smad-switchgroup .custom-control-label::before { left: -2.75rem !important; top: 50% !important; transform: translateY(-50%); width: 2.2rem !important; height: 1.25rem !important; border-radius: 999px !important; background: var(--s-line) !important; border: 0 !important; }
.smad-switchgroup .custom-control-label::after { left: -2.6rem !important; top: 50% !important; transform: translateY(-50%); width: .95rem !important; height: .95rem !important; border-radius: 50%; background: #fff !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: left .15s; }
.smad-switchgroup .custom-control-input:checked + .custom-control-label::before { background: var(--s-brand) !important; }
.smad-switchgroup .custom-control-input:checked + .custom-control-label::after { left: -1.6rem !important; }

/* Location: smaller map under the selects */
.smad-owner-details .smad-f-location_id .map, .smad-owner-details [id$="location_id-map"] { height: 230px !important; border-radius: var(--s-radius-sm); margin-top: .5rem; }
.smad-owner-details [id$="location_id-container"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.smad-owner-details [id$="location_id-container"] > div { margin: 0 !important; }
@media (max-width: 575.98px) { .smad-owner-details [id$="location_id-container"] { grid-template-columns: 1fr; } }

/* Folded optional blocks (opening hours) */
.smad-fold { margin: 0 0 1.35rem; border: 1px solid var(--s-line); border-radius: var(--s-radius-sm); background: #fff; }
.smad-fold > summary { cursor: pointer; padding: .75rem 1rem; font-weight: 700; color: var(--s-ink); list-style: none; display: flex; align-items: center; gap: .5rem; }
.smad-fold > summary::-webkit-details-marker { display: none; }
.smad-fold > summary::before { content: "\f067"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .75rem; color: var(--s-brand); }
.smad-fold[open] > summary::before { content: "\f068"; }
.smad-fold > summary span { font-weight: 500; font-size: .8rem; color: var(--s-muted); }
.smad-fold > .form-group { padding: 0 1rem 1rem; margin: 0; }
.smad-fold > .form-group > label { display: none; }

/* Uploads: compact drop zones */
.smad-owner-details .dropzone { min-height: 0 !important; padding: 18px !important; border-radius: var(--s-radius-sm); }
.smad-owner-details .dropzone .dz-message { margin: .5rem 0 !important; }
.smad-owner-details .dropzone .dz-message i, .smad-owner-details .dropzone .dz-message .fa, .smad-owner-details .dropzone .dz-message svg { font-size: 1.8rem !important; width: auto; height: 2rem; }

/* Sticky action bar */
.smad-owner-details .smad-form-actions-sticky { position: sticky; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 18px -1.25rem -1.25rem; padding: 14px 1.25rem; background: rgba(255, 255, 255, .97); backdrop-filter: blur(6px); border-top: 1px solid var(--s-line); border-radius: 0 0 var(--s-radius-lg) var(--s-radius-lg); }
.smad-owner-details .smad-form-actions-sticky .btn-primary { order: 2; white-space: nowrap; }
.smad-actions-note { order: 1; margin: 0; font-size: .85rem; color: var(--s-muted); }
.smad-actions-note i { color: var(--s-ok); margin-right: .25rem; }
@media (max-width: 575.98px) {
  .smad-owner-details .smad-form-actions-sticky { flex-direction: column; align-items: stretch; gap: .5rem; margin: 12px -.75rem -.75rem; padding: 10px .75rem; }
  .smad-owner-details .smad-form-actions-sticky .btn-primary { order: 1; width: 100%; }
  .smad-actions-note { order: 2; text-align: center; font-size: .78rem; }
}
/* 2026-11-16 follow-ups: no stock map popup (the help text explains the pin); compact mobile action bar and stepper */
.smad-owner-details .leaflet-popup { display: none; }
@media (max-width: 575.98px) {
  .smad-actions-note { display: none; }
  .smad-owner-details .smad-form-actions-sticky { padding: 8px .75rem; }
  .smad-stepper li { font-size: .8rem; white-space: nowrap; }
  .smad-stepper li + li::before { width: 18px; }
  .smad-slug { flex-direction: column; }
  .smad-slug-pre { border: 0; background: none; padding: 0 0 .25rem; font-size: .8rem; }
  .smad-slug > input { border-radius: var(--s-radius-sm) !important; }
}
/* 2026-11-16 review fixes */
.smad-owner-details .smad-group-h { display: block; font-weight: 700; font-size: .95rem; color: var(--s-ink); margin-bottom: .4rem; }
.smad-req { background: #ffedd5; color: #9a3412; }
html:has(.smad-owner-details) { scroll-padding-top: 150px; scroll-padding-bottom: 110px; }
body:has(.smad-owner-form) #_bttb { display: none !important; }
/* Selected/focus states without :has() (older Safari, Firefox ESR) */
.smad-svc input:checked ~ .smad-svc-tick { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.smad-svc input:checked ~ .smad-svc-t { color: var(--s-brand); }
.smad-svc input:focus-visible ~ .smad-svc-ic { outline: 2px solid var(--s-brand); outline-offset: 2px; }
@media (min-width: 576px) {
  .smad-owner-details .smad-form-nav { flex-wrap: wrap; overflow: visible; border-radius: 14px; }
}
@media (max-width: 575.98px) {
  .smad-slug > input { flex: 0 0 auto; }
  .smad-owner-details .smad-form-nav { margin: 0 -1.25rem 10px; padding: 8px 1.25rem; border-radius: 0; background: #fff; box-shadow: 0 1px 0 var(--s-line); top: var(--s-header-h, 64px); }
  .smad-owner-step1 .smad-form-actions { position: sticky; bottom: 0; z-index: 6; margin: 12px -.75rem -.75rem; padding: 10px .75rem; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--s-line); }
  .smad-owner-step1 .smad-form-actions .btn { width: 100%; }
}
@media (max-width: 379.98px) {
  .smad-stepper { gap: .35rem; }
  .smad-stepper li { font-size: .74rem; gap: .35rem; }
  .smad-stepper li + li::before { width: 10px; }
  .smad-stepper-n { width: 22px; height: 22px; }
}

