
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/schibsted-normal-latin-ext-2.0b64856909.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/schibsted-normal-latin-3.abd60509d5.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/redhattext-normal-latin-ext-2.ac1dc64da5.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/redhattext-normal-latin-3.26011f0543.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/redhattext-italic-latin-ext-0.cc9faa5b1c.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Red Hat Text"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/redhattext-italic-latin-1.c7127d4017.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --ground: #f1f3f4;
  --card: #fcfcfd;
  --ink: #1f2328;
  --ink-2: #50565e;
  --rule: #d3d9de;
  --rule-2: #8d959d;
  --rasp: #a3365c;
  --rasp-2: #86294a;
  --on-rasp: #fff7fa;
  --graphite: #2a2f35;
  --on-graphite: #eef1f3;
  --on-graphite-2: #c3cad1;
  --focus: #a3365c;
  --field: #ffffff;
  --hint: #6b7178;
  --head: 64px;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #14171a; --card: #1b1f23; --ink: #e9edf0; --ink-2: #b4bcc4; --rule: #333a41; --rule-2: #6b747d;
    --rasp: #f08cb0; --rasp-2: #f7b3cb; --on-rasp: #23121a; --graphite: #0d0f11; --on-graphite-2: #b4bcc4; --focus: #f08cb0; --field: #111417; --hint: #8d959d;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--rule-2) var(--ground); -webkit-tap-highlight-color: rgba(163, 54, 92, 0.18); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 1.09rem; line-height: 1.62; touch-action: manipulation; }
h1, h2, h3, .top, .brand, .swatches span, .pin .label b, caption, .crumbs, legend, .tool label, .result-big, .btn, .toc a::before, ol.kroki > li::before { font-family: var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rasp); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--rasp-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--rasp); color: var(--on-rasp); }
h1, h2, h3 { font-weight: 650; line-height: 1.1; letter-spacing: -0.022em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
p, li, dd, figcaption, td { text-wrap: pretty; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 10px 14px; z-index: 30; }
.skip:focus { left: 8px; }
.skip:hover { color: var(--ground); }
.svg-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; height: var(--head); padding: 0 28px; background: var(--ground); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 32px; height: 32px; flex: none; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.top nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; color: var(--ink); text-decoration: none; font-size: 0.97rem; font-weight: 500; white-space: nowrap; }
.top nav a:hover { color: var(--rasp); }
.top nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--rasp); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; background: var(--rasp); color: var(--on-rasp); text-decoration: none; font-weight: 650; font-size: 0.97rem; white-space: nowrap; border: 0; transition: background-color 160ms var(--ease); }
.btn:hover, .top nav a.btn:hover { background: var(--rasp-2); color: var(--on-rasp); }
.top nav a.btn { padding: 0 16px; color: var(--on-rasp); }
.top nav a.btn[aria-current] { box-shadow: inset 0 -3px 0 var(--ink); }
.menu { display: none; background: none; border: 0; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pin { position: sticky; top: var(--head); height: calc(100vh - var(--head)); height: calc(100svh - var(--head)); display: flex; flex-direction: column; }
.pin .stack { position: relative; flex: 1; overflow: hidden; background: var(--graphite); }
.pin figure { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; }
.pin figure.was { opacity: 1; z-index: 1; }
.pin figure.on { opacity: 1; z-index: 2; transition: opacity 450ms var(--ease); }
.pin img { width: 100%; height: 100%; object-fit: cover; }
.pin .label { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; min-height: 60px; padding: 8px 24px; margin: 0; background: var(--graphite); color: var(--on-graphite); font-size: 0.95rem; line-height: 1.3; }
.pin .label b { font-weight: 650; }
.pin .credit { color: var(--on-graphite-2); font-size: 0.86rem; }
.pin .credit > span { display: none; }
.pin .credit > span.on { display: inline; }
.pin .credit a { color: inherit; }
.pin .credit a:hover { color: var(--on-graphite); }
.col { padding: 48px 56px 64px; min-width: 0; }
.col > section + section { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--rule); }
.inline-ph { display: none; }
.col h1 { font-size: clamp(2.5rem, 3.8vw, 3.7rem); letter-spacing: -0.035em; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 40ch; margin: 14px 0 32px; }
.col h2 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
.col h2.small { font-size: 1.05rem; letter-spacing: 0; margin-bottom: 14px; }
.intro { color: var(--ink-2); max-width: 58ch; }
@media (min-width: 861px) { .split:has(#start) > .col { padding-top: 32px; } }
#start .lead { max-width: 36em; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.swatches a { display: block; height: 100%; background: var(--card); color: var(--ink); text-decoration: none; border: 1px solid var(--rule); transition: border-color 160ms, transform 220ms var(--ease); }
@media (hover: hover) { .swatches a:hover { border-color: var(--rasp); transform: translateY(-2px); color: var(--ink); } }
.swatches img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.swatches span { display: block; padding: 9px 12px 10px; font-weight: 650; font-size: 0.98rem; line-height: 1.25; }
.swatches small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-2); margin-top: 2px; }
.home-sec .body { max-width: 62ch; }
.home-sec .body > h2:first-child { margin-top: 0; }
.rooms, .body .rooms { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.body .rooms li { margin-bottom: 0; }
.rooms li { border-bottom: 1px solid var(--rule); }
.rooms a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 14px 0; min-height: 56px; color: var(--ink); text-decoration: none; }
@media (hover: hover) { .rooms a:hover b { color: var(--rasp); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; } }
.rooms b { font-weight: 650; font-size: 1.1rem; line-height: 1.3; }
.rooms span { color: var(--ink-2); font-size: 0.98rem; line-height: 1.45; }
.rooms + h3, .group + .group { margin-top: 36px; }
.group h3 { font-size: 1.05rem; letter-spacing: 0; color: var(--ink-2); }
.group .rooms { margin-top: 10px; border-top-width: 1px; }
.crumbs { font-size: 0.92rem; color: var(--ink-2); margin: 0 0 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule-2); }
.crumbs a { color: var(--ink-2); display: inline-flex; min-height: 44px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--rasp); }
.col .art-h1 { font-size: clamp(2.1rem, 3.2vw, 3.1rem); letter-spacing: -0.03em; }
.answer { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--rasp); padding: 18px 22px; margin: 24px 0 28px; }
.col .answer h2 { font-size: 1rem; letter-spacing: 0; color: var(--rasp); margin-bottom: 6px; }
.answer p { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.toc { margin: 0 0 40px; }
.col .toc h2 { font-size: 1rem; letter-spacing: 0; margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; border-top: 1px solid var(--rule); }
.toc li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.toc a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 0; color: var(--ink); text-decoration: none; font-size: 0.97rem; line-height: 1.3; }
.toc a::before { content: counter(t); display: grid; place-items: center; width: 24px; height: 24px; flex: none; background: var(--ink); color: var(--ground); font-size: 0.8rem; font-weight: 650; }
@media (hover: hover) { .toc a:hover { color: var(--rasp); } }
.body { max-width: 66ch; }
.col .body h2 { font-size: clamp(1.55rem, 2.2vw, 2rem); margin: 56px 0 14px; scroll-margin-top: calc(var(--head) + 16px); }
.col .body > h2:first-child { margin-top: 0; }
.body h3 { font-size: 1.22rem; margin: 30px 0 8px; letter-spacing: -0.01em; }
.body ul, .body ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.body li { margin-bottom: 6px; }
.body li::marker { color: var(--ink-2); }
.body strong, .body b { font-weight: 700; }
.body figure { margin: 32px 0; }
.body .colfig { margin: 36px 0 8px; }
.body .colfig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.body figcaption, .inline-ph figcaption { font-size: 0.9rem; color: var(--ink-2); margin-top: 8px; }
.inline-ph figcaption a, .body figcaption a { color: inherit; }
.note { font-size: 0.95rem; color: var(--ink-2); }
.tbl { overflow-x: auto; margin: 22px 0 18px; background: var(--card); border: 1px solid var(--rule); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 650; padding: 12px 16px 10px; background: var(--graphite); color: var(--on-graphite); }
th, td { text-align: left; padding: 11px 16px; vertical-align: top; line-height: 1.45; }
td.n { white-space: nowrap; }
thead th { font-size: 0.9rem; font-weight: 650; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
tbody tr + tr > * { border-top: 1px solid var(--rule); }
tbody th { font-weight: 650; }
.przyklad { background: var(--card); border: 1px solid var(--rule); padding: 0 22px 6px; margin: 28px 0; }
.col .przyklad > h3:first-child { margin: 0 -22px 14px; padding: 10px 22px; background: var(--graphite); color: var(--on-graphite); font-size: 1rem; letter-spacing: 0; }
.przyklad p:last-child, .przyklad ul:last-child { margin-bottom: 0.9em; }
ol.kroki { list-style: none; padding: 0; counter-reset: k; margin: 22px 0 26px; }
ol.kroki > li { counter-increment: k; position: relative; padding: 0 0 0 44px; margin-bottom: 16px; }
ol.kroki > li::before { content: counter(k); position: absolute; left: 0; top: 0.12em; display: grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--ground); font-family: var(--font); font-size: 0.9rem; font-weight: 650; }
ol.kroki > li > b:first-child, ol.kroki > li > strong:first-child { display: block; font-family: var(--font); font-weight: 650; font-size: 1.08rem; line-height: 1.3; margin-bottom: 2px; }
ul.check { list-style: none; padding: 0; margin: 18px 0 22px; }
ul.check > li { position: relative; padding-left: 32px; margin-bottom: 9px; }
ul.check > li::before { content: ""; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px; background: var(--rasp);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.material { display: grid; grid-template-columns: 40px minmax(0, 1fr); background: var(--card); border: 1px solid var(--rule); margin: 0 0 10px; }
.material.plain { grid-template-columns: minmax(0, 1fr); }
.material .edge { width: 40px; height: 100%; object-fit: cover; }
.material > div { padding: 14px 18px 4px; }
.col .material h3 { font-size: 1.22rem; margin: 2px 0 6px; }
.material p { font-size: 1rem; }
.materials { margin: 24px 0 26px; }
details { background: var(--card); border: 1px solid var(--rule); margin-bottom: 8px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 8px 18px; font-weight: 650; font-size: 1.05rem; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
@media (hover: hover) { summary:hover { color: var(--rasp); } }  
summary .svg-ico { color: var(--rasp); transition: transform 200ms var(--ease); }
details[open] > summary .svg-ico { transform: rotate(180deg); }
details .in { padding: 0 18px 6px; }
.faqs { margin-top: 8px; }
.sources { margin-top: 40px; }
.src > summary { font-size: 1.4rem; letter-spacing: -0.02em; }
.src ol { font-size: 0.95rem; padding-left: 1.2em; margin: 0 0 12px; }
.src li { margin-bottom: 8px; }
.src .checked { color: var(--ink-2); }
.related { margin-top: 56px; }
.col .related h2 { font-size: 1.4rem; margin-bottom: 0; }
.related .rooms { margin-top: 14px; }
.draft { display: inline-block; margin: 0 0 14px; padding: 4px 10px; background: var(--ink); color: var(--ground); font-family: var(--font); font-size: 0.85rem; font-weight: 650; }
.tool { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--rasp); margin: 0 0 40px; }
.tool fieldset { border: 0; margin: 0; padding: 18px 22px 20px; min-width: 0; }
.tool fieldset + fieldset, .tool .out { border-top: 1px solid var(--rule); }
.tool legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-weight: 650; font-size: 1.12rem; line-height: 1.25; }
.tool legend + * { clear: both; }
.tool .hint { font-size: 0.92rem; color: var(--ink-2); margin: 0 0 12px; clear: both; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .surf .name { font-size: 0.93rem; font-weight: 600; line-height: 1.25; }
.tool input[type="text"], .tool select { width: 100%; min-height: 44px; padding: 0 12px; font: inherit; font-size: 1rem; color: var(--ink); background-color: var(--field); border: 1px solid var(--rule-2); border-radius: 0; caret-color: var(--rasp); font-variant-numeric: tabular-nums; }
.tool select { padding-right: 8px; }
.tool input::placeholder { color: var(--hint); opacity: 1; }  
.tool input[type="text"]:hover, .tool select:hover { border-color: var(--ink-2); }
.tool input[aria-invalid="true"] { border-color: var(--rasp); box-shadow: inset 0 0 0 1px var(--rasp); }
.tool .unit { font-weight: 400; color: var(--ink-2); }
.err { color: var(--rasp); font-size: 0.88rem; margin: 2px 0 0; min-height: 0; }
.err:empty { display: none; }
.surf { display: grid; grid-template-columns: minmax(0, 1fr) 8rem; gap: 8px 14px; align-items: end; padding: 14px 0; border-top: 1px solid var(--rule); }
.surf .mat, .surf .alphas { grid-column: 1 / -1; }
.surf:first-of-type { border-top: 0; padding-top: 4px; }
.surf .name small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.86rem; }
.alphas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; grid-column: 1 / -1; }
.alphas .field label { font-size: 0.82rem; font-weight: 500; color: var(--ink-2); }
.alphas input[type="text"] { padding: 0 6px; text-align: center; }
.choice { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 8px; }
.choice label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 500; font-size: 1rem; }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--rasp); }
.tool .out { padding: 18px 22px 20px; background: var(--ground); }
.result-big { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 6px; }
.result-sub { color: var(--ink-2); margin: 0 0 14px; font-size: 1rem; }
.out .tbl { margin: 8px 0 12px; }
.out .tbl:has(tbody:empty) { display: none; }
.out th, .out td { padding: 9px 12px; }
.out td, .out th, .coef thead th { white-space: nowrap; }
.tool .note { margin: 0; }
.tool p[data-volume] { min-height: 1.5em; margin: 10px 0 0; }
.tool .lab { font-size: 0.93rem; font-weight: 600; line-height: 1.25; font-family: var(--font); }
.tool output.calc { display: flex; align-items: center; min-height: 44px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.src-hint { font-size: 0.84rem; color: var(--ink-2); margin: 2px 0 0; line-height: 1.35; }
.src-hint:empty { display: none; }
.src-hint a { color: inherit; }
.tool .surf .mat, .tool .surf .alphas { min-width: 0; }
.row { border: 1px solid var(--rule); background: var(--ground); padding: 12px 14px 4px; margin: 0 0 10px; }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.row-head .name { font-family: var(--font); font-weight: 650; }
.row .alphas { margin: 6px 0 10px; }
.link-btn { min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--rasp); font: inherit; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--rasp-2); text-decoration-thickness: 2px; }
.btn.ghost { background: transparent; color: var(--rasp); border: 1px solid var(--rasp); cursor: pointer; font-size: 0.97rem; }
.btn.ghost:hover { background: var(--rasp); color: var(--on-rasp); }
.tool fieldset.choice { padding: 0; margin: 10px 0 4px; display: flex; flex-wrap: wrap; gap: 0 18px; }
.tool fieldset.choice > legend { font-size: 0.93rem; font-weight: 600; margin-bottom: 0; }
.tool .under { margin-top: 10px; }
.notes { margin: 6px 0 12px; padding-left: 1.2em; font-size: 0.93rem; color: var(--ink-2); }
.notes li { margin-bottom: 5px; }
.alert:not(:empty) { margin: 0 0 10px; font-size: 0.95rem; }
.out td strong { color: var(--ink); font-weight: 700; }
.coef { margin: 0 0 40px; }
.coef .tbl { margin-top: 10px; }
.coef td, .coef th { font-size: 0.95rem; }
.coef tbody th, .coef thead th:first-child { position: sticky; left: 0; z-index: 1; min-width: 10.5em; background: var(--card); }
.foot { border-top: 1px solid var(--rule); padding: 36px 28px 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; font-size: 0.94rem; color: var(--ink-2); background: var(--ground); position: relative; z-index: 2; }
.foot .brand { color: var(--ink); }
.foot p { margin: 10px 0 0; max-width: 34ch; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.foot ul a:hover { color: var(--rasp); text-decoration: underline; }
.credits { margin: 0; line-height: 1.9; max-width: 38rem; }
.credits a { color: var(--ink-2); }
.nf .rooms { margin-top: 28px; }
@media (max-width: 1320px) {
  .top { gap: 16px; padding: 0 20px; }
  .top nav { gap: 8px; }
  .top nav a { padding: 0 8px; font-size: 0.93rem; }
  .top nav a.btn { padding: 0 12px; }
}
@media (max-width: 1100px) {
  .col { padding: 40px 36px 56px; }
  .swatches { gap: 10px; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .top > nav { display: none; }
  .menu { display: block; margin-left: auto; position: relative; background: none; border: 0; margin-bottom: 0; }
  .menu nav { display: block; margin: 0; }
  .menu summary { min-height: 44px; min-width: 44px; padding: 8px 12px; border: 1px solid var(--rule); display: flex; gap: 8px; font-weight: 600; font-size: 1rem; background: var(--card); }
  .menu nav ul { display: grid; gap: 2px; position: absolute; right: 0; top: 52px; z-index: 25; list-style: none; margin: 0; padding: 8px; background: var(--card); border: 1px solid var(--rule); width: 260px; box-shadow: 0 12px 28px rgba(31, 35, 40, 0.16); }
  .menu li a { display: flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; }
  .menu li a[aria-current]:not(.btn) { box-shadow: inset 0 -2px 0 var(--rasp); }
  .menu li a.btn { color: var(--on-rasp); margin-top: 6px; justify-content: flex-start; }
}
@media (max-width: 860px) {
  :root { --head: 58px; }
  body { font-size: 1.0625rem; }
  .top { padding: 0 16px; }
  .split { grid-template-columns: 1fr; }
  .pin { position: relative; top: 0; height: auto; }
  .pin .stack { height: 52vh; min-height: 320px; flex: none; }
  .pin figure:not(:first-child) { display: none; }
  .pin figure:first-child { opacity: 1; }
  .body .colfig:has(+ .inline-ph) { display: none; }
  .pin .label { min-height: 44px; padding: 8px 16px; font-size: 0.9rem; }
  .pin .label b { display: none; }
  .pin .credit > span { display: none; }
  .pin .credit > span:first-child { display: inline; }
  .inline-ph { display: block; margin: 0 0 22px; }
  .inline-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .body .inline-ph { margin: 44px 0 -24px; }
  .col { padding: 22px 16px 48px; }
  .col > section + section { margin-top: 48px; padding-top: 36px; }
  .col h1 { font-size: 2.35rem; }
  .col .art-h1 { font-size: 2.1rem; }
  .lead { font-size: 1.06rem; margin: 8px 0 22px; }
  .col .body h2 { margin-top: 48px; }
  .swatches { gap: 8px; }
  .swatches span { padding: 7px 8px 8px; font-size: 0.9rem; }
  .swatches small { display: none; }
  .material { grid-template-columns: 28px minmax(0, 1fr); }
  .material .edge { width: 28px; }
  .material > div { padding: 12px 14px 2px; }
  .rooms a { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: 1fr; gap: 20px; padding: 32px 16px 40px; }
  .toc ol { grid-template-columns: 1fr; }
  th, td { padding: 10px 10px; }
  .tool fieldset, .tool .out { padding: 16px 14px 18px; }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .surf { grid-template-columns: minmax(0, 1fr) 6.5rem; }
  .alphas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool p[data-volume] { min-height: 3em; }
}
@media (max-width: 480px) {
  th, td { padding: 9px 8px; }
  .out th, .out td { padding: 8px 6px; }
  .przyklad { padding: 0 14px 4px; }
  .col .przyklad > h3:first-child { margin: 0 -14px 14px; padding: 10px 14px; }
}
@media (max-width: 400px) {
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 .field:last-child { grid-column: 1 / -1; }
  .grid2 { grid-template-columns: 1fr; }
  table { font-size: 0.95rem; }
  th, td { padding: 8px 6px; }
  .body td.n { white-space: normal; }  
  .przyklad { padding: 0 12px 4px; }
  .col .przyklad > h3:first-child { margin: 0 -12px 14px; padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
