.sales-playbooks{max-width:1220px;margin:0 auto;padding:8px 3px 34px;color:#333f4b}.sales-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px}.sales-eyebrow{margin:0 0 8px;color:#8196ac;font-size:11px;letter-spacing:1px}.sales-heading h2{font-size:27px;letter-spacing:1px;font-weight:500;line-height:1.5;margin:0 0 8px;color:#314050}.sales-description{font-size:13px;line-height:1.9;color:#7e8a96;margin:0}.sales-heading>.primary{flex:none}.sales-playbooks button{min-height:39px;padding:9px 14px;font:inherit;font-size:12px;border-radius:9px;cursor:pointer}.sales-playbooks button:disabled{opacity:.5;cursor:default}.sales-playbooks .primary{background:#7197bd;border:1px solid #7197bd;color:#fff}.sales-playbooks .primary:hover:not(:disabled){background:#5b83ab;border-color:#5b83ab}.sales-playbooks :is(input,select,textarea,button,summary):focus-visible{outline:3px solid #a2bfdc;outline-offset:3px}.sales-purpose{font-size:12px;color:#788899;line-height:1.9;background:#f2f6fb;border:1px solid #e6edf4;border-radius:10px;padding:12px 15px;margin:0 0 20px}.sales-status{padding:12px 15px;background:#edf2f8;color:#5e7994;font-size:13px;line-height:1.8;border-radius:10px;margin:0 0 18px;overflow-wrap:anywhere}.sales-status:empty{display:none}.sales-status[data-kind=error]{background:#fff6ef;color:#a36d49;border:1px solid #f2e0d2}.sales-playbooks .sales-text-button{color:#6786a6;background:transparent;border-color:transparent;padding:7px 0;min-height:32px}.sales-playbooks .sales-text-button:hover:not(:disabled){color:#44617f;text-decoration:underline}.sales-workspace{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.8fr);gap:22px;align-items:start}.sales-playbooks .card{margin:0;background:#fff;border:1px solid #e2e9f0;box-shadow:0 5px 20px #456b9105;border-radius:16px}.sales-library.card{padding:18px 14px}.sales-list-heading{display:flex;align-items:center;gap:8px;padding:0 7px 12px}.sales-list-heading h3{font-size:14px;font-weight:500;margin:0}.sales-list-heading button{margin-left:auto;font-size:11px}.sales-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;border-radius:6px;background:#eef3f9;color:#8d9fb2;font-size:10px}.sales-playbooks .sales-list-item{display:block;width:100%;text-align:left;padding:14px 12px;margin:3px 0;background:transparent;border:1px solid transparent;border-radius:10px;color:#677583;white-space:normal}.sales-playbooks .sales-list-item:hover:not(:disabled){background:#f6fafd}.sales-playbooks .sales-list-item[aria-pressed=true]{background:#f1f6fc;border-color:#d9e5f2}.sales-list-item>div{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.sales-list-item strong{min-width:0;overflow-wrap:anywhere;font-size:12px;line-height:1.8;font-weight:500}.sales-badge{flex:none;display:inline-flex;align-items:center;border-radius:6px;padding:3px 7px;background:#f0f4f8;color:#8c9eb1;font-size:10px;line-height:1.6;white-space:nowrap}.sales-badge[data-state=active]{color:#5c8a70;background:#edf6ef}.sales-badge[data-state=published]{color:#416f9a;background:#edf4fb;border:1px solid #dbe8f5}.sales-badge[data-state=ready]{color:#9c6a38;background:#fff7ee;border:1px solid #f2e1cf}.sales-badge-version{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:600}.sales-list-meta{display:block;font-size:10px;line-height:1.8;color:#9ba8b5;margin-top:6px}.sales-empty{padding:16px 10px;font-size:12px;line-height:1.9;color:#9ba7b3;margin:0}.sales-playbooks .sales-more{width:100%;font-size:11px;color:#7289a0;border:1px solid #dee7f0;background:#fafcff;margin-top:12px}.sales-editor{min-width:0}.sales-editor>.card{padding:25px 27px}.sales-editor-heading{display:flex;align-items:flex-start;gap:15px;justify-content:space-between;color:#4e6277;font-size:18px;font-weight:500;line-height:1.7;margin-bottom:10px}.sales-editor-heading h3{font-size:19px;font-weight:500;line-height:1.7;margin:0;overflow-wrap:anywhere}.sales-editor-heading .sales-badge{margin-top:5px}.sales-compose form{margin-top:21px}.sales-field{display:flex;flex-direction:column;gap:8px;color:#657688;font-size:12px;font-weight:400;margin:0 0 17px}.sales-field :is(input,select,textarea){display:block;width:100%;max-width:100%;min-width:0;min-height:41px;padding:10px 12px;border:1px solid #dbe2ea;border-radius:9px;background:#fbfdff;color:#43505d;font:inherit;font-size:13px;line-height:1.8}.sales-field textarea{resize:vertical;min-height:70px}.sales-field :is(input,textarea)::placeholder{color:#aebccb;font-size:12px}.sales-input-modes{display:flex;gap:6px;margin:3px 0 18px;padding:4px;width:max-content;max-width:100%;border:1px solid #e5ecf4;border-radius:10px;background:#f6fafd}.sales-input-modes button{min-height:32px;font-size:12px;border:1px solid transparent;background:transparent;color:#8d9eaf;padding:6px 15px}.sales-input-modes button[aria-pressed=true]{background:#fff;border-color:#dbe5f0;color:#617d99;box-shadow:0 2px 6px #4a709706}.sales-file-zone{padding:20px;border:1px dashed #ccd6df;border-radius:12px;background:#f9fcff;margin:0 0 20px}.sales-file-zone input{background:#fff;padding:12px;font-size:11px}.sales-file-zone input::file-selector-button{border:0;border-radius:5px;background:#e4eef7;color:#6685a4;padding:7px 10px;margin-right:10px;cursor:pointer}.sales-help{font-size:11px;line-height:1.9;color:#8b9cae;margin:0 0 14px}.sales-file-zone .sales-help{margin:0}.sales-actions,.sales-detail-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:19px}.sales-detail-actions{padding-top:19px;border-top:1px solid #e9eff5}.sales-detail-actions>button:not(.primary){background:#f9fcff;border:1px solid #dae4ef;color:#6b89a7}.sales-provenance{font-size:10px;line-height:1.9;color:#9babbb;margin:0 0 24px;overflow-wrap:anywhere}.sales-source{padding:14px 15px;border:1px solid #e4ecf3;background:#fafcff;border-radius:11px;margin:0 0 23px}.sales-source summary{font-size:12px;color:#8096ad;cursor:pointer}.sales-source[open] summary{margin-bottom:18px}.sales-source .sales-field{margin-bottom:0}.sales-source textarea{background:#fff;font-size:12px}.sales-techniques-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.sales-techniques-heading h4{font-size:14px;font-weight:500;color:#61768c;margin:0}.sales-techniques-heading button{font-size:11px}.sales-technique{min-width:0;border:1px solid #e1eaf3;border-radius:12px;padding:18px 17px 9px;margin:20px 0;background:#fff}.sales-technique legend{padding:0 8px;color:#879cb2;font-size:11px}.sales-technique .sales-field:last-of-type{margin-bottom:5px}.sales-playbooks .sales-remove-technique{font-size:10px;color:#9cafc2;min-height:29px}.sales-delete-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:19px}.sales-delete-row>span{font-size:10px;line-height:1.9;color:#9babbb}.sales-playbooks .sales-delete{flex:none;background:transparent;border:0;color:#b38c9c;font-size:11px;padding:5px 0;min-height:29px}.sales-playbooks [hidden]{display:none!important}.sales-playbooks[aria-busy=true]{cursor:progress}
.sales-graph.card{margin:0 0 24px;overflow:hidden}.sales-graph-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 24px 17px}.sales-graph-heading h3{font-size:19px;font-weight:500;color:#47586a;margin:0 0 7px}.sales-graph-heading .sales-eyebrow{font-size:9px;letter-spacing:1.7px}.sales-graph-count{flex:none;background:#eaf0f7;padding:7px 10px;border-radius:8px;color:#68819a;font-size:10px;white-space:nowrap}.sales-graph-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-top:1px solid #edf2f6;border-bottom:1px solid #e7edf3;padding:12px 24px;background:#fbfdff}.sales-graph-toolbar>label{display:flex;gap:7px;align-items:center;font-size:10px;color:#91a0b0}.sales-graph-toolbar :is(select,input){font:inherit;font-size:11px;min-width:0;min-height:35px;border:1px solid #dee6ed;border-radius:8px;background:#fff;color:#657280;padding:7px 9px}.sales-graph-toolbar>input{margin-left:auto;width:235px}.sales-playbooks .sales-graph-refresh{background:#fff;border:1px solid #dee6ed;color:#708498;min-height:35px;padding:7px 10px;font-size:11px}.sales-graph-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;min-height:510px}.sales-graph-canvas{position:relative;min-width:0;height:510px;overflow:hidden;background-color:#fbfcfe;background-image:radial-gradient(#d2d9e0 .75px,transparent .75px);background-size:19px 19px}.sales-graph-canvas>svg{display:block;width:100%;height:100%;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.sales-graph-canvas>svg:active{cursor:grabbing}.sales-graph-canvas>svg:focus-visible{outline:3px solid #a2bfdc;outline-offset:-4px}.sales-graph-viewport{will-change:transform}.sales-graph-edge-line{stroke:#b5bcc4;stroke-width:1.3;fill:none;vector-effect:non-scaling-stroke}.sales-graph-edge-hit{stroke:transparent;stroke-width:18;fill:none;cursor:pointer;vector-effect:non-scaling-stroke}.sales-graph-edge-label{font-size:11px;fill:#83909c;paint-order:stroke;stroke:#fbfcfe;stroke-width:5px;stroke-linejoin:round;cursor:pointer}.sales-graph-edge[data-status=candidate] .sales-graph-edge-line,.sales-graph-edge[data-status=draft] .sales-graph-edge-line{stroke-dasharray:5 4}.sales-graph-edge[data-selected=true] .sales-graph-edge-line,.sales-graph-edge:focus .sales-graph-edge-line{stroke:#608dba;stroke-width:2.5}.sales-graph-edge[data-selected=true] .sales-graph-edge-label{fill:#426f9d}.sales-graph-node{cursor:grab;outline:none}.sales-graph-node>circle{fill:#d8e6f5;stroke:#9bb4ce;stroke-width:1.5;filter:drop-shadow(0 3px 4px #526b840d)}.sales-graph-node[data-type=state]>circle{fill:#dfeaf8;stroke:#9cb6d6}.sales-graph-node[data-type=rule]>circle{fill:#f5e8cb;stroke:#d4bb83}.sales-graph-node[data-type=condition]>circle{fill:#dceee7;stroke:#9bbdaf}.sales-graph-node[data-type=playbook]>circle{fill:#f7dfd6;stroke:#d6ab9b}.sales-graph-node[data-status=candidate]>circle,.sales-graph-node[data-status=draft]>circle{stroke-dasharray:4 3}.sales-graph-node[data-origin=enterprise]>circle{stroke-width:2.5}.sales-graph-node[data-selected=true]>circle,.sales-graph-node:focus>circle{stroke:#5581ae;stroke-width:4;filter:drop-shadow(0 0 7px #a2bad35c)}.sales-graph-node-symbol{font-size:15px;font-weight:500;fill:#607386;pointer-events:none}.sales-graph-node[data-type=state] .sales-graph-node-symbol{fill:#637e9d}.sales-graph-node[data-type=rule] .sales-graph-node-symbol{fill:#a68b54}.sales-graph-node[data-type=condition] .sales-graph-node-symbol{fill:#668d7d}.sales-graph-node[data-type=playbook] .sales-graph-node-symbol{fill:#b07d69}.sales-graph-node-label{font-size:12px;fill:#596674;paint-order:stroke;stroke:#fbfcfe;stroke-width:5px;stroke-linejoin:round;pointer-events:none}.sales-graph-zoom{position:absolute;left:17px;bottom:17px;display:flex;gap:1px;padding:3px;border:1px solid #dfe8f0;border-radius:9px;background:#fffffff0;box-shadow:0 4px 12px #516a8408}.sales-playbooks .sales-graph-zoom button{border:0;background:transparent;color:#72889f;min-height:32px;padding:6px 11px;border-radius:6px;font-size:12px}.sales-graph-zoom button:hover{background:#edf3f9}.sales-graph-empty{position:absolute;left:8%;right:8%;top:42%;margin:0;text-align:center;color:#8a9caf;font-size:12px;pointer-events:none}.sales-graph-inspector{min-width:0;max-height:510px;overflow:auto;border-left:1px solid #e7eef4;background:#fff;padding:24px 20px;scrollbar-width:thin;scrollbar-color:#d1dde9 transparent}.sales-graph-inspector h4{font-size:16px;font-weight:500;line-height:1.8;color:#506376;margin:0 0 13px;overflow-wrap:anywhere}.sales-graph-inspector h5{font-size:11px;font-weight:500;color:#8096ac;margin:20px 0 10px}.sales-graph-instruction{font-size:11px;line-height:1.9;color:#9aaabb;border-top:1px solid #e8eef5;padding-top:19px;margin-top:21px}.sales-graph-detail-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.sales-graph-detail-badges span{font-size:10px;color:#8498ad;background:#f1f6fb;border-radius:5px;padding:4px 6px}.sales-graph-detail-copy{font-size:12px;color:#798898;line-height:1.9;overflow-wrap:anywhere;white-space:pre-wrap}.sales-graph-triples{display:flex;flex-direction:column;gap:7px}.sales-playbooks .sales-graph-triple{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;border:1px solid #e5ecf4;background:#fafcff;border-radius:8px;padding:10px;font-size:11px;color:#707f8f;line-height:1.6;overflow-wrap:anywhere;white-space:normal}.sales-graph-triple em{font-style:normal;font-size:10px;color:#96aabd}.sales-graph-triple:hover{border-color:#c4d5e7}.sales-playbooks .sales-graph-open-source{margin-top:17px;background:#edf3f9;border:1px solid #d7e2ee;color:#6584a3;font-size:11px;width:100%}.sales-graph-endpoints{display:flex;gap:7px;margin-top:10px}.sales-playbooks .sales-graph-endpoints button{flex:1;font-size:10px;background:#fff;border:1px solid #e2eaf2;color:#869bb1;padding:7px}.sales-graph-footer{border-top:1px solid #e7edf3;padding:15px 24px 16px}.sales-graph-legend{display:flex;gap:15px;flex-wrap:wrap}.sales-graph-legend>span{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#8897a7}.sales-graph-legend>span:before{content:'';width:8px;height:8px;border-radius:50%;background:#a6c4e3}.sales-graph-legend>[data-type=state]:before{background:#acc6e5}.sales-graph-legend>[data-type=rule]:before{background:#ddc28c}.sales-graph-legend>[data-type=condition]:before{background:#acd1c1}.sales-graph-legend>[data-type=playbook]:before{background:#e2b4a4}.sales-graph-footer>p{font-size:10px;line-height:1.9;color:#9aaabb;margin:10px 0 0}.sales-graph-rule{padding-top:3px}.sales-graph-rule ul{padding-left:17px;font-size:11px;line-height:1.9;color:#8495a6}.sales-graph-rule li{margin:6px 0;overflow-wrap:anywhere}.sales-graph-rule>p{font-size:11px;line-height:1.9;color:#8597a9;overflow-wrap:anywhere}.sales-graph-review-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.sales-playbooks .sales-graph-review{border:1px solid #d3e0ed;background:#f2f7fc;color:#66829f;min-height:34px;padding:7px 10px;font-size:10px}.sales-graph-review[data-decision=adopted]{background:#7292b2;color:white;border-color:#7292b2}.sales-decision{border-top:1px solid #e9f0f6;margin:16px 0 10px;padding-top:14px}.sales-decision>summary{font-size:11px;color:#748da6;cursor:pointer}.sales-decision-enable{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.8;color:#7e90a3;margin:17px 0}.sales-decision-enable input,.sales-decision-checks input{accent-color:#7395b8;flex:none;width:14px;height:14px}.sales-decision-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.sales-decision-fields .sales-field{font-size:11px;margin-bottom:13px}.sales-decision-fields .sales-field select{font-size:11px}.sales-decision-checks{grid-column:1/-1;min-width:0;border:1px solid #e4ecf5;border-radius:9px;margin:0 0 13px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:9px 13px}.sales-decision-checks legend{padding:0 7px;font-size:10px;color:#8a9caf}.sales-decision-checks label{display:flex;gap:6px;align-items:center;font-size:10px;color:#8294a7}.sales-decision-fields>.sales-help{grid-column:1/-1}
@media(max-width:900px){.sales-workspace{grid-template-columns:minmax(200px,.7fr) minmax(0,1.5fr);gap:16px}.sales-editor>.card{padding:22px 20px}.sales-graph-layout{grid-template-columns:minmax(0,1fr) 220px}.sales-graph-inspector{padding:20px 15px}.sales-graph-toolbar>input{width:200px;margin-left:0}.sales-graph-toolbar{padding:12px 18px}.sales-graph-heading{padding:22px 18px 17px}}
@media(max-width:640px){.sales-playbooks{padding:4px 0 25px}.sales-heading{align-items:flex-start;gap:15px;flex-direction:column}.sales-heading h2{font-size:23px}.sales-heading>.primary{width:100%}.sales-purpose{font-size:11px;padding:11px 13px}.sales-workspace{grid-template-columns:minmax(0,1fr);gap:16px}.sales-library.card{max-height:300px;overflow:auto;padding:12px}.sales-list-heading{padding-bottom:7px}.sales-list-item strong{font-size:12px}.sales-playbooks .sales-list-item{padding:10px}.sales-editor>.card{padding:21px 18px}.sales-editor-heading h3{font-size:17px}.sales-detail-actions{gap:8px}.sales-detail-actions .primary{width:100%}.sales-detail-actions>button:not(.primary){flex:1;font-size:11px;padding:9px}.sales-delete-row{gap:12px;align-items:flex-start}.sales-source{padding:13px}.sales-technique{padding:15px 12px 7px}.sales-field{font-size:12px}.sales-field :is(input,select,textarea){font-size:13px}.sales-status{font-size:12px}.sales-actions .primary{flex:1}}
@media(max-width:640px){.sales-graph-heading{padding:20px 16px 16px;align-items:flex-start;flex-direction:column;gap:12px}.sales-graph-heading h3{font-size:17px}.sales-graph-heading .sales-description{font-size:11px}.sales-graph-count{font-size:10px}.sales-graph-toolbar{padding:12px;gap:9px}.sales-graph-toolbar>label{gap:5px;font-size:9px}.sales-graph-toolbar select{font-size:10px;padding:6px;max-width:125px}.sales-graph-toolbar>input{flex:1;width:150px;min-width:120px}.sales-playbooks .sales-graph-refresh{font-size:10px}.sales-graph-layout{grid-template-columns:minmax(0,1fr);min-height:0}.sales-graph-canvas{height:370px}.sales-graph-inspector{border-left:0;border-top:1px solid #e7eef4;max-height:330px;min-height:120px;padding:18px 17px}.sales-graph-inspector h4{font-size:14px;margin-bottom:10px}.sales-graph-inspector .sales-eyebrow{font-size:10px;margin-bottom:6px}.sales-graph-inspector .sales-description{font-size:11px}.sales-graph-instruction{display:none}.sales-graph-triples{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.sales-playbooks .sales-graph-triple{font-size:10px;padding:9px}.sales-graph-inspector h5{margin-top:15px}.sales-graph-footer{padding:14px 16px}.sales-graph-legend{gap:9px 12px}.sales-graph-legend>span{font-size:9px}.sales-graph-footer>p{font-size:9px}.sales-decision-fields{grid-template-columns:minmax(0,1fr)}}
.sales-playbooks .sales-graph.card{padding:0}.sales-graph-toolbar>label{white-space:nowrap}.sales-graph-canvas{height:580px}.sales-graph-layout{min-height:580px}.sales-graph-inspector{max-height:580px}.sales-graph-node-label{font-size:14px}.sales-graph-edge-label{font-size:12px}@media(max-width:640px){.sales-graph-canvas{height:400px}.sales-graph-layout{min-height:0}.sales-graph-inspector{max-height:330px}}
.sales-graph-modes{display:flex;align-items:center;gap:7px;padding:0 24px 17px;flex-wrap:wrap}.sales-playbooks .sales-graph-mode{background:#fff;border:1px solid #dde6ef;color:#7c92a9;font-size:11px;padding:8px 12px;min-height:35px}.sales-graph-mode[aria-pressed=true]{background:#e7f0f8;border-color:#c4d5e7;color:#5d7a98}.sales-graph-modes>select{font:inherit;font-size:11px;line-height:1.7;padding:7px 9px;border:1px solid #dee6ed;border-radius:8px;background:#fff;color:#70879f;min-height:35px;max-width:100%}.sales-graph-path-note{margin-left:auto;font-size:10px;color:#9aabbd}.sales-graph-inspector .sales-description{font-size:13px;line-height:1.9}.sales-graph-detail-copy{font-size:13px}.sales-graph-canvas svg[data-layout=compact-core] .sales-graph-node-label{font-size:15px}.sales-graph-canvas svg[data-layout=core] .sales-graph-node-label{font-size:14px}.sales-graph-canvas svg[data-layout=compact-core] .sales-graph-edge-label{font-size:13px}@media(max-width:640px){.sales-graph-modes{padding:0 16px 15px;gap:7px}.sales-playbooks .sales-graph-mode{font-size:11px;padding:7px 10px}.sales-graph-modes>select{font-size:11px}.sales-graph-path-note{font-size:10px;margin:3px 0 0;flex-basis:100%}.sales-graph-inspector h4{font-size:16px}.sales-graph-inspector .sales-description,.sales-graph-detail-copy{font-size:14px}.sales-graph-rule ul,.sales-graph-rule>p{font-size:12px}.sales-graph-inspector .sales-graph-triple{font-size:12px}.sales-graph-triple em{font-size:11px}}
.sales-graph-modes>select{width:auto;margin-left:5px}.sales-graph-path-note{white-space:nowrap}@media(max-width:640px){.sales-graph-modes>select{margin-left:0;width:100%}.sales-graph-zoom{left:auto;right:12px;bottom:12px}.sales-graph-path-note{white-space:normal}}
.sales-graph-dynamics{display:flex;gap:7px;align-items:center;flex-wrap:wrap;padding:12px 24px;background:#fbfdff;border-bottom:1px solid #e7eef4}.sales-graph-dynamics .sales-graph-mode{min-height:34px;padding:6px 12px}.sales-graph-motion{margin-left:auto;color:#8697a9;font-size:11px;line-height:1.7}.sales-graph-gesture{position:absolute;left:18px;top:13px;right:18px;margin:0;pointer-events:none;color:#8799ab;font-size:11px;line-height:1.8}.sales-graph-edge-label{visibility:hidden;pointer-events:none}.sales-graph-edge[data-related=true] .sales-graph-edge-line{stroke:#7d9ebf;stroke-width:1.8}.sales-graph-node-label{stroke-width:6px;stroke:#fbfcfe}.sales-graph-canvas svg[data-dimension="3d"]{background:radial-gradient(ellipse at center,#e7eff740,transparent 70%)}.sales-graph-node[data-label-visible=false]>circle{stroke-width:2}.sales-graph-canvas{height:620px}.sales-graph-layout{min-height:620px}.sales-graph-inspector{max-height:620px}.sales-graph-zoom{z-index:2}.sales-graph-gesture{z-index:1}.sales-graph-canvas svg{isolation:isolate}@media(max-width:640px){.sales-graph-dynamics{padding:11px 12px;gap:6px}.sales-graph-dynamics .sales-graph-mode{padding:6px 10px;font-size:11px}.sales-graph-motion{margin-left:0;flex-basis:100%;font-size:10px}.sales-graph-canvas{height:470px}.sales-graph-layout{min-height:0}.sales-graph-inspector{max-height:350px}.sales-graph-gesture{font-size:10px;left:13px;right:13px;top:11px}.sales-graph-triples{grid-template-columns:minmax(0,1fr)}.sales-playbooks .sales-graph-triple{font-size:12px}}@media(prefers-reduced-motion:reduce){.sales-graph-viewport{will-change:auto}.sales-graph-node>circle{filter:none}}

/* 投影轨道参考线与受光球体让空间景深清晰可见。 */
.sales-graph-orbits{pointer-events:none;fill:none;stroke:#8e9fc3;stroke-width:1.1;vector-effect:non-scaling-stroke}
.sales-graph-orbits path{vector-effect:non-scaling-stroke}
.sales-graph-canvas svg[data-dimension="3d"]{background:radial-gradient(ellipse at 48% 46%,#e6e9f780 0%,#f5f9fc60 48%,transparent 78%)}
.sales-graph-canvas svg[data-dimension="3d"] .sales-graph-node>circle{stroke:#ffffffb3;stroke-width:1.4;filter:drop-shadow(2px 5px 5px #43507530)}
.sales-graph-canvas svg[data-dimension="3d"] .sales-graph-node-symbol{fill:#fff;font-weight:600;text-shadow:0 1px 2px #34435b60}
.sales-graph-canvas svg[data-dimension="3d"] .sales-graph-node[data-selected="true"]>circle{stroke:#8bb3db;stroke-width:3;filter:drop-shadow(0 0 10px #81a8cf70)}

/* 语义名称保留在各自球体内部。 */
.sales-graph-node .sales-graph-node-label{font-family:system-ui,sans-serif;font-size:12px;font-weight:600;letter-spacing:-.25px;stroke:none;paint-order:normal;pointer-events:none}
.sales-graph-node-index{display:flex;flex-direction:column;margin-top:14px}
.sales-playbooks .sales-graph-index-item{position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:4px;width:100%;padding:11px 9px 11px 20px;border:0;border-bottom:1px solid #ebf0f5;border-radius:0;background:transparent;white-space:normal;line-height:1.6;color:#4a5b6d;font-size:12px;overflow-wrap:anywhere}
.sales-graph-index-item:before{content:'';position:absolute;left:2px;top:18px;width:7px;height:7px;border-radius:50%;background:#9bb7d3}
.sales-graph-index-item[data-type=state]:before{background:#8aafd5}.sales-graph-index-item[data-type=rule]:before{background:#d5b87b}.sales-graph-index-item[data-type=condition]:before{background:#88baa5}.sales-graph-index-item[data-type=playbook]:before{background:#d5a08b}
.sales-graph-index-item small{font-size:10px;color:#8d9aa7}.sales-playbooks .sales-graph-index-item:hover{background:#f4f8fc}.sales-playbooks .sales-graph-index-back{background:transparent;border:0;padding:0;margin:0 0 18px;min-height:24px;font-size:11px;color:#6c86a0}

/* 上传功能作为独立视图保留在现有销售工作台内。 */
.sales-playbooks.sales-composing>:not(.sales-create-page):not(.sales-status){display:none!important}
.sales-playbooks .sales-create-page[hidden]{display:none!important}
.sales-create-page{width:100%;max-width:900px;margin:0 auto}
.sales-create-page .sales-compose{padding:24px 28px;background:#fff;border:1px solid #dce6ee;border-radius:16px}
.sales-playbooks .sales-compose-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 16px;padding:5px 0;min-height:32px;border:0;background:transparent;color:#5b7f9d;font-size:12px}
.sales-compose-back svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sales-playbooks .sales-compose-back:hover{color:#2c608b}
@media(max-width:640px){.sales-create-page .sales-compose{padding:20px 16px}}

/* 用单一全宽来源库替代重复的导入卡片与占位填充内容。 */
.sales-playbooks .sales-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-top:22px}
.sales-playbooks .sales-library.card{padding:20px 22px;max-height:none;overflow:visible}
.sales-neural-graph .sales-graph-canvas{background:#061e26;background-image:radial-gradient(ellipse at 42% 48%,#123d444d,transparent 74%)}
.sales-neural-graph .sales-graph-canvas svg[data-dimension]{background:none}
.sales-neural-graph .sales-graph-canvas svg[data-dimension="3d"]{background:radial-gradient(ellipse at 48% 42%,#27535935 0%,transparent 52%,#020e1780 100%)}
.sales-neural-graph svg[data-dimension="3d"] .sales-neural-node-dot{stroke:#b3e8e1;stroke-width:.65}
.sales-neural-graph svg[data-dimension="3d"] .sales-graph-node .sales-graph-node-label{font-weight:500;stroke:#071c26;stroke-width:6px}
.sales-neural-graph .sales-graph-gesture{color:#85aeb5;font-size:11px}
.sales-neural-graph .sales-graph-empty{color:#a3c5cb}
.sales-neural-graph .sales-graph-edge-line{stroke:#528d91;stroke-width:.65;opacity:.12;stroke-linecap:round}
.sales-neural-graph .sales-graph-edge[data-backbone=true] .sales-graph-edge-line{opacity:.42}
.sales-neural-graph .sales-graph-raster{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.sales-neural-graph .sales-graph-raster[hidden]{display:none}
.sales-neural-graph .sales-graph-canvas>svg{position:relative;z-index:0}
.sales-playbooks .sales-graph-index-more{width:100%;margin-top:12px;font-size:11px;background:#f5f8fb;color:#607f99;border:1px solid #dde7ee}
.sales-neural-graph .sales-graph-edge[data-related=true] .sales-graph-edge-line{stroke:#65e0df;stroke-width:1.9;opacity:1}
.sales-neural-graph .sales-graph-edge[data-selected=true] .sales-graph-edge-line,.sales-neural-graph .sales-graph-edge:focus .sales-graph-edge-line{stroke:#9cf5ed;stroke-width:2.2;opacity:1}
.sales-neural-graph .sales-graph-edge-hit{stroke-width:14}
.sales-neural-graph .sales-graph-edge-label,.sales-neural-graph .sales-graph-edge[data-selected=true] .sales-graph-edge-label{fill:#d2f4f1;stroke:#09262f;stroke-width:7px;paint-order:stroke}
.sales-neural-graph .sales-graph-node>.sales-neural-node-hit{fill:transparent!important;stroke:none!important;filter:none!important;opacity:1!important;cursor:grab}
.sales-neural-graph .sales-graph-node>.sales-neural-node-dot{stroke:#b2ebe3;stroke-width:.7;vector-effect:non-scaling-stroke;filter:none}
.sales-neural-graph .sales-graph-node[data-selected=true]>.sales-neural-node-dot,.sales-neural-graph .sales-graph-node:focus>.sales-neural-node-dot{stroke:#d2fff7;stroke-width:2;filter:drop-shadow(0 0 3px #66e6d760)}
.sales-neural-graph .sales-graph-node[data-related=true]>.sales-neural-node-dot{stroke:#d1f7ed;stroke-width:1.2}
.sales-neural-graph .sales-graph-node .sales-graph-node-label{fill:#d1ebe9;font-weight:500;stroke:#08242c;stroke-width:6px;stroke-linejoin:round;paint-order:stroke;letter-spacing:0;text-shadow:none}
.sales-neural-graph .sales-graph-node:focus .sales-graph-node-label{visibility:visible!important}
.sales-neural-graph .sales-graph-zoom{border-color:#3e6b71;background:#0b2c33ed;box-shadow:none}
.sales-playbooks .sales-neural-graph .sales-graph-zoom button{color:#b3d8d8}
#workspace .sales-neural-graph .sales-graph-zoom button{color:#b3d8d8;background:transparent;border:0}
.sales-neural-graph .sales-graph-zoom button:hover{background:#20464d}
.sales-neural-signal{display:none;fill:none;stroke:#edcc87;stroke-width:2.6;stroke-linecap:round;stroke-dasharray:1 159;pointer-events:none;vector-effect:non-scaling-stroke}
.sales-neural-graph svg[data-signals=true] .sales-graph-edge[data-related=true][data-status=active] .sales-neural-signal{display:inline;animation:sales-neural-travel 9s linear infinite}
.sales-neural-graph .sales-graph-inspector{background:#fff;scrollbar-color:#c6d8de transparent}
.sales-neural-graph .sales-graph-triple:hover,.sales-neural-graph .sales-graph-triple:focus-visible{border-color:#78b8be;background:#eff9f8}
.sales-neural-graph .sales-graph-footer{background:#f8fbfc}
.sales-learning-flow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 10px;min-width:0;margin:0;padding:0;border:0;background:transparent;color:#476581;font-size:12px;line-height:1.7}
.sales-learning-flow>span{white-space:nowrap}.sales-learning-flow>span+span:before{content:"\2192";margin-right:10px;color:#9ab0c2}
@keyframes sales-neural-travel{to{stroke-dashoffset:-640}}
@media(prefers-reduced-motion:reduce){.sales-neural-graph .sales-neural-signal{animation:none!important;display:none}}
@media(max-width:640px){.sales-neural-graph .sales-graph-canvas{height:420px}.sales-learning-flow{gap:6px 8px;font-size:11px}.sales-learning-flow>span+span:before{margin-right:8px}}
.sales-playbooks .sales-list-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin:0;padding:0 0 16px;border-bottom:1px solid #e8eef4}
.sales-playbooks .sales-list-heading h3{font-size:15px;font-weight:600;color:#304d69}
.sales-playbooks .sales-list-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.sales-playbooks .sales-list-actions button{margin:0;min-height:32px}
.sales-playbooks .sales-library-chat{padding:5px 10px;border:1px solid #dce6ef;border-radius:7px;background:#f8fbfe;color:#5b7d9a;font-size:11px}
.sales-playbooks .sales-library-refresh{display:grid;place-items:center;width:32px;height:32px;padding:7px;border:0;background:transparent;color:#7993a8}
.sales-library-refresh svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sales-playbooks .sales-library-refresh:hover{background:#edf4fa}
.sales-playbooks .sales-empty{display:flex;align-items:center;gap:16px;margin:0;padding:26px 4px;color:#7f94a5}
.sales-empty-symbol{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#f0f5fa;color:#84a0b6}
.sales-empty-symbol svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.sales-empty strong{display:block;font-size:13px;font-weight:500;color:#5c778d}
.sales-empty p{margin:6px 0 0;font-size:12px;line-height:1.8;color:#8b9eac}
.sales-playbooks .sales-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin:6px 0 0;padding:14px 12px}
.sales-playbooks .sales-list-item>div{justify-content:flex-start;align-items:center;gap:12px;min-width:0}
.sales-playbooks .sales-list-meta{margin:0;font-size:11px;text-align:right}
.sales-playbooks .sales-editor[hidden]{display:none!important}
@media(max-width:640px){.sales-playbooks .sales-library.card{padding:16px}.sales-playbooks .sales-list-heading{padding-bottom:12px;gap:8px}.sales-playbooks .sales-list-actions{gap:6px}.sales-playbooks .sales-library-chat{padding:5px 7px;font-size:10px}.sales-playbooks .sales-list-item{grid-template-columns:minmax(0,1fr);gap:5px}.sales-playbooks .sales-list-meta{text-align:left}.sales-playbooks .sales-empty{align-items:flex-start;padding:22px 0;gap:12px}.sales-empty-symbol{width:36px;height:36px}.sales-empty p{font-size:11px}}

/* 将来源库保持在策略图谱上方。 */
.sales-playbooks>.sales-workspace{margin:0 0 20px}

.sales-playbooks .sales-list-heading{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center}
.sales-playbooks .sales-list-heading h3{white-space:nowrap}
@media(max-width:1100px){.sales-list-heading>.sales-learning-flow{grid-column:1/-1;grid-row:2;padding-top:4px}.sales-playbooks .sales-list-actions{grid-column:4;grid-row:1}}
.sales-playbooks .sales-learning-center.card{padding:24px;margin:0 0 22px}
.sales-learning-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:14px}
.sales-learning-heading h3{font-size:19px;font-weight:500;color:#47586a;margin:0 0 8px}
.sales-learning-heading>.sales-text-button{flex:none}
.sales-learning-center h4{font-size:15px;font-weight:500;color:#526b83;margin:0 0 13px}
.sales-learning-center h5{font-size:13px;font-weight:500;color:#526b83;margin:0 0 8px}
.sales-learning-center>.sales-help{padding:11px 13px;border-radius:9px;background:#f3f7fb;color:#6b8298;overflow-wrap:anywhere}
.sales-learning-center details{border:1px solid #e2eaf2;border-radius:10px;padding:14px;margin:15px 0}
.sales-learning-center summary{font-size:12px;color:#67839e;cursor:pointer;line-height:1.8}
.sales-learning-center details[open]>summary{margin-bottom:14px}
.sales-learning-source-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-bottom:14px;max-height:240px;overflow:auto}
.sales-learning-source-list>label{display:flex;gap:8px;align-items:flex-start;font-size:12px;color:#687d91;line-height:1.8;overflow-wrap:anywhere}
.sales-learning-source-list input{flex:none;margin-top:4px;accent-color:#7197bd}
.sales-learning-sources>.sales-help{margin:12px 0 0}
.sales-learning-jobs{display:grid;gap:7px}
.sales-learning-job{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:10px 12px;border:1px solid #e6edf4;border-radius:8px;font-size:12px;color:#70869b}
.sales-learning-job>.sales-help{flex-basis:100%;margin:0;color:#9b7157}
.sales-learning-job>.sales-text-button{min-height:26px;padding:3px 0}
.sales-learning-job>.sales-learning-delete{margin-left:auto;color:#9b7157}
.sales-learning-version-bar{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:20px 0}
.sales-learning-version-bar label{display:flex;gap:10px;align-items:center;font-size:12px;color:#6c849b;flex:none}
.sales-learning-version-bar>.sales-help{margin:0}
.sales-learning-center select{max-width:100%;min-height:36px;border:1px solid #dbe5ef;border-radius:8px;padding:7px 10px;background:#fff;font:inherit;font-size:12px;color:#59738c}
.sales-learning-stats{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}
.sales-learning-stats>span{background:#edf3f9;border-radius:7px;padding:7px 10px;font-size:11px;color:#6b849e}
.sales-learning-overview>.sales-help:last-child{margin-bottom:0}
.sales-learning-styles,.sales-learning-sandbox{border-top:1px solid #e7eef5;padding-top:20px;margin-top:20px}
.sales-learning-styles>select{margin:0 0 13px}
.sales-learning-styles>article,.sales-learning-methods>article{padding:14px;border:1px solid #e5edf4;border-radius:10px;background:#fbfdff;margin-top:10px;overflow-wrap:anywhere}
.sales-learning-styles>article>strong{font-size:13px;font-weight:500;color:#637d96}
.sales-learning-styles>article>.sales-help{margin:8px 0}
.sales-learning-source-links{display:flex;gap:8px 15px;flex-wrap:wrap}
.sales-learning-source-links>.sales-text-button{max-width:100%;overflow-wrap:anywhere;text-align:left;white-space:normal}
.sales-learning-methods blockquote{margin:10px 0;padding:8px 12px;border-left:3px solid #d4e1ed;font-size:12px;color:#7b8ea1;line-height:1.8;white-space:pre-wrap}
.sales-learning-roles .sales-field small{font-size:11px;color:#8c9dad;line-height:1.8;white-space:pre-wrap}
.sales-learning-sandbox{max-width:850px}
.sales-learning-sandbox>.primary{margin-bottom:13px}
.sales-learning-answer{padding:0;margin:0 0 17px}
.sales-learning-answer>p{margin:0;padding:16px;background:#f1f6fb;border:1px solid #e1eaf3;border-radius:10px;font-size:13px;line-height:1.9;color:#536d86;white-space:pre-wrap;overflow-wrap:anywhere}
.sales-learning-answer>.sales-actions{margin-top:10px}
.sales-learning-sandbox>.sales-help:last-child{margin:15px 0 0}
@media(max-width:640px){.sales-playbooks .sales-learning-center.card{padding:19px 16px}.sales-learning-heading{flex-direction:column;gap:4px}.sales-learning-heading h3{font-size:17px}.sales-learning-heading .sales-description{font-size:12px}.sales-learning-version-bar{align-items:flex-start;flex-direction:column;gap:10px}.sales-learning-version-bar label{flex-wrap:wrap;max-width:100%}.sales-learning-center details{padding:12px}.sales-learning-source-list{grid-template-columns:minmax(0,1fr)}.sales-learning-styles>article,.sales-learning-methods>article{padding:12px}.sales-learning-sandbox .sales-actions>button{width:100%}.sales-learning-sandbox>.primary{width:100%}}
.sales-playbooks.sales-testing>:not(.sales-learning-page):not(.sales-status){display:none!important}
.sales-playbooks .sales-learning-page[hidden]{display:none!important}
.sales-learning-version-bar>.primary{flex:none;min-width:110px}
.sales-playbooks .sales-chat-window.card{padding:0;overflow:hidden;max-width:920px;margin:0 auto}
.sales-chat-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:21px 24px;border-bottom:1px solid #e6edf4;background:#fbfdff}
.sales-chat-heading h3{margin:0;color:#455f78;font-size:20px;font-weight:500}
.sales-chat-heading .sales-eyebrow{margin-bottom:7px}
.sales-chat-notice{font-size:12px;color:#8a7057;line-height:1.8;margin:0;padding:10px 24px;background:#fff9ef;overflow-wrap:anywhere}
.sales-chat-notice:empty{display:none}
.sales-chat-messages{height:min(60vh,600px);min-height:300px;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:21px;scrollbar-width:thin;scrollbar-color:#d5e0eb transparent;background:#fafcff;overscroll-behavior:contain}
.sales-chat-empty{max-width:420px;margin:auto;text-align:center;font-size:13px;line-height:2;color:#8a9cae}
.sales-chat-message{max-width:84%;min-width:0;align-self:flex-start}
.sales-chat-message[data-role=user]{align-self:flex-end}
.sales-chat-speaker{display:block;font-size:11px;color:#8599ad;margin:0 0 7px}
.sales-chat-message[data-role=user]>.sales-chat-speaker{text-align:right}
.sales-chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:14px;color:#4b6279;background:#fff;border:1px solid #e0e9f2;border-radius:3px 14px 14px 14px;padding:13px 17px}
.sales-chat-bubble.is-waiting{display:inline-flex;align-items:center;min-height:48px;padding:10px 18px}
.waiting-dots{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 3px;color:#4b6279;white-space:nowrap;vertical-align:middle}
.waiting-dots>span{display:inline-block;font-size:26px;font-weight:700;line-height:1;animation:reply-dot-bounce 1.2s ease-in-out infinite}
.waiting-dots>span:nth-child(2){animation-delay:.16s}
.waiting-dots>span:nth-child(3){animation-delay:.32s}
@keyframes reply-dot-bounce{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-5px);opacity:1}}
@media(prefers-reduced-motion:reduce){.waiting-dots>span{animation:none;opacity:.7}}
.sales-chat-message[data-role=user]>.sales-chat-bubble{background:#e7f0f9;border-color:#dbe6f1;border-radius:14px 3px 14px 14px;color:#4d6a86}
.sales-chat-message-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:5px}
.sales-chat-message-actions>.sales-text-button{font-size:11px;min-height:27px;padding:3px 0}
.sales-chat-composer{display:flex;gap:12px;align-items:flex-end;padding:18px 24px 10px;border-top:1px solid #e2eaf2;background:#fff}
.sales-chat-composer textarea{resize:vertical;min-height:76px;max-height:220px;flex:1;min-width:0;padding:12px 14px;border:1px solid #d8e3ed;border-radius:10px;background:#fbfdff;font:inherit;font-size:13px;line-height:1.8;color:#4d657c}
.sales-chat-composer>.primary{min-width:80px}
.sales-chat-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 24px 18px;background:#fff}
.sales-chat-footer>.sales-help{margin:0}
.sales-chat-editor{padding:14px;margin-top:10px;background:#fff;border:1px solid #cdddeb;border-radius:10px}
.sales-chat-editor .sales-field{margin-bottom:0}
.sales-chat-editor .sales-actions{margin-top:10px}
.sales-chat-correction{padding:11px 14px;background:#f1f7f2;border:1px solid #deebdf;border-radius:9px;margin-top:8px}
.sales-chat-correction>span{font-size:10px;color:#73937a}
.sales-chat-correction>p{font-size:12px;line-height:1.9;color:#67816c;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0}
.sales-chat-summary{padding:22px 24px;border-top:1px solid #e4ecf4}
.sales-chat-summary h4{font-size:16px;font-weight:500;color:#536e87;margin:0 0 14px}
.sales-chat-summary article{padding:14px;border:1px solid #e0e9f1;border-radius:10px;background:#fbfdff;margin:12px 0}
.sales-chat-summary article>span{font-size:11px;color:#8a9eb1}
.sales-chat-summary article>p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#526c84;margin:7px 0 13px}
.sales-chat-summary article>p:last-child{margin-bottom:0;color:#5e7b65}
@media(max-width:640px){.sales-learning-version-bar>.primary{width:100%}.sales-chat-heading{padding:18px 15px}.sales-chat-heading h3{font-size:18px}.sales-chat-heading .sales-eyebrow{font-size:10px}.sales-chat-messages{height:53vh;min-height:280px;padding:18px 13px;gap:17px}.sales-chat-message{max-width:92%}.sales-chat-bubble{padding:11px 13px;font-size:13px}.sales-chat-composer{padding:14px 13px 8px;gap:8px}.sales-chat-composer>.primary{min-width:58px;padding:9px 12px}.sales-chat-footer{padding:10px 13px 15px;gap:8px;flex-wrap:wrap}.sales-chat-footer>.sales-help{font-size:10px}.sales-chat-footer>.primary{font-size:11px}.sales-chat-summary{padding:19px 15px}.sales-chat-summary .sales-actions>button{width:100%}.sales-chat-editor{padding:11px}.sales-chat-editor .sales-actions{gap:8px}.sales-chat-notice{padding:9px 15px}}
.sales-source-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 24px;margin:18px 0 23px}
.sales-source-metadata>div{min-width:0}
.sales-source-metadata dt{font-size:11px;color:#8a9bad;margin:0 0 6px}
.sales-source-metadata dd{font-size:13px;color:#586e83;line-height:1.8;overflow-wrap:anywhere;margin:0}
.sales-source-progress{padding:20px;border:1px solid #dbe7f2;border-radius:12px;background:#f5f9fd;margin-bottom:22px}
.sales-source-progress h4{font-size:16px;font-weight:500;color:#526e88;margin:0 0 10px}
.sales-source-progress>.primary{margin-top:17px;min-width:130px}
.sales-source-progress[data-state=failed]{background:#fff8f2;border-color:#efdfd0}
.sales-source-progress[data-state=failed] h4{color:#9c7254}
.sales-source-original{margin:15px 0 0;max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:12px;line-height:1.9;color:#647b90;padding:16px;background:#fff;border:1px solid #e2eaf2;border-radius:8px}
.sales-badge[data-state=published],.sales-badge[data-state=ready]{color:#60836c;background:#eef6ef}
.sales-badge[data-state=running]{color:#6687a9;background:#edf4fc}
.sales-badge[data-state=failed],.sales-badge[data-state=invalid]{color:#a07757;background:#fff3e9}
@media(max-width:640px){.sales-source-metadata{grid-template-columns:minmax(0,1fr);gap:13px}.sales-source-progress{padding:16px}.sales-source-progress>.primary{width:100%}.sales-source-original{padding:12px}}

/* 已启用场景与其来源决策的数量各自独立统计。 */
.sales-graph-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;padding:0 24px 20px}
.sales-graph-summary-item{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 9px;padding:12px 14px;border:1px solid #e3edf1;border-radius:10px;background:#f7fbfc;color:#7d919d}
.sales-graph-summary-item strong{font-size:23px;font-weight:500;color:#47798a}.sales-graph-summary-item span{font-size:11px}.sales-graph-summary-item small{flex-basis:100%;font-size:10px;color:#7a92a1}
.sales-graph-node[data-type=universal_logic]>circle{fill:#d3f4ee;stroke:#49b8a8}.sales-graph-node[data-type=universal_logic] .sales-graph-node-symbol{fill:#2f887b}
.sales-graph-legend>[data-type=universal_logic]:before,.sales-graph-index-item[data-type=universal_logic]:before{background:#49b8a8}
.sales-graph-pager{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding:9px 16px;color:#8093a4;font-size:11px}.sales-graph-pager[hidden]{display:none}
.sales-graph-toolbar #salesGraphMechanism{max-width:240px}.sales-graph-node[data-type=source_reference]{opacity:.6}
.sales-source-directory{margin:0 24px 22px;border-top:1px solid #e4edf2;padding-top:17px}.sales-source-directory>summary{cursor:pointer;color:#5b798a;font-size:13px}.sales-source-directory>.sales-help{margin:12px 0}
.sales-source-filters{display:flex;gap:12px;flex-wrap:wrap}.sales-source-filters input,.sales-source-filters select{min-height:37px;border:1px solid #dce5ed;border-radius:8px;background:#fbfdff;padding:8px 10px;font:inherit;font-size:12px;color:#617d8b;min-width:0}.sales-source-filters input{flex:1}
.sales-source-list{margin-top:12px;max-height:500px;overflow:auto}.sales-source-row{padding:13px 2px;border-top:1px solid #edf2f5}.sales-source-row-title{display:flex;align-items:center;gap:10px;justify-content:space-between}.sales-source-row-title strong{font-size:11px;font-weight:500;color:#617a8d;overflow-wrap:anywhere}.sales-source-row .sales-help{margin:7px 0}.sales-source-row button{max-width:100%;font-size:11px;white-space:normal;text-align:left}
@media(max-width:640px){.sales-graph-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 15px;gap:8px}.sales-graph-summary-item{padding:9px 10px;gap:7px;flex-wrap:wrap}.sales-graph-summary-item strong{font-size:20px}.sales-source-directory{margin:0 14px 18px}.sales-graph-toolbar #salesGraphMechanism{max-width:200px}.sales-source-row-title{align-items:flex-start}.sales-graph-pager{gap:7px;font-size:10px}}

/* 上传历史为主工作区；学习详情封装在服务内部。 */
.sales-publication-bar{display:flex;align-items:center;gap:10px 20px;flex-wrap:wrap;padding:13px 17px;border:1px solid #e2eaf2;border-radius:11px;background:#f7fafd}
.sales-published-status{font-size:12px;line-height:1.8;color:#6c8298;margin:0;flex:1}
.sales-publication-bar>.sales-help{flex-basis:100%;margin:0}
.sales-publication-bar>.sales-help:empty{display:none}
.sales-record-heading{display:flex;align-items:center;gap:10px;padding:0 0 16px;flex-wrap:wrap}
.sales-record-heading h3{margin:0;font-size:15px;font-weight:500;color:#526a81}
.sales-record-heading input{margin-left:auto;width:250px;max-width:100%;min-height:38px;border:1px solid #dce6ef;border-radius:8px;padding:8px 11px;background:#fbfdff;color:#546e87;font:inherit;font-size:12px}
.sales-record-heading .sales-count{min-width:24px;white-space:nowrap;padding:0 6px}
.sales-upload-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;padding:19px 0;border-top:1px solid #e8eef4;scroll-margin-top:20px}
.sales-record-title{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.sales-record-title strong{font-size:13px;font-weight:500;color:#4c647c;line-height:1.8;overflow-wrap:anywhere}
.sales-record-date{grid-column:1;font-size:11px;line-height:1.8;color:#91a1b0;margin:0}
.sales-record-actions{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.sales-record-actions>.primary{min-width:95px}
.sales-record-error{grid-column:1/-1;margin:0;font-size:12px;line-height:1.8;color:#a27657;overflow-wrap:anywhere}
.sales-record-history{grid-column:1/-1;margin:0;padding:0;border:0;background:transparent}
.sales-record-history>summary{font-size:11px;line-height:1.9;color:#8b9eaf;cursor:pointer;width:max-content}
.sales-record-history-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;max-width:600px;padding:5px 12px;font-size:11px;color:#8b9cac;background:#f7fafc;margin-top:6px;border-radius:7px}
.sales-chat-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px 17px;flex-wrap:wrap}
.sales-chat-heading-actions>.sales-text-button{white-space:nowrap;font-size:11px}
.sales-heading-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.sales-playbooks.sales-graphing>:not(.sales-graph-page):not(.sales-status){display:none!important}
.sales-playbooks .sales-graph-page[hidden]{display:none!important}
.sales-graph-page{min-width:0}
@media(max-width:640px){.sales-heading-actions{width:100%;justify-content:space-between;gap:14px}.sales-heading-actions>.primary{min-width:110px}.sales-graph-page .sales-graph-toolbar{align-items:flex-start}.sales-graph-page .sales-graph-toolbar>input{width:100%;min-width:0;flex-basis:100%}.sales-graph-page .sales-graph-modes>select{min-width:0}.sales-graph-page .sales-graph-count{max-width:100%;white-space:normal}}
@media(max-width:640px){.sales-publication-bar{padding:12px 14px;gap:5px 12px}.sales-record-heading{gap:8px}.sales-record-heading input{order:3;width:100%;flex-basis:100%;margin-left:0}.sales-record-heading>.sales-text-button{margin-left:auto}.sales-playbooks .sales-library.card{padding:18px 15px}.sales-upload-record{grid-template-columns:minmax(0,1fr);gap:10px;padding:17px 0}.sales-record-actions{grid-column:1;grid-row:auto;justify-content:flex-start;gap:17px}.sales-record-title{gap:8px}.sales-record-history-row{padding:5px 9px}.sales-chat-heading{align-items:flex-start;flex-direction:column;gap:10px}.sales-chat-heading-actions{width:100%;justify-content:flex-start;gap:7px 15px}.sales-chat-heading-actions .sales-badge{margin-right:auto}.sales-chat-composer{flex-wrap:wrap}.sales-chat-composer textarea{flex-basis:100%;width:100%}.sales-chat-composer>.primary{margin-left:auto}}
