/* ═══ Almanach Lojalności na podglądzie (15.10.2026, almanach.py) ═══════════
   Ładowany tylko na /loyalty-almanach/ i profilach (1748 stron), żeby nie ruszać reszty serwisu. */
.alm-wnetrze { max-width: 1280px; margin: 0 auto; }
.alm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alm-glowa { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.alm-glowa h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: #0B1A2E; }
.alm-glowa p { color: #55617A; font-size: 16.5px; }
.alm-glowa-rzad { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.alm-et { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #55617A; }
.alm-maly { font-size: 14px; line-height: 1.55; color: #55617A; }

/* ── hero listy ── */
.alm-hero { padding: clamp(28px, 4vw, 48px) 24px clamp(48px, 6vw, 80px); background: radial-gradient(900px 420px at 88% 0%, rgba(61, 92, 168, .16), rgba(61, 92, 168, 0) 62%), linear-gradient(180deg, #EEF1F7 0%, #FFFFFF 100%); }
.alm-hero .alm-wnetrze { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.alm-hero h1 { max-width: 24ch; font-size: clamp(38px, 4.8vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; color: #0B1A2E; text-wrap: balance; }
.alm-lead { max-width: 60ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: #3A4A63; }
.alm-staty { list-style: none; margin: 12px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 28px; }
@media (max-width: 760px) { .alm-staty { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.alm-staty li { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 2px solid #0B1A2E; }
.alm-staty b { font-size: clamp(34px, 3.6vw, 50px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; color: #2B4C9B; font-variant-numeric: tabular-nums; }
.alm-staty span { font-size: 15px; font-weight: 600; color: #3A4A63; }

/* ── typy ── */
.alm-typy { padding: clamp(48px, 6vw, 72px) 24px clamp(24px, 3vw, 40px); }
.alm-typy-siatka { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.alm-typ-karta { width: 100%; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ik n l" "ik o o"; gap: 4px 14px; align-items: start;
  padding: 16px 18px; border: 1px solid #E3E8F0; border-radius: 14px; background: #FFFFFF; color: #0B1A2E; font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .3s var(--ruch, ease); }
.alm-typ-karta:hover { border-color: #2B4C9B; transform: translateY(-2px); }
.alm-typ-karta[aria-pressed="true"] { background: #0B1A2E; border-color: #0B1A2E; color: #FFFFFF; }
.alm-typ-karta[aria-pressed="true"] .ik { background: rgba(163, 180, 218, .16); color: #A3B4DA; }
.alm-typ-karta[aria-pressed="true"] .alm-typ-o { color: #C5CEDF; }
.alm-typ-karta .ik { grid-area: ik; margin: 0; }
.alm-typ-n { grid-area: n; font-size: 16.5px; font-weight: 800; align-self: center; }
.alm-typ-o { grid-area: o; font-size: 14px; line-height: 1.45; color: #55617A; }
.alm-typ-l { grid-area: l; align-self: center; min-width: 34px; padding: 2px 9px; border-radius: 999px; background: #E9EDF6; color: #2B4C9B; font-size: 13px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }

/* ── filtry i lista ── */
.alm-lista { padding: 8px 24px clamp(56px, 7vw, 96px); }
.alm-filtry { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 2fr) repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; padding: 14px 0 12px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid #E3E8F0; }
@media (max-width: 1100px) { .alm-filtry { grid-template-columns: repeat(3, minmax(0, 1fr)); } .alm-szukaj { grid-column: 1 / -1; } }
@media (max-width: 600px) { .alm-filtry { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.alm-szukaj { position: relative; display: block; }
.alm-szukaj svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #55617A; pointer-events: none; }
.alm-szukaj input, .alm-pole select { box-sizing: border-box; width: 100%; height: 46px; border: 1px solid #C9D1E0; border-radius: 10px; background: #FFFFFF; color: #0B1A2E; font: 500 15px Inter, system-ui, sans-serif; }
.alm-szukaj input { padding: 0 14px 0 42px; }
.alm-pole { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.alm-pole span { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #55617A; }
.alm-pole select { padding: 0 10px; text-overflow: ellipsis; }
.alm-szukaj input:focus-visible, .alm-pole select:focus-visible { outline: 3px solid #2B4C9B; outline-offset: 1px; }
.alm-wynik { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 18px 0 14px; color: #55617A; font-size: 14.5px; }
.alm-wynik b { color: #0B1A2E; }
.alm-wyczysc { border: 0; background: none; padding: 0; color: #2B4C9B; font: 600 14.5px Inter, system-ui, sans-serif; cursor: pointer; }
.alm-siatka { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .alm-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .alm-siatka { grid-template-columns: minmax(0, 1fr); } }
.alm-karta[hidden] { display: none; }
.alm-karta > a { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border: 1px solid #E3E8F0; border-radius: 16px; background: #FFFFFF; color: #0B1A2E; text-decoration: none;
  transition: border-color .2s ease, transform .35s var(--ruch, ease), box-shadow .35s var(--ruch, ease); }
.alm-karta > a:hover { border-color: #2B4C9B; transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(11, 26, 46, .35); }
.alm-karta-gl { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2B4C9B; }
.alm-karta-gl .ik { width: 34px; height: 34px; border-radius: 10px; margin: 0; }
.alm-karta-t { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.alm-karta-m { font-size: 13.5px; color: #55617A; }
.alm-karta-w { font-size: 14.5px; line-height: 1.5; color: #3A4A63; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.alm-karta-st { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #EEF1F6; }
.alm-typ { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #3A4A63; }
.alm-typ svg { color: #2B4C9B; }
.alm-kropki { display: inline-flex; gap: 4px; }
.alm-kropki i, .alm-pasek5 i, .alm-pasek3 i { display: block; border-radius: 999px; background: #E3E8F0; }
.alm-kropki i { width: 8px; height: 8px; }
.alm-kropki i.on { background: #2B4C9B; }
.alm-pusto { padding: 40px 0; text-align: center; color: #55617A; }
.alm-wiecej { display: block; margin: 24px auto 0; min-height: 48px; padding: 0 26px; border: 1px solid #0B1A2E; border-radius: 10px; background: #FFFFFF; color: #0B1A2E; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; }
.alm-wiecej:hover { background: #0B1A2E; color: #FFFFFF; }
.alm-wiecej[hidden] { display: none; }

/* ── CTA ── */
.alm-cta { padding: clamp(48px, 6vw, 72px) 24px; background: #0B1A2E; color: #FFFFFF; }
.alm-cta-uklad { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; }
.alm-cta h2 { max-width: 24ch; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: #FFFFFF; }
.alm-cta p { max-width: 60ch; margin-top: 10px; color: #C5CEDF; font-size: 16.5px; }
.alm-cta-akcje { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.alm-cta-link { color: #2B4C9B; font-weight: 600; text-decoration: none; }
.alm-cta .alm-cta-link { color: #A3B4DA; }
.alm-cta-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── profil: hero ── */
.alm-p-hero { padding: clamp(24px, 3.5vw, 40px) 24px clamp(36px, 5vw, 56px); background: linear-gradient(180deg, #EEF1F7 0%, #FFFFFF 100%); }
.alm-p-hero .alm-wnetrze { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.alm-p-hero h1 { max-width: 22ch; font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; color: #0B1A2E; text-wrap: balance; }
.alm-p-chipy { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.alm-p-chipy li { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid #D5DBE3; color: #0B1A2E; font-size: 13.5px; font-weight: 600; }
.alm-p-chipy svg { color: #2B4C9B; }
.alm-p-lead { max-width: 64ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #3A4A63; }
.alm-p-marka { font-size: 14px; color: #55617A; }

/* ── profil: układ ze spisem ── */
.alm-p-uklad { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: 48px; padding: 8px 24px clamp(48px, 6vw, 80px); box-sizing: border-box; }
@media (max-width: 980px) { .alm-p-uklad { grid-template-columns: minmax(0, 1fr); gap: 0; } .alm-spis { display: none; } }
.alm-spis { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding: 18px 18px 14px; border-radius: 16px; background: #F4F7FC; }
.alm-spis ol { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; }
.alm-spis a { display: block; padding: 6px 10px; border-left: 2px solid transparent; color: #3A4A63; font-size: 14px; line-height: 1.35; text-decoration: none; }
.alm-spis a:hover { color: #2B4C9B; }
.alm-spis a.aktywny { border-left-color: #2B4C9B; color: #0B1A2E; font-weight: 700; background: #FFFFFF; border-radius: 0 8px 8px 0; }
.alm-p-tresc { min-width: 0; display: flex; flex-direction: column; }
.alm-sek { scroll-margin-top: 90px; padding: 36px 0; border-top: 1px solid #E3E8F0; }
.alm-sek:first-child { border-top: 0; padding-top: 12px; }
.alm-sek > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: clamp(22px, 2vw, 27px); font-weight: 800; letter-spacing: -.02em; color: #0B1A2E; }
.alm-sek > h2 .ik { width: 40px; height: 40px; margin: 0; flex: none; }
.alm-tresc { display: flex; flex-direction: column; gap: 14px; font-size: 16.5px; line-height: 1.7; color: #3A4A63; }
.alm-tresc strong { color: #0B1A2E; }
.alm-tresc ul, .alm-tresc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.alm-tresc a { color: #2B4C9B; overflow-wrap: anywhere; }

/* karta programu */
.alm-kafle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .alm-kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .alm-kafle { grid-template-columns: minmax(0, 1fr); } }
.alm-kafel { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ik et" "ik v"; gap: 2px 12px; align-items: start; padding: 14px 16px; border: 1px solid #E3E8F0; border-radius: 14px; background: #FFFFFF; }
.alm-kafel-szeroki { grid-column: span 2; }
@media (max-width: 560px) { .alm-kafel-szeroki { grid-column: auto; } }
.alm-kafel .ik { grid-area: ik; width: 36px; height: 36px; border-radius: 10px; margin: 0; }
.alm-pole-et { grid-area: et; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #55617A; }
.alm-pole-v { grid-area: v; font-size: 15px; font-weight: 600; line-height: 1.45; color: #0B1A2E; overflow-wrap: anywhere; }
.alm-wiersze { margin: 14px 0 0; display: flex; flex-direction: column; border-radius: 14px; background: #F4F7FC; padding: 4px 18px; }
.alm-wiersz { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 6px 20px; padding: 12px 0; border-top: 1px solid #E3E8F0; }
.alm-wiersz:first-child { border-top: 0; }
@media (max-width: 640px) { .alm-wiersz { grid-template-columns: minmax(0, 1fr); } }
.alm-wiersz dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #55617A; }
.alm-wiersz dd { margin: 0; font-size: 15px; line-height: 1.55; color: #3A4A63; overflow-wrap: anywhere; }

/* parametry */
.alm-param { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
@media (max-width: 760px) { .alm-param { grid-template-columns: minmax(0, 1fr); } }
.alm-miernik { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border-radius: 16px; background: #0B1A2E; color: #FFFFFF; }
.alm-miernik .alm-et { color: #A3B4DA; }
.alm-miernik .alm-maly { color: #C5CEDF; }
.alm-wielka { display: flex; align-items: baseline; gap: 4px; }
.alm-wielka b { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.alm-wielka span { font-size: 22px; font-weight: 700; color: #A3B4DA; }
.alm-pasek5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.alm-pasek5 i { height: 10px; background: rgba(255, 255, 255, .14); }
.alm-pasek5 i.on { background: linear-gradient(90deg, #3D5CA8, #A3B4DA); }
.alm-kpi { display: flex; align-items: center; gap: 12px; }
.alm-kpi .ik { margin: 0; background: rgba(163, 180, 218, .16); color: #A3B4DA; }
.alm-kpi b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.alm-sila { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #C5CEDF; }
.alm-sila b { color: #FFFFFF; font-size: 14px; }
.alm-pasek3 { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.alm-pasek3 i { height: 10px; background: rgba(255, 255, 255, .14); }
.alm-pasek3 i.on { background: #A3B4DA; }

/* sekcje szczególne */
.alm-sek-kroki .alm-tresc ol { list-style: none; padding: 0; counter-reset: krok; gap: 0; }
.alm-sek-kroki .alm-tresc ol li { counter-increment: krok; position: relative; padding: 0 0 18px 52px; }
.alm-sek-kroki .alm-tresc ol li::before { content: counter(krok); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 999px; background: #2B4C9B; color: #FFFFFF; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.alm-sek-kroki .alm-tresc ol li::after { content: ''; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: #D5DBE3; }
.alm-sek-kroki .alm-tresc ol li:last-child { padding-bottom: 0; }
.alm-sek-kroki .alm-tresc ol li:last-child::after { display: none; }
.alm-sek-mechanika .alm-tresc ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .alm-sek-mechanika .alm-tresc ul { grid-template-columns: minmax(0, 1fr); } }
.alm-sek-mechanika .alm-tresc ul li { padding: 16px 18px; border: 1px solid #E3E8F0; border-radius: 14px; background: #FFFFFF; font-size: 15px; line-height: 1.6; }
.alm-sek-mechanika .alm-tresc ul li strong:first-child { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2B4C9B; }
.alm-sek-lista .alm-tresc ul { list-style: none; padding: 0; }
.alm-sek-lista .alm-tresc ul li { position: relative; padding-left: 30px; }
.alm-sek-lista .alm-tresc ul li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 999px; background: #E9EDF6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B4C9B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.alm-sek-wniosek .alm-tresc { padding: 24px 26px; border-radius: 16px; background: #E9EDF6; color: #0B1A2E; font-size: 17.5px; font-weight: 500; }
.alm-zrodla .alm-tresc { font-size: 14.5px; line-height: 1.65; }
.alm-regulamin { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid #0B1A2E; border-radius: 10px; color: #0B1A2E !important; font-weight: 600; text-decoration: none; }
.alm-regulamin:hover { background: #0B1A2E; color: #FFFFFF !important; }

/* podobne */
.alm-podobne { padding: clamp(48px, 6vw, 72px) 24px; background: #F4F7FC; }

@media (prefers-reduced-motion: reduce) { .alm-karta > a, .alm-typ-karta { transition: none !important; } .alm-karta > a:hover, .alm-typ-karta:hover { transform: none !important; } }

/* ── softwall (20.11, prototyp): zajawki sekcji i mur z formularzem ── */
.alm-sek-zamk .alm-tresc p { color: #55617A; }
.alm-zamek { margin: 12px 0 0; }
.alm-zamek a { display: inline-flex; align-items: center; gap: 8px; color: #2B4C9B; font-size: 14.5px; font-weight: 600; text-decoration: none; }
.alm-zamek a:hover { text-decoration: underline; text-underline-offset: 4px; }
.alm-zamek svg, .alm-spis-zamek svg { display: block; }
.alm-spis li.zamk a { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #55617A; }
.alm-spis-zamek { flex: none; color: #8A93A8; }
.alm-mur { scroll-margin-top: 90px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 40px; align-items: start;
  margin: 8px 0 12px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: #0B1A2E; color: #FFFFFF; }
.alm-mur[hidden], .alm-mur [hidden] { display: none !important; }
@media (max-width: 860px) { .alm-mur { grid-template-columns: minmax(0, 1fr); } }
.alm-mur .alm-et { display: inline-flex; align-items: center; gap: 8px; color: #A3B4DA; }
.alm-mur h2 { margin: 10px 0 0; font-size: clamp(24px, 2.4vw, 31px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: #FFFFFF; text-wrap: balance; }
.alm-mur-tekst > p { margin: 12px 0 0; color: #C5CEDF; font-size: 15.5px; line-height: 1.6; }
.alm-mur-tekst > p.alm-et { margin: 0; }
.alm-mur-tekst > p.alm-mur-lista-et { margin-top: 20px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #A3B4DA; }
.alm-mur-lista { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.alm-mur-lista li { padding: 5px 11px; border: 1px solid #2A3B57; border-radius: 999px; font-size: 13px; color: #DCE3F2; }
.alm-mur-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 14px; background: #FFFFFF; color: #0B1A2E; }
.alm-mur-pole { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.alm-mur-pole input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 14px; border: 1px solid #8A93A8; border-radius: 10px; background: #FFFFFF; color: #0B1A2E; font: inherit; font-size: 16px; font-weight: 400; }
.alm-mur-pole input:focus-visible { outline: 3px solid #A3B4DA; outline-offset: 1px; border-color: #2B4C9B; }
.alm-mur-pole input[aria-invalid="true"] { border-color: #C4302B; }
.alm-mur-zgoda { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.5; color: #3A4A63; cursor: pointer; }
.alm-mur-zgoda input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #2B4C9B; }
.alm-mur-form .sf-przycisk { justify-content: center; border: 0; cursor: pointer; font-family: inherit; }
.alm-mur-klauzula { margin: 0; font-size: 12.5px; line-height: 1.5; color: #55617A; }
.alm-mur-blad { margin: -6px 0 0; font-size: 13.5px; font-weight: 600; color: #C4302B; }
.alm-mur > .alm-mur-blad { margin: 0; color: #FFB4AE; }
.alm-mur-ok { margin: 0; align-self: center; padding: 18px 20px; border-radius: 14px; background: #FFFFFF; color: #0B1A2E; font-size: 16px; font-weight: 600; }
.alm-mur-ok:focus { outline: none; }
.alm-mur-otwarty { grid-template-columns: minmax(0, 1fr); }
.alm-mur-otwarty .alm-mur-lista, .alm-mur-otwarty .alm-mur-lista-et { display: none; }

/* ═══ 26.11f: przekroje (kraje, regiony, branże, typy), blok oferty na karcie, zestawienie CSV (almanach_przekroje.py) ═══ */
.alm-p-chipy li a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.alm-p-chipy li:has(a) { transition: border-color .2s ease; }
.alm-p-chipy li:has(a):hover { border-color: #2B4C9B; }
.alm-oferta { margin: 12px 0 0; padding: clamp(22px, 2.6vw, 32px); border: 0; border-radius: 20px; background: #F4F7FC; }
.alm-oferta + .alm-sek { border-top: 0; }
.alm-oferta-real { padding: 14px 16px; border-left: 3px solid #2B4C9B; border-radius: 0 10px 10px 0; background: #FFFFFF; }
.alm-oferta-real a { font-weight: 600; white-space: nowrap; }
.alm-oferta-akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 22px; }
.alm-wiecej-prz { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.alm-prz-sek { padding: clamp(32px, 4vw, 56px) 24px; }
.alm-prz-hero .alm-staty b small { font-size: .5em; font-weight: 700; color: #55617A; letter-spacing: 0; }
.alm-staty b.alm-stat-slowo { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.15; letter-spacing: -.02em; min-height: clamp(36px, 3.8vw, 52px); display: flex; align-items: flex-end; }
.alm-wnioski { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 12px; }
.alm-wnioski li { padding: 16px 18px; border: 1px solid #E3E8F0; border-radius: 14px; background: #FFFFFF; font-size: 16px; line-height: 1.55; color: #3A4A63; }
.alm-wnioski strong { color: #0B1A2E; }
.alm-prz-siatka { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 48px; align-items: start; }
.alm-prz-blok h3 { margin-bottom: 12px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: #0B1A2E; }
.alm-prz-blok .alm-maly { margin: -6px 0 10px; }
.alm-nawig .alm-prz-blok { margin-top: 24px; }
.alm-prz-lista .alm-prz-blok { margin-top: 40px; }
.alm-miks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.alm-miks li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) minmax(118px, auto); gap: 12px; align-items: center; font-size: 14.5px; color: #0B1A2E; }
.alm-miks-n a { color: inherit; text-decoration-color: #A3B4DA; text-underline-offset: 3px; }
.alm-miks-tor { position: relative; height: 10px; border-radius: 999px; background: #E9EDF6; }
.alm-miks-tor i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: #2B4C9B; }
.alm-miks-tor b { position: absolute; top: -4px; width: 2px; height: 18px; border-radius: 1px; background: #0B1A2E; }
.alm-miks-v { font-variant-numeric: tabular-nums; text-align: right; }
.alm-miks-v small { font-size: 12.5px; color: #55617A; }
@media (max-width: 560px) { .alm-miks li { grid-template-columns: minmax(0, 1fr) auto; } .alm-miks-tor { grid-column: 1 / -1; order: 3; } }
.alm-prz-chipy { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.alm-prz-chipy a, .alm-prz-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border: 1px solid #D5DBE3; border-radius: 999px; background: #FFFFFF; color: #0B1A2E; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s ease; }
.alm-prz-chipy a:hover { border-color: #2B4C9B; color: #0B1A2E; }
.alm-prz-chipy a span, .alm-prz-chip span { color: #2B4C9B; font-weight: 700; font-variant-numeric: tabular-nums; }
.alm-prz-chip { background: #F4F7FC; border-color: #E3E8F0; color: #3A4A63; }
.alm-rank { list-style: none; margin: 0; padding: 0; }
.alm-rank li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid #E3E8F0; font-size: 15px; }
.alm-rank li:first-child { border-top: 0; }
.alm-rank span { flex: none; color: #55617A; font-variant-numeric: tabular-nums; }
.alm-pobierz { margin: 0; }
.alm-pobierz-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.alm-pobierz-ok .sf-przycisk { text-decoration: none; }
/* ═══ 27.11a: rankingi i zestawienia (almanach_rankingi.py), pytania właściciela programu na karcie (almanach_faq.py) ═══ */
.alm-rk { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E3E8F0; }
.alm-rk li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 18px; align-items: start; padding: 16px 0; border-bottom: 1px solid #E3E8F0; }
.alm-rk.alm-rk-bez li { grid-template-columns: minmax(0, 1fr) auto; }
.alm-rk-nr { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: #2B4C9B; font-variant-numeric: tabular-nums; }
.alm-rk-gl { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.alm-rk-gl a { font-size: 18px; font-weight: 700; line-height: 1.3; color: #0B1A2E; text-decoration: none; }
.alm-rk-gl a:hover { color: #2B4C9B; text-decoration: underline; text-underline-offset: 3px; }
.alm-rk-m { font-size: 13.5px; color: #55617A; }
.alm-rk-o { margin-top: 2px; font-size: 15px; line-height: 1.5; color: #3A4A63; overflow-wrap: anywhere; }
.alm-rk-v { font-size: 18px; font-weight: 800; line-height: 1.3; color: #0B1A2E; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
@media (max-width: 560px) {
  .alm-rk li { grid-template-columns: 30px minmax(0, 1fr); }
  .alm-rk.alm-rk-bez li { grid-template-columns: minmax(0, 1fr); }
  .alm-rk-nr { font-size: 18px; }
  .alm-rk-v { grid-column: 2; text-align: left; font-size: 16px; color: #2B4C9B; }
  .alm-rk.alm-rk-bez .alm-rk-v { grid-column: 1; }
}
.alm-faq-l { display: flex; flex-direction: column; margin-top: 14px; }
.alm-faq-p { padding: 18px 0; border-top: 1px solid #E3E8F0; }
.alm-faq-p h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; color: #0B1A2E; }
.alm-faq-p p { margin: 0; font-size: 16px; line-height: 1.6; color: #3A4A63; }
.alm-faq-p a { text-underline-offset: 3px; }
/* ═══ 28.11a: porównania program kontra program (almanach_porownania.py); strony cech używają stylów rankingów (.alm-rk) ═══ */
.alm-por-listy { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 32px 48px; align-items: start; }
.alm-por-listy h2 { margin: 0 0 16px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; color: #0B1A2E; }
.alm-por-listy .alm-wnioski { grid-template-columns: 1fr; margin-bottom: 0; }
.alm-por { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15.5px; line-height: 1.55; color: #3A4A63; }
.alm-por thead th { padding: 0 16px 14px; text-align: left; font-size: 18px; font-weight: 800; letter-spacing: -.01em; vertical-align: bottom; }
.alm-por thead th a { color: #0B1A2E; text-decoration: none; }
.alm-por thead th a:hover { color: #2B4C9B; text-decoration: underline; text-underline-offset: 3px; }
.alm-por thead td { width: 190px; }
.alm-por tbody th { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; font-size: 14px; font-weight: 700; color: #0B1A2E; border-top: 1px solid #E3E8F0; }
.alm-por tbody td { padding: 14px 16px; vertical-align: top; border-top: 1px solid #E3E8F0; overflow-wrap: anywhere; }
.alm-por tbody td:nth-child(2) { background: #F8FAFD; }
.alm-por-brak { color: #9AA5B8; }
.alm-por-wnioski { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; margin-bottom: 28px; }
.alm-por-wn { padding: 22px 24px; border: 1px solid #E3E8F0; border-radius: 16px; background: #FFFFFF; }
.alm-por-wn h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #0B1A2E; }
.alm-por-wn p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: #3A4A63; }
.alm-por-wn p:last-child { margin-bottom: 0; }
.alm-por-zobacz { margin-top: 36px; }
.alm-por-zobacz .alm-prz-chipy + .alm-prz-chipy { margin-top: 10px; }
.alm-wiecej-prz + .alm-wiecej-prz { margin-top: 18px; }
@media (max-width: 700px) {
  .alm-por, .alm-por tbody, .alm-por tr, .alm-por tbody th, .alm-por tbody td { display: block; }
  .alm-por thead { display: none; }
  .alm-por tbody th { padding: 16px 0 6px; }
  .alm-por tbody td { padding: 8px 12px; border-top: 0; border-radius: 10px; margin-bottom: 6px; background: #F8FAFD; }
  .alm-por tbody td::before { content: attr(data-p); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 700; color: #2B4C9B; }
}
/* ═══ 28.11c: warstwa wizualna (almanach_obraz.py): skrót karty, tło branży, mapy kafelkowe, liczby obok siebie, zwijanie na telefonie ═══ */
.alm-skrot { margin: 4px 0 28px; padding: 24px 26px; border-radius: 18px; background: #F4F7FC; }
.alm-skrot h2 { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2B4C9B; }
.alm-skrot ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 22px 28px; }
.alm-skrot li { display: flex; flex-direction: column; gap: 8px; }
.alm-skrot li p { margin: 0; font-size: 16px; line-height: 1.55; color: #0B1A2E; }
.alm-skrot li a { margin-top: auto; font-size: 14px; font-weight: 600; color: #2B4C9B; text-decoration: none; }
.alm-skrot li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.alm-skrot + .alm-sek { border-top: 0; padding-top: 12px; }
.alm-tlo, .alm-mapa-blok { margin-top: 26px; }
.alm-tlo h3, .alm-mapa-blok h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #0B1A2E; }
.alm-tlo-siatka { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin-top: 14px; }
.alm-tlo-w { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: 1px solid #E3E8F0; border-radius: 16px; background: #FFFFFF; }
.alm-tlo-w .alm-maly { margin-top: auto; }
.alm-hist { display: flex; align-items: flex-end; gap: 6px; height: 118px; }
.alm-hist span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.alm-hist i { display: block; width: 100%; height: calc(var(--h) * .62); min-height: 3px; border-radius: 5px 5px 0 0; background: #D3DCEE; }
.alm-hist em { font-style: normal; font-size: 12px; font-weight: 600; color: #7A869C; }
.alm-hist b { font-size: 13px; font-weight: 700; color: #55617A; }
.alm-hist .on i { background: #2B4C9B; }
.alm-hist .on em, .alm-hist .on b { color: #0B1A2E; font-weight: 800; }
.alm-os { position: relative; height: 34px; margin: 6px 7px 0; }
.alm-os::before { content: ""; position: absolute; left: -7px; right: -7px; top: 16px; height: 2px; border-radius: 2px; background: #E3E8F0; }
.alm-os i { position: absolute; top: 9px; width: 2px; height: 16px; margin-left: -1px; border-radius: 1px; background: #9FB1D8; opacity: .75; }
.alm-os b { position: absolute; top: 8px; width: 14px; height: 14px; margin-left: -9px; border-radius: 50%; background: #0B1A2E; border: 2px solid #FFFFFF; box-shadow: 0 0 0 2px #0B1A2E; }
.alm-os-sk { display: flex; justify-content: space-between; margin-top: -6px; font-size: 12.5px; font-weight: 600; color: #7A869C; }
.alm-mapa { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; margin-top: 14px; }
.alm-mapa-g { display: flex; flex-direction: column; gap: 10px; }
.alm-mapa-s { display: grid; grid-template-columns: repeat(var(--k), 46px); grid-auto-rows: 46px; gap: 4px; }
.alm-mapa-rz { display: flex; flex-wrap: wrap; gap: 4px; }
.alm-mapa-rz .alm-kf { width: 46px; height: 46px; }
.alm-kf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; border: 0; border-radius: 9px; background: #EEF2F9; color: #0B1A2E; font: inherit; line-height: 1; text-decoration: none; }
.alm-kf b { font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.alm-kf i { font-style: normal; font-size: 11px; font-weight: 600; opacity: .8; }
button.alm-kf, a.alm-kf { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
button.alm-kf:hover, a.alm-kf:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(11, 26, 46, .16); }
button.alm-kf:focus-visible, a.alm-kf:focus-visible { outline: 2px solid #0B1A2E; outline-offset: 2px; }
.alm-kf.st1 { background: #E4EAF6; } .alm-kf.st2 { background: #BCCAE9; }
.alm-kf.st3 { background: #6F8BCB; color: #FFFFFF; } .alm-kf.st4 { background: #2B4C9B; color: #FFFFFF; }
.alm-kf[aria-pressed="true"] { background: #0B1A2E; color: #FFFFFF; box-shadow: 0 0 0 3px #A3B4DA; }
.alm-kf.on { background: #2B4C9B; color: #FFFFFF; }
.alm-kf.tlo { background: #F1F4F9; color: #9AA5B8; }
.alm-mapa-sek { padding: clamp(36px, 5vw, 64px) 24px 0; }
.alm-mapa-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 18px 0 0; font-size: 13px; color: #55617A; }
.alm-mapa-leg span { display: inline-flex; align-items: center; gap: 6px; }
.alm-mapa-leg .alm-kf { width: 14px; height: 14px; border-radius: 4px; }
.alm-lp-sek { padding-bottom: 0; }
.alm-lp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.alm-lp-w { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; border: 1px solid #E3E8F0; border-radius: 16px; background: #FFFFFF; }
.alm-lp-p { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: baseline; }
.alm-lp-p span { font-size: 14px; font-weight: 600; color: #3A4A63; overflow-wrap: anywhere; }
.alm-lp-p b { font-size: 17px; font-weight: 800; color: #0B1A2E; white-space: nowrap; }
.alm-lp-tor { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: #EEF2F9; overflow: hidden; }
.alm-lp-tor i { display: block; height: 100%; border-radius: 5px; background: #2B4C9B; }
.alm-lp-p + .alm-lp-p .alm-lp-tor i { background: #7F97D0; }
.alm-por-zn { display: block; width: max-content; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.alm-por-ro .alm-por-zn { background: #0B1A2E; color: #FFFFFF; }
.alm-por-ta .alm-por-zn { background: #EEF2F9; color: #55617A; }
.alm-por tbody tr.alm-por-ro td { color: #0B1A2E; font-weight: 600; }
.alm-por tbody tr.alm-por-ta td { color: #7A869C; }
.alm-por .alm-kropki { display: inline-flex; vertical-align: middle; margin-right: 6px; }
.alm-por-dl summary { cursor: pointer; list-style: none; }
.alm-por-dl summary::-webkit-details-marker { display: none; }
.alm-por-dl .wi { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: #2B4C9B; }
.alm-por-dl .wi::after { content: attr(data-o); }
.alm-por-dl[open] .kr { display: none; }
.alm-por-dl[open] .wi { margin: 0 0 6px; }
.alm-por-dl[open] .wi::after { content: attr(data-z); }
.alm-zw-b { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: inherit; text-align: left; cursor: pointer; }
.alm-zw-b::after { content: ""; flex: none; width: 9px; height: 9px; margin-left: auto; margin-right: 6px; border-right: 2px solid #2B4C9B; border-bottom: 2px solid #2B4C9B; transform: rotate(-135deg); transition: transform .2s ease; }
.alm-zw .alm-zw-b::after { transform: rotate(45deg); }
.alm-zw > .alm-tresc { display: none; }
.alm-zw > h2 { margin-bottom: 0; }
.alm-sek.alm-zw { padding: 20px 0; }
@media (max-width: 560px) {
  .alm-skrot { padding: 20px 18px; }
  .alm-mapa-s { grid-template-columns: repeat(var(--k), 36px); grid-auto-rows: 36px; }
  .alm-mapa-rz .alm-kf { width: 36px; height: 36px; }
  .alm-kf b { font-size: 11px; } .alm-kf i { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { button.alm-kf, a.alm-kf, .alm-zw-b::after { transition: none; } button.alm-kf:hover, a.alm-kf:hover { transform: none; } }
/* ═══ 28.11d: „Porównaj dwa programy” (almanach_porownaj.py) ═══ */
.alm-pj { padding-top: 8px; }
.alm-pj-wybor { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 22px; border-radius: 18px; background: #F4F7FC; }
.alm-pj-pole input { box-sizing: border-box; width: 100%; height: 52px; padding: 0 16px; border: 1px solid #C9D1E0; border-radius: 12px; background: #FFFFFF; color: #0B1A2E; font: 600 16px Inter, system-ui, sans-serif; text-overflow: ellipsis; }
.alm-pj-pole input:focus-visible { outline: 3px solid #2B4C9B; outline-offset: 1px; }
.alm-pj-zamien { width: 52px; height: 52px; border: 1px solid #C9D1E0; border-radius: 12px; background: #FFFFFF; color: #2B4C9B; font-size: 20px; line-height: 1; cursor: pointer; }
.alm-pj-zamien:hover { border-color: #2B4C9B; }
.alm-pj-zamien:focus-visible, .alm-pj-link:focus-visible, .alm-pj-podp button:focus-visible { outline: 3px solid #2B4C9B; outline-offset: 2px; }
.alm-pj-wybor .alm-wyczysc { height: 52px; }
.alm-pj-podp { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.alm-pj-podp[hidden] { display: none; }
.alm-pj-podp button { cursor: pointer; font-family: inherit; }
.alm-pj-podp button:hover { border-color: #2B4C9B; }
.alm-pj-stan { margin: 28px 0 0; padding: 18px 20px; border-radius: 14px; background: #F4F7FC; color: #3A4A63; font-size: 16px; }
.alm-pj-wynik:not(:empty) { margin-top: 36px; }
.alm-pj-h { margin: 0 0 10px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; color: #0B1A2E; text-wrap: balance; }
.alm-pj-h:focus { outline: none; }
.alm-pj-akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin: 0 0 8px; font-size: 16px; color: #3A4A63; }
.alm-pj-link { padding: 0; border: 0; background: none; font: 600 15px Inter, system-ui, sans-serif; color: #2B4C9B; cursor: pointer; }
.alm-pj-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.alm-pj-h3 { margin: 30px 0 12px; font-size: clamp(20px, 2vw, 25px); font-weight: 800; letter-spacing: -.02em; color: #0B1A2E; }
.alm-pj-h3 + .alm-maly { margin: -6px 0 14px; }
.alm-pj-karty { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; }
.alm-pj-wejscie { margin: 18px 0 0; }
.alm-p-por { margin: 0; font-size: 15px; }
@media (max-width: 760px) {
  .alm-pj-wybor { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .alm-pj-wybor .alm-pj-pole { grid-column: 1 / -1; order: 1; }
  .alm-pj-wybor .alm-pj-zamien, .alm-pj-wybor .alm-wyczysc { order: 2; }
  .alm-pj-wybor .alm-wyczysc { justify-self: start; }
}
/* ═══ 28.11e: mapa geograficzna (Natural Earth) zamiast kafli: świat z regionami, zbliżenie na region, kraje z liczbami ═══ */
.alm-geo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.alm-geo-tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid #D5DBE3; border-radius: 999px; background: #FFFFFF; color: #0B1A2E; font: 600 15px Inter, system-ui, sans-serif; cursor: pointer; }
.alm-geo-tabs button b { color: #2B4C9B; font-weight: 800; font-variant-numeric: tabular-nums; }
.alm-geo-tabs button:hover { border-color: #2B4C9B; }
.alm-geo-tabs button[aria-pressed="true"] { background: #0B1A2E; border-color: #0B1A2E; color: #FFFFFF; }
.alm-geo-tabs button[aria-pressed="true"] b { color: #A3B4DA; }
.alm-geo-tabs button:focus-visible, .alm-geo-kraje button:focus-visible { outline: 3px solid #2B4C9B; outline-offset: 2px; }
.alm-geo-ramka { border: 1px solid #E3E8F0; border-radius: 18px; background: #F8FAFD; overflow: hidden; }
.alm-geo-svg { display: block; width: 100%; aspect-ratio: 16 / 9; }
.alm-geo-svg path { fill: #E3E8F1; stroke: #FFFFFF; stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .2s ease; }
.alm-geo-svg text { fill: #FFFFFF; font-family: Inter, system-ui, sans-serif; font-weight: 800; text-anchor: middle; pointer-events: none; }
.alm-geo-svg .geo-b { cursor: pointer; }
.alm-geo-svg .geo-b circle { fill: #0B1A2E; stroke: #FFFFFF; stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill .2s ease; }
.alm-geo-svg .geo-b:hover circle { fill: #2B4C9B; }
.alm-geo-svg .geo-b[aria-pressed="true"] circle { fill: #2B4C9B; stroke: #0B1A2E; stroke-width: 3; }
.alm-geo-svg .geo-b-reg text.e { fill: #0B1A2E; font-weight: 700; paint-order: stroke; stroke: #F8FAFD; stroke-width: 5; vector-effect: non-scaling-stroke; }
.alm-geo-svg .geo-bk { display: none; }
.alm-geo-svg .geo-bk.akt { display: block; }
.alm-geo[data-widok="swiat"] .geo-reg.ma { cursor: pointer; }
.alm-geo[data-widok="swiat"] .geo-reg.ma path { fill: #B7C6E6; }
.alm-geo[data-widok="swiat"] .geo-reg.ma:hover path { fill: #6F8BCB; }
.alm-geo:not([data-widok="swiat"]) .geo-br { display: none; }
.alm-geo:not([data-widok="swiat"]) .geo-reg.ma:not(.akt) { cursor: pointer; }
.alm-geo:not([data-widok="swiat"]) .geo-reg.ma:not(.akt):hover path { fill: #CBD6EC; }
.alm-geo-svg .geo-reg.akt path { fill: #EDF0F6; }
.alm-geo-svg .geo-reg.akt path[data-alm-kraj] { cursor: pointer; }
.alm-geo-svg .geo-reg.akt path.st1 { fill: #DCE4F4; } .alm-geo-svg .geo-reg.akt path.st2 { fill: #B4C4E6; }
.alm-geo-svg .geo-reg.akt path.st3 { fill: #7E97D1; } .alm-geo-svg .geo-reg.akt path.st4 { fill: #3D5DAB; }
.alm-geo-svg .geo-reg.akt path[data-alm-kraj]:hover { fill: #1B3270; }
.alm-geo-svg .geo-reg.akt path[aria-pressed="true"] { fill: #0B1A2E; }
.alm-geo-kraje { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.alm-geo-kraje[hidden] { display: none; }
.alm-geo-kraje button { cursor: pointer; font-family: inherit; }
.alm-geo-kraje button:hover { border-color: #2B4C9B; }
.alm-geo-kraje button[aria-pressed="true"] { background: #0B1A2E; border-color: #0B1A2E; color: #FFFFFF; }
.alm-geo-kraje button[aria-pressed="true"] span { color: #A3B4DA; }
.alm-mapa-leg i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.alm-mapa-leg i.st1 { background: #DCE4F4; } .alm-mapa-leg i.st2 { background: #B4C4E6; } .alm-mapa-leg i.st3 { background: #7E97D1; } .alm-mapa-leg i.st4 { background: #3D5DAB; }
.alm-mapa-zr { margin-left: auto; font-size: 12px; color: #8A93A8; }
.alm-geo-karta { margin: 14px 0; max-width: 720px; }
.alm-geo-karta path.on { fill: #2B4C9B; }
@media (max-width: 700px) {
  .alm-geo-ramka { overflow-x: auto; }
  .alm-geo:not([data-widok="swiat"]) .alm-geo-svg { min-width: 680px; }
  .alm-geo-tabs button { min-height: 36px; padding: 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .alm-geo-svg path, .alm-geo-svg .geo-b circle { transition: none; } }
/* ═══ 28.11f: szlif. Dymek mapy, skrót karty i tło branży bez osieroconego kafla ═══ */
.alm-geo { position: relative; }
.alm-geo-dymek { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 14px)); padding: 6px 11px; border-radius: 8px; background: #0B1A2E; color: #FFFFFF; font: 600 13px/1.3 Inter, system-ui, sans-serif; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(11, 26, 46, .22); }
.alm-geo-dymek[hidden] { display: none; }
.alm-skrot ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alm-skrot li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.alm-skrot li:last-child:nth-child(odd) p { max-width: 720px; }
.alm-tlo-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alm-tlo-w:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 1240px) {
  .alm-tlo-siatka { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .alm-tlo-w:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 640px) {
  .alm-skrot ul, .alm-tlo-siatka { grid-template-columns: minmax(0, 1fr); }
}
/* ═══ 28.11g: telefon. Listy przekrojów i kafle typów jako przesuwane rzędy, żeby mapa i lista programów były bliżej góry ═══ */
@media (max-width: 700px) {
  .alm-nawig .alm-prz-chipy, .alm-typy-siatka { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-right: -20px; padding-right: 44px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .alm-nawig .alm-prz-chipy::-webkit-scrollbar, .alm-typy-siatka::-webkit-scrollbar { display: none; }
  .alm-nawig .alm-prz-chipy > li, .alm-typy-siatka > li { flex: 0 0 auto; scroll-snap-align: start; }
  .alm-nawig .alm-prz-chipy > li > * { white-space: nowrap; }
  .alm-typy-siatka > li { width: 250px; }
}

/* 1.12: dwa pliki po odblokowaniu zestawienia (plik dla agenta AI i arkusz CSV) */
.alm-pobierz-pliki { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
