#planner-menu-dialog {
  box-sizing:border-box; padding:0; width:min(800px,calc(100vw - 24px)); max-width:none;
  max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow:hidden;
  color:#173c2e; background:#f8f5ed; border:1px solid #aabcb0; border-radius:14px;
  font:1rem/1.5 system-ui,sans-serif; box-shadow:0 12px 50px #081b1350;
}
#planner-menu-dialog[open]{display:flex;flex-direction:column}
#planner-menu-dialog::backdrop{background:#081b13ae}
.planner-menu-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid #c6cfc5;padding:.65rem 1rem;background:#fff}
#planner-menu-title{margin:0;color:inherit;font-size:clamp(1.15rem,4vw,1.6rem);line-height:1.2}
#planner-menu-close{flex:none;min-height:44px;padding:.45rem .8rem;border:1px solid #26563e;border-radius:7px;background:#26563e;color:#fff;font:inherit;font-weight:700;cursor:pointer}
#planner-menu-close:focus-visible,.planner-menu-body:focus-visible{outline:3px solid #b27a20;outline-offset:-4px}
.planner-menu-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:.75rem 1rem 1rem}
.planner-menu-body p{margin:.35em 0 .75em}
.planner-menu-body h3{margin:1rem 0 .5rem;color:inherit;font-size:1.2rem}
.planner-menu-body h4{color:inherit;margin:0;font-size:1rem}
.planner-menu-body .dish-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.2rem .75rem}
.planner-menu-body .dish-grid,.planner-menu-body .menu-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.planner-menu-body .dish,.planner-menu-body .menu-package{min-width:0;border:1px solid #c6cfc5;background:#fff;border-radius:8px;padding:.75rem}
.planner-menu-body .price,.planner-menu-body .menu-package strong{font-weight:700}
.planner-menu-body .menu-note{border-left:3px solid #bc8d44;background:#f0e8d6;padding:.65rem .8rem}
@media(max-width:520px){.planner-menu-body .dish-grid,.planner-menu-body .menu-packages{grid-template-columns:minmax(0,1fr)}}
/* A single continuous, finger-sized hit area, even when the note wraps. */
#event-form a[data-planner-menu]{
  display:flex; align-items:center; width:fit-content; max-width:100%; min-height:44px;
  margin-top:.35rem; padding:.3rem .6rem; box-sizing:border-box; border:1px solid currentColor;
  border-radius:6px; font-weight:700; text-decoration:none; touch-action:manipulation;
}
#event-form a[data-planner-menu]:focus-visible{outline:3px solid #9a691c;outline-offset:3px}
