:root {
  --bg: #080a0f;
  --bg-soft: #0c0f16;
  --panel: #11151f;
  --panel-2: #161b27;
  --panel-3: #1c2230;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8ecf5;
  --text-dim: #a2acc3;
  --muted: #7a849b;
  --accent: #7c6cff;
  --accent-2: #22d3ee;
  --green: #34d399;
  --red: #f87171;
  --amber: #fbbf24;
  --radius: 14px;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;

  /* 让原生控件（select 弹层、滚动条、数字微调箭头）跟随深色主题，
     否则下拉列表是白底，配上浅色文字就白底白字 */
  color-scheme: dark;
  accent-color: #7c6cff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(124, 108, 255, 0.16), transparent 60%),
    radial-gradient(700px 400px at 5% 105%, rgba(34, 211, 238, 0.09), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hidden { display: none !important; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
code { font-family: var(--mono); font-size: 12.5px; background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; }

/* ---------------- 登录页 ---------------- */
.login-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 1;
}
.glow {
  position: absolute;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(124,108,255,.22), transparent 65%);
  filter: blur(20px);
  animation: pulse 7s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.8} 50%{transform:scale(1.12);opacity:1} }

.login-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, rgba(22,27,39,.92), rgba(13,16,23,.95));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}
.login-hint { color: var(--muted); font-size: 12px; margin: 16px 0 0; line-height: 1.7; }
.login-error { color: var(--red); font-size: 12.5px; margin: 10px 0 0; min-height: 18px; }

.brand { display: flex; align-items: center; gap: 11px; padding: 2px 4px 0; }
.brand h1 { font-size: 15px; margin: 0; letter-spacing: .2px; font-weight: 600; }
.brand p { margin: 1px 0 0; font-size: 11.5px; color: var(--muted); }
.brand-lg { margin-bottom: 26px; }
.brand-lg h1 { font-size: 20px; }
.brand-lg p { font-size: 12.5px; margin-top: 3px; }

.logo {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 16px;
  box-shadow: 0 8px 22px -8px rgba(124,108,255,.9);
  flex: none;
}
.brand-lg .logo { width: 42px; height: 42px; border-radius: 13px; font-size: 20px; }

/* ---------------- 表单元素 ---------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 12px; color: var(--text-dim); }
.field > .field-hint { font-size: 11.5px; color: var(--muted); line-height: 1.65; }
.field > .field-hint code { font-size: 11px; }
.field.grow { flex: 1; min-width: 150px; }

input[type="text"], input[type="password"], input[type="number"], input:not([type]), select {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input[type="text"], input[type="password"], input[type="number"], input:not([type]), select {
  height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
}
textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  resize: vertical;
  line-height: 1.6;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(124,108,255,.65);
  box-shadow: 0 0 0 3px rgba(124,108,255,.14);
  background: var(--panel-3);
}
input::placeholder, textarea::placeholder { color: #5b6478; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 30px; }

/* 下拉选项显式配色：原生弹层默认是白底，会跟浅色文字撞成白底白字 */
select option,
select optgroup {
  background-color: #12161f;
  color: var(--text);
}
select option:disabled { color: #5b6478; }
select option:checked { color: #fff; }

.form-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
.form-row > .field { flex: 1 1 170px; min-width: 0; margin-bottom: 10px; }
.form-row > .field.grow { flex: 2 1 240px; }
.form-row > .field.shrink { flex: 0 1 150px; }
.form-row > .btn { align-self: flex-end; margin-bottom: 10px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

/* ---------------- 按钮 ---------------- */
.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text);
  background: var(--panel-3);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #5b8def);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(124,108,255,.95);
}
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(124,108,255,1); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text-dim); }
.btn-ghost:hover { background: rgba(255,255,255,.05); color: var(--text); }
.btn-danger-ghost { background: transparent; border-color: rgba(248,113,113,.3); color: #fca5a5; }
.btn-danger-ghost:hover { background: rgba(248,113,113,.1); }
.btn-sm { padding: 6px 11px; font-size: 12px; border-radius: 8px; }
.btn-block { width: 100%; margin-top: 6px; }
.icon-btn {
  background: transparent; border: none; color: var(--muted);
  cursor: pointer; font-size: 15px; padding: 4px 8px; border-radius: 8px;
}
.icon-btn:hover { background: rgba(255,255,255,.07); color: var(--text); }

/* ---------------- 布局 ---------------- */
.app { display: flex; min-height: 100vh; position: relative; z-index: 1; }

.sidebar {
  width: 236px;
  flex: none;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  background: linear-gradient(180deg, rgba(16,20,29,.9), rgba(9,11,16,.96));
  border-right: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav { display: flex; flex-direction: column; gap: 3px; margin-top: 26px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: none;
  color: var(--text-dim);
  font-family: inherit; font-size: 13.5px;
  padding: 9px 12px; border-radius: 9px;
  cursor: pointer; text-align: left;
  transition: all .15s;
}
.nav-item i { font-style: normal; width: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.nav-item:hover { background: rgba(255,255,255,.05); color: var(--text); }
.nav-item.active {
  background: linear-gradient(90deg, rgba(124,108,255,.22), rgba(124,108,255,.05));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(124,108,255,.28);
}
.nav-item.active i { color: #b3a9ff; }

.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.mini-label { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.endpoint {
  font-family: var(--mono); font-size: 11px; color: var(--accent-2);
  word-break: break-all; margin-bottom: 12px; line-height: 1.5;
}

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 30px 16px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 5;
  background: rgba(8,10,15,.82);
  backdrop-filter: blur(14px);
}
.topbar h2 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: .2px; }
.topbar p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.topbar-actions { display: flex; gap: 10px; align-items: center; }

.view-wrap { padding: 24px 30px 60px; max-width: 1180px; width: 100%; }
.view { display: none; animation: fade .25s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------- 卡片 ---------------- */
.card {
  background: linear-gradient(180deg, rgba(22,27,39,.75), rgba(14,17,25,.85));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 18px 40px -32px rgba(0,0,0,.9);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-head h3 { margin: 0; font-size: 14px; font-weight: 600; }
.note { display: flex; gap: 10px; font-size: 12.5px; color: var(--text-dim); line-height: 1.7; flex-wrap: wrap; }
.note b { color: var(--text); flex: none; }

.grid-2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
@media (max-width: 980px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------------- 统计 ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: linear-gradient(180deg, rgba(22,27,39,.8), rgba(13,16,23,.9));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,108,255,.2), transparent 70%);
}
.stat .label { font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.stat .value { font-size: 24px; font-weight: 650; margin-top: 6px; font-family: var(--mono); letter-spacing: -.5px; }
.stat .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------------- 键值列表 ---------------- */
.kv-list { display: flex; flex-direction: column; gap: 10px; }
.kv { display: flex; align-items: flex-start; gap: 14px; font-size: 12.5px; }
.kv > span:first-child { color: var(--muted); flex: none; width: 86px; }
.kv-val { color: var(--text-dim); word-break: break-all; flex: 1; }
.kv-val.mono { color: var(--accent-2); font-size: 12px; }

.steps { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.step { display: flex; gap: 10px; font-size: 12.5px; color: var(--text-dim); align-items: flex-start; }
.step b {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10.5px;
  background: rgba(124,108,255,.18); color: #b3a9ff;
}

pre.code {
  background: #070910;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
  color: #9fb0d0;
  overflow-x: auto;
  white-space: pre;
  margin: 0 0 12px;
}

/* ---------------- 表格 ---------------- */
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th {
  text-align: left; font-weight: 500; color: var(--muted);
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  padding: 0 12px 9px; border-bottom: 1px solid var(--border);
}
td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.045); vertical-align: middle; }
tbody tr:hover { background: rgba(255,255,255,.025); }
tbody tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }
.empty { text-align: center; color: var(--muted); font-size: 12.5px; padding: 28px 10px; }

.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; padding: 2px 8px; border-radius: 20px;
  background: rgba(255,255,255,.06); color: var(--text-dim);
  white-space: nowrap;
}
.tag-live { background: rgba(52,211,153,.13); color: var(--green); }
.tag-mock { background: rgba(251,191,36,.13); color: var(--amber); }
.tag-off { background: rgba(255,255,255,.05); color: var(--muted); }
.tag-err { background: rgba(248,113,113,.13); color: var(--red); }

/* ---------------- 凭证卡片 ---------------- */
.cred-list { display: flex; flex-direction: column; gap: 12px; }
.cred {
  background: linear-gradient(180deg, rgba(22,27,39,.75), rgba(14,17,25,.85));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  transition: border-color .15s;
}
.cred:hover { border-color: var(--border-strong); }
.cred-main { flex: 1; min-width: 220px; }
.cred-title { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13.5px; }
.cred-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 7px; font-size: 11.5px; color: var(--muted); }
.cred-meta span b { color: var(--text-dim); font-weight: 500; font-family: var(--mono); }
.cred-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: none; align-items: center; }
.cred-actions .btn { width: auto; }
.cred-actions select { width: auto; }

/* ---------------- 密钥展示 ---------------- */
.reveal {
  margin-top: 14px;
  border: 1px solid rgba(52,211,153,.35);
  background: rgba(52,211,153,.07);
  border-radius: 11px;
  padding: 13px 15px;
  animation: fade .3s ease;
}
.reveal-head { font-size: 12px; color: #6ee7b7; margin-bottom: 9px; }
.reveal-body { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.reveal-body code {
  flex: 1; min-width: 200px; background: rgba(0,0,0,.35);
  padding: 8px 11px; font-size: 12.5px; color: #d1fae5; word-break: break-all;
}

/* ---------------- 调试台 ---------------- */
.chat-log {
  background: #070910;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 14px;
  min-height: 220px;
  max-height: 460px;
  overflow-y: auto;
  margin: 6px 0 12px;
  display: flex; flex-direction: column; gap: 12px;
}
.msg { display: flex; gap: 10px; font-size: 13px; line-height: 1.7; }
.msg .who {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center; font-size: 11px; font-weight: 600;
}
.msg.user .who { background: rgba(34,211,238,.15); color: var(--accent-2); }
.msg.assistant .who { background: rgba(124,108,255,.18); color: #b3a9ff; }
.msg .body { flex: 1; white-space: pre-wrap; word-break: break-word; padding-top: 2px; }
.msg.err .body { color: #fca5a5; }
.pg-input { display: flex; gap: 10px; align-items: flex-end; }
.pg-input textarea { flex: 1; }
.pg-meta { margin-top: 8px; font-family: var(--mono); font-size: 11px; }

/* ---------------- 计费档位 ---------------- */
.tier-box {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
  border-radius: 12px;
  padding: 15px 16px;
  margin: 4px 0 16px;
}
.tier-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tier-title { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tier-badge {
  font-size: 10.5px; font-weight: 500; padding: 1px 8px; border-radius: 20px;
  background: rgba(124, 108, 255, 0.16); color: #b3a9ff;
}
.tier-badge.flex { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.tier-badge.priority { background: rgba(251, 191, 36, 0.15); color: var(--amber); }
.tier-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }
.tier-note {
  font-size: 11.5px; color: var(--muted); line-height: 1.75;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border);
}
.tier-note b { color: var(--text-dim); font-weight: 600; }

.segmented {
  display: inline-flex; gap: 4px;
  background: #0b0e15;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 4px;
}
.segmented button {
  background: transparent; border: none;
  color: var(--text-dim); font-family: inherit; font-size: 12.5px;
  padding: 7px 15px; border-radius: 8px; cursor: pointer;
  transition: all .16s; white-space: nowrap;
}
.segmented button:hover { color: var(--text); background: rgba(255, 255, 255, 0.045); }
.segmented button.active {
  background: linear-gradient(135deg, var(--accent), #5b8def);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(124, 108, 255, 1);
}

.link-btn {
  background: none; border: none; padding: 0 0 0 6px;
  color: var(--accent-2); font-family: inherit; font-size: 12px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.link-btn:hover { color: #67e8f9; }

/* ---------------- 模型候选 chip ---------------- */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip-label { font-size: 11.5px; color: var(--muted); }
.chip {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover {
  background: rgba(124, 108, 255, 0.14);
  border-color: rgba(124, 108, 255, 0.45);
  color: #c7c0ff;
  transform: translateY(-1px);
}

/* ---------------- 开关 ---------------- */
.switch-row { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 16px; }
.switch { display: flex; align-items: center; gap: 11px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.slider {
  width: 38px; height: 21px; border-radius: 20px; background: #262d3d;
  position: relative; transition: background .2s; flex: none;
}
.slider::after {
  content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px; transition: transform .2s;
}
.switch input:checked + .slider { background: linear-gradient(135deg, var(--accent), #5b8def); }
.switch input:checked + .slider::after { transform: translateX(17px); }
.switch-label { font-size: 12.5px; color: var(--text-dim); }

/* ---------------- 弹窗 ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4,6,10,.72);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fade .18s ease;
}
.modal {
  width: 100%; max-width: 560px;
  background: linear-gradient(180deg, #161b27, #0e1119);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: 0 40px 100px -30px #000;
  max-height: 88vh;
  display: flex; flex-direction: column;
  animation: pop .2s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 14.5px; }
.modal-body { padding: 18px 20px; overflow-y: auto; }
.modal-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

.drop {
  border: 1.5px dashed var(--border-strong);
  border-radius: 11px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  cursor: pointer;
  transition: all .15s;
  margin-bottom: 12px;
}
.drop:hover, .drop.over { border-color: rgba(124,108,255,.6); background: rgba(124,108,255,.06); color: var(--text-dim); }
.detect {
  font-size: 12px; font-family: var(--mono);
  background: rgba(52,211,153,.07); border: 1px solid rgba(52,211,153,.25);
  color: #6ee7b7; border-radius: 9px; padding: 9px 12px; margin-bottom: 12px;
  line-height: 1.7; word-break: break-all;
}
.detect.bad { background: rgba(248,113,113,.07); border-color: rgba(248,113,113,.3); color: #fca5a5; }

/* ---------------- Toast ---------------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 9px; align-items: center; }
.toast {
  background: rgba(22,27,39,.96);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text);
  box-shadow: 0 16px 40px -16px #000;
  animation: toastIn .22s ease;
  max-width: 520px;
}
.toast.ok { border-color: rgba(52,211,153,.4); }
.toast.err { border-color: rgba(248,113,113,.45); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------- 响应式 ---------------- */
@media (max-width: 780px) {
  .app { flex-direction: column; }
  .sidebar {
    width: 100%; height: auto; position: static;
    flex-direction: row; align-items: center; gap: 14px;
    padding: 12px 14px; overflow-x: auto;
    border-right: none; border-bottom: 1px solid var(--border);
  }
  .nav { flex-direction: row; margin-top: 0; gap: 2px; }
  .nav-item { padding: 7px 10px; font-size: 12.5px; white-space: nowrap; }
  .nav-item i { display: none; }
  .sidebar-foot { display: none; }
  .brand p { display: none; }
  .topbar, .view-wrap { padding-left: 16px; padding-right: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
