:root{--bg:#f6f7fa;--paper:#fff;--ink:#172033;--muted:#718096;--line:#e6e9ef;--accent:#365fe8;--accent-soft:#eef3ff;font-family:Inter,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
/* Independent reception state and recovery, using the existing workspace palette. */
#reception-root{min-width:0;overflow-wrap:anywhere}
.reception-state{margin:20px 26px 0;padding:17px 18px;background:#f7f9fd;border:1px solid var(--line);border-radius:6px;font-size:11px;color:var(--muted);line-height:1.9}
.reception-state-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:#526585}
.reception-state-heading strong{font-size:12px;font-weight:550}.reception-state-heading span{font-size:10px;color:#8c9ab0}
.reception-state ul{padding-left:18px;margin:8px 0}.reception-state li small{color:#94a0b3}.reception-state>small{display:block;margin-top:9px;font-size:10px}
.state-barrier{color:#94764d}.reception-controls{display:flex;gap:9px 14px;flex-wrap:wrap;margin:17px 26px 20px}
.reception-controls .button{font-size:10px;white-space:normal}.configuration-note{margin:0 26px 20px;color:#94764d;font-size:11px;line-height:1.9}
.attempt-record{padding:13px 15px;margin:0 0 17px;border-left:2px solid #b9c9ed;background:#f8faff;border-radius:0 5px 5px 0;font-size:11px;line-height:1.9;color:#7c8ba5}
.attempt-record strong{display:block;font-size:11px;font-weight:550;color:#60779e}.attempt-record>small{display:block;font-size:10px}.attempt-record p{margin-top:5px;white-space:pre-wrap}
.attempt-record.failed,.attempt-record.stale,.attempt-record.interrupted{border-left-color:#d4ad7f;background:#fcf8f1}.attempt-record.cancelled{border-left-color:#c9cfd8;background:#fafbfc}
.attempt-record details{margin-top:9px}.attempt-record summary{cursor:pointer;color:#6c82a6}.attempt-summary{font-size:10px;line-height:1.9;color:#8d9aaf;margin-bottom:12px}
.budget-note{font-size:10px;line-height:1.95;color:#8e9bb0;margin-top:17px}.response-conditions{padding:12px 14px;background:#f8faff;border:1px solid var(--line);border-radius:5px;font-size:11px;line-height:1.9;margin-top:13px;color:#75849b}
.response-conditions p{white-space:pre-wrap;margin-top:5px}.reception-recovery,.draft-recovery{padding:17px 19px;border:1px solid #e2d5bd;background:#fcf8f1;border-radius:6px;margin-bottom:22px;color:#927a57;font-size:11px;line-height:1.9}
.reception-recovery strong,.draft-recovery strong{display:block;font-size:12px;font-weight:550}.reception-recovery .actions,.draft-recovery .actions{margin-top:13px}.reception-recovery p{font-size:10px;overflow-wrap:anywhere}
.history-pagination{padding:7px 26px 16px}.legacy-history{margin-top:25px;padding-top:17px;border-top:1px solid var(--line);font-size:11px;color:#8592a6}.legacy-history>summary{cursor:pointer;margin-bottom:13px}
.legacy-preview{margin-top:24px}.legacy-body{padding:0 26px 25px}.legacy-body>.button{margin-top:14px}.audit-warning{margin-top:15px;color:#968165;font-size:10px;line-height:1.9}
#reception-root .consultation-actions>small{font-size:10px;line-height:1.9;color:#8795aa}#reception-root [role=alert]{overflow-wrap:anywhere}
@media(max-width:480px){.reception-state{margin:17px 18px 0;padding:14px}.reception-controls{margin:15px 18px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.configuration-note{margin:0 18px 17px}.attempt-record{padding:11px 12px}.reception-recovery,.draft-recovery{padding:14px}.reception-recovery .actions,.draft-recovery .actions{gap:9px;align-items:stretch}.reception-recovery .button,.draft-recovery .button{white-space:normal}.legacy-body{padding:0 18px 20px}.history-pagination{padding:8px 18px 15px}.reception-state-heading{align-items:flex-start}.budget-note{font-size:9px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.65}h1,h2,h3,p{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent }button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}input,textarea{min-width:0}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #b2c3fa;outline-offset:3px}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}::selection{background:#dae4ff}small{font-size:11px;color:var(--muted)}.skip{position:fixed;top:-60px;left:12px;padding:10px 16px;background:white;z-index:100}.skip:focus{top:8px}.mono{font-family:Consolas,"SFMono-Regular",monospace;font-size:12px;overflow-wrap:anywhere}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.15em;color:#8a95a7;margin-bottom:10px}.brand{color:var(--ink);display:inline-flex;align-items:baseline;gap:10px;font-size:23px;font-weight:650;letter-spacing:-.03em}.brand:hover{text-decoration:none}.brand span{font-size:10px;font-weight:600;letter-spacing:.16em;color:#8b96a7}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:7px;min-height:39px;padding:9px 15px;font-size:12px;font-weight:500;line-height:1.5;background:white;white-space:nowrap;transition:background .16s,border-color .16s}.button:hover:not(:disabled){border-color:#c6d0e5;background:#fafbff}.button.primary{color:white;background:var(--accent);border-color:var(--accent)}.button.primary:hover:not(:disabled){background:#2b50ce;border-color:#2b50ce}.button.text{border-color:transparent;background:transparent;color:var(--accent);padding-left:0;padding-right:0}.button.text:hover:not(:disabled){background:transparent;text-decoration:underline}.button.small{min-height:32px;padding:6px 10px;font-size:11px}.button.text.small{padding-left:0;padding-right:0}.button.full{width:100%;margin-top:9px;min-height:44px}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.initial-state{max-width:650px;margin:18vh auto;padding:30px}.initial-state h1{font-weight:500;margin-bottom:12px;font-size:27px}.initial-state>p:last-child{color:var(--muted)}
.auth-layout{display:grid;grid-template-columns:46% 54%;min-height:100dvh;background:white}.auth-aside{display:flex;flex-direction:column;justify-content:space-between;padding:48px 58px;background:#f0f3fa;border-right:1px solid #e7ebf4;min-height:100dvh}.auth-thesis{padding:70px 0;max-width:400px}.auth-thesis h1{font-size:46px;font-weight:500;letter-spacing:-.055em;line-height:1.5;margin:18px 0 22px}.auth-thesis>p:last-of-type{font-size:14px;color:#78869d;max-width:330px;line-height:1.95}.auth-facts{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:35px;font-size:11px;color:#8794aa}.auth-facts span{padding-top:12px;border-top:1px solid #d8e0ef}.auth-main{display:flex;align-items:center;justify-content:center;padding:50px 40px}.auth-form-wrap{width:100%;max-width:370px}.auth-form-wrap h2{font-size:27px;font-weight:550;letter-spacing:-.035em}.auth-description{color:var(--muted);font-size:12px;margin:12px 0 26px;line-height:1.9}.auth-footnote{font-size:11px;color:#8b97aa;margin-top:20px;text-align:center}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:21px}.field>span{font-size:12px;font-weight:500;color:#4e5e76;display:flex;align-items:center;gap:9px}.field>span small{font-size:10px;font-weight:400;color:#96a0b0}.field input,.field textarea{border:1px solid #dce2ed;background:#fff;border-radius:6px;padding:11px 12px;outline:none;font-size:13px;line-height:1.6;max-width:100%;width:100%}.field input{min-height:43px}.field input::placeholder,.field textarea::placeholder{color:#a5adbb;font-size:12px}.field input:focus,.field textarea:focus{border-color:#91a8f0;box-shadow:0 0 0 3px #365fe809}.field textarea{resize:vertical;min-height:110px}.field>small{font-size:11px;line-height:1.75;color:#8390a3}.feedback{padding:13px 16px;border-radius:6px;font-size:12px;margin-bottom:23px;line-height:1.85;overflow-wrap:anywhere}.feedback strong{display:block;font-size:12px;font-weight:600;margin-bottom:2px}.feedback.error{background:#fff2f0;color:#a34b45;border:1px solid #f4ddd9}.feedback.success{background:#edf3ff;color:#4762ac;border:1px solid #dfe8fd}
.shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100dvh}.sidebar{display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;padding:32px 22px 24px;background:#fff;border-right:1px solid var(--line)}.sidebar .brand{padding:0 7px}.sidebar-caption{font-size:11px;color:#9ba5b5;margin:5px 7px 38px}.nav-label{font-size:10px;letter-spacing:.07em;color:#a4adbc;margin:0 12px 12px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#738199;padding:12px 13px;min-height:45px;border-radius:7px;text-align:left;font-size:12px;margin:3px 0}.nav-item:hover{background:#f6f8fc}.nav-item.active{background:var(--accent-soft);color:#365fe8;font-weight:550}.nav-item svg{width:17px;height:17px}.prototype-link{display:flex;gap:11px;align-items:flex-start;padding:15px 13px;margin-top:28px;border-top:1px solid var(--line);font-size:11px;color:#7f8da4}.prototype-link svg{width:16px;height:16px;margin-top:2px}.prototype-link small{display:block;font-size:9px;color:#a2acbb;margin-top:3px}.sidebar-bottom{margin-top:auto;padding:26px 10px 0;display:flex;gap:8px;align-items:center;font-size:10px;color:#97a2b3}.local-dot{width:5px;height:5px;background:#9badd1;border-radius:50%}.workspace{min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 42px;min-height:80px;border-bottom:1px solid var(--line);background:#fff}.merchant-name{min-width:0;display:flex;align-items:center;gap:14px}.merchant-name>span{font-size:10px;color:#a0aabc;white-space:nowrap}.merchant-name strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.user-menu{display:flex;align-items:center;gap:12px;font-size:11px;white-space:nowrap}.user-menu>span:first-child{max-width:120px;overflow:hidden;text-overflow:ellipsis}.user-role{font-size:9px;color:#8d99ab;padding:2px 6px;border:1px solid #e9edf3;border-radius:3px}.user-menu .button{margin-left:9px;color:#7b8ca7}.workspace main{max-width:1400px;margin:0 auto;padding:40px 44px 60px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:32px}.page-head h1{font-size:30px;font-weight:550;letter-spacing:-.04em;line-height:1.5}.page-head>div>p:last-child{font-size:12px;color:#8591a5;margin-top:7px}.page-head .eyebrow{font-size:9px;margin-bottom:7px}.page-head .actions{justify-content:flex-end}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;padding:8px 0 32px;margin-bottom:26px;border-bottom:1px solid var(--line)}.metric-grid>div{padding-right:25px;border-right:1px solid var(--line)}.metric-grid>div:last-child{border:0}.metric-grid span{display:block;font-size:11px;color:#8b97aa}.metric-grid strong{display:block;font-size:39px;font-weight:500;letter-spacing:-.045em;margin:5px 0 0;line-height:1.35;font-variant-numeric:tabular-nums}.metric-grid small{font-size:10px;color:#a0aabd}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:23px 27px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:15px;font-weight:550}.panel-head p{font-size:10px;color:#8e9aac;margin-top:4px}.empty-account{background:#fff;border:1px solid var(--line);border-radius:9px;padding:43px 32px 38px;text-align:center}.empty-monogram{width:40px;height:40px;border:1px solid #dfe6f7;border-radius:10px;background:#f4f7fe;display:grid;place-items:center;font:500 18px Georgia,serif;color:#8198cf;margin:0 auto 19px}.empty-account .eyebrow{font-size:9px;color:#a1abc0;margin-bottom:10px}.empty-account h2{font-size:21px;font-weight:500;letter-spacing:-.025em}.empty-account>p:not(.eyebrow){font-size:12px;line-height:1.95;color:#8592a7;max-width:425px;margin:12px auto 22px}.empty-account>small{display:block;max-width:450px;margin:14px auto 0;font-size:10px;color:#a2adbd}.split-panels{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:34px}.text-panel{padding:3px 0;min-width:0}.text-panel h2{font-size:16px;font-weight:500;margin-bottom:10px}.text-panel>p:not(.eyebrow){font-size:12px;color:#8591a4;line-height:1.9;max-width:460px;margin-bottom:16px}.text-panel .button{font-size:11px}.status-chip{display:inline-flex;align-items:center;gap:5px;min-width:40px;justify-content:center;padding:3px 7px;border-radius:4px;font-size:10px;font-weight:400;white-space:nowrap;line-height:1.5}.status-chip.connected{background:#edf3ff;color:#4768b8}.status-chip.offline{background:#fbf1e6;color:#a58146}.status-chip.unconfirmed{background:#f0f2f6;color:#8a95a7}.context-note{display:flex;align-items:flex-start;gap:17px;border-left:2px solid #c1d0f9;padding:2px 0 2px 15px;margin-bottom:24px;color:#8290a6;font-size:11px;line-height:1.8}.context-note .note-label{white-space:nowrap;color:#596b8a}.page-footnote{font-size:10px;color:#98a4b6;margin:17px 0;line-height:1.8}.account-row{display:flex;align-items:flex-start;gap:16px;padding:24px 27px;border-bottom:1px solid #edf0f6}.account-row:last-child{border:0}.account-symbol{width:39px;height:39px;flex:0 0 39px;background:#f1f4fb;border:1px solid #e5eaf6;border-radius:8px;display:grid;place-items:center;font-size:15px;color:#7e93b9;margin-top:2px}.account-copy{flex:1;min-width:0}.account-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:6px}.account-title h3{font-size:14px;font-weight:550;overflow-wrap:anywhere}.account-copy>p{font-size:11px;color:#8290a8;line-height:1.8;overflow-wrap:anywhere}.account-copy>.account-error{font-size:11px;color:#b56f66;margin-top:9px}.account-copy>small{font-size:10px;color:#a4adbc;display:block;margin-top:5px}.separator{padding:0 8px;color:#b5becc}.account-copy .mono{font-size:11px}.account-actions{display:flex;align-items:center;gap:16px;padding-top:6px}.account-actions .button svg{width:14px;height:14px}.settings-layout{display:grid;grid-template-columns:minmax(0,690px) minmax(180px,1fr);gap:48px}.form-body{padding:26px 29px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-end{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:17px;border-top:1px solid var(--line)}.form-end>small{font-size:10px}.settings-note{padding-top:25px;max-width:260px}.settings-note h2{font-size:22px;line-height:1.65;font-weight:500;margin:13px 0 15px;letter-spacing:-.025em}.settings-note>p:not(.eyebrow){font-size:12px;line-height:1.9;color:#8793a6;margin-bottom:24px}.settings-note .inline-link{display:flex;align-items:center;gap:9px;font-size:11px}.settings-note>small{display:block;font-size:10px;line-height:1.9;color:#9ca7b7;margin-top:11px}.audit-list{list-style:none;margin:0;padding:0 28px}.audit-list li{display:grid;grid-template-columns:168px 1fr;gap:25px;padding:24px 0;border-bottom:1px solid var(--line)}.audit-list li:last-child{border:0}.audit-list time{font-size:10px;color:#8a98ad;padding-top:3px;font-variant-numeric:tabular-nums}.audit-list h3{font-size:13px;font-weight:500;overflow-wrap:anywhere}.audit-list p{font-size:11px;color:#8a96aa;line-height:1.9;margin:5px 0;overflow-wrap:anywhere}.audit-list small{font-size:10px;color:#a7afbc}.empty-records{padding:55px 30px;text-align:center}.empty-records h2{font-size:17px;font-weight:500;margin-bottom:9px}.empty-records p{font-size:12px;color:#8a96a9}
dialog{position:fixed;border:1px solid #e4e8f1;border-radius:11px;padding:0;width:535px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);background:#fff;box-shadow:0 24px 90px #17203320}dialog::backdrop{background:#1720334d;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:24px 27px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:19px;font-weight:550;letter-spacing:-.025em}.icon-button{display:grid;place-items:center;width:31px;height:31px;border:0;background:transparent;border-radius:5px;color:#8b98ad}.icon-button:hover{background:#f4f6fb}.dialog-body{padding:23px 27px 27px}.dialog-intro{font-size:12px;color:#8592a6;line-height:1.9;margin-bottom:23px}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:25px}.context-note.compact{margin-bottom:0;margin-top:4px;font-size:10px}.detail-status{display:flex;gap:12px;align-items:center;margin:0 0 21px;flex-wrap:wrap}.detail-status h3{font-size:18px;font-weight:500;overflow-wrap:anywhere}.detail-list{display:grid;grid-template-columns:105px minmax(0,1fr);gap:13px;margin:0 0 29px;padding-bottom:25px;border-bottom:1px solid var(--line);font-size:12px}.detail-list dt{color:#95a0b2;font-size:11px}.detail-list dd{margin:0;overflow-wrap:anywhere;font-size:12px}.detail-list dd.mono{font-size:11px}.capability-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.dialog-note{font-size:11px;color:#8b97aa;line-height:1.9;margin-top:22px}
@media(min-width:1500px){.auth-aside{padding-left:80px}.auth-thesis h1{font-size:54px}.workspace main{padding-top:48px}}
@media(max-width:1100px){.shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding:29px 15px}.workspace main{padding:32px 28px 50px}.topbar{padding:17px 28px}.account-actions{flex-direction:column;align-items:flex-end;gap:7px}.settings-layout{gap:30px;grid-template-columns:minmax(0,1fr) 200px}.auth-aside{padding:35px}.auth-thesis h1{font-size:39px}.auth-main{padding:40px 32px}.page-head{align-items:flex-start}.page-head .actions{max-width:270px}.settings-note h2{font-size:20px}}
@media(max-width:800px){.auth-layout{display:block}.auth-aside{min-height:auto;padding:27px 30px;border-right:0;border-bottom:1px solid var(--line)}.auth-thesis,.auth-aside>small{display:none}.auth-main{padding:38px 25px 50px;min-height:calc(100dvh - 90px);align-items:flex-start}.auth-form-wrap{max-width:440px}.shell{display:block}.sidebar{position:relative;height:auto;padding:23px 22px 10px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:0}.sidebar-caption{display:inline-block;margin:0 0 0 14px;font-size:10px}.nav-label,.sidebar-bottom,.prototype-link{display:none}.sidebar nav{display:flex;gap:5px;margin-top:18px;overflow:auto;padding-bottom:3px}.nav-item{width:auto;flex-shrink:0;padding:9px 12px;min-height:38px;font-size:11px;gap:8px}.nav-item svg{width:15px;height:15px}.topbar{padding:13px 23px;min-height:61px}.merchant-name{gap:10px}.merchant-name strong{font-size:12px}.merchant-name>span{font-size:9px}.user-menu{gap:7px;font-size:10px}.user-role{display:none}.user-menu .button{font-size:10px;margin:0}.workspace main{padding:30px 23px 45px}.page-head{gap:20px;margin-bottom:27px;flex-wrap:wrap}.page-head h1{font-size:28px}.page-head .actions{max-width:100%;justify-content:flex-start}.metric-grid{gap:16px;padding-bottom:26px;margin-bottom:24px}.metric-grid strong{font-size:34px}.metric-grid>div{padding-right:10px}.metric-grid small{font-size:9px}.settings-layout{grid-template-columns:1fr;gap:20px}.settings-note{max-width:none;padding:18px 0}.settings-note h2 br{display:none}.settings-note h2{font-size:19px}.settings-note>p:not(.eyebrow){max-width:600px}.settings-note .eyebrow{font-size:9px}.audit-list li{grid-template-columns:140px 1fr;gap:18px}.panel-head{padding:20px 23px}.account-row{padding:21px 23px}.empty-account{padding:33px 25px}.split-panels{gap:30px}.text-panel h2{font-size:15px}.context-note{flex-wrap:wrap;gap:3px}.form-body{padding:23px}}
@media(max-width:480px){.sidebar{padding:22px 18px 8px}.sidebar .brand{font-size:21px}.sidebar-caption{font-size:9px;margin-left:8px}.nav-item{padding:9px 10px;gap:6px;font-size:10px}.topbar{padding:12px 18px;gap:12px;flex-wrap:wrap}.merchant-name{max-width:100%}.merchant-name>span{display:none}.user-menu>span:first-child{max-width:80px}.workspace main{padding:28px 18px 40px}.page-head h1{font-size:27px}.page-head>div>p:last-child{font-size:11px;line-height:1.85}.page-head .actions{gap:8px}.button{font-size:11px;padding:9px 12px}.metric-grid{gap:10px}.metric-grid span{font-size:10px}.metric-grid small{font-size:9px;line-height:1.6;display:block}.metric-grid strong{font-size:31px;margin:7px 0 4px}.split-panels{grid-template-columns:1fr;gap:27px}.text-panel{padding-bottom:20px;border-bottom:1px solid var(--line)}.empty-account{padding:32px 20px}.empty-account h2{font-size:19px}.empty-account>p:not(.eyebrow){font-size:11px}.panel-head{padding:20px;align-items:flex-start;flex-wrap:wrap;gap:11px}.panel-head h2{font-size:14px}.panel-head .button{font-size:10px}.account-row{padding:21px 19px;gap:12px;flex-wrap:wrap}.account-symbol{width:34px;height:34px;flex-basis:34px;font-size:13px}.account-copy{flex-basis:calc(100% - 50px)}.account-title h3{font-size:13px}.account-actions{flex-direction:row;margin-left:46px;gap:16px;padding-top:3px}.account-copy>p{font-size:10px}.account-copy .mono{font-size:10px}.account-copy>small{font-size:9px}.account-actions .button{font-size:10px}.form-body{padding:21px 20px}.form-columns{gap:12px}.field>span{font-size:11px}.field input,.field textarea{font-size:13px;padding:10px 11px}.field>small{font-size:10px}.form-end{flex-wrap:wrap}.form-end>small{font-size:9px}.audit-list{padding:0 21px}.audit-list li{display:block;padding:21px 0}.audit-list time{display:block;margin-bottom:7px;font-size:9px}.audit-list h3{font-size:12px}.audit-list p{font-size:10px}.audit-list small{font-size:9px}dialog{max-width:calc(100vw - 22px);max-height:calc(100dvh - 28px)}.dialog-head{padding:20px}.dialog-head h2{font-size:18px}.dialog-body{padding:20px}.dialog-intro{font-size:11px}.detail-list{grid-template-columns:91px minmax(0,1fr);gap:12px}.detail-list dt{font-size:10px}.detail-list dd{font-size:11px}.detail-list dd.mono{font-size:10px}.auth-main{padding:32px 24px 45px}.auth-form-wrap h2{font-size:25px}.auth-description{font-size:11px}.auth-aside{padding:24px}.auth-footnote{font-size:10px}}

/* Business knowledge, published reception policy and real web consultation. */
.field select{width:100%;max-width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #dce2ed;border-radius:6px;background:#fff;font-size:12px;outline:none}.field select:focus{border-color:#91a8f0;box-shadow:0 0 0 3px #365fe809}.preparation-row{display:flex;align-items:center;gap:22px;padding:24px 28px;border-bottom:1px solid var(--line)}.preparation-row:last-child{border:0}.preparation-row>div{flex:1;min-width:0}.preparation-row h3{font-size:14px;font-weight:550}.preparation-row p{font-size:11px;color:#8795a9;line-height:1.85;margin-top:5px}.step-index{font-size:11px;font-variant-numeric:tabular-nums;color:#a4aec0}.preparation-row .button{font-size:11px}.knowledge-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:25px;align-items:start}.knowledge-sidebar{position:sticky;top:22px;max-height:calc(100dvh - 50px);display:flex;flex-direction:column}.knowledge-sidebar-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 18px 12px}.knowledge-sidebar-head strong{display:block;font-size:13px;font-weight:550}.knowledge-sidebar-head small{font-size:10px}.knowledge-sidebar-head .button{font-size:10px}.knowledge-filter{display:block;padding:0 17px 15px}.knowledge-filter select{width:100%;border:1px solid var(--line);border-radius:5px;background:#f9fafc;padding:8px 10px;font-size:11px}.knowledge-items{overflow:auto;border-top:1px solid var(--line)}.knowledge-item{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;border:0;border-bottom:1px solid #edf0f5;background:#fff;padding:18px 18px 19px;line-height:1.65}.knowledge-item:last-child{border-bottom:0}.knowledge-item:hover{background:#fafbff}.knowledge-item.active{background:#f1f5ff;box-shadow:inset 2px 0 #7390eb}.knowledge-item>small{font-size:9px;color:#9ba7b9}.knowledge-item>strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.knowledge-item .status-chip{font-size:9px;white-space:normal;text-align:left;justify-content:flex-start}.list-empty{padding:25px 18px;color:#95a0b3;font-size:11px;line-height:1.8}.knowledge-editor .panel-head{align-items:flex-start}.knowledge-editor .panel-head .status-chip{white-space:normal;max-width:230px}.knowledge-editor .form-body{padding:25px 28px}.knowledge-welcome{padding:76px 35px 65px;text-align:center}.knowledge-welcome h2{font-size:24px;font-weight:500;letter-spacing:-.03em}.knowledge-welcome>p:not(.eyebrow){max-width:370px;margin:15px auto 26px;font-size:12px;line-height:1.95;color:#8592a7}.knowledge-welcome>small{display:block;font-size:10px;margin:19px auto 0;color:#a0abbd}.file-import{padding:16px 17px;background:#f7f9fd;border-radius:6px;margin-top:3px}.file-import input{padding:6px 0;border:0;background:transparent;font-size:11px;min-height:32px}.file-import input::file-selector-button{margin-right:12px;padding:7px 11px;border:1px solid #dce3ef;border-radius:4px;background:#fff;color:#6b7c98;font-size:11px;cursor:pointer}.field .knowledge-content{min-height:340px;font-size:12px;line-height:1.95}.editor-save-state{font-size:10px;line-height:1.8;color:#98a3b5}.publication-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:29px;padding-top:25px;border-top:1px solid var(--line)}.publication-actions h3{font-size:12px;font-weight:550;margin-bottom:6px}.publication-actions p{font-size:10px;color:#919eb1;line-height:1.9;max-width:365px}.publication-actions .actions{flex-shrink:0;gap:12px}.publication-actions .button{font-size:11px}.published-snapshot{margin-top:26px;border-top:1px solid var(--line);padding-top:17px}.published-snapshot summary{font-size:11px;color:#7b8ca8;cursor:pointer;line-height:1.9;overflow-wrap:anywhere}.published-snapshot>div{margin-top:17px;padding:17px;background:#f8faff;border:1px solid #e9edf7;border-radius:5px}.published-snapshot h3{font-size:13px;font-weight:500;margin-bottom:7px}.published-snapshot small{display:block;font-size:10px;overflow-wrap:anywhere}.published-snapshot pre,.preview-sources pre{font-family:inherit;font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:13px 0 0;color:#718299}.version-conflict{border-left:2px solid #d6ac76;background:#fcf7ef;padding:15px 17px;margin-bottom:25px}.version-conflict strong{font-size:12px;color:#94784f;font-weight:500}.version-conflict p{font-size:11px;line-height:1.85;color:#9a876a;margin:6px 0}.version-conflict .button{color:#8e764e;font-size:11px}.policy-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:34px;align-items:start}.policy-published{padding:5px 0 22px}.policy-published h2{font-size:18px;font-weight:500;line-height:1.5;margin-bottom:12px}.policy-published h3{font-size:11px;font-weight:550;color:#70809a;margin:22px 0 6px}.policy-published p{font-size:12px;line-height:1.9;color:#8996aa;white-space:pre-wrap;overflow-wrap:anywhere}.policy-published .policy-empty{font-size:12px;margin:13px 0 0}.policy-published .status-chip{font-size:10px}.policy-layout .publication-actions{flex-wrap:wrap}.model-config{margin-top:12px}.model-config>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;cursor:pointer;font-size:12px;font-weight:500;list-style:none}.model-config>summary::after{content:'+';font-size:18px;font-weight:400;color:#91a1bd}.model-config[open]>summary::after{content:'−'}.model-config>summary .status-chip{margin-left:auto}.model-body{border-top:1px solid var(--line);padding:19px}.model-description{font-size:11px;line-height:1.9;color:#8795aa;margin-bottom:13px}.model-body>small{display:block;font-size:10px;margin-bottom:19px}.model-body .field{margin:20px 0 13px}.model-body .field input{font-size:12px}.model-body .button.text{margin-top:13px}.model-body .page-footnote{font-size:10px;margin:16px 0 0}.preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:32px;align-items:start}.consultation-panel{min-width:0}.consultation-panel .panel-head{align-items:flex-start}.consultation-panel .panel-head p{max-width:450px;line-height:1.9}.consultation-turns{padding:10px 26px 0;max-height:68vh;overflow:auto}.consultation-empty{text-align:center;padding:61px 26px 64px}.consultation-empty h3{font-size:18px;font-weight:500;letter-spacing:-.02em}.consultation-empty p{font-size:11px;color:#95a0b3;max-width:345px;line-height:1.95;margin:12px auto 0}.consultation-turn{padding:17px 0 23px;border-bottom:1px solid var(--line)}.consultation-turn:last-child{border-bottom:0}.question-row{margin:0 0 20px;padding:15px 17px;background:#f3f6fd;border-radius:7px}.question-row small{font-size:9px;color:#93a4c0;letter-spacing:.03em}.question-row p{font-size:13px;line-height:1.9;color:#607697;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.answer-row{padding:0 1px}.answer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;flex-wrap:wrap}.answer-heading strong{font-size:13px;font-weight:550}.answer-heading .status-chip{font-size:9px}.reply-text{font-size:13px;line-height:1.95;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 13px}.preview-reason{font-size:11px;color:#8a96aa;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap}.preview-meta{display:flex;gap:7px 15px;flex-wrap:wrap;font-size:9px;color:#a3adbc;margin:13px 0 0}.preview-sources{margin-top:20px}.preview-sources h4{font-size:11px;font-weight:500;margin:0 0 8px;color:#7c8ba2}.preview-sources h4 span{font-weight:400;color:#a3adbd;margin-left:8px;font-size:9px}.preview-sources details{border:1px solid #e9edf4;border-radius:5px;margin-bottom:7px;background:#fcfdff}.preview-sources summary{padding:10px 12px;display:flex;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;font-size:11px;color:#7586a4}.preview-sources summary:before{content:'›';color:#9eacc5}.preview-sources details[open] summary:before{content:'⌄'}.preview-sources summary span{flex:1;overflow-wrap:anywhere}.preview-sources summary small{font-size:9px;white-space:nowrap}.preview-sources details>div{border-top:1px solid #edf0f6;padding:12px}.preview-sources details>div p{font-size:10px;color:#98a4b6;overflow-wrap:anywhere}.preview-sources pre{font-size:11px;max-height:360px;overflow:auto}.source-empty{font-size:10px;color:#a3acba;line-height:1.9}.consultation-compose{padding:24px 26px;border-top:1px solid var(--line);background:#fff}.consultation-compose textarea{min-height:110px;font-size:12px}.consultation-compose .field{margin-bottom:17px}.consultation-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.consultation-actions>div>small{font-size:10px;line-height:1.8}.consultation-actions .button{font-size:11px}.preview-history{min-width:0;padding-top:4px}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.history-heading h2{font-size:13px;font-weight:550}.history-heading .button{font-size:10px}.preview-history>.page-footnote{font-size:10px;margin:9px 0 14px}.history-item{display:block;width:100%;padding:17px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.history-item span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.85;font-size:12px;color:#77859c;overflow-wrap:anywhere}.history-item small{display:block;font-size:9px;color:#a3adbc;margin-top:7px;line-height:1.7}.history-item:hover span,.history-item.active span{color:#4266bf}.history-item.active{border-bottom-color:#c6d3f4}
@media(max-width:1250px){.knowledge-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.knowledge-editor .form-body{padding:22px}.publication-actions{flex-wrap:wrap}.policy-layout{grid-template-columns:minmax(0,1fr) 260px;gap:25px}.preview-layout{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.consultation-turns{padding:10px 22px 0}.consultation-compose{padding:21px 22px}.knowledge-sidebar-head{padding:17px 14px 12px}.knowledge-sidebar-head .button{font-size:9px}.knowledge-item{padding:17px 14px}.knowledge-filter{padding:0 14px 14px}}
@media(max-width:1000px){.policy-layout{grid-template-columns:1fr}.policy-side{display:grid;grid-template-columns:1fr 1fr;gap:28px}.model-config{align-self:start;margin-top:0}.policy-published{padding:6px 0}.preview-layout{grid-template-columns:1fr}.preview-history{padding-top:12px}.preview-history .history-item{padding:14px 0}.consultation-turns{max-height:65vh}.knowledge-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.knowledge-editor .form-columns{grid-template-columns:1fr;gap:0}.knowledge-sidebar-head{display:block}.knowledge-sidebar-head>div{display:flex;align-items:center;gap:12px}.knowledge-sidebar-head .button{margin-top:5px}.knowledge-editor .panel-head{flex-wrap:wrap;gap:10px}.knowledge-editor .panel-head .status-chip{max-width:100%}.publication-actions .actions{flex-shrink:1}}
@media(max-width:800px){.knowledge-layout{grid-template-columns:1fr}.knowledge-sidebar{position:static;max-height:none}.knowledge-sidebar-head{display:flex;align-items:center;padding:15px 18px 10px}.knowledge-sidebar-head .button{margin-top:0}.knowledge-filter{padding:0 18px 13px}.knowledge-items{display:flex;max-height:145px;overflow-x:auto}.knowledge-item{width:190px;min-width:190px;border-bottom:0;border-right:1px solid #edf0f5;padding:15px 18px}.knowledge-item.active{box-shadow:inset 0 -2px #7390eb}.knowledge-item strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.knowledge-item .status-chip{font-size:8px}.knowledge-editor .form-columns{grid-template-columns:1fr 1fr;gap:20px}.knowledge-welcome{padding:45px 27px}.policy-side{gap:24px}.preparation-row{padding:22px;gap:16px}.preparation-row p{font-size:10px}.preparation-row .button{font-size:10px}.consultation-turns{max-height:70vh}.sidebar nav{max-width:100%}}
@media(max-width:480px){.knowledge-layout{gap:17px}.knowledge-editor .form-body{padding:21px 19px}.knowledge-editor .form-columns{grid-template-columns:1fr;gap:0}.knowledge-sidebar-head strong{font-size:12px}.knowledge-item{width:175px;min-width:175px;padding:14px 16px}.knowledge-item strong{font-size:11px}.knowledge-welcome{padding:40px 22px}.knowledge-welcome h2{font-size:20px}.knowledge-welcome>p:not(.eyebrow){font-size:11px}.file-import{padding:14px 12px}.file-import input{font-size:10px}.field .knowledge-content{min-height:270px;font-size:12px}.knowledge-editor .form-end{gap:12px;align-items:flex-start}.knowledge-editor .form-end .actions{margin-left:auto}.publication-actions{margin-top:23px;padding-top:22px;gap:15px}.publication-actions .actions{gap:15px}.publication-actions .button{font-size:10px}.published-snapshot summary{font-size:10px}.published-snapshot>div{padding:14px}.published-snapshot pre{font-size:11px}.policy-side{display:block}.policy-published{padding:12px 0 25px}.model-config{margin-top:6px}.policy-layout{gap:17px}.model-config>summary{font-size:12px}.model-body{padding:18px}.preparation-row{padding:20px;gap:12px;flex-wrap:wrap}.preparation-row>div{flex-basis:calc(100% - 32px)}.preparation-row>.button{margin-left:26px}.preparation-row h3{font-size:13px}.consultation-panel .panel-head{gap:12px}.consultation-panel .panel-head p{font-size:10px}.consultation-turns{padding:8px 18px 0;max-height:68vh}.consultation-empty{padding:42px 12px}.consultation-empty h3{font-size:16px}.consultation-empty p{font-size:10px}.question-row{padding:13px 14px}.question-row p{font-size:12px}.answer-heading strong{font-size:12px}.reply-text{font-size:12px}.preview-reason{font-size:10px}.preview-meta{font-size:8px}.consultation-compose{padding:22px 18px}.consultation-compose .field>small{font-size:9px}.consultation-actions{gap:13px}.consultation-actions .actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.consultation-actions .button{font-size:10px;padding:9px 7px}.preview-sources summary{font-size:10px}.version-conflict{padding:13px 14px}.version-conflict strong{font-size:11px}.version-conflict p{font-size:10px}.knowledge-sidebar .list-empty{padding:18px}.history-item span{font-size:11px}}
/* Price declarations stay within the existing knowledge form and visual palette. */
.price-evidence-editor {margin:24px 0;padding:20px;border:1px solid var(--line,#ddd);border-radius:12px;min-width:0;}
.price-evidence-editor .panel-head {padding:0;margin-bottom:12px;gap:12px;flex-wrap:wrap;}
.price-evidence-editor p {line-height:1.65;}
.price-evidence-row {margin:16px 0;padding:16px;border:1px solid var(--line,#ddd);border-radius:8px;min-width:0;}
.price-evidence-row legend {padding:0 6px;}
.price-evidence-row textarea {width:100%;min-width:0;}
.price-confirmation {display:flex;align-items:flex-start;gap:10px;line-height:1.65;margin:14px 0;}
.price-confirmation input {width:18px;min-width:18px;flex:0 0 18px;margin-top:4px;}
#policy-form input[type="checkbox"][data-policy-path]{width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:0}
.price-notice,.price-status-note {font-size:13px;color:var(--muted,#666);}
.price-status-list {padding-left:20px;}
.price-status-list blockquote {margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere;}
@media (max-width:640px) {.price-evidence-editor,.price-evidence-row {padding:12px;}}
/* B1 views reuse the workspace palette and native controls. */
.b1-layout{display:grid;grid-template-columns:265px minmax(0,1fr);gap:24px;align-items:start}.b1-note{padding:24px;margin-bottom:22px}.b1-note>p,.b1-note fieldset>p{margin:10px 0;color:var(--muted);font-size:12px;line-height:1.85}.b1-note fieldset{border:0;padding:0;margin:0;min-width:0}.b1-customer-list{overflow:hidden;min-width:0}.b1-customer-list>p{padding:18px}.b1-fact{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.b1-current p{font-size:13px;margin-top:8px}.b1-source{font-size:11px;color:var(--muted);margin-top:10px}.b1-fact blockquote{margin:9px 0;padding:9px 12px;background:var(--bg);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.b1-fact small{overflow-wrap:anywhere}.b1-fact details{padding:12px;background:var(--bg);margin-top:12px}.b1-fact details article{padding:14px 0;border-bottom:1px solid var(--line)}.b1-tags{display:flex;flex-wrap:wrap;gap:15px;padding:20px 0}.b1-tags label,.b1-check{display:flex;align-items:center;gap:8px;font-size:12px}.b1-tags input,.b1-check input{width:16px;min-height:16px;margin:0}.b1-config-section{padding:22px 0;border-top:1px solid var(--line);margin-top:20px}.b1-config-section h2{font-size:17px;margin-bottom:18px}.b1-note fieldset.b1-config-row{border:1px solid var(--line);border-radius:7px;padding:18px;margin-bottom:17px}.b1-config-row legend{padding:0 7px;font-size:12px;color:var(--muted)}.b1-config-row .b1-check{margin:15px 0}.b1-validation{padding:18px;background:var(--accent-soft);margin-top:18px;font-size:12px;overflow-wrap:anywhere}.b1-errors{padding:16px 25px;background:#fcf7ef;font-size:12px;overflow-wrap:anywhere}.b1-note h2{font-size:19px;margin-bottom:15px}.b1-note .form-end{flex-wrap:wrap}.b1-note fieldset:disabled{opacity:.8}
@media(max-width:1000px){.b1-layout{grid-template-columns:220px minmax(0,1fr);gap:18px}.b1-note{padding:20px}.b1-config-row .form-columns{grid-template-columns:1fr}}
@media(max-width:800px){.b1-layout{grid-template-columns:1fr}.b1-customer-list .knowledge-item{width:100%;min-width:0}.b1-note .form-columns{grid-template-columns:1fr}}
@media(max-width:480px){.b1-note{padding:18px}.b1-note fieldset.b1-config-row{padding:12px}.b1-note .button{white-space:normal}.b1-fact .form-columns{gap:0}.b1-current{overflow-wrap:anywhere}}
/* 「按客户设是否允许全自动回复」：详情面板里的一块独立区域，与事实编辑在视觉上分开，
   让"这是权限"和"这是资料"一眼能分辨。 */
.b1-control{border:1px solid var(--line);border-radius:7px;padding:18px;margin:20px 0;background:var(--bg)}
.b1-control h3{font-size:15px;margin-bottom:12px}
.b1-control p{margin:7px 0;font-size:12px;color:var(--muted);line-height:1.85;overflow-wrap:anywhere}
.b1-control .b1-control-note{padding:10px 12px;border-left:3px solid var(--accent-soft);background:var(--accent-soft)}
.b1-control-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.b1-control .field{margin-top:10px}
/* Conversation entry status reuses the workspace panel and button styles. */
.conversation-entry-status{padding:24px;}
.conversation-entry-status small{display:block;margin:8px 0;}
.conversation-entry-status .actions{flex-wrap:wrap;margin:20px 0;}
/* 复核标注（response.reviewFlags）：后端只记录不拦截，页面必须让人看见是哪一句要自己核对。 */
.review-flags{margin:13px 0 0;padding:12px 14px;background:#fcf8f1;border:1px solid #e8dcc6;border-radius:5px;font-size:11px;line-height:1.9;color:#8a7452}
.review-flags h4{margin:0;font-size:11px;font-weight:550;color:#8a6f45}.review-flags h4 span{font-weight:400;color:#a08c6d}
.review-flags ul{margin:8px 0 0;padding-left:17px}.review-flags li{margin-bottom:7px}.review-flags li strong{font-weight:550}
.review-flags-text{margin:3px 0;white-space:pre-wrap;color:#7d6b4e}
.review-flags-reason{display:block;font-size:10px;color:#9a8a6c}
.review-flags-note{display:block;font-size:10px;color:#a4967e}.review-flags-hint{margin:8px 0 0;font-size:10px;color:#a4967e}
/* 客户辅助：阶段徽章与「她现在在哪一步」面板（按老板给的设计稿） */
.cw-stage-badge{display:inline-block;padding:2px 9px;border-radius:6px;background:#fdf1e6;color:#b4621f;font-size:12px;font-style:normal;font-weight:600;white-space:nowrap}
.cw-stage-badge.empty{background:#f2f3f6;color:#8b93a3;font-weight:400}
.cw-cust-top{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%}
.cw-stage-panel{border:1px solid #e6e9ef;border-radius:10px;background:#fff;padding:18px 20px;margin:0 0 16px}
.cw-stage-panel>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:12px;border-bottom:1px dashed #e6e9ef}
.cw-stage-panel>header h3{margin:0 0 4px;font-size:16px}
.cw-stage-panel>header p{margin:0;font-size:12px;color:#7b8496}
.cw-stage-panel dl{margin:0}
.cw-stage-panel dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px dashed #eef0f4;font-size:13.5px}
.cw-stage-panel dl>div:last-child{border-bottom:0}
.cw-stage-panel dt{color:#7b8496}
.cw-stage-panel dd{margin:0;color:#202939;overflow-wrap:anywhere}
@media(max-width:640px){.cw-stage-panel dl>div{grid-template-columns:1fr;gap:3px}}
/* 客户名单：统计卡 + 表格（按设计稿） */
.cw-cust-page{display:grid;gap:16px}
.cw-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:20px 24px}
.cw-stat{display:grid;gap:2px}
.cw-stat>span{font-size:12.5px;color:#7b8496}
.cw-stat>strong{font-size:30px;line-height:1.15;color:#172033;font-weight:600}
.cw-stat>small{font-size:12px;color:#9aa3b2}
.cw-list-panel{padding:18px 20px}
.cw-filter-row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid #eef0f4}
.cw-filter-row .field{margin:0;min-width:150px}
.cw-table-head{padding:16px 0 10px}
.cw-table-head h3{margin:0 0 3px;font-size:15.5px}
.cw-table-head p{margin:0;font-size:12.5px;color:#7b8496}
.cw-table{width:100%;border-collapse:collapse;font-size:13.5px}
.cw-table th{text-align:left;font-weight:500;color:#7b8496;font-size:12.5px;padding:10px 12px;border-bottom:1px solid #e6e9ef;background:#fafbfc}
.cw-table td{padding:12px;border-bottom:1px dashed #eef0f4;color:#26303f}
.cw-table tr.active td{background:#f5f8ff}
.cw-name{border:0;background:none;padding:0;font:inherit;font-weight:600;color:#1f2b3d;cursor:pointer;text-align:left}
.cw-name:hover{color:#365fe8;text-decoration:underline}
.cw-nil{color:#a2aab8;font-size:12.5px}
@media(max-width:900px){.cw-stats{grid-template-columns:1fr}.cw-table{display:block;overflow-x:auto}}
.cw-search{min-width:220px !important}
.cw-search input{width:100%;padding:9px 11px;border:1px solid #dfe3ea;border-radius:8px;font:inherit;color:#172033}
.cw-pager{display:flex;align-items:center;gap:10px;padding:16px 0 4px}
.cw-page-num{font-size:13px;color:#7b8496;margin-right:auto}
/* 「今天该开口」面板：一句话一段，按钮放右下，不抢列表的注意力 */
.cw-outreach{display:flex;flex-direction:column;gap:10px}
.cw-outreach .cw-table-head p{color:#6a7484;font-size:13px}
.cw-outreach-item{border:1px solid #e8ebf0;border-radius:10px;padding:10px 12px;background:#fbfcfe}
.cw-outreach-item header{display:flex;align-items:baseline;gap:8px}
.cw-outreach-item header small{color:#8a93a1;font-size:12px}
.cw-outreach-item p{margin:6px 0;white-space:normal;line-height:1.6;color:#2b3240}
.cw-outreach-item>small{color:#6a7484;font-size:12px}
.cw-outreach-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:6px}

/* 数据看板：今天收到/回了/真发/待开口 + 7 天小柱图 */
.cw-metrics{padding:20px 24px;margin-bottom:16px}
.cw-metrics header h2{margin:0 0 4px;font-size:18px}
.cw-metrics header p{margin:0 0 16px;color:#6b7280;font-size:13px}
.cw-metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cw-metric{background:#f8fafc;border:1px solid #eef2f7;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.cw-metric span{font-size:13px;color:#6b7280}
.cw-metric strong{font-size:28px;font-weight:700;line-height:1.1;color:#111827}
.cw-metric small{font-size:12px;color:#9ca3af}
.cw-bars{display:flex;align-items:flex-end;gap:10px;height:90px;margin:18px 0 6px}
.cw-bar{flex:1;display:flex;align-items:flex-end;justify-content:center;gap:3px;position:relative;height:100%}
.cw-bar i,.cw-bar b{width:8px;border-radius:3px 3px 0 0;display:block}
.cw-bar i{background:#93c5fd}
.cw-bar b{background:#2563eb}
.cw-bar span{position:absolute;bottom:-18px;font-size:11px;color:#9ca3af}
.cw-bars{padding-bottom:18px}
.cw-legend{display:flex;gap:14px;align-items:center;font-size:12px;color:#6b7280;margin:0 0 6px}
.cw-legend i,.cw-legend b{width:8px;height:8px;border-radius:2px;display:inline-block}
.cw-legend i{background:#93c5fd}
.cw-legend b{background:#2563eb}
.cw-metrics-foot{margin:6px 0 0;font-size:12px;color:#9ca3af}
@media(max-width:900px){.cw-metric-row{grid-template-columns:1fr 1fr}}

/* 跟进节奏：一个阶段一张小卡，左边阶段、右边天数和话术 */
.cw-rhythm-list{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.cw-rhythm-row{display:grid;grid-template-columns:70px 1fr;gap:14px;border:1px solid #e8ebf0;border-radius:10px;padding:12px 14px;background:#fbfcfe}
.cw-rhythm-id{display:flex;flex-direction:column;gap:2px}
.cw-rhythm-id strong{font-size:15px;color:#172033}
.cw-rhythm-id small{font-size:12px;color:#8a93a1}
.cw-rhythm-fields{display:flex;flex-direction:column;gap:8px;min-width:0}
.cw-rhythm-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#4b5563}
.cw-rhythm-day-wrap{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.cw-rhythm-line input[type=number]{width:62px;padding:5px 8px;border:1px solid #dfe3ea;border-radius:7px;font:inherit;text-align:center}
.cw-rhythm-action{flex:1;min-width:160px;padding:7px 10px;border:1px solid #dfe3ea;border-radius:8px;font:inherit;color:#172033;background:#fff}
.cw-rhythm-template{width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid #dfe3ea;border-radius:8px;font:inherit;line-height:1.6;resize:vertical;background:#fff;color:#26303f}
.cw-switch{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:#6b7280}
.cw-rhythm-foot{display:flex;align-items:center;gap:10px;padding-top:14px;margin-top:12px;border-top:1px solid #eef0f4;flex-wrap:wrap}
.cw-rhythm-foot small{color:#8a93a1;font-size:12px;flex:1;min-width:200px}

/* 不许说的话：一条一个胶囊行，两列排 */
.cw-terms{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px;margin-top:12px}
.cw-term-row{display:flex;align-items:center;gap:8px;background:#fbfcfe;border:1px solid #e8ebf0;border-radius:9px;padding:7px 10px}
.cw-term{width:110px;padding:6px 8px;border:1px solid #dfe3ea;border-radius:7px;font:inherit;font-weight:600;color:#172033;background:#fff}
.cw-term-note{flex:1;min-width:0;padding:6px 8px;border:1px solid #eef0f4;border-radius:7px;font:inherit;font-size:12.5px;color:#6b7280;background:#fff}
.cw-term-del{border:0;background:none;color:#b42318;font-size:12.5px;cursor:pointer;padding:4px 2px}
.cw-term-del:hover{text-decoration:underline}
@media(max-width:1000px){.cw-terms{grid-template-columns:1fr}}
@media(max-width:700px){.cw-rhythm-row{grid-template-columns:1fr}}

/* 「我记得的事」：老板手写的长期记忆 */
.cw-memory{margin-top:16px}
.cw-memory-list{list-style:none;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:8px}
.cw-memory-list li{display:flex;align-items:baseline;gap:10px;background:#fbfcfe;border:1px solid #e8ebf0;border-radius:9px;padding:9px 12px;font-size:13.5px;color:#26303f}
.cw-memory-list li span{flex:1;min-width:0;line-height:1.6;word-break:break-word}
.cw-memory-list li small{color:#98a1ae;font-size:11.5px;white-space:nowrap}
.cw-memory-list li.empty{color:#98a1ae;justify-content:center;background:#fafbfd;border-style:dashed}
.cw-memory-add{display:flex;gap:10px;align-items:flex-start}
.cw-memory-add textarea{flex:1;min-width:0;padding:9px 11px;border:1px solid #dfe3ea;border-radius:9px;font:inherit;line-height:1.6;resize:vertical;background:#fff;color:#26303f}
.cw-memory-add button{flex:none;margin-top:2px}

/* 导入历史聊天：一块可粘贴的记录框 + 读完之后的结果清单 */
.cw-import{padding:20px 22px}
.cw-import-input{width:100%;box-sizing:border-box;margin-top:12px;padding:12px 14px;border:1px solid #dfe3ea;border-radius:10px;font:inherit;font-size:13.5px;line-height:1.75;resize:vertical;background:#fff;color:#26303f}
.cw-import-actions{display:flex;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.cw-import-actions small{color:#8a93a1;font-size:12px}
.cw-import-hint{margin-top:10px;color:#6b7280;font-size:13px;line-height:1.7}
.cw-import-result{margin-top:14px;padding:12px 14px;border:1px solid #e6ebf2;border-radius:10px;background:#fbfcfe}
.cw-import-result p{margin:0 0 8px;font-size:13px;color:#374151}
.cw-import-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.cw-import-list li{font-size:13px;color:#26303f;line-height:1.6}
.cw-import-list li span{display:inline-block;min-width:78px;padding-right:10px;color:#8a93a1;font-size:12px}

/* 群消息：只留记录，不参与接待 */
.cw-group{padding:18px 22px}
.cw-group-list{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:7px}
.cw-group-list li{font-size:13px;color:#26303f;line-height:1.6}
.cw-group-list .cw-group-room{display:inline-block;min-width:120px;padding-right:10px;color:#8a93a1;font-size:12px}

/* 客户标签（2026-10-18） */
.cw-tags-cell{display:inline-flex;gap:4px;flex-wrap:wrap}
.cw-tag{display:inline-flex;align-items:center;gap:3px;background:#eef4ff;color:#24407a;border-radius:999px;padding:2px 9px;font-size:12px;line-height:20px;white-space:nowrap}
.cw-tag-x{border:0;background:none;color:#7b8aa8;cursor:pointer;font-size:13px;line-height:1;padding:0 1px}
.cw-tag-x:hover{color:#b42318}
.cw-tagbox .cw-taglist{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}
.cw-tagadd{display:flex;gap:8px;align-items:center}
.cw-tag-select{min-width:160px;padding:7px 10px;border:1px solid #dfe3ea;border-radius:8px;font:inherit;background:#fff}
.cw-tagstats-list{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px 16px}
.cw-tagstats-list li{display:flex;align-items:center;gap:8px;background:#fbfcfe;border:1px solid #eceff4;border-radius:9px;padding:8px 11px}
.cw-tagstats-list .cw-tag-name{font-weight:600;color:#172033;font-size:13.5px}
.cw-tagstats-list small{color:#8a93a1;font-size:12px}
.cw-tagstats-list strong{margin-left:auto;color:#24407a;font-size:14px}

/* 成交 A 版：独立页范围，不影响会话与 B04 布局。 */
.deal-workbench .deal-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.deal-workbench .deal-filters [aria-pressed="true"]{background:var(--ink,#253832);color:white}
.deal-workbench .deal-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.deal-workbench .deal-column{min-width:0;background:#f2f5f3;border-radius:12px;padding:12px}
.deal-workbench .deal-column>h2{font-size:16px;display:flex;justify-content:space-between;margin:0 0 14px}
.deal-workbench .deal-card{background:white;border:1px solid #dce4df;border-radius:10px;padding:14px;margin-bottom:12px;overflow-wrap:anywhere}
.deal-workbench .deal-card header{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;align-items:baseline}
.deal-workbench .deal-card h3{font-size:16px;margin:0}.deal-workbench .deal-card header>span{font-size:12px;color:#53675d}
.deal-workbench .deal-product{font-weight:650}.deal-workbench .deal-card dl{display:grid;grid-template-columns:64px minmax(0,1fr);font-size:13px;gap:6px;margin:12px 0}
.deal-workbench .deal-card dt{color:#607166}.deal-workbench .deal-card dd{margin:0}
.deal-workbench .deal-actions{display:flex;flex-wrap:wrap;gap:8px}.deal-workbench .deal-fields{width:100%;display:grid;gap:8px}
.deal-workbench .deal-fields .field{margin:0}.deal-workbench .deal-fields input{width:100%;min-width:0}
.deal-workbench .deal-warning{color:#80551e;background:#fff6e6;border-radius:6px;padding:8px;font-size:13px}
.deal-workbench .deal-last-message,.deal-workbench .deal-delivery,.deal-workbench .deal-evidence{font-size:13px}
.deal-workbench .deal-cancelled{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.deal-workbench .deal-cancelled>h2{grid-column:1/-1}
@media(max-width:1200px){.deal-workbench .deal-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.deal-workbench .deal-cancelled{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.deal-workbench .deal-columns,.deal-workbench .deal-cancelled{grid-template-columns:minmax(0,1fr)}}
