/* 会话增强、文件消息和独立访客聊天端样式。 */
.fangke-shijian{margin:10px 0;color:var(--fangke-time-color,#b2b2b2);font-size:11px;text-align:center}
.fangke-chuang>header{box-sizing:border-box;color:var(--fangke-head-text,#fff)}.fangke-toubu-touxiang{width:38px;height:38px;flex:0 0 38px;border-radius:var(--fangke-head-radius,20px);background:#ffffff26;display:grid;place-items:center}.fangke-chuang[data-toubu="hide"]>header{display:none}.fangke-chuang[data-toubu="mini"]>header{height:48px;padding:7px 12px}.fangke-chuang[data-toubu="mini"]>header small{display:none}.fangke-chuang[data-toubu="simple"]>header{height:58px}.fangke-chuang[data-toubu="simple"] .fangke-toubu-touxiang{display:none}.fangke-chuang>section{background:var(--fangke-message-bg,#fafafa)}.fangke-chuang .xiaoxi{font-size:var(--fangke-message-size,14px)}.fangke-chuang .touxiang2{border-radius:var(--fangke-avatar-radius,20px)}.fangke-chuang .xiaoxi:not(.kefu) .paopao{border:1px solid var(--fangke-service-border,transparent);border-radius:var(--fangke-service-radius,4px);background:var(--fangke-service-bg,#f3f3f3);color:var(--fangke-service-text,#000)}.fangke-chuang .xiaoxi.kefu .paopao{background:var(--fangke-customer-bg,#2196f3);color:var(--fangke-customer-text,#fff)}.fangke-chuang .paopao small{color:var(--fangke-time-color,#b2b2b2)}.fangke-yincang-kefu-touxiang .xiaoxi:not(.kefu) .touxiang2{display:none}.fangke-yidu{margin-left:7px;color:inherit;font-style:normal}.fangke-chuang>footer{background:var(--fangke-input-bg,#fff)}.fangke-chuang textarea{box-sizing:border-box;border-radius:5px;padding:7px;background:var(--fangke-input-box,#fff);color:var(--fangke-input-text,#333)}.fangke-gongju button,.fangke-gongju a{border:0;background:none;color:var(--fangke-icon-color,#555);font-size:20px;text-decoration:none;cursor:pointer}.fangke-chuang[data-shuru="simple"]>footer>div:last-child{border:1px solid #e3e6ea;border-radius:22px;padding:4px 5px 4px 10px}.fangke-chuang[data-shuru="simple"] textarea{height:45px}.fangke-chuang[data-shuru="stand"]>footer{padding:14px}.fangke-chuang[data-shuru="rich"] .fangke-gongju{min-height:32px}.fangke-gonggao{padding:8px 14px;border-bottom:1px solid #f0dfab;background:#fff8db;color:#856c18;font-size:12px;white-space:pre-wrap}.fangke-banquan{padding:5px;background:var(--fangke-input-bg,#fff);color:#aaa;font-size:11px;text-align:center}.fangke-fanhui{position:fixed;z-index:5;left:18px;top:18px;padding:7px 11px;border-radius:4px;background:#0007;color:#fff;text-decoration:none}.fangke-you-cebian{display:flex;align-items:center;justify-content:center}.fangke-cebianlan{height:min(600px,100vh);overflow:hidden;background:#fff;box-shadow:0 14px 60px #1e3a5f2c}.fangke-cebianlan img,.fangke-cebianlan iframe{display:block;width:100%;height:100%;border:0;object-fit:cover}.fangke-shense-dark{color:#e5e7eb;background:#171a20}.fangke-shense-dark>section{background:#20242c}.fangke-shense-dark>footer{background:#171a20}.fangke-shense-dark textarea{background:#242933;color:#eee}.fangke-shense-dark .xiaoxi:not(.kefu) .paopao{border-color:#3b414c;background:#2b3039;color:#eee}@media(prefers-color-scheme:dark){.fangke-shense-auto{color:#e5e7eb;background:#171a20}.fangke-shense-auto>section{background:#20242c}.fangke-shense-auto>footer{background:#171a20}.fangke-shense-auto textarea{background:#242933;color:#eee}}@media(max-width:700px){.fangke-cebianlan,.fangke-fanhui{display:none}.fangke-you-cebian{display:block}}
.shaixuan{flex-wrap:wrap}.shaixuan input{width:100%;border:1px solid #e3e5e9;border-radius:4px;padding:8px}.wenzi-anniu{border:0;background:none;color:#4b6f9f;cursor:pointer;padding:6px}.huanhua i{margin-left:auto;font-size:11px;color:#19a965;font-style:normal}.paopao small{display:block;color:#a0a4ac;font-size:10px;margin-top:5px}.kefu .paopao small{color:#609b4b}.gongjulie{text-align:left!important;height:28px}.inline-input{width:100%;border:0;border-bottom:1px solid #eee;padding:5px 0;outline:0}.biaoti-hang{display:flex;align-items:center;justify-content:space-between}.fangke-duan{background:#edf2f7;display:grid;place-items:center;min-height:100vh}.fangke-chuang{position:relative;width:min(420px,100%);height:min(680px,100vh);background:#fff;display:flex;flex-direction:column;box-shadow:0 14px 60px #1e3a5f2c}.fangke-chuang>header{height:76px;background:linear-gradient(135deg,#2f80ed,#5179ed);color:#fff;padding:15px 18px;display:flex;justify-content:space-between;align-items:center}.fangke-chuang>header b{display:block;font-size:18px}.fangke-chuang>header small{display:block;margin-top:6px;opacity:.9}.fangke-chuang>header i{display:inline-block;width:7px;height:7px;background:#65f09a;border-radius:50%}.fangke-chuang>header button{background:none;color:#fff;border:0;font-size:22px}.fangke-chuang>section{flex:1;overflow:auto;padding:15px;background:#f5f7fa}.fangke-chuang .xiaoxi{max-width:80%}.fangke-chuang>footer{border-top:1px solid #e7e9ee;padding:10px}.fangke-chuang>footer>div:last-child{display:flex;gap:8px}.fangke-chuang textarea{flex:1;height:68px;border:0;resize:none;outline:0}.fangke-chuang footer button{align-self:end;border:0;background:#2f80ed;color:#fff;padding:8px 17px;border-radius:4px}.fangke-gongju{display:flex;justify-content:space-between;color:#999;font-size:12px;margin-bottom:5px}.fangke-gongju label{font-size:24px;color:#555;cursor:pointer}.shouqi .fangke-chuang{height:76px;overflow:hidden}@media(max-width:700px){.fangke-chuang{width:100%;height:100vh}.fangke-duan{display:block}}
.zhanghao-lianjie{display:flex;justify-content:space-between;margin-top:16px}.zhanghao-lianjie a{color:#2f80ed;text-decoration:none}.guanbi-tishi{padding:14px;border-radius:6px;background:#fff4d9;color:#8a5b00}
.daochu-liebiao,.kapian-caozuo{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.zidingyi-caidan{border-top:1px solid #e7e9ee;padding:9px 12px;background:#fff}.zidingyi-caidan p,.zidingyi-caidan small{display:block;margin:0 0 7px;color:#7b818c;font-size:12px;white-space:pre-wrap}.zidingyi-caidan small{margin:7px 0 0}.zidingyi-caidan>div{display:flex;gap:7px;overflow-x:auto}.zidingyi-caidan button{flex:0 0 auto;border:1px solid var(--fangke-zhuti,#2f80ed);border-radius:14px;padding:5px 12px;background:#fff;color:var(--fangke-zhuti,#2f80ed);cursor:pointer}
.fangke-contact{display:flex;align-items:center;gap:12px;min-width:240px;margin:10px -8px -5px;padding:10px 8px 0;border-top:1px solid #edf0f4}.fangke-contact>span{min-width:0;flex:1}.fangke-contact b,.fangke-contact small{display:block}.fangke-contact b{font-size:13px}.fangke-contact small{margin-top:4px!important;color:#8a9099!important;line-height:1.45}.fangke-contact-actions{display:flex;flex:none;flex-wrap:wrap;justify-content:flex-end;gap:5px}.fangke-contact a,.fangke-contact button{flex:none;border:0;border-radius:3px;padding:7px 10px;color:#fff;text-decoration:none;cursor:pointer;font-size:12px}.lianxi-erweima-ceng{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;background:#0009}.lianxi-erweima-ceng[hidden]{display:none}.lianxi-erweima-ceng img{width:min(280px,76vw);height:min(280px,76vw);object-fit:contain;padding:14px;border-radius:6px;background:#fff}.lianxi-erweima-ceng>button{position:absolute;top:22px;right:22px;border:0;background:transparent;color:#fff;font-size:32px;cursor:pointer}
/* 商品卡片页按原站分为总开关、列表工具、分页和新增编辑预览弹层。 */
.product-page{max-width:1120px}.product-switch{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid #e8eaee;background:#fff}.product-switch>div{min-width:0;flex:1}.product-switch b{font-size:15px}.product-switch p,.product-import-note{margin:6px 0 0;color:#8b9099;font-size:13px}.product-toolbar{display:flex;align-items:center;gap:10px;margin:22px 0 0}.product-toolbar .anniu{margin-left:auto}.button-outline{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:34px;border:1px solid #d5d9e0;border-radius:3px;padding:7px 14px;background:#fff;color:#555;text-decoration:none;cursor:pointer}.button-outline:disabled{cursor:not-allowed;opacity:.5}.product-import{cursor:pointer}.product-list{margin-top:18px;border:1px solid #e5e7eb;background:#fff;overflow:auto}.product-list .biaoge{margin:0;min-width:780px}.product-cell{display:flex;align-items:center;gap:10px;min-width:220px}.product-cell img,.product-cell>i{width:52px;height:52px;flex:0 0 52px;border-radius:4px;background:#f0f2f5;object-fit:cover;display:grid;place-items:center;color:#aaa;font-style:normal}.product-cell span,.product-list td>small{display:block}.product-cell small,.product-list td>small{max-width:220px;margin-top:5px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-list td>a{display:block;max-width:320px;color:#3f78b5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-empty{height:130px;text-align:center!important;color:#aaa}.product-pagination{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:14px}.product-pagination button{border:1px solid #d5d9e0;border-radius:3px;padding:7px 12px;background:#fff;cursor:pointer}.product-pagination button:disabled{opacity:.45;cursor:not-allowed}.product-mask{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:#0007}.product-dialog{width:min(900px,96vw);max-height:92vh;border-radius:5px;background:#fff;box-shadow:0 18px 70px #0004;overflow:auto}.product-dialog>header,.product-dialog>footer{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #eceef1}.product-dialog>header h3{margin:0}.product-dialog>header button{border:0;background:none;font-size:25px;cursor:pointer}.product-dialog>footer{justify-content:flex-end;gap:10px;border-top:1px solid #eceef1;border-bottom:0}.product-dialog-body{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;padding:22px}.product-fields>label{display:block;margin-bottom:15px;color:#555}.product-fields label>em{color:#ef4444;font-size:12px;font-style:normal}.product-fields label>small{float:right;color:#999}.product-fields input:not([type=checkbox]),.product-fields textarea{box-sizing:border-box;width:100%;margin-top:6px;border:1px solid #d8dce2;border-radius:3px;padding:9px;outline:0}.product-upload{display:flex;align-items:center;gap:12px;margin-top:7px}.product-upload>span{width:92px;height:72px;border:1px dashed #bbc2cc;border-radius:4px;display:grid;place-items:center;color:#999;overflow:hidden}.product-upload img{width:100%;height:100%;object-fit:cover}.product-preview{padding:16px;border-left:1px solid #eceef1}.product-preview h4{margin:0 0 18px}.product-preview>a{display:grid;grid-template-columns:86px 1fr;grid-template-rows:auto auto auto auto;column-gap:12px;border:1px solid #e1e4e8;border-radius:5px;padding:12px;color:#333;text-decoration:none;background:#fff}.product-preview>a>span{grid-row:1/5;width:86px;height:86px;display:grid;place-items:center;background:#f0f2f5;color:#aaa;font-size:12px;overflow:hidden}.product-preview img{width:100%;height:100%;object-fit:cover}.product-preview b,.product-preview em,.product-preview p,.product-preview small{grid-column:2;margin:0}.product-preview em{color:#f25b40;font-style:normal}.product-preview p,.product-preview small{color:#999;font-size:12px}@media(max-width:800px){.product-dialog-body{grid-template-columns:1fr}.product-preview{border-left:0;border-top:1px solid #eceef1}.product-toolbar{flex-wrap:wrap}.product-toolbar .anniu{margin-left:0}.product-switch{align-items:flex-start;flex-wrap:wrap}}
