
:root{
  --navy:#0f2747;
  --navy-2:#16355f;
  --gold:#f0c64e;
  --gold-2:#f7d87a;
  --bg:#f5f7fb;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  --line:#dbe3ef;
  --line-2:#e7edf6;
  --text:#10233f;
  --muted:#66758f;
  --success:#1e9b63;
  --danger:#c23b3b;
  --shadow:0 18px 42px rgba(15,39,71,.08);
  --shadow-sm:0 8px 22px rgba(15,39,71,.06);
  --radius:24px;
  --radius-sm:18px;
  --shell:1400px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);font-size:16px;line-height:1.6}
a{text-decoration:none;color:inherit}img{display:block;max-width:100%}button,input,select,textarea{font:inherit}
html.menu-open,body.menu-open{overflow:hidden}
.container,.topbar-shell,.site-footer-shell,.shell,.auth-shell,.legal-shell{width:min(90%,var(--shell));margin:0 auto}
.market-shell{padding:32px 0 60px}
.section-shell,.profile-section,.section-card,.card,.auth-panel,.legal-card,.table-wrap,.notice,.empty-soft,.search-link-card,.feature-card,.mini-module,.stat-card,.filter-card,.profile-hero-card,.sidebar-card,.review-form-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm)}

/* header */
.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.topbar-shell{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px}
.brand,.footer-brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand-badge{width:48px;height:48px;border-radius:16px;background:linear-gradient(180deg,var(--navy),#1a3b68);display:grid;place-items:center;color:var(--gold);font-size:30px;font-weight:900;box-shadow:0 12px 28px rgba(15,39,71,.18)}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.brand-wordmark{font-size:1.7rem;font-weight:900;letter-spacing:-.05em;color:var(--navy)}
.brand-wordmark .brand-hit,.brand-wordmark .brand-dotcom{color:var(--gold)}
.brand-copy small{font-size:.92rem;color:var(--muted);font-weight:700;letter-spacing:-.02em}
.desktop-nav{display:flex;align-items:center;gap:8px}
.desktop-nav a{padding:10px 14px;border-radius:999px;color:var(--navy);font-weight:700}
.desktop-nav a:hover{background:var(--surface-2)}
.header-links{display:flex;align-items:center;gap:10px}
.hamb{display:none;border:1px solid var(--line);background:var(--surface);width:52px;height:52px;border-radius:18px;align-items:center;justify-content:center;box-shadow:var(--shadow-sm)}
.hamb-lines{display:grid;gap:5px}.hamb-lines span{display:block;width:22px;height:3px;border-radius:999px;background:var(--navy)}
.mobile-links{display:grid;gap:8px}
.mobile-links a,.mobile-links button{display:flex;width:100%;padding:14px 16px;border-radius:16px;font-weight:700;color:var(--navy);background:transparent;border:1px solid transparent;text-align:left}
.mobile-links a:hover,.mobile-links button:hover{background:var(--surface-2);border-color:var(--line)}
.mobile-links form{margin:0}

/* buttons / badges / inputs */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border-radius:16px;font-weight:800;border:1px solid transparent;transition:.2s ease;cursor:pointer;white-space:nowrap}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--gold);color:#2d2404;box-shadow:0 10px 24px rgba(240,198,78,.28)}
.btn-primary:hover{background:var(--gold-2)}
.btn-dark{background:var(--navy);color:#fff;box-shadow:0 12px 26px rgba(15,39,71,.24)}
.btn-outline{background:#fff;color:var(--navy);border-color:var(--line)}
.btn-outline:hover{background:var(--surface-2)}
.btn-sm{padding:10px 14px;border-radius:14px;font-size:.95rem}
.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:.74rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border:1px solid #dfe7f3;background:#f7f9fc;color:#2b4366}
.badge.brand,.badge.gold{background:#fff8e4;border-color:#f0dfaa;color:#705507}
.badge.green{background:#eff8f2;border-color:#d3e9da;color:#2b6b4d}
.input,textarea,select{width:100%;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px;color:var(--text);outline:none;min-width:0}
.input:focus,textarea:focus,select:focus{border-color:#a9bddc;box-shadow:0 0 0 4px rgba(89,132,201,.12)}
textarea{min-height:140px;resize:vertical}
.field{display:grid;gap:8px}.field label{font-weight:700;color:var(--navy)}
.helper-copy,.muted{color:var(--muted)}
.notice{padding:14px 16px}.notice.success{border-color:rgba(30,155,99,.26);background:rgba(30,155,99,.08);color:#16734a}
.empty-soft{padding:20px;border:1px dashed var(--line);border-radius:20px;color:var(--muted);background:var(--surface-2)}

/* footer */
.site-footer{margin-top:56px;background:linear-gradient(180deg,#0d1f39,#061227);color:#eef3ff;padding:44px 0 26px}
.footer-top{display:grid;grid-template-columns:1.25fr repeat(3,1fr);gap:24px}
.footer-copy,.footer-note{color:#bfcae3}
.footer-col h4{margin:0 0 10px;font-size:1rem}
.footer-links{display:grid;gap:10px}
.footer-links a{color:#dce5f9}
.footer-bottom{margin-top:26px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:18px;color:#d7e0f6}

/* hero / sections */
.market-hero{padding:40px;background:linear-gradient(145deg,#11274a 0%, #1c4278 55%, #234f8d 100%);color:#fff;border-radius:34px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.market-hero::before{content:'';position:absolute;inset:auto -80px -120px auto;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.08)}
.market-hero > *{position:relative;z-index:1}
.market-eyebrow{display:inline-flex;align-items:center;padding:9px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);font-size:.82rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#dfe9ff}
.market-hero h1{margin:18px 0 12px;font-size:clamp(2.4rem,4vw,4.6rem);line-height:.94;letter-spacing:-.06em;max-width:760px;color:#fff}
.market-hero p{margin:0;max-width:760px;font-size:1.1rem;color:#e4edff}
.market-search{display:grid;grid-template-columns:1.1fr 1fr auto;gap:14px;margin-top:28px;padding:18px;border-radius:28px;background:rgba(255,255,255,.97);border:1px solid rgba(255,255,255,.35);box-shadow:var(--shadow-sm)}
.city-chip-row,.tag-row,.facts-row{display:flex;flex-wrap:wrap;gap:8px}.city-chip,.pill-link,.service-chip,.fact-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;border:1px solid #dbe5f6;background:#f5f8ff;font-weight:700;color:#284365;font-size:.86rem;line-height:1.1}
.service-chip.soft{background:#fff8e8;border-color:#efdfac;color:#6f5708}
.city-chip-row{margin-top:18px}
.section-shell{padding:28px;margin-top:28px}
.market-section-head,.section-head-inline,.page-head,.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.market-section-head h2,.section-head-inline h2,.page-head h1{margin:0;font-size:clamp(1.8rem,3vw,2.7rem);line-height:1;letter-spacing:-.05em}
.market-section-head p,.page-head p{margin:8px 0 0;color:var(--muted);max-width:680px}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.feature-card{padding:22px;min-height:210px;display:flex;flex-direction:column;justify-content:flex-start}
.feature-icon{width:62px;height:62px;border-radius:20px;background:#eef3fb;display:grid;place-items:center;font-size:1.7rem;margin-bottom:22px}
.feature-card h3{margin:0 0 10px;font-size:1.65rem;line-height:1.05;letter-spacing:-.04em}
.feature-card p{margin:0;color:var(--muted);font-size:1.02rem}
.directory-stack{display:grid;gap:16px}
.directory-card{display:grid;grid-template-columns:168px minmax(0,1fr) 220px;gap:18px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:28px;background:#fff;box-shadow:var(--shadow-sm)}
.directory-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.directory-media{position:relative;height:150px;border-radius:22px;overflow:hidden;background:#edf2fb;border:1px solid var(--line)}
.directory-media img{width:100%;height:100%;object-fit:cover}
.media-fallback{position:absolute;inset:0;display:grid;place-items:center;color:#93a0ba}.media-fallback.is-hidden{display:none}
.generic-business-icon{width:58px;height:58px;border-radius:18px;background:#f5f7fb;border:1px solid var(--line);display:grid;place-items:center;color:#8996af}
.generic-business-icon svg{width:28px;height:28px}
.directory-topline{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.directory-body h3{margin:0 0 10px;font-size:2rem;line-height:.98;letter-spacing:-.05em}
.rating-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}.rating-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;background:#f7f9ff;border:1px solid #dbe5f6;font-weight:700;color:#284365;font-size:.86rem;line-height:1.1}
.search-stars,.stars,.hero-stars{display:inline-flex;gap:4px}.search-star,.hero-star{font-size:1.18rem;line-height:1}.is-filled{color:var(--gold)}.is-empty{color:#cfd7e6}
.directory-body p{margin:0 0 14px;color:var(--muted);font-size:1.02rem}
.directory-cta{display:grid;gap:14px;justify-items:end;text-align:right}.directory-meta-location{color:var(--muted);font-size:.96rem}
.results-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.search-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.filter-card{padding:20px;position:sticky;top:96px}.filter-card h3{margin:0 0 6px;font-size:1.35rem}.filter-stack{display:grid;gap:14px}.toggle{display:flex;align-items:center;gap:10px;color:var(--navy);font-weight:700}
.search-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}.search-link-card{padding:22px}

/* profile */
.profile-shell{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.profile-hero-card{overflow:hidden}
.profile-cover{padding:24px;background:linear-gradient(145deg,#12284a,#1f4c86);color:#fff}
.profile-header-grid{display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;align-items:center}
.profile-thumb-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:24px;padding:10px}.profile-thumb-card img{width:100%;height:100%;object-fit:cover;border-radius:18px;aspect-ratio:1/1}
.profile-thumb-card-large{width:120px;height:120px}
.profile-header-copy h1{margin:0 0 10px;font-size:clamp(2rem,3vw,3.4rem);line-height:.92;letter-spacing:-.06em;color:#fff}.profile-subline{margin:0;color:#dde8ff;font-size:1.03rem}
.hero-review-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:16px}.hero-rating{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}
.profile-badges{margin-top:14px}.profile-body{padding:24px}.profile-body-integrated{display:grid;gap:18px}.profile-summary-copy p{margin:0 0 14px;color:var(--muted)}
.action-row{display:flex;flex-wrap:wrap;gap:12px}.business-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mini-info{padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2);display:grid;gap:6px}.mini-info strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.profile-nav{display:flex;flex-wrap:wrap;gap:10px}.profile-nav a{padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:700;color:var(--navy)}
.section-card{padding:26px}.section-card h2{margin:0 0 14px;font-size:2rem;letter-spacing:-.05em}.section-card-compact{padding:24px}.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.service-item,.faq-item,.detail-item,.review-item{padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2)}
.service-item h3,.faq-item strong,.detail-item strong,.review-item strong{display:block;margin:0 0 8px;font-size:1.35rem;line-height:1.1;color:var(--navy)}
.service-item p,.faq-item p,.detail-item p,.review-item p{margin:0;color:var(--muted)}
.photo-grid-single{display:grid}.photo-card-large{position:relative;overflow:hidden;border-radius:24px;border:1px solid var(--line);background:#f0f4fb}.photo-card-large img{width:100%;aspect-ratio:16/9;object-fit:cover}.photo-card-large span{position:absolute;left:16px;bottom:16px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.92);font-weight:800;color:var(--navy)}
.review-list,.faq-list{display:grid;gap:14px}.review-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.review-form-card{padding:20px;margin-top:18px}.review-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.review-form-grid .full{grid-column:1/-1}
.sidebar-card{padding:22px;position:sticky;top:96px}.sidebar-card h3{margin:0 0 8px;font-size:1.5rem}.sidebar-card p{margin:0 0 18px;color:var(--muted)}.action-stack{display:grid;gap:12px}
.contact-row{display:grid;gap:4px;padding:14px 0;border-top:1px solid var(--line)}.contact-row:first-of-type{border-top:0;padding-top:0}.contact-row strong{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.hours-list{display:grid;gap:8px;margin-top:10px}.hours-row{display:flex;justify-content:space-between;gap:12px;color:var(--muted)}.hours-row.is-today{font-weight:800;color:var(--navy)}
.related-carousel{overflow:auto;scroll-behavior:smooth}.related-carousel-track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,1fr);gap:14px;padding-bottom:8px}.related-carousel-card{display:grid;gap:0;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff;min-width:0}.related-carousel-media{height:132px;background:#eef3fb}.related-carousel-media img{width:100%;height:100%;object-fit:cover}.related-carousel-body{padding:11px}.related-carousel-body h3{margin:6px 0;font-size:1.28rem;line-height:1.12;letter-spacing:-.03em}
.carousel-controls{display:flex;gap:10px}.carousel-button{width:42px;height:42px;border-radius:14px;border:1px solid var(--line);background:#fff;font-size:1.4rem;color:var(--navy)}
.desktop-only{display:block}.mobile-only{display:none}

/* auth/dashboard */
.shell{width:min(calc(100% - 40px),1280px);margin:28px auto 56px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.sidebar{position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:20px;box-shadow:var(--shadow-sm)}
.sidebar-brand{display:flex;align-items:center;gap:14px;padding-bottom:18px;border-bottom:1px solid var(--line)}.sidebar-brand strong{display:block;font-size:1.15rem}.sidebar-brand small{color:var(--muted)}
.nav-group{padding-top:18px}.nav-group h6{margin:0 0 10px;font-size:.82rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.nav-link{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:16px;color:var(--navy);font-weight:700}.nav-link:hover,.nav-link.active{background:#f5f8fe}
.content .dashboard-container{padding:0}.stats,.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card{padding:20px}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.stat-value{font-size:2rem;line-height:1;letter-spacing:-.05em;font-weight:900;color:var(--navy);word-break:break-word}.stat-label{font-size:.82rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-bottom:8px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{padding:22px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.module-grid.single{grid-template-columns:1fr}.mini-module{padding:18px;border-radius:20px;border:1px solid var(--line);background:var(--surface-2);display:grid;gap:8px}.mini-module strong{font-size:1.05rem}.mini-module span{color:var(--muted)}.mini-module.white{background:#fff}
.list{display:grid;gap:12px}.list-item{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 0;border-top:1px solid var(--line)}.list-item:first-child{border-top:0;padding-top:0}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px 10px;text-align:left;border-top:1px solid var(--line)}.table th{font-size:.82rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.auth-shell{width:min(calc(100% - 40px),980px);margin:42px auto}.auth-panel{padding:28px}.auth-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:20px}.auth-hero{padding:26px;border-radius:26px;background:linear-gradient(145deg,#11274a,#224e8b);color:#fff}.auth-hero h1{margin:0 0 12px;font-size:2.6rem;line-height:.94;letter-spacing:-.05em}.auth-hero p{margin:0;color:#dce8ff}.auth-form{display:grid;gap:14px}
.legal-shell{width:min(calc(100% - 40px),900px);margin:40px auto}.legal-card{padding:28px}

/* generic */
.pagination-wrap{display:flex;justify-content:center;margin-top:20px}.pagination{display:flex;gap:10px;align-items:center}.pagination a,.pagination span{padding:10px 14px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:700}
hr.separator{border:0;border-top:1px solid var(--line);margin:24px 0}

@media (max-width:1100px){
  .search-shell,.shell{grid-template-columns:1fr}
  .sidebar,.filter-card{position:static}
  .profile-shell{grid-template-columns:minmax(0,1fr) 320px;align-items:start;overflow:visible}
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail,
  .profile-shell > aside.sidebar-card.desktop-only,
  .sidebar-sticky-rail.sidebar-card.desktop-only{
    display:block !important;
    position:-webkit-sticky !important;
    position:sticky !important;
    top:96px !important;
    align-self:start !important;
    height:fit-content !important;
    max-height:calc(100vh - 112px) !important;
    overflow:auto !important;
  }
  .business-quick-grid,.stats,.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .directory-card{grid-template-columns:140px minmax(0,1fr)}
  .directory-cta{grid-column:1/-1;justify-items:start;text-align:left;padding-top:4px;border-top:1px solid var(--line)}
  .footer-top{grid-template-columns:1fr 1fr}
}

@media (max-width:980px){
  .profile-shell{grid-template-columns:1fr !important;gap:18px}
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail,
  .profile-shell > aside.sidebar-card.desktop-only,
  .sidebar-sticky-rail.sidebar-card.desktop-only{position:static !important;max-height:none !important;overflow:visible !important}
}
@media (max-width:760px){
  .container,.topbar-shell,.site-footer-shell,.shell,.auth-shell,.legal-shell{width:min(90%,var(--shell))}
  .topbar-shell{padding:14px 0}.desktop-nav,.header-links{display:none}.hamb{display:inline-flex}
  .brand-badge{width:44px;height:44px;font-size:28px}.brand-wordmark{font-size:1.5rem}.brand-copy small{font-size:.86rem}
  .market-shell{padding:18px 0 42px}.market-hero{padding:24px;border-radius:28px}.market-hero h1{font-size:2.45rem}.market-hero p{font-size:1rem}.market-search{grid-template-columns:1fr;padding:14px;border-radius:24px}
  .section-shell,.section-card,.card,.auth-panel,.legal-card,.profile-body{padding:20px}.feature-grid,.search-link-grid,.grid-2,.grid-3,.service-grid,.module-grid,.auth-grid{grid-template-columns:1fr}
  .directory-card{grid-template-columns:1fr;gap:14px;padding:16px}.directory-media{height:200px}.directory-body h3{font-size:1.8rem}.rating-row{margin-bottom:10px}.directory-cta{padding-top:12px}
  .market-section-head,.section-head-inline,.page-head,.card-top,.results-toolbar,.review-head{display:grid;gap:12px}
  .profile-cover{padding:20px}.profile-header-grid{grid-template-columns:1fr;justify-items:start}.profile-thumb-card-large{width:92px;height:92px}.profile-header-copy h1{font-size:2.2rem}.hero-review-row{align-items:flex-start}.hero-rating{padding:10px 12px}.profile-badges,.profile-nav,.city-chip-row{overflow:auto;flex-wrap:nowrap;padding-bottom:2px}.profile-nav a,.city-chip,.pill-link,.service-chip,.fact-pill{white-space:nowrap}
  .business-quick-grid{grid-template-columns:1fr}.desktop-only{display:none!important}.mobile-only{display:block!important}
  .related-carousel-track{grid-auto-columns:86%}
  .footer-top{grid-template-columns:1fr}.footer-bottom{display:grid}
  .stats,.stats-grid{grid-template-columns:1fr}.stat-value{font-size:1.5rem}
}


/* v28 mobile stabilization */
.market-hero h1,.market-hero p{color:#fff}
.market-hero .market-eyebrow{background:rgba(255,255,255,.08);color:#dfe8ff;border-color:rgba(255,255,255,.18)}
.market-search .input, .market-search select{background:#fff;color:var(--navy)}
.market-section-head .btn,.section-head-inline .btn{flex:0 0 auto}
.feature-card,.directory-card,.section-shell,.section-card,.card,.stat-card,.mini-info,.service-item,.faq-item,.detail-item,.review-item,.review-form-card,.sidebar-card{min-width:0}
.field{display:grid;gap:8px;min-width:0}.field label{display:block;font-weight:700;color:var(--navy)}
.field input,.field textarea,.field select{width:100%}
.field textarea{min-height:130px;resize:vertical}
.review-form-grid{align-items:start}
.review-form-card .badge.gold{justify-self:start}
.review-form-card .section-head-inline{align-items:start}
.profile-summary-copy .tag-row,.facts-row,.tag-row{justify-content:flex-start}
.directory-body,.directory-cta,.related-carousel-body{min-width:0}
.directory-body h3,.related-carousel-body h3,.feature-card h3{overflow-wrap:anywhere;word-break:break-word}
.directory-body p,.related-carousel-body p,.feature-card p,.muted{overflow-wrap:anywhere}
.directory-media img,.related-carousel-media img{display:block}
.profile-cover{background:linear-gradient(145deg,#11294d,#28548d)}
.profile-cover .profile-header-copy h1,.profile-cover .profile-subline{color:#fff}
.profile-cover .hero-rating,.profile-cover .fact-pill{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.22);color:#fff}
.profile-cover .search-star.is-empty{color:rgba(255,255,255,.35)}
.profile-cover .search-star.is-filled{color:#f1cc59}
.profile-shell{grid-template-columns:minmax(0,1fr) 320px}
.stat-value{font-size:clamp(1.15rem,3vw,1.9rem);line-height:1.15;letter-spacing:-.03em}
.list-item span{max-width:55%;text-align:right;overflow-wrap:anywhere}
.sidebar-brand strong,.sidebar-brand small,.stat-top strong,.card h3,.page-head h1,.content .muted,.list-item strong,.list-item .muted{overflow-wrap:anywhere}
@media (max-width: 760px){
  body{overflow-x:hidden}
  .container,.topbar-shell,.site-footer-shell,.shell,.auth-shell,.legal-shell{width:min(90%,var(--shell))}
  .topbar{position:sticky;top:0;z-index:40}
  .topbar-shell{gap:10px;padding:12px 0}
  .brand{gap:12px;min-width:0}
  .brand-badge{width:48px;height:48px;font-size:30px;flex:0 0 48px}
  .brand-copy{min-width:0}
  .brand-wordmark{font-size:1.75rem;line-height:1}
  .brand-copy small{display:block;font-size:.88rem;line-height:1.1;margin-top:3px;color:#67728d}
  .hamb{width:56px;height:56px;border-radius:18px;flex:0 0 56px}
  .market-shell{padding:14px 0 34px}
  .market-hero{padding:22px 18px;border-radius:28px}
  .market-hero h1{font-size:2.2rem;line-height:.95;max-width:12ch;margin-bottom:12px}
  .market-hero p{font-size:1.02rem;max-width:none}
  .market-search{padding:14px;gap:12px}
  .market-search .btn{width:100%}
  .city-chip-row,.profile-nav,.profile-badges{display:flex;gap:10px;overflow:auto;scrollbar-width:none}
  .city-chip-row::-webkit-scrollbar,.profile-nav::-webkit-scrollbar,.profile-badges::-webkit-scrollbar{display:none}
  .city-chip,.profile-nav a{flex:0 0 auto}
  .feature-grid{grid-template-columns:1fr;gap:16px}
  .feature-card{padding:18px;min-height:0}
  .feature-card h3{font-size:1.9rem;margin:10px 0 6px}
  .feature-card p{font-size:1rem;max-width:26ch}
  .market-section-head,.section-head-inline,.page-head,.card-top,.results-toolbar,.review-head,.footer-bottom{display:grid;gap:12px}
  .market-section-head .btn,.section-head-inline .btn{width:100%;justify-content:center}
  .directory-stack{gap:14px}
  .directory-card{grid-template-columns:96px minmax(0,1fr);padding:16px 14px;gap:14px;align-items:start}
  .directory-media{width:96px;height:96px;border-radius:22px}
  .directory-body{display:grid;gap:10px}
  .directory-topline{gap:8px}
  .directory-body h3{font-size:1.7rem;line-height:1.02;margin:0}
  .rating-row{display:grid;gap:10px;justify-items:start;margin:0}
  .rating-pill{padding:8px 12px}
  .directory-body p{font-size:1rem;line-height:1.55;margin:0}
  .facts-row{gap:8px;display:flex;flex-wrap:wrap}
  .directory-cta{grid-column:1/-1;display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--line);justify-items:start;text-align:left}
  .directory-cta .btn{width:100%;justify-content:center}
  .directory-meta-location{font-size:.95rem}
  .profile-shell{grid-template-columns:1fr;gap:18px}
  .profile-hero-card{border-radius:28px;overflow:hidden}
  .profile-cover{padding:18px 16px}
  .profile-header-grid{grid-template-columns:86px minmax(0,1fr);gap:14px;align-items:start}
  .profile-thumb-card-large{width:86px;height:86px}
  .profile-header-copy h1{font-size:2rem;line-height:.95;margin-bottom:8px}
  .profile-subline{font-size:.98rem;line-height:1.45}
  .hero-review-row{gap:10px;margin-top:12px}
  .hero-rating{width:100%;justify-content:flex-start}
  .profile-body{padding:18px}
  .profile-summary-copy p{font-size:1rem;line-height:1.6}
  .action-row{grid-template-columns:1fr;display:grid}
  .action-row .btn{width:100%;justify-content:center}
  .business-quick-grid{grid-template-columns:1fr;gap:10px}
  .mini-info{padding:14px 16px;border-radius:18px;background:#fff}
  .section-card{padding:20px 16px;border-radius:28px}
  .section-card h2{font-size:1.8rem}
  .service-grid{grid-template-columns:1fr;gap:12px}
  .service-item,.faq-item,.detail-item,.review-item,.review-form-card{padding:16px;border-radius:18px}
  .service-item h3{font-size:1.8rem}
  .photo-card-large img{aspect-ratio:4/3}
  .review-form-grid{grid-template-columns:1fr}
  .review-form-grid .full{grid-column:auto}
  .sidebar-card{display:none!important}
  .related-carousel{overflow:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
  .related-carousel-track{display:flex;gap:14px;grid-auto-flow:unset;grid-auto-columns:unset}
  .related-carousel-card{flex:0 0 calc(50% - 7px);max-width:calc(50% - 7px);scroll-snap-align:start}
  .related-carousel-media{height:96px}
  .related-carousel-body{padding:11px}
  .related-carousel-body h3{font-size:1.02rem;line-height:1.18}
  .shell{grid-template-columns:1fr;gap:16px;margin:16px auto 36px}
  .sidebar{position:static;padding:16px;border-radius:24px}
  .sidebar-brand{padding-bottom:14px}
  .nav-link{padding:11px 12px}
  .stats,.stats-grid,.grid-2,.grid-3,.module-grid{grid-template-columns:1fr;gap:14px}
  .stat-card,.card{padding:18px;border-radius:24px}
  .stat-value{font-size:1.25rem;line-height:1.25}
  .list-item{display:grid;gap:6px}
  .list-item span{max-width:none;text-align:left}
  .table-wrap{overflow:auto}
  .site-footer{margin-top:34px}
  .footer-top{grid-template-columns:1fr;gap:18px}
  .footer-brand{align-items:flex-start}
  .footer-copy{max-width:none;font-size:1rem;line-height:1.6}
}


/* v29 targeted mobile cleanup */
html,body{max-width:100%;overflow-x:hidden}
.topbar,.site-footer,.market-shell,.container,.shell,.profile-shell,.section-card,.section-shell,.card,.directory-card{max-width:100%}
.profile-shell > *, .search-shell > *, .shell > *{min-width:0}
.directory-card, .related-carousel-card, .feature-card, .service-item, .review-form-card, .sidebar-card, .mini-info{overflow:hidden}
.muted, p, h1, h2, h3, h4, span, strong, a, button{overflow-wrap:anywhere}
@media (max-width:760px){
  .site-footer{overflow:hidden;padding:28px 0 24px}
  .site-footer-shell{width:min(90%,var(--shell))!important;max-width:none}
  .footer-top,.footer-bottom{grid-template-columns:1fr!important;display:grid!important}
  .footer-brand{gap:12px;align-items:flex-start}
  .brand-wordmark{font-size:1.45rem!important}
  .brand-copy small{font-size:.78rem!important;line-height:1.15!important}
  .market-hero h1{font-size:2rem!important;max-width:none!important;color:#fff!important}
  .market-hero p{max-width:none!important}
  .market-hero .city-chip-row{overflow:visible;flex-wrap:wrap}
  .city-chip-row,.profile-nav,.profile-badges,.tag-row,.facts-row{overflow:visible!important;flex-wrap:wrap!important}
  .profile-nav a,.city-chip,.pill-link,.service-chip,.fact-pill{white-space:normal!important}
  .directory-card{grid-template-columns:1fr!important;padding:16px!important}
  .directory-media{width:100%!important;height:180px!important}
  .directory-cta{grid-column:auto!important;border-top:1px solid var(--line);padding-top:12px!important}
  .directory-cta .btn{width:100%!important}
  .directory-meta-location{display:none}
  .directory-topline{margin-bottom:6px}
  .directory-body h3{font-size:1.55rem!important}
  .rating-row{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  .rating-pill{width:auto!important;max-width:100%}
  .profile-header-grid{grid-template-columns:1fr!important;justify-items:start!important}
  .profile-thumb-card-large{width:96px!important;height:96px!important}
  .profile-cover{padding:18px 14px!important}
  .profile-header-copy h1{font-size:2rem!important}
  .hero-review-row,.profile-badges,.action-row,.business-quick-grid{display:grid!important;grid-template-columns:1fr!important}
  .hero-rating,.action-row .btn,.profile-badges .fact-pill{width:100%!important;justify-content:flex-start!important}
  .mini-info{padding:14px!important}
  .review-form-grid,.auth-grid,.feature-grid,.service-grid,.grid-2,.grid-3,.search-link-grid,.stats,.stats-grid,.module-grid{grid-template-columns:1fr!important}
  .review-form-card .section-head-inline{display:grid!important;gap:10px!important}
  .review-form-card .badge{width:100%;justify-content:flex-start}
  .section-card,.section-shell,.card,.auth-panel,.legal-card,.profile-body{padding:18px 14px!important}
  .related-carousel{overflow-x:auto!important;overflow-y:hidden!important}
  .related-carousel-track{display:flex!important;gap:12px!important}
  .related-carousel-card{flex:0 0 calc(50% - 6px)!important;max-width:calc(50% - 6px)!important}
  .carousel-controls{display:none!important}
  .sidebar-card{display:none!important}
}
@media (max-width:430px){
  .container,.topbar-shell,.site-footer-shell,.shell,.auth-shell,.legal-shell{width:min(90%,var(--shell))!important}
  .brand-wordmark{font-size:1.25rem!important}
  .brand-copy small{font-size:.72rem!important}
  .hamb{width:52px!important;height:52px!important;flex-basis:52px!important}
  .market-hero{padding:18px 14px!important}
  .market-hero h1{font-size:1.85rem!important}
  .directory-media{height:160px!important}
  .directory-body h3{font-size:1.4rem!important}
  .service-chip,.fact-pill,.city-chip,.pill-link{padding:6px 10px!important;font-size:.8rem!important;line-height:1.1!important}
  .profile-header-copy h1{font-size:1.75rem!important}
}

@media (max-width: 640px){
  .related-carousel-track{gap:12px!important;padding-bottom:4px}
  .related-carousel-card{border-radius:18px!important}
  .related-carousel-body .directory-topline{margin-bottom:4px}
  .related-carousel-body p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.95rem;line-height:1.45;margin:6px 0 0}
  .related-carousel-body .facts-row{gap:6px;margin-top:8px}
  .related-carousel-body .service-chip{font-size:.7rem;padding:5px 8px;border-radius:999px}
  .related-carousel-body .fact-pill,.related-carousel-body .rating-pill{font-size:.72rem;padding:5px 8px}
}

/* v32 mobile polish */
@media (max-width: 560px){
  .topbar-shell{padding:12px 0;gap:12px}
  .brand,.footer-brand{gap:10px;min-width:0;max-width:100%}
  .brand-badge{width:42px;height:42px;border-radius:14px;font-size:26px;flex:0 0 42px}
  .brand-copy{min-width:0;max-width:100%}
  .brand-wordmark{font-size:1.12rem;line-height:1;white-space:normal;word-break:break-word}
  .brand-copy small{font-size:.78rem;line-height:1.15;white-space:normal}
  .hamb{width:48px;height:48px;border-radius:16px;flex:0 0 48px}

  .site-footer{overflow:hidden;padding:26px 0 20px}
  .site-footer-shell{width:min(90%,var(--shell))!important;max-width:none}
  .footer-top{gap:16px}
  .footer-brand .brand-wordmark{font-size:1.05rem}
  .footer-brand .brand-copy small{font-size:.74rem}
  .footer-copy,.footer-note{font-size:.92rem;line-height:1.5;word-break:break-word}
  .footer-links{gap:8px}

  .profile-cover{padding:16px 14px!important}
  .profile-header-grid{grid-template-columns:72px minmax(0,1fr)!important;gap:12px!important;align-items:start!important}
  .profile-thumb-card-large{width:72px;height:72px}
  .profile-header-copy h1{font-size:1.85rem;line-height:.95}
  .profile-subline{font-size:1rem}
  .hero-review-row{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
  .hero-rating{width:100%;padding:10px 12px}
  .profile-badges,.action-row,.business-quick-grid{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
  .profile-badges .fact-pill,.facts-row .service-chip,.tag-row .service-chip,.service-chip,.fact-pill{padding:8px 12px;font-size:.92rem}
  .profile-nav{display:flex!important;flex-wrap:nowrap!important;overflow:auto!important}

  .directory-card{grid-template-columns:1fr!important;gap:12px!important;padding:14px!important}
  .directory-media{height:120px;border-radius:18px}
  .directory-body h3{font-size:1.45rem;line-height:1.02;margin-bottom:8px}
  .rating-row{gap:8px;margin-bottom:10px}
  .rating-pill{padding:8px 12px;font-size:.92rem}
  .directory-body p{font-size:.98rem;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .directory-cta{justify-items:start;text-align:left;padding-top:6px}
  .directory-meta-location{font-size:.92rem}
  .facts-row .service-chip,.directory-card .service-chip{padding:8px 11px;font-size:.88rem}

  .market-hero{padding:18px 14px!important}
  .market-hero h1{font-size:1.95rem!important;line-height:.96!important;color:#fff!important}
  .market-hero p{font-size:1rem!important;line-height:1.5}
}

@media (max-width: 420px){
  .container,.topbar-shell,.site-footer-shell,.shell,.auth-shell,.legal-shell{width:min(90%,var(--shell))!important}
  .brand-wordmark{font-size:1rem}
  .brand-copy small{font-size:.7rem}
  .profile-header-grid{grid-template-columns:1fr!important}
  .profile-thumb-wrap{margin-bottom:4px}
  .profile-header-copy h1{font-size:1.65rem}
  .hero-rating{font-size:.92rem}
  .hero-rating .hero-star{font-size:1rem}
  .fact-pill,.service-chip{font-size:.86rem;padding:7px 10px}
}


/* v33 compact pill refinement */
.directory-card .service-chip,
.directory-card .city-chip,
.directory-card .fact-pill,
.directory-card .pill-link,
.related-carousel-card .service-chip,
.related-carousel-card .city-chip {
  padding: 5px 9px !important;
  font-size: .74rem !important;
  gap: 5px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}
.directory-card .tag-row,
.related-carousel-card .tag-row,
.directory-card .facts-row,
.related-carousel-card .facts-row {
  gap: 6px !important;
}
.profile-cover .fact-pill,
.profile-cover .hero-rating {
  padding: 7px 11px !important;
  font-size: .82rem !important;
}
@media (max-width: 768px) {
  .badge { padding: 5px 9px !important; font-size: .68rem !important; }
  .city-chip, .pill-link, .service-chip, .fact-pill, .rating-pill {
    padding: 5px 9px !important;
    font-size: .74rem !important;
    gap: 5px !important;
  }
  .directory-card .service-chip,
  .directory-card .city-chip,
  .directory-card .fact-pill,
  .directory-card .pill-link,
  .related-carousel-card .service-chip,
  .related-carousel-card .city-chip {
    padding: 4px 8px !important;
    font-size: .68rem !important;
  }
  .hero-review-row .rating-pill,
  .profile-cover .fact-pill {
    font-size: .76rem !important;
    padding: 6px 9px !important;
  }
  .badge.brand, .badge.gold, .badge.green {
    font-size: .66rem !important;
    letter-spacing: .03em !important;
  }
}


.location-map-card{margin-top:18px;display:grid;gap:14px}
.location-info-full{background:#fff}
.embedded-map-wrap{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#fff;min-height:260px}
.embedded-map-wrap iframe{display:block;width:100%;height:320px;border:0}
.business-quick-grid-inline{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.profile-nav-equal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:2px}
.profile-nav-equal a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;padding:14px 12px;border-radius:18px;font-weight:800}
.profile-nav-equal a.is-brand{background:var(--navy);border-color:var(--navy);color:#fff}
.profile-nav-equal a.is-brand:hover{background:#0f2f63}
.sidebar-card{position:sticky;top:104px;align-self:start}

@media (max-width: 900px){
  .embedded-map-wrap iframe{height:260px}
}
@media (max-width: 640px){
  .business-quick-grid-inline{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .profile-nav-equal{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .profile-nav-equal a{min-height:50px}
  .embedded-map-wrap iframe{height:240px}
}

/* v40 business sidebar + mobile actions */
.profile-shell{overflow:visible}
.sidebar-card{position:sticky !important;position:-webkit-sticky !important;top:92px !important;align-self:start;max-height:calc(100vh - 112px);overflow:auto}
.action-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px}
.action-row .btn{min-height:60px;border-radius:20px;padding:16px 22px}
@media (max-width: 640px){
  .action-row{display:grid;grid-template-columns:1fr;gap:14px}
  .action-row .btn{width:100%;justify-content:center;min-height:58px}
}


/* v41 business page equal buttons and sticky sidebar */
.profile-shell > aside.sidebar-card{position:-webkit-sticky !important;position:sticky !important;top:112px !important;align-self:start !important;height:fit-content;max-height:calc(100vh - 128px);overflow:auto;}
.location-map-card .business-quick-grid-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;}
.location-map-card .business-quick-grid-inline .mini-info{min-height:132px;justify-content:flex-start;align-content:start;}
.profile-nav-equal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;}
.profile-nav-equal a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:46px;padding:10px 10px;border-radius:16px;font-size:1.02rem;font-weight:800;line-height:1.1;box-sizing:border-box;}
.profile-nav-equal a.is-brand{background:var(--navy);border:1px solid var(--navy);color:#fff;box-shadow:none;}
.profile-nav-equal a.is-brand:hover{background:#163466;}
@media (max-width: 900px){
  .profile-nav-equal{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
  .profile-nav-equal a{min-height:44px;padding:8px 6px;font-size:.95rem;border-radius:14px;}
  .location-map-card .business-quick-grid-inline{gap:12px;}
  .location-map-card .business-quick-grid-inline .mini-info{min-height:116px;}
}
@media (max-width: 640px){
  .profile-nav-equal{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
  .profile-nav-equal a{min-height:42px;padding:8px 4px;font-size:.9rem;letter-spacing:0;border-radius:14px;}
  .location-map-card .business-quick-grid-inline{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;}
  .location-map-card .business-quick-grid-inline .mini-info{min-height:110px;}
}


/* v42 business page nav + sticky sidebar */
.sidebar-sticky-rail{position:-webkit-sticky !important;position:sticky !important;top:112px !important;align-self:start !important;height:fit-content !important;max-height:calc(100vh - 128px) !important;overflow:auto !important;z-index:8}
.profile-shell{align-items:start !important;overflow:visible !important}
.profile-shell > .sidebar-sticky-rail{justify-self:stretch}
.location-map-card .business-quick-grid-inline{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.location-map-card .business-quick-grid-inline .mini-info{min-height:132px;display:flex;flex-direction:column;justify-content:flex-start}
.profile-nav-equal{width:100%;display:grid;gap:14px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px}
.profile-nav-equal a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:58px;padding:0 14px;border-radius:20px;font-size:1.05rem;font-weight:800;line-height:1.1;box-sizing:border-box}
.profile-nav-equal a.is-brand{background:var(--navy);border:1px solid var(--navy);color:#fff;box-shadow:0 10px 24px rgba(10,31,68,.12)}
@media (max-width: 767px){
  .location-map-card .business-quick-grid-inline{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .location-map-card .business-quick-grid-inline .mini-info{min-height:128px}
  .profile-nav-equal{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}
  .profile-nav-equal a{min-height:56px;padding:0 10px;border-radius:18px;font-size:1rem}
}
@media (max-width: 480px){
  .location-map-card .business-quick-grid-inline{gap:12px}
  .location-map-card .business-quick-grid-inline .mini-info{min-height:120px}
  .profile-nav-equal{gap:12px}
  .profile-nav-equal a{min-height:54px;padding:0 8px;font-size:.98rem;border-radius:18px}
}

/* v43 targeted business page nav + sticky fix */
.location-map-card{gap:16px}
.location-map-card .business-quick-grid-inline,
.location-map-card .profile-nav-equal{
  width:100% !important;
  max-width:100% !important;
  align-self:stretch !important;
  box-sizing:border-box;
}
.location-map-card .business-quick-grid-inline{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px !important;
  margin-top:2px;
}
.location-map-card .business-quick-grid-inline .mini-info{
  width:100% !important;
  min-width:0 !important;
  min-height:138px !important;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  box-sizing:border-box;
}
.profile-nav-equal{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:2px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.profile-nav-equal a,
.profile-nav-equal a.is-brand{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  min-height:48px !important;
  height:48px !important;
  padding:0 10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  border-radius:16px !important;
  font-size:1rem !important;
  font-weight:800 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  background:var(--gold) !important;
  color:var(--navy) !important;
  border:1px solid rgba(176,144,34,.55) !important;
  box-shadow:none !important;
  white-space:nowrap !important;
}
.profile-nav-equal a:hover,
.profile-nav-equal a.is-brand:hover{background:#f1cf63 !important;color:var(--navy) !important}
@media (max-width: 900px){
  .location-map-card .business-quick-grid-inline{gap:14px !important}
  .location-map-card .business-quick-grid-inline .mini-info{min-height:122px !important}
  .profile-nav-equal{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important}
  .profile-nav-equal a,
  .profile-nav-equal a.is-brand{height:50px !important;min-height:50px !important;border-radius:18px !important;font-size:1rem !important;padding:0 8px !important}
}
@media (min-width: 901px){
  .market-shell,.container,.profile-shell{overflow:visible !important}
  .profile-shell{align-items:start !important;grid-template-columns:minmax(0,1fr) 340px !important}
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail{
    display:block !important;
    position:sticky !important;
    position:-webkit-sticky !important;
    top:108px !important;
    align-self:start !important;
    height:fit-content !important;
    max-height:calc(100vh - 124px) !important;
    overflow:auto !important;
    z-index:20 !important;
  }
}


/* v44 sticky sidebar desktop/tablet fix only */
@media (min-width: 761px){
  .profile-shell,
  .profile-shell > *,
  .profile-body,
  .profile-main,
  .market-shell,
  .container{
    overflow: visible !important;
  }
  .profile-shell{
    align-items: start !important;
  }
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail,
  .sidebar-sticky-rail.sidebar-card.desktop-only{
    display: block !important;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 104px !important;
    align-self: start !important;
    height: fit-content !important;
    max-height: calc(100vh - 120px) !important;
    overflow: auto !important;
    z-index: 30 !important;
  }
}


/* v46 single-source desktop sticky sidebar fix */
@media (min-width: 901px){
  .market-shell,
  .container,
  .profile-shell,
  .profile-shell > *,
  .profile-body{
    overflow: visible !important;
  }
  .profile-shell{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 340px !important;
    align-items:start !important;
    gap:24px !important;
  }
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail,
  .sidebar-sticky-rail.sidebar-card.desktop-only{
    display:block !important;
    position:-webkit-sticky !important;
    position:sticky !important;
    top:96px !important;
    align-self:start !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    z-index:40 !important;
  }
}
@media (max-width: 900px){
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail,
  .sidebar-sticky-rail.sidebar-card.desktop-only{
    display:none !important;
    position:static !important;
  }
}


/* v47 final desktop-only sticky sidebar override */
@media (min-width: 901px){
  .profile-shell,
  .profile-shell > *,
  .profile-body,
  .profile-main,
  .market-shell,
  .container{
    overflow: visible !important;
  }
  .profile-shell{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 340px !important;
    align-items:start !important;
  }
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail{
    display:block !important;
    position:sticky !important;
    top:96px !important;
    align-self:start !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    z-index:60 !important;
  }
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail *{
    overflow:visible;
  }
}
@media (max-width: 900px){
  .profile-shell > aside.sidebar-card.desktop-only.sidebar-sticky-rail{
    display:none !important;
    position:static !important;
    top:auto !important;
  }
}


/* Rebuilt desktop business rail */
@media (min-width: 981px){
  .business-rail.desktop-only{display:block !important; align-self:start; min-width:0;}
  .profile-shell > .business-rail.desktop-only{position:relative !important; overflow:visible !important;}
  .business-rail-card{
    position:-webkit-sticky !important;
    position:sticky !important;
    top:96px !important;
    align-self:start;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow-sm);
    padding:22px;
    overflow:visible !important;
    z-index:5;
  }
  .business-rail-head h3{margin:0 0 8px;font-size:1.35rem;color:var(--navy)}
  .business-rail-head p{margin:0 0 16px;color:var(--muted);font-size:.96rem;line-height:1.5}
  .business-rail-actions{display:grid;gap:10px;margin-bottom:14px}
  .business-rail-actions .btn{width:100%;justify-content:center}
  .business-rail-meta{display:grid;gap:0;border-top:1px solid var(--line);padding-top:12px}
  .business-rail-row{display:grid;gap:4px;padding:12px 0;border-top:1px solid var(--line)}
  .business-rail-row:first-child{border-top:0;padding-top:0}
  .business-rail-row strong{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
  .business-rail-row span{color:var(--navy);line-height:1.55;word-break:break-word}
}
@media (max-width: 980px){
  .business-rail.desktop-only{display:none !important}
}


/* v50 reliable desktop rail */
@media (min-width: 1101px){
  .profile-shell{grid-template-columns:minmax(0,1fr) 320px !important; gap:24px !important; align-items:start !important;}
  .business-rail.desktop-only{display:block !important; position:relative !important; min-width:0 !important; width:320px !important;}
  .business-rail-card{position:fixed !important; top:104px !important; width:320px !important; max-height:calc(100vh - 124px) !important; overflow:auto !important; z-index:20 !important;}
}
@media (max-width: 1100px){
  .business-rail-card{position:static !important; top:auto !important; width:auto !important; max-height:none !important; overflow:visible !important;}
}


/* business owner landing width tune */
.business-landing-section{padding-top:8px}
.business-landing-shell{max-width:1040px}
.business-landing-card{padding:34px}
.business-landing-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:26px;align-items:start}
.business-landing-copy h1{margin:10px 0 12px;font-size:clamp(2.35rem,4vw,3.8rem);line-height:.95;letter-spacing:-.05em;color:var(--navy);max-width:12ch}
.business-landing-copy p{margin:0;max-width:58ch;color:var(--muted);font-size:1.05rem}
.business-landing-copy .button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.business-landing-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.business-landing-features .feature-card{min-height:0;padding:20px}
.business-landing-features .feature-card h3{font-size:1.3rem}
.business-landing-features .feature-card p{font-size:.98rem}
@media (max-width:980px){
  .business-landing-shell{max-width:920px}
  .business-landing-grid{grid-template-columns:1fr;gap:18px}
  .business-landing-copy h1{max-width:none}
}
@media (max-width:760px){
  .business-landing-card{padding:22px}
  .business-landing-copy h1{font-size:2.2rem}
  .business-landing-copy p{font-size:1rem}
  .business-landing-features{grid-template-columns:1fr}
}


/* v64 unified dashboard theme */
.dashboard-app{width:min(90%,1460px);margin:28px auto 56px;display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}
.dashboard-sidebar-rail{position:sticky;top:92px;align-self:start}
.dashboard-sidebar-card{background:#fff;border:1px solid var(--line);border-radius:0;box-shadow:none;padding:0 0 18px;border-left:none;border-top:none;border-bottom:none;position:relative}
.dashboard-sidebar-card::before{content:"";position:absolute;left:-18px;top:0;bottom:0;width:4px;border-radius:999px;background:linear-gradient(180deg,var(--navy),#335f9f)}
.dashboard-sidebar-brand{display:flex;align-items:center;gap:14px;padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.dashboard-sidebar-brand strong{display:block;font-size:1.15rem;color:var(--navy);line-height:1.05}
.dashboard-sidebar-brand small{display:block;color:var(--muted);margin-top:4px;max-width:180px;line-height:1.35}
.dashboard-sidebar-badge{width:48px;height:48px;border-radius:16px;background:linear-gradient(145deg,#102749,#16386d);display:grid;place-items:center;color:var(--gold);font-weight:900;font-size:1.5rem;box-shadow:0 10px 24px rgba(10,33,71,.16)}
.dashboard-nav-group{display:grid;gap:6px;padding:0;margin-bottom:18px}
.dashboard-nav-group h6{margin:0 0 6px;font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}
.dashboard-nav-link{display:flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:14px;text-decoration:none;color:var(--navy);font-weight:800;transition:.18s ease;background:transparent;border:1px solid transparent}
.dashboard-nav-link:hover{background:#f7f9fd;border-color:#e3e9f3}
.dashboard-nav-link.active{background:#0e2444;color:#fff;border-color:#0e2444;box-shadow:0 10px 22px rgba(13,34,67,.16)}
.dashboard-main{min-width:0}
.dashboard-main .page-head{margin-bottom:22px;padding:0}
.dashboard-main .page-head h1{font-size:clamp(2rem,3.1vw,3.1rem);letter-spacing:-.06em;line-height:.94}
.dashboard-main .page-head p{max-width:780px;font-size:1.02rem}
.dashboard-main .stats,.dashboard-main .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.dashboard-main .stat-card{padding:22px 20px;border-radius:24px;box-shadow:0 12px 28px rgba(16,38,69,.06)}
.dashboard-main .card,.dashboard-main .mini-module,.dashboard-main .table-wrap{border-radius:26px;box-shadow:0 14px 34px rgba(16,38,69,.06)}
.dashboard-main .card{padding:22px}
.dashboard-main .grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.dashboard-main .grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.dashboard-main .module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dashboard-main .module-grid.single{grid-template-columns:1fr}
.dashboard-main .mini-module{padding:18px 18px 16px;border:1px solid var(--line);background:#fff;text-decoration:none;color:inherit}
.dashboard-main .mini-module strong{display:block;font-size:1.25rem;line-height:1.1;color:var(--navy);margin-bottom:8px}
.dashboard-main .mini-module span{display:block;color:var(--muted);line-height:1.5}
.dashboard-main .list{display:grid;gap:0}
.dashboard-main .list-item{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.dashboard-main .list-item:last-child{border-bottom:none;padding-bottom:0}
.dashboard-main .list-item:first-child{padding-top:0}
.dashboard-main .table-wrap{padding:8px 0 0;overflow:auto}
.dashboard-main .table{width:100%;border-collapse:collapse}
.dashboard-main .table th,.dashboard-main .table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.dashboard-main .table th{font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.dashboard-main .table tr:last-child td{border-bottom:none}
@media (max-width: 1180px){
  .dashboard-app{grid-template-columns:220px minmax(0,1fr);gap:22px}
  .dashboard-main .stats,.dashboard-main .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-main .grid-3{grid-template-columns:1fr 1fr}
}
@media (max-width: 900px){
  .dashboard-app{width:min(92%,1460px);grid-template-columns:1fr;gap:18px;margin:18px auto 40px}
  .dashboard-sidebar-rail{position:static}
  .dashboard-sidebar-card{border:1px solid var(--line);border-radius:24px;padding:16px;box-shadow:0 12px 28px rgba(16,38,69,.06)}
  .dashboard-sidebar-card::before{display:none}
  .dashboard-sidebar-brand{padding:0 0 14px;margin-bottom:14px}
  .dashboard-nav-group{gap:8px}
  .dashboard-nav-link{min-height:42px}
  .dashboard-main .stats,.dashboard-main .stats-grid,.dashboard-main .grid-2,.dashboard-main .grid-3,.dashboard-main .module-grid{grid-template-columns:1fr!important}
}


/* v66 dashboard shell + mobile full-width */
body.dashboard-page{background:#f3f6fb}
body.dashboard-page .dashboard-app{width:100%;max-width:none;margin:0;min-height:100vh;display:grid;grid-template-columns:280px minmax(0,1fr);gap:0;align-items:stretch}
body.dashboard-page .dashboard-sidebar-rail{position:sticky;top:0;height:100vh;padding:22px 18px 22px 22px;background:linear-gradient(180deg,#0b1830 0%,#102645 100%)}
body.dashboard-page .dashboard-sidebar-card{height:100%;border-radius:28px;padding:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);box-shadow:none;backdrop-filter:blur(6px)}
body.dashboard-page .dashboard-sidebar-brand strong,body.dashboard-page .dashboard-nav-group h6{color:#fff}
body.dashboard-page .dashboard-sidebar-brand small{color:rgba(255,255,255,.72)}
body.dashboard-page .dashboard-nav-link{color:rgba(255,255,255,.82);border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.03)}
body.dashboard-page .dashboard-nav-link.active{background:#fcc931;color:#0d1b2a;border-color:#fcc931}
body.dashboard-page .dashboard-main{padding:28px 28px 44px;background:#f3f6fb;min-width:0}
body.dashboard-page .dashboard-main>.notice{max-width:none}
.import-workspace{display:grid;gap:18px}
.import-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px}
.import-query-field{grid-column:span 4}
.import-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.import-rule-card{padding:18px 18px 16px}
.import-rule-card strong{display:block;margin-bottom:8px;color:var(--navy)}
.import-rule-card p{margin:0;color:var(--muted);line-height:1.55}
.import-bottom-grid{align-items:start}
@media (max-width:1100px){
 body.dashboard-page .dashboard-app{grid-template-columns:240px minmax(0,1fr)}
 .import-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .import-query-field{grid-column:span 2}
 .import-rule-grid{grid-template-columns:1fr}
}
@media (max-width:900px){
 body.dashboard-page .dashboard-app{grid-template-columns:1fr}
 body.dashboard-page .dashboard-sidebar-rail{position:static;height:auto;padding:16px 16px 0;background:transparent}
 body.dashboard-page .dashboard-sidebar-card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm)}
 body.dashboard-page .dashboard-sidebar-brand strong,body.dashboard-page .dashboard-nav-group h6{color:var(--navy)}
 body.dashboard-page .dashboard-sidebar-brand small{color:var(--muted)}
 body.dashboard-page .dashboard-nav-link{color:var(--navy);background:#fff;border-color:var(--line)}
 body.dashboard-page .dashboard-main{padding:18px 16px 32px}
}
@media (max-width:760px){
 .container,.topbar-shell,.site-footer-shell,.shell,.auth-shell,.legal-shell{width:100%!important;max-width:none!important;padding-left:16px;padding-right:16px}
 .topbar-shell,.site-footer-shell{box-sizing:border-box}
 .section-shell,.section-card,.card,.auth-panel,.legal-card,.profile-body,.profile-section{padding:18px 16px!important}
 .import-form-grid{grid-template-columns:1fr}
 .import-query-field{grid-column:span 1}
}


.pager{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.pager-meta{color:var(--muted);font-size:14px}
.pager-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pager-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font-weight:700;text-decoration:none}
.pager-btn.is-active{background:var(--navy);border-color:var(--navy);color:#fff}
.pager-btn.is-disabled{opacity:.45;pointer-events:none}
.dashboard-nav-group-utility{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.dashboard-logout-form{margin:0}
.dashboard-nav-link-button{width:100%;background:none;border:none;text-align:left;cursor:pointer;font:inherit}


/* v78 operational dashboard rebuild */
body.dashboard-page{background:#eef3f8}
.ops-app{min-height:100vh;background:#eef3f8}
.ops-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #d8e1ef;background:#fff;position:sticky;top:0;z-index:40}
.ops-menu-btn,.ops-close-btn{width:46px;height:46px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--navy);display:grid;place-items:center;cursor:pointer}
.ops-menu-btn span{display:block;width:20px;height:2px;background:var(--navy);border-radius:999px;margin:3px 0}
.ops-close-btn{font-size:1.8rem;line-height:1}
.ops-topbar-copy{min-width:0;flex:1}
.ops-topbar-copy strong{display:block;font-size:1.1rem;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ops-topbar-copy small{display:block;color:var(--muted);font-size:.82rem}
.ops-topbar-avatar,.ops-profile-avatar,.ops-brand-badge{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#11284b,#1d457a);color:var(--gold);font-weight:900;font-size:1.35rem}
.ops-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:0;align-items:start}
.ops-drawer{position:sticky;top:83px;height:calc(100vh - 83px);z-index:35}
.ops-drawer-panel{height:100%;background:#f7f9fd;border-right:1px solid var(--line);padding:18px;overflow:auto}
.ops-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.ops-drawer-title{display:flex;gap:12px;align-items:flex-start}
.ops-drawer-title strong{display:block;font-size:1.15rem;color:var(--navy)}
.ops-drawer-title small{display:block;color:var(--muted);line-height:1.4;margin-top:4px}
.ops-profile-card{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:16px}
.ops-profile-card strong{display:block;color:var(--navy)}
.ops-profile-card span{display:block;color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}
.ops-business-switcher{display:grid;gap:10px;margin-bottom:18px}
.ops-business-switcher strong{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted)}
.ops-business-chip{width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:16px;padding:12px 14px;color:var(--navy);cursor:pointer}
.ops-business-chip.is-active{background:#102749;color:#fff;border-color:#102749}
.ops-business-chip span,.ops-business-chip small{display:block}
.ops-business-chip small{color:inherit;opacity:.72;margin-top:4px}
.ops-nav{display:grid;gap:18px}
.ops-nav-group{display:grid;gap:8px}
.ops-nav-group h6{margin:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.16em;color:var(--muted)}
.ops-nav-link{display:flex;align-items:center;min-height:46px;padding:12px 14px;border-radius:16px;border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:800}
.ops-nav-link:hover{background:#f8fbff}
.ops-nav-link.active{background:var(--gold);border-color:#e5c04d;color:#342802}
.ops-nav-link-button{width:100%;text-align:left;cursor:pointer;font:inherit}
.ops-drawer-backdrop{display:none}
.ops-main{padding:22px;min-width:0}
.ops-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.ops-page-head h1{margin:0;font-size:clamp(2rem,3vw,3rem);letter-spacing:-.06em;line-height:.95;color:var(--navy)}
.ops-page-head p{margin:8px 0 0;color:var(--muted);max-width:760px}
.ops-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.ops-stat-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow-sm);min-width:0}
.ops-stat-card span{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.16em;color:var(--muted);margin-bottom:12px}
.ops-stat-card strong{display:block;font-size:clamp(1.25rem,2vw,2rem);line-height:1.1;color:var(--navy);overflow-wrap:anywhere}
.ops-stat-card small{display:block;color:var(--muted);margin-top:8px}
.ops-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.ops-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:var(--shadow-sm);min-width:0}
.ops-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.ops-card-head h2{margin:0;font-size:1.7rem;letter-spacing:-.04em;color:var(--navy)}
.ops-data-list,.ops-list,.ops-action-stack{display:grid;gap:12px}
.ops-data-row,.ops-list-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid var(--line)}
.ops-data-row:first-child,.ops-list-row:first-child{padding-top:0;border-top:0}
.ops-data-row strong,.ops-list-row strong{display:block;color:var(--navy)}
.ops-data-row span,.ops-list-row span,.ops-list-row small{color:var(--muted);overflow-wrap:anywhere}
.ops-list-row small{display:block;margin-top:4px}
.ops-empty-state{padding:18px;border:1px dashed var(--line);border-radius:18px;background:#f8fbff;color:var(--muted)}
.ops-chip-grid{display:flex;flex-wrap:wrap;gap:10px}
.ops-chip-link{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-weight:800}
@media (max-width: 1100px){
  .ops-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ops-grid-two{grid-template-columns:1fr}
}
@media (max-width: 900px){
  .ops-shell{grid-template-columns:1fr}
  .ops-drawer{position:fixed;inset:0 auto 0 0;width:min(88vw,360px);height:100vh;transform:translateX(-105%);transition:transform .22s ease;z-index:60;top:0}
  body.ops-drawer-open .ops-drawer{transform:translateX(0)}
  .ops-drawer-panel{height:100vh;padding-top:22px}
  .ops-drawer-backdrop{display:block;position:fixed;inset:0;background:rgba(9,20,38,.45);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:55}
  body.ops-drawer-open .ops-drawer-backdrop{opacity:1;pointer-events:auto}
  .ops-main{padding:18px 16px 30px}
}
@media (max-width: 640px){
  .ops-topbar{padding:14px 16px}
  .ops-main{padding:16px 14px 28px}
  .ops-page-head{display:grid;gap:12px}
  .ops-page-head .btn{width:100%;justify-content:center}
  .ops-stat-grid{grid-template-columns:1fr}
  .ops-card{padding:18px}
  .ops-card-head{display:grid;gap:10px}
}



/* v80 dashboard drawer polish */
.ops-brand-badge,
.ops-profile-avatar,
.ops-topbar-avatar,
.ops-menu-btn,
.ops-close-btn{
  flex:0 0 auto;
  flex-shrink:0;
}
.ops-drawer-title,
.ops-profile-card{
  min-width:0;
}
.ops-drawer-title > div,
.ops-profile-card > div{
  min-width:0;
}
.ops-drawer-title strong,
.ops-profile-card strong,
.ops-profile-card span{
  overflow-wrap:anywhere;
}
@media (max-width: 900px){
  .ops-drawer{
    width:min(86vw,380px);
    height:100dvh;
    max-height:100dvh;
  }
  .ops-drawer-panel{
    height:100dvh;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:20px 16px calc(140px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 640px){
  .ops-drawer-title{
    align-items:center;
    gap:10px;
  }
  .ops-drawer-title small{
    display:none;
  }
  .ops-brand-badge{
    width:52px;
    height:52px;
    border-radius:16px;
    font-size:1.7rem;
  }
  .ops-profile-avatar{
    width:56px;
    height:56px;
    border-radius:18px;
    font-size:1.8rem;
  }
  .ops-profile-card{
    align-items:center;
  }
  .ops-drawer-head{
    margin-bottom:14px;
  }
  .ops-nav{
    padding-bottom:20px;
  }
}


/* v81 dashboard header and account popover refinement */
.ops-topbar-copy small{display:none !important;}
.ops-topbar-copy{display:flex;align-items:center;justify-content:center;text-align:center;}
.ops-topbar-copy strong{font-size:1.05rem}
.ops-user-menu{position:relative;display:flex;align-items:center;justify-content:flex-end}
.ops-topbar-avatar-button{border:0;cursor:pointer;box-shadow:0 10px 24px rgba(15,39,71,.16)}
.ops-user-popover{position:absolute;top:calc(100% + 10px);right:0;width:min(320px,calc(100vw - 32px));background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);padding:16px;display:none;z-index:60}
body.ops-user-open .ops-user-popover{display:block}
.ops-user-popover-head{display:flex;gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line)}
.ops-user-popover-head strong{display:block;color:var(--navy);font-size:1rem;line-height:1.15}
.ops-user-popover-head span{display:block;color:var(--muted);font-size:.9rem;overflow-wrap:anywhere}
.ops-user-popover-list{display:grid;gap:10px;padding:12px 0}
.ops-user-popover-row{display:grid;gap:4px}
.ops-user-popover-row label{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:800}
.ops-user-popover-row span{color:var(--navy);font-weight:600;overflow-wrap:anywhere}
.ops-user-popover-actions{padding-top:6px;border-top:1px solid var(--line)}
.ops-user-popover-actions .ops-nav-link{justify-content:center}
.ops-drawer-title{min-width:0;flex:1}
.ops-drawer-title strong{font-size:1.05rem;line-height:1.1}
.ops-profile-card{display:none !important;}

@media (max-width: 900px){
  .ops-topbar{padding:14px 16px}
  .ops-topbar-copy{justify-content:flex-start;text-align:left;min-width:0}
  .ops-topbar-copy strong{font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ops-topbar-avatar,.ops-profile-avatar,.ops-brand-badge{width:52px;height:52px;border-radius:18px;font-size:1.6rem;flex:0 0 52px}
  .ops-drawer{position:fixed;inset:0 auto 0 0;top:0;height:100vh;width:min(86vw,360px);transform:translateX(-102%);transition:transform .22s ease;z-index:80}
  body.ops-drawer-open .ops-drawer{transform:translateX(0)}
  .ops-drawer-panel{height:100vh;padding:18px 16px 120px;overflow:auto;border-right:1px solid var(--line)}
  .ops-drawer-head{align-items:center;margin-bottom:18px}
  .ops-drawer-title strong{font-size:1.95rem;letter-spacing:-.04em}
  .ops-drawer-backdrop{display:block;position:fixed;inset:0;background:rgba(9,20,39,.34);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:70}
  body.ops-drawer-open .ops-drawer-backdrop{opacity:1;pointer-events:auto}
  .ops-main{padding:20px 16px 36px}
}



/* public mobile drawer + public heading inset */
.mobile-drawer-backdrop{display:none}
.mobile-drawer{display:none}
.mobile-drawer-panel{height:100%;background:#f7f9fd;border-right:1px solid var(--line);padding:18px;overflow:auto;box-shadow:18px 0 44px rgba(9,20,38,.18)}
.mobile-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.mobile-drawer-title{display:flex;gap:12px;align-items:flex-start}
.mobile-drawer-title strong{display:block;font-size:1.12rem;color:var(--navy);line-height:1.05}
.mobile-drawer-title small{display:block;color:var(--muted);line-height:1.4;margin-top:4px}
.mobile-close-btn{width:46px;height:46px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--navy);display:grid;place-items:center;cursor:pointer;font-size:1.8rem;line-height:1;flex:0 0 auto}
.mobile-links{display:grid;gap:14px}
.mobile-links a,.mobile-links button{display:flex;align-items:center;min-height:46px;padding:12px 14px;border-radius:16px;border:1px solid var(--line);background:#fff;color:var(--navy);font-weight:800;width:100%;text-align:left}
.mobile-links a:hover,.mobile-links button:hover{background:#f8fbff}
.mobile-links form{margin:0}

@media (max-width: 1100px){
  body.public-page{overflow-x:hidden}
  html.menu-open body.public-page,body.public-page.menu-open{overflow:hidden;touch-action:none}
  .mobile-drawer-backdrop{display:block;position:fixed;inset:0;background:rgba(9,20,38,.45);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility .28s ease;z-index:55;-webkit-tap-highlight-color:transparent}
  .mobile-drawer{display:block;position:fixed;inset:0 auto 0 0;width:min(88vw,360px);max-width:360px;height:100vh;transform:translate3d(-108%,0,0);opacity:.98;visibility:hidden;transition:transform .28s cubic-bezier(.22,.78,.2,1),visibility .28s ease;z-index:60;pointer-events:none;will-change:transform}
  body.public-page.menu-open .mobile-drawer{transform:translate3d(0,0,0);visibility:visible;pointer-events:auto}
  body.public-page.menu-open .mobile-drawer-backdrop{opacity:1;visibility:visible;pointer-events:auto}
  body.public-page .market-section-head > div:first-child,
  body.public-page .section-head-inline > div:first-child,
  body.public-page .page-head > div:first-child,
  body.public-page .results-toolbar > div:first-child{padding-inline:10px}
}

@media (max-width: 640px){
  .mobile-drawer{width:min(92vw,360px)}
  .mobile-drawer-panel{padding:16px}
  body.public-page .market-section-head > div:first-child,
  body.public-page .section-head-inline > div:first-child,
  body.public-page .page-head > div:first-child,
  body.public-page .results-toolbar > div:first-child{padding-inline:12px}
}


/* mobile width reduction only */
@media (max-width: 980px){
  .container,.topbar-shell,.site-footer-shell,.shell,.market-shell,.profile-shell,.auth-shell,.legal-shell{
    width:min(98.5%,var(--shell)) !important;
    max-width:100% !important;
  }
}


/* mobile public width tightening only */
@media (max-width: 980px){
  body.public-page .container,
  body.public-page .topbar-shell,
  body.public-page .site-footer-shell,
  body.public-page .shell,
  body.public-page .market-shell,
  body.public-page .profile-shell,
  body.public-page .auth-shell,
  body.public-page .legal-shell{
    width:100% !important;
    max-width:none !important;
    padding-left:8px !important;
    padding-right:8px !important;
    box-sizing:border-box !important;
  }
}

@media (max-width: 760px){
  body.public-page .container,
  body.public-page .topbar-shell,
  body.public-page .site-footer-shell,
  body.public-page .shell,
  body.public-page .market-shell,
  body.public-page .profile-shell,
  body.public-page .auth-shell,
  body.public-page .legal-shell{
    padding-left:6px !important;
    padding-right:6px !important;
  }
}



/* /for-business width alignment fix */
body.public-page.page-for-business .owner-page-container{
  width:min(90%,var(--shell)) !important;
  max-width:var(--shell) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
}





/* v82 admin settings redesign */
.settings-page-head{margin-bottom:22px}
.settings-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#e9f0fb;border:1px solid #d9e3f2;color:#23406a;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}
.settings-index-head .page-head p,.settings-page-head p{max-width:760px}
.settings-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.settings-link-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start;padding:22px;background:#fff;border-radius:24px;border:1px solid var(--line);box-shadow:0 14px 34px rgba(16,38,69,.06)}
.settings-link-card strong{display:block;font-size:1.28rem;line-height:1.08;color:var(--navy);margin-bottom:8px}
.settings-link-card span:last-child{display:block;color:var(--muted);line-height:1.55}
.settings-link-icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(145deg,#102749,#1e4a86);display:grid;place-items:center;color:#fcc931;font-size:1.4rem;font-weight:900;box-shadow:0 14px 28px rgba(16,38,69,.16)}
.settings-form-shell{display:grid;gap:18px}
.settings-card{padding:24px 24px 22px;border-radius:28px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 34px rgba(16,38,69,.06)}
.settings-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}
.settings-card-head.compact{margin-bottom:12px}
.settings-card-head h2{margin:0;font-size:1.45rem;line-height:1.02;letter-spacing:-.04em;color:var(--navy)}
.settings-card-head p{margin:8px 0 0;color:var(--muted);max-width:760px;line-height:1.55}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.settings-field{display:grid;gap:8px;align-content:start;min-width:0}
.settings-field.full{grid-column:1 / -1}
.settings-label{display:block;font-size:.92rem;font-weight:800;color:var(--navy)}
.settings-hint{display:block;color:var(--muted);font-size:.86rem;line-height:1.45}
.settings-field input,.settings-field select,.settings-field textarea,.settings-inline-form input{width:100%;min-width:0;border:1px solid #d6dfec;border-radius:16px;background:#f8fbff;color:var(--navy);padding:14px 16px;font:inherit;outline:none;transition:border-color .18s ease, box-shadow .18s ease, background .18s ease}
.settings-field textarea{min-height:160px;resize:vertical}
.settings-field input:focus,.settings-field select:focus,.settings-field textarea:focus,.settings-inline-form input:focus{border-color:#2c5fa7;box-shadow:0 0 0 4px rgba(44,95,167,.12);background:#fff}
.settings-toggle-list{display:grid;gap:12px}
.settings-toggle-list.with-divider{margin-top:22px;padding-top:20px;border-top:1px solid #e3eaf4}
.settings-toggle-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #e0e8f3;border-radius:20px;background:#f8fbff}
.settings-toggle-copy{display:grid;gap:6px;min-width:0}
.settings-toggle-copy strong{font-size:1rem;line-height:1.2;color:var(--navy)}
.settings-toggle-copy small{color:var(--muted);line-height:1.45}
.settings-switch{position:relative;display:inline-flex;align-items:center;flex:0 0 auto}
.settings-switch input{position:absolute;opacity:0;pointer-events:none}
.settings-switch-ui{width:56px;height:32px;border-radius:999px;background:#dbe4f0;position:relative;transition:.2s ease;box-shadow:inset 0 0 0 1px rgba(16,38,69,.08)}
.settings-switch-ui::after{content:"";position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 4px 10px rgba(16,38,69,.16);transition:.2s ease}
.settings-switch input:checked + .settings-switch-ui{background:#163a69}
.settings-switch input:checked + .settings-switch-ui::after{left:28px}
.settings-error{display:block;color:#b42318;font-size:.84rem;font-weight:700}
.settings-error.inline{margin-top:-4px}
.settings-inline-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border-radius:22px;background:#f8fbff;border:1px solid #e0e8f3}
.settings-inline-copy{display:grid;gap:6px}
.settings-inline-copy strong{font-size:1rem;color:var(--navy)}
.settings-inline-copy span{color:var(--muted);line-height:1.45}
.settings-inline-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.settings-inline-form input{min-width:280px}
.settings-template-note{padding-top:20px}
.settings-tag-list{display:flex;flex-wrap:wrap;gap:10px}
.settings-tag-list span{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:#f3f7fd;border:1px solid #d9e3f2;color:#23406a;font-weight:700}
.settings-savebar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-radius:24px;background:#102749;color:#fff;box-shadow:0 18px 40px rgba(16,38,69,.18);margin-top:2px}
.settings-savebar strong{display:block;font-size:1.02rem}
.settings-savebar span{display:block;color:rgba(255,255,255,.78);margin-top:6px;line-height:1.45}
.settings-savebar .button.gold{min-width:220px;justify-content:center;border:none}
.settings-back-btn{align-self:flex-start}
@media (max-width:1100px){
  .settings-card-grid,.settings-grid{grid-template-columns:1fr}
  .settings-link-card{grid-template-columns:56px minmax(0,1fr)}
}
@media (max-width:760px){
  .settings-card{padding:20px 18px}
  .settings-toggle-row,.settings-inline-panel,.settings-savebar{display:grid}
  .settings-inline-form{display:grid;grid-template-columns:1fr;width:100%}
  .settings-inline-form input{min-width:0}
  .settings-savebar .button.gold,.settings-back-btn{width:100%;justify-content:center}
  .settings-page-head{display:grid;gap:12px}
}




/* v83 admin settings fixes */
.settings-link-icon{
  color:#fcc931 !important;
  text-shadow:0 1px 0 rgba(0,0,0,.08);
}
.settings-savebar{
  padding:20px 22px !important;
  border-radius:28px !important;
  background:linear-gradient(135deg,#0f2748 0%, #173a68 100%) !important;
  border:1px solid rgba(252,201,49,.18) !important;
}
.settings-savebar .button.gold{
  min-width:240px !important;
  min-height:56px !important;
  padding:14px 24px !important;
  border-radius:18px !important;
  background:linear-gradient(180deg,#ffd85a 0%, #fcc931 100%) !important;
  color:#102749 !important;
  font-weight:900 !important;
  letter-spacing:.01em;
  box-shadow:0 14px 28px rgba(252,201,49,.28), inset 0 1px 0 rgba(255,255,255,.45) !important;
  border:1px solid rgba(16,39,73,.08) !important;
}
.settings-savebar .button.gold:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(252,201,49,.34), inset 0 1px 0 rgba(255,255,255,.5) !important;
}
.settings-savebar .button.gold:active{
  transform:translateY(0);
}
.settings-savebar strong{
  font-size:1.06rem !important;
}
.settings-savebar span{
  color:rgba(255,255,255,.82) !important;
}

\n

/* admin dashboard branding refresh */
.admin-dash-shell{display:grid;gap:22px}
.admin-dash-hero{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.8fr);
  gap:18px;
  padding:28px;
  border-radius:30px;
  border:1px solid rgba(15,39,71,.08);
  background:
    radial-gradient(circle at top right, rgba(252,201,49,.22), transparent 28%),
    linear-gradient(135deg,#0f2747 0%,#173a68 56%,#214f8f 100%);
  box-shadow:0 20px 44px rgba(15,39,71,.16);
  color:#fff;
}
.admin-dash-kicker{
  display:inline-flex;
  margin-bottom:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
}
.admin-dash-hero h1{
  margin:0;
  font-size:clamp(2.1rem,3vw,3.2rem);
  line-height:.96;
  letter-spacing:-.06em;
  color:#fff;
}
.admin-dash-hero p{
  margin:14px 0 0;
  max-width:720px;
  color:rgba(255,255,255,.82);
  font-size:1.05rem;
}
.admin-dash-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.admin-dash-hero-actions .btn-outline{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  color:#fff;
}
.admin-dash-hero-panel{
  display:grid;
  gap:18px;
  align-self:stretch;
  padding:22px;
  border-radius:26px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(6px);
}
.hero-panel-top{display:flex;justify-content:space-between;gap:12px;align-items:center}
.hero-panel-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.hero-panel-metrics > div{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}
.hero-panel-metrics strong{
  display:block;
  font-size:1.8rem;
  line-height:1;
  letter-spacing:-.05em;
  color:#fff;
}
.hero-panel-metrics span{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.75);
  font-weight:700;
}
.admin-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.admin-kpi-card{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:20px;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-sm);
}
.admin-kpi-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#0f2747,#173a68);
  color:#fcc931;
  font-weight:900;
  font-size:1.15rem;
  box-shadow:0 12px 24px rgba(15,39,71,.16);
}
.admin-kpi-copy span{
  display:block;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
  font-weight:800;
}
.admin-kpi-copy strong{
  display:block;
  margin-top:8px;
  font-size:2.2rem;
  line-height:1;
  letter-spacing:-.06em;
  color:var(--navy);
}
.admin-kpi-copy small{
  display:block;
  margin-top:10px;
  color:var(--muted);
}
.admin-dashboard-grid{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.8fr);
  gap:18px;
}
.admin-dashboard-grid.lower{grid-template-columns:1fr}
.admin-growth-card,.admin-plan-card{padding:24px}
.admin-growth-legend{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:6px;
}
.admin-growth-legend span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:var(--surface-2);
  border:1px solid var(--line);
  color:var(--navy);
  font-size:.9rem;
  font-weight:800;
}
.admin-growth-legend i{
  width:10px;
  height:10px;
  border-radius:999px;
  display:inline-block;
}
.admin-chart-shell{
  margin-top:18px;
  padding:18px;
  border-radius:24px;
  background:linear-gradient(180deg,#fbfcff 0%,#f3f7fd 100%);
  border:1px solid var(--line);
}
.admin-growth-chart{
  width:100%;
  height:auto;
  display:block;
}
.admin-insights-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.admin-insight-card{
  padding:18px;
  border-radius:22px;
  background:#fff;
  border:1px solid var(--line);
}
.admin-insight-card .eyebrow{
  display:block;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
  font-weight:800;
}
.admin-insight-card strong{
  display:block;
  margin-top:10px;
  font-size:1.55rem;
  line-height:1;
  color:var(--navy);
}
.admin-insight-card p{
  margin:10px 0 0;
  color:var(--muted);
}
.admin-plan-list{display:grid;gap:12px}
.admin-plan-item{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  padding:18px 0;
  border-top:1px solid var(--line);
}
.admin-plan-item:first-child{border-top:0;padding-top:0}
.admin-plan-item strong{display:block;font-size:1.04rem}
.admin-plan-item span{display:block;color:var(--muted);margin-top:6px}
.admin-module-card{
  min-height:150px;
  transition:.2s ease;
}
.admin-module-card:hover{
  transform:translateY(-2px);
  border-color:#c6d5eb;
  box-shadow:0 14px 28px rgba(15,39,71,.08);
}
.admin-dual-tables{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.admin-table-card{
  padding:18px;
  border-radius:22px;
  background:#fff;
}
.admin-table-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
@media (max-width: 1200px){
  .admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-dashboard-grid{grid-template-columns:1fr}
}
@media (max-width: 768px){
  .admin-dash-hero{grid-template-columns:1fr;padding:22px}
  .hero-panel-metrics{grid-template-columns:1fr 1fr}
  .admin-kpi-grid,.admin-insights-grid,.admin-dual-tables{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .admin-kpi-grid{grid-template-columns:1fr}
  .hero-panel-metrics{grid-template-columns:1fr}
}
\n


/* businesses module branding */
.biz-admin-shell{display:grid;gap:20px}
.biz-admin-hero{
  display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;
  padding:28px;border-radius:30px;
  background:linear-gradient(135deg,#0f2747 0%,#173a68 60%,#214f8f 100%);
  border:1px solid rgba(15,39,71,.08);
  box-shadow:0 20px 44px rgba(15,39,71,.15);
  color:#fff;
}
.biz-admin-hero h1{margin:6px 0 0;font-size:clamp(2rem,3vw,3rem);line-height:.98;letter-spacing:-.06em;color:#fff}
.biz-admin-hero p{margin:12px 0 0;max-width:820px;color:rgba(255,255,255,.82);font-size:1.02rem}
.biz-admin-hero .eyebrow{display:inline-flex;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#fff}
.biz-admin-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.biz-admin-hero-actions .btn-outline{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.18)}
.biz-filter-card,.biz-section-card{padding:22px}
.biz-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.biz-filter-grid .full{grid-column:1/-1}
.biz-filter-actions{display:flex;gap:12px;align-items:flex-end}
.biz-table-wrap{padding:22px}
.biz-table-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}
.biz-table{display:grid;gap:10px}
.biz-row{
  display:grid;grid-template-columns:1.5fr 1fr .8fr .8fr 1fr auto;gap:14px;align-items:center;
  padding:18px;border-radius:24px;background:#fff;border:1px solid var(--line)
}
.biz-row-head{
  background:transparent;border:0;padding:0 6px 8px;
  color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800
}
.biz-main{display:flex;gap:14px;align-items:flex-start}
.biz-logo{
  width:56px;height:56px;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(180deg,#0f2747,#173a68);color:#fcc931;font-weight:900;font-size:1.1rem;flex-shrink:0
}
.biz-row strong{display:block;color:var(--navy)}
.biz-row span,.muted-line{display:block;color:var(--muted);margin-top:4px}
.biz-inline-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.biz-row-actions{display:flex;justify-content:flex-end}
.status-pill{
  display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef3f9;border:1px solid #d7e0ed;font-weight:800;color:#173a68
}
.status-pill.is-suspended{background:#fff5f4;border-color:#f3d7d3;color:#93403a}
.status-pill.is-active{background:#eff8f2;border-color:#d3e9da;color:#2b6b4d}
.status-pill.is-inactive,.status-pill.is-hidden,.status-pill.is-draft{background:#f7f9fc;border-color:#dfe7f3;color:#5b6980}
.biz-pagination{margin-top:18px}
.biz-form{display:grid;gap:20px}
.biz-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.biz-form-grid .full{grid-column:1/-1}
.section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}
.section-head h3{margin:4px 0 0}
.settings-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.settings-grid.two .full{grid-column:1/-1}
.settings-grid label,.hours-grid label,.repeat-card label,.warning-card label{display:grid;gap:8px}
.toggle-grid{display:grid;gap:12px;margin-top:18px}
.toggle-row{
  display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line)
}
.toggle-row.compact{padding:10px 12px;background:#fff}
.toggle-row input[type="checkbox"]{margin-top:4px}
.toggle-row strong{display:block;color:var(--navy)}
.toggle-row span{display:block;color:var(--muted);margin-top:4px}
.hours-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.repeat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.repeat-card{padding:16px;border-radius:20px;background:#fff;border:1px solid var(--line);display:grid;gap:12px}
.repeat-card.faq{grid-template-columns:1fr}
.biz-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.quick-card{display:grid;gap:12px;padding:18px;border-radius:22px;background:#fff;border:1px solid var(--line)}
.quick-card strong{color:var(--navy)}
.quick-card span{color:var(--muted)}
.biz-warning-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:16px;margin-top:18px}
.warning-card,.warning-log{padding:18px;border-radius:22px;background:#fff;border:1px solid var(--line);display:grid;gap:12px}
.warning-log-list{display:grid;gap:12px;max-height:420px;overflow:auto}
.warning-log-item{padding:14px;border-radius:18px;background:var(--surface-2);border:1px solid var(--line)}
.warning-log-item p{margin:8px 0 0;color:var(--muted)}
.warning-log-item small{display:block;margin-top:8px;color:var(--muted)}
@media (max-width: 1280px){
  .biz-row{grid-template-columns:1.3fr 1fr .8fr .8fr 1fr auto}
  .biz-filter-grid,.biz-form-grid,.biz-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 900px){
  .biz-row{grid-template-columns:1fr;gap:10px}
  .biz-row-head{display:none}
  .biz-filter-grid,.biz-form-grid,.hours-grid,.repeat-grid,.biz-warning-grid,.biz-quick-grid,.settings-grid.two{grid-template-columns:1fr}
  .biz-row-actions{justify-content:flex-start}
}



/* businesses module polish and media */
.biz-filter-card,.biz-table-wrap,.biz-section-card{
  background:#fff !important;
  border:1px solid rgba(15,39,71,.08) !important;
  box-shadow:0 16px 34px rgba(15,39,71,.06) !important;
}
.biz-filter-grid label > span,
.settings-grid label > span,
.hours-grid label > span,
.repeat-card label > span,
.warning-card label > span{
  font-size:.84rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  color:#5d6a80;
}
.biz-filter-grid input,.biz-filter-grid select,
.settings-grid input,.settings-grid select,.settings-grid textarea,
.hours-grid input,.repeat-card input,.repeat-card textarea,
.warning-card input,.warning-card select,.warning-card textarea{
  min-height:52px;
  border-radius:16px;
  border:1px solid #d8e2ef;
  background:#f9fbfe;
  padding:14px 16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
.settings-grid textarea,.repeat-card textarea,.warning-card textarea{min-height:120px}
.section-head{
  padding-bottom:14px;
  border-bottom:1px solid #e7edf5;
  margin-bottom:18px;
}
.section-head .eyebrow{
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:#f2f6fc;
  border:1px solid #dbe5f2;
  color:#173a68;
}
.media-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:16px;
}
.media-card{
  display:grid;
  gap:12px;
  padding:16px;
  border-radius:22px;
  background:linear-gradient(180deg,#fbfdff 0%,#f5f9fe 100%);
  border:1px solid #dde6f2;
}
.media-preview{
  height:180px;
  border-radius:20px;
  overflow:hidden;
  background:#eef4fb;
  border:1px dashed #c7d7ea;
  display:grid;
  place-items:center;
}
.media-preview.cover{height:220px}
.media-preview img,.gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.media-placeholder{
  color:#173a68;
  font-weight:900;
  letter-spacing:-.04em;
  font-size:1.2rem;
}
.media-placeholder.small{font-size:1rem}
.gallery-upload-bar{margin-bottom:16px}
.gallery-card{padding:14px}
.gallery-thumb{
  height:150px;
  border-radius:18px;
  overflow:hidden;
  background:#eef4fb;
  border:1px dashed #c7d7ea;
  display:grid;
  place-items:center;
}
.quick-card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.quick-card .btn-sm{
  margin-top:auto;
}
.biz-row{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
}
.biz-row:hover{
  border-color:#cbd8ea;
  box-shadow:0 10px 24px rgba(15,39,71,.05);
}
.biz-table-head h3,.section-head h3{
  font-size:1.45rem;
  letter-spacing:-.04em;
}
@media (max-width: 900px){
  .media-grid{grid-template-columns:1fr}
}



/* businesses module ui refinement from user zip */
.media-grid,
.repeat-grid{
  align-items:start !important;
}
.media-card,
.repeat-card,
.warning-card,
.warning-log{
  overflow:hidden !important;
}
.media-card.cover{
  min-width:0 !important;
}
.media-preview,
.media-preview.cover,
.gallery-thumb{
  position:relative;
  width:100%;
}
.gallery-card{
  min-width:0;
}
.gallery-card .gallery-thumb{
  margin-bottom:4px;
}
.repeat-card.gallery-card{
  grid-template-rows:auto auto auto;
}
.repeat-card.gallery-card input{
  width:100%;
}

.toggle-row.switch-row{
  display:grid !important;
  grid-template-columns:54px 1fr !important;
  align-items:center !important;
  gap:14px !important;
  padding:16px 18px !important;
}
.toggle-row.switch-row.compact{
  grid-template-columns:48px 1fr !important;
  padding:10px 12px !important;
}
.switch-input{
  position:absolute !important;
  opacity:0 !important;
  pointer-events:none !important;
}
.switch-ui{
  width:54px;
  height:32px;
  border-radius:999px;
  background:#dbe5f1;
  border:1px solid #c6d3e5;
  position:relative;
  box-shadow:inset 0 1px 2px rgba(15,39,71,.08);
  transition:.18s ease;
}
.toggle-row.compact .switch-ui{
  width:48px;
  height:28px;
}
.switch-ui::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 3px 8px rgba(15,39,71,.18);
  transition:.18s ease;
}
.toggle-row.compact .switch-ui::after{
  width:20px;
  height:20px;
}
.switch-input:checked + .switch-ui{
  background:linear-gradient(180deg,#ffd85a 0%, #fcc931 100%);
  border-color:#efc12a;
}
.switch-input:checked + .switch-ui::after{
  left:25px;
  background:#173a68;
}
.toggle-row.compact .switch-input:checked + .switch-ui::after{
  left:23px;
}

.biz-admin-hero{
  background:
    radial-gradient(circle at top right, rgba(252,201,49,.22), transparent 30%),
    linear-gradient(135deg,#0f2747 0%,#173a68 58%,#1f4e8c 100%) !important;
}
.biz-admin-hero-actions .btn,
.biz-row-actions .btn,
.quick-card .btn,
.biz-filter-actions .btn{
  border-radius:16px !important;
}
.btn.btn-primary{
  background:linear-gradient(180deg,#ffd85a 0%, #fcc931 100%) !important;
  color:#102749 !important;
  border:1px solid rgba(16,39,73,.08) !important;
  box-shadow:0 12px 24px rgba(252,201,49,.22), inset 0 1px 0 rgba(255,255,255,.38) !important;
}
.btn.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 28px rgba(252,201,49,.28), inset 0 1px 0 rgba(255,255,255,.44) !important;
}
.biz-table-head .badge.gold,
.biz-inline-pills .badge.gold,
.warning-log-item .badge.gold{
  background:rgba(252,201,49,.14) !important;
  color:#8c6800 !important;
  border-color:rgba(252,201,49,.38) !important;
}
.biz-logo{
  box-shadow:0 12px 22px rgba(15,39,71,.14) !important;
}
.section-head h3,
.biz-table-head h3{
  color:#173a68 !important;
}

.biz-pagination-refined nav{
  display:flex;
  justify-content:center;
}
.biz-pagination-refined nav > div:first-child{
  display:none !important;
}
.biz-pagination-refined nav > div:last-child{
  width:100%;
}
.biz-pagination-refined .relative.z-0.inline-flex{
  display:flex !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  box-shadow:none !important;
}
.biz-pagination-refined span[aria-current="page"] span,
.biz-pagination-refined a,
.biz-pagination-refined span[aria-disabled="true"] span{
  min-width:44px;
  height:44px;
  border-radius:14px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 14px !important;
  border:1px solid #d8e2ef !important;
  background:#fff !important;
  color:#173a68 !important;
  font-weight:800 !important;
}
.biz-pagination-refined span[aria-current="page"] span{
  background:linear-gradient(180deg,#ffd85a 0%, #fcc931 100%) !important;
  border-color:#efc12a !important;
  color:#102749 !important;
}
.biz-pagination-refined a:hover{
  background:#f7fbff !important;
  border-color:#bfd0e6 !important;
}
.biz-pagination-refined svg{
  width:16px !important;
  height:16px !important;
}
.biz-pagination-refined span[aria-disabled="true"] span{
  opacity:.55 !important;
}
.biz-pagination-refined .hidden.sm\:flex-1{
  display:none !important;
}
.biz-pagination-refined p{
  display:none !important;
}



/* rebuilt latest business tabs + pagination */
.biz-tab-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  position:sticky;
  top:14px;
  z-index:10;
  padding:14px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border:1px solid rgba(23,58,104,.10);
  box-shadow:0 14px 30px rgba(15,39,71,.08);
}
.biz-tab-btn{
  appearance:none;
  border:1px solid rgba(23,58,104,.14);
  background:#fff;
  color:#173a68;
  font-weight:800;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(15,39,71,.05);
}
.biz-tab-btn:hover{
  background:#f6faff;
  border-color:#bfd0e6;
}
.biz-tab-btn.is-active{
  background:linear-gradient(180deg,#ffd85a 0%, #fcc931 100%);
  border-color:#efc12a;
  color:#102749;
  box-shadow:0 10px 22px rgba(252,201,49,.20);
}
.biz-tab-panels [data-biz-panel][hidden]{
  display:none !important;
}
.biz-tab-panels [data-biz-panel].is-active{
  display:block !important;
}
.biz-manual-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.page-btn,
.page-dots{
  min-width:42px;
  height:42px;
  padding:0 12px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:800;
}
.page-btn{
  background:#fff;
  border:1px solid #d8e2ef;
  color:#173a68;
}
.page-btn:hover{
  background:#f7fbff;
  border-color:#bfd0e6;
}
.page-btn.is-current{
  background:linear-gradient(180deg,#ffd85a 0%, #fcc931 100%);
  border:1px solid #efc12a;
  color:#102749;
}
.page-btn.is-disabled{
  opacity:.45;
  background:#fff;
  border:1px solid #d8e2ef;
  color:#173a68;
}
.page-dots{
  color:#7b8aa2;
}
@media (max-width: 900px){
  .biz-tab-nav{
    gap:8px;
    padding:12px;
  }
  .biz-tab-btn{
    min-height:40px;
    padding:9px 14px;
    font-size:.92rem;
  }
}


/* owner dashboard refinement */
.owner-app{background:linear-gradient(180deg,#eef4fb 0%,#f8fbff 35%,#fffef5 100%)}
.owner-app .ops-topbar{background:linear-gradient(90deg,#0f2c57 0%,#16457c 72%,#1c4d87 100%);border-bottom:1px solid rgba(255,255,255,.12)}
.owner-app .ops-topbar-copy strong,.owner-app .ops-topbar-copy small{color:#fff}
.owner-app .ops-topbar-copy small{display:block !important;opacity:.78}
.owner-app .ops-menu-btn,.owner-app .ops-topbar-avatar-button{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.16);color:#fff}
.owner-app .ops-menu-btn span{background:#fff}
.owner-app .ops-drawer-panel{background:linear-gradient(180deg,#0f2748 0%,#133660 100%);border-right:0;padding:20px}
.owner-app .ops-drawer-title strong,.owner-app .ops-drawer-title small,.owner-app .ops-nav-group h6{color:#dce8ff}
.owner-app .ops-close-btn{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:#fff}
.owner-app .ops-brand-badge,.owner-app .ops-profile-avatar,.owner-app .ops-topbar-avatar{background:linear-gradient(145deg,#ffd34f,#f1b900);color:#12325b;box-shadow:0 12px 28px rgba(11,25,52,.24)}
.owner-app .ops-active-business-card{margin-bottom:18px;padding:18px;border-radius:26px;background:linear-gradient(180deg,rgba(255,211,79,.18) 0%,rgba(255,255,255,.08) 100%);border:1px solid rgba(255,211,79,.28);box-shadow:0 18px 38px rgba(4,15,34,.22)}
.owner-app .ops-active-business-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.owner-app .ops-active-business-eyebrow{font-size:.76rem;letter-spacing:.16em;text-transform:uppercase;color:#fff0ba}
.owner-app .ops-active-business-card strong{display:block;font-size:1.15rem;color:#fff}
.owner-app .ops-active-business-card p{margin:8px 0 0;color:#cad9ef;line-height:1.5}
.owner-app .ops-active-state{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.owner-app .ops-active-state.is-live{background:#ffd34f;color:#11284b}
.owner-app .ops-active-state.is-muted{background:rgba(255,255,255,.12);color:#fff}
.owner-app .ops-active-business-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.owner-app .ops-chip-link,.owner-app .ops-chip-button{background:#fff;border:1px solid rgba(255,255,255,.14);color:#0f2c57}
.owner-app .ops-chip-button{cursor:pointer;font:inherit}
.owner-app .ops-business-switcher{margin-bottom:18px;padding:14px;border-radius:22px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.owner-app .ops-business-switcher-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.owner-app .ops-business-switcher-head strong{color:#fff;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase}
.owner-app .ops-business-switcher-head span{color:#9fb6d8;font-size:.8rem}
.owner-app .ops-business-switcher-list{display:grid;gap:10px;max-height:260px;overflow:hidden;transition:max-height .2s ease,opacity .2s ease,margin-top .2s ease;opacity:1}
.owner-app .ops-business-switcher.is-collapsed .ops-business-switcher-list{max-height:0;opacity:0;margin-top:0}
.owner-app .ops-business-chip{background:rgba(255,255,255,.96);border-color:rgba(255,255,255,.12);box-shadow:0 10px 22px rgba(6,14,28,.18)}
.owner-app .ops-nav-link{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.08);color:#eef4ff}
.owner-app .ops-nav-link:hover{background:rgba(255,255,255,.14)}
.owner-app .ops-nav-link.active{background:linear-gradient(90deg,#ffd34f 0%,#ffdf7a 100%);border-color:#ffd34f;color:#0f2748;box-shadow:0 12px 24px rgba(0,0,0,.16)}
.owner-app .ops-nav-link-button{background:rgba(255,255,255,.08)}
.owner-hero-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;align-items:stretch;padding:28px;border-radius:32px;background:linear-gradient(135deg,#0f2d5b 0%,#1f5595 68%,#f4c949 190%);box-shadow:0 26px 52px rgba(9,28,56,.2);margin-bottom:18px}
.owner-hero-card h1{margin:6px 0 0;font-size:clamp(2rem,3.2vw,3.2rem);line-height:.95;letter-spacing:-.06em;color:#fff}
.owner-hero-card p{margin:14px 0 0;color:#dbe9ff;max-width:720px;line-height:1.65}
.owner-hero-eyebrow{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,211,79,.16);border:1px solid rgba(255,211,79,.26);color:#ffe7a0;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.owner-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.owner-hero-card .btn{box-shadow:none}
.owner-hero-card .btn:not(.btn-outline){background:#ffd34f;color:#0e2850;border-color:#ffd34f}
.owner-hero-card .btn-outline{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#fff}
.owner-progress-card{padding:20px;border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.08) 100%);border:1px solid rgba(255,255,255,.14);display:grid;align-content:start;gap:12px}
.owner-progress-card span{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:#ffe7a0}
.owner-progress-card strong{display:block;font-size:3rem;line-height:1;color:#fff}
.owner-progress-card small{color:#dbe9ff;line-height:1.55}
.owner-progress-bar{height:12px;border-radius:999px;background:rgba(255,255,255,.14);overflow:hidden}
.owner-progress-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#ffd34f 0%,#ffe89a 100%)}
.owner-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}
.owner-metric-tile{padding:20px;border-radius:24px;background:#fff;border:1px solid #d9e4f3;box-shadow:0 14px 34px rgba(16,38,69,.06)}
.owner-metric-tile span{display:block;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#677a95;margin-bottom:12px}
.owner-metric-tile strong{display:block;font-size:clamp(1.4rem,2.2vw,2.15rem);line-height:1.1;color:#10284a}
.owner-metric-tile small{display:block;margin-top:8px;color:#687892;line-height:1.45}
.owner-dashboard-card{border-radius:30px;box-shadow:0 18px 36px rgba(16,38,69,.07)}
.owner-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.owner-tool-tile{display:grid;gap:10px;padding:18px;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fffdf3 100%);border:1px solid #dee8f6;color:#12284a;box-shadow:0 14px 28px rgba(16,38,69,.05);text-decoration:none}
.owner-tool-tile:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(16,38,69,.08)}
.owner-tool-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:18px;background:linear-gradient(145deg,#0f2e58,#1f4f89);color:#ffd34f;font-size:.88rem;font-weight:900;letter-spacing:.08em}
.owner-tool-tile strong{font-size:1.1rem;color:#10284a}
.owner-tool-tile small{color:#667792;line-height:1.55}
.owner-dashboard-grid{margin-bottom:18px}
.owner-app .ops-card-head .badge.gold{background:#fff1b9;color:#6b4c00;border-color:#f1d266}
@media (max-width: 1100px){
  .owner-hero-card,.owner-tile-grid{grid-template-columns:1fr}
  .owner-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 640px){
  .owner-app .ops-drawer-panel{padding:18px 16px 22px}
  .owner-hero-card{padding:22px;border-radius:28px}
  .owner-progress-card strong{font-size:2.4rem}
  .owner-metric-grid,.owner-tile-grid{grid-template-columns:1fr}
}


/* Owner dashboard cleanup: proper desktop sidebar */
.owner-app-clean .ops-topbar{display:flex;align-items:center;gap:16px 18px;padding:16px 22px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border-bottom:1px solid #e4edf7}
.owner-topbar-left{display:flex;align-items:center;gap:14px;min-width:0;flex:1 1 360px}
.owner-topbar-brand{text-decoration:none;display:flex;align-items:center;gap:12px;min-width:0;max-width:100%}
.owner-topbar-brand .ops-topbar-copy{display:grid;gap:6px;min-width:0}
.owner-topbar-brand .ops-topbar-copy small{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:#6f7f98}
.owner-topbar-brand .ops-topbar-copy strong{font-size:1.35rem;line-height:1.08;color:#10284a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}
.owner-topbar-category{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:999px;background:#ffd34f;border:1px solid #f3c623;color:#7a5600;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;flex:0 0 auto;max-width:100%;box-shadow:0 12px 26px rgba(243,198,35,.24)}
.owner-topbar-tools{display:flex;align-items:center;gap:12px;justify-content:flex-end;flex:0 1 auto;min-width:0;max-width:100%;margin-left:auto;flex-wrap:wrap}
.owner-select-wrap{position:relative;min-width:0}
.owner-select-wrap select{width:100%;min-height:48px;padding:0 42px 0 14px;border-radius:16px;border:1px solid #d6e1ef;background:#fff;color:#10284a;font-weight:700;appearance:none;-webkit-appearance:none;background-image:linear-gradient(45deg,transparent 50%,#294163 50%),linear-gradient(135deg,#294163 50%,transparent 50%);background-position:calc(100% - 18px) 20px,calc(100% - 12px) 20px;background-size:6px 6px,6px 6px;background-repeat:no-repeat;min-width:0}
.owner-live-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 16px;border-radius:16px;background:#0f2d5b;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap;flex:0 0 auto}
.owner-live-link:hover{background:#13386f}
.owner-shell{display:grid;grid-template-columns:320px minmax(0,1fr);align-items:start;min-height:calc(100vh - 86px)}
.owner-app-clean .ops-drawer{position:sticky;top:86px;height:calc(100vh - 86px);transform:none;transition:none;z-index:35;display:block}
.owner-app-clean .ops-drawer-panel{height:100%;background:linear-gradient(180deg,#0d2d58 0%,#173a6d 100%);border-right:none;padding:20px 18px 140px;color:#fff;overflow:auto}
.owner-app-clean .ops-drawer-title strong{color:#fff}
.owner-app-clean .ops-drawer-title small{color:#d7e4fb}
.owner-app-clean .ops-nav{gap:20px;padding-bottom:32px}
.owner-app-clean .ops-nav-link{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.08);color:#fff}
.owner-app-clean .ops-nav-link:hover{background:rgba(255,255,255,.12)}
.owner-app-clean .ops-nav-link.active{background:#ffd34f;border-color:#ffd34f;color:#352901}
.owner-app-clean .ops-close-btn{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.1);color:#fff}
.owner-sidebar-business-card{display:grid;gap:8px;padding:18px;border-radius:24px;background:linear-gradient(180deg,rgba(255,211,79,.16) 0%,rgba(255,255,255,.08) 100%);border:1px solid rgba(255,211,79,.22);margin-bottom:18px}
.owner-sidebar-business-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.owner-sidebar-eyebrow{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:#ffe7a0;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.owner-sidebar-live-link{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#fff;color:#0f2d5b;text-decoration:none;font-size:.8rem;font-weight:800}
.owner-sidebar-live-link:hover{background:#f5f8ff}
.owner-sidebar-business-card strong{font-size:1.15rem;color:#fff}
.owner-sidebar-business-card small{color:#d7e4fb;line-height:1.45}
.owner-sidebar-business-card p{margin:4px 0 0;color:#cbd9ef;line-height:1.55}
.owner-sidebar-switch{display:grid;gap:6px;margin:0 0 20px}
.owner-sidebar-switch label{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:#ffe7a0;font-weight:800}
.owner-sidebar-switch .owner-select-wrap select{background-color:#fff}
.owner-main{padding:26px 26px 34px;min-width:0}
.owner-appointment-form{gap:16px}
.owner-appointment-form .field-toggle-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #dde7f3;border-radius:20px;background:linear-gradient(180deg,#fff 0%,#fffdf5 100%)}
.owner-appointment-form .field-toggle-card label{margin-bottom:4px}
.owner-appointment-form .field-toggle-card small{display:block;color:#6e7d96;line-height:1.55}
.owner-form-note{padding:18px;border-radius:22px;background:#f6f9fe;border:1px solid #dde7f3}
.owner-form-note strong{display:block;color:#10284a}
.owner-form-note p{margin:10px 0 0;color:#607089;line-height:1.7}
.owner-checklist-list .ops-list-row span{min-width:56px;text-align:center}
.owner-metric-grid-appointments{margin-bottom:18px}
.owner-app-clean .ops-drawer-backdrop{display:none}
body.ops-drawer-open .owner-app-clean .ops-drawer{transform:translateX(0)}
body.ops-drawer-open .owner-app-clean .ops-drawer-backdrop{display:block;position:fixed;inset:0;background:rgba(5,15,33,.44);z-index:70}
@media (min-width: 1101px){
  .owner-app-clean .ops-menu-btn,.owner-app-clean .ops-close-btn,.owner-app-clean .ops-drawer-backdrop{display:none!important}
}
@media (max-width: 1100px){
  .owner-app-clean .ops-topbar{padding:14px 16px;gap:14px}
  .owner-shell{display:block;min-height:0}
  .owner-topbar-category{display:none}
  .owner-topbar-brand .ops-topbar-copy strong{max-width:100%}
  .owner-app-clean .ops-drawer{position:fixed;top:0;left:0;bottom:0;width:min(340px,92vw);height:100vh;transform:translateX(-108%);transition:transform .24s ease;z-index:80;display:block}
  .owner-app-clean .ops-drawer-panel{height:100%;padding:18px 18px 120px}
  .owner-main{padding:22px 18px 26px}
}
@media (max-width: 760px){
  .owner-app-clean .ops-topbar{padding:14px 16px}
  .owner-main{padding:18px 16px 22px}
  .owner-topbar-tools{gap:10px}
  .owner-live-link{display:none}
  .owner-topbar-brand .ops-topbar-copy strong{font-size:1.05rem}
  .owner-topbar-category{display:none}
}

/* account + admin dashboard cleanup */
.ops-topbar-left{display:flex;align-items:center;gap:12px;min-width:0}
.ops-topbar-left-compact{flex:1 1 auto}
.account-app .ops-drawer,.admin-app .ops-drawer{top:0;height:100vh}
.account-app .ops-drawer-panel,.admin-app .ops-drawer-panel{background:linear-gradient(180deg,#f9fbff 0%,#f4f8fd 100%)}
.account-app .ops-drawer-title strong,.admin-app .ops-drawer-title strong{font-size:1.25rem}
.account-app .ops-nav-link.active,.admin-app .ops-nav-link.active{background:#ffd34f;border-color:#ebc24a;color:#392c00}
.account-app .ops-nav-group h6,.admin-app .ops-nav-group h6{color:#71839c}
.account-app .ops-main,.admin-app .ops-main{padding:28px}

.account-hero-card{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;align-items:stretch;padding:28px;border-radius:32px;background:linear-gradient(135deg,#0f2d5b 0%,#1c4f86 68%,#f4c949 220%);box-shadow:0 24px 52px rgba(9,28,56,.18);margin-bottom:18px}
.account-hero-copy h1{margin:8px 0 0;font-size:clamp(2.2rem,3.3vw,3.4rem);line-height:.95;letter-spacing:-.06em;color:#fff}
.account-hero-copy p{margin:14px 0 0;color:#dce9ff;max-width:720px;line-height:1.7}
.account-hero-eyebrow{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,211,79,.16);border:1px solid rgba(255,211,79,.26);color:#ffe7a0;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.account-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.account-hero-card .btn-outline{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff}
.account-hero-panel{padding:22px;border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.08) 100%);border:1px solid rgba(255,255,255,.16);display:grid;align-content:start;gap:10px}
.account-hero-panel span{font-size:.78rem;text-transform:uppercase;letter-spacing:.14em;color:#ffe7a0;font-weight:800}
.account-hero-panel strong{display:block;font-size:1.65rem;line-height:1.15;color:#fff}
.account-hero-panel small{color:#dce9ff;line-height:1.6}
.account-stat-grid{margin-bottom:18px}
.account-card{border-radius:28px}
.account-grid-tight{gap:18px;margin-bottom:18px}
.account-business-stack,.account-list{display:grid;gap:12px}
.account-business-row,.account-activity-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1px solid #dde7f3;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.account-business-row strong,.account-activity-row strong{display:block;color:#10284a;font-size:1.02rem}
.account-business-row small,.account-activity-row small{display:block;margin-top:5px;color:#687994;line-height:1.55}
.account-inline-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.account-empty-state{background:#f8fbff;border-style:dashed}
.account-page-head{margin-bottom:18px}

@media (min-width: 901px){
  .account-app .ops-topbar,
  .admin-app .ops-topbar{display:none}
  .account-app .ops-close-btn,
  .admin-app .ops-close-btn{display:none}
}
@media (max-width: 900px){
  .account-app .ops-topbar,
  .admin-app .ops-topbar{display:flex}
  .account-app .ops-shell,
  .admin-app .ops-shell{grid-template-columns:1fr}
  .account-app .ops-drawer,
  .admin-app .ops-drawer{position:fixed;inset:0 auto 0 0;width:min(88vw,360px);height:100vh;transform:translateX(-105%);transition:transform .22s ease;z-index:60;top:0}
  body.ops-drawer-open .account-app .ops-drawer,
  body.ops-drawer-open .admin-app .ops-drawer{transform:translateX(0)}
  .account-app .ops-drawer-backdrop,
  .admin-app .ops-drawer-backdrop{display:block;position:fixed;inset:0;background:rgba(9,20,38,.45);opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:55}
  body.ops-drawer-open .account-app .ops-drawer-backdrop,
  body.ops-drawer-open .admin-app .ops-drawer-backdrop{opacity:1;pointer-events:auto}
}
@media (max-width: 1100px){
  .account-hero-card{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .account-app .ops-main,
  .admin-app .ops-main{padding:18px 16px 24px}
  .account-hero-card{padding:22px;border-radius:28px}
  .account-business-row,.account-activity-row{display:grid;justify-content:stretch}
  .account-inline-actions{justify-content:flex-start}
}

/* short mobile footer */
.footer-mobile-links{display:none}
@media (max-width: 760px){
  .site-footer{padding:18px 0 16px!important}
  .footer-top{display:block!important}
  .footer-top > .footer-col,
  .footer-copy,
  .footer-links[style]{display:none!important}
  .footer-brand{justify-content:center}
  .footer-brand .brand-copy small{display:none}
  .footer-brand .brand-copy{align-items:center;text-align:center}
  .footer-mobile-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;margin:14px 0 12px;text-align:center}
  .footer-mobile-links a{font-size:.9rem;color:#dce5f9}
  .footer-bottom{display:grid!important;grid-template-columns:1fr!important;justify-items:center;gap:6px;text-align:center;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}
  .footer-note{font-size:.9rem;max-width:360px}
}

/* === April 4 public business and branding refresh === */
body.public-page .btn,
body.public-page button.btn{
  border-radius:18px !important;
  font-weight:800 !important;
}
body.public-page .btn-primary,
body.public-page button.btn-primary{
  background:#fcc931 !important;
  color:var(--navy) !important;
  border:1px solid #efc12a !important;
  box-shadow:0 12px 26px rgba(252,201,49,.24), inset 0 1px 0 rgba(255,255,255,.36) !important;
}
body.public-page .btn-primary:hover,
body.public-page button.btn-primary:hover{
  background:#f4c31d !important;
  color:var(--navy) !important;
  border-color:#e0b31d !important;
  box-shadow:0 14px 28px rgba(240,198,78,.22) !important;
}
body.public-page .btn-dark,
body.public-page button.btn-dark{
  background:var(--navy) !important;
  color:#fff !important;
  border:1px solid var(--navy) !important;
  box-shadow:0 12px 26px rgba(15,39,71,.18) !important;
}
body.public-page .btn-dark:hover,
body.public-page button.btn-dark:hover{
  background:#173b69 !important;
  color:#fff !important;
  border-color:#173b69 !important;
  box-shadow:0 14px 28px rgba(15,39,71,.2) !important;
}
body.public-page .btn-outline,
body.public-page button.btn-outline{
  background:#fff !important;
  color:var(--navy) !important;
  border:1px solid #d9e4f0 !important;
  box-shadow:0 10px 22px rgba(15,39,71,.08) !important;
}
body.public-page .btn-outline:hover,
body.public-page button.btn-outline:hover{
  background:#f7faff !important;
  color:var(--navy) !important;
  border-color:#c8d7e8 !important;
  box-shadow:0 12px 24px rgba(15,39,71,.1) !important;
}
body.public-page .service-chip,
body.public-page .service-chip.soft,
body.public-page .fact-pill,
body.public-page .city-chip,
body.public-page .pill-link{
  background:#f5f8ff !important;
  color:#284365 !important;
  border-color:#dbe5f6 !important;
  box-shadow:none !important;
}
body.public-page .hero-rating-pill,
body.public-page .rating-pill{
  background:rgba(255,255,255,.94) !important;
  color:#223d63 !important;
  border-color:rgba(255,255,255,.55) !important;
  box-shadow:none !important;
}
body.public-page .hero-rating-pill strong,
body.public-page .rating-pill strong{color:#223d63 !important;}
body.public-page .hero-rating-pill .hero-star.is-filled,
body.public-page .rating-pill .hero-star.is-filled,
body.public-page .rating-pill .stars,
body.public-page .review-head .stars{color:#fcc931 !important;}
body.public-page .hero-rating-pill .hero-star.is-empty,
body.public-page .rating-pill .hero-star.is-empty{color:#cfd7e6 !important;}
body.public-page .profile-cover .hero-rating,
body.public-page .profile-cover .fact-pill{
  background:rgba(255,255,255,.94) !important;
  border-color:rgba(255,255,255,.55) !important;
  color:#223d63 !important;
}
body.public-page .profile-cover .fact-pill{color:#223d63 !important;}
body.public-page .action-row-brand,
body.public-page .business-rail-actions-brand{gap:14px !important;}
body.public-page .business-section-head{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
body.public-page .business-section-logo{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(15,39,71,.12);
  background:linear-gradient(145deg,#0f2747 0%,#1b4a83 100%);
  box-shadow:0 8px 18px rgba(15,39,71,.10);
  position:relative;
}
body.public-page .business-section-logo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
body.public-page .business-section-logo.is-fallback,
body.public-page .business-section-initial{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#fcc931;
  font-size:1rem;
  font-weight:900;
}
body.public-page .business-section-copy{
  display:grid;
  gap:4px;
  min-width:0;
}
body.public-page .business-section-copy h2{
  margin:0 !important;
}
body.public-page .business-section-copy p{
  margin:0 !important;
}
body.public-page .location-link-list{
  display:grid;
  gap:14px;
}
body.public-page .location-link-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border-radius:22px;
  border:1px solid var(--line);
  background:var(--surface-2);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.public-page .location-link-card:hover{
  transform:translateY(-1px);
  border-color:#c2d2ea;
  box-shadow:0 14px 30px rgba(15,39,71,.08);
}
body.public-page .location-link-card.is-static:hover{transform:none;box-shadow:none;}
body.public-page .location-link-copy{min-width:0;}
body.public-page .location-link-copy strong{
  display:block;
  margin:0 0 8px;
  color:var(--navy);
  font-size:1.18rem;
  line-height:1.08;
  letter-spacing:-.03em;
}
body.public-page .location-link-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}
body.public-page .location-link-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:var(--navy);
  color:#fcc931;
  font-weight:800;
  white-space:nowrap;
  flex:0 0 auto;
}
body.public-page .section-card.related-businesses-secondary{
  margin-top:30px !important;
  padding-top:28px !important;
  border-top:4px solid rgba(252,201,49,.22);
}
body.public-page .related-carousel-card .fact-pill,
body.public-page .related-carousel-card .service-chip{
  font-size:.78rem !important;
  padding:6px 10px !important;
}
body.public-page .related-carousel-body .rating-pill{
  font-size:.78rem !important;
  padding:7px 10px !important;
}
body.public-page .legal-card,
body.public-page .auth-panel,
body.public-page .section-card,
body.public-page .profile-hero-card{
  border-color:#dbe3ef;
}
@media (max-width: 760px){
  body.public-page .business-section-logo{
    width:28px;
    height:28px;
    flex-basis:28px;
    border-radius:10px;
  }
  body.public-page .location-link-card{
    padding:16px;
    border-radius:20px;
    align-items:flex-start;
    flex-direction:column;
  }
  body.public-page .location-link-cta{
    width:auto;
  }
}


/* patch: remove carousel review pill + smaller section logos */
body.public-page .business-section-head{
  gap:10px !important;
}
body.public-page .business-section-logo{
  width:24px !important;
  height:24px !important;
  flex:0 0 24px !important;
  border-radius:8px !important;
  background:#fff !important;
  border:1px solid rgba(15,39,71,.14) !important;
  box-shadow:none !important;
  padding:2px !important;
}
body.public-page .business-section-logo img{
  width:18px !important;
  height:18px !important;
  max-width:18px !important;
  max-height:18px !important;
  object-fit:contain !important;
  margin:auto !important;
}
body.public-page .business-section-initial,
body.public-page .business-section-logo.is-fallback{
  font-size:.78rem !important;
  font-weight:900 !important;
}
body.public-page .related-carousel-body .directory-topline{
  display:none !important;
}
body.public-page .related-carousel-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin:4px 0 10px;
}
body.public-page .related-carousel-card .fact-pill{
  background:#f5f8ff !important;
  color:#284365 !important;
  border-color:#dbe5f6 !important;
}
body.public-page .related-carousel-card .rating-pill{
  display:none !important;
}
@media (max-width: 760px){
  body.public-page .business-section-logo{
    width:20px !important;
    height:20px !important;
    flex-basis:20px !important;
    border-radius:7px !important;
    padding:1px !important;
  }
  body.public-page .business-section-logo img{
    width:15px !important;
    height:15px !important;
    max-width:15px !important;
    max-height:15px !important;
  }
  body.public-page .business-section-initial,
  body.public-page .business-section-logo.is-fallback{
    font-size:.72rem !important;
  }
}


/* hotfix: section logos fill the placeholder cleanly */
body.public-page .business-section-head{
  align-items:center !important;
}
body.public-page .business-section-logo{
  width:26px !important;
  height:26px !important;
  flex:0 0 26px !important;
  border-radius:8px !important;
  overflow:hidden !important;
  padding:0 !important;
  background:#fff !important;
  border:1px solid rgba(15,39,71,.14) !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
body.public-page .business-section-logo img{
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  margin:0 !important;
}
body.public-page .business-section-logo.is-fallback,
body.public-page .business-section-initial{
  width:100% !important;
  height:100% !important;
  display:grid !important;
  place-items:center !important;
  font-size:.76rem !important;
  line-height:1 !important;
}
@media (max-width: 760px){
  body.public-page .business-section-logo{
    width:22px !important;
    height:22px !important;
    flex-basis:22px !important;
    border-radius:7px !important;
  }
  body.public-page .business-section-initial,
  body.public-page .business-section-logo.is-fallback{
    font-size:.7rem !important;
  }
}


/* hard-stop hotfix: section logo image must stay small even if older CSS wins */
.business-section-head{align-items:center !important;gap:10px !important;}
.business-section-logo{width:24px !important;height:24px !important;min-width:24px !important;max-width:24px !important;min-height:24px !important;max-height:24px !important;flex:0 0 24px !important;border-radius:7px !important;overflow:hidden !important;padding:0 !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;box-sizing:border-box !important;}
.business-section-logo img{width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;max-width:none !important;max-height:none !important;display:block !important;object-fit:cover !important;object-position:center center !important;margin:0 !important;padding:0 !important;border:0 !important;}
.business-section-initial{width:100% !important;height:100% !important;display:grid !important;place-items:center !important;line-height:1 !important;}
@media (max-width:760px){.business-section-logo{width:22px !important;height:22px !important;min-width:22px !important;max-width:22px !important;min-height:22px !important;max-height:22px !important;flex-basis:22px !important;border-radius:6px !important;}}


/* final business/search/mobile balance fixes */
@media (min-width: 981px){
  body.public-page .container,
  body.public-page .topbar-shell,
  body.public-page .site-footer-shell,
  body.public-page .shell,
  body.public-page .auth-shell,
  body.public-page .legal-shell{
    width:min(95%,var(--shell))!important;
    max-width:var(--shell)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

@media (max-width: 980px){
  body.public-page .container,
  body.public-page .topbar-shell,
  body.public-page .site-footer-shell,
  body.public-page .shell,
  body.public-page .auth-shell,
  body.public-page .legal-shell{
    width:min(99%,var(--shell))!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    box-sizing:border-box!important;
  }
}

.business-desktop-preview,
.business-desktop-toggle{display:block}
.business-mobile-preview,
.business-mobile-toggle{display:none}

@media (max-width: 767.98px){
  .business-desktop-preview,
  .business-desktop-toggle{display:none!important}
  .business-mobile-preview,
  .business-mobile-toggle{display:block!important}
}

.business-services-grid{gap:16px!important}
.business-services-grid .service-item{
  padding:18px 18px 16px!important;
  border-radius:20px!important;
}
.business-services-grid .service-item h3{
  margin:0 0 8px!important;
  line-height:1.15!important;
}
.business-services-grid .service-item p{
  margin:0!important;
  line-height:1.62!important;
}
.services-expand-toggle{
  margin-top:16px!important;
}
.business-expand-summary{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid #dbe5f6;
  background:#f5f8ff;
  color:#284365;
  font-weight:800;
  cursor:pointer;
  user-select:none;
}
.business-expand-summary::-webkit-details-marker{display:none}
.business-expand-toggle[open] > .business-expand-summary{
  background:#edf3ff;
  border-color:#c7d8ff;
}
.business-expand-summary .open-text{display:none}
.business-expand-toggle[open] > .business-expand-summary .closed-text{display:none}
.business-expand-toggle[open] > .business-expand-summary .open-text{display:inline}
.business-expand-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:64px;
  padding:4px 10px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #dbe5f6;
  color:#5c7291;
  font-size:.84rem;
  font-weight:700;
}
.business-expand-grid{margin-top:16px!important}

@media (max-width: 767.98px){
  body.public-page .search-page-shell,
  body.public-page .business-page-shell,
  body.public-page .business-location-shell{
    width:100%!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.public-page .search-page-shell > .container,
  body.public-page .business-page-shell > .container,
  body.public-page .business-location-shell > .container{
    width:100%!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.public-page .search-page-shell .market-hero,
  body.public-page .search-page-shell .section-shell,
  body.public-page .business-page-shell .profile-hero-card,
  body.public-page .business-page-shell .section-card,
  body.public-page .business-location-shell .profile-hero-card,
  body.public-page .business-location-shell .section-card{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  body.public-page .business-page-shell .profile-cover,
  body.public-page .business-location-shell .profile-cover{
    padding:18px 14px!important;
  }
  body.public-page .business-page-shell .profile-body,
  body.public-page .business-page-shell .section-card,
  body.public-page .business-location-shell .profile-body,
  body.public-page .business-location-shell .section-card,
  body.public-page .search-page-shell .section-shell{
    padding:18px 14px!important;
  }
  body.public-page .business-page-shell .profile-header-grid,
  body.public-page .business-location-shell .profile-header-grid{
    grid-template-columns:minmax(0,1fr) 84px!important;
    gap:14px!important;
    align-items:start!important;
  }
  body.public-page .business-page-shell .profile-header-copy,
  body.public-page .business-location-shell .profile-header-copy{
    order:1;
    min-width:0;
  }
  body.public-page .business-page-shell .profile-thumb-wrap,
  body.public-page .business-location-shell .profile-thumb-wrap{
    order:2;
    justify-self:end!important;
    align-self:start!important;
  }
  body.public-page .business-page-shell .profile-thumb-card-large,
  body.public-page .business-location-shell .profile-thumb-card-large{
    width:82px!important;
    height:82px!important;
  }
  body.public-page .business-page-shell .profile-header-copy h1,
  body.public-page .business-location-shell .profile-header-copy h1{
    font-size:clamp(1.9rem,7vw,2.5rem)!important;
    line-height:.95!important;
    margin-bottom:8px!important;
  }
  body.public-page .business-page-shell .directory-topline,
  body.public-page .business-location-shell .directory-topline{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    margin-bottom:8px!important;
  }
  body.public-page .business-page-shell .hero-review-row,
  body.public-page .business-location-shell .hero-review-row{
    flex-wrap:wrap!important;
    gap:10px!important;
    align-items:flex-start!important;
  }
  body.public-page .search-page-shell .results-toolbar,
  body.public-page .search-page-shell .market-section-head{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}

/* page cleanup: distinct content pages + cleaner auth */
.info-page-shell{
  padding:28px 0 56px;
}
.info-page-nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 24px;
}
.info-page-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid #dbe5f6;
  background:#fff;
  color:#274264;
  font-weight:700;
  text-decoration:none;
}
.info-page-nav a.is-active{
  background:#f6f9ff;
  border-color:#cddcf6;
  box-shadow:0 10px 24px rgba(22,48,82,.08);
}
.info-variant-hero,
.contact-hero-shell,
.auth-clean-card{
  border:1px solid rgba(18,47,83,.08);
  box-shadow:0 18px 50px rgba(15,39,71,.08);
}
.info-variant-hero{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);
  gap:24px;
  padding:30px;
  border-radius:32px;
  background:#fff;
  margin-bottom:28px;
}
.variant-copy h1,
.contact-hero-copy h1,
.auth-clean-head h1{
  margin:8px 0 10px;
  font-size:clamp(1.8rem,3.3vw,2.45rem);
  line-height:1;
  letter-spacing:-.03em;
  color:#10284a;
}
.variant-copy p,
.contact-hero-copy p,
.auth-clean-head p{
  margin:0;
  color:#536780;
  font-size:.98rem;
  line-height:1.6;
}
.variant-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}
.variant-panel{
  border-radius:26px;
  padding:22px;
  background:#f8fbff;
  border:1px solid #dde8f7;
}
.variant-panel-label,
.policy-compliance-title{
  display:block;
  margin-bottom:12px;
  color:#6a7f99;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.about-variant-hero{
  background:linear-gradient(135deg,#fdfefe 0%,#f4f8ff 54%,#fff8e8 100%);
}
.about-focus-grid,
.contact-hero-grid,
.about-highlight-grid,
.privacy-section-grid,
.contact-topic-grid{
  display:grid;
  gap:14px;
}
.about-focus-card,
.contact-hero-tile,
.about-highlight-card,
.contact-topic-card{
  display:grid;
  gap:8px;
  padding:16px 18px;
  border-radius:22px;
  background:#fff;
  border:1px solid #e1e9f7;
}
.about-focus-card strong,
.contact-hero-tile strong{
  color:#c29114;
  font-size:.82rem;
  letter-spacing:.12em;
}
.about-focus-card span,
.contact-hero-tile span,
.about-highlight-card p,
.contact-topic-card span{
  color:#486078;
  line-height:1.65;
}
.about-variant-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
}
.about-main-stack,
.about-side-stack,
.contact-aside-stack,
.legal-content-stack{
  display:grid;
  gap:18px;
}
.about-lead-band,
.disclaimer-summary-card,
.legal-callout-card,
.privacy-callout-bar,
.contact-form-shell,
.sidebar-card.info-sidebar-card{
  border-radius:28px;
  padding:24px;
  background:#fff;
  border:1px solid rgba(17,47,82,.09);
  box-shadow:0 16px 42px rgba(13,36,69,.06);
}
.about-lead-band h2,
.contact-form-head h2,
.legal-article-card h2,
.privacy-detail-card h2,
.disclaimer-note-card h2,
.about-story-card h2{
  margin:10px 0 10px;
  font-size:clamp(1.3rem,2vw,1.75rem);
  color:#13294a;
  letter-spacing:-.02em;
}
.about-lead-band p,
.contact-form-head p,
.legal-article-card p,
.privacy-detail-card p,
.disclaimer-note-card p,
.about-story-card p,
.sidebar-card.info-sidebar-card p,
.legal-callout-card p,
.disclaimer-summary-card p,
.privacy-callout-bar span{
  margin:0;
  color:#536780;
  line-height:1.78;
}
.about-highlight-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.about-highlight-card{
  grid-template-columns:56px minmax(0,1fr);
  align-items:start;
}
.about-highlight-mark{
  width:56px;
  height:56px;
  border-radius:18px;
  display:grid;
  place-items:center;
  font-size:1.2rem;
  font-weight:800;
  color:#1f4168;
  background:linear-gradient(180deg,#fff7da,#f6f9ff);
  border:1px solid #e1e7f4;
}
.about-story-stack,
.disclaimer-card-stack{
  display:grid;
  gap:16px;
}
.about-story-card,
.legal-article-card,
.privacy-detail-card,
.disclaimer-note-card{
  display:grid;
  gap:16px;
  padding:22px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(17,47,82,.09);
  box-shadow:0 16px 40px rgba(13,36,69,.05);
}
.about-story-card{
  grid-template-columns:74px minmax(0,1fr);
}
.about-story-card.is-shifted{
  margin-left:28px;
}
.about-story-index,
.legal-article-number{
  width:74px;
  height:74px;
  border-radius:22px;
  display:grid;
  place-items:center;
  background:#f6f9ff;
  color:#193759;
  border:1px solid #d9e3f5;
  font-weight:800;
}
.terms-variant-hero{
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}
.legal-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:22px;
}
.legal-sticky-nav{
  position:relative;
}
.legal-sticky-nav .sidebar-card{
  position:sticky;
  top:96px;
}
.legal-mini-grid{
  display:grid;
  gap:12px;
}
.legal-mini-card{
  padding:14px 16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #e1e9f6;
  color:#4b6078;
  line-height:1.58;
}
.legal-article-card{
  grid-template-columns:82px minmax(0,1fr);
}
.legal-callout-card{
  background:linear-gradient(135deg,#fff8e8,#f8fbff);
}
.legal-callout-card strong,
.privacy-callout-bar strong{
  display:block;
  margin-bottom:8px;
  color:#17375d;
}
.privacy-variant-hero{
  background:linear-gradient(135deg,#f4f9ff 0%,#ffffff 55%,#f6fff8 100%);
}
.privacy-bullet-list{
  display:grid;
  gap:12px;
}
.privacy-bullet-item{
  display:grid;
  grid-template-columns:14px minmax(0,1fr);
  gap:12px;
  align-items:start;
  color:#46607b;
  line-height:1.68;
}
.privacy-bullet-dot{
  width:14px;
  height:14px;
  border-radius:999px;
  margin-top:7px;
  background:linear-gradient(180deg,#ffd667,#f4f8ff);
  border:1px solid #e3d083;
}
.privacy-section-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-bottom:18px;
}
.privacy-detail-card{
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}
.privacy-detail-kicker{
  color:#7b8ca3;
  font-size:.83rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.privacy-callout-bar{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
}
.disclaimer-variant-hero{
  background:linear-gradient(135deg,#fffaf0 0%,#ffffff 48%,#fff4f3 100%);
}
.disclaimer-alert-panel p{
  color:#566a81;
  line-height:1.72;
}
.disclaimer-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.disclaimer-chip{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid #ecd7ba;
  color:#6b5530;
  font-weight:700;
}
.disclaimer-note-card{
  grid-template-columns:64px minmax(0,1fr);
  background:linear-gradient(180deg,#fff 0%,#fffaf3 100%);
}
.disclaimer-note-mark{
  width:64px;
  height:64px;
  border-radius:20px;
  display:grid;
  place-items:center;
  background:#fff4de;
  border:1px solid #edd39d;
  color:#7f5d12;
  font-size:1.5rem;
  font-weight:900;
}
.contact-page-shell{
  padding-bottom:64px;
}
.contact-hero-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);
  gap:22px;
  padding:30px;
  border-radius:34px;
  background:linear-gradient(135deg,#ffffff 0%,#f5f9ff 55%,#fff9ea 100%);
  margin-bottom:24px;
}
.contact-hero-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.contact-layout-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
}
.contact-form-head{
  margin-bottom:18px;
}
.contact-topic-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin-bottom:18px;
}
.contact-topic-card strong,
.contact-check-item strong{
  color:#163255;
}
.contact-form-grid{
  gap:16px;
}
.contact-form-grid .input,
.auth-clean-form .input{
  min-height:54px;
  border-radius:18px;
  border:1px solid #dce6f5;
  background:#fbfdff;
}
.contact-form-grid textarea.input{
  min-height:180px;
  padding-top:14px;
}
.contact-checklist{
  display:grid;
  gap:12px;
}
.contact-check-item{
  display:grid;
  gap:4px;
  padding:14px 0;
  border-bottom:1px solid #edf2f8;
}
.contact-check-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}
.contact-submit-btn,
.auth-submit-btn{
  width:100%;
  min-height:48px;
  font-size:.98rem;
}
.auth-clean-shell{
  padding:26px 0 48px;
}
.auth-clean-container{
  max-width:540px;
}
.auth-clean-container--narrow{
  max-width:500px;
}
.auth-clean-card{
  max-width:540px;
  margin:0 auto;
  padding:22px 22px 20px;
  border-radius:26px;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.auth-clean-card--login,
.auth-clean-card--forgot,
.auth-clean-card--reset{
  max-width:520px;
}
.auth-clean-card--register{
  max-width:620px;
  margin:0 auto;
}
.auth-clean-head{
  margin-bottom:14px;
  text-align:center;
}
.auth-clean-form{
  gap:14px;
}
.auth-clean-form--register{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.auth-clean-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin:-2px 0 2px;
}
.auth-check,
.auth-policy-check--clean{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#475f7a;
}
.auth-policy-check--clean{
  padding:14px 15px;
  border-radius:16px;
  background:#f8fbff;
  border:1px solid #dfe8f5;
}
.auth-policy-check--clean input{
  margin-top:4px;
}
.auth-policy-check--clean a,
.policy-compliance-item a,
.auth-footer-note a,
.auth-help-link{
  color:#17385e;
  font-weight:700;
  text-decoration:none;
}
.auth-compliance-strip{
  display:grid;
  gap:8px;
  margin:14px 0 0;
}
.auth-compliance-item,
.policy-compliance-item{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:10px;
  align-items:start;
  color:#4c6178;
  line-height:1.54;
}
.auth-compliance-item span:first-child,
.check-mark{
  width:22px;
  height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eff7f1;
  border:1px solid #cfe5d5;
  color:#2b6b4d;
  font-weight:900;
  font-size:.78rem;
}
.policy-compliance-panel{
  margin:0 0 14px;
  padding:16px 16px 14px;
  border-radius:20px;
  background:linear-gradient(135deg,#f9fbff 0%,#fffaf0 100%);
  border:1px solid #e3e9f3;
}
.policy-compliance-list{
  display:grid;
  gap:10px;
}
.auth-footer-note{
  margin-top:14px;
  text-align:center;
  color:#5a6f87;
  font-size:.95rem;
}
@media (max-width: 980px){
  .info-variant-hero,
  .contact-hero-shell,
  .legal-layout,
  .about-variant-grid,
  .contact-layout-grid,
  .privacy-callout-bar{
    grid-template-columns:minmax(0,1fr);
  }
  .legal-sticky-nav .sidebar-card{
    position:static;
  }
  .contact-hero-grid,
  .about-highlight-grid,
  .contact-topic-grid,
  .privacy-section-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 767.98px){
  .info-page-shell,
  .auth-clean-shell{
    padding-top:12px;
    padding-bottom:28px;
  }
  .info-page-nav{
    margin-bottom:18px;
    gap:8px;
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:4px;
  }
  .info-page-nav a{
    white-space:nowrap;
    min-height:40px;
    padding:9px 14px;
  }
  .info-variant-hero,
  .contact-hero-shell,
  .about-lead-band,
  .contact-form-shell,
  .sidebar-card.info-sidebar-card,
  .privacy-callout-bar,
  .disclaimer-summary-card,
  .auth-clean-card,
  .about-story-card,
  .legal-article-card,
  .privacy-detail-card,
  .disclaimer-note-card{
    padding:16px;
    border-radius:20px;
  }
  .variant-copy h1,
  .contact-hero-copy h1,
  .auth-clean-head h1{
    font-size:clamp(1.65rem,8vw,2.1rem);
  }
  .contact-hero-grid,
  .about-highlight-grid,
  .contact-topic-grid,
  .privacy-section-grid,
  .auth-clean-form--register{
    grid-template-columns:minmax(0,1fr);
  }
  .about-story-card,
  .legal-article-card,
  .disclaimer-note-card{
    grid-template-columns:minmax(0,1fr);
  }
  .about-story-card.is-shifted{
    margin-left:0;
  }
  .about-story-index,
  .legal-article-number,
  .disclaimer-note-mark{
    width:56px;
    height:56px;
    border-radius:18px;
  }
  .auth-clean-meta{
    align-items:flex-start;
  }
}


/* === April 5 carousel + header + footer polish === */
body.public-page .related-carousel{
  scroll-padding-inline:6px;
}
body.public-page .related-carousel-track{
  gap:16px !important;
}
body.public-page .related-carousel-card{
  border-radius:20px !important;
}
body.public-page .related-carousel-media{
  height:146px !important;
}
body.public-page .related-carousel-body{
  padding:13px !important;
}
body.public-page .carousel-button{
  width:46px;
  height:46px;
  border-radius:16px;
}
body.public-page .footer-brand{
  display:inline-flex;
  align-items:center !important;
  gap:13px !important;
}
body.public-page .footer-brand .brand-badge{
  width:46px;
  height:46px;
  flex:0 0 46px;
  margin-top:0 !important;
  border-radius:15px;
  font-size:28px;
}
body.public-page .footer-brand .brand-copy{
  justify-content:center;
  gap:4px;
}
body.public-page .footer-brand .brand-wordmark{
  line-height:.94;
}
body.public-page .footer-brand .brand-copy small{
  line-height:1.18;
}

@media (min-width: 981px){
  body.public-page .related-carousel-track{
    grid-auto-columns:minmax(272px,1fr) !important;
  }
}

@media (max-width: 980px){
  body.public-page .related-carousel-track{
    gap:14px !important;
  }
  body.public-page .related-carousel-card{
    flex:0 0 calc(58% - 7px) !important;
    max-width:calc(58% - 7px) !important;
  }
  body.public-page .related-carousel-media{
    height:118px !important;
  }
}

@media (max-width: 760px){
  body.public-page .topbar-shell{
    padding:12px 14px !important;
    gap:12px !important;
  }
  body.public-page .site-footer-shell{
    padding-left:14px !important;
    padding-right:14px !important;
  }
  body.public-page .footer-brand{
    justify-content:center;
    gap:12px !important;
  }
  body.public-page .footer-brand .brand-copy{
    align-items:flex-start;
    text-align:left;
  }
  body.public-page .related-carousel-card{
    flex:0 0 calc(62% - 7px) !important;
    max-width:calc(62% - 7px) !important;
  }
  body.public-page .related-carousel-media{
    height:122px !important;
  }
}

/* Footer brand brightness */
.site-footer .footer-brand .brand-badge{
  background:linear-gradient(180deg,#163763,#214f88) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.08) !important;
}
.site-footer .footer-brand .brand-wordmark,
.site-footer .footer-brand .brand-repair{
  color:#f8fbff !important;
  text-shadow:0 6px 20px rgba(0,0,0,.14);
}
.site-footer .footer-brand .brand-hit{
  color:#ffd54d !important;
  text-shadow:0 6px 20px rgba(0,0,0,.14);
}
.site-footer .footer-brand .brand-copy small{
  color:#dbe7ff !important;
}



/* Dashboard menu + impersonation fixes */
.owner-app-clean .ops-user-popover-actions,
.owner-app .ops-user-popover-actions{display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--line);background:#fff;border-radius:0 0 22px 22px;}
.owner-app-clean .ops-user-popover-actions .ops-nav-link,
.owner-app-clean .ops-user-popover-actions .ops-nav-link-button,
.owner-app .ops-user-popover-actions .ops-nav-link,
.owner-app .ops-user-popover-actions .ops-nav-link-button{background:#f5f8ff !important;border:1px solid #dbe5f6 !important;color:#173153 !important;justify-content:center;}
.owner-app-clean .ops-user-popover-actions .ops-nav-link:hover,
.owner-app-clean .ops-user-popover-actions .ops-nav-link-button:hover,
.owner-app .ops-user-popover-actions .ops-nav-link:hover,
.owner-app .ops-user-popover-actions .ops-nav-link-button:hover{background:#ecf3ff !important;border-color:#c9d8f2 !important;color:#10284a !important;}
.owner-app-clean .ops-user-popover,
.owner-app .ops-user-popover{overflow:hidden;}
.biz-row-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;}
.biz-row-actions form{margin:0;}
.quick-card-actions{display:flex;flex-wrap:wrap;gap:10px;}
.quick-card-actions form{margin:0;}
.impersonation-banner .btn.btn-primary,
.impersonation-banner button.btn.btn-primary{background:#ffd34f !important;border-color:#ffd34f !important;color:#10284b !important;}
.impersonation-banner .btn.btn-primary:hover,
.impersonation-banner button.btn.btn-primary:hover{background:#ffdf76 !important;border-color:#ffdf76 !important;color:#0c2344 !important;}
@media (max-width: 768px){
  .biz-row-actions{justify-content:flex-start;}
  .quick-card-actions{display:grid;grid-template-columns:1fr;}
}


/* Public SEO heading spacing refinement */
body.public-page .market-hero h1,
body.public-page .profile-header-copy h1,
body.public-page .business-landing-copy h1,
body.public-page .page-head h1{
  line-height:1.08 !important;
  letter-spacing:-0.018em !important;
}
body.public-page .market-section-head h2,
body.public-page .section-head-inline h2,
body.public-page .section-card h2,
body.public-page .faq-item strong,
body.public-page .service-item h3,
body.public-page .review-item strong{
  line-height:1.18 !important;
  letter-spacing:-0.015em !important;
}
body.public-page .market-section-head p,
body.public-page .faq-item p,
body.public-page .service-item p,
body.public-page .review-item p{
  line-height:1.62 !important;
}
body.public-page .market-section-head p{
  margin-top:12px !important;
}
body.public-page .faq-item strong,
body.public-page .service-item h3,
body.public-page .review-item strong{
  margin-bottom:10px !important;
}
@media (max-width: 768px){
  body.public-page .market-hero h1,
  body.public-page .profile-header-copy h1,
  body.public-page .business-landing-copy h1,
  body.public-page .page-head h1{
    line-height:1.1 !important;
    letter-spacing:-0.012em !important;
  }
  body.public-page .market-section-head h2,
  body.public-page .section-head-inline h2,
  body.public-page .section-card h2,
  body.public-page .faq-item strong,
  body.public-page .service-item h3,
  body.public-page .review-item strong{
    line-height:1.2 !important;
    letter-spacing:-0.01em !important;
  }
}


/* Promotion owner refresh */
.promotion-owner-hero,.owner-promo-highlight{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:20px;align-items:stretch;padding:30px;border-radius:32px;background:linear-gradient(135deg,#0d2d58 0%,#173f7b 58%,#245ba0 100%);box-shadow:0 28px 56px rgba(10,31,60,.22);margin-bottom:18px;position:relative;overflow:hidden}
.promotion-owner-hero::after,.owner-promo-highlight::after{content:"";position:absolute;right:-80px;bottom:-90px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(255,211,79,.3) 0%,rgba(255,211,79,.08) 45%,rgba(255,211,79,0) 72%);pointer-events:none}
.promotion-owner-hero-copy,.owner-promo-highlight-copy{position:relative;z-index:1}
.promotion-owner-hero h1,.owner-promo-highlight h2{margin:10px 0 0;color:#fff;font-size:clamp(2.1rem,3.6vw,3.45rem);line-height:1.06;letter-spacing:-.04em}
.owner-promo-highlight h2{font-size:clamp(1.85rem,3vw,2.8rem)}
.promotion-owner-hero p,.owner-promo-highlight p{margin:14px 0 0;max-width:760px;color:#dce8fb;line-height:1.72;font-size:1.03rem}
.promotion-owner-eyebrow{display:inline-flex;padding:9px 14px;border-radius:999px;background:rgba(255,211,79,.14);border:1px solid rgba(255,211,79,.24);color:#ffe79b;font-size:.78rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.promotion-owner-pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.promotion-owner-pill{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#f5f9ff;font-weight:800;font-size:.86rem;letter-spacing:.02em}
.promotion-owner-pill.is-live{background:#ffd34f;border-color:#ffd34f;color:#10284a;box-shadow:0 14px 30px rgba(243,198,35,.24)}
.promotion-owner-pill.is-accent{background:#fff5cf;border-color:#ffd34f;color:#7a5600}
.promotion-owner-hero .btn,.owner-promo-highlight .btn{box-shadow:none}
.promotion-owner-hero .btn:not(.btn-outline),.owner-promo-highlight .btn:not(.btn-outline){background:#ffd34f;color:#10284a;border-color:#ffd34f}
.promotion-owner-hero .btn-outline,.owner-promo-highlight .btn-outline{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#fff}
.promotion-owner-hero-panel,.owner-promo-highlight-panel{position:relative;z-index:1;padding:20px;border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.16) 0%,rgba(255,255,255,.09) 100%);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(4px)}
.promotion-mini-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:16px}
.promotion-mini-head strong{color:#fff;font-size:1.08rem}
.promotion-mini-head span{color:#dce7f8;font-size:.92rem}
.promotion-mini-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
.promotion-mini-stat{padding:14px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1)}
.promotion-mini-stat span{display:block;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:#cfe0fa;margin-bottom:6px}
.promotion-mini-stat strong{display:block;font-size:1.7rem;line-height:1;color:#fff}
.promotion-mini-bars,.promotion-funnel-visual{display:grid;gap:12px}
.promotion-mini-bar-row,.promotion-funnel-row{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr) auto;gap:12px;align-items:center}
.promotion-mini-bar-copy strong,.promotion-funnel-copy strong{display:block;color:#fff;font-size:.95rem}
.promotion-mini-bar-copy small,.promotion-funnel-copy small{display:block;color:#dbe7fb;font-size:.84rem;line-height:1.45;margin-top:4px}
.promotion-mini-bar-track,.promotion-funnel-track{height:12px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}
.promotion-mini-bar-track i,.promotion-funnel-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#ffd34f 0%,#f5bd1f 20%,#70abff 100%)}
.promotion-mini-bar-row span,.promotion-funnel-row span{font-weight:900;color:#fff}
.promotion-stats-row{margin-bottom:18px}
.promotion-graph-card{padding:26px}
.promotion-funnel-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:18px;align-items:start}
.promotion-funnel-summary{display:grid;gap:14px}
.promotion-funnel-note{padding:18px;border-radius:24px;background:linear-gradient(180deg,#f7fbff 0%,#eef5ff 100%);border:1px solid #dbe6f6}
.promotion-funnel-note strong{display:block;color:#10284a;font-size:1.15rem}
.promotion-funnel-note p{margin:10px 0 0;color:#5f7391;line-height:1.65}
.promotion-funnel-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.promotion-funnel-kpis div{padding:14px;border-radius:18px;background:#fffaf0;border:1px solid #efdfb0}
.promotion-funnel-kpis span{display:block;font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:#8b6c08;margin-bottom:6px}
.promotion-funnel-kpis strong{display:block;font-size:1.25rem;color:#10284a}
.promotion-trust-strip{padding:14px 16px;border-radius:18px;background:#0f2d58;color:#e9f2ff;line-height:1.6}
.promotion-launch-card{padding:26px}
.promotion-form-stack{grid-template-columns:1fr;gap:16px}
.promotion-billing-strip{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:14px;padding:16px 18px;border-radius:22px;background:linear-gradient(180deg,#f7fbff 0%,#eef5ff 100%);border:1px solid #dce6f6}
.promotion-billing-strip strong{display:block;color:#10284a;font-size:1rem}
.promotion-billing-strip small{display:block;margin-top:6px;color:#5f7391;max-width:760px;line-height:1.65}
.promotion-billing-strip span{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:#fff1bd;border:1px solid #efd56f;color:#6d5200;font-weight:900;white-space:nowrap}
.promotion-check{min-height:52px;padding:14px 16px;border-radius:18px;background:#f8fbff;border:1px solid #dbe5f5}
.owner-promo-highlight{margin-top:18px}
@media (max-width: 1100px){.promotion-owner-hero,.owner-promo-highlight,.promotion-funnel-grid{grid-template-columns:1fr}.promotion-mini-bar-row,.promotion-funnel-row{grid-template-columns:1fr}.promotion-mini-bar-row span,.promotion-funnel-row span{justify-self:start}.promotion-funnel-kpis,.promotion-mini-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 680px){.promotion-owner-hero,.owner-promo-highlight,.promotion-graph-card,.promotion-launch-card{padding:22px;border-radius:28px}.promotion-owner-hero h1,.owner-promo-highlight h2{font-size:clamp(1.9rem,9vw,2.55rem)}.promotion-mini-stat-grid,.promotion-funnel-kpis{grid-template-columns:1fr}.promotion-owner-pill-row{gap:8px}.promotion-billing-strip{padding:14px 15px}}

.promotion-window-card{padding:26px}
.promotion-window-stack{display:grid;gap:16px}
.promotion-window-countdown{position:relative;overflow:hidden;padding:24px 24px 22px;border-radius:28px;background:linear-gradient(135deg,#0d2d58 0%,#173f7b 58%,#245ba0 100%);box-shadow:0 26px 52px rgba(10,31,60,.18)}
.promotion-window-countdown::after{content:"";position:absolute;right:-60px;bottom:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,211,79,.28) 0%,rgba(255,211,79,.08) 45%,rgba(255,211,79,0) 72%);pointer-events:none}
.promotion-window-countdown span,.promotion-window-countdown small,.promotion-window-countdown strong{position:relative;z-index:1;display:block}
.promotion-window-countdown span{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;font-weight:900;color:#ffe79b}
.promotion-window-countdown strong{margin-top:10px;font-size:clamp(2rem,4vw,3rem);line-height:1.04;color:#fff;letter-spacing:-.04em}
.promotion-window-countdown small{margin-top:10px;max-width:760px;color:#dce8fb;font-size:1rem;line-height:1.7}
.promotion-window-list{display:grid;gap:12px}
.promotion-window-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-radius:22px;background:#f7fbff;border:1px solid #dbe6f6}
.promotion-window-row span{font-size:.86rem;letter-spacing:.12em;text-transform:uppercase;font-weight:900;color:#6980a1}
.promotion-window-row strong{font-size:1.08rem;color:#10284a;text-align:right}
.promotion-window-note{padding:20px 22px;border-radius:24px;background:#fffaf0;border:1px solid #efdfb0}
.promotion-window-note strong{display:block;color:#10284a;font-size:1.15rem}
.promotion-window-note p{margin:10px 0 0;color:#5f7391;line-height:1.7}
.promotion-inline-note{display:inline-flex;align-items:center;min-height:48px;color:#5f7391;font-weight:700}
@media (max-width: 680px){.promotion-window-card{padding:22px;border-radius:28px}.promotion-window-countdown{padding:20px 18px 18px}.promotion-window-row{padding:14px 15px;align-items:flex-start;flex-direction:column}.promotion-window-row strong{text-align:left}.promotion-inline-note{min-height:0}}
