*{box-sizing:border-box}:root{color:#1d2129;font-synthesis:none;text-rendering:geometricprecision;-webkit-font-smoothing:antialiased;background:#fff;font-family:Source Han Sans SC,Noto Sans CJK SC,Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}body{min-width:1200px;min-height:100vh;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;transition:background .15s,color .15s,box-shadow .15s}button:focus-visible{outline-offset:1px;border-radius:4px;outline:2px solid #4080ff}.im-app{background:#fff;grid-template-columns:190px 350px minmax(440px,1fr) 320px;width:100vw;height:100vh;display:grid;overflow:hidden}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#98a2b3}.left-rail{background:linear-gradient(#edf5ff 0%,#f8fafd 16%,#f7f8fa 16% 100%);border-right:1px solid #e5e6eb;height:100vh;position:relative}.profile-card{align-items:center;gap:10px;height:100px;padding:0 14px;display:flex;position:relative}.profile-card strong{color:#1d2129;font-size:14px;font-weight:700;line-height:22px;display:block}.profile-card span{color:#4080ff;background:#dcecff;border-radius:4px;align-items:center;height:20px;margin-top:2px;padding:0 6px;font-size:11px;font-weight:500;line-height:18px;display:inline-flex}.collapse-btn{color:#86909c;z-index:3;background:#fff;border:1px solid #e5e6eb;border-radius:11px;place-items:center;width:22px;height:30px;display:grid;position:absolute;top:50%;right:-11px;transform:translateY(-50%);box-shadow:0 2px 8px #1d21290f}.collapse-btn:hover{color:#4e5969;background:#f7f8fa}.main-nav{flex-direction:column;gap:6px;padding:4px 10px;display:flex}.main-nav button{color:#4e5969;text-align:left;border-radius:6px;align-items:center;gap:10px;height:40px;padding:0 12px;font-size:14px;font-weight:500;line-height:22px;display:flex}.main-nav button svg{width:20px;height:20px}.main-nav button:hover{background:#e8f0fe}.main-nav button.active{color:#fff;background:#4080ff;box-shadow:inset 3px 0 #165dff}.main-nav button.active:hover{background:#3478e5}.session-column{background:#fff;border-right:1px solid #edf0f5;flex-direction:column;height:100vh;display:flex}.search-wrap{border-bottom:1px solid #f2f3f5;grid-template-columns:1fr 32px;align-items:center;gap:10px;height:56px;padding:0 14px;display:grid}.search-box{color:#a9aeb8;background:#f2f3f5;border-radius:6px;grid-template-columns:16px 1fr 16px;align-items:center;gap:8px;height:34px;padding:0 12px;font-size:13px;line-height:20px;display:grid}.search-box svg{color:#4e5969;width:14px;height:14px}.search-box svg:last-child{color:#86909c}.add-btn{color:#1d2129;border:1.5px solid #1d2129;border-radius:50%;place-items:center;width:28px;height:28px;font-size:20px;font-weight:400;line-height:20px;display:grid}.add-btn:hover{background:#f2f3f5}.conversation-list{flex:1;overflow-y:auto}.conversation-item{cursor:pointer;background:#fff;border-bottom:1px solid #f2f3f5;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;height:64px;padding:10px 14px;transition:background .12s;display:grid}.conversation-item:hover{background:#f7f8fa}.conversation-item.selected{background:#e8f3ff}.conversation-item.selected:hover{background:#daeafe}.conversation-avatar-wrap{position:relative}.avatar{color:#fff;background:#4080ff;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:14px;font-weight:600;line-height:22px;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff47}.avatar.large{width:44px;height:44px;font-size:16px}.message-row .avatar{width:28px;height:28px;font-size:12px;line-height:18px}.avatar.blue{background:linear-gradient(135deg,#5aa0f3,#3478e5)}.avatar.cyan{background:#6baed9}.avatar.orange{background:linear-gradient(135deg,#f7b05a,#ee8b20)}.avatar.navy{background:#4d84d9}.avatar.red{background:#e94f51}.avatar.rose{background:#ef7478;font-size:11px}.avatar.muted{background:#d0d5dd}.avatar.agent{color:#0000;background:radial-gradient(circle at 50% 32%,#f7d4c2 0 17%,#0000 18%),radial-gradient(circle at 50% 28%,#222 0 26%,#0000 27%),linear-gradient(150deg,#111 0 45%,#eceff5 46% 100%)}.avatar.photo{color:#0000;background:radial-gradient(circle at 62% 25%,#1e242e 0 13%,#0000 14%),radial-gradient(circle at 50% 38%,#d7a27a 0 18%,#0000 19%),linear-gradient(135deg,#2567c3 0 43%,#93b8ef 44% 100%)}.avatar-unread{color:#fff;text-align:center;background:#f53f3f;border-radius:8px;min-width:16px;height:16px;padding:0 4px;font-size:11px;font-weight:600;line-height:16px;position:absolute;top:-4px;right:-2px;box-shadow:0 0 0 2px #fff}.conversation-main{min-width:0}.conversation-title{white-space:nowrap;align-items:center;gap:4px;min-width:0;height:22px;display:flex;overflow:hidden}.conversation-name{color:#1d2129;text-overflow:ellipsis;min-width:0;font-size:14px;font-weight:600;line-height:20px;overflow:hidden}.conversation-preview{color:#98a2b3;white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:12px;font-weight:400;line-height:18px;overflow:hidden}.conversation-code{color:#4080ff;font-size:11px;font-weight:500;line-height:18px}.conversation-meta{color:#a9aeb8;flex-direction:column;justify-content:center;align-items:flex-end;gap:4px;font-size:12px;font-weight:400;line-height:18px;display:flex}.robot-status{color:#00b42a;width:20px;height:20px}.hot-status{color:#fff;background:#ff7d00;border-radius:8px;place-items:center;min-width:20px;height:16px;font-size:11px;font-weight:700;line-height:16px;display:grid}.badge{color:#fff;white-space:nowrap;border-radius:3px;flex:none;justify-content:center;align-items:center;height:16px;padding:0 5px;font-size:11px;font-weight:500;line-height:16px;display:inline-flex}.badge.blue{background:#165dff}.badge.orange{background:#e89a5c}.badge.red{background:#f53f3f}.badge.dark{background:#1d2129}.badge.pale{color:#fff;background:#f1d46f}.chat-panel{background:#fff;border-right:1px solid #e5e6eb;grid-template-rows:50px minmax(0,1fr) auto;min-width:0;height:100vh;display:grid}.chat-header{background:linear-gradient(90deg,#edfcf0 0%,#f4fef6 42%,#fff 100%);border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:center;height:50px;padding:0 16px;display:flex}.chat-header strong{color:#1d2129;font-size:15px;font-weight:700;line-height:22px}.chat-header-actions{color:#1d2129;align-items:center;gap:16px;display:flex}.chat-header-actions svg:first-child{color:#00b42a;width:20px;height:20px}.chat-header-actions svg:last-child{width:20px;height:20px}.chat-header-actions svg:hover{color:#4080ff}.messages-area{background:#fff;padding:14px 16px;overflow-y:auto}.time-divider{color:#a9aeb8;text-align:center;margin-bottom:16px;font-size:12px;line-height:18px}.message-row{gap:8px;margin-bottom:12px;display:flex}.message-row.left{justify-content:flex-start}.message-row.right{justify-content:flex-end;margin-top:14px;margin-bottom:14px}.message-stack{max-width:65%}.message-meta-line{align-items:center;min-height:18px;margin-bottom:3px;display:flex}.message-sender{color:#4080ff;align-items:center;gap:5px;min-width:0;height:18px;font-size:11px;font-weight:600;line-height:18px;display:flex}.message-sender .badge{background:#e89a5c}.message-bubble{color:#1d2129;background:#f2f3f5;border-radius:8px;min-width:0;max-width:100%;padding:8px 12px;font-size:13px;font-weight:400;line-height:22px;box-shadow:0 1px 2px #1d21290a}.message-bubble-wrap{align-items:center;max-width:100%;display:inline-flex;position:relative}.message-quick-actions{opacity:0;visibility:hidden;pointer-events:none;flex:none;align-items:center;gap:2px;transition:opacity .12s,visibility .12s;display:inline-flex;position:absolute;top:50%;left:calc(100% + 4px);transform:translateY(-50%)}.message-row:hover .message-quick-actions,.message-quick-actions:focus-within{opacity:1;visibility:visible;pointer-events:auto}.message-quick-actions button{color:#86909c;border-radius:4px;place-items:center;width:18px;height:18px;padding:0;display:inline-grid}.message-quick-actions svg{width:12px;height:12px}.message-quick-actions button:hover{color:#165dff;background:#e8f3ff}.message-hover-time{color:#a9aeb8;opacity:0;visibility:hidden;white-space:nowrap;font-size:11px;line-height:18px;transition:opacity .12s,visibility .12s}.message-row:hover .message-hover-time{opacity:1;visibility:visible}.message-row.right .message-meta-line{justify-content:flex-end}.message-row.right .message-bubble{color:#1d2129;background:#e8f0fe}.composer{background:#fff;border-top:1px solid #e5e6eb;align-items:flex-end;gap:10px;min-height:50px;padding:8px 14px;display:flex}.composer-field-wrap{background:#fff;border:1px solid #e5e6eb;border-radius:6px;flex:1;min-width:0;min-height:34px;max-height:124px;padding:0 30px 0 10px;position:relative}.composer-field-wrap:focus-within{border-color:#4080ff;box-shadow:0 0 0 2px #165dff14}.composer-field{resize:none;color:#1d2129;width:100%;min-width:0;height:32px;max-height:116px;font:inherit;background:0 0;border:0;outline:0;padding:6px 0;font-size:13px;line-height:20px;overflow-y:auto}.composer-field::placeholder{color:#a9aeb8}.composer-clear{color:#a9aeb8;opacity:0;pointer-events:none;border-radius:4px;place-items:center;width:20px;height:20px;padding:0;display:grid;position:absolute;top:6px;right:6px}.composer-clear.visible{opacity:1;pointer-events:auto}.composer-clear:hover{color:#4e5969;background:#f2f3f5}.composer-clear svg{width:14px;height:14px}.composer-tools{color:#86909c;align-items:center;gap:10px;height:32px;display:flex}.composer-tools>svg{cursor:pointer;width:16px;height:16px;transition:color .15s}.composer-tools>svg:hover{color:#4080ff}.phrase-tool{align-items:center;display:inline-flex;position:relative}.phrase-tool:before{content:"";width:36px;height:18px;position:absolute;bottom:18px;left:-8px}.phrase-trigger{color:#86909c;border-radius:4px;place-items:center;width:20px;height:20px;padding:0;display:grid}.phrase-trigger svg{width:16px;height:16px}.phrase-trigger:hover,.phrase-tool.is-open .phrase-trigger,.phrase-trigger.active{color:#165dff;background:#e8f3ff}.phrase-popover{z-index:20;color:#1d2129;opacity:0;visibility:hidden;pointer-events:none;background:#fff;border:1px solid #e5e6eb;border-radius:10px;grid-template-rows:auto auto auto auto minmax(0,1fr);width:min(740px,100vw - 700px);min-width:560px;height:642px;max-height:calc(100vh - 116px);transition:opacity .14s,transform .14s,visibility .14s;display:grid;position:absolute;bottom:32px;right:-36px;overflow:visible;transform:translateY(6px);box-shadow:0 16px 40px #1d212929}.phrase-tool.is-open .phrase-popover,.phrase-tool.is-pinned .phrase-popover{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.phrase-popover:after{content:"";background:#fff;border-bottom:1px solid #e5e6eb;border-right:1px solid #e5e6eb;width:14px;height:14px;position:absolute;bottom:-7px;right:42px;transform:rotate(45deg)}.phrase-popover.pinned{border-color:#e5e6eb;box-shadow:0 16px 40px #1d212929}.phrase-head{border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:center;height:48px;padding:0 14px 0 16px;display:flex}.phrase-title-block{gap:1px;min-width:0;display:grid}.phrase-head strong{color:#1d2129;margin-right:8px;font-size:15px;font-weight:700;line-height:22px;display:inline-block}.phrase-title-block span{color:#86909c;white-space:nowrap;align-items:center;gap:6px;font-size:12px;line-height:18px;display:flex}.phrase-title-block em{color:#165dff;background:#e8f3ff;border-radius:4px;align-items:center;height:18px;padding:0 6px;font-size:11px;font-style:normal;font-weight:600;line-height:18px;display:inline-flex}.phrase-head-actions{align-items:center;gap:8px;display:flex}.phrase-help{align-items:center;display:inline-flex;position:relative}.phrase-head-actions .phrase-help-trigger{color:#86909c;background:0 0;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:inline-flex}.phrase-help-trigger svg{width:14px;height:14px}.phrase-head-actions .phrase-help-trigger:hover,.phrase-help:hover .phrase-help-trigger{color:#4080ff;background:0 0}.phrase-help-card{z-index:24;opacity:0;visibility:hidden;pointer-events:none;background:#fff;border:1px solid #e5e6eb;border-radius:10px;gap:8px;width:min(360px,100vw - 32px);max-width:360px;padding:16px;transition:opacity .14s,transform .14s,visibility .14s;display:grid;position:absolute;top:0;right:34px;transform:translateY(-4px);box-shadow:0 12px 32px #1d212924}.phrase-help:hover .phrase-help-card,.phrase-help:focus-within .phrase-help-card{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.phrase-help-section{gap:6px;display:grid}.phrase-help-section+.phrase-help-section{border-top:1px solid #f2f3f5;padding-top:10px}.phrase-help-section strong{color:#1d2129;font-size:13px;font-weight:700;line-height:20px}.phrase-help-section span{color:#4e5969;white-space:normal;word-break:break-word;overflow-wrap:anywhere;padding-left:12px;font-size:12px;line-height:19px;display:block;position:relative}.phrase-help-section span:before{content:"";background:#c9cdd4;border-radius:50%;width:4px;height:4px;position:absolute;top:8px;left:1px}.phrase-help-section kbd{color:#4e5969;white-space:nowrap;background:#f7f8fa;border:1px solid #d0d5dd;border-radius:3px;height:18px;padding:0 5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:11px;font-weight:500;line-height:16px;display:inline-block}.phrase-head-actions .phrase-pin-btn,.phrase-head-actions .phrase-settings-btn{color:#86909c;background:0 0;border-radius:4px;justify-content:center;align-items:center;width:26px;height:26px;padding:0;display:inline-flex}.phrase-head-actions .phrase-pin-btn svg,.phrase-head-actions .phrase-settings-btn svg{width:15px;height:15px}.phrase-head-actions .phrase-pin-btn:hover,.phrase-head-actions .phrase-settings-btn:hover{color:#4080ff;background:0 0}.phrase-head-actions .phrase-pin-btn.active,.phrase-head-actions .phrase-settings-btn.active{color:#165dff;background:0 0}.phrase-head-actions .phrase-pin-btn.active:hover,.phrase-head-actions .phrase-settings-btn.active:hover{color:#4080ff;background:0 0}.phrase-head-actions button{color:#4e5969;background:#f2f3f5;border-radius:4px;height:26px;padding:0 10px;font-size:12px;font-weight:500;line-height:18px}.phrase-head-actions button:hover{color:#165dff;background:#e8f3ff}.phrase-search{color:#86909c;background:#f2f3f5;border-radius:8px;grid-template-columns:16px 1fr 20px;align-items:center;gap:8px;height:44px;margin:12px 16px 8px;padding:0 12px;display:grid}.phrase-search svg{width:15px;height:15px}.phrase-search input{color:#1d2129;min-width:0;font:inherit;background:0 0;border:0;outline:0;font-size:13px;line-height:20px}.phrase-search input::placeholder{color:#a9aeb8}.phrase-search-clear{color:#a9aeb8;opacity:0;pointer-events:none;border-radius:4px;place-items:center;width:20px;height:20px;padding:0;display:grid}.phrase-search-clear.visible{opacity:1;pointer-events:auto}.phrase-search-clear:hover{color:#4e5969;background:#e5e6eb}.phrase-search-clear svg{width:14px;height:14px}.phrase-primary-tabs{align-items:center;gap:6px;padding:0 16px 8px;display:flex;overflow-x:auto}.phrase-secondary-tabs{flex-wrap:wrap;align-items:flex-start;gap:6px;padding:0 16px 10px;display:flex;overflow-y:auto}.phrase-primary-tabs button,.phrase-secondary-tabs button{color:#4e5969;white-space:nowrap;background:#fff;border-radius:14px;flex:none;height:28px;padding:0 10px;font-size:12px;font-weight:500;line-height:18px}.phrase-primary-tabs button:hover,.phrase-secondary-tabs button:hover{color:#165dff;background:#f2f3f5}.phrase-primary-tabs button.active{color:#fff;background:#165dff}.phrase-secondary-tabs{border-bottom:1px solid #eef0f3;min-height:34px;max-height:70px}.phrase-secondary-tabs button{color:#4e5969;background:#f7f8fa;border-radius:4px;height:24px;padding:0 8px}.phrase-secondary-tabs button.active{color:#165dff;background:#e8f3ff;font-weight:600}.phrase-secondary-tabs.muted{color:#98a2b3;font-size:12px;line-height:18px}.phrase-secondary-tabs.muted span{align-items:center;height:24px;display:inline-flex}.phrase-body{grid-template-columns:minmax(0,1fr) 270px;min-height:0;display:grid}.phrase-list{background:#fafbfc;height:100%;min-height:0;padding:10px 8px 12px 12px;overflow-y:auto}.phrase-card{text-align:left;cursor:grab;background:#fff;border:1px solid #e5e6eb;border-radius:8px;align-items:flex-start;gap:6px;width:100%;padding:10px;display:flex}.phrase-card:active{cursor:grabbing}.phrase-card+.phrase-card{margin-top:8px}.phrase-card:hover,.phrase-card.active{background:#f7fbff;border-color:#4080ff}.phrase-card-body{flex:1;gap:3px;min-width:0;display:grid}.phrase-card strong{color:#1d2129;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;line-height:20px;overflow:hidden}.phrase-card span{color:#4e5969;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;font-weight:400;line-height:18px;display:-webkit-box;overflow:hidden}.phrase-card em{color:#86909c;font-size:11px;font-style:normal;line-height:18px}.phrase-card-star{color:#c9cdd4;border-radius:4px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;padding:0;transition:color .15s,background .15s;display:inline-flex}.phrase-card-star:hover{color:#f5a623;background:#fff7eb}.phrase-card-star.active{color:#f5a623}.phrase-empty{color:#86909c;place-items:center;height:220px;font-size:13px;display:grid}.phrase-detail{background:#fff;border-left:1px solid #eef0f3;flex-direction:column;min-width:0;height:100%;padding:14px;display:flex}.phrase-detail-title{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.phrase-detail-title>div{min-width:0}.phrase-detail-title strong{color:#1d2129;font-size:14px;font-weight:700;line-height:22px;display:block}.phrase-detail-title span{color:#86909c;margin-top:2px;font-size:12px;line-height:18px;display:block}.phrase-detail p{color:#1d2129;min-height:132px;margin:12px 0 0;font-size:13px;font-weight:400;line-height:22px}.phrase-detail-empty{color:#86909c;text-align:center;align-content:center;justify-items:center;gap:6px;height:100%;padding:24px;display:grid}.phrase-detail-empty strong{color:#4e5969;font-size:14px;font-weight:700;line-height:22px}.phrase-detail-empty span{color:#86909c;font-size:12px;line-height:18px}.phrase-settings-panel{z-index:23;background:#fff;border-left:1px solid #e5e6eb;grid-template-rows:auto minmax(0,1fr) auto;width:min(420px,100%);display:grid;position:absolute;inset:48px 0 0 auto;box-shadow:-14px 0 28px #1d21291f}.phrase-settings-head{border-bottom:1px solid #eef0f3;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:12px 14px 10px 16px;display:flex}.phrase-settings-head strong{color:#1d2129;font-size:15px;font-weight:700;line-height:22px;display:block}.phrase-settings-head span{color:#86909c;margin-top:2px;font-size:12px;line-height:18px;display:block}.phrase-settings-head button{color:#4e5969;background:#f2f3f5;border-radius:4px;flex:none;place-items:center;width:28px;height:28px;padding:0;display:grid}.phrase-settings-head button:hover{color:#165dff;background:#e8f3ff}.phrase-settings-content{min-height:0;padding:14px 16px 16px;overflow-y:auto}.phrase-settings-section+.phrase-settings-section{border-top:1px solid #eef0f3;margin-top:18px;padding-top:16px}.phrase-settings-section h3{color:#1d2129;margin:0;font-size:14px;font-weight:700;line-height:22px}.phrase-settings-section p{color:#86909c;margin:4px 0 10px;font-size:12px;line-height:18px}.phrase-settings-list{gap:6px;display:grid}.phrase-secondary-settings{gap:8px;display:grid}.phrase-secondary-setting-group{gap:6px;display:grid}.phrase-secondary-setting-toggle{color:#4e5969;text-align:left;background:#fff;border:1px solid #eef0f3;border-radius:6px;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:8px;min-height:36px;padding:7px 8px 7px 10px;display:grid}.phrase-secondary-setting-toggle:hover,.phrase-secondary-setting-group.expanded .phrase-secondary-setting-toggle{color:#165dff;background:#f7fbff;border-color:#bedaff}.phrase-secondary-setting-toggle span{text-overflow:ellipsis;white-space:nowrap;color:#1d2129;font-size:13px;font-weight:700;line-height:20px;overflow:hidden}.phrase-secondary-setting-toggle em{color:#86909c;white-space:nowrap;font-size:11px;font-style:normal;line-height:18px}.phrase-secondary-setting-toggle svg{justify-self:center;width:14px;height:14px}.phrase-setting-row{background:#fff;border:1px solid #eef0f3;border-radius:6px;grid-template-columns:22px minmax(0,1fr) auto auto;align-items:center;gap:8px;min-height:34px;padding:6px 8px;display:grid}.phrase-setting-row.dragging{background:#f7fbff;border-color:#4080ff}.phrase-drag-handle{color:#a9aeb8;cursor:grab;place-items:center;width:22px;height:22px;display:grid}.phrase-drag-handle svg{width:14px;height:14px}.phrase-setting-check{color:#1d2129;align-items:center;gap:8px;min-width:0;font-size:13px;line-height:20px;display:flex}.phrase-setting-check input{width:14px;height:14px;margin:0}.phrase-setting-check span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.phrase-setting-row em{color:#86909c;white-space:nowrap;font-size:11px;font-style:normal;line-height:18px}.phrase-setting-lock{color:#86909c;background:#f2f3f5;border-radius:4px;align-items:center;gap:3px;height:22px;padding:0 6px;font-size:11px;line-height:18px;display:inline-flex}.phrase-setting-lock svg{width:12px;height:12px}.phrase-settings-foot{background:#fafbfc;border-top:1px solid #eef0f3;justify-content:flex-end;align-items:center;padding:10px 14px 12px 16px;display:flex}.phrase-settings-foot button{color:#165dff;background:#e8f3ff;border-radius:4px;flex:none;height:28px;padding:0 10px;font-size:12px;font-weight:600;line-height:18px}.phrase-detail-tags{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.phrase-detail-tags span{color:#4e5969;background:#f2f3f5;border-radius:4px;align-items:center;height:22px;padding:0 8px;font-size:12px;line-height:18px;display:inline-flex}.phrase-actions{gap:8px;margin-top:auto;display:grid}.phrase-actions button{color:#1d2129;background:#fff;border:1px solid #dcdfe6;border-radius:6px;justify-content:center;align-items:center;gap:5px;height:32px;font-size:13px;font-weight:500;line-height:20px;display:inline-flex}.phrase-actions button:hover{color:#165dff;border-color:#4080ff}.phrase-actions button.primary{color:#fff;background:#165dff;border-color:#165dff}.phrase-actions button svg{width:14px;height:14px}.composer>button{color:#fff;background:#4080ff;border-radius:6px;align-items:center;gap:4px;height:32px;padding:0 12px;font-size:13px;font-weight:600;line-height:20px;display:inline-flex}.composer>button:hover{background:#3478e5}.composer>button svg{width:14px;height:14px}.customer-panel{background:#fff;grid-template-rows:auto auto 40px minmax(0,1fr);min-width:0;height:100vh;display:grid}.customer-top{padding:18px 12px 8px}.customer-title-row{align-items:center;gap:10px;display:flex}.customer-title h2{color:#1d2129;margin:0 0 2px;font-size:15px;font-weight:700;line-height:22px}.customer-title div{align-items:center;gap:5px;display:flex}.customer-title div span:last-child{color:#4080ff;font-size:11px;font-weight:500;line-height:18px}.customer-title p{color:#98a2b3;margin:6px 0 0;font-size:12px;font-weight:400;line-height:18px}.customer-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:8px;display:flex}.customer-actions .refresh{color:#86909c;align-items:center;gap:4px;font-size:11px;line-height:18px;transition:color .15s;display:inline-flex}.customer-actions .refresh:hover{color:#4080ff}.customer-actions .refresh svg{width:12px;height:12px}.customer-actions .credit{color:#fff;background:#4080ff;border-radius:6px;height:30px;padding:0 14px;font-size:13px;font-weight:600;line-height:20px}.customer-actions .credit:hover{background:#3478e5}.asset-card{background:#f5f7fb;border-radius:8px;grid-template-columns:1fr 1fr;gap:10px 14px;margin:0 8px 8px;padding:12px;display:grid}.asset-card div{min-width:0}.asset-card span{color:#98a2b3;margin-bottom:4px;font-size:11px;font-weight:400;line-height:18px;display:block}.asset-card span:before{content:"·"}.asset-card strong{color:#1d2129;white-space:nowrap;font-size:12px;font-weight:600;line-height:18px;display:block}.quote-tabs{border-bottom:1px solid #e5e6eb;grid-template-columns:auto auto 1fr;align-items:end;gap:14px;height:40px;padding:0 8px;display:grid}.quote-tabs button{color:#4e5969;white-space:nowrap;border-bottom:2px solid #0000;height:36px;font-size:13px;font-weight:600;line-height:20px;transition:color .15s,border-color .15s}.quote-tabs button:hover{color:#4080ff}.quote-tabs button.active{color:#165dff;border-bottom:2px solid #4080ff}.quote-tabs .expand{color:#86909c;justify-self:end;font-size:11px;font-weight:400}.quote-tabs .expand:before{content:"|";color:#d0d5dd;margin-right:6px}.quote-scroll{padding:8px;overflow-y:auto}.quote-card{background:#fff;border:1px solid #e5e6eb;border-radius:8px;padding:12px 10px 0;box-shadow:0 1px 3px #1d21290a}.quote-card-head{color:#1d2129;grid-template-columns:1fr auto auto;align-items:center;gap:6px;display:grid}.quote-card-head strong{font-size:14px;font-weight:700;line-height:22px}.quote-card-head span{color:#4e5969;font-size:12px;font-weight:600;line-height:18px}.quote-card-head svg{color:#c9cdd4}.quote-line{grid-template-columns:76px 1fr;gap:6px;margin-top:6px;font-size:12px;line-height:20px;display:grid}.quote-line span{color:#a9aeb8}.quote-line b{color:#4e5969;text-align:right;font-weight:500}.quote-line .danger{color:#f53f3f}.quote-record-area{background:#f2f5f9;margin:10px -2px 0;padding:10px 8px 0}.record-title{color:#86909c;margin-bottom:6px;font-size:12px;line-height:18px;display:block}.quote-record{padding:3px 0 10px}.quote-record+.quote-record{border-top:1px solid #e5e6ebb3}.record-head{grid-template-columns:auto 1fr auto auto;align-items:baseline;column-gap:4px;display:grid}.record-head strong{color:#2f7bdc;font-size:16px;font-weight:600;line-height:24px}.record-head span{color:#2f7bdc;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:500;line-height:18px;overflow:hidden}.record-head button{color:#4080ff;font-size:11px;font-weight:500;line-height:18px}.record-head button:hover{color:#165dff}.record-head em{color:#86909c;font-size:12px;font-style:normal;line-height:18px}.record-info{color:#4e5969;grid-template-columns:.9fr 1.45fr 1fr;gap:6px;margin-top:3px;font-size:11px;line-height:18px;display:grid}.record-info span{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.record-info span:nth-child(2),.record-info span:nth-child(3){color:#98a2b3}.record-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.record-actions button{color:#1d2129;background:#fff;border:1px solid #dcdfe6;border-radius:4px;height:30px;font-size:13px;font-weight:600;line-height:20px}.record-actions button:hover{color:#4080ff;border-color:#4080ff}.record-actions .primary{color:#fff;background:#4080ff;border-color:#165dff}.record-actions .primary:hover{background:#3478e5}.invalid-quote{color:#86909c;justify-content:center;align-items:center;gap:4px;width:100%;height:36px;font-size:12px;line-height:18px;transition:color .15s;display:flex}.invalid-quote:hover{color:#4080ff}.compact-quote{color:#1d2129;cursor:pointer;background:#fff;border:1px solid #e5e6eb;border-radius:6px;grid-template-columns:1fr auto auto 16px;align-items:center;gap:8px;height:48px;margin-top:8px;padding:0 10px;transition:border-color .15s,box-shadow .15s;display:grid;box-shadow:0 1px 2px #1d212908}.compact-quote:hover{border-color:#4080ff;box-shadow:0 1px 4px #4080ff1f}.compact-quote span{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;line-height:18px;overflow:hidden}.compact-quote strong{color:#4080ff;font-size:13px;font-weight:600;line-height:18px}.compact-quote em{color:#86909c;font-size:11px;font-style:normal;line-height:18px}.compact-quote svg{color:#c9cdd4;width:14px;height:14px}@media (width<=1440px){body{min-width:1100px}.im-app{grid-template-columns:170px 310px minmax(400px,1fr) 300px}}
