@font-face { font-family: Quicksand; font-weight: 500; font-display: swap; src: url(fonts/quicksand-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Quicksand; font-weight: 500; font-display: swap; src: url(fonts/quicksand-latin-500-normal.woff2) format("woff2"); 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Quicksand; font-weight: 700; font-display: swap; src: url(fonts/quicksand-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Quicksand; font-weight: 700; font-display: swap; src: url(fonts/quicksand-latin-700-normal.woff2) format("woff2"); 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --navy: #0d2c4a; --yel: #ffdb00; --sea: #e6f6fb; --line: #d6e6ee; --muted: #4f6476; --cyan: #00b1df;
        --up: #1f9d55; --up-bg: #e3f6ea; --slow: #c98a00; --slow-bg: #fff4cc; --down: #d64545; --down-bg: #fde7e7; --nd: #c9d8e0; --partial: #e8730c; --partial-bg: #fde9d9; --maint: #2f7fd1; --maint-bg: #e3effc; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Quicksand, system-ui, sans-serif; font-weight: 500; color: var(--navy); background: #f6fafc; line-height: 1.5; }
a { color: #006f91; }
.wrap { width: min(980px, 100% - 2rem); margin: 0 auto; }
.top { background: var(--navy); border-bottom: 4px solid var(--yel); }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand img { display: block; height: 40px; width: auto; }
.sep { color: #fff; font-weight: 700; padding-left: 1rem; border-left: 1px solid #ffffff40; text-decoration: none; }
.lang { margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; border: 1px solid #ffffff55; border-radius: 999px; padding: .35rem .9rem; }
.lang:hover { background: #ffffff1a; }
main { padding: 2rem 0 1rem; }
.hero { display: flex; align-items: center; gap: 1.2rem; border-radius: 18px; padding: 1.5rem 1.6rem; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--nd); }
.hero.up { border-left-color: var(--up); } .hero.maint { border-left-color: var(--maint); } .hero.slow { border-left-color: var(--slow); } .hero.down { border-left-color: var(--down); }
.hero h1 { margin: 0; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.2; }
.hero p { margin: .3rem 0 0; color: var(--muted); }
.big { flex: 0 0 auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #fff; background: var(--nd); }
.big svg { width: 36px; height: 36px; }
.big.up { background: var(--up); } .big.maint { background: var(--maint); } .big.slow { background: var(--slow); } .big.down { background: var(--down); }
.hero.up .big { animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 #1f9d5555; } 70% { box-shadow: 0 0 0 14px #1f9d5500; } 100% { box-shadow: 0 0 0 0 #1f9d5500; } }
.notes { display: grid; gap: .8rem; margin-top: 1.2rem; }
.note { border-radius: 14px; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--cyan); }
.note.problem { border-left-color: var(--down); } .note.info { border-left-color: var(--yel); }
.note p { margin: 0; } .note .nt { font-weight: 700; margin-bottom: .2rem; }
.grp { margin-top: 2rem; }
.grp h2 { font-size: 1.15rem; margin: 0 0 .7rem; }
.list { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc summary::after { content: ""; }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "dot nm pill up" "bars bars bars bars" "ax ax ax ax"; align-items: center; gap: .3rem 1rem; padding: 1rem 1.2rem .8rem; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary:hover { background: #fafdff; }
.svc summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.dot { grid-area: dot; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--nd); }
.dot svg { width: 18px; height: 18px; }
.dot.up { background: var(--up); } .dot.maint { background: var(--maint); } .dot.slow { background: var(--slow); } .dot.down { background: var(--down); }
.nm { grid-area: nm; display: flex; flex-direction: column; min-width: 0; }
.nm .url { font-size: .85rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { grid-area: pill; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: .2rem .75rem; white-space: nowrap; background: #eef3f6; color: var(--muted); }
.pill.up { background: var(--up-bg); color: #176c3c; } .pill.maint { background: var(--maint-bg); color: #1d5ea3; } .pill.slow { background: var(--slow-bg); color: #8a5e00; } .pill.down { background: var(--down-bg); color: #a32f2f; }
.up90 { grid-area: up; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; min-width: 6.5rem; }
.up90 small { color: var(--muted); font-size: .75rem; }
.bars { grid-area: bars; display: flex; gap: 2px; height: 30px; margin-top: .5rem; }
.bars i { flex: 1; border-radius: 3px; background: var(--nd); transition: transform .15s; }
.bars i.up { background: var(--up); } .bars i.maint { background: var(--maint); }
.bars i { position: relative; }
.bars i.has-inc::after { content: ""; position: absolute; left: 50%; top: -7px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--navy); } .bars i.slow { background: #f0b400; } .bars i.down { background: var(--down); }
.bars i:hover { transform: scaleY(1.15); }
.barsax { grid-area: ax; display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.more { padding: 0 1.2rem 1.2rem 3.6rem; }
.more h3 { font-size: .95rem; margin: 1rem 0 .4rem; }
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; margin: 0; }
.nums div { background: var(--sea); border-radius: 10px; padding: .5rem .8rem; }
.nums dt { font-size: .78rem; color: var(--muted); } .nums dd { margin: 0; font-weight: 700; }
.spark { width: 100%; height: 90px; display: block; background: linear-gradient(#f3f8fb, #fff); border-radius: 8px; }
.spark path { fill: none; stroke: var(--cyan); stroke-width: 2; }
.spark .gap { fill: #fbd5d5; } .spark .mgap { fill: #d8e8fa; }
.axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.events { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.events li { display: flex; align-items: center; gap: .8rem; padding: .75rem 1.2rem; }
.events li + li { border-top: 1px solid var(--line); }
.events time { margin-left: auto; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.events .dot { width: 24px; height: 24px; } .events .dot svg { width: 14px; height: 14px; }
.muted { color: var(--muted); }
.foot { color: var(--muted); font-size: .9rem; padding: 1.5rem 0 3rem; }
.foot p { margin: .3rem 0; }
@media (max-width: 640px) {
  .sep { display: none; }
  .svc summary { grid-template-columns: auto 1fr auto; grid-template-areas: "dot nm pill" "bars bars bars" "ax ax up"; }
  .up90 { flex-direction: row; gap: .3rem; align-items: baseline; min-width: 0; }
  .barsax span:last-child { display: none; }
  .pill .ms { display: none; }
  .bars i:nth-child(-n+60) { display: none; }
  .more { padding-left: 1.2rem; }
  .events li { flex-wrap: wrap; } .events time { margin-left: 2.4rem; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hero.up .big { animation: none; } }

.loading { display: flex; justify-content: center; padding: 4rem 0; }
.loading span { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--cyan); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.late { color: #8a5e00 !important; font-weight: 700; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.small { font-size: .85rem; }
.open-site { margin: 0 0 .8rem; font-size: .92rem; }
.mini { margin: 0; padding-left: 1.1rem; } .mini li { margin: .2rem 0; }
.histlink { margin-top: 1.2rem; font-weight: 700; }
.crumb { margin: 0 0 1rem; font-weight: 700; }
.page-h { font-size: clamp(1.5rem, 3.6vw, 2.1rem); line-height: 1.2; margin: .3rem 0 .4rem; }
h2.month { font-size: 1.05rem; text-transform: capitalize; margin: 2rem 0 .7rem; color: var(--muted); }
.incs { display: grid; gap: .9rem; }
.inc { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--nd); border-radius: 14px; padding: 1rem 1.2rem 1.1rem; }
.inc.down { border-left-color: var(--down); } .inc.slow { border-left-color: var(--slow); } .inc.maint { border-left-color: var(--maint); } .inc.resolved { border-left-color: var(--up); }
.inc h3 { margin: .35rem 0 .15rem; font-size: 1.1rem; }
.inc h3 a { color: var(--navy); text-decoration: none; } .inc h3 a:hover { text-decoration: underline; }
.inc-top { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .15rem .65rem; background: #eef3f6; color: var(--muted); }
.tag svg { width: 14px; height: 14px; }
.tag.down { background: var(--down-bg); color: #a32f2f; } .tag.slow { background: var(--slow-bg); color: #8a5e00; } .tag.maint { background: var(--maint-bg); color: #1d5ea3; } .tag.resolved { background: var(--up-bg); color: #176c3c; }
.tag.ghost { background: transparent; border: 1px solid var(--line); }
.inc-when { margin: 0; color: var(--muted); font-size: .92rem; }
.inc-last { margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.inc-last p { margin: .2rem 0; }
.inc-svcs { margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .88rem; color: var(--muted); }
.inc-svcs span { background: var(--sea); color: var(--navy); border-radius: 8px; padding: .1rem .5rem; font-weight: 700; }
.inc-detail { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--nd); border-radius: 16px; padding: 1.4rem 1.5rem 1.6rem; }
.inc-detail.down { border-top-color: var(--down); } .inc-detail.slow { border-top-color: var(--slow); } .inc-detail.maint { border-top-color: var(--maint); } .inc-detail.resolved { border-top-color: var(--up); }
.inc-detail .nums { margin-top: 1rem; }
.inc-detail h2 { font-size: 1.1rem; margin: 1.6rem 0 .6rem; }
/* stavy aktualizácií – farby a ikony */
.st-investigating { --sc: var(--down); --sb: var(--down-bg); }
.st-identified { --sc: #c98a00; --sb: var(--slow-bg); }
.st-monitoring { --sc: #0089b0; --sb: #dff4fb; }
.st-resolved, .st-completed { --sc: var(--up); --sb: var(--up-bg); }
.st-scheduled, .st-in_progress { --sc: var(--maint); --sb: var(--maint-bg); }
.st-update { --sc: #5b6f80; --sb: #eef3f6; }
.tag[class*="st-"] { background: var(--sb); color: var(--sc); }
.tag[class*="st-"] svg, .st-line svg { width: 15px; height: 15px; }
.st-line { display: flex; align-items: center; gap: .35rem; }
.st-line svg { color: var(--sc); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.4rem 3.2rem; min-height: 36px; }
.tl-ic { position: absolute; left: 0; top: -.15rem; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sb); color: var(--sc); box-shadow: 0 0 0 4px #fff; }
.tl-ic svg { width: 20px; height: 20px; }
.timeline li:first-child .tl-ic { background: var(--sc); color: #fff; }
.tl-h { display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: baseline; padding-top: .3rem; }
.tl-h strong { color: var(--sc); }
.tl-h time { color: var(--muted); font-size: .88rem; }
.timeline p { margin: .3rem 0 0; }
.timeline li:last-child { padding-bottom: 0; }
@media (max-width: 640px) { .inc-detail { padding: 1.1rem; } }
.hero.partial { border-left-color: var(--partial); } .big.partial, .dot.partial { background: var(--partial); }
.pill.partial { background: var(--partial-bg); color: #a24d05; }
.note-svc { font-size: .85rem; color: #8a5e00; font-weight: 700; }
.tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.tabs .wrap { display: flex; gap: .3rem; overflow-x: auto; }
.tabs a { padding: .85rem .9rem .75rem; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--navy); }
.tabs a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--yel); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.2rem; font-size: .85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .4rem; }
.legend i { width: 10px; height: 18px; border-radius: 3px; background: var(--nd); }
.legend i.up { background: var(--up); } .legend i.slow { background: #f0b400; } .legend i.down { background: var(--down); } .legend i.maint { background: var(--maint); }
