:root{font-family:Inter,Segoe UI,Microsoft JhengHei,Microsoft YaHei,Yu Gothic UI,Malgun Gothic,sans-serif;color:#243f39;background:#f4f6f2;font-synthesis:none;font-size:14px;--green: #235c4d;--line: #e2e8e2;--muted: #7b8882}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:transparent;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #8bbb95;outline-offset:3px}input,select,textarea{color:inherit;border:1px solid var(--line);background:#fff;border-radius:8px;padding:11px 12px;min-width:0;width:100%;outline:none}input:focus,select:focus,textarea:focus{border-color:#78a58c;box-shadow:0 0 0 3px #78a58c15}textarea{resize:vertical;min-height:90px;line-height:1.6}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:26px;letter-spacing:-.7px}h2{font-size:19px}h3{font-size:13px}small{font-size:11px;color:var(--muted)}label{display:block;font-size:12px;font-weight:600}label input{margin-top:7px}form label+label{margin-top:18px}form>.primary{margin-top:20px}svg{flex-shrink:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;font-weight:600;padding:11px 17px}.primary{background:var(--green);color:#fff}.primary:hover{background:#184537}.secondary{background:#eef2ed;color:#315b4b;padding:8px 12px;font-size:12px}.icon{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:7px}.icon:hover{background:#edf2ed}.text-button{color:var(--green);font-size:12px}.eyebrow{font-size:10px;letter-spacing:2px;color:#85958a;font-weight:700}.error{color:#a34236;background:#fff1ed;padding:10px;border-radius:7px;font-size:12px}.banner{margin:0;border-radius:0}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.avatar{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:12px;background:#e8eee1;color:#496342;font-size:14px;font-weight:700}.badge{display:inline-flex;border-radius:5px;padding:3px 6px;font-size:10px;white-space:nowrap}.badge.open{color:#ad702d;background:#faf0dd}.badge.pending{color:#5274a1;background:#edf2fa}.badge.resolved{color:#437954;background:#e7f0e6}.source{font-size:10px;color:#718276;background:#f0f3ed;padding:3px 6px;border-radius:4px}.mono{font-family:Consolas,monospace;font-size:11px;overflow-wrap:anywhere}.online-dot,.offline-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#5d9d70;margin-right:6px}.offline-dot{background:#bf9b5d}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;padding:40px 24px;min-height:220px}.empty-mark{font-size:29px;display:grid;place-items:center;background:#e9eee5;color:#739066;border:1px solid #dae3d6;width:65px;height:65px;border-radius:22px;margin-bottom:22px}.empty h2{font-size:19px}.empty p{color:#8a958e;font-size:12px;max-width:280px;line-height:1.8;margin:0}.workspace{display:flex;height:100dvh;overflow:hidden}.sidebar{width:82px;background:#203f35;color:#b4c8bb;display:flex;align-items:center;flex-direction:column;flex-shrink:0;padding:23px 10px}.sidebar-logo{width:43px;height:43px;background:#bfd2a9;color:#254837;display:grid;place-items:center;border-radius:13px}.side-nav{margin-top:42px;display:grid;gap:12px;width:100%}.side-nav button{display:flex;align-items:center;flex-direction:column;gap:7px;padding:14px 0;border-radius:9px;font-size:10px;width:100%}.side-nav button.selected{background:#3d5a48;color:#e2efcf}.side-nav button:hover{background:#315141}.sidebar-bottom{margin-top:auto;display:grid;justify-items:center;gap:20px}.sidebar-bottom .avatar{background:#375747;color:#d8e3c8}.workspace-main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;flex-shrink:0;font-size:12px}.topbar strong{font-size:14px;letter-spacing:1.5px}.topbar strong span{font-weight:400;color:#8c998e;font-size:10px}.breadcrumb{margin-left:22px;color:#89948d;font-size:11px}.topbar-right{display:flex;gap:23px;font-size:11px}.topbar-right>span:first-child{color:#78947c}.page-heading{padding:25px 30px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px}.page-heading h1{margin:7px 0 0;font-size:23px}.stats{display:flex;gap:25px;font-size:11px;color:#8d998f}.stats b{display:block;font-size:22px;font-weight:500;color:#46654f;margin-bottom:5px}.desk{display:flex;flex:1;min-height:0;border-top:1px solid var(--line);background:#fff}.conversation-list{width:298px;flex-shrink:0;border-right:1px solid var(--line);display:flex;flex-direction:column}.list-tools{padding:18px 16px 0}.search{position:relative;display:flex;align-items:center}.search svg{position:absolute;left:11px;color:#8b978e}.search input{margin:0;padding-left:34px;background:#f6f8f4;font-size:11px}.list-tools select{padding:7px 10px;margin-top:10px;font-size:11px;color:#809082;border:0;background:#f9faf7}.tabs{display:flex;gap:6px;margin-top:12px;justify-content:space-between}.tabs button{font-size:11px;padding:12px 4px;border-bottom:2px solid transparent;color:#8a958e}.tabs button.active{color:#315e48;border-bottom-color:#315e48;font-weight:700}.list-scroll{overflow:auto;flex:1}.conversation-item{display:flex;width:100%;text-align:left;gap:10px;padding:20px 16px;border-bottom:1px solid #eff2ec}.conversation-item:hover{background:#f6f9f3}.conversation-item.active{background:#edf3e7;box-shadow:inset 3px 0 #678756}.conversation-item>div{min-width:0;flex:1}.item-line{display:flex;justify-content:space-between;gap:6px;align-items:center}.item-line strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.item-line time{font-size:9px;color:#8d998f;white-space:nowrap}.conversation-item p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;color:#8a978e;margin:7px 0 10px}.unread{background:#426647;color:#fff;border-radius:10px;min-width:17px;height:17px;text-align:center;font-size:10px;padding:2px}.staff-chat{flex:1;min-width:0;display:flex;flex-direction:column;background:#fcfdfb}.chat-heading{display:flex;align-items:center;gap:12px;padding:20px 22px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}.chat-heading h1,.chat-heading h2{font-size:15px;margin:0 0 5px}.chat-heading p{margin:0;font-size:11px;color:#8b978c;overflow-wrap:anywhere}.chat-heading>div{min-width:0;flex:1}.chat-heading select{width:auto;font-size:11px;padding:7px;max-width:110px}.thread{padding:28px 24px;flex:1;overflow-y:auto;min-height:0;display:flex;flex-direction:column;gap:19px;overscroll-behavior:contain}.history{align-self:center;padding:8px}.message{max-width:82%;align-self:flex-start}.message small{display:block;font-size:10px;margin:0 0 6px 3px}.message>div{background:#fff;border:1px solid #e5e9e2;border-radius:0 13px 13px;padding:12px 15px;font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message time{display:block;font-size:9px;color:#99a195;margin:6px 4px}.message.mine{align-self:flex-end}.message.mine small,.message.mine time{text-align:right}.message.mine>div{background:#eaf0e2;border-color:#e0e8d7;border-radius:13px 0 13px 13px}.composer{margin:0 20px 20px;background:#fff;border:1px solid #dfe5db;border-radius:12px;padding:12px;box-shadow:0 4px 14px #26392a04}.composer textarea{padding:4px;border:0;box-shadow:none;min-height:70px;max-height:180px;resize:none;font-size:13px}.composer-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-foot small{font-size:10px}.composer .primary{font-size:12px;padding:9px 14px}.profile{width:276px;flex-shrink:0;border-left:1px solid var(--line);overflow:auto;padding:20px;background:#fff}.profile-title{display:flex;justify-content:space-between;align-items:center}.profile-title h3{margin:0}.profile-title button{display:none}.profile-person{text-align:center;padding:25px 0 20px}.profile-person .avatar{width:56px;height:56px;font-size:22px;border-radius:19px}.profile-person h2{font-size:15px;margin:12px 0 6px}.profile-person p{font-size:11px;color:#89958c;overflow-wrap:anywhere;margin-bottom:9px}.profile dl{margin:0;padding-bottom:18px;border-bottom:1px solid var(--line)}.profile dt{font-size:10px;color:#8b988c;margin:14px 0 5px}.profile dd{font-size:12px;margin:0;overflow-wrap:anywhere}.profile dd select{font-size:11px;padding:7px}.profile section{margin-top:24px}.profile h3 small{font-weight:400;font-size:9px;margin-left:5px}.tags{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.tags>span{display:inline-flex;align-items:center;gap:3px;background:#edf2e5;border-radius:5px;padding:5px 7px;font-size:10px}.tags button{padding:0;height:12px}.inline-form{display:flex;gap:4px}.inline-form input{font-size:11px;padding:8px}.profile textarea{font-size:11px;min-height:80px;background:#fbfcf8}.profile form>.secondary{margin-top:7px}.notes article{background:#faf8ed;border:1px solid #eeeada;border-radius:7px;padding:11px;margin-top:12px}.notes p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;margin-bottom:7px}.notes small{font-size:9px}.mobile-back{display:none}.customer-directory{padding:30px;overflow:auto;flex:1;min-width:0}.customer-directory>p{color:#89958a;font-size:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:10px;color:#89988b;font-weight:500;background:#f5f7f1}td,th{padding:15px 12px;border-bottom:1px solid var(--line)}td small{display:block;margin-top:6px}.settings-page{overflow:auto;padding:32px;flex:1}.settings-page h1{margin:8px 0 10px}.settings-page>p{color:#8b978c;font-size:12px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}.panel{padding:25px;border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0}.panel h2{font-size:17px}.panel p{font-size:12px;color:#8a968c;line-height:1.8}.setting-row{padding:14px 0;border-bottom:1px solid #edf0e8;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.setting-row small{display:block;overflow-wrap:anywhere}.setting-row strong{font-size:12px}.setting-row input{flex:1;min-width:180px}.panel form{margin-top:24px}.panel form .primary{font-size:12px}.audit{margin-top:24px}.key-box{background:#f3f6e8;padding:15px;margin-top:20px;border-radius:8px}.key-box code{display:block;overflow-wrap:anywhere;padding:12px 0;font-size:12px}.key-box small{display:block;margin-bottom:12px}.customer-page{max-width:900px;padding:30px 35px 20px;margin:auto;height:100dvh;display:flex;flex-direction:column}.customer-brand{display:flex;align-items:center;gap:12px;padding:0 5px 25px}.brand-symbol{display:grid;place-items:center;width:36px;height:36px;background:#254e3e;color:#d8e6c8;border-radius:11px}.customer-brand strong{font-size:16px;letter-spacing:1.8px}.customer-brand strong span{font-size:10px;font-weight:400;color:#89988a}.private{display:flex;align-items:center;gap:5px;font-size:10px;color:#8b988d;margin-left:8px}.customer-brand .lang-switch{position:relative;margin-left:auto;flex:none}.lang-btn{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 9px;border:1px solid #d5dfd2;border-radius:999px;background:#fcfdf9;color:#254e3e;font-size:12px;font-weight:650}.lang-btn svg{width:15px;height:15px}.lang-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:30;min-width:148px;padding:6px;border:1px solid #d5dfd2;border-radius:12px;background:#fcfdf9;box-shadow:0 16px 40px #384a2724}.lang-menu button{display:block;width:100%;text-align:left;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:650;color:#243f39}.lang-menu button.on,.lang-menu button:hover{background:#eaf0e1;color:#235c4d}.customer-card{border:1px solid #dce4d8;border-radius:18px;background:#fcfdf9;box-shadow:0 18px 60px #384a2710;overflow:hidden;flex:1;display:flex;flex-direction:column;min-height:0}.customer-card .chat-heading{padding:24px}.agent-icon{width:42px;height:42px;background:#eaf0e1;border-radius:14px;display:grid;place-items:center;color:#678253}.return{display:flex;align-items:center;gap:5px;font-size:11px;color:#74896d}.identity{padding:13px 24px;background:#f2f5eb;border-bottom:1px solid #e8eddf;font-size:11px;display:flex;gap:12px;justify-content:space-between;color:#67825c}.identity>span{font-size:10px;color:#8d9a80}.customer-card .thread{padding:30px}.customer-card .composer{margin:0 24px 24px}.login-page{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr;background:#fafbf7}.login-story{padding:55px 65px;background:radial-gradient(ellipse at 20% 90%,#436449,transparent 70%),#203f35;color:#dbe7cc;display:flex;flex-direction:column;justify-content:space-between;min-height:600px}.brand{display:flex;align-items:center;gap:12px;letter-spacing:2px;font-size:13px}.login-story h1{font-size:clamp(32px,4vw,54px);font-weight:500;line-height:1.55;letter-spacing:-2px;margin-top:25px}.login-story p{color:#a2b6a5;font-size:13px;line-height:2}.login-story .eyebrow{color:#9fb78e}.login-story small{color:#7e9b87}.login-form{max-width:420px;width:100%;margin:auto;padding:45px}.login-form h2{font-size:25px;margin-top:16px;margin-bottom:12px}.login-form>p{color:#8b978c;font-size:12px;margin-bottom:36px}.login-form .primary{width:100%;margin-top:24px}.login-form>small{display:block;text-align:center;margin-top:25px}@media(min-width:1500px){.conversation-list{width:330px}.profile{width:310px}.thread{padding:35px}.page-heading{padding:30px}}@media(max-width:1200px){.profile{display:none;position:absolute;right:0;top:70px;bottom:0;z-index:10;box-shadow:-10px 0 30px #203f3515;width:300px}.profile.visible{display:block}.profile-title button{display:inline-flex}.conversation-list{width:275px}.page-heading h1{font-size:20px}}@media(max-width:900px){.sidebar{width:66px}.topbar{padding:0 18px}.topbar-right>span:last-child{display:none}.breadcrumb{display:none}.page-heading{padding:20px}.stats{gap:15px}.stats b,.page-heading h1{font-size:18px}.conversation-list{width:250px}.chat-heading{padding:16px 14px;gap:8px}.chat-heading p{font-size:10px}.chat-heading h2{font-size:13px}.composer{margin:0 12px 12px}.thread{padding:20px 14px}.settings-grid{grid-template-columns:1fr}.login-story{padding:40px}.login-form{padding:35px}.customer-directory{padding:20px}}@media(max-width:760px){.sidebar{width:56px;padding:18px 5px}.sidebar-logo{width:36px;height:36px;border-radius:10px}.side-nav{margin-top:30px}.side-nav button{padding:12px 0;font-size:9px}.sidebar-bottom .avatar{width:30px;height:30px}.topbar{height:58px;padding:0 14px}.topbar strong{font-size:12px}.topbar strong span{font-size:8px}.topbar-right{font-size:9px}.page-heading{padding:17px 15px;display:block}.page-heading .eyebrow{font-size:8px}.page-heading h1{font-size:18px;margin-top:7px}.stats{margin-top:16px;gap:20px}.stats span{font-size:9px;display:flex;align-items:baseline;gap:5px}.stats b{font-size:17px;margin:0}.conversation-list{width:100%;border:0}.desk>.staff-chat{display:none}.desk.has-selection .conversation-list{display:none}.desk.has-selection>.staff-chat{display:flex}.mobile-back{display:inline-flex;padding:2px}.chat-heading{flex-wrap:wrap}.staff-chat .chat-heading .avatar{display:none}.staff-chat .chat-heading p{max-width:135px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.chat-heading select{font-size:10px;max-width:93px;padding:6px}.staff-chat .chat-heading h2{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-foot small{font-size:9px;max-width:145px}.composer .primary{padding:8px 10px;font-size:11px}.message{max-width:94%}.profile{top:58px;width:min(310px,calc(100vw - 56px))}.customer-directory{display:none}.settings-page{padding:22px 14px}.panel{padding:18px}.settings-grid{gap:18px}.customer-page{padding:0;max-width:none}.customer-brand{padding:14px 18px;background:#f4f6ef}.customer-brand strong{font-size:14px}.customer-card{border-radius:0;border-left:0;border-right:0;box-shadow:none}.customer-card .chat-heading{padding:17px 15px;flex-wrap:nowrap;gap:10px}.customer-card .chat-heading h1{font-size:14px}.customer-card .chat-heading p{font-size:9px}.return span{display:none}.return{padding:8px}.agent-icon{width:36px;height:36px;border-radius:11px}.identity{padding:12px 16px;font-size:10px}.identity>span{display:none}.customer-card .thread{padding:20px 16px}.customer-card .composer{margin:0 12px max(12px,env(safe-area-inset-bottom))}.private{font-size:9px}.lang-btn{height:28px;padding:0 8px}.login-page{display:block}.login-story{min-height:250px;padding:27px}.login-story h1{font-size:27px;line-height:1.45;margin:16px 0 0;letter-spacing:-1px}.login-story p,.login-story>small,.login-story .eyebrow{display:none}.login-form{padding:35px;max-width:440px}.login-story .brand{font-size:11px}.empty{padding:30px 20px}.empty h2{font-size:17px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
