.phone-settings{display:grid;gap:12px;border-block:1px solid #e4ebe1;padding:16px 0}.phone-name{display:grid;gap:4px}.mobile-settings .phone-name{display:grid;align-items:stretch}.mobile-settings .phone-name input{width:100%;height:auto;min-height:42px}.phone-send{display:grid;gap:8px}.phone-send textarea{min-height:72px;resize:vertical}.phone-settings .phone-remove{background:#f8efed;color:#8d4034}.phone-confirm{display:grid;gap:8px;padding:12px;background:#fcf3ed;border-radius:12px}.phone-space{height:100%;min-height:0;display:flex;flex-direction:column;background:#fff;color:#243028;overflow:hidden}.phone-space>header,.phone-filter{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px}.phone-space h1,.phone-space p{margin:0}.phone-space header p{color:#314033;font-size:14px;line-height:20px}.phone-tabs{display:flex;flex-wrap:wrap;gap:3px;padding:0 16px 8px}.shell .phone-tabs button{border:0;border-radius:8px;background:transparent;color:#879181;padding:9px 10px;min-height:36px;font-size:13px;line-height:18px}.shell .phone-tabs button[aria-pressed=true]{color:#3f7143;background:#ebf1e6}.phone-search{display:grid;gap:3px;padding:0 16px 10px;color:#314033;font-size:14px}.phone-search input{min-height:42px;font-size:16px}.phone-list{min-height:0;overflow:auto;flex:1;border-top:1px solid #edf0e7;background:#fff}.phone-list>p{padding:16px;font-size:15px;line-height:22px;color:#243028}.phone-item{border-bottom:1px solid #edf0e7;background:#fff}.phone-item-title,.shell .phone-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%;min-height:68px;text-align:left;border:0;border-radius:0;background:#fff;padding:8px 14px;color:#334030;white-space:normal;height:auto}.shell .phone-row:hover{background:#f6f8f1}.shell .phone-row[aria-expanded=true]{background:#f0f5e9}.phone-item-copy,.phone-row-copy{min-width:0;flex:1 1 auto;display:grid;gap:2px;text-align:left}.phone-space .phone-item-copy strong,.phone-space .phone-row-copy strong{display:block;font-size:16px;line-height:22px;font-weight:700;color:#334030;overflow-wrap:anywhere}.phone-space .phone-item-copy span,.phone-space .phone-row-copy span,.phone-space .phone-item-state{font-size:13px;line-height:18px;color:#88927e;white-space:normal;overflow-wrap:anywhere}.phone-item time,.phone-item-state,.phone-row time{flex-shrink:0}.phone-space .phone-item time,.phone-space .phone-row time{font-size:11px;line-height:16px;color:#99a28e;padding-top:2px}.phone-source{justify-self:start;margin-top:2px;padding:1px 8px;border-radius:6px;background:#ebf1e6;color:#3f7143;font-size:12px;line-height:18px;font-weight:700}.phone-row-copy .phone-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell .phone-row.selected{background:#f0f5e9}.phone-sms-dialog{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff}.phone-sms-dialog .conversation-header{flex:none}.phone-sms-dialog .message-timeline{flex:1;min-height:0}.shell .phone-sms-back{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:6px;border:0;border-radius:8px;background:transparent;color:#47754b}.shell .phone-sms-contact{margin-left:auto}.phone-sms-note{margin:0;padding:8px 16px 0;font-size:13px;line-height:18px;color:#5d6c53}.phone-item .phone-sms{padding:0 16px 12px;font-size:15px;line-height:22px;color:#243028;white-space:pre-wrap;overflow-wrap:break-word}.phone-contact-sms{padding:0 16px 12px}.phone-contact-sms label,.phone-contact-sms p,.phone-contact-sms select,.phone-contact-sms textarea{font-size:15px;line-height:22px;color:#243028}.shell .phone-item .phone-item-actions button.ghost{font-size:15px;line-height:20px;color:#243028;background:#fff}.phone-item-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 16px 12px}.phone-more{margin:12px}html[data-native=true] .chat-workspace:has(>main>.phone-space)>main{padding:0;overflow:hidden}.conversation-sidebar .phone-inbox{flex:1;min-height:0}.messenger-tabs .phone-tab-mark{margin-left:4px;color:#3f7143;font-weight:700}.conversation-sidebar .phone-inbox .phone-tabs{padding-top:8px}@media(max-width:760px){.chat-workspace .messenger:has(.phone-inbox),.chat-workspace .messenger.with-drawer:has(.phone-inbox),.chat-workspace .messenger.contact-mode:has(.phone-inbox){grid-template-columns:minmax(0,1fr);overflow:hidden}.chat-workspace .messenger:has(.phone-inbox):not(.has-sms)>.conversation-main{display:none}.chat-workspace .messenger.has-sms:has(.phone-inbox)>.conversation-sidebar{display:none}.chat-workspace .messenger.has-sms:has(.phone-inbox)>.conversation-main{display:flex;min-height:0}}.cabinet-mode-switch{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;border:1px solid #dce6d9;border-radius:10px;background:#edf3eb}.cabinet-mode-switch a{display:grid;min-height:32px;place-items:center;padding:3px 11px;border-radius:7px;font-size:13px;font-weight:700;line-height:1.2;color:#40543f;text-decoration:none}.cabinet-mode-switch a:hover,.cabinet-mode-switch a:focus-visible{background:#e2ebdf}.cabinet-mode-switch a:focus-visible{outline:2px solid #2d654b;outline-offset:-2px}.cabinet-mode-switch a[aria-current=page]{color:#fff;background:#2d654b}.chat-workspace>nav>.cabinet-mode-switch{order:-1;margin-bottom:5px;flex-shrink:0}.chat-workspace:not(.nav-labels)>nav>.cabinet-mode-switch{grid-template-columns:1fr}.chat-workspace:not(.nav-labels)>nav>.cabinet-mode-switch a{min-height:28px;padding-inline:1px;font-size:12px}.cabinet-mobile-mode{order:0;flex:none;display:flex;justify-content:flex-end;padding:3px var(--mobile-gutter, 12px);border-bottom:1px solid #e4ebe1;background:#f8faf6}.salon-mode-header .cabinet-mode-switch{margin-left:auto;background:var(--salon-bg);border-color:var(--salon-line)}.salon-mode-header .cabinet-mode-switch a:not(.salon-mode-brand){color:var(--salon-accent-dark)}.salon-mode-header .cabinet-mode-switch a:hover{background:var(--salon-tint)}.salon-mode-header .cabinet-mode-switch a[aria-current=page]{color:#fff;background:var(--salon-accent)}.self-registration label{display:grid;gap:6px}.self-registration p{margin:0;line-height:1.5}.self-registration input{width:100%;min-width:0}.self-registration small{color:#64748b}.self-registration a{color:#426d40}.message-bubble .message-automation-badge{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0;border:0;background:transparent;color:#4b7954}.message-automation-badge:hover,.message-automation-badge:focus-visible{color:#2f5a38}.message-automation-dialog{width:min(520px,calc(100% - 24px));max-height:min(680px,85dvh);padding:0;border:1px solid #bccbd8;border-radius:16px;color:#1c2a38;background:#fff}.message-automation-dialog[open]{display:flex;flex-direction:column}.message-automation-dialog::backdrop{background:#0d1d32a0}.message-automation-dialog header,.message-automation-dialog footer{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;gap:10px}.message-automation-dialog header{border-bottom:1px solid #dce5ef}.message-automation-dialog footer{justify-content:flex-end;border-top:1px solid #dce5ef}.message-automation-dialog header button{font-size:22px}.message-automation-body{overflow:auto;padding:0 16px}.message-automation-body ol{list-style:none;margin:0;padding:0}.message-automation-body li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,auto);align-items:start;gap:10px;padding:10px 0;overflow-wrap:anywhere}.message-automation-body li+li{border-top:1px solid #dce5ef}.message-automation-body li div{display:grid;gap:3px}.message-automation-body li div:last-child{text-align:end}.message-automation-body small,.message-automation-body time{font-size:12px;color:#475b70}.chat-translation-dialog{width:min(500px,calc(100% - 24px));max-height:85dvh;padding:16px;border:1px solid #dfe7d5;border-radius:14px;background:#fafcfb;color:#25351e;overflow:auto}.chat-translation-dialog::backdrop{background:#25351e65}.chat-translation-dialog form,.chat-translation-dialog fieldset{display:grid;gap:9px;margin:0}.chat-translation-dialog fieldset{min-width:0;border:1px solid #dfe7d5;border-radius:9px;padding:9px}.chat-translation-dialog legend{font-weight:700;padding:0 4px}.chat-translation-dialog header,.chat-translation-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:8px}.chat-translation-dialog footer{justify-content:flex-end}.chat-translation-dialog label{min-width:0}.chat-translation-dialog input[type=checkbox]{width:auto;vertical-align:middle;margin:0 4px 0 0}.chat-translation-dialog select{display:block;width:100%;margin-top:4px}.chat-translation-dialog small{display:block;color:#53674b}.translation-languages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.translation-message{display:block;border-inline-start:2px solid #789566;padding-inline-start:7px;margin-top:5px;overflow-wrap:anywhere}.translation-message small{color:#53674b}.saved-entry{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;min-height:64px;padding:10px 16px;border:0;border-bottom:1px solid #d5e4d4;background:#e7f3e4;color:#24321f;text-align:left;cursor:pointer}.saved-entry-mark{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:14px;background:#47754b;color:#fff}.shell button.saved-entry{background:#e7f3e4;color:#24321f;border-radius:0;padding:10px 16px}.shell button.saved-entry.selected{background:#d7ebd4}.saved-library{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;background:#f7faf6;overflow:hidden}.saved-library-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;padding:12px 16px 4px}.saved-library-head h2{flex:1 1 auto;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:22px}.saved-view{display:flex;flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:4px;min-width:0;max-width:100%}.saved-view .saved-chip{flex:0 1 auto;min-width:0;max-width:100%}.saved-group{min-width:0}.saved-group-title{display:block;margin:0;padding:12px 16px 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:650;color:#3e5a38}.saved-filters,.saved-contact-line{display:flex;flex-wrap:wrap;gap:6px;min-width:0;padding:8px 16px}.saved-contact-line{padding-top:0}.saved-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #d5decc;border-radius:999px;background:#f4f7f2;color:#33432d;min-height:32px;padding:4px 12px;font-size:13px;cursor:pointer}.shell button.saved-chip{background:#f4f7f2;color:#33432d;border:1px solid #d5decc;border-radius:999px;min-height:32px;padding:4px 12px}.shell button.saved-chip[aria-pressed=true],.saved-chip[aria-pressed=true]{background:#47754b;color:#fff;border-color:#47754b}.shell button.saved-chip[data-color],.saved-chip[data-color]{border-color:transparent}.saved-chip[data-color=tomato],.shell button.saved-chip[data-color=tomato]{background:#fde8e7;color:#9f2c2c}.saved-chip[data-color=orange],.shell button.saved-chip[data-color=orange]{background:#fdecd9;color:#9a5410}.saved-chip[data-color=amber],.shell button.saved-chip[data-color=amber]{background:#f8f0d4;color:#7a5b10}.saved-chip[data-color=green],.shell button.saved-chip[data-color=green]{background:#e5f4e8;color:#24683a}.saved-chip[data-color=teal],.shell button.saved-chip[data-color=teal]{background:#e3f4f4;color:#0f6e6e}.saved-chip[data-color=blue],.shell button.saved-chip[data-color=blue]{background:#e6eefb;color:#234e9b}.saved-chip[data-color=indigo],.shell button.saved-chip[data-color=indigo]{background:#ecebfd;color:#4338a8}.saved-chip[data-color=violet],.shell button.saved-chip[data-color=violet]{background:#f3eafb;color:#6d3aa3}.saved-chip[data-color=pink],.shell button.saved-chip[data-color=pink]{background:#fbe7f0;color:#9a3564}.saved-chip[data-color=slate],.shell button.saved-chip[data-color=slate]{background:#eef1f4;color:#3e4a57}.shell button.saved-chip[data-color][aria-pressed=true],.saved-chip[data-color][aria-pressed=true]{box-shadow:inset 0 0 0 2px currentColor}.saved-list{min-width:0;min-height:0;flex:1;overflow:auto}.saved-row{display:flex;flex-direction:column;gap:4px;min-width:0;box-sizing:border-box;padding:10px 16px;border-bottom:1px solid #e6eee3;background:#fff}.saved-row-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}.saved-row-head strong,.saved-person{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:650;color:#24321f}.saved-row-head time{flex:none;margin-left:auto;color:#7d8b78;font-size:12px}.shell button.saved-person,.saved-person{background:transparent;color:#24321f;border:0;border-radius:0;padding:0;text-align:left;cursor:pointer}.shell button.saved-open,.saved-open{display:grid;gap:2px;width:100%;min-width:0;background:transparent;color:inherit;border:0;border-radius:0;padding:0;text-align:left;cursor:pointer}.saved-open small{color:#7d8b78;font-size:12px}.saved-open span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4d5c48}.saved-row .contact-tag-row{min-width:0}.saved-empty{margin:0;padding:8px 16px 16px;color:#5c6b57;line-height:1.45}.saved-list .load-more{margin:8px 16px 16px}.message-bubble footer .message-saved-mark{display:inline-flex;color:#47754b}.saved-dialog{width:min(440px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:min(84dvh,640px);box-sizing:border-box;padding:16px;border:1px solid #d5decc;border-radius:16px;background:#fafcfb;color:#25351e;overflow:auto}.saved-dialog[open]{display:grid;gap:10px}.saved-dialog::backdrop{background:#25351e65}.saved-dialog header,.saved-dialog footer{display:flex;align-items:center;gap:8px}.saved-dialog header{justify-content:space-between}.saved-dialog header strong{flex:1;min-width:0}.saved-dialog footer{justify-content:flex-end;flex-wrap:wrap}.saved-dialog p{margin:0;overflow-wrap:anywhere}.saved-dialog-text{padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #e3ebdf;color:#4d5c48;overflow-wrap:anywhere}.saved-dialog-tags,.saved-colors,.saved-tag-add{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.saved-tag-add input{flex:1;min-width:0;box-sizing:border-box}.saved-dialog .ghost{background:transparent;color:#59714e;border:0;border-radius:8px;min-height:32px;padding:4px 8px}.saved-dialog .saved-add,.saved-dialog .saved-primary{background:#47754b;color:#fff;border:0;border-radius:8px;min-height:36px;padding:8px 12px}.saved-dialog .saved-color{width:22px;height:22px;min-height:22px;padding:0;border-radius:50%;border:2px solid #fff;box-shadow:inset 0 0 0 1px #00000014;cursor:pointer}.saved-dialog .saved-color[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px #24321f}.saved-dialog .saved-color[data-color=tomato]{background:#c4453c}.saved-dialog .saved-color[data-color=orange]{background:#d97706}.saved-dialog .saved-color[data-color=amber]{background:#ca8a04}.saved-dialog .saved-color[data-color=green]{background:#2f8a4b}.saved-dialog .saved-color[data-color=teal]{background:#0f8a8a}.saved-dialog .saved-color[data-color=blue]{background:#2f62c4}.saved-dialog .saved-color[data-color=indigo]{background:#5146c7}.saved-dialog .saved-color[data-color=violet]{background:#8a45c4}.saved-dialog .saved-color[data-color=pink]{background:#c44b86}.saved-dialog .saved-color[data-color=slate]{background:#5c6b7a}.shell button.saved-color{width:22px;height:22px;min-height:0;padding:0;border-radius:50%}@media(max-width:650px){.chat-workspace .conversation-list>.saved-entry{min-height:64px;padding:6px var(--mobile-gutter);border-radius:0}.saved-library-head,.saved-filters,.saved-contact-line,.saved-row,.saved-group-title{padding-left:var(--mobile-gutter);padding-right:var(--mobile-gutter)}}.contact-tag-row{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.list-marks{display:inline-flex;align-items:center;gap:4px;margin-left:6px;vertical-align:middle}.list-mark{width:9px;height:9px;border-radius:50%;background:#2f62c4;flex:none}.list-mark[data-color=tomato]{background:#c4453c}.list-mark[data-color=orange]{background:#d97706}.list-mark[data-color=amber]{background:#ca8a04}.list-mark[data-color=green]{background:#2f8a4b}.list-mark[data-color=teal]{background:#0f8a8a}.list-mark[data-color=blue]{background:#2f62c4}.list-mark[data-color=indigo]{background:#5146c7}.list-mark[data-color=violet]{background:#8a45c4}.list-mark[data-color=pink]{background:#c44b86}.list-mark[data-color=slate]{background:#5c6b7a}.list-task{display:inline-flex;line-height:0;color:#5c6b57}.contact-tag{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:2px 8px;border-radius:999px;font-size:11px;line-height:16px;font-weight:650}.contact-tag>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-tag[data-color=tomato]{background:#fde8e7;color:#9f2c2c}.contact-tag[data-color=orange]{background:#fdecd9;color:#9a5410}.contact-tag[data-color=amber]{background:#f8f0d4;color:#7a5b10}.contact-tag[data-color=green]{background:#e5f4e8;color:#24683a}.contact-tag[data-color=teal]{background:#e3f4f4;color:#0f6e6e}.contact-tag[data-color=blue]{background:#e6eefb;color:#234e9b}.contact-tag[data-color=indigo]{background:#ecebfd;color:#4338a8}.contact-tag[data-color=violet]{background:#f3eafb;color:#6d3aa3}.contact-tag[data-color=pink]{background:#fbe7f0;color:#9a3564}.contact-tag[data-color=slate]{background:#eef1f4;color:#3e4a57}.shell .person-card button.contact-color[data-color=tomato]{background:#c4453c}.shell .person-card button.contact-color[data-color=orange]{background:#d97706}.shell .person-card button.contact-color[data-color=amber]{background:#ca8a04}.shell .person-card button.contact-color[data-color=green]{background:#2f8a4b}.shell .person-card button.contact-color[data-color=teal]{background:#0f8a8a}.shell .person-card button.contact-color[data-color=blue]{background:#2f62c4}.shell .person-card button.contact-color[data-color=indigo]{background:#5146c7}.shell .person-card button.contact-color[data-color=violet]{background:#8a45c4}.shell .person-card button.contact-color[data-color=pink]{background:#c44b86}.shell .person-card button.contact-color[data-color=slate]{background:#5c6b7a}.contact-tag-remove{border:0;background:transparent;color:inherit;padding:0;cursor:pointer;font:inherit;line-height:1}.conversation-copy>.contact-tag-row{color:inherit;white-space:normal;overflow:visible;text-overflow:unset}.contact-marks{display:grid;gap:8px}.contact-marks textarea{min-height:88px;resize:vertical}.contact-color-choice{display:flex;align-items:center;gap:8px}.contact-color-row{display:flex;flex-wrap:wrap;gap:8px}.contact-color{width:22px;height:22px;border-radius:50%;border:2px solid transparent;padding:0;cursor:pointer}.shell .person-card button.contact-color{width:22px;height:22px;min-height:0;padding:0;border-radius:50%;border:2px solid #fff;box-shadow:inset 0 0 0 1px #00000014}.shell .person-card button.contact-color-reset{width:auto;min-height:0;padding:4px 10px;background:transparent;color:#5c6b57;border:1px solid #d5decc;border-radius:8px;font-size:12px}.shell .person-card button.contact-tag-remove{width:auto;height:auto;min-height:0;padding:0;background:transparent;color:inherit;border-radius:0;filter:none}.shell .person-card button.contact-color[aria-pressed=true]{box-shadow:0 0 0 2px #fff,0 0 0 4px #24321f;transform:scale(1.16)}.contact-tag-add{display:flex;gap:8px;align-items:center}.contact-tag-add input{flex:1;min-width:0}.contact-ai-hint{margin:0;color:#6d7a64;font-size:12px}.contact-ai-note{margin:8px 0 0;white-space:pre-wrap;color:#33432d;font-size:13px}.platform-admin{max-width:1500px;margin:0 auto;padding:8px 0 40px;color:#344032}.platform-heading,.platform-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.platform-heading{margin:8px 0 28px}.platform-heading h1{font-size:30px;letter-spacing:-.8px;margin:6px 0 8px}.platform-heading p,.platform-admin small,.platform-admin>p{color:#7c8874}.platform-eyebrow{font-size:10px;letter-spacing:2px;color:#819171}.platform-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:0 0 24px}.platform-stats article{padding:20px;background:#fff;border:1px solid #e5eadf;border-radius:12px;display:grid;gap:10px}.platform-stats span{font-size:11px;color:#7c8874}.platform-stats strong{font-size:28px;font-weight:500}.platform-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid #dfe5d8;margin:0 0 24px;padding-bottom:10px}.platform-admin .platform-tabs button{background:transparent;color:#7e8a75;border:0;border-radius:8px;padding:10px 13px;box-shadow:none;font-size:12px}.platform-admin .platform-tabs button.active{background:#e9f1e0;color:#486237}.platform-section-heading{margin:20px 0}.platform-section-heading h2,.platform-section-heading h3{margin:0}.platform-section-heading h2 small{font-size:13px;font-weight:400}.platform-overview{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.platform-overview .card,.platform-node-grid .card{padding:25px}.platform-overview p{line-height:1.8;color:#7b8771;font-size:13px}.platform-flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:26px 0}.platform-flow span{padding:12px;border:1px solid #e0e8d6;border-radius:8px;background:#f7f9f3;font-size:12px}.platform-flow i{color:#a4b493;font-style:normal}.platform-table{overflow-x:auto;background:#fff;border:1px solid #e5eadf;border-radius:12px}.platform-admin table{width:100%;border-collapse:collapse;margin:0;text-align:left;font-size:12px}.platform-admin table th{padding:14px 18px;background:#f7f9f4;color:#7e8a74;font-size:10px;letter-spacing:.5px;font-weight:500}.platform-admin table td{padding:16px 18px;vertical-align:top;border-top:1px solid #edf0e7;max-width:350px}.platform-admin table td small{display:block;font-size:10px;line-height:1.7;overflow-wrap:anywhere;margin-top:4px}.platform-admin .platform-link{padding:0;background:none;color:#536e40;border:0;box-shadow:none;text-align:left;font-weight:600}.platform-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.platform-admin .platform-actions button{font-size:11px;white-space:nowrap;padding:8px 11px}.platform-status{display:inline-flex;padding:5px 9px;border-radius:6px;font-size:10px;white-space:nowrap}.platform-status.ok{color:#52743b;background:#edf4e6}.platform-status.bad{color:#a15c4c;background:#fbede6}.platform-status.muted{color:#8c927e;background:#f2f3ec}.platform-form{padding:24px;background:#fff;border:1px solid #d9e4cb;border-radius:12px;margin:16px 0 24px;display:grid;gap:16px}.platform-form h3{margin:0}.platform-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.platform-admin label{display:grid;gap:7px;font-size:11px;color:#7c8874}.platform-admin label.row{display:flex;align-items:center}.platform-form p{font-size:12px;color:#8b947f;line-height:1.6;margin:0}.platform-admin input,.platform-admin select{padding:10px 12px;border:1px solid #dfe6d6;border-radius:7px;background:#fff;min-width:0;color:#45533c}.platform-admin input[type=checkbox]{width:auto}.platform-channel-create{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.platform-channel-create>label{flex:1;min-width:160px}.platform-channel-create small{flex-basis:100%;font-size:11px}.platform-filter{display:flex;align-items:end;gap:14px;margin:16px 0 24px}.platform-filter label{min-width:260px;max-width:460px;flex:1}.platform-search{max-width:400px;margin:0 0 20px}.platform-pagination{display:flex;align-items:center;justify-content:flex-end;gap:15px;margin:18px 0;color:#8c967e;font-size:11px}.platform-node-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}.platform-node-grid h3{font-size:16px}.platform-node-count{display:block;font-size:30px;font-weight:500;margin:22px 0 10px}.platform-node-count small{font-size:12px}.platform-node-grid progress{width:100%;height:7px;accent-color:#78975e}.platform-node-grid p{font-size:12px;line-height:1.9;color:#879279}.platform-checks{display:flex;gap:20px;flex-wrap:wrap}.platform-checks label{display:flex;align-items:center;gap:8px}.platform-notice{padding:13px 16px;margin:14px 0;background:#f0f6e9;border-radius:8px;font-size:12px;color:#66814e}.platform-secret{border:1px solid #cbdcbb;background:#f5f9ee;padding:22px;border-radius:12px;display:grid;gap:15px;margin:20px 0}.platform-secret h3,.platform-secret p{margin:0}.platform-secret code{display:block;padding:12px;background:#fff;overflow-wrap:anywhere;font-size:12px}.platform-secret small{line-height:1.7}.platform-empty{padding:35px;color:#8a957f;text-align:center;font-size:13px}.platform-mono{font-family:ui-monospace,monospace}.platform-error-text{color:#a76751!important}.platform-admin .ai-settings{background:#fff;border:1px solid #e5eadf;border-radius:12px;padding:24px}.platform-admin button:disabled{opacity:.45;cursor:default}.platform-admin a{color:#66814e;font-size:12px}@media(max-width:950px){.platform-stats{grid-template-columns:repeat(3,1fr)}.platform-overview,.platform-fields{grid-template-columns:1fr}.platform-heading h1{font-size:25px}.platform-node-grid{grid-template-columns:1fr}}@media(max-width:600px){.platform-stats{grid-template-columns:repeat(2,1fr)}.platform-heading{align-items:start}.platform-filter label{min-width:150px}.platform-form{padding:16px}.platform-table td,.platform-table th{padding:12px}.platform-tabs{gap:0}.platform-admin .platform-tabs button{padding:9px}}.shell.page-workspace .platform-admin .platform-tabs button{background:transparent;color:#7e8a75;border:0;box-shadow:none}.shell.page-workspace .platform-admin .platform-tabs button.active{background:#e9f1e0;color:#486237}.shell.page-workspace .platform-admin .platform-link{padding:0;background:transparent;color:#536e40;border:0;box-shadow:none}.shell.page-workspace .platform-admin .platform-actions button.ghost{background:#f2f5ec;color:#6b805a;box-shadow:none}.shell.page-workspace .platform-admin .platform-tabs button{background:transparent!important;color:#7e8a75!important;border:0!important;box-shadow:none!important}.shell.page-workspace .platform-admin .platform-tabs button.active{background:#e9f1e0!important;color:#486237!important}.shell.page-workspace .platform-admin .platform-actions button.ghost{background:#f2f5ec!important;color:#6b805a!important}.shell.page-workspace .platform-admin .platform-link{background:transparent!important;color:#536e40!important}.platform-admin textarea{min-height:100px;padding:10px 12px;border:1px solid #dfe6d6;border-radius:7px;background:#fff;color:#45533c;font:inherit;resize:vertical;width:100%;box-sizing:border-box}.platform-admin fieldset{border:1px solid #dfe6d6;border-radius:8px;display:grid;gap:12px;padding:16px}.platform-admin legend{font-size:12px;padding:0 6px}.platform-admin>h2{margin-top:32px}.platform-stats strong{overflow-wrap:anywhere}.platform-instagram-auth .screen{max-width:100%;height:auto;border-radius:10px;border:1px solid #dfe6d6}.platform-instagram-auth input{max-width:100%}:root{color:#1c1915;background:#f3efe6;font-family:Avenir Next,Segoe UI,sans-serif;font-size:15px;line-height:1.45}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{background:#1c1915;color:#f7f4ee;border:0;border-radius:6px;padding:8px 12px;cursor:pointer}button.ghost{background:transparent;color:#1c1915;border:1px solid #cfc6b8}button:disabled{opacity:.5;cursor:default}input,select,textarea{width:100%;border:1px solid #cfc6b8;background:#fffdf8;border-radius:6px;padding:8px 10px}.login{min-height:100vh;display:grid;place-items:center;padding:24px}.card{width:min(420px,100%);background:#fffdf8;border:1px solid #e4dccf;border-radius:16px;padding:28px}h1,h2,h3{font-family:Palatino,Palatino Linotype,Iowan Old Style,serif;font-weight:600;letter-spacing:-.02em;margin:0 0 12px}.shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}nav{background:#221e1a;color:#f3efe6;padding:22px 14px;display:flex;flex-direction:column;gap:4px}nav strong{display:block;padding:0 10px 16px;font-family:Palatino,serif;font-size:22px}nav button{background:transparent;color:#f3efe6;text-align:left;border-radius:8px}nav button.active{background:#3a332c}nav .spacer{flex:1}main{padding:28px}.row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.grid{display:grid;gap:12px}table{width:100%;border-collapse:collapse;background:#fffdf8}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid #eadfce;vertical-align:top}th{font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#6d645b}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.pill{display:inline-block;padding:2px 8px;border-radius:999px;background:#ece4d6;font-size:12px}.pill.ready,.pill.succeeded,.pill.delivered,.pill.available{background:#d9ead3}.pill.error,.pill.failed,.pill.dead,.pill.unknown{background:#f4d2c8}.pill.queued,.pill.running,.pill.pending,.pill.inflight{background:#f6e7c1}.note{background:#fff7e8;border:1px solid #ead7b0;border-radius:10px;padding:12px 14px;margin:0 0 16px}.error{background:#fde8e2;border-radius:8px;padding:10px 12px;margin:0 0 12px}.secret{background:#221e1a;color:#f3efe6;border-radius:8px;padding:12px;word-break:break-all}.screen{width:min(100%,640px);background:#fff;border:1px solid #e4dccf;cursor:crosshair}.auth-form{display:grid;gap:8px;max-width:420px}pre{white-space:pre-wrap;background:#fffdf8;border:1px solid #eadfce;border-radius:10px;padding:12px}@media(max-width:800px){.shell{grid-template-columns:1fr}nav{flex-direction:row;flex-wrap:wrap}}.agent-editor fieldset{border:0;padding:0;margin:0;min-width:0}.agent-editor label{display:grid;gap:6px}.agent-editor .check{display:flex;align-items:center;gap:8px}.agent-editor .check input{width:auto}.agent-block{padding:16px;border:1px solid #cfc6b8;border-radius:8px;background:#fffdf8;overflow-wrap:anywhere}.contact-tabs{display:flex;flex-wrap:wrap;gap:8px}.contact-tabs button span{margin-left:6px;opacity:.7}.selected-contact{background:#eee6d6}.shell:has(.messenger){grid-template-columns:210px minmax(0,1fr)}.shell>main:has(.messenger){padding:0;min-width:0}.messenger{height:100dvh;min-height:560px;display:grid;grid-template-columns:340px minmax(0,1fr);background:#fff;color:#383c40;overflow:hidden}.messenger.with-drawer{grid-template-columns:320px minmax(300px,1fr) 300px}.conversation-sidebar{display:flex;flex-direction:column;min-height:0;min-width:0;border-right:1px solid #e4e7e9;background:#fff}.conversation-sidebar>header{display:flex;align-items:center;gap:10px;padding:24px 22px 16px}.conversation-sidebar h1{font:700 23px Avenir Next,Segoe UI,sans-serif;margin:0}.list-count{font-size:12px;background:#eff3f5;border-radius:12px;padding:3px 8px;color:#7c868c}.messenger-tabs{display:flex;padding:0 16px;border-bottom:1px solid #eef0f2}.messenger-tabs button{font-size:13px;padding:12px 9px;color:#8b9298;background:transparent;border-radius:0;border-bottom:2px solid transparent}.messenger-tabs button.active{color:#20a55a;border-bottom-color:#20a55a}.messenger-tabs small{display:block;margin-top:3px;font-size:10px}.messenger-search{padding:14px 16px}.messenger-search input{background:#f3f5f6;border:0;border-radius:9px;font-size:13px;padding:10px 13px}.conversation-list{overflow-y:auto;flex:1}.conversation{display:flex;width:100%;align-items:center;gap:12px;padding:15px 16px;background:#fff;color:inherit;border-radius:0;text-align:left;border-bottom:1px solid #f1f2f3;min-height:86px}.conversation:hover{background:#f8faf9}.conversation.selected{background:#eff6f2}.conversation-copy{min-width:0;flex:1;display:grid;gap:4px}.conversation-copy strong{font-size:15px;overflow-wrap:anywhere;white-space:normal;font-weight:600}.conversation-copy>span{color:#91979b;font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.conversation-copy small{color:#a4aaae;font-size:10px}.conversation>time{font-size:10px;align-self:flex-start;color:#9ba0a4;padding-top:4px}.avatar{display:inline-flex;width:48px;height:48px;border-radius:50%;position:relative;align-items:center;justify-content:center;flex-shrink:0;background:#e4edf3;color:#597382;font-weight:600;font-size:16px}.avatar.max{background:#ede8fa;color:#7966a1}.avatar.whatsapp{background:#e4f1e7;color:#4c865d}.avatar.telegram{background:#e5f1fa;color:#5285a5}.avatar.matrix{background:#e5f6f1;color:#0d7a5f}.avatar.large{width:88px;height:88px;font-size:28px}.avatar img{height:100%;width:100%;border-radius:50%;object-fit:cover}.channel-dot{position:absolute;bottom:-2px;right:-2px;width:19px;height:19px;border:2px solid white;border-radius:50%;display:grid;place-items:center;color:#fff;font:700 10px sans-serif;background:#6178d5}.channel-dot.whatsapp{background:#31bd68}.channel-dot.telegram{background:#2ba6db}.channel-dot.max{background:#7952e9}.channel-dot.matrix{background:#0dbd8b}.conversation-main{display:flex;flex-direction:column;min-width:0;min-height:0}.conversation-header{display:flex;gap:12px;align-items:center;padding:16px 24px;border-bottom:1px solid #e9ecee;background:#fff}.conversation-header>div:not(.header-actions){display:grid;gap:3px}.conversation-header strong{font-size:16px}.conversation-header span:not(.avatar){font-size:12px;color:#98a0a6}.header-actions{margin-left:auto;display:flex;gap:8px}.header-actions button{font-size:11px;border-color:#e1e6e9}.message-timeline{overflow-anchor:none;overflow-y:auto;flex:1;padding:28px 32px;display:flex;flex-direction:column;gap:14px;background:linear-gradient(140deg,#f4f3fa,#f6f8f6 55%,#edf5f1)}.message-bubble{max-width:min(80%,680px);padding:12px 16px 7px;border-radius:10px;background:#fff;align-self:flex-start;box-shadow:0 1px 1px #00000004;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.5}.message-bubble.outbound{align-self:flex-end;background:#4bc978;color:#fff;border-bottom-right-radius:2px}.message-bubble.inbound{border-bottom-left-radius:2px}.message-bubble footer{display:flex;justify-content:flex-end;align-items:center;gap:5px;font-size:10px;opacity:.65;margin-top:4px}.message-author{display:block;color:#65977b;font-size:12px;margin-bottom:4px}.message-bubble footer .read{color:#e9ffff;opacity:1}.message-composer{display:flex;padding:16px 24px;align-items:flex-end;gap:12px;border-top:1px solid #edf0f2;background:#fff}.message-composer textarea{resize:none;background:#fff;border:1px solid #e0e4e7;border-radius:9px;padding:13px 16px;max-height:180px}.message-composer button{background:#2db76b;padding:13px 18px;white-space:nowrap}.messenger-empty{display:grid;place-content:center;text-align:center;color:#98a2a8;padding:30px;height:100%}.messenger-empty h2{color:#6b767c;font-family:inherit;font-size:22px}.contact-profile{overflow-y:auto;padding:32px;background:#fbfcfc}.person-card{max-width:680px;margin:0 auto;display:grid;gap:12px}.person-hero{display:grid;justify-items:center;gap:12px;padding:12px 0 24px}.person-hero h2{font-family:inherit;font-size:22px;margin:0}.person-hero a{color:#73858e;text-decoration:none}.person-channels{display:flex;gap:6px;flex-wrap:wrap}.channel-label{display:inline-block;font-size:10px;padding:3px 7px;border-radius:12px;color:#667984;background:#edf1f4}.channel-label.whatsapp{background:#e6f6eb;color:#2f9c59}.channel-label.max{background:#f0eafa;color:#8460b4}.channel-label.telegram{background:#e4f3fc;color:#348eba}.channel-label.matrix{background:#e5f6f1;color:#0d7a5f}.person-card h3{font-family:inherit;font-size:13px;color:#7c898f;margin:14px 0 0}.person-card label{display:grid;gap:6px;font-size:12px;color:#88949b}.person-card input,.person-card select{background:#fff;border-color:#e0e5e8}.person-card .note{font-size:11px;line-height:1.5}.contact-chat{display:flex;align-items:center;gap:12px;color:#46575f;background:#fff;border:1px solid #e7ecee;text-align:left;padding:14px}.contact-chat>span:nth-child(2){flex:1}.identity-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:12px}.identity-row select{font-size:11px;padding:6px}.contact-drawer{overflow-y:auto;border-left:1px solid #e5eaed;padding:20px}.contact-drawer .person-hero h2{font-size:18px}.load-more{background:transparent;color:#64977b;width:100%;padding:16px}.empty-list,.timeline-hint{padding:24px;text-align:center;color:#9aa4aa;font-size:13px}.messenger-notice{background:#eaf7ef;color:#3f8f60;padding:10px 20px;font-size:12px}@media(max-width:1100px){.messenger,.messenger.with-drawer{grid-template-columns:290px minmax(0,1fr)}.contact-drawer{position:absolute;right:0;top:0;bottom:0;width:310px;background:#fff;box-shadow:-10px 0 40px #0001;z-index:2}.conversation-header{padding:14px}.header-actions button{font-size:10px;padding:7px}.message-timeline{padding:20px}}@media(max-width:760px){.shell:has(.messenger){grid-template-columns:150px minmax(0,1fr)}.messenger,.messenger.with-drawer{grid-template-columns:230px minmax(280px,1fr);overflow-x:auto}.conversation-sidebar>header{padding:18px 14px}.messenger-tabs{padding:0 5px}.messenger-tabs button{font-size:10px;padding:8px}.conversation{padding:12px 10px;gap:8px}.avatar{width:38px;height:38px}.conversation-copy strong{font-size:13px}}.channel-dot{background:#fff!important;color:#7952e9;border:0;width:21px;height:21px}.channel-dot svg{width:21px;height:21px;border:2px solid white;border-radius:50%}.channel-dot.whatsapp{color:#2dbb63}.channel-dot.telegram{color:#2aabee}.conversation-meta{min-width:35px;align-self:stretch;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;font-size:10px;color:#9ba5aa;padding:2px 0}.unread-badge{background:#ef5654;color:#fff;border-radius:20px;min-width:20px;height:20px;display:grid;place-items:center;padding:0 6px;font-size:11px}.receipt-icon{display:inline-flex;width:22px;color:#a1adb3}.receipt-icon svg{width:22px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.receipt-icon.is-read{color:#159bd7}.message-bubble.outbound .receipt-icon{color:#f1fff2}.message-bubble.outbound .receipt-icon.is-read{color:#006cbe}.pending-send{opacity:.8}.pending-send.failed,.pending-send.cancelled{background:#fbe3e3;color:#8c4646}.send-error{display:block;font-size:10px;padding-top:5px}.attachment-card{margin:8px 0;padding:10px;border:1px solid #ddd8;border-radius:10px;max-width:380px;overflow:hidden}.attachment-image{display:block;width:auto;max-width:100%;max-height:360px;border-radius:7px;object-fit:contain}.attachment-card video{max-width:100%;max-height:360px;border-radius:7px}.attachment-card audio{display:block;max-width:100%;width:300px;margin-bottom:8px}.attachment-details{display:flex;justify-content:space-between;gap:10px;overflow-wrap:anywhere;margin:5px 0}.attachment-details small{white-space:nowrap;color:#777}.attachment-card button{padding:5px 9px;margin-right:5px;font-size:12px}.compose-attachment{padding:8px 16px;background:#f1f6f2;display:flex;align-items:center;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.recording-status{padding:8px 16px;color:#b52c2c;margin:0;font-size:13px}.message-composer .composer-tool{padding:8px;min-width:35px;font-size:18px;flex-shrink:0}.composer-tool.is-recording{color:#b52c2c;background:#fee}.reply-quote{display:grid;gap:4px;text-align:left;width:100%;background:#00000007;color:inherit;border:0;border-left:3px solid #539d7c;padding:8px;margin-bottom:6px;cursor:pointer}.reply-quote span,.reply-draft span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.reply-draft{display:flex;align-items:center;gap:10px;padding:10px 20px;background:#eef5f1;min-width:0}.reply-draft span{flex:1}.forward-dialog{width:min(520px,calc(100% - 24px));max-height:min(84dvh,680px);padding:16px;border:1px solid #ddd;border-radius:16px;background:#fafcfb;color:#25351e;overflow:auto}.forward-dialog[open]{display:grid;gap:10px;grid-template-rows:auto auto auto auto minmax(70px,1fr) auto auto}.forward-dialog::backdrop{background:#25351e65}.forward-dialog header,.forward-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.forward-dialog footer{justify-content:flex-end}.forward-dialog footer button:last-child{min-width:0;overflow-wrap:anywhere}.forward-dialog p{margin:0}.forward-source{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:8px;border-radius:8px;background:#eef2ed}.forward-channels{display:flex;gap:4px;flex-wrap:wrap}.forward-results{min-height:70px;overflow:auto;display:grid;align-content:start;gap:2px}.forward-dialog .forward-recipient{display:grid;text-align:left;gap:1px;justify-items:start;overflow-wrap:anywhere;min-height:40px;padding:6px 8px;background:transparent;color:#25351e;border:0;border-radius:8px}.forward-dialog button.ghost{background:transparent;color:#25351e;border:0;border-radius:8px;min-height:32px;padding:4px 8px}.forward-dialog .forward-channels button.ghost{border:1px solid #d5e0cc}.forward-dialog footer button:not(.ghost){background:#47754b;color:#fff;min-height:34px;padding:6px 12px}.forward-dialog button[aria-pressed=true]{background:#deebd8}.forward-label{display:block;color:#638170;margin-bottom:5px}.workspace-nav-icon{display:none}.shell.chat-workspace{grid-template-columns:220px minmax(0,1fr);background:#f8faf7;padding:20px;min-height:100dvh;gap:0}.chat-workspace>nav{background:#f0f4ed;color:#849080;border:1px solid #dae4d7;border-right:0;border-radius:22px 0 0 22px;padding:18px 12px;align-items:stretch;gap:4px;height:calc(100dvh - 40px);min-height:560px;overflow-y:auto}.chat-workspace>nav strong{padding:0;display:grid;place-items:center;align-self:center;background:#2c6b49;color:#fff;width:44px;height:44px;border-radius:16px 16px 16px 4px;font:800 35px Avenir Next,Segoe UI,sans-serif;margin:4px 0 14px}.chat-workspace>nav button{color:#849080;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:40px;padding:8px 10px;text-align:left;flex-shrink:0;font-size:14px}.chat-workspace .workspace-nav-label{display:block;line-height:1.2}.shell.chat-workspace:not(.nav-labels){grid-template-columns:72px minmax(0,1fr)}.chat-workspace:not(.nav-labels) .workspace-nav-label{display:none}.chat-workspace:not(.nav-labels)>nav:not(.mobile-primary-nav){padding-inline:8px}.chat-workspace:not(.nav-labels)>nav:not(.mobile-primary-nav) button{justify-content:center;width:48px;align-self:center;gap:0;padding-inline:0}.chat-workspace>nav strong{order:-2}.chat-workspace>nav:not(.mobile-primary-nav) button.nav-labels-toggle{order:-1;width:48px;align-self:center;justify-content:center;padding-inline:0}.chat-workspace>nav button.nav-labels-toggle[aria-pressed=true]{background:#dfeada;color:#47794b}.chat-workspace .workspace-nav-icon{display:grid;place-items:center;flex:none;font-size:23px;line-height:1}.chat-workspace>nav button.active{background:#dfeada;color:#47794b}.chat-workspace>nav button:hover{background:#e5eddf}.chat-workspace>main{border:1px solid #dae4d7;border-radius:0 22px 22px 0;overflow:hidden;background:#fff;box-shadow:15px 25px 45px -35px #49634b50}.chat-workspace .messenger{height:calc(100dvh - 42px);grid-template-columns:minmax(280px,35%) minmax(0,1fr);color:#26322b;font-family:Avenir Next,Segoe UI,sans-serif}.chat-workspace .messenger.with-drawer{grid-template-columns:300px minmax(0,1fr) 280px}.chat-workspace .conversation-sidebar{border-color:#e0e7da}.chat-workspace .conversation-sidebar>header{padding:14px 16px 8px}.chat-workspace .conversation-sidebar h1{font-size:25px;color:#25302a;letter-spacing:-.7px}.chat-workspace .list-count{background:#eef2ea;color:#84917c;border-radius:7px;font-size:14px;padding:2px 8px}.chat-workspace .messenger-tabs{border:0;padding:0 16px;gap:3px;flex-wrap:wrap}.chat-workspace .messenger-tabs button{border:0;border-radius:8px;color:#879181;padding:9px 10px;font-size:12px}.chat-workspace .messenger-tabs button.active{color:#3f7143;background:#ebf1e6}.chat-workspace .messenger-search{padding:8px 14px 10px}.chat-workspace .messenger-search input{background:#f7f8f3;border:1px solid #e9ede2;border-radius:9px;padding:10px 12px;font-size:13px}.chat-workspace .conversation{padding:8px 14px;min-height:68px;gap:10px;border-color:#edf0e7;border-left:4px solid transparent}.chat-workspace .conversation.selected{background:#f0f5e9;border-left-color:#61834f}.chat-workspace .conversation:hover{background:#f6f8f1}.chat-workspace .avatar{width:44px;height:44px;font-size:14px;font-weight:400}.chat-workspace .channel-dot{display:none}.chat-workspace .conversation-copy{gap:6px}.chat-workspace .conversation-copy strong{font-size:16px;font-weight:700;color:#334030}.chat-workspace .conversation-copy>span{font-size:13px;color:#88927e}.chat-workspace .conversation-channel{font-size:11px}.chat-workspace .conversation-channel.whatsapp{color:#42844e}.chat-workspace .conversation-channel.telegram{color:#4e94ba}.chat-workspace .conversation-channel.max{color:#8266b7}.chat-workspace .conversation-channel.matrix{color:#0d7a5f}.chat-workspace .conversation-meta{color:#99a28e;font-size:10px}.inbox-footnote{border-top:1px solid #eaf0e2;color:#89977d;display:flex;gap:8px;align-items:center;padding:14px 26px;font-size:11px}.inbox-footnote>span{background:#6b9c70;border-radius:50%;width:7px;height:7px}.chat-workspace .conversation-header{min-height:105px;padding:22px 28px;gap:15px;flex-wrap:wrap;border-color:#e9ede2}.chat-workspace .conversation-header strong{font-size:18px;font-weight:700}.chat-workspace .conversation-header span:not(.avatar){color:#96a18a;font-size:12px}.chat-workspace .conversation-header .chat-mode-badge{margin-left:auto;padding:5px 11px;border-radius:8px;background:#eff5e7;color:#7d9669;font-size:11px}.chat-workspace .header-actions{gap:5px;flex-wrap:wrap;margin-left:auto}.chat-workspace .header-actions button{border-color:#e3e9da;color:#7d8c70;font-size:10px;padding:6px 9px}.chat-workspace .message-timeline{background:#fafbf7;padding:28px;gap:20px}.chat-workspace .message-bubble{background:#fff;border:1px solid #e4e9dc;box-shadow:none;border-radius:14px 14px 14px 0;padding:16px 19px 9px;color:#2e3930;font-size:15px;max-width:86%}.chat-workspace .message-bubble.outbound{background:#e9f0df;border-color:#dce7ce;color:#2e3930;border-radius:14px 14px 0}.chat-workspace .message-bubble footer{color:#9ca68f;opacity:1;font-size:10px}.chat-workspace .message-bubble.outbound .receipt-icon{color:#91a282}.chat-workspace .message-bubble.outbound .receipt-icon.is-read{color:#6c9369}.chat-workspace .message-composer{margin:18px 26px;padding:10px 12px;border:1px solid #e0e7d5;border-radius:12px;align-items:center;gap:7px}.chat-workspace .message-composer textarea{border:0;background:transparent;padding:9px;font-size:14px;min-width:0}.chat-workspace .message-composer textarea::placeholder{color:#9da88e}.chat-workspace .messenger-empty{background:#fafbf7;color:#98a18e}.chat-workspace .messenger-empty h2{color:#6f8264}.chat-workspace :is(button,a,textarea,input):focus-visible{outline:2px solid #719968;outline-offset:3px}@media(max-width:1200px){.chat-workspace .messenger.with-drawer{grid-template-columns:300px minmax(0,1fr)}.chat-workspace .contact-drawer{top:20px;bottom:20px;right:20px}.chat-workspace .conversation-header{padding:18px}.chat-workspace .header-actions{width:100%;justify-content:flex-end}.chat-workspace .conversation{padding:8px 12px}.chat-workspace .conversation-copy strong{font-size:14px}}@media(max-width:760px){.shell.chat-workspace{grid-template-columns:196px minmax(0,1fr);padding:7px}.chat-workspace>nav{padding:12px 8px;height:calc(100dvh - 14px);border-radius:15px 0 0 15px}.chat-workspace>nav button{width:100%;font-size:13px;padding:7px 8px}.chat-workspace>nav strong{width:36px;height:36px;font-size:29px}.chat-workspace>main{border-radius:0 15px 15px 0}.chat-workspace .messenger,.chat-workspace .messenger.with-drawer{height:calc(100dvh - 16px);grid-template-columns:235px minmax(280px,1fr);overflow-x:auto}.chat-workspace .conversation-sidebar>header{padding:12px 14px 8px}.chat-workspace .messenger-tabs{padding:0 10px}.chat-workspace .messenger-tabs button{font-size:11px;padding:7px}.chat-workspace .messenger-search{padding:8px 12px}.chat-workspace .conversation{padding:8px 12px;gap:10px}.chat-workspace .avatar{width:38px;height:38px}.chat-workspace .message-timeline{padding:8px 12px}.chat-workspace .message-composer{margin:12px}.chat-workspace .contact-drawer{right:7px;top:7px;bottom:7px}}.chat-workspace>main{display:flex;flex-direction:column;min-height:0;height:calc(100dvh - 40px)}.chat-workspace>main>.error{flex-shrink:0;margin:0;border-radius:0}.chat-workspace .messenger{flex:1;height:auto;min-height:0}@media(max-width:760px){.chat-workspace>main{height:calc(100dvh - 14px)}}:root{color:#2d392f;background:#f8faf7}.shell h1,.shell h2,.shell h3,.login h1{font-family:Avenir Next,Segoe UI,sans-serif}.shell h2{font-size:27px;letter-spacing:-.7px;font-weight:700;margin-bottom:20px}.shell h3{font-size:17px;font-weight:600}.chat-workspace .workspace-nav-icon{display:grid;place-items:center}.chat-workspace>nav{position:sticky;top:20px}.shell.page-workspace>main{overflow:auto;padding:34px 38px;background:#fafbf7;display:block}.page-workspace>main>section{width:100%;max-width:1280px;margin-inline:auto}.shell .grid{gap:18px}.shell .card{width:100%;background:#fff;border:1px solid #e0e7d9;border-radius:15px;padding:24px;box-shadow:0 4px 15px #405a4003}.shell button:not(nav button):not(.conversation):not(.messenger-tabs button):not(.phone-row):not(.phone-tabs button):not(.phone-sms-back):not(.phone-sms-contact):not(.load-more):not(.reply-quote):not(.message-automation-badge):not(.contact-color):not(.contact-tag-remove):not(.chat-header-person):not(.contact-color-reset):not(.saved-entry):not(.saved-chip):not(.saved-color):not(.saved-person):not(.saved-open){background:#47754b;color:#fff;border-radius:8px;padding:10px 15px}.shell button.ghost:not(nav button){background:transparent;color:#59714e;border:1px solid #dce5d3}.shell button:hover:not(:disabled):not(nav button):not(.conversation):not(.messenger-tabs button):not(.phone-row):not(.phone-tabs button):not(.phone-sms-back){filter:brightness(.97)}.shell input,.shell select,.shell textarea,.login input{background:#fff;border:1px solid #dfe6d7;border-radius:9px;padding:10px 12px;color:#354330}.shell input::placeholder,.shell textarea::placeholder{color:#a0aa95}.shell input[type=checkbox]{accent-color:#47754b}.shell label.row input[type=checkbox],.shell label.check input[type=checkbox]{width:auto;flex:none}.shell .row{gap:10px}.shell table{background:#fff;border:1px solid #e2e8da;border-radius:12px;border-collapse:separate;border-spacing:0;overflow:hidden;display:block;overflow-x:auto}.shell table tbody,.shell table thead{min-width:100%}.shell th{background:#f0f4ea;color:#7a8970;text-transform:none;font-size:12px;font-weight:600;letter-spacing:0;white-space:nowrap}.shell th,.shell td{padding:14px 17px;border-bottom:1px solid #edf0e6}.shell tr:last-child td,.shell tr:last-child th{border-bottom:0}.shell td{font-size:13px;color:#5d6c53}.shell .note{background:#f0f5e9;border-color:#dfe8d3;color:#7b896e;line-height:1.75;font-size:13px;padding:16px 19px;border-radius:11px;margin-bottom:0}.shell .error,.login .error{background:#fcf0eb;border:1px solid #f0dcd3;color:#a05b46;font-size:13px}.shell .secret{background:#edf4e7;color:#43633c;border:1px solid #d5e3ca;padding:15px}.shell .pill{background:#eef2e8;color:#7b8d6b;font-size:11px;border-radius:6px;padding:4px 9px}.shell .pill.ready,.shell .pill.succeeded,.shell .pill.delivered,.shell .pill.available{background:#e7f1df;color:#58804a}.shell .pill.error,.shell .pill.failed,.shell .pill.dead,.shell .pill.unknown{background:#f9e8e2;color:#ad705c}.shell .pill.queued,.shell .pill.running,.shell .pill.pending,.shell .pill.inflight{background:#f6f0db;color:#a08a49}.shell pre{background:#f3f6ee;border-color:#dfe7d6;color:#5f7353;padding:18px;border-radius:11px}.shell .agent-block{background:#f7f9f2;border:1px solid #e0e7d6;border-radius:11px;padding:20px}.shell .selected-contact{background:#e8efde}.shell .contact-profile,.shell .contact-drawer{background:#fafbf7;color:#42543a}.shell .person-field{border-color:#e2e9da}.shell .muted{color:#92a084}.login{background:#f8faf7;color:#2d392f}.login .card{background:#fff;border-color:#dfe7d7;border-radius:20px;box-shadow:0 25px 60px -30px #44674230;padding:36px}.login button{background:#47754b;color:#fff;padding:12px;border-radius:9px}@media(max-width:760px){.shell.page-workspace>main{padding:24px 18px}.shell h2{font-size:23px}.shell .card{padding:18px}.chat-workspace>nav{top:7px}.shell th,.shell td{padding:12px}.shell .row>input,.shell .row>select{min-width:140px}}.inline-help{color:#7e8e72;font-size:12px;min-width:0}.inline-help>summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;width:fit-content;padding:3px 0}.inline-help>summary::-webkit-details-marker{display:none}.inline-help>summary:hover{color:#47754b}.inline-help>summary:focus-visible{outline:2px solid #719968;outline-offset:4px;border-radius:3px}.help-chevron{transition:transform .15s}.inline-help[open] .help-chevron{transform:rotate(180deg)}.inline-help-content{max-width:760px;padding:10px 0 5px 23px;color:#809075;line-height:1.7}.inline-help-content p{margin:0 0 8px}.inline-help-content p:last-child{margin-bottom:0}.inline-help-content dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:9px 16px;margin:12px 0 0}.inline-help-content dt{font-weight:600;color:#5e7551}.inline-help-content dd{margin:0}.shell .inline-hint{color:#8a977e;font-size:12px;line-height:1.6;margin:0}.shell .inline-status{color:#738566;font-size:12px;line-height:1.6;margin:0;padding:5px 0 5px 11px;border-left:2px solid #c5d5b8}@media(max-width:600px){.inline-help-content dl{grid-template-columns:1fr;gap:4px}.inline-help-content dd{margin-bottom:9px}}.channels-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.channels-heading h2{margin-bottom:6px}.channels-heading .inline-help{max-width:380px}.channel-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.channel-stats>div{background:#f0f4e9;border:1px solid #e0e7d7;border-radius:12px;padding:17px 22px;display:flex;gap:13px;align-items:center}.channel-stats strong{font-size:26px;font-weight:600;color:#4e7143}.channel-stats span{font-size:12px;color:#87967b}.channel-create h3{margin:0 0 17px}.channel-create-fields{display:grid;grid-template-columns:1fr 1.4fr auto;gap:15px;align-items:end}.channel-create-fields label{display:grid;gap:7px;font-size:12px;color:#849279}.channel-create-fields button,.channel-account-actions button{display:flex;align-items:center;justify-content:center;gap:7px}.channel-create .inline-status{margin-top:15px}.channel-list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:10px}.channel-list-heading h3{margin:0}.channel-list-heading select{width:auto;max-width:230px;font-size:12px}.channel-account-heading{display:flex;align-items:center;gap:13px}.channel-account-heading h3{margin:0 0 3px}.channel-account-heading>.pill{margin-left:auto}.channel-emblem{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:#eef2e9;color:#7b906c}.channel-emblem.whatsapp{background:#e5f1e5;color:#57864d}.channel-emblem.telegram{background:#e7f1f7;color:#5789ac}.channel-emblem.max{background:#eee9f7;color:#8b74ad}.channel-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:16px 0;border-block:1px solid #eef1e7}.channel-facts>div{display:grid;gap:5px}.channel-facts span{font-size:11px;color:#98a28c}.channel-facts strong{font-size:12px;font-weight:500;color:#67795b}.channel-facts .service-online{color:#5d8650}.channel-facts .service-offline{color:#ab8c62}.channel-account-actions{display:flex;gap:9px;flex-wrap:wrap}.shell .channel-account-actions .channel-delete{margin-left:auto;color:#a47c6c}.channel-details>summary{font-size:12px;color:#809471;cursor:pointer}.channel-details[open]>summary{margin-bottom:17px}.channel-delete-confirm{padding:18px;background:#faf2ed;border:1px solid #efdfd4;border-radius:11px;color:#916e5b;font-size:13px}.channel-delete-confirm p{font-size:12px;line-height:1.7;max-width:680px}.shell .channel-delete-confirm button:not(.ghost){background:#a7715d}.channel-empty{border:1px dashed #d8e3cc;border-radius:14px;text-align:center;padding:40px;color:#8b9a80}.channel-empty h3{margin:15px 0 8px}.channel-empty p{font-size:13px;margin:0}.channel-details input[type=checkbox]{width:auto}.channel-details .inline-help{font-size:11px}@media(max-width:800px){.channels-heading{flex-direction:column}.channel-stats{gap:7px}.channel-stats>div{padding:12px;display:grid;gap:3px}.channel-create-fields{grid-template-columns:1fr}.channel-facts{grid-template-columns:1fr;gap:13px}.channel-facts>div{display:flex;justify-content:space-between;gap:10px}.channel-account-actions{gap:6px}.channel-account-heading{flex-wrap:wrap}.channel-account-heading>.pill{margin-left:0}}.chat-workspace .conversation-header{min-height:70px;padding:12px 20px;gap:11px}.chat-workspace .conversation-header .avatar{width:38px;height:38px;font-size:13px}.chat-workspace .conversation-header strong{font-size:15px}.shell .conversation-header .header-actions button{font-size:10px;padding:5px 8px;border-radius:6px}.chat-workspace .message-timeline{padding:10px 16px;gap:3px}.chat-workspace .message-bubble{position:relative;width:fit-content;max-width:min(76%,580px);padding:5px 8px 3px;border-radius:11px 11px 11px 3px;font-size:15px;line-height:1.3;white-space:normal;min-width:64px}.chat-workspace .message-bubble.outbound{border-radius:11px 11px 3px}.chat-workspace .message-text{display:inline;white-space:pre-wrap;overflow-wrap:anywhere}.chat-workspace .message-bubble footer{float:right;display:inline-flex;align-items:center;gap:3px;margin:2px 0 0 8px;font-size:11px;line-height:1.1;white-space:nowrap;color:#94a087}.chat-workspace .message-bubble:after{content:"";display:block;clear:both}.chat-workspace .message-author{font-size:11px;margin-bottom:3px}.chat-workspace .forward-label{font-size:10px;margin-bottom:4px}.chat-workspace .inbox-heading{flex-wrap:wrap}.shell .new-chat-action,.shell .new-chat-channels button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 10px!important;border-radius:9px;font-size:13px;white-space:nowrap}.shell .new-chat-action{margin-left:auto;background:#47754b!important;color:#fff!important}.shell .new-chat-action[aria-expanded=true],.shell .new-chat-channels button{background:#edf3e6!important;color:#3f633b!important;border:1px solid #d8e4cf}.new-chat-channels{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;background:#f7f9f3}.new-chat-channels strong{flex-basis:100%;font-size:13px;color:#435640}.new-chat-channels svg{width:18px;height:18px}.message-context-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80}.message-context-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#16291f38}.message-context-menu{position:fixed;z-index:82;left:0;top:0;min-width:168px;margin:0;padding:4px;border-radius:12px;background:#fff;box-shadow:0 10px 32px #1c2a1840;display:grid}.message-context-menu button{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#243028;font-size:14px;text-align:left;cursor:pointer}.message-context-menu button:hover,.message-context-menu button:focus-visible{background:#edf3e6;outline:none}.chat-workspace .message-bubble.is-held{z-index:auto;box-shadow:0 6px 22px #1c2a1826}.message-gesture{position:relative;display:flex;width:fit-content;max-width:min(80%,680px);align-self:flex-start;touch-action:pan-y}.message-gesture.outbound{align-self:flex-end}.message-gesture .message-bubble{max-width:100%;align-self:auto;z-index:1;transition:transform .16s ease;touch-action:pan-y}.message-gesture-icon{position:absolute;top:50%;left:2px;z-index:0;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#e4eedb;color:#3d6240;opacity:0;pointer-events:none;transform:translateY(-50%) scale(.72)}.message-gesture-icon.forward{left:auto;right:2px}.chat-workspace .message-gesture{max-width:min(76%,580px)}@media(pointer:coarse){.chat-workspace .message-bubble{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}}.chat-workspace .message-composer{position:relative;flex-wrap:wrap;flex-shrink:0;margin:10px 18px;padding:6px;border-radius:11px;gap:6px;align-items:flex-end}.shell .message-composer textarea{flex:1 1 140px;padding:7px 8px;font-size:15px;line-height:1.35;min-height:36px;max-height:140px}.composer-actions,.composer-tools{display:flex;align-items:center;gap:4px}.attach-anchor{position:relative;display:flex}.message-composer .attach-menu-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;width:auto;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.attach-menu{position:absolute;z-index:21;left:0;bottom:calc(100% + 8px);display:grid;min-width:196px;padding:6px;background:#fff;border:1px solid #e2e9d9;border-radius:12px;box-shadow:0 8px 24px #1930241a}.message-composer .attach-menu button{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#25302a;text-align:left}.message-composer .attach-menu button:hover{background:#f3f6ee}.messenger.has-share{position:relative}.messenger.has-share>.share-target{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;background:#fff}.share-target>.conversation-sidebar{flex:1;min-width:0;border:0}.shell .share-cancel{margin-left:auto;background:#edf3e6!important;color:#3f633b!important;border:1px solid #d8e4cf}.share-file{margin:0;padding:0 16px 8px;color:#5d6b58;font-size:13px;line-height:1.35}.composer-actions{justify-content:space-between;margin-left:auto;gap:8px}.shell .message-composer .composer-tool,.shell .message-composer .composer-send{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-width:34px;min-height:34px;border-radius:8px}.shell .message-composer .composer-tool{padding:0!important;border:0;background:#edf3e6!important;color:#3f633b!important}.shell .message-composer .composer-tool:hover,.shell .message-composer .composer-tool[aria-expanded=true]{background:#e0ebd7!important}.shell .message-composer .composer-tool.is-recording{background:#fee!important;color:#a52727!important}.shell .message-composer .composer-send{gap:5px;padding:0 10px!important;font-size:13px;background:#47754b!important;color:#fff!important}.message-composer .emoji-picker{position:static}.message-composer .emoji-panel{left:auto;right:0;width:min(328px,calc(100% - 12px));max-width:none}.chat-workspace :is(.new-chat-action,.new-chat-channels button,.message-context-menu button,.compact-header-actions summary,.chat-header-tool,.message-composer button,.mobile-chat-back):focus-visible{outline:2px solid #285d40;outline-offset:2px}.shell .reply-draft{padding:7px 18px;font-size:11px;gap:8px}.shell .reply-draft button.ghost{padding:3px 7px;font-size:14px}.shell .reply-quote{padding:5px 8px;font-size:11px;margin-bottom:5px}@media(max-width:760px){.chat-workspace .message-timeline{padding:8px 12px}.chat-workspace .message-bubble{max-width:86%;font-size:15px}.chat-workspace .message-composer{margin:6px 8px}.chat-workspace .conversation-header{padding:8px 12px}.chat-workspace .header-actions{width:auto}}.shell .attachment-tile{width:286px;max-width:100%;margin:5px 0 2px;padding:0;border:0;background:transparent;border-radius:10px;overflow:hidden}.shell .attachment-tile .attachment-file-row{display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 9px;background:#f3f6ee;border:1px solid #e2e9d9;border-radius:10px}.shell .outbound .attachment-tile .attachment-file-row{background:#e1ebd5;border-color:#d4e1c6}.shell .attachment-tile .attachment-file-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;background:#e3ecda;border:0;border-radius:9px;color:#64835a;margin:0;padding:0}.shell .outbound .attachment-tile .attachment-file-icon{background:#d0dfc1;color:#547847}.shell .attachment-tile button.attachment-play{width:38px;height:38px;border-radius:50%;background:#658b56;color:#fff;cursor:pointer;padding:0}.attachment-file-info{display:grid;gap:3px;min-width:0;flex:1}.attachment-file-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.4;font-weight:600;color:#43583b;letter-spacing:-.1px}.attachment-file-info small{color:#8d9e80;font-size:10px;line-height:1.2}.shell .attachment-tile button.attachment-download{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:0;margin:0;border:1px solid #d6e1cb;border-radius:50%;color:#729263;background:transparent;cursor:pointer;transition:background .15s,border-color .15s}.shell .attachment-tile button.attachment-download:hover{background:#e2ecd8;border-color:#acc29a;filter:none}.shell .attachment-tile button:disabled{opacity:.65}.shell .attachment-tile button:focus-visible,.attachment-preview:focus-visible{outline:2px solid #719968;outline-offset:2px}.shell .attachment-tile.visual-attachment{width:300px}.attachment-tile .attachment-preview{display:block;line-height:0;background:#edf1e6;border-radius:9px;overflow:hidden}.shell .attachment-tile .attachment-image{width:100%;max-height:300px;object-fit:contain;border-radius:9px}.shell .attachment-tile video{display:block;width:100%;max-height:300px;border-radius:9px;background:#273326}.shell .attachment-tile.visual-attachment .attachment-file-row{background:transparent;border:0;padding:7px 1px 2px;min-height:35px;gap:8px}.shell .attachment-tile.visual-attachment .attachment-file-name{font-size:10px;font-weight:400;color:#8b9a7f}.shell .attachment-tile.visual-attachment .attachment-file-info{display:flex;gap:8px;align-items:center}.shell .attachment-tile.visual-attachment .attachment-file-info small{white-space:nowrap}.shell .attachment-tile button.attachment-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;width:100%;min-height:130px;margin:0;padding:20px;background:linear-gradient(135deg,#eff3e9,#e2ead8);color:#91a77f;border-radius:9px;border:1px solid #dfe7d4;font-size:11px}.shell .attachment-tile audio{display:block;width:100%;height:34px;max-width:100%;margin:6px 0 0;border-radius:17px}.attachment-spinner{display:inline-block;width:16px;height:16px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:attachment-spin .8s linear infinite}.attachment-sr-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.attachment-tile .send-error{display:block;font-size:10px;padding:6px 2px;line-height:1.5}@keyframes attachment-spin{to{transform:rotate(360deg)}}@media(pointer:coarse){.shell .attachment-tile button.attachment-download{width:36px;height:36px;flex-basis:36px}}@media(prefers-reduced-motion:reduce){.attachment-spinner{animation:none}.shell .attachment-tile button.attachment-download{transition:none}}.shell .attachment-tile button.attachment-download{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;align-self:center;width:32px;height:32px;min-width:32px;min-height:32px;flex:0 0 32px;padding:0!important;margin:0!important;border:1px solid #d6e1cb;border-radius:50%!important;background:transparent!important;line-height:1;color:#729263!important}.shell .attachment-tile button.attachment-download svg{display:block;flex:none;width:17px;height:17px;margin:0}.shell .attachment-tile button.attachment-download:hover:not(:disabled){background:#e2ecd8!important;border-color:#acc29a}@media(pointer:coarse){.shell .attachment-tile button.attachment-download{width:36px;height:36px;min-width:36px;min-height:36px;flex-basis:36px}}.emoji-picker{position:relative;flex-shrink:0}.emoji-panel{position:absolute;bottom:calc(100% + 15px);left:0;width:310px;max-width:calc(100vw - 95px);background:#fff;border:1px solid #dce5d3;border-radius:15px;box-shadow:0 12px 40px #2f4c3226;z-index:20;overflow:hidden;white-space:normal}.emoji-panel-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px solid #edf1e6;gap:8px}.emoji-picker-tabs{display:flex;gap:3px}.shell .emoji-panel .emoji-picker-tabs button{padding:7px 11px!important;border:0;border-radius:7px;background:transparent;color:#8a987d;font-size:12px;white-space:nowrap}.shell .emoji-panel .emoji-picker-tabs button.selected{background:#eaf1e3;color:#527748}.shell .emoji-panel .emoji-close{display:grid;place-items:center;width:25px;height:25px;min-width:25px;padding:0!important;background:transparent;color:#96a18c;font-size:21px}.emoji-scroll{padding:9px 12px 13px;max-height:300px;overflow-y:auto;overscroll-behavior:contain}.emoji-scroll p{font-size:10px;color:#95a089;margin:8px 2px}.emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:1px}.shell .emoji-panel .emoji-grid button{display:grid;place-items:center;aspect-ratio:1;padding:0!important;background:transparent;font-size:23px;border-radius:6px;line-height:1.2}.shell .emoji-panel .emoji-grid button:hover,.shell .emoji-panel .sticker-grid button:hover{background:#edf3e5;filter:none}.sticker-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.shell .emoji-panel .sticker-grid button{display:grid;place-items:center;aspect-ratio:1;padding:0!important;border-radius:10px;background:transparent;font-size:42px;line-height:1}.shell .emoji-panel button.sticker-upload{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:12px;padding:9px!important;font-size:11px;background:#edf3e6;color:#647f54;border:1px solid #dfe8d5;border-radius:8px}.emoji-scroll p.sticker-hint{line-height:1.5;margin-top:12px}.shell .emoji-panel button{background:transparent!important;color:#74866a!important}.shell .emoji-panel .emoji-picker-tabs button.selected{background:#eaf1e3!important;color:#527748!important}.shell .emoji-panel .emoji-grid button:hover,.shell .emoji-panel .sticker-grid button:hover{background:#edf3e5!important}.shell .emoji-panel button.sticker-upload{background:#edf3e6!important;color:#647f54!important}.chat-workspace .compact-chat-header{position:relative;display:flex;flex-wrap:nowrap;flex-shrink:0;min-height:58px;height:auto;padding:9px 16px;gap:10px}.chat-workspace .compact-chat-header .avatar{width:34px;height:34px;flex:0 0 34px;font-size:12px}.chat-workspace .compact-chat-header .chat-header-identity{min-width:0;flex:1;gap:1px}.shell .compact-chat-header button.chat-header-person{display:flex;align-items:center;gap:10px;min-width:0;flex:1;margin:0;padding:2px 6px;background:transparent;color:inherit;border:0;border-radius:8px;text-align:left;cursor:pointer}.shell .compact-chat-header button.chat-header-person:hover,.shell .compact-chat-header button.chat-header-person[aria-expanded=true]{background:#edf3e6;filter:none}.chat-workspace .compact-chat-header .chat-header-identity strong{display:block;font-size:14px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-workspace .compact-chat-header .chat-header-identity>span{display:block;font-size:10px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-workspace .compact-chat-header .compact-header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;width:auto;flex-shrink:0;margin-left:8px}.shell .compact-chat-header .compact-header-actions button.chat-header-tool{display:grid;place-items:center;box-sizing:border-box;width:40px;height:40px;min-width:40px;padding:0!important;border:0!important;border-radius:8px!important;background:#f2f6ee!important;color:#466940!important;line-height:1;cursor:pointer}.shell .compact-chat-header .compact-header-actions button.chat-header-tool[aria-expanded=true]{background:#edf3e6!important;color:#648853!important}.shell .compact-chat-header .compact-header-actions button.chat-header-tool:hover{background:#e9f0e1!important;color:#547849!important;filter:none}.chat-header-menu{position:relative}.chat-header-menu>summary{display:grid;place-items:center;width:40px;height:40px;list-style:none;cursor:pointer;background:#f2f6ee;color:#466940;border-radius:8px}.chat-header-menu>summary::-webkit-details-marker{display:none}.chat-header-menu>summary:hover{background:#edf3e6}.chat-header-menu-content{display:grid;position:absolute;right:0;top:calc(100% + 4px);z-index:10;width:max-content;max-width:240px;background:#fff;padding:5px;border:1px solid #dfe7d5;border-radius:9px;box-shadow:0 6px 20px #324d3020}.shell .compact-chat-header .chat-header-menu-content button{padding:8px 11px!important;background:transparent!important;border:0!important;color:#6f8460!important;border-radius:5px!important;font-size:13px;white-space:normal}.chat-header-menu-content>span{padding:8px 11px;font-size:12px;color:#55654b}.shell .compact-chat-header .chat-header-menu-content button{text-align:left;min-height:36px}.shell .compact-chat-header .chat-header-menu-content button[aria-checked=true]{font-weight:700}.shell .compact-chat-header .chat-header-menu-content button:hover{background:#edf3e6!important}@media(max-width:760px){.chat-workspace .compact-chat-header{height:auto;min-height:54px;padding:8px 11px;gap:8px}.chat-workspace .compact-chat-header .chat-header-identity strong{font-size:13px}.chat-workspace .compact-chat-header .compact-header-actions{gap:2px;margin-left:2px}}.chat-workspace .messenger{position:relative}.chat-workspace .messenger.with-drawer{grid-template-columns:minmax(250px,30%) minmax(0,1fr) 310px}.chat-workspace .messenger.contact-mode{grid-template-columns:minmax(250px,35%) minmax(0,1fr)}.chat-workspace .contact-profile{min-width:0;padding:24px;overflow:auto;overscroll-behavior:contain}.chat-workspace .contact-drawer{position:static;width:auto;min-width:0;max-width:100%;padding:16px 18px;overflow:auto;border-left:1px solid #e0e7d7;background:#fafbf7;overscroll-behavior:contain;box-shadow:none}.shell .person-card{display:flex;flex-direction:column;gap:0;width:100%;max-width:560px;min-width:0;margin:0 auto;overflow-wrap:anywhere}.person-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px;color:#87977b;font-size:11px;font-weight:500}.shell .person-card button.person-close{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;padding:0!important;background:transparent!important;color:#8f9e83!important;font-size:23px;border:0;border-radius:6px;line-height:1}.shell .person-card .person-hero{display:flex;flex-direction:column;align-items:center;gap:7px;padding:20px 0 24px;min-width:0;text-align:center}.shell .person-card .person-hero .avatar.large{width:64px;height:64px;flex:0 0 64px;font-size:21px}.shell .person-card .person-hero h2{font-size:18px;line-height:1.35;margin:4px 0 0;max-width:100%;overflow-wrap:anywhere;letter-spacing:-.4px}.shell .person-card .person-hero a{font-size:12px;color:#819475;text-decoration:none}.person-card .person-channels{justify-content:center;gap:5px;margin-top:2px}.person-card .person-section{display:flex;flex-direction:column;gap:11px;min-width:0;padding:18px 0;border-top:1px solid #e4eadc;width:100%}.shell .person-card .person-section h3{display:flex;align-items:center;gap:7px;margin:0;color:#6d8260;font-size:12px;font-weight:600}.person-section h3 small{display:inline-grid;place-items:center;font-size:10px;min-width:18px;height:18px;border-radius:5px;background:#eaf0e2;color:#8a9e79;font-weight:400}.person-fields{display:grid;grid-template-columns:1fr;gap:10px;min-width:0}.shell .person-card label{display:grid;gap:5px;min-width:0;font-size:11px;color:#8a9a7e}.shell .person-card input,.shell .person-card select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #dfe7d5;border-radius:8px;background:#fff;font-size:12px;text-overflow:ellipsis}.shell .person-card button.person-save{align-self:flex-start;font-size:11px;padding:8px 12px!important;border-radius:7px}.person-chat-list,.person-account-list{display:flex;flex-direction:column;gap:6px;min-width:0}.shell .person-card button.contact-chat{display:flex;align-items:center;gap:8px;width:100%;min-width:0;padding:10px!important;background:#fff!important;border:1px solid #e1e8d9;border-radius:9px;color:#6f835f!important;text-align:left;font-size:12px;line-height:1.4}.person-card .contact-chat>span:nth-child(2){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-card .contact-chat>svg{flex-shrink:0;color:#9cab8f}.person-card .channel-label{font-size:9px;white-space:nowrap;flex-shrink:0;padding:3px 6px;border-radius:5px}.person-direct-actions{display:flex;flex-direction:column;gap:6px}.shell .person-card .person-direct-actions button.ghost{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;background:transparent!important;color:#769065!important;padding:8px!important}.person-account{display:flex;align-items:center;gap:8px;padding:9px 0;min-width:0;border-bottom:1px solid #edf1e6;font-size:11px;color:#8c9d7f}.person-account:last-child{border-bottom:0}.person-account-name{min-width:0;overflow-wrap:anywhere}.person-advanced{border-top:1px solid #e4eadc;padding-top:16px;margin-bottom:12px}.person-advanced>summary{font-size:11px;color:#90a082;cursor:pointer}.person-advanced-content{display:flex;flex-direction:column;gap:12px;margin-top:14px;min-width:0}.person-advanced-content .person-section{padding:14px 0;gap:10px}.shell .person-card .person-advanced button.ghost{font-size:11px;padding:8px 10px!important;background:transparent!important;color:#7e926e!important;white-space:normal;line-height:1.5;max-width:100%}.person-transfer>span{overflow-wrap:anywhere}@media(min-width:1400px){.contact-profile .person-fields{grid-template-columns:1fr 1fr}}@media(max-width:1280px){.chat-workspace .messenger.with-drawer{grid-template-columns:minmax(250px,35%) minmax(0,1fr)}.chat-workspace .contact-drawer{position:absolute;z-index:15;right:0;top:0;bottom:0;width:320px;max-width:calc(100% - 16px);box-shadow:-12px 0 35px #3656321c;border-left:1px solid #dfe7d5}}@media(max-width:760px){.chat-workspace .messenger.with-drawer,.chat-workspace .messenger.contact-mode{grid-template-columns:235px minmax(280px,1fr)}.chat-workspace .contact-profile{padding:16px}.chat-workspace .contact-drawer{right:0;top:0;bottom:0;width:300px;padding:12px 16px}}.chat-activity-entry{align-self:center;display:flex;align-items:flex-start;gap:7px;max-width:90%;padding:9px 13px;margin:9px 0;background:#edf1e7;border:1px solid #e1e7d8;border-radius:10px;color:#829374;font-size:11px;line-height:1.5;text-align:center}.chat-activity-entry>svg{margin-top:2px;flex-shrink:0}.chat-activity-entry small{display:block;font-size:9px;color:#9baa8e;margin-top:2px}.deleted-message-note{display:block;clear:both;font-size:9px;color:#96a18b;font-style:italic;margin-top:4px}.shell .attachment-tile.voice,.shell .attachment-tile.audio{width:310px;max-width:100%;overflow:visible;margin:3px 0}.voice-attachment-row{display:flex;align-items:center;gap:7px;min-width:0;padding:4px 0}.voice-player{position:relative;display:flex;align-items:center;gap:10px;min-width:0;flex:1}.shell .voice-player audio{display:none!important}.shell .voice-player button.voice-play{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0!important;margin:0;border:0;border-radius:50%!important;background:#638954!important;color:#fff!important;cursor:pointer}.shell .outbound .voice-player button.voice-play{background:#578047!important}.voice-track{position:relative;flex:1;min-width:45px;padding-top:2px}.voice-wave{display:flex;align-items:center;justify-content:space-between;gap:2px;height:27px;overflow:hidden}.voice-wave>span{flex:1;min-width:2px;max-width:3px;border-radius:3px;background:#c1d0b4;transition:background .15s}.voice-wave>span.played{background:#648d53}.voice-wave.unloaded>span.voice-empty-track{width:100%;max-width:none;height:3px;background:#cad7bf;border-radius:2px}.shell .voice-player input.voice-seek{position:absolute;top:0;right:0;bottom:16px;left:0;width:100%;height:28px;min-height:0;margin:0;padding:0!important;border:0;opacity:0;cursor:pointer;z-index:1}.shell .voice-player input.voice-seek:focus-visible{opacity:1;accent-color:#749a61}.voice-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#93a386;font-size:9px;line-height:1.3;margin-top:3px;white-space:nowrap}.shell .voice-player button.voice-speed{padding:3px 2px!important;min-width:27px;margin:0;border:0;border-radius:5px;background:transparent!important;color:#829674!important;font-size:10px;font-weight:600;line-height:1;cursor:pointer}.voice-error{position:absolute;left:0;top:100%;font-size:10px;line-height:1.4;color:#ae7564;background:#fff;padding:4px;z-index:2}.shell .voice-attachment-row button.attachment-download{width:26px;height:26px;min-width:26px;min-height:26px;flex-basis:26px;border-color:transparent;opacity:.65}.shell .voice-attachment-row button.attachment-download:hover{opacity:1}@media(pointer:coarse){.shell .voice-attachment-row button.attachment-download{width:32px;height:32px;flex-basis:32px}}.chat-workspace .compact-chat-header .chat-header-identity .peer-presence{font-size:10px;color:#97a38d}.chat-workspace .compact-chat-header .chat-header-identity .peer-presence.online{color:#62924f}.peer-presence>i{display:inline-block;width:5px;height:5px;background:#73a35e;border-radius:50%;vertical-align:middle;margin:0 1px 1px}.person-account-presence{display:block;font-size:9px;color:#9aa68f;margin-top:3px}.person-account-presence.online{color:#64914f}.telegram-new-chat{display:grid;gap:9px;padding:15px 18px;border-bottom:1px solid #e6ecdd;background:#f6f9f0}.telegram-new-chat label{display:grid;gap:6px;font-size:11px;color:#899b7a}.shell .telegram-new-chat input,.shell .telegram-new-chat select{font-size:12px;min-width:0;width:100%;padding:9px 10px}.shell .telegram-new-chat button{font-size:11px;padding:9px!important;border-radius:8px}.telegram-username{display:block;text-decoration:none;font-size:11px;color:#6f9bb8;line-height:1.6}.telegram-username:hover{text-decoration:underline}.chat-workspace>nav>button{position:relative}.nav-unread-count{position:absolute;top:1px;right:0;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #f0f4ed;border-radius:10px;background:#628b51;color:#fff;font-size:9px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;pointer-events:none}.chat-workspace>nav>button.active .nav-unread-count{border-color:#dfeada;background:#4f7841}.contacts-directory{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;background:#fff;border:1px solid #dce5d7;border-radius:22px;color:#29382e}.directory-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px 20px;border-bottom:1px solid #e8ede3}.directory-heading h1{margin:0;display:flex;align-items:center;gap:12px;font-size:25px;letter-spacing:-.6px}.directory-heading h1>span{font-size:13px;font-weight:500;letter-spacing:0;padding:4px 8px;border-radius:8px;background:#eef3e9;color:#7b8d70}.directory-heading p{margin:7px 0 0;font-size:12px;color:#899580}.shell .contacts-directory button.directory-create{padding:10px 14px!important;border-radius:9px;font-size:12px;white-space:nowrap}.directory-body{display:grid;grid-template-columns:minmax(340px,1fr) 340px;flex:1;min-height:0;overflow:hidden}.directory-list-pane{display:flex;flex-direction:column;min-width:0;min-height:0}.directory-detail{border-left:1px solid #e3e9dd;background:#fbfcf8;overflow:auto;padding:20px;min-width:0}.directory-detail .person-card{width:100%;max-width:none}.directory-detail .person-hero{padding-top:8px}.directory-detail .person-hero h2{font-size:19px}.directory-detail .person-section{padding:16px 0}.directory-tools{display:flex;gap:10px;padding:20px 22px 12px}.shell .directory-tools input{flex:1;min-width:0;background:#f7f9f4}.shell .directory-tools select{width:145px}.shell .contacts-directory input,.shell .contacts-directory select{font-size:12px;padding:10px 12px;border-radius:9px;border:1px solid #dfe7d8;min-height:38px;color:#44543b}.directory-filters{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 22px 12px}.directory-filters>div{display:flex;gap:3px;background:#f2f5ee;padding:3px;border-radius:9px}.shell .contacts-directory .directory-filters button{padding:6px 9px!important;border:0;background:transparent!important;color:#859079!important;font-size:11px;border-radius:6px;white-space:nowrap}.shell .contacts-directory .directory-filters button.active{background:#fff!important;color:#496840!important;box-shadow:0 1px 4px #2e492113}.shell .contacts-directory .directory-filters select{border:0;background:transparent;padding:6px 0;min-height:30px;width:155px;font-size:11px}.directory-results{font-size:10px;color:#93a088;padding:0 24px 12px}.directory-columns,.shell .contacts-directory button.directory-row{display:grid;grid-template-columns:minmax(0,1fr) 145px 40px;align-items:center;gap:12px}.directory-columns{padding:10px 24px;background:#f8faf5;border-block:1px solid #edf1e8;color:#8b9880;font-size:10px}.directory-columns>span:last-child{text-align:center}.directory-rows{overflow:auto;flex:1;min-height:0}.shell .contacts-directory button.directory-row{width:100%;text-align:left;padding:14px 24px!important;margin:0;border:0;border-bottom:1px solid #edf1e8;border-radius:0;background:#fff!important;color:#33432d!important;cursor:pointer}.shell .contacts-directory button.directory-row:hover{background:#f7faf2!important}.shell .contacts-directory button.directory-row.selected{background:#eef5e7!important;box-shadow:inset 3px 0 #71975b}.directory-person{display:flex;gap:12px;align-items:center;min-width:0}.directory-person>.avatar{width:38px;height:38px;min-width:38px;font-size:12px}.directory-person>span:last-child{display:flex;flex-direction:column;gap:4px;min-width:0}.directory-person strong{font-size:13px;font-weight:600;overflow-wrap:anywhere;white-space:normal}.directory-person small{font-size:11px;color:#929f88;font-weight:400}.directory-person .directory-username{color:#7396ab;font-size:10px}.directory-channel-list{display:flex;flex-wrap:wrap;gap:4px}.directory-channel-list .channel-label{font-size:9px;padding:3px 6px;border-radius:5px;line-height:1.3}.directory-channel-list>small{font-size:10px;font-weight:400;color:#9aa68f}.directory-chat-count{text-align:center;font-size:12px;color:#839478;font-variant-numeric:tabular-nums}.directory-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:40px 18px;color:#98a58d;min-height:240px}.directory-detail>.directory-empty{height:100%;min-height:0}.directory-empty h2{font-size:17px;color:#516448;margin:4px 0 0}.directory-empty p{font-size:12px;line-height:1.7;margin:0;max-width:280px}.directory-empty small{font-size:10px;line-height:1.7;max-width:240px;margin-top:12px;color:#a0ac96}.directory-empty-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:#edf3e6;color:#85a374;margin-bottom:8px}.shell .contacts-directory button.directory-secondary,.shell .contacts-directory button.directory-back{background:transparent!important;color:#799268!important;border:1px solid #dfe7d8;padding:8px 12px!important;border-radius:8px;font-size:11px}.shell .contacts-directory button.directory-back{border:0;padding:0 0 14px!important;font-size:11px}.directory-new{display:flex;align-items:flex-end;gap:10px;padding:16px 28px;background:#f7faf2;border-bottom:1px solid #e3ebda}.directory-new label{display:grid;gap:6px;flex:1;max-width:380px;font-size:11px;color:#829473}.shell .contacts-directory .directory-new button{font-size:12px;padding:10px 14px!important;border-radius:8px;min-height:38px}.directory-notice{padding:10px 28px;background:#f0f7e9;color:#6d8c58;font-size:12px}.contacts-directory>.error{margin:10px 20px}@media(min-width:1500px){.directory-body{grid-template-columns:minmax(400px,1fr) 380px}.directory-columns,.shell .contacts-directory button.directory-row{grid-template-columns:minmax(0,1fr) 190px 45px}}@media(max-width:1100px){.directory-body{grid-template-columns:minmax(280px,1fr) 300px}.directory-tools{flex-wrap:wrap}.shell .directory-tools input{flex-basis:100%}.shell .directory-tools select{width:100%}.directory-filters{align-items:flex-start;flex-wrap:wrap}.directory-columns,.shell .contacts-directory button.directory-row{grid-template-columns:minmax(0,1fr) 75px 28px;gap:6px;padding-left:16px!important;padding-right:16px!important}.directory-channel-list .channel-label{font-size:8px}}@media(max-width:780px){.directory-heading{padding:18px;gap:12px;flex-wrap:wrap}.directory-heading h1{font-size:22px}.directory-heading p{font-size:11px}.directory-body{display:flex;flex-direction:column}.directory-list-pane{flex:1}.directory-detail{display:none;flex:1;border:0}.contacts-directory.has-selection .directory-detail{display:block}.contacts-directory.has-selection .directory-list-pane{display:none}.directory-new{padding:14px 18px;flex-wrap:wrap}.directory-new label{flex-basis:100%;max-width:none}.directory-columns,.shell .contacts-directory button.directory-row{grid-template-columns:minmax(0,1fr) 100px 30px}.directory-detail .person-card{max-width:480px;margin:auto}.directory-heading .directory-create{font-size:11px}.contacts-directory{border-radius:15px}}.shell .person-card .person-hero a.contact-telegram-login{color:#5893b5;font-size:12px}.shell .person-card .person-hero a.contact-telegram-login:hover{text-decoration:underline}.directory-person .directory-username{overflow-wrap:anywhere;white-space:normal;color:#5893b5;font-size:11px}.agents-page{color:#34432f}.agents-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.agents-heading h1{display:flex;align-items:center;gap:12px;font-size:27px;letter-spacing:-.7px;margin:0}.agents-heading h1>span{padding:4px 9px;background:#eaf1e3;border-radius:8px;font-size:13px;font-weight:500;color:#829672;letter-spacing:0}.agents-heading p{font-size:12px;color:#8d9d81;margin:7px 0 0}.shell .agents-page button{font-size:12px;border-radius:9px;padding:10px 14px!important}.agents-overview{display:grid;grid-template-columns:1fr 1fr 1.6fr;gap:12px;margin-bottom:24px}.agents-overview>div{display:flex;align-items:center;gap:14px;padding:18px 20px;background:#fff;border:1px solid #e1e8d9;border-radius:13px;color:#8ca17b}.agents-overview span{display:grid;gap:5px;min-width:0}.agents-overview strong{font-size:19px;font-weight:600;color:#4c6540}.agents-overview small{font-size:11px;line-height:1.5;color:#929f86;overflow-wrap:anywhere}.agents-overview .provider-ready strong,.agents-overview .provider-missing strong{font-size:14px}.agents-overview .provider-missing{background:#f6f5ec;color:#a39b72}.agents-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:20px;align-items:start}.agents-list{display:grid;gap:9px;max-height:calc(100dvh - 275px);overflow:auto;padding:0 2px 10px}.shell .agents-list>input{width:100%;font-size:12px;padding:11px 13px;margin-bottom:5px;background:#fff;border-radius:9px;border:1px solid #e0e7d7}.shell .agents-page button.agent-tile{display:flex;flex-direction:column;gap:10px;text-align:left;min-width:0;width:100%;background:#fff!important;color:#506347!important;padding:16px!important;border:1px solid #e0e7d7;border-radius:12px}.shell .agents-page button.agent-tile:hover{border-color:#b3c5a2;background:#fafcf6!important}.shell .agents-page button.agent-tile.selected{border-color:#98b381;background:#eef5e6!important;box-shadow:inset 3px 0 #759c5b}.agent-tile-top{display:flex;align-items:center;gap:8px;width:100%;min-width:0}.agent-tile-top>svg{flex-shrink:0;color:#81996e}.agent-tile-top strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.agent-tile-top i{font-style:normal;font-size:9px;padding:3px 5px;border-radius:5px;background:#f0f2eb;color:#a1a995}.agent-tile-top i.on{background:#e2efd8;color:#699253}.agent-tile-task{font-size:11px;color:#8e9a83;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.agent-tile-channels{font-size:10px;color:#8ba078;line-height:1.5}.agents-list-empty{font-size:12px;color:#98a58e;line-height:1.8;padding:16px}.agent-workspace{min-width:0;overflow:hidden;background:#fff;border:1px solid #e0e7d8;border-radius:16px}.agents-welcome{text-align:center;display:flex;flex-direction:column;align-items:center;padding:55px 30px;gap:14px}.agents-welcome-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:23px;background:#edf4e6;color:#88a672}.shell .agents-welcome h2{font-size:21px;margin:7px 0 0;letter-spacing:-.5px}.agents-welcome>p{font-size:12px;color:#94a087;max-width:380px;line-height:1.8;margin:0}.agent-templates{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px;width:100%;max-width:560px}.shell .agents-page .agent-templates button{display:flex;flex-direction:column;gap:12px;align-items:flex-start;text-align:left;background:#fafcf7!important;color:#789564!important;border:1px solid #e3eadb;padding:20px!important;border-radius:12px}.agent-templates strong{font-size:13px;color:#526d43}.agent-templates span{font-size:11px;line-height:1.7;color:#94a087}.agent-templates small{font-size:10px;margin-top:auto}.shell .agents-page .agent-templates button:hover{border-color:#9cb98a}.agent-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 26px 16px}.shell .agent-editor-heading h2{font-size:21px;margin:0;letter-spacing:-.4px;overflow-wrap:anywhere}.agent-editor-heading p{font-size:10px;color:#9aa68e;margin:7px 0 0}.agent-enable{display:flex;align-items:center;gap:7px;font-size:11px;color:#81976f;white-space:nowrap}.shell .agent-enable input{width:16px;height:16px;accent-color:#7b9e63}.agent-flow{display:flex;align-items:center;justify-content:center;gap:12px;padding:13px 16px;margin:0 26px 20px;border-radius:9px;background:#f6f9f1;font-size:10px;color:#8fa47f;flex-wrap:wrap}.agent-flow>span{display:flex;align-items:center;gap:7px}.agent-flow>b{font-weight:400;color:#bac8af}.agent-tabs{display:flex;gap:3px;border-bottom:1px solid #e6ecdf;padding:0 20px;overflow:auto}.shell .agents-page .agent-tabs button{display:flex;align-items:center;gap:7px;white-space:nowrap;background:transparent!important;color:#95a28a!important;border:0;border-radius:0;padding:12px 10px!important;border-bottom:2px solid transparent}.shell .agents-page .agent-tabs button.active{color:#5b7e46!important;border-bottom-color:#85a56b;background:#fbfcf8!important}.agent-tabs small{font-size:9px;border-radius:4px;padding:2px 4px;background:#eef3e7;color:#94a486}.agent-settings-section{padding:24px 26px;gap:16px!important}.shell .agent-settings-section h3{font-size:15px;letter-spacing:-.2px;margin:0;color:#5d744e}.agent-explanation{font-size:11px;line-height:1.8;color:#93a086;margin:-6px 0 4px;max-width:620px}.shell .agents-page .agent-settings-section label{font-size:11px;color:#849a71;gap:7px}.shell .agents-page .agent-settings-section input:not([type=checkbox]),.shell .agents-page .agent-settings-section select,.shell .agents-page .agent-settings-section textarea{font-size:12px;background:#fff;border:1px solid #dfe7d7;padding:10px 12px;border-radius:8px;min-width:0;width:100%;color:#506246}.shell .agents-page textarea{line-height:1.7;resize:vertical}.shell .agents-page .check{display:flex;align-items:center;gap:8px;font-size:12px}.shell .agents-page .check input{accent-color:#7e9e66;width:15px;height:15px}.shell .agents-page .agent-block{padding:16px;background:#f9fbf5;border-radius:10px;gap:12px}.shell .agents-page .agent-block .row{display:flex;gap:8px;flex-wrap:wrap}.shell .agents-page .agent-block .row>select,.shell .agents-page .agent-block .row>input{flex:1;min-width:150px}.shell .agents-page button.ghost{background:#f6f9f1!important;color:#82976f!important;border:1px solid #dfe7d7}.agent-section-empty{padding:20px;border:1px dashed #dce6d1;border-radius:10px;color:#97a58a;font-size:12px;line-height:1.8;background:#fcfdf9}.agent-save-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 26px;border-top:1px solid #e4ebdc;background:#fcfdf9}.agent-save-bar>div{font-size:10px;color:#98a58d;line-height:1.7;max-width:65%}.agent-save-bar>button{white-space:nowrap}.agents-notice{font-size:12px;color:#74955e;background:#edf5e5;padding:12px 16px;border-radius:9px}.agents-page .error{font-size:12px}.agent-settings-section>.agent-block>div:first-child{font-size:12px;line-height:1.7}.agent-settings-section>.agent-block>span{font-size:11px;line-height:1.7;color:#879a77}@media(max-width:1100px){.agents-layout{grid-template-columns:220px minmax(0,1fr);gap:12px}.agents-overview{grid-template-columns:1fr 1fr}.agents-overview>div:last-child{grid-column:1/-1}.agent-tabs{padding:0 10px}.shell .agents-page .agent-tabs button{font-size:11px;padding:11px 8px!important;gap:5px}.agent-settings-section{padding:20px}.agent-templates{grid-template-columns:1fr}.agents-list{max-height:calc(100dvh - 350px)}}@media(max-width:760px){.agents-heading{align-items:flex-start;flex-wrap:wrap}.agents-heading h1{font-size:24px}.agents-overview{gap:8px;margin-bottom:15px}.agents-overview>div{padding:12px;gap:10px}.agents-overview small{font-size:10px}.agents-layout{display:flex;flex-direction:column}.agents-list{display:flex;width:100%;max-height:none;overflow:auto;align-items:stretch;gap:8px}.shell .agents-list>input{min-width:150px;width:150px;margin:0}.shell .agents-page button.agent-tile{min-width:200px;width:200px;padding:12px!important}.agent-tile-task{display:none}.agent-workspace{width:100%}.agents-welcome{padding:30px 20px}.agent-editor-heading{padding:20px}.agent-flow{margin:0 20px 15px;gap:7px;font-size:9px}.agent-save-bar{padding:14px 20px;flex-wrap:wrap}.agent-save-bar>div{max-width:100%}.agent-templates{grid-template-columns:1fr}.agent-tabs{padding:0 8px}.agent-settings-section{padding:20px 16px}.agent-enable{font-size:10px}}.agent-model-settings{padding:12px 14px;border:1px solid #e5ebde;border-radius:9px}.agent-model-settings summary{font-size:11px;color:#8d9e7f;cursor:pointer}.agent-model-settings[open] summary{margin-bottom:14px}.agent-model-settings .agent-explanation{margin:8px 0 0}.shell .agents-page button.agent-back{display:block;margin:18px 26px 0;padding:4px 0!important;background:transparent!important;border:0;color:#7c956b!important;font-size:12px;border-radius:0}.shell .agents-page button.agent-back:hover{color:#4e743b!important;text-decoration:underline}.shell .attachment-tile button.attachment-preview{display:block;width:100%;border:0;border-radius:9px;padding:0!important;margin:0;background:transparent!important;overflow:hidden;cursor:zoom-in;line-height:0}.image-viewer{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:78px 32px 32px;box-sizing:border-box;background:transparent;color:#fff;overflow:hidden}.image-viewer[open]{display:flex;align-items:center;justify-content:center}.image-viewer::backdrop{background:#121914e8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.image-viewer-toolbar{position:absolute;top:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:18px 24px;background:linear-gradient(#101a1480,transparent);font-family:inherit}.image-viewer-toolbar>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#e0e8da}.image-viewer-toolbar button{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid #ffffff24;border-radius:10px;background:#ffffff12;color:#fff;cursor:pointer;font-size:28px;line-height:1}.image-viewer-toolbar button:hover{background:#ffffff26}.image-viewer-toolbar button:focus-visible{outline:2px solid #b9d7a2;outline-offset:3px}.image-viewer-full{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:4px;box-shadow:0 16px 70px #0005}@media(max-width:760px){.image-viewer{padding:74px 10px 20px}.image-viewer-toolbar{padding:12px;gap:8px}.image-viewer-toolbar>span{font-size:11px}}.agents-page-tabs{display:flex;gap:6px;border-bottom:1px solid #e0e8d7;margin-bottom:22px;padding-bottom:8px;overflow:auto}.shell .agents-page .agents-page-tabs button{background:transparent!important;color:#899d79!important;border:0;white-space:nowrap}.shell .agents-page .agents-page-tabs button.active{background:#e8f1df!important;color:#557741!important}.ai-settings{background:#fff;border:1px solid #dfe8d5;border-radius:16px;padding:26px;display:grid;gap:20px}.ai-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.shell .ai-section-heading h2{font-size:21px;margin:0}.ai-section-heading p{font-size:12px;color:#91a182;line-height:1.7;margin:7px 0 0}.shell .ai-section-heading h3{font-size:15px;margin:0}.ai-connection-list{display:grid;gap:12px}.ai-connection-card{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid #e1e9d8;border-radius:12px;background:#fafcf7}.ai-connection-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#eaf2e1;color:#87a575;flex-shrink:0}.ai-connection-copy{flex:1;min-width:0}.ai-connection-copy h3{display:flex;align-items:center;gap:10px;font-size:14px;margin:0 0 7px;flex-wrap:wrap}.ai-connection-copy h3>span{font-size:9px;font-weight:400;background:#eef1e9;color:#9aaa8c;border-radius:5px;padding:3px 6px}.ai-connection-copy h3>span.on{background:#e5f0db;color:#72965b}.ai-connection-copy p{margin:0 0 5px;font-size:11px;color:#8f9e83;overflow-wrap:anywhere}.ai-connection-copy small{display:block;font-size:10px;color:#97a58b;line-height:1.8;overflow-wrap:anywhere}.ai-connection-copy .ai-check-error{color:#b47a64}.ai-connection-copy .ai-check-ok{color:#74995c}.ai-connection-form{display:grid;gap:17px;border:1px solid #dfe8d5;background:#f9fcf4;padding:22px;border-radius:12px}.ai-connection-form fieldset{display:grid;grid-template-columns:1fr 1fr;gap:16px;border:0;padding:0;margin:0;min-width:0}.ai-settings label,.agent-ai-picker label{display:grid;gap:7px;font-size:11px;color:#8b9f79;min-width:0}.shell .ai-settings input,.shell .ai-settings select{width:100%;min-width:0;padding:11px 12px;font-size:12px;border:1px solid #dce6d1;background:#fff;border-radius:8px;color:#5c734c}.ai-settings label.check{display:flex;align-items:center;gap:8px}.shell .ai-settings input[type=checkbox]{width:15px;height:15px;accent-color:#799e62}.ai-presets,.ai-form-actions{display:flex;gap:8px;flex-wrap:wrap}.agent-ai-picker{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px;border-radius:10px;background:#f6f9f0;border:1px solid #e6eddd}.mcp-badge{background:#eef5e6;color:#83a070;border-radius:8px;padding:8px;font-size:11px;white-space:nowrap}.mcp-examples{display:flex;flex-wrap:wrap;gap:8px}.mcp-examples span{padding:10px 13px;background:#f3f7ed;color:#8a9e78;font-size:11px;border-radius:8px}.mcp-step{display:grid;gap:13px;padding-top:20px;border-top:1px solid #e5ecdd}.shell .mcp-step h3{font-size:15px;margin:0}.mcp-step p{font-size:12px;line-height:1.8;color:#94a285;margin:0;max-width:800px}.mcp-step>small{font-size:11px;color:#9daa8e;line-height:1.8}.mcp-step>button{justify-self:start}.mcp-key{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:16px;background:#edf5e5;border-radius:10px}.mcp-key strong{font-size:11px;color:#799968;flex-basis:100%}.shell .mcp-key input{max-width:330px}.mcp-configs{display:grid;grid-template-columns:1fr 1fr;gap:15px;min-width:0}.mcp-configs>div{min-width:0;border:1px solid #e0e9d6;padding:16px;border-radius:10px;background:#fafcf6}.mcp-configs h4{font-size:11px;font-weight:500;color:#829970;margin:0 0 12px}.mcp-configs pre{white-space:pre-wrap;word-break:break-word;font-size:11px;color:#617d50;background:#f0f5e9;padding:14px;border-radius:8px;line-height:1.8;min-height:115px;margin:0 0 12px}.ai-settings button:disabled{opacity:.45}@media(max-width:760px){.ai-settings{padding:18px;gap:16px}.ai-section-heading{align-items:flex-start;flex-wrap:wrap}.ai-connection-form{padding:16px}.ai-connection-form fieldset,.agent-ai-picker,.mcp-configs{grid-template-columns:1fr}.ai-connection-card{padding:15px;gap:10px;flex-wrap:wrap}.ai-connection-icon{width:36px;height:36px}.ai-connection-copy{min-width:160px}.ai-presets{gap:5px}.shell .agents-page .ai-presets button{font-size:10px;padding:8px!important}}.agent-generation{display:grid;gap:15px;padding:18px;border:1px solid #e0e9d7;background:#fafcf6;border-radius:11px}.agent-generation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.agent-generation-presets{display:flex;gap:6px}.shell .agents-page .agent-generation-presets button{font-size:10px;padding:7px 9px!important}.agent-generation-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.agent-generation label small,.agent-preview>small{font-size:10px;line-height:1.6;color:#9ba88f}.agent-generation details{border-top:1px solid #e5ecde;padding-top:12px}.agent-generation summary{font-size:11px;color:#8c9f7b;cursor:pointer}.agent-generation details[open]>summary{margin-bottom:15px}.agent-preview{display:grid;gap:13px;padding:18px;border:1px solid #dce8cf;border-radius:11px;background:#f5f9ed}.agent-preview-result{padding:15px;background:#fff;border:1px solid #dfe9d5;border-radius:9px}.agent-preview-result p{font-size:13px;line-height:1.7;white-space:pre-wrap;color:#546b45}.agent-preview-result small{font-size:10px;color:#96a688;line-height:1.7}.agent-preview>button{justify-self:start}@media(max-width:760px){.agent-generation-grid{grid-template-columns:1fr}.agent-generation,.agent-preview{padding:14px}}.tools-page{color:#506744}.tools-explainer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 18px;border:1px solid #e0e9d7;background:#f2f7eb;border-radius:11px;font-size:11px;color:#91a37e;margin-bottom:22px}.tools-explainer>span{display:flex;align-items:center;gap:7px}.tools-explainer b{font-weight:400;color:#b3c3a6}.tools-layout{display:grid;grid-template-columns:285px minmax(0,1fr);gap:20px;align-items:start}.tools-list{display:grid;gap:10px;max-height:calc(100dvh - 220px);overflow:auto;padding:2px}.shell .tools-list>input{font-size:12px;padding:12px;border:1px solid #dfe8d5;border-radius:8px;background:#fff}.shell .tools-page button{font-size:12px;border-radius:9px;padding:10px 14px!important}.shell .tools-page button.ghost{background:#f4f8ee!important;color:#80986c!important;border:1px solid #dde8d2}.shell .tools-page button.tool-tile{display:grid;gap:11px;text-align:left;width:100%;background:#fff!important;border:1px solid #e0e8d8;color:#688055!important;padding:16px!important;border-radius:12px}.shell .tools-page button.tool-tile.selected{background:#edf5e5!important;border-color:#a2bb8f;box-shadow:inset 3px 0 #88a76f}.tool-tile>span{display:flex;align-items:center;gap:9px}.tool-tile strong{font-size:13px;flex:1}.tool-tile i{font-size:9px;font-style:normal;color:#9aaa8c}.tool-tile small{font-size:11px;line-height:1.7;color:#95a58a;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tool-tile em{font-size:9px;color:#8ca278;font-style:normal}.tools-editor{background:#fff;border:1px solid #dde7d3;border-radius:15px;min-width:0;overflow:hidden}.tools-editor>form{padding:24px;display:grid;gap:20px}.tools-editor fieldset{display:grid;gap:17px;border:0;margin:0;padding:0;min-width:0}.tools-editor label{display:grid;gap:7px;font-size:11px;color:#8a9d78}.shell .tools-editor input:not([type=checkbox]),.shell .tools-editor textarea,.shell .tools-editor select{font-size:12px;background:#fff;border:1px solid #dce6d1;padding:10px 12px;border-radius:8px;min-width:0;width:100%;color:#596f49}.shell .tools-editor textarea{line-height:1.7;resize:vertical}.tools-editor .check{display:flex;align-items:center;gap:8px;font-size:11px}.shell .tools-editor input[type=checkbox]{width:15px;height:15px;accent-color:#82a66c;flex-shrink:0}.tools-editor small{font-size:10px;color:#a0ac95;line-height:1.7}.tools-secrets{display:grid;gap:10px;padding:14px;border:1px solid #e3ebdb;border-radius:9px;background:#fafcf7}.tools-secrets summary{cursor:pointer;font-size:11px;color:#8da07c}.tools-secrets p,.tool-test p{font-size:11px;color:#98a68b;line-height:1.7}.tools-secrets[open]>input{margin:8px 0}.tools-secrets[open]>label{margin-top:10px}.tools-chat-picker{display:grid;gap:10px;padding:12px;background:#f7faf2;border-radius:9px;border:1px solid #e2eada}.tools-chat-picker>div{max-height:180px;overflow:auto;display:grid;gap:9px}.mcp-tool-results{display:grid;gap:9px;max-height:300px;overflow:auto}.mcp-tool-results>button{text-align:left;display:grid;gap:5px}.mcp-tool-results strong{font-size:12px}.mcp-tool-results small{font-size:10px;line-height:1.6}.tool-test{display:grid;gap:12px;padding-top:18px;border-top:1px solid #e1ead8}.shell .tool-test h3{font-size:15px;margin:0}.tool-test p{margin:0}.tool-test button{justify-self:start}.tool-test pre{white-space:pre-wrap;word-break:break-word;max-height:380px;overflow:auto;padding:16px;background:#f2f7eb;border:1px solid #e0e9d7;border-radius:9px;color:#6b8358;font-size:11px;line-height:1.7}.agent-tool-choice{display:flex!important;align-items:flex-start;gap:12px!important;padding:16px;border:1px solid #e1e9d8;border-radius:10px;background:#f9fcf5}.agent-tool-choice>input{width:15px!important;margin-top:2px;accent-color:#81a56a}.agent-tool-choice>span{display:grid;gap:7px}.agent-tool-choice strong{font-size:12px;color:#6b8558}.agent-tool-choice small{font-size:11px;line-height:1.7;color:#95a88a}.agent-tool-choice em{font-size:9px;color:#99ad8b;font-style:normal}@media(max-width:1000px){.tools-layout{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:760px){.tools-layout{display:flex;flex-direction:column}.tools-list{width:100%;max-height:210px;overflow:auto}.tools-editor{width:100%}.tools-editor>form{padding:18px}.tools-explainer{font-size:10px;gap:8px}.tools-list .tool-tile small{display:none}}.agent-welcome-tests{display:flex;flex-wrap:wrap;gap:8px;padding:13px;background:#f4f8ed;border:1px solid #e1ead6;border-radius:9px}.agent-welcome-tests>small{flex-basis:100%;font-size:10px;line-height:1.7;color:#96a887}.shell .agents-page .agent-welcome-tests button{font-size:10px;padding:8px!important}.tool-parameters{display:grid;gap:12px;border:1px solid #e0e8d7;background:#fafcf6;padding:16px;border-radius:11px}.shell .tool-parameters h3{font-size:13px;margin:0}.tool-parameters>p{font-size:11px;color:#98a98b;margin:0}.tool-parameter{display:grid;grid-template-columns:minmax(80px,1fr) 110px auto 30px;gap:8px;align-items:center;padding:12px;border:1px solid #e4ecdc;border-radius:8px;background:#fff}.tool-parameter .tool-param-description{grid-column:1/-1;grid-row:2}.tool-parameter>small{grid-column:1/-1}.tool-parameters summary{font-size:11px;color:#95a884;cursor:pointer}.tool-parameters details[open]>textarea{margin-top:12px}@media(max-width:760px){.tool-parameters{padding:12px}.tool-parameter{grid-template-columns:minmax(65px,1fr) 95px 30px}.tool-parameter>label{grid-column:1/3}.tool-parameter>button{grid-column:3;grid-row:1}.tool-parameter .tool-param-description{grid-row:3}}.salon-integration{padding:20px;border:1px solid var(--border,#dce5d5);border-radius:16px;background:#f8faf5;margin:18px 0}.salon-integration h3{margin:0 0 8px}.salon-integration p{color:#7a8871;font-size:14px;line-height:1.5}.salon-branch{padding:14px;border:1px solid #dce5d5;background:#fff;border-radius:12px;margin:10px 0}.salon-company-list{max-height:280px;overflow:auto;margin:12px 0;padding:12px;border:1px solid #dce5d5;border-radius:12px;background:#fff}.salon-company-list small{display:block;color:#7a8871}.salon-integration>button{margin:8px 0}.salon-integration h4{margin:18px 0 8px}.tool-access-panel{padding:18px 22px;border:1px solid #dce5d5;border-radius:16px;margin:18px 0;background:#fff}.tool-access-panel summary{font-weight:700;cursor:pointer}.tool-access-panel summary span{display:inline-block;margin-left:16px;font-size:13px;font-weight:400;color:#7a8871}.tool-access-panel p{font-size:14px;color:#7a8871;line-height:1.5}.tool-access-matrix{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.tool-access-matrix>div{display:grid;gap:7px;background:#f5f8f1;border-radius:12px;padding:16px}.tool-access-matrix span{font-size:14px;line-height:1.5;color:#7a8871}.tool-admin-list>div{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0e9;gap:12px}.tool-admin-list small{display:block;color:#7a8871;margin-top:4px}.tool-access-panel label{display:grid;gap:7px;margin:12px 0}.tool-access-panel input,.tool-access-panel select{width:100%;min-width:0}@media(max-width:700px){.tool-access-matrix{grid-template-columns:1fr}.tool-admin-list>div{align-items:flex-start;flex-direction:column}.tool-access-panel summary span{display:block;margin:8px 0 0}}.salon-setup{padding:26px;max-width:880px;margin:auto}.salon-setup-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.salon-provider{font-size:11px;letter-spacing:.12em;color:#6f8764;font-weight:800}.salon-setup h2{font-size:25px;margin:8px 0}.salon-setup p{color:#7a8871;line-height:1.55;font-size:14px}.salon-steps{display:flex;list-style:none;padding:0 0 20px;gap:12px;margin:26px 0;border-bottom:1px solid #e4eadd}.salon-steps li{flex:1}.salon-steps button{display:flex;gap:8px;align-items:center;background:transparent!important;color:#8b9685!important;padding:0!important;border:0!important;font-size:13px;text-align:left;box-shadow:none!important}.salon-steps button span{display:grid;place-items:center;background:#eef2e8;border-radius:50%;width:27px;height:27px;flex:none}.salon-steps .active button{color:#2e563c!important;font-weight:700}.salon-steps .active span,.salon-steps .complete span{background:#dfeada;color:#346043}.salon-step-content{border:0;padding:0;margin:0;min-width:0}.salon-step-content h3{font-size:20px;margin:10px 0 18px}.salon-setup label{display:grid;gap:8px;margin:16px 0;font-size:14px;font-weight:600}.salon-setup label small{color:#85927c;font-weight:400;line-height:1.5}.salon-setup input:not([type=checkbox]):not([type=radio]),.salon-setup select{width:100%;min-width:0}.salon-setup label.check{display:flex;font-weight:400;align-items:flex-start}.salon-setup input[type=checkbox],.salon-setup input[type=radio]{flex:none;margin-top:3px;width:17px;height:17px;accent-color:#49774d}.salon-help,.salon-webhook{border:1px solid #e0e8d9;background:#f8faf5;border-radius:13px;padding:16px;margin:22px 0}.salon-help summary,.salon-webhook summary{font-size:14px;font-weight:600;cursor:pointer}.salon-branch-options>label,.salon-mode-options>label{display:flex;gap:12px;padding:17px;border:1px solid #e0e8d9;border-radius:13px;margin:10px 0;cursor:pointer;font-weight:400}.salon-branch-options label span,.salon-mode-options label span,.salon-agent-options label span{display:grid;gap:5px}.salon-branch-options label.selected,.salon-mode-options label.selected{border-color:#7d9d71;background:#f0f5eb}.salon-selected{border-top:1px solid #e0e8d9;padding-top:18px;margin-top:20px;font-size:14px}.salon-selected>div{display:flex;justify-content:space-between;align-items:center}.salon-agent-options{max-height:300px;overflow:auto}.salon-summary{display:grid;gap:8px;background:#f0f5eb;border-radius:13px;padding:18px;margin:22px 0;font-size:14px}.salon-summary small{color:#7a8871}.salon-step-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid #e0e8d9;padding-top:20px;margin-top:24px}.salon-step-footer>span{font-size:13px;color:#8b9685}.salon-connection-ok{display:flex;align-items:center;justify-content:space-between;background:#edf5e8;padding:15px;border-radius:12px;gap:12px;font-size:14px}.salon-done{text-align:center;padding:28px 0}.salon-done>span{display:grid;place-items:center;width:64px;height:64px;background:#e4efdd;color:#49774d;font-size:30px;border-radius:50%;margin:0 auto 22px}.salon-done .salon-webhook{text-align:left}.salon-webhook summary span{font-weight:400;display:block;color:#8b9685;margin-top:5px}.salon-event-log{margin-top:18px;max-height:350px;overflow:auto}.salon-event-log>div{display:flex;justify-content:space-between;gap:14px;border-top:1px solid #e0e8d9;padding:13px 0;font-size:13px}.salon-event-log small{display:block;color:#8b9685;margin-top:5px}.salon-event-log time{color:#8b9685;white-space:nowrap}@media(max-width:650px){.salon-setup{padding:16px}.salon-setup-heading{flex-direction:column}.salon-steps{gap:6px}.salon-steps button{font-size:11px;flex-direction:column;align-items:flex-start}.salon-step-footer>button{font-size:13px}.salon-event-log>div{flex-direction:column}}.tools-editor .salon-step-content{display:block}.tools-editor .salon-setup label{font-size:13px;line-height:1.4}.tools-editor .salon-setup small{font-size:11px}.tools-editor .salon-setup .agent-generation-grid{gap:14px}.salon-setup .salon-steps{margin:20px 0}.salon-setup-heading>button{white-space:nowrap;flex:none}.tools-editor .salon-setup label input[type=radio]{width:17px;height:17px;padding:0}.salon-webhook{overflow-wrap:anywhere}.salon-permission-table{border:1px solid #e0e8d9;border-radius:12px;overflow:hidden;margin:18px 0}.permission-row{display:grid;grid-template-columns:minmax(0,1fr) 60px 60px;gap:8px;align-items:center;padding:12px;border-bottom:1px solid #e9eee3}.permission-row:last-child{border:0}.permission-row.heading{background:#f1f6eb;font-size:12px}.permission-row>span:first-child{display:grid;gap:4px}.permission-row strong{font-size:12px}.permission-row small{display:block}.salon-setup .permission-row label{margin:0;display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap}.permission-row input[type=checkbox]{margin:0}.permission-row>span:not(:first-child){text-align:center}.salon-report-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.salon-report-metrics>div{display:grid;gap:8px;padding:15px;border-radius:12px;background:#edf4e7}.salon-report-metrics strong{font-size:22px}.salon-report-metrics small{font-size:12px}@media(max-width:550px){.permission-row{grid-template-columns:minmax(0,1fr) 48px 48px;padding:10px}.salon-report-metrics{grid-template-columns:1fr}}.salon-view-tabs{display:flex;gap:8px;padding:16px 0;border-bottom:1px solid #e0e8d9;margin-bottom:16px}.salon-view-tabs button{font-size:13px}.salon-permission-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.salon-setup .salon-permission-item{display:flex;align-items:flex-start;gap:12px;margin:0;padding:15px;border:1px solid #e0e8d9;border-radius:12px;cursor:pointer;font-weight:400;background:#fff}.salon-setup .salon-permission-item.selected{background:#f2f7ed;border-color:#b8cdae}.salon-permission-item>span{display:grid;gap:5px}.salon-permission-item strong{font-size:13px}.salon-permission-item input[type=checkbox]{margin-top:2px}@media(max-width:650px){.salon-permission-list{grid-template-columns:1fr}}.tools-editor .salon-setup .salon-permission-item{display:flex;align-items:flex-start;gap:12px}.salon-operation-group{margin:22px 0;border-top:1px solid #e0e8d9;padding-top:18px}.salon-operation-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:15px}.salon-operation-heading h4{font-size:16px;margin:0}.salon-operation-heading p{margin:6px 0 0}.salon-operation-heading>span,.salon-operation-group.unavailable summary>span{font-size:11px;color:#8d9c83;white-space:nowrap}.salon-operation-group.unavailable summary{font-size:14px;font-weight:600;cursor:pointer}.salon-operation-group.unavailable summary>span{float:right;font-weight:400}.salon-operation-group.unavailable .salon-permission-item{background:#f9faf7;color:#899780;cursor:default}.tools-list .tool-tile .tool-agent-summary{display:block;font-size:10px;line-height:1.5;color:#879d77;margin-top:8px;overflow-wrap:anywhere}.salon-setup .agent-generation-grid.single-field{grid-template-columns:1fr}.salon-key-hint{font-size:12px!important}.salon-key-hint button{font-size:11px;padding:4px 7px!important}.agent-task-wizard{background:#fff;border:1px solid #dfe8d5;border-radius:16px;padding:24px}.agent-task-wizard label{display:grid;gap:8px;margin:18px 0;font-size:13px}.agent-task-wizard select,.agent-task-wizard input[type=search]{width:100%;min-width:0}.agent-task-wizard p{font-size:13px;color:#849779;line-height:1.6}.wizard-task-choices{display:grid;gap:12px}.wizard-task-choices button{display:grid;gap:8px;text-align:left;padding:20px!important}.wizard-task-choices button span{font-weight:400;line-height:1.5}.wizard-chat-list{max-height:320px;overflow:auto}.agent-task-wizard label.check{display:flex;align-items:flex-start;gap:10px}.wizard-chat-list small{display:block;color:#8b9b80;margin-top:4px}.wizard-final-summary{padding:18px;border-radius:12px;border:1px solid #dbe6d1;background:#f4f8ef;margin:16px 0}.wizard-final-summary p{font-size:13px;line-height:1.6;margin:8px 0;color:#728865}.contact-agent-links{display:grid;gap:10px}.contact-agent-links>div{display:grid;gap:5px;border:1px solid #e1e8d9;border-radius:12px;padding:12px;background:#f8faf5}.contact-agent-links strong{font-size:13px}.contact-agent-links small,.contact-agent-links span{font-size:11px;color:#8b9c7e}.agent-tile-tools{display:block;margin-top:8px;font-size:10px;line-height:1.6;color:#80966f}.message-call{display:flex;gap:12px;align-items:center;min-width:210px;padding:8px 5px}.message-call>span:last-child{display:grid;gap:5px}.message-call strong{font-size:14px}.message-call small{font-size:11px;color:#8b9c80}.message-call-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e5eddf;color:#527b4b;flex:none}.message-call.unanswered .message-call-icon{color:#b67563;background:#f5e8e2}.message-reactions{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 0}.message-reactions>span{display:inline-flex;gap:4px;align-items:center;border:1px solid #dce6d3;background:#f2f7ec;border-radius:14px;padding:3px 7px;font-size:15px}.message-reactions>span.chosen{background:#dfeeda;border-color:#abc89c}.message-reactions small{font-size:10px;color:#6d855c}.message-edited{font-size:9px;color:#93a185}.message-day-divider{align-self:center;background:#edf1e7;color:#8a9c7e;border-radius:14px;padding:3px 10px;font-size:11px;margin:6px 0}.message-text a{color:#3d785d;text-decoration:underline;overflow-wrap:anywhere}.message-reactions>button{display:inline-flex;gap:4px;align-items:center;border:1px solid #dce6d3!important;background:#f2f7ec!important;color:#627f53!important;border-radius:14px!important;padding:3px 7px!important;font-size:15px!important;min-height:0!important;box-shadow:none!important}.message-reactions>button.chosen{background:#dfeeda!important;border-color:#abc89c!important}.reaction-quick-picker{display:flex;gap:2px;flex-wrap:nowrap;padding:4px;border-bottom:1px solid #e2e9d9}.reaction-quick-picker>button{box-sizing:border-box;justify-content:center;padding:0!important;width:32px;min-width:32px;min-height:32px!important;background:transparent!important;font-size:20px!important;border:0!important;border-radius:8px!important}.reaction-quick-picker>button.is-chosen{background:#dfeeda!important}.message-reactions>button:disabled{opacity:.85;cursor:default}.telegram-navigation{display:grid;gap:8px;padding:10px 16px;border-bottom:1px solid #e5e7eb}.telegram-navigation label{display:grid;gap:4px;font-size:12px;color:#64748b}.telegram-navigation select{width:100%;min-width:0}.salon-private-scope{margin:20px 0;padding:18px;border:1px solid #dce6d5;border-radius:14px;background:#f7f9f4}.salon-private-scope h3{margin-top:0}.salon-private-scope>p{font-size:14px;max-width:680px}.salon-private-scope .tools-chat-picker{background:#fff}.salon-private-scope>small{display:block;margin-top:10px;color:#64785d}.message-bubble.is-deleted{border-style:dashed;border-color:#b9c3b2}.message-deletion-status{display:flex;align-items:flex-start;gap:7px;color:#7b8575;font-size:11px;line-height:1.4;margin-bottom:7px}.message-deletion-status>svg{flex-shrink:0;margin-top:1px}.message-deletion-status span{font-weight:600}.message-deletion-status small{display:block;font-size:10px;font-weight:400;color:#929a8b}.message-bubble.is-deleted .message-text:empty{display:none}.schedule-log>div{display:flex;flex-wrap:wrap;gap:12px;padding:9px 0;border-bottom:1px solid #e5eadf;font-size:12px}.schedule-log time{color:#87917e}.schedule-log small{color:#a45d4a}.shell nav.agent-tabs{flex-direction:row;flex-wrap:nowrap;background:#fff;color:#718466;align-items:center;position:static;min-height:0;height:auto;padding:0 16px;overflow-x:auto;overflow-y:hidden}.shell nav.agent-tabs button{flex:0 0 auto;min-height:43px}.shell nav.agent-tabs button.active{background:#f6f9f1}.agents-page,.agents-layout,.agent-workspace,.agent-editor,.agent-settings-section{min-width:0}.agents-layout{grid-template-columns:260px minmax(0,1fr);gap:18px}.agents-list{max-height:none;align-content:start;overflow:visible}.shell .agents-list>input{position:sticky;top:0;z-index:1;margin:0 0 3px}.agent-tile-top{flex-wrap:wrap;align-items:flex-start}.agent-tile-top strong{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.45;flex:1 1 140px;overflow-wrap:anywhere}.agent-tile-top i{max-width:100%;white-space:normal;line-height:1.4}.agent-tile-tools{font-size:11px;line-height:1.5;overflow-wrap:anywhere;color:#829576}.agent-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px 0;flex-wrap:wrap}.agent-editor-toolbar .ai-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0}.shell .agent-editor-toolbar .agent-back{margin:0!important;padding:8px 0!important;border:0;background:transparent;color:#718465}.agent-editor-heading{padding:18px 22px 14px;align-items:flex-start}.agent-editor-heading>div{min-width:0}.agent-enable{flex-shrink:0;padding-top:4px}.agent-flow{margin:0 22px 16px}.shell nav.agent-tabs{flex-wrap:wrap;gap:0 3px;padding:4px 14px;background:#fcfdf9;border-top:1px solid #e6ecdf;overflow:visible}.shell .agents-page nav.agent-tabs button{min-height:39px;padding:9px 10px!important;font-size:11px}.agent-editor fieldset{min-inline-size:0;width:100%;padding:0;margin:0;border:0}.agent-settings-section{padding:22px;gap:16px}.agent-generation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agent-generation-grid>label,.agent-ai-picker>label{min-width:0}.agent-settings-section p,.agent-settings-section small{overflow-wrap:anywhere;line-height:1.65}.schedule-log>div{display:grid;grid-template-columns:minmax(140px,1fr) minmax(140px,1fr);align-items:center}.schedule-log>div>small{grid-column:1/-1}.agent-save-bar{position:sticky;bottom:0;z-index:2;padding:14px 22px;box-shadow:0 -5px 16px #33452a06}@media(max-width:1150px){.agents-layout{grid-template-columns:1fr;gap:16px}.agents-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:280px;overflow-y:auto;align-items:stretch;padding:0 3px 3px}.shell .agents-list>input{grid-column:1/-1;width:100%;min-width:0}.shell .agents-page button.agent-tile{width:100%;min-width:0;padding:13px!important;gap:7px}.agent-tile-task{display:-webkit-box;-webkit-line-clamp:1}.agent-tile-top strong{flex-basis:150px}.agents-overview{grid-template-columns:1fr 1fr 1.6fr;gap:8px;margin-bottom:16px}.agents-overview>div:last-child{grid-column:auto}.agents-overview>div{padding:13px;gap:9px}}@media(max-width:650px){.agents-heading{gap:12px}.agents-heading>button{width:100%}.agents-overview{grid-template-columns:1fr 1fr}.agents-overview>div:last-child{grid-column:1/-1}.agents-list{max-height:260px;gap:7px}.agent-tile-top strong{font-size:12px;flex-basis:100px}.agent-tile-task,.agent-tile-tools{display:none}.agent-editor-toolbar{padding:12px 14px 0;align-items:flex-start}.agent-editor-toolbar .ai-form-actions{width:100%}.agent-editor-toolbar .ai-form-actions>button{flex:1}.agent-editor-heading{padding:16px 14px;flex-wrap:wrap}.shell .agent-editor-heading h2{font-size:19px}.agent-flow{margin:0 14px 12px;padding:10px;gap:6px}.shell nav.agent-tabs{padding:4px 8px}.shell .agents-page nav.agent-tabs button{font-size:10px;padding:8px!important;min-height:36px}.agent-settings-section{padding:18px 14px}.agent-generation-grid,.agent-ai-picker{grid-template-columns:minmax(0,1fr)}.agent-save-bar{padding:12px 14px;gap:8px}.agent-save-bar>div{max-width:100%;width:100%}.agent-save-bar>button{width:100%}.schedule-log>div{grid-template-columns:1fr;gap:4px}}.shell nav.agents-page-tabs{display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;padding:5px;margin:0 0 18px;background:#edf2e8;color:#6c805f;border:1px solid #e0e7d9;border-radius:11px;min-height:0;height:auto}.shell .agents-page nav.agents-page-tabs button{flex:0 1 auto;background:transparent!important;color:#7c9070!important;border:0;padding:9px 14px!important;border-radius:8px;font-size:12px}.shell .agents-page nav.agents-page-tabs button.active{background:#fff!important;color:#466b40!important;box-shadow:0 1px 4px #31492a0b}.agents-layout.agents-dashboard{display:block}.agents-dashboard .agents-list{display:grid;grid-template-columns:minmax(0,1fr);max-height:none;overflow:visible;gap:12px;padding:0}.agents-list-controls{display:flex;gap:10px;align-items:center;min-width:0}.agents-list-controls>input{flex:1;min-width:0;width:100%;margin:0}.agents-list-controls>select{width:auto;max-width:210px;min-width:0}.agents-dashboard .agents-list-controls{margin-bottom:3px}.shell .agents-dashboard button.agent-tile{display:grid;grid-template-columns:minmax(210px,1.2fr) minmax(180px,1fr) minmax(150px,.8fr);gap:8px 24px;padding:20px!important;align-items:start}.agents-dashboard .agent-tile-top{grid-column:1;grid-row:1;gap:8px}.agents-dashboard .agent-tile-top strong{flex-basis:180px;font-size:14px}.agents-dashboard .agent-tile-top i{margin-left:27px}.agents-dashboard .agent-tile-task{grid-column:1;grid-row:2;font-size:12px;-webkit-line-clamp:2;display:-webkit-box}.agent-tile-mode{font-size:12px;line-height:1.6;color:#627d55}.agents-dashboard .agent-tile-mode{grid-column:2;grid-row:1}.agents-dashboard .agent-tile-channels{grid-column:2;grid-row:2;font-size:12px}.agents-dashboard .agent-tile-tools{display:block;grid-column:3;grid-row:1;font-size:12px}.agent-tile-open{display:none}.agents-dashboard .agent-tile-open{display:block;grid-column:3;grid-row:2;font-size:12px;color:#4e7845;align-self:end}.agent-create-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dbe5d3;border-radius:20px;background:#fff;color:#34432f;box-shadow:0 28px 100px #23351d35;overflow:auto}.agent-create-dialog::backdrop{background:#25351e65;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.agent-create-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 22px;border-bottom:1px solid #e6ecdf;position:sticky;top:0;background:#fff;z-index:3}.agent-create-dialog .agents-welcome{padding:28px}.agent-create-dialog .agents-welcome-icon{width:52px;height:52px;border-radius:16px}.agent-create-dialog .agents-welcome h2{font-size:21px;margin:0}.agent-create-dialog .agent-templates{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;margin-top:10px}.agent-create-dialog .agent-templates button{min-height:150px}.agent-create-dialog .agent-task-wizard{border:0}@media(max-width:1000px){.shell .agents-dashboard button.agent-tile{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px 20px}.agents-dashboard .agent-tile-tools{grid-column:1;grid-row:3}.agents-dashboard .agent-tile-open{grid-column:2;grid-row:3}}@media(max-width:650px){.agents-list-controls{flex-wrap:wrap}.agents-list-controls>select{width:100%;max-width:none}.shell .agents-dashboard button.agent-tile{display:flex;flex-direction:column;gap:8px;padding:16px!important}.agents-dashboard .agent-tile-top strong{flex-basis:170px}.agents-dashboard .agent-tile-top i{margin-left:0}.agents-dashboard .agent-tile-task{display:-webkit-box}.agents-dashboard .agent-tile-open{margin-top:4px}.agent-create-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 20px);border-radius:14px}.agent-create-dialog .agents-welcome{padding:20px 16px}.agent-create-dialog .agent-templates{grid-template-columns:1fr}.agent-create-dialog .agent-templates button{min-height:0}.agent-create-dialog>header{padding:12px 16px}}.agent-tile[data-status="Остановлен после ошибки"] .agent-tile-top i,.agent-tile[data-status="Мессенджер не готов"] .agent-tile-top i,.agent-tile[data-status="Инструмент недоступен"] .agent-tile-top i{background:#fff1df;color:#98692f}.agents-dashboard .agent-tile-top i{font-size:10px;padding:4px 7px}.agent-block .row>label{flex:1;min-width:160px}.agent-settings-section label>small,.ai-settings label>small{font-size:11px;line-height:1.6;color:#87967c;font-weight:400}.agent-block .row>button{align-self:end}@media(max-width:650px){.agent-block .row>label{min-width:0;flex-basis:100%}}.message-agent-author{display:inline-flex;align-items:center;justify-content:center;color:#4b7954;vertical-align:middle;flex-shrink:0;margin-right:3px}.chat-agent-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;padding:7px 16px;background:#f8faf5;border-bottom:1px solid #e2e9db;color:#7d8e71;font-size:11px;position:relative;z-index:5}.chat-agent-strip>svg{flex-shrink:0}.chat-agent-strip>small{font-size:11px;color:#99a48f}.chat-agent-chip{position:relative;min-width:0;max-width:100%}.chat-agent-chip summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;padding:4px 8px;border:1px solid #e0e8d8;border-radius:8px;background:#fff;font-size:11px;color:#5f7552;min-width:0}.chat-agent-chip summary::-webkit-details-marker{display:none}.chat-agent-chip summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.chat-agent-chip summary>i{width:6px;height:6px;border-radius:50%;background:#b1b8aa;flex-shrink:0}.chat-agent-chip summary>i.active{background:#63976c}.chat-agent-chip summary>small{font-size:10px;color:#929e87}.chat-agent-popover{position:absolute;top:calc(100% + 6px);left:0;width:270px;max-width:calc(100vw - 100px);background:#fff;border:1px solid #dfe7d8;border-radius:12px;padding:14px;box-shadow:0 9px 30px #31432920;line-height:1.6;z-index:8}.chat-agent-popover p{font-size:11px;margin:7px 0}.chat-agent-popover small{font-size:10px;color:#8a987f}@media(max-width:650px){.chat-agent-strip{padding:6px 10px;gap:5px}.chat-agent-chip summary>span{max-width:150px}.chat-agent-chip summary>small{display:none}}.chat-assistants-menu{flex-shrink:0}.chat-header-menu>summary svg{stroke-width:2.8}.chat-assistants-menu>summary{display:flex;align-items:center;gap:6px;list-style:none;min-height:40px;box-sizing:border-box;padding:6px 9px;border:1px solid #dce5d5;border-radius:9px;background:#f5f8f0;color:#4a6240;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}.chat-assistants-menu>summary::-webkit-details-marker{display:none}.chat-assistants-menu[open]>summary,.chat-assistants-menu>summary.is-enabled{border-color:#b1c79e;background:#edf4e6}.chat-assistants-panel{position:absolute;top:calc(100% + 4px);right:6px;z-index:20;width:340px;max-width:calc(100% - 12px);max-height:min(480px,calc(100dvh - 120px));overflow:auto;box-sizing:border-box;background:#fff;border:1px solid #dfe7d8;border-radius:13px;padding:16px;box-shadow:0 12px 40px #30472525;white-space:normal;text-align:left;color:#385133}.chat-assistants-panel>header{display:grid;gap:5px;margin-bottom:12px}.chat-assistants-panel>header>strong{font-size:16px;line-height:1.4}.chat-assistants-panel :is(p,small){margin:0;font-size:12px;line-height:1.5;color:#57684d}.chat-assistants-control{display:grid;gap:7px}.chat-assistants-control p[role=alert]{color:#a32727}.shell .compact-header-actions .chat-assistants-panel button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:40px;height:auto;padding:8px 10px!important;font-size:13px;border-radius:8px;white-space:normal;line-height:1.4}.chat-assistant-settings{border-top:1px solid #e8eddf;margin-top:12px}.chat-assistants-panel details>summary{padding:10px 0;cursor:pointer;font-size:13px;font-weight:600}.chat-assistant-rows{list-style:none;margin:0;padding:0}.chat-assistant-rows li{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid #e8eddf;overflow-wrap:anywhere}.chat-assistant-rows li strong{font-size:13px}.chat-assistant-rows li span{font-size:12px;color:#57684d}.shell .compact-header-actions .chat-assistants-panel button.assistant-settings-link{justify-self:start;width:auto;background:transparent!important;color:#385e32!important;border:0!important;box-shadow:none}@media(max-width:650px){.chat-assistants-menu>summary{font-size:11px;min-height:34px;gap:4px;padding:4px 6px}.chat-assistants-menu>summary svg{width:13px;height:13px}.chat-assistants-panel{padding:13px;width:300px}.shell .compact-header-actions .chat-assistants-panel button,.chat-assistants-panel details>summary{min-height:44px;box-sizing:border-box}}.attachment-transcript{margin:8px 0 2px;padding:9px 11px;border-radius:9px;background:#ffffff80;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.attachment-transcript summary{cursor:pointer;color:#557449;font-size:12px}.attachment-transcript p{white-space:pre-wrap;margin:6px 0 0}.attachment-transcription-status{display:block;margin:7px 3px;color:#687560;font-size:11px;line-height:1.4}.attachment-transcribe{display:inline-flex;margin:6px 0 0;padding:0;border:0;background:transparent;color:#557449;font-size:12px;font-weight:600;cursor:pointer}.attachment-transcribe:disabled{opacity:.6;cursor:default}.chat-workspace .message-bubble.has-attachments{width:320px;max-width:86%;padding:5px;border-radius:15px 15px 5px;overflow:visible}.chat-workspace .message-bubble.has-attachments.inbound{border-radius:15px 15px 15px 5px}.chat-workspace .has-attachments>.message-text:empty{display:none}.chat-workspace .has-attachments>.message-text:not(:empty){display:block;margin:5px 7px 8px}.shell .has-attachments>.attachment-tile{width:100%;max-width:none;margin:0}.shell .has-attachments .attachment-preview{aspect-ratio:4/3;border-radius:11px!important;background:#dfe6da!important}.shell .has-attachments .attachment-image{display:block;width:100%;height:100%;max-height:none;aspect-ratio:4/3;object-fit:cover;border-radius:0}.shell .has-attachments .attachment-tile video{max-height:240px;border-radius:11px}.shell .has-attachments .attachment-file-row,.shell .has-attachments .visual-attachment .attachment-file-row{min-height:52px;padding:6px 8px;gap:8px;border:0;background:#ffffff70;border-radius:10px}.shell .has-attachments .visual-attachment .attachment-file-row{background:transparent}.shell .has-attachments .attachment-file-info{display:grid;gap:3px;min-width:0}.shell .has-attachments .attachment-file-name,.shell .has-attachments .visual-attachment .attachment-file-name{min-width:0;font-size:12px;line-height:16px;color:#435640;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shell .has-attachments .attachment-file-info small{font-size:11px;line-height:14px;color:#778471}.shell .has-attachments .attachment-file-icon{width:36px;height:40px;flex-basis:36px;border-radius:9px;background:#dae6d2}.shell .has-attachments .attachment-tile button.attachment-download{width:40px;height:40px;min-width:40px;min-height:40px;flex-basis:40px;border:0;background:#ffffff90!important;color:#577b49!important;border-radius:12px!important}.chat-workspace .has-attachments>footer{float:none;display:flex;justify-content:flex-end;align-items:center;gap:5px;min-height:22px;margin:3px 5px 0;font-size:10px}.chat-workspace .compose-attachment{padding:8px 12px;gap:8px;background:#fff;border-top:1px solid #e7ece3}.shell .compose-attachment .attachment-tile{display:flex;align-items:center;gap:10px;flex:1;min-width:0;width:auto;max-width:none;margin:0}.shell .compose-attachment .attachment-tile .attachment-preview,.shell .compose-attachment video,.shell .compose-attachment .attachment-tile .attachment-placeholder{flex:0 0 56px;width:56px;height:56px;min-height:56px;aspect-ratio:1;border-radius:9px;padding:0}.shell .compose-attachment .attachment-image{display:block;width:56px;height:56px;max-height:56px;object-fit:cover;border-radius:9px}.shell .compose-attachment .attachment-file-row,.shell .compose-attachment .visual-attachment .attachment-file-row{flex:1;min-width:0;min-height:0;padding:0;border:0;background:transparent}.shell .compose-attachment .attachment-file-info{display:grid;gap:4px;min-width:0}.shell .compose-attachment .attachment-file-name{font-size:12px;font-weight:500;color:#435640}.shell .compose-attachment .attachment-download{display:none!important}.shell .compose-attachment button.compose-attachment-remove{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0!important;border:0;border-radius:12px;background:#f1f5ed!important;color:#6c7f61!important}@media(max-width:650px){.chat-workspace .message-bubble.has-attachments{width:280px;max-width:88%}.shell .has-attachments .attachment-preview,.shell .has-attachments .attachment-image{aspect-ratio:4/3}}.conversation{contain-intrinsic-size:auto 64px}.message-gesture{contain-intrinsic-size:auto 72px}.messenger-keepalive{display:flex;flex:1;min-height:0;min-width:0;width:100%}.messenger-keepalive[hidden]{display:none!important}.live-reconnect-banner{flex:none;padding:8px 16px;background:#fef6db;border-bottom:1px solid #ecd99b;color:#725a14;font-size:13px;font-weight:500;text-align:center}.shell.page-workspace .live-reconnect-banner{margin:-34px -38px 20px;border-radius:0}@media(max-width:760px){.shell.page-workspace .live-reconnect-banner{margin:-24px -18px 16px}}.search-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:8px;padding:3px;border-radius:9px;background:#eef3e8}.shell .search-mode-switch button{background:transparent!important;color:#5e7055!important;border:0!important;border-radius:7px!important;padding:5px 8px!important;font-size:12px!important;font-weight:500;min-height:28px;box-shadow:none!important}.shell .search-mode-switch button.active{background:#fff!important;color:#2e4a31!important;font-weight:600;box-shadow:0 1px 2px #19302414!important}.shell button.message-search-result{display:grid;gap:3px;width:100%;padding:10px 14px!important;background:#fff!important;color:#2d392f!important;border:0;border-bottom:1px solid #edf0e7;border-radius:0!important;text-align:left}.shell button.message-search-result:hover{background:#f5f8f0!important}.shell button.message-search-result.selected{background:#edf4e5!important}.message-search-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.message-search-head strong{font-size:13px;color:#26372b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-search-head time{font-size:11px;color:#879680;flex:none}.message-search-sender{font-size:11px;color:#5c7c52}.message-search-snippet{font-size:12px;color:#62705d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}.chat-search-bar{flex:none;padding:8px 14px;background:#f7faf3;border-bottom:1px solid #e4ecdb;display:grid;gap:6px}.chat-search-input-row{display:flex;align-items:center;gap:8px;color:#667c5c}.chat-search-input-row input{flex:1;min-width:0;padding:7px 10px!important;font-size:13px}.shell .chat-search-input-row button.ghost{padding:6px!important;min-width:32px;min-height:32px;display:grid;place-items:center}.chat-search-results{max-height:180px;overflow-y:auto;display:grid;gap:4px}.chat-search-results>small{font-size:12px;color:#788871;padding:2px 4px}.shell button.chat-search-item{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:7px 10px!important;background:#fff!important;color:#2e3d30!important;border:1px solid #e2ead9!important;border-radius:8px!important;text-align:left;font-size:13px}.shell button.chat-search-item:hover{background:#edf4e6!important}.chat-search-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chat-search-item time{font-size:11px;color:#84937d;flex:none}.shell .compact-chat-header .compact-header-actions button.chat-header-tool{display:inline-grid;place-items:center;width:36px;height:36px;padding:0!important;border-radius:9px;background:transparent!important;color:#526d4d!important;border:1px solid transparent}.shell .compact-chat-header .compact-header-actions button.chat-header-tool:hover,.shell .compact-chat-header .compact-header-actions button.chat-header-tool.active{background:#edf4e6!important;border-color:#d8e5cc}.timeline-wrap{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.message-timeline-content{display:flex;flex-direction:column;gap:inherit;min-height:100%}.shell button.scroll-bottom-btn{position:absolute;right:18px;bottom:16px;z-index:10;display:grid;place-items:center;width:40px;height:40px;padding:0!important;border-radius:50%!important;background:#fff!important;color:#3d6542!important;border:1px solid #d7e3cc!important;box-shadow:0 4px 14px #182b1d1f}.shell button.scroll-bottom-btn:hover{background:#f2f7ec!important}.scroll-bottom-badge{position:absolute;top:-6px;right:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:#47754b;color:#fff;font-size:11px;font-weight:600;display:inline-grid;place-items:center;line-height:1}.conversation-main{position:relative}.drop-overlay{position:absolute;top:10px;right:10px;bottom:10px;left:10px;z-index:25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px dashed #47754b;border-radius:14px;background:#f4f9eff0;color:#2f5534;pointer-events:none}.drop-overlay strong{font-size:15px}.pending-send-actions{display:flex;gap:6px;margin-top:6px}.shell .pending-send-actions button.ghost{padding:4px 9px!important;font-size:12px!important;background:#fff!important;color:#3e5b3f!important;border:1px solid #cedcc2!important;border-radius:7px!important}.image-viewer-counter{flex:0 0 auto!important;font-size:12px;color:#cbd7c3;padding:4px 9px;border-radius:99px;background:#ffffff18}.image-viewer-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff28;border-radius:50%;background:#101a1490;color:#fff;cursor:pointer}.image-viewer-nav:hover{background:#101a14cc}.image-viewer-nav.prev{left:18px}.image-viewer-nav.next{right:18px}.image-viewer-full{cursor:zoom-in;transition:transform .18s ease}.image-viewer-full.is-zoomed{cursor:zoom-out;transform:scale(1.85)}.inline-confirm{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;padding:5px 8px;border:1px solid #e7d9ce;border-radius:9px;background:#fdf6f1}.inline-confirm small{font-size:12px;color:#7e4e39;line-height:1.3}.shell .inline-confirm button{padding:5px 10px!important;font-size:12px!important}:root{--mobile-gutter: 16px;--mobile-safe-left: env(safe-area-inset-left, 0px);--mobile-safe-right: env(safe-area-inset-right, 0px)}html[data-native=true],html[data-native=true] body,html[data-native=true] #root{height:100%;margin:0;overflow:hidden}.mobile-app{height:100dvh;display:flex;flex-direction:column;background:#fff;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);padding-left:var(--mobile-safe-left);padding-right:var(--mobile-safe-right);box-sizing:border-box}.mobile-offline{background:#fff0cb;color:#694700;flex:none}.mobile-offline[data-state=done]{background:#e5f2e2;color:#315730}.mobile-offline>button{display:flex;align-items:center;gap:10px;justify-content:space-between;width:100%;min-height:48px;padding:8px var(--mobile-gutter);border:0;border-radius:0;background:transparent;color:inherit;font:inherit;font-size:13px;text-align:left;cursor:pointer}.mobile-offline>button:disabled{opacity:1;cursor:default}.mobile-offline>button:focus-visible{outline:2px solid currentColor;outline-offset:-3px}.mobile-offline [role=status]{flex:1}.mobile-offline small{display:block;margin-top:2px;font-size:11px}.mobile-refresh-spinner{width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;flex:none;animation:mobile-refresh-spin .8s linear infinite}@keyframes mobile-refresh-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.mobile-refresh-spinner{animation:none}}.mobile-setup{height:100dvh;overflow:auto;background:#f2f6ec;display:grid;place-items:center;padding:calc(24px + env(safe-area-inset-top)) calc(24px + var(--mobile-safe-right)) calc(24px + env(safe-area-inset-bottom)) calc(24px + var(--mobile-safe-left));box-sizing:border-box}.mobile-setup h1,.mobile-setup p{margin:0}.mobile-setup p{line-height:1.6;color:#65765d}.mobile-setup button{background:#47754b;color:#fff;border:0;border-radius:12px;padding:16px;font-size:16px}.mobile-setup [role=alert]{color:#a32c30}.mobile-brand{font-size:60px;font-weight:700;color:#47754b}.mobile-setup section{display:grid;gap:22px;max-width:440px}.mobile-setup form,.mobile-setup .mobile-pin{width:min(100%,320px);justify-self:center}.mobile-setup input{width:100%;min-height:52px;padding:14px 16px;border:1px solid #d5e0cc;border-radius:12px;background:#fff;font-size:18px}.mobile-pin{display:flex;flex-direction:column;align-items:center;gap:28px;width:min(100%,320px)}.mobile-pin-dots{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;min-height:18px}.mobile-pin-dots i{display:block;width:14px;height:14px;border-radius:50%;border:2px solid #47754b;box-sizing:border-box}.mobile-pin-dots i.on{background:#47754b}.mobile-pin-keys{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%}.mobile-setup .mobile-pin-keys button,.mobile-settings .mobile-pin-keys button{height:72px;padding:0;border:0;border-radius:36px;background:#fff;color:#243028;font-size:32px;font-weight:600;box-shadow:inset 0 0 0 1px #d5e0cc}.mobile-setup .mobile-pin-keys button:active,.mobile-settings .mobile-pin-keys button:active{background:#e3ecda}.mobile-settings .mobile-pin{align-self:center}html[data-native=true] .mobile-app>.login{flex:1;overflow:auto;min-height:0;padding:20px}html[data-native=true] .mobile-app>.shell.chat-workspace{height:0;flex:1;min-height:0;padding:0}html[data-native=true] .mobile-app .chat-workspace>nav,html[data-native=true] .mobile-app .chat-workspace>main{height:100%;border-radius:0}.mobile-chat-back,.directory-filter-toggle,.directory-mobile-summary{display:none}.directory-create{display:inline-flex;align-items:center;gap:7px}.mobile-more-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:560px;max-height:80dvh;padding:0;border:0;border-radius:22px 22px 0 0;background:#fff;color:#26372c;box-shadow:0 -12px 60px #19302426}.mobile-more-sheet:not([open]){display:none}.mobile-more-sheet::backdrop{background:#16291f66}.mobile-more-content{padding:14px calc(var(--mobile-gutter) + var(--mobile-safe-right)) max(16px,env(safe-area-inset-bottom)) calc(var(--mobile-gutter) + var(--mobile-safe-left))}.mobile-more-content>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.mobile-more-content h2{margin:0;font:600 22px/1.4 system-ui,sans-serif}.shell .mobile-more-content>header button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;background:#f1f5ee!important;color:#47754b;border:0;border-radius:50%}.mobile-more-items{display:grid;gap:2px}.shell .mobile-more-items>button{display:flex;gap:14px;align-items:center;min-height:48px;padding:12px!important;background:transparent!important;color:#314738!important;text-align:left;border:0;border-radius:10px}.mobile-more-items>button>span:first-of-type{flex:1;font-size:15px}.mobile-more-items>button>span:last-child:not(:first-of-type){color:#97a394}.shell .mobile-more-items>button.mobile-signout{border-top:1px solid #e8eee5;border-radius:0;color:#a24840!important;margin-top:6px}.mobile-settings{position:fixed;z-index:1200;inset:env(safe-area-inset-top) var(--mobile-safe-right) env(safe-area-inset-bottom) var(--mobile-safe-left);background:#fff;padding:20px;overflow:auto;display:flex;flex-direction:column;gap:16px}.mobile-settings header{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-settings h2,.mobile-settings h3{margin:0}.mobile-settings label{display:flex;gap:12px;align-items:center;font-weight:600}.mobile-settings input{width:22px;height:22px;flex:none}.mobile-settings p{margin:0;color:#65765d;line-height:1.6}.mobile-settings button{padding:13px;background:#47754b;color:#fff;border:0;border-radius:9px}.mobile-settings [role=alert]{color:#a32c30}.mobile-settings .lock-choice{border:0;margin:0;padding:0;display:grid;gap:12px}.mobile-settings .lock-choice legend{font-weight:700;padding:0}.mobile-settings .lock-secret{display:grid;gap:10px}.mobile-settings .lock-secret label{display:grid;align-items:stretch;gap:6px}.mobile-settings .lock-secret input{width:100%;height:auto;min-height:48px;flex:auto;font-size:18px}html[data-native=true] .image-viewer{inset:env(safe-area-inset-top) var(--mobile-safe-right) env(safe-area-inset-bottom) var(--mobile-safe-left);width:calc(100% - var(--mobile-safe-left) - var(--mobile-safe-right));height:calc(100% - env(safe-area-inset-top) - env(safe-area-inset-bottom))}html[data-native=true] .agent-create-dialog{max-width:calc(100% - var(--mobile-safe-left) - var(--mobile-safe-right) - 2 * var(--mobile-gutter));max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 2 * var(--mobile-gutter))}.mobile-privacy{position:fixed;top:0;right:0;bottom:0;left:0;background:#f2f6ec;z-index:2000;display:flex;align-items:center;justify-content:center;flex-direction:column}.mobile-privacy strong{font-size:48px;color:#47754b}@media(max-width:650px){.shell.chat-workspace{display:flex;flex-direction:column;padding:0;height:100dvh;min-height:0;gap:0;overflow:hidden;background:#fff}.shell.chat-workspace>nav.mobile-primary-nav,html[data-native=true] .mobile-app .shell.chat-workspace>nav.mobile-primary-nav{order:2;display:grid;width:100%;height:62px;min-height:62px;flex:0 0 62px;padding:4px var(--mobile-gutter);box-sizing:border-box;border-radius:0;overflow:visible;gap:2px;align-items:stretch;position:static;border-top:1px solid #e4ebe1;background:#f8faf6}.mobile-primary-nav>strong,.mobile-primary-nav>.workspace-home{display:none!important}.shell.chat-workspace>nav.mobile-primary-nav button{width:100%;min-width:0;min-height:50px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:5px 2px;position:relative;border-radius:11px;font-size:11px;order:0}.mobile-primary-nav button svg{width:23px;height:23px}.chat-workspace.nav-labels .workspace-nav-label{display:block;font-size:10px;line-height:13px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-workspace .workspace-nav-icon{font-size:0;line-height:1}.shell.chat-workspace:not(.nav-labels)>nav.mobile-primary-nav,html[data-native=true] .mobile-app .shell.chat-workspace:not(.nav-labels)>nav.mobile-primary-nav{height:48px;min-height:48px;flex-basis:48px}.shell.chat-workspace:not(.nav-labels)>nav.mobile-primary-nav button{min-height:44px;gap:0}.shell.chat-workspace>nav.mobile-primary-nav button.nav-labels-toggle{order:1}.mobile-primary-nav .nav-unread-count{top:1px;right:calc(50% - 26px);font-size:10px;min-width:18px;height:18px;padding:2px 4px;border:2px solid #f8faf6}.shell.chat-workspace>main,html[data-native=true] .mobile-app .shell.chat-workspace>main{order:1;flex:1;height:auto;min-height:0;min-width:0;border-radius:0;border:0}.shell.chat-workspace:not(.page-workspace)>main{padding:0}.shell.chat-workspace.page-workspace>main{padding:12px var(--mobile-gutter) var(--mobile-gutter);overflow:auto}.shell.chat-workspace.page-workspace>main>.grid{grid-template-columns:minmax(0,1fr)}.image-viewer,.image-viewer-toolbar{padding-inline:var(--mobile-gutter)}.chat-workspace .messenger,.chat-workspace .messenger.with-drawer,.chat-workspace .messenger.contact-mode{display:flex;flex-direction:column;height:100%;overflow:hidden;min-width:0}.chat-workspace .conversation-sidebar{width:100%;flex:1;min-height:0;border:0}.chat-workspace .conversation-main{display:none;min-width:0;flex:1;min-height:0}.chat-workspace .messenger.has-chat>.conversation-sidebar,.chat-workspace .messenger.has-sms>.conversation-sidebar,.chat-workspace .messenger.has-saved>.conversation-sidebar{display:none}.chat-workspace .messenger.has-chat>.conversation-main,.chat-workspace .messenger.has-sms>.conversation-main,.chat-workspace .messenger.has-saved>.conversation-main{display:flex}.chat-workspace .conversation-sidebar>header{padding:10px var(--mobile-gutter) 6px;min-height:52px;flex:none}.chat-workspace .conversation-sidebar h1{font-size:24px;letter-spacing:-.5px}.chat-workspace .list-count{font-size:12px;padding:3px 7px}.chat-workspace .messenger-tabs{padding:2px var(--mobile-gutter);gap:3px;flex-wrap:nowrap;overflow-x:auto;min-height:40px;flex:none;scrollbar-width:none}.chat-workspace .messenger-tabs::-webkit-scrollbar{display:none}.chat-workspace .messenger-tabs button{white-space:nowrap;flex:none;padding:8px 10px;font-size:12px;min-height:36px}.chat-workspace .messenger-search{padding:6px var(--mobile-gutter) 10px;flex:none}.chat-workspace .messenger-search input{height:42px;padding:10px 12px;font-size:15px!important}.chat-workspace .conversation-list{min-height:0;overflow-y:auto;overscroll-behavior:contain}.chat-workspace .conversation-list>.conversation{display:flex;width:100%;height:64px;min-height:64px;box-sizing:border-box;padding:6px var(--mobile-gutter)!important;gap:10px;border-left:0;border-bottom:1px solid #edf1e9;border-radius:0;flex:none;align-items:center;contain-intrinsic-size:auto 64px}.chat-workspace .conversation-list .avatar{width:42px;height:42px;min-width:42px;font-size:14px}.chat-workspace .conversation-list .channel-dot{display:grid;place-items:center;width:18px;height:18px;bottom:-1px;right:-1px;border:2px solid white}.conversation-list .channel-dot svg{width:12px;height:12px}.chat-workspace .conversation-copy{gap:5px;text-align:left}.chat-workspace .conversation-copy strong{font-size:15.5px;line-height:20px;color:#26372b;font-weight:600}.chat-workspace .conversation-copy>span{font-size:14px;line-height:20px;color:#75816f}.chat-workspace .conversation-copy>.conversation-channel{display:none}.chat-workspace .conversation-meta{align-self:stretch;min-width:33px;gap:5px;justify-content:space-between;padding:1px 0;font-size:10px}.chat-workspace .inbox-footnote{display:none}.chat-workspace .telegram-navigation{padding:5px var(--mobile-gutter);gap:8px}.chat-workspace .telegram-navigation label{min-width:0;flex:1}.chat-workspace .telegram-navigation select{min-height:38px;padding:7px;font-size:13px!important}.chat-workspace .mobile-chat-back{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:6px!important;border:0;background:transparent!important;color:#47754b!important;font-size:28px;border-radius:8px}.chat-workspace .compact-chat-header{flex-wrap:nowrap;padding:6px var(--mobile-gutter);gap:5px;height:auto;min-height:56px}.chat-workspace .compact-chat-header>.avatar,.chat-workspace .compact-chat-header .chat-header-person>.avatar{display:none}.chat-workspace .chat-header-identity{flex:1;min-width:0}.chat-workspace .message-timeline{padding:6px var(--mobile-gutter) 8px;gap:2px}.chat-workspace .message-gesture{max-width:84%;contain-intrinsic-size:auto 72px}.chat-workspace .message-bubble{max-width:84%;padding:4px 8px 3px;font-size:15px;line-height:1.3}.chat-workspace .message-gesture .message-bubble{max-width:100%}.chat-workspace .message-bubble footer{margin:1px 0 0 8px;font-size:11px}.chat-workspace .message-composer{margin:4px var(--mobile-gutter) 6px;padding:3px;gap:4px}.shell .message-composer textarea{flex-basis:100%;background:#f5f8f2;min-height:34px;padding:6px 8px}.composer-actions{width:100%}.shell .message-composer .composer-tool,.shell .message-composer .composer-send{min-width:42px;min-height:42px}.composer-send>span{display:none}.shell .message-composer .composer-send{width:42px;padding:0!important;border-radius:50%}.message-context-menu button{min-height:38px}.shell .compact-chat-header .compact-header-actions button.chat-header-tool,.chat-header-menu>summary{width:42px;height:42px}.chat-assistants-menu>summary{min-height:34px;padding:0 6px}.shell .compact-chat-header .chat-header-menu-content button{min-height:36px}.forward-dialog{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:10px var(--mobile-gutter) max(10px,env(safe-area-inset-bottom))}.forward-dialog .forward-recipient{min-height:46px}.chat-workspace .contact-drawer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;max-width:none;box-sizing:border-box;z-index:30}.shell.chat-workspace>main:has(.contacts-directory){padding:0;overflow:hidden;display:flex}.chat-workspace .contacts-directory{border:0;border-radius:0;width:100%;height:100%;min-height:0;flex:1}.contacts-directory .directory-heading{padding:8px var(--mobile-gutter);min-height:54px;flex:none;gap:8px;flex-wrap:nowrap;border-bottom:0}.contacts-directory .directory-heading h1{font-size:24px;line-height:32px;gap:9px}.contacts-directory .directory-heading h1>span{font-size:11px;padding:2px 6px;white-space:nowrap}.contacts-directory .directory-heading p{display:none}.shell .contacts-directory .directory-create{width:44px;height:44px;min-height:44px;min-width:44px;padding:10px!important;border-radius:12px;display:grid;place-items:center;margin-left:auto}.directory-create>span{display:none}.contacts-directory .directory-body{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.contacts-directory .directory-list-pane{flex:1;min-height:0;overflow:hidden}.contacts-directory .directory-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:4px var(--mobile-gutter) 10px;flex:none}.shell .contacts-directory .directory-tools input{height:42px;min-height:42px;flex:1 1 0;width:0;padding:10px 12px;font-size:15px!important;border-radius:11px}.shell .contacts-directory button.directory-filter-toggle{display:grid;place-items:center;min-width:44px;width:44px;height:44px;padding:10px!important;border:1px solid #dce5d5;background:#f4f7f0!important;color:#64795a!important;border-radius:11px;position:relative}.directory-filter-toggle.has-filters:after{content:"";position:absolute;top:5px;right:5px;width:7px;height:7px;background:#47754b;border-radius:50%}.shell .contacts-directory .directory-tools>select{display:none;width:100%;flex-basis:100%;font-size:14px;min-height:42px}.contacts-directory .directory-filters{display:none;padding:0 var(--mobile-gutter) 10px;flex:none;gap:8px}.contacts-directory.filters-open .directory-tools>select{display:block}.contacts-directory.filters-open .directory-filters{display:flex;flex-direction:column;align-items:stretch}.contacts-directory .directory-filters>div{justify-content:space-between}.shell .contacts-directory .directory-filters button{min-height:38px;padding:8px!important;font-size:11px}.shell .contacts-directory .directory-filters>select{width:100%;min-height:38px;font-size:13px}.contacts-directory .directory-columns{display:none}.contacts-directory .directory-results{padding:4px var(--mobile-gutter) 8px}.contacts-directory .directory-rows{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.shell .contacts-directory button.directory-row{display:flex;gap:10px;height:72px;min-height:72px;padding:10px var(--mobile-gutter)!important;align-items:center;box-shadow:none;border-radius:0;overflow:hidden}.directory-person{flex:1;min-width:0;gap:12px}.directory-person>.avatar{width:42px;height:42px;min-width:42px;font-size:14px}.directory-person>span:last-child{flex:1;min-width:0;align-items:flex-start;gap:5px}.directory-person strong{font-size:15.5px;line-height:20px;text-align:left;width:100%;color:#26372b}.directory-person small.directory-desktop-summary{display:none}.directory-person small.directory-mobile-summary{display:block;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px;line-height:18px;color:#7a8873}.contacts-directory .directory-channel-list,.contacts-directory .directory-chat-count{display:none}.contacts-directory.has-selection>.directory-heading,.contacts-directory.has-selection>.directory-new{display:none}.contacts-directory .directory-detail{display:none;flex:1;padding:0 var(--mobile-gutter) 20px;border:0;min-height:0;overflow:auto;background:#fff}.contacts-directory.has-selection .directory-detail{display:block}.contacts-directory.has-selection .directory-list-pane{display:none}.shell .contacts-directory .directory-back{position:sticky;top:0;z-index:2;width:100%;min-height:50px;padding:12px 0!important;background:#fff!important;border-radius:0;text-align:left;font-size:14px}.directory-detail .person-panel-heading{display:none}.directory-detail .person-card{max-width:none}.directory-detail .person-hero{padding-top:12px}.directory-new{padding:10px var(--mobile-gutter)}.directory-new label{max-width:none}.chat-workspace input,.chat-workspace textarea,.chat-workspace select{font-size:16px}.chat-workspace input[type=search]{font-size:15px}.shell.chat-workspace.page-workspace .live-reconnect-banner{margin:-12px calc(var(--mobile-gutter) * -1) 12px}}@media(min-width:651px)and (max-width:840px){.chat-workspace .inbox-heading{flex-wrap:nowrap}.chat-workspace .inbox-heading h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-workspace .inbox-heading .list-count{flex:none}.shell .new-chat-action{position:relative;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0!important;gap:0;overflow:hidden;color:transparent!important;text-indent:100%}.shell .new-chat-action svg{position:absolute;left:13px;top:13px;color:#fff}.shell .new-chat-action[aria-expanded=true] svg{color:#3f633b}}@media(min-width:651px)and (max-width:760px){.chat-workspace .conversation-sidebar>header{padding:8px 6px 6px;gap:4px}.chat-workspace .inbox-heading .list-count{padding:2px 5px}}
