/* Meals: the styles every page of Meals loads (css/meals.css): the links, the families, choosing, the kitchen. Split from styles.css. */

/* The colours and the small signs of the staff pages (.lom-st-*), on every page of Meals: the private links use them
   too (the counter, the family, the kitchen, the commission). Moodle puts path-local-oksigeniameals on every page of
   the plugin. They stay in this sheet, not in staff.css. */

body.path-local-oksigeniameals,
body.local-oksigeniameals-staffpage,
.local-oksigeniameals-staffcards {
    --lom-st-ink: var(--bs-body-color, #1d2125);
    --lom-st-text: var(--bs-body-color, #3b4752);
    --lom-st-muted: var(--bs-secondary-color, #5f6b76);
    --lom-st-line: var(--bs-border-color, #dee2e6);
    --lom-st-soft: var(--bs-secondary-bg, #eef0f3);
    --lom-st-raise: var(--bs-tertiary-bg, #f7f8fa);
    --lom-st-card: var(--bs-body-bg, #fff);
    --lom-st-accent: var(--bs-primary, #2563a8);
    --lom-st-accentsoft: var(--bs-primary-bg-subtle, #e8f0fa);
    --lom-st-accentink: var(--bs-primary-text-emphasis, #12457f);
    --lom-st-warn: var(--bs-warning-text-emphasis, #8a5a00);
    --lom-st-bad: var(--bs-danger-text-emphasis, #a12622);
}

body.path-local-oksigeniameals,
body.local-oksigeniameals-staffpage,
.local-oksigeniameals-staffcards {
    --lom-st-g-edit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l.6-4L15 5.6a2 2 0 0 1 2.8 0l.6.6a2 2 0 0 1 0 2.8L8 19.4z'/%3E%3Cpath d='M13.5 7.1l3.4 3.4'/%3E%3C/svg%3E");
    --lom-st-g-go: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    --lom-st-g-add: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    --lom-st-g-remove: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
    --lom-st-g-download: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
    --lom-st-g-undo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14L4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E");
    --lom-st-g-paste: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='3' width='8' height='4' rx='1'/%3E%3Cpath d='M8 5H6a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2'/%3E%3C/svg%3E");
    --lom-st-g-when: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='14' rx='2'/%3E%3Cpath d='M4 10h16M8 4v4M16 4v4'/%3E%3C/svg%3E");
    --lom-st-g-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M15.5 15.5L20 20'/%3E%3C/svg%3E");
    --lom-st-g-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --lom-st-g-warn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l9 16H3z'/%3E%3Cpath d='M12 10v4.5M12 17.2v.1'/%3E%3C/svg%3E");
    --lom-st-g-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    --lom-st-g-delete: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14M10 7V5h4v2M7 7l1 13h8l1-13'/%3E%3C/svg%3E");
    /* A whisper of the accent for the tiles of the drawings, and a raised surface that is not the page itself. */
    --lom-st-tile: var(--lom-st-raise);
    --lom-st-tile: color-mix(in srgb, var(--lom-st-accent) 7%, var(--lom-st-card));
    --lom-st-well: var(--lom-st-raise);
    --lom-st-well: color-mix(in srgb, var(--lom-st-ink) 4%, var(--lom-st-card));
    --lom-st-link: var(--bs-link-color, #0f6cbf);
}

body.path-local-oksigeniameals,
body.local-oksigeniameals-staffpage,
.local-oksigeniameals-staffcards {
    --lom-st-g-prev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E");
    --lom-st-g-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
    --lom-st-g-print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9V4h10v5'/%3E%3Crect x='4' y='9' width='16' height='8' rx='2'/%3E%3Cpath d='M7 14h10v6H7z'/%3E%3C/svg%3E");
    --lom-st-g-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E");
}

/* In dark mode the words of a pill take the theme's link colour a little lighter. */

[data-bs-theme="dark"] body.path-local-oksigeniameals,
body.path-local-oksigeniameals[data-bs-theme="dark"],
[data-bs-theme="dark"] body.local-oksigeniameals-staffpage,
body.local-oksigeniameals-staffpage[data-bs-theme="dark"],
[data-bs-theme="dark"] .local-oksigeniameals-staffcards {
    --lom-st-link: color-mix(in srgb, var(--bs-link-color, #7baedc) 80%, #fff);
}

.local-oksigeniameals-kid .lom-cards {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.local-oksigeniameals-kid .lom-card {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    width: 100%;
    padding: .75rem .9rem;
    border: 3px solid var(--lom-line);
    border-radius: 1.25rem;
    background: var(--lom-card);
    color: var(--lom-ink);
    text-align: start;
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-card:focus-visible {
    border-color: var(--lom-color);
}

@media (hover: hover) {
    .local-oksigeniameals-kid .lom-card:hover {
        border-color: var(--lom-color);
    }
}

.local-oksigeniameals-kid .lom-card.lom-selected {
    border-color: var(--lom-color);
    background: var(--lom-tint);
}

.local-oksigeniameals-kid .lom-card.lom-static {
    cursor: default;
}

/* Nothing chosen that day: the card of the menu that comes then, dashed in its colour and saying so. */

.local-oksigeniameals-kid .lom-card.lom-isdefault {
    border-style: dashed;
    border-color: var(--lom-color);
}

/* The cards of a day side by side, so the day fits at a glance: two by two (three with three, five or more menus);
   on a phone, two at most. The letter and the name head each card, the dishes under them, the tick in its corner. */

.local-oksigeniameals-kid .lom-cards.lom-cardgrid {
    display: grid;
    grid-template-columns: repeat(var(--lom-cols, 2), minmax(0, 1fr));
    gap: .6rem;
}

@media (max-width: 36rem) {
    .local-oksigeniameals-kid .lom-cards.lom-cardgrid.lom-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.local-oksigeniameals-kid .lom-cardgrid .lom-ficha-ancla {
    display: flex;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: .45rem .55rem;
    height: 100%;
    padding: .7rem .75rem 2.5rem;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-cardbody {
    display: contents;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-letter {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.5rem;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-cardname {
    align-self: center;
    font-size: 1rem;
    line-height: 1.2;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-ficha-ancla > .lom-card .lom-cardname {
    padding-inline-end: 2.2rem;
}

/* Two cards side by side on a phone: a long name goes on a line of its own, whole, under the letter and the button of its card. */

@media (max-width: 575.98px) {
    .local-oksigeniameals-kid .lom-cardgrid .lom-ficha-ancla > .lom-card .lom-cardname {
        grid-column: 1 / -1;
        padding-inline-end: 0;
    }
}

.local-oksigeniameals-kid .lom-cardgrid .lom-dish,
.local-oksigeniameals-kid .lom-cardgrid .lom-defaultnote {
    grid-column: 1 / -1;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-dish {
    font-size: .95rem;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-card .lom-cardside,
.local-oksigeniameals-kid .lom-cardgrid .lom-ficha-ancla > .lom-card .lom-cardside {
    position: absolute;
    inset-inline-end: .6rem;
    bottom: .55rem;
    padding-top: 0;
}

.local-oksigeniameals-kid .lom-cardgrid .lom-bigfood {
    display: none;
}

/* Big drawings in the grid of cards: the main course large in the middle of the card, the tick in its corner. */

.local-oksigeniameals-kid.lom-bigmode .lom-cardgrid .lom-bigfood {
    display: block;
    width: 5.5rem;
    height: 5.5rem;
    margin: .25rem auto 0;
}

.local-oksigeniameals-kid.lom-bigmode .lom-cardgrid .lom-card .lom-cardside,
.local-oksigeniameals-kid.lom-bigmode .lom-cardgrid .lom-ficha-ancla > .lom-card .lom-cardside {
    position: static;
    grid-column: 1 / -1;
    justify-self: stretch;
    align-items: center;
}

.local-oksigeniameals-kid .lom-letter {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: .9rem;
    background: var(--lom-color);
    color: #fff;
    font-size: 1.75rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-cardbody {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .3rem;
    min-width: 0;
}

.local-oksigeniameals-kid .lom-cardname {
    font-size: 1.1rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-dish {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: 1rem;
    line-height: 1.3;
}

.local-oksigeniameals-kid .lom-dish svg {
    flex: none;
    margin-top: .1rem;
    color: var(--lom-muted);
}

.local-oksigeniameals-kid .lom-dish-big {
    font-size: 1.15rem;
}

/* Every fold of the pages for diners and links: a chevron that turns, not the triangle of the browser. */

.local-oksigeniameals-kid :is(.lom-fold, .lom-group, .lom-allergenkey, .lom-noticefold, .lom-counterqr) > summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    list-style: none;
}

.local-oksigeniameals-kid :is(.lom-fold, .lom-group, .lom-allergenkey, .lom-noticefold, .lom-counterqr) > summary::-webkit-details-marker {
    display: none;
}

.local-oksigeniameals-kid :is(.lom-fold, .lom-group, .lom-allergenkey, .lom-noticefold, .lom-counterqr) > summary::before {
    content: "";
    flex: none;
    width: .55rem;
    height: .55rem;
    border-inline-end: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s ease;
}

.local-oksigeniameals-kid :is(.lom-fold, .lom-group, .lom-allergenkey, .lom-noticefold, .lom-counterqr)[open] > summary::before {
    transform: translateY(-.15rem) rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
    .local-oksigeniameals-kid :is(.lom-fold, .lom-group, .lom-allergenkey, .lom-noticefold, .lom-counterqr) > summary::before {
        transition: none;
    }
}

@media (hover: hover) and (min-width: 768px) {
    .local-oksigeniameals-kid .lom-cellbacktray .lom-cen-badge,
    .local-oksigeniameals-kid .lom-cellbacktray .lom-cen-letter {
        display: none;
    }
}

.local-oksigeniameals-poster .lom-posterband .lom-food {
    width: 2.3em;
    height: 2.3em;
}

/* Drawings of the dishes: the main course large at the side of each card, the marks of the menu next to its name. */

.local-oksigeniameals-kid .lom-cardside {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: stretch;
    gap: .5rem;
}

.local-oksigeniameals-kid .lom-dish .lom-food {
    color: var(--lom-color, var(--lom-muted));
}

.local-oksigeniameals-kid .lom-option .lom-food,
.local-oksigeniameals-kid .lom-fixed .lom-food,
.local-oksigeniameals-kid .lom-nextday .lom-bigfood {
    flex: none;
    margin-inline-start: auto;
    color: var(--lom-color);
}

.local-oksigeniameals-kid .lom-kadapting .local-oksigeniameals-chip {
    outline: 3px solid #c2410c;
    outline-offset: 2px;
}

.local-oksigeniameals-kid .lom-klist .lom-food {
    flex: none;
    color: var(--lom-color, var(--lom-muted));
}

.local-oksigeniameals-kid .lom-kdiets .lom-food {
    color: var(--bs-warning-text-emphasis, #c2410c);
}

/* Allergens: a row of marks next to each dish, with their names in the key below. */

.local-oksigeniameals-kid .lom-allergens,
.local-oksigeniameals-card .lom-allergens,
.lom-editallergens .lom-allergens {
    display: inline-flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: .15rem;
    vertical-align: -.2rem;
    color: var(--bs-body-color, #374151);
}

.local-oksigeniameals-kid .lom-allergenkey {
    margin-top: .5rem;
    font-size: .95rem;
}

.local-oksigeniameals-kid .lom-allergenkey summary {
    min-height: 2.75rem;
    color: var(--lom-ink);
    font-weight: 700;
    line-height: 2.75rem;
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-allergenkey ul,
.local-oksigeniameals-allergenkey {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: .4rem .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-allergenkey li {
    display: flex;
    gap: .4rem;
    align-items: center;
}

.local-oksigeniameals-kid .lom-allergen.lom-conflict,
.local-oksigeniameals-card .lom-allergen.lom-conflict {
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

.local-oksigeniameals-kid .lom-conflictnote,
.local-oksigeniameals-card .lom-conflictnote {
    font-size: .85rem;
    font-weight: 800;
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

/* A dish whose allergens the kitchen has not told yet, where families and diners read it: in words, never as none. */
span.lom-allergens.lom-tobeconfirmed {
    display: inline-block;
    font-size: .8em;
    font-weight: 700;
    color: var(--bs-warning-text-emphasis, #92400e);
    white-space: nowrap;
}

.lom-editallergens .lom-allergensunknown {
    color: var(--bs-warning-text-emphasis, #92400e);
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-kconflict .lom-allergen {
    vertical-align: -.25rem;
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

.local-oksigeniameals-board li .lom-food {
    flex: none;
    width: 1.6em;
    height: 1.6em;
    color: var(--lom-color);
}

.local-oksigeniameals-board .lom-boardallergens .lom-allergen {
    width: 1.1em;
    height: 1.1em;
}

.local-oksigeniameals-board .lom-allergens {
    display: inline-flex;
    gap: .2em;
}

.local-oksigeniameals-board .lom-boardkey .lom-allergen {
    width: 1.3em;
    height: 1.3em;
    vertical-align: -.3em;
}

/* In the strip of diets the allergens come without the board's own wrapper: their size here, or they take the 36 px of
   the drawing. */

.local-oksigeniameals-board .lom-boardother .lom-allergen {
    width: 1em;
    height: 1em;
    vertical-align: -.15em;
}

/* On the canteen's television the chip takes the board's own ink and line, a little bigger. */

.local-oksigeniameals-board .lom-tech {
    gap: .25em;
    margin-inline-start: .3em;
    padding: .08em .5em .08em .35em;
    border-color: var(--lom-boardline);
    background: transparent;
    color: inherit;
    font-size: .52em;
    vertical-align: .25em;
}

.local-oksigeniameals-board .lom-boardtray .lom-cen-svg {
    max-height: 17vh;
}

.local-oksigeniameals-board .lom-boardtray .lom-cen-badge {
    fill: var(--lom-boardcard);
}

.local-oksigeniameals-board .lom-boarddish .lom-tech {
    margin-inline-start: 0;
    font-size: .56em;
    vertical-align: 0;
}

.local-oksigeniameals-board .lom-boardallergens .lom-allergen {
    width: .85em;
    height: .85em;
}

.local-oksigeniameals-board .lom-boardother .lom-boardallergens .lom-allergen {
    width: 1em;
    height: 1em;
}

/* With the tray above it, a dish's own drawing would say it twice: on the board, the tray shows the food, and the
   dishes take a little less room so that the day, the diets and the key all fit on one screen. */

.local-oksigeniameals-board .lom-boardmenu.lom-withtray li > .lom-food {
    display: none;
}

.local-oksigeniameals-board.lom-boardmany .lom-boardmenu.lom-withtray li > .lom-food {
    display: inline-block;
}

/* In the timetable the diet's chip is the height of its line, not of a card's title. */

.local-oksigeniameals-board.lom-boardmany .lom-boardothers .local-oksigeniameals-chip {
    height: 1.35em;
    min-width: 1.6em;
    font-size: .9em;
}

/* Meals: «See the file» beside the cards that choose. Its corner is the one of the tick of the chosen menu, which goes
   down under it; on a dish to pick, the button sits in the middle, after the drawing. */

.local-oksigeniameals-kid .lom-ficha-ancla > .lom-card .lom-cardside {
    padding-top: 2.9rem;
}

.local-oksigeniameals-kid .lom-ficha-ancla > .lom-option {
    padding-inline-end: 3.6rem;
}

.local-oksigeniameals-kid .lom-fixed.lom-ficha-ancla {
    padding-inline-end: 3.6rem;
}

.local-oksigeniameals-kid .lom-ficha-ancla > .lom-option + .lom-ficha-ver,
.local-oksigeniameals-kid .lom-fixed.lom-ficha-ancla > .lom-ficha-ver {
    top: 50%;
    transform: translateY(-50%);
}

/* A mark (vegetarian, gluten free…) inside a title that wraps keeps its size instead of giving its width to the words. */

.lom-boardname .lom-mark,
.lom-cardname .lom-mark {
    flex: none;
}

.local-oksigeniameals-kid .lom-card:disabled {
    cursor: not-allowed;
}

.local-oksigeniameals-kid .lom-card:disabled:not(.lom-selected) {
    opacity: .5;
    filter: grayscale(.35);
}

/* In dark mode a drawing in the colour of a menu goes a little lighter, to stay readable with the darker menus. */

[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-bigfood,
[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-nextday .lom-bigfood,
[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-nextentry .lom-bigfood,
[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-dish .lom-food,
[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-option .lom-food,
[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-fixed .lom-food,
[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-klist .lom-food,
[data-bs-theme="dark"] .local-oksigeniameals-card .lom-carddishes .lom-food,
[data-bs-theme="dark"] .lom-dinneridea svg {
    color: color-mix(in srgb, var(--lom-color, currentColor) 75%, #fff);
}

.lom-tg-day.is-past .local-oksigeniameals-chip {
    opacity: .7;
}

.lom-familynotices .lom-quiet {
    flex: none;
}

.lom-familynotices .lom-quiet {
    min-height: 44px;
}

@supports not (color: color-mix(in srgb, red 50%, blue)) {
    [data-bs-theme="dark"] .local-oksigeniameals-card .lom-cardtray,
    .local-oksigeniameals-board.lom-dark .lom-boardtray {
        --lom-cen-mc: var(--lom-color);
    }
}

/* The eight cuts, each with its own family: the screen never asks a variable font for a width or an optical size.
   Change the path to the one the plugin serves them from. */

@font-face { font-family: "Bodoni Texto"; src: url("../fonts/bodoni-texto.woff2") format("woff2"); font-weight: 400; font-display: swap; }

@font-face { font-family: "Bodoni Texto"; src: url("../fonts/bodoni-texto-negrita.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

@font-face { font-family: "Bodoni Texto"; src: url("../fonts/bodoni-cursiva.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

@font-face { font-family: "Bodoni Texto"; src: url("../fonts/bodoni-cursiva-negrita.woff2") format("woff2"); font-style: italic; font-weight: 600 700; font-display: swap; }

@font-face { font-family: "Bodoni Titulo"; src: url("../fonts/bodoni-titulo.woff2") format("woff2"); font-weight: 500; font-display: swap; }

@font-face { font-family: "Archivo Tabla"; src: url("../fonts/archivo-tabla.woff2") format("woff2"); font-weight: 400; font-display: swap; }

@font-face { font-family: "Archivo Tabla"; src: url("../fonts/archivo-tabla-negrita.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

@font-face { font-family: "Archivo Rotulo"; src: url("../fonts/archivo-rotulo.woff2") format("woff2"); font-weight: 600; font-display: swap; }

@media print {
    html:has(body.lom-pv-body), body.lom-pv-body, body.lom-pv-body #page, body.lom-pv-body #page-content, body.lom-pv-body #region-main { background: #fff; }

    /* On the root and not on the paper: a named page on an inner box starts a sheet of its own and leaves the first one blank. */

    html:has(body.lom-pv-body), body.lom-pv-body { page: lom-pv-hoja; }
}

@media (prefers-reduced-motion: no-preference) {
    .lom-quiet,
    .local-oksigeniameals-kid .lom-link,
    .lom-noticeundo,
    .lom-tg-all {
        transition: background-color .15s ease, border-color .15s ease;
    }
}

/* The allergen drawings of the families, readable: 20 px and quiet grey; the ones that clash with a diet, red as ever. */

.local-oksigeniameals-kid .lom-allergens > svg,
.local-oksigeniameals-card .lom-allergens > svg {
    width: 20px;
    height: 20px;
}

.local-oksigeniameals-kid .lom-allergens,
.local-oksigeniameals-card .lom-allergens {
    color: var(--lom-st-muted, var(--bs-secondary-color, #5b6472));
}

@media (forced-colors: active) {
    .local-oksigeniameals-kid .lom-cell.lom-chosen,
    .local-oksigeniameals-kid .lom-card.lom-selected,
    .lom-soption:has(input:checked) {
        border: 3px solid Highlight;
        forced-color-adjust: none;
        background: Canvas;
        color: CanvasText;
    }
}

/* The tray of a menu on the screen of whoever does not choose, beside its dishes. */

.local-oksigeniameals-kid .lom-cardside.lom-cardsidetray {
    flex: 0 0 9rem;
    align-self: center;
}

.local-oksigeniameals-kid .lom-cardsidetray .lom-cen-puesto {
    margin: 0;
}

.local-oksigeniameals-kid .lom-cardsidetray .lom-cen-puesto figcaption {
    display: none;
}

@media (max-width: 575.98px) {
    .local-oksigeniameals-kid .lom-cardside.lom-cardsidetray {
        flex-basis: 6.5rem;
    }
}

/* Pages for diners: big targets, one idea per screen, every menu with its colour and its letter written. */

.local-oksigeniameals-kid {
    --lom-ink: var(--bs-body-color, #17212b);
    --lom-muted: var(--bs-secondary-color, #3b4752);
    --lom-line: var(--bs-border-color, #dde3ea);
    --lom-line-strong: var(--bs-border-color, #c9d2dc);
    --lom-card: var(--bs-body-bg, #fff);
    --lom-blue: #2563a8;
    --lom-green: #2f7d46;
    max-width: 34rem;
    margin: 0 auto;
    color: var(--lom-ink);
}

.local-oksigeniameals-kid .lom-join,
.local-oksigeniameals-kid .lom-day,
.local-oksigeniameals-kid .lom-month,
.local-oksigeniameals-kid .lom-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: .5rem 0 1.5rem;
}

.local-oksigeniameals-kid .lom-join {
    justify-content: center;
    gap: 1.5rem;
    min-height: 60vh;
}

.local-oksigeniameals-kid .lom-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.local-oksigeniameals-kid .lom-join .lom-title {
    text-align: center;
}

.local-oksigeniameals-kid .lom-joinhead {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
}

.local-oksigeniameals-kid .lom-sitelogo {
    max-width: 70%;
    max-height: 4rem;
    object-fit: contain;
}

/* A logo is drawn for a light page, like the emails: on a dark one it keeps a light plate of its own, not pure white. */

[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-sitelogo {
    padding: .5rem .75rem;
    border-radius: .75rem;
    background: #f3f6fa;
}

.local-oksigeniameals-kid .lom-sitename {
    margin: 0;
    color: var(--lom-muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.local-oksigeniameals-kid .lom-subtitle {
    margin: .5rem 0 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-hero {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9rem;
    height: 9rem;
    border: 2px solid var(--lom-line);
    border-radius: 50%;
    background: var(--lom-card);
    color: var(--lom-blue);
}

.local-oksigeniameals-kid .lom-hero-home {
    color: var(--bs-warning-text-emphasis, #b9541a);
}

.local-oksigeniameals-kid .lom-stack {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.local-oksigeniameals-kid .lom-big {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.75rem;
    padding: .5rem 1rem;
    border-radius: 1.25rem;
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-primary {
    border: 0;
    background: var(--lom-blue);
    color: #fff;
}

.local-oksigeniameals-kid .lom-primary:focus {
    background: #1d4f8c;
    color: #fff;
}

@media (hover: hover) {
    .local-oksigeniameals-kid .lom-primary:hover {
        background: #1d4f8c;
        color: #fff;
    }
}

.local-oksigeniameals-kid .lom-secondary {
    border: 2px solid var(--lom-line-strong);
    background: var(--lom-card);
    color: var(--lom-ink);
}

.local-oksigeniameals-kid .lom-secondary:focus {
    border-color: var(--lom-muted);
    color: var(--lom-ink);
}

@media (hover: hover) {
    .local-oksigeniameals-kid .lom-secondary:hover {
        border-color: var(--lom-muted);
        color: var(--lom-ink);
    }
}

.local-oksigeniameals-kid .lom-link {
    min-height: 3rem;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--bs-primary-text-emphasis, #1d4f8c);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-note,
.local-oksigeniameals-kid .lom-position {
    margin: 0;
    color: var(--lom-muted);
    text-align: center;
}

.local-oksigeniameals-kid .lom-position {
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-notice {
    padding: .75rem 1rem;
    border: 1px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--lom-card);
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-daybar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.local-oksigeniameals-kid .lom-daytitle {
    text-align: center;
}

/* The kitchen reads the day from a step away. */

.local-oksigeniameals-kid.lom-staffwide .lom-daytitle strong {
    font-size: clamp(1.35rem, 5vw, 2rem);
    line-height: 1.15;
}

.local-oksigeniameals-kid .lom-round {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border: 2px solid var(--lom-line);
    border-radius: 50%;
    background: var(--lom-card);
    color: var(--lom-ink);
}

.local-oksigeniameals-kid .lom-round.lom-off {
    opacity: .35;
}

.local-oksigeniameals-kid .lom-progress {
    height: .6rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--lom-line);
}

.local-oksigeniameals-kid .lom-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--lom-green);
}

.local-oksigeniameals-kid .lom-defaultnote {
    color: var(--lom-color);
    font-size: .85rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-tag {
    display: inline-block;
    padding: .1rem .55rem;
    border-radius: 999px;
    background: var(--lom-tint);
    color: var(--lom-color);
    font-size: .8rem;
}

.local-oksigeniameals-kid .lom-check {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--lom-color);
    color: #fff;
}

.local-oksigeniameals-kid .lom-count {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-count .lom-progress {
    flex: 1;
}

.local-oksigeniameals-kid .lom-grid {
    display: grid;
    grid-template-columns: repeat(var(--lom-columns, 5), minmax(0, 1fr));
    gap: .5rem;
}

.local-oksigeniameals-kid .lom-wd {
    color: var(--lom-muted);
    font-size: .85rem;
    font-weight: 800;
    text-align: center;
}

.local-oksigeniameals-kid .lom-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 4rem;
    border: 2px dashed #a7b3bf;
    border-radius: 1rem;
    background: var(--lom-card);
    color: var(--bs-secondary-color, #5e6b78);
    text-decoration: none;
}

.local-oksigeniameals-kid .lom-cell.lom-chosen {
    border: 2px solid var(--lom-color);
    background: var(--lom-color);
    color: #fff;
}

.local-oksigeniameals-kid .lom-cell.lom-blank {
    visibility: hidden;
}

.local-oksigeniameals-kid a.lom-cell:focus {
    outline: 3px solid var(--lom-ink);
    outline-offset: 2px;
}

@media (hover: hover) {
    .local-oksigeniameals-kid a.lom-cell:hover {
        outline: 3px solid var(--lom-ink);
        outline-offset: 2px;
    }
}

.local-oksigeniameals-kid .lom-num {
    font-size: .8rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-cellletter {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.local-oksigeniameals-kid .lom-info {
    margin: 0;
    padding: .65rem .8rem;
    border: 1px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--lom-card);
}

.local-oksigeniameals-kid .lom-forget {
    text-align: center;
}

.local-oksigeniameals-kid .lom-saved {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    color: var(--lom-green);
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-nextlist {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-fold > summary {
    padding: .5rem 0;
    color: var(--lom-ink);
    font-weight: 700;
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-fold[open] > summary {
    margin-bottom: .5rem;
}

.local-oksigeniameals-kid .lom-showqr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
}

.local-oksigeniameals-kid .lom-showqr .lom-qr {
    width: min(14rem, 70vw);
    height: auto;
}

.local-oksigeniameals-kid .lom-nextday {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .6rem .75rem;
    border: 1px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--lom-card);
}

.local-oksigeniameals-kid .lom-minibadge {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: .6rem;
    background: var(--lom-color);
    color: #fff;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-inline + .lom-inline::before {
    content: " · ";
}

.local-oksigeniameals-kid .lom-daylink {
    color: var(--lom-ink);
    text-decoration: none;
}

.local-oksigeniameals-kid .lom-daylink:focus {
    border-color: var(--lom-color);
    color: var(--lom-ink);
}

@media (hover: hover) {
    .local-oksigeniameals-kid .lom-daylink:hover {
        border-color: var(--lom-color);
        color: var(--lom-ink);
    }
}

.local-oksigeniameals-kid .lom-daytext {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}

.local-oksigeniameals-kid .lom-daydishes,
.local-oksigeniameals-kid .lom-muted {
    color: var(--lom-muted);
}

/* The dishes of a day one under the other, each with how it is cooked and its allergens after it, as on the card of
   the dashboard: a child reads a dish per line, not a sentence of dots with labels in between. */

.local-oksigeniameals-kid .lom-daydishes {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.local-oksigeniameals-kid .lom-daydishes .lom-inline + .lom-inline::before {
    content: none;
}

.local-oksigeniameals-kid .lom-minibadge.lom-dashed {
    border: 2px dashed var(--lom-color);
    background: var(--lom-card);
    color: var(--lom-color);
}

/* The back of a day in the month: its menu and every dish. It turns over under the pointer (Enrique, 27 October 2026:
   «al pasar el ratón por un día, un giro con algo de información»), only on a screen with a pointer and room; on a
   phone a tap opens the day, so it never shows. With reduced motion it turns at once, without the spin. */

.local-oksigeniameals-kid .lom-cellfront {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.local-oksigeniameals-kid .lom-cellback {
    display: none;
}

@media (hover: hover) and (min-width: 768px) {
    .local-oksigeniameals-kid .lom-cell:has(.lom-cellback) {
        position: relative;
        transform-style: preserve-3d;
        transition: transform .5s cubic-bezier(.2, .7, .2, 1);
    }

    .local-oksigeniameals-kid .lom-cell:has(.lom-cellback):hover,
    .local-oksigeniameals-kid .lom-cell:has(.lom-cellback):focus-visible {
        transform: perspective(40rem) rotateY(180deg);
    }

    .local-oksigeniameals-kid .lom-cellfront,
    .local-oksigeniameals-kid .lom-cellback {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .local-oksigeniameals-kid .lom-cellback {
        position: absolute;
        inset: -2px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: .2rem;
        padding: .35rem .45rem;
        overflow: hidden;
        border-radius: inherit;
        background: var(--lom-color);
        color: #fff;
        font-size: .72rem;
        line-height: 1.2;
        text-align: center;
        transform: rotateY(180deg);
    }

    .local-oksigeniameals-kid .lom-cellback b {
        font-size: .72rem;
        line-height: 1.1;
    }

    /* The tray of the day drawn in white on the menu's colour, without the letter (the front has it), and the
       allergens of the day below it. */

    .local-oksigeniameals-kid .lom-cellbacktray {
        display: block;
        width: 64%;
        margin: 0 auto;
        color: #fff;
        --lom-cen-mc: #fff;
    }

    .local-oksigeniameals-kid .lom-cellbackall {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1px;
    }

    .local-oksigeniameals-kid .lom-cellbackall svg {
        width: 14px;
        height: 14px;
    }
}

@media (hover: hover) and (min-width: 768px) and (prefers-reduced-motion: reduce) {
    .local-oksigeniameals-kid .lom-cell:has(.lom-cellback) {
        transition: none;
    }
}

/* The main course inside each day, only where it fits. */

.local-oksigeniameals-kid .lom-celldish {
    display: none;
}

@media (min-width: 768px) {
    .local-oksigeniameals-kid.lom-wide {
        max-width: 48rem;
    }

    .local-oksigeniameals-kid .lom-cell {
        min-height: 6.5rem;
        padding: .35rem;
    }

    .local-oksigeniameals-kid .lom-celldish {
        display: -webkit-box;
        overflow: hidden;
        margin-top: .2rem;
        font-size: .75rem;
        line-height: 1.2;
        text-align: center;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

/* Dish by dish: for each part, the dish of every menu. */

.local-oksigeniameals-kid .lom-parts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.local-oksigeniameals-kid .lom-part {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.local-oksigeniameals-kid .lom-partname {
    float: none;
    width: auto;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-option {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 3.25rem;
    margin: 0;
    padding: .5rem .75rem;
    border: 3px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--lom-card);
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-option:has(.lom-radio:checked) {
    border-color: var(--lom-color);
    background: var(--lom-tint);
}

.local-oksigeniameals-kid .lom-option:has(.lom-radio:focus-visible) {
    outline: 3px solid var(--lom-ink);
    outline-offset: 2px;
}

.local-oksigeniameals-kid .lom-radio {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
    margin: 0;
    accent-color: var(--lom-color);
}

.local-oksigeniameals-kid .lom-optiontext {
    line-height: 1.3;
}

.local-oksigeniameals-kid .lom-nextmulti {
    flex-direction: column;
    gap: .4rem;
}

.local-oksigeniameals-kid .lom-nextentry {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

@media (prefers-reduced-motion: reduce) {
    @media (hover: hover) {
        .local-oksigeniameals-card.lom-hastray:hover {
            transform: none;
        }
    }
}

/* Pages opened with a private link. */

.local-oksigeniameals-kid .lom-pin {
    min-height: 3.75rem;
    border: 2px solid var(--lom-line-strong);
    border-radius: 1rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .4em;
    text-align: center;
}

.local-oksigeniameals-kid .lom-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.local-oksigeniameals-kid .lom-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .25rem 1rem;
    border: 2px solid var(--lom-line-strong);
    border-radius: 999px;
    background: var(--lom-card);
    color: var(--lom-ink);
    font-weight: 800;
    text-decoration: none;
}

.local-oksigeniameals-kid .lom-chip.lom-chipcurrent {
    border-color: var(--lom-blue);
    background: var(--lom-blue);
    color: #fff;
}

body.local-oksigeniameals-link #page {
    padding: 1rem;
}

/* What the centre asks the family to authorise: in its box, one row each, its deadline under it and the way to answer
   beside it. */

.local-oksigeniameals-kid .lom-consents {
    padding: .9rem 1rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-inline-start: 4px solid var(--bs-primary, #2563a8);
    border-radius: .75rem;
    background: var(--bs-body-bg, #fff);
}

.local-oksigeniameals-kid .lom-consents .lom-noticetitle {
    margin-top: 0;
}

.local-oksigeniameals-kid .lom-consentlist {
    display: grid;
    gap: .9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-consentlist li {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    align-items: center;
    justify-content: space-between;
}

.local-oksigeniameals-kid .lom-consenttext {
    min-width: 0;
    overflow-wrap: anywhere;
}

.local-oksigeniameals-kid .lom-consenttext b,
.local-oksigeniameals-kid .lom-consenttext small {
    display: block;
}

.local-oksigeniameals-kid .lom-consenttext small {
    color: var(--lom-muted, #5b6772);
    font-size: .875rem;
}

.local-oksigeniameals-kid .lom-dietnote {
    color: var(--lom-green);
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-dayuntil {
    color: var(--lom-muted, #5b6772);
    font-size: .9em;
    font-weight: 700;
}

/* The poster of the ordering link. Each copy sits in a cell that is a container, and every size goes in em of a
   font that is a fraction of the width of that cell: the poster is the same at any width, on screen and printed.
   Colour only in borders and lines, which every printer prints. */

.local-oksigeniameals-poster {
    --lom-ink: #17212b;
    --lom-accent: var(--bs-primary, var(--primary, #0f6cbf));
}

.local-oksigeniameals-poster [hidden] {
    display: none !important;
}

.local-oksigeniameals-poster .lom-postersend {
    display: inline-flex;
    margin: 0;
}

.local-oksigeniameals-poster .lom-postertools {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 .5rem;
}

.local-oksigeniameals-poster .lom-posterform {
    max-width: 40rem;
    margin: 0 auto 1rem;
    padding: .5rem 1rem;
    border: 1px solid var(--bs-border-color, #dde3ea);
    border-radius: .75rem;
    background: var(--bs-body-bg, #fff);
}

.local-oksigeniameals-poster .lom-posterform summary {
    font-weight: 700;
    cursor: pointer;
}

.local-oksigeniameals-poster .lom-posterform label {
    margin: .6rem 0 .2rem;
}

.local-oksigeniameals-poster .lom-posterrow {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: .75rem;
}

.local-oksigeniameals-poster .lom-posterrow label {
    margin: 0;
}

.local-oksigeniameals-poster .lom-postersheet {
    display: grid;
    width: min(100%, 210mm);
    aspect-ratio: 210 / 297;
    margin: 0 auto 2rem;
    padding: 4%;
    background: #fff;
    box-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .15);
    color: var(--lom-ink);
}

.local-oksigeniameals-poster .lom-postersheet.lom-four {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 3%;
    padding: 3%;
}

.local-oksigeniameals-poster .lom-postercell {
    container-type: size;
    min-width: 0;
    min-height: 0;
}

.local-oksigeniameals-poster .lom-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 1.4em 1.6em;
    border: .3em solid var(--lom-accent);
    border-radius: 1.8em;
    font-size: min(2.5cqw, 1.77cqh);
    text-align: center;
    overflow: hidden;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.local-oksigeniameals-poster .lom-four .lom-poster {
    border-style: dashed;
}

.local-oksigeniameals-poster .lom-posterband {
    display: flex;
    gap: 1.4em;
    justify-content: center;
    color: var(--lom-accent);
}

.local-oksigeniameals-poster .lom-postercentre {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4em;
    font-size: 1.05em;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.local-oksigeniameals-poster .lom-posterlogo {
    max-width: 14em;
    max-height: 3.2em;
}

.local-oksigeniameals-poster .lom-postertitle {
    margin: 0;
    font-size: 2.75em;
    font-weight: 800;
    line-height: 1.08;
    color: var(--lom-ink);
    overflow-wrap: anywhere;
}

.local-oksigeniameals-poster .lom-posterlead {
    margin: 0;
    font-size: 1.45em;
    font-weight: 700;
    color: var(--lom-accent);
}

.local-oksigeniameals-poster .lom-viewfinder {
    position: relative;
    width: 18em;
    padding: 1.3em;
}

.local-oksigeniameals-poster .lom-viewfinder .lom-qr {
    display: block;
    width: 100%;
    height: auto;
}

.local-oksigeniameals-poster .lom-corner {
    position: absolute;
    width: 3em;
    height: 3em;
    border: 0 solid var(--lom-accent);
}

.local-oksigeniameals-poster .lom-c1 {
    top: 0;
    inset-inline-start: 0;
    border-top-width: .5em;
    border-inline-start-width: .5em;
    border-start-start-radius: 1.1em;
}

.local-oksigeniameals-poster .lom-c2 {
    top: 0;
    inset-inline-end: 0;
    border-top-width: .5em;
    border-inline-end-width: .5em;
    border-start-end-radius: 1.1em;
}

.local-oksigeniameals-poster .lom-c3 {
    bottom: 0;
    inset-inline-start: 0;
    border-bottom-width: .5em;
    border-inline-start-width: .5em;
    border-end-start-radius: 1.1em;
}

.local-oksigeniameals-poster .lom-c4 {
    bottom: 0;
    inset-inline-end: 0;
    border-bottom-width: .5em;
    border-inline-end-width: .5em;
    border-end-end-radius: 1.1em;
}

.local-oksigeniameals-poster .lom-scanlabel {
    margin: -.4em 0 0;
    font-size: 1.35em;
    font-weight: 800;
}

.local-oksigeniameals-poster .lom-postershort {
    display: block;
    margin-top: .35em;
    font-size: .7em;
    font-weight: 400;
}

/* The address on a line of its own, so it is not cut in two where it reads well. */

.local-oksigeniameals-poster .lom-postershort b {
    display: block;
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.local-oksigeniameals-poster .lom-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8em;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.2;
}

.local-oksigeniameals-poster .lom-steps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3em;
}

.local-oksigeniameals-poster .lom-stepnum {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8em;
    height: 1.8em;
    border: .14em solid var(--lom-accent);
    border-radius: 50%;
    font-weight: 800;
    color: var(--lom-accent);
}

.local-oksigeniameals-poster .lom-posterfoot {
    margin: 0;
    font-size: 1.1em;
}

@media print {
    /* 230 mm fit one sheet, A4 or Letter, with what the theme puts around. */

    .local-oksigeniameals-poster .lom-postersheet {
        width: 163mm;
        height: 230mm;
        aspect-ratio: auto;
        margin: 0 auto;
        padding: 0;
        box-shadow: none;
    }

    .local-oksigeniameals-poster .lom-postersheet.lom-four {
        width: 186mm;
        gap: 4mm;
    }
}

/* Just signed up from outside: their card of the canteen, to keep. */

.local-oksigeniameals-kid .lom-done {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    text-align: center;
}

.local-oksigeniameals-kid .lom-donetick {
    width: 4rem;
    height: 4rem;
    color: var(--lom-green);
}

.local-oksigeniameals-kid .lom-keepcard {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
}

.local-oksigeniameals-kid .lom-keepcard .lom-qr {
    flex: 0 0 6.5rem;
    width: 6.5rem;
    height: 6.5rem;
}

.local-oksigeniameals-kid .lom-keepname {
    font-size: 1.15rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-pincode {
    font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.local-oksigeniameals-kid .lom-kept {
    color: var(--lom-green);
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-deadline {
    align-self: center;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--bs-warning-bg-subtle, #fdf1d6);
    color: var(--bs-warning-text-emphasis, #6b4a00);
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-small {
    font-size: .9rem;
    text-align: center;
}

.local-oksigeniameals-kid .lom-bigfood {
    color: var(--lom-color);
}

.local-oksigeniameals-kid .lom-mark {
    vertical-align: -.3rem;
    color: var(--lom-color);
}

.local-oksigeniameals-kid .lom-checklater {
    visibility: hidden;
}

.local-oksigeniameals-kid .lom-selected .lom-checklater {
    visibility: visible;
    animation: lom-pop .35s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .local-oksigeniameals-kid .lom-selected .lom-checklater {
        animation: none;
    }
}

.local-oksigeniameals-kid .lom-optiontext {
    flex: 1;
}

/* The month chosen in time. */

.local-oksigeniameals-kid .lom-monthdone {
    display: flex;
    gap: .9rem;
    align-items: center;
    padding: .9rem 1.1rem;
    border: 2px solid var(--lom-green);
    border-radius: 1.25rem;
    background: var(--bs-success-bg-subtle, #eaf5ee);
    animation: lom-pop .45s ease-out;
}

.local-oksigeniameals-kid .lom-monthdone .lom-donetick {
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
}

.local-oksigeniameals-kid .lom-donetitle {
    font-size: 1.35rem;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .local-oksigeniameals-kid .lom-monthdone {
        animation: none;
    }
}

/* What is missing of the month goes at the top: the days left, until when, and the button to go on. */

.local-oksigeniameals-kid .lom-monthnow {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.local-oksigeniameals-kid .lom-monthnow.lom-pending {
    padding: .9rem 1.1rem;
    border: 2px solid var(--lom-blue);
    border-radius: 1.25rem;
    background: var(--bs-primary-bg-subtle, #e7f0fa);
}

.local-oksigeniameals-kid .lom-pendingline {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
}

.local-oksigeniameals-kid .lom-pending .lom-saved {
    color: var(--lom-ink);
    font-weight: 600;
}

.local-oksigeniameals-kid .lom-nextentry .lom-bigfood {
    flex: none;
    margin-inline-start: auto;
    color: var(--lom-color);
}

/* Kitchen: to read on a tablet from a step away. Large figures first, then dishes and diets, the rest folded. */

.local-oksigeniameals-kid .lom-kitchen {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
}

/* Where the order stands: a strip, its sentence on one line and what changed since on the next, as chips. */

.local-oksigeniameals-kid .lom-orderstatus {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: .65rem .9rem;
    border-radius: 1rem;
    background: var(--bs-secondary-bg, #eef2f6);
}

/* The link to the tray labels, quiet, under the figures of the kitchen. */

.local-oksigeniameals-kid .lom-klabels {
    margin: .25rem 0 .75rem;
}

/* The meals of the day in the kitchen, as tabs: the one shown underlined, the others plain links. */

.local-oksigeniameals-kid .lom-kmeals {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
    margin: .25rem 0 .75rem;
    font-size: 1.1rem;
}

.local-oksigeniameals-kid .lom-kmeal {
    padding: .35rem 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.local-oksigeniameals-kid .lom-kmeal.is-on {
    font-weight: 700;
    border-bottom-color: currentColor;
}

/* Each dining room and, under it, its turns: the room in bold, the turns a step in. */

.local-oksigeniameals-kid .lom-krooms .lom-kturn {
    padding-inline-start: 1rem;
}

.local-oksigeniameals-kid .lom-krooms caption {
    caption-side: top;
    font-weight: 700;
}

/* What was left over the last day of canteen: a quiet line under the order, its source in small print. */

.local-oksigeniameals-kid .lom-kleftover {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .75rem;
    padding: 0 .9rem;
    font-variant-numeric: tabular-nums;
}

.local-oksigeniameals-kid .lom-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
    gap: .65rem;
}

.local-oksigeniameals-kid .lom-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: .75rem .5rem;
    border: 2px solid var(--lom-line);
    border-top: .4rem solid var(--lom-color, var(--lom-ink));
    border-radius: 1rem;
    background: var(--lom-card);
}

.local-oksigeniameals-kid .lom-tiletotal {
    border-top-color: var(--lom-ink);
}

.local-oksigeniameals-kid .lom-tilelabel {
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.7;
}

.local-oksigeniameals-kid .lom-tilenum {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.local-oksigeniameals-kid .lom-tileextra {
    font-size: .95rem;
    font-weight: 700;
    color: var(--lom-color);
}

.local-oksigeniameals-kid .lom-kcols {
    display: grid;
    /* One column on a phone, never wider than the screen, whatever a table inside it asks for. */
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

/* On a phone, the tables of figures (by room, by menu) slide sideways inside their card. */

@media (max-width: 36rem) {
    .local-oksigeniameals-kid .lom-ktable:not(.lom-grouptable) {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (min-width: 900px) {
    .local-oksigeniameals-kid .lom-kcols {
        grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
        align-items: start;
    }
}

.local-oksigeniameals-kid .lom-kname {
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.local-oksigeniameals-kid .lom-kdietnames {
    font-size: .95rem;
}

.local-oksigeniameals-kid .lom-klist li.lom-kwatch {
    margin: 0 -.5rem;
    padding: .35rem .5rem;
    border-radius: .5rem;
    background: var(--bs-danger-bg-subtle, #fde8e8);
}

.local-oksigeniameals-kid .lom-kserve {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
}

@media (min-width: 768px) {
    .local-oksigeniameals-kid.lom-wide.lom-staffwide {
        max-width: 75rem;
    }
}

.local-oksigeniameals-kid .lom-kcard {
    padding: .9rem 1rem;
    border: 2px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--lom-card);
}

.local-oksigeniameals-kid .lom-kcard > summary {
    min-height: 3rem;
    font-weight: 800;
    line-height: 3rem;
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-kdiets {
    border-color: var(--bs-warning-border-subtle, #c2410c);
    background: var(--bs-warning-bg-subtle, #fff7ed);
    color: var(--bs-warning-text-emphasis, inherit);
}

.local-oksigeniameals-kid .lom-kslot {
    margin: .75rem 0 .35rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--lom-muted);
}

.local-oksigeniameals-kid .lom-klist {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-klist li {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 3rem;
    padding: .35rem 0;
    border-bottom: 1px solid var(--lom-line);
}

.local-oksigeniameals-kid .lom-kdish {
    flex: 1;
    min-width: 0;
}

.local-oksigeniameals-kid .lom-knum {
    flex: none;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: end;
}

.local-oksigeniameals-kid .lom-ksmall {
    font-size: .9rem;
    font-weight: 400;
    color: var(--lom-muted);
}

.local-oksigeniameals-kid .lom-kmarks {
    display: flex;
    flex: none;
    gap: .2rem;
}

.local-oksigeniameals-kid .lom-knetline {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-knet {
    display: inline-flex;
    gap: .3rem;
    align-items: center;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: var(--bs-secondary-bg, #eef2f6);
}

.local-oksigeniameals-kid .lom-kchanges {
    margin: .5rem 0 0;
    padding-inline-start: 1.1rem;
}

.local-oksigeniameals-kid .lom-kchanges li {
    margin-bottom: .35rem;
}

.local-oksigeniameals-kid .lom-ktable th,
.local-oksigeniameals-kid .lom-ktable td {
    text-align: center;
}

/* Diners of a shift or a group: the chip of their menu, and their diet, marked, next to their name. */

.local-oksigeniameals-kid .lom-group > summary {
    min-height: 3rem;
    line-height: 3rem;
    cursor: pointer;
}

.local-oksigeniameals-kid .lom-grouptable td,
.local-oksigeniameals-kid .lom-grouptable th {
    vertical-align: middle;
}

.local-oksigeniameals-kid .lom-grouptable {
    width: 100%;
}

.local-oksigeniameals-kid .lom-grouptable td {
    height: 3.25rem;
}

.local-oksigeniameals-kid .lom-grouptable td:first-child,
.local-oksigeniameals-kid .lom-grouptable th:first-child {
    text-align: start;
}

/* On a phone the days scroll sideways and the names stay put, on two lines at most instead of three or four. */

@media (max-width: 40rem) {
    .local-oksigeniameals-kid .lom-grouptable {
        width: max-content;
        min-width: 100%;
    }

    .local-oksigeniameals-kid .lom-grouptable td:first-child,
    .local-oksigeniameals-kid .lom-grouptable th:first-child {
        position: sticky;
        inset-inline-start: 0;
        z-index: 1;
        width: 10.5rem;
        min-width: 10.5rem;
        background: var(--lom-card);
        box-shadow: 1px 0 0 var(--lom-line);
    }

    .local-oksigeniameals-kid .lom-grouptable td:not(:first-child),
    .local-oksigeniameals-kid .lom-grouptable th:not(:first-child) {
        min-width: 3.4rem;
    }
}

.local-oksigeniameals-kid .lom-kdietname {
    display: flex;
    gap: .3rem;
    align-items: center;
    font-size: .9rem;
    font-weight: 700;
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

.local-oksigeniameals-kid .lom-find {
    max-width: 30rem;
}

.local-oksigeniameals-kid .lom-countdown {
    white-space: nowrap;
}

.local-oksigeniameals-kid .lom-countdown.lom-soon {
    color: var(--bs-warning-text-emphasis, #b45309);
    font-weight: 800;
}

/* The register of a shift: rows to tap, ticked when the diner is there. */

.local-oksigeniameals-kid .lom-regtop {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .6rem 0;
    background: var(--bs-body-bg, #f8fafc);
}

.local-oksigeniameals-kid .lom-regtotal {
    font-size: 1.3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.local-oksigeniameals-kid .lom-reglist {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-regrow {
    padding: .25rem;
    border: 2px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--lom-card);
}

.local-oksigeniameals-kid .lom-regrow.lom-here {
    border-color: var(--lom-green);
    background: var(--bs-success-bg-subtle, #eaf5ee);
}

.local-oksigeniameals-kid .lom-regrow.lom-away {
    border-color: var(--bs-secondary-color, #9ca3af);
    border-style: dashed;
    background: var(--bs-secondary-bg, #f3f4f6);
    color: var(--bs-secondary-color, #4b5563);
}

.local-oksigeniameals-kid .lom-regrow.lom-sending {
    opacity: .6;
}

.local-oksigeniameals-kid .lom-regrow.lom-failed {
    outline: 3px solid #b91c1c;
}

.local-oksigeniameals-kid .lom-regline {
    display: flex;
    gap: .25rem;
    align-items: stretch;
}

.local-oksigeniameals-kid .lom-regtap {
    display: flex;
    flex: 1;
    gap: .65rem;
    align-items: center;
    min-height: 3.5rem;
    padding: .35rem .6rem;
    border: 0;
    background: transparent;
    color: var(--lom-ink);
    text-align: start;
}

.local-oksigeniameals-kid .lom-regcheck {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 2px solid var(--lom-line-strong);
    border-radius: 50%;
    color: transparent;
}

.local-oksigeniameals-kid .lom-here .lom-regcheck {
    border-color: var(--lom-green);
    background: var(--lom-green);
    color: #fff;
}

.local-oksigeniameals-kid .lom-regcheck .lom-regno,
.local-oksigeniameals-kid .lom-away .lom-regcheck .lom-regyes {
    display: none;
}

.local-oksigeniameals-kid .lom-away .lom-regcheck {
    border-color: var(--bs-secondary-color, #6b7280);
    background: var(--bs-secondary-color, #6b7280);
    color: var(--bs-body-bg, #fff);
}

.local-oksigeniameals-kid .lom-away .lom-regcheck .lom-regno {
    display: block;
}

/* The count and the undo stay at the bottom of the screen while going down the list. */

.local-oksigeniameals-kid .lom-regbar {
    position: fixed;
    inset-inline-end: 0;
    bottom: 0;
    inset-inline-start: 0;
    z-index: 1030;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: #17212b;
    color: #fff;
}

.local-oksigeniameals-kid .lom-regbar .lom-regtotal {
    font-size: 1.15rem;
}

.local-oksigeniameals-kid .lom-register {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

.local-oksigeniameals-kid .lom-regname {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-regaway {
    display: none;
    font-size: .9rem;
    color: var(--bs-secondary-color, #4b5563);
}

.local-oksigeniameals-kid .lom-away .lom-regaway {
    display: block;
}

.local-oksigeniameals-kid .lom-regmore {
    flex: none;
    width: 3.25rem;
    border: 0;
    border-radius: .75rem;
    background: transparent;
    color: var(--lom-muted);
}

.local-oksigeniameals-kid .lom-regnote {
    margin: 0 .6rem .4rem 3.5rem;
    font-style: italic;
}

.local-oksigeniameals-kid .lom-regpanel {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: .5rem .6rem .6rem;
}

.local-oksigeniameals-kid .lom-regpanel[hidden],
.local-oksigeniameals-kid .lom-regnote[hidden] {
    display: none;
}

.local-oksigeniameals-kid .lom-regquick {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.local-oksigeniameals-kid .lom-registerday.lom-here {
    border-inline-start: .35rem solid var(--lom-green);
}

.local-oksigeniameals-kid .lom-registerday.lom-away {
    border-inline-start: .35rem solid #9ca3af;
}

.local-oksigeniameals-kid .lom-registerday .lom-regnote {
    margin: 0;
}

.local-oksigeniameals-kid .lom-kconflict {
    font-size: .95rem;
    font-weight: 700;
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

.local-oksigeniameals-kid .lom-kuntold {
    font-size: .9rem;
    font-weight: 700;
    color: var(--bs-warning-text-emphasis, #92400e);
}

.local-oksigeniameals-kid .lom-kfine {
    font-size: .9rem;
    color: var(--lom-green);
}

.local-oksigeniameals-kid .lom-regcheckdiet {
    font-weight: 400;
}

.local-oksigeniameals-kid .lom-regmark {
    margin-inline-start: .25rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-regpresent {
    color: var(--lom-green);
}

.local-oksigeniameals-kid .lom-regabsent {
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

.local-oksigeniameals-kid .lom-danger {
    border-color: #b91c1c;
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

.local-oksigeniameals-kid .lom-emailform {
    margin-top: .5rem;
}

/* The board of the canteen on a television: read from five metres, nothing of the site around it. */

body.local-oksigeniameals-boardpage {
    background: #fff;
}

body.local-oksigeniameals-boardpage.lom-dark {
    background: #0f172a;
}

/* A television or a projected board is not scrolled, and the board makes its letters smaller until it fits: no scroll bar
   for the fraction of a pixel a ratio of 1.5 leaves over the window's height (Firefox gives 801.33 for 801). A phone in
   upright position can still scroll it. */

@media (min-width: 900px) and (orientation: landscape) {
    body.local-oksigeniameals-boardpage {
        overflow: hidden;
    }
}

body.local-oksigeniameals-boardpage #page,
body.local-oksigeniameals-boardpage .embedded-main {
    max-width: none;
    margin: 0;
    padding: 0;
}

.local-oksigeniameals-board {
    --lom-boardink: #111827;
    --lom-boardcard: #fff;
    --lom-boardline: #d1d5db;
    display: flex;
    flex-direction: column;
    gap: 2vh;
    box-sizing: border-box;
    /* It moves up to 6 px each time so the screen does not mark: a margin of a little more keeps it inside, with no scroll
       bar, also where a ratio of 1.5 rounds a pixel up. */
    min-height: calc(100vh - 16px);
    margin: 8px;
    padding: 2.5vh 2.5vw;
    color: var(--lom-boardink);
    font-size: clamp(14px, min(1.5vw, 2.5vh), 40px);
}

.local-oksigeniameals-board.lom-dark {
    --lom-boardink: #f9fafb;
    --lom-boardcard: #1e293b;
    --lom-boardline: #334155;
}

.local-oksigeniameals-board .lom-boardhead {
    display: flex;
    flex-wrap: wrap;
    gap: .5em 2em;
    align-items: baseline;
    justify-content: space-between;
}

.local-oksigeniameals-board .lom-boardcentre {
    font-size: 1.1em;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.local-oksigeniameals-board .lom-boardmoved {
    padding-inline-start: .5em;
    border-inline-start: 4px solid currentColor;
    font-size: 1.3em;
    letter-spacing: 0;
    text-transform: none;
}

.local-oksigeniameals-board .lom-boardwhen {
    margin: 0;
    font-size: 3em;
    font-weight: 800;
    color: inherit;
}

.local-oksigeniameals-board .lom-boardnothing {
    margin-top: 20vh;
    font-size: 3.5em;
    font-weight: 800;
    text-align: center;
}

.local-oksigeniameals-board .lom-boardmenus {
    display: grid;
    grid-template-columns: repeat(var(--lom-columns, 3), minmax(0, 1fr));
    gap: 1.2em;
    flex: 1;
}

@media (max-aspect-ratio: 1/1) {
    .local-oksigeniameals-board .lom-boardmenus {
        grid-template-columns: repeat(auto-fit, minmax(14em, 1fr));
    }
}

.local-oksigeniameals-board .lom-boardothers {
    display: flex;
    flex-wrap: wrap;
    gap: .8em;
}

.local-oksigeniameals-board .lom-boardother {
    flex: 1 1 20em;
    padding: .5em .9em;
    border: 2px solid var(--lom-boardline);
    border-inline-start: .5em solid var(--lom-color);
    border-radius: .8em;
    background: var(--lom-boardcard);
}

.local-oksigeniameals-board .lom-boardother .lom-boardname {
    margin: 0 0 .2em;
    font-size: 1.45em;
}

.local-oksigeniameals-board .lom-boardother p {
    margin: 0;
    font-size: 1.45em;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.local-oksigeniameals-board .lom-boardinline:not(:last-child)::after {
    content: " · ";
}

.local-oksigeniameals-board .lom-boardmenu {
    display: flex;
    flex-direction: column;
    padding: 1em 1.2em;
    border: 2px solid var(--lom-boardline);
    border-top: .5em solid var(--lom-color);
    border-radius: 1em;
    background: var(--lom-boardcard);
}

.local-oksigeniameals-board .lom-boardsmall {
    font-size: .8em;
}

.local-oksigeniameals-board .lom-boardname {
    display: flex;
    gap: .4em;
    align-items: center;
    margin: 0 0 .6em;
    font-size: 1.6em;
    font-weight: 800;
    color: inherit;
}

.local-oksigeniameals-board .lom-boardname .lom-mark {
    width: 1.2em;
    height: 1.2em;
    color: var(--lom-color);
}

.local-oksigeniameals-board ul {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
    gap: .5em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-board li {
    display: flex;
    gap: .6em;
    align-items: center;
    font-size: 1.85em;
    font-weight: 700;
    line-height: 1.15;
}

.local-oksigeniameals-board .lom-boarddish {
    display: flex;
    flex-direction: column;
    gap: .2em;
    min-width: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
    /* Short words whole: «pa-pas» on a board reads badly; only the long ones are cut. */
    -webkit-hyphenate-limit-chars: 10 4 4;
    hyphenate-limit-chars: 10 4 4;
}

/* A browser that cannot keep the short words whole (Firefox, an old board's too) does not cut any: the line breaks between
   words, and the card makes its letters smaller if one does not fit. */

@supports not ((hyphenate-limit-chars: 10 4 4) or (-webkit-hyphenate-limit-chars: 10 4 4)) {
    .local-oksigeniameals-board .lom-boarddish {
        hyphens: manual;
    }
}

.local-oksigeniameals-board .lom-boardkey {
    display: flex;
    flex-wrap: wrap;
    gap: .4em 1.6em;
    font-size: 1.15em;
    font-weight: 700;
}

.local-oksigeniameals-boardidle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #000;
    color: #4b5563;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
}

a.local-oksigeniameals-boardidle,
a.local-oksigeniameals-boardidle:hover,
a.local-oksigeniameals-boardidle:focus,
a.local-oksigeniameals-boardidle span,
a.local-oksigeniameals-boardidle small {
    text-decoration: none;
}

a.local-oksigeniameals-boardidle:hover,
a.local-oksigeniameals-boardidle:focus {
    color: #6b7280;
}

.local-oksigeniameals-boardidle span {
    display: inline-block;
    max-width: 70vw;
}

.local-oksigeniameals-boardidle small {
    display: block;
    margin-top: .5em;
    font-size: .45em;
}

.local-oksigeniameals-month .lom-dietconflict {
    font-size: .85rem;
    font-weight: 800;
    color: var(--bs-danger-text-emphasis, #b91c1c);
}

/* «Add to the home screen»: a button the size of the others at the foot, on the left, with the phone it goes to. */

.local-oksigeniameals-kid .lom-appinstall,
.lom-appinstall {
    margin: 1rem 0 0;
    text-align: start;
}

.lom-appinstall .lom-appbtn {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    min-height: 2.75rem;
}

/* The field of the sign-up only machines see. */

.lom-trap {
    position: absolute;
    inset-inline-start: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* A form being sent: its buttons say so, and a second tap does nothing. */

form.lom-sending button[type="submit"],
form.lom-sending [type="submit"] {
    opacity: .6;
    cursor: progress;
}

.local-oksigeniameals-kid .lom-dayclose {
    margin: -.25rem 0 0;
    color: var(--lom-muted);
    font-weight: 700;
    text-align: center;
}

.lom-doffform {
    display: grid;
    gap: 1rem;
    text-align: start;
}

.lom-doffform fieldset {
    display: grid;
    gap: .5rem;
    min-width: 0;
    margin: 0;
}

.lom-doffform legend {
    margin-bottom: .5rem;
    font-size: 1rem;
    font-weight: 700;
}

.lom-doffopt {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin: 0;
    padding: .7rem .85rem;
    border: 1px solid var(--lom-st-line, var(--bs-border-color, #dee2e6));
    border-radius: .6rem;
    background: var(--lom-st-card, var(--bs-body-bg, #fff));
    cursor: pointer;
}

.lom-doffopt > span {
    min-width: 0;
}

.lom-doffopt input {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .15rem;
    accent-color: var(--lom-st-accent, var(--bs-primary, #2563a8));
}

.lom-doffopt b,
.lom-doffopt small {
    display: block;
}

.lom-doffopt small {
    margin-top: .15rem;
    color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
    font-size: .875rem;
}

/* What is chosen goes in the blue of every choice of Meals: it is a choice, not an error, and it can be undone. */

.lom-doffopt:has(input:checked) {
    border-color: var(--lom-st-accent, var(--bs-primary, #2563a8));
    background: color-mix(in srgb, var(--lom-st-accent, var(--bs-primary, #2563a8)) 7%, var(--lom-st-card, var(--bs-body-bg, #fff)));
}

.lom-doffacts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.lom-doffday .lom-doffback {
    margin-top: 1rem;
}

.lom-dmoved {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    align-items: baseline;
    margin: 0 0 1rem;
    padding: .75rem 1rem;
    border: 1px solid var(--lom-st-line, var(--bs-border-color, #dee2e6));
    border-inline-start: 4px solid var(--bs-warning, #ffc107);
    border-radius: .6rem;
    background: var(--lom-st-raise, var(--bs-tertiary-bg, #f7f8fa));
}

/* What Meals does not know, on top of the pages someone cooks or serves with: amber, as the only red strip is that of a
   severe allergy. And when a page is of, once it is a copy or has been open too long. */

.lom-doubt,
.lom-pageage {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin: 0 0 1rem;
    padding: .75rem 1rem;
    border: 2px solid var(--bs-warning, #f0ad4e);
    border-radius: .65rem;
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
    text-align: start;
}

.lom-pageage[hidden] {
    display: none;
}

.lom-doubtmark {
    flex: none;
    margin-top: .1rem;
}

.lom-doubt > div {
    flex: 1 1 auto;
    min-width: 0;
}

.lom-doubt .lom-doubttitle {
    margin: 0;
    color: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
}

.lom-doubt ul {
    margin: .25rem 0 0;
    padding: 0;
    list-style: none;
}

.lom-doubt li {
    margin: .15rem 0 0;
    color: inherit;
    line-height: 1.4;
}

.lom-pageage p {
    margin: 0;
    color: inherit;
}

@media print {
    .lom-doubt {
        border-color: #000;
        background: none;
        color: #000;
    }

    .lom-pageage {
        display: none;
    }
}

/* The record of a diner for the staff: what the staff can do, the days as the family sees them, week by week. */

.local-oksigeniameals-kid.lom-record .lom-recacts {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .3rem 0 .6rem;
}

.local-oksigeniameals-kid.lom-record .lom-recweek {
    margin: .8rem 0 .3rem;
    color: var(--lom-muted);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.local-oksigeniameals-kid.lom-record .lom-recempty {
    margin: 0;
    color: var(--lom-muted);
    text-align: start;
}

/* The marks that are not allergens (meat, pork, beef), by their names after the drawings. */

.lom-markchip {
    display: inline-block;
    margin-inline-start: .2rem;
    padding: 0 .4rem;
    border: 1px solid #c9ced6;
    border-radius: 999px;
    color: var(--bs-body-color, #374151);
    font-size: .75em;
    font-weight: 600;
    line-height: 1.5;
    vertical-align: middle;
    white-space: nowrap;
}

.lom-st-art {
    flex: none;
    color: var(--lom-st-accent);
}

/* What is checked of the month and what is left: one bar in parts, and under it what each part is. */

.lom-st-flow {
    display: grid;
    gap: .55rem;
    margin: 0 0 1rem;
}

.lom-st-flow .is-reviewed {
    --lom-flow: #2f7d46;
}

.lom-st-flow .is-suggestions {
    --lom-flow: var(--lom-st-accent);
}

.lom-st-flow .is-pending {
    --lom-flow: #c98a1e;
}

@media (max-width: 575px) {
    .lom-st-views {
        display: none;
    }
}

/* In the dark mode the drawings and the ring take a light accent, mixed from the one of the theme. */

[data-bs-theme="dark"] .lom-st-art {
    color: #9dc3ef;
    color: color-mix(in srgb, var(--bs-primary, #2563a8) 45%, #fff);
}

/* Controls look like controls by their shape: no underline, whatever the theme does with links in a text. The words
   of a control go in a block of their own, which the underline of a link does not reach. */

.lom-st-nodeco {
    display: inline-block;
}

/* The views of a place, one row of pills with their drawing. */

.lom-st-views {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1rem;
}

.lom-st-views a {
    display: inline-block;
    padding: .35rem .8rem .35rem .5rem;
    border: 1px solid var(--lom-st-line);
    border-radius: 999px;
    background: var(--lom-st-card);
    color: var(--lom-st-ink);
    font-weight: 600;
    text-decoration: none;
}

.lom-st-views a:focus {
    border-color: var(--lom-st-accent);
    color: var(--lom-st-ink);
}

@media (hover: hover) {
    .lom-st-views a:hover {
        border-color: var(--lom-st-accent);
        color: var(--lom-st-ink);
    }
}

.lom-st-views a.is-current {
    border-color: var(--lom-st-accent);
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
}

.lom-st-views .lom-st-art {
    margin-inline-end: .45rem;
    color: var(--lom-st-accent);
    vertical-align: -6px;
}

/* Empty: the drawing of the place, one sentence that says why, and the next step. */

.lom-st-empty {
    padding: 1.6rem 1rem;
    border: 1px dashed var(--lom-st-line);
    border-radius: .9rem;
    background: var(--lom-st-raise);
    text-align: center;
}

.lom-st-empty .lom-st-art {
    color: var(--lom-st-muted);
}

.lom-st-empty h3 {
    margin: .5rem 0 .25rem;
    font-size: 1.05rem;
}

.lom-st-empty p {
    margin: 0 0 .75rem;
    color: var(--lom-st-muted);
}

.lom-st-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: .5rem;
}

.lom-st-tiles a {
    display: block;
    padding: .6rem .75rem;
    border: 1px solid var(--lom-st-line);
    border-radius: .75rem;
    background: var(--lom-st-card);
    color: var(--lom-st-ink);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}

.lom-st-tiles a:focus {
    border-color: var(--lom-st-accent);
    color: var(--lom-st-ink);
}

@media (hover: hover) {
    .lom-st-tiles a:hover {
        border-color: var(--lom-st-accent);
        color: var(--lom-st-ink);
    }
}

.lom-st-tiles a.is-main {
    border: 2px solid var(--lom-st-accent);
    background: color-mix(in srgb, var(--lom-st-accent) 8%, var(--lom-st-card));
    color: var(--lom-st-ink);
}

.lom-st-tiles a .lom-st-art {
    display: block;
    margin-bottom: .35rem;
}

.lom-st-tiles a.is-main .lom-st-art {
    color: var(--lom-st-accent);
}

.lom-st-box {
    padding: .75rem .9rem;
    border: 1px solid var(--lom-st-line);
    border-radius: .75rem;
    background: var(--lom-st-card);
}

.lom-st-box + .lom-st-box {
    margin-top: .6rem;
}

.lom-st-box h3 {
    display: flex;
    justify-content: space-between;
    margin: 0 0 .4rem;
    font-size: .95rem;
}

.lom-st-box h3 span {
    color: var(--lom-st-muted);
    font-weight: 600;
}

.lom-st-box ul {
    margin: 0;
    padding-inline-start: 1.1rem;
}

@media (max-width: 760px) {
    .lom-st-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* On a phone: the views of the lists as one choice, and the columns of a month without their totals, which are in
   the table, when they are too narrow to hold them. */

@media (max-width: 575px) {
    nav.lom-st-views {
        display: none;
    }
}

/* The files of the dishes. The list: a card per dish with its drawing on a small plate; a
   dish without a file stays quiet (dashed), a file begun says in amber what it is missing, and a complete one carries
   its tick. The file to fill in: one sheet, as a kitchen's technical sheet, its parts numbered on a rail, each saying
   whether it is done or needed; the foot with «Guardar» stays in view. Moodle's theme variables, light and dark. */

/* The list: the search, and the sheet to fill them all in at once. */

.lom-df-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
    margin: .75rem 0 1rem;
}

.lom-df-search {
    position: relative;
    flex: 1 1 18rem;
}

.lom-df-search::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: .8rem;
    width: 1.15rem;
    height: 1.15rem;
    background: var(--lom-st-muted);
    -webkit-mask: var(--lom-st-g-search) center / contain no-repeat;
    mask: var(--lom-st-g-search) center / contain no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
}

.lom-df-search input[type="search"] {
    width: 100%;
    min-height: 2.75rem;
    padding-inline-start: 2.5rem;
    border-radius: 999px;
}

.lom-df-sheet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .5rem;
}

.lom-df-sheet > a::before,
.lom-df-upload > summary::before {
    content: "";
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    background: currentColor;
    -webkit-mask: var(--lom-st-g-download) center / contain no-repeat;
    mask: var(--lom-st-g-download) center / contain no-repeat;
}

.lom-df-upload > summary::before {
    transform: scaleY(-1);
}

.lom-df-upload > summary {
    list-style: none;
}

.lom-df-upload > summary::-webkit-details-marker {
    display: none;
}

.lom-df-upload[open] {
    flex-basis: 100%;
}

.lom-df-upload form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-top: .5rem;
}

.lom-df-upload form p {
    flex-basis: 100%;
    margin: 0;
    color: var(--lom-st-muted);
    font-size: .9rem;
}

.lom-df-upload input[type="file"] {
    flex: 1 1 16rem;
    width: auto;
}

.lom-df-any {
    flex-basis: 100%;
    display: flex;
    align-items: baseline;
    gap: .45rem;
    margin: 0;
    font-size: .9rem;
}

/* The files that are missing, started by the AI of the site: a quiet band above the cards, while there are any. */

.lom-df-start {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
    margin: 0 0 1rem;
    padding: .75rem 1rem;
    border: 1px dashed var(--lom-st-line);
    border-radius: .6rem;
}

.lom-df-start p {
    flex: 1 1 20rem;
    margin: 0;
    color: var(--lom-st-muted);
    font-size: .9rem;
}

p.lom-df-start {
    color: var(--lom-st-muted);
    font-size: .9rem;
}

/* The cards. */

.lom-df-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr));
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-df-grid > li[hidden] {
    display: none;
}

.lom-df-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    height: 100%;
    padding: .65rem .85rem .65rem .65rem;
    border: 1px solid var(--lom-st-line);
    border-radius: .85rem;
    background: var(--lom-st-card);
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.lom-df-card:focus-visible {
    border-color: var(--lom-st-accent);
    outline: 3px solid rgba(var(--bs-primary-rgb, 37, 99, 168), .35);
    outline-offset: 1px;
    color: inherit;
}

@media (hover: hover) {
    .lom-df-card:hover {
        border-color: var(--lom-st-accent);
        box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
        color: inherit;
        transform: translateY(-1px);
    }
}

/* Its drawing on a small plate seen from above: the rim and the well. */

.lom-df-dish {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1.5px solid var(--lom-st-line);
    border-radius: 50%;
    background: var(--lom-st-card);
    box-shadow: inset 0 0 0 .3rem var(--lom-st-card), inset 0 0 0 calc(.3rem + 1px) var(--lom-st-line);
    color: var(--lom-st-ink);
}

.lom-df-dish svg {
    width: 1.6rem;
    height: 1.6rem;
}

.lom-df-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}

.lom-df-name {
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.lom-df-meta {
    color: var(--lom-st-muted);
    font-size: .85rem;
    line-height: 1.3;
}

.lom-df-lacks {
    color: var(--lom-st-warn);
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Without a file: dashed and quiet, the drawing paler. */

.lom-df-card.is-missing {
    border-style: dashed;
    border-color: rgba(var(--bs-body-color-rgb, 33, 37, 41), .32);
    background: transparent;
}

.lom-df-card.is-missing .lom-df-dish {
    border-style: dashed;
    background: transparent;
    box-shadow: none;
    color: var(--lom-st-muted);
}

.lom-df-card.is-missing .lom-df-name {
    font-weight: 600;
}

.lom-df-card.is-missing .lom-df-st {
    color: inherit;
    font-weight: 400;
}

/* Begun: a band of amber down its side. */

.lom-df-card.is-half {
    box-shadow: inset 4px 0 0 var(--bs-warning, #f0ad4e);
}

/* A draft: begun, and its card dashed in amber until someone checks it. */

.lom-df-card.is-draft {
    border-style: dashed;
    border-color: var(--bs-warning, #f0ad4e);
}

/* Complete: the plate in the accent's tint, with its tick. */

.lom-df-card.is-done .lom-df-dish {
    border-color: var(--lom-st-accent);
    background: var(--lom-st-accentsoft);
    box-shadow: inset 0 0 0 .3rem var(--lom-st-card), inset 0 0 0 calc(.3rem + 1px) var(--lom-st-accent);
    color: var(--lom-st-accentink);
}

.lom-df-tick {
    position: absolute;
    inset-inline-end: -.3rem;
    bottom: -.2rem;
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    border: 2px solid var(--lom-st-card);
    border-radius: 50%;
    background: var(--bs-success, #198754);
    color: #fff;
}

.lom-df-tick svg {
    width: .8rem;
    height: .8rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lom-df-st {
    color: var(--lom-st-ink);
    font-weight: 600;
}

.lom-df-card.is-done .lom-df-st {
    color: var(--bs-success-text-emphasis, #0a3622);
}

/* The file to fill in. */

.lom-df-back {
    display: inline-block;
    margin-bottom: .75rem;
}

/* Where it stands, above the sheet: complete with its tick, or what it is missing, in amber. */

.lom-df-state {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .75rem;
    color: var(--lom-st-warn);
    font-weight: 600;
}

.lom-df-state::before {
    content: "";
    flex: none;
    width: .65rem;
    height: .65rem;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.lom-df-state.is-complete {
    color: var(--bs-success-text-emphasis, #0a3622);
}

.lom-df-state.is-complete::before {
    display: none;
}

.lom-df-state svg {
    flex: none;
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* A draft: proposed and not checked yet. A stamp and a sentence, in the theme's warning tones, above the sheet. */

.lom-df-draft {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .75rem;
    margin: 0 0 .75rem;
    padding: .7rem 1rem;
    border: 1px solid var(--bs-warning-border-subtle, #ffe69c);
    border-inline-start: 4px solid var(--bs-warning, #ffc107);
    border-radius: .6rem;
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
    font-weight: 600;
}

.lom-df-draftmark {
    padding: .1rem .55rem;
    border: 1.5px dashed currentColor;
    border-radius: .35rem;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* One sheet, its parts on a rail. */

.lom-df-form {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 0;
    border: 1px solid var(--lom-st-line);
    border-radius: 1rem;
    background: var(--lom-st-card);
}

.lom-df-part {
    position: relative;
    padding: 0 0 1.75rem 3.25rem;
}

.lom-df-part::before {
    content: "";
    position: absolute;
    top: 2.6rem;
    bottom: .35rem;
    inset-inline-start: 1.08rem;
    border-inline-start: 2px solid var(--lom-st-line);
}

.lom-df-parthead {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 2.25rem;
    margin: 0 0 .5rem -3.25rem;
}

.lom-df-parthead h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.lom-df-parthead label {
    margin: 0;
}

.lom-df-num {
    display: grid;
    flex: none;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 2px solid var(--lom-st-line);
    border-radius: 50%;
    background: var(--lom-st-card);
    color: var(--lom-st-muted);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lom-df-part.is-done > .lom-df-parthead .lom-df-num {
    border-color: var(--lom-st-accent);
    background: var(--lom-st-accent);
    color: #fff;
}

.lom-df-part.is-needed > .lom-df-parthead .lom-df-num {
    border-style: dashed;
    border-color: var(--bs-warning, #f0ad4e);
    color: var(--lom-st-ink);
}

.lom-df-flag {
    margin-inline-start: auto;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
    font-size: .8rem;
    font-weight: 700;
}

.lom-df-label {
    display: block;
    margin: 0 0 .15rem;
    font-size: 1rem;
    font-weight: 700;
}

.lom-df-help {
    margin: 0 0 .5rem;
    color: var(--lom-st-muted);
    font-size: .875rem;
    line-height: 1.45;
}

/* 1. The dish: its drawing on a plate beside the sentence, the portion and how it is cooked. */

.lom-df-dishrow {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.lom-df-plate {
    position: relative;
    display: grid;
    place-items: center;
    width: 7.5rem;
    aspect-ratio: 1;
    border: 1.5px solid var(--lom-st-line);
    border-radius: 50%;
    background: var(--lom-st-card);
    color: var(--lom-st-accent);
}

.lom-df-plate::before {
    content: "";
    position: absolute;
    inset: 13%;
    border: 1.5px solid var(--lom-st-line);
    border-radius: 50%;
    box-shadow: inset 0 3px 10px -4px rgba(0, 0, 0, .15);
}

.lom-df-plate span {
    position: relative;
    display: grid;
    width: 58%;
    aspect-ratio: 1;
}

.lom-df-plate svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.4;
}

.lom-df-dishfields {
    min-width: 0;
}

.lom-df-dishfields textarea {
    min-height: 3.5rem;
    field-sizing: content;
}

.lom-df-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1rem;
    margin-top: 1rem;
}

.lom-df-pair + .lom-df-help {
    margin-top: .4rem;
}

.lom-df-input {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.lom-df-input input {
    font-variant-numeric: tabular-nums;
    text-align: end;
}

.lom-df-input span {
    flex: 0 0 2.25rem;
    color: var(--lom-st-muted);
    font-size: .875rem;
}

/* 2 and 4. Rows: an ingredient and its amount, or a step with its number; a round quiet × to take one out. */

.lom-df-rowlist {
    display: grid;
    gap: .45rem;
    margin: 0 0 .5rem;
    padding: 0;
    list-style: none;
    counter-reset: lom-df-step;
}

.lom-df-ing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8rem 2.75rem;
    align-items: center;
    gap: .5rem;
}

.lom-df-ing-head {
    margin-bottom: .25rem;
    color: var(--lom-st-muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lom-df-ing [data-part="amount"] {
    font-variant-numeric: tabular-nums;
    text-align: end;
}

.lom-df-step {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) 2.75rem;
    align-items: start;
    gap: .5rem;
    counter-increment: lom-df-step;
}

.lom-df-stepn {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-top: .3rem;
    border-radius: 50%;
    background: var(--lom-st-soft);
    font-size: .9rem;
    font-weight: 800;
}

.lom-df-stepn::before {
    content: counter(lom-df-step);
}

.lom-df-step textarea {
    min-height: 2.6rem;
    resize: vertical;
    field-sizing: content;
}

.lom-df-remove {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--lom-st-muted);
    cursor: pointer;
}

.lom-df-remove svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.lom-df-remove:focus-visible {
    border-color: var(--lom-st-bad);
    color: var(--lom-st-bad);
}

@media (hover: hover) {
    .lom-df-remove:hover {
        border-color: var(--lom-st-line);
        background: var(--lom-st-raise);
        color: var(--lom-st-bad);
    }
}

.lom-df-add {
    margin-top: .1rem;
}

/* 3. What it contains, as told on the page of the menus; the traces, as pills to tick. */

.lom-df-told {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin-bottom: .35rem;
}

.lom-df-told .lom-df-label {
    margin: 0;
}

.lom-df-toldlist {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-df-toldlist li {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
}

.lom-df-toldlist li + li {
    margin-inline-start: .5rem;
}

.lom-df-toldnone {
    color: var(--lom-st-muted);
}

.lom-df-traces {
    min-width: 0;
    margin: 1.25rem 0 0;
    padding: 0;
    border: 0;
}

.lom-df-tracelist {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.lom-df-trace {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.5rem;
    margin: 0;
    padding: .25rem .8rem .25rem .6rem;
    border: 1px solid var(--lom-st-line);
    border-radius: 999px;
    background: var(--lom-st-card);
    cursor: pointer;
    user-select: none;
}

.lom-df-trace input {
    flex: none;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    accent-color: var(--lom-st-accent);
}

.lom-df-trace svg {
    flex: none;
}

.lom-df-trace:has(input:checked) {
    border-color: var(--lom-st-accent);
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
    font-weight: 600;
}

.lom-df-trace:has(input:focus-visible) {
    outline: 3px solid rgba(var(--bs-primary-rgb, 37, 99, 168), .35);
    outline-offset: 1px;
}

.lom-df-tracenone {
    border-style: dashed;
}

/* 5. Nutrition and the rest, folded: its head is the summary. */

.lom-df-adv > summary {
    cursor: pointer;
    list-style: none;
}

.lom-df-adv > summary::-webkit-details-marker {
    display: none;
}

.lom-df-adv > summary::after {
    content: "";
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-inline-start: .25rem;
    background: var(--lom-st-muted);
    -webkit-mask: var(--lom-st-g-chevron) center / contain no-repeat;
    mask: var(--lom-st-g-chevron) center / contain no-repeat;
    transition: transform .2s ease;
}

.lom-df-adv[open] > summary::after {
    transform: rotate(180deg);
}

.lom-df-adv > summary .lom-df-flag {
    margin-inline-start: auto;
}

.lom-df-adv:not([open]) {
    padding-bottom: 1.25rem;
}

.lom-df-adv:not([open])::before,
.lom-df-part:last-of-type::before {
    display: none;
}

.lom-df-adv h4 {
    margin-top: .5rem;
}

.lom-df-per {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin: .25rem 0 .75rem;
    padding: .25rem;
    border: 0;
    border-radius: 1.4rem;
    background: var(--lom-st-soft);
}

.lom-df-per label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.5rem;
    margin: 0;
    padding: .25rem .9rem;
    border-radius: 1.15rem;
    cursor: pointer;
}

.lom-df-per input {
    accent-color: var(--lom-st-accent);
}

.lom-df-per label:has(input:checked) {
    background: var(--lom-st-card);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
    font-weight: 600;
}

.lom-df-nutrients {
    border-top: 1px solid var(--lom-st-line);
}

.lom-df-row {
    display: grid;
    grid-template-columns: minmax(9rem, 1.3fr) 8.5rem minmax(7rem, 1fr);
    align-items: center;
    gap: .75rem;
    padding: .4rem 0;
    border-bottom: 1px solid var(--lom-st-line);
}

.lom-df-row label {
    margin: 0;
}

.lom-df-row.is-sub label {
    padding-inline-start: 1rem;
    color: var(--lom-st-muted);
    font-size: .925rem;
}

.lom-df-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .1rem .5rem;
    font-size: .85rem;
}

.lom-df-share b {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.lom-df-sharebar {
    flex: 0 0 4.5rem;
    height: .5rem;
    border-radius: .25rem;
    background: var(--lom-st-soft);
    overflow: hidden;
}

.lom-df-sharebar i {
    display: block;
    height: 100%;
    background: var(--lom-st-accent);
}

.lom-df-more {
    flex-basis: 100%;
    color: var(--lom-st-muted);
    font-size: .8rem;
}

.lom-df-more:empty {
    display: none;
}

.lom-df-ref {
    margin-top: .75rem;
}

.lom-df-extra {
    margin-top: 1.25rem;
}

/* The foot, in view while the sheet is: save, and see it as families do. */

.lom-df-foot {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    margin: 0 -1.5rem;
    padding: .85rem 1.5rem;
    border-top: 1px solid var(--lom-st-line);
    border-radius: 0 0 1rem 1rem;
    background: var(--lom-st-card);
    box-shadow: 0 -10px 18px -16px rgba(0, 0, 0, .35);
}

.lom-df-foot .btn-primary {
    min-height: 2.75rem;
    padding-inline: 1.5rem;
}

/* The page of the kitchen's link: the canteen and the title, without the bar of the staff. */

.lom-df-linkhead {
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .lom-df-form {
        padding: 1rem 1rem 0;
    }

    .lom-df-part {
        padding-inline-start: 0;
    }

    .lom-df-part::before {
        display: none;
    }

    .lom-df-parthead {
        margin-inline-start: 0;
    }

    .lom-df-dishrow {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    .lom-df-plate {
        width: 6rem;
    }

    .lom-df-dishfields {
        width: 100%;
    }

    .lom-df-pair {
        grid-template-columns: minmax(0, 1fr);
    }

    .lom-df-ing {
        grid-template-columns: minmax(0, 1fr) 5.5rem 2.75rem;
        gap: .35rem;
    }

    .lom-df-row {
        grid-template-columns: minmax(0, 1fr) 8rem;
    }

    .lom-df-share {
        grid-column: 1 / -1;
    }

    .lom-df-foot {
        margin: 0 -1rem;
        padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    }

    .lom-df-foot .btn {
        flex: 1 1 auto;
    }
}

/* Meals: the canteen's television board, the design pass. It builds on the board Meals
   already has (templates/link_board.mustache and its rules in styles.css) and adds three things, read from five metres:
   - each menu's tray seen from above (the place setting of the top-down header, cenital.css) at the head of its card,
     so the queue sees what it will be served before it reads a word;
   - each dish on two lines: its name, big; under it, how it is cooked (.lom-tech, with its pictogram) and its
     allergens, so a long name never pushes the allergens off the card;
   - the technique chip and the allergens sized for the distance.
   Needs, in the template: the tray figure after each menu's name, the dish name in .lom-boarddishname, and the
   technique pictogram inside .lom-tech (see the LEEME). No inline styles beyond the ones the board already uses. */

/* The tray at the head of each menu: the menu's colour on the mat, never taller than a third of the screen. */

.local-oksigeniameals-board .lom-boardtray {
    flex: none;
    width: min(100%, 13em);
    max-height: 17vh;
    margin: 0 auto .3em;
    --lom-mc: var(--lom-color);
}

.local-oksigeniameals-board.lom-dark .lom-boardtray {
    --lom-cen-mc: color-mix(in srgb, var(--lom-color) 65%, #fff);
}

/* Each dish on two lines: the name, then how it is cooked and its allergens. */

.local-oksigeniameals-board .lom-boarddish {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .2em .35em;
}

.local-oksigeniameals-board .lom-boarddishname {
    flex-basis: 100%;
}

.local-oksigeniameals-board .lom-boardallergens {
    display: inline-flex;
}

/* Without a technique the allergens go with the last word of the dish, never alone on a line. */

.local-oksigeniameals-board .lom-boardglue {
    white-space: nowrap;
}

.local-oksigeniameals-board .lom-boardglue .lom-boardallergens {
    gap: .15em;
    margin-inline-start: .1em;
    vertical-align: -.1em;
}

/* What a menu's name said in brackets, on a small line below it; the other menus keep the line empty, so the four names
   and their dishes start at the same height. */

.local-oksigeniameals-board .lom-boardsub {
    min-height: 1.25em;
    margin: -.45em 0 .45em;
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.25;
    opacity: .75;
}

.local-oksigeniameals-board .lom-boardmenu.lom-withtray li {
    font-size: 1.42em;
}

.local-oksigeniameals-board .lom-boardmenu.lom-withtray ul {
    gap: .2em;
}

.local-oksigeniameals-board .lom-boardmenu.lom-withtray .lom-boardname {
    margin-bottom: .3em;
}

/* Many diets (three or more; a canteen can have five or six): the strip becomes a timetable, one line per diet, the
   chip and name in one column and the dishes in the other; and the menus give their trays up (each dish shows its own
   drawing again, beside its name, which costs no height), as Meals already does with five menus or more. So the day
   still fits on one screen at 1920 × 1080 and 1280 × 720. With one or two diets nothing changes. */

.local-oksigeniameals-board.lom-boardmany .lom-boardothers {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: .25em;
}

.local-oksigeniameals-board.lom-boardmany .lom-boardothers > .lom-boardother {
    flex: none;
    display: grid;
    grid-template-columns: minmax(0, 16em) minmax(0, 1fr);
    align-items: baseline;
    column-gap: 1em;
    padding: .15em .8em;
    border-width: 2px 2px 2px .45em;
    border-radius: .55em;
}

.local-oksigeniameals-board.lom-boardmany .lom-boardothers .lom-boardname,
.local-oksigeniameals-board.lom-boardmany .lom-boardothers p {
    margin: 0;
    font-size: 1.1em;
}

.local-oksigeniameals-board.lom-boardmany .lom-boardtray {
    display: none;
}

.local-oksigeniameals-board.lom-boardmany .lom-boardmenu.lom-withtray li {
    font-size: 1.3em;
}

/* On a smaller screen (1280 × 720 and the like) the timetable and the dishes tighten a little more. */

@media (max-height: 820px) {
    .local-oksigeniameals-board.lom-boardmany .lom-boardothers .lom-boardname,
    .local-oksigeniameals-board.lom-boardmany .lom-boardothers p {
        font-size: 1em;
    }

    .local-oksigeniameals-board.lom-boardmany .lom-boardothers > .lom-boardother {
        padding-block: .1em;
    }

    .local-oksigeniameals-board.lom-boardmany .lom-boardmenu.lom-withtray li {
        font-size: 1.2em;
    }
}

/* The tag of a demonstration canteen: the theme's soft colours for information, which keep the text readable in light
   and dark whatever colour the theme gives to «info» (one theme made it dark blue under dark text). */

.lom-demobadge {
    display: inline-block;
    padding: .15em .6em;
    border: 1px solid var(--bs-info-border-subtle, #9eeaf9);
    border-radius: 999px;
    background: var(--bs-info-bg-subtle, #cff4fc);
    color: var(--bs-info-text-emphasis, #055160);
    font-size: .75em;
    font-weight: 600;
    line-height: 1.3;
    vertical-align: .15em;
    white-space: nowrap;
}

/* An action as a pill: its sign, then its words (an arrow goes after them). A link, a button and the summary of a fold
   look the same; the words are the link's colour, which the theme keeps readable in both modes. */

.lom-st-act {
    display: inline-flex;
    flex: none;
    gap: .4rem;
    align-items: center;
    min-height: 2.25rem;
    margin: 0;
    padding: .3rem .85rem .3rem .7rem;
    border: 1px solid var(--lom-st-line);
    border-color: color-mix(in srgb, currentColor 35%, transparent);
    border-radius: 999px;
    background: var(--lom-st-card);
    color: var(--lom-st-link);
    font: inherit;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
}

/* In dark mode the theme underlines every link of the main region with a rule that holds an id; a pill is not a text
   link, and the words of a flex box take the underline of their parent, so it is taken off here. */

a.lom-st-act {
    text-decoration: none !important;
}

.lom-st-act::-webkit-details-marker {
    display: none;
}

.lom-st-act:focus {
    border-color: currentColor;
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-link);
    text-decoration: none;
}

@media (hover: hover) {
    .lom-st-act:hover {
        border-color: currentColor;
        background: var(--lom-st-accentsoft);
        color: var(--lom-st-link);
        text-decoration: none;
    }
}

.lom-st-act:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.lom-st-act[class*="is-"]::before {
    flex: none;
    width: 1.05em;
    height: 1.05em;
    background: currentColor;
    content: "";
    -webkit-mask: var(--lom-st-g) center / contain no-repeat;
    mask: var(--lom-st-g) center / contain no-repeat;
}

.lom-st-act.is-go {
    --lom-st-g: var(--lom-st-g-go);
    padding: .3rem .7rem .3rem .85rem;
}

.lom-st-act.is-go::before {
    order: 2;
}

.lom-st-act.is-edit {
    --lom-st-g: var(--lom-st-g-edit);
}

.lom-st-act.is-add {
    --lom-st-g: var(--lom-st-g-add);
    border-style: dashed;
    border-color: currentColor;
}

.lom-st-act.is-download {
    --lom-st-g: var(--lom-st-g-download);
}

/* Taking someone off a diet and undoing an import are everyday: the page's ink, not an alarm. Deleting is red. */

.lom-st-act.is-remove,
.lom-st-act.is-undo {
    --lom-st-g: var(--lom-st-g-remove);
    color: var(--lom-st-ink);
}

.lom-st-act.is-undo {
    --lom-st-g: var(--lom-st-g-undo);
}

.lom-st-act.is-remove:focus,
.lom-st-act.is-undo:focus {
    background: var(--lom-st-soft);
    color: var(--lom-st-ink);
}

@media (hover: hover) {
    .lom-st-act.is-remove:hover,
    .lom-st-act.is-undo:hover {
        background: var(--lom-st-soft);
        color: var(--lom-st-ink);
    }
}

.lom-st-act.is-delete {
    --lom-st-g: var(--lom-st-g-delete);
    color: var(--bs-danger-text-emphasis, #a12622);
}

.lom-st-act.is-delete:focus {
    background: var(--bs-danger-bg-subtle, #f8d7da);
    color: var(--bs-danger-text-emphasis, #a12622);
}

@media (hover: hover) {
    .lom-st-act.is-delete:hover {
        background: var(--bs-danger-bg-subtle, #f8d7da);
        color: var(--bs-danger-text-emphasis, #a12622);
    }
}

.lom-st-alerts {
    display: grid;
    gap: .5rem;
    margin: .9rem 0 1rem;
    padding: 0;
    list-style: none;
}

.lom-st-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .35rem .85rem;
    align-items: center;
    padding: .6rem .75rem .6rem .8rem;
    border: 1px solid var(--lom-st-line);
    border-radius: .8rem;
    background: var(--lom-st-well);
    color: var(--lom-st-ink);
}

.lom-st-alert > svg {
    flex: none;
    width: 2rem;
    height: 2rem;
    color: var(--lom-st-accent);
}

.lom-st-alert p {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .55rem;
    align-items: baseline;
    min-width: 0;
    margin: 0;
    line-height: 1.35;
}

.lom-st-alert p > span {
    flex: 1 1 12rem;
    min-width: 0;
}

.lom-st-alertn {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lom-st-alert small {
    flex-basis: 100%;
    margin-top: .1rem;
    font-size: .875rem;
}

.lom-st-alert.is-bad {
    border-color: var(--bs-danger-border-subtle, #f1aeb5);
    background: var(--bs-danger-bg-subtle, #f8d7da);
}

.lom-st-alert.is-bad > svg,
.lom-st-alert.is-bad .lom-st-alertn {
    color: var(--bs-danger-text-emphasis, #58151c);
}

.lom-st-alert.is-warn {
    border-color: var(--bs-warning-border-subtle, #ffe69c);
    background: var(--bs-warning-bg-subtle, #fff3cd);
}

.lom-st-alert.is-warn > svg,
.lom-st-alert.is-warn .lom-st-alertn {
    color: var(--bs-warning-text-emphasis, #664d03);
}

@media (max-width: 575px) {
    .lom-st-alert {
        grid-template-columns: auto minmax(0, 1fr);
        padding: .6rem .7rem;
    }

    .lom-st-alert > .lom-st-act {
        grid-column: 2;
        justify-self: start;
    }

    .lom-st-alert > svg {
        align-self: start;
    }
}

/* The drawings of the pills of the lists and of the tiles of the home page are small (22 and 28 px): a thicker line,
   so that they read, and keep 3:1 once smoothed. */

.lom-st-views .lom-st-art {
    stroke-width: 3.2;
}

.lom-st-tiles .lom-st-art {
    stroke-width: 2.8;
}

/* In dark mode the pills' drawings took the theme's own accent, too dark on the dark page: the light accent of the
   other drawings. */

[data-bs-theme="dark"] .lom-st-views .lom-st-art {
    color: #9dc3ef;
    color: color-mix(in srgb, var(--bs-primary, #2563a8) 45%, #fff);
}

/* The arrows: round pills with only their sign; their name is for the screen reader. */

.lom-st-act.is-prev,
.lom-st-act.is-next {
    --lom-st-g: var(--lom-st-g-prev);
    justify-content: center;
    width: 2.25rem;
    padding: 0;
}

.lom-st-act.is-next {
    --lom-st-g: var(--lom-st-g-next);
}

.lom-st-act.is-prev::before,
.lom-st-act.is-next::before {
    width: 1.35em;
    height: 1.35em;
}

/* In a right-to-left language, earlier is on the right: the arrows turn with the page. */

[dir="rtl"] .lom-st-act.is-prev::before,
[dir="rtl"] .lom-st-act.is-next::before {
    transform: scaleX(-1);
}

.lom-st-act.is-print {
    --lom-st-g: var(--lom-st-g-print);
}

/* Meals: the detail pass of the staff panels, part 3: the empty states on the tablecloth
   («el mantel»). A list or a page with nothing to show lays the table and leaves the place empty: the cloth of the
   top-down header (.lom-cen-mesa, its stitched hem) across the top of the box, the empty place on it (the mat, the
   plate and the cutlery, pix/cenital/sin-menu.svg; or, when the empty is good news, the drawing of the list), then
   why, in one sentence, and the next step as pills. Theme colours with their fallbacks: the kitchen's view is also
   shown on the pages for the tablet, outside the staff pages. Goes at the end of styles.css, after parts 1 and 2. */

.lom-st-empty.lom-st-mantel {
    overflow: hidden;
    padding: 0 1.25rem 1.4rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #1d2125);
    text-align: center;
}

.lom-st-mantel h3 {
    margin: 0 0 .3rem;
    color: var(--bs-body-color, #1d2125);
    font-size: 1.2rem;
    font-weight: 800;
}

.lom-st-mantel p {
    margin: 0 0 1rem;
    color: var(--bs-body-color, #1d2125);
}

.lom-st-emptyacts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

/* The kitchen's view, which is wider and sits in its own column. */

.local-oksigeniameals-kid .lom-st-empty.lom-st-mantel {
    margin-top: 1rem;
}

@media (max-width: 575px) {
    .lom-st-empty.lom-st-mantel {
        padding: 0 1rem 1.2rem;
    }
}

/* The head of a printed link page (the kitchen, the menu of a group): the centre's logo and name on a band of its
   colour, only on paper; on the screen, the button to print. */

.local-oksigeniameals-kid .lom-printhead {
    display: none;
}

.local-oksigeniameals-kid .lom-printbtn {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    align-self: flex-start;
    width: auto;
    margin: 0 0 1rem;
}

@media print {
    .local-oksigeniameals-kid .lom-printhead {
        display: flex;
        align-items: center;
        gap: 4mm;
        margin: 0 0 5mm;
        padding: 3mm 5mm;
        border-radius: 2mm;
        background: var(--lom-pc, #0f6cbf);
        color: var(--lom-pcink, #fff);
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .local-oksigeniameals-kid .lom-printlogo {
        box-sizing: border-box;
        height: 13mm;
        max-width: 45mm;
        padding: 1mm 2mm;
        border-radius: 1.5mm;
        background: #fff;
        object-fit: contain;
    }

    .local-oksigeniameals-kid .lom-printcentre {
        font-size: 15pt;
        font-weight: 800;
    }

    /* The whole width of the sheet; and none of the help that only makes sense on a screen. */

    .local-oksigeniameals-kid.lom-linkpage {
        max-width: none;
    }

    .lom-bv,
    .lom-bv-foco,
    .lom-howto-btn,
    .lom-howto-tip,
    dialog.lom-howto {
        display: none !important;
    }

    /* On paper, no way to move to another day or to act: the day as it is. */

    .local-oksigeniameals-kid .lom-daybar .lom-round,
    .local-oksigeniameals-kid form,
    .local-oksigeniameals-kid .btn {
        display: none !important;
    }

    /* The days of a group's menu in two columns, none split between two pages. */

    .local-oksigeniameals-kid .lom-nextlist {
        display: block;
        columns: 2;
        column-gap: 8mm;
    }

    .local-oksigeniameals-kid .lom-nextlist > li {
        margin: 0 0 3mm;
    }
}

/* The weekly sheet of a group to take the register on paper (week.php), an A4 landscape:
   the centre's head, a row for each diner and, for each day, the menu where they choose, a
   box for the class, one for the canteen and a cell for notes; grey where they do not eat. The box of notes below takes
   what the rows leave. */

.lom-wkbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 1rem;
}

.lom-wktools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

/* «Read as text» and «See the welcome again» share the place of the first in the dialog of «How does it work?»: the
   box takes that place and holds both side by side, wrapping when there is no room (each on its own they overlapped). */

.lom-howto .lom-howto-links {
    grid-area: read;
    justify-self: start;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    margin: 0 0 .9rem 1rem;
}

.lom-howto .lom-howto-links .lom-howto-read {
    margin: 0;
}

@media (max-width: 760px), (max-aspect-ratio: 4/5) {
    .lom-howto .lom-howto-links {
        margin: 0 0 .45rem .45rem;
    }
}

/* Choosing closed: the notice with its lock, in sight, and the cards that can no longer be tapped dimmed and still,
   so a tap that does nothing does not look like a fault (Enrique, 31 October 2026). */

.local-oksigeniameals-kid .lom-closednotice {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .8rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-inline-start: 4px solid var(--bs-secondary-color, #5f6b76);
    border-radius: .6rem;
    background: var(--bs-tertiary-bg, #f8f9fa);
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-closednotice .icon {
    margin: 0;
}

/* Taking back what was chosen: a quiet line under the cards, with what comes then. */

.local-oksigeniameals-kid .lom-clearform {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .6rem;
    margin: .25rem 0 .75rem;
}

.local-oksigeniameals-kid .lom-clearbtn {
    padding: .25rem 0;
    font-weight: 700;
}

/* The register: under each name, one tap for how they ate once they are marked as there, or for «did not come» while
   they are not; the chosen one filled. */

.lom-register .lom-regquickrow {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: .1rem 0 .4rem 2.75rem;
}

.lom-register .lom-regate {
    display: none;
    flex-wrap: wrap;
    gap: .35rem;
}

.lom-register .lom-regrow.lom-here .lom-regate {
    display: inline-flex;
}

.lom-register .lom-regrow.lom-here .lom-regchipaway {
    display: none;
}

.lom-register .lom-regchip {
    min-height: 2.25rem;
    padding: .2rem .75rem;
    border: 1.5px solid var(--bs-border-color, #dee2e6);
    border-radius: 999px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #1d2125);
    font-size: .9rem;
    font-weight: 600;
}

.lom-register .lom-regchip[aria-pressed="true"] {
    border-color: var(--bs-primary, #2563a8);
    background: var(--bs-primary, #2563a8);
    color: #fff;
}

.lom-register .lom-regchipaway {
    color: #b42318;
}

.lom-register .lom-regrow.lom-away .lom-regchipaway {
    border-color: #b42318;
    background: #b42318;
    color: #fff;
}

/* The photo of each diner in the register, round beside the name; a tap shows it large, over the page. */

.lom-register .lom-regphoto {
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--bs-border-color, #dee2e6);
    border-radius: 50%;
    background: var(--bs-tertiary-bg, #f8f9fa);
    cursor: zoom-in;
}

.lom-register .lom-regphoto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lom-register .lom-regphoto:focus-visible {
    outline: 3px solid var(--bs-primary, #2563a8);
    outline-offset: 2px;
}

.lom-register .lom-regphotobig {
    max-width: min(92vw, 30rem);
    padding: .75rem;
    border: 0;
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
}

.lom-register .lom-regphotobig::backdrop {
    background: rgba(0, 0, 0, .6);
}

.lom-register .lom-regphotobig img,
.lom-register .lom-regphotobig .lom-regphotobig-creature {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .6rem;
    cursor: zoom-out;
}

.lom-register .lom-regphotobig [hidden] {
    display: none;
}

/* A severe allergy: the only red strip in Meals. In the row, a strip that opens the card; on top, who has one today. */

.lom-regsafetysum {
    margin: 0 0 .75rem;
    padding: .5rem .75rem;
    border-inline-start: 4px solid var(--bs-danger, #dc3545);
    background: var(--bs-danger-bg-subtle, #f8d7da);
    color: var(--bs-danger-text-emphasis, #58151c);
    font-weight: 600;
}

.lom-regsevere {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    min-height: 44px;
    margin: .25rem 0 0;
    padding: .35rem .75rem;
    border: 0;
    border-inline-start: 4px solid var(--bs-danger, #dc3545);
    border-radius: .4rem;
    background: var(--bs-danger-bg-subtle, #f8d7da);
    color: var(--bs-danger-text-emphasis, #58151c);
    font-weight: 700;
    text-align: start;
}

.lom-regseveremark {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--bs-danger, #dc3545);
    color: #fff;
}

.lom-regseverego {
    margin-inline-start: auto;
    padding: .15rem .5rem;
    border: 1px solid currentColor;
    border-radius: .4rem;
    font-size: .85rem;
    font-weight: 600;
}

.lom-safety {
    max-width: min(94vw, 32rem);
    padding: 1.25rem;
    border: 0;
    border-top: 6px solid var(--bs-danger, #dc3545);
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
}

.lom-safety::backdrop {
    background: rgba(0, 0, 0, .6);
}

.lom-safetykicker {
    margin: 0;
    color: var(--bs-danger-text-emphasis, #58151c);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lom-safetyname {
    margin: 0 0 .5rem;
    /* Clear of the button that closes the card. */
    padding-inline-end: 3rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.lom-safetyallergens {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.lom-safetyaction {
    margin: .75rem 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.lom-safetyphones {
    display: grid;
    gap: .5rem;
    margin: 1rem 0 0;
}

.lom-safetycall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 56px;
    font-size: 1.15rem;
    font-weight: 700;
}

.lom-safety form {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
}

.lom-ksevere,
.lom-wksevere,
.lom-labelsevere {
    flex: none;
    width: 1em;
    height: 1em;
    margin-inline-end: .2em;
    vertical-align: -.125em;
    color: #c0262d;
}

[data-bs-theme="dark"] .lom-ksevere,
[data-bs-theme="dark"] .lom-wksevere,
[data-bs-theme="dark"] .lom-labelsevere {
    color: #ff8a80;
}

.lom-register .lom-regphotobig form {
    position: absolute;
    top: 1rem;
    inset-inline-end: 1rem;
}

/* A family's child with their photo beside their name. */

/* The name of a diner beside their photo: a long one wraps beside it, not under it. */

.lom-famname {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.lom-famphoto {
    flex: none;
    width: 56px;
    height: 56px;
    border: 2px solid var(--bs-border-color, #dee2e6);
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
}

/* Whoever has no photo, a creature of Meals in its place: it fills its circle with its own paper. In dark,
   the inks of the guide's dark. */

.lom-famcreature {
    display: inline-block;
    padding: 0;
}

.lom-bicho {
    display: block;
    width: 100%;
    height: 100%;
}

.lom-famcreature {
    vertical-align: middle;
    overflow: hidden;
}

[data-bs-theme="dark"] .lom-bicho {
    --lom-g-ink: #F4EFE6;
    --lom-g-paper: #17233A;
    --lom-g-rust: #EE9A6C;
}

/* The name of whoever takes the register, asked for when a tap comes before it: marked, so it is seen at once. */

.lom-register [data-region="askname"].lom-askname-now {
    padding: .6rem .75rem;
    border: 2px solid var(--bs-primary, #2563a8);
    border-radius: .75rem;
    background: color-mix(in srgb, var(--bs-primary, #2563a8) 8%, var(--bs-body-bg, #fff));
}

/* The ready-made notes in colour by how it went (Enrique, 31 October 2026): the first option green, the second amber,
   the third red, each with white ink that reads on it. */

.lom-register .lom-regcycle[data-level="0"] {
    border-color: #2f7d46;
    background: #2f7d46;
    color: #fff;
}

.lom-register .lom-regcycle[data-level="1"] {
    border-color: #a15c07;
    background: #a15c07;
    color: #fff;
}

.lom-register .lom-regcycle[data-level="2"] {
    border-color: #b42318;
    background: #b42318;
    color: #fff;
}

.lom-register .lom-regphotoname {
    margin: .6rem 0 0;
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
}

.lom-msure {
    display: block;
    color: #2f7d46;
    font-size: .85rem;
    font-weight: 700;
}

/* What a family says of a day, under the card of the day and without a box of its own: it is not the day itself. What
   counts is the shape: dots while nobody has confirmed it, filled with its tick once a person has. */

.lom-noticecard {
    margin: .75rem .25rem;
}

.lom-noticetitle {
    margin: 0 0 .4rem;
    font-size: .925rem;
    font-weight: 700;
}

.lom-notices {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.lom-noticestate {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .925rem;
    line-height: 1.35;
}

.lom-noticemark {
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-weight: 700;
    line-height: 1.3rem;
    text-align: center;
}

.lom-noticestate.is-confirmed .lom-noticemark {
    border-color: var(--bs-success, #198754);
    background: var(--bs-success, #198754);
    color: #fff;
}

.lom-noticesaid {
    display: block;
}

.lom-noticetext {
    flex: 1 1 auto;
    min-width: 0;
}

.lom-noticehint {
    display: block;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
}

.lom-noticeundo {
    appearance: none;
    flex: none;
    min-height: 44px;
    padding: 0 .4rem;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.lom-noticebuttons {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.lom-noticebuttons form {
    display: flex;
    flex: 1 1 10rem;
}

.lom-noticebutton {
    appearance: none;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
    padding: .35rem .75rem;
    border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .5);
    border-radius: .6rem;
    background: transparent;
    color: var(--bs-body-color, #212529);
    font: inherit;
    font-weight: 500;
    line-height: 1.25;
    text-align: start;
    cursor: pointer;
}

@media (hover: hover) {
    .lom-noticebutton:hover:not(:disabled) {
        border-color: var(--lom-color, var(--bs-primary, #0f6cbf));
    }
}

.lom-noticebutton:disabled {
    border-style: dashed;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    cursor: not-allowed;
}

.lom-noticebutton:focus-visible,
.lom-noticeundo:focus-visible {
    outline: 3px solid var(--lom-color, var(--bs-primary, #0f6cbf));
    outline-offset: 2px;
}

.lom-noticebutton small {
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .8rem;
    font-weight: 400;
}

.lom-noticelate {
    margin: 0;
    font-size: .925rem;
}

.lom-noticehint a,
.lom-noticelate a {
    white-space: nowrap;
}

.lom-noticefold {
    margin-top: .4rem;
    font-size: .925rem;
}

.lom-noticefold > summary {
    min-height: 44px;
    padding: .55rem 0;
    cursor: pointer;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
}

/* The same, for the kitchen and for those who run the canteen. */

.lom-staffnoticestitle {
    margin: 0 0 .25rem;
    font-size: 1rem;
    font-weight: 700;
}

.lom-staffnoticediet {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .15rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.lom-staffnotices {
    margin: 1rem 0;
    padding: .75rem .9rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .75rem;
}

.lom-staffnoticelead {
    margin: .25rem 0;
    font-size: 1rem;
}

.lom-staffnoticelist {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-staffnotice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem .75rem;
    padding: .5rem .65rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .6rem;
}

.lom-staffnotice.is-late {
    border-width: 2px;
    border-color: var(--bs-warning, #ffc107);
}

.lom-staffnoticewho {
    min-width: 0;
}

.lom-staffnoticewho small {
    display: block;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .85rem;
}

.lom-staffnoticeok {
    color: var(--bs-success, #198754);
    font-weight: 700;
}

.lom-staffnoticeaways {
    margin-top: .5rem;
}

.lom-staffnoticeaways > summary {
    min-height: 44px;
    padding: .55rem 0;
    cursor: pointer;
}

.lom-noticesettings {
    margin: 1rem 0 0;
    font-size: .875rem;
}

/* Who does not come stays on the register, crossed out, so that nobody looks for them. */

.lom-regnotcominglist {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin: .5rem 0 0;
    padding: 0 .5rem;
    list-style: none;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
}

.lom-regnotcoming {
    font-size: .875rem;
    font-style: italic;
}

/* The settings of the notices. */

/* The tutor of a group: keep it in the account, tell the canteen, and the date its link ends. */

/* Keeping the group in the account, before it is kept: the first thing on the page, a card with one button. */

.lom-tutorkeep {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "art title go" "art hint go";
    align-items: center;
    gap: .1rem 1rem;
    margin: 0 0 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(var(--bs-primary-rgb, 15, 108, 191), .35);
    border-radius: .9rem;
    background: rgba(var(--bs-primary-rgb, 15, 108, 191), .07);
}

.lom-tutorkeep[hidden] {
    display: none;
}

.lom-tutorkeep-art {
    grid-area: art;
    display: flex;
    color: var(--bs-link-color, #0f6cbf);
}

[data-bs-theme="dark"] .lom-tutorkeep {
    border-color: rgba(var(--bs-primary-rgb, 15, 108, 191), .65);
    background: rgba(var(--bs-primary-rgb, 15, 108, 191), .2);
}

.lom-tutorkeep-art svg {
    width: 48px;
    height: 48px;
}

.lom-tutorkeep-title {
    grid-area: title;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.lom-tutorkeep-hint {
    grid-area: hint;
    margin: 0;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
}

.lom-tutorkeep-go {
    grid-area: go;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
}

/* On a phone the drawing goes beside the title, and the text gets the whole width. */

@media (max-width: 575.98px) {
    .lom-tutorkeep {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas: "art title" "hint hint" "go go";
        gap: .35rem .75rem;
    }

    .lom-tutorkeep-art svg {
        width: 32px;
        height: 32px;
    }

    .lom-tutorkeep-go {
        margin-top: .35rem;
    }
}

/* Once kept, a quiet line at the end. */

.lom-tutorkept {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .6rem;
    margin: 1rem 0 .5rem;
    font-size: .925rem;
}

.lom-tutornotices {
    margin: .75rem 0;
}

.lom-tutornotices .lom-noticefold > summary {
    color: var(--bs-body-color, #212529);
    font-weight: 500;
}

.lom-kuntil {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem .6rem;
    margin-bottom: .75rem;
    font-size: .925rem;
}

.lom-kuntil input[type="date"] {
    width: auto;
}

.lom-kuntiltext {
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .85rem;
}

.lom-kuntiltext.is-ended {
    color: var(--bs-body-color, #212529);
    font-weight: 600;
}

.lom-noticerow {
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-weight: 400;
}

.lom-noticerow.is-waiting {
    color: var(--bs-body-color, #212529);
    font-weight: 600;
}

.lom-linkkicker {
    margin: 0;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .875rem;
    font-weight: 700;
}

.lom-kuntilline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem .4rem;
    margin: 0;
}

.lom-kuntilline .lom-noticeundo {
    min-height: 44px;
    padding: 0;
    font-size: .85rem;
}

/* Who keeps a tutor's group in their account: a quiet list under the link, each with a way out. */

.lom-kkeepers {
    margin: .25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: .85rem;
}

.lom-kkeeper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .15rem .5rem;
    margin: 0;
}

.lom-kkeeper .lom-noticeundo {
    min-height: 44px;
    padding: 0;
    font-size: .85rem;
}

/* The PIN typed again to keep a group, or to change the PIN of a family link: short, with its figures spaced. */

.lom-keeppin {
    width: 9.5rem;
    flex: 0 0 auto;
    font-weight: 700;
    letter-spacing: .2em;
    text-align: center;
}

.lom-tutorkeep-error {
    grid-column: 1 / -1;
    margin: .25rem 0 0;
    color: var(--bs-danger-text-emphasis, #a51d2d);
    font-weight: 600;
}

.local-oksigeniameals-kid .lom-thislinkform {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: .5rem 0 .25rem;
}

/* A diet of a single day, in the cell of its day and not next to the name. */

.local-oksigeniameals-kid .lom-kdietday {
    margin-top: .15rem;
    font-size: .8rem;
}

/* The page of the tutor of a group: one list, each pupil once, with the same week columns on the head and on each row. A row
   with nothing to say is quiet, name and week, so that whoever has something stands out; a thin line between them and no box,
   as 25 boxes are a wall. It goes by its own width: the week under the name on a phone, at the right when there is room. */

.lom-tg {
    container-type: inline-size;
}

.lom-tg-next {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin: .5rem 0 1rem;
}

.lom-tg-nexttitle {
    margin: 0;
}

.lom-tg-nexttitle span {
    display: block;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .875rem;
}

.lom-tg-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.lom-tg-filter {
    appearance: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 4.25rem;
    min-height: 44px;
    padding: .25rem .65rem;
    border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .5);
    border-radius: .6rem;
    background: transparent;
    color: var(--bs-body-color, #212529);
    font: inherit;
    line-height: 1.15;
    text-align: start;
    cursor: pointer;
}

.lom-tg-filter b {
    font-size: 1.2rem;
    font-variant-numeric: tabular-nums;
}

.lom-tg-filter span {
    font-size: .8rem;
}

.lom-tg-filter[aria-pressed="true"] {
    border-color: var(--bs-body-color, #212529);
    box-shadow: inset 0 0 0 1px var(--bs-body-color, #212529);
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .09);
}

.lom-tg-filter:focus-visible {
    outline: 3px solid var(--bs-primary, #0f6cbf);
    outline-offset: 2px;
}

.lom-tg-find {
    margin-bottom: .75rem;
}

.lom-tg-week {
    display: grid;
    grid-template-columns: repeat(var(--lom-days, 5), minmax(0, 1fr));
    align-items: stretch;
    justify-items: stretch;
}

.lom-tg-head {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: .35rem 0;
    background: var(--bs-body-bg, #fff);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.lom-tg-dayname {
    padding: .1rem 0;
    border-radius: .4rem;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.lom-tg-dayname.is-next {
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .09);
    color: var(--bs-body-color, #212529);
    font-weight: 800;
}

/* The key of the whole table: as big as the text, in the colour of the text. */

.lom-tg-legend {
    margin: .4rem 0 .3rem;
    color: var(--bs-body-color, #212529);
    font-size: .9rem;
}

.lom-tg-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    list-style: none;
}

.lom-tg-row {
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.lom-tg-row[hidden] {
    display: none;
}

.lom-tg-sum {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1rem;
    gap: 0 .5rem;
    align-items: center;
    list-style: none;
}

summary.lom-tg-sum {
    cursor: pointer;
}

summary.lom-tg-sum::-webkit-details-marker {
    display: none;
}

@media (hover: hover) {
    summary.lom-tg-sum:hover {
        background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .04);
    }
}

summary.lom-tg-sum:focus-visible {
    outline: 3px solid var(--bs-primary, #0f6cbf);
    outline-offset: -3px;
}

.lom-tg-who {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .05rem .6rem;
    min-width: 0;
    padding: .45rem .25rem .2rem;
}

.lom-tg-name {
    flex: 1 1 100%;
    font-weight: 600;
    line-height: 1.25;
}

.lom-tg-state {
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .85rem;
}

.lom-tg-state.is-waiting {
    color: var(--bs-body-color, #212529);
    font-weight: 700;
}

.lom-tg-state.is-confirmed {
    color: var(--bs-success-text-emphasis, #0a3622);
    font-weight: 600;
}

.local-oksigeniameals-kid .lom-tg .lom-kdietname {
    font-size: .85rem;
    font-weight: 700;
}

.lom-tg-note {
    margin: 0;
    font-size: .925rem;
}

.lom-tg-sum > .lom-tg-week {
    grid-column: 1 / -1;
}

.lom-tg-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
}

.lom-tg-day.is-next {
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .07);
}

.lom-tg-ate {
    margin-inline-start: .15rem;
    color: var(--bs-success-text-emphasis, #0a3622);
    font-weight: 800;
}

.lom-tg-away {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1.5px dotted currentColor;
    border-radius: .5rem;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-weight: 700;
}

.lom-tg-chevron {
    justify-self: center;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: 1.25rem;
    line-height: 1;
    transition: transform .15s ease;
}

.lom-tg-fold[open] .lom-tg-chevron {
    transform: rotate(90deg);
}

.lom-tg-body {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: .35rem .25rem .9rem;
}

.lom-tg-body .lom-noticetitle {
    margin: .4rem 0 0;
}

.lom-tg-notes {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin: 0;
    padding: 0;
    font-size: .925rem;
    list-style: none;
}

@container (min-width: 44rem) {
    .lom-tg-sum {
        grid-template-columns: minmax(0, 1fr) 24rem 1rem;
        min-height: 56px;
    }

    .lom-tg-who {
        padding-block: .35rem;
    }

    .lom-tg-sum > .lom-tg-week {
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
    }

    .lom-tg-chevron {
        grid-column: 3;
        grid-row: 1;
    }

    .lom-tg-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 24rem 1rem;
        column-gap: .5rem;
    }

    .lom-tg-head .lom-tg-week {
        grid-column: 2;
    }

    /* Wide, as on a projected board: the group's name and the next day's figures on one line, the week and the search on
       the next, so the pupils start higher up. */

    .lom-tg-top {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: .5rem 2rem;
        margin-bottom: .75rem;
    }

    .lom-tg-top .lom-tg-next {
        flex-wrap: nowrap;
        gap: 1.5rem;
        margin: 0;
    }

    .lom-tg-bar {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: .5rem;
    }

    .local-oksigeniameals-kid .lom-tg-bar .lom-daybar {
        flex: none;
        margin: 0;
    }

    .lom-tg-bar .lom-tg-find {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
    }

    .lom-tg-row.is-alt {
        background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .035);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lom-tg-chevron {
        transition: none;
    }
}

@media print {
    .lom-tg-chevron {
        display: none;
    }
}

/* Boost limits a page to about 830 px, where the week does not fit at the right of the name. */

body:has(.lom-tg) #page.drawers .main-inner {
    max-width: 100%;
}

/* The week is not the title: the size of the body, on one line, and apart from the search. */

.local-oksigeniameals-kid .lom-tg .lom-daybar {
    margin-bottom: .75rem;
}

.local-oksigeniameals-kid .lom-tg .lom-daytitle,
.local-oksigeniameals-kid .lom-tg .lom-daytitle strong {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.lom-tg-state {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.lom-tg-state .lom-noticemark {
    width: 1.1rem;
    height: 1.1rem;
    border-width: 1px;
    font-size: .7rem;
    line-height: .95rem;
}

.lom-tg-state.is-confirmed .lom-noticemark {
    border-color: var(--bs-success, #198754);
    background: var(--bs-success, #198754);
    color: #fff;
}

.lom-tg-state .lom-noticemark:empty {
    display: none;
}

.lom-tg-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    margin: .5rem 0 1rem;
}

.lom-tg-empty p {
    margin: 0;
}

/* A day on top of the usual ones: folded on the page of a family, as most never need it; the days, as tiles. */

.lom-stayfold {
    margin: .75rem 0;
}

.lom-stayfold .lom-note {
    text-align: start;
}

.lom-staydays {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
    gap: .4rem;
}

.lom-stayday.has-notice {
    grid-column: 1 / -1;
    margin: .25rem 0;
}

.lom-staffnoticeacts {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.lom-staysay {
    margin: 0 0 .35rem;
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .875rem;
}

.lom-stayfold > .lom-noticetitle {
    margin-top: .6rem;
}

.lom-noticeundo {
    display: inline-flex;
    align-items: center;
    padding: 0 .6rem;
    /* «Ya vuelve» in one line. */
    white-space: nowrap;
}

/* «No viene varios días…» right under «Avisar para hoy», without a gap of its own. */

.lom-noticecard.lom-spancard,
.lom-spancard > .lom-noticefold {
    margin-top: 0;
}

/* The fold of who does not come, as those of the family: a chevron that turns. */

.lom-staffnoticeaways > summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    list-style: none;
}

.lom-staffnoticeaways > summary::-webkit-details-marker {
    display: none;
}

.lom-staffnoticeaways > summary::before {
    content: "";
    width: .55rem;
    height: .55rem;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .15s ease;
}

.lom-staffnoticeaways[open] > summary::before {
    transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
    .lom-staffnoticeaways > summary::before {
        transition: none;
    }
}

/* The light meal a monitor tells of: its state under the name, as on the page of the family, without its box. */

.lom-register .lom-reglightstate {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: .2rem 0 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: .85rem;
    font-weight: 400;
}

/* What to cook: its number on the line of the others. When the day has changed, the warm of the notices shows it from afar, and
   the account under the number says why. */

.local-oksigeniameals-kid .lom-tiletotal .lom-tilelabel {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    line-height: 1.1;
    text-align: center;
}

.local-oksigeniameals-kid .lom-tiletotal.is-changed {
    border-color: var(--bs-warning-border-subtle, #c2410c);
    background: var(--bs-warning-bg-subtle, #fff7ed);
    color: var(--bs-warning-text-emphasis, inherit);
}

.lom-tiletotal .lom-tileplan {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* The month at a glance: the menus in rows and what they bring in columns. Only the letter of a menu has a colour: here the colour of
   a thing would look like a judgement. A zero is there, and quieter. */

.lom-balance {
    margin-top: 1.5rem;
}

.lom-balancetable {
    width: 100%;
    margin-top: .6rem;
    border-collapse: collapse;
}

.lom-balance .lom-balancetable,
.lom-balance .lom-balancetable th,
.lom-balance .lom-balancetable td {
    border: 0 !important;
}

.lom-balance .lom-balancetable th,
.lom-balance .lom-balancetable td {
    padding: .5rem .35rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6) !important;
    vertical-align: middle;
}

.lom-balancetable thead th {
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .85rem;
    font-weight: 700;
    text-align: center;
    vertical-align: bottom;
}

.lom-balancetable tbody th {
    font-weight: 700;
    text-align: start;
}

.lom-balancetable td {
    width: 11%;
    font-size: 1.1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.lom-balancetable td.is-none {
    color: var(--bs-secondary-color, #5f6b76);
    font-weight: 400;
}

.lom-balance .lom-balancetable tbody tr:last-child th,
.lom-balance .lom-balancetable tbody tr:last-child td {
    border-bottom: 0 !important;
}

.lom-balancemenu {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

@media (max-width: 575.98px) {
    .lom-balancename {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .lom-balancehead {
        display: inline-block;
        transform: rotate(180deg);
        writing-mode: vertical-rl;
    }

    .lom-balancetable th,
    .lom-balancetable td {
        padding: .45rem .15rem;
    }

    .lom-balancetable td {
        width: auto;
    }
}

/* Who can tell the canteen what: a card for each thing, what it does on one side and who can say it on the other; a touch saves it. */

.lom-dncards {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.lom-dncard {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: .5rem 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
}

@media (max-width: 767.98px) {
    .lom-dncard {
        grid-template-columns: minmax(0, 1fr);
    }
}

.lom-dntext {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.lom-dncard p {
    margin: 0;
}

.lom-dnhead {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.lom-dnhead h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.15;
}

/* The drawings are the only colour here, so that each card is known without reading it. */

.lom-dnartbox {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    background: rgba(37, 99, 168, .12);
    background: rgba(var(--bs-primary-rgb, 37, 99, 168), .12);
    color: var(--bs-primary, #2563a8);
}

[data-bs-theme="dark"] .lom-dnartbox {
    background: rgba(var(--bs-primary-rgb, 37, 99, 168), .28);
    color: #9dc3ef;
    color: color-mix(in srgb, var(--bs-primary, #2563a8) 45%, #fff);
}

.lom-dnart {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
}

.lom-dnwho {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
}

.lom-dnwhoart {
    display: block;
    flex: none;
    width: 1.75rem;
    height: 1.75rem;
}

/* Whoever cannot say it is seen at a glance. */

.lom-dnrow:has(input:not(:checked)) .lom-dnwho {
    opacity: .5;
}

.lom-dnrows {
    display: flex;
    flex-direction: column;
    align-self: start;
}

.lom-dnrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 3rem;
    margin: 0;
    padding: .35rem 0;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    font-weight: 600;
    cursor: pointer;
}

.lom-dnrow:first-child {
    border-top: 0;
}

@media (max-width: 767.98px) {
    .lom-dnrow:first-child {
        border-top: 1px solid var(--bs-border-color, #dee2e6);
    }
}

.lom-dnrow.is-fixed {
    cursor: default;
}

.lom-dnrow small {
    color: var(--bs-secondary-color, #5f6b76);
    font-weight: 400;
}

.lom-dnwho small {
    display: block;
}

.lom-dnrow input {
    position: absolute;
    opacity: 0;
}

.lom-dnrow .lom-track {
    position: relative;
    flex: 0 0 2.75rem;
    height: 1.6rem;
    border-radius: 1rem;
    background: var(--bs-tertiary-color, #adb5bd);
    transition: background .15s;
}

.lom-dnrow .lom-track::after {
    position: absolute;
    top: .2rem;
    inset-inline-start: .2rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: #fff;
    content: "";
    transition: transform .15s;
}

.lom-dnrow input:checked + .lom-track {
    background: var(--bs-primary, #2563a8);
}

.lom-dnrow input:checked + .lom-track::after {
    transform: translateX(1.15rem);
}

.lom-dnrow input:focus-visible + .lom-track {
    outline: 2px solid var(--bs-primary, #2563a8);
    outline-offset: 2px;
}

.lom-dnclock {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
}

.lom-dnclock label {
    margin: 0;
    font-weight: 600;
}

.lom-dnclock input.lom-clock {
    flex: 0 0 auto;
    width: 5.5rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lom-dnclock select {
    flex: 1 1 8rem;
    width: auto;
    min-width: 0;
}

.lom-dnclock p {
    flex: 1 1 100%;
}

.lom-dnclock.is-off {
    opacity: .5;
}

.lom-dnphone {
    margin-top: .8rem;
}

.lom-dnphonefield {
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: .3rem;
}

.lom-dnphonefield label {
    margin: 0;
    font-weight: 600;
}

.lom-dnphonefield input {
    width: 100%;
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.lom-dnsaved {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    z-index: 1040;
    margin: 0;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: var(--bs-success, #198754);
    color: #fff;
    font-weight: 700;
    transform: translateX(-50%);
}

.lom-dnsaved.is-wrong {
    background: var(--bs-danger, #ca3120);
}

/* On the page of a family: to be told outside it. */

.lom-familynotices .lom-note {
    text-align: start;
}

.lom-familynotices .lom-familyon {
    margin-inline-start: .35rem;
    padding: .05rem .5rem;
    border-radius: 999px;
    background: var(--bs-success, #198754);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

.lom-familymails {
    margin: .5rem 0;
    padding: 0;
    list-style: none;
}

.lom-familymails li {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    overflow-wrap: anywhere;
}

.lom-familymails li > span,
.lom-familytomorrow > span {
    flex: 1;
    min-width: 0;
}

.lom-familymails form {
    margin: 0;
}

.lom-familytomorrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .5rem 0;
}

.lom-familytomorrow .lom-big {
    width: 100%;
}

.lom-familyadd {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin: .5rem 0;
}

.lom-familyadd label {
    margin: 0;
    font-weight: 600;
}

.lom-familynotices a.lom-big {
    margin-top: .5rem;
    text-align: center;
    text-decoration: none;
}

/* Someone who is on no list yet: a normal state, not an error. */

.lom-notdiner {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding-bottom: 1.5rem;
}

.lom-notdiner h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}

.lom-notdiner .lom-note {
    margin: 0;
    text-align: start;
}

/* A channel of the phone that is ready, with the notices of the canteen off on it. */

.lom-dnoff {
    margin: .5rem 0 0;
    color: var(--lom-st-muted, #5f6b76);
    font-size: .9rem;
}

/* Old board browsers. Interactive whiteboards with Android 8 and Firefox 98 are still in classrooms (November 2026), and
   the tutor's page ends up projected on one, as may a pupil's menu: that browser knows neither container queries, nor
   color-mix(), nor :has(). What it does not know is only an improvement, and these blocks give it the same page, a little
   plainer. A declaration with color-mix() and var() is not dropped when it is read: it fails when it is applied, and a
   value written before it does not count, hence @supports. */

@supports not (container-type: inline-size) {
    /* The card of the day by the width of the window: in a dashboard it has most of it. Two columns, the tray beside the
       day, as the card does by its own width; in one, the tray smaller and on the left, with the text. */

    @media (min-width: 700px) {
        .local-oksigeniameals-card.lom-hasaside {
            grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        }
        .local-oksigeniameals-card .lom-cardaside {
            padding-inline-start: 1.75rem;
            border-inline-start: 1px solid var(--bs-border-color, #dde3ea);
        }
        .local-oksigeniameals-card.lom-hastray,
        .local-oksigeniameals-card.lom-hastray.lom-hasaside {
            grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
        }
        .local-oksigeniameals-card.lom-hastray .lom-cardaside {
            grid-column: 1 / -1;
            padding: 1rem 0 0;
            border-inline-start: 0;
            border-top: 1px solid var(--bs-border-color, #dde3ea);
        }
    }

    @media (max-width: 699.98px) {
        .local-oksigeniameals-card .lom-cardtray {
            width: min(100%, 9rem);
            justify-self: start;
        }
    }

    /* The tutor's page fills the screen, so its width stands for the width of the list. */

    @media (min-width: 50rem) {
        .lom-tg-sum {
            grid-template-columns: minmax(0, 1fr) 24rem 1rem;
            min-height: 56px;
        }
        .lom-tg-who {
            padding-block: .35rem;
        }
        .lom-tg-sum > .lom-tg-week {
            grid-column: 2;
            grid-row: 1;
            align-self: stretch;
        }
        .lom-tg-chevron {
            grid-column: 3;
            grid-row: 1;
        }
        .lom-tg-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 24rem 1rem;
            column-gap: .5rem;
        }
        .lom-tg-head .lom-tg-week {
            grid-column: 2;
        }
        .lom-tg-top {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-end;
            justify-content: space-between;
            gap: .5rem 2rem;
            margin-bottom: .75rem;
        }
        .lom-tg-top .lom-tg-next {
            flex-wrap: nowrap;
            gap: 1.5rem;
            margin: 0;
        }
        .lom-tg-bar {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: .5rem;
        }
        .local-oksigeniameals-kid .lom-tg-bar .lom-daybar {
            flex: none;
            margin: 0;
        }
        .lom-tg-bar .lom-tg-find {
            flex: 1 1 auto;
            min-width: 0;
            margin: 0;
        }
        .lom-tg-row.is-alt {
            background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .035);
        }
    }
}

@supports not selector(:has(a)) {
    /* The menu a pupil picks, framed in its colour: the frame is drawn behind the text, as a label cannot ask after its
       checked input without :has(). */

    .local-oksigeniameals-kid .lom-option {
        position: relative;
        isolation: isolate;
    }

    .local-oksigeniameals-kid .lom-radio:checked ~ .lom-optiontext::before {
        content: "";
        position: absolute;
        inset: -3px;
        z-index: -1;
        border: 3px solid var(--lom-color);
        border-radius: 1rem;
        background: var(--lom-tint);
    }
}

/* The tutor: who has days left to choose, while the choice is open; a tap shows them. */

.lom-tg-choosing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .75rem;
    margin: .5rem 0 .75rem;
}

/* The figure of who has days to choose is amber, as the label on their lines: those are the ones it shows. */

.lom-tg-filter.is-choose {
    border-color: rgba(var(--bs-warning-rgb, 255, 193, 7), .95);
}

.lom-tg-filter.is-choose b {
    color: var(--bs-warning-text-emphasis, #664d03);
}

.lom-tg-filter.is-choose[aria-pressed="true"] {
    border-color: rgba(var(--bs-warning-rgb, 255, 193, 7), 1);
    box-shadow: inset 0 0 0 1px rgba(var(--bs-warning-rgb, 255, 193, 7), 1);
    background: rgba(var(--bs-warning-rgb, 255, 193, 7), .3);
}

.lom-tg-all {
    appearance: none;
    min-height: 44px;
    padding: 0 .4rem;
    border: 0;
    background: none;
    color: var(--bs-link-color, #0f6cbf);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.lom-tg-all[hidden] {
    display: none;
}

.lom-tg-closes {
    color: var(--bs-secondary-color, rgba(33, 37, 41, .75));
    font-size: .9rem;
}

.lom-tg-choose,
.lom-tg-reqmark {
    display: inline-block;
    padding: 0 .45rem;
    border: 1px solid rgba(var(--bs-warning-rgb, 255, 193, 7), .9);
    border-radius: .45rem;
    background: rgba(var(--bs-warning-rgb, 255, 193, 7), .14);
    color: var(--bs-body-color, #212529);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.5;
}

.lom-tg-reqmark {
    border-color: rgba(var(--bs-body-color-rgb, 33, 37, 41), .35);
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .06);
}

/* A diet passed on by the tutor: what became of it, and the form to pass one on, folded. */

.lom-tg-requests {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin: 0;
    padding: 0;
    font-size: .925rem;
    list-style: none;
}

.lom-tg-requests li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 .5rem;
}

/* Its state, a label like the one on the folded line; what was said, below. */

.lom-tg-reqstate {
    display: inline-block;
    padding: 0 .45rem;
    border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .35);
    border-radius: .45rem;
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .06);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.5;
}

.lom-tg-reqstate.is-accepted {
    border-color: rgba(var(--bs-success-rgb, 25, 135, 84), .6);
    background: rgba(var(--bs-success-rgb, 25, 135, 84), .12);
    color: var(--bs-success-text-emphasis, #0a3622);
}

/* The state and the way to take it back go together, also when a long name sends them to the next line. */

.lom-tg-reqbox {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
}

.lom-tg-requests .lom-noticeundo {
    padding: 0;
}

.lom-tg-reqnote {
    flex-basis: 100%;
    font-size: .875rem;
}

.lom-tg-propose {
    margin-top: .35rem;
}

.lom-tg-propose > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--bs-link-color, #0f6cbf);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.lom-tg-propose > summary::-webkit-details-marker {
    display: none;
}

/* Folded, the same chevron as the rows; open, turned down. */

.lom-tg-propose > summary::before {
    font-size: 1.25rem;
    line-height: 1;
    content: "›";
    transition: transform .15s ease;
}

.lom-tg-propose[open] > summary::before {
    transform: rotate(90deg);
}

.lom-tg-proposeform {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .25rem 0 .5rem;
}

.lom-tg-proposeform p {
    margin: 0 0 .25rem;
}

.lom-tg-fields {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.lom-tg-field {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}

.lom-tg-proposeform label {
    margin: 0;
    font-weight: 600;
}

.lom-tg-requests form {
    margin: 0;
}

@container (min-width: 44rem) {
    .lom-tg-fields {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
        gap: .5rem 1rem;
    }
}

.lom-tg-proposeform .btn {
    align-self: flex-start;
    margin-top: .5rem;
}

/* Open, the row says it below with its state: the mark of the line would repeat it. */

.lom-tg-fold[open] .lom-tg-reqmark {
    display: none;
}

/* The forecast on screen, in the language of the paper. Everything hangs from .lom-pv, and light and dark are only the five inks
   below. The type is declared by the page: see README.md. */

.lom-pv {
    --pv-paper: #e7edf1;
    --pv-sheet: #f1f5f7;
    --pv-ink: #14305c;
    --pv-red: #d2381c;
    --pv-red-text: #c4311a;
    --pv-line: rgba(20, 48, 92, .26);
    --pv-soft: rgba(20, 48, 92, .1);
    --pv-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='18'%3E%3Cg fill='none' stroke='%2314305c' stroke-opacity='.075' stroke-width='.6'%3E%3Cpath d='M0 3c60 5 120 5 180 0s120-5 180 0'/%3E%3Cpath d='M0 9c60 5 120 5 180 0s120-5 180 0'/%3E%3Cpath d='M0 15c60 5 120 5 180 0s120-5 180 0'/%3E%3C/g%3E%3C/svg%3E");
    position: relative;
    min-height: 100vh;
    padding: 26px 34px 42px;
    color: var(--pv-ink);
    background: var(--pv-paper) var(--pv-grain);
    font-family: "Bodoni Texto", Georgia, serif;
    font-size: 15px;
    line-height: 1.35;
    font-feature-settings: "lnum";
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
}

[data-bs-theme="dark"] .lom-pv {
    --pv-paper: #0f1b30;
    --pv-sheet: #16253f;
    --pv-ink: #dbe5ee;
    --pv-red: #ff6f4f;
    --pv-red-text: #ff6f4f;
    --pv-line: rgba(219, 229, 238, .24);
    --pv-soft: rgba(219, 229, 238, .1);
    --pv-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='18'%3E%3Cg fill='none' stroke='%23dbe5ee' stroke-opacity='.05' stroke-width='.6'%3E%3Cpath d='M0 3c60 5 120 5 180 0s120-5 180 0'/%3E%3Cpath d='M0 9c60 5 120 5 180 0s120-5 180 0'/%3E%3Cpath d='M0 15c60 5 120 5 180 0s120-5 180 0'/%3E%3C/g%3E%3C/svg%3E");
}

/* The frame of the paper. */

.lom-pv::before,
.lom-pv::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 5;
}

/* The strip outside the frame is solid, and the imprint too, so that what scrolls is cut clean at the frame and never runs under the words. */

.lom-pv::before { inset: 9px; border: 1px solid var(--pv-ink); box-shadow: 0 0 0 9px var(--pv-paper); }

.lom-pv::after { inset: 12px; border: 1px solid var(--pv-line); }

/* What identifies any capture: the week, the series and the imprint. */

.lom-pv-tira { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--pv-ink); }

.lom-pv-caps { margin: 0; font-family: "Archivo Rotulo", sans-serif; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.lom-pv-titulo { font-family: "Bodoni Titulo", Georgia, serif; font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -.01em; margin: 0; }

.lom-pv-semana { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-style: italic; font-size: 17px; }

.lom-pv-flecha { width: 34px; height: 34px; border: 1px solid var(--pv-ink); border-radius: 50%; background: none; color: inherit; font-family: "Archivo Tabla", sans-serif; font-size: 14px; }

.lom-pv-serie { text-align: end; color: var(--pv-red); font-size: 20px; font-weight: 650; letter-spacing: .05em; font-feature-settings: "lnum", "tnum"; }

.lom-pv-serie small { display: block; font-family: "Archivo Rotulo", sans-serif; font-size: 8px; letter-spacing: .18em; font-weight: 600; }

.lom-pv-nav { display: flex; gap: 22px; align-self: end; font-size: 16px; }

.lom-pv-nav a { color: inherit; text-decoration: none; padding-bottom: 3px; }

.lom-pv-nav a[aria-current] { border-bottom: 2px solid var(--pv-red); font-weight: 650; }

.lom-pv-nav sup { color: var(--pv-red); font-weight: 650; font-size: 11px; }

.lom-pv-pie { position: fixed; left: 13px; right: 13px; bottom: 13px; z-index: 4; display: flex; justify-content: space-between; padding: 5px 21px 4px; border-top: 1px solid var(--pv-line); font-size: 12px; font-style: italic; background: var(--pv-paper); }

/* Where each figure comes from. Real, official or estimated: in the heads of the columns, not in each cell. */

.lom-pv-o { display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; margin-right: 5px; }

.lom-pv-o.real { background: currentColor; }

.lom-pv-o.oficial { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* Figures with their word, as lines of a ledger and never as tiles. */

.lom-pv-libro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; margin: 0 0 12px; }

.lom-pv-libro > div { border-top: 1px solid var(--pv-ink); padding-top: 4px; }

.lom-pv-libro b { display: block; font-weight: 400; font-size: 26px; line-height: 1.1; font-feature-settings: "lnum", "tnum"; }

.lom-pv-libro span { font-size: 13.5px; }

/* The ledger. The order sits between two red rules, beside the name. */

.lom-pv-tabla { width: 100%; border-collapse: separate; border-spacing: 0; font-family: "Archivo Tabla", sans-serif; font-size: 13.5px; font-feature-settings: "tnum"; word-spacing: .07em; }

.lom-pv-tabla th { font-weight: 700; font-size: 11px; text-align: end; padding: 3px 7px; border-bottom: 1.5px solid var(--pv-ink); }

.lom-pv-tabla td { padding: 3.6px 7px; border-bottom: 1px solid var(--pv-line); text-align: end; white-space: nowrap; }

.lom-pv-tabla th:first-child, .lom-pv-tabla td:first-child { text-align: start; }

.lom-pv-tabla .pedir { border-left: 1px solid var(--pv-red); border-right: 1px solid var(--pv-red); font-weight: 700; }

.lom-pv-tabla .pedir small { display: inline-block; width: 22px; padding-left: 3px; text-align: start; font-size: 11px; font-weight: 400; }

.lom-pv-tabla .familia td { font-family: "Bodoni Texto", Georgia, serif; font-style: italic; font-weight: 600; font-size: 15px; border-bottom: 1.5px solid var(--pv-ink); padding-top: 7px; }

.lom-pv-tabla tr.abierta td { background: var(--pv-soft); }

/* The whole order on one screen: rows of 21 px. */

.lom-pv-tres .lom-pv-tabla td { padding-top: 1.9px; padding-bottom: 1.9px; line-height: 1.2; }

.lom-pv-tres .lom-pv-tabla .familia td { padding-top: 5px; }

.lom-pv-tabla .diferencia { color: var(--pv-red); font-size: 11px; font-weight: 700; margin-left: 4px; }

.lom-pv-tres .lom-pv-tabla input { height: 15px; line-height: 15px; }

.lom-pv-tabla input { width: 46px; border: 0; border-bottom: 1px solid var(--pv-ink); background: none; color: inherit; font: inherit; text-align: end; padding: 0; }

/* What to watch this week: the key to the red numbers of the seal, the same five lines as on the cover. */

.lom-pv-vigilar { margin: 0 0 12px; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.25; }

.lom-pv-vigilar h3 { margin: 0 0 3px; font-style: italic; font-weight: 600; font-size: 15px; }

.lom-pv-vigilar li { display: grid; grid-template-columns: 16px 52px minmax(0, 1fr); gap: 4px; padding: 3px 0; border-top: 1px solid var(--pv-line); }

.lom-pv-vigilar .n { color: var(--pv-red); font-weight: 650; }

.lom-pv-vigilar b { font-weight: 650; }

/* On a phone the seal comes first, with one line above it that says what is pending. */

.lom-pv-aviso { display: none; margin-top: 8px; color: inherit; text-decoration: none; font-size: 15px; }

.lom-pv-aviso b { color: var(--pv-red); font-weight: 650; }

/* What holds the order back: at the top, each with its action. */

.lom-pv-pendiente { border: 1px solid var(--pv-ink); padding: 10px 14px 4px; }

.lom-pv-pendiente h2 { font-family: "Bodoni Titulo", Georgia, serif; font-weight: 500; font-size: 23px; line-height: 1.1; margin: 0; }

.lom-pv-pendiente h2 span { font-family: "Bodoni Texto", Georgia, serif; font-style: italic; font-weight: 400; font-size: 16px; color: var(--pv-red); }

.lom-pv-duda { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 6px 0; border-top: 1px solid var(--pv-line); font-size: 14.5px; line-height: 1.22; }

.lom-pv-duda:first-of-type { border-top: 0; }

.lom-pv-duda p { margin: 0; }

.lom-pv-duda b { font-weight: 650; }

.lom-pv-acciones { display: flex; gap: 6px; }

/* Buttons are engraved: a line, and solid only for the one that decides. */

.lom-pv-btn { font-family: "Archivo Tabla", sans-serif; font-size: 13px; font-weight: 700; padding: 8px 12px; border: 1px solid var(--pv-ink); border-radius: 0; background: transparent; color: var(--pv-ink); white-space: nowrap; }

.lom-pv-btn.fuerte { background: var(--pv-ink); color: var(--pv-paper); }

.lom-pv-acciones .lom-pv-btn { padding: 5px 9px; font-size: 12px; }

/* A product open: where it comes from, and a correction under way. */

.lom-pv-pliego { background: var(--pv-sheet); border: 1px solid var(--pv-ink); padding: 16px 22px; }

.lom-pv-pliego h3 { font-family: "Bodoni Titulo", Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.05; margin: 0; }

.lom-pv-paso { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 5px 7px; border-bottom: 1px solid var(--pv-line); font-family: "Archivo Tabla", sans-serif; font-size: 13.5px; word-spacing: .07em; }

.lom-pv-paso.fin { border-bottom: 0; border-top: 1.5px solid var(--pv-ink); font-weight: 700; font-size: 16px; }

.lom-pv-antes { text-decoration: line-through; opacity: .6; margin-right: 6px; font-weight: 400; }

.lom-pv-cambio { color: var(--pv-red); font-weight: 650; }

.lom-pv-nota.lom-pv-cambio { font-family: "Archivo Tabla", sans-serif; font-style: normal; font-weight: 700; }

.lom-pv-pliego input.lom-pv-cambio { color: var(--pv-red); border-color: var(--pv-red); font-weight: 700; }

/* As large as its column, and never taller than what is left of the screen. */

.lom-pv-sello { display: block; width: 100%; max-width: calc(100vh - 220px); margin-inline: auto; aspect-ratio: 1; }

/* What comes in and what goes out: the river fills its place, and the list of the delivery in hand goes beside it. */

.lom-pv-corriente { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 26px; align-items: start; }

.lom-pv-rio { display: block; width: 100%; height: max(420px, calc(100vh - 290px)); cursor: pointer; }

.lom-pv-leyenda { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 13.5px; }

.lom-pv-leyenda li { display: flex; align-items: center; gap: 7px; }

.lom-pv-leyenda i { display: block; width: 26px; height: 0; border-top: 1px solid var(--pv-ink); }

.lom-pv-leyenda .carne i { border-top-style: dashed; }

.lom-pv-leyenda .pescado i { border-top: 1.5px solid var(--pv-red); }

.lom-pv-leyenda .resto i { opacity: .5; }

/* The portions as a plate of specimens: the same scale in the four, so that they can be compared. */

.lom-pv-lamina { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 26px; margin: 12px 0 0; padding: 0; list-style: none; }

.lom-pv-lamina figure { margin: 0; }

.lom-pv-lamina figcaption { font-style: italic; font-weight: 600; font-size: 15px; }

.lom-pv-lamina svg { display: block; width: 100%; height: auto; }

.lom-pv-lamina p { margin: 2px 0 0; font-size: 13px; line-height: 1.3; }

.lom-pv-lamina p b { font-weight: 650; }

@media (max-width: 1100px) {
    .lom-pv-corriente { grid-template-columns: minmax(0, 1fr); }

    .lom-pv-lamina { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .lom-pv { padding: 20px 22px 44px; }

    .lom-pv-tira { grid-template-columns: 1fr auto; gap: 6px 8px; align-items: start; }

    .lom-pv-tira > :first-child { grid-column: 1 / -1; }

    .lom-pv-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 2px 16px; font-size: 15px; white-space: nowrap; }

    .lom-pv-serie { position: absolute; top: 20px; right: 22px; font-size: 15px; }

    .lom-pv-serie small { display: none; }

    .lom-pv-titulo { font-size: 42px; margin-top: 6px; white-space: nowrap; }

    .lom-pv-semana { font-size: 15px; white-space: nowrap; }

    .lom-pv-flecha { width: 30px; height: 30px; flex: none; }

    .lom-pv-libro { grid-template-columns: repeat(2, 1fr); }

    .lom-pv-duda { grid-template-columns: 1fr; gap: 6px; }

    .lom-pv-pie { padding-inline: 9px; }

    .lom-pv-pie span:last-child { display: none; }

    .lom-pv-aviso { display: block; }

    .lom-pv-raciones { font-size: 12.5px; }

    .lom-pv-raciones th, .lom-pv-raciones td { padding-inline: 3px; }

    .lom-pv-raciones td:first-child { white-space: normal; }

    .lom-pv-cuerpo .lom-pv-pendiente { display: none; }

    .lom-pv-corriente, .lom-pv-lamina { grid-template-columns: minmax(0, 1fr); }

    .lom-pv-rio { height: 340px; }
}

/* The reception sheet: one white A4 to write on, printed from Entrada y salida. It has its own markup because a sheet is laid out by
   columns that are known beforehand: a long delivery goes on under "Vie 6, sigue", and what is left of a column is ruled for notes. */

.lom-pv-hoja { display: none; }

@media print {
    .lom-pv:has(.lom-pv-hoja) .lom-pv-tira,
    .lom-pv:has(.lom-pv-hoja) .lom-pv-cabeza,
    .lom-pv:has(.lom-pv-hoja) .lom-pv-corriente { display: none; }

    .lom-pv-hoja { display: block; }

    .lom-pv-hoja-cabeza { display: flex; align-items: baseline; gap: 5mm; padding-bottom: 1.5mm; border-bottom: .35mm solid var(--pv-ink); }

    .lom-pv-hoja-cabeza h2 { margin: 0; font-family: "Bodoni Titulo", Georgia, serif; font-weight: 500; font-size: 21pt; line-height: 1; }

    .lom-pv-hoja-cabeza p { flex: 1; margin: 0; font-style: italic; font-size: 10pt; }

    .lom-pv-hoja-cabeza .lom-pv-serie { font-size: 13pt; }

    .lom-pv-hoja-cabeza .lom-pv-serie small { font-size: 6pt; }

    .lom-pv-hoja-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 6mm; height: 166mm; }

    .lom-pv-hoja-col { display: flex; flex-direction: column; min-height: 0; }

    .lom-pv-hoja h3 { display: flex; justify-content: space-between; align-items: baseline; height: 7.5mm; margin: 2.5mm 0 0; padding-bottom: .5mm; border-bottom: .3mm solid var(--pv-ink); box-sizing: border-box; align-items: flex-end; font-style: italic; font-weight: 600; font-size: 11.5pt; line-height: 1; }

    .lom-pv-hoja section:first-child h3 { margin-top: 0; }

    .lom-pv-hoja h3 small { font-family: "Archivo Tabla", sans-serif; font-style: normal; font-weight: 700; font-size: 7.6pt; }

    .lom-pv-hoja ul { margin: 0; padding: 0; list-style: none; }

    .lom-pv-hoja li { display: grid; grid-template-columns: 2.8mm minmax(0, 1fr) auto 14mm; gap: 1.4mm; align-items: end; height: 5mm; padding-bottom: .5mm; box-sizing: border-box; border-bottom: .15mm solid #b9c6d6; font-family: "Archivo Tabla", sans-serif; font-size: 8.8pt; line-height: 1; word-spacing: .07em; }

    .lom-pv-hoja li i { width: 2.8mm; height: 2.8mm; box-sizing: border-box; border: .2mm solid var(--pv-ink); }

    .lom-pv-hoja li span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

    .lom-pv-hoja li b { font-weight: 700; white-space: nowrap; font-feature-settings: "tnum"; }

    .lom-pv-hoja li small { font-weight: 400; font-size: 7.4pt; }

    /* The field to write on lies on the rule of its row: a second line just above it reads as a mistake. */

    .lom-pv-hoja li u { align-self: end; height: 4mm; margin-bottom: -.65mm; border-bottom: .25mm solid var(--pv-ink); text-decoration: none; }

    .lom-pv-hoja ul.lom-pv-hoja-notas { margin-top: 2mm; }

    .lom-pv-hoja-notas li { display: block; font-style: italic; font-family: "Bodoni Texto", Georgia, serif; }
}

/* The body of each view. */

.lom-pv .lom-pv-flecha { display: inline-grid; place-items: center; text-decoration: none; }

.lom-pv-cuerpo { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: 26px; margin-top: 14px; padding-bottom: 20px; }

.lom-pv-cuerpo .lom-pv-pendiente { margin-bottom: 14px; }

.lom-pv-sello { cursor: pointer; }

.lom-pv-cabeza { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 12px 0 8px; }

.lom-pv-cabeza h2 { font-family: "Bodoni Titulo", Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.05; margin: 0; }

.lom-pv-cabeza p { flex: 1 1 18rem; margin: 0; font-style: italic; }

/* As many columns as fit at 30 rem each, one on a phone. */

.lom-pv-tres { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: 0 26px; align-items: start; padding-bottom: 24px; }

.lom-pv-tabla a { color: inherit; text-decoration: none; }

.lom-pv-tabla .familia td:last-child { font-style: italic; }

.lom-pv-nota { margin: 8px 0; font-size: 13.5px; font-style: italic; }

.lom-pv-vacio { margin-top: 26px; }

.lom-pv-vacio h2 { font-family: "Bodoni Titulo", Georgia, serif; font-weight: 500; font-size: 30px; margin: 0 0 6px; }

.lom-pv-raciones { max-width: 100%; }

.lom-pv-recep { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 14px 22px; padding-bottom: 28px; }

.lom-pv-recep h3 { display: flex; justify-content: space-between; align-items: baseline; font-style: italic; font-weight: 600; font-size: 17px; margin: 0; padding-bottom: 3px; border-bottom: 1.5px solid var(--pv-ink); }

.lom-pv-recep h3 small { font-family: "Archivo Tabla", sans-serif; font-style: normal; font-weight: 700; font-size: 11px; }

.lom-pv-recep ul { list-style: none; margin: 0; padding: 0; }

.lom-pv-recep li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 48px; align-items: center; gap: 6px; height: 23px; border-bottom: 1px solid var(--pv-line); font-family: "Archivo Tabla", sans-serif; font-size: 13px; }

.lom-pv-recep li i { width: 11px; height: 11px; border: 1px solid var(--pv-ink); }

.lom-pv-recep li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lom-pv-recep li b { white-space: nowrap; font-feature-settings: "tnum"; }

.lom-pv-recep li small { font-weight: 400; font-size: 11px; }

.lom-pv-recep li u { align-self: end; height: 14px; margin-bottom: 3px; border-bottom: 1px solid var(--pv-ink); text-decoration: none; }

.lom-pv-sobre { position: fixed; z-index: 6; top: 152px; right: 34px; bottom: 44px; width: min(600px, calc(100vw - 68px)); overflow-y: auto; }

.lom-pv-pliego input[type="text"] { width: 3.5em; border: 0; border-bottom: 1px solid var(--pv-ink); background: none; color: inherit; font: inherit; text-align: end; padding: 0; }

.lom-pv-pliego input[type="text"].lom-pv-cambio { color: var(--pv-red); border-color: var(--pv-red); font-weight: 700; }

.lom-pv-pliego form { margin: 0; }

.lom-pv-pliego .lom-pv-acciones { margin-top: 12px; }

.lom-pv-pliego .lom-pv-o { vertical-align: baseline; }

.lom-pv .lom-pv-btn { display: inline-block; text-decoration: none; cursor: pointer; }

.lom-pv-vigilar li { display: block; padding: 0; }

.lom-pv-vigilar button { position: relative; display: grid; grid-template-columns: 16px 52px minmax(0, 1fr); gap: 4px; width: 100%; padding: 3px 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }

.lom-pv-vigilar button:focus-visible { outline: 2px solid var(--pv-ink); outline-offset: 1px; }

.lom-pv-vigilar button[aria-pressed="true"]::before { content: ""; position: absolute; left: -8px; top: 3px; bottom: 3px; width: 2px; background: var(--pv-red); }

.lom-pv-vigilar button[aria-pressed="true"] b { color: var(--pv-red); }

.lom-pv-recep .oculta { display: none; }

.lom-pv-corriente .lom-pv-rio { height: max(400px, calc(100vh - 345px)); }

.lom-pv-corriente .lom-pv-recep { display: block; max-height: calc(100vh - 250px); overflow-y: auto; padding: 0 2px 26px 0; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); }

.lom-pv-corriente .lom-pv-recep li { grid-template-columns: 12px minmax(0, 1fr) auto 44px; }

.lom-pv-recep li u { margin-bottom: -1px; }

.lom-pv-hechas { margin-top: 18px; }

.lom-pv-pliegotop { display: flex; justify-content: space-between; align-items: baseline; }

.lom-pv-pliegoserie { display: none; color: var(--pv-red); font-weight: 650; letter-spacing: .05em; font-feature-settings: "lnum", "tnum"; }

.lom-pv-pliegofirma { display: none; margin: 14px 0 0; font-size: 12px; font-style: italic; }

@media (max-width: 1100px) {
    .lom-pv-cuerpo { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
    .lom-pv-sobre { top: 0; right: 0; bottom: 0; left: 0; width: auto; border: 0; }

    .lom-pv-pliegoserie, .lom-pv-pliegofirma { display: block; }

    .lom-pv-corriente .lom-pv-recep { max-height: none; overflow: visible; padding-bottom: 0; -webkit-mask-image: none; mask-image: none; }

    .lom-pv-tabla { font-size: 13px; }
}

/* The paper fills the page, and the tables of the other link pages do not reach it. */

body.lom-pv-body #page { padding: 0; }

.lom-pv-sola { margin-top: 14px; }

.lom-pv { padding-bottom: 64px; }

.lom-pv .lom-pv-tabla td, .lom-pv .lom-pv-tabla th { border: 0; background: transparent; }

.lom-pv .lom-pv-tabla td { border-bottom: 1px solid var(--pv-line); }

.lom-pv .lom-pv-tabla th { border-bottom: 1.5px solid var(--pv-ink); }

.lom-pv .lom-pv-tabla .familia td { border-bottom: 1.5px solid var(--pv-ink); }

.lom-pv .lom-pv-tabla .pedir { border-left: 1px solid var(--pv-red); border-right: 1px solid var(--pv-red); }

@media (max-width: 720px) {
    .lom-pv-caps span { display: none; }
}

.lom-pv-envio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 14px; }

.lom-pv-envio label { font-style: italic; }

.lom-pv-envio input[type="text"] { flex: 1 1 14rem; min-width: 0; border: 0; border-bottom: 1px solid var(--pv-ink); background: none; color: inherit; font-family: "Archivo Tabla", sans-serif; font-size: 13.5px; padding: 2px 0; }

/* The page of the reception sheet: the sheet itself is in the block of the paper, above. */

@page lom-pv-hoja {
    size: A4 landscape;
    margin: 9mm 10mm;
}

@media print {
    .lom-pv { background: #fff; padding: 0; min-height: 0; }

    /* Paper is white whatever the screen: with the dark theme on, the sheet came out in pale ink. */

    [data-bs-theme] .lom-pv { --pv-ink: #14305c; --pv-red: #d2381c; --pv-line: rgba(20, 48, 92, .26); --pv-soft: rgba(20, 48, 92, .1); }

    .lom-pv::before, .lom-pv::after, .lom-pv-nav, .lom-pv .lom-pv-flecha, .lom-pv-cabeza .lom-pv-btn { display: none; }

    .lom-pv .lom-pv-pie { position: static; margin-top: 3mm; padding: 2mm 0 0; background: none; }

    .lom-pv-hoja + .lom-pv-hoja { break-before: page; }
}

/* What is proposed for a recipe stands apart from the recipe: nothing is kept until it is taken, and it says what it changes. */

.lom-pv-pliego .lom-pv-envio {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--pv-line);
}

.lom-pv-pliego .lom-pv-envio textarea {
    flex: 1 1 14rem;
    min-width: 0;
    padding: 2px 0;
    border: 0;
    border-bottom: 1px solid var(--pv-ink);
    background: none;
    color: inherit;
    font-family: "Archivo Tabla", sans-serif;
    font-size: 13.5px;
    resize: none;
}

.lom-pv-pliego .lom-pv-envio textarea::placeholder {
    color: var(--pv-ink);
    opacity: .72;
}

.lom-pv-pliego .lom-pv-envio .lom-pv-btn,
.lom-pv-pliegotop .lom-pv-btn {
    padding: 5px 9px;
    font-size: 12px;
}

.lom-pv-pliegotop .lom-pv-btn {
    margin-inline-start: auto;
}

.lom-pv-propuesta {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 2px solid var(--pv-red);
}

.lom-pv-propuesta i {
    color: var(--pv-red-text);
}

@media (max-width: 560px) {
    .lom-pv-pliego .lom-pv-envio label,
    .lom-pv-pliego .lom-pv-envio textarea {
        flex: 1 1 100%;
    }
}

/* The slips put right while reading a menu: crossed out what came, in bold what stays. */

.lom-ifixes {
    margin: .5rem 0;
    padding: .55rem .8rem;
    border-radius: .5rem;
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .05);
}

.lom-ifixes p {
    margin: 0 0 .25rem;
}

.lom-ifixes ul {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-ifixes s {
    color: var(--bs-secondary-color, #6c757d);
}

/* The tutors, everything at once: the groups left and all the cards; an email for each group. */

.lom-ktutorsall {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin: .5rem 0;
}

.lom-ktutorsall form {
    margin: 0;
}

.lom-kmailall {
    margin: .25rem 0 .75rem;
}

.lom-kmailall > summary {
    cursor: pointer;
    color: var(--bs-link-color, #0f6cbf);
    font-weight: 600;
}

.lom-kmailrows {
    display: grid;
    grid-template-columns: minmax(6rem, max-content) minmax(0, 1fr);
    gap: .35rem .75rem;
    align-items: center;
    margin: .5rem 0;
}

.lom-kmailrows label {
    margin: 0;
    font-weight: 600;
}

/* The guides under a page, as a button. */

.lom-tutorguide,
.lom-dinerguide {
    margin: 1rem 0;
    text-align: center;
}

/* Canteen notes: what is not a diet but whoever serves has to know. On the register and the kitchen, read at once; on the
   page of a group, a mark on the row and the words inside. */

.local-oksigeniameals-kid .lom-knotemark {
    color: var(--bs-secondary-color, #5c636a);
}

.local-oksigeniameals-kid .lom-knote,
.lom-regnotes {
    display: block;
    margin-top: .15rem;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.3;
}

.lom-regnotes {
    font-size: .82rem;
    font-weight: 500;
    color: var(--bs-secondary-color, #5c636a);
}

.lom-tg-obsmark {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: 0 .45rem;
    border: 1px solid rgba(var(--bs-body-color-rgb, 33, 37, 41), .3);
    border-radius: .45rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--bs-secondary-color, #5c636a);
}

.lom-recnotes {
    font-weight: 600;
}

.lom-recnotesedit {
    margin: .25rem 0 1rem;
}

.lom-recnotesedit > summary {
    list-style: none;
}

.lom-recnotesedit > summary::-webkit-details-marker {
    display: none;
}

.lom-recnotesedit[open] > summary {
    display: none;
}

.lom-recnotesedit form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.lom-recnotesedit form .btn {
    align-self: flex-start;
}

/* The canteen notes of the kitchen, folded: hundreds in a school. Their groups, as small headings with how many. */

.local-oksigeniameals-kid .lom-knotes > summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .75rem;
    cursor: pointer;
    list-style: none;
}

.local-oksigeniameals-kid .lom-knotes > summary::-webkit-details-marker {
    display: none;
}

.local-oksigeniameals-kid .lom-knotes > summary::after {
    content: "▸";
    margin-inline-start: auto;
    font-size: 1.1rem;
}

.local-oksigeniameals-kid .lom-knotes[open] > summary::after {
    content: "▾";
}

.local-oksigeniameals-kid .lom-knotes > summary .lom-subtitle {
    margin: 0;
}

.local-oksigeniameals-kid .lom-knotegroup {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 1rem 0 .25rem;
    font-size: .95rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-knotecount {
    padding: 0 .45rem;
    border-radius: 999px;
    background: rgba(var(--bs-body-color-rgb, 33, 37, 41), .08);
    font-size: .8rem;
}

@media (max-width: 575.98px) {
    .local-oksigeniameals-kid .lom-grouptable td:first-child,
    .local-oksigeniameals-kid .lom-grouptable th:first-child {
        min-width: 9.5rem;
    }
}

/* The guides and the like, as buttons in a row under what they belong to. */

.lom-guidepills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .25rem 0 1rem;
}

/* The record of a diner, a page of Meals: each part in its box, with its action beside the title. */

.lom-record .lom-recbox h3 {
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.lom-record .lom-recbox + .lom-recbox {
    margin-top: .9rem;
}

.lom-record .lom-recacts {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1rem;
}

.lom-record .lom-recfoot {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 1.25rem;
}

.lom-record .lom-recleave > summary {
    list-style: none;
}

.lom-record .lom-recleave > summary::-webkit-details-marker {
    display: none;
}

/* Where an alert is put right, in grey before its button. */

.lom-st-alertgo {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .25rem .6rem;
    align-items: center;
    justify-content: flex-end;
}

.lom-st-where {
    color: var(--lom-st-muted);
    font-weight: 600;
}

/* The family page: the name and the group in a column beside the photo. */

.lom-famhead {
    display: flex;
    gap: .75rem;
    align-items: center;
    margin-bottom: .75rem;
}

.lom-famhead .lom-famtext {
    min-width: 0;
}

.lom-famhead .lom-famname {
    display: block;
    margin: 0;
}

@media (max-width: 575.98px) {
    .lom-famhead .lom-famname {
        font-size: 1.6rem;
    }
}

/* Who noted it, as quiet as the rest of the note. */

.lom-famauthor {
    color: var(--lom-st-muted, var(--bs-secondary-color));
    font-size: .875rem;
    font-style: normal;
}

/* By which ways the notices go, quiet beside their title. */

.lom-familystate {
    color: var(--lom-st-muted, var(--bs-secondary-color));
    font-weight: 600;
}

/* A day not chosen: the dotted border is what shows; its letter lighter and grey. */

.local-oksigeniameals-kid .lom-minibadge.lom-dashed {
    color: var(--lom-st-muted, var(--bs-secondary-color));
    font-weight: 600;
}

/* The dishes of the day without allergens, once, in amber at the top of the diets. */

.local-oksigeniameals-kid .lom-kuntoldday {
    margin: 0 0 .75rem;
    padding: .55rem .75rem;
    border: 1px solid var(--bs-warning-border-subtle, #ffe69c);
    border-radius: .6rem;
    background: var(--bs-warning-bg-subtle, #fff3cd);
    font-weight: 600;
}

/* The figures of the kitchen on a phone: two columns, so none is left alone on a row. */

@media (max-width: 575.98px) {
    .local-oksigeniameals-kid .lom-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* «A, adapted»: what to do with the menu, at the size of a label under its letter. */

.local-oksigeniameals-kid .lom-kadapted {
    display: block;
    margin-top: .2rem;
    font-size: .95rem;
    font-weight: 700;
    color: var(--bs-warning-text-emphasis, #7a4300);
}

/* Portions of a dish carried by several menus: by menu, quiet under the total. */

.local-oksigeniameals-kid .lom-knum .lom-kbymenu {
    display: block;
    font-weight: 600;
    color: var(--lom-st-muted, var(--bs-secondary-color));
}

/* A dish of four menus on a phone: its count by menu breaks into two lines rather than run over the dish. */

.local-oksigeniameals-kid .lom-klist .lom-knum {
    max-width: 40%;
}

/* The sheet to fill in, first, while the canteen has no dish. */

.lom-isheet {
    margin-bottom: 1rem;
}

/* Groups: tick several and move them to another turn at once. */

.lom-umove {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.lom-umove select {
    width: auto;
}

.lom-ugrouprow {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
}

.lom-ugrouprow > .lom-ugroup {
    flex: 1 1 auto;
    min-width: 0;
}

.lom-ucheck {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    cursor: pointer;
}

.lom-ucheck input {
    width: 1.2rem;
    height: 1.2rem;
}

/* The switches stand still when movement is reduced. */

@media (prefers-reduced-motion: reduce) {
    .lom-track::after {
        transition: none;
    }
}

@media (forced-colors: active) {
    .local-oksigeniameals-kid .lom-cell {
        border: 1px dashed CanvasText;
    }
}

/* Choosing the month in one tap: a button for each menu, and repeating the first week. */

.local-oksigeniameals-kid .lom-quickform {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.local-oksigeniameals-kid .lom-quickform form {
    margin: 0;
}

/* The dinners of the week on the family page: a day per line with its idea, and the shopping list in two columns. */

.local-oksigeniameals-kid .lom-dinnerweekdays,
.local-oksigeniameals-kid .lom-dinnerweeklist {
    margin: 0 0 .75rem;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-dinnerweekdays li {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .3rem 0;
}

.local-oksigeniameals-kid .lom-dinnerweeklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: .15rem 1.5rem;
}

.local-oksigeniameals-kid .lom-dinnerweeklist li {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding: .2rem 0;
    border-bottom: 1px dotted var(--bs-border-color, #dee2e6);
}

.local-oksigeniameals-kid .lom-dinnerweeklist b {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.local-oksigeniameals-kid .lom-dinnerweekday {
    display: flex;
    flex-direction: column;
}

.local-oksigeniameals-kid .lom-dinnerweekday .lom-dishlink {
    text-align: start;
}

/* The kitchen on the phone: a button for each channel to join, and where it already reaches. */

.local-oksigeniameals-kid .lom-kphone {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-kphonejoined {
    font-weight: 600;
}

/* The monitors' list: the groups of the shift as buttons, to keep only those looked after today. A tap puts one or
   takes it away; the chosen ones in the blue of selection. */

.lom-reggroups {
    margin: .25rem 0 1rem;
}

.lom-reggroups .lom-groupchipshead {
    margin: 0 0 .4rem;
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .9rem;
}

.lom-reggroups .lom-groupchipshead strong {
    color: var(--bs-body-color, #1d2125);
}

.lom-reggroups .lom-groupchips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.lom-reggroups .lom-groupchip {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .35rem 1rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 999px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #1d2125);
    font-weight: 700;
    text-decoration: none;
}

.lom-reggroups .lom-groupchip:hover,
.lom-reggroups .lom-groupchip:focus {
    border-color: #2563a8;
    color: var(--bs-body-color, #1d2125);
    text-decoration: none;
}

.lom-reggroups .lom-groupchip.is-on {
    border-color: #2563a8;
    background: var(--bs-primary-bg-subtle, #e8f0fa);
    color: var(--bs-primary-text-emphasis, #12457f);
}

/* The month at a glance against a guideline: a calm list per menu under the table, words and figures, no colour of
   alarm; what is off the guideline is only set in the body colour, the rest in the secondary one. */

.lom-balanceguide {
    margin-top: 1rem;
}

.lom-balanceguidetitle {
    margin: 0 0 .5rem;
    font-size: 1rem;
    font-weight: 700;
}

.lom-balanceguidemenu {
    margin-bottom: .75rem;
}

.lom-balanceguidename {
    margin: 0 0 .25rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-weight: 700;
}

.lom-balanceguidelist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: .15rem 1rem;
}

.lom-balanceguidelist li {
    color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
}

.lom-balanceguidelist li.is-off {
    color: var(--lom-st-ink, var(--bs-body-color, #1d2125));
}

.lom-balanceguidelist li b {
    font-weight: 600;
    color: var(--lom-st-ink, var(--bs-body-color, #1d2125));
}

.lom-balancesettings {
    margin-top: 1rem;
    padding: .5rem .75rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .6rem;
}

.lom-balancesettings summary {
    font-weight: 700;
    cursor: pointer;
}

.lom-balanceset {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: .5rem 0;
}

.lom-balanceset select {
    width: auto;
}

.lom-balancerules {
    width: 100%;
    margin: .5rem 0 .75rem;
}

.lom-balancerules th,
.lom-balancerules td {
    padding: .25rem .35rem;
    vertical-align: middle;
}

.lom-balancerules input,
.lom-balancerules select {
    min-width: 4.5rem;
}

/* The month's menu sheet for families: paper first. Real text, one table per menu, headings in reading order; on
   paper, each menu starts on its own sheet and nothing but the sheet prints. */

.local-oksigeniameals-monthsheet {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 16px 2rem;
}

.lom-ms-staff {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .75rem;
    background: var(--lom-st-card, var(--bs-body-bg, #fff));
}

.lom-ms-staff h2 {
    font-size: 1.25rem;
    margin: 0 0 .35rem;
}

.lom-ms-link {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem .75rem;
    align-items: center;
    margin: .75rem 0;
}

.lom-ms-link label {
    grid-column: 1 / -1;
    margin: 0;
    font-weight: 600;
}

.lom-ms-tools {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .75rem 0;
}

.lom-ms-missing {
    margin-top: .75rem;
}

.lom-ms-missing summary {
    font-weight: 700;
    cursor: pointer;
}

.lom-ms-missing ul {
    margin: .35rem 0 0;
    padding-inline-start: 1.1rem;
}

.lom-ms-complete {
    margin: .75rem 0 0;
    color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
}

.lom-ms-head {
    margin-bottom: 1.25rem;
}

.lom-ms-kicker {
    margin: 0;
    font-weight: 600;
    color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
}

.lom-ms-title {
    margin: 0;
    font-size: 1.75rem;
}

.lom-ms-span {
    margin: .15rem 0 0;
}

.lom-ms-menu {
    margin-bottom: 1.75rem;
}

.lom-ms-menutitle {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.25rem;
    margin: 0 0 .5rem;
}

.lom-ms-special {
    font-weight: 400;
    color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
}

.lom-ms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.lom-ms-table th,
.lom-ms-table td {
    padding: .5rem .5rem;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    vertical-align: top;
    text-align: start;
}

.lom-ms-table thead th {
    border-bottom: 2px solid var(--lom-st-ink, var(--bs-body-color, #1d2125));
}

.lom-ms-day {
    white-space: nowrap;
    font-weight: 700;
}

.lom-ms-dish {
    margin: 0;
    font-weight: 700;
}

.lom-ms-line {
    margin: .1rem 0 0;
}

.lom-ms-key {
    color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
}

.lom-ms-legend ul {
    margin: .35rem 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    gap: .2rem .75rem;
}

.lom-ms-legend li {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.lom-ms-foot {
    margin: .75rem 0 0;
    color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
}

@media (max-width: 640px) {
    .lom-ms-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }

    .lom-ms-table tr {
        display: block;
        padding: .5rem 0;
        border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    }

    .lom-ms-table th,
    .lom-ms-table td {
        display: block;
        border: 0;
        padding: .25rem 0;
    }

    .lom-ms-table td::before {
        content: attr(data-part);
        display: block;
        font-size: .85rem;
        color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76));
    }
}

@media print {
    body.local-oksigeniameals-sheetpage [role="main"] {
        padding: 0;
    }

    .local-oksigeniameals-monthsheet {
        max-width: none;
        padding: 0;
    }

    .lom-ms-menu {
        break-inside: avoid-page;
        page-break-inside: avoid;
    }

    .lom-ms-menu + .lom-ms-menu {
        break-before: page;
        page-break-before: always;
    }

    .lom-ms-table {
        font-size: 10.5pt;
    }
}

/* Not coming for several days, in one tap: the fold with the calendar of the next weeks (0.99.48). */

.lom-spanfold > summary,
.lom-tg-outing > summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 .9rem;
    list-style: none;
    cursor: pointer;
}

.lom-spanfold > summary::-webkit-details-marker,
.lom-tg-outing > summary::-webkit-details-marker {
    display: none;
}

.lom-spanform,
.lom-outingform {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: .75rem 0 .25rem;
}

.lom-spanlead {
    margin: 0;
    color: var(--lom-st-muted);
}

.lom-spansiblings,
.lom-outingwho {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .9rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.lom-spansiblings legend,
.lom-outingwho legend {
    float: inline-start;
    width: 100%;
    margin: 0 0 .25rem;
    padding: 0;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lom-st-muted);
}

.lom-spansibling {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    margin: 0;
}

.lom-outingall {
    flex-basis: 100%;
}

.lom-spanreason,
.lom-outingday,
.lom-dspanuntil {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin: 0;
    font-weight: 600;
}

.lom-outingfields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: .75rem;
}

.lom-dspan {
    align-items: flex-end;
    gap: .75rem;
    margin-top: .5rem;
}

.lom-familychooser {
    margin-top: 1.5rem;
}

.lom-eating {
    margin: -.25rem 0 .75rem;
    color: var(--lom-st-muted);
}

.lom-dietnow,
.lom-dietchanged {
    margin: 0;
}

.lom-dietchanged {
    margin-top: .35rem;
    color: var(--lom-st-muted);
}

.lom-fridgelink {
    margin-inline-start: .5rem;
    font-size: .9rem;
    font-weight: 400;
}

.lom-bigspeak {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    margin: .25rem auto 0;
    padding: 0 .9rem;
    border: 1px solid var(--lom-st-line);
    border-radius: 999px;
    background: var(--lom-st-card);
    color: var(--lom-st-ink);
}

.lom-modeline {
    margin: 0 0 .5rem;
}

/* The monitor's list of a big shift: today's menu on top, the photo of the dish, a search box and «pending first». */

.lom-regmenu {
    display: grid;
    gap: .5rem;
    margin: 0 0 .75rem;
}

.lom-regmenuitem {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem .75rem;
    padding: .5rem .75rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .6rem;
}

.lom-regmenuline {
    display: flex;
    flex: 1 1 16rem;
    align-items: center;
    gap: .5rem;
}

.lom-regmenudishes .lom-inline + .lom-inline::before {
    content: " · ";
    color: var(--bs-secondary-color, #5c636a);
}

.lom-regmenuphoto img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: .5rem;
    object-fit: cover;
}

.lom-regphotobtn {
    margin: 0;
}

.lom-regtools {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 .75rem;
}

.lom-regtools .lom-regfind {
    flex: 1 1 14rem;
}

.lom-regpending[aria-pressed="true"] {
    background: var(--bs-primary, #2563a8);
    color: #fff;
}

.lom-groupfolded > summary {
    color: var(--bs-secondary-color, #5c636a);
    font-weight: 600;
}

.lom-reghold {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    font-size: .9rem;
}

.lom-regheld {
    display: inline-block;
    margin-inline-start: .5rem;
    padding: 0 .4rem;
    border-radius: .3rem;
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
    font-size: .8rem;
    font-weight: 600;
}

/* The photo of the dish and the faces on the page of the family. */

.local-oksigeniameals-kid .lom-dishphoto {
    margin: .75rem 0;
}

.local-oksigeniameals-kid .lom-dishphoto img {
    display: block;
    width: 100%;
    max-height: 18rem;
    border-radius: .8rem;
    object-fit: cover;
}

.lom-droomeats {
    color: var(--lom-st-muted);
}

/* The month for the fridge: one A4 page. */

.lom-fridge {
    max-width: 64rem;
    margin: 0 auto;
    padding: 1rem;
}

.lom-fridgebar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: 1rem;
}

.lom-fridgetitle {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 .75rem;
}

.lom-fridgetable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.lom-fridgetable th {
    text-align: start;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .4rem;
    border-bottom: 2px solid var(--lom-st-ink);
}

.lom-fridgetable td {
    vertical-align: top;
    padding: .4rem;
    border: 1px solid var(--lom-st-line);
    border-top: 3px solid var(--lom-mc, var(--lom-st-line));
}

.lom-fridgetable td.is-blank {
    border-top-color: var(--lom-st-line);
    color: var(--lom-st-muted);
}

.lom-fridgenum {
    font-weight: 700;
}

.lom-fridgeletter {
    float: inline-end;
    min-width: 1.5rem;
    padding: 0 .3rem;
    border-radius: .3rem;
    background: var(--lom-mc);
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.lom-fridgedishes {
    margin: .25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: .85rem;
    line-height: 1.3;
}

.lom-fridgefoot {
    margin: .75rem 0 0;
    font-size: .8rem;
    color: var(--lom-st-muted);
}

@media print {
    .local-oksigeniameals-fridge .lom-noprint,
    .local-oksigeniameals-fridge #page-header,
    .local-oksigeniameals-fridge #page-footer,
    .local-oksigeniameals-fridge .navbar {
        display: none !important;
    }

    .lom-fridge {
        max-width: none;
        padding: 0;
    }

    .lom-fridgetable td {
        break-inside: avoid;
    }

    .lom-fridgeletter {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Three questions a quarter, on the page of a family, and what the families said, for the staff. */

.lom-surveyq {
    border: 0;
    margin: 0 0 .75rem;
    padding: 0;
}

.lom-surveyq legend {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .35rem;
}

.lom-surveymarks {
    display: flex;
    gap: .35rem;
}

.lom-surveymark {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .5rem .25rem;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
}

.lom-surveymark input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.lom-surveymark span {
    font-weight: 800;
    font-size: 1.1rem;
}

.lom-surveymark small {
    font-size: .75rem;
    opacity: .8;
}

.lom-surveymark:has(input:checked) {
    border-color: #1a5fb4;
    background: rgba(26, 95, 180, .1);
}

.lom-surveyform .form-control {
    margin: .25rem 0 .75rem;
}

.lom-surveybars {
    list-style: none;
    margin: 0 0 .75rem;
    padding: 0;
}

.lom-surveybars li {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) 3fr auto;
    align-items: center;
    gap: .75rem;
    padding: .35rem 0;
}

.lom-surveybar {
    display: block;
    height: .6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, .08);
    overflow: hidden;
}

.lom-surveybar i {
    display: block;
    height: 100%;
    background: #2F7D46;
    border-radius: inherit;
}

.lom-surveycomments {
    margin: .5rem 0 0 1rem;
}

.lom-surveyperiod {
    margin: 0 0 1.5rem;
}

.lom-langs {
    margin: 1rem 0 .5rem;
}

.lom-familypush {
    margin-top: .75rem;
}

.lom-familypush [data-push-off] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* The purchase forecast: the panels of whoever keeps it (suppliers, what the diets take, the sheets, the portions),
   the cost and the guideline, and the pantry column. Same paper, same ink. */

.lom-pv-panel { margin: 14px 0; padding: 8px 12px; border: 1px solid var(--pv-rule, #b9c6d6); }

.lom-pv-panel > summary { font-family: "Archivo Tabla", sans-serif; font-weight: 700; font-size: 13px; cursor: pointer; }

.lom-pv-fila { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: flex-end; margin: 10px 0; padding-bottom: 10px; border-bottom: 1px dashed var(--pv-rule, #b9c6d6); }

.lom-pv-fila.nueva { border-bottom: 0; }

.lom-pv-fila label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }

.lom-pv-fila input[type="text"], .lom-pv-fila input[type="email"], .lom-pv-fila select { font: inherit; font-size: 13px; padding: 4px 6px; border: 1px solid var(--pv-ink); background: transparent; color: var(--pv-ink); }

.lom-pv-fila fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }

.lom-pv-fila legend { font-size: 12px; padding: 0; margin-bottom: 2px; }

.lom-pv-caja { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }

.lom-pv-coste { margin: 16px 0; }

.lom-pv-coste h3 { font-family: "Archivo Tabla", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; }

.lom-pv-costelista { list-style: none; margin: 6px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 2px 14px; font-size: 13px; }

.lom-pv-costelista li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dotted var(--pv-rule, #b9c6d6); }

.lom-pv-prov { display: inline-block; margin-left: 6px; font-size: 11px; color: var(--pv-ink); opacity: .7; }

.lom-pv-tabla input[data-have] { width: 4.5em; }

.lom-pv-sourcing td, .lom-pv-sourcing th { text-align: end; }

.lom-pv-sourcing td:first-child, .lom-pv-sourcing th:first-child { text-align: start; }

/* The pot of the day in the kitchen link: a card per dish with its portions by age and its kilos. */

.lom-pot .lom-potdish { margin: .6rem 0; padding: .5rem .75rem; border: 1px solid var(--bs-border-color, #dee2e6); border-radius: .6rem; }

.lom-pot .lom-potdish h4 { font-size: 1.05rem; margin: 0 0 .15rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: baseline; }

.lom-pot .lom-potn { font-weight: 400; color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76)); }

.lom-pot .lom-potestimated { font-size: .8rem; font-weight: 400; border: 1px solid currentColor; border-radius: 999px; padding: 0 .5rem; color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76)); }

.lom-pot .lom-potbands { margin: 0 0 .35rem; font-size: .9rem; color: var(--lom-st-muted, var(--bs-secondary-color, #5f6b76)); }

.lom-pot .lom-potitems { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .15rem .75rem; }

.lom-pot .lom-potitems li { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dotted var(--bs-border-color, #dee2e6); }

.lom-pot .lom-potitems b { font-variant-numeric: tabular-nums; white-space: nowrap; }

.lom-pot .is-norecipe { border-style: dashed; }

/* The incidents to review on Today, and the red dot of a severe allergy wherever a name is. */

.lom-dincidentlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-dincident {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
}

.lom-recsevereform {
    display: inline-block;
    margin: 0 0 0 .5rem;
}

.lom-macc {
    margin-inline-start: .35rem;
    padding: 0 .3rem;
    border-radius: .3rem;
    background: var(--bs-secondary-bg, #e9ecef);
    color: var(--bs-body-color, #212529);
    font-size: .75rem;
    font-weight: 700;
}

/* The labels of the trays: three by eight on an A4 sheet, 70 × 37 mm each. */

.lom-labelsheet {
    display: grid;
    grid-template-columns: repeat(3, 70mm);
    grid-auto-rows: 37mm;
    width: 210mm;
    min-height: 297mm;
    padding: 0 0 0 0;
    box-sizing: border-box;
}

.lom-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1mm;
    padding: 3mm 5mm;
    border-inline-start: 3mm solid var(--lom-color, #2563a8);
    box-sizing: border-box;
    overflow: hidden;
    font-size: 10pt;
    line-height: 1.2;
}

.lom-label p {
    margin: 0;
}

.lom-labelname {
    font-size: 13pt;
    font-weight: 800;
}

.lom-labelgroup,
.lom-labelmenu {
    color: #444;
}

.lom-labeldiet {
    font-weight: 700;
}

.lom-labelletter {
    display: inline-block;
    min-width: 1.4em;
    padding: 0 .3em;
    border-radius: .3em;
    background: var(--lom-color, #2563a8);
    color: #fff;
    text-align: center;
    font-weight: 800;
}

@media print {
    .lom-labelsheet {
        page-break-after: always;
    }
}

/* The forecast: the amber strip of a menu moved after the order, and the sheet read before saving. */

.lom-pv-movida { margin: 12px 0; padding: 8px 12px; border-left: 3px solid #a15c07; background: color-mix(in srgb, #a15c07 10%, transparent); font-size: 13px; }

.lom-pv-movida ul { margin: 4px 0; padding-left: 18px; }

.lom-pv-movida p { margin: 4px 0 0; }

.lom-pv-preview h3 { font-family: "Archivo Tabla", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 4px; }

.lom-pv-preview h4 { font-size: 13px; margin: 10px 0 2px; }

.lom-pv-preview ul { margin: 0; padding-left: 18px; font-size: 13px; }

/* The counter at the door of the dining room (0.99.49): the answer large and calm, the camera or the field for a reader. */

.local-oksigeniameals-counter .lom-counter {
    max-width: 46rem;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}

.lom-counterday {
    margin: 0 0 1rem;
    color: var(--lom-st-muted);
}

.lom-countercam {
    width: min(100%, 24rem);
    aspect-ratio: 4 / 3;
    margin: 0 auto 1rem;
    border-radius: .8rem;
    background: #000;
    object-fit: cover;
}

.lom-counterform {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.lom-counterform input {
    flex: 1 1 14rem;
    min-height: 48px;
    font-size: 1.25rem;
    text-align: center;
}

.lom-counterlast {
    padding: 1.5rem 1rem;
    border: 2px solid var(--lom-st-line);
    border-radius: 1rem;
}

/* Read from two metres away: each state with its soft background, its border and a sign before the title, so that
   it never relies on the colour alone. */

.lom-counterlast.is-ok,
.lom-counterlast.is-stays {
    border-color: var(--bs-success, #2f7d46);
    background: var(--bs-success-bg-subtle, #e6f2ea);
}

.lom-counterlast.is-notoday,
.lom-counterlast.is-again {
    border-color: var(--bs-warning, #b9541a);
    background: var(--bs-warning-bg-subtle, #fdf1e6);
}

.lom-counterlast.is-unknown {
    border-color: var(--bs-danger, #c0262d);
    background: var(--bs-danger-bg-subtle, #f8e6e7);
}

.lom-counterlast h2 {
    margin: 0 0 .75rem;
    color: var(--bs-emphasis-color, #1d2125);
    font-size: 2rem;
    font-weight: 800;
}

.lom-counterlast h2::before {
    content: "";
    display: inline-block;
    width: .8em;
    height: .8em;
    margin-inline-end: .35em;
    vertical-align: -.05em;
    border: .14em solid currentColor;
    border-radius: 50%;
}

.lom-counterlast.is-ok h2::before,
.lom-counterlast.is-stays h2::before {
    border-color: var(--bs-success, #2f7d46);
    background: var(--bs-success, #2f7d46);
}

.lom-counterlast.is-notoday h2::before,
.lom-counterlast.is-again h2::before {
    border-color: var(--bs-warning-text-emphasis, #8a5a00);
}

.lom-counterlast.is-unknown h2::before {
    border-radius: .15em;
    border-color: var(--bs-danger, #c0262d);
    background: linear-gradient(45deg, transparent 40%, var(--bs-danger, #c0262d) 40% 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, var(--bs-danger, #c0262d) 40% 60%, transparent 60%);
}

.lom-counterlast.is-saved h2::before {
    border-style: dashed;
}

.lom-countermenu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.lom-counterdiet {
    margin: .75rem 0 0;
    font-size: 1.25rem;
}

.lom-countersevere {
    margin: .75rem 0 0;
    padding: .6rem .9rem;
    border-radius: .6rem;
    background: var(--bs-danger, #c0262d);
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
}

.lom-counterqr summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 .9rem;
    margin-top: .5rem;
    list-style: none;
    cursor: pointer;
}

.lom-counterqr summary::-webkit-details-marker {
    display: none;
}

.lom-counterqrbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: .5rem 0;
}

.lom-counterqrbox svg {
    width: 9rem;
    height: 9rem;
}

.lom-counterqrbox p {
    flex: 1 1 12rem;
    margin: 0;
    color: var(--lom-st-muted);
}

/* The state of the service, for the administrators: one row a check, its mark says how it stands (a filled dot, a ring,
   a cross), then the words. */

.local-oksigeniameals-health .lom-health-lead {
    font-size: 1.1rem;
    font-weight: 600;
}

.local-oksigeniameals-health .lom-health-list {
    display: grid;
    gap: .6rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-health .lom-health-row {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    gap: .75rem;
    padding: .7rem .9rem;
    border: 1px solid var(--lom-st-line, #dee2e6);
    border-radius: .8rem;
    background: var(--lom-st-card, #fff);
}

.local-oksigeniameals-health .lom-health-mark {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .3rem;
    border: 2px solid var(--bs-success, #2f7d46);
    border-radius: 50%;
    background: var(--bs-success, #2f7d46);
}

.local-oksigeniameals-health .is-warn .lom-health-mark {
    border-color: var(--bs-warning-text-emphasis, #8a6a00);
    background: transparent;
}

.local-oksigeniameals-health .is-bad .lom-health-mark {
    border-color: var(--bs-danger-text-emphasis, #a12622);
    background: linear-gradient(45deg, transparent 42%, var(--bs-danger-text-emphasis, #a12622) 42% 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, var(--bs-danger-text-emphasis, #a12622) 42% 58%, transparent 58%);
    border-radius: .2rem;
}

.local-oksigeniameals-health .lom-health-text h3 {
    margin: 0 0 .2rem;
    font-size: 1.05rem;
}

.local-oksigeniameals-health .lom-health-state {
    margin-inline-start: .4rem;
    color: var(--lom-st-muted, #5f6b76);
    font-size: .85rem;
    font-weight: 600;
}

.local-oksigeniameals-health .lom-health-text p {
    margin: 0 0 .2rem;
}

.local-oksigeniameals-health .lom-health-does {
    color: var(--lom-st-muted, #5f6b76);
    font-size: .9rem;
}

.local-oksigeniameals-health .lom-health-fix {
    font-weight: 600;
}

/* The handover: sections in words, to print on one page. */

.local-oksigeniameals-handover .lom-handover-section h3 {
    margin: 0 0 .4rem;
    font-size: 1.1rem;
}

.local-oksigeniameals-handover .lom-handover-section ul {
    margin: 0;
    padding-inline-start: 1.1rem;
    line-height: 1.45;
}

.local-oksigeniameals-handover .lom-handover-acts {
    display: flex;
    gap: .5rem;
    margin: 1rem 0 0;
}

/* Whoever has a role and has not come for months: said beside the name, in grey, never taken off alone. */

.lom-person.is-stale .lom-personstale {
    display: block;
    color: var(--lom-st-muted, #5f6b76);
    font-size: .8rem;
}

/* The diary: the days to look at, then each day with its entries in one line each. */

.local-oksigeniameals-diary .lom-diary-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .5rem 1rem;
    margin: 0 0 1rem;
}

.local-oksigeniameals-diary .lom-diary-who {
    flex: 1 1 14rem;
}

.local-oksigeniameals-diary .lom-diary-day h3 {
    margin: 1rem 0 .4rem;
    font-size: 1.05rem;
}

.local-oksigeniameals-diary .lom-diary-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--lom-st-line, #dee2e6);
}

.local-oksigeniameals-diary .lom-diary-entry {
    display: grid;
    /* Two lines beside the time: what happened, then for whom and from where. */
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: .15rem .75rem;
    padding: .45rem 0;
    border-bottom: 1px solid var(--lom-st-line, #dee2e6);
}

.local-oksigeniameals-diary .lom-diary-entry time {
    grid-row: 1 / span 2;
    color: var(--lom-st-muted, #5f6b76);
    font-variant-numeric: tabular-nums;
}

.local-oksigeniameals-diary .lom-diary-line {
    grid-column: 2;
    margin: 0;
}

.local-oksigeniameals-diary .lom-diary-kind {
    display: inline-block;
    margin-inline-end: .25rem;
    padding: 0 .5rem;
    border-radius: 999px;
    background: var(--lom-st-soft, #eef0f3);
    font-size: .8rem;
    font-weight: 700;
    vertical-align: .1em;
}

.local-oksigeniameals-diary .lom-diary-by {
    font-size: .95rem;
}

/* What was served: a box a day, its menus side by side, each dish with its allergens under it. */

.lom-served-staff .lom-served-acts,
.lom-served .lom-served-acts {
    margin: 0 0 1rem;
}

.lom-served-staff .lom-served-day h3 {
    margin: 0 0 .5rem;
    font-size: 1.1rem;
}

.lom-served-staff .lom-served-menus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: .75rem;
}

.lom-served-staff .lom-served-menu h4 {
    margin: 0 0 .25rem;
    font-size: .95rem;
}

.lom-served-staff .lom-served-menu ul,
.lom-served-staff .lom-served-diets {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-served-staff .lom-served-menu li {
    display: flex;
    flex-direction: column;
    padding: .2rem 0;
    border-top: 1px solid var(--lom-st-line, #dee2e6);
}

.lom-served-staff .lom-served-diets {
    margin: .5rem 0 0;
    color: var(--lom-st-muted, #5f6b76);
    font-size: .9rem;
}

.local-oksigeniameals-kid .lom-served {
    max-width: 50rem;
    margin: 0 auto;
    padding: 1rem;
}

.local-oksigeniameals-kid .lom-served-head h1 {
    margin: 0 0 .5rem;
}

.local-oksigeniameals-kid .lom-served-period {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .5rem;
}

/* The day of the commission's table on one line: «lun 2», not «lun» over «2». */

.lom-served .lom-st-table :is(th, td):first-child {
    white-space: nowrap;
}

.local-oksigeniameals-kid .lom-served-foot {
    margin: 1rem 0 0;
    font-size: .85rem;
}

/* The counter without connection: what it says, and a pass kept on the device. */

.lom-counteroffline {
    margin: 0 0 1rem;
    padding: .6rem .9rem;
    border-radius: .6rem;
    background: var(--bs-warning-bg-subtle, #fff4e5);
    color: var(--bs-warning-text-emphasis, #7a3e10);
    font-weight: 600;
}

.lom-counterlast.is-saved {
    border-style: dashed;
}

/* On a phone the tables of the order fit the screen: fixed columns for the figures, the product with its supplier under
   it, the fields as wide as their cell. */

@media (max-width: 36rem) {
    .lom-pv-tabla {
        width: 100%;
        table-layout: fixed;
    }

    .lom-pv-tabla th:nth-child(2),
    .lom-pv-tabla td:nth-child(2) {
        width: 3.4rem;
    }

    .lom-pv-tabla th:nth-child(n+3),
    .lom-pv-tabla td:nth-child(n+3) {
        width: 3.6rem;
    }

    .lom-pv-tabla td:first-child .lom-pv-prov {
        display: block;
    }

    .lom-pv-tabla input {
        width: 100%;
    }
}

.local-oksigeniameals-cards .lom-cardtools {
    max-width: 210mm;
    margin: 0 auto 1rem;
}

.local-oksigeniameals-cards .lom-cardtools h2 {
    margin: .5rem 0 .25rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.local-oksigeniameals-cards .lom-sheets {
    overflow-x: auto;
}

.local-oksigeniameals-cards .lom-sheet {
    box-sizing: border-box;
    width: 210mm;
    height: 296mm;
    margin: 0 auto 1rem;
    padding: 5mm;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
    break-after: page;
}

.local-oksigeniameals-cards .lom-sheet:last-child {
    break-after: auto;
}

@media print {
    .local-oksigeniameals-cards .lom-sheets {
        overflow: visible;
    }

    .local-oksigeniameals-cards .lom-sheet {
        margin: 0;
        box-shadow: none;
    }
}

.local-oksigeniameals-deadlines .lom-dlmoved .lom-quiet {
    margin-inline-start: .35rem;
    font-size: inherit;
}

/* The quiet button of Meals (DESIGN.md §4): for what is secondary («Not now», «Undo», «See all»), never an underlined
   sentence. Accent ink, a faint tint, 44 px to the finger, and a border on hover or focus. */

.lom-quiet,
.btn.lom-quiet,
.local-oksigeniameals-kid .lom-link,
.local-oksigeniameals-keys .lom-kquiet > summary,
.lom-noticeundo,
.lom-tg-all,
.local-oksigeniameals-ages .lom-aglink {
    display: inline-flex;
    gap: .35rem;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 2.75rem;
    padding: .45rem .9rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    background: rgba(var(--bs-primary-rgb, 26, 95, 180), .07);
    color: var(--lom-st-accentink, var(--bs-primary-text-emphasis, #1d4f8c));
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.lom-quiet:hover,
.lom-quiet:focus-visible,
.local-oksigeniameals-kid .lom-link:hover,
.local-oksigeniameals-kid .lom-link:focus-visible,
.local-oksigeniameals-keys .lom-kquiet > summary:hover,
.lom-noticeundo:hover,
.lom-noticeundo:focus-visible,
.lom-tg-all:hover,
.local-oksigeniameals-ages .lom-aglink:hover,
.local-oksigeniameals-ages .lom-aglink:focus-visible {
    border-color: rgba(var(--bs-primary-rgb, 26, 95, 180), .45);
    background: rgba(var(--bs-primary-rgb, 26, 95, 180), .12);
    color: var(--lom-st-accentink, var(--bs-primary-text-emphasis, #1d4f8c));
    text-decoration: none;
}

/* The native marker of a folded part: hidden in every browser wherever Meals draws its own (Firefox and Chrome paint
   ::marker; only the old WebKit one was hidden). */

.local-oksigeniameals-cards .lom-printsend > summary,
.local-oksigeniameals-day .lom-doff > summary,
.local-oksigeniameals-day .lom-dother > summary,
.local-oksigeniameals-deadlines .lom-dlchip::-webkit-details-marker,
.local-oksigeniameals-deadlines .lom-dlopening > summary,
.local-oksigeniameals-deadlines .lom-dlrow > summary,
.local-oksigeniameals-diets .lom-difor > summary,
.local-oksigeniameals-import .lom-ipaste > summary,
.local-oksigeniameals-keys .lom-kask > summary,
.local-oksigeniameals-keys .lom-kmore > summary,
.local-oksigeniameals-kid .lom-knotes > summary,
.local-oksigeniameals-kid :is(.lom-fold, .lom-group, .lom-allergenkey, .lom-noticefold, .lom-counterqr) > summary,
.local-oksigeniameals-rule .lom-pick > summary,
.local-oksigeniameals-setup .lom-item > summary,
.local-oksigeniameals-setup .lom-stepedit > summary,
.local-oksigeniameals-staffcard .lom-st-fold > summary,
.local-oksigeniameals-units .lom-ugroup > summary,
.lom-df-upload > summary,
.lom-recnotesedit > summary,
.lom-record .lom-recleave > summary,
.lom-st-act,
.lom-st-more summary,
.lom-st-note summary,
.lom-staffnoticeaways > summary,
.lom-tg-propose > summary,
summary.lom-tg-sum {
    list-style: none;
}

.local-oksigeniameals-cards .lom-printsend > summary::marker,
.local-oksigeniameals-day .lom-doff > summary::marker,
.local-oksigeniameals-day .lom-dother > summary::marker,
.local-oksigeniameals-deadlines .lom-dlchip::-webkit-details-marker::marker,
.local-oksigeniameals-deadlines .lom-dlopening > summary::marker,
.local-oksigeniameals-deadlines .lom-dlrow > summary::marker,
.local-oksigeniameals-diets .lom-difor > summary::marker,
.local-oksigeniameals-import .lom-ipaste > summary::marker,
.local-oksigeniameals-keys .lom-kask > summary::marker,
.local-oksigeniameals-keys .lom-kmore > summary::marker,
.local-oksigeniameals-kid .lom-knotes > summary::marker,
.local-oksigeniameals-kid :is(.lom-fold, .lom-group, .lom-allergenkey, .lom-noticefold, .lom-counterqr) > summary::marker,
.local-oksigeniameals-rule .lom-pick > summary::marker,
.local-oksigeniameals-setup .lom-item > summary::marker,
.local-oksigeniameals-setup .lom-stepedit > summary::marker,
.local-oksigeniameals-staffcard .lom-st-fold > summary::marker,
.local-oksigeniameals-units .lom-ugroup > summary::marker,
.lom-df-upload > summary::marker,
.lom-recnotesedit > summary::marker,
.lom-record .lom-recleave > summary::marker,
.lom-st-act::marker,
.lom-st-more summary::marker,
.lom-st-note summary::marker,
.lom-staffnoticeaways > summary::marker,
.lom-tg-propose > summary::marker,
summary.lom-tg-sum::marker {
    content: "";
}

/* What is tapped several times in a row: no wait for a double tap, no zoom. */

.local-oksigeniameals-kid .lom-regrow,
.local-oksigeniameals-kid .lom-regrow button,
.local-oksigeniameals-kid .lom-cell,
.local-oksigeniameals-kid .lom-card,
.lom-st-daycard,
.lom-tg-row button {
    touch-action: manipulation;
}

.local-oksigeniameals-show .lom-showqr svg {
    width: min(22rem, 80vw);
    height: auto;
}

/* The QR code of the shortener, an image: the same size as the one Meals draws, whatever its shape. */

.local-oksigeniameals-show .lom-showqr img.lom-qr {
    display: block;
    width: min(22rem, 80vw);
    height: auto;
    margin: 0 auto;
}

.local-oksigeniameals-keys .lom-muted {
    color: var(--lom-muted);
}

.local-oksigeniameals-keys .lom-kgroups,
.local-oksigeniameals-keys .lom-kkinds {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
}

.local-oksigeniameals-keys .lom-kname {
    font-size: 1.05rem;
    font-weight: 700;
}

.local-oksigeniameals-staffcard .lom-countdown.lom-soon {
    color: var(--bs-warning-text-emphasis, #b45309);
    font-weight: 800;
}

.local-oksigeniameals-deadlines .lom-dlrow .lom-dlplain .lom-countdown {
    color: inherit;
    font-weight: 400;
}

.local-oksigeniameals-setup .lom-step {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: .9rem;
    margin: .75rem 0;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--lom-line);
    border-radius: .9rem;
    background: var(--bs-body-bg, #fff);
    scroll-margin-top: 5rem;
}

.local-oksigeniameals-setup .lom-steplink,
.local-oksigeniameals-setup .lom-stepedit > summary,
.local-oksigeniameals-setup .lom-stepadd {
    color: var(--lom-blue);
    font-weight: 700;
}

.local-oksigeniameals-setup .lom-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: .3rem 0 .4rem;
}

.local-oksigeniameals-setup .lom-muted {
    color: var(--lom-muted);
}

.local-oksigeniameals-setup .lom-stepedit {
    margin-top: .6rem;
}

.local-oksigeniameals-setup .lom-stepedit > summary {
    display: inline-block;
    cursor: pointer;
    list-style: none;
}

.local-oksigeniameals-setup .lom-stepedit > summary::-webkit-details-marker {
    display: none;
}

.local-oksigeniameals-setup .lom-stepedit[open] > summary {
    color: var(--lom-muted);
}

@media (max-width: 575.98px) {
    .local-oksigeniameals-setup .lom-step {
        grid-template-columns: 1.75rem minmax(0, 1fr);
        gap: .6rem;
        padding: .9rem;
    }
}

.local-oksigeniameals-setup .lom-step {
    position: relative;
}

/* «Change» of a step, at its top right; those of each rhythm and «Add a rhythm» stay where they are, under it. */

.local-oksigeniameals-setup .lom-step:has(> .lom-stepbody > .lom-stepedit:not(.lom-rhythmedit)) .lom-stephead {
    padding-inline-end: 6rem;
}

.local-oksigeniameals-setup .lom-stepbody > .lom-stepedit:not(.lom-rhythmedit) > summary {
    position: absolute;
    top: 1.1rem;
    inset-inline-end: 1.25rem;
}

.local-oksigeniameals-setup .lom-stepedit .lom-whenopen,
.local-oksigeniameals-setup .lom-stepedit[open] .lom-whenclosed {
    display: none;
}

.local-oksigeniameals-setup .lom-stepedit[open] .lom-whenopen {
    display: inline;
}

.local-oksigeniameals-setup .lom-step:has(.lom-stepedit[open]) .lom-dietlist {
    display: none;
}

.local-oksigeniameals-setup .lom-parts {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.local-oksigeniameals-day .lom-dsearch {
    margin-bottom: 1rem;
}

.local-oksigeniameals-day .lom-kname {
    font-size: 1.1rem;
    font-weight: 700;
}

.local-oksigeniameals-day .lom-ksince,
.local-oksigeniameals-day .lom-muted {
    color: var(--bs-secondary-color, #5f6b76);
}

.local-oksigeniameals-menus .lom-muted {
    color: var(--lom-muted);
}

/* The dishes that break a diet: marked in red by their border and title, not a whole block painted red. */

.local-oksigeniameals-menus .lom-mconflicts {
    border: 2px solid var(--bs-danger-border-subtle, #f1b3b3);
}

.local-oksigeniameals-menus .lom-mconflicts h3 {
    margin: 0;
    color: var(--lom-red);
    font-size: 1.2rem;
    font-weight: 800;
}

.local-oksigeniameals-menus .lom-mhead {
    margin: 1.5rem 0 .2rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.local-oksigeniameals-menus .lom-mfix:first-child,
.local-oksigeniameals-menus .lom-mconflicts .lom-mfix:first-of-type {
    border-top: 0;
}

.local-oksigeniameals-menus .lom-mfix > .lom-mfood {
    flex: none;
    color: var(--lom-muted);
}

.local-oksigeniameals-menus .lom-mdish .lom-mfood {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--lom-blue);
}

.local-oksigeniameals-import .lom-muted {
    color: var(--bs-secondary-color, #5f6b76);
}

.local-oksigeniameals-import .lom-icard {
    margin-bottom: 1rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .9rem;
    background: var(--bs-body-bg, #fff);
}

.local-oksigeniameals-import .lom-icard h3 {
    margin: 0 0 .4rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.local-oksigeniameals-import .lom-ibuttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.local-oksigeniameals-diets .lom-muted {
    color: var(--bs-secondary-color, #5f6b76);
}

/* «Until a day»: six weeks of school days as small cells of the canteen, to tap the last day of a diet on; from today
   to it they are marked, the last one filled, and the line below says it (Enrique, 27 October 2026: «"hasta" con el día
   en que acaba, con un calendario bonito»). */

.local-oksigeniameals-diets .lom-dical {
    margin-top: .6rem;
}

.local-oksigeniameals-diets .lom-dicalgrid {
    display: grid;
    grid-template-columns: repeat(var(--lom-calcols, 5), minmax(0, 3.25rem));
    gap: .35rem;
}

.local-oksigeniameals-diets .lom-dicalwd {
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .75rem;
    font-weight: 800;
    text-align: center;
}

.local-oksigeniameals-diets .lom-dicalday {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 2.75rem;
    margin: 0;
    border: 1.5px solid var(--bs-border-color, #dee2e6);
    border-radius: .65rem;
    background: var(--bs-body-bg, #fff);
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.local-oksigeniameals-diets .lom-dicalday input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.local-oksigeniameals-diets .lom-dicalday small {
    position: absolute;
    top: .1rem;
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .6rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

@media (hover: hover) {
    .local-oksigeniameals-diets .lom-dicalday:hover {
        border-color: var(--bs-primary, #2563a8);
    }
}

.local-oksigeniameals-diets .lom-dicalday:has(input:focus-visible) {
    outline: 3px solid var(--bs-primary, #2563a8);
    outline-offset: 2px;
}

.local-oksigeniameals-diets .lom-dicalday.is-today {
    border-color: var(--bs-primary, #2563a8);
    border-width: 2px;
}

.local-oksigeniameals-diets .lom-dicalday.is-past {
    border-style: dashed;
    color: var(--bs-secondary-color, #5f6b76);
    opacity: .55;
    cursor: default;
}

.local-oksigeniameals-diets .lom-dicalday.is-in {
    border-color: rgba(var(--bs-primary-rgb, 37, 99, 168), .4);
    background: color-mix(in srgb, var(--bs-primary, #2563a8) 14%, var(--bs-body-bg, #fff));
}

.local-oksigeniameals-diets .lom-dicalday.is-end {
    border-color: var(--bs-primary, #2563a8);
    background: var(--bs-primary, #2563a8);
    color: #fff;
}

.local-oksigeniameals-diets .lom-dicalday.is-end small {
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .local-oksigeniameals-diets .lom-dicalday {
        transition: none;
    }
}

.local-oksigeniameals-units .lom-sintro,
.local-oksigeniameals-units .lom-muted {
    color: var(--bs-secondary-color, #5f6b76);
}

.local-oksigeniameals-bar .lom-baritem,
.lom-st-views a,
.lom-st-views summary,
.lom-st-tiles a,
.lom-st-more a,
.local-oksigeniameals-menus .lom-ktab,
.local-oksigeniameals-menus .lom-mmonths a,
.local-oksigeniameals-day .lom-dday,
.local-oksigeniameals-staffpage .btn {
    text-decoration: none;
}

/* Tables: in a box of their own, the head fixed while going down, a band on every other row (or, when grouped by
   day, on every other day), numbers right next to their label and on the right, totals with a rule above. */

.lom-st-scroll {
    margin: 0 0 1rem;
    border: 1px solid var(--lom-st-line);
    border-radius: .75rem;
    background: var(--lom-st-card);
}

.lom-st-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .92rem;
    font-variant-numeric: tabular-nums;
}

.lom-st-table th,
.lom-st-table td {
    padding: .45rem .7rem;
    border: 0;
    text-align: start;
}

.lom-st-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 2px solid var(--lom-st-line);
    background: var(--lom-st-card);
    color: var(--lom-st-muted);
    font-size: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.lom-st-table thead th:first-child {
    border-start-start-radius: .75rem;
}

.lom-st-table thead th:last-child {
    border-start-end-radius: .75rem;
}

.lom-st-table tbody th,
.lom-st-table tbody td {
    border-bottom: 1px solid var(--lom-st-soft);
}

.lom-st-table tbody th[scope="row"] {
    font-weight: 600;
}

.lom-st-table .lom-st-n {
    width: 4.2rem;
    text-align: end;
    white-space: nowrap;
}

.lom-st-table:not(.is-grouped) tbody tr:nth-child(even) > *,
.lom-st-table.is-grouped tbody:nth-of-type(even) > tr > * {
    background: var(--lom-st-raise);
    background: color-mix(in srgb, var(--lom-st-ink) 5%, var(--lom-st-card));
}

@media (hover: hover) {
    .lom-st-table tbody tr:hover > * {
        background: var(--lom-st-accentsoft);
    }
}

.lom-st-table tr.lom-st-dayrow > * {
    padding-top: .7rem;
    border-bottom: 0;
    color: var(--lom-st-ink);
    font-size: .95rem;
    font-weight: 800;
}

.lom-st-table tr.lom-st-total > * {
    border-top: 2px solid var(--lom-st-line);
    font-weight: 800;
}

.lom-st-table.is-compact th,
.lom-st-table.is-compact td {
    padding: .3rem .5rem;
}

.lom-st-lbbody > h3 .lom-st-muted {
    color: var(--lom-st-muted);
    font-size: 1.05rem;
}

.lom-st-daycard h3 .lom-st-muted {
    color: var(--lom-st-muted);
    font-size: .85rem;
    font-weight: 600;
    text-transform: none;
}

@media (max-width: 760px) {
    .lom-st-scroll {
        overflow-x: auto;
    }
}

@media print {
    .lom-st-scroll {
        overflow: visible;
        border: 0;
    }

    .lom-st-table thead th {
        position: static;
    }
}

/* In dark mode the theme underlines every link of the page with a rule that holds an id; the cards, chips and big
   buttons of Meals are not text links, and an underline across them reads badly. */

a.lom-cell, a.lom-big, a.lom-round, a.lom-steplink, a.lom-ktab, a.lom-mchip, a.lom-dlgrace, a.lom-st-task,
a.lom-nextday, a.lom-df-card, a.lom-dday, a.lom-chip, a.lom-baritem, a.lom-rulechip {
    text-decoration: none !important;
}

/* Each card: the drawing of what it sets in a tile, its number on the tile's corner. Solid when done, dashed while
   still to do; the next one to do, in the accent. */

.local-oksigeniameals-setup .lom-step {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 1.1rem;
    align-items: start;
    padding: 1.15rem 1.25rem 1.15rem 1.35rem;
}

.local-oksigeniameals-setup .lom-step:not(.is-done) .lom-st-stepmark {
    border-style: dashed;
}

.local-oksigeniameals-setup .lom-step.is-done .lom-st-stepmark > b {
    border-style: solid;
    border-color: var(--bs-success-text-emphasis, #0a3622);
    background: var(--bs-success-bg-subtle, #d1e7dd);
    color: var(--bs-success-text-emphasis, #0a3622);
}

.local-oksigeniameals-setup .lom-step.is-next {
    border-color: var(--lom-st-accent);
    box-shadow: 0 0 0 1px var(--lom-st-accent);
}

[data-bs-theme="dark"] .local-oksigeniameals-setup .lom-step.is-next {
    border-color: var(--lom-st-accentink);
    box-shadow: 0 0 0 1px var(--lom-st-accentink);
}

.local-oksigeniameals-setup .lom-step.is-next .lom-st-stepmark > b {
    border-style: solid;
    border-color: var(--lom-st-accentink);
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
}

/* «Change», «See the rules», «See the deadlines»: pills at the top right of their card. */

.local-oksigeniameals-setup .lom-step:has(> .lom-stepbody > .lom-stepedit:not(.lom-rhythmedit)) .lom-stephead {
    padding-inline-end: 8.5rem;
}

.local-oksigeniameals-setup .lom-stepbody > .lom-stepedit:not(.lom-rhythmedit) > summary.lom-st-act {
    top: 1rem;
    inset-inline-end: 1.1rem;
}

.local-oksigeniameals-setup .lom-stepedit > summary.lom-st-act,
.local-oksigeniameals-setup a.lom-steplink.lom-st-act {
    display: inline-flex;
    color: var(--lom-st-link);
    font-weight: 700;
}

.local-oksigeniameals-setup .lom-stepedit[open] > summary.lom-st-act {
    --lom-st-g: var(--lom-st-g-remove);
    border-color: var(--lom-st-line);
    color: var(--lom-st-ink);
}

.local-oksigeniameals-setup .lom-stepedit > summary.lom-st-act .lom-stepadd {
    margin: 0;
    color: inherit;
}

@media (max-width: 575px) {
    .local-oksigeniameals-setup .lom-step {
        grid-template-columns: 2.6rem minmax(0, 1fr);
        gap: .8rem;
        padding: 1rem .9rem 1rem 1.1rem;
    }

    /* On a phone the pill goes under the title, not over it. */

    .local-oksigeniameals-setup .lom-step:has(> .lom-stepbody > .lom-stepedit:not(.lom-rhythmedit)) .lom-stephead {
        padding-inline-end: 0;
    }

    .local-oksigeniameals-setup .lom-stepbody > .lom-stepedit:not(.lom-rhythmedit) > summary.lom-st-act {
        position: static;
    }

    .local-oksigeniameals-setup .lom-stepbody > .lom-stepedit:not(.lom-rhythmedit) {
        order: 5;
    }
}

.local-oksigeniameals-diets .lom-dipeople .lom-st-act {
    min-height: 2rem;
    font-size: .85rem;
}

.local-oksigeniameals-import .lom-idrop .lom-muted {
    color: var(--lom-st-text);
}

.local-oksigeniameals-import .lom-ibuttons .lom-itemplate {
    margin-inline-start: auto;
}

.local-oksigeniameals-import .lom-ihwhat .lom-muted {
    margin-inline-start: .35rem;
    color: var(--lom-st-text);
    font-size: .875rem;
    white-space: nowrap;
}

.local-oksigeniameals-import .lom-ihistory .lom-st-act {
    min-height: 2rem;
    font-size: .85rem;
}

/* Today: its column in a whisper of the accent, its head with a bar on top. */

.lom-st-table.lom-st-grid tbody tr > .lom-st-day.is-today,
.lom-st-table.lom-st-grid thead th.lom-st-day.is-today {
    background: var(--lom-st-accentsoft);
    background: color-mix(in srgb, var(--lom-st-accent) 10%, var(--lom-st-card));
}

.lom-st-groups .lom-st-scroll {
    margin: 0;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
}

/* ---- The screens and the full list: one table, a band for each group; the name stays while the days slide ----- */

/* A box that slides holds what is placed inside it: the hidden names of the chips (for the screen reader) are placed
   absolutely, and without this they would widen the page beyond the box. */

.lom-st-scroll {
    position: relative;
}

@media print {
    .lom-st-table.lom-st-grid tbody tr > .lom-st-day.is-today,
    .lom-st-table.lom-st-grid thead th.lom-st-day.is-today {
        background: none;
        box-shadow: none;
    }
}

@media print {
    .local-oksigeniameals-kid .lom-nextlist > li,
    .local-oksigeniameals-kid table,
    .local-oksigeniameals-kid .lom-st-panel {
        break-inside: avoid;
    }
}

/* Which days consumption covers: the month of the calendar first, as the fee is charged, then the block of the canteen and
   any two days. Pills like the views of the lists, but they stay on a phone: there is no select for them. */

.lom-cons-spans {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 .75rem;
}

.lom-cons-span {
    display: inline-block;
    min-height: 44px;
    padding: .55rem .9rem;
    border: 1px solid var(--lom-st-line, #dee2e6);
    border-radius: 999px;
    background: var(--lom-st-card, #fff);
    color: var(--lom-st-ink, #1d2125);
    font-weight: 600;
    text-decoration: none !important;
}

.lom-cons-span:focus {
    border-color: var(--lom-st-accent, #2563a8);
    color: var(--lom-st-ink, #1d2125);
}

@media (hover: hover) {
    .lom-cons-span:hover {
        border-color: var(--lom-st-accent, #2563a8);
        color: var(--lom-st-ink, #1d2125);
    }
}

.lom-cons-span.is-current {
    border-color: var(--lom-st-accent, #2563a8);
    background: var(--lom-st-accentsoft, #e8f0fa);
    color: var(--lom-st-accentink, #12457f);
}

.local-oksigeniameals-diets .lom-diwho .lom-muted {
    white-space: nowrap;
}

/* The page of a canteen: its fields in a box, like the rest of the setup. */

.local-oksigeniameals-setup .lom-sform.lom-st-box {
    padding: 1rem 1.1rem;
}

.local-oksigeniameals-cards .lom-cardsempty .lom-st-empty.lom-st-mantel {
    width: 100%;
    max-width: 210mm;
    margin: 0 auto;
}

/* What some do not eat and is on their plate today: for the kitchen, a block for each food, the most serious first,
   with who, their group and why; for whoever serves, a line under the name. Red for a severe allergy, amber for an
   allergy, grey for a taste. */

.local-oksigeniameals-kid .lom-kfoods .lom-kfood {
    margin-top: .6rem;
    padding: .55rem .75rem;
    border-inline-start: .3rem solid #6c757d;
    border-radius: .5rem;
    background: var(--bs-tertiary-bg, #f4f6f8);
}

.local-oksigeniameals-kid .lom-kfoods .lom-kfood.is-severe {
    border-inline-start-color: #b42318;
}

.local-oksigeniameals-kid .lom-kfoods .lom-kfood.is-allergy {
    border-inline-start-color: #b45309;
}

.local-oksigeniameals-kid .lom-kfoodname {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-kfoodwhere {
    margin-bottom: .35rem;
}

.local-oksigeniameals-kid .lom-kfoodpeople {
    display: grid;
    gap: .25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-kfoodpeople li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .5rem;
}

.local-oksigeniameals-kid .lom-kfoodlevel,
.lom-regfood {
    display: inline-block;
    padding: .05rem .45rem;
    border-radius: 999px;
    background: #e9ecef;
    color: #343a40;
    font-size: .78rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-kfoodlevel.is-severe,
.lom-regfood.is-severe {
    background: #b42318;
    color: #fff;
}

.local-oksigeniameals-kid .lom-kfoodlevel.is-allergy,
.lom-regfood.is-allergy {
    background: #fde7c3;
    color: #7a3e00;
}

.lom-regfood {
    display: block;
    width: fit-content;
    margin-top: .2rem;
    border-radius: .4rem;
    font-size: .82rem;
}

/* Meals · «Para tu familia»: the page a parent opens on their child's computer or tablet to take
   their family's way in to their phone. Meals' guide inks (--lom-g-ink, --lom-g-paper, --lom-g-rust), not Moodle's
   look; the theme's letter. Light and dark ([data-bs-theme="dark"], Moodle 5.3). What is read from afar (the QR, the
   code, the PIN, the step numbers) is big. No max-width on text: it takes its box. */
.lom-pf-fondo, .lom-pf { --pf-ink: var(--lom-g-ink, #1D2E4A); --pf-paper: var(--lom-g-paper, #FAF7F1); --pf-rust: var(--lom-g-rust, #B9541A);
  --pf-card: #fffdf8; --pf-muted: #566174; --pf-line: rgba(29, 46, 74, .18); --pf-tint: rgba(185, 84, 26, .08); }
[data-bs-theme="dark"] .lom-pf-fondo, [data-bs-theme="dark"] .lom-pf { --pf-ink: #F4EFE6; --pf-paper: #17233A; --pf-rust: #EE9A6C; --pf-card: #1d2b45;
  --pf-muted: #b7bfcc; --pf-line: rgba(244, 239, 230, .18); --pf-tint: rgba(238, 154, 108, .12); }
.lom-pf-fondo { background: var(--pf-paper); }
.lom-pf { box-sizing: border-box; container-type: inline-size; padding: clamp(20px, 3vw, 40px) clamp(16px, 4vw, 64px) 32px; background: var(--pf-paper); color: var(--pf-ink); line-height: 1.45; }
.lom-pf * { box-sizing: border-box; }
.lom-pf p { margin: 0; }
.lom-pf b { font-weight: 800; }
.lom-pf-eti { color: var(--pf-rust); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* --- Whose: the child, as in their diner file, and what this is for ---------------------------------------------- */
.lom-pf-cab { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 20px 28px;
  padding-bottom: 22px; border-bottom: 2px solid var(--pf-ink); }
.lom-pf-bicho { display: block; width: 96px; height: 96px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px var(--pf-paper), 0 0 0 5px var(--pf-ink); }
.lom-pf-foto { object-fit: cover; }
/* On the phone itself, nothing to scan: the steps take the whole width. */
.lom-pf-en-movil .lom-pf-camino-cuerpo { grid-template-columns: minmax(0, 1fr); }
.lom-pf-cab h1 { margin: 2px 0 0; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.lom-pf-grupo { margin-top: 4px !important; color: var(--pf-muted); font-size: 1.05rem; }
.lom-pf-que { font-size: 1.2rem; }

/* --- Which phone: two big halves; detected on a phone, asked on a computer ------------------------------------- */
.lom-pf-movil { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 22px 0 26px; }
.lom-pf-movil > p { font-size: 1.15rem; font-weight: 800; }
.lom-pf-movil small { flex-basis: 100%; color: var(--pf-muted); font-size: .9rem; }
.lom-pf-seg { display: inline-grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--pf-ink); border-radius: 999px; overflow: hidden; }
.lom-pf-seg label { display: grid; place-items: center; min-width: 120px; min-height: 48px; margin: 0; padding: 0 22px; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.lom-pf-os { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#lom-pf-os-ios:checked ~ .lom-pf-movil label[for="lom-pf-os-ios"],
#lom-pf-os-android:checked ~ .lom-pf-movil label[for="lom-pf-os-android"] { background: var(--pf-ink); color: var(--pf-paper); }
#lom-pf-os-ios:focus-visible ~ .lom-pf-movil label[for="lom-pf-os-ios"],
#lom-pf-os-android:focus-visible ~ .lom-pf-movil label[for="lom-pf-os-android"] { outline: 3px solid var(--pf-rust); outline-offset: -6px; }
#lom-pf-os-ios:checked ~ * .lom-pf-solo-android,
#lom-pf-os-android:checked ~ * .lom-pf-solo-ios { display: none; }

/* --- A way in: its header, then what to scan beside its numbered steps ----------------------------------------- */
.lom-pf-camino { margin: 0 0 28px; padding: 24px clamp(18px, 2.4vw, 32px) 28px; background: var(--pf-card); border: 2px solid var(--pf-ink); border-radius: 18px; }
.lom-pf-b { border-style: dashed; border-color: var(--pf-line); border-width: 2px; background: transparent; }
/* The seal, if any, then the title on the same line; the sentence under both. With or without seal, no grid to squeeze. */
.lom-pf-camino-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 22px; }
.lom-pf-camino-cab h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.1; }
.lom-pf-camino-cab p { flex-basis: 100%; color: var(--pf-muted); font-size: 1.05rem; }
.lom-pf-sello { align-self: center; padding: 4px 12px; border: 2px solid var(--pf-rust); border-radius: 999px; color: var(--pf-rust);
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); }
.lom-pf-sello-otro { border-color: var(--pf-muted); color: var(--pf-muted); transform: none; }
.lom-pf-camino-cuerpo { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr); gap: 28px clamp(24px, 4vw, 56px); align-items: start; }

/* What to scan: the QR, big and on white whatever the theme, with what to type if it cannot be scanned. */
.lom-pf-codigo { display: grid; justify-items: center; gap: 10px; text-align: center; }
.lom-pf-qr { width: min(100%, 300px); border-radius: 12px; overflow: hidden; background: #fff; color: #1D2E4A; box-shadow: 0 0 0 2px var(--pf-ink); }
.lom-pf-qr svg { display: block; width: 100%; height: auto; }
.lom-pf-o { color: var(--pf-muted); font-size: 1rem; }
.lom-pf-o b { color: var(--pf-ink); }
.lom-pf-clave { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .08em; }
.lom-pf-caduca { color: var(--pf-muted); font-size: .9rem; }
.lom-pf-pin-caja { display: grid; justify-items: center; gap: 6px; }
.lom-pf-pin-caja > p:last-child { color: var(--pf-muted); font-size: .95rem; }
/* The PIN, one box per figure (4 or 6, or what it has): up to 56 px each, sharing the width they have when it is less. */
.lom-pf-pin { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 56px); gap: 6px; justify-content: center; width: 100%; }
.lom-pf-pin span { display: grid; place-items: center; aspect-ratio: 56 / 66; border: 2px solid var(--pf-ink); border-radius: 10px; background: var(--pf-paper);
  font: 800 clamp(1.3rem, 5.5cqi, 2.3rem)/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.lom-pf-salida { justify-self: stretch; margin-top: 6px !important; padding: 12px 14px; border-radius: 12px; background: var(--pf-tint); font-size: 1rem; text-align: start; }

/* The steps: a big number, a line drawing and the words, one per row; what to touch in bold, as the phone writes it. */
.lom-pf-pasos { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lom-pf-pasos li { display: grid; grid-template-columns: 44px 64px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--pf-line); }
.lom-pf-pasos li:first-child { border-top: 0; }
.lom-pf-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pf-ink); color: var(--pf-paper); font-size: 1.3rem; font-weight: 800; }
.lom-pf-dibujo { width: 64px; height: 64px; fill: none; stroke: var(--pf-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lom-pf-dibujo .o { stroke: var(--pf-rust); }
.lom-pf-dibujo .r { fill: var(--pf-rust); stroke: none; }
.lom-pf-pasos p { font-size: 1.12rem; line-height: 1.4; }
.lom-pf-pasos li > div { display: grid; gap: 10px; }
.lom-pf-paso-aqui .lom-pf-boton { justify-self: stretch; }

/* Already in: a line with its sign, the code stays at hand for another adult. */
.lom-pf-dentro { display: flex; align-items: flex-start; gap: 10px; margin: -6px 0 20px !important; padding: 12px 14px; border-radius: 12px;
  background: rgba(47, 125, 70, .12); font-size: 1.05rem; }
[data-bs-theme="dark"] .lom-pf-dentro { background: rgba(128, 196, 146, .16); }
.lom-pf-dentro svg { flex: none; width: 24px; height: 24px; fill: none; stroke: #2f7d46; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
[data-bs-theme="dark"] .lom-pf-dentro svg { stroke: #80c492; }

/* Opened on the phone itself: the scanning step becomes «Abrir aquí», in its place. */
.lom-pf-boton { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: var(--pf-ink); color: var(--pf-paper);
  font-size: 1.15rem; font-weight: 800; text-decoration: none; }

.lom-pf-hermanos { padding: 16px 0; border-top: 1px solid var(--pf-line); border-bottom: 1px solid var(--pf-line); font-size: 1.08rem; }
.lom-pf-pie { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--pf-muted); font-size: .9rem; font-weight: 700; }
.lom-pf-logo { width: 28px; height: 28px; }

/* Narrower than a wide window (a tablet, or Moodle's column at any window): each way in one column, what to scan above
   its steps. Cut by the page's own width (container), not the window's. */
@container (max-width: 820px) {
  .lom-pf-cab { grid-template-columns: auto minmax(0, 1fr); }
  .lom-pf-que { grid-column: 1 / -1; }
  .lom-pf-camino-cuerpo { grid-template-columns: minmax(0, 1fr); }
}
/* A phone, or a box as narrow. */
@container (max-width: 520px) {
  .lom-pf-bicho { width: 72px; height: 72px; }
  .lom-pf-que { font-size: 1.05rem; }
  .lom-pf-seg { width: 100%; }
  .lom-pf-seg label { min-width: 0; }
  .lom-pf-camino { padding: 18px 16px 20px; border-radius: 16px; }
  .lom-pf-camino-cab { grid-template-columns: minmax(0, 1fr); }
  .lom-pf-camino-cab p { grid-column: 1; }
  .lom-pf-sello { justify-self: start; }
  .lom-pf-pasos li { grid-template-columns: 36px 48px minmax(0, 1fr); gap: 12px; }
  .lom-pf-num { width: 36px; height: 36px; font-size: 1.1rem; }
  .lom-pf-dibujo { width: 48px; height: 48px; }
  .lom-pf-pasos p { font-size: 1.02rem; }
  .lom-pf-pasos .lom-pf-pin { justify-content: start; }
}

/* The way in to «For your family», at the foot of the child's own page. */
.lom-pf-entrada {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: 12px 0;
    padding: 0 22px;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

/* Inside the page of the family of Oksigenia Family: its own paper and margins are the page's. */
.lom-pf-seccion,
.lom-pf-seccion .lom-pf {
    padding: 0;
    background: transparent;
}

/* The diets a diner found already has, above the form to put another (0.110.3): each one whole, never split. */
.local-oksigeniameals-diets .lom-dihas {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin: 0 0 .7rem;
}

.local-oksigeniameals-diets .lom-dihasone {
    white-space: nowrap;
}

/* What asks to be sure, in a dialog of the canteen: the question, and the button of what is done next to Cancel. */

dialog.lom-confirm {
    width: min(26rem, calc(100vw - 2rem));
    padding: 0;
    border: 0;
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #17212b);
    box-shadow: 0 1.25rem 3rem -1rem rgba(0, 0, 0, .45);
}

dialog.lom-confirm::backdrop {
    background: rgba(15, 23, 32, .45);
}

dialog.lom-confirm .lom-confirmbox {
    margin: 0;
    padding: 1.4rem 1.5rem 1.25rem;
}

dialog.lom-confirm .lom-confirmq {
    margin: 0 0 1.25rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
}

dialog.lom-confirm .lom-confirmacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

dialog.lom-confirm .lom-confirmacts .btn {
    min-height: 44px;
    padding-inline: 1.25rem;
    border-radius: 999px;
    font-weight: 600;
}

/* The diets someone already has, each with its way to take it off, where another one is put. */

.local-oksigeniameals-diets .lom-dihasone {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .5rem;
}

.local-oksigeniameals-diets .lom-dihasdel {
    display: inline;
    margin: 0;
}

/* With nothing chosen that day, which menu comes without choosing: once, over the cards, none of them marked. */

.local-oksigeniameals-kid .lom-defaultline {
    margin: 0 0 .75rem;
    color: var(--lom-st-muted, var(--bs-secondary-color, #5b6670));
    font-size: .95rem;
}

/* Some days a week: their days beside their name, quiet; in amber when this week they have eaten more than theirs. */

.lom-regweekly {
    display: block;
    margin-top: .15rem;
    color: var(--lom-st-muted, var(--bs-secondary-color, #5b6670));
    font-size: .82rem;
    font-weight: 600;
}

.lom-regweekly.is-over {
    color: var(--bs-warning-text-emphasis, #7a4300);
}

.lom-regweekover {
    margin: 0 0 .75rem;
    padding: .5rem .75rem;
    border-inline-start: .3rem solid var(--bs-warning, #ffc107);
    border-radius: .4rem;
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
    font-weight: 600;
}

/* The notes of the monitors before the family reads them (0.111.7): a card each to read, the usual days in lines, and
   one button for all, kept at hand at the foot of the screen. */

/* One width with the bar of the staff above it, as the other pages of the staff. */
.local-oksigeniameals-notes {
    max-width: 66rem;
}

.local-oksigeniameals-notes .lom-nrsection {
    margin-bottom: 1.25rem;
}

.local-oksigeniameals-notes .lom-nrtitle {
    margin: 0 0 .5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.local-oksigeniameals-notes .lom-nrlist,
.local-oksigeniameals-notes .lom-nrroutine {
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-notes .lom-nrcard {
    padding: .75rem .9rem;
    border: 1px solid var(--lom-st-line);
    border-radius: .75rem;
    background: var(--lom-st-card);
}

.local-oksigeniameals-notes .lom-nrcard + .lom-nrcard {
    margin-top: .6rem;
}

/* Health: a strip inside the card, so its text starts where the others do. */
.local-oksigeniameals-notes .lom-nrcard.is-health {
    box-shadow: inset 4px 0 0 var(--bs-warning, #e0a800);
}

.local-oksigeniameals-notes .lom-nrwho {
    margin: 0 0 .25rem;
    overflow-wrap: anywhere;
}

.local-oksigeniameals-notes .lom-nrhealth {
    display: inline-block;
    padding: 0 .45rem;
    border-radius: .3rem;
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
    font-size: .8rem;
    font-weight: 700;
}

.local-oksigeniameals-notes .lom-nrnote {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.local-oksigeniameals-notes .lom-nrauthor {
    margin: .15rem 0 0;
    color: var(--lom-st-muted);
    font-size: .85rem;
}

.local-oksigeniameals-notes .lom-nrchoice {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: .6rem 0 0;
    padding: 0;
    border: 0;
}

.local-oksigeniameals-notes .lom-nropt {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.5rem;
    margin: 0;
    padding: .25rem .85rem;
    border: 1.5px solid var(--lom-st-line);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.local-oksigeniameals-notes .lom-nropt:has(input:checked) {
    border-color: var(--lom-st-accent);
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
}

.local-oksigeniameals-notes .lom-nropt.is-keep:has(input:checked) {
    border-color: var(--lom-st-muted);
    background: var(--bs-secondary-bg, #e9ecef);
    color: var(--lom-st-ink);
}

.local-oksigeniameals-notes .lom-nredit {
    margin-top: .5rem;
}

.local-oksigeniameals-notes .lom-nredit summary {
    color: var(--lom-st-accent);
    cursor: pointer;
    font-weight: 600;
}

.local-oksigeniameals-notes .lom-nredit textarea {
    margin-top: .4rem;
}

.local-oksigeniameals-notes .lom-nrroutine li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .25rem .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--lom-st-line);
}

.local-oksigeniameals-notes .lom-nrline {
    flex: 1 1 18rem;
    overflow-wrap: anywhere;
}

.local-oksigeniameals-notes .lom-nrlinenote {
    display: block;
    color: var(--lom-st-muted);
    font-size: .9rem;
}

.local-oksigeniameals-notes .lom-nrgroup {
    margin: .9rem 0 .35rem;
    color: var(--lom-st-muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.local-oksigeniameals-notes .lom-nrpeople {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-notes .lom-nrperson {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .5rem;
    min-height: 2.5rem;
    margin: 0;
    padding: .3rem .75rem;
    border: 1.5px solid var(--lom-st-line);
    border-radius: .6rem;
    background: var(--lom-st-card);
    cursor: pointer;
}

/* The box itself is hidden: the whole name is the button. */
.local-oksigeniameals-notes .lom-nrperson input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.local-oksigeniameals-notes .lom-nrperson:has(input:focus-visible) {
    outline: 2px solid var(--lom-st-accent);
    outline-offset: 2px;
}

.local-oksigeniameals-notes .lom-nrpersonname {
    font-weight: 600;
    overflow-wrap: anywhere;
}

/* Ticked: kept for the canteen, the name goes quiet and says so on its line. */
.local-oksigeniameals-notes .lom-nrkepttag {
    display: none;
    color: var(--lom-st-muted);
    font-size: .8rem;
    font-weight: 700;
}

.local-oksigeniameals-notes .lom-nrperson:has(input:checked) {
    border-style: dashed;
    background: var(--bs-secondary-bg, #e9ecef);
}

.local-oksigeniameals-notes .lom-nrperson:has(input:checked) .lom-nrkepttag {
    display: inline;
}

.local-oksigeniameals-notes .lom-nrperson:has(input:checked) .lom-nrpersonname {
    color: var(--lom-st-muted);
    text-decoration: line-through;
}

.local-oksigeniameals-notes .lom-nroutcome {
    display: inline-block;
    margin-top: .15rem;
    padding: 0 .45rem;
    border-radius: .3rem;
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
    font-size: .8rem;
    font-weight: 700;
}

.local-oksigeniameals-notes .lom-nroutcome.is-keep {
    background: var(--bs-secondary-bg, #e9ecef);
    color: var(--lom-st-ink);
}

/* The button stays at the foot of the screen while the list goes down. */
.local-oksigeniameals-notes .lom-nrbar {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem 1rem;
    margin: 0 -.25rem;
    padding: .75rem .25rem;
    border-top: 1px solid var(--lom-st-line);
    background: var(--lom-st-card);
}

.local-oksigeniameals-notes .lom-nrsettled {
    margin-top: 1.25rem;
}

.local-oksigeniameals-notes .lom-nrsettled summary {
    font-weight: 700;
    cursor: pointer;
}

.local-oksigeniameals-notes .lom-nrsetup {
    margin-bottom: 1rem;
}

/* The ready-made notes inside the note of a diner (0.111.7): their dishes, eating, health and other things, a tap each. */

.lom-register .lom-regq {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.lom-register .lom-regqlabel {
    margin: .35rem 0 0;
    color: var(--lom-st-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lom-register .lom-regqchips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}

.lom-register .lom-regqdish {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: .4rem 0;
    border-bottom: 1px dashed var(--lom-st-line);
}

.lom-register .lom-regqdishname {
    margin: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lom-register .lom-regqchip {
    font-weight: 500;
    text-align: start;
}

.lom-register .lom-regqchip.is-health[aria-pressed="true"] {
    border-color: #a15c07;
    background: #a15c07;
    color: #fff;
}

/* What a dish contains, changed on all its days from today (0.111.7): folded under what it contains now. */

.lom-df-change {
    margin: .75rem 0 0;
    padding: .6rem .8rem;
    border: 1px solid var(--lom-st-line);
    border-radius: .6rem;
}

.lom-df-change summary {
    color: var(--lom-st-accent);
    font-weight: 600;
    cursor: pointer;
}

.lom-df-change .lom-df-help {
    margin-top: .5rem;
}

/* Sendings that wait for someone to look at them: what it is on the left, to see it and decide on the right. */
.local-oksigeniameals-sends .lom-held li > .lom-held-acts {
    grid-column: 2;
    justify-self: end;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
}

.local-oksigeniameals-sends .lom-held-acts form {
    display: flex;
    gap: .4rem;
    margin: 0;
}

@media (max-width: 575.98px) {
    .local-oksigeniameals-sends .lom-held li > .lom-held-acts {
        grid-column: 1;
        justify-self: stretch;
        justify-content: flex-start;
    }
}

/* ---------- The menus in draft (drafts.php) and the calendar of the canteen (calendar.php), from the mock-up of
   21 November 2026. The warnings never take the colour of a menu and always carry their mark. ---------- */
.lom-st-bo {
    --lom-bo-soft: rgba(var(--bs-body-color-rgb, 29, 33, 37), .05);
    /* Repeated and out of the guideline: amber. Against a diet: red. Without allergens: grey and dotted. */
    --lom-bo-amber: #b06a00;
    --lom-bo-amber-bg: #fff2d4;
    --lom-bo-amber-ink: #6a4000;
    --lom-bo-red: #c6302a;
    --lom-bo-red-bg: #fde3e0;
    --lom-bo-red-ink: #8c1d17;
    --lom-bo-hatch: rgba(29, 33, 37, .075);
    --lom-bo-shadow: 0 18px 40px -18px rgba(16, 24, 40, .45);
    color: var(--lom-st-ink);
    line-height: 1.45;
}
[data-bs-theme="dark"] .lom-st-bo {
    --lom-bo-amber: #f0b33c;
    --lom-bo-amber-bg: rgba(240, 179, 60, .15);
    --lom-bo-amber-ink: #f7cf80;
    --lom-bo-red: #ff8f85;
    --lom-bo-red-bg: rgba(255, 143, 133, .15);
    --lom-bo-red-ink: #ffb9b1;
    --lom-bo-hatch: rgba(222, 226, 230, .08);
    --lom-bo-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
}
.lom-st-bo *, .lom-st-bo *::before, .lom-st-bo *::after { box-sizing: border-box; }
/* Without weight, so each button's own colour wins */
:where(.lom-st-bo button) { font: inherit; color: inherit; }

/* The state of the block beside its title: a draft, dashed; published, solid. */
.lom-st-bo-estado {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 10px;
    padding: 2px 10px;
    border: 1.5px dashed var(--lom-st-muted);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    vertical-align: middle;
    color: var(--lom-st-muted);
}
.lom-st-bo-estado.is-published {
    border-style: solid;
    border-color: var(--lom-st-accent);
    color: var(--lom-st-accent);
}
.lom-st-bo-frase {
    margin: 4px 0 0;
    color: var(--lom-st-muted);
}

/* Buttons: the theme's primary, outline and quiet ones */
.lom-st-bo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1.5px solid var(--lom-st-accent);
    border-radius: 999px;
    background: transparent;
    color: var(--lom-st-accent) !important;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.lom-st-bo-btn.is-principal {
    background: var(--lom-st-accent);
    color: var(--lom-st-card) !important;
}
.lom-st-bo-btn.is-gris {
    border-color: var(--lom-st-line);
    color: var(--lom-st-ink) !important;
}
.lom-st-bo-btn svg { width: 18px; height: 18px; }
.lom-st-bo-btn.is-grande { min-height: 46px; padding: 0 22px; font-size: 1rem; }

.lom-st-bo-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
    margin: 14px 0 0;
}
.lom-st-bo-ultimo {
    margin-inline-start: auto;
    font-size: .88rem;
    color: var(--lom-st-muted);
}
.lom-st-bo-ultimo b { color: var(--lom-st-ink); font-weight: 600; }

/* ---------- What is left to look at, with its mark: each one filters and walks through its places ---------- */
.lom-st-bo-revisar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 18px 0 0;
}
.lom-st-bo-revisar > span {
    margin-inline-end: 4px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lom-st-muted);
}
.lom-st-bo-filtro {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 36px;
    padding: 0 12px 0 6px;
    border: 1px solid var(--lom-st-line);
    border-radius: 999px;
    background: var(--lom-st-card);
    font-size: .9rem;
    cursor: pointer;
}
.lom-st-bo-filtro b { font-variant-numeric: tabular-nums; }

/* The marks: the same in the legend, in the cell, in the side panel and on paper */
.lom-st-bo-marca {
    flex: none;
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 22px;
    padding: 0 5px;
    border-radius: 6px;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1;
}
.lom-st-bo-marca.is-rep { background: var(--lom-bo-amber-bg); color: var(--lom-bo-amber-ink); }
.lom-st-bo-marca.is-pauta { background: var(--lom-bo-amber-bg); color: var(--lom-bo-amber-ink); border-radius: 50%; }
.lom-st-bo-marca.is-dieta { background: var(--lom-bo-red-bg); color: var(--lom-bo-red-ink); }
.lom-st-bo-marca.is-sin { border: 1.5px dashed var(--lom-st-muted); color: var(--lom-st-muted); border-radius: 50%; min-width: 22px; padding: 0; }
.lom-st-bo-marca.is-vacio { border: 1.5px dashed var(--lom-st-muted); color: var(--lom-st-muted); }
.lom-st-bo-marca.is-nuevo {
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* ---------- The menus, with their letter, colour and pattern; and the two ways of looking at the block ---------- */
.lom-st-bo-barra {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 14px;
}
.lom-st-bo-menus {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.lom-st-bo-menu {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-height: 40px;
    padding: 0 12px 0 6px;
    border: 1px solid var(--lom-st-line);
    border-radius: 999px;
    background: var(--lom-st-card);
    font-weight: 700;
    cursor: pointer;
}
.lom-st-bo-menu[aria-pressed="true"] {
    border: 2px solid var(--lom-st-ink);
    padding: 0 11px 0 5px;
}
.lom-st-bo-menu .lom-st-bo-cuenta {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--lom-bo-amber-bg);
    color: var(--lom-bo-amber-ink);
    font-size: .74rem;
    display: inline-grid;
    place-items: center;
}
.lom-st-bo-menu .lom-st-bo-cuenta.is-roja { background: var(--lom-bo-red-bg); color: var(--lom-bo-red-ink); }
.lom-st-bo-letra {
    flex: none;
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--mc);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    overflow: hidden;
}
.lom-st-bo-letra::before {
    content: '';
    position: absolute;
    inset: 0;
}
.lom-st-bo-letra.pat1::before { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .28) 0 2px, transparent 2px 6px); }
.lom-st-bo-letra.pat2::before { background: radial-gradient(rgba(255, 255, 255, .35) 1.1px, transparent 1.4px) 0 0 / 6px 6px; }
.lom-st-bo-letra.pat3::before { background: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px) 0 0 / 6px 6px, linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px) 0 0 / 6px 6px; }
.lom-st-bo-letra.pat4::before { background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .28) 0 2px, transparent 2px 6px); }
.lom-st-bo-letra span { position: relative; }

.lom-st-bo-vista {
    display: inline-flex;
    margin-inline-start: auto;
    padding: 4px;
    border-radius: 999px;
    background: var(--lom-bo-soft);
}
.lom-st-bo-vista button {
    min-height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    font-weight: 700;
    color: var(--lom-st-muted);
    cursor: pointer;
}
.lom-st-bo-vista button[aria-pressed="true"] {
    background: var(--lom-st-card);
    color: var(--lom-st-ink);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .18);
}

/* ---------- The block: weeks in rows, days in columns, and the week's guideline at its end ---------- */
.lom-st-bo-tabla {
    display: grid;
    grid-template-columns: 104px repeat(5, minmax(0, 1fr)) 172px;
    gap: 8px;
}
.lom-st-bo-tabla.is-semana { grid-template-columns: 132px repeat(5, minmax(0, 1fr)) 172px; }
.lom-st-bo-th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 6px 4px 4px;
    background: var(--lom-st-card);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lom-st-muted);
}
.lom-st-bo-th small { display: block; font-size: .74rem; letter-spacing: 0; text-transform: none; font-weight: 600; }

/* The label of a row: a week of one menu, or a menu of one week; with what it lets you copy */
.lom-st-bo-fila {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 4px 0 0;
}
.lom-st-bo-fila b { font-size: 1rem; }
.lom-st-bo-fila small { color: var(--lom-st-muted); font-size: .82rem; }
.lom-st-bo-fila .lom-st-bo-letra { margin-bottom: 4px; }
.lom-st-bo-mas {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    margin-top: 8px;
    padding: 4px 8px 4px 6px;
    border: 0;
    border-radius: 8px;
    background: none;
    font-size: .85rem;
    font-weight: 700;
    color: var(--lom-st-accent);
    cursor: pointer;
}
.lom-st-bo-mas svg { width: 16px; height: 16px; }
.lom-st-bo-pegar {
    align-self: stretch;
    margin-top: 10px;
    min-height: 40px;
    padding: 4px 6px;
    font-size: .86rem;
    border: 2px dashed var(--lom-st-accent);
    border-radius: 10px;
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
    font-weight: 700;
    cursor: pointer;
}
.lom-st-bo-copiada {
    align-self: flex-start;
    margin-top: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--lom-st-ink);
    color: var(--lom-st-card);
    font-size: .78rem;
    font-weight: 700;
}

/* A cell: one day of one menu, with its parts. Its top in the menu's colour. */
.lom-st-bo-celda {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 8px 8px 10px;
    border: 1px solid var(--lom-st-line);
    border-top: 3px solid var(--mc);
    border-radius: 10px;
    background: var(--lom-st-card);
}
.lom-st-bo-celda.is-elegida {
    outline: 2.5px solid var(--lom-st-accent);
    outline-offset: 2px;
}
.lom-st-bo-celda.is-apagada { opacity: .42; }
.lom-st-bo-celda-cab {
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 22px;
    padding: 0 2px 2px;
    font-size: .8rem;
    color: var(--lom-st-muted);
}
.lom-st-bo-celda-cab .lom-st-bo-letra { width: 20px; height: 20px; font-size: .72rem; border-radius: 5px; }
.lom-st-bo-celda-cab > b { color: var(--lom-st-ink); font-weight: 700; }
.lom-st-bo-notas-marca {
    display: inline-flex;
    gap: 3px;
    align-items: center;
    margin-inline-start: auto;
    padding: 1px 6px 1px 4px;
    border-radius: 999px;
    background: var(--lom-bo-soft);
    color: var(--lom-st-ink);
    font-weight: 700;
    font-size: .76rem;
}
.lom-st-bo-notas-marca svg { width: 14px; height: 14px; }
.lom-st-bo-especial {
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 0 0 4px;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
    font-size: .8rem;
    font-weight: 700;
}
.lom-st-bo-especial svg { flex: none; width: 14px; height: 14px; }

/* A dish: its drawing in the menu's colour, its name, its allergens small; the warning underlines the name and leaves its
   mark at the end, without covering what is written. */
.lom-st-bo-plato {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 2px 7px;
    align-items: start;
    width: 100%;
    padding: 5px 4px;
    border: 0;
    border-radius: 7px;
    background: none;
    text-align: start;
    font-size: .9rem;
    line-height: 1.3;
    cursor: text;
}
@media (hover: hover) {
    .lom-st-bo-plato:hover { background: var(--lom-bo-soft); }
    .lom-st-bo-filtro:hover, .lom-st-bo-menu:hover { border-color: var(--lom-st-muted); }
}
.lom-st-bo-plato:focus-visible, .lom-st-bo-celda button:focus-visible { outline: 2.5px solid var(--lom-st-accent); outline-offset: 1px; }
.lom-st-bo-ico {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background: var(--mc);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
[data-bs-theme="dark"] .lom-st-bo-ico { background: var(--mc-claro, var(--mc)); }
.lom-st-bo-nom { font-weight: 600; overflow-wrap: anywhere; }
.lom-st-bo-alg {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
    margin-top: 1px;
}
.lom-st-bo-alg i {
    display: inline-block;
    width: 13px;
    height: 13px;
    background: var(--lom-st-muted);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.lom-st-bo-plato .lom-st-bo-marcas { display: inline-flex; gap: 3px; align-items: center; margin-inline-start: auto; padding-inline-start: 4px; }
.lom-st-bo-plato.is-rep .lom-st-bo-nom { text-decoration: underline wavy var(--lom-bo-amber); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.lom-st-bo-plato.is-dieta .lom-st-bo-nom { text-decoration: underline wavy var(--lom-bo-red); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.lom-st-bo-plato.is-sin .lom-st-bo-nom { text-decoration: underline dotted var(--lom-st-muted); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lom-st-bo-plato.is-vacio {
    grid-template-columns: 20px minmax(0, 1fr);
    color: var(--lom-st-muted);
}
.lom-st-bo-plato.is-vacio .lom-st-bo-nom {
    font-weight: 400;
    font-style: italic;
    padding-bottom: 2px;
    border-bottom: 1.5px dashed var(--lom-st-line);
}
.lom-st-bo-plato.is-vacio .lom-st-bo-ico { background: none; border: 1.5px dashed var(--lom-st-line); border-radius: 50%; width: 18px; height: 18px; }
.lom-st-bo-tabla.is-filtro-repeat .lom-st-bo-plato:not(.is-rep),
.lom-st-bo-tabla.is-filtro-diet .lom-st-bo-plato:not(.is-dieta),
.lom-st-bo-tabla.is-filtro-untold .lom-st-bo-plato:not(.is-sin),
.lom-st-bo-tabla.is-filtro-new .lom-st-bo-plato:not(.is-nuevo),
.lom-st-bo-tabla.is-filtro-empty .lom-st-bo-plato:not(.is-vacio),
.lom-st-bo-tabla.is-filtro-guideline .lom-st-bo-celda,
.lom-st-bo-tabla.is-filtro-guideline .lom-st-bo-pauta:not(.is-mal) { opacity: .42; }

/* Days without canteen: a holiday, for everyone; school holidays, for the menus that follow them */
.lom-st-bo-cerrado {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 100%;
    padding: 12px 10px;
    border: 1.5px dashed var(--lom-st-line);
    border-radius: 10px;
    color: var(--lom-st-muted);
    font-size: .86rem;
    text-align: center;
}
.lom-st-bo-cerrado b { color: var(--lom-st-ink); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.lom-st-bo-cerrado.is-festivo { background: repeating-linear-gradient(135deg, var(--lom-bo-hatch) 0 7px, transparent 7px 14px); }
.lom-st-bo-cerrado.is-vacaciones { background: radial-gradient(var(--lom-bo-hatch) 1.6px, transparent 1.9px) 0 0 / 10px 10px; }
.lom-st-bo-cerrado .lom-st-bo-letra { margin: 2px auto 0; width: 22px; height: 22px; font-size: .74rem; }

/* The guideline of the week: what the centre asks, and how the week goes */
.lom-st-bo-pauta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--lom-bo-soft);
    font-size: .84rem;
}
.lom-st-bo-pauta > small {
    margin-bottom: 2px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lom-st-muted);
}
.lom-st-bo-pauta div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    min-height: 26px;
}
.lom-st-bo-pauta div span { font-variant-numeric: tabular-nums; color: var(--lom-st-muted); }
.lom-st-bo-pauta div.is-fuera {
    margin: 1px -6px;
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--lom-bo-amber-bg);
    color: var(--lom-bo-amber-ink);
    font-weight: 700;
}
.lom-st-bo-pauta div.is-fuera span { color: var(--lom-bo-amber-ink); }
.lom-st-bo-pauta div em {
    grid-column: 1 / -1;
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 1px 0 2px;
    font-style: normal;
    font-size: .8rem;
}
.lom-st-bo-pauta div em .lom-st-bo-marca { min-width: 20px; height: 20px; background: var(--lom-st-card); }
.lom-st-bo-pauta p { margin: 0; color: var(--lom-st-muted); }

/* ---------- Writing in a cell: the known dishes first, a new one marked ---------- */
.lom-st-bo-escribe {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    padding: 3px 4px;
}
.lom-st-bo-escribe input {
    width: 100%;
    min-width: 0;
    padding: 4px 6px;
    border: 0;
    border-bottom: 2.5px solid var(--lom-st-accent);
    border-radius: 6px 6px 0 0;
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-ink);
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    outline: none;
}
.lom-st-bo-sugiere {
    position: absolute;
    top: calc(100% + 6px);
    left: -8px;
    z-index: 10;
    width: 300px;
    padding: 6px;
    border: 1px solid var(--lom-st-line);
    border-radius: 12px;
    background: var(--lom-st-card);
    box-shadow: var(--lom-bo-shadow);
}
.lom-st-bo-sugiere button {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 2px 10px;
    align-items: center;
    width: 100%;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: none;
    text-align: start;
    cursor: pointer;
}
.lom-st-bo-sugiere button.is-activo { background: var(--lom-st-accentsoft); }
.lom-st-bo-sugiere button b { font-weight: 700; }
.lom-st-bo-sugiere button small { grid-column: 2; color: var(--lom-st-muted); font-size: .8rem; }
.lom-st-bo-sugiere .lom-st-bo-ico { width: 22px; height: 22px; }
.lom-st-bo-sugiere .is-nuevo-plato { margin-top: 4px; border-top: 1px dashed var(--lom-st-line); border-radius: 0 0 8px 8px; }
.lom-st-bo-sugiere .is-nuevo-plato > span:first-child {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1.5px dashed var(--lom-st-muted);
    border-radius: 50%;
    font-weight: 800;
    color: var(--lom-st-muted);
}
.lom-st-bo-teclas {
    margin: 6px 4px 2px;
    font-size: .76rem;
    color: var(--lom-st-muted);
}
.lom-st-bo-teclas kbd {
    padding: 0 5px;
    background: none;
    box-shadow: none;
    color: inherit;
    border: 1px solid var(--lom-st-line);
    border-radius: 4px;
    font: inherit;
    font-weight: 700;
}

/* ---------- What is copied, in the hand, until it is pasted or dropped ---------- */
.lom-st-bo-mano {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 1020;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    width: min(760px, calc(100% - 32px));
    padding: 12px 14px 12px 18px;
    border-radius: 16px;
    background: var(--lom-st-ink);
    color: var(--lom-st-card);
    box-shadow: var(--lom-bo-shadow);
    transform: translateX(-50%);
}
.lom-st-bo-mano svg { flex: none; width: 26px; height: 26px; }
.lom-st-bo-mano div { flex: 1 1 260px; }
.lom-st-bo-mano small { display: block; opacity: .8; }
.lom-st-bo-mano .lom-st-bo-btn { border-color: var(--lom-st-card); color: var(--lom-st-card) !important; }

/* ---------- The side panel of a day: its dishes, its warnings in words, the team's notes and who changed what ---------- */
.lom-st-bo-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: flex;
    flex-direction: column;
    width: 440px;
    max-width: 100%;
    border-left: 1px solid var(--lom-st-line);
    background: var(--lom-st-card);
    box-shadow: var(--lom-bo-shadow);
}
.lom-st-bo-panel-cab {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--lom-st-line);
}
.lom-st-bo-panel-cab h2 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.lom-st-bo-panel-cab small { display: block; color: var(--lom-st-muted); font-size: .85rem; font-weight: 400; }
.lom-st-bo-panel-cab .lom-st-bo-letra { width: 34px; height: 34px; font-size: 1rem; border-radius: 9px; }
.lom-st-bo-cerrar {
    margin-inline-start: auto;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--lom-bo-soft);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}
.lom-st-bo-panel-cuerpo {
    flex: 1;
    overflow: auto;
    padding: 16px 20px 24px;
}
.lom-st-bo-panel h3 {
    margin: 20px 0 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lom-st-muted);
}
.lom-st-bo-panel h3:first-child { margin-top: 0; }
.lom-st-bo-pplato {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 2px 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--lom-st-line);
}
.lom-st-bo-pplato .lom-st-bo-ico { width: 26px; height: 26px; }
.lom-st-bo-pplato > small { color: var(--lom-st-muted); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; grid-column: 2 / 4; }
.lom-st-bo-pplato .lom-st-bo-nom { font-size: 1.02rem; }
.lom-st-bo-pplato .lom-st-bo-alg-txt { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .84rem; color: var(--lom-st-muted); }
.lom-st-bo-pplato .lom-st-bo-alg-txt span { display: inline-flex; gap: 4px; align-items: center; }
.lom-st-bo-pplato .lom-st-bo-alg-txt i { width: 15px; height: 15px; }
.lom-st-bo-pplato .lom-st-bo-mas { margin: 0; grid-row: 2; grid-column: 3; }
.lom-st-bo-aviso {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--lom-bo-soft);
    font-size: .92rem;
}
.lom-st-bo-aviso.is-rep { background: var(--lom-bo-amber-bg); }
.lom-st-bo-aviso.is-dieta { background: var(--lom-bo-red-bg); }
.lom-st-bo-aviso p { margin: 0; }
.lom-st-bo-aviso button { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--lom-st-accent); font-weight: 700; cursor: pointer; }
.lom-st-bo-nota {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 2px 10px;
    padding: 10px 0;
}
.lom-st-bo-cara {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cara);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
}
.lom-st-bo-nota header { font-size: .84rem; color: var(--lom-st-muted); }
.lom-st-bo-nota header b { color: var(--lom-st-ink); }
.lom-st-bo-nota p { margin: 0; }
.lom-st-bo-escribir-nota {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: end;
    margin-top: 6px;
    padding: 8px 8px 8px 12px;
    border: 1.5px solid var(--lom-st-line);
    border-radius: 14px;
}
.lom-st-bo-escribir-nota textarea {
    width: 100%;
    min-height: 44px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--lom-st-ink);
    font: inherit;
    resize: vertical;
    outline: none;
}
.lom-st-bo-escribir-nota:focus-within { border-color: var(--lom-st-accent); }
.lom-st-bo-historia {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
}
.lom-st-bo-historia li {
    position: relative;
    padding: 6px 0 6px 18px;
    color: var(--lom-st-muted);
}
.lom-st-bo-historia li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 13px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lom-st-line);
}
.lom-st-bo-historia b { color: var(--lom-st-ink); font-weight: 600; }

/* ---------- An empty block: where it starts from ---------- */
.lom-st-bo-velo { position: relative; }
.lom-st-bo-velo > .lom-st-bo-tabla { opacity: .35; pointer-events: none; }
.lom-st-bo-empezar {
    position: absolute;
    top: 40px;
    left: 50%;
    z-index: 4;
    width: min(720px, 100%);
    padding: 24px;
    border: 1px solid var(--lom-st-line);
    border-radius: 18px;
    background: var(--lom-st-card);
    box-shadow: var(--lom-bo-shadow);
    transform: translateX(-50%);
}
.lom-st-bo-empezar h2, .lom-st-bo-hoja h2 { margin: 0; font-size: 1.35rem; }
.lom-st-bo-empezar > p, .lom-st-bo-hoja > p { margin: 4px 0 0; color: var(--lom-st-muted); }
.lom-st-bo-opciones {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
}
.lom-st-bo-opcion {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 2px 12px;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--lom-st-line);
    border-radius: 12px;
    background: var(--lom-st-card);
    text-align: start;
    cursor: pointer;
}
.lom-st-bo-opcion > i {
    grid-row: span 2;
    width: 20px;
    height: 20px;
    border: 2px solid var(--lom-st-muted);
    border-radius: 50%;
}
.lom-st-bo-opcion small { grid-column: 2 / 4; color: var(--lom-st-muted); font-size: .86rem; }
.lom-st-bo-opcion > span:last-of-type { font-size: .86rem; color: var(--lom-st-muted); }
.lom-st-bo-opcion[aria-pressed="true"] {
    border: 2px solid var(--lom-st-accent);
    padding: 11px 13px;
    background: var(--lom-st-accentsoft);
}
.lom-st-bo-opcion[aria-pressed="true"] > i { border: 6px solid var(--lom-st-accent); }
.lom-st-bo-pie {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin: 18px 0 0;
}
.lom-st-bo-pie p { flex: 1 1 260px; margin: 0; font-size: .88rem; color: var(--lom-st-muted); }

/* ---------- Publishing: what, and what is still to look at, said before ---------- */
.lom-st-bo-fondo {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background: rgba(16, 20, 24, .45);
    overflow: auto;
}
.lom-st-bo-hoja {
    display: flex;
    flex-direction: column;
    width: min(660px, 100%);
    max-height: calc(100vh - 48px);
    padding: 22px 24px 0;
    border-radius: 18px;
    background: var(--lom-st-card);
    box-shadow: var(--lom-bo-shadow);
}
/* What it says scrolls; what it does stays in sight (DESIGN.md: the scope and the button never under the scroll) */
.lom-st-bo-hoja-cuerpo {
    flex: 1;
    min-height: 0;
    overflow: auto;
    margin: 8px -24px 0;
    padding: 0 24px 4px;
    border-top: 1px solid var(--lom-st-line);
}
.lom-st-bo-hoja > .lom-st-bo-pie {
    margin: 0 -24px;
    padding: 14px 24px 18px;
    border-top: 1px solid var(--lom-st-line);
}
.lom-st-bo-hoja h3 {
    margin: 18px 0 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lom-st-muted);
}
.lom-st-bo-dias {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 0;
}
.lom-st-bo-dia {
    min-height: 40px;
    border: 1.5px solid var(--lom-st-line);
    border-radius: 8px;
    background: var(--lom-st-card);
    font-size: .86rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.lom-st-bo-dia[aria-pressed="true"] { border-color: var(--lom-st-accent); background: var(--lom-st-accent); color: var(--lom-st-card); }
.lom-st-bo-dia:disabled { border-style: dashed; background: none; color: var(--lom-st-muted); font-weight: 400; }
.lom-st-bo-pendientes {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--lom-st-line);
}
.lom-st-bo-pendientes li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--lom-st-line);
}
.lom-st-bo-pendientes small { display: block; color: var(--lom-st-muted); font-size: .84rem; }
.lom-st-bo-pendientes a { color: var(--lom-st-accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.lom-st-bo-tras {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--lom-bo-soft);
    font-size: .92rem;
}
.lom-st-bo-tras p { margin: 0; }
.lom-st-bo-tras p + p { margin-top: 4px; }

/* ---------- The canteen's calendar ---------- */
.lom-st-bo-confirmar {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--lom-st-line);
    border-left: 5px solid var(--lom-bo-amber);
    border-radius: 12px;
    background: var(--lom-st-card);
}
.lom-st-bo-confirmar h2 { margin: 0; font-size: 1.1rem; }
.lom-st-bo-confirmar h2 b { font-size: 1.5rem; margin-inline-end: 6px; font-variant-numeric: tabular-nums; }
.lom-st-bo-porconf {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    padding: 8px 0 0;
    border-top: 1px solid var(--lom-st-line);
}
.lom-st-bo-porconf > div { flex: 1 1 260px; }
.lom-st-bo-porconf small { display: block; color: var(--lom-st-muted); font-size: .86rem; }
.lom-st-bo-cal {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr);
    gap: 22px;
    margin: 18px 0 0;
    align-items: start;
}
.lom-st-bo-leyenda {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0 0 12px;
    font-size: .86rem;
    color: var(--lom-st-muted);
}
.lom-st-bo-leyenda span { display: inline-flex; gap: 6px; align-items: center; }
.lom-st-bo-leyenda i { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--lom-st-line); }
.lom-st-bo-meses {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
    gap: 14px 16px;
}
.lom-st-bo-mes h3 { margin: 0 0 6px; font-size: .95rem; text-transform: capitalize; }
.lom-st-bo-mes-dias {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
}
.lom-st-bo-mes-dias > span {
    position: relative;
    display: grid;
    place-items: center;
    height: 30px;
    border-radius: 6px;
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
}
.lom-st-bo-mes-dias > .is-cab { height: 20px; font-size: .7rem; font-weight: 700; color: var(--lom-st-muted); }
.lom-st-bo-mes-dias > .is-com { background: var(--lom-bo-soft); }
.lom-st-bo-mes-dias > .is-fuera { color: var(--lom-st-line); }
.lom-st-bo-mes-dias > .is-festivo, .lom-st-bo-leyenda .is-festivo {
    background: repeating-linear-gradient(135deg, var(--lom-bo-hatch) 0 4px, transparent 4px 8px), var(--lom-st-card);
    outline: 1.5px solid var(--lom-st-muted);
    outline-offset: -1.5px;
    font-weight: 700;
}
.lom-st-bo-mes-dias > .is-porconf { outline: 2px dashed var(--lom-bo-amber); outline-offset: -2px; font-weight: 700; }
.lom-st-bo-mes-dias > .is-vacaciones, .lom-st-bo-leyenda .is-vacaciones {
    background: radial-gradient(var(--lom-bo-hatch) 1.3px, transparent 1.6px) 0 0 / 6px 6px, var(--lom-st-card);
    border: 1px dashed var(--lom-st-line);
}
.lom-st-bo-mes-dias > .is-especial, .lom-st-bo-leyenda .is-especial {
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
    font-weight: 800;
}
.lom-st-bo-mes-dias > .is-especial::after {
    content: '★';
    position: absolute;
    top: -2px;
    right: 2px;
    font-size: .6rem;
}
.lom-st-bo-reglas {
    display: grid;
    gap: 14px;
}
.lom-st-bo-caja {
    padding: 14px 16px;
    border: 1px solid var(--lom-st-line);
    border-radius: 12px;
    background: var(--lom-st-card);
}
.lom-st-bo-caja h2 {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    font-size: 1.05rem;
}
.lom-st-bo-caja h2 i { width: 20px; height: 20px; border-radius: 5px; border: 1px solid var(--lom-st-line); }
.lom-st-bo-caja > p { margin: 2px 0 6px; color: var(--lom-st-muted); font-size: .88rem; }
.lom-st-bo-regla {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: baseline;
    padding: 8px 0;
    border-top: 1px solid var(--lom-st-line);
}
.lom-st-bo-regla > b { flex: 1 1 140px; }
.lom-st-bo-regla small { flex-basis: 100%; color: var(--lom-st-muted); font-size: .84rem; }
.lom-st-bo-token {
    display: inline-block;
    padding: 0 4px;
    border-bottom: 2px dashed var(--lom-st-accent);
    color: var(--lom-st-accentink);
    font-weight: 700;
}
.lom-st-bo-quien {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.lom-st-bo-quien .lom-st-bo-menu { min-height: 30px; padding: 0 10px 0 4px; font-size: .84rem; }
.lom-st-bo-quien .lom-st-bo-menu .lom-st-bo-letra { width: 20px; height: 20px; font-size: .7rem; border-radius: 5px; }
.lom-st-bo-anadir {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-top: 8px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--lom-st-accent);
    font-weight: 700;
    cursor: pointer;
}

/* ---------- The page of the block in Meals: as wide as its table, up to about 1500 px (the one page of the staff wider
   than 64 rem), with «Publicar…» beside the number that matters ---------- */
body.local-oksigeniameals-staffpage.local-oksigeniameals-draftspage [role="main"],
body.local-oksigeniameals-staffpage.local-oksigeniameals-draftspage #user-notifications {
    max-width: 94rem;
}
body.local-oksigeniameals-draftspage .local-oksigeniameals-bar { max-width: none; }
/* Boost keeps a page to about 830 px: this one goes as wide as the screen lets it, up to the width above. */
body.local-oksigeniameals-draftspage #page.drawers .main-inner { max-width: 100%; }
.local-oksigeniameals-bar .lom-st-head > .lom-st-bo-btn { justify-self: end; }
.lom-st-bo-acciones { margin-top: 0; }
.lom-st-bo-comidas {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: var(--lom-bo-soft);
}
.lom-st-bo-comida {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--lom-st-muted);
    font-weight: 700;
    text-decoration: none;
}
.lom-st-bo-comida[aria-current="page"] {
    background: var(--lom-st-card);
    color: var(--lom-st-ink);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .18);
}
@media (hover: hover) {
    .lom-st-bo-btn:hover, .lom-st-bo-comida:hover { text-decoration: none; }
    .lom-st-bo-fecha:hover { background: var(--lom-bo-soft); color: var(--lom-st-ink); }
    .lom-st-bo-pasos button:hover, .lom-st-bo-opcion:hover { border-color: var(--lom-st-muted); }
}

/* A day outside the block, in its first or last week */
.lom-st-bo-fuera { min-height: 60px; }

/* The date of a cell opens its day; with a day in the hand, «Pegar aquí» on the others */
.lom-st-bo-fecha {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    min-height: 24px;
    margin: 0 -4px;
    padding: 0 4px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.lom-st-bo-fecha .lom-st-bo-letra { width: 20px; height: 20px; font-size: .72rem; border-radius: 5px; }
.lom-st-bo-pegadia {
    margin-inline-start: auto;
    padding: 1px 8px;
    border: 1.5px dashed var(--lom-st-accent);
    border-radius: 999px;
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
}
.lom-st-bo-notas-marca + .lom-st-bo-pegadia { margin-inline-start: 4px; }
.lom-st-bo-solo { display: inline-flex; gap: 4px; justify-content: center; }
.lom-st-bo-solo .lom-st-bo-letra { margin: 0; }

/* A dish on its way to be kept, and the place the walk through what is left stopped at */
.lom-st-bo-plato.is-guardando { opacity: .6; }
.lom-st-bo-plato.is-aqui, .lom-st-bo-pauta.is-aqui { outline: 3px solid var(--lom-st-accent); outline-offset: 2px; }
.lom-st-bo-pauta:focus { outline: none; }
.lom-st-bo-pauta:focus-visible { outline: 2.5px solid var(--lom-st-accent); outline-offset: 2px; }
.lom-st-bo-tabla.is-sinpauta { grid-template-columns: 104px repeat(5, minmax(0, 1fr)); }
.lom-st-bo-tabla.is-semana.is-sinpauta { grid-template-columns: 132px repeat(5, minmax(0, 1fr)); }

/* The panel and the sheet: the title takes the focus without a frame; the rest of what it says */
.lom-st-bo-panel-cab h2:focus, .lom-st-bo-hoja h2:focus { outline: none; }
.lom-st-bo-nada { margin: 0; color: var(--lom-st-muted); font-size: .9rem; }
.lom-st-bo-copiadia { margin: 12px 0 0; }
.lom-st-bo-masparte { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 6px 0 0; }
.lom-st-bo-pplato.is-vacio .lom-st-bo-nom { font-weight: 400; font-style: italic; color: var(--lom-st-muted); }
.lom-st-bo-aviso button + button { margin-inline-start: 12px; }
.lom-st-bo-dia { cursor: pointer; }
.lom-st-bo-dia:disabled { cursor: default; }
.lom-st-bo-dia.is-hecho:disabled { border-style: solid; }
.lom-st-bo-dia.is-hecho::after { content: " ✓"; }
.lom-st-bo-btn:disabled { opacity: .55; cursor: default; }

/* What a tap says, for a moment; room kept for what is in the hand */
.lom-st-bo.has-mano { padding-bottom: 96px; }
.lom-st-bo-vivo {
    position: fixed;
    left: 50%;
    bottom: 22px;
    z-index: 1060;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--lom-st-ink);
    color: var(--lom-st-card);
    font-weight: 600;
    box-shadow: var(--lom-bo-shadow);
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
}
.lom-st-bo-vivo.is-visible { opacity: 1; }
.lom-st-bo-vivo.is-mal { background: var(--lom-bo-red-bg); color: var(--lom-bo-red-ink); }
.lom-st-bo.has-mano .lom-st-bo-vivo { bottom: 112px; }

@media (max-width: 760px) {
    body.local-oksigeniameals-draftspage .local-oksigeniameals-bar .lom-st-head > .lom-st-headtext { grid-column: 1 / -1; }
    body.local-oksigeniameals-draftspage .local-oksigeniameals-bar .lom-st-head > .lom-st-ring { grid-column: 1; }
}
@media (max-width: 700px) {
    .lom-st-bo-tabla.is-sinpauta, .lom-st-bo-tabla.is-semana.is-sinpauta { grid-template-columns: minmax(0, 1fr); }
    .lom-st-bo-tabla > .lom-st-bo-fuera { display: none; }
    .lom-st-bo-vivo { bottom: 12px; }
    .lom-st-bo-comidas { order: -1; }
}
@media (prefers-reduced-motion: no-preference) {
    .lom-st-bo-vivo { transition: opacity .2s ease-out; }
}

/* ---------- The calendar: the boxes say what there is in sentences; adding one is folded under its «+» ---------- */
.lom-st-bocal .lom-st-bo-acciones { margin: 0 0 4px; }
.lom-st-bo-leyenda .is-porconf { border: 0; outline: 2px dashed var(--lom-bo-amber); outline-offset: -2px; }
.lom-st-bo-caja h2 .is-festivo { background: repeating-linear-gradient(135deg, var(--lom-bo-hatch) 0 4px, transparent 4px 8px); }
.lom-st-bo-caja h2 .is-vacaciones { background: radial-gradient(var(--lom-bo-hatch) 1.3px, transparent 1.6px) 0 0 / 6px 6px; }
.lom-st-bo-caja h2 .is-especial { background: var(--lom-st-accentsoft); }
.lom-st-bo-caja h3 {
    margin: 12px 0 2px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--lom-st-muted);
}
.lom-st-bo-regla > form, .lom-st-bo-porconf > form { margin: 0; }
.lom-st-bo-quitar {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--lom-st-muted);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}
.lom-st-bo-poner > summary { list-style: none; cursor: pointer; }
.lom-st-bo-poner > summary::-webkit-details-marker { display: none; }
.lom-st-bo-regla .lom-st-bo-poner, .lom-st-bo-porconf .lom-st-bo-poner[open] { flex-basis: 100%; }
.lom-st-bo-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: flex-end;
    margin: 8px 0 4px;
    padding: 12px;
    border-radius: 12px;
    background: var(--lom-bo-soft);
}
.lom-st-bo-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    font-size: .84rem;
    font-weight: 700;
    color: var(--lom-st-muted);
}
.lom-st-bo-form .form-control, .lom-st-bo-form .form-select { min-height: 40px; }
.lom-st-bo-form .lom-datefield { display: inline-flex; gap: 4px; }
.lom-st-bo-come { display: inline-flex; gap: 4px; align-items: center; margin-inline-start: 4px; font-weight: 700; color: var(--lom-st-ink); }
@media (hover: hover) {
    .lom-st-bo-quitar:hover { background: var(--lom-bo-soft); color: var(--lom-st-ink); }
}

/* ---------- Phone: one week (or one day) at a time; the panel and the sheet over the whole screen ---------- */
.lom-st-bo-pasos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}
.lom-st-bo-pasos button {
    flex: 1 1 0;
    min-height: 44px;
    border: 1px solid var(--lom-st-line);
    border-radius: 10px;
    background: var(--lom-st-card);
    font-weight: 700;
    font-size: .86rem;
    line-height: 1.15;
    cursor: pointer;
}
.lom-st-bo-pasos button small { display: block; font-weight: 400; color: var(--lom-st-muted); font-size: .74rem; }
.lom-st-bo-pasos button[aria-pressed="true"] { border: 2px solid var(--lom-st-ink); }
.lom-st-bo-pasos.is-movil { display: none; }
.lom-st-bo-celda-movil { display: none; }
@media (max-width: 700px) {
    .lom-st-bo-estado { margin: 6px 0 0; }
    .lom-st-bo-ultimo { margin: 4px 0 0; flex-basis: 100%; }
    .lom-st-bo-barra { margin: 14px 0 10px; }
    .lom-st-bo-vista { width: 100%; }
    .lom-st-bo-vista button { flex: 1; padding: 0 8px; }
    .lom-st-bo-pasos, .lom-st-bo-pasos.is-movil { display: flex; flex-wrap: nowrap; }
    .lom-st-bo-tabla, .lom-st-bo-tabla.is-semana { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .lom-st-bo-th, .lom-st-bo-fila { display: none; }
    .lom-st-bo-tabla > .is-otra { display: none; }
    .lom-st-bo-tabla .lom-st-bo-pauta { order: -1; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
    .lom-st-bo-tabla .lom-st-bo-pauta > small { flex-basis: 100%; margin: 0; }
    .lom-st-bo-tabla .lom-st-bo-pauta div { gap: 6px; }
    .lom-st-bo-celda-cab { font-size: .86rem; }
    .lom-st-bo-celda-movil { display: inline; }
    .lom-st-bo-ultimo { display: none; }
    .lom-st-bo-acciones { gap: 6px; }
    .lom-st-bo-acciones .lom-st-bo-btn { min-height: 38px; padding: 0 12px; font-size: .88rem; }
    /* What is left to look at: the marks and their numbers; the words, on the warning itself */
    .lom-st-bo-revisar { gap: 6px; }
    .lom-st-bo-revisar .lom-st-bo-filtro { gap: 5px; min-height: 34px; padding: 0 9px 0 4px; font-size: 0; }
    .lom-st-bo-revisar .lom-st-bo-filtro b { font-size: .9rem; }
    /* The menus: the letter, and the name of the one chosen */
    .lom-st-bo-menus { flex-wrap: nowrap; gap: 6px; width: 100%; }
    .lom-st-bo-menu { min-height: 44px; padding: 0 8px 0 6px; }
    .lom-st-bo-menu[aria-pressed="false"] .lom-st-bo-menu-nom { display: none; }
    .lom-st-bo-menu { position: relative; }
    .lom-st-bo-menu[aria-pressed="false"] .lom-st-bo-cuenta { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; font-size: .68rem; box-shadow: 0 0 0 2px var(--lom-st-card); }
    .lom-st-bo-menu[aria-pressed="true"] { flex: 1; min-width: 0; }
    .lom-st-bo-menu[aria-pressed="true"] .lom-st-bo-menu-nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lom-st-bo-barra.is-semana .lom-st-bo-menus { display: none; }
    .lom-st-bo-panel { width: 100%; border-left: 0; }
    .lom-st-bo-fondo { place-items: end center; padding: 0; }
    .lom-st-bo-hoja { border-radius: 18px 18px 0 0; padding: 20px 16px 0; max-height: 92vh; }
    .lom-st-bo-hoja-cuerpo { margin: 8px -16px 0; padding: 0 16px 4px; }
    .lom-st-bo-hoja > .lom-st-bo-pie { margin: 0 -16px; padding: 12px 16px 16px; }
    .lom-st-bo-hoja > .lom-st-bo-pie .lom-st-bo-btn { flex: 1; }
    .lom-st-bo-quien-es { display: inline-flex; gap: 6px; align-items: center; }
    .lom-st-bo-empezar { position: static; transform: none; margin: 0 0 16px; padding: 18px 16px; }
    .lom-st-bo-velo > .lom-st-bo-tabla { display: none; }
    .lom-st-bo-sugiere { width: min(300px, calc(100vw - 48px)); }
    .lom-st-bo-cal { grid-template-columns: minmax(0, 1fr); }
    .lom-st-bo-meses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
    .lom-st-bo-mes-dias > span { height: 26px; font-size: .74rem; }
    .lom-st-bo-mano { bottom: 12px; }
}
@media (prefers-reduced-motion: no-preference) {
    .lom-st-bo-panel, .lom-st-bo-hoja, .lom-st-bo-mano { animation: lom-bo-entra .18s ease-out; }
    @keyframes lom-bo-entra { from { opacity: 0; } to { opacity: 1; } }
}

/* 2 · The kitchen of a day ------------------------------------------------------------------------------------------ */

/* The demonstration, said in a thin band on the pages of a link: it is a fact, not the first thing to read. */
.local-oksigeniameals-kid.lom-linkpage .lom-notice,
.local-oksigeniameals-kid .lom-kv .lom-notice {
    margin-bottom: .75rem;
    padding: .3rem .75rem;
    border: 0;
    border-radius: .5rem;
    background: var(--bs-info-bg-subtle, #e1f3f8);
    color: var(--bs-info-text-emphasis, #0f4a5a);
    font-size: .85rem;
    font-weight: 600;
}

/* How many, what to watch and what to cook, as the cook asks; on a tablet across, two columns with no scrolling. */
.local-oksigeniameals-kid .lom-kv {
    --lom-kv-gap: 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--lom-kv-gap);
    color: var(--lom-st-ink);
}

[data-bs-theme="dark"] #region-main .lom-kv a:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link) {
    text-decoration: none;
}

.local-oksigeniameals-kid .lom-kv-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem 1.25rem;
}

.local-oksigeniameals-kid .lom-kv-day {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-inline-end: auto;
}

.local-oksigeniameals-kid .lom-kv-day .lom-round {
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
}

.local-oksigeniameals-kid .lom-kv-title {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

.local-oksigeniameals-kid .lom-kv-kicker {
    color: var(--lom-st-muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.local-oksigeniameals-kid .lom-kv-quick,
.local-oksigeniameals-kid .lom-kv-meals {
    display: inline-flex;
    padding: .2rem;
    border-radius: .75rem;
    background: var(--lom-st-soft);
}

.local-oksigeniameals-kid .lom-kv-quick a,
.local-oksigeniameals-kid .lom-kv-meals a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .25rem 1rem;
    border-radius: .6rem;
    color: var(--lom-st-ink);
    font-weight: 700;
    text-decoration: none;
}

.local-oksigeniameals-kid .lom-kv-quick a[aria-current],
.local-oksigeniameals-kid .lom-kv-meals a[aria-current] {
    background: var(--lom-st-accentsoft);
    box-shadow: inset 0 0 0 2px var(--lom-st-accent);
    color: var(--lom-st-accentink);
}

.local-oksigeniameals-kid .lom-kv-cols {
    display: flex;
    flex-direction: column;
    gap: var(--lom-kv-gap);
}

/* On a phone and a tablet upright: the numbers, then what to watch, then the dishes. */
.local-oksigeniameals-kid .lom-kv-left {
    display: contents;
}

.local-oksigeniameals-kid .lom-kv-count {
    order: 1;
}

.local-oksigeniameals-kid .lom-kv-watch {
    order: 2;
}

.local-oksigeniameals-kid .lom-kv-photos {
    order: 3;
}

.local-oksigeniameals-kid .lom-kv-dishes {
    order: 4;
}

@media (min-width: 900px) {
    .local-oksigeniameals-kid .lom-kv-cols {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: start;
    }

    .local-oksigeniameals-kid .lom-kv-left {
        display: flex;
        flex-direction: column;
        gap: var(--lom-kv-gap);
    }
}

.local-oksigeniameals-kid .lom-kv-card {
    padding: .9rem 1.1rem 1rem;
    border: 1px solid var(--lom-st-line);
    border-radius: 1rem;
    background: var(--lom-st-card);
}

.local-oksigeniameals-kid .lom-kv-label {
    margin: 0 0 .5rem;
    color: var(--lom-st-muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* How many: who eats, large; what goes in the pots beside it, with its why. */
.local-oksigeniameals-kid .lom-kv-figures {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .25rem 2rem;
}

.local-oksigeniameals-kid .lom-kv-eat,
.local-oksigeniameals-kid .lom-kv-cook {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.local-oksigeniameals-kid .lom-kv-eat span,
.local-oksigeniameals-kid .lom-kv-cook span {
    font-size: 1.05rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-kv-eat b {
    font-size: 4rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.local-oksigeniameals-kid .lom-kv-count.is-changed .lom-kv-eat span {
    color: var(--lom-st-warn);
}

.local-oksigeniameals-kid .lom-kv-cook b {
    font-size: 2.4rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
}

.local-oksigeniameals-kid .lom-kv-cook small,
.local-oksigeniameals-kid .lom-kv-planned {
    color: var(--lom-st-muted);
    font-size: .95rem;
}

.local-oksigeniameals-kid .lom-kv-planned {
    margin: .4rem 0 0;
}

.local-oksigeniameals-kid .lom-kv-menus {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.1rem;
    margin: .8rem 0 0;
    padding: .7rem 0 0;
    border-top: 1px solid var(--lom-st-line);
    list-style: none;
}

.local-oksigeniameals-kid .lom-kv-menus li {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.local-oksigeniameals-kid .lom-kv-menus b {
    font-size: 1.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.local-oksigeniameals-kid .lom-kv-menus small {
    color: var(--lom-st-accentink);
    font-size: .95rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-kv-outings {
    margin: .6rem 0 0;
    color: var(--lom-st-muted);
}

/* What to cook: a row a dish, its total large and its why under it. */
.local-oksigeniameals-kid .lom-kv-slot {
    margin: .4rem 0 0;
    color: var(--lom-st-muted);
    font-size: .85rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-kv-dishlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-kv-dishlist li {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 3rem;
    padding: .3rem 0;
    border-bottom: 1px solid var(--lom-st-line);
}

.local-oksigeniameals-kid .lom-kv-chips {
    display: inline-flex;
    flex: 0 0 auto;
    gap: .2rem;
}

.local-oksigeniameals-kid .lom-kv-dishlist .lom-food {
    flex: 0 0 auto;
    color: var(--lom-color, var(--lom-st-accent));
}

.local-oksigeniameals-kid .lom-kv-dish {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.local-oksigeniameals-kid .lom-kv-dish .lom-allergens {
    display: inline-flex;
    gap: .15rem;
    vertical-align: -.25rem;
    color: var(--lom-st-muted);
}

.local-oksigeniameals-kid .lom-kv-n {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
}

.local-oksigeniameals-kid .lom-kv-n b {
    font-size: 1.6rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.local-oksigeniameals-kid .lom-kv-n small {
    color: var(--lom-st-muted);
    font-size: .8rem;
    white-space: nowrap;
}

/* What to watch: what changed since the count, whoever has a diet, the light meals and the notes. */
.local-oksigeniameals-kid .lom-kv-block + .lom-kv-block {
    margin-top: .9rem;
    padding-top: .9rem;
    border-top: 1px solid var(--lom-st-line);
}

.local-oksigeniameals-kid .lom-kv-block h4 {
    margin: 0 0 .4rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.local-oksigeniameals-kid .lom-kv-blockhead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .25rem .75rem;
    margin-bottom: .4rem;
}

.local-oksigeniameals-kid .lom-kv-blockhead h4,
.local-oksigeniameals-kid .lom-kv-blockhead .lom-kv-label {
    margin: 0;
}

.local-oksigeniameals-kid .lom-kv-block h4 small {
    color: var(--lom-st-muted);
    font-size: .85rem;
    font-weight: 600;
}

.local-oksigeniameals-kid .lom-kv-block ul {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.local-oksigeniameals-kid .lom-kv-changes li,
.local-oksigeniameals-kid .lom-kv-light li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .75rem;
    min-height: 2.75rem;
    padding: .35rem .6rem;
    border-radius: .6rem;
    background: var(--lom-st-well, var(--lom-st-soft));
}

.local-oksigeniameals-kid .lom-kv-changes {
    padding: .7rem .8rem .8rem;
    border: 2px solid var(--bs-warning-border-subtle, #ffe69c);
    border-radius: .8rem;
    background: var(--bs-warning-bg-subtle, #fff3cd);
}

.local-oksigeniameals-kid .lom-kv-changes li {
    background: var(--lom-st-card);
}

.local-oksigeniameals-kid .lom-kv-block.lom-kv-changes + .lom-kv-block {
    border-top: 0;
}

.local-oksigeniameals-kid .lom-kv-who {
    flex: 1 1 12rem;
    min-width: 0;
}

.local-oksigeniameals-kid .lom-kv-who small,
.local-oksigeniameals-kid .lom-kv-when {
    color: var(--lom-st-muted);
}

.local-oksigeniameals-kid .lom-kv-what {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-kv-diets li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .6rem .7rem;
    border: 1px solid var(--lom-st-line);
    border-inline-start-width: 5px;
    border-radius: .7rem;
}

.local-oksigeniameals-kid .lom-kv-diets li.is-bad {
    border-color: var(--bs-danger-border-subtle, #f1aeb5);
    border-inline-start-color: var(--bs-danger, #ca3120);
    background: var(--bs-danger-bg-subtle, #f8d7da);
}

.local-oksigeniameals-kid .lom-kv-diets li.is-warn {
    border-inline-start-color: var(--bs-warning, #f0ad4e);
}

.local-oksigeniameals-kid .lom-kv-marks {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: .2rem;
    padding-top: .15rem;
    color: var(--lom-st-muted);
}

.local-oksigeniameals-kid .lom-kv-person {
    flex: 1 1 auto;
    min-width: 0;
}

.local-oksigeniameals-kid .lom-kv-person p {
    margin: 0;
}

.local-oksigeniameals-kid .lom-kv-name {
    font-size: 1.15rem;
    line-height: 1.25;
}

/* A severe allergy: the solid triangle with its «!» cut out (pix/marks/severe.svg), and the words beside it. */
.local-oksigeniameals-kid .lom-kv-severe {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-inline-end: .3rem;
    color: #c0262d;
    font-size: .85rem;
    font-weight: 800;
    vertical-align: .1rem;
}

.local-oksigeniameals-kid .lom-kv-severe .lom-ksevere {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
}

[data-bs-theme="dark"] .local-oksigeniameals-kid .lom-kv-severe {
    color: #ff8a80;
}

.local-oksigeniameals-kid .lom-kv-meta {
    color: var(--lom-st-muted);
}

.local-oksigeniameals-kid .lom-kv-person .lom-kv-check {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    margin-top: .3rem;
    line-height: 1.35;
}

.local-oksigeniameals-kid .lom-kv-check svg {
    flex: 0 0 auto;
    margin-top: .1rem;
}

.local-oksigeniameals-kid .lom-kv-check strong {
    color: var(--lom-st-bad);
}

.local-oksigeniameals-kid .lom-kv-person .lom-kv-fine {
    margin-top: .2rem;
    color: var(--bs-success-text-emphasis, #1d5d2c);
    font-weight: 600;
}

.local-oksigeniameals-kid .lom-kv-serve {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
}

.local-oksigeniameals-kid .lom-kv-serve small {
    color: var(--lom-st-bad);
    font-size: .8rem;
    font-weight: 700;
}

.local-oksigeniameals-kid .lom-kv-untold {
    margin: 0 0 .5rem;
    padding: .4rem .6rem;
    border: 1px dashed var(--bs-warning, #f0ad4e);
    border-radius: .5rem;
    color: var(--lom-st-warn);
}

.local-oksigeniameals-kid .lom-kv-light form {
    margin-inline-start: auto;
}

.local-oksigeniameals-kid .lom-kv-light li.is-done .lom-kv-who {
    color: var(--lom-st-muted);
}

.local-oksigeniameals-kid .lom-kv-notes > summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    cursor: pointer;
    list-style: none;
}

.local-oksigeniameals-kid .lom-kv-notes > summary::-webkit-details-marker {
    display: none;
}

.local-oksigeniameals-kid .lom-kv-notes > summary h4 {
    margin: 0;
}

.local-oksigeniameals-kid .lom-kv-notes > summary::after,
.local-oksigeniameals-kid .lom-kv-fold > summary::after {
    content: "";
    width: .55rem;
    height: .55rem;
    margin-inline-start: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.local-oksigeniameals-kid .lom-kv-notes[open] > summary::after,
.local-oksigeniameals-kid .lom-kv-fold[open] > summary::after {
    transform: rotate(-135deg);
}

/* During the service, the photo of each menu's dish, as a large button. */
.local-oksigeniameals-kid .lom-kv-photos > div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: .5rem;
}

.local-oksigeniameals-kid .lom-kv-photos .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 3.5rem;
    font-weight: 700;
}

/* The rest, folded under the columns. */
.local-oksigeniameals-kid .lom-kv-more {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lom-st-line);
    border-radius: 1rem;
    background: var(--lom-st-card);
}

.local-oksigeniameals-kid .lom-kv-fold + .lom-kv-fold {
    border-top: 1px solid var(--lom-st-line);
}

.local-oksigeniameals-kid .lom-kv-fold > summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 3.25rem;
    padding: .4rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.local-oksigeniameals-kid .lom-kv-fold > summary::-webkit-details-marker {
    display: none;
}

.local-oksigeniameals-kid .lom-kv-fold > summary small {
    color: var(--lom-st-muted);
    font-weight: 600;
}

.local-oksigeniameals-kid .lom-kv-foldbody {
    padding: 0 1.1rem 1rem;
    overflow-x: auto;
}

/* The count given as good, at the foot and always in sight: amber with what changed since. */
.local-oksigeniameals-kid .lom-kv-cut {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    margin: 0 -.25rem;
    padding: .65rem 1rem;
    border: 1px solid var(--lom-st-line);
    border-radius: 1rem 1rem 0 0;
    background: var(--lom-st-card);
    box-shadow: 0 -.4rem 1.2rem rgba(0, 0, 0, .1);
}

.local-oksigeniameals-kid .lom-kv-cut p {
    display: flex;
    flex: 1 1 18rem;
    align-items: center;
    gap: .6rem;
    margin: 0;
    font-weight: 600;
}

.local-oksigeniameals-kid .lom-kv-cutmark {
    flex: 0 0 auto;
    width: .9rem;
    height: .9rem;
    border: 3px solid var(--lom-st-accent);
    border-radius: 50%;
}

.local-oksigeniameals-kid .lom-kv-cut.is-ok .lom-kv-cutmark {
    border-color: var(--bs-success, #357a32);
    background: var(--bs-success, #357a32);
}

.local-oksigeniameals-kid .lom-kv-cut.is-warn {
    border-color: var(--bs-warning-border-subtle, #ffe69c);
    background: var(--bs-warning-bg-subtle, #fff3cd);
}

.local-oksigeniameals-kid .lom-kv-cut.is-warn .lom-kv-cutmark {
    border-color: var(--bs-warning, #f0ad4e);
}

.local-oksigeniameals-kid .lom-kv-cut .btn {
    min-height: 2.75rem;
}

@media (max-width: 575.98px) {
    .local-oksigeniameals-kid .lom-kv-title {
        font-size: 1.3rem;
    }

    .local-oksigeniameals-kid .lom-kv-quick,
    .local-oksigeniameals-kid .lom-kv-meals {
        flex: 1 1 auto;
    }

    .local-oksigeniameals-kid .lom-kv-quick a,
    .local-oksigeniameals-kid .lom-kv-meals a {
        flex: 1 1 0%;
        justify-content: center;
    }

    .local-oksigeniameals-kid .lom-kv-eat b {
        font-size: 3.25rem;
    }

    .local-oksigeniameals-kid .lom-kv-card {
        padding: .8rem .85rem .9rem;
    }

    .local-oksigeniameals-kid .lom-kv-cut form {
        flex: 1 1 100%;
    }

    .local-oksigeniameals-kid .lom-kv-cut form .btn {
        width: 100%;
    }

    /* The split of a dish on a line of its own under the row, at the end: the name keeps the width of the card. */
    .local-oksigeniameals-kid .lom-kv-dishlist li {
        flex-wrap: wrap;
        gap: 0 .45rem;
    }

    .local-oksigeniameals-kid .lom-kv-dishlist .lom-kv-dish {
        flex-basis: 0;
    }

    .local-oksigeniameals-kid .lom-kv-dishlist .lom-kv-n {
        display: contents;
    }

    .local-oksigeniameals-kid .lom-kv-dishlist .lom-kv-n small {
        flex: 1 0 100%;
        margin-top: -.15rem;
        text-align: end;
        white-space: normal;
    }

    /* A diet: its mark and its menu beside the name only; what to change runs under both, to the edge of the card. */
    .local-oksigeniameals-kid .lom-kv-diets li {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        column-gap: .55rem;
        align-items: start;
    }

    .local-oksigeniameals-kid .lom-kv-diets .lom-kv-person {
        display: contents;
    }

    .local-oksigeniameals-kid .lom-kv-diets .lom-kv-marks {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .local-oksigeniameals-kid .lom-kv-diets .lom-kv-serve {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .local-oksigeniameals-kid .lom-kv-diets .lom-kv-serve small {
        max-width: 4rem;
        line-height: 1.15;
        text-align: center;
    }

    .local-oksigeniameals-kid .lom-kv-diets .lom-kv-person > p {
        grid-column: 2 / -1;
    }

    .local-oksigeniameals-kid .lom-kv-diets .lom-kv-person > .lom-kv-name,
    .local-oksigeniameals-kid .lom-kv-diets .lom-kv-person > .lom-kv-meta {
        grid-column: 2;
    }
}

@media print {
    .local-oksigeniameals-kid .lom-kv-cut,
    .local-oksigeniameals-kid .lom-kv-quick,
    .local-oksigeniameals-kid .lom-kv-day .lom-round {
        display: none;
    }
}

/* 3 · The family's page, on a phone first ----------------------------------------------------------------------------- */

.local-oksigeniameals-kid.lom-fam {
    max-width: 36rem;
}

.local-oksigeniameals-kid.lom-fam .lom-month {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[data-bs-theme="dark"] #region-main .lom-fam a:not(.btn):not(.nav-link):not(.dropdown-item):not(.list-group-item):not(.page-link) {
    text-decoration: none;
}

.lom-fam .lom-fam-demo {
    margin: 0;
    padding: .3rem .75rem;
    border-radius: .5rem;
    background: var(--bs-info-bg-subtle, #e1f3f8);
    color: var(--bs-info-text-emphasis, #0f4a5a);
    font-size: .85rem;
    font-weight: 600;
}

/* Who: the first name large and the surnames small, in one line; the menu of the rest at the right. */
.lom-fam .lom-fam-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.lom-fam .lom-famphoto {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
}

.lom-fam .lom-fam-who {
    flex: 1 1 auto;
    min-width: 0;
}

.lom-fam .lom-fam-name {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
}

.lom-fam .lom-fam-name span {
    color: var(--lom-muted);
    font-size: 1rem;
    font-weight: 600;
}

.lom-fam .lom-fam-unit {
    margin: .1rem 0 0;
    color: var(--lom-muted);
    font-size: .9rem;
}

.lom-fam .lom-fam-more {
    flex: 0 0 auto;
}

.lom-fam .lom-fam-more > summary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2.75rem;
    padding: .3rem .8rem;
    border: 1px solid var(--lom-line);
    border-radius: 2rem;
    background: var(--lom-card);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.lom-fam .lom-fam-more > summary::-webkit-details-marker {
    display: none;
}

.lom-fam .lom-fam-dots {
    width: 1rem;
    height: .25rem;
    background: radial-gradient(circle, currentColor 1.6px, transparent 2px) 0 50% / .33rem .25rem repeat-x;
}

.lom-fam .lom-fam-menu {
    position: absolute;
    z-index: 6;
    inset-inline-end: 0;
    top: calc(100% + .3rem);
    display: flex;
    flex-direction: column;
    min-width: 15rem;
    padding: .35rem;
    border: 1px solid var(--lom-line);
    border-radius: .9rem;
    background: var(--lom-card);
    box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .18);
}

.lom-fam .lom-fam-menu a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .3rem .7rem;
    border-radius: .55rem;
    color: var(--lom-ink);
    font-weight: 600;
    text-decoration: none;
}

.lom-fam .lom-fam-menu a:hover,
.lom-fam .lom-fam-menu a:focus {
    background: var(--lom-st-accentsoft);
}

.lom-fam .lom-fam-menulangs {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin: 0 0 .25rem;
    padding-bottom: .3rem;
    border-bottom: 1px solid var(--lom-line);
}

.lom-fam .lom-fam-menulangs a[aria-current] {
    background: var(--lom-st-accentsoft);
    color: var(--lom-st-accentink);
}

/* Today, tomorrow and the month a tap away, held at the top while the page goes down. */
.lom-fam .lom-fam-bar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin: 0 -.25rem;
    padding: .4rem .25rem;
    background: var(--bs-body-bg, #fff);
    background: color-mix(in srgb, var(--bs-body-bg, #fff) 92%, transparent);
    backdrop-filter: blur(6px);
}

.lom-fam .lom-fam-tabs {
    display: inline-flex;
    padding: .2rem;
    border-radius: .8rem;
    background: var(--lom-st-soft);
}

.lom-fam .lom-fam-tabs a,
.lom-fam .lom-fam-choosing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .25rem .95rem;
    border-radius: .6rem;
    color: var(--lom-ink);
    font-weight: 700;
    text-decoration: none;
}

.lom-fam .lom-fam-tabs a[aria-current] {
    background: var(--lom-st-accentsoft);
    box-shadow: inset 0 0 0 2px var(--lom-st-accent);
    color: var(--lom-st-accentink);
}

.lom-fam .lom-fam-choosing {
    border: 2px solid var(--bs-warning, #f0ad4e);
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
}

/* The day: its menu, whether it suits the diet, the dishes with their allergens in words, and telling the canteen. */
.lom-fam .lom-fam-day {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid var(--lom-line);
    border-top: 5px solid var(--lom-color, var(--lom-st-accent));
    border-radius: 1.1rem;
    background: var(--lom-card);
    scroll-margin-top: 4rem;
}

.lom-fam .lom-fam-dayhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.lom-fam .lom-fam-kicker {
    margin: 0;
    color: var(--lom-muted);
    font-size: .95rem;
    font-weight: 700;
}

.lom-fam .lom-fam-daytitle {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .15rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.lom-fam .lom-fam-tray {
    flex: 0 0 auto;
    width: 6rem;
    margin: 0;
}

.lom-fam .lom-fam-tray svg {
    display: block;
    width: 100%;
    height: auto;
}

.lom-fam .lom-fam-diet {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: 0;
    padding: .55rem .7rem;
    border-radius: .7rem;
    font-weight: 700;
    line-height: 1.35;
}

.lom-fam .lom-fam-dietmark {
    position: relative;
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .1rem;
    border-radius: 50%;
}

.lom-fam .lom-fam-diet.is-ok {
    background: var(--bs-success-bg-subtle, #d1e7dd);
    color: var(--bs-success-text-emphasis, #0a3622);
}

.lom-fam .lom-fam-diet.is-ok .lom-fam-dietmark {
    background: var(--bs-success, #357a32);
}

.lom-fam .lom-fam-diet.is-ok .lom-fam-dietmark::after {
    content: "";
    position: absolute;
    left: .38rem;
    top: .17rem;
    width: .32rem;
    height: .6rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.lom-fam .lom-fam-diet.is-warn {
    background: var(--bs-warning-bg-subtle, #fff3cd);
    color: var(--bs-warning-text-emphasis, #664d03);
}

.lom-fam .lom-fam-diet.is-warn .lom-fam-dietmark {
    border: 3px solid var(--bs-warning, #f0ad4e);
}

.lom-fam .lom-fam-diet.is-bad {
    background: var(--bs-danger-bg-subtle, #f8d7da);
    color: var(--bs-danger-text-emphasis, #58151c);
}

.lom-fam .lom-fam-diet.is-bad .lom-fam-dietmark {
    border-radius: .2rem;
    background: var(--bs-danger, #ca3120);
}

.lom-fam .lom-fam-dishes {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-fam .lom-fam-dishes > li {
    padding: .55rem 0;
    border-bottom: 1px solid var(--lom-line);
}

.lom-fam .lom-fam-dishes > li:last-child {
    border-bottom: 0;
}

.lom-fam .lom-fam-dishname {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.lom-fam .lom-fam-dishname .lom-dishlink {
    min-height: 2.75rem;
    color: inherit;
    font: inherit;
    text-align: start;
}

.lom-fam .lom-fam-dishname small {
    color: var(--lom-muted);
    font-size: .85rem;
    font-weight: 600;
}

.lom-fam .lom-fam-contains {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2rem .4rem;
    margin: .15rem 0 0;
    color: var(--lom-ink);
    font-size: .95rem;
}

.lom-fam .lom-fam-icons {
    display: inline-flex;
    gap: .15rem;
    color: var(--lom-muted);
}

.lom-fam .lom-fam-carries {
    margin: .3rem 0 0;
    color: var(--lom-muted);
    font-size: .9rem;
}

.lom-fam .lom-fam-eaten {
    margin: 0;
    padding: .5rem .7rem;
    border-radius: .7rem;
    background: var(--lom-st-soft);
    font-weight: 600;
}

.lom-fam .lom-fam-tell {
    padding-top: .75rem;
    border-top: 1px dashed var(--lom-line);
}

.lom-fam .lom-fam-tell h4,
.lom-fam .lom-fam-tell h5 {
    margin: 0 0 .5rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.lom-fam .lom-fam-growth {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--lom-muted);
}

.lom-fam .lom-fam-growth svg {
    width: 2.5rem;
    height: 2.5rem;
}

.lom-fam .lom-fam-growth p {
    margin: 0;
    font-size: .9rem;
}

.lom-fam .lom-fam-growth b {
    color: var(--lom-ink);
}

/* What was just said flashes once where it was said; with reduced motion, it does not. */
@keyframes lom-fam-flash {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb, 37, 99, 168), .55);
    }
    100% {
        box-shadow: 0 0 0 1.1rem rgba(var(--bs-primary-rgb, 37, 99, 168), 0);
    }
}

.lom-fam .is-just,
.lom-fam .lom-fam-sheet:target .lom-fam-sheetbody.is-just {
    animation: lom-fam-flash 1.1s ease-out 2;
}

@keyframes lom-fam-toast {
    0%,
    85% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.lom-fam .lom-fam-toast {
    position: fixed;
    z-index: 1060;
    left: 50%;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem 1rem;
    width: calc(100% - 2rem);
    max-width: 30rem;
    padding: .55rem .6rem .55rem 1rem;
    border-radius: .9rem;
    background: #1d2e4a;
    color: #fff;
    box-shadow: 0 .6rem 1.6rem rgba(0, 0, 0, .25);
    transform: translateX(-50%);
    animation: lom-fam-toast 6s forwards;
}

.lom-fam .lom-fam-toast p {
    flex: 1 1 auto;
    margin: 0;
    font-weight: 600;
}

.lom-fam .lom-fam-toast .btn {
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

@media (prefers-reduced-motion: reduce) {
    .lom-fam .is-just {
        animation: none;
    }

    .lom-fam .lom-fam-toast {
        animation-duration: 10s;
    }
}

/* The choosing, while there is one. */
.lom-fam .lom-fam-choose {
    padding: 1rem 1.1rem;
    border: 1px solid var(--bs-warning-border-subtle, #ffe69c);
    border-inline-start: 5px solid var(--bs-warning, #f0ad4e);
    border-radius: 1rem;
    background: var(--lom-card);
    scroll-margin-top: 4rem;
}

.lom-fam .lom-fam-choose.is-done {
    border-color: var(--lom-line);
    border-inline-start-color: var(--bs-success, #198754);
}

.lom-fam .lom-fam-h {
    margin: 0 0 .4rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.lom-fam .lom-fam-choosesay,
.lom-fam .lom-fam-calm {
    margin: 0 0 .75rem;
}

.lom-fam .lom-fam-calm {
    color: var(--lom-muted);
}

.lom-fam .lom-fam-chooser > summary {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    list-style: none;
}

.lom-fam .lom-fam-chooser > summary::-webkit-details-marker {
    display: none;
}

.lom-fam .lom-fam-chooser[open] > summary {
    display: none;
}

/* The month: a calendar of the same day pieces as everywhere; a day opens its sheet without leaving the page. */
.lom-fam .lom-fam-monthbox {
    padding: 1rem 1rem 1.1rem;
    border: 1px solid var(--lom-line);
    border-radius: 1rem;
    background: var(--lom-card);
    scroll-margin-top: 4rem;
}

.lom-fam .lom-fam-cal {
    width: 100%;
    border-collapse: separate;
    border-spacing: .3rem;
    table-layout: fixed;
}

.lom-fam .lom-fam-cal th,
.lom-fam .lom-fam-cal td {
    border: 0;
}

.lom-fam .lom-fam-cal th {
    padding: 0;
    color: var(--lom-muted);
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
}

.lom-fam .lom-fam-cal abbr {
    text-decoration: none;
}

.lom-fam .lom-fam-cal td {
    padding: 0;
    vertical-align: top;
}

.lom-fam .lom-fam-cal a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    min-height: 3.5rem;
    padding: .3rem 0 .35rem;
    border-radius: .6rem;
    background: var(--lom-st-soft);
    color: var(--lom-ink);
    text-decoration: none;
}

.lom-fam .lom-fam-cal a:hover,
.lom-fam .lom-fam-cal a:focus {
    box-shadow: inset 0 0 0 2px var(--lom-st-accent);
}

.lom-fam .lom-fam-cal .is-today a {
    box-shadow: inset 0 0 0 2px var(--lom-ink);
}

.lom-fam .lom-fam-calnum {
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
}

.lom-fam .lom-fam-print {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: .5rem 0 0;
}

/* The sheet of a day, from below; the page behind, darkened, closes it. */
.lom-fam .lom-fam-sheet {
    display: none;
}

.lom-fam .lom-fam-sheet:target {
    position: fixed;
    z-index: 1055;
    inset: 0;
    display: block;
}

.lom-fam .lom-fam-sheetback {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 28, .5);
}

.lom-fam .lom-fam-sheetbody {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 36rem;
    max-height: 86vh;
    margin: 0 auto;
    padding: .4rem 1.1rem 1.25rem;
    overflow-y: auto;
    border-radius: 1.25rem 1.25rem 0 0;
    background: var(--lom-card);
    box-shadow: 0 -.5rem 1.5rem rgba(0, 0, 0, .2);
}

.lom-fam .lom-fam-sheetbody::before {
    content: "";
    display: block;
    width: 2.75rem;
    height: .3rem;
    margin: .2rem auto .6rem;
    border-radius: 1rem;
    background: var(--lom-line);
}

.lom-fam .lom-fam-sheethead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.lom-fam .lom-fam-sheethead h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.lom-fam .lom-fam-sheetbody .lom-fam-daytitle {
    margin: .4rem 0 .6rem;
    font-size: 1.15rem;
}

.lom-fam .lom-fam-sheetbody .lom-fam-diet {
    margin-bottom: .4rem;
}

/* How the last days went: a mark by its shape, the words once, the note as it was written. */
.lom-fam .lom-fam-regsum {
    margin: .5rem 0;
    font-weight: 600;
}

.lom-fam .lom-fam-reg {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lom-fam .lom-fam-reg li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding: .45rem .6rem;
    border-radius: .6rem;
    background: var(--lom-st-soft);
    line-height: 1.35;
}

.lom-fam .lom-fam-regmark {
    flex: 0 0 auto;
    width: .9rem;
    height: .9rem;
    margin-top: .2rem;
    border-radius: 50%;
    background: var(--lom-muted);
    transform: scale(.55);
}

.lom-fam .lom-fam-reg .is-ok .lom-fam-regmark {
    background: var(--bs-success, #357a32);
    transform: none;
}

.lom-fam .lom-fam-reg .is-meh .lom-fam-regmark {
    border: 3px solid var(--bs-warning, #f0ad4e);
    background: transparent;
    transform: none;
}

.lom-fam .lom-fam-reg .is-bad .lom-fam-regmark {
    border-radius: .15rem;
    background: var(--bs-danger, #ca3120);
    transform: none;
}

.lom-fam .lom-fam-reg .is-away .lom-fam-regmark {
    border: 2px dotted var(--lom-muted);
    background: transparent;
    transform: none;
}

.lom-fam .lom-fam-regnote {
    display: block;
    color: var(--lom-muted);
    font-style: italic;
}

.lom-fam .lom-fam-fold > summary {
    min-height: 2.75rem;
}

.lom-fam .lom-fam-anchor,
.lom-fam .lom-fam-fold {
    scroll-margin-top: 4rem;
}

/* The folds at the end, the same space between each: none of their own, and none for the notices when there are none. */
.lom-fam .lom-stayfold {
    margin: 0;
}

.lom-fam .lom-fam-anchor:empty {
    display: none;
}

.lom-fam .lom-fam-foot {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding-top: .5rem;
    border-top: 1px solid var(--lom-line);
}

.lom-fam .lom-fam-foot p,
.lom-fam .lom-fam-foot form {
    margin: 0;
}

/* 4 · The state of a day, the same piece everywhere ------------------------------------------------------------------ */

/* Chosen: the chip of the menu. By default: its letter in an outline of its colour. Not chosen yet: a dashed box with
   «?». Not coming: a dotted ring with «—». No canteen: a dot. Gone by: paler, with a tick when they ate. */
.local-oksigeniameals-chip.lom-ds {
    position: relative;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.local-oksigeniameals-chip.lom-ds.is-default {
    border: 2px solid var(--lom-color);
    background: transparent;
    color: var(--lom-color);
}

[data-bs-theme="dark"] .local-oksigeniameals-chip.lom-ds.is-default {
    border-color: #9dc3ef;
    border-color: color-mix(in srgb, var(--lom-color) 55%, #fff);
    color: #dbe5ee;
    color: color-mix(in srgb, var(--lom-color) 45%, #fff);
}

.local-oksigeniameals-chip.lom-ds.is-default[data-pat]::after {
    border-inline-start-color: var(--lom-color);
}

.local-oksigeniameals-chip.lom-ds.is-default[data-pat="1"]::after {
    background-image: repeating-linear-gradient(135deg, var(--lom-color) 0 1.5px, transparent 1.5px 4px);
}

.local-oksigeniameals-chip.lom-ds.is-default[data-pat="2"]::after {
    background-image: radial-gradient(var(--lom-color) .9px, transparent 1.3px);
}

.local-oksigeniameals-chip.lom-ds.is-default[data-pat="3"]::after {
    background-image: repeating-linear-gradient(45deg, var(--lom-color) 0 1px, transparent 1px 3.5px),
        repeating-linear-gradient(135deg, var(--lom-color) 0 1px, transparent 1px 3.5px);
}

.local-oksigeniameals-chip.lom-ds.is-unchosen {
    border: 2px dashed var(--bs-secondary-color, #5f6b76);
    background: transparent;
    color: var(--bs-secondary-color, #5f6b76);
}

.local-oksigeniameals-chip.lom-ds.is-away {
    border: 2px dotted var(--bs-secondary-color, #5f6b76);
    border-radius: 50%;
    background: transparent;
    color: var(--bs-secondary-color, #5f6b76);
}

.local-oksigeniameals-chip.lom-ds.is-closed {
    min-width: 1.7em;
    background: transparent;
}

.local-oksigeniameals-chip.lom-ds.is-closed::before {
    content: "";
    width: .35em;
    height: .35em;
    border-radius: 50%;
    background: var(--bs-secondary-color, #5f6b76);
}

.local-oksigeniameals-chip.lom-ds.is-past {
    opacity: .62;
}

.lom-dsbox {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.lom-dsbox .lom-ds-ate {
    position: absolute;
    top: -.3rem;
    inset-inline-end: -.3rem;
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--bs-success, #357a32);
    box-shadow: 0 0 0 2px var(--bs-body-bg, #fff);
}

.lom-dskey {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    margin: .6rem 0 0;
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .85rem;
}

.lom-dskey > span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* Under the month of a family, the key in even columns: three and two, or two by two on a phone; never one alone. */
.lom-fam .lom-dskey {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
}

@media (min-width: 30rem) {
    .lom-fam .lom-dskey {
        grid-template-columns: repeat(3, minmax(0, max-content));
    }
}

/* 5 · Whose page it is: the PIN and the counter, with the band of the centre ----------------------------------------- */

.local-oksigeniameals-kid .lom-brandband,
.lom-counter .lom-brandband {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.25rem;
    padding: .7rem .8rem .7rem 1rem;
    border-radius: 1rem;
    background: var(--lom-pc, #0f6cbf);
    color: var(--lom-pcink, #fff);
    text-align: start;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.lom-brandband .lom-brandlogo {
    flex: 0 0 auto;
    max-width: 6rem;
    max-height: 2.75rem;
    padding: .2rem .35rem;
    border-radius: .45rem;
    background: #fff;
    object-fit: contain;
}

.lom-brandband .lom-brandtext {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    line-height: 1.2;
}

.lom-brandband .lom-brandtext b {
    font-size: 1.1rem;
    font-weight: 800;
}

.lom-brandband .lom-brandtext span {
    font-size: .9rem;
    font-weight: 600;
    opacity: .9;
}

/* The face of the tray, Meals' signature, on a disc of paper so it reads on any colour. */
.lom-brandband .lom-brandsign {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #faf7f1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .35);
}

.lom-brandband .lom-brandsign svg {
    width: 2.5rem;
    height: 2.5rem;
}

.local-oksigeniameals-kid.lom-pinpage {
    max-width: 26rem;
}

.lom-pinpage .lom-join {
    min-height: 0;
    justify-content: flex-start;
    gap: .9rem;
    text-align: start;
}

.lom-pinpage .lom-join .lom-note {
    margin: 0;
    text-align: start;
}

.lom-pinpage .lom-title {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.lom-pinpage .lom-pinlock {
    flex: 0 0 auto;
    color: var(--lom-st-accent, #2563a8);
}

.lom-pinpage .lom-pinwhat {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.lom-pinpage .lom-pinerror {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: .5rem 0;
    padding: .55rem .75rem;
    border: 1px solid var(--bs-danger-border-subtle, #f1aeb5);
    border-radius: .7rem;
    background: var(--bs-danger-bg-subtle, #f8d7da);
    color: var(--bs-danger-text-emphasis, #58151c);
    font-weight: 700;
}

.lom-pinpage .lom-pinerror span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: .25rem;
    background: var(--bs-danger, #ca3120);
    color: #fff;
    font-weight: 800;
}

.lom-pinpage .lom-pin.is-wrong,
.local-oksigeniameals-kid .lom-pin.is-wrong[aria-invalid="true"],
.local-oksigeniameals-kid .lom-pin.is-wrong[aria-invalid="true"]:focus {
    border-color: var(--bs-danger, #ca3120);
}

.lom-counter .lom-counterhead {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: .25rem .75rem;
    margin: 0 0 .75rem;
    font-size: 1.9rem;
    font-weight: 800;
    text-align: center;
}

.lom-counter .lom-counterhead small {
    color: var(--bs-secondary-color, #5f6b76);
    font-size: 1.1rem;
    font-weight: 700;
}

/* 6 · Not coming for several days: the first day and the last, two taps on a calendar for a thumb ---------------------- */

.lom-sp {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: .6rem;
}

.lom-sp .lom-sp-say {
    margin: 0;
    padding: .55rem .75rem;
    border-radius: .7rem;
    background: var(--lom-st-accentsoft, #e8f0fa);
    color: var(--lom-st-accentink, #12457f);
    font-weight: 700;
    line-height: 1.35;
}

.lom-sp .lom-sp-from {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-weight: 600;
}

.lom-sp .lom-sp-from[hidden] {
    display: none;
}

.lom-sp .lom-sp-cal {
    display: grid;
    grid-template-columns: repeat(var(--lom-calcols, 5), minmax(0, 1fr));
    gap: .3rem;
}

.lom-sp .lom-sp-wd {
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
}

.lom-sp .lom-sp-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    margin: 0;
    border: 2px solid var(--bs-border-color, #dee2e6);
    border-radius: .7rem;
    background: var(--bs-body-bg, #fff);
    cursor: pointer;
}

.lom-sp .lom-sp-day input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.lom-sp .lom-sp-day b {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.lom-sp .lom-sp-day small {
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.lom-sp .lom-sp-day.is-today {
    border-color: var(--bs-body-color, #1d2125);
}

.lom-sp .lom-sp-day.is-past,
.lom-sp .lom-sp-day.is-off {
    border-style: dashed;
    background: transparent;
    color: var(--bs-secondary-color, #5f6b76);
    cursor: default;
    opacity: .6;
}

/* Without the script, the day chosen as the last one; with it, the span from the first to the last. */
.lom-sp:not(.is-taps) .lom-sp-day input:checked + b,
.lom-sp .lom-sp-day.is-in {
    color: var(--lom-st-accentink, #12457f);
}

.lom-sp .lom-sp-day.is-in {
    border-color: var(--lom-st-accent, #2563a8);
    background: var(--lom-st-accentsoft, #e8f0fa);
}

.lom-sp .lom-sp-day.is-start,
.lom-sp .lom-sp-day.is-end {
    border-color: var(--lom-st-accent, #2563a8);
    background: var(--lom-st-accent, #2563a8);
    color: #fff;
}

.lom-sp .lom-sp-day.is-start small,
.lom-sp .lom-sp-day.is-end small {
    color: #fff;
}

.lom-sp .lom-sp-day input:focus-visible + b {
    outline: 3px solid var(--lom-st-accent, #2563a8);
    outline-offset: .55rem;
    border-radius: .2rem;
}

.lom-sp .lom-sp-siblings {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.lom-sp .lom-sp-siblings legend {
    margin-bottom: .3rem;
    font-size: 1rem;
    font-weight: 700;
}

.lom-sp .lom-sp-sibling {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 2.75rem;
    padding: .3rem .85rem;
    border: 2px solid var(--bs-border-color, #dee2e6);
    border-radius: 2rem;
    font-weight: 600;
}

.lom-sp .lom-sp-sibling input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--lom-st-accent, #2563a8);
}

.lom-sp .lom-sp-reason {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    font-weight: 600;
}

.lom-sp .lom-sp-send {
    min-height: 3rem;
    font-weight: 700;
}

/* 8 · On the pages of a link, the welcome again where the page has its other controls ---------------------------------- */

/* Not as a face floating in a corner, over the last line of the page. */
.lom-kv .lom-kv-help {
    min-height: 2.75rem;
}

.lom-fam .lom-fam-menu .lom-fam-menubtn {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .3rem .7rem;
    border: 0;
    border-radius: .55rem;
    background: none;
    color: var(--lom-ink);
    font: inherit;
    font-weight: 600;
    text-align: start;
}

.lom-fam .lom-fam-menu .lom-fam-menubtn:hover,
.lom-fam .lom-fam-menu .lom-fam-menubtn:focus {
    background: var(--lom-st-accentsoft);
}

/* 10 · Three levels of button, the sheet of consequences, and the monitor's row without a red button ---------------- */

/* The monitor's row: one tap, there (full, with a tick); two, not come (dotted, with a dash, never a cross); three,
   unmarked. The taps for how they ate, only once they are there. */
.local-oksigeniameals-kid .lom-reghint {
    margin: 0 0 .5rem;
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .9rem;
}

.local-oksigeniameals-kid .lom-regcheck .lom-regdash {
    display: none;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.local-oksigeniameals-kid .lom-regrow.lom-away .lom-regcheck {
    border: 3px dotted var(--bs-secondary-color, #6b7280);
    background: transparent;
    color: var(--bs-secondary-color, #6b7280);
}

.local-oksigeniameals-kid .lom-regrow.lom-away .lom-regcheck .lom-regno {
    display: none;
}

.local-oksigeniameals-kid .lom-regrow.lom-away .lom-regcheck .lom-regdash {
    display: block;
}

.local-oksigeniameals-kid .lom-regrow:not(.lom-here) .lom-regquickrow {
    display: none;
}

/* The sheet of consequences: from below on a phone, in the middle on a wide screen; the page behind closes it. */
.lom-cq-open {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.lom-cq-open .lom-cq-sign {
    flex: 0 0 auto;
}

.lom-cq {
    display: none;
}

.lom-cq:target {
    position: fixed;
    z-index: 1055;
    inset: 0;
    display: block;
}

.lom-cq .lom-cq-back {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 28, .5);
}

.lom-cq .lom-cq-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 86vh;
    padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    border-radius: 1.25rem 1.25rem 0 0;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #1d2125);
    box-shadow: 0 -.5rem 1.5rem rgba(0, 0, 0, .2);
    text-align: start;
}

@media (min-width: 768px) {
    .lom-cq .lom-cq-body {
        top: 50%;
        bottom: auto;
        width: calc(100% - 4rem);
        max-width: 32rem;
        margin: 0 auto;
        border-radius: 1.25rem;
        transform: translateY(-50%);
    }
}

.lom-cq .lom-cq-title {
    margin: 0 0 .75rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.lom-cq .lom-cq-label {
    margin: 0 0 .3rem;
    color: var(--bs-secondary-color, #5f6b76);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lom-cq .lom-cq-list {
    margin: 0 0 .75rem;
    padding-inline-start: 1.2rem;
}

.lom-cq .lom-cq-list li + li {
    margin-top: .3rem;
}

.lom-cq .lom-cq-undo {
    margin: 0 0 1rem;
    padding: .5rem .7rem;
    border-radius: .6rem;
    background: var(--bs-secondary-bg, #e9ecef);
    font-weight: 600;
}

.lom-cq .lom-cq-acts {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.lom-cq .lom-cq-acts .btn {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}
