/* EBD Ilustrada — Aurora 1.1.249
   Camada visual: início, login e administração. Carregada por último.
   Tecnologias: custom properties, @property, color-mix(), container queries, :has(),
   scroll-driven animations (com alternativa em JS), View Transitions entre páginas,
   prefers-reduced-motion / prefers-contrast / forced-colors. */

@view-transition { navigation: auto; }

@property --eba-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --eba-score { syntax: "<number>"; inherits: true; initial-value: 0; }

.ebdi {
  /* Marca: esmeralda profundo + ouro, papel quente */
  --eba-em-950: #04201a;
  --eba-em-900: #0a2f27;
  --eba-em-800: #12443a;
  --eba-em-700: #1b5a4c;
  --eba-em-500: #2f8a72;
  --eba-em-100: #dcebe5;
  --eba-gold-600: #a97a22;
  --eba-gold-500: #c9a24b;
  --eba-gold-300: #e6cf8f;
  --eba-paper: #f6f4ee;
  --eba-paper-2: #efece3;
  --eba-ink: #14231f;
  --eba-muted: #5d6c67;
  --eba-line: color-mix(in srgb, var(--eba-em-900) 12%, transparent);
  --eba-ok: #1f8a5b;
  --eba-warn: #b7791f;
  --eba-fail: #c0392b;
  --eba-radius: 22px;
  --eba-radius-sm: 12px;
  --eba-shadow-1: 0 1px 2px rgb(10 47 39 / .06), 0 8px 24px -12px rgb(10 47 39 / .18);
  --eba-shadow-2: 0 2px 4px rgb(10 47 39 / .06), 0 24px 56px -20px rgb(10 47 39 / .34);
  --eba-ease: cubic-bezier(.2, .8, .2, 1);
  --eba-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", ui-serif, Georgia, serif;
  --eba-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1100px 520px at 12% -8%, color-mix(in srgb, var(--eba-gold-500) 10%, transparent), transparent 60%),
    radial-gradient(900px 480px at 100% 0%, color-mix(in srgb, var(--eba-em-500) 8%, transparent), transparent 60%),
    var(--eba-paper);
  font-family: var(--eba-sans);
  color: var(--eba-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ebdi-full-page { background: var(--eba-paper, #f6f4ee) !important; }
.ebdi ::selection { background: var(--eba-gold-300); color: var(--eba-em-950); }
.ebdi h1, .ebdi h2, .ebdi h3 { text-wrap: balance; }
.ebdi p { text-wrap: pretty; }

/* ------------------------------------------------------------------ */
/* Componentes globais                                                 */
/* ------------------------------------------------------------------ */
.eba-btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font: 650 15px/1 var(--eba-sans); letter-spacing: -.005em; text-decoration: none !important; cursor: pointer;
  transition: transform .35s var(--eba-ease), box-shadow .35s var(--eba-ease), background-color .25s, border-color .25s, color .25s;
}
.eba-btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--eba-ease); }
.eba-btn:hover svg { transform: translateX(4px); }
.eba-btn:active { transform: scale(.98); }
.eba-btn::after { /* brilho que atravessa o botão */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .38), transparent); transition: transform .8s var(--eba-ease);
}
.eba-btn:hover::after { transform: translateX(120%) skewX(-18deg); }
.ebdi a.eba-btn { color: inherit; }
.eba-btn-gold { background: linear-gradient(180deg, #e3c06c, var(--eba-gold-500)); color: var(--eba-em-950) !important; box-shadow: 0 10px 30px -10px rgb(201 162 75 / .75), inset 0 1px 0 rgb(255 255 255 / .55); }
.eba-btn-gold:hover { box-shadow: 0 16px 38px -10px rgb(201 162 75 / .9), inset 0 1px 0 rgb(255 255 255 / .6); transform: translateY(-2px); }
.eba-btn-glass { color: #fff !important; background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .22); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.eba-btn-glass:hover { background: rgb(255 255 255 / .16); transform: translateY(-2px); }
.eba-btn-primary { background: linear-gradient(180deg, var(--eba-em-700), var(--eba-em-900)); color: #fff !important; box-shadow: 0 12px 28px -12px rgb(10 47 39 / .8), inset 0 1px 0 rgb(255 255 255 / .16); }
.eba-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgb(10 47 39 / .85), inset 0 1px 0 rgb(255 255 255 / .2); }
.eba-btn-block { width: 100%; }
.eba-spin { display: none; width: 18px; height: 18px; border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff; border-radius: 50%; animation: eba-rot .7s linear infinite; }
form.is-loading .eba-btn .eba-spin { display: block; }
form.is-loading .eba-btn svg { display: none; }
form.is-loading .eba-btn { pointer-events: none; opacity: .88; }
@keyframes eba-rot { to { transform: rotate(360deg); } }

.eba-link { color: var(--eba-em-700); font-weight: 650; font-size: 14px; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--eba-ease), color .2s; }
.eba-link:hover { background-size: 100% 1.5px; text-decoration: none !important; color: var(--eba-em-900); }

.eba-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; font: 700 11px/1 var(--eba-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--eba-gold-300); background: rgb(255 255 255 / .07); border: 1px solid rgb(230 207 143 / .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eba-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--eba-gold-500); flex: none; }
.eba-pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--eba-gold-500); animation: eba-ping 2.2s var(--eba-ease) infinite; }
@keyframes eba-ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* Fundo animado (hero e login) */
.eba-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.eba-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; will-change: transform; }
.eba-orb-a { width: 520px; height: 520px; left: -140px; top: -180px; background: radial-gradient(circle, var(--eba-em-500), transparent 68%); animation: eba-float-a 18s ease-in-out infinite; }
.eba-orb-b { width: 460px; height: 460px; right: -120px; top: 10%; background: radial-gradient(circle, color-mix(in srgb, var(--eba-gold-500) 85%, transparent), transparent 68%); animation: eba-float-b 22s ease-in-out infinite; }
.eba-orb-c { width: 380px; height: 380px; left: 38%; bottom: -200px; background: radial-gradient(circle, var(--eba-em-700), transparent 70%); animation: eba-float-a 26s ease-in-out infinite reverse; }
.eba-grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 72%); }
.eba-hero-bg::after { /* grão sutil */
  content: ""; position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes eba-float-a { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(70px, 50px, 0) scale(1.12); } }
@keyframes eba-float-b { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-80px, 60px, 0) scale(.92); } }

/* Revelação ao rolar */
[data-eba-reveal], .ebdi-home-modern > section:not(.eba-hero), .ebdi-home-modern > div > section { --eba-y: 28px; }
.eba-js [data-eba-reveal]:not(.is-in), .eba-js .eba-rv:not(.is-in) { opacity: 0; transform: translateY(var(--eba-y, 28px)); }
.eba-js [data-eba-reveal], .eba-js .eba-rv { transition: opacity .9s var(--eba-ease), transform .9s var(--eba-ease); transition-delay: var(--eba-d, 0ms); }
.eba-js [data-eba-reveal].is-in, .eba-js .eba-rv.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Navegação                                                           */
/* ------------------------------------------------------------------ */
.ebdi .ebdi-nav.ebdi-nav-modern {
  position: sticky !important; top: 10px; z-index: 60; flex-wrap: nowrap !important; gap: 12px !important; min-height: 0 !important;
  max-width: min(1240px, calc(100% - 24px)) !important; margin: 10px auto 0 !important; padding: 8px 10px 8px 22px !important;
  background: color-mix(in srgb, #fff 74%, transparent) !important;
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--eba-line) !important; border-radius: 999px !important; box-shadow: var(--eba-shadow-1);
  transition: box-shadow .35s var(--eba-ease), background .35s;
}
.ebdi .ebdi-nav.is-scrolled { box-shadow: 0 18px 40px -22px rgb(10 47 39 / .55); background: color-mix(in srgb, #fff 88%, transparent) !important; }
.ebdi .ebdi-nav-modern > .ebdi-brand-logo { flex: 0 0 168px !important; width: 168px !important; }
.ebdi .ebdi-nav-modern > .ebdi-brand-logo img { width: 168px !important; height: auto !important; }
.ebdi .ebdi-nav-modern > nav { justify-content: center !important; gap: 2px !important; }
.ebdi .ebdi-nav-modern > nav > a { padding: 9px 14px !important; min-height: 0 !important; border-radius: 999px !important; font-size: 13.5px !important; font-weight: 600 !important; color: #3d4f49 !important; background: transparent !important; box-shadow: none !important; text-decoration: none !important; transition: background-color .25s, color .25s; }
.ebdi .ebdi-nav-modern > nav > a:hover { background: color-mix(in srgb, var(--eba-em-900) 8%, transparent) !important; color: var(--eba-em-900) !important; }
.ebdi .ebdi-nav-modern > nav > a[aria-current="page"] { background: var(--eba-em-900) !important; color: #fff !important; }
.ebdi .ebdi-nav-modern > .ebdi-button.small { border-radius: 999px !important; min-height: 44px; padding-inline: 22px !important; background: linear-gradient(180deg, var(--eba-em-700), var(--eba-em-900)) !important; border: 0 !important; }
@media (max-width: 900px) { .ebdi .ebdi-nav.ebdi-nav-modern { flex-wrap: wrap !important; border-radius: 26px !important; padding: 8px 12px 8px 16px !important; } }
.eba-progress { position: fixed; z-index: 70; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--eba-gold-500), var(--eba-em-500)); pointer-events: none; }
@supports (animation-timeline: scroll()) { .eba-progress { animation: eba-grow linear both; animation-timeline: scroll(root); } @keyframes eba-grow { to { transform: scaleX(1); } } }

/* ------------------------------------------------------------------ */
/* INÍCIO — hero                                                       */
/* ------------------------------------------------------------------ */
.ebdi .ebdi-home-modern.ebdi-home-editorial { padding-top: 0; }
.eba-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  margin: 8px 0 0; border-radius: 34px; padding: clamp(36px, 6vw, 84px) clamp(22px, 5vw, 72px) 0;
  background: linear-gradient(160deg, var(--eba-em-900) 0%, var(--eba-em-950) 100%);
  box-shadow: var(--eba-shadow-2);
}
.eba-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.eba-hero-copy { min-width: 0; }
.ebdi .eba-hero-title { margin: 26px 0 0; max-width: 14ch; color: #fff; font-family: var(--eba-serif); font-weight: 500; font-size: clamp(2.5rem, 6vw, 4.9rem); line-height: 1.02; letter-spacing: -.035em; }
.ebdi .eba-hero-title em { font-style: italic; font-weight: 400; background: linear-gradient(100deg, var(--eba-gold-300), var(--eba-gold-500) 55%, #f4e2a8); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.ebdi .eba-hero-sub { max-width: 46ch; margin: 26px 0 0; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: rgb(255 255 255 / .78); }
.eba-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ebdi .eba-hero-support { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; max-width: 52ch; font-size: 13.5px; line-height: 1.5; color: rgb(255 255 255 / .66); }
.eba-hero-support svg { width: 18px; height: 18px; flex: none; color: var(--eba-gold-500); }

.eba-hero-stage { min-width: 0; display: grid; place-items: center; padding: 12px 0 28px; perspective: 1400px; }
.eba-stage { position: relative; width: min(100%, 400px); transform-style: preserve-3d; transition: transform .25s var(--eba-ease); will-change: transform; --rx: 0deg; --ry: 0deg; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.eba-stage-glow { position: absolute; inset: 6% -10% -8%; z-index: -1; border-radius: 50%; background: conic-gradient(from var(--eba-angle), var(--eba-gold-500), var(--eba-em-500), var(--eba-gold-300), var(--eba-em-700), var(--eba-gold-500)); filter: blur(52px); opacity: .5; animation: eba-spin-angle 14s linear infinite; }
@keyframes eba-spin-angle { to { --eba-angle: 360deg; } }
@supports not (background: conic-gradient(from 1turn, red, blue)) { .eba-stage-glow { background: radial-gradient(circle, var(--eba-gold-500), transparent 70%); } }
.eba-cover-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 20px; border-radius: 28px; text-decoration: none !important; color: #fff !important;
  background: linear-gradient(160deg, rgb(255 255 255 / .16), rgb(255 255 255 / .05)); border: 1px solid rgb(255 255 255 / .22);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .3); transform: translateZ(40px); transition: box-shadow .4s; }
.eba-cover-card:hover { box-shadow: 0 50px 90px -30px rgb(0 0 0 / .8), inset 0 1px 0 rgb(255 255 255 / .4); }
.eba-cover-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .75); }
.eba-cover-top b { padding: 6px 11px; border-radius: 999px; background: var(--eba-gold-500); color: var(--eba-em-950); font-size: 10px; letter-spacing: .14em; }
.eba-cover-art { display: block; border-radius: 16px; overflow: hidden; background: rgb(255 255 255 / .06); aspect-ratio: 5 / 7; box-shadow: 0 24px 40px -20px rgb(0 0 0 / .7); }
.eba-cover-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.eba-cover-type { display: grid; place-items: center; align-content: center; gap: 14px; color: var(--eba-gold-300); }
.eba-cover-type svg { width: 64px; height: 64px; } .eba-cover-type em { font: 600 22px var(--eba-serif); font-style: normal; letter-spacing: .12em; }
.eba-cover-card > strong { padding: 0 6px; font: 500 clamp(18px, 2.2vw, 22px)/1.25 var(--eba-serif); letter-spacing: -.01em; }
.eba-cover-link { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 13.5px; font-weight: 650; color: var(--eba-gold-300); }
.eba-cover-link svg { width: 16px; height: 16px; transition: transform .3s var(--eba-ease); } .eba-cover-card:hover .eba-cover-link svg { transform: translateX(5px); }
.eba-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 650; color: var(--eba-em-950); background: rgb(255 255 255 / .92); box-shadow: 0 16px 30px -12px rgb(0 0 0 / .55); white-space: nowrap; }
.eba-chip svg { width: 16px; height: 16px; color: var(--eba-em-700); }
.eba-chip-1 { left: -9%; top: 12%; transform: translateZ(90px); animation: eba-bob 6s ease-in-out infinite; }
.eba-chip-2 { right: -7%; top: 46%; transform: translateZ(110px); animation: eba-bob 7s ease-in-out -2s infinite; }
.eba-chip-3 { left: -8%; top: 64%; transform: translateZ(80px); animation: eba-bob 8s ease-in-out -4s infinite; }
@keyframes eba-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.eba-stats { position: relative; z-index: 1; list-style: none; margin: clamp(10px, 2vw, 24px) calc(-1 * clamp(22px, 5vw, 72px)) 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid rgb(255 255 255 / .12); background: rgb(0 0 0 / .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eba-stats li { display: flex; flex-direction: column; gap: 4px; padding: 22px clamp(18px, 3vw, 40px); border-right: 1px solid rgb(255 255 255 / .1); }
.eba-stats li:last-child { border-right: 0; }
.eba-stats strong { font: 500 clamp(28px, 3.4vw, 42px)/1 var(--eba-serif); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.eba-stats span { font-size: 12.5px; color: rgb(255 255 255 / .62); letter-spacing: .02em; }

@media (max-width: 900px) {
  .eba-hero { border-radius: 26px; }
  .eba-hero-inner { grid-template-columns: 1fr; }
  .eba-hero-stage { order: -1; padding-bottom: 8px; }
  .eba-stage { width: min(78%, 320px); }
  .eba-chip-1 { left: -14%; } .eba-chip-2 { right: -14%; }
}
@media (max-width: 520px) {
  .eba-hero { margin-inline: -12px; border-radius: 0 0 28px 28px; margin-top: 0; }
  .eba-hero-actions .eba-btn { width: 100%; }
  .eba-chip { font-size: 11.5px; padding: 8px 12px; } .eba-chip-3 { display: none; }
  .eba-stats { grid-template-columns: repeat(2, 1fr); } .eba-stats li:nth-child(2n) { border-right: 0; } .eba-stats li { border-bottom: 1px solid rgb(255 255 255 / .1); padding: 18px; }
}

/* ------------------------------------------------------------------ */
/* INÍCIO — restyling das seções já existentes (mesmo conteúdo)        */
/* ------------------------------------------------------------------ */
.ebdi .ebdi-home-modern > section,
.ebdi .ebdi-home-modern > div > section { margin-block: clamp(44px, 6vw, 88px); }
.ebdi .ebdi-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 750 11px/1 var(--eba-sans); letter-spacing: .16em; color: var(--eba-gold-600); }
.ebdi .ebdi-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--eba-gold-500), transparent); }
.ebdi .ebdi-home-modern h2, .ebdi .ebdi-section-heading h2 { font-family: var(--eba-serif); font-weight: 500; letter-spacing: -.025em; color: var(--eba-em-900); }
.ebdi .ebdi-card, .ebdi .ebdi-home-reader-card, .ebdi .ebdi-home-how li, .ebdi .ebdi-home-formats article {
  border-radius: var(--eba-radius); border: 1px solid var(--eba-line); background: #fff; box-shadow: var(--eba-shadow-1);
  transition: transform .45s var(--eba-ease), box-shadow .45s var(--eba-ease), border-color .3s;
}
.ebdi .ebdi-home-reader-card:hover, .ebdi .ebdi-home-formats article:hover, .ebdi .ebdi-home-how li:hover, .ebdi .ebdi-card.plan:hover { transform: translateY(-6px); box-shadow: var(--eba-shadow-2); border-color: color-mix(in srgb, var(--eba-gold-500) 55%, transparent); text-decoration: none; }
.ebdi .ebdi-card.plan.featured { border-color: var(--eba-gold-500); background: linear-gradient(180deg, color-mix(in srgb, var(--eba-gold-300) 22%, #fff), #fff 45%); position: relative; }
.ebdi .ebdi-card.plan.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--eba-angle), var(--eba-gold-500), transparent 30%, var(--eba-em-500) 55%, transparent 80%, var(--eba-gold-500)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: eba-spin-angle 9s linear infinite; pointer-events: none; }
.ebdi .ebdi-button { border-radius: 999px; background: linear-gradient(180deg, var(--eba-em-700), var(--eba-em-900)); border: 0; box-shadow: 0 10px 24px -12px rgb(10 47 39 / .8); transition: transform .3s var(--eba-ease), box-shadow .3s; }
.ebdi .ebdi-button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgb(10 47 39 / .85); background: linear-gradient(180deg, var(--eba-em-700), var(--eba-em-900)); text-decoration: none; }
.ebdi .ebdi-button.secondary { background: transparent; border: 1px solid var(--eba-line); color: var(--eba-em-900) !important; box-shadow: none; }
.ebdi .ebdi-footer { border-top: 1px solid var(--eba-line); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--eba-em-900) 5%, transparent)); }

/* ------------------------------------------------------------------ */
/* LOGIN                                                               */
/* ------------------------------------------------------------------ */
body.ebdi-full-page:has(.eba-auth) .ebdi-nav.ebdi-nav-modern { display: none; }
body.ebdi-full-page:has(.eba-auth) .ebdi-main { max-width: none; padding: 0; }
body.ebdi-full-page:has(.eba-auth) .ebdi-footer { display: none; }
.eba-auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 100vh; min-height: 100dvh; }
.eba-auth-brand { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--eba-em-900), var(--eba-em-950)); display: flex; }
.eba-auth-brand-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; width: 100%; padding: clamp(28px, 5vw, 64px); }
.eba-auth-logo { align-self: flex-start; padding: 10px 18px; border-radius: 18px; background: rgb(246 244 238 / .96); box-shadow: 0 16px 36px -16px rgb(0 0 0 / .6); }
.eba-auth-logo img { display: block; height: 44px; width: auto; }
.eba-auth-copy { max-width: 520px; }
.ebdi .eba-auth-copy h1 { margin: 24px 0 0; color: #fff; font-family: var(--eba-serif); font-weight: 500; font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; }
.ebdi .eba-auth-copy h1 em { font-style: italic; font-weight: 400; background: linear-gradient(100deg, var(--eba-gold-300), var(--eba-gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ebdi .eba-auth-copy > p { margin: 20px 0 0; font-size: 16.5px; line-height: 1.7; color: rgb(255 255 255 / .74); }
.eba-auth-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.eba-auth-points li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .4s var(--eba-ease), background .3s; }
.eba-auth-points li:hover { transform: translateX(6px); background: rgb(255 255 255 / .11); }
.eba-auth-points svg { width: 22px; height: 22px; flex: none; color: var(--eba-gold-500); }
.eba-auth-points strong { display: block; font-size: 14.5px; font-weight: 650; } .eba-auth-points small { display: block; margin-top: 2px; font-size: 12.5px; color: rgb(255 255 255 / .62); }
.eba-auth-verse { margin: 0; padding-left: 18px; border-left: 2px solid var(--eba-gold-500); font: italic 400 17px/1.5 var(--eba-serif); color: rgb(255 255 255 / .86); }
.eba-auth-verse cite { display: block; margin-top: 6px; font: 600 12px var(--eba-sans); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--eba-gold-300); }

.eba-auth-panel { display: grid; place-items: center; padding: clamp(20px, 4vw, 56px); background:
  radial-gradient(700px 400px at 100% 0%, color-mix(in srgb, var(--eba-gold-500) 12%, transparent), transparent 60%), var(--eba-paper); }
.eba-auth-card { width: min(100%, 460px); padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: rgb(255 255 255 / .86); border: 1px solid rgb(255 255 255 / .9); box-shadow: var(--eba-shadow-2), 0 0 0 1px var(--eba-line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: eba-card-in .9s var(--eba-ease) both; }
@keyframes eba-card-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.eba-auth-head h2 { margin: 0; font: 500 clamp(26px, 3vw, 32px)/1.1 var(--eba-serif); letter-spacing: -.025em; color: var(--eba-em-900); }
.eba-auth-head p { margin: 10px 0 0; font-size: 14.5px; color: var(--eba-muted); }

.eba-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0 8px; padding: 5px; border-radius: 999px; background: var(--eba-paper-2); border: 1px solid var(--eba-line); }
.eba-tabs button { position: relative; z-index: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; background: none; border-radius: 999px; font: 650 14px var(--eba-sans); color: var(--eba-muted); cursor: pointer; transition: color .3s; }
.eba-tabs button svg { width: 16px; height: 16px; }
.eba-tabs button[aria-selected="true"] { color: #fff; }
.eba-tab-ink { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(180deg, var(--eba-em-700), var(--eba-em-900)); box-shadow: 0 8px 18px -8px rgb(10 47 39 / .8); transition: transform .5s var(--eba-ease); }
.eba-auth[data-eba-panel="register"] .eba-tab-ink { transform: translateX(100%); }
.eba-auth[data-eba-panel="reset"] .eba-tab-ink { opacity: 0; }
.eba-auth[data-eba-panel="reset"] .eba-tabs button { color: var(--eba-muted); }

.eba-pane { margin-top: 16px; animation: eba-pane-in .5s var(--eba-ease) both; }
.eba-pane[hidden] { display: none !important; }
@keyframes eba-pane-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.eba-auth-lead { margin: 0 0 14px; font-size: 14.5px; color: var(--eba-muted); }
.eba-auth-card .ebdi-auth-form { display: grid; gap: 14px; }
.eba-auth-card .ebdi-notice { margin: 14px 0 0; border-radius: 14px; font-size: 13.5px; }

.ebdi label.eba-field { position: relative; display: block; margin: 0; font-weight: 500; }
.eba-field > svg { position: absolute; z-index: 1; left: 16px; top: 50%; width: 19px; height: 19px; translate: 0 -50%; color: var(--eba-muted); transition: color .25s; pointer-events: none; }
.eba-field input { width: 100%; height: 58px; padding: 22px 18px 6px 46px; border-radius: 16px; border: 1.5px solid var(--eba-line); background: #fff; font: 500 15.5px var(--eba-sans); color: var(--eba-ink); transition: border-color .25s, box-shadow .25s, background .25s; }
.eba-field input:hover { border-color: color-mix(in srgb, var(--eba-em-700) 35%, transparent); }
.eba-field input:focus { outline: 0; border-color: var(--eba-em-700); box-shadow: 0 0 0 5px color-mix(in srgb, var(--eba-em-500) 20%, transparent); }
.eba-field:focus-within > svg { color: var(--eba-em-700); }
.ebdi .eba-field > span { font-weight: 500; position: absolute; left: 46px; top: 50%; translate: 0 -50%; font-size: 15px; color: var(--eba-muted); pointer-events: none; transition: top .2s var(--eba-ease), font-size .2s var(--eba-ease), color .2s; max-width: calc(100% - 100px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebdi .eba-field input:focus ~ span, .ebdi .eba-field input:not(:placeholder-shown) ~ span { top: 17px; font-size: 11.5px; font-weight: 650; letter-spacing: .02em; color: var(--eba-em-700); }
.eba-field input:user-invalid { border-color: var(--eba-fail); }
.eba-field-pass input { padding-right: 86px; }
.eba-field .ebdi-show { position: absolute; z-index: 2; right: 8px; top: 50%; translate: 0 -50%; height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--eba-paper-2); color: var(--eba-em-800); font: 650 12.5px var(--eba-sans); cursor: pointer; transition: background .2s; }
.eba-field .ebdi-show:hover { background: var(--eba-em-100); }
.eba-caps { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; font-size: 12.5px; font-weight: 600; color: var(--eba-warn); } .eba-caps svg { width: 16px; height: 16px; }
.eba-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ebdi label.eba-check { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; font-weight: 500; color: var(--eba-muted); cursor: pointer; }
.eba-check input { position: absolute; opacity: 0; pointer-events: none; }
.eba-check i { position: relative; width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid color-mix(in srgb, var(--eba-em-900) 28%, transparent); background: #fff; transition: background .2s, border-color .2s; }
.eba-check i::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; scale: 0; transition: scale .25s var(--eba-ease); }
.eba-check input:checked + i { background: var(--eba-em-700); border-color: var(--eba-em-700); } .eba-check input:checked + i::after { scale: 1; }
.eba-check input:focus-visible + i { outline: 3px solid var(--eba-gold-500); outline-offset: 2px; }
.eba-auth-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--eba-muted); }
.eba-back { display: inline-block; margin-top: 16px; }
.eba-auth-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--eba-line); }
.eba-auth-foot span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--eba-muted); } .eba-auth-foot svg { width: 14px; height: 14px; color: var(--eba-ok); }
.eba-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -4px; }
.eba-meter i { height: 5px; border-radius: 5px; background: var(--eba-paper-2); transition: background .3s; }
.eba-meter small { grid-column: 1 / -1; margin-top: 2px; font-size: 12px; color: var(--eba-muted); }
.eba-meter[data-level="1"] i:nth-child(-n+1) { background: var(--eba-fail); }
.eba-meter[data-level="2"] i:nth-child(-n+2) { background: var(--eba-warn); }
.eba-meter[data-level="3"] i:nth-child(-n+3) { background: #7aa33a; }
.eba-meter[data-level="4"] i:nth-child(-n+4) { background: var(--eba-ok); }
.ebdi .ebdi-social-google, .eba-pane .ebdi-social-login { margin-bottom: 14px; }

@media (max-width: 980px) {
  .eba-auth { grid-template-columns: 1fr; }
  .eba-auth-brand { min-height: 0; }
  .eba-auth-brand-inner { gap: 22px; padding: 22px 22px 52px; }
  .eba-auth-points, .eba-auth-verse, .ebdi .eba-auth-copy > p { display: none; }
  .ebdi .eba-auth-copy h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-top: 16px; }
  .eba-auth-panel { margin-top: -26px; border-radius: 28px 28px 0 0; position: relative; z-index: 2; padding-top: 28px; }
  .eba-auth-card { box-shadow: none; background: transparent; border: 0; padding-inline: 4px; backdrop-filter: none; }
}

/* ------------------------------------------------------------------ */
/* ADMINISTRAÇÃO                                                       */
/* ------------------------------------------------------------------ */
.ebdi .ebdi-control { --admin-green: var(--eba-em-900); --admin-gold: var(--eba-gold-600); --admin-border: var(--eba-line); }
.ebdi .ebdi-control-sidebar { background: linear-gradient(180deg, var(--eba-em-900), var(--eba-em-950)); border: 0; border-radius: 26px; box-shadow: var(--eba-shadow-2); color: #fff; padding: 22px 14px; }
.ebdi .ebdi-control-brand { border-bottom-color: rgb(255 255 255 / .1); }
.ebdi .ebdi-control-brand strong { color: #fff; } .ebdi .ebdi-control-brand small { color: var(--eba-gold-300); }
.ebdi .ebdi-control-symbol { background: rgb(255 255 255 / .08); color: var(--eba-gold-300); border: 1px solid rgb(255 255 255 / .12); }
.ebdi .ebdi-control-search > span { color: rgb(255 255 255 / .55); }
.ebdi .ebdi-control-search input { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); color: #fff; border-radius: 12px; }
.ebdi .ebdi-control-search input::placeholder { color: rgb(255 255 255 / .4); }
.ebdi .ebdi-control-search input:focus { outline: 0; border-color: var(--eba-gold-500); box-shadow: 0 0 0 4px rgb(201 162 75 / .2); }
.ebdi .ebdi-control-group h2 { color: rgb(255 255 255 / .4); font-family: var(--eba-sans); letter-spacing: .14em; }
.ebdi .ebdi-control-group a { color: rgb(255 255 255 / .74); border-radius: 12px; }
.ebdi .ebdi-control-group a:hover { background: rgb(255 255 255 / .09); color: #fff; }
.ebdi .ebdi-control-group a[aria-current="page"] { background: linear-gradient(90deg, rgb(201 162 75 / .26), rgb(201 162 75 / .06)); color: #fff; box-shadow: inset 3px 0 var(--eba-gold-500); }
.ebdi .ebdi-control-visit { border-top-color: rgb(255 255 255 / .1); color: var(--eba-gold-300); }
.ebdi .ebdi-control-header { position: relative; overflow: hidden; border: 0; border-radius: 26px; color: #fff; padding: clamp(22px, 3vw, 34px); background: linear-gradient(135deg, var(--eba-em-800), var(--eba-em-950)); box-shadow: var(--eba-shadow-2); }
.ebdi .ebdi-control-header::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgb(201 162 75 / .45), transparent 68%); filter: blur(10px); animation: eba-float-b 20s ease-in-out infinite; }
.ebdi .ebdi-control-header > * { position: relative; }
.ebdi .ebdi-control-header h1 { color: #fff; font-family: var(--eba-serif); font-weight: 500; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.025em; margin-bottom: 8px; }
.ebdi .ebdi-control-header p { color: rgb(255 255 255 / .7); margin: 0; }
.ebdi .ebdi-control-header .ebdi-eyebrow { color: var(--eba-gold-300); }
.ebdi .ebdi-control-header .ebdi-button { background: linear-gradient(180deg, #e3c06c, var(--eba-gold-500)); color: var(--eba-em-950) !important; box-shadow: 0 10px 24px -10px rgb(201 162 75 / .7); }
.ebdi .ebdi-control-header .ebdi-button.secondary { background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .22); color: #fff !important; box-shadow: none; }
.ebdi .ebdi-control-sections a { border-radius: 999px; }
.ebdi .ebdi-control-content .ebdi-card { border-radius: 20px; }
.eba-kbd-hint { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .22); color: #fff; font: 600 13px var(--eba-sans); cursor: pointer; transition: background .25s; }
.eba-kbd-hint:hover { background: rgb(255 255 255 / .16); } .eba-kbd-hint svg { width: 16px; height: 16px; }
kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .2); font: 600 11px var(--eba-sans); color: inherit; }

/* Centro de sistema */
.eba-sys { margin-bottom: 22px; padding: clamp(18px, 2.4vw, 28px); border-radius: 26px; background: #fff; border: 1px solid var(--eba-line); box-shadow: var(--eba-shadow-1); container-type: inline-size; }
.eba-sys-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ebdi .eba-sys-head h2 { margin: 8px 0 6px; font-size: clamp(22px, 2.4vw, 28px); } .eba-sys-head p { margin: 0; font-size: 14px; }
.eba-live { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px; background: color-mix(in srgb, var(--eba-ok) 10%, #fff); color: var(--eba-ok); font: 650 12.5px var(--eba-sans); font-variant-numeric: tabular-nums; }
.eba-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--eba-ok); animation: eba-blink 1.6s ease-in-out infinite; }
@keyframes eba-blink { 50% { opacity: .25; } }
.eba-sys-grid { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 16px; }
.eba-sys-score { display: flex; align-items: center; gap: 20px; padding: 22px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, var(--eba-em-800), var(--eba-em-950)); position: relative; overflow: hidden; }
.eba-sys-score.eba-tone-warn { background: linear-gradient(150deg, #6b4a12, #2f2108); } .eba-sys-score.eba-tone-fail { background: linear-gradient(150deg, #7a2a20, #34110d); }
.eba-sys-score h3 { margin: 0 0 6px; font: 500 20px/1.2 var(--eba-serif); color: #fff; letter-spacing: -.01em; } .eba-sys-score p { margin: 0; font-size: 13px; color: rgb(255 255 255 / .72); }
.eba-ring { position: relative; width: 104px; height: 104px; flex: none; display: grid; place-items: center; }
.eba-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.eba-ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.eba-ring-bg { stroke: rgb(255 255 255 / .14); }
.eba-ring-fg { stroke: var(--eba-gold-300); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--eba-score)); transition: stroke-dashoffset 1.6s var(--eba-ease); filter: drop-shadow(0 0 6px rgb(230 207 143 / .6)); }
.eba-js .eba-sys:not(.is-in) .eba-ring-fg { stroke-dashoffset: 100; }
.eba-ring strong { position: relative; font: 500 26px var(--eba-serif); font-variant-numeric: tabular-nums; }
.eba-sys-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.eba-metric { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; background: var(--eba-paper); border: 1px solid var(--eba-line); transition: transform .35s var(--eba-ease), box-shadow .35s; }
.eba-metric:hover { transform: translateY(-3px); box-shadow: var(--eba-shadow-1); }
.eba-metric > span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; letter-spacing: .04em; color: var(--eba-muted); text-transform: uppercase; } .eba-metric > span svg { width: 16px; height: 16px; color: var(--eba-em-700); }
.eba-metric strong { font: 500 26px/1.1 var(--eba-serif); color: var(--eba-em-900); font-variant-numeric: tabular-nums; } .eba-metric small { font-size: 12px; color: var(--eba-muted); }
.eba-bar { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--eba-em-900) 10%, transparent); overflow: hidden; } .eba-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--eba-em-500), var(--eba-gold-500)); transition: width 1.2s var(--eba-ease); }
.eba-sys-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 16px; margin-top: 16px; }
.eba-checks { display: grid; gap: 8px; align-content: start; }
.eba-check-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--eba-paper); border: 1px solid transparent; transition: background .25s, border-color .25s; }
.eba-check-row:hover { background: #fff; border-color: var(--eba-line); }
.eba-check-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--eba-ok); } .eba-check-ico svg { width: 18px; height: 18px; }
.eba-check-row.eba-tone-warn .eba-check-ico { background: var(--eba-warn); } .eba-check-row.eba-tone-fail .eba-check-ico { background: var(--eba-fail); } .eba-check-row.eba-tone-info .eba-check-ico { background: var(--eba-em-100); color: var(--eba-em-700); }
.eba-check-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .eba-check-body strong { font-size: 14px; color: var(--eba-ink); } .eba-check-body small { font-size: 12.5px; color: var(--eba-muted); overflow-wrap: anywhere; } .eba-check-body em { font-style: normal; font-size: 12px; color: var(--eba-warn); margin-top: 2px; }
.eba-check-row.eba-tone-fail .eba-check-body em { color: var(--eba-fail); }
.eba-check-state { font: 700 10.5px var(--eba-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--eba-ok); padding-top: 9px; } .eba-tone-warn .eba-check-state { color: var(--eba-warn); } .eba-tone-fail .eba-check-state { color: var(--eba-fail); } .eba-tone-info .eba-check-state { color: var(--eba-muted); }
.eba-stream { padding: 18px 18px 14px; border-radius: 20px; background: var(--eba-paper); border: 1px solid var(--eba-line); align-self: start; }
.ebdi .eba-stream h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font: 650 14px var(--eba-sans); letter-spacing: 0; color: var(--eba-em-900); } .eba-stream h3 svg { width: 18px; height: 18px; color: var(--eba-gold-600); }
.eba-stream ol { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; position: relative; }
.eba-stream ol::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1.5px; background: linear-gradient(var(--eba-gold-500), transparent); }
.eba-stream li { position: relative; display: flex; gap: 14px; padding: 0 0 14px; } .eba-stream li i { position: relative; z-index: 1; margin-top: 5px; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--eba-gold-500); box-shadow: 0 0 0 4px var(--eba-paper); }
.eba-stream li span { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .eba-stream strong { font-size: 13px; color: var(--eba-ink); word-break: break-word; } .eba-stream small { font-size: 12px; color: var(--eba-muted); } .eba-stream time { font-size: 11px; font-variant-numeric: tabular-nums; color: var(--eba-gold-600); font-weight: 650; }
@container (max-width: 760px) { .eba-sys-grid, .eba-sys-cols { grid-template-columns: 1fr; } }

/* Seletor de comandos */
.eba-cmd { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: start center; padding: 12vh 16px 16px; }
.eba-cmd[hidden] { display: none; }
.eba-cmd-backdrop { position: absolute; inset: 0; background: rgb(4 32 26 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: eba-fade .2s both; }
.eba-cmd-box { position: relative; width: min(100%, 620px); overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 40px 100px -20px rgb(0 0 0 / .55); animation: eba-card-in .35s var(--eba-ease) both; }
.ebdi label.eba-cmd-input { margin: 0; display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--eba-line); } .eba-cmd-input svg { width: 20px; height: 20px; color: var(--eba-muted); }
.eba-cmd-input input { flex: 1; height: 60px; border: 0; background: none; font: 500 16px var(--eba-sans); color: var(--eba-ink); } .eba-cmd-input input:focus { outline: 0; }
.eba-cmd-list { list-style: none; margin: 0; padding: 8px; max-height: min(50vh, 380px); overflow: auto; }
.eba-cmd-list li a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--eba-ink); font-size: 14.5px; font-weight: 600; text-decoration: none !important; }
.eba-cmd-list li a svg { width: 19px; height: 19px; color: var(--eba-em-700); flex: none; } .eba-cmd-list li a small { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--eba-muted); letter-spacing: .04em; }
.eba-cmd-list li[aria-selected="true"] a { background: linear-gradient(90deg, var(--eba-em-900), var(--eba-em-700)); color: #fff; } .eba-cmd-list li[aria-selected="true"] a svg, .eba-cmd-list li[aria-selected="true"] a small { color: var(--eba-gold-300); }
.eba-cmd-empty { padding: 28px; text-align: center; color: var(--eba-muted); font-size: 14px; }
.eba-cmd-box footer { display: flex; gap: 18px; padding: 12px 18px; border-top: 1px solid var(--eba-line); background: var(--eba-paper); font-size: 12px; color: var(--eba-muted); } .eba-cmd-box kbd { background: #fff; border-color: var(--eba-line); color: var(--eba-muted); margin-right: 3px; }
@keyframes eba-fade { from { opacity: 0; } }
body.eba-lock { overflow: hidden; }

@media (max-width: 860px) {
  .ebdi .ebdi-control-sidebar { border-radius: 22px; }
  .eba-kbd-hint kbd { display: none; }
}

/* ------------------------------------------------------------------ */
/* Acessibilidade e preferências do sistema                            */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .eba-orb, .eba-stage-glow, .eba-chip, .eba-pulse::after, .eba-live i, .ebdi .ebdi-control-header::before, .ebdi .ebdi-card.plan.featured::before { animation: none !important; }
  .eba-js [data-eba-reveal], .eba-js .eba-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .eba-stage { transform: none !important; } .eba-btn, .eba-btn::after, .eba-tab-ink, .eba-pane, .eba-auth-card { transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}
@media (prefers-contrast: more) {
  .eba-field input, .eba-tabs, .ebdi .ebdi-card { border-width: 2px; border-color: var(--eba-em-900); }
  .eba-hero-sub, .eba-hero-support, .eba-stats span { color: #fff; }
}
@media (forced-colors: active) {
  .eba-btn, .eba-field input, .eba-cover-card, .eba-chip { border: 1px solid CanvasText; }
  .eba-tab-ink { background: Highlight; } .eba-ring-fg { stroke: Highlight; }
}
@media print { .eba-rv, [data-eba-reveal] { opacity: 1 !important; transform: none !important; } .eba-hero-bg, .eba-progress, .eba-cmd { display: none !important; } .eba-hero { color: #000; background: none; box-shadow: none; } }

/* Fontes de títulos: o tema antigo força Inter em vários elementos; aqui a identidade editorial é restabelecida. */
.ebdi .eba-hero-title, .ebdi .eba-hero-title em, .ebdi .eba-auth-copy h1, .ebdi .eba-auth-copy h1 em, .ebdi .eba-auth-head h2,
.ebdi .ebdi-control-header h1, .ebdi .ebdi-home-modern h2, .ebdi .ebdi-section-heading h2, .ebdi .eba-sys-head h2, .ebdi .eba-sys-score h3,
.ebdi .eba-stats strong, .ebdi .eba-metric strong, .ebdi .eba-ring strong, .ebdi .eba-cover-card > strong, .ebdi .eba-cover-type em,
.ebdi .eba-auth-verse, .ebdi .ebdi-home-modern .ebdi-price, .ebdi .ebdi-section .ebdi-price { font-family: var(--eba-serif) !important; }
.ebdi .eba-auth-verse cite, .ebdi .eba-stats span { font-family: var(--eba-sans) !important; }

/* Ajustes de especificidade frente ao CSS anterior */
.ebdi header.ebdi-nav-modern > nav#ebdi-main-nav { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.ebdi .eba-btn { font: 650 15px/1 var(--eba-sans); }
.ebdi .ebdi-control-search input { background: rgb(255 255 255 / .07) !important; color: #fff !important; border: 1px solid rgb(255 255 255 / .14) !important; }
.ebdi .ebdi-control-sidebar .ebdi-control-search > span { color: rgb(255 255 255 / .55) !important; }
.ebdi .ebdi-stat { font-family: var(--eba-serif) !important; font-weight: 500; font-size: clamp(34px, 4vw, 46px); letter-spacing: -.03em; line-height: 1; color: var(--eba-em-900); }
.ebdi .ebdi-grid.three > .ebdi-card { position: relative; overflow: hidden; }
.ebdi .ebdi-grid.three > .ebdi-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--eba-gold-500) 30%, transparent), transparent 70%); pointer-events: none; }

/* Correção 1.1.248: evita sobreposição do ícone com texto digitado. */
.ebdi .eba-auth-card label.eba-field > input {
  box-sizing: border-box !important;
  padding-left: 46px !important;
}
.ebdi .eba-auth-card label.eba-field:focus-within > svg,
.ebdi .eba-auth-card label.eba-field:has(> input:not(:placeholder-shown)) > svg {
  opacity: 0;
  visibility: hidden;
}
.ebdi .eba-auth-card label.eba-field > svg { transition: opacity .15s ease, visibility .15s ease; }
