/* === Bloki gramatyczne do opracowań (2b, 2026-09) — strona i edytor ===
   Kolorystyka paneli opracowań (.ie-definicja, .ie-srodki, .ie-konteksty w style.css): akcent #2379d2,
   tło #f7faff, ramka #cfe0f5, tekst #13182c / #4a5266; biały tekst na #2275cc (kontrast 4,68:1 — #2379d2 ma 4,43:1).
   Desktop ≥ 992 px, mobile < 992 px: przy 768–991 px motyw daje treści wpisu ok. 256 px (kolumna col-md-7 obok
   sidebaru), więc tablet pionowo i telefon poziomo dostają układ telefonu (audyt 2b W1). */

/* --- Podkreślenie na niebiesko (format „inter-esse/podkreslenie”, 5 wariantów linii) --- */
.ie-podkr {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: #2379d2;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24em;
  text-decoration-skip-ink: none;
}
.ie-podkr[data-wariant="podwojna"] {
  text-decoration-style: double;
  text-decoration-thickness: 3px;
}
.ie-podkr[data-wariant="falista"] {
  text-decoration-style: wavy;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.28em;
}
.ie-podkr[data-wariant="przerywana"] {
  text-decoration-style: dashed;
}
.ie-podkr[data-wariant="kropkowana"] {
  text-decoration-style: dotted;
  text-decoration-thickness: 2.5px;
}
/* na niebieskim tle (nagłówek tabeli w stylu Inter-esse, korzeń drzewa, środek gwiazdy) linia biała; w nagłówku
   tabeli bez stylu Inter-esse (motyw nie daje tła) zostaje niebieska */
.wp-block-table.is-style-inter-esse thead .ie-podkr,
.wp-block-table.is-style-inter-esse-kolumna thead .ie-podkr,
.ie-drzewo__korzen .ie-podkr,
.ie-gwiazda__srodek .ie-podkr {
  text-decoration-color: #fff;
}

/* Wąskie pola (telefon, 3. poziom drzewa): dzielenie wyrazów z przeniesieniem zamiast łamania w środku słowa.
   Tabele bez dzielenia — kolumny dopasowują się do najdłuższego słowa, a na telefonie tabela przewija się w poziomie. */
.ie-drzewo,
.ie-schemat,
.ie-gwiazda,
.ie-przyklady {
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* --- Tabele: style bloku Tabela „Inter-esse” i „Inter-esse — wyróżniona 1. kolumna” --- */
.wp-block-table.is-style-inter-esse,
.wp-block-table.is-style-inter-esse-kolumna {
  margin: 24px 0;
  overflow-x: auto; /* szeroka tabela przewija się w swoim polu, strona się nie rozjeżdża */
  -webkit-overflow-scrolling: touch;
}
.wp-block-table.is-style-inter-esse table,
.wp-block-table.is-style-inter-esse-kolumna table {
  width: 100%;
  table-layout: auto; /* szerokości kolumn wg treści (także przy „Stałej szerokości komórek” w ustawieniach bloku) */
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
}
.wp-block-table.is-style-inter-esse thead,
.wp-block-table.is-style-inter-esse-kolumna thead,
.wp-block-table.is-style-inter-esse tfoot,
.wp-block-table.is-style-inter-esse-kolumna tfoot {
  border: 0;
}
.wp-block-table.is-style-inter-esse table th,
.wp-block-table.is-style-inter-esse table td,
.wp-block-table.is-style-inter-esse-kolumna table th,
.wp-block-table.is-style-inter-esse-kolumna table td {
  padding: 9px 12px;
  border: 1px solid #cfe0f5;
  vertical-align: top;
  text-align: left;
  line-height: 1.7;
  color: #13182c;
  overflow-wrap: normal; /* motyw i „Stała szerokość komórek” łamią słowa — kolumna nie węższa niż najdłuższe słowo */
  word-wrap: normal;
  word-break: normal;
}
.wp-block-table.is-style-inter-esse thead th,
.wp-block-table.is-style-inter-esse thead td,
.wp-block-table.is-style-inter-esse-kolumna thead th,
.wp-block-table.is-style-inter-esse-kolumna thead td {
  background: #2275cc;
  border-color: #1b62ab;
  color: #fff;
  font-weight: 700;
  vertical-align: middle;
}
.wp-block-table.is-style-inter-esse tfoot td,
.wp-block-table.is-style-inter-esse-kolumna tfoot td {
  background: #f7faff;
  font-weight: 600;
}
.wp-block-table.is-style-inter-esse-kolumna tbody td:first-child,
.wp-block-table.is-style-inter-esse-kolumna tbody th:first-child {
  background: #eef1f6;
  font-weight: 700;
}
.wp-block-table.is-style-inter-esse figcaption,
.wp-block-table.is-style-inter-esse-kolumna figcaption {
  margin-top: 8px;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 991px) {
  /* ok. 9em na kolumnę: 3–5 kolumn przewija się w poziomie w polu tabeli zamiast ściskać słowa */
  .wp-block-table.is-style-inter-esse table,
  .wp-block-table.is-style-inter-esse-kolumna table {
    min-width: 18em;
    font-size: 14px;
  }
  .wp-block-table.is-style-inter-esse table:has(tr > :nth-child(3)),
  .wp-block-table.is-style-inter-esse-kolumna table:has(tr > :nth-child(3)) {
    min-width: 27em;
  }
  .wp-block-table.is-style-inter-esse table:has(tr > :nth-child(4)),
  .wp-block-table.is-style-inter-esse-kolumna table:has(tr > :nth-child(4)) {
    min-width: 36em;
  }
  .wp-block-table.is-style-inter-esse table:has(tr > :nth-child(5)),
  .wp-block-table.is-style-inter-esse-kolumna table:has(tr > :nth-child(5)) {
    min-width: 45em;
  }
  .wp-block-table.is-style-inter-esse th,
  .wp-block-table.is-style-inter-esse td,
  .wp-block-table.is-style-inter-esse-kolumna th,
  .wp-block-table.is-style-inter-esse-kolumna td {
    padding: 8px 10px;
  }
}

/* --- Wykres zdania: styl bloku Obrazek (grafika wykresu wyśrodkowana na białym tle) --- */
.wp-block-image.is-style-wykres-zdania {
  max-width: 720px;
  margin: 24px auto;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  text-align: center;
}
.wp-block-image.is-style-wykres-zdania img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.wp-block-image.is-style-wykres-zdania figcaption {
  margin: 10px 0 0;
  color: #4a5266;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

/* --- Ramka z przykładami (tytuł + lista; ≥ 992 px lista w 2 kolumnach) --- */
.ie-przyklady {
  margin: 22px 0;
  padding: 16px 22px;
  background: #f7faff;
  border: 1px solid #cfe0f5;
  border-left: 4px solid #2379d2;
  border-radius: 10px;
}
.ie-przyklady__naglowek {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e3edf9;
  color: #13182c;
  font-size: 17px;
  font-weight: 700;
}
.ie-przyklady__ikona {
  display: inline-flex;
  color: #2379d2;
}
.ie-przyklady__tresc ul,
.ie-przyklady__tresc ol {
  margin: 0;
  padding-left: 1.2em;
}
.ie-przyklady__tresc li {
  margin: 0 0 4px;
  text-align: left;
  break-inside: avoid;
}
.ie-przyklady__tresc li::marker {
  color: #2379d2;
}
.ie-przyklady__tresc p {
  margin: 0 0 8px;
  text-align: left;
}
@media (min-width: 992px) {
  .ie-przyklady--2kol .ie-przyklady__tresc ul,
  .ie-przyklady--2kol .ie-przyklady__tresc ol {
    columns: 2;
    column-gap: 34px;
  }
}

/* --- Diagram drzewiasty: pola --- */
.ie-drzewo {
  margin: 28px 0;
  text-align: left; /* mobile: drzewo od lewej; desktop: wyśrodkowane */
}
.ie-drzewo__korzen {
  display: inline-block;
  max-width: 100%;
  padding: 10px 22px;
  background: #2275cc;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ie-drzewo__pole {
  position: relative;
  box-sizing: border-box;
  padding: 10px 14px;
  background: #f7faff;
  border: 1px solid #cfe0f5;
  border-radius: 10px;
}
.ie-drzewo__pole .ie-drzewo__tytul {
  display: block;
  color: #13182c;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
}
/* 1. poziom (dzieci korzenia) wersalikami; niższe poziomy tak, jak wpisane */
.ie-drzewo > .ie-drzewo__dzieci > .ie-drzewo__wezel > .ie-drzewo__pole .ie-drzewo__tytul {
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ie-drzewo__opis {
  margin-top: 6px;
  color: #4a5266;
  font-size: 14.5px;
  line-height: 1.5;
  text-align: left;
}
.ie-drzewo__dzieci--kolumna .ie-drzewo__pole {
  padding: 8px 12px;
  background: #fff;
}

/* Mobile (< 992 px): drzewo pionowe — węzły podrzędne wcięte, linia z lewej, strzałka w dół do każdego pola */
.ie-drzewo__dzieci {
  margin-left: 16px;
  text-align: left;
}
.ie-drzewo__wezel {
  position: relative;
  padding-top: 18px;
}
.ie-drzewo__wezel::before {
  /* odcinek linii z lewej + odgałęzienie nad pole */
  content: "";
  position: absolute;
  top: 0;
  left: -14px;
  width: 30px;
  height: 8px;
  border-left: 2px solid #2379d2;
  border-bottom: 2px solid #2379d2;
}
.ie-drzewo__wezel:not(:last-child)::after {
  /* linia z lewej biegnie dalej do następnego rodzeństwa */
  content: "";
  position: absolute;
  top: 8px;
  bottom: 0;
  left: -14px;
  border-left: 2px solid #2379d2;
}
.ie-drzewo__wezel > .ie-drzewo__pole::after {
  /* grot strzałki w dół */
  content: "";
  position: absolute;
  top: -9px;
  left: 9px;
  border: 5px solid transparent;
  border-top: 7px solid #2379d2;
  border-bottom: 0;
}

/* Desktop (≥ 992 px): węzły w rzędzie połączone belką i strzałkami w dół; w kolumnie — strzałki z lewej */
@media (min-width: 992px) {
  .ie-drzewo {
    text-align: center;
  }
  .ie-drzewo__dzieci {
    margin-left: 0;
  }
  .ie-drzewo__dzieci--rzad {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: 14px;
    text-align: center;
  }
  .ie-drzewo__dzieci--rzad::before {
    /* pion od pola rodzica do belki */
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 14px;
    margin-left: -1px;
    border-left: 2px solid #2379d2;
  }
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel {
    flex: 1 1 0;
    min-width: 0;
    padding: 20px 7px 0;
  }
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel::before,
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel:not(:last-child)::after {
    /* belka: połówki od środka węzła w lewo i w prawo */
    content: "";
    position: absolute;
    top: 0;
    bottom: auto;
    width: 50%;
    height: 0;
    border: 0;
    border-top: 2px solid #2379d2;
  }
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel::before {
    left: 0;
  }
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel:not(:last-child)::after {
    left: auto;
    right: 0;
  }
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel:first-child::before {
    border-top: 0;
  }
  .ie-drzewo__dzieci--rzad
    > .ie-drzewo__wezel:last-child:not(:first-child)::before {
    /* ostatni: belka tylko z lewej, do środka */
    width: 50%;
  }
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel > .ie-drzewo__pole::before {
    /* pion od belki do pola */
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    height: 12px;
    margin-left: -1px;
    border-left: 2px solid #2379d2;
  }
  .ie-drzewo__dzieci--rzad > .ie-drzewo__wezel > .ie-drzewo__pole::after {
    top: -9px;
    left: 50%;
    margin-left: -5px;
  }
  .ie-drzewo__dzieci--kolumna {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 0 12px;
    padding-left: 18px;
    text-align: left;
  }
  .ie-drzewo__dzieci--kolumna > .ie-drzewo__wezel {
    padding-top: 0;
  }
  .ie-drzewo__dzieci--kolumna > .ie-drzewo__wezel::before {
    /* linia z lewej do połowy pola + odgałęzienie w prawo */
    top: -8px;
    left: -18px;
    width: 12px;
    height: calc(50% + 8px);
  }
  .ie-drzewo__dzieci--kolumna > .ie-drzewo__wezel:not(:last-child)::after {
    top: 50%;
    bottom: -8px;
    left: -18px;
  }
  .ie-drzewo__dzieci--kolumna > .ie-drzewo__wezel > .ie-drzewo__pole::after {
    /* grot strzałki w prawo */
    top: 50%;
    left: -7px;
    margin-top: -5px;
    border: 5px solid transparent;
    border-left: 7px solid #2379d2;
    border-right: 0;
  }
}

/* --- Schemat przepływu: wiersze pól, strzałki → (mobile: ↓) --- */
.ie-schemat {
  margin: 26px 0;
}
.ie-schemat__wiersz {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 12px;
}
.ie-schemat__wiersz--strzalki {
  gap: 32px;
}
.ie-schemat__pole {
  position: relative;
  box-sizing: border-box;
  padding: 12px 16px;
  background: #f7faff;
  border: 1px solid #cfe0f5;
  border-radius: 10px;
  text-align: center;
}
.ie-schemat__tytul {
  display: block;
  margin-bottom: 4px;
  color: #13182c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.ie-schemat__tekst {
  color: #4a5266;
  font-size: 14.5px;
  line-height: 1.5;
}
/* strzałki to dekoracja (kolejność pól niesie kolejność w kodzie strony) — tekst alternatywny pusty, czytniki ekranu
   ich nie odczytują (audyt 2b D4); przeglądarki bez składni „/ ""” biorą pierwszą deklarację */
.ie-schemat__wiersz--strzalki > .ie-schemat__pole + .ie-schemat__pole::before {
  content: "↓";
  content: "↓" / "";
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-50%);
  color: #2379d2;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
@media (min-width: 992px) {
  .ie-schemat__wiersz {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 16px;
  }
  .ie-schemat__wiersz--strzalki {
    gap: 42px;
  }
  .ie-schemat__wiersz > .ie-schemat__pole {
    flex: 1 1 0;
    min-width: 0;
  }
  .ie-schemat__wiersz--1 > .ie-schemat__pole {
    flex: 0 1 70%;
  }
  .ie-schemat__wiersz--strzalki
    > .ie-schemat__pole
    + .ie-schemat__pole::before {
    content: "→";
    content: "→" / "";
    top: 50%;
    left: -32px;
    transform: translateY(-50%);
  }
}

/* --- Układ gwiazdy: mobile — środek u góry, pola w 2 kolumnach, bez strzałek --- */
.ie-gwiazda {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}
.ie-gwiazda__pola {
  display: contents; /* pola to komórki siatki .ie-gwiazda */
}
.ie-gwiazda__srodek {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  padding: 12px 16px;
  background: #2275cc;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}
.ie-gwiazda__pole {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 8px 6px; /* telefon: pola ~123 px — z prawdziwym Lato 700 (W2) „INFORMATYWNA” mieści się bez dzielenia */
  background: #f7faff;
  border: 1px solid #cfe0f5;
  border-radius: 10px;
  text-align: center;
}
.ie-gwiazda__pole .ie-gwiazda__tytul {
  color: #13182c;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
}
.ie-gwiazda__podpis {
  margin-top: 2px;
  color: #4a5266;
  font-size: 12.5px;
}
@media (min-width: 992px) {
  .ie-gwiazda__pole .ie-gwiazda__tytul {
    font-size: 13.5px;
    letter-spacing: 0.02em;
  }
  .ie-gwiazda__podpis {
    font-size: 13.5px;
  }
}
.ie-gwiazda > .ie-gram-dodaj {
  grid-column: 1 / -1;
}

/* Desktop: siatka 4 × 4, środek w 4 środkowych komórkach, pola dookoła (kolejność: wierszami, od lewej),
   strzałki przy krawędzi pola zwróconej do środka, skierowane od środka (dekoracja — pusty tekst alternatywny, D4) */
@media (min-width: 992px) {
  .ie-gwiazda {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 34px;
  }
  .ie-gwiazda__pole {
    padding: 10px 12px;
  }
  .ie-gwiazda__srodek {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    align-self: center;
    justify-self: center;
    padding: 16px 30px;
    font-size: 16px;
  }
  .ie-gwiazda > .ie-gram-dodaj {
    grid-row: 5;
  }
  .ie-gwiazda--n1 .ie-gwiazda__pola > :nth-child(1),
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(1) {
    grid-area: 1 / 2 / 2 / 4;
  }
  .ie-gwiazda--n2 .ie-gwiazda__pola > :nth-child(1),
  .ie-gwiazda--n3 .ie-gwiazda__pola > :nth-child(1),
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(1),
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(1),
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(1),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(1) {
    grid-area: 1 / 2;
  }
  .ie-gwiazda--n2 .ie-gwiazda__pola > :nth-child(2),
  .ie-gwiazda--n3 .ie-gwiazda__pola > :nth-child(2),
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(2),
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(2),
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(2),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(2) {
    grid-area: 1 / 3;
  }
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(2),
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(3),
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(3) {
    grid-area: 2 / 1 / 4 / 2;
  }
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(3),
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(4),
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(4) {
    grid-area: 2 / 4 / 4 / 5;
  }
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(3),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(3) {
    grid-area: 2 / 1;
  }
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(4),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(4) {
    grid-area: 2 / 4;
  }
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(5),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(5) {
    grid-area: 3 / 1;
  }
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(6),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(6) {
    grid-area: 3 / 4;
  }
  .ie-gwiazda--n3 .ie-gwiazda__pola > :nth-child(3),
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(4),
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(5),
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(7) {
    grid-area: 4 / 2 / 5 / 4;
  }
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(5),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(7) {
    grid-area: 4 / 2;
  }
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(6),
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(8) {
    grid-area: 4 / 3;
  }
  .ie-gwiazda__pola > .ie-gwiazda__pole::after {
    position: absolute;
    color: #2379d2;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }
  /* pola nad środkiem: ↑ */
  .ie-gwiazda--n1 .ie-gwiazda__pola > :nth-child(1)::after,
  .ie-gwiazda--n2 .ie-gwiazda__pola > :nth-child(-n + 2)::after,
  .ie-gwiazda--n3 .ie-gwiazda__pola > :nth-child(-n + 2)::after,
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(1)::after,
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(-n + 2)::after,
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(-n + 2)::after,
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(-n + 2)::after,
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(-n + 2)::after {
    content: "↑";
    content: "↑" / "";
    bottom: -27px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* pola pod środkiem: ↓ */
  .ie-gwiazda--n3 .ie-gwiazda__pola > :nth-child(3)::after,
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(4)::after,
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(5)::after,
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(n + 5)::after,
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(7)::after,
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(n + 7)::after {
    content: "↓";
    content: "↓" / "";
    top: -27px;
    left: 50%;
    transform: translateX(-50%);
  }
  /* pola z lewej: ← */
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(2)::after,
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(3)::after,
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(3)::after,
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(3)::after,
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(5)::after,
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(3)::after,
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(5)::after {
    content: "←";
    content: "←" / "";
    top: 50%;
    right: -29px;
    transform: translateY(-50%);
  }
  /* pola z prawej: → */
  .ie-gwiazda--n4 .ie-gwiazda__pola > :nth-child(3)::after,
  .ie-gwiazda--n5 .ie-gwiazda__pola > :nth-child(4)::after,
  .ie-gwiazda--n6 .ie-gwiazda__pola > :nth-child(4)::after,
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(4)::after,
  .ie-gwiazda--n7 .ie-gwiazda__pola > :nth-child(6)::after,
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(4)::after,
  .ie-gwiazda--n8 .ie-gwiazda__pola > :nth-child(6)::after {
    content: "→";
    content: "→" / "";
    top: 50%;
    left: -29px;
    transform: translateY(-50%);
  }
}

/* --- Edytor: bez domyślnych odstępów między blokami-dziećmi i ten sam krój co na stronie --- */
.ie-drzewo .ie-drzewo__dzieci > .ie-drzewo__wezel,
.ie-schemat .ie-schemat__wiersze > .ie-schemat__wiersz-blok,
.ie-schemat .ie-schemat__wiersz > .ie-schemat__pole,
.ie-gwiazda .ie-gwiazda__pola > .ie-gwiazda__pole,
.ie-przyklady .ie-przyklady__tresc > * {
  max-width: none;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}
.ie-przyklady__tresc > * + * {
  margin-top: 8px;
}
.ie-drzewo,
.ie-schemat,
.ie-gwiazda,
.ie-przyklady {
  font-family: "Lato", sans-serif; /* jak na stronie (motyw: Lato); w edytorze ładowany z inc/bloki-gramatyka.php */
}
/* istniejące panele opracowań — krój tylko w edytorze; na stronie bez zmian (audyt 2b D1) */
.editor-styles-wrapper .ie-definicja,
.editor-styles-wrapper .ie-srodki,
.editor-styles-wrapper .ie-konteksty,
.editor-styles-wrapper .ie-polecany,
.editor-styles-wrapper .ie-nadchodzace {
  font-family: "Lato", sans-serif;
}
/* tabele w edytorze — krój jak na stronie (tam Lato z motywu; ramka edytora domyślnie szeryfowa) — audyt 2b W2 */
.editor-styles-wrapper .wp-block-table {
  font-family: "Lato", sans-serif;
}

/* --- Tylko edytor: przyciski „Dodaj …” pod blokiem i ostrzeżenie o przekroczonym limicie (audyt 2b D2) --- */
.ie-gram-dodaj {
  margin: 10px 0 0;
  text-align: center;
}
.ie-drzewo__wezel > .ie-gram-dodaj {
  text-align: left;
}
.ie-gram-uwaga {
  margin: 8px 0 0;
  padding: 6px 10px;
  background: #fcf0f1;
  border-left: 3px solid #d63638;
  color: #8a2424;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
}
.ie-gwiazda > .ie-gram-uwaga {
  grid-column: 1 / -1;
}
@media (min-width: 992px) {
  .ie-gwiazda > .ie-gram-uwaga {
    grid-row: 5;
  }
}
