/* Narzedzia: kalkulatory, tabele, kalendarze ([narzedzie id="..."]). */
.nz { margin-block: 8px 1.6em; font-size: 1rem; line-height: 1.6; }
.nz-form { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 18px; background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; }
.nz-pole { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.nz-pole input, .nz-pole select { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 1.05rem; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; }
.nz-pole input:focus, .nz-pole select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.nz-szukaj { margin-bottom: 12px; max-width: 420px; }
.nz-wynik { padding: 18px 20px; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); margin-bottom: 1.4em; }
.nz-wynik:empty { display: none; }
.nz-wynik[hidden] { display: none; }
.nz-wynik p { margin: 0 0 .5em; }
.nz-wynik p:last-child { margin-bottom: 0; }
.nz-duzy { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; line-height: 1.15; color: var(--text); display: block; margin-bottom: 4px; }
.nz-kv { display: grid; grid-template-columns: minmax(130px, max-content) 1fr; gap: 6px 18px; margin: 0; }
.nz-kv dt { color: var(--muted); font-size: .92rem; }
.nz-kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.nz-kv code, .nz code { font-family: var(--font-mono); font-size: .92em; }
.nz-blad { color: #b42318; font-weight: 600; }
.nz-uwaga { font-size: .92rem; color: var(--muted); }
.nz-tabela { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.4em; }
.nz table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.nz th, .nz td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.nz thead th { border-bottom: 2px solid var(--rule); white-space: nowrap; }
.nz tr.nz-weekend td { color: var(--muted); }
.nz tr.nz-suma td { font-weight: 700; border-top: 2px solid var(--rule); }
.nz tr.nz-grupa th { background: var(--soft); border-bottom: 1px solid var(--border); }
.nz tr.nz-minione td { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--border); }
.nz tr.nz-teraz td, .nz td.nz-teraz, .nz tr.nz-teraz th { background: rgba(var(--accent-rgb), .1); }
.nz small { color: var(--muted); }
.nz-ascii td:last-child { font-family: var(--font-mono); }
.nz-kroki { margin: .6em 0 0; padding-left: 1.2em; font-family: var(--font-mono); font-size: .9rem; }
.nz-kroki li { margin: 2px 0; }
.nz-pasek { position: relative; height: 12px; border-radius: 6px; margin: 14px 0 6px; background: linear-gradient(90deg, #60a5fa 0 14%, #22c55e 14% 40%, #f59e0b 40% 60%, #ef4444 60%); }
.nz-pasek i { position: absolute; top: -5px; width: 4px; height: 22px; margin-left: -2px; border-radius: 2px; background: var(--text); }
.nz-miesiac { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; background: var(--surface); }
.nz-miesiac summary { cursor: pointer; padding: 12px 16px; font-weight: 700; }
.nz-miesiac[open] summary { border-bottom: 1px solid var(--border); }
.nz-miesiac ul { list-style: none; margin: 0; padding: 6px 16px 12px; }
.nz-miesiac li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.nz-miesiac li:last-child { border-bottom: 0; }
.nz-miesiac li strong { display: inline-block; min-width: 110px; }
.nz-miesiac li.nz-teraz { background: rgba(var(--accent-rgb), .1); margin-inline: -16px; padding-inline: 16px; }
.nz-dni { padding-left: 1.2em; }
.nz-dni li { margin-bottom: 6px; }
.nz-lead { font-size: 1.15rem; }
.nz-chmura { line-height: 2; }
.nz-podsieci { margin-top: .8em; }
@media (max-width: 600px) {
	.nz-form { padding: 14px; }
	.nz-kv { grid-template-columns: 1fr; gap: 0; }
	.nz-kv dd { margin-bottom: 8px; }
	.nz th, .nz td { padding: 8px; }
}
.nz-kv code { overflow-wrap: anywhere; }
.nz-dzis .nz-duzy { font-size: clamp(1.3rem, 4vw, 1.6rem); line-height: 1.35; }
.nz-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.nz-lista a { display: grid; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.nz-lista a:hover { border-color: var(--accent); }
.nz-lista strong { font-size: 1.1rem; }
.nz-lista span { color: var(--muted); font-size: .93rem; line-height: 1.5; }
