/* ==========================================================================
   CloudHai Design System
   用户端  .theme-blueprint  浅色「工程蓝本」
   后台端  .theme-console    深色「控制台」
   ========================================================================== */

/* ------------------------------ 设计令牌 ------------------------------ */
:root {
    --font-sans: 'IBM Plex Sans', 'PingFang SC', 'HarmonyOS Sans SC', 'MiSans',
                 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono',
                 Menlo, Consolas, 'Liberation Mono', monospace;

    --radius: 6px;
    --radius-sm: 4px;
}

/* 浅色：工程蓝本 */
body.theme-blueprint {
    --bg: #F1F4F9;
    --surface: #FFFFFF;
    --surface-2: #F6F8FC;
    --field-bg: #FFFFFF;
    --row-hover: #F5F8FD;

    --ink: #0B1A31;
    --ink-2: #46586F;
    --ink-3: #7B8BA3;

    --line: #D8DFEA;
    --line-2: #C2CCDC;

    --accent: #0F62FE;
    --accent-2: #0B3FA8;
    --accent-soft: rgba(15, 98, 254, .09);

    --ok: #0B7A55;
    --ok-soft: rgba(11, 122, 85, .10);
    --warn: #A85B00;
    --warn-soft: rgba(168, 91, 0, .10);
    --danger: #C0392B;
    --danger-soft: rgba(192, 57, 43, .09);
    --vio: #5B3FD1;
    --vio-soft: rgba(91, 63, 209, .10);

    --code-bg: #0B1A31;
    --code-ink: #CFE0FF;
    --code-line: #1B2E4C;

    --shadow: 0 1px 2px rgba(11, 26, 49, .05);
    --shadow-lg: 0 1px 2px rgba(11, 26, 49, .06), 0 22px 48px -24px rgba(11, 26, 49, .30);

    background-color: var(--bg);
    background-image:
        radial-gradient(900px 440px at 50% -160px, rgba(15, 98, 254, .10), transparent 70%),
        linear-gradient(rgba(15, 98, 254, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 98, 254, .05) 1px, transparent 1px),
        linear-gradient(rgba(11, 26, 49, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 26, 49, .035) 1px, transparent 1px);
    background-size: auto, 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    background-attachment: fixed;
}

/* 深色：控制台 */
body.theme-console {
    --bg: #070B12;
    --surface: #0F1723;
    --surface-2: #141E2C;
    --field-bg: #0B1119;
    --row-hover: #131E2D;

    --ink: #E8EEF8;
    --ink-2: #93A4BC;
    --ink-3: #61738C;

    --line: #1C2837;
    --line-2: #2A3A50;

    --accent: #3D7BFF;
    --accent-2: #6B9CFF;
    --accent-soft: rgba(61, 123, 255, .14);

    --ok: #34D399;
    --ok-soft: rgba(52, 211, 153, .12);
    --warn: #FBBF24;
    --warn-soft: rgba(251, 191, 36, .12);
    --danger: #F87171;
    --danger-soft: rgba(248, 113, 113, .12);
    --vio: #A78BFA;
    --vio-soft: rgba(167, 139, 250, .12);

    --code-bg: #05090F;
    --code-ink: #BFD4FF;
    --code-line: #1B2838;

    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 1px 2px rgba(0, 0, 0, .5), 0 24px 56px -26px rgba(0, 0, 0, .85);

    background-color: var(--bg);
    background-image:
        radial-gradient(1100px 520px at 50% -200px, rgba(61, 123, 255, .13), transparent 70%),
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: auto, 32px 32px, 32px 32px;
    background-attachment: fixed;
}

/* ------------------------------ 基础 ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.theme-blueprint,
body.theme-console { min-height: 100vh; }

.hidden { display: none !important; }

.ch-mono, .ch-code, .ch-kv, code, kbd {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a { color: inherit; }

/* ------------------------------ 版式 ------------------------------ */
.ch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.ch-eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--accent);
    flex: none;
}

.ch-h1 {
    margin: 0;
    font-size: clamp(1.85rem, 4.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.022em;
    color: var(--ink);
}
.ch-h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.008em;
    color: var(--ink);
}
.ch-h3 {
    margin: 0;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink);
}
.ch-lead {
    margin: 0;
    font-size: .875rem;
    line-height: 1.8;
    color: var(--ink-2);
}
.ch-muted { color: var(--ink-3); }

.ch-rule {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.ch-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line-2);
}

/* ------------------------------ 容器 / 卡片 ------------------------------ */
.ch-shell {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.ch-shell--narrow { max-width: 34rem; }
.ch-shell--mid { max-width: 48rem; }

.ch-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.ch-card__pad { padding: 1.6rem; }
.ch-card--flat { box-shadow: none; }

/* 角落刻度标记（工程感） */
.ch-ticks::before,
.ch-ticks::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    border: 0 solid var(--accent);
    opacity: .5;
    pointer-events: none;
}
.ch-ticks::before {
    top: -1px; left: -1px;
    border-width: 1px 0 0 1px;
}
.ch-ticks::after {
    bottom: -1px; right: -1px;
    border-width: 0 1px 1px 0;
}

/* ------------------------------ 按钮 ------------------------------ */
.ch-btn {
    --_bg: var(--surface-2);
    --_fg: var(--ink);
    --_bd: var(--line-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.15rem;
    border: 1px solid var(--_bd);
    border-radius: var(--radius-sm);
    background: var(--_bg);
    color: var(--_fg);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .015em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease,
                background-color .16s ease, border-color .16s ease, color .16s ease;
}
.ch-btn:hover { transform: translateY(-1px); }
.ch-btn:active { transform: translateY(0); }
.ch-btn[disabled] { opacity: .5; pointer-events: none; }

.ch-btn--primary {
    --_bg: var(--accent);
    --_fg: #fff;
    --_bd: var(--accent);
}
.ch-btn--primary:hover {
    --_bg: var(--accent-2);
    --_bd: var(--accent-2);
    box-shadow: 0 8px 20px -10px var(--accent);
}

.ch-btn--ok { --_bg: var(--ok); --_fg: #fff; --_bd: var(--ok); }
.ch-btn--ok:hover { box-shadow: 0 8px 20px -10px var(--ok); }

.ch-btn--warn { --_bg: var(--warn); --_fg: #fff; --_bd: var(--warn); }
.ch-btn--danger { --_bg: var(--danger); --_fg: #fff; --_bd: var(--danger); }
.ch-btn--vio { --_bg: var(--vio); --_fg: #fff; --_bd: var(--vio); }

.ch-btn--ghost {
    --_bg: transparent;
    --_fg: var(--ink-2);
    --_bd: var(--line-2);
}
.ch-btn--ghost:hover { --_fg: var(--ink); --_bd: var(--ink-3); }

.ch-btn--block { width: 100%; }
.ch-btn--sm { padding: .55rem .85rem; font-size: 12.5px; }

/* 文字型操作按钮 */
.ch-act {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem 0;
    border: 0;
    background: none;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    transition: color .16s ease, filter .16s ease;
}
.ch-act:hover { color: var(--accent-2); }
.ch-act--danger { color: var(--danger); }
.ch-act--danger:hover { color: var(--danger); filter: brightness(1.18); }

/* ------------------------------ 表单 ------------------------------ */
.ch-field { display: block; }
.ch-label {
    display: block;
    margin-bottom: .5rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.ch-input,
.ch-textarea {
    width: 100%;
    padding: .8rem .9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--field-bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.ch-textarea {
    font-family: var(--font-mono);
    font-size: 12.5px;
    resize: vertical;
}
.ch-input::placeholder,
.ch-textarea::placeholder { color: var(--ink-3); opacity: .75; }
.ch-input:focus,
.ch-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.ch-input--mono {
    font-family: var(--font-mono);
    letter-spacing: .08em;
}
.ch-input--center { text-align: center; }
.ch-hint {
    margin: .5rem 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--ink-3);
}

.ch-input-wrap { position: relative; }
.ch-input-wrap .ch-input { padding-left: 2.6rem; }
.ch-input-wrap__ico {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding-left: .85rem;
    color: var(--ink-3);
    font-size: 13px;
    pointer-events: none;
}

.ch-check {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
    cursor: pointer;
    vertical-align: middle;
}

/* 只读键值展示 */
.ch-kv {
    padding: .78rem .9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--field-bg);
    color: var(--ink);
    font-size: 13px;
    word-break: break-all;
}

/* ------------------------------ 提示条 ------------------------------ */
.ch-note {
    display: flex;
    gap: .6rem;
    padding: .8rem 1rem;
    border-left: 2px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--field-bg);
    color: var(--ink-2);
    font-size: 12.5px;
    line-height: 1.75;
}
.ch-note i { color: var(--accent); margin-top: .2rem; }
.ch-note--ok { border-left-color: var(--ok); }
.ch-note--ok i { color: var(--ok); }
.ch-note--warn { border-left-color: var(--warn); }
.ch-note--warn i { color: var(--warn); }
.ch-note--danger { border-left-color: var(--danger); }
.ch-note--danger i { color: var(--danger); }

/* ------------------------------ 徽标 ------------------------------ */
.ch-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .34rem .58rem;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1;
    white-space: nowrap;
}
.ch-badge--ok { background: var(--ok-soft); color: var(--ok); }
.ch-badge--warn { background: var(--warn-soft); color: var(--warn); }
.ch-badge--info { background: var(--accent-soft); color: var(--accent); }
.ch-badge--vio { background: var(--vio-soft); color: var(--vio); }
.ch-badge--mute { background: var(--surface-2); color: var(--ink-3); }

/* ------------------------------ 表格 ------------------------------ */
.ch-table-wrap { overflow-x: auto; }
.ch-table {
    width: 100%;
    border-collapse: collapse;
}
.ch-table thead th {
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--line-2);
    color: var(--ink-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}
.ch-table tbody td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 13.5px;
    vertical-align: middle;
}
.ch-table tbody tr:last-child td { border-bottom: 0; }
.ch-table tbody tr { transition: background-color .14s ease; }
.ch-table tbody tr:hover { background: var(--row-hover); }
.ch-table .ch-td-key {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--ink);
}

/* ------------------------------ 步骤条 ------------------------------ */
.ch-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 .25rem;
}
.ch-steps__track,
.ch-steps__fill {
    position: absolute;
    top: 17px;
    height: 1px;
}
.ch-steps__track { left: 0; right: 0; background: var(--line-2); }
.ch-steps__fill {
    left: 0;
    background: var(--accent);
    transition: width .5s cubic-bezier(.16, 1, .3, 1);
}
.ch-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    flex: none;
}
.ch-step__dot {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-3);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    transition: all .26s ease;
}
.ch-step__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--ink-3);
    transition: color .2s ease;
}
.ch-step.is-active .ch-step__dot {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.ch-step.is-active .ch-step__label { color: var(--accent); }
.ch-step.is-done .ch-step__dot {
    border-color: var(--ok);
    background: var(--ok);
    color: #fff;
}
.ch-step.is-done .ch-step__label { color: var(--ok); }

/* ------------------------------ 代码块 ------------------------------ */
.ch-code {
    padding: .9rem 1rem;
    border: 1px solid var(--code-line);
    border-radius: var(--radius-sm);
    background: var(--code-bg);
    color: var(--code-ink);
    font-size: 12.5px;
    line-height: 1.75;
    word-break: break-all;
}

/* ------------------------------ 导航（控制台） ------------------------------ */
.ch-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 14, 22, .84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.ch-nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 58px;
}

.ch-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(150deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 15px;
    box-shadow: 0 8px 22px -12px var(--accent);
}
.ch-mark--lg { width: 46px; height: 46px; font-size: 18px; }

.ch-wordmark {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--ink);
}
.ch-wordmark span { color: var(--ink-3); font-weight: 500; }

/* ------------------------------ KPI 磁贴 ------------------------------ */
.ch-kpi {
    position: relative;
    overflow: hidden;
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .2s ease, border-color .2s ease;
}
.ch-kpi::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--accent);
    opacity: .8;
}
.ch-kpi:hover { transform: translateY(-2px); border-color: var(--line-2); }
.ch-kpi__ico {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
}
.ch-kpi__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.ch-kpi__val {
    font-family: var(--font-mono);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--ink);
}
.ch-kpi--ok::after { background: var(--ok); }
.ch-kpi--ok .ch-kpi__ico { background: var(--ok-soft); color: var(--ok); }
.ch-kpi--warn::after { background: var(--warn); }
.ch-kpi--warn .ch-kpi__ico { background: var(--warn-soft); color: var(--warn); }
.ch-kpi--vio::after { background: var(--vio); }
.ch-kpi--vio .ch-kpi__ico { background: var(--vio-soft); color: var(--vio); }

/* ------------------------------ Tab ------------------------------ */
.ch-tabs {
    display: flex;
    gap: .2rem;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
}
.ch-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .95rem 1.05rem;
    border: 0;
    background: none;
    color: var(--ink-3);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color .16s ease;
}
.ch-tab::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .26s cubic-bezier(.16, 1, .3, 1);
}
.ch-tab:hover { color: var(--ink); }
.ch-tab.is-active { color: var(--accent); }
.ch-tab.is-active::after { transform: scaleX(1); }

/* ------------------------------ 筛选片 ------------------------------ */
.ch-chip {
    padding: .45rem .78rem;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink-3);
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: all .16s ease;
}
.ch-chip:hover { color: var(--ink); border-color: var(--ink-3); }
.ch-chip.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ------------------------------ Toast ------------------------------ */
.ch-toast {
    position: fixed;
    top: 1.4rem;
    right: 1.4rem;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: .6rem;
    max-width: min(92vw, 23rem);
    padding: .85rem 1.05rem;
    border: 1px solid var(--line-2);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: var(--shadow-lg);
    transform: translateX(calc(100% + 1.6rem));
    transition: transform .36s cubic-bezier(.16, 1, .3, 1);
}
.ch-toast i { color: var(--accent); }
.ch-toast.is-in { transform: translateX(0); }
.ch-toast.is-success { border-left-color: var(--ok); }
.ch-toast.is-success i { color: var(--ok); }
.ch-toast.is-error { border-left-color: var(--danger); }
.ch-toast.is-error i { color: var(--danger); }
.ch-toast.is-warning { border-left-color: var(--warn); }
.ch-toast.is-warning i { color: var(--warn); }

/* ------------------------------ 模态框 ------------------------------ */
.ch-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(6, 11, 20, .58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: ch-fade .2s ease;
}
.ch-modal__box {
    width: 100%;
    max-width: 25rem;
    padding: 1.6rem;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    animation: ch-pop .28s cubic-bezier(.16, 1, .3, 1);
}
.ch-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.ch-modal__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}
.ch-modal__x {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink-3);
    font-size: 15px;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease;
}
.ch-modal__x:hover { background: var(--surface-2); color: var(--ink); }

/* ------------------------------ 品牌面板（登录页左） ------------------------------ */
.ch-brand-panel {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(155deg, #04142E 0%, #072552 44%, #0F62FE 138%);
}
.ch-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(125% 90% at 18% 8%, #000, transparent 76%);
    mask-image: radial-gradient(125% 90% at 18% 8%, #000, transparent 76%);
}
.ch-brand-panel::after {
    content: '';
    position: absolute;
    right: -150px;
    bottom: -170px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 160, 255, .55), transparent 65%);
    pointer-events: none;
}
.ch-brand-panel > * { position: relative; z-index: 1; }

.ch-brand-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}
.ch-brand-kicker::before {
    content: '';
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, .45);
}
.ch-brand-title {
    margin: 0;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.ch-brand-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .85rem;
}
.ch-brand-list li {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .78);
}
.ch-brand-list i {
    display: grid;
    place-items: center;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .14);
    font-size: 10px;
    color: #fff;
}
.ch-brand-foot {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .45);
}

/* ------------------------------ 装饰 / 其它 ------------------------------ */
.ch-grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .ch-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ch-divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.ch-enter {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent);
}
.ch-enter i { transition: transform .22s cubic-bezier(.16, 1, .3, 1); }
a:hover .ch-enter i,
.ch-enter-link:hover .ch-enter i { transform: translateX(5px); }

.ch-num {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    color: var(--accent);
    opacity: .8;
}

.ch-step-badge {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
}
.ch-step-badge--vio { border-color: var(--vio); color: var(--vio); }
.ch-step-badge--ok { border-color: var(--ok); color: var(--ok); }

.ch-icon-tile {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
}
.ch-icon-tile--ok { background: var(--ok-soft); color: var(--ok); }
.ch-icon-tile--warn { background: var(--warn-soft); color: var(--warn); }
.ch-icon-tile--vio { background: var(--vio-soft); color: var(--vio); }

.ch-icon-round {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 20px;
}
.ch-icon-round--ok { background: var(--ok-soft); color: var(--ok); }

/* 链接式返回 */
.ch-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-3);
    text-decoration: none;
    transition: color .16s ease, gap .16s ease;
}
.ch-back:hover { color: var(--accent); gap: .75rem; }

/* ------------------------------ 动效 ------------------------------ */
@keyframes ch-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ch-pop {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: none; }
}
@keyframes ch-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
.ch-rise { animation: ch-rise .62s cubic-bezier(.16, 1, .3, 1) both; }
.ch-rise-1 { animation-delay: .04s; }
.ch-rise-2 { animation-delay: .10s; }
.ch-rise-3 { animation-delay: .16s; }
.ch-rise-4 { animation-delay: .22s; }
.ch-rise-5 { animation-delay: .28s; }
.ch-rise-6 { animation-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
