.menu-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 1.25rem; font-size: .92rem; font-weight: 650; }
.menu-index-hero.page-hero { padding-block: clamp(2.5rem, 5vw, 4rem); }
.menu-index-section { padding-top: 2.5rem; }
.menu-current-pending.empty-state { padding: 1.25rem 1.5rem; box-shadow: none; border-radius: .65rem; border-left: 4px solid #808c24; }
.menu-current-pending h2 { font: 750 1.15rem/1.4 Inter, ui-sans-serif, system-ui, sans-serif; margin: 0 0 .5rem; }
.menu-current-pending p { margin: 0; font-size: .95rem; }
.menu-date-note { color: #585956; font-size: .88rem; margin-top: .4rem; }
.menu-archive-hero.page-hero { background: #f7f7ed; border-bottom: 1px solid #dedfc9; }
.menu-archive-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: .92rem; }
.menu-archive-facts strong { display: inline-block; margin-right: .4rem; font-size: 1.5rem; color: #596218; }
.menu-archive-section { padding-top: 3.5rem; }
.menu-archive-intro { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.menu-archive-intro > div { min-width: 0; max-width: 100%; }
.menu-archive-intro h2 { margin: .3rem 0 .6rem; }
.menu-archive-intro p { margin-bottom: 0; }
.menu-archive-intro .button { flex-shrink: 0; flex-direction: column; gap: .2rem; }
.menu-file-type { font-size: .76rem; font-weight: 500; }
.menu-source-info { border: 1px solid #d9d9d6; border-radius: .8rem; padding: .2rem 1.25rem; margin-bottom: 1.5rem; background: #fff; }
.menu-source-info summary, .menu-source-notes summary { min-height: 48px; padding: .65rem 0; cursor: pointer; font-weight: 650; color: #596218; }
.menu-source-info p { font-size: .92rem; max-width: 85ch; }
.menu-browser [hidden] { display: none !important; }
.menu-tools { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(10rem, 1fr) minmax(12rem, 1.5fr) auto; gap: 1rem; align-items: end; border-radius: 1rem; background: #f4f3ed; padding: 1.5rem; }
.menu-tools label { display: block; font-size: .88rem; font-weight: 750; margin-bottom: .5rem; }
.menu-tools input, .menu-tools select { width: 100%; min-width: 0; min-height: 50px; padding: .7rem .85rem; border: 1px solid #75787b; border-radius: .5rem; color: #212529; background: #fff; font: inherit; font-size: 1rem; }
.menu-tools .button { min-height: 50px; margin: 0; }
.menu-tools p { grid-column: 1 / -1; font-size: .82rem; color: #585956; margin: 0; }
.menu-results-bar { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; padding: 1rem 0; flex-wrap: wrap; }
.menu-results-bar p { font-size: .9rem; color: #585956; margin: 0; }
.menu-results-bar > div { display: flex; gap: .4rem 1rem; flex-wrap: wrap; }
.menu-text-button { min-height: 44px; border: 0; padding: .5rem .2rem; background: transparent; color: #596218; font: inherit; font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.menu-text-button:disabled { color: #585956; text-decoration: none; cursor: not-allowed; }
.menu-no-results { padding: 2rem; border: 1px dashed #75787b; border-radius: .8rem; }
.menu-week { border: 1px solid #d9d9d6; border-radius: 1rem; background: #fff; margin: 0 0 .85rem; overflow: clip; }
.menu-week > summary { display: flex; align-items: center; gap: 1.15rem; min-height: 100px; padding: 1.15rem 1.5rem; cursor: pointer; list-style: none; }
.menu-week > summary::-webkit-details-marker { display: none; }
.menu-week > summary:hover { background: #f9f9f3; }
.menu-week-number { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: .8rem; background: #f4f1d7; color: #596218; font-size: 1rem; font-weight: 750; }
.menu-week h3 { margin: 0; font-size: 1.15rem; color: #212529; line-height: 1.4; }
.menu-week > summary h3 { min-width: 0; overflow-wrap: anywhere; }
.roomy-navigation .menu-week > summary { flex-wrap: wrap; }
.roomy-navigation .menu-week > summary h3 { flex-basis: 100%; order: 2; }
.menu-week-kicker { display: block; margin-bottom: .2rem; color: #585956; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.menu-week-count { margin-left: auto; color: #585956; font-size: .85rem; white-space: nowrap; }
.menu-week-chevron { width: 10px; height: 10px; border-right: 2px solid #596218; border-bottom: 2px solid #596218; transform: rotate(45deg); margin: 0 .25rem .25rem .5rem; flex-shrink: 0; }
.menu-week[open] > summary { background: #f3d54e; }
.menu-week[open] .menu-week-number { background: #fff8d6; }
.menu-week[open] .menu-week-chevron { transform: rotate(225deg); margin-top: .4rem; }
.menu-week-content { padding: 0 1.5rem; }
.menu-day { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0; }
.menu-day + .menu-day { border-top: 1px solid #e3e3dc; }
.menu-day h4 { margin: 0 0 .4rem; font-size: 1rem; color: #596218; }
.menu-day header p { margin: 0; color: #585956; font-size: .85rem; }
.menu-day--date-match { background: var(--color-sun-soft); outline: 2px solid var(--color-link); outline-offset: -2px; padding-inline: .75rem; border-radius: .5rem; }
.menu-day--date-match header::after { content: 'Wybrany dzień'; display: block; font: 700 .78rem/1.4 Inter, ui-sans-serif, system-ui, sans-serif; color: var(--color-link); margin-top: .5rem; }
.menu-meals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; margin: 0; }
.menu-meals dt { font-size: .85rem; font-weight: 750; margin-bottom: .5rem; color: #212529; }
.menu-meals dd { margin: 0; }
.menu-meal-text { font-size: .95rem; line-height: 1.65; color: #212529; }
.menu-meals .menu-allergens { font-size: .75rem; color: #585956; margin-top: .8rem; line-height: 1.5; }
.menu-allergens span { display: block; }
.menu-day-notice { color: #585956; font-size: .92rem; }
.menu-day-notice > p { margin-top: 0; }
.menu-original-notice summary { min-height: 44px; padding: .5rem 0; cursor: pointer; color: #596218; }
.menu-original-notice p { max-width: 70ch; }
.menu-source-notes { margin-top: 2rem; font-size: .9rem; }
.menu-archive-end { margin-top: 2rem; }
.menu-archive-section :where(summary, button, select, input):focus-visible { outline: 3px solid #212529; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.menu-week > summary:focus-visible { outline-offset: -5px; box-shadow: none; }
.meal-year-archive { margin-top: 3rem; }
.meal-year-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2rem; margin-top: 1.5rem; border: 1px solid #dcdcc8; border-radius: 1.2rem; background: #f7f7ed; }
.meal-year-badge { font-size: 1.5rem; font-weight: 750; line-height: 1.3; color: #596218; background: #fff; padding: 1rem; border-radius: .9rem; text-align: center; }
.meal-year-card h3 { font-size: 1.5rem; margin: .25rem 0 .5rem; }
.meal-year-card p { margin: 0; max-width: 55ch; }
.meal-year-card .eyebrow { font-size: .72rem; }
.menu-date-section { padding-block: 2rem 0; }
.menu-date-search { padding: clamp(1rem, 3vw, 1.75rem); background: var(--color-sage-soft); border: 1px solid var(--color-border); border-left: 4px solid var(--brand-orange); border-radius: var(--radius-md); scroll-margin-top: calc(var(--header-height, 8rem) + 1rem); }
.menu-date-search h2 { margin-block: .25rem 1rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.menu-date-search .eyebrow { font-size: .72rem; }
.menu-date-form { display: flex; align-items: end; gap: .8rem; flex-wrap: wrap; }
.menu-date-form > div { flex: 0 1 16rem; min-width: 0; }
.menu-date-form label { display: block; font-weight: 700; margin-bottom: .4rem; }
.menu-date-form input { display: block; width: 100%; min-width: 0; min-height: 48px; }
.menu-date-form .button { min-height: 48px; }
.menu-date-help { font-size: .9rem; color: var(--color-muted); margin-block: 1rem 0; max-width: 80ch; }
.menu-date-results { border-top: 1px solid var(--color-border); margin-top: 1.25rem; padding-top: 1.25rem; }
.menu-date-results h3 { font-family: inherit; font-size: 1.1rem; margin: 0 0 1rem; }
.menu-date-result-list { display: grid; gap: .8rem; padding: 0; margin: 0; list-style: none; }
.menu-date-result-list li { padding: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-white); }
.menu-date-result-list h4 { font-family: inherit; font-size: 1.05rem; margin-block: .35rem; }
.menu-date-result-list p { font-size: .9rem; margin: 0; }
.menu-date-result-label { font-weight: 700; color: var(--color-muted); }
.menu-date-message { margin-bottom: 0; }
@media(max-width:60rem) {
 .menu-tools { grid-template-columns: 1fr 1.5fr; }
 .menu-tools .button { justify-self: start; }
 .menu-day { grid-template-columns: minmax(0,1fr); gap: 1rem; }
 .menu-day header { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
 .menu-day h4 { margin: 0; }
 .meal-year-card { grid-template-columns: auto 1fr; }
 .meal-year-card .button { grid-column: 1 / -1; justify-self: start; }
}
@media(max-width:40rem) {
 .menu-date-form { align-items: stretch; flex-direction: column; }
 .menu-date-form > div { flex-basis: auto; }
 .menu-archive-facts { gap: .6rem; flex-direction: column; margin-top: 1.5rem; }
 .menu-archive-facts strong { font-size: 1.25rem; }
 .menu-archive-intro { align-items: start; flex-direction: column; gap: 1rem; }
 .menu-archive-section { padding-top: 2rem; }
 .menu-tools { padding: 1rem; grid-template-columns: minmax(0,1fr); }
 .menu-tools .button { width: 100%; }
 .menu-week > summary { padding: 1rem; gap: .75rem; }
 .menu-week h3 { font-size: .96rem; }
 .menu-week-number { width: 38px; height: 42px; font-size: .88rem; }
 .menu-week-count { display: none; }
 .menu-week-chevron { margin-left: auto; }
 .menu-week-content { padding: 0 1rem; }
 .menu-meals { grid-template-columns: minmax(0,1fr); gap: 1.1rem; }
 .menu-meal + .menu-meal { border-top: 1px dashed #d9d9d6; padding-top: 1rem; }
 .menu-allergens span { display: inline; }
 .menu-results-bar { align-items: start; flex-direction: column; }
 .menu-source-info { padding-inline: 1rem; }
 .meal-year-card { padding: 1.25rem; gap: 1rem; }
 .meal-year-badge { font-size: 1.15rem; padding: .75rem; }
 .meal-year-card h3 { font-size: 1.2rem; }
}
html[data-contrast="high"] :is(.menu-archive-hero.page-hero,.menu-tools,.menu-week,.menu-source-info,.meal-year-card) { background: #fff; border-color: #000; }
html[data-contrast="high"] :is(.menu-day h4,.menu-text-button,.menu-week-kicker,.menu-week-count,.menu-meal-text,.menu-allergens,.menu-day header p,.menu-source-info summary,.menu-source-notes summary,.menu-archive-facts strong,.meal-year-badge,.menu-results-bar p) { color: #000; }
html[data-contrast="high"] .menu-week[open] > summary { background: #f3d54e; }
html[data-contrast="high"] :is(.menu-date-search,.menu-date-result-list li,.menu-day--date-match) { background: #fff; border-color: #000; outline-color: #000; }
html[data-contrast="high"] :is(.menu-date-help,.menu-date-result-label), html[data-contrast="high"] .menu-day--date-match header::after { color: #000; }
@media print {
 .menu-date-section { display: none; }
 .menu-tools,.menu-results-bar,.menu-source-info,.menu-back,.menu-archive-intro .button,.menu-archive-end { display: none !important; }
 .menu-week[hidden] { display: none !important; }
 .menu-week { border: 0; overflow: visible; }
 .menu-week > summary { padding: .5rem 0; background: #fff !important; break-after: avoid; }
 .menu-week-content { padding: 0; }
 .menu-day { break-inside: avoid; padding: 1rem 0; }
 .menu-week-number,.menu-week-chevron,.menu-week-count { display: none; }
 .menu-meals { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .menu-meal-text { font-size: 10pt; }
 .menu-archive-hero.page-hero { padding: 1rem 0; }
 .menu-archive-facts { display: none; }
}
