@font-face {
  font-family: "Roboto";
  src: url("/assets/Roboto-Cyrillic-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Roboto";
  src: url("/assets/Roboto-Latin-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Days One";
  src: url("/assets/DaysOne-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --surface: #fff;
  --surface-2: #efeee9;
  --ink: #171611;
  --body: #59564f;
  --faint: #8d887f;
  --line: rgba(23, 22, 17, .10);
  --line-strong: rgba(23, 22, 17, .18);
  --up: #58a766;
  --degraded: #e6ac25;
  --impaired: #df3038;
  --down: #df3038;
  --unknown: #deddd8;
  --focus: #1769d2;
  --radius-control: 12px;
  --radius-card: 22px;
  --page-width: 980px;
  --ease: cubic-bezier(.2, 0, 0, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; overflow-x: clip; background: var(--bg); color: var(--ink); }
body { min-height: 100vh; overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink); font-family: Roboto, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.has-modal { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-underline-position: from-font; text-decoration-thickness: from-font; }
img, svg { display: block; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
::selection { color: #fff; background: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 800; inset-block-start: 12px; inset-inline-start: 12px; translate: 0 -180%; padding: 10px 14px; border-radius: 10px; color: #fff; background: var(--ink); }
.skip-link:focus { translate: 0; }
.site-header { display: flex; width: min(calc(100% - 32px), var(--page-width)); min-height: 86px; margin-inline: auto; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand strong { font-family: "Days One", Roboto, sans-serif; font-size: 17px; font-weight: 400; letter-spacing: -.035em; }
.header-actions { display: grid; grid-template-columns: repeat(2, 112px); gap: 8px; }
.header-button, .button, .channel-link { min-height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--surface); cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 600; transition-property: background-color, border-color, scale; transition-duration: 140ms; transition-timing-function: var(--ease); }
.header-button:hover, .button:hover, .channel-link:hover { border-color: rgba(23,22,17,.28); background: #faf9f6; }
.header-button:active, .button:active, .channel-link:active { scale: .96; }

.page-shell { width: min(calc(100% - 32px), var(--page-width)); margin-inline: auto; padding-block: 26px 64px; }
.overview-card { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 16px 44px rgba(23,22,17,.055), 0 1px 2px rgba(23,22,17,.035); }
.overview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 22px 12px; }
.overview-toolbar h1, .section-heading h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.overview-actions { display: flex; align-items: center; gap: 14px; }
.freshness { color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.freshness.is-stale { color: var(--down); font-weight: 600; }
.button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; padding-inline: 15px; }
.button svg { width: 17px; height: 17px; }
.button:disabled { cursor: wait; opacity: .55; scale: 1; }
.refresh-button.is-busy svg { animation: spin 1s linear infinite; }

.timeline-chart { position: relative; --timeline-depth: 420px; }
.timeline-axis { position: relative; display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); height: 58px; margin-inline: 22px; }
.timeline-axis::after { position: absolute; z-index: 1; inset-inline: 0; inset-block-end: 0; height: 1px; background: var(--line-strong); content: ""; }
.axis-segment { min-width: 0; pointer-events: none; }
.axis-marker { position: absolute; z-index: 4; inset-block-end: 0; width: max-content; min-width: 36px; min-height: 44px; translate: -50% 0; border: 0; background: transparent; color: var(--faint); cursor: crosshair; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.axis-marker:first-of-type { translate: 0 0; text-align: start; }
.axis-marker:last-of-type { translate: -100% 0; text-align: end; }
.axis-marker::after { position: absolute; z-index: -1; inset-inline-start: 50%; inset-block-start: 100%; width: 1px; height: 0; background: transparent; content: ""; pointer-events: none; transition: height 260ms var(--ease), background-color 140ms var(--ease); }
.axis-marker:first-of-type::after { inset-inline-start: 0; }
.axis-marker:last-of-type::after { inset-inline-start: 100%; }
.axis-marker:first-of-type::after, .axis-marker:last-of-type::after { display: none; }
.axis-marker:hover, .axis-marker:focus-visible, .axis-marker[aria-pressed="true"] { color: var(--ink); }
.axis-marker[aria-pressed="true"]::after { height: var(--timeline-depth); background: rgba(23,22,17,.30); }
.axis-marker[aria-pressed="true"] { font-weight: 700; }
.timeline-axis:hover .axis-marker, .timeline-axis:focus-within .axis-marker { color: var(--ink); }
.timeline-axis:hover .axis-marker::after, .timeline-axis:focus-within .axis-marker::after { height: var(--timeline-depth); background: rgba(23,22,17,.30); }

.service-list { padding-inline: 22px; }
.service-row { position: relative; padding-block: 20px; border-block-end: 1px solid var(--line); }
.service-row:last-child { border-block-end: 0; }
.service-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-end: 11px; }
.service-name { display: inline-flex; min-height: 32px; align-items: center; gap: 0; margin: -5px 0; color: var(--ink); font-size: 14.5px; font-weight: 600; text-align: start; }
.service-help { display: grid; width: 32px; height: 32px; margin-inline-start: 1px; padding: 0; place-items: center; border: 0; background: transparent; cursor: help; color: var(--faint); }
.service-help > span { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 10px; font-weight: 700; line-height: 1; }
.service-meta { display: flex; align-items: center; gap: 9px; color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.state-label { display: inline-flex; align-items: center; gap: 6px; color: var(--body); font-weight: 600; }
.state-label::before { width: 7px; height: 7px; flex: 0 0 auto; background: currentColor; content: ""; }
.state-label[data-status="up"] { color: #397b45; }
.state-label[data-status="degraded"] { color: #936a09; }
.state-label[data-status="impaired"] { color: #b51720; }
.state-label[data-status="down"] { color: #b51720; }
.history-bars { display: grid; grid-template-columns: repeat(60, minmax(2px, 1fr)); gap: 4px; min-height: 32px; }
.history-bar { min-width: 0; min-height: 32px; padding: 0; border: 0; background: var(--bar-color); cursor: help; transition: filter 110ms var(--ease), scale 110ms var(--ease); }
.history-bar:hover, .history-bar:focus-visible, .history-bar[aria-expanded="true"] { z-index: 2; filter: saturate(1.18) brightness(.94); scale: 1.08 1.12; }
.history-bar[data-status="up"] { --bar-color: var(--up); }
.history-bar[data-status="degraded"] { --bar-color: var(--degraded); }
.history-bar[data-status="impaired"] { --bar-color: var(--impaired); }
.history-bar[data-status="down"] { --bar-color: var(--down); }
.history-bar[data-status="unknown"], .history-bar[data-status="maintenance"] { --bar-color: var(--unknown); }

.floating-tooltip { position: fixed; z-index: 600; width: min(360px, calc(100vw - 24px)); padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: #fff; box-shadow: 0 18px 48px rgba(23,22,17,.18); color: var(--body); font-size: 12.5px; font-weight: 400; line-height: 1.45; opacity: 0; pointer-events: none; translate: 0 -4px; transition: opacity 140ms var(--ease), translate 140ms var(--ease); }
.floating-tooltip.is-open { opacity: 1; pointer-events: auto; translate: 0; }
.floating-tooltip::before { position: absolute; inset-inline-start: var(--arrow-x, 24px); width: 14px; height: 14px; rotate: 45deg; border: solid var(--line-strong); background: #fff; content: ""; }
.floating-tooltip[data-placement="bottom"]::before { inset-block-start: -8px; border-width: 1px 0 0 1px; }
.floating-tooltip[data-placement="top"]::before { inset-block-end: -8px; border-width: 0 1px 1px 0; }
.tooltip-title { display: block; margin-block-end: 5px; color: var(--ink); font-size: 13px; font-weight: 600; }
.tooltip-status { display: flex; align-items: center; gap: 8px; }
.tooltip-status::before { width: 8px; height: 8px; flex: 0 0 auto; background: var(--tip-color, var(--unknown)); content: ""; }
.tooltip-detail { display: block; margin-block-start: 6px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tooltip-incident { display: block; margin-block-start: 8px; padding-block-start: 8px; border-block-start: 1px solid var(--line); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.channel-section { margin-block-start: 40px; }
.history-cta { display: flex; justify-content: center; padding-block: 28px 4px; }
.history-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding-inline: 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--surface); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color 140ms var(--ease), border-color 140ms var(--ease), scale 140ms var(--ease); }
.history-link:hover { border-color: rgba(23,22,17,.28); background: #faf9f6; }
.history-link:active { scale: .96; }
.history-link svg { width: 18px; height: 18px; }
.history-view { padding-block-start: 22px; }
.breadcrumbs { display: flex; align-items: center; gap: 5px; padding-block: 18px 24px; border-block-start: 1px solid var(--line); color: var(--body); font-size: 14px; }
.breadcrumbs a { text-decoration: none; }
.history-heading { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; border-block-end: 1px solid var(--line); }
.history-heading h1 { margin: 0; font-size: 22px; font-weight: 600; }
.history-heading a { color: var(--body); font-size: 13px; }
.incident-history { padding-block: 26px 48px; }
.history-month { margin: 26px 0 16px; font-size: 16px; font-weight: 600; text-transform: capitalize; }
.history-day { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 22px; padding-block: 20px; border-block-end: 1px solid var(--line); }
.history-date { display: flex; align-items: baseline; gap: 7px; color: var(--ink); }
.history-date strong { font-size: 15px; }
.history-date span { color: var(--faint); font-size: 12px; text-transform: lowercase; }
.history-day__incidents { display: grid; gap: 18px; }
.history-incident { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding-inline-start: 18px; }
.history-incident::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--incident-color, var(--degraded)); content: ""; }
.history-incident strong { font-size: 14px; font-weight: 500; }
.history-incident time { color: var(--faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.history-incident p { grid-column: 1 / -1; margin: 0; color: var(--body); font-size: 13px; }
.history-empty { padding-block: 80px; color: var(--faint); text-align: center; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-block-end: 14px; }
.section-heading > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.section-heading > div:first-child a { color: var(--faint); font-size: 13px; text-decoration: none; }
.channel-actions { display: flex; align-items: center; gap: 8px; }
.channel-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 14px; text-decoration: none; }
.discuss-link { border-color: #c9232c; background: var(--down); color: #fff; }
.discuss-link:hover { border-color: #b51e26; background: #cc2831; }
.discuss-link > span { display: none; }
.channel-posts { display: grid; gap: 14px; padding: 18px; border-radius: 22px; background: #17212b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.channel-post { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; width: fit-content; min-width: min(340px, 100%); max-width: min(760px, 100%); }
.channel-post.has-media { width: min(var(--post-media-width, 760px), 100%); }
.channel-post.has-round-video { width: min(344px, 100%); }
.channel-post__avatar-button, .channel-post__author-button { appearance: none; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.channel-post__avatar-button { align-self: start; width: 38px; height: 38px; border-radius: 50%; }
.channel-post__avatar { display: block; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; outline: 1px solid rgba(255,255,255,.1); transition: transform .16s ease, outline-color .16s ease; }
.channel-post__avatar-button:hover .channel-post__avatar, .channel-post__avatar-button:focus-visible .channel-post__avatar { transform: scale(1.04); outline-color: #6ab3f3; }
.channel-post__bubble { min-width: 0; overflow: hidden; border-radius: 8px 16px 16px; background: #202b36; box-shadow: 0 1px 2px rgba(0,0,0,.22); color: #f5f7f8; }
.channel-post__header { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 11px 14px 0; }
.channel-post__author { color: #6ab3f3; font-size: 13px; font-weight: 600; }
.channel-post__author-button:hover .channel-post__author, .channel-post__author-button:focus-visible .channel-post__author { text-decoration: underline; text-underline-offset: 3px; }
.channel-post__reply { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; width: calc(100% - 28px); margin: 9px 14px 0; padding: 0 0 0 9px; overflow: hidden; border: 0; border-left: 2px solid #6ab3f3; background: transparent; color: #dce5ec; text-align: left; cursor: pointer; }
.channel-post__reply > img { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; }
.channel-post__reply > span { display: grid; min-width: 0; }
.channel-post__reply strong { color: #6ab3f3; font-size: 12px; }
.channel-post__reply-text { overflow: hidden; color: #b7c3cc; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.channel-post__media { display: grid; gap: 2px; height: 320px; margin-block-start: 9px; overflow: hidden; background: #101820; }
.channel-post__media[data-count="1"] { height: auto; min-height: 220px; aspect-ratio: var(--media-aspect, 4 / 3); }
.channel-post__media[data-kind="round_video"][data-count="1"] { width: min(284px, 72vw); height: min(284px, 72vw); min-height: 0; aspect-ratio: 1; padding: 14px; border-radius: 50%; }
.channel-post__media[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.channel-post__media[data-count="3"] { grid-template-columns: 3fr 2fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.channel-post__media[data-count="3"] .channel-post__media-button:first-child { grid-row: 1 / 3; }
.channel-post__media[data-count="4"] { grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); }
.channel-post__media-button { position: relative; min-width: 0; min-height: 0; overflow: hidden; padding: 0; border: 0; background: #101820; cursor: zoom-in; }
.channel-post__media-main, .channel-post__media-bg { display: block; width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgba(255,255,255,.1); outline-offset: -1px; transition: opacity .15s ease; }
.channel-post__media[data-count="1"] .channel-post__media-button:not([data-type="round_video"]) .channel-post__media-main { position: relative; z-index: 1; width: auto; max-width: 92%; height: 100%; margin: auto; object-fit: contain; outline: 0; }
.channel-post__media-bg { position: absolute; inset: 0; filter: blur(20px) brightness(.6); scale: 1.15; }
.channel-post__media-button[data-type="round_video"] { align-self: center; justify-self: center; width: 100%; height: 100%; border-radius: 50%; outline: 1px solid rgba(255,255,255,.12); }
.channel-post__media-button[data-type="round_video"] .channel-post__media-main { border-radius: 50%; outline: 0; }
.channel-post__media-button:hover .channel-post__media-main { opacity: .86; }
.channel-post__play { position: absolute; inset: 50% auto auto 50%; display: grid; width: 52px; height: 52px; place-items: center; translate: -50% -50%; border-radius: 50%; background: rgba(15,23,31,.72); color: #fff; font-size: 21px; }
.channel-post__media-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 24px; font-weight: 650; }
.channel-post__body { padding: 11px 14px 10px; }
.channel-post__text { color: #f1f4f6; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; white-space: normal; }
.channel-post__text:empty { display: none; }
.channel-post__text a { color: #6ab3f3; font-weight: 500; }
.telegram-custom-emoji { display: inline-block; width: 1.25em; height: 1.25em; margin: -.13em .03em 0; object-fit: contain; vertical-align: middle; }
.telegram-spoiler { border-radius: 3px; background: #5b6570; color: transparent; }
.telegram-spoiler:hover, .telegram-spoiler:focus { color: inherit; }
.channel-post__reactions { display: flex; flex-wrap: wrap; gap: 5px; margin-block-start: 10px; }
.channel-reaction { display: inline-flex; min-height: 28px; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid rgba(106,179,243,.42); border-radius: 999px; background: rgba(78,155,214,.13); color: #d9edf9; font-size: 12px; font-variant-numeric: tabular-nums; }
.channel-post__meta { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-block-start: 8px; color: #8596a6; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.channel-post__meta a { color: #8fc5ef; font-weight: 500; text-decoration: none; }
.channel-views::before { content: "◉ "; }
.channel-post__comments { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; width: 100%; min-height: 46px; align-items: center; gap: 9px; padding: 8px 14px; border: 0; border-top: 1px solid rgba(255,255,255,.08); background: transparent; color: #6ab3f3; cursor: pointer; text-align: start; }
.channel-post__comments:hover { background: rgba(255,255,255,.035); }
.channel-post__commenters { display: flex; min-width: 0; }
.channel-post__commenters:empty { display: none; }
.channel-post__commenters img { width: 24px; height: 24px; margin-inline-end: -7px; border: 2px solid #202b36; border-radius: 50%; object-fit: cover; }
.channel-post__comments-chevron { color: #6ab3f3; font-size: 26px; font-weight: 300; line-height: 1; }
.channel-empty { margin: 0; padding: 28px; color: #9dadbb; font-size: 13px; text-align: center; }

.sidebar-promo-modal, .media-viewer { position: fixed; z-index: 700; inset: 0; display: grid; place-items: center; padding: 18px; opacity: 0; transition: opacity 180ms ease-out; }
.sidebar-promo-modal[hidden], .media-viewer[hidden] { display: none; }
.sidebar-promo-modal[data-state="open"], .media-viewer[data-state="open"] { opacity: 1; }
.sidebar-promo-modal__scrim, .media-viewer__scrim { position: absolute; inset: 0; border: 0; background: rgba(23,22,17,.48); backdrop-filter: blur(7px); cursor: default; }
.sidebar-promo-modal__card { position: relative; z-index: 1; display: grid; justify-items: center; width: min(340px, 100%); padding: 30px 24px 24px; border: 1px solid var(--line-strong); border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(23,22,17,.22); opacity: 0; translate: 0 8px; scale: .985; text-align: center; transition-property: opacity, translate, scale; transition-duration: 180ms; transition-timing-function: ease-out; }
.sidebar-promo-modal[data-state="open"] .sidebar-promo-modal__card { opacity: 1; translate: 0; scale: 1; }
.sidebar-promo-modal__close, .media-viewer__close { position: absolute; z-index: 3; inset-block-start: 10px; inset-inline-end: 10px; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--faint); cursor: pointer; }
.sidebar-promo-modal__close:hover { background: var(--surface-2); color: var(--ink); }
.sidebar-promo-modal__close svg, .media-viewer__close svg { width: 18px; height: 18px; }
.sidebar-promo-modal__avatar { display: grid; width: 96px; height: 96px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); }
.sidebar-promo-modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-promo-modal h2 { margin: 16px 0 4px; font-size: 23px; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.sidebar-promo-modal__handle { color: var(--focus); font-size: 14px; font-weight: 600; text-decoration: none; }
.sidebar-promo-modal p { max-width: 30ch; margin: 12px 0 0; color: var(--body); font-size: 13px; line-height: 1.5; text-wrap: pretty; }
.sidebar-promo-modal__action { display: inline-flex; width: 100%; min-height: 48px; margin-block-start: 20px; align-items: center; justify-content: center; gap: 10px; border-radius: 13px; background: var(--ink); color: #fff; text-decoration: none; }
.sidebar-promo-modal__action:active { scale: .96; }
.telegram-icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.sidebar-promo-modal__action strong { font-size: 14px; font-weight: 700; }

.media-viewer { padding: 12px; background: rgba(0,0,0,.92); touch-action: none; }
.media-viewer__scrim { background: transparent; backdrop-filter: none; }
.media-viewer__stage { position: relative; z-index: 1; display: grid; width: min(1120px, 100%); height: min(820px, calc(100dvh - 24px)); place-items: center; opacity: 0; scale: .985; transition-property: opacity, scale; transition-duration: 180ms; transition-timing-function: ease-out; }
.media-viewer[data-state="open"] .media-viewer__stage { opacity: 1; scale: 1; }
.media-viewer__content { display: grid; width: 100%; height: 100%; place-items: center; }
.media-viewer__content img, .media-viewer__content video { max-width: 92vw; max-height: 80dvh; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.media-viewer__content [data-type="round_video"] { width: min(72vw, 72dvh, 560px); height: min(72vw, 72dvh, 560px); border-radius: 50%; object-fit: cover; }
.media-viewer__close { position: fixed; inset-block-start: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(24,26,30,.72); box-shadow: 0 12px 30px rgba(0,0,0,.34); backdrop-filter: blur(14px); }
.media-viewer__nav { position: absolute; z-index: 2; inset-block-start: 50%; display: grid; width: 48px; height: 48px; place-items: center; translate: 0 -50%; border: 0; border-radius: 50%; background: rgba(0,0,0,.42); color: #fff; cursor: pointer; }
.media-viewer__nav[hidden], .media-viewer__counter[hidden] { display: none; }
.media-viewer__nav.is-prev { inset-inline-start: 8px; }
.media-viewer__nav.is-next { inset-inline-end: 8px; }
.media-viewer__nav svg { width: 24px; height: 24px; }
.media-viewer__counter { position: absolute; inset-block-end: 12px; inset-inline-start: 50%; translate: -50% 0; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.48); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }

.noscript { position: fixed; inset-inline: 16px; inset-block-end: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(23,22,17,.12); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes spin { to { rotate: 360deg; } }
@media (max-width: 700px) {
  .site-header { min-height: 72px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 16px; }
  .header-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(220px, 54vw); }
  .header-button { min-height: 40px; padding-inline: 8px; font-size: 12.5px; }
  .page-shell { padding-block: 14px 44px; }
  .overview-toolbar { align-items: stretch; flex-direction: column; gap: 14px; }
  .overview-actions { justify-content: space-between; }
  .timeline-axis, .service-list { margin-inline: 0; padding-inline: 16px; }
  .timeline-axis { margin-inline: 0; }
  .axis-marker:nth-of-type(4), .axis-marker:nth-of-type(6) { display: none; }
  .history-bars { gap: 2px; min-height: 28px; }
  .history-bar { min-height: 28px; }
  .service-heading { align-items: center; flex-wrap: wrap; gap: 6px 12px; }
  .service-meta { margin-inline-start: auto; }
  .channel-posts { margin-inline: -8px; padding: 12px 8px; border-radius: 16px; }
  .channel-post { grid-template-columns: 32px minmax(0, 1fr); gap: 7px; }
  .channel-post__avatar-button, .channel-post__avatar { width: 32px; height: 32px; }
  .channel-post__media { height: 240px; }
  .channel-post__media[data-count="1"] { height: auto; min-height: 200px; }
  .channel-post__media[data-kind="round_video"][data-count="1"] { width: min(284px, 72vw); height: min(284px, 72vw); min-height: 0; }
  .floating-tooltip { font-size: 13px; }
  .media-viewer__nav { width: 44px; height: 44px; }
  .history-day { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 430px) {
  .site-header, .page-shell { width: min(calc(100% - 20px), var(--page-width)); }
  .brand { gap: 7px; }
  .brand img { width: 32px; height: 32px; }
  .brand strong { font-size: 13px; letter-spacing: -.04em; }
  .header-actions { width: min(188px, 55vw); gap: 5px; }
  .header-button { font-size: 11.5px; }
  .overview-toolbar, .service-list { padding-inline: 14px; }
  .timeline-axis { margin-inline: 14px; padding-inline: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > div:first-child { align-items: flex-start; flex-direction: column; gap: 2px; }
  .channel-actions { width: 100%; }
  .channel-link { min-height: 42px; flex: 1; padding-inline: 8px; font-size: 12px; }
  .channel-post { grid-template-columns: 32px minmax(0, 1fr); }
  .channel-post__media { height: 200px; }
  .channel-post__media[data-count="1"] { height: auto; min-height: 180px; }
  .channel-post__media[data-kind="round_video"][data-count="1"] { width: min(284px, 72vw); height: min(284px, 72vw); min-height: 0; }
  .channel-post__bubble { border-radius: 14px; }
  .history-heading { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
  .history-day { grid-template-columns: 1fr; gap: 12px; }
  .history-day__incidents { padding-inline-start: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media (forced-colors: active) {
  .history-bar, .state-label::before, .tooltip-status::before { forced-color-adjust: none; }
}
