/*
 * Panel gabinetu. Język wizualny poprzedniego panelu: ciemna szyna z zakładkami po lewej,
 * jasne tło, białe karty, przyciski w kształcie pigułek. Komponenty formularzy (pole, przycisk,
 * szuflada, komunikat) pochodzą z kalendarz.css, żeby kalendarz i panel wyglądały tak samo.
 */
:root {
  --floor: #edefec;
  --floor-2: #e2e5e1;
  --paper: #ffffff;
  --ink: #14171a;
  --hair: rgba(20, 23, 26, 0.12);
  --hair-2: rgba(20, 23, 26, 0.22);
  --rail: 252px;
  --r-sm: 10px;
  --cien: 0 1px 0 rgba(20, 23, 26, 0.04), 0 18px 32px -30px rgba(20, 23, 26, 0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
body[data-app='panel'] { background: var(--floor); }

/* ── Pasek demo ───────────────────────────────────────────────────── */
.p-demo { position: relative; display: flex; justify-content: center; padding: 9px 52px 9px 20px; background: var(--ink); color: #cfd3d6; font-size: 0.85rem; text-align: center; }
.p-demo strong { color: #fff; }
.p-demo__pc { display: none; color: #f2b705; font-weight: 700; }
@media (max-width: 900px) { .p-demo__pc { display: inline; } }
.p-demo__x { position: absolute; right: 10px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #cfd3d6; font-size: 1.2rem; cursor: pointer; }
.p-demo__x:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* ── Szkielet ─────────────────────────────────────────────────────── */
.p-app { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); min-height: 100vh; }
.p-rail { grid-row: 1 / -1; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 18px 14px; background: var(--ink); color: #cfd3d6; scrollbar-width: thin; scrollbar-color: #3a4147 transparent; }
.p-rail :focus-visible { outline-color: #fff; }
.p-rail__marka { display: flex; align-items: center; gap: 10px; padding: 6px 8px; font-family: var(--f-display); font-weight: 900; font-size: 1.1rem; color: #fff; text-decoration: none; }
.p-rail__marka svg { width: 24px; height: 24px; flex: none; }
.p-rail__marka path { fill: none; stroke-width: 3.6; stroke-linecap: round; }
.p-rail__lista { display: grid; gap: 2px; }
.p-rail__lista ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.p-rail__grupa { margin: 12px 12px 4px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8f959b; }
.p-rail__btn { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); color: #cfd3d6; text-decoration: none; font-weight: 500; transition: background-color 0.2s, color 0.2s; }
.p-rail__btn:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.p-rail__btn[aria-current='page'] { background: rgba(255, 255, 255, 0.13); color: #fff; font-weight: 700; }
.p-rail__btn .p-ik { width: 19px; height: 19px; flex: none; }
.p-rail__odznaka { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 0.75rem; font-style: normal; text-align: center; }
.p-rail__odznaka--szkic { background: #f2b705; color: var(--ink); }
.p-rail__stopka { margin-top: auto; display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.p-pakiet { display: grid; gap: 6px; font-size: 0.78rem; color: #8f959b; padding: 0 6px; }
.p-pakiet__przel { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.p-pakiet__przel button { flex: 1; border: 0; background: transparent; color: #cfd3d6; padding: 6px 8px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; cursor: pointer; }
.p-pakiet__przel button[aria-pressed='true'] { background: #fff; color: var(--ink); }
.p-kto { display: flex; align-items: center; gap: 10px; padding: 4px 6px; font-size: 0.86rem; color: #fff; }
.p-kto em { display: block; font-style: normal; color: #8f959b; font-size: 0.78rem; }
.p-awatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 0.8rem; }

.p-ik { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── Górny pasek ──────────────────────────────────────────────────── */
.p-top { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 14px; padding: 12px clamp(16px, 2.4vw, 28px); background: rgba(237, 239, 236, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.p-top__menu { display: none; place-items: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--hair-2); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
.p-top__menu svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; }
.p-top__tytul { min-width: 0; }
.p-top__tytul h1 { font-size: 1.35rem; font-weight: 800; }
.p-top__tytul p { font-size: 0.84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52ch; }
.p-szukaj { position: relative; display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 0 14px; width: min(340px, 34vw); height: 42px; border: 1px solid var(--hair-2); border-radius: 999px; background: #fff; color: var(--muted); }
.p-szukaj:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.p-szukaj svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.p-szukaj input { width: 100%; border: 0; background: transparent; color: var(--fg); outline: none; min-width: 0; }
.p-szukaj__wyniki { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; max-height: 70vh; overflow-y: auto; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -24px rgba(20, 23, 26, 0.6), 0 0 0 1px var(--hair); list-style: none; margin: 0; }
.p-szukaj__wyniki button { display: grid; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; }
.p-szukaj__wyniki button:hover { background: var(--floor); }
.p-szukaj__wyniki b { color: var(--fg); }
.p-szukaj__wyniki span { font-size: 0.82rem; color: var(--muted); }
.p-szukaj__g { padding: 8px 10px 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.p-szukaj__pusto { padding: 10px; color: var(--muted); font-size: 0.9rem; }

/* Przyciski panelu */
.p-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--hair-2); border-radius: 999px; background: #fff; color: var(--fg); font-family: var(--f-display); font-weight: 800; font-size: 0.92rem; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.p-btn:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-1px); }
.p-btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.p-btn .p-ik { width: 17px; height: 17px; }
.p-btn--akcent { border-color: transparent; background: var(--accent); color: #fff; }
.p-btn--akcent:hover:not(:disabled) { background: #1a4fb4; border-color: transparent; }
.p-btn--ink { border-color: transparent; background: var(--ink); color: #fff; }
.p-btn--ok { border-color: transparent; background: var(--ok); color: #fff; }
.p-btn--alert { border-color: transparent; background: var(--alert); color: #fff; }
.p-btn--ostrzez { color: var(--alert); }
.p-btn--maly { min-height: 32px; padding: 0 12px; font-size: 0.84rem; }
.p-btn--ikona { width: 34px; min-height: 34px; padding: 0; }
.p-btn--tekst { border-color: transparent; background: transparent; padding: 0 6px; color: var(--accent-text); }
.p-btn--tekst:hover:not(:disabled) { border-color: transparent; text-decoration: underline; transform: none; }

/* ── Widoki ───────────────────────────────────────────────────────── */
.p-widok { padding: clamp(16px, 2.4vw, 28px); min-width: 0; outline: none; }
body[data-app='panel'] main { padding-block: 0; }
.p-sekcja[hidden] { display: none !important; }
.p-sekcja--kalendarz .szukaj { display: none; }
.p-sekcja--kalendarz .uklad { grid-template-columns: minmax(0, 1fr) 320px; }
.p-sekcja--kalendarz .pasek { margin-bottom: 12px; }

.p-stos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.p-stos > *, .p-siatka > *, .gf > *, .ed > * { min-width: 0; }
.p-siatka { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.p-s3 { grid-column: span 3; }
.p-s4 { grid-column: span 4; }
.p-s5 { grid-column: span 5; }
.p-s6 { grid-column: span 6; }
.p-s7 { grid-column: span 7; }
.p-s8 { grid-column: span 8; }
.p-s12 { grid-column: 1 / -1; }

.p-karta { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; border-radius: 14px; background: var(--paper); box-shadow: var(--cien); min-width: 0; }
.p-karta__g { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; }
.p-karta__g h2 { font-size: 1.12rem; font-weight: 800; }
.p-karta__g p { font-size: 0.86rem; color: var(--muted); margin-top: 3px; }
.p-karta__akcje { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.p-karta--ciemna { background: var(--ink); color: #e9ecea; }
.p-karta--ciemna .p-karta__g p { color: #aab1b6; }
.p-karta--akcent { box-shadow: inset 0 0 0 1.5px var(--accent), var(--cien); }

/* Liczby na górze */
.p-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.p-kpi__k { display: grid; gap: 4px; padding: 16px 20px 18px; border-radius: 14px; background: var(--paper); box-shadow: var(--cien); min-width: 0; text-decoration: none; color: inherit; }
a.p-kpi__k:hover { box-shadow: inset 0 0 0 1.5px var(--hair-2), var(--cien); }
.p-kpi__k span { font-size: 0.86rem; color: var(--muted); }
.p-kpi__k b { font-family: var(--f-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; font-feature-settings: 'tnum'; }
.p-kpi__k small { font-size: 0.84rem; color: var(--muted); }
.p-kpi__k small b { font-family: inherit; font-size: inherit; font-weight: 700; letter-spacing: 0; }
.p-kpi__k--ciemny { background: var(--ink); color: #fff; }
.p-kpi__k--ciemny span, .p-kpi__k--ciemny small { color: #aab1b6; }
.p-kpi__k--uwaga { background: #fbe9e7; }
.p-kpi__k--uwaga b { color: var(--alert); }
.p-zmiana { font-weight: 700; }
.p-zmiana--w-gore { color: var(--ok); }
.p-zmiana--w-dol { color: var(--alert); }
.p-kpi__k--ciemny .p-zmiana--w-gore { color: #7ad3a9; }
.p-kpi__k--ciemny .p-zmiana--w-dol { color: #f2a59f; }

/* Filtry i chipy */
.p-filtry { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.p-filtry .wybor select, .p-filtry input[type='search'], .p-filtry input[type='date'] { padding: 8px 12px; border: 1.5px solid var(--hair-2); border-radius: 999px; background: #fff; color: var(--fg); font-weight: 500; }
.p-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid var(--hair-2); border-radius: 999px; background: #fff; font-weight: 700; font-size: 0.9rem; cursor: pointer; }
.p-chip--bez { padding-left: 14px; }
.p-chip[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.p-chip i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-style: normal; font-size: 0.68rem; font-weight: 800; font-family: var(--f-display); }
.p-chip:hover { border-color: var(--ink); }
.p-kropka { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; vertical-align: 1px; }

/* Podzakładki */
.p-podz { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border-radius: 999px; background: #fff; box-shadow: var(--cien); width: max-content; max-width: 100%; scrollbar-width: none; }
.p-podz a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; color: var(--fg); text-decoration: none; font-weight: 700; font-size: 0.92rem; }
.p-podz a:hover { background: var(--floor); }
.p-podz a[aria-current='page'] { background: var(--ink); color: #fff; }
.p-podz i { font-style: normal; min-width: 20px; padding: 0 6px; border-radius: 999px; background: #f2b705; color: var(--ink); font-size: 0.74rem; text-align: center; }

/* Listy wierszy */
.p-lista { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.p-wiersz { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 4px; border-top: 1px solid var(--hair); }
.p-lista > .p-wiersz:first-child { border-top: 0; }
.p-wiersz__czas { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; min-width: 56px; font-feature-settings: 'tnum'; }
.p-wiersz__glowny { flex: 1 1 220px; min-width: 0; display: grid; gap: 2px; text-align: left; border: 0; background: none; padding: 0; cursor: pointer; color: inherit; }
.p-wiersz__glowny b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.p-wiersz__glowny small { color: var(--muted); font-size: 0.86rem; }
button.p-wiersz__glowny:hover b { text-decoration: underline; }
.p-wiersz__akcje { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.p-wiersz--x .p-wiersz__glowny b { text-decoration: line-through; color: var(--muted); }
.p-wiersz--ok { opacity: 0.72; }
.p-pusto { display: grid; gap: 10px; justify-items: start; padding: 18px; border-radius: 12px; background: var(--floor); color: var(--muted); }

/* Tabela */
.p-tabela-przew { position: relative; overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.p-tabela { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.p-tabela th { text-align: left; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
.p-tabela td { padding: 10px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.p-tabela tr:hover td { background: #f7f8f6; }
.p-tabela tr.p-zazn td { background: #eef4ff; }
.p-tabela .p-liczba { text-align: right; font-feature-settings: 'tnum'; white-space: nowrap; }
.p-tabela .p-wazne { font-weight: 700; }
.p-tabela small { display: block; color: var(--muted); font-size: 0.82rem; }
.p-tabela input[type='checkbox'] { width: 17px; height: 17px; accent-color: var(--accent); }
.p-tabela button.p-link { border: 0; background: none; padding: 0; text-align: left; font: inherit; font-weight: 700; cursor: pointer; color: var(--fg); }
.p-tabela button.p-link:hover { text-decoration: underline; }
.p-tabela tr.p-x td { color: var(--muted); }
.p-tabela tr.p-x .p-wazne { text-decoration: line-through; }
.p-masowo { position: sticky; bottom: 14px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25); }
.p-masowo b { margin-right: auto; }
.p-masowo .p-btn { min-height: 34px; }
.p-podsum { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.92rem; color: var(--fg-2); }
.p-podsum b { font-family: var(--f-display); font-weight: 800; }

/* Wykresy */
.p-wykres { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; gap: 8px; height: 180px; padding-top: 10px; }
.p-wykres__s { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; min-width: 0; }
.p-wykres__k { display: flex; flex-direction: column-reverse; justify-content: flex-start; border-radius: 6px 6px 2px 2px; overflow: hidden; min-height: 2px; align-self: end; }
.p-wykres__k i { display: block; width: 100%; }
.p-wykres__s span { font-size: 0.74rem; color: var(--muted); text-align: center; white-space: nowrap; }
.p-wykres__s:hover .p-wykres__k { filter: brightness(1.1); }
.p-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.84rem; color: var(--muted); }
.p-legenda i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.p-paski { display: grid; gap: 10px; }
.p-pasek { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 72px; gap: 10px; align-items: center; font-size: 0.9rem; }
.p-pasek > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-pasek__tor { height: 10px; border-radius: 5px; background: var(--floor); overflow: hidden; }
.p-pasek__tor i { display: block; height: 100%; border-radius: 5px; background: var(--accent); }
.p-pasek b { text-align: right; font-feature-settings: 'tnum'; }
.p-pasek--system .p-pasek__tor i { background: var(--ok); }

/* Przełącznik */
.p-sw { position: relative; }
.p-sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.p-sw label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.p-sw__tor { position: relative; flex: none; width: 40px; height: 24px; margin-top: 1px; border-radius: 999px; background: #c9cdc9; transition: background-color 0.2s; }
.p-sw__tor::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.2s var(--ease); }
.p-sw input:checked + label .p-sw__tor { background: var(--ok); }
.p-sw input:checked + label .p-sw__tor::after { transform: translateX(16px); }
.p-sw input:focus-visible + label .p-sw__tor { outline: 3px solid var(--accent); outline-offset: 2px; }
.p-sw__tekst { display: grid; gap: 2px; font-weight: 700; }
.p-sw__tekst small { font-weight: 400; color: var(--muted); font-size: 0.86rem; }

.p-licznik { margin-left: 8px; font-weight: 500; font-size: 0.8rem; color: var(--muted); font-feature-settings: 'tnum'; }
.p-licznik--za-duzo { color: var(--alert); font-weight: 700; }
.p-podp { font-size: 0.86rem; color: var(--muted); }
.p-ostrz { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; background: #fff4d6; color: #5a3d00; font-size: 0.9rem; }
.p-ostrz .p-ik { color: #8a5a00; margin-top: 2px; }
.p-ostrz--blad { background: #fbe3e1; color: #7a1c15; }
.p-ostrz--ok { background: #dcf3e8; color: #0b5236; }
.p-ostrz--info { background: #eaf0ff; color: #173f8a; }
.p-dwie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.p-trzy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.p-formularz { display: grid; gap: 14px; }
.p-formularz .pole textarea { resize: vertical; }
.p-sekcja-g { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.p-sekcja-g h2 { font-size: 1.25rem; font-weight: 800; }
.p-sekcja-g p { color: var(--muted); font-size: 0.92rem; }

/* Szuflada panelu: szersza wersja dla edytorów */
.p-szuflada--szeroka { width: min(620px, 100vw); }
.p-tlo { position: fixed; inset: 0; z-index: 45; background: rgba(20, 23, 26, 0.45); }
.p-tlo[hidden] { display: none; }
.p-sz-sekcja { display: grid; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.p-sz-sekcja:first-of-type { border-top: 0; padding-top: 0; }
.p-sz-sekcja h3 { font-size: 1rem; font-weight: 800; }
.p-check-lista { display: grid; gap: 6px; }
.p-check-lista label { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; }
.p-check-lista label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.p-check-lista input { width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.p-tagi { display: flex; flex-wrap: wrap; gap: 6px; }
.p-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--floor); font-size: 0.84rem; font-weight: 700; color: var(--fg-2); }
.p-tag button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--muted); font-size: 1rem; line-height: 1; }
.p-tag--niebieski { background: #e6efff; color: var(--accent-text); }
.p-tag--zielony { background: #dcf3e8; color: var(--ok); }
.p-tag--zolty { background: #fff0c4; color: var(--warn); }
.p-tag--czerwony { background: #fbe3e1; color: var(--alert); }

/* Osoby i karty zespołu */
.p-osoba { display: flex; align-items: center; gap: 12px; }
.p-osoba__av { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: #fff; font-family: var(--f-display); font-weight: 800; }
.p-osoba__av--duzy { width: 64px; height: 64px; font-size: 1.3rem; }
.p-osoba b { display: block; }
.p-osoba small { color: var(--muted); font-size: 0.86rem; }
.p-karty { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.p-kafel { display: grid; gap: 12px; align-content: start; padding: 18px 20px; border-radius: 14px; background: var(--paper); box-shadow: var(--cien); text-align: left; border: 0; cursor: pointer; color: inherit; font: inherit; }
.p-kafel:hover { box-shadow: inset 0 0 0 1.5px var(--hair-2), var(--cien); }
.p-kafel__lok { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.86rem; font-weight: 600; color: var(--fg-2); }
.p-kafel__lok svg { width: 16px; height: 16px; color: var(--muted); }
.p-kafel__lok span { display: inline-flex; align-items: center; gap: 6px; }
.p-kafel__lok i { width: 9px; height: 9px; border-radius: 3px; }
.p-kafel__dol { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.86rem; color: var(--muted); }
.p-kafel--dodaj { place-content: center; justify-items: center; min-height: 160px; border: 2px dashed var(--hair-2); background: transparent; box-shadow: none; color: var(--muted); font-weight: 700; }
.p-kafel--dodaj:hover { border-color: var(--ink); color: var(--ink); box-shadow: none; }
.p-kafel--dodaj:disabled { cursor: default; opacity: 0.6; }

/* Limity pakietu */
.p-limit { display: grid; gap: 4px; font-size: 0.86rem; }
.p-limit__tor { height: 6px; border-radius: 3px; background: var(--floor); overflow: hidden; }
.p-limit__tor i { display: block; height: 100%; background: var(--ink); }
.p-limit--pelny .p-limit__tor i { background: var(--warn); }

/* ── Dostępność ─────────────────────────────────────────────────────── */
.dz { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.dz__glowna { min-width: 0; }
.p-stos--waski { max-width: 860px; }
.dz-osoby { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 12px; }
.dz-osoby .p-chip { padding-block: 5px; }
.dz-osoby__narz { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.dz-tydzien { display: grid; }
.dz-w { display: grid; grid-template-columns: 190px minmax(0, 1fr) 64px; gap: 4px 18px; align-items: start; }
.dz-w { padding: 14px 0; border-top: 1px solid var(--hair); }
.dz-dzien { padding-top: 6px; }
.dz-w--wolne .p-sw__tekst { color: var(--muted); }
.dz-tresc { display: grid; gap: 8px; min-width: 0; }
.dz-zakres { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dz-cz { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.9rem; }
.dz-cz input, .dz-cz select { min-height: 40px; padding: 7px 10px; border: 1.5px solid var(--hair-2); border-radius: 10px; background: #fff; color: var(--fg); font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; }
.dz-cz--miejsce { gap: 8px; }
.dz-kropka { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; }
.dz-akcje { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.dz-wolne { margin: 0; padding-top: 8px; color: var(--muted); font-size: 0.92rem; }
.dz-ost { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 8px 10px; border-radius: 10px; background: #fff4d6; color: #5a3d00; font-size: 0.86rem; line-height: 1.4; }
.dz-ost svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.dz-suma { padding-top: 10px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.dz-razem { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); }
.dz-dni { gap: 8px; }
.dz-podglad { position: sticky; top: 80px; display: grid; gap: 10px; padding: 18px; border-radius: 16px; background: var(--paper); box-shadow: var(--cien); }
.dz-podglad p { margin: 0; }
.dz-podglad__et { color: var(--accent-text); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.dz-podglad__tyt { font-family: var(--f-display); font-size: 1.1rem; font-weight: 800; }
.dz-podglad ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dz-podglad li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1.5px solid var(--hair-2); border-radius: 10px; background: #fff; }
.dz-podglad li small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.gf__dni { display: flex; flex-wrap: wrap; gap: 4px; }
.gf__dni label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1.5px solid var(--line); border-radius: 8px; font-size: 0.84rem; font-weight: 700; cursor: pointer; }
.gf__dni label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.gf__dni input { accent-color: var(--accent); }
.gf-zm { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 12px 4px; border-top: 1px solid var(--hair); }
.gf-zm:first-child { border-top: 0; }
.gf-zm__data { font-family: var(--f-display); font-weight: 800; line-height: 1.15; }
.gf-zm__data small { display: block; font-family: var(--f-body); font-weight: 500; color: var(--muted); font-size: 0.82rem; text-transform: capitalize; }
.gf-zm__opis { display: grid; gap: 2px; min-width: 0; }
.gf-zm__opis small { color: var(--muted); }
.gf-mies { margin: 18px 0 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.gf-mies:first-child { margin-top: 0; }
.ed__lista { display: grid; gap: 8px; }
.ed__el { display: grid; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.ed__el-g { display: flex; align-items: center; gap: 8px; }
.ed__el-g b { margin-right: auto; }

/* ── Responsywność ────────────────────────────────────────────────── */
@media (max-width: 1280px) {
}
@media (max-width: 1100px) {
  .p-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-s3, .p-s4, .p-s5, .p-s6, .p-s7, .p-s8 { grid-column: 1 / -1; }
  .p-sekcja--kalendarz .uklad { grid-template-columns: minmax(0, 1fr); }
  .dz { grid-template-columns: minmax(0, 1fr); }
  .dz-podglad { position: static; }
}
@media (max-width: 900px) {
  .p-app { grid-template-columns: minmax(0, 1fr); }
  .p-rail { position: fixed; z-index: 50; left: 0; top: 0; bottom: 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform 0.25s var(--ease); }
  body.p-menu-otwarte .p-rail { transform: none; box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3); }
  .p-top__menu { display: grid; }
  .p-top__podglad { display: none; }
  .dz-w { grid-template-columns: 150px minmax(0, 1fr) 56px; }
  .p-dwie, .p-trzy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .p-top { flex-wrap: wrap; gap: 10px; }
  .p-top__tytul { flex: 1; }
  .p-top__tytul p { display: none; }
  .p-szukaj { order: 3; width: 100%; margin-left: 0; }
  .p-top .p-btn--akcent span { display: none; }
  .p-top .p-btn--akcent { width: 42px; padding: 0; }
  .p-kpi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .p-kpi__k { padding: 12px 14px; }
  .p-karta { padding: 14px 14px 16px; }
  .p-tabela-przew { margin: 0 -14px; padding: 0 14px; }
  .p-pasek { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 56px; }
  .dz-w { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'dzien suma' 'tresc tresc'; }
  .dz-dzien { grid-area: dzien; }
  .dz-suma { grid-area: suma; }
  .dz-tresc { grid-area: tresc; }
  .p-masowo { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .p-rail { transition: none; } }

/* ── Konta terapeutów: przełącznik w menu ───────────────────────────── */
.p-konto { display: grid; gap: 4px; padding: 0 6px; font-size: 0.78rem; color: #8f959b; }
.p-konto:empty { display: none; }
.p-konto__et em { font-style: normal; }
.p-konto select { width: 100%; min-height: 38px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; font-weight: 700; font-size: 0.84rem; }
.p-konto select option { color: #14171a; background: #fff; }
.dz-pola { margin: 0; padding: 0; border: 0; min-width: 0; }
.dz-pola:disabled { opacity: 0.6; }
.p-wiersz--zm { align-items: flex-start; }

/* ── Grafik zespołu ─────────────────────────────────────────────────── */
.gz { gap: 16px; }
.gz-widok { align-items: center; }
.gz-pedzel { display: grid; gap: 10px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: var(--floor, #eceeeb); }
.gz-pedzel__g { display: flex; align-items: center; gap: 12px; }
.gz-pedzel__opcje { display: grid; gap: 10px; }
.gz-pedzel__wlasne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.gz-przew { overflow-x: auto; }
.gz-tab { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0 6px; table-layout: fixed; }
.gz-tab th, .gz-tab td { padding: 0 4px; vertical-align: middle; }
.gz-tab thead th { padding: 4px; text-align: center; font-size: 0.82rem; font-weight: 800; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.gz-tab thead th:first-child { text-align: left; width: 200px; }
.gz-tab thead th:last-child, .gz-tab .gz-akc { width: 120px; }
.gz-tab tbody th { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 4px; text-align: left; font-weight: 400; }
.gz-os-nazwa { display: grid; min-width: 0; }
.gz-os-nazwa b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gz-os-nazwa small { color: var(--muted); font-variant-numeric: tabular-nums; }
.gz-tab tfoot th, .gz-tab tfoot td { padding: 6px 4px; color: var(--muted); font-size: 0.86rem; font-weight: 700; text-align: center; border-top: 1px solid var(--hair); }
.gz-tab tfoot th { text-align: left; }
.gz-akc { text-align: right; }
.gz-kom { display: grid; gap: 3px; align-content: center; width: 100%; min-height: 58px; padding: 5px; border: 1.5px dashed var(--hair-2); border-radius: 10px; background: #fff; font: inherit; color: var(--fg); text-align: left; }
button.gz-kom { cursor: pointer; }
button.gz-kom:hover { border-style: solid; border-color: var(--ink); }
.gz-kom--ro { border-style: solid; border-color: var(--hair); }
.gz-maluje button.gz-kom { cursor: crosshair; touch-action: none; user-select: none; }
.gz-kom--wybrana { background: var(--akcent-jasny, #e7efff); border-style: solid; border-color: var(--akcent, #1f5fd6); }
.gz-zm { display: block; padding: 3px 7px 3px 9px; border-radius: 6px; background: color-mix(in srgb, var(--k) 14%, white); box-shadow: inset 4px 0 0 var(--k); font-size: 0.8rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.gz-zm small { display: block; color: var(--muted); font-weight: 400; font-size: 0.72rem; }
.gz-zm--zle { outline: 2px solid #b3261e; outline-offset: -1px; }
.gz-ost { margin-left: 4px; font-style: normal; color: #b3261e; font-weight: 900; }
.gz-wolne { color: var(--muted); text-align: center; }
.gz-ja th { background: #eef3fd; border-radius: 10px 0 0 10px; }
.gz-fokus th { outline: 2px solid var(--akcent, #1f5fd6); border-radius: 10px; }
.gz-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.86rem; }
.gz-legenda li { display: inline-flex; align-items: center; gap: 6px; }
.gz-legenda i, .gz-kr { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: none; }
.gz-kr { margin-right: 8px; }
.gz-edytor { padding: 0; }

/* Lokalizacje: oś dnia z paskami terapeutów */
.gz-lok-w { display: grid; grid-template-columns: 78px minmax(0, 1fr) 170px; gap: 6px 14px; align-items: center; padding: 6px 0; border-top: 1px solid var(--hair); }
.gz-lok-w--osie { border-top: 0; padding: 0 0 2px; }
.gz-lok-dzien { display: grid; line-height: 1.2; }
.gz-lok-dzien small { color: var(--muted); font-variant-numeric: tabular-nums; }
.gz-osie { position: relative; height: 16px; }
.gz-osie span { position: absolute; transform: translateX(-50%); font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.gz-os { position: relative; border-radius: 8px; background: #eef0ed; overflow: hidden; }
.gz-os__otw { position: absolute; top: 0; bottom: 0; background: #dff3e8; }
.gz-os__dziura { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(179, 38, 30, 0.22) 0 6px, rgba(179, 38, 30, 0.06) 6px 12px); border-inline: 2px solid rgba(179, 38, 30, 0.5); }
.gz-pasek { position: absolute; height: 24px; display: block; overflow: hidden; padding: 0 6px 0 10px; border: 0; border-radius: 6px; background: color-mix(in srgb, var(--k) 20%, white); box-shadow: inset 4px 0 0 var(--k); color: var(--fg); font: inherit; font-size: 0.74rem; font-weight: 700; line-height: 24px; white-space: nowrap; text-overflow: ellipsis; text-align: left; font-variant-numeric: tabular-nums; }
button.gz-pasek { cursor: pointer; }
button.gz-pasek:hover { outline: 2px solid var(--ink); }
.gz-pasek--zle { outline: 2px solid #b3261e; outline-offset: -2px; }
.gz-t { font-size: 0.84rem; font-weight: 700; }
.gz-t--ok { color: #0e6b45; }
.gz-t--ost { color: #8a2118; }
.gz-t--zamk { color: var(--muted); font-weight: 400; }
@media (max-width: 700px) {
  .gz-lok-w { grid-template-columns: 52px minmax(0, 1fr); }
  .gz-lok-info { grid-column: 2; }
  .gz-lok-w--osie > :last-child { display: none; }
}
.gz-dziury { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--floor, #eceeeb); }
.gz-dziury summary { cursor: pointer; font-weight: 700; }
.gz-dziury ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gz-dziury li { font-size: 0.92rem; line-height: 1.8; }
/* Szeroka tabela grafiku przewija się w swoim polu, a nie rozpycha strony. */
.gz, .gz > *, .gz .p-karta, .gz-przew { min-width: 0; max-width: 100%; }
.gz .p-karta { overflow: hidden; }
.gz-przew { position: relative; }

/* Plan tygodni: nawigator, tabela konkretnego tygodnia, edytor i przegląd */
.pl-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 14px; }
.pl-nav__tyt { display: grid; min-width: 190px; text-align: center; line-height: 1.25; }
.pl-nav__tyt b { font-family: var(--f-display, inherit); font-size: 1.08rem; }
.pl-nav__tyt small { color: var(--muted); }
.pl-nav__data { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 0.86rem; }
.pl-nav__data input { padding: 6px 8px; border: 1.5px solid var(--hair-2); border-radius: 8px; font: inherit; color: var(--fg); background: #fff; }
.pl-tab thead th { line-height: 1.25; }
.pl-data { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.pl-sw { display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 0.8rem; background: var(--floor, #eceeeb); border-style: solid; border-color: var(--hair); }
.pl-minal { opacity: 0.55; }
.pl-przekr { text-decoration: line-through; opacity: 0.6; }
.pl-urlop { display: block; padding: 3px 7px; border-radius: 6px; background: #fff0c2; color: #5a3d00; font-size: 0.78rem; font-weight: 700; }
.pl-urlop small { font-weight: 400; }
.pl-jedn { font-size: 0.7rem; color: #0b4f9c; font-weight: 700; letter-spacing: 0.02em; }
button.gz-kom.pl-kom--jedn { border-style: solid; border-color: #9db8ea; }
.pl-narz { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pl-zapl { margin-bottom: 12px; padding: 10px 14px; border-radius: 12px; background: #eef3fd; }
.pl-zapl ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pl-zapl li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-size: 0.92rem; }
.pl-zapl__akc { display: inline-flex; gap: 6px; }
.pl-pacjent { margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: var(--floor, #eceeeb); }
.pl-pacjent summary { cursor: pointer; font-weight: 700; }
.pl-pacjent ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.pl-pacjent li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 12px; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.pl-przeglad { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pl-przeglad__w { display: grid; grid-template-columns: 150px 80px minmax(0, 1fr); align-items: center; gap: 6px 14px; width: 100%; padding: 8px 12px; border: 1.5px solid var(--hair); border-radius: 12px; background: #fff; font: inherit; color: var(--fg); text-align: left; cursor: pointer; }
.pl-przeglad__w:hover { border-color: var(--ink); }
.pl-biezacy .pl-przeglad__w { border-color: var(--akcent, #1f5fd6); box-shadow: 0 0 0 2px var(--akcent-jasny, #e7efff); }
.pl-przeglad__t { display: grid; line-height: 1.2; }
.pl-przeglad__t small { color: var(--muted); }
.pl-przeglad__g { font-variant-numeric: tabular-nums; font-weight: 700; }
.pl-przeglad__z { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.pl-znak { padding: 2px 9px; border-radius: 999px; background: var(--floor, #eceeeb); font-size: 0.78rem; font-weight: 700; }
.pl-znak--ok { background: #dcf3e8; color: #0b5236; }
.pl-znak--ost { background: #fff0c2; color: #5a3d00; }
.pl-znak--zle { background: #fbe0dd; color: #8a2118; }
.pl-presety { margin-bottom: 8px; }
.pl-zakres, .pl-radio { margin: 14px 0 0; padding: 0; border: 0; display: grid; gap: 8px; }
.pl-zakres legend, .pl-radio legend { padding: 0; margin-bottom: 6px; font-weight: 800; }
.pl-zakres__op, .pl-radio label { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--hair); border-radius: 12px; background: #fff; cursor: pointer; }
.pl-zakres__op:has(input:checked) { border-color: var(--akcent, #1f5fd6); background: var(--akcent-jasny, #e7efff); }
.pl-zakres__op span { display: grid; gap: 2px; }
.pl-zakres__op small { color: var(--muted); font-size: 0.86rem; }
.pl-ile { display: inline-block; margin-left: 6px; }
.pl-ile select { padding: 3px 6px; font: inherit; }
.dz-ost--blad { color: #8a2118; }
@media (max-width: 700px) {
  .pl-przeglad__w { grid-template-columns: minmax(0, 1fr) auto; }
  .pl-przeglad__z { grid-column: 1 / -1; }
  .pl-nav__data { margin-left: 0; }
  .pl-pacjent li { grid-template-columns: 1fr; }
}

/* ── Samouczek przy pierwszym otwarciu (assets/js/panel-tutorial.js) ──── */
.p-demo__wskazowki { margin-left: 14px; padding: 2px 12px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.p-demo__wskazowki:hover { background: rgba(255, 255, 255, 0.14); }
.p-sam { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.p-sam__pierscien { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(20, 23, 26, 0.62), 0 0 0 3px #f2b705; transition: left 0.25s var(--ease), top 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease); }
.p-sam__pierscien[hidden] { display: none; }
.p-sam__karta { position: fixed; width: min(340px, calc(100vw - 24px)); padding: 18px 20px 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); pointer-events: auto; }
.p-sam__karta--dol { left: 50%; top: auto; bottom: 16px; translate: -50% 0; }
.p-sam__licznik { margin: 0 0 4px; color: #535a61; font-size: 0.9rem; font-weight: 700; }
.p-sam__tytul { margin: 0 0 6px; font-family: 'Overpass', system-ui, sans-serif; font-size: 1.3rem; font-weight: 800; }
.p-sam__tekst { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.5; }
.p-sam__akcje { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-sam__pomin { padding: 8px 4px; border: 0; background: none; color: #535a61; font: inherit; font-size: 0.95rem; text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .p-sam__pierscien { transition: none; } }

/* ── SMS: licznik w nagłówku, okno własnego SMS-a, karta w Ustawieniach ── */
.p-sms-chip { gap: 6px; }
.p-sms-chip b { font-variant-numeric: tabular-nums; }
.p-sms-chip[data-poziom='malo'] { border-color: #e8590c; color: #9a3a05; }
.p-sms-chip[data-poziom='wyczerpany'] { border-color: #c2255c; background: #fdecea; color: #8a1237; }
@media (max-width: 760px) { .p-sms-chip__t { font-size: 0.9rem; } }
.p-sms-stan { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; background: #eef7f1; color: #14633f; }
.p-sms-stan--malo { background: #fff1e6; color: #8a3a05; }
.p-sms-stan--wyczerpany { background: #fdecea; color: #8a1237; }
.p-sms-ostrz { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fdecea; color: #8a1237; font-weight: 700; }
.p-sms-licznik__duzy { margin: 0 0 8px; font-size: 1rem; }
.p-sms-licznik__duzy b { font-family: var(--f-display); font-size: 2.4rem; font-weight: 900; line-height: 1; }
.p-sms-licznik--malo .p-limit__tor i { background: #e8590c; }
.p-sms-licznik--wyczerpany .p-limit__tor i { background: #c2255c; }
.p-sms-licznik .p-limit__tor { display: block; width: 100%; }
