@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-ext-wght-normal-DdQaqQDo.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/outfit-latin-wght-normal-Bc-8i84L.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg: #f7f5fc;--surface: #ffffff;--surface-2: #f1eef9;--line: #e7e2f3;--text: #1b1533;--muted: #645d80;--accent: #6c4cf1;--accent-text: #ffffff;--accent-soft: #ece7ff;--bubble-out: #6c4cf1;--bubble-out-text: #ffffff;--bubble-out-meta: #dcd3ff;--lime: #c9f03d;--coral: #ff8266;--lilac: #dcd3ff;--ink: #1b1533;--warn-bg: #fff3d1;--warn-text: #6a4a00;--ok: #1f9d5b;--wait: #d18b00;--off: #a39dbb;--bad: #d63a2f;--shadow: 0 6px 20px rgb(60 40 140 / .08);--shadow-float: 0 10px 30px rgb(60 40 140 / .16);color-scheme:light dark}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #121019;--surface: #1b1826;--surface-2: #262235;--line: #332e48;--text: #f2effc;--muted: #a8a1c6;--accent: #a594ff;--accent-text: #14102b;--accent-soft: #2c2650;--bubble-out: #6c4cf1;--bubble-out-text: #ffffff;--bubble-out-meta: #dcd3ff;--warn-bg: #3a2f10;--warn-text: #f3d68a;--shadow: 0 6px 20px rgb(0 0 0 / .3);--shadow-float: 0 10px 30px rgb(0 0 0 / .5)}}:root[data-theme=dark]{--bg: #121019;--surface: #1b1826;--surface-2: #262235;--line: #332e48;--text: #f2effc;--muted: #a8a1c6;--accent: #a594ff;--accent-text: #14102b;--accent-soft: #2c2650;--bubble-out: #6c4cf1;--bubble-out-text: #ffffff;--bubble-out-meta: #dcd3ff;--warn-bg: #3a2f10;--warn-text: #f3d68a;--shadow: 0 6px 20px rgb(0 0 0 / .3);--shadow-float: 0 10px 30px rgb(0 0 0 / .5);color-scheme:dark}:root[data-theme=light]{color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,p,ul{margin:0;padding:0}ul{list-style:none}.layout{display:grid;grid-template-columns:372px minmax(0,1fr);height:100%}.sidebar{display:flex;flex-direction:column;min-height:0;background:var(--surface);border-right:1px solid var(--line)}.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 16px 10px}.sidebar-head h2{font-size:17px}.sidebar-head select{max-width:170px}.button{padding:7px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.button:hover:not(:disabled){background:var(--surface-2)}.button:disabled{opacity:.5;cursor:default}.button-primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}.button-primary:hover:not(:disabled){background:var(--accent);filter:brightness(1.08)}.banner{margin:0 16px 10px;padding:8px 10px;border-radius:8px;background:var(--warn-bg);color:var(--warn-text);font-size:13px}.hint{color:var(--muted);font-size:13px}.dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--off)}.dot-connected{background:var(--ok)}.dot-needs_scan,.dot-connecting{background:var(--wait)}.dot-error{background:var(--bad)}.chats{flex:1;min-height:0;overflow-y:auto;padding:0 8px 8px}.chat{display:flex;gap:10px;width:100%;padding:10px 8px;border:0;border-radius:10px;background:none;text-align:left}.chat:hover,.chat.is-active{background:var(--surface-2)}.avatar{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface-2);color:var(--muted);font-size:13px;font-weight:700}.chat.is-active .avatar,.chat:hover .avatar{background:var(--line)}.avatar-group{border-radius:12px}.chat-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.chat-top,.chat-bottom{display:flex;align-items:baseline;gap:8px}.chat-name{flex:1;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-time{flex:none;color:var(--muted);font-size:12px}.chat-preview{flex:1;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{flex:none;min-width:20px;padding:0 6px;border-radius:10px;background:var(--accent);color:var(--accent-text);font-size:12px;font-weight:700;text-align:center}.empty-list{padding:24px 12px;color:var(--muted);text-align:center}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.placeholder{flex:1;display:grid;place-items:center;color:var(--muted)}.conversation-head{display:flex;align-items:center;gap:10px;padding:12px 20px;background:var(--surface);border-bottom:1px solid var(--line)}.conversation-head h2{font-size:16px}.conversation-head p{color:var(--muted);font-size:13px}.back{display:none;border:0;background:none;font-size:20px;padding:4px 8px}.messages{flex:1;min-height:0;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:6px}.messages .banner{margin:0 0 8px}.messages .hint{text-align:center;margin:auto}.message-row{display:flex;flex-direction:column}.day{align-self:center;margin:10px 0;padding:2px 10px;border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:12px}.bubble{display:flex;flex-direction:column;max-width:min(560px,78%);padding:8px 12px;border-radius:14px;overflow-wrap:anywhere}.bubble-in{align-self:flex-start;background:var(--surface);border:1px solid var(--line);border-bottom-left-radius:4px}.bubble-out{align-self:flex-end;background:var(--bubble-out);border-bottom-right-radius:4px}.bubble-sender{color:var(--accent);font-size:12px;font-weight:700}.bubble-type{color:var(--muted);font-size:13px;font-style:italic}.bubble-body{white-space:pre-wrap}.bubble-meta{align-self:flex-end;color:var(--muted);font-size:11px;margin-top:2px}.composer{padding:12px 20px 16px;background:var(--surface);border-top:1px solid var(--line)}.composer .banner{margin:0 0 8px}.composer-row{display:flex;gap:8px;align-items:flex-end}.composer textarea{flex:1;min-height:40px;max-height:160px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);resize:vertical}.composer .button{height:40px}.overlay{position:fixed;inset:0;display:grid;place-items:center;padding:16px;background:#00000073}.dialog{width:min(420px,100%);padding:24px;border-radius:14px;background:var(--surface);display:flex;flex-direction:column;gap:12px}.dialog form{display:flex;flex-direction:column;gap:12px}.dialog h2{font-size:18px}.dialog p{color:var(--muted)}.dialog .banner{margin:0}.dialog input{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.qr{display:grid;place-items:center;align-self:center;width:260px;height:260px;border-radius:12px;background:#fff;color:#5d6673}.qr img{width:244px;height:244px}@media(max-width:760px){.layout{grid-template-columns:1fr}.layout.has-chat .sidebar{display:none}.layout:not(.has-chat) .conversation{display:none}.back{display:block}}h3{margin:0;font-size:14px}select{font:inherit;color:inherit;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.button-small{padding:4px 9px;font-size:13px}.link{padding:0;border:0;background:none;color:var(--accent);font-size:13px;text-align:left}.link:hover{text-decoration:underline}.notice{padding:8px 10px;border-radius:8px;background:var(--surface-2);font-size:13px}.chip{flex:none;padding:0 6px;border-radius:6px;background:var(--surface-2);color:var(--muted);font-size:11px;font-weight:600;line-height:18px}.chat.is-active .chip,.chat:hover .chip{background:var(--line)}.chip-person{border-radius:9px}.check{display:flex;align-items:center;gap:6px;font-size:13px}.auth{min-height:100%;display:grid;place-items:center;padding:16px}.auth .dialog{border:1px solid var(--line)}.dialog label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:600}.dialog label input{font-weight:400;font-size:15px}.dialog-wide{width:min(640px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.scopes{display:flex;gap:4px;padding:0 16px 8px;overflow-x:auto}.scopes button{flex:none;padding:4px 9px;border:1px solid transparent;border-radius:14px;background:none;color:var(--muted);font-size:13px}.scopes button:hover{background:var(--surface-2)}.scopes button.is-active{border-color:var(--line);background:var(--surface-2);color:var(--text);font-weight:600}.scope-count{font-weight:400;font-variant-numeric:tabular-nums}.avatar-small{width:30px;height:30px;font-size:11px}.me{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}.me strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.me span{color:var(--muted);font-size:12px}.conversation-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 320px}.thread{display:flex;flex-direction:column;min-width:0;min-height:0}.thread>.banner{margin:8px 20px 0}.conversation-title{flex:1;min-width:0}.conversation-title h2,.conversation-title p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.assign{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:13px}.assign select{max-width:160px;color:var(--text)}.details-toggle{display:none}.details{min-height:0;overflow-y:auto;background:var(--surface);border-left:1px solid var(--line)}.panel{display:flex;flex-direction:column;gap:8px;padding:16px;border-bottom:1px solid var(--line)}.panel .banner{margin:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.item-form{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px}.item-form input,.note-form textarea,.team-add input{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);min-width:0}.item-form-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.segmented{display:inline-flex;align-self:flex-start;border:1px solid var(--line);border-radius:8px;overflow:hidden}.segmented button{padding:4px 12px;border:0;background:none;font-size:13px}.segmented button.is-active{background:var(--accent);color:var(--accent-text);font-weight:600}.items{display:flex;flex-direction:column;gap:2px}.items-scroll{max-height:50vh;overflow-y:auto}.item{display:flex;align-items:flex-start;gap:8px;padding:6px 0}.item input[type=checkbox]{margin-top:3px;width:16px;height:16px;accent-color:var(--accent)}.item-main{min-width:0;display:flex;flex-direction:column;gap:2px}.item-title{overflow-wrap:anywhere}.item.is-done .item-title{color:var(--muted);text-decoration:line-through}.item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;color:var(--muted);font-size:12px}.tag{padding:0 6px;border-radius:6px;background:var(--surface-2);font-weight:600}.tag-ticket{color:var(--accent)}.overdue{color:var(--bad);font-weight:600}.notes{display:flex;flex-direction:column;gap:8px}.note{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:var(--warn-bg);color:var(--warn-text)}.note-body{white-space:pre-wrap;overflow-wrap:anywhere}.note-meta{font-size:11px;opacity:.8}.note-form{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.note-form textarea{width:100%;resize:vertical}.team{display:flex;flex-direction:column}.team li{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.team-who{flex:1;min-width:160px;display:flex;flex-direction:column}.team-who span{color:var(--muted);font-size:13px;overflow-wrap:anywhere}.team .is-inactive .team-who{opacity:.6}.team-add{margin-top:4px}.team-add-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}@media(max-width:1100px){.conversation-body{grid-template-columns:minmax(0,1fr)}.details-toggle{display:block}.details{display:none;border-left:0}.conversation-body.show-details .details{display:block}.conversation-body.show-details .messages,.conversation-body.show-details .composer{display:none}.conversation-body.show-details{grid-template-rows:auto minmax(0,1fr)}}@media(max-width:760px){.assign span{display:none}.team-add-row,.item-form-row{grid-template-columns:1fr}}@media(max-width:760px){.assign select{max-width:118px}}.media-image{display:block;margin:-2px -6px 4px}.media-image img{display:block;max-width:100%;width:280px;min-height:120px;max-height:340px;object-fit:cover;border-radius:10px;background:var(--surface-2)}.media-sticker img{width:140px;min-height:0;object-fit:contain;background:none}.bubble audio{width:260px;max-width:100%;height:40px}.bubble video{width:280px;max-width:100%;max-height:340px;border-radius:10px;background:#000}.media-file{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:var(--surface-2);color:var(--text);text-decoration:none;overflow-wrap:anywhere}.media-file:hover{text-decoration:underline}.attach{width:40px;padding:0;font-size:20px;line-height:1}.attachment{display:flex;align-items:baseline;gap:8px;margin-bottom:8px;padding:6px 10px;border-radius:8px;background:var(--surface-2);font-size:13px}.attachment-name{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app{display:grid;grid-template-columns:236px minmax(0,1fr);height:100%}.app.nav-collapsed{grid-template-columns:68px minmax(0,1fr)}.main{display:flex;flex-direction:column;min-width:0;min-height:0}.view{flex:1;min-height:0}.nav{display:flex;flex-direction:column;gap:6px;min-height:0;padding:12px 10px;background:var(--surface);border-right:1px solid var(--line);overflow-y:auto}.nav-brand{display:flex;align-items:center;gap:10px;padding:6px 8px 14px}.brand-mark{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--accent);color:var(--accent-text);font-size:12px;font-weight:700}.brand-text{min-width:0;display:flex;flex-direction:column;line-height:1.25}.brand-text span{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-list{display:flex;flex-direction:column;gap:2px}.nav-foot{margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:9px 10px;border:0;border-radius:9px;background:none;color:var(--muted);font-weight:600;text-align:left}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.is-active{background:var(--bubble-out);color:var(--accent)}.nav-item svg{flex:none}.nav-item .badge{margin-left:auto}.nav-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-me{display:flex;align-items:center;gap:10px;padding:8px 8px 8px 10px}.nav-collapsed .nav-text{display:none}.nav-collapsed .nav-item{justify-content:center;padding:9px 0;position:relative}.nav-collapsed .nav-item .badge{position:absolute;top:2px;right:6px;margin:0;min-width:16px;padding:0 4px;font-size:10px}.nav-collapsed .nav-brand,.nav-collapsed .nav-me{justify-content:center;padding-left:0;padding-right:0}.topbar{display:flex;align-items:center;gap:12px;padding:10px 20px;background:var(--surface);border-bottom:1px solid var(--line)}.topbar h1{font-size:15px;white-space:nowrap;min-width:150px}.topbar-search{flex:1;max-width:520px;display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--muted)}.topbar-search:focus-within{outline:2px solid var(--accent);outline-offset:1px}.topbar-search input{flex:1;min-width:0;padding:8px 0;border:0;background:none;color:var(--text);outline:none}.topbar-phones{display:inline-flex;align-items:center;gap:8px;margin-left:auto;white-space:nowrap}.banner-bar{margin:0;border-radius:0}.page{height:100%;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:16px}.page>*{width:100%;max-width:1100px;margin-inline:auto;flex:none}.page-head h2{font-size:22px}.page-head-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}.page-head-row h2{margin-right:auto}.page .banner{margin-top:0;margin-bottom:0}.cards{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:16px}@media(max-width:1080px){.cards{grid-template-columns:minmax(0,1fr)}}.card{display:flex;flex-direction:column;gap:12px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.card h3{color:var(--muted);font-size:13px;font-weight:600}.card-line{font-size:20px;font-weight:700}.stats{display:flex;flex-wrap:wrap;gap:4px 8px}.stat{flex:1;min-width:86px;display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:0;border-radius:10px;background:none;text-align:left}.stat:hover{background:var(--surface-2)}.stat-label{color:var(--muted);font-size:13px}.stat-value{font-size:26px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.15}.avatars{display:flex;flex-wrap:wrap;gap:6px}.phones{display:flex;flex-direction:column}.phone{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.phone:first-child{border-top:0}.phone-main{flex:1;min-width:140px;display:flex;flex-direction:column;line-height:1.3}.phone-main span{color:var(--muted);font-size:13px}.phone-status{display:inline-flex;align-items:center;gap:6px;font-size:13px}.team li .avatar{flex:none}.chat-main{gap:3px}.chat-top{align-items:center}.chat-preview{display:block;flex:none}.chat-bottom{align-items:center;gap:6px;margin-top:2px}.chat-time{margin-left:auto}.chip-number{font-weight:500;font-variant-numeric:tabular-nums}.placeholder p{padding:8px 14px}.composer{padding-top:0}.composer-tabs{display:flex;gap:2px;margin:0 0 10px}.composer-tabs button{padding:7px 12px;border:0;border-top:2px solid transparent;background:none;color:var(--muted);font-size:13px;font-weight:600}.composer-tabs button.is-active{border-top-color:var(--accent);color:var(--accent)}.composer-tabs button.is-note{border-top-color:var(--wait);color:var(--warn-text)}.composer-note{background:var(--warn-bg)}.composer-note textarea{background:var(--surface)}@media(max-width:760px){.app,.app.nav-collapsed{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.nav{order:2;flex-direction:row;align-items:center;gap:0;padding:4px 6px;border-right:0;border-top:1px solid var(--line);overflow:visible}.nav-brand,.nav-me,.nav-collapse,.nav .nav-text{display:none}.nav-list{flex-direction:row;flex:1;gap:0}.nav-foot{flex:none;margin:0;padding:0;border:0}.nav-item{justify-content:center;padding:10px 12px;position:relative}.nav-list:not(.nav-foot) .nav-item{flex:1}.nav-list:not(.nav-foot) li{flex:1}.nav-item .badge{position:absolute;top:2px;right:22%;margin:0}.app.chat-open .nav,.app.chat-open .topbar{display:none}.topbar{padding:8px 12px}.topbar h1,.topbar-phones{display:none}.page{padding:16px}}.sidebar-filters{display:flex;gap:6px;min-width:0}.sidebar-filters select{max-width:130px;padding:4px 6px;font-size:13px}.chat-mark{flex:none;display:inline-flex;color:var(--muted)}.chat-mark-flag{color:var(--bad)}.chat-bottom{flex-wrap:wrap}.label{color:var(--label-fg);background:var(--label-bg)}.label-gray{--label-bg: #e6e8ec;--label-fg: #3b424d}.label-red{--label-bg: #fde0dc;--label-fg: #9c1f14}.label-orange{--label-bg: #ffe4cc;--label-fg: #8a3f00}.label-yellow{--label-bg: #fff1b8;--label-fg: #6b5000}.label-green{--label-bg: #d5f2de;--label-fg: #16683c}.label-teal{--label-bg: #cdf0ee;--label-fg: #0d5f5b}.label-blue{--label-bg: #dbe6ff;--label-fg: #1f43a8}.label-purple{--label-bg: #e9defd;--label-fg: #5a2ca0}.label-pink{--label-bg: #fcdcec;--label-fg: #97245f}.chat.is-active .label,.chat:hover .label{background:var(--label-bg)}.label-row{display:flex;flex-wrap:wrap;gap:6px}.label-list{display:flex;flex-direction:column;gap:6px}.label-list li{display:flex;align-items:center;justify-content:space-between;gap:8px}.label-form{display:flex;gap:6px}.label-form input{flex:1;min-width:0;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.label-form select{padding:4px 6px;font-size:13px}.icon-button{flex:none;display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--muted)}.icon-button:hover{background:var(--surface-2);color:var(--text)}.icon-button.is-on{color:var(--accent);border-color:var(--accent)}.bubble{position:relative}.bubble-flag{position:absolute;top:4px;display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--muted);opacity:0}.bubble-in .bubble-flag{right:-34px}.bubble-out .bubble-flag{left:-34px}.bubble.is-flagged .bubble-flag{color:var(--bad);border-color:var(--bad)}.bubble.is-flagged{box-shadow:inset 3px 0 0 var(--bad)}.flagged{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:10px;background:var(--surface-2);box-shadow:inset 3px 0 0 var(--bad)}@media(hover:none){.bubble-flag{opacity:.6}}@media(max-width:760px){.nav{padding-bottom:calc(4px + env(safe-area-inset-bottom))}.composer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.topbar{padding-top:calc(8px + env(safe-area-inset-top))}.conversation-head{padding-top:calc(12px + env(safe-area-inset-top))}}.nav-groups{display:flex;flex-direction:column}.nav-group+.nav-group{margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}.table{width:100%;border-collapse:collapse;font-size:14px}.table th{padding:6px 10px 8px 0;color:var(--muted);font-size:12px;font-weight:600;text-align:left}.table td{padding:9px 10px 9px 0;border-top:1px solid var(--line);vertical-align:middle;overflow-wrap:break-word}.table tr:first-child td{border-top:0}.table thead+tbody tr:first-child td{border-top:1px solid var(--line)}.nowrap{white-space:nowrap}.card{overflow-x:auto}.field{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font:inherit;color:inherit;min-width:0}textarea.field{resize:vertical}.stack{display:flex;flex-direction:column;gap:12px}.stack label,.form-row label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:13px;font-weight:600}.stack label>*,.form-row label>*{font-weight:400;font-size:15px;color:var(--text)}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}a.button{display:inline-block;text-decoration:none;color:inherit}.cards-even{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.legend{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.swatch{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:8px}.swatch-in,.bar-in{background:var(--accent)}.swatch-out,.bar-out{background:var(--ok)}.bars{display:flex;align-items:flex-end;gap:6px;height:200px;overflow-x:auto;padding-top:8px}.bar-day{flex:1;min-width:22px;max-width:48px;height:100%;display:flex;flex-direction:column;align-items:center;gap:4px}.bar-pair{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:2px;border-bottom:1px solid var(--line)}.bar{width:45%;min-height:1px;border-radius:3px 3px 0 0}.bar-label{color:var(--muted);font-size:10px;white-space:nowrap}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.gallery-item{position:relative;aspect-ratio:1;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface-2)}.gallery-item img{width:100%;height:100%;object-fit:cover;display:block}.gallery-item span{position:absolute;inset:auto 0 0;padding:14px 8px 6px;background:linear-gradient(transparent,#000000a6);color:#fff;font-size:12px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gallery-item.is-missing{display:none}progress{width:100%;max-width:320px;height:6px;margin-top:4px;accent-color:var(--accent)}.avatar-inline{display:inline-grid;vertical-align:middle}.page-head .banner{margin:8px 0 0}@media(max-width:760px){.nav{overflow-x:auto}.nav-groups{flex-direction:row;flex:1}.nav-group+.nav-group{margin:0;padding:0;border:0}.nav-groups .nav-list{flex:none}.nav-groups .nav-item{padding:10px 14px}.nav-groups .nav-list li,.nav-list:not(.nav-foot) .nav-item{flex:none}.nav-item .badge{right:4px}}.bubble.is-pending{opacity:.7}.bubble.is-failed{opacity:1;box-shadow:inset -3px 0 0 var(--bad)}.older{align-self:center;margin:4px 0 8px}@media(max-width:760px){.conversation-head{flex-wrap:wrap;row-gap:8px;padding-left:12px;padding-right:12px}.conversation-title{flex-basis:calc(100% - 120px)}.conversation-head .assign,.conversation-head .details-toggle{flex:1 1 40%}.conversation-head .assign select{max-width:none;width:100%}}.banner-ask{display:flex;align-items:center;justify-content:space-between;gap:12px}.banner-ask .button{flex:none}body{font:15px/1.5 Outfit Variable,system-ui,-apple-system,Segoe UI,sans-serif}h1,h2,h3,strong,.chat-name{letter-spacing:-.01em}:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:10px}button{-webkit-tap-highlight-color:transparent}button,.chat,.tile,.nav-item,.card{transition:background-color .15s ease,transform .12s ease,box-shadow .15s ease}button:active:not(:disabled){transform:scale(.97)}@media(prefers-reduced-motion:reduce){*{transition:none!important}button:active:not(:disabled){transform:none}}.button{min-height:40px;padding:8px 16px;border-radius:999px;font-weight:600}.button-small{min-height:34px;padding:5px 14px}.button-primary{box-shadow:0 4px 12px #6c4cf14d}.icon-button{width:40px;height:40px;border-radius:14px;background:var(--surface-2);border-color:transparent}.icon-button.is-on{background:var(--accent-soft);border-color:transparent}select,.field,.dialog input,.item-form input,.note-form textarea,.team-add input,.label-form input{border-radius:14px;background:var(--surface-2);border-color:transparent;min-height:40px}select{padding:6px 12px}.link{font-weight:600;font-size:14px}.chip{padding:1px 9px;border-radius:999px;font-size:12px;line-height:20px}.badge{min-width:24px;padding:0 7px;border-radius:999px;line-height:24px}.banner{border-radius:14px}.banner-bar{border-radius:0}.notice{border-radius:14px}.hint{font-size:14px}.avatar{width:46px;height:46px;font-size:15px;color:var(--ink)}.avatar-small{width:32px;height:32px;font-size:12px}.avatar-group{border-radius:16px}.avatar-phone{background:var(--lime);border-radius:16px}.tone-0{background:#dcd3ff}.tone-1{background:#c9f03d}.tone-2{background:#ffc9bb}.tone-3{background:#bfe8ff}.tone-4{background:#ffe08a}.tone-5{background:#ffc8e6}.chat:hover .avatar.tone-0,.chat.is-active .avatar.tone-0{background:#dcd3ff}.chat:hover .avatar.tone-1,.chat.is-active .avatar.tone-1{background:#c9f03d}.chat:hover .avatar.tone-2,.chat.is-active .avatar.tone-2{background:#ffc9bb}.chat:hover .avatar.tone-3,.chat.is-active .avatar.tone-3{background:#bfe8ff}.chat:hover .avatar.tone-4,.chat.is-active .avatar.tone-4{background:#ffe08a}.chat:hover .avatar.tone-5,.chat.is-active .avatar.tone-5{background:#ffc8e6}.nav{gap:10px;padding:16px 12px;border-right:0;background:var(--surface)}.nav-brand{gap:10px;padding:4px 8px 12px}.brand-text strong{font-size:21px;font-weight:700}.nav-item{min-height:44px;padding:10px 12px;border-radius:14px;font-weight:600}.nav-item.is-active{background:var(--accent);color:var(--accent-text);box-shadow:0 4px 12px #6c4cf14d}.nav-item.is-active .badge{background:var(--lime);color:var(--ink)}.nav-group+.nav-group,.nav-foot{border-top-color:transparent}.nav-more,.sheet-backdrop,.sheet{display:none}.topbar{padding:14px 24px;background:var(--bg);border-bottom:0}.topbar h1{font-size:22px;font-weight:700}.topbar-search{border-radius:999px;border-color:transparent;background:var(--surface);box-shadow:var(--shadow);min-height:44px;padding:0 16px}.page{gap:18px}.page-head h2{font-size:28px;font-weight:700}.card{border:0;border-radius:24px;padding:20px;box-shadow:var(--shadow)}.card h3{font-size:14px}.stat{border-radius:16px;min-height:44px}.stat-value{font-size:28px}.hello{display:flex;align-items:center;justify-content:space-between;gap:16px}.hello h2{font-size:34px;line-height:1.15}.hello .hint{max-width:320px;font-size:16px}.hello svg{flex:none;transform:rotate(8deg)}.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.tile{display:flex;flex-direction:column;justify-content:space-between;gap:18px;min-height:132px;padding:18px;border:0;border-radius:24px;text-align:left;color:var(--ink);box-shadow:var(--shadow)}.tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-float)}.tile-label{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600}.tile-value{font-size:44px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.tile-violet{background:#6c4cf1;color:#fff}.tile-lime{background:var(--lime)}.tile-coral{background:var(--coral)}.tile-lilac{background:var(--lilac)}.phone{border-top-color:var(--line)}.phone-main strong{font-size:17px}.sidebar{border-right:0;background:var(--surface);border-radius:24px 24px 0 0}.sidebar-head h2{font-size:22px;font-weight:700}.scopes{gap:8px;padding:2px 16px 12px}.scopes button{min-height:36px;padding:6px 14px;border-radius:999px;background:var(--surface-2);color:var(--text);font-size:14px;font-weight:600}.scopes button.is-active{background:var(--accent);border-color:transparent;color:var(--accent-text)}.scope-count{opacity:.85}.chats{padding:0 10px 10px}.chat{gap:12px;padding:12px 10px;border-radius:18px}.chat:hover{background:var(--surface-2)}.chat.is-active{background:var(--accent-soft)}.chat-name{font-size:16px;font-weight:700}.chat-preview{font-size:14px}.chat.is-active .chip:not(.label),.chat:hover .chip:not(.label){background:var(--surface)}.label-gray{--label-bg: #e9e6f2;--label-fg: #3d3757}.label-green{--label-bg: #c9f03d;--label-fg: #2c3a00}.label-red,.label-orange{--label-bg: #ffc9bb;--label-fg: #8a2413}.label-purple,.label-blue{--label-bg: #dcd3ff;--label-fg: #3a2599}.conversation-head{gap:12px;padding:14px 20px;border-bottom:0;box-shadow:0 1px 0 var(--line)}.conversation-head h2{font-size:18px;font-weight:700}.conversation-head .avatar{width:44px;height:44px}.back{width:44px;height:44px;border-radius:14px;font-size:22px}.messages{gap:8px;padding:18px 20px;background:var(--bg)}.day{padding:3px 12px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:600}.bubble{padding:10px 14px;border-radius:20px;font-size:15px}.bubble-in{border:0;background:var(--surface);border-bottom-left-radius:6px;box-shadow:var(--shadow)}.bubble-out{background:var(--bubble-out);color:var(--bubble-out-text);border-bottom-right-radius:6px}.bubble-out .bubble-meta,.bubble-out .bubble-type{color:var(--bubble-out-meta)}.bubble-out .link{color:#fff;text-decoration:underline}.bubble-out .media-file{background:#ffffff2e;color:#fff}.bubble.is-failed{background:var(--surface);color:var(--text);box-shadow:inset 0 0 0 2px var(--bad)}.bubble.is-failed .bubble-meta{color:var(--bad)}.bubble.is-failed .link{color:var(--accent)}.media-image img,.bubble video{border-radius:14px}.bubble-flag{width:30px;height:30px}.bubble-in .bubble-flag{right:-38px}.bubble-out .bubble-flag{left:-38px}.composer{padding:10px 16px 14px;border-top:0;box-shadow:0 -1px 0 var(--line)}.composer-tabs{gap:8px;margin:0 0 10px}.composer-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 14px;border:2px solid transparent;border-radius:999px;background:var(--surface-2);font-size:14px}.composer-tabs button.is-active{border-color:var(--accent);background:var(--surface);color:var(--accent)}.composer-tabs button.is-note{border-color:var(--wait);color:var(--warn-text)}.composer-row{align-items:center}.composer textarea{min-height:46px;padding:11px 18px;border-color:transparent;border-radius:23px;background:var(--surface-2);resize:none}.composer .button{height:46px}.composer .attach{width:46px;padding:0;display:grid;place-items:center;border-color:transparent;background:var(--surface-2);color:var(--muted)}.composer .send{width:46px;padding:0;display:grid;place-items:center}.composer .send .send-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.details{border-left:0;background:var(--bg);padding:12px}.details .panel+.panel{margin-top:12px}.panel{border:0;border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}.panel h3{font-size:16px}.note,.item-form{border-radius:16px}.segmented{border-radius:999px}.dialog{border-radius:26px;padding:28px;box-shadow:var(--shadow-float)}.dialog h2{font-size:24px}.auth{background:radial-gradient(circle at 15% 10%,var(--accent-soft),transparent 45%),radial-gradient(circle at 90% 95%,color-mix(in srgb,var(--lime) 35%,transparent),transparent 40%),var(--bg)}.auth .dialog{border:0}.auth-brand{display:flex;align-items:center;gap:10px;color:var(--text)!important;font-size:24px}.banner-ask{padding:10px 16px}@media(max-width:1080px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.topbar{padding-left:16px;padding-right:16px}.hello h2{font-size:30px}.hello svg{width:60px;height:60px}.tile{min-height:118px;padding:16px}.tile-value{font-size:40px}.sidebar{border-radius:0;background:var(--bg)}.chat{background:var(--surface);margin-bottom:8px;box-shadow:var(--shadow)}.messages{padding:14px 12px}.app,.app.nav-collapsed{grid-template-rows:minmax(0,1fr) auto}.nav{order:2;flex-direction:row;align-items:stretch;gap:2px;overflow:visible;margin:0 12px calc(10px + env(safe-area-inset-bottom));padding:6px;border:0;border-radius:26px;background:var(--surface);box-shadow:var(--shadow-float)}.nav-groups,.nav-groups .nav-list{display:contents}.nav .nav-groups .nav-list li.nav-tab{flex:1;display:block}.layout{grid-template-columns:minmax(0,1fr)}.sidebar{min-width:0}.app.chat-open .banner-ask,.nav-extra,.nav-foot{display:none}.nav .nav-text{display:block;font-size:12px;font-weight:600}.nav-item,.nav-groups .nav-item{flex-direction:column;justify-content:center;gap:2px;width:100%;min-height:56px;padding:6px 4px;border-radius:20px}.nav-more{display:flex;flex:1}.nav-item .badge{position:absolute;top:4px;right:calc(50% - 26px);min-width:20px;line-height:20px;font-size:11px}.sheet-backdrop{display:block;position:fixed;inset:0;z-index:5;border:0;background:#140c3266}.sheet{position:fixed;z-index:6;left:12px;right:12px;bottom:calc(86px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:26px;background:var(--surface);box-shadow:var(--shadow-float)}.sheet-me{display:flex;align-items:center;gap:10px}.sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sheet-grid .nav-item{min-height:72px;background:var(--surface-2)}.sheet-grid .nav-item.is-active{background:var(--accent)}.sheet-actions{display:flex;gap:8px}.sheet-actions .button{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}.nav{position:relative;z-index:7}}@media(min-width:761px){.app{background:var(--surface)}.main{background:var(--bg);border-radius:28px 0 0 28px;overflow:hidden}.layout{gap:0;padding:0 0 0 12px}}.avatar{position:relative;overflow:hidden}.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.bubble-meta{display:inline-flex;align-items:center;gap:4px}.ticks{display:inline-flex;align-items:center}.ticks-read{color:var(--lime)}.ticks-failed{color:#ffd7d0;font-weight:600}.conversation-who{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:4px 8px 4px 4px;border:0;border-radius:18px;background:none;text-align:left}.conversation-who:hover{background:var(--surface-2)}.conversation-who .conversation-title{display:block}.conversation-who h2,.conversation-who p{margin:0}.profile-overlay{display:flex;justify-content:flex-end;padding:0;z-index:20}.profile{width:min(420px,100%);height:100%;min-height:0;display:flex;flex-direction:column;background:var(--bg);box-shadow:var(--shadow-float)}.profile-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;padding-top:calc(12px + env(safe-area-inset-top));background:var(--surface);font-size:17px}.profile-close{display:grid;place-items:center;background:var(--surface-2)}.profile-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 12px calc(16px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px}.profile-hero{display:flex;flex-direction:column;align-items:center;gap:4px;margin:0 -12px;padding:20px 16px 22px;background:var(--surface);border-radius:0 0 28px 28px;text-align:center}.profile-photo{padding:0;border:0;border-radius:50%;background:none;margin-bottom:8px}.profile-photo:disabled{cursor:default}.profile-photo .avatar{width:128px;height:128px;font-size:44px}.profile-hero h2{font-size:24px;font-weight:700;overflow-wrap:anywhere}.profile-phone{font-size:17px;color:var(--muted);font-variant-numeric:tabular-nums}.profile-actions{display:flex;gap:8px;margin-top:12px}.profile-actions .button{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:inherit}.profile-loading{text-align:center}.profile .banner{margin:0}.profile-text{white-space:pre-wrap;overflow-wrap:anywhere}.facts{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0}.facts dt{color:var(--muted);font-size:14px}.facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.profile-media{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.profile-media .gallery-item{display:grid;place-items:center;border:0;border-radius:12px}.profile-media .gallery-item span{position:static;padding:0;background:none;color:var(--muted)}.members{display:flex;flex-direction:column}.members li{display:flex;align-items:center;gap:10px;padding:8px 0}.member-main{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.member-main span{color:var(--muted);font-size:13px}.photo-full{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:16px;border:0;background:#0a061eeb}.photo-full img{max-width:100%;max-height:100%;border-radius:16px}@media(max-width:760px){.profile{width:100%}.conversation-who{flex-basis:calc(100% - 120px)}}.chip-also{background:var(--coral);color:var(--ink);font-weight:700}.chat.is-active .chip.chip-also,.chat:hover .chip.chip-also{background:var(--coral)}.also-bar{margin:8px 16px 0;padding:8px 14px;border:0;border-radius:14px;background:var(--accent-soft);color:var(--accent);font-weight:600;font-size:14px;text-align:left}.others{display:flex;flex-direction:column;gap:8px}.other{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:0;border-radius:16px;background:var(--surface-2);text-align:left}.other:hover{background:var(--accent-soft)}.other-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.other-main span{color:var(--muted);font-size:13px}.other-open{flex:none;color:var(--accent);font-weight:700}.chip-top{display:inline-flex;align-items:center;gap:4px;margin-left:6px;background:var(--lime);color:var(--ink);font-weight:700;vertical-align:middle}.top-line{display:flex;flex-wrap:wrap;align-items:center;gap:4px}.top-line .chip-top{margin-left:0}.podium{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.podium-card{align-items:flex-start;gap:6px;position:relative}.podium-1{background:#6c4cf1;color:#fff}.podium-1 .hint{color:#dcd3ff}.podium-place{font-weight:700;font-size:14px;opacity:.85}.podium-name{font-size:20px;line-height:1.25}.podium-score{font-size:44px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.podium-score small{font-size:16px;font-weight:600;opacity:.75}.score-bar{width:96px;height:6px;margin-top:4px;border-radius:3px;background:var(--surface-2);overflow:hidden}.score-bar span{display:block;height:100%;border-radius:3px;background:var(--accent)}.rules-list{display:flex;flex-direction:column;gap:6px;padding-left:18px;list-style:disc}.profile-scroll>*{flex:none}.media-image,.media-video{position:relative;display:block;padding:0;border:0;background:none;cursor:zoom-in}.media-image{margin:-2px -6px 4px}.media-sticker{cursor:default}.media-video video{display:block;width:280px;max-width:100%;max-height:340px;border-radius:14px;background:#000;pointer-events:none}.media-play{position:absolute;inset:0;margin:auto;display:grid;place-items:center;width:56px;height:56px;padding-left:4px;border-radius:50%;background:#140c3299;color:#fff;font-size:22px}.viewer{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;background:#0c0a14;color:#fff}.viewer-bar{display:flex;align-items:center;gap:10px;padding:10px 12px;padding-top:calc(10px + env(safe-area-inset-top))}.viewer-button{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:14px;background:#ffffff1f;color:#fff;font-size:22px;text-decoration:none}.viewer-title{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.viewer-title strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer-title span,.viewer-count{color:#ffffffb3;font-size:13px}.viewer-stage{position:relative;flex:1;min-height:0;display:grid;place-items:center;padding:8px;overflow:hidden;touch-action:none}.viewer-stage img{will-change:transform;-webkit-user-select:none;user-select:none}.viewer-stage img,.viewer-stage video{max-width:100%;max-height:100%;min-height:0;object-fit:contain;border-radius:8px}.viewer-stage video{width:100%;height:100%}.viewer-step{position:absolute;top:50%;display:grid;place-items:center;width:44px;height:44px;margin-top:-22px;border:0;border-radius:50%;background:#ffffff24;color:#fff}.viewer-previous{left:12px}.viewer-next{right:12px;transform:scaleX(-1)}.viewer-caption{padding:12px 16px calc(14px + env(safe-area-inset-bottom));text-align:center;overflow-wrap:anywhere}.viewer-missing{color:#ffffffbf}@media(hover:none){.viewer-step{display:none}}html,body{overscroll-behavior:none}.chats,.messages,.page,.details{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.nav,.scopes,.composer-tabs,.button,.tile,.chip,.badge,.avatar{-webkit-user-select:none;user-select:none}.scopes{scrollbar-width:none}.scopes::-webkit-scrollbar{display:none}.composer textarea{overflow-y:auto;line-height:1.4}.banner-ask .link{flex:none;color:var(--warn-text);text-decoration:underline}@keyframes bone{0%{opacity:.55}50%{opacity:1}to{opacity:.55}}.bone{display:block;border-radius:10px;background:var(--surface-2);animation:bone 1.2s ease-in-out infinite}.bone-name{width:45%;height:14px}.bone-line{width:75%;height:12px;margin-top:8px}.bone-bubble{height:44px;border-radius:20px;align-self:flex-start;flex:none}.bone-out{align-self:flex-end;background:var(--accent-soft)}.chat-skeleton .avatar{background:var(--surface-2);animation:bone 1.2s ease-in-out infinite}.chat-skeleton{pointer-events:none}@media(prefers-reduced-motion:reduce){.bone,.chat-skeleton .avatar{animation:none}}.bubble-flag{opacity:0}.bubble:hover .bubble-flag,.bubble-flag:focus-visible,.bubble.is-flagged .bubble-flag{opacity:1}@media(hover:none){.bubble-flag{opacity:.7}}.bubble.is-gone{font-style:italic;opacity:.75}.message-row.is-found .bubble{outline:3px solid var(--lime);outline-offset:2px}.quote{display:block;width:100%;margin-bottom:6px;padding:6px 10px;border:0;border-left:4px solid var(--accent);border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:13px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}.quote:disabled{cursor:default}.bubble-out .quote{border-left-color:var(--lime);background:#ffffff29;color:#efeaff}.reactions{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 -18px;position:relative;z-index:1}.reaction{padding:1px 8px;border:2px solid var(--bg);border-radius:999px;background:var(--surface);color:var(--text);font-size:14px;line-height:22px;box-shadow:var(--shadow)}.message-row:has(.reactions){margin-bottom:14px}.sheet-overlay{place-items:end center;padding:12px;z-index:30}.action-sheet{width:min(420px,100%);display:flex;flex-direction:column;gap:4px;padding:14px;padding-bottom:calc(14px + env(safe-area-inset-bottom));border-radius:26px;background:var(--surface);box-shadow:var(--shadow-float)}@media(min-width:761px){.sheet-overlay{place-items:center}}.action-quote{padding:8px 12px;border-radius:14px;background:var(--surface-2);color:var(--muted);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reaction-row{display:flex;justify-content:space-between;gap:4px;padding:6px 0}.reaction-row button{flex:1;min-height:48px;border:0;border-radius:16px;background:var(--surface-2);font-size:24px}.reaction-row button.is-active{background:var(--accent-soft);box-shadow:inset 0 0 0 2px var(--accent)}.action{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;border:0;border-radius:14px;background:none;font-weight:600;text-align:left}.action:hover{background:var(--surface-2)}.action-danger,.button-danger{color:var(--bad)}.button-danger{border-color:var(--bad)}.forward{max-height:calc(100vh - 32px)}.forward-list{display:flex;flex-direction:column;gap:2px;min-height:120px;max-height:40vh;overflow-y:auto}.forward-row{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 8px;border:0;border-radius:14px;background:none;text-align:left}.forward-row:hover,.forward-row.is-on{background:var(--accent-soft)}.forward-name{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forward-check{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:2px solid var(--line);color:#fff;font-size:14px}.forward-row.is-on .forward-check{background:var(--accent);border-color:var(--accent)}.replying{display:flex;align-items:center;gap:10px;margin-bottom:8px;padding:8px 12px;border-left:4px solid var(--accent);border-radius:12px;background:var(--surface-2);font-size:13px}.replying-text{flex:1;min-width:0;display:flex;flex-direction:column;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted)}.replying-text strong{color:var(--accent)}.replying .link{font-size:18px;min-width:32px;min-height:32px;text-align:center}.recorder{display:flex;align-items:center;gap:10px}.recorder-state{flex:1;display:inline-flex;align-items:center;gap:8px;font-weight:600;font-variant-numeric:tabular-nums}.recorder-dot{width:12px;height:12px;border-radius:50%;background:var(--bad);animation:bone 1s ease-in-out infinite}.recorder-error{flex:1;color:var(--bad);font-size:13px}.conversation-title p.is-live{color:var(--ok);font-weight:600}.chat-search{background:var(--surface);box-shadow:0 1px 0 var(--line)}.chat-search-bar{display:flex;align-items:center;gap:8px;padding:8px 16px;color:var(--muted)}.chat-search-bar input{flex:1;min-width:0;min-height:40px;padding:0 14px;border:0;border-radius:999px;background:var(--surface-2);color:var(--text)}.chat-search-results{max-height:40vh;overflow-y:auto;padding:0 8px 8px}.chat-search-results .hint{padding:8px}.chat-search-results button{display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;border:0;border-radius:12px;background:none;text-align:left}.chat-search-results button:hover{background:var(--surface-2)}.chat-search-when{color:var(--muted);font-size:12px}.chat-search-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.jump-latest{position:sticky;bottom:8px;align-self:center;flex:none}.toast{position:fixed;z-index:50;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translate(-50%);padding:10px 18px;border-radius:999px;background:var(--ink);color:#fff;font-weight:600;box-shadow:var(--shadow-float);max-width:calc(100% - 32px)}.new-chat{flex:none;margin-left:auto}.sidebar-head .sidebar-filters{margin-left:0}.notice-ok{background:color-mix(in srgb,var(--lime) 45%,var(--surface));color:var(--ink);font-weight:600}.dialog label select,.dialog label textarea{font-weight:400;font-size:15px}.bubble-note{align-self:center;max-width:min(560px,88%);background:var(--warn-bg);color:var(--warn-text);border:1px dashed color-mix(in srgb,var(--warn-text) 45%,transparent);border-radius:18px}.bubble-note .bubble-sender{display:inline-flex;align-items:center;gap:6px;color:var(--warn-text)}.bubble-note .bubble-meta{color:var(--warn-text);opacity:.8}.translate-toggle{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border:0;border-radius:999px;background:none;color:var(--muted);font-size:13px;font-weight:600}.translate-toggle.is-on{background:var(--accent-soft);color:var(--accent)}.composer-tabs .translate-toggle{border:0}.composer-tabs [role=tab]+.translate-toggle{margin-left:auto}.bubble-translated{display:flex;align-items:flex-start;gap:6px;margin-top:6px;padding-top:6px;border-top:1px dashed color-mix(in srgb,currentColor 30%,transparent);font-size:14px;opacity:.85;white-space:pre-wrap;overflow-wrap:anywhere}.bubble-translated svg{flex:none;margin-top:3px}.translation-preview{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;padding:10px 12px;border-radius:16px;background:var(--accent-soft)}.translation-preview textarea{background:var(--surface);resize:vertical}.translation-actions{display:flex;justify-content:flex-end;gap:16px}.composer-tabs{flex-wrap:wrap}.suggestions{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;padding:10px;border-radius:16px;background:var(--accent-soft)}.suggestion{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:0;border-radius:14px;background:var(--surface);text-align:left;overflow-wrap:anywhere}.suggestion:hover{box-shadow:inset 0 0 0 2px var(--accent)}.suggestion-meaning{color:var(--muted);font-size:13px}.suggestions .translation-actions{align-items:center;flex-wrap:wrap}.suggestions .translation-actions .hint{margin-right:auto}.switch{display:flex;align-items:flex-start;gap:12px}.switch input{flex:none;width:22px;height:22px;margin-top:2px;accent-color:var(--accent)}.switch>span{display:flex;flex-direction:column;gap:2px}.stack-label{display:flex;flex-direction:column;gap:6px;font-weight:600}.stack-label .button{align-self:flex-start}.suggestions{max-height:46vh;overflow-y:auto;overscroll-behavior:contain}
