
:root{--green:#123e35;--green-mid:#246652;--lime:#ceeaa6;--paper:#f7f8f5;--ink:#233b34;--muted:#7b8982;--line:#e4e9e4;--white:#fff;--shadow:0 6px 26px #203a3210;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{transition:background .15s,box-shadow .15s}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #84bd57;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.96)}input,textarea,select{border:1px solid var(--line);border-radius:9px;padding:12px 13px;background:white;color:var(--ink);outline:none;min-width:0}input:focus,textarea:focus,select:focus{border-color:#679780;box-shadow:0 0 0 3px #24665212}textarea{resize:vertical}a{color:var(--green-mid)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em}button.primary,.primary{background:var(--green);color:white;border:1px solid var(--green);border-radius:9px;padding:12px 18px;font-weight:600}.secondary{background:#fff;color:var(--green);border:1px solid #d6e0d8;border-radius:8px;padding:10px 14px;font-weight:600}.danger{color:#a83932!important}.icon-button{background:transparent;border:0;color:inherit;padding:8px;font-size:20px;border-radius:8px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px}.muted{color:var(--muted)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#86b479;flex-shrink:0}.brand{display:flex;gap:10px;align-items:center;color:inherit;text-decoration:none;font-size:20px;font-weight:700;letter-spacing:-1px}.brand-light{font-weight:400}.brand-icon{font-size:25px;background:var(--lime);color:var(--green);width:39px;height:39px;border-radius:12px;display:grid;place-content:center;position:relative;letter-spacing:-3px;font-weight:700}.brand-icon span{position:absolute;font-size:18px;right:8px;bottom:5px}.login-layout{display:grid;grid-template-columns:1.05fr 1fr;min-height:100dvh}.login-story{background:var(--green);color:#fff;padding:48px 60px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.story-copy{z-index:1;margin:90px 0}.story-copy .eyebrow{color:var(--lime)}.story-copy h1{font-size:clamp(40px,4.4vw,68px);line-height:1.13;margin:24px 0;font-weight:500}.story-copy h1 em{font-style:normal;color:var(--lime)}.story-copy p{color:#b7ccc2;max-width:350px;line-height:1.8;font-size:15px}.story-footer{display:flex;align-items:center;gap:10px;font-size:12px;color:#c0d0c7;z-index:1}.decor-circle{position:absolute;width:420px;height:420px;border:1px solid #ffffff12;border-radius:50%;bottom:-140px;right:-130px;box-shadow:0 0 0 55px #ffffff03,0 0 0 110px #ffffff02}.login-form-wrap{padding:60px;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fbfcf9}.login-form{max-width:360px;width:100%;margin:auto}.login-form h2{font-size:32px;margin:15px 0 10px}.login-form>p{color:var(--muted);margin-bottom:30px}.login-form label{display:grid;gap:8px;margin:20px 0;font-size:12px;font-weight:600}.login-form input{padding:15px}.login-form button{width:100%;display:flex;justify-content:space-between}.login-form small{display:block;text-align:center;color:var(--muted);font-size:11px;line-height:1.8;margin-top:25px}.login-form-wrap footer{font-size:11px;width:100%;color:var(--muted);display:flex;justify-content:space-between;margin-top:40px}.error{color:#ad3f34!important;line-height:1.5}.workspace{display:flex;height:100dvh;overflow:hidden}.sidebar{width:224px;flex-shrink:0;background:var(--green);color:#fff;padding:29px 17px 16px;display:flex;flex-direction:column}.sidebar .brand{font-size:18px;margin:0 7px 46px}.sidebar .brand-icon{width:33px;height:33px;border-radius:10px}.nav-caption{font-size:9px;letter-spacing:1.4px;color:#91aea1;margin:0 14px 15px}.sidebar nav{display:grid;gap:6px}.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:12px;width:100%;text-align:left;color:#b9cfc4;border-radius:8px;padding:13px 12px;font-size:12px}.nav-item.active{background:#ffffff12;color:#e1efcf}.nav-icon{font-size:20px;width:22px;text-align:center}.nav-count{margin-left:auto;background:var(--lime);color:var(--green);font-size:10px;font-weight:700;border-radius:5px;padding:3px 6px}.sidebar-bottom{margin-top:auto}.connection{display:flex;gap:9px;align-items:center;color:#acc7b8;font-size:10px;margin:20px 12px}.account{display:flex;gap:10px;align-items:center;border-top:1px solid #ffffff14;padding:18px 4px 0}.account strong{display:block;max-width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.account small{font-size:10px;color:#91aea1;display:block;margin-top:4px}.account .icon-button{margin-left:auto}.avatar{height:37px;width:37px;flex-shrink:0;display:grid;place-items:center;background:#e7ece0;border-radius:50%;font-size:12px;font-weight:700;color:#506751}.account .avatar{background:#45665b;color:#e0ecd8;width:32px;height:32px;font-size:11px}.main-area{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:94px;flex-shrink:0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 32px;background:#fff}.topbar .eyebrow{font-size:9px;color:#90a092}.topbar h1{font-size:25px;margin:4px 0 0;font-weight:600}.top-actions{display:flex;align-items:center;gap:14px}.pill{font-size:10px;border-radius:20px;background:#eff4e8;color:#5b7350;padding:7px 10px;white-space:nowrap}.top-actions button{font-size:11px}.inbox-page{padding:0 28px 24px;flex:1;display:flex;flex-direction:column;min-height:0}.inbox-summary{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:10px}.inbox-summary p{margin:0;font-size:12px;color:var(--muted)}.inbox-summary>div{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted)}.inbox-shell{display:flex;flex:1;min-height:0;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.conversation-panel{width:330px;flex-shrink:0;border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.list-heading{display:flex;align-items:center;justify-content:space-between;padding:24px 20px 18px}.list-heading h2{font-size:15px;margin:0;letter-spacing:-.3px}.list-heading>span{font-size:11px;color:#829081}.search{display:flex;align-items:center;margin:0 17px 18px;background:#f7f8f5;border:1px solid #edf0ea;border-radius:7px;padding:0 10px;gap:5px}.search span{font-size:23px;color:#829081}.search input{background:transparent;border:0;padding:11px 3px;font-size:11px;width:100%;box-shadow:none}.tabs{display:flex;gap:0;border-bottom:1px solid var(--line);padding:0 11px}.tabs button{padding:12px 8px;font-size:10px;font-weight:600;background:transparent;border:0;border-bottom:2px solid transparent;color:#8a948c;white-space:nowrap;flex:1}.tabs button.active{color:var(--green);border-bottom-color:var(--green)}.tabs span{background:#e8eee1;border-radius:3px;font-size:9px;padding:2px 4px;margin-left:2px}.conversation-list{flex:1;overflow:auto}.conversation-item{width:100%;border:0;background:white;text-align:left;display:flex;gap:11px;padding:19px 17px;border-bottom:1px solid #f0f2ee;position:relative}.conversation-item.selected{background:#f0f5e9}.conversation-item.selected:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--green-mid)}.conversation-item .avatar{background:#edf0e5;height:38px;width:38px}.conversation-copy{flex:1;min-width:0}.conversation-top{display:flex;justify-content:space-between;gap:5px;align-items:center;margin:1px 0 6px}.conversation-top strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-top time{font-size:9px;color:var(--muted);white-space:nowrap}.conversation-copy p{font-size:11px;color:var(--muted);margin:0 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.conversation-meta{display:flex;align-items:center;gap:7px;font-size:9px;color:#7d8c7e}.status-tag{font-size:9px;padding:3px 6px;border-radius:4px;display:inline-block;background:#f2f4ef;color:#7f8b7c}.status-tag.queued{background:#fbf0d7;color:#a48435}.status-tag.active{background:#e8f1e4;color:#62804f}.status-tag.closed{background:#edf0f2;color:#77838a}.list-footer{padding:12px 8px;text-align:center;border-top:1px solid var(--line);font-size:9px;color:#a1aaa0}.chat-panel{flex:1;min-width:0;display:flex;flex-direction:column;background:#fcfdfb;position:relative}.chat-empty{display:flex;align-items:center;justify-content:center;text-align:center;flex-direction:column;height:100%;padding:35px}.empty-illustration{width:100px;height:100px;border-radius:50%;background:#f0f4e8;position:relative;display:grid;place-items:center;margin-bottom:28px}.empty-illustration>span{display:grid;place-items:center;border:2px solid #728c5b;border-radius:13px;width:48px;height:40px;font-size:42px;color:#728c5b;line-height:1}.empty-illustration i{font-style:normal;position:absolute;bottom:16px;right:14px;background:var(--green);color:#ceeaa6;border:4px solid #fcfdfb;border-radius:50%;width:28px;height:28px;font-size:11px;display:grid;place-items:center}.chat-empty .eyebrow{font-size:8px;color:#8b9a7e}.chat-empty h2{font-size:22px;font-weight:500;margin:15px 0 12px}.chat-empty p{font-size:12px;color:#8c998d;line-height:1.9}.empty-tip{display:flex;gap:6px;align-items:center;font-size:9px;color:#99a38f;margin-top:35px}.chat-header{background:#fff;padding:17px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px}.chat-header h2{font-size:15px;margin:0 0 4px}.chat-header small{color:var(--muted);font-size:10px}.chat-actions{display:flex;gap:5px;margin-left:auto;align-items:center}.chat-actions button{font-size:10px;padding:8px 10px}.chat-actions .status-tag{margin-right:5px}.mobile-back{display:none}.messages{flex:1;min-height:0;overflow:auto;padding:26px;display:flex;flex-direction:column;gap:15px;background-image:radial-gradient(#a4b99712 1px,transparent 1px);background-size:18px 18px}.message{max-width:82%;padding:12px 15px;border:1px solid #e9eee4;border-radius:0 12px 12px 12px;align-self:flex-start;background:white;box-shadow:0 2px 4px #19362103}.message.outbound{align-self:flex-end;border-radius:12px 0 12px 12px;background:#eaf2df;border-color:#e0ebd6}.message.internal{align-self:center;background:#fff7df;border-color:#f0e7c7;width:85%;border-radius:8px}.message-label{font-size:9px;color:#80916e;font-weight:600;display:block;margin-bottom:7px}.message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65}.message small{display:block;text-align:right;font-size:9px;color:#8c9984;margin-top:7px}.message img{display:block;max-width:100%;max-height:260px;border-radius:7px;margin:5px 0}.message audio{max-width:100%;width:260px;height:40px;margin:6px 0}.message a{display:inline-block;font-size:12px;overflow-wrap:anywhere}.message .delivery-error{color:#ab6444}.history-button{align-self:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:7px 14px;font-size:10px;color:#758568}.chat-notice{padding:18px 23px;background:#f5f8ef;display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line)}.chat-notice p{font-size:12px;line-height:1.6;margin:0}.chat-notice .primary{font-size:11px;white-space:nowrap}.composer{padding:13px 21px 17px;background:white;border-top:1px solid var(--line)}.composer-toolbar{display:flex;gap:14px;align-items:center;margin-bottom:10px}.composer-toolbar button{background:transparent;border:0;font-size:10px;color:#8e9a86;padding:4px 0}.composer-toolbar button.active{color:var(--green);font-weight:700}.composer-toolbar select{margin-left:auto;padding:4px 7px;font-size:10px;max-width:180px;border:0;color:#799069}.composer-body{display:flex;align-items:flex-end;gap:10px}.composer-body textarea{flex:1;resize:none;border:0;background:#f7f9f4;min-height:64px;max-height:130px;font-size:12px;padding:14px}.composer-body .primary{padding:12px 16px;font-size:11px;height:40px}.composer-footer{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:9px;color:#9ba691;margin-top:8px}.file-label{font-size:10px;color:#6b865c;cursor:pointer}.file-label input{display:none}.selected-file{font-size:10px;color:#6c8064;display:flex;align-items:center;gap:10px;margin-top:7px}.selected-file button{background:none;border:0;color:#965c42}.content-page{padding:30px;overflow:auto;flex:1}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.section-heading h2{font-size:22px;margin-bottom:8px}.section-heading p{color:var(--muted);font-size:12px;margin:0}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:23px;margin-bottom:18px;box-shadow:var(--shadow)}.card h3{font-size:16px;margin-bottom:12px}.card p{font-size:12px;line-height:1.8;color:var(--muted)}.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.cards-grid .card{margin:0}.team-table{width:100%;border-collapse:collapse;font-size:12px}.team-table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:12px;border-bottom:1px solid var(--line)}.team-table td{padding:16px 12px;border-bottom:1px solid #f0f2ed}.team-table small{display:block;color:var(--muted);margin-top:5px}.team-table button{font-size:10px;padding:7px 10px;margin:2px}.table-wrap{overflow:auto}.reply-text{white-space:pre-wrap}.reply-actions{display:flex;justify-content:flex-end;gap:8px}.reply-actions button{font-size:11px}.settings-list{display:grid;gap:0}.settings-row{padding:14px 0;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.settings-row span{color:var(--muted)}.settings-row strong{font-weight:500;text-align:right}.empty-list{padding:44px 20px;text-align:center}.empty-list h3{font-size:14px;font-weight:500}.empty-list p{font-size:11px;color:var(--muted);line-height:1.7}.loading{padding:30px;color:var(--muted);font-size:12px}.count-large{font-size:35px;color:var(--green);font-weight:500}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.modal-header h2{font-size:21px;margin:0}dialog{border:1px solid var(--line);border-radius:15px;padding:27px;width:min(470px,calc(100vw - 30px));color:var(--ink);box-shadow:0 20px 100px #123e352b}dialog::backdrop{background:#163a3359;backdrop-filter:blur(3px)}dialog form{display:grid;gap:16px}dialog label{font-size:12px;display:grid;gap:7px}dialog p{font-size:12px;color:var(--muted);line-height:1.7}dialog .form-error{margin:0;color:#ad3f34}dialog button[type=submit]{margin-top:3px}#toast{position:fixed;z-index:1000;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:var(--green);color:white;border-radius:9px;box-shadow:0 5px 30px #0003;max-width:90vw;font-size:12px;line-height:1.6}#toast.error{background:#fff1e9;border:1px solid #e9b6a7}.reconnect{color:#e1bb74!important}
@media(min-width:1500px){.conversation-panel{width:375px}.sidebar{width:240px}.messages{padding:32px 45px}}
@media(max-width:1100px){.sidebar{width:190px;padding-left:12px;padding-right:12px}.sidebar .brand{font-size:16px}.conversation-panel{width:295px}.inbox-page{padding:0 16px 16px}.topbar{padding:0 22px}.chat-header{padding:14px}.chat-actions{gap:3px;flex-wrap:wrap;justify-content:flex-end}.chat-actions .status-tag{display:none}.messages{padding:18px}.composer{padding:12px}.chat-empty h2{font-size:19px}}
@media(max-width:850px){.sidebar{width:74px;padding:25px 10px 15px}.sidebar .brand{margin:0 auto 35px}.sidebar .brand>span:last-child,.nav-caption,.nav-item>.nav-count,.account>div,.account>.avatar,.connection>span:last-child{display:none}.nav-item{font-size:0;padding:11px;justify-content:center}.nav-icon{font-size:22px}.account{justify-content:center}.account .icon-button{margin:0}.connection{justify-content:center;margin:15px 0}.sidebar-bottom{width:100%}.topbar{height:80px}.conversation-panel{width:285px}.chat-empty{padding:20px}.empty-tip{display:none}.chat-actions button{padding:7px;font-size:9px}.login-story{padding:35px}.login-form-wrap{padding:35px}.story-copy h1{font-size:43px}}
@media(max-width:650px){.workspace{flex-direction:column}.sidebar{width:100%;height:62px;padding:0 12px;flex-direction:row;align-items:center;gap:10px;flex-shrink:0}.sidebar .brand{margin:0 auto 0 0}.sidebar .brand>span:last-child{display:block;font-size:16px}.sidebar .brand-icon{width:29px;height:29px}.sidebar nav{display:flex;gap:0}.nav-item{padding:8px}.nav-icon{font-size:21px}.sidebar-bottom{width:auto;margin:0}.connection,.account>.avatar,.account>div{display:none}.account{padding:0;border:0}.account .icon-button{font-size:22px}.main-area{min-height:0}.topbar{height:74px;padding:0 18px}.topbar h1{font-size:22px}.topbar .eyebrow{font-size:8px}.top-actions{gap:7px}.top-actions button{font-size:10px;padding:9px}.pill{font-size:9px;padding:6px 8px}.inbox-summary{min-height:49px}.inbox-summary p{font-size:10px}.inbox-summary>div{font-size:9px}.inbox-page{padding:0 10px 10px}.conversation-panel{width:100%;border:0}.chat-panel{display:none}.inbox-shell.chat-open .conversation-panel{display:none}.inbox-shell.chat-open .chat-panel{display:flex}.list-heading{padding:21px 19px 16px}.list-heading h2{font-size:16px}.tabs button{font-size:11px}.conversation-item{padding:19px}.conversation-top strong{font-size:13px}.conversation-copy p{font-size:12px}.mobile-back{display:block;font-size:22px;padding:2px}.chat-header{gap:8px;padding:13px 10px}.chat-header .avatar{width:30px;height:30px;font-size:10px}.chat-header h2{font-size:12px}.chat-header small{font-size:9px}.chat-actions button{font-size:9px}.chat-actions{max-width:135px}.messages{padding:17px 12px;gap:13px}.message{max-width:88%}.message p{font-size:13px}.composer-body textarea{font-size:14px}.composer-toolbar select{max-width:150px}.composer-footer>span{font-size:8px}.chat-notice{padding:16px}.content-page{padding:21px 14px}.section-heading h2{font-size:20px}.section-heading button{font-size:11px;white-space:nowrap}.card{padding:18px}.login-layout{display:block}.login-story{padding:25px;min-height:190px}.story-copy{margin:25px 0 0}.story-copy h1{font-size:30px;margin:13px 0 3px}.story-copy h1 br{display:none}.story-copy h1 em{display:block}.story-copy p,.story-footer,.story-copy .eyebrow{display:none}.login-form-wrap{padding:35px 27px;min-height:calc(100dvh - 230px)}.login-form h2{font-size:28px}.login-form-wrap footer{margin-top:35px}.login-form small{margin-top:20px}.login-story .brand{font-size:18px}.login-story .brand-icon{width:31px;height:31px}.login-form>p{margin-bottom:20px}}

.recording-controls { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:12px; margin-top:10px; background:#fff2ef; border-radius:8px; }
.recording-controls span { flex:1; min-width:150px; }
.selected-file { flex-wrap:wrap; }
.selected-file audio { width:100%; max-width:340px; }
.composer-footer { flex-wrap:wrap; gap:8px; }

.record-audio-button { width:44px; height:44px; padding:0; border:0; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; background:var(--green); color:#fff; cursor:pointer; }
.record-audio-button:hover:not(:disabled) { background:var(--green-mid); }
.record-audio-button:focus-visible { outline:3px solid var(--green-mid); outline-offset:3px; }
.record-audio-button:disabled { opacity:.45; cursor:not-allowed; }
.record-audio-button[hidden] { display:none; }

.brand .company-logo{display:block;width:100%;max-width:185px;max-height:70px;object-fit:contain;background:#fff;border-radius:8px;padding:6px}.brand .company-name{white-space:normal;overflow-wrap:anywhere;font-size:20px}.branding-settings form{display:grid;gap:14px;max-width:640px}.branding-settings label{display:grid;gap:8px;font-size:12px}.branding-colors,.branding-actions{display:flex;flex-wrap:wrap;gap:16px}.branding-colors input{width:90px;height:44px;padding:3px}.branding-preview{border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;flex-wrap:wrap;align-items:center;gap:18px;color:#233b34}.branding-preview img{max-width:180px;max-height:80px;background:white;padding:6px}.branding-preview button{color:white;border:3px solid;border-radius:8px;padding:10px}.custom-branding .login-story,.custom-branding .sidebar{background:var(--green)}.custom-branding .message.outbound{background:var(--lime);border-color:var(--lime);color:var(--ink)}.custom-branding .message.outbound small{color:var(--ink)}.custom-branding .message.outbound .delivery-error{color:#8b241a}.custom-branding .conversation-item.selected{background:var(--lime)}.custom-branding .nav-item.active{background:var(--lime);color:var(--green)}@media(max-width:800px){.sidebar .brand .company-logo{max-width:120px;max-height:40px}.sidebar .brand .company-name{font-size:14px;max-width:120px}}
