/* =====================================================================
   RestRating for Business — business pages only (loaded on /business/*)
   Builds on the site tokens in app.css, so dark mode, high contrast and
   the accessibility options keep working.
   ===================================================================== */
.page-biz {
  --bz-ink: #0b1220;
  --bz-ink-2: #141d33;
  --bz-on-ink: #ffffff;
  --bz-on-ink-2: #c9d0de;
  --bz-line: color-mix(in srgb, var(--border) 85%, transparent);
  --bz-radius: 16px;
  --bz-radius-lg: 24px;
  --bz-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px -12px rgba(15, 23, 42, .14);
  --bz-ok: var(--ok);
}
.page-biz main { padding-bottom: 3rem; }
.bz-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.bz-wrap-narrow { max-width: 880px; }
.page-biz h1, .page-biz h2, .page-biz h3 { letter-spacing: -.02em; }
.bz-eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.bz-eyebrow .icon { width: 1.05em; height: 1.05em; }
.bz-muted { color: var(--muted); }
.bz-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- App bar ---------- */
.bz-appbar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem 1.5rem; margin: 1.25rem 0 1.75rem;
  padding: .6rem .7rem .6rem .9rem; border: 1px solid var(--bz-line); border-radius: var(--bz-radius); background: var(--surface); box-shadow: var(--bz-shadow); }
.bz-brand { display: flex; align-items: center; gap: .7rem; min-width: 0; color: var(--text); text-decoration: none; }
.bz-brand:hover { color: var(--text); }
.bz-logo { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; color: #fff;
  background: linear-gradient(135deg, var(--brand), #7a1fd1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.bz-logo .icon { width: 20px; height: 20px; }
.bz-brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.bz-brand-text strong { font-size: .98rem; font-weight: 800; }
.bz-brand-text span { font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-tabs { display: flex; gap: .25rem; justify-self: start; }
.bz-tabs a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .9rem; border-radius: 10px;
  color: var(--text-2); font-weight: 600; font-size: .93rem; text-decoration: none; }
.bz-tabs a .icon { width: 1.05em; height: 1.05em; }
.bz-tabs a:hover { background: var(--bg-alt); color: var(--text); }
.bz-tabs a[aria-current="page"] { background: var(--bg-alt); color: var(--text); box-shadow: inset 0 0 0 1px var(--bz-line); }
.bz-account { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.bz-avatar { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; font-size: .82rem;
  color: var(--text); background: var(--bg-alt); box-shadow: inset 0 0 0 1px var(--bz-line); }
.bz-account-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.bz-account-text strong { font-size: .9rem; }
.bz-account-text span { font-size: .78rem; color: var(--muted); }
.bz-account form { margin: 0; }
.bz-icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--bz-line);
  background: var(--surface); color: var(--text-2); cursor: pointer; }
.bz-icon-btn:hover { background: var(--bg-alt); color: var(--text); }
.bz-icon-btn .icon { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .bz-appbar { grid-template-columns: 1fr auto; }
  .bz-tabs { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; overflow-x: auto; border-top: 1px solid var(--bz-line); padding-top: .55rem; }
  .bz-account-text { display: none; }
}

/* ---------- Page head ---------- */
.bz-pagehead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.5rem; }
.bz-pagehead h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); margin: 0 0 .3rem; }
.bz-pagehead p { margin: 0; color: var(--muted); }
.bz-pagehead .btn-row { gap: .5rem; }
.bz-crumbs { margin: 0 0 .5rem; font-size: .88rem; }
.bz-crumbs a { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); text-decoration: none; font-weight: 600; }
.bz-crumbs a:hover { color: var(--text); }
.bz-crumbs .icon { width: 1em; height: 1em; }

/* ---------- KPI cards ---------- */
.bz-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.bz-kpi { position: relative; padding: 1.1rem 1.2rem 1.15rem; border: 1px solid var(--bz-line); border-radius: var(--bz-radius);
  background: var(--surface); box-shadow: var(--bz-shadow); }
.bz-kpi-label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 0 0 .55rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.bz-kpi-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--bg-alt); color: var(--text-2); }
.bz-kpi-icon .icon { width: 17px; height: 17px; }
.bz-kpi-value { margin: 0; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.bz-kpi-value small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.bz-kpi-foot { margin: .45rem 0 0; font-size: .82rem; color: var(--muted); }
.bz-kpi .stars { vertical-align: middle; }
@media (max-width: 900px) { .bz-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .bz-kpis { gap: .6rem; } .bz-kpi { padding: .9rem; } .bz-kpi-value { font-size: 1.5rem; } }

/* ---------- Panels ---------- */
.bz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 1.5rem; align-items: start; }
.bz-grid > * { min-width: 0; }
@media (max-width: 1020px) { .bz-grid { grid-template-columns: 1fr; } }
.bz-stack { display: grid; gap: 1.5rem; }
.bz-panel { border: 1px solid var(--bz-line); border-radius: var(--bz-radius); background: var(--surface); box-shadow: var(--bz-shadow); }
.bz-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--bz-line); }
.bz-panel-head h2, .bz-panel-head h3 { margin: 0; font-size: 1.08rem; display: flex; align-items: center; gap: .5rem; }
.bz-panel-head h2 .icon, .bz-panel-head h3 .icon { width: 1.1em; height: 1.1em; color: var(--muted); }
.bz-panel-head p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; flex-basis: 100%; }
.bz-panel-body { padding: 1.15rem 1.25rem 1.25rem; }
.bz-panel-body > :last-child { margin-bottom: 0; }
.bz-panel-foot { padding: .9rem 1.25rem; border-top: 1px solid var(--bz-line); background: var(--surface-2); border-radius: 0 0 var(--bz-radius) var(--bz-radius); }
.bz-count { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .45em; border-radius: 999px;
  background: var(--bg-alt); color: var(--text-2); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Toolbar: segmented views + search ---------- */
.bz-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--bz-line); }
.bz-seg { display: inline-flex; flex-wrap: wrap; gap: .2rem; padding: .25rem; border-radius: 12px; background: var(--bg-alt); }
.bz-seg a { display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: 0 .75rem; border-radius: 9px;
  color: var(--text-2); font-size: .88rem; font-weight: 600; text-decoration: none; }
.bz-seg a:hover { color: var(--text); }
.bz-seg a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.bz-seg a[aria-current="page"] .bz-count { background: var(--brand-soft); color: var(--brand); }
.bz-search { position: relative; flex: 0 1 300px; display: flex; gap: .4rem; }
.bz-search .icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.bz-search .input { padding-left: 2.3rem; min-height: 40px; border-radius: 10px; }
@media (max-width: 640px) { .bz-search { flex-basis: 100%; } }

/* ---------- Locations table ---------- */
.bz-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.bz-table th { padding: .7rem .75rem; text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--bz-line); white-space: nowrap; }
.bz-table td { padding: .85rem .75rem; border-bottom: 1px solid var(--bz-line); vertical-align: middle; }
.bz-table tbody tr:last-child td { border-bottom: 0; }
.bz-table tbody tr { transition: background var(--speed) var(--ease); }
.bz-table tbody tr:hover { background: var(--surface-2); }
.bz-table tbody tr.is-selected { background: color-mix(in srgb, var(--brand-soft) 70%, transparent); }
.bz-table .bz-col-check { width: 44px; padding-right: 0; }
.bz-table .bz-col-actions { text-align: right; white-space: nowrap; padding-right: 1.1rem; }
.bz-table .bz-col-loc { width: 100%; max-width: 0; }          /* takes the spare width; long names/addresses get "…" */
.bz-check { display: inline-grid; place-items: center; width: 24px; height: 24px; }
.bz-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.bz-loc { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.bz-loc-tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: hsl(var(--h, 340) var(--tile-c) var(--tile-l)); color: hsl(var(--h, 340) 55% var(--tile-ink-l)); }
.bz-loc-tile .icon { width: 19px; height: 19px; }
.bz-loc-text { min-width: 0; display: flex; flex-direction: column; }
.bz-loc-text strong, .bz-loc-text .bz-loc-link { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-loc-text span { font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-rate { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bz-rate strong { font-weight: 700; }
.bz-rate .icon { width: 15px; height: 15px; color: var(--star); }
.bz-meter { display: flex; align-items: center; gap: .5rem; min-width: 96px; }
.bz-meter-track { flex: 1; height: 6px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.bz-meter-fill { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.bz-meter-fill.is-full { background: var(--ok); }
.bz-meter span:last-child { font-size: .82rem; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }
.bz-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap;
  background: var(--bg-alt); color: var(--text-2); }
.bz-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bz-pill-live { background: var(--ok-soft); color: var(--ok); }
.bz-pill-removed { background: var(--bg-alt); color: var(--muted); }
.bz-pill-pending { background: var(--warn-soft); color: var(--warn); }
.bz-pill-rejected, .bz-pill-revoked { background: var(--danger-soft); color: var(--danger); }
.bz-actions { display: inline-flex; gap: .35rem; justify-content: flex-end; }
.bz-actions form { margin: 0; }
.bz-btn-sm { min-height: 36px; padding: 0 .8rem; border-radius: 9px; font-size: .86rem; }
.bz-table-wrap { overflow-x: auto; }
.bz-empty { padding: 2.5rem 1.25rem; text-align: center; color: var(--muted); }
.bz-empty .icon { width: 34px; height: 34px; margin-bottom: .4rem; color: var(--border-strong); }
.bz-empty h3 { color: var(--text); margin: 0 0 .3rem; font-size: 1.05rem; }
.bz-empty p { margin: 0 auto .9rem; max-width: 44ch; }
/* phones: each row becomes a card */
@media (max-width: 760px) {
  .bz-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bz-table, .bz-table tbody, .bz-table tr, .bz-table td { display: block; width: 100%; }
  .bz-table tr { position: relative; padding: .85rem 1rem .85rem 3.1rem; border-bottom: 1px solid var(--bz-line); }
  .bz-table tbody tr:last-child { border-bottom: 0; }
  .bz-table td { padding: .2rem 0; border: 0; }
  .bz-table td.bz-col-check { position: absolute; left: .9rem; top: 1.05rem; width: auto; }
  .bz-table td[data-label] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .88rem; }
  .bz-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 600; font-size: .8rem; }
  .bz-table .bz-col-actions { text-align: left; padding-top: .55rem; }
  .bz-table .bz-col-actions .bz-actions { justify-content: flex-start; }
  .bz-table .bz-col-loc { max-width: none; }
  .bz-loc-text strong, .bz-loc-text .bz-loc-link, .bz-loc-text span { white-space: normal; }
  .bz-meter { min-width: 0; flex: 0 1 180px; }
}

/* ---------- Bulk action bar ---------- */
.bz-bulkbar { position: sticky; bottom: 1rem; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem;
  margin: 0 .75rem .75rem; padding: .7rem .8rem .7rem 1.1rem; border-radius: 14px; background: var(--bz-ink); color: var(--bz-on-ink);
  box-shadow: 0 18px 40px -16px rgba(11, 18, 32, .55); }
.bz-bulkbar p { margin: 0; font-weight: 600; font-size: .93rem; }
.bz-bulkbar p span { color: var(--bz-on-ink-2); font-weight: 500; }
.bz-bulkbar .btn-row { gap: .4rem; }
.bz-bulkbar .btn { min-height: 38px; padding: 0 .9rem; border-radius: 10px; font-size: .88rem; }
.bz-bulkbar .btn-ghost { color: var(--bz-on-ink); }
.bz-bulkbar .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.bz-bulkbar .bz-btn-light { background: #fff; color: #0b1220; }
.bz-bulkbar .bz-btn-light:hover { background: #eef1f6; color: #0b1220; }
.bz-bulkbar .bz-btn-danger { background: transparent; color: #ffb4b4; border: 1px solid rgba(255, 180, 180, .45); }
.bz-bulkbar .bz-btn-danger:hover { background: rgba(255, 120, 120, .14); color: #fff; }
@media (max-width: 520px) {
  .bz-bulkbar { margin: 0 .5rem .5rem; padding: .7rem; }
  .bz-bulkbar .btn-row { flex-wrap: nowrap; width: 100%; }
  .bz-bulkbar .btn { flex: 1 1 auto; padding: 0 .6rem; }
  .bz-bulkbar .btn-ghost { flex: 0 0 auto; }
}
.bz-bulkbar.is-idle { display: none; }            /* (only with JavaScript: shown once something is ticked) */

/* ---------- Side panels ---------- */
.bz-list { list-style: none; margin: 0; padding: 0; }
.bz-list > li { display: flex; align-items: flex-start; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--bz-line); }
.bz-list > li:first-child { padding-top: 0; }
.bz-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.bz-list-main { flex: 1; min-width: 0; }
.bz-list-main strong { display: block; font-size: .93rem; }
.bz-list-main span { font-size: .84rem; color: var(--muted); }
.bz-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.bz-chip { padding: .12rem .5rem; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--warn-soft); color: var(--warn); }
.bz-domain { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: .84rem; }
.bz-domain .icon { width: 15px; height: 15px; }

/* ---------- Forms (edit / bulk / remove / claim) ---------- */
.bz-form .field-label { font-weight: 650; }
.bz-section { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1rem 2rem; padding: 1.4rem 1.25rem; border-bottom: 1px solid var(--bz-line); }
.bz-section:last-of-type { border-bottom: 0; }
.bz-section-intro h2 { margin: 0 0 .3rem; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.bz-section-intro h2 .icon { width: 1.1em; height: 1.1em; color: var(--muted); }
.bz-section-intro p { margin: 0; color: var(--muted); font-size: .88rem; }
.bz-section-fields > .field:last-child, .bz-section-fields > .field-row:last-child .field { margin-bottom: 0; }
@media (max-width: 760px) { .bz-section { grid-template-columns: 1fr; gap: .8rem; } }
.bz-savebar { position: sticky; bottom: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem;
  padding: .85rem 1.25rem; border-top: 1px solid var(--bz-line); background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); border-radius: 0 0 var(--bz-radius) var(--bz-radius); }
.bz-savebar p { margin: 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.bz-savebar p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.bz-savebar.is-dirty p { color: var(--text); font-weight: 600; }
.bz-savebar.is-dirty p::before { background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.bz-counter { display: block; margin-top: .3rem; text-align: right; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* bulk: a switch per field */
.bz-apply { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--bz-line); border-radius: 14px; margin: 0 0 1rem; padding: 0; overflow: hidden; }
.bz-apply-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; background: var(--surface-2); cursor: pointer; }
.bz-apply-head strong { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.bz-apply-head strong .icon { width: 1.05em; height: 1.05em; color: var(--muted); }
.bz-apply-head small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.bz-switch { position: relative; flex: none; width: 46px; height: 28px; }
.bz-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.bz-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--border-strong); transition: background var(--speed) var(--ease); }
.bz-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform var(--speed) var(--ease); }
.bz-switch input:checked + span { background: var(--brand); }
.bz-switch input:checked + span::after { transform: translateX(18px); }
.bz-switch input:focus-visible + span { box-shadow: var(--focus-ring); }
.bz-apply-body { padding: 1rem 1rem .2rem; border-top: 1px solid var(--bz-line); }
.bz-apply.is-on { border-color: color-mix(in srgb, var(--brand) 45%, var(--bz-line)); box-shadow: 0 0 0 3px var(--brand-soft); }

/* removal reasons as cards */
.bz-reasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .6rem; margin: 0; padding: 0; border: 0; }
.bz-reason { position: relative; display: flex; gap: .7rem; padding: .85rem .95rem; border: 1px solid var(--bz-line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.bz-reason input { margin: .2rem 0 0; accent-color: var(--danger); width: 18px; height: 18px; flex: none; }
.bz-reason strong { display: block; font-size: .93rem; }
.bz-reason span span { font-size: .83rem; color: var(--muted); }
.bz-reason:has(input:checked) { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.bz-reason:has(input:focus-visible) { box-shadow: var(--focus-ring); }

.bz-danger { border-color: color-mix(in srgb, var(--danger) 35%, var(--bz-line)); }
.bz-danger .bz-panel-head h2 .icon, .bz-danger .bz-panel-head h3 .icon { color: var(--danger); }
.bz-callout { display: flex; gap: .75rem; padding: .9rem 1rem; border-radius: 12px; background: var(--bg-alt); font-size: .9rem; }
.bz-callout .icon { flex: none; width: 20px; height: 20px; margin-top: .05rem; color: var(--info); }
.bz-callout p { margin: 0; }
.bz-callout-ok { background: var(--ok-soft); } .bz-callout-ok .icon { color: var(--ok); }
.bz-callout-warn { background: var(--warn-soft); } .bz-callout-warn .icon { color: var(--warn); }
.bz-callout-danger { background: var(--danger-soft); } .bz-callout-danger .icon { color: var(--danger); }

/* ---------- Live preview ---------- */
.bz-preview { padding: 1.1rem 1.15rem; border-radius: 14px; border: 1px solid var(--bz-line); background: var(--bg); }
.bz-preview-name { margin: 0 0 .35rem; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.bz-preview .verified-badge { margin-left: 0; }
.bz-preview-rate { margin: 0 0 .7rem; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.bz-preview-bio { margin: 0 0 .8rem; font-size: .9rem; color: var(--text-2); white-space: pre-line; }
.bz-preview ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .88rem; }
.bz-preview li { display: flex; gap: .55rem; align-items: flex-start; }
.bz-preview li .icon { flex: none; width: 16px; height: 16px; margin-top: .15rem; color: var(--muted); }
.bz-preview .is-empty { color: var(--muted); font-style: italic; }

/* ---------- History timeline ---------- */
.bz-timeline { list-style: none; margin: 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--bz-line); }
.bz-timeline li { position: relative; padding: 0 0 1rem .9rem; font-size: .88rem; }
.bz-timeline li:last-child { padding-bottom: 0; }
.bz-timeline li::before { content: ""; position: absolute; left: -1.55rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); }
.bz-timeline strong { display: block; }
.bz-timeline span { color: var(--muted); }
.bz-timeline .bz-was { display: block; margin-top: .15rem; color: var(--text-2); overflow-wrap: anywhere; }

/* ---------- Business sign-in pages (split screen) ---------- */
.bz-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); max-width: 1080px; margin: 1.5rem auto 0; border-radius: var(--bz-radius-lg);
  overflow: hidden; border: 1px solid var(--bz-line); background: var(--surface); box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .35); }
.bz-auth-aside { position: relative; padding: clamp(1.75rem, 4vw, 3rem); color: var(--bz-on-ink); isolation: isolate;
  background: radial-gradient(700px 360px at 110% -10%, rgba(214, 0, 59, .45), transparent 60%),
              radial-gradient(600px 380px at -20% 120%, rgba(56, 97, 222, .45), transparent 60%), var(--bz-ink); }
.bz-auth-aside .bz-brand { color: #fff; margin-bottom: 2.25rem; }
.bz-auth-aside .bz-brand-text span { color: var(--bz-on-ink-2); }
.bz-auth-aside h2 { color: #fff; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1.2; margin: 0 0 .8rem; }
.bz-auth-aside p { color: var(--bz-on-ink-2); margin: 0 0 1.6rem; }
.bz-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.bz-ticks li { display: flex; gap: .7rem; align-items: flex-start; color: #eef1f7; font-size: .95rem; }
.bz-ticks li .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #9ff0c6; }
.bz-auth-aside .bz-fine { margin: 2rem 0 0; font-size: .82rem; color: #aeb7c9; }
.bz-auth-aside a { color: #fff; }
.bz-auth-main { padding: clamp(1.5rem, 4vw, 3rem); }
.bz-auth-main h1 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin: 0 0 .35rem; }
.bz-auth-main .auth-lead { margin-bottom: 1.4rem; }
.bz-auth-main .auth-alt { text-align: left; }
.bz-steps-mini { display: flex; gap: .4rem; margin: 0 0 1.1rem; }
.bz-steps-mini span { height: 4px; flex: 1; border-radius: 999px; background: var(--bg-alt); }
.bz-steps-mini span.is-done { background: var(--brand); }
@media (max-width: 880px) {
  .bz-auth { grid-template-columns: 1fr; margin-top: 1rem; }
  .bz-auth-aside { padding: 1.4rem 1.4rem 1.5rem; }
  .bz-auth-aside .bz-brand { margin-bottom: 1rem; }
  .bz-auth-aside h2 { font-size: 1.25rem; }
  .bz-auth-aside p, .bz-auth-aside .bz-ticks, .bz-auth-aside .bz-fine { display: none; }
}

/* ---------- Landing page ---------- */
.bz-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 2.5rem;
  margin-top: 1.5rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 28px; color: var(--bz-on-ink); overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 480px at 100% -20%, rgba(214, 0, 59, .5), transparent 60%),
              radial-gradient(700px 420px at -10% 130%, rgba(56, 97, 222, .5), transparent 60%), var(--bz-ink); }
.bz-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%); }
.bz-hero .bz-eyebrow { color: #ffb3c4; }
.bz-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 1.1rem; }
.bz-hero h1 em { font-style: normal; background: linear-gradient(90deg, #ff8fab, #b9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bz-hero-lead { color: var(--bz-on-ink-2); font-size: 1.12rem; max-width: 52ch; margin: 0 0 1.8rem; }
.bz-hero .btn-row { gap: .6rem; }
.bz-hero .btn-light { background: #fff; color: #0b1220; }
.bz-hero .btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.bz-hero .btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.bz-hero-note { margin: 1.2rem 0 0; font-size: .86rem; color: #aeb7c9; display: flex; align-items: center; gap: .45rem; }
.bz-hero-note .icon { width: 16px; height: 16px; color: #9ff0c6; }
/* product preview (decorative) */
.bz-mock { position: relative; padding: 1rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
.bz-mock-bar { display: flex; gap: .35rem; margin-bottom: .8rem; }
.bz-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.bz-mock-card { padding: 1rem 1.1rem; border-radius: 14px; background: #fff; color: #17171c; }
.bz-mock-card + .bz-mock-card { margin-top: .6rem; }
.bz-mock-title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-weight: 800; font-size: 1.02rem; margin: 0 0 .3rem; }
.bz-mock-title .verified-badge { margin-left: 0; background: #eaf1fd; color: #1f5fbf; }
.bz-mock-row { display: flex; align-items: center; gap: .45rem; font-size: .84rem; color: #5c5c66; margin: .2rem 0 0; }
.bz-mock-row .icon { width: 14px; height: 14px; }
.bz-mock-stars { color: #f2a20c; letter-spacing: 1px; }
.bz-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.bz-mock-kpis div { padding: .65rem .7rem; border-radius: 12px; background: #fff; color: #17171c; }
.bz-mock-kpis b { display: block; font-size: 1.2rem; letter-spacing: -.02em; }
.bz-mock-kpis span { font-size: .72rem; color: #5c5c66; font-weight: 600; }
.bz-mock-toast { position: absolute; right: -10px; bottom: -14px; display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; border-radius: 12px;
  background: #0f7a46; color: #fff; font-size: .84rem; font-weight: 700; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.bz-mock-toast .icon { width: 16px; height: 16px; }
@media (max-width: 920px) { .bz-hero { grid-template-columns: 1fr; } .bz-mock-toast { right: 8px; } }

.bz-section-title { max-width: 680px; margin: 4rem auto 2rem; text-align: center; }
.bz-section-title h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); margin: 0 0 .6rem; }
.bz-section-title p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.bz-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.bz-feature { padding: 1.4rem; border-radius: var(--bz-radius); border: 1px solid var(--bz-line); background: var(--surface); box-shadow: var(--bz-shadow); }
.bz-feature-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.bz-feature-icon .icon { width: 22px; height: 22px; }
.bz-feature h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.bz-feature p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .bz-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bz-features { grid-template-columns: 1fr; } }

.bz-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; counter-reset: bzstep; }
.bz-flow li { position: relative; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--bz-radius); background: var(--bg-alt); counter-increment: bzstep; }
.bz-flow li::before { content: counter(bzstep, decimal-leading-zero); display: block; margin-bottom: .8rem; font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--brand); }
.bz-flow h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.bz-flow p { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (max-width: 800px) { .bz-flow { grid-template-columns: 1fr; } }

.bz-faq { max-width: 820px; margin: 0 auto; display: grid; gap: .6rem; }
.bz-faq details { border: 1px solid var(--bz-line); border-radius: 14px; background: var(--surface); }
.bz-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; list-style: none; }
.bz-faq summary::-webkit-details-marker { display: none; }
.bz-faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform var(--speed) var(--ease); }
.bz-faq details[open] summary::after { transform: rotate(45deg); }
.bz-faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--text-2); }

.bz-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 4rem; padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: 24px; color: #fff; background: linear-gradient(120deg, #b8002f, #6d1bc4); }
.bz-cta h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.bz-cta p { margin: 0; color: #f6dce6; }
.bz-cta .btn-light { background: #fff; color: #17171c; }

/* ---------- Claim ---------- */
.bz-match { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .2rem 0 1rem; }
.bz-match-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 10px; background: var(--bg-alt); font-weight: 700; font-size: .9rem; }
.bz-match-chip .icon { width: 16px; height: 16px; color: var(--muted); }
.bz-match-link { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt); color: var(--muted); }
.bz-match-link.is-ok { background: var(--ok-soft); color: var(--ok); }
.bz-match-link .icon { width: 16px; height: 16px; }
.bz-results { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.bz-result { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .9rem 1rem; border: 1px solid var(--bz-line); border-radius: 14px; background: var(--surface); }
.bz-result:hover { border-color: var(--border-strong); }
.bz-result .bz-loc { flex: 1 1 260px; }
.bz-bigsearch { display: flex; gap: .5rem; max-width: 640px; }
.bz-bigsearch .bz-search { flex: 1 1 auto; }
.bz-bigsearch .input { min-height: 52px; font-size: 1.02rem; border-radius: 14px; }
.bz-bigsearch .btn { min-height: 52px; border-radius: 14px; }

/* ---------- High contrast option ---------- */
.a11y-contrast .bz-hero, .a11y-contrast .bz-auth-aside, .a11y-contrast .bz-cta, .a11y-contrast .bz-bulkbar { background: #000; border: 2px solid #fff; }
.a11y-contrast .bz-hero::after { display: none; }
.a11y-contrast .bz-hero h1 em { background: none; color: #ffe600; }
.a11y-contrast .bz-panel, .a11y-contrast .bz-kpi, .a11y-contrast .bz-feature, .a11y-contrast .bz-appbar { border: 2px solid #fff; box-shadow: none; }
.a11y-contrast .bz-meter-fill { background: #ffe600; }
@media (prefers-reduced-motion: reduce) { .bz-table tbody tr, .bz-switch span, .bz-switch span::after { transition: none; } }
.bz-mock-first { margin-top: .6rem; }
.bz-list .bz-was { display: block; margin-top: .25rem; font-size: .84rem; color: var(--text-2); }
.bz-loc-text .bz-why { display: flex; align-items: center; gap: .3rem; margin-top: .2rem; font-size: .8rem; color: var(--muted); white-space: normal; }
.bz-why .icon { width: 13px; height: 13px; flex: none; }
.bz-panel-body .h3, .bz-panel-body h2.h3 { font-size: 1rem; margin: 1.3rem 0 .6rem; }
.bz-results-panel { margin-top: 1.5rem; }
.bz-panel-body .error-summary, .bz-panel-body .flash { margin-bottom: 1.1rem; }
.bz-panel-body .bz-callout { margin-bottom: 1.1rem; }
.bz-panel-body .bz-list + .field, .bz-panel-body fieldset.field { margin-top: 1.25rem; }
.page-biz .flash { max-width: var(--container); }


.bz-loc-link { font-weight: 700; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-loc-link:hover { color: var(--brand); text-decoration: underline; }
.bz-table .bz-icon-btn { width: 36px; height: 36px; border-radius: 9px; }
.bz-table .bz-col-actions .bz-btn-sm { min-height: 36px; }
@media (max-width: 760px) { .bz-loc-link { white-space: normal; } }

.bz-section-fields .field { margin-bottom: 1.15rem; }
.bz-section-fields .field-row .field { margin-bottom: 1.15rem; }
.bz-table .bz-col-actions { width: 1%; }

.bz-form .field-row { align-items: end; }
.bz-form .field-row .field-label { white-space: nowrap; }
