body,html{background:#071c31}:root{--bg:#F8FAFC;--card:#FFF;--border:#E2E8F0;--text:#0B1F3A;--muted:#334155;--pri-700:#0B1F3A;--pri-600:#1E40AF;--pri-500:#2563EB;--blue-50:#EFF6FF;--ok:#16A34A;--warn:#F59E0B;--err:#DC2626;--radius:16px;--zw:#1D4ED8;--cwu:#DC2626}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Open Sans",sans-serif;background:linear-gradient(180deg,#071c31,#102f4d 55%,#0b1d31);color:#e2e8f0;background:linear-gradient(180deg,var(--bg-deep-1) 0,var(--bg-deep-2) 55%,var(--bg-deep-3) 100%)}.wrap{max-width:1280px;margin-inline:auto;padding:0 24px 24px}header{display:flex;align-items:center;gap:16px;margin:8px 0 16px}header img{width:48px;height:48px;border-radius:12px}p.lead{margin:0 0 12px;color:var(--muted)}.meters{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.meters>section{flex:1 1 calc(50% - 8px)}@media (max-width:760px){.meters>section{flex-basis:100%}}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:0 .5px 1px rgba(0,0,0,.05)}.card h3{margin:0;font-size:18px}.card-head{display:grid;grid-template-columns:1fr auto;align-items:center;margin:0 0 12px}.card-head .inline-check{font-weight:600;font-size:14px;white-space:nowrap}.stack{display:flex;flex-direction:column;gap:12px;margin-top:12px}.gauge-wrap{display:grid;place-items:center}.gauge{display:block;width:164px;height:164px}.gauge .ring{fill:none;stroke:#e5e7eb;stroke-width:14}.zw .gauge .ring{stroke:#bfdbfe}.cwu .gauge .ring{stroke:#fecaca}.gauge .ticks{stroke:#94a3b8;stroke-width:2}.gauge .hand{stroke:#0f172a;stroke-width:3;stroke-linecap:round;transform-origin:82px 82px}.gauge .hub{fill:#475569}.zw .accent{stroke:var(--zw)}.cwu .accent{stroke:var(--cwu)}.gauge .odo-bg{fill:#fff;stroke:#cbd5e1;stroke-width:2;rx:6;ry:6}.gauge .odo-text{fill:#0b1324;font:700 16px ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;letter-spacing:.04em}form{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;background:var(--card-tint)}.grid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important}.grid label,.grid label>input,.grid label>select,.grid label>textarea{width:100%}.row-extra{display:grid;gap:12px;grid-template-columns:1fr 1fr auto!important;margin-top:12px;align-items:end}.row-extra .submit-wrap{display:flex;justify-content:flex-end;align-items:center;justify-self:end}.row-extra .submit-wrap .btn{margin-left:auto}.row-extra .hp{align-self:center}@media (max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.row-extra label>input{width:100%}@media (max-width:620px){.grid,.row-extra{grid-template-columns:1fr}}label{display:flex;flex-direction:column;gap:6px;font-weight:600}label.field-error input,label.field-error select,label.field-error textarea{border-color:var(--err)}input,select,textarea{border:1px solid var(--border);border-radius:10px;padding:10px 12px;font:inherit}input:focus,select:focus,textarea:focus{outline:2px solid color-mix(in oklab,var(--pri-500) 60%,white);outline-offset:1px;outline:0;border-color:var(--pri-500);box-shadow:0 0 0 4px rgba(37,99,235,.18)}.actions{display:flex;gap:12px;align-items:center;margin-top:8px;flex-wrap:wrap}.muted{color:var(--muted);font-size:14px}.card .muted{color:var(--muted)}.hp{top:auto;position:static!important;left:auto!important;width:auto!important;height:auto!important;overflow:visible!important}.hp-text strong{display:block}.input-error,label.field-error input,label.field-error select,label.field-error textarea{border-color:var(--err)!important;box-shadow:0 0 0 3px rgba(220,38,38,.35)!important}.notice{background:var(--blue-50);border:1px dashed #bfdbfe;padding:8px 12px;border-radius:10px;margin:8px 0}.attach-note{margin-top:4px;font-weight:500;font-size:13px;line-height:1.35;color:var(--text);opacity:.95}.attach-note strong{color:var(--text)}.attach-hint{display:none;margin-top:6px;font-weight:600;color:var(--muted)}@media (max-width:720px){.attach-hint{display:block}}.toast{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);background:rgba(0,0,0,.78);color:#fff;padding:10px 14px;border-radius:12px;font-size:13px;z-index:9999;max-width:min(92vw,680px);display:none;box-shadow:0 10px 30px rgba(0,0,0,.35);pointer-events:none;text-align:center}.toast.show{display:block}footer{margin:24px 0 8px;color:var(--muted);font-size:14px}.no-cwu{margin:0}.seo{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-top:16px}.seo h2{margin-top:0}.typing{border-color:var(--pri-500)!important;box-shadow:0 0 0 3px rgba(37,99,235,.18)!important}.big-check input[type=checkbox]{accent-color:var(--pri-600);width:24px;height:24px;accent-color:var(--pri-600)}:root{--bg-deep-1:#0B1F3A;--bg-deep-2:#0D2A52;--bg-deep-3:#0A1E3B;--text:#E6EEFF;--muted:#C7D8FF;--card:#E8F1FF;--card-tint:#E3EDFF;--pri-700:#0B1F3A;--pri-600:#1333A3;--pri-500:#1D4ED8;--border:#A9C2F5}.notice{background:rgba(29,78,216,.08);border-color:rgba(29,78,216,.25);color:#0b1f3a}.card{background:var(--card);border:1px solid var(--border);color:#0b1f3a}.card.zw{border:4px solid #1d4ed8!important}.card.cwu{border:4px solid #dc2626!important}.zw .gauge .ring{stroke:#1D4ED8}.cwu .gauge .ring{stroke:#EF4444}.card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;display:grid;grid-template-columns:1fr auto;align-items:center}.actions,.seo,form{color:#0b1f3a}.actions .muted{color:#405175}.inline-check{display:flex;align-items:center}:root{--card:#D6E4FF;--card-tint:#CCDBFF;--border:#7FA3F5}.card-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;height:56px;min-height:56px;flex-wrap:nowrap}.card-head h3{margin:0;white-space:nowrap}.inline-check{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.gauge{margin:0 auto 6px}/* v266: wymuszenie ciemnego motywu (wodomierze) */
:root{--bg:#071c31;--bg-2:#0d274d;--card:#102a43;--card-tint:#102a43;--border:rgba(148,163,184,.25);--text:#e2e8f0;--muted:#94a3b8;--accent:#67e8f9}
body{background:linear-gradient(180deg,var(--bg) 0,var(--bg-2) 100%)!important;color:var(--text)!important}
.wrap,.card,form,.seo,.actions,label,.meter-card{color:var(--text)!important}
.card,form,.seo,.meter-card{background:var(--card)!important;border-color:var(--border)!important}
.muted,.note,.remember-note,.remember-note *{color:var(--muted)!important}
input,textarea,select{background:rgba(255,255,255,.06)!important;color:var(--text)!important;border-color:var(--border)!important}
input::placeholder,textarea::placeholder{color:rgba(226,232,240,.55)!important}
.gauge .hub{fill:#94a3b8!important}
.gauge .hand{stroke:#e2e8f0!important}
.gauge .odo-bg{fill:rgba(255,255,255,.06)!important;stroke:var(--border)!important}
.gauge .odo-text{fill:var(--text)!important}
.notice{background:rgba(103,232,249,.08)!important;border-color:var(--border)!important;color:var(--text)!important}
/* v343: ujednolicone obramowania pól formularzy (Wodomierze) */
body.page-wodomierze label:not(.field-error) input:not([type=checkbox]):not([type=radio]):not([type=file]),
body.page-wodomierze label:not(.field-error) select,
body.page-wodomierze label:not(.field-error) textarea{
  border:1.5px solid rgba(103,232,249,.58)!important;
}
body.page-wodomierze label:not(.field-error) input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
body.page-wodomierze label:not(.field-error) select:focus,
body.page-wodomierze label:not(.field-error) textarea:focus{
  border-color:rgba(103,232,249,.92)!important;
  box-shadow:0 0 0 4px rgba(103,232,249,.22)!important;
}
body.page-wodomierze input[type=file]{
  border:1.5px solid rgba(103,232,249,.58)!important;
  background:rgba(255,255,255,.06)!important;
  color:var(--text)!important;
}
body.page-wodomierze input[type=file]:focus{
  border-color:rgba(103,232,249,.92)!important;
  box-shadow:0 0 0 4px rgba(103,232,249,.22)!important;
}
body.page-wodomierze input[type=file]::file-selector-button,
body.page-wodomierze input[type=file]::-webkit-file-upload-button{
  border:1px solid rgba(103,232,249,.58)!important;
  background:rgba(103,232,249,.14)!important;
  color:var(--text)!important;
  border-radius:10px!important;
  padding:8px 10px!important;
  margin-right:10px!important;
}

/* v300_stable_scroll_cls_fix */
.scroll-btn{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;border-radius:999px!important;background:#2196f3!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;box-shadow:none!important}
.scroll-btn:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}
.nav-toggle{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;line-height:44px!important}
.nav-toggle:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important}


/* v307 – date picker button + desktop photo behavior + brighter collapse button */
.page-wodomierze .date-wrap{position:relative;display:block;}
.page-wodomierze .date-wrap input[type=date]{padding-right:52px;}
.page-wodomierze .date-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:12px;border:1px solid rgba(56,189,248,.55);background:rgba(56,189,248,.18);color:var(--ui-accent,#38bdf8);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:3;}
.page-wodomierze .date-btn:hover{background:rgba(56,189,248,.26);}
.page-wodomierze .date-btn svg{width:18px;height:18px;display:block;}
.page-wodomierze input[type=date]::-webkit-calendar-picker-indicator{opacity:1;cursor:pointer;}
.page-wodomierze .attach-row{display:flex;align-items:center;gap:10px;margin-top:6px;flex-wrap:wrap;}
.page-wodomierze .attach-mini{font-size:13px;line-height:1.2;}
.page-wodomierze #wodo-collapse-bottom.btn.btn-gold{background:var(--ui-accent,#38bdf8)!important;border:1px solid rgba(56,189,248,.95)!important;color:#06233a!important;text-shadow:none!important;}
.page-wodomierze #wodo-collapse-bottom.btn.btn-gold:hover{background:rgba(56,189,248,.9)!important;}

/* v308 – mocniejsze obramowanie błędów pól (na tle przerywanych ramek) */
body.page-wodomierze label.field-error input,body.page-wodomierze label.field-error select,body.page-wodomierze label.field-error textarea,body.page-wodomierze .input-error{border:2px solid var(--err)!important;box-shadow:0 0 0 4px rgba(220,38,38,.32)!important;}

/* v313: czytelne błędy pól – bez czerwieni (cyan + jasne tło) */
body.page-wodomierze label.field-error input,body.page-wodomierze label.field-error select,body.page-wodomierze label.field-error textarea,body.page-wodomierze .input-error{border:2px solid rgba(56,189,248,.98)!important;box-shadow:none!important;background:#fff!important;color:#0b1f3a!important;}

/* v314: nadpisanie natywnego :invalid (Chrome) na styl blekitny */
body.page-wodomierze input:invalid,
body.page-wodomierze textarea:invalid,
body.page-wodomierze select:invalid{
  border:1.5px solid rgba(103,232,249,.58)!important;
  box-shadow:none!important;
}

/* v316: czytelniejszy zapis działania w anty-bocie */
.hp-math .hp-q{font-weight:800;color:rgba(255,255,255,.92)}
