:root {
  --brand: #0b6bcb;
  --brand-2: #0a58a8;
  --brand-soft: #e7f1fb;
  --sidebar-bg: #0f1c2e;
  --sidebar-fg: #b8c4d6;
  --sidebar-active: #ffffff;
  --surface: #ffffff;
  --page: #f4f6fa;
  --border: #e3e7ee;
  --muted: #6b7686;
  --ok: #198754;
  --warn: #c77700;
  --bad: #c62828;
}
[data-bs-theme="dark"] {
  --brand-soft: #13263d;
  --sidebar-bg: #0b1320;
  --surface: #151c27;
  --page: #0e131b;
  --border: #263142;
  --muted: #93a0b3;
}
body { background: var(--page); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: .925rem; }
a { color: var(--brand); }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-2); --bs-btn-hover-border-color: var(--brand-2); }
.text-muted, .small-muted { color: var(--muted) !important; }
.small-muted { font-size: .8rem; }

/* shell */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; background: var(--sidebar-bg); color: var(--sidebar-fg); position: sticky; top: 0; height: 100vh; overflow-y: auto; z-index: 1040; }
.sidebar { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--sidebar-bg) 0%, #0c1726 100%); border-right: 1px solid rgba(255,255,255,.04); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
.sidebar::-webkit-scrollbar { width: 6px; } .sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
.sidebar .brand { display: flex; align-items: center; gap: .7rem; padding: 1.05rem 1.1rem .8rem; color: #fff; text-decoration: none; }
.sidebar .brand .logo { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: linear-gradient(135deg, #2f8cff, var(--brand)); display: grid; place-items: center; color: #fff; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(11,107,203,.45); }
.sidebar .brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.sidebar .brand-name { font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .brand-sub { font-size: .7rem; color: #7f90a8; letter-spacing: .02em; }
.sidebar .side-search { position: relative; margin: .1rem .75rem .6rem; }
.sidebar .side-search .bi { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: #6f7f96; font-size: .8rem; pointer-events: none; }
.sidebar .side-search input { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); border-radius: 9px; color: #fff; font-size: .82rem; padding: .42rem .7rem .42rem 1.9rem; outline: none; transition: border-color .15s, background .15s; }
.sidebar .side-search input::placeholder { color: #6f7f96; }
.sidebar .side-search input:focus { border-color: rgba(47,140,255,.6); background: rgba(255,255,255,.09); }
.sidebar a.nav-link { color: var(--sidebar-fg); display: flex; align-items: center; gap: .65rem; padding: .44rem .75rem; margin: 1px .6rem; border-radius: 8px; font-size: .875rem; transition: background .12s, color .12s; }
.sidebar a.nav-link .bi { font-size: 1rem; width: 1.1rem; text-align: center; opacity: .85; }
.sidebar a.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar a.nav-link.active { background: linear-gradient(90deg, #2f8cff, var(--brand)); color: var(--sidebar-active); font-weight: 600; box-shadow: 0 4px 14px rgba(11,107,203,.35); }
.sidebar a.nav-link.active .bi { opacity: 1; }
.sidebar a.nav-link .badge { margin-left: auto; font-size: .68rem; }
.sidebar .nav-group { margin-bottom: 1px; }
.sidebar .nav-group:not([data-group]) { padding-bottom: .45rem; margin-bottom: .35rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.sidebar .nav-section { display: flex; align-items: center; gap: .6rem; width: calc(100% - 1.2rem); margin: 1px .6rem; padding: .42rem .75rem .42rem .5rem; border: 0; border-radius: 8px; background: transparent; color: #c9d3e2; font-size: .84rem; font-weight: 600; text-align: left; cursor: pointer; transition: background .12s, color .12s; }
.sidebar .nav-section > span:not(.badge) { flex: 1; }
.sidebar .nav-section:hover { background: rgba(255,255,255,.05); color: #fff; }
.sidebar .nav-section > .bi:first-child { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.06); font-size: .85rem; color: #9fb3cf; }
.sidebar .nav-group.has-active > .nav-section > .bi:first-child, .sidebar .nav-group.open > .nav-section > .bi:first-child { background: rgba(47,140,255,.18); color: #6fb1ff; }
.sidebar .nav-section .chev { font-size: .7rem; color: #6f7f96; transition: transform .18s; }
.sidebar .nav-group.open > .nav-section .chev { transform: rotate(180deg); }
.sidebar .nav-group.open .group-badge { display: none; }
.sidebar .nav-group[data-group] .nav-items { display: none; margin: 2px 0 .35rem 1.55rem; padding-left: .2rem; border-left: 1px solid rgba(255,255,255,.08); }
.sidebar .nav-group[data-group].open .nav-items, .sidebar.searching .nav-group.match .nav-items { display: block; }
.sidebar .nav-group[data-group] .nav-items a.nav-link { margin-left: .35rem; padding: .38rem .65rem; font-size: .85rem; }
.sidebar .side-foot { margin-top: auto; padding: .75rem; font-size: .78rem; }
.sidebar .side-user { display: flex; align-items: center; gap: .6rem; padding: .6rem; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); }
.sidebar .side-user .avatar { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: linear-gradient(135deg, #2f8cff, #7c4dff); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.sidebar .side-user .who { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.sidebar .side-user .who strong { color: #fff; font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .side-user .who span { color: #7f90a8; font-size: .72rem; }
.sidebar .side-status { display: flex; align-items: center; gap: .45rem; color: #7f90a8; font-size: .72rem; padding: .5rem .3rem 0; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); padding: .6rem 1.25rem; display: flex; align-items: center; gap: .75rem; position: sticky; top: 0; z-index: 1030; }
.topbar h1 { font-size: 1.1rem; margin: 0; font-weight: 600; }
.content { padding: 1.25rem; }
@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: -270px; transition: left .2s; }
  .sidebar.open { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.4); }
  .content { padding: 1rem; }
}

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.card-header { background: transparent; border-bottom: 1px solid var(--border); font-weight: 600; padding: .8rem 1rem; }
.card.kpi, .kpi { padding: 1rem 1.1rem; display: flex; flex-direction: row; gap: .9rem; align-items: center; height: 100%; }
.kpi .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 1.25rem; flex: 0 0 44px; }
.kpi .val { font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.kpi .lbl { color: var(--muted); font-size: .8rem; }
.ico.blue { background: #e3effc; color: #0b6bcb; } .ico.green { background: #e2f5ea; color: #198754; }
.ico.orange { background: #fdf0dc; color: #c77700; } .ico.red { background: #fde6e6; color: #c62828; }
.ico.purple { background: #eee7fb; color: #6f42c1; } .ico.teal { background: #dff5f3; color: #0f8a7e; }
[data-bs-theme="dark"] .ico { filter: brightness(.85) saturate(1.2); background-blend-mode: multiply; }
[data-bs-theme="dark"] .ico.blue { background: #13263d; } [data-bs-theme="dark"] .ico.green { background: #12301f; }
[data-bs-theme="dark"] .ico.orange { background: #33250f; } [data-bs-theme="dark"] .ico.red { background: #361616; }
[data-bs-theme="dark"] .ico.purple { background: #251a3b; } [data-bs-theme="dark"] .ico.teal { background: #0f2d2a; }

/* tables */
.table { --bs-table-bg: transparent; margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .55rem .75rem; border-color: var(--border); }
.table thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; white-space: nowrap; }
.table-hover tbody tr:hover { --bs-table-hover-bg: var(--brand-soft); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* status pills */
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; text-transform: capitalize; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.active, .pill.success, .pill.sent, .pill.applied, .pill.unused, .pill.online { background: #e2f5ea; color: #157347; }
.pill.expired, .pill.failed, .pill.offline, .pill.disabled { background: #fde6e6; color: #b02a2a; }
.pill.paused { background: #e4ecfb; color: #2a4f9a; }
.pill.suspended, .pill.pending, .pill.cancelled, .pill.unmatched, .pill.skipped, .pill.used { background: #fdf0dc; color: #a35f00; }
.pill.open { background: #e3effc; color: #0b5cad; } .pill.closed { background: #eceff3; color: #5c6776; }
[data-bs-theme="dark"] .pill { filter: brightness(1.1); background: rgba(255,255,255,.07) !important; }

.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: #adb5bd; }
.dot.on { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.dot.off { background: #ef4444; }

.form-label { font-weight: 500; font-size: .85rem; margin-bottom: .25rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre.script { background: #0f1c2e; color: #d6e2f0; padding: 1rem; border-radius: 10px; font-size: .8rem; max-height: 520px; overflow: auto; white-space: pre; }
.filters .form-control, .filters .form-select { font-size: .85rem; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty i { font-size: 2rem; display: block; margin-bottom: .5rem; opacity: .6; }
dl.kv { display: grid; grid-template-columns: 140px 1fr; gap: .35rem .75rem; margin: 0; }
dl.kv dt { color: var(--muted); font-weight: 500; font-size: .83rem; }
dl.kv dd { margin: 0; word-break: break-word; }

/* public / portal */
.pub-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.pub-hero { background: linear-gradient(135deg, #0b6bcb, #0f1c2e); color: #fff; }
.auth-card { max-width: 420px; margin: 6vh auto; }
.pkg-card { border: 2px solid var(--border); border-radius: 14px; padding: 1rem; cursor: pointer; transition: border-color .15s, transform .15s; background: var(--surface); height: 100%; }
.pkg-card:hover, .pkg-card.sel { border-color: var(--brand); transform: translateY(-2px); }
.pkg-card .price { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
@media print { .sidebar, .topbar, .no-print { display: none !important; } .content { padding: 0; } }

.chart-box { position: relative; height: 260px; }

/* ===================== polish layer (v3) ===================== */
body { -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
h1, h2, h3, .h1, .h2, .h3, .h4, .h5 { letter-spacing: -.02em; }
.card { box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.03); }
.btn { border-radius: 9px; font-weight: 500; }
.btn-lg { border-radius: 12px; padding: .7rem 1.25rem; font-weight: 600; }
.form-control, .form-select { border-radius: 9px; border-color: var(--border); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(11,107,203,.15); }
.form-control-lg { border-radius: 12px; }
a.card:hover, a .card:hover { border-color: #c9d6e6; }
.kpi:hover { box-shadow: 0 4px 14px rgba(16,24,40,.06); }
.topbar { backdrop-filter: saturate(1.4) blur(8px); background: color-mix(in srgb, var(--surface) 88%, transparent); }
.sidebar { background: linear-gradient(180deg, #0f1c2e 0%, #0b1524 100%); }
.sidebar a.nav-link.active { box-shadow: 0 4px 12px rgba(11,107,203,.35); }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.page-head .sub { color: var(--muted); font-size: .88rem; }

/* public navbar + footer */
.pub-nav { background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 1030; }
.pub-nav .nav-link { color: var(--bs-body-color); font-weight: 500; font-size: .92rem; }
.pub-nav .nav-link:hover { color: var(--brand); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #1a86f0, #0b5cad); box-shadow: 0 4px 12px rgba(11,107,203,.35); }
.pub-foot { border-top: 1px solid var(--border); background: var(--surface); }
.pub-foot a { color: var(--muted); text-decoration: none; } .pub-foot a:hover { color: var(--brand); }

/* landing */
.landing-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 500px at 85% -10%, rgba(56,152,255,.55), transparent 60%), linear-gradient(135deg, #0b5cad 0%, #0a3a73 45%, #0b1524 100%); }
.landing-hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000 30%, transparent); pointer-events: none; }
.landing-hero > .container { position: relative; z-index: 1; }
.landing-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.05; }
.landing-hero .lead { color: rgba(255,255,255,.8); max-width: 34rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); font-size: .8rem; font-weight: 500; }
.hero-badge .live { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.quickpay { background: var(--surface); color: var(--bs-body-color); border-radius: 18px; padding: 1.5rem; box-shadow: 0 24px 60px rgba(4,16,36,.35); }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats div { font-size: .82rem; color: rgba(255,255,255,.7); } .hero-stats strong { display: block; color: #fff; font-size: 1.25rem; }
.section { padding: 4.5rem 0; }
.section-title { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; height: 100%; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.price-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,24,40,.09); }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 16px 40px rgba(11,107,203,.15); }
.price-card .tag { position: absolute; top: -11px; left: 1.5rem; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.price-card .speed { font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.price-card .speed small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-card .amount { font-size: 1.15rem; font-weight: 700; color: var(--brand); }
.price-card ul { list-style: none; padding: 0; margin: 1rem 0 1.25rem; font-size: .88rem; color: var(--muted); }
.price-card ul li { padding: .2rem 0; } .price-card ul li i { color: var(--ok); margin-right: .4rem; }
.step { text-align: center; padding: 1rem; }
.step .num { width: 52px; height: 52px; border-radius: 16px; display: inline-grid; place-items: center; font-size: 1.35rem; background: var(--brand-soft); color: var(--brand); margin-bottom: .9rem; }
.feature { display: flex; gap: 1rem; padding: 1.25rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); height: 100%; }
.feature .fi { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--brand-soft); color: var(--brand); }
.cta-band { border-radius: 22px; padding: 2.5rem; color: #fff; background: linear-gradient(135deg, #0b6bcb, #0a3a73); }

/* split auth */
.auth-split { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side { position: relative; overflow: hidden; color: #fff; padding: 3rem; display: flex; flex-direction: column; background: radial-gradient(900px 400px at 0% 0%, rgba(56,152,255,.5), transparent 60%), linear-gradient(160deg, #0b5cad, #0b1524 70%); }
.auth-side::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 { font-weight: 800; font-size: 2.1rem; line-height: 1.15; }
.auth-side .pt { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; color: rgba(255,255,255,.85); }
.auth-side .pt i { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; background: var(--page); }
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-weight: 800; font-size: 1.7rem; }
.input-icon { position: relative; } .input-icon > i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon > .form-control { padding-left: 2.5rem; }
@media (max-width: 991.98px) { .auth-split { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* portal */
.status-hero { border-radius: 18px; padding: 1.5rem; color: #fff; background: linear-gradient(135deg, #0b6bcb, #0a3a73); position: relative; overflow: hidden; }
.status-hero.expired { background: linear-gradient(135deg, #c62828, #6d1414); }
.status-hero .big { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.status-hero .lbl { color: rgba(255,255,255,.72); font-size: .8rem; }
.ring { --p: 0; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#fff calc(var(--p) * 1%), rgba(255,255,255,.18) 0); flex: 0 0 112px; }
.ring > div { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: rgba(10,40,80,.85); font-size: .72rem; color: rgba(255,255,255,.75); line-height: 1.15; }
.status-hero.expired .ring > div { background: rgba(90,15,15,.9); }
.ring strong { display: block; font-size: 1.15rem; color: #fff; }
.stat-mini { padding: 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); height: 100%; }
.stat-mini .l { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.stat-mini .v { font-size: 1.15rem; font-weight: 700; margin-top: .2rem; }
.pay-steps { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.pay-steps span { flex: 1; font-size: .75rem; color: var(--muted); padding-top: .5rem; border-top: 3px solid var(--border); }
.pay-steps span.on { color: var(--brand); border-color: var(--brand); font-weight: 600; }
[data-bs-theme="dark"] .quickpay { box-shadow: 0 24px 60px rgba(0,0,0,.5); }
a { text-decoration: none; } a:hover { text-decoration: underline; }
.btn:hover, .nav-link:hover, .navbar-brand:hover, .dropdown-item:hover, a.card:hover, .sidebar a:hover, .pub-foot a:hover, .table a:hover { text-decoration: none; }
.table a { font-weight: 500; }
.ring > div { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0a3f7c; }
.status-hero.expired .ring > div { background: #7a1717; }

/* ---------- platform sales page ---------- */
.mock { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; box-shadow: 0 30px 70px rgba(2,10,24,.45); backdrop-filter: blur(6px); position: relative; color: #fff; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.mock-bar > span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-bar em { font-style: normal; font-weight: 600; margin-left: .4rem; } .mock-bar small { margin-left: auto; opacity: .55; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.mock-body { padding: 1rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .9rem; }
.mock-kpis > div { background: rgba(255,255,255,.08); border-radius: 12px; padding: .7rem; }
.mock-kpis b { display: block; font-size: 1.15rem; } .mock-kpis small { font-size: .7rem; opacity: .7; }
.mock-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.mock-row:last-child { border-bottom: 0; } .mock-row > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row em { font-style: normal; font-weight: 600; opacity: .85; } .mock-row > i.bi { opacity: .7; }
.mock-row .pill { font-size: .66rem; }
.mock-status { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .8rem; font-size: .75rem; opacity: .85; } .mock-status .dot { margin-right: .3rem; }
.mock-toast { position: absolute; left: -1.2rem; bottom: -2.6rem; display: flex; gap: .6rem; align-items: center; background: var(--surface); color: var(--bs-body-color); border-radius: 14px; padding: .7rem .9rem; box-shadow: 0 16px 40px rgba(2,10,24,.3); font-size: .8rem; max-width: 300px; }
.mock-toast > i { color: var(--ok, #16a34a); font-size: 1.3rem; } .mock-toast small { display: block; color: var(--muted); }
.mock-light { background: var(--surface); color: var(--bs-body-color); border-color: var(--border); box-shadow: 0 20px 50px rgba(16,24,40,.10); }
.mock-light .mock-bar { border-color: var(--border); } .mock-light .mock-bar > span { background: var(--border); }
.mock-light .mock-row { border-color: var(--border); }
.mock-alert { display: flex; gap: .7rem; align-items: center; margin-top: .8rem; padding: .7rem .9rem; border-radius: 12px; background: #fdf0dc; color: #7a4700; font-size: .8rem; }
.mock-alert > i { font-size: 1.2rem; } .mock-alert small { display: block; opacity: .8; }
[data-bs-theme="dark"] .mock-alert { background: #3a2a10; color: #f5c77a; }
.strip { padding: 1.6rem 0; border-bottom: 1px solid var(--border); background: var(--surface); }
.strip-item { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.strip-item i { font-size: 1.4rem; color: var(--brand); margin-bottom: .2rem; } .strip-item b { font-size: .9rem; } .strip-item small { color: var(--muted); font-size: .74rem; }
.cap { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; height: 100%; transition: transform .15s, box-shadow .15s; }
.cap:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,24,40,.08); }
.cap .fi { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; background: var(--brand-soft); color: var(--brand); }
.tagpill { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.tagpill.light { background: rgba(255,255,255,.14); color: #fff; font-size: .8rem; padding: .4rem .8rem; }
.howstep { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem; height: 100%; }
.howstep .n { font-size: 2rem; font-weight: 800; color: var(--brand); opacity: .35; letter-spacing: -.03em; }
.migrate { border-radius: 22px; padding: 2.2rem; color: #fff; background: linear-gradient(135deg, #0f1c2e, #0b4f97); }
@media (max-width: 991.98px) { .mock-toast { position: static; margin: .8rem 1rem 1rem; max-width: none; } }
@media (max-width: 575.98px) { .mock-kpis { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; } .mock-kpis b { font-size: .95rem; } .migrate, .cta-band { padding: 1.5rem; } }

/* ---------- live chat ---------- */
.chat-box { height: 55vh; min-height: 280px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .4rem; background: var(--bg, #f4f6fa); }
.chat-row { display: flex; } .chat-row.mine { justify-content: flex-end; }
.chat-bubble { max-width: 78%; padding: .5rem .75rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); font-size: .92rem; white-space: normal; word-wrap: break-word; }
.chat-row.mine .chat-bubble { background: var(--brand); color: #fff; border-color: var(--brand); }
.chat-meta { font-size: .7rem; opacity: .65; margin-top: .15rem; }
.chat-empty { margin: auto; color: var(--muted); text-align: center; max-width: 22rem; font-size: .9rem; }
