.nm-form{position:relative;max-width:100%;font-size:1rem}.nm-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.nm-form__field{display:flex;flex-direction:column;gap:.5rem;min-width:0}.nm-form__full{grid-column:1/-1}.nm-form label,.nm-form legend{font-weight:600;font-size:1rem}.nm-form input:not([type=checkbox]),.nm-form select,.nm-form textarea{box-sizing:border-box;width:100%;min-height:48px;padding:.85rem 1rem;border:1px solid #707b94;border-radius:10px;background:#fff;color:#0B1736;font:inherit}.nm-form textarea{resize:vertical}.nm-form select{appearance:none;padding-right:2.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23202124' stroke-width='2'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat}.nm-form input:focus-visible,.nm-form textarea:focus-visible,.nm-form select:focus-visible,.nm-consent button:focus-visible,.nm-consent input:focus-visible{outline:3px solid #0255A3;outline-offset:3px}.nm-form__check{display:flex;gap:.65rem;align-items:flex-start}.nm-form__check input{flex:none;width:20px;height:20px;margin-top:.15rem;accent-color:#0255A3}.nm-form__check span{line-height:1.5;font-weight:400}.nm-form fieldset{padding:1rem;border:1px solid #707b94;border-radius:10px;min-width:0}.nm-form__interests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.nm-form__hint,.nm-form__privacy,.nm-form small{font-size:.875rem;line-height:1.6}.nm-form__privacy a{text-decoration:underline;text-underline-offset:.2em;color:inherit}.nm-form__status:empty{display:none}.nm-form__status{padding:1rem;border-radius:10px;background:#F1F7FC;color:#0B1736;border-left:4px solid #0255A3}.nm-form__status[data-state=error]{background:#fff1f0;color:#822018;border-left-color:#822018}.nm-form__status[data-state=success]{background:#ebf6ee;color:#16552b;border-left-color:#16552b}.nm-form button[type=submit]{min-height:48px;cursor:pointer}.nm-form button:disabled{cursor:wait;opacity:.75}.nm-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.nm-consent[hidden]{display:none!important}.nm-consent{position:fixed;z-index:100000;inset:auto 1rem 1rem;max-width:1100px;max-height:calc(100dvh - 2rem);overflow:auto;margin:auto;padding:1.5rem;border:1px solid #283D7C;border-radius:20px;background:#fff;color:#0B1736;box-shadow:0 12px 80px #070d2440;font-family:inherit;font-size:1rem;line-height:1.5}.nm-consent h2{font-size:1.375rem;line-height:1.3;margin:0 0 .5rem;color:#0B1736}.nm-consent p{margin:0 0 1rem}.nm-consent a{color:#0255A3;text-decoration:underline}.nm-consent__options{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem;border:0;padding:0;margin:0 0 1.2rem}.nm-consent__options legend{font-size:.875rem;margin-bottom:.5rem}.nm-consent__options label{display:flex;align-items:center;gap:.5rem;font-size:1rem}.nm-consent__options input{width:20px;height:20px;accent-color:#0255A3}.nm-consent__actions{display:flex;flex-wrap:wrap;gap:.75rem}.nm-consent__actions button{flex:1;min-height:48px;min-width:160px;border:1px solid #0B1736;border-radius:10px;background:#FFD729;color:#0B1736;padding:.75rem 1rem;font:inherit;font-weight:700;cursor:pointer}.nm-consent__actions button:hover{background:#F1F7FC}.nm-consent__actions button:focus-visible{outline:3px solid #0255A3;outline-offset:3px}@media(max-width:600px){.nm-form__grid,.nm-form__interests{grid-template-columns:1fr}.nm-consent{inset:auto .5rem .5rem;padding:1rem;border-radius:16px}.nm-consent__options{display:grid}.nm-consent__actions{display:grid;grid-template-columns:1fr}.nm-consent__actions button{width:100%}}
/* Consent is a modal dialog: its top layer keeps focused controls above the page. */
.nm-consent{position:fixed;z-index:90;width:min(1100px,calc(100% - 2rem));inset:auto 0 1rem;box-sizing:border-box;box-shadow:0 14px 40px rgb(7 13 36 / 28%)}@media(max-width:700px){.nm-consent{inset:auto 0 var(--nm-consent-bottom,calc(62px + env(safe-area-inset-bottom)));max-height:calc(100dvh - var(--nm-consent-bottom,62px) - 76px);padding:12px 14px;font-size:14px}.nm-consent .nm-consent__header{display:flex;flex-wrap:nowrap;gap:.6rem;align-items:center}.nm-consent .nm-consent__header h2{font-size:15px;line-height:1.25;margin:0}.nm-consent .nm-consent__close{flex:0 0 auto;font-size:12px;padding:.3rem .55rem;min-height:32px;white-space:nowrap}.nm-consent .nm-consent__copy p,.nm-consent[data-nm-consent-view=intro] .nm-consent__copy p{margin:.35rem 0 .55rem;font-size:13px;line-height:1.35}.nm-consent .nm-consent__actions{display:flex;flex-wrap:wrap;gap:.4rem}.nm-consent .nm-consent__actions>button{flex:1 1 calc(50% - .4rem);padding:.45rem .4rem;font-size:13px;min-height:38px;line-height:1.15}}.nm-consent__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;margin-bottom:.75rem}.nm-consent__header h2{margin:0;max-width:700px}.nm-consent__close{flex:none;min-height:44px;padding:.5rem .85rem;border:1px solid #283D7C;border-radius:10px;background:#fff;color:#0B1736;font:inherit;font-size:.875rem;font-weight:700;cursor:pointer}.nm-consent__close:hover{background:#F1F7FC}.nm-consent [tabindex="-1"]:focus{outline:3px solid #0255A3;outline-offset:4px}.nm-consent a,.nm-consent button,.nm-consent input{scroll-margin-block:1rem}@media(max-width:600px){.nm-consent{width:calc(100% - 1rem)}}
/* K16: the first layer contains three equal choices; category fields open in settings. */
.nm-consent__options[hidden]{display:none!important}.nm-consent[data-nm-consent-view=intro] .nm-consent__copy p{margin-bottom:1.25rem}.nm-consent__actions>button{flex:1 1 0;min-width:0}

#nm-kontakt-formularz,#nm-diagnosis-contact,.nm-form__status[id]{scroll-margin-top:96px}
/* 5.0.4: callback form in the footer of every page */
.nm-form--callback{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:start}.nm-form--callback .nm-form__grid{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.nm-form--callback>.nm-button{grid-column:2;grid-row:1;margin-top:31px;white-space:nowrap}.nm-form--callback .nm-form__privacy,.nm-form--callback .nm-form__status,.nm-form--callback .nm-form__hint{grid-column:1/-1}.nm-form--callback .nm-form__privacy{margin:0;font-size:13px}.nm-form--callback .nm-form__hint{margin:0;font-size:13px}.nm-form--callback .nm-form__status:empty{display:none}@media(max-width:600px){.nm-form--callback{grid-template-columns:minmax(0,1fr)}.nm-form--callback>.nm-button{grid-column:1;grid-row:auto;margin-top:0;width:100%}}
/* 5.0.4: on wide screens the first layer is one compact row (text left, equal choices right) so it does not cover the first screen; settings keep the full layout. */
@media(min-width:1024px){.nm-consent[data-nm-consent-view=intro]{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"head actions" "copy actions";align-items:center;column-gap:28px;row-gap:4px;width:min(1240px,calc(100% - 2rem));padding:14px 18px 14px 22px}.nm-consent[data-nm-consent-view=intro] .nm-consent__header{grid-area:head;margin:0;align-items:center;gap:1rem}.nm-consent[data-nm-consent-view=intro] .nm-consent__header h2{font-size:1.0625rem}.nm-consent[data-nm-consent-view=intro] .nm-consent__close{min-height:36px;padding:.3rem .75rem;font-size:.8125rem}.nm-consent[data-nm-consent-view=intro] .nm-consent__copy{grid-area:copy}.nm-consent[data-nm-consent-view=intro] .nm-consent__copy p{margin:0;font-size:.9375rem;line-height:1.45}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions{grid-area:actions;flex-wrap:nowrap;gap:.6rem}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions>button{flex:0 0 auto;min-width:150px;min-height:44px;padding:.55rem 1rem}}
/* 5.0.4 F2: on phones the banner stands above the „Zadzwoń / Wycena” bar at every width up to 700 px (the old 600 px rule put it back at the bottom edge and turned the header into a column). While it is open, the page reserves its measured height (consent.js sets --nm-consent-space): the end of the page scrolls above the banner and focused controls stay visible (WCAG 2.4.11). The reserved strip has the footer colour (--mist). */
html.nm-consent-open{scroll-padding-bottom:var(--nm-consent-space,150px)}html.nm-consent-open body{padding-bottom:var(--nm-consent-space,150px);background:linear-gradient(#fff,#fff) 0 0/100% calc(100% - var(--nm-consent-space,150px)) no-repeat #F1F7FC}
/* 5.0.4 F1: a link that breaks over two lines has no hit area in the middle of its box; the privacy link stays on one line. */
.nm-form__privacy a{white-space:nowrap}
/* 5.0.4 F10: callback form: phone field and button in one row, the consent under them across the whole form at every width. */
.nm-form--callback .nm-form__grid{display:contents}.nm-form--callback .nm-form__field{grid-column:1;grid-row:1}.nm-form--callback .nm-form__full{grid-column:1/-1}
/* 5.0.11 (owner, 24.11.2026): on phones the first-visit banner is compact, so it does not cover the two results under the hero form:
   the title only for screen readers, „Odrzuć opcjonalne” and „Akceptuj wszystkie” side by side (44 px), „Ustawienia” and „Zamknij bez zmian”
   as text links in one row under them. The settings view and wider screens are unchanged. */
@media(max-width:700px){.nm-consent[data-nm-consent-view=intro]{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"copy copy" "reject accept" "settings close";column-gap:.5rem;row-gap:.25rem;padding:8px 12px 6px}.nm-consent[data-nm-consent-view=intro] .nm-consent__header,.nm-consent[data-nm-consent-view=intro] .nm-consent__actions{display:contents}.nm-consent[data-nm-consent-view=intro] .nm-consent__header h2{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.nm-consent[data-nm-consent-view=intro] .nm-consent__copy{grid-area:copy}.nm-consent[data-nm-consent-view=intro] .nm-consent__copy p{margin:0 0 .15rem}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions>[data-nm-consent-action=reject]{grid-area:reject}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions>[data-nm-consent-action=accept]{grid-area:accept}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions>button{min-height:44px;min-width:0}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions>[data-nm-consent-action=settings]{grid-area:settings;justify-self:start}.nm-consent[data-nm-consent-view=intro] .nm-consent__close{grid-area:close;justify-self:end}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions>[data-nm-consent-action=settings],.nm-consent[data-nm-consent-view=intro] .nm-consent__close{min-height:30px;padding:.15rem .15rem;border:0;border-radius:6px;background:none;color:#0255A3;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:2px}}
/* 5.0.12 (after WERYFIKACJA-5.0.11): in the compact banner the header „Zamknij bez zmian” is hidden and the same button at the end
   of the actions is shown instead, so the Tab order matches the layout. Elsewhere the second button stays hidden. */
.nm-consent__close--end{display:none}
@media(max-width:700px){.nm-consent[data-nm-consent-view=intro] .nm-consent__header .nm-consent__close{display:none}.nm-consent[data-nm-consent-view=intro] .nm-consent__close--end{display:block}.nm-consent[data-nm-consent-view=intro] .nm-consent__actions>.nm-consent__close--end{min-height:30px;width:auto}}
/* 5.0.16 (team test, 25.11.2026): in an older Safari the banner filled the whole window. The banner is a <dialog> and the browser style
   of a dialog sets height:fit-content; older WebKit (bug 260461) stretches an out-of-flow grid with that height to the window, so the
   compact grid views (from 1024 px and up to 700 px) grew to their max-height. height:auto keeps the banner as tall as its content. */
.nm-consent{height:auto}
