/* Moduł „Opiekunowie” – style narzędzi. Korzysta wyłącznie ze zmiennych style.css serwisu. */
.opk-tool{max-width:52rem}
.opk-q{margin:1.4rem 0 1.6rem;padding:1rem 1.1rem 1.1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}
.opk-q[hidden]{display:none}
.opk-lk{border:0;margin:0;padding:0;min-width:0}
.opk-lk legend{padding:0;margin-bottom:.4rem;font-weight:700;line-height:1.35;color:var(--navy)}
.opk-lk .opk-hint{font-size:.92rem;color:var(--muted);margin:.1rem 0 .4rem}
.opk-scale{position:relative;display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr))}
.opk-scale.opk-n2{max-width:24rem}.opk-scale.opk-n3{max-width:34rem}
.opk-scale::before{content:"";position:absolute;top:26px;left:calc(50% / var(--n,3));right:calc(50% / var(--n,3));height:2px;background:var(--border)}
.opk-opt{position:relative;display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:0 2px 4px;cursor:pointer;min-width:0}
.opk-hit{position:relative;height:52px;width:100%;min-width:44px;display:flex;align-items:center;justify-content:center}
.opk-hit input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.opk-dot{width:var(--z,32px);height:var(--z,32px);border-radius:999px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;background:var(--surface);border:2.5px solid var(--muted);color:#fff;font-weight:800;font-size:calc(var(--z,32px) * .5)}
.opk-hit input:checked+.opk-dot{background:var(--teal);border:3px solid var(--teal);box-shadow:0 0 0 4px var(--ok-bg)}
.opk-hit input:checked+.opk-dot::after{content:"✓"}
.opk-hit input:focus-visible+.opk-dot{outline:3px solid var(--focus);outline-offset:3px}
.opk-opt:hover .opk-dot{border-color:var(--teal)}
.opk-lbl{font-size:.82rem;line-height:1.2;text-align:center;color:var(--muted);overflow-wrap:normal;hyphens:manual;min-width:0}
.opk-opt:has(input:checked) .opk-lbl{color:var(--text);font-weight:800}
.opk-clear{margin-top:.1rem;min-height:36px;padding:.2rem .5rem;border:0;background:transparent;color:var(--teal);text-decoration:underline;cursor:pointer;font:inherit;font-size:.9rem}
.opk-clear[hidden]{display:none}
@media (max-width:560px){.opk-scale{grid-template-columns:1fr;max-width:none!important}.opk-scale::before{display:none}.opk-opt{flex-direction:row;justify-content:flex-start;gap:.6rem}.opk-hit{width:52px;flex:0 0 52px}.opk-lbl{text-align:left;font-size:.95rem}}
.opk-field{margin:1rem 0}
.opk-field label{display:block;font-weight:700;color:var(--navy);margin-bottom:.3rem}
.opk-field input[type=text],.opk-field input[type=date],.opk-field input[type=number],.opk-field textarea{width:100%;max-width:36rem;font:inherit;padding:.55rem .7rem;border:2px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)}
.opk-field textarea{min-height:6rem}
.opk-field input:focus,.opk-field textarea:focus{outline:3px solid var(--focus);outline-offset:2px}
.opk-res{margin-top:1.5rem}
.opk-res .card h3{margin-top:.2rem}
.opk-status{display:inline-block;font-weight:800;font-size:.85rem;padding:.1rem .55rem;border-radius:999px;border:2px solid var(--border)}
.opk-status.tak{background:var(--ok-bg);border-color:var(--teal)}
.opk-status.moze{background:var(--warn-bg);border-color:var(--warn-b)}
.opk-status.nie{background:var(--surface2)}
.opk-alarm{border:3px solid var(--accent);background:var(--accent-bg);border-radius:var(--radius);padding:1rem 1.2rem;margin:1.2rem 0}
.opk-alarm h2,.opk-alarm h3{margin-top:0;color:var(--accent)}
.opk-steps{counter-reset:s;list-style:none;padding-left:0}
.opk-steps>li{counter-increment:s;position:relative;padding-left:2.4rem;margin:.6rem 0}
.opk-steps>li::before{content:counter(s);position:absolute;left:0;top:.05rem;width:1.8rem;height:1.8rem;border-radius:999px;background:var(--teal);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.opk-big{font-size:1.6rem;font-weight:800;color:var(--navy)}
.opk-tabs{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 1rem}
.opk-out{white-space:pre-wrap;font-family:"Liberation Serif","Times New Roman",serif;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:1.2rem 1.4rem;max-width:44rem;line-height:1.55}
.opk-hub .card .ico{color:var(--teal)}
@media print{header.site,footer.site,.crumbs,.share,.opk-noprint{display:none!important}.opk-out{border:0;padding:0}}
