@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/shared/schibsted-latin.woff2") format("woff2");
  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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/shared/schibsted-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #06131c;
  --bg-2: #081925;
  --panel: #0b1d29;
  --panel-2: #112839;
  --panel-3: #183447;
  --line: #12293a;
  --line-2: #1a3549;
  --line-3: #24465e;
  --text: #eaf4f8;
  --text-2: #bed0db;
  --dim: #93adbd;
  --faint: #5f7d8f;
  --accent: #00cbff;
  --accent-2: #00a6d6;
  --accent-ink: #03141d;
  --accent-soft: rgba(0, 203, 255, .14);
  --good: #35e07a;
  --warn: #ffc24b;
  --bad: #ff5d62;
  --info: #7aa2ff;
  --violet: #b48cff;
  --good-soft: rgba(53, 224, 122, .13);
  --warn-soft: rgba(255, 194, 75, .13);
  --bad-soft: rgba(255, 93, 98, .14);
  --info-soft: rgba(122, 162, 255, .14);
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: var(--sans);
  --code: "Cascadia Mono", "JetBrains Mono", "SF Mono", ui-monospace, Consolas, monospace;
  --r: 8px;
  --rc: 4px;
  --rail-w: 232px;
  --shadow: 0 18px 48px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .3);
  --row-h: 40px;
  color-scheme: dark;
}
:root[data-density="compact"] { --row-h: 32px; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
img, svg, canvas, video { display: revert; max-width: revert; }
h1, h2, h3, h4 { margin: revert; font-weight: revert; line-height: revert; }
p { margin: revert; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.5 var(--sans); letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased; overflow: hidden;
}
h1, h2, h3, h4 { letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: rgba(0, 203, 255, .32); color: var(--text); }
.mono { font-family: var(--mono); }
.code, kbd, pre, code { font-family: var(--code); }
.dim { color: var(--dim); }
.muted { color: var(--text-2); }
.good { color: var(--good); } .bad { color: var(--bad); } .warn { color: var(--warn); } .info { color: var(--info); }
.nowrap { white-space: nowrap; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.right { text-align: right; }
.grow { flex: 1; }
.label { font: 600 12.5px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--dim); }
.count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 20px; padding: 0 7px;
  border-radius: 10px; background: var(--panel-3); color: var(--text-2); font: 650 12px/1 var(--sans); flex: none;
}
.count.bad { background: var(--bad-soft); color: #ff9da0; }
.count.good { background: var(--accent-soft); color: var(--accent); }
.count.warn { background: var(--warn-soft); color: var(--warn); }
.scroll { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.scroll::-webkit-scrollbar, .dt-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.scroll::-webkit-scrollbar-thumb, .dt-wrap::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
.ico { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: middle; }

.input, .select, .textarea {
  width: 100%; height: 36px; padding: 0 12px; border-radius: var(--rc); border: 0;
  background: var(--panel-2); outline: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s, background-color .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { background: var(--panel-3); }
.textarea { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.select { padding-right: 30px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='none' stroke='%2393adbd' stroke-width='1.8'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.select option { background: var(--panel-2); }
.input:focus, .select:focus, .textarea:focus { background: var(--panel-2); box-shadow: inset 0 0 0 2px var(--accent); }
.input:disabled, .select:disabled, .textarea:disabled { opacity: .5; cursor: not-allowed; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field > span:first-child { font: 600 13px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text-2); }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); user-select: none; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px;
  border-radius: var(--rc); border: 0; background: var(--panel-2); color: var(--text); font-weight: 600;
  white-space: nowrap; transition: background-color .12s, color .12s, transform .1s; text-decoration: none !important;
}
.btn:hover { background: var(--panel-3); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:focus-visible, .tool:focus-visible, .chip:focus-visible, .rail a:focus-visible, .tab:focus-visible, .seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn.primary:hover:not(:disabled) { background: #4fdcff; }
.btn.danger { color: #ff9da0; background: var(--bad-soft); }
.btn.danger:hover:not(:disabled) { background: rgba(255, 93, 98, .24); }
.btn.danger.solid { background: var(--bad); color: #fff; font-weight: 700; }
.btn.danger.solid:hover:not(:disabled) { background: #ff7579; }
.btn.ghost { background: transparent; color: var(--text-2); }
.btn.ghost:hover:not(:disabled) { background: var(--panel-2); color: var(--text); }
.btn.sm { height: 30px; padding: 0 11px; font-size: 13px; }
.btn.xs { height: 24px; padding: 0 8px; font-size: 12.5px; gap: 5px; }
.btn.icon { width: 34px; padding: 0; }
.btn.sm.icon { width: 30px; }
.btn.block { width: 100%; height: 42px; font-size: 15px; }
.btn .ico { width: 15px; height: 15px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 6px; background: var(--bg-2); flex-wrap: wrap; }
.card .seg, .modal .seg, .drawer .seg { background: var(--bg-2); }
.seg button {
  height: 28px; padding: 0 11px; border: 0; border-radius: var(--rc); background: transparent; color: var(--text-2); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.seg button:hover { color: var(--text); background: var(--panel-2); }
.seg button.on { background: var(--panel-3); color: var(--text); }
.seg.accent button.on { background: var(--accent); color: var(--accent-ink); }
.tool {
  height: 30px; padding: 0 11px; border: 0; border-radius: var(--rc); background: transparent; color: var(--text-2);
  font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; display: inline-flex; align-items: center; gap: 7px;
}
.tool:hover { color: var(--text); background: var(--panel-2); }
.tool.on { background: var(--accent); color: var(--accent-ink); }
.tool kbd { font-size: 11px; opacity: .6; background: transparent; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; border-radius: var(--rc);
  border: 0; background: var(--panel-2); color: var(--text-2); font-size: 13px; font-weight: 500; user-select: none;
}
.chip:hover { background: var(--panel-3); color: var(--text); }
.chip .box { width: 14px; height: 14px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--faint); display: grid; place-items: center; flex: none; }
.chip.on { color: var(--text); }
.chip.on .box { background: var(--accent); box-shadow: none; }
.chip.on .box::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.chip[disabled] { opacity: .45; cursor: not-allowed; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 4px 4px 10px; border-radius: var(--rc);
  border: 0; background: var(--panel-2); font: 500 13px var(--sans);
}
.tag.neg { background: var(--bad-soft); color: #ffb3b5; }
.tag.temp { background: var(--warn-soft); color: #ffe09a; }
.tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag button { border: 0; background: transparent; color: var(--dim); width: 20px; height: 20px; border-radius: 3px; display: grid; place-items: center; padding: 0; }
.tag button:hover { background: var(--panel-3); color: var(--bad); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--rc);
  font: 600 12px/1 var(--sans); letter-spacing: 0; text-transform: none; border: 0; white-space: nowrap; vertical-align: middle; flex: none;
}
.pill.good { color: #8ff0b6; background: var(--good-soft); }
.pill.bad { color: #ffb3b5; background: var(--bad-soft); }
.pill.warn { color: #ffe09a; background: var(--warn-soft); }
.pill.info { color: #b9ccff; background: var(--info-soft); }
.pill.vio { color: #d9c6ff; background: rgba(180, 140, 255, .14); }
.pill.mute { color: var(--text-2); background: var(--panel-3); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; background: var(--faint); }
.dot.up { background: var(--good); }
.dot.lag { background: var(--warn); }
.dot.down { background: var(--bad); }
.star { color: var(--warn); }
.who { color: var(--text); font-weight: 600; cursor: pointer; }
.who:hover { color: var(--accent); text-decoration: none; }
.who.watched::after { content: " \2605"; color: var(--warn); font-size: 11px; }
kbd { font-size: 11.5px; padding: 2px 6px; border-radius: var(--rc); border: 0; background: var(--panel-3); color: var(--text); white-space: nowrap; }

#gate {
  position: fixed; inset: 0; display: grid; place-items: center; z-index: 60; padding: 16px; background: var(--bg); overflow: auto;
}
#gate .grid-bg { display: none; }
.gate-card {
  position: relative; width: min(420px, 100%); padding: 32px 32px 26px; border-radius: 10px;
  background: var(--panel);
}
.gate-logo { display: block; width: 132px; height: auto; margin-bottom: 22px; }
.gate-card h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.gate-card p { margin: 0 0 22px; color: var(--text-2); }
.gate-err { min-height: 20px; margin-top: 12px; color: var(--bad); font-size: 13px; }
.gate-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--line); font-size: 13px; color: var(--dim); }
.gate-foot a { color: var(--text-2); }

#app {
  display: grid; height: 100vh; width: 100vw;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  grid-template-rows: 60px minmax(0, 1fr);
  grid-template-areas: "top top" "rail main";
}
body.rail-mini { --rail-w: 68px; }
header.top {
  grid-area: top; display: flex; align-items: center; gap: 12px; padding: 0 16px 0 18px; min-width: 0;
  background: var(--bg); position: relative; z-index: 15;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 198px; text-decoration: none !important; color: inherit; }
.brand img { width: 52px; height: auto; flex: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .sup { font: 500 12px/1 var(--sans); letter-spacing: 0; color: var(--dim); text-transform: none; }
.brand .name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; margin-top: 2px; color: var(--text); line-height: 1.1; }
body.rail-mini .brand { min-width: 44px; }
body.rail-mini .brand > div { display: none; }
.search-btn {
  display: flex; align-items: center; gap: 10px; height: 38px; width: min(460px, 34vw); padding: 0 10px 0 13px;
  border-radius: 6px; border: 0; background: var(--panel); color: var(--dim); text-align: left; transition: background-color .15s, color .15s;
}
.search-btn:hover { background: var(--panel-2); color: var(--text-2); }
.search-btn span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.search-btn { min-width: 0; flex-shrink: 1; }
.stat { display: flex; align-items: baseline; gap: 6px; height: 30px; padding: 0 6px; white-space: nowrap; }
.stat b { font: 700 15px var(--sans); }
.stat span { color: var(--dim); font-size: 13px; }
.spacer { flex: 1; }
.live {
  display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border-radius: 14px;
  background: var(--good-soft); font: 650 13px/1 var(--sans); letter-spacing: 0; color: #8ff0b6; white-space: nowrap;
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); animation: livepulse 2s ease-in-out infinite; }
.live.stale { color: #ffe09a; background: var(--warn-soft); }
.live.stale i { background: var(--warn); }
.live.down { color: #ffb3b5; background: var(--bad-soft); }
.live.down i { background: var(--bad); }
.live.down i, .live.stale i { animation: none; }
@keyframes livepulse { 50% { opacity: .35; } }
#liveAge { font: 13px var(--sans) !important; min-width: 64px; }
.me {
  display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 8px 0 4px; border-radius: 6px; border: 0; background: transparent;
}
.me:hover { background: var(--panel); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font: 700 11.5px var(--sans); color: #03141d; overflow: hidden;
}
.avatar.lg { width: 46px; height: 46px; font-size: 16px; }
.menu {
  position: absolute; min-width: 240px; padding: 6px; z-index: 40;
  background: var(--panel-2); border: 0; border-radius: var(--r); box-shadow: var(--shadow);
}
.menu button, .menu a {
  display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: var(--rc);
  background: transparent; text-align: left; color: var(--text); text-decoration: none !important; font-size: 14px;
}
.menu button .ico, .menu a .ico { color: var(--dim); }
.menu button:hover, .menu a:hover, .menu button.on { background: var(--panel-3); }
.menu .sep { height: 1px; background: var(--line-2); margin: 6px 4px; }
.menu .meta { margin-left: auto; font-size: 12px; color: var(--dim); }
.menu .hd { padding: 8px 10px 6px; }

nav.rail {
  grid-area: rail; background: var(--bg); display: flex; flex-direction: column; min-height: 0;
}
.rail-scroll { flex: 1; min-height: 0; padding: 4px 12px 16px; }
.rail .grp { margin: 16px 10px 5px; }
.rail .grp:first-child { margin-top: 8px; }
.rail a {
  position: relative; display: flex; align-items: center; gap: 11px; height: 34px; padding: 0 10px; margin: 1px 0; border-radius: 6px;
  color: var(--text-2); text-decoration: none !important; font-weight: 500; white-space: nowrap; transition: background-color .12s, color .12s;
}
.rail a .ico { width: 17px; height: 17px; color: var(--faint); transition: color .12s; }
.rail a:hover { background: var(--panel); color: var(--text); }
.rail a:hover .ico { color: var(--dim); }
.rail a.on { background: var(--panel-2); color: var(--text); font-weight: 650; }
.rail a.on .ico { color: var(--accent); }
.rail a .count { margin-left: auto; }
.rail-foot { padding: 10px 12px 12px; display: flex; gap: 6px; align-items: center; }
.rail-home { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: var(--rc); color: var(--dim); font-size: 13px; font-weight: 600; text-decoration: none !important; margin-left: auto; white-space: nowrap; }
.rail-home:hover { background: var(--panel); color: var(--text); }
.rail-home .ico { width: 14px; height: 14px; }
body.rail-mini .rail .grp, body.rail-mini .rail a span.t, body.rail-mini .rail-home span { display: none; }
body.rail-mini .rail a { justify-content: center; padding: 0; }
body.rail-mini .rail a .count { position: absolute; top: 1px; right: 1px; min-width: 18px; height: 17px; font-size: 11px; padding: 0 4px; }
body.rail-mini .rail-foot { flex-direction: column; justify-content: center; }
body.rail-mini .rail-home { margin: 0; }

main#main { grid-area: main; position: relative; min-width: 0; min-height: 0; background: var(--bg); }
.mod { position: absolute; inset: 0; display: none; }
.mod.on { display: block; }
.mod.page { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.mod.page > .wrap { padding: 20px 24px 48px; max-width: 1680px; }
.mod.full { display: none; }
.mod.full.on { display: flex; flex-direction: column; }
.ph { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.ph h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.ph .sub { color: var(--dim); margin-top: 6px; max-width: 760px; }
.ph .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.loading-mod { display: grid; place-items: center; height: 60vh; color: var(--dim); }

.grid { display: grid; gap: 16px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-main { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.span-2 { grid-column: span 2; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.nowrap { flex-wrap: nowrap; }
.row > .input, .row > .select { flex: 1 1 180px; width: auto; min-width: 0; }
.stack { display: grid; gap: 16px; align-content: start; }
.card { background: var(--panel); border: 0; border-radius: var(--r); min-width: 0; }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 0; min-height: 48px; flex-wrap: wrap; }
.card-h > .ico { color: var(--faint); }
.card-h h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.card-h .sub { color: var(--dim); font-size: 13px; }
.card-h .acts { margin-left: auto; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.card-b { padding: 12px 18px 18px; }
.card-b.flush { padding: 10px 0 0; }
.card .note { color: var(--dim); font-size: 13px; margin: 0 0 12px; line-height: 1.55; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 16px; }
.kpi { background: var(--panel); border: 0; border-radius: var(--r); padding: 15px 18px 16px; min-width: 0; position: relative; overflow: hidden; transition: background-color .12s; }
.kpi .k { font: 500 13px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--dim); display: flex; align-items: center; gap: 7px; }
.kpi .k .ico { width: 15px; height: 15px; color: var(--faint); }
.kpi .v { font: 700 28px/1.15 var(--sans); margin-top: 10px; letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi .v small { font-size: 14px; color: var(--dim); font-weight: 500; letter-spacing: 0; }
.kpi .s { color: var(--dim); font-size: 13px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.click { cursor: pointer; }
.kpi.click:hover { background: var(--panel-2); }
.kpi .spark { display: none; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 0; border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.kv.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kv.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kv > div { background: var(--panel-2); padding: 11px 13px; min-width: 0; }
.kv .k { font: 500 12.5px/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--dim); }
.kv .v { font: 650 15px/1.25 var(--sans); margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv .v small { font-size: 12px; color: var(--dim); font-weight: 500; }
.lines { display: grid; border: 0; border-radius: var(--r); overflow: hidden; background: var(--panel-2); }
.line { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--panel-2); min-height: 38px; }
.line + .line { box-shadow: inset 0 1px 0 var(--line-2); }
.line .k { color: var(--dim); font-size: 13px; min-width: 96px; }
.line .v { font-size: 13.5px; margin-left: auto; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line.click { cursor: pointer; }
.line.click:hover { background: var(--panel-3); }
.bar { height: 6px; border-radius: 3px; background: var(--panel-3); overflow: hidden; flex: 1; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.meter { display: flex; align-items: center; gap: 10px; width: 100%; }
.meter .v { min-width: 64px; }
.empty { padding: 28px 16px; color: var(--dim); text-align: center; font-size: 13.5px; }
.empty > svg { width: 28px; height: 28px; color: var(--faint); display: block; margin: 0 auto 10px; }
.skel { height: 14px; border-radius: 3px; background: var(--panel-2); animation: sk 1.4s ease-in-out infinite; margin: 8px 0; }
@keyframes sk { 50% { opacity: .5; } }
.help { color: var(--dim); font-size: 13px; line-height: 1.6; }
.divider { height: 1px; background: var(--line-2); margin: 14px 0; }
.banner {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--r); margin-bottom: 14px;
  border: 0; background: var(--panel-2); color: var(--text-2); font-size: 13.5px;
}
.banner .ico { flex: none; }
.banner.warn { background: var(--warn-soft); color: #ffe09a; }
.banner.bad { background: var(--bad-soft); color: #ffc0c2; }
.banner.info { background: var(--info-soft); color: #c3d3ff; }

.dt-wrap { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--line-3) transparent; }
.dt-wrap.tall { max-height: 62vh; }
table.dt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; }
.dt th {
  position: sticky; top: 0; z-index: 1; background: var(--panel); text-align: left; padding: 0 12px; height: 38px;
  font: 500 12.5px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--dim);
  border-bottom: 1px solid var(--line-2); white-space: nowrap; user-select: none;
}
.dt th:first-child, .dt td:first-child { padding-left: 18px; }
.dt th:last-child, .dt td:last-child { padding-right: 18px; }
.dt th.sort { cursor: pointer; }
.dt th.sort:hover { color: var(--text); }
.dt th.asc, .dt th.desc { color: var(--text); }
.dt th.asc::after { content: " \2191"; color: var(--accent); }
.dt th.desc::after { content: " \2193"; color: var(--accent); }
.dt th.r, .dt td.r { text-align: right; }
.dt td { padding: 0 12px; height: var(--row-h); border-bottom: 1px solid var(--line); white-space: nowrap; max-width: 420px; overflow: hidden; text-overflow: ellipsis; }
.dt td.wrap { white-space: normal; line-height: 1.45; padding-top: 8px; padding-bottom: 8px; }
.dt td.mono, .dt td .mono { font-size: 13.5px; }
.dt tbody tr:last-child td { border-bottom: 0; }
.dt tbody tr.click { cursor: pointer; }
.dt tbody tr:hover td { background: rgba(17, 40, 57, .55); }
.dt tbody tr.cur td { background: var(--panel-2); }
.dt tbody tr.sel td { background: rgba(0, 203, 255, .07); }
.dt td.chk, .dt th.chk { width: 40px; padding-right: 0; }
.dt input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; margin: 0; vertical-align: middle; }
.dt .more td { text-align: center; color: var(--dim); }
.dt-foot { display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; flex-wrap: wrap; }
.dt-foot .grow { flex: 1; }
.card .dt th { background: var(--panel); }
.drawer .dt th { background: var(--bg); }

.feed { font-size: 13.5px; }
.feed .fl { display: flex; gap: 12px; padding: 7px 18px; border-bottom: 1px solid var(--line); align-items: baseline; }
.feed .fl:hover { background: rgba(17, 40, 57, .5); }
.feed .fl .t { flex: 0 0 92px; color: var(--dim); font: 13px var(--sans); }
.feed .fl .b { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.feed .fl .x { flex: none; display: flex; gap: 4px; opacity: 0; transition: opacity .12s; }
.feed .fl:hover .x { opacity: 1; }
.feed .fl.sev-bad { box-shadow: inset 3px 0 0 var(--bad); }
.feed .fl.sev-warn { box-shadow: inset 3px 0 0 var(--warn); }
.feed .day { padding: 14px 18px 6px; font: 650 13px var(--sans); letter-spacing: 0; text-transform: none; color: var(--text-2); }

.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-2); padding: 0 6px; overflow-x: auto; scrollbar-width: none; }
.tab {
  position: relative; height: 42px; padding: 0 12px; border: 0; background: transparent; color: var(--dim); font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; transition: color .12s;
}
.tab:hover { color: var(--text); }
.tab.on { color: var(--text); }
.tab.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--accent); }

.scrim { position: fixed; inset: 0; background: rgba(3, 10, 15, .62); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .18s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(900px, 100vw); z-index: 31; background: var(--bg);
  border-left: 0; box-shadow: var(--shadow); transform: translateX(102%); transition: transform .22s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column;
}
.drawer.on { transform: none; }
.drawer .card { background: var(--panel); }
.drawer-h { display: flex; align-items: center; gap: 14px; padding: 18px 20px 14px; min-height: 80px; background: var(--panel); }
.drawer-h .tt { min-width: 0; flex: 1; }
.drawer-h .tt h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.025em; display: flex; align-items: center; gap: 10px; }
.drawer-h .tt .s { font: 13px var(--sans); color: var(--dim); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-acts { display: flex; gap: 6px; padding: 0 20px 14px; background: var(--panel); flex-wrap: wrap; }
.drawer .tabs { background: var(--panel); }
.drawer-b { flex: 1; min-height: 0; padding: 18px 20px 32px; }

.modal-bg { position: fixed; inset: 0; z-index: 50; background: rgba(3, 10, 15, .7); display: grid; place-items: center; padding: 16px; animation: fin .12s ease-out; }
@keyframes fin { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: min(520px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--panel); border: 0;
  border-radius: 10px; box-shadow: var(--shadow); animation: min .16s cubic-bezier(.2, .8, .2, 1);
}
.modal.wide { width: min(860px, 100%); }
@keyframes min { from { transform: translateY(8px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-h { display: flex; align-items: center; gap: 10px; padding: 20px 22px 8px; }
.modal-h h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; flex: 1; }
.modal-b { padding: 8px 22px 4px; overflow: auto; min-height: 0; }
.modal-b p { margin: 0 0 12px; color: var(--text-2); line-height: 1.55; }
.modal-f { display: flex; gap: 8px; justify-content: flex-end; padding: 16px 22px 20px; flex-wrap: wrap; }
.quote { padding: 11px 13px; border-radius: 6px; background: var(--bg-2); border: 0; font: 13px/1.55 var(--code); color: var(--text); overflow-wrap: anywhere; margin-bottom: 12px; }

.pal { width: min(660px, 100%); align-self: start; margin-top: 12vh; }
.pal .pal-in { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--line-2); }
.pal .pal-in .ico { color: var(--dim); width: 18px; height: 18px; }
.pal .pal-in input { flex: 1; height: 58px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.pal .pal-in input::placeholder { color: var(--faint); }
.pal .pal-list { max-height: 52vh; overflow: auto; padding: 6px; }
.pal .pi { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; cursor: pointer; }
.pal .pi .ico { color: var(--faint); }
.pal .pi .s { margin-left: auto; color: var(--dim); font-size: 13px; white-space: nowrap; }
.pal .pi.on { background: var(--panel-2); }
.pal .pi.on .ico { color: var(--accent); }
.pal .ph2 { padding: 12px 12px 4px; }
.pal .pal-f { display: flex; gap: 16px; padding: 11px 18px; border-top: 1px solid var(--line-2); color: var(--dim); font-size: 12.5px; }

.toasts { position: fixed; right: 20px; bottom: 20px; display: grid; gap: 8px; justify-items: end; pointer-events: none; z-index: 70; }
.toast {
  display: flex; align-items: center; gap: 10px; max-width: 440px; padding: 11px 14px; border-radius: var(--r); background: var(--panel-3); border: 0; color: var(--text);
  box-shadow: var(--shadow); font-size: 13.5px; animation: tin .18s ease-out; pointer-events: auto;
}
.toast .ico { width: 16px; height: 16px; }
.toast.ok .ico { color: var(--good); }
.toast.info .ico { color: var(--accent); }
.toast.err { background: #3d1a20; }
.toast.err .ico { color: var(--bad); }
@keyframes tin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.inv { display: grid; grid-template-columns: repeat(9, 44px); gap: 4px; }
.inv.small { grid-template-columns: repeat(5, 44px); }
.slot {
  position: relative; width: 44px; height: 44px; border-radius: var(--rc); background: var(--panel-2); border: 0;
  display: grid; place-items: center; font: 600 10px/1.05 var(--sans); color: var(--text-2); text-align: center; overflow: hidden; padding: 2px;
}
.slot.empty { background: var(--bg-2); }
.slot img { width: 32px; height: 32px; image-rendering: pixelated; }
.slot .amt { position: absolute; right: 3px; bottom: 1px; font: 700 12px var(--sans); color: #fff; text-shadow: 0 1px 0 #000, 1px 0 0 #000; }
.slot.ench { box-shadow: inset 0 0 0 1.5px rgba(180, 140, 255, .75); }
.slot.named { box-shadow: inset 0 0 0 1.5px rgba(255, 194, 75, .6); }
.slot.ench.named { box-shadow: inset 0 0 0 1.5px rgba(180, 140, 255, .75), inset 0 0 0 3px rgba(255, 194, 75, .45); }
.slot.hot { box-shadow: inset 0 -2px 0 var(--line-3); }
.slot.box { cursor: pointer; }
.slot.box:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.slot .cm { position: absolute; left: 3px; top: 2px; font-size: 10px; color: var(--accent); }
.slot:hover { background: var(--panel-3); }

.chart { position: relative; }
.chart svg { display: block; width: 100%; }
.chart .tipc { position: absolute; pointer-events: none; padding: 7px 10px; border-radius: 6px; background: var(--panel-3); border: 0; box-shadow: var(--shadow); font-size: 13px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; }

.con-in input, .con-in .mono, #conCmd { font-family: var(--code); }

@media (max-width: 1380px) {
  .stat.opt { display: none; }
  .cols-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { display: none; }
  .search-btn { width: 240px; }
}
@media (max-width: 860px) {
  body { --rail-w: 68px; }
  .rail .grp, .rail a span.t, .rail-home span { display: none; }
  .rail a { justify-content: center; padding: 0; }
  .rail a .count { position: absolute; top: 1px; right: 1px; min-width: 18px; height: 17px; font-size: 11px; padding: 0 4px; }
  .rail-foot { flex-direction: column; justify-content: center; }
  .rail-home { margin: 0; }
  .brand > div { display: none; }
  .brand { min-width: 44px; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
  .span-2 { grid-column: auto; }
  .mod.page > .wrap { padding: 16px 16px 32px; }
  .search-btn { width: auto; flex: 1; }
  .search-btn kbd, .me .nm, #liveAge { display: none; }
  .kv.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { --rail-w: 0px; }
  #app { grid-template-rows: 56px minmax(0, 1fr); }
  nav.rail { position: fixed; left: 0; top: 56px; bottom: 0; width: 240px; z-index: 25; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); background: var(--bg-2); }
  body.rail-open nav.rail { transform: none; }
  body.rail-open nav.rail .grp, body.rail-open nav.rail a span.t, body.rail-open .rail-home span { display: revert; }
  body.rail-open nav.rail a { justify-content: flex-start; padding: 0 10px; }
  body.rail-open .rail-foot { flex-direction: row; }
  body.rail-open .rail-home { margin-left: auto; }
  #railBtn { display: inline-flex !important; }
  #helpBtn { display: none; }
  header.top { gap: 8px; padding: 0 10px; }
  .brand img { width: 44px; }
  .me { padding: 0 2px; }
  .me > .ico { display: none; }
  .live { padding: 0 9px; }
  .live span { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 13px 14px 14px; }
  .kpi .v { font-size: 24px; }
  .ph h1 { font-size: 23px; }
  .ph .acts { margin-left: 0; }
  .gate-card { padding: 26px 22px 22px; }
}
#railBtn { display: none; }

.sx { position: relative; display: grid; flex: 1; min-height: 0; grid-template-columns: 280px minmax(0, 1fr) 344px; grid-template-rows: minmax(0, 1fr); }
.sx-left { background: var(--panel); display: flex; flex-direction: column; min-height: 0; }
.sx-right { background: var(--panel); display: flex; flex-direction: column; min-height: 0; }
.sx-stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--bg); }
.sx .sec { padding: 16px 12px 10px; box-shadow: inset 0 -1px 0 var(--line); }
.sx .sec:last-child { box-shadow: none; }
.sx .sec-h { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 10px; gap: 8px; }
.sx .list { display: grid; gap: 2px; }
.sx .row2 {
  position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; text-align: left;
  border: 0; border-radius: 6px; background: transparent; min-height: 46px; transition: background-color .12s;
}
.sx .row2:hover { background: var(--panel-2); }
.sx .row2.on { background: var(--panel-3); }
.sx .row2 .sw { width: 6px; height: 26px; border-radius: 3px; flex: none; }
.sx .row2 .dot { margin: 0 2px 0 3px; }
.sx .row2 .main { min-width: 0; flex: 1; }
.sx .row2 .t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx .row2 .s { font: 12.5px/1.35 var(--sans); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx .row2 .n { font: 650 13px var(--sans); color: var(--text-2); }
.sx .row2 .n.zero { color: var(--faint); }
.sx .search { position: relative; margin: 0 2px 8px; }
.sx .search .input { height: 34px; padding-left: 32px; font-size: 13.5px; }
.sx .search .ico { position: absolute; left: 11px; top: 10px; width: 14px; height: 14px; color: var(--dim); }
.sx .empty { padding: 10px 8px 14px; text-align: left; }
.sx .collapse { border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 8px; }
.sx .collapse .ico { width: 12px; height: 12px; color: var(--dim); transition: transform .15s; }
.sx .collapsed .collapse .ico { transform: rotate(-90deg); }
.sx .collapsed .list, .sx .collapsed .search, .sx .collapsed .empty { display: none; }
.sx-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg); box-shadow: inset 0 -1px 0 var(--line); flex-wrap: wrap; }
.sx-picker { position: relative; }
.sx-picker-btn {
  display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 11px; border-radius: 6px; border: 0; background: var(--panel); text-align: left;
}
.sx-picker-btn:hover { background: var(--panel-2); }
.sx-picker-btn .t { font-weight: 650; text-transform: capitalize; }
.sx-picker-btn .s { font: 12px var(--sans); color: var(--dim); }
.sx-mapwrap { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.sx-mapwrap canvas.map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.sx-mapwrap.pan canvas.map { cursor: grabbing; }
.sx-mapwrap.t-inspect canvas.map, .sx-mapwrap.t-measure canvas.map { cursor: crosshair; }
.sx-tl { position: absolute; left: 52px; top: 34px; display: flex; gap: 8px; pointer-events: none; flex-wrap: wrap; right: 70px; }
.sx-tl .banner { pointer-events: auto; margin: 0; padding: 7px 11px; background: rgba(11, 29, 41, .96); font-size: 13px; }
.sx-zoom { position: absolute; right: 14px; top: 34px; display: grid; border-radius: 6px; overflow: hidden; border: 0; background: rgba(11, 29, 41, .96); box-shadow: var(--shadow); }
.sx-zoom button { width: 36px; height: 34px; border: 0; background: transparent; color: var(--text-2); display: grid; place-items: center; }
.sx-zoom button + button { box-shadow: inset 0 1px 0 var(--line-2); }
.sx-zoom button:hover { background: var(--panel-3); color: var(--text); }
.sx-mini { position: absolute; right: 14px; bottom: 14px; width: 168px; height: 168px; border-radius: var(--r); border: 0; background: rgba(6, 19, 28, .94); box-shadow: var(--shadow); cursor: pointer; }
.sx-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 170px; max-width: 280px; padding: 10px 12px; border-radius: var(--r); background: rgba(17, 40, 57, .98); border: 0; box-shadow: var(--shadow); font-size: 13px; }
.sx-tip .tt { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.sx-tip .ts { color: var(--dim); font: 12.5px/1.5 var(--sans); }
.sx-status { display: flex; align-items: center; gap: 18px; height: 34px; padding: 0 14px; background: var(--panel); font: 13px var(--sans); color: var(--text-2); white-space: nowrap; overflow: hidden; }
.sx-status .k { color: var(--dim); letter-spacing: 0; margin-right: 6px; font-size: 12.5px; }
.sx-status .v { color: var(--text); }
.sx-insp-h { display: flex; align-items: center; gap: 8px; padding: 16px 16px 12px; box-shadow: inset 0 -1px 0 var(--line); min-height: 54px; }
.sx-insp-h .x { margin-left: auto; }
.sx-insp { flex: 1; min-height: 0; padding: 16px 16px 24px; }
.sx .ititle { font-size: 18px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; min-width: 0; }
.sx .ititle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx .isub { font: 13px var(--sans); color: var(--dim); margin: 3px 0 14px; }
.sx .pills { margin: -4px 0 14px; }
.sx .block-h { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 8px; }
.sx .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sx .help-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 34px 12px 18px; color: var(--text-2); }
.sx .help-empty svg { width: 32px; height: 32px; color: var(--faint); }
.sx .nb { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 36px); gap: 4px; margin-bottom: 14px; }
.sx .nb button, .sx .nb div { border-radius: var(--rc); border: 0; background: var(--panel-2); font: 12.5px var(--sans); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; }
.sx .nb button:hover { background: var(--panel-3); color: var(--text); }
.sx .nb .me { display: grid; place-items: center; color: var(--accent-ink); background: var(--accent); font-weight: 700; height: auto; }
.sx .nb .void { display: grid; place-items: center; color: var(--faint); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.sx .strip { display: grid; grid-template-columns: 34px 1fr; gap: 10px; }
.sx .strip .col { border-radius: var(--rc); overflow: hidden; display: flex; flex-direction: column; min-height: 240px; }
.sx .strip .col i { display: block; min-height: 2px; }
.sx .seglist { display: grid; gap: 2px; font: 13px var(--sans); }
.sx .seglist div { display: flex; gap: 8px; align-items: center; padding: 4px 6px; border-radius: var(--rc); }
.sx .seglist div:hover { background: var(--panel-2); }
.sx .seglist .sq { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.sx .seglist .y { color: var(--dim); margin-left: auto; }
.sx .legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.sx .legend span { display: inline-flex; align-items: center; gap: 6px; }
.sx .legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.sx-drawer-btn { display: none; }
.sx-layers-wrap { position: relative; }
#sx-layers { display: flex; gap: 6px; flex-wrap: wrap; }
.sx-layers-btn { display: none; }
@media (max-width: 1799px) {
  .sx-layers-btn { display: inline-flex; }
  .sx-toolbar .layers-label { display: none; }
  #sx-layers { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 8; flex-direction: column; align-items: stretch; padding: 6px; background: var(--panel-2); border: 0; border-radius: var(--r); box-shadow: var(--shadow); min-width: 200px; }
  .sx-layers-wrap.open #sx-layers { display: flex; }
  #sx-layers .chip { background: transparent; justify-content: flex-start; }
  #sx-layers .chip:hover { background: var(--panel-3); }
}
@media (max-width: 1500px) { .sx { grid-template-columns: 256px minmax(0, 1fr) 316px; } .sx-toolbar .hint { display: none; } }
@media (max-width: 1240px) {
  .sx { grid-template-columns: 244px minmax(0, 1fr); }
  .sx-right { position: absolute; right: 0; top: 0; bottom: 0; width: min(344px, 92%); z-index: 6; box-shadow: var(--shadow); transform: translateX(105%); transition: transform .2s; }
  .sx.insp-open .sx-right { transform: none; }
  .sx-drawer-btn { display: inline-flex; }
}
@media (max-width: 860px) {
  .sx { grid-template-columns: minmax(0, 1fr); }
  .sx-left { position: absolute; left: 0; top: 0; bottom: 0; width: min(292px, 88%); z-index: 6; box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .2s; }
  .sx.list-open .sx-left { transform: none; }
  .sx-mini { display: none; }
  .sx-toolbar .layers-label { display: none; }
}
