/* IlluminateWhalePlanFit.v1 — whale-plan schedule fits container (Kobi clip 2026-09-22)
 * Problem: 3-col table squeezes daytime strings → mid-word clip / ellipsis look.
 * Fix: kill inherited ellipsis/nowrap on cells; allow wrap; give daytime col room;
 * slightly tighter type; keep H-scroll as fallback without hiding text.
 */
@layer legacy {
  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table-wrap,
  .theme-preview .whale-plan__table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table,
  .theme-preview .whale-plan__table {
    width: 100% !important;
    min-width: 42rem !important;
    table-layout: auto !important;
  }

  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table th,
  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table td,
  .theme-preview .whale-plan__table th,
  .theme-preview .whale-plan__table td {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    max-width: none !important;
    vertical-align: top !important;
  }

  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table th:nth-child(2),
  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table td:nth-child(2),
  .theme-preview .whale-plan__table th:nth-child(2),
  .theme-preview .whale-plan__table td:nth-child(2) {
    min-width: 16rem !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table th:nth-child(1),
  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table td:nth-child(1),
  .theme-preview .whale-plan__table th:nth-child(1),
  .theme-preview .whale-plan__table td:nth-child(1) {
    min-width: 8.5rem !important;
  }

  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table th:nth-child(3),
  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__table td:nth-child(3),
  .theme-preview .whale-plan__table th:nth-child(3),
  .theme-preview .whale-plan__table td:nth-child(3) {
    min-width: 7.5rem !important;
    white-space: nowrap !important;
  }

  [data-website-id="web_85b8192b-d816-469f-a4a6-be3227ba3985"] .whale-plan__badge,
  .theme-preview .whale-plan__badge {
    white-space: nowrap !important;
    display: inline-block !important;
    margin: .25rem 0 0 !important;
    margin-left: 0 !important;
  }
}
