/* ============================================================
   Central de Acessos Omara
   Base visual: Hub Omara, Meta do Caixa e DESIGN-SYSTEM.md
   ============================================================ */

[hidden] { display: none !important; }

:root {
  --bg: #fff9f5;
  --card: #ffffff;
  --card2: #faf6f3;
  --line: #eadfd9;
  --ink: #302d2e;
  --ink2: #6f6567;
  --muted: #918689;

  --pink: #e94669;
  --pinkd: #c92c51;
  --pinkbg: #fff1f4;

  --teal: #00a7ab;
  --tealbg: #e8f8f8;
  --tealink: #007f82;

  --orange: #f3992e;
  --orangebg: #fff4e2;
  --orangelink: #9a5b0c;

  --ok: #177153;
  --okbg: #edf9f1;
  --bad: #b72d4c;
  --badbg: #fdeef1;

  --sh: 0 8px 30px rgba(68, 42, 48, .06);
  --sh-hover: 0 24px 48px -24px rgba(233, 70, 105, .38);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --g1: rgba(233, 70, 105, .12);
  --g2: rgba(0, 167, 171, .11);
  --g3: rgba(243, 153, 46, .08);
  --sun: .08;

  --s-bg: rgba(255, 255, 255, .82);
  --s-hbg: rgba(48, 45, 46, .05);
  --s-abg: rgba(233, 70, 105, .1);
  --s-aink: #c92c51;
  --s-grp: #918689;
  --s-ink: #6f6567;
  --s-inkh: #302d2e;
  --s-card: rgba(48, 45, 46, .03);
}

:root[data-theme=dark] {
  --bg: #171415;
  --card: #262123;
  --card2: #2e282a;
  --line: #3a3234;
  --ink: #f6efec;
  --ink2: #c9bec1;
  --muted: #8b7f82;

  --pinkbg: #3a2229;
  --tealbg: #1d3a3b;
  --tealink: #5fd4d6;
  --orangebg: #3b2d17;
  --orangelink: #f8b863;

  --ok: #6fd3a6;
  --okbg: #1f3a2e;
  --bad: #ff8ba3;
  --badbg: #3a2229;

  --sh: 0 10px 34px rgba(0, 0, 0, .35);
  --sh-hover: 0 26px 52px -24px rgba(0, 0, 0, .8);
  --g1: rgba(233, 70, 105, .2);
  --g2: rgba(0, 167, 171, .16);
  --g3: rgba(243, 153, 46, .1);
  --sun: .06;

  --s-bg: rgba(30, 26, 27, .84);
  --s-hbg: rgba(255, 255, 255, .06);
  --s-abg: rgba(233, 70, 105, .18);
  --s-aink: #ff8ba3;
  --s-grp: #8b7f82;
  --s-ink: #cfc4c7;
  --s-inkh: #ffffff;
  --s-card: rgba(255, 255, 255, .04);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  font-family: Montserrat, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  transition: background .35s, color .35s;
}
h1, h2, h3 { font-family: Mitr, Montserrat, sans-serif; font-weight: 500; margin: 0; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; }

/* ícones */
.ico { width: 1em; height: 1em; display: block; }
[data-icon] { display: inline-flex; width: 1em; height: 1em; flex: none; }
[data-icon] svg { width: 100%; height: 100%; display: block; }

.bgfx {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(560px circle at 4% -8%, var(--g1), transparent 62%),
    radial-gradient(520px circle at 102% 5%, var(--g2), transparent 62%),
    radial-gradient(500px circle at 46% 108%, var(--g3), transparent 62%);
}
.bgfx img {
  position: absolute; width: 440px; height: 440px; right: -130px; top: -110px;
  opacity: var(--sun); animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ============================ menu lateral ============================ */
.side {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 40;
  width: 258px; display: flex; flex-direction: column;
  padding: 22px 14px 14px;
  background: var(--s-bg);
  border-right: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  overflow-y: auto;
}
.side .logo { display: block; padding: 2px 10px 22px; }
.side .logo img { width: 142px; height: auto; display: block; }
.side nav { flex: 1; }
.grp {
  padding: 16px 12px 8px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--s-grp);
}
.side nav a {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin: 2px 0; padding: 11px 12px; border-radius: 14px;
  color: var(--s-ink); font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: background .2s, color .2s;
}
.side nav a [data-icon] { width: 20px; height: 20px; }
.side nav a:hover { background: var(--s-hbg); color: var(--s-inkh); }
.side nav a[aria-current=page] { background: var(--s-abg); color: var(--s-aink); }
.side nav a[aria-current=page]::before {
  content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px;
  border-radius: 0 4px 4px 0; background: linear-gradient(#e94669, #f0617f);
}
.nav-count {
  margin-left: auto; min-width: 24px; padding: 1px 7px; border-radius: 99px;
  background: var(--s-card); color: var(--s-ink); font-size: 11px; font-weight: 800; text-align: center;
}
.side nav a[aria-current=page] .nav-count { background: rgba(233, 70, 105, .14); color: var(--s-aink); }
.demo-tag {
  display: flex; align-items: center; gap: 8px; margin: 10px 8px 0;
  padding: 8px 10px; border: 1px dashed var(--line); border-radius: 12px;
  color: var(--s-grp); font-size: 11.5px; font-weight: 700;
  background: transparent; font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.demo-tag:hover { border-color: var(--pink); color: var(--s-inkh); }
.demo-tag [data-icon] { width: 15px; height: 15px; color: var(--tealink); }
.user {
  display: flex; align-items: center; gap: 7px; margin-top: 12px;
  padding: 8px 9px; border: 1px solid var(--line); border-radius: 16px; background: var(--s-card);
}
.user-act .ibtn { width: 26px; height: 26px; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #f0617f, #e94669); color: #fff;
  font: 600 14px Mitr, sans-serif; text-transform: uppercase;
}
.avatar.t-turq { background: linear-gradient(135deg, #2cc9cc, #00a7ab); }
.avatar.t-laranja { background: linear-gradient(135deg, #f8b863, #f3992e); }
.avatar.t-grafite { background: linear-gradient(135deg, #6a6264, #3b3738); }
.who { min-width: 0; flex: 1 1 0; }
.who b, .who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who b { font-size: 12px; color: var(--s-inkh); }
.who small { font-size: 11px; color: var(--s-grp); }
.user-act { display: flex; gap: 4px; }
.ibtn {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px;
  border: 1px solid var(--line); border-radius: 10px; background: transparent;
  color: var(--s-ink); cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.ibtn:hover { background: var(--s-hbg); color: var(--s-inkh); }
.ibtn [data-icon] { width: 16px; height: 16px; }
.ibtn svg.ico { width: 16px; height: 16px; }
.btn svg.ico { width: 17px; height: 17px; }
.att-row > svg.ico { width: 16px; height: 16px; color: var(--muted); flex: none; }
.c-act svg.ico { width: 16px; height: 16px; color: var(--muted); }
.c-status { white-space: nowrap; }
.tl-dot svg.ico { width: 15px; height: 15px; }
.dw-app a svg.ico { width: 12px; height: 12px; }
.dw-warning svg.ico { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--tealink); }
.app-foot .link svg.ico { width: 12px; height: 12px; }
.ibtn:focus-visible, .btn:focus-visible, .chip:focus-visible, .row:focus-visible,
.side nav a:focus-visible, .mnav a:focus-visible {
  outline: 3px solid rgba(0, 167, 171, .45); outline-offset: 2px;
}

/* logo por tema */
img.l-dark { display: none !important; }
:root[data-theme=dark] img.l-light { display: none !important; }
:root[data-theme=dark] img.l-dark { display: block !important; }

.mtop, .mnav { display: none; }
.main { padding-left: 258px; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 40px 36px 56px; }

/* vistas */
.view { display: none; }
.view.on { display: block; animation: viewIn .35s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

/* ============================ cabeçalho ============================ */
.head {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end;
  justify-content: space-between; margin-bottom: 24px;
}
.head small { display: block; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.head h1 { margin: 8px 0 6px; font-size: 38px; letter-spacing: -.04em; }
.head h1::after { content: "."; color: var(--pink); }
.head p { margin: 0; color: var(--ink2); font-size: 14.5px; }
.head-act { display: flex; gap: 10px; align-items: center; }

/* ============================ botões ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border: 0; border-radius: 13px;
  background: linear-gradient(135deg, #f0617f, #e94669);
  box-shadow: 0 10px 22px -10px rgba(233, 70, 105, .65);
  color: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer;
  text-decoration: none; transition: transform .2s, filter .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn [data-icon] { width: 17px; height: 17px; }
.btn.sec { background: var(--tealbg); color: var(--tealink); box-shadow: none; }
.btn.sec:hover { filter: brightness(.97); }
.btn.dng { background: var(--badbg); color: var(--bad); box-shadow: none; }
.btn.sm { height: 36px; padding: 0 14px; border-radius: 11px; font-size: 12.5px; }
.btn.block { width: 100%; }

/* ============================ cartões base ============================ */
.card, .stat, .app-card, .team-card {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s;
}
.card::before, .stat::before, .app-card::before, .team-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(233, 70, 105, .11), transparent 62%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before, .stat:hover::before, .app-card:hover::before, .team-card:hover::before { opacity: 1; }
.card { border-radius: 22px; margin-bottom: 18px; }
.card.pad { padding: 24px; }
.card:hover { box-shadow: var(--sh-hover); }
.card h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.card h3 { font-size: 18px; }
.card .sub { margin: 6px 0 18px; color: var(--ink2); font-size: 13px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ghost-link {
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
  color: var(--tealink); font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.ghost-link [data-icon] { width: 13px; height: 13px; }
.ghost-link:hover { color: var(--pink); }

.tile {
  --tc: #00a7ab; --tc2: #2cc9cc;
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 13px; color: #fff;
  background: linear-gradient(145deg, var(--tc2), var(--tc));
  box-shadow: 0 10px 20px -8px var(--tc), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .35s var(--ease);
}
.tile [data-icon], .tile svg { width: 20px; height: 20px; }
.tile.lg { width: 52px; height: 52px; border-radius: 16px; }
.tile.lg [data-icon], .tile.lg svg { width: 26px; height: 26px; }
.tile.sm { width: 34px; height: 34px; border-radius: 11px; }
.tile.sm [data-icon], .tile.sm svg { width: 17px; height: 17px; }
.t-rosa { --tc: #e94669; --tc2: #f5738f; }
.t-turq { --tc: #00a7ab; --tc2: #2cc9cc; }
.t-laranja { --tc: #f3992e; --tc2: #f8b863; }
.t-grafite { --tc: #3b3738; --tc2: #6a6264; }
:root[data-theme=dark] .t-grafite { --tc: #4a4344; --tc2: #7b7274; }
.card:hover .tile, .stat:hover .tile, .app-card:hover .tile { transform: scale(1.08) rotate(-6deg); }

/* ============================ aviso ============================ */
.notice {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
  padding: 14px 16px; border: 1px solid rgba(243, 153, 46, .32); border-radius: 18px;
  background: linear-gradient(100deg, var(--orangebg), transparent 75%);
}
.notice-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: rgba(243, 153, 46, .16); color: var(--orangelink); }
.notice-ico [data-icon] { width: 20px; height: 20px; }
.notice > div { flex: 1; min-width: 0; }
.notice b { display: block; font-size: 14px; }
.notice p { margin: 2px 0 0; color: var(--ink2); font-size: 12.5px; }

/* ============================ estatísticas ============================ */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { padding: 20px 22px; border-radius: 20px; min-height: 118px; display: flex; flex-direction: column; }
.stat::after {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px;
  border-radius: 0 4px 4px 0; background: linear-gradient(#e94669, #00a7ab);
}
.stat:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: var(--sh-hover); }
.stat .tile { position: absolute; top: 16px; right: 16px; }
.stat > span:not(.tile) { display: block; color: var(--ink2); font-size: 12px; font-weight: 600; padding-right: 48px; }
.stat strong { display: block; margin-top: auto; padding-top: 10px; font: 500 30px Mitr, sans-serif; letter-spacing: -.5px; }
.stat em { display: block; margin-top: 2px; font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* ============================ duas colunas ============================ */
.two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; }
.two > * { min-width: 0; }
.two .card { margin-bottom: 18px; }

/* ============================ lista de atenção ============================ */
.att-list { display: flex; flex-direction: column; }
.att-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 8px; margin: 0 -8px; border: 0; border-top: 1px solid var(--line);
  background: transparent; text-align: left; cursor: pointer; border-radius: 12px;
  transition: background .2s;
}
.att-row:first-child { border-top: 0; }
.att-row:hover { background: var(--card2); }
.att-main { flex: 1; min-width: 0; }
.att-main b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-main small { display: block; color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-row > [data-icon] { color: var(--muted); width: 16px; height: 16px; flex: none; }
.empty-mini { padding: 26px 8px; text-align: center; color: var(--ink2); font-size: 13px; }
.empty-mini b { display: block; color: var(--ink); font-family: Mitr, sans-serif; font-size: 17px; }

/* ============================ badges ============================ */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  border-radius: 99px; font-size: 11px; font-weight: 800; white-space: nowrap;
  background: var(--card2); color: var(--ink2);
}
.badge.ok { background: var(--okbg); color: var(--ok); }
.badge.warn { background: var(--orangebg); color: var(--orangelink); }
.badge.bad { background: var(--badbg); color: var(--bad); }
.badge.info { background: var(--tealbg); color: var(--tealink); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============================ linha do tempo ============================ */
.tl { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 11px; padding: 9px 0; }
.tl-item + .tl-item { border-top: 1px solid var(--line); }
.tl-dot {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px;
  border-radius: 10px; background: var(--tealbg); color: var(--tealink);
}
.tl-dot [data-icon] { width: 15px; height: 15px; }
.tl-dot.k-password { background: var(--pinkbg); color: var(--pink); }
.tl-dot.k-2fa { background: var(--okbg); color: var(--ok); }
.tl-dot.k-review { background: var(--tealbg); color: var(--tealink); }
.tl-dot.k-request { background: var(--orangebg); color: var(--orangelink); }
.tl-dot.k-login { background: var(--card2); color: var(--ink2); }
.tl-main { flex: 1; min-width: 0; }
.tl-main p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink2); line-height: 1.5; }
.tl-main p b { color: var(--ink); font-weight: 700; }
.tl-main small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.tl-day { margin: 16px 0 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tl-day:first-child { margin-top: 2px; }
.tl.full .tl-item { padding: 12px 0; }
.tl.full .tl-main p { font-size: 13.5px; }

/* ============================ mini apps ============================ */
.app-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.app-mini > * { min-width: 0; }
.app-mini-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 15px; background: var(--card2);
  text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s, background .2s;
}
.app-mini-row:hover { border-color: var(--pink); transform: translateY(-2px); background: var(--card); }
.app-mini-row .tile { width: 34px; height: 34px; border-radius: 11px; }
.app-mini-row .tile [data-icon], .app-mini-row .tile svg { width: 17px; height: 17px; }
.app-mini-info { flex: 1; min-width: 0; }
.app-mini-info b { display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-mini-info small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.app-mini-go { color: var(--muted); width: 15px; height: 15px; }

.demo-note {
  display: flex; align-items: center; gap: 7px; margin: 2px 2px 0;
  color: var(--muted); font-size: 11.5px; font-weight: 600;
}
.demo-note [data-icon] { width: 14px; height: 14px; flex: none; }

/* ============================ toolbar de contas ============================ */
.toolbar-card { padding: 18px 20px; }
.toolbar { display: flex; gap: 10px; align-items: stretch; }
.search {
  position: relative; display: flex; align-items: center; flex: 1; min-width: 220px;
  background: var(--card2); border: 1.5px solid var(--line); border-radius: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 167, 171, .14); }
.s-ico { position: absolute; left: 14px; display: grid; color: var(--muted); width: 18px; height: 18px; }
.s-ico [data-icon] { width: 18px; height: 18px; }
.search input {
  flex: 1; min-width: 0; height: 44px; padding: 0 46px 0 42px;
  border: 0; background: transparent; color: var(--ink); font-size: 14px; border-radius: 15px;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 0; }
.search kbd {
  position: absolute; right: 12px; padding: 2px 7px; border: 1px solid var(--line);
  border-bottom-width: 2px; border-radius: 7px; background: var(--card);
  color: var(--ink2); font-size: 11px; font-weight: 700;
}
.toolbar select {
  height: 44px; max-width: 210px; padding: 0 12px; border: 1.5px solid var(--line);
  border-radius: 14px; background: var(--card2); color: var(--ink); font-size: 13px;
  font-weight: 600; min-width: 0; cursor: pointer;
}
.toolbar select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 167, 171, .14); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 99px; background: var(--card);
  color: var(--ink2); font-size: 12px; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--pink); color: var(--ink); transform: translateY(-1px); }
.chip[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip .n { opacity: .6; font-size: 10.5px; }
.chip[aria-pressed=true] .n { opacity: .85; }

/* ============================ tabela ============================ */
.tbl-card { padding: 18px 20px 10px; }
.tbl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tbl-head b { display: block; font-size: 14px; }
.tbl-head span { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.tbl { width: 100%; }
.row {
  display: grid; align-items: center; gap: 12px; padding: 12px 6px;
  border-top: 1px solid var(--line); border-radius: 12px; transition: background .18s;
}
.row.th {
  border-top: 0; padding: 0 6px 8px; color: var(--muted);
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.row:not(.th) { cursor: pointer; }
.row:not(.th):hover { background: var(--card2); }
.row:not(.th):focus-visible { outline-offset: 1px; }
.tbl .row { grid-template-columns: minmax(210px, 1.5fr) minmax(130px, 1.1fr) minmax(110px, .9fr) 104px 74px 100px 34px; }
.c-acc { display: flex; align-items: center; gap: 11px; min-width: 0; }
.c-acc .tile { width: 36px; height: 36px; border-radius: 11px; }
.c-acc .tile [data-icon], .c-acc .tile svg { width: 18px; height: 18px; }
.c-acc > span:last-child { min-width: 0; }
.c-acc b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-acc small { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-app b { display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-app small { display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.c-person { display: flex; align-items: center; gap: 7px; min-width: 0; }
.c-person .avatar { width: 26px; height: 26px; font-size: 10.5px; }
.c-person span { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.c-date { font-size: 12px; color: var(--ink2); font-weight: 600; white-space: nowrap; }
.c-act { display: flex; justify-content: flex-end; }
.c-act [data-icon] { width: 16px; height: 16px; color: var(--muted); }
.lbl { display: none; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* força resumida */
.strength-mini { display: flex; align-items: center; gap: 6px; }
.strength-mini i { display: block; width: 14px; height: 4px; border-radius: 2px; background: var(--line); }
.strength-mini.s1 i:nth-child(1) { background: var(--bad); }
.strength-mini.s2 i:nth-child(-n+2) { background: var(--orange); }
.strength-mini.s3 i { background: var(--ok); }
.strength-mini small { color: var(--muted); font-size: 10px; font-weight: 700; }

.empty {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 48px 16px; color: var(--ink2); text-align: center;
}
.empty > [data-icon] { width: 34px; height: 34px; color: var(--muted); margin-bottom: 6px; }
.empty b { font-family: Mitr, sans-serif; font-size: 20px; color: var(--ink); }
.empty p { margin: 0 0 12px; font-size: 13px; }

/* ============================ aplicativos ============================ */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-bottom: 18px; }
.app-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; cursor: pointer; text-align: left; }
.app-card:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: var(--sh-hover); }
.app-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-card h3 { font-size: 17px; line-height: 1.25; }
.app-card .app-desc { margin: -4px 0 0; color: var(--ink2); font-size: 12px; line-height: 1.5; }
.app-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.app-foot small { color: var(--muted); font-size: 11px; font-weight: 700; }
.app-foot .link { display: inline-flex; align-items: center; gap: 4px; color: var(--tealink); font-size: 11.5px; font-weight: 800; }
.app-foot .link [data-icon] { width: 12px; height: 12px; }
.avatars { display: flex; }
.avatars .avatar { width: 24px; height: 24px; font-size: 9.5px; border: 2px solid var(--card); margin-left: -6px; }
.avatars .avatar:first-child { margin-left: 0; }
.info-card { display: flex; align-items: flex-start; gap: 16px; }
.info-card .tile { margin-top: 2px; }
.info-card p { margin: 4px 0 0; color: var(--ink2); font-size: 13px; line-height: 1.6; }

/* ============================ equipe ============================ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.team-card { padding: 20px; border-radius: 20px; cursor: pointer; }
.team-card:hover { transform: translateY(-3px); border-color: var(--pink); box-shadow: var(--sh-hover); }
.team-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.team-card .avatar { width: 46px; height: 46px; font-size: 18px; }
.team-card h3 { margin: 12px 0 1px; font-size: 17px; }
.team-card .role { color: var(--ink2); font-size: 12px; font-weight: 600; }
.team-meta { display: flex; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.team-meta span { color: var(--muted); font-size: 11px; font-weight: 700; }
.team-meta b { display: block; color: var(--ink); font-size: 15px; font-family: Mitr, sans-serif; font-weight: 500; }

/* ============================ drawer ============================ */
.scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(24, 18, 20, .46);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s;
}
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 75;
  width: min(460px, 100%); background: var(--bg);
  border-left: 1px solid var(--line); box-shadow: -24px 0 60px rgba(0, 0, 0, .18);
  transform: translateX(102%); transition: transform .38s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.on { transform: none; }
.dw-top { padding: 24px 24px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(150deg, var(--pinkbg), transparent 70%); }
.dw-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dw-top .eyebrow { display: block; color: var(--teal); font-size: 10.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.dw-top h2 { margin: 4px 0 2px; font-size: 26px; }
.dw-app { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink2); font-size: 13px; }
.dw-app a { display: inline-flex; align-items: center; gap: 3px; color: var(--tealink); font-weight: 700; text-decoration: none; }
.dw-app a [data-icon] { width: 12px; height: 12px; }
.dw-body { padding: 22px 24px; }
.dw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dw-actions .btn { flex: 1; min-width: 120px; }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.kv { padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--card2); }
.kv span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.kv b { display: block; margin-top: 3px; font-size: 12.5px; }
.fld { display: block; margin-bottom: 14px; }
.fld > span:first-child { display: block; margin-bottom: 6px; color: var(--ink2); font-size: 11.5px; font-weight: 700; }
.copy-row { display: flex; gap: 6px; }
.copy-row input { flex: 1; min-width: 0; }
.copy-row .ibtn { width: 42px; height: 42px; border-radius: 12px; background: var(--card2); }
.strength { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.strength i { display: block; width: 26px; height: 4px; border-radius: 2px; background: var(--line); }
.strength em { margin-left: 5px; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.strength.s1 i:nth-child(1) { background: var(--bad); }
.strength.s2 i:nth-child(-n+2) { background: var(--orange); }
.strength.s3 i { background: var(--ok); }
.strength.s1 em { color: var(--bad); }
.strength.s2 em { color: var(--orangelink); }
.strength.s3 em { color: var(--ok); }
.note-box { padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--card2); color: var(--ink2); font-size: 12.5px; line-height: 1.6; }
.dw-warning { display: flex; gap: 8px; margin-top: 16px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.dw-warning [data-icon] { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--tealink); }
.dw-foot {
  position: sticky; bottom: 0; display: flex; gap: 10px; padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--bg);
}
.dw-foot .btn { flex: 1; }
.dw-foot .btn.dng { flex: 0 0 auto; }
.drawer form { margin: 0; }

/* ============================ campos ============================ */
input[type=text], input[type=search], input[type=date], input[type=password], select, textarea {
  width: 100%; min-width: 0; padding: 0 12px; height: 42px;
  border: 1.5px solid var(--line); border-radius: 13px;
  background: var(--card2); color: var(--ink); font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.5; font-size: 13px; }
select { cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 167, 171, .14); }
input::placeholder, textarea::placeholder { color: var(--muted); }
.fld.two, .form .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .two-col { margin-bottom: 0; }
.form .fg { margin-bottom: 0; }
.pw-row { display: flex; gap: 6px; }
.pw-row input { flex: 1; }
.pw-row .ibtn { width: 42px; height: 42px; border-radius: 12px; background: var(--card2); }

/* switch */
.switch { display: flex; align-items: center; gap: 9px; height: 42px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch i {
  position: relative; display: block; width: 42px; height: 24px; flex: none;
  border-radius: 99px; background: var(--line); transition: background .2s;
}
.switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.switch input:checked + i { background: var(--teal); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 3px solid rgba(0, 167, 171, .4); outline-offset: 2px; }
.switch b { font-size: 12.5px; font-weight: 700; color: var(--ink2); }

/* ============================ modal ============================ */
.modal {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 16px; background: rgba(24, 18, 20, .5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s;
}
.modal.on { opacity: 1; }
.modal-card {
  width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 24px; border: 1px solid var(--line); border-radius: 24px;
  background: var(--card); box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  transform: translateY(14px) scale(.985); transition: transform .3s var(--ease);
}
.modal.on .modal-card { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.modal-head small { display: block; color: var(--teal); font-size: 10.5px; font-weight: 800; letter-spacing: .13em; }
.modal-head h2 { margin-top: 4px; font-size: 25px; }
.form .fld { margin-bottom: 14px; }
.form-note { display: flex; align-items: center; gap: 7px; margin: 2px 0 16px; color: var(--muted); font-size: 11.5px; }
.form-note [data-icon] { width: 14px; height: 14px; color: var(--tealink); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }

/* ============================ toast ============================ */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translateX(-50%) translateY(20px); opacity: 0;
  max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 14px;
  background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600;
  pointer-events: none; transition: opacity .3s, transform .3s;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================ responsivo ============================ */
@media (max-width: 1180px) and (min-width: 861px) {
  .side { width: 80px; padding: 18px 10px; }
  .side .logo { padding: 0 0 18px; text-align: center; }
  .side .logo img { width: 46px; height: 46px; object-fit: cover; object-position: left; }
  .grp, .side nav a > span:nth-child(2), .demo-tag span, .who, .user-act { display: none; }
  .side nav a { justify-content: center; padding: 12px 0; }
  .side nav a[aria-current=page]::before { left: -10px; }
  .nav-count { position: absolute; top: 3px; right: 8px; min-width: 18px; padding: 0 4px; font-size: 9px; }
  .demo-tag { justify-content: center; padding: 8px; margin: 10px 0 0; }
  .user { flex-direction: column; padding: 8px; }
  .main { padding-left: 80px; }
  .wrap { padding: 32px 24px 48px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .two { grid-template-columns: minmax(0, 1fr); }
  .stat strong { font-size: 27px; }
  .tbl .row { grid-template-columns: minmax(190px, 1.4fr) minmax(120px, 1fr) minmax(100px, .8fr) 82px 68px 96px 28px; }
}

@media (max-width: 900px) {
  .side { display: none; }
  .main { padding-left: 0; }
  .mtop {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 45; padding: 10px 16px;
    padding-top: calc(10px + env(safe-area-inset-top));
    background: var(--s-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .mtop .m-logo img { height: 28px; width: auto; display: block; }
  .mtop .r { display: flex; align-items: center; gap: 8px; }
  .demo-pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px;
    border-radius: 99px; background: var(--orangebg); color: var(--orangelink);
    font-size: 10.5px; font-weight: 800;
  }
  .demo-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .mnav {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--s-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mnav a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 2px 8px; border-top: 3px solid transparent;
    color: var(--muted); font-size: 9.5px; font-weight: 700; text-decoration: none;
  }
  .mnav a [data-icon] { width: 21px; height: 21px; }
  .mnav a[aria-current=page] { color: var(--s-aink); border-top-color: #e94669; }
  .wrap { padding: 22px 16px 96px; }
  .head h1 { font-size: 30px; }
  .head-act { width: 100%; }
  .head-act .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px 18px; min-height: 104px; }
  .stat strong { font-size: 24px; }
  .stat > span:not(.tile) { padding-right: 42px; }
  .stat .tile { top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 11px; }
  .stat .tile [data-icon], .stat .tile svg { width: 17px; height: 17px; }
  .card.pad { padding: 20px 16px; }
  .toolbar { flex-wrap: wrap; }
  .search { flex: 1 1 100%; }
  .toolbar select { flex: 1 1 calc(50% - 5px); max-width: none; }
  .tbl .row.th { display: none; }
  .tbl .row:not(.th) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 14px;
    padding: 14px; margin-bottom: 10px; border: 1px solid var(--line);
    background: var(--card2); border-radius: 16px;
  }
  .tbl .row:not(.th):first-child { margin-top: 4px; }
  .tbl .row:not(.th) .c-acc { grid-column: 1 / -1; }
  .tbl .row:not(.th) .c-act { grid-column: 1 / -1; position: absolute; top: 20px; right: 20px; }
  .tbl .row:not(.th) { position: relative; }
  .tbl .row:not(.th) .c-act [data-icon] { width: 18px; height: 18px; }
  .lbl { display: block; }
  .c-person { flex-wrap: wrap; }
  .c-person .lbl { flex: 0 0 100%; }
  .c-app, .c-person, .c-date, .c-strength { min-width: 0; }
  .c-app b, .c-app small, .c-person span { padding-right: 12px; }
  .badge { font-size: 10.5px; }
  .kv-grid { grid-template-columns: 1fr; }
  .drw-foot, .dw-foot { padding-left: 16px; padding-right: 16px; }
  .drawer { width: 100%; }
  .modal { padding: 0; align-items: end; }
  .modal-card {
    width: 100%; max-height: calc(100vh - 16px);
    border-radius: 24px 24px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  }
  .form .two-col { grid-template-columns: 1fr; }
  .modal-foot .btn { flex: 1; }
  .bgfx img { width: 340px; height: 340px; right: -110px; top: -80px; animation: none; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat strong { font-size: 21px; }
  .stat em { font-size: 10.5px; }
  .head h1 { font-size: 27px; }
  .head p { font-size: 13px; }
  .notice { align-items: flex-start; flex-wrap: wrap; }
  .notice .btn { width: 100%; }
  .notice > div { flex: 1 1 calc(100% - 56px); }
  .app-mini { grid-template-columns: 1fr; }
  .app-mini-row { flex-direction: column; align-items: flex-start; gap: 7px; }
  .app-mini-go { display: none; }
  .apps-grid, .team-grid { grid-template-columns: 1fr; }
  .c-person span { font-size: 11px; }
  .info-card { flex-direction: column; gap: 10px; }
  .dw-actions .btn { min-width: 100%; }
  .dw-top, .dw-body { padding-left: 18px; padding-right: 18px; }
  .chip { height: 30px; padding: 0 10px; font-size: 11.5px; }
  .toolbar select { flex: 1 1 100%; }
}

/* ============================ Central de Acessos: acréscimos ============================ */
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/mitr-400.woff2) format('woff2'); }
@font-face { font-family: 'Mitr'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/mitr-500.woff2) format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/montserrat-500-800.woff2) format('woff2'); }

body.locked .side, body.locked .mtop, body.locked .mnav, body.locked .main { display: none; }
body:not(.locked) .auth { display: none; }
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px 16px; }
.auth-card {
  width: min(400px, 100%); padding: 30px 26px 24px; border: 1px solid var(--line); border-radius: 26px;
  background: var(--card); box-shadow: var(--sh);
}
.auth-logo { height: 42px; width: auto; margin-bottom: 18px; }
.auth-eye { display: block; color: var(--teal); font-size: 10.5px; font-weight: 800; letter-spacing: .13em; }
.auth-card h1 { margin: 4px 0 18px; font-size: 30px; }
.auth-help { margin: 0 0 14px; color: var(--ink2); font-size: 13px; }
.auth-foot { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; color: var(--muted); font-size: 11.5px; }
.auth-foot [data-icon] { width: 14px; height: 14px; color: var(--tealink); }
.auth .btn.block + .btn.block { margin-top: 10px; }
#tp-code { font-size: 22px; letter-spacing: .3em; text-align: center; font-weight: 700; }
.btn.block { width: 100%; justify-content: center; }
.form-err { margin: 0 0 14px; padding: 9px 12px; border-radius: 12px; background: var(--badbg); color: var(--bad); font-size: 12.5px; font-weight: 600; }

.user-me { border: 0; cursor: pointer; font-family: Mitr, sans-serif; }
.user-me:focus-visible { outline: 3px solid rgba(0, 167, 171, .45); outline-offset: 2px; }
.app-mini.one { grid-template-columns: minmax(0, 1fr); }
.mini-note, .muted-note { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.mini-note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.perm-sum { font-size: 12px; font-weight: 700; color: var(--ink2); }
.more { display: flex; justify-content: center; margin-top: 14px; }
.tl-dot.k-bad, .tl-dot:not([class*=" k-"]).k-bad { background: var(--badbg); color: var(--bad); }
.c-acc .avatar { width: 36px; height: 36px; font-size: 13px; }

.perm-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.perm {
  display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 13px; background: var(--card2);
}
.perm input { position: absolute; opacity: 0; width: 0; height: 0; }
.perm i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--muted); transition: background .2s, border-color .2s; }
.perm i::after {
  content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s;
}
.perm input:checked + i { background: var(--teal); border-color: var(--teal); }
.perm input:checked + i::after { transform: rotate(45deg) scale(1); }
.perm input:focus-visible + i { outline: 3px solid rgba(0, 167, 171, .4); outline-offset: 2px; }
.perm b { font-size: 12.5px; font-weight: 600; color: var(--ink2); }

.modal-card.small { width: min(440px, 100%); }
.confirm-text { margin: 0 0 18px; color: var(--ink2); font-size: 14px; }
.secret {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 12px 14px;
  border: 1.5px dashed var(--teal); border-radius: 14px; background: var(--tealbg);
}
.secret code {
  flex: 1; min-width: 0; overflow-wrap: anywhere; user-select: all;
  font: 700 24px/1.2 "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--ink);
}
#pf-delete { margin-right: auto; }
.dw-foot .btn { justify-content: center; }
@media (max-width: 900px) {
  .modal-foot { flex-wrap: wrap; }
  #pf-delete { margin-right: 0; flex: 1 1 100%; }
  .secret code { font-size: 21px; }
}

.policy-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.policy-txt { flex: 1 1 320px; min-width: 0; }
.policy-txt h3 { font-size: 18px; margin-bottom: 4px; }
.policy-txt p { margin: 0; color: var(--ink2); font-size: 13px; }
@media (max-width: 900px) { .policy-card .btn { width: 100%; } }

.qr { display: grid; place-items: center; margin: 0 0 12px; }
.qr img { width: 200px; height: 200px; border-radius: 14px; background: #fff; padding: 6px; }
.auth-help.small { font-size: 11.5px; margin-bottom: 6px; }
.key { display: block; margin-bottom: 14px; padding: 10px 12px; border: 1.5px dashed var(--teal); border-radius: 12px; background: var(--tealbg); font: 700 15px/1.4 Menlo, Consolas, monospace; letter-spacing: .06em; overflow-wrap: anywhere; user-select: all; }
