/* =========================================================================
   锐淏云服务 - 全站主题样式（蓝白配色）
   覆盖：基础变量 / 通用组件 / 门户布局 / 控制台 / 管理后台
   ========================================================================= */

:root {
    --rh-blue-900: #0b2545;
    --rh-blue-800: #0d2a55;
    --rh-blue-700: #10407c;
    --rh-blue-600: #1350a3;
    --rh-blue-500: #155bd4;
    --rh-blue-400: #2f80ed;
    --rh-blue-300: #6ea8fe;
    --rh-blue-100: #dbeafe;
    --rh-blue-50: #f2f6fd;

    --rh-primary: var(--rh-blue-500);
    --rh-primary-dark: var(--rh-blue-600);
    --rh-primary-light: var(--rh-blue-100);
    --rh-primary-bg: var(--rh-blue-50);

    --rh-success: #16a34a;
    --rh-success-bg: #ecfdf3;
    --rh-warning: #d97706;
    --rh-warning-bg: #fff7e6;
    --rh-danger: #dc2626;
    --rh-danger-bg: #fdecec;
    --rh-info: #0e7490;
    --rh-info-bg: #e6f7fb;

    --rh-text: #1f2d3d;
    --rh-text-2: #47596e;
    --rh-text-3: #627d98;
    --rh-text-4: #829ab1;

    --rh-border: #dfe7f1;
    --rh-border-2: #eef2f7;
    --rh-bg: #f5f8fc;
    --rh-bg-2: #eef3fa;
    --rh-white: #fff;

    --rh-radius: 8px;
    --rh-radius-lg: 12px;
    --rh-radius-sm: 5px;
    --rh-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 4px 14px rgba(11, 37, 69, .06);
    --rh-shadow-lg: 0 10px 40px rgba(11, 37, 69, .13);
    --rh-header-h: 64px;
    --rh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --rh-mono: "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;
}

/* ---------------------------------------------------------------- 重置 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--rh-font); font-size: 14px; line-height: 1.65;
    color: var(--rh-text); background: var(--rh-bg);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--rh-primary); text-decoration: none; }
a:hover { color: var(--rh-primary-dark); }
img { max-width: 100%; vertical-align: middle; border: 0; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 600; color: var(--rh-blue-900); line-height: 1.35; }
h1 { font-size: 26px; } h2 { font-size: 20px; } h3 { font-size: 17px; } h4 { font-size: 15px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 22px; }
hr { border: 0; border-top: 1px solid var(--rh-border); margin: 18px 0; }
code, pre, kbd, samp { font-family: var(--rh-mono); }
table { border-collapse: collapse; width: 100%; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
::selection { background: var(--rh-blue-100); }

/* ---------------------------------------------------------------- 布局 */
.rh-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.rh-container-narrow { max-width: 900px; }
.rh-row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.rh-col { padding: 0 12px; flex: 1 1 0; min-width: 0; }
.rh-grid { display: grid; gap: 16px; }
.rh-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rh-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rh-flex { display: flex; align-items: center; }
.rh-flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rh-flex-end { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.rh-flex-wrap { flex-wrap: wrap; }
.rh-gap-4 > * + * { margin-left: 4px; }
.rh-gap-6 > * + * { margin-left: 6px; }
.rh-gap-8 > * + * { margin-left: 8px; }
.rh-gap-12 > * + * { margin-left: 12px; }
.rh-gap-16 > * + * { margin-left: 16px; }
.rh-mt-0 { margin-top: 0; } .rh-mt-8 { margin-top: 8px; } .rh-mt-12 { margin-top: 12px; }
.rh-mt-16 { margin-top: 16px; } .rh-mt-24 { margin-top: 24px; } .rh-mt-32 { margin-top: 32px; }
.rh-mb-0 { margin-bottom: 0; } .rh-mb-8 { margin-bottom: 8px; } .rh-mb-12 { margin-bottom: 12px; }
.rh-mb-16 { margin-bottom: 16px; } .rh-mb-24 { margin-bottom: 24px; } .rh-mb-32 { margin-bottom: 32px; }
.rh-hidden { display: none !important; }
.rh-text-c { text-align: center; } .rh-text-r { text-align: right; }
.rh-muted { color: var(--rh-text-3); }
.rh-small { font-size: 12px; }
.rh-bold { font-weight: 600; }
.rh-nowrap { white-space: nowrap; }
.rh-break { word-break: break-all; }
.rh-mono { font-family: var(--rh-mono); }
.rh-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rh-primary-text { color: var(--rh-primary); }
.rh-success-text { color: var(--rh-success); }
.rh-danger-text { color: var(--rh-danger); }
.rh-warning-text { color: var(--rh-warning); }
.rh-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- 顶栏 */
.rh-header {
    position: sticky; top: 0; z-index: 900; height: var(--rh-header-h);
    background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--rh-border);
}
.rh-header-inner { display: flex; align-items: center; height: var(--rh-header-h); gap: 24px; }
.rh-logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--rh-blue-900); white-space: nowrap; }
.rh-logo:hover { color: var(--rh-blue-900); }
.rh-logo-mark {
    width: 30px; height: 30px; border-radius: 8px; flex: none;
    background: linear-gradient(135deg, var(--rh-blue-500), var(--rh-blue-400));
    color: #fff; font-size: 15px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; letter-spacing: 0;
}
.rh-logo img { height: 30px; width: auto; }
.rh-logo-sub { font-size: 12px; font-weight: 500; color: var(--rh-text-3); margin-left: 2px; padding-left: 8px; border-left: 1px solid var(--rh-border); }
.rh-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; }
.rh-nav a {
    padding: 8px 13px; border-radius: var(--rh-radius-sm); color: var(--rh-text-2);
    font-size: 14px; white-space: nowrap;
}
.rh-nav a:hover { color: var(--rh-primary); background: var(--rh-primary-bg); }
.rh-nav a.active { color: var(--rh-primary); background: var(--rh-primary-bg); font-weight: 600; }
.rh-header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.rh-nav-toggle { display: none; background: none; border: 1px solid var(--rh-border); border-radius: 6px; width: 38px; height: 34px; cursor: pointer; }
.rh-nav-toggle span { display: block; width: 18px; height: 2px; background: var(--rh-text-2); margin: 3px auto; border-radius: 2px; }

/* 下拉菜单 */
.rh-drop { position: relative; }
.rh-drop-menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px;
    background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius);
    box-shadow: var(--rh-shadow-lg); padding: 6px; z-index: 950; display: none;
}
.rh-drop.open .rh-drop-menu { display: block; }
.rh-drop-menu a, .rh-drop-menu button {
    display: block; width: 100%; text-align: left; padding: 8px 11px; border-radius: var(--rh-radius-sm);
    color: var(--rh-text); background: none; border: 0; cursor: pointer; font-size: 13.5px;
}
.rh-drop-menu a:hover, .rh-drop-menu button:hover { background: var(--rh-primary-bg); color: var(--rh-primary); }
.rh-drop-sep { height: 1px; background: var(--rh-border-2); margin: 6px 4px; }
.rh-avatar {
    width: 32px; height: 32px; border-radius: 50%; background: var(--rh-primary-light);
    color: var(--rh-primary-dark); display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600; flex: none; border: 0; padding: 0; cursor: pointer;
}
.rh-avatar:hover { background: var(--rh-blue-100); }
.rh-avatar .rh-ico { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- 页脚 */
.rh-footer { background: var(--rh-blue-900); color: #b6c6d8; margin-top: 56px; font-size: 13px; }
.rh-footer a { color: #cddced; }
.rh-footer a:hover { color: #fff; }
.rh-footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 40px 0 28px; }
.rh-footer h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.rh-footer ul { list-style: none; padding: 0; margin: 0; }
.rh-footer li { margin-bottom: 8px; }
.rh-footer-brand { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.rh-footer-desc { line-height: 1.8; max-width: 340px; }
.rh-footer-code { display: flex; gap: 14px; margin-top: 16px; }
.rh-footer-code figure { margin: 0; text-align: center; }
.rh-footer-code img { width: 84px; height: 84px; border-radius: 6px; background: #fff; padding: 3px; }
.rh-footer-code figcaption { font-size: 12px; margin-top: 6px; color: #93a7bd; }
.rh-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .11); padding: 16px 0 22px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: #93a7bd; font-size: 12.5px;
}
.rh-footer-bottom img { height: 16px; width: 16px; }
.rh-beian { display: inline-flex; align-items: center; gap: 5px; color: #93a7bd; }

/* ---------------------------------------------------------------- 卡片 */
.rh-card { background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-lg); box-shadow: var(--rh-shadow); }
.rh-card-head {
    padding: 15px 20px; border-bottom: 1px solid var(--rh-border-2);
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.rh-card-head h3 { margin: 0; font-size: 15.5px; }
.rh-card-head .rh-sub { font-size: 12.5px; color: var(--rh-text-3); font-weight: 400; margin-left: 8px; }
.rh-card-body { padding: 20px; }
.rh-card-body-tight { padding: 14px 20px; }
.rh-card-foot { padding: 14px 20px; border-top: 1px solid var(--rh-border-2); background: #fafcfe; border-radius: 0 0 var(--rh-radius-lg) var(--rh-radius-lg); }
.rh-card-flat { box-shadow: none; }
.rh-card-hover { transition: box-shadow .18s, transform .18s, border-color .18s; }
.rh-card-hover:hover { box-shadow: var(--rh-shadow-lg); border-color: var(--rh-blue-300); transform: translateY(-2px); }
.rh-empty { padding: 44px 20px; text-align: center; color: var(--rh-text-4); }
.rh-empty svg { width: 54px; height: 54px; opacity: .45; margin-bottom: 10px; }

/* ---------------------------------------------------------------- 按钮 */
.rh-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 34px; padding: 0 15px; border-radius: var(--rh-radius-sm); border: 1px solid var(--rh-border);
    background: #fff; color: var(--rh-text); cursor: pointer; font-size: 13.5px; white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.rh-btn:hover { border-color: var(--rh-blue-300); color: var(--rh-primary); background: var(--rh-primary-bg); }
.rh-btn:active { transform: translateY(1px); }
.rh-btn[disabled], .rh-btn.disabled { opacity: .55; pointer-events: none; }
.rh-btn-primary { background: var(--rh-primary); border-color: var(--rh-primary); color: #fff; }
.rh-btn-primary:hover { background: var(--rh-primary-dark); border-color: var(--rh-primary-dark); color: #fff; }
.rh-btn-danger { background: var(--rh-danger); border-color: var(--rh-danger); color: #fff; }
.rh-btn-danger:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.rh-btn-success { background: var(--rh-success); border-color: var(--rh-success); color: #fff; }
.rh-btn-success:hover { background: #15803d; border-color: #15803d; color: #fff; }
.rh-btn-ghost { background: transparent; border-color: transparent; color: var(--rh-primary); }
.rh-btn-ghost:hover { background: var(--rh-primary-bg); }
.rh-btn-lg { height: 42px; padding: 0 24px; font-size: 15px; border-radius: var(--rh-radius); }
.rh-btn-sm { height: 27px; padding: 0 10px; font-size: 12.5px; }
.rh-btn-block { display: flex; width: 100%; }
.rh-btn-group { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.rh-link { padding: 0; border: 0; background: none; color: var(--rh-primary); cursor: pointer; font-size: inherit; }
.rh-link:hover { text-decoration: underline; }
.rh-link-danger { color: var(--rh-danger); }

/* ---------------------------------------------------------------- 表单 */
.rh-form-row { margin-bottom: 16px; }
.rh-form-label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--rh-text-2); }
.rh-form-label .req { color: var(--rh-danger); margin-left: 3px; }
.rh-input, .rh-select, .rh-textarea {
    width: 100%; height: 36px; padding: 0 11px; border: 1px solid var(--rh-border);
    border-radius: var(--rh-radius-sm); background: #fff; color: var(--rh-text); transition: border-color .15s, box-shadow .15s;
}
.rh-textarea { height: auto; min-height: 96px; padding: 9px 11px; line-height: 1.7; resize: vertical; }
.rh-input:focus, .rh-select:focus, .rh-textarea:focus {
    outline: 0; border-color: var(--rh-primary); box-shadow: 0 0 0 3px rgba(21, 91, 212, .13);
}
.rh-input[readonly], .rh-input:disabled, .rh-select:disabled, .rh-textarea:disabled { background: #f6f9fc; color: var(--rh-text-3); cursor: not-allowed; }
.rh-input.is-error, .rh-textarea.is-error, .rh-select.is-error { border-color: var(--rh-danger); }
.rh-select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23627d98' d='M6 8.5 1.5 4h9z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; }
.rh-help { margin-top: 5px; font-size: 12.5px; color: var(--rh-text-4); line-height: 1.6; }
.rh-help code { background: var(--rh-bg-2); padding: 1px 5px; border-radius: 3px; }
.rh-error { margin-top: 5px; font-size: 12.5px; color: var(--rh-danger); }
.rh-check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 13.5px; color: var(--rh-text-2); }
.rh-check input { width: 15px; height: 15px; accent-color: var(--rh-primary); margin: 0; cursor: pointer; }
.rh-form-grid { display: grid; gap: 0 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rh-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh-span-2 { grid-column: span 2; }
.rh-input-group { display: flex; }
.rh-input-group .rh-input { border-radius: 0 var(--rh-radius-sm) var(--rh-radius-sm) 0; }
.rh-input-group .rh-input:first-child { border-radius: var(--rh-radius-sm) 0 0 var(--rh-radius-sm); }
.rh-input-group-addon {
    display: inline-flex; align-items: center; padding: 0 11px; border: 1px solid var(--rh-border);
    background: #f6f9fc; color: var(--rh-text-3); font-size: 13px; white-space: nowrap;
}
.rh-input-group-addon:first-child { border-radius: var(--rh-radius-sm) 0 0 var(--rh-radius-sm); border-right: 0; }
.rh-input-group-addon:last-child { border-radius: 0 var(--rh-radius-sm) var(--rh-radius-sm) 0; border-left: 0; }
.rh-code-row { display: flex; gap: 10px; }
.rh-code-row .rh-input { flex: 1 1 auto; }
.rh-code-btn { flex: none; white-space: nowrap; min-width: 118px; }
.rh-form-inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.rh-form-inline .rh-form-row { margin-bottom: 0; }

/* ---------------------------------------------------------------- 表格 */
.rh-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rh-table { font-size: 13.5px; }
.rh-table th, .rh-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--rh-border-2); vertical-align: middle; }
.rh-table th { background: #f8fafd; color: var(--rh-text-3); font-weight: 600; white-space: nowrap; font-size: 12.8px; }
.rh-table tbody tr:hover { background: #fafcff; }
.rh-table tbody tr:last-child td { border-bottom: 0; }
.rh-table .rh-ops { white-space: nowrap; }
.rh-table .rh-ops a, .rh-table .rh-ops button { margin-right: 10px; }
.rh-table .rh-ops a:last-child, .rh-table .rh-ops button:last-child { margin-right: 0; }
.rh-table-bordered th, .rh-table-bordered td { border: 1px solid var(--rh-border-2); }
.rh-desc { display: grid; grid-template-columns: 132px 1fr; gap: 0; font-size: 13.5px; }
.rh-desc dt { padding: 10px 0; color: var(--rh-text-3); border-bottom: 1px solid var(--rh-border-2); }
.rh-desc dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rh-border-2); word-break: break-all; }

/* ---------------------------------------------------------------- 徽章/标签 */
.rh-tag {
    display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 20px;
    font-size: 12px; line-height: 19px; background: var(--rh-bg-2); color: var(--rh-text-2); white-space: nowrap;
}
.rh-tag-primary { background: var(--rh-primary-light); color: var(--rh-blue-700); }
.rh-tag-success { background: var(--rh-success-bg); color: #15803d; }
.rh-tag-warning { background: var(--rh-warning-bg); color: #b45309; }
.rh-tag-danger { background: var(--rh-danger-bg); color: #b91c1c; }
.rh-tag-info { background: var(--rh-info-bg); color: var(--rh-info); }
.rh-tag-plain { background: none; border: 1px solid var(--rh-border); }
.rh-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--rh-text-4); }
.rh-dot-success { background: var(--rh-success); } .rh-dot-danger { background: var(--rh-danger); }
.rh-dot-warning { background: var(--rh-warning); } .rh-dot-primary { background: var(--rh-primary); }
.rh-badge-count {
    min-width: 16px; height: 16px; padding: 0 4px; border-radius: 9px; background: var(--rh-danger);
    color: #fff; font-size: 11px; line-height: 16px; text-align: center; display: inline-block;
}

/* ---------------------------------------------------------------- 提示条 */
.rh-alert {
    display: flex; gap: 11px; padding: 11px 15px; border-radius: var(--rh-radius);
    border: 1px solid var(--rh-border); background: #fff; margin-bottom: 16px; font-size: 13.5px; line-height: 1.65;
}
.rh-alert-icon { flex: none; font-weight: 700; }
.rh-alert-info { background: var(--rh-primary-bg); border-color: var(--rh-blue-100); color: var(--rh-blue-700); }
.rh-alert-success { background: var(--rh-success-bg); border-color: #bbf0cb; color: #14663a; }
.rh-alert-warning { background: var(--rh-warning-bg); border-color: #fbe1b5; color: #975406; }
.rh-alert-danger { background: var(--rh-danger-bg); border-color: #f7c9c9; color: #a31f1f; }
.rh-alert a { text-decoration: underline; }

/* ---------------------------------------------------------------- 分页 */
.rh-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 20px; border-top: 1px solid var(--rh-border-2); }
.rh-pager-info { margin-right: auto; font-size: 12.5px; color: var(--rh-text-3); }
.rh-pager a, .rh-pager span {
    min-width: 31px; height: 31px; padding: 0 8px; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-sm);
    display: inline-flex; align-items: center; justify-content: center; color: var(--rh-text-2); background: #fff; font-size: 13px;
}
.rh-pager a:hover { border-color: var(--rh-primary); color: var(--rh-primary); }
.rh-pager .cur { background: var(--rh-primary); border-color: var(--rh-primary); color: #fff; }
.rh-pager .disabled { opacity: .5; }

/* ---------------------------------------------------------------- Tabs */
.rh-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rh-border); margin-bottom: 18px; flex-wrap: wrap; }
.rh-tabs a, .rh-tabs button {
    padding: 9px 16px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
    color: var(--rh-text-3); font-size: 14px; margin-bottom: -1px;
}
.rh-tabs a:hover, .rh-tabs button:hover { color: var(--rh-primary); }
.rh-tabs .active { color: var(--rh-primary); border-bottom-color: var(--rh-primary); font-weight: 600; }
.rh-tab-pane { display: none; }
.rh-tab-pane.active { display: block; }

/* ---------------------------------------------------------------- 模态框 */
.rh-modal { position: fixed; inset: 0; z-index: 1200; display: none; }
.rh-modal.open { display: block; }
.rh-modal-mask { position: absolute; inset: 0; background: rgba(11, 37, 69, .48); backdrop-filter: blur(1px); }
.rh-modal-box {
    position: relative; width: calc(100% - 32px); max-width: 520px; margin: 6vh auto 0; background: #fff;
    border-radius: var(--rh-radius-lg); box-shadow: var(--rh-shadow-lg); display: flex; flex-direction: column;
    max-height: 88vh; animation: rh-pop .18s ease-out;
}
.rh-modal-lg { max-width: 780px; } .rh-modal-xl { max-width: 1020px; }
@keyframes rh-pop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.rh-modal-head { padding: 15px 20px; border-bottom: 1px solid var(--rh-border-2); display: flex; align-items: center; justify-content: space-between; }
.rh-modal-head h3 { margin: 0; font-size: 16px; }
.rh-modal-close { background: none; border: 0; font-size: 21px; line-height: 1; color: var(--rh-text-4); cursor: pointer; padding: 2px 6px; }
.rh-modal-close:hover { color: var(--rh-danger); }
.rh-modal-body { padding: 20px; overflow-y: auto; }
.rh-modal-foot { padding: 14px 20px; border-top: 1px solid var(--rh-border-2); display: flex; justify-content: flex-end; gap: 10px; }

/* ---------------------------------------------------------------- Toast */
#rh-toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.rh-toast {
    min-width: 200px; max-width: 90vw; padding: 10px 18px; border-radius: var(--rh-radius); background: #fff;
    box-shadow: var(--rh-shadow-lg); border-left: 4px solid var(--rh-primary); font-size: 14px;
    animation: rh-slide .2s ease-out; color: var(--rh-text);
}
.rh-toast-success { border-left-color: var(--rh-success); }
.rh-toast-error { border-left-color: var(--rh-danger); }
.rh-toast-warn { border-left-color: var(--rh-warning); }
@keyframes rh-slide { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------------------------------------------------------------- 代码块 */
.rh-pre {
    position: relative; background: var(--rh-blue-900); color: #dbe7f3; border-radius: var(--rh-radius);
    padding: 15px 17px; overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 0 0 16px;
}
.rh-pre code { font-family: var(--rh-mono); background: none; color: inherit; padding: 0; }
.rh-pre .rh-copy { position: absolute; top: 9px; right: 9px; }
.rh-pre-h { display: flex; align-items: center; justify-content: space-between; background: var(--rh-blue-800); color: #a8c0d8; padding: 7px 14px; border-radius: var(--rh-radius) var(--rh-radius) 0 0; font-size: 12.5px; margin-bottom: 0; }
.rh-pre-h + .rh-pre { border-radius: 0 0 var(--rh-radius) var(--rh-radius); margin-top: 0; }
.rh-inline-code { background: var(--rh-bg-2); color: var(--rh-blue-700); padding: 1.5px 6px; border-radius: 4px; font-size: 12.8px; font-family: var(--rh-mono); }
.rh-copy {
    background: rgba(255, 255, 255, .14); color: #dbe7f3; border: 0; border-radius: 4px; padding: 3px 9px;
    font-size: 12px; cursor: pointer;
}
.rh-copy:hover { background: rgba(255, 255, 255, .28); }
.rh-copy-light { background: var(--rh-bg-2); color: var(--rh-text-2); }
.rh-copy-light:hover { background: var(--rh-border); }
.rh-keybox { display: flex; align-items: center; gap: 8px; background: var(--rh-bg); border: 1px dashed var(--rh-border); border-radius: var(--rh-radius-sm); padding: 8px 11px; font-family: var(--rh-mono); font-size: 12.8px; word-break: break-all; }

/* ---------------------------------------------------------------- 步骤条 */
.rh-steps { display: flex; gap: 0; counter-reset: step; flex-wrap: wrap; }
.rh-step { flex: 1 1 160px; text-align: center; position: relative; padding: 0 8px; }
.rh-step i {
    display: block; width: 34px; height: 34px; line-height: 32px; margin: 0 auto 9px; border-radius: 50%;
    border: 2px solid var(--rh-border); color: var(--rh-text-4); font-style: normal; font-weight: 700; background: #fff; position: relative; z-index: 2;
}
.rh-step.on i { border-color: var(--rh-primary); background: var(--rh-primary); color: #fff; }
.rh-step b { display: block; font-size: 14px; color: var(--rh-text); font-weight: 600; }
.rh-step span { display: block; font-size: 12.5px; color: var(--rh-text-3); margin-top: 3px; }
.rh-step::before { content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--rh-border); z-index: 1; }
.rh-step:first-child::before { display: none; }
.rh-step.on::before { background: var(--rh-primary); }

/* ---------------------------------------------------------------- 统计卡片 */
.rh-stat { background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius-lg); padding: 18px 20px; box-shadow: var(--rh-shadow); }
.rh-stat-label { font-size: 12.8px; color: var(--rh-text-3); display: flex; align-items: center; gap: 6px; }
.rh-stat-value { font-size: 27px; font-weight: 700; color: var(--rh-blue-900); margin-top: 7px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rh-stat-value small { font-size: 14px; font-weight: 500; color: var(--rh-text-3); margin-left: 3px; }
.rh-stat-foot { font-size: 12.5px; color: var(--rh-text-4); margin-top: 7px; }
.rh-stat-up { color: var(--rh-success); } .rh-stat-down { color: var(--rh-danger); }

/* ---------------------------------------------------------------- 进度条 */
.rh-progress { height: 7px; background: var(--rh-bg-2); border-radius: 20px; overflow: hidden; }
.rh-progress-bar { height: 100%; background: linear-gradient(90deg, var(--rh-blue-400), var(--rh-blue-500)); border-radius: 20px; transition: width .3s; }
.rh-progress-warn { background: linear-gradient(90deg, #fbbf24, var(--rh-warning)); }
.rh-progress-danger { background: linear-gradient(90deg, #f87171, var(--rh-danger)); }

/* ---------------------------------------------------------------- 门户 Hero */
.rh-hero { background: linear-gradient(135deg, var(--rh-blue-900) 0%, var(--rh-blue-700) 55%, var(--rh-blue-500) 100%); color: #fff; padding: 62px 0 68px; position: relative; overflow: hidden; }
.rh-hero::after {
    content: ''; position: absolute; right: -110px; top: -110px; width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 168, 254, .28), transparent 68%);
}
.rh-hero-inner { position: relative; z-index: 2; }
.rh-hero h1 { color: #fff; font-size: 38px; line-height: 1.3; margin-bottom: 16px; letter-spacing: -.4px; }
.rh-hero p { font-size: 16px; color: #c9dcf3; max-width: 620px; line-height: 1.85; }
.rh-hero-btns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.rh-hero .rh-btn { height: 42px; padding: 0 24px; font-size: 15px; }
.rh-hero .rh-btn-primary { background: #fff; color: var(--rh-blue-700); border-color: #fff; }
.rh-hero .rh-btn-primary:hover { background: var(--rh-blue-100); color: var(--rh-blue-900); }
.rh-hero .rh-btn-line { background: none; border-color: rgba(255, 255, 255, .5); color: #fff; }
.rh-hero .rh-btn-line:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.rh-hero-tag { display: inline-flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #dceafa; border-radius: 20px; padding: 4px 14px; font-size: 12.8px; margin-bottom: 20px; }
.rh-hero-metrics { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.rh-hero-metrics div b { display: block; font-size: 24px; color: #fff; }
.rh-hero-metrics div span { font-size: 12.8px; color: #a9c5e8; }
.rh-hero-terminal { background: rgba(4, 18, 38, .5); border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; padding: 12px; font-family: var(--rh-mono); font-size: 12.4px; color: #b9d3f0; line-height: 1.85; box-shadow: 0 22px 55px rgba(0, 0, 0, .28); }
.rh-hero-terminal .tbar { display: flex; gap: 6px; padding: 2px 4px 10px; }
.rh-hero-terminal .tbar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.rh-hero-terminal pre { margin: 0; white-space: pre-wrap; word-break: break-all; }
.rh-hero-terminal .k { color: #6ea8fe; } .rh-hero-terminal .s { color: #7ee2b8; } .rh-hero-terminal .c { color: #7d94b0; }

/* ---------------------------------------------------------------- 门户区块 */
.rh-section { padding: 56px 0; }
.rh-section-gray { background: #fff; border-top: 1px solid var(--rh-border); border-bottom: 1px solid var(--rh-border); }
.rh-section-title { text-align: center; margin-bottom: 34px; }
.rh-section-title h2 { font-size: 27px; margin-bottom: 8px; }
.rh-section-title p { color: var(--rh-text-3); font-size: 14.5px; max-width: 620px; margin: 0 auto; }
.rh-eyebrow { display: inline-block; font-size: 12.5px; color: var(--rh-primary); background: var(--rh-primary-bg); border: 1px solid var(--rh-blue-100); border-radius: 20px; padding: 2px 12px; margin-bottom: 11px; }
.rh-feature { padding: 22px; height: 100%; }
.rh-feature-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--rh-primary-bg); color: var(--rh-primary); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 13px; }
.rh-feature h4 { margin-bottom: 7px; }
.rh-feature p { color: var(--rh-text-3); font-size: 13.4px; margin: 0; line-height: 1.75; }
.rh-product-card { padding: 20px; display: flex; flex-direction: column; height: 100%; }
.rh-product-card h4 { margin: 0 0 7px; font-size: 16px; }
.rh-product-card .desc { color: var(--rh-text-3); font-size: 13.2px; flex: 1 1 auto; margin-bottom: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rh-product-card .price { color: var(--rh-primary); font-weight: 700; font-size: 15px; }
.rh-product-thumb { height: 8px; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, var(--rh-blue-500), var(--rh-blue-300)); margin: -20px -20px 16px; }
.rh-price-card { padding: 26px 22px; text-align: center; position: relative; }
.rh-price-card.hot { border-color: var(--rh-primary); box-shadow: 0 8px 28px rgba(21, 91, 212, .16); }
.rh-price-card .flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--rh-primary); color: #fff; font-size: 11.5px; padding: 2px 12px; border-radius: 20px; }
.rh-price-card .amount { font-size: 33px; font-weight: 800; color: var(--rh-blue-900); margin: 10px 0 2px; }
.rh-price-card .amount small { font-size: 14px; font-weight: 500; color: var(--rh-text-3); }
.rh-price-card ul { list-style: none; padding: 0; margin: 18px 0; text-align: left; }
.rh-price-card li { padding: 6px 0 6px 21px; position: relative; font-size: 13.4px; color: var(--rh-text-2); border-bottom: 1px dashed var(--rh-border-2); }
.rh-price-card li::before { content: '\2713'; position: absolute; left: 2px; color: var(--rh-success); font-weight: 700; }
.rh-news-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--rh-border-2); }
.rh-news-item:last-child { border-bottom: 0; }
.rh-news-date { flex: none; width: 56px; text-align: center; color: var(--rh-text-4); font-size: 12px; line-height: 1.35; }
.rh-news-date b { display: block; font-size: 19px; color: var(--rh-primary); }
.rh-notice-bar { background: var(--rh-primary-bg); border-bottom: 1px solid var(--rh-blue-100); color: var(--rh-blue-700); font-size: 13px; padding: 8px 0; }
.rh-notice-bar .rh-container { display: flex; align-items: center; gap: 12px; }

/* ---------------------------------------------------------------- 文档中心 */
.rh-docs { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 24px; align-items: start; }
.rh-doc-side { position: sticky; top: calc(var(--rh-header-h) + 16px); max-height: calc(100vh - var(--rh-header-h) - 32px); overflow-y: auto; padding: 12px 0 12px 4px; }
.rh-doc-side a { display: block; padding: 7px 12px; border-radius: var(--rh-radius-sm); color: var(--rh-text-2); font-size: 13.4px; }
.rh-doc-side a:hover { background: var(--rh-primary-bg); color: var(--rh-primary); }
.rh-doc-side a.active { background: var(--rh-primary-bg); color: var(--rh-primary); font-weight: 600; }
.rh-doc-side h5 { font-size: 12.5px; color: var(--rh-text-4); text-transform: none; padding: 12px 12px 5px; margin: 0; }
.rh-doc-group > .rh-doc-list { display: none; }
.rh-doc-group.open > .rh-doc-list { display: block; }
.rh-doc-article { padding: 26px 30px; }
.rh-doc-article > h1 { font-size: 27px; padding-bottom: 14px; border-bottom: 1px solid var(--rh-border); }
.rh-doc-toc { position: sticky; top: calc(var(--rh-header-h) + 16px); font-size: 12.8px; }
.rh-doc-toc a { display: block; padding: 4px 0 4px 11px; border-left: 2px solid var(--rh-border); color: var(--rh-text-3); }
.rh-doc-toc a:hover { color: var(--rh-primary); border-left-color: var(--rh-primary); }

/* 富文本正文 */
.rh-content { font-size: 14.6px; line-height: 1.85; color: var(--rh-text); word-break: break-word; }
.rh-content h2 { font-size: 20px; margin: 28px 0 12px; padding-left: 11px; border-left: 3px solid var(--rh-primary); }
.rh-content h3 { font-size: 16.5px; margin: 22px 0 10px; }
.rh-content h4 { font-size: 15px; margin: 18px 0 8px; }
.rh-content p { margin: 0 0 14px; }
.rh-content ul, .rh-content ol { margin-bottom: 14px; }
.rh-content li { margin-bottom: 5px; }
.rh-content img { border-radius: var(--rh-radius); border: 1px solid var(--rh-border-2); margin: 8px 0; }
.rh-content table { margin: 0 0 16px; font-size: 13.6px; }
.rh-content table th, .rh-content table td { border: 1px solid var(--rh-border); padding: 8px 12px; }
.rh-content table th { background: #f8fafd; }
.rh-content code:not(pre code) { background: var(--rh-bg-2); color: var(--rh-blue-700); padding: 1.5px 5.5px; border-radius: 4px; font-size: 13px; font-family: var(--rh-mono); }
.rh-content pre { background: var(--rh-blue-900); color: #dbe7f3; padding: 14px 16px; border-radius: var(--rh-radius); overflow-x: auto; font-size: 13px; line-height: 1.7; margin: 0 0 16px; }
.rh-content pre code { background: none; color: inherit; padding: 0; }
.rh-content blockquote { margin: 0 0 16px; padding: 11px 16px; background: var(--rh-primary-bg); border-left: 3px solid var(--rh-primary); color: var(--rh-blue-700); border-radius: 0 var(--rh-radius-sm) var(--rh-radius-sm) 0; }
.rh-content blockquote p:last-child { margin-bottom: 0; }
.rh-content a { text-decoration: underline; text-underline-offset: 2px; }
.rh-content hr { margin: 24px 0; }

/* ---------------------------------------------------------------- 登录/注册 */
.rh-auth { min-height: 100vh; display: flex; background: #fff; }
.rh-auth-side { flex: 1 1 46%; background: linear-gradient(140deg, var(--rh-blue-900), var(--rh-blue-600)); color: #fff; padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.rh-auth-side::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; bottom: -180px; background: rgba(110, 168, 254, .15); }
.rh-auth-side h2 { color: #fff; font-size: 29px; position: relative; }
.rh-auth-side p { color: #c3d8f1; position: relative; line-height: 1.9; }
.rh-auth-side ul { list-style: none; padding: 0; margin: 26px 0 0; position: relative; }
.rh-auth-side li { padding: 9px 0 9px 26px; position: relative; color: #dceafa; font-size: 14px; }
.rh-auth-side li::before { content: ''; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--rh-blue-300); }
.rh-auth-main { flex: 1 1 54%; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.rh-auth-box { width: 100%; max-width: 380px; }
.rh-auth-box h1 { font-size: 23px; margin-bottom: 6px; }
.rh-auth-box .sub { color: var(--rh-text-3); margin-bottom: 24px; font-size: 13.5px; }
.rh-auth-foot { margin-top: 18px; font-size: 13px; color: var(--rh-text-3); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rh-auth-switch { display: flex; background: var(--rh-bg); border-radius: var(--rh-radius); padding: 3px; margin-bottom: 20px; }
.rh-auth-switch button { flex: 1; border: 0; background: none; padding: 8px 0; border-radius: var(--rh-radius-sm); cursor: pointer; color: var(--rh-text-3); font-size: 14px; }
.rh-auth-switch .active { background: #fff; color: var(--rh-primary); font-weight: 600; box-shadow: var(--rh-shadow); }
.pw-meter { height: 4px; border-radius: 4px; background: var(--rh-bg-2); margin-top: 7px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--rh-danger); transition: width .25s, background .25s; }

/* ---------------------------------------------------------------- 控制台 */
.rh-app { display: flex; min-height: 100vh; background: var(--rh-bg); }
.rh-side {
    width: 218px; flex: none; background: var(--rh-blue-900); color: #b3c6da; display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.rh-side-logo { height: 58px; display: flex; align-items: center; gap: 9px; padding: 0 18px; color: #fff; font-weight: 700; font-size: 15.5px; border-bottom: 1px solid rgba(255, 255, 255, .09); flex: none; }
.rh-side-logo:hover { color: #fff; }
.rh-side-scroll { flex: 1 1 auto; overflow-y: auto; padding: 10px 0 20px; }
.rh-side-scroll::-webkit-scrollbar { width: 5px; } .rh-side-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 3px; }
.rh-side-group { font-size: 11.5px; color: #6d869f; padding: 16px 20px 6px; letter-spacing: .4px; }
.rh-side a.rh-side-item {
    display: flex; align-items: center; gap: 10px; padding: 9px 20px; color: #b3c6da; font-size: 13.8px; border-left: 3px solid transparent;
}
.rh-side a.rh-side-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.rh-side a.rh-side-item.active { background: rgba(47, 128, 237, .18); color: #fff; border-left-color: var(--rh-blue-400); font-weight: 600; }
.rh-side-ico { width: 16px; text-align: center; flex: none; font-size: 14px; opacity: .9; }
.rh-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.rh-topbar {
    height: 58px; background: #fff; border-bottom: 1px solid var(--rh-border); display: flex; align-items: center;
    justify-content: space-between; gap: 16px; padding: 0 22px; position: sticky; top: 0; z-index: 800;
}
.rh-topbar-title { font-size: 15.5px; font-weight: 600; color: var(--rh-blue-900); }
.rh-topbar-title small { font-weight: 400; color: var(--rh-text-4); font-size: 12.5px; margin-left: 8px; }
.rh-topbar-right { display: flex; align-items: center; gap: 12px; }
.rh-page { padding: 22px; flex: 1 1 auto; }
.rh-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--rh-text-3); flex-wrap: wrap; margin-bottom: 4px; }
.rh-crumb span { color: var(--rh-text-4); }
.rh-side-btn { display: none; }

/* ---------------------------------------------------------------- 工单/消息列表 */
.rh-list-item { display: flex; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--rh-border-2); align-items: flex-start; }
.rh-list-item:last-child { border-bottom: 0; }
.rh-list-item:hover { background: #fafcff; }
.rh-list-main { flex: 1 1 auto; min-width: 0; }
.rh-list-title { font-size: 14.4px; font-weight: 600; color: var(--rh-text); margin-bottom: 4px; }
.rh-list-title a { color: inherit; } .rh-list-title a:hover { color: var(--rh-primary); }
.rh-list-meta { font-size: 12.4px; color: var(--rh-text-4); display: flex; gap: 12px; flex-wrap: wrap; }
.rh-chat { display: flex; flex-direction: column; gap: 14px; }
.rh-chat-item { display: flex; gap: 11px; }
.rh-chat-item.me { flex-direction: row-reverse; }
.rh-chat-bubble { max-width: 78%; background: var(--rh-bg); border: 1px solid var(--rh-border); border-radius: 10px; padding: 11px 14px; }
.rh-chat-item.me .rh-chat-bubble { background: var(--rh-primary-bg); border-color: var(--rh-blue-100); }
.rh-chat-who { font-size: 12px; color: var(--rh-text-4); margin-bottom: 4px; }

/* ---------------------------------------------------------------- 邮件富文本编辑器 */
.rh-editor { border: 1px solid var(--rh-border); border-radius: var(--rh-radius); overflow: hidden; background: #fff; }
.rh-editor-bar { display: flex; flex-wrap: wrap; gap: 3px; padding: 6px 8px; background: #f8fafd; border-bottom: 1px solid var(--rh-border); }
.rh-editor-bar button { min-width: 30px; height: 28px; border: 1px solid transparent; background: none; border-radius: 4px; cursor: pointer; color: var(--rh-text-2); font-size: 13px; padding: 0 7px; }
.rh-editor-bar button:hover { background: #fff; border-color: var(--rh-border); color: var(--rh-primary); }
.rh-editor-bar select { height: 28px; border: 1px solid var(--rh-border); border-radius: 4px; background: #fff; font-size: 12.5px; padding: 0 5px; }
.rh-editor-bar .sep { width: 1px; background: var(--rh-border); margin: 3px 5px; }
.rh-editor-iframe, .rh-editor-area { width: 100%; min-height: 300px; border: 0; padding: 14px 16px; display: block; background: #fff; color: var(--rh-text); font-size: 14px; line-height: 1.8; overflow-y: auto; }
.rh-editor-iframe { min-height: 320px; }
.rh-editor-foot { padding: 6px 10px; border-top: 1px solid var(--rh-border); background: #f8fafd; font-size: 12px; color: var(--rh-text-4); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- 图表 */
.rh-chart { width: 100%; height: 260px; display: block; }
.rh-chart text { font-size: 11px; fill: var(--rh-text-4); font-family: var(--rh-font); }
.rh-chart .grid { stroke: var(--rh-border-2); stroke-width: 1; }
.rh-chart .axis { stroke: var(--rh-border); stroke-width: 1; }
.rh-chart .line { stroke: var(--rh-blue-500); stroke-width: 2; fill: none; }
.rh-chart .area { fill: url(#rhGradArea); opacity: .9; }
.rh-chart .bar { fill: var(--rh-blue-400); }
.rh-chart .bar:hover, .rh-chart .dot:hover { fill: var(--rh-blue-600); }
.rh-chart .dot { fill: var(--rh-blue-500); }
.rh-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--rh-text-3); padding: 10px 0 0; }
.rh-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.rh-ring { --v: 0; width: 116px; height: 116px; border-radius: 50%; background: conic-gradient(var(--rh-blue-500) calc(var(--v) * 1%), var(--rh-bg-2) 0); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.rh-ring > div { width: 86px; height: 86px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rh-ring b { font-size: 20px; color: var(--rh-blue-900); } .rh-ring span { font-size: 11.5px; color: var(--rh-text-4); }

/* ---------------------------------------------------------------- 时间线 */
.rh-timeline { position: relative; padding-left: 20px; }
.rh-timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: var(--rh-border); }
.rh-timeline-item { position: relative; padding-bottom: 18px; }
.rh-timeline-item::before { content: ''; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--rh-primary); }
.rh-timeline-item.mute::before { border-color: var(--rh-border); }
.rh-timeline-item b { font-size: 13.8px; } .rh-timeline-item time { font-size: 12px; color: var(--rh-text-4); margin-left: 8px; }
.rh-timeline-item p { margin: 4px 0 0; font-size: 13.2px; color: var(--rh-text-3); }

/* ---------------------------------------------------------------- 骨架/杂项 */
.rh-loading { display: inline-block; width: 15px; height: 15px; border: 2px solid var(--rh-blue-100); border-top-color: var(--rh-primary); border-radius: 50%; animation: rh-spin .7s linear infinite; vertical-align: -3px; }
@keyframes rh-spin { to { transform: rotate(360deg); } }
.rh-skeleton { background: linear-gradient(90deg, var(--rh-bg-2) 25%, #f7fafc 50%, var(--rh-bg-2) 75%); background-size: 400% 100%; animation: rh-sk 1.2s infinite; border-radius: 4px; height: 12px; margin-bottom: 8px; }
@keyframes rh-sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.rh-divider-text { display: flex; align-items: center; gap: 12px; color: var(--rh-text-4); font-size: 12.5px; margin: 20px 0; }
.rh-divider-text::before, .rh-divider-text::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--rh-border); }
.rh-scrollbar { scrollbar-width: thin; scrollbar-color: var(--rh-border) transparent; }
.rh-scrollbar::-webkit-scrollbar { width: 8px; height: 8px; }
.rh-scrollbar::-webkit-scrollbar-thumb { background: var(--rh-border); border-radius: 4px; }
.rh-tabs-scroll { overflow-x: auto; white-space: nowrap; }

/* ---------------------------------------------------------------- 图标 */
.rh-ico { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; flex: none; }
.rh-ico-lg { width: 20px; height: 20px; vertical-align: -5px; }
.rh-ico-sm { width: 13px; height: 13px; vertical-align: -2px; }
.rh-btn .rh-ico { margin-right: 5px; width: 15px; height: 15px; }
.rh-btn-group .rh-btn .rh-ico { margin-right: 0; }
.rh-side-item .rh-ico { width: 17px; height: 17px; }
.rh-doc-side .rh-ico { width: 15px; height: 15px; margin-right: 6px; }
.rh-list-title .rh-ico, .rh-card-head .rh-ico { margin-right: 6px; }
.rh-alert-icon .rh-ico { width: 18px; height: 18px; }
.rh-empty .rh-ico { width: 34px; height: 34px; opacity: .45; margin-bottom: 8px; }
.rh-drop-menu .rh-ico { margin-right: 7px; opacity: .8; }
.rh-feature-icon .rh-ico { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1200px) {
    .rh-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .rh-docs { grid-template-columns: minmax(0, 1fr); }
    .rh-doc-side { position: static; max-height: none; }
    .rh-footer-main { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .rh-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rh-auth-side { display: none; }
    .rh-hero h1 { font-size: 31px; }
}
@media (max-width: 860px) {
    :root { --rh-header-h: 58px; }
    .rh-nav-toggle { display: block; }
    .rh-nav {
        display: none; position: absolute; left: 0; right: 0; top: var(--rh-header-h);
        flex-direction: column; align-items: stretch; background: #fff; padding: 8px 14px 14px;
        border-bottom: 1px solid var(--rh-border); box-shadow: var(--rh-shadow-lg); gap: 2px;
    }
    .rh-nav.open { display: flex; }
    .rh-header-inner { gap: 10px; }
    .rh-grid-2, .rh-grid-3, .rh-grid-4 { grid-template-columns: minmax(0, 1fr); }
    .rh-form-grid, .rh-form-grid-3 { grid-template-columns: minmax(0, 1fr); }
    .rh-span-2 { grid-column: span 1; }
    .rh-hero { padding: 44px 0 48px; } .rh-hero h1 { font-size: 26px; } .rh-hero p { font-size: 14.5px; }
    .rh-hero-terminal { display: none; }
    .rh-section { padding: 38px 0; } .rh-section-title h2 { font-size: 22px; }
    .rh-footer-main { grid-template-columns: 1fr; }
    /* 侧栏抽屉 */
    .rh-side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 1000; width: 240px; transform: translateX(-100%); transition: transform .22s; height: 100vh; }
    .rh-app.side-open .rh-side { transform: none; }
    .rh-app.side-open::after { content: ''; position: fixed; inset: 0; background: rgba(11, 37, 69, .45); z-index: 999; }
    .rh-side-btn { display: inline-flex; width: 32px; height: 32px; border: 1px solid var(--rh-border); background: #fff; border-radius: 6px; align-items: center; justify-content: center; cursor: pointer; }
    .rh-page { padding: 14px; }
    .rh-topbar { padding: 0 14px; }
    .rh-modal-box { margin-top: 3vh; max-height: 94vh; }
    .rh-card-body, .rh-card-head, .rh-card-foot { padding-left: 16px; padding-right: 16px; }
    .rh-table th, .rh-table td { padding: 9px 10px; }
    .rh-desc { grid-template-columns: 108px minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .rh-container { padding: 0 14px; }
    .rh-stat-value { font-size: 22px; }
    .rh-btn-lg { height: 40px; padding: 0 18px; font-size: 14px; }
    .rh-code-btn { min-width: 104px; }
}
@media print {
    .rh-header, .rh-footer, .rh-side, .rh-topbar, .rh-btn, .rh-pager, .rh-notice-bar { display: none !important; }
    body { background: #fff; }
    .rh-page { padding: 0; }
    .rh-card { box-shadow: none; border-color: #ccc; }
}
