/* ==========================================================================
   慧航AI · 内容层组件（可被 AI 直接引用的表格 / 定义块）
   全站共用，无第三方依赖
   ========================================================================== */

:root {
    --hhc-accent: #0052D9;
    --hhc-accent-soft: rgba(0, 82, 217, .08);
    --hhc-line: #e8edf5;
    --hhc-line-strong: #d8e2f1;
    --hhc-title: #0f172a;
    --hhc-text: #4a5b76;
    --hhc-muted: #93a2b8;
    --hhc-radius: 18px;
}

/* ---------- 内容区块外壳 ---------- */
.hh-sec {
    background: #f7f9fc;
    border-top: 1px solid var(--hhc-line);
    padding: 88px 0;
}

.hh-sec--white { background: #fff; }

.hh-sec__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.hh-sec__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--hhc-accent-soft);
    color: var(--hhc-accent);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 18px;
}

.hh-sec__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.hh-sec__title {
    margin: 0 0 14px;
    font-size: clamp(22px, 2.8vw, 31px);
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--hhc-title);
}

.hh-sec__lead {
    margin: 0 0 34px;
    max-width: 780px;
    color: var(--hhc-text);
    font-size: 16px;
    line-height: 1.95;
}

.hh-sec--center { text-align: center; }
.hh-sec--center .hh-sec__lead { margin-left: auto; margin-right: auto; }

/* ---------- 定义块（供 AI 直接摘录的「X 是指……」） ---------- */
.hh-def {
    margin: 0 0 34px;
    padding: 20px 26px;
    border-left: 4px solid var(--hhc-accent);
    border-radius: 0 var(--hhc-radius) var(--hhc-radius) 0;
    background: #f4f8ff;
    color: #33415c;
    font-size: 16px;
    line-height: 1.95;
    text-align: left;
}

.hh-def strong { color: var(--hhc-title); }

/* ---------- 定义条（紧贴首屏下方，供 AI 直接摘录） ---------- */
.hh-defband {
    background: #f4f8ff;
    border-top: 1px solid var(--hhc-line);
    border-bottom: 1px solid var(--hhc-line);
    padding: 30px 0;
}

.hh-defband__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.hh-defband .hh-def {
    margin: 0;
    padding: 2px 0 2px 20px;
    background: transparent;
    border-radius: 0;
    border-left: 4px solid var(--hhc-accent);
}

/* ---------- 对比表格（AI 偏好引用的表格化信息） ---------- */
.hh-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border: 1px solid var(--hhc-line);
    border-radius: var(--hhc-radius);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .045);
}

.hh-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.7;
}

.hh-table caption {
    caption-side: top;
    padding: 18px 20px 0;
    text-align: left;
    color: var(--hhc-muted);
    font-size: 13px;
}

.hh-table th,
.hh-table td {
    padding: 15px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--hhc-line);
}

.hh-table thead th {
    background: #f2f6fd;
    color: var(--hhc-title);
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid var(--hhc-line-strong);
}

.hh-table tbody th {
    color: var(--hhc-title);
    font-weight: 600;
    white-space: nowrap;
}

.hh-table td { color: var(--hhc-text); }

.hh-table tbody tr:last-child th,
.hh-table tbody tr:last-child td { border-bottom: 0; }

.hh-table tbody tr:hover th,
.hh-table tbody tr:hover td { background: #f8fbff; }

.hh-table__price {
    color: var(--hhc-accent);
    font-weight: 700;
    white-space: nowrap;
}

.hh-table__note {
    margin: 14px 0 0;
    color: var(--hhc-muted);
    font-size: 13.5px;
    line-height: 1.8;
}

/* 表内小标签 */
.hh-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--hhc-accent-soft);
    color: var(--hhc-accent);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.hh-tag--grey {
    background: #eef1f6;
    color: #64748b;
}

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
    .hh-sec { padding: 62px 0; }
    .hh-sec__inner { padding: 0 18px; }
    .hh-table { font-size: 14px; }
    .hh-table th,
    .hh-table td { padding: 12px 14px; }
    .hh-def { padding: 17px 18px; font-size: 15px; }
}

/* ---------- 精修速查表（首页 #quickref） ---------- */

/* 该区块统一用首页品牌蓝，避免与 #0052D9 两种蓝并置 */
#quickref {
    --hhc-accent: #2B7AF5;
    --hhc-accent-soft: rgba(43, 122, 245, .08);
}

.hh-rt__wrap {
    background: #fff;
    border: 1px solid #e6ecf5;
    border-radius: var(--hhc-radius);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -18px rgba(15, 23, 42, .18);
}

.hh-rt {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.hh-rt thead th {
    padding: 13px 20px;
    background: #fbfcfe;
    border-bottom: 1px solid #e6ecf5;
    color: #8a99b0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .06em;
    white-space: nowrap;
}

.hh-rt__col-prod { width: 208px; }
.hh-rt__col-price { width: 178px; text-align: right; }

/* 价格区用一条极淡分隔线框出，收掉说明列右侧的空白感 */
.hh-rt thead th.hh-rt__col-price,
.hh-rt tbody tr:not(.hh-rt__band) td.hh-rt__price { border-left: 1px solid #e8eff8; }

/* 分组分隔行 */
.hh-rt__band th {
    padding: 12px 20px;
    background: #f5f9ff;
    border-top: 1px solid #e6ecf5;
    border-bottom: 1px solid #e6ecf5;
    border-left: 3px solid var(--hhc-accent);
    font-weight: 400;
    text-align: left;
}

.hh-rt tbody:first-of-type .hh-rt__band th { border-top: 0; }

.hh-rt__band-name {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--hhc-title);
}

.hh-rt__band-count {
    display: inline-block;
    margin-left: 9px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--hhc-accent);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .03em;
    vertical-align: 1px;
}

.hh-rt__band-note {
    float: right;
    color: #93a2b8;
    font-size: 12.5px;
    line-height: 1.9;
}

/* 数据行 */
.hh-rt tbody:not(:first-of-type) tr:not(.hh-rt__band):first-child th,
.hh-rt tbody:not(:first-of-type) tr:not(.hh-rt__band):first-child td { border-top: 0; }

.hh-rt tbody tr:not(.hh-rt__band) th,
.hh-rt tbody tr:not(.hh-rt__band) td {
    padding: 15px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5fa;
}

.hh-rt tbody tr:not(.hh-rt__band):last-child th,
.hh-rt tbody tr:not(.hh-rt__band):last-child td { border-bottom: 0; }

.hh-rt tbody tr:not(.hh-rt__band):hover th,
.hh-rt tbody tr:not(.hh-rt__band):hover td { background: #fafcff; }

.hh-rt__prod { font-weight: 400; white-space: nowrap; }

.hh-rt__ico {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 10px;
    background: var(--hhc-accent-soft);
    color: var(--hhc-accent);
    font-size: 12.5px;
    vertical-align: middle;
}

.hh-rt__prod a {
    color: var(--hhc-title);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-decoration: none;
    vertical-align: middle;
    transition: color .18s ease;
}

.hh-rt__prod a:hover { color: var(--hhc-accent); }

.hh-rt__desc {
    color: #5b6b83;
    font-size: 14px;
    line-height: 1.72;
}

.hh-rt__dept {
    display: block;
    margin-top: 4px;
    color: #a9b6c9;
    font-size: 12.5px;
    line-height: 1.6;
}

.hh-rt__price {
    padding-left: 22px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.hh-rt__price strong {
    display: block;
    color: var(--hhc-accent);
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.hh-rt__unit {
    display: block;
    margin-top: 2px;
    color: #a9b6c9;
    font-size: 11.5px;
    font-weight: 500;
}

.hh-rt__unit--ask { color: #93a2b8; font-size: 12.5px; font-weight: 600; }

.hh-rt__note {
    margin: 14px 0 0;
    color: #93a2b8;
    font-size: 12.5px;
    line-height: 1.85;
}

.hh-rt__note strong { color: #64748b; font-weight: 700; }

.hh-rt__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    padding: 20px 24px;
    background: #f7faff;
    border: 1px solid #e6ecf5;
    border-radius: var(--hhc-radius);
}

.hh-rt__cta p {
    margin: 0;
    flex: 1 1 320px;
    color: #5b6b83;
    font-size: 14px;
    line-height: 1.75;
}

.hh-rt__cta a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    background: var(--hhc-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(43, 122, 245, .24);
    transition: background .2s ease, transform .2s ease;
}

.hh-rt__cta a:hover { background: #1a5fd1; transform: translateY(-2px); }

/* 窄屏：表格转纵向区块 */
@media (max-width: 760px) {
    .hh-rt thead { display: none; }

    .hh-rt,
    .hh-rt tbody,
    .hh-rt tr,
    .hh-rt th,
    .hh-rt td { display: block; width: auto; }

    .hh-rt tbody tr:not(.hh-rt__band) {
        padding: 15px 18px;
        border-bottom: 1px solid #f1f5fa;
    }

    .hh-rt tbody tr:not(.hh-rt__band):last-child { border-bottom: 0; }

    .hh-rt tbody tr:not(.hh-rt__band) th,
    .hh-rt tbody tr:not(.hh-rt__band) td {
        padding: 0;
        border: 0;
        white-space: normal;
    }

    .hh-rt__prod a { font-size: 15.5px; }

    .hh-rt__desc { margin-top: 9px; }

    .hh-rt__price { margin-top: 10px; text-align: left; }

    .hh-rt__price strong { display: inline-block; margin-right: 7px; }
    .hh-rt__unit { display: inline-block; margin-top: 0; }

    .hh-rt__band th { padding: 11px 18px; }
    .hh-rt__band-note { display: none; }

    .hh-rt__cta { padding: 18px; margin-top: 26px; }
    .hh-rt__cta a { width: 100%; justify-content: center; }
}
