/* Menu Board: only what keystone-app.css does not already provide.
   The header, tabs, footer and text-size rules below are DocDrop's (App-39),
   so the two apps share one frame. */

.muted { color: var(--navy-70); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.inline { display: inline; margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--navy-50); margin-left: 4px; }
.row.spread { justify-content: space-between; align-items: flex-end; }
.row .btn + .btn, .row form + form, .row .btn + form { margin-left: 0; }
.btn-small { padding: 6px 12px; font-size: 0.85rem; }
.btn-wide { width: 100%; margin-top: 6px; }
.danger-text { color: var(--critical); }
.danger-text:hover { color: #A81514; }
.section { margin-top: 30px; }
.section > h2 { margin-bottom: 6px; }
.crumbs { margin: 0 0 6px; font-size: 0.875rem; }
.crumbs a { color: var(--navy-70); }
.crumbs a::before { content: "← "; }
h1 .pill { vertical-align: middle; margin-left: 8px; font-size: 0.8rem; }
h3.sub { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-70); margin: 18px 0 8px; }
.note--ok { border-left-color: var(--ok); background: #EEF5E9; color: var(--navy); }

/* ---------------------------------------------------------- text size */
/* keystone-app.css sets body and inputs in px; here they follow the root, so
   A− / A / A+ (textsize.js) scales every page at once. Inputs never drop
   below 16px, the size that stops iOS zooming in on focus. */
body { font-size: 1rem; }
input[type="text"], input[type="email"], input[type="search"], input[type="password"],
input[type="number"], input[type="date"], select, textarea { font-size: max(16px, 1rem); }

/* ---------------------------------------------------------- header */
.appbar__inner { padding: 14px 24px; gap: 18px; }
.appbar__home { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; min-width: 0; flex: 1 1 auto; }
.appbar__home:hover { color: inherit; }
.appbar__divider { width: 1px; align-self: stretch; min-height: 40px; background: rgba(230, 221, 203, 0.28); flex: 0 0 auto; }
.appbar__titles { display: grid; gap: 1px; min-width: 0; }
.appbar__kicker, .appbar__name, .appbar__sub { display: block; }
.appbar__name { font-size: 1.3rem; margin: 0; }
.appbar__sub { color: var(--grey); font-size: 0.875rem; }

.appbar__side { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.appbar__side .textsize { display: inline-flex; gap: 3px; }
.appbar__side .textsize button {
  width: 34px; height: 34px; padding: 0; border: 1px solid rgba(230, 221, 203, 0.35); border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); color: var(--white); font-weight: 700; line-height: 1; cursor: pointer;
}
/* Each A previews what it does. Fixed px, so the buttons do not jump as the page scales. */
.appbar__side .textsize button:nth-child(1) { font-size: 12px; }
.appbar__side .textsize button:nth-child(2) { font-size: 15px; }
.appbar__side .textsize button:nth-child(3) { font-size: 18px; }
.appbar__side .textsize button:hover { background: var(--navy-90); }
.appbar__side .textsize button[aria-pressed="true"] { border-color: var(--gold); }
.appbar__side .textsize button:disabled { opacity: 0.35; cursor: default; }

.userchip { display: grid; justify-items: end; gap: 1px; text-align: right; line-height: 1.3; }
.userchip__name { color: var(--white); font-weight: 700; font-size: 0.95rem; }
.userchip__mail { color: var(--grey); font-size: 0.8rem; }
.userchip__role { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; color: var(--navy); background: var(--gold); border-radius: 999px; padding: 1px 9px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.appbar__side .signout { font-weight: 700; }

/* Menu: bigger, with icons, so each item reads at a glance. */
.tabs { padding: 0 18px; align-items: flex-end; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; padding: 12px 18px; }
.tabs a .icon { opacity: 0.85; }
.tabs__badge { background: var(--gold); color: var(--navy); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; font-size: 0.75rem; font-weight: 700; }
.tabs__date { margin-left: auto; align-self: center; color: var(--grey); font-size: 0.8rem; padding: 0 4px 0 18px; white-space: nowrap; }

/* ---------------------------------------------------------- footer */
body.staff, body.public { min-height: 100vh; display: flex; flex-direction: column; }
body.staff main, body.public main { flex: 1 0 auto; width: 100%; }
.appfoot { background: var(--navy); border-top: 3px solid var(--gold); color: var(--grey); margin-top: 40px; }
.appfoot__inner { max-width: 1180px; margin: 0 auto; padding: 18px 24px 22px; text-align: center; font-size: 0.8rem; }
.appfoot p { margin: 3px 0; }
.appfoot strong { color: var(--white); }
.appfoot__app { color: var(--gold); font-weight: 700; }
.appfoot .icon { vertical-align: -2px; }
.appfoot__ver { opacity: 0.7; }

@media (max-width: 860px) {
  .tabs__date { display: none; }
}
@media (max-width: 720px) {
  .appbar__inner { padding: 12px 16px; gap: 12px; }
  .appbar__crest { width: 104px; }
  .appbar__divider { display: none; }
  .appbar__name { font-size: 1.1rem; }
  .appbar__side { width: 100%; justify-content: space-between; }
  .userchip { justify-items: start; text-align: left; }
  .userchip__mail { display: none; }
  .tabs { padding: 0 8px; }
  .tabs a { padding: 10px 12px; font-size: 0.9rem; }
  body.public .appbar__side { width: auto; }
  body.public .appbar__inner { flex-wrap: nowrap; }
}


.signin-problem { margin-top: 40px; }
.drop { display: block; border: 2px dashed var(--navy-20); border-radius: var(--radius-card); padding: 34px 18px; text-align: center; cursor: pointer; background: var(--paper); margin-bottom: 14px; transition: border-color var(--fast) var(--ease), background var(--fast) var(--ease); }
.drop strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.drop:hover, .drop.is-over { border-color: var(--gold-deep); background: var(--gold-soft); }
.drop:focus-within { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

/* ---------------------------------------------------------- allergen chips */
/* Used on the parents' page, the review screen and the key. Always a name, with the caterer's picture when we hold it. */
.alg { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--navy-20); background: var(--white); border-radius: 999px; padding: 1px 9px 1px 4px; font-size: 0.75rem; line-height: 1.5; color: var(--navy); white-space: nowrap; }
.alg:not(:has(.alg__img)) { padding-left: 9px; }
.alg__img { width: 18px; height: 18px; object-fit: contain; flex: 0 0 auto; }

/* ---------------------------------------------------------- the parents' menu */
/* One calm column. Lunch is the hero, the breaks sit quietly beneath it, and a parent
   picks a day instead of facing the whole week at once. */
body.public .page-shell { max-width: 880px; padding-top: 28px; }
.page-head--menu h1 { font-size: 2.4rem; margin-bottom: 2px; }
.week-range { font-size: 1.1rem; color: var(--navy-70); margin: 0; }
.menu-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 18px; }
.switch { display: inline-flex; border: 1px solid var(--navy-20); border-radius: 999px; overflow: hidden; background: var(--white); }
.switch__opt { padding: 9px 20px; font-weight: 700; text-decoration: none; color: var(--navy-70); }
.switch__opt[aria-current="true"] { background: var(--navy); color: var(--white); }

.daytabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 14px; }
.daytab { position: relative; display: grid; justify-items: center; gap: 0; padding: 10px 4px 9px; border: 1px solid var(--navy-10); border-radius: 14px; background: var(--white); color: var(--navy); text-decoration: none; line-height: 1.15; }
.daytab:hover { border-color: var(--navy-20); }
.daytab__dow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy-70); }
.daytab__num { font-size: 1.55rem; font-weight: 300; }
.daytab.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.daytab.is-active .daytab__dow { color: var(--grey); }
.daytab--closed { background: var(--grey-soft); }
.daytab__x { font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-70); }
.daytab.is-active .daytab__x { color: var(--grey); }
.daytab__dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.daytab__flag { position: absolute; top: -7px; left: -5px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--critical); color: var(--white); font-size: 0.72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.daytab__flag[hidden] { display: none; }

.avoid { background: var(--white); border: 1px solid var(--navy-10); border-radius: 12px; margin: 0 0 22px; }
.avoid > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.avoid > summary::after { content: "+"; font-size: 1.3rem; color: var(--navy-70); }
.avoid[open] > summary::after { content: "–"; }
.avoid > summary::-webkit-details-marker { display: none; }
.avoid__help { margin: 0; padding: 0 16px 8px; color: var(--navy-70); font-size: 0.92rem; }
.avoid__list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 16px; }
.avoid__opt { cursor: pointer; }
.avoid__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avoid__opt span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border: 1px solid var(--navy-20); border-radius: 999px; font-size: 0.9rem; background: var(--white); }
.avoid__opt input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
.avoid__opt input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.avoid__opt img, .alg-i img { width: 20px; height: 20px; object-fit: contain; flex: 0 0 auto; }

.dp { display: block; background: var(--white); border: 1px solid var(--navy-10); border-radius: 18px; padding: 26px 28px 18px; }
.js .dp { display: none; }
.js .dp.is-active { display: block; }
.dp__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.dp__title { font-size: 1.7rem; font-weight: 300; margin: 0; }
.dp__today { background: var(--gold); color: var(--navy); border-radius: 999px; padding: 1px 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.dp__sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-70); margin: 26px 0 4px; padding-top: 18px; border-top: 1px solid var(--navy-10); }
.dp__sub--lunch { border-top: 0; padding-top: 0; margin-top: 18px; color: var(--navy); }
.dp__sub--lunch::after { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 8px; }
.dp__break { opacity: 0.96; }
.dp__break .dish__name { font-size: 1.02rem; }
.dp__closed { padding: 26px 0 14px; }
.dp__closed-main { font-size: 1.5rem; font-weight: 300; margin: 0 0 4px; }
.menu-row { margin-top: 18px; }
.menu-row__label { font-size: 0.8rem; font-weight: 700; color: var(--navy-70); margin: 0 0 4px; }
.dishes { list-style: none; margin: 0; padding: 0; }
.dish { padding: 7px 0 9px 14px; border-left: 3px solid transparent; margin-left: -14px; }
.dish__name { display: block; font-size: 1.22rem; line-height: 1.3; }
.dish__alg { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 3px 0 0; font-size: 0.86rem; color: var(--navy-70); }
.dish__alg--none { color: var(--navy-50); font-size: 0.8rem; }
.alg-i { display: inline-flex; align-items: center; gap: 5px; }
.dish.is-flagged { border-left-color: var(--critical); background: #FBEDED; border-radius: 0 8px 8px 0; margin-right: -8px; padding-right: 8px; }
.dish__flag { display: block; margin-top: 3px; font-size: 0.82rem; font-weight: 700; color: #A81514; }
.tag { display: inline-block; background: var(--gold-soft); color: var(--navy); border-radius: 4px; padding: 0 6px; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 1px; }
.weeknav { display: flex; justify-content: space-between; margin: 16px 2px 0; }
.weeknav__link { font-weight: 700; text-decoration: none; color: var(--navy-70); }
.sources, .published { margin-top: 14px; text-align: center; }
.print-only { display: none; }

.allergen-footer { background: var(--paper); border-top: 1px solid var(--navy-10); margin-top: 36px; }
.allergen-footer__inner { max-width: 880px; margin: 0 auto; padding: 24px 24px 20px; }
.allergen-footer__text { margin: 0 0 14px; font-size: 1rem; max-width: 70ch; color: var(--navy-70); }
.allergen-footer__title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy-70); margin: 0 0 10px; }
.allergen-key { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 14px; }
.allergen-key .alg { border: 0; background: none; padding: 0; font-size: 0.9rem; gap: 7px; }
.allergen-key .alg__img { width: 22px; height: 22px; }
.allergen-footer__note { margin: 14px 0 0; font-size: 0.85rem; color: var(--navy-70); }

@media (max-width: 720px) {
  body.public .page-shell { padding-top: 18px; }
  .page-head--menu h1 { font-size: 2rem; }
  .menu-controls { margin: 16px 0 14px; }
  .switch { width: 100%; } .switch__opt { flex: 1; text-align: center; padding: 10px 8px; }
  .menu-controls .btn { display: none; }
  .daytabs { gap: 5px; }
  .daytab { border-radius: 12px; padding: 8px 2px; }
  .daytab__num { font-size: 1.3rem; }
  .daytab__x { font-size: 0.56rem; }
  .dp { padding: 18px 18px 10px; border-radius: 14px; }
  .dp__title { font-size: 1.4rem; }
  .dish__name { font-size: 1.12rem; }
  .allergen-footer__inner { padding: 18px 16px; }
}

@media print {
  @page { size: A4 landscape; margin: 10mm; }
  .no-print, .appbar, .appfoot, .textsize, .daytabs, .dp, .avoid { display: none !important; }
  .print-only { display: block !important; }
  body { background: #fff; font-size: 9pt; }
  body.public .page-shell { max-width: none; padding: 0; }
  .print-title { font-size: 13pt; font-weight: 700; margin: 0 0 6px; }
  .week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .day { border: 1px solid #999; break-inside: avoid; }
  .day__head { display: flex; gap: 6px; padding: 3px 6px; border-bottom: 2px solid var(--navy); font-weight: 700; }
  .meal { padding: 2px 6px; }
  .meal__title { font-size: 6.5pt; letter-spacing: 0.1em; text-transform: uppercase; margin: 3px 0 1px; }
  .meal__label { font-size: 7pt; margin: 2px 0 0; font-weight: 700; }
  .dishes { list-style: none; margin: 0; padding: 0; }
  .dish { padding: 0 0 2px; margin: 0; border: 0; }
  .dish__name { font-size: 8pt; }
  .dish__alg { font-size: 6.5pt; color: #333; margin: 0; display: block; }
  .allergen-footer { break-inside: avoid; margin-top: 8px; border: 0; }
  .allergen-footer__inner { padding: 6px 0; max-width: none; }
  .allergen-footer__text, .allergen-footer__note { font-size: 7.5pt; margin: 2px 0; }
  .allergen-key { grid-template-columns: repeat(9, 1fr); gap: 2px 8px; }
  .allergen-key .alg { font-size: 7pt; }
  .allergen-key .alg__img { width: 12px; height: 12px; }
}

/* ---------------------------------------------------------- about (as DocDrop's) */
.about__tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--navy-10); margin: 0 0 22px; overflow-x: auto; }
.about__tabs a { padding: 10px 16px; font-weight: 700; text-decoration: none; color: var(--navy-70); border-bottom: 3px solid transparent; white-space: nowrap; }
.about__tabs a[aria-current] { color: var(--navy); border-bottom-color: var(--gold); }
.about { max-width: 980px; }
.about__sec { margin: 0 0 34px; }
.about__sec h2 { font-size: 1.45rem; font-weight: 300; margin: 2px 0 10px; }
.about__sec p { max-width: 72ch; }
.about__h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; }
.about__num { margin: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.about__sec code { font-size: 0.85em; background: var(--grey-soft); padding: 1px 5px; border-radius: 4px; }
.about__figures { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 16px 0 8px; }
.about__quote { margin: 12px 0 18px; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--grey-soft); font-size: 1.02rem; }
.about__quote cite { display: block; margin-top: 8px; font-size: 0.82rem; font-style: normal; color: var(--navy-70); }
.about__stages { display: grid; gap: 10px; margin: 0 0 14px; }
.about__stage { border: 1px solid var(--navy-10); border-left: 5px solid var(--navy-20); border-radius: 10px; padding: 12px 16px; background: var(--white); }
.about__stage p { margin: 4px 0 0; color: var(--navy-70); }
.about__stage--done { border-left-color: var(--ok); }
.about__stage--now { border-left-color: var(--gold); }
.about__foot { margin-top: 30px; }
.feature__kicker { margin: 0 0 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-70); }
.feature__title { font-size: 1.9rem; font-weight: 300; margin: 0 0 8px; }
.feature__standfirst { font-size: 1.1rem; max-width: 62ch; color: var(--navy-70); margin: 0 0 26px; }
/* A table that turns into labelled cards on a phone, as in DocDrop. */
@media (max-width: 680px) {
  .rtable thead { display: none; }
  .rtable, .rtable tbody, .rtable tr, .rtable td { display: block; width: 100%; }
  .rtable tr { border: 1px solid var(--navy-10); border-radius: 10px; margin-bottom: 10px; padding: 8px 12px; background: var(--white); }
  .rtable td { border: 0; padding: 3px 0; }
  .rtable td[data-label]::before { content: attr(data-label); display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-70); }
}

/* ---------------------------------------------------------- review screen */
#review > * + * { margin-top: 16px; }
.weekbar { display: flex; flex-wrap: wrap; gap: 8px; }
.weekbar .btn + .btn { margin-left: 0; }
.checks__h { margin: 0 0 6px; }
.checks__list { margin: 6px 0 10px; padding-left: 20px; }
.checks__list li { margin: 4px 0; }
.checks__warn summary { cursor: pointer; margin: 8px 0; }
.card--unknown { border-left: 4px solid var(--critical); }
.unk { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--navy-10); }
.unk__pic { flex: 0 0 76px; height: 76px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--navy-20); border-radius: 8px; }
.unk__pic img { image-rendering: auto; width: 64px; height: 64px; object-fit: contain; }
.unk__body { flex: 1; min-width: 0; }
.unk__dishes { margin: 0 0 8px; font-size: 0.9rem; }
.loose { padding: 10px 0; border-top: 1px solid var(--navy-10); }
.loose .row { margin-top: 6px; gap: 12px; align-items: flex-end; }

.tabs--schools { display: flex; gap: 6px; border-bottom: 1px solid var(--navy-10); background: none; padding: 0; }
.tabs__tab { font: inherit; font-weight: 700; padding: 10px 18px; border: 0; background: none; color: var(--navy-70); border-bottom: 3px solid transparent; cursor: pointer; }
.tabs__tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }

.rtable-review { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1100px; font-size: 0.9rem; }
.rtable-review th, .rtable-review td { vertical-align: top; text-align: left; padding: 8px; border-bottom: 1px solid var(--navy-10); }
.rtable-review thead th { background: var(--navy); color: var(--grey); font-weight: 400; position: sticky; top: 0; }
.rhead__dow { color: var(--white); font-weight: 700; }
.rhead__src { display: block; margin-top: 3px; font-size: 0.72rem; color: var(--grey); }
.rhead__corner { width: 110px; }
.rsec th { background: var(--grey-soft); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-70); padding: 5px 8px; }
.rrow { font-weight: 700; color: var(--navy-70); width: 110px; background: var(--paper); }
.rcell { min-width: 190px; }
.rcell--closed { background: var(--grey-soft); }
.rcell__add { font: inherit; font-size: 0.78rem; background: none; border: 1px dashed var(--navy-20); border-radius: 6px; padding: 2px 8px; color: var(--navy-70); cursor: pointer; }
.rcell__add:hover { border-color: var(--gold-deep); color: var(--navy); }
.rdish { padding: 6px 0 8px; border-bottom: 1px dotted var(--navy-10); margin-bottom: 6px; }
.rdish--flag { border-left: 3px solid var(--gold-deep); padding-left: 6px; }
.rdish__top { display: flex; gap: 4px; }
.rdish__name { flex: 1; min-width: 0; padding: 4px 6px !important; font-size: 0.9rem !important; }
.rdish__x { border: 0; background: none; font-size: 1.1rem; line-height: 1; color: var(--navy-50); cursor: pointer; padding: 0 4px; }
.rdish__x:hover { color: var(--critical); }
.rdish__alg { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; align-items: center; }
.rdish__add { width: auto !important; font-size: 0.72rem !important; padding: 1px 4px !important; border-radius: 999px; color: var(--navy-70); }
.rdish__why { margin: 4px 0 0; font-size: 0.75rem; color: var(--navy-70); }
button.alg { font: inherit; font-size: 0.75rem; cursor: pointer; }
button.alg:hover { border-color: var(--critical); }
.alg__x { color: var(--navy-50); margin-left: 2px; }
.alg--unknown { border-color: var(--critical); background: #FBEDED; }
.publish .check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; cursor: pointer; }
.publish .row { align-items: center; gap: 14px; }
.rtable-review { table-layout: fixed; }
.rtable-review th { white-space: normal; overflow-wrap: anywhere; }
.rtable-review .rhead__corner, .rtable-review .rrow { width: 96px; }
.rtable-review .rcell { min-width: 0; }
.filelist summary { cursor: pointer; font-weight: 700; }
.filelist ul { list-style: none; margin: 8px 0 0; padding: 0; }
.filelist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid var(--navy-10); }

/* ---------------------------------------------------------- parents: trust and detail */
.updated { margin: 4px 0 0; font-size: 0.86rem; color: var(--navy-70); }
.note--update { border-left-color: var(--gold-deep); background: var(--gold-soft); margin: 0 0 16px; }
.tag--updated { background: var(--gold); color: var(--navy); font-weight: 700; }
.dish--changed { border-left-color: var(--gold-deep); }
.dish--changed.is-flagged { border-left-color: var(--critical); }
.menu-controls__acts { display: flex; gap: 8px; align-items: center; }
.menu-controls__acts .btn + .btn { margin-left: 0; }
.menu-controls__acts [hidden] { display: none; }
.daytab__tag { min-height: 0.9em; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-70); }
.daytab.is-active .daytab__tag { color: var(--gold); }
.dp__sides { margin-top: 26px; padding-top: 6px; border-top: 1px dashed var(--navy-20); }
.dp__subtle { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-50); margin: 14px 0 0; }
.dp__sides .dish__name { font-size: 1.08rem; }
.dp__avoidnote { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: #FBEDED; color: #8A1111; font-weight: 700; font-size: 0.92rem; }
.dp__avoidnote--clear { background: #EEF5E9; color: #1F5A12; }
.dp__avoidnote[hidden] { display: none; }
.dish { transition: background var(--fast, 0.15s) ease; }

/* Framed on the school website: no school header or footer, no page padding, the allergen key kept. */
body.public--embed { background: transparent; }
body.public--embed .page-shell { max-width: none; padding: 14px 14px 0; }
body.public--embed .allergen-footer { margin-top: 24px; background: transparent; }
body.public--embed .allergen-footer__inner { padding: 18px 14px 14px; }
body.public--embed .page-head--menu h1 { font-size: 1.9rem; }
