@media (max-width: 650px) {
  body {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
    font-size: 16px;
  }

  /* Phone header */
  .brand {
    font-size: 11px;
    letter-spacing: .08em;
  }

  .surface-switch button {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 10px;
  }

  /* Primary manager navigation */
  .mobile-manager-nav {
    height: 92px;
    padding: 7px;
    gap: 4px;
    border-radius: 22px;
  }

  .mobile-manager-nav button {
    min-height: 76px;
    padding: 7px 2px 6px;
    gap: 5px;
    border-radius: 15px;
  }

  .mobile-manager-nav button > span,
  .mobile-manager-nav .screens-centre-action > span {
    width: 40px;
    height: 40px;
    margin: 0;
    border: 0;
    border-radius: 11px;
    box-shadow: none;
    font-size: 15px;
  }

  .mobile-manager-nav button > small {
    margin: 0;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.025em;
  }

  .mobile-manager-nav .screens-centre-action > span {
    font-size: 16px;
  }

  .mobile-manager-nav .screens-centre-action > i {
    top: 6px;
    right: calc(50% - 23px);
    width: 9px;
    height: 9px;
  }

  /* Shared manager pages */
  .admin-page {
    padding: 20px 14px 34px;
  }

  .admin-page-header {
    gap: 14px;
  }

  .admin-page-header .eyebrow,
  .admin-card .eyebrow {
    font-size: 11px;
    line-height: 1.25;
  }

  .admin-page-header h1 {
    font-size: 29px;
    line-height: 1.05;
  }

  .admin-page-header p {
    max-width: 280px;
    font-size: 14px;
    line-height: 1.45;
  }

  .admin-page-header .publish-button,
  .admin-page .publish-button,
  .admin-page .ghost-button {
    min-height: 44px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .local-notice {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  .metric-grid {
    gap: 10px;
  }

  .metric-grid article {
    min-height: 122px;
    padding: 15px;
  }

  .metric-grid article > span {
    font-size: 13px;
    line-height: 1.3;
  }

  .metric-grid article strong {
    margin: 10px 0 7px;
    font-size: 30px;
  }

  .metric-grid article small {
    font-size: 11px;
    line-height: 1.35;
  }

  .admin-card {
    padding: 17px;
  }

  .card-title-row h2,
  .admin-card h2 {
    font-size: 20px;
    line-height: 1.15;
  }

  .admin-card p,
  .compact-card p,
  .empty-message,
  .integration-state p {
    font-size: 13px;
    line-height: 1.5;
  }

  .chip-row button {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .record-table > div,
  .member-table > div {
    min-height: 58px;
    font-size: 13px;
    line-height: 1.35;
  }

  .record-table button,
  .member-table button,
  .mini-metric-list p {
    font-size: 12px;
  }

  .admin-search {
    width: 100%;
    height: 46px;
    font-size: 16px;
  }

  .status-live,
  .status-warn {
    padding: 5px 8px;
    font-size: 11px;
  }

  /* Overview */
  .today-workout {
    padding: 20px 17px;
  }

  .today-workout > span {
    font-size: 11px;
  }

  .today-workout h3 {
    font-size: 27px;
  }

  .today-workout p {
    font-size: 14px;
    line-height: 1.45;
  }

  .today-workout i {
    padding: 7px 9px;
    font-size: 11px;
  }

  .attention-card > div {
    min-height: 76px;
    grid-template-columns: 34px 1fr auto;
  }

  .attention-card strong,
  .activity-list strong,
  .achievement-list strong {
    font-size: 14px;
    line-height: 1.3;
  }

  .attention-card small,
  .activity-list small,
  .achievement-list small {
    font-size: 12px;
    line-height: 1.35;
  }

  .attention-card button,
  .activity-list > p > b {
    min-height: 38px;
    font-size: 12px;
  }

  .activity-list p,
  .achievement-list p {
    min-height: 72px;
  }

  /* Quick workout editor */
  .mobile-workout-studio > header {
    min-height: 118px;
  }

  .mobile-workout-studio > header span,
  .mobile-workout-step-heading > span {
    font-size: 11px;
  }

  .mobile-workout-studio > header h1 {
    font-size: 31px;
  }

  .mobile-workout-studio > header p {
    max-width: 240px;
    font-size: 14px;
    line-height: 1.4;
  }

  .mobile-workout-studio > header > b {
    padding: 7px 9px;
    font-size: 11px;
  }

  .mobile-workout-studio > nav {
    height: 68px;
  }

  .mobile-workout-studio > nav button {
    gap: 7px;
    font-size: 13px;
  }

  .mobile-workout-studio > nav i {
    width: 29px;
    height: 29px;
    font-size: 11px;
  }

  .mobile-workout-step {
    padding: 17px;
  }

  .mobile-workout-step-heading h2 {
    font-size: 25px;
  }

  .mobile-workout-step-heading p {
    font-size: 13px;
    line-height: 1.5;
  }

  .mobile-workout-edit > label,
  .mobile-workout-edit details label,
  .mobile-workout-edit summary {
    font-size: 13px;
  }

  .mobile-workout-edit summary span {
    font-size: 11px;
  }

  .mobile-workout-shortcuts > button {
    min-height: 72px;
  }

  .mobile-workout-shortcuts strong {
    font-size: 14px;
  }

  .mobile-workout-shortcuts small {
    font-size: 12px;
    line-height: 1.35;
  }

  .mobile-workout-step > footer button {
    min-height: 50px;
    font-size: 13px;
  }

  .mobile-tv-view-options button {
    min-height: 72px;
    font-size: 12px;
  }

  .mobile-workout-timer {
    min-height: 65px;
  }

  .mobile-workout-timer strong {
    font-size: 14px;
  }

  .mobile-workout-timer small {
    font-size: 12px;
  }

  .mobile-send-summary span {
    font-size: 10px;
  }

  .mobile-send-summary strong {
    font-size: 17px;
  }

  .mobile-send-summary small {
    font-size: 12px;
  }

  .mobile-publish-targets button {
    min-height: 80px;
  }

  .mobile-publish-targets strong {
    font-size: 14px;
  }

  .mobile-publish-targets small,
  .mobile-publish-targets button > b {
    font-size: 11px;
  }

  .mobile-publish-success strong {
    font-size: 14px;
  }

  .mobile-publish-success small {
    font-size: 11px;
  }

  .mobile-send-live,
  .mobile-add-screen-link {
    min-height: 52px;
    font-size: 14px;
  }

  .mobile-publish-note {
    font-size: 11px;
  }

  /* Screen remote */
  .screens-admin-page .admin-page-header p {
    max-width: 300px;
    font-size: 13px;
  }

  .mobile-screen-command > header > div,
  .mobile-screen-command-title .eyebrow {
    font-size: 11px;
  }

  .mobile-screen-command > header > b {
    font-size: 10px;
  }

  .mobile-screen-command-title h2 {
    font-size: 28px;
  }

  .mobile-screen-command-title p {
    font-size: 13px;
    line-height: 1.5;
  }

  .mobile-tv-selector button {
    min-height: 88px;
  }

  .mobile-tv-selector i {
    width: 31px;
    height: 31px;
    font-size: 12px;
  }

  .mobile-tv-selector span {
    font-size: 12px;
  }

  .mobile-tv-selector small {
    font-size: 10px;
  }

  .mobile-now-showing span,
  .mobile-now-showing > b {
    font-size: 10px;
  }

  .mobile-now-showing strong {
    font-size: 18px;
  }

  .mobile-mode-control button {
    min-height: 68px;
    font-size: 12px;
  }

  .mobile-screen-quick-row button {
    min-height: 68px;
  }

  .mobile-screen-quick-row button span {
    font-size: 10px;
  }

  .mobile-screen-quick-row button strong {
    font-size: 13px;
  }

  .mobile-apply-screen,
  .mobile-pair-screen {
    min-height: 52px;
    font-size: 14px;
  }

  .mobile-safe-note {
    font-size: 10px;
  }

  .screens-admin-page .screen-grid h3 {
    font-size: 17px;
  }

  .screens-admin-page .screen-grid p,
  .screens-admin-page .screen-grid article > div:last-child button {
    font-size: 12px;
    line-height: 1.4;
  }

  .screens-admin-page .screen-grid article > div:last-child button {
    min-height: 40px;
  }

  .pair-card > span {
    font-size: 11px;
  }

  /* More navigation sheet */
  .mobile-more-sheet > header {
    min-height: 78px;
  }

  .mobile-more-sheet > header span {
    font-size: 10px;
  }

  .mobile-more-sheet > header h2 {
    font-size: 24px;
  }

  .mobile-more-sheet > div {
    gap: 8px;
    padding: 9px;
  }

  .mobile-more-sheet > div > button {
    min-height: 88px;
  }

  .mobile-more-sheet > div > button strong {
    font-size: 14px;
  }

  .mobile-more-sheet > div > button small {
    font-size: 11px;
    line-height: 1.35;
  }

  .mobile-more-sheet > div > button > b {
    font-size: 13px;
  }

  /* Pair screen sheet */
  .mobile-pair-panel > header span {
    font-size: 10px;
  }

  .mobile-pair-panel > header h2 {
    font-size: 27px;
  }

  .mobile-pair-panel > header p {
    font-size: 13px;
  }

  .pair-steps {
    min-height: 62px;
  }

  .pair-steps strong {
    font-size: 13px;
  }

  .pair-steps small {
    font-size: 11px;
  }

  .mobile-pair-panel > label {
    font-size: 13px;
  }

  .mobile-confirm-pair {
    min-height: 52px;
    font-size: 14px;
  }

  .mobile-pair-panel > small {
    font-size: 10px;
    line-height: 1.4;
  }

  /* Gym timetable and live operations */
  .settings-nav {
    display: flex !important;
    min-height: 58px;
    padding: 7px;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
  }

  .settings-nav button {
    min-width: max-content;
    min-height: 44px;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.2;
  }

  .operations-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .overview-operations-grid {
    grid-template-columns: 1fr;
  }

  .manual-schedule-state {
    font-size: 11px;
  }

  .overview-timeline article {
    min-height: 116px;
    grid-template-columns: 72px 14px minmax(0, 1fr);
  }

  .timeline-time strong,
  .timeline-class > strong {
    font-size: 14px;
  }

  .timeline-time span,
  .timeline-class > div span,
  .timeline-class > div b,
  .timeline-screen span {
    font-size: 10px;
  }

  .timeline-class > small {
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
  }

  .timeline-screen button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .timetable-overview-footer span,
  .timetable-overview-footer button {
    font-size: 12px;
    line-height: 1.4;
  }

  .live-floor-card article {
    min-height: 84px;
  }

  .live-floor-card article span,
  .live-floor-card article small,
  .live-floor-card article > b {
    font-size: 11px;
  }

  .live-floor-card article strong,
  .overview-actions-card > button strong,
  .schedule-rules-card strong {
    font-size: 14px;
  }

  .overview-actions-card > button {
    min-height: 76px;
  }

  .overview-actions-card > button small,
  .schedule-rules-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  .timetable-setup-card p {
    font-size: 13px;
    line-height: 1.5;
  }

  .timetable-setup-stats small,
  .timetable-time b {
    font-size: 10px;
  }

  .timetable-setup-stats strong,
  .timetable-day-tabs button span,
  .timetable-day-tabs button b {
    font-size: 12px;
  }

  .timetable-day-tabs button {
    min-width: 76px;
    min-height: 54px;
  }

  .timetable-list article {
    min-height: 180px;
  }

  .timetable-time strong,
  .timetable-session strong,
  .timetable-coach strong {
    font-size: 15px;
  }

  .timetable-time small,
  .timetable-space small,
  .timetable-session span,
  .timetable-coach small,
  .timetable-space span {
    font-size: 12px;
    line-height: 1.35;
  }

  .timetable-actions button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px;
  }

  .timetable-rules-grid strong {
    font-size: 14px;
  }

  .timetable-rules-grid p {
    font-size: 12px;
    line-height: 1.45;
  }

  .timetable-editor-panel > header h2 {
    font-size: 26px;
  }

  .timetable-editor-panel > header p,
  .timetable-editor-grid label,
  .timetable-editor-panel > footer span {
    font-size: 13px;
    line-height: 1.4;
  }

  .timetable-editor-grid input,
  .timetable-editor-grid select {
    min-height: 50px;
    font-size: 16px;
  }

  .timetable-editor-panel > footer button {
    min-height: 50px;
    font-size: 13px;
  }
}
