/* Brand: По пути 124. Light surfaces, native system typography, restrained red. */
:root {
  --bg: #f5f5f7;
  --panel: #fff;
  --panel2: #f0f0f3;
  --line: #e6e6eb;
  --muted: #6b6b73;
  --text: #1d1d1f;
  --accent: #d71920;
  --accent-hover: #bd1017;
  --accent-soft: #fcecee;
  --green: #257747;
  --red: #b4232c;
  --blue: #2361ad;
  --secondary-chart: #65758e;
  --radius: 24px;
  --shadow: 0 3px 16px #1d1d1f04, 0 1px 3px #1d1d1f03;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-synthesis: none;
  color: var(--text);
  background: var(--bg);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; background: none; border: 0; }
button:disabled { cursor: default; opacity: .4; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #2361ad; outline-offset: 4px; }
svg { vertical-align: middle; }
button svg { pointer-events: none; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 34px; letter-spacing: -1.15px; font-weight: 650; }
h2 { font-size: 19px; font-weight: 600; letter-spacing: -.5px; }
h3 { font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
small, .muted { color: var(--muted); }
.boot { padding: 15vh 10vw; font-size: 30px; letter-spacing: -1px; }
.boot b { color: var(--accent); }
.boot p { font-size: 14px; margin-top: 20px; color: var(--muted); letter-spacing: 0; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.65px; font-size: 20px; white-space: nowrap; }
.brand img { width: 43px; height: 43px; object-fit: contain; background: #e00000; border-radius: 12px; flex-shrink: 0; box-shadow: 0 2px 7px #d7192016; }
.brand b { color: var(--accent); }
.brand small { display: block; font-size: 10px; letter-spacing: .05px; font-weight: 400; margin-top: 4px; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 242px minmax(0, 1fr); }
.sidebar { background: #fbfbfccc; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-right: 1px solid var(--line); padding: 30px 18px; position: fixed; inset: 0 auto 0 0; width: 242px; display: flex; flex-direction: column; z-index: 20; }
.nav-label { font-size: 10px; color: var(--muted); letter-spacing: 1px; margin: 46px 14px 15px; font-weight: 500; }
.nav { display: flex; flex-direction: column; gap: 6px; }
.nav button { display: flex; align-items: center; text-align: left; gap: 11px; border-radius: 12px; padding: 13px 12px; color: #515159; font-size: 12.5px; white-space: normal; line-height: 1.45; transition: background .16s, color .16s; }
.nav button:hover { background: #ededf0; color: var(--text); }
.nav button.active { background: var(--accent-soft); color: #b7141c; font-weight: 600; }
.nav button .counter { margin-left: auto; flex-shrink: 0; font-size: 10px; background: #ececf0; border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.nav button.active .counter { background: #f6d6da; color: #a41119; }
.sidebar-bottom { margin-top: auto; }
.side-note { padding: 18px 14px; margin: 24px 0; color: var(--muted); border: 1px solid var(--line); border-radius: 16px; font-size: 11px; line-height: 1.65; background: #fff8; }
.side-note strong { display: block; color: var(--text); font-size: 13px; margin-bottom: 7px; font-weight: 550; }
.owner { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 22px 4px 0; font-size: 13px; }
.owner small { display: block; font-size: 10px; margin-top: 4px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; background: #f8e6e7; color: #a3323b; border: 1px solid #f1dadc; border-radius: 50%; font-size: 12px; font-weight: 600; }
.avatar.big { width: 66px; height: 66px; font-size: 24px; }
.avatar.tone1 { background: #e5efea; color: #416b54; border-color: #dce8e1; }
.avatar.tone2 { background: #ece8f5; color: #685287; border-color: #e3deee; }
.avatar.tone3 { background: #f5eddf; color: #88612e; border-color: #eee4d2; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; }
.icon-button:hover { background: var(--panel2); }
.owner .icon-button { margin-left: auto; }
.main { grid-column: 2; min-width: 0; }
.topbar { height: 76px; border-bottom: 1px solid var(--line); padding: 0 38px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #ffffff80; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.breadcrumbs strong { color: var(--text); font-weight: 500; }
.top-actions { display: flex; align-items: center; gap: 20px; }
.live { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #466650; white-space: nowrap; }
.dot { width: 6px; height: 6px; background: #348a50; border-radius: 50%; box-shadow: 0 0 0 4px #e8f1e9; }
.privacy { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.content { padding: 34px 38px 44px; max-width: 1640px; margin: auto; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.heading p { color: var(--muted); font-size: 13px; margin-top: 9px; line-height: 1.5; }
.actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; font-size: 12px; background: var(--panel); transition: background .16s, border-color .16s; }
.button:hover { border-color: #cfcfd5; background: #f9f9fb; }
.button.primary { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 550; }
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.danger { color: var(--red); border-color: #e9c9cd; }
.button.danger:hover { background: #fff0f1; }
.filterbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.segments { display: flex; background: #e9e9ed; border: 1px solid #e4e4e9; border-radius: 12px; padding: 4px; gap: 3px; }
.segments button { font-size: 12px; padding: 8px 15px; border-radius: 8px; color: var(--muted); }
.segments button.active { background: #fff; color: var(--text); box-shadow: 0 1px 4px #20202616; font-weight: 550; }
.switch { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; cursor: pointer; }
.switch input { accent-color: var(--accent); width: 16px; height: 16px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.metric { background: var(--panel); border: 1px solid #ededf1; border-radius: var(--radius); padding: 23px; position: relative; overflow: hidden; min-height: 157px; box-shadow: var(--shadow); }
.metric.highlight { background: #fff; border-color: #f0ced2; }
.metric.highlight::before { content: ''; position: absolute; top: 23px; left: 0; width: 3px; height: 32px; border-radius: 0 3px 3px 0; background: var(--accent); }
.metric-title { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 6px; }
.metric-title svg { color: #9898a2; }
.metric.highlight .metric-title svg { color: var(--accent); }
.metric strong { display: block; font-size: 42px; font-weight: 600; letter-spacing: -1.7px; line-height: 1.2; margin: 16px 0 9px; font-variant-numeric: tabular-nums; }
.metric.highlight strong { color: var(--accent); }
.metric small { font-size: 11px; line-height: 1.5; display: block; }
.metric .sub-number { font-size: 12px; letter-spacing: 0; font-weight: 400; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(285px, 1fr); gap: 22px; margin-bottom: 24px; }
.panel { background: var(--panel); border: 1px solid #ededf1; border-radius: var(--radius); padding: 26px; min-width: 0; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.panel-head p { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.text-link { font-size: 12px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 11px; color: var(--muted); margin: 10px 0 20px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.legend i.second { background: var(--secondary-chart); }
.chart { width: 100%; height: 215px; display: block; overflow: visible; }
.chart text { fill: var(--muted); font-size: 10px; font-family: inherit; }
.chart .grid { stroke: #e7e7ed; stroke-dasharray: 3 5; }
.chart .line { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-linejoin: round; stroke-linecap: round; }
.chart .line2 { stroke: var(--secondary-chart); stroke-width: 2; fill: none; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 5 4; }
.chart circle { fill: var(--panel); stroke: var(--accent); stroke-width: 2; }
.chart .area-stop { stop-color: var(--accent); }
.chart-note { font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 15px; line-height: 1.6; margin-top: 16px; }
.route { padding: 17px 0; border-bottom: 1px solid var(--line); }
.route:last-child { border: 0; padding-bottom: 0; }
.route:first-of-type { padding-top: 0; }
.route-name { font-size: 12px; display: flex; justify-content: space-between; gap: 14px; line-height: 1.55; }
.route-name b { color: var(--accent); font-weight: 600; }
.progress { height: 5px; background: #f1e6e8; border-radius: 4px; margin: 13px 0 10px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.route small { font-size: 10px; }
.pair-meta { display: flex; justify-content: space-between; gap: 8px; }
.mini-kpis { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-top: 21px; margin-top: 22px; gap: 12px; }
.mini-kpis strong { font-size: 26px; display: block; margin-bottom: 7px; font-weight: 550; letter-spacing: -.7px; }
.mini-kpis small { font-size: 11px; }
.grid-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border: 0; }
.rank-num { width: 21px; font-size: 11px; color: var(--muted); flex: none; font-variant-numeric: tabular-nums; }
.rank-info { flex: 1; min-width: 0; }
.rank-info button { padding: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; text-align: left; font-size: 13px; }
.rank-info button:hover { color: var(--accent); }
.rank-info small { display: block; font-size: 10px; margin-top: 5px; }
.rank-value { font-size: 20px; color: var(--text); font-weight: 550; font-variant-numeric: tabular-nums; }
.rank-value small { font-size: 10px; display: block; color: var(--muted); font-weight: 400; margin-top: 4px; }
.status-line { display: flex; align-items: center; justify-content: space-between; margin: 18px 0; font-size: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; padding: 5px 9px; border-radius: 7px; white-space: nowrap; background: #f0f0f4; color: #62626c; font-weight: 500; }
.tag.blue { background: #eaf1fb; color: #245d9f; }
.tag.red { background: #fcecee; color: #ad2732; }
.tag.green { background: #e9f3ec; color: #32704a; }
.tag.neutral { background: #f0f0f4; color: #62626c; }
.tag.pro { background: #fcecee; color: #b71b26; }
.table-wrap { overflow-x: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: left; }
th { font-size: 10px; color: var(--muted); font-weight: 500; padding: 13px 14px; border-bottom: 1px solid var(--line); background: #fafafb; }
th:first-child { border-radius: 10px 0 0 0; }
th:last-child { border-radius: 0 10px 0 0; }
td { padding: 16px 14px; font-size: 12px; border-bottom: 1px solid #eeeef2; }
tbody tr:hover { background: #fafafb; }
tbody tr:last-child td { border: 0; }
.user-cell { display: flex; align-items: center; gap: 11px; min-width: 170px; }
.user-name { display: block; text-align: left; font-weight: 550; padding: 0; font-size: 12px; }
.user-name:hover { color: var(--accent); }
.user-cell small { display: block; font-size: 10px; margin-top: 5px; }
.td-muted { color: var(--muted); }
.inline-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.search-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.search { background: #f6f6f8; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 10px; padding: 0 14px; min-width: 240px; flex: 1; max-width: 440px; color: var(--muted); }
.search:focus-within { outline: 2px solid #2361ad; outline-offset: 2px; }
.search input { background: none; border: 0; color: var(--text); padding: 12px 0; outline: none; width: 100%; min-width: 0; font-size: 12px; }
.search input:focus-visible { outline: none; }
input::placeholder, textarea::placeholder { color: #74747e; opacity: 1; }
.select { padding: 11px 30px 11px 12px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 12px; font-size: 12px; }
.result-count { margin-left: auto; font-size: 11px; color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin-top: 22px; font-size: 11px; color: var(--muted); }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.7; }
.empty svg { display: block; margin: 0 auto 14px; color: #a0a0aa; }
.empty strong { display: block; color: var(--text); font-size: 15px; font-weight: 550; margin-bottom: 6px; }
.network { width: 100%; height: 310px; display: block; }
.network text { fill: var(--muted); font-family: inherit; font-size: 10px; }
.network .node { cursor: pointer; }
.network .node:hover circle { stroke: var(--accent); stroke-width: 3; }
.network circle { stroke: #ebc2c7; fill: #fff3f4; }
.network .node text { fill: var(--text); }
.network path { fill: none; stroke: #c67880; opacity: .5; }
.network .node:focus-visible { outline: none; }
.network .node:focus-visible circle { stroke: var(--blue); stroke-width: 3; }
.notice { padding: 16px 19px; border: 1px solid #eadfc7; background: #fcf8ee; color: #735b2b; font-size: 12px; line-height: 1.65; border-radius: 16px; margin-bottom: 20px; }
.footer { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; margin-top: 30px; line-height: 1.6; }
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--bg); }
.login-intro { padding: 50px 12%; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; background: radial-gradient(ellipse at 0 100%, #f8dfe2 0, transparent 65%); }
.login-intro .brand { position: absolute; top: 42px; left: 12%; }
.eyebrow { font-size: 11px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 26px; font-weight: 500; }
.login h1 { font-size: clamp(42px, 5vw, 76px); line-height: 1.05; font-weight: 600; max-width: 500px; letter-spacing: -3px; }
.login h1 em { color: var(--accent); font-style: normal; }
.login-intro p { margin-top: 28px; color: var(--muted); line-height: 1.8; max-width: 340px; }
.login-form-area { display: grid; place-items: center; padding: 30px; border-left: 1px solid var(--line); background: #ffffffb3; }
.login form { width: 100%; max-width: 350px; }
.login form h2 { font-size: 26px; margin-bottom: 12px; letter-spacing: -.7px; }
.login form p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 30px; }
.login label { font-size: 12px; display: block; margin-bottom: 10px; }
.login input { display: block; width: 100%; background: var(--panel); border: 1px solid #d6d6de; border-radius: 14px; padding: 16px; color: var(--text); margin-bottom: 18px; }
.login .button { width: 100%; padding: 15px; }
.login-brand { display: none; }
.error { color: var(--red) !important; margin: 15px 0; font-size: 12px; line-height: 1.6; }
.login-hint { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 24px; font-size: 11px; color: var(--muted); line-height: 1.7; }
.mobile-menu, .close-mobile { display: none; }
dialog { color: var(--text); background: var(--panel); border: 1px solid #ffffffaa; border-radius: 26px; padding: 0; width: min(820px, calc(100vw - 28px)); max-height: 90vh; box-shadow: 0 24px 100px #1d1d1f26; }
dialog::backdrop { background: #24242d42; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.detail-header { padding: 26px 30px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; position: sticky; top: 0; background: #ffffffed; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 2; gap: 10px; }
.detail-header > .icon-button { flex-shrink: 0; }
.detail-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.detail-title h2 { font-size: 25px; overflow-wrap: anywhere; }
.detail-title p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.detail-body { padding: 26px 30px; }
.detail-body .metrics { gap: 10px; }
.detail-body .metric { padding: 16px; min-height: 108px; border-radius: 16px; background: #fafafb; box-shadow: none; }
.detail-body .metric strong { font-size: 29px; margin: 9px 0 0; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.detail-section { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.detail-section h3 { margin-bottom: 16px; }
.properties { display: grid; grid-template-columns: 1fr auto; gap: 14px; font-size: 12px; }
.properties dt { color: var(--muted); }
.properties dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.message { background: #f6f6f8; border: 1px solid #eaeaf0; border-radius: 16px; padding: 17px; margin-bottom: 12px; }
.message p { font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 9px; }
.message small { font-size: 10px; }
.timeline { display: flex; gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.timeline .timeline-text { flex: 1; min-width: 0; }
.timeline small { display: block; margin-top: 6px; font-size: 10px; }
.timeline b { font-weight: 500; }
.support-row { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.support-row:last-child { border: 0; }
.support-body { flex: 1; min-width: 0; }
.support-body h3 { margin: 2px 0 9px; }
.support-body p { font-size: 12px; line-height: 1.7; color: var(--muted); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.support-meta { display: flex; gap: 15px; align-items: center; font-size: 10px; color: var(--muted); margin-top: 13px; flex-wrap: wrap; }
#toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 14px 22px; background: #29292eed; color: #fff; border: 1px solid #ffffff20; border-radius: 14px; font-size: 12px; z-index: 100; box-shadow: 0 8px 35px #1d1d1f22; opacity: 0; pointer-events: none; transition: opacity .2s; max-width: calc(100vw - 32px); backdrop-filter: blur(16px); }
#toast.show { opacity: 1; }
.sub-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.sub-tabs button { color: var(--muted); font-size: 12px; padding: 12px 2px; border-bottom: 2px solid transparent; }
.sub-tabs button.active { color: var(--accent); border-color: var(--accent); font-weight: 550; }
.intro-strip { padding: 18px 20px; background: #faf5f6; border: 1px solid #f3e6e9; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; font-size: 12px; line-height: 1.6; }
.intro-strip b { font-weight: 550; }
.intro-strip small { font-size: 11px; display: block; margin-top: 3px; }
.badge-num { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #edcdd2; background: #fff; border-radius: 50%; color: var(--accent); flex: none; }
.user-actions { flex-wrap: wrap; margin: 12px 0 20px; }
.phone-result { font-size: 20px; letter-spacing: .5px; color: var(--accent); margin: 10px 0 20px; }
.action-form > label { display: block; font-size: 12px; margin: 16px 0 10px; }
.action-form textarea { width: 100%; min-height: 150px; resize: vertical; background: #fafafb; border: 1px solid #d9d9e0; border-radius: 16px; padding: 16px; color: var(--text); font: inherit; line-height: 1.65; }
.action-form > .select { width: 100%; margin-bottom: 16px; }
.form-hint { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 12px 0 24px; }
.platform-row { display: grid; grid-template-columns: .9fr .6fr 1fr 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.platform-row b { font-size: 12px; font-weight: 550; }
.platform-row small { display: block; font-size: 9px; color: var(--muted); margin-top: 5px; }
.platform-stats > p { font-size: 10px; color: var(--muted); line-height: 1.6; margin: 15px 0 20px; }
@media (min-width: 1500px) {
  .content { padding: 40px 48px; }
  .chart { height: 235px; }
  .metric { padding: 26px; }
  .metrics { gap: 20px; }
  .metric strong { font-size: 46px; }
}
@media (max-width: 1150px) {
  .shell { grid-template-columns: 218px minmax(0, 1fr); }
  .sidebar { width: 218px; padding: 26px 14px; }
  .nav button { font-size: 12px; gap: 9px; padding: 12px 10px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 38px; height: 38px; }
  .content { padding: 28px 24px; }
  .topbar { padding: 0 24px; }
  .grid-main { grid-template-columns: minmax(0, 1.6fr) minmax(245px, 1fr); }
  .panel { padding: 21px; }
  .metric { padding: 18px; }
  .metric-title { font-size: 11px; }
  .metrics { gap: 12px; }
  .metric strong { font-size: 36px; }
  .privacy { display: none; }
}
@media (max-width: 920px) {
  .grid-main, .grid-bottom { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel.routes-panel .route { padding: 14px 0; }
  .login { grid-template-columns: 1fr; }
  .login-intro { display: none; }
  .login-form-area { border: 0; background: var(--bg); }
  .login-brand { display: block; margin-bottom: 48px; }
  .heading { align-items: flex-start; }
  h1 { font-size: 29px; }
  .heading .actions { flex-direction: column; align-items: flex-end; }
}
@media (max-width: 650px) {
  .shell { display: block; }
  .sidebar { transform: translateX(-100%); visibility: hidden; transition: transform .18s, visibility .18s; width: 242px; box-shadow: 30px 0 100px #20202c30; background: #fbfbfcf7; }
  .sidebar.open { transform: none; visibility: visible; }
  .close-mobile { display: flex; position: absolute; right: 8px; top: 8px; }
  .mobile-menu { display: flex; }
  .topbar { height: 64px; padding: 0 16px; }
  .breadcrumbs { gap: 6px; }
  .breadcrumbs span { display: none; }
  .top-actions { gap: 9px; }
  .live { font-size: 10px; }
  .content { padding: 24px 16px; }
  .heading { gap: 10px; margin-bottom: 23px; }
  .heading p { max-width: 240px; font-size: 12px; }
  .heading .actions .button { padding: 10px; }
  .heading .actions .button span { display: none; }
  .metrics { gap: 11px; margin-bottom: 17px; }
  .metric { padding: 17px; min-height: 142px; border-radius: 20px; }
  .metric-title { font-size: 11px; }
  .metric-title svg { display: none; }
  .metric strong { font-size: 34px; }
  .metric small { font-size: 10px; }
  .segments { width: 100%; justify-content: space-between; }
  .segments button { padding: 8px 10px; }
  .filterbar { gap: 14px; margin-bottom: 20px; }
  .panel { padding: 20px 16px; border-radius: 20px; }
  .grid-main, .grid-bottom { gap: 17px; margin-bottom: 17px; }
  .panel-head { gap: 10px; }
  .panel-head h2 { font-size: 17px; }
  .chart { height: 195px; }
  .footer { display: block; }
  .footer span { display: block; margin: 5px 0; }
  .search { min-width: 180px; max-width: 100%; width: 100%; }
  .search-row .select { flex: 1; }
  .result-count { margin-left: 0; }
  .detail-header, .detail-body { padding: 21px 18px; }
  .detail-title { gap: 11px; }
  .detail-title h2 { font-size: 21px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-body .metrics { grid-template-columns: 1fr 1fr; }
  .detail-body .metric-title { font-size: 10px; }
  .support-row { gap: 10px; flex-wrap: wrap; }
  .support-row > .button { margin-left: 46px; }
  .network { height: 280px; }
  .topbar .privacy { display: none; }
  .tag { font-size: 9px; }
  .chart-note { font-size: 10px; }
  .login-form-area { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
