/* Isolated form styles: keep the published PV page, portrait and certificate intact. */
#formularz { scroll-margin-top: 140px; }
.pvf-host { width: 100%; min-width: 0; margin-top: 28px; }
.pvf-form, .pvf-form * { box-sizing: border-box; }
.pvf-form { padding: clamp(18px,3vw,28px); border: 1px solid #c8d8cd; border-radius: 20px; background: #fff; color: #183f33; text-align: left; }
.pvf-form h3 { margin: 0 0 10px; color: #183f33; font-size: 1.35rem; line-height: 1.3; }
.pvf-form p { margin: 10px 0 18px; font-size: .9rem; line-height: 1.55; color: #405b50; max-width: none; }
.pvf-form a { color: #18563d; text-decoration: underline; overflow-wrap: anywhere; }
.pvf-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.pvf-field { min-width: 0; }
.pvf-field label { display: block; margin-bottom: 7px; font-size: .92rem; font-weight: 650; line-height: 1.4; }
.pvf-field input, .pvf-field select, .pvf-field textarea { display: block; width: 100%; max-width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #9bafa2; border-radius: 8px; background: #fff; color: #153e31; font: inherit; font-size: 16px; line-height: 1.4; }
.pvf-field textarea { resize: vertical; min-height: 120px; }
.pvf-full { grid-column: 1/-1; }
.pvf-form input:focus-visible, .pvf-form select:focus-visible, .pvf-form textarea:focus-visible, .pvf-form button:focus-visible, .pvf-form a:focus-visible { outline: 3px solid #276e4a; outline-offset: 3px; }
.pvf-field [aria-invalid="true"] { border: 2px solid #a21e28; }
.pvf-error { display: block; color: #a21e28; font-size: .85rem; line-height: 1.5; }
.pvf-error:empty, .pvf-form-status:empty { display: none; }
.pvf-form-status { margin-bottom: 16px; padding: 12px; background: #eff5f0; border-left: 3px solid #276e4a; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.pvf-permission { display: flex; gap: 10px; margin: 20px 0 8px; align-items: flex-start; }
.pvf-permission input { flex: 0 0 auto; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #18563d; }
.pvf-permission label { min-height: 44px; font-size: .9rem; line-height: 1.55; overflow-wrap: anywhere; cursor: pointer; }
.pvf-submit { display: block; width: 100%; min-height: 48px; margin-top: 18px; padding: 12px 16px; border: 0; border-radius: 10px; background: #18563d; color: #fff; font: inherit; font-weight: 650; line-height: 1.4; cursor: pointer; }
.pvf-submit:disabled { background: #64796b; color: #fff; cursor: not-allowed; }
.pvf-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pvf-page, .pvf-notice { margin: 0; background: #f4f7f2; color: #183f33; font: 16px/1.6 system-ui,sans-serif; }
.pvf-wrap, .pvf-notice main { max-width: 820px; margin: 24px auto; padding: 20px; }
.pvf-page header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.pvf-page a, .pvf-notice a { color: #18563d; }
.pvf-notice p { overflow-wrap: anywhere; }
@media(max-width:600px) { .pvf-form-grid { grid-template-columns: 1fr; } .pvf-form { border-radius: 14px; } #formularz { scroll-margin-top: 110px; } }
