/* console.css — 「我的地图帮」控制台壳与总览样式
   spec 20260727-usercenter-ia-consolidation（单一控制台壳）
   + spec 20260813-usercenter-product-entry-guidance T-S1-4/T-S1-5（启动器改版）。

   规则（test_design_tokens_lint.py 守护）：
   - 颜色 / 圆角 / 阴影 / 层级全部走 main.css 语义令牌（--surface / --line / --brand 系），
     暗色模式随 .dark 令牌自动生效，禁止新增白 / 橙字面量；
   - 字号只用阶梯 12 / 13 / 14 / 16 / 20；字重只用 400 / 500 / 600；
   - 断点按 PRD R2.2 v3 写 .98 边界：1199.98 / 991.98 / 767.98。 */

.console-page { padding: 24px 0 48px; }

/* ===== 壳：等高侧栏 + 主列（T-S1-5 / R11 / §16.6） ===== */
.console-shell { max-width: 1680px; }
.console-layout {
    grid-template-columns: 224px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
.console-main { gap: 16px; }

/* 侧栏 = 完整白色容器（导航在上，帮助与账户块贴容器底部），与主列等高，
   不再是悬浮短卡（覆盖 main.css 的 sticky 定位）。 */
.console-sidebar {
    position: static;
    display: flex;
    min-height: calc(100vh - 190px);
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}
.console-nav-toggle { display: none; }
.console-nav {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.console-nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}
.console-nav-brand-ico {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.console-nav-divider { margin: 0 4px 8px; }
.console-nav-item {
    min-height: 36px;
    padding: 0 12px;
    gap: 10px;
    font-weight: 400;
}
/* 侧栏图标为内联 SVG（不依赖 FA 字体）：flex 居中防基线偏移 */
.console-nav-item .ic { display: inline-flex; align-items: center; justify-content: center; }
.console-nav-item .ic svg { display: block; flex-shrink: 0; }
.console-nav-item.active { color: var(--brand-dark); font-weight: 500; background: var(--brand-soft); }
.console-nav-item.active::before { display: none; }

/* 侧栏底部块：新手上手 / 帮助与支持 / 分隔线 / 账户块（§16.6 账户移侧栏左下角） */
.console-sidebar-bottom { margin-top: auto; padding-top: 16px; }
/* T-S2-3：「新手上手」登录态改 <button>（引导重开），与 <a> 项同视觉 */
button.console-nav-item {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
}
.console-sidebar-bottom .console-nav-divider { margin: 8px 4px; }
.console-account { position: relative; }
.console-account-toggle {
    display: grid;
    width: 100%;
    min-height: 52px;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.console-account-toggle:hover { background: var(--surface-soft); }
.console-account-avatar {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex: none;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-pill, 999px);
    background: var(--brand-soft);
    color: var(--brand-heavy);
    font-size: 13px;
    font-weight: 600;
    object-fit: cover;
}
.console-account-copy { min-width: 0; }
.console-account-copy b,
.console-account-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.console-account-copy b { color: var(--ink); font-size: 13px; font-weight: 500; }
.console-account-copy small { margin-top: 1px; color: var(--muted); font-size: 12px; }
.console-account-more { color: var(--muted); font-size: 16px; text-align: center; }
/* 账户菜单：从账户块向上展开（drop-up），落在侧栏容器内 */
.console-account-menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 6px);
    z-index: 1;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-md);
}
.console-account-item {
    display: flex;
    width: 100%;
    min-height: 36px;
    align-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink-secondary);
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.console-account-item:hover { background: var(--surface-soft); color: var(--ink); }
.console-account-item.is-danger { color: var(--danger); }
.console-account-item.is-danger:hover { background: var(--danger-bg); color: var(--danger); }

/* 桌面宽度下，console 页顶栏用户菜单退位给侧栏账户块（R11：不改 navbar 结构，
   仅用 :has() 作用域隐藏；不支持 :has 的旧浏览器保持顶栏入口，属可接受降级）。 */
@media (min-width: 992px) {
    body:has(.console-page) .dtb-nav__user { display: none; }
}

/* ===== 面板与页头 ===== */
.console-panel {
    padding: 16px 20px;
    border-color: var(--line);
    border-radius: var(--radius-md);
    box-shadow: none;
}
.console-panel-head { align-items: baseline; margin-bottom: 12px; }
.console-panel-title { font-size: var(--fs-h2); font-weight: 600; }
.console-panel-desc { font-size: 13px; }
.console-page-title { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; }
.console-page-desc { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.console-page-head { margin-bottom: 0; }

/* 二级页面包屑（如 账户设置 / 编辑资料）：标出层级，h1 不再与父页同名 */
.console-crumb { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.console-crumb a { color: var(--muted); text-decoration: none; }
.console-crumb a:hover { color: var(--ink); text-decoration: underline; }

.stat-card .v { font-size: var(--fs-stat); font-weight: 600; }
.stat-card.accent { border-color: var(--brand-line); background: var(--brand-tint); }
.stat-card.accent .v { color: var(--brand-heavy); }

.profile-mobile-card { display: none; }

/* M2：原独立商业页进入控制台后，移除二次容器与整页留白。 */
.console-main .membership-page,
.console-main .rc,
.console-main .pg {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.console-main .membership-page > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}
.console-main .membership-shell { gap: 16px; }
.console-main .ms-head,
.console-main .rc-head,
.console-main .pg-head { margin-bottom: 16px; }
.console-main .rc-side,
.console-main .payment-below { top: 72px; }

.legacy-order-details { padding: 0; overflow: hidden; }
.legacy-order-details > summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    list-style: none;
}
.legacy-order-details > summary::-webkit-details-marker { display: none; }
.legacy-order-details > summary::after {
    content: "＋";
    margin-left: 4px;
    color: var(--muted);
    font-size: 16px;
}
.legacy-order-details[open] > summary::after { content: "－"; }
.legacy-order-details > summary > span:first-child { min-width: 0; flex: 1; }
.legacy-order-details > summary b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.legacy-order-details > summary small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.legacy-order-body { padding: 0 20px 18px; border-top: 1px solid var(--line); }
.legacy-order-body .data-table { margin-top: 8px; }
.legacy-order-body code { color: var(--muted); font-size: 12px; }
.legacy-order-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.empty-state.compact { padding: 24px 12px 8px; }

.device-limit-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.device-name { display: inline-flex; align-items: center; gap: 7px; margin-right: 6px; color: var(--ink); font-weight: 500; white-space: nowrap; }
.device-name i { color: var(--brand-dark); }
.device-meta-main,
.device-meta-sub { display: block; white-space: nowrap; }
.device-meta-main { color: var(--ink-secondary); font-size: 13px; }
.device-meta-sub { margin-top: 2px; color: var(--muted); font-size: 12px; }

/* ===== 总览 ①：页头独立白卡（R11） ===== */
.ov-pagehead {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 16px;
}
.ov-pagehead-copy { min-width: 0; flex: 1; }
.ov-last-login { white-space: nowrap; }
.ov-text-btn {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--brand-heavy);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}
.ov-text-btn:hover { background: var(--brand-soft); text-decoration: underline; }

/* ===== 总览 ②：阻断性通知条（每次最多一条，R8.3） ===== */
.ov-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid var(--warning-line);
    border-radius: var(--radius-md);
    background: var(--warning-bg);
    color: var(--ink-secondary);
    font-size: 13px;
}
.ov-notice > i { color: var(--warning-dark); }
.ov-notice.is-danger { border-color: var(--danger-line); background: var(--danger-bg); }
.ov-notice.is-danger > i { color: var(--danger-dark); }
.ov-notice-msg { min-width: 0; flex: 1; }
.ov-notice a { color: var(--brand-dark); font-weight: 500; white-space: nowrap; }
.ov-notice-close {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: var(--radius-xs, 4px);
    background: transparent;
    color: var(--muted);
}
.ov-notice-close:hover { background: var(--surface-soft); color: var(--ink); }

/* ===== 总览 ③：产品启动器（R2/R3/R4） ===== */
/* 桌面端独立提示条（PRD §16.5）：已安装提示优先，下载是次动作 */
.ov-desktop-hint {
    display: grid;
    min-height: 64px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}
/* 桌面提示条图标走品牌色（去信息蓝，避免与品牌橙打架；spec 20260815 视觉轻优化） */
.ov-desktop-ico {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--brand-soft);
    color: var(--brand-dark);
}
.ov-desktop-ico svg { display: block; flex-shrink: 0; }
.ov-desktop-copy { min-width: 0; }
.ov-desktop-copy b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }
.ov-desktop-copy span { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; }
.ov-desktop-download {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-secondary);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
}
.ov-desktop-download:hover { border-color: var(--brand-line); color: var(--brand-heavy); }
.ov-desktop-download .dest { color: var(--muted); }

.ov-launcher-subhead { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.ov-launcher-subhead h3 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.ov-launcher-subhead span { color: var(--muted); font-size: 12px; }

/* 产品网格：≥1200 三列 / 992–1199.98 两列 / <992 单列（R2.2 v3）。
   间距/内边距略松 + hover 品牌描边（spec 20260815 视觉轻优化，不动信息架构） */
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ov-entry {
    position: relative;
    display: grid;
    min-height: 112px;
    min-width: 0;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}
.ov-entry:hover { border-color: var(--brand-line); }
.ov-entry-ico {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    color: var(--ink-secondary);
}
.ov-entry-ico svg { display: block; flex-shrink: 0; }
.ov-entry-ico.brand { background: var(--brand-soft); color: var(--brand-dark); }
.ov-entry-ico.info { background: var(--info-bg); color: var(--info-dark, var(--info)); }
.ov-entry-ico.success { background: var(--success-bg); color: var(--success-dark); }
.ov-entry-ico.muted { background: var(--surface-soft); color: var(--ink-secondary); }
.ov-entry-main { min-width: 0; padding-top: 1px; }
.ov-entry-link {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.ov-entry-link:hover .ov-entry-name { color: var(--brand-heavy); text-decoration: underline; }
.ov-entry-name { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.ov-entry-desc { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.ov-entry-dest { display: block; margin-top: 5px; color: var(--ink-secondary); font-size: 12px; }
.ov-entry-secondary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}
.ov-entry-secondary:hover { color: var(--ink); text-decoration: underline; }
.ov-entry-secondary .dest { color: var(--muted); }
.ov-tool-links { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ov-tool-link {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 4px;
    padding: 1px 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill, 999px);
    background: var(--surface-soft);
    color: var(--ink-secondary);
    font-size: 12px;
    text-decoration: none;
}
.ov-tool-link:hover { border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand-heavy); }

/* SSO 点击态（R4.3）：正在进入 + 防重；新窗被拦截时的行内降级 */
.ov-entry.is-launching,
.ov-desktop-hint.is-launching { border-color: var(--brand-line); }
.ov-entry.is-launching .ov-entry-dest { color: var(--brand-dark); }
[data-console-launch][aria-disabled="true"] { pointer-events: none; opacity: .72; }
.ov-launch-fallback {
    display: flex;
    align-items: center;
    gap: 6px;
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 8px 10px;
    border: 1px solid var(--warning-line);
    border-radius: var(--radius-sm);
    background: var(--warning-bg);
    color: var(--ink-secondary);
    font-size: 12px;
    flex-wrap: wrap;
}
.ov-launch-fallback input {
    min-width: 0;
    flex: 1;
    padding: 3px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs, 4px);
    background: var(--surface);
    color: var(--ink-secondary);
    font-size: 12px;
}
.ov-launch-fallback button,
.ov-launch-fallback a {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs, 4px);
    background: var(--surface);
    color: var(--ink-secondary);
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}
.ov-launch-fallback button:hover,
.ov-launch-fallback a:hover { border-color: var(--brand-line); color: var(--brand-heavy); }

/* ===== 总览 ③a：新手引导（T-S2-3 / R5/R6）：目标 chip + 推荐区单主 CTA ===== */
.ov-onboarding {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}
.ov-goal-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}
.ov-goal-label { color: var(--ink-secondary); font-size: 13px; font-weight: 500; }
.ov-goal-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ov-goal-chip {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill, 999px);
    background: var(--surface);
    color: var(--ink-secondary);
    font-size: 13px;
    cursor: pointer;
}
.ov-goal-chip:hover { border-color: var(--brand-line); color: var(--ink); }
.ov-goal-chip.is-active {
    border-color: var(--brand-line);
    background: var(--brand-soft);
    color: var(--brand-heavy);
    font-weight: 500;
}
.ov-guide-progress { color: var(--success-dark); font-size: 12px; }
.ov-skip-guide {
    margin-top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}
.ov-skip-guide:hover { color: var(--ink); }
.ov-recommend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-md);
    background: var(--brand-tint, var(--brand-soft));
}
.ov-recommend-copy { min-width: 0; }
.ov-recommend-kicker { display: block; color: var(--brand-heavy); font-size: 12px; }
.ov-recommend-title { margin: 2px 0 0; color: var(--ink); font-size: 16px; font-weight: 600; }
.ov-recommend-note { margin: 6px 0 0; color: var(--ink-secondary); font-size: 13px; font-weight: 500; }
.ov-recommend-desc { margin: 4px 0 0; color: var(--ink-secondary); font-size: 13px; line-height: 1.6; }
/* R2.5 唯一品牌橙主按钮 = 推荐区当前主 CTA（design §6.4） */
.primary-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 0 14px;
    border: 1px solid var(--brand);
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.primary-button:hover { border-color: var(--brand-dark); background: var(--brand-dark); color: #fff; }
/* R6：desktop 目标下载 CTA 降为中性动作（未安装用户才需要） */
.ov-recommend-plain {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-secondary);
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}
.ov-recommend-plain:hover { border-color: var(--brand-line); color: var(--brand-heavy); }

/* ===== 总览 ③b：回访快捷层（T-S3-2 / R7 v3）：JS 按账户隔离 localStorage 填充 ===== */
.ov-quick { margin-bottom: 12px; }
.ov-quick-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; }
.ov-quick-head h3 { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.ov-quick-head span { color: var(--muted); font-size: 12px; }
/* 槽位：桌面单行 4（R7.1 v3）；<768px 降 2（断点块内覆写） */
.ov-quick-row,
.ov-quick-all { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ov-quick-all { margin-top: 8px; }
.ov-quick-item {
    display: flex;
    min-height: 52px;
    min-width: 0;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.ov-quick-item:hover { border-color: var(--brand-line); }
.ov-quick-copy { min-width: 0; }
.ov-quick-copy b,
.ov-quick-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ov-quick-copy b { color: var(--ink); font-size: 13px; font-weight: 500; }
.ov-quick-copy small { margin-top: 1px; color: var(--muted); font-size: 12px; }
.ov-quick-more {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-top: 8px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill, 999px);
    background: var(--surface-soft);
    color: var(--ink-secondary);
    font-size: 12px;
    cursor: pointer;
}
.ov-quick-more:hover { border-color: var(--brand-line); color: var(--brand-heavy); }
/* 手动固定 pin 钮（R7.5）：JS 仅在个性化开启时挂载到产品卡右上角 */
.ov-pin {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}
.ov-pin:hover { background: var(--surface-soft); color: var(--brand-heavy); }
.ov-pin[aria-pressed="true"] { color: var(--brand-dark); }
/* 轻提示（pin 上限等）：ov-notice 视觉语言 + --z-toast 层级令牌 */
.ov-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-toast);
    max-width: min(92vw, 420px);
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0, 0, 0, .12));
    color: var(--ink-secondary);
    font-size: 13px;
}

/* ===== 总览 ④：账户健康「一张三列卡」（§16.4 / R8） ===== */
.ov-health-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.ov-health-note { color: var(--success-dark); font-size: 12px; }
.ov-health-note.is-warning { color: var(--warning-dark); }
.ov-health-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}
.ov-health-unit {
    display: flex;
    min-width: 0;
    min-height: 56px;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
}
.ov-health-unit + .ov-health-unit { border-left: 1px solid var(--line); }
.ov-health-copy { min-width: 0; flex: 1; }
.ov-health-copy .k { display: block; color: var(--muted); font-size: 12px; }
.ov-health-copy .v {
    display: block;
    margin-top: 1px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.ov-health-copy .v small { color: var(--muted); font-size: 12px; font-weight: 400; }
.ov-health-action { flex: none; color: var(--brand-heavy); font-size: 12px; text-decoration: none; white-space: nowrap; }
.ov-health-action:hover { text-decoration: underline; }

/* ===== 总览 ⑤：近期订单 + 帮助与支持两栏 ===== */
.ov-columns { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.ov-columns > .console-panel { min-width: 0; }
.ov-columns .data-table th { padding: 6px 4px; background: transparent; }
.ov-columns .data-table td { padding: 9px 4px; }
.ov-columns .data-table th:last-child,
.ov-columns .data-table td:last-child { text-align: right; }
.ov-columns .empty-state { padding: 28px 16px; }
.ov-columns .empty-state .title { margin: 0 0 4px; }
.ov-columns .empty-state .desc { margin-bottom: 0; font-size: 13px; }
.ov-card-link { color: var(--muted); font-size: 12px; text-decoration: none; }
.ov-card-link:hover { color: var(--ink); }
.ov-help-list { display: grid; gap: 4px; }
.ov-help-link {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    color: var(--ink-secondary);
    font-size: 13px;
    text-decoration: none;
}
.ov-help-link:hover { background: var(--surface-soft); color: var(--ink); }
.ov-help-link .dest { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ===== 断点（PRD R2.2 v3：.98 边界，1200 视口恰 3 列、992 视口恰 2 列） ===== */
@media (max-width: 1199.98px) {
    .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .console-layout { grid-template-columns: 1fr; }
    .console-sidebar { display: none; min-height: 0; }
    .console-sidebar.is-open { display: flex; }
    .console-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }
    .console-nav-brand { grid-column: 1 / -1; }
    .console-nav-divider { display: block; grid-column: 1 / -1; }
    .console-nav-item { white-space: normal; }
    .console-sidebar-bottom { margin-top: 8px; padding-top: 0; }
    /* 窄屏折叠侧栏时，账户入口回到顶栏头像（navbar 原生行为，无需额外处理） */
    .console-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2, 8px);
        min-height: 44px;
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        background: var(--surface);
        color: var(--ink);
    }
    .ov-grid { grid-template-columns: 1fr; }
    .ov-health-grid { grid-template-columns: 1fr; }
    .ov-health-unit + .ov-health-unit { border-top: 1px solid var(--line); border-left: 0; }
    .ov-columns { grid-template-columns: 1fr; }
    .ov-onboarding { grid-template-columns: 1fr; }
    .ov-quick-row,
    .ov-quick-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .console-page { padding-top: 16px; }
    .console-nav { grid-template-columns: 1fr; }
    .console-panel-head .btn { min-height: 44px; }
    .table-scroll.is-mobile-cards table { display: none; }
    .profile-mobile-card {
        display: block;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: var(--surface);
    }
    .ov-pagehead { align-items: flex-start; flex-direction: column; gap: 8px; }
    .ov-pagehead .ov-text-btn { min-height: 44px; }
    .ov-last-login { display: block; margin-top: 2px; white-space: normal; }
    .ov-notice { align-items: flex-start; flex-wrap: wrap; }
    .ov-notice-msg { min-width: calc(100% - 28px); }
    .ov-notice a { margin-left: 24px; }
    .ov-desktop-hint { grid-template-columns: 40px minmax(0, 1fr); }
    .ov-desktop-download { min-height: 44px; justify-content: center; grid-column: 1 / -1; }
    .ov-entry { min-height: 0; }
    .ov-entry-link { min-height: 44px; }
    .ov-tool-link { min-height: 44px; padding: 0 12px; }
    /* 快捷层槽位移动端 2（R7.1 v3）；触控目标 ≥44px（R13） */
    .ov-quick-row,
    .ov-quick-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ov-quick-item { min-height: 44px; }
    .ov-quick-more { min-height: 44px; }
    .ov-goal-chip { min-height: 44px; }
    .ov-skip-guide { min-height: 44px; }
    .ov-pin { width: 44px; height: 44px; }
    .ov-health-action { min-height: 44px; display: inline-flex; align-items: center; }
    .ov-columns .data-table { min-width: 620px; }
    .console-main .membership-grid,
    .console-main .rc-grid { grid-template-columns: 1fr; }
    .console-main .rc-side,
    .console-main .payment-below { position: static; }
}
