/* [64esn] Style samej TREŚCI dokumentacji — wszystko zakresowane pod
   `.docs-content`, żeby dało się je wpuścić także na strony portalu
   (`/pomoc/trener`, `/pomoc/gracz`) bez ruszania szaty portalu.
   Reguły przeniesione z `public/dokumentacja/assets/styl.css` (`xwxk9`). */

:root {
  --accent: #b80c67;        /* firmowa magenta (pierwszy stop gradientu) */
  --accent-soft: #fbe7f1;
  --lider: #188f80;         /* teal z gradientu — oznaczenie lidera */
  --ink: #111928;           /* brand-dark */
  --ink-soft: #55607a;
  --line: #e6e8ef;
  --bg-soft: #f8f9fa;       /* jasne tło aplikacji */
  --radius: 8px;            /* --radius-md z Figmy */
  /* Firmowy gradient (kierunek 137.6°) — element rozpoznawczy marki. */
  --grad: linear-gradient(137.6deg,
    #b80c67 0%, #c91a27 20%, #23408c 40%,
    #7a0a66 60%, #188f80 80%, #c66e4f 100%);
}

/* ---------- Nagłówki i tekst ---------- */
.docs-content h1 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15;
  margin: 0 0 6px; letter-spacing: -.01em;
}
.docs-content .page-kicker {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent); margin-bottom: 14px;
}
.docs-content .page-lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; }

.docs-content h2 {
  font-size: 24px; margin: 48px 0 12px; padding-top: 12px;
  scroll-margin-top: 24px; letter-spacing: -.01em;
}
.docs-content h2::before {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--grad); border-radius: 2px; margin-bottom: 14px;
}
.docs-content h3 { font-size: 18px; margin: 28px 0 8px; }
.docs-content p { margin: 0 0 14px; }
.docs-content ul, .docs-content ol { margin: 0 0 16px; padding-left: 22px; }
.docs-content li { margin: 4px 0; }
/* [li6qf] Dostępność: link w akapicie nie może różnić się od tekstu wyłącznie
   kolorem (reguła `link-in-text-block`) — osoby nierozróżniające barw go nie
   zauważą. Podkreślenie jest tym drugim znakiem rozpoznawczym. */
.docs-content a { color: var(--accent); text-decoration: underline; }
.docs-content strong { color: var(--ink); }
.docs-content code {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 6px; font-size: 13.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Elementy pomocnicze ---------- */
.docs-content .callout {
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  background: var(--bg-soft); border-radius: var(--radius);
  padding: 14px 18px; margin: 18px 0;
}
.docs-content .callout.tip { border-left-color: var(--lider); }
.docs-content .callout.warn { border-left-color: #d97706; }
.docs-content .callout .callout-title { font-weight: 700; margin-bottom: 4px; display: block; }

.docs-content .steps { counter-reset: step; list-style: none; padding: 0; margin: 18px 0; }
.docs-content .steps > li {
  position: relative; padding: 4px 0 16px 46px; margin: 0;
  border-left: 2px solid var(--line); margin-left: 15px;
}
.docs-content .steps > li:last-child { border-left-color: transparent; }
.docs-content .steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -16px; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}

.docs-content .pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--accent-soft);
  color: var(--accent); margin: 0 4px 4px 0;
}
.docs-content .pill.lider { background: #dcfce7; color: var(--lider); }

.docs-content table.doc {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px;
}
.docs-content table.doc th, .docs-content table.doc td {
  border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top;
}
.docs-content table.doc th { background: var(--bg-soft); font-weight: 700; }

/* ---------- Zrzuty ekranu (i ramka zastępcza, gdy grafiki brak) ---------- */
.docs-content figure.screen { margin: 22px 0; }
.docs-content .screen-box {
  border: 2px dashed #c2c8d6; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #f4f6fa, #f4f6fa 12px, #eef1f7 12px, #eef1f7 24px);
  min-height: 200px; display: grid; place-items: center; text-align: center;
  padding: 28px; color: var(--ink-soft);
}
.docs-content .screen-box .cam { font-size: 40px; opacity: .5; }
.docs-content .screen-box .lbl {
  margin-top: 8px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; font-size: 12px; color: #8b93a9;
}
.docs-content .screen-box .desc { margin-top: 4px; font-size: 15px; color: var(--ink-soft); max-width: 46ch; }
.docs-content .screen-box .imgpath {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed #c2c8d6;
  font-size: 12.5px; color: #7a8299; line-height: 1.7;
}
.docs-content .screen-box .imgpath code {
  display: inline-block; margin-top: 4px; background: #fff;
  border-color: #d5dae6; color: var(--accent); font-size: 12.5px;
  word-break: break-all;
}
.docs-content .screen-img {
  display: block; max-width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(17,25,40,.08);
}
.docs-content figure.screen figcaption {
  font-size: 13px; color: var(--ink-soft); margin-top: 8px; text-align: center;
}
