:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1b1d24;background:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #fff;--rail: #f5f6f8;--surface: #f1f2f5;--hover: #f5f6f8;--text: #1b1d24;--muted: #626771;--border: #e9ebef;--accent: #0866ff;--accent-hover: #0055db;--accent-fill: #0866ff;--accent-fill-hover: #0055db;--accent-soft: #edf4ff;--incoming: #f0f1f4;--danger: #b92b3e;--success: #16804a;--focus: #5b94ff;--shadow: 0 8px 30px rgba(25, 35, 55, .12);color-scheme:light}:root[data-theme=dark]{--bg: #17191e;--rail: #111318;--surface: #252830;--hover: #22252c;--text: #f1f3f6;--muted: #a7acb8;--border: #2c3039;--accent: #79a8ff;--accent-hover: #5695ff;--accent-soft: #1c304c;--incoming: #2b2e36;--danger: #ff8a9d;--success: #63c68f;--focus: #79a8ff;--shadow: 0 8px 30px rgba(0, 0, 0, .3);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{overflow:hidden}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button{color:inherit}:is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--focus);outline-offset:3px}input,textarea{caret-color:var(--accent)}button{touch-action:manipulation}::selection{background:#c9ddff;color:#112c55}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:#b6bbc580;border-radius:6px}::-webkit-scrollbar-track{background:transparent}h1,h2,h3,p{margin:0}button{border:0;background:none}a{color:inherit}svg{flex-shrink:0;stroke-width:1.8}button:active:not(:disabled){transform:scale(.97)}button{transition:background-color .14s ease-out,color .14s ease-out,transform .14s ease-out}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.app-shell{display:grid;grid-template-columns:72px 336px minmax(0,1fr);height:100dvh;background:var(--bg);color:var(--text)}.app-rail{display:flex;flex-direction:column;align-items:center;padding:27px 10px 20px;background:var(--rail);gap:30px}.app-mark{position:relative;color:var(--accent);height:40px;width:42px;display:flex;align-items:center;justify-content:center;text-decoration:none}.app-mark svg{stroke:var(--accent)}.mark-lines{position:absolute;left:15px;top:15px;width:13px;height:3px;background:#fff;border-radius:4px;transform:rotate(-9deg)}.mark-lines:after{content:"";position:absolute;left:0;top:5px;height:3px;width:8px;border-radius:4px;background:#fff}.rail-main,.rail-bottom{display:flex;flex-direction:column;align-items:center;gap:16px}.rail-bottom{margin-top:auto;gap:22px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--muted);flex-shrink:0}.icon-button.rail-active{background:var(--accent-soft);color:var(--accent);border-radius:14px}.rail-main .icon-button{width:46px;height:46px}.rail-bottom .avatar{width:35px;height:35px;font-size:11px}.conversation-sidebar{min-width:0;display:flex;flex-direction:column;border-right:1px solid var(--border);background:var(--bg)}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 20px 18px}.sidebar-heading h1{font-size:27px;line-height:1.25;font-weight:720;letter-spacing:-.035em}.sidebar-heading-actions{display:flex;gap:8px}.profile-button{background:var(--surface);color:var(--text)}.mobile-theme,.mobile-back,.mobile-reports{display:none}.search-box{height:42px;margin:0 20px 17px;display:flex;gap:9px;align-items:center;padding:0 13px;background:var(--surface);border-radius:22px;color:var(--muted)}.search-box input{width:100%;min-width:0;border:0;background:transparent;outline:none;font-size:13px;color:var(--text)}.search-box:focus-within{outline:2px solid var(--focus);outline-offset:2px}.search-box button{display:flex;padding:4px}.list-filters{display:flex;gap:8px;padding:0 20px 15px}.list-filters button{padding:8px 14px;font-size:12px;font-weight:600;border-radius:20px;color:var(--muted)}.list-filters button.selected{background:var(--accent-soft);color:var(--accent)}.conversation-list{flex:1;overflow-y:auto;padding:0 9px 16px;min-height:0}.conversation-row{display:flex;gap:12px;align-items:center;width:100%;padding:13px 12px;text-align:left;border-radius:12px;min-height:84px}.conversation-row.active{background:var(--accent-soft)}.avatar{--avatar-color: #e7dded;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;background:var(--avatar-color);color:#26344e;font-size:15px;font-weight:600;letter-spacing:-.02em}.avatar-small{width:42px;height:42px;font-size:13px}.avatar-tiny{width:28px;height:28px;font-size:9px}.avatar-large{width:82px;height:82px;font-size:26px}.avatar-bot{background:var(--accent-soft);color:var(--accent)}.conversation-copy{min-width:0;flex:1}.conversation-title{display:flex;gap:7px;align-items:center;justify-content:space-between;margin-bottom:5px}.conversation-title strong{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-title time{font-size:10px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}.conversation-preview{display:block;font-size:12px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.4}.conversation-row.active .conversation-preview{color:#4d6488}:root[data-theme=dark] .conversation-row.active .conversation-preview{color:#acc4e8}.sidebar-footer{padding:16px 22px 18px;border-top:1px solid var(--border)}.demo-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px;font-weight:600}.demo-tag{font-size:10px;color:var(--muted);font-weight:450}.demo-controls{display:grid;grid-template-columns:1fr 1.2fr;gap:12px}.demo-controls label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.demo-controls select{width:100%;min-width:0;border:1px solid var(--border);border-radius:8px;padding:8px 7px;font-size:11px;color:var(--text);background:var(--bg)}.footer-status{margin-top:17px;display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted)}.connection-dot{width:6px;height:6px;border-radius:50%;background:#b57e30}.connection-dot.connected{background:var(--success)}.footer-brand{margin-left:auto;color:var(--muted);font-weight:500}.main-pane{position:relative;display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;background:var(--bg)}.chat-header{height:86px;flex-shrink:0;display:flex;align-items:center;gap:12px;padding:0 32px;border-bottom:1px solid var(--border);background:var(--bg);z-index:2}.header-title{min-width:0;flex:1}.header-title h2{font-size:16px;font-weight:650;line-height:1.4;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.header-title p{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);margin-top:3px;line-height:1.5;white-space:nowrap;overflow:hidden}.header-divider{padding:0 2px}.chat-header .icon-button{color:var(--accent)}.connection-banner{display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 18px;font-size:11px;background:var(--surface);color:var(--muted)}.messages-scroller{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:21px 36px 15px;scrollbar-gutter:stable}.message-timeline{max-width:960px;margin:0 auto}.date-divider{text-align:center;color:var(--muted);font-size:10px;font-weight:600;margin:18px 0 25px;line-height:1.5}.message-row{display:flex;align-items:flex-end;gap:9px;max-width:100%;margin:13px 0}.message-row.grouped{margin-top:-2px}.message-row.own{justify-content:flex-end}.message-content{max-width:min(72%,520px);min-width:0;display:flex;flex-direction:column;align-items:flex-start}.message-row.own .message-content{align-items:flex-end}.sender-name{font-size:10px;color:var(--muted);margin:0 0 5px 11px;line-height:1.4}.message-avatar{padding-bottom:23px}.avatar-hidden{visibility:hidden}.message-bubble{border-radius:18px;padding:11px 15px;font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--incoming);color:var(--text);max-width:100%}.incoming .message-bubble{border-bottom-left-radius:5px}.own .message-bubble{background:var(--accent-fill);color:#fff;border-bottom-right-radius:5px}.message-meta{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);line-height:1.5;margin:5px 7px 0;font-variant-numeric:tabular-nums}.message-meta span{display:inline-flex;align-items:center;gap:2px}.message-meta button{padding:0;color:var(--danger);font-size:10px;font-weight:600}.message-bubble.message-failed{background:var(--accent-soft);color:var(--text);outline:1px solid var(--danger)}.message-photos{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:5px;max-width:100%}.message-photo{display:flex;align-items:center;justify-content:center;overflow:hidden;max-width:260px;min-width:150px;width:240px;aspect-ratio:1.4;border-radius:14px;background:var(--surface);padding:0}.message-photo img{width:100%;height:100%;object-fit:cover}.message-photo.photo-loading{color:var(--muted)}.photo-placeholder{width:180px;height:120px;border-radius:12px;background:var(--surface);display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--muted)}.bot-message{display:flex;align-items:flex-end;gap:9px;margin:24px 0}.bot-message>.avatar{margin-bottom:4px}.payment-card{width:350px;max-width:calc(100% - 37px);padding:18px;background:var(--bg);border:1px solid var(--border);border-radius:16px}.payment-heading{display:flex;align-items:center;gap:9px}.payment-icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent)}.payment-heading>div{display:flex;flex-direction:column;gap:3px;min-width:0}.payment-heading strong{font-size:12px;font-weight:650;white-space:nowrap}.payment-heading>div>span{font-size:9px;color:var(--muted)}.status-tag{margin-left:auto;display:inline-flex;align-items:center;padding:5px 7px;background:var(--surface);color:var(--muted);font-size:9px;font-weight:550;border-radius:5px;white-space:nowrap}.status-tag.is-confirmed{background:#e8f7ef;color:#166d40}.payment-amount{display:flex;align-items:baseline;gap:7px;font-size:26px;font-weight:650;letter-spacing:-.035em;line-height:1.3;margin:20px 0 17px;font-variant-numeric:tabular-nums}.payment-amount>span{font-size:10px;font-weight:500;letter-spacing:0;color:var(--muted)}.payment-facts{margin:0;display:flex;flex-direction:column;gap:9px;font-size:10px}.payment-facts>div{display:flex;justify-content:space-between;gap:15px}.payment-facts dt{color:var(--muted)}.payment-facts dd{margin:0;font-weight:500}.payment-actions{display:flex;align-items:center;gap:9px;margin-top:18px}.primary-button{display:inline-flex;align-items:center;justify-content:center;background:var(--accent-fill);color:#fff;border-radius:8px;padding:10px 14px;font-size:11px;line-height:1.4;font-weight:600;min-height:36px;white-space:nowrap}.primary-button:disabled{opacity:.5}.text-button{display:inline-flex;align-items:center;justify-content:center;color:var(--accent);font-size:11px;line-height:1.4;font-weight:600;padding:8px 6px;border-radius:6px}.text-button:disabled{opacity:.5}.payment-actions .primary-button{flex:1}.payment-actions .text-button{font-size:10px}.payment-note{display:flex;align-items:flex-start;gap:6px;color:var(--muted);font-size:10px;line-height:1.6;margin-top:15px}.payment-note svg{margin-top:1px}.decision-form{margin-top:16px;display:flex;flex-direction:column;gap:10px}.decision-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:550}.decision-form input{padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--bg);color:var(--text);font-size:12px;min-width:0}.form-actions{display:flex;gap:10px;margin-top:2px}.inline-error{color:var(--danger);font-size:11px;line-height:1.6;margin:10px 0}.composer-area{padding:14px 27px 18px;background:var(--bg);flex-shrink:0}.message-composer{display:flex;align-items:flex-end;gap:13px;max-width:1040px;margin:0 auto}.attach-button{color:var(--accent);margin-bottom:2px;flex-shrink:0}.attach-button:disabled{opacity:.4}.composer-input-wrap{flex:1;min-width:0;background:var(--surface);border-radius:24px;padding:12px 18px;min-height:46px;display:flex;align-items:center}.composer-input-wrap:focus-within{outline:1px solid var(--focus);outline-offset:1px}.composer-input-wrap textarea{width:100%;resize:none;border:0;background:transparent;color:var(--text);font-size:13px;line-height:1.6;outline:none!important;padding:0;max-height:128px;min-height:21px;overflow-y:auto}.send-button{display:flex;align-items:center;justify-content:center;width:43px;height:43px;flex-shrink:0;color:var(--accent);border-radius:50%;margin-bottom:1px}.send-button svg{transform:rotate(-10deg)}.send-button:disabled{color:#aab1bf}.composer-hint{font-size:9px;color:var(--muted);text-align:center;margin-top:11px;line-height:1.4}.composer-hint span{padding:0 5px}.upload-tray{display:flex;gap:10px;padding:0 56px 14px;overflow-x:auto}.upload-item{position:relative;width:94px;height:80px;flex-shrink:0;border-radius:10px;background:var(--surface)}.upload-item img{width:100%;height:100%;object-fit:cover;border-radius:10px}.upload-remove{position:absolute;right:-5px;top:-5px;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--text);color:var(--bg);box-shadow:0 2px 5px #0002}.upload-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#0008;color:#fff;border-radius:10px;font-size:9px}.upload-retry{position:absolute;inset:auto 0 0;background:#a52738;color:#fff;padding:6px 3px;font-size:9px;border-radius:0 0 10px 10px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.jump-bottom{position:absolute;bottom:116px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 14px;background:var(--bg);color:var(--accent);box-shadow:var(--shadow);border-radius:20px;font-size:11px;font-weight:600}.jump-bottom:active:not(:disabled){transform:translate(-50%) scale(.97)}.load-earlier{text-align:center;margin-bottom:12px}.thread-intro{display:flex;flex-direction:column;align-items:center;padding:42px 12px 60px;text-align:center}.thread-intro h2{font-size:20px;margin-top:18px;letter-spacing:-.025em}.thread-intro p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:9px}.full-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px;color:var(--muted);gap:17px}.full-empty>svg{color:var(--accent)}.full-empty h2{color:var(--text);font-size:23px;letter-spacing:-.03em}.full-empty p{font-size:13px;line-height:1.6;max-width:370px}.full-empty .primary-button{margin-top:5px}.large-mark{background:var(--accent-soft);width:74px;height:74px;border-radius:24px}.list-empty{display:flex;align-items:center;flex-direction:column;text-align:center;padding:45px 20px;gap:12px;color:var(--muted)}.list-empty strong{color:var(--text);font-size:13px}.list-empty p{font-size:11px;line-height:1.5}.conversation-skeleton{display:flex;gap:12px;align-items:center;padding:16px 12px}.conversation-skeleton>span{width:48px;height:48px;border-radius:50%;background:var(--surface);flex-shrink:0}.conversation-skeleton>div{flex:1;display:flex;flex-direction:column;gap:10px}.conversation-skeleton i{height:10px;width:74%;background:var(--surface);border-radius:4px}.conversation-skeleton i+i{width:95%;height:8px}.message-skeletons{display:flex;flex-direction:column;gap:20px;padding-top:60px}.message-skeletons span{height:48px;background:var(--surface);border-radius:18px;width:40%}.message-skeletons span:nth-child(2){align-self:flex-end;width:55%}.message-skeletons span:nth-child(3){width:35%}.header-report-icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--accent-soft);color:var(--accent)}.reports-body{overflow:auto;padding:45px 48px;max-width:1100px;width:100%;margin:0 auto}.report-title h1{font-size:27px;letter-spacing:-.035em;font-weight:650}.report-title p{font-size:13px;margin-top:9px;color:var(--muted)}.report-filters{display:flex;gap:14px;align-items:flex-end;margin-top:30px}.report-filters label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:var(--muted)}.report-filters input{background:var(--bg);border:1px solid var(--border);padding:10px 12px;border-radius:8px;color:var(--text);font-size:12px;min-height:38px}.report-filters .primary-button{height:38px}.report-timezone{font-size:10px;color:var(--muted);margin-top:11px}.report-table-wrap{margin-top:32px;overflow-x:auto;border:1px solid var(--border);border-radius:12px}.report-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.report-table th{font-size:10px;font-weight:550;color:var(--muted);padding:15px 17px;background:var(--hover)}.report-table td{font-size:12px;padding:19px 17px;border-top:1px solid var(--border);font-variant-numeric:tabular-nums}.report-table th:last-child,.report-table td:last-child{text-align:right}.report-value{font-weight:600}.direction-icon{display:inline-flex;vertical-align:middle;margin-right:8px;color:var(--accent)}.report-counts{display:flex;gap:30px;padding:23px 2px;border-bottom:1px solid var(--border)}.report-counts>div{display:flex;gap:12px;align-items:center;font-size:12px}.report-counts span{color:var(--muted)}.report-counts strong{font-size:14px;font-weight:600}.report-disclosure{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.65;color:var(--muted);margin-top:20px}.report-disclosure svg{margin-top:1px}.report-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:43px 20px;color:var(--muted)}.report-empty h2{font-size:15px;color:var(--text)}.report-empty p{font-size:12px;line-height:1.5}.photo-viewer{padding:52px 20px;position:fixed;inset:0;border:0;margin:0;background:#10131af2;color:#fff;z-index:100;width:100vw;height:100dvh;max-width:none;max-height:none}.photo-viewer[open]{display:flex;align-items:center;justify-content:center}.photo-viewer::backdrop{background:#10131af2}.photo-viewer img{max-width:90vw;max-height:85dvh;object-fit:contain;border-radius:6px}.viewer-close{position:absolute;right:20px;top:17px;color:#fff;background:#ffffff15}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(hover:hover)and (pointer:fine){.icon-button:hover,.text-button:hover,.conversation-row:hover{background:var(--hover)}.conversation-row.active:hover{background:var(--accent-soft)}.primary-button:not(:disabled):hover{background:var(--accent-fill-hover)}.send-button:not(:disabled):hover{background:var(--accent-soft)}.list-filters button:not(.selected):hover{background:var(--hover)}.message-photo:not(:disabled):hover{opacity:.94}}@media(min-width:1600px){.app-shell{grid-template-columns:76px 360px minmax(0,1fr)}.messages-scroller{padding-left:65px;padding-right:65px}.chat-header{padding:0 42px}.conversation-row{padding-top:15px;padding-bottom:15px}}@media(max-width:1100px){.app-shell{grid-template-columns:64px 300px minmax(0,1fr)}.app-rail{padding-left:8px;padding-right:8px}.sidebar-heading{padding-left:20px}.conversation-title strong{font-size:12px}.conversation-title time{font-size:9px}.conversation-row{gap:10px}.conversation-row>.avatar{width:43px;height:43px;font-size:13px}.messages-scroller{padding-left:22px;padding-right:22px}.chat-header{padding:0 23px}.message-content{max-width:80%}.reports-body{padding:32px 24px}.report-filters{flex-wrap:wrap}.payment-heading strong{font-size:11px}.status-tag{font-size:8px}}@media(max-width:760px){.app-shell{grid-template-columns:1fr}.app-rail{display:none}.conversation-sidebar{border-right:0;height:100dvh}.main-pane,.mobile-chat-open .conversation-sidebar{display:none}.mobile-chat-open .main-pane{display:flex}.sidebar-heading{padding:24px 20px 18px}.sidebar-heading h1{font-size:30px}.mobile-theme{display:inline-flex}.sidebar-heading-actions .icon-button{width:44px;height:44px}.search-box{height:46px;margin-bottom:15px}.search-box input{font-size:14px}.list-filters{padding-bottom:15px}.list-filters button{font-size:13px;padding:9px 16px}.conversation-list{padding-left:10px;padding-right:10px}.conversation-row{padding:14px 12px;gap:14px;min-height:88px}.conversation-row>.avatar{width:53px;height:53px;font-size:16px}.conversation-title strong{font-size:15px}.conversation-title time{font-size:11px}.conversation-preview{font-size:13px}.sidebar-footer{padding:14px 22px max(14px,env(safe-area-inset-bottom))}.demo-controls{grid-template-columns:1fr 1fr}.demo-controls label{font-size:11px}.demo-controls select{font-size:13px;min-height:39px}.demo-label{font-size:12px}.footer-status{font-size:11px}.mobile-reports{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--accent);margin-top:12px;padding:8px 0}.chat-header{height:75px;padding:0 15px 0 8px;gap:10px}.mobile-back{display:inline-flex!important;width:36px}.chat-header .avatar{width:39px;height:39px;font-size:12px}.header-title h2{font-size:15px}.header-title p{font-size:10px;gap:4px}.chat-header>.icon-button:last-child{width:35px}.messages-scroller{padding:16px 14px 10px}.message-row{gap:7px;margin:14px 0}.message-content{max-width:82%}.message-bubble{font-size:14px;line-height:1.55;padding:10px 13px}.sender-name{font-size:10px}.message-meta{font-size:9px}.message-avatar .avatar,.bot-message>.avatar{width:25px;height:25px;font-size:8px}.message-avatar{padding-bottom:22px}.date-divider{font-size:10px;margin:17px 0 23px}.payment-card{padding:16px;width:330px;max-width:calc(100% - 32px)}.payment-heading strong{font-size:11px}.payment-heading>div>span{font-size:9px}.status-tag{font-size:8px;padding:5px 6px}.payment-amount{font-size:27px}.payment-facts{font-size:11px}.payment-actions .primary-button{min-height:39px}.payment-note{font-size:10px}.payment-actions .text-button{min-height:38px}.bot-message{gap:7px}.composer-area{padding:11px 10px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--border)}.message-composer{gap:6px}.attach-button{width:37px;height:42px}.composer-input-wrap{padding:11px 14px;border-radius:23px}.composer-input-wrap textarea{font-size:16px;line-height:1.45;min-height:23px}.send-button{width:39px;height:43px}.composer-hint{display:none}.upload-tray{padding:1px 39px 13px;gap:10px}.message-photo{width:230px;max-width:100%}.connection-banner{font-size:10px;padding:8px 12px;align-items:flex-start}.connection-banner svg{margin-top:1px}.connection-banner .text-button{font-size:10px;padding:0 3px}.jump-bottom{bottom:85px;font-size:11px}.reports-body{padding:28px 19px}.report-title h1{font-size:25px}.report-filters{gap:12px}.report-filters label{flex:1;min-width:130px}.report-filters input{width:100%;font-size:13px}.report-filters .primary-button{width:100%;height:41px}.report-table td{font-size:11px;padding:17px 12px}.report-table th{padding:13px 12px}.report-counts{gap:20px}.report-counts>div{font-size:11px;gap:8px}.report-disclosure{font-size:11px}.photo-viewer img{max-width:96vw}.message-timeline{padding-bottom:5px}.decision-form input{font-size:16px}}@media(prefers-reduced-motion:reduce){button{transition:none}.spin{animation-duration:2s}}.list-pagination{display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:10px;color:var(--muted)}.list-pagination:empty{display:none}.older-history-banner{display:flex;align-items:center;justify-content:center;gap:14px;background:var(--hover);padding:5px 14px;font-size:11px;color:var(--muted);border-bottom:1px solid var(--border)}.app-shell{grid-template-rows:minmax(0,1fr)}.app-rail,.conversation-sidebar,.main-pane{min-height:0}.auth-page{min-height:100dvh;height:100%;overflow-y:auto;background:var(--bg);color:var(--text);display:flex;flex-direction:column;align-items:center;padding:28px 40px 24px}.auth-topbar{width:100%;display:flex;align-items:center;justify-content:space-between}.auth-brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:700;letter-spacing:-.025em}.auth-logo,.auth-symbol{display:grid;place-items:center;color:#fff;background:var(--accent-fill);border-radius:12px;width:42px;height:42px}.auth-logo.large{width:62px;height:62px;border-radius:16px;margin:0 auto 26px}.auth-symbol{width:54px;height:54px;border-radius:16px;margin-bottom:28px}.auth-panel{width:100%;max-width:380px;margin:auto;padding:54px 0 48px}.auth-panel h1,.auth-loading h1{font-size:30px;letter-spacing:-.035em;line-height:1.2;font-weight:700}.auth-intro{margin-top:12px;color:var(--muted);line-height:1.6;font-size:15px}.auth-form{display:flex;flex-direction:column;gap:20px;margin-top:30px}.auth-form label,.settings-form label:not(.checkbox-label){display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.auth-form input,.settings-form input:not([type=checkbox]),.secret-value input{width:100%;min-width:0;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:10px;padding:12px 13px;font-size:15px;line-height:1.3;transition:border-color .14s ease-out}.auth-form input:hover,.settings-form input:hover{border-color:var(--muted)}.password-field{position:relative;display:flex;align-items:center}.password-field input{padding-right:48px}.password-field>.icon-button{position:absolute;right:6px}.auth-submit{width:100%;min-height:45px;justify-content:center;margin-top:2px}.auth-alternate{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:22px;min-height:36px}.auth-support{color:var(--muted);font-size:12px;text-align:center;line-height:1.6;margin-top:20px}.auth-footer{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:7px;text-align:center;padding-top:18px}.auth-loading{text-align:center;margin:auto;padding:80px 0}.auth-loading p{color:var(--muted);margin-top:14px}.form-error{color:var(--danger);font-size:13px;line-height:1.55}.field-help{color:var(--muted);line-height:1.55;font-size:12px;font-weight:400}.auth-form>.field-help{margin-top:-12px}.workspace-account{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;min-width:0}.workspace-account>div{display:flex;flex-direction:column;min-width:0;gap:4px}.workspace-account strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-account span{font-size:12px;color:var(--muted)}.mobile-signout{display:none}.settings-body{flex:1;overflow-y:auto;min-height:0;padding:0 32px 36px;width:100%;max-width:1060px;margin:0 auto}.settings-tabs{display:flex;gap:22px;border-bottom:1px solid var(--border);margin-bottom:30px}.settings-tabs button{display:flex;align-items:center;gap:8px;padding:20px 0 15px;border-bottom:2px solid transparent;font-size:13px;font-weight:600;color:var(--muted)}.settings-tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.settings-section-heading{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;margin:0 0 25px}.settings-section-heading h1,.settings-section-heading h2{font-size:23px;line-height:1.3;letter-spacing:-.025em}.settings-section-heading p{font-size:13px;color:var(--muted);line-height:1.6;margin-top:7px}.settings-section-heading>button{flex-shrink:0;gap:6px}.settings-form{padding:20px;background:var(--surface);border-radius:12px;display:flex;flex-direction:column;gap:17px;margin:0 0 26px}.settings-form .form-actions{margin-top:1px}.form-two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-form fieldset{padding:0;margin:0;border:0;display:flex;flex-direction:column;gap:12px}.settings-form legend{font-size:13px;font-weight:600;margin-bottom:13px;padding:0}.checkbox-label{font-size:13px;display:flex;align-items:center;gap:9px;min-height:25px;line-height:1.4}.checkbox-label input{accent-color:var(--accent-fill);width:16px;height:16px;margin:0;flex-shrink:0}.checkbox-label code{font-size:12px;overflow-wrap:anywhere}.staff-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:20px 0;border-bottom:1px solid var(--border)}.staff-identity{display:flex;gap:12px;align-items:center;flex:1;min-width:170px}.staff-initials{width:38px;height:38px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex-shrink:0;font-size:13px;font-weight:600}.staff-identity>div{display:flex;flex-direction:column;gap:5px;min-width:0}.staff-identity strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.staff-identity strong small{margin-left:7px;color:var(--muted);font-size:11px;font-weight:400}.staff-identity span:not(.staff-initials){font-size:12px;color:var(--muted);overflow-wrap:anywhere}.access-status{display:inline-flex;align-items:center;background:var(--surface);border-radius:6px;color:var(--muted);padding:5px 8px;font-size:11px;line-height:1.4;white-space:nowrap}.access-status.access-active{color:var(--text)}.staff-actions{display:flex;align-items:center;gap:12px;width:100%;padding-left:50px}.staff-actions button{font-size:12px;min-height:28px;padding:0}.danger-text{color:var(--danger)}.settings-loading,.settings-empty p{color:var(--muted);font-size:13px;line-height:1.6}.settings-empty{display:flex;align-items:flex-start;flex-direction:column;padding:20px 0 24px;gap:10px}.settings-empty>svg{color:var(--muted);margin-bottom:3px}.settings-empty strong{font-size:14px}.settings-error,.settings-notice{margin-bottom:22px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:13px}.settings-notice{color:var(--success)}.confirm-inline{padding:20px;background:var(--surface);border-radius:12px;margin-bottom:24px}.confirm-inline strong{font-size:14px}.confirm-inline p{font-size:13px;line-height:1.6;color:var(--muted);margin:8px 0 16px}.one-time-secret{background:var(--accent-soft);border-radius:12px;padding:20px;margin-bottom:26px}.secret-heading{display:flex;align-items:center;gap:9px;color:var(--accent)}.secret-heading h3{color:var(--text);font-size:15px;flex:1}.one-time-secret>p{color:var(--muted);font-size:13px;line-height:1.6;margin:9px 0 15px}.secret-value{display:flex;align-items:center;gap:7px}.secret-value input{font-size:13px}.secret-actions{display:flex;gap:12px;margin-top:15px;align-items:center}.secret-actions>button{gap:6px}.callbacks-heading{margin-top:44px}.integration-row{display:flex;gap:20px;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--border)}.integration-row>div:first-child{min-width:0}.integration-row strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.integration-row p{font-size:12px;color:var(--muted);line-height:1.6;margin:6px 0;overflow-wrap:anywhere}.integration-row small{color:var(--muted);font-size:11px;line-height:1.5;font-variant-numeric:tabular-nums}.integration-row-actions{display:flex;align-items:flex-end;flex-direction:column;justify-content:flex-start;gap:8px;flex-shrink:0}.integration-row-actions button{font-size:12px;min-height:28px;padding:0}.callback-row{border-bottom:1px solid var(--border);padding-bottom:18px}.callback-row>.integration-row{border:0;padding-bottom:12px}.callback-error{color:var(--danger)!important}.delivery-summary{display:flex;gap:16px;font-size:11px;color:var(--muted);flex-wrap:wrap;font-variant-numeric:tabular-nums}.delivery-history{margin-top:20px}.delivery-history h3{font-size:13px;margin-bottom:12px}.delivery-history p{color:var(--muted);font-size:12px}.delivery-history ul{list-style:none;margin:0;padding:0}.delivery-history li{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 0;border-top:1px solid var(--border);font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.delivery-history li>span:first-child{color:var(--text);min-width:70px}.delivery-history small{flex-basis:100%;overflow-wrap:anywhere;color:var(--danger)}.settings-footnote{color:var(--muted);font-size:12px;line-height:1.6;display:flex;align-items:flex-start;gap:8px;margin-top:28px}.settings-footnote svg{margin-top:2px}@media(max-width:1050px){.settings-body{padding-left:24px;padding-right:24px}.settings-section-heading{flex-wrap:wrap;gap:15px}.settings-section-heading h1,.settings-section-heading h2{font-size:21px}}@media(max-width:700px){.auth-page{padding:22px 24px max(22px,env(safe-area-inset-bottom))}.auth-panel{padding:46px 0 32px;max-width:390px}.auth-panel h1{font-size:28px}.auth-topbar .icon-button{width:44px;height:44px}.auth-form input,.settings-form input:not([type=checkbox]),.secret-value input{font-size:16px;min-height:45px}.auth-brand{font-size:18px}.auth-footer{max-width:290px;font-size:11px;padding-bottom:4px}.auth-submit{min-height:47px}.auth-alternate{min-height:44px}.settings-body{padding:0 20px max(26px,env(safe-area-inset-bottom))}.settings-tabs{gap:25px;margin-bottom:26px}.settings-tabs button{padding:18px 0 14px;min-height:52px}.settings-form,.one-time-secret,.confirm-inline{padding:17px}.settings-section-heading>button{min-height:38px}.form-two-columns{grid-template-columns:1fr}.staff-row{gap:12px}.staff-identity{min-width:150px}.staff-actions{gap:20px}.staff-actions button,.integration-row-actions button{min-height:36px}.integration-row{gap:12px}.secret-actions{flex-wrap:wrap}.secret-actions>button{min-height:40px}.workspace-account{margin-bottom:10px}.mobile-signout{display:inline-flex;width:40px;height:40px}.checkbox-label{min-height:32px}}.auth-submit{font-size:14px}.auth-alternate{font-size:13px}.settings-body .primary-button{font-size:12px}.settings-tabs .settings-refresh{margin-left:auto;border-bottom:0;padding:0;align-self:center;width:38px;height:38px;min-height:38px;justify-content:center}.worker-health{color:var(--muted);font-size:12px;line-height:1.6;display:flex;flex-direction:column;gap:5px;margin:-8px 0 24px}.worker-health span{color:var(--text)}.worker-health small{font-size:11px}.pinned-bot{margin:0 10px 6px;padding-bottom:8px;border-bottom:1px solid var(--border)}.pinned-bot .conversation-row{width:100%;min-height:76px}.pinned-bot .conversation-title>svg{color:var(--muted);flex-shrink:0}.list-filters button{display:inline-flex;align-items:center;gap:6px}.bot-inbox{padding:28px;overflow-y:auto;min-height:0}.bot-inbox .settings-section-heading{margin-bottom:16px}.bot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.bot-toolbar .text-button{display:flex;align-items:center;gap:7px}.bot-request-list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:20px}.bot-request-list .payment-card{max-width:100%}.bot-empty{display:flex;flex-direction:column;align-items:center;gap:14px;padding:64px 16px;text-align:center}.bot-empty>svg{color:var(--muted)}.bot-empty h2{font-size:20px}.bot-empty p{color:var(--muted);max-width:46ch;font-size:13px;line-height:1.6}.bot-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:24px;font-size:11px;color:var(--muted)}.bot-settings{max-width:760px}.bot-settings .settings-form>label:not(.checkbox-label){display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.bot-settings textarea{width:100%;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);resize:vertical;font:inherit}.bot-settings .checkbox-label{display:flex;gap:10px;align-items:center;font-size:13px}.bot-settings input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 auto;accent-color:var(--accent-fill)}.self-approver{align-self:flex-start}.staff-login-details{margin:0 0 24px;padding:18px 0;border-block:1px solid var(--border)}.staff-login-details p{margin:8px 0;color:var(--muted);font-size:12px;line-height:1.6}.staff-login-details label{display:flex;flex-direction:column;gap:8px;font-size:12px}.staff-login-details input{width:100%;min-width:0;padding:10px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);font:inherit}.bot-load-error{margin:12px 24px}.photo-viewer[open]{animation:photo-reveal .16s ease-out}.message-photo img{animation:photo-reveal .14s ease-out}.conversation-skeleton>span,.conversation-skeleton i,.message-skeletons span{animation:loading-breathe 1.5s ease-in-out 4}@keyframes loading-breathe{0%,to{opacity:1}50%{opacity:.5}}@keyframes photo-reveal{0%{opacity:.6}to{opacity:1}}@media(max-width:760px){.bot-inbox{padding:20px 16px}.bot-toolbar{flex-wrap:wrap}.bot-settings input,.bot-settings textarea{font-size:16px}.bot-request-list{flex-direction:column}}@media(prefers-reduced-motion:reduce){.photo-viewer[open],.message-photo img,.conversation-skeleton>span,.conversation-skeleton i,.message-skeletons span{animation:none}}.bot-connection{margin-top:32px;display:grid;gap:16px;min-width:0}.bot-connection h2{font-size:18px;margin:0}.bot-connection p{margin:0}.bot-connection label{display:grid;gap:8px;font-weight:600}.bot-connection .checkbox-label{display:flex;align-items:center;gap:8px}.bot-connection input:not([type=checkbox]),.bot-connection textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--border);border-radius:8px;padding:12px;background:var(--bg);color:var(--text);font:inherit}.bot-connection textarea{overflow-wrap:anywhere;resize:vertical}.bot-connection fieldset{margin:0;padding:16px;border:1px solid var(--border);border-radius:12px;display:grid;gap:12px;min-width:0}.bot-connection legend{padding:0 6px;font-weight:600}.bot-token-secret,.bot-token-confirm{display:grid;gap:12px}.bot-connection code{overflow-wrap:anywhere}.android-notifications{font-size:12px;padding-bottom:8px}.android-notifications>button{display:flex;align-items:center;gap:8px;min-height:44px}.android-notifications [role=status]{line-height:1.5;color:var(--text-muted, #667085)}.app-shell{grid-template-columns:336px minmax(0,1fr)}.sidebar-heading h1{display:flex;align-items:center;gap:10px}.account-actions .text-button{display:inline-flex;align-items:center;gap:8px;min-height:40px}.bot-open-error{margin:0 20px 12px}.account-settings{display:flex;flex-direction:column;min-height:0;height:100%}.account-settings[hidden]{display:none}.account-settings-scroll{flex:1;min-height:0;overflow-y:auto}.account-preferences{max-width:1060px;width:100%;margin:0 auto;padding:24px 32px}.account-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin:12px 0}.account-settings .settings-body{overflow:visible}.thread-payment-history{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;margin-bottom:16px}@media(min-width:1600px){.app-shell{grid-template-columns:360px minmax(0,1fr)}}@media(min-width:761px)and (max-width:1100px){.app-shell{grid-template-columns:300px minmax(0,1fr)}}@media(max-width:760px){.app-shell{grid-template-columns:1fr}.account-preferences{padding:20px}}.my-bots{padding-top:24px}.my-bots-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}.my-bots-heading h1{margin:0 0 8px;font-size:25px}.my-bots-heading p,.my-bot-copy p,.my-bots-empty p{color:var(--muted);margin:0;line-height:1.6}.my-bot-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:22px 0;border-bottom:1px solid var(--border)}.my-bot-copy{flex:1;min-width:140px;overflow-wrap:anywhere}.my-bot-copy h2{font-size:16px;margin:0 0 4px}.my-bot-copy p{font-size:12px}.my-bot-actions{display:flex;gap:12px;flex-wrap:wrap}.my-bot-actions button,.my-bots-editor>button{display:inline-flex;align-items:center;gap:6px;min-height:40px}.my-bots-editor>button{margin-top:12px}.my-bots-empty{text-align:center;padding:60px 20px}@media(max-width:760px){.my-bots-heading{flex-direction:column}.my-bot-actions{width:100%;gap:8px 18px}}.bot-shortcuts{flex-shrink:0;max-height:35%;overflow-y:auto}.bot-shortcuts[data-expanded=true]{flex:1;max-height:none}.conversation-list[hidden]{display:none}.message-bubble[role=button]{cursor:pointer}.message-bubble[role=button]:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.message-action-panel{max-width:100%;margin-top:6px}.message-actions{display:flex;flex-wrap:wrap;gap:2px}.message-actions button,.photo-message-actions{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:var(--muted);min-height:40px;padding:8px;border-radius:8px;font-size:12px}.message-actions button:hover,.photo-message-actions:hover{background:var(--hover);color:var(--text)}.reaction-picker{display:flex;flex-wrap:wrap;gap:2px;padding:4px;background:var(--surface);border-radius:12px}.reaction-picker button{width:40px;height:42px;font-size:22px;border-radius:8px}.reaction-picker button:hover{background:var(--hover)}.reaction-picker button:disabled{opacity:.5}.message-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.message-reactions button{display:flex;align-items:center;gap:5px;min-height:32px;padding:4px 9px;background:var(--surface);border-radius:16px;border:1px solid var(--border)}.message-reactions button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.message-reactions span{font-size:11px;color:var(--text)}.message-feedback{font-size:12px;color:var(--muted);max-width:260px;margin-top:4px}.reply-quote{display:flex;flex-direction:column;gap:3px;background:var(--surface);border-radius:12px;padding:9px 12px;margin-bottom:4px;max-width:100%;font-size:12px}.reply-quote strong{color:var(--muted);font-size:11px}.reply-quote span{white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.composer-reply{display:flex;align-items:center;gap:10px;margin:0 auto 8px;max-width:1040px;padding:8px 12px;background:var(--surface);border-radius:12px}.composer-reply>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.composer-reply strong{font-size:12px;color:var(--accent)}.composer-reply span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--muted)}.interaction-error{font-size:12px;color:var(--muted);padding:0 12px}@media(max-width:760px){.message-actions button{min-height:44px}.reaction-picker button{width:44px;height:44px}}
