/* 用户前台样式：沿用交互原型（第七版）的设计 */

:root {
  --ink: #17152b;
  --ink-2: #4a4763;
  --ink-3: #8b88a1;
  --ink-4: #b9b7c8;
  --paper: #f4f4f9;
  --surface: #ffffff;
  --surface-2: #fafafd;
  --line: #e8e7f1;
  --line-2: #f0eff6;
  --drip: #5b4cf0;
  --drip-ink: #4335d6;
  --drip-soft: #efecff;
  --drip-mist: #f6f4ff;
  --mint: #0e9f7a;
  --mint-soft: #e3f6ef;
  --amber: #d97f1c;
  --amber-soft: #fdf1e2;
  --rose: #dd4455;
  --rose-soft: #fdeaec;
  --ch-ai: #6b5bff;
  --ch-search: #138f7c;
  --ch-xhs: #ee4357;
  --ch-video: #1f1d2e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 21, 43, .04), 0 4px 16px rgba(23, 21, 43, .04);
  --shadow-lg: 0 12px 40px rgba(23, 21, 43, .14), 0 2px 6px rgba(23, 21, 43, .06);
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "SF Pro Display", "DIN Alternate", "Bahnschrift", "PingFang SC", system-ui, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--drip); text-decoration: none; }
:focus-visible { outline: 2px solid var(--drip); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4, p { margin: 0; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--ink-3); }
.ink2 { color: var(--ink-2); }
.small { font-size: 12px; }
.hide-sm { }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  background: var(--surface); border-right: 1px solid var(--line); padding: 18px 14px 14px;
}
.logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(145deg, #7a6cff, var(--drip) 60%, #4334d8); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(91, 76, 240, .3); }
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { font-weight: 700; font-size: 17px; letter-spacing: .02em; }
.logo-text small { display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--drip); background: var(--drip-soft); padding: 1px 6px; border-radius: 5px; vertical-align: 2px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 10px;
  color: var(--ink-2); font-weight: 500; transition: background .15s, color .15s;
}
.nav a svg { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a.on { background: var(--drip-soft); color: var(--drip-ink); font-weight: 600; }
.nav a.on svg { color: var(--drip); }
.nav .badge { margin-left: auto; }
.nav-sep { height: 1px; background: var(--line-2); margin: 10px 6px; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.wallet-chip {
  display: block; padding: 12px 13px; border-radius: 12px; background: var(--drip-mist); border: 1px solid #e6e2ff; color: var(--ink);
}
.wallet-chip:hover { border-color: #d3ccff; }
.wallet-chip .row { display: flex; justify-content: space-between; align-items: baseline; }
.wallet-chip .amt { font-size: 20px; font-weight: 700; }
.wallet-chip .hint { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.wallet-chip .wrow { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.wallet-chip .wrow span { display: inline-flex; align-items: center; gap: 5px; }
.wallet-chip .wrow svg { width: 14px; height: 14px; color: var(--drip); }
.wallet-chip .wrow b { font-size: 16px; color: var(--ink); }
.wallet-chip .wrow + .hint { margin-top: 6px; }
.wallet-chip.low { background: var(--amber-soft); border-color: #f6dcb9; }
.user-row { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 10px; position: relative; width: 100%; text-align: left; }
.user-row:hover { background: var(--paper); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(140deg, #2fb58e, #138f7c); flex: none; font-size: 13px; }
.user-row .t { line-height: 1.3; min-width: 0; }
.user-row .t b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-row .t span { font-size: 12px; color: var(--ink-3); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px;
  background: rgba(244, 244, 249, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.crumbs { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; min-width: 0; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.page { padding: 8px 28px 64px; max-width: 1240px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; font-weight: 700; letter-spacing: .01em; }
.page-head p { color: var(--ink-3); margin-top: 4px; }
.page-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px; white-space: nowrap; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--drip); color: #fff; box-shadow: 0 2px 8px rgba(91, 76, 240, .28); }
.btn-primary:hover { background: var(--drip-ink); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #d5d3e3; background: var(--surface-2); }
.btn-soft { background: var(--drip-soft); color: var(--drip-ink); }
.btn-soft:hover { background: #e4dfff; }
.btn-text { height: auto; padding: 4px 6px; color: var(--drip); font-weight: 600; }
.btn-text:hover { color: var(--drip-ink); }
.btn-danger { background: var(--surface); border-color: #f2c7cd; color: var(--rose); }
.btn-danger:hover { background: var(--rose-soft); }
.btn-mint { background: var(--mint); color: #fff; }
.btn-mint:hover { background: #0b8a6a; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn[disabled] { opacity: .45; pointer-events: none; box-shadow: none; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { background: var(--line-2); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

.badge { display: inline-flex; align-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; font-size: 12px; font-weight: 700; justify-content: center; background: var(--drip); color: #fff; }
.badge.amber { background: var(--amber); }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.drip { background: var(--drip-soft); color: var(--drip-ink); }
.tag.mint { background: var(--mint-soft); color: var(--mint); }
.tag.amber { background: var(--amber-soft); color: var(--amber); }
.tag.rose { background: var(--rose-soft); color: var(--rose); }
.tag.gray { background: var(--line-2); color: var(--ink-3); }

.ch { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ch i { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; flex: none; }
.ch i svg { width: 13px; height: 13px; }
.ch.ai i { background: var(--ch-ai); }
.ch.search i { background: var(--ch-search); }
.ch.xhs i { background: var(--ch-xhs); }
.ch.video i { background: var(--ch-video); }
.ch-stack { display: inline-flex; }
.ch-stack .ch i { border: 2px solid var(--surface); width: 26px; height: 26px; }
.ch-stack .ch + .ch { margin-left: -7px; }

/* ---------- Cards & layout ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; flex-wrap: wrap; }
.card-head h3 { font-size: 16px; font-weight: 700; }
.card-head .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.card-body { padding: 16px 22px 20px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt20 { margin-top: 20px; } .mt24 { margin-top: 24px; }
.divider { height: 1px; background: var(--line-2); margin: 16px 0; }

.stat { padding: 16px 18px; }
.stat .lbl { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.stat .val { font-size: 28px; font-weight: 700; margin-top: 6px; line-height: 1.1; }
.stat .val small { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-left: 2px; }
.delta { font-size: 12px; font-weight: 600; color: var(--mint); }
.delta.down { color: var(--rose); }
.delta.flat { color: var(--ink-3); }

/* ---------- Tabs, forms ---------- */
.tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--line-2); border-radius: 11px; flex-wrap: wrap; }
.tabs button { height: 32px; padding: 0 14px; border-radius: 8px; font-weight: 600; color: var(--ink-3); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(23, 21, 43, .08); }
.tabs .cnt { font-size: 11px; color: var(--ink-3); font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .lbl { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .help { font-size: 12px; color: var(--ink-3); }
.input, .textarea, .select {
  width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--drip); box-shadow: 0 0 0 3px rgba(91, 76, 240, .14); }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.searchbox { position: relative; }
.searchbox > svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); }
.searchbox .input { padding-left: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: #cfcbe6; color: var(--ink); }
.chip.on { background: var(--drip-soft); border-color: #cfc8ff; color: var(--drip-ink); font-weight: 600; }
.chip .x { opacity: .5; }
.switch { width: 40px; height: 22px; border-radius: 11px; background: var(--ink-4); position: relative; transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch.on { background: var(--mint); }
.switch.on::after { transform: translateX(18px); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.stepper button { width: 34px; height: 34px; font-size: 18px; color: var(--ink-2); }
.stepper button:hover { background: var(--line-2); }
.stepper b { min-width: 34px; text-align: center; font-family: var(--num); font-size: 15px; }

/* ---------- Tables / lists ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover td { background: var(--drip-mist); }
.table-wrap { overflow-x: auto; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.list-item:last-child { border-bottom: 0; }
.empty { text-align: center; padding: 44px 20px; color: var(--ink-3); }
.empty .ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; background: var(--drip-mist); display: grid; place-items: center; color: var(--drip); }
.empty .ico svg { width: 24px; height: 24px; }
.empty h4 { color: var(--ink); font-size: 15px; margin-bottom: 4px; }

/* ---------- Home ---------- */
.hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 8px 0 20px; flex-wrap: wrap; }
.hello h1 { font-size: 28px; font-weight: 700; }
.hello p { color: var(--ink-2); margin-top: 6px; }
.todo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 18px; }
.todo {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: left;
  transition: border-color .15s, transform .15s, box-shadow .15s; box-shadow: var(--shadow);
}
.todo:hover { border-color: #d0cbf2; transform: translateY(-1px); }
.todo .ti { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.todo .ti svg { width: 19px; height: 19px; }
.todo b { display: block; font-size: 15px; }
.todo span { font-size: 12px; color: var(--ink-3); }
.todo .go { margin-left: auto; color: var(--ink-4); }
.todo .go svg { width: 16px; height: 16px; }
.ti.drip { background: var(--drip-soft); color: var(--drip); }
.ti.mint { background: var(--mint-soft); color: var(--mint); }
.ti.amber { background: var(--amber-soft); color: var(--amber); }
.ti.rose { background: var(--rose-soft); color: var(--rose); }
.todo.done { box-shadow: none; background: transparent; border-style: dashed; }

/* Signature: "found" answer card */
.found { position: relative; overflow: hidden; }
.found-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 0; }
.found-head h3 { font-size: 16px; }
.found-body { padding: 16px 22px 18px; }
.ask { display: flex; justify-content: flex-end; }
.ask .bubble { background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 14px; max-width: 78%; font-size: 14px; }
.answer { display: flex; gap: 10px; margin-top: 12px; }
.answer .who { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; flex: none; }
.answer .bubble { background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.answer .bubble b { color: var(--ink); }
mark.me { background: linear-gradient(transparent 55%, rgba(91, 76, 240, .25) 55%); color: var(--drip-ink); font-weight: 700; padding: 0 1px; }
mark.rival { background: none; color: var(--ink); font-weight: 600; }
.found-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line-2); background: var(--surface-2); font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.dots { display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; background: var(--ink-4); transition: width .2s, background .2s; }
.dots button.on { width: 20px; background: var(--drip); }
.model-row { display: flex; gap: 6px; flex-wrap: wrap; }
.model { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 12px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-3); }
.model.hit { background: var(--drip-soft); color: var(--drip-ink); }
.model .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Funnel (flow) */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.flow .step { position: relative; padding: 4px 14px 4px 0; }
.flow .step + .step { padding-left: 18px; border-left: 1px dashed var(--line); }
.flow .lbl { font-size: 12px; color: var(--ink-3); }
.flow .val { font-size: 26px; font-weight: 700; line-height: 1.2; margin-top: 4px; }
.flow .bar { height: 8px; border-radius: 4px; background: var(--line-2); margin-top: 10px; overflow: hidden; }
.flow .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8c80ff, var(--drip)); }
.flow .rate { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

/* chart */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--font); font-size: 11px; fill: var(--ink-3); }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* Suggestion */
.suggest { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, #f3f0ff, #f8f7ff 60%, #fff); border: 1px solid #e3ddff; }
.suggest .si { width: 36px; height: 36px; border-radius: 11px; background: var(--drip); color: #fff; display: grid; place-items: center; flex: none; }
.suggest .si svg { width: 18px; height: 18px; }
.suggest h4 { font-size: 14px; }
.suggest p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }

/* Plans */
.plan-card { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan-card:hover { border-color: #d0cbf2; box-shadow: 0 6px 24px rgba(23, 21, 43, .07); }
.plan-card h3 { font-size: 16px; }
.plan-card .meta { display: flex; gap: 18px; flex-wrap: wrap; }
.plan-card .meta div { font-size: 12px; color: var(--ink-3); }
.plan-card .meta b { display: block; font-size: 18px; color: var(--ink); font-family: var(--num); }
.prog { height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--drip); border-radius: 3px; }
.prog.amber i { background: var(--amber); }

/* Week timeline */
.weeks { display: flex; flex-direction: column; }
.week { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; }
.week .rail { display: flex; flex-direction: column; align-items: center; }
.week .rail .pt { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--drip); background: var(--surface); margin-top: 5px; flex: none; }
.week .rail .ln { flex: 1; width: 2px; background: var(--line); margin: 3px 0; }
.week.past .rail .pt { border-color: var(--mint); background: var(--mint); }
.week.future .rail .pt { border-color: var(--ink-4); }
.week .wk-body { padding-bottom: 20px; }
.week .wk-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.week .wk-title b { font-size: 14px; }
.wk-items { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.wk-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.wk-item .t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Review workspace */
.review { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.rv-list { max-height: calc(100vh - 210px); overflow: auto; position: sticky; top: 76px; }
.rv-item { display: block; width: 100%; text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); transition: background .12s; }
.rv-item:hover { background: var(--surface-2); }
.rv-item.on { background: var(--drip-mist); box-shadow: inset 3px 0 0 var(--drip); }
.rv-item .t { font-weight: 600; font-size: 13.5px; line-height: 1.45; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-item .m { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.rv-pane .why { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--drip-mist); border: 1px solid #ebe7ff; font-size: 13px; color: var(--ink-2); }
.rv-pane .why svg { width: 16px; height: 16px; color: var(--drip); flex: none; margin-top: 3px; }
.doc { max-width: 680px; margin: 0 auto; }
.doc h2 { font-size: 22px; line-height: 1.4; }
.doc .by { font-size: 12px; color: var(--ink-3); margin: 8px 0 18px; }
.doc p { color: var(--ink-2); line-height: 1.9; margin: 0 0 14px; font-size: 15px; }
.doc h4 { font-size: 15px; margin: 20px 0 8px; }
.note-phone { width: 320px; margin: 0 auto; border-radius: 26px; border: 8px solid #1d1b2b; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.note-cover { aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; position: relative; }
.note-cover h3 { font-size: 22px; line-height: 1.3; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.note-body { padding: 14px 16px 18px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.note-body b { color: var(--ink); display: block; font-size: 15px; margin-bottom: 6px; }
.note-tags { color: #3c6bd8; font-size: 12.5px; margin-top: 8px; }
.story { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shot .frame { aspect-ratio: 9 / 12; display: flex; align-items: flex-end; padding: 10px; color: #fff; font-size: 12px; font-weight: 600; }
.shot .cap { padding: 8px 10px; font-size: 12px; color: var(--ink-2); line-height: 1.55; }
.shot .cap b { display: block; color: var(--ink-3); font-size: 11px; font-weight: 600; }
.rv-actions { position: sticky; bottom: 0; display: flex; gap: 10px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); border-radius: 0 0 var(--radius) var(--radius); flex-wrap: wrap; }

/* Leads */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pipe { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-align: left; transition: border-color .15s; }
.pipe:hover { border-color: #d0cbf2; }
.pipe.on { border-color: var(--drip); box-shadow: 0 0 0 3px rgba(91, 76, 240, .12); }
.pipe .lbl { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.pipe .val { font-size: 22px; font-weight: 700; font-family: var(--num); }
.status-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.status-steps button { flex: 1; min-width: 72px; height: 34px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); }
.status-steps button.on { background: var(--drip); border-color: var(--drip); color: #fff; }
.status-steps button.on.won { background: var(--mint); border-color: var(--mint); }
.status-steps button.on.bad { background: var(--ink-3); border-color: var(--ink-3); }
.path { display: flex; flex-direction: column; gap: 0; }
.path .p { display: flex; gap: 12px; }
.path .p .rail { display: flex; flex-direction: column; align-items: center; width: 14px; }
.path .p .rail i { width: 10px; height: 10px; border-radius: 50%; background: var(--drip); margin-top: 6px; flex: none; }
.path .p .rail span { flex: 1; width: 2px; background: var(--line); }
.path .p:last-child .rail span { display: none; }
.path .p .c { padding-bottom: 14px; font-size: 13px; }
.path .p .c b { display: block; font-size: 13px; }

/* Report */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; }
.matrix th { font-size: 12px; color: var(--ink-3); font-weight: 600; padding: 8px 6px; text-align: center; white-space: nowrap; }
.matrix th:first-child { text-align: left; }
.matrix td { padding: 9px 6px; border-top: 1px solid var(--line-2); text-align: center; }
.matrix td:first-child { text-align: left; font-size: 13px; }
.matrix tr.click { cursor: pointer; }
.matrix tr.click:hover td { background: var(--drip-mist); }
.cell { display: inline-grid; place-items: center; width: 30px; height: 26px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.cell.hit { background: var(--drip); color: #fff; }
.cell.top { background: var(--drip-ink); color: #fff; }
.cell.miss { background: var(--line-2); color: var(--ink-4); }
.cell.cv { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--mint); }
.fn-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 56px 150px; gap: 12px; align-items: center; padding: 7px 0; font-size: 13px; }
.fn-row .fn-l { color: var(--ink-2); font-weight: 600; }
.fn-row .fn-track { height: 18px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.fn-row .fn-track i { display: block; height: 100%; border-radius: 6px; }
.fn-row b { text-align: right; }
.fn-row .fn-r { font-size: 12px; color: var(--ink-3); }
.mini-stat { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mini-stat span { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.mini-stat b { font-size: 24px; line-height: 1.2; }
.mini-stat em { font-style: normal; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-end { border: 1.5px solid #bfe8da; background: linear-gradient(180deg, var(--mint-soft), var(--surface) 70%); }
.conv-end .edit-line:last-child { border-bottom: 0; }
.bar-row { display: grid; grid-template-columns: 84px 1fr 52px; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; }
.bar-row .track { height: 10px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.bar-row .track i { display: block; height: 100%; border-radius: 5px; }
.rank { font-family: var(--num); font-weight: 700; font-size: 16px; }
.big-ring { display: flex; align-items: center; gap: 20px; }

/* Profile / site */
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--ink-3); font-size: 13px; }
.kv dd { margin: 0; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.file-row:last-child { border-bottom: 0; }
.file-ico { width: 38px; height: 44px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; flex: none; }
.drop { border: 1.5px dashed #cfc9f2; border-radius: 14px; padding: 26px; text-align: center; background: var(--drip-mist); color: var(--ink-2); cursor: pointer; transition: background .15s, border-color .15s; display: block; width: 100%; }
.drop:hover { background: var(--drip-soft); border-color: var(--drip); }
.acct { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.acct .top { display: flex; align-items: center; gap: 12px; }
.acct .pf { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; flex: none; }
.browser { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.browser .bar { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser .bar .dots3 { display: flex; gap: 6px; }
.browser .bar .dots3 i { width: 10px; height: 10px; border-radius: 50%; background: #e3e1ec; }
.browser .bar .url { flex: 1; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; padding: 0 10px; }
.site { font-size: 14px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; }
.site-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; color: #1e3b33; }
.site-brand i { width: 28px; height: 28px; border-radius: 8px; background: #2f7d66; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 13px; }
.site-hero { padding: 34px 28px 38px; background: linear-gradient(160deg, #eaf4ef, #f6f3ea); display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.site-hero h2 { font-size: 28px; line-height: 1.35; color: #17322b; }
.site-hero p { color: #4d6159; margin-top: 10px; }
.site-art { aspect-ratio: 4 / 3; border-radius: 14px; background: linear-gradient(135deg, #cfe3d8, #f0e6d2); position: relative; overflow: hidden; }
.site-sec { padding: 26px 28px; }
.site-sec h3 { font-size: 17px; color: #17322b; margin-bottom: 12px; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.site-cards div { padding: 14px; border-radius: 12px; background: #f6f8f7; font-size: 13px; color: #4d6159; }
.site-cards b { display: block; color: #17322b; margin-bottom: 4px; }
.site-form { padding: 22px; border-radius: 14px; background: #17322b; color: #fff; display: grid; grid-template-columns: 1fr 1.2fr; gap: 22px; }
.site-form .input, .site-form .textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; }
.site-form .input::placeholder, .site-form .textarea::placeholder { color: rgba(255, 255, 255, .45); }
.site-btn { background: #e9c46a; color: #17322b; height: 40px; border-radius: 10px; font-weight: 700; padding: 0 18px; }

/* Wallet */
.balance-hero { padding: 24px; border-radius: 18px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #8b7fff 0%, var(--drip) 45%, #3d2fc6 100%); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(91, 76, 240, .28); }
.balance-hero .amt { font-size: 40px; font-weight: 700; line-height: 1.1; margin-top: 6px; }
.balance-hero .sub { opacity: .8; font-size: 13px; margin-top: 8px; }
.balance-hero .btn-white { background: #fff; color: var(--drip-ink); }
.balance-hero.dark { background: radial-gradient(120% 140% at 100% 0%, #3b3852 0%, #24223a 45%, #15131f 100%); box-shadow: 0 10px 30px rgba(23, 21, 43, .25); }
.balance-hero.dark .btn-white { color: var(--ink); }
.price-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.price-row:last-child { border-bottom: 0; }
.amount-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amount-opts button { min-height: 58px; padding: 8px 4px; line-height: 1.35; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: 18px; font-family: var(--num); background: var(--surface); }
.amount-opts button small { display: block; font-size: 11px; font-weight: 600; color: var(--mint); font-family: var(--font); }
.amount-opts button.on { border-color: var(--drip); background: var(--drip-mist); color: var(--drip-ink); box-shadow: 0 0 0 3px rgba(91, 76, 240, .12); }

/* Wizard */
.wiz { max-width: 920px; margin: 0 auto; }
.wiz-steps { display: flex; gap: 8px; margin: 6px 0 22px; }
.wiz-steps div { flex: 1; }
.wiz-steps i { display: block; height: 4px; border-radius: 2px; background: var(--line); }
.wiz-steps div.on i { background: var(--drip); }
.wiz-steps div.done i { background: #a99fff; }
.wiz-steps span { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; font-weight: 600; }
.wiz-steps div.on span { color: var(--drip-ink); }
.goal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.goal { text-align: left; padding: 20px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s; position: relative; }
.goal:hover { border-color: #cfc8ff; transform: translateY(-2px); }
.goal.on { border-color: var(--drip); box-shadow: 0 0 0 4px rgba(91, 76, 240, .12); }
.goal .gi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; }
.goal .gi svg { width: 22px; height: 22px; }
.goal h3 { font-size: 16px; }
.goal p { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.goal .check { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; }
.goal.on .check { background: var(--drip); border-color: var(--drip); }
.goal .check svg { width: 13px; height: 13px; }
.chan-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; width: 100%; transition: border-color .15s, background .15s; }
.chan-opt.on { border-color: var(--drip); background: var(--drip-mist); }
.chan-opt .ch i { width: 38px; height: 38px; border-radius: 11px; }
.chan-opt .ch i svg { width: 19px; height: 19px; }
.chan-opt h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chan-opt p { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.chan-opt .box { margin-left: auto; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--ink-4); display: grid; place-items: center; color: #fff; flex: none; }
.chan-opt.on .box { background: var(--drip); border-color: var(--drip); }
.chan-opt .box svg { width: 13px; height: 13px; }
.sum-card { position: sticky; top: 76px; }
.sum-line { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 13.5px; }
.sum-line span { color: var(--ink-3); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); }
.sum-total b { font-size: 26px; font-family: var(--num); }
.topic { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.topic:last-child { border-bottom: 0; }
.topic .t { flex: 1; font-size: 13.5px; }
.topic .t small { display: block; color: var(--ink-3); font-size: 12px; margin-top: 2px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13px; }
.notice svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.notice.amber { background: var(--amber-soft); color: #8a4f0f; }
.notice.drip { background: var(--drip-mist); color: var(--ink-2); border: 1px solid #ebe7ff; }
.notice.drip svg { color: var(--drip); }
.notice.mint { background: var(--mint-soft); color: #0b6b53; }
.notice.rose { background: var(--rose-soft); color: #9c2433; }
.notice.gray { background: var(--paper); color: var(--ink-2); }
.notice.gray svg { color: var(--ink-3); }

/* Onboarding */
.onb { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.onb-art {
  position: relative; overflow: hidden; color: #fff; padding: 40px 44px; display: flex; flex-direction: column;
  background: radial-gradient(90% 70% at 20% 10%, #7d70ff 0%, transparent 60%), radial-gradient(80% 60% at 90% 90%, #2fb58e 0%, transparent 55%), #2a1f8f;
}
.onb-art .logo-text small { color: #fff; background: rgba(255, 255, 255, .16); }
.onb-art h2 { font-size: 34px; line-height: 1.35; margin-top: auto; font-weight: 700; letter-spacing: .01em; }
.onb-art p { opacity: .82; margin-top: 12px; font-size: 15px; max-width: 420px; }
.onb-qa { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.onb-qa .q { align-self: flex-end; background: rgba(255, 255, 255, .14); border-radius: 14px 14px 4px 14px; padding: 9px 13px; font-size: 13.5px; }
.onb-qa .a { background: #fff; color: var(--ink-2); border-radius: 4px 14px 14px 14px; padding: 11px 14px; font-size: 13.5px; line-height: 1.7; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.onb-qa .a mark.me { color: var(--drip-ink); }
.onb-qa .src { font-size: 11px; opacity: .7; }
.onb-main { padding: 40px 56px; display: flex; flex-direction: column; background: var(--surface); }
.onb-main .inner { max-width: 560px; width: 100%; margin: auto 0; }
.onb-main h1 { font-size: 26px; }
.onb-main .lead { color: var(--ink-3); margin-top: 6px; }
.onb-steps { display: flex; gap: 6px; margin-bottom: 26px; }
.onb-steps i { height: 4px; flex: 1; border-radius: 2px; background: var(--line); }
.onb-steps i.on { background: var(--drip); }
.think { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.think div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-3); transition: color .3s; }
.think div.done { color: var(--ink); }
.think div i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; }
.think div.done i { background: var(--mint); border-color: var(--mint); color: #fff; }
.think div.doing i { border-color: var(--drip); border-top-color: transparent; animation: spin .8s linear infinite; }
.think div i svg { width: 12px; height: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.edit-line { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.edit-line > span { font-size: 13px; color: var(--ink-3); padding-top: 9px; }

/* Overlays */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(23, 21, 43, .38); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .15s ease-out; }
.modal { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); animation: pop .18s ease-out; }
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 0; }
.modal-head h3 { font-size: 18px; }
.modal-head p { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.modal-body { padding: 16px 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; flex-wrap: wrap; }
.drawer-wrap { position: fixed; inset: 0; z-index: 55; background: rgba(23, 21, 43, .28); animation: fade .15s ease-out; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(480px, 100vw); background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .2s ease-out; z-index: 56; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 18px 20px; }
.drawer-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }

/* Assistant */
.asst-fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; height: 48px; padding: 0 18px 0 14px; border-radius: 24px; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 600; box-shadow: 0 10px 28px rgba(23, 21, 43, .28); transition: transform .15s; }
.asst-fab:hover { transform: translateY(-2px); }
.asst-fab.compact { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
.asst-fab.compact span.t { display: none; }
.rv-actions { padding-right: 84px; }
.asst-fab .logo-mark { width: 28px; height: 28px; border-radius: 9px; box-shadow: none; }
.asst-fab .logo-mark svg { width: 15px; height: 15px; }
.chat { flex: 1; overflow: auto; padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 12px; background: var(--surface-2); }
.msg { max-width: 88%; font-size: 13.5px; line-height: 1.7; }
.msg.me { align-self: flex-end; background: var(--drip); color: #fff; padding: 9px 13px; border-radius: 14px 14px 4px 14px; }
.msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); padding: 11px 14px; border-radius: 4px 14px 14px 14px; color: var(--ink-2); }
.msg.bot b { color: var(--ink); }
.msg .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-input .input { border-radius: 12px; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 12px; background: var(--surface); }
.quick button { font-size: 12px; padding: 5px 10px; border-radius: 14px; background: var(--drip-mist); color: var(--drip-ink); font-weight: 600; border: 1px solid #ebe7ff; }

/* Toast */
.toasts { position: fixed; top: 62px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 13.5px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; animation: pop .2s ease-out; }
.toast svg { width: 16px; height: 16px; color: #7ee2c1; }

/* Prototype console (outside product UI) */
.proto { position: fixed; left: 50%; top: 10px; transform: translateX(-50%); width: max-content; white-space: nowrap; z-index: 45; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(23, 21, 43, .9); color: #fff; box-shadow: 0 10px 30px rgba(23, 21, 43, .3); font-size: 12px; }
.proto .lab { padding: 0 8px 0 10px; color: rgba(255, 255, 255, .55); font-weight: 600; letter-spacing: .04em; }
.proto button { height: 30px; padding: 0 11px; border-radius: 9px; color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.proto button svg { width: 14px; height: 14px; }
.proto button:hover { background: rgba(255, 255, 255, .12); }
.proto button.hl { background: var(--drip); }
.proto button.hl:hover { background: #6d5ff7; }
.proto .x { width: 30px; padding: 0; justify-content: center; color: rgba(255, 255, 255, .6); }
.proto-mini { position: fixed; left: 50%; transform: translateX(-50%); top: 10px; z-index: 45; width: 36px; height: 36px; border-radius: 12px; background: rgba(23, 21, 43, .85); color: #fff; display: grid; place-items: center; }
.proto-mini svg { width: 16px; height: 16px; }

.menu { position: absolute; bottom: 52px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 30; }
.menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13px; text-align: left; }
.menu button:hover { background: var(--paper); }
.menu button svg { width: 15px; height: 15px; color: var(--ink-3); }

.skeleton { background: linear-gradient(90deg, var(--line-2) 25%, #f7f6fb 37%, var(--line-2) 63%); background-size: 400% 100%; animation: sk 1.2s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.gen-card { padding: 18px; display: flex; align-items: center; gap: 14px; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--drip-soft); border-top-color: var(--drip); animation: spin .8s linear infinite; flex: none; }

.media-layout { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
.media-filter { position: sticky; top: 76px; }

/* 平台点:6 个平台的推荐状态 */
.pdots { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.pd { position: relative; width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--line-2); color: var(--ink-4); flex: none; }
.pd.on { background: var(--c); color: #fff; }
.pd.cv { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--mint); }
.pd.cv sup { background: var(--mint); }
.pd sup { position: absolute; right: -4px; top: -5px; min-width: 14px; height: 14px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 9px; line-height: 14px; text-align: center; padding: 0 3px; }
.pdots.sm .pd { width: 22px; height: 22px; font-size: 11px; border-radius: 7px; }
.qrow { display: flex; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line-2); color: inherit; transition: background .12s; }
.qrow:last-child { border-bottom: 0; }
.qrow:hover { background: var(--drip-mist); }
.qmain { flex: 1; min-width: 0; }
.qside { display: flex; align-items: center; gap: 12px; flex: none; }
.plat-tile { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); width: 100%; transition: border-color .15s; }
.plat-tile.on { background: var(--mint-soft); border-color: #bfe8d9; }
.plat-tile:not([disabled]):hover { border-color: var(--drip); }
.plat-tile[disabled] { cursor: default; }
/* 文章进度:写好 → 出稿 → 收录 → AI 引用 */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.st4 { position: relative; display: flex; flex-direction: column; gap: 2px; padding-left: 22px; font-size: 12px; min-width: 0; }
.st4 i { position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: #fff; background: var(--surface); }
.st4.ok i { background: var(--mint); border-color: var(--mint); }
.st4.no i { background: var(--rose); border-color: var(--rose); }
.st4 b { font-size: 12px; color: var(--ink-2); }
.st4 span { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Mobile top nav */
.mnav { display: none; }

@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-main { grid-template-columns: minmax(0, 1fr); }
  .review { grid-template-columns: 1fr; }
  .rv-list { position: static; max-height: 320px; }
  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .onb { grid-template-columns: 1fr; }
  .onb-art { display: none; }
}
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .mnav { display: flex; gap: 4px; overflow-x: auto; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 25; }
  .mnav a { flex: none; padding: 6px 12px; border-radius: 9px; color: var(--ink-2); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
  .mnav a.on { background: var(--drip-soft); color: var(--drip-ink); }
  .topbar { position: static; padding: 0 16px; height: 52px; }
  .page { padding: 4px 16px 96px; }
  .g2, .g3, .goal-cards, .site-cards, .site-hero, .site-form { grid-template-columns: minmax(0, 1fr); }
  .media-layout { grid-template-columns: minmax(0, 1fr); }
  .qrow { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .media-filter { position: static; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .flow[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .flow .step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .onb-main { padding: 28px 20px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proto .lab { display: none; }
  .proto { top: auto; bottom: 12px; }
  .proto-mini { top: auto; bottom: 12px; left: 16px; transform: none; }
  .asst-fab { bottom: 64px; right: 16px; width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .asst-fab span.t { display: none; }
  .rv-actions { padding: 12px 14px; bottom: 56px; }
  .rv-actions .btn { height: 34px; padding: 0 12px; font-size: 13px; }
  .hide-sm { display: none !important; }
  .amount-opts { grid-template-columns: repeat(2, 1fr); }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 8px; }
  .fn-row { grid-template-columns: 64px minmax(0, 1fr) 44px; }
  .fn-row .fn-r { grid-column: 2 / 4; margin-top: -4px; }
  .edit-line { grid-template-columns: 1fr; gap: 4px; }
  .edit-line > span { padding-top: 0; }
}
@media (max-width: 560px) {
  .g4 { grid-template-columns: 1fr 1fr; }
  .note-phone { width: 100%; }
  .stat .val { font-size: 22px; }
  .hello h1 { font-size: 22px; }
}

/* ================= v6：AI 建站接客户 ================= */
.src-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); white-space: nowrap; }
.src-chip i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.kpi { padding: 18px 22px; }
.kpi + .kpi { border-left: 1px solid var(--line-2); }
.kpi .lbl { font-size: 13px; color: var(--ink-3); }
.kpi b { display: block; font-family: var(--num); font-size: 34px; line-height: 1.15; margin-top: 4px; font-weight: 700; }
.kpi b small { font-size: 14px; color: var(--ink-3); font-weight: 600; margin-left: 3px; }
.kpi .d { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.kpi .d.up { color: var(--mint); }
.kpi.hot b { color: var(--drip-ink); }
.lead-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.lead-row:last-child { border-bottom: 0; }
.lead-row:hover .lead-name { color: var(--drip-ink); }
.lead-av { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; }
.lead-name { font-weight: 700; font-size: 14.5px; }
.lead-need { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.lead-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lead-side .ph { font-family: var(--num); font-weight: 600; font-size: 14px; }
.ask-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.ask-row:last-child { border-bottom: 0; }
.ask-row .q { font-size: 13.5px; }
.ask-row .bar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.ask-row .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8c80ff, var(--drip)); }
.ask-row .n { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.upsell { border-radius: var(--radius); padding: 20px; color: #fff; background: radial-gradient(90% 80% at 0% 0%, #7d70ff 0%, transparent 60%), radial-gradient(80% 70% at 100% 100%, #2fb58e 0%, transparent 60%), #3a2fc0; }
.upsell h3 { font-size: 17px; line-height: 1.45; }
.upsell p { font-size: 13px; opacity: .85; margin-top: 8px; }
.upsell ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13px; }
.upsell li { display: flex; gap: 8px; align-items: flex-start; }
.upsell li svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #9ff0d3; }
.upsell .btn-white { background: #fff; color: var(--drip-ink); font-weight: 700; }
.month { border-radius: var(--radius); padding: 20px; background: linear-gradient(160deg, #f3fbf8, #fff 60%); border: 1px solid #cfeee2; }
.month .big { font-family: var(--num); font-size: 30px; font-weight: 700; color: var(--mint); line-height: 1.1; }
.wx-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.wx-note .ico { width: 34px; height: 34px; border-radius: 9px; background: #22a45a; color: #fff; display: grid; place-items: center; flex: none; }
.wx-note .ico svg { width: 18px; height: 18px; }
.wx-note .t { font-size: 12px; color: var(--ink-3); }
.wx-note b { font-size: 13.5px; }
.chan { display: flex; flex-direction: column; gap: 12px; }
.chan .top { display: flex; gap: 12px; align-items: flex-start; }
.chan .ci { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.chan .ci svg { width: 20px; height: 20px; }
.chan .nums { display: flex; gap: 18px; font-size: 12px; color: var(--ink-3); }
.chan .nums b { font-family: var(--num); font-size: 18px; color: var(--ink); display: block; }
.lock { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); }
.lock svg { width: 13px; height: 13px; }
.plan-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan-box { border: 1.5px solid var(--line); border-radius: 16px; padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.plan-box.hot { border-color: var(--drip); box-shadow: 0 10px 30px rgba(91, 76, 240, .12); }
.plan-box .price { font-family: var(--num); font-size: 34px; font-weight: 700; line-height: 1; }
.plan-box .price small { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.plan-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 13.5px; }
.plan-box li { display: flex; gap: 8px; }
.plan-box li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--mint); }
.plan-box li.off { color: var(--ink-4); }
.plan-box li.off svg { color: var(--ink-4); }
.stage { background: #eceaf3; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.stage-bar { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.frame { position: relative; width: 100%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.frame .fbar { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #f7f6fb; border-bottom: 1px solid var(--line); }
.frame .fbar .dots3 { display: flex; gap: 6px; }
.frame .fbar .dots3 i { width: 10px; height: 10px; border-radius: 50%; background: #e3e1ec; }
.frame .fbar .url { flex: 1; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; padding: 0 10px; min-width: 0; overflow: hidden; white-space: nowrap; }
.frame .fbar .url svg { width: 12px; height: 12px; color: var(--mint); }
.frame .scroll { height: 600px; overflow: auto; }
.frame.m { width: 390px; max-width: 100%; border-radius: 34px; border: 10px solid #1d1b2b; }
.frame.m .scroll { height: 680px; }
.frame.tall .scroll { height: calc(100vh - 210px); min-height: 520px; }
.frame.m.tall .scroll { height: calc(100vh - 230px); max-height: 760px; }
.seg { display: inline-flex; background: #fff; border-radius: 10px; padding: 3px; gap: 2px; box-shadow: var(--shadow); }
.seg button { height: 30px; padding: 0 12px; border-radius: 8px; font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.seg button svg { width: 15px; height: 15px; }
.seg button.on { background: var(--ink); color: #fff; }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.swatches button.on { box-shadow: 0 0 0 2px var(--ink); }
.ai-log { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow: auto; }
.ai-log .m { font-size: 13px; padding: 8px 11px; border-radius: 12px; max-width: 92%; }
.ai-log .m.me { align-self: flex-end; background: var(--drip); color: #fff; border-radius: 12px 12px 4px 12px; }
.ai-log .m.bot { align-self: flex-start; background: var(--line-2); color: var(--ink-2); border-radius: 12px 12px 12px 4px; }
.qr { display: block; border-radius: 6px; background: #fff; }
.poster { width: 280px; border-radius: 20px; overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); margin: 0 auto; }
.poster .pt { padding: 26px 22px 20px; }
.poster .pt small { font-size: 12px; opacity: .8; }
.poster .pt h3 { font-size: 22px; line-height: 1.35; margin-top: 8px; }
.poster .pt ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; }
.poster .pb { background: #fff; color: var(--ink); padding: 16px 20px; display: flex; gap: 14px; align-items: center; }
.poster .pb b { font-size: 14px; display: block; }
.share-link { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--paper); font-family: var(--mono); font-size: 13px; min-width: 0; }
.share-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art-doc h2 { font-size: 20px; line-height: 1.45; }
.art-doc h4 { font-size: 15px; margin-top: 16px; }
.art-doc p { font-size: 14px; color: var(--ink-2); margin-top: 8px; line-height: 1.8; }
.media-opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; text-align: left; width: 100%; }
.media-opt.on { border-color: var(--drip); background: var(--drip-mist); }
.media-opt .mi { width: 34px; height: 34px; border-radius: 10px; color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.visit-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 18px; background: var(--ink); color: #fff; font-size: 13px; }
.visit-bar .select { height: 30px; width: auto; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; padding: 0 8px; }
.visit-bar .select option { color: var(--ink); }
.visit-bar .btn { height: 30px; background: rgba(255, 255, 255, .12); color: #fff; }
.onb-wide { min-height: 100vh; display: grid; grid-template-columns: 360px minmax(0, 1fr); background: #eceaf3; }
.onb-side { background: var(--surface); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--line); max-height: 100vh; overflow: auto; position: sticky; top: 0; }
.onb-main2 { padding: 22px 28px; display: flex; flex-direction: column; gap: 14px; align-items: center; min-width: 0; }
.onb-flow { display: flex; gap: 6px; font-size: 12px; color: var(--ink-3); align-items: center; flex-wrap: wrap; }
.onb-flow b { color: var(--drip-ink); }
.onb-center { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--paper); }
.onb-card { width: 100%; max-width: 620px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 34px; }
.tip { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--amber-soft); color: #7a4a12; font-size: 13px; }
.tip svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.feed .list-item { align-items: flex-start; }
.feed .fi { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.feed .fi svg { width: 14px; height: 14px; }

/* ---------- 客户的网站（建站产物，按主题色渲染） ---------- */
.ws { --sp: #2f7d66; --ss: #eaf4ef; --si: #17322b; --sa: #e9c46a; background: #fff; color: var(--si); font-size: 14px; line-height: 1.7; position: relative; }
.ws button { cursor: pointer; }
.ws-offer { background: var(--sa); color: var(--si); text-align: center; font-size: 13px; font-weight: 700; padding: 7px 12px; }
.ws-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 32px; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.ws-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16px; white-space: nowrap; }
.ws-brand i { width: 30px; height: 30px; border-radius: 9px; background: var(--sp); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; }
.ws-nav nav { display: flex; gap: 22px; font-size: 13.5px; color: var(--si); opacity: .8; }
.ws-btn { height: 42px; padding: 0 20px; border-radius: 11px; background: var(--sp); color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ws-btn svg { width: 16px; height: 16px; }
.ws-btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.ws-btn.line { background: transparent; color: var(--si); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .14); }
.ws-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding: 48px 32px 52px; background: linear-gradient(160deg, var(--ss), #fff 75%); }
.ws-kicker { font-size: 12px; font-weight: 700; color: var(--sp); letter-spacing: .04em; }
.ws-hero h2 { font-size: 32px; line-height: 1.32; margin-top: 8px; letter-spacing: .01em; }
.ws-hero p { margin-top: 12px; opacity: .78; font-size: 15px; }
.ws-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.ws-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ws-tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.ws-art { aspect-ratio: 5 / 4; border-radius: 20px; position: relative; overflow: hidden; background: var(--sp); }
.ws-art .b1 { position: absolute; inset: 14% 10% 34% 12%; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.ws-art .b2 { position: absolute; left: 12%; right: 46%; bottom: 12%; height: 16%; border-radius: 12px; background: rgba(255, 255, 255, .22); }
.ws-art .b3 { position: absolute; right: 10%; width: 30%; bottom: 12%; height: 30%; border-radius: 12px; background: var(--sa); opacity: .9; }
.ws-art .ws-badge { position: absolute; left: 7%; top: 8%; background: #fff; color: var(--si); border-radius: 12px; padding: 9px 12px; font-size: 12.5px; font-weight: 700; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); display: flex; align-items: center; gap: 7px; }
.ws-art .ws-badge svg { width: 15px; height: 15px; color: var(--sp); }
.ws-sec { padding: 40px 32px; }
.ws-sec.alt { background: #fafaf8; }
.ws-sec h3 { font-size: 22px; margin-bottom: 18px; }
.ws-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ws-cards div { padding: 18px; border-radius: 14px; background: var(--ss); }
.ws-cards b { display: block; font-size: 15px; margin-bottom: 4px; }
.ws-cards span { font-size: 13px; opacity: .75; }
.ws-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: st; }
.ws-steps div { padding: 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); font-weight: 700; }
.ws-steps div::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sp); color: #fff; font-size: 13px; margin-bottom: 8px; }
.ws-faq details { border-bottom: 1px solid rgba(0, 0, 0, .07); padding: 12px 0; }
.ws-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.ws-faq summary::after { content: '+'; color: var(--sp); font-weight: 800; }
.ws-faq details[open] summary::after { content: '–'; }
.ws-faq p { font-size: 13.5px; opacity: .78; margin-top: 6px; }
.ws-arts a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(0, 0, 0, .07); color: var(--si); font-size: 14px; }
.ws-arts a span { opacity: .5; font-size: 12px; white-space: nowrap; }
.ws-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; padding: 40px 32px; background: var(--si); color: #fff; }
.ws-contact h3 { font-size: 22px; line-height: 1.4; }
.ws-contact p { opacity: .75; margin-top: 10px; }
.ws-form { display: grid; gap: 10px; }
.ws-form input, .ws-form textarea { width: 100%; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; padding: 0 12px; font: inherit; }
.ws-form textarea { height: 70px; padding: 10px 12px; resize: none; }
.ws-form input::placeholder, .ws-form textarea::placeholder { color: rgba(255, 255, 255, .5); }
.ws-form .ws-btn { background: var(--sa); color: var(--si); justify-content: center; }
.ws-form .ok { padding: 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); text-align: center; }
.ws-foot { padding: 18px 32px 90px; font-size: 12px; opacity: .55; text-align: center; }
.ws.m .ws-nav { padding: 12px 16px; }
.ws.m .ws-nav nav { display: none; }
.ws.m .ws-hero, .ws.m .ws-contact { grid-template-columns: 1fr; padding: 28px 18px; }
.ws.m .ws-hero h2 { font-size: 25px; }
.ws.m .ws-sec { padding: 28px 18px; }
.ws.m .ws-cards { grid-template-columns: 1fr; }
.ws.m .ws-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws.m .ws-art { display: none; }
/* AI 客服挂件 */
.wc { position: absolute; right: 18px; bottom: 18px; z-index: 20; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 13.5px; }
.wc.fixed { position: fixed; }
.wc-fab { width: 56px; height: 56px; border-radius: 18px; background: var(--sp); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); position: relative; }
.wc-fab svg { width: 26px; height: 26px; }
.wc-fab .dot { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: #ef4444; color: #fff; font-size: 11px; display: grid; place-items: center; border: 2px solid #fff; }
.wc-hello { max-width: 240px; background: #fff; color: var(--si); border-radius: 14px 14px 4px 14px; padding: 10px 13px; box-shadow: 0 10px 26px rgba(0, 0, 0, .16); }
.wc-panel { width: 340px; max-width: calc(100vw - 36px); height: 470px; max-height: calc(100% - 30px); background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); display: flex; flex-direction: column; overflow: hidden; color: var(--ink); }
.wc-panel.inline { position: static; width: 100%; max-width: none; height: 520px; max-height: none; box-shadow: none; border: 1px solid var(--line); animation: none; }
.wc-head { background: var(--sp); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.wc-head .av { width: 34px; height: 34px; border-radius: 11px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-weight: 800; }
.wc-head b { display: block; font-size: 14px; }
.wc-head span { font-size: 11.5px; opacity: .8; }
.wc-head button { margin-left: auto; color: #fff; opacity: .8; }
.wc-head button svg { width: 18px; height: 18px; }
.wc-msgs { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f7f7fa; }
.wc-m { max-width: 84%; padding: 9px 12px; border-radius: 14px; line-height: 1.6; font-size: 13.5px; }
.wc-m.bot { align-self: flex-start; background: #fff; border-radius: 4px 14px 14px 14px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.wc-m.me { align-self: flex-end; background: var(--sp); color: #fff; border-radius: 14px 4px 14px 14px; }
.wc-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.wc-quick button { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid rgba(0, 0, 0, .1); color: var(--ink-2); }
.wc-lead { align-self: stretch; background: #fff; border-radius: 14px; padding: 12px; box-shadow: inset 0 0 0 1.5px var(--sp); display: grid; gap: 8px; }
.wc-lead b { font-size: 13.5px; }
.wc-lead input { height: 36px; border-radius: 9px; border: 1px solid var(--line); padding: 0 10px; font: inherit; width: 100%; }
.wc-lead .ws-btn { height: 36px; justify-content: center; }
.wc-lead .err { color: var(--rose); font-size: 12px; }
.wc-in { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line-2); background: #fff; }
.wc-in input { flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; font: inherit; min-width: 0; }
.wc-in button { width: 38px; height: 38px; border-radius: 10px; background: var(--sp); color: #fff; display: grid; place-items: center; }
.wc-in button svg { width: 16px; height: 16px; }
.wp { position: absolute; inset: 0; z-index: 25; background: rgba(15, 15, 25, .45); display: grid; place-items: center; padding: 20px; }
.wp.fixed { position: fixed; }
.wp-card { width: 100%; max-width: 360px; background: #fff; border-radius: 18px; padding: 24px; text-align: center; color: var(--si); position: relative; animation: pop .22s ease-out; }
.wp-card h4 { font-size: 18px; line-height: 1.45; }
.wp-card p { font-size: 13px; opacity: .7; margin-top: 6px; }
.wp-card input { margin-top: 14px; width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; font: inherit; }
.wp-card .ws-btn { width: 100%; justify-content: center; margin-top: 10px; }
.wp-card .x { position: absolute; right: 12px; top: 12px; color: var(--ink-3); }
.wp-card .x svg { width: 18px; height: 18px; }
@media (max-width: 1100px) {
  #site-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .onb-wide { grid-template-columns: 1fr; }
  .onb-side { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .kpis { grid-template-columns: 1fr; }
  .kpi + .kpi { border-left: 0; border-top: 1px solid var(--line-2); }
  .plan-cmp { grid-template-columns: 1fr; }
  .ask-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ask-row .bar { display: none; }
  .lead-row { grid-template-columns: 36px minmax(0, 1fr); }
  .lead-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .stage { padding: 12px; }
  .frame .scroll { height: 520px; }
  .onb-main2 { padding: 14px; }
  .onb-card { padding: 22px; }
}

/* 拉新客：四路来源 + 社媒 */
.grow-card { color: inherit; border: 1.5px solid transparent; transition: border-color .15s; }
.grow-card:hover { border-color: var(--line); }
.grow-card.on { border-color: var(--drip); box-shadow: 0 8px 24px rgba(91, 76, 240, .1); }
.soc-ic { width: 38px; height: 38px; border-radius: 11px; color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; font-size: 15px; }
.soc-ic.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.soc-acct .nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; font-size: 12px; color: var(--ink-3); }
.soc-acct .nums b { font-family: var(--num); font-size: 18px; color: var(--ink); display: block; }
.xhs-card { width: 300px; max-width: 100%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); text-align: left; }
.xhs-card .cover { aspect-ratio: 3 / 4; max-height: 300px; width: 100%; display: grid; place-items: center; padding: 26px; color: #fff; font-size: 21px; font-weight: 800; line-height: 1.4; text-align: center; }
.xhs-card .pad { padding: 14px 16px 16px; }
.xhs-card .pad b { font-size: 15px; display: block; margin-bottom: 6px; }
.xhs-card .pad p { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; }
.xhs-card .who { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.xhs-card .who .av { width: 22px; height: 22px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.ch-card { width: 320px; max-width: 100%; text-align: left; }
.ch-card .v { aspect-ratio: 9 / 13; border-radius: 16px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; font-size: 19px; font-weight: 800; line-height: 1.4; box-shadow: var(--shadow-lg); }
.ch-card .v svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.ch-card .pad { padding: 12px 2px 0; }
.ch-card .pad p { font-size: 13px; color: var(--ink-2); margin-top: 5px; }
@media (max-width: 860px) { .soc-acct .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================= v8：参考「可交互原型 v2」的视觉（白底、蓝色强调、大标题、深色主按钮） ================= */
:root {
  --ink: #101426; --ink-2: #4b5466; --ink-3: #8490a3; --ink-4: #b7c0cf;
  --paper: #ffffff; --surface: #ffffff; --surface-2: #f7f9fc; --line: #e8ecf2; --line-2: #f1f3f7;
  --drip: #245bff; --drip-ink: #1a47d6; --drip-soft: #e6eeff; --drip-mist: #eff5ff;
  --dark: #111422; --radius: 14px;
  --shadow: none; --shadow-lg: 0 18px 50px rgba(16, 20, 38, .14);
}
body { font-size: 15px; background: #fff; }
.card { border: 1px solid var(--line); box-shadow: none; }
.btn { border-radius: 10px; }
.btn-primary { background: var(--dark); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { border: 1px solid #dce1e9; background: #fff; }
.btn-lg { height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; }
.btn-blue { background: var(--drip); color: #fff; }
.btn-blue:hover { background: var(--drip-ink); }
.tag.drip { background: var(--drip-mist); color: var(--drip); }
.tabs { background: none; padding: 0; gap: 6px; }
.tabs button { border-radius: 8px; }
.tabs button.on { background: var(--drip-mist); color: var(--drip); box-shadow: none; }
.page-head h1 { font-size: 34px; font-weight: 650; letter-spacing: -.5px; }
.page-head p { font-size: 16px; margin-top: 10px; color: #6c7586; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--drip); font-size: 13px; background: var(--drip-mist); border-radius: 24px; padding: 6px 13px; }
.eyebrow svg { width: 15px; height: 15px; }
.big-h { font-size: 38px; line-height: 1.35; font-weight: 650; letter-spacing: -1px; }
.lead2 { color: #6c7586; font-size: 17px; margin-top: 12px; }
.banner { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 14px; background: var(--drip-mist); flex-wrap: wrap; }
.banner > svg { width: 20px; height: 20px; color: var(--drip); flex: none; }
.banner b { font-size: 15px; }
.banner .sep { width: 1px; height: 22px; background: #cfdbf5; }
.banner .txt { color: var(--ink-2); flex: 1; min-width: 200px; }
.kpi4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpi4 > div { padding: 4px 26px 4px 0; }
.kpi4 > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.kpi4 .l { font-size: 13.5px; color: var(--ink-3); }
.kpi4 .v { font-family: var(--num); font-size: 40px; font-weight: 600; line-height: 1.25; margin-top: 12px; }
.kpi4 .v small { font-size: 14px; color: var(--ink-3); margin-left: 4px; font-weight: 500; }
.kpi4 .s { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.sec-h { font-size: 20px; font-weight: 650; }
.side-card { background: var(--surface-2); border-radius: 16px; padding: 24px; }
/* 侧栏 */
.side { background: #fff; border-right: 1px solid var(--line); }
.side .new-round { margin: 4px 0 18px; width: 100%; height: 46px; border-radius: 10px; background: var(--dark); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; }
.side .new-round svg { width: 16px; height: 16px; }
.nav a { border-radius: 10px; }
.nav a.on { background: var(--drip-mist); color: var(--drip); }
.nav a.on svg { color: var(--drip); }
.nav .badge { background: var(--drip-mist); color: var(--drip); }
.site-chip { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: inherit; }
.site-chip .t { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.site-chip .t svg { width: 13px; height: 13px; }
.site-chip b { display: block; color: var(--drip); font-size: 13.5px; margin-top: 6px; font-weight: 600; }
.site-chip span.u { font-size: 11.5px; color: var(--ink-3); word-break: break-all; }
/* 引导（选目标 → 选业务 → 看网站 → 选渠道 → 开始获客） */
.wz { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.wz-head { display: flex; align-items: center; gap: 20px; height: 84px; padding: 0 4.1%; border-bottom: 1px solid #f3f5f9; flex-wrap: wrap; }
.wz-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 22px; letter-spacing: -.5px; }
.wz-brand .logo-mark { width: 32px; height: 32px; }
.wz-brand small { font-size: 12px; font-weight: 600; letter-spacing: 1px; padding: 0 7px; line-height: 22px; border: 1px solid #9ab4ff; border-radius: 6px; background: #f4f7ff; color: var(--ink); }
.wz-steps { display: flex; margin-left: auto; align-self: stretch; gap: 22px; }
.wz-steps span.st { position: relative; display: flex; gap: 8px; align-items: center; font-size: 14px; color: #8e98a8; white-space: nowrap; }
.wz-steps span.st i { width: 23px; height: 23px; border: 1px solid #b7c0cf; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.wz-steps span.st i svg { width: 13px; height: 13px; }
.wz-steps span.st.on { color: var(--ink); font-weight: 600; }
.wz-steps span.st.on i { background: var(--drip); border-color: var(--drip); color: #fff; }
.wz-steps span.st.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--drip); }
.wz-steps span.st.done { color: var(--ink); }
.wz-steps span.st.done i { border-color: var(--drip); color: var(--drip); }
.wz-head .links { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #586174; }
.wz-body { width: 85.5%; max-width: 1260px; margin: 0 auto; padding: 44px 0 120px; flex: 1; }
.wz-foot { position: sticky; bottom: 0; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); z-index: 20; }
.wz-foot .in { width: 85.5%; max-width: 1260px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 16px 0; }
.wz-foot .hint { margin-left: auto; color: var(--ink-3); font-size: 13.5px; }
.goal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 48px 0 36px; }
.goal2 { text-align: left; min-height: 230px; padding: 30px 26px; display: flex; flex-direction: column; align-items: flex-start; border-radius: 16px; position: relative; }
.goal2 + .goal2::before { content: ''; position: absolute; left: -12px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.goal2 > svg { width: 30px; height: 30px; color: #6b7484; margin-bottom: 22px; }
.goal2 h2 { font-size: 23px; font-weight: 620; }
.goal2 p { color: #757e8d; margin: 10px 0 22px; }
.goal2 .rd { margin-top: auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b7c0cf; display: grid; place-items: center; }
.goal2 .rd svg { width: 12px; height: 12px; color: #fff; }
.goal2:hover { background: #f6f8fc; }
.goal2.on { background: var(--drip-mist); }
.goal2.on > svg { color: var(--drip); }
.goal2.on .rd { background: var(--drip); border-color: var(--drip); }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.cols3 > div { padding-right: 34px; }
.cols3 > div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.col-h { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 620; margin-bottom: 18px; }
.col-h .n { width: 28px; height: 28px; border-radius: 50%; background: var(--drip-mist); color: var(--drip); display: grid; place-items: center; font-size: 14px; }
.col-h small { font-size: 12px; color: var(--ink-3); font-weight: 400; }
.opt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { height: 42px; border: 1px solid #dce1e9; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14.5px; }
.opt svg { width: 14px; height: 14px; }
.opt.on { background: var(--drip-mist); border-color: transparent; color: var(--ink); font-weight: 600; }
.opt.on svg { color: var(--drip); }
.radio-list { display: grid; gap: 6px; }
.radio-list button { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 9px; text-align: left; font-size: 15px; }
.radio-list button i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b7c0cf; display: grid; place-items: center; flex: none; }
.radio-list button i svg { width: 12px; height: 12px; color: #fff; }
.radio-list button.on { background: var(--drip-mist); font-weight: 600; }
.radio-list button.on i { background: var(--drip); border-color: var(--drip); }
.up-zone { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding-top: 26px; margin-top: 30px; border-top: 1px solid var(--line); }
.up-zone .files { display: flex; gap: 8px; flex-wrap: wrap; }
.up-zone .files span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid #dce1e9; border-radius: 999px; font-size: 14px; background: #fff; }
.pill-btn svg { width: 16px; height: 16px; }
.ch-col { display: flex; flex-direction: column; }
.ch-col .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ch-col .head b { font-size: 20px; font-weight: 620; }
.ch-col .head small { color: var(--ink-3); font-size: 12px; margin-left: 8px; font-weight: 400; }
.ch-col .sub { color: var(--ink-3); font-size: 13.5px; margin: 6px 0 16px; }
.ch-item { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; font-size: 16px; margin-bottom: 8px; text-align: left; width: 100%; }
.ch-item i { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #b7c0cf; display: grid; place-items: center; flex: none; }
.ch-item i svg { width: 12px; height: 12px; color: #fff; }
.ch-item.on { background: var(--drip-mist); }
.ch-item.on i { background: var(--drip); border-color: var(--drip); }
.ch-item.fixed { cursor: default; }
.ch-item .r { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.ch-col .note { font-size: 12.5px; color: var(--ink-3); margin-top: auto; padding-top: 10px; }
.sum-box { background: var(--surface-2); border-radius: 16px; padding: 26px; position: sticky; top: 20px; }
.sum-box .big { font-family: var(--num); font-size: 34px; font-weight: 600; line-height: 1.2; }
.sum-box .big small { font-size: 14px; color: var(--ink-3); margin-left: 4px; }
.sum-box .ln { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.do-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.do-row > svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.do-row small { display: block; font-size: 12px; color: var(--ink-3); }
.cnt3 { display: flex; gap: 40px; margin: 18px 0 8px; flex-wrap: wrap; }
.cnt3 b { font-family: var(--num); font-size: 32px; font-weight: 600; }
.cnt3 span { font-size: 13px; color: var(--ink-3); margin-left: 6px; }
.exec { max-width: 560px; margin: 30px 0; display: grid; gap: 14px; }
.exec div { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ink-3); }
.exec div i { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex: none; }
.exec div.done { color: var(--ink); }
.exec div.done i { background: var(--drip); border-color: var(--drip); color: #fff; }
.exec div.done i svg { width: 13px; height: 13px; }
.exec div.doing { color: var(--ink); }
.exec div.doing i { border-color: var(--drip); border-top-color: transparent; animation: spin .8s linear infinite; }
.exec div .st { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.word-row { display: flex; align-items: center; gap: 12px; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.word-row .t { flex: 1; }
.word-row.off .t { color: var(--ink-4); text-decoration: line-through; }
.utab { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.utab a, .utab button { padding: 12px 0; color: var(--ink-3); font-size: 15px; position: relative; display: inline-flex; align-items: center; gap: 6px; }
.utab .on { color: var(--drip); font-weight: 600; }
.utab .on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--drip); }
.utab .c { font-size: 11px; background: var(--line-2); color: var(--ink-3); border-radius: 5px; padding: 0 6px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; font-size: 13px; color: var(--ink-3); background: var(--surface-2); padding: 14px 12px; }
.tbl td { padding: 16px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #fafbfe; }
.tbl .select { height: 36px; width: 110px; padding: 0 10px; }
.round-list .rr { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.round-list .rr b.no { font-size: 14px; }
@media (max-width: 1100px) {
  .wz-steps { order: 3; width: 100%; overflow-x: auto; padding-bottom: 6px; align-self: auto; }
  .wz-steps span.st.on::after { bottom: -4px; }
  .wz-head { height: auto; padding: 14px 16px; }
}
@media (max-width: 860px) {
  .goal-grid, .cols3 { grid-template-columns: 1fr; }
  .goal2 + .goal2::before { display: none; }
  .cols3 > div { padding: 0 0 24px; }
  .cols3 > div + div { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .kpi4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .kpi4 > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .kpi4 .v { font-size: 30px; }
  .big-h { font-size: 28px; }
  .wz-body, .wz-foot .in { width: auto; margin: 0 16px; }
  .wz-foot .hint { display: none; }
  .wz-foot .in .btn-lg { margin-left: auto; }
}
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.page { padding-top: 32px; }
@media (max-width: 860px) {
  .wz-foot .in { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .wz-foot .btn-lg { height: 46px; padding: 0 18px; font-size: 15px; }
  .wz-foot .in .btn-primary { margin-left: auto; }
  .wz-foot .in .btn-text { order: 3; width: 100%; justify-content: center; }
  .wz-steps { gap: 16px; }
}
.cols3.biz { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr) minmax(0, .85fr); }
.radio-list.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
.radio-list.two button { padding: 9px 10px; font-size: 14.5px; }
.opt-grid .opt { height: 40px; font-size: 14px; }
@media (max-width: 860px) { .cols3.biz { grid-template-columns: 1fr; } }
/* 引导页里的网站预览：高度跟着屏幕走，避免客服按钮被底部操作栏挡住 */
.wz .frame .scroll { height: min(520px, calc(100vh - 480px)); min-height: 300px; }
.wz .frame.m .scroll { height: min(600px, calc(100vh - 460px)); min-height: 320px; }
/* AI 写作中的小转圈 */
.tag .spin { width: 10px; height: 10px; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; margin-right: 4px; vertical-align: -1px; }
@media (prefers-reduced-motion: reduce) { .tag .spin { animation: none; } }
.sms-btn { white-space: nowrap; min-width: 112px; }
.mt4 { margin-top: 4px; }
.ws-art.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pay-qr { width: 216px; height: 216px; margin: 4px auto 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pay-qr img, .pay-qr iframe { width: 200px; height: 200px; border: 0; display: block; }
.dns-box { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg-soft, #fafafb); }
.dns-box table.dns { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; }
.dns-box .dns th, .dns-box .dns td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.dns-box .dns td.mono, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.mp-api { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.mp-api summary { cursor: pointer; font-size: 13.5px; }
.wc-dots { display: inline-flex; gap: 4px; align-items: center; }
.wc-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; animation: wcdot 1s infinite; }
.wc-dots i:nth-child(2) { animation-delay: .15s; } .wc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes wcdot { 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .wc-dots i { animation: none; } }
.xhs-card .cover.photo { background-size: cover; background-position: center; position: relative; }
.xhs-card .cover.photo span { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,0)); color: #1d1d1f; text-shadow: none; }
.xhs-card .cover .cover-state { position: absolute; left: 10px; bottom: 10px; font-style: normal; font-size: 12px; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; padding: 4px 10px; display: inline-flex; gap: 6px; align-items: center; }
.ws-consent { margin: 8px 0 0 !important; font-size: 11.5px !important; line-height: 1.5; opacity: .6; text-align: center; } .ws-consent a { color: inherit; text-decoration: underline; } .ws-foot a { color: inherit; }
.ch-card video.v.film { width: 100%; aspect-ratio: 9 / 16; max-height: 420px; background: #000; display: block; object-fit: contain; }
.ch-card .v { position: relative; }
.ch-card .v .cover-state { position: absolute; left: 10px; bottom: 10px; font-style: normal; font-size: 12px; background: rgba(0,0,0,.55); color: #fff; border-radius: 999px; padding: 4px 10px; display: inline-flex; gap: 6px; align-items: center; }
.soc-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-soft, #f2f3f5); }
.soc-recent .w { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; }
.soc-recent .w span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .soc-recent .w em { font-style: normal; color: var(--ink-3, #8a8f98); white-space: nowrap; }
/* 客服对话 */
.chat-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 12px; align-items: start; }
.chat-list { max-height: 70vh; overflow: auto; padding: 6px; }
.chat-row { display: block; padding: 10px 12px; border-radius: 10px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.chat-row.on, .chat-row:hover { background: var(--drip-mist, #f1f4ff); }
.chat-row .ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.chat-conv { display: flex; flex-direction: column; min-height: 420px; }
.chat-log { flex: 1; max-height: 56vh; overflow: auto; padding: 4px 22px 12px; display: flex; flex-direction: column; gap: 10px; }
.chat-log .cm { max-width: 78%; } .chat-log .cm p { margin: 2px 0 0; padding: 9px 12px; border-radius: 12px; background: var(--bg-soft, #f4f5f7); font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.chat-log .cm .who { font-size: 11.5px; color: var(--ink-3, #8a8f98); }
.chat-log .cm.ai, .chat-log .cm.owner { align-self: flex-end; text-align: right; } .chat-log .cm.ai p { background: #eef2ff; text-align: left; } .chat-log .cm.owner p { background: var(--drip, #2f6cf6); color: #fff; text-align: left; }
.chat-in { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .chat-grid { grid-template-columns: 1fr; } .chat-list { max-height: 260px; } }
.kpi-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kpi-mini > div { background: var(--bg-soft, #f6f7f9); border-radius: 12px; padding: 10px 12px; } .kpi-mini b { display: block; font-size: 18px; } .kpi-mini span { font-size: 12px; color: var(--ink-3, #8a8f98); }
.review-ai { border: 1px solid var(--drip-soft, #dfe6ff); background: var(--drip-mist, #f4f7ff); border-radius: 12px; padding: 12px 14px; } .review-ai p { margin: 6px 0 8px; font-size: 14px; line-height: 1.7; } .review-ai ul { margin: 4px 0 8px 18px; padding: 0; }
@media (max-width: 560px) { .kpi-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ws-block p { margin-top: 8px; line-height: 1.8; opacity: .85; } .ws-gallery .g { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin-top: 12px; } .ws-gallery .g img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.pick-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.pick-imgs .pi { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; aspect-ratio: 1; }
.pick-imgs .pi img { width: 100%; height: 100%; object-fit: cover; display: block; } .pick-imgs .pi.on { border-color: var(--drip); box-shadow: 0 0 0 2px var(--drip-soft, #dfe6ff); }
.blk { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }

/* ---------- 我的网站（网站 v2）：预览 + 编辑 ---------- */
.pv-slot { width: 100%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.pv-slot .fbar { height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #f7f6fb; border-bottom: 1px solid var(--line); flex: none; }
.pv-slot .fbar .dots3 { display: flex; gap: 6px; } .pv-slot .fbar .dots3 i { width: 10px; height: 10px; border-radius: 50%; background: #e3e1ec; }
.pv-slot .fbar .url { flex: 1; min-width: 0; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.pv-slot .fbar .url svg { width: 12px; height: 12px; color: var(--mint); flex: none; }
.pv-in { height: 600px; background: #f4f4f7; }
.pv-slot.tall .pv-in { height: calc(100vh - 230px); min-height: 520px; }
.pv-slot.m { width: 390px; max-width: 100%; border-radius: 34px; border: 10px solid #1d1b2b; }
.pv-slot.m .pv-in { height: 720px; max-height: calc(100vh - 200px); }
.pv-host { position: absolute; z-index: 10; display: none; }
.pv-host iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.s2-grid { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
.s2-stage { min-width: 0; }
/* 左边设置栏在自己的区域里滚动，右边预览一直在屏幕上 */
.s2-grid > .stack:first-child { max-height: calc(100vh - 96px); overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; scrollbar-width: thin; }
.s2-pagetabs { max-width: 100%; overflow-x: auto; }
.s2-pages { display: grid; gap: 4px; }
.s2-page { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; border-radius: 10px; }
.s2-page.on { background: var(--drip-soft, #f0eeff); }
.s2-page .t { flex: 1; min-width: 0; text-align: left; font-size: 14px; display: flex; gap: 8px; align-items: baseline; padding: 6px 0; }
.s2-page .t .small { font-size: 11.5px; }
.s2-page .icon-btn { width: 28px; height: 28px; }
.s2-page .icon-btn[disabled] { opacity: .3; pointer-events: none; }
.switch.sm { transform: scale(.82); }
.s2-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; margin-top: 8px; background: #fbfbfd; }
.s2-thumb { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--ink-3); background: #f4f4f7; flex: none; }
.s2-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.s2-tpl { display: grid; gap: 6px; padding: 6px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 12.5px; color: var(--ink-2); text-align: center; background: #fff; }
.s2-tpl.on { border-color: var(--drip); color: var(--ink); font-weight: 600; }
.s2-tpl .sw { height: 34px; border-radius: 8px; display: flex; align-items: flex-end; gap: 4px; padding: 6px; border: 1px solid rgba(0, 0, 0, .06); }
.s2-tpl .sw i { flex: 1; height: 10px; border-radius: 4px; }
.s2-tpl .sw i:first-child { flex: 2; height: 16px; }
@media (max-width: 980px) { .s2-grid { grid-template-columns: 1fr; } .s2-grid > .stack:first-child { max-height: none; overflow: visible; } }
