:root{--bg:#080f1d;--rail:#0b1426;--surface:#101c30;--panel:#0d192b;--border:#203149;--border-soft:#1a2941;--text:#f0f5ff;--muted:#8494af;--muted2:#5c6e8a;--accent:#4b85ff;--accent2:#6ba5ff;--green:#42cf9b;--radius:14px;--shadow:0 28px 70px rgba(0,0,0,.46);color-scheme:dark}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--text);font:14px/1.45 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}input,textarea{outline:none}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #4c8dff;outline-offset:2px}[hidden]{display:none!important}::selection{background:#3d6bc1;color:#fff}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-thumb{background:#2a3b57;border-radius:20px}::-webkit-scrollbar-track{background:transparent}
.app-shell{display:flex;width:100%;height:100dvh;min-height:630px;overflow:hidden}.account-rail{width:262px;flex:0 0 262px;background:linear-gradient(180deg,#101d32 0,#0a1427 55%,#0b1529 100%);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:27px 14px 16px;min-height:0}.brand-wrap{display:flex;align-items:center;gap:12px;padding:0 13px 38px}.brand-symbol{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:linear-gradient(135deg,#4d91ff,#2d56b0);box-shadow:0 10px 22px #2f66d44a}.brand-symbol svg{height:25px;width:25px}.brand-title{font-size:18px;font-weight:800;letter-spacing:-.7px}.brand-title span{font-size:9px;background:#294a82;color:#9ac6ff;padding:3px 5px;border-radius:4px;margin-left:5px;vertical-align:middle;letter-spacing:.5px}.brand-caption{font-size:11px;color:var(--muted);margin-top:2px}.rail-label-row,.account-section-heading{display:flex;align-items:center;justify-content:space-between;padding:0 13px;margin-bottom:12px}.section-kicker,.eyebrow{font-size:10px;letter-spacing:1.6px;color:#8497b6;font-weight:800}.nav-badge{font-size:9px;color:#76a8ff;border:1px solid #315082;background:#172b4b;border-radius:5px;padding:1px 6px;font-weight:750}.rail-nav{display:flex;align-items:center;gap:11px;border:1px solid transparent;background:transparent;color:#a7b6d2;border-radius:10px;padding:12px 13px;text-align:left;font-weight:600;width:100%;margin-bottom:38px}.rail-nav.active{background:#18335b;border-color:#294a79;color:#e8f2ff}.rail-icon{font-size:19px;color:#75a8ff}.account-section-heading{margin-bottom:11px}.limit-badge{font-size:11px;color:#abc0dc;padding:3px 8px;border:1px solid #263954;border-radius:6px;background:#13233a}.account-list{flex:1;min-height:70px;overflow:auto;padding:1px 2px}.account-item{width:100%;background:transparent;border:1px solid transparent;color:var(--text);display:flex;align-items:center;gap:10px;border-radius:11px;padding:10px;margin-bottom:4px;text-align:left}.account-item:hover{background:#182945}.account-item.active{background:#1d365a;border-color:#365887}.avatar{display:grid;place-items:center;color:#fff;flex:0 0 auto;font-size:13px;font-weight:800;border-radius:50%;width:38px;height:38px;background:linear-gradient(135deg,#3c7ccd,#233f84)}.avatar.rose{background:linear-gradient(135deg,#c2609c,#704888)}.avatar.teal{background:linear-gradient(135deg,#3eadaf,#216d97)}.avatar.gold{background:linear-gradient(135deg,#c5a05a,#876336)}.account-main{min-width:0;flex:1}.account-name{font-size:12.5px;font-weight:740;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-phone{font-size:11px;color:#91a1bd;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tiny-status{width:7px;height:7px;border-radius:50%;background:#73809d;box-shadow:0 0 0 3px #74819a20;flex-shrink:0}.tiny-status.online{background:var(--green);box-shadow:0 0 0 3px #43d4a421}.add-account{background:#142943;color:#c2d5ee;border:1px dashed #335476;padding:11px 10px;border-radius:10px;display:flex;align-items:center;gap:10px;width:100%;margin-top:13px;font-size:12px;font-weight:680}.add-account:hover{background:#1b3555}.add-circle{display:grid;place-items:center;border-radius:7px;width:23px;height:23px;background:#234573;font-size:18px;color:#a7d6ff}.rail-bottom{margin-top:auto;padding-top:20px}.safe-box{background:#14233b;border:1px solid #253954;padding:14px;border-radius:12px;color:#aec0dc}.safe-box-title{font-size:12px;font-weight:730;color:#c8def8}.safe-box p{font-size:11px;color:#8fa5c4;line-height:1.65;margin:6px 0 0}.help-trigger{width:100%;border:0;color:#a0b1cc;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;padding:15px 10px 6px;font-size:12px}.help-trigger:hover{color:#fff}.help-arrow{margin-left:auto}.list-loading{color:#8396b6;font-size:12px;padding:16px 12px}.content-shell{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{min-height:75px;display:flex;align-items:center;justify-content:space-between;padding:12px 31px;border-bottom:1px solid #1d2e47;background:#0b1425;gap:10px}.breadcrumbs{font-size:13px;color:#92a1bb}.breadcrumbs span{padding:0 11px;color:#3a506f}.breadcrumbs strong{color:#eff5ff}.top-caption{font-size:11px;color:#687c9d;margin-top:5px}.topbar-right{display:flex;align-items:center;gap:21px;white-space:nowrap}.live-indicator{display:inline-flex;align-items:center;gap:9px;color:#aabbd4;background:#11233a;border:1px solid #28425b;border-radius:20px;padding:7px 10px;font-size:10px;letter-spacing:.5px;font-weight:750}.live-indicator i,.online-dot{height:7px;width:7px;border-radius:50%;background:var(--green);display:inline-block;box-shadow:0 0 0 3px #33d2941a}.top-separator{height:26px;width:1px;background:#2a3a50}.today-label{font-size:12px;color:#97a8c0}.admin-avatar{border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-weight:850;background:#254680;color:#d7ebff;border:1px solid #4271b0}.stats-strip{min-height:131px;display:flex;justify-content:space-between;align-items:center;padding:25px 32px;gap:20px;background:linear-gradient(125deg,#0c182b,#0e1b32 80%,#12274b)}.stats-intro h1{font-size:27px;font-weight:800;letter-spacing:-.8px;margin:0 0 4px}.stats-intro p{font-size:12px;color:#8295b0;margin:0}.stats-items{display:flex;gap:30px;align-items:center}.stat{display:flex;flex-direction:column;gap:2px;min-width:61px}.stat-value{font-size:22px;font-weight:790;letter-spacing:-.5px}.stat-dim{font-size:13px;color:#748aab;font-weight:500}.stat-label{font-size:11px;color:#8398b8}.stats-divider{width:1px;height:33px;background:#2a3d59}.work-grid{display:grid;grid-template-columns:minmax(280px,330px) minmax(350px,1fr) minmax(275px,315px);flex:1;min-height:0;border-top:1px solid #23334e}.inbox-pane{display:flex;min-height:0;flex-direction:column;border-right:1px solid var(--border);background:#0e192c}.inbox-heading{display:flex;align-items:center;justify-content:space-between;padding:23px 18px 7px}.inbox-heading h2{font-size:17px;letter-spacing:-.35px;margin:3px 0 0}.icon-button{width:31px;height:31px;border-radius:9px;background:#182a43;color:#b1c6e6;border:1px solid #2a4162;font-size:19px;line-height:1}.icon-button:hover{background:#243e60}.selected-account-label{font-size:11px;color:#80a6db;min-height:21px;padding:0 18px 9px}.inbox-search,.reply-search{display:flex;align-items:center;background:#15243a;border:1px solid #2a405d;border-radius:9px;margin:7px 18px 16px;height:39px;gap:9px;padding:0 12px}.inbox-search:focus-within,.reply-search:focus-within{border-color:#4a7bd0}.search-glyph,.reply-search>span{font-size:23px;color:#8195b7;line-height:1;transform:translateY(-1px)}.inbox-search input,.reply-search input{background:transparent;border:0;outline:0;color:#eaf2ff;width:100%;min-width:0;font-size:12px}.inbox-search input::placeholder,.reply-search input::placeholder{color:#6a7c99}.filter-row{display:flex;gap:7px;align-items:center;padding:0 16px 14px;border-bottom:1px solid var(--border-soft)}.pill-filter{font-size:11px;padding:7px 10px;background:transparent;border:1px solid #2a3a55;border-radius:17px;color:#8da2bf}.pill-filter.active{border-color:#31528c;color:#c3ddff;background:#1b365e}.private-filter{font-size:10px;color:#7190ab;margin-left:auto;white-space:nowrap}.dialog-list{overflow:auto;flex:1;min-height:60px}.dialog-item{width:100%;border:0;border-left:3px solid transparent;border-bottom:1px solid #1b2940;background:transparent;color:inherit;display:flex;align-items:center;gap:11px;text-align:left;padding:15px 14px 15px 12px}.dialog-item:hover{background:#152842}.dialog-item.active{background:#1a3253;border-left-color:#4c93ff}.dialog-avatar{width:41px;height:41px;font-size:14px}.dialog-content{flex:1;min-width:0}.dialog-upper,.dialog-lower{display:flex;align-items:center;justify-content:space-between;gap:6px}.dialog-name{font-size:12px;font-weight:770;color:#ecf3ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-time{font-size:10px;color:#7e8faa;white-space:nowrap}.dialog-lower{margin-top:5px}.dialog-snippet{font-size:11px;color:#8294b0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1}.unread-chip{display:grid;place-items:center;min-width:18px;height:18px;border-radius:12px;padding:0 5px;font-size:10px;background:#367fef;color:white;font-weight:750}.inbox-footer{padding:14px;border-top:1px solid #21324d;color:#7589a8;font-size:10px;display:flex;gap:9px;align-items:center}.inbox-footer .online-dot{height:5px;width:5px;box-shadow:none}.empty-tile{padding:35px 20px;color:#8298b6;line-height:1.7;text-align:center;font-size:12px}.chat-pane{display:flex;flex-direction:column;min-width:0;min-height:0;background:radial-gradient(circle at 50% 4%,#13233c 0,#0b1628 49%,#0b1425 100%)}.chat-header{min-height:72px;border-bottom:1px solid #23354e;display:flex;align-items:center;padding:13px 23px;background:#0f1d31}.header-placeholder{display:flex;gap:13px;align-items:center;color:#7e94b4;font-size:12px}.header-circle{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#1c3658;font-size:18px;color:#9bc7ff}.chat-person{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.chat-person .avatar{width:39px;height:39px}.chat-person-name{font-size:13px;font-weight:790;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.chat-person-sub{font-size:11px;color:#7b91b0;margin-top:2px}.chat-header-actions{display:flex;gap:8px;margin-left:10px}.header-btn{display:inline-flex;align-items:center;gap:6px;background:#1a2f4d;border:1px solid #31496b;color:#b7d2f5;border-radius:8px;font-size:11px;padding:8px 11px;font-weight:650}.header-btn:hover{background:#25436c}.messages-box{display:flex;flex-direction:column;gap:12px;flex:1;min-height:40px;overflow:auto;padding:23px 27px}.msg-row{display:flex;align-items:end;gap:7px}.msg-row.outgoing{justify-content:flex-end}.message-bubble{max-width:79%;min-width:80px;background:#1a2b43;border:1px solid #29405c;border-radius:14px 14px 14px 4px;padding:10px 12px 7px;box-shadow:0 5px 12px #06102033}.outgoing .message-bubble{background:#24518b;border-color:#31639f;border-radius:14px 14px 4px 14px}.message-text{font-size:12px;color:#edf5ff;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{margin-top:5px;text-align:right;font-size:9px;color:#9cb6d7;letter-spacing:.2px}.message-attachment{display:block;text-decoration:none;color:#cde2ff;background:#284466;border:1px solid #3c5f88;border-radius:8px;padding:8px 9px;margin:5px 0;font-size:11px;overflow-wrap:anywhere}.message-image{max-width:100%;max-height:240px;border-radius:8px;display:block;margin:4px 0}.no-messages{text-align:center;color:#7890b0;font-size:12px;margin:auto}.start-screen{margin:auto;display:flex;align-items:center;flex-direction:column;text-align:center;max-width:340px}.start-art{position:relative;width:150px;height:138px;display:grid;place-items:center}.start-art-main{height:90px;width:90px;border-radius:23px;display:grid;place-items:center;background:linear-gradient(135deg,#285fa8,#15375f);color:#a8d2ff;font-size:48px;transform:rotate(-8deg);box-shadow:0 15px 38px #2757a833}.start-bubble{position:absolute;border-radius:11px;padding:7px 10px;font-size:12px;font-weight:900}.start-bubble.a{left:-2px;bottom:12px;background:#233b5a;color:#8cafff}.start-bubble.b{right:1px;top:15px;background:#194c59;color:#7fefd0}.start-screen h2{font-size:18px;letter-spacing:-.4px;margin:17px 0 8px}.start-screen p{line-height:1.8;font-size:12px;color:#8198b7;margin:0}.start-meta{margin-top:20px;border:1px solid #2a4569;border-radius:20px;color:#7c9fc6;padding:7px 12px;font-size:10px;background:#132740}.composer-area{padding:16px 19px 12px;background:#0e1b2e;border-top:1px solid #2b3b55}.composer-tools{display:flex;justify-content:space-between;gap:10px;margin:0 1px 8px;color:#94a7c3;font-size:10px;letter-spacing:.85px;font-weight:780}.composer-hint{font-weight:450;letter-spacing:0;color:#677e9c}.composer-box{border:1px solid #345479;background:#162840;border-radius:12px;padding:6px}.composer-box:focus-within{border-color:#477dbd}.composer-box textarea{border:0;background:transparent;display:block;resize:none;min-height:48px;max-height:145px;width:100%;padding:10px 9px;color:#f6faff;font-size:13px;line-height:1.55}.composer-box textarea::placeholder{color:#7489a8}.composer-actions,.compose-left{display:flex;align-items:center;gap:9px}.composer-actions{justify-content:space-between}.composer-icon{background:#253b57;border:1px solid #355275;color:#cde0f8;width:35px;height:35px;border-radius:8px;font-size:22px;line-height:1}.quick-inline{border:0;background:transparent;color:#a8bee0;font-size:11px;font-weight:700;padding:8px}.quick-inline span{color:#a2baff;font-size:16px;margin-right:4px}.send-button{color:#fff;border:0;background:linear-gradient(115deg,#4083f9,#2e65d0);border-radius:9px;padding:10px 14px;font-size:11px;font-weight:800;display:flex;align-items:center;gap:11px;box-shadow:0 7px 20px #3266c340}.send-button:hover,.btn-primary:hover{filter:brightness(1.1)}.composer-note{text-align:center;font-size:10px;color:#7086a5;margin-top:9px}.composer-note span{font-size:10px;margin-right:5px}
.replies-pane{display:flex;flex-direction:column;min-height:0;border-left:1px solid var(--border);background:#101d31}.replies-top{display:flex;align-items:center;justify-content:space-between;padding:24px 19px 8px}.reply-heading{display:flex;align-items:center;gap:11px}.reply-star{height:39px;width:39px;border-radius:11px;background:#243b69;border:1px solid #35558c;display:grid;place-items:center;color:#bed0ff;font-size:21px}.reply-heading h2{margin:1px 0 0;font-size:16px;letter-spacing:-.4px}.close-replies{font-size:20px}.replies-subtitle{font-size:11px;color:#8299b9;line-height:1.7;margin:4px 19px 15px}.reply-search{margin:0 18px 17px}.replies-list{overflow:auto;min-height:40px;flex:1;padding:0 15px}.reply-card{border:1px solid #2b3f5a;background:#162842;border-radius:11px;margin-bottom:10px;padding:12px 12px 11px;transition:border-color .15s}.reply-card:hover{border-color:#45638b}.reply-card-top{display:flex;align-items:center;gap:7px}.reply-card-top h3{flex:1;margin:0;color:#eff6ff;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-number{font-size:9px;font-weight:800;background:#243c5a;color:#7fafe8;padding:3px 6px;border-radius:5px}.reply-card p{color:#95a9c5;font-size:11px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 12px;max-height:74px;overflow:hidden}.reply-card-actions{display:flex;gap:6px}.use-reply{flex:1;text-align:center;border:1px solid #3b65a0;background:#254674;color:#b9dcff;border-radius:7px;padding:6px 7px;font-size:11px;font-weight:770}.reply-mini-btn{border:1px solid #2d425f;background:#1d304b;color:#97abc5;border-radius:7px;padding:5px 8px;font-size:11px}.reply-mini-btn:hover{background:#2a4668}.add-reply-btn{background:#173353;border:1px dashed #42648b;border-radius:10px;color:#b5d7fe;padding:12px 11px;margin:10px 17px 13px;font-size:11px;font-weight:730}.add-reply-btn span{font-size:17px;margin-right:5px}.replies-footer{text-align:center;font-size:10px;color:#7590b2;border-top:1px solid #273d57;padding:12px}.replies-footer span{color:#a4bfff;margin-right:4px}.work-grid.hide-replies{grid-template-columns:minmax(300px,345px) 1fr}.work-grid.hide-replies .replies-pane{display:none}.floating-quick{position:fixed;bottom:22px;right:23px;z-index:10;background:#396fcc;border:1px solid #6498eb;color:#fff;padding:11px 16px;border-radius:30px;box-shadow:0 6px 20px #0008;font-size:12px;font-weight:750}.config-alert{background:#3e3116;border-bottom:1px solid #796027;padding:13px 30px;color:#ffe4a5;display:flex;align-items:center;gap:12px;font-size:12px}.config-alert .alert-icon{height:22px;width:22px;display:grid;place-items:center;border-radius:50%;background:#7d5c1c;font-weight:900}.config-alert span:nth-child(2){flex:1}.config-alert button{border:1px solid #947337;background:#59451d;color:#ffe7b6;padding:7px 9px;border-radius:8px;font-size:11px}
.modal-overlay{position:fixed;inset:0;background:#050a15cf;z-index:90;display:grid;place-items:center;padding:18px;backdrop-filter:blur(6px)}.modal-card{background:linear-gradient(155deg,#192944,#111e31);border:1px solid #355070;border-radius:18px;box-shadow:var(--shadow);width:min(100%,470px);max-height:94dvh;overflow:auto;padding:23px}.modal-header{display:flex;align-items:start;justify-content:space-between;margin-bottom:21px}.modal-header h2{font-size:21px;letter-spacing:-.5px;margin:4px 0 0}.modal-close{background:#253651;border:1px solid #3a4c66;border-radius:9px;color:#c5d3e8;width:30px;height:30px;font-size:20px}.modal-form{display:flex;flex-direction:column;gap:13px}.modal-form label,.auth-card label{font-size:11px;color:#adc0dc;font-weight:700;display:block;margin-bottom:6px}.modal-form input,.modal-form textarea,.auth-card input{width:100%;background:#101d30;border:1px solid #385172;border-radius:9px;padding:12px 13px;color:white;outline:0;resize:vertical}.modal-form input:focus,.modal-form textarea:focus,.auth-card input:focus{border-color:#5b92ec}.modal-help{margin:0 0 6px;color:#94a9c7;font-size:12px;line-height:1.8}.modal-help b{color:#cde2ff}.modal-note{color:#7a95b6;font-size:11px;background:#142941;border:1px solid #274466;padding:12px;border-radius:10px;line-height:1.65}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:10px}.btn{border-radius:9px;padding:11px 15px;font-size:12px;font-weight:780;display:inline-flex;justify-content:center;align-items:center;gap:10px}.btn-primary{background:linear-gradient(115deg,#4a8afe,#2f61c2);border:1px solid #5392ef;color:#fff}.btn-secondary{background:#1e304a;border:1px solid #3a536f;color:#bed1eb}.btn-danger{background:#783b47;border:1px solid #9a5161;color:#ffe4e9}.btn-block{width:100%;margin-top:15px}.form-error{font-size:11px;color:#ff9ca5;min-height:15px;margin-top:7px}.auth-screen{display:grid;place-items:center;min-height:100dvh;background:radial-gradient(circle at 48% 21%,#1a3457,#091323 64%);padding:24px}.auth-card{background:#172740;border:1px solid #365270;border-radius:18px;width:min(440px,100%);padding:35px;box-shadow:var(--shadow)}.auth-logo{height:49px;width:49px;background:#2c5794;border-radius:13px;display:grid;place-items:center;color:#c9dfff;font-size:31px;margin-bottom:18px}.auth-card h1{font-size:27px;margin:5px 0}.auth-card p{font-size:12px;color:#95aaca;line-height:1.7;margin:0 0 25px}.auth-card input{margin-bottom:2px}.toast-root{position:fixed;bottom:19px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;gap:10px;z-index:150;align-items:center;pointer-events:none}.toast{background:#213b5c;border:1px solid #5075a3;border-radius:9px;color:#f2f7ff;padding:11px 18px;font-size:12px;box-shadow:0 15px 30px #02070f9c;max-width:460px;text-align:center}.toast.error{background:#4f2731;border-color:#a25567}.toast.success{background:#194e42;border-color:#3d9f81}.modal-progress{display:flex;gap:6px;margin-bottom:15px}.modal-progress>span{height:4px;flex:1;border-radius:2px;background:#2b415e}.modal-progress>span.done{background:#4a8cfa}.settings-list{color:#b3c7e2;font-size:12px;line-height:1.85;padding-left:17px}.settings-list li{margin-bottom:8px}.settings-list code{color:#d3e7ff;background:#273951;border-radius:4px;padding:2px 4px}.danger-text{color:#f5b1bd}.empty-quick{text-align:center;color:#849bb8;font-size:12px;line-height:1.6;padding:28px 11px}
@media(max-width:1260px){.account-rail{width:228px;flex-basis:228px}.work-grid{grid-template-columns:280px minmax(300px,1fr) 272px}.stats-strip{padding:20px 23px}.topbar{padding:11px 22px}.replies-top{padding:19px 14px 8px}.replies-subtitle{margin:4px 14px 13px}.reply-search{margin:0 14px 13px}.replies-list{padding:0 11px}}
@media(max-width:1080px){.work-grid{grid-template-columns:290px minmax(320px,1fr)}.replies-pane{position:fixed;z-index:30;right:0;top:0;bottom:0;width:315px;transform:translateX(105%);transition:transform .2s ease;box-shadow:-18px 0 38px #0006}.replies-pane.open{transform:translateX(0)}.work-grid.hide-replies{grid-template-columns:290px minmax(320px,1fr)}.work-grid.hide-replies .replies-pane{display:flex}.floating-quick{display:block!important}.topbar-right{gap:12px}.top-separator{display:none}}
@media(max-width:760px){.app-shell{min-height:0}.account-rail{width:76px;flex-basis:76px;padding:19px 8px}.brand-wrap{padding:0 8px 25px}.brand-wrap>div:nth-child(2),.rail-label-row,.rail-nav span:last-child,.account-section-heading,.account-main,.tiny-status,.add-account span:last-child,.safe-box,.help-trigger,.account-item .account-main{display:none}.rail-nav{justify-content:center;margin-bottom:24px;padding:11px}.account-item{justify-content:center;padding:8px}.account-item .avatar{width:39px;height:39px}.add-account{justify-content:center}.stats-strip{min-height:95px;padding:14px 17px}.stats-intro h1{font-size:20px}.stats-intro p{font-size:10px}.stat-value{font-size:17px}.stat-label{font-size:9px}.stats-items{gap:10px}.stats-divider{height:24px}.topbar{min-height:60px;padding:8px 15px}.topbar-right .today-label,.live-indicator{display:none}.work-grid,.work-grid.hide-replies{grid-template-columns:250px minmax(280px,1fr)}.inbox-heading{padding:16px 12px 5px}.selected-account-label{padding:0 12px 6px}.inbox-search{margin:6px 11px 11px}.filter-row{padding:0 10px 10px}.private-filter{display:none}.dialog-item{padding:12px 9px}.dialog-avatar{width:33px;height:33px}.chat-header{padding:10px}.messages-box{padding:16px 12px}.composer-area{padding:10px}.composer-tools .composer-hint{display:none}}
@media(max-width:565px){.account-rail{width:60px;flex-basis:60px;padding:15px 5px}.brand-symbol{width:35px;height:35px}.brand-symbol svg{width:21px;height:21px}.brand-wrap{padding:0 7px 20px}.account-item .avatar{height:33px;width:33px;font-size:11px}.add-account{padding:8px}.topbar{min-height:53px}.breadcrumbs{font-size:12px}.top-caption{display:none}.stats-strip{min-height:75px}.stats-intro p{display:none}.stats-intro h1{font-size:18px}.stat{min-width:auto}.stat-value{font-size:15px}.stats-items{gap:7px}.stats-divider{height:22px}.work-grid,.work-grid.hide-replies{display:flex;position:relative}.inbox-pane{width:100%;flex:1}.chat-pane{position:absolute;inset:0;z-index:4;transform:translateX(105%);transition:transform .2s ease}.work-grid.mobile-chat .chat-pane{transform:translateX(0)}.work-grid.mobile-chat .inbox-pane{visibility:hidden}.header-back{display:inline-flex!important;align-items:center;justify-content:center;background:#1f3858;border:1px solid #35577c;color:#d9e8ff;width:30px;height:30px;border-radius:8px;margin-right:7px}.chat-header-actions .header-btn{padding:8px}.chat-header-actions .header-btn .text{display:none}.replies-pane{width:min(320px,88vw)}.floating-quick{bottom:11px;right:11px;padding:10px 12px}.floating-quick span{display:none}.config-alert{font-size:11px;padding:8px 12px;flex-wrap:wrap}.config-alert button{margin-left:25px}}

.inbox-heading-actions{display:flex;align-items:center;gap:7px}

/* Batch-send: explicitly chosen Telegram contacts, confirmation, and live progress. */
.batch-toolbar{padding:8px 14px 13px;display:flex;gap:9px;align-items:center;justify-content:space-between;border-bottom:1px solid #243550}
.batch-launch{display:inline-flex;align-items:center;gap:8px;justify-content:center;border:1px solid #4b80d2;background:linear-gradient(120deg,#2454a3,#1c4275);color:#e6f2ff;padding:9px 10px;border-radius:9px;font-size:11px;font-weight:800;flex-shrink:0}
.batch-launch strong{border-radius:5px;background:#2e639f;padding:3px 5px;color:#d6eaff;font-size:10px}
.batch-toolbar>span{font-size:10px;color:#7694b5;text-align:right}
.modal-card.batch-wide{width:min(100%,760px);max-height:96dvh}
.batch-meta{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:13px;background:#142d4c;border:1px solid #315377;border-radius:10px;padding:10px 12px;font-size:12px}
.batch-meta span{color:#9bb8db;font-size:11px}
.batch-controls{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:17px 0 7px}
.batch-controls label,.batch-message label{font-size:11px;color:#b6c9e4;font-weight:700}
.batch-controls label{width:100%}
.batch-controls input,.batch-message select,.batch-message textarea{width:100%;padding:10px 12px;color:#f3f7ff;border:1px solid #3b5878;background:#101d30;border-radius:9px;outline:none}
.batch-controls input:focus,.batch-message select:focus,.batch-message textarea:focus{border-color:#68a3ff}
.batch-picked{font-size:11px;font-weight:800;color:#82b6fd;margin-left:auto}
.batch-contact-list{border:1px solid #2a4261;border-radius:11px;max-height:215px;overflow:auto;background:#0d1c30}
.batch-contact{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #253b55;cursor:pointer}
.batch-contact:last-child{border-bottom:0}.batch-contact:hover{background:#192f4b}
.batch-contact input{accent-color:#4c94ff;width:17px;height:17px}
.batch-contact .avatar{width:31px;height:31px;font-size:10px;flex-shrink:0}
.batch-contact-info{min-width:0;display:flex;flex-direction:column;gap:2px}
.batch-contact-info b{font-size:12px;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.batch-contact-info small{font-size:10px;color:#8da9c9}
.batch-message{display:flex;flex-direction:column;gap:7px;margin:13px 0}
.batch-message textarea{resize:vertical;min-height:88px;line-height:1.6}
.batch-review-names{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0;max-height:160px;overflow:auto}
.batch-review-names span{background:#213d5c;border:1px solid #416183;color:#d1e6ff;padding:6px 9px;border-radius:7px;font-size:11px}
.batch-message-preview{background:#0b1b2e;border:1px solid #315173;border-radius:10px;padding:13px;max-height:160px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65}
.batch-confirm{display:flex;gap:11px;align-items:flex-start;margin:15px 0;font-size:12px;color:#abc1da;line-height:1.6}
.batch-confirm input{width:17px;height:17px;flex-shrink:0;accent-color:#4b92fe;margin-top:3px}
.batch-history-link{border:0;background:transparent;color:#9dc3fa;text-decoration:underline;font-size:11px;margin:5px 0 8px;padding:0}
.batch-wait{padding:28px 8px;text-align:center;color:#91aacc;font-size:12px}
.batch-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:19px}
.batch-totals>div{background:#142c48;border:1px solid #305071;border-radius:12px;padding:14px;display:flex;flex-direction:column;align-items:center}
.batch-totals b{font-size:24px;color:#deeeff}.batch-totals small{font-size:11px;color:#a8bdd6}
.batch-progress-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin:10px 0;color:#b7cdeb}
.batch-progress-track{background:#243954;border-radius:7px;height:8px;overflow:hidden;margin-bottom:13px}
.batch-progress-track span{display:block;height:100%;background:#58a0f9;transition:width .25s}
.batch-results{max-height:230px;overflow:auto;margin-bottom:13px;border:1px solid #26415e;border-radius:9px}
.batch-result{display:flex;justify-content:space-between;gap:12px;padding:8px 11px;border-bottom:1px solid #223851;font-size:11px}
.batch-result:last-child{border-bottom:0}.batch-result>span:first-child{max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.batch-status{font-weight:750;text-transform:capitalize;color:#8b9cb4}.batch-status.sent{color:#69d5a3}.batch-status.failed{color:#ffaab3}.batch-status.sending{color:#86bcff}.batch-status.skipped{color:#e3c49b}
@media(max-width:900px){.batch-toolbar{flex-direction:column;align-items:stretch}.batch-toolbar>span{text-align:center}.batch-launch{width:100%}}

/* V3: Paste numbers and match existing saved Telegram contacts. */
.batch-paste-panel{margin:15px 0;padding:13px;background:#132944;border:1px solid #355576;border-radius:12px}
.batch-paste-panel>label{display:block;font-size:12px;font-weight:800;color:#d8e9ff;margin-bottom:6px}
.batch-paste-panel p{font-size:11px;color:#a0b8d4;line-height:1.6;margin:0 0 9px}
.batch-paste-panel code{font-size:10px;color:#acd4ff}
.batch-paste-panel textarea{width:100%;resize:vertical;min-height:84px;background:#0c1b2e;color:#f0f6ff;border:1px solid #456487;border-radius:8px;padding:11px;line-height:1.5;font-size:12px;outline:none}
.batch-paste-panel textarea:focus{border-color:#69aaff}
.batch-paste-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.batch-paste-actions .btn{font-size:11px;padding:9px 11px}
.batch-paste-report{font-size:11px;color:#b7d1ee;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px}

/* V4: Explicit opt-in before writing contacts to Telegram. */
.batch-paste-panel > .batch-import-consent{display:flex;align-items:flex-start;font-size:11px;font-weight:500;color:#b9d4f1;background:#192f4a;border:1px solid #345476;padding:10px;border-radius:9px;margin:10px 0}
.batch-paste-panel > .batch-import-consent input{flex-shrink:0;cursor:pointer}
