:root{--app-bg: #eef2f6;--surface: #ffffff;--surface-soft: #fbfcfe;--surface-muted: #f8fafc;--surface-raised: #ffffff;--text: #182230;--text-strong: #101828;--text-muted: #667085;--border: #d9e1ec;--border-soft: #e4e9f1;--control-bg: #eef3f8;--primary: #14517c;--primary-strong: #075985;--primary-soft: #e7f3fb;--client-message: #ffffff;--manager-message: #eaf6ff;--ai-message: #f0fff4;--danger: #b42318;--danger-soft: #fff3f2;--success: #027a48;--success-soft: #dcfae6;--warning: #b54708;--warning-soft: #fef0c7;--shadow-card: 0 16px 38px rgb(27 39 64 / 7%);--shadow-popover: 0 18px 38px rgb(16 24 40 / 16%);color:var(--text);background:var(--app-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-resolved-theme=dark]{--app-bg: #0d131b;--surface: #151c26;--surface-soft: #111923;--surface-muted: #1b2532;--surface-raised: #1a2230;--text: #e5edf6;--text-strong: #f8fafc;--text-muted: #98a6b8;--border: #2b3747;--border-soft: #223044;--control-bg: #101821;--primary: #63b3ff;--primary-strong: #9bd2ff;--primary-soft: #102c43;--client-message: #182331;--manager-message: #102d45;--ai-message: #102b21;--danger: #ff9b92;--danger-soft: #351b1f;--success: #61d394;--success-soft: #103023;--warning: #f7c56c;--warning-soft: #342716;--shadow-card: 0 18px 42px rgb(0 0 0 / 24%);--shadow-popover: 0 22px 48px rgb(0 0 0 / 42%)}*{box-sizing:border-box}body{margin:0;background:var(--app-bg);color:var(--text)}button,input,select,textarea{font:inherit}button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;padding:0 14px;border:1px solid #14517c;border-radius:8px;background:#14517c;color:#fff;cursor:pointer;font-size:14px;font-weight:750}button:disabled{border-color:#cbd5e1;background:#e2e8f0;color:#667085;cursor:not-allowed}input,select,textarea{width:100%;border:1px solid #d5dce7;border-radius:8px;background:#fff;color:#182230;outline:none}input,select{min-height:42px;padding:0 12px}textarea{min-height:92px;resize:vertical;padding:12px}h1,h2,p{margin:0}h1{margin-top:5px;font-size:32px;line-height:1.1;letter-spacing:0}.login-shell{display:grid;min-height:100vh;place-items:center;padding:24px}.login-card{display:grid;width:min(440px,100%);gap:18px;padding:22px}.login-card label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:800}.muted{color:#667085;font-size:13px;line-height:1.45}.crm-shell{display:grid;grid-template-columns:248px minmax(0,1fr);align-items:start;min-height:100vh}.sidebar{position:sticky;top:0;display:grid;grid-template-rows:auto 1fr auto;width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;gap:26px;overflow:hidden;padding:22px 18px;border-right:1px solid #d9e1ec;background:#fff}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;width:46px;height:46px;overflow:hidden;place-items:center;border-radius:10px;background:linear-gradient(145deg,#050505,#151515 58%,#262626);color:#f7f7f7;flex-shrink:0;box-shadow:0 10px 24px #0000002e,inset 0 0 0 1px #ffffff14}.brand-mark img{width:100%;height:100%;object-fit:cover}.brand strong{display:block;color:#101828;font-size:18px}.brand p,.eyebrow,.metric p,.dialog-copy small,.dialog-copy p,.dialog-meta small,.person p,.deal-card p,.task-card p,.health-row,.section-title span{color:#667085}.brand p{margin-top:3px;font-size:13px}.nav{display:grid;align-content:start;gap:8px;min-height:0;overflow:auto}.desktop-nav-list{display:grid;gap:8px}.mobile-nav-main-row,.mobile-nav-more-panel{display:none}.nav-item{position:relative;justify-content:flex-start;width:100%;border-color:transparent;background:transparent;color:#344054}.nav-item.active{border-color:#b9d9ee;background:#e7f3fb;color:#075985}.nav-badge{display:inline-grid;min-width:22px;height:22px;place-items:center;margin-left:auto;padding:0 7px;border-radius:999px;background:#d92d20;color:#fff;font-size:12px}.sidebar-bottom{display:grid;gap:10px}.theme-toggle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--control-bg)}.theme-toggle button{min-height:36px;min-width:0;padding:0;border:0;border-radius:9px;background:transparent;color:var(--text-muted);transition:background .16s ease,color .16s ease,box-shadow .16s ease}.theme-toggle button.active{background:var(--surface);color:var(--primary);box-shadow:0 8px 18px #1018281a}.theme-toggle svg{flex:0 0 auto}.sidebar-logout{width:100%}.sidebar-status{display:grid;gap:10px;padding:14px;border:1px solid #d9e1ec;border-radius:8px;background:#f8fafc;color:#475467;font-size:13px}.sidebar-status div,.health-row,.person p,.timeout,.message small{display:inline-flex;align-items:center;gap:7px}.pulse{width:8px;height:8px;border-radius:999px;background:#12b76a;box-shadow:0 0 0 5px #12b76a1f}.muted-pulse{background:#f79009;box-shadow:0 0 0 5px #f790091f}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace{min-width:0;min-height:100vh;padding:24px}.workspace-inbox{display:grid;height:100vh;grid-template-rows:minmax(0,1fr);overflow:hidden}.topbar,.topbar-actions,.thread-head,.thread-actions,.column-head,.deal-title,.deal-footer,.modal-head,.modal-actions,.section-title,.task-card>div{display:flex;align-items:center}.topbar{justify-content:space-between;gap:20px}.topbar h1{margin-top:0}.topbar-actions,.thread-actions,.modal-actions{flex-wrap:wrap;gap:10px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.ghost-button{border-color:#d5dce7;background:#fff;color:#344054}.icon-button{width:40px;min-width:40px;padding:0;border-color:#d5dce7;background:#fff;color:#344054}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}.metric,.panel,.kanban-column,.deal-card,.toast{border:1px solid #d9e1ec;border-radius:8px;background:#fff;box-shadow:0 16px 38px #1b274012}.metric{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;padding:16px}.kanban-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin:2px 0 16px}.kanban-toolbar div{display:grid;gap:3px}.kanban-toolbar strong{color:#101828;font-size:18px}.kanban-toolbar span{color:#667085;font-size:13px;font-weight:750}.metric span{display:grid;width:36px;height:36px;place-items:center;grid-row:span 2;border-radius:8px;background:#e7f3fb;color:#075985}.metric p{font-size:13px;font-weight:700}.metric strong{color:#101828;font-size:24px}.inbox-layout{display:grid;grid-template-columns:360px minmax(0,1fr);min-height:640px;overflow:hidden}.workspace-inbox .inbox-layout{min-height:0;height:100%}.dialog-list{display:flex;flex-direction:column;min-height:0;overflow:hidden;border-right:1px solid #e4e9f1;background:#fbfcfe}.dialog-list-head{flex:0 0 auto;padding:14px 14px 10px;border-bottom:1px solid #e4e9f1;background:#fbfcfe}.dialog-list-body{flex:1 1 0;display:grid;align-content:start;gap:8px;overflow:auto;padding:10px 14px 14px}.search{position:relative}.dialog-list-tools{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;margin-bottom:8px}.search svg{position:absolute;top:12px;left:12px;color:#667085}.search input{padding-left:38px}.dialog-filter-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.filter-chip{min-width:0;min-height:32px;padding:0;border-color:#d5dce7;background:#fff;color:#667085}.filter-chip.active{border-color:#14517c;background:#e7f3fb;color:#075985}.inline-error{padding:9px 10px;border:1px solid #fecdca;border-radius:8px;background:#fff3f2;color:#b42318;font-size:13px;font-weight:750}.dialog-row{position:relative;width:100%;border:1px solid transparent;border-radius:8px;background:transparent;color:#182230}.dialog-row.active{border-color:#b9d9ee;background:#eef8ff}.dialog-row.closed{opacity:.52}.dialog-row.closed.active{opacity:.72}.dialog-row.pinned{border-color:#d0e7f6;background:#f6fbff}.dialog-row.archived{opacity:.64}.dialog-row.archived.active{opacity:.84}.dialog-row-main{display:grid;grid-template-columns:42px minmax(0,1fr) auto;width:100%;min-height:90px;align-items:center;gap:10px;padding:10px;border:0;background:transparent;color:#182230;text-align:left}.dialog-search-matches{display:grid;gap:6px;padding:0 10px 10px 62px}.dialog-search-match{display:grid;grid-template-columns:auto minmax(0,1fr);justify-content:flex-start;min-height:44px;align-items:center;overflow:hidden;padding:6px 9px;border-color:#b9d9ee;background:#fff;color:#075985;font-size:12px;text-align:left}.dialog-search-match span{display:inline-grid;min-width:20px;height:20px;place-items:center;border-radius:999px;background:#e7f3fb}.dialog-search-match b{display:-webkit-box;overflow:hidden;font-weight:800;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}.avatar{display:grid;width:42px;height:42px;flex:0 0 auto;place-items:center;border-radius:999px;background:#dbeafe;color:#14517c;font-weight:850;overflow:hidden}.avatar.large{width:50px;height:50px}.avatar-button{display:inline-grid;flex:0 0 auto;place-items:center;padding:0;border:0;border-radius:999px;background:transparent;color:inherit;cursor:zoom-in}.avatar-button:focus-visible{outline:2px solid #14517c;outline-offset:3px}.avatar img{width:100%;height:100%;object-fit:cover}.dialog-avatar-wrap{position:relative;display:inline-grid;width:42px;height:42px}.dialog-copy,.dialog-meta{display:grid;min-width:0;gap:4px}.dialog-copy strong,.dialog-copy p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-copy .search-match{color:#075985;font-weight:800}.empty-state{display:grid;min-height:140px;place-items:center;padding:18px;color:#667085;text-align:center}.dialog-copy p,.dialog-copy small{font-size:13px;line-height:1.25}.dialog-meta{justify-items:end;align-self:stretch;align-content:start;min-width:44px}.dialog-meta b{display:grid;min-width:22px;height:22px;place-items:center;border-radius:999px;background:#14517c;color:#fff;font-size:12px}.status-icon{display:inline-grid;width:30px;height:30px;place-items:center;border-radius:999px}.status-icon.ai{background:#dcfae6;color:#027a48}.status-icon.manager{background:#fef0c7;color:#b54708}.status-icon.disabled{background:#fee4e2;color:#b42318}.status-icon.closed{background:#eef2f6;color:#667085}.dialog-channel-logo{position:absolute;right:-4px;bottom:-3px;width:17px;height:17px;border:2px solid #ffffff;border-radius:6px;background:#fff;object-fit:cover;box-shadow:none}.thread{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;min-width:0;background:#eef2f6}.thread-head{justify-content:space-between;gap:16px;min-height:78px;padding:14px 18px;border-bottom:1px solid #e4e9f1;background:#fff}.mobile-back-button,.mobile-thread-menu{display:none}.person{display:flex;min-width:0;align-items:center;gap:12px}.person strong{display:block;color:#101828}.profile-link{display:inline-flex;width:fit-content;margin-top:4px;padding:4px 8px;border:1px solid #d7e0ef;border-radius:7px;background:#f8fafc;color:#52637a;font-size:12px;font-weight:750;line-height:1.2;text-decoration:none}.profile-link:hover{border-color:#bfd1ee;background:#eef6ff;color:#2d5fb3}.person p{margin-top:4px;font-size:13px}.person .typing-line{color:#027a48;font-weight:800}.timeout{min-height:34px;padding:0 10px;border-color:#fedf89;border-radius:8px;background:#fff6e8;color:#b54708;font-size:13px;font-weight:800}.status-action{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:8px;overflow:hidden;transition:border-color .18s ease,background-color .18s ease,color .18s ease,min-width .22s ease,padding .22s ease}.status-action.with-timeout{width:auto;min-width:76px;gap:7px;padding:0 10px 0 8px;font-size:13px;font-weight:800}.status-action.with-feedback{width:auto;min-width:40px;gap:7px;padding:0 10px 0 8px;font-size:13px;font-weight:800}.status-action.ai{border-color:#abefc6;background:#dcfae6;color:#027a48}.status-action.manager{border-color:#fedf89;background:#fef0c7;color:#b54708}.thread-status-icon{border-radius:8px}.status-action .thread-status-icon{width:100%;height:100%;background:transparent;color:inherit}.status-action.with-timeout .thread-status-icon,.status-action.with-feedback .thread-status-icon{width:22px;height:22px}.status-timeout-text{display:inline-block;overflow:hidden;max-width:72px;white-space:nowrap;animation:status-timeout-flow .24s cubic-bezier(.2,.9,.2,1) both;transform-origin:center}.status-feedback{display:inline-block;overflow:hidden;max-width:0;white-space:nowrap;animation:status-feedback-flow 2.1s cubic-bezier(.2,.9,.2,1) both;transform-origin:center}@keyframes status-timeout-flow{0%{max-width:0;opacity:0;clip-path:inset(0 50% 0 50%);transform:scaleX(.96)}to{max-width:72px;opacity:1;clip-path:inset(0 0 0 0);transform:scaleX(1)}}@keyframes status-feedback-flow{0%{max-width:0;opacity:0;clip-path:inset(0 50% 0 50%);transform:scaleX(.96)}16%,72%{max-width:180px;opacity:1;clip-path:inset(0 0 0 0);transform:scaleX(1)}to{max-width:0;opacity:0;clip-path:inset(0 50% 0 50%);transform:scaleX(.96)}}.messages{display:flex;min-height:0;flex-direction:column;gap:8px;overflow:auto;background:#eef2f6;padding:18px}.dialog-list-body,.messages{--sb-thumb: rgba(16, 24, 40, 0);scrollbar-width:thin;scrollbar-color:var(--sb-thumb) transparent;transition:scrollbar-color .25s}.dialog-list-body:hover,.messages:hover{--sb-thumb: rgba(16, 24, 40, .22)}.dialog-list-body::-webkit-scrollbar,.messages::-webkit-scrollbar{width:5px}.dialog-list-body::-webkit-scrollbar-track,.messages::-webkit-scrollbar-track{background:transparent}.dialog-list-body::-webkit-scrollbar-thumb,.messages::-webkit-scrollbar-thumb{background:var(--sb-thumb);border-radius:99px;transition:background .25s}.message-row{display:flex;width:100%;align-items:flex-end;justify-content:flex-start;gap:8px}.message-row.manager{justify-content:flex-end}.message-row.grouped{margin-top:-5px}.message-avatar-slot{display:inline-flex;width:42px;min-width:42px;align-items:flex-end;justify-content:center;align-self:stretch}.message{position:relative;display:inline-flex;flex-direction:column;align-items:flex-start;width:auto;min-width:86px;max-width:min(660px,78%);padding:12px 14px;border:1px solid #e4e9f1;border-radius:8px;background:#fff}.message-new{animation:message-rise-in .26s cubic-bezier(.2,.9,.2,1) both;transform-origin:bottom center;will-change:transform,opacity}@keyframes message-rise-in{0%{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.message.manager{align-self:flex-end;border-color:#cfe8f8;background:#eaf6ff}.message.ai,.message.reminder{border-color:#d7f4df;background:#f0fff4}.message.search-hit{border-color:#fdb022}.message.jump-highlight{animation:message-focus-pulse 1.1s ease-out both}@keyframes message-focus-pulse{0%,to{filter:none}18%,78%{filter:brightness(.88)}}.message.deleted{color:#667085;font-style:italic}.message.reaction-message{min-width:0;padding:8px 10px}.reaction-content{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:32px;font-size:28px;line-height:1}.message-reactions{position:absolute;right:10px;bottom:-13px;z-index:2;display:inline-flex;align-items:center;gap:2px;min-height:24px;padding:2px 7px;border:2px solid #edf4f8;border-radius:999px;background:#fff;color:#101828;font-size:16px;line-height:1;box-shadow:0 4px 10px #1018281a}.message.manager .message-reactions{border-color:#eaf6ff}.quoted-message{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;min-height:0;margin-bottom:8px;padding:7px 9px;border:0;border-left:3px solid #1570ef;border-radius:7px;background:#1570ef17;color:#344054;cursor:pointer;text-align:left}.quoted-message.with-thumb{grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px}.message.manager .quoted-message{background:#14517c17}.quoted-message img{width:44px;height:44px;border-radius:7px;object-fit:cover}.quoted-message span{display:grid;min-width:0;gap:2px}.quoted-message b{overflow:hidden;color:#14517c;font-size:11px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.quoted-message small{overflow:hidden;color:#475467;font-size:12px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.deleted-message,.edited-message{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#667085;font-size:13px;font-style:italic}.deleted-message button,.edited-message button{min-height:24px;padding:0 7px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#344054;font-size:12px;font-style:normal;font-weight:800;cursor:pointer}.deleted-original{display:grid;flex-basis:100%;gap:4px;margin-top:4px;padding:7px 8px;border-radius:7px;background:#1018280f;color:#344054;font-style:normal}.deleted-original p{margin:0}.deleted-original span{font-size:12px;font-weight:800}.message.attachment-only{max-width:min(360px,78%)}.message.voice-only{width:min(380px,78%);min-width:min(280px,78%)}.message.audio-file-only{width:min(400px,78%);min-width:min(300px,78%)}.message.gif-only{width:fit-content;max-width:min(360px,78%)}.message.sticker-only{width:fit-content;min-width:0;max-width:min(220px,78%);overflow:visible;padding:0;border:0;background:transparent;box-shadow:none}.message.image-only{position:relative;width:fit-content;min-width:0;max-width:min(320px,78%);overflow:visible;padding:0;border:0;background:transparent;box-shadow:none}.message.image-caption{position:relative;width:fit-content;min-width:0;max-width:min(320px,78%);overflow:visible;padding:0;border:0;background:transparent}.message-label{display:block;min-height:16px;margin-bottom:4px;color:#027a48;font-size:12px;font-weight:850}.message-participant{display:block;max-width:100%;margin-bottom:5px;color:#14517c}.participant-avatar-button{display:inline-flex;width:42px;height:42px;flex:0 0 42px;align-items:center;justify-content:center;min-width:0;min-height:0;padding:0;border:0;border-radius:999px;background:transparent}.participant-avatar-button:hover{transform:scale(1.04)}.participant-avatar-button .avatar{width:42px;height:42px;font-size:14px}.message-participant b{overflow:hidden;color:#14517c;font-size:12px;font-weight:850;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.message.manager .message-label,.message.client .message-label{display:none}.message p{line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}.message-text-link{color:#0b5c8e;font-weight:850;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}.message-text-link:hover{color:#073f63}.message-text-inline-time{display:block}.message-text-inline-time .message-time-inline{display:inline-flex;float:right;align-items:baseline;gap:4px;margin-top:0;margin-left:12px;vertical-align:baseline}.message.image-caption p{box-sizing:border-box;width:100%;margin:0;padding:9px 68px 22px 10px;border:1px solid #e4e9f1;border-top:0;border-radius:0 0 8px 8px;background:#fff}.message.manager.image-caption p{border-color:#cfe8f8;background:#eaf6ff}.message.ai.image-caption p,.message.reminder.image-caption p{border-color:#d7f4df;background:#f0fff4}.message-attachments{display:flex;width:100%;max-width:100%;flex-direction:column;align-items:flex-start;gap:8px;margin-top:8px}.message-media-wrap{display:grid;max-width:100%;gap:6px}.message-image-link{display:block;overflow:hidden;width:min(320px,100%);max-width:100%;min-height:0;padding:0;border:1px solid #d9e1ec;border-radius:8px;background:#f8fafc;color:inherit;cursor:zoom-in}.message-image-link img{display:block;width:auto;max-width:100%;height:auto;max-height:320px;object-fit:contain}.message.image-only .message-attachments,.message.image-caption .message-attachments{width:auto;max-width:100%;margin-top:0}.message.sticker-only .message-attachments{width:auto;margin-top:0}.message.image-only .message-image-link{width:fit-content;max-width:100%;border:0}.message.sticker-only .message-image-link{background:transparent}.message.sticker-only .message-image-link img{max-width:180px;max-height:180px}.sticker-media-wrap{width:auto;margin-top:0}.sticker-video-frame{position:relative;display:grid;width:172px;height:172px;place-items:center;overflow:hidden;border-radius:8px;background:transparent}.sticker-video{display:block;position:relative;width:100%;height:100%;object-fit:contain;border-radius:0;background:transparent;z-index:1}.sticker-emoji-badge{position:absolute;left:4px;bottom:4px;z-index:2;display:inline-grid;min-width:26px;height:26px;place-items:center;padding:0 4px;border-radius:999px;background:#ffffffd1;font-size:18px;line-height:1;box-shadow:0 4px 14px #1018281f}.gif-media-wrap{width:min(320px,100%);margin-top:0}.gif-video{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:8px;background:transparent}.sticker-placeholder{display:inline-grid;width:152px;min-height:132px;place-items:center;gap:5px;padding:16px 12px;border:1px solid #d9e1ec;border-radius:8px;background:#f8fafc;color:#14517c;text-align:center}.sticker-placeholder b{color:#182230;font-size:24px;line-height:1}.sticker-placeholder small{display:block;color:#667085;font-size:11px;font-weight:750;line-height:1.25}.message.image-caption .message-image-link{width:fit-content;max-width:100%;border:0;border-radius:8px 8px 0 0}.message.image-caption .message-image-link img{border-radius:8px 8px 0 0}.message.image-caption .message-time{position:absolute;right:8px;bottom:6px;margin:0;color:#667085}.location-card{display:flex;width:min(320px,100%);align-items:center;gap:10px;padding:12px;border:1px solid #d5dce7;border-radius:8px;background:#f8fafc;color:#182230;text-decoration:none}.location-card svg{flex:0 0 auto;color:#14517c}.location-card span{display:grid;min-width:0;gap:2px}.location-card b,.location-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location-card small{color:#667085;font-size:12px}.message.image-only .message-time{position:absolute;right:8px;bottom:8px;display:inline-flex;min-height:24px;align-items:center;gap:5px;margin:0;padding:3px 7px;border-radius:999px;background:#101828a8;color:#fff;font-size:12px;white-space:nowrap;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.message-media,.message-audio{display:block;width:min(360px,100%)}.voice-media-wrap,.audio-file-wrap{width:100%;min-width:0}.audio-file-wrap .message-audio{width:100%;min-width:min(280px,100%);height:42px}.audio-file-label{display:inline-flex;align-items:center;gap:6px;margin-bottom:8px;color:#667085;font-size:12px;font-weight:800}.voice-audio{width:100%;min-width:240px;height:42px}.message-media{max-height:320px;border-radius:8px;background:#101828}.message-download,.message-file-link{display:inline-flex;align-items:center;gap:7px;color:#14517c;font-size:13px;font-weight:800;text-decoration:none}.message-download{max-width:min(360px,100%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.muted-download{color:#667085}.message-time{align-self:flex-end;justify-content:flex-end;margin-top:8px;margin-left:auto;color:#667085;font-size:12px}.message-context-menu{position:fixed;z-index:80;width:200px;padding:6px;border:1px solid #d9e1ec;border-radius:10px;background:#fff;box-shadow:0 18px 38px #10182829}.message-context-menu button{display:inline-flex;width:100%;min-height:38px;align-items:center;justify-content:flex-start;gap:8px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#b42318;font-size:13px;font-weight:800;cursor:pointer}.message-context-menu button:disabled{color:#98a2b3;cursor:not-allowed}.message-context-menu button:hover{background:#fef3f2}.message-context-menu button:not(:last-child):hover{background:#eef6fb;color:#14517c}.dialog-context-menu button{color:#344054}.dialog-context-menu button:hover,.dialog-context-menu button:not(:last-child):hover{background:#eef6fb;color:#14517c}@media(prefers-reduced-motion:reduce){.message-new{animation:none}.status-feedback,.status-timeout-text{animation:none;max-width:none}}.composer{position:relative;display:flex;align-items:flex-end;gap:10px;padding:10px 12px;border-top:1px solid #e4e9f1;background:#fff}.composer-actions{display:flex;flex:0 0 auto;gap:8px}.reply-preview{display:flex;position:absolute;right:12px;bottom:calc(100% + 8px);left:12px;z-index:15;min-width:0;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px 7px 10px;border-left:3px solid #1570ef;border-radius:8px;background:#eef6ff;color:#344054}.edit-preview{border-left-color:#027a48;background:#ecfdf3}.reply-preview span{display:grid;min-width:0;gap:2px;overflow:hidden;font-size:12px;line-height:1.25}.reply-preview b{color:#14517c;font-size:11px}.reply-preview span{text-overflow:ellipsis;white-space:nowrap}.composer textarea{flex:1 1 auto;min-height:40px;max-height:240px;min-width:160px;resize:none;overflow:hidden;padding:9px 12px;line-height:20px}.composer .send-button{flex:0 0 auto}.selected-file{position:absolute;right:12px;bottom:calc(100% + 8px);left:12px;z-index:16;display:flex;align-items:center;gap:8px;min-width:0;padding:8px 10px;border:1px solid #d9e1ec;border-radius:8px;background:#f8fafc;color:#344054;font-size:13px;font-weight:750}.selected-file span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-file .icon-button{width:28px;height:28px;margin-left:auto}.hidden-file-input{display:none}.kanban-shell{position:relative}.kanban{display:grid;grid-auto-columns:292px;grid-auto-flow:column;align-items:start;gap:14px;min-height:620px;overflow-x:auto;overflow-y:hidden;padding-bottom:8px;scrollbar-gutter:stable}.kanban-edge{position:absolute;z-index:6;top:0;bottom:14px;width:min(58px,8%);opacity:0;pointer-events:auto;transition:opacity .18s ease}.kanban-edge:after{content:"";position:absolute;inset:0;border-radius:8px}.kanban-edge-left{left:0}.kanban-edge-right{right:0}.kanban-edge-left:hover:after{background:linear-gradient(90deg,rgb(238 242 246 / 86%),transparent)}.kanban-edge-right:hover:after{background:linear-gradient(270deg,rgb(238 242 246 / 86%),transparent)}.kanban-column{display:grid;align-content:start;align-self:start;min-width:0;gap:10px;padding:12px;background:#f8fafc;transition:border-color .16s ease,background-color .16s ease,transform .16s ease}.kanban-column.drop-target{border-color:#0ea5e9;background:#eff8ff;transform:translateY(-2px)}.column-head{justify-content:space-between;min-width:0;min-height:38px;gap:8px}.column-head strong{min-width:0;color:#101828;font-size:13px;overflow-wrap:anywhere}.column-head span{display:grid;min-width:26px;height:26px;place-items:center;border-radius:999px;background:#e7f3fb;color:#075985;font-size:12px;font-weight:850}.stage-column-head{cursor:grab}.stage-column-head:active{cursor:grabbing}.stage-title-button{justify-content:flex-start;min-width:0;min-height:30px;padding:0;border:0;background:transparent;color:#101828;text-align:left;overflow-wrap:anywhere}.stage-title-button:hover{color:#14517c}.stage-title-input{min-height:34px;padding:0 9px;font-size:13px;font-weight:800}.create-stage-column{border-style:dashed;background:#fbfcfe}.create-stage-head strong{color:#475467}:root[data-resolved-theme=dark] .create-stage-column{border-color:var(--border-soft);background:#0f1722}.deal-card{display:grid;width:100%;min-width:0;gap:8px;padding:12px;cursor:pointer;transition:opacity .16s ease,transform .16s ease,border-color .16s ease}.deal-card:active{transform:scale(.99)}.deal-card:hover{border-color:#b8c5d8;transform:translateY(-1px)}.deal-card-main{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:10px;min-width:0}.deal-card-main .avatar{width:38px;height:38px}.deal-card-copy{display:grid;min-width:0;gap:5px}.deal-title{min-width:0;align-items:flex-start;gap:7px}.deal-title strong{min-width:0;flex:1;color:#101828;overflow-wrap:anywhere;word-break:break-word}.deal-card p{min-width:0;overflow-wrap:anywhere;font-size:13px}.deal-footer{justify-content:space-between;gap:8px;min-width:0;margin-top:4px}.deal-footer b{min-width:0;margin-right:auto;color:#101828;overflow-wrap:anywhere}.tasks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tasks-two-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.tasks-two-column.single{grid-template-columns:minmax(0,1fr)}.task-column{display:grid;gap:10px;align-content:start;min-width:0}.task-column-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #d6e0ec;border-radius:8px;background:#fff;box-shadow:0 8px 22px #1018280a}.task-column-head div{display:grid;gap:2px;min-width:0}.task-column-head h2{margin:0;color:#101828;font-size:19px;line-height:1.15}.task-column-head span{color:#667085;font-size:13px;font-weight:750}.task-column-head b{display:grid;min-width:34px;height:34px;place-items:center;padding:0 10px;border-radius:999px;background:#e8f5fc;color:#14517c;font-size:16px}.task-column-list{display:grid;gap:12px;min-width:0}.task-column-list .empty-state{min-height:170px;border:1px dashed #d6e0ec;border-radius:8px;background:#ffffff9e}.settings-grid{display:grid;grid-template-columns:1fr;gap:16px}.settings-home,.settings-detail{display:grid;gap:16px}.settings-home-head,.settings-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-home-head h2,.settings-detail-head h2{margin:0;color:#101828;font-size:24px}.settings-home-head span{color:#667085;font-size:13px;font-weight:750}.settings-block-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.settings-block-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"icon copy arrow" "meta meta arrow";align-items:center;min-height:148px;padding:18px;border:1px solid #d9e1ec;border-radius:8px;background:#fff;color:#101828;text-align:left;box-shadow:0 10px 26px #1018280d}.settings-block-card:hover{border-color:#b8c5d8;background:#fbfcfe;transform:translateY(-1px)}.settings-block-card>svg{grid-area:arrow;color:#98a2b3}.settings-block-icon{grid-area:icon;display:grid;width:44px;height:44px;margin-right:12px;place-items:center;border-radius:8px;background:#eef6fb;color:#14517c}.settings-block-copy{grid-area:copy;display:grid;min-width:0;gap:5px}.settings-block-copy b{font-size:16px;line-height:1.2}.settings-block-copy small{color:#667085;font-size:13px;font-weight:700;line-height:1.35}.settings-block-card em{grid-area:meta;align-self:end;width:max-content;margin-top:16px;padding:5px 8px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:11px;font-style:normal;font-weight:850}.settings-detail-head{padding-bottom:2px}.tasks-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.task-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0}.task-tab{min-height:40px;padding:0 14px;border-color:#d5dce7;background:#fff;color:#344054}.task-tab.active{border-color:#0ea5e9;background:#e7f3fb;color:#075985}.task-create-button{min-height:40px;flex-shrink:0;padding:0 14px;border-color:#0ea5e9;background:#155a87;color:#fff;box-shadow:0 10px 22px #155a8729}.task-create-button:hover{background:#0f4c74;transform:translateY(-1px)}.task-card{position:relative;display:grid;gap:8px;overflow:hidden;padding:14px;border-color:#d7e1ec;cursor:pointer;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.task-title-row,.task-actions,.section-title{display:flex;align-items:center;justify-content:space-between}.task-card:hover{border-color:#b9cadc;box-shadow:0 12px 28px #1b274017;transform:translateY(-1px)}.task-title-row{align-items:flex-start;gap:12px}.task-card-copy{display:grid;min-width:0;gap:6px}.task-card-footer{display:flex;justify-content:flex-end;min-width:0}.task-card-date{display:inline-flex;align-items:center;min-height:21px;padding:0 7px;border-radius:999px;background:#f4f7fb;color:#475467;font-size:11px;font-weight:850}.task-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#e8f5fc;color:#075985}.task-card.closed .task-icon{background:#ecfdf3;color:#027a48}.task-card.archived .task-icon{background:#f2f4f7;color:#475467}.task-card h2,.section-title h2{color:#101828;font-size:19px}.task-card h2{margin:0;line-height:1.2}.task-card p{display:-webkit-box;margin:0;overflow:hidden;color:#667085;font-size:13px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.task-card-thumbs{display:flex;align-items:center;gap:6px;min-width:0}.task-card-thumbs img{width:44px;height:34px;border:1px solid #d6e0ec;border-radius:6px;object-fit:cover;background:#f4f7fb}.task-attachment-fallback{display:inline-grid;place-items:center;flex-shrink:0;border:1px solid #d6e0ec;border-radius:6px;background:#f4f7fb;color:#667085}.task-attachment-fallback.card,.task-card-thumbs .task-attachment-fallback{width:44px;height:34px}.task-attachments-list .task-attachment-fallback{width:28px;height:28px;padding:0}.task-card-thumbs span{display:inline-grid;min-width:34px;height:34px;place-items:center;padding:0 8px;border-radius:6px;background:#eef4fb;color:#475467;font-size:12px;font-weight:900}.task-checklist-preview{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.task-checklist-preview span,.task-checklist-preview small,.task-checklist-preview em{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:24px;padding:3px 7px;border-radius:999px;background:#f3f6fb;color:#526071;font-size:11px;font-style:normal;font-weight:850}.task-checklist-preview small{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-checklist-preview small.done{background:#e7f8ef;color:#027a48;text-decoration:line-through}.task-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.task-details div{display:grid;gap:4px;min-width:0;padding:10px;border:1px solid #eef2f7;border-radius:8px;background:#fbfcfe}.task-details div:first-child{grid-column:1 / -1}.task-details dt{color:#667085;font-size:12px;font-weight:850;text-transform:uppercase}.task-details dd{margin:0;color:#344054;line-height:1.45;overflow-wrap:anywhere}.task-actions{justify-content:flex-end;gap:6px;margin-top:0}.task-actions .icon-button{width:34px;min-width:34px;height:34px}.task-due-group{display:grid;gap:8px;min-width:0}.task-due-group-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;padding:0 2px}.task-due-group-head span{color:#475467;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.task-due-group-list{display:grid;gap:8px}.task-due-group.overdue .task-due-group-head span{color:#b42318}.task-due-group.today .task-due-group-head span{color:#075985}.task-due-group.future{opacity:.72}.task-due-group.future .task-card{box-shadow:none}.task-due-group.future .task-due-group-head span,.task-due-group.nodue .task-due-group-head span{color:#98a2b3}.task-attachments-panel{display:grid;gap:8px;grid-column:1 / -1;padding:12px;border:1px solid #e4eaf2;border-radius:8px;background:#fbfcfe}.task-attachments-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.task-attachments-head span{color:#344054;font-size:13px;font-weight:900}.task-attachments-head .ghost-button{min-height:34px;padding:0 10px;font-size:12px}.task-attachments-panel p{margin:0;color:#667085;font-size:12px}.task-attachments-list{display:grid;gap:6px}.task-attachments-list a{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:38px;padding:4px 8px;border:1px solid #d6e0ec;border-radius:8px;background:#fff;color:#344054;font-size:13px;font-weight:800;text-decoration:none}.task-attachments-list a>img{width:28px;height:28px;border-radius:6px;object-fit:cover;background:#f4f7fb}.task-attachments-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-attachments-list button{display:grid;width:24px;height:24px;place-items:center;padding:0;border:0;border-radius:999px;background:transparent;color:#667085}.task-attachments-list button:hover{background:#fee4e2;color:#b42318}.task-pattern-field{display:grid;gap:7px;color:#5a6479;font-size:12px;font-weight:700}.task-pattern-slider{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;border:1px solid #d7dfeb;border-radius:999px;background:#edf2f8;overflow:hidden}.task-pattern-slider:before{content:"";position:absolute;top:4px;bottom:4px;left:calc(4px + var(--pattern-index, 0) * ((100% - 8px) / 4));width:calc((100% - 8px)/4);border-radius:999px;background:#fff;box-shadow:0 8px 18px #10182824;transition:left .18s ease}.task-pattern-slider button{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:34px;padding:0 8px;border:0;border-radius:999px;background:transparent;color:#647085;font-size:12px;font-weight:900}.task-pattern-slider button.active{color:#0f172a}.task-pattern-slider button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-checklist-editor{display:grid;gap:8px;padding:10px;border:1px solid #e1e7f0;border-radius:8px;background:#f8fafc}.task-checklist-editor>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.task-checklist-editor>div>span{color:#344054;font-size:13px;font-weight:900}.task-checklist-editor small{color:#7b879a;font-size:12px;font-weight:700}.task-checklist-row{display:grid!important;grid-template-columns:18px minmax(0,1fr) 32px;gap:8px!important;align-items:center;margin:0!important}.task-checklist-row input[type=checkbox]{width:17px;height:17px;margin:0}.form-panel{display:grid;align-content:start;gap:14px;padding:18px}.form-panel.wide{grid-column:1 / -1}.form-panel label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:800}.form-panel .toggle-row{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d9e1ec;border-radius:8px;background:#fbfcfe}.toggle-row span{display:grid;gap:2px}.toggle-row small{color:#667085;font-size:12px;font-weight:750}.toggle-row input{appearance:none;position:relative;width:38px;max-width:38px;height:22px;min-height:22px;flex:0 0 auto;padding:0;border:1px solid #cfd8e5;border-radius:999px;background:#e4e9f1;cursor:pointer;transition:background .16s ease,border-color .16s ease}.toggle-row input:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 4px 10px #1018282e;transition:transform .16s ease}.toggle-row input:checked{border-color:#14517c;background:#14517c}.toggle-row input:checked:after{transform:translate(16px)}.form-panel textarea{min-height:130px;color:#475467;font-weight:500;line-height:1.45}.health-row{min-height:42px;padding:0 12px;border-radius:8px;background:#f8fafc;font-weight:750}.health-row.good svg{color:#12b76a}.health-row.warn svg{color:#f79009}.channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.channel-default-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:14px;border:1px solid #d9e1ec;border-radius:8px;background:#fbfcfe}.channel-default-card.compact{margin:0;background:linear-gradient(135deg,#fffffff5,#f0f7ffdb)}.channel-default-card h3{margin:0 0 3px;color:#182230;font-size:15px;line-height:1.25}.channel-default-card p{color:#667085;font-size:12px;font-weight:700}.channel-default-switch{width:min(260px,100%);flex-shrink:0}.ai-default-controls{display:grid;grid-template-columns:minmax(190px,260px) minmax(170px,220px);gap:10px;align-items:end}.ai-default-controls label,.dialog-owner-card label{display:grid;gap:6px;margin:0;color:#344054;font-size:12px;font-weight:800}.dialog-owner-card{display:grid;grid-template-columns:auto minmax(190px,260px) minmax(170px,1fr);gap:10px;align-items:end;padding:12px;border:1px solid #d9e1ec;border-radius:8px;background:#fbfcfe}.dialog-owner-card>span{align-self:center;color:#667085;font-size:12px;font-weight:900;text-transform:uppercase}.channel-card{display:grid;gap:12px;padding:14px;border:1px solid #d9e1ec;border-radius:8px;background:#fbfcfe}.compact-title h3{display:flex;align-items:center;gap:0;margin:0;color:#111827;font-size:17px;font-weight:900}.max-qr-box{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid #d9e1ec;border-radius:8px;background:#fff}.max-qr-box img{width:150px;height:150px;border-radius:8px;border:1px solid #e5eaf2;background:#fff}.max-qr-box div{display:grid;gap:7px;min-width:0}.max-qr-box b{color:#111827;font-size:16px;font-weight:900}.max-qr-box span,.max-qr-box a{color:#667085;font-size:13px;font-weight:750}.messenger-title-icon{width:22px;height:22px;border-radius:6px;object-fit:cover;vertical-align:middle;margin-right:7px;box-shadow:0 1px 3px #0f172a1f}.channel-card.good{border-color:#abefc6}.channel-card.warn{border-color:#fedf89}.channel-head,.channel-meta,.channel-actions{display:flex;align-items:center}.channel-head{justify-content:space-between;gap:10px}.channel-head span{display:grid;min-width:0;gap:3px}.channel-head b,.channel-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-head small,.channel-meta,.channel-actions>span{color:#667085;font-size:12px;font-weight:800}.channel-head em{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#eef3f8;color:#344054;font-size:11px;font-style:normal;font-weight:850}.channel-card.good .channel-head em{background:#dcfae6;color:#027a48}.channel-meta{flex-wrap:wrap;gap:6px}.channel-meta span{padding:4px 7px;border-radius:999px;background:#eef3f8}.channel-actions{flex-wrap:wrap;gap:8px}.channel-hub-panel{gap:16px}.channel-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.channel-hub-head h2{margin:2px 0 4px;color:var(--text-strong);font-size:22px;line-height:1.1}.channel-hub-head span{color:var(--text-muted);font-size:13px;font-weight:750}.channel-hub-layout{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.35fr);gap:14px;align-items:start}.channel-hub-tabs{display:grid;gap:8px}.channel-hub-tabs button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:64px;padding:10px;border:1px solid var(--border-soft);border-left:4px solid transparent;border-radius:8px;background:var(--surface);color:var(--text-strong);text-align:left}.channel-hub-tabs button.active{border-left-color:var(--channel-accent);background:linear-gradient(135deg,#fffffffa,color-mix(in srgb,var(--channel-accent) 10%,white));box-shadow:0 10px 26px #0f172a14}.channel-hub-tabs img,.channel-hub-title img{width:38px;height:38px;border-radius:8px;object-fit:cover}.channel-hub-tabs span,.channel-hub-title span{display:grid;min-width:0;gap:2px}.channel-hub-tabs b,.channel-hub-title b{overflow:hidden;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.channel-hub-tabs small,.channel-hub-title small{overflow:hidden;color:var(--text-muted);font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.channel-hub-tabs em{padding:4px 7px;border-radius:999px;font-size:10px;font-style:normal;font-weight:900}.channel-hub-tabs em.good{background:#dcfae6;color:#027a48}.channel-hub-tabs em.warn{background:#fff3d8;color:#b54708}.channel-hub-detail{display:grid;gap:12px;min-width:0;padding:12px;border:1px solid var(--border-soft);border-radius:10px;background:color-mix(in srgb,var(--channel-accent) 5%,var(--surface))}.channel-hub-title{display:flex;align-items:center;gap:10px}.channel-account-add{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) auto;gap:10px;align-items:end;padding:10px;border:1px dashed color-mix(in srgb,var(--channel-accent) 42%,var(--border-soft));border-radius:8px;background:#ffffffb8}.channel-account-add label,.channel-responsible-mini{display:grid;gap:5px;margin:0;color:var(--text-muted);font-size:11px;font-weight:850}.channel-account-list{display:grid;gap:8px}.channel-account-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;gap:10px;align-items:center;min-height:52px;padding:9px 10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface)}.channel-account-status{width:9px;height:9px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 4px #f59e0b21}.channel-account-status.connected,.channel-account-status.ready,.channel-account-status.authorized{background:#12b76a;box-shadow:0 0 0 4px #12b76a21}.channel-account-row div{display:grid;min-width:0;gap:2px}.channel-account-row b,.channel-account-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-account-row b{color:var(--text-strong);font-size:13px;font-weight:900}.channel-account-row small,.channel-account-row em{color:var(--text-muted);font-size:11px;font-style:normal;font-weight:800}.toggle-line{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;font-size:13px;font-weight:850}.toggle-line input[type=checkbox]{width:18px;height:18px;margin:0}:root[data-resolved-theme=dark] .channel-hub-tabs button.active{background:color-mix(in srgb,var(--channel-accent) 16%,var(--surface-soft));box-shadow:0 10px 26px #00000038}:root[data-resolved-theme=dark] .channel-default-card.compact,:root[data-resolved-theme=dark] .channel-account-add,:root[data-resolved-theme=dark] .channel-hub-detail{background:color-mix(in srgb,var(--channel-accent) 8%,var(--surface-soft))}:root[data-resolved-theme=dark] .channel-hub-tabs em.good{background:var(--success-soft);color:var(--success)}:root[data-resolved-theme=dark] .channel-hub-tabs em.warn{background:var(--warning-soft);color:var(--warning)}.whatsapp-self-card{gap:12px;margin-bottom:16px}.whatsapp-self-qr{display:flex;align-items:center;gap:14px;padding:10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-soft)}.whatsapp-self-qr img{width:132px;height:132px;border:1px solid #d8e2ed;border-radius:8px;background:#fff}.whatsapp-self-qr span{max-width:360px;color:var(--text-muted);font-size:13px;font-weight:750;line-height:1.4}.whatsapp-self-actions{justify-content:flex-start}.segmented-control{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;border:1px solid #d9e1ec;border-radius:8px;background:#eef3f8}.segmented-control button{min-height:34px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:#475467;font-size:12px}.segmented-control button.active{background:#fff;color:#075985;box-shadow:0 6px 14px #10182814}.tool-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}.tool-list li{padding:10px 12px;border-radius:8px;background:#f1f5f9;color:#344054;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px}.tool-rules-editor{display:grid;gap:10px}.tool-rules-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#344054;font-size:13px;font-weight:800}.compact-button{min-height:34px;padding:0 10px;font-size:12px}.tool-rules-textarea{min-height:112px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12.5px;line-height:1.6}.deals-toolbar{display:flex;align-items:center;gap:10px;padding:0 16px 8px}.deals-search{flex:1;max-width:360px;position:relative}.deals-topbar-search{flex:1 1 200px;max-width:300px;min-width:160px}.excel-menu-button{white-space:nowrap}.excel-menu-popover{position:absolute;top:calc(100% + 6px);right:0;z-index:30;display:grid;gap:4px;min-width:180px;padding:6px;border:1px solid #d9e1ec;border-radius:10px;background:#fff;box-shadow:0 8px 24px #1018281a}.excel-menu-popover button{justify-content:flex-start;width:100%;min-height:36px;padding:0 10px;border-color:transparent;background:transparent;color:#182230;font-size:13px;font-weight:700;gap:8px}.excel-menu-popover button:hover:not(:disabled){background:#eef6fb;border-color:transparent}.search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:none;border:none;padding:2px;cursor:pointer;color:#667085;display:flex;align-items:center;min-height:unset}.search-clear:hover{color:#344054}.deals-search-count{font-size:12px;color:#667085;white-space:nowrap}.settings-save-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.settings-save-row button{margin-left:auto}.unsaved-warning{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:6px;background:#fff8e6;border:1px solid #f6c842;color:#92660a;font-size:12px;font-weight:600}.tool-chip-list{display:grid;gap:8px}.tool-rule-chip{display:flex;align-items:center;gap:8px;min-width:0;padding:8px;border:1px solid #d9e1ec;border-radius:8px;background:#fbfcfe}.tool-chip-name{flex:0 0 auto;padding:5px 8px;border:1px solid #b9d7ed;border-radius:999px;background:#eaf6ff;color:#075985;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:850;white-space:nowrap}.tool-chip-params,.tool-modal-params{display:flex;flex:1;flex-wrap:wrap;align-items:end;gap:8px;min-width:0}.tool-chip-params label,.tool-modal-params label{display:grid;flex:1 1 150px;gap:4px;min-width:120px;color:#667085;font-size:12px;font-weight:800}.tool-chip-params input,.tool-chip-params select{min-height:34px;padding:0 9px;font-size:13px}.tool-modal{width:min(560px,100%)}.compact-form{gap:12px}.asset-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.asset-list{display:grid;gap:8px}.asset-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d9e1ec;border-radius:8px;background:#fbfcfe}.asset-row div{display:grid;min-width:0;gap:2px}.asset-row b,.asset-row small,.asset-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-row small{color:#14517c;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;font-weight:800}.asset-row span,.asset-row a{color:#667085;font-size:13px}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#1018286b;z-index:20}.deal-modal{width:min(780px,100%);max-height:min(760px,calc(100vh - 48px));overflow:auto;border:1px solid #d9e1ec;border-radius:8px;background:#fff;box-shadow:0 24px 80px #10182838}.deal-modal-tabs{display:flex;gap:0;border-bottom:1px solid #e4e9f1;padding:0 20px;background:#f9fafb}.deal-modal-tab{min-height:40px;padding:0 16px;font-size:13.5px;font-weight:700;color:#667085;border:none;border-bottom:2px solid transparent;background:transparent;cursor:pointer;transition:color .15s,border-color .15s;border-radius:0}.deal-modal-tab:hover{color:#182230}.deal-modal-tab.active{color:#175cd3;border-bottom-color:#175cd3}.visits-tab{padding:16px 20px 20px;display:flex;flex-direction:column;gap:12px;min-height:200px}.visits-toolbar{display:flex;gap:8px;align-items:center}.visit-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border:1px solid #e4e9f1;border-radius:10px;background:#f9fafb}.visit-form label{display:grid;gap:5px;font-size:12.5px;font-weight:600;color:#344054}.visit-form label input,.visit-form label select{min-height:36px;padding:0 10px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;font-size:13px}.visit-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.visits-list{display:flex;flex-direction:column;gap:8px}.visits-empty,.visits-loading{color:#98a2b3;font-size:13px;text-align:center;padding:20px 0;margin:0}.visit-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e4e9f1;border-radius:10px;background:#fff;transition:box-shadow .15s}.visit-card:hover{box-shadow:0 2px 10px #10182812}.visit-card-main{display:flex;flex-direction:column;gap:3px;min-width:0}.visit-card-service{font-size:14px;font-weight:700;color:#182230}.visit-card-datetime{font-size:12.5px;color:#344054;font-weight:600}.visit-card-therapist{font-size:12px;color:#667085}.visit-card-notes{font-size:12px;color:#667085;font-style:italic}.visit-card-meta{font-size:11.5px;color:#98a2b3;margin-top:2px}.visit-card-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.visit-status-select{min-height:30px;padding:0 8px;border:1px solid #e4e9f1;border-radius:6px;font-size:12px;font-weight:700;background:#f9fafb;cursor:pointer}.visit-delete-btn{width:28px;height:28px;min-height:unset;color:#b42318;border-color:transparent}.services-panel .section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.service-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border:1px solid #e4e9f1;border-radius:10px;background:#f9fafb;margin-bottom:14px}.service-form label{display:grid;gap:5px;font-size:12.5px;font-weight:600;color:#344054}.service-form label.full{grid-column:1 / -1}.service-form label input,.service-form label textarea{min-height:36px;padding:6px 10px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;font-size:13px;resize:vertical}.service-form-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.services-list{display:flex;flex-direction:column;gap:6px}.services-empty,.services-loading{color:#98a2b3;font-size:13px;text-align:center;padding:16px 0;margin:0}.service-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e4e9f1;border-radius:8px;background:#fff;transition:opacity .15s}.service-row.inactive{opacity:.5}.service-row-info{display:flex;flex-direction:column;gap:2px;min-width:0}.service-row-name{font-size:14px;font-weight:700;color:#182230}.service-row-meta{font-size:12px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.service-row-actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.small-btn{min-height:30px;padding:0 8px;font-size:13px}.ai-pause-modal{width:min(420px,100%)}.ai-pause-options{display:grid;gap:10px;padding:18px}.ai-pause-options .ghost-button{justify-content:flex-start}.qr-modal-body{display:grid;justify-items:center;gap:14px;padding:18px}.qr-image{width:min(280px,100%);aspect-ratio:1;border:1px solid #d9e1ec;border-radius:8px;background:#fff;object-fit:contain}.qr-code-text{display:grid;width:100%;gap:8px;padding:12px;border:1px solid #d9e1ec;border-radius:8px;background:#f8fafc;color:#344054;overflow-wrap:anywhere}.qr-code-text b{color:#14517c}.danger-action{border-color:#fecdca;color:#b42318}.modal-action-spacer{flex:1}.image-preview-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:28px;background:#101828db;z-index:60}.image-preview{display:block;max-width:min(100%,1280px);max-height:calc(100vh - 56px);border-radius:8px;object-fit:contain;box-shadow:0 24px 80px #0000005c}.image-preview-close{position:fixed;top:18px;right:18px;z-index:61;width:42px;min-width:42px;height:42px;padding:0;border-color:#ffffff38;background:#101828b8;color:#fff}.profile-photos-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:28px;background:#101828c7;z-index:60}.profile-photos-panel{width:min(620px,100%);max-height:calc(100vh - 56px);overflow:auto;padding:18px;border:1px solid rgb(255 255 255 / 12%);border-radius:8px;background:#fff;box-shadow:0 24px 80px #0000004d}.profile-photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}.profile-photo-tile{display:block;overflow:hidden;aspect-ratio:1;min-height:0;padding:0;border:1px solid #d9e1ec;border-radius:8px;background:#f8fafc;cursor:zoom-in}.profile-photo-tile img{display:block;width:100%;height:100%;object-fit:cover}.participant-profile-modal{width:min(460px,100%)}.participant-profile-head{display:flex;min-width:0;align-items:center;gap:12px}.participant-profile-avatar{min-width:0;min-height:0;padding:0;border:0;border-radius:999px;background:transparent}.participant-profile-avatar:disabled{cursor:default}.participant-profile-body{display:grid;gap:8px;padding:18px}.participant-profile-row{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr);gap:12px;align-items:center;padding:10px 12px;border:1px solid #e4e9f1;border-radius:8px;background:#f8fafc}.participant-profile-row span{color:#667085;font-size:12px;font-weight:700}.participant-profile-row b{min-width:0;color:#101828;font-size:13px;overflow-wrap:anywhere}.modal-head,.modal-actions{justify-content:space-between;padding:18px}.modal-head{border-bottom:1px solid #e4e9f1}.modal-head h2{margin-top:4px}.modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.modal-form label{display:grid;gap:7px;color:#344054;font-size:13px;font-weight:800}.modal-form .full{grid-column:span 2}.phone-check-status{min-height:17px;color:#667085;font-size:12px;font-weight:750}.phone-check-status.checking{color:#14517c}.phone-check-status.found{color:#027a48}.phone-check-status.not_found,.phone-check-status.error{color:#b42318}.phone-check-contact{display:inline-flex;min-width:0;align-items:center;gap:10px;padding:8px;border:1px solid #d1fadf;border-radius:8px;background:#f6fef9}.phone-check-contact .avatar{width:36px;height:36px}.phone-check-contact span{display:grid;min-width:0;gap:2px}.phone-check-contact b{overflow:hidden;color:#1d2939;font-size:13px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.phone-check-contact small{color:#027a48;font-size:12px;font-weight:800}.modal-actions{border-top:1px solid #e4e9f1;background:#fbfcfe}.toast-stack{position:fixed;right:22px;bottom:22px;z-index:40;display:grid;width:min(460px,calc(100vw - 44px));min-height:var(--toast-stack-height, 54px);align-items:end;pointer-events:auto}.toast-stack:before{content:"";grid-area:1 / 1;align-self:stretch;width:100%;pointer-events:auto}.toast{grid-area:1 / 1;display:inline-flex;width:100%;align-items:flex-start;gap:10px;padding:12px 10px 12px 12px;color:#344054;font-size:14px;font-weight:750;animation:toast-in .18s ease-out;transform:translateY(calc(var(--stack-index) * -12px)) scale(calc(1 - var(--stack-index) * .025));transform-origin:bottom center;transition:transform .22s ease,opacity .22s ease}.toast-stack:hover .toast{transform:translateY(calc(var(--stack-index) * -86px)) scale(1)}.toast.clickable{cursor:pointer}.toast.clickable:focus-visible{outline:2px solid #14517c;outline-offset:3px}.toast-content{display:grid;flex:1;min-width:0;gap:2px;line-height:1.25}.toast-content strong,.toast-message{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.toast-content strong{color:#1d2939;font-weight:850;-webkit-line-clamp:1}.toast-message{color:#475467;font-weight:750;-webkit-line-clamp:2}.toast-close{display:grid;width:22px;height:22px;min-width:22px;place-items:center;margin-left:auto;padding:0;border-color:transparent;border-radius:999px;background:transparent;color:#667085;opacity:.78;transition:background .15s ease,color .15s ease,opacity .15s ease}.toast-close:hover{background:#eef3f8;color:#344054;opacity:1}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1180px){.crm-shell{grid-template-columns:72px minmax(0,1fr)}.sidebar{padding:16px 10px;align-items:center}.brand{justify-content:center}.brand>div{display:none}.nav-item{justify-content:center;width:44px;min-width:44px;padding:0;border-radius:10px}.nav-item .nav-badge{position:absolute;top:4px;right:2px;min-width:16px;height:16px;padding:0 3px;font-size:10px;margin:0}.nav-item .nav-label,.sidebar-status{display:none}.sidebar-bottom{align-items:center}.ai-helper{width:44px}.ai-helper-fab{width:44px;min-width:44px;justify-content:center;padding:0;border-radius:10px}.ai-helper-fab span{display:none}.sidebar-logout{width:44px;min-width:44px;padding:0;border-radius:10px;font-size:0}.theme-toggle{grid-template-columns:1fr;width:44px;min-width:44px;padding:3px;border-radius:12px;gap:0;font-size:0;justify-content:center}.theme-toggle button{min-height:28px;border-radius:8px}.theme-toggle span{display:none}.metrics,.settings-block-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.channel-grid{grid-template-columns:1fr}.channel-default-card{align-items:stretch;flex-direction:column}.channel-default-switch{width:100%}.ai-default-controls,.dialog-owner-card{grid-template-columns:1fr}.inbox-layout{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:820px){.channel-hub-head,.channel-default-card.compact{flex-direction:column;align-items:stretch}.channel-hub-layout,.channel-account-add,.ai-default-controls{grid-template-columns:1fr}.channel-account-row{grid-template-columns:10px minmax(0,1fr)}.channel-account-row em,.channel-account-row button{grid-column:2;justify-self:start}.task-pattern-slider button span{display:none}.max-qr-box{grid-template-columns:1fr}.max-qr-box img{width:min(220px,100%);height:auto;aspect-ratio:1}.crm-shell{display:block;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.crm-shell.mobile-chat-open{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;padding-bottom:0;overflow:hidden;overscroll-behavior:none}.crm-shell.mobile-chat-open .sidebar{display:none}.sidebar{position:fixed;inset:auto 0 0;z-index:20;display:block;width:auto;height:auto;max-height:none;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #d9e1ec;border-right:0;background:#fffffff0;box-shadow:0 -14px 34px #1018281a;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);overflow:visible}.brand{display:none}.nav{position:relative;display:block;width:100%;overflow:visible}.desktop-nav-list{display:none}.mobile-nav-main-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.mobile-nav-more-panel{position:absolute;right:0;bottom:calc(100% + 9px);left:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;border:1px solid #d9e1ec;border-radius:14px;background:#fffffff5;box-shadow:0 -16px 36px #10182824;opacity:0;pointer-events:none;transform:translateY(18px);transition:opacity .18s ease,transform .18s ease;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.nav.mobile-more-open .mobile-nav-more-panel{opacity:1;pointer-events:auto;transform:translateY(0)}.sidebar-bottom{display:none}.nav-item{position:relative;flex-direction:column;width:100%;min-height:52px;gap:4px;padding:6px 4px;border-radius:10px;font-size:11px;line-height:1}.nav-item svg{width:19px;height:19px}.nav-item .nav-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-badge{position:absolute;top:4px;right:calc(50% - 26px);min-width:18px;height:18px;margin-left:0;padding:0 5px;font-size:10px}.workspace{padding:16px}.workspace-inbox,.crm-shell.mobile-chat-open .workspace{padding:0}.workspace-inbox{height:calc(100vh - 72px);height:calc(100dvh - 72px);min-height:0;overflow:visible}.crm-shell.mobile-chat-open .workspace-inbox{height:100vh;height:100dvh;min-height:0}.topbar,.task-title-row{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%}.tasks-toolbar{align-items:stretch;flex-direction:column}.task-card .task-title-row{align-items:flex-start;flex-direction:row}.metrics,.tasks-grid,.tasks-two-column,.task-details,.settings-grid,.settings-block-grid,.form-panel.wide{grid-template-columns:1fr}.settings-home-head,.settings-detail-head{align-items:flex-start;flex-direction:column}.kanban-toolbar{align-items:stretch;flex-direction:column}.form-panel.wide{grid-column:span 1}.inbox-layout{grid-template-columns:1fr;height:100%;min-height:0;border:0;border-radius:0;box-shadow:none}.crm-shell.mobile-chat-open .inbox-layout{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;min-height:0;border:0;border-radius:0}.inbox-layout:not(.has-thread) .thread{display:none}.inbox-layout.has-thread .dialog-list{display:none}.dialog-list{height:100%;max-height:none;border-right:0;border-bottom:0;background:transparent}.dialog-list-head{padding:10px 12px 8px}.dialog-list-body{padding:8px 12px 14px}.thread{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;overflow:hidden;overscroll-behavior:none}.thread-head{position:relative;top:0;z-index:5;align-items:center;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:64px;width:100%;max-width:100%;box-sizing:border-box;padding:10px 12px}.thread-head .person{flex:1 1 auto;min-width:0;gap:9px}.thread-head .person>div{min-width:0}.thread-head .avatar.large{width:38px;height:38px}.thread-head .person strong,.thread-head .person p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-back-button{display:inline-flex;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border-color:#d5dce7;background:#fff;color:#344054}.thread-actions{position:relative;min-width:0;flex:0 0 auto;flex-wrap:nowrap;justify-content:flex-end;gap:6px}.thread-actions .thread-deal-button,.thread-actions .thread-close-button{display:none}.mobile-thread-menu{position:relative;display:block}.mobile-thread-menu-button{width:38px;min-width:38px;height:38px;min-height:38px}.mobile-thread-menu-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:12;display:grid;width:190px;gap:6px;padding:8px;border:1px solid #d9e1ec;border-radius:10px;background:#fff;box-shadow:0 18px 38px #10182824}.mobile-thread-menu-popover button{justify-content:flex-start;width:100%;min-height:38px;padding:0 10px;border-color:transparent;background:transparent;color:#182230;font-size:14px}.mobile-thread-menu-popover button:hover:not(:disabled){background:#eef6fb}.thread-actions .ghost-button:not(.thread-deal-button){width:38px;min-width:38px;height:38px;min-height:38px;gap:0;padding:0;font-size:0}.thread-actions .ghost-button:not(.thread-deal-button) svg{width:18px;height:18px}.thread-actions .icon-button,.thread-actions .status-action{width:38px;min-width:38px;height:38px;min-height:38px}.thread-actions .status-action.with-timeout{max-width:118px;min-width:76px;padding:0 8px 0 7px}.thread-actions .status-action.with-feedback{max-width:132px;min-width:38px;padding:0 8px 0 7px}.thread-actions .status-timeout-text{max-width:72px;text-overflow:ellipsis}.thread-actions .status-feedback{text-overflow:ellipsis}.thread-actions .status-action.with-timeout .thread-status-icon,.thread-actions .status-action.with-feedback .thread-status-icon{width:20px;height:20px}.composer{gap:8px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}.composer-actions{gap:6px}.composer-actions .icon-button{width:36px;min-width:36px}.messages{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.composer .send-button{width:40px;min-width:40px;gap:0;padding:0;font-size:0}.composer .send-button svg{width:18px;height:18px}.selected-file{grid-column:1 / -1}.message{max-width:92%}.modal-form{grid-template-columns:1fr}.modal-form .full,.dialog-owner-card{grid-column:span 1}}.tool-strip{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:6px;padding:2px 16px 6px}.tool-chip-wrapper{display:flex;flex-direction:column;align-items:center;gap:5px}.tool-chip{display:inline-flex;align-items:center;gap:5px;min-height:22px;padding:3px 10px 3px 8px;border:1px solid #abefc6;border-radius:999px;background:#f0fff4;color:#027a48;font-size:11.5px;font-weight:700;font-family:inherit;cursor:pointer;transition:background .12s,border-color .12s}.tool-chip:hover:not(:disabled){background:#dcfae6;border-color:#75e0a7}.tool-chip.tool-chip-open{background:#dcfae6;border-color:#75e0a7}.tool-chip-icon{font-size:12px;line-height:1}.tool-chip-label{letter-spacing:.01em}.tool-chip-arrow{font-size:8px;opacity:.55;margin-left:1px}.tool-chip-detail{min-width:180px;max-width:280px;padding:8px 10px;border:1px solid #abefc6;border-radius:8px;background:#f6fef9;display:grid;gap:5px}.tool-chip-row{display:flex;gap:8px;align-items:baseline;font-size:12px;line-height:1.4}.tool-chip-row-label{flex:0 0 auto;color:#6eaf8c;font-size:11px;font-weight:750;min-width:56px;text-transform:uppercase;letter-spacing:.04em}.tool-chip-row-value{color:#065f46;font-weight:600;word-break:break-word}.emoji-toggle.active{background:#f0fff4;border-color:#abefc6;color:#027a48}.emoji-picker{position:absolute;bottom:calc(100% + 8px);left:0;z-index:120;width:296px;background:#fff;border:1px solid #e4e9f1;border-radius:12px;box-shadow:0 8px 30px #10182824;overflow:hidden;display:flex;flex-direction:column}.emoji-picker-tabs{display:flex;border-bottom:1px solid #e4e9f1;padding:4px 6px 0;gap:2px}.emoji-tab{min-height:32px;padding:0 8px;font-size:17px;border:none;border-bottom:2px solid transparent;background:transparent;border-radius:6px 6px 0 0;cursor:pointer;opacity:.55;transition:opacity .15s,border-color .15s}.emoji-tab:hover{opacity:.85;background:#f5f8ff}.emoji-tab.active{opacity:1;border-bottom-color:#175cd3;background:transparent}.emoji-picker-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;padding:8px;max-height:200px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(16,24,40,.15) transparent}.emoji-btn{min-height:32px;padding:0;font-size:20px;border:none;background:transparent;border-radius:6px;cursor:pointer;line-height:1;transition:background .1s}.emoji-btn:hover{background:#f0f4ff}.reaction-bar{display:flex;align-items:center;justify-content:center;gap:2px;padding:6px 8px 4px;border-bottom:1px solid #f0f2f5}.reaction-pick-btn{min-height:34px;min-width:34px;padding:0;font-size:20px;border:none;background:transparent;border-radius:8px;cursor:pointer;line-height:1;transition:background .12s,transform .1s}.reaction-pick-btn:hover{background:#f0f4ff;transform:scale(1.22)}.badge{display:inline-block;padding:2px 10px;border-radius:12px;font-size:12px;font-weight:600;letter-spacing:.01em}.badge.good{background:#e6f9f0;color:#1a7a4a}.badge.warn{background:#fff3e0;color:#b55c00}.channel-info{display:flex;flex-direction:column;gap:8px}.channel-info-row{display:flex;align-items:flex-start;gap:10px;font-size:13px}.channel-info-row b{min-width:120px;color:#5a6479;flex-shrink:0}.channel-form{display:flex;flex-direction:column;gap:12px}.channel-form label small.hint{display:block;font-size:11px;color:#8898aa;margin-top:3px}.channel-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}button.danger{background:#fff0f0;color:#c0392b;border-color:#e0b0b0}button.danger:hover{background:#ffe4e4}.error-text{color:#c0392b;font-size:13px;margin:0}.success-text{color:#1a7a4a;font-size:13px;margin:0}.hint{color:#8898aa;font-size:12px;margin:0;line-height:1.5}.text-good{color:var(--color-good, #1a7a4a)}.text-warn{color:var(--color-warn, #b55c00)}.jnl-root{display:flex;flex-direction:column;height:100%;overflow:hidden;background:#f5f6f8}.jnl-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 14px;height:52px;background:#fff;border-bottom:1px solid #e4e8ef;flex-shrink:0;box-shadow:0 1px 4px #0000000f;z-index:10;overflow:visible}.jnl-topbar-left{display:flex;align-items:center;gap:6px;flex-shrink:0;min-width:0;overflow:hidden}.jnl-topbar-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.jnl-icon-btn{width:32px;height:32px;border:none;background:none;border-radius:6px;color:#5a6479;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .12s,color .12s;flex-shrink:0}.jnl-icon-btn:hover{background:#f0f3f8;color:#182230}.jnl-today-btn{height:34px;padding:0 14px;border:1px solid #d0d8e8;border-radius:8px;background:#fff;font-size:13px;font-weight:500;color:#182230;cursor:pointer;transition:background .12s,border-color .12s;white-space:nowrap;flex-shrink:0}.jnl-today-btn:hover{background:#f0f3f8}.jnl-nav-btn{width:34px;height:34px;border:1px solid #d0d8e8;border-radius:8px;background:#fff;cursor:pointer;color:#273246;display:flex!important;align-items:center!important;justify-content:center!important;transition:background .12s,border-color .12s,color .12s,box-shadow .12s;flex-shrink:0;position:relative}.jnl-nav-btn:before,.jnl-nav-btn:after{content:"";display:block;position:absolute;left:50%;top:50%;width:9px;height:2px;border-radius:999px;background:currentColor;opacity:.72}.jnl-nav-btn--prev:before{transform:translate(-58%,-170%) rotate(-45deg)}.jnl-nav-btn--prev:after{transform:translate(-58%,70%) rotate(45deg)}.jnl-nav-btn--next:before{transform:translate(-42%,-170%) rotate(45deg)}.jnl-nav-btn--next:after{transform:translate(-42%,70%) rotate(-45deg)}.jnl-nav-btn:hover{background:#f7f9ff;border-color:#b9c7ff;color:#315eea;box-shadow:0 1px 5px #315eea17}.jnl-date-label{font-size:14px;font-weight:700;color:#182230;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.jnl-sell-btn{display:flex;align-items:center;gap:5px;height:30px;padding:0 14px;background:#4f7aff;color:#fff;border:none;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:background .12s;white-space:nowrap;flex-shrink:0}.jnl-sell-btn:hover{background:#3a65e8}.jnl-view-seg{display:flex;align-items:center;gap:2px;border:1px solid #d7deec;border-radius:9px;padding:2px;flex-shrink:0;background:#f6f8fc}.jnl-view-seg button{height:28px;padding:0 13px;border:none;background:transparent;font-size:13px;font-weight:500;color:#5a6479;border-radius:7px;cursor:pointer;white-space:nowrap;transition:background .12s,color .12s,box-shadow .12s}.jnl-view-seg button.active{background:#4f7aff;color:#fff;font-weight:600;box-shadow:0 1px 5px #4f7aff3d}.jnl-staff-select{height:30px;padding:0 8px;border:1px solid #d0d8e8;border-radius:6px;font-size:12px;background:#fff;color:#182230;cursor:pointer;max-width:160px}.jnl-density{position:relative;flex-shrink:0}.jnl-density-btn{width:34px;height:34px;padding:0;border:1px solid #d7deec;border-radius:8px;background:#fff;color:#273246;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s,border-color .12s,color .12s,box-shadow .12s}.jnl-density-btn:hover{background:#f7f9ff;border-color:#b9c7ff;color:#315eea;box-shadow:0 1px 5px #315eea1a}.jnl-density-menu{position:absolute;right:0;top:38px;width:210px;padding:6px;background:#fff;border:1px solid #dce3f0;border-radius:10px;box-shadow:0 14px 34px #0f172a24;z-index:50}.jnl-density-menu button{width:100%;border:none;background:transparent;border-radius:8px;padding:8px 9px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:2px;transition:background .12s}.jnl-density-menu button:hover{background:#f5f7fb}.jnl-density-menu button.active{background:#eef3ff}.jnl-density-menu span{font-size:13px;font-weight:700;color:#182230}.jnl-density-menu small{font-size:11px;color:#7b879a}.jnl-range-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px;padding:9px;border-top:1px solid #e4e8ef}.jnl-range-picker>span{grid-column:1 / -1;color:#182230;font-size:12px;font-weight:900}.jnl-range-picker label{display:grid;gap:4px;color:#7b879a;font-size:11px;font-weight:800}.jnl-range-picker input{height:32px;padding:0 7px;border:1px solid #d0d8e8;border-radius:7px;background:#fff;color:#182230;font-size:12px;font-weight:800}.jnl-body{flex:1;overflow:hidden;display:flex;flex-direction:column}.jnl-loading{flex:1;display:flex;align-items:center;justify-content:center;color:#8898aa}.staff-avatar{border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;flex-shrink:0;-webkit-user-select:none;user-select:none;overflow:hidden}.staff-avatar img{width:100%;height:100%;object-fit:cover;display:block}.day-cal-wrap{display:flex;flex-direction:column;flex:1;overflow:hidden}.day-staff-row{display:flex;flex-shrink:0;background:#fff;border-bottom:2px solid #e4e8ef;position:sticky;top:0;z-index:5}.day-time-gutter{width:56px;flex-shrink:0;border-right:1px solid #e4e8ef}.day-staff-header{flex:1;min-width:180px;display:flex;align-items:center;gap:10px;padding:10px 12px;border-right:1px solid #e4e8ef}.day-staff-info{display:flex;flex-direction:column;min-width:0}.day-staff-name{font-size:13px;font-weight:600;color:#182230;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-staff-role{font-size:11px;color:#8898aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.day-no-staff{padding:12px 16px;font-size:13px;color:#8898aa;font-style:italic}.day-grid-scroll{flex:1;overflow:auto}.day-grid{display:flex;position:relative}.day-time-col{width:56px;flex-shrink:0;border-right:1px solid #e4e8ef;background:#fafbfd;position:sticky;left:0;z-index:3}.day-time-slot{height:var(--slot-h, 48px);position:relative;border-bottom:1px solid #f0f2f5}.day-time-slot.hour{border-bottom-color:#e4e8ef}.day-time-label{position:absolute;top:-9px;right:6px;font-size:11px;font-weight:500;color:#8898aa;background:#fafbfd;padding:0 2px;line-height:18px}.day-staff-col{flex:1;min-width:180px;position:relative;border-right:1px solid #e4e8ef}.day-slot-cell{height:var(--slot-h, 48px);border-bottom:1px solid #f0f2f5;cursor:pointer;transition:background .1s}.day-slot-cell.hour{border-bottom-color:#e4e8ef}.day-slot-cell:hover{background:#4f7aff0d}.day-now-line{position:absolute;left:0;right:0;height:2px;background:#ef4444;z-index:4;pointer-events:none}.day-now-line:before{content:"";position:absolute;left:-4px;top:-4px;width:10px;height:10px;border-radius:50%;background:#ef4444}.visit-block{position:absolute;left:3px;right:3px;border-left:3px solid;border-radius:5px;padding:4px 6px;cursor:pointer;font-size:11px;overflow:hidden;transition:box-shadow .12s,filter .12s;z-index:2;isolation:isolate;box-shadow:0 1px 4px #00000014}.visit-block:hover{filter:brightness(.96);box-shadow:0 3px 10px #00000026;z-index:3}.visit-block.task-closed{opacity:.28;filter:saturate(.45);box-shadow:none}.visit-block.task-closed:hover{opacity:.46;filter:saturate(.55) brightness(.98)}.visit-block:before,.visit-block:after{content:"";position:absolute;pointer-events:none;opacity:0}.visit-block:before{inset:-10px;z-index:0;background-repeat:repeat;background-position:10px 8px;background-size:62px 62px;mix-blend-mode:multiply}.visit-block:after{top:6px;right:6px;z-index:1;width:30px;height:30px;border:1px solid rgba(255,255,255,.82);border-radius:999px;background-color:#fffc;background-repeat:no-repeat;background-position:center;background-size:19px 19px;box-shadow:0 10px 22px #1018282e;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.visit-block>*{position:relative;z-index:2}.visit-block.task-pattern-call,.visit-block.task-pattern-meeting,.visit-block.task-pattern-personal{padding-right:32px;border-radius:9px;box-shadow:0 8px 22px #1018281f}.visit-block.task-pattern-call{background-image:linear-gradient(135deg,#ffffffc7,#0ea5e933)!important}.visit-block.task-pattern-meeting{background-image:linear-gradient(135deg,#ffffffc7,#8b5cf633)!important}.visit-block.task-pattern-personal{background-image:linear-gradient(135deg,#ffffffc7,#f59e0b38)!important}.visit-block.task-pattern-call:before,.visit-block.task-pattern-call:after{opacity:1;background-image:url("data:image/svg+xml,%3Csvg width='86' height='86' viewBox='0 0 86 86' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230EA5E9' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.85'%3E%3Cpath d='M29 20c3.5 20 15.5 32 36 36l5-9-13-7-6 5c-7-3.5-12.5-9-16-16l5-6-7-13-4 10z'/%3E%3Cpath d='M55 18c8 2.5 13.5 8 16 16'/%3E%3C/g%3E%3C/svg%3E")}.visit-block.task-pattern-meeting:before,.visit-block.task-pattern-meeting:after{opacity:1;background-image:url("data:image/svg+xml,%3Csvg width='86' height='86' viewBox='0 0 86 86' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238B5CF6' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.85'%3E%3Cpath d='M31 39a12 12 0 1 0 0-24 12 12 0 0 0 0 24z'/%3E%3Cpath d='M12 69c4-14 11-21 19-21s15 7 19 21'/%3E%3Cpath d='M58 39a10 10 0 1 0 0-20'/%3E%3Cpath d='M51 50c10 1 17 8 21 19'/%3E%3C/g%3E%3C/svg%3E")}.visit-block.task-pattern-personal:before,.visit-block.task-pattern-personal:after{opacity:1;background-image:url("data:image/svg+xml,%3Csvg width='86' height='86' viewBox='0 0 86 86' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F59E0B' stroke-width='5' stroke-linecap='round' stroke-linejoin='round' opacity='.88'%3E%3Cpath d='M43 66s-24-14-24-33c0-9 6-15 14-15 5 0 8.5 2.5 10 6 1.5-3.5 5-6 10-6 8 0 14 6 14 15 0 19-24 33-24 33z'/%3E%3C/g%3E%3C/svg%3E")}.visit-block.task-pattern-call:before{background-image:url("data:image/svg+xml,%3Csvg width='62' height='62' viewBox='0 0 62 62' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230EA5E9' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='.9'%3E%3Cpath d='M20 14c3 14 11 22 26 25l4-7-9-5-4 4c-5-2.5-9-6.5-11.5-11.5l4-4-5-9-4.5 7.5z'/%3E%3Cpath d='M42 14c6 2 10 6 12 12'/%3E%3C/g%3E%3C/svg%3E")}.visit-block.task-pattern-meeting:before{background-image:url("data:image/svg+xml,%3Csvg width='62' height='62' viewBox='0 0 62 62' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%238B5CF6' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='.9'%3E%3Cpath d='M22 29a8.5 8.5 0 1 0 0-17 8.5 8.5 0 0 0 0 17z'/%3E%3Cpath d='M9 51c3-10 8-15 13-15s10 5 13 15'/%3E%3Cpath d='M42 29a7.5 7.5 0 1 0 0-15'/%3E%3Cpath d='M36 37c8 1 13 6 16 14'/%3E%3C/g%3E%3C/svg%3E")}.visit-block.task-pattern-personal:before{background-image:url("data:image/svg+xml,%3Csvg width='62' height='62' viewBox='0 0 62 62' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F59E0B' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' opacity='.92'%3E%3Cpath d='M31 48s-18-10.5-18-24.5C13 17 17.5 12 23.5 12c3.6 0 6.3 1.9 7.5 4.7C32.2 13.9 34.9 12 38.5 12 44.5 12 49 17 49 23.5 49 37.5 31 48 31 48z'/%3E%3C/g%3E%3C/svg%3E")}.visit-block.task-pattern-call:before,.visit-block.task-pattern-meeting:before,.visit-block.task-pattern-personal:before{opacity:.38}.visit-block.task-pattern-call:after,.visit-block.task-pattern-meeting:after,.visit-block.task-pattern-personal:after{opacity:1}.visit-block-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}.visit-block-time{font-size:10px;font-weight:600;color:#00000080}.visit-block-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.visit-block-service{font-weight:700;color:#182230;font-size:11px;line-height:1.3}.visit-block-client{font-size:11px;font-weight:600;margin-top:1px}.visit-block-phone{font-size:10px;color:#5a6479;margin-top:1px}.visit-checklist-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px;min-width:0}.visit-checklist-tags span,.visit-checklist-tags small,.visit-checklist-tags em{display:inline-flex;align-items:center;gap:3px;max-width:100%;min-height:18px;padding:2px 5px;border-radius:999px;background:#ffffffbd;color:#475467;font-size:9px;font-style:normal;font-weight:800;line-height:1}.visit-checklist-tags small{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.visit-checklist-tags small.done{color:#027a48;text-decoration:line-through}.week-cal-wrap{display:flex;flex:1;overflow:hidden}.week-col{flex:1;display:flex;flex-direction:column;border-right:1px solid #e4e8ef;background:#fff;cursor:pointer;transition:background .1s;min-width:0}.week-col:last-child{border-right:none}.week-col.today{background:#f8f9ff}.week-col:hover{background:#f5f7ff}.week-col-header{display:flex;flex-direction:column;align-items:center;padding:10px 8px 8px;border-bottom:2px solid #e4e8ef;position:sticky;top:0;background:inherit;z-index:1}.week-col-wd{font-size:11px;text-transform:uppercase;color:#8898aa;letter-spacing:.05em}.week-col-num{font-size:20px;font-weight:700;color:#182230;line-height:1.2}.week-col-num.today-num{background:#4f7aff;color:#fff;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:15px}.week-col-body{flex:1;overflow-y:auto;padding:6px 4px;display:flex;flex-direction:column;gap:4px}.week-empty{color:#d0d8e8;font-size:16px;text-align:center;padding:10px 0}.week-visit-card{border-left:3px solid;border-radius:5px;padding:5px 7px;font-size:11px;cursor:pointer;box-shadow:0 1px 3px #0000000f;transition:box-shadow .12s}.week-visit-card:hover{box-shadow:0 2px 8px #0000001f}.week-visit-time{font-size:10px;font-weight:600;color:#00000073}.week-visit-service{font-weight:700;color:#182230;line-height:1.3}.week-visit-client{font-size:10px;font-weight:600;margin-top:1px}.week-visit-master{font-size:10px;color:#8898aa;margin-top:1px}.wk-grid-wrap{--week-time-gutter: 56px;display:flex;flex-direction:column}.wk-sticky-hdr{display:grid;grid-template-columns:var(--week-time-gutter) repeat(7,minmax(130px,1fr));position:sticky;top:0;z-index:5;background:#fff;border-bottom:2px solid #e4e8ef;flex-shrink:0}.wk-grid-wrap .day-grid{display:grid;grid-template-columns:var(--week-time-gutter) repeat(7,minmax(130px,1fr));position:relative}.wk-grid-wrap .day-time-gutter,.wk-grid-wrap .day-time-col{width:auto;min-width:0}.wk-grid-wrap .day-staff-col{min-width:0}.wk-grid-wrap .day-time-label{top:4px}.week-grid-day-hdr{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 6px;border-right:1px solid #e4e8ef;gap:2px}.week-grid-day-hdr.wk-today{background:#f0f4ff}.week-col-mon{font-size:10px;color:#8898aa;text-transform:capitalize}.day-staff-col.wk-today-col{background:#4f7aff08}.modal-overlay{position:fixed;inset:0;background:#0f172a85;display:flex;align-items:center;justify-content:center;z-index:300}.modal-card{background:#fff;border-radius:14px;box-shadow:0 12px 48px #00000038;width:92%;max-width:520px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px 13px;border-bottom:1px solid #e4e8ef}.modal-header h2{font-size:16px;font-weight:700;color:#182230;margin:0}.modal-body{flex:1;overflow-y:auto;padding:0}.modal-footer{display:flex;align-items:center;gap:8px;padding:12px 20px;border-top:1px solid #e4e8ef;background:#fafbfd}.modal-footer>button:last-child{margin-left:auto}.wk-staff-picker{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;background:#f5f6f8}.wk-staff-picker-hint{font-size:13px;color:#8898aa;margin-bottom:20px}.wk-staff-grid{display:flex;flex-direction:column;gap:10px;width:100%;max-width:480px}.wk-staff-card{display:flex;align-items:center;gap:14px;padding:14px 18px;background:#fff;border:1px solid #e4e8ef;border-radius:12px;cursor:pointer;transition:box-shadow .12s,border-color .12s,transform .08s;text-align:left}.wk-staff-card:hover{border-color:#4f7aff;box-shadow:0 4px 16px #4f7aff1f;transform:translateY(-1px)}.wk-staff-card-info{flex:1;display:flex;flex-direction:column;gap:2px}.wk-staff-card-info strong{font-size:14px;font-weight:700;color:#182230}.wk-staff-card-info span{font-size:12px;color:#8898aa}.jnl-staff-chip{display:flex;align-items:center;gap:7px;height:32px;padding:0 10px 0 6px;background:#f0f4ff;border:1px solid #c7d7ff;border-radius:20px;cursor:pointer;font-size:13px;font-weight:600;color:#182230;transition:background .12s;flex-shrink:0}.jnl-staff-chip:hover{background:#e0e9ff}.jnl-staff-chip svg{color:#8898aa}.staff-pick-backdrop{position:fixed;inset:0;background:#0f172a59;display:flex;align-items:center;justify-content:center;z-index:400}.staff-pick-modal{background:#fff;border-radius:20px;box-shadow:0 12px 40px #0000002e;width:min(420px,calc(100vw - 32px));overflow:hidden;padding-bottom:16px}.staff-pick-header{display:flex;align-items:center;justify-content:space-between;padding:26px 28px 22px;font-size:20px;font-weight:700;color:#182230;border-bottom:1px solid #f0f2f6}.staff-pick-item{display:flex;align-items:center;justify-content:flex-start;gap:18px;width:100%;padding:14px 28px;box-sizing:border-box;background:none;border:none;cursor:pointer;text-align:left;transition:background .1s}.staff-pick-item:hover{background:#f4f6fb}.staff-pick-name{font-size:18px;font-weight:700;color:#182230}.staff-pick-role{font-size:15px;font-weight:600;color:#8898aa;margin-top:2px}.wk-dd-name{font-size:13px;font-weight:600;color:#182230}.wk-dd-role{font-size:11px;color:#8898aa;margin-top:1px}.appt-modal{max-width:520px}.appt-modal-body{padding:16px 20px}.appt-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.appt-grid label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:500;color:#5a6479}.appt-grid label input,.appt-grid label select,.appt-grid label textarea{margin-top:0}.appt-grid .span2{grid-column:span 2}.complete-task-button{min-height:38px;padding:0 14px;border:1px solid #9ee6bd;border-radius:10px;background:linear-gradient(135deg,#dcfae6,#f2fff7);color:#027a48;box-shadow:0 8px 18px #027a481a;font-weight:900}.complete-task-button:hover:not(:disabled){background:#d1fadf;box-shadow:0 10px 22px #027a4824}.complete-task-button:disabled{opacity:.65;cursor:wait}.danger-ghost{color:#ef4444!important}.danger-ghost:hover{background:#fef2f2!important}.visit-resize-handle{position:absolute;bottom:0;left:0;right:0;height:10px;z-index:2;cursor:ns-resize;border-radius:0 0 4px 4px;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.12));opacity:0;transition:opacity .15s;display:flex;align-items:center;justify-content:center}.visit-resize-handle:after{content:"";width:24px;height:3px;border-radius:2px;background:#00000040}.visit-block:hover .visit-resize-handle{opacity:1}.visit-block.is-dragging{opacity:.8;box-shadow:0 8px 24px #00000038!important;z-index:10;pointer-events:none}.jnl-nav-btn{display:flex!important;align-items:center!important;justify-content:center!important}.stats-view{display:flex;flex-direction:column;gap:20px;padding:24px;overflow-y:auto;height:100%;box-sizing:border-box}.stats-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px;color:#8898aa}.stats-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.stats-header h1{font-size:22px;font-weight:700;margin:0}.stats-header-right{display:flex;align-items:center;gap:12px}.stats-updated{font-size:12px;color:#8898aa}.stats-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.stat-card{background:#fff;border-radius:14px;padding:16px;display:flex;align-items:flex-start;gap:14px;box-shadow:0 1px 4px #0000000f}.stat-card-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-card-icon.blue{background:#e8f0ff;color:#3b6ef8}.stat-card-icon.green{background:#e6f9f0;color:#1a7a4a}.stat-card-icon.purple{background:#f3eeff;color:#7c3aed}.stat-card-icon.orange{background:#fff3e0;color:#b55c00}.stat-card-icon.teal{background:#e0f7f5;color:#0d9488}.stat-card-body{min-width:0}.stat-card-value{font-size:24px;font-weight:700;line-height:1.1;color:#182230}.stat-card-label{font-size:12px;color:#5a6479;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-card-sub{font-size:11px;color:#8898aa;margin-top:3px}.stats-panel{background:#fff;border-radius:14px;padding:18px 20px;box-shadow:0 1px 4px #0000000f}.stats-panel-title{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#5a6479;margin-bottom:14px;text-transform:uppercase;letter-spacing:.04em}.activity-chart{overflow-x:auto}.activity-chart svg{display:block;min-width:300px}.stats-two-col{display:grid;grid-template-columns:1fr 340px;gap:20px;align-items:start}@media(max-width:900px){.stats-two-col{grid-template-columns:1fr}}.stats-col-right{display:flex;flex-direction:column;gap:20px}.funnel-list{display:flex;flex-direction:column;gap:8px}.funnel-row{display:grid;grid-template-columns:160px 1fr 40px;align-items:center;gap:10px}.funnel-label{font-size:12px;color:#5a6479;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.funnel-bar-wrap{background:#f0f4ff;border-radius:4px;height:10px;overflow:hidden}.funnel-bar{background:linear-gradient(90deg,#4f7aff,#7c3aed);height:100%;border-radius:4px;min-width:4px;transition:width .4s ease}.funnel-count{font-size:13px;font-weight:600;color:#182230;text-align:right}.channel-stats-list{display:flex;flex-direction:column;gap:8px}.channel-stats-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:6px 10px;background:#f6f8fc;border-radius:8px}.channel-stats-name{color:#5a6479;text-transform:capitalize}.channel-stats-count{font-weight:700;color:#182230}.stats-table{width:100%;border-collapse:collapse;font-size:13px}.stats-table th{text-align:left;font-weight:600;color:#8898aa;font-size:11px;text-transform:uppercase;letter-spacing:.04em;padding:4px 6px;border-bottom:1px solid #eef2f6}.stats-table td{padding:6px;border-bottom:1px solid #f6f8fc;color:#182230}.stats-table tr:last-child td{border-bottom:none}.staff-list{display:flex;flex-direction:column;gap:6px;margin-top:4px}.staff-row{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f8fafc;border-radius:8px;border:1px solid #eef2f6;transition:background .15s}.staff-row:hover{background:#f0f4ff}.staff-row--inactive{background:#fafafa;border-color:#f0f0f0}.staff-color-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0;border:2px solid rgba(255,255,255,.8);box-shadow:0 0 0 1px #0000001f}.staff-info{flex:1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.staff-name{font-weight:600;font-size:13px;color:#182230}.staff-role-badge{font-size:11px;font-weight:600;background:#e8eef8;color:#3a5a9a;border-radius:10px;padding:2px 8px}.staff-perm-badge{font-size:10px;font-weight:500;background:#f0faf5;color:#1a7a4a;border-radius:10px;padding:2px 8px;border:1px solid #c5e8d5}.staff-perm-badge.muted{background:#f8fafc;color:#667085;border-color:#e4e9f1}.staff-perm-badge.warning{background:#fff7ed;color:#b54708;border-color:#fed7aa}.staff-row-actions{display:flex;gap:6px;flex-shrink:0}.staff-modal-backdrop{position:fixed;inset:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:1200}.staff-modal{background:#fff;border-radius:12px;width:480px;max-width:calc(100vw - 32px);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0000002e}.staff-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #eef2f6}.staff-modal-header h3{margin:0;font-size:15px;font-weight:700;color:#182230}.staff-modal-body{flex:1;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:14px}.staff-modal-body label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:#5a6479}.staff-modal-body input,.staff-modal-body select{font-size:13px;padding:7px 10px;border:1px solid #dde3ef;border-radius:7px;background:#f8fafc;color:#182230;transition:border-color .15s;width:100%;box-sizing:border-box}.staff-modal-body input:focus,.staff-modal-body select:focus{outline:none;border-color:#4a7adb;background:#fff}.staff-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.staff-color-row{display:flex;align-items:center;gap:10px;margin-top:4px}.staff-permissions{display:flex;flex-direction:column;gap:8px}.staff-avatar-editor{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;padding:10px;border:1px solid #eef2f6;border-radius:8px;background:#f8fafc}.staff-modal-tools{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}.integrations-compact{gap:10px;padding:14px}.integrations-compact .section-title h2{font-size:14px}.integrations-compact-list{display:flex;flex-wrap:wrap;gap:8px}.integrations-compact .health-row{min-height:32px;padding:0 10px;border:1px solid #e4e9f1;border-radius:999px;font-size:12px}.staff-checkbox-label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;font-size:13px!important;font-weight:400!important;color:#182230!important;cursor:pointer}.staff-checkbox-label input[type=checkbox]{width:15px;height:15px;flex-shrink:0;cursor:pointer}.staff-access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px}.staff-section-toggle{display:flex!important;flex-direction:row!important;align-items:center;min-height:36px;gap:8px!important;padding:8px 10px;border:1px solid #e1e7f1;border-radius:8px;background:#f8fafc;color:#182230!important;font-size:12px!important;font-weight:650!important}.staff-section-toggle input[type=checkbox]{width:14px;height:14px;flex-shrink:0}.staff-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px 16px;border-top:1px solid #eef2f6}.staff-access-modal{width:420px}.staff-credentials-box{display:grid;grid-template-columns:84px minmax(0,1fr);gap:8px 12px;padding:12px;border:1px solid #e4e9f1;border-radius:8px;background:#f8fafc}.staff-credentials-box span{color:#667085;font-size:12px;font-weight:750}.staff-credentials-box strong,.staff-credentials-box code{overflow-wrap:anywhere;color:#182230;font-size:13px;font-weight:800}.sketch-modal-backdrop{position:fixed;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1300}.sketch-modal{background:#fff;border-radius:14px;width:520px;max-width:calc(100vw - 32px);max-height:90vh;display:flex;flex-direction:column;box-shadow:0 10px 40px #0003}.sketch-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 12px;border-bottom:1px solid #eef2f6}.sketch-modal-header h3{margin:0;font-size:15px;font-weight:700;color:#182230}.sketch-modal-body{flex:1;overflow-y:auto;padding:16px 20px}.sketch-prompt-input{width:100%;box-sizing:border-box;font-size:13px;padding:10px 12px;border:1px solid #dde3ef;border-radius:8px;background:#f8fafc;color:#182230;resize:vertical;line-height:1.5;transition:border-color .15s}.sketch-prompt-input:focus{outline:none;border-color:#7c5cbf;background:#fff}.sketch-generating{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:32px 0;text-align:center}.sketch-result{display:flex;flex-direction:column;align-items:center;gap:8px}.sketch-result-image{width:100%;max-width:460px;border-radius:10px;border:1px solid #eef2f6;display:block}.sketch-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 20px 16px;border-top:1px solid #eef2f6}.sketches-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px;margin-top:4px}.sketch-thumb{aspect-ratio:1;border-radius:8px;overflow:hidden;border:2px solid transparent;cursor:pointer;padding:0;background:#f0f0f0;transition:border-color .15s,transform .1s}.sketch-thumb:hover{border-color:#7c5cbf;transform:scale(1.04)}.sketch-thumb img{width:100%;height:100%;object-fit:cover;display:block}.sketch-error-row{display:flex;gap:10px;align-items:flex-start;padding:6px 0;border-bottom:1px solid #f6f8fc}.biz-hours-row{display:flex;gap:12px}.biz-hours-row label input[type=time]{font-size:14px;letter-spacing:.03em}.reminders-list{display:flex;flex-direction:column;gap:12px}.reminders-section{display:flex;flex-direction:column;gap:5px}.reminders-section-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin:0 0 4px}.reminder-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;background:#f8fafc;border-radius:8px;border:1px solid #eef2f6}.reminder-row--failed{background:#fff5f5;border-color:#fdd}.reminder-client{display:flex;flex-direction:column;gap:2px;min-width:0}.reminder-name{font-size:13px;font-weight:600;color:#182230;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reminder-phone{font-size:11px}.reminder-meta{display:flex;align-items:center;gap:8px;flex-shrink:0;text-align:right}.reminder-time{font-size:12px;font-weight:600;color:#3a5a9a;background:#e8eef8;padding:2px 8px;border-radius:10px;white-space:nowrap}:root[data-resolved-theme=dark] input,:root[data-resolved-theme=dark] select,:root[data-resolved-theme=dark] textarea{border-color:var(--border);background:#111923;color:var(--text)}:root[data-resolved-theme=dark] input::placeholder,:root[data-resolved-theme=dark] textarea::placeholder{color:#6f7f92}:root[data-resolved-theme=dark] button:disabled{border-color:#2a3443;background:#1a2230;color:#6f7f92}:root[data-resolved-theme=dark] .sidebar,:root[data-resolved-theme=dark] .thread-head,:root[data-resolved-theme=dark] .composer,:root[data-resolved-theme=dark] .modal-actions,:root[data-resolved-theme=dark] .modal-footer,:root[data-resolved-theme=dark] .jnl-topbar{border-color:var(--border-soft);background:var(--surface)}:root[data-resolved-theme=dark] .workspace,:root[data-resolved-theme=dark] .thread,:root[data-resolved-theme=dark] .messages,:root[data-resolved-theme=dark] .jnl-root,:root[data-resolved-theme=dark] .wk-staff-picker,:root[data-resolved-theme=dark] .stats-view{background:var(--app-bg);color:var(--text)}:root[data-resolved-theme=dark] .metric,:root[data-resolved-theme=dark] .panel,:root[data-resolved-theme=dark] .kanban-column,:root[data-resolved-theme=dark] .deal-card,:root[data-resolved-theme=dark] .toast,:root[data-resolved-theme=dark] .settings-block-card,:root[data-resolved-theme=dark] .form-panel,:root[data-resolved-theme=dark] .channel-default-card,:root[data-resolved-theme=dark] .dialog-owner-card,:root[data-resolved-theme=dark] .channel-card,:root[data-resolved-theme=dark] .dialog-search-match,:root[data-resolved-theme=dark] .asset-row,:root[data-resolved-theme=dark] .tool-rule-chip,:root[data-resolved-theme=dark] .qr-code-text,:root[data-resolved-theme=dark] .profile-photos-panel,:root[data-resolved-theme=dark] .deal-modal,:root[data-resolved-theme=dark] .modal-card,:root[data-resolved-theme=dark] .staff-pick-modal,:root[data-resolved-theme=dark] .staff-modal,:root[data-resolved-theme=dark] .sketch-modal,:root[data-resolved-theme=dark] .stats-panel,:root[data-resolved-theme=dark] .stat-card{border-color:var(--border);background:var(--surface);color:var(--text);box-shadow:var(--shadow-card)}:root[data-resolved-theme=dark] .dialog-list,:root[data-resolved-theme=dark] .dialog-list-head,:root[data-resolved-theme=dark] .dialog-list-body,:root[data-resolved-theme=dark] .day-staff-row,:root[data-resolved-theme=dark] .day-staff-header,:root[data-resolved-theme=dark] .day-time-col,:root[data-resolved-theme=dark] .day-time-label,:root[data-resolved-theme=dark] .wk-sticky-hdr,:root[data-resolved-theme=dark] .week-col{border-color:var(--border-soft);background:var(--surface-soft)}:root[data-resolved-theme=dark] .ghost-button,:root[data-resolved-theme=dark] .icon-button,:root[data-resolved-theme=dark] .task-tab,:root[data-resolved-theme=dark] .jnl-today-btn,:root[data-resolved-theme=dark] .jnl-nav-btn,:root[data-resolved-theme=dark] .jnl-density-btn,:root[data-resolved-theme=dark] .small-btn{border-color:var(--border);background:var(--surface-raised);color:var(--text)}:root[data-resolved-theme=dark] .ghost-button:hover,:root[data-resolved-theme=dark] .icon-button:hover,:root[data-resolved-theme=dark] .task-tab:hover,:root[data-resolved-theme=dark] .jnl-today-btn:hover,:root[data-resolved-theme=dark] .jnl-nav-btn:hover,:root[data-resolved-theme=dark] .jnl-density-btn:hover{border-color:#3d5168;background:#202b3a;color:var(--primary-strong)}:root[data-resolved-theme=dark] .nav-item,:root[data-resolved-theme=dark] .dialog-row,:root[data-resolved-theme=dark] .dialog-row-main,:root[data-resolved-theme=dark] .deal-modal-tab,:root[data-resolved-theme=dark] .jnl-icon-btn,:root[data-resolved-theme=dark] .excel-menu-popover button,:root[data-resolved-theme=dark] .message-context-menu button,:root[data-resolved-theme=dark] .dialog-context-menu button{color:var(--text)}:root[data-resolved-theme=dark] .nav-item.active,:root[data-resolved-theme=dark] .dialog-row.active,:root[data-resolved-theme=dark] .dialog-row.pinned,:root[data-resolved-theme=dark] .filter-chip.active,:root[data-resolved-theme=dark] .task-tab.active,:root[data-resolved-theme=dark] .settings-block-card:hover,:root[data-resolved-theme=dark] .dialog-search-match,:root[data-resolved-theme=dark] .jnl-density-menu button.active,:root[data-resolved-theme=dark] .jnl-staff-chip{border-color:#235778;background:var(--primary-soft);color:var(--primary-strong)}:root[data-resolved-theme=dark] .filter-chip,:root[data-resolved-theme=dark] .segmented-control,:root[data-resolved-theme=dark] .tool-list li,:root[data-resolved-theme=dark] .settings-block-card em,:root[data-resolved-theme=dark] .health-row,:root[data-resolved-theme=dark] .sidebar-status,:root[data-resolved-theme=dark] .profile-link,:root[data-resolved-theme=dark] .selected-file,:root[data-resolved-theme=dark] .form-panel .toggle-row,:root[data-resolved-theme=dark] .channel-head em,:root[data-resolved-theme=dark] .channel-meta span,:root[data-resolved-theme=dark] .staff-row,:root[data-resolved-theme=dark] .staff-avatar-editor,:root[data-resolved-theme=dark] .staff-section-toggle,:root[data-resolved-theme=dark] .staff-credentials-box,:root[data-resolved-theme=dark] .reminder-row,:root[data-resolved-theme=dark] .service-form,:root[data-resolved-theme=dark] .service-row,:root[data-resolved-theme=dark] .visit-form,:root[data-resolved-theme=dark] .visit-card{border-color:var(--border);background:var(--surface-muted);color:var(--text)}:root[data-resolved-theme=dark] .segmented-control button.active,:root[data-resolved-theme=dark] .theme-toggle button.active{background:#263244;color:var(--primary-strong);box-shadow:0 8px 18px #0000003d}:root[data-resolved-theme=dark] .message{border-color:var(--border);background:var(--client-message);color:var(--text)}:root[data-resolved-theme=dark] .message.manager{border-color:#214966;background:var(--manager-message)}:root[data-resolved-theme=dark] .message.ai,:root[data-resolved-theme=dark] .message.reminder{border-color:#1f5737;background:var(--ai-message)}:root[data-resolved-theme=dark] .message-participant,:root[data-resolved-theme=dark] .message-participant b{color:var(--primary-strong)}:root[data-resolved-theme=dark] .message.image-caption p{border-color:var(--border);background:var(--client-message)}:root[data-resolved-theme=dark] .message.manager.image-caption p{border-color:#214966;background:var(--manager-message)}:root[data-resolved-theme=dark] .message.ai.image-caption p,:root[data-resolved-theme=dark] .message.reminder.image-caption p{border-color:#1f5737;background:var(--ai-message)}:root[data-resolved-theme=dark] .quoted-message,:root[data-resolved-theme=dark] .reply-preview{background:#63b3ff21;color:var(--text)}:root[data-resolved-theme=dark] .edit-preview{background:#25a06224}:root[data-resolved-theme=dark] .message-reactions,:root[data-resolved-theme=dark] .deleted-message button,:root[data-resolved-theme=dark] .edited-message button,:root[data-resolved-theme=dark] .excel-menu-popover,:root[data-resolved-theme=dark] .message-context-menu,:root[data-resolved-theme=dark] .jnl-density-menu{border-color:var(--border);background:var(--surface-raised);color:var(--text);box-shadow:var(--shadow-popover)}:root[data-resolved-theme=dark] .message.manager .message-reactions{border-color:#214966}:root[data-resolved-theme=dark] .message-image-link,:root[data-resolved-theme=dark] .sticker-placeholder,:root[data-resolved-theme=dark] .location-card,:root[data-resolved-theme=dark] .profile-photo-tile,:root[data-resolved-theme=dark] .participant-profile-row,:root[data-resolved-theme=dark] .qr-image,:root[data-resolved-theme=dark] .sketch-result-image,:root[data-resolved-theme=dark] .sketch-thumb{border-color:var(--border);background:#0f1722}:root[data-resolved-theme=dark] .message-context-menu button:hover,:root[data-resolved-theme=dark] .message-context-menu button:not(:last-child):hover,:root[data-resolved-theme=dark] .dialog-context-menu button:hover,:root[data-resolved-theme=dark] .dialog-context-menu button:not(:last-child):hover,:root[data-resolved-theme=dark] .excel-menu-popover button:hover:not(:disabled),:root[data-resolved-theme=dark] .jnl-density-menu button:hover,:root[data-resolved-theme=dark] .staff-pick-item:hover{background:var(--primary-soft);color:var(--primary-strong)}:root[data-resolved-theme=dark] .brand strong,:root[data-resolved-theme=dark] .kanban-toolbar strong,:root[data-resolved-theme=dark] .metric strong,:root[data-resolved-theme=dark] .person strong,:root[data-resolved-theme=dark] .column-head strong,:root[data-resolved-theme=dark] .stage-title-button,:root[data-resolved-theme=dark] .deal-title strong,:root[data-resolved-theme=dark] .deal-footer b,:root[data-resolved-theme=dark] .settings-home-head h2,:root[data-resolved-theme=dark] .settings-detail-head h2,:root[data-resolved-theme=dark] .task-card h2,:root[data-resolved-theme=dark] .section-title h2,:root[data-resolved-theme=dark] .channel-default-card h3,:root[data-resolved-theme=dark] .dialog-owner-card label,:root[data-resolved-theme=dark] .toast-content strong,:root[data-resolved-theme=dark] .visit-card-service,:root[data-resolved-theme=dark] .service-row-name,:root[data-resolved-theme=dark] .modal-header h2,:root[data-resolved-theme=dark] .participant-profile-row b,:root[data-resolved-theme=dark] .staff-pick-header,:root[data-resolved-theme=dark] .staff-pick-name,:root[data-resolved-theme=dark] .wk-dd-name,:root[data-resolved-theme=dark] .day-staff-name,:root[data-resolved-theme=dark] .week-col-num,:root[data-resolved-theme=dark] .week-visit-service,:root[data-resolved-theme=dark] .stat-card-value,:root[data-resolved-theme=dark] .funnel-count,:root[data-resolved-theme=dark] .channel-stats-count,:root[data-resolved-theme=dark] .staff-name,:root[data-resolved-theme=dark] .staff-modal-header h3,:root[data-resolved-theme=dark] .staff-checkbox-label,:root[data-resolved-theme=dark] .staff-credentials-box strong,:root[data-resolved-theme=dark] .staff-credentials-box code,:root[data-resolved-theme=dark] .sketch-modal-header h3,:root[data-resolved-theme=dark] .reminder-name{color:var(--text-strong)}:root[data-resolved-theme=dark] .brand p,:root[data-resolved-theme=dark] .eyebrow,:root[data-resolved-theme=dark] .metric p,:root[data-resolved-theme=dark] .dialog-copy small,:root[data-resolved-theme=dark] .dialog-copy p,:root[data-resolved-theme=dark] .dialog-meta small,:root[data-resolved-theme=dark] .person p,:root[data-resolved-theme=dark] .deal-card p,:root[data-resolved-theme=dark] .task-card p,:root[data-resolved-theme=dark] .health-row,:root[data-resolved-theme=dark] .section-title span,:root[data-resolved-theme=dark] .muted,:root[data-resolved-theme=dark] .toast-message,:root[data-resolved-theme=dark] .message-time,:root[data-resolved-theme=dark] .quoted-message small,:root[data-resolved-theme=dark] .deleted-message,:root[data-resolved-theme=dark] .edited-message,:root[data-resolved-theme=dark] .location-card small,:root[data-resolved-theme=dark] .sticker-placeholder small,:root[data-resolved-theme=dark] .settings-block-copy small,:root[data-resolved-theme=dark] .participant-profile-row span,:root[data-resolved-theme=dark] .task-details dt,:root[data-resolved-theme=dark] .task-details dd,:root[data-resolved-theme=dark] .form-panel label,:root[data-resolved-theme=dark] .toggle-row small,:root[data-resolved-theme=dark] .channel-default-card p,:root[data-resolved-theme=dark] .dialog-owner-card>span,:root[data-resolved-theme=dark] .channel-head small,:root[data-resolved-theme=dark] .channel-meta,:root[data-resolved-theme=dark] .channel-actions>span,:root[data-resolved-theme=dark] .tool-chip-params label,:root[data-resolved-theme=dark] .tool-modal-params label,:root[data-resolved-theme=dark] .deals-search-count,:root[data-resolved-theme=dark] .visit-card-datetime,:root[data-resolved-theme=dark] .visit-card-therapist,:root[data-resolved-theme=dark] .visit-card-notes,:root[data-resolved-theme=dark] .visit-card-meta,:root[data-resolved-theme=dark] .service-row-meta,:root[data-resolved-theme=dark] .channel-info-row b,:root[data-resolved-theme=dark] .hint,:root[data-resolved-theme=dark] .jnl-date-label,:root[data-resolved-theme=dark] .jnl-view-seg button,:root[data-resolved-theme=dark] .jnl-staff-select,:root[data-resolved-theme=dark] .jnl-density-menu small,:root[data-resolved-theme=dark] .day-staff-role,:root[data-resolved-theme=dark] .day-time-label,:root[data-resolved-theme=dark] .week-col-wd,:root[data-resolved-theme=dark] .week-visit-time,:root[data-resolved-theme=dark] .week-visit-master,:root[data-resolved-theme=dark] .stats-updated,:root[data-resolved-theme=dark] .stat-card-label,:root[data-resolved-theme=dark] .stat-card-sub,:root[data-resolved-theme=dark] .stats-panel-title,:root[data-resolved-theme=dark] .funnel-label,:root[data-resolved-theme=dark] .channel-stats-name,:root[data-resolved-theme=dark] .stats-table th,:root[data-resolved-theme=dark] .staff-role-badge,:root[data-resolved-theme=dark] .staff-modal-body label,:root[data-resolved-theme=dark] .staff-credentials-box span,:root[data-resolved-theme=dark] .reminder-phone{color:var(--text-muted)}:root[data-resolved-theme=dark] .dialog-channel-logo{border-color:var(--surface-soft);background:var(--surface-soft)}.cashflow-view{display:flex;flex-direction:column;gap:14px;min-width:0}.cashflow-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px}.cashflow-header h1{margin:2px 0 0;color:var(--text-strong);font-size:30px;line-height:1}.cashflow-create-menu{position:relative}.cashflow-create-popover{position:absolute;z-index:30;top:calc(100% + 8px);right:0;display:grid;gap:6px;width:300px;padding:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 18px 45px #0f172a2e}.cashflow-create-popover button{display:flex;min-height:42px;align-items:center;justify-content:flex-start;gap:10px;padding:8px 10px;background:var(--surface-soft);color:var(--text-strong);text-align:left}.cashflow-create-popover button.primary{min-height:64px;background:var(--primary);color:#fff}.cashflow-create-popover span{display:grid;gap:2px}.cashflow-create-popover small{color:inherit;font-size:11px;opacity:.78}.cashflow-metrics .metric{min-height:86px;min-width:180px;padding:14px 16px}.cashflow-metrics{gap:12px;margin:4px 0 8px}.cashflow-metrics .metric span{width:34px;height:34px}.cashflow-metrics .metric strong{font-size:22px;line-height:1}.cashflow-metrics .metric p{font-size:12px}.cashflow-summary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:12px}.cashflow-summary-panel{display:grid;align-content:start;gap:10px;min-width:0;min-height:132px;padding:14px}.cashflow-summary-panel .section-title h2{font-size:18px;line-height:1.1}.cashflow-balance-list,.cashflow-category-bars,.cashflow-directory-grid{display:grid;gap:8px}.cashflow-balance-row,.cashflow-bar-row,.cashflow-directory-item{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:8px 10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-soft);font-size:13px}.cashflow-balance-row strong,.cashflow-bar-row b{font-size:14px}.cashflow-balance-row span,.cashflow-bar-row span,.cashflow-directory-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cashflow-bar-row .positive,.cashflow-positive{color:var(--success)}.cashflow-bar-row .negative,.cashflow-negative{color:var(--danger)}.cashflow-tabs{margin:2px 0 0}.cashflow-workspace-panel{display:grid;gap:12px;min-width:0;padding:14px}.cashflow-panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding-bottom:8px;border-bottom:1px solid var(--border-soft)}.cashflow-panel-toolbar h2{margin:0;color:var(--text-strong);font-size:16px;line-height:1.15}.cashflow-panel-toolbar p{margin:3px 0 0;color:var(--text-muted);font-size:12px}.cashflow-panel-toolbar button{min-height:34px;padding:0 12px;white-space:nowrap}.cashflow-form,.cashflow-directory-form{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:10px;align-items:end}.cashflow-directory-form{grid-template-columns:minmax(220px,1fr) 190px 160px auto}.cashflow-form label,.cashflow-directory-form label{display:grid;gap:5px;color:var(--text-muted);font-size:11px;font-weight:700}.cashflow-form label.full{grid-column:span 2}.cashflow-form input,.cashflow-form select,.cashflow-directory-form input,.cashflow-directory-form select,.deal-cashflow-form input,.deal-cashflow-form select{min-width:0;height:38px;padding:0 11px;font-size:13px}.cashflow-segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--control-bg)}.cashflow-segmented button{min-height:34px;padding:0 8px;border-color:transparent;background:transparent;color:var(--text-muted);font-size:12px}.cashflow-segmented button.active{border-color:var(--border-soft);background:var(--surface);color:var(--text-strong);box-shadow:0 4px 12px #10182814}.cashflow-form-actions{display:flex;justify-content:flex-end}.cashflow-form-actions button,.cashflow-directory-form button{min-height:38px;white-space:nowrap}.cashflow-table-wrap{min-width:0;overflow-x:auto}.cashflow-table{min-width:980px}.cashflow-pill{display:inline-flex;min-height:24px;align-items:center;padding:2px 8px;border-radius:999px;border:1px solid var(--border-soft);background:var(--surface-muted);color:var(--text-muted);font-size:11px;font-weight:800}.cashflow-pill.income{border-color:#027a4838;background:var(--success-soft);color:var(--success)}.cashflow-pill.expense{border-color:#b4231833;background:var(--danger-soft);color:var(--danger)}.cashflow-pill.transfer{border-color:#14517c33;background:var(--primary-soft);color:var(--primary-strong)}.cashflow-link-button{min-height:0;max-width:180px;justify-content:flex-start;padding:0;border:0;background:transparent;color:var(--primary-strong);font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cashflow-directory-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.cashflow-directory-grid.compact{grid-template-columns:1fr}.cashflow-directory-grid.accounts{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.cashflow-directory-item{justify-content:flex-start}.cashflow-directory-item small{margin-left:auto;color:var(--text-muted);font-weight:800}.cashflow-category-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.cashflow-category-column{display:grid;align-content:start;gap:8px;min-width:0;padding:10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-soft)}.cashflow-category-column.income{background:linear-gradient(180deg,rgb(2 122 72 / 7%),var(--surface-soft) 54%)}.cashflow-category-column.expense{background:linear-gradient(180deg,rgb(180 35 24 / 7%),var(--surface-soft) 54%)}.cashflow-column-head{display:flex;align-items:center;gap:8px;min-height:30px;color:var(--text-strong);font-size:13px;font-weight:900}.cashflow-column-head b{margin-left:auto;min-width:26px;padding:3px 8px;border-radius:999px;background:var(--surface);color:var(--text-muted);text-align:center}.cashflow-modal-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:#0f172a6b;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.cashflow-modal{width:min(620px,100%);max-height:min(720px,calc(100vh - 40px));overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 24px 70px #0f172a3d}.cashflow-modal.small{width:min(460px,100%)}.cashflow-modal-head,.cashflow-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border-soft)}.cashflow-modal-head p{margin:0 0 2px;color:var(--text-muted);font-size:11px;font-weight:800;text-transform:uppercase}.cashflow-modal-head h2{margin:0;color:var(--text-strong);font-size:18px;line-height:1.15}.cashflow-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:12px 16px 0}.cashflow-steps button{min-height:8px;padding:0;border:0;border-radius:999px;background:var(--border-soft);color:transparent}.cashflow-steps button.active{background:var(--primary)}.cashflow-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 16px 16px}.cashflow-modal-grid label{display:grid;gap:6px;min-width:0;color:var(--text-muted);font-size:12px;font-weight:800}.cashflow-modal-grid label.full,.cashflow-modal-grid .full{grid-column:1 / -1}.cashflow-modal-grid input,.cashflow-modal-grid select{min-width:0;height:40px;padding:0 12px;font-size:14px}.cashflow-search-label{position:relative}.cashflow-deal-picker{display:grid;gap:6px;max-height:210px;overflow:auto;padding:7px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-soft)}.cashflow-deal-picker button{display:grid;gap:2px;min-height:42px;justify-items:start;padding:7px 9px;border-color:var(--border-soft);background:var(--surface);color:var(--text-strong);text-align:left}.cashflow-deal-picker button.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-strong)}.cashflow-deal-picker span{max-width:100%;overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.cashflow-payment-preview{display:grid;gap:6px;padding:12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-soft)}.cashflow-payment-preview strong{color:var(--text-strong);font-size:24px;line-height:1}.cashflow-payment-preview p{margin:0;color:var(--text-muted);font-size:13px}.cashflow-modal-actions{border-top:1px solid var(--border-soft);border-bottom:0}.cashflow-modal-actions button{min-height:36px;padding:0 14px}.task-create-modal textarea,.server-readonly-note+.cashflow-modal-grid textarea{min-height:72px;padding:10px 12px;resize:vertical}.section-action-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.section-action-bar h1{margin:0;color:var(--text-strong);font-size:28px}.section-action-bar span{color:var(--text-muted);font-size:12px}.task-journal,.marketing-view,.servers-view{display:grid;gap:14px;min-width:0}.journal-task-groups{display:grid;gap:14px}.journal-calendar-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center}.journal-calendar-toolbar .cashflow-segmented{width:240px}.journal-calendar-toolbar>div:last-child{display:flex;gap:6px}.journal-calendar{overflow:auto;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface)}.journal-calendar-head,.journal-calendar-row{display:grid;grid-template-columns:70px repeat(var(--journal-days, 7),minmax(135px,1fr))}.journal-calendar-head{position:sticky;top:0;z-index:2;background:var(--surface)}.journal-calendar-head b,.journal-calendar-row>time{min-height:38px;padding:10px;border-bottom:1px solid var(--border-soft);color:var(--text-muted);font-size:12px}.journal-calendar-row>time{border-right:1px solid var(--border-soft);text-align:right}.journal-slot{display:grid;align-content:start;gap:5px;min-height:78px;padding:6px;border-right:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft);background:var(--surface-soft)}.journal-slot:hover{background:var(--primary-soft)}.journal-task-block{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 7px;align-items:start;padding:7px;border:1px solid var(--border-soft);border-left:3px solid var(--primary);border-radius:7px;background:var(--surface);cursor:grab;box-shadow:0 8px 20px #10182814}.journal-task-block.priority-high,.journal-task-block.priority-urgent{border-left-color:var(--danger)}.journal-task-block button{width:22px;min-height:22px;padding:0;border-radius:999px}.journal-task-block strong,.journal-task-block span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journal-task-block strong{font-size:12px}.journal-task-block span{grid-column:2;color:var(--text-muted);font-size:10px}.journal-unscheduled{display:grid;gap:8px;padding:12px;border:1px dashed var(--border);border-radius:8px;background:var(--surface-soft)}.journal-unscheduled h2{margin:0;color:var(--text-strong);font-size:15px}.journal-unscheduled>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.journal-task-groups section{display:grid;gap:8px}.journal-task-groups h2{display:flex;align-items:center;gap:8px;margin:0;color:var(--text-strong);font-size:15px}.journal-task-groups h2 span{min-width:24px;padding:3px 7px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:11px;text-align:center}.journal-task-list{display:grid;gap:6px}.journal-task-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto 140px;gap:10px;align-items:center;min-width:0;padding:10px 12px;border:1px solid var(--border-soft);border-left:3px solid var(--primary);border-radius:8px;background:var(--surface)}.journal-task-row.priority-high,.journal-task-row.priority-urgent{border-left-color:var(--danger)}.task-check{width:28px;min-height:28px;padding:0;border-radius:999px;background:var(--surface-soft);color:var(--text-muted)}.journal-task-row div{min-width:0}.journal-task-row strong,.journal-task-row p{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journal-task-row p{margin:3px 0 0;color:var(--text-muted);font-size:12px}.task-direction{padding:4px 8px;border-radius:999px;background:var(--primary-soft);color:var(--primary-strong);font-size:11px;font-weight:800}.journal-task-row time{color:var(--text-muted);font-size:12px;text-align:right}.marketing-metrics,.server-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.marketing-metrics div,.server-metrics div{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface)}.marketing-metrics strong,.server-metrics strong{color:var(--text-strong);font-size:22px}.marketing-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:10px}.marketing-actions{display:flex;gap:8px}.marketing-actions .ghost-button{min-height:38px;padding:0 12px}.marketing-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.marketing-channel{display:grid;gap:7px;align-content:start;justify-content:stretch;justify-items:start;width:100%;min-height:98px;padding:10px;border-color:var(--border-soft);background:var(--surface);color:var(--text-strong);text-align:left}.marketing-channel.active{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.marketing-channel>div{display:flex;align-items:center;justify-content:flex-start;width:100%;gap:8px}.marketing-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:var(--primary-soft);color:var(--primary-strong)}.marketing-channel span,.marketing-channel small,.marketing-task-panel span,.marketing-task-panel small{color:var(--text-muted);font-size:11px}.marketing-progress{width:100%;height:6px;overflow:hidden;border-radius:999px;background:var(--surface-muted)}.marketing-progress i{display:block;height:100%;border-radius:inherit;background:var(--success)}.marketing-task-panel{display:grid;align-content:start;gap:8px;padding:12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface)}.marketing-task-panel h2{margin:2px 0 6px;color:var(--text-strong);font-size:18px}.marketing-delete-channel{width:max-content;min-height:30px;padding:0 9px;font-size:11px}.marketing-task-panel article{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-soft)}.marketing-channel-modal{width:min(560px,100%)}.marketing-task-panel article button{width:26px;min-height:26px;padding:0;border-radius:999px}.marketing-task-panel article div{display:grid;gap:2px;min-width:0}.marketing-task-panel article em{color:var(--success);font-size:11px;font-style:normal;font-weight:800}.marketing-channel-tasks-modal{width:min(560px,calc(100vw - 18px))}.marketing-task-panel.in-modal{margin:0 16px 12px;border-radius:8px}.ai-helper{position:relative;width:100%}.ai-helper.open{position:fixed;inset:0;z-index:2147483000;width:auto;pointer-events:none;isolation:isolate}.ai-helper-panel,.ai-helper-fab,.ai-helper-backdrop{pointer-events:auto}.ai-helper-backdrop{position:fixed;inset:0;z-index:2147483001;min-height:0;padding:0;border:0;border-radius:0;background:#0f172a57;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:default}.ai-helper-fab{display:flex;width:100%;min-height:42px;justify-content:flex-start;padding:0 12px;border:1px solid #b8d5e8;border-radius:10px;background:linear-gradient(135deg,#e8f5fc,#f8fbff);color:#075985;box-shadow:0 10px 24px #155a871a;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease}.ai-helper-fab span{overflow:hidden;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.ai-helper-fab:hover{background:#dff1fb;box-shadow:0 12px 28px #155a8729;transform:translateY(-1px)}.ai-helper-fab[aria-expanded=true]{border-color:#8fc4e4;background:#155a87;color:#fff}.ai-helper-panel{position:fixed;top:50%;left:50%;z-index:2147483002;display:flex;width:min(760px,calc(100vw - 36px));height:min(720px,calc(100vh - 48px));max-height:calc(100dvh - 48px);flex-direction:column;overflow:hidden;border:1px solid var(--border-soft);border-radius:20px;background:var(--surface);box-shadow:0 24px 70px #0f172a38;transform:translate(-50%,-50%);animation:ai-helper-pop .19s ease both}.ai-helper.open .ai-helper-fab{display:none}.ai-helper-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--border-soft);background:var(--surface-soft)}.ai-helper-head>div{display:grid;gap:3px;min-width:0}.ai-helper-head span{display:flex;align-items:center;gap:6px;color:var(--primary-strong);font-size:12px;font-weight:900;text-transform:uppercase}.ai-helper-head strong{color:var(--text-strong);font-size:clamp(22px,3vw,30px);line-height:1.08}.ai-helper-messages{display:flex;flex:1;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;padding:22px 24px}.ai-helper-message{display:grid;width:fit-content;max-width:min(620px,88%);gap:10px;padding:14px 16px;border:1px solid var(--border-soft);border-radius:14px;background:var(--surface-soft);animation:ai-helper-message-in .16s ease both}.ai-helper-message.user{justify-self:end;border-color:#b8d5e8;background:#e7f3fb}.ai-helper-message p{margin:0;color:var(--text-strong);font-size:15px;line-height:1.5;white-space:pre-wrap}.ai-helper-actions,.ai-helper-attachments,.ai-helper-drafts{display:flex;flex-wrap:wrap;gap:6px}.ai-helper-actions button{min-height:34px;padding:0 12px;border-color:#cfe0ee;border-radius:999px;background:var(--surface);color:var(--primary-strong);font-size:13px}.ai-helper-attachments span,.ai-helper-drafts button{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:100%;min-height:34px;padding:5px 9px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface);color:var(--text-muted);font-size:12px;font-weight:800}.ai-helper-attachments img,.ai-helper-drafts img{width:26px;height:22px;border-radius:5px;object-fit:cover}.ai-helper-drafts{padding:10px 24px 0;border-top:1px solid var(--border-soft)}.ai-helper-drafts button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-helper-input{display:grid;grid-template-columns:46px minmax(0,1fr) 46px 52px;gap:10px;align-items:end;padding:16px 24px 20px;border-top:1px solid var(--border-soft);background:var(--surface)}.ai-helper-input textarea{min-height:52px;max-height:132px;padding:13px 14px;resize:none;border-radius:13px;font-size:15px;line-height:1.4}.ai-helper-input>button:last-child{min-height:52px;padding:0;border-radius:13px}.ai-helper-input .recording{border-color:#f6b6b2;background:#fff1f0;color:#b42318;animation:ai-recording-pulse 1s ease infinite}.ai-helper-typing{display:inline-flex;width:max-content;gap:4px;padding:10px 12px;border-radius:999px;background:var(--surface-soft)}.ai-helper-typing i{width:6px;height:6px;border-radius:999px;background:var(--primary);animation:ai-typing-dot .9s ease-in-out infinite}.ai-helper-typing i:nth-child(2){animation-delay:.12s}.ai-helper-typing i:nth-child(3){animation-delay:.24s}@keyframes ai-helper-pop{0%{opacity:0;transform:translate(-50%,calc(-50% + 12px)) scale(.98)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@keyframes ai-helper-message-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes ai-typing-dot{0%,70%,to{opacity:.35;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}@keyframes ai-recording-pulse{0%,to{box-shadow:0 0 #d92d202e}50%{box-shadow:0 0 0 6px #d92d2000}}.server-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}.server-project-section{display:grid;gap:8px}.server-project-section h2{margin:2px 0 0;color:var(--text-strong);font-size:16px}.server-project-section>p{margin:0;padding:12px;border:1px dashed var(--border-soft);border-radius:8px;color:var(--text-muted);font-size:13px}.server-project-section.personal{padding-top:4px}.server-project-card{display:grid;gap:8px;align-content:start;justify-content:stretch;justify-items:stretch;width:100%;min-height:150px;padding:11px;border-color:var(--border-soft);background:var(--surface);color:var(--text-strong);text-align:left}.server-project-card.overdue{border-color:#f0b8b2;background:linear-gradient(180deg,#fffafa 0%,var(--surface) 58%)}.server-project-card.personal{min-height:132px}.server-original-name{overflow:hidden;color:var(--text-muted);font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.server-project-card>div,.server-project-card footer{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.server-days{display:grid;gap:5px;width:100%}.server-days span{color:var(--text-muted);font-size:11px;font-weight:800}.server-days i{display:block;height:6px;overflow:hidden;border-radius:999px;background:var(--surface-muted)}.server-days b{display:block;height:100%;border-radius:inherit;background:var(--success)}.server-project-card.overdue .server-days b{background:var(--danger)}.server-days.personal span{color:var(--text-muted)}.server-rent-modal{width:min(780px,100%)}.server-payment-box,.server-payment-log{display:grid;gap:8px;margin:0 16px 14px;padding:12px;border:1px solid var(--border-soft);border-radius:8px;background:var(--surface-soft)}.server-payment-box h3,.server-payment-log h3{margin:0;color:var(--text-strong);font-size:15px}.server-payment-box>button{justify-self:end;min-height:34px}.server-payment-log div{display:grid;grid-template-columns:110px minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;padding:8px 0;border-top:1px solid var(--border-soft);font-size:12px}.server-payment-log strong{color:var(--success)}.server-project-card p{margin:0;color:var(--text-muted);font-size:12px}.server-project-card footer{padding-top:9px;border-top:1px solid var(--border-soft);color:var(--text-muted);font-size:12px}.server-project-card footer b{color:var(--text-strong)}.server-runtime,.server-payment{padding:4px 7px;border-radius:999px;font-size:10px;font-style:normal;font-weight:900}.server-runtime.running{background:var(--success-soft);color:var(--success)}.server-payment{background:var(--surface-muted);color:var(--text-muted)}.server-payment.paid{background:var(--success-soft);color:var(--success)}.server-payment.overdue{background:var(--danger-soft);color:var(--danger)}.server-readonly-note{display:flex;gap:8px;align-items:flex-start;margin:12px 16px 0;padding:10px;border:1px solid var(--border-soft);border-radius:8px;background:var(--primary-soft);color:var(--primary-strong);font-size:12px}.deal-cashflow-tab{gap:12px}.deal-cashflow-totals{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.deal-cashflow-totals span{display:inline-flex;gap:6px;align-items:center;min-height:32px;padding:4px 10px;border:1px solid var(--border-soft);border-radius:999px;background:var(--surface-soft);color:var(--text-muted);font-size:12px}.deal-cashflow-totals b{color:var(--text-strong)}.deal-cashflow-form{grid-template-columns:repeat(3,minmax(0,1fr))}.deal-cashflow-card .visit-card-actions{min-width:150px}@media(max-width:1100px){.cashflow-summary-grid,.cashflow-form,.cashflow-directory-form,.cashflow-category-columns{grid-template-columns:1fr 1fr}.cashflow-form label.full{grid-column:span 2}}@media(max-width:720px){.cashflow-header{align-items:flex-start;flex-direction:column}.cashflow-summary-grid,.cashflow-form,.cashflow-directory-form,.cashflow-category-columns,.deal-cashflow-form{grid-template-columns:1fr}.cashflow-panel-toolbar,.cashflow-modal-actions{align-items:stretch;flex-direction:column}.cashflow-panel-toolbar button,.cashflow-modal-actions button{width:100%}.whatsapp-self-qr{align-items:flex-start;flex-direction:column}.whatsapp-self-qr img{width:150px;height:150px}.cashflow-modal-grid{grid-template-columns:1fr}.section-action-bar,.server-project-card footer{align-items:stretch;flex-direction:column}.section-action-bar button,.marketing-actions{width:100%}.marketing-actions button{flex:1}.marketing-metrics,.server-metrics,.marketing-layout,.marketing-channel-grid{grid-template-columns:1fr}.marketing-layout>.marketing-task-panel{display:none}.marketing-task-panel.in-modal{display:grid}.jnl-topbar{justify-content:flex-start;overflow-x:auto;overflow-y:visible;padding-right:14px;scrollbar-width:none}.jnl-topbar::-webkit-scrollbar{display:none}.jnl-topbar-left,.jnl-topbar-right{flex:0 0 auto;overflow:visible}.jnl-topbar-right{margin-left:10px}.jnl-date-label{max-width:210px}.ai-helper{width:44px}.ai-helper-panel{width:calc(100vw - 24px);height:calc(100vh - 34px);height:calc(100dvh - 34px);max-height:calc(100vh - 34px);max-height:calc(100dvh - 34px)}.ai-helper-head,.ai-helper-messages{padding:16px}.ai-helper-message{max-width:94%}.ai-helper-input{grid-template-columns:42px minmax(0,1fr) 42px 46px;gap:7px;padding:12px 16px 16px}.journal-task-row{grid-template-columns:32px minmax(0,1fr)}.journal-task-row .task-direction,.journal-task-row time{grid-column:2;text-align:left}.cashflow-form label.full{grid-column:auto}}:root[data-resolved-theme=dark] .avatar{background:#123653;color:var(--primary-strong)}:root[data-resolved-theme=dark] .status-icon.ai,:root[data-resolved-theme=dark] .status-action.ai,:root[data-resolved-theme=dark] .badge.good,:root[data-resolved-theme=dark] .channel-card.good .channel-head em{border-color:#1f5737;background:var(--success-soft);color:var(--success)}:root[data-resolved-theme=dark] .status-icon.manager,:root[data-resolved-theme=dark] .status-action.manager,:root[data-resolved-theme=dark] .timeout,:root[data-resolved-theme=dark] .badge.warn{border-color:#66501f;background:var(--warning-soft);color:var(--warning)}:root[data-resolved-theme=dark] .status-icon.disabled,:root[data-resolved-theme=dark] .task-icon,:root[data-resolved-theme=dark] .inline-error,:root[data-resolved-theme=dark] .reminder-row--failed,:root[data-resolved-theme=dark] .danger-action,:root[data-resolved-theme=dark] button.danger{border-color:#6b2b30;background:var(--danger-soft);color:var(--danger)}:root[data-resolved-theme=dark] .status-icon.closed{background:#273244;color:var(--text-muted)}:root[data-resolved-theme=dark] .task-column-head,:root[data-resolved-theme=dark] .task-details div,:root[data-resolved-theme=dark] .task-checklist-preview span,:root[data-resolved-theme=dark] .task-checklist-preview small,:root[data-resolved-theme=dark] .task-checklist-preview em,:root[data-resolved-theme=dark] .task-checklist-editor,:root[data-resolved-theme=dark] .task-pattern-slider,:root[data-resolved-theme=dark] .task-card-date,:root[data-resolved-theme=dark] .task-card-thumbs img,:root[data-resolved-theme=dark] .task-attachment-fallback,:root[data-resolved-theme=dark] .task-card-thumbs span,:root[data-resolved-theme=dark] .task-column-list .empty-state,:root[data-resolved-theme=dark] .task-attachments-panel,:root[data-resolved-theme=dark] .task-attachments-list a,:root[data-resolved-theme=dark] .mobile-nav-more-panel,:root[data-resolved-theme=dark] .ai-helper-panel,:root[data-resolved-theme=dark] .ai-helper-message,:root[data-resolved-theme=dark] .ai-helper-actions button,:root[data-resolved-theme=dark] .ai-helper-attachments span,:root[data-resolved-theme=dark] .ai-helper-drafts button,:root[data-resolved-theme=dark] .ai-helper-typing{border-color:var(--border-soft);background:var(--surface-soft);color:var(--text)}:root[data-resolved-theme=dark] .task-pattern-slider:before{background:#172338;box-shadow:0 8px 18px #00000047}:root[data-resolved-theme=dark] .task-pattern-slider button.active,:root[data-resolved-theme=dark] .task-checklist-editor>div>span{color:var(--text-strong)}:root[data-resolved-theme=dark] .task-checklist-preview small.done{background:var(--success-soft);color:var(--success)}:root[data-resolved-theme=dark] .ai-helper-backdrop{background:#03071294}:root[data-resolved-theme=dark] .ai-helper-fab{border-color:#214966;background:linear-gradient(135deg,#102b3d,#172233);color:var(--primary-strong);box-shadow:0 12px 28px #0000003d}:root[data-resolved-theme=dark] .ai-helper-fab:hover,:root[data-resolved-theme=dark] .ai-helper-fab[aria-expanded=true]{border-color:#2a6f95;background:#0f3b59;color:#fff}:root[data-resolved-theme=dark] .ai-helper-message.user{border-color:#235778;background:#102b3d}:root[data-resolved-theme=dark] .task-card .task-icon{border-color:#235778;background:var(--primary-soft);color:var(--primary-strong)}:root[data-resolved-theme=dark] .task-card.closed .task-icon{border-color:#1f5f44;background:var(--success-soft);color:var(--success)}:root[data-resolved-theme=dark] .task-card.archived .task-icon{border-color:var(--border);background:#273244;color:var(--text-muted)}:root[data-resolved-theme=dark] .metric span,:root[data-resolved-theme=dark] .column-head span,:root[data-resolved-theme=dark] .dialog-search-match span,:root[data-resolved-theme=dark] .tool-chip-name,:root[data-resolved-theme=dark] .reminder-time,:root[data-resolved-theme=dark] .staff-role-badge,:root[data-resolved-theme=dark] .stat-card-icon.blue,:root[data-resolved-theme=dark] .funnel-bar-wrap,:root[data-resolved-theme=dark] .channel-stats-row{border-color:#235778;background:var(--primary-soft);color:var(--primary-strong)}:root[data-resolved-theme=dark] .deal-modal-tabs,:root[data-resolved-theme=dark] .modal-head,:root[data-resolved-theme=dark] .modal-header,:root[data-resolved-theme=dark] .staff-modal-header,:root[data-resolved-theme=dark] .staff-modal-footer,:root[data-resolved-theme=dark] .sketch-modal-header,:root[data-resolved-theme=dark] .sketch-modal-footer,:root[data-resolved-theme=dark] .profile-photos-grid,:root[data-resolved-theme=dark] .stats-table th,:root[data-resolved-theme=dark] .stats-table td,:root[data-resolved-theme=dark] .sketch-error-row{border-color:var(--border-soft)}:root[data-resolved-theme=dark] .day-slot-cell,:root[data-resolved-theme=dark] .day-time-slot,:root[data-resolved-theme=dark] .week-col-header,:root[data-resolved-theme=dark] .week-col,:root[data-resolved-theme=dark] .week-grid-day-hdr,:root[data-resolved-theme=dark] .day-staff-col{border-color:var(--border-soft)}:root[data-resolved-theme=dark] .day-slot-cell:hover,:root[data-resolved-theme=dark] .week-col:hover,:root[data-resolved-theme=dark] .week-col.today,:root[data-resolved-theme=dark] .week-grid-day-hdr.wk-today,:root[data-resolved-theme=dark] .day-staff-col.wk-today-col{background:#63b3ff14}:root[data-resolved-theme=dark] .jnl-view-seg,:root[data-resolved-theme=dark] .jnl-density-menu,:root[data-resolved-theme=dark] .stats-table td,:root[data-resolved-theme=dark] .week-empty,:root[data-resolved-theme=dark] .visits-empty,:root[data-resolved-theme=dark] .visits-loading,:root[data-resolved-theme=dark] .services-empty,:root[data-resolved-theme=dark] .services-loading,:root[data-resolved-theme=dark] .stats-loading{border-color:var(--border);background:var(--control-bg);color:var(--text-muted)}:root[data-resolved-theme=dark] .modal-backdrop,:root[data-resolved-theme=dark] .modal-overlay,:root[data-resolved-theme=dark] .staff-modal-backdrop,:root[data-resolved-theme=dark] .staff-pick-backdrop,:root[data-resolved-theme=dark] .sketch-modal-backdrop{background:#03070cb3}:root[data-resolved-theme=dark] .image-preview-backdrop,:root[data-resolved-theme=dark] .profile-photos-backdrop{background:#03070ce0}
