:root {
  --mim-primary: #08538d;
  --mim-accent: #faca00;
  --mim-ink: #132235;
  --mim-muted: #64748b;
  --mim-bg: #f7fafc;
  --mim-card: #ffffff;
  --mim-radius: 24px;
  --mim-shadow: 0 18px 50px rgba(8, 83, 141, .13);
}

.mim-webapp,
.mim-quote-box,
.mim-dashboard {
  color: var(--mim-ink);
  background: linear-gradient(135deg, rgba(8,83,141,.08), rgba(250,202,0,.12));
  border-radius: var(--mim-radius);
  padding: clamp(20px, 4vw, 48px);
  margin: 28px 0;
  overflow: hidden;
  font-family: inherit;
}

.mim-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.mim-hero h1,
.mim-quote-box h2,
.mim-dashboard h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  margin: 8px 0 12px;
  letter-spacing: -0.05em;
}

.mim-kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(8,83,141,.16);
  background: rgba(255,255,255,.72);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--mim-primary);
  font-weight: 800;
  font-size: .9rem;
}

.mim-hero p,
.mim-quote-intro p {
  color: var(--mim-muted);
  font-size: 1.12rem;
  max-width: 820px;
}

.mim-hero-card,
.mim-progress-panel,
.mim-card,
.mim-quote-form,
.mim-admin-like-card,
.mim-stats-grid > div {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(8,83,141,.12);
  box-shadow: var(--mim-shadow);
  border-radius: var(--mim-radius);
}

.mim-hero-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mim-hero-card strong { font-size: 1.3rem; }
.mim-hero-card span { color: var(--mim-muted); margin-top: 8px; }

.mim-loader {
  background: #fff;
  border-radius: var(--mim-radius);
  padding: 18px;
  box-shadow: var(--mim-shadow);
}

.mim-mood-strip,
.mim-toolbar,
.mim-checks {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.mim-toolbar input[type="search"] {
  flex: 1 1 260px;
  min-height: 46px;
  border: 1px solid rgba(8,83,141,.18);
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
}

.mim-btn,
.mim-mood-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mim-btn:hover,
.mim-mood-btn:hover,
.mim-card:hover { transform: translateY(-2px); }

.mim-btn-primary,
.mim-mood-btn.is-active {
  background: var(--mim-primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(8,83,141,.22);
}

.mim-btn-ghost,
.mim-mood-btn {
  background: #fff;
  color: var(--mim-primary);
  border: 1px solid rgba(8,83,141,.14);
}

.mim-progress-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  margin: 18px 0 24px;
}

.mim-progress-panel strong {
  display: block;
  color: var(--mim-primary);
  font-size: 2rem;
  line-height: 1;
}

.mim-progress-panel span { color: var(--mim-muted); }

.mim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mim-card {
  padding: 18px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mim-card-image {
  height: 160px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8,83,141,.2), rgba(250,202,0,.45));
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.mim-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.mim-card p { color: var(--mim-muted); }
.mim-card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.mim-tag { display: inline-block; padding: 5px 9px; border-radius: 999px; background: rgba(250,202,0,.28); color: #6b5200; font-size: .78rem; font-weight: 800; margin: 3px 4px 3px 0; }
.mim-secret { position:absolute; right:14px; top:14px; background: #111827; color:#fff; border-radius:999px; padding: 6px 10px; font-size: .78rem; font-weight: 900; }

.mim-quote-form {
  padding: clamp(18px, 3vw, 32px);
}

.mim-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mim-quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 800;
  margin-bottom: 14px;
}

.mim-quote-form input,
.mim-quote-form select,
.mim-quote-form textarea {
  border: 1px solid rgba(8,83,141,.18);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  color: var(--mim-ink);
  font: inherit;
}

.mim-form-message { font-weight: 800; }
.mim-form-message.is-success { color: #047857; }
.mim-form-message.is-error { color: #b91c1c; }

.mim-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.mim-stats-grid > div { padding: 18px; }
.mim-stats-grid strong { display:block; font-size: 2rem; color: var(--mim-primary); }

@media (max-width: 980px) {
  .mim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mim-hero { grid-template-columns: 1fr; }
  .mim-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .mim-webapp,
  .mim-quote-box,
  .mim-dashboard { border-radius: 18px; padding: 18px; }
  .mim-grid,
  .mim-form-grid,
  .mim-progress-panel { grid-template-columns: 1fr; }
  .mim-toolbar input[type="search"] { flex-basis: 100%; }
  .mim-btn,
  .mim-mood-btn { width: 100%; justify-content: center; }
}

/* v1.1.0 · PWA + Leaflet + mappe friendly */
.mim-hero-v11 { position: relative; overflow: hidden; }
.mim-hero-actions { display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.2rem; }
.mim-status-card small { display:block; margin-top:.5rem; opacity:.72; }
.mim-toolbar-v11 { position: sticky; top: 0; z-index: 25; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); padding: .75rem; border-radius: 1.2rem; box-shadow: 0 10px 30px rgba(15,23,42,.08); }
.mim-map-layout { display:grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 1rem; margin: 1.2rem 0; align-items: stretch; }
.mim-map-panel, .mim-side-panel, .mim-install-box { background:#fff; border:1px solid rgba(226,232,240,.95); border-radius: 26px; box-shadow:0 16px 48px rgba(15,23,42,.08); overflow:hidden; }
.mim-leaflet-map { min-height: 460px; width: 100%; background:#dff4ff; }
.mim-map-note { padding:.8rem 1rem; font-size:.9rem; color:#475569; background:#f8fafc; }
.mim-side-panel { padding:1.2rem; }
.mim-active-poi { border-left: 4px solid var(--mim-accent, #faca00); padding-left: 1rem; background:#f8fafc; border-radius: 16px; padding:.9rem 1rem; }
.mim-leaflet-emoji { background:#fff; border:3px solid var(--mim-primary, #08538d); border-radius:999px; box-shadow:0 10px 25px rgba(15,23,42,.22); display:grid; place-items:center; font-size:1.25rem; }
.mim-leaflet-emoji span { display:grid; place-items:center; width:38px; height:38px; }
.mim-map-number { position:absolute; top:.75rem; left:.75rem; z-index:3; display:inline-flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 .45rem; border-radius:999px; background:var(--mim-primary, #08538d); color:#fff; font-weight:900; box-shadow:0 12px 24px rgba(15,23,42,.22); }
.mim-secret { z-index:4; }
.mim-meta-line small { color:#475569; }
.mim-install-box { padding:1.4rem; margin: 1.2rem 0; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.mim-install-box p { margin:.35rem 0 0; color:#64748b; }
.mim-mappe-demo { padding: clamp(3rem, 6vw, 5rem) 0; }
.mim-mappe-head { max-width: 880px; margin: 0 auto 2rem; text-align:center; }
.mim-mappe-head p { color:#64748b; font-size:1.1rem; }
.mim-mappe-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:1.2rem; }
.mim-mappe-grid article { background:#fff; border:1px solid rgba(226,232,240,.95); border-radius:28px; overflow:hidden; box-shadow:0 22px 60px rgba(15,23,42,.10); }
.mim-mappe-grid img { width:100%; display:block; aspect-ratio: 16 / 11; object-fit:cover; transition: transform .35s ease; }
.mim-mappe-grid article:hover img { transform: scale(1.025); }
.mim-mappe-grid h3, .mim-mappe-grid p { padding-inline:1.25rem; }
.mim-mappe-grid h3 { margin:1.1rem 0 .4rem; }
.mim-mappe-grid p { margin:0 0 1.35rem; color:#64748b; }
.mim-qr-preview { text-align:center; background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:12px; margin:.7rem 0; }
.mim-qr-preview img { width: 100%; max-width: 220px; height:auto; }
.mim-poi-single { background:#f8fafc; }
.mim-poi-single-hero { background: radial-gradient(circle at top right, rgba(250,202,0,.28), transparent 34%), linear-gradient(135deg, #08538d, #0f172a); color:#fff; padding: clamp(4rem, 8vw, 7rem) 0; }
.mim-poi-single-hero .mim-container, .mim-poi-body .mim-container { width:min(1120px, calc(100% - 36px)); margin-inline:auto; }
.mim-poi-single-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); margin:.3rem 0 1rem; }
.mim-poi-single-hero p { max-width:820px; font-size:1.2rem; color:rgba(255,255,255,.82); }
.mim-poi-body { padding: clamp(3rem, 6vw, 5rem) 0; }
.mim-poi-layout { display:grid; grid-template-columns: minmax(0,1fr) 320px; gap:2rem; align-items:start; }
.mim-poi-content, .mim-poi-sidebar-card { background:#fff; border-radius:28px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow:0 16px 48px rgba(15,23,42,.08); border:1px solid rgba(226,232,240,.95); }
.mim-poi-facts { display:grid; gap:.75rem; margin-top:1rem; }
.mim-poi-facts div { background:#f8fafc; border-radius:18px; padding:1rem; }
.mim-poi-qr img { width:100%; max-width:240px; display:block; margin:0 auto; }
@media (max-width: 900px) { .mim-map-layout, .mim-mappe-grid, .mim-poi-layout { grid-template-columns:1fr; } .mim-leaflet-map { min-height: 360px; } }

/* v1.2.0 · Mappa multimediale hotspot orizzontale */
.mim-hotspot-map {
  --mim-hotspot-ink: #102033;
  --mim-hotspot-muted: #64748b;
  --mim-hotspot-coral: #ef3e38;
  --mim-hotspot-blue: #0b78b6;
  --mim-hotspot-yellow: #faca00;
  --mim-hotspot-green: #48a868;
  color: var(--mim-hotspot-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(250,202,0,.28), transparent 26%),
    radial-gradient(circle at 94% 6%, rgba(11,120,182,.16), transparent 32%),
    linear-gradient(180deg, #fffdf6, #fff7df 100%);
  border: 1px solid rgba(8,83,141,.12);
  border-radius: clamp(22px, 3vw, 38px);
  padding: clamp(1.1rem, 3vw, 2.4rem);
  box-shadow: 0 22px 70px rgba(15,23,42,.10);
  overflow: hidden;
  position: relative;
}
.mim-hotspot-map:before {
  content: "";
  position: absolute;
  inset: -20% -8% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(239,62,56,.12), transparent 68%);
  pointer-events: none;
}
.mim-hotspot-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.mim-hotspot-head h2 {
  margin: .25rem 0 .35rem;
  font-size: clamp(2rem, 4vw, 4.35rem);
  letter-spacing: -.055em;
  line-height: .95;
}
.mim-hotspot-subtitle,
.mim-hotspot-intro {
  max-width: 980px;
  color: var(--mim-hotspot-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.mim-hotspot-mini-card {
  min-width: 220px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 24px;
  padding: 1rem 1.15rem;
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
}
.mim-hotspot-mini-card strong,
.mim-hotspot-mini-card span { display: block; }
.mim-hotspot-mini-card span { color: var(--mim-hotspot-muted); margin-top: .25rem; }
.mim-hotspot-mini-card b { color: var(--mim-hotspot-coral); font-size: 1.5rem; }
.mim-hotspot-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.35rem 0;
  position: relative;
  z-index: 1;
}
.mim-hotspot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(340px, .68fr);
  gap: 1rem;
  align-items: stretch;
}
.mim-hotspot-canvas,
.mim-hotspot-panel {
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: clamp(20px, 2vw, 32px);
  box-shadow: 0 18px 50px rgba(15,23,42,.08);
}
.mim-hotspot-canvas { padding: .75rem; }
.mim-hotspot-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #fff7e8;
  isolation: isolate;
}
.mim-hotspot-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mim-hotspot-svg-route-shadow { pointer-events: none; }
.mim-hotspot-svg-route { pointer-events: none; animation: mimRouteDash 16s linear infinite; }
@keyframes mimRouteDash { to { stroke-dashoffset: -280; } }
.mim-hotspot-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  transform: translate(-50%, -50%);
  width: clamp(32px, 3.2vw, 48px);
  height: clamp(32px, 3.2vw, 48px);
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--mim-hotspot-coral), #ff7b54);
  box-shadow: 0 10px 26px rgba(128,25,18,.25), inset 0 0 0 1px rgba(255,255,255,.4);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease, filter .22s ease;
  padding: 0;
}
.mim-hotspot-pin:hover,
.mim-hotspot-pin:focus-visible {
  transform: translate(-50%, -50%) scale(1.13) rotate(-2deg);
  box-shadow: 0 16px 34px rgba(128,25,18,.35);
  outline: none;
}
.mim-hotspot-pin.is-active {
  background: linear-gradient(135deg, var(--mim-hotspot-blue), #34bdf0);
  box-shadow: 0 0 0 7px rgba(11,120,182,.16), 0 16px 34px rgba(8,83,141,.32);
}
.mim-hotspot-pin.is-visited:after {
  content: "✓";
  position: absolute;
  right: -5px;
  bottom: -6px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mim-hotspot-green);
  border: 2px solid #fff;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.mim-hotspot-pin.is-muted {
  opacity: .16;
  filter: grayscale(.75);
}
.mim-hotspot-pin__num {
  font-weight: 900;
  font-size: clamp(.78rem, 1.35vw, 1rem);
  line-height: 1;
}
.mim-hotspot-pin__emoji {
  position: absolute;
  inset: auto -9px -10px auto;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(15,23,42,.14);
}
.mim-hotspot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
  align-items: center;
  padding: .8rem .5rem .1rem;
  color: var(--mim-hotspot-muted);
  font-size: .92rem;
}
.mim-legend-dot {
  display: inline-block;
  width: 22px;
  height: 10px;
  border-radius: 999px;
  margin-right: .35rem;
  vertical-align: middle;
}
.mim-legend-dot--route { background: repeating-linear-gradient(90deg, var(--mim-hotspot-coral) 0 9px, transparent 9px 15px); border: 1px solid rgba(239,62,56,.35); }
.mim-legend-dot--pin { width: 13px; height: 13px; background: var(--mim-hotspot-coral); }
.mim-legend-dot--sea { background: #59c7ef; }
.mim-legend-dot--green { background: #83cc70; }
.mim-hotspot-panel {
  min-height: 100%;
  overflow: hidden;
}
.mim-hotspot-panel-empty {
  min-height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.mim-hotspot-panel-empty span { font-size: 3rem; }
.mim-hotspot-card {
  padding: clamp(1rem, 2vw, 1.45rem);
}
.mim-hotspot-card-top,
.mim-hotspot-tags,
.mim-hotspot-actions {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  align-items: center;
}
.mim-hotspot-card-top { justify-content: space-between; margin-bottom: .7rem; }
.mim-hotspot-step,
.mim-hotspot-mood,
.mim-hotspot-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .82rem;
  font-weight: 800;
}
.mim-hotspot-step { background: #fff1e8; color: #b42318; }
.mim-hotspot-mood { background: #eaf6ff; color: #075985; }
.mim-hotspot-tag { background: #f8fafc; color: #475569; border: 1px solid #e2e8f0; }
.mim-hotspot-card h3 {
  margin: .25rem 0 .65rem;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.mim-hotspot-lead {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.55;
}
.mim-hotspot-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 1rem 0;
}
.mim-hotspot-media-grid > div,
.mim-hotspot-text-block,
.mim-hotspot-secret {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 18px;
  padding: .85rem;
}
.mim-hotspot-media-grid strong,
.mim-hotspot-media-grid span { display: block; }
.mim-hotspot-media-grid span { color: var(--mim-hotspot-muted); font-size: .9rem; margin-top: .15rem; }
.mim-hotspot-text-block,
.mim-hotspot-secret { margin-top: .65rem; }
.mim-hotspot-text-block h4,
.mim-hotspot-secret h4 { margin: 0 0 .35rem; font-size: 1rem; }
.mim-hotspot-text-block p,
.mim-hotspot-secret p { margin: 0; color: #475569; line-height: 1.55; }
.mim-hotspot-secret {
  background: linear-gradient(135deg, #fff8db, #fff);
  border-color: rgba(250,202,0,.65);
}
.mim-hotspot-actions { margin-top: 1rem; }
.mim-hotspot-noscript {
  margin-top: 1rem;
  background: #fff;
  border-radius: 24px;
  padding: 1rem 1.25rem;
}
@media (max-width: 1180px) {
  .mim-hotspot-layout { grid-template-columns: 1fr; }
  .mim-hotspot-panel { min-height: auto; }
}
@media (max-width: 760px) {
  .mim-hotspot-map { padding: 1rem; border-radius: 22px; }
  .mim-hotspot-head { grid-template-columns: 1fr; }
  .mim-hotspot-mini-card { min-width: 0; }
  .mim-hotspot-canvas { padding: .45rem; border-radius: 20px; }
  .mim-hotspot-stage { min-width: 840px; }
  .mim-hotspot-canvas { overflow-x: auto; }
  .mim-hotspot-legend { min-width: 840px; }
  .mim-hotspot-media-grid { grid-template-columns: 1fr; }
  .mim-hotspot-actions .mim-btn { width: 100%; justify-content: center; }
}

/* v1.3.0 · Hotspot map full width + mobile-friendly list mode */
.mim-hotspot-map-hint {
  margin: 0 0 .7rem;
  color: #64748b;
  font-size: .92rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: .55rem .85rem;
}
.mim-hotspot-mobile-nav,
.mim-hotspot-mobile-list,
.mim-hotspot-mobile-detail {
  display: none;
}
.mim-hotspot-list-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: center;
  text-align: left;
  padding: .95rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
  color: inherit;
  cursor: pointer;
}
.mim-hotspot-list-item + .mim-hotspot-list-item { margin-top: .65rem; }
.mim-hotspot-list-item.is-active {
  border-color: rgba(11,120,182,.45);
  box-shadow: 0 0 0 4px rgba(11,120,182,.10), 0 14px 32px rgba(15,23,42,.08);
}
.mim-hotspot-list-item.is-visited .mim-hotspot-list-num { background: #48a868; }
.mim-hotspot-list-num {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ef3e38, #ff7b54);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(239,62,56,.22);
}
.mim-hotspot-list-main { min-width: 0; }
.mim-hotspot-list-main strong,
.mim-hotspot-list-main small { display: block; }
.mim-hotspot-list-main strong { font-size: 1rem; line-height: 1.2; }
.mim-hotspot-list-main small {
  margin-top: .25rem;
  color: #64748b;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mim-hotspot-list-meta {
  font-size: .82rem;
  color: #64748b;
  white-space: nowrap;
  font-weight: 800;
}
@media (min-width: 1024px) {
  .mim-hotspot-map--bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    padding-left: max(28px, calc((100vw - 1640px) / 2 + 28px));
    padding-right: max(28px, calc((100vw - 1640px) / 2 + 28px));
  }
  .mim-hotspot-map--bleed .mim-hotspot-layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(360px, .55fr);
  }
  .mim-hotspot-map--bleed .mim-hotspot-stage {
    min-height: 590px;
  }
  .mim-hotspot-map--bleed .mim-hotspot-panel {
    max-height: 690px;
    overflow: auto;
  }
}
@media (max-width: 760px) {
  .mim-hotspot-map--bleed {
    width: calc(100% + 24px);
    max-width: none;
    margin-left: -12px;
    margin-right: -12px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .mim-hotspot-head h2 { font-size: clamp(2rem, 12vw, 3rem); }
  .mim-hotspot-intro { font-size: .98rem; }
  .mim-hotspot-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: .2rem;
    scrollbar-width: thin;
  }
  .mim-hotspot-filters .mim-chip { flex: 0 0 auto; }
  .mim-hotspot-mobile-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    margin: .75rem 0 1rem;
    position: sticky;
    top: .5rem;
    z-index: 8;
    background: rgba(255,247,223,.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226,232,240,.85);
    border-radius: 999px;
    padding: .35rem;
  }
  .mim-hotspot-mobile-nav .mim-chip {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
  }
  .mim-hotspot-map.is-mobile-list .mim-hotspot-mobile-list,
  .mim-hotspot-map.is-mobile-list .mim-hotspot-mobile-detail {
    display: block;
  }
  .mim-hotspot-map.is-mobile-list .mim-hotspot-layout {
    display: none;
  }
  .mim-hotspot-map.is-mobile-map .mim-hotspot-mobile-list,
  .mim-hotspot-map.is-mobile-map .mim-hotspot-mobile-detail {
    display: none;
  }
  .mim-hotspot-map.is-mobile-map .mim-hotspot-layout {
    display: grid;
  }
  .mim-hotspot-mobile-detail {
    margin-top: 1rem;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    overflow: hidden;
  }
  .mim-hotspot-mobile-list:empty:before {
    content: "Nessuna tappa in questo filtro.";
    display: block;
    padding: 1rem;
    color: #64748b;
    background: #fff;
    border-radius: 18px;
  }
  .mim-hotspot-map-hint {
    border-radius: 18px;
    line-height: 1.35;
  }
  .mim-hotspot-canvas {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mim-hotspot-stage {
    min-width: 980px;
    aspect-ratio: 16 / 9;
  }
  .mim-hotspot-legend {
    min-width: 980px;
  }
  .mim-hotspot-panel {
    margin-top: 1rem;
  }
  .mim-hotspot-card {
    padding: 1rem;
  }
  .mim-hotspot-card h3 {
    font-size: 1.55rem;
  }
}

/* v1.3.1 · Fix campi MoodFramework + preventivo ampio */
.mim-engine-ready .moodframework-form-output input[type="text"],
.mim-engine-ready .moodframework-form-output input[type="email"],
.mim-engine-ready .moodframework-form-output input[type="tel"],
.mim-engine-ready .moodframework-form-output input[type="url"],
.mim-engine-ready .moodframework-form-output input[type="number"],
.mim-engine-ready .moodframework-form-output input[type="date"],
.mim-engine-ready .moodframework-form-output select,
.mim-engine-ready .moodframework-form-output textarea,
.mim-engine-ready .moodframework-demo-form input[type="text"],
.mim-engine-ready .moodframework-demo-form input[type="email"],
.mim-engine-ready .moodframework-demo-form select,
.mim-engine-ready .moodframework-demo-form textarea,
.mim-engine-ready .moodframework-shortcode-output .wpcf7-form input[type="text"],
.mim-engine-ready .moodframework-shortcode-output .wpcf7-form input[type="email"],
.mim-engine-ready .moodframework-shortcode-output .wpcf7-form input[type="tel"],
.mim-engine-ready .moodframework-shortcode-output .wpcf7-form input[type="url"],
.mim-engine-ready .moodframework-shortcode-output .wpcf7-form input[type="number"],
.mim-engine-ready .moodframework-shortcode-output .wpcf7-form select,
.mim-engine-ready .moodframework-shortcode-output .wpcf7-form textarea,
.mim-quote-form input[type="text"],
.mim-quote-form input[type="email"],
.mim-quote-form input[type="tel"],
.mim-quote-form input[type="url"],
.mim-quote-form input[type="number"],
.mim-quote-form input[type="date"],
.mim-quote-form select,
.mim-quote-form textarea {
  width: 100%;
  min-height: 54px;
  padding: .82rem 1rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--mood-ink, var(--mim-ink));
  box-shadow: none;
  outline: 1px solid #ccc;
  transition: outline-color .2s ease, box-shadow .2s ease;
}
.mim-engine-ready .moodframework-form-output input:focus,
.mim-engine-ready .moodframework-form-output select:focus,
.mim-engine-ready .moodframework-form-output textarea:focus,
.mim-quote-form input:focus,
.mim-quote-form select:focus,
.mim-quote-form textarea:focus {
  outline-color: rgba(8, 83, 141, .42);
  box-shadow: 0 0 0 4px rgba(8, 83, 141, .10);
}
.mim-quote-form textarea {
  min-height: 190px;
  resize: vertical;
}
.mim-quote-box--wide {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.moodframework-form-output .mim-quote-box,
.moodframework-shortcode-output .mim-quote-box {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.moodframework-form-output .mim-quote-form,
.moodframework-shortcode-output .mim-quote-form {
  width: 100%;
  max-width: none;
  margin: 0;
}
.mim-quote-box--embedded .mim-quote-intro {
  display: none;
}
.mim-quote-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.mim-quote-actions .mim-form-message {
  margin: 0;
}
@media (min-width: 1180px) {
  .mim-quote-box--wide .mim-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .mim-quote-box--wide .mim-checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem 1rem;
  }
  .mim-quote-box--wide .mim-field-full {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .mim-quote-actions,
  .mim-quote-actions .mim-btn {
    width: 100%;
  }
}
.mim-checks label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .55rem;
  margin: 0;
  padding: .85rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  font-weight: 800;
  line-height: 1.3;
}
.mim-checks input[type="checkbox"] {
  width: auto;
  min-height: 0;
  margin: 0;
  accent-color: var(--mim-primary, #08538d);
  flex: 0 0 auto;
}

/* v1.3.3 · Fix gap header/hero sulle pagine MoodFramework generate dal plugin */
body.mim-moodframework-page .mood-landing,
body.mim-moodframework-page .mood-fullwidth,
body.mim-moodframework-page .mood-page,
body.mim-moodframework-page .site-main.mood-landing,
body.mim-moodframework-page .site-main.mood-fullwidth {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.mim-moodframework-page .mood-landing > .moodframework,
body.mim-moodframework-page .mood-fullwidth > article > .moodframework,
body.mim-moodframework-page .mood-page-content > .moodframework,
body.mim-moodframework-page .moodframework > .moodframework-section:first-child {
  margin-top: 0 !important;
}
body.mim-moodframework-page .moodframework > .moodframework-section:first-child {
  border-top: 0;
}

/* v1.4.2 · PWA instructions + mobile app navigation */
.mim-anchor {
  position: relative;
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.mim-pwa-guide {
  color: var(--mim-ink);
  background: linear-gradient(135deg, rgba(8,83,141,.07), rgba(250,202,0,.14));
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 32px;
  padding: clamp(1.2rem, 4vw, 3rem);
  overflow: hidden;
  position: relative;
}
.mim-pwa-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .55fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 1.4rem;
}
.mim-pwa-guide-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: -.05em;
  margin: .65rem 0 1rem;
}
.mim-pwa-guide-head p {
  font-size: 1.1rem;
  color: #475569;
  max-width: 820px;
}
.mim-pwa-phone {
  width: min(100%, 270px);
  margin-left: auto;
  border: 10px solid #0f172a;
  border-radius: 34px;
  background: #0f172a;
  box-shadow: 0 30px 70px rgba(15,23,42,.24);
  padding: .55rem;
  transform: rotate(2deg);
}
.mim-pwa-phone-top {
  width: 72px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  margin: 0 auto .55rem;
}
.mim-pwa-phone-screen {
  min-height: 235px;
  border-radius: 24px 24px 12px 12px;
  background: linear-gradient(160deg, #fff8dc, #e0f7ff);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}
.mim-pwa-phone-screen span { font-size: 3.4rem; }
.mim-pwa-phone-screen strong { display: block; font-size: 1.25rem; color: #0f172a; }
.mim-pwa-phone-screen small { color: #475569; }
.mim-pwa-phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .35rem;
  background: #fff;
  border-radius: 0 0 20px 20px;
  padding: .55rem;
}
.mim-pwa-phone-tabs i {
  display: grid;
  place-items: center;
  font-style: normal;
  background: #f8fafc;
  border-radius: 14px;
  min-height: 38px;
}
.mim-pwa-status-card,
.mim-pwa-step-card,
.mim-pwa-note {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}
.mim-pwa-status-card {
  padding: 1.2rem;
  margin: 1rem 0 1.2rem;
  display: grid;
  gap: .65rem;
}
.mim-pwa-status-card strong { font-size: 1.25rem; }
.mim-pwa-status-card p { margin: 0; color: #475569; }
.mim-pwa-actions,
.mim-install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.mim-pwa-message {
  display: none;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: #fff7d6;
  color: #735c00;
  font-weight: 800;
}
.mim-pwa-message.is-visible { display: block; }
.mim-pwa-inline-status {
  font-size: .92rem;
  font-weight: 700;
  color: #475569;
}
.mim-pwa-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.mim-pwa-step-card {
  padding: 1.15rem;
}
.mim-pwa-step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8,83,141,.12), rgba(250,202,0,.28));
  font-size: 1.65rem;
  margin-bottom: .85rem;
}
.mim-pwa-step-card h3 { margin: 0 0 .75rem; font-size: 1.25rem; }
.mim-pwa-step-card ol { margin: 0; padding-left: 1.2rem; color: #475569; }
.mim-pwa-step-card li + li { margin-top: .45rem; }
.mim-pwa-note {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  color: #334155;
  border-left: 5px solid var(--mim-accent, #faca00);
}
.mim-install-box--smart {
  align-items: flex-start;
}
.mim-mobile-app-nav { display: none; }
@media (max-width: 980px) {
  .mim-pwa-guide-head { grid-template-columns: 1fr; }
  .mim-pwa-phone { margin: 0 auto; transform: none; }
  .mim-pwa-steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body.mim-mobile-app-nav-enabled {
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
  body.mim-mobile-app-nav-enabled .mim-mobile-app-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 9990;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .25rem;
    padding: .45rem;
    border: 1px solid rgba(226,232,240,.9);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 20px 60px rgba(15,23,42,.22);
    backdrop-filter: blur(18px);
  }
  .mim-mobile-app-nav a {
    display: grid;
    place-items: center;
    gap: .12rem;
    min-height: 54px;
    border-radius: 18px;
    text-decoration: none;
    color: #0f172a;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
  }
  .mim-mobile-app-nav a:hover,
  .mim-mobile-app-nav a:focus-visible {
    background: linear-gradient(135deg, rgba(8,83,141,.1), rgba(250,202,0,.26));
    outline: none;
  }
  .mim-mobile-app-nav__icon {
    font-size: 1.25rem;
    line-height: 1;
  }
  .mim-mobile-app-nav__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .mim-pwa-guide {
    border-radius: 22px;
    padding: 1rem;
  }
  .mim-pwa-actions .mim-btn,
  .mim-install-actions .mim-btn {
    width: 100%;
    justify-content: center;
  }
}

/* v1.4.2 · PWA guide + mobile app-like navigation */
.mim-install-box--smart {
  align-items: flex-start;
}
.mim-install-box--smart small,
.mim-pwa-status {
  display: block;
  margin-top: .45rem;
  color: #64748b;
  font-weight: 700;
}
.mim-install-actions,
.mim-pwa-action-buttons {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
[data-role="pwa-install-status"].is-ready { color: #047857; }
[data-role="pwa-install-status"].is-installed { color: #08538d; }
[data-role="pwa-install-status"].is-ios { color: #7c3aed; }
[data-role="pwa-install-status"].is-muted { color: #64748b; }

.mim-pwa-guide {
  color: var(--mim-ink);
}
.mim-pwa-guide__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .55fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 30px;
  background: radial-gradient(circle at top right, rgba(250,202,0,.32), transparent 38%), linear-gradient(135deg, rgba(8,83,141,.08), rgba(250,202,0,.12));
  border: 1px solid rgba(8,83,141,.10);
}
.mim-pwa-guide__hero h2 {
  margin: .35rem 0 .75rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: .95;
  letter-spacing: -.055em;
}
.mim-pwa-guide__hero p,
.mim-pwa-action-panel p,
.mim-pwa-result-grid span {
  color: #64748b;
  line-height: 1.58;
}
.mim-pwa-phone {
  display: grid;
  place-items: center;
}
.mim-pwa-phone__screen {
  width: min(260px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 34px;
  border: 10px solid #132235;
  background: linear-gradient(180deg, #fffdf6, #eaf6ff);
  box-shadow: 0 24px 70px rgba(15,23,42,.20);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.3rem;
}
.mim-pwa-phone__screen span {
  font-size: 3rem;
}
.mim-pwa-phone__screen strong,
.mim-pwa-phone__screen small {
  display: block;
}
.mim-pwa-phone__screen small {
  color: #64748b;
  font-weight: 800;
}
.mim-pwa-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
  padding: clamp(1rem, 2.4vw, 1.4rem);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15,23,42,.06);
}
.mim-pwa-action-panel strong {
  font-size: 1.2rem;
}
.mim-pwa-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.mim-pwa-steps article,
.mim-pwa-result-grid div {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  box-shadow: 0 14px 38px rgba(15,23,42,.06);
}
.mim-pwa-os {
  display: inline-flex;
  border-radius: 999px;
  padding: .45rem .75rem;
  background: #fff7df;
  color: #7a4f00;
  font-weight: 900;
}
.mim-pwa-steps h3 {
  margin: .85rem 0 .55rem;
}
.mim-pwa-steps ol {
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.mim-pwa-steps li + li {
  margin-top: .45rem;
}
.mim-pwa-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.mim-pwa-result-grid strong,
.mim-pwa-result-grid span {
  display: block;
}
.mim-pwa-result-grid strong {
  margin-bottom: .35rem;
}

/* La bottom navigation v1.4.2 è unica e globale: .mim-mobile-app-nav. */



/* v1.4.2 · stato attivo barra mobile globale */
@media (max-width: 760px) {
  .mim-mobile-app-nav a.is-active {
    background: linear-gradient(135deg, var(--mim-primary, #08538d), #0b78b6);
    color: #fff;
    box-shadow: 0 10px 24px rgba(8,83,141,.22);
  }
}

/* v1.4.2 · PWA configurabile, link smart e guida più chiara */
.mim-pwa-link-strip{display:grid;gap:.45rem;max-width:760px;margin-top:1rem;padding:1rem;border-radius:20px;background:rgba(255,255,255,.82);border:1px solid rgba(226,232,240,.95)}
.mim-pwa-link-strip input{width:100%;min-height:48px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;padding:.75rem 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;color:#0f172a}
.mim-pwa-phone-screen img,.mim-pwa-status-icon img,.mim-install-app-preview img{width:72px;height:72px;border-radius:20px;object-fit:cover;box-shadow:0 12px 28px rgba(15,23,42,.18);background:#fff}.mim-pwa-status-card--smart{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.mim-pwa-status-icon{width:76px;height:76px;border-radius:24px;background:linear-gradient(135deg,rgba(250,202,0,.25),rgba(8,83,141,.12));display:grid;place-items:center}.mim-pwa-status-icon span{font-size:2rem}.mim-install-main-btn{font-size:1.05rem;min-height:54px}.mim-pwa-truth-box{margin:1rem 0;padding:1rem 1.15rem;border-radius:22px;background:#fff7d6;border:1px solid rgba(250,202,0,.52);color:#493b00}.mim-pwa-truth-box p{margin:.35rem 0 0;color:#5d4b00}.mim-pwa-step-card.is-device-active{outline:3px solid var(--mim-accent,#faca00);box-shadow:0 22px 60px rgba(250,202,0,.20);transform:translateY(-2px)}.mim-install-app-preview{display:grid;gap:.4rem;place-items:center;min-width:96px}.mim-install-app-preview span{font-weight:900;color:#0f172a;font-size:.9rem}.mim-smart-install-requested .mim-pwa-status-card--smart{outline:3px solid var(--mim-accent,#faca00)}[data-role="install-pwa"][hidden]{display:none!important}@media(max-width:820px){.mim-pwa-status-card--smart{grid-template-columns:1fr}.mim-pwa-status-icon{width:70px;height:70px}.mim-install-app-preview{width:100%;justify-content:start;grid-template-columns:auto 1fr;place-items:center start}.mim-pwa-link-strip input{font-size:.78rem}.mim-pwa-phone-screen img{width:64px;height:64px}.mim-pwa-guide-head h2{font-size:clamp(2rem,11vw,3.1rem)}}

/* v1.4.2 - Prompt installazione PWA stile app */
.mim-pwa-floating[hidden]{display:none!important}
.mim-pwa-floating{position:fixed;inset:0;z-index:99998;pointer-events:none;font-family:inherit}
.mim-pwa-floating.is-open{pointer-events:auto}
.mim-pwa-floating__scrim{position:absolute;inset:0;background:rgba(15,23,42,.18);opacity:0;transition:opacity .22s ease}
.mim-pwa-floating.is-open .mim-pwa-floating__scrim{opacity:1}
.mim-pwa-floating__sheet{position:absolute;left:50%;bottom:clamp(10px,2.5vw,24px);width:min(620px,calc(100vw - 24px));transform:translate(-50%,calc(100% + 40px));border-radius:28px;background:rgba(255,255,255,.98);box-shadow:0 28px 90px rgba(15,23,42,.26);border:1px solid rgba(226,232,240,.95);overflow:hidden;transition:transform .26s ease;backdrop-filter:blur(16px);color:#0f172a}
.mim-pwa-floating.is-open .mim-pwa-floating__sheet{transform:translate(-50%,0)}
.mim-pwa-floating__handle{width:56px;height:5px;border-radius:999px;background:#e5e7eb;margin:10px auto 0}
.mim-pwa-floating__close{position:absolute;right:14px;top:14px;width:42px;height:42px;border:0;border-radius:999px;background:#f1f5f9;color:#475569;font-size:1.55rem;line-height:1;display:grid;place-items:center;cursor:pointer}
.mim-pwa-floating__top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.9rem;padding:1.2rem 1.35rem 1rem;border-bottom:1px solid rgba(226,232,240,.9)}
.mim-pwa-floating__icon{width:58px;height:58px;border-radius:16px;object-fit:cover;background:#fff;box-shadow:0 10px 26px rgba(15,23,42,.14)}
.mim-pwa-floating__copy{display:grid;gap:.16rem;min-width:0;padding-right:2.1rem}.mim-pwa-floating__copy strong{font-size:1.08rem;font-weight:900;color:#0f172a;line-height:1.16}.mim-pwa-floating__copy span{font-size:.92rem;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mim-pwa-floating__install{min-height:48px;padding:.75rem 1.35rem;border:0;border-radius:18px;background:linear-gradient(135deg,var(--mim-primary,#08538d),#7c3aed);color:#fff;font-weight:900;font-size:1rem;box-shadow:0 14px 28px rgba(8,83,141,.24);cursor:pointer}.mim-pwa-floating.is-ready .mim-pwa-floating__install{background:linear-gradient(135deg,#10b981,var(--mim-primary,#08538d))}.mim-pwa-floating__install:focus-visible{outline:3px solid var(--mim-accent,#faca00);outline-offset:3px}
.mim-pwa-floating__body{padding:1rem 1.35rem 1.25rem}.mim-pwa-floating__body p{margin:.25rem 0;color:#475569}.mim-pwa-floating__body .mim-pwa-message.is-visible{margin-top:.85rem;padding:.85rem 1rem;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155}.mim-pwa-floating__actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.9rem}.mim-pwa-floating__actions a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:.55rem .9rem;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;text-decoration:none;color:#0f172a;font-weight:800;font-size:.9rem}.mim-pwa-floating__actions a:hover{background:#fff7d6;border-color:rgba(250,202,0,.6)}
@media(min-width:821px){.mim-pwa-floating__sheet{bottom:28px}.mim-pwa-floating__scrim{background:transparent}}
@media(max-width:820px){.mim-pwa-floating__sheet{left:0;right:0;bottom:0;width:100%;border-radius:24px 24px 0 0;transform:translateY(calc(100% + 40px))}.mim-pwa-floating.is-open .mim-pwa-floating__sheet{transform:translateY(0)}.mim-pwa-floating__top{padding:1.05rem 1rem .85rem;grid-template-columns:auto minmax(0,1fr) auto}.mim-pwa-floating__icon{width:52px;height:52px}.mim-pwa-floating__install{min-height:46px;padding:.72rem 1.1rem}.mim-pwa-floating__body{padding:.9rem 1rem 1.15rem}.mim-pwa-floating__copy strong{font-size:1rem}.mim-pwa-floating__copy span{font-size:.86rem}.mim-pwa-floating__close{right:10px;top:10px;width:38px;height:38px}}
@media(max-width:420px){.mim-pwa-floating__top{grid-template-columns:auto minmax(0,1fr);padding-top:1.25rem}.mim-pwa-floating__install{grid-column:1 / -1;width:100%;margin-top:.25rem}.mim-pwa-floating__copy{padding-right:2rem}.mim-pwa-floating__actions a{flex:1}}

/* v1.4.4 · Barra installazione PWA in stile Chrome/Android */
.mim-pwa-floating--nativebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 99998;
  pointer-events: none;
  font-family: inherit;
  padding: 0 clamp(10px, 2vw, 18px) calc(14px + env(safe-area-inset-bottom));
}
body.mim-mobile-app-nav-enabled .mim-pwa-floating--nativebar {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
.mim-pwa-floating--nativebar.is-open { pointer-events: auto; }
.mim-pwa-floating--nativebar .mim-pwa-floating__sheet {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(560px, 100%);
  margin: 0 auto;
  transform: translateY(calc(100% + 26px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: .8rem;
  align-items: center;
  padding: .85rem .9rem;
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(226,232,240,.96);
  box-shadow: 0 18px 54px rgba(15,23,42,.22);
  color: #0f172a;
  overflow: visible;
  backdrop-filter: blur(16px);
  transition: transform .26s ease, box-shadow .22s ease;
}
.mim-pwa-floating--nativebar.is-open .mim-pwa-floating__sheet { transform: translateY(0); }
.mim-pwa-floating--nativebar .mim-pwa-floating__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  object-fit: cover;
  background: #fff;
  box-shadow: none;
}
.mim-pwa-floating--nativebar .mim-pwa-floating__copy {
  min-width: 0;
  display: grid;
  gap: .08rem;
  padding: 0;
}
.mim-pwa-floating--nativebar .mim-pwa-floating__copy strong {
  font-size: .98rem;
  line-height: 1.15;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mim-pwa-floating--nativebar .mim-pwa-floating__copy span,
.mim-pwa-floating--nativebar .mim-pwa-floating__copy small {
  display: block;
  font-size: .82rem;
  line-height: 1.15;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mim-pwa-floating--nativebar .mim-pwa-message {
  display: none;
  margin-top: .25rem;
  font-style: normal;
  font-size: .76rem;
  line-height: 1.2;
  color: #7c2d12;
}
.mim-pwa-floating--nativebar .mim-pwa-message.is-visible { display: block; }
.mim-pwa-floating--nativebar .mim-pwa-floating__install {
  min-height: 44px;
  border: 0;
  border-radius: 17px;
  padding: .72rem 1rem;
  background: linear-gradient(135deg, var(--mim-primary,#08538d), #7c3aed);
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  box-shadow: 0 10px 22px rgba(8,83,141,.22);
  cursor: pointer;
}
.mim-pwa-floating--nativebar.is-ready .mim-pwa-floating__install { background: linear-gradient(135deg, #6d5bd0, var(--mim-primary,#08538d)); }
.mim-pwa-floating--nativebar.is-waiting .mim-pwa-floating__install { background: #c7b06a; }
.mim-pwa-floating--nativebar .mim-pwa-floating__close {
  position: static;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mim-pwa-floating--nativebar .mim-pwa-floating__fallback {
  position: absolute;
  right: .9rem;
  bottom: -1.55rem;
  font-size: .73rem;
  font-weight: 800;
  color: #64748b;
  text-decoration: none;
  background: rgba(255,255,255,.92);
  padding: .2rem .55rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}
@media (max-width: 520px) {
  .mim-pwa-floating--nativebar { padding-inline: 0; }
  .mim-pwa-floating--nativebar .mim-pwa-floating__sheet {
    width: 100%;
    border-radius: 24px 24px 0 0;
    padding: .82rem .75rem .92rem;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
  .mim-pwa-floating--nativebar .mim-pwa-floating__icon { width: 42px; height: 42px; border-radius: 12px; }
  .mim-pwa-floating--nativebar .mim-pwa-floating__install { min-height: 42px; padding: .68rem .86rem; }
  .mim-pwa-floating--nativebar .mim-pwa-floating__close { width: 34px; height: 34px; }
  .mim-pwa-floating--nativebar .mim-pwa-floating__fallback { display: none; }
}
@media (max-width: 380px) {
  .mim-pwa-floating--nativebar .mim-pwa-floating__copy small { display: none; }
  .mim-pwa-floating--nativebar .mim-pwa-floating__install { font-size: .88rem; padding-inline: .72rem; }
}

/* v1.4.4 · Area Web App dedicata */
body.mim-app-shell-body {
  margin: 0;
  background: #f3f6fb;
  color: #13213a;
  min-height: 100vh;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
body.mim-app-shell-body #wpadminbar { display: none !important; }
body.mim-app-shell-body html { margin-top: 0 !important; }
body.mim-app-shell-body .mim-mobile-app-nav { display: flex !important; }
.mim-app-shell {
  --mim-app-radius: 24px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(24,184,220,.20), transparent 34rem),
    linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
}
.mim-app-shell__topbar {
  position: sticky;
  top: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(.75rem + env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-left, 0px)) .75rem max(1rem, env(safe-area-inset-right, 0px));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}
.mim-app-shell__brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  min-width: 0;
  color: #10172a;
  text-decoration: none;
}
.mim-app-shell__brand img {
  flex: 0 0 auto;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(15,23,42,.14);
}
.mim-app-shell__brand strong,
.mim-app-shell__brand small {
  display: block;
  line-height: 1.05;
}
.mim-app-shell__brand strong {
  font-size: 1rem;
  font-weight: 950;
  max-width: 52vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mim-app-shell__brand small {
  margin-top: .18rem;
  color: #667085;
  font-weight: 750;
  font-size: .78rem;
}
.mim-app-shell__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: .62rem .95rem;
  background: #10172a;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: .85rem;
}
.mim-app-shell__main {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 1rem 0 5rem;
}
.mim-app-shell__hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--mim-app-radius);
  padding: clamp(1.35rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(135deg, #07243f, #29104c 72%);
  box-shadow: 0 22px 60px rgba(11,22,50,.18);
}
.mim-app-shell__hero:after {
  content: '';
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -5rem;
  bottom: -7rem;
  border-radius: 999px;
  background: rgba(250,202,0,.85);
}
.mim-app-shell__eyebrow {
  margin: 0 0 .75rem;
  color: #91e7ff;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}
.mim-app-shell__hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.1rem, 7vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 950;
}
.mim-app-shell__hero p:not(.mim-app-shell__eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 1.1rem 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.55;
}
.mim-app-shell__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}
.mim-app-shell__actions .mim-button {
  min-height: 46px;
  border-radius: 999px;
  padding: .82rem 1.2rem;
  text-decoration: none;
  font-weight: 950;
}
.mim-app-shell__actions .mim-button--primary { background: linear-gradient(135deg, #7c3aed, #18b8dc); color: #fff; }
.mim-app-shell__actions .mim-button--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.24); }
.mim-app-shell__section {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(15,23,42,.07);
  border-radius: var(--mim-app-radius);
  box-shadow: 0 18px 50px rgba(15,23,42,.08);
}
.mim-app-shell__section--map {
  padding-inline: clamp(.35rem, 2vw, 1rem);
}
.mim-app-shell__section-head {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 0 0 1rem;
}
.mim-app-shell__section-head > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef6ff;
  font-size: 1.3rem;
}
.mim-app-shell__section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}
.mim-app-shell__section-head p {
  margin: .3rem 0 0;
  color: #64748b;
  line-height: 1.45;
}
.mim-app-shell .mim-hotspot-map--bleed {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.mim-app-shell .mim-hotspot-map {
  box-shadow: none;
  border-radius: 22px;
  border: 1px solid rgba(15,23,42,.08);
}
.mim-app-shell .mim-pwa-instructions {
  margin: 0;
}
@media (max-width: 760px) {
  .mim-app-shell__main { width: min(100% - 16px, 680px); padding-top: .7rem; }
  .mim-app-shell__ghost { padding-inline: .78rem; }
  .mim-app-shell__hero { border-radius: 22px; }
  .mim-app-shell__section { border-radius: 22px; }
  .mim-app-shell .mim-hotspot-head,
  .mim-app-shell .mim-hotspot-intro,
  .mim-app-shell .mim-hotspot-filters { padding-inline: .35rem; }
}

/* v1.5.0 · Community, partner, news e modalità web app più immersiva */
.mim-pwa-webview header.site-header,
.mim-pwa-webview .site-header,
.mim-pwa-webview .mood-header,
.mim-pwa-webview .mood-site-header,
.mim-pwa-webview .main-navigation,
.mim-pwa-webview footer.site-footer,
.mim-pwa-webview .site-footer,
.mim-pwa-webview .mood-footer { display:none!important; }
.mim-pwa-webview #page,
.mim-pwa-webview .site,
.mim-pwa-webview main,
.mim-pwa-webview .moodframework-page-shell { padding-top:0!important; margin-top:0!important; }

.mim-section-head--friendly{display:flex;gap:1rem;align-items:flex-start;margin:0 0 1.2rem}.mim-section-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(135deg,var(--mim-accent,#faca00),#fff3b0);box-shadow:0 14px 34px rgba(250,202,0,.25);font-size:1.65rem;flex:0 0 auto}.mim-section-head--friendly h2{margin:.08rem 0 .35rem;font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.055em;line-height:.95}.mim-section-head--friendly p{max-width:760px;margin:0;color:#607086;font-size:1.03rem;line-height:1.55}
.mim-content-wall,.mim-community-gallery,.mim-community-upload,.mim-partner-area{padding:clamp(1rem,3vw,2rem);border-radius:32px;background:linear-gradient(180deg,#fff,rgba(248,250,252,.92));box-shadow:0 24px 70px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.07);margin:1.5rem auto}.mim-content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.mim-content-grid--list{grid-template-columns:1fr}.mim-story-card{background:#fff;border:1px solid rgba(15,23,42,.07);border-radius:26px;overflow:hidden;box-shadow:0 18px 45px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease}.mim-story-card:hover{transform:translateY(-3px);box-shadow:0 28px 70px rgba(15,23,42,.12)}.mim-story-card__media{display:grid;place-items:center;min-height:180px;background:linear-gradient(135deg,#e0f2fe,#fff7ed);text-decoration:none;color:#0f172a}.mim-story-card__media img{width:100%;height:220px;object-fit:cover;display:block}.mim-story-card__media--empty span{font-size:3rem}.mim-story-card__body{padding:1.1rem}.mim-story-card__eyebrow{font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--mim-primary,#08538d)}.mim-story-card h3{margin:.35rem 0 .5rem;font-size:1.25rem;line-height:1.05}.mim-story-card h3 a{text-decoration:none;color:#101828}.mim-story-card p{margin:0;color:#667085;line-height:1.5}.mim-story-card__chips{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.9rem}.mim-story-card__chips span,.mim-filter-pills button{border:0;border-radius:999px;background:#f1f5f9;color:#334155;padding:.45rem .65rem;font-weight:700;font-size:.78rem}.mim-story-card__actions{margin-top:1rem}.mim-story-card__actions a{display:inline-flex;padding:.66rem .9rem;border-radius:999px;background:linear-gradient(135deg,var(--mim-primary,#08538d),#7c3aed);color:#fff;text-decoration:none;font-weight:800}.mim-filter-pills{display:flex;gap:.5rem;flex-wrap:wrap;margin:0 0 1rem}.mim-filter-pills button{cursor:pointer}.mim-filter-pills button.is-active{background:#111827;color:#fff}.mim-empty-state,.mim-admin-empty{grid-column:1/-1;padding:2rem;border-radius:24px;background:#f8fafc;border:1px dashed #cbd5e1;text-align:center;color:#475569}

.mim-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mim-friendly-form{display:grid;gap:.9rem}.mim-auth-card,.mim-upload-panel,.mim-partner-form-wrap{border-radius:28px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 55px rgba(15,23,42,.08);padding:clamp(1rem,3vw,1.5rem)}.mim-auth-card--highlight{background:linear-gradient(135deg,#fff7ed,#f0f9ff)}.mim-auth-icon{font-size:2rem}.mim-auth-card h3{margin:.25rem 0;font-size:1.45rem}.mim-auth-card p,.mim-partner-status p,.mim-upload-panel__intro p{color:#64748b}.mim-friendly-form label{display:grid;gap:.35rem;font-weight:800;color:#1f2937}.mim-friendly-form input[type="text"],.mim-friendly-form input[type="email"],.mim-friendly-form input[type="password"],.mim-friendly-form input[type="tel"],.mim-friendly-form input[type="url"],.mim-friendly-form input[type="file"],.mim-friendly-form select,.mim-friendly-form textarea{width:100%;min-height:54px;padding:.82rem 1rem;border:0;border-radius:18px;background:#fff;color:#111827;outline:1px solid #ccc;box-shadow:none}.mim-friendly-form textarea{min-height:120px}.mim-field-full{grid-column:1/-1}.mim-upload-form,.mim-partner-form{grid-template-columns:repeat(2,minmax(0,1fr))}.mim-upload-form button,.mim-partner-form button{justify-self:start}.mim-alert{padding:1rem 1.1rem;border-radius:20px;margin:0 0 1rem;font-weight:800}.mim-alert--ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.mim-alert--err{background:#fff1f2;color:#be123c;border:1px solid #fecdd3}.mim-partner-status{padding:1rem;border-radius:22px;background:#f8fafc;margin-bottom:1rem}

.mim-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.mim-photo-card{border-radius:28px;overflow:hidden;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 50px rgba(15,23,42,.08)}.mim-photo-card__image{aspect-ratio:4/3;background:linear-gradient(135deg,#e0f2fe,#fff7ed);display:grid;place-items:center}.mim-photo-card__image img{width:100%;height:100%;object-fit:cover;display:block}.mim-photo-card__image span{font-size:3rem}.mim-photo-card__body{padding:1rem}.mim-photo-card__body span{display:inline-block;border-radius:999px;background:#eef2ff;color:#4338ca;padding:.35rem .6rem;font-weight:800;font-size:.78rem}.mim-photo-card__body p{color:#475569;line-height:1.45}.mim-photo-card__body strong{color:var(--mim-primary,#08538d)}

.mim-app-shell__section--community{background:linear-gradient(135deg,#fff7ed,#eef2ff)}.mim-app-shell__section--news{background:linear-gradient(135deg,#f0f9ff,#fff)}

@media (max-width: 900px){.mim-content-grid,.mim-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mim-auth-grid,.mim-upload-form,.mim-partner-form{grid-template-columns:1fr}}@media (max-width: 640px){.mim-content-wall,.mim-community-gallery,.mim-community-upload,.mim-partner-area{border-radius:24px;padding:1rem;margin:1rem auto}.mim-content-grid,.mim-photo-grid{grid-template-columns:1fr}.mim-section-head--friendly{gap:.75rem}.mim-section-icon{width:48px;height:48px;border-radius:18px}.mim-section-head--friendly h2{font-size:1.85rem}.mim-story-card__media{min-height:140px}.mim-auth-card,.mim-upload-panel,.mim-partner-form-wrap{border-radius:22px}.mim-friendly-form input[type="text"],.mim-friendly-form input[type="email"],.mim-friendly-form input[type="password"],.mim-friendly-form input[type="tel"],.mim-friendly-form input[type="url"],.mim-friendly-form input[type="file"],.mim-friendly-form select,.mim-friendly-form textarea{border-radius:16px}}

/* v1.5.0 · collezioni, community, partner */
.mim-collection,.mim-community-panel,.mim-community-gallery{color:var(--mim-ink);background:linear-gradient(135deg,rgba(8,83,141,.06),rgba(250,202,0,.11));border:1px solid rgba(8,83,141,.10);border-radius:clamp(22px,3vw,34px);padding:clamp(1.1rem,3vw,2.2rem);margin:1.4rem 0;box-shadow:0 18px 55px rgba(15,23,42,.08);overflow:hidden}.mim-collection-head h2,.mim-community-head h2,.mim-community-gallery h2{font-size:clamp(2rem,4vw,3.7rem);line-height:.96;letter-spacing:-.055em;margin:.45rem 0 .7rem}.mim-collection-head p,.mim-community-head p,.mim-community-gallery header p{color:var(--mim-muted);max-width:760px}.mim-collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}.mim-collection-card{background:#fff;border:1px solid #e2e8f0;border-radius:26px;overflow:hidden;box-shadow:0 16px 48px rgba(15,23,42,.08);display:flex;flex-direction:column}.mim-collection-img{height:190px;background-size:cover;background-position:center;display:grid;place-items:center}.mim-collection-img span{width:58px;height:58px;border-radius:20px;background:rgba(255,255,255,.92);display:grid;place-items:center;font-size:2rem;box-shadow:0 12px 25px rgba(15,23,42,.12)}.mim-collection-img--gradient{background:radial-gradient(circle at 80% 0%,rgba(250,202,0,.55),transparent 35%),linear-gradient(135deg,#dff7ff,#fff7df)}.mim-collection-body{padding:1rem;display:flex;flex-direction:column;gap:.5rem;flex:1}.mim-collection-body h3{font-size:1.25rem;margin:.1rem 0}.mim-collection-body p{color:var(--mim-muted);margin:0}.mim-collection-body small{color:#0b78b6;font-weight:800}.mim-collection-number{display:inline-flex;align-self:flex-start;padding:.25rem .55rem;border-radius:999px;background:#fff1e8;color:#b42318}.mim-collection-offer{background:#fff8d7;border:1px solid #faeaa1;border-radius:16px;padding:.7rem;color:#6b5200;font-weight:700}.mim-collection-empty,.mim-gallery-empty{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:1.5rem;text-align:center;color:var(--mim-muted);margin-top:1rem}.mim-community-form{background:#fff;border:1px solid #e2e8f0;border-radius:26px;padding:clamp(1rem,2vw,1.5rem);box-shadow:0 16px 48px rgba(15,23,42,.08)}.mim-community-form label,.mim-login-card label{display:flex;flex-direction:column;gap:.45rem;font-weight:800;margin-bottom:.9rem}.mim-community-form input,.mim-community-form select,.mim-community-form textarea,.mim-login-card input,.mim-login-card select{width:100%;min-height:52px;padding:.82rem 1rem;border:0;border-radius:0;background:#fff;color:var(--mim-ink);box-shadow:none;outline:1px solid #ccc;transition:outline-color .2s ease,box-shadow .2s ease}.mim-community-form textarea,.mim-login-card textarea{min-height:120px}.mim-community-form input:focus,.mim-community-form select:focus,.mim-community-form textarea:focus,.mim-login-card input:focus,.mim-login-card select:focus{outline-color:var(--mim-primary);box-shadow:0 0 0 4px rgba(8,83,141,.10)}.mim-status-ribbon,.mim-message-banner{display:inline-flex;gap:.4rem;align-items:center;margin:.7rem 0 1rem;padding:.65rem .9rem;border-radius:999px;background:#eef6ff;color:#075985;font-weight:800}.mim-message-sent,.mim-message-created,.mim-message-published{background:#ecfdf5;color:#047857}.mim-message-error,.mim-message-upload,.mim-message-missing{background:#fff1f2;color:#be123c}.mim-login-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.mim-login-card{background:#fff;border:1px solid #e2e8f0;border-radius:26px;padding:1.2rem;box-shadow:0 16px 48px rgba(15,23,42,.08)}.mim-login-card h3{margin-top:0}.mim-user-submissions{margin-top:1rem}.mim-mini-list{display:grid;gap:.5rem}.mim-mini-list div{display:flex;justify-content:space-between;gap:1rem;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:.75rem}.mim-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}.mim-gallery-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;overflow:hidden;box-shadow:0 16px 48px rgba(15,23,42,.08)}.mim-gallery-img{height:240px;background-size:cover;background-position:center}.mim-gallery-card div:last-child{padding:1rem}.mim-gallery-card p{font-size:1.05rem;margin:.1rem 0 .7rem;color:#334155}.mim-gallery-card strong{color:#0b78b6}.mim-app-shell .mim-community-panel,.mim-app-shell .mim-community-gallery,.mim-app-shell .mim-collection{margin:0;background:rgba(255,255,255,.72)}
@media(max-width:920px){.mim-collection-grid,.mim-gallery-grid,.mim-login-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.mim-collection-grid,.mim-gallery-grid,.mim-login-grid{grid-template-columns:1fr}.mim-collection,.mim-community-panel,.mim-community-gallery{border-radius:20px;padding:1rem}.mim-gallery-img{height:210px}.mim-community-form input,.mim-community-form select,.mim-community-form textarea,.mim-login-card input,.mim-login-card select{min-height:50px}}

/* v1.5.0 · istruzioni installazione più visuali */
.mim-pwa-guide{background:radial-gradient(circle at 90% 0%,rgba(250,202,0,.32),transparent 28%),linear-gradient(135deg,#effbff,#fff8dd);border-radius:34px;border:1px solid rgba(8,83,141,.12);padding:clamp(1.2rem,3vw,2.4rem);box-shadow:0 22px 70px rgba(15,23,42,.10)}.mim-pwa-guide-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:1.4rem;align-items:center}.mim-pwa-guide-head h2{font-size:clamp(2.2rem,5vw,4.5rem);line-height:.94;letter-spacing:-.06em}.mim-pwa-phone{background:#111827;border-radius:34px;padding:.9rem;box-shadow:0 25px 60px rgba(15,23,42,.25);transform:rotate(2deg)}.mim-pwa-phone-screen{background:linear-gradient(180deg,#fff,#edf8ff);border-radius:26px;min-height:360px;display:grid;place-items:center;text-align:center;padding:1rem}.mim-pwa-phone-screen img{width:92px;height:92px;border-radius:24px;object-fit:cover}.mim-pwa-phone-screen strong{font-size:1.4rem}.mim-pwa-phone-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;margin-top:.7rem}.mim-pwa-phone-tabs i{background:rgba(255,255,255,.12);border-radius:14px;padding:.6rem;text-align:center;font-style:normal}.mim-pwa-link-strip{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:1rem;margin-top:1rem}.mim-pwa-link-strip input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:.7rem;font-family:monospace;background:#f8fafc}.mim-pwa-status-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:1rem;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:26px;padding:1rem;margin:1rem 0;box-shadow:0 16px 45px rgba(15,23,42,.08)}.mim-pwa-status-icon img{width:64px;height:64px;border-radius:18px}.mim-pwa-actions{display:flex;gap:.6rem;flex-wrap:wrap}.mim-pwa-truth-box{background:#fff8db;border:1px solid #fae8a1;border-radius:22px;padding:1rem;color:#654b00}.mim-pwa-steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1rem}.mim-pwa-step-card{background:#fff;border:1px solid #e2e8f0;border-radius:24px;padding:1.1rem;box-shadow:0 12px 34px rgba(15,23,42,.06)}.mim-pwa-step-icon{font-size:2rem}.mim-pwa-step-card li{margin:.45rem 0}.mim-pwa-note{margin-top:1rem;color:#475569}@media(max-width:840px){.mim-pwa-guide-head,.mim-pwa-status-card,.mim-pwa-steps-grid{grid-template-columns:1fr}.mim-pwa-phone{transform:none}.mim-pwa-actions .mim-btn{width:100%}}

/* v1.5.0 · esperienza app dedicata: quando arriva dalla PWA niente header/footer da sito */
body.mim-hide-site-chrome :is(.site-header,#masthead,header.site-header,.mood-header,.mood-site-header,.wp-site-blocks > header,.site-footer,#colophon,footer.site-footer,.mood-footer,.mood-site-footer) {
  display: none !important;
}
body.mim-hide-site-chrome { padding-top: 0 !important; background: #f7fafc; }
body.mim-hide-site-chrome .moodframework-page-shell,
body.mim-hide-site-chrome main,
body.mim-hide-site-chrome .site-main { padding-top: 0 !important; margin-top: 0 !important; }
body.mim-hide-site-chrome.admin-bar { margin-top: 0 !important; }
body.mim-hide-site-chrome #wpadminbar { display:none !important; }

/* v1.5.0 · PWA guide più visuale e gentile */
.mim-pwa-guide { position: relative; isolation: isolate; background: radial-gradient(circle at 15% 10%, rgba(250,202,0,.24), transparent 32%), linear-gradient(135deg, rgba(8,83,141,.08), rgba(118,70,255,.09)); border: 1px solid rgba(8,83,141,.10); border-radius: 34px; padding: clamp(20px,4vw,46px); overflow: hidden; box-shadow: 0 24px 70px rgba(15,23,42,.10); }
.mim-pwa-guide:before { content:""; position:absolute; inset:auto -8% -18% auto; width:280px; aspect-ratio:1; background:rgba(250,202,0,.28); filter:blur(22px); border-radius:999px; z-index:-1; }
.mim-pwa-guide-head { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr); gap:28px; align-items:center; }
.mim-pwa-guide-head h2 { font-size: clamp(2rem, 5vw, 4.8rem); line-height:.9; letter-spacing:-.055em; margin:.4rem 0 1rem; }
.mim-pwa-link-strip { margin-top:1rem; padding:14px; border-radius:22px; background:rgba(255,255,255,.82); border:1px solid rgba(8,83,141,.10); }
.mim-pwa-link-strip input { width:100%; min-height:44px; border:0; outline:1px solid #cbd5e1; border-radius:14px; padding:0 12px; margin:.45rem 0; background:#fff; }
.mim-pwa-phone { width:min(290px,100%); justify-self:center; background:#101827; border-radius:36px; padding:14px; box-shadow:0 28px 60px rgba(15,23,42,.24); color:#fff; transform:rotate(1.5deg); }
.mim-pwa-phone-top { width:84px; height:6px; background:rgba(255,255,255,.35); border-radius:99px; margin:0 auto 14px; }
.mim-pwa-phone-screen { display:grid; place-items:center; gap:8px; min-height:270px; background:linear-gradient(160deg,#fff,#edf8ff); color:#132235; border-radius:24px; text-align:center; padding:20px; }
.mim-pwa-phone-screen img { width:82px; height:82px; border-radius:24px; box-shadow:0 12px 26px rgba(15,23,42,.18); object-fit:cover; }
.mim-pwa-phone-screen strong { font-size:1.35rem; }
.mim-pwa-phone-tabs { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:12px; }
.mim-pwa-phone-tabs i { display:grid; place-items:center; height:42px; border-radius:16px; background:rgba(255,255,255,.12); font-style:normal; }
.mim-pwa-status-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:18px; align-items:center; margin:28px 0; background:#fff; border:1px solid rgba(8,83,141,.12); border-radius:26px; padding:18px; box-shadow:0 18px 48px rgba(8,83,141,.12); }
.mim-pwa-status-icon img { width:64px; height:64px; object-fit:cover; border-radius:18px; }
.mim-pwa-actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.mim-pwa-truth-box { background:#fff8dd; border:1px solid rgba(250,202,0,.5); border-radius:22px; padding:16px 18px; color:#654a00; }
.mim-pwa-steps-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:22px; }
.mim-pwa-step-card { background:#fff; border:1px solid rgba(8,83,141,.10); border-radius:26px; padding:22px; box-shadow:0 14px 40px rgba(15,23,42,.07); }
.mim-pwa-step-card.is-device-active { outline:3px solid rgba(250,202,0,.75); transform:translateY(-2px); }
.mim-pwa-step-icon { font-size:2rem; }
.mim-pwa-step-card h3 { margin:.5rem 0; }
.mim-pwa-step-card li { margin:.45rem 0; }
.mim-pwa-note { margin-top:20px; background:rgba(255,255,255,.78); border-radius:20px; padding:14px 16px; }

/* v1.5.0 · community, partner, shortcode cards */
.mim-community-hub,.mim-partner-area,.mim-content-block,.mim-community-gallery { margin: 28px 0; }
.mim-community-hero { background:linear-gradient(135deg, #0f2144, #32105c); color:#fff; border-radius:32px; padding:clamp(24px,4vw,48px); box-shadow:0 24px 70px rgba(15,23,42,.18); overflow:hidden; position:relative; }
.mim-community-hero:after { content:""; position:absolute; width:260px; height:260px; right:-70px; bottom:-90px; background:radial-gradient(circle, rgba(250,202,0,.55), transparent 64%); }
.mim-community-hero h2 { font-size:clamp(2rem,5vw,4.4rem); line-height:.9; letter-spacing:-.055em; margin:.5rem 0 1rem; max-width:900px; }
.mim-community-hero p { max-width:820px; font-size:1.12rem; color:rgba(255,255,255,.82); }
.mim-community-grid { display:grid; grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr); gap:20px; align-items:start; margin-top:22px; }
.mim-account-card,.mim-photo-upload-card,.mim-mini-card,.mim-gallery-card { background:#fff; border:1px solid rgba(8,83,141,.12); border-radius:28px; box-shadow:0 18px 46px rgba(15,23,42,.08); padding:22px; }
.mim-card-badge { display:inline-flex; align-items:center; gap:6px; width:max-content; max-width:100%; border-radius:999px; padding:7px 11px; background:rgba(250,202,0,.28); color:#6b5200; font-size:.78rem; font-weight:900; }
.mim-account-tabs details { border:1px solid #e2e8f0; border-radius:18px; padding:12px; margin-top:12px; background:#f8fafc; }
.mim-account-tabs summary { cursor:pointer; font-weight:900; color:var(--mim-primary); }
.mim-community-form label { display:flex; flex-direction:column; gap:7px; font-weight:850; margin-bottom:14px; }
.mim-community-form input:not([type="checkbox"]),.mim-community-form select,.mim-community-form textarea { width:100%; min-height:52px; border:0; outline:1px solid #ccc; border-radius:16px; background:#fff; padding:.82rem 1rem; color:var(--mim-ink); box-shadow:none; }
.mim-community-form input[type="file"] { padding:12px; border:1px dashed #b6c6d8; background:#f8fafc; border-radius:18px; }
.mim-community-form .mim-consent,.mim-community-form .mim-check { flex-direction:row; align-items:flex-start; font-weight:700; }
.mim-alert { border-radius:16px; padding:12px 14px; margin-bottom:14px; font-weight:800; }
.mim-alert--success { background:#ecfdf5; color:#047857; border:1px solid #a7f3d0; }
.mim-alert--error { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.mim-alert--info { background:#eff6ff; color:#1d4ed8; border:1px solid #bfdbfe; }
.mim-section-mini-head { display:flex; align-items:center; gap:12px; margin:0 0 18px; }
.mim-section-mini-head > span { width:52px; height:52px; display:grid; place-items:center; border-radius:18px; background:#fff; box-shadow:0 12px 26px rgba(15,23,42,.08); font-size:1.5rem; }
.mim-section-mini-head h3 { margin:0; font-size:clamp(1.6rem,3vw,2.5rem); letter-spacing:-.035em; }
.mim-section-mini-head p { margin:.25rem 0 0; color:var(--mim-muted); }
.mim-shortcode-grid,.mim-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.mim-shortcode-grid.is-list { grid-template-columns:1fr; }
.mim-mini-card { padding:0; overflow:hidden; display:grid; grid-template-rows:auto 1fr; }
.mim-mini-card__image { min-height:190px; background-size:cover; background-position:center; }
.mim-mini-card__icon { min-height:160px; display:grid; place-items:center; font-size:3rem; background:linear-gradient(135deg, rgba(8,83,141,.12), rgba(250,202,0,.34)); }
.mim-mini-card__body { padding:18px; }
.mim-mini-card h4 { font-size:1.25rem; margin:.7rem 0 .45rem; }
.mim-offer-line { display:block; color:#8a6100; margin:.5rem 0; }
.mim-gallery-card { padding:0; overflow:hidden; }
.mim-gallery-card img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.mim-gallery-card > div { padding:16px; }
.mim-gallery-card strong,.mim-gallery-card span,.mim-gallery-card small { display:block; }
.mim-gallery-card span { color:var(--mim-muted); font-size:.9rem; }
.mim-gallery-card small { color:#8a6100; font-weight:900; }
.mim-app-shell__quicklinks { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:16px; }

@media (max-width: 900px) {
  .mim-pwa-guide-head,.mim-community-grid { grid-template-columns:1fr; }
  .mim-pwa-phone { transform:none; }
  .mim-pwa-status-card { grid-template-columns:1fr; }
  .mim-pwa-actions { justify-content:flex-start; }
  .mim-pwa-steps-grid,.mim-shortcode-grid,.mim-gallery-grid { grid-template-columns:1fr; }
}

/* v1.5.0 · compatibilità shortcode collection generati */
.mim-collection__head{display:flex;gap:14px;align-items:flex-start;margin:0 0 18px}.mim-collection__head>span{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#fff7d6,#e0f7ff);display:grid;place-items:center;font-size:1.6rem;box-shadow:0 12px 28px rgba(15,23,42,.08)}.mim-collection__head h2{font-size:clamp(1.9rem,4vw,3.4rem);line-height:.95;letter-spacing:-.055em;margin:.1rem 0 .3rem}.mim-collection__head p{margin:0;color:var(--mim-muted,#64748b)}.mim-collection__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.mim-collection-card>img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.mim-collection-card__body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1}.mim-collection-card__emoji{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:16px;background:#fff7d6;font-size:1.35rem}.mim-collection-card__body h3{margin:.2rem 0;font-size:1.25rem;line-height:1.08}.mim-collection-card__body p{margin:0;color:var(--mim-muted,#64748b);line-height:1.5}.mim-collection-card__body a{margin-top:auto;display:inline-flex;width:max-content;border-radius:999px;background:linear-gradient(135deg,var(--mim-primary,#08538d),#7c3aed);color:#fff;text-decoration:none;font-weight:900;padding:.65rem .9rem}.mim-collection-card--empty{padding:22px}@media(max-width:900px){.mim-collection__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.mim-collection__grid{grid-template-columns:1fr}.mim-collection__head{display:block}.mim-collection__head>span{margin-bottom:12px}}

/* v1.6.0 · Web app a schermate: niente pagina chilometrica, niente ritorno al sito */
.mim-app-shell--screens .mim-app-screen[hidden]{display:none!important}
.mim-app-shell--screens .mim-app-screen{display:none;background:rgba(255,255,255,.92);border:1px solid rgba(15,23,42,.07);border-radius:24px;box-shadow:0 18px 50px rgba(15,23,42,.08);padding:clamp(1rem,3vw,1.55rem);margin:0 0 1rem;animation:mimAppIn .18s ease-out}
.mim-app-shell--screens .mim-app-screen.is-active{display:block}
@keyframes mimAppIn{from{opacity:.35;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.mim-app-shell__main--screens{padding-top:.85rem;padding-bottom:calc(105px + env(safe-area-inset-bottom,0px));width:min(100% - 20px,980px)}
.mim-app-home-card{position:relative;overflow:hidden;border-radius:26px;padding:clamp(1.2rem,5vw,2.4rem);background:linear-gradient(135deg,#07243f,#2e115a);color:#fff;box-shadow:0 22px 60px rgba(11,22,50,.2)}
.mim-app-home-card:after{content:"";position:absolute;right:-70px;bottom:-90px;width:230px;height:230px;border-radius:999px;background:rgba(250,202,0,.72)}
.mim-app-home-card h1{position:relative;z-index:1;margin:.35rem 0;font-size:clamp(2rem,9vw,4.2rem);line-height:.95;letter-spacing:-.055em;color:#fff}
.mim-app-home-card p:not(.mim-app-shell__eyebrow){position:relative;z-index:1;max-width:680px;color:rgba(255,255,255,.84);font-size:1.05rem;line-height:1.55}
.mim-app-quickgrid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:1.2rem}
.mim-app-quickgrid a{display:grid;gap:.3rem;min-height:112px;padding:1rem;border-radius:22px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);text-decoration:none;color:#fff;backdrop-filter:blur(10px)}
.mim-app-quickgrid a span{font-size:1.8rem}.mim-app-quickgrid a strong{font-size:1.05rem}.mim-app-quickgrid a small{color:rgba(255,255,255,.72);line-height:1.2}
.mim-app-shell__section-head--compact{margin-bottom:.7rem}.mim-app-screen--map{padding:.75rem}.mim-app-screen--map .mim-hotspot-map{margin:0;border-radius:22px}.mim-app-screen--map .mim-hotspot-head{display:none}.mim-app-screen--map .mim-hotspot-intro{font-size:.92rem;margin:.35rem 0 .7rem}.mim-app-screen--map .mim-hotspot-map--bleed{width:100%;margin:0}.mim-app-screen--quote .mim-quote-form-wrap,.mim-app-screen--install .mim-pwa-guide{margin:0}
body.mim-app-shell-body{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px));background:#f3f6fb!important;overflow-x:hidden}
body.mim-app-shell-body .mim-mobile-app-nav{display:grid!important}
body.mim-app-shell-body .mim-pwa-floating--nativebar{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
body.mim-pwa-webview:not(.mim-app-shell-body){padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
body.mim-pwa-webview:not(.mim-app-shell-body) .mim-mobile-app-nav{display:grid!important}
body.mim-hide-site-chrome :is(header:not(.mim-app-shell__topbar),.site-header,#masthead,.mood-header,.mood-site-header,.main-navigation,.site-footer,#colophon,footer.site-footer,.mood-footer,.mood-site-footer){display:none!important}
body.mim-hide-site-chrome #page,body.mim-hide-site-chrome .site,body.mim-hide-site-chrome main,body.mim-hide-site-chrome .site-main,body.mim-hide-site-chrome .moodframework-page-shell{padding-top:0!important;margin-top:0!important}

@media (max-width:760px){
  body.mim-mobile-app-nav-enabled,body.mim-app-shell-body,body.mim-pwa-webview{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))!important}
  body.mim-mobile-app-nav-enabled .mim-mobile-app-nav,
  body.mim-app-shell-body .mim-mobile-app-nav,
  body.mim-pwa-webview .mim-mobile-app-nav{
    position:fixed!important;left:8px!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;z-index:99990!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:6px!important;border-radius:24px!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(226,232,240,.95)!important;box-shadow:0 16px 42px rgba(15,23,42,.22)!important;backdrop-filter:blur(18px)!important;max-width:560px!important;margin:0 auto!important;
  }
  .mim-mobile-app-nav a{min-width:0!important;min-height:56px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:2px!important;padding:5px 2px!important;border-radius:18px!important;color:#0f172a!important;text-decoration:none!important;font-size:clamp(.62rem,2.7vw,.74rem)!important;font-weight:900!important;line-height:1.05!important;letter-spacing:-.02em!important;overflow:hidden!important}
  .mim-mobile-app-nav a.is-active{background:linear-gradient(135deg,var(--mim-primary,#08538d),#7c3aed)!important;color:#fff!important;box-shadow:0 10px 22px rgba(8,83,141,.24)!important}
  .mim-mobile-app-nav__icon{font-size:clamp(1.08rem,5vw,1.35rem)!important;line-height:1!important}.mim-mobile-app-nav__label{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .mim-app-shell__topbar{padding:.72rem .85rem;background:rgba(255,255,255,.96)}.mim-app-shell__brand img{width:38px;height:38px}.mim-app-shell__ghost{min-height:38px;font-size:.8rem;padding:.55rem .8rem}.mim-app-shell__main--screens{width:min(100% - 14px,680px);padding-top:.55rem;padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}.mim-app-shell--screens .mim-app-screen{border-radius:22px;padding:1rem}.mim-app-screen--map{padding:.55rem}.mim-app-quickgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.mim-app-quickgrid a{min-height:96px;border-radius:18px}.mim-app-shell__section-head{gap:.6rem;margin-bottom:.8rem}.mim-app-shell__section-head>span{width:40px;height:40px}.mim-app-shell__section-head h2{font-size:1.45rem}.mim-app-shell__section-head p{font-size:.92rem}
}
@media(max-width:380px){.mim-mobile-app-nav a{font-size:.6rem!important}.mim-mobile-app-nav__icon{font-size:1.08rem!important}}

/* v1.8.0 · App shell più stabile: dettagli inline e navigazione persistente */
body.mim-app-shell-body {
  overscroll-behavior-y: contain;
}
.mim-app-detail-card {
  margin: 0 0 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 42px rgba(15,23,42,.08);
}
.mim-app-detail-card__top {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}
.mim-app-detail-card__emoji {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff7d6;
  font-size: 1.35rem;
  flex: 0 0 auto;
}
.mim-app-detail-card small {
  display: block;
  color: #7c3aed;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .68rem;
}
.mim-app-detail-card h3 {
  margin: .15rem 0 0;
  font-size: clamp(1.35rem, 5vw, 2rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.mim-app-detail-card__content {
  color: #334155;
  line-height: 1.6;
}
.mim-collection--app .mim-collection-card__details {
  margin-top: .5rem;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: #f8fbff;
  overflow: hidden;
}
.mim-collection--app .mim-collection-card__details summary {
  cursor: pointer;
  list-style: none;
  padding: .78rem .9rem;
  font-weight: 950;
  color: var(--mim-primary, #08538d);
}
.mim-collection--app .mim-collection-card__details summary::-webkit-details-marker { display: none; }
.mim-collection--app .mim-collection-card__details summary:after { content: ' +'; }
.mim-collection--app .mim-collection-card__details[open] summary:after { content: ' −'; }
.mim-collection--app .mim-collection-card__details > div {
  padding: 0 .9rem .9rem;
  color: #475569;
  line-height: 1.58;
}
@media(max-width:760px){
  body.mim-app-shell-body .mim-mobile-app-nav,
  body.mim-pwa-webview .mim-mobile-app-nav,
  body.mim-mobile-app-nav-enabled .mim-mobile-app-nav{
    left: 12px !important;
    right: 12px !important;
    bottom: calc(10px + env(safe-area-inset-bottom,0px)) !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 66px !important;
    padding: 7px !important;
    border-radius: 26px !important;
  }
  .mim-mobile-app-nav a{
    min-height: 52px !important;
    border-radius: 18px !important;
    font-size: clamp(.64rem,2.85vw,.76rem) !important;
  }
  .mim-mobile-app-nav__icon{font-size:clamp(1.1rem,4.6vw,1.38rem)!important}
  .mim-app-shell__main--screens{padding-bottom:calc(116px + env(safe-area-inset-bottom,0px))!important}
}


/* v1.8.1 · Fix scroll nelle schede dell'app/PWA: niente blocchi quando si apre una tappa */
html.mim-app-context,
html.mim-app-context body,
body.mim-app-shell-body,
body.mim-pwa-webview {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y !important;
}
body.mim-app-shell-body {
  position: static !important;
  min-height: 100dvh !important;
}
body.mim-app-shell-body .mim-app-shell,
body.mim-app-shell-body .mim-app-shell__main,
body.mim-app-shell-body .mim-app-shell__main--screens {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
  touch-action: pan-y !important;
}
.mim-app-shell--screens .mim-app-screen.is-active {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  touch-action: pan-y !important;
}
.mim-app-shell .mim-hotspot-map,
.mim-app-shell .mim-hotspot-map.is-mobile-list,
.mim-app-shell .mim-hotspot-map.is-mobile-map,
.mim-app-shell .mim-hotspot-mobile-list,
.mim-app-shell .mim-hotspot-mobile-detail,
.mim-app-shell .mim-hotspot-card {
  touch-action: pan-y !important;
}
@media (max-width: 760px) {
  body.mim-app-shell-body,
  body.mim-pwa-webview {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .mim-app-shell .mim-app-screen--map,
  .mim-app-shell .mim-hotspot-map,
  .mim-app-shell .mim-hotspot-map.is-mobile-list {
    overflow: visible !important;
  }
  .mim-app-shell .mim-hotspot-map.is-mobile-list .mim-hotspot-mobile-detail {
    display: block !important;
    max-height: calc(100dvh - 170px - env(safe-area-inset-bottom, 0px)) !important;
    min-height: 280px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    padding-bottom: 12px;
  }
  .mim-app-shell .mim-hotspot-mobile-detail .mim-hotspot-card {
    padding-bottom: calc(1.25rem + 20px) !important;
  }
  .mim-app-shell .mim-hotspot-mobile-detail .mim-hotspot-actions {
    padding-bottom: 4px;
  }
  .mim-app-shell .mim-collection--app .mim-collection-card__details[open] > div,
  .mim-app-shell .mim-app-detail-card__content {
    max-height: calc(100dvh - 250px - env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
    padding-right: .2rem;
  }
  .mim-app-shell .mim-collection--app .mim-collection-card__details[open] {
    overflow: visible !important;
  }
  .mim-app-shell .mim-collection--app .mim-collection-card,
  .mim-app-shell .mim-app-detail-card {
    overflow: visible !important;
  }
  .mim-app-shell .mim-hotspot-mobile-list {
    margin-bottom: .9rem;
  }
}

/* v1.8.1 · Scroll mobile/PWA: le tappe devono scorrere dentro l'app, sempre */
html.mim-app-context,
html:has(body.mim-app-shell-body) {
  min-height: 100% !important;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y !important;
}
body.mim-app-shell-body,
body.mim-app-context,
body.mim-pwa-webview {
  min-height: 100dvh !important;
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-y: auto !important;
  touch-action: pan-y !important;
  position: relative !important;
}
body.mim-app-shell-body .mim-app-shell,
body.mim-app-shell-body .mim-app-shell__main,
body.mim-app-shell-body .mim-app-shell__main--screens,
body.mim-app-shell-body .mim-app-screen.is-active,
body.mim-app-shell-body .mim-hotspot-map,
body.mim-app-shell-body .mim-hotspot-mobile-detail,
body.mim-app-shell-body .mim-hotspot-panel,
body.mim-app-shell-body .mim-hotspot-card,
body.mim-app-shell-body .mim-collection,
body.mim-app-shell-body .mim-collection-card,
body.mim-app-shell-body .mim-collection-card__body,
body.mim-app-shell-body .mim-collection-card__details,
body.mim-app-shell-body .mim-collection-card__details > div {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch !important;
}
body.mim-app-shell-body .mim-app-shell__topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 9990 !important;
}
body.mim-app-shell-body .mim-hotspot-mobile-detail {
  scroll-margin-top: 82px;
  scroll-margin-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
}
body.mim-app-shell-body .mim-hotspot-card {
  margin-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 760px) {
  body.mim-app-shell-body .mim-hotspot-mobile-list {
    max-height: none !important;
    overflow: visible !important;
  }
  body.mim-app-shell-body .mim-hotspot-mobile-detail .mim-hotspot-card {
    border-radius: 24px !important;
    box-shadow: 0 18px 48px rgba(15,23,42,.10) !important;
  }
  body.mim-app-shell-body .mim-hotspot-actions {
    position: static !important;
    display: grid !important;
    gap: .7rem !important;
    margin-top: 1rem !important;
  }
}

/* v1.9.0 · accesso, bacheche e notifiche app */
.mim-pwa-floating__open{
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 1.25rem;border-radius:999px;
  background:linear-gradient(135deg,var(--mim-primary,#08538d),#101a36);color:#fff!important;text-decoration:none!important;font-weight:900;
  box-shadow:0 18px 34px rgba(8,83,141,.26);
}
.mim-pwa-floating.is-installed .mim-pwa-floating__sheet{border-color:rgba(35,160,88,.28);background:linear-gradient(135deg,#fff,#f1fff6)}
.mim-app-shell__bell{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;border:1px solid rgba(10,25,45,.08);text-decoration:none;box-shadow:0 12px 24px rgba(10,25,45,.08)}
.mim-app-screen--account,.mim-app-screen--notifications{padding-bottom:90px;}
.mim-access-gateway,.mim-user-dashboard,.mim-notifications{width:100%;}
.mim-dashboard-hero-card{border-radius:28px;padding:1.4rem;background:linear-gradient(135deg,#0b2147,#682cff);color:#fff;margin-bottom:1rem;box-shadow:0 24px 50px rgba(27,38,93,.18)}
.mim-dashboard-hero-card .mim-kicker{color:#b9fff8}.mim-dashboard-hero-card h2{color:#fff;margin:.35rem 0}.mim-dashboard-hero-card p{color:rgba(255,255,255,.86)}
.mim-user-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin:1rem 0}
.mim-user-stats-grid>div{border-radius:22px;background:#fff;border:1px solid rgba(10,25,45,.08);padding:1rem;text-align:center;box-shadow:0 18px 36px rgba(10,25,45,.07)}
.mim-user-stats-grid strong{display:block;font-size:1.8rem;color:var(--mim-primary,#08538d);line-height:1}.mim-user-stats-grid span{font-size:.8rem;color:#6b7486}
.mim-dashboard-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mim-dashboard-role-card{border-radius:26px;background:#fff;padding:1.1rem;border:1px solid rgba(10,25,45,.08);box-shadow:0 18px 36px rgba(10,25,45,.06)}
.mim-dashboard-role-card>span{font-size:1.8rem}.mim-dashboard-role-card h3{margin:.35rem 0}.mim-dashboard-role-card--wide{grid-column:1/-1}
.mim-mini-badge{display:inline-flex;margin:.18rem;padding:.38rem .6rem;border-radius:999px;background:#fff8d8;border:1px solid rgba(250,202,0,.45);font-weight:800;font-size:.8rem}
.mim-notification-list{display:grid;gap:.7rem}.mim-notification-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.9rem;border-radius:20px;background:#fff;border:1px solid rgba(10,25,45,.08);text-decoration:none!important;color:inherit;box-shadow:0 14px 28px rgba(10,25,45,.06)}
.mim-notification-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:16px;background:#eef8ff;font-size:1.3rem}.mim-notification-copy strong{display:block;color:#101a36}.mim-notification-copy small{display:block;color:#687086;line-height:1.35}.mim-notification-card em{font-style:normal;color:#8b93a6;font-size:.75rem}
.mim-account-actions{display:flex;flex-wrap:wrap;gap:.6rem}.mim-submission-list{display:grid;gap:.5rem}.mim-submission-list>div{display:flex;justify-content:space-between;border:1px solid rgba(10,25,45,.08);border-radius:14px;padding:.6rem .75rem;background:#f8fbff}.mim-submission-list span{text-transform:uppercase;font-size:.72rem;color:#6b7486;font-weight:800}
.mim-mobile-app-nav a[data-mim-mobile-task="account"].is-active{background:linear-gradient(135deg,#f3e8ff,#e9f7ff);}
@media (max-width:760px){
  .mim-user-stats-grid{grid-template-columns:repeat(3,1fr);gap:.5rem}.mim-user-stats-grid>div{padding:.75rem .35rem;border-radius:18px}.mim-user-stats-grid strong{font-size:1.35rem}.mim-user-stats-grid span{font-size:.68rem}
  .mim-dashboard-role-grid{grid-template-columns:1fr}.mim-dashboard-role-card{border-radius:22px;padding:.9rem}.mim-notification-card{grid-template-columns:auto 1fr;align-items:flex-start}.mim-notification-card em{grid-column:2}
  .mim-mobile-app-nav{left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));padding:.5rem .45rem;gap:.2rem;border-radius:24px;}
  .mim-mobile-app-nav a{min-width:0;flex:1;padding:.3rem .15rem;border-radius:18px;font-size:.72rem;line-height:1.05}.mim-mobile-app-nav__icon{font-size:1.15rem}.mim-mobile-app-nav__label{font-size:.68rem;white-space:nowrap}
}

/* v1.9.0 · bacheche ruolo definitive */
.mim-user-dashboard{display:grid;gap:1rem}.mim-dashboard-hero{border-radius:30px;padding:1.35rem;background:linear-gradient(135deg,#fff,#f3f9ff);border:1px solid rgba(8,83,141,.10);box-shadow:0 20px 50px rgba(10,25,45,.07)}
.mim-dashboard-hero h2{margin:.25rem 0 .4rem;color:#101a36;font-size:clamp(1.8rem,4vw,3rem);line-height:.98}.mim-dashboard-hero p{margin:0;color:#667085;font-size:1rem}.mim-login-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mim-login-card,.mim-role-card,.mim-role-tool,.mim-role-embedded{border-radius:28px;background:#fff;border:1px solid rgba(10,25,45,.08);box-shadow:0 20px 45px rgba(10,25,45,.07);padding:1.15rem}.mim-login-card h3,.mim-role-card h3{font-size:1.45rem;margin:.35rem 0;color:#101a36}.mim-login-card--register{background:linear-gradient(135deg,#fffaf0,#f7f2ff)}.mim-role-dashboard{display:grid;gap:1rem}.mim-progress-strip--dashboard{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.mim-progress-strip--dashboard>div{border-radius:24px;background:#fff;padding:1rem;text-align:center;border:1px solid rgba(8,83,141,.08);box-shadow:0 16px 34px rgba(10,25,45,.06)}.mim-progress-strip--dashboard strong{display:block;font-size:1.9rem;line-height:1;color:var(--mim-primary,#08538d)}.mim-progress-strip--dashboard span{font-size:.8rem;color:#667085}.mim-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}.mim-role-tool{text-decoration:none!important;color:inherit;display:grid;gap:.3rem;transition:transform .2s ease, box-shadow .2s ease}.mim-role-tool:hover{transform:translateY(-2px);box-shadow:0 24px 60px rgba(10,25,45,.10)}.mim-role-tool span{font-size:1.8rem}.mim-role-tool strong{font-size:1.05rem;color:#101a36}.mim-role-tool small{color:#667085;line-height:1.35}.mim-role-embedded{grid-column:1/-1;background:linear-gradient(135deg,#fff,#f8fbff)}
.mim-notification-feed{display:grid;gap:1rem}.mim-notification-feed .mim-section-mini-head{display:flex;gap:.85rem;align-items:center;padding:1.1rem;border-radius:26px;background:linear-gradient(135deg,#0b2147,#682cff);color:#fff;box-shadow:0 22px 50px rgba(27,38,93,.15)}.mim-notification-feed .mim-section-mini-head span{width:48px;height:48px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.14);font-size:1.5rem}.mim-notification-feed .mim-section-mini-head h3{margin:0;color:#fff}.mim-notification-feed .mim-section-mini-head p{margin:.15rem 0 0;color:rgba(255,255,255,.82)}.mim-notification-card{grid-template-columns:52px 1fr!important}.mim-notification-card__emoji{width:52px;height:52px;display:grid;place-items:center;border-radius:19px;background:#fff8d8;border:1px solid rgba(250,202,0,.42);font-size:1.35rem}.mim-notification-card strong{display:block;color:#101a36;font-size:1rem}.mim-notification-card p{margin:.25rem 0;color:#596579;line-height:1.35}.mim-notification-card small{color:#8891a5;font-weight:700}.mim-app-shell__actions{display:flex;align-items:center;gap:.45rem}.mim-app-shell__iconbtn{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:999px;background:#fff;border:1px solid rgba(10,25,45,.08);box-shadow:0 12px 28px rgba(10,25,45,.08);text-decoration:none!important;position:relative}.mim-app-shell__iconbtn [data-role="mim-notification-dot"]{position:absolute;right:8px;top:8px;width:9px;height:9px;border-radius:999px;background:#ff3b30;box-shadow:0 0 0 3px #fff}.mim-pwa-floating.is-installed .mim-pwa-floating__install{display:none!important}.mim-pwa-floating__open[hidden]{display:none!important}.mim-pwa-floating.is-installed .mim-pwa-floating__open:not([hidden]){display:inline-flex!important}
@media (max-width:760px){.mim-login-grid,.mim-role-grid{grid-template-columns:1fr}.mim-progress-strip--dashboard{grid-template-columns:repeat(3,1fr);gap:.45rem}.mim-progress-strip--dashboard>div{padding:.75rem .35rem;border-radius:18px}.mim-progress-strip--dashboard strong{font-size:1.35rem}.mim-progress-strip--dashboard span{font-size:.66rem}.mim-dashboard-hero{padding:1rem;border-radius:24px}.mim-dashboard-hero h2{font-size:1.9rem}.mim-login-card,.mim-role-card,.mim-role-tool,.mim-role-embedded{border-radius:22px;padding:.95rem}.mim-notification-card{border-radius:20px}.mim-pwa-floating.is-installed .mim-pwa-floating__sheet{grid-template-columns:auto 1fr auto auto!important}.mim-pwa-floating__open{min-height:42px;padding:0 .95rem}}

/* v1.9.1 · numeretto notifiche in web app e bacheche */
.mim-notification-bubble,
.mim-mobile-app-nav__count,
.mim-role-tool__count,
.mim-inline-count,
.mim-feed-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ff365e;
  color: #fff;
  font-size: .72rem;
  font-style: normal;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255,54,94,.34), 0 0 0 3px #fff;
}
.mim-notification-bubble[hidden],
.mim-mobile-app-nav__count[hidden],
.mim-role-tool__count[hidden],
.mim-inline-count[hidden],
.mim-feed-count[hidden] { display: none !important; }
.mim-app-shell__iconbtn .mim-notification-bubble {
  position: absolute;
  top: -6px;
  right: -6px;
}
.mim-mobile-app-nav a { position: relative !important; }
.mim-mobile-app-nav__count {
  position: absolute;
  top: 3px;
  right: max(10px, 22%);
  min-width: 19px;
  height: 19px;
  font-size: .62rem;
  box-shadow: 0 6px 14px rgba(255,54,94,.34), 0 0 0 2px #fff;
  z-index: 3;
}
.mim-mobile-app-nav a.is-active .mim-mobile-app-nav__count { box-shadow: 0 6px 14px rgba(255,54,94,.34), 0 0 0 2px rgba(255,255,255,.9); }
.mim-role-tool--notifications { position: relative; overflow: visible !important; }
.mim-role-tool__count {
  position: absolute;
  top: 12px;
  right: 12px;
}
.mim-role-tool--notifications.has-unread {
  border-color: rgba(255,54,94,.28) !important;
  background: linear-gradient(135deg, #fff, #fff5f7) !important;
}
.mim-inline-count { vertical-align: middle; margin-left: .35rem; transform: translateY(-1px); }
.mim-feed-count { margin-left: .4rem; background: #fff; color: #ff365e; box-shadow: none; }
.mim-notification-card { position: relative; }
.mim-has-unread-notifications .mim-notification-feed .mim-section-mini-head { background: linear-gradient(135deg,#0b2147,#852cff) !important; }
@media(max-width:760px){
  .mim-app-shell__iconbtn .mim-notification-bubble{top:-4px;right:-5px;min-width:20px;height:20px;font-size:.64rem;}
  .mim-mobile-app-nav__count{top:2px;right:18%;min-width:18px;height:18px;font-size:.58rem;}
  .mim-role-tool__count{top:10px;right:10px;}
}


/* v1.9.4 · iPhone/iPad PWA + link sito/app più robusti */
html.mim-app-context,
html.mim-app-context body,
body.mim-app-shell-body {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}
@supports (-webkit-touch-callout: none) {
  body.mim-app-shell-body {
    min-height: -webkit-fill-available;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .mim-app-shell {
    min-height: -webkit-fill-available;
  }
  .mim-app-shell__topbar {
    position: sticky;
    top: 0;
    transform: translateZ(0);
  }
  .mim-app-shell--screens .mim-app-screen.is-active {
    display: block !important;
    visibility: visible !important;
  }
  .mim-app-shell__main--screens {
    padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px));
  }
}

/* v1.9.4 · notifiche iOS/PWA e updater pagine non distruttivo */
.mim-native-notification-card{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 18px;
  padding:16px;
  border:1px solid rgba(8,83,141,.14);
  border-radius:22px;
  background:linear-gradient(135deg,#fff 0%,#f7fbff 55%,#fff7da 100%);
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}
.mim-native-notification-card__icon{
  flex:0 0 48px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.10);
  font-size:1.35rem;
}
.mim-native-notification-card__body{flex:1;min-width:0;}
.mim-native-notification-card h3{margin:0 0 4px;color:var(--mim-ink,#0f172a);font-size:1.05rem;line-height:1.16;}
.mim-native-notification-card p{margin:.15rem 0;color:var(--mim-muted,#64748b);font-size:.92rem;line-height:1.45;}
.mim-native-notification-card__status{font-weight:800;color:#08538d!important;}
@media (max-width:640px){
  .mim-native-notification-card{align-items:flex-start;flex-wrap:wrap;padding:14px;border-radius:20px;}
  .mim-native-notification-card .mim-btn{width:100%;justify-content:center;}
}

/* v1.9.4 · banner iPhone installazione manuale */
.mim-ios-install-floating[hidden], .mim-native-notification-card[hidden]{display:none!important;}
.mim-ios-install-floating{
  position:fixed;
  left:0;right:0;bottom:0;
  z-index:99998;
  padding:14px 14px calc(14px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg,rgba(15,23,42,0),rgba(15,23,42,.18));
}
.mim-ios-install-floating__sheet{
  position:relative;
  width:min(560px,100%);
  margin:0 auto;
  padding:16px;
  border-radius:28px;
  background:rgba(255,255,255,.96);
  color:#0f172a;
  box-shadow:0 24px 60px rgba(15,23,42,.22);
  border:1px solid rgba(15,23,42,.08);
  backdrop-filter:blur(16px);
}
.mim-ios-install-floating__top{display:flex;align-items:center;gap:12px;padding-right:42px;}
.mim-ios-install-floating__top img{width:48px;height:48px;border-radius:14px;object-fit:cover;box-shadow:0 8px 20px rgba(15,23,42,.14);}
.mim-ios-install-floating__top strong{display:block;font-size:1.05rem;color:#0f172a;line-height:1.15;}
.mim-ios-install-floating__top span{display:block;color:#64748b;font-weight:700;font-size:.82rem;margin-top:2px;}
.mim-ios-install-floating__steps{display:grid;gap:8px;margin:14px 0;}
.mim-ios-install-floating__steps span{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0;font-weight:800;color:#0f172a;}
.mim-ios-install-floating__steps b{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:12px;background:#eef2ff;color:#4f46e5;font-size:.95rem;}
.mim-ios-install-floating__help{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border-radius:999px;text-decoration:none;font-weight:900;color:#fff!important;background:linear-gradient(135deg,#08538d,#852cff);box-shadow:0 14px 30px rgba(8,83,141,.22);}
.mim-ios-install-floating__close{position:absolute;top:12px;right:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f5f9;color:#0f172a;font-size:22px;line-height:1;cursor:pointer;}
html.mim-ios-install-open body{padding-bottom:120px;}
@media(min-width:821px){.mim-ios-install-floating{display:none!important;}}
