/* 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 (Jujol, 9 November 2026). */

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;
}

/* Full colour only for the day that matters; the rest of the week tinted, keeping its letter and its pattern, as a wall of solid
   letters would compete with what matters. */

.lom-tg-day:not(.is-next) .local-oksigeniameals-chip:not(.lom-split) {
    --lom-tint: var(--lom-color, currentColor);
    background: color-mix(in srgb, var(--lom-tint) 12%, transparent);
    box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--lom-tint) 75%, transparent);
    color: var(--bs-body-color, #212529);
}

[data-bs-theme="dark"] .lom-tg-day:not(.is-next) .local-oksigeniameals-chip:not(.lom-split) {
    --lom-tint: color-mix(in srgb, var(--lom-color, currentColor) 60%, #fff);
}

.lom-tg-day:not(.is-next) .local-oksigeniameals-chip[data-pat]::after {
    border-inline-start-color: color-mix(in srgb, var(--lom-tint) 75%, transparent);
}

.lom-tg-day:not(.is-next) .local-oksigeniameals-chip[data-pat="1"]::after {
    background-image: repeating-linear-gradient(135deg, var(--lom-tint) 0 1.5px, transparent 1.5px 4px);
}

.lom-tg-day:not(.is-next) .local-oksigeniameals-chip[data-pat="2"]::after {
    background-image: radial-gradient(var(--lom-tint) .9px, transparent 1.3px);
}

.lom-tg-day:not(.is-next) .local-oksigeniameals-chip[data-pat="3"]::after {
    background-image: repeating-linear-gradient(45deg, var(--lom-tint) 0 1px, transparent 1px 3.5px),
        repeating-linear-gradient(135deg, var(--lom-tint) 0 1px, transparent 1px 3.5px);
}

.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 tutor's week: the letters of the other days, outlined in their colour. */

    .lom-tg-day:not(.is-next) .local-oksigeniameals-chip:not(.lom-split),
    [data-bs-theme="dark"] .lom-tg-day:not(.is-next) .local-oksigeniameals-chip:not(.lom-split) {
        --lom-tint: var(--lom-color, currentColor);
        background: transparent;
        box-shadow: inset 0 0 0 1.5px var(--lom-tint);
    }

    .lom-tg-day:not(.is-next) .local-oksigeniameals-chip[data-pat]::after {
        border-inline-start-color: var(--lom-tint);
    }
}

/* 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;
}

.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));
}

/* 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 (Jujol, 10 November 2026). 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 (Gaudí, 26 October 2026). 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 (Gaudí, 27 October 2026): 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-wksevere {
    color: #c0262d;
}

.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 (Gaudí): 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;
}

/* Always at hand on the pages of the staff, low on the right, beside the help of the site. */

.lom-gddock {
    position: fixed;
    inset-inline-end: max(6.25rem, env(safe-area-inset-right, 0px));
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 1029;
    max-width: calc(100vw - 2rem);
}

.lom-gddock summary {
    display: flex;
    gap: .4rem;
    align-items: center;
    width: max-content;
    margin-inline-start: auto;
    padding: .45rem .9rem;
    border: 1px solid var(--bs-border-color, #dde3ea);
    border-radius: 999px;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 2px 8px rgba(23, 33, 43, .16);
    color: var(--bs-body-color, #17212b);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.lom-gddock summary::-webkit-details-marker {
    display: none;
}

.lom-gddock .lom-gdicon {
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: var(--bs-primary, #1a5fb4);
    color: #fff;
    font-size: .85rem;
}

.lom-gddock form {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    align-items: flex-start;
    width: 20rem;
    max-width: 100%;
    margin-bottom: .5rem;
    padding: .75rem;
    border: 1px solid var(--bs-border-color, #dde3ea);
    border-radius: .75rem;
    background: var(--bs-body-bg, #fff);
    box-shadow: 0 4px 16px rgba(23, 33, 43, .18);
}

.lom-gddock[open] {
    z-index: 1031;
    display: flex;
    flex-direction: column-reverse;
}

/* On a phone only the icon, not to cover what is below; its name stays for screen readers, and the box leaves the tray free. */

@media (max-width: 575.98px) {
    .lom-gddock {
        inset-inline-end: auto;
        inset-inline-start: .75rem;
        bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    }

    .lom-gddock summary {
        margin-inline-start: 0;
        padding: .4rem;
    }

    .lom-gddock .lom-gdname {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .lom-gddock form {
        width: min(20rem, calc(100vw - 7.5rem));
    }
}

/* 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 (Jujol, 9 November 2026). */
    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: right; 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: right; 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: right; white-space: nowrap; }

.lom-pv-tabla th:first-child, .lom-pv-tabla td:first-child { text-align: left; }

.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: left; 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: right; 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 (Jujol, 9 November 2026). */

.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: right; 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: left; 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;
}

/* «How do I…?» with the face of the guide: the one help of the pages of the staff, with the welcome as its first entry. */

.lom-gddock .lom-gdface {
    width: 1.75rem;
    height: 1.75rem;
    flex: none;
}

.lom-gddock .lom-gdtour {
    display: flex;
    gap: .45rem;
    align-items: center;
    width: 100%;
    margin: .5rem 0 0;
    padding: .55rem .75rem;
    border: 1px solid var(--bs-border-color, #dde3ea);
    border-radius: .6rem;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-primary, #2563a8);
    font-weight: 600;
    text-align: start;
    cursor: pointer;
}

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

.lom-gddock .lom-gdtour:hover,
.lom-gddock .lom-gdtour:focus-visible {
    border-color: var(--bs-primary, #2563a8);
}

@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: right; }

.lom-pv-sourcing td:first-child, .lom-pv-sourcing th:first-child { text-align: left; }

/* 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-ksevere {
    color: #c0262d;
    font-weight: 700;
}

.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;
}

.lom-labelsevere {
    color: #c0262d;
}

@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 (Jujol, 9 November 2026). */

.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 (Jujol, 9 November 2026). */
    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» (Jujol, 9 November 2026). */

.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 (Jujol, 9 November 2026). */

@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-gddock 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-gddock 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» (Jujol, 16 Nov 2026): 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: left; }

/* 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;
}
