/* GIMI Chef v3.50 — phone-only planner button size correction.
   The earlier flex: 1 1 210px became a VERTICAL flex-basis when
   the Planner changed to a column on small screens. Keep actions compact. */
@media screen and (max-width: 650px) {
  #gimiPlannerV48Tools {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 10px 0 14px !important;
  }
  #gimiPlannerV48Tools > button,
  #gimiPlannerV48Tools > button.secondary {
    display: flex !important;
    flex: none !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 52px !important;
    max-height: 76px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }
  #gimiPlannerV48Tools .gimi-planner-shopping-tip {
    grid-column: 1 / -1 !important;
    flex-basis: auto !important;
    margin: 2px 1px 0 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}
