.dashboard-label-short { display: none; }
/* Gestão: same cards and handlers, compact presentation within the drawer breakpoint. */
@media (max-width: 980px) {
  body[data-route="gestao"] .topbar {
    min-height: calc(60px + env(safe-area-inset-top, 0px));
    padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 8px max(12px, env(safe-area-inset-left, 0px));
    gap: 6px;
  }
  body[data-route="gestao"] .topbar-heading { gap: 6px; flex: 1; }
  body[data-route="gestao"] .topbar-heading > div { min-width: 0; }
  body[data-route="gestao"] .topbar h1 { font-size: clamp(13px, 3.9vw, 20px); white-space: nowrap; line-height: 1.2; }
  body[data-route="gestao"] .eyebrow,
  body[data-route="gestao"] .user-identity,
  body[data-route="gestao"] .user-menu summary > svg { display: none; }
  body[data-route="gestao"] .topbar-actions { gap: 4px; flex: 0 0 auto; }
  body[data-route="gestao"] #route-action-root:empty { display: none; }
  body[data-route="gestao"] .icon-button,
  body[data-route="gestao"] .user-menu summary { width: 44px; height: 44px; min-height: 44px; padding: 0; flex-shrink: 0; }
  body[data-route="gestao"] .user-avatar { width: 40px; height: 40px; }
  body[data-route="gestao"] .notification-bell > span { right: 0; top: 0; }
  body[data-route="gestao"] .notification-panel { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); top: calc(68px + env(safe-area-inset-top, 0px)); }
  body[data-route="gestao"] main { padding: 16px max(12px, env(safe-area-inset-right, 0px)) max(28px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
  body[data-route="gestao"] .view-root,
  body[data-route="gestao"] .management-sections { gap: 22px; }
  body[data-route="gestao"] :is(.management-kpi-grid, .process-card-grid, .business-card-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body[data-route="gestao"] .management-band { background: transparent; border: 0; padding: 0; }
  body[data-route="gestao"] .management-band-head { margin-bottom: 12px; }
  body[data-route="gestao"] .management-band-head h2 { font-size: var(--text-xl); }
  body[data-route="gestao"] .management-band-head p { display: none; }
  body[data-route="gestao"] .management-card { border-radius: 14px; padding: 12px; box-shadow: none; gap: 6px; }
  body[data-route="gestao"] :is(.kpi-card, .process-card) { display: flex; flex-direction: column; justify-content: flex-start; min-height: 128px; padding: 10px; gap: 4px; text-align: center; }
  body[data-route="gestao"] :is(.kpi-card, .process-card) .management-card-copy { display: contents; }
  body[data-route="gestao"] :is(.kpi-card, .process-card) .management-card-label { align-self: stretch; }
  body[data-route="gestao"] :is(.kpi-card, .process-card) strong { margin: 0; }
  body[data-route="gestao"] .management-card small { display: none; }
  body[data-route="gestao"] .dashboard-label-short { display: inline; }
  body[data-route="gestao"] .dashboard-label-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  body[data-route="gestao"] .process-card:last-child small { display: block; font-size: var(--text-2xs); }
  body[data-route="gestao"] .management-card-label { font-size: var(--text-sm); overflow-wrap: anywhere; }
  body[data-route="gestao"] .management-card strong { font-size: var(--text-2xl); }
  body[data-route="gestao"] :is(.kpi-card, .process-card) strong { font-size: var(--text-2xl); }
  body[data-route="gestao"] :is(.kpi-card, .process-card) .management-icon { width: 48px; height: 48px; flex: 0 0 48px; align-self: center; box-shadow: none; transform: none; }
  body[data-route="gestao"] :is(.kpi-card, .process-card) .management-icon svg { width: 34px; height: 34px; }
  body[data-route="gestao"] .management-icon::after { display: none; }
  body[data-route="gestao"] .is-clickable .management-card-label::after { content: " ›"; color: var(--blue-700); }
  body[data-route="gestao"] .business-card { min-height: 140px; gap: 6px; }
  body[data-route="gestao"] .business-card .management-icon.image-backed { width: 44px; height: 44px; flex-basis: 44px; }
  body[data-route="gestao"] .business-card--wide-logo .management-icon.image-backed { width: 96px; }
  body[data-route="gestao"] .business-card .management-icon img { object-fit: contain; }
  body[data-route="gestao"] .business-card .management-card-copy { grid-template-rows: minmax(34px, auto) auto; }
  body[data-route="gestao"] .business-card strong { margin: 4px 0 0; }
  body[data-route="gestao"] .business-card:last-child { grid-column: 1 / -1; flex-direction: row; min-height: 72px; gap: 12px; text-align: left; }
  body[data-route="gestao"] .business-card:last-child .management-card-copy { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; gap: 12px; align-items: center; }
  body[data-route="gestao"] .business-card:last-child .management-card-label { justify-self: start; }
  body[data-route="gestao"] .business-card:last-child strong { margin: 0; }
  body[data-route="gestao"] .alert { font-size: var(--text-xs); overflow-wrap: anywhere; padding: 12px; }
}
@media (max-width: 300px) {
  body[data-route="gestao"] :is(.management-kpi-grid, .process-card-grid, .business-card-grid) { grid-template-columns: minmax(0, 1fr); }
  body[data-route="gestao"] .topbar h1 { white-space: normal; }
}
/* Hidden attribute remains authoritative; status only belongs to Gestão. */
.dashboard-loading { display: none; }
@media (max-width: 980px) {
  body[data-route="gestao"] .dashboard-loading:not([hidden]) { display: block; color: var(--muted); font-size: var(--text-xs); margin: 0; }
}
