/* =====================================================================
   Veritas — portal da GR Water Solutions
   Identidade do WaterBrain (tema claro): Poppins nos títulos, Inter no corpo, cores da marca
   (azul #116CD3 · verde #51CF4A · laranja #FA981A · navy #06267C), página clara, cartões brancos.
   Sem estilos inline (a CSP do servidor só aceita esta folha).
   ===================================================================== */
:root {
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --text: #1F222B;
  --strong: #0D1020;
  --muted: #4A5366;
  --subtle: #7B8498;
  --border: #DCE2EC;
  --border-strong: #C3CBDA;

  --azul: #116CD3;      --azul-2: #11A0D3;    --tint-azul: #EBF3FF;
  --verde: #26A04D;     --verde-2: #51CF4A;   --tint-verde: #EAFBE9;
  --laranja: #F4771C;   --laranja-2: #FA981A; --tint-laranja: #FFF4E6;
  --navy: #06267C;      --navy-2: #082F97;    --tint-navy: #E6EBF5;

  --font-display: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(6, 38, 124, 0.06);
  --shadow: 0 4px 14px rgba(6, 38, 124, 0.08);
  --shadow-md: 0 14px 34px rgba(6, 38, 124, 0.12);
  --ring: 0 0 0 3px rgba(17, 108, 211, 0.28);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --top-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 420px at 8% -10%, rgba(17, 160, 211, 0.10), transparent 60%),
    radial-gradient(700px 380px at 96% 0%, rgba(250, 152, 26, 0.09), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--azul); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
h1, h2 { margin: 0; font-family: var(--font-display); color: var(--strong); }
p { margin: 0; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- topo */
.top {
  height: var(--top-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 clamp(16px, 4vw, 40px);
}
.gr-logo img { height: 42px; width: auto; }
.gr-logo { display: inline-flex; border-radius: 8px; }
.top__right { display: flex; align-items: center; gap: 14px; }

/* Quem está conectado: cartão flutuante no canto inferior direito, com a marca da GR no lugar das iniciais —
   a mesma imagem para todo mundo (Murillo, 21/09/2026). Abaixo do modal (z 100) e das páginas embutidas (z 40),
   que também o escondem por body.is-embed. */
.user {
  position: fixed; z-index: 30;
  right: clamp(16px, 4vw, 40px); bottom: clamp(16px, 3vh, 28px);
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow);
}
body.is-embed .user { display: none; }
.user__avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--border);
}
.user__avatar img { width: 27px; height: 27px; object-fit: contain; }
.user__meta { display: flex; flex-direction: column; line-height: 1.2; }
.user__name { font-weight: 600; font-size: 14px; color: var(--strong); }
.user__perfil { font-size: 12px; color: var(--subtle); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1;
  padding: 11px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}
.btn:hover { border-color: #8C97AD; box-shadow: var(--shadow); transform: translateY(-1px); }
.btn--sm { padding: 8px 12px; font-size: 13px; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn--ghost:hover { background: var(--surface); border-color: var(--border); color: var(--strong); box-shadow: var(--shadow-sm); }
.btn--primary { background: var(--azul); border-color: var(--azul); color: #fff; box-shadow: 0 4px 14px rgba(17, 108, 211, 0.25); }
.btn--primary:hover { background: #0F5FBD; border-color: #0F5FBD; box-shadow: 0 8px 22px rgba(17, 108, 211, 0.32); }

/* ---------------------------------------------------------------- início */
.view { display: none; }
.view.is-active { display: block; }
.home { padding: clamp(8px, 3vh, 36px) clamp(16px, 4vw, 40px) 104px; }   /* 104px: espaço para o cartão do usuário */

.hero { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 5vh, 52px); }
.wordmark { width: clamp(210px, 26vw, 300px); height: auto; margin: 0 auto 18px; }
.hero h1 { font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; letter-spacing: -0.01em; }
.lead { margin-top: 8px; color: var(--muted); font-size: 16px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1160px; margin: 0 auto;
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 212px; padding: 24px 24px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  color: var(--text); text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cor); text-decoration: none; }
.card:hover .card__arrow { transform: translateX(3px); }
.card--azul    { --cor: var(--azul);    --cor-2: var(--azul-2);    --tint: var(--tint-azul); }
.card--verde   { --cor: var(--verde);   --cor-2: var(--verde-2);   --tint: var(--tint-verde); }
.card--laranja { --cor: var(--laranja); --cor-2: var(--laranja-2); --tint: var(--tint-laranja); }
.card--navy    { --cor: var(--navy);    --cor-2: var(--navy-2);    --tint: var(--tint-navy); }

.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--cor);
}
.card__icon svg { width: 26px; height: 26px; }

/* A gotinha do WaterBrain (mesmo vetor da tela de login dele): sem o quadrado de fundo, pisca de vez em quando e os
   olhos seguem o mouse (portal.js). */
.wb-mark { display: inline-block; width: 64px; height: 64px; }
.wb-mark .wb-mark__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wb-mark__eye, .wb-mark__eyes { transform-box: fill-box; transform-origin: center; }
.wb-mark__eyes { transition: transform 380ms var(--ease); }
.wb-mark__eye { animation: wb-blink 7.5s infinite; }
.card:hover .wb-mark__eye { transform: scale(1.1); }
.card__icon .wb-mark { width: 44px; height: 44px; }   /* na mesma pastilha dos outros ícones, um pouco maior que os de traço */
.gate__logo.wb-mark { width: 84px; height: 84px; margin: 0 auto 10px; }
@keyframes wb-blink { 0%, 91%, 100% { transform: scaleY(1); } 94%, 97% { transform: scaleY(0.12); } }
.card__title { font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--strong); }
.card__desc { color: var(--muted); font-size: 14px; line-height: 1.5; flex: 1; }
.card__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cor);
}
.card__arrow { transition: transform 200ms var(--ease); }
.card__badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--cor);
}
.card--soon { cursor: default; }
.card--soon:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--border); }
.card--soon .card__icon { opacity: 0.55; }
.card--soon .card__title, .card--soon .card__desc { color: var(--subtle); }
.card--soon .card__cta { color: var(--subtle); }
.card--soon .card__arrow { display: none; }

.empty { text-align: center; color: var(--muted); margin-top: 24px; }

/* ---------------------------------------------------------------- página embutida */
body.is-embed { background: var(--surface); overflow: hidden; }
body.is-embed .top, body.is-embed .home { display: none; }
.page {
  position: fixed; inset: 0; z-index: 40;
  display: none; flex-direction: column; background: var(--surface);
}
.page.is-active { display: flex; }
.page--azul    { --cor: var(--azul); }
.page--verde   { --cor: var(--verde); }
.page--laranja { --cor: var(--laranja); }
.page--navy    { --cor: var(--navy); }

/* Sem barra (06/11/2026, "pode erradicar isso do Veritas"): o caminho de volta flutuante, só quando a página embutida
   não traz o dela (portal.js, page--volta) */
.volta {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  display: none; align-items: center; gap: 6px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  font-weight: 600; font-size: 13px; line-height: 1; color: #fff;
  background: rgba(16, 24, 40, 0.72); box-shadow: 0 4px 14px rgba(16, 24, 40, 0.18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.page--volta .volta { display: inline-flex; }
.volta:hover { background: rgba(16, 24, 40, 0.88); color: #fff; text-decoration: none; }
.volta:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; }
/* Tela cheia para as TVs (06/11/2026, #/<item>/fullscreen): o fundo da TV no lugar do branco enquanto carrega ou
   reconecta, e sem cursor */
.page--cheia, .page--cheia .shell, .page--cheia .shell iframe, .page--cheia .overlay { background: #04122E; }
.page--cheia .overlay { color: rgba(255, 255, 255, 0.72); }
.page--cheia .spinner { border-color: rgba(255, 255, 255, 0.16); border-top-color: #11A0D3; }
.page--cheia { cursor: none; }

.shell { position: relative; flex: 1; min-height: 0; background: var(--bg); }
.shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--surface); }

.overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; background: var(--bg); color: var(--muted); font-size: 14px;
  transition: opacity 320ms var(--ease);
}
.overlay.is-gone { opacity: 0; pointer-events: none; }
.loading { flex-direction: column; gap: 14px; }
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--cor, var(--azul));
  animation: spin 900ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.gate__card {
  max-width: 440px; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.gate__logo { width: 64px; height: 64px; margin: 0 auto 14px; }
.gate__card h2 { font-weight: 600; font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.gate__card p { color: var(--muted); }
.gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* ---------------------------------------------------------------- login */
body.login { display: flex; flex-direction: column; min-height: 100vh; }
.top--login { flex: none; }
.login-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 64px; }
.login-card {
  width: 100%; max-width: 460px; padding: 40px 36px 32px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-md);
}
.wordmark--login { width: clamp(220px, 60%, 300px); margin-bottom: 14px; }
.tagline { font-weight: 500; font-size: 17px; color: var(--muted); margin-bottom: 26px; }

.ms-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 13px 18px; border-radius: 10px;
  font-family: 'Segoe UI', var(--font-body); font-weight: 600; font-size: 15px;
  background: var(--surface); color: #1F222B; border: 1px solid #8C8C8C;
  transition: box-shadow 160ms var(--ease), transform 160ms var(--ease), border-color 160ms var(--ease);
}
.ms-btn:hover { text-decoration: none; border-color: #5E5E5E; box-shadow: var(--shadow); transform: translateY(-1px); }
.ms-btn.is-busy { pointer-events: none; opacity: 0.75; }
.ms-btn.is-disabled { opacity: 0.45; pointer-events: none; }

.dev-btn {
  display: block; margin-top: 12px; padding: 11px 16px; border-radius: 10px;
  font-size: 14px; color: var(--muted); border: 1px dashed var(--border-strong); background: var(--bg);
}
.dev-btn:hover { text-decoration: none; color: var(--strong); border-color: var(--laranja); }
.dev-btn small { color: var(--subtle); }

.hint { margin-top: 22px; font-size: 13px; color: var(--subtle); line-height: 1.5; }
.hint b { color: var(--muted); font-weight: 600; }

.msg {
  text-align: left; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45;
  border: 1px solid rgba(250, 104, 0, 0.45); background: rgba(250, 152, 26, 0.10); color: var(--text);
}
.msg.is-info { border-color: rgba(17, 108, 211, 0.40); background: rgba(17, 108, 211, 0.08); }
.msg__title { display: block; font-weight: 600; margin-bottom: 2px; }

/* ---------------------------------------------------------------- Configuração (admin) */
body.has-modal { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13, 16, 32, 0.45); backdrop-filter: blur(2px); }
.modal__card {
  position: relative; width: 100%; max-width: 900px; max-height: min(88vh, 760px);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-md);
  animation: rise 260ms var(--ease) both;
}
.modal__head { display: flex; align-items: center; gap: 18px; padding: 18px 20px 0; }
.modal__head h2 { font-weight: 600; font-size: 18px; flex: none; }
.modal__x {
  margin-left: auto; width: 34px; height: 34px; border-radius: 8px; border: 1px solid transparent; background: transparent;
  color: var(--muted); font-size: 14px; cursor: pointer;
}
.modal__x:hover { background: var(--bg); color: var(--strong); border-color: var(--border); }
.tabs { display: flex; gap: 4px; }
.tab {
  padding: 8px 14px; border: 0; background: transparent; border-radius: 8px 8px 0 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--muted); position: relative;
}
.tab:hover { color: var(--strong); }
.tab.is-active { color: var(--azul); }
.tab.is-active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--azul); border-radius: 2px; }
.tabpanel { display: none; padding: 18px 20px 20px; border-top: 1px solid var(--border); overflow: auto; min-height: 0; }
.tabpanel.is-active { display: block; }

.cfg-dica { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.cfg-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cfg-form--col { flex-direction: column; align-items: stretch; gap: 12px; }
.cfg-input, .cfg-select {
  font-family: var(--font-body); font-size: 14px; color: var(--text); background: var(--surface);
  padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 8px; min-width: 0;
}
.cfg-form > .cfg-input[name=email] { flex: 2 1 220px; }
.cfg-form > .cfg-input[name=nome] { flex: 2 1 180px; }
.cfg-form > .cfg-select { flex: 1 1 150px; }
.cfg-input:focus, .cfg-select:focus { outline: none; border-color: var(--azul); box-shadow: var(--ring); }
.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.cfg-msg { margin-top: 10px; padding: 8px 12px; border-radius: 8px; font-size: 13px; background: var(--tint-verde); color: #0E6B32; }
.cfg-msg.is-erro { background: rgba(250, 104, 0, 0.10); color: #9A4A00; }
/* aba TVs: o link de pareamento recém-gerado */
.cfg-link { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg);
  font-size: 13px; color: var(--muted); }
.cfg-link p { margin: 0 0 8px; }
.cfg-link strong { color: var(--strong); }
.cfg-link__linha { display: flex; gap: 8px; }
.cfg-link__linha .cfg-input { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
.cfg-vazio { color: var(--muted); text-align: center; padding: 18px 8px; }
.cfg-tablewrap { margin-top: 14px; overflow: auto; }
.cfg-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cfg-table th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.cfg-table td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cfg-table tr:last-child td { border-bottom: 0; }
.cfg-quem { display: flex; flex-direction: column; line-height: 1.25; }
.cfg-quem strong { font-weight: 600; color: var(--strong); }
.cfg-email { font-size: 12px; color: var(--subtle); }
.cfg-center { text-align: center; }
.cfg-right { text-align: right; }
.cfg-right span { font-size: 11px; color: var(--subtle); text-transform: none; letter-spacing: 0; }
.cfg-rm { color: #9A4A00; }
.cfg-rm:hover { border-color: rgba(250, 104, 0, 0.5); color: #7A3A00; }
.cfg-rm:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.setores { display: grid; grid-template-columns: 240px 1fr; gap: 18px; }
.setores__lista { display: flex; flex-direction: column; gap: 6px; }
.setor-item {
  text-align: left; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
  cursor: pointer; font-family: var(--font-body); display: flex; flex-direction: column; gap: 2px;
}
.setor-item strong { font-weight: 600; font-size: 14px; color: var(--strong); }
.setor-item span { font-size: 12px; color: var(--subtle); }
.setor-item:hover { border-color: var(--border-strong); }
.setor-item.is-active { border-color: var(--azul); background: var(--tint-azul); }
.setor-item--novo { justify-content: center; color: var(--azul); font-weight: 600; font-size: 14px; border-style: dashed; }
.setores__edit { min-height: 240px; }
.cfg-campo { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.cfg-campo span { font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }
.cfg-itens { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px 6px; margin: 0; }
.cfg-itens legend { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0 4px; }
.cfg-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; border-bottom: 1px solid var(--border); cursor: pointer; }
.cfg-item:last-child { border-bottom: 0; }
.cfg-item input { margin-top: 3px; }
.cfg-item__txt { display: flex; flex-direction: column; gap: 1px; font-size: 14px; }
.cfg-item__txt strong { font-weight: 600; color: var(--strong); }
.cfg-item__txt small { color: var(--subtle); font-size: 12px; }
.cfg-badge { display: inline-block; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--laranja); }
.cfg-acoes { display: flex; gap: 8px; align-items: center; }

@media (max-width: 720px) {
  .modal { padding: 0; align-items: stretch; }
  .modal__card { max-height: none; border-radius: 0; border: 0; }
  .modal__head { flex-wrap: wrap; gap: 10px; }
  .setores { grid-template-columns: 1fr; }
  .setores__lista { flex-direction: row; flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- entrada em sequência */
.rise { opacity: 0; transform: translateY(10px); animation: rise 620ms var(--ease) forwards; }
.hero .rise:nth-child(1) { animation-delay: 60ms; }
.hero .rise:nth-child(2) { animation-delay: 160ms; }
.hero .rise:nth-child(3) { animation-delay: 240ms; }
.cards .rise:nth-child(1) { animation-delay: 320ms; }
.cards .rise:nth-child(2) { animation-delay: 400ms; }
.cards .rise:nth-child(3) { animation-delay: 480ms; }
.cards .rise:nth-child(4) { animation-delay: 560ms; }
.cards .rise:nth-child(5) { animation-delay: 640ms; }
.cards .rise:nth-child(6) { animation-delay: 720ms; }
.cards .rise:nth-child(n+7) { animation-delay: 800ms; }
.login-card.rise { animation-delay: 40ms; }
.login-card .rise:nth-child(1) { animation-delay: 160ms; }
.login-card .rise:nth-child(2) { animation-delay: 260ms; }
.login-card .rise:nth-child(3) { animation-delay: 320ms; }
.login-card .rise:nth-child(4) { animation-delay: 380ms; }
.login-card .rise:nth-child(5) { animation-delay: 440ms; }
.login-card .rise:nth-child(6) { animation-delay: 500ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; }
  .wb-mark__eye { animation: none; }
  .card, .btn, .ms-btn, .overlay, .card__arrow, .wb-mark__eyes { transition: none; }
}

/* ---------------------------------------------------------------- telas menores */
@media (max-width: 720px) {
  :root { --top-h: 60px; }
  .gr-logo img { height: 34px; }
  .user__meta { display: none; }
  .user { padding: 7px; }                 /* só o avatar: o cartão vira um círculo */
  .home { padding-top: 4px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 0; padding: 20px; }
  .login-card { padding: 32px 22px 26px; border-radius: 20px; }
  #btnConfig svg + * { display: none; }
}
