/* APIVOOS painel — mobile-first, sidebar no desktop, trilho de icones no tablet */
:root {
  color-scheme: light;
  --bg: #f3f5fa; --surface: #ffffff; --surface-2: #f1f4f9; --surface-3: #e8edf5; --ink: #0c1424; --ink-2: #475269; --muted: #7b869b;
  --line: #e2e8f1; --line-2: #d3dbe8; --brand: #2f55e6; --brand-2: #6a4df5; --brand-ink: #ffffff; --brand-soft: #e8edff;
  --good: #0b8f47; --good-soft: #e1f6ea; --warn: #b26b00; --warn-soft: #fff1d6; --bad: #cc2f3a; --bad-soft: #fde7e9;
  --s1: #2f6fe0; --s2: #e8612c; --s3: #12a679; --s4: #e0a000; --s5: #d6578f; --s6: #7a58d6; --s7: #0e9cc4;
  --radius: 18px; --radius-sm: 12px; --tab-h: 64px; --side-w: 256px;
  --shadow: 0 1px 2px rgba(16, 28, 56, .05), 0 6px 22px rgba(16, 28, 56, .06);
  --shadow-lg: 0 18px 50px rgba(16, 28, 56, .22);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090d15; --surface: #111826; --surface-2: #182132; --surface-3: #202b40; --ink: #edf1f8; --ink-2: #b2bdd0; --muted: #7c89a1;
  --line: #222d42; --line-2: #2d3a54; --brand: #6c8cff; --brand-2: #9a85ff; --brand-ink: #0a0f1a; --brand-soft: #1a2647;
  --good: #3fd17b; --good-soft: #0f2a1b; --warn: #f3b44e; --warn-soft: #2c2210; --bad: #ff7076; --bad-soft: #2f1517;
  --s1: #4f8df0; --s2: #f0763f; --s3: #25c492; --s4: #f0b72a; --s5: #ea6fa4; --s6: #9a7bf0; --s7: #2fb7de;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 26px rgba(0, 0, 0, .28);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .6);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1 { font-size: clamp(20px, 5.4vw, 28px); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: 16px; margin: 0 0 12px; letter-spacing: -.01em; }
h3 { font-size: 14px; margin: 0 0 8px; }
.muted { color: var(--muted); } .small { font-size: 12.8px; } .mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; }
.nowrap { white-space: nowrap; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- casca ---------- */
.app { min-height: 100dvh; }
.mbar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; font-size: 18px; }
.logo .mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 16px rgba(47, 85, 230, .35); }
.logo .mark svg.i { width: 19px; height: 19px; }
.logo small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.side { display: none; }
main { padding: 18px 16px calc(var(--tab-h) + 34px + env(safe-area-inset-bottom)); max-width: 1240px; margin: 0 auto; animation: rise .28s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); text-decoration: none; font-weight: 600; position: relative; }
.tabbar a.on { color: var(--brand); }
.tabbar a.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 4px 4px; background: var(--brand); }

.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.top .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.top .actions { display: flex; gap: 8px; align-items: center; }
.iconbtn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink-2); transition: .15s; }
.iconbtn:hover { border-color: var(--line-2); color: var(--ink); }

/* ---------- cartoes e KPIs ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow); min-width: 0; }
.card.flat { box-shadow: none; }
.card > h2:first-child, .card .hd { margin-bottom: 14px; }
.hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hd h2 { margin: 0; }
.grid { display: grid; gap: 14px; min-width: 0; }
.cols-2 { grid-template-columns: 1fr; } .cols-3 { grid-template-columns: 1fr; }
.kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.kpi { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 13px; min-width: 0; box-shadow: var(--shadow); overflow: hidden; }
.kpi .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 10px; }
.kpi .ic svg.i { width: 17px; height: 17px; }
.kpi .ic.good { background: var(--good-soft); color: var(--good); } .kpi .ic.warn { background: var(--warn-soft); color: var(--warn); } .kpi .ic.bad { background: var(--bad-soft); color: var(--bad); }
.kpi .l { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.kpi .v { font-size: clamp(19px, 5.6vw, 28px); font-weight: 750; letter-spacing: -.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi .d { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.hero { background: linear-gradient(135deg, #1d3fd0 0%, #5b3fe0 100%); color: #fff; border: 0; }
.kpi.hero .l, .kpi.hero .d { color: rgba(255, 255, 255, .78); }
.kpi.hero .ic { background: rgba(255, 255, 255, .18); color: #fff; }
.kpi.hero::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .09); }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; padding: 4px; background: var(--surface-2); border-radius: 14px; width: fit-content; max-width: 100%; }
.chip { border: 0; background: none; border-radius: 10px; padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.chip.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(16, 28, 56, .12); }
.chips.inline { margin: 0; }

.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px 3px 9px; font-size: 12.5px; font-weight: 650; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge svg.i { width: 14px; height: 14px; }
.badge.dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.good { background: var(--good-soft); color: var(--good); } .badge.warn { background: var(--warn-soft); color: var(--warn); } .badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.good.dot::before { animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.btn { white-space: nowrap; border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--radius-sm); padding: 9px 15px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: .15s; min-height: 40px; }
.btn:hover { border-color: var(--brand); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(47, 85, 230, .28); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.danger { color: var(--bad); } .btn.danger:hover { border-color: var(--bad); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.sm { padding: 5px 11px; font-size: 13px; min-height: 34px; border-radius: 10px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.nogap { gap: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.spacer { flex: 1; }

/* ---------- formularios ---------- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; min-width: 0; }
.field label { font-size: 12.5px; color: var(--ink-2); font-weight: 650; }
input, select, textarea { width: 100%; border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; min-height: 44px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 96px; resize: vertical; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
input[type=checkbox] { width: 18px; min-height: 18px; height: 18px; accent-color: var(--brand); padding: 0; }
.pw { position: relative; } .pw input { padding-right: 46px; }
.pw button { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.filters .field { margin: 0; }
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; padding: 4px 0; }

/* ---------- tabelas (viram cartoes no celular) ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
table { width: 100%; border-collapse: collapse; font-size: 13.8px; }
th { text-align: left; color: var(--muted); font-weight: 650; font-size: 11.8px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.click { cursor: pointer; } tr.click:hover td { background: var(--surface-2); }
.pdot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 8px; vertical-align: 0; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 11.5px; letter-spacing: .02em; flex: none; }
.avatar.lg { width: 42px; height: 42px; border-radius: 13px; font-size: 14px; }

/* ---------- graficos ---------- */
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); margin-bottom: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart { width: 100%; position: relative; } .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--muted); font-size: 11px; }
.tip { position: fixed; z-index: 90; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 12px; padding: 9px 12px; font-size: 12.5px; max-width: 250px; box-shadow: var(--shadow-lg); }
.tip b { display: block; margin-bottom: 3px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 26px; }
.strip i { border-radius: 4px; background: var(--good); }
.donut { position: relative; width: 112px; height: 112px; flex: none; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .c { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.donut .c small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

/* ---------- cartoes de provedor ---------- */
.pcards { display: grid; gap: 12px; grid-template-columns: 1fr; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pcard .nm { font-weight: 700; letter-spacing: -.01em; }
.pcard .meta { color: var(--ink-2); font-size: 12.8px; }
.pcard .err { color: var(--bad); font-size: 12.5px; word-break: break-word; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kv > div { background: var(--surface-2); border-radius: 12px; padding: 9px 11px; min-width: 0; }
.kv .l { font-size: 11.5px; color: var(--muted); font-weight: 650; }
.kv .v { font-size: 16px; font-weight: 720; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }

/* ---------- misc ---------- */
.sheet-bg { position: fixed; inset: 0; background: rgba(5, 10, 24, .55); backdrop-filter: blur(3px); z-index: 60; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet { background: var(--surface); width: 100%; max-width: 640px; max-height: 90dvh; overflow: auto; border-radius: 24px 24px 0 0; padding: 20px 18px calc(24px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: up .24s ease; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: -8px auto 14px; }
.sheet h2 { font-size: 18px; }
pre.json { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px; overflow: auto; max-height: 360px; font-size: 12px; margin: 8px 0 0; white-space: pre-wrap; word-break: break-word; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + 24px); background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 14px; z-index: 80; font-size: 14px; font-weight: 600; max-width: 90vw; box-shadow: var(--shadow-lg); animation: rise .2s ease; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.spin { width: 18px; height: 18px; border: 2px solid var(--line-2); border-top-color: var(--brand); border-radius: 50%; animation: sp .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes sp { to { transform: rotate(360deg); } }
.skel { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); height: 90px; }
@keyframes sk { to { background-position: -200% 0; } }
.keybox { display: flex; gap: 6px; align-items: center; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 6px 6px 6px 12px; min-width: 0; }
.keybox span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.menu a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.menu a:last-child { border-bottom: 0; }
.menu .mi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.flight { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; margin-bottom: 8px; }
.flight .fares { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.flight .fare { background: var(--surface-2); border-radius: 8px; padding: 3px 9px; font-size: 12.5px; }
.login-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: radial-gradient(900px 500px at 15% -10%, color-mix(in srgb, var(--brand) 22%, transparent), transparent), radial-gradient(700px 500px at 100% 110%, color-mix(in srgb, var(--brand-2) 20%, transparent), transparent), var(--bg); }
.login { width: 100%; max-width: 400px; }
.login .card { padding: 26px; box-shadow: var(--shadow-lg); }
.note { background: var(--surface-2); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 13px; color: var(--ink-2); }
.note.warn { background: var(--warn-soft); color: var(--warn); }
details > summary { cursor: pointer; font-weight: 650; }

/* ---------- celular: tabelas empilhadas ---------- */
@media (max-width: 699px) {
  table.stack-m, table.stack-m tbody { display: block; }
  table.stack-m thead { display: none; }
  table.stack-m tr { display: block; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 10px; background: var(--surface); }
  table.stack-m td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 6px 0; border: 0; text-align: right; }
  table.stack-m td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 650; text-align: left; flex: none; }
  table.stack-m td:empty { display: none; }
  table.stack-m td.n { text-align: right; }
  .tbl-wrap { overflow: visible; margin: 0; padding: 0; }
}

/* ---------- tablet: trilho de icones ---------- */
@media (min-width: 700px) {
  :root { --side-w: 84px; }
  .app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .mbar, .tabbar { display: none; }
  .side { display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; padding: 18px 12px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
  .side .logo { padding: 0 4px 16px; justify-content: center; } .side .logo .tx { display: none; }
  .side .grp { display: none; }
  .side nav a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; border-radius: 14px; color: var(--ink-2); text-decoration: none; font-weight: 600; margin-bottom: 4px; position: relative; }
  .side nav a span { display: none; }
  .side nav a:hover { background: var(--surface-2); color: var(--ink); }
  .side nav a.on { background: var(--brand-soft); color: var(--brand); }
  .side .foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .side .foot .btn { padding: 9px; } .side .foot .btn span { display: none; }
  main { padding: 28px 28px 56px; }
  .toast { bottom: 28px; }
  .sheet-bg { align-items: center; } .sheet { border-radius: 24px; } .sheet::before { display: none; }
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(3, 1fr); }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ---------- desktop: sidebar completa ---------- */
@media (min-width: 1100px) {
  :root { --side-w: 264px; }
  .side { padding: 22px 16px; }
  .side .logo { justify-content: flex-start; padding: 0 8px 22px; } .side .logo .tx { display: block; }
  .side .grp { display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 6px; }
  .side nav a { justify-content: flex-start; padding: 10px 12px; font-size: 14.5px; }
  .side nav a span { display: inline; }
  .side nav a.on::before { content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); }
  .side .foot .btn { padding: 9px 15px; } .side .foot .btn span { display: inline; }
  main { padding: 34px 40px 64px; }
  .kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .kpis.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kpis.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(6, 1fr); }
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
}
@media (min-width: 1500px) { main { max-width: 1400px; } .pcards.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.grid > .card, .grid > .kpi { margin-bottom: 0; }

.lrows { display: none; }
@media (max-width: 699px) { .tbl-wrap:has(table.stack-m) { display: none; } .lrows { display: block; } .lrow { padding: 11px 2px; border-bottom: 1px solid var(--line); } .lrow:last-child { border: 0; } }
@media (min-width: 700px) and (max-width: 1099px) { .side .foot .small { display: none; } .side .foot .btn { border: 0; background: none; } }

/* ---------- custo do proxy: decomposicao ---------- */
.dotc { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.sbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--surface-3); margin: 10px 0 12px; }
.sbar > i { display: block; height: 100%; min-width: 0; }
.bdblock { padding: 14px 0 6px; border-top: 1px solid var(--line); } .bdblock:first-child { border-top: 0; padding-top: 4px; }
.bad-t { color: var(--bad); }
@media (max-width: 699px) { .tbl-wrap.sc { overflow-x: auto; margin: 0 -6px; padding: 0 6px; } .tbl-wrap.sc table { min-width: 520px; font-size: 13px; } }

/* ---------- linhas de lista (clientes, consumo) ---------- */
.lrow2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lrow2:last-child { border: 0; } .lrow2 > div { min-width: 0; }
.lrow2.click { cursor: pointer; } .lrow2.click:hover { background: var(--surface-2); }
