/* CENTRUM KB (17.11, dzień): nazwa, nagłówki bez drobnego druku, „Na żywo”, pasek górny. Ładowany po pozostałych arkuszach. */
.brand-kb { color: var(--accent); }
/* połączenie: zielona kropka zamiast słowa (tekst zostaje dla czytników ekranu) */
.conn.ok { font-size: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); display: inline-block; box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
/* limit abonamentu: dwa małe paski */
.limit { display: flex; gap: 14px; align-items: center; }
.lim { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-mono); color: var(--muted); }
.lim-tor { width: 54px; height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.lim-wyp { display: block; height: 100%; background: var(--ok); border-radius: 999px; }
.lim.uwaga .lim-wyp { background: var(--wait); } .lim.uwaga .lim-p { color: var(--wait); }
.lim.zle .lim-wyp { background: var(--bad); } .lim.zle .lim-p { color: var(--bad); }
/* zakładki: pusty podpis = brak linijki */
.tab small:empty { display: none; }
/* nagłówek widoku: tytuł zawsze w jednej linii, kafelki w osobnym rzędzie pod spodem */
.dw-naglowek { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; align-items: start !important; }
.dw-tytul { display: flex !important; align-items: baseline; gap: 12px; flex-wrap: wrap; min-width: 0; }
.dw-tytul h1 { white-space: nowrap; }
.dw-swiezosc { font: 600 12px/1 var(--f-mono); color: var(--muted); }
.dw-swiezosc.stare { color: var(--wait); }
.dw-dnia { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; gap: 10px; }
.dw-dz { min-width: 0 !important; }
.dw-dz .meta { font-size: 12.5px; }
.pn-akcje { justify-self: start; }
/* AI na żywo */
.nz { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.nz-h { display: flex; align-items: center; gap: 8px; font: 700 12px/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.nz-puls { width: 9px; height: 9px; border-radius: 50%; background: var(--off); }
.nz-puls.on { background: var(--ok); animation: nz-puls 1.4s ease-in-out infinite; }
@keyframes nz-puls { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
.nz-cicho { font-size: 14px; color: var(--muted); }
.nz-w { display: grid; grid-template-columns: auto minmax(0, max-content) minmax(0, 1fr) auto; align-items: center; gap: 10px; text-align: left; border: 0; border-left: 4px solid var(--biz, var(--off)); background: var(--bg); color: var(--ink); border-radius: 9px; padding: 9px 12px; font: inherit; font-size: 14.5px; }
button.nz-w { cursor: pointer; } button.nz-w:hover { background: color-mix(in srgb, var(--biz, var(--off)) 10%, var(--bg)); }
.nz-kropka { width: 9px; height: 9px; border-radius: 50%; background: var(--biz, var(--ok)); animation: pulse 1.1s infinite; }
.nz-n { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nz-co { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nz-czas { font: 600 12.5px/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.nz-zgoda { border-left-color: var(--wait); background: var(--wait-bg); }
.nz-zgoda .nz-co { color: var(--wait); font-weight: 650; }
.nz-zgoda .nz-kropka { background: var(--wait); }
.nz-cisza { opacity: .6; } .nz-cisza .nz-kropka { animation: none; background: var(--off); }
.biz-inne { --biz: var(--off); }
.nz.zwarty { padding: 10px 12px; } .nz.zwarty .nz-w { font-size: 14px; padding: 8px 10px; }
@media (max-width: 520px) { .nz-w { grid-template-columns: auto minmax(0, 1fr) auto; } .nz-co { grid-column: 2 / -1; grid-row: 2; } }
.pb-sesja { cursor: default; }
/* skróty pod „?” */
.desk-skroty summary { cursor: pointer; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; list-style: none; font: 700 12px/1 var(--f-body); }
.desk-skroty summary::-webkit-details-marker { display: none; }
.desk-skroty[open] { display: grid; gap: 3px; }
/* 1000–1279 px (laptop, powiększenie 125%): bez prawej kolumny — panel ma i tak „Na żywo” */
@media (max-width: 1279px) {
  body.desk .app { grid-template-columns: 216px minmax(0, 1fr); grid-template-areas: "top top" "nav main" "nav dock"; }
  body.desk .desk-bok { display: none; }
}
/* 700–999 px (tablet, powiększenie 150%): układ telefonu, ale szerzej */
@media (min-width: 700px) and (max-width: 999px) { .app { max-width: 820px; } .sheet { max-width: 560px; } }
@media (prefers-reduced-motion: reduce) { .nz-puls.on, .nz-kropka { animation: none; } }
