/* 超签师：咨询入口。页眉徽标文字、右下角圆钮、首页中段横幅、文章末尾下一步、列表头提示条。类名都以 cqs- 开头。 */

/* H5 页眉：带小徽标的文字（没有边框和底色，和别站的按钮式入口区分开） */
.station-nav .desk-action.cqs-hd { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:5px 2px; border:0; border-radius:0; background:none; color:#fff3f5; font-weight:650; text-decoration:none; white-space:nowrap; }
.station-nav .desk-action.cqs-hd:hover .cqs-hd-text { text-decoration:underline; text-underline-offset:.22em; }
.cqs-hd-badge { align-self:center; padding:3px 7px; border-radius:999px; background:#f4cfdb; color:#42283e; font-size:11px; font-weight:700; line-height:1; letter-spacing:.06em; transform:translateY(-5px); }
.station-nav .desk-action.cqs-hd:focus-visible { outline:3px solid #f4cfdb; outline-offset:4px; border-radius:6px; }

/* P1 右下角圆形图标按钮 */
.cqs-fab { position:fixed; z-index:11; right:max(16px, env(safe-area-inset-right, 0px)); bottom:max(16px, calc(env(safe-area-inset-bottom, 0px) + 12px)); display:grid; place-items:center; width:56px; height:56px; border-radius:50%; background:#863756; color:#fff; text-decoration:none; box-shadow:0 0 0 3px #fff7f9, 0 10px 24px #1c0e1c66; }
.cqs-fab:hover { background:#6c2d4c; }
.cqs-fab:focus-visible { outline:0; box-shadow:0 0 0 3px #fff7f9, 0 0 0 7px #42283e, 0 10px 24px #1c0e1c66; }
.cqs-fab-tip { position:absolute; right:calc(100% + 12px); top:50%; transform:translateY(-50%); padding:7px 13px; border-radius:999px; background:#42283e; color:#fff6fa; font-size:14px; font-weight:650; line-height:1.3; white-space:nowrap; opacity:0; pointer-events:none; }
.cqs-fab:is(:hover, :focus-visible) .cqs-fab-tip { opacity:1; }
@media (hover:none) { .cqs-fab-tip { display:none; } }
/* 页尾的客服按钮在右下角，给圆钮让出位置，滚到底也不会被盖住 */
body:has(.cqs-fab) .station-footer { padding-bottom:calc(42px + 76px + env(safe-area-inset-bottom, 0px)); }
@media print { .cqs-fab { display:none; } }

/* 通用按钮 */
.cqs-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 24px; border:2px solid transparent; border-radius:999px; font-size:16px; font-weight:700; line-height:1.3; text-decoration:none; text-align:center; }
.cqs-btn-main { background:#fff6fa; color:#42283e; }
.cqs-btn-main:hover { background:#f4cfdb; }
.cqs-btn-ghost { border-color:#f4cfdb; color:#fff6fa; }
.cqs-btn-ghost:hover { background:#ffffff24; }
.cqs-btn:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.cqs-btn-sm { min-height:44px; padding:0 18px; font-size:15px; margin-top:10px; }

/* M10 首页中段全幅横幅：色块加示波线 */
.cqs-before { padding-block-end:0; }
.cqs-band { position:relative; isolation:isolate; overflow:hidden; margin-block:8px 6px; color:#fff6fa; background:linear-gradient(100deg, #8a3a5a 0%, #6c2d4c 52%, #4b2444 100%); }
.cqs-band::before { content:""; position:absolute; inset:0; z-index:-1; background-image:linear-gradient(#ffffff14 1px, transparent 1px), linear-gradient(90deg, #ffffff14 1px, transparent 1px); background-size:44px 44px; }
.cqs-band-wave { position:absolute; z-index:-1; right:0; top:0; width:min(48%, 560px); height:100%; opacity:.5; }
.cqs-band-inner { width:min(1080px, calc(100% - clamp(32px, 9vw, 128px))); margin-inline:auto; padding-block:clamp(34px, 5vw, 62px); }
.cqs-band h2 { margin:0 0 12px; max-width:22em; color:#fff6fa; font-size:clamp(23px, 2.9vw, 36px); line-height:1.3; text-wrap:balance; }
.cqs-nb { display:inline-block; }
.cqs-band p { margin:0; max-width:34em; color:#fbe8ee; font-size:17px; line-height:1.8; }
.cqs-band-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
@media (max-width:680px) {
    .cqs-band-wave { width:100%; opacity:.22; }
    .cqs-band p { font-size:16px; }
    .cqs-band-actions .cqs-btn { flex:1 1 100%; }
}

/* A5 文章末尾：下一步三步 */
.cqs-next { margin:34px 0 0; padding:clamp(20px, 3vw, 30px); border-radius:18px; background:#42283e; color:#fbe8ee; }
.cqs-next h2 { margin:0 0 18px; color:#fff6fa; font-size:18px; letter-spacing:.02em; }
.cqs-next ol { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px 20px; margin:0; padding:0; list-style:none; counter-reset:cqs-step; }
.cqs-next li { position:relative; counter-increment:cqs-step; padding:44px 0 0; font-size:15px; line-height:1.75; }
.cqs-next li::before { content:counter(cqs-step); position:absolute; left:0; top:0; display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#f4cfdb; color:#42283e; font-weight:700; }
.cqs-next li:not(:last-child)::after { content:""; position:absolute; left:42px; right:6px; top:15px; border-top:2px dotted #a77a92; }
.cqs-next strong { display:block; margin-bottom:3px; color:#fff; font-size:16px; }
.cqs-next li > a:not(.cqs-btn) { color:#fff; font-weight:700; text-underline-offset:.22em; text-wrap:balance; }
.cqs-next li > a:not(.cqs-btn):focus-visible { outline-color:#fff; }
@media (max-width:760px) {
    .cqs-next ol { grid-template-columns:minmax(0, 1fr); }
    .cqs-next li { padding:2px 0 0 46px; }
    .cqs-next li:not(:last-child)::after { display:none; }
}

/* L1 列表头提示条 */
.cqs-hint { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin:10px 0 6px; padding:8px 8px 8px 14px; border:1px dashed #bb91a3; border-radius:14px; background:#f6e9ed; color:var(--ink); font-size:14px; line-height:1.6; }
.cqs-hint-mark { flex:none; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--accent); color:#fff; font-size:13px; font-weight:700; }
.cqs-hint-text { flex:1 1 16em; min-width:0; }
.cqs-hint a { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 14px; margin-left:auto; border-radius:999px; background:var(--accent); color:#fff; font-weight:700; text-decoration:none; white-space:nowrap; }
.cqs-hint a:hover { background:#6c2d4c; }
.cqs-hint a:focus-visible { outline:3px solid #42283e; outline-offset:3px; }
@media (max-width:520px) { .cqs-hint a { margin-left:36px; } }

@media (prefers-reduced-motion:no-preference) {
    .cqs-btn, .cqs-fab, .cqs-hint a { transition:background-color .15s ease; }
}
