/* WS Connect customer workspace: the same account flow, with a complete brand treatment. */
:root{font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;--green:#087e62;--green-dark:#06674f;--soft:#f2f7f4;--muted:#60776c;--line:#e1eae4;--paper:#f2f7f4;--out:#d8f5df;--shadow:0 12px 45px #153e3510;color:#1a352c;background:#e9f0ec}
.primary{border-radius:12px;min-height:48px;font-size:15px;font-weight:700;box-shadow:0 4px 10px #087e6210;transition:background .15s,transform .15s}.primary:active{transform:translateY(1px)}.secondary{border-radius:12px;min-height:46px}.text-button{font-size:14px}.small-pill{font-size:12px}label{font-size:14px}input,select,textarea{border-color:#d8e4dc;border-radius:11px;font-size:16px}input:focus,textarea:focus,select:focus{box-shadow:0 0 0 3px #087e6218;border-color:#298968}.muted{color:#60776c}.panel-header h1{font-size:30px;letter-spacing:-.7px}.panel-header p{font-size:15px}.panel-kicker{font-size:12px;letter-spacing:1.4px}.panel-view{background:#f3f7f4}.panel-card,.reply-card{border-radius:18px;border-color:#e1eae4;box-shadow:0 3px 12px #153e3503}.reply-card{padding:25px}.reply-card p{font-size:15px;color:#526d5e}.template-badge,.status-pill{font-size:12px}.setting-line{font-size:15px;align-items:center}.setting-line select{max-width:180px}.setting-line small{display:block;font-size:13px;margin-top:5px}.panel-note{font-size:14px}.profile-row h3{font-size:19px}.profile-row small{font-size:14px}
.login-layout{background:#fafcf9;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.login-story{background:#153e35;color:#fff;min-height:100dvh;padding:44px clamp(35px,5vw,90px);position:relative;display:flex;flex-direction:column;overflow:hidden}.login-story:before{width:650px;height:650px;left:auto;right:-450px;top:15%;border:80px solid #c3e9ce09}.login-story .story-content{max-width:520px;padding:12px 0 35px;margin:auto 0;z-index:1}.login-story .eyebrow{display:block;font-size:12px;color:#a3dbb6;letter-spacing:1.9px}.login-story h1{font-size:clamp(34px,3.6vw,54px);font-weight:700;line-height:1.4;letter-spacing:-2px;margin:24px 0}.login-story .story-content>p{color:#bad3c6;font-size:16px;line-height:1.9}.story-conversation{margin:36px 0 28px;max-width:390px}.story-bubble{display:flex;gap:12px;align-items:flex-start;max-width:340px;background:#ffffff0b;border:1px solid #ffffff1c;color:#f1faf4;box-shadow:none;transform:none;border-radius:16px 16px 16px 4px;padding:16px 18px;font-size:14px;margin:0}.story-avatar{display:grid!important;place-items:center;flex-shrink:0;width:29px;height:29px;background:#c9f2d2;color:#17543a;border-radius:10px;font-size:12px!important;font-weight:750;margin:0!important}.story-bubble>div{flex:1;line-height:1.8}.story-bubble small{display:block;color:#a7c7b5;font-size:12px;text-align:right;line-height:1.6;margin-top:6px}.story-bubble.sent{margin:14px 0 0 52px;background:#d8f0d5;color:#1f543a;border:0;transform:none;border-radius:16px 16px 4px 16px}.story-bubble.sent small{color:#52715b}.story-conversation-note{display:flex;gap:8px;align-items:center;font-size:12px;color:#bad3c6;margin:20px 0 0 53px}.story-conversation-note>span{width:6px;height:6px;border-radius:100%;background:#a9d4b3}.login-panel{padding:48px;background:#fafcf9}.login-form-wrap{max-width:380px}.login-form-wrap h2{font-size:31px;font-weight:750;letter-spacing:-1px;margin:0 0 12px}.login-form-wrap>p{font-size:15px}.login-form-wrap form{margin-top:30px;gap:22px}.login-form-wrap input{min-height:51px;background:#fff}.login-form-wrap .primary{min-height:51px}.password-field .text-button{top:13px;right:15px;font-size:13px}.help-line{font-size:13px!important;line-height:1.9;margin-top:25px}.login-footer{font-size:12px;letter-spacing:.4px;color:#72877a;bottom:25px}.login-form-wrap .small-pill{font-size:12px}
.workspace{max-width:none;box-shadow:none}.rail{width:82px;flex-basis:82px;background:#153e35;border:0;color:#d9eade;padding:22px 10px 18px}.rail-brand{background:none;width:46px;height:46px;margin-bottom:34px;border-radius:16px;padding:0}.rail-brand img{display:block;width:46px;height:46px}.rail-main,.rail-bottom{gap:12px;width:100%}.rail-button{width:62px;height:62px;border-radius:15px;color:#accdbb;gap:5px;display:flex;align-items:center;justify-content:center;flex-direction:column}.rail-button .icon{width:21px;height:21px}.rail-label{display:block;font-size:12px;line-height:1.25;font-weight:600}.rail-button:hover{background:#ffffff0d;color:#fff}.rail-button.active{background:#d3f2da;color:#1b5b3f}.rail-dot{border-color:#153e35;top:7px;right:14px}.self-avatar{width:35px;height:35px;border:2px solid #426959}.sidebar{width:350px;min-width:290px;border-color:#e1eae4}.sidebar-header{padding:24px 23px 17px}.workspace-wordmark{display:flex;align-items:center;gap:8px;margin-bottom:19px}.workspace-wordmark img{width:27px;height:27px;border-radius:9px}.workspace-brand{text-transform:none;letter-spacing:-.3px;color:#29543c;font-size:16px;font-weight:750}.sidebar-header h1{font-size:24px;letter-spacing:-.7px;margin:0;font-weight:750}.sidebar-header>.icon-button{align-self:flex-end;background:#e9f4ed;border:1px solid #dcebe0;border-radius:12px;color:#267348;width:39px;height:39px}.search-wrap{margin:0 18px 15px}.search-wrap input{height:43px;background:#f3f7f4;font-size:14px;border-radius:11px}.filters{padding:0 18px 15px;gap:7px}.filter{font-size:12px;padding:8px 12px;background:#f2f6f3;color:#647c6b}.filter.active{background:#dff2e3;color:#226442}.conversation{height:86px;padding:0 20px;gap:12px}.conversation:after{left:78px;background:#edf2ee}.conversation:hover{background:#f6faf6}.conversation.selected{background:#edf7ed;box-shadow:inset 3px 0 #228356}.conversation .avatar{border-radius:16px;color:#31533c;font-weight:650}.conversation-top strong{font-size:15px;font-weight:650}.conversation-top time{font-size:12px}.conversation-bottom p{font-size:13px}.unread-badge{background:#0b805b}.sidebar-wallet{border-color:#e3ece6;background:#fbfdfb;padding:17px 20px;gap:11px}.wallet-mini-icon{background:#e7f3e9;border-radius:13px}.sidebar-wallet>div>span{font-size:12px}.sidebar-wallet strong{font-size:19px;color:#245d3e}.sidebar-wallet>.text-button{font-size:12px}.list-empty{font-size:14px;color:#68806f}.chat-main{background:#f2f7f3}.empty-chat{border:0;background:radial-gradient(ellipse at 50% 35%,#e6f3e7,transparent 60%)}.empty-chat .empty-art{margin-bottom:30px}.empty-chat h2{font-size:27px;font-weight:650;color:#244f38}.empty-brand{font-size:12px;letter-spacing:1.6px;color:#4b805d;text-transform:uppercase;margin:0 0 4px;font-weight:700}.empty-chat p{font-size:15px;color:#6a8372}.empty-chat .primary{border-radius:12px}.empty-foot{font-size:12px;color:#6b8573;bottom:32px}.empty-card.first{border:1px solid #dceade;box-shadow:0 16px 40px #184c2510}.empty-card.second{background:#cceacb}.thread-header{background:#fbfdfb;border-color:#dfe9e1;height:77px;padding:12px 25px}.contact-heading .avatar{border-radius:14px}.contact-heading strong{font-size:16px;font-weight:700}.contact-heading small{font-size:12px}.thread-header .icon-button{border-radius:12px}.message-scroll{background-color:#f0f6f1;background-image:radial-gradient(#b2ccba40 .7px,transparent .7px);background-size:18px 18px;padding-top:22px}.bubble{border-radius:4px 15px 15px;border:1px solid #e0eae2;box-shadow:0 2px 5px #1b4e2e04;padding:11px 14px 7px}.bubble.outbound{background:#d9efd7;border-color:#cce3c9;border-radius:15px 4px 15px 15px}.bubble p{font-size:15px;line-height:1.75}.bubble-meta{font-size:12px;color:#67806f}.message-status.read{color:#167a8a}.day-divider{font-size:12px;background:#ffffffd9;color:#607865;border:1px solid #e2eae3;box-shadow:none;border-radius:20px;padding:5px 13px}.composer-wrap,.composer{background:#fbfdfb}.composer-wrap{border-top:1px solid #dfe9e1;padding:0 20px 12px}.composer{gap:5px;padding:9px 0}.composer textarea{background:#f1f6f2;border:1px solid #e0e9e1;border-radius:12px;min-height:46px;font-size:15px}.composer-caption{font-size:12px;color:#6f8777}.reply-tools{font-size:12px;padding:10px 5px 3px}.reply-tools .text-button{font-size:12px}.send-button{border-radius:13px;width:45px;height:45px}.reply-tools #window-status{color:#568064}.contact-drawer{background:#f3f7f4;border-color:#dfe9e1}.contact-drawer>header strong{font-weight:650}.contact-profile{padding-top:30px}.contact-profile .avatar{border-radius:27px}.detail-section h3{font-size:13px;font-weight:650}.detail-section p{font-size:15px}.wallet-hero{min-height:230px;border-radius:22px;background:#153e35;border-color:#153e35;padding:36px;position:relative;overflow:hidden}.wallet-hero:after{content:"";position:absolute;width:180px;height:180px;right:-55px;bottom:-85px;border:32px solid #d6f5d314;border-radius:50%;pointer-events:none}.wallet-hero .eyebrow{color:#b4d2bf;font-size:14px}.wallet-amount{color:#e2f6df;font-size:58px;letter-spacing:-2px;font-weight:650;margin:17px 0 0}.wallet-hero p{color:#b4d2bf}.wallet-view-note{max-width:600px}.demo-banner{left:82px}.workspace.demo .rail{margin-top:-30px;height:calc(100% + 30px)}dialog{border:1px solid #e0eae2;border-radius:20px;padding:28px;box-shadow:0 30px 90px #153e3530}dialog::backdrop{background:#0c2f2370}.modal-top h2{font-weight:700}.modal-error,.form-error,.send-error{font-size:14px}#toast{background:#153e35;border-radius:12px;font-size:14px}
body.dark{--green:#74d79c;--green-dark:#8ee5ae;--muted:#a3baad;--line:#2d483b;--paper:#142b22;--out:#2d6141;color:#e8f2e9;background:#10261d;color-scheme:dark}.dark .primary,.dark .send-button{background:#91d9a6;color:#173c29}.dark .workspace,.dark .sidebar,.dark .conversation,.dark .panel-card,.dark .reply-card,.dark .contact-profile,.dark .detail-section,.dark .contact-drawer>header,.dark dialog{background:#142c22;color:#e5eee7}.dark .rail{background:#0e2219}.dark .rail-button{color:#9bbcaa}.dark .rail-button.active{background:#3d634b;color:#e5f6e7}.dark .workspace-brand,.dark .sidebar-header h1,.dark .sidebar-wallet strong{color:#d9eddb}.dark .sidebar-header>.icon-button,.dark .wallet-mini-icon{background:#254b35;color:#a1d9ab;border-color:#365b42}.dark .search-wrap input,.dark .composer textarea,.dark input,.dark textarea,.dark select,.dark .filter,.dark .secondary{background:#203d2c;color:#d9e9dc;border-color:#36533f}.dark .conversation.selected,.dark .conversation:hover{background:#254831}.dark .conversation:after{background:#274334}.dark .conversation .avatar{color:#294a36}.dark .sidebar-wallet,.dark .thread-header,.dark .composer-wrap,.dark .composer{background:#183126;border-color:#2a4736}.dark .message-scroll{background-color:#142b22;background-image:radial-gradient(#a2c4a918 .7px,transparent .7px)}.dark .bubble{background:#25432f;border-color:#33553c}.dark .bubble.outbound{background:#356344;border-color:#416e4d}.dark .bubble-meta{color:#b0c8b5}.dark .day-divider{background:#25442f;color:#c4d9c8;border-color:#365740}.dark .chat-main,.dark .panel-view,.dark .contact-drawer{background:#12291e}.dark .empty-chat{background:radial-gradient(ellipse at 50% 35%,#21432c,transparent 70%)}.dark .empty-brand,.dark .empty-chat h2{color:#cae6cb}.dark .empty-chat p,.dark .empty-foot,.dark .muted,.dark .reply-card p,.dark .setting-line span,.dark .panel-header p{color:#a6bfad}.dark .wallet-hero{background:#214d32;border-color:#3c6548}.dark .wallet-amount{color:#d9f2d9}.dark .small-pill,.dark .status-pill,.dark .panel-note{background:#284f35;color:#c5e6c9}.dark .empty-card{background:#33523b;border-color:#42634b}.dark .empty-card.second{background:#4f7856}.dark .composer-popover,.dark .popover-reply{background:#203d2b;color:#d9eddb}.dark .reply-tools #window-status{color:#b5d4bc}.dark .setting-line,.dark .sidebar,.dark .contact-drawer,.dark .panel-card,.dark .reply-card{border-color:#2d4836}.dark .text-button{color:#91d9a6}.dark .modal-top .icon-button{color:#c3d6c8}.dark .login-layout{color-scheme:light;color:#1a352c}
@media(min-width:1600px){.workspace{width:100%;height:100dvh;margin:0}.sidebar{width:380px}}
@media(max-width:1100px){.sidebar{width:310px;min-width:275px}.rail{width:74px;flex-basis:74px;padding-left:6px;padding-right:6px}.rail-button{width:58px}.demo-banner{left:74px}.login-story{padding:35px}.story-conversation{max-width:100%}.story-bubble.sent{margin-left:25px}.login-panel{padding:36px}.login-story h1{font-size:39px}.workspace-brand{font-size:15px}}
@media(max-width:850px){.sidebar{width:290px;min-width:260px}.sidebar-header{padding-left:18px;padding-right:18px}.workspace-wordmark{gap:7px}.sidebar-header h1{font-size:23px}.message-scroll{padding:15px 20px}.composer-wrap{padding-left:12px;padding-right:12px}.thread-header{padding:11px 17px}.rail{width:68px;flex-basis:68px}.rail-button{width:55px}.demo-banner{left:68px}.story-conversation{display:none}.login-story .story-content{padding:20px 0}.auth-brand .brand-name{font-size:21px}}
@media(max-width:680px){.workspace{height:100dvh;width:100%;margin:0}.rail{position:absolute;bottom:0;left:0;right:0;width:100%;height:calc(68px + env(safe-area-inset-bottom));padding:5px 10px calc(5px + env(safe-area-inset-bottom));background:#fbfdfb;border-top:1px solid #dce9df;flex-direction:row;justify-content:space-around}.rail-brand,.rail-bottom .self-avatar{display:none}.rail-main,.rail-bottom{display:contents}.rail-button{width:58px;height:56px;border-radius:12px;color:#6a8171;gap:4px}.rail-button.active{background:#e0f2e3;color:#256d42}.rail-button:hover{background:#edf6ed;color:#256d42}.rail-label{font-size:12px}.rail-dot{border-color:#fff;top:4px;right:13px}.chat-layout{padding-bottom:calc(68px + env(safe-area-inset-bottom))}.sidebar{width:100%;min-width:0}.sidebar-header{padding:18px 20px 15px}.workspace-wordmark{margin-bottom:15px}.workspace-wordmark img{width:29px;height:29px}.workspace-brand{font-size:17px}.sidebar-header h1{font-size:26px}.conversation{height:87px;padding-left:20px;padding-right:20px}.conversation .avatar{width:49px;height:49px;border-radius:17px}.conversation-top strong{font-size:16px}.conversation-bottom p{font-size:14px}.filters{padding-bottom:14px}.filter{font-size:13px;padding:8px 13px}.search-wrap input{height:44px;font-size:15px}.sidebar-wallet{padding:13px 20px}.sidebar-wallet>div>span{font-size:12px}.sidebar-wallet strong{font-size:19px}.sidebar-wallet>.text-button{font-size:13px}.workspace.thread-open .chat-layout{padding-bottom:0}.workspace.thread-open .rail{display:none}.thread-header{height:70px;padding:8px 10px 8px 3px}.contact-heading strong{font-size:16px}.contact-heading small{font-size:12px}.contact-heading .avatar{width:42px;height:42px}.message-scroll{padding:12px 14px 22px}.bubble{max-width:88%;padding:9px 12px 7px}.bubble p{font-size:15px}.composer-wrap{padding:0 8px max(8px,env(safe-area-inset-bottom))}.composer textarea{font-size:16px;min-height:45px}.composer-caption{font-size:12px}.reply-tools{font-size:12px}.reply-tools .text-button{font-size:12px}.send-button{width:43px;height:43px}.panel-view{padding:24px 18px calc(100px + env(safe-area-inset-bottom))}.panel-header h1{font-size:27px}.panel-header p{font-size:14px}.panel-card{padding:22px}.setting-line{font-size:14px;gap:14px}.setting-line select{max-width:140px}.wallet-hero{min-height:215px;padding:29px}.wallet-amount{font-size:52px}.wallet-hero .eyebrow{font-size:14px}.reply-grid{gap:14px}.login-layout{display:flex;min-height:100dvh}.login-story{min-height:0;padding:27px 27px 25px}.login-story .auth-brand{margin-bottom:25px}.login-story .story-content{padding:0;margin:0}.login-story .eyebrow{display:block;font-size:12px;letter-spacing:1.7px;margin-bottom:12px}.login-story h1{font-size:28px;line-height:1.45;margin:0;letter-spacing:-1px}.login-story h1 br{display:none}.login-story .story-content>p,.story-conversation,.auth-footer{display:none}.login-story:before{top:0;right:-530px}.login-panel{padding:31px 27px 65px;align-items:flex-start;background:#fafcf9}.login-form-wrap{max-width:430px}.login-form-wrap h2{font-size:27px}.login-form-wrap form{margin-top:25px;gap:19px}.auth-form-heading{margin-bottom:17px}.login-footer{font-size:12px}.workspace.demo .rail{height:calc(68px + env(safe-area-inset-bottom));margin:0}.demo-banner{left:0}.dark .rail{background:#132c20;border-color:#2e4a37}.dark .rail-button.active{background:#365b40}.dark .rail-button:hover{background:#2c4b35}.dark .rail-button{color:#bdd6c4}.dark .rail-dot{border-color:#132c20}}
@media(max-width:360px){.login-story,.login-panel{padding-left:22px;padding-right:22px}.login-form-wrap h2{font-size:25px}.filters{gap:5px;padding-left:14px;padding-right:14px}.filter{padding:8px 11px}.thread-header .contact-heading{gap:7px}.thread-actions .icon-button{width:30px}}
