/* =========================================================
   LOGIN – RH (LAYOUT NOVO) – mantendo IDs para o login.js
   ========================================================= */

:root {
  --bgA: #eef2f7;
  --bgB: #e5eaf1;
  --bgC: #dde3ec;

  --primary: #1f3a5f;
  --accent: #3b82f6;

  --txt: #0f172a;
  --muted: #475569;
  --muted2: #64748b;

  --card: #ffffff;
  --stroke: rgba(15, 23, 42, 0.12);

  --shadow: 0 26px 70px rgba(2, 6, 23, 0.16);
  --wmSvg: none;
}

html.theme-dark {
  --bgA: #0b1220;
  --bgB: #0a1726;
  --bgC: #08111d;

  --primary: #93c5fd;
  --accent: #60a5fa;

  --txt: #e5e7eb;
  --muted: #cbd5e1;
  --muted2: #94a3b8;

  --card: rgba(17, 24, 39, 0.78);
  --stroke: rgba(148, 163, 184, 0.16);

  --shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(
      1200px 700px at 18% 12%,
      rgba(59, 130, 246, 0.16),
      transparent 58%
    ),
    radial-gradient(
      980px 760px at 88% 92%,
      rgba(31, 58, 95, 0.14),
      transparent 62%
    ),
    linear-gradient(135deg, var(--bgA), var(--bgB), var(--bgC));
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Arial, "Noto Sans", sans-serif;
  color: var(--txt);
  /* evita cortes/elementos sobrepostos em telas menores */
  overflow-x: hidden;
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
      to right,
      rgba(15, 23, 42, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.22;
  animation: gridMove 120s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -12%;
  pointer-events: none;
  background: radial-gradient(
      600px 420px at 22% 18%,
      rgba(59, 130, 246, 0.14),
      transparent 60%
    ),
    radial-gradient(
      640px 460px at 78% 82%,
      rgba(31, 58, 95, 0.12),
      transparent 62%
    ),
    var(--wmSvg);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 420px 420px;
  transform: rotate(-8deg);
  opacity: 0.62;
  animation: watermarkFloat 90s ease-in-out infinite alternate,
    glowDrift 22s ease-in-out infinite alternate;
  filter: blur(0.25px);
}

@keyframes gridMove {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-64px, 64px);
  }
}
@keyframes watermarkFloat {
  0% {
    transform: translateY(0) rotate(-8deg);
  }
  100% {
    transform: translateY(-40px) rotate(-8deg);
  }
}
@keyframes glowDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 22px -18px, -18px 22px, 0 0;
  }
}

/* Mantém DOM do JS, mas oculta o visual espacial */
.bg,
.bg-image,
.bg-vignette,
.bg-dust,
.planet,
#stars,
.warp-overlay {
  display: none !important;
}

/* Fundo de ícones (gerados pelo login.js) */
.bg-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-icon {
  position: absolute;
  width: var(--s, 90px);
  height: var(--s, 90px);
  opacity: var(--o, 0.16);
  background-repeat: no-repeat;
  background-size: contain;
  filter: blur(var(--b, 0px));
  transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
  animation: iconFloatY var(--dy, 20s) ease-in-out infinite alternate,
    iconFloatX var(--dx, 26s) ease-in-out infinite alternate,
    iconSpin var(--ds, 90s) linear infinite;
  mix-blend-mode: multiply;
}
html.theme-dark .bg-icon {
  opacity: calc(var(--o, 0.16) * 0.85);
  mix-blend-mode: screen;
}
@keyframes iconFloatY {
  from {
    transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
  }
  to {
    transform: translate3d(0, var(--fy, -28px), 0) rotate(var(--r, 0deg));
  }
}
@keyframes iconFloatX {
  from {
    left: var(--x);
    top: var(--y);
  }
  to {
    left: calc(var(--x) + var(--fx, 22px));
    top: calc(var(--y) + var(--fy2, -14px));
  }
}
@keyframes iconSpin {
  to {
    rotate: 360deg;
  }
}

/* Layout */
.shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  height: auto;
  padding: 28px 24px;
  display: grid;
  place-items: center;
}
.layout {
  width: min(1760px, 99vw);
  display: grid;
  grid-template-columns: 1.25fr 1.25fr 1.05fr;
  grid-template-areas: "info1 info2 login";
  gap: 26px;
  align-items: stretch;
}

.panel-a {
  grid-area: info1;
}
.panel-help {
  grid-area: info2;
}
.card {
  grid-area: login;
}

.panel {
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
html.theme-dark .panel {
  background: rgba(17, 24, 39, 0.4);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.panel-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.panel-badge {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: var(--primary);
}
.panel-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  opacity: 0.9;
}

.panel-title {
  margin: 4px 0 0;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 950;
}
.panel-subtitle {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  max-width: 46ch;
}

.panel-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-list .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.22);
}

.panel-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.45);
  color: var(--muted);
  cursor: default;
  user-select: none;
}

html.theme-dark .pill {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.16);
}

.panel-illus {
  margin-top: 8px;
  color: var(--primary);
  opacity: 0.9;
  transform: translateY(6px);
}
.panel-illus svg {
  width: 100%;
  height: auto;
}

/* =========================================================
   EXPANDERS (painel de ajuda do login)
   ========================================================= */

.expander-stack {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.expander {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}
html.theme-dark .expander {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.16);
}

.expander summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.88);
}
html.theme-dark .expander summary {
  color: rgba(226, 232, 240, 0.92);
}

.expander summary::-webkit-details-marker {
  display: none;
}

.exp-ic {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.exp-content {
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.exp-list {
  margin: 10px 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 6px;
}

.exp-content code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-weight: 800;
}
html.theme-dark .exp-content code {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.16);
}

.exp-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(59, 130, 246, 0.06);
  font-size: 0.88rem;
}
html.theme-dark .exp-note {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(96, 165, 250, 0.1);
}

/* --- Expander tones (destaque por cor) --- */
/* Merged duplicate .expander and related selectors into the first definition block (lines 346-425). 
   Only unique or extended rules should be added below if needed. 
   The following block is intentionally left empty to avoid duplicate selector errors. */

/* --- Painéis como expanders --- */
.panel-box {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  overflow: hidden;
}
html.theme-dark .panel-box {
  background: rgba(2, 6, 23, 0.35);
  border-color: rgba(148, 163, 184, 0.16);
}

.panel-box summary {
  list-style: none;
}
.panel-box summary::-webkit-details-marker {
  display: none;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
html.theme-dark .panel-head {
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

/* Duplicate .panel-badge and .panel-badge svg removed to avoid selector conflicts. */

.panel-head-text {
  min-width: 0;
}
.panel-head-text .panel-title {
  margin: 0;
}
.panel-head-text .panel-subtitle {
  margin: 0.15rem 0 0;
}

.panel-chevron {
  /* ... seus outros estilos ... */
  display: grid; /* Mantém como grid para centralizar o texto/ícone */
  place-items: center;
  transition: transform 0.25s ease-in-out; /* Suaviza a rotação */
  transform: rotate(0deg); /* Estado inicial explícito */
}

/* Garante que quando o details pai estiver aberto, o chevron gire */
details.panel-box[open] .panel-chevron {
  transform: rotate(180deg) !important;
}

.panel-box[open] .panel-chevron {
  transform: rotate(180deg);
}
html.theme-dark .panel-chevron {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.16);
  color: #1e293b; /* Improved contrast for accessibility */
}

/* Adicione isso ao login.css */
.shake {
  animation: shakeAnim 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeAnim {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* Duplicate .panel-inner selector removed to avoid conflicts. */

.panel-lead {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.35;
}

.panel-icons {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.pico {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 16px;
}
html.theme-dark .pico {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.16);
}

/* Duplicate .card selector removed to avoid conflicts. */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 2px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 14px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.18);
  color: var(--primary);
}
.brand-mark svg {
  width: 26px;
  height: 26px;
  fill: var(--primary);
  opacity: 0.95;
}
.brand-title {
  margin: 0;
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 950;
  line-height: 1.1;
}
.brand-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted2);
}

.theme-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(148, 163, 184, 0.14);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.08s ease;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: rgba(15, 23, 42, 0.85);
  opacity: 0.92;
}
html.theme-dark .theme-toggle {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.1);
}
html.theme-dark .theme-toggle svg {
  fill: rgba(226, 232, 240, 0.9);
}
.theme-toggle:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
}
.theme-toggle:active {
  transform: translateY(1px);
}

.form {
  margin: 0;
}
.field {
  margin-top: 16px;
}
.input-wrap {
  position: relative;
  display: block;
  padding-top: 18px;
}

.input-surface {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: rgba(255, 255, 255, 0.78);
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background 0.16s ease;
}
html.theme-dark .input-surface {
  background: rgba(15, 23, 42, 0.28);
  border-color: rgba(148, 163, 184, 0.18);
}

.input-wrap.active .input-surface,
.input-wrap:focus-within .input-surface {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
  background: rgba(59, 130, 246, 0.03);
}

/* Inputs padrão (Firebase: e-mail/senha/etc.)
   Mantém o mesmo visual do PIN sem forçar letter-spacing.
*/
.input-surface input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--txt);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: 0;
  padding-top: 8px;
}
.input-surface input::placeholder {
  color: rgba(71, 85, 105, 0.65);
}
html.theme-dark .input-surface input::placeholder {
  color: rgba(226, 232, 240, 0.55);
}

/* Remove o amarelo/azul do autofill e mantém a cor do texto */
.input-surface input:-webkit-autofill,
.input-surface input:-webkit-autofill:hover,
.input-surface input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--txt);
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 9999s ease-in-out 0s;
}

#pinInput {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--txt);
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  padding-top: 8px;
}
#pinInput::placeholder {
  color: transparent;
}

.float-label {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 28px;
  font-size: 0.95rem;
  color: rgba(71, 85, 105, 0.92);
  pointer-events: none;
  transition: transform 0.16s ease, top 0.16s ease, color 0.16s ease;
  opacity: 0.95;
  padding: 0 6px;
  border-radius: 999px;
  line-height: 1.12;
  /* impede que o label "invada" a área dos botões e cause sobreposição */
  padding-right: 112px;
  max-width: none;
}
.float-label::before {
  content: "";
  position: absolute;
  inset: -6px -8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1);
  opacity: 0;
  transition: opacity 0.16s ease;
  z-index: -1;
}
html.theme-dark .float-label::before {
  background: rgba(17, 24, 39, 0.95);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.input-wrap:focus-within .float-label,
.input-wrap.has-value .float-label {
  top: 8px;
  transform: scale(0.86);
  color: rgba(15, 23, 42, 0.78);
}
html.theme-dark .input-wrap:focus-within .float-label,
html.theme-dark .input-wrap.has-value .float-label {
  color: rgba(226, 232, 240, 0.84);
}
.input-wrap:focus-within .float-label::before,
.input-wrap.has-value .float-label::before {
  opacity: 1;
}

.actions {
  display: flex;
  gap: 10px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(148, 163, 184, 0.16);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.15s ease, background 0.15s ease,
    transform 0.08s ease;
}
.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: rgba(15, 23, 42, 0.85);
  opacity: 0.92;
}
html.theme-dark .icon-btn {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.18);
}
html.theme-dark .icon-btn svg {
  fill: rgba(226, 232, 240, 0.9);
}
.icon-btn:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
}
.icon-btn:active {
  transform: translateY(1px);
}

.helper {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 2px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* =========================
   Firebase Auth UI (tabs)
========================= */
.auth-tabs {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 6px;
  margin: 10px 0 14px;
}
.auth-tab {
  flex: 1 1 auto;
  border: 0;
  cursor: pointer;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-weight: 700;
}
.auth-tab.is-active {
  background: rgba(74, 143, 255, 0.35);
  border: 1px solid rgba(74, 143, 255, 0.45);
}
.auth-pane {
  margin-top: 0;
}
.auth-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-row .field {
  flex: 1 1 240px;
}
.mini-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
  font-size: 13px;
}
.mini-links a {
  color: inherit;
  opacity: 0.86;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mini-links a:hover {
  opacity: 1;
}
.pw-hint {
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.86;
}
.pw-hint.ok {
  opacity: 1;
}
.sep {
  opacity: 0.55;
}
.error {
  min-height: 18px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 850;
  color: #dc2626;
  margin: 12px 0 6px;
}

.audit {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(59, 130, 246, 0.06);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}
html.theme-dark .audit {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(96, 165, 250, 0.1);
}

.btn-primary {
  width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: #1e293b;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.08s ease, box-shadow 0.15s ease, filter 0.15s ease;
  position: relative;
}
.btn-primary[disabled] {
  cursor: not-allowed;
  opacity: 0.68;
  filter: saturate(0.95) brightness(0.98);
}

.pad-wrap {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease;
}
.pad-wrap.show {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
}
.pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.k {
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(148, 163, 184, 0.1);
  color: rgba(15, 23, 42, 0.92);
  font-weight: 950;
  cursor: pointer;
}
html.theme-dark .k {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.16);
  color: #222f3e;
}

.foot {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(71, 85, 105, 0.78);
}

@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "login login"
      "info1 info2";
  }
}

@media (max-width: 860px) {
  .shell {
    padding: 20px 16px;
  }
  .layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "login"
      "info1"
      "info2";
  }
}

.brand-icon {
  width: 24px;
  height: 24px;
  display: block;
}
.brand-icon path:first-child {
  fill: currentColor;
  opacity: 0.15;
}

.panel-illus--help {
  color: rgba(37, 99, 235, 0.85);
}

/* Pills clicáveis -> abrem expander */
.pill-btn {
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.pill-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.pill-btn:active {
  transform: translateY(0);
}
.pill-btn:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: 2px;
}
