@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}button:disabled{cursor:not-allowed;opacity:.62}:root{font-family:Inter,Segoe UI,Microsoft YaHei,system-ui,sans-serif;color:#0f172a;background:#f0f2f5;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{border:0;cursor:pointer}.app-shell{display:grid;grid-template-columns:184px minmax(0,1fr);min-height:100vh;background:#f1f5f9;transition:grid-template-columns .16s ease}.app-shell.sidebar-collapsed{grid-template-columns:64px minmax(0,1fr)}.sidebar{background:linear-gradient(180deg,#1a1f36,#0d1117);border-right:1px solid #1e293b;padding:14px 12px;min-width:0;color:#e2e8f0}.brand{display:flex;gap:10px;align-items:center;min-height:42px;margin-bottom:22px}.brand-icon{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:999px;background:#071126;color:#fff}.brand strong,.brand span{display:block}.brand strong{font-size:15px;line-height:1.2}.brand span{margin-top:4px;color:#94a3b8;font-size:12px}.brand-copy{min-width:0;flex:1}.sidebar-toggle{display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border:1px solid #334155;border-radius:8px;background:transparent;color:#94a3b8}.sidebar-toggle:hover{background:#f3f7fb;color:#0f172a}.nav-list{display:grid;gap:8px}.nav-list button{display:flex;align-items:center;gap:9px;width:100%;min-height:36px;border-radius:8px;background:transparent;color:#94a3b8;padding:0 12px;font-weight:600;transition:all .2s}.nav-list button svg{flex:0 0 auto}.nav-list button.active{background:#63b3ed26;color:#63b3ed}.nav-lock{margin-left:auto;color:currentColor;opacity:.48}.sidebar-collapsed .sidebar{padding:14px 10px}.sidebar-collapsed .brand{display:grid;justify-items:center;gap:8px;margin-bottom:18px}.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-lock{display:none}.sidebar-collapsed .sidebar-toggle{width:34px;height:28px}.sidebar-collapsed .nav-list button{justify-content:center;min-height:42px;padding:0}.main{min-width:0;padding:10px 12px 18px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px}h1,h2,h3,p{margin:0}.topbar h1{font-size:24px;line-height:1.25;letter-spacing:0}.topbar p{color:#64748b;font-size:13px;margin-top:4px}.topbar-right{display:flex;align-items:center;gap:10px;margin-left:auto}.topbar-sync-btn{display:inline-flex;align-items:center;gap:5px;height:32px;border-radius:8px;background:#f8fafc;color:#475569;padding:0 12px;font-size:12px;font-weight:700;border:1px solid #e2e8f0;transition:all .15s ease}.topbar-sync-btn:hover{background:#eef2f7;color:#1e293b;border-color:#d0d7e2}.topbar-sync-btn svg{opacity:.6}.topbar-user-group{display:flex;align-items:center;gap:7px;padding:3px 10px 3px 3px;background:#fff;border-radius:8px;border:1px solid #e8edf3}.topbar-user-avatar{width:28px;height:28px;border-radius:7px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:800;flex-shrink:0}.topbar-user-info{display:flex;flex-direction:column;line-height:1.15}.topbar-user-name{font-size:11px;font-weight:700;color:#1e293b}.topbar-logout{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;background:transparent;color:#94a3b8;border:1px solid transparent;transition:all .15s ease}.role-pill{display:inline-flex;align-items:center;gap:8px;min-height:30px;border:1px solid #dae2ec;border-radius:999px;background:#fff;color:#475569;box-shadow:0 2px 8px #08152d0a;padding:0 12px;font-size:13px}.role-pill svg{color:#059669}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.summary-card{min-height:84px;border:1px solid #dae2ec;border-radius:20px;background:#fff;box-shadow:0 2px 8px #08152d0a;padding:16px;text-align:left;cursor:pointer}.summary-card.active{background:#071126;color:#fff}.summary-card span{display:block;color:#64748b;font-size:13px;font-weight:700}.summary-card.active span{color:#e8eef8}.summary-card strong{display:block;margin-top:10px;font-size:28px;line-height:1}.channel-bar{display:flex;align-items:center;gap:8px;min-height:54px;border:1px solid #dae2ec;border-radius:22px;background:#fff;box-shadow:0 2px 8px #08152d0a;padding:9px 12px;margin-bottom:16px}.channel-bar button,.platform-mini-switch button{min-height:32px;border-radius:999px;background:#eef4fb;color:#475569;padding:0 13px;font-size:13px;font-weight:700}.channel-bar button.active,.platform-mini-switch button.active{background:#071126;color:#fff}.platform-mini-switch{display:flex;gap:6px;margin-left:auto}.workflow-hints{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 16px}.workflow-hints span{border:1px solid #dae2ec;border-radius:999px;background:#fff;color:#64748b;padding:7px 12px;font-size:13px}.workbench{display:grid;grid-template-columns:286px minmax(0,1fr);gap:12px;height:calc(100vh - 104px);min-height:0}.conversation-column,.thread-column,.related-column,.detail-column,.panel-shell,.records-panel{border:1px solid #dae2ec;border-radius:20px;background:#fff;box-shadow:0 2px 8px #08152d0a}.conversation-column{display:flex;flex-direction:column;min-height:0;padding:8px;max-height:calc(100vh - 104px);overflow:hidden}.queue-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 2px 9px}.queue-head strong,.queue-head span{display:block}.queue-head strong{font-size:18px;line-height:1.2}.queue-head span{color:#64748b;font-size:12px;margin-top:4px}.search-box{display:flex;align-items:center;gap:9px;height:34px;border:1px solid #dce4ef;border-radius:17px;background:#f8fbff;color:#7b8ea8;padding:0 13px;margin-bottom:10px}.channel-select-wrap{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-bottom:8px;color:#64748b;font-size:12px;font-weight:800}.channel-select-wrap select{width:100%;min-width:0;height:32px;border:1px solid #dce4ef;border-radius:10px;outline:0;background:#f8fbff;color:#0f172a;padding:0 10px;font-weight:800}.search-box input{width:100%;border:0;outline:0;background:transparent;color:#0f172a}.conversation-list{height:100%;overflow-y:auto;display:grid;align-content:start;gap:6px;min-height:0;max-height:none;overflow:auto;padding-right:3px}.platform-mini-switch.compact button{min-height:28px;border-radius:999px;background:#eef4fb;color:#475569;padding:0 10px;font-size:12px;font-weight:800;white-space:nowrap}.platform-mini-switch.compact button.active{background:#071126;color:#fff}.platform-mini-switch.compact{margin-left:0;flex-shrink:0;border-radius:12px;background:#f1f5f9;padding:4px;margin-bottom:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.conversation-row{position:relative;display:flex;align-items:center;gap:8px;width:100%;min-height:44px;text-align:left;border-radius:8px;border:1px solid #e3e8f0;background:#f8fbff;color:#0f172a;padding:8px 12px}.conversation-row.active{background:#1a2332;color:#fff;border-color:#1a2332}.row-time{font-size:12px;color:#6b7280;white-space:nowrap;margin-left:auto;flex-shrink:0}.conversation-row.active .row-time{color:#9ca3af}.row-customer{font-size:14px;font-weight:500;white-space:nowrap;flex-shrink:0}.row-priority{display:flex;gap:4px;flex-shrink:0}.priority-badge{font-size:11px;padding:2px 8px;border-radius:12px;white-space:nowrap}.priority-badge.urgent{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.priority-badge.high{background:#fff7ed;color:#ea580c;border:1px solid #fed7aa}.priority-badge.medium{background:#eff6ff;color:#2563eb;border:1px solid #bfdbfe}.priority-badge.low{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.conversation-row.active .priority-badge.urgent{background:#7f1d1d;color:#fca5a5;border-color:#991b1b}.conversation-row.active .priority-badge.high{background:#7c2d12;color:#fdba74;border-color:#9a3412}.conversation-row.active .priority-badge.medium{background:#1e3a5f;color:#93c5fd;border-color:#1e40af}.conversation-row.active .priority-badge.low{background:#14532d;color:#86efac;border-color:#166534}.conversation-row.active{border-color:#0f172a;background:#071126;color:#fff;box-shadow:none}.row-time{position:absolute;top:11px;right:10px;color:#7890ae;font-size:11px;font-weight:700;text-align:right;line-height:1.25}.row-line{display:grid;grid-template-columns:minmax(78px,auto) minmax(0,1fr);align-items:center;gap:10px;max-width:calc(100% - 66px)}.row-category{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#475569;font-size:12px;font-weight:800}.alert-dot{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#071126;color:#fff;font-size:13px;font-weight:900}.row-customer{min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-title{max-width:100%;font-size:12px;font-weight:800;line-height:1.25;color:#64748b;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.row-meta{color:#64748b;font-size:12px}.conversation-row.active .row-meta,.conversation-row.active .row-time,.conversation-row.active .row-title,.conversation-row.active .row-category{color:#d6e2f0}.conversation-row.active .alert-dot{background:#fff;color:#0f172a}.row-preview{color:inherit;font-size:12px;line-height:1.4;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.row-tags{display:flex;flex-wrap:nowrap;gap:7px;margin-top:2px;overflow:hidden}.detail-column{padding:20px}.thread-column{min-width:0;min-height:0;height:calc(100vh - 104px);overflow:hidden;background:#fff}.thread-workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:0;height:100%}.thread-reading{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.reply-side-panel{display:flex;flex-direction:column;min-width:0;min-height:0;border-left:1px solid #edf1f6;background:#fbfdff;overflow:auto}.thread-header{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;flex-shrink:0;border-bottom:1px solid #edf1f6;background:#fff;padding:12px 16px 10px}.thread-header strong{display:block;color:#0f172a;font-size:16px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-header span{color:#64748b;font-size:12px;font-weight:800}.thread-status-line{display:flex;gap:14px;min-width:0;overflow:hidden;color:#64748b}.thread-status-line span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-status-line .product-link{color:#2563eb;text-decoration:none}.thread-status-line .product-link:hover{text-decoration:underline}.rms-action-strip{display:none;align-items:center;gap:8px;min-height:48px;border-bottom:1px solid #edf1f6;background:#fff;padding:0 14px}.rms-action-strip span{display:inline-flex;align-items:center;min-height:30px;border:1px solid #dae2ec;border-radius:999px;background:#eef4fb;color:#475569;padding:0 14px;font-weight:900}.rms-action-strip span.active{border-color:#0f172a;background:#071126;color:#fff}.rms-action-strip span.done{border-color:#059669;background:#ecfdf3;color:#059669}.rms-action-strip .ai-button{margin-left:auto;min-width:142px;border-color:#dae2ec;background:#f8fbff;color:#475569}.detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #edf1f6;margin:-20px -20px 20px;padding:20px 20px 18px}.thread-column .detail-head{flex-shrink:0;margin:0;background:#fff;padding:10px 18px}.detail-head span{color:#64748b;font-size:13px;font-weight:700}.thread-meta-bar{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #edf1f6;background:#fff;padding:8px 18px 10px}.thread-meta-bar span{max-width:100%;border:1px solid #dae2ec;border-radius:999px;background:#f8fbff;color:#475569;padding:5px 10px;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-button{min-width:58px;height:34px;border:1px solid #dae2ec;border-radius:17px;background:#f8fbff;color:#64748b}.message-stream{display:grid;gap:10px;align-content:start;flex:1 1 auto;min-height:0;max-height:none;overflow:auto;background:#f5f7fa;padding:14px 16px}.message-bubble{max-width:min(760px,86%);border:1px solid #dae2ec;border-radius:12px;box-shadow:none;padding:11px 13px}.message-bubble.inbound{justify-self:start;background:#fff}.message-bubble.outbound{justify-self:end;background:#eaf6ff}.message-meta{display:flex;align-items:center;gap:10px;color:#64748b;font-size:12px;margin-bottom:8px}.message-meta strong{color:#475569}.message-bubble p{font-size:14px;line-height:1.7;white-space:pre-wrap;word-break:break-word;margin:0;padding:0}.message-translation{color:#0f172a;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.translate-button{display:inline-block;font-size:12px;padding:4px 10px;border:1px solid #d1d5db;border-radius:6px;background:#f9fafb;color:#374151;cursor:pointer;margin-top:6px;transition:all .15s ease}.translate-button:hover{background:#e5e7eb;border-color:#9ca3af}.message-translation{border-top:1px solid #dae2ec;color:#64748b;margin-top:10px;padding-top:10px}.attachment-grid{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-top:12px}.image-attachment,.file-attachment{min-width:0;border:1px solid #dae2ec;border-radius:12px;background:#fff;color:#475569;overflow:hidden;text-decoration:none}.image-attachment{display:grid}.image-attachment img{width:100%;aspect-ratio:4 / 3;object-fit:cover;background:#f8fbff}.image-attachment span,.file-attachment{display:block;padding:8px 9px;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-composer{display:grid;gap:9px;flex:1 0 auto;background:#fbfdff;padding:14px 14px 10px}.reply-composer .reply-textarea{transition:border-color .15s ease;scrollbar-gutter:stable;min-height:184px}.paste-hint{display:block;font-size:11px;color:#9ca3af;margin-top:4px;padding-left:2px}.reply-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.draft-explanation{border:1px solid #dae2ec;border-radius:10px;background:#f8fbff;color:#475569;padding:10px 12px;font-size:13px;line-height:1.5}.draft-details{border:1px solid #dae2ec;border-radius:11px;background:#f8fbff;overflow:hidden}.draft-details summary{cursor:pointer;color:#64748b;padding:8px 10px;font-size:13px;font-weight:800;list-style-position:inside}.draft-details .draft-explanation{border:0;border-top:1px solid #dae2ec;border-radius:0}.reply-attachment-picker{display:grid;gap:8px}.attachment-add{display:inline-flex;align-items:center;gap:7px;justify-self:start;min-height:32px;border:1px solid #dae2ec;border-radius:10px;background:#fff;color:#475569;padding:0 11px;font-size:13px;font-weight:800;cursor:pointer}.attachment-add input{display:none}.reply-attachment-list{display:flex;flex-wrap:wrap;gap:8px}.reply-attachment-list span{display:inline-flex;align-items:center;gap:6px;max-width:280px;min-height:30px;border:1px solid #dae2ec;border-radius:999px;background:#f8fbff;color:#475569;padding:0 6px 0 10px;font-size:12px;font-weight:800}.reply-attachment-list button{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#eef4fb;color:#64748b;padding:0}.compact-note{margin:0}.compact-note textarea{min-height:58px}.inline-order-tools{display:grid;grid-template-columns:1fr;align-items:stretch;gap:10px;border-top:1px solid #dae2ec;padding:10px}.inline-order-tools label{display:grid;gap:6px;color:#64748b;font-size:12px;font-weight:800}.inline-order-tools input{width:100%;min-height:34px;border:1px solid #dae2ec;border-radius:11px;outline:0;background:#f8fbff;color:#0f172a;padding:0 12px}.inline-order-tools button{justify-content:center}.thread-column .warning{margin:0 16px 10px}.thread-column .actions{flex-shrink:0;position:sticky;bottom:0;z-index:1;background:#fff;margin:0;padding:10px 14px 12px;box-shadow:0 -10px 18px #f8fbffeb}.related-column{display:grid;align-content:start;gap:12px;padding:14px;max-height:calc(100vh - 132px);overflow:auto}.related-title{border-bottom:1px solid #edf1f6;padding-bottom:12px;font-size:22px;font-weight:900}.related-section{display:grid;gap:8px;border-top:1px solid #edf1f6;padding-top:10px}.related-section h3{font-size:15px}.related-section p{color:#64748b;font-size:13px;line-height:1.6}.related-column .info-box{min-height:58px}.related-original{display:grid;gap:8px;border:1px solid #dae2ec;border-radius:13px;background:#f8fbff;padding:12px}.related-original span{color:#64748b;font-size:12px;font-weight:800}.related-original p{color:#0f172a;line-height:1.6;max-height:180px;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap}.compact-empty{height:120px}.order-grid,.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}.info-box{display:grid;gap:6px;min-height:56px;border:1px solid #dae2ec;border-radius:13px;background:#f8fbff;padding:10px 12px}.info-box span,.field-label{color:#64748b;font-size:12px;font-weight:700}.info-box strong{min-width:0;color:#0f172a;font-size:13px;overflow-wrap:anywhere}.info-box.editable input,.info-box.editable select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#0f172a;font-weight:800}.info-box.wide,.info-box.editable.wide{grid-column:1 / -1}.field-group{display:grid;gap:8px;margin-bottom:16px}.readonly-box,.select-input{width:100%;min-height:52px;border:1px solid #dae2ec;border-radius:13px;background:#f8fbff;color:#0f172a;padding:14px;line-height:1.5}.select-input{min-height:40px;padding:0 12px}.section-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.with-icon,.text-button,.actions button{display:inline-flex;align-items:center;gap:7px}.text-button{background:transparent;color:#64748b;font-size:13px}.reply-textarea{width:100%;min-height:136px;border:1px solid #c8f2df;border-radius:12px;outline:0;resize:vertical;background:#eafff5;color:#0f172a;padding:12px;line-height:1.6}.operator-note{display:grid;gap:8px;margin:6px 0}.operator-note textarea{min-height:62px;border:1px solid #dae2ec;border-radius:13px;outline:0;resize:vertical;background:#fff;padding:12px}.warning{border-radius:13px;background:#fff7df;color:#94620b;padding:10px 12px;font-size:13px;line-height:1.45;margin-bottom:14px}.actions{display:flex;justify-content:stretch;gap:10px;border-top:1px solid #edf1f6;margin-top:16px;padding-top:16px}.actions.compact{border-top:0}.actions button,.dark-chip,.outline-chip{min-height:36px;border-radius:12px;padding:0 13px;font-weight:800;white-space:nowrap}.thread-column .actions button{flex:1 1 0;justify-content:center}.dark-action,.dark-chip{background:#071126;color:#fff}.secondary-action,.outline-chip{border:1px solid #dae2ec;background:#fff;color:#475569}.send-action{background:#059669;color:#fff}.badge{display:inline-flex;align-items:center;justify-content:center;min-height:20px;border-radius:999px;padding:0 7px;font-size:11px;line-height:1;white-space:nowrap}.priority-normal{background:#eff6ff;color:#315c8a}.priority-high,.status-warn{background:#fff5e6;color:#d46b08}.priority-urgent{background:#fff1f2;color:#d92d20}.status-pending{background:#eef4ff;color:#2563eb}.status-sent,.status-ok{background:#ecfdf3;color:#059669}.records-panel{padding:22px}.knowledge-page{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px}.knowledge-main,.knowledge-editor{border:1px solid #dae2ec;border-radius:24px;background:#fff;box-shadow:0 2px 8px #08152d0a}.knowledge-main{overflow:hidden}.knowledge-header{border-bottom:1px solid #edf1f6;padding:22px 28px;font-size:20px;font-weight:900}.knowledge-intro{color:#64748b;line-height:1.7;padding:18px 28px 0}.knowledge-search{display:flex;align-items:center;gap:10px;height:44px;border:1px solid #dae2ec;border-radius:18px;background:#f8fbff;color:#8a9bb3;margin:26px 28px 20px;padding:0 14px}.knowledge-search input{width:100%;border:0;outline:0;background:transparent;color:#0f172a}.knowledge-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 28px 28px}.knowledge-card{display:grid;align-content:start;gap:14px;min-height:184px;border:1px solid #dae2ec;border-radius:18px;background:#fff;padding:24px}.knowledge-card-title{display:flex;align-items:center;gap:10px}.knowledge-card-title svg{color:#0f172a}.knowledge-card h3{font-size:18px}.knowledge-card p{color:#475569;line-height:1.7}.knowledge-keywords{display:flex;flex-wrap:wrap;gap:6px}.knowledge-keywords span{border-radius:999px;background:#eef4ff;color:#315c8a;padding:4px 8px;font-size:12px;font-weight:800}.knowledge-card-actions{display:flex;align-items:center;gap:14px;margin-top:4px}.knowledge-card button{justify-self:start;background:transparent;color:#0f172a;font-weight:900;padding:0}.knowledge-card button span{margin-left:4px;font-size:18px}.knowledge-editor{padding:20px;align-self:start}.form-grid.single{grid-template-columns:1fr}.panel-title{font-size:16px;font-weight:900}.records-table{display:grid;grid-template-columns:130px 180px 160px minmax(240px,1fr) 130px 130px;border:1px solid #dae2ec;border-radius:12px;overflow:hidden;margin-top:22px}.records-table div{min-height:38px;border-bottom:1px solid #edf1f6;display:flex;align-items:center;padding:0 12px;font-size:13px}.records-table .table-head{background:#f8fbff;color:#64748b;font-weight:900}.users-layout,.settings-layout{display:grid;grid-template-columns:466px minmax(0,1fr);gap:16px}.panel-shell{min-height:336px;padding:20px}.users-list{display:grid;align-content:start;gap:10px}.user-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:64px;width:100%;border-radius:12px;background:#f8fbff;color:#0f172a;padding:0 14px;text-align:left}.user-row.active{background:#071126;color:#fff}.user-row strong,.user-row small{display:block}.user-row small{color:#64748b;margin-top:5px}.user-row.active small{color:#d6e2f0}.user-detail{display:grid;align-content:start}.settings-layout{grid-template-columns:466px minmax(0,1fr)}.settings-menu{display:grid;align-content:start;gap:8px}.settings-menu-row{display:flex;align-items:center;gap:10px;min-height:48px;border-radius:12px;background:#f8fbff;color:#0f172a;padding:0 14px;font-weight:900}.settings-menu-row.active{background:#071126;color:#fff}.setting-items{display:grid;gap:12px;margin-top:20px}.setting-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;gap:10px;min-height:68px;border:1px solid #dae2ec;border-radius:14px;background:#f8fbff;padding:12px 14px}.setting-item strong,.setting-item span{display:block}.settings-help{color:#64748b;line-height:1.7;margin-top:10px}.api-contract{display:grid;gap:8px;border:1px solid #dae2ec;border-radius:13px;background:#f8fbff;margin-top:14px;padding:14px}.api-contract span{color:#475569;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.setting-item span{color:#64748b;font-size:13px;margin-top:5px}.json-editor{display:grid;gap:8px;margin-top:14px;color:#64748b;font-size:12px;font-weight:800}.json-editor textarea{min-height:118px;border:1px solid #dae2ec;border-radius:13px;outline:0;resize:vertical;background:#f8fbff;color:#0f172a;padding:12px;font-family:Cascadia Code,Consolas,monospace;font-size:12px;line-height:1.5}.channel-form{border:1px solid #dae2ec;border-radius:14px;background:#fff;margin-top:16px;padding:16px}.provider-list,.knowledge-list,.log-list{display:grid;gap:10px;margin-top:16px}.knowledge-row,.log-row{display:grid;gap:4px;border:1px solid #dae2ec;border-radius:12px;background:#f8fbff;padding:12px}.knowledge-row span,.log-row span{color:#64748b;font-size:13px}.panel-title.sub{margin-top:24px}.rule-grid{display:grid;gap:12px;margin-top:18px}.rule-grid label{display:flex;align-items:center;gap:10px;min-height:46px;border:1px solid #dae2ec;border-radius:13px;background:#f8fbff;padding:0 14px;font-weight:800}.empty-state{display:grid;place-items:center;min-height:100%;color:#64748b}.toast{position:fixed;top:16px;right:20px;z-index:9999;min-width:200px;max-width:380px;padding:12px 20px;border-radius:12px;background:#1a2332;color:#fff;font-size:13px;font-weight:700;box-shadow:0 12px 36px #00000040;animation:toastIn .25s ease}@media(max-width:1180px){.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:2}.brand{margin-bottom:12px}.nav-list{grid-template-columns:repeat(4,minmax(0,1fr))}.workbench,.knowledge-page,.users-layout,.settings-layout,.thread-workspace{grid-template-columns:1fr}.reply-side-panel{border-left:0;border-top:1px solid #edf1f6;overflow:visible}.reply-composer .reply-textarea{min-height:150px}}@media(max-width:1450px){.thread-workspace{grid-template-columns:1fr;overflow:auto}.thread-reading{min-height:420px}.reply-side-panel{border-left:0;border-top:1px solid #edf1f6;overflow:visible}.reply-composer .reply-textarea{min-height:132px}}@media(max-width:820px){.main{padding:14px}.topbar,.detail-head{flex-direction:column;align-items:stretch}.summary-grid,.knowledge-card-grid,.order-grid,.form-grid{grid-template-columns:1fr}.channel-bar,.actions{flex-wrap:wrap}.platform-mini-switch{margin-left:0}.records-table,.setting-item{grid-template-columns:1fr}}.channel-select-wrap{display:none!important}.channel-card-filter{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.channel-card-filter button{flex:1 1 auto;min-width:0;min-height:32px;border-radius:10px;border:1px solid #e3e8f0;background:#f8fbff;color:#64748b;padding:0 10px;font-size:12px;font-weight:800;white-space:nowrap;transition:all .15s ease}.channel-card-filter button:hover{border-color:#cbd5e1;background:#f1f5f9}.channel-card-filter button.active{border-color:#1a2332;background:#1a2332;color:#fff}.resize-handle{width:7px;cursor:col-resize;background:transparent;position:relative;z-index:2;transition:background .15s ease}.resize-handle:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:3px;height:32px;border-radius:3px;background:#d1d5db;transition:background .15s ease,height .15s ease}.resize-handle:hover:after{background:#94a3b8;height:48px}.is-resizing .resize-handle:after{background:#6366f1;height:56px}.conversation-row .row-title{display:none}.log-timeline{display:grid;gap:8px;margin-top:16px}.log-entry{border:1px solid #e3e8f0;border-radius:12px;background:#fff;padding:12px 14px;transition:border-color .15s ease}.log-entry:hover{border-color:#cbd5e1}.log-entry.fail{border-color:#fecaca;background:snow}.log-entry-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.log-action{font-weight:800;color:#0f172a;font-size:13px}.log-status{font-size:12px;padding:2px 8px;border-radius:999px;font-weight:800}.log-status.ok{background:#ecfdf3;color:#059669}.log-status.fail{background:#fef2f2;color:#dc2626}.log-time{margin-left:auto;color:#94a3b8;font-size:12px}.log-entry-detail{display:flex;align-items:center;gap:12px;margin-top:6px;color:#64748b;font-size:12px;flex-wrap:wrap}.log-error{color:#dc2626;font-weight:600}.thread-workspace{grid-template-columns:minmax(0,1fr) 7px 360px}.workbench{grid-template-columns:300px 7px minmax(420px,1fr)}.thread-status-line{gap:10px;flex-wrap:wrap}.thread-header{gap:8px}.draft-preview{border:1px solid #e3e8f0;border-radius:10px;background:#f8fbff;overflow:hidden}.draft-preview-header{display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #e3e8f0;background:#f1f5f9;font-size:13px}.draft-preview-header span{flex:1}.draft-preview-body{padding:12px;font-size:14px;line-height:1.6;color:#0f172a;max-height:320px;overflow-y:auto;white-space:pre-wrap}.translate-btn{color:#6366f1!important;font-weight:700}.translate-btn:hover{background:#eef2ff!important}.attachment-preview-item{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:4px;border:1px solid #dbe5ef;border-radius:10px;background:#fff;color:#475569;text-decoration:none;overflow:hidden;cursor:pointer}.attachment-preview-item.image-preview{width:168px;height:126px}.attachment-preview-item.image-preview img{display:block;width:100%;height:100%;object-fit:contain;background:#f8fafc}.attachment-preview-item.file-preview{min-height:34px;padding:0 10px}.attachment-image-thumb{width:168px;height:126px;object-fit:cover;border-radius:8px;border:1px solid #e3e8f0;flex-shrink:0}.attachment-download{text-decoration:none;cursor:pointer}.attachment-download:hover{text-decoration:underline}.conversation-row{flex-wrap:wrap}.conversation-row .row-customer{max-width:calc(100% - 80px);overflow:hidden;text-overflow:ellipsis}.message-bubble.outbound{background:#f0f7ff;border:1px solid #d0e3f7}.message-bubble.inbound{background:#fff;border:1px solid #e8ecf1}.thread-reading,.reply-side-panel{overflow-y:auto;flex:1;min-height:0}.reply-composer{flex:1;display:flex;flex-direction:column;min-height:0}.conversation-list{overflow-y:auto;flex:1;min-height:0}.conversation-column{display:flex;flex-direction:column;overflow:hidden}.queue-head{flex-shrink:0}.message-stream{flex:1;overflow-y:auto;min-height:0}.thread-workspace{display:grid;height:100%;overflow:hidden}.main{padding:12px 12px 16px;overflow:hidden}.topbar{margin-bottom:10px;min-height:48px}.workbench{gap:8px;height:calc(100vh - 96px);min-width:0;overflow:hidden}.conversation-column{border-radius:16px;padding:10px;max-height:calc(100vh - 96px)}.summary-grid{gap:8px;margin-bottom:10px}.summary-card{min-height:62px;border-radius:14px;padding:11px 13px}.summary-card span{font-size:12px}.summary-card strong{margin-top:6px;font-size:24px}.admin-layout{display:grid;grid-template-columns:minmax(560px,1fr) 360px;gap:16px;height:calc(100vh - 96px);min-height:0}.admin-main-panel,.config-card,.settings-sidebar,.settings-detail{border:1px solid #dae2ec;border-radius:16px;background:#fff;box-shadow:0 6px 22px #0f172a0d;min-height:0;overflow:auto;padding:18px}.admin-main-panel{min-height:0;overflow:auto;padding:18px}.config-card{align-self:start;display:grid;gap:14px;padding:18px}.config-card.wide{align-self:stretch}.config-card h3,.admin-main-panel h3,.settings-detail h3{margin:0;color:#071126;font-size:18px}.config-card p,.section-title-row p{margin:6px 0 0;color:#64748b;font-size:13px;line-height:1.6}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.section-title-row>span{flex-shrink:0;border-radius:999px;background:#eef4fb;color:#475569;padding:6px 10px;font-size:12px;font-weight:800}.user-table{display:grid;gap:10px}.user-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto auto;align-items:center;gap:12px;min-height:64px;border:1px solid #e3ebf4;border-radius:14px;background:#fbfdff;padding:10px 12px}.user-row.disabled{background:#f8fafc;opacity:.72}.user-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#071126;color:#fff;font-weight:900}.user-identity{min-width:0}.user-identity strong,.user-identity span{display:block}.user-identity span{overflow:hidden;color:#64748b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.role-pill,.state-pill{display:inline-flex;align-items:center;justify-content:center;min-height:26px;border-radius:999px;padding:0 9px;background:#eef4fb;color:#475569;font-size:12px;font-weight:800;white-space:nowrap}.role-pill.admin,.state-pill.on{background:#e8f7ef;color:#047857}.state-pill.off{background:#f1f5f9;color:#64748b}.row-actions{display:flex;gap:8px}.field-row{display:grid;gap:7px}.field-row.full{grid-column:1 / -1}.field-row>span{color:#475569;font-size:13px;font-weight:800}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.send-action.full{width:100%}.settings-layout.friendly{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;height:calc(100vh - 96px);min-height:0}.settings-sidebar{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto;padding:14px}.settings-detail{min-height:0;overflow:auto;padding:0}.settings-detail .config-card.wide>.actions{position:sticky;bottom:0;z-index:5;margin:12px -18px -18px;padding:12px 18px;background:#fff;box-shadow:0 -12px 24px #f8fbfff2}.channel-bar.vertical{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:8px}.channel-bar.vertical button{justify-content:flex-start;width:100%}.settings-sidebar .setting-item{grid-template-columns:minmax(0,1fr) auto;width:100%;text-align:left;cursor:pointer}.settings-sidebar .setting-item.active{border-color:#071126;background:#f8fbff}.settings-sidebar .setting-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.switch-row{display:inline-flex;align-items:center;gap:8px;min-height:32px;color:#475569;font-size:13px;font-weight:900;white-space:nowrap}.quick-add-card{display:grid;gap:9px;padding:12px;border:1px solid #dbe7f3;border-radius:12px;background:#f8fbff}.quick-add-card strong{font-size:14px;color:#0f172a}.field-check{align-self:end;min-height:44px;padding:0 12px;border:1px solid #dbe7f3;border-radius:10px;background:#f8fafc}.field-section-title{grid-column:1 / -1;margin-top:8px;padding-top:12px;border-top:1px solid #e5edf5;color:#0f172a;font-size:14px;font-weight:900}.filter-textarea{min-height:76px;resize:vertical;line-height:1.5}@media(max-width:1280px){.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.field-grid,.settings-layout.friendly{grid-template-columns:1fr}}.rule-grid.friendly{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.rule-grid.friendly div{display:grid;gap:6px;border:1px solid #dae2ec;border-radius:14px;background:#f8fbff;padding:14px}.rule-grid.friendly strong{color:#071126}.rule-grid.friendly span{color:#64748b;font-size:13px;line-height:1.6}.platform-mini-switch.compact button{flex:1;border-radius:9px;background:transparent;color:#475569;padding:0 13px;font-size:13px;font-weight:700;text-align:center;min-height:30px}.conversation-list{gap:7px;padding-right:2px}.conversation-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:42px;padding:8px 10px;flex-wrap:nowrap}.conversation-row .row-customer{max-width:none;min-width:0;font-size:14px;font-weight:700}.conversation-row .priority-badge{justify-self:end}.conversation-row .row-time{position:static;justify-self:end;margin-left:0;color:#64748b}.conversation-row.active .row-time{color:#d6e2f0}.resize-handle{width:7px;align-self:stretch}.resize-handle.vertical{width:7px;border-left:0;border-right:0}.thread-column{border-radius:16px;height:calc(100vh - 96px);min-width:0}.thread-workspace{grid-template-columns:minmax(0,1fr) 7px 330px;gap:0;min-width:0}.thread-reading{overflow:hidden}.thread-header{padding:13px 16px 11px}.thread-header strong{font-size:15px}.thread-status-line{gap:8px;flex-wrap:wrap;overflow:visible}.thread-status-line span{max-width:100%}.message-stream{overflow-y:auto;overflow-x:hidden;padding:14px 16px}.message-bubble{max-width:min(720px,92%)}.message-bubble pre{margin:0;font-family:inherit;font-size:14px;line-height:1.7;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere}.shipping-card{flex-shrink:0;border-top:1px solid #edf1f6;background:#fff;padding:12px 16px}.shipping-card strong{display:block;margin-bottom:6px;font-size:14px}.shipping-card p{color:#475569;font-size:13px;line-height:1.55}.reply-side-panel{overflow:hidden;background:#fbfdff}.reply-composer{display:flex;height:100%;min-height:0;gap:9px;padding:14px}.reply-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.reply-head span{color:#64748b;font-size:12px;font-weight:800}.reply-composer .reply-textarea{width:100%;min-height:150px;max-height:400px;overflow-y:auto;resize:vertical}.reply-composer .reply-textarea.instruction{min-height:76px;max-height:200px;overflow-y:auto;flex:0 0 auto}.attachment-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:1px solid #dae2ec;border-radius:10px;background:#fff;color:#475569;font-size:13px;font-weight:800}.reply-side-panel .actions{display:flex;flex-direction:column;gap:6px;position:static;padding:0;box-shadow:none;background:transparent}.reply-side-panel .actions .tool-row button,.reply-side-panel .actions .tool-row .search-input{flex:0 0 auto;min-height:32px;white-space:nowrap}.reply-side-panel .actions .tool-row .search-input{width:110px;height:32px;font-size:13px;padding:0 8px}.reply-side-panel .actions .send-action{width:100%}.empty-state{height:100%;border-radius:16px}@media(max-width:1180px){.thread-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.thread-workspace>.resize-handle.vertical{display:none}.reply-side-panel{min-height:260px;border-left:0;border-top:1px solid #edf1f6}.reply-composer{max-height:320px}}.app-shell{grid-template-columns:180px minmax(0,1fr)}.main{height:100vh;padding:14px 14px 16px}.topbar{min-height:48px;margin-bottom:10px}.topbar h1{font-size:23px}.workbench{height:calc(100vh - 88px);gap:10px}.conversation-column,.thread-column{height:calc(100vh - 88px);max-height:calc(100vh - 88px);border-color:#dbe4ef;border-radius:14px;box-shadow:0 8px 24px #0f172a0f}.conversation-column{padding:10px}.summary-grid{grid-template-columns:1fr 1fr;gap:7px}.summary-card{min-height:52px;border-radius:12px;padding:9px 11px}.summary-card strong{margin-top:4px;font-size:21px}.search-box{height:32px;margin:9px 0;border-radius:10px;background:#fff}.conversation-row{min-height:46px;border-color:#e5edf6;background:#fff;border-radius:10px;box-shadow:0 1px 2px #0f172a08}.conversation-row:hover{border-color:#cbd7e6;background:#f8fbff}.conversation-row.is-sent{background:#f8fafc}.conversation-row.is-sent .row-customer,.conversation-row.is-sent .row-time{color:#64748b}.conversation-row.active{border-color:#071126;background:#071126;box-shadow:0 8px 18px #0711262e}.priority-badge{padding:2px 7px}.thread-column{background:#fff}.thread-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) 315px;background:#fff}.thread-workspace>.resize-handle.vertical{display:none}.thread-reading{min-height:0;border-bottom:1px solid #e6edf5}.thread-status-line span{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;background:#f1f5f9;padding:0 9px}.message-stream{padding:16px 18px;background:#f6f8fb}.message-bubble{max-width:820px;border-radius:14px;padding:13px 15px;box-shadow:0 2px 8px #0f172a0a}.message-bubble.inbound{background:#fff}.message-bubble.outbound{background:#eef8ff}.message-meta{margin-bottom:9px}.translate-button{margin-left:auto;margin-top:0;border-radius:999px;background:#f8fafc}.shipping-card{max-height:92px;overflow:auto;padding:8px 10px;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff}.shipping-card strong{margin-bottom:4px;font-size:13px}.shipping-card p{margin:3px 0 0;font-size:12px;line-height:1.45}.shipping-card.inline{grid-column:2;align-self:start}.reply-side-panel{border-left:0;border-top:0;background:#fff;overflow:auto}.reply-composer{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);grid-template-rows:auto minmax(0,1fr) auto;gap:8px 12px;height:100%;min-height:0;padding:12px 18px 14px;background:#fff;align-items:start}.reply-head{grid-column:1 / -1;padding-bottom:2px}.reply-composer>.reply-textarea:not(.instruction){grid-column:1;grid-row:2 / 6;min-height:112px;height:100%;resize:none}.paste-hint{grid-column:1;grid-row:4;margin-top:-4px}.attachment-button,.reply-composer>.search-input,.reply-composer>.reply-textarea.instruction,.reply-composer>.warning,.reply-side-panel .actions,.draft-preview{grid-column:2}.attachment-button{min-height:36px}.reply-composer>.order-number-input,.reply-composer div>.order-number-input{width:100%;min-width:0;max-width:100%;font-size:14px;line-height:1.35;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;letter-spacing:0;overflow:hidden;text-overflow:ellipsis}.reply-composer>.reply-textarea.instruction{min-height:88px;resize:none}.reply-composer>.warning{margin:0;padding:9px 12px;font-size:12px}.reply-side-panel .actions{align-self:end;width:100%;grid-template-columns:1fr 1fr;gap:7px}.reply-side-panel .actions .send-action{grid-column:1 / -1;background:#059669}@media(min-width:1500px){.thread-workspace{grid-template-columns:minmax(0,1fr) 7px var(--reply-width, 360px);grid-template-rows:minmax(0,1fr)}.thread-workspace>.resize-handle.vertical{display:block}.thread-reading{border-right:0;border-bottom:0}.reply-side-panel{border-left:1px solid #e6edf5}.reply-composer{display:flex;flex-direction:column;height:100%;min-height:0;align-content:stretch}.reply-composer>.reply-textarea:not(.instruction){flex:1 1 360px;width:100%;min-height:280px;resize:none}.paste-hint{grid-column:auto;grid-row:auto;flex:0 0 auto}.reply-composer>.reply-textarea.instruction{flex:0 0 132px;min-height:132px;resize:none}.shipping-card.inline,.attachment-button,.reply-composer>.search-input,.reply-composer>.reply-textarea.instruction,.reply-side-panel .actions,.draft-preview{grid-column:auto;flex:0 0 auto}}.topbar-right{display:flex;align-items:center;gap:12px;margin-left:auto}.topbar-sync-btn{display:inline-flex;align-items:center;gap:6px;height:34px;border-radius:9px;background:#f0f4f8;color:#475569;padding:0 14px;font-size:13px;font-weight:700;border:1px solid #e2e8f0;transition:all .15s ease}.topbar-sync-btn:hover{background:#e2e8f0;color:#1e293b;border-color:#cbd5e1}.topbar-sync-btn:active{transform:scale(.98)}.topbar-sync-label{color:#94a3b8;font-size:11px;font-weight:600;margin-left:2px}.topbar-user-group{display:flex;align-items:center;gap:8px;padding:4px 12px 4px 4px;background:#f8fafc;border-radius:10px;border:1px solid #e8edf3}.topbar-user-avatar{width:30px;height:30px;border-radius:8px;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:800;flex-shrink:0}.topbar-user-info{display:flex;flex-direction:column;line-height:1.2}.topbar-user-name{font-size:12px;font-weight:700;color:#1e293b}.topbar-user-role{font-size:10px;color:#64748b;margin-top:1px}.topbar-logout{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:transparent;color:#94a3b8;border:1px solid transparent;transition:all .15s ease}.topbar-logout:hover{background:#fef2f2;color:#dc2626;border-color:#fecaca}.edit-inline{display:grid;gap:8px;margin-top:8px}.edit-inline textarea{min-height:80px;resize:vertical;font-family:inherit;line-height:1.6}.edit-inline-actions{display:flex;gap:8px}.encrypted-badge{display:inline-flex;align-items:center;background:#fef3c7;color:#92400e;font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;margin-left:8px}.encrypted-mail-hint{border:1px solid #fde68a;background:#fffbeb;color:#92400e;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700;line-height:1.5}.channel-tabs-compact{display:flex;gap:6px;border-radius:12px;background:#f1f5f9;padding:4px;margin-bottom:10px}.channel-tabs-compact button{flex:1;min-height:30px;border-radius:9px;background:transparent;color:#475569;padding:0 13px;font-size:13px;font-weight:700;text-align:center}.channel-tabs-compact button.active{background:#071126;color:#fff;box-shadow:0 4px 10px #07112629}.sync-strip{display:flex;align-items:center;gap:8px;min-height:32px;margin:0 0 10px}.sync-strip span{min-width:0;overflow:hidden;color:#64748b;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.search-result-meta{margin:-3px 2px 8px;color:#64748b;font-size:12px;font-weight:700;line-height:1.4}.search-result-meta.warn{color:#9a6400}.search-clear-button{display:grid;place-items:center;flex:0 0 auto;width:24px;height:24px;border-radius:8px;background:transparent;color:#8a9bb3;padding:0}.search-clear-button:hover{background:#eef4fb;color:#0f172a}.compact-action{min-height:30px!important;border-radius:10px!important;padding:0 10px!important;font-size:12px!important}.health-channel-list{display:grid;gap:8px;margin-top:14px}.health-channel-row{display:grid;grid-template-columns:minmax(0,1.3fr) auto auto auto;align-items:center;gap:10px;border:1px solid #dae2ec;border-radius:12px;background:#f8fbff;color:#475569;padding:10px 12px;font-size:13px}.health-channel-row span:first-child{min-width:0;overflow:hidden;color:#0f172a;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.login-page{display:grid;place-items:center;min-height:100vh;background:#eef3f8;padding:24px}.login-shell{display:grid;grid-template-columns:minmax(0,1.05fr) 420px;width:min(980px,100%);min-height:560px;border:1px solid #d8e2ef;border-radius:18px;background:#fff;box-shadow:0 22px 60px #0f172a1f;overflow:hidden}.login-hero{display:flex;flex-direction:column;justify-content:space-between;gap:30px;background:#071126;color:#fff;padding:42px}.login-brand{display:flex;align-items:center;gap:12px}.login-brand .brand-icon{width:42px;height:42px;background:#fff;color:#071126}.login-brand strong,.login-brand span{display:block}.login-brand strong{font-size:18px;line-height:1.2}.login-brand span{margin-top:4px;color:#a7b4c8;font-size:12px;font-weight:800}.login-copy{display:grid;gap:14px;max-width:520px}.login-copy h1{font-size:34px;line-height:1.15;color:#fff}.login-copy p{max-width:440px;color:#cbd5e1;font-size:15px;line-height:1.8}.login-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.login-feature-grid span{display:flex;align-items:center;gap:8px;min-height:38px;border:1px solid #334155;border-radius:10px;background:#111827;color:#dbeafe;padding:0 12px;font-size:13px;font-weight:900}.login-feature-grid svg{color:#63b3ed;flex:0 0 auto}.login-panel{display:flex;flex-direction:column;justify-content:center;gap:16px;width:100%;background:#fff;padding:44px 38px}.login-panel-head{display:grid;gap:8px;margin-bottom:8px}.login-panel-head>span{justify-self:start;min-height:24px;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#2563eb;padding:4px 10px;font-size:12px;font-weight:900}.login-panel h2{font-size:26px;line-height:1.2;color:#071126}.login-panel p{color:#64748b;font-size:13px;line-height:1.6}.login-field{display:grid;gap:7px;color:#475569;font-size:13px;font-weight:900}.login-field>div{display:flex;align-items:center;gap:9px;height:44px;border:1px solid #d8e2ef;border-radius:12px;background:#f8fbff;color:#64748b;padding:0 12px}.login-field>div:focus-within{border-color:#071126;background:#fff;box-shadow:0 0 0 3px #07112614}.login-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#071126;font-weight:700}.login-field input::placeholder{color:#94a3b8;font-weight:700}.login-error{border:1px solid #fecaca;border-radius:12px;background:#fff1f2;color:#b91c1c;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.45}.login-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:44px;border-radius:12px;background:#059669;color:#fff;font-size:15px;font-weight:900;box-shadow:0 10px 20px #05966924}.login-submit:hover{background:#047857}.login-submit:disabled{cursor:not-allowed;background:#94a3b8;box-shadow:none}.login-loading{display:grid;place-items:center;min-height:120px;width:min(360px,100%);border:1px solid #d8e2ef;border-radius:16px;background:#fff;color:#475569;box-shadow:0 18px 50px #0f172a18;font-weight:900}@media(max-width:860px){.login-page{place-items:start center;width:100vw;overflow-x:hidden;padding:14px}.login-shell{grid-template-columns:1fr;width:calc(100vw - 28px);max-width:calc(100vw - 28px);min-width:0;min-height:0;border-radius:14px}.login-hero,.login-panel{width:100%;min-width:0}.login-hero{padding:28px}.login-copy h1{font-size:28px}.login-copy h1,.login-copy p{overflow-wrap:anywhere}.login-panel{padding:28px}.login-field>div{min-width:0}.login-feature-grid{grid-template-columns:1fr}.login-feature-grid span{min-width:0}}.sidebar{display:flex;flex-direction:column}.sidebar-user{display:grid;gap:5px;margin-top:auto;border-top:1px solid #334155;padding-top:12px;color:#cbd5e1}.sidebar-user span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900}.sidebar-user small{color:#94a3b8;font-size:11px}.sidebar-user button{justify-self:start;border:1px solid #334155;border-radius:8px;background:transparent;color:#94a3b8;padding:5px 10px;font-size:12px;font-weight:800}.sidebar-user button:hover{background:#111827;color:#fff}.sidebar-collapsed .sidebar-user{display:none}.knowledge-page.read-only{grid-template-columns:1fr}.knowledge-page.read-only .knowledge-card-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.knowledge-page.read-only .knowledge-card{cursor:default}.error-panel pre{max-height:160px;overflow:auto;border:1px solid #dae2ec;border-radius:10px;background:#f8fbff;color:#475569;padding:10px;font-size:12px;white-space:pre-wrap}.knowledge-pro,.records-pro{height:calc(100vh - 96px);min-height:0}.knowledge-pro{display:grid;grid-template-columns:minmax(560px,1fr) 420px;gap:14px}.knowledge-pro.read-only{grid-template-columns:1fr}.knowledge-pro-main,.knowledge-editor-pro,.records-pro{border:1px solid #dae2ec;border-radius:16px;background:#fff;box-shadow:0 6px 22px #0f172a0d;min-height:0;overflow:auto;padding:18px}.knowledge-stats,.log-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.knowledge-stats button,.knowledge-stats div,.log-stats div{display:grid;gap:5px;min-height:68px;border:1px solid #e3ebf4;border-radius:13px;background:#fbfdff;color:#0f172a;padding:11px 12px;text-align:left}.knowledge-stats button.active{border-color:#071126;background:#071126;color:#fff}.knowledge-stats span,.log-stats span{color:#64748b;font-size:12px;font-weight:800}.knowledge-stats button.active span{color:#d6e2f0}.knowledge-stats strong,.log-stats strong{font-size:22px;line-height:1}.knowledge-stats .warn,.log-stats .warn{border-color:#fed7aa;background:#fff7ed}.knowledge-toolbar,.log-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 160px 140px auto;gap:8px;align-items:center;margin-bottom:12px}.knowledge-toolbar .search-box,.log-toolbar .search-box{margin:0;height:38px}.knowledge-list-pro{display:grid;align-content:start;gap:8px;min-height:0}.knowledge-list-item{display:grid;gap:8px;width:100%;border:1px solid #e3ebf4;border-radius:13px;background:#fff;color:#0f172a;padding:13px 14px;text-align:left}.knowledge-list-item:hover{border-color:#cbd7e6;background:#f8fbff}.knowledge-list-item.active{border-color:#071126;background:#071126;color:#fff}.knowledge-list-item.inactive{opacity:.68}.knowledge-list-item strong,.knowledge-list-item span{display:block}.knowledge-list-item span{color:#64748b;font-size:12px;font-weight:800;margin-top:4px}.knowledge-list-item.active span,.knowledge-list-item.active p{color:#d6e2f0}.knowledge-list-item p{color:#475569;font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.knowledge-keywords.compact{gap:5px}.knowledge-keywords.compact span{border-radius:999px;background:#eef4fb;color:#475569;padding:3px 7px;font-size:11px;font-weight:800}.knowledge-keywords.compact .danger{background:#fff1f2;color:#dc2626}.knowledge-editor-pro{display:grid;align-content:start;gap:12px}.knowledge-textarea{min-height:112px;background:#fbfdff;border-color:#dae2ec}.knowledge-preview{display:grid;gap:8px;border:1px solid #dbeafe;border-radius:13px;background:#f8fbff;padding:12px}.knowledge-preview strong{font-size:13px;color:#071126}.knowledge-preview p{max-height:160px;overflow:auto;color:#475569;font-size:13px;line-height:1.65;white-space:pre-wrap}.knowledge-admin-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px}.knowledge-match-box,.knowledge-history-box{display:grid;gap:8px;border:1px solid #e3ebf4;border-radius:13px;background:#fbfdff;padding:12px}.knowledge-match-box>strong,.knowledge-history-box>strong{font-size:13px;color:#071126}.knowledge-match-box textarea{min-height:74px;resize:vertical;line-height:1.5;padding:10px}.knowledge-match-results,.knowledge-history-list{display:grid;gap:7px;max-height:180px;overflow:auto}.knowledge-match-results>div,.knowledge-history-list>div{display:grid;gap:4px;border:1px solid #e3ebf4;border-radius:10px;background:#fff;padding:9px}.knowledge-match-results strong,.knowledge-history-list strong{font-size:13px;color:#0f172a}.knowledge-match-results span,.knowledge-history-list span,.knowledge-history-list p{color:#64748b;font-size:12px;line-height:1.45}.knowledge-history-list p{margin:0;white-space:pre-wrap}.knowledge-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border-top:1px solid #edf1f6;margin-top:2px;padding-top:12px}.knowledge-actions button{justify-content:center}.knowledge-actions .send-action{grid-column:1 / -1}.secondary-action.danger{border-color:#fecaca;color:#dc2626;background:#fff}.log-toolbar{grid-template-columns:minmax(260px,1fr) 160px 130px 130px}.member-activity{display:grid;gap:10px;border:1px solid #e3ebf4;border-radius:14px;background:#fbfdff;margin-bottom:12px;padding:12px}.member-activity-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.member-activity-head strong{color:#071126;font-size:15px}.member-activity-head span{color:#64748b;font-size:12px;font-weight:800}.member-activity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:9px}.member-card{display:grid;gap:10px;border:1px solid #e3ebf4;border-radius:13px;background:#fff;padding:12px}.member-card.warn{border-color:#fed7aa;background:#fffaf3}.member-card.disabled{opacity:.68}.member-card-head{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px}.user-avatar.small{width:32px;height:32px;border-radius:10px;font-size:13px}.member-card-head strong,.member-card-head span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-card-head strong{font-size:14px;color:#0f172a}.member-card-head span{margin-top:3px;color:#64748b;font-size:12px}.member-card-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.member-card-metrics span{display:inline-flex;align-items:center;justify-content:center;min-height:26px;border-radius:999px;background:#eef4fb;color:#475569;font-size:12px;font-weight:900;white-space:nowrap}.danger-text{color:#dc2626!important;background:#fff1f2!important}.member-card-foot{display:grid;gap:4px;color:#64748b;font-size:12px;line-height:1.45}.member-card-foot span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-monitor-list{display:grid;gap:8px;margin-top:14px}.sync-monitor-row{display:grid;grid-template-columns:160px 190px 70px 110px minmax(220px,1fr) 150px;gap:10px;align-items:center;min-height:48px;border:1px solid #e3ebf4;border-radius:12px;background:#fff;padding:10px 12px}.sync-monitor-row.failed{border-color:#fecaca;background:snow}.sync-monitor-row.warning{border-color:#fde68a;background:#fffdf5}.sync-monitor-row strong,.sync-monitor-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-monitor-row strong{font-size:13px;color:#0f172a}.sync-monitor-row span{color:#64748b;font-size:12px}.log-table-pro{display:grid;gap:7px}.log-table-head{display:grid;grid-template-columns:150px 150px 150px 82px minmax(0,1fr);gap:10px;min-height:36px;border:1px solid #e3ebf4;border-radius:11px;background:#f8fbff;color:#64748b;padding:0 12px;align-items:center;font-size:12px;font-weight:900}.log-row-pro{border:1px solid #e3ebf4;border-radius:12px;background:#fff;overflow:hidden}.log-row-pro.fail{border-color:#fecaca;background:snow}.log-row-pro summary{display:grid;grid-template-columns:150px 150px 150px 82px minmax(0,1fr);gap:10px;align-items:center;min-height:46px;padding:8px 12px;cursor:pointer;list-style:none}.log-row-pro summary::-webkit-details-marker{display:none}.log-row-pro summary span,.log-row-pro summary strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.log-row-pro summary span{color:#64748b;font-size:12px}.log-row-pro summary strong{font-size:13px;color:#0f172a}.log-row-pro pre{margin:0;border-top:1px solid #edf1f6;background:#f8fbff;color:#475569;padding:10px 12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap;overflow:auto}.compact-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;border-radius:11px;padding:0 12px;font-weight:800;white-space:nowrap}@media(max-width:1180px){.knowledge-pro{grid-template-columns:1fr;height:auto}.knowledge-toolbar,.log-toolbar,.knowledge-stats,.log-stats{grid-template-columns:1fr 1fr}.member-activity-head{display:grid}.sync-monitor-row{grid-template-columns:1fr}.log-table-head{display:none}.log-row-pro summary{grid-template-columns:1fr;gap:4px}.records-pro{height:auto}}.temporary-password-box{display:grid;gap:8px;border:1px solid #bbf7d0;border-radius:12px;background:#f0fdf4;padding:12px;color:#14532d}.temporary-password-box span{font-size:12px;font-weight:900;color:#047857}.temporary-password-box strong{min-width:0;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;color:#052e16}.temporary-password-box button{justify-self:start}.login-v2-page{display:grid;place-items:center;min-height:100vh;background:radial-gradient(circle at 14% 13%,#d9f5f1 0,#eefbf8 18%,transparent 36%),linear-gradient(135deg,#f5fcfb 0,#f8fbfc 45%,#fff);padding:24px;overflow:auto}.login-v2-shell{display:grid;grid-template-columns:minmax(0,1.32fr) 420px;width:min(980px,100%);min-height:560px;border:1px solid #d8e9ee;border-radius:18px;background:#fff;box-shadow:0 28px 74px #164c6330;overflow:hidden}.login-v2-hero{display:flex;flex-direction:column;justify-content:space-between;gap:34px;min-width:0;background:linear-gradient(135deg,#255ca8,#2382a2 48%,#18b9a5);color:#fff;padding:46px 42px}.login-v2-brand{display:flex;align-items:center;gap:13px;min-width:0}.login-v2-logo{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:14px;background:#fff;color:#18969b;font-size:22px;font-weight:950;box-shadow:0 12px 30px #0f4f751f}.login-v2-brand strong,.login-v2-brand span{display:block;min-width:0}.login-v2-brand strong{font-size:18px;line-height:1.15;color:#fff}.login-v2-brand span{margin-top:5px;color:#e8fbff;font-size:12px;font-weight:850}.login-v2-copy{display:grid;gap:16px;max-width:520px}.login-v2-copy>span{justify-self:start;min-height:27px;border:1px solid #bceefa80;border-radius:999px;background:#ffffff1f;color:#fff;padding:5px 12px;font-size:12px;font-weight:900;box-shadow:inset 0 0 0 1px #ffffff1c}.login-v2-copy h1{max-width:520px;color:#fff;font-size:36px;line-height:1.13;font-weight:950}.login-v2-copy p{max-width:470px;color:#ecfeff;font-size:15px;line-height:1.85;font-weight:700}.login-v2-copy h1,.login-v2-copy p{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.login-v2-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.login-v2-features div{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:42px;border:1px solid #d5ffff61;border-radius:10px;background:#ffffff1f;color:#fff;padding:0 12px;font-size:13px;font-weight:900;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.login-v2-features svg{flex:0 0 auto;color:#dff9ff}.login-v2-features span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.login-v2-panel{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:16px;min-width:0;background:#fff;padding:58px 38px}.login-v2-mark{display:grid;place-items:center;align-self:center;width:54px;height:54px;border-radius:15px;background:linear-gradient(135deg,#2868b3,#12b8a6);color:#fff;font-size:25px;font-weight:950;box-shadow:0 16px 34px #13a99724}.login-v2-head{display:grid;gap:9px;margin-bottom:10px;text-align:center}.login-v2-head>span{justify-self:start;min-height:25px;border:1px solid #dbeafe;border-radius:999px;background:#eff6ff;color:#2563eb;padding:5px 11px;font-size:12px;font-weight:900}.login-v2-head h2{color:#071126;font-size:26px;line-height:1.18;font-weight:950}.login-v2-head p{color:#7a8696;font-size:13px;line-height:1.6}.login-v2-field{display:grid;gap:7px;color:#475569;font-size:13px;font-weight:900}.login-v2-field>span{display:none}.login-v2-field>div{display:flex;align-items:center;gap:9px;height:40px;min-width:0;border:1px solid #d7e5ef;border-radius:12px;background:#fff;color:#64748b;padding:0 12px;box-shadow:0 2px #f5f8fb inset}.login-v2-field>div:focus-within{border-color:#18ad9d;background:#fff;box-shadow:0 0 0 3px #19bba817}.login-v2-field input{width:100%;min-width:0;border:0;outline:0;background:#eaf1fb;color:#071126;font-weight:800;padding:3px 6px}.login-v2-field input::placeholder{color:#94a3b8;font-weight:700}.login-v2-error{border:1px solid #fecaca;border-radius:12px;background:#fff1f2;color:#b91c1c;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.45}.login-v2-info{border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1d4ed8;padding:10px 12px;font-size:13px;font-weight:800;line-height:1.45}.login-v2-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:46px;border-radius:12px;background:#18aa98;color:#fff;font-size:15px;font-weight:950;box-shadow:0 16px 28px #13aa9930;letter-spacing:0}.login-v2-submit:hover{background:#119887}.login-v2-submit:disabled{cursor:not-allowed;background:#94a3b8;box-shadow:none}@media(max-width:880px){.login-v2-page{place-items:start center;width:100vw;padding:14px;overflow-x:hidden}.login-v2-shell{grid-template-columns:1fr;width:min(520px,calc(100vw - 28px));max-width:calc(100vw - 28px);min-width:0;min-height:0;border-radius:15px}.login-v2-hero{gap:26px;overflow:hidden;padding:28px}.login-v2-copy{max-width:100%}.login-v2-copy h1{font-size:28px}.login-v2-copy p{font-size:14px}.login-v2-features{grid-template-columns:1fr}.login-v2-panel{padding:28px}.login-v2-head h2{font-size:25px}}@media(max-width:420px){.login-v2-page{padding:10px}.login-v2-hero{gap:22px;padding:24px}.login-v2-panel{padding:24px}.login-v2-copy{gap:10px}.login-v2-copy h1{font-size:24px;line-height:1.22}.login-v2-copy p{font-size:13px;line-height:1.65}.login-v2-brand span{font-size:11px}.login-v2-features{gap:8px}.login-v2-features div{min-height:36px}.login-v2-field>div{height:43px}}.reply-head{justify-content:flex-start}.reply-head .text-button{flex:0 0 auto;font-size:12px;font-weight:800;padding:0 2px;white-space:nowrap}.reply-attachment-preview-list{display:grid;gap:7px;max-height:154px;overflow:auto;grid-column:2}.reply-attachment-preview{display:grid;grid-template-columns:44px minmax(0,1fr) 26px;align-items:center;gap:8px;min-height:50px;border:1px solid #dae2ec;border-radius:10px;background:#f8fbff;padding:6px}.reply-attachment-preview img{width:44px;height:38px;object-fit:cover;border-radius:7px;background:#fff;border:1px solid #e3e8f0}.reply-attachment-preview>svg{justify-self:center;color:#64748b}.reply-attachment-preview strong,.reply-attachment-preview span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-attachment-preview strong{font-size:12px;color:#0f172a}.reply-attachment-preview span{margin-top:2px;font-size:11px;color:#64748b}.reply-attachment-preview button{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#eef4fb;color:#64748b;padding:0}.reply-attachment-preview button:hover{background:#e2e8f0;color:#0f172a}@media(min-width:1500px){.reply-attachment-preview-list{grid-column:auto;flex:0 0 auto}}@media(max-width:1180px){.reply-attachment-preview-list{grid-column:auto}}.conversation-list-state{display:grid;place-items:center;min-height:96px;border:1px dashed #cfd8e5;border-radius:12px;background:#f8fbff;color:#64748b;font-size:13px;font-weight:800;text-align:center;padding:16px}.app-shell{grid-template-columns:256px minmax(0,1fr);background:#f3f9fb}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar{background:#fff;border-right:1px solid #dde8ef;color:#142238;padding:26px 20px;box-shadow:10px 0 30px #0f5d7d08}.brand{min-height:46px;margin-bottom:34px;gap:12px}.brand-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#1769a5,#13b7a4);color:#fff;box-shadow:0 12px 26px #13a9972b}.brand strong{color:#142238;font-size:19px;font-weight:950;line-height:1.1}.brand span{margin-top:5px;color:#4d647c;font-size:13px;font-weight:800}.sidebar-toggle{width:36px;height:32px;border-color:#d9e7f0;border-radius:10px;background:#f8fbfd;color:#64748b}.sidebar-toggle:hover{border-color:#bfece8;background:#edfdfa;color:#0f9b8d}.nav-list{gap:12px}.nav-list button{position:relative;min-height:48px;border-radius:14px;color:#27384f;padding:0 18px;font-size:15px;font-weight:850}.nav-list button:hover{background:#f2fbfa;color:#0b9487}.nav-list button.active{background:#e9fbf7;color:#0b9487;box-shadow:0 14px 28px #0aa89712}.nav-list button.active:before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:999px;background:#19bba8}.sidebar-collapsed .sidebar{padding:22px 14px}.sidebar-collapsed .brand{margin-bottom:26px}.sidebar-collapsed .nav-list button{min-height:48px;padding:0;justify-content:center}.main{height:100vh;overflow:hidden;background:linear-gradient(110deg,#eefdfa 0,#f6fbfd 42%,#eef7ff);padding:0}.topbar{min-height:88px;margin:0;padding:22px 30px;background:#fff;border-bottom:1px solid #e3edf4;box-shadow:0 1px #eef4f8}.topbar h1{color:#13233b;font-size:27px;font-weight:950;line-height:1.05}.topbar p{margin-top:7px;color:#40566f;font-size:13px;font-weight:750}.topbar-right{gap:12px}.topbar-sync-btn{height:38px;border-color:#d9e7f0;border-radius:12px;background:#fff;color:#40566f;padding:0 16px;box-shadow:0 8px 22px #0f5d7d0a}.topbar-sync-btn:hover{border-color:#bfece8;background:#f3fffd;color:#0b9487}.topbar-user-group{position:relative;height:38px;border-color:#d9e7f0;border-radius:999px;background:#fbfdff;padding:4px 16px 4px 10px;box-shadow:0 10px 26px #0f5d7d0c}.topbar-user-avatar{width:24px;height:24px;border-radius:999px;background:#fff;color:#142238;border:0;font-size:0}.topbar-user-avatar:before{content:"";width:14px;height:14px;border:2px solid #142238;border-radius:999px;border-bottom-color:transparent}.topbar-user-name{font-size:14px;color:#142238;font-weight:950}.topbar-user-role{position:static;display:inline-flex;align-items:center;justify-content:center;align-self:center;margin:0 0 0 4px;transform:none;border-radius:999px;background:#ecfdf5;color:#0d9488;padding:2px 8px;font-size:12px;font-weight:950;white-space:nowrap}.topbar-logout{width:36px;height:36px;border-radius:12px;background:#fff;color:#64748b;border-color:#d9e7f0}.topbar-logout:hover{background:#fff7ed;color:#ea580c;border-color:#fed7aa}.workbench,.knowledge-pro,.records-pro,.admin-layout,.settings-layout.friendly{height:calc(100vh - 148px);margin:30px;min-height:0}.workbench{gap:14px}.conversation-column,.thread-column{height:100%;max-height:100%}.conversation-column,.thread-column,.related-column,.detail-column,.panel-shell,.records-panel,.knowledge-pro-main,.knowledge-editor-pro,.admin-main-panel,.config-card,.settings-sidebar,.settings-detail{border-color:#d6e8ef;border-radius:18px;background:#fff;box-shadow:0 18px 44px #0f5d7d12}.summary-card{border-color:#d6e8ef;border-radius:16px;background:#fff;box-shadow:0 14px 34px #0f5d7d0c}.summary-card.active{border-color:#aeece3;background:#ecfbf8;color:#122238}.summary-card.active span{color:#0b9487}.channel-card-filter button.active,.channel-bar button.active,.platform-mini-switch button.active,.platform-mini-switch.compact button.active{background:#19a99a;color:#fff}.conversation-row.active{border-color:#19a99a;background:#eafbf8;color:#122238;box-shadow:0 10px 24px #13aa9918}.conversation-row.active .row-time,.conversation-row.active .row-meta,.conversation-row.active .row-title,.conversation-row.active .row-category{color:#40566f}.send-action{background:#18aa98;color:#fff}@media(max-width:1180px){.app-shell{grid-template-columns:1fr}.main{height:auto;min-height:100vh;overflow:auto}.topbar{padding:18px}.workbench,.knowledge-pro,.records-pro,.admin-layout,.settings-layout.friendly{height:auto;margin:16px}}.main{background:linear-gradient(105deg,#eefdfa 0,#f8fcfd 44%,#eef7ff)}.conversation-column,.thread-column,.knowledge-pro-main,.knowledge-editor-pro,.records-pro,.admin-main-panel,.config-card,.settings-sidebar,.settings-detail{border:1px solid #d6e8ef;border-radius:18px;background:#fff;box-shadow:0 18px 45px #0f5d7d12}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.summary-card{min-height:58px;border-radius:14px;padding:10px 12px}.summary-card.active{background:#ecfbf8;border-color:#9ee8df}.summary-card strong{font-size:22px}.channel-card-filter button,.platform-mini-switch.compact button{min-height:34px;border-radius:10px;background:#f2f7fb;color:#334155}.channel-card-filter button.active,.platform-mini-switch.compact button.active{background:#18aa98;color:#fff}.conversation-list{scrollbar-gutter:stable}.conversation-list::-webkit-scrollbar,.message-stream::-webkit-scrollbar,.settings-sidebar::-webkit-scrollbar,.settings-detail::-webkit-scrollbar,.records-pro::-webkit-scrollbar,.knowledge-pro-main::-webkit-scrollbar,.knowledge-editor-pro::-webkit-scrollbar{width:8px}.conversation-list::-webkit-scrollbar-thumb,.message-stream::-webkit-scrollbar-thumb,.settings-sidebar::-webkit-scrollbar-thumb,.settings-detail::-webkit-scrollbar-thumb,.records-pro::-webkit-scrollbar-thumb,.knowledge-pro-main::-webkit-scrollbar-thumb,.knowledge-editor-pro::-webkit-scrollbar-thumb{border-radius:999px;background:#c4d7e2}.empty-state,.conversation-list-state{border:1px dashed #cbdde8;background:#f8fcff;color:#66798d}.settings-layout.friendly{grid-template-columns:320px minmax(0,1fr);gap:18px}.settings-sidebar{padding:14px}.settings-sidebar .channel-bar.vertical{border:0;box-shadow:none;background:transparent;padding:0;margin:0 0 12px;gap:8px}.settings-sidebar .channel-bar.vertical button{justify-content:center;min-height:38px;border-radius:12px;background:#edf4f9;color:#334155;font-weight:900}.settings-sidebar .channel-bar.vertical button.active{background:#18aa98;color:#fff}.quick-add-card{gap:10px;margin-bottom:12px;padding:14px;border:1px solid #d8e7ef;border-radius:16px;background:#f8fcff}.settings-sidebar .setting-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:66px;margin-bottom:10px;border:1px solid #d8e7ef;border-radius:14px;background:#fbfdff;padding:12px;color:#13233b;text-align:left;box-shadow:0 8px 20px #0f5d7d0a}.settings-sidebar .setting-item.active{border-color:#13233b;background:#fff;box-shadow:0 12px 28px #0f172a12}.settings-sidebar .setting-item strong,.settings-sidebar .setting-item span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-sidebar .setting-item span{margin-top:4px;color:#64748b;font-size:12px}.settings-detail{padding:18px}.settings-detail .config-card.wide{min-height:100%;height:auto;padding:4px 2px 0;border:0;border-radius:0;box-shadow:none;overflow:visible}.section-title-row{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #e7eef5}.field-grid{gap:16px}.field-row>span{color:#42566f;font-size:13px;font-weight:900}.search-input,input.search-input,select.search-input,textarea.search-input{transition:border-color .15s ease,box-shadow .15s ease;width:100%;min-height:40px;border:1px solid #d5e3ed;border-radius:11px;outline:0;background:#fff;color:#13233b;padding:0 12px;box-shadow:0 1px #f5f8fb inset}textarea.search-input{padding:10px 12px}.search-input:focus,input.search-input:focus,select.search-input:focus,textarea.search-input:focus{border-color:#18aa98;box-shadow:0 0 0 3px #18aa9818}.switch-row{color:#334155}input[type=checkbox]{width:16px;height:16px;accent-color:#18aa98}.field-check{min-height:42px;border-radius:12px;background:#f8fcff}.state-pill.on,.role-pill.admin{background:#e9fbf7;color:#0b9487}.actions{justify-content:flex-end}.actions button,.secondary-action,.send-action{min-height:38px;border-radius:12px;padding:0 16px;font-weight:900}.secondary-action{border:1px solid #d5e3ed;background:#fff;color:#334155}.secondary-action:hover{border-color:#acd9d3;background:#f3fffd;color:#0b9487}.send-action{background:#18aa98;color:#fff;box-shadow:0 12px 24px #18aa9824}.send-action:hover{background:#119887}.admin-layout{grid-template-columns:minmax(0,1fr) 360px}.records-pro,.knowledge-pro-main,.knowledge-editor-pro,.admin-main-panel{padding:20px}@media(max-width:1180px){.workbench,.knowledge-pro,.records-pro,.admin-layout,.settings-layout.friendly{height:auto;margin:16px}.workbench,.settings-layout.friendly,.admin-layout{grid-template-columns:1fr}}.records-page-pro,.users-layout{height:calc(100vh - 146px);margin:28px 30px;min-height:0}.records-page-pro{display:block}.records-page-pro .records-panel.wide{width:100%;height:100%;overflow:auto;border:1px solid #d6e8ef;border-radius:18px;background:#fff;padding:20px;box-shadow:0 18px 45px #0f5d7d12}.users-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px}.users-layout .records-panel,.users-layout .detail-column,.knowledge-editor{min-height:0;overflow:auto;border:1px solid #d6e8ef;border-radius:18px;background:#fff;padding:20px;box-shadow:0 18px 45px #0f5d7d12}.knowledge-pro-main,.knowledge-editor{height:100%;min-height:0}.knowledge-editor{display:flex;flex-direction:column;gap:14px}.knowledge-list-pro,.log-table-body,.user-list{display:grid;gap:10px}.knowledge-list-pro{align-content:start;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:4px}.knowledge-pro-main{overflow:hidden}.knowledge-pro-main .section-title-row{align-items:flex-start}.knowledge-pro-main .section-title-row .send-action{flex:0 0 auto;min-width:104px;white-space:nowrap}.knowledge-toolbar{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(118px,.75fr) minmax(118px,.75fr) auto;gap:10px;min-width:0}.knowledge-toolbar .search-box{min-width:0;margin:0}.knowledge-toolbar .search-input{min-width:0}.knowledge-list-item{width:100%;min-width:0}.log-table-body{max-height:none}.log-row,.knowledge-list-item,.user-card{border:1px solid #d8e7ef;border-radius:14px;background:#fbfdff;box-shadow:0 6px 18px #0f5d7d0a}.log-row{display:grid;grid-template-columns:150px 130px 130px 72px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px}.log-row pre{min-width:0;margin:0;overflow:hidden;color:#475569;text-overflow:ellipsis;white-space:nowrap;font-family:inherit}.log-table-head{display:grid;grid-template-columns:150px 130px 130px 72px minmax(0,1fr);gap:10px;margin:12px 0 8px;color:#64748b;font-size:12px;font-weight:900}.member-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.member-stats-grid>div{border:1px solid #d8e7ef;border-radius:14px;background:#f8fcff;padding:12px}.member-stats-grid strong,.member-stats-grid span,.member-stats-grid small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-stats-grid span,.member-stats-grid small{margin-top:5px;color:#64748b;font-size:12px}.user-card{display:grid;grid-template-columns:minmax(0,1fr) 150px 64px auto auto;gap:10px;align-items:center;min-height:64px;padding:10px 12px}.user-card strong,.user-card span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-card span{color:#64748b;font-size:12px}.mini-btn{min-height:32px;border:1px solid #d5e3ed;border-radius:10px;background:#fff;color:#334155;padding:0 10px;font-size:12px;font-weight:900}.mini-btn:hover{border-color:#acd9d3;background:#f3fffd;color:#0b9487}@media(max-width:1180px){.records-page-pro,.users-layout{height:auto;margin:16px}.users-layout{grid-template-columns:1fr}.log-table-head{display:none}.log-row,.user-card{grid-template-columns:1fr}.member-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}:root{--erp-bg:#f4fbfd;--erp-panel:#ffffff;--erp-line:#d8e8ef;--erp-line-soft:#e8f1f5;--erp-text:#15243b;--erp-muted:#61758d;--erp-accent:#18aa98;--erp-accent-dark:#0b8f82;--erp-accent-soft:#e9fbf7;--erp-blue-soft:#eef8ff}body{color:var(--erp-text);background:var(--erp-bg)}.app-shell{background:linear-gradient(90deg,#f7fbfc 0,#f7fbfc 256px,transparent 256px),radial-gradient(circle at 30% 8%,#dff8f5 0,#eefaff 25%,transparent 46%),var(--erp-bg)}.main{padding:0;overflow:hidden}.topbar{min-height:92px;margin:0;padding:22px 30px 18px;border-bottom:1px solid var(--erp-line-soft);background:#fff}.topbar h1{color:var(--erp-text);font-size:28px;font-weight:950}.topbar p{color:var(--erp-muted);font-size:13px;font-weight:700}.topbar-right{min-width:0;gap:12px}.topbar-sync-btn{height:38px;border-radius:14px;border-color:#d9e8f0;background:#fff;color:#263852;box-shadow:0 8px 22px #0f5d7d0d}.topbar-sync-btn:hover{border-color:#9ee2db;background:#f2fffd;color:var(--erp-accent-dark)}.topbar-sync-label{max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7890a8}.topbar-user-group{height:38px;max-width:190px;border-color:#d9e8f0;border-radius:999px;padding:4px 12px 4px 5px;box-shadow:0 8px 22px #0f5d7d0d}.topbar-user-avatar{width:28px;height:28px;border-radius:999px;background:#f2fffd;color:var(--erp-accent-dark);border:1px solid #bfece8}.topbar-user-name,.topbar-user-role{max-width:124px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-logout{width:38px;height:38px;border-radius:13px;border-color:#d9e8f0;background:#fff;color:#43566f;box-shadow:0 8px 22px #0f5d7d0d}.topbar-logout:hover{border-color:#fecaca;background:#fff5f5;color:#dc2626}.toast{top:102px;right:30px;border-radius:14px;border:1px solid #c9efe9;background:#f2fffd;color:#0b756c;box-shadow:0 18px 42px #0f5d7d1a}.workbench,.knowledge-pro,.records-page-pro,.users-layout,.settings-layout.friendly{margin:28px 30px 20px;height:calc(100vh - 140px);min-height:0}.workbench{gap:12px}.conversation-column,.thread-column,.records-panel,.knowledge-pro-main,.knowledge-editor,.users-layout .detail-column,.settings-layout.friendly{border-color:var(--erp-line);border-radius:20px;background:#fff;box-shadow:0 18px 48px #0f5d7d12}.conversation-column{padding:12px}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.summary-card{min-height:62px;border-radius:15px;border-color:#dceaf1;background:#fbfdff;padding:11px;box-shadow:none}.summary-card span{color:#61758d;font-size:12px}.summary-card strong{margin-top:7px;color:var(--erp-text);font-size:24px}.summary-card.active{border-color:#bfece8;background:var(--erp-accent-soft);color:var(--erp-accent-dark)}.summary-card.active span,.summary-card.active strong{color:var(--erp-accent-dark)}.platform-mini-switch.compact{height:40px;border:1px solid var(--erp-line-soft);border-radius:14px;background:#f6fbfd;padding:4px}.platform-mini-switch.compact button{min-height:30px;border-radius:11px;background:transparent;color:#50657d}.platform-mini-switch.compact button.active{background:#fff;color:var(--erp-accent-dark);box-shadow:0 6px 16px #0f5d7d10}.search-box{height:38px;border-color:#d7e7ef;border-radius:12px;background:#fbfdff}.search-result-meta{margin:0 0 8px;min-height:20px;color:#7890a8;font-size:12px;font-weight:800}.search-result-meta.warn{color:#b45309}.channel-tabs-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px;border:0;background:transparent!important;padding:0}.channel-tabs-compact button{min-width:0;min-height:36px;border:1px solid #d7e7ef;border-radius:12px;background:#fbfdff;color:#43566f;padding:0 8px;font-size:12px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-tabs-compact button.active{border-color:#aee7df;background:#eafbf8;color:var(--erp-accent-dark)}.conversation-list{gap:8px;padding:2px 3px 8px 0;scrollbar-gutter:stable}.conversation-row{min-height:50px;border-color:#e0ebf2;border-radius:13px;background:#fbfdff;box-shadow:none}.conversation-row:hover{border-color:#bfece8;background:#f5fffd}.conversation-row.active{border-color:#18aa98;background:#e9fbf7;color:var(--erp-text);box-shadow:inset 3px 0 #18aa98}.conversation-row.active .row-time,.conversation-row.active .row-customer{color:var(--erp-text)}.row-customer{max-width:calc(100% - 112px);color:#20314a;font-size:14px;font-weight:900}.row-time{color:#7890a8;font-size:11px}.conversation-list-state,.empty-state{border:1px dashed #c7dbe7;border-radius:16px;background:#fbfdff;color:#66798d}.resize-handle{border-radius:999px;background:#dceaf1}.resize-handle:hover{background:#18aa98}.thread-column{overflow:hidden}.thread-workspace{grid-template-columns:minmax(0,1fr) 7px var(--reply-width,360px)}.thread-header{padding:14px 18px 12px}.thread-header strong{font-size:17px}.thread-status-line{flex-wrap:wrap;gap:8px}.thread-status-line span{max-width:260px;border:1px solid #dceaf1;border-radius:999px;background:#fbfdff;padding:4px 9px;color:#50657d}.message-stream{background:#f6fafc}.message-bubble{border-color:#dceaf1;border-radius:14px;box-shadow:0 8px 22px #0f5d7d0a}.message-bubble pre{margin:0;color:#17243a;font:inherit;line-height:1.72;white-space:pre-wrap;overflow-wrap:anywhere}.attachment-preview-item.image-preview{width:136px;max-width:136px}.attachment-preview-item.image-preview img{width:136px;height:102px;object-fit:cover;border-radius:12px}.reply-side-panel{background:#fbfdff}.reply-composer{gap:10px;padding:14px}.reply-head{display:flex;align-items:center;gap:8px}.reply-head strong{color:var(--erp-text);font-size:16px}.reply-head span{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;background:#eef8ff;color:#42617c;padding:0 9px;font-size:12px;font-weight:900}.reply-textarea{border-color:#cfe4ed;background:#fff;resize:vertical;scrollbar-gutter:stable}.reply-composer>.reply-textarea:not(.instruction){min-height:210px}.reply-textarea.instruction{min-height:112px}.attachment-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;border:1px solid #d7e7ef;border-radius:12px;background:#fff;color:#43566f;font-weight:900}.attachment-button:hover{border-color:#aee7df;background:#f2fffd;color:var(--erp-accent-dark)}.order-number-input{min-width:0;height:40px}.shipping-card.inline{border:1px solid #d7e7ef;border-radius:14px;background:#fff;padding:12px;color:#334155}.reply-composer .actions{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 -14px -14px;padding:12px 14px;background:#fff;border-top:1px solid var(--erp-line-soft)}.reply-composer .actions .send-action{grid-column:1 / -1}.reply-composer .actions button{justify-content:center;min-width:0;padding:0 10px}.knowledge-pro{grid-template-columns:minmax(560px,1fr) 410px;gap:18px}.knowledge-pro-main,.knowledge-editor{padding:20px}.knowledge-stats{gap:10px}.knowledge-stats button,.knowledge-stats div,.member-stats-grid>div{border-color:#dceaf1;border-radius:15px;background:#fbfdff}.knowledge-stats button.active{border-color:#aee7df;background:#eafbf8;color:var(--erp-accent-dark)}.knowledge-stats button.active span,.knowledge-stats button.active strong{color:var(--erp-accent-dark)}.knowledge-list-item.active{border-color:#18aa98;background:#e9fbf7;color:var(--erp-text)}.knowledge-list-item.active span,.knowledge-list-item.active p{color:#50657d}.knowledge-tags,.knowledge-keywords{display:flex;flex-wrap:wrap;gap:6px}.knowledge-tags span,.knowledge-keywords span{border-radius:999px;background:#edf6fb;color:#50657d;padding:3px 8px;font-size:11px;font-weight:900}.records-page-pro .records-panel.wide,.users-layout .records-panel,.users-layout .detail-column{border-radius:20px}.log-row{border-color:#dceaf1;background:#fbfdff}.log-row.failed{border-color:#fecaca;background:snow}.settings-layout.friendly{overflow:hidden}.settings-sidebar{overflow:auto;overflow-x:hidden;border-right:1px solid var(--erp-line-soft)}.settings-detail{min-height:0;overflow:auto;overflow-x:hidden}.records-panel.wide,.knowledge-pro-main,.knowledge-editor,.users-layout .records-panel,.users-layout .detail-column{overflow-x:hidden}.records-page-pro .knowledge-toolbar{grid-template-columns:minmax(220px,1fr) minmax(130px,170px) minmax(120px,150px) minmax(120px,150px)}.records-page-pro .knowledge-toolbar select{min-width:0}.users-layout .detail-column{align-content:start}.users-layout .detail-column>p{color:#61758d;font-size:13px;line-height:1.6;margin-top:6px}.users-layout .send-action.full{width:100%;justify-content:center}.knowledge-editor .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.knowledge-editor .actions .send-action{grid-column:1 / -1}.knowledge-editor .actions button{justify-content:center;min-width:0}.settings-sidebar .setting-item.active{border-color:#18aa98;box-shadow:inset 3px 0 #18aa98,0 10px 24px #0f5d7d10}.field-grid.single{grid-template-columns:1fr}.filter-textarea{min-height:92px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:#b7ccd9;background-clip:content-box}::-webkit-scrollbar-track{background:transparent}@media(max-width:980px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:relative;height:auto;padding:16px}.nav-list{grid-template-columns:repeat(5,minmax(0,1fr))}.nav-list button{justify-content:center;padding:0 8px}.nav-label{display:none}.topbar{padding:18px}.workbench,.knowledge-pro,.records-page-pro,.users-layout,.settings-layout.friendly{height:auto;margin:16px}.thread-workspace,.knowledge-pro,.users-layout,.settings-layout.friendly{grid-template-columns:1fr}.reply-composer .actions{position:static}}.settings-layout.friendly{grid-template-columns:300px 1fr;gap:0;overflow:hidden}.settings-sidebar{padding:16px;overflow:auto;border-right:1px solid var(--erp-line-soft)}.settings-sidebar .channel-bar.vertical{margin-bottom:16px}.settings-sidebar .channel-bar.vertical button{border-radius:10px;font-size:13px;min-height:40px}.settings-sidebar .setting-item{border-radius:10px;min-height:58px;padding:10px 12px;margin-bottom:8px}.settings-sidebar .setting-item strong{font-size:13px}.settings-sidebar .setting-item span{font-size:11px}.settings-detail{padding:24px;overflow:auto}.settings-detail .section-title-row{margin-bottom:16px}.settings-detail h3{font-size:18px;font-weight:800;color:var(--erp-text)}.settings-detail .field-grid{gap:14px}.settings-detail .field-row{display:grid;gap:6px}.settings-detail .field-row>span{font-size:12px;font-weight:700;color:#4a6278}.quick-add-card{border-radius:12px;padding:12px;margin-bottom:14px}.quick-add-card strong{font-size:13px;font-weight:800;display:block;margin-bottom:8px}.quick-add-card .search-input{margin-bottom:8px}.config-card{border:1px solid var(--erp-line);border-radius:14px;background:#fff;padding:20px}.config-card.wide{min-height:100%}.config-card .section-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.config-card .field-grid{display:grid;gap:12px}.field-check{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;background:#f8fcff;min-height:40px;font-size:13px}.switch-row{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.users-layout{display:grid;grid-template-columns:1fr 340px;gap:16px}.users-layout .records-panel{padding:20px;border:1px solid var(--erp-line);border-radius:14px;background:#fff;overflow:auto}.users-layout .detail-column{padding:20px;border:1px solid var(--erp-line);border-radius:14px;background:#fff;overflow:auto;align-content:start}.user-list{display:grid;gap:8px}.user-card{display:grid;grid-template-columns:1fr auto auto auto;gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--erp-line);border-radius:10px;background:#fbfdff}.user-card:hover{border-color:#b8d8e8;background:#f5fafc}.user-card>div:first-child{min-width:0}.user-card>div:first-child strong{display:block;font-size:14px;font-weight:700;color:var(--erp-text)}.user-card>div:first-child span{display:block;font-size:12px;color:#64748b;margin-top:2px}.user-card .compact-select{min-width:120px;height:32px;font-size:12px;border-radius:8px;border:1px solid var(--erp-line);padding:0 8px}.user-status-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700}.user-status-badge.active{background:#e6f7f3;color:#0b9487}.user-status-badge.inactive{background:#fef2f2;color:#dc2626}.users-layout .detail-column h3{font-size:16px;font-weight:800;margin-bottom:4px}.users-layout .detail-column>p{font-size:12px;color:#64748b;margin-bottom:14px}.users-layout .send-action.full{width:100%;margin-top:8px}.knowledge-pro{display:grid;grid-template-columns:1fr 400px;gap:16px}.knowledge-pro-main,.knowledge-editor-pro{padding:20px;overflow:auto;border:1px solid var(--erp-line);border-radius:14px;background:#fff}.knowledge-toolbar{display:grid;grid-template-columns:1fr 140px 140px auto;gap:8px;margin-bottom:12px}.knowledge-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}.knowledge-stats button,.knowledge-stats div{display:grid;gap:4px;min-height:58px;border:1px solid var(--erp-line);border-radius:10px;background:#fbfdff;padding:10px 12px;text-align:left;cursor:pointer}.knowledge-stats button.active{border-color:var(--erp-accent);background:var(--erp-accent-soft)}.knowledge-stats span{font-size:11px;font-weight:700;color:#64748b}.knowledge-stats button.active span{color:var(--erp-accent-dark)}.knowledge-stats strong{font-size:20px;line-height:1}.knowledge-list-pro{display:grid;gap:8px;align-content:start;overflow:auto;max-height:calc(100vh - 340px)}.knowledge-list-item{padding:12px 14px;border-radius:10px;border:1px solid var(--erp-line);background:#fbfdff;text-align:left;cursor:pointer}.knowledge-list-item:hover{border-color:#b8d8e8;background:#f5fafc}.knowledge-list-item.active{border-color:var(--erp-accent);background:var(--erp-accent-soft)}.knowledge-list-item strong{display:block;font-size:13px;font-weight:700}.knowledge-list-item span{display:block;font-size:11px;color:#64748b;margin-top:3px}.knowledge-list-item p{font-size:12px;color:#475569;margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.records-page-pro{height:calc(100vh - 140px);margin:28px 30px}.records-page-pro .records-panel.wide{border:1px solid var(--erp-line);border-radius:14px;background:#fff;padding:20px;overflow:auto;height:100%}.member-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:16px}.member-stats-grid>div{border:1px solid var(--erp-line);border-radius:10px;background:#fbfdff;padding:12px}.member-stats-grid strong{display:block;font-size:14px;font-weight:700}.member-stats-grid span{display:block;font-size:11px;color:#64748b;margin-top:3px}.member-stats-grid small{display:block;font-size:11px;color:#94a3b8;margin-top:3px}.log-table-head{display:grid;grid-template-columns:140px 120px 120px 72px 1fr;gap:10px;padding:8px 14px;margin:12px 0 8px;border-radius:8px;background:#f5f9fb;color:#4a6278;font-size:12px;font-weight:700}.log-table-body{display:grid;gap:6px;max-height:calc(100vh - 400px);overflow:auto}.log-row{display:grid;grid-template-columns:140px 120px 120px 72px 1fr;gap:10px;align-items:center;padding:10px 14px;border:1px solid var(--erp-line);border-radius:10px;background:#fbfdff}.log-row:hover{border-color:#b8d8e8;background:#f5fafc}.log-row.failed{border-color:#fecaca;background:#fff8f8}.log-row pre{font-size:12px;color:#475569;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.log-row span{font-size:12px;color:var(--erp-text)}.log-row span:first-child{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#64748b}.section-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--erp-line-soft)}.section-title-row h3{font-size:16px;font-weight:800}.section-title-row p{font-size:12px;color:#64748b;margin-top:2px}.search-input,input.search-input,select.search-input{height:36px;font-size:13px;border-radius:8px}textarea.search-input{min-height:80px}.mini-btn{height:30px;border-radius:8px;font-size:12px;font-weight:700;padding:0 10px}.secondary-action{height:36px;border-radius:8px;font-size:13px;font-weight:700;padding:0 14px}.send-action{height:36px;border-radius:8px;font-size:13px;font-weight:700;padding:0 16px}.state-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700}.state-pill.on{background:#e6f7f3;color:#0b9487}.state-pill.off{background:#fef2f2;color:#dc2626}.workbench{margin:20px 28px;height:calc(100vh - 130px)}.conversation-column{padding:12px;overflow:auto}.thread-column{overflow:auto}.topbar{padding:18px 28px 14px;min-height:76px}.login-v2-hero{padding:40px 32px}.login-v2-copy h1{font-size:30px}.reply-composer .instruction{min-height:72px;max-height:180px;resize:vertical}.reply-composer .draft-area textarea{min-height:180px;max-height:400px;resize:vertical}.conversation-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px 12px;border-radius:10px;border:1px solid transparent;transition:all .12s ease}.conversation-row.active{background:var(--erp-accent-soft);border-color:var(--erp-accent)}.conversation-row.is-sent{opacity:.6}.row-customer{font-size:13px;font-weight:700;color:var(--erp-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-time{font-size:11px;color:#94a3b8;white-space:nowrap}.priority-badge{font-size:10px;font-weight:700;padding:2px 6px;border-radius:999px;white-space:nowrap}.thread-reading{padding:16px;overflow:auto;flex:1}.thread-header{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid var(--erp-line-soft)}.thread-header strong{font-size:16px;font-weight:800;color:var(--erp-text)}.thread-status-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.thread-status-line span{font-size:11px;font-weight:700;color:#64748b;padding:2px 8px;border-radius:999px;background:#f0f5f8}.reply-composer{padding:14px 16px;border-top:1px solid var(--erp-line-soft);display:grid;gap:10px}.reply-composer .actions{display:flex;gap:8px;flex-wrap:wrap}.empty-state{display:grid;place-items:center;gap:10px;padding:40px;color:#94a3b8}.empty-state-icon{color:#94a3b8;opacity:.35;flex-shrink:0}.empty-state-title{margin:0;color:#64748b;font-size:14px;font-weight:700;line-height:1.5;text-align:center}.empty-state-description{max-width:280px;margin:0;color:#94a3b8;font-size:12px;line-height:1.6;text-align:center}.conversation-list{overflow-y:auto;display:grid;gap:4px}@keyframes pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.syncing{animation:pulse 1s ease-in-out infinite}.loading-overlay{display:grid;place-items:center;padding:40px;color:var(--erp-muted);font-size:14px}@media(max-width:1200px){.knowledge-pro{grid-template-columns:1fr 360px}.users-layout{grid-template-columns:1fr 300px}}@media(max-width:980px){.knowledge-pro,.users-layout,.settings-layout.friendly{grid-template-columns:1fr}.settings-sidebar{border-right:0;border-bottom:1px solid var(--erp-line-soft)}}.field-row{display:grid;gap:6px}.field-row>span{font-size:12px;font-weight:700;color:#4a6278}.meta-ours{color:#0b9487;font-weight:800}.meta-customer{color:#1e40af;font-weight:800}.message-bubble.outbound{border-left:3px solid #0b9487;background:#f0faf9}.message-bubble:not(.outbound){border-left:3px solid #3b82f6;background:#fff}.message-bubble pre{border:0;background:transparent;padding:0;border-radius:0;box-shadow:none}@keyframes toastIn{0%{transform:translate(20px);opacity:0}to{transform:translate(0);opacity:1}}.conversation-list::-webkit-scrollbar{width:6px}.translate-button{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border:1px solid #c7d2de;border-radius:999px;background:#fff;color:#475569;font-size:11px;font-weight:700;cursor:pointer;transition:all .12s}.translate-button:hover{background:#f0faf9;border-color:#aee7df;color:#0b9487}.encrypted-mail-hint{padding:10px 14px;border:1px solid #fde68a;border-radius:10px;background:#fffbeb;color:#92400e;font-size:12px;line-height:1.5;font-weight:600}.conversation-list-state{padding:24px 16px;text-align:center;color:#94a3b8;font-size:13px;font-weight:600}.search-clear-button{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer;transition:all .12s}.search-clear-button:hover{background:#f0f5f8;color:#475569}.conversation-list::-webkit-scrollbar-thumb{background:#c8d8e4;border-radius:999px}.channel-count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:999px;font-size:10px;font-weight:800;padding:0 5px}.channel-count-badge.has-count{background:#0b9487;color:#fff}.channel-count-badge.zero{background:#e2e8f0;color:#64748b}.topbar-right{gap:10px}.topbar-sync-btn{height:38px;min-width:86px;justify-content:center;gap:7px;border:1px solid #d8e5ee;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fbfd);color:#24364b;padding:0 18px;font-size:14px;font-weight:900;box-shadow:0 8px 20px #0f5d7d12}.topbar-sync-btn svg{color:#7b8da3;opacity:1}.topbar-sync-btn:hover{border-color:#b6e7e1;background:#f3fffd;color:#0b9487;box-shadow:0 10px 24px #0d94881c}.topbar-sync-btn:hover svg{color:#0b9487}.topbar-sync-label{display:none}.topbar-user-group{height:38px;gap:9px;border:1px solid #d8e5ee;border-radius:19px;background:linear-gradient(180deg,#fff,#f9fcfd);padding:4px 15px 4px 7px;box-shadow:0 8px 20px #0f5d7d12}.topbar-user-avatar{position:relative;width:28px;height:28px;border:1px solid #b8eee8;border-radius:999px;background:#ecfdfb;color:transparent;font-size:0;box-shadow:inset 0 0 0 3px #f8fffe}.topbar-user-avatar:before{content:"";position:absolute;left:50%;top:50%;width:14px;height:14px;border:3px solid #12324a;border-bottom-color:transparent;border-radius:999px;transform:translate(-50%,-45%)}.topbar-user-info{display:grid;grid-template-columns:auto;gap:2px;line-height:1.05}.topbar-user-name{color:#142238;font-size:14px;font-weight:950}.topbar-user-role{justify-self:start;margin:0;border-radius:999px;background:#e9fbf4;color:#059669;padding:2px 7px;font-size:11px;font-weight:900;white-space:nowrap}.topbar-logout{width:38px;height:38px;border:1px solid #d8e5ee;border-radius:16px;background:linear-gradient(180deg,#fff,#f8fbfd);color:#64748b;box-shadow:0 8px 20px #0f5d7d12}.topbar-logout:hover{border-color:#fed7aa;background:#fff7ed;color:#ea580c;box-shadow:0 10px 24px #ea580c1a}.channel-config-grid{align-items:start;column-gap:18px;row-gap:14px}.channel-config-grid .field-section-title{grid-column:1 / -1;display:flex;align-items:center;gap:8px;min-height:30px;margin:10px 0 -2px;padding-top:14px;border-top:1px solid #edf3f7;color:#0f766e;font-size:13px;font-weight:950;letter-spacing:0}.channel-config-grid .field-section-title.top{margin-top:0;padding-top:0;border-top:0}.channel-config-grid .field-section-title:before{content:"";display:block;width:6px;height:16px;border-radius:999px;background:#0d9488}.channel-config-grid .field-row{min-width:0}.channel-config-grid .search-input{min-height:42px}.fixed-protocol-value{display:flex;align-items:center;min-height:42px;width:100%;border:1px solid #d5e3ed;border-radius:11px;background:#f8fbff;color:#1f344d;padding:0 12px;font-size:13px;font-weight:900}.channel-config-grid .field-check{align-self:end;min-height:42px;border-color:#d9e7f0;border-radius:12px;background:#f8fbff;color:#1f344d;padding:0 14px}.switch-row input[type=checkbox]{appearance:none;position:relative;flex:0 0 auto;width:18px;height:18px;border:1px solid #b9cad8;border-radius:5px;background:#fff;cursor:pointer}.switch-row input[type=checkbox]:checked{border-color:#0d9488;background:#0d9488}.switch-row input[type=checkbox]:checked:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.switch-row input[type=checkbox]:focus-visible{outline:3px solid rgba(13,148,136,.18);outline-offset:2px}.reply-composer .actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:8px;border-top:1px solid var(--erp-line-soft);margin-top:2px}.reply-composer .actions button{flex:0 0 auto}.reply-head{margin-bottom:4px}.reply-head span{margin-left:auto}.reply-textarea:focus{border-color:var(--erp-accent);box-shadow:0 0 0 3px #18aa981a}.reply-composer .instruction-label{font-size:12px;font-weight:700;color:#4a6278;margin-bottom:2px}.message-stream{display:grid;gap:10px}.message-bubble{border-radius:12px}.message-bubble.outbound{background:#f0faf9;border-color:#a7f3d0}.message-bubble:not(.outbound){background:#fff;border-color:#bfdbfe}.message-meta{display:flex;align-items:center;gap:8px;margin-bottom:6px}.conversation-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:10px 12px;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:all .12s ease}.conversation-row:hover{background:#f5fafc;border-color:#d8e7ef}.conversation-row.active{background:#e6f7f3;border-color:#18aa98;border-left:3px solid #18aa98}.conversation-row.is-sent{opacity:.55}.summary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin-bottom:10px}.summary-card{min-height:56px;border-radius:12px;padding:8px 10px;border:1px solid #dceaf1;background:#fff;text-align:left}.summary-card span{font-size:12px;color:#64748b;font-weight:700}.summary-card strong{font-size:22px;margin-top:4px;line-height:1}.summary-card.active{background:#e6f7f3;border-color:#18aa98}.thread-header{padding:12px 16px 10px;border-bottom:1px solid var(--erp-line-soft)}.thread-header strong{font-size:15px;font-weight:800}.thread-status-line{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.thread-status-line span{font-size:11px;font-weight:600;color:#4a6278;padding:2px 8px;border-radius:999px;background:#f0f5f8;border:1px solid #e2e8f0}.order-number-row>span:first-child{font-size:12px;font-weight:700;color:#4a6278;white-space:nowrap}.thread-workspace{grid-template-columns:minmax(0,1fr) 7px minmax(390px,var(--reply-width,420px))}.reply-side-panel{overflow:hidden;background:#fff}.reply-composer{display:flex!important;flex-direction:column;align-items:stretch;gap:14px;height:100%;min-width:0;min-height:0;overflow-y:auto;padding:16px 18px}.reply-head,.encrypted-mail-hint,.reply-composer .instruction-label,.reply-attachment-preview-list,.attachment-button,.order-number-row,.shipping-card.inline,.reply-side-panel .actions{flex:0 0 auto;width:100%;min-width:0}.reply-composer>.reply-textarea{display:block;width:100%!important;min-width:0;box-sizing:border-box;writing-mode:horizontal-tb}.reply-composer>.reply-textarea:not(.instruction){flex:1 1 260px;min-height:240px;max-height:none;resize:vertical}.reply-composer>.reply-textarea.instruction{flex:0 0 128px;min-height:128px;max-height:220px;resize:vertical}.order-number-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.order-number-row .search-input{width:100%;min-width:0}.reply-side-panel .actions{display:flex!important;flex-direction:column;gap:6px;position:static!important;bottom:auto;z-index:auto;border-top:1px solid var(--erp-line-soft);margin:2px 0 0;padding:10px 0 0;background:transparent;box-shadow:none}.reply-side-panel .actions .tool-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.reply-side-panel .actions .tool-row button{flex:0 0 auto;justify-content:center;min-height:32px;padding:0 10px;white-space:nowrap;font-size:13px}.reply-side-panel .actions .tool-row .search-input{flex:0 0 auto;width:110px;height:32px;font-size:13px;padding:0 8px}.reply-side-panel .actions .send-action{width:100%;flex:0 0 auto;justify-content:center;min-height:36px;padding:0 10px;white-space:nowrap}@media(max-width:1499px){.thread-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(390px,42vh)}.thread-workspace>.resize-handle.vertical{display:none}.reply-side-panel{border-left:0;border-top:1px solid #e6edf5}.reply-composer>.reply-textarea:not(.instruction){min-height:180px}}.furniture-login-modal{width:min(420px,calc(100vw - 32px));max-width:420px;padding:0;overflow:hidden}.furniture-login-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e6edf5;padding:14px 16px}.furniture-login-head h3{margin:0;color:#071126;font-size:16px}.furniture-login-head button{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f8fbff;color:#64748b}.furniture-login-head button:hover{background:#eef4fb;color:#0f172a}.furniture-login-body{display:grid;justify-items:center;gap:12px;padding:18px 18px 16px}.furniture-dd-login{display:grid;place-items:center;width:300px;min-height:300px;border:1px solid #e3ebf4;border-radius:12px;background:#fff;overflow:hidden}.furniture-dd-frame{width:300px;height:300px;border:0;background:#fff}.login-qr-loading{display:grid;justify-items:center;gap:10px;color:#64748b;font-size:13px;font-weight:800;text-align:center}.mini-spinner{width:18px;height:18px;border:2px solid #dce4ef;border-top-color:#059669;border-radius:999px;animation:spin 1s linear infinite}.furniture-login-body p{max-width:320px;margin:0;color:#64748b;font-size:12px;line-height:1.6;text-align:center}.furniture-login-fallback{display:flex;width:100%;gap:8px}.furniture-login-fallback input{flex:1;min-width:0}.furniture-login-fallback button{flex:0 0 auto}.settings-stack{display:grid;gap:14px}.api-note-grid{margin-top:0}.advanced-settings{margin-top:14px;border:1px solid var(--erp-line-soft);border-radius:14px;background:#f8fcff;overflow:hidden}.advanced-settings summary{cursor:pointer;padding:12px 14px;color:#42566f;font-size:13px;font-weight:900;list-style-position:inside}.advanced-settings[open] summary{border-bottom:1px solid var(--erp-line-soft);background:#fff}.advanced-settings .field-grid{padding:14px}.secret-input-wrap{position:relative;display:flex;align-items:center;min-width:0}.secret-input-wrap .search-input{width:100%;padding-right:44px}.secret-toggle{position:absolute;right:8px;display:grid;place-items:center;width:30px;height:30px;border:1px solid transparent;border-radius:10px;background:#f1f7fb;color:#4f657c;transition:background .15s ease,border-color .15s ease,color .15s ease,opacity .15s ease}.secret-toggle:hover:not(:disabled){border-color:#c6dce7;background:#fff;color:#0f766e}.secret-toggle:disabled{cursor:not-allowed;opacity:.45}.settings-layout.friendly{grid-template-columns:minmax(300px,340px) minmax(0,1fr);min-height:0;overflow:hidden}.settings-sidebar{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;min-height:0;overflow:hidden;padding:14px}.settings-nav-block{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;border:1px solid #d8e7ef;border-radius:16px;background:#f7fbfd;box-shadow:inset 0 1px #fff}.settings-nav-block button{display:grid;gap:3px;justify-items:start;min-width:0;min-height:54px;border:1px solid transparent;border-radius:12px;background:transparent;color:#334155;padding:9px 11px;text-align:left;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease}.settings-nav-block button:hover{border-color:#c9dce7;background:#fff}.settings-nav-block button.active{border-color:#18aa98;background:#18aa98;color:#fff;box-shadow:0 10px 22px #18aa982e}.settings-nav-block strong,.settings-nav-block span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-nav-block strong{font-size:13px;font-weight:950}.settings-nav-block span{color:currentColor;font-size:11px;font-weight:800;opacity:.72}.settings-side-panel{display:grid;align-content:start;gap:10px;min-height:0;overflow:auto;padding:2px 4px 2px 0}.settings-side-panel .quick-add-card,.settings-side-panel .setting-item{margin-bottom:0}.settings-side-panel::-webkit-scrollbar{width:8px}.settings-side-panel::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#c4d7e2;background-clip:content-box}.settings-detail{min-width:0}.settings-detail .config-card.wide>.actions{position:sticky;bottom:0;z-index:2;margin:16px -2px 0;padding:12px 0 0;background:linear-gradient(180deg,#ffffffc2,#fff 34%)}.settings-detail .config-card.ai-provider-card{min-height:0;height:auto}.settings-detail .config-card.ai-provider-card>.section-title-row{margin-bottom:18px;padding-bottom:14px}.settings-detail .config-card.ai-provider-card>.actions{position:static;margin:18px 0 0;padding-top:14px;background:transparent}@media(max-width:1180px){.settings-layout.friendly{grid-template-columns:1fr;overflow:visible}.settings-sidebar{grid-template-rows:auto;overflow:visible}.settings-side-panel{max-height:360px}}@media(max-width:720px){.settings-nav-block{grid-template-columns:1fr}}.shop-map-list{grid-column:1 / -1;display:grid;gap:10px;margin-top:-2px}.shop-map-help{grid-column:1 / -1;display:flex;align-items:center;gap:10px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#315c8a;padding:10px 12px;font-size:13px;line-height:1.45}.shop-map-help strong{flex:0 0 auto;color:#1d4ed8;font-size:13px}.shop-map-help span{min-width:0}.shop-map-row{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr);align-items:center;gap:12px;border:1px solid #dbe7f3;border-radius:12px;background:#fbfdff;padding:10px 12px}.shop-map-row>span{min-width:0;display:grid;gap:3px}.shop-map-row strong{overflow:hidden;color:#0f172a;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.shop-map-row em{color:#64748b;font-size:12px;font-style:normal;font-weight:800}.shop-map-control{display:grid;gap:5px;min-width:0}.shop-map-control small{color:#94a3b8;font-size:12px;font-weight:800;line-height:1.2}.shop-map-control small.saved{color:#059669}.shop-map-control small.pending{color:#d97706}@media(max-width:720px){.shop-map-row{grid-template-columns:1fr}}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-dialog{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;max-height:90vh;overflow:auto}.confirm-overlay{background:#0f172a47;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.confirm-dialog{width:min(420px,calc(100vw - 32px));display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:20px;border:1px solid #dbe7f3;border-radius:16px;box-shadow:0 22px 60px #0f172a2e}.confirm-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e6fffb;color:#0f9f95}.confirm-content{min-width:0}.confirm-content h3{margin:0;color:#0f172a;font-size:17px;line-height:1.35}.confirm-body{display:grid;gap:8px;margin-top:10px}.confirm-body p{margin:0;color:#475569;font-size:13px;line-height:1.65;white-space:pre-line}.confirm-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.confirm-actions button{min-width:82px;justify-content:center}.password-input-wrap{position:relative;display:flex;align-items:center}.password-input-wrap input{width:100%;padding-right:42px}.password-input-wrap button{position:absolute;right:8px;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:transparent;color:#64748b}.password-input-wrap button:hover{background:#eef4fb;color:#0f9f95}.temporary-password-card{display:grid;gap:10px;margin-top:12px;padding:12px;border:1px solid #bfece8;border-radius:12px;background:#f3fffd}.temporary-password-card strong,.temporary-password-card span{display:block}.temporary-password-card strong{color:#0f172a;font-size:13px}.temporary-password-card span{margin-top:3px;color:#64748b;font-size:12px;line-height:1.5}.temporary-password-card code{display:block;min-width:0;padding:9px 10px;border-radius:9px;background:#fff;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;overflow-wrap:anywhere}.user-password-code{display:inline-flex;max-width:280px;margin-top:7px;padding:4px 8px;border:1px solid #bfece8;border-radius:8px;background:#f3fffd;color:#0f766e;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:700;overflow-wrap:anywhere;white-space:normal}.user-password-code.empty{border-color:#e2e8f0;background:#f8fafc;color:#94a3b8}.row-inquiry-no{display:block;min-width:0;font-size:14px;font-weight:900;color:#20314a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.users-layout{grid-template-columns:minmax(620px,1fr) 320px;gap:18px}.users-layout .records-panel,.users-layout .detail-column{border-color:#d9e8ef;border-radius:16px;box-shadow:0 14px 34px #0f5d7d14}.users-layout .records-panel{padding:18px 20px}.users-layout .detail-column{display:flex;flex-direction:column;gap:14px;padding:18px}.users-layout .section-title-row{align-items:center;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #e6eef5}.users-layout .section-title-row h3,.users-layout .detail-column h3{color:#09203f;font-size:18px;font-weight:900}.users-layout .section-title-row p,.users-layout .detail-column>p{color:#5f738b;font-size:12px;line-height:1.5}.users-layout .detail-column>p{margin:-8px 0 0}.user-list{gap:10px}.users-layout .user-card{display:grid;grid-template-columns:42px 190px minmax(260px,1fr) auto auto;align-items:center;gap:12px;min-height:78px;padding:12px 14px;border-color:#dce9f1;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 6px 18px #0f172a0a}.users-layout .user-card:hover{border-color:#afd9e6;background:#f9fdff}.users-layout .user-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e8fbf8;color:#08756d;font-size:16px;font-weight:900;box-shadow:inset 0 0 0 1px #c9f1ea}.user-main-info{display:grid;gap:4px;min-width:0}.user-main-info strong{color:#10233f;font-size:14px;font-weight:900}.user-main-info span{color:#64748b;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.users-layout .user-password-code{max-width:100%;padding:0;border:0;background:transparent;font-size:12px;line-height:1.35}.user-credential-box{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;padding:8px 10px;border:1px solid #e0edf3;border-radius:12px;background:#f8fcfd}.user-credential-box:has(.user-password-field){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.user-credential-box div{display:grid;gap:4px;min-width:0}.user-credential-box span{color:#7b8da3;font-size:11px;font-weight:900}.user-credential-box code{min-width:0;color:#10233f;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-credential-box .user-password-code{color:#078f82}.user-credential-box .user-password-code.empty{color:#94a3b8;font-family:inherit;font-weight:800}.user-password-field{position:relative;padding-right:46px}.user-password-field .inline-copy-btn{position:absolute;right:0;bottom:-1px;height:22px;padding:0 8px;border:1px solid #cfe2ea;border-radius:999px;background:#fff;color:#08756d;font-size:11px;font-weight:900}.user-card-controls{display:flex;align-items:center;gap:10px;min-width:0}.users-layout .user-card .compact-select{width:128px;height:36px;border-radius:10px;background:#fff;color:#10233f;font-weight:800}.users-layout .user-status-badge{min-width:48px;justify-content:center;padding:5px 10px;font-size:12px}.user-card-actions{display:flex;align-items:center;gap:8px}.users-layout .mini-btn{min-height:34px;border:1px solid #d8e5ef;border-radius:10px;background:#fff;color:#27445f;padding:0 12px;font-size:12px;font-weight:800}.users-layout .mini-btn:hover{border-color:#9ed8cf;background:#f1fffc;color:#08756d}.users-layout .form-grid.single{display:grid!important;grid-template-columns:1fr;gap:13px!important;margin-top:0}.users-layout .field-row{gap:7px}.users-layout .field-row>span{color:#27445f;font-size:12px;font-weight:900}.users-layout .search-input{min-height:40px;border-color:#d8e5ef;border-radius:10px;background:#fff}.users-layout .temporary-password-card{gap:9px;margin-top:0;border-color:#bdece6;border-radius:14px;background:linear-gradient(180deg,#f0fffc,#f7fffd);box-shadow:inset 0 0 0 1px #ffffffb3}.users-layout .temporary-password-card code{border:1px solid #d9eee9;font-size:12px}.users-layout .temporary-password-card .secondary-action{justify-content:center;min-height:36px;border-radius:10px;font-weight:900}.users-layout .send-action.full{min-height:42px;margin-top:2px;border-radius:11px;box-shadow:0 10px 20px #05966929}@media(max-width:1180px){.users-layout{grid-template-columns:1fr}.users-layout .detail-column{max-width:none}}@media(max-width:900px){.users-layout .user-card{grid-template-columns:42px minmax(0,1fr)}.user-credential-box{grid-column:2;grid-template-columns:1fr;width:100%}.user-card-controls,.user-card-actions{grid-column:2;justify-content:flex-start;flex-wrap:wrap}}.row-meta-line{display:flex;align-items:center;gap:6px;justify-self:end;white-space:nowrap}.conversation-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;row-gap:4px;column-gap:8px}.conversation-row .row-inquiry-no{grid-column:1;grid-row:1}.conversation-row .row-meta-line{grid-column:2;grid-row:1}.conversation-row .row-customer{grid-column:1;grid-row:1;max-width:100%;min-width:0;color:#20314a;font-size:14px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-row>.row-time{display:none}.conversation-row.active .row-inquiry-no{color:#12312d}.conversation-row.active .row-customer,.conversation-row.active .row-meta-line .row-time{color:#40566f}.conversation-column{border-color:#dbeaf1;background:#fff;box-shadow:0 16px 36px #0f5d7d14}.summary-grid{gap:10px}.summary-card{min-height:64px;border-radius:14px;border-color:#e2eaf2;background:#fff;box-shadow:0 10px 24px #0f172a0a;padding:13px 15px}.summary-card span{color:#58708d;font-size:12px;font-weight:800}.summary-card strong{margin-top:6px;color:#122238;font-size:24px;line-height:1}.summary-card.active{border-color:#22b8a5;background:#eafbf8;color:#122238;box-shadow:inset 0 0 0 1px #22b8a514}.summary-card.active span,.summary-card.active strong{color:#078f82}.summary-card.pending{border-color:#bfeee7;background:#effcf9}.summary-card.pending span{color:#315d58}.summary-card.pending strong{color:#0a8f82}.summary-card.sent{border-color:#d6e8fb;background:#f5faff}.summary-card.sent span{color:#40566f}.summary-card.sent strong{color:#122238}.summary-card.pending.active{border-color:#6ed9cc;background:#e7faf6}.summary-card.sent.active{border-color:#a9cdec;background:#edf6ff}.platform-mini-switch.compact{height:48px;border:1px solid #e0ebf2;border-radius:13px;background:#f7fbfd;padding:5px;gap:5px}.platform-mini-switch.compact button{min-height:36px;border-radius:10px;background:transparent;color:#40566f;font-size:13px;font-weight:900}.platform-mini-switch.compact button.active{background:#fff;color:#079083;box-shadow:0 6px 16px #0f172a14}.conversation-column .search-box{height:40px;border-color:#d8e7ef;border-radius:12px;background:#fff;color:#7f95ad;margin:10px 0 12px;padding:0 13px}.conversation-column .search-box input{color:#122238;font-size:14px}.channel-tabs-compact{display:grid;grid-template-columns:1fr;gap:6px;background:transparent;padding:0;margin-bottom:10px}.channel-tabs-compact button{min-height:36px;border:1px solid transparent;border-radius:8px;background:#fff;color:#334155;font-size:13px;font-weight:850;box-shadow:none}.channel-tabs-compact button.active{border-color:#bdece6;background:#eefcf9;color:#078f82;box-shadow:none}.channel-tabs-compact .mail-folder-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:0 10px;text-align:left}.channel-tabs-compact .mail-folder-row:hover{border-color:#d8e7ef;background:#f8fbfd}.mail-folder-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;color:#0f766e;background:transparent}.mail-folder-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-folder-page{grid-column:1 / -1;display:grid;gap:8px}.channel-folder-page-head{display:grid;grid-template-columns:30px minmax(0,1fr);gap:6px;align-items:center;margin-bottom:4px}.channel-tabs-compact .folder-back-button{display:grid;place-items:center;width:30px;min-height:30px;border:1px solid transparent;border-radius:7px;background:#fff;color:#64748b;box-shadow:none}.channel-tabs-compact .folder-back-button:hover{border-color:#bcd7e5;background:#f7fbfd;color:#0f766e}.folder-page-title{display:flex;align-items:center;gap:8px;min-width:0;min-height:30px;border:0;border-radius:0;background:transparent;color:#334155;padding:0;font-size:13px;font-weight:900}.folder-page-title span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-folder-children{display:grid;grid-template-columns:1fr;gap:6px}.conversation-list{gap:8px;padding-right:5px}.conversation-row{min-height:58px;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;border:1px solid transparent;border-radius:13px;background:#fbfdff;box-shadow:0 1px 2px #0f172a0a;padding:11px 14px}.conversation-row:hover{border-color:#cfe4ee;background:#fff}.conversation-row.active{border-color:#aee9e2;background:#effcf9;color:#122238;box-shadow:inset 3px 0 #18aa98}.conversation-row .row-customer{color:#17263d;font-size:15px;font-weight:900}.conversation-row .row-meta-line{gap:8px}.conversation-row .row-time{color:#60738f;font-size:12px;font-weight:800}.conversation-row.active .row-customer,.conversation-row.active .row-time{color:#17344f}.priority-badge{border-radius:999px;padding:2px 8px;font-size:11px;font-weight:900}.translate-all-button{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;font-size:12px;border:1px solid var(--erp-line, #d6dce5);border-radius:6px;background:#fff;color:var(--erp-text, #1a2332);cursor:pointer;margin-left:auto;white-space:nowrap}.translate-all-button:hover:not(:disabled){background:var(--erp-surface, #f4f7fa);border-color:var(--erp-accent, #2cb5a0)}.translate-all-button:disabled{opacity:.5;cursor:not-allowed}.thread-header{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:12px 18px 10px;border-bottom:1px solid var(--erp-line-soft, #e2e8f0);background:#fff}.thread-header strong{font-size:15px;font-weight:800;color:var(--erp-text, #1e293b);margin:0;line-height:1.2}.thread-header .translate-all-button{margin-left:auto}.thread-status-line{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.thread-status-line span{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:#475569;padding:2px 10px;border-radius:999px;background:#f1f5f9;border:1px solid #e2e8f0;white-space:nowrap}.thread-status-line a.product-link{color:#0d9488;text-decoration:none;font-weight:700}.thread-status-line a.product-link:hover{text-decoration:underline}.reply-composer{display:flex!important;flex-direction:column;gap:10px;height:100%;min-height:0;overflow-y:auto;padding:14px 16px}.reply-composer .instruction-label{font-size:11px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}.reply-composer .reply-textarea{width:100%!important;min-width:0;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6;resize:vertical;background:#fafbfc;transition:border-color .15s}.reply-composer .reply-textarea:focus{outline:none;border-color:#0d9488;background:#fff}.reply-composer .reply-textarea:not(.instruction){flex:1 1 240px;min-height:200px}.reply-composer .reply-textarea.instruction{flex:0 0 100px;min-height:80px;max-height:200px}.template-picker-row{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.template-picker-row .search-input{flex:1;min-width:0;height:32px;border:1px solid #e2e8f0;border-radius:6px;padding:0 10px;font-size:13px;background:#fff}.template-picker-row .secondary-action{flex:0 0 auto;height:32px;min-height:32px!important;border-radius:6px!important;padding:0 12px!important}.order-number-row{display:flex;align-items:center;gap:8px}.order-number-row>span:first-child{font-size:12px;font-weight:700;color:#475569;white-space:nowrap;flex-shrink:0}.order-number-row .search-input{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;height:32px;border:1px solid #e2e8f0;border-radius:6px;padding:0 10px}.reply-side-panel .actions{display:flex!important;flex-direction:column;gap:6px;border-top:1px solid var(--erp-line-soft, #e2e8f0);padding:10px 0 0;margin-top:4px}.reply-side-panel .actions .send-action{width:100%;min-height:36px;border-radius:8px;background:#0d9488;color:#fff;font-weight:700;font-size:13px;transition:background .15s}.reply-side-panel .actions .send-action:hover{background:#0f766e}.message-stream{padding:16px 18px;background:#f6f8fb;overflow-y:auto}.message-bubble{max-width:820px;border-radius:12px;padding:12px 14px;box-shadow:0 1px 4px #0000000a;margin-bottom:12px}.message-bubble pre{margin:0;font-size:13px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.message-meta{display:flex;align-items:center;gap:8px;margin-bottom:8px}.message-meta .meta-customer{font-weight:700;color:#0f172a;font-size:12px}.message-meta .meta-ours{font-weight:700;color:#0d9488;font-size:12px}.message-translation{margin-top:10px;padding:10px 14px;border:1px solid #d1fae5;border-radius:10px;background:#ecfdf5;font-size:13px;line-height:1.65;color:#065f46;white-space:pre-wrap}.message-translation:before{content:"中文翻译";display:block;font-size:11px;font-weight:800;color:#059669;margin-bottom:4px}.settings-layout.friendly{grid-template-columns:322px minmax(0,1fr);gap:18px}.settings-layout.friendly .settings-sidebar,.settings-layout.friendly .settings-detail{border-color:#d7e7ef;border-radius:18px;box-shadow:0 16px 38px #0f5d7d14}.settings-layout.friendly .settings-sidebar{gap:14px;padding:14px;background:linear-gradient(180deg,#fff,#fbfdff)}.settings-layout.friendly .settings-nav-block{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:8px;border-color:#dbeaf2;border-radius:17px;background:#f6fbfd;box-shadow:inset 0 1px #fff}.settings-layout.friendly .settings-nav-block button{min-height:66px;border-radius:14px;padding:11px 12px;color:#21364f}.settings-layout.friendly .settings-nav-block button:hover{border-color:#bcdce7;background:#fff;box-shadow:0 8px 18px #0f172a0d}.settings-layout.friendly .settings-nav-block button.active{border-color:#20aa99;background:linear-gradient(135deg,#20b5a3,#149a8b);color:#fff;box-shadow:0 12px 24px #149a8b33}.settings-layout.friendly .settings-nav-block strong{font-size:13px;line-height:1.25}.settings-layout.friendly .settings-nav-block span{font-size:11px;line-height:1.25;opacity:.74}.settings-side-panel{gap:11px;padding:0 3px 0 0}.settings-side-panel .quick-add-card{gap:11px;padding:14px;border-color:#d9e8ef;border-radius:15px;background:#fff;box-shadow:0 8px 20px #0f172a0a}.settings-side-panel .quick-add-card strong{color:#08213f;font-size:14px;font-weight:950}.settings-side-panel .quick-add-card .search-input{min-height:40px;border-color:#d8e6ef;border-radius:11px;background:#fbfdff;color:#10233f;font-size:13px}.settings-side-panel .quick-add-card .secondary-action{min-height:40px;justify-content:center;border-color:#d8e6ef;border-radius:11px;background:#fff;color:#10233f;font-weight:900}.settings-side-panel .quick-add-card .secondary-action:hover{border-color:#96d8cf;background:#effcf9;color:#078f82}.settings-side-panel .setting-item{min-height:58px;border-color:#e0ebf2;border-radius:14px;background:#fff;padding:11px 12px;box-shadow:0 1px 2px #0f172a08}.settings-side-panel .setting-item:hover{border-color:#bddde8;background:#fbfdff}.settings-side-panel .setting-item.active{border-color:#aee8e0;background:#effcf9;box-shadow:inset 3px 0 #18aa98}.settings-side-panel .setting-item strong{color:#10233f;font-size:13px;font-weight:950}.settings-side-panel .setting-item span{font-size:11px}.settings-layout.friendly .settings-detail{background:#fff}.system-rules-editor{margin:14px 18px 18px;border:1px solid #dbeaf2;border-radius:14px;background:#f8fcfd;overflow:hidden}.system-rules-editor summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none}.system-rules-editor summary::-webkit-details-marker{display:none}.system-rules-editor summary div{display:grid;gap:3px;min-width:0}.system-rules-editor summary strong{color:#08756d;font-size:13px;font-weight:950}.system-rules-editor summary span{color:#52697f;font-size:12px;line-height:1.5}.system-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px solid #e2eef5;padding:14px}.system-rule-card{display:grid;align-content:start;gap:10px;min-width:0;border:1px solid #dbeaf2;border-radius:13px;background:#fff;padding:12px}.system-rule-card.wide{grid-column:1 / -1}.system-rule-card .filter-textarea{min-height:82px}@media(max-width:900px){.system-rule-grid{grid-template-columns:1fr}}@media(max-width:1180px){.settings-layout.friendly{grid-template-columns:1fr}}.user-store-assign{grid-column:1 / -1;display:grid;gap:10px;margin-top:2px;padding:14px 16px 12px;border-top:1px solid #e6eef5;background:#f8fcff;border-radius:12px}.store-assign-title{font-size:12px;font-weight:800;color:#64748b;margin:0}.store-assign-list{display:grid;gap:8px}.store-assign-item{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:36px;padding:0 2px;font-size:13px;color:#10233f;cursor:pointer}.store-assign-item input[type=checkbox]{width:16px;height:16px;accent-color:#0f766e}.store-assign-item span:first-of-type{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.store-platform-tag{font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px;background:#e8f3fb;color:#4b5563}.shipping-card.inline{max-height:260px;overflow:auto}.shipping-result-body{display:grid;gap:10px}.shipping-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shipping-info-chip{display:grid;gap:4px;min-width:0;border:1px solid #dbeaf2;border-radius:10px;background:#fff;padding:8px 10px}.shipping-info-chip span,.shipping-package-card span,.shipping-result-line span{color:#64748b;font-size:11px;font-weight:800}.shipping-info-chip strong,.shipping-package-card strong,.shipping-result-line strong{min-width:0;color:#0f172a;font-size:13px;line-height:1.35;word-break:break-word}.shipping-package-list{display:grid;gap:8px}.shipping-package-card{display:grid;gap:6px;border:1px solid #d7e7ef;border-radius:12px;background:#f8fcff;padding:9px 10px}.shipping-package-card>div:not(.shipping-package-title){display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;gap:8px}.shipping-package-title{color:#0f766e;font-size:12px;font-weight:900}.shipping-result-line{display:grid;gap:3px;border:1px solid #dbeaf2;border-radius:10px;background:#fff;padding:8px 10px}.shipping-result-line em{color:#64748b;font-size:12px;font-style:normal}.email-body-view{display:grid;gap:14px;color:#0f172a;font-size:14px;line-height:1.86;overflow-wrap:anywhere}.email-body-segment{display:grid;gap:4px;min-width:0}.email-body-segment p{margin:0;padding:0;white-space:pre-wrap;font-size:14px;line-height:1.86;word-break:normal;overflow-wrap:anywhere}.email-body-segment.text+.email-body-segment.text{margin-top:2px}.email-body-segment.quote{margin-top:2px;border:1px solid #dbeafe;border-left:3px solid #cfe0ff;border-radius:10px;background:#f8fbff;color:#334155;overflow:hidden}.email-body-segment.meta{border:1px solid #e2e8f0;border-radius:10px;background:#f1f5f9;padding:9px 12px;color:#475569;font-size:13px;line-height:1.65}.email-body-segment.meta p{white-space:normal;font-size:13px;line-height:1.65}.message-bubble .email-body-view{max-width:100%}.email-inline-image{display:inline-flex;align-items:center;justify-content:center;max-width:min(420px,100%);margin:4px 0;border:1px solid #dbe5ef;border-radius:10px;background:#fff;overflow:hidden;padding:0;cursor:zoom-in}.email-inline-image:hover{border-color:#9cc7df;box-shadow:0 6px 18px #0f172a14}.email-inline-image img{display:block;max-width:100%;max-height:320px;object-fit:contain;background:#f8fafc}.email-image-preview-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:#0f172abd;padding:26px}.email-image-preview-shell{position:relative;display:grid;place-items:center;width:min(1180px,94vw);height:min(820px,88vh);border-radius:18px;background:#f8fafcf0;box-shadow:0 24px 80px #00000057;overflow:hidden}.email-image-preview-shell img{display:block;max-width:100%;max-height:100%;object-fit:contain;background:#eef2f7}.email-image-preview-close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:38px;height:38px;border-radius:999px;background:#0f172ab8;color:#fff;box-shadow:0 8px 24px #0f172a2e}.email-image-preview-close:hover,.email-image-preview-nav:hover{background:#071126}.email-image-preview-nav{position:absolute;top:50%;z-index:2;display:grid;place-items:center;width:44px;height:56px;border-radius:14px;background:#0f172a9e;color:#fff;transform:translateY(-50%);box-shadow:0 8px 24px #0f172a2e}.email-image-preview-nav.previous{left:14px}.email-image-preview-nav.next{right:14px}.email-image-preview-caption{position:absolute;left:50%;bottom:14px;display:flex;align-items:center;gap:12px;max-width:calc(100% - 32px);min-height:38px;border-radius:999px;background:#0f172ac7;color:#fff;padding:0 14px;transform:translate(-50%);box-shadow:0 8px 24px #0f172a2e}.email-image-preview-caption span{min-width:0;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}.email-image-preview-caption strong{flex:0 0 auto;font-size:13px}.email-body-segment.quote summary{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:8px 11px;cursor:pointer;list-style:none;text-align:left}.email-body-segment.quote summary::-webkit-details-marker{display:none}.local-email-history-summary{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-width:0;border:0;background:transparent;color:inherit;padding:8px 11px;cursor:pointer;list-style:none;text-align:left}.email-body-segment.quote summary:after,.local-email-history-summary:after{content:"展开";margin-left:auto;flex:0 0 auto;color:#64748b;font-size:12px;font-weight:800}.email-body-segment.quote[open] summary:after{content:"收起"}.local-email-history-row.open .local-email-history-summary:after{content:"收起"}.local-email-history-summary:after{justify-self:end;grid-column:4;margin-left:8px}.email-segment-owner{flex:0 0 auto;border-radius:999px;background:#e2e8f0;color:#475569;padding:2px 8px;font-size:11px;font-weight:900;line-height:1.4}.email-quote-time{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:12px;font-weight:800}.email-quote-content{display:grid;gap:4px;border-top:1px solid #e2e8f0;padding:10px 12px}.message-bubble .email-body-segment.quote.ours{border-color:#a7f3d0;border-left-color:#0b9487;background:#f0faf9}.message-bubble .email-body-segment.quote.ours .email-segment-owner{background:#ccfbf1;color:#0f766e}.message-bubble .email-body-segment.quote.customer{border-color:#bfdbfe;border-left-color:#3b82f6;background:#fff}.message-bubble .email-body-segment.quote.customer .email-segment-owner{background:#dbeafe;color:#1d4ed8}.local-email-stream{display:flex;flex-direction:column;align-items:stretch;gap:8px}.local-email-stream>.message-bubble,.local-email-stream>.local-email-history-row{flex:0 0 auto}.local-email-stream .message-bubble{width:min(820px,100%);max-width:min(820px,100%);justify-self:stretch}.local-email-stream .message-bubble .email-body-segment.quote,.local-email-history-body .email-body-segment.quote{display:none}.local-email-history-row{display:block;width:min(820px,100%);max-width:min(820px,100%);min-height:46px;height:auto;justify-self:stretch;margin:0;border:1px solid #dbeafe;border-left:3px solid #cfe0ff;border-radius:10px;overflow:hidden}.local-email-history-row.open{height:auto;min-height:max-content;overflow:visible}.local-email-history-row>.local-email-history-summary{display:grid!important;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;min-height:46px;padding:8px 14px}.local-email-history-row.ours{border-color:#a7f3d0;border-left-color:#0b9487;background:#f0faf9}.local-email-history-row.ours .email-segment-owner{background:#ccfbf1;color:#0f766e}.local-email-history-row.customer{border-color:#bfdbfe;border-left-color:#3b82f6;background:#fff}.local-email-history-row.customer .email-segment-owner{background:#dbeafe;color:#1d4ed8}.local-email-history-row summary,.local-email-history-summary{min-height:43px}.local-email-history-body{display:grid;gap:12px;width:100%;min-width:0;max-width:100%;height:auto;border-top:1px solid #e5edf5;background:#fff;padding:12px 14px;overflow:visible}.local-email-history-body .email-body-view,.local-email-history-body .email-body-segment{width:100%;min-width:0;max-width:100%;overflow:visible}.local-email-history-body .email-body-segment p{max-width:100%;font-size:14px;line-height:1.86;white-space:pre-wrap;word-break:break-all;overflow-wrap:anywhere;line-break:anywhere}.local-email-history-row.ours .local-email-history-body{background:#fbfffd}.email-body-gap{display:block;height:8px}.email-body-divider{display:block;height:1px;margin:8px 0;border-top:1px dashed #cbd5e1}.email-body-divider.subtle{margin:10px 0 8px;border-top-color:#d7e1ea}.reply-composer{overflow-y:auto;scroll-padding-bottom:16px}.reply-composer>.reply-textarea{resize:vertical!important;overflow-y:auto;max-height:none!important;align-self:start;flex-shrink:0;max-width:100%}.reply-composer>.reply-textarea:not(.instruction){flex:0 0 auto!important;height:clamp(210px,30vh,350px);min-height:190px;max-height:none}.reply-composer>.reply-textarea.instruction{flex:0 0 auto!important;height:clamp(104px,14vh,170px);min-height:96px;max-height:none}.reply-side-panel .actions{position:static!important;background:transparent!important;margin-top:4px!important;padding-top:8px!important;padding-bottom:0!important;box-shadow:none!important}@media(min-width:1500px){.reply-composer{gap:8px;padding:12px 16px}.reply-composer>.reply-textarea:not(.instruction){height:clamp(210px,calc((100vh - 430px)*.8),380px);min-height:205px;max-height:none}.reply-composer>.reply-textarea.instruction{height:clamp(92px,calc((100vh - 430px)*.36),180px);min-height:88px;max-height:none}.reply-side-panel .actions .send-action{min-height:34px}}@media(max-width:1499px){.thread-workspace{grid-template-rows:minmax(0,1fr) minmax(370px,44vh)}.reply-composer{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,.82fr);grid-template-rows:auto auto minmax(0,1fr) auto auto auto;align-items:start;gap:7px 12px;padding:10px 16px 12px}.reply-head,.encrypted-mail-hint{grid-column:1 / -1}.reply-composer .draft-label{grid-column:1;grid-row:2}.reply-composer>.reply-textarea:not(.instruction){grid-column:1;grid-row:3 / span 6;height:clamp(160px,24vh,240px);min-height:150px;max-height:none}.attachment-button{grid-column:2;grid-row:2}.reply-attachment-preview-list{grid-column:2;grid-row:3}.reply-composer .feedback-label{grid-column:2;grid-row:4}.reply-composer>.reply-textarea.instruction{grid-column:2;grid-row:5;height:clamp(78px,10vh,120px);min-height:76px;max-height:none}.order-number-row,.shipping-card.inline,.reply-side-panel .actions{grid-column:2;gap:5px;padding-top:6px!important}.reply-side-panel .actions .tool-row{gap:5px}.reply-side-panel .actions .tool-row button{min-height:30px;padding:0 9px;font-size:12px}.reply-side-panel .actions .send-action{min-height:34px}}.channel-tabs-compact{gap:3px;margin:8px 0;padding:0 2px;border:0;border-radius:0;box-shadow:none}.channel-tabs-compact button{border-radius:8px;font-weight:800;transition:background .14s ease,color .14s ease,border-color .14s ease}.channel-tabs-compact .mail-folder-row{position:relative;min-height:36px;grid-template-columns:22px minmax(0,1fr) auto;gap:7px;border:1px solid transparent;background:transparent;color:#334155;padding:0 8px}.channel-tabs-compact .mail-folder-row.folder-parent{grid-template-columns:22px minmax(0,1fr) auto 16px}.channel-tabs-compact .mail-folder-row:hover{border-color:transparent;background:#f4faf9;color:#123044}.channel-tabs-compact .mail-folder-row.active{border-color:transparent;background:#e9f8f6;color:#087f73}.channel-tabs-compact .mail-folder-row.active:before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:3px;border-radius:999px;background:#0d9488}.mail-folder-icon{width:22px;height:22px;color:#5f7a91}.mail-folder-row.active .mail-folder-icon,.mail-folder-row:hover .mail-folder-icon{color:#0d9488}.mail-folder-name{color:inherit;font-size:13px;line-height:1.25}.folder-enter-icon{justify-self:end;color:#9aaabe}.mail-folder-row:hover .folder-enter-icon{color:#0d9488}.channel-count-badge{min-width:24px;height:20px;border-radius:999px;background:#edf4f7;color:#64748b;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}.channel-count-badge.has-count{background:#dff7f2;color:#087f73}.channel-count-badge.zero{color:#9aaabe}.channel-folder-page{gap:5px}.channel-folder-page-head{grid-template-columns:28px minmax(0,1fr);gap:7px;min-height:34px;margin-bottom:2px;padding:0 2px}.channel-tabs-compact .folder-back-button{width:28px;min-height:28px;border-radius:8px;background:transparent}.channel-tabs-compact .folder-back-button:hover{border-color:transparent;background:#eef7f6}.folder-page-title{min-height:28px;gap:7px;color:#10233f}.folder-page-title svg{color:#0d9488}.channel-folder-children{gap:3px;padding-left:12px;border-left:1px solid #e3edf3;margin-left:14px}.conversation-list-state{min-height:58px;border:0;border-radius:10px;background:#f8fbfd;color:#7b8fa5;font-weight:800;padding:18px 12px}.conversation-list-state.subtle{min-height:42px;background:transparent;color:#8fa1b4;font-size:12px}.conversation-list-more{display:grid;gap:8px;justify-items:center;margin-top:2px;padding:10px 8px 12px;color:#7b8fa5;font-size:12px;font-weight:800;text-align:center}.load-more-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;border:1px solid #dbe7f0;border-radius:9px;background:#fff;color:#365067;padding:0 12px;font-size:12px;font-weight:900;box-shadow:0 1px 2px #0f172a08}.load-more-button:hover:not(:disabled){border-color:#b8c9d9;background:#f8fbff}.load-more-button:disabled{cursor:wait;opacity:.64}.conversation-list.service-folder-list{padding-left:29px;padding-top:4px}.conversation-list:not(.service-folder-list){padding-left:2px}.conversation-row{grid-template-columns:minmax(58px,1fr) 82px 28px;align-items:center;min-height:48px;gap:6px;padding:8px 10px;border-color:#e8eff5;border-radius:10px;box-shadow:none}.conversation-row:hover{background:#f8fbff;border-color:#cfe0ea}.conversation-row.active{border-color:#0d9488;background:#effcf9;color:#10233f;box-shadow:inset 3px 0 #0d9488}.row-main{display:grid;gap:5px;min-width:0}.row-topline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.conversation-row .row-customer{min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#132842;font-size:13px;font-weight:850}.conversation-row .row-time{display:inline-block;position:static;justify-self:end;margin:0;min-width:82px;color:#53677f;font-size:12px;font-weight:800;text-align:right;white-space:nowrap}.row-subject{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b;font-size:12px;line-height:1.25;font-weight:700}.conversation-row.active .row-customer,.conversation-row.active .row-time,.conversation-row.active .row-subject{color:#123044}.conversation-row .priority-badge{justify-self:end;white-space:nowrap}.thread-column .empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:0;background:linear-gradient(180deg,#fff,#f8fbfd)}.thread-column .empty-state-icon{margin-bottom:4px}.reply-composer{scroll-padding-bottom:48px!important;padding-bottom:22px!important}.reply-side-panel .actions{margin-bottom:10px!important;padding-bottom:4px!important}.reply-side-panel .actions .send-action{min-height:38px}@media(max-height:900px){.workbench{height:calc(100vh - 154px)}}@media(max-width:1499px){.reply-composer{gap:6px 12px!important;padding-top:8px!important;padding-bottom:22px!important}.reply-composer>.reply-textarea:not(.instruction){height:clamp(136px,21vh,210px);min-height:136px}.reply-composer>.reply-textarea.instruction{height:clamp(68px,9vh,104px);min-height:68px}.order-number-row .search-input{height:32px!important}.reply-side-panel .actions{margin-bottom:12px!important}.reply-side-panel .actions .send-action{min-height:38px}}@media(max-width:1180px){.thread-workspace{grid-template-rows:minmax(140px,.28fr) minmax(560px,1fr)!important}.reply-side-panel{min-height:560px}.reply-composer{height:100%!important;min-height:100%;overflow-y:auto}}@media(max-width:1180px)and (max-height:900px){.thread-workspace{grid-template-rows:minmax(110px,.22fr) minmax(610px,1fr)!important}.reply-side-panel{min-height:610px}.reply-composer>.reply-textarea:not(.instruction){height:clamp(132px,20vh,190px);min-height:132px}.reply-composer>.reply-textarea.instruction{height:clamp(66px,8vh,94px);min-height:66px}}.reply-composer{--reply-gap-y: clamp(6px, .75dvh, 10px);--reply-pad-y: clamp(8px, 1.1dvh, 14px);--reply-main-h: clamp(144px, 24dvh, 260px);--reply-note-h: clamp(74px, 11dvh, 132px);gap:var(--reply-gap-y) 12px!important;padding-top:var(--reply-pad-y)!important;padding-bottom:var(--reply-pad-y)!important}.reply-composer>.reply-textarea:not(.instruction){flex:0 0 auto!important;height:var(--reply-main-h);min-height:var(--reply-main-h);resize:vertical!important}.reply-composer>.reply-textarea.instruction{flex:0 0 auto!important;height:var(--reply-note-h);min-height:var(--reply-note-h);resize:vertical!important}.reply-side-panel .actions{margin-bottom:0!important}@media(min-width:1500px){.reply-composer{--reply-main-h: clamp(210px, 28dvh, 360px);--reply-note-h: clamp(92px, 13dvh, 180px);display:flex!important;flex-direction:column;height:100%;min-height:0;overflow-y:auto}.reply-composer>.reply-textarea:not(.instruction){flex:1 0 auto!important}.reply-composer>.reply-textarea.instruction{flex:.42 0 auto!important}}@supports selector(.reply-composer:has(> .reply-textarea[style*="height"])){@media(min-width:1500px){.reply-composer:has(>.reply-textarea[style*=height])>.reply-textarea{flex:0 0 auto!important}}}@media(min-width:1181px)and (max-width:1499px){.reply-composer{--reply-main-h: clamp(126px, 20.5dvh, 198px);--reply-note-h: clamp(62px, 9dvh, 94px)}.reply-side-panel .actions{margin-bottom:0!important}}@media(max-width:1180px){.thread-workspace{grid-template-rows:minmax(clamp(90px,18dvh,180px),.28fr) minmax(clamp(510px,calc(100dvh - 280px),670px),1fr)!important}.reply-side-panel{min-height:clamp(510px,calc(100dvh - 280px),670px)}.reply-composer{height:100%!important;min-height:100%;--reply-main-h: clamp(124px, 17dvh, 184px);--reply-note-h: clamp(58px, 7.5dvh, 92px)}}@media(max-width:1180px)and (max-height:820px){.thread-workspace{grid-template-rows:minmax(74px,.18fr) minmax(520px,1fr)!important}.reply-side-panel{min-height:520px}.reply-composer{--reply-main-h: clamp(110px, 17dvh, 148px);--reply-note-h: clamp(54px, 7.5dvh, 76px);--reply-gap-y: 5px;--reply-pad-y: 7px}.attachment-button,.order-number-row .search-input{min-height:30px!important;height:30px!important}.reply-side-panel .actions .tool-row button{min-height:28px}.reply-side-panel .actions .send-action{min-height:34px}}@media(max-width:1180px)and (max-height:740px){.thread-workspace{grid-template-rows:minmax(58px,.14fr) minmax(480px,1fr)!important}.reply-side-panel{min-height:480px}.reply-composer{--reply-main-h: 96px;--reply-note-h: 50px;--reply-gap-y: 4px;--reply-pad-y: 6px}}@media(max-width:1180px){.thread-workspace{grid-template-rows:minmax(0,1fr) auto!important}.reply-side-panel{min-height:0;overflow:visible}.reply-composer{height:auto!important;min-height:0;max-height:none!important;overflow:visible}}@media(min-width:981px)and (max-width:1180px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{height:100dvh;padding:14px 10px;overflow:auto}.brand{display:grid;justify-items:center;gap:8px;margin-bottom:18px}.brand-copy,.nav-label,.nav-lock{display:none}.sidebar-toggle{width:34px;height:28px}.nav-list{grid-template-columns:1fr}.nav-list button{justify-content:center;min-height:42px;padding:0}.main{height:100dvh;min-height:0;overflow:hidden}.topbar{min-height:70px;padding:14px 16px 10px}.workbench,.knowledge-pro,.records-page-pro,.users-layout,.settings-layout.friendly{height:calc(100dvh - 102px);min-height:0;margin:16px}.settings-layout.friendly{grid-template-columns:280px minmax(0,1fr);overflow:hidden}.conversation-column,.thread-column,.settings-sidebar,.settings-detail{height:100%;max-height:100%}.thread-workspace{height:100%;grid-template-rows:minmax(0,1fr) minmax(340px,45dvh)!important}.reply-side-panel{min-height:0;overflow:hidden}.reply-composer{height:100%!important;min-height:0;max-height:none!important;overflow-y:auto;grid-template-columns:minmax(0,1.1fr) minmax(230px,.9fr);gap:5px 10px!important;padding:8px 14px 10px!important;--reply-main-h: clamp(118px, 18dvh, 168px);--reply-note-h: clamp(52px, 7dvh, 74px)}.reply-composer>.reply-textarea:not(.instruction){height:var(--reply-main-h);min-height:var(--reply-main-h)}.reply-composer>.reply-textarea.instruction{height:var(--reply-note-h);min-height:var(--reply-note-h)}.order-number-row .search-input{min-height:30px!important;height:30px!important}.reply-side-panel .actions{padding-top:6px!important}.reply-side-panel .actions .tool-row button{min-height:28px;font-size:12px}.reply-side-panel .actions .send-action{min-height:34px}}@media(max-width:980px){.workbench{grid-template-columns:1fr!important;grid-template-rows:auto auto;height:auto!important;min-height:0;overflow:visible}.workbench>.resize-handle{display:none}.conversation-column{height:auto;max-height:none}.conversation-list{max-height:min(420px,52dvh)}.thread-column{height:auto!important;max-height:none!important;min-height:0;overflow:visible}.thread-workspace{display:grid;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;height:auto}.thread-reading,.reply-side-panel{width:100%;min-width:0;min-height:0;overflow:visible}.reply-side-panel{border-left:0;border-top:1px solid #e6edf5}.reply-composer{display:flex!important;flex-direction:column;height:auto!important;min-height:0;overflow:visible;padding:12px 14px 14px!important}.reply-composer>.reply-textarea:not(.instruction),.reply-composer>.reply-textarea.instruction{width:100%!important;min-width:0;height:auto;resize:vertical!important}.reply-composer>.reply-textarea:not(.instruction){min-height:180px}.reply-composer>.reply-textarea.instruction{min-height:90px}}.toast{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;top:14px;right:16px;width:min(560px,calc(100vw - 32px));max-width:min(560px,calc(100vw - 32px));max-height:42vh;padding:12px 12px 12px 16px;border:1px solid #243246;border-radius:12px;background:#122033;color:#fff;font-size:13px;font-weight:700;line-height:1.55;overflow:auto;overflow-wrap:anywhere;white-space:pre-wrap;box-shadow:0 16px 42px #0f172a3d}.toast.copyable{grid-template-columns:minmax(0,1fr) auto auto}.toast span{min-width:0}.toast-tool{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#ffffff14;color:#fff;padding:0}.toast-tool:hover{background:#ffffff29}.message-stream>.message-bubble{width:100%;max-width:100%;justify-self:stretch}.message-stream>.message-bubble.inbound,.message-stream>.message-bubble.outbound{justify-self:stretch}.records-page-pro{height:calc(100vh - 88px);margin:0;padding:0}.records-page-pro .records-panel.wide{display:flex;flex-direction:column;gap:14px;height:100%;padding:18px;border-radius:16px;overflow:hidden}.activity-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.activity-summary-card{min-height:76px;display:grid;align-content:center;gap:8px;border:1px solid #dbe8ef;border-radius:16px;background:#fbfefe;padding:14px 16px;box-shadow:0 10px 24px #0f5d7d0f}.activity-summary-card span{color:#64748b;font-size:12px;font-weight:900}.activity-summary-card strong{color:#0f172a;font-size:26px;line-height:1}.activity-summary-card.success{background:#f2fcf7;border-color:#ced}.activity-summary-card.danger{background:#fff7f7;border-color:#fed7d7}.activity-summary-card.info{background:#f5fbff;border-color:#cfe8f7}.activity-filter{display:flex;align-items:end;flex-wrap:wrap;gap:10px 12px;padding:14px;border:1px solid #dbe8ef;border-radius:16px;background:#fbfefe}.activity-filter label{display:grid;gap:6px;min-width:140px;color:#475569;font-size:12px;font-weight:900}.activity-filter label:first-child{min-width:240px;flex:1 1 280px}.activity-filter select,.activity-filter input{width:100%;min-height:36px;border:1px solid #d9e6ef;border-radius:12px;outline:0;background:#fff;color:#0f172a;padding:0 11px;font-size:13px;font-weight:700}.activity-filter-search{display:flex;align-items:center;gap:8px;min-height:36px;border:1px solid #d9e6ef;border-radius:12px;background:#fff;color:#7b8ea8;padding:0 11px}.activity-filter-search input{min-height:0;border:0;border-radius:0;padding:0}.activity-filter-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.activity-table-head,.activity-row{display:grid;grid-template-columns:154px 160px 126px 142px 76px 170px minmax(220px,1fr);gap:10px;align-items:center}.activity-table-head{min-height:38px;padding:0 14px;border-radius:11px;background:#f5f9fb;color:#64748b;font-size:12px;font-weight:900}.activity-table-body{display:grid;gap:8px;min-height:0;overflow:auto;padding-right:3px}.activity-row{min-height:58px;padding:10px 14px;border:1px solid #dbe8ef;border-radius:13px;background:#fff;box-shadow:0 6px 18px #0f5d7d0d}.activity-row:hover{border-color:#bcd8e8;background:#f8fcff}.activity-row.failed{border-color:#fecaca;background:snow}.activity-row.warning{border-color:#fde68a;background:#fffdf5}.activity-row>span,.activity-row summary{min-width:0;overflow:hidden;color:#334155;font-size:12px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.activity-user-cell{display:grid;gap:3px}.activity-user-cell strong,.activity-user-cell small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-user-cell strong{color:#0f172a;font-size:13px}.activity-user-cell small{color:#94a3b8;font-size:11px}.activity-status{display:inline-flex;align-items:center;justify-content:center;justify-self:start;min-height:24px;border-radius:999px;padding:0 9px;font-size:12px;font-weight:900}.activity-status.success{background:#ecfdf3;color:#059669}.activity-status.warning{background:#fffbeb;color:#b45309}.activity-status.failed{background:#fef2f2;color:#dc2626}.activity-log-detail{min-width:0}.activity-log-detail summary{cursor:pointer;list-style:none}.activity-log-detail summary::-webkit-details-marker{display:none}.activity-log-detail pre{grid-column:1 / -1;max-height:180px;margin:8px 0 0;overflow:auto;border:1px solid #e3ebf4;border-radius:10px;background:#f8fbff;color:#475569;padding:10px 12px;font-family:inherit;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:1280px){.activity-table-head{display:none}.activity-row{grid-template-columns:1fr;gap:5px;align-items:start}.activity-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.records-page-pro{height:auto}.records-page-pro .records-panel.wide{overflow:visible}.activity-summary-grid{grid-template-columns:1fr}.activity-filter{align-items:stretch}.activity-filter label,.activity-filter label:first-child{min-width:100%;flex:1 1 100%}.activity-filter-actions{width:100%}.activity-filter-actions button{flex:1 1 auto}}
