/* NKK Dokumenty Prawne 1.1.1 */
html body.nkk-legal-system{
  --legal-ink:#181411;--legal-muted:#6c625a;--legal-accent:#8a1f2d;--legal-line:#d8cec1;--legal-line-strong:#b9ab9d;--legal-paper:#f7f3ec;--legal-light:#fffdf8;--legal-soft:rgba(138,31,45,.045);--legal-serif:Georgia,"Times New Roman",serif;--legal-sans:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--legal-paper);color:var(--legal-ink)
}
html body.nkk-legal-system *{box-sizing:border-box}
html body.nkk-legal-system .nkk-legal-shell{width:min(calc(100% - 56px),1380px);max-width:1380px;margin-inline:auto}
.nkk-legal-main{background:var(--legal-paper)}
.nkk-legal-eyebrow{display:block;margin:0 0 8px;color:var(--legal-accent);font-family:var(--legal-sans);font-size:8px;font-weight:850;line-height:1.2;letter-spacing:.13em;text-transform:uppercase}
.nkk-legal-progress{position:fixed;left:0;right:0;top:0;height:2px;z-index:99999;pointer-events:none}.nkk-legal-progress span{display:block;width:0;height:100%;background:var(--legal-accent)}

/* HERO */
.nkk-legal-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:clamp(42px,6vw,86px);align-items:center;padding:38px 0 40px;border-bottom:1px solid var(--legal-line-strong)}
.nkk-legal-breadcrumb{display:flex;flex-wrap:wrap;gap:5px 8px;margin-bottom:22px;color:#857970;font-family:var(--legal-sans);font-size:9px;font-weight:700}.nkk-legal-breadcrumb a{color:inherit;text-decoration:none}.nkk-legal-breadcrumb a:hover{color:var(--legal-accent)}
.nkk-legal-hero h1{margin:0;font-family:var(--legal-serif);font-size:clamp(36px,4vw,52px);font-weight:400;line-height:1.02;letter-spacing:-.025em}
.nkk-legal-hero__lead{max-width:820px;margin:15px 0 0;color:#4d4540;font-family:var(--legal-serif);font-size:15.5px;line-height:1.68}
.nkk-legal-updated{margin:17px 0 0;color:#867a71;font-family:var(--legal-sans);font-size:8.5px;letter-spacing:.025em}.nkk-legal-updated strong{color:#61564f;font-weight:750}
.nkk-legal-seal{position:relative;width:168px;aspect-ratio:1;justify-self:end;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:50%;border:1px solid var(--legal-line-strong);background:rgba(255,253,248,.78);text-align:center}
.nkk-legal-seal__ring{position:absolute;inset:14px;border:1px dashed rgba(138,31,45,.18);border-radius:50%;animation:nkkLegalTurn 48s linear infinite}
.nkk-legal-seal__icon{position:relative;z-index:2;width:47px;height:47px;color:var(--legal-accent)}.nkk-legal-seal__icon svg,.nkk-legal-related__icon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nkk-legal-seal>strong{position:relative;z-index:2;margin-top:5px;color:#554943;font-family:var(--legal-serif);font-size:16px;font-weight:400}.nkk-legal-seal>small{position:relative;z-index:2;margin-top:3px;color:#94877d;font-family:var(--legal-sans);font-size:6.5px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}

/* DOCUMENT NAV */
.nkk-legal-docnav{border-bottom:1px solid var(--legal-line);background:rgba(255,253,248,.42)}
.nkk-legal-docnav .nkk-legal-shell{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.nkk-legal-docnav a{position:relative;min-height:58px;display:flex;align-items:center;gap:9px;padding:0 18px;border-right:1px solid var(--legal-line);color:#6d625a;text-decoration:none}.nkk-legal-docnav a:first-child{border-left:1px solid var(--legal-line)}
.nkk-legal-docnav a span{color:#a09085;font-family:var(--legal-sans);font-size:7px;font-weight:850}.nkk-legal-docnav a strong{font-family:var(--legal-serif);font-size:12.5px;font-weight:400}.nkk-legal-docnav a:hover{background:#fffdf8;color:var(--legal-accent)}.nkk-legal-docnav a.is-active{color:var(--legal-accent);background:rgba(138,31,45,.025)}.nkk-legal-docnav a.is-active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:2px;background:var(--legal-accent)}

/* BODY */
.nkk-legal-layout{display:grid;grid-template-columns:245px minmax(0,900px);gap:clamp(48px,6vw,86px);justify-content:center;padding:48px 0 58px}.nkk-legal-layout--no-toc{grid-template-columns:minmax(0,900px)}
.nkk-legal-aside{align-self:start;position:sticky;top:104px}.nkk-legal-aside>strong{display:block;margin-bottom:14px;font-family:var(--legal-serif);font-size:20px;font-weight:400}
.nkk-legal-toc{border-top:1px solid var(--legal-line-strong)}
.nkk-legal-toc a{display:grid;grid-template-columns:27px minmax(0,1fr);gap:9px;align-items:start;padding:11px 4px;border-bottom:1px solid var(--legal-line);color:#655b54;text-decoration:none;transition:color .18s ease,background .18s ease,padding .18s ease}
.nkk-legal-toc a>span{padding-top:2px;color:#a09389;font-family:var(--legal-sans);font-size:7px;font-weight:850}.nkk-legal-toc a>strong{font-family:var(--legal-serif);font-size:12.2px;font-weight:400;line-height:1.26}
.nkk-legal-toc a:hover{color:var(--legal-accent)}.nkk-legal-toc a.is-active{color:var(--legal-accent);background:var(--legal-soft);box-shadow:inset 2px 0 0 var(--legal-accent);padding-left:10px}
.nkk-legal-article{min-width:0;max-width:900px}.nkk-legal-intro{margin:0 0 36px;padding:0 0 30px;border-bottom:1px solid var(--legal-line)}
.nkk-legal-intro p{margin:0;color:#4b433e;font-family:var(--legal-serif);font-size:16.2px;line-height:1.78}.nkk-legal-intro p+p{margin-top:14px}
.nkk-legal-section{display:grid;grid-template-columns:155px minmax(0,1fr);gap:34px;padding:0 0 38px;margin-bottom:38px;border-bottom:1px solid var(--legal-line);scroll-margin-top:105px}
.nkk-legal-section>header{position:relative;padding-left:15px}.nkk-legal-section>header:before{content:"";position:absolute;left:0;top:5px;bottom:2px;width:1px;background:linear-gradient(var(--legal-accent),var(--legal-line))}
.nkk-legal-section>header span{display:block;margin-bottom:8px;color:var(--legal-accent);font-family:var(--legal-sans);font-size:7.5px;font-weight:850;letter-spacing:.1em}.nkk-legal-section>header h2{margin:0;font-family:var(--legal-serif);font-size:20px;font-weight:400;line-height:1.24}
.nkk-legal-section__body{min-width:0}.nkk-legal-section__body p,.nkk-legal-section__body li{color:#3e3833;font-family:var(--legal-serif);font-size:15px;line-height:1.75}.nkk-legal-section__body p{margin:0 0 15px;text-align:justify;hyphens:auto}.nkk-legal-section__body ul,.nkk-legal-section__body ol{margin:8px 0 18px;padding-left:21px}.nkk-legal-section__body li+li{margin-top:6px}.nkk-legal-section__body h3,.nkk-legal-section__body h4{margin:26px 0 10px;color:#2d2824;font-family:var(--legal-serif);font-size:18px;font-weight:400}.nkk-legal-section__body a{color:#6f2730;text-decoration-color:rgba(138,31,45,.35);text-decoration-thickness:1px;text-underline-offset:2px}.nkk-legal-section__body a:hover{color:var(--legal-accent)}
.nkk-legal-section__body blockquote{margin:22px 0;padding:16px 20px;border-left:2px solid var(--legal-accent);background:var(--legal-soft)}.nkk-legal-section__body blockquote p{text-align:left;font-style:italic}
.nkk-legal-section__body strong{font-weight:650;color:#2d2723}.nkk-legal-section__body code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}.nkk-legal-section__body table{width:100%;border-collapse:collapse;margin:20px 0}.nkk-legal-section__body th,.nkk-legal-section__body td{padding:10px 12px;border-bottom:1px solid var(--legal-line);font-family:var(--legal-serif);font-size:13px;text-align:left}
.nkk-legal-empty{padding:30px;border-top:2px solid var(--legal-accent);border-bottom:1px solid var(--legal-line);background:var(--legal-light)}.nkk-legal-empty h2{margin:0 0 12px;font-family:var(--legal-serif);font-size:24px;font-weight:400}.nkk-legal-empty p{margin:0;font-family:var(--legal-serif);font-size:14px}.nkk-legal-empty a{color:var(--legal-accent)}

/* RELATED */
.nkk-legal-related{padding:40px 0 60px;border-top:1px solid var(--legal-line-strong)}.nkk-legal-related>h2{margin:0 0 20px;font-family:var(--legal-serif);font-size:28px;font-weight:400}.nkk-legal-related__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--legal-line);border-left:1px solid var(--legal-line)}
.nkk-legal-related__grid>a{min-height:118px;display:grid;grid-template-columns:36px minmax(0,1fr) 16px;gap:13px;align-items:center;padding:17px;border-right:1px solid var(--legal-line);border-bottom:1px solid var(--legal-line);color:inherit;text-decoration:none}.nkk-legal-related__grid>a:hover{background:#fffdf8}.nkk-legal-related__icon{width:32px;height:32px;color:var(--legal-accent)}.nkk-legal-related__grid small{display:block;margin-bottom:4px;color:#9b8e84;font-family:var(--legal-sans);font-size:6.5px;font-weight:850}.nkk-legal-related__grid strong{display:block;font-family:var(--legal-serif);font-size:15px;font-weight:400}.nkk-legal-related__grid b{color:#998b82;font-family:var(--legal-serif);font-size:17px;font-weight:400}

@keyframes nkkLegalTurn{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@media(max-width:1000px){html body.nkk-legal-system .nkk-legal-shell{width:min(calc(100% - 32px),1380px)}.nkk-legal-layout{grid-template-columns:210px minmax(0,1fr);gap:38px}.nkk-legal-section{grid-template-columns:135px minmax(0,1fr);gap:26px}.nkk-legal-docnav a{padding-inline:12px}}
@media(max-width:780px){.nkk-legal-hero{grid-template-columns:1fr 145px;gap:26px}.nkk-legal-seal{width:135px}.nkk-legal-docnav .nkk-legal-shell{display:flex;overflow-x:auto;scrollbar-width:none}.nkk-legal-docnav a{min-width:max-content}.nkk-legal-layout{grid-template-columns:1fr}.nkk-legal-aside{position:static}.nkk-legal-toc{display:flex;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--legal-line)}.nkk-legal-toc a{min-width:190px;border-right:1px solid var(--legal-line)}.nkk-legal-section{grid-template-columns:1fr;gap:14px}.nkk-legal-section>header{padding-left:14px}.nkk-legal-related__grid{grid-template-columns:1fr}}
@media(max-width:620px){html body.nkk-legal-system .nkk-legal-shell{width:min(calc(100% - 24px),1380px)}.nkk-legal-hero{grid-template-columns:1fr;padding:30px 0 32px}.nkk-legal-seal{display:none}.nkk-legal-hero h1{font-size:36px}.nkk-legal-hero__lead{font-size:15px}.nkk-legal-layout{padding:36px 0 46px}.nkk-legal-section__body p{font-size:14.7px;text-align:left}.nkk-legal-intro p{font-size:15.4px}.nkk-legal-related{padding-bottom:46px}}
@media(prefers-reduced-motion:reduce){.nkk-legal-seal__ring{animation:none!important}}


/* 1.1.1 — odporność na style motywu/Elementora i skład dokumentów */
html body.nkk-legal-system .nkk-legal-section > header h2,
html body.nkk-legal-system .nkk-legal-section__body h2{
  margin:0!important;
  font-family:var(--legal-serif)!important;
  font-size:20px!important;
  font-style:normal!important;
  font-weight:400!important;
  line-height:1.24!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--legal-ink)!important;
}
html body.nkk-legal-system .nkk-legal-section__body h2{margin:24px 0 10px!important}
html body.nkk-legal-system .nkk-legal-section__body p,
html body.nkk-legal-system .nkk-legal-section__body li{
  font-family:var(--legal-serif)!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1.75!important;
  letter-spacing:0!important;
  overflow-wrap:anywhere;
}
html body.nkk-legal-system .nkk-legal-section__body strong{font-family:inherit!important;font-weight:650!important}
html body.nkk-legal-system .nkk-legal-section__body a{overflow-wrap:anywhere}
html body.nkk-legal-system .nkk-legal-file-row{margin:18px 0 20px!important;text-align:left!important}
html body.nkk-legal-system .nkk-legal-file-link{
  width:min(100%,610px);display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:14px;row-gap:2px;align-items:center;
  padding:14px 16px;border:1px solid var(--legal-line-strong);background:rgba(255,253,248,.66);color:var(--legal-ink)!important;
  text-decoration:none!important;overflow-wrap:normal!important;transition:border-color .18s ease,background .18s ease,transform .18s ease
}
html body.nkk-legal-system .nkk-legal-file-link:hover{border-color:rgba(138,31,45,.42);background:#fffdf8;transform:translateY(-1px)}
html body.nkk-legal-system .nkk-legal-file-link>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(138,31,45,.28);color:var(--legal-accent);font-family:var(--legal-sans);font-size:8px;font-weight:900;letter-spacing:.08em}
html body.nkk-legal-system .nkk-legal-file-link>strong{grid-column:2;display:block;color:var(--legal-ink)!important;font-family:var(--legal-serif)!important;font-size:14px!important;font-weight:400!important;line-height:1.3!important}
html body.nkk-legal-system .nkk-legal-file-link>small{grid-column:2;color:var(--legal-muted);font-family:var(--legal-sans);font-size:8px;font-weight:650;line-height:1.35}
html body.nkk-legal-system .nkk-legal-contact-link{white-space:nowrap;color:var(--legal-accent)!important;font-weight:650;text-decoration-thickness:1px;text-underline-offset:2px}
@media(max-width:620px){html body.nkk-legal-system .nkk-legal-section__body p,html body.nkk-legal-system .nkk-legal-section__body li{font-size:14.7px!important;text-align:left!important}.nkk-legal-file-link{width:100%!important}}


/* 1.1.2 — pełna normalizacja treści niezależnie od poziomu nagłówka źródłowego */
html body.nkk-legal-system .nkk-legal-section__body h1,
html body.nkk-legal-system .nkk-legal-section__body h2,
html body.nkk-legal-system .nkk-legal-section__body h3,
html body.nkk-legal-system .nkk-legal-section__body h4,
html body.nkk-legal-system .nkk-legal-section__body h5,
html body.nkk-legal-system .nkk-legal-section__body h6{
  margin:25px 0 10px!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  font-family:var(--legal-serif)!important;
  font-size:18px!important;
  font-style:normal!important;
  font-weight:400!important;
  line-height:1.28!important;
  letter-spacing:0!important;
  text-transform:none!important;
  color:var(--legal-ink)!important;
}
html body.nkk-legal-system .nkk-legal-section__body h1:first-child,
html body.nkk-legal-system .nkk-legal-section__body h2:first-child,
html body.nkk-legal-system .nkk-legal-section__body h3:first-child{margin-top:0!important}
html body.nkk-legal-system .nkk-legal-article,
html body.nkk-legal-system .nkk-legal-section__body,
html body.nkk-legal-system .nkk-legal-section__body *{min-width:0;max-width:100%}
html body.nkk-legal-system .nkk-legal-section__body p{word-break:normal!important;overflow-wrap:break-word!important}
html body.nkk-legal-system .nkk-legal-section__body a:not(.nkk-legal-file-link){word-break:break-word!important}
