/* Menu Go Prenotazioni · stile "Comanda di notte" */
.mgp-book, .mgp-app, .mgp-login {
	--mgp-ink: #0a0e22;
	--mgp-ink2: #11173a;
	--mgp-ink3: #1d2a5c;
	--mgp-floor: #0e1431;
	--mgp-line: rgba(244, 239, 230, .13);
	--mgp-line2: rgba(244, 239, 230, .22);
	--mgp-bone: #f4efe6;
	--mgp-mute: rgba(244, 239, 230, .64);
	--mgp-brace: #ff4b2b;
	--mgp-brace2: #e23b22;
	--mgp-amber: #ffb547;
	--mgp-green: #3fd18f;
	--mgp-r: 18px;
	--mgp-ff: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mgp-fh: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
	font-family: var(--mgp-ff);
	color: var(--mgp-bone);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}
.mgp-book *, .mgp-app *, .mgp-login * { box-sizing: border-box; }
.mgp-book button, .mgp-app button { all: unset; box-sizing: border-box; cursor: pointer; font-family: var(--mgp-ff); -webkit-tap-highlight-color: transparent; }
.mgp-book button:focus-visible, .mgp-app button:focus-visible, .mgp-app .mgp-t:focus-visible { outline: 2px solid var(--mgp-amber); outline-offset: 2px; }
.mgp-book button[disabled], .mgp-app button[disabled] { cursor: not-allowed; opacity: .5; }
.mgp-ic { width: 18px; height: 18px; flex: none; }
.mgp-book input[type=text], .mgp-book input[type=tel], .mgp-book input[type=email], .mgp-book textarea,
.mgp-app input[type=text], .mgp-app input[type=tel], .mgp-app input[type=email], .mgp-app input[type=number], .mgp-app input[type=date], .mgp-app input[type=time], .mgp-app textarea, .mgp-app select {
	width: 100%; min-height: 46px; margin: 0; padding: 10px 14px;
	background: rgba(244, 239, 230, .06); color: var(--mgp-bone);
	border: 1px solid var(--mgp-line2); border-radius: 12px; box-shadow: none;
	font: 600 16px/1.3 var(--mgp-ff); color-scheme: dark;
}
.mgp-app select option { background: var(--mgp-ink2); color: var(--mgp-bone); }
.mgp-book input:focus, .mgp-book textarea:focus, .mgp-app input:focus, .mgp-app textarea:focus, .mgp-app select:focus { outline: none; border-color: var(--mgp-amber); box-shadow: 0 0 0 3px rgba(255, 181, 71, .2); }
.mgp-book ::placeholder, .mgp-app ::placeholder { color: rgba(244, 239, 230, .38); }

/* Pulsanti */
.mgp-book .mgp-btn, .mgp-app .mgp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px; border-radius: 999px;
	font: 800 15px/1 var(--mgp-ff); letter-spacing: .01em; text-decoration: none; text-align: center;
	transition: transform .15s, background .15s, box-shadow .15s;
}
.mgp-book .mgp-btn--go, .mgp-app .mgp-btn--go { background: linear-gradient(135deg, var(--mgp-brace), var(--mgp-brace2)); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 75, 43, .7); }
.mgp-book .mgp-btn--go:hover:not([disabled]), .mgp-app .mgp-btn--go:hover:not([disabled]) { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255, 75, 43, .85); }
.mgp-book .mgp-btn--ghost, .mgp-app .mgp-btn--ghost { background: transparent; color: var(--mgp-bone); border: 1px solid var(--mgp-line2); }
.mgp-book .mgp-btn--ghost:hover, .mgp-app .mgp-btn--ghost:hover { border-color: var(--mgp-amber); color: var(--mgp-amber); }
.mgp-book .mgp-btn--text { color: var(--mgp-mute); min-height: 40px; padding: 0 8px; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.mgp-book .mgp-btn--text.is-warn { color: var(--mgp-brace); }
.mgp-app .mgp-btn--wide { width: 100%; margin-top: 6px; }
.mgp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

/* ================================================================== *
 * CLIENTE
 * ================================================================== */
.mgp-book { max-width: 660px; margin: 0 auto; }
.mgp-card {
	position: relative; overflow: hidden;
	background: radial-gradient(120% 70% at 100% 0%, rgba(255, 75, 43, .16), transparent 55%), radial-gradient(90% 60% at 0% 100%, rgba(29, 42, 92, .9), transparent 70%), var(--mgp-ink);
	border: 1px solid var(--mgp-line); border-radius: 28px;
	padding: clamp(20px, 4vw, 34px);
	box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.mgp-head { margin-bottom: 18px; }
.mgp-kick { display: inline-block; font: 700 12px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mgp-amber); margin-bottom: 8px; }
.mgp-book .mgp-title { margin: 0; font: 800 clamp(28px, 5vw, 40px)/1.02 var(--mgp-fh); letter-spacing: -.02em; color: var(--mgp-bone); }
.mgp-step { padding: 18px 0; border-top: 1px solid var(--mgp-line); }
.mgp-book .mgp-step h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 800 17px/1.2 var(--mgp-ff); color: var(--mgp-bone); }
.mgp-step h3 span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 181, 71, .14); color: var(--mgp-amber); font: 800 13px/1 var(--mgp-ff); }
.mgp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mgp-book .mgp-chip {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 48px; min-height: 46px; padding: 6px 14px; border-radius: 14px;
	background: rgba(244, 239, 230, .06); border: 1px solid var(--mgp-line2); color: var(--mgp-bone);
	font: 800 16px/1.1 var(--mgp-ff); transition: background .15s, border-color .15s, transform .15s;
}
.mgp-book .mgp-chip:hover { border-color: rgba(255, 181, 71, .6); }
.mgp-book .mgp-chip.is-on { background: var(--mgp-brace); border-color: var(--mgp-brace); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 75, 43, .8); }
.mgp-book .mgp-chip--more { font-size: 14px; color: var(--mgp-mute); }
.mgp-book .mgp-slot { min-width: 70px; }
.mgp-book .mgp-slot.is-full { color: rgba(244, 239, 230, .35); text-decoration: line-through; border-style: dashed; background: transparent; }
.mgp-book .mgp-slot small { font: 700 10px/1 var(--mgp-ff); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; margin-top: 3px; display: block; }
.mgp-book .mgp-chip--alt { background: rgba(255, 181, 71, .12); border-color: rgba(255, 181, 71, .55); color: var(--mgp-amber); }
.mgp-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: thin; scrollbar-color: rgba(244, 239, 230, .28) transparent; scroll-snap-type: x proximity; }
.mgp-days::-webkit-scrollbar { height: 6px; }
.mgp-days::-webkit-scrollbar-track { background: transparent; }
.mgp-days::-webkit-scrollbar-thumb { background: rgba(244, 239, 230, .28); border-radius: 6px; }
.mgp-book .mgp-day {
	flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	width: 74px; min-height: 66px; padding: 8px 4px; border-radius: 16px; scroll-snap-align: start; position: relative;
	background: rgba(244, 239, 230, .06); border: 1px solid var(--mgp-line2); color: var(--mgp-bone); cursor: pointer;
}
.mgp-day b { font: 800 14px/1.1 var(--mgp-ff); }
.mgp-day span { font: 600 12px/1.1 var(--mgp-ff); color: var(--mgp-mute); }
.mgp-day i { font: 700 9px/1 var(--mgp-ff); text-transform: uppercase; letter-spacing: .08em; font-style: normal; color: var(--mgp-brace); }
.mgp-book .mgp-day.is-off { opacity: .4; cursor: not-allowed; }
.mgp-book .mgp-day.is-on { background: var(--mgp-bone); border-color: var(--mgp-bone); color: var(--mgp-ink); }
.mgp-day.is-on span { color: rgba(10, 14, 34, .7); }
.mgp-day--pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.mgp-serv + .mgp-serv { margin-top: 14px; }
.mgp-serv__n { display: block; font: 700 11px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--mgp-mute); margin-bottom: 8px; }
.mgp-hint { margin: 0; color: var(--mgp-mute); font-size: 14px; }
.mgp-wait::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border: 2px solid var(--mgp-amber); border-right-color: transparent; border-radius: 50%; animation: mgp-spin .8s linear infinite; vertical-align: -2px; }
@keyframes mgp-spin { to { transform: rotate(360deg); } }
.mgp-alt, .mgp-more { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .35); }
.mgp-alt .mgp-actions, .mgp-more .mgp-actions { margin-top: 10px; }
.mgp-alt .mgp-chips { margin-top: 10px; }
.mgp-p { margin: 0; font-size: 15px; color: var(--mgp-bone); }
.mgp-field { display: block; margin-bottom: 12px; }
.mgp-field > span { display: block; margin-bottom: 6px; font: 700 13px/1.2 var(--mgp-ff); color: var(--mgp-mute); }
.mgp-field em, .mgp-flab em { font-style: normal; font-weight: 600; opacity: .7; }
.mgp-note summary { cursor: pointer; color: var(--mgp-amber); font: 700 14px/1.2 var(--mgp-ff); padding: 4px 0 10px; list-style: none; }
.mgp-note summary::before { content: '+ '; }
.mgp-note[open] summary::before { content: '− '; }
.mgp-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.mgp-sum { display: flex; align-items: center; gap: 10px; min-height: 0; color: var(--mgp-bone); font-size: 15px; }
.mgp-sum:not(:empty) { margin: 6px 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(244, 239, 230, .06); border: 1px dashed var(--mgp-line2); }
.mgp-sum span::first-letter { text-transform: uppercase; }
.mgp-err { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 75, 43, .12); border: 1px solid rgba(255, 75, 43, .5); color: #ffd3c9; font-weight: 700; }
.mgp-err .mgp-btn { margin-top: 10px; }
.mgp-book .mgp-btn--go[type=submit] { width: 100%; min-height: 56px; font-size: 17px; }

/* Biglietto di conferma */
.mgp-ticket {
	position: relative; margin: 6px 0 4px; padding: 26px 22px 20px; color: var(--mgp-ink);
	background: var(--mgp-bone); border-radius: 14px;
	-webkit-mask: radial-gradient(circle 9px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 9px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.mgp-ticket.is-off { opacity: .75; }
.mgp-ticket__badge { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mgp-green); color: #fff; }
.mgp-ticket.is-off .mgp-ticket__badge { background: var(--mgp-brace); }
.mgp-ticket__badge .mgp-ic { width: 24px; height: 24px; }
.mgp-ticket__sub { margin: 0 56px 14px 0; font: 700 15px/1.3 var(--mgp-ff); }
.mgp-ticket dl { margin: 0; display: grid; gap: 0; }
.mgp-ticket dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed rgba(10, 14, 34, .22); }
.mgp-ticket dt { font: 600 13px/1.3 'IBM Plex Mono', ui-monospace, monospace; text-transform: uppercase; letter-spacing: .06em; color: rgba(10, 14, 34, .6); }
.mgp-ticket dd { margin: 0; font: 800 16px/1.3 var(--mgp-ff); text-align: right; }
.mgp-ticket dd::first-letter { text-transform: uppercase; }
.mgp-ticket__code { margin-top: 14px; text-align: center; font: 700 15px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .3em; color: var(--mgp-brace2); }

/* Riquadro notifiche */
.mgp-notif { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; margin-top: 22px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, rgba(29, 42, 92, .9), rgba(17, 23, 58, .9)); border: 1px solid rgba(255, 181, 71, .3); }
.mgp-notif__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 181, 71, .15); color: var(--mgp-amber); }
.mgp-notif__ic .mgp-ic { width: 24px; height: 24px; animation: mgp-ring 2.4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes mgp-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 89% { transform: rotate(6deg); } }
.mgp-notif__t b { display: block; font: 800 16px/1.25 var(--mgp-ff); margin-bottom: 4px; }
.mgp-notif__t span { font-size: 14px; color: var(--mgp-mute); }
.mgp-notif__a { grid-column: 1 / -1; }
.mgp-notif__a .mgp-btn { width: 100%; }
.mgp-notif__ok { display: inline-flex; align-items: center; gap: 8px; color: var(--mgp-green); font-weight: 800; }
.mgp-notif__help { display: block; font-size: 14px; color: var(--mgp-mute); margin-bottom: 10px; }

/* ================================================================== *
 * GESTORE
 * ================================================================== */
.mgp-app { background: var(--mgp-ink); border-radius: 0; min-height: 70vh; font-size: 15px; }
.mgp-app--admin { margin: 0 0 0 -20px; min-height: calc(100vh - 32px); }
body[class*="page_mgp"] #wpcontent { padding-left: 0; }
body[class*="page_mgp"] .mgp-app--admin { margin-left: 0; }
body[class*="page_mgp"] #wpfooter, body[class*="page_mgp"] .notice, body[class*="page_mgp"] .update-nag { display: none; }
body[class*="page_mgp"] #wpbody-content { padding-bottom: 0; }
.mgp-wrap { margin: 0; }
.mgp-loading { padding: 60px 20px; text-align: center; color: var(--mgp-mute); }
.mgp-shell { max-width: 1440px; margin: 0 auto; padding: 0 clamp(12px, 2.4vw, 28px) 28px; }
.mgp-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; background: linear-gradient(var(--mgp-ink) 70%, rgba(10, 14, 34, 0)); }
.admin-bar .mgp-app:not(.mgp-app--admin) .mgp-top { top: 32px; }
.mgp-brand { display: flex; align-items: center; gap: 10px; font: 800 18px/1 var(--mgp-fh); }
.mgp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mgp-green); box-shadow: 0 0 0 4px rgba(63, 209, 143, .18); }
.mgp-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(244, 239, 230, .07); border: 1px solid var(--mgp-line); overflow-x: auto; max-width: 100%; }
.mgp-app .mgp-tabs button { padding: 10px 16px; border-radius: 999px; font: 800 14px/1 var(--mgp-ff); color: var(--mgp-mute); white-space: nowrap; }
.mgp-app .mgp-tabs button.is-on { background: var(--mgp-bone); color: var(--mgp-ink); }

.mgp-bar { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: var(--mgp-r); background: var(--mgp-ink2); border: 1px solid var(--mgp-line); }
.mgp-date { display: flex; align-items: center; gap: 6px; }
.mgp-app .mgp-iconbtn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(244, 239, 230, .07); color: var(--mgp-bone); }
.mgp-app .mgp-iconbtn:hover { background: rgba(244, 239, 230, .14); }
.mgp-date__lab { position: relative; min-width: 190px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--mgp-line2); font: 800 15px/1.2 var(--mgp-ff); text-align: center; cursor: pointer; }
.mgp-date__lab span::first-letter { text-transform: uppercase; }
.mgp-app .mgp-date__lab input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; min-height: 0; padding: 0; }
.mgp-time { min-width: 0; }
.mgp-time__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.mgp-time__v { display: inline-flex; align-items: center; gap: 6px; font: 800 26px/1 var(--mgp-fh); color: var(--mgp-amber); font-variant-numeric: tabular-nums; }
.mgp-time__q { display: flex; gap: 6px; flex-wrap: wrap; }
.mgp-app .mgp-time__q button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--mgp-line2); font: 700 13px/1 var(--mgp-ff); color: var(--mgp-bone); }
.mgp-app .mgp-time__q button:hover { border-color: var(--mgp-amber); color: var(--mgp-amber); }
.mgp-closed { padding: 6px 10px; border-radius: 999px; background: rgba(255, 75, 43, .15); color: #ffb3a5; font-weight: 800; font-size: 12px; }
.mgp-app .mgp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; border: 0; padding: 0; min-height: 0; box-shadow: none; }
.mgp-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 181, 71, .25), rgba(255, 75, 43, .45)); }
.mgp-range::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 181, 71, .25), rgba(255, 75, 43, .45)); }
.mgp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--mgp-amber); border: 4px solid var(--mgp-ink); box-shadow: 0 0 0 2px var(--mgp-amber); cursor: grab; }
.mgp-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--mgp-amber); border: 4px solid var(--mgp-ink); box-shadow: 0 0 0 2px var(--mgp-amber); cursor: grab; }

.mgp-rooms { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.mgp-app .mgp-room { display: inline-flex; flex-direction: column; gap: 3px; padding: 10px 16px; border-radius: 14px; background: rgba(244, 239, 230, .05); border: 1px solid var(--mgp-line); font: 800 15px/1.1 var(--mgp-ff); color: var(--mgp-bone); }
.mgp-room small { font: 600 12px/1 var(--mgp-ff); color: var(--mgp-mute); }
.mgp-app .mgp-room.is-on { background: var(--mgp-ink3); border-color: rgba(255, 181, 71, .55); }
.mgp-app .mgp-room--add { flex-direction: row; align-items: center; gap: 6px; color: var(--mgp-amber); border-style: dashed; }

.mgp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; margin-top: 14px; align-items: start; }
.mgp-plan { position: relative; border-radius: 24px; overflow: auto; background: var(--mgp-ink2); border: 1px solid var(--mgp-line); }
.mgp-svg { display: block; width: 100%; min-width: 620px; height: auto; aspect-ratio: 10 / 7; user-select: none; -webkit-user-select: none; touch-action: none; }
.mgp-svg.is-live { touch-action: pan-x pan-y; }
.mgp-svg.is-ed { touch-action: pan-x pan-y; } /* la sala scorre; i tavoli bloccano lo scorrimento dal JS (touchstart) */
.mgp-svg.is-ed .mgp-t { touch-action: none; cursor: grab; }
.mgp-floor { fill: var(--mgp-floor); }
.mgp-gridline { stroke: rgba(244, 239, 230, .05); stroke-width: 1; }
.mgp-plan__msg { position: absolute; inset: auto 20px 20px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 14, 34, .85); border: 1px dashed var(--mgp-line2); color: var(--mgp-mute); text-align: center; pointer-events: none; }

/* Tavoli */
.mgp-t { cursor: pointer; outline: none; }
.mgp-t .mgp-tb { fill: var(--mgp-bone); stroke: rgba(10, 14, 34, .25); stroke-width: 2; transition: fill .2s, stroke .2s; }
.mgp-t .mgp-ch { fill: rgba(244, 239, 230, .38); transition: fill .2s; }
.mgp-t text { text-anchor: middle; pointer-events: none; fill: var(--mgp-ink); }
.mgp-t__n { font: 800 30px/1 var(--mgp-fh); }
.mgp-t__l1 { font: 800 16px/1 var(--mgp-ff); }
.mgp-t__l2 { font: 700 15px/1 var(--mgp-ff); opacity: .85; }
.mgp-t:hover .mgp-tb { stroke: var(--mgp-amber); stroke-width: 3; }
.mgp-t.st-libero .mgp-tb { fill: var(--mgp-bone); }
.mgp-t.st-arrivo .mgp-tb { fill: var(--mgp-bone); stroke: var(--mgp-amber); stroke-width: 5; stroke-dasharray: 9 6; }
.mgp-t.st-arrivo .mgp-t__l2 { fill: #a5560a; opacity: 1; }
.mgp-t.st-prenotato .mgp-tb { fill: var(--mgp-brace); stroke: rgba(255, 255, 255, .25); }
.mgp-t.st-prenotato .mgp-ch { fill: rgba(255, 75, 43, .6); }
.mgp-t.st-prenotato text { fill: #fff; }
.mgp-t.st-seduti .mgp-tb { fill: var(--mgp-amber); stroke: rgba(10, 14, 34, .3); }
.mgp-t.st-seduti .mgp-ch { fill: rgba(255, 181, 71, .65); }
.mgp-t.st-attesa .mgp-tb { fill: var(--mgp-ink3); stroke: var(--mgp-brace); stroke-width: 4; stroke-dasharray: 8 6; }
.mgp-t.st-attesa text { fill: var(--mgp-bone); }
.mgp-t.ed .mgp-tb { fill: var(--mgp-bone); }
.mgp-t.ed { cursor: grab; }
.mgp-t.ed:active { cursor: grabbing; }
.mgp-t.is-sel .mgp-tb { stroke: var(--mgp-amber); stroke-width: 5; }
.mgp-t.is-sel .mgp-ch { fill: rgba(255, 181, 71, .7); }

.mgp-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; color: var(--mgp-mute); font-size: 13px; font-weight: 700; }
.mgp-legend span::before { content: ''; display: inline-block; width: 14px; height: 14px; border-radius: 5px; margin-right: 7px; vertical-align: -2px; }
.lg-libero::before { background: var(--mgp-bone); }
.lg-arrivo::before { background: var(--mgp-bone); box-shadow: inset 0 0 0 3px var(--mgp-amber); }
.lg-prenotato::before { background: var(--mgp-brace); }
.lg-seduti::before { background: var(--mgp-amber); }
.lg-attesa::before { background: var(--mgp-ink3); box-shadow: inset 0 0 0 2px var(--mgp-brace); }

/* Elenco del giorno */
.mgp-list { border-radius: 24px; background: var(--mgp-ink2); border: 1px solid var(--mgp-line); padding: 14px; max-height: min(78vh, 760px); overflow: auto; }
.mgp-list__h { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 4px 12px; border-bottom: 1px solid var(--mgp-line); margin-bottom: 8px; }
.mgp-list__h b { font: 800 17px/1 var(--mgp-fh); }
.mgp-list__h span { color: var(--mgp-amber); font-weight: 800; }
.mgp-list__empty { color: var(--mgp-mute); padding: 10px 4px; margin: 0; }
.mgp-app .mgp-li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 10px; border-radius: 14px; border-left: 4px solid transparent; }
.mgp-app .mgp-li:hover { background: rgba(244, 239, 230, .06); }
.mgp-li__t { font: 800 16px/1 var(--mgp-fh); font-variant-numeric: tabular-nums; }
.mgp-li__n { min-width: 0; }
.mgp-li__n b { display: block; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mgp-li__n small { color: var(--mgp-mute); font-size: 12px; }
.mgp-li__s { font: 700 11px/1 var(--mgp-ff); text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 999px; background: rgba(244, 239, 230, .08); white-space: nowrap; }
.mgp-li.st-prenotato { border-left-color: var(--mgp-brace); }
.mgp-li.st-seduti { border-left-color: var(--mgp-amber); }
.mgp-li.st-seduti .mgp-li__s { background: rgba(255, 181, 71, .2); color: var(--mgp-amber); }
.mgp-li.st-attesa { border-left-color: var(--mgp-brace); border-left-style: dashed; }
.mgp-li.st-attesa .mgp-li__s { background: rgba(255, 75, 43, .2); color: #ffb3a5; }
.mgp-li.is-off { opacity: .45; }
.mgp-li.is-off .mgp-li__n b { text-decoration: line-through; }

/* Scheda (bottom sheet / finestra) */
.mgp-sheet { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; }
.mgp-sheet[hidden] { display: none; }
.mgp-sheet__bg { position: absolute; inset: 0; background: rgba(4, 6, 18, .6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .18s; }
.mgp-sheet__box { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--mgp-ink2); border: 1px solid var(--mgp-line2); box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); transform: translateY(30px); opacity: 0; transition: transform .2s, opacity .18s; }
.mgp-sheet.is-on .mgp-sheet__bg { opacity: 1; }
.mgp-sheet.is-on .mgp-sheet__box { transform: none; opacity: 1; }
@media (min-width: 700px) {
	.mgp-sheet { align-items: center; }
	.mgp-sheet__box { border-radius: 26px; }
}
.mgp-app .mgp-sheet__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(244, 239, 230, .08); color: var(--mgp-bone); }
.mgp-sh__head { padding-right: 48px; margin-bottom: 14px; }
.mgp-app .mgp-sh__head h3 { margin: 8px 0 2px; font: 800 26px/1.1 var(--mgp-fh); color: var(--mgp-bone); }
.mgp-sh__head p { margin: 0; color: var(--mgp-mute); }
.mgp-tag { display: inline-block; padding: 5px 10px; border-radius: 999px; font: 800 11px/1 var(--mgp-ff); text-transform: uppercase; letter-spacing: .07em; background: rgba(244, 239, 230, .1); }
.mgp-tag--ok { background: rgba(63, 209, 143, .16); color: var(--mgp-green); }
.mgp-tag.st-prenotato { background: rgba(255, 75, 43, .2); color: #ffb3a5; }
.mgp-tag.st-seduti { background: rgba(255, 181, 71, .2); color: var(--mgp-amber); }
.mgp-tag.st-attesa { background: rgba(255, 75, 43, .12); color: #ffb3a5; box-shadow: inset 0 0 0 1px rgba(255, 75, 43, .6); }
.mgp-sh__list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; padding: 12px; border-radius: 14px; background: rgba(244, 239, 230, .05); }
.mgp-sh__list > b { font-size: 13px; color: var(--mgp-mute); }
.mgp-app .mgp-mini { padding: 8px 10px; border-radius: 10px; background: rgba(255, 75, 43, .12); font-weight: 700; font-size: 14px; }
.mgp-when { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(244, 239, 230, .06); margin-bottom: 12px; }
.mgp-when > div:first-child { display: flex; flex-direction: column; gap: 3px; }
.mgp-when small { color: var(--mgp-mute); font-weight: 600; }
.mgp-when small:first-child::first-letter { text-transform: uppercase; }
.mgp-when b { font: 800 26px/1 var(--mgp-fh); color: var(--mgp-amber); font-variant-numeric: tabular-nums; }
.mgp-when__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font: 700 12px/1 'IBM Plex Mono', ui-monospace, monospace; color: var(--mgp-mute); }
.mgp-contact { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.mgp-contact .mgp-btn { min-height: 42px; flex: 1; }
.mgp-sh__note { margin: 0 0 10px; color: var(--mgp-mute); }
.mgp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.mgp-app .mgp-act { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 14px; background: rgba(244, 239, 230, .08); border: 1px solid var(--mgp-line); font: 800 14px/1.1 var(--mgp-ff); color: var(--mgp-bone); text-align: center; }
.mgp-app .mgp-act:hover { border-color: var(--mgp-line2); background: rgba(244, 239, 230, .12); }
.mgp-app .mgp-act--go { background: var(--mgp-green); border-color: var(--mgp-green); color: #05261a; }
.mgp-app .mgp-act--warn { color: #ffb3a5; border-color: rgba(255, 75, 43, .35); background: rgba(255, 75, 43, .08); }
.mgp-move { margin-top: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .3); }
.mgp-move > b { display: block; margin-bottom: 8px; font-size: 14px; }
.mgp-ferr { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 75, 43, .14); border: 1px solid rgba(255, 75, 43, .5); color: #ffd3c9; font-weight: 700; }
.mgp-ferr[hidden] { display: none; }

/* Modulo */
.mgp-form { display: flex; flex-direction: column; gap: 14px; }
.mgp-frow { display: block; }
.mgp-frow--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mgp-flab { display: block; margin-bottom: 6px; font: 700 13px/1.2 var(--mgp-ff); color: var(--mgp-mute); }
details.mgp-frow summary { cursor: pointer; list-style: none; }
details.mgp-frow summary::before { content: '+ '; color: var(--mgp-amber); }
.mgp-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(244, 239, 230, .07); border: 1px solid var(--mgp-line2); }
.mgp-app .mgp-stepper button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(244, 239, 230, .1); color: var(--mgp-bone); }
.mgp-app .mgp-stepper button:hover { background: var(--mgp-amber); color: var(--mgp-ink); }
.mgp-stepper__v { min-width: 44px; text-align: center; font: 800 22px/1 var(--mgp-fh); font-variant-numeric: tabular-nums; }
.mgp-stepper--sm button { width: 36px !important; height: 36px !important; }
.mgp-stepper--sm .mgp-stepper__v { font-size: 18px; min-width: 32px; }
.mgp-fine, .mgp-tpick { display: flex; flex-wrap: wrap; gap: 8px; }
.mgp-app .mgp-pill { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 44px; padding: 6px 14px; border-radius: 14px; background: rgba(244, 239, 230, .06); border: 1px solid var(--mgp-line2); font: 800 15px/1.1 var(--mgp-ff); color: var(--mgp-bone); }
.mgp-pill small { font: 600 11px/1 var(--mgp-ff); color: var(--mgp-mute); }
.mgp-app .mgp-pill.is-on { background: var(--mgp-bone); border-color: var(--mgp-bone); color: var(--mgp-ink); }
.mgp-app .mgp-pill.is-on small { color: rgba(10, 14, 34, .65); }
.mgp-app .mgp-pill--in { flex-direction: row; gap: 8px; padding: 4px 6px 4px 14px; }
.mgp-app .mgp-pill--in input { width: 110px; min-height: 36px; padding: 4px 8px; font-size: 15px; }
.mgp-app .mgp-pill--in.is-on input { background: rgba(10, 14, 34, .08); color: var(--mgp-ink); border-color: rgba(10, 14, 34, .2); color-scheme: light; }
.mgp-closures .mgp-pill { flex-direction: row; gap: 8px; padding-right: 6px; }
.mgp-app .mgp-closures .mgp-pill button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(10, 14, 34, .1); }

/* Editor */
.mgp-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding: 10px; border-radius: var(--mgp-r); background: var(--mgp-ink2); border: 1px solid var(--mgp-line); }
.mgp-tools__l { font: 700 13px/1 var(--mgp-ff); color: var(--mgp-mute); margin: 0 6px; }
.mgp-app .mgp-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 10px; border-radius: 14px; background: rgba(244, 239, 230, .07); border: 1px solid var(--mgp-line2); font: 800 15px/1 var(--mgp-ff); color: var(--mgp-bone); }
.mgp-app .mgp-tool:hover { border-color: var(--mgp-amber); background: rgba(255, 181, 71, .1); }
.mgp-tool svg { width: 32px; height: 32px; fill: var(--mgp-bone); }
.mgp-panel { border-radius: 24px; background: var(--mgp-ink2); border: 1px solid var(--mgp-line); padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.mgp-pn__h { display: flex; align-items: center; gap: 10px; }
.mgp-pn__h b { font: 800 22px/1 var(--mgp-fh); }
.mgp-app .mgp-pn__h input { font: 800 22px/1 var(--mgp-fh) !important; max-width: 140px; }
.mgp-pn__hint { display: block; margin-top: 6px; color: var(--mgp-mute); font-size: 12px; }
.mgp-pn--row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mgp-pn__tip { padding: 14px; border-radius: 14px; background: rgba(255, 181, 71, .07); border: 1px dashed rgba(255, 181, 71, .35); font-size: 14px; }
.mgp-pn__tip ol { margin: 8px 0 0 18px; padding: 0; color: var(--mgp-mute); }
.mgp-pn__tip li { margin: 4px 0; }
.mgp-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(244, 239, 230, .07); }
.mgp-app .mgp-seg button { padding: 11px 4px; border-radius: 10px; font: 800 13px/1 var(--mgp-ff); text-align: center; color: var(--mgp-mute); }
.mgp-app .mgp-seg button.is-on { background: var(--mgp-bone); color: var(--mgp-ink); }
.mgp-switch { position: relative; display: flex !important; align-items: center; gap: 12px; cursor: pointer; font-weight: 800; }
.mgp-app .mgp-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.mgp-switch span { position: relative; flex: none; width: 50px; height: 30px; border-radius: 999px; background: rgba(244, 239, 230, .18); transition: background .2s; }
.mgp-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--mgp-bone); transition: transform .2s; }
.mgp-switch input:checked + span { background: var(--mgp-green); }
.mgp-switch input:checked + span::after { transform: translateX(20px); }
.mgp-switch input:focus-visible + span { outline: 2px solid var(--mgp-amber); outline-offset: 2px; }
.mgp-switch--sm span { width: 40px; height: 24px; }
.mgp-switch--sm span::after { width: 18px; height: 18px; }
.mgp-switch--sm input:checked + span::after { transform: translateX(16px); }
.mgp-savebar { position: sticky; bottom: 12px; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 12px 12px 18px; border-radius: 999px; background: rgba(17, 23, 58, .92); backdrop-filter: blur(10px); border: 1px solid var(--mgp-line2); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.mgp-savebar__sum { color: var(--mgp-mute); font-size: 14px; }
.mgp-savebar__sum b { color: var(--mgp-bone); }
.mgp-savebar__sum i { color: var(--mgp-amber); font-style: normal; font-weight: 800; }
.mgp-btn.is-pulse { animation: mgp-pulse 1.6s ease-in-out infinite; }
@keyframes mgp-pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 75, 43, .18), 0 10px 30px -10px rgba(255, 75, 43, .7); } }

/* Pagina vuota */
.mgp-empty { max-width: 620px; margin: 40px auto; padding: 34px; border-radius: 28px; text-align: center; background: radial-gradient(100% 80% at 50% 0%, rgba(255, 75, 43, .18), transparent 60%), var(--mgp-ink2); border: 1px solid var(--mgp-line); }
.mgp-app .mgp-empty h2 { margin: 0 0 10px; font: 800 32px/1.05 var(--mgp-fh); color: var(--mgp-bone); }
.mgp-empty p { color: var(--mgp-mute); margin: 0 0 18px; }
.mgp-empty .mgp-actions { justify-content: center; }

/* Impostazioni */
.mgp-set { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.mgp-box { padding: 20px; border-radius: 22px; background: var(--mgp-ink2); border: 1px solid var(--mgp-line); }
.mgp-app .mgp-box h3 { margin: 0 0 6px; font: 800 20px/1.15 var(--mgp-fh); color: var(--mgp-bone); }
.mgp-box__p { margin: 0 0 14px; color: var(--mgp-mute); font-size: 14px; max-width: 70ch; }
.mgp-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; align-items: start; }
.mgp-fgrid small { display: block; margin-top: 5px; color: var(--mgp-mute); font-size: 12px; }
.mgp-table-wrap { overflow-x: auto; margin-bottom: 12px; }
.mgp-hours { border-collapse: collapse; width: 100%; min-width: 620px; }
.mgp-hours th, .mgp-hours td { padding: 8px 6px; border-bottom: 1px solid var(--mgp-line); text-align: left; color: var(--mgp-bone); }
.mgp-hours thead th { color: var(--mgp-mute); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.mgp-hours td { white-space: nowrap; }
.mgp-hours td > * { vertical-align: middle; }
.mgp-app .mgp-hours input[type=time] { width: 112px; min-height: 40px; padding: 6px 8px; display: inline-block; margin-left: 6px; }
.mgp-hours i { font-style: normal; color: var(--mgp-mute); margin-left: 6px; }
.mgp-hours .mgp-switch { display: inline-flex !important; }
.mgp-inline { display: flex; gap: 8px; margin-top: 12px; max-width: 420px; }
.mgp-box--links p { display: flex; flex-direction: column; margin: 8px 0; }
.mgp-box--links a { color: var(--mgp-amber); font-weight: 700; word-break: break-all; }

/* Avvisi */
.mgp-toast { position: fixed; left: 50%; bottom: 22px; z-index: 100001; max-width: min(92vw, 460px); padding: 14px 18px; border-radius: 16px; background: var(--mgp-bone); color: var(--mgp-ink); font-weight: 700; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
.mgp-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.mgp-toast.is-ok { border-left: 6px solid var(--mgp-green); }
.mgp-toast.is-err { border-left: 6px solid var(--mgp-brace); }
.mgp-toast.is-new { background: var(--mgp-amber); border-left: 6px solid var(--mgp-brace); animation: mgp-shake .5s ease 2; }
@keyframes mgp-shake { 25% { transform: translate(calc(-50% - 6px), 0); } 75% { transform: translate(calc(-50% + 6px), 0); } }

/* Accesso */
.mgp-login { max-width: 420px; margin: 40px auto; padding: 28px; border-radius: 24px; background: var(--mgp-ink); }
.mgp-login h2 { margin: 0 0 6px; font: 800 28px/1.1 var(--mgp-fh); color: var(--mgp-bone); }
.mgp-login p { color: var(--mgp-mute); }
.mgp-login label { display: block; color: var(--mgp-mute); font-weight: 700; margin-bottom: 6px; }
.mgp-login input[type=text], .mgp-login input[type=password] { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--mgp-line2); background: rgba(244, 239, 230, .06); color: var(--mgp-bone); font-size: 16px; }
.mgp-login input[type=submit] { width: 100%; min-height: 50px; margin-top: 10px; border: 0; border-radius: 999px; background: var(--mgp-brace); color: #fff; font: 800 16px/1 var(--mgp-ff); cursor: pointer; }

/* Schermi stretti */
@media (max-width: 1100px) {
	.mgp-grid { grid-template-columns: 1fr; }
	.mgp-list { max-height: none; }
}
@media (max-width: 760px) {
	.mgp-bar { grid-template-columns: 1fr; }
	.mgp-date { justify-content: space-between; }
	.mgp-date__lab { flex: 1; min-width: 0; }
	.mgp-bar > .mgp-btn { width: 100%; }
	.mgp-top { padding: 10px 0; }
	.mgp-tabs { width: 100%; }
	.mgp-app .mgp-tabs button { flex: 1; text-align: center; padding: 10px 8px; }
	.mgp-acts { grid-template-columns: 1fr; }
	.mgp-savebar { border-radius: 20px; }
	.mgp-savebar .mgp-btn { width: 100%; }
	/* sul telefono la sala entra tutta nello schermo (si rimpicciolisce invece di scorrere): Sala e Tavoli e sale */
	.mgp-svg { min-width: 0; }
	.mgp-svg.is-ed .mgp-t__n { font-size: 40px; }
	.mgp-svg.is-ed .mgp-t__l1, .mgp-svg.is-ed .mgp-t__l2 { font-size: 22px; }
	.mgp-svg.is-live .mgp-t__n { font-size: 36px; }
	.mgp-svg.is-live .mgp-t__l1, .mgp-svg.is-live .mgp-t__l2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
	.mgp-notif__ic .mgp-ic, .mgp-btn.is-pulse, .mgp-toast.is-new { animation: none; }
}

/* Demo pubblica della sala */
.mgp-demo { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 181, 71, .1); border: 1px dashed rgba(255, 181, 71, .45); color: var(--mgp-amber); font-weight: 700; font-size: 14px; }
.mgp-app--demo { border-radius: 28px; border: 1px solid var(--mgp-line); min-height: 0; overflow: hidden; }
.mgp-app--demo .mgp-top { position: static; }
.mgp-app--demo .mgp-shell { padding-top: 6px; }

/* Il tema Menu Go colora di blu i titoli delle pagine (.mg-site .mg-content h2): dentro i moduli restano chiari */
.mg-site .mgp-book .mgp-title, .mg-site .mgp-book h2, .mg-site .mgp-book h3, .mg-site .mgp-app h2, .mg-site .mgp-app h3, .mg-site .mgp-login h2 { color: var(--mgp-bone); }

/* tavoli uniti per una prenotazione (1.2.0) */
.mgp-app .mgp-unisci .mgp-flab em { font-style: normal; font-weight: 500; opacity: .7; }
.mgp-app .mgp-upick { display: flex; flex-wrap: wrap; gap: 6px; }
.mgp-app .mgp-utot { flex-basis: 100%; margin: 6px 0 0; font: 700 14px/1.3 var(--mgp-ff); }
.mgp-app .mgp-utot.is-ok { color: #4ade80; }
.mgp-app .mgp-utot.is-ko { color: var(--mgp-amber); }
.mgp-app .mgp-upick .mgp-hint { flex-basis: 100%; }
.mgp-app .is-unito .mgp-tb { stroke: var(--mgp-amber); stroke-width: 3; stroke-dasharray: 6 4; }
.mgp-app .mgp-sh__unito { border-left: 3px solid var(--mgp-amber); padding-left: 10px; }

/* Giorno e arrivo: pulsante che apre il popup (calendario / orari) */
.mgp-app .mgp-pickbtn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px; background: rgba(244, 239, 230, .06); border: 1px solid var(--mgp-line2); border-radius: 12px; color: var(--mgp-bone); font: 700 16px/1.2 var(--mgp-ff); }
.mgp-app .mgp-pickbtn:hover { border-color: var(--mgp-amber); }
.mgp-app .mgp-pickbtn .mgp-ic { color: var(--mgp-amber); }
.mgp-app .mgp-pickbtn b { font-weight: 700; text-transform: capitalize; }
.mgp-pop { position: fixed; inset: 0; z-index: 100010; display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 18, .55); opacity: 0; transition: opacity .15s; }
.mgp-pop.is-on { opacity: 1; }
.mgp-pop__box { width: min(360px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 16px; border-radius: 22px; background: var(--mgp-ink2); border: 1px solid var(--mgp-line2); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); color: var(--mgp-bone); font-family: var(--mgp-ff); }
.mgp-pop__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mgp-pop__head b { flex: 1; text-align: center; font: 800 18px/1.2 var(--mgp-fh); }
.mgp-pop--cal .mgp-pop__head b { text-transform: capitalize; }
.mgp-app .mgp-pop__head button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(244, 239, 230, .08); color: var(--mgp-bone); }
.mgp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mgp-cal span { padding: 4px 0; text-align: center; font: 700 11px/1 var(--mgp-ff); color: var(--mgp-mute); }
.mgp-app .mgp-cal button { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; font: 700 15px/1 var(--mgp-ff); color: var(--mgp-bone); }
.mgp-app .mgp-cal button:hover:not([disabled]) { background: rgba(244, 239, 230, .1); }
.mgp-app .mgp-cal button.is-today { box-shadow: inset 0 0 0 1.5px var(--mgp-amber); }
.mgp-app .mgp-cal button.is-on { background: var(--mgp-amber); color: var(--mgp-ink); }
.mgp-app .mgp-cal button[disabled] { opacity: .25; }
.mgp-pop__quick { display: flex; gap: 6px; margin-top: 14px; }
.mgp-app .mgp-pop__quick button { flex: 1; display: grid; place-items: center; min-height: 44px; padding: 0 10px; border-radius: 12px; background: var(--mgp-bone); color: var(--mgp-ink); font: 800 14px/1 var(--mgp-ff); }
.mgp-app .mgp-pop__quick button.is-ghost { background: rgba(244, 239, 230, .08); color: var(--mgp-bone); }
.mgp-fine5 { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 12px; }
.mgp-fine5 output { min-width: 96px; text-align: center; font: 800 34px/1 var(--mgp-fh); font-variant-numeric: tabular-nums; }
.mgp-app .mgp-fine5 button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(244, 239, 230, .1); color: var(--mgp-bone); }
.mgp-slots { margin-top: 10px; }
.mgp-slots > span { display: block; margin-bottom: 6px; font: 700 11px/1 var(--mgp-ff); letter-spacing: .12em; text-transform: uppercase; color: var(--mgp-amber); }
.mgp-slots > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mgp-app .mgp-slots button { display: grid; place-items: center; min-height: 40px; border-radius: 10px; background: rgba(244, 239, 230, .06); border: 1px solid var(--mgp-line); font: 700 14px/1 var(--mgp-ff); color: var(--mgp-bone); font-variant-numeric: tabular-nums; }
.mgp-app .mgp-slots button:hover { border-color: var(--mgp-amber); }
.mgp-app .mgp-slots button.is-on { background: var(--mgp-amber); border-color: var(--mgp-amber); color: var(--mgp-ink); }
