/* R1.5 campus pages: advisor opening, partner center, referrer dialog and price notes. */
:root {
    --cl-brand: #6d5bd0;
    --cl-brand-2: #8b5cf6;
    --cl-brand-soft: #f1edff;
    --cl-ink: #1f2337;
    --cl-ink-2: #545a75;
    --cl-ink-3: #8a90a8;
    --cl-line: #e7e5f2;
    --cl-bg: #f7f6fc;
    --cl-sell: #f97316;
    --cl-sell-soft: #fff4ea;
    --cl-team: #0d9488;
    --cl-team-soft: #e8f8f6;
    --cl-ok: #16a34a;
    --cl-warn-soft: #fff8e6;
    --cl-warn-line: #f7d98b;
    --cl-radius: 16px;
    --cl-shadow: 0 6px 24px rgba(48, 38, 120, .07);
}

body.cl-body { background: var(--cl-bg); color: var(--cl-ink); }
.cl-main { padding: 20px 0 64px; }
.cl-wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.cl-wrap--wide { max-width: 980px; }

.cl-card { background: #fff; border-radius: var(--cl-radius); box-shadow: var(--cl-shadow); padding: 22px; margin-bottom: 16px; }
.cl-card h2 { font-size: 1.08rem; font-weight: 700; margin: 0 0 4px; color: var(--cl-ink); }
.cl-card .cl-sub { color: var(--cl-ink-2); font-size: .92rem; margin: 0 0 14px; }
.cl-muted { color: var(--cl-ink-3); font-size: .86rem; }
.cl-center { text-align: center; }

.cl-hero { background: linear-gradient(135deg, #6d5bd0 0%, #8b5cf6 55%, #b06ab3 100%); color: #fff; border-radius: 22px; padding: 28px 24px 24px; margin-bottom: 16px; position: relative; overflow: hidden; }
.cl-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cl-hero h1 { font-size: 1.55rem; font-weight: 800; margin: 0 0 8px; line-height: 1.35; position: relative; z-index: 1; text-wrap: balance; }
.cl-hero p { margin: 0; opacity: .95; position: relative; z-index: 1; }
.cl-hero .cl-team-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 4px 12px; font-size: .86rem; margin-bottom: 12px; position: relative; z-index: 1; }

.cl-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.cl-point { background: rgba(255, 255, 255, .16); border-radius: 14px; padding: 12px; font-size: .9rem; line-height: 1.45; }
.cl-point i { display: block; font-size: 1.1rem; margin-bottom: 6px; }

.cl-q { margin-bottom: 20px; }
.cl-q:last-child { margin-bottom: 0; }
.cl-q-title { font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.cl-q-title .cl-step { width: 24px; height: 24px; border-radius: 50%; background: var(--cl-brand-soft); color: var(--cl-brand); font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cl-q-title .cl-hint { font-weight: 400; color: var(--cl-ink-3); font-size: .85rem; }
.cl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-chip { position: relative; border: 1.5px solid var(--cl-line); background: #fff; color: var(--cl-ink); border-radius: 12px; padding: 9px 14px; font-size: .95rem; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; min-height: 42px; -webkit-tap-highlight-color: transparent; }
.cl-chip:hover { border-color: #c9c1f2; }
.cl-chip:focus-visible { outline: 3px solid rgba(109, 91, 208, .35); outline-offset: 2px; }
.cl-chip[aria-pressed="true"] { border-color: var(--cl-brand); background: var(--cl-brand-soft); color: #3f2fa3; font-weight: 600; box-shadow: 0 0 0 1px var(--cl-brand) inset; padding-right: 30px; }
.cl-chip[aria-pressed="true"]::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: .78rem; color: var(--cl-brand); }

.cl-tip { background: var(--cl-warn-soft); border: 1px solid var(--cl-warn-line); color: #7a5300; border-radius: 12px; padding: 10px 14px; font-size: .9rem; margin: 0 0 12px; display: flex; gap: 8px; align-items: flex-start; }
.cl-tip i { margin-top: 3px; }
.cl-tip--info { background: #eef4ff; border-color: #c9dafc; color: #23458f; }
.cl-tip--ok { background: #ecfdf3; border-color: #b7ebc9; color: #146c3a; }

.cl-rules { counter-reset: rule; list-style: none; padding: 0; margin: 0 0 14px; max-height: 260px; overflow: auto; border: 1px solid var(--cl-line); border-radius: 12px; padding: 12px 14px; background: #fcfcff; }
.cl-rules li { counter-increment: rule; position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .9rem; color: var(--cl-ink-2); line-height: 1.6; }
.cl-rules li:last-child { margin-bottom: 0; }
.cl-rules li::before { content: counter(rule); position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--cl-brand-soft); color: var(--cl-brand); font-size: .72rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cl-agree { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: .95rem; margin-bottom: 16px; user-select: none; }
.cl-agree input { width: 20px; height: 20px; accent-color: var(--cl-brand); flex: none; }

.cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 12px 22px; font-size: 1rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .1s, box-shadow .15s, opacity .15s; min-height: 48px; }
.cl-btn:active { transform: scale(.98); }
.cl-btn--primary { background: linear-gradient(135deg, var(--cl-brand), var(--cl-brand-2)); color: #fff; box-shadow: 0 8px 18px rgba(109, 91, 208, .28); }
.cl-btn--primary:hover { color: #fff; box-shadow: 0 10px 22px rgba(109, 91, 208, .36); }
.cl-btn--ghost { background: #fff; color: var(--cl-brand); border: 1.5px solid #d8d0fa; }
.cl-btn--ghost:hover { color: var(--cl-brand); background: var(--cl-brand-soft); }
.cl-btn--sell { background: var(--cl-sell); color: #fff; }
.cl-btn--team { background: var(--cl-team); color: #fff; }
.cl-btn--sell:hover, .cl-btn--team:hover { color: #fff; opacity: .92; }
.cl-btn--sm { padding: 7px 14px; font-size: .9rem; min-height: 36px; border-radius: 10px; }
.cl-btn--block { width: 100%; }
.cl-btn[disabled], .cl-btn.is-busy { opacity: .5; cursor: not-allowed; box-shadow: none; }
.cl-msg { min-height: 1.4em; margin-top: 10px; font-size: .92rem; text-align: center; }
.cl-msg--error { color: #c2410c; }
.cl-msg--ok { color: var(--cl-ok); }
.cl-notice { display: flex; gap: 10px; align-items: flex-start; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; font-size: .93rem; line-height: 1.55; border: 1px solid var(--cl-line); background: #fff; }
.cl-notice--ok { background: #f2fbf4; border-color: #bfe6c9; color: #166534; }
.cl-notice--warn { background: #fff8e6; border-color: var(--cl-warn-line); color: #8a5a00; }
.cl-notice i { margin-top: 2px; flex: none; }

.cl-state { text-align: center; padding: 36px 20px; }
.cl-state .cl-state-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: var(--cl-brand-soft); color: var(--cl-brand); }
.cl-state h2 { font-size: 1.2rem; margin-bottom: 8px; }
.cl-state p { color: var(--cl-ink-2); margin: 0 auto 18px; max-width: 420px; }
.cl-state .cl-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.cl-foot-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--cl-ink-2); text-decoration: none; font-size: .92rem; }
.cl-foot-link:hover { color: var(--cl-brand); }

/* Partner center */
.cl-idbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cl-role { display: inline-flex; align-items: center; gap: 6px; background: var(--cl-brand-soft); color: #3f2fa3; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .92rem; }
.cl-idbar .cl-kv { color: var(--cl-ink-2); font-size: .9rem; }
.cl-idbar .cl-kv b { color: var(--cl-ink); letter-spacing: .06em; }
.cl-tabs { display: flex; gap: 6px; background: #ece9f8; border-radius: 14px; padding: 5px; margin: 0 0 16px; overflow-x: auto; }
.cl-tab { flex: 1; text-align: center; border: 0; background: transparent; color: var(--cl-ink-2); border-radius: 10px; padding: 9px 12px; font-weight: 600; font-size: .95rem; white-space: nowrap; text-decoration: none; }
.cl-tab:hover { color: var(--cl-brand); }
.cl-tab.is-active { background: #fff; color: var(--cl-brand); box-shadow: 0 2px 8px rgba(48, 38, 120, .1); }

.cl-qr-card { border-radius: var(--cl-radius); padding: 22px; margin-bottom: 16px; box-shadow: var(--cl-shadow); background: #fff; border-top: 6px solid var(--cl-sell); }
.cl-qr-card--team { border-top-color: var(--cl-team); }
.cl-qr-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.cl-qr-head .cl-badge { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--cl-sell-soft); color: var(--cl-sell); flex: none; }
.cl-qr-card--team .cl-qr-head .cl-badge { background: var(--cl-team-soft); color: var(--cl-team); }
.cl-qr-head h2 { margin: 0; font-size: 1.12rem; font-weight: 800; }
.cl-qr-body { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; margin-top: 14px; }
.cl-qr-img { width: 200px; height: 200px; border-radius: 14px; border: 1px solid var(--cl-line); padding: 8px; background: #fff; display: flex; align-items: center; justify-content: center; }
.cl-qr-img img { width: 100%; height: 100%; display: block; -webkit-touch-callout: default; }
.cl-qr-img .cl-muted { padding: 10px; text-align: center; }
.cl-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.9rem; font-weight: 800; letter-spacing: .22em; color: var(--cl-sell); }
.cl-qr-card--team .cl-code { color: var(--cl-team); }
.cl-link { display: flex; gap: 8px; align-items: center; background: #f6f6fa; border-radius: 10px; padding: 8px 10px; margin: 8px 0 12px; }
.cl-link span { flex: 1; font-size: .88rem; color: var(--cl-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.cl-qr-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.cl-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cl-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--cl-ink-2); }
.cl-steps .cl-n { width: 28px; height: 28px; border-radius: 50%; background: var(--cl-brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; font-size: .88rem; }

.cl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cl-stat { border: 1px solid var(--cl-line); border-radius: 14px; padding: 12px; text-decoration: none; color: inherit; display: block; background: #fff; }
.cl-stat:hover { border-color: #c9c1f2; color: inherit; }
.cl-stat .cl-stat-label { color: var(--cl-ink-3); font-size: .84rem; }
.cl-stat .cl-stat-value { font-size: 1.3rem; font-weight: 800; margin-top: 2px; }
.cl-stat.is-main { background: var(--cl-brand-soft); border-color: #d8d0fa; }
.cl-stat.is-main .cl-stat-value { color: #3f2fa3; }

.cl-name-row { display: flex; gap: 8px; }
.cl-name-row input { flex: 1; border: 1.5px solid var(--cl-line); border-radius: 12px; padding: 9px 12px; font-size: .95rem; min-width: 0; }
.cl-name-row input:focus { outline: none; border-color: var(--cl-brand); }

.cl-members { list-style: none; padding: 0; margin: 0; }
.cl-member { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0eef7; }
.cl-member:last-child { border-bottom: 0; }
.cl-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cl-team-soft); color: var(--cl-team); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.cl-member .cl-who { flex: 1; min-width: 0; }
.cl-member .cl-who b { display: block; }
.cl-member .cl-who span { color: var(--cl-ink-3); font-size: .84rem; }
.cl-member .cl-num { text-align: right; font-size: .86rem; color: var(--cl-ink-2); white-space: nowrap; }
.cl-member .cl-num b { display: block; color: var(--cl-ink); font-size: 1rem; }

.cl-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); background: rgba(31, 35, 55, .92); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 2000; max-width: 90vw; text-align: center; }
.cl-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Home: 校园推荐 */
.cl-home { padding: 28px 0 8px; background: #f8f7ff; }

/* Buyer side: price notes, banner, referrer dialog */
.product-price .channel-price-tag { display: inline-block; margin-right: 4px; padding: 1px 7px; border-radius: 999px; background: #fef2f2; color: #dc2626; font-size: 12px; font-weight: 600; vertical-align: middle; }
.product-price .price-official { margin-left: 6px; color: #9ca3af; text-decoration: line-through; font-size: .85em; }
/* R1.5.1: list price leads (grey, large), referral price is a small red second line.
   Stacked on purpose — a 4-column card leaves only ~90px for the price block, so two prices
   side by side push the 详情/购买 buttons out of the card. */
.product-price { min-height: 44px; }
.product-price.product-price--channel { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1px; }
.product-price .price-main { display: inline-flex; align-items: baseline; gap: 2px; line-height: 1; }
.product-price .price-label--official { color: #9ca3af; }
.product-price .price-value--official { color: #6b7280; }
.product-price .channel-price-inline { font-size: 12px; font-weight: 600; line-height: 1.2; color: #dc2626; white-space: nowrap; }
.product-price .channel-price-inline b { font-weight: 700; }
/* One footer height for every card so the price line and the 详情/购买 buttons stay on the
   same baseline whether the card carries a referral price or not. */
.product-footer { min-height: 58px; }
.cl-price-note { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--cl-brand); background: var(--cl-brand-soft); border-radius: 999px; padding: 3px 10px; }
.cl-fill-link { background: none; border: 0; padding: 0; color: var(--cl-brand); font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
/* R1.5: the two-door note sits in a narrow price card — stack the links instead of letting them wrap mid-phrase. */
#channelPriceNote { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1.5; }
#channelPriceNote .cl-fill-link { font-size: .82rem; text-align: left; white-space: nowrap; }
#channelPriceNote > .cl-muted { display: none; }
#channelPriceNote .cl-price-note { white-space: nowrap; }
@media (max-width: 480px) {
    #channelPriceNote .cl-fill-link { white-space: normal; }
    /* The referrer is shown as 角色（推荐码 XXXXXX）, too long for one line beside the saving on a phone. */
    #channelPriceNote .cl-price-note { white-space: normal; max-width: 100%; border-radius: 12px; text-align: left; }
}
/* R1.5: the list price is a parallel price, not a promotion — no strikethrough. */
.product-price .price-official--plain { text-decoration: none; }
.original-price-value.original-price--plain { text-decoration: none; }
.cl-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(90deg, #f3efff, #fff4ea); border: 1px solid #e3dcfb; border-radius: 14px; padding: 12px 16px; margin: 12px 0; color: var(--cl-ink); }
.cl-banner .cl-banner-text { flex: 1; min-width: 220px; font-size: .94rem; }
.cl-banner .cl-banner-actions { display: flex; gap: 8px; }
.cl-modal-backdrop { position: fixed; inset: 0; background: rgba(20, 18, 40, .45); display: flex; align-items: center; justify-content: center; z-index: 1990; padding: 16px; }
.cl-modal { background: #fff; border-radius: 20px; width: 100%; max-width: 440px; padding: 22px; box-shadow: 0 20px 50px rgba(20, 18, 40, .25); position: relative; }
.cl-modal h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 6px; }
.cl-modal .cl-close { position: absolute; right: 14px; top: 12px; border: 0; background: none; font-size: 1.2rem; color: var(--cl-ink-3); width: 36px; height: 36px; }
.cl-modal input.cl-input { width: 100%; border: 1.5px solid var(--cl-line); border-radius: 12px; padding: 11px 14px; font-size: 1rem; margin: 12px 0 8px; }
.cl-modal input.cl-input:focus { outline: none; border-color: var(--cl-brand); }
.cl-found { background: var(--cl-brand-soft); border-radius: 14px; padding: 14px; margin: 12px 0; }
.cl-found b { color: #3f2fa3; }
.cl-modal .cl-row { display: flex; gap: 10px; margin-top: 8px; }
.cl-modal .cl-row .cl-btn { flex: 1; }

/* Rules popup: the shared backdrop + panel, with a roomier variant for the rule list. */
.cl-rules-entry { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #ded5ff; border-radius: 12px; background: var(--cl-brand-soft); color: #3f2fa3; font-size: .95rem; font-weight: 600; text-align: left; cursor: pointer; }
.cl-rules-entry i { color: var(--cl-brand); font-size: .85rem; }
.cl-select { width: 100%; min-height: 46px; border: 1.5px solid var(--cl-line); border-radius: 12px; padding: 10px 12px; font-size: .95rem; color: var(--cl-ink); background: #fff; }
.cl-select:focus { outline: 3px solid rgba(109, 91, 208, .28); border-color: var(--cl-brand); }
.cl-modal-backdrop[hidden] { display: none; }
body.cl-locked { overflow: hidden; }
.cl-modal--rules { max-width: 520px; max-height: 86vh; padding: 0; display: flex; flex-direction: column; }
.cl-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 6px; }
.cl-modal__head h2 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.cl-modal__x { border: 0; background: none; color: var(--cl-ink-3); width: 36px; height: 36px; font-size: 1.1rem; cursor: pointer; }
.cl-modal__body { padding: 0 18px; overflow: auto; }
.cl-modal__body .cl-rules { max-height: none; margin-bottom: 10px; }
.cl-rules-note { color: var(--cl-ink-2); font-size: .86rem; line-height: 1.6; margin: 0 0 8px; }
.cl-rules-note a { color: var(--cl-brand); }
.cl-rules-meta { color: var(--cl-ink-3); font-size: .8rem; margin: 0 0 6px; }
.cl-modal__foot { padding: 12px 18px 18px; }
@media (max-width: 480px) {
    .cl-modal-backdrop--sheet { align-items: flex-end; padding: 0; }
    .cl-modal--rules { max-width: none; max-height: 92vh; border-radius: 20px 20px 0 0; }
}
.cl-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cl-promo-item { background: #fff; border-radius: var(--cl-radius); box-shadow: var(--cl-shadow); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cl-promo-item h3 { font-size: 1.05rem; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.cl-promo-item p { margin: 0; color: var(--cl-ink-2); font-size: .93rem; flex: 1; }
.cl-promo-item .cl-btn { align-self: flex-start; }

@media (max-width: 640px) {
    .cl-hero { padding: 22px 18px 18px; border-radius: 18px; }
    .cl-hero h1 { font-size: 1.28rem; }
    .cl-points { grid-template-columns: 1fr; gap: 8px; }
    .cl-point { display: flex; gap: 10px; align-items: center; padding: 10px 12px; }
    .cl-point i { display: inline-block; margin: 0; width: 20px; text-align: center; }
    .cl-card { padding: 18px 16px; }
    .cl-qr-body { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .cl-qr-body > div:last-child { width: 100%; }
    .cl-qr-actions { justify-content: center; }
    .cl-stats { grid-template-columns: repeat(2, 1fr); }
    .cl-code { font-size: 1.6rem; }
    .cl-promo { grid-template-columns: 1fr; }
}

/* R1.7 promotion workbench: the partner's own numbers first, then the tools, then the team. */
.cl-dash { padding: 16px 16px 12px; }
.cl-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cl-dash-title { font-size: 1.02rem; font-weight: 800; color: var(--cl-ink); margin: 0; display: flex; align-items: center; gap: 8px; }
.cl-dash-title i { color: var(--cl-brand); }
.cl-range { display: inline-flex; background: #f2f0fb; border-radius: 999px; padding: 3px; gap: 2px; }
.cl-range button { border: 0; background: transparent; color: var(--cl-ink-3); font-size: .82rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; cursor: pointer; line-height: 1.2; transition: background .18s ease, color .18s ease, box-shadow .18s ease; }
.cl-range button:hover { color: var(--cl-brand); }
.cl-range button.is-active { background: #fff; color: var(--cl-brand); box-shadow: 0 1px 4px rgba(31, 35, 55, .14); }
.cl-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.cl-metric { background: linear-gradient(180deg, #fbfaff 0%, #f4f1ff 100%); border: 1px solid #ece8fb; border-radius: 16px; padding: 12px 13px; min-height: 86px; display: flex; flex-direction: column; gap: 2px; }
.cl-metric-label { font-size: .8rem; color: var(--cl-ink-2); font-weight: 600; }
.cl-metric b { font-size: 1.75rem; line-height: 1.15; font-weight: 800; color: var(--cl-ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.cl-metric-sub { font-size: .74rem; color: var(--cl-ink-3); margin-top: auto; }
.cl-metric--money b { color: #d9480f; }
.cl-metric--money { background: linear-gradient(180deg, #fffaf5 0%, #fff1e6 100%); border-color: #ffe0c7; }
.cl-funnel { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 12px; padding: 10px 12px; background: #faf9fe; border: 1px dashed var(--cl-line); border-radius: 14px; }
.cl-funnel-step { font-size: .78rem; color: var(--cl-ink-3); display: inline-flex; align-items: baseline; gap: 4px; }
.cl-funnel-step b { font-size: .98rem; color: var(--cl-ink); font-variant-numeric: tabular-nums; font-weight: 800; }
.cl-funnel i { color: #cfc9e6; font-size: .72rem; }
.cl-dash-note { margin: 10px 0 2px; font-size: .74rem; color: var(--cl-ink-3); line-height: 1.5; }
.cl-dash-link { border: 0; background: transparent; color: var(--cl-brand); font-size: .84rem; font-weight: 700; padding: 4px 2px; cursor: pointer; }
.cl-dash-link:hover { color: var(--cl-brand-2); text-decoration: underline; }
.cl-member { position: relative; }
.cl-member-stats { display: flex; flex-wrap: wrap; gap: 3px 13px; margin-top: 4px; font-size: .78rem; color: var(--cl-ink-2); }
.cl-member-stats span { display: inline-flex; align-items: baseline; gap: 3px; }
.cl-code-chip { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #f1eefc; color: var(--cl-brand); font-size: .72rem; font-weight: 700; letter-spacing: .02em; vertical-align: middle; }
.cl-code-chip--warn { background: #fff3e6; color: #b45309; }
.cl-member-stats b { color: var(--cl-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.cl-member-stats .cl-hot { color: #d9480f; }
.cl-dash.is-loading .cl-metric b { color: var(--cl-ink-3); }
@media (min-width: 720px) {
    .cl-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
    .cl-metric b { font-size: 1.55rem; }
    .cl-funnel { flex-wrap: wrap; gap: 6px; }
}
