:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
  color: #e9edf2;
  background: #0c1016;
  font-synthesis: none;
  --bg: #0c1016;
  --panel: #121820;
  --line: #242b35;
  --muted: #87929f;
  --green: #b5f576;
  --purple: #b39bff;
  --blue: #80b4ff;
  --orange: #ffb574;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
button {
  color: inherit;
}
svg {
  flex-shrink: 0;
}
img {
  display: block;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -1px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.15px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: #93a0ae;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  letter-spacing: -0.9px;
  font-weight: 650;
}
.brand-dev {
  font-size: 12px;
  letter-spacing: 0;
  display: inline-block;
  vertical-align: middle;
  color: var(--green);
  background: #b5f57610;
  padding: 4px 6px;
  border: 1px solid #b5f57620;
  margin-left: 8px;
  border-radius: 5px;
  font-weight: 500;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  padding: 6px 9px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid #303844;
  border-radius: 6px;
  color: #a5b0bb;
  background: #ffffff03;
}
.pill i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}
.pill.success {
  color: #b5f576;
  background: #b5f5760a;
  border-color: #b5f57625;
}
.pill.warning {
  color: #ffb574;
  background: #ffb5740b;
  border-color: #ffb57430;
}
.pill.error {
  color: #ff8c8c;
  background: #ff8c8c0b;
  border-color: #ff8c8c30;
}
.boot {
  min-height: 100dvh;
  display: flex;
  gap: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--muted);
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-story {
  padding: 48px 6vw;
  position: relative;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 20% 65%, #14252180, transparent 60%), #0e141b;
  border-right: 1px solid var(--line);
}
.login-copy {
  margin: auto 0;
  max-width: 580px;
  padding: 60px 0;
}
.login-copy h1 {
  font-size: clamp(38px, 4.2vw, 68px);
  letter-spacing: -2.5px;
  line-height: 1.13;
  margin: 22px 0;
}
.login-copy > p {
  color: #97a3af;
  font-size: 16px;
  line-height: 1.7;
  max-width: 360px;
}
.login-visual {
  border: 1px solid #2c3a39;
  border-radius: 12px;
  margin-top: 44px;
  background: #101a1c;
  position: relative;
  overflow: hidden;
}
.visual-bar,
.visual-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  padding: 17px 19px;
  color: #b5c3bf;
  position: relative;
  z-index: 1;
}
.visual-bar span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
}
.visual-bar span:last-child {
  color: var(--green);
  font-size: 9px;
  letter-spacing: 1.2px;
}
.visual-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px #b5f57660;
}
.login-visual > svg {
  position: relative;
  width: 100%;
  height: 140px;
}
.visual-grid {
  position: absolute;
  inset: 50px 0 40px;
  background:
    linear-gradient(#36524725 1px, transparent 1px),
    linear-gradient(90deg, #36524725 1px, transparent 1px);
  background-size: 40px 30px;
}
.visual-caption {
  border-top: 1px solid #273a3520;
  color: #81948a;
}
.visual-caption span {
  font-size: 10px;
}
.login-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #6c7c84;
}
.login-side {
  display: grid;
  place-items: center;
  padding: 48px 35px;
}
.login-form {
  width: 100%;
  max-width: 350px;
}
.lock-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #182226;
  color: var(--green);
  border: 1px solid #283832;
  border-radius: 13px;
  margin-bottom: 25px;
}
.login-form h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
}
.login-form > .muted {
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0 30px;
}
.login-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  margin-top: 20px;
  color: #c2cbd5;
}
.login-form input {
  width: 100%;
  padding: 13px 14px;
  color: #e9edf2;
  background: #141b24;
  border: 1px solid #2e3743;
  border-radius: 7px;
  outline: none;
  font-size: 14px;
}
.login-form input:focus {
  border-color: #b5f57680;
  box-shadow: 0 0 0 3px #b5f57608;
}
.login-form .otp {
  letter-spacing: 8px;
  font-family: ui-monospace, monospace;
  font-size: 18px;
}
.login-form .otp::placeholder {
  letter-spacing: 4px;
  color: #4c5766;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--green);
  color: #182014;
  border: 1px solid #c7fca0;
  padding: 13px 18px;
  border-radius: 7px;
  width: 100%;
  font-size: 13px;
  font-weight: 650;
}
.primary:hover {
  background: #c5fc95;
}
.form-error {
  font-size: 12px;
  color: #ffac98;
  line-height: 1.6;
  margin: 14px 0;
  min-height: 8px;
}
.login-note {
  font-size: 11px;
  color: #697787;
  text-align: center;
  line-height: 1.7;
  margin-top: 25px;
}
.workspace {
  min-height: 100dvh;
}
.sidebar {
  width: 220px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #10161e;
  border-right: 1px solid var(--line);
  padding: 30px 18px 16px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar .brand {
  font-size: 21px;
  padding: 0 10px;
}
.side-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #687584;
  margin: 47px 11px 14px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-radius: 7px;
  color: #8a98a6;
  padding: 12px 13px;
  font-size: 12px;
  min-height: 44px;
}
.sidebar nav button:hover {
  background: #19222c;
  color: #d6dfe8;
}
.sidebar nav button.active {
  background: #b5f5760b;
  color: var(--green);
  box-shadow: inset 0 0 0 1px #b5f57612;
}
.nav-count {
  margin-left: auto;
  color: #ffb574;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
}
.mode {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  padding: 25px 7px;
  color: #9cabb8;
  font-size: 10px;
}
.mode small,
.profile small {
  display: block;
  font-size: 9px;
  color: #69798a;
  margin-top: 5px;
}
.profile {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 18px 5px 0;
  font-size: 11px;
  color: #d2dce5;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #29382d;
  color: #b5f576;
  border: 1px solid #b5f57620;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.profile button {
  margin-left: auto;
  color: #738393;
  padding: 7px;
  display: grid;
  place-items: center;
}
.main {
  margin-left: 220px;
}
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: #0c1016ed;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.breadcrumb {
  font-size: 11px;
  color: #718194;
  display: flex;
  gap: 13px;
  align-items: center;
}
.breadcrumb span {
  color: #3f4d5c;
}
.breadcrumb strong {
  font-weight: 500;
  color: #c2ccd7;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 17px;
}
.environment {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  background: #1e262f;
  border: 1px solid #303a46;
  color: #9faebd;
  padding: 5px 6px;
  border-radius: 4px;
}
.clock {
  font-size: 10px;
  color: #768697;
  font-family: ui-monospace, monospace;
}
.icon-button {
  width: 29px;
  height: 30px;
  color: #91a0af;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  color: var(--green);
}
.content {
  max-width: 1600px;
  margin: auto;
  padding: 34px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-head h1 {
  margin: 12px 0 9px;
}
.page-head p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.host-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 11px;
  white-space: nowrap;
  color: #c2ccd7;
}
.host-chip > i {
  background: var(--green);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #b5f5760a;
}
.host-chip small {
  display: block;
  font-size: 9px;
  color: #768697;
  margin-top: 5px;
}
.status-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 20px;
  font-size: 10px;
  color: #6f8092;
}
.status-strip > div {
  display: flex;
  gap: 11px;
  align-items: center;
}
.status-host {
  font-family: ui-monospace, monospace;
  font-size: 10px;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.metric-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 19px;
}
.metric-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #a0adba;
  white-space: nowrap;
}
.metric-label > svg {
  color: #718397;
}
.metric-dot {
  margin-left: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
.metric-value {
  font-size: 33px;
  letter-spacing: -1.4px;
  font-weight: 550;
  margin: 22px 0 18px;
  line-height: 1;
}
.metric-value small {
  font-size: 13px;
  letter-spacing: 0;
  color: #8191a0;
  font-weight: 400;
  margin-left: 8px;
}
.meter {
  height: 3px;
  border-radius: 2px;
  background: #252e39;
  overflow: hidden;
  margin-bottom: 12px;
}
.meter svg {
  width: 100%;
  height: 3px;
  display: block;
}
.meter span {
  display: block;
  height: 100%;
  background: var(--green);
}
.metric-detail {
  font-size: 9px;
  color: #738495;
  line-height: 1.5;
  white-space: nowrap;
}
.metric-detail strong {
  color: #a7b5c3;
  font-weight: 500;
}
.green {
  background: var(--green);
}
.purple {
  background: var(--purple);
}
.blue {
  background: var(--blue);
}
.orange {
  background: var(--orange);
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.panel-heading {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  gap: 14px;
}
.panel-heading p {
  font-size: 10px;
  color: #738495;
  margin-top: 7px;
}
.panel-heading > svg {
  color: #738495;
}
.text-button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #9dacba;
  font-size: 10px;
  white-space: nowrap;
}
.text-button:hover {
  color: var(--green);
}
.period-tabs,
.filter-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #0d131b;
  border: 1px solid #242e3b;
  border-radius: 6px;
}
.period-tabs button,
.filter-tabs button {
  font-size: 10px;
  color: #718397;
  white-space: nowrap;
  border-radius: 4px;
  padding: 7px 10px;
}
.period-tabs button.selected,
.filter-tabs button.selected {
  color: #e0e7ed;
  background: #27323e;
}
.period-tabs button:hover,
.filter-tabs button:hover {
  color: #e4edf3;
}
.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px 22px 15px;
  gap: 30px;
}
.chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #9eacba;
  margin: 10px 0 20px;
}
.chart-title > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.chart-title strong {
  font-weight: 500;
  color: #e9edf2;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.legend {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.chart {
  position: relative;
  padding-left: 28px;
}
.chart-svg {
  width: 100%;
  height: 135px;
  display: block;
  overflow: visible;
}
.chart-grid {
  stroke: #27323e;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.chart-axis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 8px;
  color: #607284;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-size: 8px;
  color: #64788b;
  font-family: ui-monospace, monospace;
}
.empty-chart {
  min-height: 140px;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
}
.chart-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #687d8e;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service-list {
  padding: 0 22px;
}
.service-row {
  display: flex;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid #242d38;
  padding: 17px 0;
  min-height: 76px;
}
.service-row:last-child {
  border-bottom: 0;
}
.service-icon {
  background: #1c252f;
  border: 1px solid #2b3744;
  color: #8799ab;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
}
.service-icon.good {
  background: #b5f57605;
  border-color: #b5f57618;
  color: #b5f576;
}
.service-icon.warn {
  color: #ffb574;
}
.service-name {
  font-size: 11px;
  font-weight: 500;
  min-width: 0;
  flex: 1;
}
.service-name small {
  display: block;
  margin-top: 5px;
  color: #697f93;
  font-size: 8px;
  font-family: ui-monospace, monospace;
  font-weight: 400;
}
.service-meta {
  text-align: right;
  color: #a8b7c5;
  font-size: 10px;
  min-width: 40px;
}
.service-meta small {
  display: block;
  color: #647b8f;
  font-size: 8px;
  margin-top: 6px;
}
.service-row > .pill {
  font-size: 9px;
  padding: 5px 7px;
  min-width: 79px;
  justify-content: center;
}
.detail-list {
  margin: 0;
  padding: 0 22px;
}
.detail-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.detail-list dt {
  font-size: 11px;
  color: #899cae;
}
.detail-list dd {
  font-size: 12px;
  margin: 0;
  font-weight: 500;
  text-align: right;
}
.detail-list .pill {
  font-size: 9px;
}
.panel-note {
  font-size: 10px;
  color: #708498;
  line-height: 1.8;
  padding: 18px 22px;
}
.orange-text {
  color: var(--orange);
}
.bot-row {
  margin: 0 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.bot-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.bot-name .pill {
  font-size: 9px;
}
.bot-stats {
  display: flex;
  gap: 22px;
  color: #708498;
  font-size: 9px;
  margin-top: 15px;
}
.bot-stats strong {
  font-weight: 500;
  color: #c5d1db;
  margin-left: 4px;
}
.bot-error {
  color: var(--orange);
  font-size: 10px;
  margin-top: 9px;
}
.table-panel {
  padding: 0;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  color: #72869a;
  background: #101720;
  font-weight: 500;
  font-size: 10px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 22px;
  font-size: 11px;
  border-bottom: 1px solid #222c37;
  color: #c1ceda;
}
tr:last-child td {
  border-bottom: 0;
}
.process-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.process-label svg {
  color: #6f879c;
}
.process-label strong {
  font-weight: 500;
}
.cpu-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  font-family: ui-monospace, monospace;
}
.tiny-meter {
  display: block;
  width: 65px;
  height: 4px;
  background: #263542;
  border-radius: 3px;
  overflow: hidden;
}
.tiny-meter i {
  height: 100%;
  display: block;
  background: var(--green);
}
.tiny-meter svg {
  display: block;
  width: 100%;
  height: 4px;
}
.table-note {
  border-top: 1px solid var(--line);
}
.event-list {
  padding: 0 22px;
}
.event-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.event-row:last-child {
  border-bottom: 0;
}
.event-row > div {
  min-width: 0;
  flex: 1;
}
.event-mark {
  background: #80b4ff0a;
  color: #80b4ff;
  border: 1px solid #80b4ff15;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border-radius: 7px;
  display: grid;
  place-items: center;
}
.event-mark.error {
  background: #ff8c8c08;
  color: #ff8c8c;
  border-color: #ff8c8c20;
}
.event-mark.warning {
  background: #ffb57408;
  color: #ffb574;
  border-color: #ffb57420;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  color: #6c8297;
  line-height: 1.6;
  flex-wrap: wrap;
}
.event-meta time {
  margin-left: auto;
}
.level {
  color: #80b4ff;
  font-size: 9px;
}
.level.error {
  color: #ff8c8c;
}
.level.warning {
  color: #ffb574;
}
.event-row pre {
  font-size: 10px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, monospace;
  margin: 6px 0 0;
  color: #adbccb;
}
.event-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
select {
  background: #101720;
  color: #a7b9c9;
  border: 1px solid #2e3a48;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 10px;
  max-width: 210px;
}
.event-note {
  border-top: 1px solid var(--line);
}
.load-more {
  display: flex;
  justify-content: center;
  padding: 18px;
}
.secondary {
  border: 1px solid #344252;
  border-radius: 6px;
  background: #1b2632;
  color: #b8c9d8;
  font-size: 11px;
  padding: 10px 18px;
}
.backup-hero {
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 28px;
  border: 1px solid #b5f57625;
  border-radius: 10px;
  margin-bottom: 20px;
  background: radial-gradient(ellipse at 0 100%, #b5f57608, transparent 60%), var(--panel);
}
.backup-orb {
  width: 62px;
  height: 62px;
  border: 1px solid #b5f57630;
  background: #b5f57609;
  color: var(--green);
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.backup-hero h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 11px 0 8px;
}
.backup-hero p {
  font-size: 11px;
  color: #8ba08c;
}
.backup-hero > .pill {
  margin-left: auto;
}
.backup-hero .eyebrow {
  font-size: 9px;
  color: #80927a;
}
.footer {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 7px 34px 24px;
  color: #536779;
  font-size: 9px;
}
.error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #ffb5740a;
  color: #f6be91;
  border: 1px solid #ffb57430;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.error-banner button {
  margin-left: auto;
  text-decoration: underline;
  color: #ffd9b8;
  white-space: nowrap;
}
.empty-state {
  padding: 55px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #667e90;
  text-align: center;
  min-height: 230px;
}
.empty-state h3 {
  font-size: 14px;
  color: #b6c5d1;
  font-weight: 500;
  margin-top: 15px;
}
.empty-state p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 9px;
  max-width: 300px;
}
.loader {
  width: 25px;
  height: 25px;
  border: 2px solid #2b3c48;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
[hidden] {
  display: none !important;
}
@media (min-width: 1700px) {
  .content {
    padding: 45px 50px;
  }
  .topbar {
    padding: 0 50px;
  }
  .metric-card {
    padding: 25px;
  }
  .metric-value {
    font-size: 38px;
  }
  .metric-detail {
    font-size: 11px;
  }
  .metric-label {
    font-size: 12px;
  }
  .chart-svg {
    height: 170px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 190px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main {
    margin-left: 190px;
  }
  .content {
    padding: 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .metric-card {
    padding: 15px;
  }
  .metric-label {
    font-size: 10px;
    gap: 6px;
  }
  .metric-detail {
    font-size: 8px;
  }
  .metric-value {
    font-size: 29px;
  }
  .service-list,
  .event-list {
    padding: 0 17px;
  }
  .service-row {
    gap: 8px;
  }
  .service-meta {
    display: none;
  }
  .event-meta time {
    margin-left: 0;
  }
  .panel-heading {
    padding: 19px 17px;
  }
  .service-name {
    font-size: 10px;
  }
  .two-columns {
    gap: 15px;
  }
  .metric-dot {
    display: none;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .status-host {
    font-size: 9px;
  }
}
@media (max-width: 1000px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric-card {
    padding: 20px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-detail {
    font-size: 10px;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .service-meta {
    display: block;
  }
  .charts {
    gap: 22px;
  }
  .host-chip {
    display: none;
  }
  .status-host {
    display: none;
  }
  .metric-value {
    font-size: 34px;
  }
  .login-story {
    padding: 40px;
  }
  .login-copy h1 {
    font-size: 47px;
  }
  .login-visual {
    margin-top: 30px;
  }
  .event-meta time {
    margin-left: auto;
  }
  .panel-heading h2 {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .login-copy,
  .login-foot {
    display: none;
  }
  .login-story .brand {
    font-size: 21px;
  }
  .login-story .brand img {
    width: 34px;
    height: 34px;
  }
  .login-side {
    padding: 38px 25px 50px;
    display: block;
  }
  .login-form {
    max-width: 400px;
    margin: auto;
  }
  .lock-symbol {
    width: 43px;
    height: 43px;
    margin-bottom: 20px;
  }
  .login-form h2 {
    font-size: 25px;
  }
  .sidebar {
    width: auto;
    inset: auto 0 0 0;
    height: calc(65px + env(safe-area-inset-bottom));
    padding: 4px 8px env(safe-area-inset-bottom);
    border: 0;
    border-top: 1px solid #2d3743;
    background: #111923f5;
    backdrop-filter: blur(15px);
  }
  .sidebar > .brand,
  .side-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    height: 60px;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    justify-content: space-around;
  }
  .sidebar nav button {
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
    padding: 8px 5px;
    border-radius: 6px;
    text-align: center;
    justify-content: center;
    flex: 1;
    height: 53px;
    position: relative;
  }
  .sidebar nav button svg {
    width: 19px;
    height: 19px;
  }
  .nav-count {
    position: absolute;
    top: 4px;
    right: 9px;
    font-size: 8px;
  }
  .main {
    margin-left: 0;
    padding-bottom: calc(65px + env(safe-area-inset-bottom));
  }
  .topbar {
    height: 61px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 8px;
  }
  .top-actions {
    gap: 11px;
  }
  .clock {
    display: none;
  }
  .environment {
    font-size: 7px;
    letter-spacing: 0.6px;
  }
  .icon-button {
    width: 24px;
  }
  .content {
    padding: 23px 16px 12px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .page-head {
    margin-bottom: 21px;
  }
  .page-head h1 {
    font-size: 25px;
    margin: 10px 0 8px;
    letter-spacing: -0.7px;
  }
  .page-head p {
    font-size: 11px;
    max-width: 310px;
  }
  .status-strip {
    margin-bottom: 16px;
    font-size: 9px;
  }
  .status-strip .pill {
    font-size: 9px;
    padding: 6px 7px;
  }
  .metrics-grid {
    gap: 10px;
    margin-bottom: 16px;
  }
  .metric-card {
    padding: 15px 13px;
  }
  .metric-label {
    font-size: 10px;
    gap: 6px;
  }
  .metric-label svg {
    width: 15px;
  }
  .metric-value {
    font-size: 29px;
    margin: 20px 0 15px;
  }
  .metric-value small {
    font-size: 11px;
    margin-left: 5px;
  }
  .metric-detail {
    font-size: 8px;
    white-space: normal;
    min-height: 24px;
  }
  .meter {
    margin-bottom: 9px;
  }
  .panel {
    border-radius: 8px;
    margin-bottom: 16px;
  }
  .panel-heading {
    padding: 16px;
    min-height: 64px;
  }
  .panel-heading h2 {
    font-size: 13px;
  }
  .panel-heading p {
    font-size: 9px;
  }
  .chart-panel > .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .period-tabs {
    align-self: flex-start;
  }
  .period-tabs button {
    font-size: 10px;
    padding: 6px 13px;
  }
  .charts {
    grid-template-columns: 1fr;
    padding: 0 16px 14px;
    gap: 15px;
  }
  .chart-title {
    margin: 8px 0 17px;
  }
  .chart-svg {
    height: 130px;
  }
  .chart-foot {
    padding: 12px 16px;
    font-size: 8px;
  }
  .chart-foot span {
    white-space: nowrap;
  }
  .two-columns {
    gap: 0;
  }
  .service-row {
    padding: 15px 0;
    gap: 9px;
  }
  .service-list,
  .event-list {
    padding: 0 16px;
  }
  .service-name {
    font-size: 11px;
  }
  .service-name small {
    font-size: 8px;
  }
  .service-meta {
    font-size: 9px;
  }
  .service-meta small {
    font-size: 7px;
  }
  .service-row > .pill {
    min-width: 67px;
    font-size: 8px;
    padding: 5px;
  }
  .service-icon {
    width: 31px;
    height: 31px;
    border-radius: 7px;
  }
  .detail-list {
    padding: 0 16px;
  }
  .panel-note {
    padding: 16px;
    font-size: 9px;
  }
  .detail-list > div {
    padding: 14px 0;
  }
  .detail-list dt {
    font-size: 10px;
  }
  .detail-list dd {
    font-size: 11px;
  }
  .bot-row {
    margin: 0 16px;
  }
  .event-toolbar {
    padding: 15px 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-tabs {
    display: flex;
  }
  .filter-tabs button {
    font-size: 9px;
    flex: 1;
    padding: 8px 5px;
  }
  .event-toolbar select {
    max-width: 100%;
    padding: 10px;
    font-size: 11px;
  }
  .event-meta {
    gap: 5px 9px;
    font-size: 8px;
  }
  .event-meta time {
    margin-left: 0;
    flex-basis: 100%;
  }
  .event-row {
    gap: 9px;
  }
  .event-mark {
    width: 25px;
    height: 25px;
  }
  .event-row pre {
    font-size: 9px;
  }
  .event-meta .level {
    font-size: 9px;
  }
  .event-note {
    font-size: 9px;
  }
  .backup-hero {
    padding: 20px 16px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .backup-orb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .backup-orb svg {
    width: 25px;
  }
  .backup-hero h2 {
    font-size: 21px;
    margin: 9px 0 7px;
  }
  .backup-hero p {
    font-size: 9px;
  }
  .backup-hero .eyebrow {
    font-size: 7px;
  }
  .backup-hero > .pill {
    margin-left: 57px;
    font-size: 9px;
  }
  .backup-hero > div:nth-child(2) {
    flex: 1;
  }
  .footer {
    padding: 10px 16px 21px;
    font-size: 8px;
    gap: 15px;
  }
  .error-banner {
    font-size: 10px;
    padding: 12px;
    gap: 8px;
  }
  .error-banner button {
    font-size: 9px;
  }
  th {
    padding: 12px 16px;
    font-size: 9px;
  }
  td {
    padding: 15px 16px;
    font-size: 10px;
  }
  .cpu-cell {
    min-width: 85px;
  }
  .tiny-meter {
    width: 45px;
  }
  .table-scroll {
    scrollbar-width: thin;
  }
  .text-button {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.mobile-only {
  display: none;
}
@media (max-width: 700px) {
  .mobile-only {
    display: grid;
  }
}
@media (max-width: 700px) {
  .sidebar nav button {
    font-size: 10px;
  }
  .event-row pre {
    font-size: 11px;
  }
  .metric-detail {
    font-size: 10px;
    min-height: 30px;
  }
  .service-name small {
    font-size: 9px;
  }
  .bot-stats {
    font-size: 10px;
  }
  .detail-list dt,
  .detail-list dd {
    font-size: 12px;
  }
}
