/* Hoje no telemóvel (≤ 760 px): a ação principal em destaque e o resto como lista leve. */
.hm-voice { display: none; }
.hm-snooze { display: none; }
@media (max-width: 760px) {
  #page-hoje .phead .right, #page-hoje .phead p, #page-hoje .phead .dash-status { display: none !important; }
  .hm-voice { display: block; margin: 2px 0 14px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
  #hojeFila.hm-on { gap: 4px; }
  #hojeFila.hm-on .card.hoje-block, .app #hojeFila.hm-on .card.hoje-block { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  #hojeFila.hm-on .hoje-block h2 { margin: 14px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--product-muted, var(--mist2, #4d5a54)); }
  /* O primeiro item de toda a fila é a ação principal. */
  #hojeFila.hm-on .hoje-item.hoje-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 16px 16px; margin: 6px 0 4px; border: 1px solid var(--product-line, rgba(127,127,127,.22)); border-radius: 18px; background: var(--product-surface, var(--slate, #fff)); }
  #hojeFila.hm-on .hoje-hero .hm-kicker { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--product-muted, var(--mist2, #4d5a54)); }
  #hojeFila.hm-on .hoje-hero .hoje-item-main b { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
  #hojeFila.hm-on .hoje-hero .btn { width: 100% !important; min-height: 48px; font-size: 15px; }
  /* O resto é uma lista: linhas finas, sem cartões, e a linha cede ao dedo. */
  #hojeFila.hm-on .hm-swipe { position: relative; overflow: hidden; border-top: 1px solid var(--product-line, rgba(127,127,127,.22)); }
  #hojeFila.hm-on .hm-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 13px; font-weight: 600; }
  #hojeFila.hm-on .hm-swipe[data-dir="right"] .hm-bg { background: var(--bg-success, #e3f1e6); color: var(--text-success, #1f6a3a); }
  #hojeFila.hm-on .hm-swipe[data-dir="left"] .hm-bg { background: var(--bg-warning, #f6ead2); color: var(--text-warning, #7a5410); }
  #hojeFila.hm-on .hm-swipe:not([data-dir="right"]) .hm-bg-r, #hojeFila.hm-on .hm-swipe:not([data-dir="left"]) .hm-bg-l { visibility: hidden; }
  #hojeFila.hm-on .hm-swipe > .hoje-item { position: relative; background: var(--product-bg, var(--ink, #f2ede5)); border-top: 0; padding: 12px 2px; touch-action: pan-y; }
  #hojeFila.hm-on .hm-swipe > .hoje-item.hm-drag { cursor: grabbing; user-select: none; }
  #hojeFila.hm-on .hm-swipe .hoje-item .btn { min-height: 40px; }
  #hojeFila.hm-on .hm-swipe .hm-snooze { display: inline-flex; margin-left: 6px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  /* Volta ao sítio com uma mola curta; durante o arrasto não há transição, a linha segue o dedo 1:1. */
  #hojeFila.hm-on .hm-swipe > .hoje-item { transition: transform .32s cubic-bezier(.2, .9, .3, 1.15); }
  #hojeFila.hm-on .hm-swipe > .hoje-item.hm-drag { transition: none; }
}
