.business-object-list{min-height:100vh;padding:24px clamp(16px,3vw,40px) 48px;background:#fff;color:#172033}.business-object-list__header{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.business-object-list__title{display:flex;align-items:center;gap:8px}.business-object-list__title>div{display:grid;gap:4px}.business-object-list__title>svg{width:25px;height:25px;color:#28a6a2}.business-object-list__title p{margin:0;color:#667085;font-size:11px;font-weight:700;letter-spacing:.14em}.business-object-list__title h1{margin:0;font-size:25px;line-height:1.1}.business-object-list__title span{color:#667085;font-size:14px}.business-object-list__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px}.business-object-list__search{position:relative;display:flex;align-items:center}.business-object-list__search svg{position:absolute;left:10px;width:17px;height:17px;color:#667085;pointer-events:none}.business-object-list__search input{width:238px;height:34px;border:1px solid #d0d5dd;border-radius:6px;padding:5px 10px 5px 33px;outline:0;background:#fff;color:#172033;font-size:14px}.business-object-list__search input:focus{border-color:#3472f6;box-shadow:0 0 0 3px #3472f624}.business-object-list button.business-object-list__create{display:inline-flex;height:34px;align-items:center;gap:8px;border:1px solid #3472f6;border-radius:6px;padding:6px 14px;background:#3472f6;color:#fff;font-size:14px;font-weight:600}.business-object-list button.business-object-list__assistant{display:inline-flex;height:34px;align-items:center;gap:8px;border:1px solid #28a6a2;border-radius:6px;padding:6px 14px;background:#fff;color:#28a6a2;font-size:14px;font-weight:600}.business-object-list__assistant:hover{background:#f0fbfa}.business-object-list__assistant svg{width:17px;height:17px}.business-object-list__create:hover{background:#2461dd}.business-object-list__create svg{width:17px;height:17px}.business-object-list__quick-link small{color:#667085;font-size:13px;line-height:1.45}.business-object-list__error,.business-object-list__state{margin:48px auto;color:#667085;text-align:center}.business-object-list__error{color:#c24141}.business-object-grid{display:grid;grid-template-columns:repeat(5,minmax(220px,1fr));gap:24px}.business-object-list__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;color:#667085;font-size:13px}.business-object-list__footer>div{display:flex;align-items:center;gap:12px}.business-object-list__footer button{border:1px solid #d0d5dd;border-radius:5px;padding:5px 9px;background:#fff;color:inherit;font-size:12px}.business-object-list__footer button:disabled{opacity:.45}@media (max-width: 1400px){.business-object-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}}@media (max-width: 860px){.business-object-list__header{align-items:flex-start;flex-direction:column}.business-object-list__actions{width:100%;gap:8px;justify-content:flex-start}.business-object-list__search{flex:1 1 220px}.business-object-list__search input{width:100%}.business-object-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media (max-width: 560px){.business-object-list{padding:16px}.business-object-list__title h1{font-size:22px}.business-object-list__actions>button{flex:1 1 calc(50% - 8px);justify-content:center;min-width:0}.business-object-list__quick-links,.business-object-grid{grid-template-columns:1fr}.business-object-list__footer{align-items:flex-start;flex-direction:column}}.business-object-card{display:grid;min-width:0;min-height:150px;gap:12px;border:1px solid #dce3ed;border-radius:10px;padding:14px 14px 12px;background:#fff;box-shadow:0 1px 2px #0f172a0a;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.business-object-card:hover{border-color:#98a2b3;box-shadow:0 6px 18px #0f172a14;transform:translateY(-1px)}.business-object-card__row{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.business-object-card__link{display:flex;flex:1;min-width:0;gap:10px;border:0;padding:0;background:transparent;color:inherit;text-align:left}.business-object-card__avatar{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:7px;background:linear-gradient(135deg,#3978f6,#7ba5f8);color:#fff;font-size:16px;font-weight:700}.business-object-card__avatar--orange{background:linear-gradient(135deg,#e68561,#f2b492)}.business-object-card__avatar--purple{background:linear-gradient(135deg,#7c42cc,#c591f0)}.business-object-card__avatar--green{background:linear-gradient(135deg,#3bb45d,#88d99b)}.business-object-card__content{display:grid;min-width:0;align-content:start;gap:7px;flex:1}.business-object-card__content strong,.business-object-card__content>span,.business-object-card__content time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-object-card__content>span,.business-object-card__content time{color:#667085;font-size:13px}.business-object-card__meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.business-object-card__meta>span{border-radius:999px;padding:3px 8px;background:#edf4ff;color:#285ba8;font-size:12px}.business-object-empty-card{display:flex;width:min(100%,480px);min-height:226px;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px;margin-top:30px;border:1px dashed #cbd5e1;border-radius:10px;padding:34px 56px;background:transparent;color:#172033;text-align:left;cursor:pointer}.business-object-empty-card:hover{border-color:#98a2b3;background:#f8fafc}.business-object-empty-card small{color:#667085}.business-object-empty-card__icon,.business-object-empty-card__plus{display:grid;width:24px;height:24px;place-items:center}.business-object-empty-card__plus{margin-top:10px}.business-object-empty-card svg{width:23px;height:23px}.action-menu-wrapper{position:relative}.action-menu__trigger{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:6px;background:transparent;color:#667085;cursor:pointer;flex-shrink:0;transition:background .15s ease,color .15s ease}.action-menu__trigger:hover{background:#f2f4f7;color:#172033}.action-menu__trigger svg{width:18px;height:18px}.action-menu__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:29}.action-menu__popover{position:fixed;z-index:30;display:grid;width:max-content;min-width:144px;gap:2px;padding:6px;border:1px solid #dce3ed;border-radius:10px;background:#fff;box-shadow:0 10px 24px #0f172a24;animation:action-menu-pop .12s ease-out}@keyframes action-menu-pop{0%{transform:translateY(-4px);opacity:0}to{transform:translateY(0);opacity:1}}.action-menu__item{display:inline-flex;align-items:center;gap:10px;width:100%;border:0;border-radius:6px;padding:9px 12px;background:transparent;color:#344054;font-size:13px;text-align:left;cursor:pointer;transition:background .12s ease,color .12s ease}.action-menu__item:hover{background:#f6f8fb;color:#172033}.action-menu__item--danger{color:#c24141}.action-menu__item--danger:hover{background:#fef2f2;color:#991b1b}.action-menu__item svg{width:16px;height:16px;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.copyable-id{display:inline-flex;align-items:center;gap:6px}.copyable-id__label{color:#667085;font-size:12px;white-space:nowrap}.copyable-id__code{padding:3px 7px;border-radius:6px;background:#f2f4f7;color:#475467;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}.copyable-id__code--full{max-width:190px;overflow-wrap:anywhere;white-space:normal}.copyable-id__button{display:grid;width:22px;height:22px;place-items:center;border:0;border-radius:4px;background:transparent;color:#667085;cursor:pointer;transition:background .12s ease,color .12s ease}.copyable-id__button:hover{background:#eef2f6;color:#172033}.copyable-id__button svg{width:14px;height:14px}.business-object-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:16px;background:#0f172a66}.business-object-dialog{display:grid;width:min(100%,680px);gap:18px;border:1px solid #dce3ed;border-radius:12px;padding:24px;background:#fff;box-shadow:0 18px 46px #0f172a3d}.business-object-dialog h2,.business-object-dialog p{margin:0}.business-object-dialog p{margin-bottom:5px;color:#667085;font-size:12px;font-weight:700;letter-spacing:.08em}.business-object-dialog__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.business-object-dialog label{display:grid;gap:6px;color:#475467;font-size:13px}.business-object-dialog input,.business-object-dialog select,.business-object-dialog textarea{width:100%;border:1px solid #d0d5dd;border-radius:6px;padding:9px 10px;background:#fff;color:#172033}.business-object-dialog textarea{min-height:84px;resize:vertical}.business-object-dialog input:focus,.business-object-dialog select:focus,.business-object-dialog textarea:focus{border-color:#3472f6;outline:0;box-shadow:0 0 0 3px #3472f624}.business-object-dialog label small{color:#667085;font-size:11px}.business-object-dialog__wide{grid-column:1 / -1}.business-object-dialog__checkbox{grid-column:1 / -1;display:flex!important;align-items:center;gap:8px!important}.business-object-dialog__checkbox input{width:auto}.business-object-dialog__actions{display:flex;justify-content:flex-end;gap:8px}.business-object-dialog__actions button{border:1px solid #d0d5dd;border-radius:6px;padding:8px 13px;background:#fff;color:#344054}.business-object-dialog__actions button[type=submit]{border-color:#3472f6;background:#3472f6;color:#fff}.business-object-dialog__actions button:disabled{opacity:.55}@media (max-width: 560px){.business-object-dialog__fields{grid-template-columns:1fr}.business-object-dialog__wide,.business-object-dialog__checkbox{grid-column:auto}}.confirm-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:16px;background:#0f172a66;animation:confirm-fade-in .18s ease-out}@keyframes confirm-fade-in{0%{opacity:0}to{opacity:1}}@keyframes confirm-pop-in{0%{opacity:0;transform:translateY(-8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.confirm-dialog{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon body" "actions actions";align-items:start;gap:20px 16px;width:min(100%,440px);border:1px solid #e4e7ec;border-radius:14px;padding:24px;background:#fff;box-shadow:0 20px 48px #0f172a33;animation:confirm-pop-in .22s ease-out}.confirm-dialog__icon{grid-area:icon;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#fef3f2;color:#c24141}.confirm-dialog__icon svg{width:22px;height:22px}.confirm-dialog__body{grid-area:body;display:grid;gap:6px}.confirm-dialog__body h2{margin:0;font-size:16px;font-weight:600;color:#101828;line-height:1.4}.confirm-dialog__body #confirm-dialog-message{color:#475467;font-size:14px;line-height:1.55}.confirm-dialog__actions{grid-area:actions;display:flex;justify-content:flex-end;gap:8px;padding-top:4px}.confirm-dialog__actions button{border-radius:8px;padding:8px 16px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s}.confirm-dialog__cancel{border:1px solid #d0d5dd;background:#fff;color:#344054}.confirm-dialog__cancel:hover{background:#f2f4f7}.confirm-dialog__confirm{border:1px solid transparent;color:#fff}.confirm-dialog__confirm--primary{background:#3472f6}.confirm-dialog__confirm--primary:hover{background:#2d63d8}.confirm-dialog__confirm--destructive{background:#c24141}.confirm-dialog__confirm--destructive:hover{background:#a93636}.confirm-dialog__confirm:focus-visible,.confirm-dialog__cancel:focus-visible{outline:0;box-shadow:0 0 0 3px #3472f64d}.business-object-workspace{--sidebar-width: 254px;display:grid;min-height:100vh;grid-template-columns:var(--sidebar-width) minmax(0,1fr);background:#fff;color:#172033;transition:grid-template-columns .2s ease}.business-object-workspace.is-collapsed{--sidebar-width: 72px}.business-object-workspace__sidebar{border-right:1px solid #d9e1eb;display:flex;flex-direction:column;min-height:0}.business-object-workspace.is-collapsed .business-object-workspace__sidebar{overflow:hidden}.business-object-workspace__brand-row{display:flex;align-items:center;height:62px;border-bottom:1px solid #d9e1eb}.business-object-workspace__brand{flex:1;height:100%;border:0;padding:0 18px;background:#fff;color:#172033;font-size:16px;font-weight:700;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.business-object-workspace.is-collapsed .business-object-workspace__brand{padding:0 8px;font-size:13px;text-align:center}.business-object-workspace__toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:8px;border:1px solid #d0d5dd;border-radius:6px;background:#fff;color:#667085;cursor:pointer;flex-shrink:0;transition:background .15s ease,color .15s ease,border-color .15s ease}.business-object-workspace__toggle:hover{background:#f9fafb;color:#172033;border-color:#98a2b3}.business-object-workspace__toggle svg{width:16px;height:16px}.business-object-workspace.is-collapsed .business-object-workspace__toggle{margin:0 auto}.business-object-workspace__object-list{display:grid;gap:3px;padding:16px 10px;overflow-y:auto;flex:1;min-height:0;align-content:start}.business-object-workspace__object-list button{display:grid;gap:3px;border:0;border-radius:8px;padding:11px 12px;background:transparent;color:#475467;text-align:left;transition:background .15s ease}.business-object-workspace__object-list button:hover{background:#f6f8fb}.business-object-workspace__object-list button.active{background:#edf1f6;color:#172033}.business-object-workspace__object-list strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.business-object-workspace__object-list span,.business-object-workspace__object-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.business-object-workspace.is-collapsed .business-object-workspace__object-list{padding:12px 8px}.business-object-workspace.is-collapsed .business-object-workspace__object-list button{padding:10px 4px;text-align:center;gap:0}.business-object-workspace.is-collapsed .business-object-workspace__object-list strong{font-size:15px;font-weight:700;line-height:1}.business-object-workspace__content>header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #d9e1eb;padding:22px 20px 16px}.business-object-workspace__content h1,.business-object-workspace__content p{margin:0}.business-object-workspace__content h1{margin-bottom:6px;font-size:25px}.business-object-workspace__content header p{color:#667085}.business-object-workspace__toolbar{display:flex;gap:8px}.business-object-workspace__create{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:6px;padding:9px 14px;background:#244da7;color:#fff;font-size:14px;cursor:pointer}.business-object-workspace__create:hover{background:#1e4089}.business-object-workspace__create svg{width:16px;height:16px}.business-object-workspace__error,.business-object-workspace__state{margin:24px 20px 0;color:#667085}.business-object-workspace__error{padding:10px 14px;border-radius:6px;background:#fee2e2;color:#991b1b;font-size:14px}.business-object-workspace__status{width:max-content;border-radius:999px;padding:3px 8px;font-size:12px;background:#f1f5f9;color:#64748b}.business-object-workspace__status--published{background:#dcfce7;color:#166534}.business-object-workspace__status--testing{background:#fff7d6;color:#854d0e}.business-object-workspace__status--draft{background:#f1f5f9;color:#64748b}.business-object-workspace__status--disabled,.business-object-workspace__status--archived{background:#fee2e2;color:#991b1b}.business-object-workspace__template-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding:20px}.business-object-workspace__template-card{display:grid;border:1px solid #dce3ed;border-radius:10px;background:#fff;box-shadow:0 1px 2px #0f172a0a;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.business-object-workspace__template-card:hover{border-color:#98a2b3;box-shadow:0 6px 18px #0f172a14;transform:translateY(-1px)}.business-object-workspace__template-card-body{display:grid;gap:8px;padding:0 16px 8px;cursor:pointer;outline:none}.business-object-workspace__template-card-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 16px 8px}.business-object-workspace__template-card-header small{color:#98a2b3;font-size:12px}.business-object-workspace__template-card-name{font-size:15px;line-height:1.3}.business-object-workspace__template-card-desc{margin:0;color:#667085;font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.business-object-workspace__template-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#98a2b3;font-size:12px}.business-object-workspace__template-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;padding:8px 16px 16px;border-top:1px dashed #eef1f5}.business-object-workspace__credentials{display:grid;min-width:0;gap:5px}.business-object-workspace__credentials>button{width:max-content;border:0;padding:2px 0;background:transparent;color:#b42318;font-size:12px;font-weight:600;cursor:pointer}.business-object-workspace__template-card-actions{display:flex;align-items:center;gap:10px}.business-object-workspace__template-card-actions button{border:0;padding:2px 0;background:transparent;color:#244da7;font-size:13px;font-weight:600;cursor:pointer}.business-object-workspace__template-card-actions button:disabled{color:#98a2b3;cursor:not-allowed}.business-object-workspace__empty{display:flex;width:100%;min-height:280px;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:0;padding:40px 24px;background:transparent;color:#172033;cursor:pointer}.business-object-workspace__empty:hover{background:#f0f4f9}.business-object-workspace__empty>span:nth-child(2){font-size:15px;color:#475467}.business-object-workspace__empty-plus{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#eef2f6;color:#667085;margin-top:4px;transition:background .15s ease,color .15s ease}.business-object-workspace__empty:hover .business-object-workspace__empty-plus{background:#3472f6;color:#fff}.business-object-workspace__empty-plus svg{width:18px;height:18px}@media (max-width: 700px){.business-object-workspace,.business-object-workspace.is-collapsed{--sidebar-width: 100%;grid-template-columns:1fr}.business-object-workspace__sidebar{border-right:0;border-bottom:1px solid #d9e1eb}.business-object-workspace.is-collapsed .business-object-workspace__brand{padding:0 18px;font-size:16px;text-align:left}.business-object-workspace.is-collapsed .business-object-workspace__toggle{margin:0 8px 0 0}.business-object-workspace__object-list,.business-object-workspace.is-collapsed .business-object-workspace__object-list{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));padding:16px 10px}.business-object-workspace.is-collapsed .business-object-workspace__object-list button{padding:11px 12px;text-align:left;gap:3px}.business-object-workspace.is-collapsed .business-object-workspace__object-list strong{font-size:14px;font-weight:700;line-height:inherit}.business-object-workspace__template-grid{grid-template-columns:1fr}}.template-editor{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:100vh;background:#f8fafc}.template-editor__sidebar{border-right:1px solid #e2e8f0;background:#fff;padding:20px 16px;position:sticky;top:0;height:100vh;overflow:auto}.template-editor__brand{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;background:#fff;border:1px solid #d0d5dd;border-radius:7px;font-size:13px;color:#344054;cursor:pointer;text-align:left;transition:all .15s ease}.template-editor__brand svg{width:14px;height:14px;stroke:#475467;transition:transform .15s ease,stroke .15s ease}.template-editor__brand:hover{color:#244da7;border-color:#b7cdf8;background:#f5f8ff}.template-editor__brand:hover svg{stroke:#244da7;transform:translate(-2px)}.template-editor__brand:active{transform:scale(.98)}.template-editor__meta{display:grid;gap:12px}.template-editor__meta label{display:grid;gap:6px;font-size:13px;color:#475467}.template-editor__meta label>span{font-weight:500}.template-editor__meta input,.template-editor__meta select,.template-editor__meta textarea{border:1px solid #d0d5dd;border-radius:6px;padding:8px 10px;font-size:14px;background:#fff;color:#101828;width:100%;box-sizing:border-box;font-family:inherit}.template-editor__meta input:focus,.template-editor__meta select:focus,.template-editor__meta textarea:focus{outline:2px solid #c7ddff;outline-offset:0;border-color:#5b8def}.template-editor__summary{background:#f7f9fc;border-radius:8px;padding:10px 12px;font-size:13px;color:#475467;display:flex;justify-content:space-between;align-items:center}.template-editor__summary strong{color:#101828;font-size:16px}.template-editor__summary-error{margin:8px 0 0;grid-column:1 / -1;color:#b42318;font-size:12px}.template-editor__actions{display:grid;gap:8px}.template-editor__primary,.template-editor__ghost{border:0;border-radius:6px;padding:10px 14px;font-size:14px;cursor:pointer}.template-editor__primary{background:#244da7;color:#fff}.template-editor__primary:hover{background:#1e4089}.template-editor__primary--publish{background:#166534}.template-editor__primary--publish:hover{background:#14532d}.template-editor__ghost{background:transparent;color:#475467;border:1px solid #d0d5dd}.template-editor__ghost:hover{background:#f2f4f7}.template-editor__save{margin:4px 0 0;padding:10px 12px;border-radius:6px;font-size:13px}.template-editor__save--ok{background:#dcfce7;color:#166534}.template-editor__save--error{background:#fee2e2;color:#991b1b}.template-editor__notice{margin:20px;padding:40px 20px;border:1px dashed #cbd5e1;border-radius:10px;background:#fff;color:#64748b;text-align:center;font-size:14px}.template-editor__notice--error{color:#991b1b;background:#fef2f2}.builder-page{min-height:100vh;padding:20px 24px 40px;background:#f5f7fb;color:#101828}.builder-page__header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;max-width:1600px;margin:0 auto 16px}.builder-page__header h1{margin:0;font-size:22px}.builder-page__header p{margin:4px 0 0;color:#667085;font-size:13px}.builder-page__actions{display:flex;gap:8px}.builder-button{border:0;border-radius:7px;padding:9px 14px;background:#244da7;color:#fff;font-size:13px;cursor:pointer}.builder-button--ghost{color:#344054;background:#fff;border:1px solid #d0d5dd}.builder-button--test{color:#244da7;background:#edf3ff;border:1px solid #b7cdf8}.builder-button--publish{background:#166534}.builder-button:disabled{opacity:.45;cursor:not-allowed}.builder-save{max-width:1600px;margin:0 auto 12px;padding:9px 12px;border-radius:7px;font-size:13px}.builder-save--ok{color:#166534;background:#dcfce7}.builder-save--error{color:#991b1b;background:#fee2e2}.template-editor__tabs{display:flex;max-width:1600px;margin:0 auto 14px;overflow-x:auto;border:1px solid #d9e1eb;border-radius:10px;background:#fff}.template-editor__tabs button{display:grid;flex:1 0 190px;gap:3px;min-height:62px;border:0;border-right:1px solid #e4e7ec;padding:11px 16px;background:#fff;color:#667085;text-align:left;cursor:pointer}.template-editor__tabs button:last-child{border-right:0}.template-editor__tabs button strong{color:#344054;font-size:13px}.template-editor__tabs button span{font-size:11px}.template-editor__tabs button:hover:not(:disabled){background:#f7f9fc}.template-editor__tabs button.is-active{box-shadow:inset 0 -3px #244da7;background:#f5f8ff}.template-editor__tabs button.is-active strong{color:#244da7}.template-editor__tabs button:disabled{background:#f9fafb;color:#98a2b3;cursor:not-allowed}.template-editor__tabs button:disabled strong{color:#98a2b3}.template-editor__json-import,.template-editor__image-import{max-width:1600px;min-height:500px;margin:0 auto 14px;padding:20px;border:1px solid #d9e1eb;border-radius:10px;background:#fff;box-sizing:border-box}.template-editor__image-actions{display:flex;gap:8px}.template-editor__image-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:14px}.template-editor__image-preview{display:grid;min-height:340px;place-items:center;align-content:center;gap:10px;overflow:hidden;border:1px dashed #b9c5d6;border-radius:9px;background:#f8fafc;color:#667085}.template-editor__image-preview img{display:block;max-width:100%;max-height:430px;object-fit:contain}.template-editor__image-preview button{border:0;background:transparent;color:#2f66dc;cursor:pointer}.template-editor__image-preview span{padding:0 12px 12px;font-size:12px}.template-editor__image-result{min-height:340px;overflow:auto;border:1px solid #e4e7ec;border-radius:9px;background:#fbfcfd}.template-editor__image-result>div{display:flex;justify-content:space-between;padding:13px 15px;border-bottom:1px solid #e4e7ec;color:#667085;font-size:12px}.template-editor__image-result>div strong{color:#101828;font-size:13px}.template-editor__image-result ol{display:grid;gap:0;margin:0;padding:0;list-style:none}.template-editor__image-result li{display:flex;justify-content:space-between;gap:12px;padding:11px 15px;border-bottom:1px solid #eef2f7;color:#344054;font-size:13px}.template-editor__image-result li em{margin-left:3px;color:#d92d20;font-style:normal}.template-editor__image-result li small{color:#98a2b3}.template-editor__image-result>p{margin:0;padding:24px 15px;color:#98a2b3;font-size:12px;line-height:1.6}.template-editor__image-progress{height:5px;margin-top:14px;overflow:hidden;border-radius:999px;background:#eef2f7}.template-editor__image-progress span{display:block;height:100%;border-radius:inherit;background:#2f66dc;transition:width .25s ease}.template-editor__json-import-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.template-editor__json-import-head strong{color:#101828;font-size:14px}.template-editor__json-import-head p{margin:4px 0 0;color:#667085;font-size:12px}.template-editor__json-import-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.template-editor__json-import-grid label,.template-editor__json-result-wrap{display:grid;gap:7px;min-width:0;color:#344054;font-size:12px;font-weight:600}.template-editor__editor.template-editor__editor--compact,.template-editor__json-result{min-height:300px;height:300px;margin:0}.template-editor__json-result{overflow:auto;border:1px solid #d0d5dd;border-radius:8px;padding:12px;background:#fbfcfd;color:#344054;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;white-space:pre-wrap;box-sizing:border-box}.template-editor__json-sample-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.template-editor__json-sample-actions span{flex:1}.template-editor__json-sample-btn{border:1px solid #d0d5dd;background:#fff;border-radius:6px;padding:3px 9px;font-size:11px;color:#344054;cursor:pointer}.template-editor__json-sample-btn:hover{background:#f2f4f7}.template-editor__json-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid #eef2f7;color:#667085;font-size:12px}.builder-layout{display:grid;grid-template-columns:220px 330px minmax(0,1fr);gap:14px;max-width:1600px;height:calc(100vh - 230px);min-height:420px;margin:0 auto}.builder-panel{min-width:0;padding:16px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;display:flex;flex-direction:column;overflow:hidden}.builder-panel--list,.builder-panel--preview{overflow:hidden}.builder-panel__heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:12px;border-bottom:1px solid #eef2f7;color:#667085;font-size:12px;flex-shrink:0}.builder-panel__heading strong{color:#101828;font-size:14px}.builder-panel__body{flex:1;min-height:0;overflow-y:auto}.builder-selector{display:grid;gap:8px}.builder-selector__item{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 11px;border:1px solid #e4e7ec;border-radius:7px;background:#fff;color:#344054;text-align:left;cursor:pointer}.builder-selector__item:hover{border-color:#5b8def;background:#f5f8ff}.builder-selector__plus{color:#2f66dc;font-size:18px}.builder-selector__hint{margin:8px 0 0;color:#98a2b3;font-size:12px;line-height:1.5}.builder-field-list{display:grid;gap:8px;padding-top:12px}.builder-field-item{display:flex;align-items:stretch;border:1px solid #e4e7ec;border-radius:7px;overflow:hidden}.builder-field-item.is-selected{border-color:#5b8def;box-shadow:0 0 0 2px #e7efff}.builder-field-item.is-dragging{opacity:.55}.builder-field-item__drag{display:grid;width:28px;place-items:center;color:#98a2b3;cursor:grab;-webkit-user-select:none;user-select:none;letter-spacing:-3px}.builder-field-item__body{flex:1;min-width:0;padding:10px;border:0;background:#fff;color:#101828;text-align:left;cursor:pointer}.builder-field-item__title,.builder-field-item__meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.builder-field-item__title{font-size:13px;font-weight:600}.builder-field-item__title em,.builder-required{margin-left:3px;color:#d92d20;font-style:normal}.builder-field-item__meta{margin-top:4px;color:#98a2b3;font-size:11px}.builder-field-item__delete{padding:0 9px;border:0;border-left:1px solid #eef2f7;background:#fff;color:#b42318;cursor:pointer}.builder-empty{display:grid;min-height:160px;place-items:center;padding:20px;color:#98a2b3;font-size:13px;text-align:center}.builder-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:16px}.builder-preview-item{min-width:0;padding:12px;border:1px solid transparent;border-radius:8px;background:#fbfcfd;text-align:left}.builder-preview-item:hover{border-color:#b7cdf8;background:#f7faff}.builder-rendered-field{min-width:0}.builder-rendered-field--span-3{grid-column:span 3}.builder-rendered-field label{display:block;margin-bottom:6px;color:#344054;font-size:12px;font-weight:600}.builder-rendered-field input,.builder-rendered-field select,.builder-rendered-field textarea{width:100%;min-width:0;border:1px solid #d0d5dd;border-radius:6px;padding:8px 10px;background:#fff;color:#667085;font-size:13px;box-sizing:border-box}.builder-rendered-field input,.builder-rendered-field select{height:38px}.builder-rendered-field textarea{min-height:78px;resize:vertical}.builder-rendered-field__description{display:block;margin:-2px 0 6px;color:#98a2b3;font-size:11px}.builder-rendered-field__error{display:block;margin-top:5px;color:#b42318;font-size:11px}.builder-search-control{display:grid;gap:6px}.builder-search-control input{height:32px;font-size:12px}.builder-address{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.builder-address .builder-address__detail,.builder-rendered-field--address{grid-column:1 / -1}.builder-address select:disabled,.builder-stage select:disabled{background:#f2f4f7;color:#98a2b3;cursor:not-allowed}.builder-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}.builder-preview-actions{grid-column:1 / -1;display:flex;justify-content:flex-end}.builder-floating-edit{position:fixed;right:28px;bottom:24px;border:0;border-radius:999px;padding:11px 16px;background:#244da7;color:#fff;box-shadow:0 5px 18px #244da744;cursor:pointer}.builder-dialog__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;padding:20px;background:#10182866}.builder-dialog{width:min(560px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:10px;background:#fff;box-shadow:0 18px 50px #10182833}.builder-dialog header,.builder-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #eef2f7}.builder-dialog header h2{margin:0;font-size:17px}.builder-dialog header p{margin:3px 0 0;color:#98a2b3;font-size:12px}.builder-dialog header button{border:0;background:transparent;color:#667085;font-size:22px;cursor:pointer}.builder-dialog__body{display:grid;gap:13px;padding:18px}.builder-dialog__body label{display:grid;gap:6px;color:#344054;font-size:12px;font-weight:600}.builder-dialog__body input,.builder-dialog__body select{height:38px;border:1px solid #d0d5dd;border-radius:6px;padding:0 9px;font-size:13px}.builder-dialog__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.builder-check{display:flex!important;align-items:center;align-self:end;height:38px}.builder-check input{width:16px;height:16px}.builder-options{display:grid;gap:8px}.builder-options__head{display:flex;justify-content:space-between;color:#344054;font-size:12px}.builder-options__head button{border:0;background:transparent;color:#2f66dc;cursor:pointer}.builder-option{display:grid;grid-template-columns:1fr auto;gap:6px}.builder-option button{border:0;background:#fff;color:#b42318;cursor:pointer}.builder-dialog__error{margin:0;padding:9px 11px;border-radius:6px;background:#fee4e2;color:#b42318;font-size:12px;line-height:1.5}.builder-dialog footer{justify-content:flex-end;border-top:1px solid #eef2f7;border-bottom:0}@media (max-width: 1000px){.builder-page__header{grid-template-columns:1fr;gap:8px}.builder-page__actions{flex-wrap:wrap}.builder-layout{grid-template-columns:180px 260px minmax(0,1fr)}.builder-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-rendered-field--span-3{grid-column:span 2}}@media (max-width: 720px){.template-editor__tabs button{flex-basis:160px}.template-editor__json-import,.template-editor__image-import{min-height:0;padding:14px}.template-editor__json-import-head,.template-editor__json-actions{align-items:stretch;flex-direction:column}.template-editor__json-import-grid,.template-editor__image-grid{grid-template-columns:1fr}.template-editor__image-actions{flex-wrap:wrap}.template-editor__editor--compact,.template-editor__json-result{height:220px;min-height:220px}}@media (max-width: 720px){.builder-page{padding:14px}.builder-layout{grid-template-columns:1fr;height:auto;min-height:0}.builder-panel{min-height:auto}.builder-preview-grid{grid-template-columns:1fr}.builder-rendered-field--span-3{grid-column:span 1}.builder-address{grid-template-columns:1fr 1fr}.builder-address .builder-address__detail{grid-column:1 / -1}}.template-editor__main{padding:20px 24px}.template-editor__title{margin-bottom:16px}.template-editor__title h1{margin:0;font-size:22px;color:#101828}.template-editor__title p{margin:4px 0 0;color:#667085;font-size:14px}.template-editor__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.template-editor__json,.template-editor__preview{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;display:flex;flex-direction:column;min-height:420px}.template-editor__json-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #eef2f7;margin-bottom:12px;color:#475467;font-size:13px}.template-editor__json-head strong{color:#101828;font-size:14px}.template-editor__editor{width:100%;flex:1;min-height:360px;border:1px solid #d0d5dd;border-radius:8px;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px;line-height:1.55;color:#101828;background:#fbfcfd;resize:vertical;box-sizing:border-box}.template-editor__editor:focus{outline:2px solid #c7ddff;outline-offset:0;border-color:#5b8def;background:#fff}.template-editor__parse-error{margin:12px 0 0;padding:10px 12px;background:#fef2f2;border-radius:6px;color:#991b1b;font-size:13px;white-space:pre-wrap}.template-editor__parse-warning{margin:12px 0 0;padding:10px 12px;border-radius:6px;background:#fff7db;color:#7a4e00;font-size:13px}.template-editor__reset{border:1px solid #d0d5dd;background:#fff;border-radius:6px;padding:4px 10px;font-size:12px;color:#475467;cursor:pointer}.template-editor__reset:hover{background:#f2f4f7}@media (max-width: 1000px){.template-editor{grid-template-columns:1fr}.template-editor__sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #e2e8f0}.template-editor__grid{grid-template-columns:1fr}}.template-test-page{min-height:100vh;padding:24px 24px 48px;background:#f5f7fb;color:#101828}.template-test-page__header,.template-test-page__state,.template-test-page__error{width:min(1440px,100%);margin-right:auto;margin-left:auto;box-sizing:border-box}.template-test-page__header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.template-test-page__identity{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;min-width:0;flex:1;justify-content:flex-end}.template-test-page__identity .tenant-id-field{min-width:220px;flex:1;max-width:320px}.template-test-page__back{display:inline-flex;align-items:center;gap:6px;border:1px solid #e4e7ec;border-radius:8px;padding:8px 14px;background:#fff;color:#3472f6;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.template-test-page__back:hover{background:#f2f4f8;color:#244da7;border-color:#b3c5f5}.template-test-page__back svg{flex-shrink:0}.template-test-page__name{margin-left:4px;padding-left:8px;border-left:1px solid #e4e7ec;color:#475467;font-weight:500;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-test-page__state,.template-test-page__error{padding:18px;border-radius:8px;background:#fff;color:#667085}.template-test-page__error{background:#fee2e2;color:#991b1b}.template-test__workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;width:min(1440px,100%);margin-right:auto;margin-left:auto;align-items:stretch}.chat-panel,.result-panel{display:flex;flex-direction:column;min-height:720px;max-height:calc(100vh - 200px);background:#fff;border:1px solid #e4e7ec;border-radius:12px;box-shadow:0 1px 2px #1018280a;overflow:hidden}.chat-panel__messages{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px;border-bottom:1px solid #f0f0f3}.chat-panel__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:60px 20px;color:#98a2b3;text-align:center}.chat-panel__empty svg{color:#c4c9d3}.chat-panel__empty p{margin:0;font-size:14px;color:#667085}.chat-panel__empty p strong{color:#244da7}.chat-panel__empty small{font-size:12px;color:#98a2b3}.chat-message{display:flex;flex-direction:column;gap:6px}.chat-message--user{align-items:flex-end}.chat-message--system{align-items:flex-start}.chat-message__bubble{max-width:85%;padding:10px 14px;border-radius:14px 14px 4px;background:#3472f6;color:#fff;font-size:14px;line-height:1.6;white-space:pre-wrap;word-break:break-word}.chat-message__attachments{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.mini-attachment{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:#f0f4ff;color:#3472f6;font-size:12px}.chat-message__system{padding:8px 12px;border-radius:10px;background:#f2f4f8;color:#475467;font-size:13px;line-height:1.5;max-width:90%}.chat-message__system--loading{display:inline-flex;align-items:center;gap:8px}.audio-transcript{display:flex;flex-direction:column;gap:4px;white-space:pre-wrap;word-break:break-word}.audio-transcript strong{color:#244da7}.audio-transcript small{color:#b42318}.audio-transcript--succeeded{background:#eef4ff}.spinner{width:14px;height:14px;border:2px solid #d0d5dd;border-top-color:#3472f6;border-radius:50%;animation:spin .8s linear infinite;display:inline-block}.spinner--sm{width:12px;height:12px}@keyframes spin{to{transform:rotate(360deg)}}.chat-panel__composer{padding:14px 16px 16px;background:#fafbfd}.composer__attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.composer__recording-error{margin:0 0 10px;color:#b42318;font-size:12px;line-height:1.5}.composer__recording-status{display:flex;align-items:center;gap:6px;margin:0 0 10px;color:#d92d20;font-size:12px;font-weight:600}.composer__attachment{display:inline-flex;align-items:center;gap:6px;padding:4px 8px 4px 10px;border-radius:6px;background:#eef2ff;color:#3472f6;font-size:12px}.composer__attachment-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer__attachment-remove{border:0;padding:2px;background:transparent;color:#667085;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:4px}.composer__attachment-remove:hover{background:#dbe0f0;color:#991b1b}.composer__input{width:100%;box-sizing:border-box;resize:none;min-height:84px;max-height:180px;padding:12px 14px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#101828;font-size:14px;line-height:1.6;font-family:inherit;outline:none;transition:border-color .15s,box-shadow .15s}.composer__input:focus{border-color:#3472f6;box-shadow:0 0 0 3px #3472f626}.composer__input:disabled{background:#f5f7fb;color:#98a2b3;cursor:not-allowed}.composer__toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.composer__toolbar-left{display:flex;gap:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#475467;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.icon-button:hover:not(:disabled){background:#f2f4f8;color:#3472f6;border-color:#b3c5f5}.icon-button:disabled{opacity:.5;cursor:not-allowed}.icon-button--recording{border-color:#d92d20;background:#fef3f2;color:#d92d20;animation:recording-pulse 1.2s ease-in-out infinite}@keyframes recording-pulse{50%{box-shadow:0 0 0 4px #d92d201f}}.hidden-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.composer__send{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:10px;background:#3472f6;color:#fff;cursor:pointer;transition:background .15s,opacity .15s}.composer__send:hover:not(:disabled){background:#244da7}.composer__send:disabled{background:#9aa7bd;cursor:not-allowed}.result-panel__header{display:flex;align-items:center;gap:8px;padding:16px 18px;border-bottom:1px solid #f0f0f3;font-size:15px;color:#2f343d}.result-panel__header svg{color:#3472f6}.result-panel__status{margin-left:auto;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:500}.result-panel__status--loading{display:inline-flex;align-items:center;gap:6px;background:#eef2ff;color:#3472f6}.result-panel__status--draft{background:#fff4e5;color:#b54708}.result-panel__status--success{background:#e6f4ea;color:#067647}.result-panel__settings-toggle{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #e4e7ec;border-radius:8px;background:#fff;color:#667085;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.result-panel__settings-toggle:hover{background:#f2f4f8;color:#3472f6;border-color:#b3c5f5}.result-panel__settings-toggle.is-active{background:#eef2ff;color:#3472f6;border-color:#b3c5f5}.result-panel__header>.result-panel__status{margin-left:0}.result-panel__settings{padding:16px 18px;border-bottom:1px solid #f0f0f3;background:#fafbfd;display:flex;flex-direction:column;gap:14px}.settings-section{display:flex;flex-direction:column;gap:8px}.settings-section__label{font-size:12px;font-weight:600;color:#475467;letter-spacing:.02em}.settings-section__select-wrapper{position:relative}.settings-section__select{width:100%;box-sizing:border-box;-moz-appearance:none;appearance:none;-webkit-appearance:none;padding:9px 32px 9px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;font-size:13px;font-family:inherit;cursor:pointer;outline:none;transition:border-color .15s,box-shadow .15s}.settings-section__select:focus{border-color:#3472f6;box-shadow:0 0 0 3px #3472f626}.settings-section__select:disabled{background:#f5f7fb;color:#98a2b3;cursor:not-allowed}.settings-section__select-arrow{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:#667085;pointer-events:none}.settings-divider{display:flex;align-items:center;gap:10px;color:#98a2b3;font-size:12px}.settings-divider:before,.settings-divider:after{content:"";flex:1;height:1px;background:#e4e7ec}.settings-section__uuid-input{display:flex;gap:8px}.settings-section__input{flex:1;min-width:0;padding:9px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;font-size:13px;font-family:inherit;outline:none;transition:border-color .15s,box-shadow .15s}.settings-section__input:focus{border-color:#3472f6;box-shadow:0 0 0 3px #3472f626}.settings-section__input:disabled{background:#f5f7fb;color:#98a2b3;cursor:not-allowed}.settings-section__input::placeholder{color:#98a2b3}.settings-section__uuid-button{display:inline-flex;align-items:center;gap:6px;padding:0 14px;border:0;border-radius:8px;background:#3472f6;color:#fff;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s,opacity .15s}.settings-section__uuid-button:hover:not(:disabled){background:#244da7}.settings-section__uuid-button:disabled{background:#9aa7bd;cursor:not-allowed}.settings-section__error{margin:0;padding:6px 10px;border-radius:6px;background:#fee2e2;color:#991b1b;font-size:12px;line-height:1.5}.settings-current{display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-radius:8px;background:#eef2ff;border:1px solid #d1e0ff}.settings-current__label{font-size:11px;font-weight:600;color:#475467;letter-spacing:.04em;text-transform:uppercase}.settings-current__name{font-size:14px;color:#101828;font-weight:600}.settings-current__uuid{font-size:11px;color:#667085;font-family:SF Mono,Monaco,Consolas,monospace;word-break:break-all}.result-panel__empty{padding:60px 24px;text-align:center;color:#98a2b3}.result-panel__empty-title{margin:0 0 8px;font-size:15px;color:#667085;font-weight:500}.result-panel__empty p{margin:0;font-size:13px;line-height:1.6}.result-panel__error{margin-top:16px!important;padding:10px 14px;border-radius:8px;background:#fee2e2;color:#991b1b!important;font-size:13px!important;text-align:left!important}.result-list{flex:1;overflow-y:auto;padding:16px 18px;display:flex;flex-direction:column;gap:4px;transition:opacity .25s}.result-list.is-refreshing{opacity:.55;pointer-events:none}.result-summary{margin:10px 18px 0;padding:8px 12px;border-radius:8px;background:#fef3c7;color:#92400e;font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px}.result-summary--done{background:#ecfdf3;color:#067647}.result-summary__extra{font-weight:500;opacity:.85;margin-left:4px}.result-list__group{display:flex;flex-direction:column;gap:2px;margin-top:6px}.result-list__group-title{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:4px 8px;margin:8px 0 4px;border-radius:4px;display:inline-flex;width:fit-content}.result-list__group-title--required{background:#fef3f2;color:#b42318}.result-list__group-title--optional{background:#f2f4f7;color:#475467}.result-panel__overlay-banner{margin:12px 18px 0;padding:10px 14px;border-radius:8px;font-size:13px;line-height:1.5;display:flex;align-items:center;gap:8px}.result-panel__overlay-banner--parsing{background:#eef2ff;color:#244da7;border:1px solid #d1e0ff}.result-panel__overlay-banner--error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.result-row{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:8px 10px;border-radius:6px;font-size:14px;align-items:start}.result-row:hover{background:#f9fafb}.result-row--missing{background:#fff8f7}.result-row--missing .result-row__label{color:#d92d20}.result-row--updated{background:linear-gradient(90deg,#16a34a29,#16a34a05);animation:result-row-flash 2s ease-out both;border-left:3px solid #16a34a;border-radius:8px 6px 6px 8px}.result-row--updated .result-row__label{color:#067647}.result-row--updated .result-row__value{color:#054f31}@keyframes result-row-flash{0%{box-shadow:0 0 #16a34a59}35%{box-shadow:0 0 0 6px #16a34a14}to{box-shadow:0 0 #16a34a00}}.result-row__label{color:#7b8494;display:flex;align-items:center;gap:4px}.result-row__label b{color:#e60012;font-weight:700}.result-row__value{color:#101828;word-break:break-word;font-weight:500}.result-row__value--json{font-weight:400}.result-row__value--json pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.5;font-weight:400}.result-row__value.muted{color:#98a2b3;font-weight:400}.result-panel__notice{margin:0 18px 12px;padding:12px 14px;border-radius:8px;background:#fff4e5;color:#b54708;font-size:13px;line-height:1.6}.result-panel__notice ul{margin:6px 0 0;padding-left:18px}.result-panel__notice li{margin:2px 0}.result-panel__actions{padding:14px 18px 18px;border-top:1px solid #f0f0f3;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.result-panel__loading,.result-panel__success{margin:0;width:100%;font-size:14px}.result-panel__loading{color:#667085}.result-panel__success{padding:10px 14px;border-radius:8px;background:#e6f4ea;color:#067647;font-weight:500;margin-bottom:6px}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;min-width:120px;min-height:38px;border:1px solid transparent;padding:0 20px;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s;font-family:inherit}.primary-button{color:#fff;background:#3472f6;border-color:#3472f6}.primary-button:hover{background:#244da7;border-color:#244da7}.primary-button--disabled,.primary-button:disabled{background:#e4e7ec;border-color:#e4e7ec;color:#98a2b3;cursor:not-allowed}.secondary-button{color:#475467;background:#fff;border-color:#d0d5dd}.secondary-button:hover{background:#f9fafb;color:#101828}@media (max-width: 960px){.template-test__workspace{grid-template-columns:1fr}.chat-panel,.result-panel{min-height:520px;max-height:none}}@media (max-width: 720px){.template-test-page{padding:16px 14px 32px}.template-test-page__name{display:none}.result-row{grid-template-columns:100px 1fr}}.tenant-id-field{display:grid;gap:6px}.tenant-id-field label{color:#667085;font-size:12px;font-weight:700}.tenant-id-field__row{display:flex;gap:8px;min-width:0}.tenant-id-field input{flex:1;min-width:0;border:1px solid #e4e7ec;border-radius:8px;padding:7px 10px;background:#fff;color:#101828;font-size:13px}.tenant-id-field input:focus{outline:none;border-color:#84c5c2;box-shadow:0 0 0 3px #28a6a21f}.tenant-id-field button{flex-shrink:0;border:1px solid #d0d5dd;border-radius:8px;padding:7px 12px;background:#f9fafb;color:#344054;font-size:12px;font-weight:700;cursor:pointer}.tenant-id-field button:hover:not(:disabled){background:#f2f4f7}.tenant-id-field button:disabled{cursor:not-allowed;opacity:.55}.knowledgebase-page{min-height:100vh;padding:24px clamp(16px,3vw,40px) 48px;background:#fff;color:#172033}.knowledgebase-page__header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.knowledgebase-page__actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.knowledgebase-page__title{display:flex;align-items:center;gap:10px}.knowledgebase-page__title>svg{width:27px;height:27px;color:#28a6a2}.knowledgebase-page__title p,.knowledgebase-page__title h1,.knowledgebase-page__title span{margin:0}.knowledgebase-page__title p{color:#667085;font-size:11px;font-weight:700;letter-spacing:.14em}.knowledgebase-page__title h1{font-size:25px;line-height:1.1}.knowledgebase-page__title span,.knowledgebase-page__state,.knowledgebase-document-list small{color:#667085;font-size:13px}.knowledgebase-page__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.knowledgebase-page__stats{display:flex;flex-wrap:wrap;gap:18px;align-items:center}.knowledgebase-page__stats>span{display:inline-flex;align-items:baseline;gap:6px;color:#667085;font-size:12px}.knowledgebase-page__stats>span strong{color:#101828;font-size:18px;font-weight:800}.knowledgebase-page__summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.knowledgebase-page__summary>div{display:grid;gap:4px;border:1px solid #e4e7ec;border-radius:8px;padding:14px;background:#f9fafb}.knowledgebase-page__summary span{color:#667085;font-size:12px}.knowledgebase-page__summary strong{color:#101828;font-size:20px}.knowledgebase-page__primary,.knowledgebase-page__secondary{display:inline-flex;height:38px;align-items:center;justify-content:center;gap:8px;border-radius:6px;padding:0 14px;font-size:14px;font-weight:700}.knowledgebase-page__primary{border:1px solid #3472f6;background:#3472f6;color:#fff}.knowledgebase-page__secondary{border:1px solid #d0d5dd;background:#fff;color:#344054}.knowledgebase-page__primary svg,.knowledgebase-page__secondary svg{width:16px;height:16px}.knowledgebase-page__primary:disabled{opacity:.6}.knowledgebase-page__error{margin:12px 0;border-left:3px solid #d92d20;padding:9px 12px;background:#fff4f2;color:#b42318;font-size:14px}.knowledgebase-page__layout{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:16px;align-items:start}.knowledgebase-page__layout--data{grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:stretch;height:calc(100vh - 260px);min-height:420px}.knowledgebase-page__layout--data .knowledgebase-page__documents,.knowledgebase-page__layout--data .knowledgebase-page__chunks{display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden}.knowledgebase-page__layout--data .knowledgebase-page__panel-title{margin-bottom:0}.knowledgebase-page__documents,.knowledgebase-page__chunks{border:1px solid #e4e7ec;border-radius:8px;background:#fff;min-height:480px;padding:16px}.knowledgebase-page__panel-head{display:flex;flex-direction:column;gap:10px;padding:14px 16px 12px;border-bottom:1px solid #eef0f3;background:#fff;flex-shrink:0}.knowledgebase-page__panel-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:14px 16px}.knowledgebase-page__search{position:relative;display:flex;align-items:center}.knowledgebase-page__search>svg{position:absolute;left:10px;width:15px;height:15px;color:#98a2b3;pointer-events:none}.knowledgebase-page__search input{box-sizing:border-box;width:100%;border:1px solid #d0d5dd;border-radius:7px;padding:7px 10px 7px 30px;background:#fff;color:#101828;font:inherit;font-size:13px}.knowledgebase-page__search input:focus{border-color:#3472f6;outline:2px solid #dbe8ff}.knowledgebase-page__panel-title{display:flex;align-items:center;gap:8px;margin-bottom:12px}.knowledgebase-page__panel-title svg{width:18px;height:18px;color:#28a6a2}.knowledgebase-page__panel-title h2{min-width:0;margin:0;overflow:hidden;color:#101828;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.knowledgebase-document-list{display:grid;gap:8px}.knowledgebase-document-row{display:flex;gap:8px;align-items:stretch}.knowledgebase-document-row__main{display:grid;flex:1 1 auto;width:100%;gap:6px;border:1px solid #e4e7ec;border-radius:7px;padding:10px 12px;background:#fff;color:#344054;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}.knowledgebase-document-row__main:hover{border-color:#3472f6;box-shadow:0 1px 4px #3472f61f}.knowledgebase-document-row__main.is-selected{border-color:#3472f6;background:#eff5ff}.knowledgebase-document-row__title{overflow:hidden;color:#101828;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.knowledgebase-document-row__meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.knowledgebase-document-row__meta small{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;background:#f2f4f7;color:#475467}.knowledgebase-document-row__type{background:#e6f4f1!important;color:#087568!important}.knowledgebase-document-row__chunks{background:#eff5ff!important;color:#175cd3!important}.knowledgebase-document-row__source{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.knowledgebase-document-row__delete{display:inline-flex;align-items:center;justify-content:center;border:1px solid #fda29b;border-radius:7px;background:#fff;color:#b42318;padding:0 10px;cursor:pointer;flex:0 0 auto}.knowledgebase-document-row__delete:hover:not(:disabled){background:#fef3f2;border-color:#fda29b}.knowledgebase-document-row__delete:disabled{opacity:.5;cursor:not-allowed}.knowledgebase-document-row__delete svg{width:16px;height:16px}.knowledgebase-page__metadata-inline{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0}.knowledgebase-page__metadata-inline div{display:inline-flex;align-items:baseline;gap:5px;min-width:0}.knowledgebase-page__metadata-inline dt{margin:0;color:#98a2b3;font-size:11px;font-weight:600;flex-shrink:0}.knowledgebase-page__metadata-inline dd{margin:0;overflow:hidden;color:#344054;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.knowledgebase-chunk-list{display:grid;gap:10px}.knowledgebase-chunk{display:grid;gap:8px;border:1px solid #e4e7ec;border-radius:7px;padding:12px;background:#fff}.knowledgebase-chunk header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#475467;font-size:12px}.knowledgebase-chunk header span,.knowledgebase-chunk header strong,.knowledgebase-chunk header em{border-radius:999px;padding:2px 7px;background:#f2f4f7;font-style:normal}.knowledgebase-chunk header strong{background:#e6f4f1;color:#087568}.knowledgebase-chunk p{margin:0;color:#172033;font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.knowledgebase-chunk footer{color:#667085;font-size:12px}.knowledgebase-chunk__meta{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding-top:4px;border-top:1px solid #f2f4f7}.knowledgebase-chunk__meta-item{display:inline-flex;align-items:center;border-radius:999px;padding:2px 8px;background:#f2f4f7;color:#475467;font-size:11px;font-weight:600;line-height:1.5;word-break:break-word}.knowledgebase-page__state{margin:24px 0;text-align:center}.knowledge-assistant-fullscreen{display:flex;height:100vh;overflow:hidden;background:#f9fafb;color:#172033}.assistant-sidebar{display:flex;flex-direction:column;width:280px;min-width:280px;border-right:1px solid #e4e7ec;background:#fff}.assistant-sidebar__header{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 12px;border-bottom:1px solid #eef0f3}.assistant-sidebar__brand{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:#101828}.assistant-sidebar__brand svg{width:22px;height:22px;color:#28a6a2}.assistant-sidebar__back{display:inline-flex;height:32px;width:32px;align-items:center;justify-content:center;border:1px solid #d0d5dd;border-radius:6px;background:#fff;color:#344054;cursor:pointer}.assistant-sidebar__back:hover{background:#f9fafb}.assistant-sidebar__back svg{width:16px;height:16px}.assistant-sidebar__sessions{flex:1;padding:16px;display:grid;align-content:start;gap:14px}.assistant-sidebar__hint{margin:0;color:#667085;font-size:13px;line-height:1.6}.assistant-main{display:flex;flex:1;flex-direction:column;min-width:0;overflow:hidden}.assistant-main__header{display:flex;align-items:baseline;gap:12px;border-bottom:1px solid #e4e7ec;padding:14px 24px;background:#fff}.assistant-main__header h2{margin:0;font-size:17px;color:#101828}.assistant-main__header span{color:#667085;font-size:13px}.assistant-error{margin:8px 24px;border-left:3px solid #d92d20;padding:8px 12px;background:#fff4f2;color:#b42318;font-size:13px;border-radius:0 6px 6px 0}.assistant-main__messages{flex:1;overflow-y:auto;padding:20px 24px;display:flex;flex-direction:column;gap:16px}.assistant-welcome{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#98a2b3}.assistant-welcome svg{width:40px;height:40px;color:#d0d5dd}.assistant-welcome p{margin:0;font-size:14px}.assistant-typing{display:flex;align-items:center;gap:8px;color:#667085;font-size:13px}.assistant-typing svg{width:16px;height:16px;color:#28a6a2}.assistant-message{display:grid;max-width:min(760px,85%);gap:8px;border:1px solid #e4e7ec;border-radius:10px;padding:14px 16px;background:#fff}.assistant-message--user{align-self:flex-end;border-color:#b2ccff;background:#eff5ff}.assistant-message--assistant{align-self:flex-start;background:#fff}.assistant-message header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#667085;font-size:12px}.assistant-message__avatar{display:inline-flex;height:24px;width:24px;align-items:center;justify-content:center;border-radius:50%;background:#f2f4f7;font-size:12px;font-weight:700}.assistant-message--user .assistant-message__avatar{background:#dbe4ff;color:#3472f6}.assistant-message header svg{width:16px;height:16px;color:#28a6a2}.assistant-message header strong{color:#344054}.assistant-message header time{color:#98a2b3}.assistant-message header em{font-style:normal;color:#98a2b3}.assistant-message__body{color:#172033;font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.assistant-message footer{display:grid;gap:8px;border-top:1px solid #eef0f3;padding-top:10px}.assistant-message__reference{display:grid;gap:4px;border-left:3px solid #28a6a2;padding-left:10px}.assistant-message__reference strong{color:#344054;font-size:12px}.assistant-message__reference span{color:#172033;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.assistant-composer{border-top:1px solid #e4e7ec;padding:12px 24px 16px;background:#fff}.assistant-composer__attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.assistant-attachment-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid #d0d5dd;border-radius:6px;padding:4px 8px;background:#f9fafb;font-size:12px;color:#344054}.assistant-attachment-chip svg{width:14px;height:14px;color:#667085}.assistant-attachment-chip button{display:inline-flex;height:16px;width:16px;align-items:center;justify-content:center;border:none;background:transparent;color:#98a2b3;cursor:pointer;padding:0}.assistant-attachment-chip button:hover{color:#d92d20}.assistant-attachment-chip button svg{width:12px;height:12px}.assistant-composer__bar{display:flex;align-items:flex-end;gap:8px;border:1px solid #d0d5dd;border-radius:10px;padding:8px 10px;background:#fff}.assistant-composer__bar:focus-within{border-color:#3472f6}.assistant-composer__tool{display:inline-flex;height:36px;width:36px;align-items:center;justify-content:center;border:none;border-radius:8px;background:transparent;color:#667085;cursor:pointer;flex-shrink:0}.assistant-composer__tool:hover:not(:disabled){background:#f2f4f7;color:#344054}.assistant-composer__tool:disabled{opacity:.4}.assistant-composer__tool svg{width:18px;height:18px}.assistant-composer__tool.is-recording{background:#fff4f2;color:#d92d20;animation:assistant-pulse 1.2s ease-in-out infinite}@keyframes assistant-pulse{0%,to{opacity:1}50%{opacity:.5}}.assistant-composer__bar textarea{flex:1;min-height:36px;max-height:160px;border:none;outline:none;resize:none;font-size:14px;line-height:1.5;background:transparent;color:#172033}.assistant-composer__bar textarea::placeholder{color:#98a2b3}.assistant-composer__send{display:inline-flex;height:36px;width:36px;align-items:center;justify-content:center;border:none;border-radius:8px;background:#3472f6;color:#fff;cursor:pointer;flex-shrink:0}.assistant-composer__send:hover:not(:disabled){background:#2b5ed8}.assistant-composer__send:disabled{background:#d0d5dd;cursor:not-allowed}.assistant-composer__send svg{width:18px;height:18px}@media (max-width: 980px){.knowledgebase-page__layout,.knowledgebase-page__summary{grid-template-columns:1fr}.knowledgebase-page__layout--data{height:auto;min-height:0}.knowledgebase-page__layout--data .knowledgebase-page__documents,.knowledgebase-page__layout--data .knowledgebase-page__chunks{overflow:visible;max-height:none}.knowledgebase-page__layout--data .knowledgebase-page__panel-body{overflow-y:visible;max-height:none}.knowledgebase-page__header{align-items:flex-start;flex-direction:column}.knowledgebase-page__actions{justify-content:flex-start}.knowledge-assistant-fullscreen{flex-direction:column}.assistant-sidebar{width:100%;min-width:0;border-right:none;border-bottom:1px solid #e4e7ec}.assistant-sidebar__sessions{max-height:200px}}@media (max-width: 560px){.knowledgebase-page{padding:16px}.knowledgebase-page__title h1{font-size:22px}.assistant-message{max-width:100%}.assistant-main__messages{padding:12px 16px}.assistant-composer{padding:8px 16px 12px}}.lead-assistant-layout{display:flex;height:100vh;overflow:hidden;background:#f5f6fb;color:#172033}.lead-assistant-main{display:flex;flex:1;flex-direction:column;min-width:0;overflow-y:auto;padding:16px 24px 0;gap:12px}.lead-info-card{position:relative;border:1px solid #e4e7ec;border-radius:14px;padding:20px 24px 14px;background:#fff;box-shadow:0 1px 2px #1018280a;flex-shrink:0}.lead-info-card__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.lead-info-card__title{margin:0;font-size:20px;font-weight:800;color:#101828}.lead-info-card__progress{display:inline-flex;align-items:center;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:700}.lead-info-card__progress--high{background:#ecfdf3;color:#067647}.lead-info-card__progress--mid{background:#fef3c7;color:#92400e}.lead-info-card__progress--done{background:#e0f2fe;color:#0369a1}.lead-info-card__progress-extra{font-weight:500;opacity:.85;margin-left:2px}.lead-info-card__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin-bottom:12px}.lead-info-card__row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}.lead-info-card__key{color:#667085;font-size:14px;flex-shrink:0}.lead-info-card__value{color:#101828;font-size:14px;font-weight:700;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%}.lead-info-card__status{font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px}.lead-info-card__status--done{background:#ecfdf3;color:#067647}.lead-info-card__status--progress{background:#eff5ff;color:#175cd3}.lead-info-card__status--todo{background:#fef3c7;color:#b45309}.lead-info-card__status--wait{background:#f2f4f7;color:#475467}.lead-info-card__extra{border-top:1px dashed #e4e7ec;margin-top:4px;padding-top:14px;display:grid;gap:14px}.lead-info-card__section{display:grid;gap:8px}.lead-info-card__section-title{font-size:12px;font-weight:700;letter-spacing:.02em;padding:3px 10px;border-radius:6px;display:inline-flex;width:fit-content}.lead-info-card__section-title--required{background:#fef3f2;color:#b42318}.lead-info-card__section-title--optional{background:#f2f4f7;color:#475467}.lead-info-card__meta{display:flex;flex-wrap:wrap;gap:20px;color:#667085;font-size:13px}.lead-info-card__meta b{color:#101828;font-weight:700;margin-left:4px}.lead-info-card__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px}.lead-info-card__field{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;background:#f9fafb;border-radius:8px;border:1px solid #eef0f3}.lead-info-card__field-label{color:#667085;font-size:13px;flex-shrink:0}.lead-info-card__field-value{color:#101828;font-size:13px;font-weight:600;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.lead-info-card__field-value.is-json{text-align:left;overflow:auto;text-overflow:unset;white-space:normal;max-width:100%;font-weight:400}.lead-info-card__field-value.is-json pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.5;font-weight:400}.lead-info-card__field-value.is-empty{color:#98a2b3;font-weight:500}.lead-info-card__field.is-missing{background:#fff8f7;border-color:#fda29b}.lead-info-card__field.is-missing .lead-info-card__field-label{color:#b42318}.lead-info-card__field.is-updated{background:linear-gradient(90deg,#16a34a29,#16a34a05);border-color:#6ce9a6;border-left:3px solid #16a34a;animation:lead-info-card-flash 2s ease-out both}.lead-info-card__field.is-updated .lead-info-card__field-label{color:#067647}.lead-info-card__field.is-updated .lead-info-card__field-value{color:#054f31}@keyframes lead-info-card-flash{0%{box-shadow:0 0 #16a34a59}35%{box-shadow:0 0 0 6px #16a34a14}to{box-shadow:0 0 #16a34a00}}.lead-info-card__actions{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid #f2f4f7}.lead-info-card__expand{display:inline-flex;align-items:center;gap:4px;border:none;background:transparent;color:#5b58e0;font-size:14px;font-weight:700;cursor:pointer;padding:6px 8px;border-radius:6px}.lead-info-card__expand:hover{background:#f5f3ff}.lead-info-card__expand svg{width:14px;height:14px}.lead-info-card__edit{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border:1px solid #3472f6;background:#3472f6;color:#fff;font-size:14px;font-weight:700;border-radius:8px;cursor:pointer}.lead-info-card__edit:hover{background:#2b5ed8;border-color:#2b5ed8}.lead-info-card__edit svg{width:15px;height:15px}.lead-tool-tag{display:inline-flex;align-items:center;align-self:flex-start;gap:8px;margin:4px 0;padding:6px 14px;border:1px dashed #c7d2fe;background:#eef2ff;color:#4338ca;font-size:12px;font-weight:600;border-radius:999px}.lead-tool-tag svg{width:14px;height:14px}.lead-tool-tag--calling{border-style:dashed;background:#fff7ed;border-color:#fed7aa;color:#c2410c;animation:lead-tool-pulse 1.2s ease-in-out infinite}@keyframes lead-tool-pulse{0%,to{opacity:1}50%{opacity:.6}}.lead-chat{position:relative;display:grid;max-width:min(780px,88%);gap:8px;border:1px solid #e4e7ec;border-radius:14px;padding:16px 18px 14px;background:#fff}.lead-chat--user{align-self:flex-end;border-color:#c7d2fe;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.lead-chat--user header strong,.lead-chat--user header time{color:#e0e7ff}.lead-chat--user .assistant-message__avatar{background:#fff3;color:#fff}.lead-chat--assistant{align-self:flex-start;background:#fff;box-shadow:0 1px 2px #10182808}.lead-chat__scene-tag{padding:4px 12px;background:linear-gradient(135deg,#7c6cf6,#a855f7);color:#fff;font-size:12px;font-weight:700;border-radius:999px;letter-spacing:.02em}.lead-chat--user .lead-chat__scene-tag{display:none}.lead-chat__tag-row{position:absolute;top:-12px;right:12px;display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:calc(100% - 24px)}.lead-chat__intent-tag{padding:4px 10px;font-size:11px;font-weight:700;border-radius:999px;letter-spacing:.02em;background:#eef2ff;color:#4338ca;border:1px solid #c7d2fe;white-space:nowrap}.lead-chat__intent-tag--intake{background:#eef2ff;color:#4338ca;border-color:#c7d2fe}.lead-chat__intent-tag--slot_update{background:#ecfdf3;color:#067647;border-color:#a6f4c5}.lead-chat__intent-tag--slot_query{background:#fef0c7;color:#b54708;border-color:#fec84b}.lead-chat__intent-tag--confirm_draft{background:#ecfdf3;color:#054f31;border-color:#6ce9a6}.lead-chat__intent-tag--reset_session{background:#fef3f2;color:#b42318;border-color:#fda29b}.lead-chat__intent-tag--clarify{background:#fff8ef;color:#ef6820;border-color:#fdb022}.lead-chat__intent-tag--rag{background:#eff8ff;color:#1849a9;border-color:#b2ddff}.lead-chat__intent-tag--tool{background:#f2f4f7;color:#475467;border-color:#d0d5dd}.lead-chat__intent-tag--hybrid{background:#f4f3ff;color:#5925dc;border-color:#cdb4fe}.lead-chat__queried-slots{margin-top:8px;display:grid;gap:4px;padding:8px 10px;background:#fef0c7;border:1px dashed #fdb022;border-radius:8px;font-size:13px}.lead-chat__queried-slot{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:baseline}.lead-chat__queried-slot-label{color:#b54708;font-weight:600}.lead-chat__queried-slot-value{color:#42303a;word-break:break-word}.lead-chat header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#667085;font-size:12px}.lead-chat header strong{color:#344054;font-size:13px}.lead-chat header time{color:#98a2b3}.lead-chat__chips{margin-top:6px;display:grid;gap:8px}.lead-chat__chips-title{margin:4px 0 0;color:#667085;font-size:13px;font-weight:600}.lead-chat__chips-wrap{display:flex;flex-wrap:wrap;gap:8px}.lead-chip{display:inline-flex;align-items:center;padding:7px 16px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#344054;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s ease;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-chip:hover{border-color:#6366f1;background:#eef2ff;color:#4338ca;transform:translateY(-1px);box-shadow:0 2px 6px #6366f126}.lead-edit-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#10182873;display:flex;align-items:center;justify-content:center;padding:20px;z-index:100}.lead-edit-dialog{width:min(680px,100%);max-height:86vh;background:#fff;border-radius:14px;display:flex;flex-direction:column;box-shadow:0 20px 50px #10182833;overflow:hidden}.lead-edit-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e4e7ec}.lead-edit-dialog>header h3{margin:0;font-size:17px;font-weight:800;color:#101828}.lead-edit-dialog__close{border:none;background:transparent;font-size:24px;line-height:1;color:#98a2b3;cursor:pointer;padding:0 6px}.lead-edit-dialog__close:hover{color:#344054}.lead-edit-dialog__meta{padding:12px 20px;display:flex;flex-wrap:wrap;gap:18px;background:#f9fafb;border-bottom:1px solid #eef0f3;color:#667085;font-size:13px}.lead-edit-dialog__meta b{color:#101828;font-weight:700;margin-left:4px}.lead-edit-dialog__grid{flex:1;overflow-y:auto;padding:16px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.lead-edit-dialog__grid label{display:grid;gap:6px;font-size:13px;font-weight:600;color:#344054}.lead-edit-dialog__grid label:nth-child(odd):last-child{grid-column:1 / -1}.lead-edit-dialog__req{color:#d92d20;font-style:normal;font-weight:800}.lead-edit-dialog__grid input,.lead-edit-dialog__grid select,.lead-edit-dialog__grid textarea{box-sizing:border-box;width:100%;padding:8px 10px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#101828;font-size:14px;font-weight:500;outline:none;transition:border-color .15s,box-shadow .15s;font-family:inherit}.lead-edit-dialog__grid input:focus,.lead-edit-dialog__grid select:focus,.lead-edit-dialog__grid textarea:focus{border-color:#3472f6;box-shadow:0 0 0 3px #3472f626}.lead-edit-dialog__grid textarea{resize:vertical;min-height:70px}.lead-edit-dialog>footer{display:flex;justify-content:flex-end;gap:10px;padding:12px 20px;border-top:1px solid #e4e7ec;background:#fafafa}.lead-edit-dialog__btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;border-radius:7px;font-size:14px;font-weight:700;cursor:pointer}.lead-edit-dialog__btn--ghost{border:1px solid #d0d5dd;background:#fff;color:#344054}.lead-edit-dialog__btn--ghost:hover{background:#f9fafb}.lead-edit-dialog__btn--primary{border:1px solid #3472f6;background:#3472f6;color:#fff}.lead-edit-dialog__btn--primary:hover{background:#2b5ed8;border-color:#2b5ed8}.lead-demo-btn{margin-top:14px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;border:1px dashed #8b5cf6;background:#f5f3ff;color:#6d28d9;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;transition:all .15s ease}.lead-demo-btn:hover{background:#ede9fe;transform:translateY(-1px)}.lead-sidebar-info{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 12px;background:#ffffff0f;border-radius:8px;font-size:13px;color:#a5b4fc}.lead-sidebar-info b{color:#fff;font-weight:700;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.lead-sidebar-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border:1px solid rgba(255,255,255,.2);border-radius:7px;background:#ffffff0d;color:#c7d2fe;font-size:12px;font-weight:700;cursor:pointer;transition:all .15s ease}.lead-sidebar-btn:hover{background:#ffffff1f;border-color:#ffffff4d;color:#fff}.lead-chat--system{align-self:center;max-width:85%;padding:8px 16px;background:#f9fafb;border:1px solid #e4e7ec;border-radius:10px;font-size:13px;color:#667085;text-align:center}.lead-chat__system-text{line-height:1.6}.chat-message__attachments{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.mini-attachment{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;background:#fff3;border-radius:6px;font-size:12px;color:#fff}.chat-message__image-urls{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.chat-message__image-url{display:block;max-width:220px;border-radius:10px;overflow:hidden;background:#ffffff1f}.chat-message__image-url img{display:block;width:100%;max-height:160px;object-fit:cover}.composer__attachments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.composer__attachment{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #e4e7ec;border-radius:7px;background:#f9fafb;font-size:12px;color:#475467}.composer__attachment-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer__attachment-remove{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#98a2b3;cursor:pointer;padding:0}.composer__attachment-remove:hover{color:#d92d20}.composer__recording-error{margin:0 0 8px;padding:6px 12px;background:#fef3f2;border:1px solid #fee4e2;border-radius:7px;color:#b42318;font-size:12px}.composer__recording-status{margin:0 0 8px;display:inline-flex;align-items:center;gap:6px;color:#475467;font-size:12px}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #d0d5dd;border-top-color:#6366f1;border-radius:50%;animation:lead-spin .8s linear infinite}.spinner--sm{width:12px;height:12px;border-width:1.5px}@keyframes lead-spin{to{transform:rotate(360deg)}}.assistant-message__body.is-confirm{position:relative;padding-left:28px;min-height:22px;color:#1f2937}.lead-confirm-check{position:absolute;left:0;top:2px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#079455;color:#fff;font-size:12px;font-weight:900;line-height:1;box-shadow:0 2px 4px #07945540}.lead-chip--special{border-color:#c7d2fe;background:linear-gradient(135deg,#eef2ff,#f5f3ff);color:#4f46e5;font-weight:700;padding-left:18px;padding-right:18px}.lead-chip--special:hover{background:linear-gradient(135deg,#e0e7ff,#ede9fe);color:#4338ca;border-color:#6366f1}.lead-chat--voice .lead-voice-bubble{display:flex;align-items:center;gap:12px;padding:6px 4px 2px}.lead-voice-bubble__play{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#ffffff38;border:1px solid rgba(255,255,255,.3);color:#fff;cursor:pointer;flex-shrink:0}.lead-voice-bubble__play svg{width:14px;height:14px;margin-left:2px}.lead-voice-bubble__play:hover{background:#ffffff52}.lead-voice-bubble__wave{flex:1;display:flex;align-items:flex-end;gap:3px;height:32px}.lead-voice-bubble__wave-bar{flex:1;min-width:3px;background:#ffffffbf;border-radius:3px;animation:lead-wave-shimmer 1.6s ease-in-out infinite}.lead-voice-bubble__wave-bar:nth-child(2n){animation-delay:.2s}.lead-voice-bubble__wave-bar:nth-child(3n){animation-delay:.4s}@keyframes lead-wave-shimmer{0%,to{opacity:.55;transform:scaleY(.7)}50%{opacity:1;transform:scaleY(1)}}.lead-voice-bubble__duration{color:#fff;font-size:14px;font-weight:700;letter-spacing:.02em;flex-shrink:0;min-width:52px;text-align:right}.lead-chat--file .lead-file-bubble{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:#ffffff29;border:1px solid rgba(255,255,255,.22);min-width:210px}.lead-file-bubble__icon{width:40px;height:40px;border-radius:10px;background:#10b981;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 6px #10b9814d}.lead-file-bubble__icon svg{width:22px;height:22px}.lead-file-bubble__info{display:grid;gap:2px;min-width:0}.lead-file-bubble__info strong{color:#fff;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-file-bubble__info small{color:#e0e7ff;font-size:12px;font-weight:500}.lead-chat--contact .lead-contact-bubble{display:flex;align-items:center;gap:10px;padding:6px 4px 2px}.lead-contact-bubble__avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#ffffff38;border:1px solid rgba(255,255,255,.3);color:#fff;flex-shrink:0}.lead-contact-bubble__avatar svg{width:16px;height:16px}.lead-contact-bubble strong{color:#fff;font-size:15px;font-weight:700}.lead-recording-tip{margin-top:8px;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;background:#fff4f2;border:1px solid #fed7aa;color:#c2410c;border-radius:999px;font-size:12px;font-weight:600;width:fit-content}.lead-recording-tip .dot{display:inline-block;width:8px;height:8px;background:#ef4444;border-radius:50%;animation:lead-tool-pulse 1.1s ease-in-out infinite}@media (max-width: 980px){.lead-assistant-layout{flex-direction:column;height:auto;min-height:100vh}.lead-assistant-main{padding:12px 14px 0}.lead-info-card__grid,.lead-info-card__fields,.lead-edit-dialog__grid{grid-template-columns:1fr}.lead-chat{max-width:100%}}@media (max-width: 560px){.lead-info-card{padding:16px}.lead-info-card__title{font-size:17px}.lead-chat{padding:14px}.lead-chip{padding:6px 12px;font-size:13px}.lead-edit-dialog__meta{flex-direction:column;gap:8px}.lead-voice-bubble__duration{font-size:13px;min-width:44px}.lead-file-bubble{min-width:0}}.assistant-composer__tool--upload{-webkit-user-select:none;user-select:none;text-decoration:none;outline:none}.assistant-composer__tool--upload:focus-visible{outline:2px solid #3472f6;outline-offset:2px}.assistant-composer__tool.is-disabled{opacity:.4;cursor:not-allowed;pointer-events:none}.assistant-composer.is-drag-over{position:relative;box-shadow:inset 0 0 0 2px #6366f1;background:linear-gradient(180deg,#f5f3ff,#fff 60%)}.composer__drag-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#ffffffe0;border:2px dashed #6366f1;border-radius:12px;color:#4338ca;font-weight:700;font-size:14px;z-index:10;margin:0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.composer__drag-overlay svg{width:20px;height:20px;color:#8b5cf6}.composer__attachment-size{color:#98a2b3;font-size:11px;font-weight:500;flex-shrink:0}.composer__hint{margin:6px 2px 0;padding:0;color:#98a2b3;font-size:12px;line-height:1.6}.text-polish{min-height:100vh;padding:24px clamp(16px,3vw,40px) 48px;background:#fff;color:#172033}.text-polish__header{display:flex;align-items:flex-start;gap:16px;margin-bottom:28px}.text-polish__back{display:inline-flex;height:34px;align-items:center;gap:6px;border:1px solid #d0d5dd;border-radius:6px;padding:0 12px;background:#fff;color:#344054;font-size:14px;font-weight:600;cursor:pointer}.text-polish__back svg{width:16px;height:16px}.text-polish__title{display:flex;align-items:flex-start;gap:10px}.text-polish__title>svg{width:24px;height:24px;margin-top:4px;color:#28a6a2}.text-polish__title p{margin:0;color:#667085;font-size:11px;font-weight:700;letter-spacing:.14em}.text-polish__title h1{margin:2px 0 4px;font-size:24px;line-height:1.15}.text-polish__title span{color:#667085;font-size:14px}.text-polish__panel{max-width:840px;display:grid;gap:16px;border:1px solid #e4e7ec;border-radius:12px;padding:20px;background:#fafbfc}.text-polish__draft{display:grid;gap:6px;font-size:13px;font-weight:600;color:#344054}.text-polish__draft textarea{border:1px solid #d0d5dd;border-radius:8px;padding:12px;font:inherit;font-weight:400;color:#172033;background:#fff;resize:vertical;min-height:180px;line-height:1.55}.text-polish__voice-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.text-polish__voice-hint{color:#667085;font-size:13px}.text-polish__actions{display:flex;flex-wrap:wrap;gap:10px}.text-polish__mic,.text-polish__submit,.text-polish__secondary,.text-polish__copy{display:inline-flex;height:36px;align-items:center;gap:8px;border-radius:999px;padding:0 16px;font-size:14px;font-weight:600;cursor:pointer}.text-polish__mic,.text-polish__secondary,.text-polish__copy{border:1px solid #cfe8e7;background:#eef9f8;color:#1f7a76}.text-polish__mic.is-recording{border-color:#d92d20;color:#d92d20;background:#fef3f2}.text-polish__submit{border:none;background:#28a6a2;color:#fff}.text-polish__submit:disabled,.text-polish__mic:disabled,.text-polish__secondary:disabled,.text-polish__copy:disabled{opacity:.6;cursor:not-allowed}.text-polish__mic svg,.text-polish__secondary svg,.text-polish__copy svg{width:16px;height:16px}.text-polish__meta{margin:0;color:#667085;font-size:13px}.text-polish__error{margin:0;color:#b42318;font-size:14px}:root{color:#2f343d;background:#fff;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:#f5f7fb}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}input,select,textarea{width:100%;border:1px solid #d6d9de;border-radius:5px;padding:0 12px;color:#111827;background:#fff;outline:none;font-size:16px}input,select{height:44px}textarea{min-height:112px;padding-top:12px;resize:vertical}input::placeholder,textarea::placeholder{color:#aeb0b6}select:invalid,select option[value=""]{color:#aeb0b6}input:focus,select:focus,textarea:focus{border-color:#2f66dc;box-shadow:0 0 0 3px #2f66dc1f}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.hidden-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0;pointer-events:none}.icon-only{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;width:30px;height:30px;border:1px solid transparent;color:#667085;background:transparent}
