/* ============================================================
   ailone — strony produktowe (sekcja /produkty/, /en/products/)
   Styl „arkusz techniczny”: granatowe tło z siatką, tabliczka
   rysunkowa, numerowane arkusze, chmurki rewizji.
   Wszystkie klasy z prefiksem om-, żeby nie zderzały się z Tailwindem
   i stylami reszty serwisu.
   ============================================================ */

:root {
    --om-bg: #061321;
    --om-surface: #0b1a2b;
    --om-surface-2: #0f2236;
    --om-surface-3: #14304b;
    --om-line: rgba(127, 196, 255, 0.12);
    --om-line-2: rgba(127, 196, 255, 0.24);
    --om-line-3: rgba(127, 196, 255, 0.48);
    --om-ink: #eaf3fb;
    --om-ink-2: #b6c8da;
    --om-ink-3: #8aa1b8;
    --om-cyan: #7fd1ff;
    --om-amber: #ffc24a;
    --om-red: #ff7a6e;
    --om-green: #5ad6a8;
    /* Kolory danych na wykresach, sprawdzone walidatorem palety na tle #0b1a2b */
    --om-s-omni: #c98500;
    --om-s-base: #5c7086;
    --om-s-1: #3987e5;
    --om-s-2: #d95926;
    --om-s-3: #199e70;
    --om-f-head: 'Archivo', 'Inter', system-ui, sans-serif;
    --om-f-body: 'Inter', system-ui, sans-serif;
    --om-f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --om-radius: 6px;
    --om-nav-h: 5rem;
}

body.om-page {
    background-color: var(--om-bg);
    color: var(--om-ink);
    font-family: var(--om-f-body);
    overflow-x: hidden;
}

/* Tło: siatka jak na kalce technicznej + delikatna poświata */
.om-bg {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(1100px 620px at 82% -12%, rgba(57, 135, 229, 0.20), transparent 62%),
        radial-gradient(900px 520px at -12% 38%, rgba(127, 209, 255, 0.07), transparent 60%),
        linear-gradient(var(--om-line) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(90deg, var(--om-line) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(rgba(127, 196, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, rgba(127, 196, 255, 0.045) 1px, transparent 1px) 0 0 / 24px 24px,
        var(--om-bg);
}

/* Postęp czytania: linijka u góry ekranu */
.om-ruler {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none;
    background: linear-gradient(90deg, var(--om-cyan), var(--om-amber));
    transform-origin: 0 50%; transform: scaleX(0);
}

.om { position: relative; }
.om *, .om *::before, .om *::after { box-sizing: border-box; }
.om a { color: var(--om-cyan); text-decoration: none; }
.om a:hover { text-decoration: underline; text-underline-offset: 3px; }
.om strong, .om b { color: #fff; font-weight: 700; }
.om p { margin: 0 0 1rem; line-height: 1.7; color: var(--om-ink-2); }
.om ul, .om ol { margin: 0; padding: 0; list-style: none; }
.om :focus-visible { outline: 2px solid var(--om-amber); outline-offset: 3px; border-radius: 3px; }

.om-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .om-wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .om-wrap { padding: 0 32px; } }

.om-mono { font-family: var(--om-f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--om-ink-3); }
.om-num { font-variant-numeric: tabular-nums; }

/* Pasek „podgląd” — do usunięcia przy publikacji */
.om-preview {
    border-bottom: 1px dashed rgba(255, 194, 74, 0.45);
    background: rgba(255, 194, 74, 0.08);
    color: #ffe2a3; font-family: var(--om-f-mono); font-size: 0.72rem; letter-spacing: 0.06em;
    padding: 8px 16px; text-align: center;
}

/* Okruszki */
.om-crumbs { font-family: var(--om-f-mono); font-size: 0.75rem; color: var(--om-ink-3); padding-top: 28px; }
.om-crumbs a { color: var(--om-ink-3); }
.om-crumbs a:hover { color: #fff; }
.om-crumbs span[aria-current] { color: var(--om-ink-2); }

/* ---------- HERO ---------- */
.om-hero { padding: 28px 0 24px; }
.om-hero__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1060px) { .om-hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; } }

.om-eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 22px; }
.om-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--om-cyan); border: 1px solid var(--om-line-3); border-radius: 3px; padding: 4px 8px;
    background: rgba(127, 209, 255, 0.06);
}
.om-tag--amber { color: var(--om-amber); border-color: rgba(255, 194, 74, 0.5); background: rgba(255, 194, 74, 0.07); }
.om-tag--red { color: var(--om-red); border-color: rgba(255, 122, 110, 0.5); background: rgba(255, 122, 110, 0.08); }
.om-tag--green { color: var(--om-green); border-color: rgba(90, 214, 168, 0.45); background: rgba(90, 214, 168, 0.07); }
.om-tag--muted { color: var(--om-ink-3); border-color: var(--om-line-2); background: transparent; }

.om-h1 {
    font-family: var(--om-f-head); font-stretch: 112%; font-weight: 800;
    font-size: clamp(2.2rem, 4.4vw, 3.75rem); line-height: 1.02; letter-spacing: -0.015em;
    color: #fff; margin: 0 0 22px;
}
.om-h1 .om-h1__brand { display: block; font-size: 0.42em; font-stretch: 125%; letter-spacing: 0.22em; color: var(--om-cyan); margin-bottom: 14px; font-weight: 700; }
.om-h1 em { font-style: normal; color: var(--om-amber); position: relative; white-space: nowrap; }
.om-h1 em::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.09em;
    background: var(--om-amber); opacity: 0.55; transform-origin: 0 50%;
    animation: om-underline 1.2s 0.5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes om-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.om-lead { font-size: 1.12rem; line-height: 1.7; color: var(--om-ink-2); max-width: 40rem; margin-bottom: 28px; }
.om-lead strong { color: #fff; }

.om-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.om-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    font-family: var(--om-f-mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
    padding: 12px 18px; border-radius: 4px; border: 1px solid transparent; cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.om .om-btn:hover { text-decoration: none; transform: translateY(-1px); }
.om .om-btn--primary { background: var(--om-amber); color: #1b1300; }
.om .om-btn--primary:hover { background: #ffd57d; }
.om .om-btn--ghost { color: var(--om-ink); border-color: var(--om-line-3); background: rgba(127, 209, 255, 0.04); }
.om .om-btn--ghost:hover { border-color: var(--om-cyan); }

.om-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--om-line-2); border-radius: var(--om-radius); background: rgba(11, 26, 43, 0.7); }
.om-facts > div { padding: 12px 14px; border-left: 1px solid var(--om-line-2); }
.om-facts > div:first-child { border-left: 0; }
.om-facts dt { font-family: var(--om-f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--om-ink-3); margin-bottom: 4px; }
.om-facts dd { margin: 0; font-family: var(--om-f-head); font-stretch: 108%; font-weight: 800; font-size: 1.45rem; color: #fff; line-height: 1.1; }
.om-facts dd small { display: block; font-family: var(--om-f-body); font-weight: 400; font-size: 0.72rem; color: var(--om-ink-3); margin-top: 3px; line-height: 1.35; }
@media (max-width: 480px) {
    .om-facts dd { font-size: 1.2rem; }
    .om-facts > div { padding: 10px; }
}

/* ---------- KONSOLA (animacja w hero) ---------- */
.om-console {
    position: relative; border: 1px solid var(--om-line-3); border-radius: 8px;
    background: linear-gradient(180deg, rgba(15, 34, 54, 0.96), rgba(9, 22, 37, 0.96));
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(127, 209, 255, 0.04);
}
.om-console__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--om-line-2); }
.om-console__title { font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--om-ink-2); }
.om-led { display: inline-flex; align-items: center; gap: 7px; font-family: var(--om-f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-green); }
.om-led::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--om-green); box-shadow: 0 0 0 3px rgba(90, 214, 168, 0.18); animation: om-pulse 2.4s ease-in-out infinite; }
@keyframes om-pulse { 50% { box-shadow: 0 0 0 6px rgba(90, 214, 168, 0.05); } }
.om-console__body { padding: 14px; }

.om-query { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--om-line-2); background: rgba(6, 19, 33, 0.8); border-radius: 5px; padding: 12px; min-height: 76px; }
.om-query__icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--om-cyan); }
.om-query__text { font-size: 0.95rem; line-height: 1.5; color: #fff; }
.om-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--om-amber); vertical-align: -0.15em; margin-left: 2px; animation: om-blink 1s steps(1) infinite; }
@keyframes om-blink { 50% { opacity: 0; } }

.om-status { display: flex; align-items: center; gap: 8px; min-height: 30px; margin: 10px 0 8px; font-family: var(--om-f-mono); font-size: 0.7rem; color: var(--om-ink-3); }
.om-status__step { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.om-status__step.is-on { color: var(--om-cyan); }
.om-status__spin { width: 12px; height: 12px; border: 2px solid var(--om-line-3); border-top-color: var(--om-cyan); border-radius: 50%; flex: none; opacity: 0; }
.om-console.is-busy .om-status__spin { opacity: 1; animation: om-spin .8s linear infinite; }
@keyframes om-spin { to { transform: rotate(360deg); } }

.om-thumbs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; overflow: hidden; border-radius: 4px; }
.om-thumb {
    position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--om-line-2); border-radius: 3px;
    background: rgba(6, 19, 33, 0.9); color: rgba(127, 209, 255, 0.55);
    transition: border-color .35s ease, box-shadow .35s ease, opacity .35s ease, transform .35s ease, color .35s ease;
}
.om-thumb svg { position: absolute; inset: 8px 8px 18px; width: calc(100% - 16px); height: calc(100% - 26px); }
.om-thumb__lab { position: absolute; left: 6px; bottom: 4px; font-family: var(--om-f-mono); font-size: 0.56rem; letter-spacing: 0.08em; color: var(--om-ink-3); }
.om-thumbs.is-ranked .om-thumb:not(.is-cand) { opacity: 0.3; }
.om-thumb.is-cand { border-color: var(--om-line-3); color: var(--om-cyan); }
.om-thumb.is-hit { border-color: var(--om-amber); color: var(--om-amber); box-shadow: 0 0 0 1px var(--om-amber), 0 0 22px -4px rgba(255, 194, 74, 0.55); transform: translateY(-2px); opacity: 1; }
.om-thumb.is-hit .om-thumb__lab { color: var(--om-amber); }
.om-thumb__n {
    position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--om-amber); color: #1b1300; font-family: var(--om-f-mono); font-size: 0.66rem; font-weight: 700;
    display: grid; place-items: center; transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1);
}
.om-thumb.is-hit .om-thumb__n { transform: scale(1); }
.om-beam { position: absolute; top: 0; bottom: 0; width: 26%; left: -30%; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(127, 209, 255, 0.22) 60%, rgba(127, 209, 255, 0.55) 96%, transparent); }
.om-thumbs.is-scanning .om-beam { animation: om-beam 1.3s cubic-bezier(.45,.05,.55,.95) both; }
@keyframes om-beam { 0% { left: -30%; opacity: 1; } 100% { left: 104%; opacity: 1; } }

.om-answer { margin-top: 12px; border: 1px solid var(--om-line-2); border-radius: 5px; padding: 12px; min-height: 170px; background: rgba(6, 19, 33, 0.55); }
.om-answer__lab { margin-bottom: 8px; }
.om-answer__line { font-size: 0.9rem; line-height: 1.55; color: var(--om-ink); margin: 0 0 6px; opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.om-answer__line.is-shown { opacity: 1; transform: none; }
.om-answer__flag { color: #ffd2cc; }
.om-answer__flag::before { content: '⚠ '; color: var(--om-red); }
.om-answer__note { color: var(--om-ink-3); font-size: 0.82rem; }
.om-srcs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.om-src { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 6px; max-width: 100%; font-size: 0.72rem; color: var(--om-ink-2); border: 1px solid var(--om-line-2); border-radius: 3px; padding: 3px 7px; background: rgba(127, 209, 255, 0.04); }
.om-src b { font-family: var(--om-f-mono); color: var(--om-amber); font-weight: 700; }
.om-src i { font-style: normal; font-family: var(--om-f-mono); font-size: 0.62rem; color: var(--om-ink-3); }

.om-console__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--om-line-2); }
.om-dots { display: flex; gap: 6px; }
.om-dots button { width: 28px; height: 28px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.om-dots button span { display: block; width: 18px; height: 4px; border-radius: 2px; background: var(--om-line-3); transition: background .3s, width .3s; }
.om-dots button[aria-pressed="true"] span { background: var(--om-amber); width: 26px; }
.om-pause { font-family: var(--om-f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-ink-3); background: none; border: 1px solid var(--om-line-2); border-radius: 3px; padding: 6px 10px; cursor: pointer; min-height: 32px; }
.om-pause:hover { color: #fff; border-color: var(--om-line-3); }

/* ---------- TABLICZKA RYSUNKOWA ---------- */
.om-titleblock { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--om-line-3); background: rgba(11, 26, 43, 0.82); font-family: var(--om-f-mono); }
.om-titleblock > div { padding: 10px 12px; border-right: 1px solid var(--om-line-2); border-bottom: 1px solid var(--om-line-2); min-width: 0; }
.om-titleblock dt { font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--om-ink-3); margin-bottom: 3px; }
.om-titleblock dd { margin: 0; font-size: 0.78rem; color: var(--om-ink); overflow-wrap: anywhere; }
.om-titleblock .om-tb-main { grid-column: 1 / -1; }
.om-titleblock .om-tb-main dd { font-family: var(--om-f-head); font-stretch: 115%; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; }
@media (min-width: 760px) {
    .om-titleblock { grid-template-columns: 2.2fr repeat(5, minmax(0, 1fr)); }
    .om-titleblock .om-tb-main { grid-column: auto; }
    .om-titleblock > div { border-bottom: 0; }
    .om-titleblock > div:last-child { border-right: 0; }
}

/* ---------- UKŁAD ARKUSZY ---------- */
.om-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (min-width: 1240px) { .om-layout { grid-template-columns: 168px minmax(0, 1fr); gap: 40px; } }
.om-rail { display: none; }
@media (min-width: 1240px) {
    .om-rail { display: block; }
    .om-rail__inner { position: sticky; top: calc(var(--om-nav-h) + 24px); padding-top: 72px; }
    .om-rail__title { margin-bottom: 12px; }
    .om-rail ol { border-left: 1px solid var(--om-line-2); }
    .om-rail a { display: flex; gap: 10px; align-items: baseline; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 0.8rem; color: var(--om-ink-3); line-height: 1.3; }
    .om-rail a span { font-family: var(--om-f-mono); font-size: 0.66rem; color: var(--om-ink-3); }
    .om-rail a:hover { color: #fff; text-decoration: none; }
    .om-rail a.is-current { color: #fff; border-left-color: var(--om-amber); }
    .om-rail a.is-current span { color: var(--om-amber); }
}

/* Spis arkuszy na węższych ekranach */
.om-toc { margin: 36px 0 0; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.om-toc a { flex: none; font-family: var(--om-f-mono); font-size: 0.7rem; color: var(--om-ink-2); border: 1px solid var(--om-line-2); border-radius: 3px; padding: 7px 10px; background: rgba(11, 26, 43, 0.7); }
.om-toc a span { color: var(--om-amber); margin-right: 6px; }
@media (min-width: 1240px) { .om-toc { display: none; } }

.om-sheet { padding: 72px 0 8px; scroll-margin-top: calc(var(--om-nav-h) + 8px); }
.om-sheet__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.om-sheet__no { flex: none; font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--om-bg); background: var(--om-cyan); padding: 4px 8px; border-radius: 2px; font-weight: 700; }
.om-sheet__name { flex: none; font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--om-cyan); }
.om-sheet__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--om-line-3), transparent); min-width: 20px; }
.om-sheet__of { flex: none; font-family: var(--om-f-mono); font-size: 0.66rem; color: var(--om-ink-3); }
@media (max-width: 520px) { .om-sheet__name { display: none; } }

.om-h2 {
    font-family: var(--om-f-head); font-stretch: 108%; font-weight: 800;
    font-size: clamp(1.7rem, 3.1vw, 2.45rem); line-height: 1.1; letter-spacing: -0.01em; color: #fff;
    margin: 0 0 16px; max-width: 46rem;
}
.om-h2 em { font-style: normal; color: var(--om-amber); }
.om-h3 { font-family: var(--om-f-head); font-stretch: 104%; font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.om-intro { font-size: 1.05rem; max-width: 46rem; }

.om-grid-2 { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .om-grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; } }

/* Karta z narożnikami jak znaczniki cięcia */
.om-card { position: relative; background: rgba(11, 26, 43, 0.88); border: 1px solid var(--om-line-2); border-radius: var(--om-radius); padding: 20px; }
.om-card::before, .om-card::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: var(--om-cyan); border-style: solid; opacity: 0.7; pointer-events: none; }
.om-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--om-radius); }
.om-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--om-radius); }
@media (min-width: 640px) { .om-card { padding: 24px; } }
.om-card__lab { margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- ODSŁANIANIE PRZY PRZEWIJANIU ---------- */
.om-js [data-om-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.om-js [data-om-reveal].is-in { opacity: 1; transform: none; }

/* ---------- WYKRES SŁUPKOWY (poziomy) ---------- */
.om-chart__title { font-family: var(--om-f-head); font-weight: 700; font-stretch: 104%; font-size: 1.02rem; color: #fff; margin: 0 0 4px; }
.om-chart__sub { font-size: 0.8rem; color: var(--om-ink-3); margin: 0 0 14px; line-height: 1.5; }
.om-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 20px; font-size: 0.78rem; color: var(--om-ink-2); }
.om-legend li { display: inline-flex; align-items: center; gap: 7px; }
.om-key { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.om-key--line { height: 3px; width: 16px; border-radius: 2px; }

.om-bars { display: grid; gap: 18px; }
.om-bars__group { display: grid; gap: 4px; }
.om-bars__cat { font-size: 0.82rem; color: var(--om-ink); font-weight: 600; margin-bottom: 2px; }
.om-bar { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 54px; align-items: center; gap: 10px; min-height: 26px; border-radius: 4px; outline-offset: 2px; }
.om-bar__track { position: relative; height: 20px; background-image: linear-gradient(90deg, var(--om-line) 1px, transparent 1px); background-size: 25% 100%; border-left: 1px solid var(--om-line-3); }
.om-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 1%); border-radius: 0 4px 4px 0; transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(.22,1,.36,1); }
.om-js .om-bars:not(.is-in) .om-bar__fill { transform: scaleX(0); }
.om-bar__val { font-family: var(--om-f-mono); font-size: 0.82rem; color: var(--om-ink); font-variant-numeric: tabular-nums; }
.om-bar--thin .om-bar__track { height: 12px; }
.om-bar__range { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: repeating-linear-gradient(135deg, var(--om-s-base) 0 3px, transparent 3px 6px); border-radius: 0 4px 4px 0; }
.om-axis { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 10px; margin-top: 6px; }
.om-axis div { display: flex; justify-content: space-between; font-family: var(--om-f-mono); font-size: 0.62rem; color: var(--om-ink-3); }
.om-delta { display: inline-block; font-family: var(--om-f-mono); font-size: 0.68rem; color: var(--om-ink-2); border: 1px solid var(--om-line-2); border-radius: 3px; padding: 1px 5px; margin-left: 6px; font-weight: 400; }

/* Dymek */
.om-tip { position: fixed; z-index: 80; pointer-events: none; max-width: 260px; background: #020a13; border: 1px solid var(--om-line-3); border-radius: 4px; padding: 8px 10px; font-size: 0.78rem; line-height: 1.45; color: var(--om-ink); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.9); opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.om-tip.is-on { opacity: 1; transform: none; }
.om-tip b { color: #fff; }

/* Tabela danych pod wykresem */
.om-data { margin-top: 16px; border-top: 1px solid var(--om-line); padding-top: 10px; }
.om-data summary { cursor: pointer; font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-ink-3); list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; }
.om-data summary::-webkit-details-marker { display: none; }
.om-data summary::before { content: '+'; color: var(--om-cyan); font-size: 0.9rem; }
.om-data[open] summary::before { content: '−'; }
.om-data summary:hover { color: #fff; }
.om-tablewrap { overflow-x: auto; margin-top: 10px; }
.om-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; min-width: 420px; }
.om-table th, .om-table td { padding: 8px 10px; border-bottom: 1px solid var(--om-line); text-align: right; color: var(--om-ink-2); font-variant-numeric: tabular-nums; }
.om-table th:first-child, .om-table td:first-child { text-align: left; }
.om-table thead th { font-family: var(--om-f-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-ink-3); font-weight: 600; }
.om-table tbody th { color: var(--om-ink); font-weight: 600; }
.om-table tr.is-best td, .om-table tr.is-best th { color: #fff; }

/* ---------- KAFLE KATEGORII (wymiarowanie) ---------- */
.om-dims { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
@media (min-width: 640px) { .om-dims { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .om-dims { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.om-dim { position: relative; border: 1px solid var(--om-line-2); border-radius: var(--om-radius); background: rgba(11, 26, 43, 0.8); padding: 16px 16px 14px; }
.om-dim__val { font-family: var(--om-f-head); font-stretch: 112%; font-weight: 800; font-size: 2.6rem; line-height: 1; color: #fff; margin: 4px 0 10px; }
.om-dim__val small { font-size: 0.45em; color: var(--om-ink-3); font-weight: 700; margin-left: 4px; }
.om-dim__line { position: relative; height: 14px; margin: 0 0 10px; }
.om-dim__line::before { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--om-line-2); border-radius: 1px; }
.om-dim__line i { position: absolute; left: 0; top: 6px; height: 2px; width: calc(var(--v) * 1%); background: var(--om-amber); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.22,1,.36,1) .2s; }
.om-dim__line i::after { content: ''; position: absolute; right: -1px; top: -5px; width: 2px; height: 12px; background: var(--om-amber); }
.om-dim__line::after { content: ''; position: absolute; left: 0; top: 1px; width: 2px; height: 12px; background: var(--om-line-3); }
.om-dim__line s { position: absolute; top: 3px; height: 8px; left: calc(var(--a) * 1%); width: calc((var(--b) - var(--a)) * 1%); background: repeating-linear-gradient(135deg, var(--om-s-base) 0 2px, transparent 2px 4px); text-decoration: none; }
.om-js .om-dim:not(.is-in) .om-dim__line i { transform: scaleX(0); }
.om-dim__txt { font-size: 0.86rem; color: var(--om-ink-2); line-height: 1.5; margin: 0; }
.om-dim__cmp { font-family: var(--om-f-mono); font-size: 0.7rem; color: var(--om-ink-3); margin-top: 8px; }

/* ---------- MAPA STRON (waffle) ---------- */
.om-waffle { display: grid; grid-template-columns: repeat(auto-fill, minmax(13px, 1fr)); gap: 3px; margin: 6px 0 14px; }
.om-waffle i { display: block; aspect-ratio: 1; border-radius: 1px; background: rgba(127, 209, 255, 0.22); transition: background-color .5s ease, transform .5s ease; }
.om-waffle i.is-dark { background: var(--om-amber); }
.om-js .om-waffle:not(.is-in) i { transform: scale(0.2); background: rgba(127, 209, 255, 0.08); }
.om-inv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--om-line-2); border-radius: var(--om-radius); overflow: hidden; }
.om-inv > div { padding: 12px 14px; border-right: 1px solid var(--om-line); border-bottom: 1px solid var(--om-line); }
.om-inv > div:nth-child(2n) { border-right: 0; }
.om-inv dt { font-family: var(--om-f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--om-ink-3); }
.om-inv dd { margin: 3px 0 0; font-family: var(--om-f-head); font-stretch: 108%; font-weight: 800; font-size: 1.3rem; color: #fff; }
.om-inv dd small { font-family: var(--om-f-body); font-weight: 400; font-size: 0.72rem; color: var(--om-ink-3); margin-left: 4px; }
.om-formats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- WYKRES LINIOWY (warstwy) ---------- */
.om-line { position: relative; }
.om-line svg { display: block; width: 100%; height: auto; overflow: visible; }
.om-line .om-gl { stroke: var(--om-line); stroke-width: 1; }
.om-line .om-ax { stroke: var(--om-line-3); stroke-width: 1; }
.om-line text { font-family: var(--om-f-mono); font-size: 11px; fill: var(--om-ink-3); }
.om-line .om-path { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.22,1,.36,1); }
.om-line .om-pt { stroke: var(--om-surface); stroke-width: 2; transition: r .2s ease; }
.om-line .om-cross { stroke: var(--om-ink-3); stroke-width: 1; }
.om-line .om-hit { fill: transparent; cursor: pointer; }
.om-readout { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 12px; font-size: 0.8rem; color: var(--om-ink-2); }
.om-readout li { display: inline-flex; align-items: center; gap: 7px; }
.om-readout b { font-family: var(--om-f-mono); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.om-steps { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
@media (min-width: 760px) { .om-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.om-step { text-align: left; border: 1px solid var(--om-line-2); background: rgba(6, 19, 33, 0.6); border-radius: 4px; padding: 10px 12px; color: var(--om-ink-2); font-size: 0.8rem; line-height: 1.45; cursor: pointer; transition: border-color .2s, background-color .2s; font-family: var(--om-f-body); }
.om-step b { display: block; font-family: var(--om-f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-ink-3); margin-bottom: 4px; font-weight: 600; }
.om-step:hover { border-color: var(--om-line-3); }
.om-step[aria-pressed="true"] { border-color: var(--om-amber); background: rgba(255, 194, 74, 0.07); color: var(--om-ink); }
.om-step[aria-pressed="true"] b { color: var(--om-amber); }

/* ---------- SCHEMAT DZIAŁANIA ---------- */
.om-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 28px; }
@media (min-width: 1060px) { .om-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.om-stage { position: relative; border: 1px solid var(--om-line-2); background: rgba(11, 26, 43, 0.9); border-radius: var(--om-radius); padding: 16px; }
.om-stage__no { font-family: var(--om-f-mono); font-size: 0.64rem; letter-spacing: 0.12em; color: var(--om-cyan); margin-bottom: 8px; display: block; }
.om-stage h3 { font-family: var(--om-f-head); font-stretch: 106%; font-weight: 800; font-size: 1.08rem; color: #fff; margin: 0 0 10px; }
.om-stage li { font-size: 0.82rem; color: var(--om-ink-2); line-height: 1.45; padding: 5px 0 5px 14px; position: relative; border-top: 1px dashed var(--om-line); }
.om-stage li:first-child { border-top: 0; }
.om-stage li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 6px; height: 1px; background: var(--om-cyan); }
.om-model { display: inline-block; margin-top: 3px; font-family: var(--om-f-mono); font-size: 0.64rem; color: var(--om-amber); border: 1px solid rgba(255, 194, 74, 0.35); border-radius: 2px; padding: 1px 5px; }
.om-link { position: relative; height: 34px; }
.om-link::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(180deg, var(--om-cyan) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: om-flow-v 0.9s linear infinite; opacity: 0.8; }
.om-link::after { content: ''; position: absolute; left: 50%; bottom: -1px; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--om-cyan); border-bottom: 0; }
@keyframes om-flow-v { to { background-position: 0 12px; } }
@media (min-width: 1060px) {
    .om-flow { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr); }
    .om-link { height: auto; }
    .om-link::before { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; background: repeating-linear-gradient(90deg, var(--om-cyan) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: om-flow-h 0.9s linear infinite; }
    .om-link::after { left: auto; right: -1px; top: 50%; bottom: auto; margin: -5px 0 0; border: 5px solid transparent; border-left-color: var(--om-cyan); border-right: 0; }
}
@keyframes om-flow-h { to { background-position: 12px 0; } }
.om-phases { display: none; }
@media (min-width: 1060px) {
    .om-phases { display: grid; grid-template-columns: 3fr 2fr; gap: 26px; margin-top: 14px; }
    .om-phase { position: relative; text-align: center; padding-top: 14px; font-family: var(--om-f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--om-ink-3); }
    .om-phase::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; border: 1px solid var(--om-line-3); border-top: 0; }
}
.om-callout { margin-top: 28px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); border: 1px solid rgba(255, 194, 74, 0.35); background: rgba(255, 194, 74, 0.05); border-radius: var(--om-radius); padding: 18px 20px; }
@media (min-width: 900px) { .om-callout { grid-template-columns: 220px minmax(0, 1fr); align-items: center; } }
.om-callout__big { font-family: var(--om-f-head); font-stretch: 115%; font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--om-amber); }
.om-callout p { margin: 0; }

/* ---------- PRZYKŁADY (zakładki) ---------- */
.om-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; margin: 24px 0 0; scrollbar-width: thin; }
.om-tab {
    flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; cursor: pointer;
    border: 1px solid var(--om-line-2); background: rgba(11, 26, 43, 0.8); border-radius: 4px; padding: 9px 12px; color: var(--om-ink-2);
    font-family: var(--om-f-body); font-size: 0.8rem; line-height: 1.3; min-height: 44px; max-width: 220px; transition: border-color .2s, background-color .2s;
}
.om-tab b { font-family: var(--om-f-mono); font-size: 0.64rem; letter-spacing: 0.1em; color: var(--om-ink-3); font-weight: 600; }
.om-tab:hover { border-color: var(--om-line-3); }
.om-tab[aria-selected="true"] { border-color: var(--om-amber); background: rgba(255, 194, 74, 0.08); color: #fff; }
.om-tab[aria-selected="true"] b { color: var(--om-amber); }
.om-panel { margin-top: 10px; }
.om-panel[hidden] { display: none; }
.om-case { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .om-case { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; } }
.om-q { font-family: var(--om-f-head); font-stretch: 104%; font-weight: 700; font-size: 1.2rem; line-height: 1.4; color: #fff; margin: 4px 0 16px; padding-left: 14px; border-left: 3px solid var(--om-cyan); min-height: 3.2em; }
.om-a li { position: relative; padding: 6px 0 6px 22px; color: var(--om-ink); font-size: 0.94rem; line-height: 1.6; }
.om-a li::before { content: ''; position: absolute; left: 4px; top: 0.95em; width: 8px; height: 8px; border: 2px solid var(--om-cyan); border-radius: 50%; }
.om-flags { margin-top: 14px; display: grid; gap: 8px; }
.om-flag { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: start; border: 1px solid rgba(255, 122, 110, 0.42); background: rgba(255, 122, 110, 0.07); border-radius: 4px; padding: 10px 12px; font-size: 0.88rem; line-height: 1.5; color: #ffe1dc; }
.om-flag--ok { border-color: rgba(90, 214, 168, 0.4); background: rgba(90, 214, 168, 0.06); color: #d6f7ea; }
.om-flag--info { border-color: var(--om-line-3); background: rgba(127, 209, 255, 0.05); color: var(--om-ink); }
.om-flag svg { width: 20px; height: 20px; margin-top: 1px; }
.om-flag b { color: #fff; }
.om-why { margin-top: 14px; font-size: 0.86rem; color: var(--om-ink-3); line-height: 1.6; }
.om-why b { color: var(--om-ink-2); font-family: var(--om-f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.om-testdoc { font-family: var(--om-f-mono); font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--om-amber); border: 1px dashed rgba(255, 194, 74, 0.5); border-radius: 2px; padding: 0 4px; margin-left: 4px; white-space: nowrap; }
.om-viz { min-height: 100%; }
.om-viz svg { display: block; width: 100%; height: auto; }
.om-viz svg { font-family: var(--om-f-mono); }
.om-caption { font-size: 0.72rem; color: var(--om-ink-3); margin: 10px 0 0; line-height: 1.5; }

/* Chmurka rewizji: rysuje się po wejściu w widok */
.om-cloud { fill: none; stroke: var(--om-red); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.5,0,.3,1) .3s; }
.om-js .om-panel:not(.is-drawn) .om-cloud { stroke-dashoffset: 1400; }

/* Pasek stron instrukcji (przykład 4) */
.om-spine { position: relative; margin: 34px 0 40px; height: 44px; border: 1px solid var(--om-line-3); border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(127, 209, 255, 0.18) 0 1px, transparent 1px calc(100% / 29.8)); }
.om-spine__hit { position: absolute; top: -8px; bottom: -8px; width: 4px; margin-left: -2px; background: var(--om-amber); border-radius: 2px; box-shadow: 0 0 14px rgba(255, 194, 74, 0.7); }
.om-spine__hit span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: var(--om-f-mono); font-size: 0.66rem; color: var(--om-amber); white-space: nowrap; }
.om-spine__end { position: absolute; bottom: -22px; font-family: var(--om-f-mono); font-size: 0.62rem; color: var(--om-ink-3); }
.om-langs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; text-align: center; }
.om-langs > div { border: 1px solid var(--om-line-2); border-radius: 4px; padding: 12px 8px; }
.om-langs strong { display: block; font-family: var(--om-f-head); font-stretch: 115%; font-size: 1.6rem; }
.om-langs span { font-size: 0.74rem; color: var(--om-ink-3); }
.om-langs > i { font-style: normal; color: var(--om-amber); font-size: 1.4rem; }

/* Grzejniki (przykład 5) */
.om-units { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 6px; }
.om-units i { width: 14px; height: 18px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(127, 209, 255, 0.55) 0 2px, transparent 2px 4px); border: 1px solid rgba(127, 209, 255, 0.55); }
.om-units i.is-b { background: repeating-linear-gradient(90deg, rgba(57, 135, 229, 0.85) 0 2px, transparent 2px 4px); border-color: rgba(57, 135, 229, 0.95); }
.om-units i.is-x { background: transparent; border: 2px dashed var(--om-red); }
.om-units .om-units__gap { width: 10px; }
.om-ulegend { display: grid; gap: 6px; font-size: 0.8rem; color: var(--om-ink-2); margin-top: 10px; }
.om-ulegend li { display: flex; align-items: center; gap: 8px; }
.om-ulegend i { width: 12px; height: 16px; flex: none; }

/* Procedura (przykład 6) */
.om-proc { counter-reset: om-p; display: grid; gap: 0; }
.om-proc li { counter-increment: om-p; position: relative; padding: 10px 0 14px 46px; color: var(--om-ink); font-size: 0.9rem; line-height: 1.5; }
.om-proc li::before { content: counter(om-p); position: absolute; left: 0; top: 6px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--om-cyan); display: grid; place-items: center; font-family: var(--om-f-mono); font-size: 0.8rem; color: var(--om-cyan); background: var(--om-surface); }
.om-proc li::after { content: ''; position: absolute; left: 14px; top: 38px; bottom: -4px; width: 2px; background: var(--om-line-3); }
.om-proc li:last-child::after { display: none; }

/* Dwa projekty (przykład 7) */
.om-twins { display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.om-twins > div { border: 1px solid var(--om-line-2); border-radius: 4px; padding: 14px; }
.om-twins > i { background: repeating-linear-gradient(180deg, var(--om-red) 0 6px, transparent 6px 11px); }
.om-twins strong { display: block; font-family: var(--om-f-head); font-stretch: 112%; font-weight: 800; font-size: 1.6rem; color: #fff; margin: 4px 0; }
.om-twins span { font-size: 0.78rem; color: var(--om-ink-3); }
.om-twins .om-bar__track { margin-top: 10px; height: 10px; }

/* ---------- LEGENDA CECH ---------- */
.om-feats { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
@media (min-width: 640px) { .om-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .om-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.om-feat { border: 1px solid var(--om-line-2); border-radius: var(--om-radius); background: rgba(11, 26, 43, 0.8); padding: 16px; display: flex; flex-direction: column; gap: 8px; transition: border-color .25s, transform .25s; }
.om-feat:hover { border-color: var(--om-line-3); transform: translateY(-2px); }
.om-feat__sym { width: 44px; height: 44px; color: var(--om-cyan); }
.om-feat h3 { font-family: var(--om-f-head); font-stretch: 104%; font-weight: 700; font-size: 1rem; line-height: 1.3; color: #fff; margin: 0; }
.om-feat p { font-size: 0.84rem; margin: 0; line-height: 1.55; }
.om-feat a { margin-top: auto; font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.04em; }

/* ---------- SPRZĘT ---------- */
.om-rack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .om-rack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.om-unit { position: relative; border: 1px solid var(--om-line-3); border-radius: 6px; padding: 16px; background: linear-gradient(180deg, rgba(20, 48, 75, 0.7), rgba(11, 26, 43, 0.9)); }
.om-unit__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.om-unit__leds { display: flex; gap: 5px; }
.om-unit__leds i { width: 6px; height: 6px; border-radius: 50%; background: var(--om-green); opacity: 0.35; animation: om-led 1.8s ease-in-out infinite; }
.om-unit__leds i:nth-child(2) { animation-delay: .3s; }
.om-unit__leds i:nth-child(3) { animation-delay: .6s; }
@keyframes om-led { 50% { opacity: 1; } }
.om-unit h3 { font-family: var(--om-f-head); font-stretch: 108%; font-weight: 800; font-size: 1.15rem; color: #fff; margin: 0 0 4px; }
.om-unit p { font-size: 0.84rem; margin: 0 0 10px; }
.om-unit .om-formats { margin-top: 0; }
.om-vents { height: 10px; margin-top: 12px; background: repeating-linear-gradient(90deg, var(--om-line-2) 0 3px, transparent 3px 7px); border-radius: 2px; }
.om-specs { display: grid; gap: 1px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--om-line-2); border: 1px solid var(--om-line-2); border-radius: var(--om-radius); overflow: hidden; margin-top: 20px; }
@media (min-width: 900px) { .om-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.om-specs > div { background: var(--om-surface); padding: 14px; }
.om-specs dt { font-family: var(--om-f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--om-ink-3); margin-bottom: 6px; }
.om-specs dd { margin: 0; font-family: var(--om-f-head); font-stretch: 110%; font-weight: 800; font-size: 1.5rem; color: #fff; line-height: 1.1; }
.om-specs dd small { display: block; font-family: var(--om-f-body); font-weight: 400; font-size: 0.75rem; color: var(--om-ink-3); margin-top: 4px; line-height: 1.4; }

/* ---------- REWIZJE (kierunki rozwoju) ---------- */
.om-revs { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 640px; }
.om-revs th, .om-revs td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--om-line); vertical-align: top; color: var(--om-ink-2); line-height: 1.5; }
.om-revs thead th { font-family: var(--om-f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--om-ink-3); font-weight: 600; border-bottom: 1px solid var(--om-line-3); }
.om-revs td:first-child { font-family: var(--om-f-mono); color: var(--om-cyan); width: 52px; }
.om-revs td:nth-child(2) { color: #fff; font-weight: 600; }
.om-st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--om-f-mono); font-size: 0.66rem; letter-spacing: 0.04em; white-space: nowrap; }
.om-st::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.om-st--done { color: var(--om-green); }
.om-st--done::before { background: currentColor; }
.om-st--half { color: var(--om-amber); }
.om-st--half::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.om-st--todo { color: var(--om-ink-3); }

/* DWG — przepływ badań */
.om-cad { margin-top: 24px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .om-cad { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.om-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 16px; }
.om-chain span { font-family: var(--om-f-mono); font-size: 0.72rem; color: var(--om-ink); border: 1px solid var(--om-line-3); border-radius: 3px; padding: 5px 8px; background: rgba(6, 19, 33, 0.7); }
.om-chain i { font-style: normal; color: var(--om-cyan); font-family: var(--om-f-mono); }
.om-list li { position: relative; padding: 5px 0 5px 18px; font-size: 0.9rem; color: var(--om-ink-2); line-height: 1.6; }
.om-list li::before { content: '—'; position: absolute; left: 0; color: var(--om-cyan); }

/* ---------- UWAGI ---------- */
.om-notes { border: 1px solid var(--om-line-3); border-radius: 2px; padding: 20px 22px; background: rgba(6, 19, 33, 0.8); counter-reset: om-n; }
.om-notes h3 { font-family: var(--om-f-mono); font-size: 0.8rem; letter-spacing: 0.2em; color: #fff; margin: 0 0 12px; text-decoration: underline; text-underline-offset: 5px; font-weight: 700; }
.om-notes li { counter-increment: om-n; position: relative; padding: 5px 0 5px 30px; font-size: 0.88rem; color: var(--om-ink-2); line-height: 1.6; }
.om-notes li::before { content: counter(om-n) '.'; position: absolute; left: 0; font-family: var(--om-f-mono); color: var(--om-cyan); }

/* ---------- RODZINA PRODUKTÓW ---------- */
.om-family { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
@media (min-width: 640px) { .om-family { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .om-family { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.om-mod { position: relative; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--om-line-2); border-radius: var(--om-radius); padding: 16px; background: rgba(11, 26, 43, 0.75); color: var(--om-ink-2); min-height: 150px; }
.om-mod h3 { font-family: var(--om-f-head); font-stretch: 108%; font-weight: 800; font-size: 1.1rem; color: #fff; margin: 0; }
.om-mod p { font-size: 0.82rem; margin: 0; line-height: 1.5; }
.om-mod .om-tag { align-self: flex-start; margin-top: auto; }
.om-mod.is-active { border-color: var(--om-amber); background: rgba(255, 194, 74, 0.06); }
.om-mod__sym { width: 34px; height: 34px; color: var(--om-cyan); }
.om-mod.is-active .om-mod__sym { color: var(--om-amber); }
a.om-mod:hover { text-decoration: none; border-color: var(--om-amber); transform: translateY(-2px); }
a.om-mod { transition: transform .25s, border-color .25s; }

/* ---------- FAQ ---------- */
.om-faq { display: grid; gap: 8px; margin-top: 20px; }
.om-faq details { border: 1px solid var(--om-line-2); border-radius: var(--om-radius); background: rgba(11, 26, 43, 0.8); }
.om-faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font-family: var(--om-f-head); font-stretch: 104%; font-weight: 700; font-size: 1.02rem; color: #fff; line-height: 1.4; }
.om-faq summary::-webkit-details-marker { display: none; }
.om-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--om-f-mono); color: var(--om-cyan); font-size: 1.2rem; }
.om-faq details[open] summary::after { content: '−'; }
.om-faq details > p { padding: 0 18px 16px; margin: 0; }

/* ---------- KONTAKT ---------- */
.om-contact { margin: 64px 0 24px; position: relative; overflow: hidden; border: 1px solid rgba(255, 194, 74, 0.45); border-radius: 8px; padding: 28px 22px; background: linear-gradient(135deg, rgba(255, 194, 74, 0.09), rgba(11, 26, 43, 0.9) 55%); }
@media (min-width: 640px) { .om-contact { padding: 36px 36px; } }
.om-contact h2 { font-family: var(--om-f-head); font-stretch: 110%; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.15; color: #fff; margin: 0 0 12px; max-width: 40rem; }
.om-contact p { max-width: 42rem; }
.om-contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- HUB ---------- */
.om-hub-hero { padding: 40px 0 10px; }
.om-hybrid { margin-top: 30px; }
.om-hybrid svg { width: 100%; height: auto; display: block; }
.om-hybrid text { font-family: var(--om-f-mono); }

/* Ruch ograniczony: bez animacji, wszystko od razu widoczne */
@media (prefers-reduced-motion: reduce) {
    .om *, .om *::before, .om *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
    .om-js [data-om-reveal] { opacity: 1; transform: none; }
    .om-cloud { stroke-dashoffset: 0; }
    .om-link::before { animation: none; }
}

/* Druk / wymuszone kolory: zakres BM25 kreskowaniem, a nie tylko kolorem */
@media (forced-colors: active) {
    .om-bar__fill, .om-dim__line i { forced-color-adjust: none; }
}

/* ---------- HUB: schemat w trzech krokach ---------- */
@media (min-width: 1060px) {
    .om-flow.om-flow--3 { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr); }
}
.om-family--hub { margin-top: 26px; }
@media (min-width: 1060px) { .om-family--hub { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.om-family--hub .om-mod { min-height: 190px; padding: 20px; }
.om-family--hub .om-mod h3 { font-size: 1.25rem; }
.om-family--hub .om-mod p { font-size: 0.9rem; }

/* Na wąskich ekranach wyróżnienie w H1 może się łamać (podkreślenie zamiast paska) */
@media (max-width: 640px) {
    .om-h1 em { white-space: normal; text-decoration: underline; text-decoration-color: rgba(255, 194, 74, 0.55); text-decoration-thickness: 0.09em; text-underline-offset: 0.12em; }
    .om-h1 em::after { display: none; }
}

/* ---------- NAJWAŻNIEJSZE LICZBY (tabela jako zestawienie) ---------- */
.om-keys { width: 100%; margin-top: 40px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--om-line-3); background: rgba(11, 26, 43, 0.85); font-family: var(--om-f-body); }
.om-keys caption { caption-side: top; text-align: left; padding: 0 0 10px; font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--om-cyan); }
.om-keys tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .om-keys tbody { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .om-keys tbody { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.om-keys tr { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 12px 14px; border-right: 1px solid var(--om-line-2); border-bottom: 1px solid var(--om-line-2); min-width: 0; }
.om-keys th { font-family: var(--om-f-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-ink-3); font-weight: 600; text-align: left; line-height: 1.4; }
.om-keys td { font-family: var(--om-f-head); font-stretch: 110%; font-weight: 800; font-size: 1.45rem; color: #fff; line-height: 1.05; }
.om-keys td small { display: block; font-family: var(--om-f-body); font-stretch: 100%; font-weight: 400; font-size: 0.72rem; color: var(--om-ink-3); margin-top: 4px; line-height: 1.35; }

/* ---------- NIEZGODNOŚCI (zestawienie rysunek ≠ inny dokument) ---------- */
.om-redline { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 620px; }
.om-redline th, .om-redline td { padding: 12px; border-bottom: 1px solid var(--om-line); text-align: left; vertical-align: top; color: var(--om-ink-2); line-height: 1.5; }
.om-redline thead th { font-family: var(--om-f-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--om-ink-3); font-weight: 600; border-bottom: 1px solid var(--om-line-3); }
.om-redline td b { color: #fff; }
.om-redline td small { display: block; font-family: var(--om-f-mono); font-size: 0.66rem; color: var(--om-ink-3); margin-top: 3px; }
.om-redline .om-ne { width: 34px; text-align: center; color: var(--om-red); font-family: var(--om-f-body); font-weight: 700; font-size: 1.2rem; }
.om-redline .om-rev { width: 40px; }
.om-redline .om-rev span { display: inline-grid; place-items: center; width: 26px; height: 23px; background: var(--om-red); color: #061321; font-family: var(--om-f-mono); font-size: 0.7rem; font-weight: 700; clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 6px; }

/* Schemat w czterech krokach (pilotaż) */
@media (min-width: 1060px) {
    .om-flow.om-flow--4 { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr); }
}
.om-h3sub { font-family: var(--om-f-head); font-stretch: 106%; font-weight: 800; font-size: 1.35rem; color: #fff; margin: 48px 0 10px; line-height: 1.25; }
.om-dim h3 { font-family: var(--om-f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--om-ink-3); font-weight: 400; margin: 0; }
h3.om-casetitle { font-family: var(--om-f-head); font-stretch: 106%; font-weight: 800; font-size: 1.05rem; color: var(--om-amber); margin: 0 0 14px; }
.om-mod h2 { font-family: var(--om-f-head); font-stretch: 108%; font-weight: 800; font-size: 1.1rem; line-height: 1.25; color: #fff; margin: 0; }
.om-family--hub .om-mod h2 { font-size: 1.25rem; }

/* ---------- KLASYFIKACJA ZGŁOSZEŃ ---------- */
.om-units i.is-h { background: transparent; border: 2px solid var(--om-amber); }
.om-units--mail i { width: 18px; height: 13px; }
.om-mail { border: 1px solid var(--om-line-2); border-radius: 5px; background: rgba(6, 19, 33, 0.7); padding: 12px 14px; }
.om-mail + .om-mail { margin-top: 10px; }
.om-mail__txt { font-size: 0.88rem; line-height: 1.55; color: #fff; margin: 0 0 10px; font-style: italic; }
.om-mail dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; margin: 0; font-size: 0.8rem; }
.om-mail dt { font-family: var(--om-f-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-ink-3); padding-top: 2px; }
.om-mail dd { margin: 0; color: var(--om-ink); }
.om-route { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; }
.om-route--auto { color: var(--om-green); border: 1px solid rgba(90, 214, 168, 0.5); background: rgba(90, 214, 168, 0.08); }
.om-route--human { color: var(--om-amber); border: 1px solid rgba(255, 194, 74, 0.5); background: rgba(255, 194, 74, 0.08); }
.om-pending { display: inline-flex; align-items: center; gap: 8px; font-family: var(--om-f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-amber); border: 1px dashed rgba(255, 194, 74, 0.6); border-radius: 3px; padding: 6px 10px; }
.om-pending::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--om-amber); animation: om-pulse 2.4s ease-in-out infinite; }
.om-dont { border: 1px solid rgba(255, 122, 110, 0.45); background: rgba(255, 122, 110, 0.06); border-radius: var(--om-radius); padding: 18px 20px; margin-top: 22px; }
.om-dont h3 { font-family: var(--om-f-head); font-stretch: 106%; font-weight: 800; font-size: 1.1rem; color: #ffd2cc; margin: 0 0 8px; }
.om-dont p { margin: 0; }
/* Decyzje z pewnością (przykład w hero strony klasyfikacji) */
.om-decs { display: grid; gap: 8px; margin-top: 12px; }
.om-dec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; border: 1px solid var(--om-line-2); border-radius: 4px; padding: 9px 11px; background: rgba(6, 19, 33, 0.6); }
.om-dec__q { font-family: var(--om-f-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--om-ink-3); }
.om-dec__a { font-size: 0.9rem; font-weight: 600; color: #fff; }
.om-dec__p { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.om-dec__p .om-bar__track { height: 8px; }
.om-dec__p span { font-family: var(--om-f-mono); font-size: 0.72rem; color: var(--om-ink); text-align: right; }
.om-dec .om-route { margin-top: 0; grid-row: 1 / span 2; grid-column: 2; align-self: start; }
.om-dec__head { display: flex; flex-direction: column; gap: 2px; }
/* Podział: automat / człowiek */
.om-split { display: flex; height: 28px; border-radius: 4px; overflow: hidden; gap: 2px; margin: 10px 0 8px; }
.om-split > div { display: flex; align-items: center; padding: 0 10px; font-family: var(--om-f-mono); font-size: 0.72rem; font-weight: 700; color: #061321; white-space: nowrap; }
.om-split .is-auto { background: var(--om-green); }
.om-split .is-human { background: var(--om-amber); }
.om-code { font-family: var(--om-f-mono); font-size: 0.74rem; line-height: 1.6; color: var(--om-ink-2); background: rgba(2, 10, 19, 0.85); border: 1px solid var(--om-line-2); border-radius: 5px; padding: 14px; overflow-x: auto; white-space: pre; margin: 0; }
.om-code b { color: var(--om-amber); font-weight: 600; }
.om-code i { color: var(--om-green); font-style: normal; }
