:root {
  --vx-ink: #0f172a;
  --vx-muted: #64748b;
  --vx-brand: #071f49;
  --vx-brand-dark: #0d2d63;
  --vx-cyan: #03c8d5;
  --vx-cyan-tint: #e3f8fa;
  --vx-teal: #00727a;
  --vx-surface: #f7f7fb;
  --vx-border: #e5e7eb;
  --bs-primary: var(--vx-brand);
  --bs-primary-rgb: 7, 31, 73;
  --bs-link-color: var(--vx-teal);
  --bs-link-color-rgb: 0, 114, 122;
  --bs-link-hover-color: var(--vx-brand);
  --bs-link-hover-color-rgb: 7, 31, 73;
  --bs-focus-ring-color: rgba(3, 200, 213, .35);
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-color: var(--vx-ink);
}
body { background: var(--vx-surface); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.btn-primary { --bs-btn-bg: var(--vx-brand); --bs-btn-border-color: var(--vx-brand); --bs-btn-hover-bg: var(--vx-brand-dark); --bs-btn-hover-border-color: var(--vx-brand-dark); --bs-btn-active-bg: var(--vx-brand-dark); }
.vx-nav { background: #fff; border-bottom: 1px solid var(--vx-border); }
.vx-brand { font-weight: 700; color: var(--vx-brand) !important; letter-spacing: -0.02em; }
.vx-nav .nav-link.active { color: var(--vx-brand); font-weight: 600; }
.vx-footer { color: var(--vx-muted); padding: 2rem 0; }
.vx-card { background: #fff; border: 1px solid var(--vx-border); border-radius: 14px; padding: 1.5rem; min-width: 0; }
.vx-stat { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.vx-muted { color: var(--vx-muted); }
.vx-number { font-variant-numeric: tabular-nums; font-weight: 600; }
.vx-hero { padding: 5rem 0 3rem; }
.vx-hero h1 { font-weight: 700; letter-spacing: -0.03em; font-size: clamp(2rem, 5vw, 3.25rem); }
.vx-price { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; }
.vx-feature i { font-size: 1.5rem; color: var(--vx-teal); }
.vx-section-title { font-size: 1rem; font-weight: 600; margin-bottom: .25rem; }
.badge-outcome-ANSWERED { background: #dcfce7; color: #166534; }
.badge-outcome-VOICEMAIL { background: #e0e7ff; color: #3730a3; }
.badge-outcome-MISSED, .badge-outcome-REJECTED { background: #fee2e2; color: #991b1b; }
.badge-outcome-CLOSED { background: #f1f5f9; color: #475569; }
.badge-outcome-IN_PROGRESS { background: #fef9c3; color: #854d0e; }
textarea.font-monospace { font-size: .875rem; }
.vx-staff-bar { background: var(--vx-brand); color: #e3f8fa; padding: .4rem 0; }
.vx-table th { font-weight: 500; white-space: nowrap; }
.vx-table td, .vx-table th { padding-top: .55rem; padding-bottom: .55rem; }
.vx-kpi { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.vx-kpi-label { font-size: .8rem; color: var(--vx-muted); }
.vx-bar { height: 6px; border-radius: 3px; background: var(--vx-brand); opacity: .75; }
.text-margin-neg { color: #b91c1c; }

/* ── App shell: left sidebar ─────────────────────────── */
:root { --vx-sidebar-w: 256px; }
.vx-brand { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; color: var(--vx-ink); text-decoration: none; }
.vx-brand:hover { color: var(--vx-ink); }
.vx-brand img { display: block; height: 30px; width: auto; }
.min-w-0 { min-width: 0; }

.vx-shell { min-height: 100vh; }
.vx-main { display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
.vx-main > main { flex: 1; }
.vx-main .container { max-width: 1240px; }

.vx-sidebar { background: #fff; border-right: 1px solid var(--vx-border); }
.vx-sidebar-inner { display: flex; flex-direction: column; height: 100%; }
@media (min-width: 992px) {
  .vx-shell { display: grid; grid-template-columns: var(--vx-sidebar-w) 1fr; }
  .vx-sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; }
}
@media (max-width: 991.98px) {
  .vx-sidebar { --bs-offcanvas-width: 280px; }
}

.vx-ws-switch { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .5rem .6rem; border: 1px solid var(--vx-border); border-radius: 12px; background: var(--vx-surface); text-align: left; }
.vx-ws-switch:hover { border-color: #d4d4e0; }
.vx-ws-switch::after { margin-left: auto; }
.vx-ws-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--vx-ink); color: #fff; font-weight: 700; font-size: .85rem; }
.vx-ws-name { display: block; font-weight: 600; font-size: .9rem; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vx-ws-role { display: block; font-size: .72rem; color: var(--vx-muted); }

.vx-side-nav { padding: .5rem .75rem 1rem; overflow-y: auto; }
.vx-side-label { padding: .75rem .6rem .35rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9a9ab0; }
.vx-side-link { display: flex; align-items: center; gap: .7rem; padding: .48rem .6rem; border-radius: 9px; color: #3f3f55; font-weight: 500; font-size: .92rem; text-decoration: none; }
.vx-side-link i { font-size: 1.05rem; color: #8a8aa3; width: 1.1rem; text-align: center; }
.vx-side-link:hover { background: var(--vx-surface); color: var(--vx-ink); }
.vx-side-link.active { background: var(--vx-cyan-tint); color: var(--vx-brand); font-weight: 600; }
.vx-side-link.active i { color: var(--vx-teal); }

.vx-side-user { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-top: 1px solid var(--vx-border); }
.vx-side-account { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; margin: -.35rem; padding: .35rem; border-radius: 10px; color: var(--vx-ink); text-decoration: none; }
.vx-side-account:hover { background: var(--vx-cyan-tint); color: var(--vx-ink); }
.vx-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--vx-cyan-tint); color: var(--vx-brand); font-weight: 700; font-size: .8rem; }

.vx-topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: .75rem; padding: .6rem 16px; background: #fff; border-bottom: 1px solid var(--vx-border); }
.vx-menu-btn { font-size: 1.4rem; line-height: 1; padding: .15rem .45rem; border: 1px solid var(--vx-border); border-radius: 8px; }
@media (max-width: 575.98px) { .vx-main .container { padding-left: 16px; padding-right: 16px; } .vx-card { padding: 1rem; } }
.input-group > .form-select { min-width: 0; }
.nav-tabs .nav-link { color: var(--vx-muted); font-weight: 500; }
.nav-tabs .nav-link:hover { color: var(--vx-ink); }
.nav-tabs .nav-link.active { color: var(--vx-brand); font-weight: 600; box-shadow: inset 0 -2px 0 var(--vx-cyan); }

/* ── Brand form controls ─────────────────────────────── */
.form-check-input:checked { background-color: var(--vx-brand); border-color: var(--vx-brand); }
.form-check-input:focus, .form-control:focus, .form-select:focus { border-color: #7fdde4; box-shadow: 0 0 0 .2rem rgba(3, 200, 213, .25); }

/* ── Number settings page ────────────────────────────── */
.vx-flow-summary { background: linear-gradient(180deg, #f6fcfd, #fff); border-color: #c4eef2; }
.vx-flow-steps { list-style: none; counter-reset: flow; padding: 0; margin: 0; }
.vx-flow-steps li { position: relative; display: flex; gap: .7rem; align-items: flex-start; padding: .35rem 0 .35rem 0; }
.vx-flow-steps li i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--vx-cyan-tint); color: var(--vx-teal); font-size: .9rem; }
.vx-flow-steps li span { padding-top: .2rem; font-size: .93rem; }
.vx-flow-steps li + li::before { content: ""; position: absolute; left: 13px; top: -6px; height: 10px; border-left: 2px solid #c4eef2; }

.vx-step-head { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1rem; }
.vx-step-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--vx-ink); color: #fff; font-weight: 700; font-size: .85rem; }
.vx-step-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 .15rem; letter-spacing: -.01em; }
.vx-step-head p { margin: 0; font-size: .88rem; color: var(--vx-muted); }

.vx-seg { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .2rem; border-radius: 10px; background: var(--vx-surface); border: 1px solid var(--vx-border); }
.vx-seg .btn { border: 0; border-radius: 8px; color: var(--vx-muted); font-weight: 500; }
.vx-seg .btn-check:checked + .btn { background: #fff; color: var(--vx-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

.vx-group { padding: 1rem; border: 1px solid var(--vx-border); border-radius: 12px; background: #fcfcfe; }
.vx-person { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(180px, 1.6fr) auto; gap: .5rem; align-items: start; }
@media (max-width: 575.98px) {
  .vx-person { grid-template-columns: 1fr auto; padding-bottom: .5rem; border-bottom: 1px dashed var(--vx-border); }
  .vx-person > input { grid-column: 1 / -1; }
}

.vx-choice { display: block; height: 100%; padding: .7rem .85rem; border: 1px solid var(--vx-border); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.vx-choice:hover { border-color: #8ee0e7; }
.btn-check:checked + .vx-choice { border-color: var(--vx-teal); box-shadow: 0 0 0 2px rgba(3, 200, 213, .25); }
.btn-check:focus-visible + .vx-choice { outline: 2px solid var(--vx-cyan); outline-offset: 2px; }
.vx-choice-title { display: block; font-weight: 600; font-size: .9rem; }
.btn-check:checked + .vx-choice .vx-choice-title { color: var(--vx-teal); }
.vx-choice-text { display: block; font-size: .8rem; color: var(--vx-muted); margin-top: .15rem; }

.vx-hours { border: 1px solid var(--vx-border); border-radius: 12px; overflow: hidden; }
.vx-hours-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .55rem .85rem; min-height: 50px; }
.vx-hours-row + .vx-hours-row { border-top: 1px solid var(--vx-border); }
.vx-hours-day { width: 130px; font-weight: 500; }
.vx-hours-times { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.vx-hours-times input[type="time"] { width: 110px; }
.vx-hours-break { display: inline-flex; align-items: center; gap: .4rem; }

.vx-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .4rem .2rem .2rem; border: 1px solid var(--vx-border); border-radius: 10px; background: #fff; }
.vx-chip input { width: 150px; border: 0; }

.vx-menu-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.vx-menu-row select:first-of-type { width: 72px; }
.vx-menu-row select:last-of-type { width: auto; min-width: 180px; }

.vx-savebar { position: sticky; bottom: 0; z-index: 1010; margin: 1rem -12px 0; padding: .7rem 0; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--vx-border); box-shadow: 0 -6px 18px -12px rgba(15, 23, 42, .3); backdrop-filter: blur(6px); }
.form-control::placeholder { color: #a3a6b8; opacity: 1; }
.vx-explain { display: flex; gap: .7rem; padding: .75rem .9rem; border-radius: 10px; background: var(--vx-cyan-tint); font-size: .88rem; color: var(--vx-ink); }
.vx-explain > i { color: var(--vx-teal); font-size: 1.1rem; }
.vx-team-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .9rem; padding-bottom: .75rem; border-bottom: 1px solid var(--vx-border); }
.vx-team-head input { max-width: 260px; }

/* ── Message composer ────────────────────────────────── */
.vx-composer { position: relative; border: 1px solid var(--vx-border); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.vx-composer-text { border-radius: 12px 12px 0 0; }
.vx-composer:focus-within { border-color: #7fdde4; box-shadow: 0 0 0 .2rem rgba(3, 200, 213, .18); }
.vx-composer-text { display: block; width: 100%; min-height: 64px; padding: .75rem .9rem .4rem; border: 0; outline: 0; resize: none; font-size: 1rem; line-height: 1.5; background: transparent; }
.vx-composer-text::placeholder { color: #a3a6b8; }
.vx-composer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .45rem .55rem .5rem; border-top: 1px solid #f0f1f4; background: #fafbfc; }
.vx-composer-progress { height: 3px; background: transparent; border-radius: 0 0 12px 12px; overflow: hidden; }
.vx-composer:not(.is-playing) .vx-composer-progress { height: 0; }
.vx-composer-bar:last-of-type { border-radius: 0 0 12px 12px; }
.vx-voice-menu { z-index: 1030; }
.vx-composer-progress > div { height: 100%; width: 0; background: var(--vx-cyan); transition: width .2s linear; }
.vx-composer-status { min-height: 1.4rem; margin-top: .4rem; font-size: .84rem; color: var(--vx-muted); }
.vx-count { font-size: .75rem; color: #a3a6b8; font-variant-numeric: tabular-nums; }

.vx-play { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .3rem .85rem; font-weight: 600; background: var(--vx-brand); color: #fff; border: 0; }
.vx-play:hover { background: var(--vx-brand-dark); color: #fff; }
.vx-play:disabled { background: #e5e7eb; color: #9ca3af; }
.vx-play.is-playing { background: var(--vx-teal); }

.vx-voice-native { width: auto; max-width: 100%; }
.js .vx-voice-native { display: none; }
.vx-voice { display: none; }
.js .vx-voice { display: block; }
.vx-voice-btn { display: inline-flex; align-items: center; gap: .55rem; max-width: 100%; padding: .25rem .6rem .25rem .3rem; border: 1px solid var(--vx-border); border-radius: 999px; background: #fff; text-align: left; }
.vx-voice-btn:hover { border-color: #7fdde4; }
.vx-voice-avatar { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--vx-cyan-tint); color: var(--vx-teal); font-weight: 700; font-size: .78rem; }
.vx-voice-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.vx-voice-name { font-weight: 600; font-size: .85rem; }
.vx-voice-label { font-size: .72rem; color: var(--vx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
.vx-voice-menu { width: min(360px, calc(100vw - 32px)); max-height: 360px; overflow-y: auto; padding: .4rem; border-radius: 12px; }
.vx-voice-menu-head { padding: .35rem .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #9a9ab0; }
.vx-voice-menu-head span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.vx-voice-item { display: flex; align-items: center; gap: .5rem; padding: .3rem .4rem; border-radius: 9px; }
.vx-voice-item:hover { background: var(--vx-surface); }
.vx-voice-item.is-selected { background: var(--vx-cyan-tint); }
.vx-voice-sample { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--vx-border); background: #fff; color: var(--vx-brand); }
.vx-voice-sample:hover:not(:disabled) { border-color: var(--vx-cyan); color: var(--vx-teal); }
.vx-voice-sample.is-blank { color: #b8bccb; }
.vx-voice-pick { flex: 1; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
.vx-voice-pick strong { font-size: .88rem; }
.vx-voice-pick small { font-size: .74rem; color: var(--vx-muted); }
.vx-voice-check { visibility: hidden; color: var(--vx-teal); font-size: 1.1rem; }
.vx-voice-item.is-selected .vx-voice-check { visibility: visible; }

.vx-current-audio { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.vx-current-audio audio { height: 34px; max-width: 100%; }
.vx-drop { position: relative; display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border: 1.5px dashed #cfd5df; border-radius: 12px; background: #fafbfc; cursor: pointer; font-size: .9rem; color: var(--vx-muted); }
.vx-drop > i { font-size: 1.4rem; color: var(--vx-teal); }
.vx-drop:hover, .vx-drop.is-over { border-color: var(--vx-cyan); background: var(--vx-cyan-tint); }
.vx-drop.has-file { border-style: solid; border-color: var(--vx-teal); color: var(--vx-ink); }
.vx-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
@media (max-width: 575.98px) { .vx-voice-label { display: none; } .vx-count { display: none; } }
.vx-billing-toggle .btn.is-on { background: #fff; color: var(--vx-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

/* ── Admin: workspace page ───────────────────────────── */
.vx-ws-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.vx-ws-avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--vx-brand); color: #fff; font-weight: 800; font-size: 1.35rem; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; box-shadow: inset 0 -3px 0 var(--vx-cyan); }
.vx-stat-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.vx-stat-tile { padding: .85rem 1rem; border: 1px solid var(--vx-border); border-radius: 12px; background: #fff; }
.vx-stat-tile span { display: block; font-size: .75rem; color: var(--vx-muted); }
.vx-stat-tile strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
@media (max-width: 991.98px) { .vx-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vx-card-title { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: 1rem; font-weight: 700; }
.vx-card-title i { color: var(--vx-teal); }
.vx-row { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; }
.vx-row + .vx-row { border-top: 1px solid #f0f1f4; }
.vx-row-compact { padding: .45rem 0; gap: .6rem; }
.vx-row.is-muted { opacity: .55; }
.vx-row-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--vx-cyan-tint); color: var(--vx-teal); }
.vx-kebab { border-radius: 8px; }
.vx-actions-menu { width: 300px; padding: .4rem 0; border-radius: 12px; }
.vx-actions-menu .dropdown-item { display: flex; gap: .55rem; align-items: center; padding: .45rem 1rem; font-size: .9rem; }
.vx-add-panel { padding: 1rem; border: 1px dashed #cfd5df; border-radius: 12px; background: #fafbfc; }
.vx-seg .btn.is-on { background: #fff; color: var(--vx-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.vx-attach-preview { padding: .75rem .9rem; border: 1px solid var(--vx-border); border-radius: 10px; background: #fff; }
.vx-member-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--vx-cyan-tint); color: var(--vx-brand); font-weight: 700; font-size: .85rem; }
.vx-avatar img, .vx-member-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.vx-member-avatar.is-pending { background: var(--vx-surface); color: var(--vx-muted); }
.vx-row form select { width: auto; }
.vx-invite-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.vx-invite-row input { flex: 1 1 220px; }
.vx-invite-row select { width: auto; }
.vx-usage-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; align-items: end; height: 170px; padding-top: 1rem; }
.vx-usage-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.vx-usage-bar { width: 100%; max-width: 46px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--vx-cyan), var(--vx-teal)); min-height: 0; }
.vx-usage-val { font-size: .8rem; font-weight: 700; margin-bottom: .2rem; }
.vx-usage-label { margin-top: .35rem; font-size: .78rem; color: var(--vx-muted); }
.vx-usage-sub { font-size: .7rem; color: #a3a6b8; min-height: 1em; }
.vx-legend { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--vx-cyan); vertical-align: -1px; }
.vx-danger-zone { border-color: #f3c2c2; background: #fffafa; }
.vx-timeline { list-style: none; margin: 0; padding: 0; }
.vx-timeline li { position: relative; display: flex; gap: .7rem; padding: 0 0 .9rem; font-size: .9rem; }
.vx-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; border-left: 2px solid #eef0f3; }
.vx-timeline-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--vx-surface); color: var(--vx-teal); border: 1px solid var(--vx-border); }
.vx-usersearch { position: relative; flex: 1 1 260px; }
.vx-usersearch-menu { position: absolute; z-index: 1040; top: calc(100% + 4px); left: 0; right: 0; max-height: 300px; overflow-y: auto; padding: .3rem; background: #fff; border: 1px solid var(--vx-border); border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .25); }
.vx-usersearch-item { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .45rem .55rem; border: 0; border-radius: 8px; background: none; text-align: left; }
.vx-usersearch-item.is-active, .vx-usersearch-item:hover { background: var(--vx-cyan-tint); }
.vx-usersearch-item .vx-member-avatar { width: 30px; height: 30px; font-size: .78rem; }
.vx-usersearch-item small { display: block; color: var(--vx-muted); }
.vx-usersearch-empty { padding: .5rem .6rem; font-size: .85rem; color: var(--vx-muted); }
.vx-invite-row .vx-usersearch .form-text:empty { display: none; }
.vx-usersearch-field { position: relative; }
.vx-invite-row { align-items: flex-start; }

/* ── Admin: all numbers ──────────────────────────────── */
.vx-filter-tabs .btn { display: inline-flex; align-items: center; gap: .35rem; }
.vx-tab-count { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 .35rem; border-radius: 999px; background: #e9edf3; color: var(--vx-muted); font-size: .7rem; font-weight: 700; }
.vx-filter-tabs .btn.is-on .vx-tab-count { background: var(--vx-cyan-tint); color: var(--vx-teal); }
.vx-tab-count.is-alert { background: #fee2e2; color: #b91c1c; }
.vx-search { position: relative; width: min(320px, 100%); }
.vx-search > i { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: #a3a6b8; font-size: .85rem; }
.vx-search input { padding-left: 2rem; border-radius: 999px; }
.vx-num-row { display: grid; grid-template-columns: 36px minmax(150px, 1.1fr) minmax(140px, 1fr) minmax(150px, 1.3fr) 110px 140px 36px; align-items: center; gap: .9rem; padding: .8rem 1rem; }
.vx-num-row + .vx-num-row { border-top: 1px solid #f0f1f4; }
.vx-num-row:hover { background: #fbfcfd; }
.vx-num-main { min-width: 0; }
.vx-num-ws { display: flex; align-items: center; gap: .55rem; min-width: 0; color: var(--vx-ink); text-decoration: none; }
.vx-num-ws:hover .fw-semibold { color: var(--vx-teal); }
.vx-num-ws .vx-member-avatar { width: 30px; height: 30px; font-size: .78rem; border-radius: 8px; }
.vx-num-usage { display: flex; flex-direction: column; line-height: 1.3; }
.vx-num-billing { line-height: 1.4; }
@media (max-width: 1199.98px) {
  .vx-num-row { grid-template-columns: 36px 1fr auto 36px; }
  .vx-num-ws, .vx-num-does, .vx-num-usage { grid-column: 2 / 4; }
  .vx-num-billing { grid-column: 3; grid-row: 1; text-align: right; }
  .vx-num-row > .dropdown { grid-column: 4; grid-row: 1; }
}

/* ── Billing ─────────────────────────────────────────── */
.vx-bill-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 110px minmax(0, 1.2fr); align-items: center; gap: .9rem; padding: .75rem 1rem; border-top: 1px solid #f0f1f4; }
.vx-invoice-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 140px 80px 50px; align-items: center; gap: .9rem; padding: .6rem 1rem; border-top: 1px solid #f0f1f4; }
@media (max-width: 767.98px) {
  .vx-bill-row { grid-template-columns: 1fr auto; }
  .vx-bill-row > :nth-child(4) { grid-column: 1 / -1; text-align: left !important; }
  .vx-invoice-row { grid-template-columns: 1fr auto auto; }
  .vx-invoice-row > :nth-child(2), .vx-invoice-row > :nth-child(4) { display: none; }
}

/* Workspace images (workspace_icon()) */
.vx-ws-icon.is-small { width: 22px; height: 22px; border-radius: 6px; font-size: .7rem; }
.vx-ws-icon img, .vx-ws-avatar img, .vx-member-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.has-img { background: #fff !important; box-shadow: inset 0 0 0 1px var(--vx-border) !important; overflow: hidden; }
.vx-logo-preview { width: 72px; height: 72px; border-radius: 16px; font-size: 1.8rem; }
