/* SYNERGY VoiceBOT × Slovak Telekom — board deck
   Stage 1600×900 škálovaný na viewport (projektor / notebook / tablet na šírku),
   pod 900 px šírky alebo na výšku prechádza do "reflow" režimu (mobil, tablet na výšku). */

@font-face { font-family: "InterDeck"; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "InterDeck"; src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --magenta: #E20074;
  --magenta-2: #FF2D95;
  --magenta-soft: #FCE4F0;
  --blue: #1F78C8;
  --ink: #10141C;
  --ink-2: #3A4250;
  --ink-3: #6B7383;
  --line: #E3E6EC;
  --paper: #F6F7F9;
  --white: #FFFFFF;
  --night: #0B0F17;
  --night-2: #121826;
  --night-3: #1A2233;
  --night-line: rgba(255,255,255,.10);
  --night-ink: #EEF1F6;
  --night-ink-2: #B7C0CF;
  --night-ink-3: #8390A6;
  --ok: #1E9E6A;
  --warn: #C98A1B;
  --ease: cubic-bezier(.22,.7,.2,1);
  --font: "InterDeck", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --s: 1;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--night); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow: hidden; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--magenta-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- deck & slides ---------- */
.deck { position: fixed; inset: 0; overflow: hidden; }
.slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s; transform: translateX(3%); overflow: hidden; }
.slide.is-prev { transform: translateX(-3%); }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s; z-index: 2; }
.slide.light { background: var(--paper); color: var(--ink); }
.slide.white { background: var(--white); color: var(--ink); }
.slide.dark { background: radial-gradient(1200px 700px at 85% 10%, rgba(226,0,116,.16), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(31,120,200,.10), transparent 60%), var(--night); color: var(--night-ink); }
.slide.magenta { background: radial-gradient(1000px 700px at 80% 20%, #ff3aa0 0%, transparent 60%), linear-gradient(135deg, #B8005E 0%, #E20074 55%, #F23D96 100%); color: #fff; }

.stage { width: 1600px; height: 900px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(var(--s)); transform-origin: center center; flex: none; padding: 96px 110px 92px; display: flex; flex-direction: column; }
.stage.center { justify-content: center; }

/* ---------- chrome (fixed UI) ---------- */
.chrome { position: fixed; z-index: 50; pointer-events: none; inset: 0; }
.chrome > * { pointer-events: auto; }
.progress { position: fixed; left: 0; top: 0; height: 3px; background: var(--magenta); width: 0; transition: width .5s var(--ease); z-index: 60; }
.brandbar { position: fixed; top: 22px; left: 32px; display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; z-index: 55; }
.brandbar .t { width: 26px; height: 26px; border-radius: 6px; background: var(--magenta); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; letter-spacing: 0; }
.brandbar .sec { opacity: .62; font-weight: 500; }
.brandbar .sep { width: 1px; height: 14px; background: currentColor; opacity: .3; }
.navbox { position: fixed; right: 26px; bottom: 22px; display: flex; align-items: center; gap: 10px; z-index: 55; }
.navbox .count { font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .04em; min-width: 64px; text-align: right; opacity: .72; }
.navbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; opacity: .55; cursor: pointer; display: grid; place-items: center; transition: opacity .2s, background .2s; }
.navbtn:hover { opacity: 1; background: rgba(226,0,116,.12); }
.navbtn svg { width: 16px; height: 16px; }
.menubtn { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid currentColor; background: transparent; color: inherit; opacity: .55; cursor: pointer; }
.menubtn:hover { opacity: 1; }
body.on-dark .chrome-ink, body.on-magenta .chrome-ink { color: #fff; }
body.on-light .chrome-ink { color: var(--ink); }
.footer-note { position: fixed; left: 32px; bottom: 30px; font-size: 12px; letter-spacing: .06em; opacity: .5; z-index: 55; }

/* ---------- typography ---------- */
.kicker { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .kicker, .magenta .kicker { color: var(--magenta-2); }
.magenta .kicker { color: #fff; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
.h-hero { font-size: 92px; line-height: 1.0; font-weight: 750; letter-spacing: -.035em; }
.h1 { font-size: 60px; line-height: 1.06; font-weight: 720; letter-spacing: -.028em; max-width: 1250px; }
.h2 { font-size: 46px; line-height: 1.1; font-weight: 700; max-width: 1200px; }
.h3 { font-size: 26px; line-height: 1.2; font-weight: 680; }
.lead { font-size: 25px; line-height: 1.5; color: var(--ink-2); max-width: 1080px; margin: 24px 0 0; font-weight: 400; }
.dark .lead { color: var(--night-ink-2); }
.magenta .lead { color: rgba(255,255,255,.88); }
.body { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.dark .body { color: var(--night-ink-2); }
.small { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.dark .small { color: var(--night-ink-3); }
.mg { color: var(--magenta); }
.dark .mg { color: var(--magenta-2); }
.em { font-weight: 650; color: var(--ink); }
.dark .em { color: #fff; }

/* ---------- layout helpers ---------- */
.grow { flex: 1; min-height: 0; }
.row { display: flex; gap: 28px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cols-2-l { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.cols-2-r { display: grid; grid-template-columns: .9fr 1.25fr; gap: 64px; align-items: center; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cols-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mt-s { margin-top: 18px; } .mt { margin-top: 36px; } .mt-l { margin-top: 56px; } .mt-auto { margin-top: auto; }

/* ---------- cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; position: relative; }
.light .card { box-shadow: 0 1px 2px rgba(16,20,28,.04), 0 10px 30px rgba(16,20,28,.05); }
.white .card { background: var(--paper); border-color: transparent; }
.dark .card { background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border-color: var(--night-line); }
.card .num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--magenta); text-transform: uppercase; margin-bottom: 12px; }
.dark .card .num { color: var(--magenta-2); }
.card h3 { font-size: 22px; line-height: 1.25; font-weight: 680; margin: 0 0 10px; }
.card p { font-size: 17px; line-height: 1.5; margin: 0; color: var(--ink-2); }
.dark .card p { color: var(--night-ink-2); }
.card.accent { border-color: rgba(226,0,116,.45); }
.card.accent::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--magenta); border-radius: 3px; }
.card.fill { background: var(--magenta); color: #fff; border-color: transparent; }
.card.fill p { color: rgba(255,255,255,.9); }
.card.fill .num { color: #fff; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.tag.core { color: var(--ok); }
.tag.ext { color: var(--blue); }
.dark .tag.ext { color: #6FB2F2; }
.dark .tag.core { color: #4CD39A; }
.tagrow { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--magenta-soft); color: #A1004F; }
.dark .chip { background: rgba(226,0,116,.16); color: #FF8CC6; }

/* ---------- KPI ---------- */
.kpi { padding: 28px 0 0; border-top: 2px solid var(--magenta); }
.kpi .v { font-size: 64px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.kpi .l { font-size: 18px; line-height: 1.4; margin-top: 12px; color: var(--ink-2); }
.dark .kpi .l { color: var(--night-ink-2); }

/* ---------- detail button & modal ---------- */
.detail { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; letter-spacing: .02em; border-radius: 999px; padding: 11px 18px; cursor: pointer;
  border: 1px solid rgba(226,0,116,.5); background: transparent; color: var(--magenta); transition: background .2s, color .2s; }
.detail:hover { background: var(--magenta); color: #fff; }
.dark .detail { color: #FF8CC6; }
.dark .detail:hover { color: #fff; }
.detail .plus { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 13px; line-height: 1; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(8,10,16,.55); backdrop-filter: blur(6px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.modal-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.panel { position: fixed; top: 0; right: 0; height: 100%; width: min(720px, 100%); background: var(--white); color: var(--ink); z-index: 95; transform: translateX(102%); transition: transform .45s var(--ease); overflow-y: auto; padding: 64px 56px 56px; box-shadow: -30px 0 60px rgba(0,0,0,.25); }
.panel.open { transform: none; }
.panel .close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink-2); }
.panel .close:hover { border-color: var(--magenta); color: var(--magenta); }
.panel h3 { font-size: 30px; line-height: 1.15; margin: 8px 0 18px; }
.panel h4 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); margin: 28px 0 10px; }
.panel p, .panel li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.panel ul { padding-left: 20px; margin: 8px 0; }
.panel li { margin: 6px 0; }
.panel table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
.panel td, .panel th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.panel th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.modal-src { display: none; }

/* ---------- overview (M) ---------- */
.overview { position: fixed; inset: 0; z-index: 85; background: rgba(11,15,23,.97); color: #fff; overflow-y: auto; padding: 72px 56px 56px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.overview.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.overview h2 { font-size: 28px; margin-bottom: 8px; }
.overview .hint { color: var(--night-ink-3); font-size: 14px; margin-bottom: 28px; }
.ov-sec { margin: 26px 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #FF8CC6; font-weight: 700; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.ov-item { text-align: left; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #fff; border-radius: 12px; padding: 14px 16px; cursor: pointer; font-size: 14px; line-height: 1.35; min-height: 70px; }
.ov-item:hover, .ov-item.cur { border-color: var(--magenta); background: rgba(226,0,116,.15); }
.ov-item b { display: block; color: var(--night-ink-3); font-size: 12px; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.ov-close { position: fixed; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- reveal animations ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 150ms); }
.is-active .rv { opacity: 1; transform: none; }
.rv-x { opacity: 0; transform: translateX(-16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 250ms); }
.is-active .rv-x { opacity: 1; transform: none; }

/* ---------- flows ---------- */
.flow { display: flex; align-items: stretch; gap: 0; }
.flow .step { flex: 1; position: relative; padding: 22px 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.dark .flow .step { background: rgba(255,255,255,.04); border-color: var(--night-line); }
.flow .arrow { width: 34px; flex: none; display: grid; place-items: center; color: var(--magenta); }
.flow .step .n { font-size: 13px; font-weight: 750; color: var(--magenta); letter-spacing: .08em; }
.dark .flow .step .n { color: var(--magenta-2); }
.flow .step h4 { margin: 8px 0 6px; font-size: 20px; line-height: 1.2; }
.flow .step p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-3); }
.dark .flow .step p { color: var(--night-ink-3); }

/* animated pipeline (12 krokov) */
.pipe { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 14px; counter-reset: p; }
.pipe .pst { position: relative; padding: 18px 18px 16px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--night-line); min-height: 150px; transition: border-color .4s, background .4s, transform .4s; }
.pipe .pst .n { font-size: 13px; font-weight: 750; color: var(--night-ink-3); letter-spacing: .08em; transition: color .3s; }
.pipe .pst h4 { margin: 10px 0 8px; font-size: 19px; line-height: 1.22; color: #fff; }
.pipe .pst p { margin: 0; font-size: 14.5px; line-height: 1.42; color: var(--night-ink-3); }
.pipe .pst.on { border-color: rgba(226,0,116,.7); background: rgba(226,0,116,.10); }
.pipe .pst.on .n { color: var(--magenta-2); }
.pipe .pst .bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px; background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pipe .pst.on .bar { transform: scaleX(1); }

/* layer stack */
.stack { display: flex; flex-direction: column; gap: 8px; }
.layer { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 20px; padding: 11px 20px; border-radius: 14px; border: 1px solid var(--night-line); background: rgba(255,255,255,.035); position: relative; }
.layer .ln { font-weight: 750; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.layer .ld { font-size: 15.5px; color: var(--night-ink-2); line-height: 1.4; }
.layer.hl { border-color: rgba(226,0,116,.65); background: rgba(226,0,116,.10); }
.layer-arrow { text-align: center; color: var(--magenta-2); font-size: 16px; line-height: 1; height: 8px; margin: -4px 0; }
.light .layer, .white .layer { border-color: var(--line); background: var(--white); }
.light .layer .ln, .white .layer .ln { color: var(--ink); }
.light .layer .ld, .white .layer .ld { color: var(--ink-2); }
.light .layer.hl, .white .layer.hl { border-color: var(--magenta); background: var(--magenta-soft); }

/* data packet animation along svg path */
.flowline { stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.pulse-dot { animation: pulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%,100% { opacity: .35; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---------- audio player ---------- */
.vp { border-radius: 22px; padding: 26px 28px 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid var(--night-line); color: var(--night-ink); }
.light .vp, .white .vp { background: var(--white); border-color: var(--line); color: var(--ink); box-shadow: 0 10px 30px rgba(16,20,28,.06); }
.vp-top { display: flex; align-items: center; gap: 22px; }
.vp-play { width: 76px; height: 76px; flex: none; border-radius: 50%; border: 0; background: var(--magenta); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(226,0,116,.35); transition: transform .2s, box-shadow .2s; }
.vp-play:hover { transform: scale(1.04); box-shadow: 0 14px 40px rgba(226,0,116,.5); }
.vp-play svg { width: 28px; height: 28px; }
.vp-meta { flex: 1; min-width: 0; }
.vp-title { font-size: 20px; font-weight: 680; }
.vp-sub { font-size: 14px; color: var(--night-ink-3); margin-top: 4px; }
.light .vp-sub, .white .vp-sub { color: var(--ink-3); }
.vp-replay { border: 1px solid currentColor; background: transparent; color: inherit; opacity: .55; border-radius: 999px; padding: 9px 14px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.vp-replay:hover { opacity: 1; }
.vp-time { font-variant-numeric: tabular-nums; font-size: 14px; opacity: .7; min-width: 92px; text-align: right; }
.vp-wave { position: relative; height: 72px; margin: 20px 0 6px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.vp-wave i { flex: 1; min-width: 1px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background .15s; }
.light .vp-wave i, .white .vp-wave i { background: #D4D8E0; }
.vp-wave i.p { background: var(--magenta); }
.vp-wave i.cust { background: rgba(31,120,200,.45); }
.vp-wave i.cust.p { background: var(--blue); }
.vp-wave i.sys { background: rgba(201,138,27,.4); }
.vp-wave i.sys.p { background: var(--warn); }
.vp-legend { display: flex; gap: 18px; font-size: 13px; opacity: .75; margin-bottom: 8px; flex-wrap: wrap; }
.vp-legend span { display: inline-flex; align-items: center; gap: 7px; }
.vp-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--magenta); }
.vp-legend span.c::before { background: var(--blue); }
.vp-legend span.s::before { background: var(--warn); }
.vp-tx { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.vp-line { display: flex; gap: 14px; align-items: flex-start; opacity: .5; transition: opacity .3s; }
.vp-line.cur { opacity: 1; }
.vp-line .who { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 750; background: var(--magenta); color: #fff; transition: box-shadow .3s; }
.vp-line.cust .who { background: var(--blue); }
.vp-line.oper .who { background: #5B6B7F; }
.vp-line.cur .who { box-shadow: 0 0 0 6px rgba(226,0,116,.22); }
.vp-line.cust.cur .who { box-shadow: 0 0 0 6px rgba(31,120,200,.25); }
.vp-line .txt { font-size: 17px; line-height: 1.45; padding-top: 5px; }
.vp-line .txt b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-bottom: 2px; font-weight: 700; }
.vp.dialog .vp-line.cust { flex-direction: row; }
.vp.dialog .vp-line.bot { flex-direction: row-reverse; text-align: right; }
.vp.dialog .vp-line.oper { flex-direction: row-reverse; text-align: right; }
.vp.compact .vp-wave { height: 46px; margin: 14px 0 0; }
.vp.compact .vp-play { width: 58px; height: 58px; }
.vp.compact .vp-play svg { width: 22px; height: 22px; }
.vp.playing .vp-play { animation: ring 1.8s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(226,0,116,.55); } 100% { box-shadow: 0 0 0 22px rgba(226,0,116,0); } }
.vp-err { font-size: 13px; color: var(--warn); margin-top: 8px; display: none; }

/* ---------- mockups ---------- */
.mock { border-radius: 18px; background: #0F1420; border: 1px solid var(--night-line); color: var(--night-ink); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.light .mock, .white .mock { box-shadow: 0 30px 70px rgba(16,20,28,.18); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #161D2C; border-bottom: 1px solid var(--night-line); font-size: 13px; color: var(--night-ink-3); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2C3547; display: inline-block; }
.mock-bar .ttl { margin-left: 10px; color: var(--night-ink-2); font-weight: 600; }
.mock-body { padding: 22px; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; font-size: 16px; }
.kv dt { color: var(--night-ink-3); }
.kv dd { margin: 0; color: #fff; font-weight: 560; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge.ok { background: rgba(30,158,106,.18); color: #4CD39A; }
.badge.warn { background: rgba(201,138,27,.2); color: #F0B850; }
.badge.mg { background: rgba(226,0,116,.2); color: #FF8CC6; }
.badge.bl { background: rgba(31,120,200,.22); color: #7DB9F2; }

/* ---------- dialog bubbles ---------- */
.dlg { display: flex; flex-direction: column; gap: 12px; }
.bub { max-width: 78%; padding: 14px 18px; border-radius: 18px; font-size: 17.5px; line-height: 1.45; }
.bub small { display: block; font-size: 11.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; opacity: .7; }
.bub.c { align-self: flex-start; background: #EAF2FB; color: #0E3A63; border-bottom-left-radius: 6px; }
.bub.b { align-self: flex-end; background: var(--magenta); color: #fff; border-bottom-right-radius: 6px; }
.bub.s { align-self: center; background: transparent; color: var(--ink-3); font-size: 14px; border: 1px dashed var(--line); padding: 8px 14px; max-width: 92%; text-align: center; }
.dark .bub.c { background: rgba(31,120,200,.18); color: #D8E9FA; }
.dark .bub.s { color: var(--night-ink-3); border-color: var(--night-line); }

/* ---------- comparison table ---------- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink-2); font-weight: 560; }
.cmp thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.cmp thead th.us { color: var(--magenta); }
.cmp td.us { background: rgba(226,0,116,.06); font-weight: 650; color: var(--ink); }
.cmp .y { color: var(--ok); font-weight: 750; }
.cmp .p { color: var(--warn); font-weight: 650; }
.cmp .n { color: #A3AAB8; }

/* ---------- price tiers ---------- */
.tier { border-radius: 22px; padding: 30px 28px 26px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.tier.main { border: 2px solid var(--magenta); box-shadow: 0 24px 60px rgba(226,0,116,.16); }
.tier .lbl { font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
.tier .nm { font-size: 30px; font-weight: 740; margin: 10px 0 4px; letter-spacing: -.02em; }
.tier .pr { font-size: 46px; font-weight: 780; letter-spacing: -.03em; margin: 14px 0 2px; }
.tier .pn { font-size: 14px; color: var(--ink-3); }
.tier ul { list-style: none; padding: 0; margin: 20px 0 0; font-size: 15.5px; line-height: 1.35; color: var(--ink-2); }
.tier li { padding: 7px 0 7px 22px; position: relative; border-top: 1px solid var(--line); }
.tier li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--magenta); }

/* ---------- module map ---------- */
.mods { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.mod { border-radius: 14px; padding: 16px 14px; font-size: 15.5px; font-weight: 650; line-height: 1.25; background: rgba(255,255,255,.04); border: 1px solid var(--night-line); color: #fff; min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .3s, background .3s; }
.mod span { font-size: 12px; font-weight: 600; color: var(--night-ink-3); letter-spacing: .04em; }
.mod.k { border-color: rgba(226,0,116,.55); background: rgba(226,0,116,.10); }
.mod.add { border-style: dashed; border-color: rgba(255,255,255,.35); color: var(--night-ink-2); }

/* ---------- monitoring dashboard ---------- */
.dash { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { background: #141B29; border: 1px solid var(--night-line); border-radius: 14px; padding: 14px 16px; }
.tile .tl { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-ink-3); font-weight: 650; display: flex; justify-content: space-between; align-items: center; }
.tile .tv { font-size: 26px; font-weight: 720; margin-top: 8px; color: #fff; font-variant-numeric: tabular-nums; }
.tile .ts { font-size: 12.5px; color: var(--night-ink-3); margin-top: 2px; }
.tile svg { display: block; width: 100%; height: 40px; margin-top: 8px; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span6 { grid-column: span 6; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #4CD39A; box-shadow: 0 0 0 4px rgba(76,211,154,.15); }
.dot.w { background: #F0B850; box-shadow: 0 0 0 4px rgba(240,184,80,.15); }

/* ---------- charts ---------- */
.chart text { font-family: var(--font); }
.chart .ax { stroke: #C9CED8; stroke-width: 1; }
.chart .grid { stroke: #ECEEF2; stroke-width: 1; }
.chart .lbl { fill: var(--ink-3); font-size: 15px; }
.chart .ser-a { stroke: var(--blue); stroke-width: 3; fill: none; }
.chart .ser-b { stroke: var(--magenta); stroke-width: 3; fill: none; }
.chart .draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 1.8s var(--ease) .4s; }
.is-active .chart .draw { stroke-dashoffset: 0; }
.chart .bar { transition: transform 1s var(--ease); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.is-active .chart .bar { transform: scaleY(1); }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 7px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 5; }

/* ---------- misc ---------- */
.quote { font-size: 44px; line-height: 1.18; font-weight: 680; letter-spacing: -.02em; max-width: 1200px; }
.quote .mg { color: var(--magenta); }
.divider-line { height: 1px; background: var(--line); margin: 28px 0; }
.dark .divider-line { background: var(--night-line); }
.logo-img { height: 34px; width: auto; display: block; }
.hub { position: relative; }
.legend-inline { display: flex; gap: 22px; font-size: 15px; color: var(--ink-2); }
.legend-inline span { display: inline-flex; align-items: center; gap: 8px; }
.legend-inline i { width: 22px; height: 3px; border-radius: 2px; display: inline-block; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.4; color: var(--ink-2); display: flex; gap: 14px; }
.dark .list-clean li { border-color: var(--night-line); color: var(--night-ink-2); }
.list-clean li b { color: var(--ink); min-width: 0; }
.dark .list-clean li b { color: #fff; }
.ix { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--magenta-soft); color: #A1004F; font-weight: 750; font-size: 14px; display: grid; place-items: center; }
.dark .ix { background: rgba(226,0,116,.18); color: #FF8CC6; }
.toggle-audio { display: flex; gap: 12px; }

/* ---------- reflow (mobil / tablet na výšku) ---------- */
html.reflow body { overflow: hidden; }
html.reflow .slide { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
html.reflow .stage { position: relative; left: auto; top: auto; width: 100%; max-width: 100vw; height: auto; min-height: 100%; transform: none; padding: 78px 18px 96px; overflow-x: hidden; }
html.reflow .h-hero { font-size: 36px !important; }
html.reflow .h1 { font-size: 27px !important; }
html.reflow .h2 { font-size: 25px !important; }
html.reflow .quote { font-size: 26px !important; }
html.reflow .lead { font-size: 18px; }
html.reflow .body { font-size: 16px; }
html.reflow .cols-2, html.reflow .cols-2-l, html.reflow .cols-2-r, html.reflow .cols-3, html.reflow .cols-4, html.reflow .cols-5 { grid-template-columns: 1fr !important; gap: 16px; }
html.reflow [style*="grid-column"] { grid-column: auto !important; }
html.reflow .pipe { grid-template-columns: 1fr 1fr !important; }
html.reflow .pipe .pst[style*="grid-column"] { grid-column: span 2 !important; }
html.reflow .pipe .pst { min-height: 0; }
html.reflow .mods { grid-template-columns: repeat(2, 1fr) !important; }
html.reflow .dash { grid-template-columns: repeat(2, 1fr); }
html.reflow .dash .span3, html.reflow .dash .span6 { grid-column: span 2; }
html.reflow .flow { flex-direction: column; }
html.reflow .flow .arrow { width: auto; height: 22px; transform: rotate(90deg); }
html.reflow .layer { grid-template-columns: 1fr !important; gap: 6px; }
html.reflow .kpi .v { font-size: 44px; }
html.reflow .tier .pr { font-size: 36px; }
html.reflow .cmp { font-size: 12.5px; }
html.reflow .cmp th, html.reflow .cmp td { padding: 7px 5px; }
html.reflow .scroll-x { overflow-x: auto; }
html.reflow .vp-line .txt { font-size: 15px; }
html.reflow .bub { max-width: 92%; font-size: 15.5px; }
html.reflow .brandbar { top: 14px; left: 16px; font-size: 11px; }
html.reflow .brandbar .sec { display: none; }
html.reflow .navbox { right: 12px; bottom: 12px; }
html.reflow .footer-note { display: none; }
html.reflow .hide-reflow { display: none !important; }
html.reflow .kv { grid-template-columns: 1fr; gap: 2px; }
html.reflow .kv dd { margin-bottom: 8px; }
html.reflow .chart svg { width: 100%; height: auto; }
html.reflow svg.fit { width: 100%; height: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
@media print {
  .chrome, .progress, .brandbar, .navbox { display: none; }
}

/* zvýraznenie modulov v sekvencii */
.mod.hl { border-color: #fff; background: rgba(226,0,116,.28); transform: translateY(-3px); }
.mod { transition: border-color .4s, background .4s, transform .4s; }

/* dialógový prehrávač – kompaktný prepis, aby sa zmestil na slide */
.vp.dialog .vp-wave { height: 56px; margin: 14px 0 4px; }
.vp.dialog .vp-tx { gap: 5px; margin-top: 6px; }
.vp.dialog .vp-line .who { width: 28px; height: 28px; font-size: 11px; }
.vp.dialog .vp-line .txt { font-size: 15px; line-height: 1.38; padding-top: 3px; }
.vp.dialog .vp-line .txt b { display: none; }
.vp.dialog .vp-line.bot .txt, .vp.dialog .vp-line.oper .txt { max-width: 85%; }
.vp.dialog .vp-line.bot, .vp.dialog .vp-line.oper { justify-content: flex-start; }
/* monitoring dashboard vo veľkom formáte */
.dash.big { gap: 14px; }
.dash.big .tile { padding: 20px 20px 18px; min-height: 128px; }
.dash.big .tile .tv { font-size: 34px; margin-top: 12px; }
.dash.big .tile .ts { font-size: 14px; }
.dash.big .tile svg { height: 92px !important; }

/* grid položky sa nesmú rozťahovať nad šírku stĺpca */
.cols-2 > *, .cols-3 > *, .cols-4 > *, .cols-5 > *, .cols-2-l > *, .cols-2-r > * { min-width: 0; }
.vp { min-width: 0; }
.vp.compact .vp-top { gap: 14px; }
.vp.compact .vp-replay { padding: 7px 10px; font-size: 12px; }
.vp.compact .vp-time { min-width: 0; font-size: 13px; }
.vp.compact .vp-title { font-size: 18px; white-space: nowrap; }
.vp.compact .vp-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp.compact .vp-wave { gap: 1px; }

/* reflow – bezpečné zalamovanie a žiadny horizontálny posun */
html.reflow .stage * { overflow-wrap: break-word; }
html.reflow .stage svg { max-width: 100%; height: auto; }
html.reflow .row { flex-wrap: wrap; }
html.reflow .vp-top { flex-wrap: wrap; gap: 12px; }
html.reflow .vp-meta { min-width: 60%; }
html.reflow .vp-time { text-align: left; min-width: 0; }
html.reflow .vp { padding: 18px 16px; }
html.reflow .pipe .pst h4 { font-size: 16px; }
html.reflow .tier { padding: 22px 18px; }
html.reflow .mock-body { padding: 14px; }
html.reflow .dash.big .tile .tv { font-size: 24px; }
html.reflow .kicker { font-size: 12px; letter-spacing: .1em; }
html.reflow .stack .layer-arrow { display: none; }
html.reflow .scroll-x .cmp { min-width: 620px; }
html.reflow .stage.center { justify-content: flex-start; }

html.reflow .card[style*="min-height"] { min-height: 0 !important; }
html.reflow .stage img { max-width: 100%; height: auto; }
html.reflow .vp-wave { gap: 1px; }
html.reflow .vp-wave i { min-width: 0; }
html.reflow .tag { white-space: normal; }
html.reflow .row > span[style*="width:200px"] { width: 100% !important; }
html.reflow .cmp td, html.reflow .cmp th { word-break: break-word; }
