/* =============================================================================
   Alpha Dente — Super Admin
   Design system premium em glassmorphism, construído somente com CSS local.
   Mantém a camada de operação simples, rápida e sem dependências externas.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Identidade extraída do logotipo Alpha Dente. */
  --marca: #00675e;
  --marca-700: #00534c;
  --marca-800: #00443f;
  --marca-rgb: 0, 103, 94;
  --acento: #00b300;
  --acento-2: #35d719;
  --acento-rgb: 0, 179, 0;

  --tinta: #122321;
  --tinta-forte: #071815;
  --tinta-fraca: #5f716d;
  --tinta-tenue: #8a9b97;
  --fundo: #f7fbfa;
  --papel: #ffffff;
  --vidro: rgba(255, 255, 255, .72);
  --vidro-forte: rgba(255, 255, 255, .90);
  --vidro-suave: rgba(255, 255, 255, .58);
  --linha: rgba(var(--marca-rgb), .12);
  --linha-forte: rgba(var(--marca-rgb), .22);
  --linha-clara: rgba(255, 255, 255, .82);
  --neutro-tenue: rgba(var(--marca-rgb), .055);
  --marca-tenue: rgba(var(--marca-rgb), .085);
  --acento-tenue: rgba(var(--acento-rgb), .075);

  --ok: #12804d;
  --ok-tenue: rgba(18, 128, 77, .10);
  --atencao: #9a6700;
  --atencao-tenue: rgba(218, 151, 0, .11);
  --grave: #b4232b;
  --grave-tenue: rgba(180, 35, 43, .095);

  --raio-xs: 10px;
  --raio: 16px;
  --raio-lg: 22px;
  --raio-xl: 28px;
  --sombra-suave: 0 10px 30px rgba(0, 70, 64, .055);
  --sombra: 0 18px 56px rgba(0, 70, 64, .09), 0 4px 14px rgba(0, 70, 64, .04);
  --sombra-forte: 0 28px 90px rgba(0, 74, 66, .14), 0 8px 24px rgba(0, 74, 66, .06);

  --fonte: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #fff;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--tinta);
  font: 14px/1.55 var(--fonte);
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 12% 7%, rgba(var(--acento-rgb), .075), transparent 27rem),
    radial-gradient(circle at 82% 18%, rgba(var(--marca-rgb), .08), transparent 34rem),
    radial-gradient(circle at 52% 92%, rgba(var(--acento-rgb), .055), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f8fcfb 52%, #f6faf9 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(12px);
  opacity: .8;
}

body::before {
  width: 280px;
  height: 280px;
  left: -110px;
  top: 28%;
  background: radial-gradient(circle, rgba(var(--marca-rgb), .09), transparent 70%);
}

body::after {
  width: 360px;
  height: 360px;
  right: -155px;
  bottom: 6%;
  background: radial-gradient(circle, rgba(var(--acento-rgb), .08), transparent 68%);
}

button,
input,
select,
textarea { font: inherit; }

button { -webkit-tap-highlight-color: transparent; }

::selection {
  background: rgba(var(--acento-rgb), .20);
  color: var(--tinta-forte);
}

/* ------------------------------- estrutura ------------------------------- */

.casca {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 18px;
  min-height: 100vh;
  padding: 18px;
}

.lateral {
  position: sticky;
  top: 18px;
  align-self: start;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 36px);
  min-height: 620px;
  padding: 22px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--linha-clara);
  border-radius: var(--raio-xl);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.68)),
    linear-gradient(135deg, rgba(var(--marca-rgb), .025), rgba(var(--acento-rgb), .025));
  box-shadow: var(--sombra);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
}

.lateral::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -95px;
  top: -90px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--acento-rgb), .16), transparent 70%);
  pointer-events: none;
}

.marca {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  min-height: 112px;
  padding: 3px 4px 18px;
  border-bottom: 1px solid var(--linha);
}

.marca img {
  display: block;
  width: 100%;
  max-width: 214px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(var(--marca-rgb), .08));
}

.marca-badge,
.login-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 24px;
  padding: 4px 10px;
  border: 1px solid rgba(var(--marca-rgb), .13);
  border-radius: 999px;
  color: var(--marca);
  background: linear-gradient(135deg, rgba(var(--marca-rgb), .07), rgba(var(--acento-rgb), .075));
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .13em;
}

.menu-label {
  margin: 24px 10px 9px;
  color: var(--tinta-tenue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .11em;
}

.lateral nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lateral nav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--tinta-fraca);
  cursor: pointer;
  text-align: left;
  font-weight: 650;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.lateral nav button:hover {
  transform: translateX(2px);
  color: var(--marca-700);
  border-color: rgba(var(--marca-rgb), .09);
  background: rgba(255,255,255,.70);
}

.lateral nav button[aria-current="page"] {
  color: var(--marca-700);
  border-color: rgba(var(--marca-rgb), .13);
  background:
    linear-gradient(100deg, rgba(var(--marca-rgb), .11), rgba(var(--acento-rgb), .065) 78%, rgba(255,255,255,.70));
  box-shadow: 0 8px 24px rgba(var(--marca-rgb), .07), inset 0 1px 0 rgba(255,255,255,.9);
}

.nav-marcador {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 1px solid rgba(var(--marca-rgb), .28);
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  box-shadow: 0 0 0 4px rgba(var(--marca-rgb), .035);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.lateral nav button[aria-current="page"] .nav-marcador {
  transform: scale(1.08);
  border-color: rgba(var(--acento-rgb), .46);
  background: linear-gradient(135deg, var(--marca), var(--acento));
  box-shadow: 0 0 0 5px rgba(var(--acento-rgb), .08), 0 3px 10px rgba(var(--marca-rgb), .18);
}

.nav-texto { white-space: nowrap; }

.lateral-rodape {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--linha);
}

.status-sistema {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(var(--marca-rgb), .09);
  border-radius: 14px;
  background: rgba(255,255,255,.57);
}

.status-sistema > div {
  display: grid;
  min-width: 0;
}

.status-sistema strong {
  color: var(--tinta);
  font-size: 12px;
  font-weight: 750;
}

.status-sistema span:not(.status-ponto) {
  overflow: hidden;
  color: var(--tinta-tenue);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-ponto {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: var(--acento);
  box-shadow: 0 0 0 5px rgba(var(--acento-rgb), .09), 0 0 18px rgba(var(--acento-rgb), .20);
}

.workspace {
  min-width: 0;
}

.topo {
  position: sticky;
  z-index: 20;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 13px 17px 13px 21px;
  border: 1px solid var(--linha-clara);
  border-radius: var(--raio-lg);
  background: rgba(255,255,255,.75);
  box-shadow: var(--sombra-suave);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.topo-contexto {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.breadcrumb {
  color: var(--tinta-tenue);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.topo-contexto strong {
  overflow: hidden;
  color: var(--tinta-forte);
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -.018em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quem {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(var(--marca-rgb), .11);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--marca), #00856e 65%, #159700);
  box-shadow: 0 8px 18px rgba(var(--marca-rgb), .16), inset 0 1px 0 rgba(255,255,255,.24);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.perfil-texto {
  display: grid;
  min-width: 0;
  margin-right: 3px;
}

.perfil-texto strong {
  max-width: 190px;
  overflow: hidden;
  color: var(--tinta);
  font-size: 12.5px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perfil-texto span {
  color: var(--tinta-tenue);
  font-size: 10.5px;
  text-transform: capitalize;
}

.conteudo {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 30px 7px 70px;
}

h1 {
  margin: 0 0 6px;
  color: var(--tinta-forte);
  font-size: clamp(24px, 2.1vw, 31px);
  line-height: 1.18;
  font-weight: 790;
  letter-spacing: -.035em;
}

h2 {
  margin: 0 0 15px;
  color: var(--tinta-forte);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 770;
  letter-spacing: -.014em;
}

.sub {
  max-width: 760px;
  margin: 0 0 23px;
  color: var(--tinta-fraca);
  font-size: 13.5px;
}

.cartao,
.indicador {
  position: relative;
  border: 1px solid rgba(var(--marca-rgb), .11);
  background:
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.68)),
    radial-gradient(circle at 100% 0, rgba(var(--acento-rgb), .045), transparent 42%);
  box-shadow: var(--sombra-suave);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
}

.cartao {
  margin-bottom: 17px;
  padding: 20px;
  border-radius: var(--raio-lg);
}

.cartao::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 82px;
  height: 2px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, var(--marca), var(--acento));
  opacity: .78;
}

.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* --------------------------------- tabela -------------------------------- */

.rolagem {
  width: 100%;
  overflow-x: auto;
  border-radius: 15px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--marca-rgb), .18) transparent;
}

.rolagem::-webkit-scrollbar { height: 8px; }
.rolagem::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--marca-rgb), .17);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--tinta);
  font-size: 12.8px;
}

th {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(var(--marca-rgb), .15);
  color: #70817d;
  background: rgba(var(--marca-rgb), .035);
  text-align: left;
  font-size: 10.5px;
  font-weight: 790;
  letter-spacing: .065em;
  text-transform: uppercase;
  white-space: nowrap;
}

th:first-child { border-radius: 11px 0 0 0; }
th:last-child { border-radius: 0 11px 0 0; }

td {
  padding: 12px;
  border-bottom: 1px solid rgba(var(--marca-rgb), .075);
  vertical-align: middle;
  transition: background .16s ease;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover td {
  background: linear-gradient(90deg, rgba(var(--marca-rgb), .045), rgba(var(--acento-rgb), .03));
}

tbody tr[data-clicavel] { cursor: pointer; }

tbody tr[data-clicavel]:hover td:first-child {
  box-shadow: inset 2px 0 0 rgba(var(--acento-rgb), .55);
}

.num {
  text-align: right;
  font-family: var(--mono);
  font-size: 12.3px;
  font-variant-numeric: tabular-nums;
}

.vazio {
  margin: 0;
  padding: 40px 14px;
  color: var(--tinta-tenue);
  text-align: center;
}

/* -------------------------------- selos ---------------------------------- */

.selo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(var(--marca-rgb), .09);
  border-radius: 999px;
  color: var(--tinta-fraca);
  background: rgba(var(--marca-rgb), .05);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.selo::before {
  content: "●";
  font-size: 7px;
}

.selo.ok {
  border-color: rgba(18, 128, 77, .15);
  color: var(--ok);
  background: var(--ok-tenue);
}

.selo.atencao {
  border-color: rgba(154, 103, 0, .16);
  color: var(--atencao);
  background: var(--atencao-tenue);
}

.selo.atencao::before { content: "▲"; }

.selo.grave {
  border-color: rgb(13 229 10);;
  color: #03a803;
  background: rgb(227 246 227);
}

.selo.grave::before { content: "■"; }

/* ------------------------------- formulário ------------------------------ */

label {
  display: block;
  margin-bottom: 6px;
  color: #536863;
  font-size: 11.5px;
  font-weight: 760;
  letter-spacing: .01em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--marca-rgb), .17);
  border-radius: 13px;
  outline: none;
  color: var(--tinta);
  background: rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 4px 10px rgba(var(--marca-rgb), .02);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

input::placeholder,
textarea::placeholder { color: #a2afac; }

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(var(--marca-rgb), .26);
  background: rgba(255,255,255,.90);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(var(--marca-rgb), .52);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--marca-rgb), .075), 0 8px 22px rgba(var(--marca-rgb), .055);
}

button:focus-visible {
  outline: 3px solid rgba(var(--acento-rgb), .20);
  outline-offset: 2px;
}

.campo { margin-bottom: 15px; }

.dica {
  margin: 6px 0 0;
  color: var(--tinta-tenue);
  font-size: 11.5px;
  font-weight: 450;
}

button.acao {
  min-height: 41px;
  padding: 9px 16px;
  border: 1px solid rgba(var(--marca-rgb), .52);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--marca) 0%, #007c67 70%, #198d31 135%);
  box-shadow: 0 10px 22px rgba(var(--marca-rgb), .16), inset 0 1px 0 rgba(255,255,255,.16);
  cursor: pointer;
  font-weight: 760;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease, border-color .16s ease;
}

button.acao:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 14px 28px rgba(var(--marca-rgb), .20), inset 0 1px 0 rgba(255,255,255,.18);
}

button.acao:active { transform: translateY(0); }

button.acao[disabled] {
  transform: none;
  opacity: .58;
  cursor: progress;
  box-shadow: none;
}

button.acao.discreta {
  border-color: rgba(var(--marca-rgb), .13);
  color: #50645f;
  background: rgba(255,255,255,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 14px rgba(var(--marca-rgb), .035);
}

button.acao.discreta:hover {
  color: var(--marca-700);
  border-color: rgba(var(--marca-rgb), .25);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 20px rgba(var(--marca-rgb), .07);
}

button.acao.perigo {
  border-color: rgba(33 207 19);
  background: linear-gradient(135deg, #038705, #03b503);
  box-shadow: 0 9px 20px rgba(180, 35, 43, .15);
}

button.acao.perigo:hover {
  box-shadow: 0 12px 24px rgba(180, 35, 43, .20);
}

/* --------------------------------- avisos -------------------------------- */

.aviso {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 14px;
  font-size: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.aviso.erro {
  border-color: rgba(180, 35, 43, .20);
  color: #9d1c24;
  background: rgba(255, 242, 243, .76);
}

.aviso.ok {
  border-color: rgba(18, 128, 77, .20);
  color: #0b7040;
  background: rgba(239, 251, 245, .79);
}

.aviso.atencao {
  border-color: rgba(154, 103, 0, .20);
  color: #855900;
  background: rgba(255, 249, 231, .82);
}

.aviso strong {
  display: block;
  margin-bottom: 2px;
  color: currentColor;
  font-weight: 780;
}

/* --------------------------------- login --------------------------------- */

.entrada {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 34px;
  overflow: hidden;
}

.entrada::before,
.entrada::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(3px);
}

.entrada::before {
  width: 430px;
  height: 430px;
  left: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(var(--marca-rgb), .12), rgba(var(--acento-rgb), .035) 55%, transparent 70%);
}

.entrada::after {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(var(--acento-rgb), .095), rgba(var(--marca-rgb), .025) 56%, transparent 72%);
}

.entrada-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  width: min(1120px, 100%);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.91);
  border-radius: 34px;
  background: rgba(255,255,255,.63);
  box-shadow: var(--sombra-forte);
  backdrop-filter: blur(32px) saturate(165%);
  -webkit-backdrop-filter: blur(32px) saturate(165%);
}

.entrada-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(var(--marca-rgb), .035), inset 0 1px 0 rgba(255,255,255,.96);
}

.entrada-apresentacao {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 56px 56px 48px;
  overflow: hidden;
  border-right: 1px solid rgba(var(--marca-rgb), .09);
  background:
    radial-gradient(circle at 14% 85%, rgba(var(--acento-rgb), .09), transparent 38%),
    linear-gradient(145deg, rgba(var(--marca-rgb), .06), rgba(255,255,255,.30) 46%, rgba(var(--acento-rgb), .035));
}

.entrada-apresentacao::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: 120px;
  border-radius: 999px;
  border: 1px solid rgba(var(--marca-rgb), .08);
  box-shadow: 0 0 0 34px rgba(var(--marca-rgb), .022), 0 0 0 72px rgba(var(--acento-rgb), .017);
}

.entrada-apresentacao > img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(360px, 78%);
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(var(--marca-rgb), .09));
}

.entrada-copy {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-top: auto;
  padding-top: 80px;
}

.entrada-copy h2 {
  max-width: 520px;
  margin: 16px 0 16px;
  color: var(--tinta-forte);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.045em;
}

.entrada-copy p {
  max-width: 500px;
  margin: 0;
  color: #5b6f6a;
  font-size: 14px;
  line-height: 1.68;
}

.entrada-recursos {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.entrada-recursos span {
  padding: 7px 10px;
  border: 1px solid rgba(var(--marca-rgb), .10);
  border-radius: 999px;
  color: #4f6762;
  background: rgba(255,255,255,.48);
  font-size: 10.5px;
  font-weight: 680;
}

.entrada form {
  position: relative;
  align-self: center;
  width: calc(100% - 84px);
  max-width: 430px;
  margin: 42px;
  padding: 34px;
  border: 1px solid rgba(var(--marca-rgb), .10);
  border-radius: 24px;
  background: rgba(255,255,255,.73);
  box-shadow: 0 18px 48px rgba(var(--marca-rgb), .07), inset 0 1px 0 rgba(255,255,255,.98);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.login-cabecalho {
  margin-bottom: 24px;
}

.login-cabecalho h1 {
  margin: 14px 0 6px;
  font-size: 28px;
}

.login-cabecalho .sub {
  margin: 0;
  font-size: 12.5px;
}

.entrada form button.acao {
  width: 100%;
  min-height: 46px;
  margin-top: 3px;
}

.login-seguranca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--tinta-tenue);
  font-size: 10.5px;
  text-align: center;
}

.login-seguranca .status-ponto {
  width: 7px;
  height: 7px;
  flex-basis: 7px;
  box-shadow: 0 0 0 4px rgba(var(--acento-rgb), .07);
}

.codigo {
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: .3em;
  text-align: center;
}

/* -------------------------------- números -------------------------------- */

.indicadores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 13px;
}

.indicador {
  min-height: 116px;
  padding: 17px 18px;
  overflow: hidden;
  border-radius: 18px;
}

.indicador::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  right: -26px;
  top: -28px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--acento-rgb), .11), transparent 70%);
}

.indicador .rotulo {
  position: relative;
  z-index: 1;
  color: #758680;
  font-size: 10px;
  font-weight: 790;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.indicador .valor {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: var(--marca-800);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.038em;
}

/* ------------------------------ ficha/detalhe ---------------------------- */

.par {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(var(--marca-rgb), .075);
  font-size: 12.5px;
}

.par:last-child { border-bottom: 0; }
.par dt { color: var(--tinta-fraca); }
.par dd {
  margin: 0;
  color: var(--tinta);
  text-align: right;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
}

dl { margin: 0; }

.voltar {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid rgba(var(--marca-rgb), .09);
  border-radius: 10px;
  color: var(--marca);
  background: rgba(255,255,255,.48);
  cursor: pointer;
  font-weight: 680;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.voltar:hover {
  transform: translateX(-2px);
  border-color: rgba(var(--marca-rgb), .18);
  background: rgba(255,255,255,.88);
}

.linha-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.carregando {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--tinta-tenue);
  text-align: center;
}

.carregando::before {
  content: "";
  width: 30px;
  height: 30px;
  margin-right: 11px;
  border: 3px solid rgba(var(--marca-rgb), .10);
  border-top-color: var(--marca);
  border-radius: 999px;
  animation: giro .75s linear infinite;
}

@keyframes giro { to { transform: rotate(360deg); } }

/* ============================ classes utilitárias ========================= */

.estreito     { max-width: 200px; }
.busca        { max-width: 340px; }
.form-largo   { max-width: 590px; }
.compacto     { min-height: 34px; padding: 6px 10px; }
.mini         { min-height: 31px; padding: 5px 10px; }
.espaco       { height: 16px; }
.sem-recheio  { padding: 0; }
.rente        { margin-bottom: 8px; }
.acima        { margin-top: 12px; }
.topo-espaco  { margin-top: 16px; }
.a-direita    { margin-left: 8px; }
.alerta-num   { color: var(--grave); font-weight: 800; }

.barra {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.barra .campo.cresce {
  flex: 1;
  min-width: 220px;
  margin: 0;
}

/* --------------------------- suporte e responsivo ------------------------- */

@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .lateral,
  .topo,
  .cartao,
  .indicador,
  .entrada-shell,
  .entrada form { background: #fff; }
}

@media (max-width: 1050px) {
  .casca { grid-template-columns: 226px minmax(0, 1fr); }
  .lateral { padding-inline: 14px; }
  .marca img { max-width: 180px; }
  .perfil-texto { display: none; }
  .entrada-apresentacao { padding-inline: 42px; }
}

@media (max-width: 860px) {
  .casca {
    display: block;
    padding: 12px;
  }

  .lateral {
    position: sticky;
    z-index: 30;
    top: 12px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    height: auto;
    min-height: 0;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .lateral::before,
  .menu-label,
  .lateral-rodape,
  .marca-badge { display: none; }

  .marca {
    min-height: 0;
    padding: 0 12px 0 0;
    border: 0;
  }

  .marca img {
    width: 132px;
    max-width: 132px;
  }

  .lateral nav {
    flex-direction: row;
    justify-content: flex-end;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .lateral nav button {
    width: auto;
    min-width: max-content;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 11.5px;
  }

  .nav-marcador { width: 6px; height: 6px; flex-basis: 6px; }

  .topo {
    top: 77px;
    min-height: 68px;
    border-radius: 18px;
  }

  .conteudo { padding: 24px 4px 60px; }

  .entrada { padding: 20px; }
  .entrada-shell {
    grid-template-columns: 1fr;
    width: min(720px, 100%);
    min-height: 0;
  }

  .entrada-apresentacao {
    min-height: 320px;
    padding: 36px 40px 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(var(--marca-rgb), .09);
  }

  .entrada-apresentacao > img { width: min(280px, 62%); }
  .entrada-copy { padding-top: 48px; }
  .entrada-copy h2 { max-width: 560px; font-size: 31px; }
  .entrada form {
    width: calc(100% - 64px);
    max-width: none;
    margin: 32px;
  }
}

@media (max-width: 640px) {
  .casca { padding: 8px; }

  .lateral {
    top: 8px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px;
    border-radius: 18px;
  }

  .marca { display: none; }

  .lateral nav {
    justify-content: flex-start;
    gap: 5px;
  }

  .lateral nav button {
    min-height: 36px;
    padding: 0 9px;
    font-size: 11px;
  }

  .topo {
    top: 61px;
    gap: 10px;
    min-height: 64px;
    padding: 10px 11px 10px 14px;
  }

  .breadcrumb { display: none; }
  .topo-contexto strong { font-size: 14px; }
  .avatar { width: 35px; height: 35px; flex-basis: 35px; border-radius: 11px; }
  button.acao.sair { min-height: 35px; padding: 7px 10px; font-size: 11px; }

  .conteudo { padding: 22px 2px 52px; }
  h1 { font-size: 25px; }
  .sub { margin-bottom: 18px; }

  .cartao { padding: 16px; border-radius: 18px; }
  .grade { grid-template-columns: 1fr; gap: 12px; }
  .indicadores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .indicador { min-height: 100px; padding: 14px; }
  .indicador .valor { font-size: 23px; }

  .par {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .par dd { text-align: left; }

  .linha-acoes > .acao { flex: 1 1 calc(50% - 8px); }

  .entrada { padding: 10px; }
  .entrada-shell { border-radius: 24px; }
  .entrada-apresentacao { min-height: 270px; padding: 28px 24px; }
  .entrada-apresentacao > img { width: 220px; max-width: 78%; }
  .entrada-copy { padding-top: 36px; }
  .entrada-copy h2 { margin-block: 12px; font-size: 27px; }
  .entrada-copy p { font-size: 12.5px; }
  .entrada-recursos { margin-top: 24px; }
  .entrada form {
    width: calc(100% - 28px);
    margin: 14px;
    padding: 24px 20px;
    border-radius: 20px;
  }
  .login-cabecalho h1 { font-size: 25px; }

  table { min-width: 650px; }
}

@media (max-width: 420px) {
  .indicadores { grid-template-columns: 1fr; }
  .lateral nav button { font-size: 10.5px; }
  .nav-marcador { display: none; }
  .quem { gap: 7px; }
  .avatar { display: none; }
  .entrada-recursos { display: none; }
  .entrada-apresentacao { min-height: 236px; }
  .entrada-copy h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
