/* Przesylanie plikow (Kacper 08.10.2026): hero z css/hero.css (wariant 25), pod nim jasna karta jak w zamowieniu. Plasko, bez poswiat. */
.plhero .hero25__in { padding-bottom: clamp(56px, 8vh, 96px); }
.plcechy { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.plcechy li { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .85); }

.pl { max-width: 920px; padding-top: 40px; padding-bottom: 96px; }
.plkarta { padding: clamp(20px, 3vw, 34px); border-radius: 22px; background: var(--surface); }
.plkarta[hidden] { display: none; }

/* Pola jak w zamowieniu */
.plpola { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
.plpole { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.plpole--cale { grid-column: 1 / -1; }
.plpole > span { font-size: 13.5px; font-weight: 500; color: var(--soft); }
.plpole em { font-style: normal; font-weight: 400; color: var(--muted); }
.plpole input, .plpole textarea { width: 100%; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 6px; outline: 0; background: #fff; font: 400 15px var(--font); color: #1d1e20; transition: border-color .15s; }
.plpole input { height: 46px; }
.plpole textarea { min-height: 84px; padding-top: 12px; padding-bottom: 12px; line-height: 1.5; resize: vertical; }
.plpole input::placeholder, .plpole textarea::placeholder { color: #9ca3af; }
.plpole input:focus, .plpole textarea:focus { border-color: #111827; }
.plpole input.is-blad { border-color: #dc2626; }
.plpole input:disabled, .plpole textarea:disabled { background: var(--page); color: var(--soft); }
.plpulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Strefa przeciagnij-upusc */
.plstrefa { display: flex; flex-direction: column; align-items: center; margin-top: 22px; padding: clamp(28px, 4vw, 44px) 20px; border: 1.5px dashed #cbd5e1; border-radius: 16px; background: var(--page); text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.plstrefa:hover, .plstrefa:focus-visible { border-color: #94a3b8; outline: 0; }
.plstrefa.is-nad { border-color: var(--accent); background: #eff4ff; }
.plstrefa.is-off { pointer-events: none; opacity: .55; }
.plstrefa__ik { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--accent); }
.plstrefa__ik .ico { width: 22px; height: 22px; }
.plstrefa__h { margin: 14px 0 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.plstrefa__p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.plstrefa[hidden] { display: none; }
/* telefon i tablet: bez przeciagania i bez wyboru folderu (iOS go nie obsluguje), inny tekst */
.pl-dotyk { display: none; }
@media (hover: none) and (pointer: coarse) { .pl-mysz { display: none !important; } .pl-dotyk { display: inline; } }
.plstrefa__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* Lista plikow */
.pllista { margin-top: 22px; }
.pllista[hidden] { display: none; }
.pllista__gora { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pllista__suma { margin: 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.pllista__suma.is-blad { color: #dc2626; }
.pllista__czysc { padding: 4px 0; border: 0; background: none; font: 500 13.5px var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pllista__czysc:hover { color: var(--ink); }
.pllista__ul { max-height: 420px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.plplik { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 32px; align-items: center; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.plplik__ik { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--page); color: var(--soft); }
.plplik__ik .ico { width: 17px; height: 17px; }
.plplik__t { min-width: 0; }
.plplik__n { display: block; overflow: hidden; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.plplik__s { display: block; overflow: hidden; font-size: 12.5px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.plplik__r { font-size: 13px; color: var(--soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plplik__x { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.plplik__x:hover { background: var(--page); color: #dc2626; }
.plplik__x[hidden] { display: none; }
.plplik__x .ico { width: 16px; height: 16px; }
.plplik__stan { grid-column: 4; justify-self: center; display: grid; place-items: center; width: 22px; height: 22px; }
.plplik__stan[hidden] { display: none; }
.plplik__stan .ico { width: 17px; height: 17px; }
.plplik.is-ok .plplik__stan { color: var(--ok); }
.plplik.is-blad .plplik__stan { color: #dc2626; }
.plplik.is-blad .plplik__s { color: #dc2626; }
.plplik .plpasek { grid-column: 2 / 4; }
.plplik .plpasek[hidden] { display: none; }

/* Paski postepu: plaskie */
.plpasek { height: 4px; overflow: hidden; border-radius: 99px; background: var(--line); }
.plpasek i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s linear; }
.plplik.is-ok .plpasek i { background: var(--ok); }
.plpasek--duzy { height: 8px; margin-top: 10px; }
.plpostep { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.plpostep[hidden] { display: none; }
.plpostep__gora { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.plpostep__gora b { font-size: 22px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.plpostep__gora span { font-size: 13.5px; color: var(--soft); font-variant-numeric: tabular-nums; }

.plblad { margin: 18px 0 0; font-size: 14px; color: #dc2626; }
.plblad[hidden] { display: none; }
.plakcje { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.plakcje [hidden] { display: none; }
.plwyslij[disabled] { opacity: .55; cursor: default; }
.placz { padding: 4px 0; border: 0; background: none; font: 500 14px var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.placz:hover { color: #dc2626; }
.plnota { margin: 20px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.plnota a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.grecaptcha-badge { visibility: hidden; } /* informacja o reCAPTCHA jest w tekscie pod formularzem */

/* Ekran po wyslaniu */
.plgotowe { display: flex; flex-direction: column; align-items: center; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); text-align: center; }
.plgotowe__ik { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.plgotowe__ik .ico { width: 26px; height: 26px; }
.plgotowe__h { margin: 18px 0 0; font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 40; font-size: clamp(26px, 3vw, 36px); font-weight: 300; line-height: 1.15; color: var(--ink); text-wrap: balance; }
.plgotowe__p { max-width: 460px; margin: 10px 0 24px; font-size: 15px; line-height: 1.6; color: var(--soft); }

@media (max-width: 640px) {
  .pl { padding-top: 24px; padding-bottom: 56px; }
  .plpola { grid-template-columns: minmax(0, 1fr); }
  .plstrefa__btns .btn { flex: 1 1 140px; }
  .plplik { grid-template-columns: 32px minmax(0, 1fr) auto 28px; gap: 4px 10px; }
  .plplik__ik { width: 32px; height: 32px; }
  .plakcje .btn { width: 100%; }
}

/* Lista wysylek dla Kacpra (/lista/): karty zamiast tabeli */
.pladm { max-width: 1100px; padding-top: 32px; padding-bottom: 96px; }
.pladm__gora { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.pladm__h { margin: 0; font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 40; font-size: clamp(28px, 3vw, 40px); font-weight: 300; line-height: 1.1; color: var(--ink); }
.pladm__p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.pladm__login { max-width: 400px; margin: 40px auto; display: grid; gap: 14px; }
.pladm__pusto { padding: 40px 20px; border-radius: 18px; background: var(--surface); text-align: center; color: var(--muted); }
.plw { margin-bottom: 14px; padding: 20px 22px; border-radius: 18px; background: var(--surface); }
.plw__gora { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 20px; }
.plw__kto { margin: 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.plw__meta { margin: 4px 0 0; font-size: 13.5px; color: var(--soft); }
.plw__meta span { display: inline-block; white-space: nowrap; }
.plw__meta span + span::before { content: "·"; margin: 0 8px; color: #cbd5e1; }
.plw__wiad { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--line-strong); font-size: 14px; line-height: 1.55; color: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; }
.plw__akcje { display: flex; flex-wrap: wrap; gap: 8px; }
.plw__znak { display: inline-flex; align-items: center; height: 24px; margin-left: 8px; padding: 0 9px; border-radius: 999px; background: #fef3c7; font-size: 12px; font-weight: 500; color: #92400e; vertical-align: 2px; }
.plw details { margin-top: 12px; }
.plw summary { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); cursor: pointer; list-style: none; }
.plw summary::-webkit-details-marker { display: none; }
.plw summary .ico { width: 14px; height: 14px; transition: transform .2s; }
.plw details[open] summary .ico { transform: rotate(180deg); }
.plw__pliki { margin: 10px 0 0; padding: 0; list-style: none; }
.plw__plik { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.plw__plik span:first-child { overflow: hidden; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.plw__plik small { font-size: 13px; color: var(--muted); white-space: nowrap; }
.plw__usun:hover { border-color: #dc2626; color: #dc2626; }
.plw__info { margin: 8px 0 0; font-size: 13px; color: var(--ok); }
.plw__info[hidden] { display: none; }
@media (max-width: 640px) {
  .plw { padding: 16px; }
  .plw__akcje { width: 100%; }
  .plw__akcje .btn { flex: 1 1 auto; }
  .plw__plik { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; }
  .plw__plik small { grid-column: 1; grid-row: 2; }
  .plw__plik .btn { grid-column: 2; grid-row: 1 / 3; }
}

/* Okno potwierdzenia (bez confirm() przegladarki) */
.plokno { width: min(420px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); }
.plokno::backdrop { background: rgba(17, 24, 39, .5); }
.plokno h2 { margin: 0; font-size: 18px; font-weight: 500; }
.plokno p { margin: 8px 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--soft); }
.plokno__btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.btn--czerw { background: #dc2626; color: #fff; }
.btn--czerw:hover { background: #b91c1c; }
