.app-shell .jf-fast-drawer.jf-employee-drawer{width:min(1240px,calc(100vw - 40px));max-width:calc(100vw - 40px);padding:24px;font-size:14px;line-height:1.7;color:#273449}
.app-shell .jf-employee-drawer .customer-summary-v2{padding:22px;gap:18px;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity actions" "demand demand" "service service";border-radius:16px;background:#fff;border-color:#e2e6ee}
.app-shell .jf-employee-drawer .customer-profile-overview{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"identity actions" "demand demand"!important;gap:18px!important;align-items:start}
.app-shell .customer-workspace.jf-fast-drawer.jf-employee-drawer .customer-summary-v2 .customer-profile-overview>.customer-profile-copy{grid-area:identity;display:flex!important;align-items:center!important;gap:10px 18px!important}
.app-shell .jf-employee-drawer .customer-profile-overview>.jf-customer-header-actions{grid-area:actions}
.app-shell .jf-employee-drawer .customer-profile-copy>p{width:auto!important;flex:0 1 auto}
.app-shell .jf-employee-drawer .customer-profile-copy{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;min-width:0}
.app-shell .jf-employee-drawer .customer-profile-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0}
.app-shell .customer-workspace.jf-fast-drawer.jf-employee-drawer .customer-summary-v2 .customer-profile-copy>div{width:auto!important;max-width:100%;flex:0 1 auto!important}
.app-shell .jf-employee-drawer .customer-profile-copy h2{font-size:22px;line-height:1.45;font-weight:700;max-width:100%;margin:0;overflow-wrap:anywhere}
.app-shell .jf-employee-drawer .customer-profile-copy>p{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;font-size:14px;line-height:1.7;color:#5e6d82}
.app-shell .jf-employee-drawer .customer-profile-copy>p>i{display:none}
.app-shell .jf-employee-drawer .customer-profile-copy>p>span,.app-shell .jf-employee-drawer .copy-profile-phone{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:3px 9px;border:1px solid #e7eaf0;border-radius:7px;background:#fafbfd;font-size:14px;line-height:24px;color:#4a5b73;font-weight:500;overflow-wrap:anywhere}
.app-shell .jf-employee-drawer .copy-profile-phone{font-weight:650;font-variant-numeric:tabular-nums}
.app-shell .jf-employee-drawer .jf-customer-header-actions{align-items:center;gap:8px;padding-right:38px}
.app-shell .jf-employee-drawer .jf-customer-header-actions>button,.app-shell .jf-employee-drawer .jf-customer-header-actions .crm-customer-ticket-links>button{font-size:13px;line-height:22px;min-height:36px;padding:6px 11px;min-width:0;border-radius:8px;white-space:nowrap}
.app-shell .jf-employee-drawer>.close-button{right:20px;top:26px;width:30px;height:30px;z-index:8}
.app-shell .jf-employee-drawer .jf-demand-adaptive{grid-area:demand;margin:0;padding:17px 19px!important;border:1px solid #e6e9f0;background:#f8fafc!important;border-radius:11px;min-height:0}
.jf-employee-drawer .jf-demand-content{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
.jf-employee-drawer .jf-demand-content.has-note{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.app-shell .jf-employee-drawer .jf-demand-section{display:block;min-width:0;margin:0!important;padding:0!important;border:0!important}
.app-shell .jf-employee-drawer .jf-demand-content.has-note .jf-demand-section+section{padding-left:18px!important;border-left:1px solid #e1e6ee!important}
.app-shell .jf-employee-drawer .jf-demand-section h3{font-size:14px!important;line-height:23px!important;font-weight:650!important;color:#36475d!important;margin:0 0 8px!important}
.app-shell .jf-employee-drawer .jf-demand-section p{font-size:14px!important;line-height:25px!important;color:#52637b!important;font-weight:400;margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;max-height:none!important}
.app-shell .jf-employee-drawer .jf-demand-adaptive.is-expanded .jf-demand-section p{display:block;overflow:visible;-webkit-line-clamp:unset}
.jf-employee-drawer .jf-demand-controls{display:flex;justify-content:flex-end;margin-top:12px}
.app-shell .jf-employee-drawer .jf-demand-controls button{font:600 13px/22px "Microsoft YaHei",sans-serif;background:white;color:#625770;border:1px solid #dcd6e5;border-radius:8px;padding:5px 12px;min-height:34px;cursor:pointer}
.app-shell .jf-employee-drawer .jf-demand-controls button:hover{background:#f1edf6;border-color:#b7aac8}
.app-shell .jf-fast-drawer.jf-employee-drawer .customer-summary-v2>.customer-service-flow{grid-area:service;display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,.95fr) minmax(0,1.15fr)!important;gap:12px!important;border:0!important;padding:0!important;margin:18px 0 0!important;align-items:stretch}
.app-shell .jf-fast-drawer.jf-employee-drawer .customer-summary-v2>.customer-service-flow>.service-flow-arrow{display:none!important}
.app-shell .jf-employee-drawer .service-member{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;align-content:start;gap:10px;min-width:0;margin:0;padding:14px 15px!important;border:1px solid #e7eaf0!important;border-radius:11px;background:#fcfcfe}
.app-shell .jf-employee-drawer .service-member:has(.service-member-avatar){grid-template-columns:minmax(0,1fr) 52px}
.app-shell .jf-employee-drawer .service-member>div{grid-row:1;grid-column:1;min-width:0}
.app-shell .jf-employee-drawer .service-member small{display:block;font-size:12px;line-height:21px;color:#798598;margin:0 0 5px}
.app-shell .jf-employee-drawer .copy-service-name{display:inline-flex;align-items:flex-start;gap:5px;max-width:100%;text-align:left}
.app-shell .jf-employee-drawer .copy-service-name>svg{flex:none;margin-top:5px;color:#9aa4b3}
.app-shell .jf-employee-drawer .service-name-text{font-size:14px!important;font-weight:600;line-height:23px!important;max-width:none;white-space:normal;overflow-wrap:anywhere;color:#304157}
.app-shell .jf-employee-drawer .service-member>div>span{display:block;font-size:13px;line-height:23px;margin-top:4px;color:#6b7a90;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.app-shell .jf-employee-drawer .service-member-avatar{grid-row:1;grid-column:2;width:52px;height:66px;padding:3px;border:1px solid #e0e5ed;border-radius:7px;background:white;margin:0;align-self:start}
.app-shell .jf-employee-drawer .service-member-avatar img{width:100%;height:100%;object-fit:contain}
.app-shell .jf-employee-drawer .real-drawer-grid{grid-template-columns:minmax(0,1fr) 324px;gap:18px}
.app-shell .jf-employee-drawer .jf-fast-fold-title{min-height:48px;align-items:center;gap:14px}
.app-shell .jf-employee-drawer .jf-fast-fold-title>span:first-child{font-size:15px;line-height:24px;font-weight:650}
.app-shell .jf-employee-drawer .jf-fast-fold-title>span:last-child{font-size:14px!important;line-height:24px!important;font-weight:500;white-space:nowrap;color:#796228}
.app-shell .jf-employee-drawer .jf-fast-activity-body{padding:0 17px 10px;max-height:460px}
.app-shell .jf-employee-drawer .jf-fast-activity-body ol{padding:0;margin:0;list-style:none}
.app-shell .jf-employee-drawer .jf-fast-activity-body li{padding:16px 0!important;border-bottom:1px solid #edf0f5;margin:0!important;overflow-wrap:anywhere}
.app-shell .jf-employee-drawer .jf-fast-activity-body li:last-child{border-bottom:0}
.app-shell .jf-employee-drawer .jf-fast-activity-body li>header{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:4px;margin:0 0 7px!important}
.app-shell .jf-employee-drawer .jf-fast-activity-body li strong{font-size:14px!important;line-height:23px!important;font-weight:650;color:#34465d}
.app-shell .jf-employee-drawer .jf-fast-activity-body li time{font-size:12px!important;line-height:20px!important;color:#7e899a;white-space:normal;letter-spacing:0;font-variant-numeric:tabular-nums}
.app-shell .jf-employee-drawer .jf-fast-activity-body li>small{display:block;font-size:12px!important;line-height:20px!important;color:#7e899a;margin:0 0 6px}
.app-shell .jf-employee-drawer .jf-fast-activity-body li p{font-size:14px!important;line-height:24px!important;color:#56677e;margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere}
.app-shell .jf-employee-drawer .jf-stage-adaptive .jf-stage-guide{padding-top:16px;margin-top:2px}
.app-shell .jf-employee-drawer .jf-stage-adaptive .jf-stage-guide strong{font-size:14px!important;line-height:24px!important;color:#394b63;font-weight:650}
.app-shell .jf-employee-drawer .jf-stage-adaptive .jf-stage-guide p{font-size:14px!important;line-height:25px!important;color:#637289;margin-top:8px}
.jf-employee-drawer button:focus-visible{outline:3px solid #afa0c2;outline-offset:3px}
@media(max-width:1050px){.app-shell .jf-employee-drawer .customer-profile-overview{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"identity" "actions" "demand"!important}}
@media(max-width:1050px){.app-shell .jf-employee-drawer .customer-summary-v2{grid-template-columns:minmax(0,1fr);grid-template-areas:"identity" "actions" "demand" "service";gap:14px}.app-shell .jf-employee-drawer .jf-customer-header-actions{padding-right:0;justify-content:flex-start}.app-shell .jf-fast-drawer.jf-employee-drawer .customer-summary-v2>.customer-service-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell .jf-employee-drawer .real-drawer-grid{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:760px){.app-shell .jf-fast-drawer.jf-employee-drawer{width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:12px}.app-shell .jf-employee-drawer .customer-summary-v2{padding:17px}.app-shell .jf-employee-drawer>.close-button{right:18px;top:21px}.app-shell .jf-employee-drawer .customer-profile-copy{padding-right:26px;gap:9px}.app-shell .jf-employee-drawer .customer-profile-copy h2{font-size:20px}.app-shell .jf-fast-drawer.jf-employee-drawer .customer-summary-v2>.customer-service-flow,.app-shell .jf-employee-drawer .real-drawer-grid{grid-template-columns:minmax(0,1fr)}.app-shell .jf-employee-drawer .jf-demand-content.has-note{grid-template-columns:minmax(0,1fr)}.app-shell .jf-employee-drawer .jf-demand-content.has-note .jf-demand-section+section{border-left:0!important;border-top:1px solid #e1e6ee!important;padding-left:0!important;padding-top:15px!important}.app-shell .jf-employee-drawer .service-member{padding:12px 14px!important}.app-shell .jf-employee-drawer .service-member-avatar{height:60px}.app-shell .jf-employee-drawer .jf-fast-activity-body{max-height:420px}}
@media(max-width:760px){.app-shell .jf-fast-drawer.jf-employee-drawer .customer-summary-v2>.customer-service-flow{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:760px){
 body:has(.jf-employee-drawer){min-width:0!important}
 .app-shell .overlay>.drawer.customer-workspace.real-customer-drawer.jf-fast-drawer.jf-employee-drawer{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;padding:12px!important;box-sizing:border-box}
 .app-shell .customer-workspace.jf-fast-drawer.jf-employee-drawer .customer-summary-v2{padding:16px!important;min-width:0}
 .app-shell .customer-workspace.jf-fast-drawer.jf-employee-drawer .customer-profile-overview>.jf-customer-header-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;position:static!important;padding:0!important;gap:8px!important;max-width:100%;width:auto!important}
}

html:has(.jf-login-screen),body:has(.jf-login-screen),body:has(.jf-login-screen) #root{min-width:0!important;min-height:100%;width:100%!important;background:#fff!important}
.jf-login-screen{box-sizing:border-box;min-height:100vh;min-height:100dvh;width:100%;display:grid;place-items:center;padding:40px;background:#fff!important;color:#292638!important;font-family:"Microsoft YaHei","Microsoft YaHei UI",sans-serif}
.jf-login-screen *{box-sizing:border-box}
.jf-login-content{display:grid;grid-template-columns:.95fr 1.05fr;width:min(100%,760px);min-height:420px;margin:0;overflow:hidden;border:1px solid #e4e0e9;border-radius:22px;background:#fff;box-shadow:0 24px 70px -34px #33264629,0 3px 12px #33264604}
.jf-login-brand-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:42px 22px;background:linear-gradient(140deg,#f7f5fa 0%,#fcfbfd 65%,#fff 100%);position:relative}
.jf-login-brand-panel::after{content:"";position:absolute;width:1px;right:0;top:42px;bottom:42px;background:linear-gradient(transparent,#e5e0ec 20%,#e5e0ec 80%,transparent)}
.jf-login-brand{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0}
.jf-login-brand-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.jf-login-logo{display:block;width:132px;height:132px;object-fit:contain;flex:none;border:0;border-radius:0;background:transparent;margin:0}
.jf-login-brand strong{font:750 30px/1.3 "Microsoft YaHei",sans-serif;letter-spacing:.1px;color:#2b283a;white-space:nowrap}
.jf-login-port{font-size:14px;line-height:24px;font-weight:400;letter-spacing:2px;color:#8a8297;margin:8px 0 0}
.jf-login-scan-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 34px 29px;min-width:0;background:#fff}
.jf-login-screen h1{font:550 18px/28px "Microsoft YaHei",sans-serif;color:#4e475d;margin:0;letter-spacing:.2px}
.jf-login-qr{position:relative;display:grid;place-items:center;flex:none;width:238px;height:238px;max-width:100%;margin:24px 0 0;padding:13px;background:#fff;isolation:isolate}
.jf-login-qr::before,.jf-login-qr::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;border-radius:12px}
.jf-login-qr::before{border:1px solid #eeebf2}
.jf-login-qr::after{border:1.5px solid #9c8aad;mask:conic-gradient(at 20px 20px,transparent 75%,#000 0) 0 0/calc(100% - 20px) calc(100% - 20px);opacity:.8}
.jf-login-qr>img{display:block;width:210px;height:210px;max-width:100%;max-height:100%;object-fit:contain;border:0;margin:0;filter:none}
.jf-login-retry{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px;padding:20px;border-radius:12px;background:#fffffff5;color:#746b80;font-size:14px}
.jf-login-retry button,.jf-login-load-retry{font:600 13px/22px "Microsoft YaHei",sans-serif;color:#fff;background:#6e5c80;border:1px solid #6e5c80;border-radius:8px;padding:8px 17px;cursor:pointer}
.jf-login-retry button:hover,.jf-login-load-retry:hover{background:#5c496f}
.jf-login-screen button:focus-visible{outline:3px solid #c3b3d4;outline-offset:4px}
.jf-login-progress{min-height:32px;display:flex;align-items:center;justify-content:center;width:100%;margin:15px 0 0;color:#8a7e96;font-size:12px;line-height:21px}
.jf-login-progress-line{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;overflow-wrap:anywhere}
.jf-login-progress-dot{width:6px;height:6px;background:#9b88ad;border-radius:50%;box-shadow:0 0 0 3px #f4f0f8;flex:none}
.jf-login-error{font-size:12px;line-height:21px;color:#aa5b66;max-width:280px;margin:10px 0 0;overflow-wrap:anywhere;text-align:center}
.jf-login-prepare{display:grid;place-items:center;width:238px;height:238px;margin-top:24px;border:1px solid #eeebf2;border-radius:12px;background:#fdfcfe}
.jf-login-prepare-spinner{width:36px;height:36px;border:3px solid #eee8f3;border-top-color:#8b769e;border-radius:50%;animation:jf-login-spin .9s linear infinite}
.jf-login-prepare-error{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#faeeee;color:#aa5c62;font-size:24px}
.jf-login-load-retry{margin-top:12px}
@keyframes jf-login-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.jf-login-prepare-spinner{animation:none}}
@media(max-width:680px){.jf-login-screen{padding:24px}.jf-login-content{max-width:390px;grid-template-columns:minmax(0,1fr)}.jf-login-brand-panel{padding:28px 20px 23px}.jf-login-brand-panel::after{width:auto;height:1px;top:auto;bottom:0;left:28px;right:28px;background:linear-gradient(90deg,transparent,#e7e1ee,transparent)}.jf-login-logo{width:49px;height:49px}.jf-login-brand strong{font-size:26px}.jf-login-port{font-size:12px;line-height:20px;margin-top:8px}.jf-login-scan-panel{padding:26px 22px 20px}.jf-login-screen h1{font-size:17px}.jf-login-qr,.jf-login-prepare{margin-top:19px}}
