*,:before,:after{box-sizing:border-box}html,body,#root{-webkit-font-smoothing:antialiased;width:100%;height:100%;margin:0;padding:0;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;overflow:hidden}.office-app{color:#1a1a1a;background:#ececea;width:100vw;height:100vh;display:flex;overflow:hidden}.office-sidebar{background:#fafaf9;border-right:1px solid #e4e2dc;flex-direction:column;flex-shrink:0;gap:14px;width:194px;min-height:0;padding:16px 12px;display:flex;overflow:hidden auto}.sidebar-brand{align-items:center;gap:10px;padding:2px 8px;font-size:15px;font-weight:700;display:flex}.brand-mark{color:#fff;background:#dc2626;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;font-size:12px;display:inline-flex}.sidebar-search{color:#aaa;background:#fff;border:1px solid #e4e2dc;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:10px 12px;font-size:13px;display:grid}.sidebar-search kbd{color:#aaa;font:inherit;background:#f3f2ef;border:1px solid #e4e2dc;border-radius:5px;padding:1px 5px;font-size:11px}.sidebar-nav{flex-direction:column;gap:2px;display:flex}.nav-item{color:#555;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:9px 12px;font-size:13.5px;display:flex}.nav-main{align-items:center;gap:10px;min-width:0;display:flex}.nav-icon{color:#888;text-align:center;flex-shrink:0;width:16px}.nav-item:hover,.nav-item.active{color:#111;background:#ebeae6}.nav-item.active{color:#dc2626;background:#fef2f2;font-weight:600}.nav-badge{color:#dc2626;background:#fee2e2;border-radius:10px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:11px;display:inline-flex}.sidebar-section{border-top:1px solid #eceae4;margin-top:auto;padding-top:12px}.workspace-row{color:#555;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;padding:8px 10px;font-size:13px;display:flex}.workspace-row:hover:not(:disabled){background:#f3f2ef}.workspace-row:disabled{cursor:not-allowed;opacity:.55}.workspace-row.is-static{cursor:default}.workspace-row.active{color:#dc2626;background:#fef2f2;font-weight:600}.dashboard-notice{z-index:1100;color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;align-items:center;gap:12px;max-width:min(480px,100vw - 32px);padding:12px 12px 12px 16px;font-size:12px;line-height:1.5;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 16px 42px #0f172a2e}.dashboard-notice span{flex:1}.dashboard-notice button{color:#1d4ed8;cursor:pointer;background:#dbeafe;border:0;border-radius:50%;width:26px;height:26px}.dashboard-confirm-backdrop{z-index:1200;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a5c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dashboard-confirm-backdrop section{background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:min(420px,100%);padding:22px;box-shadow:0 24px 80px #0f172a47}.dashboard-confirm-backdrop strong{color:#172033;font-size:17px;display:block}.dashboard-confirm-backdrop p{color:#64748b;margin:10px 0 18px;font-size:12px;line-height:1.7}.dashboard-confirm-backdrop section>div{justify-content:flex-end;gap:8px;display:flex}.dashboard-confirm-backdrop button{color:#475569;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:8px;min-width:86px;height:36px}.dashboard-confirm-backdrop button.primary{color:#fff;background:#dc2626;border-color:#dc2626;font-weight:700}.dot-spacer{flex-shrink:0;width:7px}.sidebar-footer{border-top:1px solid #eceae4;flex-direction:column;gap:10px;padding-top:10px;display:flex}.user-card{background:#fff;border:1px solid #eceae4;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;display:flex}.user-avatar{color:#fff;background:#dc2626;border-radius:50%;justify-content:center;align-items:center;width:34px;height:34px;font-weight:700;display:inline-flex}.user-card span:last-child{flex-direction:column;gap:2px;display:flex}.user-card strong{font-size:13px}.user-card em,.system-status{color:#888;align-items:center;gap:6px;font-size:11px;font-style:normal;display:flex}.system-status{justify-content:space-between;padding:0 4px}.section-title{color:#aaa;margin:0 0 8px;padding:0 8px;font-size:11px;font-weight:600}.agent-row{color:#555;align-items:center;gap:9px;padding:7px 8px;font-size:13px;display:flex}.agent-dot,.activity-dot{border-radius:50%;flex-shrink:0;width:7px;height:7px}.agent-dot.online{background:#34c759;box-shadow:0 0 0 2px #34c75933}.office-center{flex-direction:column;flex:1;gap:12px;min-width:0;padding:14px 8px 14px 14px;display:flex}.office-header-stats{flex-shrink:0;grid-template-columns:repeat(4,minmax(118px,1fr)) minmax(170px,1.35fr);gap:10px;display:grid}.stat-card{background:#fff;border:1px solid #eceae4;border-radius:10px;min-width:0;padding:13px 15px;box-shadow:0 1px 3px #0000000a}.stat-label,.stat-hint{color:#999;font-size:12px;display:block}.stat-value{color:#111;font-variant-numeric:tabular-nums;margin:2px 0;font-size:28px;line-height:1.1;display:block}.resource-card{flex-direction:column;gap:7px;display:flex}.resource-row{color:#777;grid-template-columns:34px 1fr 36px;align-items:center;gap:8px;font-size:11px;display:grid}.resource-row:has(.network-value){grid-template-columns:34px 1fr}.network-value{grid-column:2}.resource-row em{color:#666;text-align:right;font-style:normal}.resource-bar{background:#f0efeb;border-radius:999px;height:5px;overflow:hidden}.resource-bar span{border-radius:inherit;background:#dc2626;height:100%;display:block}.resource-bar.purple span{background:#f87171}.office-main{background:#fff;border:1px solid #eceae4;border-radius:16px;flex:1;min-height:0;position:relative;overflow:hidden;box-shadow:0 2px 12px #0000000f}.office-canvas-loading{color:#64748b;justify-content:center;align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex;position:absolute;inset:0}.office-canvas-loading span{border:3px solid #e2e8f0;border-top-color:#dc2626;border-radius:50%;width:18px;height:18px;animation:.7s linear infinite route-loading-spin}.office-canvas{background:#fff;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.office-right-panel,.phone-remote-panel{background:#fafaf9;border-left:1px solid #e4e2dc;flex-direction:column;flex-shrink:0;gap:12px;width:300px;padding:16px 14px;display:flex;overflow:hidden}.phone-remote-panel{gap:10px;padding:14px 12px}.phone-remote-header{color:#555;background:#fff;border:1px solid #eceae4;border-radius:12px;flex-direction:column;gap:6px;padding:10px 12px;font-size:13px;display:flex}.phone-remote-agent-info{align-items:center;gap:8px;display:flex}.phone-remote-agent-info strong{color:#111}.phone-remote-dot{background:#ccc;border-radius:50%;flex-shrink:0;width:7px;height:7px}.phone-remote-dot.online{background:#34c759;box-shadow:0 0 0 2px #34c75933}.phone-remote-status{color:#888;align-items:center;gap:4px;font-size:12px;display:flex}.phone-remote-status-tag{color:#999;background:#f3f2ef;border-radius:999px;padding:1px 8px;font-size:10px;font-weight:600}.phone-remote-status-tag.online{color:#34a853;background:#eef8f0}.phone-frame{background:#000;border:3px solid #1a1a1a;border-radius:28px;flex:1;min-height:0;position:relative;overflow:hidden;box-shadow:0 4px 20px #00000026,inset 0 0 0 1px #ffffff1a}.phone-notch{z-index:2;background:#1a1a1a;border-radius:0 0 16px 16px;width:100px;height:22px;position:absolute;top:0;left:50%;transform:translate(-50%)}.phone-screen{background:#f5f5f5;flex-direction:column;width:100%;height:100%;font-size:12px;display:flex}.phone-screen-statusbar{color:#111;background:#f5f5f5;flex-shrink:0;justify-content:space-between;align-items:center;height:32px;padding:8px 20px 0;font-size:11px;font-weight:600;display:flex}.phone-screen-icons{letter-spacing:2px;color:#333;font-size:8px}.phone-screen-content{flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.phone-home-indicator{color:#999;background:#fafafa;border-bottom:1px solid #e8e8e8;flex-shrink:0;align-items:center;gap:6px;padding:8px 14px;font-size:10px;display:flex}.phone-app-icon{color:#666;font-size:14px}.phone-activity-feed{flex-direction:column;flex:1;gap:6px;padding:8px 10px;display:flex;overflow-y:auto}.phone-activity-item{background:#fff;border:1px solid #eee;border-radius:8px;align-items:flex-start;gap:8px;padding:6px 8px;display:flex}.phone-activity-icon{text-align:center;color:#dc2626;flex-shrink:0;width:16px;margin-top:2px;font-size:8px}.phone-activity-text{color:#333;font-size:11px;line-height:1.4}.phone-activity-item.typing .phone-activity-icon{color:#999;animation:1.2s ease-in-out infinite pulse-dot}.phone-typing-dots{align-items:center;gap:3px;height:14px;display:inline-flex}.phone-typing-dots i{background:#bbb;border-radius:50%;width:4px;height:4px;animation:1.4s ease-in-out infinite typing-bounce;display:block}.phone-typing-dots i:nth-child(2){animation-delay:.15s}.phone-typing-dots i:nth-child(3){animation-delay:.3s}@keyframes typing-bounce{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-4px)}}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.3}}.phone-screen-nav{color:#666;background:#fafafa;border-top:1px solid #e8e8e8;flex-shrink:0;justify-content:center;align-items:center;gap:28px;height:36px;font-size:18px;display:flex}.phone-remote-chat{background:#fff;border:1px solid #eceae4;border-radius:12px;flex-direction:column;flex-shrink:0;gap:6px;max-height:180px;padding:8px;display:flex}.phone-chat-messages{flex-direction:column;flex:1;gap:4px;min-height:40px;max-height:100px;display:flex;overflow-y:auto}.phone-chat-placeholder{color:#ccc;text-align:center;padding:10px 0;font-size:12px}.phone-chat-bubble{word-break:break-word;border-radius:10px;max-width:85%;padding:6px 10px;font-size:12px;line-height:1.4}.phone-chat-bubble.user{color:#fff;background:#dc2626;border-bottom-right-radius:3px;align-self:flex-end}.phone-chat-bubble.agent{color:#333;background:#f3f2ef;border-bottom-left-radius:3px;align-self:flex-start}.phone-chat-input-row{flex-shrink:0;gap:6px;display:flex}.phone-chat-input{font:inherit;color:#333;background:#fafaf9;border:1px solid #e4e2dc;border-radius:8px;outline:none;flex:1;padding:7px 10px;font-size:12px}.phone-chat-input:focus{background:#fff;border-color:#dc2626}.phone-chat-input::placeholder{color:#bbb}.phone-chat-send{color:#fff;cursor:pointer;background:#dc2626;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.phone-chat-send:hover{background:#b91c1c}.shan-live-frame{object-fit:contain;background:#111;width:100%;height:calc(100% - 68px);position:absolute;inset:38px 0 30px}.session-logout{color:#999;cursor:pointer;background:#fff;border:1px solid #ece8e3;border-radius:8px;width:100%;margin-top:8px;padding:7px;font-size:11px}.session-logout:hover{color:#e44d4d;border-color:#f3cccc}.shan-auth{z-index:1000;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#f8f7f4eb;place-items:center;display:grid;position:fixed;inset:0}.shan-auth form{text-align:center;background:#fff;border:1px solid #ebe7e2;border-radius:18px;width:360px;padding:34px;box-shadow:0 24px 70px #372d2326}.shan-auth .brand-mark{color:#fff;background:#e84f4f;border-radius:11px;place-items:center;width:42px;height:42px;margin:0 auto 14px;font-weight:800;display:grid}.shan-auth h1{margin:0;font-size:21px}.shan-auth p{color:#aaa;margin:7px 0 20px;font-size:12px}.shan-auth input{border:1px solid #e5e1dc;border-radius:9px;outline:none;width:100%;margin:0 0 10px;padding:12px}.shan-auth input:focus{border-color:#ee7771;box-shadow:0 0 0 3px #ee777119}.shan-auth small{color:#d94b48;text-align:left;margin:-2px 0 10px;display:block}.shan-auth button{color:#fff;cursor:pointer;background:#e84f4f;border:0;border-radius:9px;width:100%;padding:12px}.installer-layer{z-index:900;background:#f7f6f3;border:1px solid #e7e3de;border-radius:15px;grid-template-rows:64px 1fr;display:grid;position:fixed;inset:14px 14px 14px 208px;overflow:hidden;box-shadow:0 24px 80px #40372c33}.installer-layer header{background:#fff;border-bottom:1px solid #ece9e5;justify-content:space-between;align-items:center;gap:22px;padding:0 26px;display:flex}.installer-layer header strong,.installer-layer header span{display:block}.installer-layer header strong{color:#1a1a1a;font-size:17px}.installer-layer header span{color:#aaa;margin-top:2px;font-size:11px}.installer-layer header button{color:#777;cursor:pointer;background:#f1efec;border:0;border-radius:50%;flex-shrink:0;width:30px;height:30px;font-size:20px;line-height:1}.installer-layer header button:hover{color:#e44d4d;background:#f3cccc}.installer-layer iframe{background:#f7f6f3;border:0;width:100%;height:100%}.upgrade-layer{z-index:900;background:#f7f6f3;border:1px solid #e7e3de;border-radius:15px;grid-template-rows:64px 1fr;display:grid;position:fixed;inset:14px 14px 14px 208px;overflow:hidden;box-shadow:0 24px 80px #40372c33}.upgrade-header{background:#fff;border-bottom:1px solid #ece9e5;justify-content:space-between;align-items:center;gap:18px;padding:14px 22px;display:flex}.upgrade-title{flex-direction:column;gap:2px;display:flex}.upgrade-title strong{color:#1a1a1a;font-size:15px}.upgrade-title span{color:#aaa;font-size:11px}.upgrade-header-stats{flex-wrap:nowrap;align-items:stretch;gap:10px;margin-left:auto;display:flex}.upgrade-stat{cursor:default;background:linear-gradient(135deg,#faf9f6,#f4f2ec);border:1px solid #ece9e0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:78px;padding:8px 12px;transition:all .25s;display:flex;position:relative;overflow:hidden}.upgrade-stat:before{content:"";background:var(--led-color,#aaa);height:0;box-shadow:none;opacity:0;position:absolute;top:0;left:0;right:0}.upgrade-stat:after{content:"";background:var(--led-color,#aaa);width:6px;height:6px;box-shadow:0 0 6px var(--led-color,#aaa);border-radius:50%;animation:1.6s ease-in-out infinite led-pulse;position:absolute;top:6px;right:6px}.upgrade-stat em{color:#7a7670;letter-spacing:.04em;text-transform:uppercase;align-items:center;gap:4px;font-size:10.5px;font-style:normal;display:flex}.upgrade-stat em:before{content:var(--stat-icon,"·");font-size:12px;line-height:1}.upgrade-stat strong{color:var(--led-color,#1a1a1a);text-shadow:0 0 12px color-mix(in srgb,var(--led-color,#1a1a1a) 30%,transparent);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:20px;font-weight:700;line-height:1}.upgrade-stat:hover{box-shadow:0 4px 14px color-mix(in srgb,var(--led-color,#aaa) 18%,transparent);transform:translateY(-1px)}.upgrade-stat--online{--led-color:#10b981;--stat-icon:"◉"}.upgrade-stat--offline{--led-color:#9ca3af;--stat-icon:"○"}.upgrade-stat--upgraded{--led-color:#7c3aed;--stat-icon:"⬆"}.upgrade-stat--pending{--led-color:#f59e0b;--stat-icon:"⏳"}.upgrade-stat--learning{--led-color:#0ea5e9;--stat-icon:"✦"}.upgrade-stat--version{--led-color:#3b82f6;--stat-icon:"⊞"}.upgrade-stat--current{--led-color:#a855f7;--stat-icon:"☷"}@keyframes led-pulse{0%,to{opacity:.95;transform:scale(1)}50%{opacity:.4;transform:scale(.85)}}.upgrade-stat.chat-page-employee-select select{color:var(--led-color,#7c3aed);cursor:pointer;text-align:center;text-overflow:ellipsis;background:0 0;border:0;outline:none;max-width:130px;padding:0;font-family:inherit;font-size:13px;font-weight:600}.upgrade-stat.chat-page-employee-select select:focus{box-shadow:none}.upgrade-stat.chat-page-employee-select select:disabled{color:#aaa;cursor:not-allowed}.upgrade-stat.chat-page-learning-pill{cursor:pointer;-webkit-user-select:none;user-select:none}.upgrade-stat.chat-page-learning-pill:hover{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border-color:#bae6fd}.upgrade-stat.chat-page-learning-pill strong{transition:transform .2s;display:inline-block}.upgrade-stat.chat-page-learning-pill:hover strong{transform:scale(1.08)}.upgrade-stat strong:empty:before,.upgrade-stat strong[data-zero=true]{color:#a8a8a8;text-shadow:none}.upgrade-stat strong:empty:before{content:"-";color:#bbb}.upgrade-stat--offline{opacity:.85}.upgrade-stat.chat-page-employee-select:after{display:none}.upgrade-stat.chat-page-employee-select:before{background:linear-gradient(90deg,transparent,var(--led-color,#7c3aed));opacity:.6}.upgrade-close{color:#777;cursor:pointer;background:#f1efec;border:0;border-radius:50%;flex-shrink:0;width:30px;height:30px;font-size:20px;line-height:1}.upgrade-close:hover{color:#e44d4d;background:#f3cccc}.upgrade-body{grid-template-columns:minmax(380px,440px) 1fr;gap:16px;min-height:0;padding:16px;display:grid;overflow:hidden}.upgrade-panel{background:#fff;border:1px solid #eceae4;border-radius:12px;flex-direction:column;min-height:0;display:flex;overflow:hidden}.upgrade-panel-header{border-bottom:1px solid #f0eee8;justify-content:space-between;align-items:center;gap:10px;padding:14px 18px;display:flex}.upgrade-panel-header h2{color:#222;margin:0;font-size:14px}.upgrade-panel-hint{color:#aaa;font-size:11px}.upgrade-form{flex-direction:column;flex:1;gap:9px;min-height:0;padding:10px 12px;display:flex;overflow-y:auto}.upgrade-release-authorization{background:#fff7ed;border:1px solid #fdba74;border-radius:8px;grid-template-columns:minmax(0,1fr);align-items:center;gap:7px;padding:8px 10px;display:grid}.upgrade-release-authorization.authorized{background:#f0fdf4;border-color:#86efac}.upgrade-release-authorization>div:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.upgrade-release-authorization strong{color:#9a3412;font-size:11px}.upgrade-release-authorization.authorized strong{color:#166534}.upgrade-release-authorization span{color:#78716c;font-size:9px}.upgrade-release-authorization-form{align-items:center;gap:6px;width:100%;display:flex}.upgrade-release-authorization-form input{background:#fff;border:1px solid #d6d3d1;border-radius:6px;flex:1;width:auto;min-width:0;height:30px;padding:0 8px;font-size:11px}.upgrade-release-authorization-form button{color:#fff;cursor:pointer;white-space:nowrap;background:#9a3412;border:0;border-radius:6px;height:30px;padding:0 10px;font-size:11px;font-weight:700}.upgrade-release-authorization-form button:disabled{cursor:not-allowed;opacity:.55}@media (width<=760px){.upgrade-release-authorization{grid-template-columns:1fr}.upgrade-release-authorization-form{width:100%}.upgrade-release-authorization-form input{flex:1;width:auto;min-width:0}}.upgrade-form-row{flex-direction:column;gap:5px;display:flex}.upgrade-form-label{color:#555;flex-direction:column;gap:3px;font-size:11px;display:flex}.upgrade-form-label-full{flex:1}.upgrade-form-grid{grid-template-columns:1fr 1fr;gap:7px 9px;display:grid}.upgrade-input,.upgrade-select,.upgrade-textarea,.upgrade-file-input{color:#1a1a1a;background:#fff;border:1px solid #e5e1dc;border-radius:7px;outline:none;padding:7px 9px;font-family:inherit;font-size:12px}.upgrade-input:focus,.upgrade-select:focus,.upgrade-textarea:focus,.upgrade-file-input:focus{border-color:#ee7771;box-shadow:0 0 0 3px #ee777119}.upgrade-textarea{resize:vertical;min-height:44px}.upgrade-use-installer-apk{color:#315578;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;align-self:flex-start;padding:6px 10px;font-size:11px}.upgrade-use-installer-apk:hover:not(:disabled){background:#eff6ff;border-color:#93c5fd}.upgrade-use-installer-apk:disabled{opacity:.5;cursor:not-allowed}.upgrade-file-info{background:#faf9f6;border-radius:7px;align-items:center;gap:8px;padding:5px 9px;font-size:11px;display:flex}.upgrade-upload-progress{color:#2563eb;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 2px;font-size:10px;display:grid}.upgrade-upload-progress-track{background:#dbeafe;border-radius:999px;height:6px;overflow:hidden}.upgrade-upload-progress-track span{border-radius:inherit;background:linear-gradient(90deg,#60a5fa,#2563eb);height:100%;transition:width .2s;display:block}.upgrade-upload-progress strong{white-space:nowrap;font-size:10px}.upgrade-auto-params{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.upgrade-auto-param{background:#fafaf9;border:1px solid #e7e5e4;border-radius:8px;gap:2px;min-width:0;padding:8px 9px;display:grid}.upgrade-auto-param span{color:#8a8178;font-size:9px}.upgrade-auto-param strong{color:#292524;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.upgrade-auto-param em{color:#78716c;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-style:normal;overflow:hidden}.upgrade-auto-param-version{background:#eff6ff;border-color:#bfdbfe}.upgrade-auto-param-version strong{color:#1d4ed8}.upgrade-auto-param-notes{grid-column:1/-1;padding:7px 9px}.upgrade-auto-param-notes p{color:#57534e;margin:1px 0 0;font-size:10px;line-height:1.45}.upgrade-auto-params-empty{text-align:center;background:#fafaf9;border:1px dashed #d6d3d1;border-radius:8px;gap:3px;padding:11px 12px;display:grid}.upgrade-auto-params-empty strong{color:#57534e;font-size:11px}.upgrade-auto-params-empty span{color:#a8a29e;font-size:9px;line-height:1.45}.upgrade-publish-selection-hint{color:#b45309;align-self:center;font-size:10px}.upgrade-file-name{color:#1a1a1a;text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.upgrade-file-size{color:#aaa;flex-shrink:0}.upgrade-form-actions{gap:7px;margin-top:1px;display:flex}.upgrade-btn{color:#333;cursor:pointer;background:#fff;border:1px solid #e5e1dc;border-radius:8px;padding:9px 16px;font-family:inherit;font-size:13px;transition:all .15s}.upgrade-btn:hover{background:#faf9f6}.upgrade-btn:disabled{opacity:.5;cursor:not-allowed}.upgrade-btn-primary{color:#fff;background:#e84f4f;border-color:#e84f4f}.upgrade-btn-primary:hover{background:#dc2626}.upgrade-btn-secondary{background:#fff}.upgrade-btn-ghost{color:#888;background:0 0;border-color:#0000;padding:5px 10px;font-size:12px}.upgrade-btn-link{color:#e84f4f;background:#fff;border:1px solid #e5e1dc;border-radius:6px;padding:5px 11px;font-size:12px;text-decoration:none;display:inline-block}.upgrade-btn-link:hover{background:#fef2f2;border-color:#f3cccc}.upgrade-btn-rollback{color:#e44d4d;background:#fff;border:1px solid #f3cccc;border-radius:6px;padding:5px 11px;font-size:12px}.upgrade-btn-rollback:hover{background:#fef2f2}.upgrade-rollback-hint{color:#aaa;text-align:right;max-width:160px;font-size:10px;line-height:1.35}.upgrade-message-success{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.upgrade-message-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca}.upgrade-message-info{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe}.upgrade-history-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.upgrade-current-card{background:#fff;border:1px solid #eceae4;border-radius:10px;margin:14px 18px;padding:14px}.upgrade-current-card.active{background:#f0fdf4;border-color:#bbf7d0}.upgrade-current-card.empty{text-align:center;background:#faf9f6;padding:24px 14px}.upgrade-current-head{align-items:center;gap:10px;margin-bottom:8px;display:flex}.upgrade-current-head strong{color:#1a1a1a;font-size:15px}.upgrade-current-head em{color:#888;font-size:12px;font-style:normal}.upgrade-current-tag{color:#15803d;background:#dcfce7;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:600}.upgrade-current-meta{color:#888;flex-wrap:wrap;gap:12px;margin-bottom:6px;font-size:11px;display:flex}.upgrade-current-notes{color:#555;margin:6px 0 0;font-size:12px;line-height:1.5}.upgrade-current-identity{color:#777;overflow-wrap:anywhere;margin-top:8px;font:11px/1.5 SF Mono,Monaco,Cascadia Code,monospace}.upgrade-current-actions{gap:8px;margin-top:10px;display:flex}.upgrade-empty-text{color:#aaa;font-size:13px}.upgrade-loading,.upgrade-loading-row,.upgrade-empty-row{text-align:center;color:#aaa;padding:20px;font-size:13px}.upgrade-history-list{flex-direction:column;flex:1;gap:8px;min-height:0;padding:0 18px 16px;display:flex;overflow-y:auto}.upgrade-history-row{background:#fff;border:1px solid #eceae4;border-radius:9px;justify-content:space-between;gap:12px;padding:11px 12px;display:flex}.upgrade-history-row:hover{background:#faf9f6}.upgrade-history-main{flex:1;min-width:0}.upgrade-history-title{align-items:center;gap:8px;margin-bottom:4px;display:flex}.upgrade-history-title strong{color:#1a1a1a;font-size:13px}.upgrade-history-title em{color:#888;font-size:11px;font-style:normal}.upgrade-channel-tag{text-transform:uppercase;border-radius:999px;padding:1px 7px;font-size:10px;font-weight:600}.upgrade-channel-tag.channel-stable{color:#15803d;background:#dcfce7}.upgrade-channel-tag.channel-beta{color:#1e40af;background:#dbeafe}.upgrade-channel-tag.channel-canary{color:#92400e;background:#fef3c7}.upgrade-rollout-tag{color:#7e22ce;background:#f3e8ff;border-radius:999px;padding:1px 7px;font-size:10px;font-weight:600}.upgrade-history-meta{color:#aaa;flex-wrap:wrap;gap:10px;font-size:11px;display:flex}.upgrade-history-notes{color:#666;margin:4px 0 0;font-size:12px;line-height:1.4}.upgrade-history-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:5px;display:flex}.upgrade-active-tag{color:#15803d;background:#dcfce7;border-radius:999px;padding:3px 9px;font-size:11px;font-weight:600}.upgrade-progress-bar{background:#fff;border-bottom:1px solid #f0eee8;flex-direction:column;gap:6px;padding:10px 22px;display:flex}.upgrade-progress-info{color:#555;justify-content:space-between;align-items:center;gap:12px;font-size:12px;display:flex}.upgrade-progress-label strong{color:#1a1a1a;margin:0 4px}.upgrade-progress-numbers em{margin:0 2px;font-style:normal;font-weight:600}.upgrade-progress-numbers .num-upgraded{color:#15803d}.upgrade-progress-numbers .num-pending{color:#d97706}.upgrade-progress-numbers .num-failed{color:#b91c1c}.upgrade-progress-numbers .num-rolledback{color:#7e22ce}.upgrade-progress-numbers .num-total{color:#1a1a1a}.upgrade-progress-track{background:#f1efec;border-radius:4px;gap:1px;height:8px;display:flex;overflow:hidden}.upgrade-progress-fill{height:100%;transition:width .3s}.upgrade-progress-fill.upgraded{background:#22c55e}.upgrade-progress-fill.failed{background:#ef4444}.upgrade-progress-fill.rolledback{background:#a855f7}.upgrade-tabs{background:#fff;border-bottom:1px solid #ece9e5;align-items:center;gap:0;padding:0 22px;display:flex}.upgrade-tab{color:#888;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 18px;font-family:inherit;font-size:13px;position:relative}.upgrade-tab:hover{color:#1a1a1a;background:#faf9f6}.upgrade-tab.active{color:#e84f4f;border-bottom-color:#e84f4f;font-weight:600}.upgrade-tab-badge{color:#fff;text-align:center;background:#f59e0b;border-radius:9px;min-width:18px;height:18px;margin-left:6px;padding:0 5px;font-size:10px;font-weight:600;line-height:18px;display:inline-block}.upgrade-tab-autorefresh{color:#888;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:5px;margin-left:auto;font-size:11px;display:flex}.upgrade-tab-autorefresh input{cursor:pointer;margin:0}.upgrade-btn-push{color:#fff;background:#3b82f6;border-color:#3b82f6}.upgrade-btn-push:hover{background:#2563eb}.upgrade-btn-push:disabled{opacity:.5}.upgrade-legend{color:#888;align-items:center;gap:8px;font-size:11px;display:flex}.upgrade-legend-dot{border-radius:50%;width:8px;height:8px;margin-right:2px;display:inline-block}.upgrade-legend-dot.dot-upgraded{background:#22c55e}.upgrade-legend-dot.dot-pending{background:#f59e0b}.upgrade-legend-dot.dot-failed{background:#ef4444}.upgrade-legend-dot.dot-rolledback{background:#a855f7}.upgrade-devices-panel{min-height:0;overflow:hidden}.upgrade-devices-list{flex-direction:column;flex:1;gap:18px;min-height:0;padding:14px 18px;display:flex;overflow-y:auto}.upgrade-device-group{flex-direction:column;gap:6px;display:flex}.upgrade-device-group-header{border-bottom:1px solid #f0eee8;justify-content:space-between;align-items:center;padding:0 2px 6px;display:flex}.upgrade-device-group-header h3{color:#1a1a1a;margin:0;font-size:13px}.upgrade-device-count{color:#888;font-size:11px}.upgrade-device-group-offline .upgrade-device-group-header h3{color:#888}.upgrade-device-group-offline .upgrade-device-count{color:#aaa}.upgrade-device-row{background:#fff;border:1px solid #eceae4;border-radius:9px;justify-content:space-between;gap:12px;padding:11px 12px;transition:all .15s;display:flex}.upgrade-device-row:hover{background:#faf9f6}.upgrade-device-row.status-upgraded{border-left:3px solid #22c55e}.upgrade-device-row.status-pending{border-left:3px solid #f59e0b}.upgrade-device-row.status-failed{border-left:3px solid #ef4444}.upgrade-device-row.status-rolledback{border-left:3px solid #a855f7}.upgrade-device-row.status-unknown{border-left:3px solid #9ca3af}.upgrade-device-main{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.upgrade-device-title{align-items:center;gap:8px;display:flex}.upgrade-device-status-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.upgrade-device-status-dot.status-dot-upgraded{background:#22c55e}.upgrade-device-status-dot.status-dot-pending{background:#f59e0b}.upgrade-device-status-dot.status-dot-failed{background:#ef4444}.upgrade-device-status-dot.status-dot-rolledback{background:#a855f7}.upgrade-device-status-dot.status-dot-unknown{background:#9ca3af}.upgrade-device-title strong{color:#1a1a1a;font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:13px}.upgrade-device-status-tag{border-radius:999px;padding:1px 7px;font-size:10px;font-weight:600}.upgrade-device-status-tag.status-tag-upgraded{color:#15803d;background:#dcfce7}.upgrade-device-status-tag.status-tag-pending{color:#92400e;background:#fef3c7}.upgrade-device-status-tag.status-tag-failed{color:#b91c1c;background:#fecaca}.upgrade-device-status-tag.status-tag-rolledback{color:#7e22ce;background:#f3e8ff}.upgrade-device-status-tag.status-tag-unknown{color:#64748b;background:#f1f5f9}.upgrade-device-meta{color:#888;flex-wrap:wrap;gap:10px;font-size:11px;display:flex}.upgrade-device-reason{color:#b91c1c}.upgrade-device-side{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:3px;display:flex}.upgrade-device-status-text{color:#555;font-size:12px;font-weight:500}.upgrade-device-time{color:#aaa;font-size:10px}.upgrade-layer-scroll{flex-direction:column;display:flex}.upgrade-body-scroll{flex-direction:column;flex:1;gap:16px;min-height:0;padding:16px;display:flex;overflow-y:auto}.upgrade-body-scroll .upgrade-panel{flex-shrink:0;min-height:auto;overflow:visible}.upgrade-body-scroll .upgrade-form{flex:none;overflow:visible}.upgrade-body-scroll .upgrade-devices-list,.upgrade-body-scroll .upgrade-history-list{flex:none;max-height:none;overflow:visible}.upgrade-body-scroll .upgrade-current-panel{flex-shrink:0}.upgrade-layer-scroll{overflow-y:auto}.upgrade-body-split{flex-shrink:0;grid-template-columns:minmax(400px,.78fr) minmax(0,1.5fr);align-items:start;gap:12px;padding:12px;display:grid}.upgrade-body-split .upgrade-panel{flex-direction:column;display:flex;overflow:visible}.upgrade-left-stack{flex-direction:column;gap:12px;min-width:0;display:flex}.upgrade-body-split .upgrade-publish-panel .upgrade-form{flex:auto;overflow:visible}.upgrade-body-split .upgrade-devices-panel .upgrade-devices-list{flex:auto;max-height:none;overflow:visible}.upgrade-history-list{flex:none;max-height:none;overflow:visible}.upgrade-current-panel .upgrade-current-card{flex-direction:column;flex:auto;max-height:none;display:flex;overflow:visible}.upgrade-device-grid-mini{grid-template-columns:repeat(3,1fr);align-items:stretch;gap:10px;padding:4px 0;display:grid}.upgrade-device-grid-mini .upgrade-device-card{border-radius:10px;justify-content:space-between;gap:4px;padding:10px 8px}.upgrade-device-grid-mini .upgrade-avatar{border-radius:50%;width:36px;height:36px;font-size:14px}.upgrade-device-grid-mini .upgrade-device-card-name{font-size:12px;font-weight:600}.upgrade-device-grid-mini .upgrade-device-card-id{font-size:9px}.upgrade-device-grid-mini .upgrade-device-card-status{padding:2px 8px;font-size:10px}.upgrade-device-grid-mini .upgrade-device-card-meta{gap:8px;margin-top:auto;font-size:10px}.upgrade-device-grid-mini .upgrade-device-card-report{font-size:9px}.upgrade-device-grid-mini .upgrade-device-card-side{font-size:10px}.upgrade-device-grid-mini .upgrade-device-card-checkbox{top:5px;left:5px}.upgrade-device-grid-mini .upgrade-device-card-checkbox input{width:12px;height:12px}.upgrade-push-toolbar{background:#faf9f6;border-bottom:1px solid #f0eee8;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:7px 12px;display:flex}.upgrade-select-controls{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.upgrade-checkbox-label{color:#555;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:6px;font-size:12px;display:flex}.upgrade-checkbox-label input{cursor:pointer;margin:0}.upgrade-checkbox-label input:disabled{cursor:not-allowed}.upgrade-push-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.upgrade-push-summary{color:#888;font-size:12px}.upgrade-device-checkbox{cursor:pointer;flex-shrink:0;align-items:center;padding-right:4px;display:flex}.upgrade-device-checkbox input{cursor:pointer;margin:0}.upgrade-device-row.selected{background:#eff6ff;border-color:#bfdbfe;box-shadow:inset 0 0 0 1px #bfdbfe}.upgrade-device-row.selected:hover{background:#dbeafe}.upgrade-btn-mini{border-radius:5px;padding:3px 9px;font-size:11px;line-height:1.4}.upgrade-layer-scroll{border-radius:16px}.upgrade-header{gap:22px;padding:14px 26px}.upgrade-title strong{font-size:17px}.upgrade-title span{letter-spacing:.2px;font-size:13px}.upgrade-header-stats{gap:24px}.upgrade-stat em{font-size:12px}.upgrade-stat strong{font-size:17px}.upgrade-close{width:34px;height:34px;font-size:22px}.upgrade-progress-bar{gap:8px;padding:14px 26px}.upgrade-progress-info,.upgrade-progress-label strong{font-size:14px}.upgrade-progress-numbers{font-size:13px}.upgrade-progress-numbers em{font-size:14px}.upgrade-progress-track{border-radius:5px;height:10px}.upgrade-body-scroll{gap:20px;padding:20px 22px}.upgrade-panel-header{box-sizing:border-box;justify-content:space-between;align-items:center;min-height:56px;padding:14px 22px;display:flex}.upgrade-panel-header h2{letter-spacing:.3px;margin:0;font-size:16px}.upgrade-panel-hint{font-size:13px}.upgrade-panel-header-actions{align-items:center;gap:14px;display:flex}.upgrade-legend{gap:12px;font-size:13px}.upgrade-legend-dot{width:10px;height:10px}.upgrade-form{gap:16px;padding:18px 22px}.upgrade-form-label{gap:7px;font-size:14px}.upgrade-form-grid{gap:16px}.upgrade-input,.upgrade-select,.upgrade-textarea,.upgrade-file-input{border-radius:9px;padding:11px 14px;font-size:14px}.upgrade-textarea{min-height:84px;line-height:1.6}.upgrade-file-info{border-radius:9px;padding:10px 14px;font-size:13px}.upgrade-file-input{padding:8px 14px;font-size:13px}.upgrade-form-actions{gap:12px;margin-top:6px}.upgrade-btn{border-radius:9px;padding:11px 20px;font-size:14px}.upgrade-btn-ghost{padding:8px 14px;font-size:13px}.upgrade-btn-link,.upgrade-btn-rollback{border-radius:7px;padding:8px 14px;font-size:13px}.upgrade-btn-primary{letter-spacing:.5px}.upgrade-message{border-radius:9px;margin:0 22px 18px;padding:12px 16px;font-size:13px;line-height:1.6}.upgrade-current-card{border-radius:12px;margin:16px 22px;padding:18px}.upgrade-current-head{gap:12px;margin-bottom:10px}.upgrade-current-head strong{font-size:18px}.upgrade-current-head em{font-size:13px}.upgrade-current-tag{padding:3px 11px;font-size:12px}.upgrade-current-meta{gap:18px;margin-bottom:8px;font-size:13px}.upgrade-current-notes{margin-top:8px;font-size:13px;line-height:1.6}.upgrade-current-actions{gap:10px;margin-top:14px}.upgrade-empty-text{font-size:14px}.upgrade-push-toolbar{flex-wrap:nowrap;gap:8px;padding:7px 12px}.upgrade-select-controls{gap:8px;min-width:0}.upgrade-checkbox-label{white-space:nowrap;gap:5px;font-size:11px}.upgrade-checkbox-label input{accent-color:#3b82f6;width:13px;height:13px}.upgrade-push-actions{flex-shrink:0;gap:6px}.upgrade-push-summary{font-size:11px}.upgrade-btn-push{letter-spacing:0;white-space:nowrap;border-radius:7px;padding:6px 10px;font-size:11px}.upgrade-btn-mini{border-radius:6px;padding:6px 12px;font-size:12px}.upgrade-devices-list{gap:22px;padding:16px 22px}.upgrade-device-group{gap:10px}.upgrade-device-group-header{padding:0 2px 10px}.upgrade-device-group-header h3{letter-spacing:.3px;font-size:15px}.upgrade-device-count{font-size:13px}.upgrade-device-row{border-radius:11px;gap:14px;padding:14px 16px}.upgrade-device-checkbox input{accent-color:#3b82f6;width:16px;height:16px}.upgrade-device-main{gap:7px}.upgrade-device-title{gap:10px}.upgrade-device-status-dot{width:10px;height:10px}.upgrade-device-title strong{font-size:15px}.upgrade-device-status-tag{padding:2px 10px;font-size:12px}.upgrade-device-meta{gap:16px;font-size:13px}.upgrade-device-side{gap:5px}.upgrade-device-status-text{font-size:13px}.upgrade-device-time{font-size:12px}.upgrade-history-list{gap:10px;padding:0 22px 20px}.upgrade-history-row{border-radius:11px;gap:14px;padding:14px 16px}.upgrade-history-title{gap:10px;margin-bottom:6px}.upgrade-history-title strong{font-size:15px}.upgrade-history-title em{font-size:13px}.upgrade-channel-tag,.upgrade-rollout-tag{padding:2px 10px;font-size:12px}.upgrade-history-meta{gap:14px;margin-top:4px;font-size:13px}.upgrade-history-notes{margin-top:6px;font-size:13px;line-height:1.6}.upgrade-history-actions{gap:7px}.upgrade-active-tag{padding:4px 12px;font-size:12px}.upgrade-loading,.upgrade-loading-row,.upgrade-empty-row{padding:24px;font-size:14px}.upgrade-device-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;padding:4px 0;display:grid}.upgrade-device-card{cursor:pointer;text-align:center;background:#fff;border:1px solid #eceae4;border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:20px 14px 14px;transition:all .2s;display:flex;position:relative}.upgrade-device-card:hover{background:#faf9f6;transform:translateY(-2px);box-shadow:0 8px 20px #40372c1a}.upgrade-device-card.status-upgraded{border-top:3px solid #22c55e}.upgrade-device-card.status-pending{border-top:3px solid #f59e0b}.upgrade-device-card.status-failed{border-top:3px solid #ef4444}.upgrade-device-card.status-rolledback{border-top:3px solid #a855f7}.upgrade-device-card.status-unknown{border-top:3px solid #9ca3af}.upgrade-device-card.selected{background:#eff6ff;border-color:#bfdbfe;box-shadow:inset 0 0 0 2px #3b82f6}.upgrade-device-card.selected:hover{background:#dbeafe}.upgrade-device-card-checkbox{cursor:pointer;z-index:2;position:absolute;top:8px;left:8px}.upgrade-device-card-checkbox input{accent-color:#3b82f6;cursor:pointer;width:16px;height:16px}.upgrade-avatar{color:#fff;letter-spacing:1px;border-radius:50%;justify-content:center;align-items:center;width:68px;height:68px;margin-top:4px;font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:24px;font-weight:700;display:flex;box-shadow:0 6px 14px #40372c2e}.upgrade-avatar-color-0{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.upgrade-avatar-color-1{background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%)}.upgrade-avatar-color-2{background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%)}.upgrade-avatar-color-3{background:linear-gradient(135deg,#43e97b 0%,#38f9d7 100%)}.upgrade-avatar-color-4{background:linear-gradient(135deg,#fa709a 0%,#fee140 100%)}.upgrade-avatar-color-5{background:linear-gradient(135deg,#30cfd0 0%,#330867 100%)}.upgrade-device-card-name{color:#1a1a1a;letter-spacing:.3px;font-size:17px;font-weight:600}.upgrade-device-card-id{color:#aaa;font-family:SF Mono,Monaco,Cascadia Code,monospace;font-size:12px}.upgrade-device-card-status{border-radius:999px;padding:3px 12px;font-size:12px;font-weight:600}.upgrade-device-card-status.status-tag-upgraded{color:#15803d;background:#dcfce7}.upgrade-device-card-status.status-tag-pending{color:#92400e;background:#fef3c7}.upgrade-device-card-status.status-tag-failed{color:#b91c1c;background:#fecaca}.upgrade-device-card-status.status-tag-rolledback{color:#7e22ce;background:#f3e8ff}.upgrade-device-card-status.status-tag-unknown{color:#64748b;background:#f1f5f9}.upgrade-device-card-meta{color:#888;gap:14px;font-size:13px;display:flex}.upgrade-device-card-report{color:#bbb;font-size:11px}.upgrade-device-card-side{color:#666;overflow-wrap:anywhere;white-space:pre-wrap;font-size:12px;font-weight:500}.upgrade-device-card-error{box-sizing:border-box;color:#b91c1c;text-align:left;overflow-wrap:anywhere;white-space:pre-wrap;background:#fef2f2;border:1px solid #fecaca;border-radius:7px;width:100%;padding:7px 8px;font-size:11px;line-height:1.45}.upgrade-device-attempt-details{box-sizing:border-box;color:#555;text-align:left;background:#faf9f6;border:1px solid #e5e1dc;border-radius:7px;width:100%;font-size:10px}.upgrade-device-attempt-details summary{color:#555;cursor:pointer;-webkit-user-select:none;user-select:none;padding:6px 8px;font-weight:600}.upgrade-device-attempt-details[open] summary{border-bottom:1px solid #e5e1dc}.upgrade-device-attempt-details dl{flex-direction:column;gap:5px;margin:0;padding:8px;display:flex}.upgrade-device-attempt-details dl>div{grid-template-columns:58px minmax(0,1fr);gap:6px;display:grid}.upgrade-device-attempt-details dt{color:#888}.upgrade-device-attempt-details dd{color:#333;overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.upgrade-device-attempt-details pre{overflow-wrap:anywhere;white-space:pre-wrap;border-radius:6px;max-height:180px;margin:0 8px 8px;padding:7px;font:9px/1.45 SF Mono,Monaco,Cascadia Code,monospace;overflow:auto}.upgrade-device-attempt-error{color:#b91c1c;background:#fff1f2;border:1px solid #fecaca}.upgrade-device-attempt-proof{color:#1e3a8a;background:#eff6ff;border:1px solid #dbeafe}.upgrade-device-card .upgrade-btn-mini{margin-top:4px}.upgrade-attempts-error{margin:12px 18px 0}.upgrade-history-card-identity{color:#999;overflow-wrap:anywhere;font:9px/1.4 SF Mono,Monaco,Cascadia Code,monospace}.upgrade-device-card.offline{opacity:.72;background:#faf9f6}.upgrade-device-card.offline:hover{opacity:.88;transform:none;box-shadow:0 4px 10px #40372c14}.upgrade-device-card.offline .upgrade-avatar{filter:grayscale(.75);opacity:.7}.upgrade-device-card.offline .upgrade-btn-mini{opacity:.5;cursor:not-allowed}.upgrade-device-card.offline:after{content:"离线";color:#fff;letter-spacing:.5px;background:#9ca3af;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:600;position:absolute;top:10px;right:10px}.panel-section{flex-direction:column;gap:10px;display:flex}.panel-section h2{color:#333;margin:0;font-size:13px}.panel-grow{flex:1;min-height:0}.task-list{flex-direction:column;gap:8px;display:flex}.task-card{background:#fff;border:1px solid #eceae4;border-radius:12px;padding:12px;position:relative}.task-title-row{color:#222;justify-content:space-between;gap:8px;font-size:13px;display:flex}.task-status{color:#34a853;white-space:nowrap;background:#eef8f0;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:600}.task-status.active{color:#dc2626;background:#fef2f2}.task-card p{color:#999;margin:5px 0 9px;font-size:12px}.task-progress{background:#f0efeb;border-radius:999px;height:5px;overflow:hidden}.task-percent{color:#999;text-align:right;margin-top:5px;font-size:11px;font-style:normal;display:block}.task-progress span{border-radius:inherit;height:100%;display:block}.tone-blue{background:#dc2626}.tone-green{background:#34c759}.tone-orange{background:#f5a623}.tone-purple{background:#9b6dd7}.activity-list{margin:0;padding:0;list-style:none;overflow-y:auto}.activity-list li{gap:9px;padding:8px 4px;display:flex}.activity-dot{background:#d0cec8;margin-top:6px}.activity-list p{color:#555;margin:0;font-size:12.5px;line-height:1.45}.activity-list strong{color:#222}.activity-list time{color:#bbb;margin-top:1px;font-size:11px;display:block}.quick-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.quick-tool{color:#666;min-height:58px;font:inherit;cursor:pointer;background:#fff;border:1px solid #eceae4;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:6px;display:flex}.quick-tool:hover{color:#222;background:#f8f7f4}.quick-tool span{font-size:18px}.quick-tool strong{font-size:11px;font-weight:500}.office-canvas canvas{flex:1;max-width:100%;max-height:100%;display:block;width:100%!important;height:100%!important}.agent-action-menu{z-index:20;color:#222;-webkit-backdrop-filter:blur(12px);background:#fafaf9f5;border:1px solid #e4e2dc;border-radius:10px;width:260px;max-height:min(520px,100% - 24px);padding:8px;position:absolute;overflow:auto;box-shadow:0 12px 34px #00000024,0 1px 2px #00000014}.agent-action-head{border-bottom:1px solid #eceae4;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding:6px 8px 10px;display:flex}.agent-action-name{font-size:14px;font-weight:700}.agent-action-state{color:#777;background:#f3f2ef;border-radius:999px;padding:2px 8px;font-size:11px}.agent-action-group{flex-direction:column;gap:4px;display:flex}.agent-action-group+.agent-action-group{border-top:1px solid #eceae4;margin-top:8px;padding-top:8px}.agent-action-section-title{color:#999;padding:0 8px 4px;font-size:11px;font-weight:600}.agent-action-btn{color:#444;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:9px 10px;font-size:13px;transition:background .15s,color .15s}.agent-action-btn:hover{color:#111;background:#f3f2ef}.agent-action-btn.subtle{color:#777;margin-bottom:4px}.agent-emote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:grid}.agent-action-chip{color:#444;min-width:0;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:7px 8px;font-size:12px}.agent-action-chip:hover{color:#111;background:#f3f2ef}.office-bottom-toolbar{z-index:12;pointer-events:none;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.toolbar-inner{-webkit-backdrop-filter:blur(12px);pointer-events:auto;background:#fffffff0;border-radius:12px;align-items:center;gap:4px;padding:8px 12px;display:flex;box-shadow:0 8px 24px #0000001f,0 0 0 1px #0000000a}.toolbar-btn{color:#555;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:9px;align-items:center;gap:6px;padding:8px 12px;font-size:12px;display:inline-flex}.toolbar-btn:hover{color:#111;background:#f3f2ef}.toolbar-btn.primary{color:#fff;background:#dc2626;font-weight:600}.toolbar-btn.primary:hover{background:#b91c1c}.toolbar-icon{text-align:center;width:14px}@media (width<=1180px){.office-sidebar{width:180px}.phone-remote-panel{width:260px}.office-header-stats{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media (width<=900px){.office-sidebar,.office-header-stats{display:none}.office-center{padding:0}.office-main{border:none;border-radius:0}}.meeting-room-panel{background:#fafaf9;border-left:1px solid #e4e2dc;flex-direction:column;flex-shrink:0;width:320px;display:flex;overflow:hidden}.meeting-room-header{background:#fff;border-bottom:1px solid #eceae4;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.meeting-room-header h3{color:#1a1a1a;margin:0;font-size:15px;font-weight:600}.meeting-room-online{color:#888;align-items:center;gap:5px;font-size:12px;display:flex}.meeting-room-online .dot{background:#34c759;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 2px #34c75933}.meeting-room-messages{scroll-behavior:smooth;flex-direction:column;flex:1;gap:10px;padding:16px 18px;display:flex;overflow-y:auto}.meeting-room-bubble{word-wrap:break-word;border-radius:12px;max-width:80%;padding:8px 12px;font-size:13px;line-height:1.5}.meeting-room-bubble.system{color:#555;background:#f1f0eb;border-bottom-left-radius:4px;align-self:flex-start}.meeting-room-bubble.user{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border-bottom-right-radius:4px;align-self:flex-end}.meeting-room-meta{color:#aaa;margin-top:3px;font-size:10px}.meeting-room-bubble.system .meeting-room-meta{text-align:left}.meeting-room-bubble.user .meeting-room-meta{text-align:right;color:#fffc}.meeting-room-input-row{background:#fff;border-top:1px solid #eceae4;gap:8px;padding:12px 14px;display:flex}.meeting-room-input{border:1px solid #e4e2dc;border-radius:18px;outline:none;flex:1;height:36px;padding:0 12px;font-size:13px;transition:border-color .2s}.meeting-room-input:focus{border-color:#3b82f6}.meeting-room-send{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:transform .15s;display:flex}.meeting-room-send:hover{transform:scale(1.05)}.meeting-room-send:disabled{opacity:.5;cursor:not-allowed}.chat-page-layer{z-index:900}.chat-header-roster{align-items:center;margin-left:auto;display:flex}.chat-employee-picker{min-width:230px;position:relative}.chat-employee-picker-trigger{color:#1e293b;width:100%;min-height:46px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:12px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:7px 10px 7px 13px;display:grid;box-shadow:0 2px 8px #0f172a0a}.chat-employee-picker-trigger:hover,.chat-employee-picker.open .chat-employee-picker-trigger{border-color:#93c5fd;box-shadow:0 5px 16px #2563eb1a}.chat-employee-picker-trigger:disabled{opacity:.58;cursor:not-allowed}.chat-employee-picker-current{gap:1px;min-width:0;display:grid}.chat-employee-picker-current small{color:#94a3b8;font-size:9px;font-weight:500}.chat-employee-picker-current strong{color:#172b4d;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.chat-employee-picker-state,.chat-employee-picker-row-state{color:#b91c1c;white-space:nowrap;align-items:center;gap:5px;font-size:10px;display:inline-flex}.chat-employee-picker-state i,.chat-employee-picker-row-state i{background:#ef4444;border-radius:50%;width:7px;height:7px}.chat-employee-picker-state.online,.chat-employee-picker-row-state.online{color:#047857}.chat-employee-picker-state.online i,.chat-employee-picker-row-state.online i{background:#22c55e;box-shadow:0 0 0 3px #22c55e1f}.chat-employee-picker-trigger>b{color:#94a3b8;font-size:14px;transition:transform .15s}.chat-employee-picker.open .chat-employee-picker-trigger>b{transform:rotate(180deg)}.chat-employee-picker-panel{z-index:40;background:#fff;border:1px solid #dbe3ee;border-radius:14px;width:min(390px,100vw - 32px);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 18px 48px #0f172a2e}.chat-employee-picker-panel>header{background:#f8fafc;border-bottom:1px solid #edf1f5;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.chat-employee-picker-panel>header strong{color:#1e293b;font-size:13px}.chat-employee-picker-panel>header span{color:#64748b;font-size:10px}.chat-employee-picker-list{max-height:400px;padding:7px;overflow-y:auto}.chat-employee-picker-list>button{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;display:grid}.chat-employee-picker-list>button:hover{background:#f8fafc}.chat-employee-picker-list>button.selected{background:#eff6ff;border-color:#bfdbfe}.chat-employee-picker-avatar{color:#2563eb;background:linear-gradient(145deg,#dbeafe,#eff6ff);border-radius:11px;place-items:center;width:36px;height:36px;font-size:14px;font-weight:800;display:grid}.chat-employee-picker-identity{gap:3px;min-width:0;display:grid}.chat-employee-picker-identity strong,.chat-employee-picker-identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-employee-picker-identity strong{color:#1e293b;font-size:12px}.chat-employee-picker-identity small{color:#8491a3;font-size:9px}.chat-header-counts{background:#f8fafc;border:1px solid #e7e5df;border-radius:10px;align-items:center;gap:6px;padding:5px;display:flex}.chat-header-counts span{color:#64748b;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-width:68px;padding:6px 10px;font-size:11px;display:inline-flex}.chat-header-counts span i{background:#94a3b8;border-radius:50%;width:7px;height:7px}.chat-header-counts span.online{color:#047857;background:#ecfdf5}.chat-header-counts span.online i{background:#10b981;box-shadow:0 0 0 3px #d1fae5}.chat-header-counts strong{color:inherit;font-size:14px}.chat-header-employee-select{background:#fff;border:1px solid #dbe3ee;border-radius:10px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;min-width:220px;padding:6px 9px 6px 12px;display:grid}.chat-header-employee-select span{color:#64748b;white-space:nowrap;font-size:10px}.chat-header-employee-select>i{background:#ef4444;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 3px #fee2e2}.chat-header-employee-select>i.online{background:#10b981;box-shadow:0 0 0 3px #d1fae5}.chat-header-employee-select select{color:#1e3a5f;width:100%;min-width:0;font:inherit;background:0 0;border:0;outline:none;font-size:12px;font-weight:700}.chat-page-employee-select{flex-direction:row;align-items:center;gap:8px}.chat-page-employee-select em{color:#aaa;font-size:10px;font-style:normal}.chat-page-employee-select select{color:#1a1a1a;cursor:pointer;background:#fff;border:1px solid #e4e2dc;border-radius:8px;outline:none;height:28px;padding:0 10px;font-family:inherit;font-size:12px;transition:border-color .2s}.chat-page-employee-select select:focus{border-color:#3b82f6}.chat-page-employee-select select:disabled{cursor:not-allowed;background:#f3f2ef}.chat-page-body{flex:1;min-height:0;display:flex;overflow:hidden}.chat-page-main{background:#fafaf9;border-right:1px solid #eceae4;flex-direction:column;flex:1;min-width:0;display:flex}.persona-editor{background:#fff;border-bottom:1px solid #e7e5df;flex-shrink:0}.chat-section-tabs{box-sizing:border-box;background:#f1f5f9;border:1px solid #dbe3ee;border-radius:10px;flex-shrink:0;align-items:center;gap:5px;margin-left:10px;padding:4px;display:flex}.chat-section-tabs button{color:#52677f;min-width:94px;height:30px;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:7px;padding:0 14px;font-size:12px;font-weight:700;transition:background .15s,color .15s,border-color .15s,box-shadow .15s}.chat-section-tabs button:hover{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.chat-section-tabs button.active{color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 4px 12px #2563eb38}.chat-settings-page{background:#f8fafc;flex:1;min-height:0;padding:18px 22px;overflow:auto}.chat-settings-page .persona-editor{border:1px solid #e2e8f0;border-radius:16px;max-width:1180px;margin:0 auto;overflow:hidden;box-shadow:0 10px 32px #0f172a12}.chat-settings-page .persona-editor-body{max-height:none}.persona-editor-heading{box-sizing:border-box;background:linear-gradient(90deg,#eff6ff,#fff);border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;min-height:54px;padding:10px 18px;display:flex}.persona-editor-heading div{gap:3px;min-width:0;display:grid}.persona-editor-heading span{color:#1e3a5f;font-size:15px;font-weight:800}.persona-editor-heading em{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-style:normal;overflow:hidden}.persona-editor-heading strong{color:#2563eb;flex-shrink:0;font-size:11px}.persona-editor-toggle{cursor:pointer;text-align:left;background:#fff;border:0;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;width:100%;min-height:42px;padding:8px 18px;display:grid}.persona-editor-toggle span{color:#222;font-size:13px;font-weight:700}.persona-editor-toggle em{color:#777;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-style:normal;overflow:hidden}.persona-editor-toggle strong{color:#2563eb;font-size:11px}.persona-editor-body{border-top:1px solid #f0eee9;max-height:54vh;padding:0 20px 20px;overflow:auto}.persona-editor-closed{color:#7c5a14;background:#fff8e8;border-radius:9px;margin-top:12px;padding:12px;font-size:12px;line-height:1.6}.persona-editor-create-intro{color:#1e40af;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;margin-top:12px;padding:10px 12px;font-size:11px;line-height:1.6}.persona-editor-meta{color:#777;flex-wrap:wrap;gap:8px 16px;padding:10px 0;font-size:10px;display:flex}.persona-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;display:grid}.persona-editor-grid label{color:#555;flex-direction:column;gap:4px;font-size:11px;display:flex}.persona-editor-grid label.wide{grid-column:1/-1}.persona-editor-grid label>small{color:#2563eb;align-self:flex-end;font-size:10px;font-weight:700}.persona-setting-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.persona-setting-section{background:#fff;border:1px solid #e5eaf0;border-radius:13px;min-width:0;padding:15px;box-shadow:0 3px 12px #0f172a09}.persona-setting-section>header{align-items:flex-start;gap:10px;margin-bottom:13px;display:flex}.persona-setting-section>header>span{color:#2563eb;background:#eff6ff;border-radius:9px;flex:none;place-items:center;width:28px;height:28px;font-size:10px;font-weight:800;display:grid}.persona-setting-section>header>div{gap:3px;min-width:0;display:grid}.persona-setting-section>header strong{color:#1e293b;font-size:13px}.persona-setting-section>header em{color:#8491a3;font-size:9.5px;font-style:normal;line-height:1.45}.persona-setting-section .persona-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.persona-setting-section .persona-editor-grid textarea{min-height:68px}.persona-assignment-hint.wide{color:#475569;background:#eff6ff;border-radius:7px;grid-column:1/-1;padding:8px 10px;font-size:11px}.persona-assignment-hint strong{color:#1d4ed8}.persona-editor-grid input,.persona-editor-grid select,.persona-editor-grid textarea{box-sizing:border-box;color:#222;width:100%;font:inherit;background:#fff;border:1px solid #dfddd7;border-radius:7px;outline:none;padding:7px 8px}.persona-editor-grid textarea{resize:vertical;min-height:52px}.persona-editor-grid input:focus,.persona-editor-grid select:focus,.persona-editor-grid textarea:focus{border-color:#3b82f6}.persona-editor-actions{z-index:3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-top:1px solid #e2e8f0;justify-content:flex-end;align-items:center;gap:8px;margin:16px -20px -20px;padding:12px 20px;display:flex;position:sticky;bottom:-20px;box-shadow:0 -8px 20px #0f172a0a}.persona-editor-actions span{color:#34734a;margin-right:auto;font-size:11px}.persona-editor-actions span.conflict{color:#b42318}.persona-editor-actions button{color:#333;cursor:pointer;background:#fff;border:1px solid #d9d6cf;border-radius:7px;padding:7px 11px}.persona-editor-actions button.primary{color:#fff;background:#2563eb;border-color:#2563eb}.persona-editor-actions button:disabled{opacity:.55;cursor:not-allowed}.persona-preview-digest{overflow-wrap:anywhere;color:#666;margin-top:8px;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.persona-emotion-preview{color:#344054;background:#f7faff;border:1px solid #dbe7ff;border-radius:8px;gap:4px;margin-top:8px;padding:9px 10px;font-size:10px;display:grid}.persona-emotion-preview strong{color:#1d4ed8;font-size:11px}.persona-emotion-preview code{overflow-wrap:anywhere;font:10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.persona-emotion-preview em{color:#7c5a14;font-style:normal}.persona-editor-note{color:#777;margin-top:8px;font-size:10px;line-height:1.5}.chat-history{scroll-behavior:smooth;flex-direction:column;flex:1;gap:12px;padding:18px 22px;display:flex;overflow-y:auto}.chat-history-empty{color:#aaa;text-align:center;margin:auto;padding:40px 20px;font-size:13px;line-height:1.6}.chat-bubble{word-wrap:break-word;border-radius:14px;max-width:72%;padding:10px 14px;font-size:13px;line-height:1.55}.chat-bubble.user{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border-bottom-right-radius:4px;align-self:flex-end}.chat-bubble.agent{color:#333;background:#fff;border:1px solid #eceae4;border-bottom-left-radius:4px;align-self:flex-start}.chat-bubble.offline{opacity:.78;border-style:dashed}.chat-history-sync-state{color:#7c5a14;background:#fff8e8;border:1px solid #f0cf8b;border-radius:8px;align-items:center;gap:8px;margin:0 18px 8px;padding:8px 10px;font-size:11px;display:flex}.chat-history-sync-state strong{flex-shrink:0}.chat-history-sync-state span{overflow-wrap:anywhere;flex:1}.chat-history-sync-state button{color:inherit;cursor:pointer;background:#fff;border:1px solid #d6b263;border-radius:6px;padding:3px 8px}.chat-history-sync-state.error{color:#a32632;background:#fff2f3;border-color:#f1aeb5}.chat-history-sync-state.warning{background:#fffaf0;border-color:#f1c27d}.chat-server-progress{background:#f8fafc;border-bottom:1px solid #e7e5df;flex-shrink:0;padding:0}.chat-server-progress-summary{color:#334155;width:100%;min-height:42px;font:inherit;text-align:left;cursor:pointer;background:#f8fafc;border:0;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:8px 18px;display:grid}.chat-server-progress-summary:hover{background:#f1f5f9}.chat-server-progress-summary span{align-items:center;gap:7px;font-size:12px;font-weight:700;display:inline-flex}.chat-server-progress-summary span i{background:#3b82f6;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #dbeafe}.chat-server-progress-summary em{color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-style:normal;overflow:hidden}.chat-server-progress-summary strong{color:#2563eb;font-size:11px}.chat-server-progress-details{flex-direction:column;gap:8px;max-height:210px;padding:0 18px 10px;display:flex;overflow:auto}.chat-plan-progress,.chat-task-truth{background:#fff;border:1px solid #dce4ef;border-radius:9px;padding:8px 10px}.chat-plan-progress header{justify-content:space-between;gap:12px;font-size:11px;display:flex}.chat-plan-progress header strong{color:#26354a}.chat-plan-progress header span{color:#738097}.chat-plan-stages{flex-wrap:wrap;gap:6px;margin-top:7px;display:flex}.chat-plan-stage{color:#667085;background:#f0f2f5;border-radius:999px;align-items:center;gap:4px;padding:4px 7px;font-size:10px;display:inline-flex}.chat-plan-stage i{text-align:center;background:#d8dde5;border-radius:50%;width:15px;height:15px;font-style:normal;line-height:15px}.chat-plan-stage em{opacity:.72;font-style:normal}.chat-plan-stage.running{color:#175cd3;background:#eaf2ff}.chat-plan-stage.completed{color:#067647;background:#e9f7ef}.chat-plan-stage.failed{color:#b42318;background:#fff0f0}.chat-task-truth{color:#596579;align-items:center;gap:8px;font-size:10px;display:flex}.chat-task-truth span{flex:1}.chat-task-truth strong{color:#26354a}.chat-task-truth em{color:#986b18;font-style:normal}.chat-task-truth button{color:#295385;cursor:pointer;background:#fff;border:1px solid #b9c7da;border-radius:6px;padding:4px 9px}.chat-task-truth button:disabled{opacity:.5;cursor:wait}.chat-control-intent{color:#805b14;background:#fff8e8;border-radius:6px;padding:4px 8px;font-size:10px}.chat-server-owned-run{background:#eff6ff;border:1px solid #bfdbfe;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.chat-server-owned-run.pending,.chat-server-owned-run.cancel_requested{background:#fffaf0;border-color:#fed7aa}.chat-server-owned-run>div:first-child{min-width:0}.chat-server-owned-run strong,.chat-server-owned-run span,.chat-server-owned-run em{display:block}.chat-server-owned-run strong{color:#1e3a5f;font-size:11px}.chat-server-owned-run span{color:#52677f;margin-top:2px;font-size:10px}.chat-server-owned-run em{color:#7b8796;margin-top:3px;font-size:9.5px;font-style:normal}.chat-server-owned-actions{flex-shrink:0;gap:6px;display:flex}.chat-server-owned-actions button{color:#295385;font:inherit;cursor:pointer;background:#fff;border:1px solid #9db4ce;border-radius:6px;padding:4px 8px;font-size:10px}.chat-server-owned-actions button.danger{color:#b42318;border-color:#fecaca}.chat-server-owned-actions button:disabled{opacity:.5;cursor:wait}.chat-bubble-text{white-space:pre-wrap}.chat-bubble-time{color:#aaa;text-align:right;width:100%;margin-top:4px;font-size:10px}.chat-bubble.user .chat-bubble-time{color:#ffffffd9;text-align:right}.chat-execution-event{background:#f8fbff;border-color:#dbeafe}.chat-execution-label{color:#4673a8;margin-bottom:3px;font-size:10px;font-weight:600}.chat-bubble-typing{align-self:flex-start;padding:12px 14px}.chat-bubble-typing .phone-typing-dots i{background:#999}.chat-execution-trace{background:#f8fbff;border-color:#bfdbfe;gap:5px;width:min(72%,620px);max-width:none;display:grid}.chat-execution-trace strong{color:#1d4ed8;font-size:12px}.chat-execution-trace span{color:#52677f;border-left:2px solid #dbeafe;padding-left:10px;font-size:10.5px;line-height:1.45}.chat-input-double{background:#fff;border-top:1px solid #eceae4;flex-shrink:0;padding:12px 18px}.chat-input-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:10px;display:grid}.chat-server-owned-opt-in{background:#faf9f7;border:1px solid #e2e0da;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding:7px 9px;display:flex}.chat-server-owned-opt-in.available{background:#f7fbff;border-color:#bfdbfe}.chat-server-owned-opt-in label{color:#334155;cursor:pointer;flex-shrink:0;align-items:center;gap:6px;font-size:11px;font-weight:600;display:inline-flex}.chat-server-owned-opt-in label:has(input:disabled){cursor:not-allowed;opacity:.65}.chat-server-owned-opt-in input{accent-color:#2563eb;margin:0}.chat-server-owned-opt-in em{color:#7c8592;text-align:right;font-size:9.5px;font-style:normal;line-height:1.4}.chat-input-textarea{resize:vertical;box-sizing:border-box;color:#1a1a1a;background:#fff;border:1px solid #e4e2dc;border-radius:10px;outline:none;width:100%;min-height:54px;max-height:120px;padding:10px 12px;font-family:inherit;font-size:13px;transition:border-color .2s}.chat-input-textarea:focus{border-color:#3b82f6}.chat-input-textarea:disabled{color:#aaa;cursor:not-allowed;background:#f3f2ef}.chat-input-actions{align-items:stretch;gap:8px;display:flex}.chat-input-actions button{cursor:pointer;border:none;border-radius:8px;min-height:54px;padding:0 15px;font-family:inherit;font-size:13px;transition:all .2s}.chat-input-actions .btn-send{min-width:104px}.chat-input-actions .btn-stop{min-width:82px}@media (width<=900px){.chat-input-row{grid-template-columns:1fr}.chat-input-actions{justify-content:flex-end}.chat-input-actions button{min-height:36px}}.chat-input-actions .btn-send{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb)}.chat-input-actions .btn-send:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.chat-input-actions .btn-send:disabled{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}.chat-input-actions .btn-stop{color:#b91c1c;background:#fff;border:1px solid #fecaca}.chat-input-actions .btn-stop:hover:not(:disabled){background:#fef2f2;border-color:#ef4444}.chat-input-actions .btn-stop:disabled{opacity:.38;cursor:not-allowed}.chat-page-side{background:linear-gradient(160deg,#f5f4f1 0%,#eceae4 100%);flex-shrink:0;justify-content:center;align-items:center;width:350px;padding:10px 6px;display:flex;overflow:hidden}.phone-frame-screen--interactive{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;overscroll-behavior:contain}.phone-frame-screen--interactive img,.phone-frame-screen--interactive video{pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.phone-frame-screen--interactive.is-controlling{cursor:pointer}.phone-control-bar{z-index:12;cursor:default;opacity:.72;background:0 0;border:0;padding:0;transition:opacity .15s;display:block;position:absolute;bottom:3px;left:4px;right:4px}.phone-control-bar:hover{opacity:1}.phone-control-keys{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;width:100%;display:grid}.phone-control-bar button{width:100%;min-width:0;height:24px;font:inherit;color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:5px;font-size:9px}.phone-control-bar button:hover:not(:disabled){background:#2563eb}.phone-control-bar button:disabled{opacity:.45;cursor:wait}.chat-page-phone-frame{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.phone-frame-device{aspect-ratio:9/19;background:#1a1a1a;border-radius:36px;flex-direction:column;height:100%;max-height:100%;padding:12px 10px;display:flex;position:relative;box-shadow:0 0 0 2px #2a2a2a,0 0 0 5px #3a3a3a,0 16px 40px #0000004d}.phone-frame-notch{z-index:2;background:#1a1a1a;border-radius:0 0 14px 14px;width:80px;height:20px;position:absolute;top:10px;left:50%;transform:translate(-50%)}.phone-frame-screen{background:#fff;border-radius:26px;flex:1;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.phone-frame-screen img{object-fit:contain;background:#111;width:100%;height:100%;display:block}.phone-frame-screen .phone-http-frame,.phone-frame-screen .p2p-chunk-frame{position:absolute;inset:0}.phone-frame-screen .phone-http-frame{z-index:1}.phone-frame-screen .p2p-chunk-frame{z-index:2;opacity:0}.phone-frame-screen .p2p-chunk-frame.is-ready{opacity:1}.p2p-live-video{z-index:3;object-fit:contain;opacity:0;pointer-events:none;background:#111;width:100%;height:100%;transition:opacity .15s;position:absolute;inset:0}.p2p-live-video.is-ready{opacity:1}.fast-screen-canvas{z-index:4;object-fit:contain;opacity:0;pointer-events:none;background:#111;width:100%;height:100%;position:absolute;inset:0}.fast-screen-canvas.is-ready{opacity:1}.fast-screen-engine-badge{z-index:6;color:#fff;pointer-events:none;background:#141414ad;border-radius:999px;padding:3px 6px;font-size:8px;line-height:1;position:absolute;top:50px;right:8px}.fast-screen-engine-badge--streaming{color:#86efac}.fast-screen-engine-badge--degraded{color:#d4d4d4}.all-employees-screen-page{background:radial-gradient(circle at 12% 0,#dbeafeb8,#0000 30%),#f5f4f1;flex-direction:column;flex:1;gap:12px;min-height:0;padding:16px 20px 24px;display:flex;overflow:auto}.all-employees-screen-toolbar{justify-content:flex-end;align-items:center;gap:16px;display:flex}.all-employees-screen-toolbar span{color:#78716c;font-size:11px}.all-employees-screen-pagination{align-items:center;gap:8px;display:flex}.all-employees-screen-pagination button{color:#44403c;background:#fff;border:1px solid #d6d3d1;border-radius:7px;padding:5px 10px}.all-employees-screen-pagination button:disabled{opacity:.4}.all-employees-screen-grid{flex:none;grid-template-columns:repeat(auto-fit,minmax(min(100%,142px),154px));grid-auto-rows:max-content;place-content:start;align-items:start;gap:12px;min-height:auto;display:grid}.employee-screen-card{color:#292524;text-align:left;cursor:pointer;background:#fff;border:1px solid #dedbd4;border-radius:14px;flex-direction:column;width:100%;min-width:0;min-height:0;padding:0;display:flex;overflow:hidden;box-shadow:0 7px 24px #29252417}.employee-screen-card:hover{border-color:#93c5fd;transform:translateY(-2px);box-shadow:0 12px 32px #2563eb29}.employee-screen-card-header,.employee-screen-card-footer{padding:8px 9px;display:flex}.employee-screen-card-header{justify-content:space-between;align-items:center;gap:6px;min-height:46px}.employee-screen-card-identity{flex-direction:column;gap:2px;min-width:0;display:flex}.employee-screen-card-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.employee-screen-card-identity small{color:#9a948b;font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.employee-screen-card-state{color:#b91c1c;background:#fef2f2;border-radius:999px;flex:none;align-items:center;gap:4px;padding:3px 5px;font-size:8px;display:inline-flex}.employee-screen-card-state i{background:#ef4444;border-radius:50%;width:7px;height:7px}.employee-screen-card-state.online{color:#047857;background:#ecfdf5}.employee-screen-card-state.online i{background:#22c55e;box-shadow:0 0 0 3px #22c55e1f}.employee-screen-card-display{aspect-ratio:9/16;background:linear-gradient(160deg,#eef2f7,#e2e8f0);flex:none;justify-content:center;align-items:center;width:100%;display:flex;overflow:hidden}.employee-screen-card-display img{object-fit:contain;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%}.employee-screen-card-display.has-frame img{object-fit:fill}.employee-screen-card-display em{color:#64748b;font-size:11px;font-style:normal}.employee-screen-card-footer{color:#78716c;background:#fcfbf9;border-top:1px solid #eeeae4;flex-direction:column;justify-content:center;gap:7px;min-height:36px}.employee-screen-hardware-primary{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.employee-screen-hardware-primary strong{color:#3f3a34;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.employee-screen-hardware-primary small{color:#aaa39a;text-overflow:ellipsis;white-space:nowrap;max-width:45%;font:8px ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.all-employees-empty{color:#a8a29e;flex:1;place-items:center;display:grid}@media (width<=760px){.all-employees-screen-page{padding:12px}.all-employees-screen-toolbar{flex-direction:column;align-items:flex-start}.all-employees-screen-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,142px),154px));gap:10px}}@media (width<=1100px){.upgrade-header:has(.chat-section-tabs){flex-wrap:wrap;height:auto;min-height:64px;padding-block:8px}.upgrade-header:has(.chat-section-tabs) .chat-header-roster{margin-left:0}.chat-section-tabs{order:3;width:100%;margin-left:0}.chat-section-tabs button{flex:1}.chat-page-side{width:310px}.persona-setting-sections{grid-template-columns:1fr}}@media (width<=760px){.chat-page-body{flex-direction:column-reverse;overflow:auto}.chat-page-main{border-right:0;min-height:520px}.chat-page-side{box-sizing:border-box;border-bottom:1px solid #e2e8f0;width:100%;height:min(58vh,560px)}.chat-employee-picker{min-width:min(230px,100vw - 140px)}.chat-employee-picker-panel{width:auto;position:fixed;top:84px;left:12px;right:12px}.chat-settings-page{padding:12px}.persona-editor-body{padding-inline:12px}.persona-setting-section .persona-editor-grid{grid-template-columns:1fr}.persona-setting-section .persona-editor-grid label.wide{grid-column:auto}.persona-editor-actions{flex-wrap:wrap;margin-inline:-12px;padding-inline:12px}.persona-editor-actions span{width:100%;margin-right:0}}.p2p-link-badge{z-index:5;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);white-space:nowrap;background:#141414b8;border:1px solid #ffffff3d;border-radius:999px;align-items:center;gap:5px;max-width:calc(100% - 16px);padding:4px 7px;font-size:9px;line-height:1;display:inline-flex;position:absolute;top:28px;right:8px;box-shadow:0 2px 10px #0003}.p2p-link-badge i{background:#f59e0b;border-radius:50%;flex:none;width:6px;height:6px}.p2p-link-badge--direct i{background:#22c55e}.p2p-link-badge--turn-relay i{background:#3b82f6}.p2p-link-badge--fallback i{background:#a3a3a3}.p2p-link-badge--connecting i{animation:1.1s infinite pulse-dot}.phone-screen-placeholder{text-align:center;background:linear-gradient(160deg,#fafaf9 0%,#f1f0eb 100%);flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;height:100%;padding:24px 18px;display:flex}.placeholder-icon{opacity:.7;margin-bottom:6px;font-size:42px}.placeholder-title{color:#555;font-size:15px;font-weight:600}.placeholder-hint{color:#aaa;max-width:200px;font-size:12px;line-height:1.5}.placeholder-device{color:#bbb;background:#0000000a;border-radius:6px;margin-top:8px;padding:4px 10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.phone-frame-home-bar{z-index:2;background:#fff6;border-radius:2px;width:110px;height:4px;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.placeholder-page-layer{background:#fff}.placeholder-body{color:#2b2b2b;flex-direction:column;gap:22px;padding:24px 28px 32px;display:flex}.placeholder-hero{background:linear-gradient(135deg,#fef3f2 0%,#fafaf9 100%);border:1px solid #f3d4d2;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:28px 16px 22px;display:flex}.placeholder-hero-icon{margin-bottom:4px;font-size:44px;line-height:1}.placeholder-hero-title{margin:0;font-size:22px;font-weight:700}.placeholder-hero-subtitle{color:#777;margin:0;font-size:13px}.placeholder-section{background:#fafaf9;border:1px solid #ececea;border-radius:12px;padding:16px 20px}.placeholder-section h3{color:#555;margin:0 0 12px;font-size:14px;font-weight:600}.placeholder-feature-list{grid-template-columns:1fr 1fr;gap:8px 18px;margin:0;padding:0;list-style:none;display:grid}.placeholder-feature-list li{color:#333;align-items:center;gap:8px;font-size:13px;display:flex}.placeholder-bullet{background:#dc2626;border-radius:50%;flex-shrink:0;width:6px;height:6px}.placeholder-footer{color:#999;justify-content:center;align-items:center;gap:12px;padding:6px 0 0;font-size:12px;display:flex}.placeholder-footer-dot{background:#ccc;border-radius:50%;width:4px;height:4px}.me-page-layer{background:#fff}.me-security-entry{background:linear-gradient(135deg,#fff7f7 0%,#fff 58%,#fef2f2 100%);border:1px solid #fecaca;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:16px;padding:16px 18px;display:grid;box-shadow:0 8px 24px #dc262614}.me-security-icon{color:#fff;background:#dc2626;border-radius:12px;place-items:center;width:42px;height:42px;font-size:20px;font-weight:800;display:grid}.me-security-copy{flex-direction:column;gap:3px;min-width:0;display:flex}.me-security-copy strong{color:#7f1d1d;font-size:14px}.me-security-copy span{color:#57534e;font-size:12px}.me-security-copy small{color:#b45309;font-size:11px}.me-security-button{color:#fff;white-space:nowrap;background:#dc2626;border-radius:9px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 15px;font-size:12px;font-weight:700;text-decoration:none;transition:background .15s,transform .15s;display:inline-flex}.me-security-button:hover{background:#b91c1c;transform:translateY(-1px)}@media (width<=760px){.me-security-entry{grid-template-columns:auto minmax(0,1fr)}.me-security-button{grid-column:1/-1;width:100%}}.me-body{color:#2b2b2b;flex-direction:column;gap:18px;padding:22px 26px 30px;display:flex}.me-profile-card{background:linear-gradient(135deg,#fff 0%,#fef9f8 100%);border:1px solid #f3d4d2;border-radius:14px;align-items:center;gap:16px;padding:18px 20px;display:flex}.me-avatar{color:#fff;background:linear-gradient(135deg,#dc2626 0%,#f87171 100%);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:56px;height:56px;font-size:22px;font-weight:700;display:flex}.me-profile-main{flex-direction:column;flex:1;gap:4px;display:flex}.me-profile-name{font-size:18px;font-weight:700}.me-profile-role{color:#666;align-items:center;gap:8px;font-size:12px;display:flex}.me-role-tag{color:#fff;background:#dc2626;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:600}.me-online-dot{background:#22c55e;border-radius:50%;width:8px;height:8px}.me-btn{color:#333;cursor:pointer;background:#fff;border:1px solid #e4e2dc;border-radius:8px;padding:8px 14px;font-size:13px;transition:all .15s}.me-btn:hover{background:#fafaf9}.me-btn-logout{color:#fff;background:#dc2626;border-color:#dc2626;font-weight:600}.me-btn-logout:hover{background:#b91c1c;border-color:#b91c1c}.me-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.me-card{background:#fafaf9;border:1px solid #ececea;border-radius:12px;padding:16px 18px}.me-card h3{color:#666;text-transform:uppercase;letter-spacing:.5px;margin:0 0 12px;font-size:13px;font-weight:600}.me-info-list{flex-direction:column;gap:10px;display:flex}.me-info-row{align-items:flex-start;gap:12px;font-size:13px;display:flex}.me-info-label{color:#888;flex-shrink:0;width:90px}.me-info-value{color:#222;word-break:break-all;flex:1}.me-info-duration{font-variant-numeric:tabular-nums;color:#dc2626;font-weight:600}.me-info-token{align-items:center;gap:8px;display:flex}.me-info-token code{color:#555;background:#fff;border:1px solid #ececea;border-radius:4px;padding:1px 6px;font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px}.me-info-ua{color:#888;font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px}.me-btn-link{color:#dc2626;cursor:pointer;background:0 0;border:none;padding:0;font-size:12px}.me-btn-link:hover{text-decoration:underline}.me-device-stats{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.me-stat{background:#fff;border:1px solid #ececea;border-radius:8px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.me-stat-label{color:#888;font-size:11px}.me-stat-value{color:#1a1a1a;font-variant-numeric:tabular-nums;font-size:20px;font-weight:700}.me-stat-online{color:#22c55e}.me-stat-offline{color:#aaa}.me-tips{color:#555;margin:0;padding-left:18px;font-size:12px;line-height:1.7}.me-tips code{color:#dc2626;background:#fff;border:1px solid #ececea;border-radius:3px;padding:1px 4px;font-size:11px}.toolbar-btn.disabled{opacity:.45;cursor:not-allowed}.toolbar-btn.disabled:hover{background:0 0}.sidebar-footer .user-card{cursor:pointer;transition:background .15s}.sidebar-footer .user-card:hover{background:#f3f2ef;border-radius:8px}.mobile-account-security{display:none}@media (width<=900px){.mobile-account-security{z-index:8500;color:#7f1d1d;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:1px solid #fecaca;border-radius:9px;align-items:center;gap:8px;min-height:36px;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex;position:fixed;top:12px;right:12px;box-shadow:0 8px 24px #7f1d1d26}.mobile-account-security em{color:#fff;letter-spacing:.4px;background:#dc2626;border-radius:4px;padding:2px 5px;font-size:9px;font-style:normal}}.stat-learning{color:#dc2626}.chat-progress{background:#fafaf9;border-bottom:1px solid #ececea;padding:10px 26px 12px}.chat-progress-info{color:#666;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;font-size:12px;display:flex}.chat-progress-info strong{color:#dc2626;font-variant-numeric:tabular-nums}.chat-progress-label{color:#888;white-space:nowrap;text-overflow:ellipsis;max-width:60%;font-size:11px;overflow:hidden}.chat-progress-track{background:#ececea;border-radius:2px;height:4px;overflow:hidden}.chat-progress-fill{background:linear-gradient(90deg,#dc2626 0%,#f87171 100%);height:100%;transition:width .3s}.chat-learning-pill{cursor:pointer;-webkit-user-select:none;user-select:none}.chat-learning-pill:hover{opacity:.85}.chat-learning-overlay{z-index:9000;background:#00000073;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.chat-learning-card{background:#fff;border-radius:12px;flex-direction:column;width:480px;max-width:90vw;max-height:80vh;display:flex;box-shadow:0 20px 50px #0003}.chat-learning-card header{border-bottom:1px solid #ececea;align-items:center;gap:10px;padding:14px 18px;display:flex}.chat-learning-card header strong{font-size:15px}.chat-learning-card header span{color:#888;flex:1;font-size:12px}.chat-learning-card header button{cursor:pointer;color:#999;background:0 0;border:none;padding:0 4px;font-size:22px;line-height:1}.chat-learning-list{flex:1;padding:8px 0;overflow-y:auto}.chat-learning-empty{text-align:center;color:#888;padding:30px;font-size:13px}.chat-learning-item{border-bottom:1px solid #f5f5f3;flex-direction:column;gap:4px;padding:10px 18px;display:flex}.chat-learning-item:last-child{border-bottom:none}.chat-learning-action{color:#222;font-size:13px;font-weight:600}.chat-learning-meta{color:#888;gap:12px;font-size:11px;display:flex}.chat-learning-card footer{color:#aaa;text-align:center;border-top:1px solid #ececea;padding:10px 18px;font-size:11px}.chat-history-toolbar{color:#888;justify-content:space-between;align-items:center;padding:8px 4px 6px;font-size:12px;display:flex}.chat-history-toolbar-label em{color:#aaa;font-style:normal}.chat-history-clear{color:#dc2626;cursor:pointer;background:0 0;border:1px solid #e4e2dc;border-radius:6px;padding:3px 10px;font-size:11px}.chat-history-clear:hover:not(:disabled){background:#fef3f2;border-color:#dc2626}.chat-history-clear:disabled{opacity:.4;cursor:not-allowed}.shan-remember{color:#555;cursor:pointer;align-items:center;gap:8px;margin-top:-4px;font-size:12px;display:flex}.shan-remember input[type=checkbox]{accent-color:#dc2626;cursor:pointer;width:14px;height:14px}.shan-remember span{-webkit-user-select:none;user-select:none}.shan-auth-divider{color:#aaa;text-transform:uppercase;letter-spacing:.5px;align-items:center;gap:12px;margin:18px 0 12px;font-size:11px;display:flex}.shan-auth-divider:before,.shan-auth-divider:after{content:"";background:#ececea;flex:1;height:1px}.shan-auth-sms-btn{color:#dc2626;background:#fff;border:1px solid #fecaca;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;height:44px;font-size:13px;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.shan-auth-sms-btn:hover{background:#fef3f2;border-color:#dc2626;text-decoration:none;transform:translateY(-1px);box-shadow:0 4px 10px -2px #dc262626}.upgrade-history-horizontal{flex-shrink:0;margin-top:16px}.upgrade-history-list-horizontal{scrollbar-width:thin;scrollbar-color:#d1d5db #f3f4f6;align-items:stretch;gap:12px;padding:0 22px 20px;display:flex;overflow:auto hidden}.upgrade-history-list-horizontal::-webkit-scrollbar{height:6px}.upgrade-history-list-horizontal::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}.upgrade-history-list-horizontal::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.upgrade-history-list-horizontal::-webkit-scrollbar-thumb:hover{background:#9ca3af}.upgrade-history-card{box-sizing:border-box;background:#fff;border:1px solid #eceae4;border-radius:12px;flex-direction:column;flex-shrink:0;gap:8px;width:200px;min-height:180px;padding:14px;transition:all .2s;display:flex}.upgrade-history-card:hover{background:#faf9f6;border-color:#d4cfc4;transform:translateY(-2px);box-shadow:0 6px 16px #40372c1a}.upgrade-history-card.current{background:linear-gradient(135deg,#faf5ff 0%,#f5f3ff 100%);border-color:#8b5cf6;border-left-style:solid;border-left-width:3px}.upgrade-history-card.current:hover{box-shadow:0 6px 16px #8b5cf626}.upgrade-history-card-head{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.upgrade-history-card-head strong{color:#1a1a1a;font-size:15px;font-weight:600}.upgrade-history-card-head em{color:#888;font-size:12px;font-style:normal}.upgrade-history-card-meta{color:#aaa;flex-direction:column;gap:2px;font-size:11px;display:flex}.upgrade-history-card-notes{color:#666;-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;margin:0;font-size:12px;line-height:1.5;display:-webkit-box;overflow:hidden}.upgrade-history-card-actions{gap:6px;margin-top:auto;padding-top:4px;display:flex}.upgrade-history-card-actions .upgrade-btn-mini{flex:1;padding:5px 10px;font-size:11px}.route-loading{z-index:200;color:#475569;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#f8fafce6;justify-content:center;align-items:center;gap:12px;font-size:14px;font-weight:600;display:flex;position:fixed;inset:0}.route-loading span{border:3px solid #cbd5e1;border-top-color:#2563eb;border-radius:50%;width:20px;height:20px;animation:.7s linear infinite route-loading-spin}.module-error{z-index:260;text-align:center;color:#334155;background:#f8fafcf5;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;display:flex;position:fixed;inset:0}.module-error strong{color:#991b1b;font-size:18px}.module-error span{max-width:520px;font-size:13px;line-height:1.6}.module-error button{color:#fff;cursor:pointer;background:#dc2626;border:0;border-radius:8px;margin-top:4px;padding:9px 18px;font-weight:700}@keyframes route-loading-spin{to{transform:rotate(360deg)}}.emr-root{color:#1a1a1a;background:#fafaf9;border-left:1px solid #e4e2dc;flex-direction:column;flex-shrink:0;width:320px;height:100%;font-size:13px;display:flex;overflow:hidden}.emr-status{background:#fff;border-bottom:1px solid #e4e2dc;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.emr-status-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.emr-status-title{color:#1a1a1a;font-size:14px;font-weight:600}.emr-status-conn{align-items:center;gap:4px;margin-left:auto;font-size:11px;display:inline-flex}.emr-status-dot{border-radius:50%;width:6px;height:6px;display:inline-block}.emr-status-count{gap:12px;font-size:12px}.emr-status-count span{align-items:center;gap:4px;display:inline-flex}.emr-status-count i{border-radius:50%;width:6px;height:6px;display:inline-block}.emr-status-names{color:#6b7280;font-size:11px;line-height:1.4}.emr-name-chip{background:#f5f4f1;border-radius:4px;margin-right:4px;padding:1px 6px;font-weight:500;display:inline-block}.emr-name-chip-offline{color:#9ca3af;text-decoration:line-through}.emr-name-offline-divider{color:#d1d5db;margin:0 4px}.emr-name-empty{color:#9ca3af;font-style:italic}.emr-list{scrollbar-width:thin;flex-direction:column;flex:1;gap:8px;padding:8px 12px;display:flex;overflow-y:auto}.emr-empty,.emr-error{text-align:center;color:#9ca3af;padding:24px 12px;font-size:12px}.emr-error{color:#ef4444;background:#fef2f2;border-radius:4px}.emr-message{background:#fff;border:1px solid #e4e2dc;border-radius:6px;flex-direction:column;gap:4px;padding:8px 10px;display:flex;position:relative}.emr-message-head{flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.emr-message-author{font-weight:600}.emr-message-tag{border:1px solid;border-radius:3px;padding:0 6px;font-size:10px;font-weight:500;line-height:1.4;display:inline-block}.emr-message-mentions{color:#ec4899;font-size:11px}.emr-message-body{color:#1a1a1a;word-break:break-word;white-space:pre-wrap;font-size:13px;line-height:1.5}.emr-message-time{color:#9ca3af;align-self:flex-end;font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px}.emr-compose{background:#fff;border-top:1px solid #e4e2dc;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.emr-compose-input{resize:none;color:#1a1a1a;background:#fafaf9;border:1px solid #d4d2cc;border-radius:4px;outline:none;width:100%;padding:6px 8px;font-family:inherit;font-size:13px}.emr-compose-input:focus{background:#fff;border-color:#4a90d9}.emr-compose-input:disabled{opacity:.5;cursor:not-allowed}.emr-compose-send{color:#fff;cursor:pointer;background:#1a1a1a;border:none;border-radius:4px;align-self:flex-end;padding:6px 14px;font-size:12px;font-weight:500;transition:background .15s}.emr-compose-send:hover:not(:disabled){background:#333}.emr-compose-send:disabled{opacity:.4;cursor:not-allowed}
