.c2r-allergen-list{margin-top:6px;font-size:13px;line-height:1.4;overflow-wrap:anywhere;--allergen-bg:#f3e9eb;--allergen-ink:#70404b;--allergen-border:#d9c4ca;--allergen-amber-bg:#f3eddf;--allergen-amber-ink:#6b5329;--allergen-amber-border:#d8cdb6}
.c2r-allergen-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 5px;margin-top:3px}
.c2r-allergen-row>strong{font-size:13px;font-weight:400;line-height:1.4;color:var(--muted,#667085)}
.c2r-allergen-tags{display:contents}
.c2r-allergen-tag{display:inline-block;padding:2px 7px;border:1px solid var(--allergen-border);border-radius:5px;background:var(--allergen-bg);color:var(--allergen-ink);font-size:13px;font-weight:500;line-height:1.4;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.c2r-allergen-may_contain .c2r-allergen-tag{background:var(--allergen-amber-bg);color:var(--allergen-amber-ink);border-color:var(--allergen-amber-border)}
body[data-menu-theme="dark"] .c2r-allergen-list{--allergen-bg:#39272e;--allergen-ink:#e8bdc8;--allergen-border:#60414b;--allergen-amber-bg:#352e22;--allergen-amber-ink:#dfc99e;--allergen-amber-border:#5b4d35}
@media(prefers-color-scheme:dark){body[data-menu-theme="auto"] .c2r-allergen-list{--allergen-bg:#39272e;--allergen-ink:#e8bdc8;--allergen-border:#60414b;--allergen-amber-bg:#352e22;--allergen-amber-ink:#dfc99e;--allergen-amber-border:#5b4d35}}
.c2r-allergen-control{margin:0;padding:0;color:var(--ink,inherit);font-size:13px;line-height:1.4;text-align:start}
.c2r-allergen-control-row{display:flex;align-items:center;flex-wrap:wrap;gap:0 12px}
.c2r-allergen-control label,.c2r-allergen-control button{display:inline-flex;align-items:center;gap:6px;min-height:44px;box-sizing:border-box;cursor:pointer;line-height:1.4;font-family:inherit;font-size:13px;font-weight:500;color:inherit}
.c2r-allergen-control label{width:fit-content}
.c2r-allergen-control button{background:none;border:0;border-radius:4px;padding:0;text-align:start}
.c2r-allergen-control input{appearance:none;flex:0 0 30px;width:30px;height:18px;margin:0;border:1px solid var(--muted,#667085);border-radius:12px;background:var(--card,#fff);display:inline-flex;align-items:center;padding:2px;cursor:pointer}
.c2r-allergen-control input::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--muted,#667085);flex-shrink:0}
.c2r-allergen-control input:checked{background:var(--accent,#0f766e);border-color:var(--accent,#0f766e)}
.c2r-allergen-control input:checked::before{transform:translateX(12px);background:var(--mp-on-accent,var(--paper,#fff))}
.c2r-allergen-control input:focus-visible,.c2r-allergen-control button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.c2r-allergen-chevron{display:inline-block;font-size:16px;line-height:1}
.c2r-allergen-control button[aria-expanded="true"] .c2r-allergen-chevron{transform:rotate(180deg)}
.c2r-allergen-control p{margin:0 0 6px;max-width:80ch;color:inherit;font-size:16px;line-height:1.5}
.c2r-allergen-control p[hidden]{display:none}
@media(forced-colors:active){.c2r-allergen-control input{appearance:auto}.c2r-allergen-control input::before{display:none}}
.c2r-hide-allergens .c2r-allergens{display:none}

/* Stretch each grid row; let the facts sit above the existing card padding. */
.items-grid,.mp-menu .items-grid{align-items:stretch}
.items-grid>.item,.mp-menu .items-grid>.item{display:flex;flex-direction:column}
.items-grid>.item>.c2r-allergen-list{margin-top:auto;padding-top:16px}
.items-grid>.item>.c2r-allergen-list>.c2r-allergen-row:first-child{margin-top:0}

.c2r-allergen-row{justify-content:flex-end;text-align:right}

.c2r-allergen-traces{margin:3px 0 0;text-align:right;min-width:0}
.c2r-allergen-traces>summary{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0 4px;min-height:44px;list-style:none;cursor:pointer;color:var(--allergen-amber-ink);line-height:1.4;font-family:inherit;font-size:13px;font-weight:400;border-radius:4px}
.c2r-allergen-traces>summary::-webkit-details-marker{display:none}
.c2r-allergen-traces>summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.c2r-allergen-traces:not([open]) .c2r-trace-hide,.c2r-allergen-traces[open] .c2r-trace-view{display:none}
.c2r-allergen-traces[open] .c2r-trace-arrow{transform:rotate(180deg)}
.c2r-allergen-traces>.c2r-trace-text{margin:0;padding:6px 8px;border-radius:5px;background:var(--allergen-amber-bg);color:var(--allergen-amber-ink);font-size:14px;font-weight:400;line-height:1.5;overflow-wrap:anywhere;white-space:normal}
