:root {
  --bg: #0e1014;
  --panel: #161920;
  --ink: #eef0f5;
  --mute: #9aa1b0;
  --line: #262b36;
  --code: #1c2029;
  --hero: #0f1116;
  --herot: #f4f5f8;
  --brand: #2b3140;
  --bt: #f4f5f8;
  --bb: #3a4152;
  --acc: #6ee7b7;
  --tile: #20242e;
  --ok: #6ee7b7;
  --okb: rgba(52, 211, 153, 0.14);
  --warn: #fcd34d;
  --warnb: rgba(251, 191, 36, 0.13);
  --bad: #fda4af;
  --badb: rgba(244, 63, 94, 0.15);
  --bn1: #2f3646;
  --bn2: #161920;
  --gp: #34d399;
  --go: #fbbf24;
  --gr: #fb7185;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    400 16px/1.5 "IBM Plex Sans",
    system-ui,
    sans-serif;
}
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  margin: 0;
  line-height: 1.12;
}
a,
button {
  font-family: inherit;
}
.w {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.top {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.top .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.nm {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.nm b {
  font:
    700 28px/1 "Bricolage Grotesque",
    sans-serif;
  letter-spacing: 0.02em;
}
.nm span {
  font:
    600 15px/1 "Bricolage Grotesque",
    sans-serif;
  color: var(--mute);
  letter-spacing: 0.16em;
}
.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav button {
  background: none;
  border: 0;
  color: var(--mute);
  padding: 8px 10px;
  border-radius: 8px;
  font:
    500 15px "IBM Plex Sans",
    sans-serif;
  cursor: pointer;
}
.nav button[aria-current="page"] {
  background: var(--code);
  color: var(--ink);
}
.b {
  background: var(--brand);
  color: var(--bt);
  border: 1px solid var(--bb);
  border-radius: 8px;
  padding: 10px 16px;
  font:
    700 15px "Bricolage Grotesque",
    sans-serif;
  cursor: pointer;
}
.b.g {
  background: none;
  color: var(--ink);
  border: 1px solid var(--line);
}
.b.ok {
  background: #22c55e;
  color: #04210f;
  border-color: transparent;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
}
.hero {
  background: var(--hero);
  color: var(--herot);
}
.hero .w {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px;
  padding: 36px 16px 56px;
  align-items: start;
}
@media (max-width: 820px) {
  .hero .w {
    grid-template-columns: 1fr;
    padding: 36px 16px;
  }
}
.hero h1 {
  font-size: clamp(44px, 7.8vw, 92px);
  line-height: 1.04;
  font-weight: 700;
}
.hero p {
  color: var(--mute);
  font-size: clamp(21px, 2.7vw, 30px);
  max-width: 38ch;
  margin: 22px 0 34px;
}
.hero .b {
  background: var(--brand);
  color: var(--bt);
}
.hero .b.g {
  background: none;
  color: var(--herot);
  border-color: var(--bb);
}
.pre {
  background: var(--code);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  font:
    12.5px/1.55 ui-monospace,
    Menlo,
    monospace;
  overflow-x: auto;
  white-space: pre;
}
.pre i {
  color: #7ee0b4;
  font-style: normal;
}
.sec {
  padding: 40px 0;
}
.sec h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.card p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}
.big {
  font:
    700 28px "Bricolage Grotesque",
    sans-serif;
}
.mut {
  color: var(--mute);
  font-size: 14px;
}
.auth {
  max-width: 420px;
  margin: 40px auto;
}
.auth h1 {
  font-size: 28px;
  margin-bottom: 16px;
}
label {
  display: block;
  font-size: 14px;
  color: var(--mute);
  margin: 12px 0 4px;
}
input,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--code);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.auth .b,
.card form .b {
  width: 100%;
  margin-top: 16px;
}
.page {
  padding: 24px 0 48px;
}
.page > h1 {
  font-size: 26px;
  margin-bottom: 16px;
}
.g2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--mute);
  font-weight: 500;
}
.sc {
  overflow-x: auto;
}
.st {
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}
.st.aprovado,
.st.ativa {
  background: var(--okb);
  color: var(--ok);
}
.st.pendente {
  background: var(--warnb);
  color: var(--warn);
}
.st.recusado,
.st.revogada {
  background: var(--badb);
  color: var(--bad);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
  margin-top: 12px;
}
.bars div {
  flex: 1;
  background: var(--brand);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}
.bl {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--mute);
  margin-top: 4px;
}
.bl span {
  flex: 1;
  text-align: center;
}
.code {
  background: var(--code);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px;
  font:
    13px/1.4 ui-monospace,
    Menlo,
    monospace;
  word-break: break-all;
  margin-top: 10px;
}
.msg {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.msg.ok {
  background: var(--okb);
  color: var(--ok);
}
.msg.bad {
  background: var(--badb);
  color: var(--bad);
}
.sum {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--mute);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.sum b {
  color: var(--ink);
}
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}
.stats > .card {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 16px;
}
.stats > .card:nth-child(n + 4) {
  grid-column: span 3;
}
@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats > .card,
  .stats > .card:nth-child(n + 4) {
    grid-column: span 1;
  }
  .stats > .card:last-child {
    grid-column: span 2;
  }
}
.stats p {
  margin: 0 0 2px;
  color: var(--mute);
  font-size: 14px;
}
.stats .big {
  font-size: 24px;
}
.ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.ic {
  background: var(--tile);
}
.ic.b1 {
  color: #2f7fc4;
}
.ic.r1 {
  color: #e11d48;
}
.ic.p1 {
  color: #6d5ef0;
}
.ic.a1 {
  color: #d97706;
}

.sal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.sal p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}
.sal .big {
  font-size: 30px;
}
.acts {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ib {
  background: none;
  border: 0;
  color: var(--ink);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.opsw {
  position: relative;
}
.opsw .b {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fbar {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin: 12px 0;
}
.perw {
  position: relative;
  flex: 1;
  min-width: 0;
}
.per {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font:
    500 15px "IBM Plex Sans",
    sans-serif;
  cursor: pointer;
}
.per span {
  text-align: center;
}
.per svg {
  display: block;
  color: var(--mute);
}
.sq {
  width: 44px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.sq.x {
  border: 0;
  background: none;
}
.menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.menu button {
  display: block;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 9px 10px;
  border-radius: 7px;
  font:
    15px "IBM Plex Sans",
    sans-serif;
  cursor: pointer;
}
.menu button[aria-selected="true"],
.menu button:hover {
  background: var(--code);
}
.opsw .menu {
  left: auto;
  right: 0;
}
.cust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.cust label {
  margin: 0;
}
.cust input {
  width: auto;
}
.r2c {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 16px;
}
@media (max-width: 820px) {
  .r2c {
    grid-template-columns: minmax(0, 1fr);
  }
}
.lc {
  position: relative;
  margin-top: 8px;
}
.lc svg {
  display: block;
  width: 100%;
  height: auto;
  touch-action: pan-y;
}
.lc text {
  fill: var(--mute);
  font-size: 11px;
}
.lc .gl {
  stroke: var(--line);
  stroke-dasharray: 4 4;
}
.lc .ax {
  stroke: var(--mute);
}
.lc .ln {
  fill: none;
  stroke: var(--acc);
  stroke-width: 3;
  stroke-linejoin: round;
}
.lc .pt {
  fill: var(--acc);
}
.lc #hv {
  fill: var(--acc);
  stroke: var(--panel);
  stroke-width: 2;
}
.dnw .tr {
  fill: none;
  stroke: var(--code);
  stroke-width: 14;
}
.dnw .sg {
  fill: none;
  stroke-width: 14;
}
.dnw .s0 {
  stroke: var(--gp);
}
.dnw .s1 {
  stroke: var(--go);
}
.dnw .s2 {
  stroke: var(--gr);
}
.wheel {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(#f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
}
.pop > button.np {
  padding-left: 36px;
}
:root[data-skin="color"] .card.fx {
  --panel: #14161d;
  --ink: #eef0f5;
  --mute: #9aa1b2;
  --line: #2b2f3b;
  --code: #0d0f14;
  color: #eef0f5;
}
.shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
}
.side {
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
}
.side .logo {
  padding: 0 6px;
}
.side .nm b {
  font-size: 30px;
}
.snav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.snav button,
.snav-out {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: 1px solid transparent;
  color: var(--mute);
  padding: 11px 12px;
  border-radius: 10px;
  font:
    600 15px "IBM Plex Sans",
    sans-serif;
  cursor: pointer;
  text-align: left;
}
.snav button:hover,
.snav-out:hover {
  color: var(--ink);
}
.snav button[aria-current="page"] {
  background: var(--brand);
  color: var(--bt);
  border-color: var(--bb);
}
.snav-out {
  margin-top: auto;
}
.main {
  min-width: 0;
  padding: 0 24px 48px;
}
.main .page {
  max-width: 1080px;
  margin: 0 auto;
}
.mt {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
}
@media (max-width: 820px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    gap: 12px;
  }
  .snav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .snav button {
    width: auto;
    padding: 9px 11px;
  }
  .snav-out {
    margin-top: 0;
    width: auto;
    align-self: flex-start;
  }
  .main {
    padding: 0 16px 40px;
  }
}
.tb {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 9px;
}
.ph {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.ph h1 {
  font-size: 26px;
}
.ph p {
  margin: 2px 0 0;
}
.bk {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.op {
  max-width: 680px;
  margin: 0 auto;
}
.op .card {
  border-radius: 16px;
  padding: 22px;
}
.bn {
  background: linear-gradient(135deg, var(--bn1), var(--bn2));
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.bn p {
  margin: 0 0 4px;
  font-size: 14px;
  color: #fff;
  opacity: 0.85;
}
.bn .big {
  font-size: 32px;
}
.op label {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 8px;
}
.op input,
.op select,
.op textarea {
  border-radius: 12px;
  padding: 14px;
}
.in-lg {
  font-size: 18px;
  font-weight: 500;
}
.fg {
  margin-bottom: 18px;
}
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--code);
  border: 1px solid var(--line);
  resize: vertical;
  min-height: 96px;
}
.pl {
  background: var(--code);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
  font:
    600 13px "IBM Plex Sans",
    sans-serif;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.row label {
  margin: 0;
}
.hr {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.bgl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px;
  font-size: 16px;
  border-radius: 12px;
}
.b[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.res {
  margin-top: 14px;
  text-align: center;
}
.res .code {
  text-align: left;
  margin: 10px 0 14px;
}
.qr {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  display: block;
  margin: 14px auto 0;
}
.gh span {
  flex: 1;
}
.sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 2px 0 4px 18px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.sub button {
  padding: 9px 10px !important;
  font-size: 14px !important;
}
.gh.on {
  color: var(--ink);
}
.main {
  position: relative;
}
.mt,
.main .page {
  position: relative;
  z-index: 1;
}
.mt {
  z-index: 2;
}
.rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.rain span {
  position: absolute;
  top: 0;
  font:
    700 24px "Bricolage Grotesque",
    sans-serif;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  transform-origin: left top;
  animation: fall linear infinite;
}
@keyframes fall {
  from {
    transform: translateY(-160px) rotate(90deg);
  }
  to {
    transform: translateY(110vh) rotate(90deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rain span {
    animation: none;
    transform: rotate(90deg);
    top: calc(var(--i) * 6%);
  }
}
@media (max-width: 820px) {
  .grp {
    width: 100%;
  }
  .sub {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }
}
.tf {
  max-width: 900px;
  margin: 0 auto;
}
.tf h1 {
  font-size: 26px;
}
.tf > p {
  margin: 2px 0 20px;
}
.tg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .tg {
    grid-template-columns: 1fr;
  }
}
.tf .card {
  border-radius: 16px;
  padding: 22px;
}
.tf h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.t3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  background: var(--code);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 8px;
}
.t3 small {
  display: block;
  color: var(--mute);
  font-size: 13px;
  margin-bottom: 4px;
}
.t3 b {
  font:
    700 17px "Bricolage Grotesque",
    sans-serif;
}
.inf {
  display: flex;
  align-items: center;
  gap: 14px;
}
.inf > div:nth-child(2) {
  flex: 1;
}
.inf b {
  font-size: 16px;
}
.inf p {
  margin: 2px 0 0;
}
.inf .big {
  font-size: 22px;
}
.tf .ft {
  text-align: center;
  color: var(--mute);
  font-size: 13px;
  margin-top: 18px;
}
.ic.r2 {
  color: #ff1f3d;
}
.ic.r2 svg {
  stroke-width: 2.7;
}
.hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hd p {
  margin: 2px 0 0;
}
.tf > .card > p.mut {
  margin: 2px 0 0;
}
.card.sm {
  background: var(--code);
  padding: 18px;
}
.card.sm h3 {
  margin-bottom: 8px;
}
.card.sm p {
  margin: 0;
  font-size: 14px;
}
.bb2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
@media (max-width: 600px) {
  .bb2 {
    grid-template-columns: 1fr;
  }
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mute);
  font-size: 15px;
}
.steps i {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  color: var(--ink);
}
.em {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 16px;
  color: var(--mute);
  text-align: center;
}
.em .ci {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--code);
  display: grid;
  place-items: center;
}
.kr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.mono {
  font:
    12px ui-monospace,
    Menlo,
    monospace;
}
.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-wrap: wrap;
}
.seg button {
  background: none;
  border: 0;
  color: var(--mute);
  padding: 8px 14px;
  border-radius: 9px;
  font:
    500 14px "IBM Plex Sans",
    sans-serif;
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: var(--brand);
  color: var(--bt);
  box-shadow: 0 0 0 1px var(--bb) inset;
}
.wt th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.wt td {
  vertical-align: middle;
}
.dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--okb);
  color: var(--ok);
  font-size: 13px;
}
.dot:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.ib2 {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--code);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  vertical-align: middle;
}
.srow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: stretch;
}
.srow .code {
  display: flex;
  align-items: center;
}
.srow .b {
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.b.rg {
  background: rgba(244, 63, 94, 0.14);
  color: #f43f5e;
  border-color: transparent;
}
.hd .b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.s2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.s2 p {
  margin: 0 0 2px;
  color: var(--mute);
  font-size: 14px;
}
.s2 .big {
  font-size: 24px;
}
.xl {
  padding: 6px 18px !important;
}
.xr {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 4px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font: inherit;
}
.xr:last-child {
  border-bottom: 0;
}
.xr:hover {
  background: var(--code);
}
.xi {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--code);
  display: grid;
  place-items: center;
}
.xm {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.xm small {
  color: var(--mute);
  font-size: 13px;
}
.xv {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.xv b {
  font:
    700 16px "Bricolage Grotesque",
    sans-serif;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.kv:last-child {
  border-bottom: 0;
}
.kv span {
  color: var(--mute);
}
.kv b {
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}
.hero .b.cta {
  background: #22c55e;
  color: #04210f;
  border-color: transparent;
  font-size: 22px;
  padding: 20px 44px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.hero .b.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.45);
}
.lk {
  background: none;
  border: 0;
  color: var(--mute);
  font:
    600 15px "IBM Plex Sans",
    sans-serif;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.lk:hover {
  color: var(--ink);
}
.ctr {
  text-align: center;
}
.c3 {
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
}
@media (max-width: 820px) {
  .c3 {
    grid-template-columns: minmax(0, 420px);
  }
}
.vtw {
  position: relative;
}
.vtw .pop {
  left: 0;
  right: auto;
  width: 300px;
}
.vtr {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.vtr span {
  color: var(--mute);
  font-size: 14px;
}
.vtr small {
  flex-basis: 100%;
  color: var(--mute);
  font-size: 12px;
}
.dp {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  text-align: left;
  color: var(--ink);
}
.dpbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.dpbar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.dpbar span {
  margin-left: 10px;
  font-size: 12px;
  color: var(--mute);
  background: var(--code);
  border-radius: 6px;
  padding: 3px 10px;
}
.dpb {
  padding: 14px;
}
.dph {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.dph b {
  font:
    700 16px "Bricolage Grotesque",
    sans-serif;
}
.dph span {
  font-size: 12px;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 10px;
  background: var(--panel);
}
.dp .card {
  padding: 12px;
  border-radius: 12px;
}
.dp .sal {
  margin-top: 0;
}
.dp .sal .big {
  font-size: 24px;
}
.dp .sal p {
  font-size: 12px;
}
.dp .acts .b {
  padding: 7px 12px;
  font-size: 13px;
  border-radius: 8px;
}
.dp .stats {
  gap: 8px;
  margin: 10px 0;
}
.dp .stats > .card {
  padding: 10px 12px;
}
.dp .stats p {
  font-size: 12px;
}
.dp .stats .big {
  font-size: 17px;
}
.dp .ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.dp h3 {
  font-size: 14px;
  margin: 0;
}
.dp .mut {
  font-size: 12px;
  margin: 2px 0 0;
}
.dp .lc {
  margin-top: 4px;
}
.pm {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.pm .dnw {
  margin: 0;
}
.pm .dnw svg {
  width: 104px;
  height: 104px;
}
.pm > div:last-child {
  flex: 1;
}
.dp .lg {
  font-size: 13px;
  padding: 2px 0;
}
.dp .mm {
  margin-top: 8px;
  padding-top: 8px;
}
.top {
  position: relative;
  z-index: 2;
}
.land .hero > .w,
.land > .w {
  position: relative;
  z-index: 1;
}
.rain2 {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.mx {
  position: absolute;
  top: 0;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  color: var(--ink);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 80%);
  mask-image: linear-gradient(to bottom, transparent, #000 80%);
  animation: mx linear infinite;
}
@keyframes mx {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100vh);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mx {
    animation: none;
    top: calc(var(--i) * 4%);
  }
}
.dp {
  zoom: 0.66;
  width: 560px;
  max-width: 100%;
  justify-self: center;
}
@media (max-width: 820px) {
  .dp {
    zoom: 1;
    width: 100%;
  }
}
.pwf {
  position: relative;
}
.pwf input {
  padding-right: 46px;
}
.eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: var(--mute);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 8px;
}
.eye:hover {
  color: var(--ink);
}
.rain3 {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.pl3 {
  position: absolute;
  top: 0;
  white-space: nowrap;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.25em 0.9em;
  animation: dg linear infinite;
}
@keyframes dg {
  from {
    transform: translate(-8vw, -12vh) rotate(-14deg);
  }
  to {
    transform: translate(18vw, 112vh) rotate(10deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pl3 {
    animation: none;
    top: calc(var(--i) * 6%);
    transform: rotate(-8deg);
  }
}
.authp .w {
  position: relative;
  z-index: 1;
}
.authp {
  min-height: 70vh;
}
.ldw {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.ldc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(320px, 80vw);
}
.ldc .nm b {
  font-size: 46px;
}
.ldc p {
  margin: 0;
}
.lbar {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--code);
  overflow: hidden;
  border: 1px solid var(--line);
}
.lbar i {
  display: block;
  height: 100%;
  width: 0;
  background: #22c55e;
  border-radius: 99px;
  animation: lb 1.4s ease-in-out forwards;
}
@keyframes lb {
  to {
    width: 100%;
  }
}
.fu .card,
.fu h1 {
  animation: fu 0.6s ease both;
}
.fu .stats > .card:nth-child(2) {
  animation-delay: 0.08s;
}
.fu .stats > .card:nth-child(3) {
  animation-delay: 0.16s;
}
.fu .stats > .card:nth-child(4) {
  animation-delay: 0.24s;
}
.fu .stats > .card:nth-child(5) {
  animation-delay: 0.32s;
}
.fu .r2c > .card {
  animation-delay: 0.42s;
}
@keyframes fu {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lc.an .ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: dr 1.4s 0.3s ease forwards;
}
.lc.an .pt {
  opacity: 0;
  animation: fi 0.4s 1.2s forwards;
}
@keyframes dr {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fi {
  to {
    opacity: 1;
  }
}
.sbot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sbot .snav-out {
  margin-top: 0;
}
.usr {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--code);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.usr:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.usr.on {
  border-color: var(--acc);
}
.usr .un {
  flex: 1;
  font:
    600 15px "IBM Plex Sans",
    sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.usr svg {
  color: var(--mute);
  flex: none;
}
.av {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bn1), var(--bn2));
  color: #fff;
  font:
    700 15px "Bricolage Grotesque",
    sans-serif;
}
.pf {
  max-width: 520px;
}
.phd {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.phd .av {
  width: 64px;
  height: 64px;
  font-size: 26px;
}
.phd h2 {
  font-size: 22px;
}
.phd p {
  margin: 2px 0 8px;
}
.ih {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.ih .ic {
  width: 40px;
  height: 40px;
}
.pb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--warnb);
  color: var(--warn);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 auto 16px;
  font-size: 14px;
  max-width: 760px;
}
.mo {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: grid;
  place-items: center;
  z-index: 50;
  padding: 16px;
}
.md {
  position: relative;
  overflow: hidden;
  width: min(440px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 28px 26px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.md > *:not(.rain) {
  position: relative;
  z-index: 1;
}
.md h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.md p {
  color: var(--ink);
  opacity: 0.8;
  margin: 0 0 22px;
  line-height: 1.5;
}
.mxc {
  position: absolute !important;
  top: 12px;
  right: 12px;
  background: rgba(244, 63, 94, 0.16);
  color: #ff3b5c;
  border: 0;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.b.cg {
  background: #22c55e;
  color: #04210f;
  border-color: transparent;
  width: 100%;
  padding: 15px;
  font-size: 17px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
}
.ok2 {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: rgba(34, 197, 94, 0.18);
  color: #22c55e;
  display: grid;
  place-items: center;
}
@media (max-width: 820px) {
  .sbot {
    margin-top: 0;
  }
}
.nw {
  max-width: 680px;
}
.nw .card {
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 14px;
}
.ndev {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.nbell {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--code);
  color: var(--mute);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.nbell.on {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.35);
}
.ndt {
  flex: 1;
  min-width: 200px;
}
.ndt b {
  font:
    700 17px "Bricolage Grotesque",
    sans-serif;
}
.ndt p {
  margin: 3px 0 0;
  font-size: 14px;
}
.ndt .ntp {
  font-size: 12px;
}
.nbt {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ng {
  margin-bottom: 6px;
}
.ng h4 {
  margin: 14px 0 4px;
  font:
    600 12px "IBM Plex Sans",
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.ng:first-child h4 {
  margin-top: 0;
}
.nr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ng .nr:last-child {
  border-bottom: 0;
}
.nr b {
  font-size: 15px;
}
.nr p {
  margin: 2px 0 0;
  font-size: 13px;
}
.tgl {
  flex: none;
  width: 46px;
  height: 26px;
  border-radius: 99px;
  border: 0;
  background: var(--line);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.tgl i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.tgl.on {
  background: #22c55e;
}
.tgl.on i {
  transform: translateX(20px);
}
.phone {
  position: relative;
  width: min(300px, 100%);
  margin: 18px auto 4px;
  border-radius: 44px;
  border: 8px solid #111;
  background: #000;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.phone:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 12px;
  background: #000;
  z-index: 2;
}
.lock {
  min-height: 560px;
  padding: 46px 12px 20px;
  background: radial-gradient(120% 80% at 18% 0%, #34345a 0%, #14142a 55%, #07070d 100%);
  color: #fff;
}
.lt {
  font:
    600 58px/1 "Bricolage Grotesque",
    sans-serif;
  text-align: center;
  margin-top: 10px;
}
.ld {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
  margin: 8px 0 20px;
  text-transform: capitalize;
}
.nc,
.toast {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 18px;
  padding: 11px 12px;
  color: #fff;
}
.nc {
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  margin-bottom: 8px;
  animation: nin 0.5s ease both;
}
@keyframes nin {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ni {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  overflow: hidden;
  display: block;
}
.ni img {
  width: 100%;
  height: 100%;
  display: block;
}
.nb {
  min-width: 0;
  flex: 1;
}
.nh {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nt1 {
  font-weight: 600;
  font-size: 14px;
  margin-top: 1px;
}
.nx {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.35;
}
.nvz {
  text-align: center;
  opacity: 0.7;
  font-size: 14px;
  margin-top: 40px;
}
#toasts {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(340px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  background: rgba(18, 18, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  animation:
    tin 0.35s ease both,
    tout 0.4s 4.7s ease forwards;
}
@keyframes tin {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tout {
  to {
    opacity: 0;
    transform: translateX(28px);
  }
}
.rt {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.thw {
  position: relative;
}
.pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 280px;
  max-width: calc(100vw - 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.pop > button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 10px;
  border-radius: 8px;
  font:
    15px "IBM Plex Sans",
    sans-serif;
  cursor: pointer;
}
.pop > button[aria-pressed="true"] {
  background: var(--code);
}
.sw {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-block;
  flex: none;
}
.pop form {
  padding: 4px 10px 10px;
}
.hxr {
  display: flex;
  gap: 8px;
  align-items: center;
}
.her {
  color: var(--bad);
  font-size: 13px;
  min-height: 18px;
  margin-top: 6px;
}
.her.okk {
  color: var(--ok);
}
.pop form .b {
  width: 100%;
  margin-top: 8px;
}
.tip {
  position: absolute;
  pointer-events: none;
  transform: translate(-50%, -135%);
  background: var(--ink);
  color: var(--panel);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.tip[hidden] {
  display: none;
}
.tip span {
  font-size: 11px;
  opacity: 0.75;
}
.dnw {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}
.dn {
  font:
    700 24px "Bricolage Grotesque",
    sans-serif;
  fill: var(--ink);
}
.dl {
  font-size: 11px;
  fill: var(--mute);
}
.lg {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 4px 0;
}
.lg i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.lg span {
  flex: 1;
  color: var(--mute);
}
.mm {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.mm small {
  display: block;
  color: var(--mute);
  font-size: 12px;
}
.mm b {
  font:
    700 16px "Bricolage Grotesque",
    sans-serif;
}
footer {
  padding: 24px 16px;
  text-align: center;
  color: var(--mute);
  font-size: 13px;
}

/* =====================================================================
   Suavização visual: cantos mais redondos, sombras leves, transições
   e foco gentil. Fica por último de propósito: refina o que está acima.
   ===================================================================== */
:root {
  --radius: 18px;
  --radius-s: 12px;
  --sombra: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 30px -12px rgba(0, 0, 0, 0.45);
  --sombra-h: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 36px -14px rgba(0, 0, 0, 0.55);
  --suave: 0.2s cubic-bezier(0.22, 0.8, 0.3, 1);
  --foco: 0 0 0 4px rgba(110, 231, 183, 0.18);
}
:root[data-skin="light"] {
  --sombra: 0 1px 2px rgba(28, 32, 48, 0.04), 0 10px 28px -14px rgba(28, 32, 48, 0.18);
  --sombra-h: 0 2px 4px rgba(28, 32, 48, 0.05), 0 16px 34px -14px rgba(28, 32, 48, 0.24);
  --foco: 0 0 0 4px rgba(15, 157, 106, 0.16);
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.55;
  transition: background-color 0.3s ease;
}
:root[data-skin="dark"] body {
  background:
    radial-gradient(900px 480px at 85% -8%, rgba(52, 211, 153, 0.07), transparent 65%),
    radial-gradient(700px 420px at -5% 105%, rgba(99, 102, 241, 0.06), transparent 60%), var(--bg);
  background-attachment: fixed;
}
::selection {
  background: rgba(110, 231, 183, 0.28);
}
h1,
h2,
h3 {
  letter-spacing: -0.015em;
  font-weight: 600;
}
.hero h1 {
  font-weight: 650;
  letter-spacing: -0.03em;
}

/* cartões */
.card {
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  border-color: color-mix(in srgb, var(--line) 80%, transparent);
  transition:
    box-shadow var(--suave),
    transform var(--suave),
    border-color var(--suave);
}
.stats > .card:hover,
.cols > .card:hover,
.g2 > .card:hover {
  box-shadow: var(--sombra-h);
  transform: translateY(-2px);
}

/* botões */
.b {
  border-radius: var(--radius-s);
  padding: 11px 18px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition:
    transform var(--suave),
    box-shadow var(--suave),
    background-color var(--suave),
    border-color var(--suave),
    filter var(--suave);
}
.b:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.5);
  filter: brightness(1.06);
}
.b:active {
  transform: translateY(0);
  box-shadow: none;
}
.b[disabled],
.b:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.b.ok,
.cta {
  background: linear-gradient(180deg, #4ade9f, #2fc78b);
  color: #06281c;
  border-color: transparent;
  box-shadow: 0 10px 24px -12px rgba(52, 211, 153, 0.7);
}
.b.g {
  border-color: var(--line);
}
.b.g:hover {
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}
.pl,
.lk {
  transition:
    opacity var(--suave),
    background-color var(--suave);
}

/* campos */
input,
select,
textarea {
  border-radius: var(--radius-s);
  border-color: color-mix(in srgb, var(--line) 85%, transparent);
  transition:
    border-color var(--suave),
    box-shadow var(--suave),
    background-color var(--suave);
}
input:hover,
select:hover,
textarea:hover {
  border-color: color-mix(in srgb, var(--ink) 22%, var(--line));
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: var(--foco);
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: var(--radius-s);
}
::placeholder {
  color: color-mix(in srgb, var(--mute) 70%, transparent);
}

/* menu lateral e topo */
.side {
  border-right-color: color-mix(in srgb, var(--line) 70%, transparent);
}
.snav button,
.snav-out,
.gh {
  border-radius: 14px;
  transition:
    background-color var(--suave),
    color var(--suave),
    transform var(--suave);
}
.snav button:hover,
.snav-out:hover,
.gh:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  color: var(--ink);
}
.snav button[aria-current="page"] {
  background: color-mix(in srgb, var(--acc) 13%, var(--panel));
  color: var(--ink);
  border-color: color-mix(in srgb, var(--acc) 30%, transparent);
}
.top {
  border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent);
  backdrop-filter: blur(10px);
}
.menu,
.pop {
  border-radius: 16px;
  box-shadow: var(--sombra-h);
  animation: aparecer 0.16s ease both;
}
.menu button,
.pop button {
  border-radius: 10px;
  transition: background-color var(--suave);
}

/* etiquetas, tabelas, avisos */
.st,
.dot {
  border-radius: 999px;
  padding: 3px 11px;
}
.st.ativa,
.st.aprovado {
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ok) 25%, transparent) inset;
}
tbody tr {
  transition: background-color var(--suave);
}
tbody tr:hover {
  background: color-mix(in srgb, var(--ink) 3.5%, transparent);
}
th {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.msg {
  border-radius: var(--radius-s);
  padding: 12px 14px;
  animation: aparecer 0.22s ease both;
}
.pb {
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}
.mo .md,
.md {
  border-radius: 22px;
  box-shadow: var(--sombra-h);
}
.toast {
  border-radius: 18px;
}
.pre,
.code {
  border-radius: var(--radius-s);
}
.xr,
.kr {
  border-radius: 14px;
  transition: background-color var(--suave);
}
.xr:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

/* entrada suave das telas */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.page > *,
.op > *,
.tf > *,
.auth {
  animation: aparecer 0.34s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}
.op > *:nth-child(2),
.tf > *:nth-child(2) {
  animation-delay: 0.04s;
}
.op > *:nth-child(3),
.tf > *:nth-child(3) {
  animation-delay: 0.08s;
}
.op > *:nth-child(n + 4),
.tf > *:nth-child(n + 4) {
  animation-delay: 0.12s;
}

/* barras de rolagem discretas */
* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--ink) 22%, transparent) transparent;
}

/* no modo servidor, some o aviso de demonstração */
.live footer {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .page > *,
  .op > *,
  .tf > *,
  .auth,
  .menu,
  .pop,
  .msg {
    animation: none;
  }
  .card,
  .b {
    transition: none;
  }
  .stats > .card:hover,
  .cols > .card:hover,
  .g2 > .card:hover,
  .b:hover {
    transform: none;
  }
}

/* =====================================================================
   Administração
   ===================================================================== */
.adm {
  max-width: 1080px;
}
.adm-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.adm-h h1 {
  font-size: 28px;
}
.adm-r {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.adm-abas,
.adm-f {
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.adm .card {
  margin-bottom: 16px;
}
.adm-g {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.adm-k {
  margin: 0 !important;
}
.adm-k p {
  margin: 0 0 4px;
  color: var(--mute);
  font-size: 13px;
}
.adm-k .big {
  font-size: 26px;
}
.adm-k small {
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}
.adm-k.bom .big {
  color: var(--ok);
}
.adm-k.ruim .big {
  color: var(--bad);
}
.adm-al-l {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.adm-al {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: var(--radius-s);
  font-size: 14px;
  background: var(--code);
  animation: aparecer 0.3s ease both;
}
.adm-al i {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  background: var(--mute);
}
.adm-al.alto {
  background: var(--badb);
  color: var(--bad);
}
.adm-al.alto i {
  background: var(--bad);
}
.adm-al.medio {
  background: var(--warnb);
  color: var(--warn);
}
.adm-al.medio i {
  background: var(--warn);
}
.adm-al.ok {
  background: var(--okb);
  color: var(--ok);
}
.adm-al.ok i {
  background: var(--ok);
}
.adm-t {
  padding: 8px 18px 14px;
}
.adm-t h3 {
  margin: 12px 0 4px;
}
.adm-t td small {
  font-size: 12px;
}
.adm-a {
  white-space: nowrap;
  text-align: right;
}
.adm-b {
  font:
    600 13px "IBM Plex Sans",
    sans-serif;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 13px;
  margin-left: 6px;
  cursor: pointer;
  transition:
    background-color var(--suave),
    transform var(--suave);
}
.adm-b:hover {
  background: color-mix(in srgb, var(--ink) 13%, transparent);
  transform: translateY(-1px);
}
.adm-b.ok {
  background: var(--okb);
  color: var(--ok);
}
.adm-b.mau {
  background: var(--badb);
  color: var(--bad);
}
.adm-sl h3 {
  margin-bottom: 8px;
}
.adm-s {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  font-size: 14px;
}
.adm-s:last-child {
  border-bottom: 0;
}
.adm-s span {
  flex: 1;
  color: var(--mute);
}
.adm-s i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent);
}
.adm-s i.mau {
  background: var(--bad);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 20%, transparent);
}
.adm-ed {
  padding: 8px 4px;
}
.adm-ed h4 {
  margin: 0 0 12px;
  font:
    600 16px "Bricolage Grotesque",
    sans-serif;
}
.adm-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.adm-ft {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}
.adm-ft label {
  font-size: 12px;
  margin: 0;
}
.adm-ac {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.adm-ac .b {
  width: auto;
  margin-top: 0;
}
@media (max-width: 700px) {
  .adm-ft {
    grid-template-columns: 1fr;
  }
  .adm-a {
    white-space: normal;
  }
}
.adm .adm-ac .b {
  width: auto;
  margin-top: 0;
  padding: 11px 22px;
}
.adm-abas,
.adm-f {
  display: flex;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.md form .b {
  margin-top: 18px;
}
@media (max-width: 700px) {
  /* tabelas do admin viram cartões empilhados no celular */
  .adm-t table,
  .adm-t tbody,
  .adm-t tr,
  .adm-t td {
    display: block;
    width: 100%;
  }
  .adm-t thead {
    display: none;
  }
  .adm-t tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .adm-t td {
    border: 0;
    padding: 4px 0;
  }
  .adm-t .adm-a {
    text-align: left;
    padding-top: 8px;
  }
  .adm-t .adm-b {
    margin: 0 6px 6px 0;
  }
  .adm-t td[colspan] {
    padding: 0;
  }
}
.adm-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.adm-ft input,
.adm-ft label {
  min-width: 0;
}
.adm-sub {
  margin: 24px 0 12px;
  font-size: 18px;
}

/* =====================================================================
   Celular: menu lateral em gaveta (☰ abre, toque fora ou ✕ fecha).
   No computador estes três elementos não aparecem.
   ===================================================================== */
.mbar,
.scrim,
.mclose {
  display: none;
}
@media (max-width: 820px) {
  .shell {
    display: block;
    min-height: 100vh;
  }
  /* barra fixa no topo */
  .mbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 40;
    height: calc(58px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 12px 0;
    background: color-mix(in srgb, var(--panel) 92%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    backdrop-filter: blur(12px);
  }
  .mbar .logo {
    padding: 0;
  }
  .mbar .nm b {
    font-size: 24px;
  }
  .mburger,
  .mavatar,
  .mclose {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
    background: none;
    border: 1px solid transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background-color var(--suave);
  }
  .mburger:hover,
  .mclose:hover {
    background: color-mix(in srgb, var(--ink) 8%, transparent);
  }
  .mavatar .av {
    width: 34px;
    height: 34px;
  }
  /* fundo escurecido atrás da gaveta */
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(5, 6, 10, 0.62);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .navopen .scrim {
    opacity: 1;
    pointer-events: auto;
  }
  /* o menu vira uma gaveta que desliza da esquerda */
  .side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 60;
    width: min(84vw, 320px);
    height: 100vh;
    height: 100dvh;
    align-self: auto;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0 22px 22px 0;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 14px calc(18px + env(safe-area-inset-bottom, 0px));
    gap: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-104%);
    transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
    box-shadow: none;
    visibility: hidden;
  }
  .navopen .side {
    transform: none;
    visibility: visible;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  }
  .side .mclose {
    display: grid;
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 10px;
  }
  .side > .logo {
    margin-top: 4px;
  }
  /* volta a lista em coluna, como no computador */
  .snav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .snav button {
    width: 100%;
    padding: 13px 12px; /* alvo de toque confortável */
  }
  .snav-out {
    width: 100%;
    align-self: stretch;
    padding: 13px 12px;
  }
  .sbot {
    margin-top: auto;
  }
  .main {
    padding: 0 16px calc(40px + env(safe-area-inset-bottom, 0px));
  }
  .mt {
    padding-top: 10px;
  }
  body.navlock {
    overflow: hidden;
    touch-action: none;
  }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  .side,
  .scrim {
    transition: none;
  }
}

/* Extratos: as opções de período abrem NO FLUXO da página, empurrando Quantidade/Total para baixo. */
.xmenu {
  display: grid;
  grid-template-rows: 1fr;
  margin: -4px 0 12px;
  animation: xabre 0.24s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.xmenu.fecha {
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.2s ease,
    opacity 0.2s ease;
}
.xin {
  overflow: hidden;
  min-height: 0;
  display: grid;
  gap: 2px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
}
.xmenu.fecha .xin {
  border-width: 0;
  padding-block: 0;
}
.xin button {
  text-align: left;
  background: none;
  border: 0;
  color: var(--ink);
  font:
    500 15px "IBM Plex Sans",
    sans-serif;
  padding: 11px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.xin button:hover,
.xin button[aria-selected="true"] {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}
@keyframes xabre {
  from {
    grid-template-rows: 0fr;
    opacity: 0;
  }
  to {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xmenu,
  .xmenu.fecha {
    animation: none;
    transition: none;
  }
}

/* Celular: o botão de tema mora na barra do topo (entre a logo e o avatar). */
@media (max-width: 820px) {
  .mbar .thw {
    position: static;
    margin-left: auto;
  }
  .mbar .tb {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 14px;
  }
  .mbar .tb svg {
    width: 22px;
    height: 22px;
  }
  .mbar .pop {
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    width: min(280px, calc(100vw - 24px));
  }
}

/* Redesenho da mesma tela: nada de reanimar a entrada (era a "piscada"). */
#app.redraw .page > *:not(.xmenu),
#app.redraw .op > *,
#app.redraw .tf > *,
#app.redraw .auth {
  animation: none;
}
