/* Mapio - blog: pojedynczy wpis i lista wpisów (szablony/blog-*.php).
   Ładowane po dashboard.css, landing.css, mapio.css i kadence.css, tylko na stronach bloga.
   Kolory i promienie idą ze zmiennych na #mapio-app, tak jak na landingu. Motyw wpisu nawiązuje
   do Map Google ze strony głównej: wycinek mapy z pinezką, spis treści jako trasa z przystankami. */

#mapio-app.mapio-blog { padding: 0; background: var(--ps-bg-page); font-size: 15px; }
#mapio-app.mapio-blog a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

#mapio-app .mb-wnetrze { max-width: 1180px; margin: 0 auto; padding: 0 28px; position: relative; }

/* ── Pasek postępu czytania u góry ekranu ────────────────────────── */
#mapio-app .mb-postep { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100000; pointer-events: none; }
#mapio-app .mb-postep span {
	display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ps-primary), #4d8fe0);
	border-radius: 0 3px 3px 0; transition: width .12s linear;
}
body.admin-bar #mapio-app .mb-postep { top: 32px; }

/* ── Nagłówek listy wpisów i nagłówek wpisu ──────────────────────── */
#mapio-app .mb-naglowek { padding: 44px 0 36px; }
#mapio-app .mb-naglowek h1 {
	font-size: 40px; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 16px; max-width: 820px;
	color: var(--ps-text); font-weight: 700;
}
#mapio-app .mb-zajawka { font-size: 18px; line-height: 1.6; color: var(--ps-text-muted); margin: 0 0 18px; max-width: 760px; }
#mapio-app .mb-meta { font-size: 14px; color: var(--ps-text-muted); margin: 0; }
#mapio-app .mb-meta span { margin: 0 6px; }

#mapio-app .mb-okruszki { font-size: 13.5px; color: var(--ps-text-muted); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
#mapio-app .mb-okruszki a { color: var(--ps-text-muted); text-decoration: none; }
#mapio-app .mb-okruszki a:hover { color: var(--ps-primary); text-decoration: underline; }
#mapio-app .mb-okruszki a:last-child { color: var(--ps-primary); font-weight: 600; }

/* Nagłówek wpisu: tytuł po lewej, okładka po prawej na kolorowej podkładce. */
#mapio-app .mb-naglowek-wpis {
	padding: 40px 0 56px; position: relative; overflow: hidden;
	background:
		radial-gradient(900px 380px at 85% 10%, rgba(26, 95, 180, .10), rgba(26, 95, 180, 0) 70%),
		linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .55) 60%, rgba(255, 255, 255, 0) 100%);
}
#mapio-app .mb-naglowek-siatka { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
#mapio-app .mb-naglowek-wpis h1 { font-size: 42px; line-height: 1.13; letter-spacing: -.022em; max-width: none; margin-bottom: 20px; }
#mapio-app .mb-meta-chipy { display: flex; flex-wrap: wrap; gap: 8px; }
#mapio-app .mb-chip {
	display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; background: #fff;
	border: 1px solid var(--ps-border); font-size: 13px; line-height: 1.3; color: var(--ps-text-muted); white-space: nowrap;
}
#mapio-app .mb-chip-kategoria { background: var(--ps-primary); border-color: var(--ps-primary); color: #fff; font-weight: 600; text-decoration: none; }
#mapio-app .mb-chip-kategoria:hover { background: var(--ps-primary-dark); border-color: var(--ps-primary-dark); color: #fff; }

#mapio-app .mb-naglowek-grafika { position: relative; }
#mapio-app .mb-naglowek-grafika::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px;
	background: linear-gradient(135deg, var(--ps-primary) 0%, #4d8fe0 100%); opacity: .14;
}
#mapio-app .mb-naglowek-grafika img,
#mapio-app .mb-naglowek-grafika .mb-mapa {
	position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover;
	border-radius: 20px; box-shadow: var(--mapio-cien); background: #eef1ea;
}

/* ── Wycinek mapy z pinezką (ramka z ofertą, nagłówek bez okładki) ── */
#mapio-app .mb-mapa { position: relative; overflow: hidden; }
#mapio-app .mb-mapa > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#mapio-app .mb-mapa-pin {
	position: absolute; z-index: 2; transform: translate(-50%, -100%);
	display: flex; flex-direction: column; align-items: center; color: var(--ps-primary);
}
#mapio-app .mb-mapa-pin > svg { width: 34px; height: 34px; filter: drop-shadow(0 6px 8px rgba(26, 95, 180, .45)); }
#mapio-app .mb-mapa-dymek {
	position: relative; margin-bottom: 6px; padding: 6px 10px; border-radius: 10px; background: #fff;
	box-shadow: var(--mapio-cien-maly); text-align: left; white-space: nowrap;
}
#mapio-app .mb-mapa-dymek::after {
	content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
	background: #fff; transform: rotate(45deg); border-radius: 2px;
}
#mapio-app .mb-mapa-dymek strong { display: block; font-size: 12px; color: var(--ps-text); line-height: 1.3; }
#mapio-app .mb-mapa-dymek > span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--ps-text-muted); line-height: 1.3; }
#mapio-app .mb-mapa-dymek b { color: var(--ps-text); }
#mapio-app .mb-mapa .mapio-gwiazdki svg { width: 10px; height: 10px; }
#mapio-app .mb-naglowek-grafika .mb-mapa-pin > svg { width: 48px; height: 48px; }
#mapio-app .mb-naglowek-grafika .mb-mapa-dymek { padding: 9px 14px; }
#mapio-app .mb-naglowek-grafika .mb-mapa-dymek strong { font-size: 14px; }
#mapio-app .mb-naglowek-grafika .mb-mapa-dymek > span { font-size: 12px; }

/* Kategorie jako pastylki pod nagłówkiem listy. */
#mapio-app .mb-kategorie { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
#mapio-app .mb-kategorie a {
	padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--ps-border);
	font-size: 14px; font-weight: 600; color: var(--ps-text); text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
#mapio-app .mb-kategorie a:hover { border-color: var(--ps-primary); color: var(--ps-primary); }
#mapio-app .mb-kategorie a.mb-aktywna { background: var(--ps-primary); border-color: var(--ps-primary); color: #fff; }

/* ── Układ wpisu: tekst + kolumna boczna ─────────────────────────── */
/* Strona wpisu jest szersza niż lista wpisów, żeby długi tekst miał szerszą kolumnę. */
#mapio-app .mb-naglowek-wpis > .mb-wnetrze,
#mapio-app .mb-wnetrze.mb-uklad,
#mapio-app .mb-powiazane > .mb-wnetrze { max-width: 1360px; }
#mapio-app .mb-uklad {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-bottom: 72px;
}
#mapio-app .mb-artykul {
	background: #fff; border: 1px solid var(--ps-border); border-radius: 20px; box-shadow: var(--mapio-cien-maly);
	padding: 48px 56px 44px; min-width: 0;
}

/* Kolumna boczna ma wysokość całego tekstu: ramka z ofertą jest na górze, a spis treści przykleja się
   pod nagłówkiem strony i towarzyszy czytelnikowi do końca wpisu. */
#mapio-app .mb-boczny { align-self: stretch; display: flex; flex-direction: column; gap: 18px; }

/* ── Ramka z ofertą obok wpisu ───────────────────────────────────── */
#mapio-app .mb-ramka {
	flex: none; background: #fff; border: 1px solid var(--ps-border); border-radius: 20px; overflow: hidden;
	box-shadow: var(--mapio-cien-maly);
}
#mapio-app .mb-ramka-mapa { position: relative; height: 128px; background: #eef1ea; border-bottom: 1px solid var(--ps-border); }
#mapio-app .mb-ramka-mapa .mb-mapa { position: absolute; inset: 0; }
#mapio-app .mb-ramka-tresc { padding: 18px 22px 20px; }
#mapio-app .mb-ramka-tytul { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 8px; color: var(--ps-text); }
#mapio-app .mb-ramka-cena { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; margin: 0 0 14px; font-size: 13.5px; color: var(--ps-text-muted); }
#mapio-app .mb-ramka-cena strong { font-size: 32px; font-weight: 800; letter-spacing: -.03em; color: var(--ps-text); line-height: 1.1; }
#mapio-app .mb-ramka-punkty { list-style: none; margin: 0 0 18px; padding: 0; }
#mapio-app .mb-ramka-punkty li { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 8px; font-size: 13.5px; line-height: 1.45; color: var(--ps-text); }
#mapio-app .mb-ramka-punkty svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--mapio-zielony); }
/* Pierwszy punkt (gwarancja opinii) jest pogrubiony, a jego ikona spokojnie pulsuje. */
#mapio-app .mb-ramka-punkty li.is-wyrozniony { font-weight: 700; }
#mapio-app .mb-ramka-punkty li.is-wyrozniony svg { border-radius: 50%; animation: mbPunktPuls 2.4s ease-in-out infinite; }
@keyframes mbPunktPuls { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 138, 76, .32); } 50% { box-shadow: 0 0 0 6px rgba(31, 138, 76, 0); } }
@media (prefers-reduced-motion: reduce) { #mapio-app .mb-ramka-punkty li.is-wyrozniony svg { animation: none; } }
#mapio-app .mb-ramka .ps-btn { display: block; width: 100%; text-align: center; text-decoration: none; padding: 12px 16px; font-weight: 700; border-radius: 12px; }
#mapio-app .mb-ramka-tel { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--ps-text-muted); text-decoration: none; }
#mapio-app .mb-ramka-tel strong { color: var(--ps-text); }
#mapio-app .mb-ramka-tel:hover strong { color: var(--ps-primary); }

/* ── Spis treści jako trasa z przystankami ───────────────────────── */
#mapio-app .mb-trasa {
	background: #fff; border: 1px solid var(--ps-border); border-radius: 20px; box-shadow: var(--mapio-cien-maly);
	padding: 18px 16px 12px 18px; min-height: 0;
}
#mapio-app .mb-spis-komputer { position: sticky; top: 96px; display: flex; flex-direction: column; max-height: calc(100vh - 112px); }
body.admin-bar #mapio-app .mb-spis-komputer { top: 128px; max-height: calc(100vh - 144px); }
#mapio-app .mb-trasa-glowa { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding-right: 2px; }
#mapio-app .mb-trasa-tytul { font-size: 15px; font-weight: 800; color: var(--ps-text); letter-spacing: -.005em; }
#mapio-app .mb-trasa-licznik {
	font-size: 12px; font-weight: 700; color: var(--ps-primary); background: var(--ps-primary-light);
	padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums;
}
#mapio-app .mb-trasa-pasek { flex: none; height: 4px; border-radius: 4px; background: #edf0f5; overflow: hidden; margin: 0 2px 12px 0; }
#mapio-app .mb-trasa-pasek span { display: block; height: 100%; width: 0; background: var(--ps-primary); border-radius: 4px; transition: width .12s linear; }
#mapio-app .mb-trasa-lista { list-style: none; margin: 0; padding: 0 4px 0 0; overflow-y: auto; min-height: 0; scrollbar-width: thin; }
#mapio-app .mb-trasa-lista li { position: relative; margin: 0; padding: 0 0 2px; }
/* Linia trasy między przystankami: przerywana, za przeczytanymi przystankami ciągła w kolorze marki. */
#mapio-app .mb-trasa-lista li::before {
	content: ""; position: absolute; left: 11px; top: 28px; bottom: -2px; width: 2px;
	background: repeating-linear-gradient(180deg, #cfd6e2 0 4px, transparent 4px 8px);
}
#mapio-app .mb-trasa-lista li:last-child::before { display: none; }
#mapio-app .mb-trasa-lista li.is-przeczytany::before { background: var(--ps-primary); opacity: .45; }
#mapio-app .mb-trasa-lista a {
	display: flex; align-items: flex-start; gap: 11px; padding: 4px 6px 6px 0; border-radius: 10px;
	font-size: 13.5px; line-height: 1.4; color: var(--ps-text-muted); text-decoration: none; transition: color .15s ease;
}
#mapio-app .mb-trasa-lista a:hover { color: var(--ps-primary); }
#mapio-app .mb-trasa-punkt {
	position: relative; z-index: 1; flex: none; display: flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #cfd6e2;
	font-size: 11px; font-weight: 800; color: var(--ps-text-muted); font-variant-numeric: tabular-nums;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
#mapio-app .mb-trasa-tekst { padding-top: 2px; }
#mapio-app .mb-trasa-lista li.is-przeczytany .mb-trasa-punkt { background: var(--ps-primary-light); border-color: #b8cdea; color: var(--ps-primary); }
#mapio-app .mb-trasa-lista li.is-aktywny .mb-trasa-punkt {
	background: var(--ps-primary); border-color: var(--ps-primary); color: #fff; box-shadow: 0 0 0 5px rgba(26, 95, 180, .14);
	animation: mb-przystanek 2.4s ease-in-out infinite;
}
#mapio-app .mb-trasa-lista li.is-aktywny a { color: var(--ps-text); font-weight: 700; }
@keyframes mb-przystanek { 50% { box-shadow: 0 0 0 8px rgba(26, 95, 180, .07); } }
@media (prefers-reduced-motion: reduce) { #mapio-app .mb-trasa-lista li.is-aktywny .mb-trasa-punkt { animation: none; } }

/* Wersja na telefon: rozwijana lista nad tekstem. */
#mapio-app .mb-spis-telefon { display: none; padding: 0; overflow: hidden; }
#mapio-app .mb-spis-telefon summary {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 18px;
	cursor: pointer; list-style: none;
}
#mapio-app .mb-spis-telefon summary::-webkit-details-marker { display: none; }
#mapio-app .mb-spis-telefon summary::after {
	content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px;
	border-radius: 50%; background: var(--ps-primary-light); color: var(--ps-primary); font-size: 18px; font-weight: 700; line-height: 1;
}
#mapio-app .mb-spis-telefon[open] summary::after { content: "-"; }
#mapio-app .mb-trasa-ile { margin-left: auto; font-size: 12.5px; color: var(--ps-text-muted); }
#mapio-app .mb-spis-telefon .mb-trasa-lista { padding: 0 16px 12px 18px; max-height: none; }

/* ── Treść wpisu (edytor klasyczny) ──────────────────────────────── */
#mapio-app .mb-tresc { font-size: 17.5px; line-height: 1.78; color: #2a2d36; }
#mapio-app .mb-tresc > *:first-child { margin-top: 0; }
#mapio-app .mb-tresc p { margin: 0 0 1.2em; }
/* Pierwszy akapit to odpowiedź na pytanie z tytułu - większy i ciemniejszy. */
#mapio-app .mb-tresc > p:first-child { font-size: 20px; line-height: 1.65; color: var(--ps-text); letter-spacing: -.003em; }
#mapio-app .mb-tresc h2 {
	font-size: 28px; line-height: 1.28; font-weight: 800; letter-spacing: -.015em; color: var(--ps-text);
	margin: 2.1em 0 .7em; padding-top: 1.2em; border-top: 1px solid #e9ecf2; scroll-margin-top: 100px;
}
#mapio-app .mb-tresc h3 { font-size: 21px; line-height: 1.35; font-weight: 700; color: var(--ps-text); margin: 1.7em 0 .5em; }
#mapio-app .mb-tresc h4 {
	display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 700; color: var(--ps-primary-dark);
	margin: 1.6em 0 .6em; padding: 5px 12px; border-radius: 999px; background: var(--ps-primary-light);
}
#mapio-app .mb-tresc a { color: var(--ps-primary); text-decoration: underline; text-decoration-color: rgba(26, 95, 180, .35); font-weight: 500; }
#mapio-app .mb-tresc a:hover { color: var(--ps-primary-dark); text-decoration-color: currentColor; }
#mapio-app .mb-tresc strong, #mapio-app .mb-tresc b { font-weight: 700; color: var(--ps-text); }

/* Listy punktowane: kropka w kolorze marki z jasną obwódką. */
#mapio-app .mb-tresc ul { margin: 0 0 1.4em; padding: 0; list-style: none; }
#mapio-app .mb-tresc ul > li { position: relative; margin: 0 0 .6em; padding-left: 1.7em; }
#mapio-app .mb-tresc ul > li::before {
	content: ""; position: absolute; left: .3em; top: .68em; width: 8px; height: 8px; border-radius: 50%;
	background: var(--ps-primary); box-shadow: 0 0 0 4px var(--ps-primary-light);
}
/* Listy numerowane jako kroki: numer w kółku, kroki połączone linią. */
#mapio-app .mb-tresc ol { margin: 0 0 1.5em; padding: 0; list-style: none; counter-reset: mb-krok; }
#mapio-app .mb-tresc ol > li { position: relative; margin: 0; padding: 0 0 .9em 3em; min-height: 2.2em; counter-increment: mb-krok; }
#mapio-app .mb-tresc ol > li::before {
	content: counter(mb-krok); position: absolute; left: 0; top: .05em; width: 2em; height: 2em; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: var(--ps-primary); color: #fff;
	font-size: .88em; font-weight: 800; box-shadow: 0 4px 10px -4px rgba(26, 95, 180, .6);
}
#mapio-app .mb-tresc ol > li::after {
	content: ""; position: absolute; left: calc(.88em - 1px); top: 2.05em; bottom: .15em; width: 2px; background: #dbe6f5;
}
#mapio-app .mb-tresc ol > li:last-child::after { display: none; }
#mapio-app .mb-tresc ol > li:last-child { padding-bottom: .2em; }

/* Ramka "W skrócie" na początku wpisu. */
#mapio-app .mb-tresc .mb-skrot {
	position: relative; margin: 1.6em 0 2em; padding: 26px 30px 22px; border-radius: 20px; color: #fff; overflow: hidden;
	background: linear-gradient(135deg, var(--ps-primary) 0%, #144a8d 100%); box-shadow: 0 18px 36px -20px rgba(26, 95, 180, .8);
}
#mapio-app .mb-tresc .mb-skrot::after {
	content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
	border: 34px solid rgba(255, 255, 255, .07);
}
#mapio-app .mb-tresc .mb-skrot .mb-skrot-tytul { position: relative; margin: 0 0 12px; font-size: 15px; font-weight: 800; color: #fff; letter-spacing: .01em; }
#mapio-app .mb-tresc .mb-skrot ul { position: relative; margin: 0; }
#mapio-app .mb-tresc .mb-skrot ul > li { margin: 0 0 .55em; padding-left: 1.9em; font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .95); }
#mapio-app .mb-tresc .mb-skrot ul > li:last-child { margin-bottom: 0; }
#mapio-app .mb-tresc .mb-skrot ul > li::before {
	left: 0; top: .32em; width: 1.15em; height: 1.15em; background: rgba(255, 255, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5'/%3E%3C/svg%3E") center / 70% no-repeat;
	box-shadow: none;
}
#mapio-app .mb-tresc .mb-skrot strong { color: #fff; }

/* Wyróżniona uwaga w treści. */
#mapio-app .mb-tresc .mb-uwaga {
	position: relative; margin: 1.6em 0; padding: 18px 22px 18px 62px; border-radius: 16px;
	background: var(--mapio-zolty-tlo); color: #3d3424;
}
#mapio-app .mb-tresc .mb-uwaga::before {
	content: "!"; position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: var(--mapio-zolty); color: #fff;
	font-size: 16px; font-weight: 800;
}
#mapio-app .mb-tresc .mb-uwaga p { margin: 0 0 .6em; font-size: 16.5px; line-height: 1.65; }
#mapio-app .mb-tresc .mb-uwaga p:last-child { margin-bottom: 0; }

/* Cytat z przepisu albo źródła. */
#mapio-app .mb-tresc blockquote {
	position: relative; margin: 1.8em 0; padding: 24px 28px 22px 70px; border: none; border-radius: 18px;
	background: var(--ps-primary-light); color: var(--ps-text); font-size: 17.5px; font-style: normal; line-height: 1.7;
}
#mapio-app .mb-tresc blockquote::before {
	content: '"'; position: absolute; left: 22px; top: 10px; font-family: Georgia, "Times New Roman", serif;
	font-size: 64px; line-height: 1; font-weight: 700; color: var(--ps-primary); opacity: .45;
}
#mapio-app .mb-tresc blockquote p:last-child { margin-bottom: 0; }
#mapio-app .mb-tresc blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--ps-text-muted); }

/* Wzór do skopiowania: karta z nagłówkiem i przyciskiem "Kopiuj" (dodawanym skryptem w szablonie). */
#mapio-app .mb-tresc blockquote.mb-wzor {
	padding: 0; background: #fff; border: 1px solid var(--ps-border); border-radius: 16px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 20px -14px rgba(15, 23, 42, .25); font-size: 16.5px;
}
#mapio-app .mb-tresc blockquote.mb-wzor::before { display: none; }
#mapio-app .mb-tresc blockquote.mb-wzor p { margin: 0; padding: 16px 20px 0; }
#mapio-app .mb-tresc blockquote.mb-wzor p:last-child { padding-bottom: 18px; }
#mapio-app .mb-wzor-glowa {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px 9px 20px;
	background: #f7f9fc; border-bottom: 1px solid var(--ps-border);
}
#mapio-app .mb-wzor-etykieta { font-size: 12.5px; font-weight: 700; color: var(--ps-text-muted); letter-spacing: .01em; }
#mapio-app .mb-wzor-kopiuj {
	appearance: none; border: 1px solid var(--ps-border); background: #fff; color: var(--ps-primary); cursor: pointer;
	padding: 5px 14px; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.4;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
#mapio-app .mb-wzor-kopiuj:hover { border-color: var(--ps-primary); }
#mapio-app .mb-wzor-kopiuj.is-skopiowano { background: var(--mapio-zielony-tlo); border-color: transparent; color: var(--mapio-zielony); }
#mapio-app .mb-tresc mark.mb-wzor-pole { background: #fff1c2; color: #6b5310; padding: 1px 4px; border-radius: 5px; }

/* Tabele w karcie, z poziomym przewijaniem na wąskich ekranach. */
#mapio-app .mb-tresc .mb-tabela {
	margin: 1.6em 0; border: 1px solid var(--ps-border); border-radius: 16px; overflow-x: auto; background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
#mapio-app .mb-tresc table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.5; display: table; }
#mapio-app .mb-tresc th, #mapio-app .mb-tresc td { padding: 12px 16px; border: 0; border-bottom: 1px solid #edf0f5; text-align: left; vertical-align: top; }
#mapio-app .mb-tresc thead th { background: var(--ps-primary-light); color: var(--ps-primary-dark); font-size: 13.5px; font-weight: 800; white-space: nowrap; }
#mapio-app .mb-tresc tbody tr:nth-child(even) td { background: #fafbfd; }
#mapio-app .mb-tresc tbody tr:last-child td { border-bottom: 0; }
#mapio-app .mb-tresc td:first-child { font-weight: 600; color: var(--ps-text); }

/* Pytania i odpowiedzi jako rozwijana lista. */
#mapio-app .mb-tresc .mb-faq {
	margin: 0 0 10px; border: 1px solid var(--ps-border); border-radius: 14px; background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
#mapio-app .mb-tresc .mb-faq[open] { border-color: #c5d5ec; box-shadow: 0 8px 20px -14px rgba(26, 95, 180, .45); }
#mapio-app .mb-tresc .mb-faq summary {
	position: relative; padding: 16px 58px 16px 20px; cursor: pointer; list-style: none;
	font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--ps-text);
}
#mapio-app .mb-tresc .mb-faq summary::-webkit-details-marker { display: none; }
/* Plus i minus są narysowane dwiema kreskami, a nie znakiem czcionki, żeby zawsze były w środku kółka. */
#mapio-app .mb-tresc .mb-faq summary::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
	background:
		linear-gradient(var(--ps-primary), var(--ps-primary)) center / 12px 2px no-repeat,
		linear-gradient(var(--ps-primary), var(--ps-primary)) center / 2px 12px no-repeat,
		var(--ps-primary-light);
}
#mapio-app .mb-tresc .mb-faq[open] summary::after {
	background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--ps-primary);
}
#mapio-app .mb-tresc .mb-faq-tresc { padding: 0 20px 16px; }
#mapio-app .mb-tresc .mb-faq-tresc p { margin: 0 0 .8em; font-size: 16.5px; line-height: 1.7; }
#mapio-app .mb-tresc .mb-faq-tresc p:last-child { margin-bottom: 0; }

/* Źródła: mniejsza, stonowana lista. */
#mapio-app .mb-tresc ul.mb-zrodla { font-size: 14.5px; line-height: 1.55; }
#mapio-app .mb-tresc ul.mb-zrodla > li { margin-bottom: .5em; padding-left: 1.4em; }
#mapio-app .mb-tresc ul.mb-zrodla > li::before { width: 6px; height: 6px; top: .62em; left: .2em; background: #b3bccb; box-shadow: none; }
#mapio-app .mb-tresc ul.mb-zrodla a { color: var(--ps-text-muted); font-weight: 400; }
#mapio-app .mb-tresc ul.mb-zrodla a:hover { color: var(--ps-primary); }

#mapio-app .mb-tresc img { max-width: 100%; height: auto; border-radius: 12px; }
#mapio-app .mb-tresc figure, #mapio-app .mb-tresc .wp-caption { margin: 1.6em 0; max-width: 100%; }
#mapio-app .mb-tresc figcaption, #mapio-app .mb-tresc .wp-caption-text {
	font-size: 14px; color: var(--ps-text-muted); text-align: center; margin-top: 8px;
}
#mapio-app .mb-tresc .aligncenter { display: block; margin-left: auto; margin-right: auto; }
#mapio-app .mb-tresc .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
#mapio-app .mb-tresc .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
#mapio-app .mb-tresc hr { border: none; border-top: 1px solid var(--ps-border); margin: 2.2em 0; }
#mapio-app .mb-tresc::after { content: ""; display: block; clear: both; }

/* ── Boksy z ofertą w treści wpisu ([mapio_oferta]) ──────────────── */
#mapio-app .mb-tresc .mb-oferta {
	margin: 2.2em 0; padding: 28px 30px 26px; background: var(--ps-primary-light); border-radius: 20px;
	font-size: 16px; line-height: 1.6;
}
#mapio-app .mb-tresc .mb-oferta a { text-decoration: none; }
#mapio-app .mb-tresc .mb-oferta p { margin: 0; }
#mapio-app .mb-tresc .mb-oferta .mb-oferta-tytul { font-size: 22px; line-height: 1.3; font-weight: 800; color: var(--ps-text); margin-bottom: 8px; }
#mapio-app .mb-tresc .mb-oferta .mb-oferta-tekst { color: var(--ps-text); margin-bottom: 28px; }

#mapio-app .mb-oferta-pakiety { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
#mapio-app .mb-tresc .mb-oferta-pakiet {
	position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px;
	background: #fff; border: 1px solid var(--ps-border); border-radius: 14px; color: var(--ps-text);
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
#mapio-app .mb-tresc .mb-oferta-pakiet:hover { border-color: var(--ps-primary); transform: translateY(-2px); color: var(--ps-text); }
#mapio-app .mb-tresc .mb-oferta-pakiet.is-featured { border-color: var(--ps-primary); box-shadow: 0 12px 26px -16px rgba(26, 95, 180, .65); }
#mapio-app .mb-oferta-pakiet-tag {
	position: absolute; top: -11px; left: 14px; padding: 3px 10px; border-radius: 999px;
	background: var(--ps-primary); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
#mapio-app .mb-oferta-pakiet-nazwa { font-size: 14px; font-weight: 700; color: var(--ps-primary); }
#mapio-app .mb-oferta-pakiet-cena { font-size: 13.5px; line-height: 1.3; color: var(--ps-text-muted); }
#mapio-app .mb-oferta-pakiet-cena strong { display: block; font-size: 25px; font-weight: 800; color: var(--ps-text); letter-spacing: -.01em; }
#mapio-app .mb-oferta-pakiet-gwar {
	margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--ps-border);
	font-size: 13px; line-height: 1.4; color: var(--ps-text-muted);
}
#mapio-app .mb-oferta-pakiet-gwar strong { display: block; font-size: 15px; color: var(--ps-text); }

#mapio-app .mb-tresc ul.mb-oferta-zakres {
	list-style: none; margin: 0 0 18px; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px;
}
#mapio-app .mb-tresc ul.mb-oferta-zakres > li { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 0; font-size: 15px; line-height: 1.45; }
#mapio-app .mb-tresc ul.mb-oferta-zakres > li::before { display: none; }
#mapio-app .mb-oferta-zakres svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ps-primary); }

#mapio-app .mb-tresc .mb-oferta .mb-oferta-gwarancja {
	padding: 13px 16px; margin-bottom: 20px; background: #fff; border-radius: 12px; font-size: 14.5px; line-height: 1.55;
}
#mapio-app .mb-oferta-przyciski { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
#mapio-app .mb-tresc .mb-oferta .ps-btn { color: #fff; padding: 12px 22px; font-weight: 700; border-radius: 12px; }
#mapio-app .mb-tresc .mb-oferta .ps-btn:hover { color: #fff; }
#mapio-app .mb-tresc .mb-oferta-tel { font-size: 14.5px; color: var(--ps-text); }
#mapio-app .mb-tresc .mb-oferta-tel:hover { color: var(--ps-primary); text-decoration: underline; }

/* Krótki boks: jedno zdanie z ceną i przycisk w jednym wierszu. */
#mapio-app .mb-tresc .mb-oferta-krotka { display: flex; align-items: center; gap: 16px 26px; padding: 20px 24px; }
#mapio-app .mb-tresc .mb-oferta .mb-oferta-krotka-tekst { flex: 1; font-size: 16px; line-height: 1.55; color: var(--ps-text); }
#mapio-app .mb-oferta-krotka .ps-btn { flex: none; white-space: nowrap; }

/* ── Karty wpisów ────────────────────────────────────────────────── */
#mapio-app .mb-siatka { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
#mapio-app .mb-karta {
	position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ps-border);
	border-radius: 16px; overflow: hidden; box-shadow: var(--ps-shadow);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#mapio-app .mb-karta:hover { transform: translateY(-3px); border-color: #c9d3e3; box-shadow: var(--mapio-cien-maly); }
#mapio-app .mb-karta-obrazek { aspect-ratio: 1200 / 630; background: var(--ps-primary-light); overflow: hidden; }
#mapio-app .mb-karta-obrazek img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
#mapio-app .mb-karta:hover .mb-karta-obrazek img { transform: scale(1.03); }
#mapio-app .mb-obrazek-zastepczy {
	display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--ps-primary);
	background-image: radial-gradient(rgba(26, 95, 180, .18) 1px, transparent 1.6px); background-size: 18px 18px;
}
#mapio-app .mb-obrazek-zastepczy svg { width: 46px; height: 46px; opacity: .75; }
#mapio-app .mb-karta-tresc { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
#mapio-app .mb-karta-kategoria {
	align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	color: var(--ps-primary); background: var(--ps-primary-light); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
#mapio-app .mb-karta-tytul { font-size: 19px; line-height: 1.35; font-weight: 700; margin: 0 0 10px; }
#mapio-app .mb-karta-tytul a { color: var(--ps-text); text-decoration: none; }
/* Cała karta jest klikalna - link tytułu rozciągnięty na kartę. */
#mapio-app .mb-karta-tytul a::after { content: ""; position: absolute; inset: 0; }
#mapio-app .mb-karta:hover .mb-karta-tytul a { color: var(--ps-primary); }
#mapio-app .mb-karta-zajawka { font-size: 15px; line-height: 1.6; color: var(--ps-text-muted); margin: 0 0 16px; }
#mapio-app .mb-karta-meta { font-size: 13px; color: var(--ps-text-muted); margin: auto 0 0; }
#mapio-app .mb-karta-meta span { margin: 0 5px; }

/* Pierwszy wpis na pierwszej stronie bloga: szeroka karta, zdjęcie obok tekstu. */
#mapio-app .mb-karta-wyrozniona { grid-column: 1 / -1; flex-direction: row; }
#mapio-app .mb-karta-wyrozniona .mb-karta-obrazek { flex: 0 0 54%; aspect-ratio: auto; min-height: 320px; }
#mapio-app .mb-karta-wyrozniona .mb-karta-tresc { padding: 36px 40px; justify-content: center; }
#mapio-app .mb-karta-wyrozniona .mb-karta-tytul { font-size: 28px; line-height: 1.25; }
#mapio-app .mb-karta-wyrozniona .mb-karta-zajawka { font-size: 16.5px; }
#mapio-app .mb-karta-wyrozniona .mb-karta-meta { margin-top: 0; }

/* ── Lista, "Czytaj także", stronicowanie ────────────────────────── */
#mapio-app .mb-lista { padding: 8px 0 72px; }
#mapio-app .mb-powiazane { background: #fff; border-top: 1px solid var(--ps-border); padding: 56px 0 64px; }
#mapio-app .mb-sekcja-tytul { font-size: 26px; font-weight: 800; margin: 0 0 24px; }
#mapio-app .mb-pusto {
	background: #fff; border: 1px solid var(--ps-border); border-radius: 14px; padding: 40px; text-align: center;
	font-size: 16px; color: var(--ps-text-muted); margin: 0;
}
#mapio-app .mb-stronicowanie { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
#mapio-app .mb-stronicowanie .page-numbers,
#mapio-app .mb-stronicowanie-wpisu .post-page-numbers {
	min-width: 42px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ps-border);
	font-size: 14px; font-weight: 600; color: var(--ps-text); text-decoration: none; text-align: center;
}
#mapio-app .mb-stronicowanie a.page-numbers:hover,
#mapio-app .mb-stronicowanie-wpisu a.post-page-numbers:hover { border-color: var(--ps-primary); color: var(--ps-primary); }
#mapio-app .mb-stronicowanie .page-numbers.current,
#mapio-app .mb-stronicowanie-wpisu .post-page-numbers.current { background: var(--ps-primary); border-color: var(--ps-primary); color: #fff; }
#mapio-app .mb-stronicowanie .page-numbers.dots { background: transparent; border-color: transparent; }

/* Pas CTA nie dostaje górnego marginesu z landingu. */
#mapio-app.mapio-blog .ps-landing-cta-band { margin-top: 0; }

/* ── Mniejszy komputer ───────────────────────────────────────────── */
@media (max-width: 1180px) {
	#mapio-app .mb-artykul { padding: 40px 44px 38px; }
	#mapio-app .mb-naglowek-wpis h1 { font-size: 38px; }
}

/* ── Tablet ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	#mapio-app .mb-uklad { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	#mapio-app .mb-boczny { align-self: start; }
	#mapio-app .mb-ramka { max-width: 460px; }
	#mapio-app .mb-spis-komputer { display: none; }
	#mapio-app .mb-spis-telefon { display: block; margin: 0 0 30px; box-shadow: none; background: #f8f9fb; }
	#mapio-app .mb-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#mapio-app .mb-karta-wyrozniona .mb-karta-obrazek { flex-basis: 48%; }
	#mapio-app .mb-naglowek-siatka { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	#mapio-app .mb-naglowek-grafika { max-width: 640px; }
}

/* ── Telefon ─────────────────────────────────────────────────────── */
@media (max-width: 720px) {
	#mapio-app .mb-wnetrze { padding: 0 16px; }
	#mapio-app .mb-naglowek { padding: 28px 0 24px; }
	#mapio-app .mb-naglowek-wpis { padding: 24px 0 36px; }
	#mapio-app .mb-naglowek h1, #mapio-app .mb-naglowek-wpis h1 { font-size: 28px; line-height: 1.2; }
	#mapio-app .mb-naglowek-grafika::before { inset: 10px -8px -10px 10px; }
	#mapio-app .mb-zajawka { font-size: 16px; }
	#mapio-app .mb-chip { font-size: 12.5px; padding: 5px 11px; }
	#mapio-app .mb-artykul { padding: 22px 18px 26px; border-radius: 16px; }
	#mapio-app .mb-tresc { font-size: 16.5px; line-height: 1.72; }
	#mapio-app .mb-tresc > p:first-child { font-size: 18px; }
	#mapio-app .mb-tresc h2 { font-size: 23px; }
	#mapio-app .mb-tresc h3 { font-size: 19px; }
	#mapio-app .mb-tresc blockquote { padding: 52px 18px 18px; font-size: 16.5px; }
	#mapio-app .mb-tresc blockquote::before { left: 16px; top: 6px; }
	#mapio-app .mb-tresc blockquote.mb-wzor { padding: 0; }
	#mapio-app .mb-tresc blockquote.mb-wzor p { padding: 14px 16px 0; }
	#mapio-app .mb-tresc blockquote.mb-wzor p:last-child { padding-bottom: 16px; }
	#mapio-app .mb-wzor-glowa { padding: 8px 10px 8px 16px; }
	#mapio-app .mb-tresc .mb-skrot { padding: 22px 20px 18px; }
	#mapio-app .mb-tresc .mb-skrot ul > li { font-size: 15.5px; }
	#mapio-app .mb-tresc .mb-uwaga { padding: 54px 18px 16px; }
	#mapio-app .mb-tresc .mb-uwaga::before { left: 18px; top: 16px; }
	#mapio-app .mb-tresc table { min-width: 560px; font-size: 14px; }
	/* Tabela jako karty: każdy wiersz osobno, wartości podpisane nazwą kolumny. */
	#mapio-app .mb-tresc .mb-tabela.is-karty { border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
	#mapio-app .mb-tresc .mb-tabela.is-karty table,
	#mapio-app .mb-tresc .mb-tabela.is-karty tbody,
	#mapio-app .mb-tresc .mb-tabela.is-karty tr { display: block; min-width: 0; width: auto; }
	#mapio-app .mb-tresc .mb-tabela.is-karty thead { display: none; }
	#mapio-app .mb-tresc .mb-tabela.is-karty tr {
		margin: 0 0 10px; border: 1px solid var(--ps-border); border-radius: 14px; background: #fff; overflow: hidden;
		box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	}
	#mapio-app .mb-tresc .mb-tabela.is-karty tr:last-child { margin-bottom: 0; }
	#mapio-app .mb-tresc .mb-tabela.is-karty td {
		display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 9px 14px;
		background: none; border-bottom: 1px solid #edf0f5; font-weight: 400;
	}
	#mapio-app .mb-tresc .mb-tabela.is-karty td::before { content: attr(data-kolumna); font-size: 12.5px; font-weight: 700; line-height: 1.6; color: var(--ps-text-muted); }
	#mapio-app .mb-tresc .mb-tabela.is-karty td:first-child { display: block; padding: 11px 14px; background: var(--ps-primary-light); color: var(--ps-primary-dark); font-weight: 800; }
	#mapio-app .mb-tresc .mb-tabela.is-karty td:first-child::before { content: none; }
	#mapio-app .mb-tresc .mb-tabela.is-karty td:last-child { border-bottom: 0; }
	#mapio-app .mb-tresc .mb-faq summary { font-size: 16px; padding: 14px 52px 14px 16px; }
	#mapio-app .mb-tresc .mb-faq-tresc { padding: 0 16px 14px; }
	#mapio-app .mb-tresc .alignleft, #mapio-app .mb-tresc .alignright { float: none; margin: 1em 0; max-width: 100%; }
	#mapio-app .mb-ramka { max-width: none; }
	#mapio-app .mb-siatka { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	#mapio-app .mb-karta-wyrozniona { flex-direction: column; }
	#mapio-app .mb-karta-wyrozniona .mb-karta-obrazek { flex: none; aspect-ratio: 1200 / 630; min-height: 0; }
	#mapio-app .mb-karta-wyrozniona .mb-karta-tresc { padding: 20px 22px 22px; }
	#mapio-app .mb-karta-wyrozniona .mb-karta-tytul { font-size: 21px; }
	#mapio-app .mb-powiazane { padding: 40px 0 44px; }
	#mapio-app .mb-sekcja-tytul { font-size: 22px; }
	#mapio-app .mb-lista { padding-bottom: 48px; }
	#mapio-app .mb-tresc .mb-oferta { padding: 22px 18px 20px; }
	#mapio-app .mb-tresc .mb-oferta .mb-oferta-tytul { font-size: 20px; }
	#mapio-app .mb-oferta-pakiety { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	#mapio-app .mb-oferta-pakiet-cena strong { display: inline; }
	#mapio-app .mb-tresc .mb-oferta-przyciski .ps-btn { width: 100%; text-align: center; }
	#mapio-app .mb-tresc ul.mb-oferta-zakres { grid-template-columns: minmax(0, 1fr); }
	#mapio-app .mb-tresc .mb-oferta-krotka { flex-direction: column; align-items: stretch; }
	#mapio-app .mb-oferta-krotka .ps-btn { text-align: center; white-space: normal; }
}

/* ── Okno z prośbą o kontakt (pojawia się w trakcie czytania wpisu) ──── */
html.mb-modal-blokada { overflow: hidden; }
#mapio-app .mb-modal { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 24px; }
#mapio-app .mb-modal[hidden] { display: none; }
#mapio-app .mb-modal-tlo { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); opacity: 0; transition: opacity .25s ease; }
#mapio-app .mb-modal-okno {
	position: relative; width: 100%; max-width: 580px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(15, 23, 42, .6), 0 2px 6px rgba(15, 23, 42, .08);
	opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
#mapio-app .mb-modal-okno:focus { outline: none; }
#mapio-app .mb-modal.is-otwarte .mb-modal-tlo { opacity: 1; }
#mapio-app .mb-modal.is-otwarte .mb-modal-okno { opacity: 1; transform: none; }
#mapio-app .mb-modal-x {
	position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; background: #fff; color: var(--ps-text); cursor: pointer;
	box-shadow: 0 6px 16px -6px rgba(15, 23, 42, .4);
}
#mapio-app .mb-modal-x svg { width: 18px; height: 18px; }
#mapio-app .mb-modal-x:hover { color: var(--ps-primary); }
#mapio-app .mb-modal-mapa { position: relative; height: 150px; background: #eef1ea; border-bottom: 1px solid var(--ps-border); }
#mapio-app .mb-modal-mapa .mb-mapa { position: absolute; inset: 0; }
#mapio-app .mb-modal-tresc { padding: 22px 26px 24px; }
#mapio-app .mb-modal-tytul { margin: 0 0 8px; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.015em; color: var(--ps-text); }
#mapio-app .mb-modal-opis { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--ps-text); }
#mapio-app .mb-modal .mb-ramka-punkty { margin-bottom: 18px; }
#mapio-app .mb-modal-etykieta { display: block; margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--ps-text); }
#mapio-app .mb-modal-pola { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; }
#mapio-app .mb-modal-pola input {
	display: block; width: 100%; box-sizing: border-box; height: 50px; padding: 0 16px; border: 1.5px solid var(--ps-border); border-radius: 12px;
	font: inherit; font-size: 16px; color: var(--ps-text); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
#mapio-app .mb-modal-pola input:focus { outline: none; border-color: var(--ps-primary); box-shadow: 0 0 0 4px rgba(26, 95, 180, .14); }
#mapio-app .mb-modal-wyslij { display: block; width: 100%; height: 50px; margin-top: 12px; padding: 0 20px; border-radius: 12px; font-weight: 700; }
#mapio-app .mb-modal-wyslij:disabled { opacity: .7; cursor: wait; }
#mapio-app .mb-modal-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#mapio-app .mb-modal-zgoda { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ps-text-muted); cursor: pointer; }
#mapio-app .mb-modal-zgoda input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ps-primary); }
#mapio-app .mb-modal-zgoda a { color: var(--ps-primary); }
#mapio-app .mb-modal-blad { margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; background: var(--mapio-zolty-tlo, #fff4d6); color: #7a5600; font-size: 13.5px; line-height: 1.45; }
#mapio-app .mb-modal-sukces { padding: 6px 0 2px; text-align: center; }
#mapio-app .mb-modal-sukces-ikona {
	display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 10px; border-radius: 50%;
	background: var(--mapio-zielony-tlo); color: var(--mapio-zielony);
}
#mapio-app .mb-modal-sukces-ikona svg { width: 26px; height: 26px; }
#mapio-app .mb-modal-sukces p { margin: 0 0 16px; font-size: 16px; line-height: 1.55; font-weight: 600; color: var(--ps-text); }
#mapio-app .mb-modal-sukces .ps-btn { padding: 12px 28px; border-radius: 12px; font-weight: 700; }

/* Na telefonie okno wysuwa się od dołu ekranu i nie zasłania całej strony. */
@media (max-width: 720px) {
	#mapio-app .mb-modal { align-items: flex-end; padding: 0; }
	#mapio-app .mb-modal-okno { max-width: none; max-height: 88vh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
	#mapio-app .mb-modal-mapa { height: 104px; }
	#mapio-app .mb-modal-tresc { padding: 18px 18px 22px; }
	#mapio-app .mb-modal-tytul { font-size: 20px; }
	#mapio-app .mb-modal-pola { grid-template-columns: minmax(0, 1fr); }
}
