/*
   Plantafel-Woche am Handy (Seitenprüfung #3524, 17.11.2026): Bei einer Tafel unter 460 px (Handy) ist eine Tagesspalte etwa 60 px breit. Die Box hielt
   rechts 36 px für ⋯ frei, für Nummer und Titel blieben 8 px, und der Text brach Buchstabe für Buchstabe um. Hier liegt ⋯ unter der Box
   wie im schmalen Tageskopf, die Box nutzt die ganze Spaltenbreite. Ab 460 px (Tablet quer neben «Zu planen», Spalte ab 100 px) bleibt ⋯ rechts. Gilt nur mit mehr als einem Tag (Woche); der Tag am Handy ist breit genug.
*/
@container plan-tafel (max-width: 459px) {
    .plan__table:has(.plan__dayhead + .plan__dayhead) .plan__tilebox > .plan__tile.plan__tile {
        padding-right: 5px;
        padding-left: 5px;
    }

    .plan__table:has(.plan__dayhead + .plan__dayhead) .plan__tilebox:has(.plan-mehr) {
        padding-bottom: var(--mes-knopf-tipp, 32px);
    }

    .plan__table:has(.plan__dayhead + .plan__dayhead) .plan__tilebox .plan-mehr.plan-mehr {
        top: auto;
        bottom: 0;
        right: calc(50% - var(--mes-knopf-tipp, 32px) / 2);
    }

    /* Die Nummer endet mit «…» wie in der gearbeiteten Zeit, statt am Rand abgeschnitten zu werden */
    .plan__table:has(.plan__dayhead + .plan__dayhead) .plan__tilebox .plan__tile-number.plan__tile-number {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
