:root {
  --bg: #ffffff;
  --text: #1d1d1f;
  --muted: rgba(29, 29, 31, 0.62);
  --faint: rgba(29, 29, 31, 0.42);
  --blue: #0071e3;
  --blue-2: #2997ff;
  --glass: rgba(255, 255, 255, 0.78);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --stroke: rgba(0, 0, 0, 0.08);
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --ink: #1d1d1f;
  --line: rgba(0, 0, 0, 0.08);
  --gold: #0071e3;
  --gold-bright: #2997ff;
  --gold-dim: #0071e3;
  --ok: #15803d;
  --bad: #b91c1c;
  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --panel-2: #fff;
  --cnt-accent: #0071e3;
  --cnt-accent-rgb: 148, 163, 184;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.cnt-app,
body.wallpaper {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body.wallpaper.theme-light {
  /* Base luminosa: branco Brasil + orbs (cor via JS) */
  background:
    radial-gradient(ellipse 95% 60% at 8% -10%, rgba(var(--cnt-accent-rgb, 148, 163, 184), 0.18), transparent 58%),
    radial-gradient(ellipse 75% 50% at 96% 0%, rgba(100, 116, 139, 0.08), transparent 52%),
    radial-gradient(ellipse 65% 45% at 48% 108%, rgba(148, 163, 184, 0.1), transparent 55%),
    linear-gradient(155deg, #ffffff 0%, #fffefb 22%, #f5f7fa 55%, #ffffff 100%);
  background-attachment: fixed;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  /* Contraste WCAG-friendly sobre branco */
  --text: #0f172a;
  --ink: #0f172a;
  --muted: rgba(15, 23, 42, 0.72);
  --faint: rgba(15, 23, 42, 0.55);
  --glass: rgba(255, 255, 255, 0.92);
  --glass-strong: rgba(255, 255, 255, 0.97);
  --stroke: rgba(15, 23, 42, 0.12);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.07);
  --line: rgba(15, 23, 42, 0.12);
}

body.wallpaper.theme-light::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.7), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.45), transparent 26%);
  pointer-events: none;
  z-index: 0;
}

/* Camada de orbs IMAX (todas as cores) */
.cnt-glow-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.cnt-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  animation: cntGlowDrift 18s ease-in-out infinite;
}
.cnt-glow-orb.g1 {
  width: 520px; height: 520px; top: -8%; left: -12%;
  background: var(--orb-a, rgba(0, 156, 59, 0.4));
}
.cnt-glow-orb.g2 {
  width: 440px; height: 440px; top: 38%; right: -14%;
  background: var(--orb-b, rgba(0, 39, 118, 0.28));
  animation-delay: -6s;
}
.cnt-glow-orb.g3 {
  width: 360px; height: 360px; bottom: 2%; left: 28%;
  background: var(--orb-c, rgba(255, 223, 0, 0.28));
  animation-delay: -11s;
}
@keyframes cntGlowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(22px, -16px) scale(1.08); opacity: 0.7; }
}

body.wallpaper.theme-light .top-jump-link {
  background: rgba(11, 27, 43, 0.06);
  color: #0b1b2b;
}
body.wallpaper.theme-light .top-jump-link.is-current {
  background: rgba(var(--cnt-accent-rgb, 0, 156, 59), 0.18);
  color: #0b1b2b;
  box-shadow: 0 0 0 1px rgba(var(--cnt-accent-rgb, 0, 156, 59), 0.25);
}
body.wallpaper.theme-light .page-title,
body.wallpaper.theme-light .brand,
body.wallpaper.theme-light .bento-h,
body.wallpaper.theme-light .page-lead,
body.wallpaper.theme-light .page-kicker {
  color: #0b1b2b;
}
body.wallpaper.theme-light .brand {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
body.wallpaper.theme-light .glass {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 27, 43, 0.12);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    0 1px 2px rgba(11, 27, 43, 0.04),
    0 8px 24px rgba(11, 27, 43, 0.07),
    0 20px 48px rgba(11, 27, 43, 0.05);
  transition: transform 0.22s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}
body.wallpaper.theme-light .glass:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 27, 43, 0.18);
  box-shadow:
    0 2px 4px rgba(11, 27, 43, 0.05),
    0 14px 32px rgba(11, 27, 43, 0.1),
    0 28px 56px rgba(11, 27, 43, 0.07);
}
body.wallpaper.theme-light .icon-btn {
  background: rgba(255, 255, 255, 0.85);
  color: #0b1b2b;
  border: 1px solid rgba(11, 27, 43, 0.12);
  box-shadow: 0 2px 8px rgba(11, 27, 43, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.wallpaper.theme-light .icon-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(11, 27, 43, 0.12);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.shell {
  min-height: 100dvh;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.shell > .page { flex: 1 0 auto; }

/* ?? Topbar MonTal ?? */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 28px;
  position: relative;
  z-index: 40;
  flex-wrap: wrap;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 20px;
}

.brand .mark,
.topbar__brand img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.top-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.top-jump-link {
  box-sizing: border-box;
  min-width: 96px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
  border: 1px solid rgba(11, 27, 43, 0.12);
  box-shadow: 0 2px 8px rgba(11, 27, 43, 0.05);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.top-jump-link:hover {
  background: #fff;
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(11, 27, 43, 0.18);
  box-shadow: 0 8px 20px rgba(11, 27, 43, 0.12);
}
.top-jump-link.is-current {
  background: rgba(0, 113, 227, 0.14);
  color: #0b1b2b;
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.12);
}

.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cnt-nav-userblock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.02rem;
  padding: 0.1rem 0.35rem 0.1rem 0.15rem;
  line-height: 1.15;
  min-width: 0;
}

.cnt-nav-userblock__name {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d1d1f;
}

.cnt-nav-userblock__link {
  font-size: 0.72rem;
  line-height: 1.25;
  color: #64748b;
  text-decoration: none;
  white-space: nowrap;
}

.cnt-nav-userblock__link:hover,
.cnt-nav-userblock__link:focus-visible {
  color: #0f172a;
  text-decoration: underline;
}

.cnt-nav-key {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .cnt-nav-userblock { display: none; }
}

body.wallpaper:not(.theme-light) .cnt-nav-userblock__name { color: #f1f5f9; }
body.wallpaper:not(.theme-light) .cnt-nav-userblock__link { color: #94a3b8; }
body.wallpaper:not(.theme-light) .cnt-nav-userblock__link:hover,
body.wallpaper:not(.theme-light) .cnt-nav-userblock__link:focus-visible { color: #f8fafc; }

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.06);
  color: #1d1d1f;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.icon-btn img { display: block; border-radius: 50%; }
.user-chip { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }

/* legacy aliases */
.topbar__brand { display: flex; align-items: center; gap: 0.65rem; }
.topbar__nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.topbar__right { display: flex; align-items: center; gap: 0.6rem; }

/* ?? Page / module ?? */
.page,
.main {
  position: relative;
  z-index: 1;
  padding: 8px 28px 48px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.main--wide,
.page.main--wide {
  max-width: 1480px;
}

.module-head,
.page-head,
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 16px;
}

.crumb,
.page-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--faint);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.crumb a,
.page-kicker a { color: var(--muted); }

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 650;
  color: var(--text);
  line-height: 1.1;
}

/* Entrada suave das páginas */
.page-head {
  animation: cntEnterUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.criativos-grid > .criativo-card,
.app-grid > .glass,
.bento-tile {
  animation: cntEnterUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.criativos-grid > .criativo-card:nth-child(1) { animation-delay: 0.04s; }
.criativos-grid > .criativo-card:nth-child(2) { animation-delay: 0.08s; }
.criativos-grid > .criativo-card:nth-child(3) { animation-delay: 0.12s; }
.criativos-grid > .criativo-card:nth-child(4) { animation-delay: 0.16s; }
.criativos-grid > .criativo-card:nth-child(5) { animation-delay: 0.2s; }
.criativos-grid > .criativo-card:nth-child(6) { animation-delay: 0.24s; }
@keyframes cntEnterUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-head,
  .criativos-grid > .criativo-card,
  .app-grid > .glass,
  .bento-tile { animation: none; }
}

.page-lead,
.muted { color: var(--muted); }
.page-lead { margin: 0.4rem 0 0; max-width: 36rem; line-height: 1.45; font-size: 0.95rem; }

/* ?? Glass / cards ?? */
.glass {
  background: var(--glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  min-height: 160px;
}

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

@media (max-width: 960px) {
  .cad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cad-grid { grid-template-columns: 1fr; }
  .topbar { padding: 14px 16px; }
  .page, .main { padding: 8px 16px 40px; }
}

.cad-card {
  color: var(--text);
  display: block;
  min-height: 180px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cad-card:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.1); }
.cad-card h2 { font-size: 22px; margin: 8px 0 6px; font-weight: 600; letter-spacing: -0.03em; }
.cad-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.1rem;
}
.cad-kpi {
  margin: 1rem 0 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}

.seg-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) { .seg-cards { grid-template-columns: 1fr; } }

.seg-card {
  display: block;
  background: var(--glass);
  backdrop-filter: blur(28px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
  min-height: 140px;
}
.seg-card:hover { box-shadow: var(--shadow); }
.seg-card h2 { margin: 0 0 0.3rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; }
.seg-card p { margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.seg-card .arrow { color: var(--blue); font-weight: 600; font-size: 0.85rem; }

.cfg-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.cfg-card {
  display: block;
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-soft);
  min-height: 120px;
}
.cfg-card:hover { box-shadow: var(--shadow); }
.cfg-ico { font-size: 1.35rem; display: block; margin-bottom: 0.45rem; }
.cfg-card h2 { margin: 0 0 0.25rem; font-size: 1.1rem; font-weight: 600; }
.cfg-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }

/* ?? Pills / buttons ?? */
.pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}

.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--gold,
.btn-blue { background: var(--blue); color: #fff; }
.btn--gold:hover,
.btn-blue:hover { background: var(--blue-2); }
.btn--ghost,
.pill-ghost {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  border: 0;
}
.btn--dark { background: #1d1d1f; color: #fff; }
.btn--soft {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--stroke);
}
.btn:disabled, .btn--soft:disabled { opacity: 0.4; cursor: not-allowed; }

.view-toggle { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ?? Forms / tables ?? */
.filters,
.toolbar,
.form-panel,
.table-wrap {
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.filters { padding: 1rem 1.1rem; margin-bottom: 0.9rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; padding: 1rem 1.1rem; margin-bottom: 1rem; }
.form-panel { padding: 1.25rem 1.35rem; margin-bottom: 1rem; min-height: 0; }
.form-subtitle { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.85rem; letter-spacing: -0.02em; }
.form-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }

.filters__row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.filters .field { margin: 0; flex: 0 1 160px; }
.filters .field--grow { flex: 1 1 220px; min-width: 180px; }
.toolbar .field { margin: 0; flex: 1 1 140px; }
.field { margin-bottom: 0.85rem; }
.toolbar label,
.filters label,
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.filters input, .filters select,
.toolbar input, .toolbar select,
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #fff;
}
.filters input:focus, .filters select:focus,
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}

.filters__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--stroke);
}
.cotacao-inline { display: flex; align-items: center; gap: 0.75rem; flex: 1 1 240px; }
.cotacao-inline__label { font-size: 0.85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.cotacao-inline input[type=range] { flex: 1; max-width: 200px; accent-color: var(--blue); }
.filters__actions { display: flex; gap: 0.45rem; flex-wrap: wrap; align-items: center; }
.filters__hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.filters__hint--regra {
  margin-top: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.1);
  color: var(--ink, #0b1c2c);
  font-size: 0.84rem;
  line-height: 1.45;
}
#btnStoryCota:not([disabled]) {
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}
#btnStoryCota[disabled] {
  opacity: 0.55;
}
.field-hint { display: block; margin-top: 0.3rem; font-size: 0.75rem; color: var(--muted); }
.check-row { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: 0.45rem; }
.check-row label {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.88rem; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--text);
}

.table-wrap { overflow: auto; }
table.cotas, table.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}
.th-sort {
  display: inline-flex; align-items: center; gap: 0.28rem;
  color: inherit; text-decoration: none; font: inherit; white-space: nowrap;
}
.th-sort:hover { color: var(--blue); }
.th-sort.is-on { color: var(--blue); }
.th-sort__ico { font-size: 0.72rem; opacity: 0.55; line-height: 1; }
.th-sort.is-on .th-sort__ico { opacity: 1; }
table.cotas th, table.table th {
  text-align: left;
  padding: 0.75rem 0.7rem;
  background: rgba(0, 0, 0, 0.02);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--stroke);
  position: sticky;
  top: 0;
  z-index: 1;
}
table.cotas td, table.table td {
  padding: 0.7rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}
table.cotas tbody tr { cursor: pointer; }
table.cotas tbody tr:hover { background: rgba(0, 113, 227, 0.04); }
table.cotas tbody tr.is-selected { background: rgba(0, 113, 227, 0.08); }

.col-check { width: 36px; }
.cell-adm { display: flex; align-items: center; gap: 0.55rem; }
.adm-slot {
  width: 36px; height: 36px; border-radius: 10px; background: #fff;
  border: 1px solid var(--stroke); display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.adm-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-slot--fallback::after {
  content: attr(data-short); font-size: 0.58rem; font-weight: 700; color: var(--blue); text-transform: uppercase;
}
.adm-name { font-weight: 700; font-size: 0.84rem; color: var(--text); }
.codigo-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 0.18rem; }
.codigo {
  font-size: 0.78rem; font-weight: 700; color: var(--text);
  background: rgba(127, 127, 127, 0.15); padding: 0.22rem 0.45rem; border-radius: 8px; white-space: nowrap;
}
.codigo-fonte {
  font-size: 0.72rem; font-weight: 650; color: var(--muted); letter-spacing: 0.01em; padding-left: 0.15rem;
}
.money { font-weight: 600; white-space: nowrap; color: var(--text); }
.cotacao-inline__val { font-size: 1.05rem; font-weight: 700; color: var(--text); min-width: 3.4rem; }
.cet { font-weight: 700; }
.cet--ok { color: var(--ok); }
.cet--bad { color: var(--bad); }
.empty-row { padding: 2.5rem 1rem !important; text-align: center; color: var(--muted); }
.hint-inline { margin: 0.75rem 0 0; font-size: 0.85rem; color: var(--muted); }
.sit-swatch {
  display: inline-block; width: 18px; height: 18px; border-radius: 6px;
  border: 1px solid var(--stroke); vertical-align: middle;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.15rem;
}
@media (max-width: 720px) { .kpi-strip { grid-template-columns: 1fr 1fr; } }
.kpi {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(11, 27, 43, 0.12);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: 0 4px 16px rgba(11, 27, 43, 0.06);
  transition: transform 0.2s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}
.kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 27, 43, 0.18);
  box-shadow: 0 12px 28px rgba(11, 27, 43, 0.1);
}
.kpi strong { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.35rem; }
.kpi span { color: var(--muted); font-size: 0.92rem; font-weight: 600; }

.flashes, .toast-stack {
  width: min(720px, calc(100% - 2rem));
  margin: 0.75rem 28px 0;
  display: grid;
  gap: 0.35rem;
}
.flash {
  padding: 0.7rem 0.95rem;
  border-radius: 12px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  border-left-width: 4px;
}
.flash--ok, .toast-ok { background: #ecfdf5; color: var(--ok); border-color: rgba(5, 150, 105, 0.28); border-left-color: #059669; }
.flash--error, .toast-error { background: #fef2f2; color: var(--bad); border-color: rgba(185, 28, 28, 0.2); border-left-color: #b91c1c; }
.flash--warning, .toast-warning { background: #fffbeb; color: #92400e; border-color: rgba(146, 64, 14, 0.2); border-left-color: #d97706; }

.legal-foot {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ——— Rodapé app (padrão GCT · Ajuda + Dataryon) ——— */
.cnt-footer {
  margin-top: auto;
  padding: 1.35rem 1.5rem 1.5rem;
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  color: #fff;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(11, 28, 44, 0.92), #070f18 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  backdrop-filter: blur(16px);
}
.cnt-footer::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4), transparent);
  margin: -1.35rem -1.5rem 1rem;
}
.cnt-footer-inner {
  width: min(100%, 54rem);
  margin: 0 auto;
}
.cnt-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem 1.65rem;
  flex-wrap: wrap;
}
.cnt-footer-help {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  padding: 0.4rem 1.05rem 0.4rem 0.45rem;
  border-radius: 999px;
  text-decoration: none !important;
  color: #f7f5f0 !important;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.28) 0%, rgba(11, 28, 44, 0.55) 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow:
    0 4px 22px rgba(201, 162, 39, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.cnt-footer-help:hover,
.cnt-footer-help:focus-visible {
  color: #fff !important;
  transform: translateY(-2px);
  border-color: rgba(201, 162, 39, 0.75);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.4) 0%, rgba(18, 38, 58, 0.7) 100%);
  box-shadow:
    0 8px 28px rgba(201, 162, 39, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.cnt-footer-help:focus-visible {
  outline: 2px solid rgba(201, 162, 39, 0.75);
  outline-offset: 3px;
}
.cnt-footer-help__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  color: #0b1c2c;
  background: linear-gradient(145deg, #e4c56a 0%, #c9a227 45%, #9a7a1c 100%);
  box-shadow:
    0 3px 12px rgba(201, 162, 39, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cnt-footer-help__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.25;
}
.cnt-footer-help__title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.cnt-footer-help__hint {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(247, 245, 240, 0.78);
}
.cnt-footer-legal {
  flex: 1 1 14rem;
  min-width: 0;
  max-width: 36rem;
  text-align: left;
}
.cnt-footer-legal__primary {
  margin: 0 0 0.28rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.cnt-footer-brand {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.cnt-footer-brand:hover,
.cnt-footer-brand:focus-visible {
  color: #fff;
  border-bottom-color: rgba(201, 162, 39, 0.9);
}
.cnt-footer-legal__secondary {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}
.cnt-footer-legal__mvb {
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}
@media (max-width: 640px) {
  .cnt-footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cnt-footer-legal { text-align: center; }
}

.guto-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.55rem; border-radius: 999px;
  background: rgba(0, 113, 227, 0.1); border: 1px solid rgba(0, 113, 227, 0.25);
  color: var(--text); font-size: 0.78rem; font-weight: 700;
}
.guto-chip img { width: 18px; height: auto; }
.guto-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; width: 52px; height: 52px;
  border-radius: 50%; background: #fff; border: 1px solid var(--stroke);
  box-shadow: var(--shadow); display: grid; place-items: center; z-index: 50;
}
.guto-float img { width: 36px; height: auto; }

/* ?? Dropdown Config ?? */
.nav-dd { position: relative; }
.nav-dd__btn.top-jump-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  grid: none;
}
.nav-dd.is-active .nav-dd__btn,
.nav-dd.is-open .nav-dd__btn {
  background: #0a84ff;
  color: #fff;
}
.nav-dd__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 60;
  min-width: 260px;
  padding: 0.45rem 0;
  background: #fff;
  color: #374151;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.nav-dd.is-open .nav-dd__menu { display: block; }
.nav-dd__menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
}
.nav-dd__menu a:hover { background: rgba(0, 0, 0, 0.04); color: #111; }
.nav-dd__sep { height: 1px; background: var(--stroke); margin: 0.35rem 0; }

/* ?? Modals ?? */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45);
  z-index: 80; display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  width: min(520px, 100%); max-height: min(90vh, 700px); overflow: auto;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow);
}
.modal__head {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--stroke);
}
.modal__head h3 { margin: 0; font-size: 1.1rem; }
.modal__head .close { margin-left: auto; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; color: var(--muted); }
.modal__body { padding: 1rem 1.15rem 1.25rem; }
.modal--story { max-width: 420px; }
.modal.modal--arte {
  width: min(720px, calc(100vw - 2rem));
  max-width: 720px;
  max-height: min(92vh, 900px);
  overflow-x: hidden;
  overflow-y: auto;
}
.modal__body--arte { display: flex; flex-direction: column; gap: 0.85rem; }
#btnCriarArte { width: 100%; margin-top: 0.9rem; }
.arte-marca { display: flex; flex-direction: column; gap: 0.45rem; }
.arte-marca__head { display: flex; align-items: center; gap: 0.7rem; }
.arte-marca__head img { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--stroke); }
.arte-marca__head strong { display: block; font-size: 0.95rem; }
.arte-marca__head span { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.35; }
.arte-marca__pick, .arte-marca__link { font-size: 0.85rem; }
.arte-marca__pick { width: 100%; }
.arte-marca__link { color: #9a7b12; font-weight: 700; }
.arte-modelos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  overflow: hidden;
}
.arte-modelo {
  min-width: 0;
  width: 100%;
  text-align: left;
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 16px;
  padding: 0.7rem 0.75rem;
  cursor: pointer;
}
.arte-modelo strong { display: block; font-size: 0.92rem; }
.arte-modelo span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.arte-modelo.is-on { border-color: #c9a227; background: #fff8e6; box-shadow: inset 0 0 0 1px #c9a227; }
#artePreview {
  width: min(280px, 42vw); height: auto; align-self: center; border-radius: 18px;
  background: #0b1c2c; box-shadow: 0 16px 36px rgba(11, 28, 44, 0.22);
}
.arte-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.arte-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.arte-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.arte-btn:hover { transform: translateY(-1px); }
.arte-btn--save {
  color: #1a1404;
  background: linear-gradient(180deg, #f3d98a 0%, #c9a227 100%);
  box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
}
.arte-btn--dl {
  color: #0b1c2c;
  background: #fff;
  border-color: rgba(11, 28, 44, 0.14);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.arte-btn--wa {
  color: #fff;
  background: linear-gradient(180deg, #3dde74 0%, #1da851 100%);
  box-shadow: 0 8px 18px rgba(29, 168, 81, 0.28);
}
.arte-btn:disabled { opacity: 0.55; transform: none; cursor: wait; }
.criativos-switch { display: flex; gap: 0.4rem; margin: 0 0 1rem; }
.criativos-switch button {
  flex: 1; min-height: 2.7rem; border-radius: 999px; border: 1px solid var(--stroke);
  background: rgba(255,255,255,.72); font-weight: 700; cursor: pointer;
}
.criativos-switch button.is-on { background: #0b1c2c; color: #f7f5f0; border-color: #0b1c2c; }
.criativos-dinamica-empty {
  margin: 0.5rem 0 1rem; padding: 1rem 1.1rem; border-radius: 16px;
  background: rgba(255,255,255,.7); color: var(--muted); line-height: 1.45;
}
@media (max-width: 720px) {
  .modal-backdrop.is-open { align-items: stretch; padding: 0; }
  .modal.modal--arte { width: 100%; max-width: none; max-height: 100%; height: 100%; border-radius: 0; }
  .modal__body--arte { padding-bottom: 1.4rem; }
  #artePreview { width: min(220px, 58vw); }
  .arte-btn { font-size: 0.82rem; gap: 0.3rem; padding: 0.4rem 0.45rem; }
  .criativos-switch { position: sticky; top: 0.4rem; z-index: 3; }
}
.modal__body--story { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.modal__body--story img {
  width: min(270px, 70vw); height: auto; border-radius: 18px;
  background: #0b1c2c; box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.story-cota-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.modal-stat { background: rgba(0, 0, 0, 0.03); border-radius: 12px; padding: 0.75rem; }
.modal-stat span {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem;
}
.modal-stat strong { font-size: 1rem; }
.modal-note { font-size: 0.85rem; color: var(--muted); line-height: 1.4; margin: 0.75rem 0 0; }

/* ?? Criativos ?? */
.criativos-hero { display: grid; gap: 1rem; margin-bottom: 1.25rem; }
@media (min-width: 880px) { .criativos-hero { grid-template-columns: 1.5fr 0.9fr; } }
.criativos-title { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 0.4rem; }
.criativos-lead { margin: 0; color: var(--muted); line-height: 1.5; max-width: 40rem; }
.criativos-tip {
  background: #1d1d1f; color: #f5f5f7; border-radius: 22px; padding: 1.1rem 1.2rem;
}
.criativos-tip strong {
  display: block; color: var(--blue-2); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem;
}
.criativos-tip p { margin: 0; color: rgba(245, 245, 247, 0.75); font-size: 0.9rem; line-height: 1.45; }
.criativos-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.criativo-card {
  background: var(--glass); border: 1px solid var(--stroke);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-soft);
}
.criativo-card__frame { position: relative; background: #111; aspect-ratio: 9/16; max-height: 360px; }
.criativo-card__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.criativo-badge {
  position: absolute; left: 0.55rem; top: 0.55rem;
  background: var(--blue); color: #fff; font-size: 0.68rem; font-weight: 700;
  padding: 0.2rem 0.45rem; border-radius: 999px;
}
.criativo-badge--brand { left: auto; right: 0.55rem; }
.criativo-card__body { padding: 0.9rem 1rem 1.05rem; }
.criativo-seg { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.criativo-card__body h2 { margin: 0.2rem 0 0.35rem; font-size: 1rem; }
.criativo-card__body p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.criativo-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  margin-top: 0.9rem;
}
.criativo-ico-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #0f172a;
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.criativo-ico-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.criativo-ico-btn:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}
.criativo-dl {
  background: linear-gradient(135deg, #0b7cff, #0071e3);
  border-color: transparent;
  color: #fff;
}
.criativo-dl:hover { background: linear-gradient(135deg, #1a86ff, #0062c7); }
.criativo-share--wa {
  background: #ecfdf5;
  border-color: rgba(37, 211, 102, 0.35);
}
.criativo-share--ig {
  background: #fff5f7;
  border-color: rgba(228, 64, 95, 0.28);
}
.criativo-share--fb {
  background: #eff6ff;
  border-color: rgba(24, 119, 242, 0.3);
}
.criativo-ico-btn--ghost {
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #64748b;
}
.criativo-ico {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}
.criativo-share--wa .criativo-ico--wa { color: #25d366; }
.criativo-share--ig .criativo-ico--ig { color: #e4405f; }
.criativo-share--fb .criativo-ico--fb { color: #1877f2; }
.criativo-dl .criativo-ico { color: #fff; }
.criativo-ico-txt { line-height: 1; }
.criativo-share.is-busy { opacity: 0.55; pointer-events: none; }

body.wallpaper:not(.theme-light) .criativo-ico-btn {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  color: #f1f5f9;
}
body.wallpaper:not(.theme-light) .criativo-dl {
  background: linear-gradient(135deg, #0b7cff, #0071e3);
}
body.wallpaper:not(.theme-light) .criativo-share--wa { background: rgba(37, 211, 102, 0.12); }
body.wallpaper:not(.theme-light) .criativo-share--ig { background: rgba(228, 64, 95, 0.12); }
body.wallpaper:not(.theme-light) .criativo-share--fb { background: rgba(24, 119, 242, 0.12); }

.criativo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.criativo-card--hot { outline: 2px solid rgba(0, 156, 59, 0.35); }
.criativos-nota, .criativos-empty { margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }

.criativos-share-toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(26rem, calc(100% - 1.5rem));
  display: grid;
  gap: 0.4rem;
  pointer-events: none;
}
.criativos-share-toast__item {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 10px 28px rgba(11, 27, 43, 0.18);
  border: 1px solid transparent;
  border-left-width: 4px;
  animation: criativosToastIn 0.22s ease-out;
}
.criativos-share-toast__item.is-out {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.criativos-share-toast__item--ok {
  background: #ecfdf5;
  color: #047857;
  border-color: rgba(5, 150, 105, 0.28);
  border-left-color: #059669;
}
.criativos-share-toast__item--warning {
  background: #fffbeb;
  color: #92400e;
  border-color: rgba(146, 64, 14, 0.2);
  border-left-color: #d97706;
}
.criativos-share-toast__item--error {
  background: #fef2f2;
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.2);
  border-left-color: #b91c1c;
}
@keyframes criativosToastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PWA — adicionar ao ecrã */
.pwa-install {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(28rem, calc(100% - 1.25rem));
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: linear-gradient(165deg, #0b1c2c 0%, #152a3d 100%);
  color: #f7f5f0;
  border: 1px solid rgba(201, 162, 39, 0.4);
  box-shadow: 0 14px 36px rgba(11, 28, 44, 0.35);
}
.pwa-install__copy {
  flex: 1;
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.pwa-install__copy strong {
  font-size: 0.88rem;
  color: #e8d48a;
}
.pwa-install__copy span {
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(247, 245, 240, 0.7);
}
.pwa-install__close {
  border: 0;
  background: transparent;
  color: rgba(247, 245, 240, 0.55);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}
.pwa-install[hidden] { display: none !important; }

/* Empty state Guto */
.guto-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem 1.5rem;
  margin: 1.5rem auto;
  max-width: 36rem;
  padding: 1.5rem 1.35rem;
  text-align: left;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  animation: cntEnterUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.guto-empty__img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.12));
}
.guto-empty__copy { flex: 1 1 14rem; min-width: 0; }
.guto-empty__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.guto-empty__lead {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.guto-empty .btn { margin-top: 0.15rem; }
td.empty-row:has(.guto-empty) {
  padding: 1rem !important;
  background: transparent;
}
@media (max-width: 520px) {
  .guto-empty { text-align: center; }
  .guto-empty__copy { text-align: center; }
}

.criativos-coach {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244,250,246,0.88));
  border: 1px solid rgba(0, 156, 59, 0.18);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 820px) { .criativos-coach { grid-template-columns: 1fr; } }
.criativos-coach__guto { display: flex; gap: 0.85rem; align-items: flex-start; }
.criativos-coach__guto img {
  width: 72px; height: 72px; border-radius: 18px; object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 39, 118, 0.12);
}
.criativos-coach__tip { margin: 0 0 0.65rem; font-size: 0.95rem; line-height: 1.45; color: var(--ink); }
.criativos-howto h2 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.criativos-howto ol {
  margin: 0; padding-left: 1.15rem; color: var(--muted); font-size: 0.88rem; line-height: 1.45;
}
.criativos-landing-note { margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--faint); }
.criativos-warn {
  margin: 0 0 1rem; padding: 0.75rem 1rem; border-radius: 14px;
  background: rgba(180, 83, 9, 0.12); border: 1px solid rgba(180, 83, 9, 0.28);
  color: #7c2d12; font-size: 0.9rem;
}
.criativos-hint-master {
  margin: 0 0 1rem; padding: 0.7rem 1rem; border-radius: 14px;
  background: rgba(0, 113, 227, 0.08); border: 1px solid rgba(0, 113, 227, 0.18);
  color: #0f172a; font-size: 0.88rem;
}
body.wallpaper:not(.theme-light) .criativos-coach {
  background: rgba(12, 14, 22, 0.82); border-color: rgba(255,255,255,0.14);
}
body.wallpaper:not(.theme-light) .criativos-coach__tip,
body.wallpaper:not(.theme-light) .criativos-howto h2 { color: #f5f5f7; }
body.wallpaper:not(.theme-light) .criativos-howto ol,
body.wallpaper:not(.theme-light) .criativos-landing-note { color: rgba(245,245,247,0.72); }

.brand-preview-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1.1rem; }
@media (max-width: 640px) { .brand-preview-row { grid-template-columns: 1fr; } }
.brand-preview { background: #1d1d1f; border-radius: 16px; padding: 0.85rem; min-height: 128px; }
.brand-preview__label {
  display: block; font-size: 0.68rem; letter-spacing: 0.08em; font-weight: 700;
  text-transform: uppercase; color: rgba(249, 250, 251, 0.55); margin-bottom: 0.5rem;
}
.brand-preview img { max-height: 80px; max-width: 100%; object-fit: contain; display: block; margin: 0 auto; }
.brand-preview img[hidden] { display: none !important; }
.brand-preview img.is-foto { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.brand-preview__empty {
  color: rgba(249, 250, 251, 0.55);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.85rem 0.5rem 1rem;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}
.brand-preview__empty[hidden] { display: none !important; }
.brand-preview__ico {
  width: 48px;
  height: 48px;
  color: rgba(201, 162, 39, 0.9);
}
.brand-preview__ico--person { color: rgba(147, 197, 253, 0.95); }

/* ——— Wizard Minha marca ——— */
.marca-wizard {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: start;
}
@media (max-width: 900px) {
  .marca-wizard { grid-template-columns: 1fr; }
}
.marca-wizard__main {
  background: var(--panel, rgba(255,255,255,.04));
  border: 1px solid var(--border, rgba(255,255,255,.1));
  border-radius: 22px;
  padding: 1.15rem 1.2rem 1.25rem;
}
.marca-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0;
}
.marca-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted, #8b95a5);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(127,140,160,.12);
}
.marca-steps li span {
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: rgba(127,140,160,.25); font-size: 0.75rem;
}
.marca-steps li.is-active { color: var(--text); background: rgba(201,162,39,.18); }
.marca-steps li.is-active span { background: #c9a227; color: #0b1c2c; }
.marca-steps li.is-done { color: var(--text); }
.marca-panel h2 { margin: 0 0 0.25rem; font-size: 1.15rem; letter-spacing: -0.02em; }
.marca-panel__lead { margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }
.marca-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.15rem; align-items: center; }
.marca-nav__hint {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.marca-nav__cta-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.marca-nav__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: min(100%, 17.5rem);
}
.marca-nav__cta-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  min-height: 2.65rem;
}
.marca-nav__cta-wrap .marca-help-guto {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.marca-nav__cta-wrap .marca-help-guto img {
  width: 44px;
  height: 44px;
}
#marcaSave:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.35);
}
.slug-row { display: flex; align-items: center; gap: 0.35rem; }
.slug-prefix { color: var(--muted); font-weight: 600; white-space: nowrap; }
.slug-row input { flex: 1; }
.short-link-row { display: flex; align-items: center; gap: 0.45rem; }
.short-link-row input { flex: 1; font-weight: 650; }
.short-link-row .btn { flex-shrink: 0; }
.check-line { display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 600; cursor: pointer; }
.marca-link { margin: 0.85rem 0 0; }
.marca-link a { color: #c9a227; font-weight: 700; }

/* Guia passo 3 — WhatsApp / Stories / Vitrine */
.marca-guide {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(37, 211, 102, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(221, 42, 123, 0.1), transparent 50%),
    linear-gradient(165deg, #0f1f2e 0%, #152a3d 100%);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: #f7f5f0;
}
.marca-guide__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.marca-guide__head img {
  width: 56px; height: 56px; border-radius: 16px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.marca-guide__kicker {
  margin: 0;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #c9a227;
}
.marca-guide__head h3 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.marca-guide__head p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(247,245,240,.72);
}
.marca-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
@media (max-width: 720px) {
  .marca-guide__grid { grid-template-columns: 1fr; }
}
.marca-guide__card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
}
.marca-guide__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.marca-guide__card figcaption {
  padding: 0.65rem 0.75rem 0.8rem;
  display: grid;
  gap: 0.25rem;
}
.marca-guide__card strong {
  font-size: 0.88rem;
  color: #f7f5f0;
}
.marca-guide__card span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(247,245,240,.62);
}
.marca-guide__card em { font-style: normal; color: #c9a227; font-weight: 600; }
.marca-guide__steps {
  margin: 0;
  padding: 0.65rem 0.85rem 0.65rem 1.6rem;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(247,245,240,.78);
}
.marca-guide__steps li + li { margin-top: 0.25rem; }
.marca-guide__warm {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(201, 162, 39, 0.95);
}
.marca-guide__warm.is-ok { color: #6ee7b7; }

.marca-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}
.marca-cta-hint {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.marca-cta[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}
.marca-help-guto {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.marca-help-guto:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}
.marca-help-guto img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.marca-help-guto__q {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c9a227;
  color: #0b1c2c;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.marca-steps-mini {
  margin: 1rem 0 0;
  padding: 0.75rem 0.9rem 0.75rem 1.5rem;
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.22);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
}
.marca-steps-mini li + li { margin-top: 0.3rem; }

/* Partilha — caixas WA / IG·FB abaixo de Continuar (passo 3) */
.marca-share-plats {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.15rem;
}
body.marca-step-3 .marca-share-plats {
  display: grid;
}
@media (max-width: 640px) {
  .marca-share-plats { grid-template-columns: 1fr; }
}
.marca-plat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.marca-plat:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.marca-plat--wa {
  border-color: rgba(37, 211, 102, 0.28);
  background:
    radial-gradient(ellipse 80% 70% at 0% 0%, rgba(37, 211, 102, 0.1), transparent 55%),
    #fff;
}
.marca-plat--ig {
  border-color: rgba(228, 64, 95, 0.22);
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(131, 58, 180, 0.09), transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(253, 29, 29, 0.07), transparent 45%),
    #fff;
}

/* Telemóvel elegante */
.marca-plat__phone {
  width: 88px;
  flex-shrink: 0;
}
.marca-plat__bezel {
  position: relative;
  width: 88px;
  height: 178px;
  padding: 6px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, #3a3f4a 0%, #15181f 42%, #0a0c10 100%);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.45);
}
.marca-plat__island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: #050607;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.marca-plat__home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  z-index: 3;
}
.marca-plat__screen {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #0b141a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.marca-plat__screen--wa { background: #0b141a; }
.marca-plat__screen--ig {
  background: linear-gradient(180deg, #14141c 0%, #0a0a0e 100%);
}
.marca-plat__bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 1rem 0.4rem 0.35rem;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}
.marca-plat__bar--wa { background: #075e54; color: #e7ffdb; }
.marca-plat__bar--wa svg { color: #25d366; }
.marca-plat__bar--ig {
  background: linear-gradient(90deg, #833ab4, #fd1d1d 55%, #fcb045);
}
.marca-plat__ig-pair {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
}
.marca-plat__ig-pair--lg { gap: 0.3rem; }
.marca-plat__ig-pair svg:first-child { color: #fff; }
.marca-plat__ig-pair svg:last-child { color: #1877f2; filter: drop-shadow(0 0 1px #fff); }
.marca-plat__chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem;
  background:
    radial-gradient(circle at 18% 8%, rgba(37,211,102,0.1), transparent 42%),
    #0b141a;
}
.marca-plat__bubble {
  max-width: 90%;
  padding: 0.26rem 0.38rem;
  border-radius: 9px;
  font-size: 0.45rem;
  line-height: 1.25;
  color: #e9edef;
}
.marca-plat__bubble--in {
  align-self: flex-start;
  background: #202c33;
  border-bottom-left-radius: 3px;
}
.marca-plat__bubble--out {
  align-self: flex-end;
  background: #005c4b;
  border-bottom-right-radius: 3px;
}
.marca-plat__story-thumb {
  align-self: flex-end;
  width: 38px;
  height: 54px;
  border-radius: 7px;
  background:
    linear-gradient(165deg, rgba(201,162,39,0.55), transparent 58%),
    linear-gradient(180deg, #1e3a5f, #0b1c2c);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}
.marca-plat__story {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 0.35rem;
}
.marca-plat__story-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
.marca-plat__story-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(201,162,39,0.45), transparent 50%),
    linear-gradient(180deg, #2a3f5c 0%, #0b1c2c 70%);
}
.marca-plat__story-progress {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  gap: 3px;
  z-index: 1;
}
.marca-plat__story-progress i {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
}
.marca-plat__story-progress i:first-child {
  background: #fff;
}
.marca-plat__dock {
  display: grid;
  place-items: center;
  padding: 0.3rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.marca-plat__dock--wa { background: #1f2c34; }
.marca-plat__dock--ig { background: #121212; }
.marca-plat__fab-wa {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #0b141a;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.4);
}

.marca-plat__copy {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.marca-plat__copy strong {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.marca-plat--wa .marca-plat__copy strong { color: #128c7e; }
.marca-plat--ig .marca-plat__copy strong {
  background: linear-gradient(90deg, #833ab4, #e1306c 50%, #1877f2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marca-plat__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.marca-plat__steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #475569;
}
.marca-plat__steps li span {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.marca-plat--wa .marca-plat__steps li span {
  background: #25d366;
}
.marca-plat--ig .marca-plat__steps li span {
  background: linear-gradient(135deg, #833ab4, #e1306c);
}

body.wallpaper:not(.theme-light) .marca-plat {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(255,255,255,0.1);
  color: #e2e8f0;
}
body.wallpaper:not(.theme-light) .marca-plat__copy strong { color: #f8fafc; }
body.wallpaper:not(.theme-light) .marca-plat--wa .marca-plat__copy strong { color: #6ee7b7; }
body.wallpaper:not(.theme-light) .marca-plat__steps li { color: #94a3b8; }

/* Pulsar elegante — disponível para geração / abertura */
@keyframes marcaCtaPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.45);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(201, 162, 39, 0);
    transform: translateY(-1px);
  }
}
body.marca-step-3 .marca-cta--pulse {
  animation: marcaCtaPulse 1.8s ease-in-out infinite;
}
body.marca-step-3 .marca-cta--pulse.btn--dark {
  animation-name: marcaCtaPulseDark;
}
@keyframes marcaCtaPulseDark {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(11, 28, 44, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(11, 28, 44, 0);
  }
}
body.marca-step-3 #navVerCriativos.marca-cta--pulse,
body.marca-step-3 #btnVitrineLive.marca-cta--pulse {
  border-color: rgba(201, 162, 39, 0.55);
  color: #0b1c2c;
  background: linear-gradient(135deg, #e8d48a, #c9a227);
  animation: marcaCtaPulse 1.8s ease-in-out infinite;
}

.marca-preview {
  position: sticky; top: 1rem;
  border-radius: 22px;
  padding: 1rem;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(165deg, #0b1c2c 0%, #12263a 100%);
  color: #f7f5f0;
  border: 1px solid rgba(255,255,255,.1);
}
.marca-preview-col {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}
.marca-preview__vitrine {
  display: none;
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  color: #0f172a;
}
body.marca-step-3 .marca-preview__vitrine {
  display: block;
}
.marca-preview__vitrine h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #0b1c2c;
}
.marca-preview__vitrine-lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #64748b;
}
.marca-preview__vitrine .field-hint,
.marca-preview__vitrine .slug-prefix {
  color: #94a3b8;
}
.marca-preview__vitrine .check-line {
  color: #334155;
}
.marca-preview__vitrine .marca-guide__warm {
  margin-top: 0.85rem;
}
.marca-preview__kicker {
  margin: 0 0 0.75rem; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: #c9a227;
}
.vit-mini__brand { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.9rem; }
.vit-mini__logo {
  width: 52px; height: 52px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
}
.vit-mini__logo img { max-width: 88%; max-height: 88%; object-fit: contain; }
.vit-mini__logo img[hidden] { display: none !important; }
.vit-mini__logo-empty {
  display: grid;
  place-items: center;
  color: #c9a227;
}
.vit-mini__logo-empty[hidden] { display: none !important; }
.vit-mini__eyebrow { margin: 0; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #c9a227; font-weight: 700; }
.vit-mini h3 { margin: 0.15rem 0 0; font-size: 1.15rem; letter-spacing: -0.02em; }
.vit-mini__bio { margin: 0.35rem 0 0; font-size: 0.82rem; color: rgba(247,245,240,.68); line-height: 1.4; }
.vit-mini__rep { margin: 0.25rem 0 0; font-size: 0.78rem; color: rgba(247,245,240,.5); }
.vit-mini__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
.vit-mini__card {
  background: rgba(255,255,255,.06); border-radius: 14px; padding: 0.65rem 0.7rem;
  border: 1px solid rgba(255,255,255,.08);
}
.vit-mini__card span { display: block; font-size: 0.68rem; color: rgba(247,245,240,.5); text-transform: uppercase; letter-spacing: 0.06em; }
.vit-mini__card strong { font-size: 0.95rem; }
.vit-mini__cta {
  margin: 0; text-align: center; background: #c9a227; color: #0b1c2c;
  font-weight: 700; font-size: 0.85rem; padding: 0.55rem; border-radius: 999px;
}
.vit-mini__url { margin: 0.65rem 0 0; text-align: center; font-size: 0.78rem; color: rgba(247,245,240,.45); font-family: ui-monospace, monospace; }
.vit-mini__status { margin: 0.35rem 0 0; text-align: center; font-size: 0.75rem; color: rgba(247,245,240,.55); }
.brand-cell { display: flex; align-items: center; gap: 0.35rem; }
.brand-thumb {
  width: 36px; height: 36px; object-fit: contain; border-radius: 8px;
  background: #1d1d1f; border: 1px solid var(--stroke); padding: 2px;
}
.brand-thumb--foto { border-radius: 50%; object-fit: cover; padding: 0; }
.brand-thumb--empty { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.import-hero { display: grid; gap: 1rem; }
@media (min-width: 960px) { .import-hero { grid-template-columns: 1.4fr 0.9fr; } }
.import-side { display: grid; gap: 1rem; }
.import-drop { border: 1px dashed rgba(0, 113, 227, 0.45); }

/* ?? Login Apple / MonTal ?? */
body.cnt-login {
  margin: 0;
  min-height: 100dvh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", sans-serif;
  color: #f5f5f7;
  background: #0b0b0d;
  -webkit-font-smoothing: antialiased;
}
.login-shell {
  min-height: 100dvh;
  background: #0b0b0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vh, 2.75rem);
  padding: 40px 16px;
}
.login-shell .login-card {
  width: min(440px, 100%);
  background: #16161a;
  border-radius: 32px;
  padding: 48px 40px 36px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}
.login-shell .ring {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 24px;
  background: linear-gradient(145deg, #e4c56a, #b8922a 55%, #8a6d1f);
  padding: 3px;
  box-sizing: border-box;
  box-shadow: 0 16px 40px rgba(11, 28, 44, 0.35);
}
.login-shell .ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 21px;
  background: #0b1c2c;
  display: grid;
  place-items: center;
}
.login-shell .ring-inner img {
  display: block;
  border-radius: 16px;
  width: 72px;
  height: 72px;
}
.login-shell .login-card h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: #f5f5f7;
}
.login-shell .login-field {
  width: 100%;
  background: #2c2c32;
  border: 1px solid transparent;
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  margin-bottom: 10px;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.login-shell .login-field::placeholder {
  color: rgba(245, 245, 247, 0.38);
}
.login-shell .login-field:focus {
  border-color: #2997ff;
  background: #1f1f24;
}
.login-shell .row-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(245, 245, 247, 0.62);
  font-size: 13px;
  margin: 8px 0 22px;
  text-align: left;
}
.login-shell .row-inline label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.login-shell .row-inline .faint {
  color: rgba(245, 245, 247, 0.38);
}
.login-shell .btn-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.login-shell .btn-row .pill {
  flex: 1;
  width: 100%;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 17px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.login-shell .btn-blue {
  background: #0071e3;
  color: #fff;
}
.login-shell .btn-blue:hover {
  background: #2997ff;
}
.login-shell .hint {
  margin-top: 18px;
  color: rgba(245, 245, 247, 0.38);
  font-size: 12px;
  line-height: 1.45;
}
.login-shell .toast-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
  text-align: left;
}
.login-shell .toast {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  border-left: 4px solid transparent;
}
.login-shell .toast-ok {
  background: rgba(48, 209, 88, 0.12);
  border-left-color: #30d158;
  color: #d1f7da;
}
.login-shell .toast-error {
  background: rgba(255, 69, 58, 0.12);
  border-left-color: #ff453a;
  color: #ffd4d1;
}
.login-shell .toast-warning {
  background: rgba(255, 159, 10, 0.12);
  border-left-color: #ff9f0a;
  color: #ffe4b8;
}
.login-legal {
  width: min(440px, 100%);
  text-align: center;
  padding: 0 0.35rem;
}
.login-legal__primary {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.login-legal__brand {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.login-legal__brand:hover,
.login-legal__brand:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.9);
}
.login-legal__secondary {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
@media (max-height: 640px) {
  .login-legal__secondary { display: none; }
}

@keyframes gct-flag-flutter {
  0%, 100% { transform: rotate(-6deg) skewX(-3deg) scale(1); }
  25% { transform: rotate(5deg) skewX(4deg) scale(1.02); }
  50% { transform: rotate(-3deg) skewX(-2deg) scale(1); }
  75% { transform: rotate(7deg) skewX(3deg) scale(1.02); }
}
.gct-lang-flags {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.gct-lang-flags--inline {
  justify-content: center;
  margin-bottom: 1rem;
}
.gct-lang-flag-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.gct-lang-flag-btn:hover { transform: translateY(-2px); }
.gct-lang-flag-btn--active {
  border-color: rgba(41, 151, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(41, 151, 255, 0.35);
}
.gct-lang-flag-fi {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 1.35rem;
  transform-origin: 12% 88%;
  animation: gct-flag-flutter 2.4s ease-in-out infinite;
}
.gct-lang-flag-fi--delay-1 { animation-delay: 0.15s; }
.gct-lang-flag-fi--delay-2 { animation-delay: 0.3s; }
.gct-lang-flag-img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}
.gct-lang-flag-emoji {
  display: none;
  font-size: 1.1rem;
  line-height: 1;
}
.gct-lang-flag-fi--fallback .gct-lang-flag-img { display: none; }
.gct-lang-flag-fi--fallback .gct-lang-flag-emoji { display: block; }
.top-actions .gct-lang-flags--inline {
  margin: 0 6px 0 0;
  justify-content: flex-end;
}

.guto-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.guto-form .field { flex: 1; min-width: 200px; margin: 0; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ?? Kanban ?? */
.kanban {
  display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 1rem;
  min-height: 60vh; align-items: flex-start;
}
.kanban-col {
  flex: 0 0 260px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 180px);
  box-shadow: var(--shadow-soft);
}
.kanban-col__head {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(145deg, var(--sit-color, #6b7280) 0%, color-mix(in srgb, var(--sit-color, #6b7280) 45%, #1d1d1f) 100%);
  color: #fff;
  border-radius: 18px 18px 0 0;
}
.kanban-col__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0.9; }
.kanban-col__head h2 { margin: 0; font-size: 0.88rem; font-weight: 700; flex: 1; }
.kanban-col__count {
  font-size: 0.72rem; font-weight: 700; background: rgba(255, 255, 255, 0.22);
  padding: 0.15rem 0.45rem; border-radius: 999px;
}
.kanban-col__body { padding: 0.55rem; overflow-y: auto; flex: 1; min-height: 120px; transition: background .15s; }
.kanban-col__body.is-over { background: rgba(0, 113, 227, 0.08); }
.kanban-card {
  background: #fff; border: 1px solid var(--stroke); border-radius: 14px;
  margin-bottom: 0.5rem; cursor: grab; box-shadow: var(--shadow-soft);
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.kanban-card:active { cursor: grabbing; }
.kanban-card.is-dragging { opacity: 0.45; transform: scale(0.98); }
.kanban-card.just-moved { box-shadow: 0 0 0 2px var(--blue); }
.kanban-card__link { display: block; padding: 0.75rem 0.8rem; color: inherit; }
.kanban-card__link strong { display: block; font-size: 0.92rem; margin-bottom: 0.15rem; }
.kanban-card__meta { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.45rem; }
.kanban-card__tags { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 0.45rem; }
.kanban-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; font-weight: 700; color: var(--ink);
}
.kanban-empty {
  margin: 1.5rem 0.5rem; text-align: center; color: var(--muted);
  font-size: 0.82rem; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 1.2rem 0.5rem;
}

.status-pill {
  display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; background: rgba(0, 0, 0, 0.06); color: #374151;
  text-transform: lowercase;
}
.status-pill.status-fechada, .status-pill.status-aprovada { background: #ecfdf5; color: var(--ok); }
.status-pill.status-cancelada { background: #fef2f2; color: var(--bad); }
.status-pill.status-analise { background: #fffbeb; color: #92400e; }
.status-pill.status-docs { background: #eff6ff; color: #1d4ed8; }

.detail-grid { display: grid; gap: 1rem; }
@media (min-width: 880px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.cota-chips { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.35rem; }
.anexo-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.anexo-list li {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; padding: 0.65rem 0; border-top: 1px solid var(--stroke);
}
.anexo-list li span { display: block; font-size: 0.78rem; color: var(--muted); }
.anexo-list .empty { border: 0; color: var(--muted); justify-content: center; }
.status-form, .upload-form { margin-top: 1rem; }
.meta-line { margin-bottom: 1rem; }
.comissao-box { display: none; }

/* —— Drawer / gaveta (MonTal) —— */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 40;
}
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  z-index: 41;
  background: rgba(255, 255, 255, 0.94);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 22px 8px 40px;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 8px 16px 18px;
  font-size: 18px;
  color: #1d1d1f;
}
.nav-brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}
.nav-groups { display: flex; flex-direction: column; gap: 6px; }
.nav-acc { margin: 0 4px; }
.nav-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 11px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(29, 29, 31, 0.55);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-acc-label { flex: 1; min-width: 0; }
.nav-acc-btn:hover,
.nav-acc.is-open .nav-acc-btn {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}
.nav-acc-chev {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.7;
  transition: transform 0.18s ease;
}
.nav-acc.is-open .nav-acc-chev { transform: rotate(180deg); }
.nav-acc-panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 10px;
}
.nav-acc-panel[hidden] { display: none !important; }
.nav-groups a {
  color: #1d1d1f;
  padding: 10px 14px;
  border-radius: 12px;
  margin: 0 6px;
  font-size: 14.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.nav-groups a .ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.78;
  color: #0071e3;
}
.nav-groups a:hover {
  background: rgba(0, 113, 227, 0.08);
  transform: translateX(2px);
}
.nav-groups a:hover .ico { opacity: 1; }
.nav-groups a.is-current {
  background: rgba(0, 113, 227, 0.12);
  font-weight: 600;
}
.nav-groups a.is-current .ico {
  opacity: 1;
  color: #0071e3;
}

body.wallpaper:not(.theme-light) .nav-drawer {
  background: rgba(12, 14, 22, 0.92);
  border-right-color: rgba(255, 255, 255, 0.12);
}
body.wallpaper:not(.theme-light) .nav-brand,
body.wallpaper:not(.theme-light) .nav-groups a {
  color: #f5f5f7;
}
body.wallpaper:not(.theme-light) .nav-acc-btn {
  color: rgba(245, 245, 247, 0.55);
}
body.wallpaper:not(.theme-light) .nav-acc-btn:hover,
body.wallpaper:not(.theme-light) .nav-acc.is-open .nav-acc-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
}
body.wallpaper:not(.theme-light) .nav-groups a .ico {
  color: #7dd3fc;
  opacity: 0.9;
}
body.wallpaper:not(.theme-light) .nav-groups a:hover {
  background: rgba(255, 255, 255, 0.08);
}
body.wallpaper:not(.theme-light) .nav-groups a.is-current {
  background: rgba(0, 113, 227, 0.22);
}
body.wallpaper:not(.theme-light) .nav-groups a.is-current .ico {
  color: #7dd3fc;
}

/* —— Portal Apple / bento —— */
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
}
.bento-h {
  margin: 0 0 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.bento-lead { font-size: 0.98rem !important; margin: 0 0 0.8rem; }
.bento-edit-hint {
  margin: 0 0 0.9rem;
  padding: 0.75rem 1.05rem;
  border-radius: 14px;
  background: rgba(255, 223, 0, 0.38);
  border: 1px solid rgba(161, 98, 7, 0.3);
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 600;
}
.bento-tile { position: relative; min-height: 0; touch-action: manipulation; }
.bento--jiggle .bento-tile {
  cursor: grab;
  animation: bentoJiggle 0.45s ease-in-out infinite;
  user-select: none;
}
.bento--jiggle .bento-tile:nth-child(2n) { animation-delay: -0.12s; }
.bento--jiggle .bento-tile:nth-child(3n) { animation-delay: -0.22s; }
.bento--jiggle .bento-tile:nth-child(4n) { animation-delay: -0.08s; }
.bento--jiggle .bento-tile.is-dragging {
  opacity: 0.9;
  cursor: grabbing;
  animation: none;
  transform: scale(1.03);
  z-index: 5;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18) !important;
}
.bento--jiggle .bento-tile.is-drop {
  outline: 2px dashed rgba(255, 223, 0, 0.95);
  outline-offset: 3px;
}
@keyframes bentoJiggle {
  0% { transform: rotate(-0.65deg); }
  50% { transform: rotate(0.75deg) translateY(-1px); }
  100% { transform: rotate(-0.65deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bento--jiggle .bento-tile { animation: none; }
}

.faint { color: var(--faint); font-size: 0.9rem; }

.profile {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.72), rgba(8, 47, 154, 0.78));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 1.45rem 1.5rem 1.55rem;
  gap: 0.25rem;
}
.profile-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.profile-name {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.profile-email {
  margin: 0;
  font-size: 1.02rem;
  opacity: 0.85;
  word-break: break-all;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.profile-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
.profile-tag--soft {
  background: rgba(255, 223, 0, 0.45);
  border-color: rgba(161, 98, 7, 0.3);
}
.profile-links {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.profile-links a {
  font-weight: 600;
  color: #0369a1;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.profile-links a:hover {
  border-bottom-color: currentColor;
  transform: translateY(-1px);
}

.profile h2 { margin: 0; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.profile .muted,
.profile .faint { color: rgba(255, 255, 255, 0.72); }
.profile a.faint { color: rgba(255, 255, 255, 0.85); text-decoration: underline; text-underline-offset: 3px; }

body.wallpaper.theme-light .profile.glass,
body.wallpaper.theme-light .profile {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 50%, #eef2ff 100%) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(15, 23, 42, 0.08);
}
body.wallpaper.theme-light .profile-name { color: #0f172a !important; }
body.wallpaper.theme-light .profile-email { color: rgba(15, 23, 42, 0.72) !important; }
body.wallpaper.theme-light .profile h2 { color: #0f172a; }
body.wallpaper.theme-light .profile .muted,
body.wallpaper.theme-light .profile .faint {
  color: rgba(15, 23, 42, 0.7);
}
body.wallpaper.theme-light .profile a.faint {
  color: #0369a1;
  font-weight: 600;
}
body.wallpaper.theme-light .profile .avatar {
  border-color: rgba(15, 23, 42, 0.14);
  color: #fff;
}

/* Seleção amarela (texto + estados ativos) */
::selection {
  background: rgba(255, 223, 0, 0.55);
  color: #0b1b2b;
}
::-moz-selection {
  background: rgba(255, 223, 0, 0.55);
  color: #0b1b2b;
}
body.wallpaper.theme-light .top-jump-link.is-current,
body.wallpaper.theme-light .nav-groups a.is-current {
  background: rgba(0, 113, 227, 0.12);
  color: #0b1b2b;
  box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.22);
}
.color-pop .swatch.is-on,
.theme-switch .swatch.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #ffdf00 !important;
}

.avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #1e293b;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  color: #fff;
}
.avatar-wrap {
  position: relative;
  width: 104px;
  margin-bottom: 18px;
  display: inline-block;
}
.avatar-wrap .avatar {
  margin-bottom: 0;
}
.avatar--photo {
  padding: 0;
  background: #0f172a;
}
.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-edit {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffdf00;
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.2s ease;
  z-index: 2;
}
.avatar-edit:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}
.avatar-edit input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.avatar-edit__ico {
  font-size: 15px;
  line-height: 1;
  color: #0f172a;
  pointer-events: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
body.wallpaper.theme-light .avatar-wrap .avatar {
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.mosaic-card { min-height: 280px; }
.kpi-strip--bento {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}
.kpi-strip--bento .kpi {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: none;
}

/* ——— Resumo sync (painel) ——— */
.sync-resumo { display: flex; flex-direction: column; gap: 0.85rem; }
.sync-resumo__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 0.5rem 1rem;
}
.sync-resumo__head .bento-h { margin: 0; }
.sync-resumo__when {
  margin: 0; font-size: 0.82rem; color: var(--muted);
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.1rem;
}
.sync-resumo__label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
}
.sync-resumo__when strong { color: var(--text); font-size: 0.95rem; }
.sync-resumo__meta { margin: 0; font-size: 0.8rem; color: var(--muted); }
.sync-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
}
@media (max-width: 520px) { .sync-cards { grid-template-columns: 1fr; } }
.sync-card {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.85rem 0.9rem; border-radius: 16px;
  text-decoration: none; color: inherit;
  border: 1px solid var(--stroke);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sync-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,0.08); }
.sync-card--vei {
  background: linear-gradient(145deg, rgba(0,113,227,0.1), rgba(255,255,255,0.6));
  border-color: rgba(0,113,227,0.22);
}
.sync-card--imo {
  background: linear-gradient(145deg, rgba(5,150,105,0.1), rgba(255,255,255,0.6));
  border-color: rgba(5,150,105,0.22);
}
.sync-card__seg {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.sync-card__stock {
  font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}
.sync-card--vei .sync-card__stock { color: #0071e3; }
.sync-card--imo .sync-card__stock { color: #059669; }
.sync-card__stock-label { font-size: 0.75rem; color: var(--faint); }
.sync-card__delta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.sync-pill {
  display: inline-flex; align-items: center;
  padding: 0.2rem 0.5rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em;
}
.sync-pill--new { background: rgba(5,150,105,0.14); color: #047857; }
.sync-pill--upd { background: rgba(0,113,227,0.12); color: #0369a1; }
.sync-negocio {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  padding-top: 0.35rem; border-top: 1px solid var(--stroke);
}
.sync-negocio__item {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.35rem 0.15rem;
}
.sync-negocio__item strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.sync-negocio__item span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.sync-cat-lead { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.45rem; }

/* ——— Filtro adm com logos ——— */
.adm-filter {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-bottom: 0.85rem; padding-bottom: 0.15rem;
}
.adm-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--stroke);
  text-decoration: none; color: var(--text);
  font-size: 0.8rem; font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.adm-chip:hover { border-color: rgba(0,113,227,0.35); }
.adm-chip.is-on {
  background: rgba(0,113,227,0.12);
  border-color: rgba(0,113,227,0.45);
  box-shadow: 0 0 0 1px rgba(0,113,227,0.15);
}
.adm-chip__all { padding-left: 0.35rem; }
.adm-chip__name {
  max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.adm-chip__n {
  font-size: 0.7rem; font-weight: 700; color: var(--muted);
  background: rgba(15,23,42,0.06); padding: 0.12rem 0.4rem; border-radius: 999px;
}
.adm-chip.is-on .adm-chip__n { background: rgba(0,113,227,0.18); color: #0369a1; }
.adm-slot--chip {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: #fff; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.08);
}
.adm-slot--chip.adm-slot--fallback::after { font-size: 0.55rem; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  text-align: center;
  min-height: 200px;
  align-content: start;
}
@media (max-width: 640px) {
  .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.app-grid a {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  min-height: 108px;
  height: 108px;
  box-sizing: border-box;
  transform: translateY(0) scale(1);
  transition: transform 0.28s cubic-bezier(0.22, 1.2, 0.36, 1);
}
.app-grid a:hover,
.app-grid a:focus-visible {
  transform: translateY(-8px) scale(1.08);
  outline: none;
}
.app-ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 22px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.28s cubic-bezier(0.22, 1.2, 0.36, 1), filter 0.28s ease, transform 0.28s ease;
}
.app-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.06) 42%, transparent 70%);
  pointer-events: none;
}
.app-ico__svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  display: block;
}
.app-ico--blue { background: linear-gradient(145deg, #5ac8fa 0%, #0a84ff 55%, #0066d6 100%); }
.app-ico--green { background: linear-gradient(145deg, #63e6a0 0%, #30d158 55%, #1faa44 100%); }
.app-ico--orange { background: linear-gradient(145deg, #ffcc66 0%, #ff9f0a 55%, #e68600 100%); }
.app-ico--indigo { background: linear-gradient(145deg, #9b95f5 0%, #5e5ce6 55%, #4a48c9 100%); }
.app-ico--cyan { background: linear-gradient(145deg, #9ae3ff 0%, #64d2ff 55%, #32ade6 100%); color: #06364d; }
.app-ico--violet { background: linear-gradient(145deg, #d9a8ff 0%, #bf5af2 55%, #9b36d1 100%); }
.app-ico--silver {
  background: linear-gradient(145deg, #ffffff 0%, #e8e8ed 55%, #d2d2d7 100%);
  color: #1d1d1f;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 10px 22px rgba(0,0,0,0.12);
}
.app-ico--rose { background: linear-gradient(145deg, #ff7a96 0%, #ff375f 55%, #d61f45 100%); }
.app-ico--slate { background: linear-gradient(145deg, #b0b0b8 0%, #8e8e93 55%, #6e6e73 100%); }
.app-ico--amber {
  background: linear-gradient(145deg, #ffe566 0%, #ffd60a 55%, #e6bf00 100%);
  color: #3d3200;
}
.app-ico--sky { background: linear-gradient(145deg, #6eb5ff 0%, #0a84ff 55%, #0060c0 100%); }
.app-ico--guto {
  background: linear-gradient(145deg, #3a3a3c 0%, #1d1d1f 70%);
  padding: 8px;
}
.app-ico--guto img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.app-grid a:hover .app-ico,
.app-grid a:focus-visible .app-ico {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 28px rgba(0, 0, 0, 0.32);
  filter: brightness(1.06);
}

.mail .item,
.drive .item,
.drive-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: 12px;
  border-bottom: 1px solid transparent;
  border: 1px solid transparent;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
a.mail .item,
a.drive-item,
.drive-item {
  text-decoration: none;
}
.mail a.item:hover,
.drive a.item:hover,
a.drive-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(11, 27, 43, 0.12);
  box-shadow: 0 8px 20px rgba(11, 27, 43, 0.08);
}
.mail .item:last-child,
.drive .item:last-child,
.drive-item:last-child { border-bottom-color: transparent; }

/* Salto leve em botões e pills */
.btn,
.pill {
  transition: transform 0.18s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.18s ease;
}
.btn:hover,
.pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 27, 43, 0.12);
}
.swatch {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.swatch:hover {
  transform: translateY(-2px) scale(1.12);
}



body.wallpaper:not(.theme-light) {
  --text: #f5f5f7;
  --ink: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.78);
  --faint: rgba(245, 245, 247, 0.55);
  --glass: rgba(16, 18, 28, 0.72);
  --glass-strong: rgba(12, 14, 22, 0.88);
  --stroke: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --line: rgba(255, 255, 255, 0.14);
  --ok: #30d158;
  --bad: #ff6961;
  color: var(--text);
}
body.wallpaper:not(.theme-light) .top-jump-link {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
body.wallpaper:not(.theme-light) .top-jump-link.is-current {
  background: rgba(255, 255, 255, 0.36);
  color: #fff;
}
body.wallpaper:not(.theme-light) .icon-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
body.wallpaper:not(.theme-light) .brand,
body.wallpaper:not(.theme-light) .page-title,
body.wallpaper:not(.theme-light) .page-lead,
body.wallpaper:not(.theme-light) .page-kicker,
body.wallpaper:not(.theme-light) .crumb,
body.wallpaper:not(.theme-light) .legal-foot,
body.wallpaper:not(.theme-light) .user-chip {
  color: #f5f5f7;
}
body.wallpaper:not(.theme-light) .page-kicker,
body.wallpaper:not(.theme-light) .crumb,
body.wallpaper:not(.theme-light) .page-head__meta,
body.wallpaper:not(.theme-light) .legal-foot {
  color: rgba(245, 245, 247, 0.72);
}
body.wallpaper:not(.theme-light) .app-grid a { color: #fff; }
body.wallpaper:not(.theme-light) .kpi {
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
}
body.wallpaper:not(.theme-light) .kpi span { color: rgba(245, 245, 247, 0.7); }
body.wallpaper:not(.theme-light) .sync-card--vei {
  background: linear-gradient(145deg, rgba(0,113,227,0.22), rgba(255,255,255,0.04));
  border-color: rgba(96,165,250,0.28);
}
body.wallpaper:not(.theme-light) .sync-card--imo {
  background: linear-gradient(145deg, rgba(5,150,105,0.22), rgba(255,255,255,0.04));
  border-color: rgba(52,211,153,0.28);
}
body.wallpaper:not(.theme-light) .sync-card--vei .sync-card__stock { color: #7dd3fc; }
body.wallpaper:not(.theme-light) .sync-card--imo .sync-card__stock { color: #6ee7b7; }
body.wallpaper:not(.theme-light) .sync-pill--new { background: rgba(52,211,153,0.18); color: #a7f3d0; }
body.wallpaper:not(.theme-light) .sync-pill--upd { background: rgba(96,165,250,0.18); color: #bfdbfe; }
body.wallpaper:not(.theme-light) .adm-chip {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
body.wallpaper:not(.theme-light) .adm-chip.is-on {
  background: rgba(0,113,227,0.28);
  border-color: rgba(96,165,250,0.45);
}
body.wallpaper:not(.theme-light) .adm-chip__n { background: rgba(255,255,255,0.1); color: rgba(245,245,247,0.75); }

body.wallpaper:not(.theme-light) .filters,
body.wallpaper:not(.theme-light) .toolbar,
body.wallpaper:not(.theme-light) .form-panel,
body.wallpaper:not(.theme-light) .table-wrap,
body.wallpaper:not(.theme-light) .glass,
body.wallpaper:not(.theme-light) .seg-card,
body.wallpaper:not(.theme-light) .cfg-card,
body.wallpaper:not(.theme-light) .kanban-col {
  background: rgba(12, 14, 22, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
}

body.wallpaper:not(.theme-light) .filters label,
body.wallpaper:not(.theme-light) .toolbar label,
body.wallpaper:not(.theme-light) .field label,
body.wallpaper:not(.theme-light) .cotacao-inline__label {
  color: rgba(245, 245, 247, 0.72);
}

body.wallpaper:not(.theme-light) .filters input,
body.wallpaper:not(.theme-light) .filters select,
body.wallpaper:not(.theme-light) .toolbar input,
body.wallpaper:not(.theme-light) .toolbar select,
body.wallpaper:not(.theme-light) .field input,
body.wallpaper:not(.theme-light) .field select,
body.wallpaper:not(.theme-light) .field textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f5f7;
}
body.wallpaper:not(.theme-light) .filters input::placeholder,
body.wallpaper:not(.theme-light) .field input::placeholder {
  color: rgba(245, 245, 247, 0.45);
}
body.wallpaper:not(.theme-light) .filters option,
body.wallpaper:not(.theme-light) .field option {
  background: #1c1c22;
  color: #f5f5f7;
}

body.wallpaper:not(.theme-light) .btn--dark {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}
body.wallpaper:not(.theme-light) .btn--soft,
body.wallpaper:not(.theme-light) .pill-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
body.wallpaper:not(.theme-light) .btn--gold,
body.wallpaper:not(.theme-light) .btn-blue {
  background: #0a84ff;
  color: #fff;
}

body.wallpaper:not(.theme-light) table.cotas th,
body.wallpaper:not(.theme-light) table.table th {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 247, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
body.wallpaper:not(.theme-light) table.cotas td,
body.wallpaper:not(.theme-light) table.table td {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #f5f5f7;
}
body.wallpaper:not(.theme-light) table.cotas tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
}
body.wallpaper:not(.theme-light) table.cotas tbody tr.is-selected {
  background: rgba(10, 132, 255, 0.22);
}

body.wallpaper:not(.theme-light) .adm-name,
body.wallpaper:not(.theme-light) .money,
body.wallpaper:not(.theme-light) .cotacao-inline__val,
body.wallpaper:not(.theme-light) strong {
  color: #ffffff;
}
body.wallpaper:not(.theme-light) .codigo {
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.14);
}
body.wallpaper:not(.theme-light) .adm-slot {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
body.wallpaper:not(.theme-light) .adm-slot--fallback::after {
  color: #0a84ff;
}
body.wallpaper:not(.theme-light) .cet--ok { color: #30d158; }
body.wallpaper:not(.theme-light) .cet--bad { color: #ff6961; }
body.wallpaper:not(.theme-light) .muted,
body.wallpaper:not(.theme-light) .empty-row,
body.wallpaper:not(.theme-light) .hint-inline {
  color: rgba(245, 245, 247, 0.7);
}

body.wallpaper:not(.theme-light) .filters__bar {
  border-top-color: rgba(255, 255, 255, 0.12);
}
body.wallpaper:not(.theme-light) .kanban-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
}
body.wallpaper:not(.theme-light) .kanban-card__meta,
body.wallpaper:not(.theme-light) .kanban-empty {
  color: rgba(245, 245, 247, 0.65);
}
body.wallpaper:not(.theme-light) .form-subtitle,
body.wallpaper:not(.theme-light) .bento-h,
body.wallpaper:not(.theme-light) .cad-card h2,
body.wallpaper:not(.theme-light) .seg-card h2,
body.wallpaper:not(.theme-light) .cfg-card h2 {
  color: #fff;
}


/* —— Tema de fundo (MonTal) —— */
.done {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: none;
}
.edit-on .done { display: inline-flex; }

.color-pop {
  position: fixed;
  top: 58px;
  right: 28px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 18px;
  padding: 12px 14px;
  display: none;
  z-index: 30;
  border: 1px solid rgba(11, 27, 43, 0.1);
  margin: 0;
  width: auto;
  box-shadow: 0 16px 48px rgba(11, 27, 43, 0.12);
}
.edit-on .color-pop {
  display: flex;
  gap: 8px;
  align-items: center;
}
.color-pop .faint {
  color: rgba(11, 27, 43, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.color-pop .swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.color-pop .swatch:hover { transform: scale(1.12); }
.color-pop .swatch-white {
  background: linear-gradient(145deg, #ffffff, #f4faf6);
  box-shadow: inset 0 0 0 1px #c7c7cc;
}
.color-pop .swatch-yellow {
  box-shadow: inset 0 0 0 1px rgba(180, 140, 0, 0.35);
}
.color-pop .swatch.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(var(--cnt-accent-rgb, 11, 60, 196), 0.9);
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 27, 43, 0.08);
}
.theme-switch .swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.theme-switch .swatch-white {
  background: linear-gradient(145deg, #ffffff, #f4faf6);
  box-shadow: inset 0 0 0 1px #c7c7cc;
}
.theme-switch .swatch.is-on {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(var(--cnt-accent-rgb, 11, 60, 196), 0.85);
}

/* —— CRUD GCT (lista + modal) —— */
.req { color: #dc2626; font-style: normal; }
.gct-req {
  color: #dc2626;
  font-weight: 700;
  margin-left: 0.12em;
}
.text-end { text-align: right; }
.small { font-size: 0.78rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  color: var(--text);
}
.badge--ok { background: #16a34a; color: #fff; }
.badge--muted { background: rgba(0,0,0,0.08); color: var(--muted); }
body.wallpaper:not(.theme-light) .badge { background: rgba(255,255,255,0.12); color: #fff; }
body.wallpaper:not(.theme-light) .badge--ok { background: rgba(48,209,88,0.28); color: #30d158; }
.row-actions { white-space: nowrap; }
.inline { display: inline; margin: 0; }

/* ??? Page head GCT ??? */
.wash-page-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  position: relative;
}
.wash-page-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 12rem);
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #06b6d4, #8b5cf6, transparent);
  opacity: 0.95;
}
.wash-page-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wash-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.wash-filter-bar {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.wash-filter-bar__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}
.wash-filter-bar .field { margin-bottom: 0; }
.wash-filter-grow { flex: 1 1 280px; margin: 0; min-width: 200px; }

/* ??? Buttons GCT ??? */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 45%, #0e7490 100%);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.35);
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  color: #fff;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
  color: #475569;
  font-weight: 600;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.btn-outline:hover { background: rgba(15, 23, 42, 0.04); color: #0f172a; }
.gct-btn-danger { color: #b91c1c; border-color: rgba(185, 28, 28, 0.35); }
.gct-btn-mail { color: #0f766e; border-color: rgba(15, 118, 110, 0.35); }

/* ??? Form controls GCT ??? */
.gct-fieldset,
.gct-form-card .gct-fieldset {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  padding: 1rem 1rem 0.55rem;
  margin: 0 0 0.85rem;
  background: rgba(248, 250, 252, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.gct-fieldset-legend {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  padding: 0 0.35rem;
  float: none;
  width: auto;
}
.gct-fieldset-collapse {
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.72);
  overflow: hidden;
  margin-bottom: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.gct-fieldset-collapse-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}
.gct-fieldset-collapse-toggle:hover { background: #fff; }
.gct-fieldset-collapse-icon {
  flex-shrink: 0;
  color: #64748b;
  transition: transform 0.2s ease;
}
.gct-fieldset-collapse-toggle[aria-expanded="true"] .gct-fieldset-collapse-icon {
  transform: rotate(180deg);
}
.gct-fieldset-collapse-body {
  padding: 0.75rem 1rem 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}
.gct-form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
}
.gct-span-2 { grid-column: span 2; }
.gct-span-3 { grid-column: span 3; }
.gct-span-4 { grid-column: span 4; }
.gct-span-5 { grid-column: span 5; }
.gct-span-6 { grid-column: span 6; }
.gct-span-9 { grid-column: span 9; }
.gct-span-12 { grid-column: span 12; }
@media (max-width: 720px) {
  .gct-span-2, .gct-span-3, .gct-span-4, .gct-span-5, .gct-span-6, .gct-span-9 {
    grid-column: span 12;
  }
}
.gct-fieldset .field,
.gct-fieldset-collapse .field {
  margin-bottom: 0.35rem;
}
.gct-fieldset .form-label,
.gct-fieldset-collapse .form-label,
.wash-filter-bar .form-label {
  display: block;
  font-weight: 500;
  font-size: 0.8125rem;
  text-transform: none;
  letter-spacing: 0;
  color: #0f172a;
  margin-bottom: 0.35rem;
}
.form-control,
.form-select,
.gct-fieldset input,
.gct-fieldset select,
.gct-fieldset-collapse input,
.gct-fieldset-collapse select,
.wash-filter-bar .form-control {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  background: #f8fafc;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.form-control:focus,
.form-select:focus,
.gct-fieldset input:focus,
.gct-fieldset select:focus,
.gct-fieldset-collapse input:focus,
.gct-fieldset-collapse select:focus {
  outline: none;
  border-color: #06b6d4;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.form-text, .field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #64748b;
}
.gct-kyc-field-empty,
.gct-kyc-field-empty:focus {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.12) !important;
  box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.12);
}

/* ??? Modal GCT ??? */
.crud-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.48);
}
.crud-modal.is-open { display: flex; }
.crud-modal__dialog {
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  background: #fff;
  color: #0f172a;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.crud-modal__dialog--xl { width: min(960px, 100%); }
.crud-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.crud-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
}
.crud-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  line-height: 1;
}
.crud-modal__body {
  padding: 1rem 1.25rem;
  overflow: auto;
  flex: 1;
}
.crud-modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}
.crud-modal__form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
body.modal-open { overflow: hidden; }

/* ??? Table GCT ??? */
.gct-data-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}
.gct-data-table { width: 100%; border-collapse: collapse; }
.gct-data-table th {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  text-align: left;
}
.gct-data-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  vertical-align: middle;
  color: #0f172a;
}
.gct-data-table tr:last-child td { border-bottom: 0; }
.gct-table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: #f8fafc;
}
.gct-action-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
}
.gct-action {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(6, 182, 212, 0.4);
  background: #fff;
  color: #0891b2;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.gct-action--edit { border-color: rgba(6, 182, 212, 0.45); color: #0891b2; }
.gct-action--mail { border-color: rgba(16, 185, 129, 0.45); color: #059669; }
.gct-action--danger { border-color: rgba(239, 68, 68, 0.4); color: #dc2626; }
.gct-action:hover { background: rgba(6, 182, 212, 0.08); }
.gct-action--mail:hover { background: rgba(16, 185, 129, 0.08); }
.gct-action--danger:hover { background: rgba(239, 68, 68, 0.08); }
.gct-action:disabled { opacity: 0.35; cursor: not-allowed; }
.gct-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.gct-form-card { padding: 1.25rem; }
.gct-form-card-narrow { max-width: 28rem; }

/* legacy details fallback */
.crud-fs { display: none; }


/* === GCT override (force) v20260923 === */
.crud-modal .field label,
.crud-modal .form-label,
.gct-fieldset .field label,
.gct-fieldset .form-label,
.gct-fieldset-collapse .field label,
.gct-fieldset-collapse .form-label {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  color: #0f172a !important;
}
.crud-modal .gct-fieldset {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem 0.4rem !important;
}
.crud-modal .gct-fieldset-legend {
  background: #fff !important;
  color: #64748b !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  padding: 0 0.4rem !important;
  margin-bottom: 0 !important;
}
.crud-modal .gct-fieldset-collapse {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
}
.crud-modal .gct-fieldset-collapse-toggle {
  background: #f8fafc !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
}
.crud-modal .btn-primary,
.wash-page-head .btn-primary,
.wash-filter-bar .btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0891b2 50%, #0e7490) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(6,182,212,.35) !important;
}
.crud-modal input.gct-kyc-field-empty,
.crud-modal select.gct-kyc-field-empty,
.crud-modal [required].gct-kyc-field-empty {
  border-color: #f59e0b !important;
  background: rgba(245,158,11,.12) !important;
}

/* === Lista GCT polish (dark + light) v20260923b === */
.wash-page-head { margin-bottom: 1.15rem; padding-bottom: 1rem; }
.wash-page-head .crumb {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  opacity: 0.72;
}
.wash-title { font-size: clamp(1.55rem, 2.2vw, 1.9rem); }

.wash-filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
.wash-filter-bar__fields {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  width: 100%;
}
.wash-filter-bar .form-label {
  color: #64748b !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.3rem !important;
}
.wash-filter-bar .form-control {
  min-height: 42px;
  border-radius: 12px !important;
  background: #fff !important;
  border: 1px solid rgba(100, 116, 139, 0.28) !important;
  color: #0f172a !important;
}
.wash-filter-bar .form-control::placeholder { color: #94a3b8 !important; }
.wash-filter-bar .btn-primary {
  min-height: 42px;
  padding-inline: 1.15rem;
  flex-shrink: 0;
}

.gct-data-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
.gct-data-table th {
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  padding: 0.75rem 1rem;
}
.gct-data-table td {
  padding: 0.78rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.gct-data-table tbody tr:hover td {
  background: rgba(6, 182, 212, 0.04);
}
.gct-table-foot {
  background: rgba(248, 250, 252, 0.95);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.65rem 1rem;
}
.gct-data-table .badge {
  background: rgba(15, 23, 42, 0.06);
  color: #334155;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.gct-data-table .badge--ok {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.18);
}

.gct-action {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.28);
  color: #0891b2;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.gct-action:hover { transform: translateY(-1px); background: rgba(6, 182, 212, 0.16); }
.gct-action--mail {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}
.gct-action--mail:hover { background: rgba(16, 185, 129, 0.16); }
.gct-action--danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.28);
  color: #dc2626;
}
.gct-action--danger:hover { background: rgba(239, 68, 68, 0.16); }

/* Dark theme — glass unificado (sem bloco branco) */
body.wallpaper:not(.theme-light) .wash-title { color: #f8fafc; }
body.wallpaper:not(.theme-light) .wash-page-head .crumb,
body.wallpaper:not(.theme-light) .wash-page-head .crumb a {
  color: rgba(248, 250, 252, 0.62);
}
body.wallpaper:not(.theme-light) .wash-filter-bar {
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
body.wallpaper:not(.theme-light) .wash-filter-bar .form-label {
  color: rgba(248, 250, 252, 0.55) !important;
}
body.wallpaper:not(.theme-light) .wash-filter-bar .form-control {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #f8fafc !important;
}
body.wallpaper:not(.theme-light) .wash-filter-bar .form-control::placeholder {
  color: rgba(248, 250, 252, 0.38) !important;
}
body.wallpaper:not(.theme-light) .gct-data-card,
body.wallpaper:not(.theme-light) .table-wrap.gct-data-card {
  background: rgba(12, 18, 32, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.wallpaper:not(.theme-light) .gct-data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 250, 252, 0.45);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.wallpaper:not(.theme-light) .gct-data-table td {
  color: rgba(248, 250, 252, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.wallpaper:not(.theme-light) .gct-data-table tbody tr:hover td {
  background: rgba(6, 182, 212, 0.08);
}
body.wallpaper:not(.theme-light) .gct-data-table strong { color: #fff; }
body.wallpaper:not(.theme-light) .gct-table-foot {
  background: rgba(255, 255, 255, 0.04);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.5);
}
body.wallpaper:not(.theme-light) .gct-table-foot .muted,
body.wallpaper:not(.theme-light) .gct-table-foot .small {
  color: rgba(248, 250, 252, 0.5);
}
body.wallpaper:not(.theme-light) .gct-data-table .badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(248, 250, 252, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
}
body.wallpaper:not(.theme-light) .gct-data-table .badge--ok {
  background: rgba(48, 209, 88, 0.18);
  color: #4ade80;
  border-color: rgba(48, 209, 88, 0.22);
}
body.wallpaper:not(.theme-light) .gct-action {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: #67e8f9;
}
body.wallpaper:not(.theme-light) .gct-action--mail {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}
body.wallpaper:not(.theme-light) .gct-action--danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}
body.wallpaper:not(.theme-light) .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(248, 250, 252, 0.85);
}

/* Brand mark CNT — carta contemplada (selo) */
.brand-mark,
.nav-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(11, 28, 44, 0.22);
  background: #0b1c2c;
  padding: 0;
  font-size: 0;
  color: transparent;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.brand { display: inline-flex; align-items: center; gap: 8px; }
.nav-brand { display: flex; align-items: center; gap: 10px; }

.login-kicker {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8922a;
}

/* Validação CPF/CNPJ */
.gct-doc-validate.is-invalid,
.gct-cpf-validate.is-invalid,
.form-control.is-invalid {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.06) !important;
}
.gct-doc-validate.is-valid,
.gct-cpf-validate.is-valid {
  border-color: #10b981 !important;
}
.invalid-feedback {
  display: none;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #dc2626;
}
.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   Contraste harmônico — tema aurora clara (força legibilidade)
   ═══════════════════════════════════════════════════════════════ */
body.wallpaper.theme-light,
body.wallpaper.theme-light .shell,
body.wallpaper.theme-light .page {
  color: #0f172a;
}
body.wallpaper.theme-light h1,
body.wallpaper.theme-light h2,
body.wallpaper.theme-light h3,
body.wallpaper.theme-light .page-title,
body.wallpaper.theme-light .bento-h,
body.wallpaper.theme-light .brand,
body.wallpaper.theme-light .form-subtitle,
body.wallpaper.theme-light .criativo-card__body h2 {
  color: #0f172a !important;
}
body.wallpaper.theme-light .page-lead,
body.wallpaper.theme-light .page-kicker,
body.wallpaper.theme-light .crumb,
body.wallpaper.theme-light .legal-foot,
body.wallpaper.theme-light .muted,
body.wallpaper.theme-light .faint,
body.wallpaper.theme-light .hint-inline,
body.wallpaper.theme-light .kpi span,
body.wallpaper.theme-light .criativo-seg,
body.wallpaper.theme-light .criativo-card__body p,
body.wallpaper.theme-light .field label,
body.wallpaper.theme-light .filters label,
body.wallpaper.theme-light .toolbar label,
body.wallpaper.theme-light .cotacao-inline__label {
  color: rgba(15, 23, 42, 0.72) !important;
}
body.wallpaper.theme-light .glass,
body.wallpaper.theme-light .form-panel,
body.wallpaper.theme-light .table-wrap,
body.wallpaper.theme-light .filters,
body.wallpaper.theme-light .toolbar,
body.wallpaper.theme-light .seg-card,
body.wallpaper.theme-light .cfg-card,
body.wallpaper.theme-light .cad-card,
body.wallpaper.theme-light .kanban-col,
body.wallpaper.theme-light .criativo-card {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px rgba(15, 23, 42, 0.07);
}
body.wallpaper.theme-light .profile.glass,
body.wallpaper.theme-light .profile {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%) !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}
body.wallpaper.theme-light .profile h2,
body.wallpaper.theme-light .profile .muted,
body.wallpaper.theme-light .profile .faint {
  color: #0f172a !important;
}
body.wallpaper.theme-light .profile .muted,
body.wallpaper.theme-light .profile .faint {
  color: rgba(15, 23, 42, 0.7) !important;
}
body.wallpaper.theme-light .profile a.faint {
  color: #0369a1 !important;
}
body.wallpaper.theme-light .app-grid a {
  color: #0f172a !important;
}
body.wallpaper.theme-light .kpi {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
body.wallpaper.theme-light .kpi strong {
  color: #0f172a;
}
body.wallpaper.theme-light .top-jump-link {
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.14);
}
body.wallpaper.theme-light .top-jump-link.is-current {
  background: rgba(0, 113, 227, 0.14) !important;
  color: #0f172a !important;
  border-color: rgba(0, 113, 227, 0.35);
  font-weight: 700;
}
body.wallpaper.theme-light .icon-btn {
  color: #0f172a !important;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
}
body.wallpaper.theme-light .gct-tour-welcome {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}
body.wallpaper.theme-light .gct-tour-welcome__kicker { color: #0369a1 !important; }
body.wallpaper.theme-light .gct-tour-welcome__title { color: #0f172a !important; }
body.wallpaper.theme-light .gct-tour-welcome__lead { color: rgba(15, 23, 42, 0.78) !important; }
body.wallpaper.theme-light .flash,
body.wallpaper.theme-light .toast {
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}
body.wallpaper.theme-light .flash--ok,
body.wallpaper.theme-light .toast-ok {
  background: #ecfdf5;
  color: #065f46 !important;
}
body.wallpaper.theme-light table.cotas th {
  color: rgba(15, 23, 42, 0.65);
}
body.wallpaper.theme-light table.cotas td,
body.wallpaper.theme-light .money,
body.wallpaper.theme-light .adm-name,
body.wallpaper.theme-light .codigo {
  color: #0f172a;
}
body.wallpaper.theme-light .btn--soft,
body.wallpaper.theme-light .pill-ghost {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.14);
}
body.wallpaper.theme-light .btn--gold,
body.wallpaper.theme-light .btn-blue {
  color: #fff !important;
}
body.wallpaper.theme-light .nav-drawer {
  background: rgba(255, 255, 255, 0.97);
  border-right: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
}
body.wallpaper.theme-light .nav-brand,
body.wallpaper.theme-light .nav-acc-btn,
body.wallpaper.theme-light .nav-groups a {
  color: #0f172a !important;
}
body.wallpaper.theme-light .nav-acc-btn:hover,
body.wallpaper.theme-light .nav-acc.is-open .nav-acc-btn {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a !important;
}
body.wallpaper.theme-light .nav-groups a:hover {
  background: rgba(0, 113, 227, 0.08);
}
body.wallpaper.theme-light .nav-groups a.is-current {
  background: rgba(0, 113, 227, 0.12);
  color: #0f172a !important;
}
body.wallpaper.theme-light .nav-groups a .ico {
  color: #0071e3;
}
body.wallpaper.theme-light .nav-groups a.is-current .ico {
  color: #0071e3;
}
body.wallpaper.theme-light input,
body.wallpaper.theme-light select,
body.wallpaper.theme-light textarea {
  color: #0f172a;
  background: #fff;
  border-color: rgba(15, 23, 42, 0.16);
}
body.wallpaper.theme-light ::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

/* ——— Config: parâmetros / audit / monitor (padrão GCT) ——— */
.cnt-config-card {
  background: var(--glass, #fff);
  border: 1px solid var(--stroke, #e5e7eb);
  border-radius: 22px;
  padding: 1.15rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
}
.cnt-param-wrap { overflow-x: auto; border-radius: 14px; }
.cnt-param-table { width: 100%; border-collapse: collapse; }
.cnt-param-table th {
  text-align: left; font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--stroke);
}
.cnt-param-table td {
  vertical-align: top; padding: 1rem 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.cnt-param-col-nome { min-width: 11rem; max-width: 16rem; }
.cnt-param-col-opcoes { min-width: 12rem; width: 14rem; }
.cnt-param-nome { font-weight: 700; font-size: 0.98rem; color: var(--text); }
.cnt-param-chave { margin: 0.3rem 0; }
.cnt-param-chave code {
  font-size: 0.72rem; background: rgba(15, 23, 42, 0.06);
  padding: 0.12rem 0.4rem; border-radius: 6px; color: #b45309;
}
.cnt-param-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.cnt-param-intro { margin: 0 0 0.5rem; font-size: 0.86rem; color: var(--text); line-height: 1.45; }
.cnt-param-def {
  margin: 0; padding-left: 1.1rem; font-size: 0.8rem;
  color: var(--muted); line-height: 1.45;
}
.cnt-param-def li + li { margin-top: 0.35rem; }
.cnt-param-def strong { color: var(--text); font-weight: 650; }
.cnt-param-select {
  width: 100%; border-radius: 12px; padding: 0.55rem 0.65rem;
  border: 1px solid var(--stroke); background: #fff; font: inherit;
}

.cnt-audit-filters {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 1.15rem; align-items: end;
}
.cnt-audit-filters__actions {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
  grid-column: 1 / -1;
}
.cnt-audit-date { white-space: nowrap; font-size: 0.82rem; }
.cnt-audit-acao {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  padding: 0.15rem 0.45rem; border-radius: 999px;
  background: rgba(0, 113, 227, 0.1); color: #0b3cc4;
}
.cnt-audit-email { font-size: 0.82rem; color: var(--muted); }
.cnt-audit-detalhe code {
  font-size: 0.78rem; color: #be185d;
  background: rgba(190, 24, 93, 0.06); padding: 0.1rem 0.35rem; border-radius: 4px;
  word-break: break-word;
}
.cnt-audit-foot { margin: 0.75rem 0 0; font-size: 0.8rem; color: var(--muted); }

.cnt-monitor-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.25rem;
}
@media (max-width: 900px) { .cnt-monitor-grid { grid-template-columns: 1fr; } }
.cnt-monitor-card--wide { grid-column: 1 / -1; }
.cnt-monitor-card h2 {
  margin: 0 0 0.35rem; font-size: 1.05rem; letter-spacing: -0.02em;
}
.cnt-monitor-lead { margin: 0 0 0.85rem; font-size: 0.86rem; color: var(--muted); line-height: 1.4; }
.cnt-monitor-dl { margin: 0; display: grid; gap: 0.55rem; }
.cnt-monitor-dl > div {
  display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; gap: 0.5rem;
  font-size: 0.88rem;
}
.cnt-monitor-dl dt { margin: 0; color: var(--muted); font-weight: 500; }
.cnt-monitor-dl dd { margin: 0; font-weight: 650; color: var(--text); }
.cnt-monitor-links { margin: 0.85rem 0 0; font-size: 0.86rem; }
.cnt-monitor-links a { color: #0b3cc4; font-weight: 650; }
.cnt-monitor-bar {
  height: 10px; border-radius: 999px; background: rgba(15, 23, 42, 0.08);
  overflow: hidden; margin-bottom: 0.45rem;
}
.cnt-monitor-bar > span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #0b3cc4, #38bdf8);
}
.cnt-monitor-bar > span.is-warn { background: linear-gradient(90deg, #d97706, #fbbf24); }
.cnt-monitor-bar > span.is-danger { background: linear-gradient(90deg, #b91c1c, #f87171); }
.cnt-monitor-bar-label { margin: 0 0 0.75rem; font-size: 0.82rem; color: var(--muted); }
.cnt-monitor-kpis { margin-bottom: 1rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
