:root {
  --ink: #0b111b;
  --panel: #111925;
  --panel-2: #151f2d;
  --line: rgba(157, 176, 199, 0.15);
  --muted: #8491a3;
  --text: #eef3f8;
  --cobalt: #155bd8;
  --cobalt-light: #4382ef;
  --orange: #d86a32;
  --success: #32c89a;
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--ink); color: var(--text); }
button, input { font: inherit; }
button { cursor: pointer; }

.login-page {
  background:
    linear-gradient(90deg, rgba(7, 12, 20, .91) 0%, rgba(7, 12, 20, .75) 47%, rgba(7, 12, 20, .42) 100%),
    url("/assets/engineering-bg.png") center / cover fixed;
}

.login-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(65, 99, 142, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 99, 142, .06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.12fr .88fr; }
.brand-panel { padding: 52px 6.5vw 38px; display: flex; flex-direction: column; position: relative; }
.brand { color: white; text-decoration: none; display: inline-flex; align-items: center; gap: 13px; width: fit-content; font: 700 17px/1 "Manrope"; letter-spacing: 4px; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: 6px; }
.brand-mark {
  width: 40px;
  height: 40px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transform: none;
  background: url("/assets/brand/megasystem32-mark.svg") center / contain no-repeat;
}
.brand-mark i { display: none; }
.brand-small .brand-mark {
  width: 32px;
  height: 32px;
}
.brand-message { max-width: 660px; margin: auto 0; padding: 80px 0; }
.eyebrow { color: var(--cobalt-light); text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-size: 10px; margin: 0 0 20px; }
.brand-message .eyebrow { display: flex; align-items: center; gap: 10px; }
.brand-message .eyebrow span { width: 34px; height: 2px; background: var(--orange); }
.brand-message h1 { margin: 0; max-width: 640px; font: 600 clamp(43px, 5vw, 76px)/1.04 "Manrope"; letter-spacing: -3px; }
.brand-message h1 em { font-style: normal; color: var(--orange); }
.brand-message > p:last-child { color: #aab4c1; font-size: 16px; line-height: 1.7; max-width: 460px; margin-top: 30px; }
.brand-foot { display: flex; align-items: center; gap: 13px; color: #6e7988; font-size: 8px; letter-spacing: 2px; font-weight: 700; }
.brand-foot i { height: 3px; width: 3px; border-radius: 50%; background: var(--orange); }

/* agent-css-minimalist — mascote estático (PNG local, sem URL externa) */
.brand-mascot {
  margin: 0 0 28px;
  width: 88px;
  height: 88px;
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.brand-mascot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(0.35) contrast(1.05);
}
.login-page .copyright a {
  color: inherit;
  text-decoration: none;
  letter-spacing: inherit;
}
.login-page .copyright a:hover {
  color: var(--cobalt-light);
}

.login-area { display: grid; place-items: center; padding: 50px; position: relative; background: linear-gradient(90deg, rgba(8, 13, 22, .14), rgba(8, 13, 22, .8)); }
.login-card { width: min(440px, 100%); padding: 48px 48px 34px; background: rgba(16, 24, 36, .92); border: 1px solid rgba(143, 164, 192, .18); box-shadow: 0 32px 90px rgba(0, 0, 0, .48); backdrop-filter: blur(20px); position: relative; overflow: hidden; }
.login-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border: 1px solid rgba(58, 108, 184, .16); transform: rotate(45deg); }
.card-accent { position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--cobalt), transparent 45%, var(--orange)); }
.mini-grid { display: block; width: 26px; height: 26px; margin-bottom: 25px; background: radial-gradient(circle, var(--cobalt-light) 1.2px, transparent 1.5px); background-size: 7px 7px; }
.login-card header { position: relative; z-index: 1; margin-bottom: 34px; }
.login-card header .eyebrow { margin-bottom: 11px; }
.login-card h2 { margin: 0 0 10px; font: 600 31px/1.2 "Manrope"; letter-spacing: -1px; }
.login-card header > p:last-child { color: var(--muted); margin: 0; font-size: 13px; }
.login-card form { position: relative; z-index: 1; }
.login-card label, dialog label { display: block; color: #bdc6d2; font-size: 11px; font-weight: 700; letter-spacing: .5px; margin-bottom: 9px; }
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 22px;
  position: relative;
  z-index: 1;
}
.auth-tabs[hidden] { display: none; }
.auth-tab {
  border: 1px solid var(--line);
  background: rgba(13, 21, 32, 0.7);
  color: #8b98a8;
  padding: 10px 12px;
  font: 600 11px/1 "DM Sans";
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.auth-tab:hover { color: #dce4ef; border-color: #2c3a4d; }
.auth-tab.active {
  color: #fff;
  border-color: var(--cobalt-light);
  background: linear-gradient(180deg, rgba(21, 91, 216, 0.28), rgba(14, 22, 34, 0.9));
}
.login-card label { margin-top: 18px; }
.login-card label:first-of-type,
#login-form > label:first-child,
#register-form > label:first-child { margin-top: 0; }
.form-success {
  margin: 12px 0 0;
  color: #7ddea8;
  font: 500 12px/1.4 "DM Sans";
}
.form-success[hidden] { display: none; }
.auth-captcha-hint {
  margin: 12px 0 0;
  text-align: center;
  color: #5c6878;
  font: 500 10px/1.45 "DM Sans";
  letter-spacing: 0.02em;
}
.auth-captcha-hint a {
  color: #8491a3;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Badge flutuante do reCAPTCHA v3 — oculta visualmente (texto legal no formulário).
   Evita display:none (quebra o widget); visibility+opacity é o padrão recomendado. */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
#register-form[hidden],
#login-form[hidden] { display: none; }
.field { height: 51px; border: 1px solid #293548; background: rgba(8, 13, 22, .62); display: flex; align-items: center; transition: .2s; }
.field:focus-within { border-color: var(--cobalt-light); box-shadow: 0 0 0 3px rgba(21, 91, 216, .14); }
.field svg { width: 18px; margin: 0 13px 0 16px; fill: none; stroke: #647186; stroke-width: 1.6; }
.field input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 13px; }
.field input::placeholder { color: #4f5a68; }
.password-toggle { border: 0; background: none; padding: 8px 0 8px 8px; }
.password-toggle svg { margin-left: 0; }
.primary-button { width: 100%; min-height: 52px; border: 0; background: linear-gradient(90deg, #164fab, var(--cobalt)); color: white; display: flex; align-items: center; justify-content: center; gap: 14px; text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; font-weight: 700; margin-top: 25px; box-shadow: 0 12px 30px rgba(21, 91, 216, .23); transition: .2s; }
.primary-button:hover { filter: brightness(1.15); transform: translateY(-1px); }
.primary-button:disabled { opacity: .6; cursor: wait; }
.primary-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.form-error { min-height: 17px; margin: 10px 0 -10px; color: #ff8d76; font-size: 11px; }
.login-card footer { margin-top: 34px; padding-top: 23px; border-top: 1px solid var(--line); display: flex; justify-content: center; align-items: center; gap: 9px; color: #687587; font-size: 9px; letter-spacing: .5px; }
.login-card footer svg { width: 17px; fill: none; stroke: var(--success); stroke-width: 1.5; }
.copyright { position: absolute; bottom: 25px; color: #536071; font-size: 8px; letter-spacing: 1.5px; }

.dashboard-page { background: #0b111a; }
.dashboard-layout { min-height: 100vh; display: grid; grid-template-columns: 236px 1fr; }
/* Painel do usuário: sem sidebar — ocupa a largura toda */
.user-dashboard-layout {
  grid-template-columns: 1fr;
  width: 100%;
}
.user-dashboard-layout .dashboard-main {
  width: 100%;
  max-width: none;
}
.user-dashboard-layout .dashboard-content {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.user-dashboard-layout .modules-catalog {
  width: 100%;
}
.user-dashboard-layout .module-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 8px 4px 18px;
  width: 100%;
  align-items: stretch;
  overflow: visible;
}
@media (max-width: 1400px) {
  .user-dashboard-layout .module-grid,
  .module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .user-dashboard-layout .module-grid,
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .user-dashboard-layout .module-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }
}
.sidebar { position: sticky; top: 0; height: 100vh; padding: 32px 22px 22px; background: #0e1622; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.brand-small { margin: 0 12px 42px; font-size: 14px; letter-spacing: 3px; }
.brand-small .brand-mark { transform: scale(.8); transform-origin: left; width: 32px; }
.sidebar nav p { color: #4d596a; margin: 25px 13px 9px; font-size: 8px; font-weight: 700; letter-spacing: 1.8px; }
.sidebar nav a { color: #7f8b9b; text-decoration: none; display: flex; align-items: center; gap: 13px; padding: 12px 13px; margin: 3px 0; border-left: 2px solid transparent; font-size: 12px; font-weight: 600; }
.sidebar nav a:hover, .sidebar nav a.active { color: white; background: linear-gradient(90deg, rgba(21, 91, 216, .18), transparent); border-color: var(--cobalt-light); }
.nav-icon { width: 20px; color: var(--cobalt-light); font-size: 17px; text-align: center; }
.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 18px 8px 4px;
}
.sidebar-status {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.sidebar-status .status-dot {
  flex: 0 0 auto;
  margin-top: 5px;
}
.sidebar-status-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.sidebar-status-meta strong,
.sidebar-status-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-status-meta strong {
  font: 600 12px/1.3 "DM Sans", sans-serif;
  color: #f3f6fa;
  letter-spacing: 0.01em;
}
.sidebar-status-meta small {
  font: 500 11px/1.35 "DM Sans", sans-serif;
  color: #8b98a8;
}
/* Legado: strong/small soltos dentro do foot (sem .sidebar-status) */
.sidebar-foot > div:not(.sidebar-status):not(.sidebar-user-block):not(.sidebar-support) {
  min-width: 0;
}
.sidebar-foot > div:not(.sidebar-status):not(.sidebar-user-block):not(.sidebar-support) strong,
.sidebar-foot > div:not(.sidebar-status):not(.sidebar-user-block):not(.sidebar-support) small {
  display: block;
}
.sidebar-user-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.sidebar-user-block .status-dot {
  flex: 0 0 auto;
}
.sidebar-user-meta {
  min-width: 0;
}
.sidebar-user-meta strong,
.sidebar-user-meta small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-user-meta strong {
  font: 600 13px/1.25 "DM Sans", sans-serif;
  color: #f3f6fa;
}
.sidebar-user-meta small {
  margin-top: 3px;
  font: 500 11px/1.3 "DM Sans", sans-serif;
  color: #8b98a8;
}
.sidebar-user-meta .sidebar-expiry {
  margin-top: 4px;
  font: 500 10px/1.3 "DM Sans", sans-serif;
  color: #a8b4c4;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}
.sidebar-support {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}
.sidebar-support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c5d0de;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: 500 11px/1.35 "DM Sans", sans-serif;
  opacity: 0.92;
}
.sidebar-support-link:hover {
  color: #e8eef6;
  opacity: 1;
}
.sidebar-support-link svg {
  flex: 0 0 auto;
  opacity: 0.9;
}
.dashboard-main { min-width: 0; }
.topbar { min-height: 94px; padding: 0 40px; border-bottom: 1px solid var(--line); background: rgba(13, 21, 32, .88); display: flex; align-items: center; position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); }
.topbar p { margin: 0 0 4px; color: var(--cobalt-light); font-size: 8px; letter-spacing: 2px; font-weight: 700; }
.topbar h1 { margin: 0; font: 600 19px "Manrope"; }
.admin-profile { margin-left: auto; display: flex; align-items: center; gap: 11px; }
.admin-avatar, .user-avatar { width: 35px; height: 35px; display: grid; place-items: center; background: #172c4e; border: 1px solid #27538f; color: #78aafa; font-size: 10px; font-weight: 700; }
.admin-profile strong, .admin-profile small { display: block; }
.admin-profile strong { font-size: 11px; }
.admin-profile small { color: var(--muted); font-size: 9px; margin-top: 3px; }
.admin-profile button { margin-left: 15px; border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 7px 10px; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; }
.menu-button { display: none; border: 0; background: transparent; color: white; font-size: 20px; margin-right: 12px; }
.dashboard-content { padding: 36px 40px 60px; max-width: 1500px; margin: auto; }
.welcome-row { display: flex; justify-content: space-between; align-items: end; margin-bottom: 26px; }
.welcome-row .eyebrow, .panel-header .eyebrow { margin-bottom: 8px; }
.welcome-row h2 { margin: 0 0 7px; font: 600 27px "Manrope"; letter-spacing: -.8px; }
.welcome-row > div > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.outline-button { border: 1px solid #2c3a4d; background: #121c29; color: #a8b3c2; padding: 11px 15px; font-size: 9px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.metric-card { min-height: 130px; padding: 25px; position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: #121b28; border: 1px solid var(--line); }
.metric-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -60px; top: -60px; border: 1px solid rgba(255,255,255,.05); transform: rotate(45deg); }
.metric-card.cobalt { border-top: 2px solid var(--cobalt-light); }
.metric-card.orange { border-top: 2px solid var(--orange); }
.metric-card.steel { border-top: 2px solid #718198; }
.metric-icon { width: 45px; height: 45px; display: grid; place-items: center; background: #17263a; color: var(--cobalt-light); font-size: 23px; }
.orange .metric-icon { color: #ef8a55; background: #30201c; }
.steel .metric-icon { color: #9aabbe; }
.metric-card p { margin: 0 0 8px; color: var(--muted); font-size: 8px; letter-spacing: 1.4px; font-weight: 700; }
.metric-card strong { font: 600 30px "Manrope"; }
.metric-card small { grid-column: 2; margin-top: -22px; color: #536071; font-size: 9px; }

/* Admin dashboard: views exclusivas + uso 24h */
.dash-view[hidden] { display: none !important; }
#view-overview .welcome-row {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(44, 58, 77, 0.55);
  margin-bottom: 22px;
}
#view-overview .metrics-grid {
  gap: 18px;
  margin-bottom: 22px;
}
#view-overview .metric-card {
  border-radius: 10px;
  background: linear-gradient(165deg, #141e2d 0%, #101824 100%);
}
.usage-24h {
  margin-top: 4px;
  padding: 22px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, #121b29 0%, #0e1622 100%);
}
.usage-24h-header { margin-bottom: 18px; }
.usage-24h-header .eyebrow { margin-bottom: 8px; }
.usage-24h-header h3 {
  margin: 0 0 6px;
  font: 600 20px "Manrope", sans-serif;
  letter-spacing: -0.4px;
}
.usage-24h-header p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.usage-24h-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.usage-stat {
  padding: 16px 14px;
  border: 1px solid #243145;
  border-radius: 10px;
  background: #0c141f;
}
.usage-stat p {
  margin: 0 0 8px;
  color: #708096;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.usage-stat strong {
  font: 600 26px "Manrope", sans-serif;
  color: #e8eef8;
}
.usage-24h-modules-title {
  margin: 0 0 10px;
  color: #9aa8bc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.usage-module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.usage-module-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid #243145;
  border-radius: 8px;
  background: rgba(12, 20, 31, 0.85);
}
.usage-module-name {
  font: 600 13px "DM Sans", sans-serif;
  color: #d7e2f2;
}
.usage-module-meta {
  color: #708096;
  font-size: 11px;
  white-space: nowrap;
}
.usage-module-empty {
  color: #708096;
  font-size: 12px;
  padding: 8px 0;
  border: 0 !important;
  background: transparent !important;
}

#view-usuarios .admin-grid,
#view-modulos .modules-catalog {
  margin-top: 0;
}
.admin-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.panel { background: #111a27; border: 1px solid var(--line); min-width: 0; }
.panel-header { padding: 23px 25px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.panel-header h3 { margin: 0; font: 600 18px "Manrope"; }
.panel-actions { display: flex; align-items: center; gap: 10px; }
.panel-actions .primary-button { white-space: nowrap; }
.search-box { width: 205px; height: 36px; border: 1px solid #273345; background: #0c141f; display: flex; align-items: center; gap: 8px; padding: 0 11px; }
.search-box span { color: var(--muted); }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 10px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th { color: #596678; text-align: left; font-size: 8px; letter-spacing: 1.2px; padding: 14px 20px; background: #0e1622; }
td { padding: 15px 20px; border-top: 1px solid rgba(157, 176, 199, .08); font-size: 11px; }
.user-cell { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.user-avatar { width: 31px; height: 31px; }
.user-cell strong, .user-cell small { display: block; }
.user-cell strong { font-size: 10px; }
.user-cell small { margin-top: 3px; color: #617084; font-size: 9px; }
.credit-value { color: #e4eaf2; }
.module-count { color: #7ba9f2; padding: 4px 7px; background: rgba(21, 91, 216, .12); }
.status-badge { padding: 4px 8px; border-radius: 20px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.status-badge.active { color: var(--success); background: rgba(50, 200, 154, .1); }
.status-badge.inactive { color: #ff8875; background: rgba(255, 100, 80, .1); }
.edit-button { border: 1px solid #2b3e58; background: transparent; color: #78aafa; padding: 7px 9px; font-size: 8px; text-transform: uppercase; letter-spacing: .6px; }
.loading-cell { text-align: center; color: var(--muted); padding: 35px; font-size: 11px; }

.user-panel[hidden] { display: none !important; }
.user-panel.is-active { display: block; }
.user-settings-panel { max-width: 560px; }
.user-settings-form {
  padding: 24px 25px 28px;
  display: grid;
  gap: 16px;
}
.user-settings-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}
.user-settings-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d1520;
  color: white;
  padding: 12px 14px;
  font: 500 14px "DM Sans";
}
.user-settings-form input:focus {
  outline: 1px solid var(--cobalt-light);
  border-color: var(--cobalt-light);
}
.form-feedback {
  margin: 0;
  font-size: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #121b28;
}
.form-feedback.is-ok {
  color: #7ddea8;
  border-color: rgba(125, 222, 168, .35);
}
.form-feedback.is-error {
  color: #f0a3a3;
  border-color: rgba(240, 163, 163, .35);
}
.credits-total-preview {
  margin: -4px 0 0;
  font: 600 13px "DM Sans";
  color: var(--cobalt-light);
}
.pix-panel .pix-content {
  padding: 24px 25px 28px;
  display: grid;
  gap: 16px;
}
.pix-status {
  margin: 0;
  font: 600 14px "DM Sans";
  color: #f0c56d;
}
.pix-status.is-paid {
  color: #7ddea8;
}
.pix-amount {
  margin: 0;
  font: 600 16px "Manrope";
  color: white;
}
.pix-qr {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: white;
  padding: 10px;
  justify-self: start;
  display: block;
}
.pix-copy-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.pix-copy-label textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d1520;
  color: white;
  padding: 12px 14px;
  font: 500 12px/1.4 "DM Sans";
  resize: vertical;
}
.pix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ghost-button {
  border: 1px solid var(--line);
  background: transparent;
  color: white;
  padding: 12px 18px;
  font: 600 13px "DM Sans";
  cursor: pointer;
}
.ghost-button:hover {
  border-color: var(--cobalt-light);
}
.accounting-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}
.accounting-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.accounting-split .panel,
.accounting-pending-panel {
  margin: 0;
}
.accounting-split .table-wrap,
.accounting-pending-panel .table-wrap {
  max-height: 420px;
  overflow: auto;
}
.acc-days-warn {
  color: #f0c56d;
  font-weight: 700;
}
.acc-days-critical {
  color: #f0a3a3;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .accounting-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .accounting-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .accounting-metrics {
    grid-template-columns: 1fr;
  }
}
.saldo-validity-card {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 130px;
  padding: 22px 24px;
  background: #121b28;
  border: 1px solid var(--line);
  border-top: 2px solid #7ddea8;
}
.saldo-validity-card p {
  margin: 0;
  color: #9eabbc;
  font: 600 10px/1 "DM Sans";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.saldo-validity-card strong {
  font: 600 18px/1.25 "Manrope";
  color: #e8eef6;
}
.saldo-validity-card small {
  color: var(--muted);
  font: 500 12px/1.45 "DM Sans";
}
.credits-policy-note {
  margin: 0 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(125, 222, 168, 0.28);
  background: rgba(125, 222, 168, 0.08);
  color: #d7efe3;
  font: 500 13px/1.45 "DM Sans";
}
.credits-policy-note strong {
  font-weight: 700;
}
@media (max-width: 900px) {
  .user-saldo-metrics {
    grid-template-columns: 1fr;
  }
}

.billing-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  padding: 16px 18px;
  border: 1px solid rgba(240, 197, 109, .35);
  background: linear-gradient(135deg, rgba(240, 197, 109, .12), rgba(14, 22, 34, .9));
  color: #f5e6c8;
}
.billing-banner.hidden { display: none; }
.billing-banner--warn {
  border-color: rgba(240, 163, 163, .4);
  background: linear-gradient(135deg, rgba(240, 120, 120, .14), rgba(14, 22, 34, .92));
  color: #f3d0d0;
}
.billing-banner--low {
  border-color: rgba(240, 197, 109, .35);
}
.billing-banner strong {
  display: block;
  font: 700 14px "Manrope";
  margin-bottom: 4px;
}
.billing-banner p {
  margin: 0;
  font: 500 13px/1.45 "DM Sans";
  color: inherit;
  opacity: .9;
}
.billing-hint {
  margin: 0 0 14px;
  padding: 0 4px;
  font: 500 13px/1.45 "DM Sans";
  color: var(--muted);
}
.billing-badge {
  display: inline-block;
  padding: 3px 8px;
  font: 600 10px/1 "DM Sans";
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--muted);
}
.billing-badge--uso { color: #7ddea8; border-color: rgba(125, 222, 168, .35); }
.billing-badge--mensal { color: #8eb7ff; border-color: rgba(142, 183, 255, .35); }
.billing-badge--locked { color: #f0c56d; border-color: rgba(240, 197, 109, .4); }
.billing-badge--tbd { color: var(--muted); }

/* agent-css-pricing — preço didático no card do catálogo */
.module-price-didactic {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  padding: 12px 12px 11px;
  border: 1px solid rgba(50, 200, 154, .32);
  background:
    linear-gradient(135deg, rgba(50, 200, 154, .12), transparent 60%),
    rgba(8, 16, 26, .85);
}
.module-price-didactic-label {
  color: #9eb0c2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.module-price-didactic-value {
  color: #7ddea8;
  font: 700 26px/1 "Manrope", sans-serif;
  letter-spacing: -0.6px;
}
.module-price-didactic--mensal .module-price-didactic-value {
  color: #8eb7ff;
}
.module-price-didactic--locked {
  border-color: rgba(240, 197, 109, .4);
  background:
    linear-gradient(135deg, rgba(240, 197, 109, .12), transparent 60%),
    rgba(8, 16, 26, .85);
}
.module-price-didactic--locked .module-price-didactic-value {
  color: #f0c56d;
}
.module-price-didactic--mensal {
  border-color: rgba(142, 183, 255, .35);
  background:
    linear-gradient(135deg, rgba(67, 130, 239, .12), transparent 60%),
    rgba(8, 16, 26, .85);
}
.module-price-didactic-unit {
  color: #d5dee8;
  font-size: 12px;
  font-weight: 600;
}
.module-price-didactic-example {
  margin-top: 4px;
  color: #8b98a8;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}
.module-card.has-price-didactic .module-card-foot > span:first-child {
  color: #7ddea8;
  font-weight: 600;
}
.plan-pay-panel {
  max-width: 720px;
  overflow: hidden;
}
.plan-pay-panel > .panel-header h3 {
  margin: 0;
  font: 600 22px/1.2 "Manrope";
  letter-spacing: -0.4px;
}
.plan-pay-panel .plan-pay-body {
  padding: 0 25px 26px;
  display: grid;
  gap: 18px;
}
.plan-pay-copy {
  margin: 0;
  color: #b8c2cf;
  font: 500 13px/1.5 "DM Sans";
  max-width: 52ch;
}
.plan-pay-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.plan-pay-form {
  display: grid;
  gap: 16px;
  padding: 0;
}
.plan-pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.plan-pay-form .adv-field input {
  width: 100%;
  height: 46px;
  border: 1px solid #293548;
  background: rgba(8, 13, 22, .72);
  color: var(--text);
  padding: 0 14px;
  font: 500 13px/1.45 "DM Sans";
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.plan-pay-form .adv-field input:focus {
  border-color: var(--cobalt-light);
  box-shadow: 0 0 0 3px rgba(21, 91, 216, .14);
}
.plan-pay-form .adv-field input::placeholder {
  color: #4f5a68;
}
.plan-pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.plan-pay-actions .primary-button {
  flex: 1 1 220px;
  margin-top: 0;
  width: auto;
}
.plan-pay-actions .outline-button {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.plan-credit-panel {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background:
    linear-gradient(135deg, rgba(21, 91, 216, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(16, 28, 44, 0.98), rgba(10, 16, 26, 0.98));
}
.plan-credit-eyebrow {
  margin: 0;
  color: #7dd3fc;
  font: 600 11px/1.2 "DM Sans";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-credit-title {
  margin: 4px 0 0;
  font: 600 17px/1.25 "Manrope";
  letter-spacing: -0.3px;
  color: var(--text);
}
.plan-credit-rule {
  margin: 0;
  color: #b8c2cf;
  font: 500 12.5px/1.5 "DM Sans";
  max-width: 56ch;
}
.plan-credit-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.plan-pay-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b7788;
  font: 600 11px/1 "DM Sans";
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan-pay-divider::before,
.plan-pay-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.plan-pix-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 31, 45, .95), rgba(13, 20, 31, .98));
}
.plan-pix-panel[hidden] {
  display: none !important;
}
.plan-pix-panel .pix-qr {
  justify-self: start;
}
.user-plans-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.user-plans-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.user-plan-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(13, 21, 32, .55);
}
.user-plan-row small {
  grid-column: 1 / -1;
  color: var(--muted);
}

/* Catálogo de módulos */
.modules-catalog {
  margin-top: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(14, 22, 34, .92), rgba(11, 17, 26, .98));
  border: 1px solid var(--line);
  overflow: visible;
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.catalog-header h2 {
  margin: 6px 0 8px;
  font: 600 24px "Manrope";
  letter-spacing: -.5px;
}

.catalog-header > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 520px;
}

.catalog-count {
  padding: 10px 14px;
  border: 1px solid rgba(67, 130, 239, .22);
  background: rgba(21, 91, 216, .08);
  color: #8eb5f5;
  font-size: 10px;
  letter-spacing: .4px;
  white-space: nowrap;
}

.catalog-count strong {
  color: white;
  font-size: 18px;
  margin-right: 4px;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.module-search {
  width: 100%;
  max-width: 420px;
  height: 42px;
  border: 1px solid #273345;
  background: rgba(8, 13, 22, .72);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.module-search span {
  color: var(--muted);
  font-size: 14px;
}

.module-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  font-size: 12px;
}

.module-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-filters button {
  border: 1px solid #2a3648;
  background: rgba(12, 20, 31, .9);
  color: #8d99aa;
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: .2s;
}

.module-filters button:hover,
.module-filters button.active {
  color: white;
  border-color: rgba(67, 130, 239, .45);
  background: linear-gradient(180deg, rgba(21, 91, 216, .22), rgba(21, 91, 216, .08));
  box-shadow: inset 0 0 0 1px rgba(67, 130, 239, .12);
}

.catalog-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #8ea0b7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.catalog-title span {
  color: var(--cobalt-light);
  font-size: 14px;
}

.catalog-title h3 {
  margin: 0;
  font: 600 13px "Manrope";
  color: #d7e0eb;
  letter-spacing: .8px;
}

.catalog-title i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(157, 176, 199, .18), transparent);
}

.catalog-grid,
#modules-list.catalog-grid,
.modules-list.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 8px 4px 18px;
  width: 100%;
  align-items: stretch;
  overflow: visible;
}

/* ElectricBorder (Vue Bits port) — wrapper dos cards de módulo */
.electric-border {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  --electric-border-color: #7df9ff;
}

.electric-border-canvas-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.electric-border-canvas {
  display: block;
}

.electric-border-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
}

.electric-border-glow-soft,
.electric-border-glow-hard,
.electric-border-glow-wash {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.electric-border-glow-soft {
  filter: blur(1px);
}

.electric-border-glow-hard {
  filter: blur(4px);
}

.electric-border-glow-wash {
  z-index: -1;
  opacity: 0.28;
  transform: scale(1.08);
  filter: blur(28px);
}

.electric-border-content {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  min-width: 0;
}

.electric-border-content > .module-card {
  width: 100%;
  height: 100%;
}

.electric-border .module-card-button {
  border-radius: inherit;
  border-color: transparent;
  background: #0d1520;
}

.electric-border .module-card-button:hover:not(:disabled) {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
}

@media (prefers-reduced-motion: reduce) {
  .electric-border-canvas-layer {
    display: none;
  }
}

@media (max-width: 1400px) {
  .catalog-grid,
  #modules-list.catalog-grid,
  .modules-list.catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .catalog-grid,
  #modules-list.catalog-grid,
  .modules-list.catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.module-card {
  min-width: 0;
  width: 100%;
  display: flex;
  border-radius: 1px;
}

.module-card-button {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(157, 176, 199, .12);
  border-radius: 1px;
  background: #0d1520;
  color: var(--text);
  padding: 0;
  text-align: left;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.module-card-button:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: rgba(67, 130, 239, .35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.module-card-button:disabled {
  cursor: not-allowed;
  opacity: .72;
}

.module-card-visual {
  position: relative;
  min-height: 168px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(160deg, #1d4f9d 0%, #12386f 48%, #0d274f 100%);
}

.module-card-art {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.module-card-visual > *:not(.module-card-art) {
  position: relative;
  z-index: 1;
}

.module-card-visual.art-benca .module-card-art { background-image: url("/assets/modules/benca.svg"); }
.module-card-visual.art-adv-oab .module-card-art { background-image: url("/assets/modules/adv-oab.svg"); }
.module-card-visual.art-detector-whatsapp .module-card-art { background-image: url("/assets/modules/detector-whatsapp.svg"); }
.module-card-visual.art-consulta-nome .module-card-art { background-image: url("/assets/modules/consulta-nome.svg"); }
.module-card-visual.art-cpf-completo .module-card-art { background-image: url("/assets/modules/cpf-completo.svg"); }
.module-card-visual.art-consulta-cpf .module-card-art { background-image: url("/assets/modules/consulta-cpf.svg"); }
.module-card-visual.art-adv-listas .module-card-art { background-image: url("/assets/modules/adv-listas.svg"); }
.module-card-visual.art-oficio .module-card-art { background-image: url("/assets/modules/oficio.svg"); }
.module-card-visual.art-gerador .module-card-art { background-image: url("/assets/modules/gerador.svg"); }
.module-card-visual.art-historico-adv .module-card-art { background-image: url("/assets/modules/historico-adv.svg"); }

.module-card-visual.art-benca,
.module-card-visual.art-adv-oab,
.module-card-visual.art-detector-whatsapp,
.module-card-visual.art-consulta-nome,
.module-card-visual.art-cpf-completo,
.module-card-visual.art-consulta-cpf,
.module-card-visual.art-adv-listas,
.module-card-visual.art-oficio,
.module-card-visual.art-gerador,
.module-card-visual.art-historico-adv {
  background: #0d1520;
}

.module-card-visual.art-benca::before,
.module-card-visual.art-adv-oab::before,
.module-card-visual.art-detector-whatsapp::before,
.module-card-visual.art-consulta-nome::before,
.module-card-visual.art-cpf-completo::before,
.module-card-visual.art-consulta-cpf::before,
.module-card-visual.art-adv-listas::before,
.module-card-visual.art-oficio::before,
.module-card-visual.art-gerador::before,
.module-card-visual.art-historico-adv::before {
  opacity: .12;
}

.module-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
  pointer-events: none;
}

.module-card-visual.variant-teal {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    linear-gradient(160deg, #148f86 0%, #0d6d67 48%, #084c49 100%);
}

.module-card-visual.variant-purple {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    linear-gradient(160deg, #5b44b5 0%, #43318a 48%, #2d2161 100%);
}

.module-card-visual.variant-orange {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    linear-gradient(160deg, #c76a2d 0%, #9d4f1f 48%, #6d3716 100%);
}

.module-card-visual.variant-steel {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    linear-gradient(160deg, #4f627d 0%, #36485d 48%, #243141 100%);
}

.module-card-icon {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  font-size: 30px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}

.module-card-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 12, 20, .28);
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.module-card-title {
  position: relative;
  z-index: 1;
  margin: 58px 0 0;
  font: 700 15px/1.15 "Manrope";
  letter-spacing: .8px;
  text-transform: uppercase;
}

.module-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 0;
  background: linear-gradient(180deg, #0f1724, #0b111a);
}

.module-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.module-card-head strong {
  font-size: 12px;
  color: #edf3f9;
}

.module-tag {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.module-tag.popular {
  color: #7eb4ff;
  background: rgba(67, 130, 239, .14);
}

.module-tag.new {
  color: #5fe0c8;
  background: rgba(50, 200, 154, .12);
}

.module-tag.offline {
  color: #ff9f8d;
  background: rgba(255, 120, 96, .12);
}

.module-card-desc {
  margin: 0 0 14px;
  color: #7f8c9d;
  font-size: 10px;
  line-height: 1.55;
  min-height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.module-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  font-size: 9px;
  color: #617084;
}

.module-card-cost {
  display: block;
  color: var(--muted);
  font-size: 8px;
  margin-top: -6px;
  padding-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

.module-card-status {
  color: var(--success);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.module-card-status.locked {
  color: #ff9f8d;
}

.module-card-bar {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--success), rgba(50, 200, 154, .2));
}

.module-card.is-disabled .module-card-bar {
  background: linear-gradient(90deg, #4d5a6c, rgba(77, 90, 108, .2));
}

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 42px 20px;
  font-size: 12px;
  border: 1px dashed rgba(157, 176, 199, .16);
  background: rgba(8, 13, 22, .45);
}

.modules-list { padding: 0; }
.module-row { display: none; }

/* Página do módulo */
.module-page .module-content {
  max-width: 1180px;
}

.module-back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #8ea8cb;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
}

.module-back-link:hover {
  color: white;
}

.module-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  margin-bottom: 24px;
}

.module-hero-visual {
  min-height: 160px;
  border: 1px solid rgba(157, 176, 199, .12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%),
    linear-gradient(160deg, #1d4f9d 0%, #12386f 48%, #0d274f 100%);
}

.module-hero-visual h2 {
  margin: 48px 0 0;
  font: 700 22px "Manrope";
  letter-spacing: .5px;
}

.module-hero-copy h2 {
  margin: 8px 0 10px;
  font: 600 28px "Manrope";
  letter-spacing: -.6px;
}

.module-hero-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  max-width: 620px;
}

.module-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  gap: 20px;
  align-items: start;
}

.module-form-panel .panel-header,
.module-status-panel .panel-header {
  padding-bottom: 18px;
}

.module-form {
  padding: 0 25px 25px;
}

.module-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.module-form label {
  display: block;
  color: #bdc6d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
}

.module-form input {
  width: 100%;
  height: 46px;
  margin-top: 8px;
  border: 1px solid #2b394d;
  background: #0c141f;
  color: white;
  padding: 0 14px;
  outline: 0;
}

.module-form input:focus {
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(21, 91, 216, .14);
}

.module-start-button {
  margin-top: 18px;
}

.module-status-panel.hidden {
  display: none;
}

.run-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 25px 20px;
}

.run-metrics p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.run-metrics strong {
  font: 600 24px "Manrope";
}

.run-progress {
  height: 6px;
  margin: 0 25px 18px;
  background: rgba(157, 176, 199, .12);
  overflow: hidden;
}

.run-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--success), #7af0d2);
  transition: width .35s ease;
}

.run-alert {
  margin: 0 25px 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 141, 118, .35);
  background: rgba(255, 95, 109, .1);
  color: #ffb4a6;
  font: 500 12px/1.45 "DM Sans";
}
.run-alert[hidden] {
  display: none !important;
}

.run-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 25px 25px;
  align-items: center;
}

.run-actions [hidden] {
  display: none !important;
}

.run-actions .primary-button,
.run-actions .outline-button {
  width: auto;
  margin: 0;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.benca-history-panel {
  margin-top: 20px;
}

.benca-history-panel .panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.benca-history-note {
  margin: 0;
  color: var(--muted);
  font: 500 12px/1.45 "DM Sans";
  max-width: 280px;
  text-align: right;
}

.benca-history-empty {
  padding: 8px 25px 28px;
  color: var(--muted);
  font: 500 13px/1.55 "DM Sans";
}

.benca-history-empty.hidden,
.benca-history-table-wrap.hidden {
  display: none;
}

.benca-history-table-wrap {
  padding: 0 12px 20px;
  overflow-x: auto;
}

.benca-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.benca-history-table th,
.benca-history-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(157, 176, 199, .12);
  font: 500 13px/1.4 "DM Sans";
  color: #d7dee8;
  white-space: nowrap;
}

.benca-history-table th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 700;
}

.benca-history-status {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid rgba(122, 240, 210, .28);
  background: rgba(46, 204, 139, .1);
  color: #9af0d4;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
}

.benca-history-download {
  width: auto !important;
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.benca-history-expired {
  color: var(--muted);
  font: 500 12px/1.4 "DM Sans";
}

.hidden {
  display: none !important;
}

/* Consulta ADV por OAB */
.oab-page-content { max-width: 1320px; }
.oab-heading { margin-bottom: 26px; }
.oab-heading .eyebrow { margin-bottom: 8px; }
.oab-heading h2 { margin: 0 0 8px; font: 600 28px "Manrope"; }
.oab-heading > p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.oab-search-card {
  overflow: hidden;
  border: 1px solid rgba(157, 176, 199, .18);
  border-radius: 14px;
  background: #111a27;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}
.oab-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #0e1622;
}
.oab-tabs span {
  min-height: 55px;
  display: grid;
  place-items: center;
  position: relative;
  color: #8491a3;
  font-size: 11px;
  font-weight: 600;
}
.oab-tabs span.active { color: white; }
.oab-tabs span.active::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: #d88932;
}
.oab-search-form { padding: 34px 30px 30px; text-align: center; }
.oab-search-form .eyebrow { color: #db8a38; margin-bottom: 9px; }
.oab-search-form h3 { margin: 0 0 26px; font: 600 20px "Manrope"; }
.oab-fields {
  max-width: 610px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 84px auto;
  gap: 9px;
  align-items: end;
  text-align: left;
}
.oab-fields label { color: #bdc6d2; font-size: 10px; font-weight: 700; }
.oab-fields input, .oab-fields select {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: 1px solid #2b394d;
  border-radius: 8px;
  outline: 0;
  background: #0c141f;
  color: white;
  padding: 0 13px;
}
.oab-fields input:focus, .oab-fields select:focus {
  border-color: #d88932;
  box-shadow: 0 0 0 3px rgba(216, 137, 50, .12);
}
.oab-submit { height: 48px; border-radius: 8px; background: #10213d; }
.oab-search-form .form-error { text-align: center; margin: 12px 0 0; }
.oab-search-form > small { display: block; margin-top: 10px; color: #718095; font-size: 10px; }
.oab-results { margin-top: 22px; }
.oab-result-meta {
  margin: 6px 0 0;
  color: #8b9bb0;
  font-size: 11px;
  line-height: 1.4;
}
.oab-filter-flags {
  padding: 12px 18px 4px;
  border-bottom: 1px solid var(--line);
}
.oab-filter-flags-title {
  margin: 0 0 10px;
  color: #9aa8bc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.oab-filter-flags-title small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: #708096;
}
.oab-flag-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.oab-flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #2a3b55;
  border-radius: 8px;
  background: #0b1628;
  color: #c5d0de;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}
.oab-flag-chip input { accent-color: #3d6bb3; }
.oab-flag-chip strong {
  min-width: 1.4em;
  padding: 2px 7px;
  border-radius: 999px;
  background: #1a2d4d;
  color: #e8eef8;
  font-size: 11px;
  text-align: center;
}
.oab-flag-chip:has(input:checked) {
  border-color: #3d6bb3;
  background: #13233f;
}
.oab-flag-ident:has(input:checked) {
  border-color: #2f7d57;
}
.oab-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.oab-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: #243247;
  color: #9eb0c6;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.oab-badge-ok { background: #1d3d32; color: #8fd6b5; }
.oab-badge-warn { background: #3d2c1d; color: #e0b07a; }
.oab-toolbar {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) 120px 150px 150px auto;
  gap: 12px 14px;
  align-items: end;
  padding: 14px 18px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 33, 61, 0.35), transparent);
}
.oab-date-field .oab-date-label {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 600;
  color: #c5d0de;
}
.oab-date-field .oab-date-label input { accent-color: #3d6bb3; }
.oab-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 140px;
}
.oab-row-actions .outline-button {
  padding: 4px 8px;
  font-size: 10px;
  height: auto;
}
.oab-tool-field {
  display: grid;
  gap: 6px;
  color: #9aa8bc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.oab-tool-field input,
.oab-tool-field select {
  height: 40px;
  border: 1px solid #2a3b55;
  border-radius: 8px;
  background: #0b1628;
  color: #e8eef8;
  padding: 0 12px;
  font: 500 13px "DM Sans", sans-serif;
}
.oab-tool-field input:focus,
.oab-tool-field select:focus {
  outline: none;
  border-color: #3d6bb3;
}
.oab-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.oab-download-menu { position: relative; }
.oab-download-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 200px;
  display: grid;
  padding: 6px;
  border: 1px solid #2a3b55;
  border-radius: 10px;
  background: #0f1c33;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.oab-download-panel[hidden] { display: none; }
.oab-download-panel button {
  border: 0;
  background: transparent;
  color: #d7e2f2;
  text-align: left;
  padding: 10px 12px;
  border-radius: 7px;
  font: 500 12px "DM Sans", sans-serif;
  cursor: pointer;
}
.oab-download-panel button:hover { background: #1a2d4d; }
.oab-check-col { width: 36px; text-align: center; }
.oab-check-col input { accent-color: #3d6bb3; cursor: pointer; }
.oab-table { min-width: 1100px; }
.oab-table td { vertical-align: top; line-height: 1.5; }
.oab-table td strong, .oab-table td small { display: block; }
.oab-table td small { max-width: 260px; margin-top: 4px; color: #708096; font-size: 9px; }
.oab-load-more { display: flex; justify-content: center; padding: 18px; border-top: 1px solid var(--line); }

@media (max-width: 760px) {
  .oab-tabs { grid-template-columns: 1fr; }
  .oab-tabs span:not(.active) { display: none; }
  .oab-fields { grid-template-columns: 1fr 90px; }
  .oab-submit { grid-column: 1 / -1; width: 100%; }
  .oab-toolbar { grid-template-columns: 1fr 1fr; }
  .oab-tool-actions { grid-column: 1 / -1; justify-content: stretch; }
  .oab-tool-actions > * { flex: 1 1 auto; }
  .oab-date-field { grid-column: 1 / -1; }
}

/* Consulta cadastral por nome */
.name-query-content { max-width: 1180px; }
.name-query-hero {
  min-height: 160px;
  margin-bottom: 20px;
  padding: 30px;
  border: 1px solid rgba(67, 130, 239, .25);
  background:
    radial-gradient(circle at 88% 18%, rgba(91, 146, 245, .22), transparent 28%),
    linear-gradient(135deg, #111d31, #0d1623);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.name-query-hero .eyebrow { margin-bottom: 8px; }
.name-query-hero h2 { margin: 0 0 9px; font: 600 28px "Manrope"; }
.name-query-hero p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.name-query-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 160, 255, .3);
  background: rgba(21, 91, 216, .16);
  color: #8db9ff;
  font-size: 46px;
  transform: rotate(-8deg);
}
.name-query-search form { padding: 25px; }
.name-query-search label {
  display: block;
  margin-bottom: 9px;
  color: #bdc6d2;
  font-size: 11px;
  font-weight: 700;
}
.name-query-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid #2b394d;
  background: #0c141f;
}
.name-query-field > span { padding-left: 16px; color: #7086a5; font-size: 21px; }
.name-query-field input {
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: white;
  padding: 0 13px;
}
.name-query-field:focus-within {
  border-color: var(--cobalt-light);
  box-shadow: 0 0 0 3px rgba(21, 91, 216, .12);
}
.name-query-field .primary-button { height: 38px; margin-right: 7px; }
.name-query-search form > small { color: #68778a; font-size: 9px; }
.name-query-results { margin-top: 26px; }
.name-results-header {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.name-results-header .eyebrow { margin-bottom: 7px; }
.name-results-header h2 { margin: 0; font: 600 23px "Manrope"; }
.name-data-card { margin-bottom: 16px; }
.name-data-grid {
  margin: 0;
  padding: 20px 25px 25px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.name-data-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(157, 176, 199, .11);
  background: #0d1520;
}
.name-data-grid dt {
  margin-bottom: 6px;
  color: #637287;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.name-data-grid dd { margin: 0; color: #e8eef5; font-size: 11px; overflow-wrap: anywhere; }
.name-result-columns {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.name-list { padding: 12px 20px 20px; }
.name-list-item {
  padding: 11px 4px;
  border-bottom: 1px solid rgba(157, 176, 199, .09);
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.name-list-item span { color: #66758a; font-size: 9px; }
.name-list-item strong { color: #dbe4ef; font-size: 10px; overflow-wrap: anywhere; }
.name-list-empty, .name-result-empty {
  margin: 0;
  padding: 30px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}
.address-grid {
  padding: 20px 25px 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.address-card {
  padding: 16px;
  border: 1px solid rgba(157, 176, 199, .12);
  background: #0d1520;
}
.address-card strong, .address-card span, .address-card small { display: block; }
.address-card strong { margin-bottom: 8px; color: #e9eff6; font-size: 11px; }
.address-card span { margin-top: 4px; color: #8795a8; font-size: 9px; }
.address-card small { margin-top: 10px; color: #6fa5f5; font-size: 8px; }

@media (max-width: 850px) {
  .name-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .address-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .name-query-icon { display: none; }
  .name-query-field { grid-template-columns: auto minmax(0, 1fr); }
  .name-query-field .primary-button { grid-column: 1 / -1; width: calc(100% - 14px); margin: 0 7px 7px; }
  .name-data-grid, .name-result-columns { grid-template-columns: 1fr; }
}

/* Consulta por CPF */
.cpf-query-content { max-width: 1180px; }
.cpf-query-hero {
  min-height: 160px;
  margin-bottom: 20px;
  padding: 30px;
  border: 1px solid rgba(216, 106, 50, .28);
  background:
    radial-gradient(circle at 88% 18%, rgba(229, 126, 70, .24), transparent 28%),
    linear-gradient(135deg, #251a18, #111720);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cpf-query-hero .eyebrow { margin-bottom: 8px; color: #ef8a55; }
.cpf-query-hero h2 { margin: 0 0 9px; font: 600 28px "Manrope"; }
.cpf-query-hero p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.cpf-query-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 138, 85, .35);
  background: rgba(216, 106, 50, .14);
  color: #ef9b6e;
  font-size: 42px;
  transform: rotate(5deg);
}
.cpf-query-field:focus-within {
  border-color: #dc793f;
  box-shadow: 0 0 0 3px rgba(216, 106, 50, .12);
}
.cpf-query-field .primary-button {
  background: linear-gradient(90deg, #a34c22, #d86a32);
  box-shadow: 0 12px 30px rgba(216, 106, 50, .2);
}
.cpf-record + .cpf-record {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cpf-address-grid { grid-template-columns: 1fr; }

@media (max-width: 620px) {
  .cpf-query-icon { display: none; }
}

@media (max-width: 980px) {
  .module-hero,
  .module-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .module-form-grid,
  .run-metrics {
    grid-template-columns: 1fr;
  }
}

dialog { width: min(540px, calc(100% - 30px)); border: 1px solid #304157; padding: 0; color: var(--text); background: #121b28; box-shadow: 0 30px 100px #000; }
dialog::backdrop { background: rgba(3, 7, 12, .78); backdrop-filter: blur(4px); }
dialog form { padding: 28px; }
dialog header { display: flex; justify-content: space-between; margin-bottom: 25px; }
dialog h3 { margin: 0; font: 600 22px "Manrope"; }
dialog header p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.dialog-close { border: 0; background: transparent; color: var(--muted); font-size: 25px; align-self: start; cursor: pointer; }
dialog > form > input { width: 100%; height: 46px; border: 1px solid #2b394d; background: #0c141f; color: white; padding: 0 14px; outline: 0; }
dialog input, dialog select { width: 100%; height: 46px; border: 1px solid #2b394d; background: #0c141f; color: white; padding: 0 14px; outline: 0; }
dialog input:focus, dialog select:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(21, 91, 216, .14); }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
fieldset { border: 0; padding: 0; margin: 24px 0 0; }
legend { color: #bdc6d2; font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.dialog-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 250px; overflow: auto; }
.dialog-modules label { margin: 0; border: 1px solid #283548; padding: 11px; display: flex; gap: 10px; align-items: center; cursor: pointer; }
.dialog-modules label:has(input:checked) { border-color: var(--cobalt); background: rgba(21, 91, 216, .1); }
.dialog-modules input { accent-color: var(--cobalt); }
.dialog-modules strong, .dialog-modules small { display: block; }
.dialog-modules strong { font-size: 10px; }
.dialog-modules small { color: var(--muted); font-size: 8px; margin-top: 3px; }
dialog footer { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; }
.primary-button.compact { width: auto; min-height: 38px; margin: 0; padding: 0 18px; }

/* Modal Configurar acesso */
.access-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-color: rgba(157, 176, 199, .22);
  background: linear-gradient(180deg, #141e2c 0%, #101824 100%);
}
.access-dialog-form {
  padding: 0 !important;
  display: grid;
}
.access-dialog-header {
  margin: 0;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(20, 30, 44, .96);
  backdrop-filter: blur(8px);
}
.access-dialog-header h3 {
  font: 600 24px/1.15 "Manrope";
  letter-spacing: -0.4px;
}
.access-section {
  padding: 20px 26px;
  border-bottom: 1px solid rgba(157, 176, 199, .1);
  display: grid;
  gap: 14px;
}
.access-section-head h4 {
  margin: 0;
  font: 600 15px/1.3 "Manrope";
  color: var(--text);
}
.access-section-head .eyebrow {
  margin-bottom: 6px;
}
.access-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font: 500 12px/1.45 "DM Sans";
  max-width: 58ch;
}
.access-field {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #bdc6d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
}
.access-field small {
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  font-size: 11px;
}
.access-dialog .dialog-grid {
  margin: 0;
}
.access-dialog .dialog-modules {
  max-height: 320px;
  gap: 10px;
}
.access-module-card {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  padding: 12px !important;
  background: rgba(8, 13, 22, .45);
  transition: border-color .15s, background .15s;
}
.access-module-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.access-module-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #17263a;
  font-size: 16px;
}
.access-module-icon.variant-cobalt { color: var(--cobalt-light); }
.access-module-icon.variant-purple { color: #b39cff; }
.access-module-icon.variant-orange { color: #f0a36d; }
.access-module-icon.variant-teal { color: #6fd4c2; }
.access-module-icon.variant-steel { color: #9eb0c5; }
.access-module-copy {
  min-width: 0;
}
.access-module-copy strong {
  font: 600 12px/1.3 "Manrope" !important;
  color: var(--text);
}
.access-module-copy small {
  font-size: 10px !important;
  margin-top: 2px !important;
}
.access-module-billing {
  padding: 3px 7px;
  border: 1px solid var(--line);
  font: 700 8px/1 "DM Sans";
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.access-module-billing--mensal {
  color: #8eb7ff;
  border-color: rgba(142, 183, 255, .35);
}
.access-module-billing--por_uso {
  color: #7ddea8;
  border-color: rgba(125, 222, 168, .35);
}
.access-module-card:has(input:checked) {
  border-color: rgba(67, 130, 239, .55) !important;
  background: rgba(21, 91, 216, .14) !important;
}
.access-module-card:has(input:checked) .access-module-icon {
  border-color: rgba(67, 130, 239, .45);
  background: rgba(21, 91, 216, .2);
}
.access-section--plans {
  background: rgba(8, 13, 22, .28);
}
.user-plan-card {
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  background: rgba(13, 21, 32, .7);
  display: grid;
  gap: 8px;
}
.user-plan-card--ok {
  border-color: rgba(125, 222, 168, .3);
}
.user-plan-card--off {
  border-color: rgba(240, 197, 109, .28);
}
.user-plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.user-plan-card-head strong {
  font: 600 13px/1.3 "Manrope";
}
.user-plan-card-msg {
  margin: 0;
  color: #a8b4c4;
  font: 500 12px/1.45 "DM Sans";
}
.user-plan-card-price {
  display: block;
  margin-top: 6px;
  color: #8491a3;
  font: 600 11px/1.4 "DM Sans";
}
.user-plan-grant {
  margin-top: 12px;
  width: 100%;
}
.access-dialog #dialog-error {
  margin: 0;
  padding: 0 26px;
}
.access-dialog-footer {
  position: sticky;
  bottom: 0;
  margin: 0 !important;
  padding: 16px 26px 20px !important;
  background: rgba(16, 24, 36, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.access-dialog-footer .primary-button {
  margin-top: 0;
  width: auto;
  min-height: 42px;
}
.module-detail { padding: 28px; }
.module-detail header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.module-detail h4 { margin: 24px 0 10px; font: 600 13px "Manrope"; }
.module-detail ul { margin: 0; padding-left: 20px; color: #aeb9c7; font-size: 11px; line-height: 1.9; }
.module-detail-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: var(--success); background: rgba(50, 200, 154, .08); font-size: 9px; text-transform: uppercase; letter-spacing: .7px; }
.module-detail-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.module-cost-editor { margin-top: 18px; border: 1px solid var(--line); padding: 14px; background: rgba(7, 15, 29, .28); }
.module-cost-editor label,
.module-cost-editor small { display: block; }
.module-cost-editor label { color: #bdc6d2; font-size: 10px; font-weight: 700; margin-bottom: 9px; text-transform: uppercase; letter-spacing: .7px; }
.module-cost-editor div { display: flex; gap: 10px; align-items: center; }
.module-cost-editor input { width: 140px; height: 38px; border: 1px solid #2b394d; background: #0c141f; color: white; padding: 0 12px; outline: 0; }
.module-cost-editor small { color: var(--muted); font-size: 9px; margin-top: 8px; }
.module-users { display: flex; flex-wrap: wrap; gap: 7px; }
.module-user { padding: 6px 9px; border: 1px solid #29384d; color: #aab7c7; font-size: 9px; }
.module-users-empty { color: var(--muted); font-size: 10px; }
.detector-content { display: grid; gap: 18px; }
.detector-hero .cpf-query-icon { font-size: 18px; letter-spacing: 0; }

.detector-whatsapp-page .detector-stat-grid {
  margin: 0;
}

.detector-whatsapp-page .detector-step-badge,
.oficio-page .detector-step-badge,
.module-step-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(67, 130, 239, .35);
  background: rgba(21, 91, 216, .12);
  color: #8eb6f5;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.detector-whatsapp-page .detector-stage > .panel-header h3 {
  margin: 0;
  font: 600 20px/1.2 "Manrope";
  letter-spacing: -0.3px;
}

.detector-whatsapp-page .detector-panel-body {
  padding: 0 25px 24px;
  display: grid;
  gap: 14px;
}

.detector-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.detector-session-form,
.detector-validate-form {
  display: grid;
  gap: 10px;
}

.detector-whatsapp-page .detector-field {
  display: block;
  color: #bdc6d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
}

.detector-hint {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.detector-whatsapp-page .detector-validate-form select,
.detector-whatsapp-page .detector-validate-form textarea,
.detector-whatsapp-page .detector-session-form input {
  width: 100%;
  border: 1px solid #2b394d;
  background: #0c141f;
  color: var(--text);
  outline: 0;
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}

.detector-whatsapp-page .detector-session-form input,
.detector-whatsapp-page .detector-validate-form select {
  height: 44px;
  padding: 0 12px;
}

.detector-whatsapp-page .detector-validate-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8491a3 50%),
    linear-gradient(135deg, #8491a3 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.detector-whatsapp-page .detector-validate-form textarea {
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

.detector-whatsapp-page .detector-validate-form select:focus,
.detector-whatsapp-page .detector-validate-form textarea:focus,
.detector-whatsapp-page .detector-session-form input:focus {
  border-color: var(--cobalt-light);
  box-shadow: 0 0 0 3px rgba(21, 91, 216, .14);
}

.detector-session-list { display: grid; gap: 12px; }
.detector-session-card {
  border: 1px solid var(--line);
  background: rgba(7, 15, 29, .35);
  padding: 14px;
}
.detector-session-card header,
.detector-session-card footer,
.detector-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.detector-session-card strong,
.detector-session-card small { display: block; }
.detector-session-card small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.detector-session-card footer { margin-top: 12px; }
.detector-qr {
  margin: 14px 0 4px;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 6px;
}
.detector-qr img { width: min(240px, 100%); height: auto; display: block; }
.detector-disconnect-all { width: 100%; }
.detector-results .table-wrap { margin-top: 0; }
.detector-row-error { display: block; color: var(--muted); margin-top: 5px; font-size: 10px; }

@media (max-width: 980px) {
  .detector-whatsapp-page .detector-grid { grid-template-columns: 1fr; }
  .detector-whatsapp-page .detector-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .detector-whatsapp-page .detector-stat-grid { grid-template-columns: 1fr 1fr; }
  .detector-whatsapp-page .detector-panel-body { padding: 0 16px 18px; }
}

/* agent-css-pricing — custo visível */
.price-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(50, 200, 154, .45);
  background: rgba(50, 200, 154, .12);
  color: #7ddea8;
  font: 700 11px/1 "DM Sans", sans-serif;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.price-callout {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(50, 200, 154, .35);
  background:
    linear-gradient(135deg, rgba(50, 200, 154, .14), transparent 55%),
    rgba(8, 18, 28, .92);
}

.price-callout-main {
  display: grid;
  gap: 4px;
}

.price-callout-label {
  color: #9eb0c2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.price-callout-value {
  color: #7ddea8;
  font: 700 clamp(28px, 4vw, 36px)/1 "Manrope", sans-serif;
  letter-spacing: -0.8px;
}

.price-callout-unit {
  color: #c5d0dc;
  font-size: 12px;
  font-weight: 500;
}

.price-estimate {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(157, 176, 199, .16);
  color: #8491a3;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
}

.price-estimate strong {
  color: var(--text);
  font: 600 14px/1.2 "Manrope", sans-serif;
}

.detector-whatsapp-page .module-stat--price strong {
  color: #7ddea8;
}
.outline-button.danger { border-color: rgba(255, 95, 109, .45); color: #ff9aa6; }
.toast { position: fixed; bottom: 25px; right: 25px; transform: translateY(90px); opacity: 0; background: #152638; border: 1px solid #28527d; color: white; padding: 13px 18px; font-size: 10px; transition: .25s; z-index: 20; }
.toast.visible { transform: translateY(0); opacity: 1; }

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .brand-panel { min-height: 42vh; padding: 35px 7vw; }
  .brand-message { padding: 70px 0 15px; }
  .brand-message h1 { font-size: clamp(38px, 8vw, 64px); max-width: 700px; }
  .brand-foot { display: none; }
  .brand-mascot { width: 64px; height: 64px; opacity: 0.22; margin-bottom: 18px; }
  .login-area { padding: 50px 20px 80px; }
  .copyright { bottom: 20px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 20; transform: translateX(-100%); transition: .25s; width: 236px; }
  .sidebar.open { transform: translateX(0); }
  .menu-button { display: block; }
  .admin-grid { grid-template-columns: 1fr; }
  .catalog-grid,
  #modules-list.catalog-grid,
  .modules-list.catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .detector-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .brand-panel { min-height: 36vh; }
  .brand-message { padding-top: 60px; }
  .brand-message h1 { letter-spacing: -2px; }
  .brand-message > p:last-child { display: none; }
  .login-card { padding: 38px 27px 28px; }
  .topbar { padding: 0 18px; }
  .topbar > div:nth-child(2) { display: none; }
  .admin-profile div { display: none; }
  .dashboard-content { padding: 25px 16px 45px; }
  .welcome-row { align-items: start; gap: 20px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .usage-24h-grid { grid-template-columns: 1fr 1fr; }
  .usage-module-list li { flex-direction: column; align-items: flex-start; }
  .metric-card { min-height: 110px; }
  .panel-header { align-items: start; gap: 16px; flex-direction: column; }
  .panel-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .panel-actions .primary-button { width: 100%; }
  .search-box { width: 100%; }
  .catalog-header { flex-direction: column; align-items: flex-start; }
  .catalog-grid,
  #modules-list.catalog-grid,
  .modules-list.catalog-grid {
    grid-template-columns: 1fr;
  }
  .module-search { max-width: none; }
  .dialog-modules { grid-template-columns: 1fr; }
  .dialog-grid { grid-template-columns: 1fr; }
}

/* ——— ADV Listas ——— */
.adv-listas-page .adv-listas-workspace {
  display: grid;
  gap: 22px;
  max-width: 920px;
}
.adv-listas-panel,
.adv-listas-jobs-panel {
  overflow: hidden;
}
.adv-listas-panel > .billing-hint {
  margin: 0 25px 18px;
}
.adv-listas-panel > .panel-header h2,
.adv-listas-jobs-panel > .panel-header h2 {
  margin: 0;
  font: 600 22px/1.2 "Manrope";
  letter-spacing: -0.4px;
}
.module-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 25px 22px;
}
.module-stat {
  padding: 14px 14px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 31, 45, .95), rgba(13, 20, 31, .98));
  display: grid;
  gap: 6px;
}
.module-stat span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.module-stat strong {
  color: var(--text);
  font: 600 15px/1.2 "Manrope";
  overflow-wrap: anywhere;
}
.adv-listas-form {
  padding: 0 25px 26px;
  display: grid;
  gap: 16px;
}
.adv-listas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.adv-field {
  display: grid;
  gap: 8px;
  color: #bdc6d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
}
.adv-field select,
.adv-field textarea {
  width: 100%;
  border: 1px solid #293548;
  background: rgba(8, 13, 22, .72);
  color: var(--text);
  font: 500 13px/1.45 "DM Sans";
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.adv-field select {
  height: 46px;
  padding: 0 38px 0 14px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7086a5 50%),
    linear-gradient(135deg, #7086a5 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.adv-field textarea {
  min-height: 220px;
  padding: 14px 16px;
  resize: vertical;
}
.adv-field select:focus,
.adv-field textarea:focus {
  border-color: var(--cobalt-light);
  box-shadow: 0 0 0 3px rgba(21, 91, 216, .14);
}
.adv-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(13, 21, 32, .55);
  color: #c5ced9;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.adv-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--cobalt);
  margin: 0;
}
.file-drop {
  position: relative;
  display: block;
  border: 1px dashed rgba(157, 176, 199, .28);
  background: rgba(8, 13, 22, .55);
  min-height: 72px;
  transition: border-color .2s, background .2s;
}
.file-drop:hover {
  border-color: rgba(67, 130, 239, .45);
  background: rgba(21, 91, 216, .08);
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-drop-ui {
  display: grid;
  gap: 4px;
  padding: 18px 16px;
  pointer-events: none;
}
.file-drop-ui strong {
  color: var(--text);
  font: 600 13px "DM Sans";
}
.file-drop-ui small {
  color: var(--muted);
  font-size: 11px;
}
.adv-listas-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 4px;
}
.adv-listas-panel > .adv-listas-actions {
  margin: 0 25px 16px;
}
.adv-listas-actions .primary-button {
  flex: 1 1 220px;
  margin-top: 0;
  width: auto;
}
.adv-listas-actions .outline-button,
.adv-listas-actions .ghost-button {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.adv-listas-panel > #adv-download {
  margin: 0 25px 18px;
  width: fit-content;
}
.adv-listas-msg {
  margin: 0 25px 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.adv-listas-jobs-panel .adv-jobs-list {
  padding: 8px 20px 22px;
  display: grid;
  gap: 10px;
}
.adv-job-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px 13px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 31, 45, .88), rgba(13, 20, 31, .96));
}
.adv-job-item--ok {
  border-color: rgba(125, 222, 168, .28);
}
.adv-job-item--warn {
  border-color: rgba(240, 197, 109, .28);
}
.adv-job-item--run {
  border-color: rgba(67, 130, 239, .35);
}
.adv-job-main {
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.adv-job-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.adv-job-head strong {
  color: var(--text);
  font: 600 13px/1.35 "Manrope";
  overflow-wrap: anywhere;
}
.adv-job-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
  font: 700 9px/1 "DM Sans";
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.adv-job-badge--ok {
  color: #7ddea8;
  border-color: rgba(125, 222, 168, .35);
}
.adv-job-badge--warn {
  color: #f0c56d;
  border-color: rgba(240, 197, 109, .4);
}
.adv-job-badge--run {
  color: #8eb7ff;
  border-color: rgba(142, 183, 255, .4);
}
.adv-job-badge--muted {
  color: var(--muted);
}
.adv-job-msg {
  margin: 0;
  color: #9aa8ba;
  font: 500 12px/1.45 "DM Sans";
}
.adv-job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.outline-button.compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 9px;
}
@media (max-width: 720px) {
  .module-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .adv-listas-grid,
  .plan-pay-grid {
    grid-template-columns: 1fr;
  }
  .plan-pay-meta {
    grid-template-columns: 1fr;
  }
  .plan-credit-stats {
    grid-template-columns: 1fr;
  }
  .adv-listas-actions .primary-button,
  .adv-listas-actions .outline-button,
  .adv-listas-actions .ghost-button,
  .plan-pay-actions .primary-button,
  .plan-pay-actions .outline-button {
    flex: 1 1 100%;
    width: 100%;
  }
  .access-dialog .dialog-modules {
    grid-template-columns: 1fr;
  }
}

/* Suporte flutuante WhatsApp / Telegram */
.support-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.support-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.support-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.support-btn-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.support-btn-text {
  display: grid;
  gap: 2px;
  line-height: 1.2;
}
.support-btn-text strong {
  font: 700 12px "DM Sans", sans-serif;
}
.support-btn-text small {
  font: 500 10px "DM Sans", sans-serif;
  opacity: 0.9;
}
.support-btn-wa { background: #1fa855; }
.support-btn-tg { background: #229ed9; }

@media (max-width: 720px) {
  .support-widget { right: 12px; bottom: 12px; }
  .support-btn { min-width: 0; padding: 11px; border-radius: 999px; }
  .support-btn-text { display: none; }
}

/* Ofício — agent-css-module-art / agent-css-advanced */
.oficio-page .oficio-content {
  display: grid;
  gap: 18px;
}
.oficio-page .oficio-aviso:empty {
  display: none;
}
.oficio-page .oficio-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 18px;
  align-items: start;
}
.oficio-page .oficio-stage[hidden] {
  display: none !important;
}
.oficio-page .oficio-stage > .panel-header h3 {
  margin: 0;
  font: 600 20px/1.2 "Manrope";
  letter-spacing: -0.3px;
}
.oficio-page .oficio-form {
  padding: 0 25px 24px;
  display: grid;
  gap: 14px;
}
.oficio-page .oficio-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.oficio-page .oficio-fields--pair {
  grid-template-columns: 1fr 1fr;
}
.oficio-page .oficio-field {
  display: grid;
  gap: 8px;
  color: #bdc6d2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.oficio-page .oficio-field input,
.oficio-page .oficio-field textarea {
  width: 100%;
  border: 1px solid #2b394d;
  background: #0c141f;
  color: var(--text);
  outline: 0;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.oficio-page .oficio-field input {
  height: 44px;
  padding: 0 12px;
}
.oficio-page .oficio-field textarea {
  min-height: 220px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}
.oficio-page .oficio-field input:focus,
.oficio-page .oficio-field textarea:focus {
  border-color: var(--cobalt-light);
  box-shadow: 0 0 0 3px rgba(21, 91, 216, 0.14);
}
.oficio-page .oficio-form .primary-button {
  margin-top: 4px;
}
@media (max-width: 980px) {
  .oficio-page .oficio-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .oficio-page .oficio-fields,
  .oficio-page .oficio-fields--pair {
    grid-template-columns: 1fr;
  }
  .oficio-page .oficio-form {
    padding: 0 16px 18px;
  }
}

/* agent-css-consulta-access */
.consulta-access-callout {
  display: grid;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(50, 200, 154, .32);
  background:
    linear-gradient(135deg, rgba(50, 200, 154, .12), transparent 55%),
    rgba(8, 16, 26, .92);
}
.consulta-access-callout--blocked {
  border-color: rgba(240, 197, 109, .4);
  background:
    linear-gradient(135deg, rgba(240, 197, 109, .12), transparent 55%),
    rgba(18, 14, 8, .92);
}
.consulta-access-main {
  display: grid;
  gap: 4px;
}
.consulta-access-label {
  color: #9eb0c2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.consulta-access-value {
  color: #7ddea8;
  font: 700 clamp(28px, 4vw, 36px)/1 "Manrope", sans-serif;
  letter-spacing: -0.8px;
}
.consulta-access-callout--blocked .consulta-access-value {
  color: #f0c56d;
}
.consulta-access-unit {
  color: #d5dee8;
  font-size: 13px;
  font-weight: 600;
}
.consulta-access-hint {
  margin: 4px 0 0;
  color: #8491a3;
  font-size: 12px;
  line-height: 1.4;
}
.consulta-access-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.consulta-access-stats > div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(12, 20, 31, .7);
  display: grid;
  gap: 4px;
}
.consulta-access-stats span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.consulta-access-stats strong {
  color: var(--text);
  font: 600 16px/1.2 "Manrope", sans-serif;
}
.consulta-access-msg {
  margin: 0;
  color: #f0c56d;
  font-size: 12px;
  line-height: 1.4;
}
.consulta-access-msg[hidden] {
  display: none;
}
@media (max-width: 720px) {
  .consulta-access-stats {
    grid-template-columns: 1fr;
  }
}



