/* ==========================================================================
   AdHero — estilos globais
   Identidade: azul-marinho #142971 (texto/marca) + azul #2553FC (ação)
   Fonte: Poppins
   ========================================================================== */

:root {
  --ink: #142971;          /* marca, títulos */
  --ink-2: #0E1E57;        /* marca escurecida (painel do login) */
  --blue: #2553FC;         /* ação principal */
  --blue-700: #1A3FD6;
  --blue-50: #EEF2FF;
  --paper: #F5F7FC;        /* fundo das telas */
  --surface: #FFFFFF;
  --line: #E1E6F0;
  --text: #1E2640;
  --muted: #5E6A88;
  --ok: #138A4B;
  --ok-50: #E6F6EC;
  --warn: #A86A00;
  --warn-50: #FFF5DD;
  --err: #C8233A;
  --err-50: #FDECEE;

  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sidebar-w: 264px;
  --topbar-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0; font-weight: 600; }
:focus-visible { outline: 3px solid rgba(37, 83, 252, .35); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
[hidden] { display: none !important; }

/* ==========================================================================
   Carregando, aguarde
   ========================================================================== */
.loader {
  position: absolute; inset: 0; z-index: 40;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(245, 247, 252, .86);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.loader.is-on { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.loader--fixed { position: fixed; }
.loader--solid { background: var(--paper); }
.loader__ring {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid var(--blue-50);
  border-top-color: var(--blue);
  animation: girar .8s linear infinite;
}
.loader__txt { color: var(--ink); font-weight: 500; font-size: 14px; }
.loader__lento { color: var(--muted); font-size: 13px; text-align: center; max-width: 300px; }
.loader__lento button { margin-top: 10px; }
@keyframes girar { to { transform: rotate(360deg); } }

/* barra fina no topo durante a navegação */
.progress-line {
  position: absolute; top: 0; left: 0; height: 2px; width: 0; z-index: 41;
  background: var(--blue);
  opacity: 0; transition: width .4s var(--ease), opacity .3s;
}
.progress-line.is-on { opacity: 1; width: 75%; transition: width 6s cubic-bezier(.1, .6, .2, 1), opacity .1s; }
.progress-line.is-done { opacity: 0; width: 100%; transition: width .2s, opacity .3s .2s; }

/* ==========================================================================
   Botões e formulários
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--radius-s);
  font-weight: 500; font-size: 14px; cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--blue-50); border-color: #CFD8F5; }
.btn--block { width: 100%; }
.btn__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: girar .7s linear infinite; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; color: var(--ink); margin-bottom: 6px; font-size: 13px; }
.input {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fff; color: var(--text); font: inherit; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #9AA4BF; }
.input:hover { border-color: #C9D2E6; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 83, 252, .15); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 48px; }
.input-wrap__btn {
  position: absolute; right: 4px; top: 4px; width: 38px; height: 38px;
  border: 0; background: transparent; border-radius: 6px; color: var(--muted); cursor: pointer; font-size: 18px;
}
.input-wrap__btn:hover { color: var(--ink); background: var(--blue-50); }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--muted); font-size: 13px; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }

.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius-s); font-size: 13px; margin-bottom: 18px;
}
.alert i { font-size: 16px; line-height: 1.3; }
.alert--err  { background: var(--err-50);  color: var(--err); }
.alert--ok   { background: var(--ok-50);   color: var(--ok); }
.alert--warn { background: var(--warn-50); color: var(--warn); }

/* ==========================================================================
   Login
   ========================================================================== */
.login {
  min-height: 100%;
  display: grid; grid-template-columns: minmax(360px, 1fr) 1.1fr;
  background: var(--surface);
}
.login__form-side { display: flex; flex-direction: column; padding: 32px clamp(24px, 6vw, 72px); }
.login__logo { height: 34px; width: auto; align-self: flex-start; }
.login__wordmark { font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.login__box { width: 100%; max-width: 380px; margin: auto 0; padding: 40px 0; }
.login__box h1 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 6px; }
.login__sub { color: var(--muted); margin: 0 0 28px; }
.login__row { display: flex; justify-content: space-between; align-items: center; margin: -4px 0 22px; }
.login__foot { margin-top: 22px; color: var(--muted); font-size: 13px; }
.login__copy { color: #9AA4BF; font-size: 12px; }

/* painel: um resultado de busca do Google com o anúncio no topo */
.login__panel {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px clamp(28px, 5vw, 80px);
}
.login__panel::before {           /* grade sutil de fundo */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.login__panel > * { position: relative; }
.login__panel h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.025em; max-width: 15ch; margin-bottom: 12px; }
.login__panel > p { color: #B9C4EA; max-width: 40ch; margin: 0 0 36px; }

.serp { width: 100%; max-width: 500px; background: #fff; color: #202124; border-radius: var(--radius-l); padding: 18px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.serp__bar {
  display: flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 16px; border: 1px solid #DFE1E5; border-radius: 999px; font-size: 15px;
}
.serp__bar i { color: #9AA0A6; }
.serp__query::after { content: ""; display: inline-block; width: 1px; height: 18px; background: #202124; margin-left: 2px; vertical-align: -3px; animation: piscar 1s steps(1) infinite; }
.serp__query.is-done::after { display: none; }
@keyframes piscar { 50% { opacity: 0; } }
.serp__ad { padding: 18px 6px 4px; }
.serp__ad.is-hidden { opacity: 0; transform: translateY(8px); }
.serp__ad { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.serp__site { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.serp__fav { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 14px; }
.serp__tag { font-weight: 700; color: #202124; }
.serp__url { color: #4D5156; }
.serp__title { display: block; color: #1A0DAB; font-size: 19px; line-height: 1.3; margin: 8px 0 4px; }
.serp__desc { color: #4D5156; font-size: 13.5px; margin: 0; }
.serp__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; color: #1A0DAB; }
.serp__ghost { height: 10px; border-radius: 6px; background: #F1F3F4; margin: 18px 6px 0; }
.serp__ghost + .serp__ghost { width: 70%; margin-top: 8px; }

@media (max-width: 900px) {
  .login { grid-template-columns: 1fr; }
  .login__panel { display: none; }
  .login__box { margin: 40px auto; }
  .login__form-side { align-items: stretch; }
}

/* ==========================================================================
   Painel (shell)
   ========================================================================== */
.shell { overflow: hidden; }
.app { display: flex; height: 100%; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  display: flex; flex-direction: column;
  background: var(--surface); border-right: 1px solid var(--line);
  height: 100%; overflow-y: auto; overscroll-behavior: contain;
}
.sidebar__brand { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 18px; }
.sidebar__brand img { height: 32px; width: auto; }
.wordmark { font-weight: 600; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.sidebar__close { display: none; }

.sidebar__cta { padding: 0 16px 14px; }
.sidebar__cta .btn { width: 100%; min-height: 44px; }

.nav { padding: 6px 10px 12px; flex: 1; }
.nav__group { margin-top: 14px; }
.nav__group-name { padding: 0 12px 6px; font-size: 12px; color: var(--muted); font-weight: 500; }
.nav__link {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  min-height: 42px; padding: 0 12px; border-radius: var(--radius-s);
  color: var(--ink); font-weight: 500; text-decoration: none !important;
  transition: background .12s;
}
.nav__link i { font-size: 17px; width: 20px; text-align: center; color: #6E7AA0; }
.nav__link:hover { background: var(--paper); }
.nav__link.is-active { background: var(--blue-50); color: var(--blue); }
.nav__link.is-active i { color: var(--blue); }
.nav__link.is-active::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }

/* saldo */
.balance { margin: 4px 16px 12px; padding: 16px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.balance__label { font-size: 12px; color: #B9C4EA; display: flex; justify-content: space-between; align-items: center; }
.balance__refresh { border: 0; background: transparent; color: #B9C4EA; cursor: pointer; width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; }
.balance__refresh:hover { background: rgba(255,255,255,.1); color: #fff; }
.balance__refresh.is-spinning i { animation: girar .8s linear infinite; display: inline-block; }
.balance__value { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.balance__hint { font-size: 12px; color: #B9C4EA; margin: 0; }
.balance.is-low { background: #5A1220; }
.balance.is-low .balance__hint { color: #FFC9D1; }
.skeleton { display: inline-block; height: 1em; width: 120px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.2), rgba(255,255,255,.08)); background-size: 200% 100%; animation: brilho 1.2s linear infinite; vertical-align: middle; }
@keyframes brilho { to { background-position: -200% 0; } }

/* usuário */
.user { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.user__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 600; flex-shrink: 0; }
.user__info { min-width: 0; flex: 1; line-height: 1.3; }
.user__name { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user__mail { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user__logout { border: 0; background: transparent; color: var(--muted); width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: 17px; }
.user__logout:hover { color: var(--err); background: var(--err-50); }

/* área de conteúdo */
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100%; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 20px; background: var(--warn-50); color: var(--warn); font-size: 13px; border-bottom: 1px solid #F2E2B5; }
.notice a { color: var(--warn); font-weight: 600; }
.view { position: relative; flex: 1; min-height: 0; }
.view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--paper); }

/* topo mobile */
.topbar { display: none; }
.scrim { display: none; }

@media (max-width: 960px) {
  .app { flex-direction: column; }
  .topbar {
    display: flex; align-items: center; gap: 10px;
    height: var(--topbar-h); padding: 0 12px; flex-shrink: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
  }
  .topbar__menu { border: 0; background: transparent; width: 42px; height: 42px; border-radius: 10px; font-size: 22px; color: var(--ink); cursor: pointer; }
  .topbar__menu:hover { background: var(--paper); }
  .topbar img { height: 26px; width: auto; }
  .topbar__balance { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--ink); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; border: 0; cursor: pointer; }
  .topbar__balance.is-low { background: var(--err-50); color: var(--err); }

  .sidebar {
    position: fixed; z-index: 60; top: 0; left: 0; bottom: 0;
    width: min(86vw, 300px);
    transform: translateX(-102%); transition: transform .25s var(--ease);
    box-shadow: 20px 0 40px -20px rgba(20, 41, 113, .35);
  }
  .sidebar__close { display: grid; place-items: center; border: 0; background: transparent; width: 38px; height: 38px; border-radius: 8px; font-size: 20px; color: var(--muted); cursor: pointer; }
  .menu-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(14, 30, 87, .4); opacity: 0; visibility: hidden; transition: opacity .25s; }
  .menu-open .scrim { opacity: 1; visibility: visible; }
}

/* ==========================================================================
   Páginas internas (dentro do iframe)
   ========================================================================== */
.page { min-height: 100%; }
.page__wrap { max-width: 1180px; margin: 0 auto; padding: clamp(18px, 3.5vw, 36px); }
.page__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page__head h1 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; }
.page__head p { color: var(--muted); margin: 4px 0 0; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel__head h2 { font-size: 16px; }

/* números do topo: uma faixa única dividida, não cartões soltos */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.stat { padding: 18px 22px; box-shadow: -1px -1px 0 var(--line); }
.stat__label { color: var(--muted); font-size: 13px; }
.stat__value { color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 12px 20px; white-space: nowrap; }
.table td { padding: 14px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:hover td { background: #FAFBFE; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table__main { color: var(--ink); font-weight: 500; }
.table__sub { color: var(--muted); font-size: 12px; }

/* tabela vira lista no celular */
@media (max-width: 720px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 14px 18px; border-top: 1px solid var(--line); }
  .table tr:first-child { border-top: 0; }
  .table td { border: 0; padding: 2px 0; text-align: left !important; }
  .table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: 12px; }
  .table td:first-child::before { display: none; }
}

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--ok { background: var(--ok-50); color: var(--ok); }
.badge--off { background: #EEF0F5; color: var(--muted); }

.empty { text-align: center; padding: 56px 24px; }
.empty__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-size: 28px; }
.empty h2 { font-size: 18px; margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 42ch; margin: 0 auto 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .loader__ring { animation: girar 1.6s linear infinite !important; animation-iteration-count: infinite !important; animation-duration: 1.6s !important; }
}

/* ==========================================================================
   Componentes compartilhados das telas
   ========================================================================== */
.btn--sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn--danger { background: var(--err); color: #fff; }
.btn--danger:hover { background: #A51C30; }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px;
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.icon-btn--danger:hover { background: var(--err-50); color: var(--err); }
.input--sm { height: 38px; font-size: 14px; }
select.input { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%235E6A88' d='M1.6 5.1a.8.8 0 0 1 1.1 0L8 10.3l5.3-5.2a.8.8 0 1 1 1.1 1.1l-5.8 5.8a.8.8 0 0 1-1.2 0L1.6 6.2a.8.8 0 0 1 0-1.1z'/%3E%3C/svg%3E") no-repeat right 12px center; }
textarea.input { height: auto; min-height: 92px; padding: 10px 14px; resize: vertical; line-height: 1.5; }

/* Interruptor ativar/pausar */
.switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 40px; height: 22px; border-radius: 999px; background: #C9D0E0; position: relative; transition: background .18s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .18s var(--ease); }
.switch input:checked + .switch__track { background: var(--ok); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 3px solid rgba(37, 83, 252, .35); outline-offset: 2px; }
.switch input:disabled + .switch__track { opacity: .5; }
.switch.is-busy .switch__track::after { animation: pulsar .7s ease-in-out infinite alternate; }
@keyframes pulsar { to { opacity: .4; } }

/* Seletor segmentado (período) */
.segmented { display: inline-flex; padding: 3px; border-radius: 10px; background: #E9EDF6; }
.segmented button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 41, 113, .12); }

/* Abas */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: transparent; padding: 12px 14px; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }

/* Situação com bolinha colorida */
.sit { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.sit::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sit--ok { color: var(--ok); }
.sit--off { color: var(--muted); }
.sit--warn { color: var(--warn); }
.sit--err { color: var(--err); }

/* Etiquetas */
.tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 500; background: #EEF0F5; color: var(--muted); white-space: nowrap; }
.tag--blue { background: var(--blue-50); color: var(--blue); }
.tag--ok { background: var(--ok-50); color: var(--ok); }
.tag--warn { background: var(--warn-50); color: var(--warn); }
.tag--err { background: var(--err-50); color: var(--err); }

/* Avisos rápidos */
.toasts { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13.5px; box-shadow: 0 10px 30px -10px rgba(14, 30, 87, .5); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease); }
.toast.is-on { opacity: 1; transform: none; }
.toast i { font-size: 16px; line-height: 1.3; color: #7EE2A8; }
.toast--err { background: #7A1325; }
.toast--err i { color: #FFC9D1; }

/* Janela de confirmação */
.dialog { border: 0; padding: 0; border-radius: var(--radius-l); max-width: min(440px, calc(100vw - 32px)); width: 100%; box-shadow: 0 30px 60px -20px rgba(14, 30, 87, .45); }
.dialog::backdrop { background: rgba(14, 30, 87, .45); }
.dialog__box { padding: 24px; margin: 0; }
.dialog__title { font-size: 18px; margin-bottom: 8px; word-break: break-word; }
.dialog__text { color: var(--muted); margin: 0 0 22px; }
.dialog__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* Esqueleto de carregamento (fundo claro) */
.ske { display: block; border-radius: 8px; background: linear-gradient(90deg, #EEF1F7, #F7F9FC, #EEF1F7); background-size: 200% 100%; animation: brilho 1.2s linear infinite; }
