:root:not(.light) {
  --bg: #0e0d11;
  --side: #121115;
  --card: #211f25;
  --raised: #2a282e;
  --edge: #ffffff10;
}
body, button, input, select, textarea { font-family: Archivo, Arial, sans-serif; }
body { font-synthesis: none; }
h1, h2, h3, .sectionTitle, .balanceNumber { font-family: Archivo, Arial, sans-serif; font-weight: 800; }
body { font-size: 14px; }
main { max-width: 1560px; padding: 15px 28px 42px; }
.workspace header, :root:not(.light) .workspace header {
  height: 76px; padding: 12px 28px; background: var(--bg); box-shadow: none; border: 0;
}
.workspace header button { min-height: 40px; }
.jumpButton, .accountButton, .navQuick, .headingActions .plain, .headingActions .action {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--edge);
  border-radius: 12px; padding: 8px 15px; background: var(--raised); color: var(--text);
}
.jumpButton { width: min(30vw,420px); justify-content: space-between; color: var(--muted); border-radius: 24px; text-align: left; }
kbd { padding: 2px 6px; background: var(--card); border-radius: 5px; font: inherit; font-size: 11px; }
.accountText { text-align: left; font-weight: 650; }
.accountText small, .consoleCard small, .plotFacts small { display: block; color: var(--muted); font-size: 12px; }
.accountButton .avatar { border-radius: 50%; background: #deacff; color: #23102e; }
.jumpLinks { display: grid; margin-top: 12px; }
.jumpLinks a { padding: 10px; }
.jumpLinks a:hover { background: var(--raised); }
aside .space, aside .profile { display:none; }
aside .brand { display:flex;align-items:center;margin:0 5px 18px; }
aside .brand img { width:155px; }
.navQuick { margin:0 0 18px; width:100%; font-weight:650; min-height:42px; }
aside .subhead { font-size:11px; text-transform:uppercase; letter-spacing:.09em; }
aside .item { min-height:42px; border-radius:12px; }
:root body aside .item.active, :root:not(.light) body aside .item.active, :root:not(.light) body:not(.wideNav) aside .item.active {
  background:linear-gradient(115deg,#f1ff55,#ecfc10 70%,#d9e80c); color:#161600; border-color:transparent;
}
:root body aside .item.active .ico { color:inherit; }
.sidefoot { margin-top:auto; }
.heading { align-items:flex-end; margin:0 0 21px; }
.heading h1 { font-size:clamp(28px,2.4vw,36px); font-weight:650; letter-spacing:-.04em; }
.heading .consoleEyebrow { font-size:13px; color:var(--muted); margin:0 0 7px; }
.headingActions { display:flex; gap:8px; align-items:center; }
.headingActions .action, .accentLink { background:var(--brand-lime); color:#171700; }
.headingActions .plain .ico { width:14px; }
.consoleGrid { display:grid; grid-template-columns:minmax(0,2.28fr) minmax(236px,1fr); gap:18px; margin-bottom:18px; }
.consoleMain,.consoleSide { display:flex; flex-direction:column; gap:18px; min-width:0; }
.summaryStrip { display:grid;grid-template-columns:1.24fr repeat(3,minmax(0,1fr));gap:12px; }
.consoleCard, .summaryCard, :root:not(.light) .workspace :is(.panel,.metric) {
  border:1px solid var(--edge); border-radius:20px; background:var(--card);
  box-shadow:inset 0 1px #ffffff09,0 12px 24px -18px #000b;
}
.summaryCard { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:10px; min-width:0; padding:17px; color:var(--text); min-height:138px; }
.summaryCard span { display:flex;gap:6px;align-items:center;font-weight:600;font-size:13px; }
.summaryCard span .ico {width:15px;}
.summaryCard strong,.financeCard>strong,.plotFacts strong {font-size:clamp(19px,1.9vw,32px);line-height:1.1;letter-spacing:-.04em;}
.summaryCard small { margin-top:auto;color:var(--muted); }
.summaryCard.featured {background:linear-gradient(135deg,#f7ff75,#ecfc10 58%,#c3d000);color:#171700;}
.summaryCard.featured small,.workspace .summaryCard.featured .ico {color:inherit;}
.summaryCard.featured i { width:100%;height:4px;border-radius:4px;background:linear-gradient(to right,#303300 var(--v),#17170026 var(--v));}
.consoleCard,.consolePlot {padding:21px;}
.consoleCard h2,.consolePlot h2 {font-size:16px;margin:0;font-weight:650;}
.consoleCard h2 .ico {margin-right:6px;}
.consoleCard p,.consolePlot p {color:var(--muted);font-size:13px;margin:5px 0 0;}
.financeCard { flex:1;background:linear-gradient(145deg,#b133fd0a,transparent 55%),var(--card); }
.financeCard p {margin-top:27px;}
.financeCard>strong {display:block;margin:8px 0;}
.financeCard>svg {width:100%;height:46px;fill:color-mix(in srgb,var(--muted) 25%,transparent);}
.financeFacts { display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--edge);padding:14px 0 16px; }
.financeFacts b,.targetBody b {display:block;margin-top:3px;}
.accentLink,.quietLink {display:flex;align-items:center;justify-content:center;gap:8px;font-weight:650;border-radius:11px;min-height:37px;}
.workspace .accentLink .ico {color:inherit;}
.quietLink {margin-top:7px;background:#b133fd10;color:var(--purple);}
.targetBody {display:flex;align-items:center;gap:16px;margin-top:15px;}
.targetBody small:not(:first-child){margin-top:11px;}
.targetGauge {width:min(46%,150px);aspect-ratio:1;position:relative;display:grid;place-items:center;}
.targetGauge:before {content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 230deg,transparent 0deg 4deg,var(--card) 4deg 7deg),conic-gradient(from 230deg,var(--brand-lime) var(--v),var(--edge) var(--v) 260deg,transparent 260deg);mask:radial-gradient(circle,transparent 55%,#000 56%);}
.targetGauge b {font-size:clamp(20px,2vw,31px);}
.consolePlot {flex:1;}
.consolePlot .topline {align-items:flex-start;}
.plotFacts {display:flex;align-items:flex-end;gap:clamp(10px,2vw,30px);margin:18px 0 24px;flex-wrap:wrap;}
.plotFacts strong,.plotFacts b {display:block;margin-top:4px;}
.offerFilters {display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px;}
.offerFilters button {display:flex;gap:6px;align-items:center;font-size:12px;padding:6px 9px;background:var(--raised);color:var(--text);border:1px solid var(--edge);border-radius:8px;}
.offerFilters button[aria-pressed=true]{background:var(--brand-lime);color:#171700;}
.offerFilters i {width:8px;height:8px;background:var(--brand-purple);border-radius:2px;}
.offerFilters button:nth-child(3) i {background:#a1a2aa;}
.offerFilters button:nth-child(4) i {background:#e7cf7e;}
.dailyGraph { display:flex; gap:10px; height:clamp(210px,18vw,275px); }
.dailyTicks { display:flex; flex-direction:column; justify-content:space-between; padding-bottom:25px; color:var(--muted); font-size:11px; }
.barScroller { flex:1; min-width:0; overflow-x:auto; scrollbar-width:thin; }
.barField {
  position:relative; display:flex; min-width:calc(var(--days) * 22px); height:calc(100% - 25px);
  background:repeating-linear-gradient(to top,var(--edge) 0 1px,transparent 1px 25%);
}
.barField::before { content:""; position:absolute; inset:auto 0 var(--target); border-top:1px dashed #b133fd77; }
.barField .salesBar { position:relative; padding:0; min-height:0; background:transparent; }
.barFill {
  display:block; width:78%; max-width:64px; height:var(--v); border-radius:7px 7px 3px 3px;
  background:linear-gradient(#68676d,#424147 44%,#27262b); box-shadow:inset 0 1px #ffffff30;
}
.salesBar.picked .barFill {
  background:linear-gradient(176deg,var(--brand-lime),#e7f743 43%,#fafcde);
  box-shadow:inset 0 1px #fff9,0 0 15px #ecfc1014;
}
.salesBar small { position:absolute; top:100%; padding-top:4px; font-size:10px; color:var(--muted); }
.barTip {
  display:none; position:absolute; z-index:2; bottom:clamp(4px,calc(var(--v) + 6px),calc(100% - 48px));
  padding:5px 9px; border:1px solid #ffffff30; border-radius:8px; background:#17161bf2;
  color:#fcfaee; white-space:nowrap; text-align:left; font:500 11px/1.4 Archivo,Arial,sans-serif; pointer-events:none;
}
.barTip b { display:block; font-size:13px; }
.salesBar[data-tip-side=start] .barTip { left:10%; }
.salesBar[data-tip-side=end] .barTip { right:10%; }
.salesBar.picked[data-inspected] .barTip { display:block; }
.salesBar.picked[data-inspected] { z-index:1; }
.light .salesBar:not(.picked) .barFill { background:linear-gradient(#97959f,#c8c7cd); }
.consolePlot .readout {margin-top:22px;}
@media(min-width:761px) {
  body.wideNav {--rail:clamp(192px,17.2vw,248px);}
  .workspace {margin:0 0 0 var(--rail);border:0;border-radius:0;}
  aside:where(#sidebar) {padding:18px 16px;}
  body:not(.wideNav) .navQuick {justify-content:center;}
}
@media(max-width:1180px) {
  .summaryCard {padding:12px;}
  .summaryStrip,.consoleGrid,.consoleMain,.consoleSide {gap:10px;}
  .targetBody {gap:9px;}
}
@media(max-width:1000px) {
  .consoleGrid {grid-template-columns:1fr;}
  .consoleSide {display:grid;grid-template-columns:1fr 1fr;}
}
@media(max-width:760px) {
  main {padding:14px;}
  .workspace header {height:62px;padding:8px 14px;}
  .heading {align-items:flex-start;gap:10px;flex-wrap:wrap;}
  .headingActions .plain,.headingActions .action {padding:7px 11px;}
  .accountText,.jumpButton kbd,header .demo {display:none;}
  .accountButton {padding:3px;}
  .jumpButton {width:auto;font-size:12px;padding:6px 10px;}
  .summaryStrip,.consoleSide {grid-template-columns:repeat(2,minmax(0,1fr));}
  .summaryCard {min-height:110px;}
  .summaryCard strong {font-size:22px;}
  .consoleCard,.consolePlot {padding:15px;}
  .plotFacts {gap:12px;}

  .targetBody {flex-wrap:wrap;}
}
@media(max-width:540px) {
  .consoleSide {grid-template-columns:1fr;}
  .consolePlot .topline {flex-wrap:wrap;gap:10px;}
  .workspace header .flex {gap:4px;}
  .plotFacts {display:grid;grid-template-columns:1fr 1fr;}
}
.navCount {margin-left:auto; background:var(--raised); padding:2px 7px; border-radius:20px; font-size:11px;}
.item.active .navCount {background:#0002;color:#171700;}
body:not(.wideNav) .navCount {display:none;}
.overviewOps {margin:18px 0;}
.jumpLinks [hidden] {display:none;}
@media(max-width:760px) {
  header .crumb:after {display:none;}
  .workspace header .crumb {gap:5px;}
  .consoleMain,.consoleSide,.consoleGrid,.summaryStrip,.consolePlot {min-width:0;}
  .heading .headingActions {flex-wrap:wrap;}
}

/* O cenário ocupa a janela; o menu e o conteúdo compartilham a mesma lâmina. */
body {
  --frame-y: clamp(12px, 2vh, 24px);
  --frame-x: clamp(16px, 5.5vw, 118px);
  background: #000;
}
.glassFrame {
  --glass-base: rgb(15 14 18 / 62%);
  --glass-side: rgb(20 19 24 / 50%);
  --glass-header: rgb(18 17 22 / 86%);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  width: min(calc(100% - 2 * var(--frame-x)), 1690px);
  height: calc(100vh - 2 * var(--frame-y));
  height: calc(100dvh - 2 * var(--frame-y));
  margin: var(--frame-y) auto;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #fcfaee35;
  background: linear-gradient(125deg,#fcfaee0a,transparent 28%,#b133fd05 85%), var(--glass-base);
  backdrop-filter: url(#clearLens);
  box-shadow: inset 0 1px 1px #ffffff69, inset 2px 0 2px #ffffff19, inset -2px -2px 2px #ffffff20, 0 18px 60px #0009;
}
.light .glassFrame {
  --glass-base: rgb(248 246 243 / 84%);
  --glass-side: rgb(249 248 245 / 68%);
  --glass-header: rgb(246 245 242 / 91%);
}
.glassFrame > aside {
  position: relative; inset: auto; width: auto; min-height: 0;
  background: var(--glass-side); border-right: 1px solid #aaa4b426;
}
.glassFrame .workspace {
  min-height: 0; min-width: 0; margin: 0; overflow: auto;
  background: transparent; scrollbar-width: thin;
  scrollbar-color: #807d8959 transparent;
}
:root .glassFrame .workspace header {
  background: var(--glass-header); backdrop-filter: saturate(115%);
  border-radius: 0;
}
:root .glassFrame .workspace :is(.panel, .summaryCard, .consoleCard, .metric, .walletCard) {
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: url(#clearLens) saturate(1.4) brightness(1.05);
  backdrop-filter: url(#clearLens) saturate(1.4) brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .05), inset 0 0 0 1px rgba(255, 255, 255, .09),
    inset 0 0 18px rgba(255, 255, 255, .04), 0 14px 34px -16px rgba(0, 0, 0, .8);
  border-radius: 18px;
}
@media (min-width: 761px) and (max-width: 1160px) {
  body { --frame-x: 16px; }
  body.wideNav { --rail: 185px; }
}
@media (max-width: 760px) {
  body { --frame-x: 6px; --frame-y: 6px; }
  .glassFrame { grid-template-columns: minmax(0,1fr); border-radius: 18px; }
  .glassFrame > aside {
    position: absolute; inset: 0 auto 0 0; width: min(250px,85%); background: var(--side);
  }
  .open .glassFrame #veil { position: absolute; }
}

/* Os valores acompanham a largura real do indicador dentro da moldura. */
.summaryCard { container-type: inline-size; }
.summaryCard strong { font-size: clamp(15px, 15cqi, 32px); }

/* Acabamentos da landing: cards "Como voc? ganha" e CTAs do hero. */
@font-face {
  font-family: Archivo;
  src: url(assets/fonts/archivo-var.woff2) format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
:root { --ease-out: cubic-bezier(.16,1,.3,1); }
body :is(.action, .accentLink, .headingActions .plain, .quietLink, .navQuick) {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 520; letter-spacing: 0;
  white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s;
  font-family: Archivo, sans-serif; border: 0; height: 44px; padding-inline: 20px; font-size: 14.5px;
}
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes btn-ring { to { --ring: 360deg; } }
body :is(.action, .accentLink) {
  color: #0A0A06;
  font-weight: 540;
  background:
    radial-gradient(66% 92% at 50% 120%, rgba(255, 255, 240, 1) 0%, rgba(250, 255, 200, .9) 32%, rgba(236, 252, 16, 0) 76%),
    radial-gradient(140% 170% at 50% -30%, #E6F712 0%, #D2E600 52%, #B7CA00 100%);
  box-shadow:
    0 0 6px 1px rgba(214, 234, 0, .6),
    0 0 18px 3px rgba(214, 234, 0, .26),
    inset 0 0 4px rgba(214, 234, 0, .9),
    inset 0 1px 1px rgba(255, 255, 255, .35);
}
body :is(.action, .accentLink)::before {
  content: ""; position: absolute; inset: -2px; z-index: 1; pointer-events: none;
  border-radius: inherit; padding: 2px;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, .55));
  background: conic-gradient(from var(--ring), rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0) 240deg, rgba(255, 255, 255, .35) 300deg, rgba(255, 255, 255, .98) 340deg, rgba(255, 255, 255, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: btn-ring 3.6s linear infinite;
}
body :is(.action, .accentLink)::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: 27%; right: 27%; bottom: -8px; height: 15px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 242, .95), rgba(244, 255, 170, .55) 55%, rgba(236, 252, 16, 0));
  filter: blur(4px);
}
body :is(.action, .accentLink):hover {
  box-shadow:
    0 0 8px 2px rgba(214, 234, 0, .7),
    0 0 26px 4px rgba(214, 234, 0, .34),
    inset 0 0 4px rgba(214, 234, 0, .9),
    inset 0 1px 1px rgba(255, 255, 255, .4);
}
body :is(.headingActions .plain, .quietLink, .navQuick) {
  color: rgba(252, 250, 238, .92);
  font-weight: 520;
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06) 72%),
    rgba(40, 38, 48, .55);
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, .1),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 0 10px rgba(255, 255, 255, .07),
    0 10px 26px -14px rgba(0, 0, 0, .7);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
body :is(.headingActions .plain, .quietLink, .navQuick):hover {
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08) 72%),
    rgba(46, 44, 54, .6);
}
body :is(.action, .accentLink, .headingActions .plain, .quietLink, .navQuick):hover { transform: translateY(-1px); filter: none; }
body :is(.action, .accentLink, .headingActions .plain, .quietLink, .navQuick):active { transform: scale(.985); }

:root .glassFrame .summaryCard.featured { color:var(--text); }
.summaryCard.featured strong { color:var(--accent); }
.summaryCard.featured small { color:var(--muted); }
.summaryCard.featured i { background:linear-gradient(to right,var(--accent) var(--v),var(--edge) var(--v)); }
:root.light .glassFrame .walletCard :is(.walletAmount,.walletHead,.walletCaption) { color:var(--text); }
body .offerFilters button, body .tabs button, body .iconbtn { border-radius:999px; }
@media (prefers-reduced-motion: reduce) {
  body :is(.action,.accentLink)::before { animation:none; }
}

/* Navegação e composição da visão geral */
#sidebar .navCapsule {
  padding:6px; border:1px solid #b133fd72; border-radius:26px;
  background:linear-gradient(165deg,#24212c,#111015 65%,#281735);
  box-shadow:inset 0 1px #ffffff12;
}
#sidebar :is(.item,.railTheme) .ico { color:#fcfaee; }
#sidebar .navCapsule .item { color:#e9e4ee; }
:root body .glassFrame #sidebar .navCapsule a.item.active {
  color:#fff; border:1px solid #cb8efa90;
  background:var(--site-purple-tile);
  box-shadow:inset 0 1px #fff2,0 2px 10px #b133fd20;
}
.railTheme { align-self:center; margin:0 0 14px; background:#29262f; }
#sidebar .subhead {color:#bab4c2;}
@media(min-width:761px) {
  body:not(.wideNav) {--rail:84px;}
  body:not(.wideNav) #sidebar {padding-inline:10px;align-items:center;}
  body:not(.wideNav) #sidebar .navCapsule {width:56px;}
  body:not(.wideNav) #sidebar .navCapsule .item {padding:0;min-height:39px;border-radius:50%;}
  body:not(.wideNav) #sidebar .railLabel {display:none;}
  body:not(.wideNav) #sidebar .navQuick {width:38px;padding:0;min-height:34px;margin-bottom:9px;}
}
.workspace header {position:relative;}
.workspace header .crumb {flex:1;}
@media(min-width:761px){.workspace header .jumpButton {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(42vw,640px);}}
.insightsDeck {
  display:grid;grid-template-columns:minmax(194px,.93fr) minmax(0,2fr) minmax(200px,.95fr);
  align-items:start;gap:16px;margin-bottom:18px;
}
.balanceWrap {position:relative;min-width:0;}
.balanceFace {
  padding:23px 18px 16px; border:1px solid #c381f657; border-radius:20px;
  background:radial-gradient(ellipse at 98% 10%,#8536bc99,transparent 58%),linear-gradient(135deg,#242029,#151319);
  color:#fcfaee;box-shadow:inset 0 1px #fff2;
  mask-image:radial-gradient(circle 32px at calc(100% - 16px) 16px,transparent 98%,black);
}
.balanceFace h2 {margin:0 36px 22px 0;display:flex;align-items:center;gap:8px;font-size:15px;}
.balanceNumber {display:block;font-size:clamp(21px,2.25vw,39px);letter-spacing:-.055em;line-height:1.12;}
.balanceFace small,.balanceRows span {color:#cfc8d4;font-size:12px;}
.balanceRows {margin-top:22px;}
.balanceRows>div {display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 0;border-top:1px solid #fff2;}
.balanceOpen {position:absolute;right:0;top:0;width:36px;height:36px;padding:0;background:var(--raised);border-radius:50%;}
.shelfColumn {min-width:0;display:grid;gap:16px;grid-column:3;}
.shelfRows {display:grid;gap:4px;margin:13px 0;}
.shelfRows button {display:flex;align-items:center;gap:10px;text-align:left;padding:9px 0;background:transparent;border:0;border-bottom:1px solid var(--edge);}
.shelfRows img {width:39px;height:44px;object-fit:contain;border-radius:9px;background:#ffffff0a;}
.shelfRows span {flex:1;min-width:0;}
.shelfRows button>.ico:last-child {width:14px;}
.insightsDeck .consolePlot {min-width:0;}
.insightsDeck .consolePlot .topline {flex-wrap:wrap;gap:10px;}
.insightsDeck .plotFacts {gap:10px 18px;}
.balanceStack {display:grid;gap:16px;min-width:0;}
.shelfColumn .financeCard {min-width:0;}
.shelfColumn .financeFacts {gap:5px;}
.shelfColumn .financeCard>strong {font-size:24px;}
.shelfColumn .financeCard p {margin-top:14px;}
:root .glassFrame .workspace .balanceStack .targetCard {background:radial-gradient(ellipse at 100% 0%,#b133fd38,transparent 73%),var(--card);}
@media(max-width:1150px) {
  .insightsDeck {grid-template-columns:minmax(180px,.8fr) minmax(0,1.7fr);}
  .shelfColumn {grid-column:1/-1;grid-row:auto;grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px) {
  .insightsDeck {grid-template-columns:minmax(0,1fr);}
  .shelfColumn,.insightsDeck .financeCard {grid-column:1;}
  .shelfColumn {grid-template-columns:minmax(0,1fr);}
  .balanceNumber {font-size:32px;}
  #sidebar .railLabel {display:none;}
}
/* Mesmas luzes dos passos de "Do zero à comissão" e dos cards de depoimento. */
:root {
  --site-purple-tile: radial-gradient(66% 92% at 50% 120%,rgba(255,245,255,.95),rgba(226,170,255,.75) 32%,transparent 76%),
    radial-gradient(140% 170% at 50% -30%,#C45BFF,#A62DF0 52%,#7D16C2);
  --site-purple-card:linear-gradient(90deg,#B133FD,#7B22B8);
}
.themeChoice {display:grid;gap:3px;margin:0 auto 16px;padding:4px;background:#1d1b24;border:1px solid #494151;border-radius:99px;}
.themeChoice button {padding:0;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:50%;color:#c6c2cf;background:transparent;}
.themeChoice svg {width:17px;height:17px;color:inherit;}
#sidebar .themeChoice .ico {color:inherit;}
.themeChoice [aria-pressed=true] {color:white;background:#595663;box-shadow:inset 0 1px #ffffff55,0 2px 6px #0008;}
.workspace header .accountButton {border-radius:99px;padding:3px 10px 3px 3px;gap:9px;}
.accountButton img {width:32px;height:32px;border-radius:50%;}
.accountChevron {width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg);}
.workspace .ico, dialog .ico {fill:url(#brandIconInk) currentColor;}
#sidebar .ico,.workspace :is(.action,.accentLink) .ico {fill:currentColor;}
.balanceFace {background:linear-gradient(100deg,#16141df5,#16141dbd),var(--site-purple-card);}
.overviewDeck {
  grid-template-columns:repeat(2,minmax(0,1fr)) minmax(210px,.83fr);
  grid-template-areas:"sold target products" "chart chart finance";
  align-items:stretch;
}
.overviewDeck>.balanceWrap {grid-area:sold;display:grid;}
.overviewDeck>.targetCard {grid-area:target;}
.overviewDeck>.productShelf {grid-area:products;}
.overviewDeck>.consolePlot {grid-area:chart;}
.overviewDeck>.financeCard {grid-area:finance;}
.overviewDeck .balanceFace {padding:16px;}
.overviewDeck .balanceFace h2 {margin-bottom:10px;}
.overviewDeck .balanceRows {margin-top:8px;}
.overviewDeck .balanceRows>div {padding:5px 0;}
.overviewDeck .targetGauge {width:min(43%,104px);}
.overviewDeck .targetBody {margin-top:8px;}
.overviewDeck .productShelf {padding:14px 16px;}
.overviewDeck .shelfRows {margin:4px 0;gap:0;}
.overviewDeck .shelfRows button {padding:4px 0;}
.overviewDeck .shelfRows img {width:30px;height:30px;}
.overviewDeck .productShelf .plain {font-size:12px;}
@media(max-width:1000px) {
  .overviewDeck {grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"sold target" "chart chart" "products finance";}
}
@media(max-width:600px) {
  .overviewDeck {grid-template-columns:minmax(0,1fr);grid-template-areas:"sold" "target" "chart" "products" "finance";}
}


/* ==========================================================================
   EPIDEMIA DIGITAL - REFINED DASHBOARD (PURPLE BRAND ACCENTS & BLACK BG)
   ========================================================================== */

body {
  --frame-y: clamp(10px, 1.8vh, 20px);
  --frame-x: clamp(14px, 4vw, 80px);
  background: #000000 !important;
}

.glassFrame {
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #08070D !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), inset 0 1px 1px rgba(255, 255, 255, 0.06) !important;
}

:root:not(.light) .workspace header {
  background: #0C0B12 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* --- THEME TOGGLE: PILL DESIGN (SUN TOP / MOON BOTTOM) --- */
.themeChoice {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin: 0 auto 16px !important;
  padding: 4px !important;
  background: #171520 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  width: 36px !important;
  align-items: center !important;
}
.themeChoice button {
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
}
.themeChoice button:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}
.themeChoice [aria-pressed="true"] {
  color: #FFFFFF !important;
  background: linear-gradient(180deg, #6C677A 0%, #464253 100%) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}
.light .themeChoice {
  background: #E8E5EE !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}
.light .themeChoice button {
  color: rgba(0, 0, 0, 0.4) !important;
}
.light .themeChoice [aria-pressed="true"] {
  color: #1A1724 !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #E2DFEC 100%) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 1px 1px #FFFFFF !important;
}

/* --- HEADER RIGHT: NOTIFICATIONS & MINIMALIST PROFILE --- */
.workspace header .flex.headerRight {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.headerNotifBtn {
  position: relative !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(25, 23, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  display: grid !important;
  place-items: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all .2s ease !important;
}
.headerNotifBtn:hover {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(35, 32, 48, 0.95) !important;
}
.notifBadge {
  position: absolute !important;
  top: 7px !important;
  right: 8px !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #FF3B30 !important;
  box-shadow: 0 0 6px #FF3B30 !important;
}
.workspace header .accountButton {
  border-radius: 999px !important;
  padding: 3px 10px 3px 3px !important;
  gap: 8px !important;
  background: rgba(25, 23, 34, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  cursor: pointer !important;
  transition: all .2s ease !important;
}
.workspace header .accountButton:hover {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(35, 32, 48, 0.95) !important;
}
.accountButton img {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}
.accountChevron {
  width: 12px !important;
  height: 12px !important;
  stroke: rgba(255, 255, 255, 0.65) !important;
  display: block !important;
}
.workspace header .demo {
  display: none !important;
}

/* --- PURPLE GRADIENT BUTTONS & ACCENTS (FROM SITE) --- */
body :is(.action, .accentLink) {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  background:
    radial-gradient(66% 92% at 50% 120%, rgba(255, 245, 255, 1) 0%, rgba(226, 170, 255, .9) 32%, rgba(177, 51, 253, 0) 76%),
    radial-gradient(140% 170% at 50% -30%, #C45BFF 0%, #A62DF0 52%, #7D16C2 100%) !important;
  box-shadow:
    0 0 6px 1px rgba(177, 51, 253, .6),
    0 0 18px 3px rgba(177, 51, 253, .3),
    inset 0 0 4px rgba(196, 91, 255, .9),
    inset 0 1px 1px rgba(255, 255, 255, .45) !important;
}
body :is(.action, .accentLink)::after {
  background: radial-gradient(closest-side, rgba(255, 245, 255, .95), rgba(226, 170, 255, .55) 55%, rgba(177, 51, 253, 0)) !important;
}
body :is(.action, .accentLink):hover {
  box-shadow:
    0 0 10px 2px rgba(177, 51, 253, .8),
    0 0 28px 4px rgba(177, 51, 253, .45),
    inset 0 0 4px rgba(226, 170, 255, .9),
    inset 0 1px 1px rgba(255, 255, 255, .55) !important;
}

:root body aside .item.active, :root:not(.light) body aside .item.active, :root:not(.light) body:not(.wideNav) aside .item.active {
  background: radial-gradient(140% 170% at 50% -30%, #C45BFF 0%, #A62DF0 52%, #7D16C2 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(177, 51, 253, .4) !important;
}
:root body aside .item.active .ico {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* --- OVERVIEW DECK CARDS & ALIGNMENT --- */
.overviewDeck {
  display: grid !important;
  gap: 16px !important;
  align-items: stretch !important;
}
@media (min-width: 1001px) {
  .overviewDeck {
    grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(230px, .85fr);
  }
}
.overviewDeck > .balanceWrap { grid-area: sold !important; display: flex !important; flex-direction: column !important; }
.overviewDeck > .targetCard { grid-area: target !important; display: flex !important; flex-direction: column !important; }
.overviewDeck > .productShelf { grid-area: products !important; display: flex !important; flex-direction: column !important; }
.overviewDeck > .consolePlot { grid-area: chart !important; display: flex !important; flex-direction: column !important; }
.overviewDeck > .financeCard { grid-area: finance !important; display: flex !important; flex-direction: column !important; }

.overviewDeck > .balanceWrap,
.overviewDeck > .targetCard,
.overviewDeck > .productShelf {
  min-height: 220px !important;
}
.overviewDeck .balanceFace,
.overviewDeck .targetCard,
.overviewDeck .productShelf {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

/* Vendido no período */
.balanceFace {
  padding: 22px 20px 18px !important;
  border: 1px solid rgba(196, 91, 255, 0.35) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(196, 91, 255, .32) 0%, rgba(125, 22, 194, .14) 48%, transparent 100%),
    linear-gradient(135deg, #1C1729, #110F18) !important;
  color: #FCFAEE !important;
  box-shadow: 0 10px 30px -8px rgba(177, 51, 253, .28), inset 0 1px 1px rgba(255, 255, 255, .2) !important;
  mask-image: radial-gradient(circle 32px at calc(100% - 16px) 16px, transparent 98%, black) !important;
}
.balanceOpen {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  background: radial-gradient(140% 170% at 50% -30%, #C45BFF 0%, #A62DF0 52%, #7D16C2 100%) !important;
  border-radius: 50% !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, .35) !important;
  box-shadow: 0 4px 14px rgba(177, 51, 253, .45) !important;
  display: grid !important;
  place-items: center !important;
}
.balanceOpen .ico { fill: #FFFFFF !important; width: 14px !important; height: 14px !important; }

/* Meta de vendas */
.targetCard {
  padding: 22px 20px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, rgba(196, 91, 255, .05), transparent 60%), #121018 !important;
}
.targetGauge {
  width: min(48%, 116px) !important;
  aspect-ratio: 1 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  background:
    repeating-conic-gradient(from 230deg, transparent 0deg 4deg, var(--card) 4deg 7deg),
    conic-gradient(from 230deg, #C45BFF 0deg, #A62DF0 calc(var(--v) * 0.5), #7D16C2 var(--v), rgba(255,255,255,0.08) var(--v) 260deg, transparent 260deg) !important;
}
.targetGauge b { color: #FFFFFF !important; }

/* Product Shelf */
.productShelf {
  padding: 18px 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 22px !important;
  background: linear-gradient(145deg, rgba(196, 91, 255, .04), transparent 60%), #121018 !important;
}

/* Chart pills and peaks */
.offerFilters button[aria-pressed=true], .segments button[aria-pressed=true] {
  background: radial-gradient(140% 170% at 50% -30%, #C45BFF 0%, #A62DF0 52%, #7D16C2 100%) !important;
  color: #FFFFFF !important;
  border-color: transparent !important;
  box-shadow: 0 2px 10px rgba(177, 51, 253, .35) !important;
}
.salesBar.picked .barFill {
  background: radial-gradient(140% 170% at 50% -30%, #C45BFF 0%, #A62DF0 52%, #7D16C2 100%) !important;
  box-shadow: inset 0 1px #fff9, 0 0 18px rgba(177, 51, 253, .5) !important;
}

.overviewDeck .productShelf .plain {
  color: #C45BFF !important;
}

.targetGauge:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background:
    repeating-conic-gradient(from 230deg, transparent 0deg 4deg, var(--card) 4deg 7deg),
    conic-gradient(from 230deg, #C45BFF 0deg, #A62DF0 calc(var(--v) * 0.5), #7D16C2 var(--v), rgba(255, 255, 255, 0.08) var(--v) 260deg, transparent 260deg) !important;
  mask: radial-gradient(circle, transparent 55%, #000 56%) !important;
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%) !important;
}


/* ==========================================================================
   FULL VIEWPORT LAYOUT (REMOVING COMPRESSION / FLOATING MARGINS)
   ========================================================================== */

html, body {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body {
  --frame-y: 0px !important;
  --frame-x: 0px !important;
  background: var(--bg) !important;
}

.glassFrame {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--bg) !important;
}

.glassFrame > aside {
  border-radius: 0 !important;
  height: 100vh !important;
  height: 100dvh !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
}

.glassFrame .workspace {
  height: 100vh !important;
  height: 100dvh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
}

.workspace header {
  border-radius: 0 !important;
  border-bottom: 1px solid var(--edge) !important;
}

main {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 20px 32px 48px !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   SIDEBAR BRAND LOGO (NORMAL LOGO ON BLACK TILE IN ALL THEMES)
   ========================================================================== */

aside .brand {
  width: 44px !important;
  height: 44px !important;
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 13px !important;
  margin: 0 auto 16px !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  flex: none !important;
}

aside .brand img {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  filter: none !important;
}

html.light aside .brand {
  background: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

html.light aside .brand img {
  filter: none !important;
}

/* ==========================================================================
   BUTTONS: VER RECEBIMENTOS & + NOVA OFERTA (VERDE / LIME ORIGINAL DO SITE)
   ========================================================================== */

body :is(.action, .accentLink) {
  color: #0A0A06 !important;
  font-weight: 650 !important;
  background:
    radial-gradient(66% 92% at 50% 120%, rgba(255, 255, 240, 1) 0%, rgba(250, 255, 200, .9) 32%, rgba(236, 252, 16, 0) 76%),
    radial-gradient(140% 170% at 50% -30%, #E6F712 0%, #D2E600 52%, #B7CA00 100%) !important;
  box-shadow:
    0 0 6px 1px rgba(214, 234, 0, .6),
    0 0 18px 3px rgba(214, 234, 0, .26),
    inset 0 0 4px rgba(214, 234, 0, .9),
    inset 0 1px 1px rgba(255, 255, 255, .35) !important;
  border: 0 !important;
}

body :is(.action, .accentLink)::after {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  pointer-events: none !important;
  left: 27% !important;
  right: 27% !important;
  bottom: -8px !important;
  height: 15px !important;
  border-radius: 50% !important;
  background: radial-gradient(closest-side, rgba(255, 255, 242, .95), rgba(244, 255, 170, .55) 55%, rgba(236, 252, 16, 0)) !important;
  filter: blur(2px) !important;
}

body :is(.action, .accentLink):hover {
  box-shadow:
    0 0 8px 2px rgba(214, 234, 0, .7),
    0 0 26px 4px rgba(214, 234, 0, .34),
    inset 0 0 4px rgba(214, 234, 0, .9),
    inset 0 1px 1px rgba(255, 255, 255, .4) !important;
}

/* ==========================================================================
   VENDAS E METAS: RESULTADOS E DESTAQUES EM VERDE / AMARELO LIME
   ========================================================================== */

.salesBar.picked .barFill {
  background: linear-gradient(176deg, #ECFC10, #D9E80C 50%, #B7CA00 100%) !important;
  box-shadow: inset 0 1px #fff9, 0 0 16px rgba(236, 252, 16, 0.45) !important;
}

.salesBar:hover .barFill {
  background: linear-gradient(176deg, rgba(236, 252, 16, 0.8), rgba(217, 232, 12, 0.6)) !important;
}

.offerFilters button[aria-pressed=true],
.segments button[aria-pressed=true] {
  background: linear-gradient(135deg, #ECFC10 0%, #D4E40E 100%) !important;
  color: #07060A !important;
  font-weight: 650 !important;
  border-color: transparent !important;
  box-shadow: 0 2px 10px rgba(236, 252, 16, 0.35) !important;
}

.targetGauge:before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  background:
    repeating-conic-gradient(from 230deg, transparent 0deg 4deg, var(--card) 4deg 7deg),
    conic-gradient(from 230deg, #ECFC10 0deg, #D4E40E calc(var(--v) * 0.5), #9DB800 var(--v), rgba(255, 255, 255, 0.08) var(--v) 260deg, transparent 260deg) !important;
  mask: radial-gradient(circle, transparent 55%, #000 56%) !important;
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%) !important;
}

/* ==========================================================================
   MODO CLARO (LIGHT THEME) 100% ADAPTADO E SEM BUGS
   ========================================================================== */

html.light {
  color-scheme: light !important;
  --bg: #F4F3ED !important;
  --side: #FAF9F5 !important;
  --card: #FFFFFF !important;
  --raised: #ECEAE3 !important;
  --edge: rgba(7, 6, 10, 0.08) !important;
  --text: #07060A !important;
  --muted: #66646C !important;
}

html.light body {
  background: #F4F3ED !important;
  color: #07060A !important;
}

html.light .glassFrame {
  background: #F4F3ED !important;
}

html.light aside:where(#sidebar) {
  background: #FAF9F5 !important;
  border-right: 1px solid rgba(7, 6, 10, 0.08) !important;
}

html.light .workspace {
  background: #F4F3ED !important;
}

html.light .workspace header {
  background: #FAF9F5 !important;
  border-bottom: 1px solid rgba(7, 6, 10, 0.08) !important;
}

html.light .workspace header button {
  color: #07060A !important;
}

html.light .jumpButton {
  background: #FFFFFF !important;
  border: 1px solid rgba(7, 6, 10, 0.1) !important;
  color: #66646C !important;
}

html.light .headerNotifBtn {
  background: #FFFFFF !important;
  border: 1px solid rgba(7, 6, 10, 0.1) !important;
  color: #07060A !important;
}

html.light .accountButton {
  background: #FFFFFF !important;
  border: 1px solid rgba(7, 6, 10, 0.1) !important;
  color: #07060A !important;
}

html.light .accountChevron {
  stroke: #07060A !important;
}

html.light .heading h1 {
  color: #07060A !important;
}

html.light .heading .consoleEyebrow,
html.light .periodNote {
  color: #66646C !important;
}

html.light .headingActions .plain {
  background: #FFFFFF !important;
  border: 1px solid rgba(7, 6, 10, 0.1) !important;
  color: #07060A !important;
}

/* Cards in light mode */
html.light .overviewDeck > .targetCard,
html.light .overviewDeck > .productShelf,
html.light .overviewDeck > .consolePlot,
html.light .overviewDeck > .financeCard,
html.light :is(.panel, .consoleCard) {
  background: #FFFFFF !important;
  border: 1px solid rgba(7, 6, 10, 0.08) !important;
  color: #07060A !important;
  box-shadow: 0 4px 16px -4px rgba(7, 6, 10, 0.06), 0 1px 2px rgba(7, 6, 10, 0.04) !important;
}

html.light .consoleCard h2,
html.light .consolePlot h2,
html.light strong,
html.light b {
  color: #07060A !important;
}

html.light .consoleCard p,
html.light .consolePlot p,
html.light small,
html.light .plotFacts small,
html.light .financeFacts small {
  color: #66646C !important;
}

html.light .shelfRows button {
  border-bottom: 1px solid rgba(7, 6, 10, 0.06) !important;
  color: #07060A !important;
}

html.light .shelfRows button span b {
  color: #07060A !important;
}

html.light .shelfRows button span small {
  color: #66646C !important;
}

html.light .shelfRows img {
  background: rgba(7, 6, 10, 0.04) !important;
}

html.light .financeCard > svg {
  fill: rgba(7, 6, 10, 0.06) !important;
}

html.light .financeFacts {
  border-top: 1px solid rgba(7, 6, 10, 0.08) !important;
}

html.light .quietLink {
  background: rgba(7, 6, 10, 0.04) !important;
  color: #07060A !important;
  border: 1px solid rgba(7, 6, 10, 0.08) !important;
}

html.light .barFill {
  background: linear-gradient(180deg, #D4D2D9, #B8B5C0) !important;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.6) !important;
}

html.light .segments {
  background: #ECEAE3 !important;
  border: 1px solid rgba(7, 6, 10, 0.08) !important;
}

html.light .segments button {
  color: #55535C !important;
}

html.light .segments button[aria-pressed=true] {
  background: #FFFFFF !important;
  color: #07060A !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

html.light .offerFilters button {
  background: #ECEAE3 !important;
  color: #55535C !important;
  border: 1px solid rgba(7, 6, 10, 0.06) !important;
}

html.light .targetGauge:before {
  background:
    repeating-conic-gradient(from 230deg, transparent 0deg 4deg, #FFFFFF 4deg 7deg),
    conic-gradient(from 230deg, #ECFC10 0deg, #D4E40E calc(var(--v) * 0.5), #9DB800 var(--v), rgba(7, 6, 10, 0.08) var(--v) 260deg, transparent 260deg) !important;
}

html.light .targetGauge b {
  color: #07060A !important;
}

html.light .themeChoice {
  background: #E4E1D8 !important;
  border: 1px solid rgba(7, 6, 10, 0.1) !important;
}

html.light .themeChoice button {
  color: rgba(7, 6, 10, 0.4) !important;
}

html.light .themeChoice [aria-pressed="true"] {
  color: #07060A !important;
  background: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), inset 0 1px 1px #FFFFFF !important;
}

html.light aside .item {
  color: #66646C !important;
}

html.light aside .item .ico {
  fill: #66646C !important;
  color: #66646C !important;
}

html.light aside .item:hover {
  color: #07060A !important;
  background: rgba(7, 6, 10, 0.05) !important;
}

html.light aside .item:hover .ico {
  fill: #07060A !important;
  color: #07060A !important;
}


/* Always keep white text on the dark purple balance card in both modes */
.balanceFace,
.balanceFace h2,
.balanceFace .balanceNumber,
.balanceFace b,
.balanceFace strong,
html.light .balanceFace,
html.light .balanceFace h2,
html.light .balanceFace .balanceNumber,
html.light .balanceFace b,
html.light .balanceFace strong {
  color: #FCFAEE !important;
}

.balanceFace small,
.balanceFace .balanceRows span,
html.light .balanceFace small,
html.light .balanceFace .balanceRows span {
  color: rgba(252, 250, 238, 0.72) !important;
}

.balanceFace .balanceRows > div,
html.light .balanceFace .balanceRows > div {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}
/* Refined goal card: a continuous progress ring and aligned values. */
.overviewDeck > .targetCard {
  gap: 0 !important;
  padding: 18px 19px 16px !important;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(177, 51, 253, .12), transparent 54%),
    linear-gradient(145deg, rgba(255,255,255,.035), transparent 54%), #121018 !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.1), 0 12px 26px -20px #000 !important;
}
.targetHeading { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.targetHeading h2 { margin-top:3px !important; }
.cardEyebrow { color:var(--muted);font-size:9px;font-weight:750;letter-spacing:.12em; }
.targetIcon { width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(177,51,253,.28);border-radius:10px;background:linear-gradient(145deg,rgba(196,91,255,.22),rgba(125,22,194,.08));color:#C45BFF; }
.targetIcon .ico { width:15px;height:15px; }
.overviewDeck .targetBody { flex:1;display:grid;grid-template-columns:minmax(82px, .82fr) minmax(0,1.18fr);align-items:center;gap:clamp(12px,1.5vw,22px);margin:10px 0 8px; }
.targetGauge { width:min(100%,104px) !important;aspect-ratio:1;position:relative;display:grid;place-items:center; }
.targetGauge svg { width:100%;height:100%;overflow:visible;transform:rotate(-90deg); }
.targetGauge circle { fill:none;stroke-width:7; }
.targetTrack { stroke:rgba(255,255,255,.095); }
.targetArc { stroke:url(#goalProgressGradient);stroke-dasharray:295.31;stroke-linecap:round;transition:stroke-dashoffset .55s ease;filter:drop-shadow(0 0 5px rgba(236,252,16,.26)); }
.targetPercent { position:absolute;display:flex;align-items:baseline;gap:1px;color:#FCFAEE;font-size:25px;font-weight:750;letter-spacing:-.055em; }
.targetPercent small { color:var(--muted);font-size:12px; }
.targetStats { min-width:0;display:grid;gap:9px; }
.targetStat { min-width:0; }
.targetStat small { font-size:10px !important; }
.targetStat b { margin-top:2px !important;font-size:14px;white-space:nowrap; }
.targetRemainder { display:flex;align-items:center;justify-content:space-between;gap:6px;border-top:1px solid rgba(255,255,255,.1);padding-top:8px;margin-top:1px; }
.targetRemainder span { display:flex;align-items:center;gap:6px;color:var(--muted);font-size:10px;white-space:nowrap; }
.targetRemainder i { width:6px;height:6px;border-radius:50%;background:#C45BFF;box-shadow:0 0 8px rgba(177,51,253,.55); }
.targetRemainder b { margin:0 !important;font-size:12px;white-space:nowrap; }
.targetFoot { display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px; }
.targetFoot b { color:#FCFAEE;font-size:11px; }
.targetProgress { height:3px;margin-top:6px;overflow:hidden;border-radius:4px;background:rgba(255,255,255,.09); }
.targetProgress i { display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ECFC10,#D4E40E);box-shadow:0 0 9px rgba(236,252,16,.24); }
/* Give chart summaries an intentional, evenly spaced rhythm. */
.insightsDeck .plotFacts { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:16px 0 17px;padding:11px 0;border-block:1px solid rgba(255,255,255,.085); }
.insightsDeck .plotFacts > div { min-width:0;padding:0 12px;border-left:1px solid rgba(255,255,255,.08); }
.insightsDeck .plotFacts > div:first-child { padding-left:0;border-left:0; }
.insightsDeck .plotFacts small { font-size:10px;white-space:nowrap; }
.insightsDeck .plotFacts strong { display:block;margin-top:4px;font-size:clamp(16px,1.55vw,22px);white-space:nowrap; }
.insightsDeck .plotFacts b { font-size:13px;white-space:nowrap; }
@media(max-width:760px) {
  .overviewDeck .targetBody { grid-template-columns:88px minmax(0,1fr); }
  .targetGauge { width:84px !important; }
  .insightsDeck .plotFacts { grid-template-columns:1fr 1fr;row-gap:12px; }
  .insightsDeck .plotFacts > div:nth-child(3) { border-left:0;padding-left:0; }
}
/* CLEAR LIQUID GLASS: let the brand backdrop show through the dashboard. */
html:not(.light) body {
  position: relative !important;
  isolation: isolate !important;
  background: #030304 !important;
}
html:not(.light) body::before {
  content: "" !important;
  position: fixed !important;
  z-index: 0 !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(115deg, rgba(4,4,7,.55), rgba(4,4,7,.32) 48%, rgba(4,4,7,.62)),
    url("media/dashboard-bg-halftone-4k.png?v=20261123-4k") center / cover no-repeat !important;
  opacity: .36 !important;
  filter: brightness(.92) saturate(.9) !important;
}
html:not(.light) .glassFrame {
  width: min(calc(100vw - 64px), 1740px) !important;
  height: calc(100dvh - 40px) !important;
  margin: 20px auto !important;
  border: 1px solid rgba(252,250,238,.24) !important;
  border-radius: 26px !important;
  background: linear-gradient(125deg,rgba(255,255,255,.075),rgba(255,255,255,.012) 38%,rgba(177,51,253,.035)),rgba(8,7,13,.54) !important;
  backdrop-filter: blur(2px) saturate(1.45) contrast(1.05) !important;
  -webkit-backdrop-filter: blur(2px) saturate(1.45) contrast(1.05) !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.34), inset 1px 0 rgba(255,255,255,.08), inset -1px -1px rgba(255,255,255,.09), 0 24px 72px rgba(0,0,0,.66) !important;
}
html:not(.light) .glassFrame > aside {
  background: linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.012)),rgba(7,6,10,.50) !important;
  border-right: 1px solid rgba(255,255,255,.13) !important;
}
html:not(.light) .glassFrame .workspace,
html:not(.light) .glassFrame .workspace header {
  background: transparent !important;
}
html:not(.light) .glassFrame .workspace header {
  border-bottom: 1px solid rgba(255,255,255,.13) !important;
  backdrop-filter: saturate(1.35) !important;
  -webkit-backdrop-filter: saturate(1.35) !important;
}
html:not(.light) .glassFrame .workspace :is(.panel,.metric,.consoleCard,.summaryCard,.walletCard,.balanceFace) {
  background: linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.025) 54%,rgba(177,51,253,.045)),rgba(17,15,23,.56) !important;
  border: 1px solid rgba(252,250,238,.17) !important;
  backdrop-filter: blur(2px) saturate(1.55) contrast(1.06) !important;
  -webkit-backdrop-filter: blur(2px) saturate(1.55) contrast(1.06) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.22),inset 0 -1px rgba(255,255,255,.055),inset 0 0 0 1px rgba(255,255,255,.035),0 14px 34px -18px rgba(0,0,0,.72) !important;
}
html:not(.light) .glassFrame .workspace .balanceFace {
  background: linear-gradient(135deg,rgba(196,91,255,.23),rgba(125,22,194,.12) 44%,rgba(17,15,23,.58)),rgba(17,15,23,.48) !important;
  border-color: rgba(196,91,255,.42) !important;
}
html.light body::before { display:none !important; }
html.light .glassFrame {
  width: min(calc(100vw - 64px), 1740px) !important;
  height: calc(100dvh - 40px) !important;
  margin: 20px auto !important;
  border: 1px solid rgba(7,6,10,.12) !important;
  border-radius: 26px !important;
}
@media(max-width:760px) {
  html:not(.light) .glassFrame,html.light .glassFrame { width:calc(100vw - 12px) !important;height:calc(100dvh - 12px) !important;margin:6px auto !important;border-radius:18px !important; }
  html:not(.light) body::before { inset:-1vh -5vw !important; }
}

/* The goal indicator is a single smooth completion ring, with no radial ticks. */
.targetGauge:before { content:none !important;display:none !important;background:none !important; }
.targetGauge circle { stroke-width:8 !important; }
.targetTrack { stroke:rgba(255,255,255,.12) !important; }
.targetArc { stroke:#ECFC10 !important;stroke-linecap:round !important;filter:drop-shadow(0 0 4px rgba(236,252,16,.28)) !important; }

/* Full-screen glass: the low-key art remains behind every transparent surface. */
html:not(.light) .glassFrame,html.light .glassFrame {
  width:100vw !important;
  height:100vh !important;
  height:100dvh !important;
  max-width:none !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html:not(.light) .glassFrame {
  background:linear-gradient(125deg,rgba(255,255,255,.035),transparent 36%,rgba(177,51,253,.02)),rgba(8,7,13,.34) !important;
}
html.light .glassFrame { background:#F4F3ED !important; }

html:not(.light) .glassFrame { position:relative !important;z-index:1 !important; }

/* Keep the 4K light texture visible beneath the clear full-screen pane. */
html:not(.light) body::before {
  background:url("media/dashboard-bg-halftone-4k.png?v=20261123-4k") center / cover no-repeat !important;
  opacity:.58 !important;
  filter:brightness(1.08) saturate(.94) !important;
}
html:not(.light) .glassFrame {
  background:linear-gradient(125deg,rgba(255,255,255,.025),transparent 38%,rgba(177,51,253,.015)),rgba(8,7,13,.14) !important;
}
/* Expanded navigation gets a real two-option theme control. */
@media(min-width:761px) {
  body.wideNav #sidebar .themeChoice {
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    width:100% !important;
    max-width:190px !important;
    box-sizing:border-box !important;
    gap:4px !important;
    margin:8px auto 17px !important;
    padding:4px !important;
    border-radius:15px !important;
    background:rgba(10,9,14,.64) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.08),0 6px 18px rgba(0,0,0,.18) !important;
  }
  body.wideNav #sidebar .themeChoice button {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    width:100% !important;
    min-width:0 !important;
    height:38px !important;
    padding:0 8px !important;
    border-radius:11px !important;
    font-size:11px !important;
    font-weight:650 !important;
    white-space:nowrap !important;
  }
  body.wideNav #sidebar .themeChoice .themeLabel {display:inline !important;}
  body.wideNav #sidebar .themeChoice svg {width:15px !important;height:15px !important;flex:none !important;}
  html:not(.light) body.wideNav #sidebar .themeChoice [aria-pressed="true"] {
    color:#fff !important;
    background:linear-gradient(135deg,rgba(196,91,255,.38),rgba(125,22,194,.20)) !important;
    border:1px solid rgba(196,91,255,.36) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.24),0 2px 8px rgba(177,51,253,.18) !important;
  }
  html.light body.wideNav #sidebar .themeChoice [aria-pressed="true"] {
    color:#111 !important;background:linear-gradient(135deg,#ECFC10,#D4E40E) !important;
    border:1px solid rgba(7,6,10,.08) !important;box-shadow:inset 0 1px rgba(255,255,255,.5) !important;
  }
  body:not(.wideNav) #sidebar .themeChoice .themeLabel {display:none !important;}
}
/* Center the four summary metrics as balanced pairs. */
.overviewOps,.financialTotals {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
  width:min(100%,900px) !important;
  margin:20px auto !important;
}
.overviewOps .metric,.financialTotals .metric {
  min-height:124px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:9px !important;
  padding:18px 20px !important;
  text-align:center !important;
  background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.025) 60%,rgba(177,51,253,.045)),rgba(17,15,23,.56) !important;
  border:1px solid rgba(252,250,238,.17) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.23),inset 0 0 0 1px rgba(255,255,255,.035),0 14px 32px -20px rgba(0,0,0,.7) !important;
  backdrop-filter:blur(4px) saturate(1.7) brightness(1.08) !important;
  -webkit-backdrop-filter:blur(4px) saturate(1.7) brightness(1.08) !important;
}
.overviewOps .metric .topline,.financialTotals .metric .topline {
  display:flex !important;
  flex-direction:column-reverse !important;
  justify-content:center !important;
  align-items:center !important;
  gap:7px !important;
  width:100% !important;
}
.overviewOps .metric .topline small,.financialTotals .metric .topline small {
  font-size:12px !important;
  line-height:1.3 !important;
  text-align:center !important;
  color:var(--muted) !important;
}
.overviewOps .metric .ico,.financialTotals .metric .ico {width:20px !important;height:20px !important;}
.overviewOps .metric strong,.financialTotals .metric strong {
  display:block !important;
  margin:0 !important;
  text-align:center !important;
  font-size:clamp(22px,2vw,30px) !important;
}
@media(max-width:600px) {
  .overviewOps,.financialTotals {grid-template-columns:minmax(0,1fr) !important;width:100% !important;}
}
/* Apple-inspired clear liquid material: brighter refracted edge, restrained blur. */
html:not(.light) .glassFrame {
  backdrop-filter:blur(4px) saturate(1.72) contrast(1.07) !important;
  -webkit-backdrop-filter:blur(4px) saturate(1.72) contrast(1.07) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.38),inset 1px 0 rgba(255,255,255,.12),inset -1px 0 rgba(255,255,255,.08) !important;
}
html:not(.light) .glassFrame .workspace :is(.panel,.metric,.consoleCard,.summaryCard,.walletCard,.balanceFace) {
  backdrop-filter:blur(4px) saturate(1.72) contrast(1.08) !important;
  -webkit-backdrop-filter:blur(4px) saturate(1.72) contrast(1.08) !important;
  border-color:rgba(252,250,238,.21) !important;
  box-shadow:inset 0 1px rgba(255,255,255,.32),inset 0 -1px rgba(255,255,255,.08),inset 0 0 0 1px rgba(255,255,255,.04),0 16px 36px -18px rgba(0,0,0,.76) !important;
}
@media(max-width:760px) {
  #sidebar .themeChoice .themeLabel {display:none !important;}
}
/* Peak-chart treatment for the program's sales series. */
.overviewDeck .consolePlot {position:relative;isolation:isolate;overflow:hidden;}
.overviewDeck .consolePlot::before {
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:clamp(190px,22vw,330px);height:82%;right:1.5%;bottom:4%;
  background:url("assets/brand/simbolo-contorno.svg") center / contain no-repeat;
  opacity:.045;filter:brightness(0) invert(1);
}
.overviewDeck .consolePlot > * {position:relative;z-index:1;}
.peakChartWrap {position:relative;margin-top:10px;padding:4px 2px 0;}
.peakChart {display:block;width:100%;height:clamp(170px,17vw,230px);overflow:visible;}
.peakGridline {fill:none;stroke:rgba(255,255,255,.085);stroke-width:.25;stroke-dasharray:1.2 1.6;vector-effect:non-scaling-stroke;}
.peakArea {fill:url(#salesArea);}
.peakLine {fill:none;stroke:#ECFC10;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;}
.peakPoint {fill:#C45BFF;stroke:#17131d;stroke-width:.55;vector-effect:non-scaling-stroke;}
.peakCurrent {fill:#ECFC10;stroke:#FCFAEE;stroke-width:.65;}
.peakLabels {display:flex;justify-content:space-between;gap:8px;margin-top:7px;color:var(--muted);font-size:10px;}
.peakLabels span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.overviewDeck .consolePlot .readout {display:flex;align-items:center;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.08);color:var(--muted);font-size:11px;}
.overviewDeck .consolePlot .readout b {margin-left:auto;color:var(--text);font-size:12px;}
.liveDot {width:7px;height:7px;flex:none;border-radius:50%;background:#ECFC10;box-shadow:0 0 10px rgba(236,252,16,.55);}
@media(max-width:760px) {.peakChart {height:170px;}}
/* Affiliate view uses the same three-column rhythm as the store overview. */
.affiliateDeck {
  grid-template-columns:minmax(250px,.95fr) minmax(0,2.1fr) minmax(250px,.95fr) !important;
  align-items:stretch !important;
  gap:16px !important;
}
.affiliateDeck > .balanceWrap {display:grid;min-width:0;}
.affiliateDeck .balanceFace {height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:8px;}
.affiliateDeck .balanceFace h2 {margin-bottom:10px;}
.affiliateDeck .balanceRows {margin-top:auto;padding-top:16px;}
.affiliateDeck .consolePlot {height:fit-content !important;min-height:0 !important;align-self:stretch;flex:none !important;}
.affiliateDeck .consolePlot {display:flex;flex-direction:column;justify-content:flex-start;padding:18px;}
.affiliateDeck .peakChart {height:clamp(88px,8vw,118px);}
.affiliateDeck .peakChartWrap {margin-top:4px;padding-top:0;}
.affiliateDeck .plotFacts {gap:0;margin:9px 0;padding:8px 0;}
.affiliateDeck .plotFacts small {font-size:9px;}
.affiliateDeck .plotFacts b {font-size:11px;}
.affiliateDeck .offerFilters {margin-bottom:3px;}
.affiliateDeck .offerFilters button {padding:5px 8px;font-size:10px;}
.affiliateDeck .consolePlot .readout {margin-top:8px;padding-top:8px;font-size:10px;}
.affiliateShelf {grid-column:auto !important;grid-row:auto !important;display:grid;align-content:stretch;gap:16px;min-width:0;}
.affiliateShelf > :is(.productShelf,.panel) {min-width:0;}
.affiliateShelf > .productShelf {display:flex;flex-direction:column;justify-content:center;}
.affiliateProductShelf .topline {align-items:center;margin-bottom:8px;}
.productCount {padding:5px 9px;border:1px solid var(--edge);border-radius:999px;color:var(--muted);font-size:10px;white-space:nowrap;}
.affiliateProductRows {display:grid;gap:6px;margin:4px 0 12px;}
.affiliateProductRows button {display:flex;align-items:center;gap:11px;width:100%;padding:10px;border:1px solid var(--edge);border-radius:13px;background:#ffffff07;color:var(--text);text-align:left;transition:transform .22s ease,border-color .22s ease,background .22s ease;}
.affiliateProductRows button:hover {transform:translateY(-2px);border-color:#b133fd70;background:#b133fd0c;}
.affiliateProductRows button>img {width:48px;height:52px;object-fit:contain;border-radius:10px;background:#ffffff0a;}
.affiliateProductRows button>span:nth-child(2) {display:grid;gap:3px;min-width:0;flex:1;}
.affiliateProductRows button b {font-size:13px;}
.affiliateProductRows button small,.affiliateProductFacts small {color:var(--muted);font-size:10px;}
.productActive {display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px;white-space:nowrap;}
.productActive i {width:5px;height:5px;border-radius:50%;background:#ECFC10;box-shadow:0 0 7px #ecfc1055;}
.affiliateProductFacts {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px;padding:11px 0;border-block:1px solid var(--edge);}
.affiliateProductFacts b {display:block;margin-top:4px;font-size:14px;}
.affiliateProductShelf > .plain {align-self:flex-start;}
.affiliateBottom {display:grid;grid-template-columns:minmax(0,2.1fr) minmax(250px,.95fr);align-items:start;gap:16px;margin:0 0 18px;}
.affiliateBottom > .panel {min-width:0;margin:0;}
.affiliateBottom > .panel.stack {padding:20px;}
@media(max-width:1150px) {
  .affiliateDeck {grid-template-columns:minmax(220px,.9fr) minmax(0,1.8fr) !important;}
  .affiliateDeck .affiliateShelf {grid-column:1/-1 !important;grid-template-columns:repeat(2,minmax(0,1fr));}
  .affiliateBottom {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:760px) {
  .affiliateDeck {grid-template-columns:minmax(0,1fr) !important;}
  .affiliateDeck .affiliateShelf {grid-column:1 !important;grid-template-columns:minmax(0,1fr);}
  .affiliateDeck .peakChart {height:135px;}
  .affiliateBottom {grid-template-columns:minmax(0,1fr);}
}
/* Annual weekly trend: compact cell columns with a selected business metric. */
.weeklyTrendCard {position:relative;overflow:hidden;margin:0 0 18px;padding:20px 22px;}
.weeklyTrendCard .topline {align-items:center;}
.weeklyTrendCard .topline h2 {margin-top:5px;}
.cardEyebrow {color:var(--muted);font-size:9px;font-weight:750;letter-spacing:.13em;}
.trendLive {display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap;}
.trendLive i {width:6px;height:6px;border-radius:50%;background:#ECFC10;box-shadow:0 0 9px #ECFC1070;}
.trendSummary {display:flex;align-items:baseline;gap:12px;margin:16px 0 10px;}
.trendSummary>strong {font-size:clamp(23px,2.5vw,34px);letter-spacing:-.055em;}
.trendDelta {color:var(--muted);font-size:11px;}
.trendDelta.good {color:#c8f379;}
.trendDelta small {margin-left:4px;color:var(--muted);font-size:10px;}
.trendMetrics {display:flex;gap:6px;flex-wrap:wrap;margin-bottom:13px;}
.trendMetrics button {padding:6px 10px;border:1px solid var(--edge);border-radius:999px;background:#ffffff08;color:var(--muted);font-size:10px;transition:background .2s,color .2s,transform .2s,border-color .2s;}
.trendMetrics button:hover {transform:translateY(-1px);color:var(--text);border-color:#ffffff35;}
.trendMetrics button[aria-pressed=true] {color:#171700;background:linear-gradient(110deg,#ECFC10,#d6e90b);border-color:transparent;box-shadow:0 3px 14px #ecfc1029;}
.cellTrend {height:clamp(68px,8vw,98px);display:grid;grid-template-columns:repeat(52,minmax(3px,1fr));align-items:end;gap:clamp(2px,.48vw,6px);padding:7px 1px 0;border-bottom:1px solid var(--edge);}
.trendColumn {height:100%;display:flex;align-items:flex-end;min-width:0;}
.trendColumn i {display:grid;grid-template-rows:repeat(8,1fr);align-content:end;gap:2px;width:100%;height:100%;padding-top:calc((8 - var(--cells)) * (100% / 8));box-sizing:border-box;}
.trendColumn i::before {content:"";height:100%;grid-row:1 / span var(--cells);border-radius:3px 3px 1px 1px;background:repeating-linear-gradient(to top,rgba(240,239,248,.22) 0 6px,transparent 6px 9px);}
.trendColumn.recent i::before {background:repeating-linear-gradient(to top,#C45BFF 0 6px,transparent 6px 9px);filter:drop-shadow(0 0 5px #b133fd38);}
.trendColumn:hover i::before {background:repeating-linear-gradient(to top,#ECFC10 0 6px,transparent 6px 9px);}
.trendTicks {display:grid;grid-template-columns:repeat(12,1fr);gap:2px;margin-top:8px;color:var(--muted);font-size:9px;}
.trendTicks span {text-align:left;}
.trendFoot {display:flex;justify-content:space-between;margin-top:6px;color:var(--muted);font-size:9px;}
@media(max-width:760px) {
  .weeklyTrendCard {padding:16px;}
  .trendLive {display:none;}
  .trendMetrics button {font-size:9px;padding:6px 8px;}
  .cellTrend {gap:2px;height:68px;}
  .trendColumn i {gap:1px;}
  .trendColumn i::before {background:repeating-linear-gradient(to top,rgba(240,239,248,.22) 0 5px,transparent 5px 8px);}
}

/* Keep the brand outline in the page backdrop, behind all dashboard content. */
.overviewDeck .consolePlot::before {content:none !important;}
.glassFrame::before {
  content:"";position:absolute;z-index:0;inset:0;pointer-events:none;
  background:url("assets/brand/simbolo-contorno.svg") center 54% / min(58vw,740px) auto no-repeat;
  opacity:.012;filter:brightness(0) invert(1);
}
.glassFrame > aside,.glassFrame > .workspace {position:relative;z-index:1;}

/* Light glass keeps text, chart strokes and the circular goal legible. */
html.light .glassFrame::before {opacity:.018;background-size:min(48vw,620px) auto;filter:brightness(0) saturate(100%) invert(9%) sepia(8%) saturate(1100%) hue-rotate(210deg);}
html.light .workspace {background:transparent !important;}
html.light .workspace header {background:rgba(250,249,245,.92) !important;}
html.light :is(.panel,.consoleCard,.metric,.walletCard.neutralWallet) {
  background:#fff !important;
  border:1px solid rgba(7,6,10,.1) !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  box-shadow:0 5px 18px -7px rgba(7,6,10,.1),inset 0 1px rgba(255,255,255,.95) !important;
}
html.light .targetTrack {stroke:#d9d7df !important;}
html.light .targetArc {stroke:#9db800 !important;filter:drop-shadow(0 0 3px rgba(126,148,0,.22)) !important;}
html.light .targetPercent {color:#17151c !important;}
html.light .targetPercent small {color:#66646c !important;}
html.light .peakGridline {stroke:rgba(7,6,10,.13) !important;}
html.light .peakLine {stroke:#819600 !important;filter:none !important;}
html.light .peakArea {opacity:.58;}
html.light .peakChart #salesArea stop:first-child {stop-color:#9db800 !important;stop-opacity:.2 !important;}
html.light .peakChart #salesArea stop:last-child {stop-color:#ffffff !important;stop-opacity:0 !important;}
html.light .peakPoint {fill:#a62df0 !important;stroke:#fff !important;}
html.light .peakCurrent {fill:#819600 !important;stroke:#fff !important;}
html.light .peakLabels,html.light .readout {color:#66646c !important;}
html.light .liveDot {background:#819600 !important;box-shadow:0 0 8px rgba(129,150,0,.25) !important;}
/* Lightweight, tactile feedback for navigation and cards. */
.workspace main .panel,.workspace main .consoleCard,.workspace main .metric,.workspace main .balanceFace,.workspace main .walletCard {
  transition:transform .24s cubic-bezier(.2,.75,.25,1),box-shadow .24s ease,border-color .24s ease,background-color .24s ease !important;
}
@media(hover:hover) {
  .workspace main .panel:hover,.workspace main .consoleCard:hover,.workspace main .metric:hover,.workspace main .balanceFace:hover,.workspace main .walletCard:hover {
    transform:translateY(-3px);
    border-color:rgba(252,250,238,.3) !important;
    box-shadow:inset 0 1px rgba(255,255,255,.34),0 18px 40px -20px rgba(0,0,0,.8),0 0 22px rgba(177,51,253,.07) !important;
  }
}
@keyframes dashboardEnter {
  from {opacity:0;transform:translateY(10px);}
  to {opacity:1;transform:translateY(0);}
}
body.route-enter #main > * {animation:dashboardEnter .42s cubic-bezier(.2,.75,.25,1) both;}
body.route-enter #main > *:nth-child(2) {animation-delay:.035s;}
body.route-enter #main > *:nth-child(3) {animation-delay:.07s;}
body.route-enter #main > *:nth-child(4) {animation-delay:.105s;}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {scroll-behavior:auto !important;animation-duration:.01ms !important;transition-duration:.01ms !important;}
}
.salesMetrics {margin:0 0 10px;}
.salesCellChart {display:grid;grid-template-columns:repeat(var(--columns,15),minmax(0,1fr));gap:clamp(3px,.65vw,9px);height:clamp(145px,15vw,220px);margin:14px 0 0;align-items:end;}
.salesCellColumn {display:flex;flex-direction:column;gap:8px;height:100%;min-width:0;outline:none;}
.salesCellStack {display:flex;flex:1;flex-direction:column-reverse;gap:3px;min-height:0;}
.salesCellStack i {display:block;flex:1;min-height:0;border-radius:3px;background:rgba(255,255,255,.035);transition:background .2s,transform .2s;}
.salesCellStack i.filled {background:linear-gradient(90deg,#55535e,#77747e);}
.salesCellColumn.highlight i.filled {background:linear-gradient(90deg,#9a20d9,#d278ff);}
.salesCellColumn:hover i.filled,.salesCellColumn:focus-visible i.filled {background:linear-gradient(90deg,#c4d900,#efff27);transform:scaleX(1.06);}
.salesCellColumn span {height:14px;color:var(--muted);text-align:center;font-size:10px;}
.consolePlot .readout {display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--edge);color:var(--muted);font-size:11px;}
.consolePlot .readout b {margin-left:auto;color:var(--text);}
.affiliateDeck .salesCellChart {height:110px;}
html.light .salesCellStack i {background:rgba(7,6,10,.06);}
html.light .salesCellStack i.filled {background:linear-gradient(90deg,#aaa8b1,#88868f);}
html.light .salesCellColumn.highlight i.filled {background:linear-gradient(90deg,#8720c7,#bc54f1);}
@media(max-width:760px){.salesCellChart{height:140px;gap:3px}.salesCellStack{gap:2px}.salesCellColumn span{font-size:9px}}
/* Sales goal: a two-part donut showing progress against the target. */
.goalDonutLayout {display:grid;grid-template-columns:minmax(125px, 1fr) minmax(120px,1fr);align-items:center;gap:clamp(12px,2vw,30px);flex:1;margin-top:8px;}
.goalDonut {width:min(100%,172px);aspect-ratio:1;position:relative;display:grid;place-items:center;margin:auto;}
.goalDonut svg {width:100%;height:100%;transform:rotate(-90deg);}
.goalDonut circle {fill:none;stroke-width:15;}
.goalDonutTrack {stroke:#35323a;}
.goalDonutFill {stroke:#d9ed08;stroke-dasharray:251.327;stroke-linecap:butt;transition:stroke-dashoffset .55s ease;}
.goalDonut>span {position:absolute;display:grid;gap:4px;text-align:center;}
.goalDonut small {color:var(--muted);font-size:10px;}
.goalDonut strong {font-size:clamp(13px,1.15vw,18px);letter-spacing:-.04em;}
.goalLegend {display:grid;gap:12px;min-width:0;}
.goalLegend>div {display:flex;align-items:flex-start;gap:8px;}
.goalLegend i {width:4px;height:27px;flex:none;border-radius:3px;background:#d9ed08;}
.goalLegend>div:nth-child(2) i {background:#716d78;}
.goalLegend span {display:grid;gap:3px;color:var(--muted);font-size:10px;}
.goalLegend b {color:var(--text);font-size:13px;}
.goalLegend .goalTotal {justify-content:space-between;border-top:1px solid var(--edge);padding-top:9px;}
.goalTotal em {align-self:center;border-radius:99px;background:rgba(217,237,8,.13);color:#d9ed08;padding:4px 7px;font-size:11px;font-style:normal;}
html.light .goalDonutTrack {stroke:#e2e0e7;}
html.light .goalDonutFill {stroke:var(--brand-lime);}
html.light .goalTotal em {color:#596800;}
@media(max-width:420px){.goalDonutLayout{grid-template-columns:minmax(100px,1fr) minmax(100px,1fr);gap:10px}.goalDonut strong{font-size:12px}}

/* Overview: the sales figure leads, the chart and catalogue support it. */
.insightsDeck .balanceFace {
  position:relative; isolation:isolate; overflow:hidden;
  justify-content:flex-start; align-items:flex-start;
}
.balanceFace .balanceArt {
  position:absolute; right:-3%; bottom:0; z-index:-1; height:98%; width:48%;
  object-fit:contain; object-position:right bottom; pointer-events:none;
  mask-image:linear-gradient(0deg,transparent 2%,#000 40%);
}
.overviewDeck .balanceFace .balanceNumber {font-size:clamp(30px,3vw,52px);font-weight:680;line-height:1.1;letter-spacing:-.065em;}
.insightsDeck .balanceFace .balanceRows {align-self:stretch;display:flex;gap:clamp(12px,2vw,30px);margin-top:auto;padding-top:20px;}
.insightsDeck .balanceRows>div {display:grid;justify-content:start;gap:3px;border:0!important;padding:0;}
.insightsDeck .balanceRows b {font-size:15px;}
#main .overviewDeck .balanceFace {padding:22px!important;gap:4px;}
html:not(.light) .glassFrame .workspace .overviewDeck .balanceFace,
html.light .glassFrame .workspace .overviewDeck .balanceFace {
 background:radial-gradient(ellipse at 100% 32%,#7822a8 0%,#371347 37%,transparent 74%),linear-gradient(115deg,#201326,#281334)!important;
}
#main .goalDonut strong {font-size:clamp(24px,2.2vw,36px);line-height:1;}
.goalDonut>span {align-content:center;}
#main .overviewDeck .shelfRows {display:grid;gap:0;margin:auto 0;}
#main .overviewDeck .shelfRows button {padding:8px 0;gap:10px;}
#main .shelfRows button strong {font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums;}
#main .productShelf .topline .plain {font-size:12px;margin:0;}
html.light #main .productShelf .topline .plain {color:#702192;}
#main .overviewDeck .shelfRows img {width:38px;height:38px;}
#main .consolePlot .topline {align-items:center;gap:12px;}
.salesControls,.financeLinks {display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
.salesControls select {max-width:100%;min-height:34px;font:inherit;font-size:12px;color:var(--text);background:var(--raised);border:1px solid var(--edge);border-radius:99px;padding:5px 10px;}
.peakSummary {display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 12px;margin:16px 0 4px;}
.peakSummary small {width:100%;color:var(--muted);font-size:12px;}
.peakSummary strong {font-size:clamp(26px,2.4vw,38px);line-height:1.1;letter-spacing:-.045em;}
.peakSummary span {color:var(--muted);font-size:13px;}
#main .salesCellStack i:not(.filled) {background:color-mix(in srgb,var(--muted) 5%,transparent);}
#main .salesCellColumn.highlight i.filled {background:linear-gradient(110deg,#a5b513,var(--brand-lime));}
#main .salesCellColumn:focus-visible {outline:2px solid var(--brand-purple);outline-offset:2px;border-radius:4px;}
#main .consolePlot .readout {flex-wrap:wrap;}
#main .overviewDeck .financeCard>svg {height:clamp(55px,7vw,92px);margin:12px 0;fill:color-mix(in srgb,var(--brand-purple) 12%,transparent)!important;color:var(--brand-purple);}
.financeLinks {margin-top:auto;justify-content:space-between;}
.financeLinks .plain {font-size:13px;}
#main .financeLinks {justify-content:flex-end;}
.affiliateBottom .row {gap:12px;}
#main .affiliateBottom .row .action {
  height:30px; min-height:30px; min-width:104px; padding:0 16px; border-radius:999px;
  font-size:12px; line-height:1; text-decoration:none;
  box-shadow:inset 0 1px #fff4,0 2px 8px #ecfc1026 !important;
}
#main .affiliateDeck .balanceArt {
  width:64%; max-width:none; height:80%; right:-12%; bottom:9%;
  object-fit:cover; object-position:67% top;
  mask-image:linear-gradient(to bottom,#000 57%,transparent 99%),linear-gradient(to right,transparent,#000 12%);
  mask-composite:intersect;
}
.affiliateDeck .balanceRows {position:relative;z-index:1;}
@media(min-width:1151px) {
  .workspace #main:has(>.affiliateDeck) {
    min-height:calc(100dvh - 76px);
    display:grid; grid-template-rows:auto minmax(min-content,1.1fr) minmax(min-content,1fr);
    align-content:start; gap:18px;
  }
  #main:has(>.affiliateDeck) > :is(.heading,.affiliateDeck,.affiliateBottom) {margin-block:0;}
  #main .affiliateBottom {align-items:stretch;}
  #main .affiliateBottom > .panel {margin-block:0;}
  #main .affiliateDeck .consolePlot {height:auto !important;}
  #main .affiliateDeck .salesCellChart {flex:1 0 110px;}
}
#drawer[open] {animation:drawerEnter .2s ease-out;}
@keyframes drawerEnter {from {opacity:0;translate:0 8px;} to {opacity:1;translate:0 0;}}
#sidebar a.item {transition:background-color .18s,color .18s,scale .12s;}
#sidebar a.item:active {scale:.97;}
#main .salesCellColumn {position:relative;}
#main .salesCellColumn:is(:hover,:focus-visible)::after {
  content:attr(aria-label); pointer-events:none; position:absolute; bottom:100%; left:50%;
  translate:-50% 0; white-space:nowrap; z-index:3; padding:5px 8px; border-radius:8px;
  background:var(--raised); color:var(--text); border:1px solid var(--edge); font-size:11px;
  animation:tooltipEnter .14s ease-out;
}
@keyframes tooltipEnter {from {opacity:0;} to {opacity:1;}}
#main .salesCellColumn:first-child::after {left:0;translate:0;}
#main .salesCellColumn:last-child::after {left:auto;right:0;translate:0;}
#main .headingActions .action {box-shadow:inset 0 1px #fff7,0 3px 12px #ecfc1017;}
#main .overviewDeck .consolePlot {height:auto;min-height:0;}
@media(max-width:760px){
  #main .heading:has(+.overviewDeck) {display:grid;gap:12px;}
  #main .headingActions:has(#period) {flex-wrap:wrap;gap:6px;}
  #main .shelfRows button strong {font-size:12px;}
  .balanceFace .balanceArt {max-width:44%;}
}
/* Keep the navigation surfaces opaque so the page artwork stays behind the glass workspace. */
html:not(.light) .glassFrame > aside,
html:not(.light) .glassFrame .workspace header,
html.light .glassFrame > aside,
html.light .glassFrame .workspace header {
  background: #000 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
@media (min-width: 1000px) and (min-height: 850px) {
  .glassFrame .workspace:has(#main .overviewDeck) #main {
    min-height: calc(100dvh - 76px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }
  #main .overviewDeck {
    flex: 1 0 auto;
    grid-template-rows: minmax(240px, .85fr) minmax(420px, 1.4fr);
  }
}

/* Light glass surfaces */
html.light .glassFrame {
  background: radial-gradient(ellipse at 12% 12%, rgba(160,137,181,.28), transparent 39%),
              radial-gradient(ellipse at 88% 84%, rgba(164,177,120,.23), transparent 42%),
              linear-gradient(132deg, #d2ced4, #dedddc 50%, #cfd2c9) !important;
}
html.light .glassFrame .workspace :is(.panel, .consoleCard, .metric, .summaryCard, .walletCard.neutralWallet) {
  background: linear-gradient(130deg, rgba(255,255,255,.48), rgba(248,247,250,.23) 48%, rgba(223,224,226,.38)) !important;
  border: 1px solid rgba(255,255,255,.78) !important;
  color: #17151c !important;
  -webkit-backdrop-filter: blur(3px) saturate(1.2) !important;
  backdrop-filter: blur(3px) saturate(1.2) !important;
  box-shadow: inset 0 2px 2px rgba(255,255,255,.92), inset 2px 0 3px rgba(255,255,255,.55),
              inset -1px -2px 3px rgba(90,80,105,.14), 0 1px 0 rgba(255,255,255,.55),
              0 10px 24px rgba(45,39,55,.16), 0 2px 6px rgba(45,39,55,.10) !important;
}
html.light #sidebar .item {color:#d5d1da !important;}
html.light #sidebar .item .ico {color:#d5d1da !important;fill:currentColor !important;}
html.light #sidebar .item:is(:hover,.active),
html.light #sidebar .item:is(:hover,.active) .ico {color:#fff !important;}
html.light .affiliateProductRows button,
html.light .salesControls select {
  background:rgba(255,255,255,.42); border-color:rgba(104,98,112,.16);
}
html.light .glassFrame .workspace header {
  background: #d8d5d9 !important;
  border-bottom: 1px solid rgba(80,70,90,.13) !important;
}
html.light .workspace header .jumpButton {
  color: #fff !important;
  background: linear-gradient(135deg, #68218d, #a32bdb) !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 3px 10px rgba(76,30,94,.18);
}
html.light .jumpButton kbd {color:#fff; background:rgba(30,9,39,.3);}
html.light #main a.plain[href="#saques"] {color:#07060a !important;}

@media (max-width:760px) {
  #main .heading:has(+ .overviewDeck) {
    display:grid; grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"title period" "orders offer"; align-items:center; gap:12px 8px;
  }
  #main .heading:has(+ .overviewDeck) > div:first-child {grid-area:title;min-width:0;}
  #main .heading:has(+ .overviewDeck) .headingActions {display:contents;}
  #main .heading:has(+ .overviewDeck) .headingActions #period {grid-area:period;max-width:140px;}
  #main .heading:has(+ .overviewDeck) .headingActions .plain {grid-area:orders;justify-self:start;}
  #main .heading:has(+ .overviewDeck) .headingActions .action {grid-area:offer;justify-self:end;}
}

/* Navigation in the light theme */
html.light .glassFrame > aside {
  background:#d8d5d9 !important;
  border-right:1px solid rgba(80,70,90,.16) !important;
}
html.light #sidebar .navCapsule {
  background:linear-gradient(160deg,rgba(255,255,255,.54),rgba(255,255,255,.22)) !important;
  border-color:rgba(125,22,194,.25) !important;
}
html.light #sidebar .item {color:#54206d !important;}
html.light #sidebar .item .ico {color:#8124ad !important;fill:currentColor !important;}
html.light #sidebar .item:hover {background:rgba(125,22,194,.1) !important;}
html.light #sidebar .item.active {color:#fff !important;}
html.light #sidebar .item.active .ico {color:#fff !important;}

@media (max-width:760px) {
  .glassFrame > #sidebar {position:absolute !important; inset:0 auto 0 0; z-index:20 !important;}
  .glassFrame > .workspace {grid-column:1;grid-row:1;}
  .glassFrame #veil {z-index:19;}
  .glassFrame .workspace main {padding:16px 14px 36px !important;}
  .workspace header .headerRight {gap:6px !important;}
  .workspace header .crumb {min-width:0;}
  .workspace header .jumpButton {min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
}

.mobileNav {display:none;}
@media (max-width:760px) {
  .mobileNav {
    position:fixed; z-index:15; left:50%; bottom:max(12px,env(safe-area-inset-bottom));
    transform:translateX(-50%); width:min(calc(100% - 28px),500px); height:64px;
    display:grid; grid-template-columns:repeat(5,1fr); align-items:center; justify-items:center;
    border-radius:40px; border:1px solid rgba(255,255,255,.18);
    background:rgba(20,18,25,.95); box-shadow:0 10px 28px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.14);
    backdrop-filter:blur(14px);
  }
  .mobileNav :is(a,button) {
    position:relative; display:grid; place-items:center; width:46px; height:46px;
    padding:0; border:0; border-radius:50%; color:#ece8f0; background:transparent; text-decoration:none;
  }
  .mobileNav .ico {width:21px;height:21px;fill:currentColor;}
  .mobileNav [aria-current="page"]::after {
    content:"";position:absolute;bottom:1px;width:5px;height:5px;border-radius:50%;background:#b133fd;
  }
  .mobileNav .mobileNavPrimary {
    width:54px;height:54px;transform:translateY(-12px);font-size:30px;font-weight:400;
    color:#fff;background:linear-gradient(145deg,#d275ff,#8d16df);border:3px solid #c78af7;
    box-shadow:0 4px 16px #a82fed77;
  }
  html.light .mobileNav {background:rgba(246,244,247,.94);border-color:#fff;box-shadow:0 8px 22px #37303c33,inset 0 1px #fff;}
  html.light .mobileNav :is(a,button) {color:#562172;}
  html.light .mobileNav .mobileNavPrimary {color:#fff;}
  .glassFrame .workspace main {padding-bottom:calc(100px + env(safe-area-inset-bottom)) !important;}
  .mobileTheme {display:flex;gap:8px;margin-top:18px;}
  .mobileTheme button {flex:1;padding:10px;border:1px solid var(--edge);border-radius:24px;background:var(--raised);color:var(--text);}
  #drawer[open] {overflow-y:auto;}
}
