/* VossAI app screens: login, dashboard and the public agent card.
   Builds on site.css tokens. No yellow or gold (see CLAUDE.md). */

[hidden] { display: none !important; }

/* ── Auth ───────────────────────────────────────────── */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--ink) center/cover no-repeat; position: relative; }
.auth::before { content: ''; position: absolute; inset: 0; background: rgba(6,8,12,.72); }
.auth-box { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 24px; padding: 34px 30px; box-shadow: 0 30px 80px rgba(0,0,0,.45); display: grid; gap: 16px; }
.auth-box .logo { font-size: 24px; text-align: center; }
.auth-box h1 { font: 800 26px/1.2 var(--f-display); letter-spacing: -0.02em; text-align: center; }
.auth-box > p { color: var(--muted); text-align: center; }
.steps-dots { display: flex; justify-content: center; gap: 8px; }
.steps-dots span { font: 700 12px/1 var(--f-body); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.steps-dots span b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--muted); font-size: 11px; }
.steps-dots span.on { color: var(--text); }
.steps-dots span.on b { background: var(--accent); color: #fff; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--muted); }
.trust span::before { content: '✓ '; color: var(--accent); font-weight: 800; }
.msg { font-size: 14px; font-weight: 600; text-align: center; }
.msg.ok { color: var(--ok); }
.msg.err { color: #c2412d; }
.slug-row { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 11px; overflow: hidden; }
.slug-row span { padding: 13px 0 13px 14px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.slug-row input { border: 0 !important; padding-left: 2px !important; min-width: 0; }
.slug-row:focus-within { border-color: var(--accent); }
.hint { font-size: 13px; color: var(--muted); }
.hint.ok { color: var(--ok); }
.hint.err { color: #c2412d; }

/* ── Dashboard ──────────────────────────────────────── */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; background: var(--soft); }
.side { background: #fff; border-right: 1px solid var(--line); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.side .logo { padding: 0 10px 18px; }
.side button { all: unset; box-sizing: border-box; cursor: pointer; padding: 11px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; display: flex; gap: 10px; align-items: center; }
.side button:hover { background: var(--soft); color: var(--text); }
.side button[aria-current="page"] { background: var(--ink); color: #fff; }
.side button:focus-visible { outline: 2px solid var(--accent); }
.side .grow { flex: 1; }
.side .me { font-size: 13px; color: var(--muted); padding: 10px 12px; border-top: 1px solid var(--line); word-break: break-all; }
.main { padding: 28px clamp(16px, 3vw, 40px) 120px; min-width: 0; }
.main section { padding-block: 0; }
.topbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.topbar h1 { font: 800 28px/1.15 var(--f-display); letter-spacing: -0.02em; }
.topbar .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.topbar .btn { padding: 11px 18px; font-size: 14px; }
.banner { background: var(--accent-soft); color: #1d3f8f; border-radius: 14px; padding: 14px 16px; font-size: 14.5px; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 16px; margin-bottom: 18px; }
.panel h2 { font: 800 18px/1.2 var(--f-display); letter-spacing: -0.01em; }
.panel > p.sub { color: var(--muted); font-size: 14px; margin-top: -10px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.field textarea { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 16px; min-height: 120px; resize: vertical; }
.field textarea:focus { border-color: var(--accent); outline: none; }
.photo-pick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.photo-pick img, .photo-pick .ph { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--soft); border: 1px solid var(--line); }
.photo-pick.wide img, .photo-pick.wide .ph { width: 200px; height: 84px; border-radius: 12px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { width: 36px; height: 36px; border-radius: 50%; cursor: pointer; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.swatches input { position: absolute; opacity: 0; }
.swatches label:has(input:checked) { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--text); }
.rows { display: grid; gap: 10px; }
.row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.row.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; }
.row input, .row select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; background: #fff; color: var(--text); }
.row input:focus, .row select:focus { border-color: var(--accent); outline: none; }
.mini-actions { display: flex; gap: 4px; }
.icon-btn { all: unset; box-sizing: border-box; cursor: pointer; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.icon-btn:hover { background: var(--soft); color: var(--text); }
.icon-btn.danger:hover { color: #c2412d; }
.icon-btn:focus-visible { outline: 2px solid var(--accent); }
.add-btn { justify-self: start; }
.savebar { position: fixed; left: 240px; right: 0; bottom: 0; padding: 14px clamp(16px, 3vw, 40px) calc(14px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; justify-content: space-between; z-index: 10; }
.savebar span { font-size: 14px; color: var(--muted); }
.savebar .btn { padding: 12px 22px; }
.l-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.l-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; }
.l-card .ph { height: 140px; background: var(--soft) center/cover; position: relative; }
.l-card .ph b { position: absolute; top: 10px; left: 10px; background: #fff; font-size: 11px; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.l-card .bd { padding: 12px 14px; display: grid; gap: 2px; }
.l-card .bd strong { font: 800 17px/1.2 var(--f-display); }
.l-card .bd span { font-size: 13.5px; color: var(--muted); }
.l-card .ft { display: flex; justify-content: flex-end; gap: 4px; padding: 0 8px 8px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs div { width: 86px; height: 64px; border-radius: 8px; background: var(--soft) center/cover; position: relative; }
.thumbs button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; font-size: 12px; }
.dialog { position: fixed; inset: 0; background: rgba(6,8,12,.55); display: grid; place-items: center; padding: 16px; z-index: 30; }
.dialog[hidden] { display: none; }
.dialog .panel { width: 100%; max-width: 620px; max-height: 90vh; overflow: auto; margin: 0; }
.lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.lead:first-child { border-top: 0; }
.lead b { font-size: 16px; }
.lead .meta { font-size: 13.5px; color: var(--muted); }
.lead .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lead .tags span { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: var(--accent-soft); color: #1d55c9; }
.lead details { grid-column: 1 / -1; }
.lead details summary { cursor: pointer; font-size: 13.5px; color: var(--accent); font-weight: 600; }
.stat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stat-tiles strong { display: block; font: 800 32px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-tiles span { font-size: 13px; color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; padding-top: 10px; }
.bars div { flex: 1; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; opacity: .85; }
.src-list { display: grid; gap: 8px; }
.src-list div { display: flex; justify-content: space-between; font-size: 14.5px; border-bottom: 1px solid var(--line); padding-bottom: 8px; font-variant-numeric: tabular-nums; }
.sig-opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sig-preview img { max-width: none; height: 88px; }
.sig-preview { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; overflow-x: auto; }
.sig-help { font-size: 14px; color: var(--muted); }
.sig-help summary { cursor: pointer; font-weight: 600; color: var(--text); }
.sig-help p { margin-top: 8px; }
.share-link { display: flex; gap: 8px; align-items: center; min-width: 0; }
.share-link code { flex: 1; min-width: 0; background: var(--soft); border-radius: 10px; padding: 12px; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#qr-box { width: 200px; height: 200px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
#qr-box img, #qr-box canvas { width: 100% !important; height: 100% !important; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 40; }
.toast[hidden] { display: none; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.mobile-tabs { display: none; }
.mobile-top { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .mobile-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px 0; background: #fff; }
  .mobile-top .logo { font-size: 18px; }
  .mobile-top .mobile-me { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--muted); text-align: right; }
  .mobile-top button { all: unset; cursor: pointer; flex: none; font-size: 13.5px; font-weight: 700; padding: 8px 12px; border-radius: 99px; border: 1.5px solid var(--line); color: var(--text); }
  .mobile-top button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .mobile-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 12; }
  .mobile-tabs button { all: unset; cursor: pointer; padding: 9px 13px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; }
  .mobile-tabs button[aria-current="page"] { background: var(--ink); color: #fff; }
  .savebar { left: 0; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .row, .row.two { grid-template-columns: minmax(0, 1fr) auto; }
  .row > :first-child { grid-column: 1 / -1; }
}

/* ── Public agent card (/c/name) ────────────────────── */
.vc { --c: #0b0d12; max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; padding-bottom: 96px; }
.vc-hero { height: 210px; background: var(--c) center/cover no-repeat; }
.vc-head { text-align: center; padding: 0 20px; margin-top: -62px; display: grid; gap: 8px; justify-items: center; }
.vc-av { width: 124px; height: 124px; border-radius: 50%; border: 5px solid #fff; object-fit: cover; background: var(--soft); box-shadow: 0 8px 22px rgba(0,0,0,.15); position: relative; }
.vc-av-wrap { position: relative; }
.vc-av-wrap .vc-check { position: absolute; right: 6px; bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.vc h1 { font: 800 28px/1.15 var(--f-display); letter-spacing: -0.02em; }
.vc-title { color: var(--muted); font-size: 15px; }
.vc-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 4px 0; }
.vc-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none; font: 800 13px/1 var(--f-body); }
.vc-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px 20px 0; }
.vc-actions a { display: grid; justify-items: center; gap: 4px; padding: 12px 0; border-radius: 14px; background: var(--c); color: #fff; text-decoration: none; font: 700 12.5px/1 var(--f-body); }
.vc-actions a span { font-size: 18px; line-height: 1; }
.vc-save { margin: 12px 20px 0; display: block; text-align: center; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; color: var(--text); }
.vc-sec { padding: 26px 20px 0; display: grid; gap: 12px; }
.vc-sec h2 { font: 800 19px/1.2 var(--f-display); }
.vc-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.vc-tabs button { all: unset; cursor: pointer; padding: 8px 14px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--muted); }
.vc-tabs button[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.vc-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 6px; }
.vc-home { flex: none; width: 82%; scroll-snap-align: start; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit; background: #fff; }
.vc-home .ph { height: 180px; background: var(--soft) center/cover; position: relative; }
.vc-home .ph b { position: absolute; top: 10px; left: 10px; background: #fff; font-size: 11px; padding: 4px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.vc-home .bd { padding: 12px 14px; }
.vc-home strong { font: 800 19px/1.2 var(--f-display); display: block; }
.vc-home span { font-size: 13.5px; color: var(--muted); }
.vc-bio { color: #2c323d; white-space: pre-line; }
.vc-links { display: grid; gap: 10px; }
.vc-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: var(--soft); text-decoration: none; color: var(--text); font-weight: 700; }
.vc-links a::after { content: '→'; color: var(--muted); }
.vc-form { display: grid; gap: 10px; background: var(--soft); border-radius: 18px; padding: 18px; }
.vc-form input, .vc-form textarea { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1.5px solid var(--line); font: inherit; font-size: 16px; background: #fff; }
.vc-form textarea { min-height: 90px; resize: vertical; }
.vc-form .btn { background: var(--c); color: #fff; width: 100%; }
.vc-qr { display: grid; justify-items: center; gap: 10px; }
.vc-qr #vc-qr { width: 190px; height: 190px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.vc-qr #vc-qr img, .vc-qr #vc-qr canvas { width: 100% !important; height: 100% !important; }
.vc-certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.vc-certs span { font: 700 11px/1 var(--f-body); letter-spacing: .08em; padding: 6px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); background: #fff; }
.vc-facts { display: grid; gap: 10px; margin-top: 14px; }
.vc-facts dt { font: 700 11px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vc-facts dd { margin: 3px 0 0; font-size: 15px; }
.vc-more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--c); text-decoration: none; }
.vc-home .ph b.sold { background: #0b0d12; color: #fff; }
.vc-office { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.vc-office a { color: var(--muted); }
.vc-trec { display: grid; gap: 6px; font-size: 13px; text-align: center; }
.vc-trec a { color: var(--muted); }
.vc-foot { text-align: center; font-size: 12.5px; color: var(--muted); padding: 28px 20px 0; }
.vc-foot a { color: var(--text); font-weight: 700; text-decoration: none; }
.vc-stats { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 10; }
.vc-stats > div { max-width: 480px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.vc-stats div div { text-align: center; padding: 10px 0 12px; font-size: 10.5px; letter-spacing: .06em; color: #a3acba; text-transform: uppercase; }
.vc-stats strong { display: block; color: #fff; font: 800 19px/1.1 var(--f-display); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.vc-missing { max-width: 440px; margin: 0 auto; padding: 120px 20px; text-align: center; display: grid; gap: 14px; }

/* ── Plan & billing ─────────────────────────────────── */
.b-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.b-plan { position: relative; display: grid; gap: 6px; padding: 18px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff; }
.b-plan input { position: absolute; opacity: 0; }
.b-plan.on, .b-plan:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.b-plan:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.b-plan b { font: 800 18px/1.2 var(--f-display); }
.b-price { font: 800 30px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.b-price small { font: 600 14px/1 var(--f-body); color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.b-items { display: grid; gap: 10px; }
.b-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.b-item > div:first-child { display: grid; gap: 2px; }
.b-qty { display: flex; align-items: center; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }
.b-qty span { min-width: 18px; text-align: center; }
.b-summary .src-list div { font-size: 15px; }
.pill.warm { background: #fdecea; color: #b42318; }
@media (max-width: 700px) { .b-plans { grid-template-columns: 1fr; } }

/* ── Admin ──────────────────────────────────────────── */
.adm { min-height: 100vh; background: var(--soft); }
.adm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 14px clamp(16px, 3vw, 40px); background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 12; }
.adm-top .logo small { font: 600 13px/1 var(--f-body); color: var(--muted); margin-left: 6px; }
.adm-top nav { display: flex; gap: 6px; flex: 1; overflow-x: auto; }
.adm-top nav button { all: unset; cursor: pointer; padding: 9px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.adm-top nav button[aria-current="page"] { background: var(--ink); color: #fff; }
.adm-top nav button:focus-visible, .linkish:focus-visible, .attn:focus-visible, .fun:focus-visible, .tile-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.adm-me { font-size: 13px; color: var(--muted); }
.linkish { all: unset; cursor: pointer; color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.adm-table .linkish, .adm-order .linkish, .lead .linkish { text-decoration: none; }
.adm-table .linkish:hover b, .adm-order .linkish:hover b, .lead .linkish:hover b { color: var(--accent); }
.adm-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.adm-head input { width: min(320px, 100%); padding: 10px 11px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 14.5px; }
.adm-head input:focus { border-color: var(--accent); outline: none; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-sm { padding: 7px 13px !important; font-size: 13px !important; }
.meta { font-size: 13px; color: var(--muted); }

/* hero, like the Back Boss dashboard: photo, dark wash, a typed greeting */
.adm-hero { position: relative; border-radius: 18px; overflow: hidden; min-height: 210px; margin-bottom: 18px; background-size: cover; background-position: center 60%; }
.adm-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,8,12,.35), rgba(6,8,12,.7)); }
.adm-hero-in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 22px; gap: 10px; }
.adm-hero-title { font: 800 clamp(28px, 4.2vw, 46px)/1.08 var(--f-display); letter-spacing: -0.02em; color: #fff; min-height: 1.08em; }
.adm-hero-sub { font-size: clamp(15px, 1.8vw, 20px); font-weight: 500; color: rgba(255,255,255,.88); min-height: 1.3em; }
.adm-hero .typing::after { content: ''; display: inline-block; width: 2px; height: .8em; margin-left: 3px; background: rgba(255,255,255,.9); vertical-align: -0.05em; animation: adm-blink .85s step-end infinite; }
@keyframes adm-blink { 50% { opacity: 0; } }

/* needs attention */
.attn { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; width: 100%; padding: 12px 0; border-top: 1px solid var(--line); }
.attn:first-child { border-top: 0; }
.attn:hover b { color: var(--accent); }
.attn-who { display: grid; gap: 2px; }
.attn-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.attn-go { font-size: 22px; color: var(--muted); }
.flag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--soft); color: var(--text); margin-top: 4px; }
.flag i { font-style: normal; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #fff; }
.flag.high { background: #fdecea; color: #b42318; }
.flag.high i { background: #b42318; color: #fff; }
.flag.med { background: #e8f0ff; color: #1d55c9; }
.flag.med i { background: #1d55c9; color: #fff; }
.flag.low { color: var(--muted); }

/* tiles */
.adm-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.tile-btn { all: unset; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 4px; }
.tile-btn[data-goto] { cursor: pointer; }
.tile-btn[data-goto]:hover { border-color: var(--accent); }
.tile-btn strong { font: 800 30px/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile-btn span { font-size: 14px; font-weight: 600; }
.tile-btn small { font-size: 12.5px; color: var(--muted); }

/* charts */
.adm-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.adm-charts .panel { margin-bottom: 18px; align-content: start; }
.chart svg { width: 100%; height: 170px; display: block; overflow: visible; }
.chart text { font: 500 11px var(--f-body); fill: var(--muted); }
.chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .axis { stroke: #c9cfd8; stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart rect.hit { cursor: crosshair; }
.chart rect.hit:hover { fill: rgba(29,108,255,.06); }
.chart-total { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.chart-total b { font: 800 24px/1 var(--f-display); color: var(--text); margin-right: 4px; }
.chart-table summary { cursor: pointer; font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 8px; }
.chart-table table { min-width: 0; margin-top: 8px; }
.chart-tip { position: fixed; z-index: 60; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 7px 10px; border-radius: 8px; white-space: nowrap; }
.chart-tip[hidden] { display: none; }

/* funnel */
.fun { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 130px minmax(0, 1fr) 40px; gap: 12px; align-items: center; width: 100%; padding: 7px 0; font-size: 14px; }
.fun:hover .fun-l { color: var(--accent); }
.fun-bar { height: 14px; background: var(--soft); border-radius: 0 4px 4px 0; }
.fun-bar i { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.fun-n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.top-row { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; width: 100%; padding: 12px 0; border-top: 1px solid var(--line); }
.top-row:first-child { border-top: 0; }
.top-row:hover b { color: var(--accent); }

/* agents table */
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-chips button { all: unset; cursor: pointer; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.adm-chips button span { margin-left: 4px; opacity: .7; }
.adm-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.adm-chips button:focus-visible { outline: 2px solid var(--accent); }
.adm-scroll { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.adm-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.adm-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-table .pill { font-size: 11.5px; }
.adm-click tbody tr[data-open] { cursor: pointer; }
.adm-click tbody tr[data-open]:hover { background: var(--soft); }
.adm-click tbody tr[data-open]:focus-visible { outline: 2px solid var(--accent); }
.steps { display: inline-flex; gap: 4px; margin-bottom: 4px; }
.steps i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.steps i.on { background: var(--accent); }

/* orders */
.adm-order { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.adm-order:first-child { border-top: 0; }
.adm-ship { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 8px; }
.adm-ship select, .adm-ship input, .d-note input { padding: 10px 11px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 14.5px; background: #fff; color: var(--text); min-width: 0; }
.adm-ship select:focus, .adm-ship input:focus, .d-note input:focus { border-color: var(--accent); outline: none; }
.adm-ship .btn { padding: 10px 16px; font-size: 14px; }

/* agent drawer */
.drawer { position: fixed; inset: 0; z-index: 40; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(6,8,12,.45); }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; overflow-y: auto; padding: 26px 26px 60px; display: grid; gap: 12px; align-content: start; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.drawer-x { position: absolute; top: 14px; right: 14px; }
.drawer-panel h2 { font: 800 24px/1.2 var(--f-display); padding-right: 40px; }
.drawer-panel h3 { font: 800 15px/1.2 var(--f-display); margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.d-pills, .d-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.d-steps { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.d-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.d-steps li i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 12px; }
.d-steps li.on { color: var(--text); }
.d-steps li.on i { background: var(--accent); border-color: var(--accent); color: #fff; }
.d-steps li.next { color: var(--text); font-weight: 700; }
.d-steps li.next i { border-color: var(--accent); }
.d-facts { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 12px; font-size: 14.5px; }
.d-facts dt { color: var(--muted); }
.d-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft, #e8f0ff); }
.d-mls { display: grid; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.d-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.drawer-panel .adm-table { min-width: 0; }
#a-refund { z-index: 50; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.check[hidden] { display: none; }

/* support tab + admin link in the agent dashboard */
.support-bar { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px clamp(16px, 3vw, 40px); background: #1d55c9; color: #fff; font-size: 14px; }
.support-bar .btn { padding: 7px 14px; font-size: 13px; background: #fff; }
.side-link { padding: 11px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; }
.side-link:hover { background: var(--soft); color: var(--text); }
.side-link[hidden], .admin-link[hidden] { display: none; }
.mobile-tabs a { padding: 9px 13px; border-radius: 99px; font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; text-decoration: none; }

@media (max-width: 900px) {
  .adm-tiles { grid-template-columns: 1fr 1fr; }
  .adm-charts { grid-template-columns: 1fr; }
  .adm-order { grid-template-columns: 1fr 1fr; }
  .adm-ship { grid-column: 1 / -1; }
  .attn { grid-template-columns: minmax(0, 1fr) auto; }
  .attn-flags { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 520px) {
  .adm-order { grid-template-columns: 1fr; }
  .adm-me { display: none; }
  .fun { grid-template-columns: 100px minmax(0, 1fr) 32px; }
  .d-facts { grid-template-columns: 100px minmax(0, 1fr); }
  .drawer-panel { padding: 22px 16px 60px; }
}

/* ── MLS (dashboard) ───────────────────────────────── */
.mls-panel .adm-head h2 { margin: 0; }
.mls-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.mls-form select { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 16px; }
.mls-form select:focus { border-color: var(--accent); outline: none; }
.mls-note { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); font-size: 14.5px; }
.mls-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.mls-counts span { padding: 7px 12px; border-radius: 99px; background: var(--soft); font-size: 14px; }
.mls-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.mls-card .ph i { position: absolute; top: 10px; right: 10px; font: 800 10.5px/1 var(--f-body); letter-spacing: .08em; font-style: normal; background: rgba(11,13,18,.78); color: #fff; padding: 5px 7px; border-radius: 6px; }
.l-head { font: 800 18px/1.2 var(--f-display); margin: 6px 0 12px; }
@media (max-width: 700px) { .mls-form { grid-template-columns: 1fr; } }

/* ── MLS (public card) ─────────────────────────────── */
button.vc-home { all: unset; box-sizing: border-box; flex: none; width: 82%; scroll-snap-align: start; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; }
button.vc-home:focus-visible { outline: 2px solid var(--c, var(--accent)); outline-offset: 2px; }
.vc-mls-note { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.vc-sheet { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; justify-items: center; }
.vc-sheet-bg { position: absolute; inset: 0; background: rgba(6,8,12,.6); }
.vc-sheet-box { position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; }
@media (min-width: 700px) { .vc-sheet { align-items: center; } .vc-sheet-box { border-radius: 22px; } }
.vc-sheet-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(11,13,18,.72); color: #fff; font-size: 16px; cursor: pointer; }
.vc-sheet-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 4px; background: var(--soft); }
.vc-sheet-photos img { flex: none; width: 100%; height: 280px; object-fit: cover; scroll-snap-align: start; }
.vc-sheet-bd { padding: 20px 22px 26px; display: grid; gap: 8px; }
.vc-sheet-st { font: 800 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vc-sheet-bd h3 { font: 800 28px/1.1 var(--f-display); letter-spacing: -0.02em; }
.vc-sheet-addr { font-size: 16px; font-weight: 600; }
.vc-sheet-facts { font-size: 14.5px; color: var(--muted); }
.vc-sheet-rm { font-size: 15px; line-height: 1.6; }
.vc-sheet-ask { justify-self: stretch; text-align: center; background: var(--c, var(--ink)); color: #fff; margin-top: 6px; }

/* ── Teams (dashboard) ─────────────────────────────── */
.team-points { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; }
.team-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.team-tiles div { background: var(--soft); border-radius: 14px; padding: 14px; }
.team-tiles strong { display: block; font: 800 26px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.team-tiles span { font-size: 13px; color: var(--muted); }
#t-invite textarea { width: 100%; padding: 13px 14px; border-radius: 11px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; resize: vertical; }
#t-invite textarea:focus { border-color: var(--accent); outline: none; }
.t-h3 { font: 800 15px/1.2 var(--f-display); margin-top: 6px; }
.t-logo { width: 84px; height: 84px; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.adm-table select { padding: 7px 9px; border-radius: 9px; border: 1.5px solid var(--line); font: inherit; font-size: 14px; background: #fff; }
@media (max-width: 700px) { .team-tiles { grid-template-columns: 1fr 1fr; } }

/* ── Teams (public card) ───────────────────────────── */
.vc-team { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--soft); color: var(--text); text-decoration: none; font-size: 13.5px; }
.vc-team img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; background: #fff; }
.vc-team:not(:has(img)) { padding-left: 12px; }
.vc-join { display: block; text-align: center; padding: 14px; border-radius: 14px; border: 1px dashed var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.vc-join:hover { border-color: var(--c, var(--accent)); }

/* ── Team page ─────────────────────────────────────── */
.tp { max-width: 720px; margin: 0 auto; padding: 0 0 40px; background: #fff; min-height: 100vh; }
.tp-head { text-align: center; padding: 48px 20px 28px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, #fff), #fff); display: grid; gap: 8px; justify-items: center; border-top: 6px solid var(--c); }
.tp-logo { width: 96px; height: 96px; border-radius: 22px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.tp-mono { display: grid; place-items: center; font: 800 32px/1 var(--f-display); color: #fff; background: var(--c); }
.tp-head h1 { font: 800 30px/1.15 var(--f-display); letter-spacing: -0.02em; }
.tp-co { color: var(--muted); font-weight: 600; }
.tp-about { max-width: 520px; line-height: 1.6; }
.tp-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.tp-links a { padding: 8px 14px; border-radius: 99px; background: var(--soft); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.tp-sec { padding: 22px 20px; display: grid; gap: 14px; }
.tp-sec h2 { font: 800 20px/1.2 var(--f-display); }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tp-agent { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px 12px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--text); }
.tp-agent:hover { border-color: var(--c); }
.tp-agent img, .tp-agent .tp-mono { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; font-size: 26px; margin-bottom: 6px; }
.tp-agent span { font-size: 13px; color: var(--muted); }
.tp-foot { text-align: center; padding: 20px; font-size: 13px; }
.tp-foot a { color: var(--muted); }
.tp-agent span.tp-mono { color: #fff; }

/* AI Studio */
.ai-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ai-tool { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; }
.ai-tool span { font-size: 20px; color: var(--accent); }
.ai-tool b { font-size: 15px; }
.ai-tool small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.ai-tool:hover { border-color: var(--accent); }
.ai-tool:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ai-tool[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.ai-go { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.ai-out { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-top: 12px; background: #fff; }
.ai-out-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ai-out-head span { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ai-out p { margin: 0; font-size: 15px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.ai-working { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--accent-soft); font-weight: 600; }
.ai-dots { display: inline-flex; gap: 5px; }
.ai-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ai-dot 1.1s infinite ease-in-out; }
.ai-dots i:nth-child(2) { animation-delay: .15s; }
.ai-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ai-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ai-dots i { animation: none; opacity: .7; } }
@media (max-width: 900px) { .ai-tools { grid-template-columns: 1fr 1fr; } }

/* Card editor: gallery, videos, files */
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.m-grid:empty, .m-list:empty { display: none; }
.m-photo { margin: 0; display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: #fff; }
.m-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--soft); }
.m-photo input, .m-video-bd input { width: 100%; padding: 8px 9px; border-radius: 8px; border: 1.5px solid var(--line); font: inherit; font-size: 14px; }
.m-photo input:focus, .m-video-bd input:focus, .m-link input:focus { border-color: var(--accent); outline: none; }
.m-tools { display: flex; gap: 2px; justify-content: flex-end; }
.m-tools .icon-btn { width: 30px; height: 30px; }
.m-tools .icon-btn[disabled] { opacity: .3; cursor: default; }
.m-list { display: grid; gap: 10px; }
.m-video, .m-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.m-thumb { width: 96px; aspect-ratio: 16 / 9; border-radius: 8px; background: #0b0d12 center/cover; display: grid; place-items: center; }
.m-thumb span { color: #fff; font-size: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.55); display: grid; place-items: center; }
.m-pdf { width: 48px; height: 56px; border-radius: 8px; background: #fdecea; color: #b42318; font: 800 12px/1 var(--f-display); display: grid; place-items: center; }
.m-video-bd { display: grid; gap: 4px; min-width: 0; }
.m-add { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.m-link { display: flex; gap: 8px; flex: 1 1 280px; }
.m-link input { flex: 1; min-width: 0; padding: 12px 13px; border-radius: 11px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; }
.m-bar { height: 6px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.m-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.file-btn.disabled { pointer-events: none; opacity: .5; }
@media (max-width: 560px) { .m-grid { grid-template-columns: 1fr 1fr; } .m-video, .m-file { grid-template-columns: auto minmax(0, 1fr); } .m-video .m-tools, .m-file .m-tools { grid-column: 1 / -1; } }

/* Public card: gallery, videos, files */
.vc-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 6px; }
.vc-gallery button { all: unset; cursor: pointer; flex: none; width: 70%; scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: var(--soft); position: relative; }
.vc-gallery button:focus-visible { outline: 2px solid var(--c, var(--accent)); outline-offset: 2px; }
.vc-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vc-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; color: #fff; font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.vc-videos { display: grid; gap: 14px; }
.vc-video { display: grid; gap: 6px; }
.vc-video b { font-size: 15px; }
.vc-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b0d12; }
.vc-frame iframe, .vc-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vc-frame video { object-fit: contain; background: #0b0d12; }
.vc-frame .vc-play { all: unset; cursor: pointer; position: absolute; inset: 0; background: center/cover; display: grid; place-items: center; }
.vc-frame .vc-play i { width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-style: normal; font-size: 24px; display: grid; place-items: center; padding-left: 4px; box-sizing: border-box; }
.vc-frame .vc-play:focus-visible i { outline: 3px solid #fff; }
.vc-files { display: grid; gap: 10px; }
.vc-files a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--soft); text-decoration: none; color: var(--text); font-weight: 700; }
.vc-files a small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.vc-files a::after { content: '⤓'; color: var(--muted); }
.vc-files .m-pdf { width: 40px; height: 46px; font-size: 11px; }
.vc-lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(5,7,10,.94); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.vc-lightbox-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; color: #fff; font-size: 14px; }
.vc-lightbox-top button, .vc-lightbox-nav button { all: unset; cursor: pointer; color: #fff; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: rgba(255,255,255,.1); }
.vc-lightbox-top button:focus-visible, .vc-lightbox-nav button:focus-visible { outline: 2px solid #fff; }
.vc-lightbox-img { display: grid; place-items: center; padding: 0 8px; min-height: 0; }
.vc-lightbox-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.vc-lightbox-nav { display: flex; justify-content: center; gap: 18px; padding: 12px 0 22px; color: #fff; align-items: center; }

/* Leads tab */
.lead-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.lead-bar input[type="search"] { flex: 1 1 260px; padding: 11px 13px; border-radius: 11px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; }
.lead-bar input[type="search"]:focus { border-color: var(--accent); outline: none; }
.lead-bar-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lead-chips button { all: unset; cursor: pointer; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.lead-chips button[aria-pressed="true"] { background: #0b0d12; color: #fff; }
.lead-chips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lead-add { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--soft); }
.lead-side { display: grid; gap: 4px; justify-items: end; align-content: start; text-align: right; }
.lead-side select { padding: 7px 9px; border-radius: 9px; border: 1.5px solid var(--line); font: inherit; font-size: 13.5px; font-weight: 600; background: #fff; }
.lead-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lead-msg { margin-top: 4px; }
.lead-more { display: grid; gap: 10px; margin-top: 10px; }
.lead-history { display: grid; gap: 3px; }
.err-t { color: #b42318; }
.crm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.crm-bb { border-color: var(--accent); }
.crm-card { display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.crm-card .adm-head b { font-size: 15px; }
.crm-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.crm-secret { display: block; word-break: break-all; padding: 8px; border-radius: 8px; background: var(--soft); margin: 6px 0; }
.crm-card details code { font-size: 12px; }
.pill.gray { background: var(--soft); color: var(--muted); }
@media (max-width: 560px) { .lead-side { justify-items: start; text-align: left; } .lead-row { grid-template-columns: 1fr; } }

/* AI Studio: sending a reply */
.ai-send { display: grid; gap: 8px; }
.ai-send input, .ai-send textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: 15px; box-sizing: border-box; }
.ai-send textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.ai-send input:focus, .ai-send textarea:focus { border-color: var(--accent); outline: none; }
.ai-send-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* Card profiles */
.profile-bar { gap: 10px; }
.pf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip, .pf-add { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 2px; padding: 9px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; min-width: 140px; }
.pf-chip b { font-size: 14.5px; }
.pf-chip span { font-size: 12.5px; color: var(--muted); }
.pf-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.pf-add { color: var(--accent); font-weight: 700; font-size: 14px; align-content: center; border-style: dashed; }
.pf-chip:focus-visible, .pf-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pf-new { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--soft); }
.pf-settings { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: end; padding-top: 6px; border-top: 1px solid var(--line); }
.pf-settings .field { flex: 1 1 220px; margin: 0; }
.lead-pf { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--soft); color: var(--muted); }

/* ── Card layout (Voss style): bands alternate the card color and white ── */
.vc { --on-c: #fff; --c-line: color-mix(in srgb, var(--on-c) 22%, transparent); --c-soft: color-mix(in srgb, var(--on-c) 9%, transparent); }
.vc-dark { background: var(--c); color: var(--on-c); }
.vc-light { background: #fff; }
.vc-top { padding-bottom: 28px; }
.vc-top .vc-head { gap: 10px; }
.vc-sec { padding: 32px 20px; gap: 14px; }
.vc-sec h2 { font: 800 25px/1.15 var(--f-display); letter-spacing: -.01em; }
.vc-label { font: 700 11px/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; opacity: .7; margin-bottom: -8px; }
.vc-nick { font-style: italic; font-weight: 500; font-size: .72em; opacity: .85; }
.vc-dark .vc-title, .vc-dark .vc-office, .vc-dark .vc-office a, .vc-dark .vc-trec a, .vc-dark .vc-mls-note, .vc-dark .vc-sub, .vc-dark .vc-facts dt, .vc-dark .vc-empty { color: var(--on-c); opacity: .78; }
.vc-dark .vc-bio, .vc-dark .vc-facts dd { color: var(--on-c); }
.vc-dark .vc-certs span { background: transparent; border-color: var(--c-line); color: var(--on-c); }
.vc-dark .vc-team { background: var(--c-soft); color: var(--on-c); }
.vc-trec { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.vc-trec a { font-size: 11.5px; line-height: 1.3; text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 7px 12px; }
.vc-dark .vc-trec a { border-color: var(--c-line); }
/* Socials: one row that slides sideways */
.vc-socials { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; width: calc(100% + 40px); margin: 2px -20px 0; padding: 4px 20px; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 32px), transparent); }
.vc-socials::-webkit-scrollbar { display: none; }
.vc-socials a { flex: 0 0 auto; width: 44px; height: 44px; scroll-snap-align: start; }
.vc-socials a:first-child { margin-left: auto; }
.vc-socials a:last-child { margin-right: auto; }
.vc-dark .vc-socials a { box-shadow: inset 0 0 0 1.5px var(--c-line); }
.vc-dark .vc-actions { padding-top: 18px; }
.vc-dark .vc-actions a { background: var(--on-c); color: var(--c); }
/* My Listings */
.vc-counts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.vc-counts div { text-align: center; padding: 14px 6px; display: grid; gap: 4px; }
.vc-counts div + div { border-left: 1px solid var(--line); }
.vc-counts strong { font: 800 24px/1.1 var(--f-display); }
.vc-counts span { font: 700 10px/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.vc-dark .vc-counts, .vc-dark .vc-counts div + div { border-color: var(--c-line); }
.vc-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 16px; }
.vc-tabs button { all: unset; cursor: pointer; text-align: center; padding: 11px 6px; border-radius: 12px; font-weight: 700; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.vc-tabs button[aria-pressed="true"] { background: var(--c); color: var(--on-c); }
.vc-tabs button:focus-visible { outline: 2px solid currentColor; }
.vc-dark .vc-tabs { border-color: var(--c-line); }
.vc-dark .vc-tabs button { color: var(--on-c); opacity: .75; }
.vc-dark .vc-tabs button[aria-pressed="true"] { background: var(--on-c); color: var(--c); opacity: 1; }
.vc-tabs-sm button { font-size: 12.5px; padding: 10px 4px; }
.vc-group { display: grid; gap: 12px; }
.vc-group .vc-rail { margin: 0; padding: 0; gap: 12px; scrollbar-width: none; }
.vc-group .vc-rail::-webkit-scrollbar { display: none; }
.vc-group .vc-rail > * { flex: 0 0 100%; width: 100%; }
.vc-home { background: #fff; color: var(--text); }
.vc-home .ph { height: auto; aspect-ratio: 4 / 3; }
.vc-home .bd { padding: 14px 16px 16px; display: grid; gap: 2px; }
.vc-home strong { font-size: 22px; }
.vc-slide { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vc-slide > div { display: flex; align-items: center; gap: 10px; }
.vc-slide [data-step] { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 22px; line-height: 1; }
.vc-slide [data-step]:disabled { opacity: .3; cursor: default; }
.vc-count { font-size: 13px; min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; opacity: .75; }
.vc-all { all: unset; cursor: pointer; border: 1.5px solid currentColor; border-radius: 99px; padding: 9px 16px; font: 700 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.vc-dark .vc-slide [data-step] { border-color: var(--c-line); }
.vc-empty { padding: 26px 18px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); font-size: 14px; }
.vc-dark .vc-empty { border-color: var(--c-line); }
.vc-dark .vc-more { color: var(--on-c); }
/* Gallery: one big photo at a time, shown whole */
.vc-gallery button { width: 100%; background: #0b0d12; }
.vc-gallery img { aspect-ratio: 4 / 5; object-fit: contain; background: #0b0d12; }
/* Save my info / Get in touch / Scan me */
.vc-qrcard { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 28px 20px; border-radius: 22px; background: var(--soft); }
.vc-qrcard h2 { font-size: 23px; }
.vc-qrcard .vc-label { margin-bottom: 0; }
.vc-sub { font-size: 14px; color: var(--muted); max-width: 300px; }
.vc-qrbox { background: #fff; padding: 14px; border-radius: 18px; margin: 8px 0 4px; }
.vc-qrbox img, .vc-qrbox canvas { display: block; width: 210px !important; height: 210px !important; }
.vc-qbtn { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 15px; border-radius: 14px; background: var(--c); color: var(--on-c); font-weight: 700; text-decoration: none; margin-top: 6px; }
.vc-dark .vc-qrcard { background: var(--c-soft); }
.vc-dark .vc-qbtn { background: var(--on-c); color: var(--c); }
/* Links, files, form on a colored band */
.vc-dark .vc-links a, .vc-dark .vc-files a { background: var(--c-soft); color: var(--on-c); }
.vc-dark .vc-links a::after, .vc-dark .vc-files a::after, .vc-dark .vc-files a small { color: var(--on-c); opacity: .7; }
.vc-dark .vc-form { background: var(--c-soft); }
.vc-dark .vc-form .btn { background: var(--on-c); color: var(--c); }
.vc-dark .vc-form .msg { color: var(--on-c); }
.vc-dark .vc-join { border-color: var(--c-line); color: var(--on-c); }
.vc-foot { padding-bottom: 8px; }
/* View all */
.vc-allsheet { position: fixed; inset: 0; z-index: 65; background: #fff; overflow-y: auto; }
.vc-allsheet-in { max-width: 540px; margin: 0 auto; padding: 0 16px 40px; }
.vc-allsheet-head { position: sticky; top: 0; z-index: 1; background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 16px 0 12px; }
.vc-allsheet-head h3 { font: 800 22px/1.2 var(--f-display); }
.vc-allsheet-head button { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; }
.vc-allsheet-list { display: grid; gap: 14px; }
.vc-allsheet-list .vc-home { width: 100%; }

/* Get the app banner */
.app-banner { background: var(--ink); color: #fff; align-items: center; }
.app-banner b { color: #fff; }
.app-banner .app-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: url(/assets/img/app-192.png) center/cover; }
.app-banner > span:nth-child(2) { flex: 1 1 260px; }
.app-banner .app-steps { flex: 1 1 100%; color: #d6dbe6; }
.app-banner .app-btns { display: flex; gap: 8px; }
.app-banner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.vc-home .bd br { display: none; }
.vc-socials { scroll-padding-inline: 20px; }

/* Save to contacts, NFC "Save contact or View my page", Pay tab (assets/card.js) */
.vc-qbtn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; font: inherit; font-weight: 700; cursor: pointer; }
.vc-dark .vc-qbtn-ghost { background: transparent; color: var(--on-c); }
.vc-step { width: 100%; box-sizing: border-box; font-size: 14px; line-height: 1.55; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--ink); border: 1.5px solid var(--c); text-align: center; }
.vc-step[hidden] { display: none; }
.vc-dark .vc-step { background: var(--c-soft); color: var(--on-c); border-color: var(--on-c); }
.vc-tap { position: fixed; inset: 0; z-index: 80; display: grid; align-items: end; justify-items: center; background: rgba(6,8,12,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vc-tap-box { width: min(560px, 100%); box-sizing: border-box; background: #fff; color: var(--ink); border-radius: 24px 24px 0 0; padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 10px; justify-items: center; text-align: center; animation: vcTapUp .25s ease-out; }
@keyframes vcTapUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 700px) { .vc-tap { align-items: center; } .vc-tap-box { border-radius: 24px; } }
.vc-tap-av { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--c); }
.vc-tap-box h3 { font: 800 24px/1.15 var(--f-display); letter-spacing: -0.01em; }
.vc-tap-box .vc-sub { margin-bottom: 8px; }
.vc-tap-box .vc-qbtn-ghost { color: var(--ink); }
.vc-pay-fields { width: 100%; display: grid; gap: 8px; margin: 6px 0 4px; }
.vc-pay-fields input { width: 100%; box-sizing: border-box; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.vc-pay-fields input:focus { outline: none; border-color: var(--c); }
.vc-pay-amt { position: relative; display: block; }
.vc-pay-amt span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--ink); }
.vc-pay-amt input { padding-left: 30px; font-size: 18px; font-weight: 700; }
.vc-pay-list { width: 100%; display: grid; gap: 8px; text-align: left; }
.vc-pay-btn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; border: 1.5px solid var(--line); }
a.vc-pay-btn:hover { border-color: var(--c); }
.vc-pay-logo { flex: 0 0 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; }
.vc-pay-txt { flex: 1; min-width: 0; }
.vc-pay-txt b { display: block; font-size: 15px; }
.vc-pay-txt small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-pay-go { font-size: 13px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.vc-pay-zelle { background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.vc-pay-zelle .vc-pay-btn { padding: 0; border: 0; }
.vc-pay-copy { display: flex; gap: 8px; margin-top: 10px; }
.vc-pay-copy button { all: unset; cursor: pointer; flex: 1; min-width: 0; text-align: center; padding: 10px 8px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.vc-pay-zelle img { display: block; width: 180px; max-width: 100%; margin: 12px auto 0; border-radius: 10px; }
.vc-pay-zelle p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.vc-pay-scan { width: 100%; display: grid; justify-items: center; gap: 6px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.vc-pay-scan[hidden] { display: none; }
.vc-dark .vc-pay-scan { border-top-color: var(--c-line); }
.vc-pay-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.vc-pay-chips button { all: unset; cursor: pointer; padding: 7px 14px; border-radius: 99px; border: 1.5px solid currentColor; font-size: 12.5px; font-weight: 700; opacity: .75; }
.vc-pay-chips button[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: var(--on-c); opacity: 1; }
.vc-dark .vc-pay-chips button[aria-pressed="true"] { background: var(--on-c); border-color: var(--on-c); color: var(--c); }
.vc-pay-warn { font-size: 12px; line-height: 1.5; opacity: .7; margin-top: 10px; }

/* Share tab: NFC links with Write / written status (assets/dashboard.js renderNfc) */
.nfc-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.nfc-row:first-child { border-top: 0; padding-top: 0; }
.nfc-row b { display: block; }
.nfc-row small { font-size: 12.5px; color: var(--muted); }
.nfc-row.done small { color: #12805c; font-weight: 700; }
.nfc-row code { background: var(--soft); border-radius: 10px; padding: 10px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfc-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nfc-acts .btn { padding: 9px 14px; }
.link-btn { all: unset; cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; }

/* Open house sign-in (/o/<id>, assets/openhouse.js) */
.oh { min-height: 100vh; display: grid; justify-items: center; padding: 0 0 32px; }
.oh-loading { padding: 80px 20px; text-align: center; display: grid; gap: 8px; }
.oh-loading h1 { font: 800 24px/1.2 var(--f-display); }
.oh-card { --c: #0b0d12; width: min(560px, 100%); background: #fff; min-height: 100vh; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 600px) { .oh { padding: 24px 0 40px; } .oh-card { min-height: 0; border-radius: 24px; overflow: hidden; } }
.oh-hero { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c), #0b0d12) center/cover; }
.oh-badge { position: absolute; left: 16px; top: 16px; background: #fff; color: var(--ink); font: 800 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: 8px 11px; border-radius: 99px; }
.oh-head { padding: 22px 22px 8px; display: grid; gap: 6px; }
.oh-eyebrow { font: 700 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.oh-head h1 { font: 800 30px/1.1 var(--f-display); letter-spacing: -0.02em; }
.oh-sub { color: var(--muted); font-size: 15px; line-height: 1.5; }
.oh-sub b { color: var(--ink); }
.oh-host { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--soft); font-size: 14px; line-height: 1.4; }
.oh-host img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.oh-form { padding: 12px 22px 8px; display: grid; gap: 14px; }
.oh-form h2, .oh-done h2 { font: 800 22px/1.2 var(--f-display); }
.oh-hint { color: var(--muted); font-size: 14.5px; margin-top: -8px; }
.oh-form .field small { font-weight: 400; color: var(--muted); }
.oh-form input, .oh-form textarea { font-size: 16px; }
.oh-seg { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.oh-seg legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.oh-seg > div { display: flex; flex-wrap: wrap; gap: 8px; }
.oh-seg label { position: relative; }
.oh-seg input { position: absolute; opacity: 0; pointer-events: none; }
.oh-seg span { display: inline-block; padding: 10px 14px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; cursor: pointer; }
.oh-seg input:checked + span { background: var(--c); border-color: var(--c); color: #fff; }
.oh-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.oh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.oh-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--c); }
.oh-form .btn, .oh-done .btn { background: var(--c); color: #fff; justify-content: center; width: 100%; padding: 15px; }
.oh-done .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.oh-done { padding: 18px 22px 8px; display: grid; gap: 12px; text-align: center; justify-items: center; }
.oh-done p { color: var(--muted); }
.oh-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.oh-foot { padding: 18px 22px 22px; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
.oh-foot a { color: var(--muted); }

/* Dashboard: Open house tab (assets/oh.js) */
.oh-pitch h2 { font: 800 24px/1.2 var(--f-display); }
.oh-homes { display: grid; gap: 8px; }
.oh-home { all: unset; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 8px; border: 1.5px solid var(--line); border-radius: 14px; }
.oh-home.on { border-color: var(--accent); background: var(--accent-soft); }
.oh-home img, .oh-home > span:first-child { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--soft); flex: none; }
.oh-home b { display: block; } .oh-home small { color: var(--muted); }
.oh-live { border-color: var(--accent); }
.oh-live-head { display: flex; gap: 12px; align-items: center; }
.oh-live-head h2 { font: 800 22px/1.2 var(--f-display); }
.oh-dot { width: 12px; height: 12px; border-radius: 50%; background: #16a36a; box-shadow: 0 0 0 6px rgba(22,163,106,.18); flex: none; animation: ohPulse 1.6s infinite; }
@keyframes ohPulse { 50% { box-shadow: 0 0 0 10px rgba(22,163,106,.06); } }
.oh-live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 640px) { .oh-live-grid { grid-template-columns: minmax(0, 1fr); } }
.oh-qr { display: grid; gap: 8px; justify-items: center; text-align: center; background: var(--soft); border-radius: 16px; padding: 16px; }
.oh-qr img, .oh-qr canvas { width: 200px !important; height: 200px !important; background: #fff; padding: 8px; border-radius: 12px; }
.oh-qr small { color: var(--muted); font-size: 12.5px; }
.oh-live-side { display: grid; gap: 10px; }
.oh-count { display: flex; align-items: baseline; gap: 8px; } .oh-count strong { font: 800 40px/1 var(--f-display); } .oh-count span { color: var(--muted); }
.oh-vs { display: grid; }
.oh-v { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.oh-v > div:first-child { display: grid; gap: 3px; min-width: 0; } .oh-v small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.oh-tags { display: flex; flex-wrap: wrap; gap: 6px; } .oh-tags span { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--soft); }
.oh-v-acts { display: grid; gap: 6px; justify-items: end; flex: none; } .oh-v-acts .btn { padding: 8px 16px; }
.oh-past { display: grid; gap: 8px; }
.oh-p { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.oh-p summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.oh-p summary::-webkit-details-marker { display: none; }
.oh-p summary b { display: block; } .oh-p summary small { color: var(--muted); } .oh-p summary .btn { padding: 8px 14px; flex: none; }
.oh-rep { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.oh-quote { background: var(--soft); border-radius: 10px; padding: 10px 12px; margin: 0; }

.b-kind { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.b-kind input { position: absolute; opacity: 0; }

/* Voss Concierge chat on the public card (assets/concierge-chat.js) */
.cg { --c: #0b0d12; --on-c: #fff; }
.cg-fab { position: fixed; right: 14px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; background: var(--c); color: var(--on-c); font: 700 14px/1 var(--f-body); box-shadow: 0 10px 30px rgba(0,0,0,.28); cursor: pointer; }
.cg-fab img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.cg-fab span { padding: 4px 0; }
.cg.on .cg-fab { display: none; }
.cg-panel { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 46; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 24px)); background: #fff; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.cg-panel[hidden] { display: none; }
.cg-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: var(--c); color: var(--on-c); }
.cg-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.cg-head div { flex: 1; display: grid; gap: 2px; }
.cg-head b { font: 800 16px/1.2 var(--f-display); }
.cg-head small { font-size: 12px; opacity: .8; }
.cg-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.cg-log { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f6f7f9; }
.cg-msg { max-width: 85%; padding: 10px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.cg-assistant { align-self: flex-start; background: #fff; color: #0b0d12; border-bottom-left-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cg-visitor { align-self: flex-end; background: var(--c); color: var(--on-c); border-bottom-right-radius: 6px; }
.cg-msg a { color: inherit; text-decoration: underline; }
.cg-typing { letter-spacing: 3px; color: #6b7280; }
.cg-err { color: #b42318; }
.cg-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 12px 0; background: #fff; }
.cg-chips[hidden] { display: none; }
.cg-chips button { border: 1px solid #d8dde5; background: #fff; border-radius: 999px; padding: 7px 11px; font: 600 13px var(--f-body); color: #0b0d12; cursor: pointer; }
.cg-form { display: flex; gap: 8px; padding: 10px 12px; background: #fff; }
.cg-form input { flex: 1; min-width: 0; border: 1px solid #d8dde5; border-radius: 999px; padding: 11px 14px; font: 16px var(--f-body); }
.cg-form button { width: 44px; border: 0; border-radius: 50%; background: var(--c); color: var(--on-c); font-size: 16px; cursor: pointer; }
.cg-fine { margin: 0; padding: 0 14px 12px; background: #fff; font-size: 11px; color: #6b7280; }

/* Dashboard → Assistant tab (assets/assistant.js) */
.panel.as-hero { background: #0b0d12; color: #fff; border-color: #0b0d12; }
.panel.as-hero .sub, .panel.as-hero p { color: rgba(255,255,255,.8); }
.panel.as-hero .eyebrow { color: var(--accent-2); }
.as-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.as-feats > div { border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px; }
.as-feats span { font-size: 20px; display: block; margin-bottom: 6px; }
.as-feats b { display: block; color: #fff; font-size: 15px; }
.as-feats p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font: 600 14px var(--f-body); cursor: pointer; color: #0b0d12; }
.seg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.as-num h2 a { color: inherit; text-decoration: none; font-size: 30px; letter-spacing: -.01em; }
.as-thread { display: grid; gap: 8px; max-height: 460px; overflow: auto; padding: 4px; }
.as-msg { max-width: 82%; justify-self: start; }
.as-msg p { margin: 0; padding: 10px 13px; border-radius: 16px 16px 16px 4px; background: var(--soft); white-space: pre-wrap; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.as-msg.me { justify-self: end; }
.as-msg.me p { background: var(--accent); color: #fff; border-radius: 16px 16px 4px 16px; }
.as-msg span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.as-msg.me span { text-align: right; }
.as-agree { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fbfcfd; }
.as-agree h3 { margin: 0; font: 800 18px var(--f-display); }
.as-term { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 14px; align-items: start; padding-top: 12px; border-top: 1px solid var(--line); }
.as-term b { font-size: 15px; }
.as-term p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.as-init { display: grid; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.as-init input { width: 100%; border: 2px solid var(--line); border-radius: 10px; padding: 9px 6px; text-align: center; font: 700 17px var(--f-body); letter-spacing: .08em; }
.as-init input.ok { border-color: var(--accent); color: var(--accent); }
.as-sig-show { min-height: 44px; border-bottom: 1px solid #0b0d12; font: italic 30px/1.4 Georgia, 'Times New Roman', serif; color: #0b0d12; padding: 0 4px; overflow-wrap: anywhere; }
@media (max-width: 520px) { .as-term { grid-template-columns: minmax(0, 1fr) 72px; } }
.as-steps { margin: 0; padding-left: 22px; display: grid; gap: 14px; }
.as-steps li p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.as-steps li.on b { color: var(--muted); text-decoration: line-through; }
.as-steps code { font-size: 12.5px; background: var(--soft); padding: 1px 5px; border-radius: 5px; }
