.agents-page,.knowledge-page,.amocrm-page,.wazzup-page,.users-page{--settings-panel:#fbfdfe;--settings-soft:#f3f8fa;--settings-text-strong:#2f4d5f}.agents-page .page-heading,.knowledge-page .page-heading,.amocrm-page .page-heading,.wazzup-page .page-heading,.users-page .page-heading{min-height:68px}.agents-page .page-heading h1,.knowledge-page .page-heading h1,.amocrm-page .page-heading h1,.wazzup-page .page-heading h1,.users-page .page-heading h1{margin-top:0}.button--danger{color:#fff;background:#b82f37;border-color:#b82f37}.button--danger:hover:not(:disabled){background:#922d33}.settings-skeleton{gap:10px;display:grid}.settings-skeleton i{border:1px solid var(--line);background:linear-gradient(100deg,#f3f8fa 30%,#fff 48%,#f3f8fa 66%) 0 0/240% 100%;border-radius:13px;height:76px;animation:1.35s ease-in-out infinite settings-shimmer;display:block}@keyframes settings-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.settings-save-state{background:var(--success-bg);min-height:30px;color:var(--success);white-space:nowrap;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:750;display:inline-flex}.settings-save-state--dirty{background:var(--warning-bg);color:var(--warning)}.settings-meta-row{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:8px 18px;margin-top:9px;font-size:12px;display:flex}.settings-control-panel{border:1px solid var(--line);background:#fff;border-radius:13px;flex-direction:column;gap:14px;min-width:0;padding:15px;display:flex}.settings-control-panel--status{background:var(--settings-soft)}.settings-control-panel--status.is-active{background:var(--success-bg);border-color:#a9d8c4}.settings-control-panel__heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-control-panel__heading>strong{color:var(--settings-text-strong);font-size:14px}.settings-control-panel .form-actions{margin-top:auto}.agent-identity-grid{grid-template-columns:minmax(0,.8fr) minmax(340px,1.2fr);gap:14px;display:grid}.settings-switch-row{min-height:54px;color:var(--text);cursor:pointer;align-items:flex-start;gap:11px;display:flex}.settings-switch-row input{width:21px;height:21px;accent-color:var(--accent);flex:none;margin:2px 0 0}.settings-switch-row>span{gap:4px;min-width:0;display:grid}.settings-switch-row strong{color:var(--settings-text-strong);font-size:13px;line-height:1.4}.settings-switch-row small{color:var(--muted);font-size:12px;line-height:1.5}.settings-disclosure,.settings-danger-zone{border:1px solid var(--line);background:var(--settings-panel,#fbfdfe);box-shadow:var(--shadow-soft);border-radius:15px;overflow:visible}.settings-disclosure>summary,.settings-danger-zone>summary{min-height:54px;color:var(--settings-text-strong,#2f4d5f);cursor:pointer;padding:16px 48px 16px 18px;font-size:14px;font-weight:800;line-height:1.5}.settings-disclosure>summary::marker{color:var(--accent)}.settings-danger-zone>summary::marker{color:var(--accent)}.settings-disclosure[open]>summary{border-bottom:1px solid var(--line)}.settings-disclosure__content{padding:18px}.settings-disclosure__intro{color:var(--muted);margin:0 0 16px;font-size:13px;line-height:1.5}.settings-inline-details{color:var(--muted);font-size:12px}.settings-inline-details>summary{width:fit-content;min-height:36px;color:var(--accent-dark);cursor:pointer;padding:8px 0;font-size:12px;font-weight:750;line-height:20px}.settings-inline-details--block{border-top:1px solid var(--line);margin-top:14px;padding-top:4px}.settings-inline-details--block>summary{min-height:44px}.settings-inline-details--block[open]>summary{margin-bottom:10px}.settings-inline-details>span{margin-right:6px}.settings-confirm-dialog{width:min(520px,100%)}.settings-confirm-dialog__actions{margin-top:22px}.settings-modal-backdrop{z-index:180}.settings-dialog-error{background:var(--danger-bg);border:1px solid #f5c4c7;border-radius:10px;padding:10px 12px;line-height:1.45;color:#922d33!important;margin:12px 0 0!important;font-size:12px!important}.agents-page .agents-layout{grid-template-columns:minmax(260px,310px) minmax(0,1fr)}.agents-page .agents-list{max-height:calc(100dvh - 132px);position:sticky;top:108px;overflow-y:auto}.agents-page .agents-list>button{align-items:flex-start}.agents-page .agents-list strong,.agents-page .agents-list small{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.agents-page .agents-list small{font-size:12px;line-height:1.45}.agents-page .agent-prompt{min-height:270px;font-size:14px;line-height:1.55}.agents-page .agent-advanced .form-actions{margin-top:16px}.knowledge-overview{border:1px solid var(--line);background:var(--settings-panel);box-shadow:var(--shadow-soft);border-radius:15px;grid-template-columns:minmax(190px,.8fr) minmax(220px,1.5fr) auto;align-items:center;gap:14px;padding:15px 17px;display:grid}.knowledge-overview>div:first-child{gap:2px;display:grid}.knowledge-overview>div:first-child span,.knowledge-overview>div:first-child small{color:var(--muted);font-size:12px}.knowledge-overview>div:first-child strong{color:var(--settings-text-strong);font-size:17px}.knowledge-overview>a{color:var(--warning);font-size:12px;font-weight:750}.knowledge-overview__progress{background:#dfeaf0;border-radius:999px;height:8px;overflow:hidden}.knowledge-overview__progress span{border-radius:inherit;background:var(--success);height:100%;display:block}.knowledge-overview>.settings-inline-details{border-top:1px solid var(--line);grid-column:1/-1;margin-top:-4px}.knowledge-page .knowledge-layout{grid-template-columns:minmax(560px,1.55fr) minmax(340px,.75fr)}.knowledge-page .knowledge-document{grid-template-columns:42px minmax(0,1fr) auto}.knowledge-page .knowledge-document__main strong,.knowledge-page .knowledge-document__main small{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.knowledge-page .knowledge-document__main strong{color:var(--settings-text-strong);font-size:13px;line-height:1.45}.knowledge-page .knowledge-document__main small{font-size:12px;line-height:1.45}.settings-safe-note{background:var(--info-bg);color:var(--info);border:1px solid #caddf7;border-radius:10px;gap:2px;padding:10px 12px;display:grid}.settings-safe-note strong{font-size:12px}.settings-safe-note span{font-size:12px;line-height:1.45}.settings-action-menu{position:relative}.settings-action-menu>summary{border:1px solid var(--line);min-height:40px;color:var(--accent-dark);cursor:pointer;background:#fff;border-radius:10px;align-items:center;padding:0 12px;font-size:12px;font-weight:750;list-style:none;display:inline-flex}.settings-action-menu>summary::-webkit-details-marker{display:none}.settings-action-menu>div{z-index:12;border:1px solid var(--line);min-width:180px;box-shadow:var(--shadow-raised);background:#fff;border-radius:11px;padding:6px;display:grid;position:absolute;bottom:calc(100% + 6px);right:0}.settings-action-menu button{min-height:40px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;padding:8px 10px}.settings-action-menu button.is-danger{color:var(--danger)}.integration-summary{border:1px solid var(--line);background:var(--line);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0;display:grid;overflow:hidden}.integration-summary>div{background:#fff;min-width:0;padding:14px}.integration-summary dt{color:var(--muted);margin-bottom:5px;font-size:12px}.integration-summary dd{color:var(--settings-text-strong);overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:700;line-height:1.4}.settings-detail-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;display:grid}.settings-detail-list>div{background:var(--settings-soft);border-radius:9px;min-width:0;padding:10px 12px}.settings-detail-list dt{margin-bottom:3px;font-size:11px}.settings-detail-list dd{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:12px;font-weight:650}.settings-detail-copy{background:var(--settings-soft);border-radius:9px;gap:3px;padding:10px 12px;display:grid}.settings-detail-copy>span,.settings-detail-copy>small{font-size:12px}.settings-detail-copy>strong{color:var(--text);overflow-wrap:anywhere;font-size:13px}.settings-radio-group{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px;padding:0;display:grid}.settings-radio-group legend{color:var(--settings-text-strong);grid-column:1/-1;margin-bottom:2px;font-size:13px;font-weight:750}.settings-radio-group label{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:11px;align-items:flex-start;gap:10px;min-height:68px;padding:12px;display:flex}.settings-radio-group label.is-selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 1px #2f759a14}.settings-radio-group input{width:19px;height:19px;accent-color:var(--accent);flex:none;margin:2px 0 0}.settings-radio-group label>span{gap:3px;display:grid}.settings-radio-group strong{color:var(--settings-text-strong);font-size:13px}.settings-radio-group small{color:var(--muted);font-size:12px;line-height:1.4}.settings-danger-zone{box-shadow:none;border-color:#ecc7ca}.settings-danger-zone>summary{color:#922d33}.settings-danger-zone>div{justify-content:space-between;align-items:center;gap:16px;padding:0 18px 18px;display:flex}.settings-danger-zone>div>span{gap:3px;display:grid}.settings-danger-zone strong{color:#922d33;font-size:13px}.settings-danger-zone small{color:var(--muted);font-size:12px;line-height:1.45}.settings-webhook-control{margin-top:2px}.settings-warning-copy{color:var(--warning);margin:9px 0 0;font-size:12px;line-height:1.45}.pipeline-settings{gap:14px;display:grid}.pipeline-mode{margin-bottom:0}.pipeline-picker{gap:8px;display:grid}.pipeline-picker__search{color:var(--settings-text-strong);gap:6px;font-size:12px;font-weight:750;display:grid}.pipeline-picker__search input{border:1px solid var(--line-strong);width:100%;min-height:44px;color:var(--text);background:#fff;border-radius:10px;padding:0 12px}.pipeline-picker__list{overscroll-behavior:contain;border:1px solid var(--line);scrollbar-gutter:stable;background:#fff;border-radius:11px;max-height:286px;overflow-y:auto}.pipeline-picker__list>label{border-bottom:1px solid var(--line);cursor:pointer;align-items:flex-start;gap:11px;min-height:54px;padding:10px 12px;display:flex}.pipeline-picker__list>label:last-of-type{border-bottom:0}.pipeline-picker__list>label:hover,.pipeline-picker__list>label:focus-within{background:var(--accent-soft)}.pipeline-picker__list>label.is-archive{background:#f7f8f9}.pipeline-picker__list input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:2px 0 0}.pipeline-picker__list label>span{gap:2px;min-width:0;display:grid}.pipeline-picker__list strong{color:var(--settings-text-strong);overflow-wrap:anywhere;font-size:13px;line-height:1.4}.pipeline-picker__list small{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.4}.pipeline-picker__list>p{color:var(--muted);text-align:center;margin:0;padding:18px;font-size:13px}.pipeline-picker__error{color:var(--danger);margin:0;font-size:12px;font-weight:700}.pipeline-cache-warning{color:var(--warning)}.pipeline-settings__actions{flex-wrap:wrap;margin-top:0}.pipeline-settings__actions .button--secondary{margin-left:auto}.wazzup-page .channel-row{grid-template-columns:auto minmax(180px,1fr) minmax(150px,auto) minmax(180px,auto);display:grid}.wazzup-page .channel-row__main strong,.wazzup-page .channel-row__main span{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;overflow:visible}.channel-row__provider{justify-items:start;gap:4px;display:grid}.channel-row__provider>span{color:var(--muted);font-size:11px}.wazzup-page .channel-policy-toggle{max-width:none}.wazzup-page .channel-policy-toggle>span{gap:2px;display:grid}.wazzup-page .channel-policy-toggle strong{color:var(--settings-text-strong);font-size:12px}.wazzup-page .channel-policy-toggle small{color:var(--muted);font-size:11px}.users-page .users-tabs{align-self:flex-start;width:auto}.users-page .users-table{gap:9px}.users-page .user-row{grid-template-columns:minmax(190px,1.2fr) auto minmax(180px,1fr) auto minmax(190px,auto)}.users-page .user-row__identity strong,.users-page .user-row__mapping span{text-overflow:clip;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.4;overflow:visible}.users-page .user-row__identity span,.users-page .user-row__mapping small{overflow-wrap:anywhere;font-size:12px}.user-row__self{color:var(--muted);align-self:center;font-size:12px}.settings-user-dialog{width:min(620px,100%);max-height:calc(100dvh - 32px);overflow-y:auto}.settings-dialog-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.settings-dialog-heading h2{margin:0 0 5px}.settings-dialog-heading p{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.settings-dialog-heading>button{background:var(--settings-soft);width:44px;height:44px;color:var(--text);border:0;border-radius:10px;flex:none;place-items:center;padding:0;font-size:22px;display:grid}.audit-filter-disclosure{border-bottom:1px solid var(--line)}.audit-filter-disclosure>summary{min-height:52px;color:var(--settings-text-strong);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:800;display:flex}.audit-filter-disclosure>summary em{background:var(--accent-soft);color:var(--accent-dark);border-radius:999px;padding:4px 7px;font-size:11px;font-style:normal}.audit-filter-disclosure .audit-filters{padding-top:12px}.audit-filter-chips{flex-wrap:wrap;gap:6px;padding:0 0 8px;display:flex}.audit-filter-chips span{background:var(--accent-soft);color:var(--accent-dark);border-radius:999px;padding:5px 8px;font-size:11px;font-weight:650}.audit-event__technical{border-top:1px solid var(--line);margin-top:9px}.audit-event__technical dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.audit-event__technical dl>div{background:var(--settings-soft);border-radius:8px;min-width:0;padding:8px 10px}.audit-event__technical dt{text-transform:uppercase;margin-bottom:2px;font-size:11px;font-weight:750}.audit-event__technical dd{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:12px}@media (width<=1180px){.agents-page .agents-layout{grid-template-columns:1fr}.agents-page .agents-list{flex-direction:row;max-height:none;display:flex;position:static;overflow-x:auto}.agents-page .agents-list>button{min-width:260px}.knowledge-page .knowledge-layout{grid-template-columns:1fr}.users-page .user-row{grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr)}.users-page .user-row .button-row{grid-column:1/-1}}@media (width<=760px){.agent-identity-grid,.settings-radio-group,.integration-summary,.settings-detail-list,.audit-event__technical dl{grid-template-columns:1fr}.knowledge-overview{grid-template-columns:1fr auto}.knowledge-overview__progress{grid-area:2/1/auto/-1}.knowledge-overview>.settings-inline-details{grid-column:1/-1}.wazzup-page .channel-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.wazzup-page .channel-row__provider,.wazzup-page .channel-policy-toggle,.wazzup-page .channel-row__unavailable{grid-column:2;margin-left:0}.users-page .user-row{grid-template-columns:1fr auto}.users-page .user-row__mapping{grid-column:1/-1}.settings-danger-zone>div{flex-direction:column;align-items:stretch}.settings-danger-zone .button{width:100%}}@media (width<=680px){.agents-page .agents-list{grid-template-columns:1fr;display:grid;overflow:visible}.agents-page .agents-list>button{min-width:0}.agents-page .section-card__action{width:100%}.settings-save-state{white-space:normal}.settings-control-panel__heading{flex-direction:column;align-items:flex-start}.knowledge-overview{grid-template-columns:1fr}.knowledge-overview__progress{grid-area:auto/1}.knowledge-page .knowledge-document{grid-template-columns:40px minmax(0,1fr)}.knowledge-page .knowledge-document__actions{flex-direction:column;align-items:stretch}.settings-action-menu>summary{justify-content:center;width:100%}.settings-action-menu>div{margin-top:5px;bottom:auto;left:0;right:auto}.settings-disclosure__content{padding:15px}.settings-user-dialog{width:100%;padding:18px}.users-page .section-card__header{gap:12px}.users-page .section-card__action,.users-page .section-card__action .button{width:100%}.settings-confirm-dialog__actions{flex-direction:column-reverse;align-items:stretch}.settings-confirm-dialog__actions .button{width:100%}.pipeline-settings__actions{flex-direction:column;align-items:stretch}.pipeline-settings__actions .button{width:100%}.pipeline-settings__actions .button--secondary{margin-left:0}.pipeline-picker__list{max-height:min(286px,42dvh)}}@media (prefers-reduced-motion:reduce){.settings-skeleton i{animation:none!important}.agents-page *,.knowledge-page *,.amocrm-page *,.wazzup-page *,.users-page *{scroll-behavior:auto!important;transition:none!important}}.diagnostics-page .diagnostics-runtime,.diagnostics-page .diagnostics-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.diagnostics-page .diagnostics-list .section-card{min-width:0;margin:0}.diagnostics-page .diagnostic-meta{flex-wrap:wrap;gap:8px 14px;display:flex}.diagnostics-page .section-card__action{min-width:0}.diagnostics-page .section-card__action .status-badge{white-space:normal}.diagnostics-runtime p{color:var(--muted);margin:0;font-size:12px;line-height:1.6}.diagnostics-events{border:1px solid var(--line);background:var(--card);border-radius:12px;min-width:0}.diagnostics-events>summary{cursor:pointer;color:var(--text);padding:16px;font-size:13px;font-weight:600}.diagnostics-events>summary span{color:var(--muted);margin-top:5px;font-size:12px;font-weight:400;display:block}.diagnostics-events>.section-card{margin:0 12px 12px}@media (width<=1100px){.diagnostics-page .diagnostics-runtime,.diagnostics-page .diagnostics-list{grid-template-columns:minmax(0,1fr)}}.catalog-details{border:1px solid var(--border,#d5e2e8);background:#f8fbfc;border-radius:10px;min-width:0}.catalog-details>summary{cursor:pointer;min-height:44px;padding:12px 16px;font-size:13px;font-weight:600}.catalog-details>summary:focus-visible{outline-offset:2px;outline:2px solid #2f759a}.catalog-details[open]>summary{border-bottom:1px solid var(--border,#d5e2e8)}.catalog-details .widget-access-directory-meta{margin:0;padding:12px 16px}.catalog-details--warning{background:#fff9ee}.catalog-details--warning>.section-card{box-shadow:none;background:0 0;border:0}.catalog-search{margin-top:16px}.widget-access-page .widget-access-row__identity strong,.widget-access-page .widget-access-row__identity span,.widget-access-page .widget-access-scope strong,.quick-replies-page .quick-reply-admin-list strong,.quick-replies-page .quick-reply-admin-list span{white-space:normal;overflow-wrap:anywhere}.widget-access-page .widget-access-row{box-shadow:none;transform:none}.quick-replies-page .quick-replies-layout{grid-template-columns:minmax(0,1fr);gap:20px;display:grid}.quick-replies-page .quick-replies-layout--editing{grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr)}.quick-replies-page .quick-reply-editor{scroll-margin-top:80px}.quick-replies-page .quick-reply-admin-list article{box-shadow:none;align-items:start;transform:none}.quick-replies-page .quick-reply-admin-list article>div:first-child{min-width:0}.quick-replies-page .quick-reply-admin-list span{white-space:pre-wrap}.quick-replies-page .quick-reply-admin-list .button-row{flex-wrap:wrap;flex-shrink:0}.catalog-safe-note{color:#466176;background:#edf6fa;border-radius:10px;margin:0;padding:10px 14px;font-size:13px}@media (width<=1100px){.quick-replies-page .quick-replies-layout--editing{grid-template-columns:minmax(0,1fr)}}@media (width<=680px){.quick-replies-page .quick-reply-admin-list article{flex-direction:column}.widget-access-page .widget-access-scope{flex-wrap:wrap}.catalog-details>summary{padding:12px}}.users-page .user-row--current{background:var(--surface-selected,#dbe8fb);box-shadow:inset 3px 0 0 var(--accent,#315fad)}.users-page .user-row__identity .user-row__you{background:var(--card,#fff);color:var(--accent,#315fad);vertical-align:middle;border-radius:5px;margin-inline-start:8px;padding:2px 6px;font-size:11px;font-weight:600;display:inline-block}.settings-user-dialog .user-form--sequential{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.settings-user-dialog .user-form--sequential>*{grid-column:1;min-width:0}.user-form--sequential .user-form__mapping{border-top:1px solid var(--line,#d2ddea);padding-top:12px}.user-form--sequential .user-form__save-status{min-height:30px;color:var(--accent,#315fad);align-items:center;gap:8px;font-size:12px;display:flex}.user-form__cloud{width:28px;height:24px;fill:var(--accent-soft,#dbe8fb);stroke:var(--accent,#315fad);stroke-width:1.3px;flex:0 0 28px;animation:1.3s ease-in-out infinite alternate user-cloud-breathe}@keyframes user-cloud-breathe{0%{opacity:.45}to{opacity:1}}@media (prefers-reduced-motion:reduce){.user-form__cloud{animation:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--nav:#fbfdfe;--nav-soft:#eef6fa;--nav-muted:#5f7483;--accent:#2f759a;--accent-dark:#285f7c;--accent-soft:#eef6fa;--canvas:#e7f2f7;--card:#fbfdfe;--text:#526a7b;--muted:#5f7483;--line:#c8dce5;--line-strong:#abc8d5;--success:#17875c;--success-bg:#e9f7f1;--danger:#c73e45;--danger-bg:#fff0f1;--warning:#a86716;--warning-bg:#fff7df;--info:#3569a9;--info-bg:#eef5ff;--shadow:0 18px 50px #416e851a;--sidebar-width:252px;font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}html{overflow-x:hidden}body{background:linear-gradient(145deg, var(--canvas) 0%, #f5f8f7 100%) fixed;color:var(--text);-webkit-font-smoothing:antialiased;font-family:inherit;overflow-x:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.help-tip:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:50%}.app-shell{min-height:100vh}.sidebar{z-index:30;width:var(--sidebar-width);border:1px solid var(--line);color:var(--text);box-shadow:var(--shadow);background:#fbfdfef5;border-radius:22px;flex-direction:column;padding:20px 14px 14px;display:flex;position:fixed;inset:18px auto 18px 18px;overflow-y:auto}.brand{align-items:center;gap:13px;min-height:64px;padding:0 9px;display:flex}.brand__emfy{color:#0083c1;flex-direction:column;flex:none;justify-content:center;align-items:center;width:48px;height:58px;display:flex}.brand__symbol{background:currentColor;width:44px;height:38px;display:block;-webkit-mask:url(/emfy-logo-mark.png) 50%/contain no-repeat;mask:url(/emfy-logo-mark.png) 50%/contain no-repeat}.brand__word{margin-top:-2px;font-size:15px;font-weight:800;line-height:1}.brand__product{flex-direction:column;min-width:0;line-height:1.05;display:flex}.brand__product strong{color:var(--text);letter-spacing:-.02em;white-space:nowrap;font-size:16px}.brand__product small{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;margin-top:7px;font-size:12px;font-weight:750}.workspace-switcher{border:1px solid var(--line);background:var(--accent-soft);width:100%;min-height:70px;color:var(--text);text-align:left;border-radius:15px;grid-template-columns:42px minmax(0,1fr) 17px;align-items:center;gap:11px;margin:24px 0 17px;padding:9px 12px;transition:border-color .18s,background .18s;display:grid}.workspace-switcher__copy{min-width:0;display:block}.workspace-switcher__copy strong,.workspace-switcher__copy small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.workspace-switcher__copy strong{font-size:13px}.workspace-switcher__copy small{color:var(--muted);margin-top:3px;font-size:12px}.workspace-switcher>svg{width:17px;height:17px;color:var(--muted)}.workspace-switcher--unknown{background:#f5f8f7}.workspace-switcher--static{grid-template-columns:42px minmax(0,1fr);margin:7px 0 0}.account-switcher{flex-direction:column;gap:6px;margin:18px 0 13px;display:flex}.account-switcher__label{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;padding:0 4px;font-size:11px;font-weight:800}.account-switcher__loading{background:var(--accent-soft);min-height:50px;color:var(--muted);border-radius:12px;padding:15px 12px;font-size:12px}.account-switcher__error{color:var(--danger);padding:0 4px;font-size:11px;line-height:1.4}.account-select{background:#fff;width:100%;min-height:48px;padding-right:34px;font-size:12px}.zone-switch{border:1px solid var(--line);background:#f1f5f7;border-radius:13px;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 14px;padding:4px;display:grid}.zone-switch button{min-height:38px;color:var(--muted);background:0 0;border:0;border-radius:9px;font-size:12px;font-weight:800}.zone-switch button.active{color:var(--accent-dark);background:#fff;box-shadow:0 3px 10px #416e851f}.sidebar--admin{background:#fcfbfdf7;border-color:#d7d2df}.sidebar--admin .zone-switch button.active{color:#655178}.sidebar--admin .sidebar-nav button.active{color:#655178;background:#eee8f3}.sidebar--admin .sidebar-nav button.active .sidebar-nav__icon{color:#806497}.zone-pill{border-radius:999px;align-items:center;min-height:30px;padding:0 10px;font-size:11px;font-weight:800;display:inline-flex}.zone-pill--workspace{background:var(--accent-soft);color:var(--accent-dark)}.zone-pill--admin{color:#655178;background:#eee8f3}.sidebar-nav{flex-direction:column;flex:1;gap:3px;padding:0;display:flex}.sidebar-nav__caption--system{padding-top:27px}.sidebar-nav button{width:100%;min-height:49px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:11px;padding:0 13px;transition:background .18s,color .18s;display:grid}.sidebar-nav button:hover{background:var(--accent-soft);color:var(--accent-dark)}.sidebar-nav button.active{color:var(--accent-dark);box-shadow:none;background:#d9ecf5}.sidebar-nav__icon{width:24px;height:24px;color:var(--muted);place-items:center;display:grid}.sidebar-nav__icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.sidebar-nav button.active .sidebar-nav__icon{color:var(--accent)}.sidebar-nav__label{min-width:0;font-size:14px;font-weight:500}.sidebar-nav button em{color:#fff;background:#0083c1;border-radius:999px;place-items:center;min-width:23px;height:23px;padding:0 6px;font-size:11px;font-style:normal;font-weight:800;display:grid}.sidebar-health{border:1px solid var(--line);background:var(--accent-soft);width:100%;min-height:69px;color:var(--text);text-align:left;border-radius:13px;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:11px;margin-top:18px;padding:10px 12px;display:grid}.sidebar-health:hover{background:#e2f0f6}.sidebar-health__icon{width:36px;height:36px;color:var(--accent);background:#d9ecf5;border-radius:11px;place-items:center;display:grid}.sidebar-health__icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.sidebar-health>span:last-child{min-width:0;display:block}.sidebar-health strong,.sidebar-health small{display:block}.sidebar-health strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.sidebar-health small{color:var(--muted);margin-top:5px;font-size:12px}.sidebar-health--ok{background:var(--success-bg);border-color:#b8e4d1}.sidebar-health--ok .sidebar-health__icon{color:var(--success);background:#d8f0e5}.sidebar-health--error{background:var(--warning-bg);border-color:#f1d69b}.sidebar-health--error .sidebar-health__icon{color:var(--warning);background:#fcebc6}.workspace{min-height:100vh;margin-left:calc(var(--sidebar-width) + 36px)}.topbar{z-index:20;border:1px solid var(--line);height:72px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fbfdfef0;border-radius:20px;justify-content:space-between;align-items:center;margin:18px 24px 0;padding:0 24px;display:flex;position:sticky;top:18px}.topbar__left,.topbar__right{align-items:center;gap:14px;display:flex}.topbar__left>div{flex-direction:column;gap:2px;display:flex}.topbar__left strong{font-size:14px}.topbar__left span{color:var(--muted);font-size:12px}.secure-label{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:inline-flex}.secure-label i{background:var(--success);border-radius:50%;width:7px;height:7px}.secure-label--missing i{background:var(--warning)}.avatar-button{border:1px solid var(--line);background:var(--accent-soft);width:40px;height:40px;color:var(--accent-dark);border-radius:12px;font-size:12px;font-weight:800}.mobile-menu-button{background:var(--accent-soft);width:44px;height:44px;color:var(--text);border:0;border-radius:12px;font-size:21px;display:none}.tour-restart-button{border:1px solid var(--line);background:var(--card);min-height:40px;color:var(--accent-dark);border-radius:12px;align-items:center;gap:7px;padding:0 12px;display:inline-flex}.tour-restart-button span{background:var(--accent-soft);border-radius:50%;place-items:center;width:20px;height:20px;font-weight:900;display:grid}.tour-restart-button strong{font-size:12px}.content{width:100%;max-width:1440px;margin:0 auto;padding:26px 24px 34px}.tour-notice{color:var(--accent-dark);background:#eef9fd;border:1px solid #b7dcec;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px 14px;font-size:13px;display:flex}.tour-notice button{width:32px;height:32px;color:inherit;background:0 0;border:0;border-radius:9px;flex:none;place-items:center;font-size:20px;display:grid}.scope-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:calc(100vh - 170px);padding:40px 20px;display:flex}.scope-empty__mark{background:var(--accent-soft);width:64px;height:64px;color:var(--accent);border-radius:20px;place-items:center;font-size:22px;font-weight:900;display:grid}.scope-empty h1{margin:18px 0 7px;font-size:26px}.scope-empty p{max-width:480px;color:var(--muted);margin:0 0 18px;line-height:1.55}.page-stack{flex-direction:column;gap:20px;display:flex}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;padding:4px 2px 8px;display:flex}.page-heading h1{letter-spacing:-.035em;margin:3px 0 7px;font-size:27px;line-height:1.15}.page-heading p:not(.eyebrow){max-width:680px;color:var(--muted);margin:0;font-size:13px;line-height:1.55}.eyebrow{color:var(--accent-dark);letter-spacing:.13em;text-transform:uppercase;margin:0;font-size:11px;font-weight:800}.page-heading__actions{align-items:center;gap:12px;display:flex}.last-updated{color:var(--muted);white-space:nowrap;font-size:11px}.button{border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:13px;font-weight:700;transition:all .16s;display:inline-flex}.button--primary{background:var(--accent);color:#fff;box-shadow:0 8px 18px #2f759a29}.button--primary:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px)}.button--secondary{border-color:var(--line-strong);color:#344054;background:#fff}.button--secondary:hover:not(:disabled),.button--ghost:hover:not(:disabled){background:#f8fafc;border-color:#b8c0cc}.button--danger-ghost{color:var(--danger);background:#fff;border-color:#f2b8bb}.button--danger-ghost:hover:not(:disabled){background:var(--danger-bg)}.button--small{min-height:40px;padding:0 12px;font-size:13px}.button--wide{min-width:170px}.button-row{flex-wrap:wrap;gap:8px;display:flex}.status-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.status-card{border:1px solid var(--line);background:var(--card);min-height:132px;box-shadow:var(--shadow);border-radius:18px;gap:12px;padding:17px;display:flex}.status-card__mark{border-radius:10px;flex:none;place-items:center;width:36px;height:36px;font-size:12px;font-weight:800;display:grid}.status-card__mark--success{background:var(--success-bg);color:var(--success)}.status-card__mark--danger{background:var(--danger-bg);color:var(--danger)}.status-card__mark--warning{background:var(--warning-bg);color:var(--warning)}.status-card__mark--info{background:var(--info-bg);color:var(--info)}.status-card__mark--neutral{color:#657386;background:#f1f3f6}.status-card__body{flex-direction:column;align-items:flex-start;gap:7px;min-width:0;display:flex}.status-card__title-row{align-items:center;gap:6px;max-width:100%;display:inline-flex}.status-card__title{color:var(--muted);font-size:11px;font-weight:600}.status-card p{color:#7a8798;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:auto 0 0;font-size:11px;line-height:1.45;display:-webkit-box;overflow:hidden}.status-badge{white-space:nowrap;border-radius:999px;align-items:center;gap:6px;width:fit-content;padding:5px 8px;font-size:12px;font-weight:700;display:inline-flex}.status-badge__dot{background:currentColor;border-radius:50%;width:6px;height:6px}.status-badge__dot--pulse{animation:1.8s infinite pulse}.status-badge--success{background:var(--success-bg);color:var(--success)}.status-badge--danger{background:var(--danger-bg);color:var(--danger)}.status-badge--warning{background:var(--warning-bg);color:var(--warning)}.status-badge--info{background:var(--info-bg);color:var(--info)}.status-badge--neutral{color:#667085;background:#f1f3f6}@keyframes pulse{0%,to{opacity:1}50%{opacity:.35}}.two-column-grid{grid-template-columns:1.25fr 1fr;gap:16px;display:grid}.section-card{border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);border-radius:18px;position:relative;overflow:visible}.section-card__header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;min-height:72px;padding:16px 20px;display:flex}.section-card__title-row{align-items:center;gap:7px;margin-bottom:5px;display:flex}.section-card__header h2{letter-spacing:-.01em;margin:0;font-size:14px}.section-card__header p{color:var(--muted);margin:0;font-size:11px;line-height:1.5}.section-card__action{flex:none}.flow-list{flex-direction:column;gap:0;margin:0;padding:0;list-style:none;display:flex}.flow-list li{gap:13px;padding:0 0 18px;display:flex;position:relative}.flow-list li:last-child{padding-bottom:0}.flow-list li:not(:last-child):after{background:var(--line);content:"";width:1px;position:absolute;top:27px;bottom:1px;left:12px}.flow-list li>span{z-index:1;background:var(--accent-soft);width:25px;height:25px;color:var(--accent-dark);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:800;display:grid}.flow-list strong{margin:2px 0 4px;font-size:12px;display:block}.flow-list p{color:var(--muted);margin:0;font-size:11px;line-height:1.45}.details-list{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid}.details-list>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;padding:14px}.details-list>div:nth-child(4n){border-right:0}.details-list>div:nth-last-child(-n+4){border-bottom:0}.details-list dt{color:var(--muted);margin-bottom:6px;font-size:11px}.details-list dd{overflow-wrap:anywhere;min-width:0;margin:0;font-size:12px;font-weight:600;line-height:1.4}.details-list--compact{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.details-list--compact>div{border:1px solid var(--line);background:#fafcfd;border-radius:9px;grid-template-columns:minmax(110px,.9fr) minmax(0,1.1fr);align-items:start;gap:14px;min-width:0;padding:12px 14px;display:grid}.details-list--compact dt{margin:0;line-height:1.45}.details-list--compact dd{text-align:right}.detail-label{align-items:center;gap:6px;min-width:0;display:inline-flex}.feedback{border:1px solid;border-radius:14px;justify-content:space-between;align-items:flex-start;gap:20px;padding:13px 15px;font-size:13px;line-height:1.5;display:flex}.feedback strong{margin-bottom:2px;font-size:13px;display:block}.feedback--error{background:var(--danger-bg);color:#922d33;border-color:#f5c4c7}.feedback--success{background:var(--success-bg);color:#126b49;border-color:#b8e4d1}.feedback--warning{background:var(--warning-bg);color:#8b5815;border-color:#f1d69b}.feedback--info{background:var(--info-bg);color:#2d5c98;border-color:#caddf7}.feedback__text{color:inherit;opacity:.85}.feedback__close{color:currentColor;background:0 0;border:0;place-items:center;min-width:40px;min-height:40px;margin:-8px -8px -8px 0;padding:0;font-size:18px;line-height:1;display:grid}.segmented{background:#f1f3f6;border-radius:10px;gap:4px;margin-bottom:20px;padding:4px;display:inline-flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:9px 13px;font-size:11px;font-weight:700;display:flex}.segmented button span{color:#7a8798;letter-spacing:.06em;text-transform:uppercase;background:#e3e7ed;border-radius:5px;padding:3px 6px;font-size:11px}.segmented button.active{color:var(--text);background:#fff;box-shadow:0 1px 4px #1018281a}.segmented button.active span{background:var(--accent-soft);color:var(--accent-dark)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field{flex-direction:column;gap:7px;min-width:0;display:flex}.field__label-row{align-items:center;gap:6px;display:flex}.field__label{color:#344054;font-size:11px;font-weight:700}.field__hint{color:#8a95a4;font-size:11px;line-height:1.4}.input{border:1px solid var(--line-strong);width:100%;height:40px;color:var(--text);background:#fff;border-radius:8px;padding:0 12px;font-size:12px;transition:border-color .15s,box-shadow .15s}.input:hover{border-color:#abb4c1}.input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #0083c11f}.input::placeholder{color:#aeb6c2}.input--large{height:46px}.form-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.form-actions--full{grid-column:1/-1;padding-top:2px}.section-footer{border-top:1px solid var(--line);color:var(--muted);background:#fafbfc;justify-content:space-between;align-items:center;gap:16px;margin:18px -20px -20px;padding:14px 20px;font-size:11px;display:flex}.section-footer>span{min-width:0;line-height:1.5}.section-footer--danger{background:snow}.link-settings{flex-direction:column;gap:10px;display:flex}.link-settings>div{border:1px solid var(--line);background:#fafbfc;border-radius:9px;grid-template-columns:120px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;display:grid}.link-settings span{color:var(--muted);font-size:11px;font-weight:600}.link-settings code{color:#344054;text-overflow:ellipsis;white-space:nowrap;font:11px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}.technical-details>summary,.diagnostic-details>summary{width:fit-content;color:var(--accent-dark);cursor:pointer;font-size:11px;font-weight:700}.technical-details[open]>summary,.diagnostic-details[open]>summary{margin-bottom:14px}.checkbox-card{border:1px solid var(--line);cursor:pointer;background:#fafbfc;border-radius:9px;align-items:center;gap:11px;padding:11px 13px;display:flex}.checkbox-card--checked{background:var(--accent-soft);border-color:#8bcce5}.checkbox-card input{width:16px;height:16px;accent-color:var(--accent)}.checkbox-card>span{flex-direction:column;gap:3px;display:flex}.checkbox-card__title-row,.temperature-control__title-row{align-items:center;gap:6px;display:flex}.checkbox-card strong{font-size:11px}.checkbox-card small{color:var(--muted);font-size:11px}.channel-list{flex-direction:column;gap:8px;display:flex}.channel-row{border:1px solid var(--line);border-radius:9px;align-items:center;gap:12px;padding:11px 12px;display:flex}.channel-row__icon{background:var(--info-bg);width:34px;height:34px;color:var(--info);border-radius:9px;flex:none;place-items:center;font-size:11px;font-weight:800;display:grid}.channel-row__main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.channel-row__main strong{font-size:11px}.channel-row__main span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.empty-state{border:1px dashed var(--line-strong);text-align:center;border-radius:9px;padding:26px}.empty-state strong{font-size:12px}.empty-state p{color:var(--muted);margin:6px 0 0;font-size:11px}.page-stack--chats{min-height:calc(100vh - 126px)}.chat-workspace{border:1px solid var(--line);background:var(--card);height:calc(100vh - 238px);min-height:650px;box-shadow:var(--shadow);border-radius:20px;grid-template-columns:minmax(250px,330px) minmax(0,1fr);display:grid;overflow:hidden}.chat-list{border-right:1px solid var(--line);background:#f5fafc;flex-direction:column;min-width:0;min-height:0;display:flex;overflow:hidden}.chat-list__header{border-bottom:1px solid var(--line);background:var(--card);justify-content:space-between;align-items:center;gap:12px;min-height:70px;padding:15px 16px;display:flex}.chat-list__header>div{align-items:center;gap:8px;display:flex}.chat-list__header strong{font-size:13px}.chat-list__header span{background:var(--accent-soft);min-width:22px;height:22px;color:var(--accent-dark);border-radius:999px;place-items:center;padding:0 6px;font-size:11px;font-weight:800;display:grid}.chat-list__header small{color:var(--muted);font-size:12px}.chat-list__items{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow-y:auto}.chat-list__search{border-bottom:1px solid var(--line);background:var(--card);align-items:center;gap:7px;padding:9px 12px;display:flex;position:relative}.chat-list__search>span{color:var(--muted);flex:none;font-size:20px;line-height:1;transform:rotate(-20deg)}.chat-list__search input{width:100%;min-width:0;height:36px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0 34px 0 0;font-size:12px}.chat-list__search input[type=search]::-webkit-search-cancel-button{appearance:none;display:none}.chat-list__search input[type=search]::-ms-clear{display:none}.chat-list__search input::placeholder{color:var(--muted)}.chat-list__search button{width:30px;height:30px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;font-size:20px;display:grid;position:absolute;right:12px}.chat-list__search button:hover{background:var(--accent-soft);color:var(--accent-dark)}.chat-list__search:focus-within{box-shadow:inset 0 0 0 2px #0083c12e}.chat-list__items:focus-visible{outline-offset:-3px;outline:3px solid #0083c12e}.chat-list-item{border:0;border-bottom:1px solid var(--line);width:100%;min-height:122px;color:var(--text);text-align:left;cursor:pointer;background:0 0;gap:11px;padding:14px 15px;text-decoration:none;transition:background .15s,box-shadow .15s;display:flex}.chat-list-item:hover{background:var(--card)}.chat-list-item.active{box-shadow:inset 3px 0 var(--accent);background:#d9ecf5}.chat-avatar{color:#365271;background:#eaf0f7;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;font-size:11px;font-weight:800;display:grid}.chat-avatar--large{border-radius:12px;width:42px;height:42px;font-size:12px}.chat-list-item__body{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.chat-list-item__top{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.chat-list-item__top strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.chat-list-item__top time{color:var(--muted);flex:none;font-size:12px}.chat-list-item__status{flex:none;align-items:center;gap:6px;display:flex}.chat-list-item__unread{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:10px;font-weight:800;display:grid}.chat-list-item__preview{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.chat-list-item__facts{min-width:0;color:var(--muted);align-items:center;gap:6px;font-size:11px;display:flex}.chat-list-item__facts>span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-list-item__facts .requires-reply{color:var(--warning);background:#fff0dd;border-radius:999px;flex:none;padding:2px 6px;font-weight:800}.chat-list-item__responsible{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.chat-mode-label{text-overflow:ellipsis;white-space:nowrap;width:fit-content;max-width:100%;font-size:12px;font-weight:700;display:block;overflow:hidden}.chat-mode-label:before{content:"";vertical-align:1px;background:currentColor;border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}.chat-mode-label--success{color:var(--success)}.chat-mode-label--warning{color:var(--warning)}.chat-mode-label--danger{color:var(--danger)}.chat-mode-label--neutral{color:var(--muted)}.chat-panel-state{min-height:120px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:9px;padding:24px;font-size:14px;line-height:1.5;display:flex}.chat-panel-state strong{color:var(--text);font-size:14px}.chat-panel-state>span:not(.chat-spinner){max-width:220px;line-height:1.5;display:block}.chat-spinner{border:2px solid #dfe4ea;border-top-color:var(--accent);border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.conversation{background:#eef6fa;flex-direction:column;min-width:0;min-height:0;display:flex}.conversation__header{border-bottom:1px solid var(--line);background:var(--card);min-height:64px;padding:9px 14px;display:block}.conversation__header-main{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;display:grid}.conversation__back{border:1px solid var(--line);background:var(--accent-soft);min-height:40px;color:var(--accent-dark);border-radius:11px;padding:0 12px;font-size:13px;font-weight:700;display:none}.conversation-contact{align-items:center;gap:11px;min-width:0;display:flex}.conversation-contact>div{flex-direction:column;gap:4px;min-width:0;display:flex}.conversation-contact strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.conversation-contact strong a{color:var(--accent-dark);text-decoration:none}.conversation-contact strong a:hover{text-decoration:underline}.conversation-contact strong a:focus-visible{outline-offset:2px;border-radius:4px;outline:3px solid #0083c133}.conversation-contact>div>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.conversation-controls{flex:none;justify-content:flex-end;align-items:center;gap:9px;min-width:0;display:flex}.conversation-responsible{max-width:min(31vw,300px);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.conversation-ai-toggle{white-space:nowrap}.conversation__header-secondary{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-top:7px;padding-top:7px;display:flex}.conversation-no-reply{flex:none}.conversation-empty{text-align:center;flex:1;place-content:center;justify-items:center;padding:32px;display:grid}.conversation-empty>span{background:var(--accent-soft);width:54px;height:54px;color:var(--accent-dark);border-radius:16px;place-items:center;margin-bottom:15px;font-size:20px;font-weight:800;display:grid}.conversation-empty strong{font-size:14px}.conversation-empty p{color:var(--muted);margin:7px 0 0;font-size:14px}.message-list{flex-direction:column;flex:1;gap:10px;min-height:0;padding:20px;display:flex;overflow:auto}.message-bubble{border:1px solid var(--line);background:var(--card);border-radius:16px 16px 16px 5px;width:fit-content;max-width:min(72%,680px);padding:12px 14px 10px;box-shadow:0 8px 24px #416e850f}.message-bubble--manager,.message-bubble--ai{border-radius:12px 12px 4px;align-self:flex-end}.message-bubble--manager{background:#fff4e8;border-color:#ffe0bd}.message-bubble--ai{background:var(--accent-soft);border-color:#c9e5f1}.message-bubble--system{background:#f8fafc;border-style:dashed;align-self:center;max-width:84%}.message-bubble__meta{align-items:center;gap:10px;margin-bottom:6px;display:flex}.message-bubble__meta strong{overflow-wrap:anywhere;min-width:0;color:var(--text);letter-spacing:.04em;font-size:12px}.message-bubble__author-role{text-transform:uppercase}.message-bubble__author-name{letter-spacing:normal;text-transform:none}.message-bubble__meta time{color:var(--muted);font-size:12px}.message-bubble__meta>span:not(.message-bubble__author-role):not(.message-bubble__author-name){color:var(--muted);margin-left:auto;font-size:11px}.message-bubble p{white-space:pre-wrap;word-break:break-word;margin:0;font-size:14px;line-height:1.55}.message-reply-reference{border-left:3px solid var(--accent);background:#ffffff9e;border-radius:6px;margin:0 0 8px;padding:7px 9px}.message-reply-reference span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800}.message-reply-reference p{margin-top:3px;font-size:12px}.message-bubble__actions{justify-content:flex-end;margin-top:7px;display:flex}.message-bubble__actions button{color:var(--accent-dark);background:0 0;border:0;padding:3px 0;font-size:11px;font-weight:700}.message-bubble__actions button:focus-visible,.message-attachment__details button:focus-visible,.message-composer__pending-attachment button:focus-visible{outline-offset:2px;outline:3px solid #0083c133}.message-attachments{flex-direction:column;gap:8px;margin-top:8px;display:flex}.message-attachment{border:1px solid var(--line);background:#ffffffbf;border-radius:10px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-width:min(260px,60vw);padding:8px;display:grid}.message-attachment__icon{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-dark);border-radius:9px;place-items:center;font-size:20px;font-weight:800;display:grid}.message-attachment__details{flex-direction:column;gap:2px;min-width:0;display:flex}.message-attachment__details strong{overflow-wrap:anywhere;font-size:12px}.message-attachment__details span,.message-attachment__details button{color:var(--muted);font-size:11px}.message-attachment__details button{width:fit-content;color:var(--accent-dark);background:0 0;border:0;padding:3px 0;font-weight:700}.message-attachment__unavailable{color:var(--danger)!important}.message-media-unavailable{color:var(--muted);font-style:italic}.delivery{color:var(--muted);text-align:right;margin-top:6px;font-size:12px;display:block}.delivery--failed,.delivery--error{color:var(--danger)}.delivery--pending,.delivery--retry{color:var(--warning)}.delivery--sent,.delivery--delivered,.delivery--read{color:var(--success)}.message-composer{z-index:2;border-top:1px solid var(--line);background:var(--card);padding:10px 14px;position:relative}.message-composer__channel-unavailable{color:var(--muted);margin-bottom:8px;font-size:11px;line-height:1.4}.message-composer__reply{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:7px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;padding:8px 10px;display:flex}.message-composer__reply span{overflow-wrap:anywhere;min-width:0;color:var(--muted);flex-direction:column;gap:2px;font-size:11px;display:flex}.message-composer__reply strong{color:var(--text)}.message-composer__reply button,.quick-replies__header button{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:8px;flex:none;font-size:20px}.message-composer__channel{color:var(--muted);grid-template-columns:auto minmax(160px,280px);align-items:center;gap:6px 10px;margin-bottom:8px;font-size:12px;display:grid}.message-composer__channel select{border:1px solid var(--line-strong);min-height:38px;color:var(--text);background:#fff;border-radius:9px;padding:0 30px 0 10px}.message-composer__channel small{color:var(--danger);grid-column:2}.message-composer__single-channel{color:var(--muted);margin-bottom:8px;font-size:12px}.message-composer__file{cursor:pointer;flex:0 0 40px;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:inline-grid}.message-composer__file svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.message-composer__file .chat-spinner{width:16px;height:16px}.message-composer__file.is-disabled{cursor:not-allowed;opacity:.55}.message-composer__file:focus-within{outline-offset:2px;outline:3px solid #0083c12e}.message-composer__pending-attachment{border:1px solid var(--line-strong);background:var(--accent-soft);border-radius:9px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding:9px 10px;display:flex}.message-composer__pending-attachment>span{flex-direction:column;gap:2px;min-width:0;display:flex}.message-composer__pending-attachment strong{overflow-wrap:anywhere;font-size:12px}.message-composer__pending-attachment small{color:var(--muted);font-size:11px}.message-composer__pending-attachment button{border:1px solid var(--line);color:var(--danger);background:#fff;border-radius:7px;flex:none;padding:6px 8px;font-size:11px;font-weight:700}.message-composer__upload-error{color:var(--danger);margin-bottom:8px;font-size:11px;line-height:1.4}.message-composer textarea{resize:vertical;border:1px solid var(--line-strong);width:100%;min-height:52px;max-height:140px;color:var(--text);background:#fff;border-radius:12px;padding:9px 11px;font-size:14px;line-height:1.45;display:block}.message-composer textarea:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #0083c11f}.message-composer textarea::placeholder{color:#aeb6c2}.message-composer__footer{justify-content:flex-end;align-items:center;gap:10px;margin-top:7px;display:flex}.message-composer__actions{flex:none;gap:8px;display:flex}.quick-replies{z-index:5;border:1px solid var(--line-strong);background:var(--card);border-radius:13px;width:min(420px,100% - 32px);max-height:min(350px,55vh);padding:8px;position:absolute;bottom:calc(100% - 12px);right:16px;overflow-y:auto;box-shadow:0 18px 50px #274d6133}.quick-replies__header{justify-content:space-between;align-items:center;padding:2px 4px 8px;display:flex}.quick-replies>button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:9px 10px;display:grid}.quick-replies>button:hover,.quick-replies>button:focus-visible{background:var(--accent-soft)}.quick-replies>button strong,.quick-replies>button span{overflow-wrap:anywhere}.quick-replies>button span{color:var(--muted);grid-column:1;font-size:11px}.quick-replies>button small{color:var(--accent-dark);grid-area:1/2/span 2;align-self:center}.quick-replies>p{color:var(--muted);margin:6px;font-size:12px}.quick-replies .quick-replies__error{color:var(--danger)}.channel-row__unavailable{color:var(--muted);font-size:11px}.diagnostics-summary{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.diagnostics-summary>div{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:baseline;gap:9px;padding:14px 16px;display:flex}.diagnostics-summary strong{font-size:20px}.diagnostics-summary span{color:var(--muted);font-size:11px}.diagnostics-list{flex-direction:column;gap:12px;display:flex}.journal-block+.journal-block{margin-top:22px}.journal-block h3{margin:0 0 10px;font-size:13px}.table-scroll{border:1px solid var(--line);border-radius:11px;max-width:100%;overflow-x:auto}.journal-table{border-collapse:collapse;background:#fff;width:100%;min-width:720px;font-size:12px}.journal-table th,.journal-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px 12px}.journal-table th{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;background:#f3f7f8;font-size:10px}.journal-table tr:last-child td{border-bottom:0}.agents-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.agents-list{border:1px solid var(--line);box-shadow:var(--shadow);background:#fbfdfee6;border-radius:15px;flex-direction:column;gap:6px;padding:8px;display:flex}.agents-list>button{min-width:0;min-height:68px;color:var(--text);text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:flex-start;gap:9px;padding:10px 11px;display:flex}.agents-list>button:hover{background:var(--accent-soft)}.agents-list>button.active{border-color:var(--line);background:#d9ecf5}.agents-list>button>span:first-child{flex:auto;min-width:0}.agents-list>button>.status-badge{flex:none}.agents-list strong,.agents-list small{display:block}.agents-list strong{overflow-wrap:anywhere;white-space:normal;font-size:13px;line-height:1.35}.agents-list small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-top:5px;font-size:11px;overflow:hidden}.agents-editor{flex-direction:column;gap:16px;min-width:0;display:flex}.form-note{background:var(--accent-soft);color:var(--muted);border-radius:9px;margin:10px 0 0;padding:10px 12px;font-size:12px;line-height:1.5}.overview-actions{flex-wrap:wrap;gap:10px;display:flex}.account-confirm__target{background:var(--accent-soft);border-radius:11px;flex-direction:column;gap:4px;margin:0 0 18px;padding:13px;display:flex}.account-confirm__target span{color:var(--muted);font-size:12px}.diagnostic-meta{color:var(--muted);flex-wrap:wrap;gap:18px;margin-bottom:12px;font-size:11px;display:flex}.diagnostic-meta strong{color:var(--text)}.diagnostic-error{color:var(--danger);margin:0 0 12px;font-size:11px;font-weight:600}.diagnostic-details{padding-top:2px}.diagnostic-endpoint{color:var(--muted);margin-bottom:8px;font-size:11px}.diagnostic-endpoint code{overflow-wrap:anywhere;color:#344054}.json-block{color:#dce5ef;white-space:pre-wrap;word-break:break-word;background:#182231;border:1px solid #243348;border-radius:8px;max-height:230px;margin:0;padding:13px;font:11px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.loading-line{background:linear-gradient(90deg,#f2f4f7 25%,#e8ebef 37%,#f2f4f7 63%) 0 0/400% 100%;border-radius:8px;height:70px;animation:1.4s infinite shimmer}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0d151fa6;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.key-dialog{border:1px solid var(--line);background:var(--card);border-radius:20px;width:min(440px,100%);padding:28px;box-shadow:0 26px 70px #416e8542}.key-dialog__brand{color:#344054;align-items:center;gap:10px;margin-bottom:25px;font-size:12px;font-weight:800;display:flex}.mini-brand-mark,.app-loading__logo{background:var(--accent);flex:none;width:34px;height:34px;display:block;-webkit-mask:url(/emfy-logo-mark.png) 50%/contain no-repeat;mask:url(/emfy-logo-mark.png) 50%/contain no-repeat}.key-dialog__brand>span:last-child{width:auto;height:auto}.key-dialog h2{letter-spacing:-.03em;margin:0 0 8px;font-size:22px}.key-dialog>p{color:var(--muted);margin:0 0 20px;font-size:14px;line-height:1.5}.key-dialog form{flex-direction:column;gap:16px;display:flex}.key-dialog__notice{border:1px solid var(--line);background:var(--accent-soft);color:var(--accent-dark);border-radius:12px;flex-direction:column;gap:3px;padding:12px 13px;font-size:13px;line-height:1.5;display:flex}.key-dialog__notice strong{font-size:13px}.app-loading{background:linear-gradient(145deg, var(--canvas), #f5f8f7);min-height:100vh;color:var(--muted);place-content:center;justify-items:center;gap:12px;display:grid}.app-loading__logo{width:54px;height:54px}.app-loading p{margin:0;font-size:14px}.sidebar-scrim{display:none}.agent-form{flex-direction:column;gap:20px;display:flex}.agent-prompt{resize:vertical;height:auto;min-height:190px;padding:13px;line-height:1.55}.agent-controls{grid-template-columns:1fr 1fr;gap:16px;display:grid}.temperature-control{border:1px solid var(--line);background:#fafbfc;border-radius:9px;justify-content:space-between;align-items:center;gap:22px;padding:11px 13px;display:flex}.temperature-control>span{flex-direction:column;gap:3px;display:flex}.temperature-control strong{font-size:11px}.temperature-control small{color:var(--muted);font-size:11px}.temperature-control input{width:min(200px,42%);accent-color:var(--accent)}.agent-actions{border-top:1px solid var(--line);padding-top:2px}.knowledge-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.knowledge-stats article{border:1px solid var(--line);min-height:104px;box-shadow:var(--shadow);background:#fff;border-radius:13px;align-content:center;padding:17px 19px;display:grid}.knowledge-stats article>span{color:var(--muted);font-size:11px}.knowledge-stat__label{align-items:center;gap:6px;display:flex}.knowledge-stats strong{letter-spacing:-.03em;margin:2px 0;font-size:24px}.knowledge-stats small{color:#8a95a4;font-size:11px}.knowledge-layout{grid-template-columns:minmax(560px,1.35fr) minmax(330px,.65fr);align-items:start;gap:16px;display:grid}.knowledge-search{width:210px;height:34px}.knowledge-documents{flex-direction:column;gap:8px;display:flex}.knowledge-document{border:1px solid var(--line);background:#fff;border-radius:10px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.knowledge-document__type{background:var(--accent-soft);width:40px;height:40px;color:var(--accent-dark);border-radius:10px;place-items:center;font-size:11px;font-weight:900;display:grid}.knowledge-document__main{min-width:0}.knowledge-document__main strong,.knowledge-document__main small,.knowledge-document__main em{display:block}.knowledge-document__main strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.knowledge-document__main small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;overflow:hidden}.knowledge-document__main em{color:var(--danger);margin-top:4px;font-size:11px;font-style:normal}.knowledge-document__actions{grid-column:2/-1;justify-content:flex-end;gap:7px;display:flex}.retrieval-form{flex-direction:column;gap:14px;display:flex}.retrieval-query{resize:vertical;height:auto;min-height:100px;padding:11px;line-height:1.5}.range-field{color:var(--muted);grid-template-columns:145px 1fr;align-items:center;gap:10px;font-size:11px;display:grid}.range-field__title{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.range-field input{width:100%;accent-color:var(--accent)}.range-field strong{color:var(--text)}.retrieval-model{color:var(--muted);margin:15px 0 0;font-size:11px}.retrieval-results{flex-direction:column;gap:9px;margin-top:13px;display:flex}.retrieval-results article{border:1px solid var(--line);background:#fbfdfe;border-radius:10px;padding:11px}.retrieval-results article>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.retrieval-results article strong{font-size:11px}.retrieval-results article span{background:var(--accent-soft);color:var(--accent-dark);border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800}.retrieval-results article p{color:#526872;-webkit-line-clamp:6;-webkit-box-orient:vertical;margin:8px 0 0;font-size:11px;line-height:1.55;display:-webkit-box;overflow:hidden}.upload-dialog{flex-direction:column;gap:16px;display:flex}.upload-dialog h2,.upload-dialog p{margin:0}.upload-drop{color:var(--muted);text-align:center;background:#f1fafe;border:1px dashed #8bcce5;border-radius:11px;flex-direction:column;gap:10px;padding:22px;font-size:11px;display:flex}.architecture-grid{align-items:stretch}.project-stage-list{flex-direction:column;margin:0;display:flex}.project-stage-list>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(150px,1fr) auto;align-items:center;gap:18px;min-height:52px;padding:9px 0;display:grid}.project-stage-list>div:last-child{border-bottom:0}.project-stage-list dt{min-width:0;color:var(--muted);font-size:11px;line-height:1.45}.project-stage-list dd{min-width:0;color:var(--text);text-align:right;overflow-wrap:anywhere;margin:0;font-size:12px;font-weight:600}.help-tip{z-index:4;width:16px;height:16px;color:var(--accent-dark);vertical-align:middle;flex:none;place-items:center;display:inline-grid;position:relative}.help-tip__icon{width:15px;height:15px;color:var(--accent-dark);background:#f4fbfe;border:1px solid #9bcddd;border-radius:50%;place-items:center;font-size:11px;font-weight:800;line-height:1;display:grid}.help-tip__bubble{z-index:100;color:#f5fbfe;opacity:0;pointer-events:none;background:#102c3b;border:1px solid #c6dce7;border-radius:8px;width:max-content;max-width:min(270px,75vw);padding:9px 10px;font-size:11px;font-weight:500;line-height:1.45;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%,4px);box-shadow:0 10px 28px #071d2b33}.help-tip--bottom .help-tip__bubble{top:calc(100% + 8px);bottom:auto;transform:translate(-50%,-4px)}.help-tip:hover .help-tip__bubble,.help-tip:focus .help-tip__bubble,.help-tip:focus-within .help-tip__bubble{opacity:1;transform:translate(-50%)}.version-list{flex-direction:column;display:flex}.version-list article{border-bottom:1px solid var(--line);grid-template-columns:145px minmax(0,1fr);gap:22px;padding:19px 0;display:grid}.version-list article:last-child{border-bottom:0}.version-list__meta strong,.version-list__meta span{display:block}.version-list__meta strong{color:var(--accent-dark);font-size:16px}.version-list__meta span{color:var(--muted);margin-top:4px;font-size:11px}.version-list h3{margin:0;font-size:13px}.version-list ul{color:var(--muted);margin:8px 0 0;padding-left:17px;font-size:11px;line-height:1.7}.widget-access-page .feedback__text{justify-content:space-between;align-items:center;gap:12px;display:flex}.widget-access-scope{border:1px solid var(--line);background:var(--soft);color:var(--muted);border-radius:12px;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;font-size:12px;display:flex}.widget-access-scope strong{color:var(--text);text-align:right}.widget-access-directory-meta{color:var(--muted);flex-wrap:wrap;gap:8px 20px;margin-bottom:14px;font-size:11px;display:flex}.widget-access-directory-meta strong{color:var(--text)}.inline-notice{border:1px solid var(--line-strong);background:var(--soft);color:var(--muted);border-radius:9px;margin-bottom:14px;padding:10px 12px;font-size:12px;line-height:1.5}.inline-notice--warning{background:var(--warning-bg);color:#795617;border-color:#f0d7a0}.widget-access-skeleton{gap:10px;display:grid}.widget-access-skeleton span{border:1px solid var(--line);background:linear-gradient(90deg, var(--soft), #fff, var(--soft));border-radius:11px;height:82px;animation:1.4s ease-in-out infinite alternate shimmer}.widget-access-list{gap:10px;display:grid}.widget-access-row{border:1px solid var(--line);background:#fff;border-radius:11px;grid-template-columns:minmax(190px,1.2fr) minmax(160px,.9fr) minmax(155px,.7fr) minmax(180px,auto);align-items:center;gap:12px;padding:13px;display:grid}.widget-access-row--dirty{border-color:var(--accent);box-shadow:0 0 0 2px #2f759a14}.widget-access-row__identity{gap:3px;min-width:0;display:grid}.widget-access-row__identity strong,.widget-access-row__identity span,.widget-access-row__identity small{overflow-wrap:anywhere}.widget-access-row__identity strong{color:var(--text);font-size:13px}.widget-access-row__identity span,.widget-access-row__identity small{color:var(--muted);font-size:11px}.widget-access-row__badges{flex-wrap:wrap;gap:5px;display:flex}.soft-badge{background:var(--soft);width:fit-content;color:var(--muted);border-radius:999px;padding:4px 7px;font-size:10px;font-weight:700;display:inline-flex}.soft-badge--warning{background:var(--warning-bg);color:#795617}.widget-access-toggle{min-height:44px;color:var(--text);cursor:pointer;align-items:center;gap:9px;font-size:12px;font-weight:650;display:inline-flex}.widget-access-toggle input{width:19px;height:19px;accent-color:var(--accent);margin:0}.widget-access-toggle input:focus-visible{outline-offset:3px;outline:3px solid #2f759a3d}.widget-access-toggle:has(input:disabled){color:var(--muted);cursor:not-allowed}.widget-access-row__actions{justify-content:flex-end;align-items:center;gap:7px;min-height:36px;display:flex}.widget-access-row__actions .button{min-height:36px;padding:7px 10px}.widget-access-row__saved{color:var(--success);font-size:11px;font-weight:700}.widget-access-row__error{color:var(--danger);grid-column:1/-1;margin:-2px 0 0;font-size:11px}.manual-user-form{gap:12px;max-width:580px;display:grid}.manual-user-form .form-actions{justify-content:flex-start}.field-error{color:var(--danger);margin:0;font-size:11px}.empty-state.compact{gap:6px;padding:20px;display:grid}.empty-state.compact span{color:var(--muted);font-size:11px}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}[data-tour]{scroll-margin-top:96px}.guided-tour{z-index:200;pointer-events:none;position:fixed;inset:0}.guided-tour__mask{z-index:200;pointer-events:auto;background:#0d151fad;position:fixed}.guided-tour__mask--full{inset:0}.guided-tour__spotlight{z-index:201;pointer-events:auto;border:2px solid #35a6d4;border-radius:14px;position:fixed;box-shadow:0 0 0 4px #35a6d438}.guided-tour__card{z-index:202;width:min(380px,100vw - 24px);max-height:calc(100dvh - 24px);color:var(--text);pointer-events:auto;background:#fbfdfe;border:1px solid #b9dce9;border-radius:18px;padding:20px;animation:.16s ease-out guided-tour-enter;position:fixed;overflow-y:auto;box-shadow:0 24px 70px #0a1f2b52}.guided-tour__card:focus{outline:none}.guided-tour__card h2{color:#284f66;margin:18px 0 8px;font-size:20px;line-height:1.25}.guided-tour__card h2:focus{outline:none}.guided-tour__card p{color:var(--text);margin:0;font-size:14px;line-height:1.55}.guided-tour__progress-row{min-height:44px;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;font-size:12px;font-weight:700;display:flex}.guided-tour__skip{min-height:44px;color:var(--accent-dark);text-underline-offset:3px;background:0 0;border:0;padding:0 4px;font-size:12px;font-weight:800;text-decoration:underline}.guided-tour__progress{background:#dfeef4;border-radius:999px;height:5px;overflow:hidden}.guided-tour__progress span{border-radius:inherit;background:#35a6d4;height:100%;transition:width .16s;display:block}.guided-tour__actions{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.guided-tour__actions .button{min-width:96px;min-height:44px}.guided-tour__keyboard{color:var(--muted);text-align:center;margin-top:12px;font-size:11px;display:block}@keyframes guided-tour-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (width<=1180px){.status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.knowledge-layout{grid-template-columns:1fr}.knowledge-stats,.details-list{grid-template-columns:repeat(2,minmax(0,1fr))}.details-list>div:nth-child(4n){border-right:1px solid var(--line)}.details-list>div:nth-child(2n){border-right:0}.details-list>div:nth-last-child(-n+4){border-bottom:1px solid var(--line)}.details-list>div:nth-last-child(-n+2){border-bottom:0}.details-list--compact>div,.details-list--compact>div:nth-child(2n),.details-list--compact>div:nth-child(4n),.details-list--compact>div:nth-last-child(-n+2),.details-list--compact>div:nth-last-child(-n+4){border:1px solid var(--line)}.agents-layout{grid-template-columns:1fr}.agents-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.widget-access-row{grid-template-columns:minmax(180px,1fr) minmax(150px,.8fr)}.widget-access-row__actions{justify-content:flex-start}}@media (width<=900px){.sidebar{width:min(var(--sidebar-width), calc(100vw - 20px));transition:transform .2s;transform:translate(calc(-100% - 20px))}.sidebar--open{transform:translate(0);box-shadow:16px 0 40px #416e8538}.sidebar-scrim{z-index:25;background:#0c141e66;border:0;display:block;position:fixed;inset:0}.workspace{margin-left:0}.mobile-menu-button{display:block}.two-column-grid{grid-template-columns:1fr}.chat-workspace{grid-template-columns:minmax(220px,290px) minmax(0,1fr);height:auto;min-height:760px}.agent-controls{grid-template-columns:1fr}.secure-label{display:none}}@media (width<=680px){.topbar{border-radius:16px;height:64px;margin:10px 10px 0;padding:0 10px;top:10px}.topbar__right{gap:7px}.tour-restart-button{justify-content:center;width:44px;min-width:44px;height:44px;padding:0}.tour-restart-button strong{display:none}.content{padding:18px 10px 24px}[data-tour]{scroll-margin-top:84px}.guided-tour__card{border-radius:16px;padding:17px}.guided-tour__card--sheet{width:auto;max-height:min(46dvh,420px);right:10px;left:10px!important;transform:none!important}.guided-tour__card h2{margin-top:14px;font-size:18px}.guided-tour__progress-row{gap:7px}.guided-tour__keyboard{display:none}.page-heading{flex-direction:column;align-items:flex-start}.page-heading__actions{justify-content:space-between;width:100%}.page-heading__actions .button{flex:1}.page-heading h1{font-size:23px}.status-grid,.form-grid,.diagnostics-summary{grid-template-columns:1fr}.status-card{min-height:112px}.section-card__header{align-items:flex-start;padding:15px}.section-card__content{padding:15px}.section-footer{flex-direction:column;align-items:flex-start;margin:16px -15px -15px;padding:14px 15px}.details-list{grid-template-columns:1fr}.details-list>div,.details-list>div:nth-child(2n),.details-list>div:nth-child(4n){border-right:0;border-bottom:1px solid var(--line)}.details-list>div:nth-last-child(-n+2){border-bottom:1px solid var(--line)}.details-list>div:last-child{border-bottom:0}.details-list--compact{grid-template-columns:1fr}.details-list--compact>div{grid-template-columns:1fr;gap:5px}.details-list--compact dd{text-align:left}.segmented{grid-template-columns:1fr;width:100%;display:grid}.segmented button{justify-content:space-between}.link-settings>div{grid-template-columns:1fr auto}.link-settings span{grid-column:1/-1}.link-settings code{white-space:normal;word-break:break-all}.channel-row{flex-wrap:wrap;align-items:flex-start}.channel-row .status-badge{margin-left:46px}.knowledge-stats{grid-template-columns:1fr 1fr}.knowledge-search{width:100%}.knowledge-document{grid-template-columns:40px minmax(0,1fr)}.knowledge-document>.status-badge{grid-column:2;justify-self:start}.knowledge-document__actions{grid-column:1/-1;justify-content:stretch}.knowledge-document__actions .button{flex:1}.range-field{grid-template-columns:1fr}.temperature-control{flex-direction:column;align-items:stretch}.temperature-control input{width:100%}.version-list article{grid-template-columns:1fr;gap:9px}.project-stage-list>div{grid-template-columns:1fr;align-items:start;gap:6px}.project-stage-list dd{text-align:left}.page-stack--chats{min-height:0}.page-stack--chat-detail{gap:10px}.page-stack--chat-detail .page-heading{display:none}.chat-workspace{height:clamp(420px,100dvh - 210px,720px);min-height:420px;display:block}.chat-workspace--detail{height:calc(100dvh - 104px);min-height:600px}.chat-list{border-bottom:0;border-right:0;height:100%;min-height:0;max-height:none}.chat-list__header{min-height:58px}.conversation{height:100%;min-height:0;display:none}.chat-workspace--detail .chat-list{display:none}.chat-workspace--detail .conversation{display:flex}.conversation__header{padding:8px 10px}.conversation__header-main{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.conversation__back{align-items:center;min-height:44px;display:inline-flex}.conversation-contact{gap:8px;min-width:0}.conversation-controls{border-top:1px solid var(--line);grid-column:1/-1;justify-content:space-between;width:100%;padding-top:7px}.conversation-responsible{min-width:0;max-width:none}.conversation__header-secondary{flex-direction:column;align-items:stretch}.conversation-no-reply{align-self:flex-end}.message-bubble{max-width:88%}.message-list{padding:14px 12px}.message-composer{padding:12px;position:sticky;bottom:0}.message-composer__footer{flex-direction:row;align-items:center}.message-composer__actions{width:100%}.message-composer__actions .button{flex:1}.message-composer__actions .message-composer__file{flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px}.message-composer__channel{grid-template-columns:1fr}.message-composer__channel small{grid-column:1}.message-attachment{min-width:min(260px,75vw)}.message-attachment__details button,.message-bubble__actions button,.message-composer__pending-attachment button,.message-composer__channel select{min-height:44px}.button,.button--small,.input,.avatar-button,.feedback__close{min-width:44px;min-height:44px}.key-dialog{padding:22px}.zone-pill{display:none}.agents-list{grid-template-columns:1fr}.overview-actions{grid-template-columns:1fr;display:grid}.overview-actions .button,.widget-access-page .page-heading>.button{width:100%}.widget-access-page .feedback__text,.widget-access-scope{flex-direction:column;align-items:flex-start}.widget-access-scope strong{text-align:left}.widget-access-row{grid-template-columns:1fr;align-items:stretch}.widget-access-row__actions{width:100%}.widget-access-row__actions .button{flex:1;min-height:44px}.widget-access-toggle{justify-content:space-between}.manual-user-form{max-width:none}.manual-user-form .form-actions{flex-direction:column;align-items:stretch}.manual-user-form .button{width:100%}}.assistant-test{gap:12px;display:grid}.assistant-test__messages{border:1px solid var(--line);overscroll-behavior:contain;background:#eef6fa;border-radius:12px;flex-direction:column;gap:9px;min-height:260px;max-height:440px;padding:10px;display:flex;overflow-y:auto}.assistant-test__message{border:1px solid var(--line);background:#fff;border-radius:12px;width:min(92%,560px);padding:10px 12px}.assistant-test__message--customer{align-self:flex-start}.assistant-test__message--assistant{background:#fff7ed;border-color:#f0d2ae;align-self:flex-end}.assistant-test__message strong{margin-bottom:4px;font-size:11px;display:block}.assistant-test__message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.5}.assistant-test__composer{gap:9px;display:grid}.assistant-test__composer textarea{resize:vertical;min-height:82px}@media (width<=360px){.topbar__left span{display:none}.page-heading__actions{flex-direction:column;align-items:stretch}.knowledge-stats{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.login-page{background:radial-gradient(circle at 20% 10%, #2f759a2e, transparent 34%), linear-gradient(145deg, var(--canvas), #f9fbfb);place-items:center;min-height:100dvh;padding:24px;display:grid}.login-card{border:1px solid var(--line);background:#fbfdfefa;border-radius:22px;width:min(440px,100%);padding:30px;box-shadow:0 28px 80px #2b566c33}.login-brand{align-items:center;gap:12px;margin-bottom:28px;display:flex}.login-brand>div{flex-direction:column;gap:2px;display:flex}.login-brand strong{color:var(--accent);font-size:18px}.login-brand span{color:var(--muted);font-size:12px}.login-card__intro h1{color:var(--text);letter-spacing:-.04em;margin:2px 0 8px;font-size:28px}.login-card__intro>p:last-child{color:var(--muted);margin:0 0 22px;font-size:14px;line-height:1.5}.login-card form{flex-direction:column;gap:15px;display:flex}.login-card>small{color:var(--muted);text-align:center;margin-top:18px;font-size:11px;line-height:1.5;display:block}.login-notice,.login-error{border-radius:10px;margin-bottom:14px;padding:11px 12px;font-size:12px;line-height:1.45}.login-notice{background:var(--info-bg);color:var(--info);border:1px solid #bdd8ea}.login-error{background:var(--danger-bg);color:var(--danger);border:1px solid #efbec1}.session-user{align-items:center;min-width:0;max-width:min(22vw,240px);padding:0 2px;display:flex}.session-user strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.messenger-icon{color:#fff;background:0 0;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;display:grid;box-shadow:0 0 0 2px #fff}.messenger-icon img{object-fit:contain;width:100%;height:100%;display:block}.messenger-icon svg{fill:currentColor;width:21px;height:21px}.messenger-icon--other{background:#718493}.messenger-icon--small{width:24px;height:24px}.messenger-icon--small img{width:100%;height:100%}.messenger-icon--small svg{width:15px;height:15px}.chat-list__merge-actions{flex-wrap:wrap;justify-content:flex-end}.chat-list__header .chat-list__merge-actions .button{min-height:32px;padding:0 8px}.chat-list-item{align-items:center;gap:10px;min-height:66px;padding:11px 14px}.chat-list-item--mine{background:#e1ebf0}.chat-list-item--mine:hover{background:#d8e7ed}.chat-list-item.active{background:#cee4ed}.chat-list-item__name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;line-height:1.35;overflow:hidden}.chat-channel-icons{flex:none;align-items:center;min-width:34px;display:flex}.chat-list-item--merge{cursor:pointer}.chat-list-item--merge>input{width:17px;height:17px;accent-color:var(--accent);flex:none}.merge-target-marker{width:17px;height:17px;color:var(--accent);flex:none;place-items:center;font-size:11px;display:grid}.merge-scope-note{max-width:130px;color:var(--muted);text-align:right;font-size:10px;font-weight:650;line-height:1.25}.chat-list-item.is-disabled{cursor:not-allowed;opacity:.45}.chat-list-item__unread{flex:none;min-width:24px;height:24px;font-size:11px}.conversation__header{overflow:hidden}.conversation-group{flex-direction:column;flex:260px;gap:6px;min-width:180px;max-width:420px;display:flex}.conversation-group>strong{font-size:11px}.conversation-group>div{flex-wrap:wrap;gap:5px;display:flex}.conversation-group__member{border:1px solid var(--line);background:var(--accent-soft);border-radius:999px;align-items:center;gap:5px;min-width:0;padding:4px 6px;font-size:10px;display:inline-flex}.conversation-group__member>span{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}.conversation-group__member button{min-height:26px;color:var(--accent-dark);background:#fff;border:0;border-radius:999px;padding:0 6px;font-size:10px;font-weight:750}.conversation-group__member small{color:var(--muted);font-size:9px}.channel-row--provider-error{background:snow;border-color:#e7b4b8}.channel-row__main small{overflow-wrap:anywhere;color:var(--muted);font-size:10px;line-height:1.4}.channel-row__provider-error{font-weight:700;color:var(--danger)!important}.channel-policy-toggle{max-width:190px;color:var(--text);cursor:pointer;align-items:center;gap:7px;font-size:11px;font-weight:700;display:inline-flex}.channel-policy-toggle input{width:18px;height:18px;accent-color:var(--accent);flex:none}.users-layout{grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);align-items:start;gap:16px;display:grid}.users-table,.quick-reply-admin-list{flex-direction:column;gap:8px;display:flex}.user-row{border:1px solid var(--line);background:#fff;border-radius:11px;grid-template-columns:minmax(130px,1fr) auto minmax(150px,.9fr) auto auto;align-items:center;gap:10px;padding:11px 12px;display:grid}.user-row__identity,.user-row__mapping{flex-direction:column;gap:3px;min-width:0;display:flex}.user-row__identity strong,.user-row__mapping span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.user-row__identity span,.user-row__mapping small{color:var(--muted);font-size:10px}.user-form{flex-direction:column;gap:13px;display:flex}.user-form textarea{resize:vertical;height:auto;padding-top:10px}.users-tabs{border:1px solid var(--line);scrollbar-width:thin;background:#ffffffc7;border-radius:13px;gap:4px;width:fit-content;max-width:100%;padding:4px;display:flex;overflow-x:auto}.users-tabs button{min-height:44px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 14px;font-size:12px;font-weight:750}.users-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent-dark);box-shadow:inset 0 0 0 1px #2684ae29}.users-tabs button:focus-visible{outline-offset:1px;outline:3px solid #2684ae3d}.audit-filters{border-bottom:1px solid var(--line);grid-template-columns:minmax(170px,1.25fr) minmax(145px,.8fr) minmax(190px,1.1fr) minmax(145px,.72fr) minmax(145px,.72fr);align-items:end;gap:12px;padding-bottom:16px;display:grid}.audit-filters__actions{grid-column:1/-1;justify-content:flex-end;gap:8px;display:flex}.audit-filter-error{color:var(--danger);margin:12px 0 0;font-size:12px;font-weight:650}.audit-list-status{min-height:22px;color:var(--muted);padding:14px 2px 8px;font-size:12px}.audit-events{flex-direction:column;gap:9px;display:flex}.audit-event{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px}.audit-event__headline{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.audit-event__headline>div{flex-direction:column;gap:3px;min-width:0;display:flex}.audit-event__headline strong{color:var(--text);font-size:14px}.audit-event__headline time{color:var(--muted);font-size:12px}.audit-event__facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;margin:13px 0 0;display:grid}.audit-event__facts div{min-width:0}.audit-event__facts dt{color:#617788;letter-spacing:.045em;text-transform:uppercase;margin-bottom:2px;font-size:11px;font-weight:750}.audit-event__facts dd{overflow-wrap:anywhere;color:var(--text);margin:0;font-size:13px;line-height:1.45}.audit-event__changes{background:var(--accent-soft);border-radius:9px;flex-direction:column;gap:5px;margin:12px 0 0;padding:10px 12px;list-style:none;display:flex}.audit-event__changes li{grid-template-columns:minmax(120px,.5fr) minmax(0,1fr);gap:10px;font-size:12px;line-height:1.45;display:grid}.audit-event__changes span{color:var(--muted)}.audit-event__changes strong{overflow-wrap:anywhere;color:var(--text);font-weight:700}.audit-load-more{justify-content:center;padding-top:14px;display:flex}.audit-skeleton{flex-direction:column;gap:9px;display:flex}.audit-skeleton span{border:1px solid var(--line);background:linear-gradient(100deg,#f5f9fb 30%,#fff 48%,#f5f9fb 66%) 0 0/240% 100%;border-radius:12px;height:108px;animation:1.4s ease-in-out infinite audit-skeleton;display:block}@keyframes audit-skeleton{0%{background-position:100% 0}to{background-position:-100% 0}}.quick-reply-admin-list article{border:1px solid var(--line);border-radius:11px;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;display:flex}.quick-reply-admin-list article>div:first-child{flex-direction:column;gap:4px;min-width:0;display:flex}.quick-reply-admin-list strong{font-size:12px}.quick-reply-admin-list span{overflow-wrap:anywhere;color:var(--text);font-size:11px;line-height:1.4}.quick-reply-admin-list small{color:var(--muted);font-size:10px}@media (width<=1180px){.users-layout{grid-template-columns:1fr}.user-row{grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr)}.user-row .button-row{grid-column:1/-1;justify-content:flex-end}.audit-filters,.audit-event__facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.logout-button{width:44px;padding:0;font-size:0;overflow:hidden}.logout-button:before{content:"↪";font-size:19px}.login-page{padding:12px}.login-card{border-radius:18px;padding:22px}.login-card__intro h1{font-size:24px}.chat-list__header{flex-direction:column;align-items:flex-start}.chat-list__merge-actions{width:100%}.chat-list__merge-actions .button{flex:1}.chat-list-item{min-height:64px}.conversation-group{flex-basis:auto;width:100%;max-width:none}.channel-policy-toggle{width:100%;max-width:none;min-height:44px;margin-left:46px}.user-row{grid-template-columns:1fr auto;align-items:start}.user-row__mapping{grid-column:1/-1}.user-row .button-row{grid-column:1/-1;width:100%}.user-row .button-row .button{flex:1}.users-tabs{width:100%}.audit-filters{grid-template-columns:1fr}.audit-filters__actions{flex-direction:column-reverse;align-items:stretch}.audit-filters__actions .button{width:100%}.audit-event__headline{flex-direction:column;align-items:flex-start}.audit-event__facts{grid-template-columns:1fr}.audit-event__changes li{grid-template-columns:1fr;gap:1px}.quick-reply-admin-list article{flex-direction:column;align-items:stretch}.quick-reply-admin-list .button-row .button{flex:1}}@media (width<=390px){.topbar__right .session-user{display:none}.topbar__left>div{max-width:92px}.topbar__left strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}.topbar__right{min-width:0}.app-shell--dialogs .sidebar{overflow:hidden}.app-shell--dialogs .workspace{flex-direction:column;height:100dvh;min-height:0;display:flex;overflow:hidden}.app-shell--dialogs .topbar{flex:0 0 72px;position:relative;top:auto}.app-shell--dialogs .content{flex-direction:column;flex:1;min-height:0;padding-top:18px;padding-bottom:18px;display:flex;overflow:hidden}.app-shell--dialogs .content>div:last-child{flex:1;width:100%;min-height:0;display:flex}.app-shell--dialogs .page-stack--chats{flex:1;gap:14px;min-height:0;overflow:hidden}.app-shell--dialogs .page-heading{flex:none}.app-shell--dialogs .chat-list__header,.app-shell--dialogs .conversation__header,.app-shell--dialogs .message-composer{flex:none}.app-shell--dialogs .chat-list__items,.app-shell--dialogs .message-list{overscroll-behavior:contain;overflow:hidden auto}@media (width<=680px){.app-shell--dialogs .topbar{flex-basis:64px}.app-shell--dialogs .content{padding-top:14px;padding-bottom:10px}.app-shell--dialogs .chat-workspace,.app-shell--dialogs .chat-workspace--detail{height:auto;min-height:0}}:root{--surface:#fbfdfe;--surface-subtle:#f5fafc;--radius-panel:16px;--shadow-soft:0 10px 30px #355b7014;--shadow-raised:0 16px 38px #355b701f;--motion-fast:.15s;--motion-page:.17s}body{font-size:14px;line-height:1.5}.sidebar,.topbar{border-radius:var(--radius-panel);box-shadow:var(--shadow-soft)}.topbar__left strong{color:var(--text);letter-spacing:.01em;font-size:13px}.topbar__left span{font-size:12px}.content{padding-top:24px}.route-stage{width:100%;animation:route-stage-enter var(--motion-page) ease-out both}.page-stack{gap:16px}.page-heading h1{color:#334f61;margin-top:4px;margin-bottom:6px;font-size:28px}.page-heading p:not(.eyebrow){color:var(--muted);font-size:13px}.eyebrow{letter-spacing:.14em;font-size:11px}.section-card,.status-card,.agents-list,.knowledge-stats article,.chat-workspace{border-radius:var(--radius-panel);box-shadow:var(--shadow-soft);border-color:#abc8d5d1}.section-card{background:var(--surface)}.section-card__header{min-height:68px;padding:15px 18px}.section-card__header h2{color:#334f61;font-size:16px}.section-card__header p{max-width:760px;font-size:12px}.section-card__content{padding:18px}.status-grid,.two-column-grid,.agents-layout,.knowledge-layout,.users-layout{gap:14px}.status-card{min-height:124px;padding:16px}.status-card__title,.status-card p,.field__label,.field__hint,.flow-list p,.details-list dt,.checkbox-card small,.channel-row__main span,.agents-list small,.knowledge-stats article>span,.knowledge-stats small,.knowledge-document__main small,.diagnostic-meta,.diagnostic-endpoint,.diagnostics-summary span{font-size:12px}.status-badge{min-height:28px;padding:5px 9px}.status-badge__dot--pulse{animation-duration:1.9s}.button,.button--small,.input,.tour-restart-button,.mobile-menu-button{min-height:44px}.button--primary{box-shadow:0 7px 16px #2f759a24}.button--primary:hover:not(:disabled),.button--secondary:hover:not(:disabled),.button--ghost:hover:not(:disabled){transform:translateY(-1px)}.button:active:not(:disabled){transform:translateY(0)}.workspace-switcher,.sidebar-health,.sidebar-nav button,.zone-switch button,.tour-restart-button{transition:background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) ease}.sidebar-nav button{position:relative}.sidebar-nav button:before{background:var(--accent);content:"";opacity:0;width:3px;transition:opacity var(--motion-fast) ease, transform var(--motion-fast) ease;border-radius:999px;position:absolute;top:11px;bottom:11px;left:0;transform:scaleY(.35)}.sidebar-nav button:hover{transform:translateY(-1px)}.sidebar-nav button.active:before{opacity:1;transform:scaleY(1)}.sidebar-nav button.active{box-shadow:inset 0 0 0 1px #2f759a0f}.feedback{animation:feedback-enter var(--motion-fast) ease-out both}.modal-backdrop{animation:modal-backdrop-enter var(--motion-fast) ease-out both}.key-dialog{animation:modal-card-enter var(--motion-page) ease-out both}.chat-workspace{border-radius:var(--radius-panel)}.chat-list__header{min-height:64px;padding:13px 14px}.chat-list__search input{min-height:44px;font-size:13px}.chat-list__search button,.quick-replies__header button,.message-composer__reply button{width:44px;height:44px}.chat-list-item{transition:background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease}.chat-list-item:hover{box-shadow:inset 3px 0 #2f759a47}.chat-list-item.active{box-shadow:inset 3px 0 var(--accent)}.chat-list__items,.message-list{overflow-anchor:none;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:auto}.message-bubble{box-shadow:0 5px 16px #416e850d}.message-bubble__meta>span:not(.message-bubble__author-role):not(.message-bubble__author-name),.message-reply-reference span,.message-attachment__details span,.message-attachment__details button,.message-composer__channel-unavailable,.message-composer__reply span,.message-composer__pending-attachment small,.message-composer__upload-error,.quick-replies>button span,.channel-row__unavailable{font-size:12px}.message-composer__file{width:44px;min-width:44px;height:44px;min-height:44px}.input{font-size:13px}@media (hover:hover){.status-card:hover,.knowledge-stats article:hover{border-color:var(--line-strong);box-shadow:var(--shadow-raised);transform:translateY(-1px)}.status-card,.knowledge-stats article{transition:border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease, transform var(--motion-fast) ease}}@keyframes route-stage-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes feedback-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes modal-backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes modal-card-enter{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (width<=680px){.page-heading{min-height:0}.section-card__header{min-height:0;padding:15px}.section-card__content{padding:15px}.chat-list__search input{min-height:40px}}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}.route-stage,.feedback,.modal-backdrop,.key-dialog,.status-badge__dot--pulse,.audit-skeleton span,.loading-line,.chat-spinner{animation:none!important}.button,.workspace-switcher,.sidebar-health,.sidebar-nav button,.sidebar-nav button:before,.zone-switch button,.tour-restart-button,.users-tabs button,.status-card,.knowledge-stats article{transition:none!important}.button:hover,.sidebar-nav button:hover,.status-card:hover,.knowledge-stats article:hover{transform:none!important}}:root{--sidebar-width:236px;--shell-gap:12px;--dialog-list-width:320px;--surface-canvas:#edf4f7;--surface-panel:#fbfdfe;--surface-list:#f7fafc;--surface-mine:#dde9ee;--surface-hover:#e8f1f4;--surface-selected:#c8e0ea;--dialog-radius:15px}.emfy-logo{align-items:center;gap:12px;min-width:0;min-height:54px;padding:0 8px;display:flex}.emfy-logo__mark{background:#0083c1;flex:none;width:42px;height:42px;display:block;-webkit-mask:url(/emfy-logo-mark.png) 50%/contain no-repeat;mask:url(/emfy-logo-mark.png) 50%/contain no-repeat}.emfy-logo__copy{flex-direction:column;gap:2px;min-width:0;display:flex}.emfy-logo__copy strong{color:#334f61;letter-spacing:-.025em;font-size:18px;line-height:1.05}.emfy-logo__copy small{color:var(--accent);letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:850}.emfy-logo--compact{min-height:44px;padding:0}.emfy-logo--compact .emfy-logo__mark{width:38px;height:38px}.emfy-logo--compact .emfy-logo__copy strong{font-size:19px}.sidebar{inset:var(--shell-gap) auto var(--shell-gap) var(--shell-gap);width:var(--sidebar-width);border-radius:18px;padding:14px 12px 12px;box-shadow:0 10px 30px #355b7017}.workspace-switcher,.workspace-switcher--static{border-radius:12px;grid-template-columns:minmax(0,1fr);gap:0;min-height:54px;margin:5px 0 0;padding:7px 9px}.account-select{min-height:44px}.zone-switch{margin-bottom:11px}.zone-switch button{min-height:36px}.sidebar-nav button{min-height:44px;padding:0 10px}.sidebar-nav__label{font-size:13px}.sidebar-health{border-radius:11px;grid-template-columns:28px minmax(0,1fr);gap:8px;min-height:50px;margin-top:10px;padding:7px 9px}.sidebar-health__icon{border-radius:8px;width:28px;height:28px}.sidebar-health__icon svg{width:16px;height:16px}.sidebar-health strong{font-size:12px}.sidebar-health small{margin-top:1px;font-size:10px}.topbar{top:var(--shell-gap);height:56px;margin:var(--shell-gap) 16px 0;border-radius:15px;padding:0 16px;box-shadow:0 8px 24px #355b7012}.topbar__left,.topbar__right{gap:10px}.topbar__dialog-title{align-items:center;flex-direction:row!important;gap:9px!important;display:flex!important}.topbar__dialog-title h1{color:#334f61;letter-spacing:-.025em;margin:0;font-size:19px;line-height:1}.topbar__pending{background:var(--accent);color:#fff;border-radius:999px;place-items:center;min-width:24px;height:24px;padding:0 6px;font-size:11px;font-style:normal;font-weight:800;display:none}.tour-restart-button{border-radius:10px;min-height:40px}.logout-button{min-height:40px}.app-shell--dialogs .page-stack--chats{gap:0;position:relative}.app-shell--dialogs .chat-workspace{flex:1;height:auto;min-height:0}.dialog-feedback-stack{z-index:12;pointer-events:none;gap:8px;width:min(390px,100% - 20px);display:grid;position:absolute;top:10px;right:10px}.dialog-feedback-stack .feedback{pointer-events:auto;background-clip:padding-box;box-shadow:0 16px 38px #355b702e}.chat-workspace{grid-template-columns:var(--dialog-list-width) minmax(0,1fr);border-radius:var(--dialog-radius);background:var(--surface-panel);box-shadow:0 10px 30px #355b7014}.chat-list{background:var(--surface-list)}.chat-list__header{background:var(--surface-panel);flex-direction:row;align-items:center;min-height:54px;padding:7px 10px 7px 14px}.chat-list__title{align-items:center;gap:8px;min-width:0;display:flex}.chat-list__title strong{color:#334f61;font-size:15px}.chat-list__title>span{background:var(--accent-soft);min-width:24px;height:24px;color:var(--accent-dark);border-radius:999px;place-items:center;padding:0 6px;font-size:11px;font-weight:800;display:grid}.chat-list__toolbar-actions{align-items:center;gap:4px;display:flex}.chat-icon-button{width:40px;height:40px;min-height:40px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;padding:0;list-style:none;display:grid}.chat-icon-button::-webkit-details-marker{display:none}.chat-icon-button:hover,.chat-icon-button:focus-visible{border-color:var(--line);background:var(--accent-soft);color:var(--accent-dark)}.chat-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.chat-list__more{position:relative}.chat-list__more[open]>summary{border-color:var(--line);background:var(--accent-soft);color:var(--accent-dark)}.chat-list__menu{z-index:10;border:1px solid var(--line);background:#fff;border-radius:11px;width:174px;padding:5px;position:absolute;top:calc(100% + 5px);right:0;box-shadow:0 14px 34px #355b702b}.chat-list__menu button{width:100%;min-height:40px;color:var(--text);text-align:left;background:0 0;border:0;border-radius:8px;padding:8px 10px;font-size:12px;font-weight:700}.chat-list__menu button:hover{background:var(--accent-soft)}.chat-list__search{gap:9px;min-height:50px;padding:5px 10px 5px 14px}.chat-list__search>svg{fill:none;width:18px;height:18px;stroke:var(--muted);stroke-width:1.8px;stroke-linecap:round;flex:none}.chat-list__search input{min-height:40px;padding-right:34px;font-size:13px}.chat-list__search>button{width:40px;height:40px;right:8px}.chat-list__search-result{border-bottom:1px solid var(--line);color:var(--muted);background:#f4f9fb;padding:5px 14px;font-size:12px}.chat-pipeline-section{display:block}.chat-pipeline-section__heading{z-index:3;border-bottom:1px solid var(--line);color:#405b6c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#eff7faf7;justify-content:space-between;align-items:center;gap:8px;min-height:34px;margin:0;padding:6px 12px 6px 14px;display:flex;position:sticky;top:0;box-shadow:0 1px #355b7008}.chat-pipeline-section__heading>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:11px;font-weight:800;line-height:1.4;overflow:hidden}.chat-pipeline-section__heading>small{color:var(--muted);white-space:nowrap;flex:none;font-size:10px;font-weight:650}.chat-list__pagination{justify-content:center;padding:12px 10px 16px;display:flex}.chat-list__pagination .button{width:100%}.chat-list-item{background:var(--surface-list);min-height:60px;transition:background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;align-items:center;gap:10px;padding:9px 12px}.chat-list-item__unread{min-width:24px;height:24px;padding:0 6px;font-size:11px}.chat-channel-icons{min-width:28px}.chat-channel-icons .messenger-icon{width:28px;height:28px;box-shadow:0 0 0 2px var(--surface-list)}.chat-channel-icons .messenger-icon+.messenger-icon{margin-left:-9px}.chat-list-skeletons{display:grid}.chat-list-skeletons>span{border-bottom:1px solid var(--line);height:60px;display:block;position:relative;overflow:hidden}.chat-list-skeletons>span:before,.chat-list-skeletons>span:after{content:"";background:#dce8ed;border-radius:999px;position:absolute;top:16px}.chat-list-skeletons>span:before{width:28px;height:28px;left:14px}.chat-list-skeletons>span:after{width:46%;height:12px;left:52px}.chat-panel-state{flex-direction:column;gap:8px}.conversation{background:#eef5f7}.conversation__header{background:var(--surface-panel);min-height:66px;padding:8px 12px}.conversation__header-main{grid-template-columns:minmax(250px,1fr) minmax(150px,auto) auto;gap:12px}.conversation-contact{gap:9px}.conversation-contact>.messenger-icon{width:29px;height:29px}.conversation-contact>div{gap:3px}.conversation-contact__title{align-items:baseline;gap:8px;min-width:0;display:flex}.conversation-contact__title>strong{color:#334f61;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;overflow:hidden}.conversation-contact__title>a,.conversation-contact__title>span{color:var(--accent-dark);flex:none;font-size:12px;font-weight:700;text-decoration:none}.conversation-contact__title>a:hover{text-decoration:underline}.conversation-contact>div>span{font-size:12px}.conversation-responsible{text-align:right;max-width:min(24vw,250px);font-size:12px}.conversation-controls{gap:8px}.conversation-ai-toggle{border:1px solid var(--line-strong);min-height:40px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:10px;grid-template-columns:8px auto auto;align-items:center;gap:7px;padding:0 11px;font-size:11px;font-weight:700;display:grid}.conversation-ai-toggle>span:first-child{background:#8d9ba5;border-radius:999px;width:8px;height:8px}.conversation-ai-toggle strong{color:#5d6d79;font-size:11px}.conversation-ai-toggle.is-active{background:var(--success-bg);color:#126b49;border-color:#9ccfba}.conversation-ai-toggle.is-active>span:first-child{background:var(--success);box-shadow:0 0 0 3px #17875c1c}.conversation-ai-toggle.is-active strong{color:#126b49}.conversation__header-secondary{margin-top:6px;padding-top:6px}.conversation-empty>span{display:none}.conversation-empty strong{color:#405b6c;font-size:15px}.conversation-empty p{font-size:13px}.message-list{background:#eef5f7;gap:9px;padding:18px max(18px,50% - 440px)}.message-history-pagination{flex:none;justify-content:center;padding:0 0 4px;display:flex}.message-skeletons{flex-direction:column;gap:10px;padding-top:12px;display:flex}.message-skeletons span{background:#ffffffa6;border:1px solid #d9e5ea;border-radius:15px;width:min(58%,420px);height:72px;display:block}.message-skeletons span:nth-child(2){align-self:flex-end;width:min(52%,380px)}.message-skeletons span:nth-child(3){width:min(44%,330px)}.message-bubble{border-radius:15px 15px 15px 5px;max-width:min(72%,680px);box-shadow:0 4px 14px #416e850b}.message-bubble__meta{align-items:baseline;gap:7px}.message-bubble__meta strong,.message-bubble__meta time{font-size:12px}.message-bubble__actions{opacity:0;transition:opacity var(--motion-fast) ease}.message-bubble:hover .message-bubble__actions,.message-bubble:focus-within .message-bubble__actions{opacity:1}.message-composer{background:var(--surface-panel);padding:9px 12px 10px;box-shadow:0 -8px 22px #355b7009}.message-composer__channel{grid-template-columns:auto minmax(170px,280px);width:fit-content;max-width:100%;margin-bottom:7px}.message-composer__channel-unavailable{margin:0 0 7px}.message-composer__reply,.message-composer__pending-attachment{margin-bottom:7px}.message-composer__main{grid-template-columns:40px minmax(120px,1fr) auto auto;align-items:end;gap:8px;display:grid}.message-composer__file{border-radius:10px;width:40px;min-width:40px;height:40px;min-height:40px}.message-composer textarea{resize:none;border-radius:10px;min-height:40px;max-height:140px;padding:9px 11px;overflow-y:auto}.message-composer__quick,.message-composer__send{min-height:40px;padding:0 13px}.quick-replies{bottom:calc(100% - 8px);right:12px}@media (hover:none),(pointer:coarse){.message-bubble__actions{opacity:1}}@media (width<=1179px){.sidebar{width:min(var(--sidebar-width), calc(100vw - 20px));transition:transform .16s;transform:translate(calc(-100% - 20px))}.sidebar--open{transform:translate(0);box-shadow:16px 0 40px #416e8538}.sidebar-scrim{z-index:25;background:#0c141e66;border:0;display:block;position:fixed;inset:0}.workspace{margin-left:0}.mobile-menu-button{display:block}.chat-workspace{grid-template-columns:292px minmax(0,1fr)}.conversation__header-main{grid-template-columns:minmax(220px,1fr) auto}.conversation-responsible{text-align:left;grid-area:2/1;max-width:none}.conversation-controls{grid-area:1/2/span 2}}@media (width>=681px) and (width<=840px){.conversation__header-main{grid-template-columns:minmax(0,1fr)}.conversation-contact{grid-area:1/1}.conversation-responsible{grid-area:2/1}.conversation-controls{grid-area:3/1;justify-content:flex-start}}@media (width<=1000px){.message-composer__main{grid-template-columns:44px minmax(0,1fr) auto}.message-composer textarea{grid-area:1/1/auto/-1;min-height:56px}.message-composer__file{grid-area:2/1}.message-composer__quick{grid-area:2/2;justify-self:stretch}.message-composer__send{grid-area:2/3}}@media (width<=680px){.topbar{border-radius:14px;height:56px;margin:8px 8px 0;padding:0 8px;top:8px}.topbar__pending{display:grid}.topbar__right{gap:5px}.topbar .session-user,.topbar__section-title>span{display:none}.tour-restart-button{width:40px;min-width:40px;height:40px;min-height:40px}.logout-button{min-width:58px;min-height:40px;padding:0 10px}.app-shell--dialogs .topbar{flex-basis:56px}.app-shell--dialogs .content{padding:8px 8px 10px}.app-shell--dialogs .chat-workspace,.app-shell--dialogs .chat-workspace--detail{height:auto;min-height:0}.chat-workspace{border-radius:14px;min-height:0;display:block}.chat-workspace--detail{min-height:0}.chat-list__header{min-height:54px}.chat-icon-button{width:44px;height:44px}.chat-list-item{min-height:60px}.chat-pipeline-section__heading{min-height:36px;padding-right:10px}.dialog-feedback-stack{width:calc(100% - 16px);position:fixed;top:70px;right:8px}.conversation__header{padding:7px 9px}.conversation__header-main{grid-template-columns:auto minmax(0,1fr);gap:7px 8px}.conversation__back{align-items:center;min-width:44px;min-height:44px;padding:0 10px;display:inline-flex}.conversation-contact{gap:7px}.conversation-contact>.messenger-icon{width:27px;height:27px}.conversation-contact__title{gap:6px}.conversation-contact__title>strong{font-size:14px}.conversation-contact__title>a,.conversation-contact__title>span{text-overflow:ellipsis;white-space:nowrap;max-width:118px;font-size:11px;overflow:hidden}.conversation-responsible{text-align:left;grid-area:auto/1/auto/-1;padding-left:0;font-size:11px}.conversation-controls{grid-area:auto/1/auto/-1;justify-content:flex-start;padding-top:6px}.conversation-ai-toggle,.conversation-controls .button{min-height:44px}.conversation__header-secondary{flex-direction:column;align-items:stretch}.conversation-no-reply{align-self:flex-end}.message-list{padding:12px 10px}.message-bubble{max-width:90%}.message-composer{padding:8px 9px max(9px, env(safe-area-inset-bottom));position:relative;bottom:auto}.message-composer__main{grid-template-columns:44px minmax(0,1fr) auto;gap:6px}.message-composer__file{width:44px;min-width:44px;height:44px;min-height:44px}.message-composer textarea{min-height:56px;padding:10px}.message-composer__quick,.message-composer__send{min-height:44px;padding:0 10px;font-size:12px}}@media (width<=420px){.topbar__dialog-title h1{font-size:17px}.message-bubble__meta{grid-template-columns:minmax(0,1fr) auto;display:grid}.message-bubble__meta>strong{grid-area:1/1}.message-bubble__meta>time{grid-area:1/2}.message-bubble__meta>span:not(.message-bubble__author-role):not(.message-bubble__author-name){grid-area:2/1/auto/-1;margin-left:0}.message-attachment{box-sizing:border-box;width:100%;min-width:0}.conversation-contact__title>a,.conversation-contact__title>span{max-width:96px}}.login-card .login-brand{margin-bottom:24px}.login-card .login-brand>.emfy-logo{flex-direction:row;gap:11px}.login-card .login-brand .emfy-logo__copy{gap:2px}.login-card .login-brand .emfy-logo__copy strong{color:#334f61;font-size:19px}.login-card .login-brand .emfy-logo__copy small{color:var(--accent);font-size:11px}@keyframes dialog-pane-enter{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}@media (width<=680px) and (prefers-reduced-motion:no-preference){.chat-workspace--detail .conversation{animation:.16s ease-out both dialog-pane-enter}}@media (prefers-reduced-motion:reduce){.chat-list-item,.message-bubble__actions,.sidebar{transition:none!important}.chat-workspace--detail .conversation{animation:none!important}}:root{--canvas:#edf2f9;--card:#fff;--nav:#fff;--nav-soft:#e2e9f3;--nav-muted:#52647d;--text:#26344b;--muted:#52647d;--line:#d2ddea;--line-strong:#b7c7dc;--accent:#315fad;--accent-dark:#274d8d;--accent-soft:#dbe8fb;--info:#315fad;--info-bg:#e9f0fc;--soft:#e2e9f3;--surface:#fff;--surface-canvas:#edf2f9;--surface-panel:#fff;--surface-subtle:#f6f8fc;--surface-list:#f8fafd;--surface-mine:#e2e9f3;--surface-hover:#edf3fc;--surface-selected:#dbe8fb;--settings-panel:#fff;--settings-soft:#f2f5fa;--settings-text-strong:#26344b;--shadow:0 4px 16px #26344b0e;--shadow-soft:0 3px 14px #26344b0b;--shadow-raised:0 12px 30px #26344b21;--radius-panel:14px;--dialog-radius:14px;--sidebar-width:228px;--shell-gap:12px;--dialog-list-width:300px;--motion-fast:.14s;--motion-page:.16s}html{background:var(--canvas);scroll-behavior:auto}body{background:var(--canvas);color:var(--text)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,.help-tip:focus-visible{outline-color:var(--accent)}.app-shell{background:var(--canvas)}.sidebar{inset:var(--shell-gap) auto var(--shell-gap) var(--shell-gap);width:var(--sidebar-width);border:1px solid var(--line);background:var(--nav);box-shadow:var(--shadow);scrollbar-color:var(--line-strong) transparent;border-radius:14px;padding:14px 12px 12px}.sidebar--admin{border-color:var(--line);background:var(--nav)}.emfy-logo__copy strong,.brand__product strong{color:var(--text)}.emfy-logo__copy small,.brand__product small{color:var(--accent)}.account-switcher{margin:12px 0 10px}.account-switcher__label{color:var(--muted);letter-spacing:.09em}.workspace-switcher,.workspace-switcher--static,.account-select{border-color:var(--line);color:var(--text);box-shadow:none;background:#fff}.workspace-switcher:hover{border-color:var(--line-strong);background:#f7f9fc}.workspace-switcher--static:hover{border-color:var(--line);background:#fff}.sidebar-nav{gap:10px}.sidebar-nav__group{gap:3px;display:grid}.sidebar-nav__caption{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;padding:7px 10px 5px;font-size:10px;font-weight:800}.sidebar-nav__group--admin{border-top:1px solid var(--line);padding-top:8px}.sidebar-nav button{min-height:42px;color:var(--muted);transition:background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;border:1px solid #0000;border-radius:9px}.sidebar-nav button:hover{color:var(--text);background:#f4f7fb;border-color:#dce5f1;transform:none}.sidebar-nav button.active,.sidebar--admin .sidebar-nav button.active{background:var(--accent-soft);color:var(--accent-dark);box-shadow:inset 3px 0 var(--accent);border-color:#c9d9f0}.sidebar-nav button.active:before{display:none}.sidebar-nav button.active .sidebar-nav__icon,.sidebar--admin .sidebar-nav button.active .sidebar-nav__icon{color:var(--accent)}.sidebar-nav em,.topbar__pending,.chat-list-item__unread{background:var(--accent);color:#fff}.sidebar-health{border-color:var(--line);box-shadow:none;background:#f7f9fc;border-radius:10px}.sidebar-health:hover{border-color:var(--line-strong);background:var(--accent-soft);transform:none}.sidebar-health__icon{background:var(--accent-soft);color:var(--accent-dark)}.workspace{margin-left:calc(var(--sidebar-width) + var(--shell-gap) * 2)}.topbar{top:var(--shell-gap);height:56px;margin:var(--shell-gap) 16px 0;border:1px solid var(--line);box-shadow:var(--shadow-soft);background:#fff;border-radius:12px;padding:0 16px}.app-shell--admin .topbar{border-color:var(--line)}.topbar__section-title strong,.topbar__dialog-title h1{color:var(--text)}.topbar__section-title span,.session-user{color:var(--muted)}.tour-restart-button{border-color:var(--line);color:var(--accent-dark);box-shadow:none;background:#fff}.tour-restart-button:hover{border-color:var(--line-strong);background:var(--accent-soft);transform:none}.tour-restart-button span{background:var(--accent-soft);color:var(--accent-dark)}.content{max-width:none;padding:18px 16px 28px}.route-stage{animation:cloud-page-enter var(--motion-page) ease-out both}.page-heading{min-height:68px;padding:1px 2px 10px}.page-heading h1{color:var(--text);letter-spacing:-.025em}.page-heading p{color:var(--muted)}.section-card,.status-card,.agents-list,.knowledge-stats article,.knowledge-document,.user-row,.widget-access-row,.quick-reply-admin-list article,.channel-row,.settings-control-panel,.settings-disclosure,.settings-danger-zone,.knowledge-overview,.audit-event{border-color:var(--line);box-shadow:none;background:#fff;border-radius:12px}.section-card__header,.section-footer,.users-tabs,.audit-filter-disclosure,.settings-disclosure[open]>summary{border-color:var(--line)}.section-card__header h2,.settings-control-panel__heading>strong,.settings-radio-group legend,.settings-radio-group strong{color:var(--text)}.status-card:hover,.knowledge-stats article:hover{border-color:var(--line-strong);transform:none;box-shadow:0 5px 16px #26344b12}.knowledge-document,.user-row,.widget-access-row{background:#fff}.agents-list>button.active,.users-tabs button.active,.settings-radio-group label.is-selected{background:var(--accent-soft);color:var(--accent-dark);box-shadow:none;border-color:#bfd1eb}.settings-radio-group label,.settings-action-menu>summary,.settings-action-menu>div{border-color:var(--line);background:#fff}.settings-action-menu button:hover:not(:disabled),.settings-action-menu button:focus-visible{background:var(--accent-soft)}.settings-safe-note{color:var(--accent-dark);background:#eef4fd;border-color:#c6d7ef}.knowledge-overview__progress{background:var(--soft)}.input,input,textarea,select{border-color:var(--line);color:var(--text);background-color:#fff}.input:hover:not(:disabled),input:hover:not(:disabled),textarea:hover:not(:disabled),select:hover:not(:disabled){border-color:var(--line-strong)}.button{transition:background-color var(--motion-fast) ease, border-color var(--motion-fast) ease, color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;border-radius:9px}.button--primary{border-color:var(--accent);background:var(--accent);color:#fff;box-shadow:none}.button--primary:hover:not(:disabled){background:#274d8d;border-color:#274d8d;transform:none;box-shadow:0 4px 12px #315fad2e}.button--secondary{color:var(--accent-dark);background:#fff;border-color:#b9cbe4}.button--secondary:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft);transform:none}.button--ghost{border-color:var(--line);color:var(--text);background:#fff}.button--ghost:hover:not(:disabled){border-color:var(--line-strong);background:#f4f7fb;transform:none}.button:active:not(:disabled){transform:none;box-shadow:inset 0 1px 3px #26344b21}.app-shell--dialogs,.app-shell--dialogs .workspace{height:100dvh;min-height:0;overflow:hidden}.app-shell--dialogs .content{min-height:0;padding:12px 16px 16px;overflow:hidden}.app-shell--dialogs .route-stage--dialogs,.app-shell--dialogs .page-stack--chats,.app-shell--dialogs .chat-workspace{flex:1;min-height:0}.chat-workspace{grid-template-columns:var(--dialog-list-width) minmax(0, 1fr);border:1px solid var(--line);border-radius:var(--dialog-radius);box-shadow:var(--shadow-soft);background:#fff}.chat-list{border-color:var(--line);background:var(--surface-list);min-height:0}.chat-list__header,.chat-list__search,.conversation__header,.message-composer{border-color:var(--line);background:#fff;flex:none}.chat-list__header{min-height:54px}.chat-list__title strong{color:var(--text)}.chat-list__title>span{background:var(--accent-soft);color:var(--accent-dark)}.chat-icon-button{color:var(--muted)}.chat-icon-button:hover,.chat-icon-button:focus-visible,.chat-list__more[open]>summary{border-color:var(--line);background:var(--accent-soft);color:var(--accent-dark)}.chat-list__menu,.quick-replies{border-color:var(--line);box-shadow:var(--shadow-raised);background:#fff}.chat-list__menu button:hover,.quick-replies>button:hover{background:var(--accent-soft)}.chat-list__search:focus-within,.chat-list__items:focus-visible{box-shadow:inset 0 0 0 2px #315fad2e}.chat-list__search-result{border-color:var(--line);background:#f2f6fc}.chat-pipeline-section__heading{border-color:var(--line);color:var(--text);box-shadow:none;background:#edf2f9f5}.chat-list__items,.message-list{overscroll-behavior:contain;overflow-anchor:none;scrollbar-gutter:stable;scroll-behavior:auto;scrollbar-color:var(--line-strong) transparent;min-height:0;overflow:hidden auto}.chat-list-item{border-color:var(--line);background:var(--surface-list);transition:background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;flex:none}.chat-list-item:hover{background:var(--surface-hover);box-shadow:none}.chat-list-item--mine,.chat-list-item--mine:hover{background:var(--surface-mine)}.chat-list-item.active,.chat-list-item.active:hover{background:var(--surface-selected);box-shadow:inset 3px 0 var(--accent)}.chat-channel-icons .messenger-icon{box-shadow:0 0 0 2px var(--surface-list)}.chat-list-item--mine .chat-channel-icons .messenger-icon{box-shadow:0 0 0 2px var(--surface-mine)}.chat-list-item.active .chat-channel-icons .messenger-icon{box-shadow:0 0 0 2px var(--surface-selected)}.conversation{background:var(--canvas);min-height:0;overflow:hidden}.conversation__header{min-height:68px}.conversation-contact__title>strong{color:var(--text)}.conversation-contact__title>a,.conversation-contact__title>span{color:var(--accent-dark)}.conversation-responsible{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.conversation-ai-toggle{border-color:var(--line-strong);color:var(--muted);background:#fff}.conversation-ai-toggle:hover:not(:disabled){border-color:var(--accent);background:#f4f7fb}.message-list{background:var(--canvas)}.message-bubble{border-color:var(--line);background:#fff;flex:none;box-shadow:0 3px 10px #26344b0a}.message-bubble--manager,.message-bubble--ai{background:#e9f0fc;border-color:#cad9ee}.message-bubble--system{background:#f7f9fc}.message-bubble__actions{transition:opacity var(--motion-fast) ease}.message-composer{box-shadow:0 -1px 0 var(--line)}.message-composer__main{grid-template-columns:40px minmax(0,1fr) auto;align-items:end}.message-composer textarea{background:#f8fafd;grid-area:1/1/auto/-1;min-height:52px}.message-composer__file{grid-area:2/1}.message-composer__quick{grid-area:2/2;justify-self:end}.message-composer__send{grid-area:2/3}.feedback{border-color:var(--line);box-shadow:var(--shadow-raised)}.modal-backdrop,.settings-modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1825398c}.key-dialog,.settings-user-dialog,.settings-confirm-dialog{border-color:var(--line);background:#fff;border-radius:14px;box-shadow:0 18px 48px #18253933}.guided-tour__mask{background:#182539a8}.guided-tour__spotlight{border-color:#7ea5e4;box-shadow:0 0 0 4px #315fad33}.guided-tour__card{animation:cloud-tour-enter var(--motion-fast) ease-out both;background:#fff;border-color:#b9cce7;border-radius:14px;box-shadow:0 18px 48px #1825393d}.guided-tour__card h2{color:var(--text)}.guided-tour__progress{background:var(--soft)}.guided-tour__progress span{background:var(--accent)}.login-page{background:var(--canvas)}.login-card{border-color:var(--line);background:#fff;border-radius:16px;box-shadow:0 12px 34px #26344b1f}.login-card .login-brand .emfy-logo__copy strong,.login-card__intro h1{color:var(--text)}@keyframes cloud-page-enter{0%{opacity:.72}to{opacity:1}}@keyframes cloud-dialog-enter{0%{opacity:.78}to{opacity:1}}@keyframes cloud-tour-enter{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:no-preference){.conversation[data-dialog-id]{animation:cloud-dialog-enter var(--motion-page) ease-out both}}@media (width<=1179px){.sidebar{width:min(var(--sidebar-width), calc(100vw - 20px));box-shadow:14px 0 38px #1825392e}.sidebar-scrim{background:#1825397a}.workspace{margin-left:0}.chat-workspace{grid-template-columns:286px minmax(0,1fr)}}@media (width<=680px){.topbar{border-radius:11px;height:56px;margin:8px 8px 0;padding:0 8px;top:8px}.content{padding:14px 10px 22px}.knowledge-page .section-card__header,.users-page .section-card__header{flex-direction:column;align-items:stretch}.knowledge-page .section-card__header>div,.users-page .section-card__header>div{width:100%;min-width:0}.knowledge-page .section-card__action,.knowledge-page .knowledge-search{width:100%;max-width:100%}.users-page .users-tabs{flex-wrap:wrap;width:100%;overflow-x:visible}.users-page .users-tabs button{flex:auto}.app-shell--dialogs .content{padding:8px 8px 10px}.chat-workspace,.chat-workspace--detail{border-radius:12px;min-height:0}.conversation__header{min-height:0}.conversation-responsible{white-space:normal}.message-list{padding:12px 10px}.message-composer{padding:8px 9px max(9px, env(safe-area-inset-bottom))}.message-composer__main{grid-template-columns:44px minmax(0,1fr) auto}.message-composer textarea{min-height:56px}.message-composer__quick{justify-self:stretch}}@media (width<=360px){.message-composer__quick,.message-composer__send{padding-inline:8px;font-size:11px}.conversation-controls{gap:6px}.conversation-ai-toggle{padding-inline:9px}}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}.route-stage,.chat-workspace--detail .conversation,.feedback,.modal-backdrop,.settings-modal-backdrop,.key-dialog,.guided-tour__card,.status-badge__dot--pulse,.audit-skeleton span,.loading-line,.chat-spinner{animation:none!important}.button,.sidebar,.sidebar-nav button,.sidebar-health,.tour-restart-button,.chat-list-item,.message-bubble__actions,.guided-tour__progress span{transition:none!important}}:root{--sidebar-width:172px;--shell-gap:16px;--dialog-list-width:228px}body{font-size:13px}button,input,textarea,select,summary{font-family:inherit}.sidebar{inset:var(--shell-gap) auto var(--shell-gap) var(--shell-gap)}.sidebar-nav{flex:none;grid-auto-rows:minmax(42px,auto);align-content:start;gap:4px;display:grid}.sidebar-nav button{align-self:start;min-height:42px;padding-block:6px;padding-inline:9px;font-size:12px}.sidebar-nav__label{text-overflow:clip;white-space:normal;overflow:visible}.topbar{top:var(--shell-gap);height:63px;margin:var(--shell-gap) 16px 0}.app-shell--dialogs .topbar{flex-basis:63px}.content{padding:16px}.page-heading h1{font-size:24px;font-weight:500}.section-card__header h2,.provider-heading h2{font-size:16px;font-weight:500}.section-navigation-wrap:empty{display:none}.section-navigation-wrap{flex:none;margin:0 0 12px}.section-navigation{scrollbar-width:thin;gap:6px;max-width:100%;padding:2px;display:flex;overflow-x:auto}.section-navigation button{border:1px solid var(--line);min-height:36px;color:var(--muted);white-space:nowrap;background:#fff;border-radius:9px;flex:none;padding:7px 11px;font-size:12px;font-weight:600}.section-navigation button:hover{border-color:var(--line-strong);color:var(--text);background:#f4f7fb}.section-navigation button.active{background:var(--accent-soft);color:var(--accent-dark);border-color:#bfd1eb}.home-summary{border:1px solid var(--line);background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;min-height:120px;padding:18px 20px;display:flex}.home-summary__copy{gap:5px;max-width:680px;display:grid}.home-summary__copy>span:first-child{color:var(--muted);font-size:12px}.home-summary__copy>strong{color:var(--text);letter-spacing:-.04em;font-size:36px;font-weight:500;line-height:1}.home-summary__copy p{color:var(--muted);margin:4px 0 0;font-size:13px}.home-summary--mapping{background:#fffdf7;border-color:#d8c89b}.home-summary__skeleton{background:linear-gradient(90deg,#e9eef5,#f7f9fc,#e9eef5) 0 0/200% 100%;border-radius:8px;width:76px;height:42px;animation:1.2s linear infinite home-summary-loading}.home-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.home-links button{border:1px solid var(--line);color:var(--text);text-align:left;background:#fff;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:16px;display:grid}.home-links button:hover{border-color:var(--line-strong);background:#f8fafd}.home-links strong{font-size:14px;font-weight:600}.home-links button>span:nth-child(2){color:var(--muted);grid-column:1;font-size:12px}.home-links button>span:last-child{color:var(--accent);grid-area:1/2/span 2;align-self:center;font-size:18px}.connections-grid{gap:16px;display:grid}.connections-provider{border:1px solid var(--line);background:#fff;border-radius:14px;padding:18px}.connections-provider .page-stack{gap:12px}.connections-provider .section-card{box-shadow:none}.provider-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding-bottom:10px;display:flex}.provider-heading h2{margin:0 0 3px}.provider-heading p{color:var(--muted);margin:0;font-size:12px}.app-shell--dialogs .content{padding:16px}.chat-workspace{box-shadow:var(--shadow-soft);border-radius:14px;grid-template-columns:228px minmax(0,1fr)}.chat-list__header{gap:5px;min-height:56px;padding-inline:10px 7px}.chat-list__title{white-space:nowrap;flex:auto;gap:6px}.chat-list__title strong{min-width:0}.chat-list__title>span{min-width:22px;padding-inline:5px}.chat-list__toolbar-actions{flex:none;gap:1px}.chat-list__toolbar-actions .chat-icon-button{width:35px;height:38px;min-height:38px}.chat-list-item{min-height:61px;padding:10px 12px}.chat-list-item__name{font-size:12px;font-weight:600}.conversation__header{min-height:70px;padding:9px 12px}.conversation__header-main{grid-template-columns:minmax(220px,1fr) minmax(120px,auto) auto;align-items:center;gap:8px 12px}.conversation-contact{grid-area:1/1}.conversation-responsible{text-align:right;grid-area:1/2;max-width:min(22vw,230px)}.conversation-controls{grid-area:1/3;justify-content:flex-end}.conversation__header-secondary{justify-content:flex-end;align-items:center;gap:8px;margin-top:4px;padding-top:4px;display:flex}.conversation-no-reply{min-height:32px;padding-block:4px}.message-list{gap:17px;padding:20px 16px}.message-bubble{max-width:min(88%,680px);box-shadow:none;border-radius:13px 13px 13px 3px}.message-bubble--manager,.message-bubble--ai{border-radius:13px 13px 3px}.message-bubble__meta{flex-wrap:wrap;row-gap:3px}.message-bubble__author-role{overflow-wrap:normal;word-break:keep-all;white-space:nowrap}.message-bubble__meta time{white-space:nowrap;margin-left:auto}.message-attachments{min-width:0;max-width:100%}.message-attachment{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.message-attachment__details,.message-attachment__details>*{overflow-wrap:anywhere;min-width:0;max-width:100%}.message-composer{padding:12px 14px}.message-composer textarea{min-height:61px;font-size:12px}.quick-replies{max-width:min(430px,100vw - 32px)}@keyframes home-summary-loading{to{background-position:-200% 0}}@media (width>=761px){.sidebar{width:172px;transform:none!important}.workspace{margin-left:204px}.mobile-menu-button,.sidebar-scrim{display:none!important}.chat-workspace{grid-template-columns:228px minmax(0,1fr)!important}}@media (width>=761px) and (width<=1100px){.conversation__header-main{grid-template-columns:minmax(0,1fr)}.conversation-contact{grid-area:1/1}.conversation-responsible{text-align:left;grid-area:2/1;width:100%;max-width:none}.conversation-controls{grid-area:3/1;justify-content:flex-start}.conversation-controls .conversation-ai-toggle>span:nth-child(2){display:none}}@media (width>=761px) and (width<=900px){.connections-grid,.connections-provider,.connections-provider .page-stack,.connections-provider .section-card,.connections-provider .settings-disclosure,.connections-provider .settings-danger-zone{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.connections-provider{padding:14px}.connections-provider .provider-heading,.connections-provider .section-card__header{flex-direction:column;align-items:stretch;gap:10px}.connections-provider .provider-heading .button,.connections-provider .section-card__action,.connections-provider .section-card__action .button{width:100%;min-width:0}.connections-provider .section-card__content,.connections-provider .settings-disclosure__content{min-width:0;padding:14px}.connections-provider .settings-disclosure>summary,.connections-provider .settings-danger-zone>summary{box-sizing:border-box;overflow-wrap:anywhere;width:100%;min-width:0}.connections-provider .integration-summary,.connections-provider .settings-detail-list,.connections-provider .settings-radio-group,.connections-provider .form-grid{grid-template-columns:minmax(0,1fr)}.connections-provider .form-actions{flex-wrap:wrap;min-width:0}.connections-provider .form-actions .button{white-space:normal;max-width:100%}.connections-provider .settings-danger-zone>div{flex-direction:column;align-items:stretch}.connections-provider .settings-danger-zone .button{width:100%}.connections-provider .wazzup-page .channel-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.connections-provider .wazzup-page .channel-row__provider,.connections-provider .wazzup-page .channel-policy-toggle,.connections-provider .wazzup-page .channel-row__unavailable{grid-column:2;min-width:0;margin-left:0}}@media (width<=760px){.topbar{height:56px;margin:8px 8px 0;top:8px}.content{padding:10px 8px 18px}.section-navigation-wrap{margin-bottom:8px}.section-navigation{margin-inline:-2px;padding-bottom:5px}.home-summary{flex-direction:column;align-items:stretch;min-height:0;padding:18px}.home-summary .button{width:100%}.home-links{grid-template-columns:1fr}.connections-provider{padding:12px}.provider-heading{flex-direction:column;align-items:stretch}.app-shell--dialogs .topbar{flex-basis:56px}.app-shell--dialogs .content{padding:8px 8px 10px}.chat-workspace,.chat-workspace--detail{border-radius:12px;height:auto;min-height:0;display:block}.chat-list{border-right:0;height:100%;min-height:0;max-height:none}.conversation{height:100%;min-height:0;display:none}.chat-workspace--detail .chat-list{display:none}.chat-workspace--detail .conversation{display:flex}.conversation__header{min-height:0;padding:7px 9px}.conversation__header-main{grid-template-columns:minmax(0,1fr);gap:7px}.conversation__back{grid-area:1/1;align-items:center;width:fit-content;min-width:44px;min-height:40px;display:inline-flex}.conversation-contact{grid-area:2/1}.conversation-responsible{white-space:normal;grid-area:3/1;width:100%;max-width:none}.conversation-controls{grid-area:4/1;justify-content:flex-start}.message-list{padding:12px 10px}.message-composer{padding:8px 9px max(9px, env(safe-area-inset-bottom));position:relative;bottom:auto}}
