:root{font-family:Segoe UI,SF Pro Text,system-ui,-apple-system,Roboto,Inter,sans-serif;background-color:#f5f5f5;color:#222;--app-viewport-height: 100vh}body{font-size:15px;line-height:1.45}body,html,#root{margin:0;padding:0;height:100%;overflow-x:hidden}button{cursor:pointer}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.auth-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#5b86e5,#36d1dc)}.auth-card{background:#fff;padding:40px;border-radius:16px;box-shadow:0 20px 40px #00000026;width:320px}.login-form{display:flex;flex-direction:column;gap:16px}.login-form h1{text-align:center;margin-bottom:8px}.login-form label{display:flex;flex-direction:column;font-weight:600;font-size:.9rem}.login-form input{padding:10px;border-radius:8px;border:1px solid #d0d0d0;margin-top:6px;font-size:1rem}.login-form select{padding:10px;border-radius:8px;border:1px solid #d0d0d0;margin-top:6px;font-size:1rem;background-color:#fff}.login-form button{padding:12px;border-radius:8px;border:none;background-color:#5b86e5;color:#fff;font-weight:600;font-size:1rem}.login-form button:disabled{background-color:#c6c6c6;cursor:not-allowed}.error{color:#d14343;font-size:.85rem}.app-container{display:grid;grid-template-columns:minmax(420px,480px) 8px minmax(0,1fr);height:var(--app-viewport-height);min-height:0}.sidebar--hidden,.main-content--hidden{display:none}@media (max-width: 900px){.app-container{grid-template-columns:minmax(420px,480px) 8px minmax(0,1fr)}}@media (max-width: 720px){.app-container{grid-template-columns:minmax(360px,420px) 8px minmax(0,1fr)}}.app-container--mobile{grid-template-columns:1fr;position:relative;overflow:hidden}.app-container--mobile .sidebar,.app-container--mobile .main-content{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:var(--app-viewport-height);overflow-y:auto;transition:transform .28s ease}.app-container--mobile .sidebar{z-index:2;transform:translate(0);box-shadow:4px 0 24px #0f172a2e}.app-container--mobile .sidebar.sidebar--hidden{transform:translate(-100%);pointer-events:none}.app-container--mobile .main-content{display:flex;flex-direction:column;transform:translate(100%);z-index:1;background:#f1f5fb;overflow-y:hidden}.app-container--mobile .main-content--hidden{transform:translate(100%);pointer-events:none}.app-container--mobile .main-content:not(.main-content--hidden){transform:translate(0);z-index:3}.app-container--mobile .sidebar--hidden,.app-container--mobile .main-content--hidden{display:block}@media (max-width: 768px){.chat-window{min-width:0}.chat-window__header{padding:18px 20px}.chat-window__history{padding:16px 16px 108px}.chat-window__composer{padding:14px 18px calc(14px + env(safe-area-inset-bottom))}}.sidebar-resizer{display:block;position:relative;width:100%;height:var(--app-viewport-height);cursor:col-resize}.sidebar-resizer:after{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;transform:translate(-50%);background:#ffffff14;transition:background .15s ease,width .15s ease}.sidebar-resizer:hover:after,.sidebar-resizer.sidebar-resizer--active:after{background:#5b86e5a6;width:3px}@media (max-width: 768px){.sidebar-resizer{display:none}}.sidebar{background:#101722;color:#fff;display:flex;flex-direction:column;height:var(--app-viewport-height);min-height:0;overflow:hidden}.sidebar-header{padding:6px 10px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-header h2{margin:0;font-size:1.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-header__title{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.sidebar-header__actions{display:inline-flex;align-items:center;gap:8px}.sidebar-header__button{background:#ffffff1f;border:none;border-radius:10px;padding:8px;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;color:#f9fafb;font-size:1.05rem;line-height:1;transition:background .2s ease,color .2s ease}.sidebar-header__button.active{background:#5b86e559;color:#fff}.sidebar-header__button:hover,.sidebar-header__button:focus-visible{background:#ffffff38;outline:none}.sidebar-header__button.active:hover,.sidebar-header__button.active:focus-visible{background:#5b86e573}.sidebar-header__icon{display:block;line-height:1}.sidebar-header__button--settings .sidebar-header__icon{font-size:1.1rem}.sidebar-header__button--logout{background:#ffffff14;color:#ff5d5d}.sidebar-header__button--logout:hover,.sidebar-header__button--logout:focus-visible{background:#ff5d5d2e;color:#ff7a7a}.sidebar-header__button--filter{color:#c3cce3}.sidebar-header__button--filter .sidebar-header__filter-icon{width:18px;height:18px}.sidebar-header__button--filter.active{background:#5b86e54d;color:#f0f4ff}.sidebar-header__button--filter.active:hover,.sidebar-header__button--filter.active:focus-visible{background:#5b86e561;color:#fff}.sidebar-header__logout-icon{width:20px;height:20px;fill:currentColor}.chat-sidebar-content{display:grid;grid-template-columns:78px minmax(0,1fr);gap:0;flex:1;min-height:0;padding:10px 0 16px;box-sizing:border-box;overflow:hidden}.chat-groups{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:0;margin:0;background:#0b1320}.chat-group-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;border:none;color:#9ba2b4;font-size:.7rem;padding:6px 0;border-radius:6px;transition:background .2s ease,color .2s ease;font-weight:400;text-align:center;line-height:1.2;cursor:pointer;white-space:normal;width:100%}.chat-group-button:hover,.chat-group-button:focus-visible{background:#5b86e51f;color:#dbe2f3;outline:none}.chat-group-button.active{background:#5b86e533;color:#f2f4ff}.chat-group-button:hover .chat-group-button__icon path,.chat-group-button:focus-visible .chat-group-button__icon path,.chat-group-button.active .chat-group-button__icon path{fill:#d6dcf0}.chat-group-button__icon-wrapper{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:26px}.chat-group-button__icon{width:24px;height:20px}.chat-group-button__icon path{fill:#777f93}.chat-group-button__label{display:block;flex:1;width:100%;margin-top:0;text-align:center;white-space:normal;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.chat-group-badge{position:absolute;top:-6px;right:-10px;min-width:18px;height:18px;border-radius:999px;background:#2f3644;color:#f5f7fb;font-size:.65rem;font-weight:600;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;box-shadow:0 2px 6px #0003}.chat-group-button.active .chat-group-badge{background:#44527a}.chat-group-badge--urgent-active,.chat-group-button.active .chat-group-badge--urgent-active{background:#ff4d4d;color:#fff}.chat-settings-nav{display:flex;padding:4px 0 0}.chat-group-button--settings{width:100%}.chat-group-button--settings .chat-settings-button__icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:18px}.chat-settings-list{display:flex;flex:1;overflow:hidden;padding-top:4px}.chat-list--settings{flex:1;overflow-y:auto}.chat-list-item--button{background:none;border:none;color:inherit;font:inherit;padding:0;margin:0;width:100%;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.chat-list-item--button:focus-visible{outline:2px solid rgba(91,134,229,.6);border-radius:10px}.chat-avatar--settings{box-shadow:0 2px 8px #00000040}.chat-list-container{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:8px;background:#141d2b;padding:0 16px 8px 4px;overflow:hidden}.chat-search{position:relative;display:flex;align-items:center;min-height:40px}.chat-search__input{width:100%;padding:8px 36px 8px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.08);background:#ffffff0f;color:#f5f7fb;font:inherit;outline:none;transition:border-color .2s ease,background .2s ease}.chat-search__input::placeholder{color:#f5f7fb99}.chat-search__input:focus{border-color:#5b86e5cc;background:#ffffff1a}.chat-search__clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:transparent;border:none;color:#f5f7fbb3;font-size:1.2rem;line-height:1;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center}.chat-search__clear:hover,.chat-search__clear:focus-visible{color:#fff}.tag-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 12px}.tag-filter__chips{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 auto}.tag-filter__sorting{position:relative;flex:0 0 auto}.tag-filter__sorting-button{display:inline-flex;align-items:center;gap:6px}.tag-filter__sorting-button:after{content:"▾";font-size:.6rem;line-height:1;transition:transform .2s ease}.tag-filter__sorting-button--open:after{transform:rotate(180deg)}.tag-filter__sorting-menu{position:absolute;top:calc(100% + 6px);left:0;display:flex;flex-direction:column;gap:6px;padding:8px;background:#0f172af2;border:1px solid rgba(255,255,255,.08);border-radius:12px;box-shadow:0 12px 24px #0f172a73;z-index:10;min-width:140px}.tag-filter__sorting-option{width:100%;text-align:left}.tag-filter__chip{border:1px solid rgba(255,255,255,.12);background:#ffffff14;color:#f8fafccc;border-radius:999px;padding:6px 14px;font-size:.8rem;font-weight:600;transition:background .2s ease,border-color .2s ease,color .2s ease;cursor:pointer}.tag-filter__chip:hover,.tag-filter__chip:focus-visible{border-color:#5b86e599;color:#fff}.tag-filter__status{font-size:.8rem;color:#94a3b8d9;flex:1 1 100%}.tag-filter__status--error{background:none;border:none;color:#f87171;cursor:pointer;padding:0;font-weight:600;text-align:left}.tag-filter__reset{margin-left:auto;border:none;background:none;color:#93c5fd;font-size:.8rem;font-weight:600;cursor:pointer}.tag-filter__reset:hover,.tag-filter__reset:focus-visible{color:#bfdbfe}.chat-list{list-style:none;padding:0;margin:0;flex:1;overflow-y:auto;display:flex;flex-direction:column}.chat-list li{padding:8px 10px;border-bottom:1px solid rgba(255,255,255,.05);cursor:pointer;transition:background .2s ease;display:block}.chat-list li:hover{background:#ffffff0d}.chat-list li.active{background:#5b86e540}.chat-list-item{display:flex;align-items:center;gap:8px}.chat-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;text-transform:uppercase;flex-shrink:0}.chat-info{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.chat-info__meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:2px}.chat-info__assignees{font-size:.72rem;color:#ffffffa6;line-height:1.2}.chat-info__meta--task{margin-top:4px;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.chat-info__status{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em;background:#ffffff1a;color:#ffffffbf;padding:2px 8px;border-radius:999px}.chat-info__preview--task-title{font-size:.95rem;font-weight:600;color:#f8fafc;margin-top:2px}.chat-tags--task{margin-top:6px}.chat-info__assignees--snoozed{width:100%}.chat-priority{font-weight:700;font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;line-height:1}.chat-priority--high{color:#9ca3af}.chat-priority--urgent{color:#ef4444}.chat-info__header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.chat-title{font-weight:400;font-size:.95rem;display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:100%}.chat-title__text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-title__lock{flex-shrink:0;font-size:.9rem;line-height:1}.chat-time{font-size:.75rem;color:#fff9;white-space:nowrap}.chat-time--overdue{color:#ef4444}.chat-info__preview{font-size:.82rem;color:#ffffffb3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-tags{margin-top:4px;display:flex;flex-wrap:wrap;gap:4px}.tag-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.82rem;font-weight:500;line-height:1.2}.chat-unread-badge{min-width:22px;height:22px;border-radius:999px;background:#f43f5e;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;padding:0 6px;margin-left:8px}.chat-list li.empty{text-align:center;color:#ffffff80;padding:40px 16px}.main-content{display:flex;flex-direction:column;height:var(--app-viewport-height);min-height:0;background:#f1f5fb;overflow:hidden}.chat-window{display:flex;flex-direction:column;height:100%;min-height:0;background:linear-gradient(180deg,#f8fbff,#eef2f9);width:100%;min-width:40ch}.chat-window--empty{align-items:center;justify-content:center}.chat-window__header{padding:5px 20px;border-bottom:1px solid rgba(148,163,184,.2);display:flex;align-items:center;justify-content:space-between;gap:16px}.chat-window__header-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.chat-window__back-button{border:none;background:#22c55e29;color:#15803d;width:36px;height:36px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:600;transition:background .2s ease,color .2s ease}.chat-window__back-button:hover,.chat-window__back-button:focus-visible{background:#22c55e42;color:#166534;outline:none}.chat-window__back-icon{line-height:1}.chat-window__actions{position:relative;display:inline-flex;align-items:center;flex-shrink:0}.chat-window__action-button{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:12px;border:1px solid rgba(148,163,184,.4);background:#fff;color:#1f2937;font-weight:600;font-size:.95rem;box-shadow:0 10px 24px #0f172a1f;transition:border-color .2s ease,color .2s ease,transform .15s ease}.chat-window__action-button:disabled{opacity:.65;cursor:default;transform:none}.chat-window__action-button:disabled .chat-window__action-caret{opacity:.5}.chat-window__action-button:not(:disabled):hover,.chat-window__action-button:not(:disabled):focus-visible{border-color:#2563eb66;color:#2563eb;outline:none;transform:translateY(-1px)}.chat-window__action-caret{font-size:.85rem;line-height:1}.chat-window__action-menu{position:absolute;top:calc(100% + 8px);right:0;margin:0;padding:6px;list-style:none;background:#fff;border-radius:12px;box-shadow:0 24px 48px #0f172a2e;border:1px solid rgba(148,163,184,.24);min-width:220px;z-index:20}.chat-window__action-menu li{margin:0}.chat-window__action-menu button{width:100%;border:none;background:transparent;padding:10px 12px;border-radius:8px;text-align:left;font-size:.95rem;color:#1f2937;transition:background .15s ease,color .15s ease}.chat-window__action-menu button:hover,.chat-window__action-menu button:focus-visible{background:#2563eb1f;color:#1d4ed8;outline:none}.chat-window__action-menu button.chat-window__action-menu-button--danger{color:#dc2626}.chat-window__action-menu button.chat-window__action-menu-button--danger:hover,.chat-window__action-menu button.chat-window__action-menu-button--danger:focus-visible{background:#dc26261f;color:#b91c1c}.chat-window__title-button{display:inline-flex;flex-direction:column;align-items:flex-start;gap:0;width:100%;text-align:left;border:none;background:transparent;color:#1f2937;padding:0;font:inherit;cursor:pointer;min-width:0}.chat-window__title-button h2{margin:0;font-size:1.25rem;font-weight:600;color:inherit;display:inline-flex;align-items:center;gap:6px;max-width:100%}.chat-window__active-task-alert{color:#dc2626;margin-top:4px}.task-detail__subtitle.chat-window__active-task-alert{color:#dc2626}.task-detail__subtitle.chat-window__active-task-alert span{color:inherit}.theme-dark .chat-window__active-task-alert,.theme-dark .task-detail__subtitle.chat-window__active-task-alert{color:#f87171}.chat-window__priority{display:inline-flex;align-items:center;font-weight:700;font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;margin-left:6px}.chat-window__priority--high{color:#6b7280}.chat-window__priority--urgent{color:#ef4444}.chat-window__title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-window__title-lock{flex-shrink:0;font-size:1.05rem;line-height:1}.chat-window__title-button-icon{font-size:1.1rem;transition:color .2s ease,transform .2s ease}.chat-window__title-button:hover .chat-window__title-button-icon{color:#2563eb;transform:translateY(-1px)}.chat-window__history{position:relative;flex:1;overflow-y:auto;overflow-x:hidden;padding:12px 16px;display:flex;flex-direction:column;gap:0;min-height:0}.chat-window__history>*:not(:first-child){margin-top:6px}.chat-window__history,.chat-list{scrollbar-width:thin;scrollbar-color:#b6c2d7 transparent}.chat-window__history::-webkit-scrollbar,.chat-list::-webkit-scrollbar{width:7px}.chat-window__history::-webkit-scrollbar-track,.chat-list::-webkit-scrollbar-track{background:transparent}.chat-window__history::-webkit-scrollbar-thumb,.chat-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#c7d2e8,#9cb2d8);border-radius:999px;border:none}.chat-window__history::-webkit-scrollbar-button,.chat-list::-webkit-scrollbar-button{display:none}.chat-window__scroll-button{position:absolute;right:24px;bottom:24px;padding:10px 16px;border:none;border-radius:999px;background:#2563ebeb;color:#f8fafc;font-weight:600;box-shadow:0 8px 20px #0f172a2e;display:inline-flex;gap:8px;align-items:center;transition:background .2s ease,transform .2s ease}.chat-window__scroll-button:hover{background:#2563eb;transform:translateY(-2px)}.chat-window__scroll-button-count{min-width:28px;height:28px;border-radius:999px;background:#0f172a33;color:#f8fafc;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}.chat-window__scroll-button-label{white-space:nowrap;font-weight:600}.chat-window__scroll-button-icon{font-size:1.1rem;line-height:1}.chat-window__placeholder,.chat-window__empty-history{color:#94a3b8;font-size:1.05rem;text-align:center}.chat-window__placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:320px}.chat-window__placeholder p{margin:0;line-height:1.4}.chat-window__placeholder-icon{width:64px;height:64px;border-radius:16px;background:#94a3b82e;display:flex;align-items:center;justify-content:center;font-size:1.6rem}.chat-window__loading{align-self:center;padding:6px 14px;border-radius:999px;background:#3b82f626;color:#1d4ed8;font-size:.75rem;font-weight:600;display:inline-flex;align-items:center;gap:8px}.chat-window__history-loader{align-self:center;padding:4px 12px;border-radius:999px;background:#0f172a14;color:#475569;font-size:.72rem;font-weight:600;display:inline-flex;align-items:center;gap:8px}.chat-window__initial-loading{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#475569;font-weight:600;text-align:center}.chat-window__spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(71,85,105,.35);border-top-color:#475569e6;animation:chat-spin .7s linear infinite}.chat-window__spinner--lg{width:24px;height:24px;border-width:3px}@keyframes chat-spin{to{transform:rotate(360deg)}}.message-date-divider{align-self:center;padding:4px 12px;border-radius:999px;background:#0f172a14;color:#1e293b;font-size:.72rem;font-weight:600;text-transform:capitalize}.message-row{display:flex;align-items:flex-start;gap:6px;max-width:70%;align-self:flex-start}.message-row--pending .message-bubble{opacity:.7;position:relative}.chat-window__history>.message-row+.message-row{margin-top:6px}.chat-window__history>.message-row.message-row--agent-self+.message-row.message-row--agent-self,.chat-window__history>.message-row.message-row--agent-other+.message-row.message-row--agent-other,.chat-window__history>.message-row.message-row--customer+.message-row.message-row--customer,.chat-window__history>.message-row.message-row--private+.message-row.message-row--private{margin-top:3px}.message-row--customer{align-self:flex-start}.message-row--agent{align-self:flex-start;text-align:left}.message-avatar{width:32px;height:32px;border-radius:50%;background:#dbeafe;color:#1d4ed8;display:inline-flex;align-items:center;justify-content:center;font-weight:600;text-transform:uppercase;font-size:.9rem;flex-shrink:0;box-shadow:0 4px 12px #0f172a14}.message-row--agent .message-avatar{background:#fee2e2;color:#be123c}.message-content{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}.message-bubble__header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:.72rem;color:#475569}.message-bubble__meta{display:flex;align-items:center;gap:8px}.message-result-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;background:#22c55e26;color:#15803d;font-size:.7rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.message-author{font-weight:600}.message-author-button{font-weight:600;padding:0;margin:0;border:none;background:none;color:inherit;cursor:pointer}.message-author-button:hover,.message-author-button:focus-visible{text-decoration:underline}.message-author-button:focus-visible{outline:2px solid #2563eb;outline-offset:2px;border-radius:4px}.message-time{opacity:.75}.message-time__status{margin-left:6px;display:inline-flex;align-items:center;font-size:.85em;line-height:1}.message-time__status--pending{opacity:.85}.message-time__status--sent{opacity:.65}.message-bubble{padding:8px 12px;border-radius:16px;background:#fff;box-shadow:0 6px 20px #0f172a14;font-size:.9rem;color:#0f172a;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:4px}.message-bubble--with-reply{gap:8px}.message-row--agent .message-bubble{background:#fff;color:#0f172a}.message-row--agent-self .message-bubble{background:#e6f4ea}.message-row--agent-other .message-bubble{background:#fde2e8}.message-row--private .message-bubble{background:#1f2937;color:#e2e8f0;box-shadow:0 10px 28px #0f172a66}.message-row--private .message-bubble__header{color:#e2e8f0b3}.message-row--private .message-author{color:#f8fafc}.message-row--private .message-time,.message-time--private{color:#e2e8f0d9}.message-time__lock{margin-left:6px;display:inline-flex;align-items:center;font-size:.9em}.message-row--private .message-text a{color:#93c5fd}.message-row--private .message-reply{background:#94a3b82e;border-left-color:#e2e8f099}.message-row--private .message-caption{color:#e2e8f0}.message-bubble--private{border:1px solid rgba(226,232,240,.06)}.message-reply{display:flex;flex-direction:column;gap:4px;align-items:flex-start;padding:8px 12px;border-radius:12px;border-left:3px solid rgba(59,130,246,.6);background:#3b82f614;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .2s ease,border-color .2s ease}.message-reply:hover{background:#3b82f61f}.message-reply:focus-visible{outline:2px solid rgba(59,130,246,.35);outline-offset:2px}.message-reply__author{font-weight:600;font-size:.8rem;color:#2563ebf2}.message-reply__text{font-size:.85rem;color:#0f172ad9}.message-row--agent .message-reply{align-items:flex-start;border-left:3px solid rgba(59,130,246,.6);border-right:none;background:#3b82f614;text-align:left}.message-row--agent .message-reply:hover{background:#3b82f61f}.message-row--agent .message-reply__author{color:#2563ebf2}.message-row--agent .message-reply__text{color:#0f172ad9}.message-reply--missing{cursor:default;border-left-color:#94a3b899;background:#94a3b826;pointer-events:none}.message-reply--missing .message-reply__text{color:#475569bf}.message-row--agent .message-reply--missing{border-left-color:#94a3b899;background:#94a3b826}.message-row--agent .message-reply--missing .message-reply__text{color:#475569bf}.message-row--highlight .message-bubble{box-shadow:0 0 0 3px #3b82f659,0 6px 24px #0f172a40}.message-unread-divider{align-self:center;padding:6px 18px;border-radius:999px;background:#2563eb26;color:#1d4ed8;font-size:.75rem;font-weight:700;text-transform:uppercase}.chat-event-entry{align-self:center;display:inline-flex;flex-wrap:wrap;gap:6px;padding:8px 16px;border-radius:999px;background:#0f172a1f;color:#1f2937;font-size:.85rem;font-weight:500;text-align:center;max-width:80%;box-shadow:inset 0 1px #ffffff59}.chat-event-entry__timestamp{font-weight:600;color:#0f172abf}.chat-event-entry__text{color:#1f2937}.message-media-wrapper{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.message-media{border-radius:14px;overflow:hidden;max-width:min(320px,70vw);width:100%;box-shadow:0 6px 20px #0f172a26}.message-media--image{position:relative;display:flex;align-items:center;justify-content:center;width:min(280px,70vw);aspect-ratio:7 / 4;background-color:#fff}.message-media__image{width:100%;height:100%;object-fit:contain}.message-media--clickable{cursor:zoom-in}.message-media--video{background:#000;max-height:260px}.message-media--video-placeholder{position:relative;display:flex;align-items:center;justify-content:center;min-height:180px;padding:0;border:none;background:linear-gradient(135deg,#1e293bd9,#0f172af2);color:#f8fafc;overflow:hidden}.message-media--video-placeholder img{width:100%;height:100%;object-fit:cover;filter:blur(4px);transform:scale(1.05);opacity:.75}.message-media-placeholder-overlay{position:absolute;width:48px;height:48px;border-radius:50%;background:#0f172ab3;display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:#f8fafc;box-shadow:0 8px 20px #0f172a59}.message-media-placeholder-text{position:absolute;bottom:16px;left:50%;transform:translate(-50%);padding:6px 14px;border-radius:999px;background:#0f172abf;color:#f8fafc;font-size:.8rem;font-weight:600;letter-spacing:.01em}.message-media--video-placeholder:focus-visible{outline:3px solid rgba(59,130,246,.8);outline-offset:2px}.message-media--audio{width:260px}.message-caption{font-size:.85rem;color:#0f172a}.message-caption a{color:#1d4ed8;text-decoration:underline}.message-caption a:hover,.message-caption a:focus{text-decoration-thickness:2px}.message-file-link{font-size:.85rem;font-weight:600;color:#1d4ed8;text-decoration:none;border-bottom:1px solid rgba(29,78,216,.4)}.message-file-name{font-size:.8rem;color:#0f172abf}.message-text{white-space:pre-wrap}.message-text__operator-prefix{font-weight:700}.message-text a{color:#1d4ed8;text-decoration:underline;word-break:break-word}.message-text a:hover,.message-text a:focus{text-decoration-thickness:2px}.message-text--empty{font-style:italic;opacity:.7}.message-text--deleted{font-style:italic;opacity:.7;color:#0f172a99}.chat-window__composer{display:flex;align-items:center;flex-wrap:wrap;background:#fff}.chat-window__reply-preview{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#3b82f61f;border:1px solid rgba(59,130,246,.25);border-radius:12px;flex:0 0 100%}.chat-window__reply-preview-content{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 14px}.chat-window__reply-preview-label{font-weight:600;font-size:.85rem;color:#2563eb}.chat-window__reply-preview-text{font-size:.85rem;color:#0f172a;opacity:.85;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}.chat-window__reply-preview-close{background:transparent;border:none;color:#1e293b;font-size:1.1rem;width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,color .2s ease}.chat-window__reply-preview-close:hover,.chat-window__reply-preview-close:focus-visible{background:#3b82f62e;color:#0f172a;outline:none}.chat-window__composer--disabled .chat-window__reply-preview{opacity:.6}.chat-window__context-menu{position:fixed;z-index:3000;background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:12px;box-shadow:0 16px 40px #0f172a2e;padding:6px 0;min-width:160px}.chat-window__context-menu button{width:100%;background:transparent;border:none;padding:10px 18px;text-align:left;font-size:.9rem;color:#0f172a;cursor:pointer}.chat-window__context-menu button:hover,.chat-window__context-menu button:focus-visible{background:#3b82f61f;outline:none}.chat-window__attach{border:none;background:transparent;color:#475569;font-weight:600;border-radius:12px;transition:background .2s ease;display:inline-flex;align-items:center;justify-content:center}.chat-window__attach:hover:not(:disabled){background:#94a3b833}.chat-window__attach:disabled{color:#94a3b8;cursor:not-allowed}.chat-window__private-toggle{border:none;background:transparent;color:#475569;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease;cursor:pointer}.chat-window__private-toggle:hover:not(:disabled),.chat-window__private-toggle:focus-visible{background:#94a3b833;outline:none}.chat-window__private-toggle:disabled{color:#94a3b8;cursor:not-allowed}.chat-window__private-toggle--active{background:#1f2937;color:#f8fafc}.chat-window__private-toggle--active:hover:not(:disabled),.chat-window__private-toggle--active:focus-visible{background:#111827}.chat-window__private-toggle-icon svg{display:block}.task-comment__result-toggle{border:none;background:transparent;color:#475569;border-radius:12px;width:44px;height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.task-comment__result-toggle:hover:not(:disabled),.task-comment__result-toggle:focus-visible{background:#94a3b833;outline:none}.task-comment__result-toggle:disabled{color:#94a3b8;cursor:not-allowed}.task-comment__result-toggle--active{background:linear-gradient(135deg,#22c55e,#16a34a);color:#f0fdf4;box-shadow:0 6px 16px #16a34a59}.task-comment__result-toggle--active:hover:not(:disabled),.task-comment__result-toggle--active:focus-visible{background:linear-gradient(135deg,#16a34a,#15803d)}.chat-window__composer textarea{flex:1;width:100%;border:none;font-size:1rem;font-family:inherit;line-height:1.4;resize:none;max-height:160px;overflow-y:auto;background:inherit;outline:none;box-shadow:none}.chat-window__composer textarea:focus,.chat-window__composer textarea:focus-visible{background:inherit;outline:none;box-shadow:none}.chat-window__composer-input{position:relative;flex:1;display:flex}.chat-window__template-suggestions{position:absolute;left:0;right:0;bottom:calc(100% + 8px);background:#fff;border:1px solid rgba(15,23,42,.12);border-radius:12px;box-shadow:0 18px 36px #0f172a2e;padding:6px;max-height:208px;overflow-y:auto;z-index:25}.chat-window__template-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.chat-window__template-item{width:100%;border:none;background:transparent;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;cursor:pointer;transition:background .2s ease,box-shadow .2s ease;color:#0f172a}.chat-window__template-item:hover,.chat-window__template-item:focus-visible{background:#3b82f61f;box-shadow:inset 0 0 0 1px #3b82f659;outline:none}.chat-window__template-item--active{background:#3b82f61f;box-shadow:inset 0 0 0 1px #3b82f659}.chat-window__template-command{font-weight:600;font-size:.95rem;color:#1f2937}.chat-window__template-description{font-size:.85rem;color:#475569;line-height:1.4;width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-word}.chat-window__composer textarea:disabled{background:#f8fafc}.chat-window__composer button[type=submit]{border-radius:12px;border:none;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-weight:600;font-size:.95rem;display:inline-flex;align-items:center;justify-content:center}.chat-window__send,.chat-window__attach,.chat-window__private-toggle{width:44px;height:44px;min-width:44px;padding:0}.chat-window__take-button,.chat-window__join-button{height:44px;min-width:140px;padding:0 18px;border:none;border-radius:12px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-weight:400;font-size:.95rem;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.chat-window__take-button:disabled,.chat-window__join-button:disabled{background:#86efac;cursor:not-allowed;box-shadow:none}.chat-window__take-button:not(:disabled):hover,.chat-window__join-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 6px 16px #16a34a59}.chat-window__take-button:not(:disabled):active,.chat-window__join-button:not(:disabled):active{transform:translateY(0);box-shadow:0 3px 10px #16a34a66}.chat-window__send span[aria-hidden=true]{font-size:1.1rem}@media (max-width: 640px){.chat-window__composer{gap:6px;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}.chat-window__send,.chat-window__attach,.chat-window__private-toggle{width:40px;height:40px;min-width:40px}.chat-window__take-button,.chat-window__join-button{height:40px;min-width:120px;padding:0 16px;border-radius:10px}}.chat-window__composer button[type=submit]:disabled{background:#cbd5e1;cursor:not-allowed;color:#e2e8f0}.chat-window__composer-hint{padding:10px 24px;background:#3b82f61f;color:#1d4ed8;font-size:.85rem;font-weight:600;text-align:center}.chat-window__active-tasks{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}.chat-window__active-tasks-label{font-weight:700}.chat-window__active-tasks-list{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.chat-window__active-task-link{background:transparent;border:none;color:inherit;cursor:pointer;font:inherit;padding:0;text-decoration:underline}.chat-window__active-task-link:hover,.chat-window__active-task-link:focus-visible{text-decoration-thickness:2px;outline:none}.chat-window__composer--disabled{opacity:.85}.chat-window__composer--disabled textarea,.chat-window__composer--disabled .chat-window__attach{cursor:not-allowed}button.button--secondary{background:#f1f5f9;color:#1f2937;border:1px solid #cbd5e1}button.button--primary{padding:10px 18px;border-radius:8px;border:none;background:#5b86e5;color:#fff;font-weight:600;transition:background .2s ease,box-shadow .2s ease}button.button--primary:hover:not(:disabled),button.button--primary:focus-visible{background:#4a75d4;box-shadow:0 0 0 3px #5b86e540;outline:none}button.button--primary:disabled{background:#9db4f2;cursor:not-allowed;opacity:.8}button.button--secondary:hover:not(:disabled){background:#e2e8f0}button.button--secondary:disabled{opacity:.6;cursor:not-allowed}button.button--danger{background:#fee2e2;color:#b91c1c;border:1px solid #fecaca}button.button--danger:hover:not(:disabled){background:#fecaca}button.button--danger:disabled{opacity:.6;cursor:not-allowed}.chat-info-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1100;pointer-events:none}.chat-info-modal__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a73;pointer-events:auto}.chat-info-modal__dialog{position:relative;background:#fff;border-radius:24px;width:min(920px,calc(100% - 48px));max-width:960px;padding:32px;box-shadow:0 28px 48px #0f172a40;display:flex;flex-direction:column;gap:24px;max-height:90vh;overflow:hidden;pointer-events:auto}.chat-info-modal__close{position:absolute;top:16px;right:16px;border:none;background:transparent;font-size:1.5rem;color:#475569;cursor:pointer}.chat-info-modal__header{display:flex;flex-direction:column;gap:16px}.chat-info-modal__title-display{display:flex;align-items:center;gap:12px}.chat-info-modal__title-display h3{margin:0;font-size:1.5rem;color:#0f172a}.chat-info-modal__title-edit{display:flex;flex-direction:column;gap:12px}.chat-info-modal__title-edit input{padding:12px 16px;border-radius:12px;border:1px solid #cbd5e1;font-size:1rem;font-family:inherit}.chat-info-modal__actions{display:flex;gap:12px;flex-wrap:wrap}.chat-info-modal__body{display:grid;grid-template-columns:220px 1fr;gap:24px;min-height:320px;flex:1;min-width:0;min-height:0;overflow:hidden}.chat-info-modal__menu{display:flex;flex-direction:column;gap:8px}.chat-info-modal__menu-button{border:none;background:#f1f5f9;padding:12px 16px;border-radius:12px;text-align:left;font-weight:600;color:#1f2937;transition:background .2s ease,color .2s ease}.chat-info-modal__menu-button:hover{background:#e2e8f0}.chat-info-modal__menu-button:disabled{cursor:default;opacity:.6}.chat-info-modal__menu-button--active{background:#2563eb;color:#f8fafc}.chat-info-modal__menu-placeholder{color:#94a3b8;font-style:italic;padding:8px 0}.chat-info-modal__content{display:flex;flex-direction:column;gap:16px;min-width:0;flex:1;min-height:0}.chat-info-modal__visibility{display:flex;flex-direction:column;gap:12px}.chat-info-modal__visibility-description{margin:0;color:#475569}.chat-info-modal__visibility-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.chat-info-modal__visibility-item{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:#f8fafc}.chat-info-modal__visibility-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#1f2937}.chat-info-modal__visibility-label input{cursor:pointer}.chat-info-modal__visibility-note{font-size:.85rem;color:#64748b}.chat-info-modal__priority{display:flex;flex-direction:column;gap:16px}.chat-info-modal__priority-description{margin:0;color:#475569}.chat-info-modal__priority-options{display:flex;flex-direction:column;gap:12px}.chat-info-modal__priority-option{display:flex;flex-direction:column;gap:8px;padding:12px 16px;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:#f8fafc}.chat-info-modal__priority-option-header{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}.chat-info-modal__priority-option-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:600;color:#1f2937}.chat-info-modal__priority-option input{cursor:pointer;accent-color:#2563eb}.chat-info-modal__priority-mark{font-weight:700;letter-spacing:.2em;text-transform:uppercase;font-size:.85rem}.chat-info-modal__priority-mark--normal{color:#94a3b8}.chat-info-modal__priority-mark--high{color:#6b7280}.chat-info-modal__priority-mark--urgent{color:#ef4444}.chat-info-modal__priority-option-note{font-size:.82rem;color:#475569;line-height:1.4;margin-left:32px}.chat-info-modal__tags{display:flex;flex-direction:column;gap:16px}.chat-info-modal__tags-preview{display:flex;flex-wrap:wrap;gap:6px;min-height:32px;align-items:center}.chat-info-modal__tags-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:220px;overflow-y:auto}.chat-info-modal__tags-item{display:flex;align-items:stretch;border-radius:12px;border:1px solid rgba(148,163,184,.35);background:#f8fafc}.chat-info-modal__tags-label{flex:1;display:flex;align-items:center;gap:12px;padding:10px 14px;font-weight:500;color:#1f2937}.chat-info-modal__tags-label input{cursor:pointer}.chat-info-modal__tags .tag-pill{font-size:.82rem;font-weight:500}.settings-tags__colors{display:flex;flex-wrap:wrap;gap:16px;margin:12px 0 0}.settings-tags__colors label{display:flex;flex-direction:column;gap:6px;font-size:.85rem;color:#475569}.settings-tags__colors input[type=color]{width:56px;height:36px;padding:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;cursor:pointer}.settings-tags__name{display:flex;flex-direction:column;gap:6px}.settings-tags__name .tag-pill{align-self:flex-start}.settings-section__textarea{width:100%;min-height:96px;padding:10px 14px;border:1px solid #cbd5e1;border-radius:12px;font-size:.95rem;line-height:1.4;resize:vertical;transition:border-color .2s ease,box-shadow .2s ease;font-family:inherit}.settings-section__textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.settings-templates__info{display:flex;flex-direction:column;gap:8px}.settings-templates__preview{font-size:.9rem;color:#475569;background:#f8fafc;border-radius:10px;padding:10px 12px;max-width:480px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4;word-break:break-word}.chat-info-modal__loading{display:flex;align-items:center;gap:10px;color:#475569}.chat-info-modal__content-body{flex:1;min-height:0;overflow-y:auto;padding-right:8px}.chat-info-modal__content-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-info-modal__content-header h4{margin:0;font-size:1.2rem;color:#0f172a}.chat-info-modal__icon-button{border:none;background:transparent;color:#475569;cursor:pointer;font-size:1.1rem;transition:color .2s ease}.chat-info-modal__icon-button:hover{color:#2563eb}.chat-info-modal__textarea{width:100%;min-height:220px;border-radius:12px;border:1px solid #cbd5e1;padding:12px 16px;font-size:1rem;font-family:inherit;line-height:1.5;resize:vertical}.chat-info-modal__content-text{background:#f8fafc;border-radius:16px;padding:18px 20px;border:1px solid rgba(148,163,184,.25);min-height:220px;display:flex;align-items:flex-start}.chat-info-modal__content-text p{margin:0;white-space:pre-wrap;color:#1f2937}.chat-info-modal__content-text a{color:#2563eb;text-decoration:underline;word-break:break-word}.chat-info-modal__content-text a:hover,.chat-info-modal__content-text a:focus{text-decoration-thickness:2px}.chat-info-modal__error{color:#dc2626;margin:0;font-size:.9rem}.chat-info-modal__hint{margin:8px 0 0;font-size:.9rem;color:#475569}.chat-info-modal__empty{color:#64748b;font-style:italic}.operator-modal{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1300}.operator-modal__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a8c}.operator-modal__dialog{position:relative;background:#fff;border-radius:16px;width:min(420px,92vw);max-height:80vh;overflow:hidden;box-shadow:0 30px 60px #0f172a59;display:flex;flex-direction:column;z-index:1310}.operator-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid rgba(148,163,184,.2)}.operator-modal__header h3{margin:0;font-size:1.1rem;color:#1f2937}.operator-modal__close{border:none;background:transparent;font-size:1.5rem;line-height:1;color:#64748b;cursor:pointer;transition:color .2s ease}.operator-modal__close:hover,.operator-modal__close:focus-visible{color:#1f2937;outline:none}.operator-modal__body{padding:16px 24px;display:flex;flex-direction:column;gap:12px;overflow-y:auto}.operator-modal__status{text-align:center;font-size:.95rem;color:#475569;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center}.operator-modal__status--error{color:#b91c1c}.operator-modal__retry{border:1px solid rgba(59,130,246,.4);background:#3b82f61a;color:#1d4ed8;border-radius:10px;padding:8px 14px;font-weight:600}.operator-modal__retry:hover,.operator-modal__retry:focus-visible{background:#3b82f62e;outline:none}.operator-modal__list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.operator-modal__list li{margin:0}.operator-modal__operator-button{width:100%;border:1px solid rgba(148,163,184,.35);background:#f8fafc;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;color:#1f2937;transition:border-color .2s ease,background .2s ease}.operator-modal__operator-button:hover,.operator-modal__operator-button:focus-visible{border-color:#2563eb80;background:#2563eb14;outline:none}.operator-modal__operator-name{font-weight:600}.operator-modal__operator-username{font-size:.85rem;color:#64748b}.operator-modal__footer{padding:16px 24px;border-top:1px solid rgba(148,163,184,.2);display:flex;justify-content:flex-end}.operator-modal__cancel{border:1px solid rgba(148,163,184,.4);background:#f1f5f9;color:#1f2937;padding:10px 18px;border-radius:10px;font-weight:600}.operator-modal__cancel:hover,.operator-modal__cancel:focus-visible{background:#e2e8f0;outline:none}.contact-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:center;justify-content:center}.contact-modal__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000059;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.contact-modal__dialog{position:relative;z-index:1;background:#fff;border-radius:16px;width:min(520px,calc(100% - 24px));box-shadow:0 12px 40px #0f172a2e;outline:none}.contact-modal__header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e5e7eb}.contact-modal__header h3{margin:0;font-size:1.1rem}.contact-modal__header-actions{display:flex;align-items:center;gap:8px}.contact-modal__close{border:none;background:none;font-size:1.4rem;cursor:pointer;line-height:1}.contact-modal__edit{width:32px;height:32px;border-radius:50%;border:1px solid #d1d5db;background:#fff;font-size:1rem;cursor:pointer;line-height:1;display:inline-flex;align-items:center;justify-content:center}.contact-modal__edit:disabled{opacity:.7;cursor:not-allowed}.contact-modal__edit:hover:not(:disabled),.contact-modal__edit:focus-visible:not(:disabled){background:#f3f4f6;outline:none}.contact-modal__close:hover,.contact-modal__close:focus-visible{color:#ef4444}.contact-modal__body{padding:16px 20px 8px;display:flex;flex-direction:column;gap:12px}.contact-modal__meta{display:grid;gap:6px;padding:10px;border-radius:12px;background:#f9fafb;border:1px solid #e5e7eb}.contact-modal__meta-line{display:flex;justify-content:space-between;gap:8px;font-size:.92rem}.contact-modal__meta-label{color:#6b7280}.contact-modal__meta-value{font-weight:600;color:#111827;word-break:break-word}.contact-modal__status{padding:10px 12px;border-radius:10px;background:#f3f4f6;color:#374151}.contact-modal__status--error{background:#fef2f2;color:#b91c1c}.contact-modal__retry{margin-top:6px;padding:8px 12px;border-radius:10px;border:1px solid #ef4444;background:#fff;color:#b91c1c;cursor:pointer;font-weight:600}.contact-modal__retry:hover,.contact-modal__retry:focus-visible{background:#fee2e2}.contact-modal__field{display:flex;flex-direction:column;gap:6px}.contact-modal__field-label{font-weight:600;color:#374151}.contact-modal__field-value{padding:10px 12px;border-radius:10px;border:1px solid #e5e7eb;background:#f9fafb;color:#111827;min-height:42px;display:flex;align-items:center}.contact-modal__field input{padding:10px 12px;border-radius:10px;border:1px solid #d1d5db;font-size:1rem}.contact-modal__field input:disabled{background:#f3f4f6;color:#6b7280}.contact-modal__phone-link{display:inline-flex;align-items:center;gap:6px;padding:10px 12px;border-radius:10px;border:1px solid #e5e7eb;background:#f9fafb;color:#2563eb;text-decoration:none;font-weight:600;width:fit-content}.contact-modal__phone-link:hover,.contact-modal__phone-link:focus-visible{background:#eff6ff;outline:none}.contact-modal__footer{display:flex;justify-content:flex-end;gap:10px;padding:12px 20px 16px}.contact-modal__cancel,.contact-modal__save{padding:10px 16px;border-radius:10px;cursor:pointer;font-weight:600}.contact-modal__cancel{border:1px solid #d1d5db;background:#fff}.contact-modal__save{border:none;background:#2563eb;color:#fff}.contact-modal__save:disabled{opacity:.7;cursor:not-allowed}.snooze-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;align-items:center;justify-content:center}.snooze-modal__overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#1118278c}.snooze-modal__dialog{position:relative;background-color:#1f2937;color:#f9fafb;border-radius:12px;width:min(420px,92vw);box-shadow:0 24px 60px #0f172a73;outline:none}.snooze-modal__form{display:flex;flex-direction:column}.snooze-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;border-bottom:1px solid rgba(148,163,184,.25)}.snooze-modal__header h3{margin:0;font-size:1.1rem;font-weight:600}.snooze-modal__close{border:none;background:none;color:inherit;font-size:1.5rem;line-height:1;cursor:pointer;padding:4px 6px;border-radius:6px}.snooze-modal__close:hover,.snooze-modal__close:focus-visible{background-color:#94a3b840;outline:none}.snooze-modal__body{padding:20px 24px;display:flex;flex-direction:column;gap:16px}.snooze-modal__toggle{display:flex;align-items:center;gap:12px;font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none}.snooze-modal__toggle input{width:20px;height:20px}.snooze-modal__schedule{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.snooze-modal__schedule--disabled{opacity:.5}.snooze-modal__field{display:flex;flex-direction:column;gap:6px;font-size:.85rem}.snooze-modal__label{color:#e5e7ebcc}.snooze-modal__field input{padding:10px 12px;border-radius:8px;border:1px solid rgba(148,163,184,.4);background-color:#111827;color:#f9fafb;font-size:.95rem}.snooze-modal__field input:disabled{cursor:not-allowed;opacity:.6}.snooze-modal__return{border:1px solid rgba(148,163,184,.35);border-radius:8px;padding:12px 16px;display:flex;flex-direction:column;gap:10px}.snooze-modal__return legend{padding:0 6px;font-size:.85rem;color:#e5e7ebb3}.snooze-modal__option{display:flex;align-items:center;gap:10px;font-size:.9rem}.snooze-modal__option input{width:18px;height:18px}.snooze-modal__error{color:#f87171;font-size:.85rem}.snooze-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px 24px;border-top:1px solid rgba(148,163,184,.2)}.snooze-modal__button{border:none;border-radius:8px;padding:10px 18px;font-size:.95rem;font-weight:500;cursor:pointer;transition:background-color .2s ease,color .2s ease}.snooze-modal__button:disabled{opacity:.6;cursor:not-allowed}.snooze-modal__button--secondary{background-color:transparent;color:#e5e7ebd9;border:1px solid rgba(148,163,184,.4)}.snooze-modal__button--secondary:hover,.snooze-modal__button--secondary:focus-visible{background-color:#94a3b82e}.snooze-modal__button--primary{background-color:#2563eb;color:#fff}.snooze-modal__button--primary:hover,.snooze-modal__button--primary:focus-visible{background-color:#1d4ed8}@media (max-width: 900px){.chat-info-modal__dialog{width:min(720px,calc(100% - 32px));padding:24px}.chat-info-modal__body{grid-template-columns:1fr;overflow-y:auto}.chat-info-modal__content-body{padding-right:0}.chat-info-modal__menu{flex-direction:row;overflow-x:auto;padding-bottom:8px}.chat-info-modal__menu-button{flex:1 0 auto;text-align:center}}.settings-section{margin-top:32px;display:flex;flex-direction:column;gap:16px}.settings-section h3{margin:0;font-size:1.2rem;color:#1f2937}.settings-theme-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-theme-toggle__label{font-weight:600;font-size:.95rem}.settings-theme-toggle__switch{position:relative;display:inline-flex;align-items:center;width:46px;height:24px}.settings-theme-toggle__switch input{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;opacity:0;cursor:pointer}.settings-theme-toggle__slider{display:inline-block;width:100%;height:100%;border-radius:999px;background:#0f172a40;transition:background .2s ease;position:relative}.settings-theme-toggle__slider:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 3px 6px #0f172a40;transition:transform .2s ease}.settings-theme-toggle__switch input:checked+.settings-theme-toggle__slider{background:#5b86e5a6}.settings-theme-toggle__switch input:checked+.settings-theme-toggle__slider:after{transform:translate(22px)}.settings-theme-toggle__switch input:focus-visible+.settings-theme-toggle__slider{box-shadow:0 0 0 3px #2563eb59}.settings-section__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.settings-section__item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:12px}.settings-section__item--dragging{opacity:.6}.settings-section__item--drag-over{border-color:#2563eb73;box-shadow:0 0 0 2px #3b82f62e}.settings-section__item-content{display:flex;align-items:flex-start;gap:12px}.settings-section__item-body{flex:1;display:flex;flex-direction:column;gap:12px}.settings-section__drag-handle{border:none;background:transparent;color:#94a3b8;cursor:grab;padding:4px;font-size:1.2rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.settings-section__drag-handle:hover:not(:disabled),.settings-section__drag-handle:focus-visible{color:#2563eb;background:#2563eb14}.settings-section__drag-handle:active:not(:disabled){cursor:grabbing}.settings-section__drag-handle:disabled{cursor:not-allowed;color:#cbd5f5}.settings-working-hours{display:flex;flex-direction:column;gap:16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:16px}.settings-working-hours__group{display:flex;flex-direction:column;gap:12px}.settings-working-hours__label{font-weight:600;color:#1f2937}.settings-working-hours__days{display:flex;flex-wrap:wrap;gap:12px}.settings-working-hours__day{display:flex;align-items:center;gap:8px;font-size:.95rem;color:#1f2937}.settings-working-hours__day input{width:18px;height:18px}.settings-working-hours__row{display:flex;flex-wrap:wrap;gap:16px}.settings-working-hours__row label{flex:1 1 160px;display:flex;flex-direction:column;gap:4px}.settings-working-hours__row input[type=time]{padding:8px;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem}.settings-working-hours textarea{width:100%;padding:8px;border:1px solid #d1d5db;border-radius:8px;font-size:.95rem;resize:vertical}.settings-working-hours__hint{display:block;margin-top:4px;font-size:.85rem;color:#6b7280}.settings-working-hours__toggle{display:flex;align-items:center;gap:12px;font-size:.95rem;color:#1f2937}.settings-working-hours__toggle input{width:18px;height:18px}.settings-section__toggle{display:flex;align-items:center;gap:12px;font-size:.95rem;color:#1f2937}.settings-section__toggle input{width:18px;height:18px}.settings-form__actions{margin-top:16px;display:flex;align-items:center;gap:16px}.settings-form__actions .status{margin:0}.settings-notifications__item{flex-direction:row;align-items:center;justify-content:space-between}.settings-notifications__label{display:flex;align-items:center;gap:12px;font-size:.95rem;color:#1f2937;cursor:pointer}.settings-notifications__label input[type=checkbox]{width:18px;height:18px}.settings-section__row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.settings-section__info{display:flex;flex-direction:column;gap:6px;flex:1;min-width:220px}.settings-section__name{font-weight:600;color:#1f2937;display:flex;align-items:center;gap:8px}.settings-section__badge{font-size:.75rem;background:#e2e8f0;color:#475569;border-radius:999px;padding:4px 10px;text-transform:uppercase;letter-spacing:.05em}.settings-section__actions{display:flex;gap:8px;flex-wrap:wrap}.settings-section__access{display:flex;gap:16px;flex-wrap:wrap}.settings-section__access label{display:flex;flex-direction:column;font-size:.9rem;color:#475569;gap:6px}.settings-section__select{padding:8px 12px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;font-size:.95rem;min-width:200px}.settings-section__hint{font-size:.75rem;color:#94a3b8;line-height:1.2}.settings-section__access-summary{display:flex;gap:12px;flex-wrap:wrap;font-size:.9rem;color:#475569}.settings-section__edit-input{padding:10px 14px;border-radius:10px;border:1px solid #cbd5e1;font-size:1rem;width:100%}.settings-section__error{color:#dc2626;margin:0;font-size:.9rem}.settings-section__empty{color:#64748b;font-style:italic}.settings-section__add{display:flex;flex-direction:column;gap:12px}.settings-role__row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.settings-role__info{display:flex;flex-direction:column;gap:4px}.settings-role__permissions{display:flex;flex-direction:column;gap:8px}.settings-role__permissions-title{font-weight:600;color:#1e293b}.settings-role__permission-list{display:flex;flex-wrap:wrap;gap:8px 16px}.settings-role__permission-item{display:flex;align-items:center;gap:6px;color:#1f2937;font-size:.95rem}.settings-role__permissions-empty{color:#64748b;font-size:.95rem}.settings-role__permissions-badge{color:#475569;font-size:.95rem}.settings-users__list,.settings-users__item{gap:16px}.settings-users__form{display:flex;flex-direction:column;gap:16px}.settings-users__fields{display:flex;flex-wrap:wrap;gap:12px}.settings-users__fields select{padding:10px 14px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;font-size:1rem}.settings-users__row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.settings-users__info{display:flex;flex-direction:column;gap:8px}.settings-users__title{display:flex;align-items:center;gap:12px}.settings-users__name{font-weight:600;color:#1f2937}.settings-users__details{display:flex;flex-wrap:wrap;gap:12px;color:#475569;font-size:.95rem}.settings-users__detail{display:inline-flex;gap:4px;align-items:center}.settings-users__badge{background:#fee2e2;color:#b91c1c}.settings-users__password{display:flex;flex-direction:column;gap:12px}.empty-state{margin:auto;color:#94a3b8;font-size:1.1rem}.settings-page{flex:1;height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.settings-page__content{padding:24px;max-width:780px;margin:0 auto;box-sizing:border-box;width:100%}.settings-page__header{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.settings-page__titles{display:flex;flex-direction:column;gap:2px}.settings-page__title{margin:0;font-size:1.4rem}.settings-page__subtitle{margin:0;font-size:.85rem;color:#6b7280}.settings-page__back-button{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:10px;font-size:.95rem;font-weight:600;transition:background .2s ease,color .2s ease;cursor:pointer}.settings-page__back-button:hover,.settings-page__back-button:focus-visible{color:#1e3a8a;outline:none;box-shadow:0 0 0 3px #3b82f640}.settings-page__back-button-icon{font-size:1.1rem;line-height:1}.settings-page form{display:flex;flex-direction:column;gap:16px}.settings-page input{padding:10px;border-radius:8px;border:1px solid #d0d7de}.settings-page select{padding:10px;border-radius:8px;border:1px solid #d0d7de;background:#fff}.settings-page button{width:fit-content;padding:10px 18px;border-radius:8px;border:none;background:#5b86e5;color:#fff}.status{color:#15803d;font-size:.9rem}.pasted-image-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:20px}.pasted-image-modal__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.pasted-image-modal__dialog{position:relative;width:min(520px,92vw);max-height:92vh;background:#fff;border-radius:20px;box-shadow:0 28px 65px #0f172a59;display:flex;flex-direction:column;overflow:hidden}.pasted-image-modal__header{padding:20px 24px 0}.pasted-image-modal__title{margin:0;font-size:1.1rem;font-weight:600;color:#1f2937}.pasted-image-modal__body{padding:16px 24px 0;display:flex;flex-direction:column;gap:16px;flex:1 1 auto;overflow-y:auto}.pasted-image-modal__preview{position:relative;display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;max-height:min(360px,50vh)}.pasted-image-modal__image{max-width:100%;max-height:100%;border-radius:12px;object-fit:contain;box-shadow:0 10px 30px #0f172a26}.pasted-image-modal__comment{display:flex;flex-direction:column;gap:6px}.pasted-image-modal__file-name{font-size:.9rem;font-weight:500;color:#4b5563;word-break:break-all}.pasted-image-modal__comment-label{font-size:.95rem;font-weight:600;color:#1f2937}.pasted-image-modal__comment-input{resize:vertical;min-height:84px;max-height:180px;padding:12px;border-radius:10px;border:1px solid #d1d5db;font-family:inherit;font-size:.95rem;line-height:1.4}.pasted-image-modal__comment-input:focus-visible{outline:none;box-shadow:0 0 0 3px #3b82f640;border-color:#2563eb}.pasted-image-modal__footer{padding:20px 24px 24px;display:flex;justify-content:flex-end;gap:12px;background:linear-gradient(180deg,#f8fafc00,#f8fafc)}.pasted-image-modal__button{border:none;border-radius:10px;padding:10px 18px;font-size:.95rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}.pasted-image-modal__button--secondary{background:#e2e8f0;color:#1f2937}.pasted-image-modal__button--secondary:hover,.pasted-image-modal__button--secondary:focus-visible{transform:translateY(-1px);background:#cbd5f5;box-shadow:0 8px 18px #94a3b847;outline:none}.pasted-image-modal__button--primary{background:#2563eb;color:#f8fafc;box-shadow:0 10px 24px #2563eb59}.pasted-image-modal__button--primary:hover,.pasted-image-modal__button--primary:focus-visible{transform:translateY(-1px);background:#1d4ed8;box-shadow:0 12px 30px #2563eb73;outline:none}.pasted-image-modal__button:disabled{cursor:default;transform:none;background:#d1d5db;color:#6b7280;box-shadow:none}.image-preview-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:stretch;justify-content:stretch}.image-preview-modal__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172ab8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.image-preview-modal__dialog{position:relative;width:100vw;height:100vh;background:#0f172ad9;box-shadow:0 32px 84px #0f172a8c;display:flex;flex-direction:column;align-items:stretch;overflow:hidden}.image-preview-modal__stage{position:relative;width:100%;height:100%;overflow:hidden;display:flex;align-items:stretch;justify-content:stretch;flex:1 1 auto;min-width:0;min-height:0}.image-preview-modal__canvas{position:relative;width:100%;height:100%;overflow:hidden;display:flex;align-items:stretch;justify-content:stretch;flex:1 1 auto;padding:0;touch-action:none}.image-preview-modal__image-wrapper{position:relative;display:flex;align-items:stretch;justify-content:stretch;width:100%;height:100%;max-width:100%;max-height:100%;flex:1 1 auto;min-width:0;min-height:0}.image-preview-modal__image-wrapper--draggable{cursor:grab}.image-preview-modal__image-wrapper--draggable:active{cursor:grabbing}.image-preview-modal__image-inner{display:flex;align-items:stretch;justify-content:stretch;width:100%;height:100%;max-width:100%;max-height:100%;flex:1 1 auto;min-width:0;min-height:0;transition:transform .25s ease-out;transform-origin:center}.image-preview-modal__image{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 22px 60px #0f172a73;transition:opacity .25s ease-out;opacity:0;pointer-events:none}.image-preview-modal__image--loaded{opacity:1;pointer-events:auto}.image-preview-modal__placeholder{position:absolute;inset:clamp(8px,2vw,24px);object-fit:contain;filter:blur(12px);opacity:.45;transform:scale(1.02);border-radius:20px;pointer-events:none;transition:opacity .2s ease-out}.image-preview-modal__placeholder--hidden{opacity:0}.image-preview-modal__spinner{position:absolute;top:50%;left:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border:4px solid rgba(148,163,184,.35);border-top-color:#f8fafc;border-radius:50%;animation:image-preview-spin 1s linear infinite}@keyframes image-preview-spin{to{transform:rotate(360deg)}}.image-preview-modal__controls{position:absolute;top:clamp(12px,3vw,28px);right:clamp(12px,3vw,28px);display:flex;gap:10px;padding:8px 10px;background:#0f172abf;border-radius:999px;box-shadow:0 12px 32px #0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2}.image-preview-modal__control{border:none;background:transparent;color:#f8fafc;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;cursor:pointer;transition:background-color .2s ease-out,transform .2s ease-out}.image-preview-modal__control svg{display:block}.image-preview-modal__control:hover,.image-preview-modal__control:focus-visible{background:#3b82f659;outline:none;transform:scale(1.05)}.image-preview-modal__control:disabled{cursor:default;opacity:.45;background:#94a3b833;transform:none}.image-preview-modal__control--close:hover,.image-preview-modal__control--close:focus-visible{background:#f8717159}.image-preview-modal>.image-preview-modal__nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:none;border-radius:999px;background:#0f172ac7;color:#f8fafc;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 18px 44px #0f172a73;transition:background-color .2s ease-out,transform .2s ease-out,opacity .2s ease-out;z-index:2}.image-preview-modal>.image-preview-modal__nav svg{display:block}.image-preview-modal>.image-preview-modal__nav--prev{left:clamp(16px,4vw,72px)}.image-preview-modal>.image-preview-modal__nav--next{right:clamp(16px,4vw,72px)}.image-preview-modal>.image-preview-modal__nav:hover,.image-preview-modal>.image-preview-modal__nav:focus-visible{background:#3b82f673;outline:none;transform:translateY(-50%) scale(1.05)}.image-preview-modal>.image-preview-modal__nav:active{transform:translateY(-50%) scale(.95)}.image-preview-modal__dialog .image-preview-modal__nav{display:none!important}@media (pointer: coarse){.image-preview-modal>.image-preview-modal__nav{display:none}}.task-panel{display:flex;flex-direction:column;height:100%;background:#f8fafc;color:#0f172a;border-left:1px solid #e2e8f0}.task-panel__header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 24px;border-bottom:1px solid #e2e8f0;background:#ffffffe6}.task-panel__header h2{font-size:1.25rem;margin:0;color:inherit}.task-panel__subtitle{font-size:.85rem;color:#64748b;margin-top:4px;display:block}.task-panel__close{border:none;background:none;color:#4f46e5;font-weight:600;font-size:.9rem;padding:6px 10px;border-radius:8px;cursor:pointer;transition:background .2s ease,color .2s ease}.task-panel__close:hover,.task-panel__close:focus-visible{background:#4f46e51f;color:#3730a3}.task-panel__error{position:relative;margin-top:12px;padding:12px 16px;border:1px solid #fca5a5;border-radius:12px;background:#fee2e2;color:#b91c1c;font-size:.85rem;line-height:1.4;display:flex;align-items:flex-start;gap:12px}.task-panel__error:before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#f97316,#ef4444);color:#fff;font-weight:700;font-size:.8rem;box-shadow:0 0 0 3px #fee2e2;flex-shrink:0}.task-panel__notice{margin-top:12px;color:#475569;font-size:.85rem}.task-editor{flex:1 1 auto;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:20px}.task-editor__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px 20px}.task-editor__field{display:flex;flex-direction:column;gap:6px;font-size:.9rem;color:inherit}.task-editor__field span,.task-editor__label{font-weight:600;color:#0f172a}.task-editor__field--full{grid-column:1 / -1}.task-editor__field input,.task-editor__field textarea,.task-editor__field select{border-radius:8px;border:1px solid #cbd5f5;background:#fff;padding:8px 12px;font:inherit;color:inherit;box-shadow:inset 0 1px 2px #0f172a14}.task-editor__field textarea{resize:vertical;min-height:90px}.task-editor__field-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.task-editor__attachments-actions{display:flex;align-items:center;gap:8px}.task-editor__attach{border:none;background:none;color:#475569;font-size:1.2rem;cursor:pointer;padding:4px;border-radius:8px;transition:background .2s ease,color .2s ease}.task-editor__attach:hover,.task-editor__attach:focus-visible{background:#94a3f42e;color:#1e3a8a;outline:none}.task-editor__attach:disabled{opacity:.5;cursor:not-allowed}.task-editor__chat-input{position:relative;display:flex;align-items:center}.task-attachment-list{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}.task-attachment-list--comments{flex-direction:row;flex-wrap:wrap;gap:8px}.task-attachment-list--comments .task-attachment{flex:1 1 220px}.task-attachment-list--bubble{margin-top:8px}.task-attachment-list--bubble .task-attachment__link{background:#0f172a14;color:inherit;box-shadow:none}.task-attachment-list--bubble .task-attachment__link:hover,.task-attachment-list--bubble .task-attachment__link:focus-visible{background:#0f172a1f}.task-attachment{display:flex;flex-direction:column;gap:6px}.task-attachment--removable:not(.task-attachment--with-description){flex-direction:row;align-items:center;gap:8px}.task-attachment__top{display:flex;align-items:center;gap:8px;width:100%}.task-attachment--removable:not(.task-attachment--with-description) .task-attachment__top{flex:1}.task-attachment__link{display:inline-flex;align-items:center;gap:10px;background:#eef2ff;border-radius:10px;padding:6px 12px;color:#1e3a8a;font-weight:600;text-decoration:none;flex:1;min-width:0;box-shadow:inset 0 0 0 1px #6366f11f}.task-attachment__link:hover,.task-attachment__link:focus-visible{background:#e0e7ff;outline:none}.task-attachment__link--image{padding:4px 8px;background:#f8fafc}.task-attachment__image{width:60px;height:60px;object-fit:cover;border-radius:8px;flex-shrink:0;box-shadow:inset 0 0 0 1px #0f172a14}.task-attachment__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-attachment__meta{font-size:.75rem;color:#475569}.task-attachment__remove{border:none;background:none;color:#dc2626;font-size:1.1rem;cursor:pointer;padding:4px;border-radius:6px;transition:background .2s ease,color .2s ease}.task-attachment__remove:hover,.task-attachment__remove:focus-visible{background:#dc26261f;outline:none}.task-attachment__remove:disabled{opacity:.45;cursor:not-allowed}.task-attachment__description{display:flex;align-items:center;gap:8px}.task-attachment__description-label{flex:1}.task-attachment__description-input{width:100%;border:1px solid #cbd5f5;border-radius:6px;padding:6px 10px;font-size:.9rem;transition:border-color .2s ease,box-shadow .2s ease}.task-attachment__description-input:focus-visible{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f126}.task-attachment__description-input:disabled{background-color:#f8fafc;color:#94a3b8}.task-attachment__description-status{font-size:.8rem;color:#6366f1}.task-attachment__description-error{font-size:.8rem;color:#b91c1c}.task-editor__chat-input input{width:100%}.task-editor__chat-clear{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:none;background:none;color:#64748b;font-size:1rem;cursor:pointer;padding:4px}.task-editor__chat-clear:hover,.task-editor__chat-clear:focus-visible{color:#475569}.task-editor__tags-status{font-size:.85rem;color:#64748b}.task-editor__tags-status--error{border:none;background:none;color:#dc2626;padding:0;cursor:pointer;font-weight:600}.task-editor__tag-list{display:flex;flex-wrap:wrap;gap:8px}.task-editor__tag{border-radius:999px;border:1px solid #cbd5f5;background:#f1f5ff;color:#1e3a8a;padding:6px 14px;font-size:.8rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:background .2s ease,border-color .2s ease,color .2s ease}.task-editor__tag:hover,.task-editor__tag:focus-visible{border-color:#93c5fd}.task-editor__tag--selected{box-shadow:0 0 0 2px #94a3f433}.task-editor__tag-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.task-editor__hint{font-size:.78rem;color:#64748b}.task-editor__actions{display:flex;gap:12px;margin-top:auto}.task-detail{flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.task-detail__title{display:flex;flex-direction:column;gap:6px}.task-detail__title h2{margin:0;font-size:1.2rem;color:#0f172a}.task-detail__subtitle{display:flex;flex-wrap:wrap;gap:12px;color:#64748b;font-size:.85rem}.task-detail__subtitle span{display:inline-flex;align-items:center;gap:6px}.task-related-inline{display:flex;flex-direction:column;gap:6px}.task-related-inline__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.task-related-inline__item{margin:0}.task-related-inline__button{padding:0;border:none;background:none;color:inherit;font:inherit;cursor:pointer;text-align:left;text-decoration:none;display:inline-flex;align-items:baseline;gap:4px;transition:color .2s ease,text-decoration-color .2s ease}.task-related-inline__button:hover,.task-related-inline__button:focus-visible{color:#b91c1c;text-decoration:underline}.task-related-inline__button:focus-visible{outline:2px solid #f97316;outline-offset:2px}.task-related-inline__button--archived{text-decoration:line-through}.task-related-inline__button--archived:hover,.task-related-inline__button--archived:focus-visible{text-decoration:line-through underline}.task-related-inline__text{display:inline}.task-related-inline__empty{margin:0;font-size:.9rem;color:inherit}.theme-dark .task-related-inline__button:hover,.theme-dark .task-related-inline__button:focus-visible{color:#fb7185}.task-detail__chat-link{display:inline-flex;align-items:center;padding:0;margin:0;border:none;background:none;color:#2563eb;font:inherit;cursor:pointer;text-decoration:none}.task-detail__chat-link:hover,.task-detail__chat-link:focus-visible{text-decoration:underline}.task-detail__chat-link:focus{outline:none}.task-detail__chat-link:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}.theme-dark .task-detail__chat-link{color:#93c5fd}.task-detail__header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #e2e8f0}.task-detail__info h2{margin:0;font-size:1.1rem;color:#0f172a}.task-detail__info span{display:block;color:#64748b;font-size:.85rem;margin-top:4px}.task-detail__actions{display:flex;gap:10px;align-items:center}.task-detail__loading{padding:24px;color:#64748b;font-size:.9rem}.task-summary-row{padding:0;max-width:100%;width:100%;align-self:stretch}.task-summary-row__icon{background:#facc15;color:#92400e}.task-summary-row .message-content{width:100%}.task-summary-row__bubble{background:#fef3c7;color:#92400e;border-radius:12px;padding:16px 20px;box-shadow:none}.task-summary-row__header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}.task-summary-row__header h3{margin:0;font-size:1rem}.task-summary-row__header span{font-size:.8rem;color:#92400ecc}.task-summary-row__details{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px 16px;margin:0}.task-summary-row__details div{display:flex;flex-direction:column;gap:2px}.task-summary-row__details dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#92400eb3}.task-summary-row__details dd{margin:0;font-size:.9rem}.task-summary-row__tags{display:flex;flex-wrap:wrap;gap:6px}.task-summary-row__description{margin-top:16px;font-size:.9rem;color:#7c2d12;display:flex;flex-direction:column;gap:8px}.task-summary-row__description-content{display:flex;flex-direction:column;gap:8px}.task-summary-row__paragraph{margin:0;color:inherit}.task-summary-row__paragraph--empty{opacity:.7;font-style:italic}.task-summary-row__attachment{margin:0}.task-summary-row__attachment--inline-image{display:inline-flex}.task-inline-image-button{border:none;padding:0;background:none;cursor:zoom-in;display:inline-flex;max-width:100%}.task-inline-image-button:focus-visible{outline:2px solid #f97316;outline-offset:2px}.task-inline-image{display:block;max-width:min(320px,100%);height:auto;border-radius:12px}.task-summary-row__result{margin-top:16px;font-size:.9rem;color:#0f172a}.task-summary-row__attachments{margin-top:16px;display:flex;flex-direction:column;gap:8px}.task-summary-row__attachments strong{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#0f172a}.task-summary-files{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}.task-summary-files__item{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background-color:#f8fafc}.task-summary-files__info{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.task-summary-files__link{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#0f172a;font-weight:600;transition:color .2s ease;min-width:0}.task-summary-files__link:hover,.task-summary-files__link:focus-visible{color:#1d4ed8;outline:none}.task-summary-files__link--image{padding:4px 6px;border-radius:8px;background-color:#e2e8f0}.task-summary-files__thumbnail{width:44px;height:44px;object-fit:cover;border-radius:6px;box-shadow:inset 0 0 0 1px #0f172a14;flex-shrink:0}.task-summary-files__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-summary-files__description{color:#475569;font-weight:400;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-summary-files__description:before{content:" — ";color:#94a3b8}.task-summary-files__meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:.8rem;color:#64748b}.task-summary-files__remove{border:none;background:none;cursor:pointer;font-size:1.2rem;line-height:1;color:#dc2626;padding:6px;border-radius:8px;transition:background .2s ease,color .2s ease,transform .2s ease}.task-summary-files__remove:disabled{opacity:.6;cursor:default}.task-summary-files__remove:not(:disabled):hover,.task-summary-files__remove:not(:disabled):focus-visible{color:#b91c1c;background:#dc26261f;transform:scale(1.05);outline:none}.task-summary-files__error{margin:0}.task-summary-row__result strong{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#047857}.task-summary-row__result-text{margin:6px 0 0;word-break:break-word}.task-summary-row__result-text--empty{color:#94a3b8;font-style:italic}.task-summary-row__result-hint{margin:6px 0 0;font-size:.85rem;color:#2563eb;line-height:1.4}.task-detail__comments{flex:1 1 auto;display:flex;flex-direction:column;gap:16px;padding:24px;overflow-y:auto}.task-detail__comments h3{margin:0;font-size:1rem;color:#0f172a}.task-detail__comments-empty{font-size:.9rem;color:#64748b}.task-detail__comment-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.task-detail__composer{background:#e2e8f0;border-radius:16px;padding:12px;display:flex;gap:12px}.task-detail__composer textarea{flex:1;border:none;background:transparent;resize:none;font:inherit;min-height:60px}.task-detail__composer textarea:focus{outline:none}.task-detail__composer .chat-window__send{align-self:flex-end;background:#4f46e5;color:#fff;border-radius:12px;padding:10px 16px;border:none;cursor:pointer}.task-detail__composer .chat-window__send:hover,.task-detail__composer .chat-window__send:focus-visible{background:#4338ca}.task-detail__composer .chat-window__send:disabled{opacity:.6;cursor:not-allowed}.task-detail__comments .message-row{align-items:flex-start}.task-detail__comments .message-bubble{background:#fff;color:#0f172a}.task-detail__comments .message-author{color:#0f172a}.task-detail__comments .message-time{color:#64748b}.task-detail__comments .message-avatar{background:#1f2937}.task-comment__actions{display:flex;gap:12px;margin-left:12px}.task-comment__action{background:none;border:none;padding:0;font-size:12px;color:#4a75d4;cursor:pointer;transition:color .2s ease}.task-comment__action:hover:not(:disabled),.task-comment__action:focus-visible{color:#2f5fb8;text-decoration:underline;outline:none}.task-comment__action:disabled{opacity:.6;cursor:default}.theme-dark{background-color:#0b1320}.theme-dark .main-content{background:#0b1320;color:inherit}.theme-dark .chat-window{background:#0b1320}.theme-dark .chat-window__header{background:#141d2b;color:#f8fafc;border-bottom:1px solid rgba(255,255,255,.08)}.theme-dark .chat-window__title-button,.theme-dark .chat-window__title-button h2,.theme-dark .chat-window__title-text,.theme-dark .chat-window__title-lock{color:inherit}.theme-dark .chat-window__title-button:hover .chat-window__title-button-icon{color:#9cc2ff}.theme-dark .chat-window__action-button{background:#141d2bd9;border:1px solid rgba(148,163,184,.35);color:#f8fafc;box-shadow:none}.theme-dark .chat-window__action-button:not(:disabled):hover,.theme-dark .chat-window__action-button:not(:disabled):focus-visible{border-color:#5b86e599;color:#e0e7ff}.theme-dark .chat-window__action-menu{background:#141d2b;border:1px solid rgba(148,163,184,.2);box-shadow:0 24px 48px #050a1499}.theme-dark .chat-window__action-menu button{color:#f8fafc}.theme-dark .chat-window__action-menu button:hover,.theme-dark .chat-window__action-menu button:focus-visible{background:#5b86e540;color:#fff}.theme-dark .message-text--deleted{color:#e2e8f0b3}.theme-dark .chat-window__action-menu button.chat-window__action-menu-button--danger{color:#fca5a5}.theme-dark .chat-window__action-menu button.chat-window__action-menu-button--danger:hover,.theme-dark .chat-window__action-menu button.chat-window__action-menu-button--danger:focus-visible{background:#f8717133;color:#f87171}.theme-dark .chat-window__history{background:#0b1320;color:#f8fafc}.theme-dark .chat-window__composer{background:#141d2b;border-top:1px solid rgba(148,163,184,.12)}.theme-dark .chat-window__composer textarea{background:inherit;color:#f8fafc}.theme-dark .chat-window__composer textarea::placeholder{color:#e2e8f08c}.theme-dark .chat-window__composer textarea:disabled{background:#0f172aa6}.theme-dark .chat-window__template-suggestions{background:#0f172af2;border-color:#94a3b847;box-shadow:0 18px 36px #02061799}.theme-dark .chat-window__template-item{color:#e2e8f0eb}.theme-dark .chat-window__template-item:hover,.theme-dark .chat-window__template-item:focus-visible,.theme-dark .chat-window__template-item--active{background:#3b82f633;box-shadow:inset 0 0 0 1px #94a3b873}.theme-dark .chat-window__template-command{color:#bfdbfe}.theme-dark .chat-window__template-description{color:#e2e8f0c7}.theme-dark .chat-window__attach,.theme-dark .chat-window__private-toggle{color:#e2e8f0}.theme-dark .chat-window__attach:hover:not(:disabled),.theme-dark .chat-window__attach:focus-visible,.theme-dark .chat-window__private-toggle:hover:not(:disabled),.theme-dark .chat-window__private-toggle:focus-visible{background:#94a3b829}.theme-dark .chat-window__attach:disabled,.theme-dark .chat-window__private-toggle:disabled{color:#94a3b866}.theme-dark .chat-window__private-toggle--active{background:#1e293bd9;color:#f8fafc}.theme-dark .chat-window__composer-hint{background:#5b86e52e;color:#cbd5f5}.theme-dark .chat-window__history-loader{background:#94a3b829;color:#e2e8f0e6}.theme-dark .chat-window__loading{background:#3b82f64d;color:#dbeafe}.theme-dark .chat-window__initial-loading,.theme-dark .chat-window__empty-history,.theme-dark .chat-window__placeholder{color:#e2e8f0cc}.theme-dark .chat-window__placeholder-icon{background:#94a3b840}.theme-dark .chat-window__spinner{border-color:#94a3b866;border-top-color:#94a3b8e6}.theme-dark .settings-page__content{color:#e2e8f0}.theme-dark .settings-page__subtitle{color:#a1acc4}.theme-dark .settings-page__back-button{background:#94a3b81f;color:#e2e8f0;border:1px solid rgba(148,163,184,.35)}.theme-dark .settings-page__back-button:hover,.theme-dark .settings-page__back-button:focus-visible{color:#e0e7ff;box-shadow:0 0 0 3px #2563eb59}.theme-dark button.button--secondary{background:#94a3b829;color:#e2e8f0;border:1px solid rgba(148,163,184,.35)}.theme-dark button.button--primary{background:linear-gradient(135deg,#7aa2f7,#4c6ef5);color:#f8fafc}.theme-dark button.button--primary:hover:not(:disabled),.theme-dark button.button--primary:focus-visible{background:linear-gradient(135deg,#6b8ff0,#3f5fdb);box-shadow:0 0 0 3px #6366f173}.theme-dark button.button--secondary:hover:not(:disabled),.theme-dark .settings-page__back-button:hover,.theme-dark .settings-page__back-button:focus-visible{background:#94a3b83d}.theme-dark .settings-section h3,.theme-dark .settings-section__name,.theme-dark .settings-notifications__label,.theme-dark .settings-role__permissions-title,.theme-dark .settings-role__permission-item,.theme-dark .settings-users__name{color:#f8fafc}.theme-dark .settings-section__hint,.theme-dark .settings-section__access label,.theme-dark .settings-section__access-summary,.theme-dark .settings-role__permissions-badge,.theme-dark .settings-role__permissions-empty,.theme-dark .settings-users__details,.theme-dark .settings-section__empty{color:#e2e8f0b3}.theme-dark .settings-section__item--drag-over{border-color:#60a5fa8c;box-shadow:0 0 0 2px #2563eb3d}.theme-dark .settings-section__drag-handle{color:#94a3b8d9}.theme-dark .settings-section__drag-handle:hover:not(:disabled),.theme-dark .settings-section__drag-handle:focus-visible{color:#bfdbfef2;background:#2563eb3d}.theme-dark .settings-section__drag-handle:disabled{color:#47556999}.theme-dark .settings-section__badge{background:#94a3b840;color:#e2e8f0}.theme-dark .settings-section__item,.theme-dark .settings-working-hours{background:#141d2bd9;border-color:#94a3b82e}.theme-dark .settings-working-hours__label,.theme-dark .settings-working-hours__day,.theme-dark .settings-working-hours__toggle,.theme-dark .settings-section__toggle{color:#f8fafc}.theme-dark .settings-working-hours__hint{color:#e2e8f0bf}.theme-dark .settings-page label{color:#e2e8f0}.theme-dark .settings-page input,.theme-dark .settings-page select,.theme-dark .settings-section__select,.theme-dark .settings-section__edit-input,.theme-dark .settings-section__textarea,.theme-dark .settings-users__fields select{background:#080f1cd9;border:1px solid rgba(148,163,184,.35);color:#f8fafc}.theme-dark .settings-section__textarea::placeholder{color:#94a3b8bf}.theme-dark .settings-templates__preview{background:#1e293bd9;color:#e2e8f0d9}.theme-dark .settings-page input::placeholder,.theme-dark .settings-page select::placeholder,.theme-dark .settings-section__edit-input::placeholder{color:#e2e8f08c}.theme-dark .settings-notifications__label input[type=checkbox]{accent-color:#5b86e5}.theme-dark .settings-section__actions button:not(.button--secondary){box-shadow:none}.theme-dark .message-date-divider{background:#94a3b83d;color:#f8fafc}.theme-dark .message-unread-divider{background:#5b86e559;color:#e0e7ff}.theme-dark .chat-event-entry{background:#94a3b833;color:#f8fafc;box-shadow:none}.theme-dark .chat-event-entry__timestamp{color:#e2e8f0cc}.theme-dark .chat-event-entry__text{color:inherit}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-bubble{background:#141d2b;color:#f8fafc;box-shadow:0 6px 24px #00000059}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-bubble__header{color:#e2e8f0b3}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-author{color:#f8fafc}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-time{color:#e2e8f099}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-reply{background:#94a3b82e;border-left-color:#94a3b873}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-reply__author{color:#e2e8f0d9}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-reply__text{color:#e2e8f0cc}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-caption{color:#e2e8f0d9}.theme-dark .message-row:not(.message-row--agent-self):not(.message-row--agent-other):not(.message-row--private) .message-text a{color:#93c5fd}.theme-dark .message-row--agent-self .message-bubble{background:#1f4030;color:#e8fdf3;box-shadow:0 10px 32px #0006}.theme-dark .message-row--agent-self .message-bubble__header,.theme-dark .message-row--agent-self .message-time{color:#e8fcf3b3}.theme-dark .message-row--agent-self .message-author{color:#f2fff8}.theme-dark .message-row--agent-other .message-bubble{background:#402132;color:#fdebf2;box-shadow:0 10px 32px #00000073}.theme-dark .message-row--agent-other .message-bubble__header,.theme-dark .message-row--agent-other .message-time{color:#fdebf2b3}.theme-dark .message-row--agent-other .message-author{color:#fff3f8}.theme-dark .message-result-badge{background:#22c55e47;color:#bbf7d0}.theme-dark .task-comment__result-toggle{color:#cbd5f5}.theme-dark .task-comment__result-toggle:hover:not(:disabled),.theme-dark .task-comment__result-toggle:focus-visible{background:#94a3b840}.theme-dark .task-comment__result-toggle:disabled{color:#94a3b873}.theme-dark .task-comment__result-toggle--active{color:#ecfdf5;box-shadow:0 8px 22px #22c55e73}.theme-dark .task-attachment__link{background:#94a3b82e;color:#cbd5f5;box-shadow:inset 0 0 0 1px #94a3b859}.theme-dark .task-attachment__link:hover,.theme-dark .task-attachment__link:focus-visible{background:#94a3b847}.theme-dark .task-attachment__link--image{background:#0f172a73}.theme-dark .task-attachment-list--bubble .task-attachment__link{background:#94a3b82e;color:#e2e8f0}.theme-dark .task-attachment-list--bubble .task-attachment__link:hover,.theme-dark .task-attachment-list--bubble .task-attachment__link:focus-visible{background:#94a3b847}.theme-dark .task-attachment__meta{color:#cbd5e1bf}.theme-dark .task-attachment__remove{color:#fca5a5}.theme-dark .task-attachment__remove:hover,.theme-dark .task-attachment__remove:focus-visible{background:#f8717140}.theme-dark .task-attachment__description-input{background-color:#0f172a99;border-color:#94a3b859;color:#e2e8f0}.theme-dark .task-attachment__description-input:focus-visible{border-color:#6366f1;box-shadow:0 0 0 3px #6366f159}.theme-dark .task-attachment__description-input:disabled{background-color:#0f172a59;color:#94a3b8b3}.theme-dark .task-attachment__description-status{color:#a5b4fc}.theme-dark .task-attachment__description-error{color:#fecaca}.theme-dark .task-summary-files__item{background-color:#0f172ad9;border-color:#94a3b859}.theme-dark .task-summary-files__link{color:#e2e8f0}.theme-dark .task-summary-files__link:hover,.theme-dark .task-summary-files__link:focus-visible{color:#93c5fd}.theme-dark .task-summary-files__link--image{background-color:#1e293b99}.theme-dark .task-summary-files__description{color:#cbd5f5}.theme-dark .task-summary-files__description:before{color:#94a3b8b3}.theme-dark .task-summary-files__meta{color:#94a3b8d9}.theme-dark .task-summary-files__remove{color:#fca5a5}.theme-dark .task-summary-files__remove:not(:disabled):hover,.theme-dark .task-summary-files__remove:not(:disabled):focus-visible{color:#fecaca;background:#f8717138}.theme-dark .chat-info__status{background:#94a3b83d;color:#f8fafc}.theme-dark .task-panel{background:#050b16;color:#e2e8f0;border-left:1px solid rgba(148,163,184,.2)}.theme-dark .task-panel__header{background:#080f1ceb;border-bottom:1px solid rgba(148,163,184,.18)}.theme-dark .task-panel__subtitle{color:#94a3b8bf}.theme-dark .task-panel__close{color:#c7d2fe}.theme-dark .task-panel__close:hover,.theme-dark .task-panel__close:focus-visible{background:#4f46e540;color:#e0e7ff}.theme-dark .task-panel__error{background:#7f1d1d73;border-color:#f87171b3;box-shadow:inset 0 0 0 1px #f8717126;color:#fecaca}.theme-dark .task-panel__error:before{background:linear-gradient(135deg,#fb7185,#f97316);box-shadow:0 0 0 3px #7f1d1d73;color:#fff7ed}.theme-dark .task-panel__notice{color:#cbd5f5}.theme-dark .task-editor{background:transparent}.theme-dark .task-editor__field span,.theme-dark .task-editor__label{color:#e2e8f0}.theme-dark .task-editor__field input,.theme-dark .task-editor__field textarea,.theme-dark .task-editor__field select{background:#080f1ce6;border:1px solid rgba(148,163,184,.35);color:#f8fafc}.theme-dark .task-editor__field input:focus,.theme-dark .task-editor__field textarea:focus,.theme-dark .task-editor__field select:focus{border-color:#6366f18c}.theme-dark .task-editor__chat-clear{color:#94a3b8b3}.theme-dark .task-editor__chat-clear:hover,.theme-dark .task-editor__chat-clear:focus-visible{color:#e2e8f0e6}.theme-dark .task-editor__tags-status{color:#94a3b8bf}.theme-dark .task-editor__tags-status--error{color:#fca5a5}.theme-dark .task-editor__tag{border:1px solid rgba(148,163,244,.35);background:#1e293bd9;color:#c7d2fe}.theme-dark .task-editor__tag:hover,.theme-dark .task-editor__tag:focus-visible{border-color:#818cf8a6}.theme-dark .task-editor__tag--selected{box-shadow:0 0 0 2px #818cf840}.theme-dark .task-editor__hint{color:#94a3b8bf}.theme-dark .task-detail__header{border-bottom:1px solid rgba(148,163,184,.18)}.theme-dark .task-detail__info h2{color:#e2e8f0}.theme-dark .task-detail__info span{color:#94a3b8cc}.theme-dark .task-detail__title h2{color:#e2e8f0}.theme-dark .task-detail__subtitle{color:#94a3b8d9}.theme-dark .task-detail__loading{color:#94a3b8cc}.theme-dark .task-summary-row__bubble{background:#facc1526;color:#fef9c3}.theme-dark .task-summary-row__header span{color:#facc15d9}.theme-dark .task-summary-row__details dt{color:#facc15b3}.theme-dark .task-summary-row__details dd{color:#fefce8}.theme-dark .task-summary-row__description{color:#facc15d9}.theme-dark .task-summary-row__result{color:#fefce8}.theme-dark .task-summary-row__result strong{color:#bef264}.theme-dark .task-summary-row__result-text--empty{color:#94a3b8b3}.theme-dark .task-summary-row__result-hint{color:#bfdbfe}.theme-dark .task-summary-row__attachments strong,.theme-dark .task-detail__comments h3{color:#e2e8f0}.theme-dark .task-detail__comments-empty{color:#94a3b8bf}.theme-dark .task-detail__composer{background:#1e293bd9}.theme-dark .task-detail__composer textarea{color:#f8fafc}.theme-dark .task-detail__composer .chat-window__send{background:#6366f1}.theme-dark .task-detail__composer .chat-window__send:hover,.theme-dark .task-detail__composer .chat-window__send:focus-visible{background:#4f46e5}.theme-dark .task-detail__comments .message-bubble{background:#141d2bd9;color:#e2e8f0}.theme-dark .task-detail__comments .message-author{color:#f8fafc}.theme-dark .task-detail__comments .message-time{color:#94a3b8bf}.theme-dark .task-detail__comments .message-avatar{background:#94a3b859;color:#0f172a}.theme-dark .task-comment__action{color:#93c5fd}.theme-dark .task-comment__action:hover:not(:disabled),.theme-dark .task-comment__action:focus-visible{color:#bfdbfe}
