[data-theme="light"], :root {
    --bg: #f8fafc; --card: #fff; --border: #e2e8f0; --text: #0f172a; --text-muted: #64748b;
    --primary: #2563eb; --primary-hover: #1d4ed8; --radius: 14px; --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08); --ok-bg: #ecfdf5; --ok-text: #047857; --ok-border: #a7f3d0;
    --bg-elevated: #fff; --portal-dd-bg: #fff; --portal-dd-hover: rgba(0,0,0,0.06); --portal-dd-active: rgba(37,99,235,0.1);
    --portal-nav-h: 56px; --portal-top-radius: 8px; --hover-bg: rgba(0,0,0,0.04);
    --cp-sidebar-width: 220px; --cp-menu-radius: 8px; --active-bg: rgba(37, 99, 235, 0.1);
    /* 与门户顶栏 #dlPortalShell .portal-topbar-inner 一致：max-width 1400px + 左右 24px 内边距 */
    --cp-shell-max: 1400px;
}
[data-theme="dark"] { --bg: #0c0c0f; --card: #141418; --border: #27272a; --text: #f4f4f5; --text-muted: #a1a1aa; --primary: #3b82f6; --primary-hover: #60a5fa; --shadow: 0 4px 24px rgba(0,0,0,0.4); --ok-bg: rgba(16,185,129,0.15); --ok-text: #6ee7b7; --ok-border: rgba(52,211,153,0.35); --bg-elevated: #141418; --portal-dd-bg: #222226; --portal-dd-hover: rgba(255,255,255,0.08); --portal-dd-active: rgba(59,130,246,0.18); --portal-nav-h: 56px; --portal-top-radius: 8px; --hover-bg: rgba(255,255,255,0.06); --active-bg: rgba(59, 130, 246, 0.12); }
[data-theme="warm"] { --bg: #faf6f1; --card: #fffdf9; --border: #e8dcd2; --text: #2d2520; --text-muted: #7a6b63; --primary: #c2410c; --primary-hover: #9a3412; --ok-bg: #ecfdf5; --ok-text: #047857; --ok-border: #a7f3d0; --bg-elevated: #fffdf9; --portal-dd-bg: #fffdf9; --portal-dd-hover: rgba(0,0,0,0.05); --portal-dd-active: rgba(194,65,12,0.12); --portal-nav-h: 56px; --portal-top-radius: 8px; --hover-bg: rgba(0,0,0,0.04); --active-bg: rgba(194, 65, 12, 0.12); }
[data-theme="ocean"] { --bg: #0a1628; --card: #132f4c; --border: #1e4976; --text: #e3f2fd; --text-muted: #90caf9; --primary: #29b6f6; --primary-hover: #03a9f4; --ok-bg: rgba(16,185,129,0.2); --ok-text: #6ee7b7; --ok-border: rgba(52,211,153,0.4); --bg-elevated: #132f4c; --portal-dd-bg: #1a3a5c; --portal-dd-hover: rgba(255,255,255,0.1); --portal-dd-active: rgba(41,182,246,0.2); --portal-nav-h: 56px; --portal-top-radius: 8px; --hover-bg: rgba(255,255,255,0.08); --active-bg: rgba(41, 182, 246, 0.2); }

html.admin-iframe-page-html.compute-portal-html * { box-sizing: border-box; }
html.admin-iframe-page-html.compute-portal-html body.admin-iframe-page { margin: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
html.admin-iframe-page-html.compute-portal-html a { color: var(--primary); text-decoration: none; }
html.admin-iframe-page-html.compute-portal-html a:hover { color: var(--primary-hover); text-decoration: underline; }

html.dl-embed-in-frame .dl-wrap { padding-top: 0; }
html.dl-embed-in-frame #dlPortalShell { display: none !important; }
html.dl-embed-in-frame .cp-sidebar { display: none !important; }
html.dl-embed-in-frame .cp-shell-inner { display: block; }
html.dl-embed-in-frame .cp-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none;
    margin-left: 0 !important;
}
html.dl-has-portal-shell body.admin-iframe-page:not(.bm-index-embed) {
    display: flex; flex-direction: column;
    min-height: 100vh; height: auto; overflow: hidden;
    padding-top: var(--portal-nav-h);
}
html.dl-has-portal-shell body.admin-iframe-page:not(.bm-index-embed) .admin-iframe-scroll {
    flex: 1; min-height: 0; max-height: none;
}

/**
 * 算力部署三页：与控制台壳一致——主区贴顶栏无额外留白、侧栏贴视口左侧；
 * 覆盖 admin-iframe-page.css 中单页的大 padding 与 clientdownload 的居中 max-width。
 */
html.admin-iframe-page-html.compute-portal-html.dl-has-portal-shell body.admin-iframe-page:not(.bm-index-embed) .admin-iframe-scroll {
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
html.admin-iframe-page-html.compute-portal-html.dl-has-portal-shell body.admin-iframe-page:not(.bm-index-embed) .admin-iframe-inner.admin-iframe-inner--clientdownload {
    max-width: none !important;
    width: 100%;
    margin: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
#dlPortalShell { flex-shrink: 0; }
#dlPortalShell .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--portal-nav-h);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
#dlPortalShell .topbar-inner.portal-topbar-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    min-height: var(--portal-nav-h);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: nowrap; gap: 16px;
}
#dlPortalShell .portal-nav-left { display: flex; align-items: center; gap: 24px; min-width: 0; flex: 1; }
#dlPortalShell .portal-logo {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
    font-size: 1.25rem; font-weight: 600; color: var(--text);
    text-decoration: none; letter-spacing: -0.02em;
}
#dlPortalShell .portal-logo:hover { text-decoration: none; color: var(--text); }
#dlPortalShell .portal-logo .logo-svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; }
#dlPortalShell .portal-top-links { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; min-width: 0; }
#dlPortalShell .portal-top-link {
    font-size: 0.875rem; color: var(--text-muted); text-decoration: none;
    padding: 8px 12px; border-radius: var(--portal-top-radius);
    border-bottom: 2px solid transparent; white-space: nowrap; flex-shrink: 0;
}
#dlPortalShell .portal-top-link:hover { color: var(--primary); background: transparent; text-decoration: none; }
#dlPortalShell .portal-top-link.portal-top-active { color: var(--primary); font-weight: 500; border-bottom-color: var(--primary); }
#dlPortalShell .portal-nav-right { display: flex; align-items: center; gap: 2px; flex-shrink: 0; flex-wrap: nowrap; }
#dlPortalShell .nav-actions { display: contents; }
#dlPortalShell .portal-hamburger {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0; padding: 0; border: none;
    background: transparent; color: var(--text); border-radius: var(--radius-sm);
    cursor: pointer; flex-shrink: 0;
}
#dlPortalShell .portal-hamburger:hover { background: var(--hover-bg); }
#dlPortalShell .portal-hamburger svg { width: 22px; height: 22px; }
body.portal-nav-collapsed-dl #dlPortalShell .portal-hamburger { display: inline-flex !important; }
body.portal-nav-collapsed-dl #dlPortalShell .topbar-inner.portal-topbar-inner { gap: 8px; }
body.portal-nav-collapsed-dl #dlPortalShell .portal-nav-left { gap: 2px; }
body.portal-nav-collapsed-dl #dlPortalShell .portal-hamburger { width: 40px; height: 40px; min-width: 40px; }
body.portal-nav-collapsed-dl #dlPortalShell .portal-top-links {
    position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important;
    margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; border: 0 !important;
}
#dlPortalShell .portal-drawer-backdrop {
    display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.4); z-index: 200;
}
body.portal-drawer-open-dl #dlPortalShell .portal-drawer-backdrop { display: block; }
#dlPortalShell .portal-drawer {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(300px, 88vw); max-width: 320px;
    background: var(--bg-elevated); border-right: 1px solid var(--border); z-index: 201;
    transform: translateX(-100%); transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    padding: 20px 0; overflow-y: auto; box-shadow: 8px 0 32px rgba(0,0,0,0.1);
}
body.portal-drawer-open-dl #dlPortalShell .portal-drawer { transform: translateX(0); }
#dlPortalShell .portal-drawer nav a {
    display: block; padding: 14px 24px; color: var(--text-muted); font-weight: 500; text-decoration: none;
    border-left: 2px solid transparent;
}
#dlPortalShell .portal-drawer nav a:hover { color: var(--primary); background: var(--hover-bg); text-decoration: none; }
#dlPortalShell .portal-drawer nav a.portal-drawer-active {
    color: var(--primary); font-weight: 600; border-left-color: var(--primary); background: var(--hover-bg);
}
#dlPortalShell .portal-drawer nav a.cp-drawer-sublink {
    padding-left: 36px; font-size: 0.875rem; font-weight: 450;
}
#dlPortalShell .theme-dropdown-portal { position: relative; z-index: 5; }
#dlPortalShell .theme-dropdown-portal::after {
    content: ''; position: absolute; left: -6px; right: -6px; top: 100%; height: 18px; z-index: 209;
}
#dlPortalShell .theme-dropdown-portal:hover .portal-theme-menu,
#dlPortalShell .theme-dropdown-portal:focus-within .portal-theme-menu { display: block; }
#dlPortalShell .theme-dropdown-portal.theme-dd-picked .portal-theme-menu { display: none !important; }
#dlPortalShell .theme-toggle-portal {
    width: 36px; height: 36px; min-width: 36px; padding: 0;
    border: none; border-radius: var(--portal-top-radius);
    background: transparent; color: var(--text-muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
#dlPortalShell .theme-toggle-portal:hover { color: var(--primary); background: transparent; }
#dlPortalShell .theme-toggle-portal svg { width: 18px; height: 18px; }
#dlPortalShell .portal-nav-action {
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; min-height: 36px; padding: 0 6px;
    border: none; border-radius: var(--portal-top-radius);
    background: transparent; color: var(--text-muted);
    font-size: 0.875rem; font-family: inherit;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    box-sizing: border-box; transition: color 0.15s, background 0.15s;
}
#dlPortalShell .portal-nav-action:hover { color: var(--primary); background: transparent; text-decoration: none; }
#dlPortalShell .portal-theme-menu {
    display: none; position: absolute; top: calc(100% + 10px); right: 0;
    width: min(204px, calc(100vw - 20px)); max-width: calc(100vw - 20px);
    box-sizing: border-box; padding: 8px 10px 10px; z-index: 210;
    border-radius: 10px; background: #fff; border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
#dlPortalShell .portal-theme-menu::before {
    content: ''; position: absolute; top: -5px; right: 14px;
    width: 9px; height: 9px; background: #fff;
    border-left: 1px solid #e2e8f0; border-top: 1px solid #e2e8f0;
    transform: rotate(45deg);
}
#dlPortalShell .portal-theme-option {
    display: block; width: 100%; text-align: left; padding: 8px 8px; font-size: 0.8125rem;
    border: none; background: none; cursor: pointer; font-family: inherit;
    color: #334155; border-radius: 6px;
}
#dlPortalShell .portal-theme-option:hover { background: #f1f5f9; color: #334155; }
#dlPortalShell .portal-theme-option.active { color: #2563eb; font-weight: 600; background: #eff6ff; }
[data-theme="dark"] #dlPortalShell .portal-theme-menu {
    background: #27272a; border-color: #3f3f46;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] #dlPortalShell .portal-theme-menu::before {
    background: #27272a; border-color: #3f3f46;
}
[data-theme="dark"] #dlPortalShell .portal-theme-option { color: #e4e4e7; }
[data-theme="dark"] #dlPortalShell .portal-theme-option:hover { background: #3f3f46; color: #fafafa; }
[data-theme="dark"] #dlPortalShell .portal-theme-option.active { color: #93c5fd; font-weight: 600; background: rgba(59, 130, 246, 0.22); }
[data-theme="warm"] #dlPortalShell .portal-theme-menu {
    background: #fffdf9; border-color: #e8dcd2;
    box-shadow: 0 10px 36px rgba(45, 37, 32, 0.12), 0 0 0 1px rgba(232, 220, 210, 0.85);
}
[data-theme="warm"] #dlPortalShell .portal-theme-menu::before {
    background: #fffdf9; border-color: #e8dcd2;
}
[data-theme="warm"] #dlPortalShell .portal-theme-option { color: #292524; }
[data-theme="warm"] #dlPortalShell .portal-theme-option:hover { background: #faf5f0; color: #1c1917; }
[data-theme="warm"] #dlPortalShell .portal-theme-option.active { color: #c2410c; font-weight: 600; background: #ffedd5; }
[data-theme="ocean"] #dlPortalShell .portal-theme-menu {
    background: #152a45; border-color: #2d5a8a;
    box-shadow: 0 14px 44px rgba(0, 10, 30, 0.5), 0 0 0 1px rgba(100, 180, 255, 0.14);
}
[data-theme="ocean"] #dlPortalShell .portal-theme-menu::before {
    background: #152a45; border-color: #2d5a8a;
}
[data-theme="ocean"] #dlPortalShell .portal-theme-option { color: #e0f4fc; }
[data-theme="ocean"] #dlPortalShell .portal-theme-option:hover { background: #1e3a5c; color: #ffffff; }
[data-theme="ocean"] #dlPortalShell .portal-theme-option.active { color: #7dd3fc; font-weight: 600; background: rgba(41, 182, 246, 0.28); }
#dlPortalShell .portal-user-wrap {
    position: relative; z-index: 5; display: inline-flex; align-items: center;
    min-height: 36px;
}
#dlPortalShell .portal-user-wrap::after {
    content: ''; position: absolute; left: -10px; right: -10px; top: 100%; height: 16px; z-index: 209;
}
#dlPortalShell .portal-user-wrap:hover .portal-user-panel,
#dlPortalShell .portal-user-wrap:focus-within .portal-user-panel { display: block; }
#dlPortalShell .portal-user-wrap.portal-dd-picked .portal-user-panel { display: none !important; }
#dlPortalShell .portal-avatar-btn {
    width: 24px; height: 24px; border-radius: 50%; border: none;
    background: transparent; cursor: pointer; padding: 0; overflow: hidden; font-family: inherit; flex-shrink: 0;
}
#dlPortalShell .portal-avatar-btn .portal-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
#dlPortalShell .portal-user-panel {
    display: none; position: absolute; top: calc(100% + 10px); right: 0;
    width: min(204px, calc(100vw - 20px)); max-width: calc(100vw - 20px);
    box-sizing: border-box;
    background: var(--portal-dd-bg); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
    padding: 8px 10px 10px; z-index: 210;
}
#dlPortalShell .portal-user-panel::before {
    content: ''; position: absolute; top: -5px; right: 14px;
    width: 9px; height: 9px; background: var(--portal-dd-bg);
    border-left: 1px solid var(--border); border-top: 1px solid var(--border);
    transform: rotate(45deg);
}
#dlPortalShell .portal-user-panel .pu-head { padding: 8px 4px 12px; margin: 0 0 4px; border-bottom: 1px solid var(--border); }
#dlPortalShell .portal-user-panel .pu-name { font-weight: 700; font-size: 0.9375rem; word-break: break-all; color: var(--text); }
#dlPortalShell .portal-user-panel .pu-id { margin-top: 10px; font-size: 0.8125rem; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#dlPortalShell .portal-user-panel code { font-size: 0.8125rem; background: none; padding: 0; font-family: ui-monospace, monospace; max-width: 120px; overflow: hidden; text-overflow: ellipsis; color: var(--text-muted); }
#dlPortalShell .portal-copy { padding: 2px 8px; font-size: 0.6875rem; border: 1px solid var(--border); border-radius: 4px; background: transparent; cursor: pointer; color: var(--text-muted); }
#dlPortalShell .portal-user-panel .pu-exit {
    display: block; padding: 10px 8px 4px; margin-top: 2px; color: #dc2626; text-decoration: none;
    font-size: 0.8125rem; border-radius: 6px;
}
#dlPortalShell .portal-user-panel .pu-exit:hover { background: rgba(220,38,38,0.08); }
#dlPortalShell .hidden { display: none !important; }
@media (max-width: 767px) {
    #dlPortalShell .portal-topbar-inner {
        padding-left: max(10px, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(10px, env(safe-area-inset-right, 0px)) !important;
    }
}

.cp-shell-inner {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    flex: 1 1 auto;
    min-height: 0;
}
/**
 * 侧栏：固定于视口左侧、顶栏正下方，不随主栏滚动（对齐「悬浮锁定」）；
 * z-index 低于顶栏(100)。
 */
html.admin-iframe-page-html.compute-portal-html.dl-has-portal-shell .cp-sidebar {
    position: fixed;
    z-index: 50;
    top: var(--portal-nav-h);
    left: env(safe-area-inset-left, 0px);
    bottom: 0;
    width: var(--cp-sidebar-width);
    padding: 16px 0;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    border-right: 1px solid var(--border);
    background: var(--card);
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.cp-side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
}
html.admin-iframe-page-html.compute-portal-html .cp-sidebar a.cp-side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 0 var(--cp-menu-radius) var(--cp-menu-radius) 0;
    margin: 0 0 0 8px;
    transition: color 0.15s, background 0.15s;
    border-left: none;
    font-weight: 500;
}
html.admin-iframe-page-html.compute-portal-html .cp-sidebar a.cp-side-link:hover {
    color: var(--text);
    background: var(--hover-bg);
    text-decoration: none;
}
html.admin-iframe-page-html.compute-portal-html .cp-sidebar a.cp-side-link.cp-side-active {
    color: var(--primary);
    background: var(--active-bg);
    text-decoration: none;
    font-weight: 500;
}
.cp-side-link .menu-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cp-side-link .menu-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}
.cp-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    margin-left: calc(env(safe-area-inset-left, 0px) + var(--cp-sidebar-width));
    padding: 32px max(24px, env(safe-area-inset-right, 0px)) 48px 0;
    background: var(--bg);
    overflow-x: hidden;
}
/* 正文区：与顶栏 .portal-topbar-inner 同宽居中（1400 + 内边距 24） */
.cp-main > .cp-article,
.cp-main > .dl-wrap {
    box-sizing: border-box;
    max-width: var(--cp-shell-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
/* 正文排版对齐 docs.html：.doc-page-title / .doc-page-subtitle / .doc-section */
.cp-article h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    color: var(--text);
}
.cp-article .cp-lead {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0 0 24px 0;
    line-height: 1.7;
    max-width: none;
}
.cp-article h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 32px 0 12px 0;
    padding: 0;
    border: none;
    color: var(--text);
}
.cp-article > h2:first-of-type { margin-top: 0; }
.cp-article h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--text);
}
.cp-article p {
    font-size: 0.9375rem;
    color: var(--text);
    margin: 0 0 12px 0;
    line-height: 1.7;
}
.cp-article ul, .cp-article ol {
    margin: 0 0 12px 0;
    padding-left: 20px;
    font-size: 0.9375rem;
    color: var(--text);
}
.cp-article li { margin-bottom: 6px; line-height: 1.7; }
.cp-article a {
    color: var(--primary);
    text-decoration: none;
}
html.admin-iframe-page-html.compute-portal-html .cp-article a:hover {
    text-decoration: underline;
    color: var(--primary-hover);
}
.cp-article .cp-note {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    font-size: 0.875rem;
    color: var(--text);
}
[data-theme="dark"] .cp-article .cp-note {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
}
.cp-article code {
    font-size: 0.875em;
    background: var(--hover-bg);
    padding: 2px 6px;
    border-radius: 4px;
}
.cp-article pre.cp-code {
    margin: 12px 0;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--hover-bg);
    border: 1px solid var(--border);
    overflow-x: auto;
    font-size: 0.8125rem;
    line-height: 1.5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
}

/* 算力接入页 .dl-wrap：与 docs 文档区标题/段落节奏一致 */
.cp-main > .dl-wrap .dl-hero h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
    color: var(--text);
}
.cp-main > .dl-wrap .dl-hero .sub {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0 0 24px 0;
    line-height: 1.7;
    max-width: none;
}
.cp-main > .dl-wrap .dl-section {
    margin-bottom: 32px;
}
.cp-main > .dl-wrap .dl-section > h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    padding: 0;
    border: none;
    color: var(--text);
}
.cp-main > .dl-wrap .dl-section > .sec-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    line-height: 1.7;
}
.cp-main > .dl-wrap .dl-footnote {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.cp-main > .dl-wrap .dl-footnote code {
    font-size: 0.875em;
    background: var(--hover-bg);
    padding: 2px 6px;
    border-radius: 4px;
}
[data-theme="dark"] .cp-main > .dl-wrap .dl-footnote code { background: rgba(255,255,255,0.08); }
/* 算力接入页：全局 a { color: var(--primary) } 特异性高于 .btn-primary，主按钮字色被盖成蓝底蓝字 */
html.admin-iframe-page-html.compute-portal-html .cp-main > .dl-wrap a.btn-primary {
    color: #fff;
}
html.admin-iframe-page-html.compute-portal-html .cp-main > .dl-wrap a.btn-primary:hover {
    color: #fff;
    text-decoration: none;
}
html.admin-iframe-page-html.compute-portal-html .cp-main > .dl-wrap a.btn-secondary {
    color: var(--text);
}
html.admin-iframe-page-html.compute-portal-html .cp-main > .dl-wrap a.btn-secondary:hover {
    color: var(--primary);
    text-decoration: none;
}
@media (max-width: 900px) {
    html.admin-iframe-page-html.compute-portal-html.dl-has-portal-shell .cp-sidebar {
        position: static;
        width: 100%;
        max-width: none;
        height: auto;
        bottom: auto;
        left: auto;
        overflow: visible;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 12px 0 16px;
        padding-bottom: 16px;
    }
    .cp-side-nav {
        flex-direction: column;
        padding: 0;
    }
    html.admin-iframe-page-html.compute-portal-html .cp-sidebar a.cp-side-link {
        margin-left: 8px;
        margin-right: 8px;
    }
    .cp-main {
        margin-left: 0;
        padding: 32px 0 48px 0;
    }
    .cp-main > .cp-article,
    .cp-main > .dl-wrap {
        padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px));
    }
}
