/* Etapa 3 — acabamento premium do Portal Horizonte (creme, navy, dourado, DM Sans).
   Não altera o organograma, os descritivos nem o Supervisor. Hambúrguer a 1180px permanece. */

/* Tokens locais */
#t-portal, #t-area, #t-time, #t-dp {
  --e3-navy: #1B2A4A;
  --e3-navy-2: #243656;
  --e3-gold: #B8924A;
  --e3-gold-2: #D4B36A;
  --e3-cream: #F6F1E8;
  --e3-ink2: #3E4960;
  --e3-muted: #4E5668;
  --e3-line: #E7DCC8;
  --e3-r: 20px;
  --e3-sh: 0 1px 2px rgba(27,42,74,.05), 0 8px 24px rgba(27,42,74,.07);
  --e3-sh2: 0 2px 6px rgba(27,42,74,.08), 0 16px 36px rgba(27,42,74,.12);
}
#t-portal .pg-main, #t-area .pg-main, #t-time .pg-main, #t-dp .pg-main {
  max-width: 1120px;
  padding-top: 28px;
}
#t-portal .hero h1, #t-area .hero h1, #t-time .hero h1, #t-dp .hero h1 {
  font-weight: 700;
  letter-spacing: -.03em;
}
#t-portal .hero p, #t-area .hero p, #t-time .hero p, #t-dp .hero p { color: var(--e3-ink2); }
#t-portal a:focus-visible, #t-area a:focus-visible, #t-time a:focus-visible, #t-dp a:focus-visible,
#t-portal button:focus-visible, #t-area button:focus-visible, #t-time button:focus-visible, #t-dp button:focus-visible,
.e3-tabbar a:focus-visible, .e3-tabbar button:focus-visible,
.e3-sheet a:focus-visible, .e3-sheet button:focus-visible {
  outline: 2px solid #B8924A;
  outline-offset: 3px;
}

/* ---------- Hero navy ---------- */
.e3-hero-n {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background:
    radial-gradient(900px 240px at 100% -30%, rgba(184,146,74,.38), transparent 55%),
    radial-gradient(500px 180px at 0% 120%, rgba(255,255,255,.07), transparent 50%),
    linear-gradient(135deg, #121C33 0%, #1B2A4A 55%, #2A3D64 100%);
  color: #F6F1E8;
  border-radius: 24px;
  padding: 24px 28px 34px;
  box-shadow: 0 1px 1px rgba(27,42,74,.1), 0 14px 36px rgba(27,42,74,.2);
  overflow: hidden;
  margin: 0 0 22px;
}
.e3-hero-n::after {
  content: "";
  position: absolute; left: 12%; right: 12%; bottom: 26px; height: 2px;
  background: linear-gradient(90deg, transparent, #D4B36A, transparent);
  opacity: .7;
}
.e3-av {
  flex: none;
  width: 76px; height: 76px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, #F0D78A, #B8924A 45%, #8C6A2E);
  box-shadow: 0 0 0 3px rgba(184,146,74,.18);
}
.e3-av i, .e3-av img {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #1B2A4A;
  color: #F6F1E8;
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .04em;
  object-fit: cover;
}
.e3-hero-n .e3-hero-tx { min-width: 0; flex: 1; }
.e3-hero-n .e3-saud {
  margin: 0 0 4px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
}
.e3-hero-n .e3-cargo {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(246,241,232,.88);
  line-height: 1.35;
}
.e3-hero-n .e3-data {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: #E8C97A;
}

/* ---------- Pendências compactas ---------- */
.e3-pends { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; margin: 0 0 18px; }
.e3-pcard {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 2px 14px;
  background: #fff;
  border: 1px solid var(--e3-line);
  border-radius: 16px;
  padding: 14px 16px 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--e3-sh);
  transition: transform .18s ease, box-shadow .18s ease;
}
.e3-pcard:hover { transform: translateY(-2px); box-shadow: var(--e3-sh2); }
.e3-pcard:active { transform: translateY(0); }
.e3-pcard-ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; flex: none;
  grid-row: 1 / 3;
  margin-top: 2px;
}
.e3-pcard-ic svg { width: 22px; height: 22px; }
.e3-pcard.aviso { background: #FBF6EC; border-color: #E6D4A4; }
.e3-pcard.aviso .e3-pcard-ic { background: #F3E4C0; color: #6B4E12; }
.e3-pcard.alerta { background: #FBF0EE; border-color: #E8C4C0; }
.e3-pcard.alerta .e3-pcard-ic { background: #F4D5D1; color: #8A2A22; }
.e3-pcard.info { background: #F3F6FB; border-color: #D3DCE8; }
.e3-pcard.info .e3-pcard-ic { background: #E0E8F3; color: #1B2A4A; }
.e3-pcard.ok { background: #F1F8F4; border-color: #C5E3D1; }
.e3-pcard.ok .e3-pcard-ic { background: #D8F0E3; color: #1B5C3A; }
.e3-pcard b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--e3-navy); }
.e3-pcard small { display: block; margin-top: 2px; font-size: 13px; color: var(--e3-muted); line-height: 1.35; font-weight: 500; }
.e3-go {
  grid-column: 2;
  font-size: 13px; font-weight: 700; color: var(--e3-navy);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 2px;
  min-height: 28px; margin-top: 2px; padding: 0;
}
.e3-go svg { width: 16px; height: 16px; }

/* ---------- Atalhos SuperApp ---------- */
.e3-ats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.e3-at {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--e3-r);
  padding: 20px 18px 16px;
  min-height: 152px;
  text-decoration: none; color: inherit;
  box-shadow: var(--e3-sh);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.e3-at:hover { transform: translateY(-3px); box-shadow: var(--e3-sh2); border-color: #E7DCC8; }
.e3-at:active { transform: translateY(-1px); }
.e3-at-ic {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #2A3D64, #1B2A4A);
  color: #F6F1E8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 14px rgba(27,42,74,.2);
}
.e3-at-ic svg { width: 26px; height: 26px; }
.e3-at.gold .e3-at-ic {
  background: linear-gradient(145deg, #E8C97A, #B8924A);
  color: #1B2A4A;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px rgba(184,146,74,.28);
}
.e3-at-tx b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.e3-at-tx > span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--e3-muted); line-height: 1.35; font-weight: 500; }
.e3-at-n {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--e3-navy);
}
.e3-at-n + small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--e3-muted); }
.e3-at.breve {
  background: rgba(255,255,255,.55);
  box-shadow: none;
  border: 1.5px dashed #D9CDB8;
  cursor: default;
  position: relative;
  min-height: 148px;
}
.e3-at.breve:hover { transform: none; box-shadow: none; border-color: #D9CDB8; }
.e3-at.breve .e3-at-ic { background: #EFE8DB; color: #8A7F6C; box-shadow: none; }
.e3-at.breve .tag-breve { position: absolute; top: 16px; right: 16px; }

/* ---------- KPIs / dashboard ---------- */
.e3-saldo { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 8px 0 22px; }
.e3-saldo > div {
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px 14px;
  box-shadow: var(--e3-sh);
  border: 1px solid transparent;
  min-height: 96px;
}
.e3-saldo span {
  display: block;
  font-size: 12px; font-weight: 700;
  color: var(--e3-muted);
  letter-spacing: .02em;
  text-transform: none;
  line-height: 1.3;
}
.e3-saldo b {
  display: block;
  margin-top: 8px;
  font-size: 28px; font-weight: 700;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.e3-saldo .alerta { background: #FBF0EE; border-color: #E8C4C0; }
.e3-saldo .alerta b { color: #8A2A22; }
.e3-saldo .ok { background: #F1F8F4; }
.e3-saldo .warn { background: #FBF6EC; }

/* ---------- Chips de status (só nas telas do app; não mexe no Supervisor) ---------- */
#t-portal .st, #t-area .st, #t-time .st, #t-dp .st, .e3-ped .st, .e3-per .st {
  font-style: normal; font-weight: 700; font-size: 11px;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: 99px; padding: 5px 9px;
  display: inline-block; line-height: 1.2;
}
#t-portal .st.pend, #t-area .st.pend, #t-time .st.pend, #t-dp .st.pend,
#t-portal .st.pend2, #t-area .st.pend2, #t-time .st.pend2, #t-dp .st.pend2 { background: #F8E8C4; color: #6B4E12; }
#t-portal .st.ok, #t-area .st.ok, #t-time .st.ok, #t-dp .st.ok { background: #D8F0E3; color: #1B5C3A; }
#t-portal .st.done, #t-area .st.done, #t-time .st.done, #t-dp .st.done { background: #E8E6E1; color: #3F3F3F; }
#t-portal .st.rec, #t-area .st.rec, #t-time .st.rec, #t-dp .st.rec { background: #F8D4D0; color: #8A2A22; }
#t-portal .st.off, #t-area .st.off, #t-time .st.off, #t-dp .st.off { background: #E8E6E1; color: #4A4A4A; }

/* ---------- Pedidos + linha do tempo ---------- */
.e3-ped {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--e3-sh);
  padding: 16px 18px 14px;
  margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid transparent;
}
.e3-ped header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.e3-ped header b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.e3-ped header b small { font-weight: 600; color: var(--e3-muted); }
.e3-ped header span { display: block; font-size: 13.5px; color: var(--e3-ink2); margin-top: 3px; }
.e3-al { margin: 0; padding: 10px 12px; background: #FBF6EC; border-radius: 12px; font-size: 13px; color: #6B4E12; line-height: 1.4; }
.e3-et { margin: 0; padding: 0 0 0 18px; font-size: 12.5px; color: var(--e3-muted); line-height: 1.5; }
.e3-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.e3-acts .btn, .e3-acts .mini { min-height: 44px; }
.e3-tl {
  list-style: none; margin: 2px 0 4px; padding: 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
}
.e3-tl li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: #8A8478;
}
.e3-tl li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: #D9CDB8; box-shadow: 0 0 0 3px rgba(217,205,184,.35);
}
.e3-tl li:not(:last-child)::after {
  content: ""; width: 28px; height: 2px; background: #E7DCC8; margin: 0 8px 0 2px;
}
.e3-tl li.ok { color: #1B5C3A; }
.e3-tl li.ok::before { background: #188A4A; box-shadow: 0 0 0 3px rgba(24,138,74,.2); }
.e3-tl li.on { color: #6B4E12; }
.e3-tl li.on::before { background: #B8924A; box-shadow: 0 0 0 4px rgba(184,146,74,.28); }
.e3-tl li.rec { color: #8A2A22; }
.e3-tl li.rec::before { background: #D13B33; box-shadow: 0 0 0 3px rgba(209,59,51,.2); }
.e3-tl li.off { color: #8A8478; }

.e3-pl { display: grid; grid-template-columns: 1fr 140px auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.e3-check { flex-direction: row; align-items: center; gap: 10px; }
.e3-check input { width: 18px; height: 18px; }

/* Listas / tabela zebra */
.e3-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.e3-lista li, .e3-lista a {
  display: flex; flex-direction: column; gap: 2px;
  text-decoration: none; color: inherit;
  padding: 12px 10px;
  border-radius: 12px;
  min-height: 44px;
}
.e3-lista li:nth-child(even), .e3-eq a:nth-child(even) { background: #FBF7F0; }
.e3-lista span { font-size: 13px; color: var(--e3-ink2); }
.e3-lista .alerta { background: #FBF0EE; }
.e3-eq a:hover { background: #F3EDE1; }
.e3-eq a:hover b { color: var(--e3-navy); }
.e3-mes-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.e3-mes-nav .btn { min-height: 44px; }

/* Períodos de férias */
.e3-per { position: relative; }
.e3-per .st { margin-bottom: 8px; }

/* ---------- Calendário / Gantt ---------- */
.e3-cal { background: #fff; border-radius: 20px; box-shadow: var(--e3-sh); padding: 18px; margin: 8px 0 20px; }
.e3-cal-h, .e3-cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.e3-cal-h span {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--e3-muted);
  text-align: center; padding: 8px 0 4px;
}
.e3-d {
  min-height: 86px; border-radius: 12px;
  background: #F7F2E9; padding: 8px 7px 6px;
  font-size: 12px; display: flex; flex-direction: column; gap: 3px;
  border: 1px solid transparent;
}
.e3-d.vazio { background: #FCFAF7; box-shadow: inset 0 0 0 1px #EFE8DC; }
.e3-d.fer { background: #F8F1E0; border-color: #E8D7A8; }
.e3-d.hoje { border-color: #B8924A; box-shadow: inset 0 0 0 1.5px #B8924A; background: #FFF8EA; }
.e3-d.dom { background: #F3EEE4; }
.e3-d b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.e3-d.hoje b { color: #8C6A2E; }
.e3-d i { font-style: normal; font-size: 10px; font-weight: 700; color: #8A6A3B; }
.e3-ev {
  display: block; font-size: 11px; font-weight: 700;
  border-radius: 6px; padding: 2px 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.e3-ev.ferias { background: #1B2A4A; color: #F6F1E8; }
.e3-ev.ausencia { background: #B8924A; color: #1B2A4A; }

.e3-gantt { background: #fff; border-radius: 20px; box-shadow: var(--e3-sh); padding: 16px 18px 18px; margin: 0 0 16px; overflow-x: auto; }
.e3-gantt h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--e3-gold); }
.e3-gantt-t { display: grid; gap: 6px; min-width: 640px; }
.e3-gantt-h, .e3-gantt-r { display: grid; grid-template-columns: 140px repeat(var(--dias, 31), minmax(14px, 1fr)); align-items: center; gap: 0; }
.e3-gantt-h span { font-size: 10px; font-weight: 700; color: var(--e3-muted); text-align: center; font-variant-numeric: tabular-nums; }
.e3-gantt-r > b { font-size: 12.5px; font-weight: 600; padding-right: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.e3-gantt-d { display: contents; }
.e3-gantt-c { height: 22px; border-radius: 3px; background: #F7F2E9; }
.e3-gantt-c.fer { background: #F3E4C0; }
.e3-gantt-c.hoje { box-shadow: inset 0 0 0 1px #B8924A; }
.e3-gantt-c.on.ferias { background: #1B2A4A; }
.e3-gantt-c.on.ausencia { background: #B8924A; }
.e3-gantt-r:hover .e3-gantt-c:not(.on) { background: #EFE8DB; }

/* ---------- Vazios ---------- */
.e3-empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 36px 20px !important;
  background: #fff !important; border: 1px dashed #D9CDB8 !important;
  border-radius: 20px !important; box-shadow: none !important;
}
.e3-empty-ic { width: 72px; height: 58px; color: #B8924A; margin-bottom: 4px; }
.e3-empty b { font-size: 16.5px; font-weight: 700; }
.e3-empty p { margin: 0; font-size: 14px; color: var(--e3-muted); max-width: 360px; line-height: 1.45; }

/* ---------- Filtros / páginas internas ---------- */
.e3-filt { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.e3-filt .btn { min-height: 44px; border-radius: 99px; padding: 0 14px; }
.e3-filt .btn.on { background: var(--e3-navy); color: #fff; border-color: var(--e3-navy); }

/* Abas da Minha área e do DP */
#t-area .ar-abas, #t-dp .ar-abas, #t-time .ar-abas {
  gap: 4px; border-bottom: 0; background: #fff;
  padding: 6px; border-radius: 16px; box-shadow: var(--e3-sh);
  margin: 4px 0 22px;
}
#t-area .ar-abas a, #t-dp .ar-abas a, #t-time .ar-abas a {
  border-bottom: 0; margin: 0; border-radius: 12px;
  padding: 10px 14px; min-height: 44px;
  font-weight: 600;
}
#t-area .ar-abas a.on, #t-dp .ar-abas a.on, #t-time .ar-abas a.on {
  background: #1B2A4A; color: #fff;
}
#t-area .ar-abas a.on b, #t-dp .ar-abas a.on b { background: #B8924A; }
#t-area .ar-com, #t-area .ar-faq {
  box-shadow: var(--e3-sh);
  border-radius: 16px;
}
#t-area .ar-com { padding: 18px 20px; }
#t-area .rh-card, #t-time .rh-card, #t-dp .rh-card {
  border-radius: 18px; box-shadow: var(--e3-sh); padding: 18px 20px;
}
#t-area .rh-escopo, #t-time .rh-escopo, #t-dp .rh-escopo {
  border-radius: 14px; box-shadow: var(--e3-sh);
}

/* Comunicação / seção */
.ar-sec > h2 { letter-spacing: .08em; }
.ar-com.resumo { padding: 14px 16px; border-radius: 14px; box-shadow: var(--e3-sh); }

/* ---------- Tab bar inferior (só celular) ---------- */
.e3-tabbar { display: none; }
.e3-sheet { display: none; }

@media (max-width: 1180px) {
  .e3-ats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  #t-portal .pg-main, #t-area .pg-main, #t-time .pg-main, #t-dp .pg-main { padding: 16px 14px 24px; }
  body[data-tela="t-portal"] .pg,
  body[data-tela="t-area"] .pg,
  body[data-tela="t-time"] .pg,
  body[data-tela="t-dp"] .pg { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

  .e3-hero-n { padding: 20px 18px 18px; gap: 14px; border-radius: 20px; margin-bottom: 16px; }
  .e3-av { width: 60px; height: 60px; }
  .e3-av i { font-size: 20px; }
  .e3-hero-n .e3-saud { font-size: 24px; }
  .e3-hero-n .e3-cargo { font-size: 14px; }

  .e3-pends { grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
  .e3-saldo { grid-template-columns: 1fr 1fr; }
  .e3-saldo > :last-child:nth-child(odd) { grid-column: 1 / -1; }


  .e3-ats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .e3-at { min-height: 156px; padding: 16px 14px 14px; border-radius: 18px; gap: 10px; }
  .e3-at-ic { width: 48px; height: 48px; border-radius: 14px; }
  .e3-at-tx b { font-size: 15.5px; }
  .e3-at-n { font-size: 30px; }
  .e3-at.breve { min-height: 132px; }

  .e3-saldo > div { min-height: 88px; padding: 14px; }
  .e3-saldo b { font-size: 24px; }
  .e3-pl { grid-template-columns: 1fr; }
  .e3-ped header { flex-direction: column; }
  .e3-d { min-height: 64px; padding: 5px 4px; border-radius: 8px; }
  .e3-cal { padding: 12px 10px; }
  .e3-gantt { padding: 12px; }

  .e3-tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #E7DCC8;
    padding: 4px 6px calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around;
    gap: 2px;
  }
  /* esconde fora das telas do app */
  body:not([data-tela="t-portal"]):not([data-tela="t-area"]):not([data-tela="t-time"]):not([data-tela="t-dp"]) .e3-tabbar { display: none !important; }

  .e3-tabbar a, .e3-tabbar button {
    position: relative;
    flex: 1; min-width: 0; min-height: 52px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border: 0; background: none; color: #5A6270;
    font: inherit; font-size: 11px; font-weight: 700;
    text-decoration: none; border-radius: 12px; padding: 6px 2px 4px;
  }
  .e3-tabbar svg { width: 22px; height: 22px; }
  .e3-tabbar a.on, .e3-tabbar button.on { color: #1B2A4A; background: #F3EDE1; }
  .e3-tabbar a.on svg, .e3-tabbar button.on svg { stroke-width: 2.4; }
  .e3-tabbar a.on::before, .e3-tabbar button.on::before {
    content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 2px;
    background: #B8924A; border-radius: 2px;
  }

  .e3-sheet {
    display: block;
    position: fixed; inset: 0; z-index: 60;
    background: rgba(27,42,74,.4);
  }
  .e3-sheet[hidden] { display: none !important; }
  .e3-sheet-c {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: #F6F1E8;
    border-radius: 20px 20px 0 0;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 32px rgba(27,42,74,.18);
    max-height: 80vh; overflow: auto;
  }
  .e3-sheet-c h2 { margin: 8px 8px 12px; font-size: 20px; letter-spacing: -.02em; }
  .e3-sheet-c a, .e3-sheet-c button.e3-sheet-l {
    display: flex; align-items: center; gap: 12px;
    min-height: 48px; padding: 10px 12px;
    border-radius: 12px; text-decoration: none; color: inherit;
    font: inherit; font-weight: 600; font-size: 15.5px;
    border: 0; background: #fff; width: 100%; text-align: left; margin-bottom: 6px;
    box-shadow: var(--e3-sh);
  }
  .e3-sheet-c a svg, .e3-sheet-c button.e3-sheet-l svg { width: 20px; height: 20px; color: #1B2A4A; flex: none; }
  .e3-sheet-x {
    display: block; width: 100%; min-height: 48px; margin-top: 8px;
    border: 0; background: none; font: inherit; font-weight: 700; color: #1B2A4A;
  }
}

@media (min-width: 761px) {
  .e3-tabbar, .e3-sheet { display: none !important; }
}


/* ---------- Marca oficial, grafismos e ícones do laticínio ---------- */
.pb-brand img {
  width: 48px; height: 48px;
  padding: 3px;
  background: #fff;
  box-shadow: 0 0 0 2px #B8924A;
}
@media (max-width: 1180px) {
  .pb-brand img { width: 40px; height: 40px; }
}

.e3-hero-marca {
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-58%);
  height: 74%;
  width: auto;
  max-width: 42%;
  opacity: .15;
  pointer-events: none;
  object-fit: contain;
  object-position: right center;
  user-select: none;
}
.e3-hero-onda {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 28px; pointer-events: none; overflow: hidden;
}
.e3-hero-onda svg,
.e3-auth-onda svg { display: block; width: 200%; height: 100%; stroke: none; }
.e3-hero-n .e3-onda-a { fill: rgba(246,241,232,.2); stroke: none; }
.e3-hero-n .e3-onda-b { fill: rgba(246,241,232,.12); stroke: none; }
.e3-hero-onda svg { animation: e3-onda 16s linear infinite; }
@keyframes e3-onda {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.e3-nascer {
  width: 100%;
  max-width: 280px;
  height: 36px;
  color: #B8924A;
  margin: 0 0 12px;
}
.e3-nascer svg { width: 100%; height: 36px; display: block; }
@keyframes e3-nascer {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.e3-tela-ferias .e3-sol,
.e3-at.gold .e3-sol,
.e3-nascer .e3-sol,
.e3-tabbar a.on .e3-sol {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: e3-nascer .8s ease-out both;
}

.e3-empty { text-align: center; }
.e3-empty-logo {
  width: 68px; height: 68px;
  object-fit: contain;
  display: block;
  margin: 0 auto 4px;
}
.e3-empty-ic { width: 132px; height: 52px; color: #B8924A; margin: 0 auto 6px; display: block; }

.e3-tab-logo {
  width: 22px; height: 22px;
  object-fit: contain;
  display: block;
  flex: none;
}
.e3-tab-marca {
  width: 24px; height: 24px;
  border-radius: 8px;
  background: #1B2A4A;
  display: grid; place-items: center;
  flex: none;
  overflow: hidden;
}
.e3-tab-marca img {
  width: 18px; height: 18px;
  object-fit: contain;
  display: block;
}

/* Login / senha: selo maior e onda de leite */
#t-login.auth, #t-senha.auth {
  background:
    radial-gradient(1100px 480px at 50% -8%, #fff 0, rgba(255,255,255,0) 58%),
    linear-gradient(180deg, #F6F1E8 0%, #EFE6D6 100%);
}
.e3-auth-onda {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 150px; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.e3-auth-onda svg { animation: e3-onda 18s linear infinite; }
.e3-auth-onda .e3-onda-a { fill: rgba(184,146,74,.2); stroke: none; }
.e3-auth-onda .e3-onda-b { fill: rgba(27,42,74,.1); stroke: none; }
#t-login .auth-card, #t-senha .auth-card { position: relative; z-index: 1; }
.e3-auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  margin-bottom: 20px;
}
.e3-auth-brand img {
  width: 108px; height: 108px;
  border-radius: 50%;
  background: #fff;
  padding: 8px;
  object-fit: contain;
  box-shadow: 0 0 0 2px #B8924A, 0 10px 28px rgba(27,42,74,.12);
  margin-bottom: 10px;
}
.e3-auth-brand b {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #1B2A4A;
}
.e3-auth-brand span { font-size: 14.5px; color: #3E4960; font-weight: 500; }
.e3-auth-brand small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8C6A2E;
}

@media (max-width: 760px) {
  .e3-hero-marca { display: none; }
  .e3-auth-brand img { width: 96px; height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .e3-hero-onda svg,
  .e3-auth-onda svg,
  .e3-sol,
  .e3-nascer .e3-sol,
  .e3-tela-ferias .e3-sol,
  .e3-at.gold .e3-sol,
  .e3-tabbar a.on .e3-sol { animation: none !important; }
}
