/* ============================================================
   Moneyweb Kontrolpanel — calm, modern, light.
   Loads ONLY on the panel page, so it hides the WordPress chrome.
   ============================================================ */

#adminmenumain, #adminmenuback, #adminmenuwrap, #wpadminbar,
#wpfooter, #screen-meta, #screen-meta-links, .update-nag, .notice { display: none !important; }
#wpcontent, #wpbody, #wpbody-content { margin: 0 !important; padding: 0 !important; float: none !important; width: 100% !important; }
html.wp-toolbar { padding-top: 0 !important; }
#wpwrap, html, body { background: #f6f7f9 !important; height: 100%; }

:root {
  --mp-ink: #16181d;
  --mp-navy: #1c2128;
  --mp-muted: #6f7681;
  --mp-faint: #9aa1ad;
  --mp-line: #ecedf1;
  --mp-line2: #e3e5ea;
  --mp-bg: #f6f7f9;
  --mp-card: #ffffff;
  --mp-accent: #2f7351;
  --mp-accent-soft: #eef4f0;
  --mp-radius: 20px;
}

#mwh-panel-root { position: fixed; inset: 0; height: 100vh; max-height: 100vh; z-index: 99990; display: flex; flex-direction: column; background: var(--mp-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--mp-ink); -webkit-font-smoothing: antialiased; }
#mwh-panel-root *, #mwh-panel-root *::before, #mwh-panel-root *::after { box-sizing: border-box; }
/* All panel text in Comfortaa (overrides every font: shorthand via id specificity) */
#mwh-panel-root, #mwh-panel-root * { font-family: 'Comfortaa', -apple-system, "Segoe UI", Roboto, sans-serif; }
/* Thinner, more refined Lucide icons */
#mwh-panel-root svg.lucide { stroke-width: 1.5px; }
.mwh-panel-boot { padding: 44px; color: var(--mp-muted); font: 500 15px/1.5 -apple-system,sans-serif; }

/* ---------- Top bar ---------- */
.mp-top { flex: 0 0 auto; height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: #fff; border-bottom: 1px solid var(--mp-line); position: relative; z-index: 5; }
.mp-logo { display: inline-flex; align-items: center; gap: 9px; user-select: none; }
.mp-logo__mark { width: 29px; height: 26px; flex: 0 0 auto; }
.mp-logo__img { height: 27px; width: auto; display: block; }
.mp-logo__wm { font: 800 20px/1 -apple-system, "Segoe UI", Roboto, sans-serif; color: #16181d; letter-spacing: -.6px; }
.mp-logo__wm sup { color: #a9c63e; font-size: .5em; font-weight: 800; vertical-align: super; margin-left: 1px; }
.mp-crumb { display: flex; align-items: center; gap: 8px; color: var(--mp-muted); font-size: 14px; }
.mp-crumb b { color: var(--mp-ink); font-weight: 600; }
.mp-autosave { display: inline-flex; align-items: center; gap: 6px; color: var(--mp-accent); font: 500 12.5px/1 -apple-system,sans-serif; opacity: .85; }
.mp-device { display: inline-flex; gap: 2px; background: #f0f1f4; border-radius: 9px; padding: 2px; margin-right: 8px; }
.mp-device__b { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none; background: none; color: var(--mp-muted); padding: 5px 10px; border-radius: 7px; }
.mp-device__b.on { background: #fff; color: var(--mp-ink); box-shadow: 0 1px 2px rgba(16,24,40,.1); }
.mp-device__b:hover:not(.on) { color: var(--mp-ink); }
.mp-device__b svg { width: 16px; height: 16px; }
.mp-pv--mobile { border-radius: 24px !important; box-shadow: 0 10px 44px rgba(16,24,40,.20) !important; }
.mp-autosave svg { width: 15px; height: 15px; }
.mp-top__sp { flex: 1 1 auto; }
.mp-top__actions { display: flex; align-items: center; gap: 6px; }
.mp-btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: none; font: 550 13.5px/1 -apple-system,sans-serif; padding: 8px 12px; border-radius: 9px; background: transparent; color: var(--mp-muted); text-decoration: none; transition: background .12s, color .12s; }
.mp-btn:hover { background: #f0f1f4; color: var(--mp-ink); }
.mp-btn svg { width: 15px; height: 15px; }
.mp-btn--ghost { color: var(--mp-muted); }
.mp-btn--back { background: #f0f1f4; color: var(--mp-ink); font-weight: 600; }
.mp-btn--back:hover { background: #e7e9ee; }
.mp-btn--tool { color: var(--mp-muted); }
.mp-btn--reset:hover { background: #fbeceb; color: #b4232a; }
.mp-user { color: var(--mp-faint); font-size: 13px; padding: 0 6px 0 2px; }

.mp-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; position: relative; }
.mp-body--fixed { overflow: hidden; }

/* ---------- Home: page picker ---------- */
.mp-picker { height: 100%; overflow-y: auto; padding: 48px 40px 70px; }
.mp-picker__h { max-width: 1160px; margin: 0 auto; font: 700 27px/1.2 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.5px; }
.mp-picker__s { max-width: 1160px; margin: 9px auto 36px; color: var(--mp-muted); font-size: 15px; }
.mp-picker__lbl { max-width: 1160px; margin: 0 auto 14px; font: 600 12px/1 -apple-system,sans-serif; text-transform: uppercase; letter-spacing: .7px; color: var(--mp-faint); }
.mp-pgrid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.mp-pcard { display: flex; flex-direction: column; text-align: left; cursor: pointer; border: 1px solid var(--mp-line); padding: 0; background: var(--mp-card); border-radius: var(--mp-radius); overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.03); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.mp-pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,24,40,.10); border-color: var(--mp-line2); }
.mp-pcard__hero { position: relative; display: block; height: 168px; overflow: hidden; background: #eef0f3; border-bottom: 1px solid var(--mp-line); }
.mp-shot { position: absolute; top: 0; left: 0; transform-origin: top left; border: 0; pointer-events: none; background: #fff; opacity: 0; transition: opacity .35s ease; }
.mp-pcard__hero.shot-ready .mp-shot { opacity: 1; }
.mp-pcard__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #cdd2da; }
.mp-pcard__ph svg { width: 34px; height: 34px; }
.mp-pcard__hero.shot-ready .mp-pcard__ph { display: none; }
.mp-pcard__ft { padding: 15px 16px; display: flex; align-items: center; gap: 12px; }
.mp-pcard__fic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--mp-accent-soft); color: var(--mp-accent); display: flex; align-items: center; justify-content: center; }
.mp-pcard__fic svg { width: 19px; height: 19px; }
.mp-pcard__ftx { min-width: 0; }
.mp-pcard__name { display: block; font: 650 16px/1.25 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.2px; }
.mp-pcard__sub { display: block; margin-top: 2px; color: var(--mp-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Compact list of the individual service pages (children of "Ydelser") */
.mp-picker__lbl--svc { margin-top: 44px; }
.mp-picker__lbl-x { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--mp-faint); }
.mp-slist { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mp-scard { display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; border: 1px solid var(--mp-line); background: var(--mp-card); border-radius: 12px; padding: 11px 13px; transition: border-color .13s, box-shadow .13s, transform .13s; }
.mp-scard:hover { border-color: var(--mp-line2); box-shadow: 0 8px 20px rgba(16,24,40,.07); transform: translateY(-1px); }
.mp-scard__ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: var(--mp-accent-soft); color: var(--mp-accent); display: flex; align-items: center; justify-content: center; }
.mp-scard__ic svg { width: 17px; height: 17px; }
.mp-scard__name { flex: 1 1 auto; min-width: 0; font: 550 14px/1.3 -apple-system,sans-serif; color: var(--mp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-scard__go { flex: 0 0 auto; color: #cdd2da; }
.mp-scard__go svg { width: 16px; height: 16px; display: block; }

/* ---------- Start hub: content vs. company settings ---------- */
.mp-hubwrap { max-width: 900px; margin: 0 auto; padding: 58px 24px 70px; position: relative; }
.mp-hubwrap::before { content: ""; position: fixed; top: -12%; right: -6%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(47,115,81,.16), rgba(47,115,81,0) 68%); filter: blur(18px); pointer-events: none; z-index: 0; }
.mp-hubwrap::after { content: ""; position: fixed; bottom: -14%; left: -8%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(171,197,58,.14), rgba(171,197,58,0) 68%); filter: blur(18px); pointer-events: none; z-index: 0; }
.mp-hubwrap > * { position: relative; z-index: 1; }
.mp-hublist { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 14px; margin-top: 30px; }
.mp-hub { display: flex; align-items: center; gap: 16px; text-align: left; cursor: pointer; width: 100%; border: 1px solid var(--mp-line); background: var(--mp-card); border-radius: 20px; padding: 21px 22px; box-shadow: 0 1px 2px rgba(16,24,40,.03); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.mp-hub--empty { opacity: .62; }
.mp-hub:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(16,24,40,.11); border-color: var(--mp-line2); }
.mp-hub__ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--mp-accent-soft); color: var(--mp-accent); display: flex; align-items: center; justify-content: center; }
.mp-hub__ic svg { width: 26px; height: 26px; }
.mp-hub__tx { flex: 1 1 auto; min-width: 0; }
.mp-hub__name { display: block; font: 700 18px/1.25 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.3px; }
.mp-hub__desc { display: block; margin-top: 4px; color: var(--mp-muted); font-size: 14px; line-height: 1.5; }
.mp-hub__go { flex: 0 0 auto; color: #c4cbd6; }
.mp-hub__go svg { width: 20px; height: 20px; display: block; }
.mp-hub:hover .mp-hub__go { color: var(--mp-accent); }

/* ---------- Firma & kontakt settings form ---------- */
.mp-settings { max-width: 640px; margin: 0 auto; padding: 46px 24px 80px; }
.mp-settings__hd { margin-bottom: 24px; }
.mp-settings__t { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 26px/1.2 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.5px; }
.mp-settings__t svg { width: 24px; height: 24px; color: var(--mp-accent); }
.mp-settings__s { margin: 10px 0 0; color: var(--mp-muted); font-size: 15px; line-height: 1.6; }
.mp-settings__body { background: #fff; border: 1px solid var(--mp-line); border-radius: 20px; padding: 8px 22px 22px; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.mp-settings__body .mp-grp:first-child { margin-top: 16px; }
.mp-settings__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

.mp-addbtn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: none; background: var(--mp-accent); color: #fff; font: 600 13.5px/1 -apple-system,sans-serif; padding: 10px 15px; border-radius: 10px; transition: background .12s; }
.mp-addbtn:hover { background: #285f43; }
.mp-addbtn svg { width: 16px; height: 16px; }
.mp-addbtn--big { padding: 13px 22px; font-size: 15px; }

.mp-empty { text-align: center; padding: 46px 20px 34px; }
.mp-empty__ic { display: inline-flex; width: 62px; height: 62px; border-radius: 50%; background: var(--mp-accent-soft); color: var(--mp-accent); align-items: center; justify-content: center; margin-bottom: 16px; }
.mp-empty__ic svg { width: 28px; height: 28px; }
.mp-empty p { margin: 0 0 22px; color: var(--mp-muted); font-size: 15px; }

/* Entry-card overview (collections → click a card to edit) */
.mp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.mp-ecard { position: relative; display: flex; align-items: center; gap: 13px; cursor: pointer; border: 1px solid var(--mp-line); background: var(--mp-card); border-radius: 16px; padding: 13px 15px; transition: border-color .13s, box-shadow .13s, transform .13s; }
.mp-ecard:hover { border-color: var(--mp-line2); box-shadow: 0 10px 24px rgba(16,24,40,.09); transform: translateY(-1px); }
.mp-ecard__thumb { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 10px; background: #eef0f3 center/cover no-repeat; border: 1px solid var(--mp-line); }
.mp-ecard__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--mp-accent-soft); color: var(--mp-accent); display: flex; align-items: center; justify-content: center; }
.mp-ecard__ic svg { width: 21px; height: 21px; }
.mp-ecard__name { flex: 1 1 auto; min-width: 0; font: 650 15px/1.3 -apple-system,sans-serif; color: var(--mp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-ecard__del { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none; background: none; color: #c4cbd6; padding: 6px; border-radius: 8px; transition: background .12s, color .12s; }
.mp-ecard__del:hover { background: #fbeceb; color: #b4232a; }
.mp-ecard__del svg { width: 16px; height: 16px; display: block; }
.mp-ecard__go { flex: 0 0 auto; color: #cdd2da; }
.mp-ecard__go svg { width: 18px; height: 18px; display: block; }

/* Galleri — image manager */
.mp-gallery__hint { display: flex; align-items: flex-start; gap: 8px; background: var(--mp-accent-soft); color: #2b5a41; border-radius: 10px; padding: 11px 13px; font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.mp-gallery__hint svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; color: var(--mp-accent); }
.mp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.mp-gcard { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 1px solid var(--mp-line); background: #eef0f3; }
.mp-gcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-gcard__del { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none; background: rgba(255,255,255,.92); color: #b4232a; width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 2px 8px rgba(16,24,40,.18); }
.mp-gcard__del:hover { background: #fff; }
.mp-gcard__del svg { width: 16px; height: 16px; }
.mp-gcard--add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: pointer; background: var(--mp-card); border: 1.5px dashed var(--mp-line2); color: var(--mp-muted); font: 600 13px/1.2 -apple-system,sans-serif; text-align: center; }
.mp-gcard--add:hover { border-color: var(--mp-accent); color: var(--mp-accent); background: var(--mp-accent-soft); }
.mp-gcard--add svg { width: 24px; height: 24px; }
.mp-gcard--add input { display: none; }

/* Henvendelser (leads) */
.mp-leads { display: flex; flex-direction: column; gap: 12px; }
.mp-lead { background: var(--mp-card); border: 1px solid var(--mp-line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.mp-lead__hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--mp-line); }
.mp-lead__name { font: 700 16px/1.2 -apple-system,sans-serif; color: var(--mp-ink); }
.mp-lead__date { flex: 0 0 auto; color: var(--mp-faint); font-size: 12.5px; }
.mp-lead__row { display: flex; gap: 12px; padding: 4px 0; font-size: 14px; line-height: 1.5; }
.mp-lead__k { flex: 0 0 92px; color: var(--mp-muted); }
.mp-lead__v { min-width: 0; color: var(--mp-ink); white-space: pre-wrap; word-break: break-word; }
.mp-lead__v a { color: var(--mp-accent); text-decoration: none; }
.mp-lead__v a:hover { text-decoration: underline; }

/* Farver */
.mp-colwrap { position: relative; }
.mp-colbar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 13px 20px; background: #fff; border-bottom: 1px solid var(--mp-line); }
/* Farver = a live "design profile" board: site preview + component mockups */
.mp-board { display: flex; gap: 22px; align-items: flex-start; padding: 24px; background: #eef0f3; min-height: calc(100% - 66px); max-width: 1480px; margin: 0 auto; }
.mp-board__pv { position: relative; flex: 1 1 auto; min-width: 0; height: 560px; border-radius: 18px; overflow: hidden; border: 1px solid var(--mp-line); background: #fff; box-shadow: 0 8px 40px rgba(16,24,40,.12); }
.mp-board__if { position: absolute; top: 0; left: 0; transform-origin: top left; border: 0; background: #fff; pointer-events: none; }
.mp-board__side { flex: 0 0 320px; display: flex; flex-direction: column; gap: 16px; }
.mp-mock { background: #fff; border: 1px solid var(--mp-line); border-radius: 16px; box-shadow: 0 4px 20px rgba(16,24,40,.07); padding: 15px 16px; }
.mp-mock__h { font: 700 11px/1 'Comfortaa', -apple-system, sans-serif; text-transform: uppercase; letter-spacing: .7px; color: var(--mp-faint); margin-bottom: 13px; }
.mp-mock__sw { display: flex; gap: 6px; }
.mp-mock__sw span { flex: 1; height: 42px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.mp-mock__btns { display: flex; flex-direction: column; gap: 10px; }
.mp-mbtn { display: block; text-align: center; padding: 13px 20px; border-radius: 999px; font: 700 14px/1 'Comfortaa', sans-serif; }
.mp-mbtn--pri { background: var(--bs); color: #fff; }
.mp-mbtn--sec { background: var(--bn); color: #fff; }
.mp-mfoot { background: var(--bd); border-radius: 12px; padding: 16px 16px 18px; }
.mp-mfoot__b { display: block; color: #fff; font: 800 16px/1 'Comfortaa', sans-serif; margin-bottom: 13px; }
.mp-mfoot__l { display: flex; gap: 8px; margin-bottom: 15px; }
.mp-mfoot__l i { height: 8px; width: 42px; background: rgba(255,255,255,.28); border-radius: 4px; }
.mp-mfoot__cta { display: inline-block; background: var(--bs); color: #fff; border-radius: 999px; padding: 8px 16px; font: 700 12px/1 'Comfortaa', sans-serif; }
@media (max-width: 920px) { .mp-board { flex-direction: column; } .mp-board__side { flex: 0 0 auto; width: 100%; flex-direction: row; flex-wrap: wrap; } .mp-board__side .mp-mock { flex: 1 1 220px; } }
.mp-colbar__l { display: flex; flex-direction: column; min-width: 0; }
.mp-colbar__t { display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 -apple-system,sans-serif; color: var(--mp-ink); }
.mp-colbar__t svg { width: 17px; height: 17px; color: var(--mp-accent); }
.mp-colbar__s { color: var(--mp-muted); font-size: 12.5px; margin-top: 3px; }
.mp-colbar__sp { flex: 1 1 auto; }
.mp-colctl { display: inline-flex; align-items: center; gap: 12px; }
.mp-colctl__x { color: var(--mp-faint); font-size: 15px; }
.mp-colpick { display: inline-flex; align-items: center; gap: 8px; background: #f7f8fa; border: 1px solid var(--mp-line2); border-radius: 12px; padding: 5px 12px 5px 5px; }
.mp-colpick__sw { width: 34px; height: 34px; border-radius: 9px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.mp-colpick input[type=text] { width: 82px; border: none; background: none; font: 700 14px/1 -apple-system,sans-serif; text-transform: uppercase; color: var(--mp-ink); }
.mp-colpick input[type=text]:focus { outline: none; }
.mp-swatches { display: inline-flex; gap: 5px; }
.mp-sw { width: 24px; height: 24px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* Custom colour picker popover */
.mp-cp { position: absolute; z-index: 60; width: 236px; background: #fff; border: 1px solid var(--mp-line); border-radius: 14px; box-shadow: 0 18px 48px rgba(16,24,40,.24); padding: 12px; }
.mp-cp__sv { position: relative; height: 150px; border-radius: 10px; cursor: crosshair; margin-bottom: 13px; touch-action: none; }
.mp-cp__dot { position: absolute; width: 15px; height: 15px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.3); transform: translate(-50%, -50%); pointer-events: none; }
.mp-cp__hue { position: relative; height: 14px; border-radius: 7px; cursor: pointer; margin-bottom: 13px; touch-action: none; background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%); }
.mp-cp__hbar { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.3); transform: translate(-50%, -50%); pointer-events: none; }
.mp-cp__presets { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.mp-cp__pre { aspect-ratio: 1; border-radius: 6px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: transform .1s; }
.mp-cp__pre:hover { transform: scale(1.14); }

/* ---------- 3 columns ---------- */
.mp-cols { height: 100%; display: flex; }

.mp-sidebar { flex: 0 0 248px; background: #fff; border-right: 1px solid var(--mp-line); display: flex; flex-direction: column; }
.mp-sidebar__hd { flex: 0 0 auto; padding: 18px 18px 12px; }
.mp-sidebar__t { font: 700 14px/1 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.1px; }
.mp-sidebar__s { color: var(--mp-faint); font-size: 12px; margin-top: 4px; }
.mp-sidebar__list { flex: 1 1 auto; overflow-y: auto; padding: 4px 10px 20px; }
.mp-si { width: 100%; display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; border: none; background: none; padding: 8px; border-radius: 10px; margin-bottom: 1px; transition: background .1s; }
.mp-si:hover { background: #f4f5f7; }
.mp-si.active { background: var(--mp-accent-soft); }
.mp-si__ic { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: #f1f2f5; color: var(--mp-muted); display: flex; align-items: center; justify-content: center; }
.mp-si__ic svg { width: 16px; height: 16px; }
.mp-si.active .mp-si__ic { background: #fff; color: var(--mp-accent); box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.mp-si__tx { flex: 1 1 auto; min-width: 0; }
.mp-si__name { display: block; font: 550 13.5px/1.3 -apple-system,sans-serif; color: var(--mp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-si.active .mp-si__name { color: var(--mp-accent); font-weight: 650; }
.mp-si__k { display: block; font-size: 11px; color: var(--mp-faint); margin-top: 1px; }
.mp-si__go { flex: 0 0 auto; color: #cdd2da; } .mp-si__go svg { width: 15px; height: 15px; display: block; }
.mp-si__now { flex: 0 0 auto; color: var(--mp-accent); display: flex; } .mp-si__now svg { width: 15px; height: 15px; }
.mp-si__del { flex: 0 0 auto; display: none; align-items: center; justify-content: center; cursor: pointer; border: none; background: none; color: #c4cbd6; padding: 4px; border-radius: 7px; }
.mp-si:hover .mp-si__del { display: inline-flex; }
.mp-si__del:hover { background: #fbeceb; color: #b4232a; }
.mp-si__del svg { width: 15px; height: 15px; display: block; }
.mp-si-add { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; margin-top: 8px; border: 1.5px dashed var(--mp-line2); background: none; color: var(--mp-muted); font: 600 13px/1 -apple-system,sans-serif; padding: 11px; border-radius: 11px; }
.mp-si-add:hover { border-color: var(--mp-accent); color: var(--mp-accent); background: var(--mp-accent-soft); }
.mp-si-add svg { width: 15px; height: 15px; }
.mp-si__branch { display: none; }
.mp-si--child { margin-left: 20px; border-left: 1.5px solid var(--mp-line2); border-radius: 0 10px 10px 0; padding-left: 10px; }
.mp-si--child:hover, .mp-si--child.active { border-left-color: var(--mp-accent); }
.mp-si--child .mp-si__ic { width: 27px; height: 27px; background: transparent; color: var(--mp-faint); }
.mp-si--child.active .mp-si__ic { color: var(--mp-accent); box-shadow: none; }
.mp-si--child .mp-si__name { font-size: 13px; }

.mp-stage { flex: 1 1 auto; min-width: 0; background: #eef0f3; padding: 16px; overflow: hidden; }
/* Width/height are set by fitPreview() so we render at full desktop width and scale down. */
.mp-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 4px 20px rgba(16,24,40,.08); transform-origin: top left; }

.mp-edit { flex: 0 0 404px; background: #fff; border-left: 1px solid var(--mp-line); display: flex; flex-direction: column; }
.mp-edit__hd { flex: 0 0 auto; padding: 20px 22px 15px; border-bottom: 1px solid var(--mp-line); }
.mp-edit__t { display: flex; align-items: center; gap: 8px; font: 700 17px/1 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.2px; }
.mp-edit__t svg { width: 18px; height: 18px; color: var(--mp-accent); }
.mp-edit__s { color: var(--mp-muted); font-size: 13px; line-height: 1.55; margin-top: 6px; }
.mp-edit__body { flex: 1 1 auto; overflow-y: auto; padding: 12px 18px 60px; }
.mp-none { color: var(--mp-muted); text-align: center; padding: 40px 20px; }

.mp-grp { font: 700 12.5px/1.35 -apple-system,sans-serif; color: var(--mp-muted); margin: 22px 6px 9px; padding-bottom: 7px; border-bottom: 1px solid var(--mp-line); }
.mp-grp--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mp-grp__del { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border: none; background: none; color: #b6bcc6; padding: 4px; border-radius: 7px; transition: background .12s, color .12s; }
.mp-grp__del:hover { background: #fbeceb; color: #b4232a; }
.mp-grp__del svg { width: 15px; height: 15px; display: block; }
.mp-fld { border-radius: 12px; padding: 9px 12px; margin-bottom: 2px; background: transparent; transition: background .12s, box-shadow .12s; }
.mp-fld:focus-within { background: #f7f8fa; }
.mp-fld.inview { background: #f7f8fa; box-shadow: inset 3px 0 0 var(--mp-accent); }
.mp-fld.hover { background: #f2f6f4; }
.mp-fld__l { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 650 13.5px/1.3 -apple-system,sans-serif; color: var(--mp-ink); margin-bottom: 7px; letter-spacing: -.1px; }
.mp-fld input[type=text], .mp-fld textarea { width: 100%; border: 1px solid var(--mp-line2); border-radius: 12px; padding: 12px 14px; font: 450 15px/1.5 -apple-system,sans-serif; color: var(--mp-ink); background: #fff; resize: vertical; }
.mp-fld input[type=text]:focus, .mp-fld textarea:focus { outline: none; border-color: var(--mp-accent); box-shadow: 0 0 0 3px rgba(47,115,81,.10); }
.mp-fld textarea { min-height: 82px; }
.mp-fld__ok { display: none; align-items: center; gap: 5px; color: var(--mp-accent); font: 600 11.5px/1 -apple-system,sans-serif; flex: 0 0 auto; }
.mp-fld__ok.on { display: inline-flex; }
.mp-fld__ok svg { width: 13px; height: 13px; }

.mp-imgrow { display: flex; align-items: center; gap: 12px; }
.mp-imgrow__t { width: 90px; height: 60px; object-fit: cover; border-radius: 9px; background: #f1f2f5; border: 1px solid var(--mp-line); flex: 0 0 auto; }
.mp-imgrow__btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font: 600 13px/1 -apple-system,sans-serif; color: var(--mp-accent); background: var(--mp-accent-soft); padding: 10px 14px; border-radius: 10px; }
.mp-imgrow__btn:hover { background: #e4efe9; }
.mp-imgrow__btn svg { width: 15px; height: 15px; }
.mp-imgrow__btn input { display: none; }

/* Mediebibliotek-indgange: "Upload nyt" + "Vælg fra dine medier" som to
   knapper oven på hinanden ved hvert billede-/mediefelt. */
.mp-imgrow__btns { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; min-width: 0; }
button.mp-imgrow__btn { border: 0; font-family: inherit; }
.mp-imgrow__btn--lib { background: #f0f1f4; color: var(--mp-ink); }
.mp-imgrow__btn--lib:hover { background: #e7e9ee; }

/* ---------- Confirm dialog ---------- */
.mp-cfm { position: fixed; inset: 0; z-index: 100060; background: rgba(22,24,29,.4); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.mp-cfm__box { width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 30px 28px 22px; text-align: center; box-shadow: 0 30px 70px rgba(16,24,40,.28); animation: mphdIn .2s ease; }
.mp-cfm__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--mp-accent-soft); color: var(--mp-accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.mp-cfm__ic.danger { background: #fbeceb; color: #b4232a; }
.mp-cfm__ic svg { width: 26px; height: 26px; }
.mp-cfm__box h3 { margin: 0 0 9px; font: 700 20px/1.25 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.3px; }
.mp-cfm__box p { margin: 0 0 24px; color: var(--mp-muted); font-size: 14px; line-height: 1.6; }
.mp-cfm__ft { display: flex; gap: 10px; justify-content: center; }
.mp-cfm__ft button { cursor: pointer; border: none; font: 600 14px/1 -apple-system,sans-serif; padding: 12px 22px; border-radius: 12px; }
.mp-cfm__ghost { background: #f0f1f4; color: var(--mp-ink); } .mp-cfm__ghost:hover { background: #e7e9ee; }
.mp-cfm__go { background: var(--mp-accent); color: #fff; } .mp-cfm__go:hover { background: #285f43; }
.mp-cfm__danger { background: #b4232a; color: #fff; } .mp-cfm__danger:hover { background: #9a1d24; }

/* ---------- History drawer ---------- */
.mp-hdrawer { position: fixed; inset: 0; z-index: 100040; background: rgba(22,24,29,.4); backdrop-filter: blur(2px); display: flex; justify-content: flex-end; }
.mp-hd { width: 430px; max-width: 92vw; height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -16px 0 50px rgba(16,24,40,.22); animation: mphdIn .2s ease; }
@keyframes mphdIn { from { transform: translateX(24px); opacity: .5; } to { transform: none; opacity: 1; } }
.mp-hd__hd { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 19px 22px 15px; border-bottom: 1px solid var(--mp-line); }
.mp-hd__hd h3 { margin: 0; display: flex; align-items: center; gap: 9px; font: 700 19px/1 -apple-system,sans-serif; color: var(--mp-ink); letter-spacing: -.2px; }
.mp-hd__hd h3 svg { width: 19px; height: 19px; color: var(--mp-accent); }
.mp-hd__x { background: none; border: none; cursor: pointer; color: var(--mp-faint); padding: 6px; border-radius: 9px; } .mp-hd__x:hover { background: #f1f2f5; color: var(--mp-ink); } .mp-hd__x svg { width: 20px; height: 20px; display: block; }
.mp-hd__sub { flex: 0 0 auto; padding: 13px 22px; color: var(--mp-muted); font-size: 12.5px; line-height: 1.55; background: #f9fafb; border-bottom: 1px solid var(--mp-line); }
.mp-hd__list { flex: 1 1 auto; overflow-y: auto; padding: 14px 16px 40px; }
.mp-hi { border: 1px solid var(--mp-line); border-radius: 13px; padding: 13px 14px; margin-bottom: 10px; }
.mp-hi--event { background: var(--mp-accent-soft); border-color: #dbe8e1; }
.mp-hi--event.reset { background: #fbeceb; border-color: #f3d4d3; }
.mp-hi--event .mp-hi__label { display: inline-flex; align-items: center; gap: 7px; color: var(--mp-accent); }
.mp-hi--event.reset .mp-hi__label { color: #b4232a; }
.mp-hi--event .mp-hi__label svg { width: 15px; height: 15px; }
.mp-hi__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mp-hi__label { font: 650 14px/1.2 -apple-system,sans-serif; color: var(--mp-ink); }
.mp-hi__time { flex: 0 0 auto; color: var(--mp-faint); font-size: 12px; }
.mp-hi__page { color: var(--mp-muted); font-size: 12.5px; margin-top: 2px; }
.mp-hi__val { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 12.5px; }
.mp-hi__val svg { width: 14px; height: 14px; color: var(--mp-faint); flex: 0 0 auto; }
.mp-hi__val .old { color: #b4232a; text-decoration: line-through; opacity: .75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 44%; }
.mp-hi__val .new { color: var(--mp-accent); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 44%; }
.mp-hi__btn { margin-top: 11px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: 1px solid var(--mp-line2); background: #fff; color: var(--mp-ink); font: 600 12.5px/1 -apple-system,sans-serif; padding: 8px 12px; border-radius: 9px; }
.mp-hi__btn:hover { background: #f4f5f7; border-color: #d6d9df; }
.mp-hi__btn svg { width: 14px; height: 14px; }
.mp-hi-empty { text-align: center; color: var(--mp-muted); padding: 50px 20px; }
.mp-hi-empty svg { width: 32px; height: 32px; color: #cdd2da; margin-bottom: 12px; }
.mp-hi-empty p { font-size: 13.5px; line-height: 1.6; margin: 0; }

/* ---------- Toast ---------- */
.mp-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(16px); background: var(--mp-ink); color: #fff; padding: 12px 20px; border-radius: 11px; font: 550 14px/1 -apple-system,sans-serif; box-shadow: 0 14px 34px rgba(16,24,40,.28); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100000; }
.mp-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.mp-toast.err { background: #b4232a; }

@media (max-width: 1000px) {
  .mp-cols { flex-wrap: wrap; }
  .mp-sidebar { flex: 0 0 100%; max-height: 120px; border-right: none; border-bottom: 1px solid var(--mp-line); }
  .mp-sidebar__list { display: flex; gap: 6px; overflow-x: auto; }
  .mp-si { width: auto; flex: 0 0 auto; }
  .mp-si--child { margin-left: 0; border-left: none; }
  .mp-stage { flex: 1 1 60%; }
  .mp-edit { flex: 1 1 40%; border-left: none; }
}

/* ---------- Menu editor ---------- */
.mp-panel-boot { padding: 44px 4px; color: var(--mp-muted); font: 500 15px/1.5 -apple-system,sans-serif; }
.mp-mlist { display: flex; flex-direction: column; gap: 12px; }
.mp-mrow { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--mp-line); border-radius: 16px; padding: 14px 14px 16px; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.mp-mord { display: flex; flex-direction: column; gap: 4px; padding-top: 22px; }
.mp-miconbtn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 26px; cursor: pointer; border: 1px solid var(--mp-line2); background: #fff; color: var(--mp-muted); border-radius: 8px; transition: background .12s, color .12s, border-color .12s; }
.mp-miconbtn:hover:not(:disabled) { background: var(--mp-accent-soft); color: var(--mp-accent); border-color: var(--mp-accent); }
.mp-miconbtn:disabled { opacity: .32; cursor: default; }
.mp-miconbtn svg { width: 16px; height: 16px; }
.mp-miconbtn--del { align-self: flex-start; margin-top: 22px; width: 34px; height: 34px; }
.mp-miconbtn--del:hover { background: #fdecec; color: #c0392b; border-color: #e9b7b1; }
.mp-mmain { flex: 1 1 auto; min-width: 0; }
.mp-mtag { display: inline-block; font: 600 11px/1 -apple-system,sans-serif; text-transform: uppercase; letter-spacing: .5px; color: var(--mp-accent); background: var(--mp-accent-soft); padding: 4px 8px; border-radius: 6px; margin-bottom: 10px; }
.mp-mlbl { display: block; font: 600 11.5px/1 -apple-system,sans-serif; text-transform: uppercase; letter-spacing: .5px; color: var(--mp-faint); margin: 12px 0 5px; }
.mp-mmain > .mp-mlbl:first-of-type { margin-top: 0; }
.mp-minput { width: 100%; box-sizing: border-box; border: 1px solid var(--mp-line2); border-radius: 9px; padding: 9px 11px; font: 500 14px/1.3 -apple-system,sans-serif; color: var(--mp-ink); background: #fff; transition: border-color .12s, box-shadow .12s; }
.mp-minput:focus { outline: none; border-color: var(--mp-accent); box-shadow: 0 0 0 3px rgba(47,115,81,.12); }
.mp-minput--label { font-weight: 600; }
.mp-mslug { display: flex; align-items: center; gap: 2px; font: 600 14px/1 -apple-system,sans-serif; color: var(--mp-muted); }
.mp-mslug .mp-minput--slug { text-align: left; }
.mp-mlink { font: 500 13.5px/1.3 -apple-system,sans-serif; color: var(--mp-muted); background: var(--mp-bg); border: 1px solid var(--mp-line); border-radius: 9px; padding: 9px 11px; word-break: break-all; }
.mp-mlink--ro { color: var(--mp-faint); }
.mp-mhint { display: flex; align-items: flex-start; gap: 6px; margin: 7px 0 0; font: 500 12.5px/1.45 -apple-system,sans-serif; color: var(--mp-muted); }
.mp-mhint svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
.mp-mhint--warn { color: #b06a00; }
.mp-mhint--warn b { color: #8a5200; }
.mp-madd { margin-top: 22px; background: #fff; border: 1px dashed var(--mp-line2); border-radius: 16px; padding: 16px 18px 18px; }
.mp-madd__h { display: flex; align-items: center; gap: 8px; font: 600 13px/1 -apple-system,sans-serif; color: var(--mp-ink); margin-bottom: 13px; }
.mp-madd__h svg { width: 17px; height: 17px; color: var(--mp-accent); }
.mp-mchips { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-mchip { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; border: 1px solid var(--mp-line2); background: #fff; color: var(--mp-ink); font: 550 13px/1 -apple-system,sans-serif; padding: 8px 12px; border-radius: 999px; transition: background .12s, border-color .12s, color .12s; }
.mp-mchip:hover { background: var(--mp-accent-soft); border-color: var(--mp-accent); color: var(--mp-accent); }
.mp-mchip svg { width: 15px; height: 15px; }
.mp-mchip--custom { border-style: dashed; color: var(--mp-muted); }

/* ---------- Pris-bokse manager ---------- */
.mp-prices-open { display: flex; align-items: center; gap: 9px; margin: 12px 16px 4px; padding: 12px 16px; width: calc(100% - 32px);
  background: var(--mp-accent-soft); color: var(--mp-accent); border: 1px solid var(--mp-accent); border-radius: 12px;
  font-weight: 700; font-size: 13.5px; cursor: pointer; transition: background 0.15s; }
.mp-prices-open:hover { background: #e2ede7; }
.mp-prices-open svg { width: 16px; height: 16px; }
.mp-prices-open__n { margin-left: auto; background: var(--mp-accent); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; padding: 0 7px; }
.mp-prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; margin-top: 18px; }
.mp-price { background: var(--mp-card); border: 1px solid var(--mp-line2); border-radius: 16px; padding: 18px; }
.mp-price__hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mp-price__n { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--mp-ink); }
.mp-price__n svg { width: 15px; height: 15px; color: var(--mp-accent); }
.mp-price__feat { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--mp-muted); cursor: pointer; }
.mp-price__feat input { accent-color: var(--mp-accent); width: 15px; height: 15px; }
.mp-price__del { background: transparent; border: none; color: var(--mp-faint); cursor: pointer; padding: 4px; border-radius: 8px; }
.mp-price__del:hover { color: #c0392b; background: #faecea; }
.mp-price__del svg { width: 16px; height: 16px; }
.mp-price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mp-price__f { display: flex; flex-direction: column; gap: 5px; }
.mp-price__f span { font-size: 12px; font-weight: 700; color: var(--mp-muted); }
.mp-price__f input, .mp-price__f textarea { border: 1px solid var(--mp-line2); border-radius: 10px; padding: 9px 11px; font-size: 13.5px; color: var(--mp-ink); background: #fff; outline: none; }
.mp-price__f input:focus, .mp-price__f textarea:focus { border-color: var(--mp-accent); box-shadow: 0 0 0 3px var(--mp-accent-soft); }
.mp-price__f--wide { margin-top: 10px; }
.mp-price__f textarea { resize: vertical; line-height: 1.5; }
.mp-prices__actions { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.mp-btn--primary { background: var(--mp-accent); color: #fff; border: none; }
.mp-btn--primary:hover { filter: brightness(1.06); }

/* Lange ydelsesnavne må ikke skubbe layoutet — trunkér med ellipsis. */
.mp-si { min-width: 0; }
.mp-si__tx { min-width: 0; flex: 1; }
.mp-si__name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-imgrow__t[src=""] { visibility: hidden; }

/* ---------- Funktioner-siden: til/fra + emblemer + video ---------- */
.mp-feat { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.mp-feat__row { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.mp-feat__row input[type=checkbox] { width: 22px; height: 22px; margin-top: 2px; accent-color: #2a6fbf; cursor: pointer; flex: none; }
.mp-feat__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-feat__name { font-weight: 700; color: #0f172a; display: flex; align-items: center; gap: 8px; }
.mp-feat__name svg { width: 17px; height: 17px; }
.mp-feat__desc { color: #64748b; font-size: 13px; }
.mp-feat__hint { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0 36px; color: #92670c; background: #fef7e6; border: 1px solid #f5e2b0; border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.mp-feat__hint svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.mp-feat__badges { margin: 12px 0 0 36px; }
.mp-gallery--badges .mp-gcard { width: 130px; height: 86px; }
.mp-gallery--badges .mp-gcard img { object-fit: contain; background: #f8fafc; }
.mp-vrow { display: flex; gap: 8px; margin-bottom: 8px; }
.mp-vrow input { flex: 1; border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 12px; font: inherit; min-width: 0; }
.mp-vrow__actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.mp-vupl { display: inline-flex; gap: 8px; align-items: center; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 8px 14px; color: #475569; cursor: pointer; font-size: 13px; }
.mp-vupl:hover { border-color: #2a6fbf; color: #2a6fbf; }
.mp-vupl input { display: none; }
.mp-vupl svg { width: 15px; height: 15px; }
/* "Vælg fra dine medier" som knap-variant af upload-etiketten (Funktioner). */
button.mp-vupl { background: #fff; font-family: inherit; }
button.mp-gcard--add { font-family: inherit; }

/* ---------- Kilde-valg på udtalelser + video i galleri/hero ---------- */
.mp-srcchips { display: flex; gap: 6px; margin: 2px 0 8px; flex-wrap: wrap; }
.mp-srcchip { border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; color: #475569; cursor: pointer; font-family: inherit; }
.mp-srcchip:hover { border-color: #2a6fbf; color: #2a6fbf; }
.mp-srcchip.on { background: #2a6fbf; border-color: #2a6fbf; color: #fff; }
.mp-imgrow__btn--video { margin-left: 8px; }
.mp-gcard--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-gcard__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(15, 23, 42, 0.28); pointer-events: none; border-radius: inherit; }
.mp-gcard__play svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)); }
.mp-gcard__vfb { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: #0f172a; color: #fff; }
.mp-gcard__vfb svg { width: 26px; height: 26px; }

/* ---------- Billede/Video-faner på forsidens hero ---------- */
.mp-medtabs { display: flex; gap: 6px; margin: 6px 0 8px; }
.mp-medtab { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e2e8f0; background: #fff; border-radius: 10px; padding: 6px 14px; font-size: 12.5px; color: #475569; cursor: pointer; font-family: inherit; }
.mp-medtab svg { width: 14px; height: 14px; }
.mp-medtab:hover { border-color: #2a6fbf; color: #2a6fbf; }
.mp-medtab.on { background: #2a6fbf; border-color: #2a6fbf; color: #fff; }
.mp-vprev { width: 100%; max-height: 120px; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 8px; background: #0f172a; }
.mp-vnote { display: flex; gap: 8px; align-items: flex-start; color: #64748b; font-size: 12.5px; margin: 2px 0 8px; }
.mp-vnote svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }

/* ============================================================
   MOBIL (≤820px) — kunderne åbner panelet fra et mail-link på
   telefonen, så mobil er den PRIMÆRE flade. Alt herunder er
   ADDITIVT: desktop-layoutet ovenfor er urørt. Bund-skuffen
   (.mp-sheetbtn / .mp-sheetx) findes i DOM'en på alle skærme,
   men vises kun her.
   ============================================================ */
.mp-sheetbtn, .mp-sheetx { display: none; }

@media (max-width: 820px) {
  /* iOS: 100vh rager ned bag Safari-værktøjslinjen — brug dvh hvor det findes. */
  @supports (height: 100dvh) {
    #mwh-panel-root { height: 100dvh; max-height: 100dvh; }
  }

  /* ---------- Topbar: én kompakt linje ---------- */
  #mwh-panel-root .mp-top { height: 52px; padding: 0 10px; gap: 8px; }
  .mp-logo__img { height: 20px; }
  .mp-logo__mark { width: 22px; height: 20px; }
  .mp-logo__wm { font-size: 16px; }
  .mp-top .mp-device { display: none; }             /* previewet ER mobilt her */
  .mp-user { display: none; }
  .mp-top .mp-btn { padding: 8px 9px; font-size: 12.5px; white-space: nowrap; }
  .mp-autosave { font-size: 11.5px; white-space: nowrap; flex: 0 1 auto; overflow: hidden; }
  .mp-top__actions a[target="_blank"] { display: none; } /* "Åbn din side"/"Åbn i ny fane" */
  #mp-hist, #mp-reset { display: none; }            /* sekundært (kun avanceret) */

  /* ---------- Preview fylder skærmen; felterne bor i bund-skuffen ---------- */
  #mwh-panel-root .mp-cols { flex-wrap: nowrap; flex-direction: column; }
  #mwh-panel-root .mp-stage { flex: 1 1 auto; width: 100%; min-height: 0; padding: 8px 8px 74px; }
  #mwh-panel-root .mp-stage iframe { border-radius: 10px; }
  #mwh-panel-root .mp-sidebar { flex: 0 0 auto; max-height: 64px; }
  #mwh-panel-root .mp-sidebar__hd { display: none; }

  /* Bund-skuffen: glider op over previewet, maks ~70% af skærmen, scrollbar. */
  #mwh-panel-root .mp-edit { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; flex: none;
    max-height: 72vh; border-left: none; border-top: 1px solid var(--mp-line); border-radius: 18px 18px 0 0;
    box-shadow: 0 -14px 44px rgba(16,24,40,.28); transform: translateY(105%); transition: transform .28s ease; z-index: 99995; }
  #mwh-panel-root.mp-sheet-open .mp-edit { transform: translateY(0); }
  #mwh-panel-root .mp-edit__hd { position: relative; padding: 14px 60px 10px 16px; }
  #mwh-panel-root .mp-edit__body { padding: 10px 14px calc(24px + env(safe-area-inset-bottom)); }
  .mp-sheetx { display: inline-flex; position: absolute; top: 8px; right: 10px; width: 44px; height: 44px;
    align-items: center; justify-content: center; border: none; border-radius: 12px; background: #f0f1f4;
    color: var(--mp-ink); cursor: pointer; }
  .mp-sheetx svg { width: 22px; height: 22px; }
  .mp-sheetbtn { position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 99994; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
    border: none; border-radius: 14px; background: var(--mp-navy); color: #fff;
    font: 700 15px/1 'Comfortaa', -apple-system, sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(16,24,40,.3); }
  .mp-sheetbtn svg { width: 18px; height: 18px; }
  #mwh-panel-root.mp-sheet-open .mp-sheetbtn { display: none; }

  /* Simpel tilstand: billedlisten i skuffen som 2-kolonne grid. */
  .mp-simple .mp-edit__body { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; align-content: start; }
  .mp-simple .mp-edit__body .mp-grp,
  .mp-simple .mp-edit__body .mp-none { grid-column: 1 / -1; }

  /* ---------- Hit-targets + inputs (iOS auto-zoomer ved <16px) ---------- */
  #mwh-panel-root .mp-fld input[type=text], #mwh-panel-root .mp-fld textarea { font-size: 16px; }
  .mp-minput, .mp-vrow input, .mp-price__f input, .mp-price__f textarea, .mp-colpick input[type=text] { font-size: 16px; }
  .mp-imgrow__btn { min-height: 44px; }
  .mp-gcard__del { width: 38px; height: 38px; }
  .mp-si { min-height: 44px; }
  .mp-hub { padding: 17px 16px; }

  /* ---------- Enkeltside-visninger (Hurtig rettelse, lister, hub) ---------- */
  .mp-settings { padding: 22px 14px 60px; }
  .mp-settings__body { padding: 6px 14px 16px; }
  .mp-hubwrap { padding: 26px 16px 50px; }
  .mp-hublist { grid-template-columns: 1fr; }
  .mp-colbar { flex-wrap: wrap; gap: 10px; }
  .mp-hd { width: 100%; max-width: 100%; }

  /* ---------- Popups: FULD skærm med stor luk-knap øverst ----------
     OBS: popups'enes basis-styles ligger i inline <style>-blokke, som indsættes
     i <body> og derfor står SENERE i dokumentet end panel.css — "body "-
     præfikset giver mobil-reglerne højere specificitet, så de altid vinder. */
  body .mw-txtpop, body .mw-imgpop { padding: 0; align-items: stretch; }
  body .mw-txtpop .c, body .mw-imgpop .c { position: relative; max-width: none; height: 100%; border-radius: 0;
    display: flex; flex-direction: column; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
  body .mw-txtpop .xtop, body .mw-imgpop .xtop { display: flex; position: absolute; top: 10px; right: 12px;
    width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 28px; line-height: 1;
    border: 0; border-radius: 50%; background: rgba(0,0,0,.08); cursor: pointer; z-index: 2; padding: 0; }
  body .mw-txtpop h3 { margin: 0 52px 10px 0; padding-top: 10px; font-size: 16px; }
  body .mw-txtpop .ed { flex: 1 1 auto; max-height: none; min-height: 0; font-size: 16px; }
  body .mw-txtpop .tools button { width: 48px; height: 44px; }
  body .mw-txtpop .row, body .mw-imgpop .row { margin-top: 14px; flex: 0 0 auto; }
  body .mw-txtpop .row button, body .mw-imgpop .row button { flex: 1 1 auto; min-height: 48px; }
  body .mw-imgpop .c { justify-content: center; }
  body .mw-imgpop img, body .mw-imgpop video { max-height: 62vh; }

  /* Galleri-popup'en: også fuld skærm, med touch-venlig luk-knap. */
  body .mp-galov { padding: 0; align-items: stretch; }
  body .mp-galov__card { max-width: none; max-height: none; height: 100%; border-radius: 0;
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); }
  body .mp-galov__x { min-height: 44px; }

  /* Bekræft-dialog: knapper i fuld bredde, min. 48px høje. */
  .mp-cfm__ft button { flex: 1 1 auto; min-height: 48px; }

  /* Upload-overlay (procent): centreret og læsbart på små skærme. */
  body #mw-upov .c { min-width: 0; width: calc(100% - 40px); max-width: 340px; }

  /* Toast: op over skuffe-knappen, så beskeden aldrig gemmes bag den. */
  .mp-toast { bottom: calc(78px + env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); }
}

/* Meget små telefoner: logoet og Fortryd viger, så baren aldrig scroller vandret. */
@media (max-width: 600px) {
  .mp-top .mp-logo { display: none; }
  /* Avanceret: Fortryd viger paa smaa skaerme. Rettelser (mp-simple) har en
     kompakt bar med plads - der SKAL kunden kunne fortryde, ogsaa paa mobil. */
  #mp-undo { display: none; }
  .mp-simple #mp-undo { display: inline-flex; }
}

/* ============================================================
   Intro-demo (simpel tilstand): 9 sek. animation i LOOP, til kunden
   selv lukker med "Forstaaet". Akt 1: tryk paa tekst -> slet "os",
   skriv "jer" -> gem. Akt 2: tryk paa billede i menuen -> Skift
   billede-popup -> nyt billede. Vises af maybeShowIntro() i panel.js.
   ============================================================ */
.mp-intro { position: fixed; inset: 0; z-index: 100000; background: rgba(10, 26, 16, .62);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: mpIntroIn .3s ease both; }
.mp-intro--out { opacity: 0; transition: opacity .3s ease; }
@keyframes mpIntroIn { from { opacity: 0; } to { opacity: 1; } }
.mp-intro__card { background: #FAF7F1; border-radius: 22px; padding: 20px 20px 16px;
  width: 360px; max-width: 94vw; box-shadow: 0 24px 70px rgba(0,0,0,.35);
  font-family: 'Comfortaa', system-ui, sans-serif;
  animation: mpIntroPop .35s cubic-bezier(.2,1.2,.4,1) both; }
@keyframes mpIntroPop { from { transform: scale(.92) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.mp-intro__titles { position: relative; height: 46px; margin-bottom: 12px; text-align: center; }
.mp-intro__t { position: absolute; inset: 0; font-weight: 800; font-size: 15.5px; line-height: 1.4; color: #123521; }
.mp-intro__t1 { animation: mpIntroT1 9s linear infinite both; }
.mp-intro__t2 { animation: mpIntroT2 9s linear infinite both; }
@keyframes mpIntroT1 { 0%, 50% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes mpIntroT2 { 0%, 52% { opacity: 0; } 56%, 96% { opacity: 1; } 100% { opacity: 0; } }
.mp-intro__stage { position: relative; height: 190px; border-radius: 14px; overflow: hidden;
  background: #eef0ea; border: 1px solid rgba(18,53,33,.12); }
.mp-intro__site { position: absolute; inset: 10px 34% 10px 10px; background: #fff; border-radius: 10px;
  padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mp-intro__head { position: relative; height: 18px; font-weight: 800; font-size: 13px; color: #123521;
  border-radius: 5px; animation: mpIntroHl 9s linear infinite both; }
.mp-intro__head-a, .mp-intro__head-b { position: absolute; left: 4px; top: 0; white-space: nowrap; }
.mp-intro__head-a { animation: mpIntroHa 9s linear infinite both; }
.mp-intro__head-b { animation: mpIntroHb 9s linear infinite both; }
@keyframes mpIntroHa { 0%, 51% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes mpIntroHb { 0%, 52% { opacity: 0; } 54%, 100% { opacity: 1; } }
@keyframes mpIntroHl { 0%, 11% { box-shadow: none; } 13%, 49% { box-shadow: 0 0 0 2px #BCD544; }
  52%, 100% { box-shadow: none; } }
.mp-intro__line { height: 7px; border-radius: 4px; background: #e3e6de; }
.mp-intro__img { flex: 1; border-radius: 8px; position: relative; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23d9ddd2'/%3E%3Ccircle cx='124' cy='26' r='13' fill='%23eee8d2'/%3E%3Cpath d='M0 70 Q40 46 80 66 T160 60 V100 H0 Z' fill='%23a9b8a5'/%3E%3Cpath d='M0 86 Q50 66 100 84 T160 78 V100 H0 Z' fill='%238ba08c'/%3E%3C/svg%3E") center/cover no-repeat; }
.mp-intro__img::after { content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23e9f5cf'/%3E%3Ccircle cx='124' cy='26' r='13' fill='%23BCD544'/%3E%3Cpath d='M0 70 Q40 46 80 66 T160 60 V100 H0 Z' fill='%236fa07c'/%3E%3Cpath d='M0 86 Q50 66 100 84 T160 78 V100 H0 Z' fill='%234c7a5d'/%3E%3C/svg%3E") center/cover no-repeat; opacity: 0; animation: mpIntroImg 9s linear infinite both; }
@keyframes mpIntroImg { 0%, 85% { opacity: 0; } 88%, 100% { opacity: 1; } }
.mp-intro__pop { position: absolute; left: 10%; top: 30%; width: 56%; background: #fff; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.28); padding: 10px; display: flex; flex-direction: column; gap: 8px;
  transform-origin: 30% 0; animation: mpIntroPopup 9s cubic-bezier(.2,1,.4,1) infinite both; }
@keyframes mpIntroPopup { 0%, 15% { opacity: 0; transform: scale(.7); } 18%, 49% { opacity: 1; transform: scale(1); }
  53%, 100% { opacity: 0; transform: scale(.85); } }
.mp-intro__pop-f { border: 1.5px solid rgba(18,53,33,.25); border-radius: 8px; padding: 6px 8px;
  font-size: 12px; font-weight: 700; color: #123521; }
.mp-intro__caret { display: inline-block; width: 1.5px; height: 12px; background: #123521;
  vertical-align: -2px; margin-left: 2px; animation: mpIntroCaret 1s steps(1) infinite; }
@keyframes mpIntroCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
/* Slet "os" (backspace: s foerst, saa o) og skriv "jer" bogstav for bogstav */
.mp-intro__d, .mp-intro__i { display: inline; }
.mp-intro__d1 { animation: mpIntroD1 9s steps(1) infinite both; }
.mp-intro__d2 { animation: mpIntroD2 9s steps(1) infinite both; }
.mp-intro__i1 { animation: mpIntroI1 9s steps(1) infinite both; }
.mp-intro__i2 { animation: mpIntroI2 9s steps(1) infinite both; }
.mp-intro__i3 { animation: mpIntroI3 9s steps(1) infinite both; }
@keyframes mpIntroD2 { 0%, 21.5% { opacity: 1; } 22%, 100% { opacity: 0; font-size: 0; } }
@keyframes mpIntroD1 { 0%, 26% { opacity: 1; } 26.5%, 100% { opacity: 0; font-size: 0; } }
@keyframes mpIntroI1 { 0%, 31.5% { opacity: 0; font-size: 0; } 32%, 100% { opacity: 1; font-size: 12px; } }
@keyframes mpIntroI2 { 0%, 36% { opacity: 0; font-size: 0; } 36.5%, 100% { opacity: 1; font-size: 12px; } }
@keyframes mpIntroI3 { 0%, 40.5% { opacity: 0; font-size: 0; } 41%, 100% { opacity: 1; font-size: 12px; } }
.mp-intro__pop-btn { align-self: flex-end; background: #123521; color: #fff; font-weight: 800; font-size: 11px;
  padding: 5px 16px; border-radius: 8px; animation: mpIntroGem 9s linear infinite both; }
@keyframes mpIntroGem { 0%, 45.5% { transform: none; } 47% { transform: scale(.88); } 48.5%, 100% { transform: none; } }
.mp-intro__menu { position: absolute; top: 10px; right: 10px; bottom: 10px; width: 28%;
  background: #fff; border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px;
  animation: mpIntroMenu 9s cubic-bezier(.2,1,.4,1) infinite both; }
@keyframes mpIntroMenu { 0%, 53% { opacity: 0; transform: translateX(30px); } 58%, 100% { opacity: 1; transform: none; } }
.mp-intro__menu-t { font-size: 10px; font-weight: 800; color: #123521; opacity: .65; }
.mp-intro__th { height: 38px; border-radius: 7px; position: relative; overflow: hidden;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23d9ddd2'/%3E%3Ccircle cx='124' cy='26' r='13' fill='%23eee8d2'/%3E%3Cpath d='M0 70 Q40 46 80 66 T160 60 V100 H0 Z' fill='%23a9b8a5'/%3E%3Cpath d='M0 86 Q50 66 100 84 T160 78 V100 H0 Z' fill='%238ba08c'/%3E%3C/svg%3E") center/cover no-repeat; }
.mp-intro__th1 { animation: mpIntroThRing 9s linear infinite both; }
.mp-intro__th1::after { content: ""; position: absolute; inset: 0; border-radius: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23e9f5cf'/%3E%3Ccircle cx='124' cy='26' r='13' fill='%23BCD544'/%3E%3Cpath d='M0 70 Q40 46 80 66 T160 60 V100 H0 Z' fill='%236fa07c'/%3E%3Cpath d='M0 86 Q50 66 100 84 T160 78 V100 H0 Z' fill='%234c7a5d'/%3E%3C/svg%3E") center/cover no-repeat; opacity: 0; animation: mpIntroImg 9s linear infinite both; }
@keyframes mpIntroThRing { 0%, 64% { box-shadow: none; } 67%, 100% { box-shadow: 0 0 0 2.5px #BCD544; } }
.mp-intro__th2 { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23e2ddd0'/%3E%3Ccircle cx='124' cy='26' r='13' fill='%23d9cfb4'/%3E%3Cpath d='M0 70 Q40 46 80 66 T160 60 V100 H0 Z' fill='%23b8ac92'/%3E%3Cpath d='M0 86 Q50 66 100 84 T160 78 V100 H0 Z' fill='%23978b70'/%3E%3C/svg%3E") center/cover no-repeat; }
/* Akt 2: Skift billede-popup (upload-mock) */
.mp-intro__up { position: absolute; left: 20%; top: 24%; width: 54%; background: #fff; border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,.28); padding: 10px; display: flex; flex-direction: column; gap: 9px;
  transform-origin: 70% 20%; animation: mpIntroUp 9s cubic-bezier(.2,1,.4,1) infinite both; }
@keyframes mpIntroUp { 0%, 68% { opacity: 0; transform: scale(.7); } 71%, 82% { opacity: 1; transform: scale(1); }
  86%, 100% { opacity: 0; transform: scale(.85); } }
.mp-intro__up-img { height: 50px; border-radius: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 100'%3E%3Crect width='160' height='100' fill='%23d9ddd2'/%3E%3Ccircle cx='124' cy='26' r='13' fill='%23eee8d2'/%3E%3Cpath d='M0 70 Q40 46 80 66 T160 60 V100 H0 Z' fill='%23a9b8a5'/%3E%3Cpath d='M0 86 Q50 66 100 84 T160 78 V100 H0 Z' fill='%238ba08c'/%3E%3C/svg%3E") center/cover no-repeat; }
.mp-intro__up-btn { display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #123521; color: #fff; font-weight: 800; font-size: 11.5px; padding: 7px 10px; border-radius: 9px;
  animation: mpIntroUpBtn 9s linear infinite both; }
.mp-intro__up-btn svg { width: 13px; height: 13px; }
@keyframes mpIntroUpBtn { 0%, 78% { transform: none; } 79.5% { transform: scale(.9); } 81%, 100% { transform: none; } }
.mp-intro__cursor { position: absolute; width: 22px; height: 22px; z-index: 6; pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); animation: mpIntroCur 9s cubic-bezier(.45,.05,.35,1) infinite both; }
.mp-intro__cursor svg { width: 100%; height: 100%; display: block; }
@keyframes mpIntroCur {
  0%    { left: 84%; top: 94%; opacity: 0; }
  4%    { opacity: 1; }
  11%   { left: 27%; top: 15%; }
  12.5% { transform: scale(.85); }
  14%   { transform: none; }
  24%   { left: 27%; top: 15%; }
  44%   { left: 56%; top: 56%; }
  46%   { transform: scale(.85); }
  48%   { transform: none; }
  52%   { left: 56%; top: 56%; }
  58%   { left: 79%; top: 36%; }
  64%   { left: 79%; top: 42%; }
  65.5% { transform: scale(.85); }
  67%   { transform: none; }
  71%   { left: 79%; top: 42%; }
  78%   { left: 49%; top: 64%; }
  79.5% { transform: scale(.85); }
  81%   { transform: none; }
  96%   { left: 49%; top: 64%; opacity: 1; }
  100%  { left: 49%; top: 64%; opacity: 0; }
}
.mp-intro__ripple { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 2.5px solid #BCD544; opacity: 0; pointer-events: none; }
.mp-intro__r1 { left: 29%; top: 20%; animation: mpIntroRip1 9s ease-out infinite both; }
.mp-intro__r2 { left: 58%; top: 61%; animation: mpIntroRip2 9s ease-out infinite both; }
.mp-intro__r3 { left: 81%; top: 45%; animation: mpIntroRip3 9s ease-out infinite both; }
.mp-intro__r4 { left: 51%; top: 68%; animation: mpIntroRip4 9s ease-out infinite both; }
@keyframes mpIntroRip1 { 0%, 12% { opacity: 0; transform: scale(.35); } 12.5% { opacity: .9; }
  17.5%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes mpIntroRip2 { 0%, 45.5% { opacity: 0; transform: scale(.35); } 46% { opacity: .9; }
  51%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes mpIntroRip3 { 0%, 65% { opacity: 0; transform: scale(.35); } 65.5% { opacity: .9; }
  70.5%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes mpIntroRip4 { 0%, 79% { opacity: 0; transform: scale(.35); } 79.5% { opacity: .9; }
  84.5%, 100% { opacity: 0; transform: scale(1.25); } }
.mp-intro__ok { display: block; width: 100%; margin-top: 14px; background: #123521; color: #fff; border: 0;
  border-radius: 12px; font-weight: 800; font-size: 15px; padding: 12px; cursor: pointer; min-height: 46px;
  font-family: inherit; }
.mp-intro__ok:hover { background: #1A4631; }
/* "?"-hjaelpeknap: genafspil intro-demoen (kun simpel tilstand). */
.mp-intro-help { position: fixed; right: 18px; bottom: 18px; z-index: 99990; width: 48px; height: 48px;
  border-radius: 50%; border: 2px solid rgba(188,213,68,.55); background: #123521; color: #CFE173;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 26px rgba(11,36,24,.35); transition: transform .15s ease, background .15s ease;
  font-family: 'Comfortaa', system-ui, sans-serif; }
.mp-intro-help svg { width: 24px; height: 24px; display: block; }
.mp-intro-help:hover { background: #1A4631; transform: scale(1.06); }
.mp-intro-help::after { content: "Sv\00e6rt ved at komme i gang?"; position: absolute; right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%) translateX(4px); background: #123521; color: #fff; font-weight: 700;
  font-size: 12.5px; padding: 8px 13px; border-radius: 10px; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .18s ease, transform .18s ease; box-shadow: 0 8px 20px rgba(11,36,24,.25); }
.mp-intro-help:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 820px) { .mp-intro-help { bottom: 84px; right: 12px; width: 44px; height: 44px; } }
