/* ============================================================
   kurniki.online - strony narzędziowe (kalkulatory)
   Korzysta z tokenów i komponentów ze style.css.
   ============================================================ */

:root {
  /* Szerokość kolumny tekstu. Wszystko w treści trzyma tę samą miarę. */
  --miara: 44rem;
}

.tool {
  padding-block: clamp(2.5rem, 6vh, 4rem) clamp(3rem, 7vh, 4.5rem);
}
.tool__breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.tool__breadcrumb a { color: var(--muted); text-decoration: none; }
.tool__breadcrumb a:hover { color: var(--stone-900); text-decoration: underline; }
.tool h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.tool__lead {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  color: var(--stone-700);
  max-width: var(--miara);
}
.tool__meta {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--stone-400);
}

/* ---------- panel kalkulatora ---------- */
.kalk {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.4rem;
  align-items: start;
}
.kalk__inputs,
.kalk__results {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.2rem, 3vw, 1.8rem);
}
.kalk__results { position: sticky; top: 5rem; }

.kalk__group + .kalk__group { margin-top: 1.6rem; }
.kalk__legend {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 0.85rem;
}
.kalk__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.1rem;
}
.kalk__field { display: flex; flex-direction: column; gap: 0.32rem; }
.kalk__field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--stone-700);
}
.kalk__hint { font-size: 0.74rem; color: var(--stone-400); }
.kalk__input-wrap { position: relative; display: flex; align-items: center; }
.kalk__field input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  color: var(--stone-900);
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem 3.2rem 0.6rem 0.75rem;
  transition: border-color 0.15s, background 0.15s;
}
.kalk__field input:hover { border-color: var(--stone-300); }
.kalk__field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgb(245 158 11 / 0.15);
}
.kalk__unit {
  position: absolute;
  right: 0.75rem;
  font-size: 0.8rem;
  color: var(--stone-400);
  pointer-events: none;
}
.kalk__reset {
  margin-top: 1.4rem;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.kalk__reset:hover { color: var(--stone-900); }

/* ---------- wyniki ---------- */
.kalk__headline {
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
}
.kalk__headline-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--stone-500);
}
.kalk__headline-value {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}
.kalk__headline-hint { font-size: 0.82rem; color: var(--muted); }

.kalk__rows { display: grid; gap: 0.55rem; }
.kalk__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.92rem;
}
.kalk__row dt { color: var(--stone-600); }
.kalk__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--stone-900);
  font-variant-numeric: tabular-nums;
}
.kalk__row--total {
  border-top: 1px solid var(--stone-200);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-size: 1rem;
}
.kalk__row--total dd { color: var(--brand-700); }
.kalk__row dd.is-loss { color: #b91c1c; }

.kalk__verdict {
  margin-top: 1.2rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  font-size: 0.9rem;
  color: var(--brand-900);
}
.kalk__verdict--loss { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.kalk__cta { margin-top: 1.2rem; }

/* ---------- treść pod kalkulatorem ---------- */
.prose { padding-block: clamp(2.5rem, 6vh, 4rem); }
.prose h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-top: 2.6rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; font-weight: 600; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--stone-700); line-height: 1.7; }
.prose p { margin-top: 0.9rem; max-width: var(--miara); }
.prose ul { margin-top: 0.9rem; padding-left: 1.2rem; max-width: var(--miara); }
.prose li { margin-top: 0.4rem; }
.prose a { color: var(--brand-700); text-underline-offset: 3px; }

.method {
  margin-top: 1.4rem;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  box-shadow: var(--shadow-soft);
}
.method dl { margin: 0; display: grid; gap: 0.8rem; }
.method dt {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.method dd { margin: 0.2rem 0 0; color: var(--stone-700); line-height: 1.65; }
.method code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--stone-100);
  border-radius: 5px;
  padding: 0.1em 0.4em;
}

.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.related a {
  display: block;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.related a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lifted); }
.related strong { display: block; color: var(--stone-900); font-weight: 600; }
.related span { display: block; margin-top: 0.25rem; font-size: 0.88rem; color: var(--muted); }

@media (max-width: 900px) {
  .kalk { grid-template-columns: 1fr; }
  .kalk__results { position: static; }
}
@media (max-width: 560px) {
  .kalk__fields { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
}

/* ---------- strony poradnikowe ---------- */
.tldr {
  margin-top: 1.8rem;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}
.tldr h2 {
  font-family: var(--font-display);
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-800);
  margin: 0 0 0.7rem !important;
}
.tldr ul { margin: 0; padding-left: 1.1rem; }
.tldr li { color: var(--brand-900); line-height: 1.6; margin-top: 0.35rem; }
.tldr li:first-child { margin-top: 0; }
.tldr strong { font-weight: 650; }

/* Rysunki techniczne w treści: ramki rysowane znakami, w których liczy się
   wyrównanie kolumn. Font o stałej szerokości i przewijanie w poziomie, bo
   szkic ma około czterdziestu znaków i na telefonie inaczej rozpycha stronę.
   Rozmiar podany w ch, żeby szerokość wynikała z liczby znaków rysunku. */
.prose pre.rysunek {
  overflow-x: auto;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--stone-700);
  tab-size: 4;
}
@media (max-width: 30rem) {
  .prose pre.rysunek { font-size: 0.72rem; padding: 0.8rem; }
}

.prose .table-wrap { overflow-x: auto; margin-top: 1.2rem; }
.prose table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.prose th, .prose td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--stone-200);
  vertical-align: top;
}
.prose th {
  background: var(--stone-50);
  font-weight: 600;
  color: var(--stone-800);
  font-size: 0.85rem;
}
.prose tbody tr:last-child td { border-bottom: 0; }
.prose td strong { color: var(--stone-900); }

.sources {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.5rem);
}
.sources ul { margin: 0; padding-left: 1.1rem; }
.sources li { margin-top: 0.5rem; font-size: 0.93rem; }
.sources li:first-child { margin-top: 0; }

.disclaimer {
  margin-top: 1.6rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--stone-300);
  background: var(--stone-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--stone-600);
  line-height: 1.65;
}

.bridge {
  margin-top: 1.6rem;
  background: var(--stone-900);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3.5vw, 1.9rem);
  color: var(--stone-100);
}
.bridge h2 {
  color: #fff;
  margin: 0 0 0.6rem !important;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem) !important;
}
.bridge p { color: var(--stone-300); margin-top: 0.6rem; max-width: 40rem; }
.bridge .btn { margin-top: 1.2rem; }

.hub__list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.hub__list a {
  display: block;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.hub__list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lifted); }
.hub__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--stone-900);
}
.hub__list span { display: block; margin-top: 0.4rem; color: var(--muted); line-height: 1.6; }
.hub__tag {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
}

/* ---------- landing wzoru: formularz zapisu ---------- */
.wzor { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.6rem; align-items: start; margin-top: 2.4rem; }

.formularz {
  position: sticky;
  top: 5rem;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lifted);
  padding: clamp(1.3rem, 3vw, 1.8rem);
}
.formularz h2 {
  font-family: var(--font-display);
  font-size: 1.3rem !important;
  font-weight: 650;
  margin: 0 0 0.4rem !important;
  letter-spacing: -0.02em;
}
.formularz__lead { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.2rem; }

.pole { display: flex; flex-direction: column; gap: 0.35rem; }
.pole label { font-size: 0.88rem; font-weight: 500; color: var(--stone-700); }
.pole input[type="email"] {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--stone-900);
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.pole input[type="email"]:hover { border-color: var(--stone-300); }
.pole input[type="email"]:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgb(245 158 11 / 0.15);
}
.pole input[type="email"]:user-invalid { border-color: #dc2626; }

.zgoda {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--stone-600);
  cursor: pointer;
}
.zgoda input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
  accent-color: var(--brand-600);
  cursor: pointer;
}

.formularz .btn { margin-top: 1.2rem; }
.formularz__info { margin-top: 0.9rem; font-size: 0.78rem; color: var(--stone-400); line-height: 1.5; }
.formularz__info a { color: var(--stone-500); }

.komunikat { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm); font-size: 0.9rem; line-height: 1.55; }
.komunikat:empty { display: none; }
.komunikat--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.komunikat--blad { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }

.formaty { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.format {
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.format__znacznik {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.format h3 { margin-top: 0.7rem !important; font-size: 1.05rem; font-weight: 650; }
.format p { margin-top: 0.4rem; font-size: 0.9rem; color: var(--muted); }
.format ul { margin-top: 0.7rem; padding-left: 1.1rem; }
.format li { font-size: 0.86rem; color: var(--stone-600); margin-top: 0.25rem; }

@media (max-width: 900px) {
  .wzor { grid-template-columns: 1fr; }
  .formularz { position: static; order: -1; }
}
@media (max-width: 560px) {
  .formaty { grid-template-columns: 1fr; }
}

/* ---------- poradnik: kategorie i paginacja ---------- */
.kategorie {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.kategorie a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--stone-600);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.kategorie a:hover { border-color: var(--stone-400); color: var(--stone-900); }
.kategorie a.is-aktywna {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}
.kategorie a span {
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: var(--stone-400);
}
.kategorie a.is-aktywna span { color: var(--brand-100); }

.strony {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--stone-200);
}
.strony__krok {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-700);
  text-decoration: none;
}
.strony__krok:hover { text-decoration: underline; text-underline-offset: 3px; }
.strony__krok--nieaktywny { color: var(--stone-300); }
.strony__licznik { font-size: 0.85rem; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .strony { flex-direction: column; align-items: stretch; text-align: center; gap: 0.6rem; }
}

/* ---------- poradnik: siatka kart ---------- */
.wpisy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 1.4rem;
  margin-top: 2rem;
}

.wpis { display: flex; }
.wpis__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s;
}
.wpis__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lifted);
  border-color: var(--stone-300);
}
.wpis__link:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; }

.wpis__obraz {
  position: relative;
  display: block;
  aspect-ratio: 8 / 5;
  background: var(--stone-100);
  overflow: hidden;
}
.wpis__obraz img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}
.wpis__link:hover .wpis__obraz img { transform: scale(1.03); }

.wpis__kategoria {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: inline-block;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(4px);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-700);
}

.wpis__tresc {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.2rem 1.2rem;
}
.wpis__tytul {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--stone-900);
}
.wpis__zajawka {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}
.wpis__data {
  margin-top: auto;
  padding-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--stone-400);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .wpisy { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 1.1rem; }
}
@media (max-width: 600px) {
  .wpisy { grid-template-columns: 1fr; }
  .wpis__tytul { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .wpis__link, .wpis__obraz img { transition: none; }
  .wpis__link:hover { transform: none; }
  .wpis__link:hover .wpis__obraz img { transform: none; }
}

/* ---------- artykuł: ilustracje i przypisy ---------- */
.ilustracja {
  margin: 2rem 0;
  max-width: var(--miara);
}
.ilustracja img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--stone-200);
}
.ilustracja figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--stone-500);
  line-height: 1.55;
}

.przypis {
  font-size: 0.7em;
  line-height: 0;
  vertical-align: super;
}
.przypis a {
  padding: 0 0.15em;
  color: var(--brand-700);
  text-decoration: none;
  font-weight: 600;
}
.przypis a:hover { text-decoration: underline; }
.sources li:target {
  background: var(--brand-50);
  outline: 2px solid var(--brand-200);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.4rem;
  margin-left: -0.4rem;
}

/* ---------- artykuł: checklista do odklikania ---------- */
.checklista {
  margin: 1.8rem 0;
  max-width: var(--miara);
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.2s;
}
.checklista.jest-skonczona { border-color: var(--brand-400); }

.checklista__pasek {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.2rem;
  background: var(--brand-50);
  border-bottom: 1px solid var(--brand-200);
}
.checklista__postep {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-800);
  font-variant-numeric: tabular-nums;
}
.checklista__postep strong { font-size: 1.05rem; }
.checklista__reset {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.checklista__reset:hover { color: var(--stone-900); }

.checklista__lista { margin: 0 !important; padding: 0.5rem 0 !important; list-style: none; }
.checklista__lista li { margin: 0 !important; }
.checklista__lista label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  transition: background 0.15s;
}
.checklista__lista label:hover { background: var(--stone-50); }
.checklista__lista input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--brand-600);
  cursor: pointer;
}
.checklista__lista span {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--stone-700);
  transition: color 0.15s;
}
.checklista__lista label.jest-zrobione span {
  color: var(--stone-400);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.checklista__stopka {
  margin: 0 !important;
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--stone-200);
  background: var(--stone-50);
  font-size: 0.82rem !important;
  color: var(--stone-500);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.checklista__pdf {
  font-weight: 600;
  color: var(--brand-700);
  white-space: nowrap;
}

@media print {
  .checklista__pasek, .checklista__stopka { display: none; }
  .checklista { border-color: var(--stone-400); box-shadow: none; }
}

/* ---------- artykuł: wyróżnik od produktu ---------- */
.wyroznik {
  margin: 2rem 0;
  max-width: var(--miara);
  padding: 1.35rem 1.5rem 1.45rem;
  background: linear-gradient(180deg, var(--brand-50), #fff 70%);
  border: 1px solid var(--brand-200);
  border-left: 3px solid var(--brand-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.wyroznik__tytul {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.7rem !important;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--brand-900) !important;
}
.wyroznik__znak { flex: 0 0 auto; border-radius: 7px; }
.wyroznik p { margin-top: 0.6rem; color: var(--stone-700); }
.wyroznik p:last-child { margin-bottom: 0; }
.wyroznik a {
  color: var(--brand-800);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.wyroznik a:hover { color: var(--brand-900); }

/* ---------- artykuł: zwykły cytat ---------- */
.cytat {
  margin: 2rem 0;
  max-width: var(--miara);
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 3px solid var(--stone-200);
  color: var(--stone-600);
  font-style: italic;
}
.cytat p { color: inherit; }
.cytat p:first-child { margin-top: 0; }

@media (max-width: 560px) {
  .wyroznik { padding: 1.1rem 1.15rem 1.2rem; }
  .wyroznik__tytul { font-size: 1.02rem; }
}

/* ---------- jedna miara dla całej treści ---------- */
/* Akapity miały 44rem, a tabele, źródła i „Dalej w temacie" szerokość
   kontenera — przez co wszystko poza tekstem wystawało poza kolumnę.
   Miara jest teraz jedna i ustawiona w jednym miejscu, więc każdy nowy
   komponent w treści trafia na nią automatycznie.

   44rem to około 85 znaków w wierszu. Kontener ma 880 px, co dałoby ponad
   sto — za dużo, żeby oko wracało do początku wiersza bez wysiłku. Dlatego
   zwężamy resztę do tekstu, a nie odwrotnie. */
.prose > .container--narrow > * { max-width: var(--miara); }

/* Nagłówek artykułu czyta się w tym samym rytmie co treść. */
.tool .tldr { max-width: var(--miara); }
