/* CERBERSEC Monitoring – style w barwach cerbersec.pl */
:root {
  --ink: #300000; --ink-soft: #6E5A5A; --bg: #F8F7F7; --white: #FFFFFF; --line: #ECE5E5; --line-2: #D9CCCC;
  --red: #E00000; --red-dark: #B40000; --red-soft: #FDEAEA;
  --ok-bg: #E3F1E8; --ok: #17613A; --warn-bg: #FBEFD9; --warn: #7A4A00; --neutral-bg: #F1ECEC;
  --shadow: 0 1px 2px rgba(48,0,0,.05), 0 4px 14px rgba(48,0,0,.05);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: Montserrat, system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; }
a { color: var(--red-dark); }
a:hover { color: #800000; }
h1 { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.2; }
h2 { margin: 0; font-size: 18px; font-weight: 600; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 13px; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }

/* nagłówek */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 36px; width: auto; display: block; }
.brand .sep { width: 1px; height: 24px; background: var(--line); }
.brand span { font-weight: 600; color: var(--ink-soft); }
.nav { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 14px; font-size: 14px; font-weight: 500; border-radius: 10px; }
.nav a.on { color: var(--red-dark); background: var(--red-soft); font-weight: 600; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--red-dark); cursor: pointer; text-decoration: underline; }
.impersonate { background: var(--ink); color: #fff; }
.impersonate .topbar-in { min-height: 44px; font-size: 14px; }
.impersonate .linkbtn { color: #FFB3B3; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 28px 24px 48px; display: flex; flex-direction: column; gap: 24px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.head p { margin-top: 6px; color: var(--ink-soft); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card.flush { padding: 0; overflow: hidden; gap: 0; }
.card.flush > .card-head { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.card.danger { border-color: #F2B8B8; }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1180px) { .g6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .g4, .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .g2, .g4, .g5, .g6 { grid-template-columns: 1fr; } h1 { font-size: 24px; } }

.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 16px 20px; }
.kpi .l { font-size: 13px; color: var(--ink-soft); }
.kpi .v { font-family: var(--mono); font-size: 26px; font-weight: 500; margin-top: 6px; }
.kpi .d { font-size: 13px; margin-top: 2px; }
.c-ok { color: var(--ok); } .c-warn { color: var(--warn); } .c-err { color: var(--red-dark); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.err { background: var(--red-soft); color: var(--red-dark); }
.badge.neutral { background: var(--neutral-bg); color: var(--ink-soft); }
.badge.dark { background: var(--ink); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); }
.btn:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.danger { color: var(--red-dark); border-color: #F2B8B8; }
.btn.dangerfill { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btns { display: flex; flex-wrap: wrap; gap: 6px; }

form.inline { display: inline; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .lbl { font-size: 13px; font-weight: 600; }
.inp, select.inp, textarea.inp { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); width: 100%; }
textarea.inp { padding: 10px 12px; line-height: 1.6; font-family: var(--mono); font-size: 13px; resize: vertical; }
.inp:focus, .btn:focus-visible, a:focus-visible { outline: 3px solid rgba(224,0,0,.25); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.row-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.hint { font-size: 13px; color: var(--ink-soft); }

.flash { border-radius: 12px; padding: 12px 16px; font-size: 14px; font-weight: 500; }
.flash.ok { background: var(--ok-bg); color: var(--ok); }
.flash.err { background: var(--red-soft); color: #800000; }
.secret-box { background: var(--ink); color: #fff; border-radius: 12px; padding: 16px 18px; }
.secret-box .mono { color: #fff; font-size: 16px; letter-spacing: .05em; word-break: break-all; }

.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { padding: 10px 16px; border-bottom: 1px solid #DDD2D2; text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .nowrap { white-space: nowrap; }
.tbl .sub { font-size: 12px; color: var(--ink-soft); }
.tbl tr.dim td { background: #FFF8F8; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.strip { display: flex; gap: 3px; height: 44px; }
.strip span { flex: 1; border-radius: 2px; background: #E6DEDE; }
.strip .ok { background: #5FB37E; } .strip .warn { background: #E0A43A; } .strip .err { background: var(--red); }
.bars { flex: 1; height: 200px; display: flex; align-items: flex-end; gap: 3px; border-bottom: 1px solid var(--line-2); position: relative; }
.bars span { flex: 1; background: #CBB3B3; border-radius: 3px 3px 0 0; min-height: 1px; }
.bars span.hi { background: var(--red); }
.bars .thr { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--ink); }
.axis { display: flex; flex-direction: column; justify-content: space-between; height: 200px; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); text-align: right; width: 48px; }
.xlab { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); padding-left: 60px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-soft); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.events { display: flex; flex-direction: column; }
.event { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.event:last-child { border-bottom: 0; }
.event .t { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); min-width: 120px; }
.event .x { flex: 1 1 300px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--red-dark); }
.empty { padding: 28px; text-align: center; color: var(--ink-soft); }
.foot { text-align: center; font-size: 12px; color: var(--ink-soft); padding: 0 0 24px; }

/* ekran logowania */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; background: #120709; }
.auth-side { flex: 1 1 520px; min-width: 0; position: relative; isolation: isolate; overflow: hidden; padding: 44px 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; color: #fff;
  background: radial-gradient(900px 520px at 0% -10%, rgba(224,0,0,.42), transparent 60%), radial-gradient(700px 480px at 105% 105%, rgba(160,0,24,.40), transparent 62%), linear-gradient(155deg, #1A0A0D 0%, #230B10 45%, #0E0507 100%); }
.auth-side::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.auth-side::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(255,40,40,.22), transparent 65%); filter: blur(10px); animation: glow 9s ease-in-out infinite alternate; }
@keyframes glow { from { transform: translate(0,0) scale(1); } to { transform: translate(-60px,40px) scale(1.15); } }
.auth-side .brand img { display: block; }
.auth-side h1 { font-size: 32px; line-height: 1.18; color: #fff; max-width: 540px; letter-spacing: -.01em; }
.kicker { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FF9C9C; }
.auth-form { flex: 1 1 440px; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 40px rgba(48,0,0,.10); padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.auth-card h2 { font-size: 24px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.auth-row a { font-weight: 600; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 13px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.social { display: flex; flex-direction: column; gap: 10px; }
.sbtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: border-color .15s, background .15s, transform .1s; }
.sbtn:hover { border-color: #C9B5B5; background: #FBF8F8; color: var(--ink); }
.sbtn:active { transform: translateY(1px); }
.sbtn .si { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; flex: none; }
.sbtn .si.google { background: #4A4A4A; } .sbtn .si.apple { background: #111; } .sbtn .si.facebook { background: #3B5998; }
.reginfo { background: var(--bg); border: 1px dashed var(--line-2); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink-soft); }
.reginfo strong { color: var(--ink); }
.pw-wrap { position: relative; }
.pw-wrap .inp { padding-right: 52px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px; color: var(--ink-soft); cursor: pointer; border-radius: 8px; }
.pw-eye:hover { color: var(--red-dark); background: var(--red-soft); }
.captcha-note { font-size: 12px; }
.g-recaptcha { align-self: center; }
@media (max-width: 960px) { .auth-form { order: -1; flex-basis: 100%; } .auth-side { flex-basis: 100%; padding: 32px 16px; } }
@media (max-width: 640px) { .auth-form { padding: 24px 16px; } .auth-card { padding: 24px; } .auth-side h1 { font-size: 26px; } .blgrid { grid-template-columns: 1fr; } .lstats .n { font-size: 15px; } }

/* karuzela */
.car { display: flex; flex-direction: column; gap: 22px; outline: none; touch-action: pan-y; user-select: none; }
.car:focus-visible { box-shadow: 0 0 0 3px rgba(255,120,120,.5); border-radius: 14px; }
.car-track { display: grid; grid-template-columns: minmax(0, 1fr); }
.slide, .live { min-width: 0; }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 18px; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .5s ease, transform .55s cubic-bezier(.2,.8,.2,1), visibility 0s .55s; }
.slide.in-l { transform: translateX(-40px); }
.slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .08s, transform .55s cubic-bezier(.2,.8,.2,1) .08s, visibility 0s; }
.slide.out-l { transform: translateX(-40px); } .slide.out-r { transform: translateX(40px); }
.slide:not(.is-on) * { animation-play-state: paused !important; }
.slide:not(.is-on) .crow, .slide:not(.is-on) .issue, .slide:not(.is-on) .blrow, .slide:not(.is-on) .mc-row, .slide:not(.is-on) .mc-foot, .slide:not(.is-on) .lv-bar i, .slide:not(.is-on) .ring-fg, .slide:not(.is-on) .scan i, .slide:not(.is-on) .a-fix, .slide:not(.is-on) .spin, .slide:not(.is-on) .tk { animation: none !important; }
.car-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.car-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.car-btn:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.car-dots { display: flex; gap: 8px; }
.car-dot { width: 26px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.22); cursor: pointer; overflow: hidden; position: relative; transition: width .3s; }
.car-dot.on { width: 46px; background: rgba(255,255,255,.28); }
.car-dot i { position: absolute; inset: 0; width: 0; background: #FF5A5A; border-radius: 999px; }
.car-dot.on i { width: 100%; }
.car.run .car-dot.on i { width: 0; animation: dotfill 7s linear forwards; }
.car.paused .car-dot.on i { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.car-name { font-size: 13px; color: #D9BEBE; margin-left: 4px; }

.live { background: rgba(20,6,9,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,120,120,.18); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; max-width: 540px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: #F2DADA; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: #FF3B3B; display: inline-block; margin-right: 8px; animation: pulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(255,59,59,.6); }
.stack { display: grid; } .stack > * { grid-area: 1 / 1; }
.lrow { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; }
.lrow .dom { font-family: var(--mono); font-size: 14px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .dom small { color: #B89A9A; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--mono); font-size: 12px; justify-self: end; white-space: nowrap; }
.pill.okp { background: rgba(127,214,155,.16); color: #9BE3B2; }
.pill.errp { background: var(--red); color: #fff; }
.mail { display: flex; gap: 12px; align-items: center; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 14px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.mail .ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--red-soft); display: flex; align-items: center; justify-content: center; }
.lstats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; border-top: 1px solid rgba(255,120,120,.16); padding-top: 14px; }
.lstats .k { font-size: 11px; color: #B89A9A; text-transform: uppercase; letter-spacing: .05em; }
.lstats .n { font-family: var(--mono); font-size: 18px; margin-top: 4px; }
.a-tick { animation: tick 10s infinite; }
.a-ok { animation: okA 10s infinite; }
.a-err { animation: errA 10s infinite; opacity: 0; }
.a-row { animation: rowA 10s infinite; }
.a-mail { animation: mailA 10s infinite; opacity: 0; }
@keyframes tick { 0%,4% { opacity: .25; transform: scale(.7); } 9% { opacity: 1; transform: scale(1.18); } 13%,100% { opacity: 1; transform: scale(1); } }
@keyframes okA { 0%,22% { opacity: 1; } 25%,62% { opacity: 0; } 66%,100% { opacity: 1; } }
@keyframes errA { 0%,22% { opacity: 0; } 25%,62% { opacity: 1; } 66%,100% { opacity: 0; } }
@keyframes rowA { 0%,22% { background: rgba(255,255,255,0); } 25%,62% { background: rgba(224,0,0,.24); } 66%,100% { background: rgba(255,255,255,0); } }
@keyframes mailA { 0%,32% { opacity: 0; transform: translateY(10px); } 38%,62% { opacity: 1; transform: none; } 66%,100% { opacity: 0; transform: translateY(-6px); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* slajd: wydajność */
.perf-top { display: flex; gap: 18px; align-items: center; }
.ring { position: relative; width: 104px; height: 104px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 10; }
.ring-fg { fill: none; stroke: #2FBF71; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 0 100; animation: ringFill 1.3s cubic-bezier(.2,.8,.2,1) .2s forwards; }
@keyframes ringFill { to { stroke-dasharray: var(--p) 100; } }
.ring-n { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 34px; font-family: var(--mono); font-size: 30px; font-weight: 600; color: #fff; }
.ring-n small { font-size: 12px; color: #C9AFAF; margin-left: 2px; }
.tagline { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lv { display: flex; flex-direction: column; gap: 10px; }
.lv-row { display: grid; grid-template-columns: 44px 1fr 74px; gap: 12px; align-items: center; }
.lv-l { font-size: 12px; font-weight: 700; color: #F2DADA; letter-spacing: .04em; }
.lv-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.lv-bar i { display: block; height: 100%; width: 0; border-radius: 999px; animation: barFill .9s cubic-bezier(.2,.8,.2,1) forwards; }
.lv-bar i.r-g { background: #2FBF71; } .lv-bar i.r-n { background: #E0A43A; } .lv-bar i.r-p { background: #FF4D4D; }
@keyframes barFill { to { width: var(--w); } }
.lv-v { font-size: 13px; text-align: right; color: #fff; }
.fixline { font-size: 13px; color: #F2DADA; background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; }
.a-fix { opacity: 0; animation: fadeUp .5s ease 1.4s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* slajd: crawler */
.scan { height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.scan i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FF4D4D, #FF9C9C); animation: barFill 2.6s ease-out forwards; --w: 100%; }
.crow { display: grid; grid-template-columns: minmax(0,1fr) auto 38px; gap: 6px 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.035); opacity: 0; animation: fadeUp .45s ease forwards; }
.crow .dom { font-size: 13px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tchip { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.1); color: #F2DADA; }
.sc { font-family: var(--mono); font-size: 13px; font-weight: 600; text-align: center; border-radius: 8px; padding: 3px 0; }
.sc.s-g { background: rgba(47,191,113,.18); color: #8BE0B0; } .sc.s-n { background: rgba(224,164,58,.2); color: #F5C979; } .sc.s-p { background: rgba(255,77,77,.22); color: #FFB0B0; }
.issue { grid-column: 1 / -1; font-size: 12px; color: #FFB0B0; opacity: 0; animation: fadeUp .4s ease forwards; }

/* slajd: czarne listy */
.blgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.blrow { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.04); font-size: 13px; color: #F2DADA; }
.blrow .st { display: grid; width: 16px; height: 16px; flex: none; } .blrow .st > * { grid-area: 1 / 1; }
.blrow .spin { width: 16px; height: 16px; box-sizing: border-box; border: 2px solid rgba(255,255,255,.2); border-top-color: #FF8080; border-radius: 50%; animation: spin .7s linear infinite, fadeOut .2s ease var(--d) forwards; }
.blrow .tk { opacity: 0; transform: scale(.4); animation: popIn .35s cubic-bezier(.2,1.6,.4,1) var(--d) forwards; display: inline-flex; }
.blrow .tk svg { width: 16px; height: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes popIn { to { opacity: 1; transform: none; } }
.clean { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(47,191,113,.12); border: 1px solid rgba(47,191,113,.3); color: #fff; opacity: 0; animation: fadeUp .5s ease 3s forwards; }

/* slajd: raport */
.mc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,120,120,.16); }
.clock { font-size: 15px; font-weight: 600; background: #fff; color: var(--ink); border-radius: 8px; padding: 6px 8px; flex: none; animation: pulse 2s infinite; }
.mc-from { font-size: 13px; font-weight: 700; color: #fff; }
.mc-sub { font-size: 13px; color: #D9BEBE; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-new { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--red); color: #fff; border-radius: 999px; padding: 3px 8px; }
.mc-row { display: grid; grid-template-columns: minmax(0,1fr) auto 70px; gap: 10px; align-items: center; font-size: 13px; color: #fff; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.035); opacity: 0; animation: fadeUp .45s ease forwards; }
.mc-row .mono:last-child { text-align: right; }
.mc-foot { font-size: 12px; color: #9BE3B2; opacity: 0; animation: fadeUp .45s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  .a-tick, .a-ok, .a-err, .a-row, .a-mail, .dot, .auth-side::after, .clock { animation: none; } .a-err, .a-mail { display: none; }
  .slide { transition: none; }
  .crow, .issue, .blrow, .mc-row, .mc-foot, .clean, .a-fix { animation: none !important; opacity: 1; }
  .blrow .spin { display: none; } .blrow .tk { opacity: 1; transform: none; animation: none; }
  .lv-bar i, .scan i { animation: none; width: var(--w); } .ring-fg { animation: none; stroke-dasharray: var(--p) 100; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* zakładki domeny */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line-2); }
.tabs a { padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--ink-soft); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--red-dark); border-bottom-color: var(--red); }
.tabs a:hover { color: var(--ink); }

/* crawler */
.progress { height: 10px; background: var(--neutral-bg); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--red); border-radius: 999px; transition: width .4s; }
.tdot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.types, .issues { display: flex; flex-direction: column; }
.trow, .irow { display: grid; grid-template-columns: minmax(0, 1.4fr) 70px minmax(0, 1.2fr); gap: 12px; align-items: center; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; }
.irow { grid-template-columns: 74px minmax(0, 1fr) 60px; }
.trow:hover, .irow:hover { background: var(--bg); color: var(--ink); }
.trow.on, .irow.on { background: var(--red-soft); }
.trow.static:hover { background: none; }
.trow .mono, .irow .mono { text-align: right; }
.tn { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbar { display: inline-block; width: calc(100% - 36px); max-width: 160px; height: 8px; background: var(--neutral-bg); border-radius: 999px; vertical-align: middle; overflow: hidden; }
.sbar-in { display: block; height: 100%; border-radius: 999px; }
.sbar-in.ok { background: #17A34A; } .sbar-in.warn { background: #E0A43A; } .sbar-in.err { background: var(--red); }
.sbar-v { display: inline-block; width: 30px; text-align: right; margin-left: 6px; }
.filters { width: 100%; }
.filters .inp { min-height: 40px; font-size: 14px; }
.inp.sm, select.inp.sm { min-height: 34px; font-size: 13px; padding: 0 8px; width: auto; }
.bulkbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 12px 24px; border-bottom: 1px solid var(--line); background: #FCFAFA; position: sticky; top: 0; z-index: 2; }
.bulkbar .savebtn { display: none; margin-left: auto; }
form.dirty .savebtn { display: inline-flex; }
.tbl.compact th { padding: 8px 10px; }
.tbl.compact td { padding: 9px 10px; font-size: 13px; vertical-align: top; }
.tbl .cb { width: 34px; padding-right: 0; }
.tbl .cb input { width: 18px; height: 18px; accent-color: var(--red); }
.tbl .urlcell { min-width: 220px; max-width: 360px; }
.tbl .urlcell a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.tbl .urlcell a:hover { color: var(--red-dark); text-decoration: underline; }
.tbl .typecell { min-width: 150px; }
.tbl .txt { min-width: 220px; max-width: 340px; overflow-wrap: anywhere; }
.tbl tr.changed td { background: #FFF7E8; }
.tbl tr.sel td { background: #FFF5F5; }
.tbl th.grp { text-align: center; border-bottom: 1px solid var(--line); }
.tbl .sort { color: inherit; text-decoration: none; }
.tbl .sort.on { color: var(--red-dark); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; padding: 16px; border-top: 1px solid var(--line); }
.pager .chip { min-height: 36px; padding: 0 12px; }
dl.kv { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 10px 16px; margin: 0; font-size: 14px; }
dl.kv dt { color: var(--ink-soft); font-size: 13px; }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }
ol.outline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; max-height: 520px; overflow: auto; }
ol.outline .badge { min-width: 34px; justify-content: center; }

/* wydajność */
.subcard { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
h3 { margin: 0; font-size: 15px; font-weight: 600; }
h3.ch { font-size: 14px; margin-bottom: 6px; }
.cwv { display: flex; flex-direction: column; gap: 10px; }
.cwv-row { display: grid; grid-template-columns: minmax(150px, 230px) 90px minmax(120px, 1fr) 90px; gap: 12px; align-items: center; }
.dist { display: flex; gap: 2px; height: 12px; }
.dist span { min-width: 3px; }
.dist span:first-child { border-radius: 4px 0 0 4px; } .dist span:last-child { border-radius: 0 4px 4px 0; }
.dist .d-good { background: #17A34A; } .dist .d-ni { background: #E0A43A; } .dist .d-poor { background: var(--red); }
.metrics { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.metric { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.chart-wrap { width: 100%; }
svg.chart { width: 100%; height: auto; display: block; }
svg.chart .ct { font-family: var(--mono); font-size: 11px; fill: var(--ink-soft); }
svg.chart .pt:hover circle:last-of-type { r: 6; }
.chart-empty { padding: 40px 0; text-align: center; color: var(--ink-soft); font-size: 14px; }
.legend i.ln { width: 18px; height: 0; border-top: 2px solid; border-radius: 0; vertical-align: 3px; background: none; }
.legend i.ln.dash { border-top-style: dashed; }
.audits { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
details.audit { border-bottom: 1px solid var(--line); }
details.audit summary { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding: 12px 0; cursor: pointer; font-size: 14px; list-style: none; }
details.audit summary::-webkit-details-marker { display: none; }
details.audit summary::before { content: ''; flex: none; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff no-repeat center / 14px 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3l5 5-5 5' fill='none' stroke='%23B40000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: transform .2s, background-color .2s, border-color .2s; }
details.audit summary:hover::before { border-color: var(--red); background-color: var(--red-soft); }
details.audit[open] summary::before { transform: rotate(90deg); background-color: var(--red-soft); border-color: #F2B8B8; }
.audits.hint-anim details.audit:not([open]) summary::before { animation: nudge 1.6s ease-in-out infinite; }
.audits.hint-anim details.audit:not([open]):nth-child(2n) summary::before { animation-delay: .25s; }
@keyframes nudge { 0%, 55%, 100% { transform: translateX(0); box-shadow: 0 0 0 0 rgba(224,0,0,0); } 20% { transform: translateX(4px); box-shadow: 0 0 0 4px rgba(224,0,0,.12); } 35% { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .audits.hint-anim details.audit summary::before { animation: none; } }
.audit-body { padding: 0 0 16px 40px; display: flex; flex-direction: column; gap: 10px; }
.tip { background: var(--warn-bg); color: #4A2E00; border-radius: 10px; padding: 10px 14px; font-size: 13px; }
ul.items { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
code, .snip { font-family: var(--mono); font-size: 12px; background: var(--neutral-bg); border-radius: 6px; padding: 1px 6px; }
.snip { display: block; margin-top: 4px; padding: 6px 8px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .cwv-row { grid-template-columns: 1fr 90px; } .cwv-row .dist, .cwv-row > span:last-child { grid-column: 1 / -1; } dl.kv { grid-template-columns: 1fr; } }

/* czarne listy */
.bl-status { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; }
.bl-status.good { border-color: #BFE3CB; background: #F5FBF7; }
.bl-status.bad { border-color: #F2B8B8; background: #FFF6F6; }
.bl-big { width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; color: #fff; flex: none; }
.bl-status.good .bl-big { background: #17A34A; } .bl-status.bad .bl-big { background: var(--red); }
.bl-item { border-color: #F2B8B8; }
ol.steps { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.bl-target { padding: 14px 24px 6px; border-top: 1px solid var(--line); background: #FCFAFA; }
.bl-hist { display: flex; gap: 3px; height: 28px; }
.bl-hist span { flex: 1; max-width: 18px; border-radius: 3px; }
.bl-hist .ok { background: #5FB37E; } .bl-hist .err { background: var(--red); }

.strip.q { gap: 1px; }
.strip.q span { border-radius: 1px; }
.strip.q span.hs { margin-left: 4px; }
.strip.q span:first-child { margin-left: 0; }
.bars.q { gap: 1px; }

/* nagłówek: podpis marki i przełącznik domen */
.brand .brand-sub { font-size: 10px; line-height: 1.25; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.nav { align-items: center; }
.domswitch { position: relative; display: inline-flex; align-items: center; }
.domswitch select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; min-height: 38px; padding: 0 34px 0 12px; max-width: 260px; cursor: pointer; }
.domswitch::after { content: ''; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--red-dark); border-bottom: 2px solid var(--red-dark); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.domswitch.on select { background: var(--red-soft); border-color: #F2B8B8; color: var(--red-dark); }
.domswitch select:focus { outline: 3px solid rgba(224,0,0,.25); outline-offset: 1px; }

/* zakresy wartości Google */
.rng { display: inline-flex; flex-direction: column; gap: 1px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.35; white-space: nowrap; }
.rng span::before, .rng-good::before, .rng-ni::before, .rng-poor::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
.rng-good::before { background: #17A34A; } .rng-ni::before { background: #E0A43A; } .rng-poor::before { background: var(--red); }
.rng span { color: var(--ink-soft); }
.tbl tr.rngrow th { padding-top: 4px; padding-bottom: 8px; vertical-align: top; }
.tbl th.rng-lbl { font-size: 10.5px; color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-weight: 500; }
.tbl th.rng-lbl::before { display: none; }
.bl-status.warn { border-color: #F0D29A; background: #FFFBF2; } .bl-status.warn .bl-big { background: #E0A43A; }
.metric .rng, .kpi .rng, .cwv-row .rng { margin-top: 6px; }
.metric { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }

/* dymki z wyjaśnieniem (kody HTTP) – pozycjonowane skryptem, żeby nie ucinała ich tabela */
.has-tip { cursor: help; }
.tipbox { position: fixed; z-index: 1000; max-width: 300px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 500; line-height: 1.45; padding: 8px 11px; border-radius: 8px; box-shadow: 0 6px 18px rgba(48,0,0,.25); pointer-events: none; opacity: 0; transition: opacity .12s; }
.tipbox.on { opacity: 1; }

#tabela.loading { opacity: .55; transition: opacity .15s; pointer-events: none; }

a.kpi-link { display: block; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.kpi-link:hover { border-color: #F2B8B8; box-shadow: 0 2px 4px rgba(48,0,0,.06), 0 8px 20px rgba(48,0,0,.08); color: var(--ink); }
a.kpi-link.on { border-color: var(--red); background: var(--red-soft); }
a.kpi-link .d { color: var(--ink-soft); }

/* konta, zespoły, abonamenty */
.flash.info { background: #EAF1FB; color: #1E4C8A; }
.flash a { color: inherit; font-weight: 600; }
.badge.info { background: #E3EDFB; color: #1E4C8A; }
body.ro main form[method="post"]:not(.ro-ok):not(#assign-form) { display: none !important; }
body.ro #assign-form .bulkbar, body.ro #assign-form .cb, body.ro #assign-form select, body.ro #assign-form .savebtn { display: none !important; }
.rolepick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.rolepick.four { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.roleopt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.roleopt:hover { border-color: #E3B7B7; }
.roleopt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.roleopt span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.roleopt small { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.roleopt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.tbl.perm th, .tbl.perm td.c { text-align: center; }
.tbl.perm .yes { color: var(--ok); font-weight: 700; } .tbl.perm .no { color: #C8BDBD; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.plan { border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.plan.on { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.plan-n { font-weight: 700; font-size: 17px; }
.plan-p .mono { font-size: 26px; font-weight: 600; } .plan-p small { color: var(--ink-soft); }
.plan ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; }
.planbox { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; background: var(--bg); border-radius: 12px; padding: 14px 16px; }
details.newacc > summary { list-style: none; cursor: pointer; display: inline-block; }
details.newacc > summary::-webkit-details-marker { display: none; }
details.newacc[open] > summary .btn { background: var(--ink); border-color: var(--ink); }
.newacc-form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.tbl tr.subrow td:first-child { padding-left: 34px; }
[hidden] { display: none !important; }
.tbl.perm td:first-child { min-width: 220px; }

/* logowanie v2: wyśrodkowanie, deszcz znaków, nowe slajdy */
.auth-side { align-items: center; text-align: left; }
.auth-side > .brand, .auth-side > .car, .auth-side > .auth-foot { width: min(560px, 100%); }
.auth-side > .brand { justify-content: center; }
.auth-side .auth-foot { text-align: center; font-size: 13px; color: #BFA3A3; }
.auth-side .slide { align-items: center; }
.auth-side .slide > .kicker, .auth-side .slide > h1 { text-align: center; justify-content: center; }
.auth-side .slide > .live, .auth-side .slide > .notes { width: 100%; }
.car-nav { justify-content: center; }
.car-name { flex-basis: 100%; text-align: center; margin: 0; }
.car-dot { width: 12px; } .car-dot.on { width: 38px; }
.soon { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: #FFD7D7; font-size: 10px; letter-spacing: .06em; }
.slide:not(.is-on) .an, .slide:not(.is-on) .an * { animation: none !important; }
.mx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.auth-side .mx { z-index: -2; opacity: .38; }
.auth-form { position: relative; isolation: isolate; overflow: hidden; flex-direction: column; gap: 14px; }
.auth-form .mx { z-index: -1; }
.auth-form .mx.blur { filter: blur(3.5px); opacity: .9; }
.auth-card { position: relative; }
.auth-switch { font-size: 14px; color: var(--ink-soft); text-align: center; }
.auth-switch a { font-weight: 700; }
.regcta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--bg); border: 1px dashed var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.regcta .btn { min-height: 40px; }

/* slajd: pozycje */
.kwrow { display: grid; grid-template-columns: minmax(0,1fr) 90px 34px 50px; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.035); opacity: 0; animation: fadeUp .45s ease forwards; }
.kw { color: #fff; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spark { width: 90px; height: 26px; overflow: visible; }
.spark path { fill: none; stroke: #2FBF71; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pos { color: #fff; font-size: 16px; font-weight: 600; text-align: right; }
.up { font-size: 12px; font-weight: 700; color: #8BE0B0; background: rgba(47,191,113,.16); border-radius: 999px; padding: 3px 8px; text-align: center; opacity: 0; animation: popIn .35s ease forwards; transform: scale(.6); }

/* slajd: ścieżka zakupu */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; }
.fstep { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #C9AFAF; text-align: center; }
.fdot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.fdot svg { opacity: 0; }
.fstep.an .fdot { animation: stepOn .35s ease var(--d) forwards; } .fstep.an .fdot svg { animation: popIn .35s ease var(--d) forwards; } .fstep.an span:last-child { animation: txtOn .35s ease var(--d) forwards; }
@keyframes stepOn { to { border-color: #2FBF71; background: rgba(47,191,113,.18); } }
@keyframes txtOn { to { color: #fff; } }
.fbar { height: 4px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.fbar i { display: block; height: 100%; width: 0; background: #2FBF71; animation: barFill 2.6s linear .3s forwards; --w: 100%; }

/* slajd: powiadomienia */
.notes { display: flex; flex-direction: column; gap: 10px; max-width: 540px; }
.note { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.93); color: var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.35); opacity: 0; transform: translateY(-14px) scale(.98); animation: noteIn .5s cubic-bezier(.2,1.2,.4,1) forwards; }
@keyframes noteIn { to { opacity: 1; transform: none; } }
.nic { flex: none; width: 36px; height: 36px; border-radius: 10px; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nt { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; } .nt span { color: var(--ink-soft); font-size: 12px; }
.nm { font-size: 13px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* slajd: status */
.okdot { width: 9px; height: 9px; border-radius: 50%; background: #2FBF71; box-shadow: 0 0 0 4px rgba(47,191,113,.2); }
.srow { display: flex; flex-direction: column; gap: 6px; }
.srow-h { display: flex; justify-content: space-between; font-size: 13px; color: #F2DADA; }
.sbars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; height: 26px; align-items: end; }
.sbars i { display: block; height: 0; border-radius: 3px; background: #2FBF71; animation: sbar .4s ease forwards; }
.sbars i.w { background: #E0A43A; }
@keyframes sbar { to { height: 100%; } }

/* slajd: konkurencja */
.cmp { display: grid; grid-template-columns: minmax(0,1fr) auto 58px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.035); opacity: 0; animation: fadeUp .45s ease forwards; }
.pr { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; color: #fff; } .pr s { color: #9F8787; font-size: 12px; }
.chg { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 0; text-align: center; opacity: 0; transform: scale(.6); animation: popIn .35s ease forwards; }
.chg.dn { background: rgba(255,77,77,.22); color: #FFB0B0; } .chg.up { background: rgba(47,191,113,.18); color: #8BE0B0; } .chg.new { background: rgba(42,120,214,.25); color: #A9CBF5; }

/* slajd: zespół */
.trow2 { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.035); opacity: 0; animation: fadeUp .45s ease forwards; }
.av { width: 38px; height: 38px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,.25); }

/* slajd: zachęta */
.ctarow { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 15px; opacity: 0; animation: fadeUp .4s ease forwards; }
.tk2 { width: 24px; height: 24px; border-radius: 50%; background: rgba(47,191,113,.2); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ctabtn { min-height: 50px; font-size: 16px; margin-top: 6px; box-shadow: 0 10px 30px rgba(224,0,0,.35); }
.ctabtn:hover { transform: translateY(-1px); }

@media (max-width: 640px) { .kwrow { grid-template-columns: minmax(0,1fr) 30px 44px; } .kwrow .spark { display: none; } .fstep { font-size: 10px; } .fdot { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) {
  .kwrow, .up, .cmp, .chg, .trow2, .ctarow, .note { animation: none !important; opacity: 1; transform: none; }
  .spark path { animation: none; stroke-dashoffset: 0; } .sbars i { animation: none; height: 100%; } .fbar i { animation: none; width: 100%; }
  .fdot { border-color: #2FBF71; } .fdot svg { opacity: 1; animation: none !important; }
}
@media (max-width: 640px) { .car-dots { gap: 5px; } .car-dot { width: 7px; } .car-dot.on { width: 24px; } .car-btn { width: 40px; height: 40px; } }
