/* RoterVia 2.1.1: proporções do painel em telas pequenas. */
@media (max-width: 600px) {
  .content { padding: 0 14px 20px; }
  .top { height: auto; min-height: 58px; margin-bottom: 16px; gap: 10px; padding: 8px 0; flex-wrap: wrap; }
  .top .breadcrumb { font-size: 12px; gap: 6px; }
  .sync { font-size: 11px; }
  .sync .icon { width: 14px; height: 14px; }
  .workspace-welcome { margin-bottom: 16px; }
  .workspace-welcome h1 { font-size: 23px; line-height: 1.22; max-width: none; margin: 6px 0 8px; }
  .workspace-welcome p { font-size: 14px; line-height: 1.5; max-width: none; }
  .workspace-welcome .eyebrow { font-size: 10px; margin-bottom: 6px; }
  .welcome-action { margin-top: 12px; }
  .welcome-action > button { min-height: 44px; padding: 11px 14px; font-size: 14px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
  .stats .metric { min-height: 80px !important; padding: 12px 10px; grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; row-gap: 3px; border-radius: 11px; }
  .stats .metric > .metric-icon { width: 26px; height: 28px; border-radius: 8px; }
  .stats .metric-icon > .icon { width: 16px; height: 16px; }
  .stats .metric > small { font-size: 11px; line-height: 1.35; margin: 0; max-width: none; overflow-wrap: anywhere; }
  .stats .metric > strong { font-size: 24px; line-height: 1.15; margin: 0; }
  .stats .metric > strong:has(+ .metric-note) { font-size: 24px; }
  .stats .metric-note { font-size: 11px; line-height: 1.4; margin-top: 2px; }
  .panel { padding: 16px 14px; margin-bottom: 14px; }
  .section-heading { margin-bottom: 12px; gap: 10px; }
  .section-heading h2 { font-size: 17px; line-height: 1.35; }
  .section-heading p { font-size: 13px; line-height: 1.5; }
  .section-heading > button { min-height: 44px; font-size: 12px; padding: 9px 11px; }
  .operation-layout { gap: 14px; }
  .operation-side { gap: 12px; }
  .operation-side .panel { padding: 16px; margin-bottom: 0; }
  .operation-side .section-heading { margin-bottom: 10px; }
  .operation-side .section-heading h2 { font-size: 17px; }
  .operation-side .metric-icon { width: 28px; height: 28px; }
  .operation-side .metric-icon .icon { width: 17px; height: 17px; }
  .operation-side p { font-size: 14px; line-height: 1.5; margin: 8px 0 12px; }
  .operation-side .compact-empty { font-size: 14px; line-height: 1.5; padding: 6px 0; }
  .team-card .section-heading > button { min-height: 44px; font-size: 12px; padding: 9px 10px; }
  .territory-card button { min-height: 44px; font-size: 14px; }
  .territory-name { font-size: 19px; }
  .deliveries-panel { padding: 16px 14px 0; }
  .delivery-grid { margin-top: 12px; }
  .delivery-search input { font-size: 16px; min-height: 44px; }
  .stage-tabs { gap: 6px; }
  .stage-tabs button { min-height: 44px; font-size: 12px; white-space: normal; text-align: left; line-height: 1.35; padding: 8px; }
  .stage-tabs .tab-count { flex-shrink: 0; }
  .deliveries-panel .empty { padding: 22px 10px; }
  .deliveries-panel .empty h3 { font-size: 16px; }
  .deliveries-panel .empty p { font-size: 14px; line-height: 1.5; }
  .deliveries-panel .empty > .icon { width: 28px; height: 28px; margin-bottom: 8px; }
  .stage-explainer { font-size: 12px; line-height: 1.5; }
  .footer { font-size: 12px; line-height: 1.5; margin-top: 18px; padding-top: 14px; gap: 10px; }
}
