/* Police mobile professionnelle et homogène, sans écraser brutalement les tableaux. */
@media (max-width: 768px) {
  html, body {
    font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    -webkit-text-size-adjust: 100% !important;
    text-rendering: optimizeLegibility;
  }
  body *:not(.bi):not([class^="bi-"]):not([class*=" bi-"]) {
    font-family: inherit !important;
  }
  h1, .h1 { font-size: 22px !important; line-height: 1.15 !important; font-weight: 800 !important; }
  h2, .h2 { font-size: 20px !important; line-height: 1.18 !important; font-weight: 800 !important; }
  h3, .h3 { font-size: 18px !important; line-height: 1.2 !important; font-weight: 750 !important; }
  h4, .h4, h5, .h5, h6, .h6 { font-size: 15px !important; line-height: 1.25 !important; font-weight: 700 !important; }
  .btn, button, input, select, textarea { font-size: 13px !important; }
  .btn { padding: 8px 12px !important; border-radius: 14px !important; font-weight:700!important; }
  .form-control, .form-select { padding: 8px 10px !important; min-height: 38px !important; }
  .mobile-bottom-item span, .bottom-nav span, .bottom-nav-label { font-size: 11.5px !important; line-height: 1.1 !important; font-weight:700!important; }
  .mobile-bottom-item i, .bottom-nav i { font-size: 22px !important; }

  /* FullCalendar mobile : compact, mais sans forcer les tables métier. */
  .page-planning_general .fc, .page-planning_general .fc * { font-family: inherit !important; }
  .page-planning_general .fc .fc-toolbar-title { font-size: 22px !important; font-weight: 800 !important; line-height: 1.15 !important; }
  .page-planning_general .fc-header-toolbar, .page-planning_general .fc-toolbar, .page-planning_general .calendar-toolbar, .page-planning_general .planning-toolbar { margin-bottom: 8px !important; padding-bottom: 0 !important; }
  .page-planning_general .fc-view-harness, .page-planning_general .fc-view-harness-active, .page-planning_general .fc-scroller, .page-planning_general .fc-daygrid-body, .page-planning_general .fc-daygrid-body-natural, .page-planning_general .fc-scrollgrid, .page-planning_general .fc-scrollgrid-sync-table { min-height: 0 !important; }
  .page-planning_general .fc-daygrid-day-number { font-size: 13px !important; font-weight: 700 !important; }
  .page-planning_general .fc-event, .page-planning_general .fc-daygrid-event, .page-planning_general .fc-list-event-title, .page-planning_general .fc-list-event-time { font-size: 11.5px !important; line-height: 1.15 !important; font-weight: 700 !important; }
}
@media (max-width: 480px) {
  html, body { font-size: 13.5px !important; }
  .mobile-bottom-item span, .bottom-nav span, .bottom-nav-label { font-size: 11px !important; }
}
