:root{
  --rubix-yellow:#FFD700;
  --rubix-dark-blue:#051E50;
  --rubix-blue:#80A2FC;
  --rubix-grey:#BBBBBC;
  --rubix-light:#F7F8FA;
  --ink:#051E50;
  --muted:#5f6f86;
  --line:#d9dee8;
  --bg:#f4f5f8;
  --card:#ffffff;
  --green:#0f9d58;
  --amber:#f59e0b;
  --red:#d72b38;
  --shadow:0 16px 48px rgba(5,30,80,.12);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,215,0,.22), transparent 28rem),
    linear-gradient(180deg,#ffffff 0%,#f6f7fa 42%,#eef1f7 100%);
  color:var(--ink);
}
a{color:inherit}.app-shell{width:min(1420px,calc(100% - 32px));margin:0 auto;padding:14px 0 44px}
.topbar{position:sticky;top:10px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--line);border-top:5px solid var(--rubix-yellow);background:#fff;border-radius:26px;box-shadow:0 10px 30px rgba(5,30,80,.08);padding:13px 16px}
.brand{display:flex;align-items:center;gap:14px}.brand-mark{display:inline-flex;align-items:center;justify-content:center;height:40px;min-width:92px;border-radius:13px;background:var(--rubix-dark-blue);color:var(--rubix-yellow);font-weight:950;letter-spacing:.12em}.brand-title{font-weight:950;text-transform:uppercase;letter-spacing:.02em}.brand-subtitle{color:var(--muted);font-weight:750;font-size:.92rem}.top-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.imi-logo{width:154px;max-height:54px;object-fit:contain}.language-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid var(--line);border-radius:999px;background:#fff}.lang-btn{border:0;border-radius:999px;min-width:38px;padding:8px 10px;background:transparent;color:var(--rubix-dark-blue);font-weight:950;cursor:pointer}.lang-btn.active{background:var(--rubix-yellow);color:var(--rubix-dark-blue)}
.btn,.tab{border:0;border-radius:999px;font:inherit;font-weight:900;cursor:pointer}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;text-decoration:none;background:var(--rubix-dark-blue);color:#fff;box-shadow:0 10px 22px rgba(5,30,80,.13)}.btn.yellow{background:var(--rubix-yellow);color:var(--rubix-dark-blue);box-shadow:0 10px 22px rgba(255,215,0,.20)}.btn.ghost{background:#fff;color:var(--rubix-dark-blue);border:1px solid var(--line);box-shadow:none}.btn.red{background:var(--red);color:#fff}.btn:disabled{opacity:.5;cursor:not-allowed}
.hero{margin-top:16px;border:1px solid var(--line);background:linear-gradient(135deg,#fff 0%,#fff 48%,#f7f9ff 100%);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;position:relative}.hero::before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:var(--rubix-yellow)}.hero::after{content:"";position:absolute;right:-120px;bottom:-170px;width:430px;height:430px;border-radius:50%;background:rgba(255,215,0,.32)}.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:26px;padding:34px}.eyebrow{margin:0 0 8px;color:var(--rubix-dark-blue);font-size:.78rem;font-weight:950;letter-spacing:.15em;text-transform:uppercase}.hero h1{margin:0;max-width:900px;font-size:clamp(2.3rem,5vw,5.1rem);line-height:.96;letter-spacing:-.07em;color:#172033}.hero p{color:var(--muted);font-size:1.08rem;line-height:1.65}.hero-pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.hero-kpis{display:grid;gap:10px;align-content:center;background:linear-gradient(180deg,#102b66,var(--rubix-dark-blue));color:#fff;border-radius:20px;padding:18px}.hero-kpis img{justify-self:end;width:165px;background:#fff;border-radius:12px;padding:8px;max-height:86px;object-fit:contain}.pill{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;border-radius:999px;padding:9px 12px;background:#eef2f7;color:var(--rubix-dark-blue);font-weight:900;font-size:.9rem}.hero-kpis .pill{background:rgba(255,255,255,.13);color:#fff}.pill.yellow{background:var(--rubix-yellow);color:var(--rubix-dark-blue)}
.tabs{display:flex;gap:10px;margin:16px 0;padding:8px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 8px 24px rgba(5,30,80,.06);overflow-x:auto}.tab{padding:11px 18px;background:#fff;color:var(--rubix-dark-blue);white-space:nowrap}.tab.active,.tab:hover{background:var(--rubix-dark-blue);color:#fff}.tab.active{box-shadow:inset 0 -4px 0 var(--rubix-yellow)}
.monitoring-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.monitor-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:0 8px 26px rgba(5,30,80,.07)}.monitor-title{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-weight:850;font-size:.85rem}.monitor-value{margin-top:8px;color:var(--rubix-dark-blue);font-size:1.55rem;font-weight:950;letter-spacing:-.04em}.monitor-sub{margin-top:4px;color:var(--muted);font-size:.85rem}.tab-content{display:none}.tab-content.active{display:block}.grid{display:grid;gap:16px}.grid-2{grid-template-columns:minmax(0,1.1fr) minmax(390px,.9fr)}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 34px rgba(5,30,80,.08);padding:22px}.section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.section-title h2{margin:0;font-size:clamp(1.35rem,2.1vw,2rem);letter-spacing:-.04em;color:var(--rubix-dark-blue)}.section-title p{margin:8px 0 0;color:var(--muted);line-height:1.55}.badge{display:inline-flex;border-radius:999px;padding:8px 12px;font-weight:950;font-size:.78rem;background:#eef2f7;color:var(--rubix-dark-blue)}.badge.yellow{background:var(--rubix-yellow);color:var(--rubix-dark-blue)}.badge.red{background:#fff8cc;color:var(--rubix-dark-blue);border:1px solid rgba(255,215,0,.6)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-weight:900;color:#344054;font-size:.9rem}.field small{color:var(--muted);line-height:1.4}input,select,textarea{width:100%;min-height:44px;border:1px solid #cfd8e5;border-radius:13px;padding:10px 12px;font:inherit;color:var(--ink);background:#fff}textarea{min-height:120px;resize:vertical}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--rubix-blue);box-shadow:0 0 0 4px rgba(128,162,252,.20)}
.result-card{background:linear-gradient(135deg,#102b66,var(--rubix-dark-blue));color:#fff;border-radius:22px;padding:22px}.result-head{display:flex;justify-content:space-between;gap:16px;align-items:end}.result-percent{font-size:clamp(3rem,6vw,5.2rem);font-weight:950;line-height:.9;letter-spacing:-.06em;color:var(--rubix-yellow)}.progress{height:13px;border-radius:999px;background:rgba(255,255,255,.16);overflow:hidden;margin:18px 0 10px}.progress span{display:block;height:100%;background:var(--rubix-yellow);width:0%;border-radius:inherit;transition:width .25s}.metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.metric{border:1px solid var(--line);border-radius:18px;background:#fff;padding:15px}.metric span{display:block;color:var(--muted);font-weight:850;font-size:.84rem}.metric strong{display:block;margin-top:8px;color:var(--rubix-dark-blue);font-weight:950;font-size:1.25rem}.selection-list{display:grid;gap:10px}.selection-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:10px}.selection-row:first-child{border-top:0}.selection-row span{color:var(--muted);font-weight:850}.selection-row strong{text-align:right;overflow-wrap:anywhere}.notice{border-left:5px solid var(--rubix-yellow);background:#fffbea;border-radius:16px;padding:14px;color:#5c4a00;line-height:1.55}.article h3{color:var(--rubix-dark-blue);margin-bottom:4px}.article p,.article li{color:#465365;line-height:1.65}.sequence{display:flex;gap:5px;flex-wrap:wrap}.dot{width:16px;height:16px;border-radius:50%;background:#d6deea}.dot.on{background:var(--rubix-yellow);box-shadow:0 0 0 4px rgba(255,215,0,.22)}.report-box{white-space:pre-wrap;background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:16px;color:#344054;line-height:1.55}.footer{margin-top:20px;color:var(--muted);font-size:.88rem;text-align:center}
table{border-collapse:collapse;width:100%;font-size:14px}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{background:#f4f7ff;color:var(--rubix-dark-blue);font-size:12px;text-transform:uppercase;letter-spacing:.04em}tr:last-child td{border-bottom:none}
@media(max-width:1100px){.hero-grid,.grid-2,.monitoring-bar{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.top-actions{width:100%;justify-content:flex-start}.hero h1{font-size:clamp(2.05rem,8vw,4.2rem)}}
@media(max-width:760px){.app-shell{width:min(100% - 20px,1420px)}.hero-grid{padding:22px}.form-grid,.grid-3,.metric-grid{grid-template-columns:1fr}.section-title{flex-direction:column}.imi-logo{width:130px}.monitor-value{font-size:1.25rem}.hero-kpis img{width:145px}.top-actions{gap:8px}.btn{padding:10px 13px}}
@media print{.topbar,.tabs,.btn,.footer{display:none!important}.tab-content{display:block!important}.card,.hero{box-shadow:none;break-inside:avoid}body{background:#fff}.app-shell{width:100%}}


/* === IVAC professional info tab — added patch === */
.ivac-info-page{display:grid;gap:22px;color:var(--ink)}
.ivac-info-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.82fr);gap:22px;align-items:center;padding:22px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f7f8fb 62%,rgba(255,215,0,.20) 100%)}
.ivac-info-hero h3{margin:4px 0 12px;font-size:clamp(2rem,4vw,4.2rem);line-height:.96;letter-spacing:-.06em;color:var(--rubix-blue,#051e50)}
.ivac-info-hero p{font-size:1.05rem;line-height:1.65;color:var(--muted)}
.ivac-info-hero img,.ivac-wide-img{width:100%;height:auto;display:block;border-radius:18px;border:1px solid var(--line);background:#fff;box-shadow:0 14px 30px rgba(16,24,40,.08)}
.ivac-kicker{margin:0 0 8px;color:var(--rubix-blue,#051e50);font-weight:950;letter-spacing:.16em;text-transform:uppercase;font-size:.78rem}
.ivac-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.ivac-tags span{display:inline-flex;border-radius:999px;padding:8px 12px;background:var(--rubix-yellow,#ffd700);color:var(--rubix-blue,#051e50);font-weight:950;font-size:.84rem}
.ivac-info-grid{display:grid;gap:16px}.ivac-info-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ivac-info-card,.ivac-type,.ivac-mini{border:1px solid var(--line);border-radius:20px;background:#fff;padding:20px;box-shadow:0 10px 26px rgba(16,24,40,.06)}
.ivac-info-card h4,.ivac-type h4{margin:0 0 10px;font-size:1.25rem;color:var(--rubix-blue,#051e50)}
.ivac-info-card p,.ivac-type p,.ivac-info-section p,.ivac-info-card li,.ivac-type li{color:var(--muted);line-height:1.6}
.ivac-type{border-top:6px solid var(--rubix-yellow,#ffd700)}
.ivac-info-section{display:grid;gap:16px;padding-top:8px}.ivac-info-section>h3{margin:0;font-size:clamp(1.5rem,2.6vw,2.4rem);letter-spacing:-.04em;color:var(--rubix-blue,#051e50)}
.ivac-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ivac-benefits div{padding:18px;border-radius:18px;background:var(--rubix-blue,#051e50);color:#fff;box-shadow:0 10px 26px rgba(16,24,40,.10)}.ivac-benefits strong{display:block;font-size:1.05rem;margin-bottom:7px}.ivac-benefits span{display:block;color:rgba(255,255,255,.78);line-height:1.45;font-size:.92rem}
@media(max-width:980px){.ivac-info-hero,.ivac-info-grid.two,.ivac-benefits{grid-template-columns:1fr}.ivac-info-hero h3{font-size:2.4rem}}



/* =========================================================
   RUBIX HERO PATCH — EXACT SELECTORS FOR CURRENT IVAC APP
   Działa na aktualne klasy: .hero, .hero-grid, .hero-kpis,
   .tabs, .tab, .monitoring-bar, .monitor-card
   ========================================================= */

:root {
  --rubix-yellow: #FFD200;
  --rubix-yellow-soft: #FFF0A6;
  --rubix-blue: #062B66;
  --rubix-blue-dark: #031A41;
  --rubix-blue-mid: #153E78;
  --rubix-line: #D7DFEA;
  --rubix-bg: #FFFBEA;
  --rubix-text: #0A1733;
}

/* Tło strony jak w kalkulatorze SMC */
body {
  background:
    radial-gradient(circle at 26% 36%, rgba(255,210,0,.28), transparent 26rem),
    radial-gradient(circle at 88% 4%, rgba(6,43,102,.10), transparent 24rem),
    linear-gradient(180deg, #fff 0%, #FFFBEA 40%, #F5F7FB 100%) !important;
  color: var(--rubix-text) !important;
}

/* Górny pasek */
.topbar {
  border-top: 4px solid var(--rubix-yellow) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 14px 32px rgba(6,43,102,.12) !important;
}

.brand-mark {
  background: var(--rubix-blue) !important;
  color: var(--rubix-yellow) !important;
  border: 1px solid rgba(255,210,0,.35) !important;
}

.brand-title {
  color: var(--rubix-blue-dark) !important;
}

.brand-subtitle {
  color: #5C6A80 !important;
}

/* ===============================
   GŁÓWNY HERO — NAJWAŻNIEJSZE
   =============================== */
.hero {
  position: relative !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 24px !important;
  padding: clamp(26px, 3.4vw, 44px) !important;
  background:
    linear-gradient(112deg,
      var(--rubix-yellow) 0%,
      var(--rubix-yellow) 27%,
      var(--rubix-blue) 27.2%,
      var(--rubix-blue) 100%) !important;
  box-shadow: 0 22px 46px rgba(6,43,102,.22) !important;
}

/* duży okrąg / dekoracja jak w SMC */
.hero::after {
  content: "" !important;
  position: absolute !important;
  right: -7rem !important;
  bottom: -10rem !important;
  width: 28rem !important;
  height: 28rem !important;
  border-radius: 50% !important;
  border: 26px solid rgba(255,255,255,.18) !important;
  background: transparent !important;
  pointer-events: none !important;
}

.hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 86% 72%, rgba(255,210,0,.20), transparent 15rem),
    linear-gradient(90deg, rgba(255,255,255,.06), transparent 45%) !important;
  pointer-events: none !important;
}

.hero-grid {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px) !important;
  gap: clamp(22px, 4vw, 46px) !important;
  align-items: center !important;
}

.hero .eyebrow {
  color: var(--rubix-yellow) !important;
  text-shadow: 0 2px 10px rgba(0,0,0,.22) !important;
  letter-spacing: .16em !important;
}

.hero h1 {
  color: #fff !important;
  max-width: 820px !important;
  line-height: .97 !important;
  letter-spacing: -.065em !important;
  text-shadow: 0 3px 14px rgba(0,0,0,.22) !important;
}

.hero p {
  color: rgba(255,255,255,.92) !important;
  max-width: 820px !important;
}

/* pigułki pod hero */
.hero-pills .pill,
.hero .pill {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: none !important;
}

.hero-pills .pill.yellow,
.hero .pill.yellow {
  background: var(--rubix-yellow) !important;
  color: var(--rubix-blue-dark) !important;
  border-color: var(--rubix-yellow) !important;
}

/* Prawa karta KPI */
.hero-kpis {
  background: rgba(0,20,55,.40) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 22px !important;
  padding: 26px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 34px rgba(0,0,0,.20) !important;
  backdrop-filter: blur(5px) !important;
}

.hero-kpis img {
  background: #fff !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  box-shadow: 0 12px 20px rgba(0,0,0,.18) !important;
  max-width: 138px !important;
  margin-left: auto !important;
  display: block !important;
}

.hero-kpis .pill {
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 999px !important;
}

.hero-kpis .pill strong {
  color: #fff !important;
}

/* ===============================
   ZAKŁADKI — styl SMC/Rubix
   =============================== */
.tabs {
  border-radius: 0 !important;
  border: 1px solid var(--rubix-line) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 12px 26px rgba(6,43,102,.10) !important;
  padding: 0 !important;
  gap: 8px !important;
}

.tab {
  color: var(--rubix-blue-dark) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  font-weight: 900 !important;
}

.tab.active,
.tab:hover {
  background: var(--rubix-blue) !important;
  color: #fff !important;
  border-color: var(--rubix-blue) !important;
  box-shadow: inset 0 -3px 0 var(--rubix-yellow), 0 8px 18px rgba(6,43,102,.18) !important;
}

/* monitoring jak w SMC */
.monitoring-bar {
  margin-top: 16px !important;
}

.monitor-card {
  border: 1px solid var(--rubix-line) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 12px 26px rgba(6,43,102,.10) !important;
}

.monitor-title {
  color: #5C6A80 !important;
}

.monitor-value {
  color: var(--rubix-blue) !important;
}

/* karty i wyniki */
.card,
.metric,
.monitor-card {
  border-color: var(--rubix-line) !important;
}

.result-card {
  background: linear-gradient(135deg, var(--rubix-blue), var(--rubix-blue-dark)) !important;
  color: #fff !important;
  border: 0 !important;
}

.result-card strong,
.result-card p,
.result-percent {
  color: #fff !important;
}

.progress span {
  background: var(--rubix-yellow) !important;
}

/* przyciski */
.btn.yellow,
button.yellow,
.pill.yellow,
.badge.yellow {
  background: var(--rubix-yellow) !important;
  color: var(--rubix-blue-dark) !important;
  border-color: var(--rubix-yellow) !important;
}

.btn.ghost,
.top-actions .btn {
  color: var(--rubix-blue-dark) !important;
}

/* focus */
input:focus,
select:focus,
textarea:focus {
  border-color: var(--rubix-yellow) !important;
  box-shadow: 0 0 0 4px rgba(255,210,0,.22) !important;
}

/* mobile */
@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(160deg,
        var(--rubix-yellow) 0%,
        var(--rubix-yellow) 18%,
        var(--rubix-blue) 18.2%,
        var(--rubix-blue) 100%) !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-kpis img {
    margin-left: 0 !important;
  }
}




/* =========================================================
   SPECTACULAR REPORT TAB — Rubix / IMI Norgren IVAC
   ========================================================= */
.report-stage{
  display:grid;
  gap:18px;
}
.report-hero-panel{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,430px);
  gap:22px;
  align-items:stretch;
  padding:clamp(24px,3vw,38px);
  border-radius:28px;
  background:
    radial-gradient(circle at 92% 72%, rgba(255,255,255,.18), transparent 15rem),
    linear-gradient(112deg, var(--rubix-yellow,#ffd200) 0%, var(--rubix-yellow,#ffd200) 28%, var(--rubix-blue,#062b66) 28.2%, var(--rubix-blue,#062b66) 100%);
  box-shadow:0 24px 54px rgba(6,43,102,.22);
  color:#fff;
}
.report-hero-panel::after{
  content:"";
  position:absolute;
  right:-7rem;
  bottom:-10rem;
  width:29rem;
  height:29rem;
  border:26px solid rgba(255,255,255,.16);
  border-radius:50%;
  pointer-events:none;
}
.report-hero-copy,
.report-spotlight{position:relative;z-index:1}
.report-kicker{
  margin:0 0 8px;
  color:var(--rubix-yellow,#ffd200);
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.report-hero-panel h2{
  margin:0;
  max-width:820px;
  color:#fff;
  font-size:clamp(2.35rem,5vw,5rem);
  line-height:.95;
  letter-spacing:-.07em;
  text-shadow:0 3px 16px rgba(0,0,0,.18);
}
.report-hero-panel p{
  max-width:760px;
  color:rgba(255,255,255,.92);
  line-height:1.65;
  font-size:1.05rem;
}
.report-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.report-actions .btn.ghost{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.22)!important;
}
.report-spotlight{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:220px;
  padding:26px;
  border-radius:24px;
  background:rgba(0,21,56,.38);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 18px 34px rgba(0,0,0,.18);
}
.report-spotlight-label{
  color:var(--rubix-yellow,#ffd200);
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.82rem;
}
.report-spotlight strong{
  margin-top:10px;
  color:#fff;
  font-size:clamp(2.35rem,4.6vw,4.8rem);
  letter-spacing:-.06em;
  line-height:1;
}
.report-spotlight small{
  margin-top:12px;
  color:rgba(255,255,255,.82);
  font-weight:850;
}
.report-kpi-grid{
  display:grid;
  grid-template-columns:1.25fr repeat(3,1fr);
  gap:14px;
}
.report-kpi{
  position:relative;
  overflow:hidden;
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:20px;
  border-radius:22px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 14px 28px rgba(6,43,102,.09);
}
.report-kpi::after{
  content:"";
  position:absolute;
  right:-3rem;
  bottom:-4rem;
  width:9rem;
  height:9rem;
  border-radius:50%;
  background:rgba(255,210,0,.22);
}
.report-kpi.main{
  background:linear-gradient(135deg,var(--rubix-blue,#062b66),var(--rubix-blue-dark,#031a41));
  color:#fff;
  border:0;
}
.report-kpi span{
  color:var(--muted);
  font-size:.82rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.report-kpi.main span{color:var(--rubix-yellow,#ffd200)}
.report-kpi strong{
  position:relative;
  z-index:1;
  color:var(--rubix-blue,#062b66);
  font-size:clamp(1.8rem,3vw,3.2rem);
  line-height:.96;
  letter-spacing:-.05em;
}
.report-kpi.main strong{color:#fff}
.report-kpi small{
  position:relative;
  z-index:1;
  color:var(--muted);
  font-weight:800;
}
.report-kpi.main small{color:rgba(255,255,255,.82)}
.report-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.report-card{
  border-radius:24px;
  padding:22px;
  border:1px solid var(--line);
  box-shadow:0 14px 30px rgba(6,43,102,.09);
}
.report-card.dark{
  background:linear-gradient(180deg,#15213a,#071d4c);
  color:#fff;
  border:0;
}
.report-card.yellow-card{
  background:linear-gradient(135deg,#fff 0%,#fff7c7 60%,#ffd200 100%);
  border:1px solid rgba(255,210,0,.65);
}
.report-card-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:18px;
}
.report-card-head span{
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--muted);
}
.report-card.dark .report-card-head span{color:var(--rubix-yellow,#ffd200)}
.report-card-head strong{
  text-align:right;
  color:var(--rubix-blue,#062b66);
  font-size:1.12rem;
}
.report-card.dark .report-card-head strong{color:#fff}
.report-list{
  display:grid;
  gap:10px;
}
.report-list div{
  display:grid;
  grid-template-columns:minmax(120px,.45fr) minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.68);
}
.report-card.dark .report-list div{
  background:rgba(255,255,255,.10);
}
.report-list span{
  color:var(--muted);
  font-weight:900;
  font-size:.82rem;
}
.report-card.dark .report-list span{color:rgba(255,255,255,.72)}
.report-list strong{
  color:var(--rubix-blue,#062b66);
  text-align:right;
  overflow-wrap:anywhere;
}
.report-card.dark .report-list strong{color:#fff}
.report-comparison{
  padding:22px;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 30px rgba(6,43,102,.09);
}
.report-comparison-title{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:18px;
}
.report-comparison-title h3{
  margin:0;
  color:var(--rubix-blue,#062b66);
  font-size:clamp(1.6rem,3vw,2.8rem);
  line-height:1;
  letter-spacing:-.05em;
}
.report-comparison-title>strong{
  color:var(--rubix-blue,#062b66);
  background:var(--rubix-yellow,#ffd200);
  padding:12px 16px;
  border-radius:999px;
  white-space:nowrap;
}
.report-bars{
  display:grid;
  gap:16px;
}
.report-bar-row{
  display:grid;
  gap:8px;
}
.report-bar-label{
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:var(--rubix-blue,#062b66);
  font-weight:950;
}
.report-bar-track{
  height:28px;
  border-radius:999px;
  overflow:hidden;
  background:#e8edf5;
  box-shadow:inset 0 2px 5px rgba(6,43,102,.10);
}
.report-bar-track span{
  display:block;
  height:100%;
  border-radius:999px;
  transition:width .35s ease;
}
#reportClassicBar{
  background:linear-gradient(90deg,var(--rubix-blue,#062b66),#315a98);
}
#reportIvacBar{
  background:linear-gradient(90deg,var(--rubix-yellow,#ffd200),#ffb000);
}
.report-benefit-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.report-benefit-strip div{
  padding:18px;
  border-radius:20px;
  background:linear-gradient(180deg,#fff,#f7f9fd);
  border:1px solid var(--line);
  box-shadow:0 10px 22px rgba(6,43,102,.07);
}
.report-benefit-strip strong{
  display:block;
  color:var(--rubix-blue,#062b66);
  margin-bottom:6px;
  font-size:1.02rem;
}
.report-benefit-strip span{
  color:var(--muted);
  line-height:1.45;
  font-size:.92rem;
}
.report-note-card{
  display:grid;
  gap:6px;
  padding:18px 20px;
  border-radius:20px;
  background:linear-gradient(90deg,#fff7c7,#fff);
  border:1px solid rgba(255,210,0,.65);
}
.report-note-card strong{
  color:var(--rubix-blue,#062b66);
}
.report-note-card p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}
.report-raw-details{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 24px rgba(6,43,102,.06);
  overflow:hidden;
}
.report-raw-details summary{
  cursor:pointer;
  padding:16px 18px;
  color:var(--rubix-blue,#062b66);
  font-weight:950;
  background:#f6f8fc;
}
.report-box{
  white-space:pre-wrap;
  background:#0b1733!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  padding:20px!important;
  line-height:1.62!important;
}
@media(max-width:1100px){
  .report-hero-panel,
  .report-columns{grid-template-columns:1fr}
  .report-kpi-grid{grid-template-columns:repeat(2,1fr)}
  .report-benefit-strip{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .report-kpi-grid,
  .report-benefit-strip{grid-template-columns:1fr}
  .report-list div{grid-template-columns:1fr}
  .report-list strong{text-align:left}
  .report-comparison-title{flex-direction:column}
  .report-comparison-title>strong{white-space:normal}
}
@media print{
  .report-stage{gap:10px}
  .report-hero-panel,
  .report-kpi,
  .report-card,
  .report-comparison,
  .report-note-card{
    box-shadow:none!important;
    break-inside:avoid;
  }
  .report-actions,
  .report-raw-details{display:none!important}
  .report-hero-panel{background:#062b66!important;color:#fff!important}
}



/* Report v3.0 — hide raw text block while keeping copy source */
.report-box-hidden{
  display:none !important;
}



/* =========================================================
   IVAC USER GUIDE — separate partial /partials/ivac-guide.php
   ========================================================= */
.guide-page{
  display:grid;
  gap:18px;
}
html[lang="pl"] .guide-lang-en{display:none!important}
html[lang="en"] .guide-lang-pl{display:none!important}
.guide-lang{
  display:grid;
  gap:18px;
}
.guide-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,380px);
  gap:22px;
  align-items:center;
  padding:clamp(24px,3vw,38px);
  border-radius:28px;
  background:
    radial-gradient(circle at 92% 72%, rgba(255,255,255,.18), transparent 15rem),
    linear-gradient(112deg, var(--rubix-yellow,#ffd200) 0%, var(--rubix-yellow,#ffd200) 28%, var(--rubix-blue,#062b66) 28.2%, var(--rubix-blue,#062b66) 100%);
  color:#fff;
  box-shadow:0 22px 46px rgba(6,43,102,.18);
}
.guide-hero::after{
  content:"";
  position:absolute;
  right:-7rem;
  bottom:-10rem;
  width:28rem;
  height:28rem;
  border:25px solid rgba(255,255,255,.16);
  border-radius:50%;
  pointer-events:none;
}
.guide-hero > *{
  position:relative;
  z-index:1;
}
.guide-kicker{
  margin:0 0 8px;
  color:var(--rubix-yellow,#ffd200);
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.guide-hero h2{
  margin:0;
  max-width:820px;
  color:#fff;
  font-size:clamp(2.25rem,4.6vw,4.8rem);
  line-height:.95;
  letter-spacing:-.065em;
  text-shadow:0 3px 16px rgba(0,0,0,.18);
}
.guide-hero p{
  max-width:850px;
  margin:18px 0 0;
  color:rgba(255,255,255,.92);
  line-height:1.7;
  font-size:1.05rem;
}
.guide-hero-card{
  display:grid;
  gap:10px;
  align-self:stretch;
  align-content:center;
  padding:24px;
  border-radius:22px;
  background:rgba(0,21,56,.38);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14), 0 18px 34px rgba(0,0,0,.18);
}
.guide-hero-card strong{
  color:var(--rubix-yellow,#ffd200);
  font-size:1.25rem;
}
.guide-hero-card span{
  color:rgba(255,255,255,.88);
  line-height:1.6;
}
.guide-section{
  padding:24px;
  border:1px solid var(--line,#d7dfea);
  border-radius:24px;
  background:#fff;
  box-shadow:0 12px 28px rgba(6,43,102,.08);
}
.guide-section h3{
  margin:0 0 12px;
  color:var(--rubix-blue,#062b66);
  font-size:clamp(1.45rem,2.5vw,2.25rem);
  line-height:1.05;
  letter-spacing:-.04em;
}
.guide-section > p{
  margin:0 0 16px;
  color:var(--muted,#5e6a7e);
  line-height:1.65;
}
.guide-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.guide-grid.two{grid-template-columns:repeat(2,1fr)}
.guide-grid.four{grid-template-columns:repeat(4,1fr)}
.guide-card,
.guide-mini{
  border:1px solid var(--line,#d7dfea);
  border-radius:20px;
  background:linear-gradient(180deg,#fff,#f8fafc);
  padding:18px;
  box-shadow:0 8px 20px rgba(6,43,102,.06);
}
.guide-card h4{
  margin:0 0 10px;
  color:var(--rubix-blue,#062b66);
  font-size:1.12rem;
}
.guide-card p,
.guide-card li{
  color:var(--muted,#5e6a7e);
  line-height:1.6;
}
.guide-card ul{
  margin:0;
  padding-left:1.1rem;
}
.guide-card li + li{
  margin-top:7px;
}
.guide-card.accent{
  background:linear-gradient(135deg,var(--rubix-blue,#062b66),var(--rubix-blue-dark,#031a41));
  color:#fff;
  border:0;
}
.guide-card.accent h4,
.guide-card.accent p,
.guide-card.accent li{
  color:#fff;
}
.guide-card.green{
  background:linear-gradient(135deg,#eefaf1,#fff);
  border-color:#b9e7c5;
}
.guide-card.warn{
  background:linear-gradient(135deg,#fff8dc,#fff);
  border-color:#ffdc66;
}
.guide-mini{
  display:grid;
  gap:8px;
  min-height:140px;
}
.guide-mini strong{
  color:var(--rubix-blue,#062b66);
  font-size:1.08rem;
}
.guide-mini span{
  color:var(--muted,#5e6a7e);
  line-height:1.5;
  font-size:.94rem;
}
.guide-note{
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(90deg,#fff7c7,#fff);
  border:1px solid rgba(255,210,0,.7);
}
.guide-note strong{
  color:var(--rubix-blue,#062b66);
}
.guide-note span{
  color:var(--muted,#5e6a7e);
  line-height:1.55;
}
.guide-glossary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.guide-glossary div{
  display:grid;
  gap:8px;
  padding:16px;
  border-radius:18px;
  background:#f7f9fd;
  border:1px solid var(--line,#d7dfea);
}
.guide-glossary strong{
  color:var(--rubix-blue,#062b66);
}
.guide-glossary span{
  color:var(--muted,#5e6a7e);
  line-height:1.5;
  font-size:.93rem;
}
@media(max-width:1100px){
  .guide-hero,
  .guide-grid,
  .guide-grid.two,
  .guide-grid.four,
  .guide-glossary{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:760px){
  .guide-hero,
  .guide-grid,
  .guide-grid.two,
  .guide-grid.four,
  .guide-glossary,
  .guide-note{
    grid-template-columns:1fr;
  }
}
@media print{
  .guide-section,
  .guide-card,
  .guide-mini,
  .guide-hero{
    box-shadow:none!important;
    break-inside:avoid;
  }
}
