/* ============================================================
   HERBNET — Central do Assinante: Dashboard Styles
   Design: Híbrido Premium (Option A)
   ============================================================ */

/* Fundo global claro tintado com o azul da marca */
body:not(:has(div.min-h-screen.bg-slate-100)) {
  background-color: #F4F6FC !important;
  color: #1E1E1E !important;
}

/* Ajuste de área segura para PWA/iPhone: impede a status bar de cobrir o cabeçalho. */
@media (max-width: 767px) {
  html.hb-standalone,
  html.hb-standalone body,
  html.hb-standalone #root {
    background-color: #060B4F !important;
  }

  header.md\:hidden.flex-none.bg-white,
  html.hb-standalone header.md\:hidden.flex-none.bg-white {
    padding-left: clamp(18px, 5vw, 24px) !important;
    padding-right: clamp(18px, 5vw, 24px) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    min-height: 68px !important;
    position: relative !important;
    z-index: 30 !important;
    flex-shrink: 0 !important;
  }

  html.hb-standalone header.md\:hidden.flex-none.bg-white {
    padding-top: max(12px, calc(var(--hb-safe-top) + 8px)) !important;
    min-height: calc(68px + var(--hb-safe-top)) !important;
  }

  header.md\:hidden.flex-none.bg-white > div:first-child,
  html.hb-standalone header.md\:hidden.flex-none.bg-white > div:first-child {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: clamp(10px, 3vw, 14px) !important;
  }

  header.md\:hidden.flex-none.bg-white img[alt="Herbnet H"],
  html.hb-standalone header.md\:hidden.flex-none.bg-white img[alt="Herbnet H"] {
    width: clamp(40px, 11vw, 44px) !important;
    height: clamp(40px, 11vw, 44px) !important;
  }

  header.md\:hidden.flex-none.bg-white .text-lg {
    font-size: clamp(1rem, 4.8vw, 1.125rem) !important;
    line-height: 1.15 !important;
  }

  header.md\:hidden.flex-none.bg-white button {
    flex-shrink: 0 !important;
  }
}

:root {
  --hb-safe-top: env(safe-area-inset-top, 0px);
  --hb-safe-bottom: env(safe-area-inset-bottom, 0px);
  --hb-bottom-nav-height: 76px;
  --hb-bottom-nav-gap: 18px;
  --hb-bottom-nav-space: calc(var(--hb-bottom-nav-height) + var(--hb-bottom-nav-gap) + var(--hb-safe-bottom));
}

@media (max-width: 640px) {
  :root {
    --hb-bottom-nav-height: clamp(68px, 20vw, 76px);
    --hb-bottom-nav-gap: clamp(18px, 5vw, 26px);
  }
}

@media (max-width: 380px) {
  :root {
    --hb-bottom-nav-height: 68px;
    --hb-bottom-nav-gap: 18px;
  }
}

/* ─── SIDEBAR DESKTOP (aside) ───────────────────────────────── */
aside.hidden.md\:flex {
  background-color: #060B4F !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Botão de Perfil na Sidebar */
aside.hidden.md\:flex button.bg-slate-50 {
  background-color: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: all 0.2s ease !important;
}
aside.hidden.md\:flex button.bg-slate-50:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Textos no Perfil da Sidebar */
aside.hidden.md\:flex button.bg-slate-50 .text-slate-800 {
  color: #FFFFFF !important;
}
aside.hidden.md\:flex button.bg-slate-50 .text-slate-500 {
  color: #9BA3CF !important;
}

/* Avatar do Perfil da Sidebar */
aside.hidden.md\:flex button.bg-slate-50 .bg-brand-blue\/10 {
  background-color: rgba(255, 255, 255, 0.10) !important;
  color: #3DA5FF !important;
}

/* Links de Navegação (Inativos) */
aside.hidden.md\:flex nav a {
  color: #9BA3CF !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}
aside.hidden.md\:flex nav a:hover {
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}

/* Link de Navegação Ativo (Laranja Herbnet) */
aside.hidden.md\:flex nav a.bg-brand-blue {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C2B 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.30) !important;
  font-weight: 600 !important;
}


/* ─── CABEÇALHO MOBILE (header) ─────────────────────────────── */
header.md\:hidden.flex-none.bg-white {
  background-color: #060B4F !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Logo no cabeçalho mobile */
header.md\:hidden.flex-none.bg-white img {
  filter: brightness(1.05) !important;
}

/* Textos do cabeçalho mobile */
header.md\:hidden.flex-none.bg-white .text-slate-800 {
  color: #FFFFFF !important;
}
header.md\:hidden.flex-none.bg-white .text-slate-500 {
  color: #9BA3CF !important;
}

/* Botão de Perfil no cabeçalho mobile */
header.md\:hidden.flex-none.bg-white button.bg-brand-blue\/10 {
  background-color: rgba(255, 255, 255, 0.10) !important;
  color: #3DA5FF !important;
}
header.md\:hidden.flex-none.bg-white button.bg-brand-blue\/10:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
}


/* ─── NAVEGAÇÃO FLUTUANTE MOBILE (Bottom Bar) ───────────────── */

/* Mudança da cor do item ativo no menu inferior flutuante para laranja (combina com o sidebar) */
div.premium-contrast a div.bg-brand-blue\/10 {
  background-color: rgba(255, 107, 0, 0.10) !important;
  color: #FF6B00 !important;
}


/* ─── CARTÕES E PAINEIS (Dashboard e Subpáginas) ────────────── */

/* Aplicação de borda de contraste sutil da marca e sombra leve */
main div.bg-white.rounded-2xl,
main div.bg-white.rounded-xl,
main div.bg-white.rounded-\[32px\],
div.bg-white.rounded-2xl.border {
  background-color: #FFFFFF !important;
  border: 1px solid rgba(62, 63, 186, 0.08) !important;
  box-shadow: 0 10px 30px rgba(62, 63, 186, 0.035) !important;
}

main div.bg-white.rounded-2xl.fatura-card-vencida,
main div.rounded-2xl.fatura-card-vencida {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.40), 0 12px 28px rgba(239, 68, 68, 0.10) !important;
}

main div.bg-white.rounded-2xl.fatura-card-pendente,
main div.rounded-2xl.fatura-card-pendente {
  border-color: #FF6B00 !important;
  box-shadow: 0 0 0 1px rgba(255, 107, 0, 0.36), 0 12px 28px rgba(255, 107, 0, 0.10) !important;
}

main div.bg-white.rounded-2xl.fatura-card-em-dia,
main div.rounded-2xl.fatura-card-em-dia {
  background-color: #FFFFFF !important;
  border-color: #10B981 !important;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.34), 0 12px 28px rgba(16, 185, 129, 0.10) !important;
}

/* Cores de textos gerais do painel */
main .text-slate-800 { color: #101B7A !important; }
main .text-slate-700 { color: #2C2D49 !important; }
main .text-slate-650 { color: #4A4C6D !important; }
main .text-slate-500 { color: #6B7280 !important; }
main .text-slate-400 { color: #8F94A8 !important; }


/* ─── BOTÕES DE AÇÕES RÁPIDAS (Grid) ────────────────────────── */
div.grid a.bg-slate-50,
div.grid button.bg-slate-50 {
  background-color: #F8FAFC !important;
  border: 1px solid rgba(62, 63, 186, 0.06) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover nos botões de ação do painel */
div.grid a.bg-slate-50:hover,
div.grid button.bg-slate-50:hover {
  background: linear-gradient(135deg, #3E3B9B 0%, #2C2978 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(62, 59, 155, 0.2) !important;
  border-color: transparent !important;
  transform: translateY(-2px) !important;
}

/* Efeito no ícone das ações rápidas ao passar o mouse */
div.grid a.bg-slate-50:hover .bg-brand-blue\/10,
div.grid a.bg-slate-50:hover .bg-brand-orange\/10,
div.grid a.bg-slate-50:hover .bg-emerald-100 {
  background-color: rgba(255, 255, 255, 0.20) !important;
  color: #FFFFFF !important;
}


/* ─── INPUTS E CAMPOS DE TEXTO DO DASHBOARD ─────────────────── */
main input[type="text"],
main input[type="password"],
main select,
main textarea {
  background-color: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #1E1E1E !important;
  border-radius: 12px !important;
  padding: 11px 16px !important;
  transition: all 0.2s ease !important;
}
main input[type="text"]:focus,
main input[type="password"]:focus,
main select:focus,
main textarea:focus {
  border-color: #3E3B9B !important;
  box-shadow: 0 0 0 3px rgba(62, 59, 155, 0.12) !important;
  background-color: #FFFFFF !important;
  outline: none !important;
}


/* ─── BOTÕES PRINCIPAIS DO DASHBOARD (Área Logada) ──────────── */
main button.bg-brand-blue,
main a.bg-brand-blue {
  background: linear-gradient(135deg, #3E3B9B 0%, #2C2978 100%) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(62, 59, 155, 0.22) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
main button.bg-brand-blue:hover:not(:disabled),
main a.bg-brand-blue:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(6, 59, 155, 0.32) !important;
  filter: brightness(1.05) !important;
}

main button.bg-brand-orange,
main a.bg-brand-orange {
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C2B 100%) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
main button.bg-brand-orange:hover:not(:disabled),
main a.bg-brand-orange:hover:not(:disabled) {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.38) !important;
  filter: brightness(1.05) !important;
}


/* ─── CARD DE AJUDA DO HERBINHO ─────────────────────────────── */
.herbinho-help-card {
  background: #ffffff !important;
  border: 1px solid rgba(62, 63, 186, 0.08) !important;
  box-shadow: 0 10px 28px rgba(62, 63, 186, 0.04) !important;
  border-radius: 16px !important;
}
.herbinho-help-card:hover {
  border-color: rgba(255, 107, 0, 0.25) !important;
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.07) !important;
}
.herbinho-help-title {
  color: #101B7A !important;
  font-weight: 700 !important;
}
.herbinho-help-subtitle {
  color: #6B7280 !important;
}
.herbinho-help-btn {
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.herbinho-help-btn:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 15px rgba(251, 105, 10, 0.32) !important;
  filter: brightness(1.06) !important;
}

main .herbinho-help-card {
  display: none !important;
}

/* ─── SOBREPOSIÇÃO DOS CARTÕES AZUIS DESTACADOS (#3e3fba) ─── */
div.rounded-2xl.text-white.shadow-md.relative.overflow-hidden {
  background: linear-gradient(135deg, #060B4F 0%, #101B7A 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 10px 25px rgba(6, 11, 79, 0.20) !important;
}

/* Header do chat do assistente (/assistente) */
header.bg-brand-blue.text-white {
  background: linear-gradient(135deg, #060B4F 0%, #0c125c 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ─── SKELETON SHIMMER LOADING ──────────────────────────────── */
.hb-sk-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 576px; /* max-w-xl */
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
}

/* Cards Base */
.hb-sk-card {
  width: 100%;
  border-radius: 16px;
  background: #FFFFFF !important;
  border: 1px solid rgba(62, 63, 186, 0.08) !important;
  box-shadow: 0 10px 30px rgba(62, 63, 186, 0.035) !important;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
}

/* Dark Card (Plano Ativo) */
.hb-sk-card-dark {
  background: linear-gradient(135deg, #060B4F 0%, #101B7A 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 10px 25px rgba(6, 11, 79, 0.20) !important;
}

/* Shimmer Animation Base */
.hb-sk-shimmer {
  position: relative;
  overflow: hidden;
  background-color: #E2E8F0 !important;
  border-radius: 6px;
}

.hb-sk-shimmer::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 30%,
    rgba(255, 255, 255, 0.75) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: hbSkShimmer 1.5s infinite ease-in-out;
}

/* Translucent Shimmer for Dark Cards */
.hb-sk-shimmer-light {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.hb-sk-shimmer-light::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.22) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: hbSkShimmer 1.5s infinite ease-in-out;
}

@keyframes hbSkShimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Layout Utilities (vanilla flexbox) */
.hb-sk-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hb-sk-col {
  display: flex;
  flex-direction: column;
}

.hb-sk-gap-2 { gap: 8px; }
.hb-sk-gap-3 { gap: 12px; }

/* Elements Sizing */
.hb-sk-w-12 { width: 48px; }
.hb-sk-w-16 { width: 64px; }
.hb-sk-w-20 { width: 80px; }
.hb-sk-w-24 { width: 96px; }
.hb-sk-w-28 { width: 112px; }
.hb-sk-w-32 { width: 128px; }
.hb-sk-w-40 { width: 160px; }
.hb-sk-w-48 { width: 192px; }
.hb-sk-w-full { width: 100%; }

.hb-sk-h-2.5 { height: 10px; }
.hb-sk-h-3 { height: 12px; }
.hb-sk-h-3.5 { height: 14px; }
.hb-sk-h-4 { height: 16px; }
.hb-sk-h-5 { height: 20px; }
.hb-sk-h-6 { height: 24px; }
.hb-sk-h-7 { height: 28px; }
.hb-sk-h-10 { height: 40px; }
.hb-sk-h-11 { height: 44px; }
.hb-sk-h-12 { height: 48px; }
.hb-sk-h-14 { height: 56px; }

/* Special Shapes */
.hb-sk-circle {
  border-radius: 50% !important;
}

.hb-sk-rounded-xl {
  border-radius: 12px !important;
}

.hb-sk-badge {
  border-radius: 9999px !important;
}

/* Carousel Card specific layout */
.hb-sk-carousel-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hb-sk-carousel-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}

.hb-sk-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #E2E8F0;
}
.hb-sk-carousel-dot.active {
  background-color: #3E3B9B;
  width: 12px;
  border-radius: 3px;
}

/* Actions Grid specific layout */
.hb-sk-actions-grid {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
}

.hb-sk-action-item {
  flex: 1;
  background: #FFFFFF !important;
  border: 1px solid rgba(62, 63, 186, 0.08) !important;
  box-shadow: 0 10px 30px rgba(62, 63, 186, 0.035) !important;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.hb-sk-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

/* Avatar help card wrapper */
.hb-sk-avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── CLASSES EXCLUSIVAS PARA SUBPÁGINAS ─── */

.hb-sk-card-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hb-sk-detail-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(62, 63, 186, 0.04);
  padding-bottom: 12px;
}

.hb-sk-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hb-sk-fatura-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid rgba(62, 63, 186, 0.04);
  padding-bottom: 16px;
}

.hb-sk-fatura-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hb-sk-fatura-right {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  width: auto;
}

.hb-sk-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

@media (max-width: 640px) {
  main.flex-1.overflow-y-auto {
    margin-bottom: calc(var(--hb-bottom-nav-space) + 2px) !important;
    padding-bottom: 18px !important;
    scroll-padding-bottom: 18px !important;
  }

  form.hb-chat-composer,
  main form:has(input[placeholder="Digite sua mensagem..."]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px 42px !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    overflow: visible !important;
  }

  form.hb-chat-composer .hb-chat-input,
  main form:has(input[placeholder="Digite sua mensagem..."]) input[placeholder="Digite sua mensagem..."] {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  form.hb-chat-composer .mic-button,
  form.hb-chat-composer .hb-chat-submit,
  main form:has(input[placeholder="Digite sua mensagem..."]) .mic-button,
  main form:has(input[placeholder="Digite sua mensagem..."]) button[type="submit"] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 42px !important;
  }

  .nav-floating {
    left: clamp(10px, 4vw, 16px) !important;
    right: clamp(10px, 4vw, 16px) !important;
    bottom: calc(12px + var(--hb-safe-bottom)) !important;
  }

  .nav-floating nav {
    height: var(--hb-bottom-nav-height) !important;
    max-width: min(440px, calc(100vw - 20px)) !important;
    padding: 6px clamp(6px, 2vw, 12px) !important;
    border-radius: 28px !important;
  }

  .nav-floating nav a > div {
    width: clamp(52px, 16vw, 64px) !important;
    height: clamp(52px, 16vw, 64px) !important;
  }

  .nav-floating nav a img[alt="Herbinho"] {
    width: 100% !important;
    height: 100% !important;
  }

  main.flex-1.overflow-y-auto:has(input[placeholder="Digite sua mensagem..."]) {
    margin-bottom: calc(var(--hb-bottom-nav-space) + 8px) !important;
    padding-bottom: 22px !important;
    scroll-padding-bottom: 22px !important;
  }

  main h1.truncate,
  main h2.truncate,
  main h3.truncate,
  main p.truncate {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  main div[class*="fatura-card"] {
    scroll-margin-top: 88px !important;
  }

  main div[class*="fatura-card"] p,
  main div[class*="fatura-card"] span {
    white-space: normal !important;
  }

  main div[class*="fatura-card"] p strong {
    white-space: nowrap !important;
  }

  main div[class*="fatura-card"] .fatura-text-vencida,
  main div[class*="fatura-card"] .fatura-text-pendente {
    flex-basis: 100% !important;
    margin-left: 22px !important;
    white-space: nowrap !important;
  }

  main div[class*="fatura-card"] button {
    min-width: 88px !important;
    min-height: 44px !important;
  }

  #hb-dashboard-carousel {
    margin-top: 16px !important;
    margin-bottom: 18px !important;
  }

  #hb-dashboard-carousel .hb-slide-title,
  #hb-dashboard-carousel .hb-slide-desc {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #hb-dashboard-carousel .hb-slide-title {
    -webkit-line-clamp: 2 !important;
  }

  #hb-dashboard-carousel .hb-slide-desc {
    -webkit-line-clamp: 2 !important;
  }
}

@media (max-width: 380px) {
  form.hb-chat-composer,
  main form:has(input[placeholder="Digite sua mensagem..."]) {
    grid-template-columns: minmax(0, 1fr) 40px 40px !important;
    gap: 6px !important;
    padding: 9px !important;
  }

  form.hb-chat-composer .hb-chat-input,
  main form:has(input[placeholder="Digite sua mensagem..."]) input[placeholder="Digite sua mensagem..."] {
    height: 40px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }

  form.hb-chat-composer .mic-button,
  form.hb-chat-composer .hb-chat-submit,
  main form:has(input[placeholder="Digite sua mensagem..."]) .mic-button,
  main form:has(input[placeholder="Digite sua mensagem..."]) button[type="submit"] {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px !important;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  header.md\:hidden.flex-none.bg-white,
  html.hb-standalone header.md\:hidden.flex-none.bg-white {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: calc(64px + var(--hb-safe-top)) !important;
  }

  html.hb-standalone header.md\:hidden.flex-none.bg-white {
    padding-top: max(10px, calc(var(--hb-safe-top) + 6px)) !important;
  }

  header.md\:hidden.flex-none.bg-white img[alt="Herbnet H"],
  html.hb-standalone header.md\:hidden.flex-none.bg-white img[alt="Herbnet H"] {
    width: 38px !important;
    height: 38px !important;
  }

  main.flex-1.overflow-y-auto {
    padding-top: 12px !important;
  }

  main.flex-1.overflow-y-auto > div {
    gap: 12px !important;
  }

  #hb-dashboard-carousel {
    margin-top: 12px !important;
  }
}
