:root {
  --blue: #0b3df0;
  --blue-2: #1f6bff;
  --blue-soft: #e8edff;
  --night: #05081f;
  --navy: #061338;
  --ink: #10162f;
  --muted: #5c6480;
  --line: #e4e8f4;
  --bg: #f4f6fd;
  --card: #fff;
  --green: #0a7d55;
  --green-2: #12b886;
  --green-soft: #dff5ec;
  --purple: #6d35e8;
  --purple-soft: #ece4ff;
  --amber: #8f5a00;
  --amber-soft: #fff1d6;
  --red: #d92d3a;
  --red-soft: #fde7e8;
  --grey-soft: #eceef5;
  --shadow: 0 6px 22px rgba(20, 40, 110, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.defs { position: absolute; }
a { color: inherit; }
h1 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.02em; }
h2 { margin: 0 0 12px; font-size: 17px; letter-spacing: -.01em; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
code { padding: 1px 5px; border-radius: 5px; background: var(--bg); font-size: 13px; }
:focus-visible { outline: 2px solid #3f6bff; outline-offset: 2px; }

.demo { padding: 6px 16px; background: var(--amber-soft); color: var(--amber); font-size: 13px; text-align: center; }

/* Acesso */
.auth { display: grid; place-items: center; min-height: calc(100vh - 31px); padding: 24px 16px; background: radial-gradient(520px 300px at 50% 18%, rgba(11, 61, 240, .9), rgba(11, 61, 240, 0) 75%), var(--night); }
.auth-card { width: min(400px, 100%); padding: 28px; border-radius: 16px; background: #fff; }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 18px; color: var(--blue); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.auth-logo svg { width: 36px; height: 25px; }
.auth-logo .wm { color: var(--night); }
.auth-card h1 { font-size: 20px; text-align: center; }
.auth-card > p { margin-bottom: 16px; color: var(--muted); font-size: 14px; text-align: center; }
.auth-card label { margin-bottom: 12px; }
.auth-card .btn { width: 100%; }

/* Estrutura */
.shell { display: flex; align-items: stretch; min-height: 100vh; }
.side {
  position: sticky;
  top: 0;
  display: flex;
  flex: 0 0 262px;
  flex-direction: column;
  gap: 22px;
  height: 100vh;
  overflow-y: auto;
  padding: 26px 14px 20px;
  background: radial-gradient(260px 300px at 100% 72%, rgba(31, 107, 255, .35), rgba(31, 107, 255, 0) 70%), linear-gradient(180deg, var(--navy), #04102e);
  color: #fff;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .2) transparent;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 40px; height: 28px; }
.wm { font-style: italic; font-weight: 800; letter-spacing: -.025em; }
.wm em { margin-left: .2em; color: #2f86ff; }
#nav { display: flex; flex-direction: column; gap: 4px; }
#nav a { display: block; padding: 8px 12px 8px 46px; border-radius: 10px; color: #e5eaff; font-size: 14.500px; text-decoration: none; }
#nav a:hover, .group summary:hover { background: rgba(255, 255, 255, .07); }
#nav a.on { background: rgba(47, 116, 255, .22); color: #fff; font-weight: 600; }
#nav .top-link { display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-size: 15px; }
#nav .top-link.on { background: linear-gradient(90deg, #1450f5, #1f6bff); box-shadow: 0 6px 16px rgba(11, 61, 240, .45); }
#nav svg { flex: 0 0 20px; width: 20px; height: 20px; fill: #b9c6f2; }
#nav .top-link.on svg { fill: #fff; }
.group summary { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; font-size: 15px; list-style: none; cursor: pointer; }
.group summary::-webkit-details-marker, .user-menu summary::-webkit-details-marker { display: none; }
.group summary::after { content: "›"; margin-left: auto; color: #b9c6f2; font-size: 18px; line-height: 1; transition: transform .15s; }
.group[open] summary::after { transform: rotate(90deg); }

.side-promo { display: grid; gap: 6px; margin-top: auto; padding: 16px; border: 1px solid rgba(120, 160, 255, .35); border-radius: 14px; background: rgba(6, 24, 80, .7); color: #fff; font-size: 14px; text-decoration: none; }
.side-promo svg { width: 34px; height: 34px; color: #2f74ff; fill: #2f74ff; }
.side-promo b { font-weight: 500; line-height: 1.3; }
.side-promo span { font-size: 13px; }

.content { flex: 1; min-width: 0; background: radial-gradient(620px 340px at 88% -6%, rgba(31, 107, 255, .16), rgba(31, 107, 255, 0) 70%), radial-gradient(420px 240px at 55% 0, rgba(109, 53, 232, .06), rgba(109, 53, 232, 0) 70%), var(--bg); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px 6px; }
.env-pill { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.500px; }
.env-pill i { width: 12px; height: 12px; border: 3px solid #bdeed9; border-radius: 50%; background: var(--green-2); background-clip: padding-box; }
.env-pill b { font-weight: 600; }
.env-pill span { padding-left: 10px; border-left: 1px solid #c8cfe4; }
.top-right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.balance { display: flex; align-items: baseline; gap: 8px; }
.balance small { color: var(--muted); font-size: 13px; }
.balance b { font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.balance b.neg { color: var(--red); }
.linkish { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: 13px; cursor: pointer; }
.bell { position: relative; display: block; width: 28px; height: 28px; color: var(--ink); }
.bell svg { width: 28px; height: 28px; }
.bell span { position: absolute; top: -5px; right: -6px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; }
.user-menu { position: relative; }
.user-menu summary { display: flex; align-items: center; gap: 10px; font-size: 14px; list-style: none; cursor: pointer; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; }
#who b, #who span { display: block; white-space: nowrap; }
#who b { font-weight: 600; line-height: 1.2; }
#who span { color: var(--muted); font-size: 12.500px; }
.caret { margin-top: -6px; font-size: 18px; }
.menu { position: absolute; right: 0; z-index: 20; min-width: 170px; margin-top: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(16, 22, 47, .14); }
.menu button { display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.menu button:hover { background: var(--blue-soft); }
main { max-width: 1280px; margin: 0 auto; padding: 18px 32px 56px; outline: none; }

/* Início */
.welcome { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.welcome h1 { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.welcome h1 em { color: var(--blue); font-style: normal; }
.welcome p { color: #39415f; font-size: 21px; }
.balance-pill { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 18px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 44px; background: linear-gradient(90deg, rgba(232, 237, 255, .95), rgba(232, 237, 255, .55)); box-shadow: var(--shadow); }
.wallet { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #d2ddff; }
.wallet svg { width: 28px; height: 28px; fill: var(--blue); }
.balance-pill small { display: block; color: #39415f; font-size: 15px; }
.balance-pill b { font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.btn.pill { padding: 12px 24px; border-radius: 26px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.kpi { position: relative; display: flex; align-items: flex-start; gap: 14px; overflow: hidden; padding: 20px 18px 16px 24px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .12s; }
.kpi:hover { transform: translateY(-2px); }
.kpi::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--accent); }
.kpi-ic { display: grid; flex: 0 0 56px; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--tint); color: var(--accent); }
.kpi-ic svg { width: 28px; height: 28px; fill: var(--accent); }
.kpi-body { min-width: 0; }
.kpi-body > span { color: var(--ink); font-size: 16px; }
.kpi-body b { display: block; margin: 4px 0 6px; font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.kpi-body em { font-size: 14px; font-style: normal; font-weight: 600; }
.kpi-body em.up { color: var(--green); }
.kpi-body em.down { color: var(--red); }
.kpi-body em.none { color: var(--muted); font-weight: 400; }
.spark { position: absolute; right: 14px; bottom: 14px; width: 66px; height: 46px; fill: var(--accent); fill-opacity: .55; }
.k-RECEIVED { --accent: var(--blue); --tint: #dbe5ff; }
.k-CONFIRMED { --accent: var(--purple); --tint: var(--purple-soft); }
.k-PENDING { --accent: var(--green-2); --tint: var(--green-soft); }
.k-OVERDUE { --accent: var(--red); --tint: var(--red-soft); }

.dash { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; margin-bottom: 24px; }
.panel { padding: 22px 24px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.panel-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 20px; }
.panel-head h2 svg { width: 26px; height: 26px; color: var(--blue); fill: var(--blue); }
.ranges { display: flex; align-items: center; padding: 3px; border-radius: 22px; background: var(--bg); }
.ranges button { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 0; border-radius: 18px; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.ranges button.on { background: var(--blue-soft); color: var(--blue); font-weight: 600; box-shadow: inset 0 0 0 1px #c4d2ff; }
.ranges svg { width: 18px; height: 18px; }
.line-chart { display: block; width: 100%; height: auto; font-size: 13px; }
.line-chart .grid { stroke: var(--line); }
.line-chart .axis { fill: var(--muted); }
.line-chart .curve { fill: none; stroke: var(--blue); stroke-width: 2.500; stroke-linecap: round; }
.line-chart .dot-point { fill: var(--blue); stroke: #fff; stroke-width: 1.500; }
.line-chart .hit { fill: transparent; }
.tip { pointer-events: none; }
.tip-dot { fill: var(--blue); stroke: #fff; stroke-width: 2.500; }
.tip-box { fill: #fff; stroke: var(--line); filter: drop-shadow(0 4px 10px rgba(20, 40, 110, .16)); }
.tip-value { fill: var(--ink); font-size: 15px; font-weight: 700; }
.tip-label { fill: var(--muted); font-size: 12.500px; }

.promo { position: relative; display: flex; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 26px 28px; border-radius: 14px; background: radial-gradient(280px 240px at 92% 62%, rgba(31, 107, 255, .9), rgba(31, 107, 255, 0) 72%), linear-gradient(135deg, #04102e, #071c58); color: #fff; }
.promo > svg { width: 44px; height: 44px; fill: #2f74ff; }
.promo h2 { position: relative; max-width: 220px; margin: 12px 0 10px; font-size: 26px; font-weight: 700; line-height: 1.15; }
.promo p { position: relative; max-width: 205px; font-size: 16px; line-height: 1.35; }
.promo .btn { position: relative; margin-top: auto; border-color: #fff; color: var(--night); }
.promo > .phone { position: absolute; right: 10px; top: 70px; width: 130px; height: 216px; fill: none; }
.phone-body { fill: #0b2f9e; stroke: #4d86ff; stroke-width: 3; }
.phone-screen { fill: #062071; }
.phone-mark { fill: #2f74ff; }
.phone-ok { fill: var(--green-2); }
.phone-tick { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

.recent .panel-head { margin-bottom: 12px; }
.recent .see-all { color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; }
.head-links { display: flex; align-items: center; gap: 16px; }
.recent thead th { background: #f5f7fd; }
.recent td { padding: 13px 10px; }
.recent td:first-child, .recent th:first-child { padding-left: 16px; }
.form-cell { display: flex; align-items: center; gap: 10px; }
.form-cell svg { width: 26px; height: 26px; }
.form-PIX { fill: var(--green-2); }
.form-BOLETO { fill: var(--ink); }
.form-CARD { fill: var(--blue); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 14px 4px 11px; border-radius: 99px; font-size: 13.500px; font-weight: 500; white-space: nowrap; }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.s-PENDING { background: var(--green-soft); color: var(--green); }
.s-CONFIRMED { background: var(--purple-soft); color: var(--purple); }
.s-RECEIVED { background: var(--blue-soft); color: var(--blue); }
.s-OVERDUE, .s-CHARGEBACK { background: var(--red-soft); color: var(--red); }
.s-REFUNDED, .s-CANCELED { background: var(--grey-soft); color: var(--muted); }
.kebab { padding: 2px 8px; border: 0; border-radius: 6px; background: none; color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; }
.kebab:hover { background: var(--blue-soft); }

/* Telas internas */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.hero { position: relative; overflow: hidden; padding: 28px 32px; margin-bottom: 16px; border-radius: 16px; background: radial-gradient(420px 220px at 82% 50%, rgba(11, 61, 240, .95), rgba(11, 61, 240, 0) 75%), var(--night); color: #fff; }
.hero small { color: #c5ccea; font-size: 14px; }
.hero strong { display: block; margin: 4px 0 16px; font-size: 40px; letter-spacing: -.03em; }
.hero .btn { background: #fff; border-color: #fff; color: var(--blue); }
.card { padding: 20px; margin-bottom: 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr[data-act] { cursor: pointer; }
tr[data-act]:hover td { background: var(--blue-soft); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.neg { color: var(--red); }
.pos { color: var(--green); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.b-PENDING { background: var(--amber-soft); color: var(--amber); }
.b-OVERDUE, .b-CHARGEBACK { background: var(--red-soft); color: var(--red); }
.b-RECEIVED { background: var(--green-soft); color: var(--green); }
.b-CONFIRMED { background: var(--blue-soft); color: var(--blue); }
.b-REFUNDED, .b-CANCELED { background: var(--grey-soft); color: var(--muted); }
.btn { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--blue); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.danger { color: var(--red); }
.btn:disabled { opacity: .55; cursor: default; }
.row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.row-actions .btn, td select { width: auto; padding: 6px 10px; font-size: 13px; }
.filters { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
input, select { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.filters input { flex: 1; min-width: 200px; width: auto; }
.filters select { width: auto; }
dialog { width: min(560px, calc(100vw - 32px)); padding: 24px; border: 0; border-radius: 16px; color: var(--ink); }
dialog::backdrop { background: rgba(5, 8, 31, .55); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; }
label input, label select { margin-top: 4px; font-weight: 400; }
.foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.err { min-height: 18px; margin-top: 10px; color: var(--red); font-size: 13px; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; }
.bubble { max-width: 520px; padding: 10px 14px; margin-bottom: 10px; border-radius: 12px 12px 12px 3px; background: var(--blue-soft); }
.bubble span { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; }
.paylink { display: flex; align-items: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.paylink label { flex: 1; min-width: 0; }
.empty { padding: 28px; color: var(--muted); text-align: center; }
.status-line { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.ok { background: var(--green); }
.dot.bad { background: var(--red); }
#toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 340px; padding: 11px 16px; border-radius: 10px; background: var(--night); color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s; }
#toast.show { opacity: 1; }

@media (max-width: 1320px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .welcome h1 { font-size: 34px; }
}
@media (max-width: 1100px) {
  .dash { grid-template-columns: 1fr; }
  .promo { min-height: 280px; }
}
@media (max-width: 820px) {
  .shell { display: block; }
  .side { position: static; flex: none; gap: 14px; height: auto; padding: 16px; }
  .side-promo { display: none; }
  .topbar { flex-wrap: wrap; padding: 12px 16px 4px; }
  .env-pill span, #who { display: none; }
  main { padding: 14px 16px 48px; }
  .welcome h1 { font-size: 28px; }
  .welcome p { font-size: 17px; }
  .balance-pill { width: 100%; justify-content: space-between; border-radius: 18px; flex-wrap: wrap; }
  .kpis, .grid { grid-template-columns: 1fr; }
  .hero strong { font-size: 32px; }
}

/* Segurança */
.sec-alert { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin: 0 28px 0; padding: 12px 16px; border: 1px solid #f3d58a; border-radius: 12px; background: #fff8e6; color: #6b4b00; font-size: 14px; }
.sec-alert[hidden] { display: none; }
.sec-alert .btn { flex: none; }
.steps { margin: 6px 0 14px; padding-left: 20px; line-height: 1.7; }
.secret { padding: 3px 8px; border-radius: 6px; background: #eef2fb; font-size: 15px; letter-spacing: .06em; word-break: break-all; }
.codes { padding: 14px 18px; border-radius: 10px; background: #f3f6fd; font-size: 16px; line-height: 1.8; letter-spacing: .06em; columns: 2; }
.cf-turnstile { min-height: 65px; }
@media (max-width: 720px) { .sec-alert { margin: 0 16px; flex-direction: column; align-items: flex-start; } }

.auth-card .switch { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; }
.auth-card .linkish { font-weight: 600; }
.auth-card .forgot { margin: 14px 0 0; text-align: center; }
.auth-card .forgot button { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.auth-card .forgot button:hover { color: var(--ink); text-decoration: underline; }
.auth-card .err:empty { display: none; }

/* Painel da plataforma */
.ptabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ptabs a { padding: 6px 12px; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.ptabs a.on { background: var(--blue); color: #fff; }
.ptiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.ptile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ptile span { color: var(--muted); font-size: 13px; }
.ptile b { font-size: 20px; }
.ptile em { color: var(--muted); font-size: 12px; font-style: normal; }
.neg { color: var(--red); }
.pos { color: inherit; }
.pgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.pgrid .card { margin-bottom: 16px; }
.pbars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 200px; padding-top: 8px; }
.pbar { display: grid; grid-template-rows: 1fr 1fr auto; text-align: center; }
.pbar-up, .pbar-down { position: relative; }
.pbar-up { border-bottom: 1px solid var(--line); }
.pbar-up i, .pbar-down i { position: absolute; left: 15%; right: 15%; border-radius: 4px; background: var(--blue); }
.pbar-up i { bottom: 0; }
.pbar-down i { top: 0; }
.pbar i.loss, .psrc-bar i.loss { background: var(--red); }
.pbar small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.psrc { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.psrc:last-child { border-bottom: 0; }
.psrc span { display: flex; flex-direction: column; font-size: 14px; }
.psrc small { color: var(--muted); font-size: 12px; }
.psrc-bar { height: 8px; border-radius: 99px; background: #eef2fb; overflow: hidden; }
.psrc-bar i { display: block; height: 100%; border-radius: 99px; background: var(--blue); }
.palerts { margin: 0; padding: 0; list-style: none; }
.palerts li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.palerts li:last-child { border-bottom: 0; }
.prank .rank { width: 36px; color: var(--muted); font-weight: 700; }
.prank tbody tr { cursor: pointer; }
.prank tbody tr:hover { background: #f6f8fe; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } }
.up { color: #0f8a4b; }

.pbars-svg { display: block; width: 100%; height: auto; }
.pbars-svg .gain, .psrc-bar .gain { fill: var(--blue); }
.pbars-svg .loss, .psrc-bar .loss { fill: var(--red); }
.pbars-svg .pbase { stroke: var(--line); }
.pbars-svg .axis { fill: var(--muted); font-size: 12px; }
svg.psrc-bar { width: 100%; height: 8px; background: none; border-radius: 0; }
.psrc-bar .track { fill: #eef2fb; }
