:root{color-scheme:light;--base: #F5F5F7;--surface: #FFFFFF;--raised: #FFFFFF;--raised-border: #E2E2E7;--raised-shadow: 0 1px 2px rgba(29, 29, 31, .05);--ink: #1D1D1F;--muted: #606067;--hairline: #E2E2E7;--hairline-soft: #ECECF0;--muted-surface: #EBEBEF;--hover: #F0F0F3;--accent: #B8D2F7;--accent-hover: #A9C8F3;--accent-text: #19385F;--accent-tint: #EAF1FB;--link: #244A7B;--focus: #4A6B96;--control-boundary: #85858D;--ember: #D9480F;--ember-tint: #FDEDE4;--ok: #2F9E44;--ok-tint: #E6F4EA;--bubble-in-bg: #FFFFFF;--bubble-in-border: var(--hairline);--bubble-out-bg: var(--accent);--bubble-out-text: var(--accent-text);--bubble-bot-bg: #EBEBEF;--bar-idle: rgba(29, 29, 31, .18);--purpose-regular: #244A7B;--purpose-regular-tint: #EAF1FB;--purpose-fd: #8A5A00;--purpose-fd-tint: #FBF1DC;--purpose-cxl: #9B2C3A;--purpose-cxl-tint: #FBE7EA;--purpose-tm: #4C3FA8;--purpose-tm-tint: #ECE9FA;--purpose-other: #606067;--purpose-other-tint: #EBEBEF;--shadow-pop: 0 8px 24px rgba(29, 29, 31, .12), 0 1px 2px rgba(29, 29, 31, .06);--shadow-drawer: -8px 0 24px rgba(29, 29, 31, .14);--backdrop: rgba(29, 29, 31, .32);--toast-bg: #1D1D1F;--toast-text: #F5F5F7;--pane-radius: 10px;--radius-control: 8px;--radius-primary: 10px;--radius-composer: 16px;--radius-bubble: 18px;--motion-fast: .15s}:root[data-theme=dark]{color-scheme:dark;--base: #111113;--surface: #1C1C1E;--raised: #1C1C1E;--raised-border: #3A3A3C;--raised-shadow: none;--ink: #F5F5F7;--muted: #ABABB1;--hairline: #3A3A3C;--hairline-soft: #303034;--muted-surface: #303034;--hover: #303034;--accent: #A9C8F3;--accent-hover: #B8D2F7;--accent-text: #19385F;--accent-tint: #263549;--link: #B8D2F7;--focus: #B8D2F7;--control-boundary: #85858D;--ember: #F0753B;--ember-tint: rgba(240, 117, 59, .16);--ok: #4CC26A;--ok-tint: rgba(76, 194, 106, .16);--bubble-in-bg: #1C1C1E;--bubble-in-border: var(--hairline);--bubble-out-bg: var(--accent);--bubble-out-text: var(--accent-text);--bubble-bot-bg: #303034;--bar-idle: rgba(245, 245, 247, .22);--purpose-regular: #B8D2F7;--purpose-regular-tint: #263549;--purpose-fd: #E8B45A;--purpose-fd-tint: rgba(232, 180, 90, .16);--purpose-cxl: #F08A96;--purpose-cxl-tint: rgba(240, 138, 150, .16);--purpose-tm: #B5A8F5;--purpose-tm-tint: rgba(181, 168, 245, .16);--purpose-other: #ABABB1;--purpose-other-tint: #303034;--shadow-pop: 0 0 0 1px #3A3A3C, 0 12px 32px rgba(0, 0, 0, .5);--shadow-drawer: 0 0 0 1px #3A3A3C;--backdrop: rgba(0, 0, 0, .55);--toast-bg: #F5F5F7;--toast-text: #111113}@media (prefers-color-scheme: dark){:root:not([data-theme=light]){color-scheme:dark;--base: #111113;--surface: #1C1C1E;--raised: #1C1C1E;--raised-border: #3A3A3C;--raised-shadow: none;--ink: #F5F5F7;--muted: #ABABB1;--hairline: #3A3A3C;--hairline-soft: #303034;--muted-surface: #303034;--hover: #303034;--accent: #A9C8F3;--accent-hover: #B8D2F7;--accent-text: #19385F;--accent-tint: #263549;--link: #B8D2F7;--focus: #B8D2F7;--control-boundary: #85858D;--ember: #F0753B;--ember-tint: rgba(240, 117, 59, .16);--ok: #4CC26A;--ok-tint: rgba(76, 194, 106, .16);--bubble-in-bg: #1C1C1E;--bubble-in-border: var(--hairline);--bubble-out-bg: var(--accent);--bubble-out-text: var(--accent-text);--bubble-bot-bg: #303034;--bar-idle: rgba(245, 245, 247, .22);--purpose-regular: #B8D2F7;--purpose-regular-tint: #263549;--purpose-fd: #E8B45A;--purpose-fd-tint: rgba(232, 180, 90, .16);--purpose-cxl: #F08A96;--purpose-cxl-tint: rgba(240, 138, 150, .16);--purpose-tm: #B5A8F5;--purpose-tm-tint: rgba(181, 168, 245, .16);--purpose-other: #ABABB1;--purpose-other-tint: #303034;--shadow-pop: 0 0 0 1px #3A3A3C, 0 12px 32px rgba(0, 0, 0, .5);--shadow-drawer: 0 0 0 1px #3A3A3C;--backdrop: rgba(0, 0, 0, .55);--toast-bg: #F5F5F7;--toast-text: #111113}}html:not(.theme-loading) body,html:not(.theme-loading) .pane,html:not(.theme-loading) .topnav,html:not(.theme-loading) .card,html:not(.theme-loading) .messages,html:not(.theme-loading) .bubble,html:not(.theme-loading) .composer,html:not(.theme-loading) table.grid,html:not(.theme-loading) .admin-side{transition:background-color .15s ease,color .15s ease,border-color .15s ease}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font:13.5px/1.45 -apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;color:var(--ink);background:var(--base);-webkit-font-smoothing:antialiased}a{color:var(--link);text-decoration:none}h1{font-size:18px;font-weight:600;margin:0 0 4px}h2{font-size:14px;font-weight:600;margin:22px 0 8px;display:flex;align-items:center;gap:8px}h3{font-size:12px;font-weight:500;margin:14px 0 6px;color:var(--muted)}p{margin:0 0 10px}.muted{color:var(--muted)}.small{font-size:12px}.num,.conv-time,.bubble-time,time,.kv .v,td.num,th.num,.phone{font-variant-numeric:tabular-nums}.nowrap{white-space:nowrap}.spacer{flex:1}.empty{padding:28px 20px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--ink);font-weight:500;margin-bottom:2px}.error-box{background:var(--ember-tint);color:var(--ember);padding:8px 12px;border-radius:8px;margin:8px 0}.lede{color:var(--muted);margin:0 0 14px;max-width:64ch}strong,b{font-weight:600}button,input,select,textarea{font:inherit;color:inherit}button{background:var(--surface);border:1px solid var(--hairline);border-radius:8px;padding:0 12px;height:32px;cursor:pointer;color:var(--ink);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;transition:background-color .12s ease,border-color .12s ease,color .12s ease}button:hover{background:var(--base)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:500}button.primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}button.quiet{background:transparent;border-color:transparent;color:var(--muted)}button.quiet:hover:not(:disabled){background:var(--base);color:var(--ink)}button.link{background:none;border:none;color:var(--link);padding:0;height:auto}button.link:hover{text-decoration:underline;background:none}button.danger{color:var(--ember)}button.danger.primary{background:var(--ember);border-color:var(--ember);color:#fff}button.small{height:28px;padding:0 10px;font-size:12px}button.icon{width:32px;padding:0;justify-content:center;color:var(--muted);background:transparent;border-color:transparent}button.icon:hover{background:var(--base);color:var(--ink)}button.icon.on{color:var(--link);background:var(--accent-tint)}button.icon svg,button svg{width:16px;height:16px;flex:none}.inline-confirm{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink)}.inline-confirm button{height:26px;padding:0 9px;font-size:12px}input[type=text],input:not([type]),input[type=number],input[type=password],input[type=email],input[type=datetime-local],select,textarea{border:1px solid var(--hairline);border-radius:8px;padding:0 10px;height:36px;background:var(--surface);color:var(--ink);width:100%;max-width:100%}textarea{height:auto;padding:8px 10px;resize:vertical;line-height:1.45}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}input[type=checkbox]{width:15px;height:15px;accent-color:var(--link);margin:0}:is(button,input,select,textarea,a,[tabindex]):focus-visible{outline:2px solid var(--focus);outline-offset:3px}label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:12px}label input,label select,label textarea{color:var(--ink);font-size:13.5px}label.check{flex-direction:row;align-items:center;gap:6px;color:var(--ink);font-size:13.5px;margin-right:10px}label.check input{width:auto}kbd{display:inline-block;font:500 11px/16px inherit;font-family:inherit;padding:0 5px;border-radius:5px;border:1px solid var(--hairline);background:var(--surface);color:var(--muted);min-width:18px;text-align:center}.seg{display:inline-flex;border:1px solid var(--hairline);border-radius:8px;padding:2px;gap:2px;background:var(--surface)}.seg button{border:none;border-radius:6px;height:24px;padding:0 9px;font-size:12px;color:var(--muted);background:transparent}.seg button.on{background:var(--accent-tint);color:var(--link);font-weight:500}.pill{display:inline-flex;align-items:center;gap:4px;height:18px;padding:0 7px;border-radius:999px;font-size:11px;font-weight:500;background:var(--purpose-other-tint);color:var(--purpose-other);white-space:nowrap;line-height:1}.pill-regular{background:var(--purpose-regular-tint);color:var(--purpose-regular)}.pill-future_disenroll{background:var(--purpose-fd-tint);color:var(--purpose-fd)}.pill-cancellation{background:var(--purpose-cxl-tint);color:var(--purpose-cxl)}.pill-telemarketing{background:var(--purpose-tm-tint);color:var(--purpose-tm)}.pill-outline{background:transparent;box-shadow:inset 0 0 0 1px var(--hairline);color:var(--muted)}.pill-accent{background:var(--accent-tint);color:var(--link)}.pill-ember{background:var(--ember-tint);color:var(--ember)}.pill-ok{background:var(--ok-tint);color:var(--ok)}.pill-warn{background:var(--purpose-fd-tint);color:var(--purpose-fd)}.pill svg{width:12px;height:12px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;flex:none;background:var(--accent-tint);color:var(--link);font-size:10px;font-weight:600;letter-spacing:.02em}.avatar-pill{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);white-space:nowrap}.avatar.bot{background:var(--purpose-tm-tint);color:var(--purpose-tm)}.app{display:flex;flex-direction:column;height:100%}.topnav{display:flex;align-items:center;gap:20px;height:52px;padding:0 16px;background:var(--surface);border-bottom:1px solid var(--hairline);flex:none}.brand{font-weight:600;font-size:15px;display:inline-flex;align-items:center;gap:7px;color:var(--ink)}.brand-dot{width:8px;height:8px;border-radius:999px;background:var(--accent);display:inline-block}.topnav nav{display:flex;gap:2px;height:100%}.topnav nav a{display:inline-flex;align-items:center;padding:0 10px;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;font-weight:500}.topnav nav a:hover{color:var(--ink)}.topnav nav a.active{color:var(--ink);border-bottom-color:var(--link)}.topnav-right{margin-left:auto;display:flex;gap:4px;align-items:center}.theme-seg{display:inline-flex;border:1px solid var(--hairline);border-radius:8px;padding:2px;gap:2px;margin:0 6px}.theme-seg button{border:none;border-radius:6px;width:26px;height:24px;padding:0;justify-content:center;color:var(--muted);background:transparent}.theme-seg button.on{background:var(--accent-tint);color:var(--link)}.theme-seg svg{width:14px;height:14px;display:block}.user-btn{height:32px;padding:0 8px 0 4px;border-color:transparent;background:transparent;gap:7px}.user-btn:hover{background:var(--base)}.user-menu{min-width:200px}.user-menu .who{padding:4px 6px 10px;border-bottom:1px solid var(--hairline);margin-bottom:6px}.user-menu .who strong{display:block}.user-menu .menu-row{display:flex;align-items:center;justify-content:space-between;gap:8px;height:36px;padding:0 8px;color:var(--muted);font-size:12px}.user-menu .menu-row .theme-seg{margin:0}.menu-item{display:flex;width:100%;text-align:left;border:none;background:none;height:32px;padding:0 8px;border-radius:6px}.menu-item:hover{background:var(--base)}.help-pop{min-width:260px}.help-pop .row{display:flex;justify-content:space-between;align-items:center;padding:5px 4px;gap:12px}.help-pop .row span:first-child{color:var(--muted)}.help-pop kbd+kbd{margin-left:3px}.screen{flex:1;min-height:0}.page{padding:20px 24px 40px;overflow:auto;height:100%}.page.reports>*{max-width:1240px}.login-bar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px}.login-wrap{display:flex;justify-content:center;padding-top:48px}.login-card{background:var(--raised);border:1px solid var(--raised-border);box-shadow:var(--raised-shadow);border-radius:10px;padding:22px 20px;width:360px}.login-card .brand{margin-bottom:4px}.login-signin{width:100%;height:38px;margin-top:14px}.login-group{margin-top:14px}.login-role{font-size:12px;color:var(--muted);margin:0 0 4px 10px}.login-user{display:flex;justify-content:space-between;width:100%;text-align:left;height:36px;border-color:transparent;background:transparent;padding:0 10px;gap:10px}.login-user:hover{background:var(--accent-tint);color:var(--ink)}.login-user .muted{font-size:12px;overflow:hidden;text-overflow:ellipsis}.inbox{display:grid;grid-template-columns:320px 1fr 300px;height:100%;background:var(--base)}.pane{background:var(--surface);border-right:1px solid var(--hairline);display:flex;flex-direction:column;min-height:0;min-width:0}.pane-context{border-right:none}.pane-thread{background:var(--base)}.pane-head{padding:10px 12px;border-bottom:1px solid var(--hairline);background:var(--surface)}.status-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:8px}.cap{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.cap-full{color:var(--ember);font-weight:500}.next-tile{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;height:auto;padding:10px 12px;margin-bottom:10px;background:var(--raised);border:1px solid var(--raised-border);box-shadow:var(--raised-shadow);border-radius:10px;text-align:left}.next-tile:hover:not(:disabled){border-color:var(--accent);background:var(--raised)}.next-tile .nt-left{display:flex;flex-direction:column;gap:3px}.next-tile .nt-word{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px}.next-tile .nt-hint{font-size:12px;color:var(--muted);font-weight:400;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.next-tile .nt-key{display:inline-flex;align-items:center;gap:4px;opacity:.85}.next-tile .nt-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;line-height:1.1}.next-tile .nt-count{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--link)}.next-tile .nt-count.hot{color:var(--ember)}.next-tile .nt-count.zero{color:var(--muted)}.next-tile .nt-sub{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:3px}.next-tile .nt-sub.hot{color:var(--ember)}.tabs{display:flex;flex-wrap:wrap;gap:2px}.tabs button{height:26px;padding:0 8px;font-size:12px;border-color:transparent;background:transparent;color:var(--muted);border-radius:999px}.tabs button:hover{color:var(--ink);background:var(--base)}.tabs button.on{background:var(--accent-tint);color:var(--link);font-weight:500}.conv-list{overflow:auto;flex:1}.conv-row{position:relative;padding:9px 12px 9px 16px;border-bottom:1px solid var(--hairline-soft);cursor:pointer;animation:row-in .18s ease-out}.conv-row:hover{background:var(--base)}.conv-row.selected{background:var(--accent-tint)}.sla-bar{position:absolute;left:4px;top:8px;bottom:8px;width:3px;border-radius:2px;background:var(--hairline);overflow:hidden}.sla-bar i{position:absolute;left:0;right:0;bottom:0;height:100%;background:var(--bar-idle);border-radius:2px;transition:height .6s ease,background-color .6s ease}.sla-bar.ok i{background:var(--accent)}.sla-bar.warn i{background:var(--purpose-fd)}.sla-bar.hot i,.sla-bar.over i{background:var(--ember)}.conv-top{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.conv-name{font-weight:500;display:flex;align-items:center;gap:6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conv-name.unread{font-weight:600}.conv-time{font-size:12px;white-space:nowrap;color:var(--muted);display:inline-flex;align-items:center;gap:5px}.conv-time.over{color:var(--ember);font-weight:500}.conv-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:1px 0 5px;color:var(--muted)}.conv-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px}.conv-assignee{margin-left:auto}.dot{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block;flex:none}.thread-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;min-height:52px}.thread-title{display:flex;align-items:center;gap:10px;min-width:0}.thread-title .name{font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-title .sub{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:12px;white-space:nowrap}.thread-title .back{padding:0;width:32px}.actions,.actions .group{display:flex;gap:6px;align-items:center}.actions .group+.group{margin-left:10px}.assign-pop{min-width:240px;max-height:320px;overflow:auto}.assign-pop .menu-item{gap:8px;align-items:center}.assign-pop .menu-item .muted{margin-left:auto;font-size:12px}.messages{flex:1;overflow:auto;padding:16px 20px;display:flex;flex-direction:column;gap:2px}.day-sep{align-self:center;font-size:12px;color:var(--muted);margin:14px 0 8px;display:flex;align-items:center;gap:10px;width:100%}.day-sep:before,.day-sep:after{content:"";flex:1;height:1px;background:var(--hairline)}.bubble-wrap{max-width:62%;display:flex;flex-direction:column;margin-top:10px}.bubble-wrap.grouped{margin-top:2px}.bubble-wrap.in{align-self:flex-start}.bubble-wrap.out{align-self:flex-end;align-items:flex-end}.bubble{padding:10px 15px;border-radius:var(--radius-bubble);white-space:pre-wrap;word-break:break-word;line-height:1.45}.in .bubble{background:var(--bubble-in-bg);border:1px solid var(--bubble-in-border);border-bottom-left-radius:6px}.in.grouped .bubble{border-top-left-radius:6px}.out .bubble{background:var(--bubble-out-bg);color:var(--bubble-out-text);border-bottom-right-radius:6px}.out.grouped .bubble{border-top-right-radius:6px}.out.origin-bot .bubble,.out.origin-autoreply .bubble{background:var(--bubble-bot-bg)}.out.origin-blast .bubble{background:transparent;border:1px dashed var(--hairline);color:var(--muted)}.out.pending .bubble{opacity:.7}.bubble.purged{background:transparent;border:1px dashed var(--hairline);color:var(--muted);font-style:italic;font-size:12px}.bubble-wrap.in-new .bubble,.bubble-wrap.out-new .bubble{animation:bubble-in .12s ease-out}.bubble-meta{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-top:4px;padding:0 2px}.bubble-meta .pill{height:16px;font-size:10px;padding:0 6px}.bubble-meta .carrier{opacity:.8}.bubble-meta .state{display:inline-flex;align-items:center;gap:3px}.bubble-meta .state svg{width:13px;height:13px}.bubble-meta .state.failed,.bubble-meta .state.review{color:var(--ember);font-weight:500}.bubble-wrap.review .bubble{box-shadow:inset 0 0 0 1px var(--ember)}.review-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;padding:6px 8px;border-radius:8px;background:var(--ember-tint);color:var(--ember);font-size:12px;max-width:100%}.review-line svg{width:14px;height:14px;flex:none}.review-line>span{flex:1 1 auto;min-width:0}.review-line .muted{color:var(--ember);opacity:.75}.review-line button.small{border-color:var(--ember);color:var(--ember);background:var(--surface)}.note-line{align-self:center;width:100%;display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin:10px 0 2px;text-align:center}.note-line:before,.note-line:after{content:"";flex:1;height:1px;background:var(--hairline)}.note-line .note-text{max-width:70%}.note-line .note-time{opacity:.8}.note-line svg{width:13px;height:13px;vertical-align:-2px;margin-right:2px}.bot-toggle{align-self:center;margin:10px 0 2px;height:24px;padding:0 12px;border-radius:999px;font-size:12px;color:var(--muted);background:var(--surface)}.thread-empty{display:flex;align-items:center;justify-content:center;height:100%}.pane-thread.span{grid-column:2 / -1;border-right:none}.composer{padding:10px 16px 14px;background:transparent}.composer-sheet{background:var(--raised);border:1px solid var(--raised-border);box-shadow:var(--raised-shadow);border-radius:var(--radius-composer)}.composer-sheet:focus-within{border-color:var(--control-boundary)}.composer textarea{width:100%;border:none;background:transparent;padding:12px 14px 4px;resize:none;display:block;min-height:64px}.composer textarea:focus-visible{outline:none}.composer-hint{font-size:11px;color:var(--muted);padding:0 14px 6px;opacity:.85}.composer-row{display:flex;gap:6px;align-items:center;padding:6px 8px 8px;border-top:1px solid var(--hairline-soft)}.from-btn{max-width:260px}.from-btn .lbl{overflow:hidden;text-overflow:ellipsis}.from-pop{min-width:280px}.from-pop .menu-item{gap:8px}.from-pop .menu-item .phone{margin-left:auto;color:var(--muted);font-size:12px}.locked svg{width:16px;height:16px;flex:0 0 auto}.locked{display:flex;align-items:center;gap:10px;padding:12px 14px;color:var(--muted);border-radius:10px;background:var(--raised);border:1px solid var(--raised-border)}.locked strong{color:var(--ink);font-weight:500}.locked button{margin-left:auto}.notice{background:var(--purpose-fd-tint);color:var(--purpose-fd);padding:7px 12px;border-radius:8px;margin:6px 0;font-size:12px}.sched-list{margin-bottom:8px;display:flex;flex-direction:column;gap:4px}.sched-item{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 10px;border:1px dashed var(--hairline);border-radius:8px;background:var(--surface);color:var(--muted)}.sched-item svg{width:14px;height:14px;flex:none}.sched-when{font-weight:500;white-space:nowrap;color:var(--ink);font-variant-numeric:tabular-nums}.sched-body{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}.sched-cancel{margin-left:auto}.cb-item{border-style:solid;cursor:default}.cb-item .pill{height:16px;font-size:10px}.cb-unavailable{display:flex;align-items:center;gap:6px;font-size:12px;padding:2px 4px 8px}.cb-unavailable svg{width:14px;height:14px;flex:none;opacity:.7}.why-line>svg{width:14px;height:14px;color:var(--muted);flex:none}.ctx{padding:14px;overflow:auto}.ctx-head{display:flex;justify-content:space-between;align-items:center;min-height:52px}.ctx-head strong{font-weight:600}.why{border-left:2px solid var(--link);padding:2px 0 2px 12px;margin-bottom:18px}.why-title{font-size:12px;color:var(--muted);margin-bottom:6px}.why-line{padding:2px 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.why-quote{margin:6px 0 8px;padding:0;color:var(--muted);font-style:italic;line-height:1.45}.why-big{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2;margin:6px 0 2px}.why-big.hot{color:var(--ember)}.why-big small{font-size:12px;font-weight:400;color:var(--muted);margin-left:6px}.btn-link{display:inline-flex;align-items:center;height:28px;margin-top:8px;padding:0 10px;border:1px solid var(--hairline);border-radius:8px;color:var(--ink);font-size:12px;font-weight:500}.btn-link:hover{border-color:var(--link);color:var(--link)}.facts{display:grid;grid-template-columns:96px 1fr;gap:4px 10px;margin-bottom:14px}.facts .k{color:var(--muted)}.facts .v{font-variant-numeric:tabular-nums;word-break:break-word}.disclosure{border-top:1px solid var(--hairline);margin-top:6px}.disclosure>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:10px 0;font-weight:500}.disclosure>summary::-webkit-details-marker{display:none}.disclosure>summary svg{width:14px;height:14px;color:var(--muted);transition:transform .12s ease}.disclosure[open]>summary svg{transform:rotate(90deg)}.ctx-section{font-size:12px;color:var(--muted);margin:12px 0 4px}.ctx-section:first-child{margin-top:0}.kv{display:flex;gap:10px;padding:3px 0}.kv .k{color:var(--muted);width:96px;flex:none}.kv .v{word-break:break-word;min-width:0}.flag-on,.overdue{color:var(--ember);font-weight:500}.narrow-only,.phone-only{display:none}.clients-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.clients-head h1{margin:0}.clients-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.clients-tools .seg button{height:28px}.seg-count{margin-left:5px;font-variant-numeric:tabular-nums;opacity:.75}.clients-search{width:240px;height:34px}.client-list{background:var(--raised);border:1px solid var(--raised-border);box-shadow:var(--raised-shadow);border-radius:10px;overflow:hidden;max-width:1100px}.client-row{display:grid;grid-template-columns:minmax(150px,220px) auto minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:9px 14px;border-bottom:1px solid var(--hairline-soft);cursor:pointer;animation:row-in .18s ease-out}.client-row:last-child{border-bottom:none}.client-row:hover{background:var(--base)}.cl-who{display:flex;flex-direction:column;min-width:0}.cl-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-row.needs .cl-name{font-weight:600}.cl-phone{font-size:12px;color:var(--muted)}.cl-signal{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.cl-preview{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.cl-time{font-size:12px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.crm-strip{border-left:2px solid var(--hairline);padding:2px 0 2px 12px;margin-bottom:18px}.crm-title{font-size:12px;color:var(--muted);margin-bottom:6px;display:flex;align-items:center;gap:6px}.crm-title .pill{height:16px;font-size:10px}.crm-fields{margin:0;display:grid;grid-template-columns:96px minmax(0,1fr);gap:3px 10px}.crm-field{display:contents}.crm-fields dt{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-fields dd{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.crm-strip.compact{border-left:none;border-bottom:1px solid var(--hairline);background:var(--surface);margin:0;padding:5px 12px 6px;flex:none;display:flex;align-items:flex-start;gap:8px}.crm-strip.compact .crm-title{margin:3px 0 0;white-space:nowrap;flex:none}.crm-strip.compact .crm-fields{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.crm-strip.compact .crm-field{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:6px;background:var(--base);border:1px solid var(--hairline-soft);font-size:12px;max-width:260px;min-width:0}.crm-strip.compact .crm-fields dt{flex:none;overflow:visible}.crm-strip.compact .crm-fields dt:after{content:":"}.admin{display:grid;grid-template-columns:200px 1fr;height:100%}.admin-side{background:var(--surface);border-right:1px solid var(--hairline);padding:10px 8px;display:flex;flex-direction:column;gap:1px}.admin-side a{padding:7px 10px;color:var(--muted);border-radius:8px;font-weight:500}.admin-side a:hover{color:var(--ink);background:var(--base)}.admin-side a.active{background:var(--accent-tint);color:var(--link)}.card{background:var(--raised);border:1px solid var(--raised-border);box-shadow:var(--raised-shadow);border-radius:10px;padding:14px;margin-bottom:12px}.card-title{font-weight:600;margin-bottom:8px}.form-inline{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin:8px 0}.form-inline input,.form-inline select{width:auto}.form-inline label.check{align-self:center}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.span2{grid-column:1 / -1}.form-actions{display:flex;justify-content:flex-end;gap:8px;align-items:center;grid-column:1 / -1;margin-top:4px}.form-actions .spacer{flex:1}.members{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid var(--hairline)}.members-pick label{margin:4px 0}.order-row{display:flex;align-items:center;gap:8px;padding:3px 0}.order-row .idx{color:var(--muted);width:16px;font-variant-numeric:tabular-nums}.tree-row{padding:4px 0;display:flex;gap:8px;align-items:center}.table-wrap{overflow-x:auto}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 8px}.section-head h2{margin:0}.admin-split{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.admin-split.closed{grid-template-columns:1fr}.edit-panel{background:var(--raised);border:1px solid var(--raised-border);box-shadow:var(--raised-shadow);border-radius:10px;padding:14px;position:sticky;top:0;animation:pop-in .14s ease-out}.edit-panel .ep-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.edit-panel .ep-head strong{font-weight:600}.edit-panel .form-grid{grid-template-columns:1fr}.edit-panel .form-actions{margin-top:10px}.chips{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.chips.nowrap{flex-wrap:nowrap}.chip{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;background:var(--base);border:1px solid var(--hairline-soft);font-size:12px;white-space:nowrap}.chip b{font-weight:500;margin:0 4px}.chip.arrow{background:transparent;border:none;padding:0 2px;color:var(--muted)}.json-box{white-space:pre-wrap;font-size:12px;color:var(--muted)}table.grid{width:100%;border-collapse:collapse;background:var(--raised);border:1px solid var(--raised-border);border-radius:10px;margin-bottom:12px;overflow:hidden}table.grid th,table.grid td{text-align:left;padding:0 12px;height:40px;border-bottom:1px solid var(--hairline-soft);vertical-align:middle}table.grid tbody tr:last-child td{border-bottom:none}table.grid th{font-weight:500;font-size:12px;color:var(--muted);height:36px}table.grid th.num,table.grid td.num{text-align:right;font-variant-numeric:tabular-nums}table.grid tr.clickable{cursor:pointer}table.grid tr.clickable:hover td{background:var(--base)}table.grid tr.editing td{background:var(--accent-tint)}table.grid td.wrap{white-space:pre-wrap;height:auto;padding-top:10px;padding-bottom:10px;vertical-align:top}table.grid td .small{font-size:12px}table.grid td input,table.grid td select{height:32px}.pop-anchor{position:relative;display:inline-block}.popover{position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:240px;background:var(--raised);border:1px solid var(--raised-border);border-radius:10px;padding:10px;box-shadow:var(--shadow-pop);animation:pop-in .14s ease-out;transform-origin:top left}.popover.pop-right{left:auto;right:0;transform-origin:top right}.popover.pop-above{top:auto;bottom:calc(100% + 6px);transform-origin:bottom left}.popover.pop-right.pop-above{transform-origin:bottom right}.popover label{margin-bottom:10px}.popover .pop-title{font-size:12px;color:var(--muted);margin:0 0 8px 2px}.composer-box{display:block;width:100%}.canned-pop{width:100%;max-height:280px;overflow:auto;padding:6px}.canned-head{padding:4px 8px 8px}.canned-opt{padding:7px 10px;cursor:pointer;display:flex;flex-direction:column;gap:1px;border-radius:8px}.canned-opt.on{background:var(--accent-tint)}.canned-title{font-weight:500;display:flex;align-items:center;gap:6px}.canned-body{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.sched-pop{min-width:280px}.sched-pick{display:flex;justify-content:space-between;width:100%;text-align:left;margin-bottom:4px;border-color:transparent;background:transparent}.sched-pick:hover{background:var(--base)}.sched-pick .muted{font-variant-numeric:tabular-nums}.sched-pick.on{background:var(--accent-tint);color:var(--link);font-weight:500}.close-pop,.callback-pop{min-width:300px}.callback-pop .cb-picks{margin-bottom:8px}.callback-pop textarea{min-height:52px;resize:none}.pop-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px;align-items:center}.toaster{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:6px;z-index:50}.toast{padding:9px 14px;border-radius:8px;background:var(--toast-bg);color:var(--toast-text);max-width:360px;box-shadow:var(--shadow-pop);animation:toast-in .18s ease-out}.toast-error{background:var(--ember);color:#fff}@keyframes row-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}@keyframes bubble-in{0%{opacity:.6;transform:scale(.98)}to{opacity:1;transform:none}}@keyframes pop-in{0%{opacity:0;transform:scale(.98) translateY(-2px)}to{opacity:1;transform:none}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media (max-width: 1099px){.narrow-only{display:inline-flex}.inbox{grid-template-columns:280px 1fr}.pane-context{position:fixed;top:0;right:0;bottom:0;width:min(360px,92vw);z-index:45;border-left:1px solid var(--hairline);box-shadow:var(--shadow-drawer);transform:translate(105%);transition:transform .16s ease-out}.drawer-backdrop{position:fixed;inset:0;background:var(--backdrop);z-index:44;display:none}.info-open .pane-context{transform:none}.info-open .drawer-backdrop{display:block}.admin{grid-template-columns:160px 1fr}.admin-split{grid-template-columns:1fr}.edit-panel{position:static}table.grid{min-width:640px}.page{overflow:auto}}@media (max-width: 719px){.phone-only{display:inline-flex}.topnav{height:auto;min-height:48px;flex-wrap:wrap;gap:6px 10px;padding:6px 12px}.topnav nav{height:auto}.topnav nav a{padding:8px 6px}.topnav-right{margin-left:auto}.user-menu .menu-row{display:flex;align-items:center;justify-content:space-between;gap:8px;height:36px;padding:0 8px;color:var(--muted);font-size:12px}.inbox{grid-template-columns:1fr}.pane{border-right:none}.pane-thread,.has-thread .pane-list{display:none}.has-thread .pane-thread{display:flex}.thread-head{flex-wrap:wrap;gap:6px;padding:8px 10px}.thread-title{flex:1 1 auto;overflow:hidden}.thread-title .sub{display:none}.actions{flex:1 1 100%;flex-wrap:wrap}.actions .group+.group{margin-left:0}.actions .group.secondary{display:none}.actions.more-open .group.secondary{display:flex;flex:1 1 100%}.messages{padding:12px}.bubble-wrap{max-width:86%}.composer{position:sticky;bottom:0;background:var(--base);padding:8px 10px max(10px,env(safe-area-inset-bottom))}.composer-row{flex-wrap:wrap}.composer-row .spacer{flex:1 1 100%;height:0}.composer-row>:nth-last-child(2){margin-left:auto}.from-btn{max-width:60vw}button,select,input,.tabs button,.seg button{min-height:40px}.seg button,.tabs button,.theme-seg button,button.small,.inline-confirm button,.bot-toggle{min-height:0}.topnav nav a{display:inline-flex;line-height:24px}.toaster{left:12px;right:12px;bottom:12px}.toast{max-width:none}.popover{max-width:calc(100vw - 32px)}.popover.callback-pop{position:fixed;inset:72px 16px auto;min-width:0;max-width:none}.admin{grid-template-columns:1fr;grid-template-rows:auto 1fr}.admin-side{flex-direction:row;overflow-x:auto;padding:4px 8px;border-right:none;border-bottom:1px solid var(--hairline)}.admin-side a{white-space:nowrap;padding:8px 10px}.page{padding:12px}.login-card{width:auto;margin:0 12px}.form-grid{grid-template-columns:1fr}.facts{grid-template-columns:80px 1fr}.clients-tools{width:100%}.clients-search{flex:1;width:auto;min-width:140px}.clients-tools .seg button,.clients-search{min-height:0}.client-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"who time" "signal signal" "preview preview";gap:3px 10px;padding:10px 12px}.cl-who{grid-area:who;flex-direction:row;align-items:baseline;gap:8px}.cl-time{grid-area:time}.cl-signal{grid-area:signal}.cl-preview{grid-area:preview}.crm-fields{grid-template-columns:80px minmax(0,1fr)}}.embed{height:100%;display:flex;flex-direction:column;background:var(--base)}.embed .pane-thread{flex:1;min-height:0;border-right:none;display:flex}.embed .thread-title .sub{display:flex;flex-wrap:wrap}.embed .composer{position:static}.embed-status{padding:20px 24px}.embed-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;text-align:center}.embed-empty strong{font-size:16px;font-weight:600}.embed-empty .phone{margin-top:-6px}.embed-empty .reason{color:var(--muted);font-size:12px}.thread-head.compact{min-height:44px;padding:6px 10px 6px 12px;flex-wrap:nowrap}.thread-head.compact .thread-title{flex:1 1 auto;overflow:hidden}.thread-head.compact .actions{flex:none}.crm-link{margin-top:0;height:32px;white-space:nowrap}.more-menu{min-width:200px}.more-menu .menu-item{align-items:center}.why-strip{background:var(--surface);border-bottom:1px solid var(--hairline);flex:none}.why-strip>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:6px 12px;font-size:12px;white-space:nowrap;overflow:hidden}.why-strip>summary::-webkit-details-marker{display:none}.why-strip>summary svg{width:14px;height:14px;color:var(--muted);flex:none;transition:transform .12s ease}.why-strip[open]>summary svg{transform:rotate(90deg)}.why-strip>summary strong{overflow:hidden;text-overflow:ellipsis}.why-strip>summary .hot{color:var(--ember);font-weight:500}.why-strip>summary .cb-next{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--muted);font-variant-numeric:tabular-nums}.why-strip>summary .cb-next svg{width:13px;height:13px}.why-strip .why{margin:4px 12px 10px}.switch{width:34px;height:20px;min-height:0;padding:2px;border:none;border-radius:999px;background:var(--bar-idle);justify-content:flex-start;flex:none;transition:background-color .12s ease}.switch:hover{background:var(--bar-idle)}.switch.on,.switch.on:hover{background:var(--accent)}.switch .knob{width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .12s ease}.switch.on .knob{transform:translate(14px)}.is-locked,.is-locked .theme-seg{opacity:.55;cursor:not-allowed}.is-locked button,.is-locked select,.is-locked input,.switch.is-locked{cursor:not-allowed}.is-locked button:hover{background:transparent}.with-lock{position:relative;display:inline-flex;align-items:center}button.icon{position:relative}.lock-mini{position:absolute;right:1px;bottom:1px;width:13px;height:13px;border-radius:4px;background:var(--surface);color:var(--muted);display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px var(--hairline)}.lock-mini svg{width:9px;height:9px}.with-lock .lock-mini{right:2px;bottom:-3px}.lock-mark{display:inline-flex;align-items:center;color:var(--muted);flex:none}.lock-mark svg{width:13px;height:13px}.attn-dot{position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%;background:var(--ember);box-shadow:0 0 0 2px var(--surface)}.menu-item svg{width:15px;height:15px;margin-right:8px;color:var(--muted)}.settings-pop{width:360px;max-height:min(70vh,560px);overflow:auto}.set-row{padding:8px 2px;border-bottom:1px solid var(--hairline-soft)}.set-row:last-child{border-bottom:none}.set-main{display:flex;align-items:center;justify-content:space-between;gap:12px}.set-label{color:var(--ink);font-size:13.5px;flex:1}.set-ctl{display:inline-flex;align-items:center;gap:6px;flex:none}.set-ctl select{width:120px;height:30px}.set-ctl input[type=number]{width:72px;height:30px}.set-row.is-locked .set-ctl select,.set-row.is-locked .set-ctl input{pointer-events:none}.set-row.is-locked{opacity:1;cursor:default}.set-row.is-locked .set-ctl{opacity:.55;cursor:not-allowed}.set-src{display:flex;justify-content:space-between;gap:10px;margin-top:3px}.set-src button.link{font-size:12px}.as-split{display:grid;grid-template-columns:340px minmax(0,1fr);gap:16px;align-items:start}.as-tree{padding:6px}.tree-node{display:flex;align-items:center;gap:2px;width:100%;min-height:32px;border:none;background:transparent;border-radius:8px;padding:0 6px;text-align:left;color:var(--ink)}button.tree-node{justify-content:flex-start}.tree-node:hover{background:var(--base)}.tree-node.active{background:var(--accent-tint)}.tree-node.active .tn-name{color:var(--link);font-weight:500}.tn-toggle{width:22px;height:22px;min-height:0;flex:none;display:inline-flex}.tn-toggle svg{width:14px;height:14px}.tn-pick{flex:1;display:flex;align-items:center;gap:8px;white-space:nowrap;border:none;background:transparent;padding:0 4px;height:32px;text-align:left;justify-content:flex-start;min-width:0}.tn-pick:hover{background:transparent}.tn-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.as-grid th{height:auto;padding-top:8px;padding-bottom:8px}.as-grid td{height:48px}.as-label{max-width:300px}.as-eff{white-space:nowrap}.as-eff .as-src{display:flex;align-items:center;gap:4px}.as-val select{width:150px;height:32px}.as-val input[type=number]{width:84px;height:32px}.as-lockedby{display:inline-flex;align-items:center;gap:6px}.as-lockedby svg{width:14px;height:14px}tr.locked-above td{color:var(--muted)}.as-editor .form-actions{margin-top:0}@media (max-width: 1099px){.as-split{grid-template-columns:1fr}.as-grid{min-width:760px}}@media (max-width: 719px){.settings-pop{width:calc(100vw - 32px)}.switch,.tn-toggle,.tn-pick,.tree-node{min-height:0}.tn-pick{min-height:40px}}.inline-form{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.embed .thread-head.compact{min-height:44px;padding:6px 16px;gap:10px;background:var(--surface);border-bottom:1px solid var(--hairline)}.embed .thread-head.compact>.avatar{width:24px;height:24px;font-size:10px;font-weight:500;flex:none;background:var(--muted-surface);color:var(--muted)}.embed .thread-head.compact .thread-title{flex-direction:row;align-items:center;gap:10px;min-width:0}.embed .thread-head.compact .name{font-size:14px;font-weight:500;line-height:1.35;flex:0 1 auto;min-width:0}.embed .thread-head.compact .sub{font-size:12px;flex-wrap:nowrap}.embed .thread-head.compact .actions{display:flex;align-items:center;gap:10px}.channel-tag{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.channel-tag svg{width:16px;height:16px}.embed .messages{padding:21px 24px 18px;gap:2px}.embed .bubble-wrap{max-width:81%;margin-top:18px}.embed .bubble-wrap.grouped{margin-top:4px}.embed .bubble{font-size:16px;line-height:1.45}.embed .bubble-meta{font-size:12px;line-height:1.5;margin-top:6px;padding:0 12px}.embed .bubble-meta .who:after{content:" \b7"}.embed .bubble-meta .pill+.bubble-time:before,.embed .bubble-meta .carrier+.bubble-time:before{content:"\b7  "}.embed .day-sep{font-size:13px;margin:0 0 8px}.embed .day-sep:before,.embed .day-sep:after{display:none}.embed .composer{padding:10px 24px 16px;background:var(--surface);border-top:1px solid var(--hairline)}.composer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:13px}.composer-head .reply-to{color:var(--ink);font-weight:500}.composer-head .from-btn{height:auto;padding:0;font-size:13px;color:var(--muted);max-width:none}.composer-head .from-btn .lbl{color:var(--muted)}.composer-head .from-btn:hover:not(:disabled){background:transparent;color:var(--ink)}.embed .composer-sheet{background:var(--base);border-color:var(--hairline);border-radius:var(--radius-composer)}.embed .composer textarea{font-size:16px;line-height:1.5;min-height:72px;max-height:220px;padding:16px 18px 6px}.embed .composer-row{padding:8px 10px 10px 12px;border-top:none;gap:14px}.embed .composer-row button.quiet{height:36px;font-size:13px;border-radius:var(--radius-control);gap:7px;padding:0 8px}.embed .composer-row button.quiet svg{width:16px;height:16px}.send-btn{gap:8px}.send-btn svg{width:16px;height:16px}.embed .send-btn{height:38px;font-size:14px;font-weight:500;border-radius:var(--radius-primary);padding:0 18px}@media (max-width: 480px){.embed .thread-head.compact{padding:6px 12px}.embed .messages{padding:14px 12px}.embed .bubble-wrap{max-width:91%}.embed .composer{padding:12px 12px 14px}.embed .composer textarea{min-height:96px}}.embed .embed-status{animation:fade-in .15s ease-out}.embed .pane-thread{animation:rise-in .2s ease-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes rise-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/*# sourceMappingURL=app.css.map */
