/* ==========================================================================
   大鹏云 · 前台客户端模板视觉系统 v3
   DAPENG CLOUD Client Theme
   --------------------------------------------------------------------------
   设计基调：企业级云服务商。冷蓝 / 科技蓝 / 深蓝为主，白与浅灰承载内容，
   成功绿、警告橙、中性灰用于状态语义。圆角克制、阴影轻、留白充足。
   所有资源引用均为路径级相对地址，兼容 HTTP 与 HTTPS，天然可自适应。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计令牌
   -------------------------------------------------------------------------- */
:root {
    /* 品牌蓝 */
    --brand-900: #041f52;
    --brand-800: #062f78;
    --brand-700: #0040aa;
    --brand-600: #0b57d0;
    --brand-500: #1668e3;
    --brand-400: #3d86f0;
    --brand-300: #8ab6f7;
    --brand-100: #dbe8ff;
    --brand-50:  #eff5ff;
    --sky:       #2f9ee8;

    /* 语义色 */
    --primary:      var(--brand-600);
    --primary-dark: var(--brand-700);
    --primary-soft: var(--brand-50);
    --success:      #0f8a4c;
    --success-soft: #e9f8ef;
    --warning:      #b45f06;
    --warning-soft: #fff5e6;
    --danger:       #c9252d;
    --danger-soft:  #fef3f2;
    --info:         #0b6bcb;
    --info-soft:    #edf6ff;

    /* 中性 */
    --ink:      #0c1a2e;
    --text:     #1d2b40;
    --text-2:   #465872;
    --muted:    #6d7d93;
    --line:     #e4eaf3;
    --line-2:   #d3ddec;
    --panel:    #ffffff;
    --soft:     #f5f8fd;
    --soft-2:   #eef3fa;
    /* 旧模板内联样式兼容别名 */
    --border:   var(--line);

    /* 结构 */
    --radius:    14px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --shadow-xs: 0 1px 2px rgba(12, 26, 46, .05);
    --shadow:    0 1px 2px rgba(12, 26, 46, .04), 0 10px 26px -18px rgba(12, 26, 46, .28);
    --shadow-hover: 0 3px 10px rgba(12, 26, 46, .06), 0 20px 44px -24px rgba(4, 64, 170, .35);
    --shadow-lg: 0 22px 56px -28px rgba(4, 31, 82, .45);

    /* 字体 */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
            "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
    --font-num: "SF Mono", "Segoe UI", "Roboto", var(--font);
    --container: 1200px;
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body.dp-client {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--soft);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--brand-700); }

img, svg { max-width: 100%; }
img { height: auto; border: 0; }

h1, h2, h3, h4, h5 {
    margin: 0 0 .6em;
    color: var(--ink);
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: .2px;
}
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
code, kbd, pre { font-family: var(--font-num); }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 2px; }

::selection { background: var(--brand-100); color: var(--brand-900); }

/* --------------------------------------------------------------------------
   3. 布局骨架
   -------------------------------------------------------------------------- */
.dp-wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.dp-wrap-narrow { max-width: 880px; }
.dp-content { flex: 1 0 auto; width: 100%; }
.dp-page { padding: 36px 0 72px; }
.dp-section { padding: 56px 0 8px; }
.dp-skip {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--brand-700); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.dp-skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. 顶部导航
   -------------------------------------------------------------------------- */
.dp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease, background .2s ease;
}
.dp-header.is-scrolled {
    background: #fff;
    box-shadow: 0 6px 22px -14px rgba(12, 26, 46, .35);
}
.dp-header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 72px;
}

/* 品牌 */
.dp-brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.dp-brand:hover { text-decoration: none; }
.dp-brand-mark { width: 38px; height: 38px; flex: none; display: block; }
.dp-brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.dp-brand-name {
    font-size: 19px; font-weight: 800; color: var(--ink);
    letter-spacing: 1.2px; font-family: "PingFang SC", "Microsoft YaHei", var(--font);
}
.dp-brand-en {
    font-size: 9px; font-weight: 700; color: var(--muted);
    letter-spacing: 2.1px; margin-top: 3px;
}
.dp-brand:hover .dp-brand-name { color: var(--brand-700); }

/* 主导航 */
.dp-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.dp-nav > a {
    position: relative;
    padding: 9px 15px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-2);
    border-radius: var(--radius-xs);
    white-space: nowrap;
}
.dp-nav > a:hover { color: var(--brand-700); background: var(--brand-50); }
.dp-nav > a.active { color: var(--brand-700); font-weight: 600; }
.dp-nav > a.active::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: -19px;
    height: 2px; border-radius: 2px; background: var(--brand-600);
}
.dp-nav-badge {
    display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px;
    background: var(--brand-600); color: #fff; border-radius: 9px;
    font-size: 11px; line-height: 18px; font-weight: 600; text-align: center;
}

/* 右侧操作 */
.dp-header-right { display: flex; align-items: center; gap: 8px; flex: none; }
.dp-header-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; font-size: 13.5px; color: var(--text-2); border-radius: var(--radius-xs);
}
.dp-header-link:hover { color: var(--brand-700); background: var(--brand-50); }
.dp-header-cart {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: var(--radius-xs); color: var(--text-2);
    border: 1px solid var(--line);
}
.dp-header-cart:hover { color: var(--brand-700); border-color: var(--brand-300); background: var(--brand-50); }
.dp-header-cart-count {
    position: absolute; top: -6px; right: -6px; min-width: 17px; height: 17px;
    padding: 0 4px; border-radius: 9px; background: var(--brand-600); color: #fff;
    font-size: 10px; line-height: 17px; text-align: center; font-weight: 700;
}
.dp-header-divider { width: 1px; height: 20px; background: var(--line-2); margin: 0 2px; }
.dp-nav-sep { display: none; }

/* 汉堡 */
.dp-nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; flex: none;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xs); cursor: pointer;
}
.dp-nav-toggle i { position: relative; display: block; width: 18px; height: 2px; background: var(--text-2); border-radius: 2px; }
.dp-nav-toggle i::before, .dp-nav-toggle i::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text-2); border-radius: 2px;
}
.dp-nav-toggle i::before { top: -6px; }
.dp-nav-toggle i::after { top: 6px; }
.dp-nav-close { display: none; }

/* 系统公告 */
.dp-announcements { background: var(--brand-50); border-bottom: 1px solid var(--brand-100); }
.dp-ann { max-width: var(--container); margin: 0 auto; padding: 9px 24px; font-size: 13px; color: var(--text-2); }
.dp-ann strong { color: var(--brand-700); margin-right: 8px; }
.dp-ann-warning { background: var(--warning-soft); }
.dp-ann-danger { background: var(--danger-soft); }
.dp-announcement { padding: 12px 16px; }

/* --------------------------------------------------------------------------
   5. 按钮
   -------------------------------------------------------------------------- */
.dp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 20px;
    font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1.4;
    color: var(--text); background: #fff;
    border: 1px solid var(--line-2); border-radius: var(--radius-xs);
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}
.dp-btn:hover { text-decoration: none; border-color: var(--brand-300); color: var(--brand-700); }
.dp-btn:active { transform: translateY(1px); }

.dp-btn-primary {
    background: var(--brand-600); border-color: var(--brand-600); color: #fff;
    box-shadow: 0 3px 10px -3px rgba(11, 87, 208, .45);
}
.dp-btn-primary:hover {
    background: var(--brand-700); border-color: var(--brand-700); color: #fff;
    box-shadow: 0 6px 16px -6px rgba(4, 64, 170, .55);
}
.dp-btn-ghost { background: #fff; color: var(--text-2); border-color: var(--line-2); }
.dp-btn-ghost:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-300); }
.dp-btn-muted { background: var(--soft-2); color: var(--text-2); border-color: var(--line); }
.dp-btn-muted:hover { background: var(--soft); color: var(--text); border-color: var(--line-2); }
.dp-btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.dp-btn-danger:hover { background: #a91e26; border-color: #a91e26; color: #fff; }
.dp-btn-white { background: #fff; border-color: #fff; color: var(--brand-700); }
.dp-btn-white:hover { background: #eaf1ff; border-color: #eaf1ff; color: var(--brand-800); }
.dp-btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.dp-btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; }
.dp-btn-sm { padding: 6px 13px; font-size: 13px; border-radius: 7px; }
.dp-btn-lg { padding: 13px 28px; font-size: 15px; border-radius: var(--radius-sm); }
.dp-btn-block { display: flex; width: 100%; }
.dp-btn[disabled], .dp-btn.is-disabled {
    opacity: .55; cursor: not-allowed; box-shadow: none; transform: none;
}
.dp-inline-form { display: inline-flex; gap: 8px; margin: 0; align-items: center; }

/* --------------------------------------------------------------------------
   6. 首页 Hero
   -------------------------------------------------------------------------- */
.dp-hero {
    position: relative;
    overflow: hidden;
    margin: 24px auto 0;
    max-width: calc(var(--container) - 0px);
    padding: 0;
    border-radius: 22px;
    background: linear-gradient(118deg, #04205c 0%, #06307c 42%, #0b57d0 100%);
    color: #fff;
    isolation: isolate;
}
.dp-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 32% 40%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 32% 40%, #000 0%, transparent 78%);
}
.dp-hero::after {
    content: ""; position: absolute; z-index: -1;
    width: 620px; height: 620px; right: -180px; top: -260px;
    background: radial-gradient(circle, rgba(56, 160, 255, .38) 0%, transparent 62%);
    pointer-events: none;
}
.dp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 32px;
    align-items: center;
    padding: 64px 56px 58px;
}
.dp-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; margin-bottom: 18px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    font-size: 12px; letter-spacing: .4px; color: rgba(255, 255, 255, .86);
}
.dp-hero-eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18);
}
.dp-hero h1 {
    margin: 0 0 16px;
    font-size: 44px; line-height: 1.18; font-weight: 800;
    letter-spacing: .5px; color: #fff;
}
.dp-hero-sub {
    max-width: 520px; margin: 0 0 28px;
    font-size: 16px; line-height: 1.75; color: rgba(255, 255, 255, .78);
}
.dp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dp-hero-actions .dp-btn { padding: 13px 26px; font-size: 15px; border-radius: var(--radius-sm); }
.dp-hero-points {
    display: flex; flex-wrap: wrap; gap: 12px 24px;
    margin: 30px 0 0; padding: 0; list-style: none;
}
.dp-hero-points li {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; color: rgba(255, 255, 255, .74);
}
.dp-hero-points li::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: #56c8ff;
}
.dp-hero-visual { position: relative; display: flex; justify-content: flex-end; }
.dp-hero-visual svg { width: 100%; max-width: 460px; height: auto; filter: drop-shadow(0 24px 40px rgba(2, 18, 52, .45)); }
.dp-hero-metrics {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; margin: 34px 0 0;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px; overflow: hidden;
}
.dp-hero-metric { padding: 14px 16px; background: rgba(6, 26, 64, .35); }
.dp-hero-metric b { display: block; font-size: 19px; font-weight: 800; color: #fff; letter-spacing: .3px; }
.dp-hero-metric span { font-size: 12px; color: rgba(255, 255, 255, .62); }

/* --------------------------------------------------------------------------
   7. 区块标题
   -------------------------------------------------------------------------- */
.dp-section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 18px; margin-bottom: 26px; flex-wrap: wrap;
}
.dp-section-eyebrow {
    display: inline-block; margin-bottom: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
    color: var(--brand-600); text-transform: uppercase;
}
.dp-section-title, .dp-section-head h2 {
    margin: 0; font-size: 27px; font-weight: 800; letter-spacing: .2px; color: var(--ink);
}
.dp-sub-title { margin: 8px 0 0; font-size: 14px; color: var(--muted); font-weight: 400; }
.dp-more { font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.dp-more:hover { gap: 8px; }

/* --------------------------------------------------------------------------
   8. 卡片
   -------------------------------------------------------------------------- */
.dp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dp-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dp-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-xs);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.dp-card:hover { box-shadow: var(--shadow-hover); border-color: #c9d9f2; }
.dp-card-link { color: var(--text); }
.dp-card-link:hover { color: var(--text); transform: translateY(-3px); }
.dp-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-bottom: 16px;
    border-radius: 12px;
    background: var(--brand-50); color: var(--brand-600);
    border: 1px solid var(--brand-100);
}
.dp-card-icon svg { width: 22px; height: 22px; }
.dp-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.dp-card-desc { flex: 1; margin: 0 0 16px; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.dp-card-points { margin: 0 0 16px; padding: 0; list-style: none; }
.dp-card-points li {
    position: relative; padding-left: 16px; margin-bottom: 5px;
    font-size: 13px; color: var(--text-2);
}
.dp-card-points li::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 6px; height: 2px; border-radius: 2px; background: var(--brand-400);
}
.dp-card-cta { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--brand-600); }
.dp-card-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.dp-card-label { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.dp-card-value { font-size: 20px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.dp-card-accent-sky { border-top: 3px solid var(--sky); }
.dp-card-accent-green { border-top: 3px solid var(--success); }
.dp-card-accent-amber { border-top: 3px solid var(--warning); }
.dp-card-accent-red { border-top: 3px solid var(--danger); }
.dp-card-accent-purple { border-top: 3px solid #6d4bd8; }

.dp-price { font-size: 24px; font-weight: 800; color: var(--brand-700); font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.dp-price small { margin-left: 3px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

/* 卖点 */
.dp-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dp-feat {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px 22px; box-shadow: var(--shadow-xs);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.dp-feat:hover { box-shadow: var(--shadow-hover); border-color: #c9d9f2; transform: translateY(-2px); }
.dp-feat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-bottom: 14px;
    border-radius: 11px; background: var(--brand-50); color: var(--brand-600);
    border: 1px solid var(--brand-100);
}
.dp-feat-icon svg { width: 21px; height: 21px; }
.dp-feat h3 { margin: 0 0 6px; font-size: 15.5px; }
.dp-feat p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* 信任能力 */
.dp-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.dp-trust-item {
    padding: 22px; border-radius: var(--radius);
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}
.dp-trust-icon { display: inline-flex; color: var(--brand-600); margin-bottom: 10px; }
.dp-trust-icon svg { width: 24px; height: 24px; }
.dp-trust-item h3 { margin: 0 0 6px; font-size: 15px; }
.dp-trust-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* CTA 条 */
.dp-cta-band {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin: 56px 0 0; padding: 32px 36px;
    border-radius: var(--radius);
    background: linear-gradient(115deg, #062f78 0%, #0b57d0 100%);
    color: #fff;
}
.dp-cta-band h2 { margin: 0 0 6px; font-size: 22px; color: #fff; }
.dp-cta-band p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .75); }
.dp-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 常见问题 */
.dp-faq { max-width: 900px; margin: 0 auto; }
.dp-faq-item {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
    margin-bottom: 12px; overflow: hidden; transition: border-color .16s ease, box-shadow .16s ease;
}
.dp-faq-item:hover { border-color: #cddcf3; }
.dp-faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 17px 22px; cursor: pointer; list-style: none;
    font-size: 15px; font-weight: 600; color: var(--ink);
}
.dp-faq-item summary::-webkit-details-marker { display: none; }
.dp-faq-item summary::after {
    content: "+"; flex: none; color: var(--brand-600); font-size: 20px; font-weight: 400; line-height: 1;
    transition: transform .18s ease;
}
.dp-faq-item[open] { box-shadow: var(--shadow-xs); }
.dp-faq-item[open] summary { color: var(--brand-700); }
.dp-faq-item[open] summary::after { transform: rotate(45deg); }
.dp-faq-body {
    padding: 14px 22px 18px; border-top: 1px dashed var(--line);
    color: var(--text-2); font-size: 14px; line-height: 1.8;
}

/* --------------------------------------------------------------------------
   9. 面板 / 表格
   -------------------------------------------------------------------------- */
.dp-panel {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-xs);
}
.dp-panel-wide { padding: 30px 32px; }
.dp-panel-title {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
    font-size: 16px; font-weight: 700; color: var(--ink);
}
.dp-panel-title h2, .dp-panel-title h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.dp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.dp-panel-soft { background: linear-gradient(180deg, #fbfdff 0%, #f7fafe 100%); }
.dp-panel + .dp-panel { margin-top: 0; }

.dp-table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dp-table th {
    padding: 11px 14px; text-align: left; white-space: nowrap;
    background: var(--soft); border-bottom: 1px solid var(--line);
    color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .3px;
}
.dp-table td {
    padding: 14px; border-bottom: 1px solid var(--line);
    color: var(--text-2); vertical-align: middle;
}
.dp-table tbody tr { transition: background .12s ease; }
.dp-table tbody tr:hover { background: #f8fbff; }
.dp-table tbody tr:last-child td { border-bottom: none; }
.dp-table .dp-align-right, .dp-col-actions { text-align: right; white-space: nowrap; }
.dp-cell-note { margin-top: 3px; font-size: 12px; color: var(--muted); }
.dp-cell-strong { color: var(--ink); font-weight: 600; }

.dp-tbl-kv { width: 100%; border-collapse: collapse; font-size: 14px; }
.dp-tbl-kv th {
    width: 150px; padding: 12px 14px; text-align: left; vertical-align: top;
    color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line);
}
.dp-tbl-kv td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text); }
.dp-tbl-kv tr:last-child th, .dp-tbl-kv tr:last-child td { border-bottom: none; }

.dp-kv { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.dp-kv > div { min-width: 180px; }
.dp-kv span { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.dp-kv strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }

.dp-pre {
    padding: 16px 18px; border-radius: var(--radius-xs);
    background: #0b1b33; color: #cfe2ff;
    font-size: 12.5px; line-height: 1.75; overflow-x: auto; white-space: pre-wrap; word-break: break-word;
}

/* --------------------------------------------------------------------------
   10. 表单
   -------------------------------------------------------------------------- */
.dp-form-row { margin-bottom: 18px; }
.dp-form-row:last-child { margin-bottom: 0; }
.dp-form-row label, .dp-form-label {
    display: block; margin-bottom: 7px;
    font-size: 13px; font-weight: 600; color: var(--text);
}
.dp-form-row-inline { display: flex; gap: 14px; flex-wrap: wrap; }
.dp-form-row-inline > * { flex: 1; min-width: 180px; }
.dp-req { margin-left: 2px; color: var(--danger); }

.dp-form input[type="text"], .dp-form input[type="password"], .dp-form input[type="email"],
.dp-form input[type="number"], .dp-form input[type="date"], .dp-form input[type="datetime-local"],
.dp-form input[type="url"], .dp-form input[type="tel"], .dp-form input[type="search"],
.dp-form select, .dp-form textarea,
.dp-input, .dp-form-control {
    width: 100%; padding: 10px 13px;
    font-family: var(--font); font-size: 14px; color: var(--text);
    background: #fff; border: 1px solid var(--line-2);
    border-radius: var(--radius-xs); outline: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.dp-form select, .dp-input-select {
    appearance: none; -webkit-appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236d7d93' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}
.dp-form input::placeholder, .dp-form textarea::placeholder, .dp-input::placeholder { color: #9aa8bb; }
.dp-form input:hover, .dp-form select:hover, .dp-form textarea:hover,
.dp-input:hover, .dp-form-control:hover { border-color: #bccbe0; }
.dp-form input:focus, .dp-form select:focus, .dp-form textarea:focus,
.dp-input:focus, .dp-form-control:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px rgba(22, 104, 227, .13);
}
.dp-form input:disabled, .dp-form select:disabled, .dp-form textarea:disabled, .dp-input:disabled {
    background: var(--soft-2); color: var(--muted); cursor: not-allowed;
}
.dp-form textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.dp-input-sm { width: auto; max-width: 110px; padding: 7px 10px; font-size: 13px; }
.dp-help, .dp-help-text { margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.65; }
.dp-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.dp-form-pad { padding-top: 4px; }

.dp-checkbox { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.dp-checkbox input { width: 16px; height: 16px; accent-color: var(--brand-600); }
.dp-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.dp-radio input { width: 16px; height: 16px; accent-color: var(--brand-600); }

/* 支付方式卡片 */
.dp-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dp-choice {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; cursor: pointer;
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-xs);
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.dp-choice:hover { border-color: var(--brand-300); background: #fbfdff; }
.dp-choice input { width: 16px; height: 16px; accent-color: var(--brand-600); flex: none; }
.dp-choice-body strong { display: block; font-size: 14px; color: var(--ink); }
.dp-choice-body span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.dp-choice:has(input:checked) {
    border-color: var(--brand-500); background: var(--brand-50);
    box-shadow: 0 0 0 3px rgba(22, 104, 227, .1);
}

/* --------------------------------------------------------------------------
   11. 状态 / 标签 / 提示
   -------------------------------------------------------------------------- */
.dp-status, .dp-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap;
}
.dp-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dp-status-success, .dp-tag-success, .dp-tag-on { background: var(--success-soft); color: var(--success); }
.dp-status-info { background: var(--info-soft); color: var(--info); }
.dp-status-warning { background: var(--warning-soft); color: var(--warning); }
.dp-status-danger { background: var(--danger-soft); color: var(--danger); }
.dp-status-muted, .dp-tag-muted, .dp-status-off { background: #f0f4f9; color: var(--muted); }
.dp-tag-warning { background: var(--warning-soft); color: var(--warning); }
.dp-tag-info { background: var(--info-soft); color: var(--info); }
.dp-badge {
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    background: var(--brand-50); color: var(--brand-700);
    font-size: 12px; font-weight: 600;
}
.dp-plugin-tag {
    display: inline-block; padding: 1px 8px; border-radius: 6px;
    background: var(--soft-2); border: 1px solid var(--line);
    color: var(--muted); font-size: 11px;
}
.dp-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line-2);
    color: var(--text-2); font-size: 13px; font-weight: 500;
    transition: all .16s ease;
}
.dp-chip:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }
.dp-chip.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.dp-chip.is-active:hover { color: #fff; background: var(--brand-700); }

.dp-flashes { margin: 18px 0 0; }
.dp-flash {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px; margin-bottom: 12px;
    border-radius: var(--radius-xs); font-size: 14px;
    background: var(--success-soft); color: var(--success); border: 1px solid #bfe9d2;
}
.dp-flash::before { content: "✓"; font-weight: 700; line-height: 1.5; }
.dp-flash-error { background: var(--danger-soft); color: var(--danger); border-color: #f6cfd0; }
.dp-flash-error::before { content: "!"; }
.dp-flash-info { background: var(--info-soft); color: var(--info); border-color: #c6e2fb; }
.dp-flash-info::before { content: "i"; }
.dp-flash-warning { background: var(--warning-soft); color: var(--warning); border-color: #f5dfb8; }
.dp-flash-warning::before { content: "!"; }

.dp-tip {
    display: flex; gap: 10px;
    padding: 14px 16px; border-radius: var(--radius-xs);
    background: var(--brand-50); border: 1px solid var(--brand-100);
    color: var(--text-2); font-size: 13px; line-height: 1.75;
}
.dp-tip svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--brand-600); }
.dp-tip b { color: var(--brand-700); }
.dp-tip-warning { background: var(--warning-soft); border-color: #f2ddb9; }
.dp-tip-warning svg { color: var(--warning); }
.dp-tip-success { background: var(--success-soft); border-color: #c6ecd7; }
.dp-tip-success svg { color: var(--success); }
.dp-tip ul { margin: 4px 0 0; padding-left: 18px; }
.dp-tip li { margin-bottom: 3px; }
.dp-tip-title { font-weight: 700; color: var(--ink); }

.dp-empty {
    padding: 60px 24px; margin: 16px 0; text-align: center;
    background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius);
    color: var(--muted); font-size: 14px;
}
.dp-empty-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; margin-bottom: 14px; border-radius: 16px;
    background: var(--soft); color: #9aabc2;
}
.dp-empty-icon svg { width: 26px; height: 26px; }
.dp-empty-title { margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.dp-empty p { margin: 0 0 16px; }

/* --------------------------------------------------------------------------
   12. 会员中心布局
   -------------------------------------------------------------------------- */
.dp-detail-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.dp-member-grid { grid-template-columns: 236px minmax(0, 1fr); align-items: start; }
.dp-svc-view { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 992px) {
    .dp-svc-view { grid-template-columns: 1fr; }
    .dp-svc-view aside .dp-panel { position: static !important; }
}

.dp-side {
    position: sticky; top: 92px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px; box-shadow: var(--shadow-xs);
}
.dp-side-nav { display: block; }
.dp-nav-title {
    padding: 14px 12px 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    color: #93a2b8; text-transform: uppercase;
}
.dp-side-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; margin-bottom: 2px;
    border-radius: var(--radius-xs);
    font-size: 14px; font-weight: 500; color: var(--text-2);
}
.dp-side-nav a svg { width: 17px; height: 17px; flex: none; opacity: .8; }
.dp-side-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.dp-side-nav a.active { background: var(--brand-600); color: #fff; box-shadow: 0 4px 12px -6px rgba(11, 87, 208, .7); }
.dp-side-nav a.active svg { opacity: 1; }
.dp-side-foot { margin-top: 10px; padding: 10px 12px 4px; border-top: 1px solid var(--line); }
.dp-side-foot a { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 13.5px; color: var(--muted); }
.dp-side-foot a:hover { color: var(--danger); }
.dp-side-foot svg { width: 16px; height: 16px; }

.dp-page-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-bottom: 22px; flex-wrap: wrap;
}
.dp-page-head h1, .dp-page-title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: .2px; }
.dp-page-sub { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.dp-page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.dp-breadcrumb a { color: var(--muted); }
.dp-breadcrumb a:hover { color: var(--brand-700); }
.dp-breadcrumb span.sep { color: var(--line-2); }

.dp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.dp-stat {
    display: block; padding: 18px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-xs); color: var(--text);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
a.dp-stat:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-1px); color: var(--text); }
.dp-stat.is-active { border-color: var(--brand-500); background: var(--brand-50); }
.dp-stat-num { display: block; font-size: 24px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.dp-stat-label { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }

.dp-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dp-quick-btn {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 18px; text-align: left;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--text); box-shadow: var(--shadow-xs);
    transition: all .18s ease;
}
.dp-quick-btn:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.dp-quick-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; flex: none; border-radius: 10px;
    background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100);
}
.dp-quick-icon svg { width: 19px; height: 19px; }
.dp-quick-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.dp-quick-desc { margin-top: 2px; font-size: 12px; color: var(--muted); }
.dp-quick-btn strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.dp-quick-btn > span > span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.dp-quick-btn:hover strong { color: var(--brand-700); }
.dp-btn-ghost-light { background: rgba(255, 255, 255, .10); color: #fff; border-color: rgba(255, 255, 255, .30); }
.dp-btn-ghost-light:hover { background: rgba(255, 255, 255, .20); color: #fff; border-color: rgba(255, 255, 255, .55); }

/* 控制台欢迎区 */
.dp-dash-hero {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 24px 26px; margin-bottom: 18px;
    border-radius: var(--radius);
    background: linear-gradient(112deg, #06256b 0%, #0b57d0 100%);
    color: #fff;
}
.dp-dash-hero h1 { margin: 0 0 6px; font-size: 21px; color: #fff; }
.dp-dash-hero p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .74); }
.dp-dash-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 列表 */
.dp-list { margin: 0; padding: 0; list-style: none; }
.dp-list-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dp-list-item:last-child { border-bottom: none; }
.dp-list-item a { display: block; color: inherit; }
.dp-list-item a:hover .dp-list-title { color: var(--brand-700); }
.dp-list-title { margin-bottom: 2px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.dp-list-desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.dp-list-time { margin-top: 4px; font-size: 11.5px; color: #93a2b8; }

/* --------------------------------------------------------------------------
   13. 产品列表 / 详情
   -------------------------------------------------------------------------- */
.dp-filter-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding: 16px 18px; margin-bottom: 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}
.dp-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-filter-label { font-size: 13px; color: var(--muted); }
.dp-chip-count { margin-left: 6px; padding: 0 6px; border-radius: 999px; background: rgba(11, 87, 208, .10); font-size: 11px; font-weight: 600; }
.dp-chip.is-active .dp-chip-count { background: rgba(255, 255, 255, .22); color: #fff; }
.dp-filter-search { flex: none; width: 260px; max-width: 100%; }
.dp-filter-search input {
    width: 100%; padding: 8px 12px;
    background: #fff; border: 1px solid var(--line-2); border-radius: 8px;
    font-size: 13px; color: var(--text);
}
.dp-filter-search input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-50); }

.dp-product-card { padding: 0; overflow: hidden; }
.dp-product-head { padding: 20px 20px 0; }
.dp-product-body { padding: 0 20px 18px; }
.dp-product-name { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16.5px; font-weight: 700; }
.dp-product-tag {
    display: inline-block; padding: 1px 8px; border-radius: 5px;
    background: var(--brand-50); color: var(--brand-700); font-size: 11px; font-weight: 600;
}
.dp-product-specs { display: grid; gap: 6px; margin: 14px 0; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.dp-spec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; }
.dp-spec-row span { color: var(--muted); }
.dp-spec-row b { color: var(--text); font-weight: 600; text-align: right; }
.dp-product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 14px 20px; background: #fbfdff; border-top: 1px solid var(--line); }
.dp-compare-toggle {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--muted); cursor: pointer;
}
.dp-compare-toggle input { width: 15px; height: 15px; accent-color: var(--brand-600); }

.dp-compare-bar {
    position: sticky; bottom: 18px; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 24px; padding: 14px 18px;
    background: #0b1b33; color: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.dp-compare-bar[hidden] { display: none; }
.dp-compare-bar strong { font-size: 14px; }
.dp-compare-bar span { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.dp-compare-wrap { display: none; margin-top: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dp-compare-wrap.is-open { display: block; }
.dp-compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dp-compare-table th, .dp-compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: top; }
.dp-compare-table th:last-child, .dp-compare-table td:last-child { border-right: none; }
.dp-compare-table thead th { background: var(--brand-50); color: var(--brand-800); font-size: 14px; }
.dp-compare-table tbody th { width: 132px; background: #fbfdff; color: var(--muted); font-weight: 600; white-space: nowrap; }
.dp-compare-table tr:last-child th, .dp-compare-table tr:last-child td { border-bottom: none; }

.dp-product-view { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.dp-product-aside { position: sticky; top: 92px; }
.dp-product-hero {
    padding: 28px 30px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #06256b 0%, #0b57d0 100%);
    color: #fff; margin-bottom: 20px;
}
.dp-product-hero h1 { margin: 0 0 8px; font-size: 26px; color: #fff; }
.dp-product-hero p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .75); line-height: 1.7; }
.dp-spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dp-spec-box {
    padding: 14px 16px; border-radius: var(--radius-xs);
    background: var(--soft); border: 1px solid var(--line);
}
.dp-spec-k { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.dp-spec-v { font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-word; }

.dp-buy-card { padding: 22px; }
.dp-buy-price { display: flex; align-items: baseline; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.dp-buy-price .dp-price { font-size: 30px; }
.dp-buy-price span { font-size: 12px; color: var(--muted); }
.dp-buy-price strong { font-size: 28px; font-weight: 800; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.dp-buy-label { display: block; width: 100%; font-size: 12px; color: var(--muted); }
.dp-buy-cycle { display: block; width: 100%; margin-top: 2px; }
.dp-buy-form { margin: 0; }
.dp-buy-note { margin-top: 14px; }
.dp-buy-total { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0 0; margin-top: 6px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.dp-buy-total b { font-size: 20px; color: var(--brand-700); font-variant-numeric: tabular-nums; }

/* 购物车 / 结算 */
.dp-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.dp-cart-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dp-cart-item:first-child { padding-top: 4px; }
.dp-cart-item:last-child { border-bottom: none; }
.dp-cart-thumb {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex: none; border-radius: 11px;
    background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100);
}
.dp-cart-thumb svg { width: 22px; height: 22px; }
.dp-cart-main { flex: 1; min-width: 0; }
.dp-cart-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.dp-cart-meta { margin-top: 4px; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.dp-cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.dp-cart-line { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.dp-summary { padding: 22px; }
.dp-summary-title { margin: 0 0 16px; font-size: 15px; font-weight: 700; }
.dp-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13.5px; color: var(--text-2); }
.dp-summary-row span:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.dp-summary-total {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line);
    font-size: 14px; color: var(--text-2);
}
.dp-summary-total strong { font-size: 26px; font-weight: 800; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.dp-summary .dp-btn { margin-top: 16px; }
.dp-summary-note { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--muted); line-height: 1.8; }
.dp-summary-note li { margin-bottom: 4px; }
.dp-summary-note ul { margin: 0; padding-left: 16px; }

.dp-cart-foot, .dp-checkout-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
}
.dp-cart-total { font-size: 14px; color: var(--text-2); }
.dp-cart-total strong { margin-left: 4px; font-size: 24px; font-weight: 800; color: var(--brand-700); font-variant-numeric: tabular-nums; }

/* 步骤条 */
.dp-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.dp-step { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dp-step i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--soft-2); color: var(--muted); font-style: normal; font-size: 12px; font-weight: 700;
}
.dp-step.is-active { color: var(--brand-700); font-weight: 600; }
.dp-step.is-active i { background: var(--brand-600); color: #fff; }
.dp-step-sep { width: 26px; height: 1px; background: var(--line-2); }

/* --------------------------------------------------------------------------
   14. 工单会话 / 通知
   -------------------------------------------------------------------------- */
.dp-thread { display: block; }
.dp-thread-item, .dp-thread {
    padding: 18px 20px; margin-bottom: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.dp-thread-item:last-child { margin-bottom: 0; }
.dp-thread-staff { border-left: 3px solid var(--brand-500); }
.dp-thread-client { border-left: 3px solid var(--line-2); }
.dp-thread-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.dp-thread-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.dp-thread-role {
    padding: 1px 8px; border-radius: 5px;
    background: var(--brand-50); color: var(--brand-700);
    font-size: 11px; font-weight: 600;
}
.dp-thread-time { margin-left: auto; font-size: 12px; color: var(--muted); }
.dp-thread-body { font-size: 14px; line-height: 1.8; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }

.dp-notif { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; }
.dp-notif:hover { border-color: #c9d9f2; box-shadow: var(--shadow-xs); }
.dp-notif.is-unread { border-left: 3px solid var(--brand-500); background: #fbfdff; }
.js-unread-dot { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--danger); vertical-align: middle; }
.dp-notif-delete {
    margin-left: 8px; padding: 3px 10px;
    background: transparent; border: 1px solid var(--line-2); border-radius: 6px;
    font-size: 12px; color: var(--muted); cursor: pointer;
}
.dp-notif-delete:hover { color: var(--danger); border-color: #efc4c6; background: var(--danger-soft); }

/* --------------------------------------------------------------------------
   15. 登录 / 注册
   -------------------------------------------------------------------------- */
body.dp-auth-body {
    background: var(--soft);
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
}
.dp-auth-shell {
    display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    width: 100%; max-width: 1080px; margin: 0 auto; padding: 40px 24px 56px;
    gap: 0; align-items: stretch; flex: 1;
}
.dp-auth-visual {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 44px 40px; border-radius: 18px 0 0 18px;
    background: linear-gradient(140deg, #04205c 0%, #06307c 50%, #0b57d0 100%);
    color: #fff;
}
.dp-auth-visual::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 80%);
}
.dp-auth-visual > * { position: relative; z-index: 1; }
.dp-auth-brand { display: flex; align-items: center; gap: 11px; }
.dp-auth-brand img { width: 38px; height: 38px; }
.dp-auth-brand b { font-size: 19px; letter-spacing: 1.2px; }
.dp-auth-visual h2 { margin: 30px 0 10px; font-size: 26px; color: #fff; line-height: 1.3; }
.dp-auth-visual p { margin: 0; font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .72); }
.dp-auth-points { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.dp-auth-points li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.dp-auth-points svg { width: 16px; height: 16px; color: #7fd7a2; flex: none; }
.dp-auth-visual-art { margin-top: 26px; opacity: .95; }
.dp-auth-visual-art svg { width: 100%; height: auto; }

.dp-auth-panel {
    display: flex; flex-direction: column; justify-content: center;
    padding: 44px 40px;
    background: #fff; border: 1px solid var(--line); border-left: 0;
    border-radius: 0 18px 18px 0;
    box-shadow: var(--shadow);
}
.dp-auth-card { width: 100%; max-width: 420px; margin: 0 auto; }
.dp-auth-card-wide { max-width: 480px; }
.dp-auth-title { margin: 0 0 6px; font-size: 23px; font-weight: 800; }
.dp-auth-sub { margin: 0 0 24px; font-size: 13.5px; color: var(--muted); }
.dp-auth-links {
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
    font-size: 13px; color: var(--muted);
}
.dp-auth-links a { font-weight: 500; }
.dp-auth-tip {
    display: flex; align-items: flex-start; gap: 8px;
    margin-top: 18px; padding: 11px 13px;
    background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-xs);
    font-size: 12.5px; color: var(--text-2); line-height: 1.7;
}
.dp-auth-tip svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--brand-600); }
.dp-auth-foot { margin: 18px 0 0; text-align: center; font-size: 12px; color: #93a2b8; }
.dp-captcha-row { display: flex; gap: 10px; align-items: center; }
.dp-captcha-row input { flex: 1; min-width: 0; }
.dp-captcha-row img { height: 43px; border-radius: 6px; border: 1px solid var(--line); cursor: pointer; flex: none; }

/* --------------------------------------------------------------------------
   16. 分页
   -------------------------------------------------------------------------- */
.dp-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 26px 0 4px; flex-wrap: wrap; }
.dp-pager a, .dp-pager span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 12px;
    border: 1px solid var(--line-2); border-radius: var(--radius-xs);
    background: #fff; color: var(--text-2); font-size: 13px;
}
.dp-pager a:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }
.dp-pager .dp-page-current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; font-weight: 600; }
.dp-pager .dp-page-info { border: 0; background: transparent; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. 错误页
   -------------------------------------------------------------------------- */
.dp-error { padding: 80px 24px 100px; text-align: center; }
.dp-error-code {
    display: inline-block; margin: 0 0 10px;
    font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -2px;
    color: var(--brand-600);
}
.dp-error-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--ink); }
.dp-error-desc { max-width: 520px; margin: 0 auto 26px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.dp-error-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dp-error-help { margin-top: 26px; font-size: 12.5px; color: var(--muted); }
.dp-error-help span { display: inline-flex; align-items: center; gap: 6px; }
.dp-error-help svg { color: var(--brand-500); }

/* --------------------------------------------------------------------------
   18. 页脚
   -------------------------------------------------------------------------- */
.dp-footer {
    flex-shrink: 0; margin-top: 72px;
    background: #071a35; color: rgba(255, 255, 255, .62);
    font-size: 13px;
}
.dp-footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
    max-width: var(--container); margin: 0 auto; padding: 52px 24px 38px;
}
.dp-footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.dp-footer-brand img { width: 34px; height: 34px; }
.dp-footer-brand-text b { display: block; font-size: 17px; font-weight: 800; color: #fff; letter-spacing: 1.2px; }
.dp-footer-brand-text span { display: block; margin-top: 2px; font-size: 8.5px; font-weight: 600; letter-spacing: 2px; color: rgba(255, 255, 255, .42); }
.dp-footer p { margin: 0; max-width: 340px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .55); }
.dp-footer h4 { margin: 0 0 14px; font-size: 13.5px; font-weight: 700; color: #fff; }
.dp-footer-col a { display: block; padding: 4px 0; font-size: 13px; color: rgba(255, 255, 255, .62); }
.dp-footer-col a:hover { color: #fff; }
.dp-footer-col span { display: block; padding: 4px 0; color: rgba(255, 255, 255, .45); font-size: 13px; }
.dp-footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    max-width: var(--container); margin: 0 auto; padding: 18px 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .42); font-size: 12.5px;
}
.dp-footer-bottom .dp-muted { color: rgba(255, 255, 255, .42); }
.dp-footer-meta { display: flex; gap: 18px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   19. 工具类 / 通用组件
   -------------------------------------------------------------------------- */
.dp-muted { color: var(--muted); }
.dp-small { font-size: 12px; }
.dp-strong { font-weight: 700; color: var(--ink); }
.dp-ok { color: var(--success); }
.dp-danger { color: var(--danger); }
.dp-num { font-variant-numeric: tabular-nums; }
.dp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dp-prose { color: var(--text-2); font-size: 14px; line-height: 1.85; }
.dp-prose p:last-child { margin-bottom: 0; }
.dp-flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dp-tabs { display: flex; gap: 4px; margin-bottom: 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dp-tabs a {
    padding: 10px 16px; margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    font-size: 14px; font-weight: 500; color: var(--text-2);
}
.dp-tabs a:hover { color: var(--brand-700); }
.dp-tabs a.active { color: var(--brand-700); border-bottom-color: var(--brand-600); font-weight: 600; }
.dp-action-row, .dp-actions, .dp-inline-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-inline { display: inline-flex; align-items: center; gap: 8px; }
.dp-divider { height: 1px; margin: 20px 0; background: var(--line); }
.dp-i { width: 20px; height: 20px; flex: none; }
.dp-i-sm { width: 16px; height: 16px; }
.dp-i-lg { width: 24px; height: 24px; }
.dp-icon-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.dp-icon-note svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   20. 自适应：平板
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .dp-hero-inner { padding: 52px 40px; }
    .dp-hero h1 { font-size: 38px; }
}

@media (max-width: 992px) {
    .dp-cards, .dp-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dp-feats, .dp-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dp-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dp-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .dp-hero-inner { grid-template-columns: 1fr; padding: 46px 36px; }
    .dp-hero-visual { display: none; }
    .dp-hero h1 { font-size: 36px; }
    .dp-member-grid { grid-template-columns: 1fr; }
    .dp-side { position: static; padding: 8px; }
    .dp-side-nav { display: flex; flex-wrap: wrap; gap: 4px; }
    .dp-side-nav > div { display: contents; }
    .dp-nav-title { display: none; }
    .dp-side-nav a { margin-bottom: 0; }
    .dp-side-foot { display: none; }
    .dp-product-view { grid-template-columns: 1fr; }
    .dp-product-aside { position: static; }
    .dp-cart-grid { grid-template-columns: 1fr; }
    .dp-auth-shell { grid-template-columns: 1fr; max-width: 560px; padding: 28px 20px 44px; }
    .dp-auth-visual { display: none; }
    .dp-auth-panel { border-left: 1px solid var(--line); border-radius: 18px; padding: 36px 28px; }
    .dp-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   21. 自适应：手机
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
    body.dp-client { font-size: 14px; }
    .dp-wrap { padding: 0 16px; }
    .dp-page { padding: 22px 0 52px; }
    .dp-section { padding: 38px 0 4px; }
    .dp-header-inner { height: 60px; gap: 12px; }
    .dp-brand-mark { width: 32px; height: 32px; }
    .dp-brand-name { font-size: 17px; }
    .dp-brand-en { display: none; }
    .dp-nav-toggle { display: inline-flex; order: 2; margin-left: auto; }
    .dp-brand { order: 1; }
    .dp-header-right { order: 3; margin-left: 0; gap: 6px; }
    .dp-header-right .dp-header-link { display: none; }
    .dp-header-right .dp-btn-ghost { display: none; }
    .dp-header-right .dp-btn-primary { padding: 7px 12px; font-size: 13px; }
    .dp-nav {
        position: absolute; top: 60px; left: 0; right: 0;
        display: none; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 16px 16px;
        background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px -20px rgba(12, 26, 46, .45);
        max-height: calc(100vh - 60px); overflow-y: auto;
    }
    .dp-nav.is-open { display: flex; }
    .dp-nav > a { padding: 11px 12px; font-size: 15px; border-radius: var(--radius-xs); }
    .dp-nav > a.active::after { display: none; }
    .dp-nav-sep { display: block; height: 1px; margin: 8px 12px; background: var(--line); }

    .dp-hero { margin: 14px 12px 0; border-radius: 16px; }
    .dp-hero-inner { padding: 34px 22px 32px; gap: 0; }
    .dp-hero h1 { font-size: 27px; margin-bottom: 12px; }
    .dp-hero-sub { font-size: 14px; margin-bottom: 22px; }
    .dp-hero-actions { gap: 10px; }
    .dp-hero-actions .dp-btn { flex: 1; min-width: 132px; padding: 11px 16px; font-size: 14px; }
    .dp-hero-points { gap: 8px 16px; margin-top: 22px; }
    .dp-hero-metrics { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
    .dp-hero-metric { padding: 10px 12px; }
    .dp-hero-metric b { font-size: 16px; }
    .dp-hero-metric span { font-size: 11px; }

    .dp-section-head { margin-bottom: 18px; }
    .dp-section-title, .dp-section-head h2 { font-size: 21px; }
    .dp-cards, .dp-cards-3, .dp-feats, .dp-trust-grid, .dp-stats, .dp-quick-grid, .dp-grid-2, .dp-grid-3 { grid-template-columns: 1fr; }
    .dp-cards { gap: 14px; }
    .dp-card { padding: 18px; }
    .dp-feat, .dp-trust-item { padding: 18px; }
    .dp-cta-band { margin-top: 36px; padding: 24px 20px; }
    .dp-cta-band h2 { font-size: 19px; }

    .dp-panel, .dp-panel-wide { padding: 18px 16px; }
    .dp-page-head h1, .dp-page-title { font-size: 20px; }
    .dp-tbl-kv th { width: 104px; }
    .dp-kv { gap: 12px 20px; }
    .dp-kv > div { min-width: 45%; }
    .dp-quick-btn { padding: 14px; }
    .dp-dash-hero { padding: 20px; }
    .dp-dash-hero h1 { font-size: 18px; }
    .dp-stats { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dp-stat { padding: 14px 16px; }
    .dp-stat-num { font-size: 21px; }

    .dp-table th, .dp-table td { padding: 10px 11px; font-size: 13px; }
    .dp-table-responsive { border: 1px solid var(--line); border-radius: var(--radius-xs); }

    .dp-product-view { gap: 16px; }
    .dp-product-hero { padding: 22px 20px; }
    .dp-product-hero h1 { font-size: 21px; }
    .dp-spec-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .dp-spec-box { padding: 11px 12px; }
    .dp-spec-v { font-size: 13px; }
    .dp-product-foot { padding: 12px 16px; flex-wrap: wrap; }
    .dp-compare-bar { bottom: 10px; padding: 12px 14px; }
    .dp-compare-table { font-size: 12.5px; }
    .dp-compare-table th, .dp-compare-table td { padding: 9px 10px; }

    .dp-cart-item { flex-wrap: wrap; }
    .dp-cart-side { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; }
    .dp-cart-foot, .dp-checkout-foot { flex-direction: column; align-items: stretch; }
    .dp-cart-foot .dp-btn, .dp-checkout-foot .dp-btn { width: 100%; }
    .dp-cart-total { text-align: center; }
    .dp-choice-grid { grid-template-columns: 1fr; }
    .dp-steps { gap: 6px; }
    .dp-step-sep { width: 14px; }

    .dp-footer { margin-top: 48px; }
    .dp-footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 20px 24px; }
    .dp-footer p { max-width: none; }
    .dp-footer-bottom { padding: 14px 20px; font-size: 12px; }

    .dp-auth-shell { padding: 18px 14px 36px; }
    .dp-auth-panel { padding: 26px 20px; border-radius: 14px; }
    .dp-auth-title { font-size: 20px; }
    .dp-error { padding: 56px 18px 72px; }
    .dp-error-code { font-size: 58px; }
    .dp-thread-time { width: 100%; margin-left: 0; }
    .dp-flashes { margin-top: 12px; }
    .dp-empty { padding: 42px 18px; }
}

/* --------------------------------------------------------------------------
   22. 业务组件补充
   -------------------------------------------------------------------------- */
.dp-link { color: var(--brand-600); font-weight: 500; }
.dp-link:hover { color: var(--brand-700); text-decoration: underline; }

/* 浅色区块（用于首页穿插留白节奏） */
.dp-section-alt {
    margin-top: 56px; padding: 52px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafe 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.dp-section-alt .dp-section-head { margin-bottom: 30px; }

/* 服务实例卡片 */
.dp-svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dp-svc {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-xs); overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.dp-svc:hover { border-color: #c9d9f2; box-shadow: var(--shadow); }
.dp-svc-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 16px 18px 12px;
}
.dp-svc-name { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.dp-svc-sub { margin-top: 3px; font-size: 12px; color: var(--muted); }
.dp-svc-meta {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px;
    padding: 12px 18px; background: #fbfdff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.dp-svc-meta-item { font-size: 12.5px; color: var(--muted); }
.dp-svc-meta-item b { display: block; margin-top: 1px; font-size: 13px; font-weight: 600; color: var(--ink); word-break: break-all; }
.dp-svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px 18px; }
.dp-svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-svc-actions { display: inline-flex; align-items: center; gap: 8px; }

/* 控制台两栏 */
.dp-dash-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; }
.dp-dash-hero-sub { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.dp-dash-user { font-size: 13px; color: rgba(255, 255, 255, .8); }

/* 通知条目 */
.dp-notice-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dp-notice-item:last-child { border-bottom: none; padding-bottom: 0; }
.dp-notice-item:first-child { padding-top: 0; }
.dp-notice-item a { display: block; color: inherit; }
.dp-notice-title { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.dp-notice-body { margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.dp-notice-time { margin-top: 4px; font-size: 11.5px; color: #93a2b8; }

/* 优惠码行 */
.dp-coupon-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dp-coupon-row input { flex: 1; min-width: 200px; }
.dp-coupon-msg { margin-top: 8px; min-height: 20px; font-size: 13px; }
.dp-msg-ok { color: var(--success); }
.dp-msg-bad { color: var(--danger); }

/* 数量控件 */
.dp-qty { display: inline-flex; align-items: center; gap: 6px; }
.dp-qty input { width: 74px; text-align: center; }

/* 帮助提示列表 */
.dp-help-list { margin: 0; padding: 0; list-style: none; }
.dp-help-list li {
    display: flex; gap: 10px; padding: 12px 0;
    border-bottom: 1px dashed var(--line); font-size: 13px; color: var(--text-2); line-height: 1.7;
}
.dp-help-list li:last-child { border-bottom: none; padding-bottom: 0; }
.dp-help-list b { flex: none; width: 96px; color: var(--ink); font-weight: 600; }

/* 详情页规格 + 购买提示 */
.dp-detail-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-price-note { font-size: 12px; color: var(--muted); }

/* 订单摘要小计 */
.dp-summary-list { margin: 0 0 6px; padding: 0; list-style: none; }
.dp-summary-list li {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px;
}
.dp-summary-list li:last-child { border-bottom: none; }
.dp-summary-list .t { flex: 1; color: var(--text-2); }
.dp-summary-list .t small { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; }
.dp-summary-list .p { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 支付说明块 */
.dp-pay-note {
    margin-top: 14px; padding: 12px 14px;
    background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-xs);
    font-size: 12px; color: var(--muted); line-height: 1.75;
}
.dp-pay-note strong { color: var(--ink); }

/* 登录注册品牌列 */
.dp-auth-brandname { display: flex; flex-direction: column; line-height: 1.15; }
.dp-auth-brandname b { font-size: 18px; font-weight: 800; letter-spacing: 1.2px; color: #fff; }
.dp-auth-brandname span { margin-top: 2px; font-size: 8.5px; letter-spacing: 2px; color: rgba(255, 255, 255, .55); }

/* 页脚联系方式/备案 */
.dp-footer-contact { margin-top: 16px; display: grid; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .48); }
.dp-footer-contact b { color: rgba(255, 255, 255, .74); font-weight: 600; margin-right: 6px; }
.dp-footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.dp-footer-bottom-links a { color: rgba(255, 255, 255, .45); }
.dp-footer-bottom-links a:hover { color: #fff; }

/* 表格操作列紧凑 */
.dp-table .dp-nowrap { white-space: nowrap; }
.dp-table code { padding: 2px 6px; background: var(--soft-2); border-radius: 5px; font-size: 12px; color: var(--text-2); }

/* 空状态内按钮 */
.dp-empty .dp-btn { margin-top: 4px; }

/* 仅移动端显示的导航项 */
.dp-nav-mobile-only { display: none; }

@media (max-width: 992px) {
    .dp-svc-grid { grid-template-columns: 1fr; }
    .dp-dash-grid { grid-template-columns: 1fr; }
    .dp-section-alt { margin-top: 40px; padding: 40px 0; }
}

@media (max-width: 720px) {
    .dp-svc-meta { grid-template-columns: 1fr 1fr; }
    .dp-svc-foot { flex-wrap: wrap; }
    .dp-section-alt { margin-top: 32px; padding: 30px 0; }
    .dp-help-list li { flex-direction: column; gap: 2px; }
    .dp-help-list b { width: auto; }
    .dp-nav-mobile-only { display: block; }
}

/* --------------------------------------------------------------------------
   23. 购物车 / 结算 / 通用补充
   -------------------------------------------------------------------------- */
.dp-breadcrumb-current { color: var(--text-2); font-weight: 600; }
.dp-breadcrumb span { color: var(--line-2); }
.dp-step.is-done i { background: var(--success-soft); color: var(--success); }
.dp-step.is-done { color: var(--text-2); }

.dp-cart-qty-form { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.dp-cart-grid > .dp-summary { position: sticky; top: 88px; }

.dp-pick-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px; margin-top: 12px; max-width: 480px;
}
.dp-pick-field label { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.dp-pick-field select {
    width: 100%; padding: 8px 10px;
    background: #fff; border: 1px solid var(--line-2); border-radius: 8px;
    font-size: 13px; color: var(--text);
}

.dp-balance-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; background: var(--soft);
    border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
}
.dp-balance-amount { margin-top: 4px; font-size: 22px; font-weight: 800; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.dp-summary-note .dp-pay-note { margin-top: 0; }

@media (max-width: 720px) {
    .dp-pick-grid { grid-template-columns: 1fr; }
    .dp-balance-row { flex-direction: column; align-items: flex-start; }
    .dp-balance-row > div:last-child { text-align: left !important; }
    .dp-cart-grid > .dp-summary { position: static; }
}

/* API 密钥 / 权限勾选 */
.dp-input-mono {
    flex: 1; min-width: 240px;
    padding: 9px 12px;
    border: 1px solid var(--line-2); border-radius: 8px;
    background: #fff; color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
}
.dp-check-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 2px; }
.dp-check-item {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 0; font-size: 13px; font-weight: 400; color: var(--text-2);
    cursor: pointer;
}
.dp-check-item input { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }

/* 统一弹窗 / 模态 / 轻提示 / 加载 */
.dp-modal-mask {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    padding: 20px; background: rgba(12, 26, 46, .46);
}
.dp-modal {
    width: 100%; max-width: 460px;
    background: #fff; border-radius: var(--radius);
    box-shadow: 0 30px 60px -24px rgba(6, 22, 46, .55);
    overflow: hidden;
}
.dp-modal-head { padding: 20px 22px 0; }
.dp-modal-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.dp-modal-body { padding: 10px 22px 4px; font-size: 13.5px; line-height: 1.75; color: var(--text-2); }
.dp-modal-actions {
    display: flex; justify-content: flex-end; gap: 10px;
    padding: 16px 22px 20px;
}
.dp-toast {
    position: fixed; left: 50%; bottom: 34px; z-index: 1300;
    transform: translateX(-50%);
    padding: 11px 20px; border-radius: 999px;
    background: rgba(13, 27, 47, .94); color: #fff;
    font-size: 13px; box-shadow: 0 14px 30px -12px rgba(6, 22, 46, .6);
}
.dp-toast-success { background: var(--success); }
.dp-toast-error { background: var(--danger); }
.dp-loading {
    display: inline-block; width: 16px; height: 16px;
    border: 2px solid rgba(11, 87, 208, .22);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: dp-spin .7s linear infinite;
    vertical-align: -3px;
}
@keyframes dp-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
    .dp-input-mono { min-width: 0; width: 100%; }
    .dp-modal-actions { flex-direction: column-reverse; }
    .dp-modal-actions .dp-btn { width: 100%; justify-content: center; }
}

/* ===================== 24. 知识库（帮助中心） ===================== */
.dp-kb-hero {
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 55%, var(--brand-700) 100%);
    padding: 64px 0 56px;
    color: #fff;
    text-align: center;
}
.dp-kb-hero h1 { margin: 0 0 10px; font-size: 30px; font-weight: 800; color: #fff; letter-spacing: .3px; }
.dp-kb-hero p { margin: 0 0 26px; color: rgba(255, 255, 255, .72); font-size: 14px; }
.dp-kb-search { max-width: 640px; margin: 0 auto; display: flex; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 16px 40px -16px rgba(2, 18, 52, .5); }
.dp-kb-search input {
    flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
    padding: 10px 18px; font-size: 14.5px; color: var(--text);
}
.dp-kb-search .dp-btn { border-radius: 999px; padding: 11px 26px; }
.dp-kb-search-note { margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

.dp-kb-cat-count { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.dp-kb-hot-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.dp-kb-hot-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 0; border-bottom: 1px dashed var(--line);
    color: var(--text); text-decoration: none;
}
.dp-kb-hot-item:last-child { border-bottom: 0; }
.dp-kb-hot-item:hover .dp-kb-hot-title { color: var(--brand-700); }
.dp-kb-hot-rank {
    flex: none; width: 22px; height: 22px; border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--soft); color: var(--brand-700); font-size: 12px; font-weight: 700;
}
.dp-kb-hot-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; }
.dp-kb-hot-views { flex: none; font-size: 12px; color: var(--muted); }

.dp-kb-item {
    display: block; padding: 18px 0; border-bottom: 1px solid var(--line);
    color: var(--text); text-decoration: none;
}
.dp-kb-item:hover .dp-kb-item-title { color: var(--brand-700); }
.dp-kb-item-title { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; color: var(--ink); transition: color .15s; }
.dp-kb-item-desc { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.dp-kb-item-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); }
.dp-kb-item-meta span { display: inline-flex; align-items: center; gap: 4px; }

.dp-kb-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: start; }
/* 文章详情页：左侧目录 25% / 右侧正文 75% */
.dp-kb-layout-article { grid-template-columns: 25% 75%; }
.dp-kb-side { position: sticky; top: 86px; }
.dp-kb-side-title {
    margin: 0; padding: 0 12px 10px;
    font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted); text-transform: uppercase;
}
.dp-kb-tree { list-style: none; margin: 0; padding: 0; }
.dp-kb-tree a {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px; border-radius: 8px;
    color: var(--text-2); font-size: 13.5px; text-decoration: none;
}
.dp-kb-tree a:hover { background: var(--soft); color: var(--brand-700); }
.dp-kb-tree a.is-active { background: var(--primary-soft); color: var(--brand-700); font-weight: 600; }
.dp-kb-tree .dp-kb-tree-count { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.dp-kb-tree .dp-kb-tree-sub { list-style: none; margin: 0; padding: 0 0 2px 18px; }
.dp-kb-tree .dp-kb-tree-sub a { font-size: 13px; padding: 7px 10px; }

.dp-kb-article-head h1 { margin: 0 0 10px; font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.dp-kb-article-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12.5px; color: var(--muted); }
.dp-kb-article-meta span { display: inline-flex; align-items: center; gap: 5px; }
.dp-kb-article-body {
    margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
    font-size: 14.5px; line-height: 2.1; color: var(--text);
}
.dp-kb-article-body h3 { margin: 30px 0 12px; font-size: 17px; font-weight: 700; color: var(--ink); scroll-margin-top: 96px; }
.dp-kb-article-body h4 { margin: 24px 0 10px; font-size: 15px; font-weight: 700; color: var(--ink); scroll-margin-top: 96px; }
.dp-kb-article-body p { margin: 0 0 16px; }
.dp-kb-article-body ul, .dp-kb-article-body ol { margin: 0 0 16px; padding-left: 22px; }
.dp-kb-article-body li { margin-bottom: 8px; }
.dp-kb-article-body a { color: var(--brand-700); }
.dp-kb-article-body img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line); }
.dp-kb-article-body code {
    padding: 1px 6px; border-radius: 5px; background: var(--soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--brand-800);
}
.dp-kb-article-body pre {
    margin: 0 0 14px; padding: 14px 16px; border-radius: 10px;
    background: #0d1b2f; color: #dce7f7; overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7;
}
.dp-kb-article-body pre code { padding: 0; background: transparent; color: inherit; }
.dp-kb-article-body blockquote {
    margin: 0 0 14px; padding: 10px 16px; border-left: 3px solid var(--primary);
    background: var(--primary-soft); border-radius: 0 8px 8px 0; color: var(--text-2);
}

.dp-kb-toc {
    padding: 16px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--panel);
}
.dp-kb-toc h4 { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--ink); }
.dp-kb-toc ul { list-style: none; margin: 0; padding: 0; }
.dp-kb-toc a {
    display: block; padding: 6px 8px; border-left: 2px solid var(--line-2);
    color: var(--text-2); font-size: 12.5px; text-decoration: none;
}
.dp-kb-toc a:hover { color: var(--brand-700); border-left-color: var(--primary); }
.dp-kb-toc a.is-active {
    color: var(--brand-700); border-left-color: var(--primary);
    background: var(--primary-soft); font-weight: 600;
    border-radius: 0 6px 6px 0;
}
.dp-kb-toc a.dp-toc-h4 { padding-left: 20px; }

.dp-kb-feedback {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
    margin-top: 26px; padding: 18px 20px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--soft);
}
.dp-kb-feedback .dp-kb-feedback-text { font-size: 14px; font-weight: 600; color: var(--ink); }
.dp-kb-feedback-msg { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--success); }

@media (max-width: 992px) {
    .dp-kb-layout,
    .dp-kb-layout-article { grid-template-columns: 1fr; }
    .dp-kb-side { position: static; }
    .dp-kb-toc { display: none; }
}
@media (max-width: 720px) {
    .dp-kb-hero { padding: 44px 0 40px; }
    .dp-kb-hero h1 { font-size: 24px; }
    .dp-kb-hot-list { grid-template-columns: 1fr; }
    .dp-kb-search .dp-btn { padding: 11px 18px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
