/* 三顾喵庐 · cloud-white workspace. Layout, color and type share one token system. */
:root {
  color-scheme: light;
  --desk: #f5f5f5; --paper: #fff; --ink: #18181b; --muted: #71717a;
  --green: #18181b; --green-hover: #09090b; --green-wash: #f4f4f5;
  --line: #d8d8dc; --orange: #b45309; --wash: #f4f4f5;
  --sidebar: #18181b; --sidebar-ink: #fafafa; --sidebar-muted: #a1a1aa;
  --seal: #dc2626;
  --shadow: 0 5px 22px rgb(0 0 0 / 4%);
  --serif: "Iowan Old Style", Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --line-soft: #ececf0;
}
html[data-theme="night"] {
  color-scheme: dark;
  --desk: #0b0b0c; --paper: #18181b; --ink: #fafafa; --muted: #a1a1aa;
  --green: #fafafa; --green-hover: #fff; --green-wash: #1f1f23;
  --line: #2e2e33; --orange: #fbbf24; --wash: #1f1f23;
  --sidebar: #09090b; --sidebar-ink: #fafafa; --sidebar-muted: #a1a1aa;
  --seal: #f87171;
  --line-soft: #26262b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--desk); color: var(--ink); font: 16px/1.65 var(--sans); }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, a, input, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--green); text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
button:disabled { opacity: .55; cursor: wait; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.3; margin-bottom: 10px; letter-spacing: -.02em; }
h2 { font-size: 21px; line-height: 1.45; margin-bottom: 10px; }
h3 { font-size: 17px; margin-bottom: 10px; }
p { margin-bottom: 12px; }
strong, b { font-weight: 650; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { display: block; font-size: 13px; letter-spacing: .12em; color: var(--orange); font-weight: 650; margin-bottom: 10px; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px; background: var(--paper); z-index: 100; }
.skip-link:focus { top: 10px; }
/* Navigation */
.sidebar { width: 264px; position: fixed; inset: 0 auto 0 0; background: var(--sidebar); color: var(--sidebar-ink); display: flex; flex-direction: column; z-index: 40; padding: 30px 20px 18px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--sidebar-ink); text-decoration: none; font: 700 24px/1.35 var(--serif); }
.brand small { display: block; font: 13px/1.7 var(--sans); color: var(--sidebar-muted); margin-top: 5px; }
.brand-mark { display: grid; place-items: center; color: #fff; background: #18181b; width: 46px; height: 48px; border-radius: 15px; font-size: 24px; flex: none; }
.house-card { display: flex; align-items: center; gap: 11px; margin: 28px 0 12px; padding: 14px 10px; border: 1px solid #ffffff20; border-radius: 14px; background: #ffffff06; }
.house-card img { width: 48px; height: 58px; object-fit: cover; object-position: top; border-radius: 24px 24px 12px 12px; }
.house-card strong { font-size: 14px; }
.house-card p { font-size: 13px; line-height: 1.5; margin: 4px 0 0; color: var(--sidebar-muted); }
nav .nav-label { font-size: 13px; letter-spacing: .12em; color: var(--sidebar-muted); margin: 22px 12px 7px; }
nav a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sidebar-muted); padding: 11px 12px; border-radius: 10px; min-height: 46px; font-size: 15px; margin: 4px 0; }
nav a > span { width: 20px; text-align: center; font-size: 20px; line-height: 1; flex: none; }
nav a small { margin-left: auto; font-size: 12px; white-space: nowrap; }
nav a:hover { background: #ffffff0d; color: #fff; }
nav a[aria-current] { background: #f4f4f5; color: #18181b; font-weight: 650; }
.sidebar-foot { font-size: 13px; display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 30px 4px 2px; color: var(--sidebar-muted); flex-wrap: wrap; }
.sidebar-foot a { margin-left: auto; color: var(--sidebar-muted); text-decoration: none; }
.status-dot { width: 6px; height: 6px; background: #adcebc; border-radius: 50%; }
.workspace { margin-left: 264px; min-width: 0; }
.topbar { min-height: 80px; border-bottom: 1px solid var(--line); padding: 12px 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); position: sticky; top: 0; z-index: 20; }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }
.breadcrumb { font-size: 14px; color: var(--muted); }
.breadcrumb span { margin: 0 10px; color: var(--muted); opacity: .6; }
.breadcrumb b { font-weight: 550; color: var(--ink); }
.help-link { font-size: 14px; text-decoration: none; white-space: nowrap; }
.private-pill { font-size: 13px; border: 1px solid var(--line); background: var(--green-wash); padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.icon-button { display: none; background: var(--paper); border: 1px solid var(--line); min-width: 44px; height: 44px; border-radius: 10px; color: var(--green); font-size: 20px; }
#theme-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font-size: 14px; white-space: nowrap; }
.text-button { border: 0; background: transparent; color: var(--muted); padding: 8px; font-size: 14px; min-height: 44px; }
/* Page structure and controls */
main { max-width: 1600px; margin: 0 auto; padding: 38px 40px 24px; min-width: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.page-heading p { margin: 0; font-size: 16px; }
.refresh-area { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.primary { background: var(--green); color: var(--paper); }
.primary:hover { background: var(--green-hover); }
html[data-theme="night"] .primary { background: #9ed5ba; color: #102e21; }
html[data-theme="night"] .primary:hover { background: #b8e8cf; }
.secondary { background: var(--paper); border-color: var(--line); color: var(--ink); }
.secondary:hover { border-color: var(--green); background: var(--wash); }
.action-row { display: flex; gap: 10px; flex-wrap: wrap; }
.panel { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 24px; min-width: 0; box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 22px 0; }
.panel-heading p { font-size: 16px; margin: 0; max-width: 680px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0 10px; }
.section-title h2 { margin: 0; }
.panel .section-title { margin: 0 0 24px; }
.section-title > a { font-size: 14px; text-decoration: none; }
.badge { font-size: 13px; display: inline-block; padding: 3px 9px; color: var(--muted); border: 1px solid var(--line); background: var(--wash); border-radius: 6px; white-space: nowrap; }
input, select { max-width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); padding: 12px; min-height: 46px; }
input:focus, select:focus { border-color: var(--green); }
.search-label { display: block; font-size: 14px; color: var(--muted); margin: 16px 0 6px; }
.search { width: 100%; max-width: 600px; }
.list-meta { display: flex; gap: 16px; flex-wrap: wrap; margin: 16px 0 22px; font-size: 14px; color: var(--muted); }
.notice, .ledger-note { font-size: 14px; color: var(--muted); margin: 24px 0; padding: 18px 20px; border-left: 3px solid var(--orange); background: var(--wash); border-radius: 0 10px 10px 0; }
.empty { font-size: 16px; color: var(--muted); padding: 24px 0; margin: 0; }
.feedback { font-size: 14px; color: var(--orange); min-height: 22px; overflow-wrap: anywhere; }
/* Overview */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.metric { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; display: flex; gap: 14px; align-items: flex-start; min-width: 0; box-shadow: var(--shadow); }
.metric > div { min-width: 0; }
.metric-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 23px; flex: none; }
.green { background: #e6f2e9; color: #326449; }
.blue { background: #e9eef5; color: #406183; }
.ochre { background: #f7eedf; color: #8a632d; }
.rose { background: #f5eae6; color: #945d50; }
.metric h2 { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 12px; }
.metric strong { display: block; font-size: clamp(26px, 2.3vw, 34px); font-weight: 650; line-height: 1.15; letter-spacing: -.04em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.metric p { font-size: 13px; color: var(--muted); margin: 11px 0 0; line-height: 1.55; }
.compact .metric { padding: 22px; }
.compact .metric strong { font-size: 29px; }
.quick-start { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--green-wash); padding: 28px 32px; }
.quick-start h2 { font-family: var(--serif); font-size: 27px; font-weight: 600; margin: 0 0 9px; }
.quick-start p { color: var(--muted); font-size: 16px; margin: 0; max-width: 560px; }
.distribution { display: grid; gap: 20px; }
.distribution-row { min-width: 0; }
.distribution-label { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; margin-bottom: 7px; }
.distribution-label span { overflow-wrap: anywhere; }
.distribution-label b { white-space: nowrap; font-weight: 500; color: var(--muted); }
progress { appearance: none; -webkit-appearance: none; width: 100%; height: 8px; border: 0; border-radius: 5px; overflow: hidden; background: var(--wash); }
progress::-webkit-progress-bar { background: var(--wash); border-radius: 5px; }
progress::-webkit-progress-value { background: var(--green); border-radius: 5px; }
progress::-moz-progress-bar { background: var(--green); border-radius: 5px; }

/* 模型卡：三国头像 + 状态 + 复制，和首页同一套语言 */
.model-card .mc-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mc-face { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; object-position: top center; background: var(--wash); flex: none; }
.mc-id { min-width: 0; flex: 1 1 auto; }
.mc-id strong { display: block; font-size: 16px; line-height: 1.4; }
.mc-id span { display: block; font-size: 12px; color: var(--muted); }
.mc-copy { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); font-size: 14px; line-height: 1; padding: 0; }
.mc-copy:hover { color: var(--green); border-color: var(--green); }
.mc-line { font-size: 13px; color: var(--muted); margin: 12px 0 0; line-height: 1.65; }
/* 覆盖 .model-card code 的底色 */
.model-card .mc-code { font: 11.5px/1.6 var(--mono); color: var(--muted); display: block; word-break: break-all; margin: 8px 0 0; padding: 0; background: transparent; border-radius: 0; }
.mc-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; background: var(--wash); color: var(--muted); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-live { background: #e9f4ed; color: #2a7a52; }
html[data-theme="night"] .st-live { background: #1d3327; color: #8ed4ae; }
.mc-note { margin-left: auto; font-size: 11.5px; color: var(--muted); }

/* Models and keys */
.model-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); margin: 20px 0; }
.model-tools .search { flex: 1 1 240px; max-width: none; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-pill { min-height: 44px; padding: 8px 14px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); border-radius: 24px; font-size: 14px; }
.filter-pill:hover { border-color: var(--green); }
.filter-pill[aria-pressed="true"], .filter-pill.active { background: var(--green); color: var(--paper); border-color: var(--green); }
.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; min-width: 0; box-shadow: var(--shadow); }
.model-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.model-title { font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.model-avatar { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; object-position: top; flex: none; background: var(--wash); }
.model-source { font-size: 13px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.model-card h3 { overflow-wrap: anywhere; }
.model-card code { font: 13px/1.6 var(--mono); overflow-wrap: anywhere; display: block; color: var(--muted); background: var(--wash); padding: 10px 12px; border-radius: 8px; margin: 14px 0; }
.model-card p { font-size: 14px; color: var(--muted); margin: 14px 0; }
.model-card .button { font-size: 14px; min-height: 44px; }
.model-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; padding: 16px 0; border-block: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.model-specs > * { min-width: 0; overflow-wrap: anywhere; }
.model-specs strong { display: block; color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; margin-top: 4px; }
.model-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
/* Wallet */
.wallet-hero { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 36px; margin-bottom: 24px; border-radius: 20px; color: #f1f7f2; background: #174b40; overflow: hidden; }
.wallet-hero .muted, .wallet-hero p { color: #c3d8cd; }
.wallet-hero .eyebrow { color: #e3c592; }
.wallet-hero .wallet-value { color: #fff; }
.wallet-hero .button.secondary { color: #174b40; background: #f5f8f5; border-color: #f5f8f5; }
.wallet-value { font-size: clamp(34px, 4vw, 52px); line-height: 1.2; letter-spacing: -.04em; font-variant-numeric: tabular-nums; font-weight: 650; display: block; margin: 12px 0; overflow-wrap: anywhere; }
.wallet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.wallet-card { padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); min-width: 0; }
.wallet-card p { font-size: 14px; color: var(--muted); }
.wallet-card strong { display: block; font-size: 26px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin: 12px 0; }
/* Logs, security and login */
.table-panel { padding: 0; overflow: hidden; }
.table-scroll { overflow-x: auto; max-width: 100%; padding: 5px 0; }
table { border-collapse: collapse; min-width: 750px; width: 100%; font-size: 14px; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 17px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 13px; color: var(--muted); font-weight: 550; background: var(--wash); }
td:nth-child(2) { max-width: 360px; white-space: normal; overflow-wrap: anywhere; }
tbody tr:last-child td { border: 0; }
tbody tr:hover { background: var(--wash); }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.security-grid p { font-size: 16px; }
dl { font-size: 14px; margin: 22px 0; }
dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.admin-links a { display: flex; justify-content: space-between; text-decoration: none; font-size: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 42px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer a { text-decoration: none; }
.gate { display: grid; grid-template-columns: .85fr 1fr; max-width: 900px; margin: 6vh auto 40px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 65px rgb(23 55 44 / 6%); background: var(--paper); }
.gate-art { background: var(--green-wash); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 36px; }
.gate-art img { max-width: 100%; height: auto; border-radius: 80px 80px 24px 24px; }
.gate-art p { margin: 28px 0 0; font: 20px var(--serif); color: var(--green); letter-spacing: .08em; }
.gate-form { padding: 44px 36px; }
.gate-form > p { font-size: 16px; margin: 18px 0; }
.gate-form label { display: block; margin: 16px 0 6px; font-size: 14px; }
.gate-form input { width: 100%; }
.gate-form .button { width: 100%; margin: 24px 0 12px; }
.gate-form .feedback { margin-bottom: 14px; }
.scrim { display: none; }
/* Responsive layout */
@media (max-width: 1350px) {
  main { padding: 32px 28px; }
  .topbar { padding-inline: 28px; }
  .metric { flex-direction: column; }
  .quick-start { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 1100px) {
  .sidebar { width: 244px; padding-inline: 16px; }
  .workspace { margin-left: 244px; }
  .metric-grid, .model-grid, .wallet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { flex-direction: row; }
  .wallet-hero { align-items: flex-start; flex-direction: column; }
  .help-link { display: none; }
  .gate { grid-template-columns: .7fr 1fr; }
  .gate-art { padding: 24px; }
  .gate-art p { font-size: 18px; }
  .gate-form { padding: 32px 26px; }
}
@media (max-width: 800px) {
  .sidebar { transform: translateX(-100%); transition: transform .18s ease; width: 280px; box-shadow: 12px 0 30px #112c231f; }
  .sidebar.open { transform: translateX(0); }
  .workspace { margin-left: 0; }
  #menu { display: block; }
  .scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 35; border: 0; background: #0c211a80; }
  .topbar { min-height: 72px; padding: 10px 20px; }
  .topbar-left, .topbar-actions { gap: 10px; }
  main { padding: 28px 20px; }
  .page-heading { align-items: flex-start; }
  .page-heading h1 { font-size: 29px; }
  .metric-grid { gap: 14px; }
  .metric { padding: 22px 18px; }
  .metric strong { font-size: 30px; }
  .security-grid { grid-template-columns: 1fr; }
  .gate { margin-top: 28px; }
  .model-grid { gap: 14px; }
}
@media (max-width: 560px) {
  .topbar { min-height: 68px; padding-inline: 14px; }
  .breadcrumb { font-size: 0; }
  .breadcrumb > span { display: none; }
  .breadcrumb b { font-size: 14px; }
  .private-pill { display: none; }
  #theme-toggle { padding-inline: 10px; }
  .topbar-actions { gap: 6px; }
  main { padding: 24px 16px; }
  .page-heading { display: block; margin-bottom: 24px; }
  .refresh-area { margin-top: 18px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
  .refresh-area .button { padding-inline: 12px; flex: none; }
  .refresh-area .small { text-align: right; }
  .metric { padding: 19px 15px; gap: 12px; flex-direction: column; }
  .metric strong { font-size: 28px; }
  .metric h2 { margin-bottom: 9px; }
  .metric-grid { gap: 12px; margin-bottom: 24px; }
  .compact .metric { padding: 19px 15px; }
  .compact .metric strong { font-size: 27px; }
  .panel { padding: 24px 20px; }
  .quick-start h2 { font-size: 25px; }
  .action-row { width: 100%; }
  .action-row .button { flex: 1; padding-inline: 10px; }
  .table-panel { padding: 0; }
  .section-title { align-items: flex-start; }
  .section-title h2 { font-size: 20px; }
  .section-title > a { flex: none; }
  .panel-heading { display: block; }
  .panel-heading .button { margin-top: 16px; width: 100%; }
  .model-grid, .wallet-grid { grid-template-columns: 1fr; }
  .model-card { padding: 22px; }
  .model-card code { user-select: all; }
  .model-tools { padding: 14px; }
  .model-tools .search, .model-tools select { width: 100%; }
  .model-actions .button { flex: 1; }
  .wallet-hero { padding: 28px 24px; }
  .wallet-card { padding: 24px; }
  .gate { display: block; margin: 8px 0 28px; }
  .gate-art { padding: 24px; flex-direction: row; gap: 18px; }
  .gate-art img { width: 65px; height: 75px; object-fit: cover; }
  .gate-art p { font-size: 18px; margin: 0; letter-spacing: 0; }
  .gate-form { padding: 30px 24px; }
  .gate-form h1 { font-size: 32px; }
  .security-grid { gap: 0; }
  footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sidebar { transition: none; }
}

/* 用量卡：头像 + 调用次数绿杆 + 消耗 */
.u-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.u-num { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.u-bar { flex: 1 1 auto; min-width: 40px; height: 5px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.u-bar i { display: block; height: 100%; background: #22c55e; border-radius: 99px; }
.u-cost { font-size: 12.5px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b1{width:5%}.b2{width:10%}.b3{width:15%}.b4{width:20%}.b5{width:25%}.b6{width:30%}.b7{width:35%}.b8{width:40%}.b9{width:45%}.b10{width:50%}.b11{width:55%}.b12{width:60%}.b13{width:65%}.b14{width:70%}.b15{width:75%}.b16{width:80%}.b17{width:85%}.b18{width:90%}.b19{width:95%}.b20{width:100%}
/* 管理分组：默认收起，点开才展开（对标 New API 控制台的四段式侧栏） */
nav details.nav-group { margin: 0; }
nav details.nav-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; letter-spacing: .12em; color: var(--sidebar-muted); margin: 22px 12px 7px; }
nav details.nav-group > summary::-webkit-details-marker { display: none; }
nav details.nav-group > summary span { transition: transform .15s; }
nav details.nav-group[open] > summary span { transform: rotate(180deg); }
nav details.nav-group[open] > summary { color: #d8d8dc; }
