/* Dashboard em tela larga: cards ocupam a largura toda e ganham modelo novo.
   Só vale para largura >= 901px (celular deitado / modo desktop). Retrato não muda. */
@media(min-width:901px){
  /* 1) Coluna direita vazia (Teste Rápido oculto) não reserva mais faixa: conteúdo usa a largura toda */
  html.orbital-active .dash-screen .dashcols:has(>.dashright:empty){grid-template-columns:minmax(0,1fr)!important}

  /* 2) Corpo do dashboard vira grade de cards; cada fileira se ajusta à largura disponível */
  html.orbital-active .dash-screen .dashleft{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:16px;align-items:stretch;grid-auto-flow:dense}
  html.orbital-active .dash-screen .dashleft>.cd{margin-bottom:0!important;height:100%;box-sizing:border-box}
  html.orbital-active .dash-screen .dashleft>.bn{grid-column:1/-1;margin-bottom:0}

  /* 3) Indicadores: cada número vira um mini-card próprio, sem texto esmagado */
  html.orbital-active .dash-screen .cd.kc{grid-column:1/-1;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;overflow:visible}
  html.orbital-active .dash-screen .cd.kc>div{background:linear-gradient(125deg,#202d3a,#101b28 50%,#0d1623)!important;border:1px solid #3d4b5b!important;border-top:2px solid #d2ae6c!important;border-radius:9px!important;box-shadow:inset 0 1px #c9e3f025,0 7px 16px #0008!important;padding:14px 16px!important;min-width:0}
  html.orbital-active .dash-screen .cd.kc small{color:#9daebc!important;font-size:11.5px!important;line-height:1.35;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
  html.orbital-active .dash-screen .cd.kc b{display:block;font-size:30px!important;line-height:1.1;margin:8px 0 5px;color:#9dd8e6!important;font-family:monospace}
  html.orbital-active .dash-screen .cd.kc em{font-size:11.5px!important;line-height:1.35;color:#8fa3b2!important}

  /* 4) Modelo novo dos demais cards: título com acento dourado, respiro maior */
  html.orbital-active .dash-screen .dashleft>.cd:not(.kc){border-top:2px solid #d2ae6c!important;padding:20px 22px!important}
  html.orbital-active .dash-screen .dashleft>.cd h4{font-size:15px!important;letter-spacing:.2px}
  html.orbital-active .dash-screen .dashleft>.cd .cap{letter-spacing:1.4px}
  html.orbital-active .dash-screen .ln2.big b{font-size:22px}

  /* 5) Aviso claro de automação: texto escuro para leitura (hoje fica claro sobre claro) */
  html.orbital-active .dash-screen .bn h5{color:#172130!important}
  html.orbital-active .dash-screen .bn p{color:#3d4a5c!important}

  /* 6) Estado de alerta do card de expiração mantém cores do tema */
  html.orbital-active .dash-screen .tag.wn{background:#3a2f14;color:#e8c26a}
  html.orbital-active .dash-screen .tag.er{background:#3a1d22;color:#f08ba0}
}
