:root {
  --bg: #050a14; --bg2: #0a1222; --panel: rgba(10, 18, 34, .86); --line: rgba(120, 170, 255, .16);
  --text: #e6eefc; --muted: #8aa0c4; --dim: #5a6f92;
  --cyan: #38e1ff; --green: #3dffa0; --gold: #ffcf5a; --red: #ff6b6b; --blue: #4f8cff; --violet: #a78bfa;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --vig: 5,10,20; --thead: #0b1527;
}
:root[data-theme="light"] {
  --bg: #eef2f8; --bg2: #ffffff; --panel: rgba(255,255,255,.9); --line: rgba(20,40,80,.14);
  --text: #0f1a2e; --muted: #51627f; --dim: #8593ab;
  --cyan: #0a8fb0; --green: #118a53; --gold: #b7780a; --red: #c43b3b; --blue: #2f6fe0; --violet: #6d4fd0;
  --vig: 238,242,248; --thead: #f4f7fb;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif; overflow: hidden; }
a { color: var(--cyan); text-decoration: none; } a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(56,225,255,.15); }
select option { background: var(--thead); }
::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-thumb { background: rgba(120,170,255,.2); border-radius: 8px; }

#globe { position: fixed; inset: 0; z-index: 0; }
#globe canvas { outline: none; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 55% 50%, transparent 40%, rgba(var(--vig),.75) 100%); }

/* ---- top bar */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: linear-gradient(180deg, rgba(var(--vig),.92), rgba(var(--vig),0)); pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.brand small { font-weight: 500; color: var(--muted); letter-spacing: .12em; font-size: 11px; text-transform: uppercase; }
.views { display: flex; gap: 4px; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.views button { background: transparent; border: 0; border-radius: 7px; padding: 6px 14px; color: var(--muted); }
.views button.on { background: rgba(56,225,255,.14); color: var(--cyan); }
.kpis { display: flex; gap: 22px; margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.kpis b { color: var(--text); font-size: 15px; margin-right: 4px; }
/* the top bar stays one line: the name, the four views and the counts never wrap; counts thin out on narrower screens */
.brand, .views button, .kpis > * { white-space: nowrap; }
@media (max-width: 1440px) { .kpis { gap: 14px; } .views button { padding: 6px 11px; } }
@media (max-width: 1240px) { .kpis > :nth-child(n+3) { display: none; } }
@media (max-width: 1100px) { .kpis { display: none; } }
.who { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.who input { width: 120px; padding: 5px 8px; font-size: 12px; }
.theme { border: 1px solid var(--line); background: rgba(127,127,127,.08); border-radius: 8px; padding: 5px 9px; font-size: 13px; line-height: 1; color: var(--muted); }
:root[data-theme="light"] .brand .dot { box-shadow: 0 0 8px var(--cyan); }
:root[data-theme="light"] .tip { background: rgba(255,255,255,.96); }
:root[data-theme="light"] .toast { background: rgba(255,255,255,.97); }

/* ---- left search panel */
.panel { position: fixed; z-index: 4; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.search { top: 64px; left: 18px; bottom: 18px; width: 360px; display: flex; flex-direction: column; }
.search .head { padding: 14px 14px 10px; border-bottom: 1px solid var(--line); }
.search .q { display: flex; gap: 8px; }
.search .q input { flex: 1; }
.search .q button { border: 1px solid var(--line); background: rgba(255,255,255,.04); border-radius: 8px; padding: 0 10px; color: var(--muted); }
.row { display: flex; gap: 8px; margin-top: 8px; }
.row select { flex: 1; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 999px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.chip.on { border-color: var(--cyan); color: var(--cyan); background: rgba(56,225,255,.12); }
.chip.st-contacted.on { border-color: var(--blue); color: var(--blue); background: rgba(79,140,255,.14); }
.chip.st-partner.on { border-color: var(--green); color: var(--green); background: rgba(61,255,160,.12); }
.chip.st-deal.on { border-color: var(--gold); color: var(--gold); background: rgba(255,207,90,.12); }
.chip.st-none.on { border-color: var(--muted); color: var(--text); background: rgba(127,127,127,.14); }
.lbl { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 12px 0 2px; }
.results-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.results-head b { color: var(--text); }
.results-head button { background: none; border: 0; color: var(--cyan); font-size: 12px; }
.results { flex: 1; overflow: auto; }
.r { padding: 10px 14px; border-bottom: 1px solid rgba(120,170,255,.08); cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.r:hover, .r.sel { background: rgba(56,225,255,.08); }
.r .n { font-weight: 600; }
.r .m { grid-column: 1 / -1; color: var(--muted); font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.r .st { display: flex; gap: 4px; align-items: center; }
.pip { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); display: inline-block; }
.pip.contacted { background: var(--blue); box-shadow: 0 0 6px var(--blue); }
.pip.partner { background: var(--green); box-shadow: 0 0 6px var(--green); }
.pip.deal { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.tag { display: inline-block; padding: 1px 6px; border-radius: 5px; background: rgba(120,170,255,.12); color: var(--muted); font-size: 11px; }
.tag.wms { background: rgba(167,139,250,.16); color: var(--violet); }
.tag.cap { background: rgba(56,225,255,.1); color: var(--cyan); }
.tag.dnc { background: rgba(255,107,107,.16); color: var(--red); }
.tag.hub { background: rgba(255,207,90,.16); color: var(--gold); }
.legend { padding: 8px 14px; border-top: 1px solid var(--line); display: flex; gap: 12px; font-size: 11px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: flex; align-items: center; gap: 5px; }

/* ---- profile drawer (right) */
.profile { top: 64px; right: 18px; bottom: 18px; width: 520px; display: none; flex-direction: column; }
.profile.open { display: flex; }
.profile .head { padding: 16px 18px 12px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: flex-start; }
.profile .head h2 { margin: 0 0 2px; font-size: 20px; }
.profile .head .sub { color: var(--muted); font-size: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.profile .close { margin-left: auto; background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; }
.profile .body { flex: 1; overflow: auto; padding: 0 18px 18px; }
.sec { margin-top: 16px; }
.sec h3 { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.sec h3 .cnt { color: var(--muted); font-weight: 500; letter-spacing: 0; text-transform: none; }
.status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stbtn { border: 1px solid var(--line); background: rgba(255,255,255,.03); border-radius: 10px; padding: 10px; text-align: left; }
.stbtn .t { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stbtn .d { font-size: 11px; color: var(--muted); margin-top: 3px; }
.stbtn.contacted.on { border-color: var(--blue); background: rgba(79,140,255,.14); }
.stbtn.partner.on { border-color: var(--green); background: rgba(61,255,160,.12); }
.stbtn.deal.on { border-color: var(--gold); background: rgba(255,207,90,.12); }
.notes textarea { width: 100%; min-height: 60px; resize: vertical; }
.notes .act { display: flex; gap: 8px; margin-top: 6px; align-items: center; }
.btn { border: 1px solid var(--cyan); background: rgba(56,225,255,.12); color: var(--cyan); border-radius: 8px; padding: 7px 12px; font-weight: 600; }
.btn.ghost { border-color: var(--line); background: transparent; color: var(--muted); font-weight: 500; }
.log { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12.5px; }
.log li { padding: 6px 0; border-top: 1px solid rgba(120,170,255,.08); }
.log .meta { color: var(--dim); font-family: var(--mono); font-size: 11px; }
.caps { display: flex; flex-wrap: wrap; gap: 6px; }
.caps .c { padding: 4px 9px; border-radius: 7px; font-size: 12px; border: 1px solid var(--line); color: var(--dim); background: rgba(255,255,255,.02); }
.caps .c.on { border-color: rgba(56,225,255,.5); color: var(--cyan); background: rgba(56,225,255,.1); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 13px; }
.kv .k { color: var(--muted); }
table.t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.t th { text-align: left; font-weight: 600; color: var(--dim); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 6px; border-bottom: 1px solid var(--line); }
table.t td { padding: 7px 6px; border-bottom: 1px solid rgba(120,170,255,.08); vertical-align: top; }
.fac { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; background: rgba(255,255,255,.02); }
.fac .fn { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.fac .fa { color: var(--muted); font-size: 12px; }
.fac .fm { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.fac .fm .tag { font-size: 11px; }
.fac .fly { background: none; border: 0; color: var(--cyan); font-size: 12px; padding: 0; }

/* ---- directory */
.dir { position: fixed; top: 64px; left: 18px; right: 18px; bottom: 18px; z-index: 4; display: none; flex-direction: column; }
.dir.open { display: flex; }
.dir .bar { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.dir .bar b { color: var(--text); }
.dir .bar .sp { flex: 1; }
.dir .wrap { flex: 1; overflow: auto; }
.dir table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dir th { position: sticky; top: 0; background: var(--thead); text-align: left; font-weight: 600; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; cursor: pointer; user-select: none; }
.dir th.s::after { content: ' ▾'; color: var(--cyan); } .dir th.s.asc::after { content: ' ▴'; }
.dir td { padding: 7px 10px; border-bottom: 1px solid rgba(120,170,255,.08); white-space: nowrap; }
.dir tr:hover td { background: rgba(56,225,255,.06); cursor: pointer; }
.dir td.c { text-align: center; }
.dir .y { color: var(--green); font-weight: 700; } .dir .n { color: var(--dim); }
.dir .b { color: var(--blue); font-weight: 700; } .dir .g { color: var(--gold); font-weight: 700; }
.num { font-family: var(--mono); text-align: right; }

/* ---- tooltip */
.tip { font-size: 12px; background: rgba(10,18,34,.95); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--text); }
.tip b { display: block; } .tip .m { color: var(--muted); }

.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 9; background: rgba(10,18,34,.95); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font-size: 13px; display: none; }
.toast.show { display: block; }
.loading { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; background: var(--bg); color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.loading.gone { display: none; }
.empty { padding: 24px 14px; color: var(--dim); text-align: center; }
@media (max-width: 1100px) { .profile { width: 440px; } .search { width: 320px; } }

.fac.picked { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset; }

/* ---- full vendor profile + facility page */
.profile { left: 396px; width: auto; }
@media (max-width: 1100px) { .profile { left: 18px; } }
.profile .crumb { font-size: 12px; color: var(--dim); margin-bottom: 4px; }
.profile .head h2 { font-size: 22px; }
.hpills { display: flex; gap: 6px; align-items: center; margin: 6px 6px 0 auto; }
.profile .close { margin-left: 0; }
.ptabs { display: flex; gap: 2px; padding: 0 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.ptabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; color: var(--muted); white-space: nowrap; }
.ptabs button.on { color: var(--cyan); border-bottom-color: var(--cyan); }
.ptabs .cnt, .sec h3 .cnt { color: var(--dim); font-size: 11px; margin-left: 3px; letter-spacing: 0; text-transform: none; }
.sec h3 .sp, .poc .sp, .act .sp { flex: 1; }
.lnk { background: none; border: 0; padding: 0; color: var(--cyan); font-size: inherit; }
.lnk:hover { text-decoration: underline; }
.sec h3 .lnk { font-size: 11px; letter-spacing: 0; text-transform: none; margin-left: 6px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 900px) { .cols2 { grid-template-columns: 1fr; } }
.btn.sm { padding: 4px 10px; font-size: 12px; letter-spacing: 0; text-transform: none; }
.btn.danger { border-color: var(--red); color: var(--red); background: transparent; }
.empty.sm { padding: 10px 0; text-align: left; font-size: 13px; }
.poc { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; background: rgba(127,127,127,.04); }
.poc.primary { border-color: rgba(56,225,255,.45); }
.poc .pn { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pm { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.pmeta { color: var(--dim); font-size: 11px; margin-top: 5px; font-family: var(--mono); }
.pocs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.form { border: 1px solid var(--cyan); border-radius: 12px; padding: 14px; margin-bottom: 14px; background: rgba(56,225,255,.05); }
.form h4 { margin: 0 0 10px; font-size: 14px; }
.form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.form label.chk { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; color: var(--text); padding-top: 18px; }
.form > label { margin-top: 10px; }
.form textarea { min-height: 60px; resize: vertical; }
.form .chips label.chip { display: inline-block; cursor: pointer; font-size: 12px; color: var(--muted); }
.form .chips label.chip.on { color: var(--cyan); }
.form .act { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.hint { color: var(--dim); font-size: 12px; margin: 8px 0 0; }
table.deals tr[data-edit-deal] { cursor: pointer; }
table.deals tr[data-edit-deal]:hover td { background: rgba(56,225,255,.06); }
.dst { font-size: 11px; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.dst.won { border-color: var(--gold); color: var(--gold); } .dst.quoted { border-color: var(--blue); color: var(--blue); }
.dst.lost, .dst.ended { color: var(--dim); }
.fname { font-weight: 600; color: var(--text); }
.fhero { display: flex; gap: 14px; align-items: center; margin-top: 14px; }
.fhero img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; }
.fhero .sub { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 12px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.stats > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.stats b { display: block; font-size: 20px; font-family: var(--mono); }
.stats span { color: var(--muted); font-size: 11.5px; }
.media-empty { border: 1px dashed var(--line); border-radius: 10px; padding: 22px; text-align: center; color: var(--dim); font-size: 13px; }
.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.site { text-align: left; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: rgba(127,127,127,.04); }
.site:hover { border-color: var(--cyan); }
.site b { display: block; font-size: 13px; } .site span { color: var(--muted); font-size: 11.5px; }
.dupe { border: 1px solid var(--gold); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; color: var(--text); font-size: 13px; background: rgba(255,207,90,.08); }
.form h4 { display: flex; align-items: center; }

.mkt { color: var(--gold); }
:root[data-theme="light"] .mkt { color: #b45309; }
select.mini { padding: 1px 4px; font-size: 12px; border-radius: 6px; margin-left: 2px; }
.results-head { flex-wrap: wrap; gap: 4px 10px; }
.results-head > span:last-child { margin-left: auto; white-space: nowrap; }
#radiusbox { white-space: nowrap; }

/* ---- the street map (MapLibre) */
#globe { background: var(--bg); }
:root[data-map="light"] .vignette, :root[data-map="sat"] .vignette { display: none; }
.mapctl { position: fixed; z-index: 3; right: 18px; bottom: 34px; display: flex; flex-direction: column; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.mapctl .seg { display: flex; gap: 3px; }
.mapctl .seg button { flex: 1; border: 1px solid var(--line); background: rgba(127,127,127,.06); color: var(--muted); border-radius: 7px; padding: 5px 10px; font-size: 12px; white-space: nowrap; }
.mapctl .seg button.on { border-color: var(--cyan); color: var(--cyan); background: rgba(56,225,255,.12); }
.netpop .maplibregl-popup-content { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 0; box-shadow: 0 10px 30px rgba(0,0,0,.35); backdrop-filter: blur(12px); }
.netpop .maplibregl-popup-content .tip { border: 0; background: none; display: flex; flex-direction: column; gap: 2px; }
.netpop .maplibregl-popup-tip { display: none; }
.maplibregl-ctrl-attrib { font-size: 10px; }

/* ---- photos and videos on the facility page */
.mdrop { border: 1px dashed var(--line); border-radius: 12px; padding: 10px; transition: border-color .15s, background .15s; }
.mdrop.over { border-color: var(--cyan); background: rgba(56,225,255,.06); }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.mgrid .media-empty { grid-column: 1 / -1; border: 0; padding: 14px; }
.mhint { color: var(--dim); font-size: 11.5px; margin-top: 8px; text-align: center; }
.mtile { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; padding: 0; background: #000; }
.mtile img, .mtile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mtile:hover { border-color: var(--cyan); }
.mplay { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); pointer-events: none; }
.mcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 5px; font-size: 11.5px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.7)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcap:empty { display: none; }
.mfile { display: grid; place-items: center; height: 100%; color: #cfd8e6; font-size: 12px; padding: 6px; }
.mrow { display: grid; grid-template-columns: 1fr 120px auto; gap: 10px; align-items: center; font-size: 12px; margin-top: 6px; }
.mrow .mname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbar { height: 6px; border-radius: 3px; background: rgba(127,127,127,.2); overflow: hidden; } .mbar i { display: block; height: 100%; background: var(--cyan); transition: width .2s; }
.mrow .mst { color: var(--muted); } .mrow.bad .mst { color: var(--red); } .mrow.bad .mbar i { background: var(--red); }
#viewer { position: fixed; inset: 0; z-index: 20; background: rgba(3,6,12,.88); display: none; place-items: center; padding: 24px; }
#viewer.open { display: grid; }
.vbox { position: relative; width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 10px; }
.vmedia { display: grid; place-items: center; min-height: 200px; }
.vmedia img, .vmedia video { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vfoot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.vfoot input { flex: 1 1 260px; }
.vx { position: absolute; top: -14px; right: -6px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 22px; line-height: 1; }
.vnav { position: absolute; top: 45%; z-index: 2; width: 44px; height: 64px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 30px; }
.vprev { left: -8px; } .vnext { right: -8px; }
a.btn { display: inline-block; text-decoration: none; }
.addrfix { margin-top: 10px; gap: 10px; flex-wrap: wrap; }

/* ---- vendor logo on the profile and facility pages */
.vlogo { position: relative; flex: 0 0 var(--sz); width: var(--sz); height: var(--sz); border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(56,225,255,.25), rgba(79,140,255,.25)); border: 1px solid var(--line); margin-right: 14px; }
.vlogo b { font-size: calc(var(--sz) * .36); letter-spacing: .02em; color: var(--text); }
.vlogo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: calc(var(--sz) * .1); background: #fff; opacity: 0; transition: opacity .15s; }
.vlogo.has img { opacity: 1; }
.profile .head { align-items: center; }
