/* Mama Henz member screens. Colours fall back to the brand palette if the theme variables are missing. */
.mh {
	--mh-cream: var(--awb-color4, #f7f4e9);
	--mh-beige: var(--awb-color3, #ede4d0);
	--mh-ink: var(--awb-color8, #5d4631);
	--mh-text: #3b2e22;
	--mh-muted: #6b5a48;
	--mh-accent: var(--awb-custom10, #a64942);
	--mh-accent-dark: #8a3a34;
	--mh-green: var(--awb-custom_color_3, #4a7c59);
	--mh-line: rgba(93, 70, 49, .14);
	--mh-radius: 12px;
	color: var(--mh-text);
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}
.mh *, .mh *::before, .mh *::after { box-sizing: border-box; }

.mh-eyebrow { margin: 0 0 .35rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mh-accent); }
.mh .mh-h { margin: 0 0 1.25rem; color: var(--mh-ink); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; }
.mh .mh-h--xl { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); margin-bottom: 1.75rem; }
.mh .mh-h--sub { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.mh-muted { color: var(--mh-muted); }
.mh-help { color: var(--mh-muted); font-size: .92rem; margin: .25rem 0 1.25rem; }
.mh-back { margin: 0 0 1rem; }
.mh a { color: var(--mh-accent); }

/* Buttons and links */
.mh .mh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
	padding: .75rem 1.3rem; border-radius: 8px; border: 2px solid var(--mh-accent);
	background: var(--mh-accent); color: #fff; font: inherit; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.mh .mh-btn:hover, .mh .mh-btn:focus-visible { background: var(--mh-accent-dark); border-color: var(--mh-accent-dark); color: #fff; }
.mh .mh-btn--ghost { background: transparent; color: var(--mh-accent); }
.mh .mh-btn--ghost:hover, .mh .mh-btn--ghost:focus-visible { background: var(--mh-accent); color: #fff; }
.mh .mh-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--mh-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.mh .mh-link:hover { color: var(--mh-accent-dark); }
.mh .mh-link--danger { color: #9b2c2c; }
.mh :focus-visible { outline: 3px solid var(--mh-green); outline-offset: 2px; }
.mh-inline { display: inline; margin: 0; }

/* Notices */
.mh-notice { padding: .9rem 1.1rem; margin: 0 0 1.5rem; border-radius: var(--mh-radius); background: var(--mh-cream); border: 1px solid var(--mh-line); border-left: 5px solid var(--mh-ink); }
.mh-notice--ok { border-left-color: var(--mh-green); background: #eef5f0; }
.mh-notice--err { border-left-color: #9b2c2c; background: #fbeeee; }
.mh-notice--attn { border-left-color: var(--awb-custom_color_2, #f4c762); background: #fdf6e1; }

/* Toolbar */
.mh-toolbar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 0 0 1.75rem; }
.mh .mh-search, .mh .mh-filter { flex: 1 1 220px; max-width: 320px; }

/* Forms */
.mh-form { max-width: 720px; }
.mh-field { display: block; margin: 0 0 1.1rem; }
.mh-field > span, .mh-date legend { display: block; margin: 0 0 .35rem; font-weight: 600; color: var(--mh-ink); font-size: .95rem; padding: 0; }
.mh input[type="text"], .mh input[type="email"], .mh input[type="tel"], .mh input[type="number"], .mh input[type="search"], .mh select, .mh textarea {
	width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid rgba(93, 70, 49, .35); border-radius: 8px;
	background: #fff; color: var(--mh-text); font: inherit; line-height: 1.4;
}
.mh textarea { min-height: 96px; resize: vertical; }
.mh input:focus, .mh select:focus, .mh textarea:focus { border-color: var(--mh-green); outline: 3px solid rgba(74, 124, 89, .3); outline-offset: 0; }
.mh-grid { display: grid; gap: 0 1rem; }
.mh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mh-grid--3 { grid-template-columns: 2fr 1fr 1fr; }
.mh-date { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.mh-date__row { display: grid; grid-template-columns: 1.4fr .9fr 1.2fr; gap: .5rem; }
.mh-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mh-danger { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--mh-line); max-width: 720px; }

/* Contact cards */
.mh-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.25rem; }
.mh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); box-shadow: 0 6px 24px rgba(93, 70, 49, .06); padding: 1.25rem; }
.mh-card__head { display: flex; gap: .85rem; align-items: center; margin-bottom: .9rem; }
.mh-avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mh-beige); color: var(--mh-ink); font-weight: 700; font-size: 1.15rem; }
.mh .mh-card__name { margin: 0; font-size: 1.2rem; line-height: 1.25; color: var(--mh-ink); }
.mh-chip { display: inline-block; margin-top: .25rem; padding: .12rem .6rem; border-radius: 999px; background: var(--mh-cream); border: 1px solid var(--mh-line); color: var(--mh-muted); font-size: .78rem; font-weight: 600; }
.mh-card__body { margin: 0; flex: 1; display: grid; gap: .55rem; align-content: start; }
.mh-card__body div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: .5rem; }
.mh-card__body dt { margin: 0; font-size: .82rem; font-weight: 600; color: var(--mh-muted); padding-top: .12rem; }
.mh-card__body dd { margin: 0; overflow-wrap: anywhere; }
.mh-card__foot { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--mh-line); }

/* Reminder rows */
.mh-rems { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.mh-rem { display: flex; gap: 1.1rem; align-items: center; background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); padding: 1rem 1.2rem; box-shadow: 0 6px 24px rgba(93, 70, 49, .05); }
.mh-rem__date { flex: 0 0 64px; text-align: center; background: var(--mh-cream); border: 1px solid var(--mh-line); border-radius: 10px; padding: .4rem 0 .5rem; line-height: 1.1; }
.mh-rem__date span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mh-accent); }
.mh-rem__date strong { display: block; font-size: 1.6rem; color: var(--mh-ink); }
.mh-rem__main { flex: 1; min-width: 0; }
.mh .mh-rem__main h3 { margin: 0 0 .15rem; font-size: 1.15rem; line-height: 1.3; color: var(--mh-ink); }
.mh-rem__main p { margin: 0; }
.mh-rem__act { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.mh-rem__act .mh-chip { margin: 0; }
.mh-rem--past { opacity: .7; }

/* Dashboard tiles */
.mh-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.mh-tile { background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); box-shadow: 0 6px 24px rgba(93, 70, 49, .06); padding: 1.5rem; display: flex; flex-direction: column; }
.mh .mh-tile h3 { margin: 0; font-size: 1.1rem; color: var(--mh-accent); }
.mh-tile__num { margin: .35rem 0 0; font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--mh-ink); }
.mh-tile p { margin: .35rem 0 0; }
.mh-tile__links { display: flex; flex-wrap: wrap; gap: .9rem 1.1rem; align-items: center; margin-top: auto; padding-top: 1.25rem; }

/* Empty states */
.mh-empty { text-align: center; padding: 2.5rem 1.5rem; background: var(--mh-cream, #f7f4e9); border: 1px dashed rgba(93, 70, 49, .3); border-radius: 12px; }
.mh .mh-empty h3 { margin: 0 0 .5rem; color: var(--mh-ink); }
.mh-empty p { margin: 0 auto; max-width: 46ch; }
.mh-empty p + p { margin-top: 1rem; }
.mh-none { margin-top: 1.25rem; }

@media (max-width: 800px) {
	.mh-tiles { grid-template-columns: 1fr; }
	.mh-grid--2, .mh-grid--3 { grid-template-columns: 1fr; }
	.mh-rem { flex-wrap: wrap; }
	.mh-rem__act { flex: 1 1 100%; justify-content: flex-start; }
	.mh .mh-search, .mh .mh-filter { max-width: none; flex-basis: 100%; }
	.mh-toolbar .mh-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .mh .mh-btn { transition: none; } }

/* Empty-state illustrations */
.mh-empty__art { display: block; width: min(280px, 80%); height: auto; margin: 0 auto 1rem; }
.mh-empty .mh-btn { margin-top: .25rem; }

/* Contact form */
.mh-contactform { margin: 0; max-width: 640px; }
.mh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Dashboard tiles: button on its own row, text links together on the next */
.mh-break { flex: 0 0 100%; height: 0; }
.mh-tile__links { gap: .85rem 1.25rem; }

/* ---- Contact cards, round 2 (2026-11-19): label above value, so long emails stay on one line ---- */
.mh-cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.mh-card__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; align-content: start; }
.mh-card__body div.mh-f { display: block; grid-column: 1 / -1; min-width: 0; }
.mh-card__body div.mh-f--half { grid-column: auto; }
.mh-card__body div.mh-f dt { margin: 0 0 .1rem; padding: 0; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mh-muted); }
.mh-card__body div.mh-f dd { margin: 0; font-size: 1.0625rem; line-height: 1.45; overflow-wrap: break-word; word-break: normal; }
.mh-card__body div.mh-f dd a { text-decoration: none; }
.mh-card__body div.mh-f dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* an email address should shrink a touch before it ever wraps */
.mh-card__body div.mh-f dd a[href^="mailto:"] { display: inline-block; max-width: 100%; font-size: clamp(1rem, 5.2cqw, 1.0625rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.mh-card { container-type: inline-size; }

/* small, light buttons for row actions (Edit, Invite) */
.mh .mh-softbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 14px; border: 1px solid rgba(166, 73, 66, .22); border-radius: 999px; background: #fbf1ef; color: var(--mh-accent); font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mh .mh-softbtn:hover, .mh .mh-softbtn:focus-visible { background: var(--mh-accent); border-color: var(--mh-accent); color: #fff; }
.mh-card__foot { gap: .6rem; }
.mh-card__body div.mh-f--half dd { white-space: nowrap; }

/* ---- Contact cards, round 3 (2026-11-19): more air between facts, quieter values, small utility buttons ---- */
.mh-card__body { gap: 1.2rem 1rem; }
.mh-card__body div.mh-f dt { margin-bottom: .2rem; }
.mh-card__body div.mh-f dd { font-size: 1rem; line-height: 1.45; }
.mh-card__body div.mh-f dd a[href^="mailto:"] { font-size: 1rem; }
.mh-card__head { margin-bottom: 1.1rem; }
.mh-card__foot { margin-top: 1.2rem; padding-top: .8rem; gap: .5rem; }
.mh .mh-softbtn { min-height: 30px; padding: 4px 12px; font-size: .84rem; font-weight: 700; }

/* ---- Labels: heavier and darker for contrast with the values (2026-11-19) ---- */
.mh-card__body div.mh-f dt { font-weight: 800; color: var(--mh-ink); }

/* ---- Contact cards: very faint alternating bands, one per line (2026-11-19) ---- */
.mh-card__body--rows { display: flex; flex-direction: column; gap: 0; flex: 1; margin: 0 -1.25rem; }
.mh-card__body--rows .mh-row { display: block; margin: 0; padding: .6rem 1.25rem .65rem; }
.mh-card__body--rows .mh-row--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; }
.mh-card__body--rows .mh-row:nth-child(odd) { background: rgba(93, 70, 49, .035); }
.mh-card__body--rows .mh-row .mh-f { display: block; min-width: 0; }
.mh-card__foot { border-top: 0; margin-top: .6rem; padding-top: .6rem; }
.mh-family-note { display: block; margin: .35rem 0 0; font-style: italic; color: var(--mh-text); }

/* ---- Reminders page, tidy-up (2026-11-19): filter pills, month groups, clearer rows ---- */
.mh-typefilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.75rem; }
.mh .mh-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border: 1px solid rgba(93, 70, 49, .22); border-radius: 999px; background: #fff; color: var(--mh-ink); font: inherit; font-size: .98rem; font-weight: 700; line-height: 1.3; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mh .mh-pill span { font-size: .78rem; color: var(--mh-muted); background: var(--mh-cream); border-radius: 999px; padding: 1px 8px; }
.mh .mh-pill:hover { border-color: var(--mh-accent); color: var(--mh-accent); }
.mh .mh-pill.is-on { background: var(--mh-accent); border-color: var(--mh-accent); color: #fff; }
.mh .mh-pill.is-on span { background: rgba(255, 255, 255, .22); color: #fff; }
.mh-remgroup { margin: 0 0 2rem; }
.mh .mh-remgroup__title { margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--mh-line); font-size: 1.2rem; line-height: 1.3; color: var(--mh-ink); }
.mh-remgroup .mh-rems { gap: .65rem; }
.mh-rem { padding: .9rem 1.1rem; }
.mh-rem--soon { border-color: rgba(166, 73, 66, .4); box-shadow: 0 6px 24px rgba(166, 73, 66, .08); }
.mh-rem--soon .mh-rem__date { background: #fbf1ef; border-color: rgba(166, 73, 66, .25); }
.mh-rem__main p { font-size: 1rem; }
.mh-rem__main p.mh-rem__meta { margin-top: .2rem; font-size: .9rem; color: var(--mh-muted); }
.mh-rem__meta a { color: var(--mh-accent); text-decoration: none; font-weight: 700; }
.mh-rem__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mh-rem__main p.mh-muted { margin-top: .3rem; font-size: .95rem; font-style: italic; }
.mh-chip--birthday { background: #fdf3d3; border-color: rgba(226, 178, 60, .5); color: #6b4e00; }
.mh-chip--anniversary { background: #fbf1ef; border-color: rgba(166, 73, 66, .25); color: #8a3a34; }
.mh-chip--other { background: #e9f0f2; border-color: rgba(95, 130, 142, .35); color: #35525c; }
.mh-rem__act { flex-wrap: nowrap; }
@media (max-width: 800px) { .mh-rem__act { justify-content: space-between; } }

/* filter: the hidden attribute must win over the row/group display rules */
.mh-rem[hidden], .mh-remgroup[hidden], .mh-card[hidden] { display: none !important; }
.mh-toolbar--404 { margin: 0; }

/* ===== Contact Book tidy-up ===== */
.mh-contacts .mh-toolbar { margin-bottom: 1rem; }
.mh-contacts .mh-toolbar .mh-search { max-width: 380px; }
.mh-groupfilter { margin-bottom: 1.5rem; }
/* one soft tint per group, so a family or a church group is easy to spot */
.mh-avatar--1 { background: #fbe9e3; }
.mh-avatar--2 { background: #dfeae2; }
.mh-avatar--3 { background: #fbedc4; }
.mh-avatar--4 { background: #dde8ec; }
.mh-avatar--5 { background: #ede4d0; }
.mh-card { transition: box-shadow .2s, border-color .2s; }
.mh-card:hover { border-color: rgba(93, 70, 49, .28); box-shadow: 0 10px 28px rgba(93, 70, 49, .1); }
.mh p.mh-none { margin-top: 0; }

/* ===== Add / edit forms (contacts and reminders): bigger labels, grouped sections ===== */
.mh-field > span, .mh-date legend { font-size: 1rem; font-weight: 700; }
.mh-help { font-size: 1rem; }
.mh-formsec { max-width: 720px; margin: 0 0 .5rem; padding: 1.5rem 0 .4rem; border-top: 1px solid var(--mh-line); }
.mh-form .mh-formsec:first-of-type { border-top: 0; padding-top: 0; }
.mh .mh-formsec__title { margin: 0 0 1rem; font-size: 1.25rem; line-height: 1.3; color: var(--mh-ink); }
.mh .mh-formsec__title + .mh-help { margin: -.5rem 0 1.1rem; }

/* ===== My Kitchen tidy-up ===== */
.mh-tile { position: relative; padding: 1.5rem 1.5rem 1.35rem; }
.mh-tile__art { position: absolute; top: 14px; right: 14px; width: 108px; height: auto; pointer-events: none; }
.mh .mh-tile h3 { max-width: calc(100% - 112px); font-size: 1.25rem; color: var(--mh-ink); }
.mh-tile__num { margin-top: .6rem; font-size: 2.75rem; color: var(--mh-accent); }
.mh-tile p.mh-tile__label { margin-top: .3rem; }
.mh-tile p.mh-tile__nudge { margin-top: 1.9rem; max-width: 22ch; font-size: 1.1rem; line-height: 1.4; color: var(--mh-ink); }
.mh-tile__links { margin-top: auto; padding-top: 1.25rem; }
.mh-sechead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin: 2.75rem 0 1rem; }
.mh .mh-sechead .mh-h--sub { margin: 0; }
.mh-newrecipes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.mh a.mh-newrecipe { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); overflow: hidden; text-decoration: none; color: var(--mh-text); box-shadow: 0 6px 24px rgba(93, 70, 49, .06); transition: box-shadow .2s, border-color .2s; }
.mh a.mh-newrecipe:hover, .mh a.mh-newrecipe:focus-visible { border-color: rgba(93, 70, 49, .28); box-shadow: 0 10px 28px rgba(93, 70, 49, .1); }
.mh-newrecipe__img { display: block; aspect-ratio: 4 / 3; background: var(--mh-cream); }
.mh-newrecipe__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mh-newrecipe__title { padding: .85rem 1rem 0; font-family: var(--awb-typography1-font-family, Georgia, serif); font-size: 1.15rem; font-weight: 600; line-height: 1.3; color: var(--mh-ink); }
.mh-newrecipe__by { padding: .2rem 1rem 1rem; font-size: .95rem; color: var(--mh-muted); }
@media (max-width: 900px) { .mh-newrecipes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .mh-tile__art { width: 88px; } .mh .mh-tile h3 { max-width: calc(100% - 92px); } }
.mh-newrecipe__img { position: relative; overflow: hidden; }
.mh-newrecipe__img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }

/* Long names and email addresses wrap instead of pushing a row past the edge of a phone (2026-11-23). */
.mh-rem { min-width: 0; max-width: 100%; box-sizing: border-box; }
.mh .mh-rem__main h3, .mh-rem__main p { overflow-wrap: anywhere; }

/* --- Share a recipe (recipe pages) and the calendar link (Reminders) — 2026-11-23 --- */
.mh-share-wrap { margin: 1.5rem 0 0; }
.mh-share > summary, .mh-cal > summary { list-style: none; cursor: pointer; }
.mh-share > summary::-webkit-details-marker, .mh-cal > summary::-webkit-details-marker { display: none; }
.mh .mh-share__toggle { display: inline-flex; align-items: center; gap: .5rem; }
.mh .mh-share__toggle::before { content: "\2709"; font-size: 1.1em; line-height: 1; }
.mh .mh-share[open] > summary.mh-share__toggle, .mh .mh-share[open] > summary.mh-share__toggle:hover { background: var(--mh-accent) !important; border-color: var(--mh-accent) !important; color: #fff !important; opacity: 1 !important; }
.mh-share__panel, .mh-cal__panel { margin-top: 1rem; padding: 1.25rem 1.4rem; background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); box-shadow: 0 6px 24px rgba(93, 70, 49, .05); }
.mh-share__panel .mh-form { max-width: none; }
.mh-share__lead { margin: 0 0 1rem; }
.mh-share__list { border: 0; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .5rem; min-width: 0; }
.mh-share__list legend { padding: 0; margin: 0 0 .5rem; font-weight: 700; color: var(--mh-ink); }
.mh-share__person { display: flex; align-items: flex-start; gap: .7rem; padding: .7rem .85rem; border: 1px solid var(--mh-line); border-radius: 10px; cursor: pointer; min-width: 0; background: #fff; }
.mh-share__person:hover { background: var(--mh-cream); }
.mh-share__person:has(input:checked) { border-color: var(--mh-accent); background: #fbf1ef; }
.mh-share__person input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; flex: none; accent-color: var(--mh-accent); }
.mh-share__person span { min-width: 0; display: block; }
.mh-share__person strong { display: block; color: var(--mh-ink); line-height: 1.3; }
.mh-share__person small { display: block; font-size: .95rem; color: var(--mh-muted); overflow-wrap: anywhere; }
.mh-share__panel textarea { width: 100%; }
.mh-cal { margin: 2rem 0 0; }
.mh .mh-cal__toggle { display: inline-block; font-weight: 700; color: var(--mh-accent); text-decoration: underline; text-underline-offset: 3px; }
.mh .mh-cal__toggle::before { content: "\1F4C5\FE0E"; display: inline-block; margin-right: .45rem; text-decoration: none; }
.mh-cal__panel p { margin: 0 0 1rem; }
.mh-cal__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.25rem; }
.mh-cal__link input { width: 100%; font-size: .95rem; }
.mh-cal__panel .mh-help { margin-bottom: 0; }
.mh-cal__panel .mh-inline { display: inline; }

/* --- Grocery list (recipe pages and /my-grocery-list/) — 2026-11-23 --- */
.mh-grocery-add { margin: 1.25rem 0 0; }
.mh-grocery-add .mh-notice { margin-bottom: .75rem; }
.mh-grocery-add__go { margin: 0 0 1rem; }
.mh-gadd > summary { list-style: none; cursor: pointer; }
.mh-gadd > summary::-webkit-details-marker { display: none; }
.mh .mh-gadd__toggle { display: inline-flex; align-items: center; gap: .5rem; }
.mh .mh-gadd__toggle::before { content: "+"; font-weight: 800; font-size: 1.15em; line-height: 1; }
.mh .mh-gadd[open] > summary.mh-gadd__toggle, .mh .mh-gadd[open] > summary.mh-gadd__toggle:hover { background: var(--mh-accent) !important; border-color: var(--mh-accent) !important; color: #fff !important; }
.mh-gadd__panel { margin-top: .9rem; }
.mh-gadd__lead { margin: 0 0 .6rem; color: var(--mh-muted); }
.mh .mh-gadd__list, .mh .mh-grocery__group ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.mh .mh-gadd__list li, .mh .mh-grocery__group li { margin: 0; padding: 0; }
.mh-gadd__list label, .mh-grocery__item { display: flex; align-items: flex-start; gap: .7rem; padding: .5rem .2rem; cursor: pointer; border-bottom: 1px solid var(--mh-line); }
.mh-gadd__list input, .mh-grocery__item input { width: 1.3rem; height: 1.3rem; margin: .12rem 0 0; flex: none; accent-color: var(--mh-accent); }
.mh-gadd__list span, .mh-grocery__item span { min-width: 0; overflow-wrap: anywhere; }
.mh-grocery { max-width: 760px; }
.mh-grocery__count { margin: 0 0 1.25rem; font-size: 1.05rem; color: var(--mh-ink); }
.mh-grocery__group { margin: 0 0 1.5rem; padding: 1rem 1.25rem .4rem; background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); box-shadow: 0 6px 24px rgba(93, 70, 49, .05); }
.mh .mh-grocery__group h3 { margin: 0 0 .4rem; font-size: 1.2rem; line-height: 1.3; color: var(--mh-ink); }
.mh .mh-grocery__group h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--mh-line); text-underline-offset: 4px; }
.mh-grocery__group li:last-child .mh-grocery__item { border-bottom: 0; }
.mh-grocery__item { padding: .7rem .2rem; font-size: 1.05rem; }
.mh-grocery__item.is-done span { text-decoration: line-through; color: var(--mh-muted); }
.mh-grocery__add { display: flex; gap: .6rem; margin: 0 0 1.5rem; }
.mh-grocery__add input[type=text] { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1px solid rgba(93, 70, 49, .35); border-radius: 8px; background: #fff; color: var(--mh-text); font: inherit; }
.mh-grocery__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.mh-grocery__tools .mh-inline { display: inline-flex; }
@media print {
	body.mh-grocery-page .fusion-tb-header, body.mh-grocery-page .fusion-tb-footer, body.mh-grocery-page #wpadminbar,
	body.mh-grocery-page .mh-grocery__add, body.mh-grocery-page .mh-grocery__tools, body.mh-grocery-page .mh-notice, body.mh-grocery-page .to-top-container { display: none !important; }
	body.mh-grocery-page .mh-grocery__group { box-shadow: none; break-inside: avoid; }
	body.mh-grocery-page .mh-grocery__item.is-done { display: none; }
}
.mh-grocery .mh-empty { margin-bottom: 1.5rem; }

/* --- 2026-11-23 (Paul): space under the Share button; contact card headings as a dark band with light text --- */
.mh-share-wrap { margin: 1.5rem 0 1.75rem; }
.mh-card > .mh-card__head { margin: -1.25rem -1.25rem 1.1rem; padding: 1rem 1.25rem; background: var(--mh-ink); border-radius: calc(var(--mh-radius) - 1px) calc(var(--mh-radius) - 1px) 0 0; }
.mh .mh-card > .mh-card__head .mh-card__name { color: #fff; }
.mh-card > .mh-card__head .mh-chip { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .34); color: #fff; }
.mh-card > .mh-card__head .mh-avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }

/* My Kitchen now has four tiles (Grocery List added 2026-11-23): two across on wider screens, one on phones. */
@media (min-width: 801px) { .mh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Meal plan (recipe pages and /my-meal-plan/) — 2026-11-23 --- */
.mh-recipe-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem; margin: 1.5rem 0 1.75rem; }
.mh-recipe-actions > .mh-share-wrap, .mh-recipe-actions > .mh-meal-add { margin: 0; flex: 0 1 auto; min-width: 0; }
.mh-recipe-actions > div:has(details[open]), .mh-recipe-actions > div:has(.mh-notice) { flex: 1 1 100%; }
.mh-recipe-actions > div:has(details[open]) { order: 2; }
.mh-madd > summary { list-style: none; cursor: pointer; }
.mh-madd > summary::-webkit-details-marker { display: none; }
.mh .mh-madd__toggle { display: inline-flex; align-items: center; gap: .5rem; }
.mh .mh-madd__toggle::before { content: "\1F4C5\FE0E"; font-size: 1em; line-height: 1; }
.mh .mh-madd[open] > summary.mh-madd__toggle, .mh .mh-madd[open] > summary.mh-madd__toggle:hover { background: var(--mh-accent) !important; border-color: var(--mh-accent) !important; color: #fff !important; }
.mh-madd__panel { margin-top: 1rem; padding: 1.25rem 1.4rem; max-width: 460px; background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); box-shadow: 0 6px 24px rgba(93, 70, 49, .05); }
.mh-madd__panel select { width: 100%; }
.mh-meal-add .mh-notice { margin-bottom: .75rem; }
.mh-meal-add__go { margin: 0 0 1rem; }
.mh-meals__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.5rem; }
.mh-meals__range { text-align: center; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.mh-meals__range strong { font-family: var(--awb-typography1-font-family, Georgia, serif); font-size: 1.35rem; color: var(--mh-ink); line-height: 1.2; }
.mh-meals__range span { color: var(--mh-muted); }
.mh-meals__days { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.mh-day { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); box-shadow: 0 6px 24px rgba(93, 70, 49, .05); overflow: hidden; }
.mh .mh-day h3 { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin: 0; padding: .7rem 1rem; background: var(--mh-ink); color: #fff; font-size: 1.1rem; line-height: 1.3; }
.mh-day__date { font-family: var(--awb-typography2-font-family, sans-serif); font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.mh .mh-day.is-today h3 { background: var(--mh-accent); }
.mh-day.is-today { border-color: var(--mh-accent); }
.mh-day.is-past { opacity: .78; }
.mh .mh-day__list { list-style: none; margin: 0; padding: .35rem 1rem 0; flex: 1; }
.mh .mh-day__list li { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--mh-line); }
.mh-day__item { min-width: 0; overflow-wrap: anywhere; font-weight: 600; color: var(--mh-text); }
.mh .mh-day__item a { color: var(--mh-accent); text-decoration: underline; text-underline-offset: 3px; }
.mh .mh-day__x { flex: none; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: transparent; color: var(--mh-muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.mh .mh-day__x:hover, .mh .mh-day__x:focus-visible { background: #fbf1ef; color: var(--mh-accent-dark); }
.mh-day__empty { flex: 1; margin: 0; padding: 1rem 1rem .25rem; color: var(--mh-muted); font-style: italic; }
.mh-day__add { display: flex; gap: .4rem; padding: .85rem 1rem 1rem; margin-top: auto; }
.mh-day__add input[type=text] { flex: 1; min-width: 0; padding: .55rem .7rem; border: 1px solid rgba(93, 70, 49, .35); border-radius: 8px; background: #fff; color: var(--mh-text); font: inherit; font-size: 1rem; }
.mh .mh-day__add .mh-btn { padding: .55rem .9rem; }
.mh-meals__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0 0 1rem; }
.mh-meals__tools .mh-inline { display: inline-flex; }
.mh .mh-btn[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 520px) { .mh-meals__nav .mh-btn span { display: none; } }
@media print {
	body.mh-meals-page .fusion-tb-header, body.mh-meals-page .fusion-tb-footer, body.mh-meals-page #wpadminbar, body.mh-meals-page .to-top-container,
	body.mh-meals-page .mh-day__add, body.mh-meals-page .mh-day__x, body.mh-meals-page .mh-meals__tools, body.mh-meals-page .mh-meals__nav .mh-btn, body.mh-meals-page .mh-notice, body.mh-meals-page .mh-help { display: none !important; }
	body.mh-meals-page .mh-day { box-shadow: none; break-inside: avoid; opacity: 1; }
	body.mh-meals-page .mh .mh-day h3 { background: none; color: #000; border-bottom: 2px solid #000; }
	body.mh-meals-page .mh-day__date { color: #000; }
}
.mh-recipe-actions:empty { display: none; }
.mh-recipe-actions > .mh { width: auto; }
.mh-recipe-actions > .mh:has(details[open]), .mh-recipe-actions > .mh:has(.mh-notice) { width: 100%; }
/* Text boxes at a readable size (and 16px stops iPhones zooming in when one is tapped). */
.mh .mh-day__add input[type=text], .mh .mh-grocery__add input[type=text] { font-size: 16px !important; }
