:root {
  color-scheme: light;
  --bg: #f3f5fb;
  --surface: #ffffff;
  --surface-2: #f6f7fb;
  --line: #e6e8f0;
  --grid: #eef0f6;
  --text: #0f1630;
  --text-2: #4a5170;
  --muted: #8189a6;
  --accent: #3d6bff;
  --accent-soft: rgba(61, 107, 255, .1);
  --series-1: #2a78d6;
  --series-2: #eb6834;
  --series-3: #1baf7a;
  --series-4: #eda100;
  --good: #0f8a4f;
  --good-soft: rgba(15, 138, 79, .1);
  --bad: #c43c3b;
  --bad-soft: rgba(196, 60, 59, .1);
  --heat-1: #fde3a7;
  --heat-2: #f8a54a;
  --heat-3: #eb6834;
  --heat-4: #c4302b;
  --shadow: 0 1px 2px rgba(15, 22, 48, .04), 0 8px 24px rgba(15, 22, 48, .06);
  --radius: 18px;
  --band: linear-gradient(135deg, #0f1630 0%, #1b2b66 55%, #2c3f8f 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b0e1c;
    --surface: #141a30;
    --surface-2: #1a2140;
    --line: #262e50;
    --grid: #1f2747;
    --text: #eef0fb;
    --text-2: #b9bfdb;
    --muted: #8189a6;
    --accent: #6d8dff;
    --accent-soft: rgba(109, 141, 255, .14);
    --series-1: #3987e5;
    --series-2: #d95926;
    --series-3: #199e70;
    --series-4: #c98500;
    --good: #3ccf8e;
    --good-soft: rgba(60, 207, 142, .14);
    --bad: #f07575;
    --bad-soft: rgba(240, 117, 117, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
    --band: linear-gradient(135deg, #0a0f24 0%, #141f4d 60%, #1f2e6e 100%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e1c;
  --surface: #141a30;
  --surface-2: #1a2140;
  --line: #262e50;
  --grid: #1f2747;
  --text: #eef0fb;
  --text-2: #b9bfdb;
  --muted: #8189a6;
  --accent: #6d8dff;
  --accent-soft: rgba(109, 141, 255, .14);
  --series-1: #3987e5;
  --series-2: #d95926;
  --series-3: #199e70;
  --series-4: #c98500;
  --good: #3ccf8e;
  --good-soft: rgba(60, 207, 142, .14);
  --bad: #f07575;
  --bad-soft: rgba(240, 117, 117, .14);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .25);
  --band: linear-gradient(135deg, #0a0f24 0%, #141f4d 60%, #1f2e6e 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.45 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
button, select, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* ---------- faixa do topo ---------- */
.band { background: var(--band); color: #fff; padding: 20px 16px 76px; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 141, 255, .35), transparent 65%); pointer-events: none; }
.band-in { max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); }
.logo h1 { font-size: 20px; font-weight: 700; }
.logo p { margin: 1px 0 0; font-size: 13px; color: rgba(255, 255, 255, .7); }
.me { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 4px 6px 4px 4px; font-size: 13px; }
.me .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #6d8dff, #a17bff); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.me button { background: rgba(255, 255, 255, .14); border: 0; color: #fff; border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.me button:hover { background: rgba(255, 255, 255, .24); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 3px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.seg button { border: 0; background: none; padding: 6px 13px; border-radius: 999px; cursor: pointer; color: rgba(255, 255, 255, .78); white-space: nowrap; font-size: 13.5px; font-weight: 500; transition: background .15s, color .15s; }
.seg button:hover { color: #fff; }
.seg button.on { background: #fff; color: #0f1630; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.seg .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.updated { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 8px; }
.updated button { background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: 12px; }

/* ---------- conteúdo ---------- */
.wrap { max-width: 1240px; margin: -56px auto 0; padding: 0 16px 40px; position: relative; z-index: 2; }
.grid { display: grid; gap: 16px; margin-bottom: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.apps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .g2, .g3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-width: 0; box-shadow: var(--shadow); }
.head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.head h2 { font-size: 15.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.head p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.ic { width: 28px; height: 28px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.ic svg { width: 16px; height: 16px; }

.kpi { padding: 16px 16px 0; display: flex; flex-direction: column; overflow: hidden; }
.kpi .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi .label { color: var(--text-2); font-size: 13px; font-weight: 500; }
.kpi .value { font-size: 28px; font-weight: 750; letter-spacing: -.03em; margin-top: 8px; line-height: 1.1; }
.kpi .hint { color: var(--muted); font-size: 12px; margin-top: 2px; min-height: 17px; }
.kpi .spark { display: block; width: calc(100% + 32px); margin: 8px -16px 0; height: 44px; }
.delta { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.delta.up { color: var(--good); background: var(--good-soft); }
.delta.down { color: var(--bad); background: var(--bad-soft); }
.delta.flat { color: var(--muted); background: var(--surface-2); }

.appcard { position: relative; overflow: hidden; padding-top: 20px; }
.appcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c); }
.appcard .name { display: flex; align-items: center; gap: 10px; }
.appcard .emoji { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; background: color-mix(in srgb, var(--c) 14%, transparent); }
.appcard b { font-size: 15.5px; }
.appcard small { display: block; color: var(--muted); font-size: 12px; }
.appcard .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.appcard .stats div { background: var(--surface-2); border-radius: 12px; padding: 8px 10px; }
.appcard .stats span { display: block; font-size: 11.5px; color: var(--muted); }
.appcard .stats strong { font-size: 18px; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); margin-top: 12px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live.on i { background: var(--good); box-shadow: 0 0 0 0 var(--good); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--good-soft); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.legend { display: flex; gap: 8px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
svg text { fill: var(--muted); font-size: 11px; font-family: inherit; }
svg .gridline { stroke: var(--grid); }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
@media (max-width: 600px) { svg.chart text { font-size: 20px; } }

.rank { display: flex; flex-direction: column; gap: 10px; }
.row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; font-size: 13.5px; }
.row .pos { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); }
.row:nth-child(-n+3) .pos { color: var(--accent); background: var(--accent-soft); }
.row .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.row .val { color: var(--text); font-weight: 600; text-align: right; }
.row .val small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.row .track { grid-column: 2 / -1; height: 6px; border-radius: 3px; background: var(--grid); overflow: hidden; display: block; }
.row .fill { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #a17bff)); }
.chip { display: inline-block; font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 6px; background: var(--surface-2); color: var(--text-2); margin-right: 6px; border: 1px solid var(--line); }

.heatwrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 700px) { .heatwrap { grid-template-columns: minmax(0, 1fr); } }
.phone { width: 230px; margin: 0 auto; border-radius: 34px; padding: 10px; background: #0f1630; box-shadow: 0 20px 40px rgba(15, 22, 48, .25), inset 0 0 0 2px #2c3a70; position: relative; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 64px; height: 16px; border-radius: 10px; background: #000; z-index: 2; }
.phone svg { display: block; width: 100%; height: auto; border-radius: 25px; }
select { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; max-width: 100%; cursor: pointer; font-weight: 500; }
.scale { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 12px 0; }
.scale i { width: 120px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--heat-1), var(--heat-2), var(--heat-3), var(--heat-4)); }

.adcard { background: var(--surface-2); border-radius: 14px; padding: 14px; }
.adcard .t { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.adcard .t span { font-size: 18px; }
.adcard .big { font-size: 26px; font-weight: 750; letter-spacing: -.02em; margin-top: 6px; }
.adcard .big small { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.adcard .sub { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-2); margin-top: 6px; flex-wrap: wrap; }
.adcard .sub b { color: var(--text); }
.meter { height: 6px; border-radius: 3px; background: var(--grid); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--good); border-radius: 3px; }

.stack { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 2px; margin: 4px 0 14px; }
.stack i { display: block; height: 100%; }
.stacklegend { display: grid; gap: 8px; }
.stacklegend div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.stacklegend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.stacklegend span { flex: 1; }
.stacklegend b { font-weight: 600; }
.stacklegend small { color: var(--muted); width: 48px; text-align: right; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
th:first-child, td:first-child, th.l, td.l { text-align: left; }
th { color: var(--muted); font-weight: 500; }
.scroll { overflow-x: auto; }
.empty { color: var(--muted); font-size: 14px; padding: 22px 0; text-align: center; }
details summary { cursor: pointer; color: var(--accent); font-size: 13px; margin-top: 12px; font-weight: 500; }
.foot { text-align: center; color: var(--muted); font-size: 12px; margin-top: 8px; }

.tip { position: fixed; pointer-events: none; z-index: 60; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); max-width: 260px; }
.tip b { display: block; margin-bottom: 3px; }
.tip .r { display: flex; align-items: center; gap: 6px; }
.tip .r i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.loading { padding: 80px 0; text-align: center; color: rgba(255, 255, 255, .8); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--band); position: relative; overflow: hidden; }
.login::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 141, 255, .35), transparent 65%); top: -200px; right: -200px; }
.login form { position: relative; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.login .mark { width: 48px; height: 48px; border-radius: 14px; background: var(--band); display: grid; place-items: center; margin-bottom: 4px; }
.login h1 { font-size: 22px; }
.login p { margin: 0 0 6px; color: var(--muted); font-size: 13.5px; }
.login label { font-size: 12.5px; font-weight: 600; color: var(--text-2); display: flex; flex-direction: column; gap: 5px; }
.login input { width: 100%; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; padding: 11px 13px; outline: none; transition: border-color .15s, box-shadow .15s; }
.login input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.login button { border: 0; background: linear-gradient(135deg, #3d6bff, #6a5cff); color: #fff; border-radius: 12px; padding: 12px; cursor: pointer; font-weight: 650; margin-top: 4px; box-shadow: 0 8px 20px rgba(61, 107, 255, .35); }
.login .err { color: var(--bad); font-size: 13px; min-height: 18px; margin: 0; }

/* ---------- datas e usuários ---------- */
.range { display: flex; gap: 8px; align-items: flex-end; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 6px 8px; flex-wrap: wrap; }
.range label { display: flex; flex-direction: column; font-size: 11px; color: rgba(255, 255, 255, .7); gap: 2px; }
.range input { background: #fff; color: #0f1630; border: 0; border-radius: 8px; padding: 5px 8px; font-size: 13px; color-scheme: light; }
.range button { border: 0; background: #fff; color: #0f1630; border-radius: 999px; padding: 6px 14px; font-weight: 600; cursor: pointer; font-size: 13px; }
.uname .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #6d8dff, #a17bff); display: inline-grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; flex: none; }
.search { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 180px; outline: none; }
.search:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
table.users tr[data-user] { cursor: pointer; transition: background .12s; }
table.users tr[data-user]:hover, table.users tr[data-user]:focus { background: var(--surface-2); outline: none; }
.uname { display: inline-flex; align-items: center; gap: 10px; }
.uname small { display: block; color: var(--muted); font-size: 11.5px; }
.more { display: block; margin: 12px auto 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; cursor: pointer; color: var(--accent); font-weight: 600; font-size: 13px; }
.hl { display: flex; gap: 14px; align-items: flex-start; }
.hl .ic { width: 40px; height: 40px; border-radius: 12px; }
.hl .ic svg { width: 20px; height: 20px; }
.hl .label { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.hl b { display: block; font-size: 19px; font-weight: 700; margin-top: 2px; letter-spacing: -.01em; }
.hl small { display: block; color: var(--text-2); font-size: 12.5px; margin-top: 3px; }
@media (max-width: 860px) { .search { min-width: 0; width: 100%; } .head { flex-wrap: wrap; } }
.kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.badge { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); white-space: nowrap; }
.badge.pro { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.ctl { display: grid; gap: 14px; }
.ctlrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px; background: var(--surface-2); border-radius: 14px; }
.ctlrow .label { display: block; font-size: 12.5px; color: var(--muted); }
.ctlrow .status { display: block; font-size: 16px; margin-top: 2px; }
.ctlrow .status.on { color: var(--accent); }
.seg2 { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.seg2 button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 13px; }
.seg2 button.on { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(61, 107, 255, .3); }
.seg2 button:disabled { opacity: .6; cursor: wait; }

/* Detalhe do usuário numa janela por cima do painel */
body.noscroll { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(8, 12, 30, .55); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 24px 16px; animation: fade .15s ease-out; }
.modal[hidden] { display: none; }
.sheet { width: 100%; max-width: 1080px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 22px; box-shadow: 0 24px 80px rgba(0, 0, 0, .35); padding: 0 20px 20px; animation: rise .2s ease-out; }
.sheet > .grid:last-child { margin-bottom: 0; }
.sheet .loading { color: var(--muted); padding: 40px 0; text-align: center; }
.mhead { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; margin: 0 -20px 16px; padding: 16px 20px; background: var(--band); color: #fff; border-radius: 22px 22px 0 0; }
.mhead .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.mhead div { flex: 1; min-width: 0; }
.mhead h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.mhead p { margin: 2px 0 0; font-size: 13px; color: rgba(255, 255, 255, .75); display: flex; align-items: center; gap: 6px; }
.mhead .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.mhead .x { border: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 16px; cursor: pointer; flex: none; }
.mhead .x:hover { background: rgba(255, 255, 255, .26); }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
@media (max-width: 560px) {
  .modal { padding: 0; }
  .sheet { max-height: 100vh; height: 100%; border-radius: 0; padding: 0 12px 16px; }
  .mhead { margin: 0 -12px 12px; padding: 12px; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { .modal, .sheet { animation: none; } }

/* Excluir conta */
.del { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.del label { flex: 1 1 240px; font-size: 12.5px; font-weight: 600; color: var(--text-2); display: flex; flex-direction: column; gap: 5px; }
.del input { width: 100%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); border-radius: 12px; padding: 10px 13px; font: inherit; outline: none; }
.del input:focus { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.del .danger { border: 0; background: var(--bad); color: #fff; border-radius: 12px; padding: 11px 16px; cursor: pointer; font-weight: 650; font: inherit; font-weight: 650; }
.del .danger:disabled { opacity: .6; cursor: wait; }
.del .err { flex-basis: 100%; margin: 0; color: var(--bad); font-size: 13px; min-height: 0; }
.del .err:empty { display: none; }

/* seletores de Premium e anúncios na linha do usuário */
.plancell { display: flex; flex-direction: column; gap: 6px; min-width: 170px; }
.rowctls { display: flex; flex-direction: column; gap: 4px; }
.rowctl { font: inherit; font-size: 12.5px; color: var(--text); background: var(--surface-2, #f3f4f8); border: 1px solid rgba(15, 22, 48, .12); border-radius: 8px; padding: 4px 6px; cursor: pointer; max-width: 200px; }
.rowctl option { color: #0f1630; }
.rowctl:disabled { opacity: .5; }
