/* ---------- panel na żywo: dodatki do stylów makiet ---------- */
.form-err { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 122, 122, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 122, 122, 0.4); color: #ffc4c4; font-weight: 650; font-size: 0.94rem; }
.box .form-err { margin: 0 0 16px; }
.field-err { color: #ff9a9a; font-size: 0.86rem; font-weight: 650; }
.has-err .input { box-shadow: inset 0 0 0 2px #ff7a7a; }
.msgs { display: grid; gap: 8px; margin: -8px 0 18px; }
.msg { padding: 12px 16px; border-radius: 14px; font-weight: 650; font-size: 0.94rem; background: rgba(91, 225, 111, 0.1); box-shadow: inset 0 0 0 1px rgba(91, 225, 111, 0.35); color: #c9f5d1; }
.msg-warning { background: rgba(255, 181, 71, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.4); color: #ffe2a8; }
.msg-error { background: rgba(255, 122, 122, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 122, 122, 0.4); color: #ffc4c4; }

.head-stack { margin-right: auto; min-width: 0; }
.head-stack .crumbs { margin: 0 0 2px; }
.btn-top { min-height: 44px; padding: 10px 18px; font-size: 0.92rem; flex: none; }
.btn-top svg { width: 18px; height: 18px; }
.topbar .search { margin-left: auto; }
.side-nav .nav-soon { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; color: #7f7891; font-weight: 700; font-size: 0.97rem; }
.side-nav .nav-soon svg { width: 20px; height: 20px; }
.side-user form { grid-column: 1 / -1; }
.side-user .link-btn { font-size: 0.86rem; color: var(--on-d-soft); }
.biz-meta { margin: -10px 0 22px; }
.biz-meta .sw { width: 22px; height: 22px; }

.chip-f { display: inline-flex; align-items: center; text-decoration: none; }
.chip-f[aria-current="true"] { background: #fff; color: #18151f; }

.empty-box { display: grid; gap: 12px; justify-items: start; margin-bottom: 18px; background: linear-gradient(135deg, rgba(123, 77, 255, 0.2), rgba(123, 77, 255, 0.05)); box-shadow: inset 0 0 0 1px rgba(196, 173, 255, 0.35); }
.empty-box h2 { font-size: 1.3rem; font-weight: 850; font-stretch: 110%; }
.empty-box p { color: #e6e3ee; max-width: 62ch; }
.empty-note { color: var(--on-d-soft); font-size: 0.92rem; }
.log li.empty { grid-template-columns: minmax(0, 1fr); }

.form-lokal { display: grid; gap: 22px; }
.form-lokal fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-lokal legend { padding: 0; margin-bottom: 12px; font-family: var(--display); font-weight: 800; font-stretch: 108%; font-size: 1.15rem; }
.form-grid { display: grid; gap: 16px; }
.form-grid.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .input, .addon-form .input { min-height: 48px; }
.field-color input[type="color"] { width: 64px; height: 48px; padding: 4px; border: 0; border-radius: 12px; background: var(--night-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); cursor: pointer; }
.box .btn-row .btn { min-height: 44px; }

details.more { margin-top: 16px; border-top: 1px solid var(--line-d); padding-top: 14px; }
details.more > summary { cursor: pointer; font-weight: 800; color: #fff; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
details.more[open] > summary::before { content: "–"; }
details.more form { margin: 14px 0 10px; }

.feats > li { display: grid; gap: 10px; }
.feat-row { grid-template-columns: minmax(0, 1fr) auto; }
.feat-act > summary { list-style: none; cursor: pointer; justify-self: start; display: inline-flex; }
.feat-act > summary::-webkit-details-marker { display: none; }
details.feat-act[open] > summary { opacity: 0.6; }
.feat-act .feat-panel { margin-top: 10px; }
form.feat-act { justify-self: start; }
.st-wyl, .st-zakonczony { color: #8d87a0; }
.st-p-oplacona { color: #7ee08f; }
.st-p-oczekuje { color: var(--gold); }
.st-p-odrzucona { color: #ff9a9a; }
.seg { border: 0; margin: 0; }
.addons li.gone { opacity: 0.55; }
.addons form { grid-column: 2; grid-row: 1 / span 2; }
.addons li > span { min-width: 0; }

.codes-box { max-width: 720px; }
@media (max-width: 620px) { .form-grid.cols { grid-template-columns: minmax(0, 1fr); } .topbar .btn-top { order: 1; } }
@media print {
  .side, .topbar, .btn-row, .skip, .scrim { display: none !important; }
  .app { display: block; }
  body, .app-body, .box { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .codes { color: #000; background: #fff; box-shadow: none; }
}
.grid-2 > .box + .box, .grid-2 > section + section { margin-top: 0; }
.grid-2 > div > .box + .box { margin-top: 18px; }
.q .q-ic { display: grid; }
.link-btn.act { font-size: 0.86rem; color: var(--on-d-soft); font-weight: 750; }
.link-btn.act:hover { color: #fff; }
summary.link-btn.act { display: inline; }
.totp-qr svg { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.totp-qr { width: 220px; }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-3 .tile b { font-size: 1.5rem; }
.rules { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: #e6e3ee; font-size: 0.94rem; }
.raporty { display: grid; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-d); }
.raporty .link-btn { justify-self: start; }
.warn code, .box code { font-size: 0.86em; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: #fff; overflow-wrap: anywhere; }
.st-w-doreczona, .st-w-wyslana { color: #7ee08f; }
.st-w-symulacja { color: #c4adff; }
.st-w-blad, .st-w-niedoreczona { color: #ff9a9a; }
.st-w-zaplanowana, .st-w-wysylanie { color: var(--gold); }
.st-w-anulowana { color: #8d87a0; }
.anuluj { display: inline; margin-left: 10px; }
@media (max-width: 1100px) { .tiles-3 { grid-template-columns: minmax(0, 1fr); } }
.dostawca-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 14px; }
.dostawca-row label { font-weight: 750; font-size: 0.94rem; }
.dostawca-row .input { min-height: 44px; }
@media (max-width: 620px) { .dostawca-row { grid-template-columns: minmax(0, 1fr) auto; } .dostawca-row label { grid-column: 1 / -1; } }
.api-lead { margin: -4px 0 18px; }
.api-lead a { color: #fff; font-weight: 750; }
.pauzy { display: grid; gap: 12px; }
.pauzy form { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.pauzy .sub { display: block; color: #8d87a0; font-size: 0.84rem; font-weight: 600; }
.tbl-api { min-width: 0; width: 100%; }
.tbl-api .sub code { white-space: normal; word-break: break-all; }
/* rejestracja i panel właściciela */
.pulapka { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.auth-grid.wide { grid-template-columns: minmax(0, 640px); }
.reg-sekcja { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.reg-sekcja legend { font-weight: 800; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-d-soft); margin-bottom: 4px; }
.plan-opts { display: grid; gap: 12px; }
.plan-opt { position: relative; display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); cursor: pointer; }
.plan-opt:has(input:checked) { background: rgba(139, 92, 255, 0.12); box-shadow: inset 0 0 0 2px var(--violet); }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.1rem; }
.plan-top span { font-weight: 800; }
.plan-top small { font-weight: 600; color: var(--on-d-soft); font-size: 0.85rem; }
.plan-opt ul { margin: 0; padding-left: 1.1em; display: grid; gap: 3px; font-size: 0.9rem; color: #e6e3ee; }
.plan-ceny { font-size: 0.84rem; color: var(--on-d-soft); }
.okresy { border: 0; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.okresy legend { font-weight: 750; margin-bottom: 8px; }
.pakiety-form .hint { margin-top: 12px; display: block; }
.st-nowe { color: #8fd3ff; }
/* karta klienta w stylu Apple Wallet (podgląd w panelu, strona karty, zapis, skaner) */
.wk { --sys: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: grid; width: 100%; max-width: 400px; border-radius: 14px; overflow: hidden; background: var(--tlo); color: var(--tusz);
  font-family: var(--sys); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 22px 44px -24px rgba(0, 0, 0, 0.75); }
.wk-gora { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 15px 11px; min-height: 58px; }
.wk-marka { display: flex; align-items: center; gap: 10px; min-width: 0; }
.wk-logo { display: block; max-height: 34px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
.wk-nazwa { font-weight: 650; font-size: 1.05rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-pole { display: grid; gap: 1px; min-width: 0; }
.wk-pole small { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--etykieta); }
.wk-pole b { font-weight: 500; font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.wk-pole.prawe { text-align: right; justify-items: end; }
.wk-pasek { position: relative; container-type: size; aspect-ratio: 375 / 123; display: grid; place-items: center; background-size: cover; background-position: center; }
.wk-pasek.z-grafika { background-image: var(--grafika); --linia: rgba(255, 255, 255, 0.6); }
.wk-pasek.z-grafika::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.38); }
.wk-pasek.z-logo::before { content: ""; position: absolute; inset: 7% 5%; background: var(--logo-tla) center / contain no-repeat; opacity: 0.3; }
.wk-pieczatki { position: relative; --g: 7cqh; --d: min(calc((100cqw - 8cqw - (var(--kolumny) - 1) * var(--g)) / var(--kolumny)), calc((100cqh - 18cqh - (var(--rzedy) - 1) * var(--g)) / var(--rzedy)));
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); width: calc(var(--kolumny) * var(--d) + (var(--kolumny) - 1) * var(--g)); }
.wk-p { width: var(--d); height: var(--d); border-radius: 50%; box-shadow: inset 0 0 0 max(1.5px, 0.045 * var(--d)) var(--linia); display: grid; place-items: center; }
.wk-p.on { background: var(--akcent); color: var(--tusz-p); box-shadow: none; }
.wk-p svg { width: 58%; height: 58%; display: block; }
.wk-p img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: contain; padding: 18%; }
.wk-pola { display: flex; justify-content: space-between; gap: 16px; padding: 12px 15px 2px; }
.wk-haslo { padding: 8px 15px 0; font-size: 0.86rem; line-height: 1.4; color: var(--etykieta); }
.wk-nagroda { margin: 10px 15px 0; justify-self: start; padding: 5px 10px; border-radius: 999px; background: var(--akcent); color: var(--tusz-p); font-size: 0.8rem; font-weight: 700; }
.wk-qr { justify-self: center; display: grid; justify-items: center; gap: 4px; margin: 16px 0 18px; padding: 10px 10px 6px; border-radius: 10px; background: #fff; color: #1c1c1e; }
.wk-qr-kod svg { width: 148px; height: 148px; display: block; }
.wk-qr small { font-family: ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.08em; }
.wk > :last-child:not(.wk-qr) { margin-bottom: 16px; }
.pub-karta { display: grid; justify-items: center; }
.pub-karta .wk-qr-kod svg { width: 190px; height: 190px; }

/* podgląd w ramce telefonu */
.telefon { width: 304px; max-width: 100%; margin: 0 auto; padding: 11px; border-radius: 50px; background: #0b0a0e;
  box-shadow: 0 0 0 2px #2b2833, 0 0 0 7px #121016, 0 34px 70px -34px rgba(0, 0, 0, 0.9); }
.telefon-ekran { border-radius: 40px; background: #000; padding: 12px 12px 22px; min-height: 560px; display: grid; align-content: start; justify-items: center; gap: 10px; overflow: hidden; }
.telefon-status { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 2px 16px 0; color: #fff;
  font: 600 0.82rem/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.telefon-wyspa { width: 92px; height: 26px; border-radius: 999px; background: #0b0a0e; box-shadow: inset 0 0 0 1px #1c1a22; }
.telefon-ikony { display: flex; gap: 3px; align-items: flex-end; }
.telefon-ikony i { width: 4px; border-radius: 1px; background: #fff; }
.telefon-ikony i:nth-child(1) { height: 5px; } .telefon-ikony i:nth-child(2) { height: 8px; } .telefon-ikony i:nth-child(3) { height: 11px; }
.telefon-tytul { justify-self: start; padding: 10px 6px 4px; color: #fff; font: 800 1.6rem/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: -0.02em; }
.telefon .wk { max-width: none; }
.podglad-box { position: sticky; top: 18px; z-index: 1; }
.podglad-uwaga { margin-top: 14px; text-align: center; }
.tlo-paska .seg { margin-bottom: 6px; }
.zapisz-pasek { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 980px) { .podglad-box { position: static; } }

/* ustawienia karty: logo, grafika, ikony */
.wgrany { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 6px; }
.wgrany-podglad { width: 76px; height: 56px; border-radius: 12px; display: grid; place-items: center; padding: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.wgrany-podglad img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.wgrany-podglad.szeroki { width: 168px; height: 56px; padding: 0; overflow: hidden; }
.wgrany-podglad.szeroki img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.plik { width: 100%; font-size: 0.9rem; color: var(--on-d-soft, #b9b4c6); }
.plik::file-selector-button { margin-right: 12px; padding: 9px 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1);
  color: #fff; font-weight: 750; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.plik:focus-visible { outline: 3px solid var(--gold, #ffb547); outline-offset: 3px; border-radius: 8px; }
.ikony { border: 0; margin: 0; padding: 0; min-width: 0; }
.ikony legend { font-weight: 750; font-size: 0.92rem; margin-bottom: 10px; padding: 0; }
.ikony-siatka { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; }
.ikona-opcja { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 14px; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ikona-opcja input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ikona-kolo { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: #fff; }
.ikona-kolo svg { width: 24px; height: 24px; }
.ikona-kolo img { width: 100%; height: 100%; border-radius: 50%; background: #fff; object-fit: contain; padding: 8px; }
.ikona-kolo b { font-size: 0.7rem; }
.ikona-nazwa { font-size: 0.76rem; font-weight: 650; color: var(--on-d-soft, #b9b4c6); }
.ikona-opcja:has(input:checked) { box-shadow: inset 0 0 0 2px #8b5cf6; background: rgba(139, 92, 246, 0.12); }
.ikona-opcja:has(input:checked) .ikona-kolo { background: var(--grad-btn, #7c3aed); }
.ikona-opcja:has(input:focus-visible) { outline: 3px solid var(--gold, #ffb547); outline-offset: 2px; }
.zapisz-pasek { position: sticky; bottom: 0; z-index: 2; padding: 14px 0; background: linear-gradient(to top, var(--night, #111016) 60%, transparent); }
.karta-uklad { align-items: start; }
.karta-uklad > div:last-child { align-self: stretch; }   /* kolumna z podglądem na całą wysokość: podgląd jedzie razem ze stroną */

/* strony dla klientów lokalu i skaner */
.pub-main { padding: clamp(24px, 6vw, 56px) 0; }
.pub-wrap { max-width: 520px; display: grid; gap: 18px; }
.pub-h { font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 850; font-stretch: 114%; letter-spacing: -0.02em; line-height: 1.05; }
.pub-info { font-weight: 750; font-size: 1.05rem; }
.pub-box { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); display: grid; gap: 10px; }
.pub-box h2 { font-size: 1.1rem; font-weight: 800; }
.zgody { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.zgody legend { font-weight: 800; margin-bottom: 8px; }
.zgoda-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.zgoda-row .sub { display: block; color: #8d87a0; font-size: 0.85rem; font-weight: 600; }
.auth-foot .logo-pro, .auth-foot span span { font-size: inherit; }
.sk-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sk-top .sub { display: block; color: #8d87a0; font-size: 0.86rem; font-weight: 650; }
.sk-wynik { font-size: 1.05rem; }
.sk-nagroda { background: rgba(255, 181, 71, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.5); color: #ffe2a8; }
.sk-karta { display: grid; gap: 14px; }
.sk-akcje { display: grid; gap: 10px; }
.sk-duzy { min-height: 58px; font-size: 1.1rem; }
.sk-skan { display: grid; gap: 12px; }
.sk-kamera { position: relative; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 1; }
.sk-kamera video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-ramka { position: absolute; inset: 18%; border-radius: 18px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 999px rgba(0, 0, 0, 0.35); }
.sk-reczny { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.pin-form .pin-input { font-size: 1.6rem; letter-spacing: 0.5em; text-align: center; min-height: 64px; }

/* panel właściciela: karta i pracownicy */
.zapis-qr { width: 180px; padding: 10px; border-radius: 14px; background: #fff; }
.zapis-qr svg { width: 100%; height: auto; aspect-ratio: 1; display: block; }
code.adres { display: inline-block; word-break: break-all; font-size: 0.86rem; }
.prac { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prac > li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.prac > li.off { opacity: 0.6; }
.prac > li.empty { color: #8d87a0; }
.prac .sub { display: block; color: #8d87a0; font-size: 0.84rem; font-weight: 600; }
.prac-akcje { display: grid; justify-items: end; gap: 6px; }
.prac-akcje details > summary { list-style: none; cursor: pointer; }
.prac-akcje details[open] form { margin-top: 10px; min-width: 220px; }
.podlacz { display: grid; gap: 10px; padding: 14px; margin-bottom: 14px; border-radius: 14px; background: rgba(139, 92, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(139, 92, 255, 0.35); }
.usun-klienta > summary { list-style: none; cursor: pointer; }
.usun-klienta[open] form { display: grid; gap: 8px; margin-top: 8px; }

/* naklejka do druku */
body.druk { background: #fff; color: #18151f; font-family: Arial, Helvetica, sans-serif; margin: 0; padding: 20px; }
.druk-info { font-size: 14px; color: #555; }
.druk-btn { margin-left: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid #ccc; background: #fff; cursor: pointer; }
.naklejka { width: 105mm; min-height: 148mm; margin: 12px 0; padding: 10mm; box-sizing: border-box; border: 1px dashed #bbb; border-radius: 6mm;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4mm; }
.nk-nazwa { margin: 0; font-size: 20pt; font-weight: 800; }
.nk-h { margin: 0; font-size: 14pt; font-weight: 700; }
.nk-qr { width: 62mm; }
.nk-qr svg { width: 100%; height: auto; display: block; }
.nk-krok { margin: 0; font-size: 13pt; font-weight: 700; }
.nk-nagroda { margin: 0; font-size: 12pt; }
.nk-stopka { margin: auto 0 0; font-size: 9pt; color: #777; }
.nk-adres { font-size: 7pt; word-break: break-all; }
@media print { .druk-info { display: none; } .naklejka { border: 0; margin: 0; } body.druk { padding: 0; } }
.wypis-form { display: grid; gap: 10px; }
/* kampanie: akceptacja i panel lokalu */
.kamp { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); display: grid; gap: 10px; margin-bottom: 12px; }
.kamp-head { display: grid; gap: 2px; }
.kamp-head a { color: #fff; }
.kamp-temat { font-weight: 800; }
.kamp-tresc { white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px 14px; border-radius: 12px; background: var(--night-2, #15121c); font-size: 0.94rem; line-height: 1.5; }
.kamp-akcje { display: flex; flex-wrap: wrap; gap: 10px; align-items: start; }
.kamp-akcje details { flex: 1 1 260px; }
.kamp-akcje details[open] summary { margin-bottom: 10px; }
.kamp-akcje summary { list-style: none; display: inline-flex; }
.kamp-akcje summary::-webkit-details-marker { display: none; }
.limity { display: grid; gap: 12px; }
.limit-row { display: grid; gap: 6px; }
.limit-row .lr-top { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; }
.limit-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.limit-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-btn); }
.seg-col { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; }
.seg-col legend, .seg-kanal legend { font-weight: 750; font-size: 0.92rem; margin-bottom: 8px; padding: 0; }
.licznik { font-size: 0.84rem; color: var(--on-d-soft, #b9b4c6); }
.licznik.za-duzo { color: #ff9b9b; }
.st-k-wyslana, .st-k-zaakceptowana { color: #7ee08f; }
.st-k-do_akceptacji, .st-k-wysylanie { color: var(--gold); }
.st-k-odrzucona { color: #ff9a9a; }
.st-k-anulowana { color: var(--on-d-soft, #b9b4c6); }
.seg-kanal { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg-kanal legend { display: block; }
.seg-col .sub, .kamp-head .sub { display: block; font-size: 0.84rem; color: var(--on-d-soft, #b9b4c6); font-weight: 500; }
.kamp-head .sub { margin-top: 2px; }
/* pasek stanu pakietu w panelu właściciela */
.pasek { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; margin-bottom: 18px; padding: 14px 18px;
  border-radius: 16px; background: rgba(255, 196, 77, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 196, 77, 0.35); color: #f3eedf; font-size: 0.94rem; line-height: 1.5; }
.pasek p { flex: 1 1 320px; margin: 0; }
.pasek-stop { background: rgba(255, 110, 110, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 110, 110, 0.45); }
.st.st-zalegla { color: #ff9a9a; }
/* zmiana pakietu */
.zmiana-plan { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 12px; }
.zmiany summary { font-weight: 750; }
.zmiany-lista { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.zmiany-lista li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.zmiany-lista .sub { display: block; font-size: 0.86rem; color: var(--on-d-soft, #b9b4c6); margin-top: 2px; }
.zmiany-lista .sub b { color: #fff; }
details.fv { margin-top: 4px; }
details.fv summary { list-style: none; font-size: 0.84rem; }
details.fv summary::-webkit-details-marker { display: none; }
details.fv form { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
details.fv .input { max-width: 180px; padding-top: 8px; padding-bottom: 8px; }
/* przycisk Apple Wallet na stronie karty */
.wallet-przyciski { display: flex; justify-content: center; }
.btn-wallet { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 16px; border-radius: 12px; background: #000; color: #fff;
  text-decoration: none; box-shadow: inset 0 0 0 1px #5c5c5c; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.btn-wallet svg { width: 30px; height: 30px; flex: none; }
.btn-wallet span { display: grid; line-height: 1.1; font-size: 1.15rem; font-weight: 600; }
.btn-wallet small { font-size: 0.72rem; font-weight: 500; }
.btn-wallet:focus-visible { outline: 3px solid var(--gold, #ffb547); outline-offset: 3px; }
.nadawca-form { display: flex; gap: 10px; align-items: center; }
.nadawca-form .input { max-width: 220px; }
