/* ==========================================================================
   Blok „Raporty” (.mo-sect.mo-rep): tekst i arkusz raportu z kolejnymi stronami.
   Źródło (prototyp): assets/css/podstrony/monitoring.css (bez .p-monitoring).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Klocki strony Monitoringu (monitoring.css: .p-monitoring → .mo-sect): sekcja,
   separator z kropką, nagłówek w dwóch kolumnach, kafelek ikony. Te same reguły
   mają wszystkie bloki monitoring-* (każdy blok działa sam, bez innych).
   -------------------------------------------------------------------------- */

.mo-sect { --mo-y: clamp(3.75rem, 7vw, 6.5rem); --mo-gap: clamp(.75rem, 1.6vw, 1.25rem); position: relative; padding: var(--mo-y) 0; }
.mo-sect--tint { background: var(--paper-2); }

/* between two sections on the same ground: a hairline fading out at both ends with an
   orange dot in a white gap (the home page's .stairs separator), centred on the seam */
.mo-sep { position: relative; border-top: 0; }
.mo-sep::before {
  content: ""; position: absolute; left: 50%; top: 0; z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--container)); height: 26px; transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, var(--orange) 0 4px, var(--orange-50) 4.5px 7px, #fff 7.5px 12px, transparent 12.5px) center / 26px 26px no-repeat,
    linear-gradient(90deg, rgba(203, 213, 224, 0), var(--line-strong) 28%, var(--line-strong) 72%, rgba(203, 213, 224, 0)) center / 100% 1px no-repeat;
}

/* two-column head: the prefix on its own row, then the title left and the lead right,
   both top-aligned so the lead never starts above the title */
.mo-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.mo-head > .eyebrow.eyebrow { grid-column: 1 / -1; margin: 0; }
.mo-head h2 { margin: 0; max-width: 21ch; }
.mo-head__lead { margin: 0; padding-top: .4rem; color: var(--muted); font-size: 1.0625rem; max-width: 56ch; }

.mo-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-50); color: var(--navy);
}
.mo-ico .icon { width: 1.15rem; height: 1.15rem; }

@media (max-width: 900px) {
  .mo-head { grid-template-columns: minmax(0, 1fr); }
  .mo-head__lead { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   Raporty: arkusz raportu z kolejnymi stronami pod spodem
   -------------------------------------------------------------------------- */

.mo-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; }
.mo-split__intro h2 { margin-top: 0; max-width: 14ch; }
.mo-split__intro > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.0625rem; max-width: 42ch; }
.mo-split__intro > p:not(.eyebrow) + p { margin-top: 1rem; }
.mo-report {
  --sheet: var(--line-strong);
  position: relative; margin-bottom: 20px; padding: clamp(1.4rem, 2.8vw, 2.25rem);
  border-radius: var(--radius-xl); background: #fff;
  box-shadow:
    inset 0 0 0 1px var(--sheet),
    0 10px 0 -5px #fff, 0 10px 0 -4px var(--sheet),
    0 20px 0 -10px #fff, 0 20px 0 -9px var(--sheet),
    0 44px 60px -40px rgba(22, 42, 67, .4);
}
.mo-report__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-strong); }
.mo-report__title { display: flex; align-items: center; gap: .75rem; margin: 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.012em; color: var(--navy-900); }
.mo-report__state { margin: 0; font-family: var(--font-ui); font-size: .6875rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); }
.mo-report__toc { list-style: none; margin: 0; padding: 0; }
.mo-report__toc li {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 1rem; align-items: center;
  padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.mo-report__toc li:last-child { border-bottom: 0; padding-bottom: 0; }
.mo-report__txt { display: grid; gap: .1rem; }
.mo-report__txt b { font-weight: 600; font-size: 1.0625rem; color: var(--navy-900); }
.mo-report__txt span { font-size: .9375rem; color: var(--muted); }
.mo-report__n { font-family: var(--font-ui); font-size: .8125rem; font-weight: 500; color: var(--muted-2); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .mo-split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .mo-report__toc li { grid-template-columns: 38px minmax(0, 1fr); }
  .mo-report__n { display: none; }
}
