.rw-learning{width:310px;min-width:0;overflow:auto;padding:18px 16px;border-left:1px solid var(--rw-border);background:#fff;font-size:13px;line-height:1.6}
.rw-learning h3,.rl-editor h3{font-size:15px;margin:0 0 12px;font-weight:700;color:#202733}
.rl-title{display:flex;align-items:center;gap:6px;margin-bottom:16px}.rl-title h3{margin:0 auto 0 0;white-space:nowrap}
.rw-page .rl-title button{font-size:12px;min-height:28px;padding:2px 4px;color:#667085;border:0;background:transparent}
.rl-field{display:flex;flex-direction:column;gap:7px;margin:12px 0;color:#475467}
.rl-field>span{font-size:13px;font-weight:700;color:#344054}
.rl-field textarea,.rl-field select{width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;border:1px solid #e2e6ef;border-radius:8px;background:#fafbfe;color:#344054;font-family:inherit;font-size:13px;line-height:1.6;resize:vertical}
.rl-field small{text-align:right;color:#98a2b3;font-size:11px;line-height:1}
.rl-stars{display:flex;gap:3px;align-items:center}
.rw-page .rl-stars button{background:transparent;border:0;color:#e2e6ed;font-size:25px;padding:0 1px;min-height:30px;line-height:1}
.rw-page .rl-stars button.selected{color:#ffb800}
.rl-stars>span{margin-left:5px;color:#98a2b3;font-size:11px}
.rw-page .rl-review-save,.rw-page .rl-learn{width:100%;font-weight:700}.rl-learning-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.rl-learning-heading h3{margin:0}.rl-learning-heading>span{font-size:12px;color:#8490a2;white-space:nowrap}
.rl-divider{border-top:1px solid #edf0f5;margin:24px 0}
.rw-learning .rl-muted,.rl-editor .rl-muted{font-size:12px;line-height:1.7;color:#8490a2;margin:8px 0 12px}
.rl-status{font-size:12px;line-height:1.7;color:#24745e;overflow-wrap:anywhere;margin:10px 0}.rl-status:empty,.rl-modal-status:empty{display:none}
.rl-status.rl-error,.rw-learning .rl-error{color:#b5473c}
.rl-saved{font-size:12px;padding:10px;border:1px solid #e1eafc;border-radius:7px;background:#f7faff;color:#53637d}
.rl-saved a{display:block;color:#2563eb;margin-top:6px;text-decoration:none;font-weight:600}
.rl-history{border-top:1px solid #edf0f5;margin-top:18px;padding-top:12px;color:#667085;font-size:12px}
.rl-history summary{cursor:pointer;font-weight:600}.rl-history article{padding:10px 0;border-bottom:1px solid #edf0f5}.rl-history time{display:block;font-size:10px;color:#98a2b3}.rl-history p{margin:5px 0;overflow-wrap:anywhere}
.rw-page .rl-message-actions{display:flex;gap:9px;margin-top:4px}.rw-message.agent .rl-message-actions{justify-content:flex-end}
.rw-page .rl-message-actions button{border:0;background:transparent;font-size:11px;color:#8a95a7;padding:1px 0;min-height:24px}.rw-page .rl-message-actions [data-rl-delete]{color:#e05e65}.rw-page .rl-message-actions button:hover{color:#2466e8}
.rl-deleted{display:flex;justify-content:center;align-items:center;gap:10px;font-size:11px;color:#98a2b3;padding:8px;margin:10px 0;background:#f6f8fb;border-radius:6px}.rw-page .rl-deleted button{background:transparent;color:#2866d8;border:0;min-height:24px;font-size:11px;padding:0}
.rl-editor{width:min(580px,calc(100vw - 40px));box-sizing:border-box;border:1px solid #e5e9f1;border-radius:14px;padding:24px;box-shadow:0 20px 80px #10182830}.rl-editor::backdrop{background:#10182866}.rl-editor textarea{box-sizing:border-box;display:block;width:100%;padding:12px;border:1px solid #d0d5dd;border-radius:8px;font-family:inherit;font-size:14px;line-height:1.7;resize:vertical}.rl-editor footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.rl-copy-badge{display:inline-block;margin-left:10px;padding:2px 7px;border-radius:4px;background:#f1f4f8;color:#667085;font-size:11px;font-weight:400;vertical-align:middle}.rw-page .rl-editor button.primary{font-weight:700}.rw-page .rl-title [data-rl-reload]{font-size:18px}
.rl-knowledge-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #e6ebf4;border-radius:12px;background:#fff;color:#344054;box-shadow:0 24px 100px #10182840;font-family:inherit;font-size:14px;overflow:auto}
.rl-knowledge-dialog::backdrop{background:#10182888}.rl-knowledge-dialog header{display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid #edf0f5;padding:18px 42px}.rl-knowledge-dialog h2{font-size:18px;font-weight:700;margin:0;color:#202733}.rl-knowledge-dialog header button{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:22px;min-height:28px;padding:0 5px}
.rl-knowledge-body{padding:20px 24px}.rl-context{display:flex;gap:8px;flex-wrap:wrap}.rl-context span{padding:5px 9px;border-radius:5px;background:#edf5ff;color:#2466ed;font-size:12px}.rl-context .rl-product{background:#ecfdf0;color:#22a24c}
.rl-knowledge-field{display:flex;flex-direction:column;gap:10px;margin-top:18px}.rl-knowledge-field>span{font-weight:700;color:#344054}.rl-knowledge-dialog em{font-style:normal;color:#f04438}.rl-knowledge-dialog input:not([type=radio]),.rl-knowledge-dialog select,.rl-knowledge-dialog textarea{box-sizing:border-box;width:100%;border:1px solid #c9d5e8;border-radius:8px;padding:10px 12px;background:#fff;color:#344054;font-family:inherit;font-size:14px;line-height:1.6;outline:none}.rl-knowledge-dialog input:focus,.rl-knowledge-dialog textarea:focus,.rl-knowledge-dialog select:focus{border-color:#3478ff;box-shadow:0 0 0 3px #3478ff16}.rl-knowledge-dialog textarea{resize:vertical;min-height:130px}
.rl-scope{min-width:0;margin:18px 0 0;padding:0;border:0;background:transparent}.rl-scope legend{padding:0;margin-bottom:10px;font-weight:700;color:#344054}.rl-scope-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rl-scope-option{position:relative;cursor:pointer}.rl-scope-option input{position:absolute;opacity:0;width:1px;height:1px}.rl-scope-option span{display:flex;flex-direction:column;gap:4px;position:relative;padding:12px;background:#fff;border:1px solid #d7e0ef;border-radius:9px}.rl-scope-option b{font-size:14px;font-weight:700;color:#293444}.rl-scope-option small{font-size:12px;color:#667085}.rl-scope-option input:checked+span{border-color:#2970ff;background:#f8fbff;box-shadow:0 0 0 2px #2970ff0a}.rl-scope-option input:checked+span:after{content:'已选';position:absolute;right:8px;top:9px;background:#2466ff;color:#fff;font-size:10px;padding:1px 5px;border-radius:9px}.rl-scope-option input:focus-visible+span{outline:2px solid #2466ff;outline-offset:3px}.rl-scope-option:has(input:disabled){cursor:not-allowed;opacity:.45}
.rl-modal-status{font-size:12px;color:#8490a2;margin:12px 0 0}.rl-modal-status.rl-error{color:#b5473c}.rl-knowledge-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #edf0f5;background:#fff}.rl-knowledge-dialog footer button{min-width:90px}.rl-knowledge-dialog button.primary{background:#1d61ff;color:#fff;border-color:#1d61ff;font-weight:700}.rl-draft-note{margin-right:auto;font-size:12px;color:#8490a2}
@media(max-width:550px){.rl-knowledge-body{padding:16px}.rl-scope{padding:0}.rl-scope-options{gap:6px}.rl-scope-option span{padding:12px 8px}.rl-scope-option b{font-size:12px}.rl-scope-option small{font-size:10px}.rl-scope-option input:checked+span:after{top:-7px;right:5px}.rl-knowledge-dialog footer{padding:14px 16px;flex-wrap:wrap}.rl-draft-note{flex-basis:100%;font-size:11px}}
.portal-ui dialog.rl-knowledge-dialog{padding:0;max-width:720px;max-height:calc(100dvh - 40px);overflow:hidden;font-weight:400}
.rl-knowledge-dialog>form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px);margin:0}
.rl-knowledge-dialog header,.rl-knowledge-dialog footer{flex:none}.rl-knowledge-body{min-height:0;overflow:auto}.rl-knowledge-dialog .rl-scope{display:block}.rl-knowledge-dialog .rl-scope-options label{margin:0}.rl-knowledge-dialog input,.rl-knowledge-dialog textarea,.rl-knowledge-dialog select{font-weight:400}.rl-knowledge-dialog header h2{font-size:18px}
.rl-knowledge-dialog .rl-knowledge-field{margin:16px 0 0}.rl-knowledge-dialog .rl-knowledge-field[hidden]{display:none}
.rw-detail:has(.rw-learning){grid-template-columns:minmax(0,1fr) 310px}
@media(max-width:1150px){.rw-detail:has(.rw-learning){grid-template-columns:minmax(0,1fr) 260px}.rw-learning{width:260px;padding:16px 12px}}
@media(max-width:900px){.rw-detail:has(.rw-learning){grid-template-columns:minmax(0,1fr);overflow:auto}.rw-learning{width:auto;border-left:0;border-top:1px solid var(--rw-border);overflow:visible}.rw-detail:has(.rw-learning) .rw-detail-main{min-height:420px}.rl-title{align-items:center}}

.portal-ui .rl-field textarea,.portal-ui .rl-editor textarea,.portal-ui .rl-scope-option small{font-weight:400}
.rw-review-column .rl-panel{padding:18px 16px;border-bottom:1px solid var(--rw-border);min-width:0}
.rw-review-column .rl-panel h3{font-size:18px;font-weight:700;margin:0}
.rw-review-column .rl-panel .rl-title{flex-wrap:wrap;gap:8px}
.rw-review-column .rl-panel .rl-title button{font-size:14px;min-height:32px}
.rw-review-column .rl-panel .rl-learning-heading{margin:0 0 10px}
.rw-review-column .rl-panel .rl-learning-heading>span{font-size:14px;color:#667085}
.rw-review-column .rl-panel .rl-learn,.rw-review-column .rl-panel .rl-review-save{font-size:16px;min-height:42px}
.rw-review-column .rl-panel .rl-saved,.rw-review-column .rl-panel .rl-status{font-size:14px;overflow-wrap:anywhere}
body.portal-ui #workspace .rw-page .rl-message-actions{gap:8px;flex-wrap:wrap}
body.portal-ui #workspace .rw-page .rl-message-actions button{font-size:16px;font-weight:600;min-height:36px;padding:4px 10px;color:#42546e;border:1px solid #dce3ed;border-radius:7px;background:#fff}
body.portal-ui #workspace .rw-page .rl-message-actions [data-rl-delete]{color:#b42336;border-color:#f1d1d7}
body.portal-ui #workspace .rw-page .rl-message-actions button:hover{background:#eef3fc}
body.portal-ui #workspace .rw-page .rl-deleted{font-size:14px;color:#667085;flex-wrap:wrap}
body.portal-ui #workspace .rw-page .rl-deleted button{font-size:16px;font-weight:600;min-height:36px;padding:4px 10px}
body.portal-ui #workspace .rl-editor h3{font-size:20px;font-weight:700}
body.portal-ui #workspace .rl-editor textarea{font-size:16px}
body.portal-ui #workspace .rl-editor button{font-size:16px;font-weight:600}
.portal-ui .rl-knowledge-dialog header h2{font-size:22px;font-weight:750}
.rl-knowledge-field>span,.rl-scope legend{font-size:16px;font-weight:700}
.rl-scope-option b{font-size:16px;font-weight:700}
.rl-knowledge-dialog footer button{font-size:16px;min-height:44px}
@media(max-width:550px){.rl-scope-options{grid-template-columns:1fr}.rl-scope-option span{flex-direction:row;align-items:center;gap:12px}.rl-scope-option b{font-size:15px}.rl-scope-option small{font-size:13px}.rl-scope-option input:checked+span:after{top:12px;right:10px}.rl-scope-option span{padding-right:50px}}
.rw-message .rl-product-card{box-sizing:border-box;width:560px;max-width:100%;padding:12px 14px;border:1px solid #e2e6ef;border-radius:12px;background:#fff;color:#344054;overflow-wrap:anywhere}
.rl-product-main{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 16px}
.rl-product-name{display:block;flex:1 1 240px;min-width:0;font-size:16px;font-weight:650;line-height:1.55}
.rl-product-price{display:flex;align-items:baseline;gap:4px;white-space:nowrap;line-height:1.4}
.rl-product-price b{font-size:20px;font-weight:700;color:#4338ca}.rl-product-price>span{font-size:14px;color:#667085}
.rl-product-tags{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:10px;font-size:14px;line-height:1.5}
.rl-product-tags>span{padding:2px 7px;border-radius:5px;background:#f4f6fa;color:#475467}
.rl-product-sales{margin-top:8px;font-size:14px;color:#667085}
.rl-product-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:10px;font-size:14px;line-height:1.5;color:#667085}.rl-product-meta>time:first-of-type{margin-left:auto}
.rl-product-card dl{display:grid;gap:6px;margin:10px 0 0;padding-top:10px;border-top:1px solid #edf0f5;font-size:14px;line-height:1.6}
.rl-product-card dl>div{display:grid;grid-template-columns:2em minmax(0,1fr);gap:10px}.rl-product-card dt{color:#667085}.rl-product-card dd{margin:0}

.rl-empty-pairs{font-size:14px;line-height:1.6;color:#667085;margin:0 0 12px}
.rw-page .rl-add-pair{width:100%;margin-bottom:10px;font-size:16px;font-weight:600;min-height:42px}
.rl-manual-pairs{max-height:360px;overflow:auto;overflow-wrap:anywhere}.rl-manual-pairs:empty{display:none}
.rl-manual-pairs article{padding:12px 0;margin-bottom:10px;border-bottom:1px solid #e2e6ef;font-size:16px;line-height:1.6}
.rl-manual-pairs strong,.rl-manual-pairs p{white-space:pre-wrap}.rl-manual-pairs p{margin:8px 0}
.rl-pair-actions{display:flex;gap:8px;justify-content:flex-end}.rw-page .rl-pair-actions button{font-size:14px;min-height:32px}
.rl-pair-editor label{display:flex;flex-direction:column;gap:8px;margin:16px 0}.rl-pair-editor label>span{font-size:16px;font-weight:700}
.portal-ui dialog.rl-pair-editor{max-height:calc(100dvh - 32px);overflow:auto}.rl-pair-editor textarea{font-weight:400}
