:root {
  --ink: #1c2c3a;
  --muted: #71808d;
  --paper: #f3f6f8;
  --panel: #ffffff;
  --line: #dce4eb;
  --green: #1f4e73;
  --green-dark: #102f4a;
  --mint: #e6eef5;
  --orange: #d8834b;
  --orange-soft: #f7e9dc;
  --blue-soft: #e9eff4;
  --amber-soft: #fff3df;
  --red-soft: #fbeae5;
  --shadow: 0 18px 50px rgba(28, 58, 82, .08);
  --shadow-strong: 0 24px 70px rgba(20, 49, 72, .13);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 82% 0%, rgba(216,131,75,.07), transparent 26rem), var(--paper); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
button, textarea, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 270px minmax(0, 1fr); }

.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 26px 20px 20px; color: #eef4f9; background: #102f4a; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 7px 28px; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px 14px 14px 5px; color: white; background: var(--orange); font-family: "Noto Serif SC", serif; font-weight: 700; font-size: 23px; box-shadow: 0 7px 20px rgba(0,0,0,.14); }
.brand strong, .brand span, .sidebar-foot strong, .sidebar-foot span { display: block; }
.brand strong { letter-spacing: .04em; font-size: 17px; }
.brand span { margin-top: 5px; color: #aec1d1; font-size: 12px; }
.nav { display: grid; gap: 6px; }
.nav p { margin: 20px 12px 5px; color: #7f9db5; font-size: 12px; letter-spacing: .16em; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; height: 48px; padding: 0 12px; border: 0; border-radius: 12px; color: #c3d2de; background: transparent; cursor: pointer; text-align: left; transition: .2s ease; }
.nav-item i { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; font-style: normal; font-size: 12px; }
.nav-item b { margin-left: auto; padding: 3px 6px; border-radius: 6px; color: #d9ba9f; background: rgba(216,131,75,.14); font-size: 11px; font-weight: 500; }
.nav-item:hover, .nav-item.active { color: white; background: rgba(255,255,255,.09); }
.nav-item.active::before { content: ""; position: absolute; left: -20px; width: 3px; height: 24px; border-radius: 0 3px 3px 0; background: var(--orange); }
.nav-item.active i { border-color: transparent; background: var(--orange); color: white; }
.sidebar-foot { margin-top: auto; display: grid; grid-template-columns: 36px 1fr 8px; align-items: center; gap: 10px; padding: 16px 8px 2px; border-top: 1px solid rgba(255,255,255,.1); }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #dfe9f1; color: var(--green); font-size: 11px; font-weight: 700; }
.sidebar-foot strong { font-size: 12px; }
.sidebar-foot span { margin-top: 3px; color: #91a9bc; font-size: 11.5px; }
.sidebar-foot .online { width: 7px; height: 7px; border-radius: 50%; background: #70b7d9; }

.main { min-width: 0; padding: 28px 42px 48px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: 1250px; margin: 0 auto 28px; }
.topbar p { margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.topbar h1 { margin: 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 25px; line-height: 1.35; letter-spacing: .02em; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.data-state { color: #7d8883; font-size: 12px; }
.data-state i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #4f91bd; }
.data-state b { color: var(--green); }
.sales-only { padding: 8px 11px; border: 1px solid #d4e0e9; border-radius: 10px; color: var(--green); background: var(--mint); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; }
select { border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--panel); }
.top-actions select { height: 38px; padding: 0 30px 0 12px; }
.view { display: none; max-width: 1250px; margin: 0 auto; }
.view.active { display: block; animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } }

.hero-card { min-height: 400px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); box-shadow: var(--shadow-strong); }
.hero-copy { padding: 56px 55px; }
.soft-label { display: inline-block; margin-bottom: 18px; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.hero-copy h2 { margin: 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(30px, 3vw, 43px); line-height: 1.42; letter-spacing: .02em; }
.hero-copy p { max-width: 520px; margin: 20px 0 28px; color: #6e7873; font-size: 15px; line-height: 1.9; }
.primary-action { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 11px; color: white; background: var(--green); cursor: pointer; text-decoration: none; box-shadow: 0 8px 20px rgba(31,78,115,.2); transition: .2s ease; }
.primary-action:hover { transform: translateY(-1px); background: var(--green-dark); }
.home-start-action, .deal-run-action { background: linear-gradient(135deg, #e28d52, #cb7040); box-shadow: 0 10px 24px rgba(203,112,64,.28); }
.home-start-action:hover, .deal-run-action:hover { background: linear-gradient(135deg, #cf7541, #b85e33); }
.conversation-art { position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: center; gap: 15px; padding: 48px 48px 48px 35px; background: linear-gradient(145deg, #eaf0f5 0%, #dce7f0 100%); }
.conversation-art::after { content: "品才懂业务，也懂人"; position: absolute; right: 20px; bottom: 16px; color: rgba(31,78,115,.22); font-family: "Noto Serif SC", serif; font-size: 12px; letter-spacing: .2em; }
.bubble { max-width: 88%; padding: 15px 18px; border-radius: 16px; font-size: 13px; line-height: 1.7; box-shadow: 0 8px 20px rgba(28,58,82,.08); }
.bubble.customer { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--green); color: white; }
.bubble.assistant { align-self: flex-start; border-bottom-left-radius: 4px; background: #fffefa; }
.bubble.assistant b { display: block; margin-bottom: 5px; color: var(--green); }
.thinking { align-self: flex-start; color: #73837c; font-size: 11px; }
.thinking span { display: inline-block; width: 4px; height: 4px; margin-right: 3px; border-radius: 50%; background: var(--orange); }
.trust-note { align-self: flex-start; padding: 5px 10px; border-radius: 12px; color: #6d7f77; background: rgba(255,255,255,.55); font-size: 10px; }
.deal-panel { position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 45px; background: linear-gradient(145deg, #e8eff5 0%, #dae6ef 100%); }
.panel-label { margin-bottom: 8px; color: #668077; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.deal-step { display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid rgba(31,78,115,.08); border-radius: 13px; background: rgba(255,255,255,.52); opacity: .72; }
.deal-step b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: #667d8f; background: #eaf1f6; font-size: 9px; }
.deal-step strong, .deal-step small { display: block; }
.deal-step strong { color: #3b4d46; font-size: 12px; }
.deal-step small { margin-top: 3px; color: #7c8983; font-size: 9px; }
.deal-step.active { border-color: #9bb5c8; background: #fff; opacity: 1; box-shadow: 0 10px 28px rgba(31,78,115,.1); }
.deal-step.active b { color: white; background: var(--orange); }
.deal-step.done b { color: white; background: var(--green); }
.evidence-panel { isolation: isolate; gap: 17px; padding: 48px; background: linear-gradient(145deg, #102f4a 0%, #1f4e73 62%, #2d6289 100%); color: white; }
.evidence-panel::before { content: ""; position: absolute; z-index: -1; width: 280px; height: 280px; right: -75px; top: -90px; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.018); }
.evidence-panel .panel-label { margin: 0; color: #bfd0df; }
.sample-proof-main { display: flex; align-items: center; gap: 18px; padding: 21px 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.sample-proof-main.orange-proof { border-color: rgba(255,205,165,.44); background: linear-gradient(135deg, rgba(224,133,75,.34), rgba(193,99,50,.2)); box-shadow: inset 0 1px rgba(255,255,255,.12), 0 12px 28px rgba(5,25,40,.12); }
.sample-proof-main > strong { min-width: 82px; color: #f4b27c; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 54px; line-height: 1; letter-spacing: -.04em; }
.sample-proof-main.orange-proof > strong { color: #ffd0aa; }
.sample-proof-main b, .sample-proof-main small { display: block; }
.sample-proof-main b { font-size: 16px; }
.sample-proof-main small { margin-top: 6px; color: #c0d0de; font-size: 10px; }
.sample-proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sample-proof-grid > div { padding: 16px 17px; border-radius: 14px; background: rgba(255,255,255,.09); }
.sample-proof-grid strong, .sample-proof-grid span { display: block; }
.sample-proof-grid strong { color: white; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 27px; }
.sample-proof-grid span { margin-top: 4px; color: #c2d2df; font-size: 10px; }
.proof-note { display: flex; align-items: flex-start; gap: 8px; margin: 1px 2px 0; color: #d2dee7; font-size: 12px; line-height: 1.7; }
.proof-note i { flex: 0 0 auto; width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #f1a76b; box-shadow: 0 0 0 4px rgba(241,167,107,.12); }
.proof-note b { color: #ffd0aa; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin: 38px 2px 18px; }
.section-head span { color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.section-head h3 { margin: 5px 0 0; font-family: "Noto Serif SC", serif; font-size: 23px; }
.section-head small { color: #87918c; font-size: 11px; }
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.scene { min-height: 185px; display: flex; flex-direction: column; align-items: flex-start; padding: 23px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); color: var(--ink); text-align: left; cursor: pointer; transition: .22s ease; }
.scene:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.scene > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: var(--green); background: var(--mint); font-size: 10px; font-weight: 700; }
.scene.service > span { color: #9b5b34; background: var(--orange-soft); }
.scene.content > span { color: #6b6182; background: #eee9f4; }
.scene h3 { margin: 17px 0 8px; font-size: 16px; }
.scene p { margin: 0; color: #7b8580; font-size: 12px; line-height: 1.65; }
.scene b { margin-top: auto; color: var(--green); font-size: 11px; }
.pipeline-card { margin-top: 18px; overflow: hidden; border: 0; border-radius: 20px; background: linear-gradient(125deg, #102f4a, #1d4b6d); box-shadow: 0 18px 42px rgba(16,47,74,.13); }
.pipeline-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; border: 0; background: transparent; }
.pipeline-card-head span { color: #f6b07a; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.pipeline-card-head strong { color: #e6f0f6; font-size: 15px; }
.pipeline-steps { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; padding: 0 18px 19px; }
.pipeline-steps > div { position: relative; min-width: 0; min-height: 132px; padding: 17px 14px 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 10px 24px rgba(5,25,40,.12); }
.pipeline-steps > div:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 31px; z-index: 2; width: 14px; height: 2px; border-radius: 3px; background: #eda06a; box-shadow: 7px -3px 0 -2px #eda06a, 7px 3px 0 -2px #eda06a; }
.pipeline-steps i, .pipeline-steps b, .pipeline-steps small { display: block; }
.pipeline-steps i { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 9px; color: #fff; background: linear-gradient(135deg, #e08a50, #c96c3d); font-size: 10px; font-style: normal; font-weight: 700; box-shadow: 0 6px 14px rgba(203,112,64,.22); }
.pipeline-steps b { color: #173c58; font-size: 16px; line-height: 1.35; }
.pipeline-steps small { margin-top: 7px; color: #687d8b; font-size: 13px; line-height: 1.55; }
.memory-strip { display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 1px; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); box-shadow: 0 10px 28px rgba(28,58,82,.04); }
.memory-strip > div { padding: 18px 22px; background: #fdfcf8; }
.memory-strip span, .memory-strip small, .memory-strip strong { display: block; }
.memory-strip span { color: #8d9692; font-size: 10px; }
.memory-strip strong { margin: 5px 0 2px; color: var(--green); font-family: "Noto Serif SC", serif; font-size: 17px; }
.memory-strip small { color: #9aa19e; font-size: 9px; }
.memory-strip .future { background: #e9f0f6; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.composer-card { padding: 21px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: var(--shadow); scroll-margin-top: 18px; }
.composer-title { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
.composer-title span { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.composer-title h2 { margin: 4px 0 0; font-family: "Noto Serif SC", serif; font-size: 22px; }
.composer-title .privacy { padding: 6px 9px; border-radius: 10px; color: #637f95; background: var(--mint); font-size: 11px; letter-spacing: 0; }
.composer-main-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); gap: 18px; align-items: stretch; }
.customer-message-block { min-width: 0; display: flex; flex-direction: column; }
.customer-message-block > label { display: block; margin-bottom: 7px; color: #66726d; font-size: 12px; }
textarea { flex: 1; width: 100%; min-height: 170px; padding: 15px 16px; resize: vertical; border: 1px solid #e4e2da; border-radius: 13px; outline: none; color: var(--ink); background: #fbfaf6; font-size: 14px; line-height: 1.8; transition: .2s ease; }
textarea:focus { border-color: #8eaac0; box-shadow: 0 0 0 3px rgba(31,78,115,.07); background: white; }
.composer-side { min-width: 0; display: flex; flex-direction: column; }
.context-fields { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.context-fields.sales-context { grid-template-columns: repeat(3, 1fr); }
.context-fields label { color: #7c8581; font-size: 10px; }
.context-fields select, .context-fields input { width: 100%; height: 40px; margin-top: 5px; padding: 0 9px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--panel); font-size: 12px; }
.context-fields input:focus, .context-fields select:focus { outline: none; border-color: #8eaac0; box-shadow: 0 0 0 3px rgba(31,78,115,.07); }
.addressing-note { margin: 0; padding: 9px 11px; border-radius: 10px; color: #65798a; background: #eef3f7; font-size: 10px; line-height: 1.6; }
.addressing-note b { margin-right: 5px; color: var(--green); }
.verified-fact-field { display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: center; gap: 7px 10px; color: #6c7b87; font-size: 10px; }
.verified-fact-field input { min-width: 0; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; outline: none; color: var(--ink); background: #fff; font-size: 11px; }
.verified-fact-field input:focus { border-color: #8eaac0; box-shadow: 0 0 0 3px rgba(31,78,115,.07); }
.verified-fact-field small { grid-column: 1 / -1; color: #8a97a1; font-size: 8px; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.composer-foot .primary-action { min-width: 210px; min-height: 48px; }
.text-button { border: 0; color: #7c8882; background: transparent; cursor: pointer; font-size: 11px; }
.optional-context { margin-top: 11px; overflow: hidden; border: 1px solid #dce5eb; border-radius: 11px; background: #f8fafb; }
.optional-context > summary { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; color: #667b8a; cursor: pointer; list-style: none; font-size: 10px; font-weight: 600; }
.optional-context > summary::-webkit-details-marker { display: none; }
.optional-context > summary b { color: var(--green); font-size: 9px; }
.optional-context[open] > summary { border-bottom: 1px solid #dce5eb; background: #eef4f8; }
.optional-context[open] > summary b { font-size: 0; }
.optional-context[open] > summary b::after { content: "收起"; font-size: 9px; }
.optional-context-body { display: grid; gap: 10px; padding: 11px; }
.optional-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
.composer-card.result-mode { padding: 15px; }
.compact-query-bar { display: grid; grid-template-columns: minmax(0,1fr) max-content; align-items: center; gap: 18px; min-height: 50px; padding: 7px 9px 7px 13px; border: 1px solid #d8e3ec; border-radius: 12px; background: #eef4f8; }
.compact-query-bar[hidden] { display: none; }
.compact-query-copy { min-width: 0; display: grid; grid-template-columns: max-content minmax(0,1fr); align-items: center; gap: 12px; }
.compact-query-copy span { color: #7d8e9c; font-size: 9px; letter-spacing: .08em; }
.compact-query-copy strong { overflow: hidden; color: #28485f; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.compact-query-bar button { min-height: 36px; padding: 0 13px; border: 1px solid #b9cbd8; border-radius: 9px; color: var(--green); background: #fff; cursor: pointer; font-size: 10px; font-weight: 700; }
.compact-query-bar button:hover { border-color: var(--orange); color: #9b542e; }
.quick-reply-area { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.result-mode .quick-reply-area { margin-top: 10px; padding-top: 10px; }
.result-area { margin-top: 14px; }
.reply-category-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; padding: 9px 12px; border: 1px solid #d7e4ed; border-radius: 12px; color: #536d80; background: #edf4f8; }
.reply-category-strip > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.reply-category-strip span, .reply-category-strip small { color: #718493; font-size: 9px; }
.reply-category-strip strong { color: var(--green-dark); font-size: 12px; }
.reply-category-strip > b { color: #2c5a79; font-size: 9px; font-weight: 700; white-space: nowrap; }
.reply-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.reply-choice-card { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 280px; overflow: hidden; border: 1px solid #d5e0e8; border-radius: 15px; background: #fff; box-shadow: 0 12px 28px rgba(31,78,115,.07); }
.reply-choice-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: #9db3c3; }
.reply-choice-card.recommended { border-color: #d8834b; box-shadow: 0 16px 34px rgba(216,131,75,.16); }
.reply-choice-card.recommended::before { height: 5px; background: var(--orange); }
.reply-choice-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; padding: 15px 15px 0; }
.reply-choice-head span, .reply-choice-head h3 { display: block; }
.reply-choice-head span { color: #758a99; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.reply-choice-card.recommended .reply-choice-head span { color: #a75931; }
.reply-choice-head h3 { margin: 4px 0 0; color: var(--green-dark); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 16px; }
.reply-source-line { display: block; margin-top: 5px; color: #648095; font-size: 10.5px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.reply-choice-head > b { flex: 0 0 auto; padding: 5px 7px; border-radius: 8px; color: #647b8d; background: #edf3f7; font-size: 10px; white-space: nowrap; }
.reply-choice-card.recommended .reply-choice-head > b { color: #914f2b; background: var(--orange-soft); }
.reply-choice-text { flex: 1; min-height: 112px; margin: 11px 15px; padding: 12px; border-radius: 10px; color: #334b5d; background: #f3f7fa; font-size: 14.5px; line-height: 1.72; overflow-wrap: anywhere; white-space: pre-wrap; }
.reply-choice-card.recommended .reply-choice-text { background: #fff7ef; }
.reply-choice-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; padding: 0 15px 14px; }
.reply-choice-foot small { min-width: 0; color: #7c8b96; font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.reply-choice-card.recommended .copy-button { color: #fff; background: var(--orange); }
.reply-choice-card.recommended .copy-button:hover { background: #bc6d3d; }
.reply-choice-head > b.needs-review, .source-more-card header > b.needs-review { color: #965b37; background: #fff0df; }
.reply-choice-card .quick-risk { margin: 0 15px 14px; padding: 9px 10px; font-size: 12.5px; }
.source-more-replies, .ai-reply-section, .followup-prediction-section { margin-top: 12px; overflow: hidden; border: 1px solid #d8e3eb; border-radius: 14px; background: #fff; }
.source-more-head, .ai-reply-head, .followup-prediction-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-bottom: 1px solid #dfe7ed; background: #f4f7f9; }
.source-more-head > div, .ai-reply-head > div, .followup-prediction-head > div { min-width: 0; }
.source-more-head span, .source-more-head strong, .source-more-head small, .ai-reply-head span, .ai-reply-head strong, .ai-reply-head small, .followup-prediction-head span, .followup-prediction-head strong, .followup-prediction-head small { display: block; }
.source-more-head span, .ai-reply-head span, .followup-prediction-head span { color: var(--orange); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.source-more-head strong, .ai-reply-head strong, .followup-prediction-head strong { margin-top: 3px; color: var(--green-dark); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.source-more-head small, .ai-reply-head small, .followup-prediction-head small { margin-top: 3px; color: #718493; font-size: 10.5px; line-height: 1.55; }
.source-more-head > b, .ai-reply-head > b, .followup-prediction-head > b { flex: 0 0 auto; padding: 5px 8px; border-radius: 8px; color: #2c5c7d; background: #dfebf3; font-size: 10px; white-space: nowrap; }
.source-more-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; padding: 12px; background: #f7f9fb; }
.source-more-card { min-width: 0; padding: 14px; border: 1px solid #dce4ea; border-radius: 12px; background: #fff; }
.source-more-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.source-more-card header span, .source-more-card header strong { display: block; }
.source-more-card header > div { min-width: 0; }
.source-more-card header span { color: #718493; font-size: 10.5px; }
.source-more-card header strong { margin-top: 3px; color: #27475e; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.source-more-card header > b { flex: 0 0 auto; padding: 4px 6px; border-radius: 7px; color: #52728a; background: #eaf1f6; font-size: 10px; white-space: nowrap; }
.source-question { margin-top: 11px; padding: 9px 10px; border-radius: 9px; background: #f2f5f7; }
.source-question span { color: #718493; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; }
.source-question p { margin: 5px 0 0; color: #526573; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-reply-text { margin: 11px 0; color: #314b5e; font-size: 14px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.source-more-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #e6ebef; }
.source-more-card footer small { min-width: 0; color: #687f90; font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.dialogue-path-card { display: grid; grid-template-columns: minmax(180px,.45fr) minmax(0,1fr); gap: 14px 18px; margin-top: 12px; padding: 15px 17px; border: 1px solid #d9e4ec; border-radius: 14px; background: #f5f8fa; }
.dialogue-path-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dialogue-path-card header span, .dialogue-path-card header strong { display: block; }
.dialogue-path-card header > div { min-width: 0; }
.dialogue-path-card header span { color: var(--orange); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.dialogue-path-card header strong { margin-top: 4px; color: var(--green-dark); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.dialogue-path-card header > b { flex: 0 0 auto; padding: 4px 6px; border-radius: 7px; color: #315f80; background: #dfeaf2; font-size: 10px; white-space: nowrap; }
.dialogue-path-card > p { margin: 0; padding: 10px 12px; border-radius: 10px; color: #334e62; background: #fff; font-size: 13.5px; line-height: 1.75; overflow-wrap: anywhere; }
.dialogue-path-card footer { grid-column: 1 / -1; display: grid; grid-template-columns: max-content max-content minmax(0,1fr); align-items: center; gap: 7px; padding-top: 10px; border-top: 1px solid #e0e7ec; }
.dialogue-path-card footer span, .dialogue-path-card footer small { color: #718493; font-size: 10.5px; line-height: 1.55; }
.dialogue-path-card footer strong { color: #9b613a; font-size: 12px; }
.ai-reply-head { background: #fff7ef; }
.ai-reply-head > b { color: #955633; background: var(--orange-soft); }
.ai-reply-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 11px; padding: 12px; background: #fffaf5; }
.ai-reply-card { min-width: 0; padding: 15px; border: 1px solid #ead8c8; border-radius: 12px; background: #fff; }
.ai-reply-card.blocked { border-style: dashed; background: #fff9f5; }
.ai-reply-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ai-reply-card > header span, .ai-reply-card > header strong { display: block; }
.ai-reply-card > header span { color: #9c633f; font-size: 10px; font-weight: 700; }
.ai-reply-card > header strong { margin-top: 4px; color: #4f463f; font-size: 13px; line-height: 1.5; }
.ai-reply-card > header > b { flex: 0 0 auto; padding: 4px 6px; border-radius: 7px; color: #985532; background: var(--orange-soft); font-size: 10px; }
.ai-reply-card > p, .ai-blocked-note { margin: 12px 0; padding: 12px; border-radius: 10px; color: #3d4e5a; background: #f7f4f0; font-size: 13.5px; line-height: 1.78; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-blocked-note { color: #7f5b45; background: #fff1e7; }
.ai-reply-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #eee5dd; }
.ai-reply-card > footer small { min-width: 0; color: #806f63; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.ai-reply-card > footer > b { color: #a15c38; font-size: 10px; white-space: nowrap; }
.ai-copy-button { color: #fff; background: var(--orange); }
.followup-prediction-head { background: #edf4f8; }
.followup-prediction-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 12px; background: #f7f9fb; }
.followup-prediction-card { min-width: 0; overflow: hidden; border: 1px solid #d8e3eb; border-radius: 12px; background: #fff; }
.followup-prediction-card > span { display: block; padding: 13px 14px 0; color: var(--orange); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; }
.followup-prediction-card > h4 { min-height: 58px; margin: 6px 14px 13px; color: #27485f; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.followup-prediction-card details { border-top: 1px solid #e1e8ed; }
.followup-prediction-card summary { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; cursor: pointer; list-style: none; background: #f2f6f8; }
.followup-prediction-card summary::-webkit-details-marker { display: none; }
.followup-prediction-card summary strong { color: #345d78; font-size: 10.5px; }
.followup-prediction-card summary b { color: #9a5c38; font-size: 9.5px; white-space: nowrap; }
.followup-reply-body { padding: 12px; }
.followup-reply-body > p { margin: 0; color: #354c5d; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.followup-reply-body > p.followup-review-only { color: #7e5d48; }
.followup-reply-body footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 9px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #e5eaee; }
.followup-reply-body footer small { min-width: 0; color: #6e8290; font-size: 9.5px; line-height: 1.55; overflow-wrap: anywhere; }
.followup-reply-body footer > b { color: #a35f39; font-size: 10px; white-space: nowrap; }
.followup-stop { margin-top: 10px; padding: 8px 9px; border-radius: 8px; color: #795f4e; background: #fff4e9; font-size: 9.5px; line-height: 1.55; }
.followup-stop b { margin-right: 6px; color: #a05c36; }
.next-step-gap { display: grid; grid-template-columns: minmax(160px,.45fr) minmax(0,1fr) max-content; align-items: center; gap: 16px; margin-top: 12px; padding: 15px 17px; border: 1px dashed #c9d6df; border-radius: 14px; background: #f6f8fa; }
.next-step-gap span, .next-step-gap strong { display: block; }
.next-step-gap span { color: #718493; font-size: 10.5px; letter-spacing: .08em; }
.next-step-gap strong { margin-top: 4px; color: #3c5669; font-size: 14px; line-height: 1.45; }
.next-step-gap p { min-width: 0; margin: 0; color: #71818c; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.save-gap-deal { min-height: 38px; padding: 0 12px; border: 1px solid #b8c9d5; border-radius: 9px; color: var(--green); background: #fff; cursor: pointer; font-size: 10px; font-weight: 700; }
.library-gap-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; border: 1px dashed #c8d5de; border-radius: 16px; background: #f7f9fa; }
.library-gap-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: #6f8798; font-size: 12px; font-weight: 700; }
.library-gap-card span { color: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.library-gap-card h3 { margin: 4px 0 6px; color: var(--green-dark); font-size: 16px; }
.library-gap-card p { max-width: 700px; margin: 0; color: #6f7f8a; font-size: 11px; line-height: 1.7; }
.library-gap-card > div > small { display: block; margin-top: 9px; color: #9a613d; font-size: 10px; line-height: 1.6; }
.pipeline-context { display: grid; grid-template-columns: max-content max-content minmax(0,1fr); align-items: baseline; gap: 7px 10px; margin-bottom: 11px; padding: 10px 12px; border-radius: 10px; background: #fff; }
.pipeline-context span { color: #82909a; font-size: 8px; }
.pipeline-context strong { color: var(--green); font-size: 11px; }
.pipeline-context p { margin: 0; color: #71808a; font-size: 9px; line-height: 1.55; }
.quick-reply-card { overflow: hidden; border: 1px solid #9eb6c9; border-radius: 18px; background: #fff; box-shadow: 0 18px 42px rgba(31,78,115,.1); }
.quick-reply-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 0; }
.quick-reply-head span, .quick-reply-head h3 { display: block; }
.quick-reply-head span { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.quick-reply-head h3 { margin: 5px 0 0; color: var(--green-dark); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 19px; }
.quick-reply-head > b { flex: 0 0 auto; padding: 6px 9px; border-radius: 9px; font-size: 9px; }
.quick-reply-head > b.ready { color: #1f4e73; background: #e4eef6; }
.quick-reply-head > b.review { color: #955633; background: var(--orange-soft); }
.quick-reply-text { margin: 18px 22px; padding: 19px 20px; border-radius: 13px; color: #243746; background: #f3f7fa; font-size: 15px; line-height: 1.95; white-space: pre-wrap; }
.quick-reply-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 22px 20px; }
.quick-reply-foot small { color: #778692; font-size: 10px; line-height: 1.6; }
.primary-copy { min-height: 40px; padding: 0 16px; color: white; background: var(--green); }
.primary-copy:hover { background: var(--green-dark); }
.quick-risk { display: flex; align-items: flex-start; gap: 10px; margin: 0 22px 18px; padding: 11px 13px; border-left: 3px solid var(--orange); border-radius: 5px 10px 10px 5px; color: #7b5b46; background: #fff4e8; font-size: 12.5px; line-height: 1.65; }
.quick-risk b { flex: 0 0 auto; color: #a35f36; }
.alternate-replies { border-top: 1px solid var(--line); background: #fbfcfd; }
.alternate-replies summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 22px; color: #586c7d; cursor: pointer; list-style: none; font-size: 10px; }
.alternate-replies summary::-webkit-details-marker { display: none; }
.alternate-replies summary b { color: var(--green); font-weight: 600; }
.alternate-replies[open] summary { border-bottom: 1px solid var(--line); background: #eef4f8; }
.alternate-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; padding: 14px; }
.alternate-list article { position: relative; padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.alternate-list header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.alternate-list header strong { color: var(--green-dark); font-size: 11px; }
.alternate-list header span { color: #8795a0; font-size: 8px; line-height: 1.5; text-align: right; }
.alternate-list p { min-height: 82px; margin: 13px 0; color: #465968; font-size: 11px; line-height: 1.8; white-space: pre-wrap; }
.alternate-list .copy-button { min-height: 36px; }
.analysis-drawer { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.analysis-drawer > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; padding: 13px 20px; cursor: pointer; list-style: none; }
.analysis-drawer > summary::-webkit-details-marker { display: none; }
.analysis-drawer > summary span, .analysis-drawer > summary strong, .analysis-drawer > summary small { display: block; }
.analysis-drawer > summary > div { min-width: 0; }
.analysis-drawer > summary span { color: var(--orange); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.analysis-drawer > summary strong { margin-top: 4px; color: var(--green-dark); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.analysis-drawer > summary small { margin-top: 4px; color: #71808c; font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.analysis-drawer > summary > b { flex: 0 0 auto; padding: 7px 10px; border-radius: 8px; color: var(--green); background: var(--mint); font-size: 11px; white-space: nowrap; }
.analysis-drawer[open] > summary { border-bottom: 1px solid var(--line); background: #edf3f7; }
.analysis-drawer[open] > summary > b { font-size: 0; }
.analysis-drawer[open] > summary > b::after { content: "收起"; font-size: 11px; }
.analysis-body { padding: 14px; background: #f8fafb; }
.analysis-body .origin-card { margin-top: 14px; }
.empty-result { min-height: 185px; display: grid; place-items: center; align-content: center; gap: 7px; border: 1px dashed #d9d7cf; border-radius: 18px; color: #9aa29e; background: rgba(255,255,255,.35); }
.empty-result span { color: var(--orange); font-size: 20px; }
.empty-result p, .empty-result small { margin: 0; }
.empty-result p { color: #65716c; font-size: 13px; }
.empty-result small { font-size: 10px; }
.emotion-card { display: flex; align-items: center; gap: 15px; padding: 16px 20px; border: 1px solid #dce6ed; border-radius: 15px; background: #eaf1f6; }
.emotion-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); }
.emotion-card p, .emotion-card small { margin: 0; }
.emotion-card p { font-size: 13px; }
.emotion-card p b { color: var(--green); }
.emotion-card small { display: block; margin-top: 4px; color: #7c8882; font-size: 10px; }
.reply-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.reply-card { position: relative; display: flex; flex-direction: column; min-height: 270px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); box-shadow: 0 10px 30px rgba(28,58,82,.05); transition: transform .2s ease, box-shadow .2s ease; }
.reply-card:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(28,58,82,.08); }
.reply-card.recommended { border-color: #91abc0; box-shadow: 0 16px 38px rgba(31,78,115,.11); }
.reply-card.recommended::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 3px; border-radius: 0 0 5px 5px; background: var(--green); }
.reply-card header { display: flex; align-items: center; justify-content: space-between; }
.reply-card header strong { font-size: 13px; }
.reply-card header span { padding: 4px 7px; border-radius: 8px; color: #8a674d; background: var(--orange-soft); font-size: 8px; }
.reply-card .reply-text { flex: 1; margin: 18px 0; color: #495650; font-size: 12px; line-height: 1.85; white-space: pre-wrap; }
.reply-card footer { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid #eeece5; color: #8a938f; font-size: 9px; }
.copy-button { padding: 7px 9px; border: 0; border-radius: 8px; color: var(--green); background: var(--mint); cursor: pointer; font-weight: 700; white-space: nowrap; }
.reason-note { margin-top: 14px; padding: 15px 18px; border-left: 3px solid var(--orange); border-radius: 5px 12px 12px 5px; color: #66716c; background: #fbf2e8; font-size: 11px; line-height: 1.7; }
.deal-insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 14px; }
.insight-box { padding: 15px 17px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.insight-box span, .insight-box strong { display: block; }
.insight-box span { color: #8a9490; font-size: 9px; }
.insight-box strong { margin-top: 6px; color: var(--green); font-size: 12px; line-height: 1.5; }
.next-move { display: grid; grid-template-columns: minmax(190px,.7fr) minmax(0,1.3fr); align-items: center; gap: 20px; margin-top: 14px; padding: 20px 22px; border-radius: 17px; color: white; background: linear-gradient(120deg, #123751, #245a82); box-shadow: 0 16px 35px rgba(31,78,115,.16); }
.next-move > div, .next-move > p { min-width: 0; }
.next-move span { color: #d2e0ea; font-size: 11.5px; letter-spacing: .1em; }
.next-move strong { display: block; margin: 6px 0 4px; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.next-move small { display: block; color: #cfdee8; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.next-move p { margin: 0; color: #edf4f8; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.next-move footer { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; margin-top: -3px; }
.save-deal { padding: 8px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; color: white; background: rgba(255,255,255,.08); cursor: pointer; font-size: 11px; }
.recent-head { margin-top: 28px; }
.recent-deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.recent-empty { grid-column: 1 / -1; padding: 24px; border: 1px dashed #d9d7cf; border-radius: 14px; color: #929b97; background: rgba(255,255,255,.35); text-align: center; font-size: 11px; }
.deal-record { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); cursor: pointer; transition: .2s ease; }
.deal-record:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.deal-record header { display: flex; justify-content: space-between; gap: 10px; }
.deal-record header strong { font-size: 13px; }
.deal-record header span { color: #949d99; font-size: 9px; }
.deal-record p { margin: 13px 0 8px; color: #67736d; font-size: 11px; line-height: 1.6; }
.deal-record small { color: var(--green); font-size: 9px; }
.loading-card { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 11px; border-radius: 18px; background: #eaf1f6; color: #617383; font-size: 12px; }
.loading-card.compact { min-height: 116px; border: 1px solid #d8e4ec; }
.loading-card span { width: 18px; height: 18px; border: 2px solid #b7cad8; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.origin-card { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(270px,.55fr); gap: 26px; padding: 25px 27px; overflow: hidden; border: 1px solid #dbe5ec; border-radius: 20px; background: linear-gradient(125deg, #ffffff 0%, #eef4f8 100%); box-shadow: var(--shadow); }
.origin-main > span, .result-section-head span, .similar-card > span { color: var(--orange); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.origin-main h2 { margin: 7px 0 8px; color: var(--green-dark); font-family: "Noto Serif SC", "Songti SC", serif; font-size: 22px; line-height: 1.45; }
.origin-main > p { max-width: 720px; margin: 0; color: #6f7c76; font-size: 11px; line-height: 1.75; }
.origin-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.origin-sources > span { margin-right: 2px; color: #87918c; font-size: 9px; }
.origin-sources b { max-width: 220px; overflow: hidden; padding: 5px 8px; border: 1px solid #d9e5ed; border-radius: 8px; color: #526f84; background: rgba(255,255,255,.75); font-size: 8px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.origin-checks { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.origin-checks i { padding: 5px 8px; border-radius: 8px; color: #65798a; background: #e6eef4; font-size: 8px; font-style: normal; }
.origin-checks i.passed { color: #1f557c; background: #deebf4; }
.origin-checks i.adjusted { color: #8a633e; background: var(--amber-soft); }
.origin-status { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; align-self: stretch; }
.origin-status > div { display: flex; flex-direction: column; justify-content: center; min-height: 112px; padding: 16px; border-radius: 15px; }
.origin-status span, .origin-status strong, .origin-status small { display: block; }
.origin-status span { color: #87918c; font-size: 8px; letter-spacing: .08em; }
.origin-status strong { margin-top: 7px; font-size: 13px; line-height: 1.4; }
.origin-status small { margin-top: 5px; color: #8a9490; font-size: 8px; line-height: 1.55; }
.match-status { border: 1px solid #d9e4ec; background: rgba(255,255,255,.75); }
.match-status.strong strong { color: #215a82; }
.match-status.medium strong { color: #9a643b; }
.match-status.none strong { color: #74827c; }
.send-status.ready { color: #1d5279; background: #deebf4; }
.send-status.review { color: #8a5737; background: var(--amber-soft); }
.send-status.ready span, .send-status.ready small { color: #627f95; }
.send-status.review span, .send-status.review small { color: #9c795d; }
.customer-read { margin-top: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.42); }
.customer-read .deal-insight-grid { margin-bottom: 0; }
.risk-card { display: flex; align-items: flex-start; gap: 15px; margin-top: 14px; padding: 18px 20px; border: 1px solid #d9e5ed; border-radius: 16px; background: #edf4f8; }
.risk-card.medium { border-color: #f0ddbd; background: #fff7ea; }
.risk-card.high { border-color: #efcec3; background: #fff0eb; }
.risk-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--green); font-size: 12px; font-weight: 700; }
.risk-card.medium .risk-icon { background: #c3844f; }
.risk-card.high .risk-icon { background: #b75f4f; }
.risk-copy { flex: 1; min-width: 0; }
.risk-copy header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.risk-copy header span, .risk-copy header h3 { display: block; margin: 0; }
.risk-copy header span { color: #7f8c86; font-size: 8px; letter-spacing: .12em; }
.risk-copy header h3 { margin-top: 4px; color: #28475e; font-size: 13px; }
.risk-copy header > b { padding: 5px 8px; border-radius: 8px; color: #315f80; background: #dceaf3; font-size: 8px; }
.risk-card.medium .risk-copy header > b { color: #8a603e; background: #f6e4c8; }
.risk-card.high .risk-copy header > b { color: #9b4f42; background: #f6d8cf; }
.risk-copy > p { margin: 10px 0 0; color: #6f7b75; font-size: 10px; line-height: 1.7; }
.risk-reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.risk-reasons span { padding: 5px 7px; border-radius: 7px; color: #8a5c45; background: rgba(216,131,75,.12); font-size: 8px; }
.result-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 25px 2px 11px; }
.result-section-head h3 { margin: 5px 0 0; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 20px; }
.result-section-head small { color: #84908a; font-size: 9px; }
.reference-panel { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.reference-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 21px; cursor: pointer; list-style: none; }
.reference-panel summary::-webkit-details-marker { display: none; }
.reference-panel summary div span, .reference-panel summary div strong, .reference-panel summary div small { display: block; }
.reference-panel summary div span { color: var(--orange); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.reference-panel summary div strong { margin-top: 5px; font-size: 13px; }
.reference-panel summary div small { margin-top: 5px; color: #8a938f; font-size: 9px; }
.reference-panel summary > b { padding: 6px 10px; border-radius: 8px; color: var(--green); background: var(--mint); font-size: 9px; }
.reference-panel[open] summary { border-bottom: 1px solid var(--line); background: #faf9f5; }
.reference-panel[open] summary > b { color: #7d8883; background: #efeee9; }
.reference-panel[open] summary > b::after { content: "收起"; }
.reference-panel[open] summary > b { font-size: 0; }
.reference-panel[open] summary > b::after { font-size: 9px; }
.reference-list { display: grid; gap: 10px; padding: 13px; }
.reference-item { padding: 18px; border: 1px solid #ece8df; border-radius: 14px; background: #fffefb; }
.reference-item > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #efede6; }
.reference-item > header div { display: flex; align-items: center; gap: 8px; }
.reference-item > header span { padding: 4px 6px; border-radius: 6px; color: #8a633e; background: var(--orange-soft); font-size: 8px; }
.reference-item > header strong { font-size: 12px; }
.reference-item > header > b { color: #89928e; font-size: 8px; font-weight: 500; }
.reference-question, .reference-reply, .reference-reaction, .reference-why { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 12px; margin-top: 12px; }
.reference-item div > span { color: #8a938f; font-size: 8px; }
.reference-item div > p { margin: 0; color: #52605a; font-size: 10px; line-height: 1.75; white-space: pre-wrap; }
.reference-reply > p { padding: 11px 13px; border-radius: 10px; background: #eef3f7; }
.reference-reaction > p { color: #285f86 !important; }
.reference-item > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; }
.reference-item > footer div { display: flex; flex-wrap: wrap; gap: 5px; }
.reference-item > footer i { padding: 4px 6px; border-radius: 6px; color: #607382; background: #e9eef2; font-size: 8px; font-style: normal; }
.reference-item > footer > b { color: #567185; font-size: 8px; }
.reference-item > footer > b.warn { color: #aa5949; }
.similar-card { margin-top: 14px; padding: 20px 21px; border: 1px solid var(--line); border-radius: 17px; background: #fdfcf8; }
.similar-card h3 { margin: 5px 0 13px; font-size: 13px; }
.similar-list { display: flex; flex-wrap: wrap; gap: 8px; }
.similar-question { max-width: 100%; padding: 8px 11px; overflow: hidden; border: 1px solid #d9e3ea; border-radius: 10px; color: #4d6577; background: white; cursor: pointer; font-size: 9px; text-align: left; text-overflow: ellipsis; white-space: nowrap; transition: .18s ease; }
.similar-question:hover { border-color: #9db6c8; color: var(--green); background: #eef4f8; }
.learning-note { display: flex; align-items: flex-start; gap: 16px; margin-top: 14px; padding: 15px 18px; border-radius: 14px; color: #607382; background: #e8eff4; }
.learning-note b { flex: 0 0 auto; color: var(--green); font-size: 9px; }
.learning-note p { margin: 0; font-size: 9px; line-height: 1.65; }
/* 小字整体提级，避免来源、使用场景和复核信息看不清。 */
small { font-size: 13px !important; line-height: 1.58; }
.reply-category-strip span, .reply-choice-head span, .reply-source-line,
.source-more-head span, .ai-reply-head span, .followup-prediction-head span,
.source-more-card header span, .ai-reply-card > header span,
.followup-prediction-card > span, .origin-main > span, .origin-sources > span,
.reference-panel summary div span, .reference-item div > span {
  font-size: 11.5px;
}
.reply-choice-head > b, .source-more-head > b, .ai-reply-head > b,
.followup-prediction-head > b, .source-more-card header > b,
.ai-reply-card > header > b, .origin-sources b, .origin-checks i,
.reference-panel summary > b, .reference-item > header span,
.reference-item > header > b, .reference-item > footer i,
.reference-item > footer > b {
  font-size: 10.5px;
}
.toast { position: fixed; right: 25px; bottom: 25px; padding: 12px 17px; border-radius: 10px; color: white; background: var(--green-dark); box-shadow: var(--shadow); font-size: 11px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 1179px) {
  .composer-main-grid { grid-template-columns: 1fr; }
  .customer-message-block textarea { min-height: 145px; }
  .composer-side .composer-foot { order: -1; margin-top: 11px; }
  .composer-side .primary-context { margin-top: 11px; }
}

@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 220px minmax(0,1fr); }
  .main { padding: 25px; }
  .hero-copy { padding: 40px 35px; }
  .conversation-art { padding: 35px 28px; }
  .evidence-panel { padding: 38px 30px; }
  .work-grid { grid-template-columns: 1fr; }
  .reply-grid { grid-template-columns: repeat(2, 1fr); }
  .followup-prediction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pipeline-steps { grid-template-columns: repeat(3,1fr); }
  .pipeline-steps > div:nth-child(3n)::after { display: none; }
  .context-fields.sales-context { grid-template-columns: repeat(2, 1fr); }
  .recent-deals { grid-template-columns: repeat(2, 1fr); }
  .origin-card { grid-template-columns: minmax(0,1fr) 260px; gap: 18px; }
  .origin-status { grid-template-columns: 1fr; }
  .origin-status > div { min-height: 78px; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: relative; z-index: 2; height: auto; padding: 15px 14px 13px; }
  .brand { padding-bottom: 14px; }
  .nav { grid-template-columns: repeat(2, 1fr); }
  .nav p, .sidebar-foot { display: none; }
  .nav-item { justify-content: center; height: 42px; padding: 0 5px; border-radius: 10px; }
  .nav-item i, .nav-item b { display: none; }
  .nav-item span { font-size: 12px; }
  .nav-item.active::before { display: none; }
  .main { padding: 20px 14px 35px; }
  .topbar { align-items: flex-start; }
  .top-actions { display: none; }
  .topbar h1 { font-size: 22px; }
  .hero-card { grid-template-columns: 1fr; border-radius: 20px; }
  .hero-copy { padding: 34px 25px 32px; }
  .hero-copy h2 { font-size: 29px; }
  .hero-copy p { font-size: 13px; line-height: 1.8; }
  .evidence-panel { min-height: auto; padding: 28px 24px 30px; }
  .sample-proof-main { padding: 18px; }
  .sample-proof-main > strong { min-width: 68px; font-size: 46px; }
  .conversation-art { min-height: 330px; }
  .scene-grid, .reply-grid, .context-fields { grid-template-columns: 1fr; }
  .pipeline-card-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .pipeline-steps { grid-template-columns: repeat(2,1fr); }
  .pipeline-steps > div:nth-child(2n)::after { display: none; }
  .pipeline-steps > div:nth-child(3n)::after { display: block; }
  .context-fields.sales-context, .deal-insight-grid { grid-template-columns: 1fr; }
  .recent-deals { grid-template-columns: 1fr; }
  .memory-strip { grid-template-columns: 1fr; }
  .section-head { align-items: flex-start; gap: 15px; }
  .section-head > small { display: none; }
  .composer-card { padding: 18px 17px; border-radius: 17px; }
  .composer-title { margin-bottom: 13px; }
  .composer-title h2 { font-size: 21px; }
  .composer-title .privacy { display: none; }
  textarea { min-height: 132px; padding: 14px; }
  .composer-foot { align-items: stretch; gap: 10px; }
  .composer-foot .primary-action { flex: 1; }
  .optional-context { margin-top: 10px; }
  .optional-context > summary { min-height: 44px; }
  .verified-fact-field { grid-template-columns: 1fr; gap: 6px; }
  .verified-fact-field small { grid-column: auto; }
  .verified-fact-field input { width: 100%; }
  .composer-card.result-mode { padding: 14px; }
  .compact-query-bar { gap: 10px; min-height: 54px; padding: 9px 9px 9px 12px; }
  .compact-query-copy { grid-template-columns: 1fr; gap: 2px; }
  .compact-query-bar button { min-height: 44px; }
  .quick-reply-area { margin-top: 14px; padding-top: 14px; }
  .reply-category-strip { align-items: flex-start; flex-direction: column; gap: 4px; }
  .reply-choice-grid { grid-template-columns: 1fr; }
  .reply-choice-card { min-height: auto; }
  .reply-choice-head { padding: 18px 17px 0; }
  .reply-choice-text { min-height: auto; margin: 14px 17px; padding: 15px; font-size: 14px; line-height: 1.85; }
  .reply-choice-foot { padding: 0 17px 17px; }
  .quick-reply-head { padding: 18px 17px 0; }
  .quick-reply-text { margin: 15px 17px; padding: 16px; font-size: 14px; line-height: 1.9; }
  .quick-reply-foot { align-items: flex-start; padding: 0 17px 17px; }
  .copy-button, .alternate-list .copy-button { min-height: 44px; }
  .source-more-grid, .ai-reply-grid, .followup-prediction-grid { grid-template-columns: 1fr; padding: 10px; }
  .source-more-head, .ai-reply-head, .followup-prediction-head { align-items: flex-start; flex-direction: column; gap: 7px; padding: 12px; }
  .dialogue-path-card { grid-template-columns: 1fr; }
  .dialogue-path-card footer { grid-column: auto; grid-template-columns: max-content max-content; }
  .dialogue-path-card footer small { grid-column: 1 / -1; }
  .next-step-gap { grid-template-columns: 1fr; }
  .save-gap-deal, .save-deal { min-height: 44px; }
  .pipeline-context { grid-template-columns: max-content 1fr; }
  .pipeline-context p { grid-column: 1 / -1; }
  .alternate-list { grid-template-columns: 1fr; }
  .alternate-list p { min-height: auto; }
  .analysis-drawer > summary { min-height: 74px; padding: 13px 16px; }
  .origin-card { grid-template-columns: 1fr; gap: 17px; padding: 21px 18px; border-radius: 17px; }
  .origin-main h2 { font-size: 19px; }
  .origin-status { grid-template-columns: repeat(2,1fr); }
  .origin-status > div { min-height: 92px; padding: 13px; }
  .origin-sources b { max-width: 150px; }
  .customer-read { padding: 10px; }
  .emotion-card { align-items: flex-start; padding: 15px; }
  .emotion-icon { flex: 0 0 auto; width: 34px; height: 34px; }
  .risk-card { padding: 16px; }
  .risk-copy header { align-items: flex-start; }
  .risk-copy header > b { flex: 0 0 auto; }
  .result-section-head { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 22px; }
  .result-section-head h3 { font-size: 18px; }
  .reply-card { min-height: auto; padding: 20px; }
  .reply-card .reply-text { min-height: 120px; }
  .next-move { grid-template-columns: 1fr; gap: 11px; }
  .next-move footer { grid-column: auto; justify-content: flex-start; flex-wrap: wrap; margin-top: 1px; }
  .reference-panel summary { padding: 17px; }
  .reference-panel summary div small { max-width: 240px; line-height: 1.55; }
  .reference-question, .reference-reply, .reference-reaction, .reference-why { grid-template-columns: 1fr; gap: 5px; }
  .reference-item > header { align-items: flex-start; }
  .reference-item > header > b { max-width: 145px; text-align: right; line-height: 1.5; }
  .learning-note { display: block; }
  .learning-note p { margin-top: 6px; }
  .toast { left: 14px; right: 14px; bottom: 14px; text-align: center; }
}
@media (max-width: 440px) {
  .brand-mark { width: 39px; height: 39px; font-size: 20px; }
  .brand strong { font-size: 15px; }
  .brand span { font-size: 10px; }
  .nav { grid-template-columns: repeat(2, 1fr); }
  .sample-proof-grid { grid-template-columns: 1fr; }
  .pipeline-steps { grid-template-columns: 1fr; }
  .pipeline-steps > div:not(:last-child)::after { display: none; }
  .origin-status { grid-template-columns: 1fr; }
  .origin-status > div { min-height: 76px; }
  .composer-foot { flex-direction: column; }
  .composer-foot .primary-action { order: -1; width: 100%; }
  .text-button { min-height: 36px; }
  .reply-card footer { align-items: flex-end; gap: 8px; }
  .reply-card footer > span { line-height: 1.5; }
  .similar-question { width: 100%; }
}
