.mp-portal, .mp-shell {
  --bg: #f5f0e8;
  --surface: #faf7f2;
  --green: #1d3d2f;
  --green-m: #2d5c45;
  --green-l: #e8f0eb;
  --green-ll: #f0f5f1;
  --amber: #c97b2a;
  --amber-l: #fdf0dc;
  --red: #b03a2e;
  --red-l: #fdecea;
  --muted: #8a8070;
  --border: #ddd8cc;
  --text: #1a1612;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;


  font-family: var(--sans);
  color: var(--text);
}

.mp-portal *, .mp-shell * { box-sizing: border-box; }
.mp-portal { background: var(--bg); }
.mp-muted { color: var(--muted); }
.mp-skeleton { color: var(--muted); }

/* Shell */
.mp-shell { display: flex; min-height: 100vh; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg); }
.mp-sidebar { width: 224px; min-width: 224px; background: var(--green); display: flex; flex-direction: column; }
.mp-logo { padding: 26px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.mp-logo h1 { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: #fff; font-weight: 700; line-height: 1.2; }
.mp-logo span { font-size: .65rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .13em; display: block; margin-top: 4px; }
.mp-nav { padding: 14px 10px; flex: 1; }
.mp-nav-sec { font-size: .6rem; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.35); padding: 0 12px; margin: 16px 0 5px; }
.mp-sidebar-foot { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; gap: 10px; }
.mp-avatar { width: 33px; height: 33px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; color: #fff; flex-shrink: 0; }
.mp-user-name { font-size: .78rem; color: #fff; font-weight: 600; line-height: 1.2; }
.mp-user-role { font-size: .65rem; color: rgba(255,255,255,.48); }

/* Nav item uses existing button markup */
.mp-tab { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 8px 12px; border: 0; border-radius: 8px; color: rgba(255,255,255,.7); font-size: .82rem; cursor: pointer; transition: background .13s, color .13s; margin-bottom: 1px; background: transparent; }
.mp-tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.mp-tab.is-active { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; }

/* Main */
.mp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mp-topbar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 30px; height: 58px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; }
.mp-topbar-title { margin: 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.mp-topbar-right { display: flex; align-items: center; gap: 10px; }
.mp-content { padding: 26px 30px; }

/* Generic badge + pills */
.mp-badge { font-size: .63rem; font-weight: 600; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .08em; background: rgba(255,255,255,.16); color: #fff; }
.mp-badge-green { background: var(--green-l); color: var(--green); }
.mp-badge-amber { background: var(--amber-l); color: var(--amber); }
.mp-pill { display: inline-block; font-size: .6rem; font-weight: 600; padding: 2px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; }
.mp-pill-confirmed { background: var(--green-l); color: var(--green); }
.mp-pill-draft { background: var(--amber-l); color: var(--amber); }
.mp-pill-reported { background: var(--green-l); color: var(--green); }
.mp-pill-pending { background: var(--amber-l); color: var(--amber); }
.mp-pill-cancelled { background: var(--red-l); color: var(--red); }

/* Cards */
.mp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.mp-card-head { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.mp-card-title { font-family: var(--serif); font-size: .98rem; font-weight: 600; }
.mp-card-hint { font-size: .68rem; color: var(--muted); }
.mp-card-body { padding: 18px 20px; }

/* Stats */
.mp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.mp-stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; transition: box-shadow .15s; position: relative; overflow: hidden; }
.mp-stat:hover { box-shadow: 0 4px 18px rgba(0,0,0,.07); }
.mp-stat-eyebrow { font-size: .63rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 9px; font-weight: 500; }
.mp-stat-primary { font-family: var(--serif); font-size: 1.8rem; font-weight: 700; line-height: 1; color: var(--text); }
.mp-stat-secondary { font-size: .78rem; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.mp-stat-accent { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--green); }

/* Tier */
.mp-tier { background: var(--amber-l); border-radius: 12px; padding: 13px 18px; margin-bottom: 20px; border: 1px solid rgba(201,123,42,.2); }
.mp-tier-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; }
.mp-tier-label { font-size: .75rem; font-weight: 700; color: var(--amber); }
.mp-tier-count { font-size: .72rem; color: var(--amber); }
.mp-tier-track { height: 6px; background: rgba(201,123,42,.18); border-radius: 3px; overflow: hidden; }
.mp-tier-fill { height: 100%; background: var(--amber); border-radius: 3px; width: 0; transition: width .6s ease; }
.mp-tier-sub { font-size: .68rem; color: rgba(201,123,42,.78); margin-top: 5px; }

/* Grids */
.mp-grid { display: grid; gap: 14px; }
.mp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mp-row2 { display: grid; grid-template-columns: 1fr 320px; gap: 16px; margin-bottom: 16px; }
.mp-panel { display: none; }
.mp-panel.is-active { display: block; }

/* Calendar */
.mp-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mp-cal-month { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; }
.mp-cal-arw { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--border); background: transparent; cursor: pointer; color: var(--muted); }
.mp-cal-arw:hover { background: var(--green-l); color: var(--green); }
.mp-cal-head { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; margin-bottom: 2px; }
.mp-cal-dow { text-align: center; font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-bottom: 7px; font-weight: 500; }
.mp-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.mp-cal-day { min-height: 48px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 7px; font-size: .78rem; color: var(--text); position: relative; transition: background .11s, color .11s; user-select: none; border: 1.5px solid transparent; }
.mp-cal-day.is-orderable, .mp-cal-day.orderable { cursor: pointer; }
.mp-cal-day.is-orderable:hover:not(.is-ordered), .mp-cal-day.orderable:hover:not(.ordered) { background: var(--green-l); color: var(--green); }
.mp-cal-day.is-unavail, .mp-cal-day.unavailable { color: #c5beb2; cursor: not-allowed; }
.mp-cal-day.is-today, .mp-cal-day.today { border-color: var(--amber); color: var(--amber); font-weight: 700; }
.mp-cal-day.is-ordered, .mp-cal-day.ordered { background: var(--green); color: #fff; }
.mp-cal-day.is-ordered-past { background: var(--amber-l); color: var(--text); border: 1.5px solid rgba(201,123,42,.35); }
.mp-cal-day.is-ordered-past .mp-cal-day-num { color: var(--text); background: transparent !important; }
.mp-cal-day.is-ordered-past .mp-cal-day-badge {
  background: var(--amber);
  color: #fff;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  font-size: 11px;
  box-shadow: 0 1px 4px rgba(201,123,42,.45);
  animation: mp-badge-pulse 2s ease-in-out infinite;
}
@keyframes mp-badge-pulse {
  0%, 100% { box-shadow: 0 1px 4px rgba(201,123,42,.45); }
  50%       { box-shadow: 0 0 0 4px rgba(201,123,42,.18); }
}
.mp-cal-day.is-ordered-past .mp-cal-dot { background: var(--amber); }
.mp-cal-day.is-ordered-past .mp-cal-day-meal { background: rgba(201,123,42,.12); color: var(--text); }
.mp-cal-day.is-ordered-past .mp-cal-day-meal.is-std { background: rgba(201,123,42,.18); border-color: rgba(201,123,42,.25); }
.mp-cal-day.is-out { opacity: .35; }
.mp-cal-dot { width: 4px; height: 4px; border-radius: 50%; position: absolute; bottom: 3px; background: var(--green); }
.mp-cal-day.is-ordered .mp-cal-dot, .mp-cal-day.ordered .mp-cal-dot { background: rgba(255,255,255,.6); }
.mp-cal-day-num { display: flex; align-items: center; justify-content: space-between; width: 100%; font-weight: 700; margin-bottom: 5px; }
.mp-cal-day-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 999px; background: rgba(0,0,0,.15); font-size: 11px; padding: 0 5px; }
.mp-cal-day-meal { font-size: .66rem; line-height: 1.25; border-radius: 6px; padding: 3px 5px; width: 100%; margin-top: 3px; background: #ece7de; color: var(--text); }
.mp-cal-day-meal.is-std { background: var(--green-ll); border: 1px solid #d9e6dd; color: var(--green); }

/* Delivery rows */
.mp-delivery-row { display: flex; align-items: flex-start; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mp-delivery-row:last-child { border-bottom: none; }
.mp-date-chip { width: 42px; min-width: 42px; height: 48px; border-radius: 9px; background: var(--green-l); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mp-date-chip-day { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--green); line-height: 1; }
.mp-date-chip-mo { font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mp-delivery-info { flex: 1; min-width: 0; }
.mp-delivery-meal { font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-delivery-meta { font-size: .72rem; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mp-delivery-price { font-size: .82rem; font-weight: 700; color: var(--green); white-space: nowrap; }

/* Documents */
.mp-doc-row { display: flex; align-items: center; gap: 12px; padding: 11px 8px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .1s; border-radius: 8px; text-decoration: none; color: inherit; }
.mp-doc-row:last-child { border-bottom: none; }
.mp-doc-row:hover { background: var(--green-ll); }
.mp-doc-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .75rem; font-weight: 700; }
.mp-doc-icon-plan { background: var(--green-l); color: var(--green); }
.mp-doc-icon-file { background: var(--amber-l); color: var(--amber); }
.mp-doc-name { flex: 1; font-size: .82rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-doc-dl { color: var(--green); display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; padding: 5px 11px; border-radius: 7px; border: 1px solid var(--green-l); background: var(--green-l); white-space: nowrap; }

/* Sold */
.mp-notice { border-radius: 11px; padding: 11px 16px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; }
.mp-notice-amber { background: var(--amber-l); border: 1px solid rgba(201,123,42,.22); color: var(--amber); }
.mp-notice-warning {
  background: var(--amber-l);
  border: 1px solid rgba(201,123,42,.25);
  color: var(--amber);
}

.mp-notice-error {
  background: var(--red-l);
  border: 1px solid rgba(176,58,46,.25);
  color: var(--red);
}
.mp-sold-day { padding: 14px 0; border-bottom: 1px solid var(--border); }
.mp-sold-day:last-child { border-bottom: none; }
.mp-sold-day-head { display: flex; align-items: flex-start; justify-content: space-between; margin: 10px; gap: 10px; }
.mp-sold-day-label { font-size: .84rem; font-weight: 700; }
.mp-sold-day-meal { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.mp-sold-actions { display: flex; align-items: center; gap: 8px; }
.mp-sold-bars { display: flex; margin: 10px; flex-direction: column; gap: 5px; }
.mp-sold-bar-row { display: flex; align-items: center; gap: 8px; }
.mp-sold-bar-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); width: 90px; flex-shrink: 0; }
.mp-sold-bar-track { flex: 1; height: 7px; background: var(--border); border-radius: 3px; overflow: hidden; }
.mp-sold-bar-fill { height: 100%; border-radius: 3px; transition: width .5s; }
.mp-sold-bar-val { font-size: .72rem; font-weight: 700; width: 30px; text-align: right; }
.mp-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--bg); }
.mp-toggle-opt { padding: 5px 12px; font-size: .72rem; font-weight: 600; cursor: pointer; border: none; background: transparent; color: var(--muted); }
.mp-toggle-opt.is-active, .mp-toggle-opt.active { background: var(--green); color: #fff; }
.mp-sold-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.mp-sold-input-row.single { grid-template-columns: 1fr; }
.mp-sold-field label { font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; display: block; margin-bottom: 5px; }
.mp-sold-field input { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--sans); font-size: .95rem; background: var(--bg); color: var(--text); text-align: center; font-weight: 700; }

/* Meal cards + modal */
.mp-meal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.mp-meal-card { border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: var(--bg); cursor: pointer; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s, transform .15s; }
.mp-meal-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.1); border-color: var(--green-m); transform: translateY(-2px); }
.mp-meal-card-body { padding: 13px 15px 15px; }
.mp-meal-card-name { font-family: var(--serif); font-size: .95rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.mp-meal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mp-price { font-size: .71rem; color: var(--muted); line-height: 1.45; }

.mp-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 1000; align-items: center; justify-content: center; padding: 16px; }
.mp-modal { background: var(--surface); border-radius: 16px; width: 440px; max-width: 96vw; max-height: 90vh; overflow-y: auto; padding: 26px; box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.mp-modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3px; }
.mp-modal-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-bottom: 3px; }
.mp-modal-sub { font-size: .75rem; color: var(--muted); margin-bottom: 18px; }
.mp-modal-close { border: 1px solid var(--border); background: transparent; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; }
.mp-field-label { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; display: block; }
.mp-meal-opts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.mp-meal-opt { border: 2px solid var(--border); border-radius: 10px; padding: 10px 13px; cursor: pointer; transition: border-color .12s, background .12s; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: transparent; }
.mp-meal-opt { text-align: left; }
.mp-meal-opt:hover { border-color: var(--green-m); background: var(--green-ll); }
.mp-meal-opt.is-sel, .mp-meal-opt.sel { border-color: var(--green); background: var(--green-l); }
.mp-meal-opt-name { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.mp-meal-opt-main { flex: 1 1 auto; min-width: 0; text-align: left; }
.mp-meal-opt-tag { font-size: .65rem; color: var(--muted); margin-top: 2px; }
.mp-meal-opt-price { font-size: .82rem; font-weight: 700; color: var(--green); flex-shrink: 0; }
.mp-meal-opt-price { margin-left: auto; text-align: right; }
.mp-qty-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.mp-qty-block label { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; align-items: center; gap: 5px; margin-bottom: 6px; }
.mp-qty-input, .mp-note-input { width: 100%; padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; font-family: var(--sans); font-size: .8rem; background: var(--bg); color: var(--text); }
.mp-qty-total { font-size: .71rem; color: var(--muted); text-align: right; margin-bottom: 16px; }
.mp-price-summary { background: var(--green-l); border-radius: 9px; padding: 11px 15px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mp-price-summary-label { font-size: .75rem; color: var(--green); }
.mp-price-summary-val { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--green); }
.mp-modal-actions { display: flex; gap: 9px; justify-content: flex-end; margin-top: 8px; }
.mp-btn { font-size: .8rem; font-weight: 500; padding: 8px 18px; border-radius: 8px; border: none; cursor: pointer; transition: background .12s; font-family: var(--sans); }
.mp-btn-primary { background: var(--green); color: #fff; }
.mp-btn-primary:hover { background: var(--green-m); }
.mp-btn-primary:disabled { opacity: .4; cursor: not-allowed; }
.mp-btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.mp-btn-ghost:hover { background: #ece7de; }
.mp-btn-danger { background: var(--red-l); color: var(--red); border: 1px solid rgba(176,58,46,.2); }
.mp-btn-danger:hover { background: #fad7d4; }
.mp-success-check { font-size: 2.5rem; margin-bottom: 10px; text-align: center; }

@media (max-width: 1080px) {
  .mp-row2 { grid-template-columns: 1fr; }
  .mp-grid-3, .mp-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .mp-shell { display: block; min-height: auto; }
  .mp-sidebar { width: auto; min-width: 0; height: auto; }
  .mp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .mp-nav-sec { grid-column: 1 / -1; margin-top: 8px; }
  .mp-content { padding: 16px; }
}
@media (max-width: 620px) {
  .mp-stats, .mp-grid-3 { grid-template-columns: 1fr; }
  .mp-topbar { padding: 0 14px; }
  .mp-topbar-right { display: none; }
  .mp-sidebar-foot { display: none; }
  .mp-qty-pair, .mp-sold-input-row { grid-template-columns: 1fr; }
}
/* Overlay variable scope + opaque modal fixes */
.mp-overlay {
  --bg: #f5f0e8;
  --surface: #faf7f2;
  --green: #1d3d2f;
  --green-m: #2d5c45;
  --green-l: #e8f0eb;
  --green-ll: #f0f5f1;
  --amber: #c97b2a;
  --amber-l: #fdf0dc;
  --red: #b03a2e;
  --red-l: #fdecea;
  --muted: #8a8070;
  --border: #ddd8cc;
  --text: #1a1612;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--text);
}
.mp-modal { background: var(--surface) !important; opacity: 1 !important; }
.mp-meal-opt { background: var(--surface) !important; }
.mp-modal-close { background: var(--surface) !important; }
/* Full calendar layout fixes */
#mp-cal-full .mp-cal-grid {
  gap: 8px;
}
#mp-cal-full .mp-cal-day {
  aspect-ratio: auto;
  min-height: 128px;
  align-items: stretch;
  justify-content: flex-start;
  padding: 8px;
}
#mp-cal-full .mp-cal-day-num {
  margin-bottom: 6px;
}
#mp-cal-full .mp-cal-day-meal {
  font-size: 11px;
}

/* Keep compact dashboard calendar compact */
#mp-cal-dash .mp-cal-day {
  aspect-ratio: 1;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* Mobile: full calendar becomes dot-only to avoid text stacking */
@media (max-width: 700px) {
  #mp-cal-full .mp-cal-grid,
  #mp-cal-full .mp-cal-head {
    gap: 3px;
  }
  #mp-cal-full .mp-cal-day {
    aspect-ratio: 1;
    min-height: 44px;
    padding: 4px;
    align-items: center;
    justify-content: center;
  }
  #mp-cal-full .mp-cal-day-num {
    width: auto;
    margin-bottom: 0;
  }
  #mp-cal-full .mp-cal-day-badge {
    display: none;
  }
  #mp-cal-full .mp-cal-day-meal {
    display: none;
  }
}
/* Workweek only: Mon-Fri */
.mp-cal-head,
.mp-cal-grid,
#mp-cal-full .mp-cal-head,
#mp-cal-full .mp-cal-grid,
#mp-cal-dash .mp-cal-head,
#mp-cal-dash .mp-cal-grid {
  grid-template-columns: repeat(5, 1fr);
}
.mp-price-lines{display:flex;flex-direction:column;gap:2px;line-height:1.2}
.mp-price-lines span{display:block}

.mp-delivery-price-lines{display:flex;flex-direction:column;align-items:flex-end;gap:2px;line-height:1.15}
.mp-delivery-price-lines span{display:block}

.mp-meal-opt-price-lines{display:flex;flex-direction:column;align-items:flex-end;gap:1px;line-height:1.15}
.mp-meal-opt-price-lines span{display:block}

/* Price typography: bold netto, smaller normal brutto */
.mp-price-lines,
.mp-delivery-price-lines,
.mp-meal-opt-price-lines {
  font-weight: 400;
}
.mp-price-lines span:first-child,
.mp-delivery-price-lines span:first-child,
.mp-meal-opt-price-lines span:first-child {
  font-weight: 700;
  font-size: 1em;
}
.mp-price-lines span:last-child,
.mp-delivery-price-lines span:last-child,
.mp-meal-opt-price-lines span:last-child {
  font-weight: 400;
  font-size: .88em;
  opacity: .88;
}

/* Standalone calendar shortcode (outside the shell) */
.mp-portal--standalone {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 0;
}
.mp-portal--standalone > .mp-card:first-child .mp-card-body {
  padding: 22px 26px;
}
.mp-portal--standalone #mp-cal-full {
  width: 100%;
}

/* Ordered day: day-number row gets surface bg so it pops on green */
#mp-cal-full .mp-cal-day.is-ordered .mp-cal-day-num {
  background: var(--surface);
  border-radius: 5px;
  padding: 2px 5px;
  margin: -2px -3px 4px;
  color: var(--green);
}
/* Non-ordered: no background */
#mp-cal-full .mp-cal-day:not(.is-ordered) .mp-cal-day-num {
  background: transparent;
}

/* Minimum-order validation hint */
.mp-min-order-hint {
  font-size: .72rem;
  color: var(--red, #b03a2e);
  background: var(--red-l, #fdecea);
  border: 1px solid rgba(176,58,46,.18);
  border-radius: 7px;
  padding: 7px 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

/* View-only modal CTA banner */
.mp-view-cta {
  background: var(--green-ll);
  border: 1px solid var(--green-l);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  margin-top: 6px;
}
.mp-view-cta-icon { font-size: 1.6rem; margin-bottom: 8px; }
.mp-view-cta-text {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 4px;
}


.mp-portal--standalone .mp-card-head {
  justify-content: center;
  text-align: center;
}

.mp-portal--standalone .mp-card-title {
  width: 100%;
  text-align: center;
}