@charset "UTF-8";
/* ==========================================================================
   OpenCode Gateway Console — 干净中性 · 宽屏版
   白 / 浅灰底 + 近黑文字 + 极少量蓝色强调；装饰归零，靠留白与字阶组织信息。

   token
   颜色  paper #FAFAFA · surface #FFF · line #E8E8EB
         ink #18181B · ink-2 #52525B · muted #8B8B93
         accent #2563EB（仅链接/焦点）· ok #16A34A · warn #D97706 · fault #DC2626
   字体  一套系统无衬线；等宽仅用于代码、密钥、模型名、时间戳
   版式  卡片圆角 10px · 控件 6px · 1px 细线 · 一层贴地阴影 · 内容上限 1720px
   ========================================================================== */

:root {
  --ink: #18181b;
  --ink-2: #52525b;
  --muted: #8b8b93;
  --paper: #fafafa;
  --paper-deep: #f4f4f6;
  --surface: #ffffff;
  --line: #e8e8eb;
  --line-soft: #f1f1f3;

  --accent: #2563eb;
  --accent-soft: #eff5ff;
  --signal: #16a34a;
  --signal-soft: #ecfdf3;
  --amber: #d97706;
  --amber-soft: #fff7e8;
  --fault: #dc2626;
  --fault-soft: #fef2f2;

  /* 模板沿用变量：代码块改为浅色 */
  --term: #f7f8fa;
  --term-line: #e8e8eb;
  --term-text: #27272a;
  --term-dim: #8b8b93;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --r: 10px;
  --r-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-pop: 0 4px 10px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .08);
  --sider-w: 220px;
  --header-h: 60px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent-soft); color: var(--ink); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.spacer { flex: 1 1 auto; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- 外壳 */
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sider-w) minmax(0, 1fr);
}
.sider {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.brand-mark { width: 26px; height: 26px; flex: 0 0 26px; display: block; border-radius: 6px; }
.brand-name { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.brand-sub { font-size: 11px; color: var(--muted); line-height: 1.4; }

/* 导航：安静的列表，选中项浅灰底 */
.nav { padding: 12px; }
.nav-rail { display: none; }
.nav-group-label {
  margin: 16px 0 4px;
  padding: 0 10px;
  font-size: 11px;
  color: var(--muted);
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 2px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-2);
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.nav-item:hover { color: var(--ink); background: var(--paper-deep); }
.nav-item.is-active { color: var(--ink); font-weight: 600; background: var(--paper-deep); }
.nav-node { display: none; }
.sider-foot {
  margin-top: auto;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.sider-foot .foot-row { display: flex; align-items: center; gap: 7px; }

/* ---------------------------------------------------------------- 顶栏 */
.main { min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.topbar-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.topbar-path { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.topbar-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.avatar {
  width: 26px; height: 26px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink-2);
  font-size: 12px; font-weight: 600;
}
.content { max-width: 1720px; margin: 0 auto; padding: 28px 36px 72px; }

/* ---------------------------------------------------------------- 页头 */
.page-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.page-head .spacer { flex: 1; }
.eyebrow { display: none; }
.page-title {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.02em;
}
.page-lede { margin: 0; max-width: 64ch; color: var(--ink-2); font-size: 13px; }
.head-aside { text-align: right; font-size: 11.5px; color: var(--muted); line-height: 1.8; }

/* ---------------------------------------------------------------- 健康条 / 通知 */
.health {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  font-size: 13px;
}
.health.ok { border-left: 3px solid var(--signal); }
.health.warn { border-left: 3px solid var(--amber); background: var(--amber-soft); }
.health.fault { border-left: 3px solid var(--fault); background: var(--fault-soft); }
.health .spacer { flex: 1; }
.notice {
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: var(--shadow);
}
.notice strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- 指标卡 */
.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.metric-row.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 118px;
  padding: 18px 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: border-color .16s, box-shadow .16s;
}
a.metric, button.metric { text-align: left; color: inherit; cursor: pointer; font: inherit; }
a.metric:hover, button.metric:hover { border-color: #d6d6db; box-shadow: 0 2px 8px rgba(16,24,40,.07); text-decoration: none; }
.metric-label { font-size: 12.5px; color: var(--muted); }
.metric-value {
  margin-top: auto;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.metric-value .unit { margin-left: 3px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.metric-foot { margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.spark { display: none; }

/* ---------------------------------------------------------------- 面板 */
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.panel-grid.halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: 16px; }
.panel-head {
  display: flex; align-items: center; gap: 12px;
  min-height: 50px; padding: 10px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.panel-title { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.panel-meta { font-size: 11.5px; color: var(--muted); }
.panel-head .spacer { flex: 1; }
.panel-body { padding: 10px 20px 16px; }

/* ---------------------------------------------------------------- 状态点 / 信号列表 */
.lamp {
  display: inline-block; flex: 0 0 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted);
}
.lamp.ok { background: var(--signal); }
.lamp.warn { background: var(--amber); }
.lamp.err { background: var(--fault); }
.lamp.pulse { animation: lamp-pulse 2.4s ease-in-out infinite; }
@keyframes lamp-pulse { 50% { opacity: .45; } }

.state { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.state.ok { color: var(--signal); }
.state.warn { color: var(--amber); }
.state.err { color: var(--fault); }
.state .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.signal-list { list-style: none; margin: 0; padding: 0; }
.signal-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.signal-row:last-child { border-bottom: 0; }
.signal-name {
  font-family: var(--mono); font-size: 12.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.signal-state { font-size: 12px; color: var(--muted); white-space: nowrap; }
.signal-state.warn { color: var(--amber); }
.signal-state.err { color: var(--fault); }
.signal-state.ok { color: var(--signal); }

/* ---------------------------------------------------------------- 日志行 */
.log-row {
  display: grid;
  grid-template-columns: 64px 12px minmax(0, 1fr) 62px;
  align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.log-row:last-child { border-bottom: 0; }
.log-row .t { color: var(--muted); }
.log-row .mdl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-row .lat { text-align: right; color: var(--muted); }
.log-row .sw { color: var(--amber); }
.log-row .er { color: var(--fault); }

/* ---------------------------------------------------------------- 代码块（浅色） */
.terminal {
  margin-top: 16px;
  background: var(--surface);
  color: var(--term-text);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line-soft); }
.term-tab {
  appearance: none; border: 0; background: none;
  padding: 13px 14px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer; transition: color .15s, border-color .15s;
}
.term-tab:hover { color: var(--ink); }
.term-tab.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.terminal-bar .spacer { flex: 1; }
.term-url { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.term-copy {
  appearance: none; margin-left: 12px;
  padding: 6px 13px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  font-size: 12px; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.term-copy:hover { background: var(--paper-deep); }
.terminal pre, .code-block {
  margin: 0;
  padding: 18px 20px;
  background: var(--term); color: var(--term-text);
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8;
  white-space: pre-wrap; word-break: break-word;
  overflow-x: auto;
}
.term-hint { padding: 0 20px 16px; font-size: 12px; color: var(--muted); }
.term-hint a { color: var(--accent); }
.code-inline {
  padding: 2px 7px;
  background: var(--paper-deep);
  border-radius: 4px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-2);
}
.secret-block {
  padding: 14px 16px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--mono); font-size: 13px;
  word-break: break-all;
}

/* ---------------------------------------------------------------- 控件 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  font-size: 13px; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { border-color: #d0d0d6; background: var(--paper-deep); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2f2f36; border-color: #2f2f36; }
.btn.danger { color: var(--fault); border-color: #f3cdcb; }
.btn.danger:hover { background: var(--fault-soft); }
.btn.sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn.ghost { background: transparent; }
.link-btn {
  padding: 0; border: 0; background: none;
  color: var(--accent); font-size: 13px; cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: var(--fault); }
.link-btn.muted { color: var(--muted); }
.link-btn:disabled { color: var(--muted); cursor: not-allowed; text-decoration: none; }

.field {
  height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  font-size: 13px; font-family: var(--sans);
  transition: border-color .15s, box-shadow .15s;
}
.field::placeholder { color: var(--muted); }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.mono { font-family: var(--mono); }
textarea.field { height: auto; padding: 8px 12px; resize: vertical; }

.segment { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); }
.segment button {
  padding: 7px 14px; border: 0; border-right: 1px solid var(--line);
  background: transparent; color: var(--ink-2); font-size: 12.5px; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.segment button:last-child { border-right: 0; }
.segment button:hover { color: var(--ink); background: var(--paper-deep); }
.segment button.is-active { background: var(--ink); color: #fff; font-weight: 600; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.filter-bar .count { font-size: 12px; color: var(--muted); }
.chart-box { position: relative; height: 252px; }
.readout { display: flex; align-items: baseline; gap: 18px; padding: 2px 0 12px; font-size: 12.5px; color: var(--muted); }
.readout b { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.readout .sep { width: 1px; height: 13px; background: var(--line); align-self: center; }
.empty {
  padding: 30px 16px; text-align: center;
  font-size: 13px; color: var(--muted);
}

/* ---------------------------------------------------------------- antd 统一外观 */
.ant-btn-primary { background: var(--ink); border-color: var(--ink); box-shadow: none; }
.ant-btn-primary:hover, .ant-btn-primary:focus { background: #2f2f36; border-color: #2f2f36; }
.ant-btn { border-radius: var(--r-sm); font-size: 13px; box-shadow: none; }
.ant-btn-dangerous { color: var(--fault); }
.ant-input, .ant-input-affix-wrapper, .ant-select-selector, .ant-input-number, .ant-picker {
  border-radius: var(--r-sm) !important;
  border-color: var(--line) !important;
  font-size: 13px;
}
.ant-input:focus, .ant-input-focused, .ant-input-affix-wrapper-focused {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-soft) !important;
}
.ant-switch.ant-switch-checked { background: var(--ink); }
.ant-checkbox-checked .ant-checkbox-inner { background: var(--ink); border-color: var(--ink); }
.ant-tag { border-radius: 4px; font-size: 12px; line-height: 19px; }
.ant-card { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.ant-card-head { min-height: 48px; padding: 0 20px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.ant-card-body { padding: 18px 20px; }
.ant-modal-content { border-radius: 12px; padding: 24px 24px 12px; box-shadow: var(--shadow-pop); }
.ant-modal-header { margin-bottom: 16px; }
.ant-modal-title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.ant-modal-footer { margin-top: 20px; }
.ant-form-item-label > label { font-size: 13px; color: var(--ink-2); }
.ant-alert { border-radius: var(--r); font-size: 13px; }
.ant-statistic-title { font-size: 12.5px; color: var(--muted); }
.ant-pagination-item-active { border-color: var(--ink); }
.ant-pagination-item-active a { color: var(--ink); }
.ant-descriptions-item-label { color: var(--muted); font-size: 12.5px; }
.ant-message-notice-content { border-radius: var(--r-sm); }

/* 表格：安静的数据表 */
.ocp-table .ant-table { background: transparent; font-size: 13px; }
.ocp-table .ant-table-thead > tr > th {
  padding: 11px 8px;
  background: transparent !important;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px; font-weight: 500;
}
.ocp-table .ant-table-thead > tr > th::before { display: none !important; }
.ocp-table .ant-table-tbody > tr > td { padding: 11px 8px; border-bottom: 1px solid var(--line-soft); }
.ocp-table .ant-table-tbody > tr:last-child > td { border-bottom: 0; }
.ocp-table .ant-table-tbody > tr:hover > td { background: var(--paper) !important; }
.ocp-table .ant-empty { margin: 22px 0; }
.ocp-table .ant-pagination { margin: 16px 0 0; }

/* 端口表：自绘轻量表，列宽由 --cols 覆盖 */
.port-table { --cols: 14px minmax(0, 1fr) 110px 130px 160px 64px; }
.port-head, .port-row { display: grid; grid-template-columns: var(--cols); gap: 10px; align-items: center; }
.port-head {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.port-row { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.port-row:last-child { border-bottom: 0; }
.port-row .cell-mono {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.port-row .cell-right { text-align: right; }
.port-row .cell-actions { display: flex; justify-content: flex-end; gap: 14px; }
.port-table + .empty { padding-top: 22px; }
@media (max-width: 760px) {
  .port-table { --cols: 14px minmax(0, 1fr) 90px !important; }
  .port-head > :nth-child(n+4), .port-row > :nth-child(n+4) { display: none; }
}

/* ---------------------------------------------------------------- 登录页（单栏极简） */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(600px 320px at 50% -8%, #eef2ff 0%, rgba(238, 242, 255, 0) 70%),
    var(--paper);
}
.auth-visual, .auth-diagram, .auth-form-side { display: none; }
.auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.auth-brand .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
.auth-brand span { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.auth-card {
  width: 100%; max-width: 400px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow), 0 16px 40px rgba(16, 24, 40, .06);
}
.auth-card h1 { margin: 0 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.auth-card .lede { margin: 0 0 26px; color: var(--ink-2); font-size: 13px; }
.auth-label { display: block; margin: 0 0 6px; font-size: 12.5px; color: var(--ink-2); }
.auth-input, .auth-card .field { width: 100%; height: 40px; margin-bottom: 18px; font-size: 14px; }
.auth-error {
  margin: 0 0 18px; padding: 10px 13px;
  border-left: 3px solid var(--fault);
  background: var(--fault-soft); color: #991b1b; font-size: 13px;
  border-radius: var(--r-sm);
}
.auth-submit {
  width: 100%; height: 42px; margin-top: 6px;
  border: 0; border-radius: var(--r-sm);
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background-color .15s;
}
.auth-submit:hover { background: #2f2f36; }
.auth-submit:disabled { opacity: .5; cursor: not-allowed; }
.auth-note { margin-top: 20px; text-align: center; font-size: 12px; line-height: 1.9; color: var(--muted); }
.loading-wrap { min-height: 100vh; display: grid; place-items: center; background: var(--paper); }
.loading-mark { text-align: center; font-size: 12px; color: var(--muted); }
.loading-mark .brand-mark { margin: 0 auto 14px; width: 32px; height: 32px; }

/* ---------------------------------------------------------------- 入场（仅一次编排） */
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.page-head, .health, .metric, .panel, .terminal, .filter-bar { animation: rise .4s cubic-bezier(.2, .7, .3, 1) both; }
.metric:nth-child(2) { animation-delay: .04s; }
.metric:nth-child(3) { animation-delay: .08s; }
.metric:nth-child(4) { animation-delay: .12s; }
.metric:nth-child(5) { animation-delay: .16s; }
.panel-grid > .panel:nth-child(2) { animation-delay: .08s; }
.terminal { animation-delay: .14s; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1440px) {
  .metric-row.five { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 1200px) {
  .panel-grid, .panel-grid.halves { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .auth-wrap { padding: 16px; }
  .auth-card { padding: 26px 22px; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .sider { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 12px 16px; }
  .nav { display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; }
  .nav-item { width: auto; white-space: nowrap; margin-bottom: 0; }
  .nav-group-label, .sider-foot { display: none; }
  .topbar { padding: 0 16px; gap: 8px; }
  .topbar-path, .topbar-user { display: none; }
  .topbar-title { flex: 1; min-width: 0; }
  .content { padding: 20px 16px 56px; }
  .page-title { font-size: 21px; }
  .head-aside { display: none; }
  .metric { min-height: 104px; padding: 15px 16px 14px; }
  .metric-value { font-size: 27px; }
  .panel-body { padding: 8px 14px 14px; }
  .panel-head { padding: 8px 14px; }
  .terminal-bar { overflow-x: auto; }
  .ocp-table { overflow-x: auto; }
}
@media (max-width: 480px) {
  .metric-row.five { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
