/* Panel kontaktów Brand Perspective - wygląd według projektu Claude Design, wariant D3 (Navy blue). */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonty/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("assets/fonty/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonty/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonty/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonty/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonty/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --tlo: #182a4f;
  --tlo-naglowka: #182a4f; /* nagłówek i stopka - jednolity kolor dawnego tła strony */
  --tlo-strony: #111823; /* kolor dolnej krawędzi grafiki tła */
  --tlo-pas: #1d3159;
  --karta: #213764;
  --tekst: #ffffff;
  --tekst-2: #ffffff;
  --wygaszony: #ffffff;
  --etykieta: #ffffff;
  --link: #a8c4ff;
  --akcent-tekst: #ffffff;
  --gradient: linear-gradient(135deg, #5b8dff, #2f5fd8);
  --ramka: rgba(255, 255, 255, .1);
  --ramka-pola: rgba(255, 255, 255, .14);
  --ramka-mocna: rgba(255, 255, 255, .18);
  --ramka-akcent: rgba(120, 160, 255, .8);
  --ok: #7adeb0;
  --blad: #e08d78;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tytul: Outfit, Manrope, system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Tło strony: grafika wypełnia pierwszy ekran (jak „cover”), przewija się razem ze stroną
   i od 70% wysokości ekranu płynnie przechodzi w jednolity kolor dolnej krawędzi grafiki. */
html {
  background-color: var(--tlo-strony);
  background-image: linear-gradient(to bottom, rgba(17, 24, 35, 0) 0, rgba(17, 24, 35, 0) 70vh, var(--tlo-strony) 100vh, var(--tlo-strony) 100%),
                    url("assets/tlo-strony.webp");
  background-size: 100% calc(100vh + 60vw), max(100vw, 182.9vh) max(54.7vw, 100vh);
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
}
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: transparent; color: var(--tekst); font-family: var(--font); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: #fff; }
input, select, textarea, button { font-family: inherit; }
select { appearance: none; -webkit-appearance: none; }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, .55); }
option { background: #213764; color: #eef1f8; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; color: var(--akcent-tekst); overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid rgba(120, 160, 255, .85); outline-offset: 2px; }

@keyframes glowSoft { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Kolumna treści - ta sama szerokość w nagłówku, treści i stopce */
.kolumna { width: 100%; max-width: 1340px; margin: 0 auto; padding-left: 36px; padding-right: 36px; }

/* ---------- Nagłówek ---------- */
.naglowek { position: relative; z-index: 2; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.naglowek__wnetrze { position: relative; z-index: 1; height: 132px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.naglowek__rezerwa { min-width: 0; }
/* Adresy powiadomień w nagłówku: opis, pod nim metki z adresami */
.naglowek .adresy { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.naglowek .adresy__opis { font-size: 15px; font-weight: 500; color: #fff; }
/* Suma kontaktów pod tytułem listy */
.suma-kontaktow { margin: 12px 0 0; font-size: 13px; color: #fff; }
.suma-kontaktow strong { font-weight: 800; }
.nawigacja { display: flex; align-items: center; gap: 22px; }
.nawigacja__link {
  font-size: 15px; font-weight: 600; color: #fff;
  padding: 10px 4px; border-bottom: 1px solid transparent; white-space: nowrap;
}
.nawigacja__link:hover, .nawigacja__link.jest-aktywny { color: #fff; border-bottom-color: rgba(255, 255, 255, .6); }

.logo { position: relative; width: 118px; height: 118px; display: flex; align-items: center; justify-content: center; flex: none; }
.logo__poswiata {
  position: absolute; inset: -14px; border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 185, 255, .4), rgba(150, 185, 255, 0) 68%);
  animation: glowSoft 6s ease-in-out infinite; pointer-events: none;
}
.logo__obwodka {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(214, 229, 255, .55);
  box-shadow: 0 0 24px rgba(160, 195, 255, .35), inset 0 0 18px rgba(160, 195, 255, .15);
}
.logo__kolo {
  position: absolute; inset: 9px; border-radius: 50%; background: #fff;
  box-shadow: 0 18px 42px rgba(4, 10, 24, .6);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.logo__kolo.logo__kolo--pelne { inset: 1px; }
/* Logo klienta ma wyglądać identycznie w nagłówku panelu, na ekranie logowania i w kafelku
   Centrum paneli. Dlatego rozmiar jest podany w procentach średnicy koła, a nie w pikselach. */
.logo__kolo img { width: 63%; height: auto; display: block; }
.logo__kolo img.logo-szerokie { width: 82%; }
.logo-podglad { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.logo-podglad .panel__opis { margin: 0; }
.logo__tekst { font-family: var(--font-tytul); font-weight: 600; font-size: 28px; color: #1d3159; }

.uzytkownik { display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-width: 0; }
.uzytkownik form { margin: 0; }
.uzytkownik__nazwa {
  font-size: 13.5px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.przycisk-wyloguj {
  font-size: 12.5px; font-weight: 600; color: #fff; background: transparent;
  border: 1px solid var(--ramka-mocna); border-radius: 999px; padding: 9px 17px; white-space: nowrap; cursor: pointer;
  transition: color .25s ease, background .25s ease;
}
.przycisk-wyloguj:hover, .przycisk-wyloguj.jest-aktywny { color: #1d3159; background: #fff; }
a.przycisk-wyloguj { display: inline-block; }

/* ---------- Treść ---------- */
.tresc { position: relative; z-index: 1; flex: 1; padding-top: 56px; padding-bottom: 84px; }

.pasek-tytulu {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  animation: rise .6s ease both;
}
.pasek-tytulu__tekst { min-width: 0; flex: 1 1 480px; }
.pasek-tytulu > .przyciski { flex: 0 0 auto; }
.pasek-tytulu--karta { margin-top: 18px; }
.tytul {
  font-family: var(--font-tytul); font-weight: 400; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08;
  margin: 0; letter-spacing: -.02em; color: var(--tekst); text-wrap: pretty; overflow-wrap: anywhere;
}
.tytul__wyroznienie { color: #fff; font-weight: 400; }
.podtytul { margin-top: 12px; font-size: 13px; color: var(--tekst-2); }
.podtytul strong { color: var(--tekst); font-weight: 800; }

.przyciski { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.przyciski form { margin: 0; }
.przycisk {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 700; line-height: 1.2; border-radius: 12px; cursor: pointer; white-space: nowrap;
  transition: border-color .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease, filter .25s ease;
}
.przycisk--obrys { color: var(--tekst); border: 1px solid rgba(255, 255, 255, .2); padding: 14px 22px; background: rgba(255, 255, 255, .05); }
.przycisk--obrys:hover { border-color: var(--ramka-akcent); color: #fff; background: rgba(91, 141, 255, .16); }
.przycisk--glowny { color: #fff; border: 0; padding: 15px 26px; background: var(--gradient); box-shadow: 0 16px 38px rgba(59, 109, 224, .34); }
.przycisk--glowny:hover { color: #fff; box-shadow: 0 20px 46px rgba(59, 109, 224, .55); }
.przycisk--maly { font-size: 13px; padding: 10px 16px; border-radius: 10px; }
.przycisk--pelny { width: 100%; }
.przycisk:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ---------- Adresy powiadomień (metki) ---------- */
.adresy { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: #fff; }
.adresy__lista { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.adresy__brak { font-weight: 700; }
.metka {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  padding: 3px 4px 3px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .07);
}
.metka__tekst { font-weight: 700; font-size: 13px; color: #fff; overflow-wrap: anywhere; }
.metka__olowek, .adresy__dodaj, .metka__przycisk {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0;
  border-radius: 50%; border: 1px solid transparent; background: transparent; color: #fff; cursor: pointer; font-family: inherit;
  transition: background .2s ease, border-color .2s ease;
}
.metka__olowek svg { width: 13px; height: 13px; }
.metka__olowek:hover, .metka__przycisk:hover { background: rgba(91, 141, 255, .3); }
.adresy__dodaj { width: 28px; height: 28px; border-color: rgba(255, 255, 255, .3); border-style: dashed; font-size: 17px; font-weight: 600; line-height: 1; }
.adresy__dodaj:hover { border-color: #fff; background: rgba(91, 141, 255, .25); }
.metka--edycja { padding: 2px 4px 2px 4px; border-color: rgba(120, 160, 255, .8); background: rgba(255, 255, 255, .1); }
.metka__pole {
  width: 230px; max-width: 58vw; height: 26px; padding: 0 10px; border: 0; border-radius: 999px; outline: none;
  background: transparent; color: #fff; font-family: inherit; font-size: 13px; font-weight: 700;
}
.metka__przycisk { font-size: 13px; font-weight: 800; }
.metka__przycisk svg { display: block; }
.metka__przycisk--ok { color: #9ff0bf; }
.metka__przycisk--ok:hover { background: rgba(60, 200, 120, .28); color: #fff; }
.metka__przycisk--usun { color: #f5cabf; }
.metka__przycisk--usun:hover { background: rgba(230, 90, 70, .32); color: #fff; }
.metka__przycisk:disabled { opacity: .5; cursor: default; }

/* ---------- Filtry ---------- */
.przelacznik-filtrow { margin-top: 34px; display: flex; align-items: center; gap: 18px; }
.przelacznik-filtrow::before, .przelacznik-filtrow::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.przelacznik-filtrow__przycisk {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .03); color: #fff;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transition: border-color .25s ease, background .25s ease;
}
.przelacznik-filtrow__przycisk:hover { border-color: rgba(120, 160, 255, .8); background: rgba(91, 141, 255, .14); }
.przelacznik-filtrow__przycisk svg { transition: transform .25s ease; }
.przelacznik-filtrow__przycisk[aria-expanded="true"] svg { transform: rotate(180deg); }

.filtry {
  margin-top: 16px; padding: 22px 24px; background: var(--karta); border: 1px solid var(--ramka); border-radius: 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; align-items: end;
}
.pole { display: flex; flex-direction: column; gap: 9px; min-width: 0; margin: 0; }
.pole--szerokie { grid-column: span 2; }
/* Pasek filtrów: pole oceny mieści „Wstępne zainteresowanie” w całości. */
@media (min-width: 1101px) {
  .filtry { grid-template-columns: minmax(0, 1.6fr) minmax(215px, 1.2fr) minmax(150px, 1fr) minmax(0, 2fr) minmax(120px, .8fr); }
  .filtry > .pole--szerokie { grid-column: auto; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .filtry { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filtry > .pole--ocena { grid-column: span 2; }
}
.pole--cala { grid-column: 1 / -1; }
.etykieta {
  font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--etykieta);
}
.kontrolka {
  height: 46px; width: 100%; border: 1px solid var(--ramka-pola); border-radius: 11px; padding: 0 15px;
  font-size: 14px; color: var(--tekst); background: rgba(255, 255, 255, .05); outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.kontrolka:focus { border-color: rgba(120, 160, 255, .85); background: rgba(255, 255, 255, .09); }
input[type="date"].kontrolka, input[type="datetime-local"].kontrolka { color-scheme: dark; padding-right: 10px; }
input[type="search"].kontrolka::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.kontrolka--strzalka {
  background-image: linear-gradient(45deg, transparent 50%, rgba(238, 241, 248, .6) 50%), linear-gradient(135deg, rgba(238, 241, 248, .6) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
  padding-right: 36px;
}
.kontrolka--obszar { height: auto; min-height: 110px; padding: 12px 15px; line-height: 1.5; resize: vertical; }
.zakres-dat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.przycisk-filtruj {
  height: 46px; border: 1px solid rgba(120, 160, 255, .45); border-radius: 11px; background: rgba(91, 141, 255, .2);
  color: var(--akcent-tekst); font-size: 14px; font-weight: 700; padding: 0 24px; cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.przycisk-filtruj:hover { background: rgba(91, 141, 255, .34); color: #fff; }
.filtry-info { margin-top: 18px; font-size: 13px; color: var(--tekst-2); }
.filtry-info strong { color: var(--tekst); font-weight: 800; }
.filtry-info a { margin-left: 10px; font-weight: 700; }

/* ---------- Lista i karta kontaktu ---------- */
.lista { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.lista__pusta {
  padding: 34px 28px; border: 1px dashed rgba(255, 255, 255, .16); border-radius: 18px;
  color: var(--tekst-2); font-size: 14px; text-align: center;
}
.karta {
  --akcent: #ffffff;
  position: relative; overflow: hidden; background: var(--karta); border: 1px solid var(--ramka); border-radius: 18px;
  padding: 26px 28px; display: grid;
  /* Czwarta kolumna (metka kanału) ma własne minimum - „Google Ads” i „Google SEO” muszą zmieścić się
     w jednym wierszu razem ze znakiem, a kolumna ma jeszcze 24 px wcięcia od kreski. */
  grid-template-columns: minmax(250px, 1.15fr) minmax(0, 1fr) minmax(0, 1fr) minmax(148px, .55fr) minmax(0, 1.45fr);
  gap: 22px 24px; align-items: stretch;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.karta:hover { transform: translateY(-3px); border-color: rgba(120, 160, 255, .45); box-shadow: 0 26px 60px rgba(3, 8, 20, .5); }
.karta__pasek { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--akcent); transition: background .25s ease; }
.karta__osoba, .karta__kontakt, .karta__zrodlo, .karta__platforma { min-width: 0; }
.karta > .karta__kontakt, .karta > .karta__zrodlo, .karta > .karta__platforma, .karta > .notatka, .karta > .karta__akcje {
  border-left: 1px solid rgba(255, 255, 255, .09); padding-left: 24px;
}
.karta__kontakt, .karta__zrodlo, .karta__platforma { padding-top: 2px; }
/* Platforma na środku swojej kolumny - równy odstęp od obu cienkich kresek. */
.karta__platforma { display: flex; justify-content: center; align-items: flex-start; }
.platforma {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px 5px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05);
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
}
.platforma img { display: block; height: 15px; width: auto; }
/* Nazwy kanałów bywają długie („Wejście bezpośrednie”) - niech łamią się na dwa wiersze zamiast wystawać poza kolumnę. */
.platforma--kanal {
  /* „Google Ads” i „Google SEO” mają zostać w jednym wierszu na każdej szerokości ekranu, także na telefonie.
     Metka jest elementem flexa kolumny - bez width: max-content kurczy się i łamie napis bez potrzeby. */
  width: max-content; max-width: 100%; padding: 5px 10px; gap: 5px; font-size: 12px;
  white-space: nowrap; flex-wrap: nowrap; justify-content: center; text-align: center; border-radius: 999px;
}
.platforma--kanal > span { min-width: 0; white-space: nowrap; }
.platforma--kanal img { height: 13px; max-width: 100%; }
/* Kontakt z formularza: adres zgłoszenia i ewentualny dopisek jeden pod drugim, wyśrodkowane w kolumnie. */
.platforma-adres { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; max-width: 100%; }
.platforma__dopisek { font-size: 11.5px; line-height: 1.3; color: var(--tekst-2); white-space: nowrap; }
/* Kontakt z formularza: w tej kolumnie jest cały adres zgłoszenia („sodofactory.pl/kontakt”).
   Długie adresy łamią się na kilka linii (decyzja Kamila 22.09.2026) - cały adres ma być widoczny,
   dlatego też łagodniejsze narożniki niż w pozostałych metkach, które zawsze są jednoliniowe. */
.platforma--sciezka {
  display: block; width: max-content; max-width: 100%; padding: 6px 11px; font-size: 11px;
  white-space: normal; overflow-wrap: anywhere; line-height: 1.45; text-align: left; border-radius: 12px;
}
.platforma__znak { width: 14px; height: 14px; flex: 0 0 auto; opacity: .9; }
.platforma--fb img { height: 14px; }
.karta .etykieta + .platforma { margin-top: 10px; }
.karta--konto { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.3fr); }
.karta > .karta__haslo { border-left: 1px solid rgba(255, 255, 255, .09); padding-left: 24px; padding-top: 2px; min-width: 0; }
.karta__haslo .wygaszony { font-weight: 500; }
.haslo-konta { font-size: 14px; font-weight: 700; color: #fff; user-select: all; overflow-wrap: anywhere; }
.karta__nazwa { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--tekst); overflow-wrap: anywhere; }
a.karta__nazwa:hover { color: var(--link); }
.karta__dopisek { margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 1.4; color: #fff; overflow-wrap: anywhere; }
.karta__data { font-size: 12.5px; color: var(--tekst-2); margin-top: 6px; }
.metka-nowy {
  display: inline-block; margin-left: 8px; padding: 1px 7px 0; vertical-align: 1px;
  font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
  color: #a8c4ff; border: 1px solid rgba(140, 178, 255, .5); border-radius: 999px; background: rgba(91, 141, 255, .16);
}
[data-wyniki] { transition: opacity .15s ease; }
[data-wyniki].jest-ladowana { opacity: .55; }
/* Numer telefonu: na komputerze klikniecie kopiuje numer (ikona obok), na dotyku dzwoni jak dotad. */
.karta__telefon { display: flex; align-items: center; gap: 7px; max-width: 100%; font-size: 16px; font-weight: 700; color: var(--tekst); }
.karta__telefon > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.karta__telefon .ikona-kopiuj { width: 14px; height: 14px; flex: 0 0 auto; color: #8fb2ff; opacity: .75; transition: opacity .15s ease; }
.karta__telefon:hover { color: var(--link); }
.karta__telefon:hover .ikona-kopiuj { opacity: 1; }
.karta__telefon.jest-skopiowany { color: #8fe0a8; }
.karta__telefon.jest-skopiowany .ikona-kopiuj { color: #8fe0a8; opacity: 1; }
/* Dotyk (telefon, tablet): bez ikony kopiowania - dotkniecie numeru ma dzwonic, nie kopiowac. */
@media (hover: none), (pointer: coarse) {
  .karta__telefon .ikona-kopiuj { display: none; }
}
/* Adres e-mail jest przyciskiem kopiującym do schowka - nie odnośnikiem otwierającym pocztę. */
.karta__email {
  display: flex; align-items: center; gap: 7px; margin-top: 7px; padding: 0; max-width: 100%;
  font: inherit; font-size: 13.5px; color: #fff; text-align: left;
  background: none; border: 0; cursor: pointer;
}
.karta__email > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.karta__email .ikona-kopiuj { width: 14px; height: 14px; flex: 0 0 auto; color: #8fb2ff; opacity: .75; transition: opacity .15s ease; }
.karta__email:hover { color: var(--link); }
.karta__email:hover .ikona-kopiuj { opacity: 1; }
.karta__email.jest-skopiowany { color: #8fe0a8; }
.karta__email.jest-skopiowany .ikona-kopiuj { color: #8fe0a8; opacity: 1; }
.karta__brak { display: block; font-size: 14px; color: var(--wygaszony); }
.karta__wartosc { font-size: 14px; font-weight: 700; margin-top: 9px; }
.karta .etykieta + .karta__telefon, .karta .etykieta + .zrodlo__logo, .karta .etykieta + .zrodlo__nazwa { margin-top: 10px; }
.karta__akcje { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; align-items: center; }
.karta__akcje form { margin: 0; }
.karta--wylaczona { opacity: .62; }

.zrodlo__logo { display: block; height: 13px; width: auto; }
.zrodlo__nazwa { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
/* Globus w tym samym błękicie co odpowiedzi z formularza w notatce - odróżnia się od białej nazwy. */
.zrodlo__ikona { width: 17px; height: 17px; flex: 0 0 auto; color: #8fb2ff; }
.lista-prosta .zrodlo__ikona { vertical-align: -4px; margin-right: 5px; }
.zrodlo__kampania { margin-top: 7px; font-size: 12.5px; line-height: 1.5; color: var(--tekst-2); overflow-wrap: anywhere; }

/* Pigułka oceny */
.pigulka { position: relative; display: inline-flex; max-width: 100%; margin-top: 14px; }
.karta .etykieta + .pigulka { margin-top: 10px; }
.pigulka__przycisk {
  position: relative; display: inline-flex; align-items: center; gap: 9px; max-width: 100%; cursor: pointer;
  padding: 8px 32px 8px 13px; border-radius: 999px; text-align: left;
  border: 1px solid var(--akcent); background: rgba(255, 255, 255, .05); color: var(--akcent);
  font: inherit; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.pigulka__przycisk:hover { background: rgba(255, 255, 255, .09); }
.pigulka__przycisk:focus-visible { outline: 2px solid var(--akcent); outline-offset: 2px; }
/* Kropka w kolorze oceny - w pigułce bierze kolor karty, w liście ma własny. */
.pigulka__kropka { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--kropka, var(--akcent)); }
/* Nazwa oceny może się złamać na dwa wiersze, żeby nic nie było ucięte. */
.pigulka__etykieta { min-width: 0; overflow-wrap: anywhere; }
.pigulka__strzalka { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-size: 9px; pointer-events: none; }
/* Ukryty nośnik wartości - zapis oceny idzie przez jego zdarzenie „change”. */
.pigulka__wybor { display: none; }
/* Własna lista wyboru oceny. Wędruje do <body>, żeby nie przycinała jej karta. */
.pigulka__lista {
  position: fixed; z-index: 60; display: flex; flex-direction: column; gap: 2px; padding: 7px;
  min-width: 250px; max-width: min(340px, calc(100vw - 24px));
  background: #16274c; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  box-shadow: 0 22px 46px rgba(3, 8, 20, .6);
}
.pigulka__lista[hidden] { display: none; }
.pigulka__opcja {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 16px;
  border: 0; border-radius: 11px; background: none; color: #eef1f8; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.35; text-align: left;
  transition: background .15s ease;
}
.pigulka__opcja-tekst { min-width: 0; }
.pigulka__opcja:hover, .pigulka__opcja:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }
.pigulka__opcja.jest-wybrana { background: rgba(255, 255, 255, .07); }
.pigulka__opcja .pigulka__kropka { width: 10px; height: 10px; }
.pigulka.jest-zapisywana { opacity: .6; }

/* Notatka */
.notatka { min-width: 0; display: flex; gap: 10px; align-items: flex-start; }
.notatka__kolumna { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.notatka__etykieta { font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.notatka__tekst {
  font-size: 14px; line-height: 1.55; color: #fff; min-height: 22px;
  text-wrap: pretty; white-space: pre-line; overflow-wrap: anywhere;
}
.notatka__tekst--pusta { color: var(--wygaszony); }
.notatka__edycja { display: flex; flex-direction: column; gap: 10px; }
.notatka.ma-odpowiedzi:not(.ma-notatke) [data-podglad] { display: none; }
.notatka__odpowiedzi {
  margin: 2px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-direction: column; gap: 9px;
}
.notatka.ma-odpowiedzi:not(.ma-notatke):not(.jest-edytowana) .notatka__odpowiedzi { margin-top: 0; padding-top: 0; border-top: 0; }
.notatka__odpowiedz dt { font-size: 13.5px; font-weight: 400; line-height: 1.45; color: #fff; }
.notatka__odpowiedz dd { margin: 1px 0 0; font-size: 13.5px; line-height: 1.45; font-weight: 700; color: #8fb2ff; overflow-wrap: anywhere; }
.notatka__pole {
  min-height: 80px; width: 100%; border: 1px solid rgba(120, 160, 255, .7); border-radius: 11px; padding: 12px 14px;
  font-size: 14px; line-height: 1.5; color: var(--tekst); background: rgba(255, 255, 255, .09); resize: vertical; outline: none;
}
.notatka__akcje { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.przycisk-zapisz {
  border: 0; border-radius: 9px; background: var(--gradient); color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 20px; cursor: pointer; transition: filter .25s ease;
}
.przycisk-zapisz:hover { filter: brightness(1.12); }
.przycisk-zapisz:disabled { opacity: .6; cursor: progress; }
.przycisk-anuluj {
  border: 1px solid var(--ramka-mocna); border-radius: 9px; background: transparent; color: #fff;
  font-size: 13px; font-weight: 600; padding: 10px 16px; cursor: pointer; transition: color .25s ease, border-color .25s ease;
}
.przycisk-anuluj:hover { color: #fff; }
.przycisk-olowek {
  flex: none; width: 38px; height: 38px; margin-top: 22px; padding: 0; cursor: pointer;
  border: 1px solid var(--ramka-mocna); border-radius: 11px; background: rgba(255, 255, 255, .05); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.przycisk-olowek:hover { border-color: var(--ramka-akcent); color: #fff; background: rgba(91, 141, 255, .18); }

/* ---------- Stronicowanie ---------- */
.stronicowanie { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.stronicowanie__info { font-size: 13px; color: #fff; }
.stronicowanie__przyciski { display: flex; gap: 10px; }
.przycisk-strona {
  font-size: 13px; font-weight: 700; color: var(--tekst); border: 1px solid var(--ramka-mocna); border-radius: 10px; padding: 11px 17px;
  transition: border-color .25s ease, color .25s ease;
}
a.przycisk-strona:hover { border-color: var(--ramka-akcent); color: var(--link); }
.przycisk-strona--nieaktywny { color: #fff; border-color: var(--ramka); cursor: default; opacity: .55; }

/* ---------- Pozostałe ekrany ---------- */
.link-wstecz { display: inline-block; font-size: 13px; font-weight: 700; color: var(--link); }
.link-wstecz:hover { color: #fff; }
.panel {
  margin-top: 14px; background: var(--karta); border: 1px solid var(--ramka); border-radius: 18px; padding: 26px 28px; min-width: 0;
}
.pasek-tytulu + .panel, .pasek-tytulu + .karta, .zakladki + .panel, .zakladki + .siatka-kart, .komunikat + .panel { margin-top: 30px; }
.panel--odstep { margin-top: 30px; }
.panel--uwaga { border-color: rgba(230, 201, 138, .45); }
.panel--haslo { margin-top: 30px; border-color: rgba(122, 222, 176, .45); }
.panel__tytul { margin: 0 0 16px; font-family: var(--font-tytul); font-weight: 500; font-size: 21px; letter-spacing: -.01em; color: #fff; }
.panel__opis { margin: -8px 0 18px; font-size: 13.5px; line-height: 1.55; color: #fff; }
.karta--szczegoly { margin-top: 30px; }
.siatka-kart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.siatka-kart > .panel { margin-top: 0; }

.formularz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin: 0; }
.formularz--jedna { grid-template-columns: minmax(0, 1fr); }
.formularz--wiersz { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-top: 18px; }
.formularz--odstep, .tabela-przewijana.formularz--odstep { margin-top: 20px; }
.formularz__akcje { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 4px; }
.formularz__osobno { margin: 16px 0 0; }
.przyciski--akcje { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--ramka); }
.przelacznik { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; cursor: pointer; }
.przelacznik input { width: 18px; height: 18px; accent-color: #5b8dff; margin: 0; }

.zakladki { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.zakladka {
  font-size: 13px; font-weight: 700; color: #fff; border: 1px solid var(--ramka-pola);
  border-radius: 999px; padding: 10px 18px; transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.zakladka:hover { color: #fff; border-color: var(--ramka-akcent); }
.zakladka.jest-aktywna { color: #fff; border-color: rgba(120, 160, 255, .7); background: rgba(91, 141, 255, .2); }

.dane { margin: 0; display: flex; flex-direction: column; }
.dane__wiersz { display: grid; grid-template-columns: minmax(120px, 36%) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.dane__wiersz:first-child { border-top: 0; padding-top: 0; }
.dane dt { font-size: 12.5px; color: var(--tekst-2); }
.dane dd { margin: 0; font-size: 14px; color: #fff; overflow-wrap: anywhere; white-space: pre-line; }

.historia { list-style: none; margin: 0; padding: 0; }
.historia__wpis { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.historia__wpis:first-child { border-top: 0; padding-top: 0; }
.historia__tresc { font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.historia__kiedy { margin-top: 4px; font-size: 12px; color: var(--tekst-2); }

.lista-prosta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.wygaszony { color: var(--tekst-2); font-size: 12.5px; }
.kod-do-skopiowania { margin: 0 0 16px; padding: 12px 14px; border-radius: 11px; background: rgba(0, 0, 0, .18); border: 1px solid var(--ramka); }

.znacznik {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; background: transparent; line-height: 1.3;
}
.znacznik--ok { color: var(--ok); }
.znacznik--blad { color: var(--blad); }
.znacznik--przycisk { cursor: pointer; font-family: inherit; }

.tabela-przewijana { overflow-x: auto; margin: 0 -4px; }
.tabela { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabela th {
  text-align: left; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--etykieta);
  padding: 0 12px 12px 4px; white-space: nowrap;
}
.tabela td { padding: 12px 12px 12px 4px; border-top: 1px solid rgba(255, 255, 255, .07); vertical-align: top; }
.tabela td form { margin: 0; }
.tabela__opis { color: #fff; font-size: 12.5px; max-width: 420px; overflow-wrap: anywhere; }

.komunikat { margin-top: 24px; border-radius: 12px; padding: 14px 18px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.komunikat--ok { border-color: rgba(122, 222, 176, .45); background: rgba(122, 222, 176, .08); color: #c4f0dc; }
.komunikat--blad { border-color: rgba(224, 141, 120, .5); background: rgba(224, 141, 120, .1); color: #f5cabf; }
.tresc > .komunikat:first-child { margin-top: 0; margin-bottom: 24px; }

/* ---------- Logowanie ---------- */
.logowanie { flex: 1; display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.logowanie__okno { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: stretch; animation: rise .6s ease both; }
.logowanie__okno--szerokie { max-width: 720px; }
.logo--logowanie { align-self: center; margin-bottom: 34px; }
.tytul--logowanie { text-align: center; font-size: clamp(30px, 3vw, 38px); }
.podtytul--srodek { text-align: center; margin-bottom: 8px; }
.logowanie__formularz { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.logowanie__okno .komunikat { margin-top: 18px; }

/* ---------- Ekran logowania - w stylu logowania Brand Perspective ---------- */
body.ekran-logowania {
  background: #050a14; color: #fff; font-family: "Inter Tight", Helvetica, Arial, sans-serif;
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center;
}
.log-warstwa { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.log-tlo {
  background-image: url("assets/logowanie-tlo.webp"); background-size: cover; background-position: center;
  animation: bpLogDrift 20s ease-in-out infinite; will-change: transform;
}
.log-winieta { background: radial-gradient(120% 90% at 70% 35%, rgba(10, 60, 140, 0) 0%, rgba(3, 8, 18, .45) 60%, rgba(2, 5, 12, .82) 100%); }
.log-orb-a {
  inset: auto; top: 18%; left: 62%; width: 46vw; height: 46vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 130, 255, .20) 0%, rgba(40, 130, 255, 0) 68%);
  filter: blur(30px); animation: bpLogFloatA 15s ease-in-out infinite;
}
.log-orb-b {
  inset: auto; top: 45%; left: 8%; width: 38vw; height: 38vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 180, 190, .14) 0%, rgba(20, 180, 190, 0) 70%);
  filter: blur(36px); animation: bpLogFloatB 18s ease-in-out infinite;
}
.log-czastki { width: 100%; height: 100%; }

.log-kolumna {
  position: relative; z-index: 1; flex: 1; width: min(440px, calc(100% - 48px));
  padding: clamp(28px, 6vh, 64px) 0 clamp(20px, 4vh, 40px);
  display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.4vh, 28px);
  animation: bpLogRise .9s cubic-bezier(.16, 1, .3, 1) both;
}
.log-logo-bp { position: relative; display: flex; justify-content: center; }
.log-logo-bp::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 340px; height: 170px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(130, 195, 255, .30) 0%, rgba(90, 160, 255, .10) 45%, rgba(90, 160, 255, 0) 72%);
  filter: blur(22px); animation: bpLogAura 6.5s ease-in-out infinite; pointer-events: none;
}
.log-logo-bp img { position: relative; display: block; width: 300px; max-width: 78%; height: auto; animation: bpLogGlow 6.5s ease-in-out infinite; }

.log-linia { height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .32) 20%, rgba(255, 255, 255, .32) 80%, rgba(255, 255, 255, 0)); }

.log-powitanie { display: flex; align-items: center; gap: 20px; }
.log-klient { position: relative; flex: none; width: 88px; height: 88px; }
.log-klient__obwodka {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(214, 229, 255, .55);
  box-shadow: 0 0 24px rgba(160, 195, 255, .35), inset 0 0 18px rgba(160, 195, 255, .15);
}
.log-klient__kolo {
  position: absolute; inset: 7px; border-radius: 50%; background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(0, 0, 0, .55);
}
.log-klient__kolo.log-klient__kolo--pelne { inset: 1px; }
.log-klient__kolo img { width: 63%; height: auto; display: block; }
.log-klient__kolo img.logo-szerokie { width: 82%; }
.log-klient__kolo .logo__tekst { font-size: 22px; }
.log-powitanie__tekst { min-width: 0; }
.log-powitanie h1 { margin: 0; font-family: var(--font-tytul); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.log-powitanie p { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: #fff; }

.log-karta {
  margin: 0; padding: clamp(24px, 4.5vh, 36px) 34px clamp(22px, 4vh, 32px); border-radius: 20px;
  background: linear-gradient(160deg, rgba(14, 26, 48, .86) 0%, rgba(7, 15, 30, .90) 100%);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .16);
  display: flex; flex-direction: column; gap: 22px;
}
/* Pływające etykiety - wzorzec formularzy Brand Perspective: etykieta w polu, po kliknięciu siada na konturze. */
.log-pole { position: relative; }
.log-pole input {
  width: 100%; height: 56px; margin: 0; padding: 16px 16px 0 16px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .22);
  background: #0a1426; color: #fff; font-family: inherit; font-size: 17px; line-height: normal;
  outline: none; box-shadow: none; transition: border-color .15s ease;
}
.log-pole input:focus { border-color: rgba(140, 200, 255, .85); }
.log-pole label {
  position: absolute; left: 11px; top: 16px; padding: 0 6px; border-radius: 4px;
  font-size: 17px; line-height: 24px; font-weight: 500; color: #fff; background: #0a1426;
  pointer-events: none; transform-origin: left center; transition: transform .15s ease, top .15s ease;
}
.log-pole input { padding-top: 0; }
.log-pole input:focus + label,
.log-pole input:not(:placeholder-shown) + label { transform: translateY(-28px) scale(.8); }
.log-pole input:-webkit-autofill + label { transform: translateY(-28px) scale(.8); }
.log-pole input:-webkit-autofill, .log-pole input:-webkit-autofill:hover, .log-pole input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff; caret-color: #fff; -webkit-box-shadow: 0 0 0 40px #0a1426 inset; transition: background-color 9999s ease-in-out 0s;
}
.log-pole input:-webkit-autofill::first-line { font-family: "Inter Tight", Helvetica, Arial, sans-serif; font-size: 17px; font-weight: 400; color: #fff; }
.log-pole--haslo input { padding-right: 84px; }
.log-pokaz {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 36px; min-width: 62px; padding: 0 10px;
  border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s ease;
}
.log-pokaz:hover, .log-pokaz:focus-visible { background: rgba(255, 255, 255, .08); }
.log-zaloguj {
  width: 100%; height: 52px; margin: 2px 0 0; border: 0; border-radius: 11px; cursor: pointer;
  background: linear-gradient(180deg, #3d8bff 0%, #2563eb 100%); color: #fff;
  font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 12px 28px -10px rgba(37, 99, 235, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .18s ease, box-shadow .25s ease, filter .25s ease;
}
a.log-zaloguj.log-zaloguj--odnosnik {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  text-decoration: none; color: #fff;
}
.log-zaloguj:hover { filter: brightness(1.08); box-shadow: 0 16px 36px -10px rgba(37, 99, 235, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.log-zaloguj:active { transform: translateY(1px); }
/* Konto klienta: pole + przycisk w jednej linii, kolumna akcji wyrównana do prawej. */
.karta--konto .karta__akcje { flex-direction: column; align-items: stretch; }
.karta--konto .karta__akcje > form { display: flex; justify-content: flex-end; }
.zmiana-loginu, .zmiana-hasla { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.zmiana-loginu .przycisk, .zmiana-hasla .przycisk { flex: none; }
.kontrolka--maly { padding: 8px 12px; font-size: 13px; min-width: 0; flex: 1 1 180px; }
.log-pomoc { margin: 16px 0 0; text-align: center; font-size: 14.5px; color: #fff; }
.log-pomoc a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.log-pomoc a:hover { text-decoration-color: #fff; }
.log-komunikat {
  padding: 14px 18px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .16); font-size: 16px; line-height: 1.55; color: #fff;
  background: linear-gradient(160deg, rgba(14, 26, 48, .96) 0%, rgba(7, 15, 30, .97) 100%);
}
.log-komunikat--blad { background: linear-gradient(160deg, rgba(78, 22, 26, .96) 0%, rgba(52, 12, 16, .97) 100%); border-color: rgba(255, 120, 120, .38); color: #fff; }

.log-stopka {
  position: relative; z-index: 1; width: 100%; padding: 16px 24px 22px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; font-size: 13px; color: #fff; text-align: center;
}
.log-stopka a, .stopka__podpis a { white-space: nowrap; }
.log-stopka a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.log-stopka a:hover { text-decoration-color: #fff; }

@keyframes bpLogDrift { 0%, 100% { transform: scale(1.12) translate3d(0, 0, 0); } 50% { transform: scale(1.2) translate3d(-2.5%, -1.5%, 0); } }
@keyframes bpLogGlow {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(120, 190, 255, .35)) drop-shadow(0 0 46px rgba(60, 130, 255, .18)); opacity: .94; }
  50% { filter: drop-shadow(0 0 30px rgba(160, 215, 255, .65)) drop-shadow(0 0 90px rgba(70, 150, 255, .42)); opacity: 1; }
}
@keyframes bpLogAura { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .5; } 50% { transform: translate(-50%, -50%) scale(1.18); opacity: .85; } }
@keyframes bpLogFloatA { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vw, -5vh, 0) scale(1.25); } }
@keyframes bpLogFloatB { 0%, 100% { transform: translate3d(0, 0, 0) scale(1.1); } 50% { transform: translate3d(-7vw, 6vh, 0) scale(.9); } }
@keyframes bpLogRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Telefony: grafika tła w naturalnej skali u góry (cover rozciągał ją na całą wysokość
   i przy pasku adresu potrafiła skakać), niżej płynne przejście w ciemne tło ekranu. */
@media (max-width: 700px) {
  .log-tlo {
    background-size: 200% auto; background-position: center top; background-repeat: no-repeat;
    animation: none; will-change: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0, 0, 0, 0) 70%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0, 0, 0, 0) 70%);
  }
  .log-winieta { background: radial-gradient(130% 70% at 50% 18%, rgba(10, 60, 140, 0) 0%, rgba(3, 8, 18, .35) 55%, rgba(2, 5, 12, .75) 100%); }
}
@media (max-width: 480px) {
  .log-stopka a, .stopka__podpis a { display: block; }
  .log-karta { padding-left: 22px; padding-right: 22px; }
  .log-powitanie { gap: 14px; }
  .log-klient { width: 72px; height: 72px; }
  .log-klient__kolo { inset: 6px; }
  .log-powitanie h1 { font-size: 24px; }
  .log-powitanie p { font-size: 15px; }
}

/* ---------- Centrum paneli (panel.brandperspective.pl/) ---------- */
.log-klient__kolo--bp { background: #182a4f; }
.log-klient__kolo.log-klient__kolo--bp img { width: 100%; height: 100%; object-fit: cover; }
.centrum-logo { display: flex; align-items: center; justify-content: center; }
.centrum-logo img { display: block; width: 220px; max-width: 42vw; height: auto; }
.centrum-zalogowany { font-size: 13.5px; color: #fff; }
.centrum-kafelki { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; margin-top: 30px; }
.kafelek {
  display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 24px 24px 20px; border-radius: 18px;
  background: var(--karta); border: 1px solid var(--ramka); color: #fff;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.kafelek:hover, .kafelek:focus-visible { color: #fff; border-color: var(--ramka-akcent); transform: translateY(-3px); box-shadow: 0 22px 46px rgba(4, 10, 24, .55); background: #243d6e; }
.kafelek__gora { display: flex; align-items: center; gap: 16px; min-width: 0; }
.kafelek__logo {
  flex: none; width: 76px; height: 76px; border-radius: 50%; background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px rgba(214, 229, 255, .45), 0 12px 28px rgba(4, 10, 24, .5);
}
.kafelek__logo img { width: 63%; height: auto; display: block; }
.kafelek__logo img.logo-szerokie { width: 82%; }
.kafelek__logo .logo__tekst { font-size: 22px; }
.kafelek__nazwa { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kafelek__nazwa strong { font-family: var(--font-tytul); font-weight: 500; font-size: 21px; line-height: 1.15; overflow-wrap: anywhere; }
.kafelek__nazwa span { font-size: 12.5px; color: #fff; }
.kafelek__liczby { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.kafelek__liczby > span { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #fff; }
.kafelek__liczby strong { font-family: var(--font-tytul); font-weight: 500; font-size: 26px; line-height: 1.1; color: #fff; }
.kafelek__stan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; font-size: 12.5px; }
.kafelek__uwaga { font-size: 13.5px; color: var(--blad); }
.kafelek__dol { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 700; color: var(--akcent-tekst); }
.kafelek:hover .kafelek__dol { color: #fff; }
@media (max-width: 720px) {
  .ekran-centrum .naglowek__wnetrze { grid-template-columns: 1fr auto; height: auto; padding-top: 18px; padding-bottom: 18px; }
  .ekran-centrum .naglowek__rezerwa { display: none; }
  .centrum-logo { justify-content: flex-start; }
}

/* ---------- Stopka ---------- */
.stopka { position: relative; z-index: 1; background: var(--tlo-naglowka); border-top: 1px solid rgba(255, 255, 255, .08); }
.stopka__wnetrze { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.stopka__podpis { font-size: 12.5px; color: #fff; }
.stopka__podpis a { color: #fff; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; transition: text-decoration-color .25s ease; }
.stopka__podpis a:hover { color: #fff; text-decoration-color: #fff; }
.stopka__wersja { font-size: 12.5px; color: #fff; }

/* Dymek z informacją o zapisie */
.dymek {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px);
  background: #2a4175; border: 1px solid var(--ramka-mocna); color: var(--tekst); padding: 12px 18px; border-radius: 12px;
  font-size: 13.5px; box-shadow: 0 18px 42px rgba(4, 10, 24, .6);
}
.dymek--blad { border-color: rgba(224, 141, 120, .6); }

/* ---------- Węższe ekrany ---------- */
@media (max-width: 1100px) {
  .karta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .karta > .karta__kontakt, .karta > .karta__zrodlo, .karta > .karta__platforma, .karta > .notatka, .karta > .karta__akcje, .karta > .karta__haslo { border-left: 0; padding-left: 0; }
  .karta__platforma { justify-content: flex-start; }
  .platforma-adres { align-items: flex-start; }
  .karta__akcje { justify-content: flex-start; }
}
@media (max-width: 860px) {
  .siatka-kart { grid-template-columns: minmax(0, 1fr); }
  .naglowek__wnetrze { grid-template-columns: auto 1fr; height: auto; padding-top: 16px; padding-bottom: 16px; row-gap: 12px; }
  .naglowek__rezerwa { grid-column: 1 / -1; text-align: center; order: 3; }
  .naglowek .adresy { align-items: center; }
  .uzytkownik { gap: 12px; }
}
@media (max-width: 700px) {
  .kolumna { padding-left: 16px; padding-right: 16px; }
  .naglowek__wnetrze { grid-template-columns: 1fr; justify-items: center; padding-top: 14px; }
  /* Wyloguj (i Ustawienia) w prawym górnym rogu - logo zostaje na środku. */
  .uzytkownik { position: absolute; top: 14px; right: 16px; z-index: 2; flex-direction: column; align-items: flex-end; gap: 8px; }
  .uzytkownik .przycisk-wyloguj { font-size: 12px; padding: 7px 14px; }
  .nawigacja { gap: 16px; }
  .nawigacja__link { font-size: 14px; }
  .logo { width: 96px; height: 96px; }
  .logo__kolo { inset: 8px; }
  .logo__kolo img { width: 58px; }
  .logo__kolo img.logo-szerokie { width: 80px; }
  .tresc { padding-top: 36px; padding-bottom: 56px; }
  .pasek-tytulu { align-items: stretch; }
  .przyciski { width: 100%; }
  .przyciski > .przycisk, .przyciski > form { flex: 1 1 auto; }
  .przyciski > form .przycisk { width: 100%; }
  .filtry { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .pole--szerokie { grid-column: auto; }
  .karta { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 18px; }
  .karta:hover { transform: none; }
  .panel { padding: 22px 20px; }
  .formularz, .formularz--wiersz { grid-template-columns: minmax(0, 1fr); }
  .dane__wiersz { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .stronicowanie { flex-direction: column; align-items: stretch; }
  .stronicowanie__przyciski > * { flex: 1; text-align: center; }
}

/* Test powiadomienia: pole adresu obok przycisku */
.formularz__osobno { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.pole--test-maila { flex: 1 1 280px; max-width: 420px; margin: 0; }
.pole__rzad { display: flex; gap: 10px; }
.pole__rzad .kontrolka:first-child { flex: 0 0 110px; }
.kod-do-skopiowania code { word-break: break-all; }
