
    :root{--bg:#f5f6f2;--ink:#27342c;--muted:#8a9489;--line:#e7ebe3;--green:#d4ebc8;--deep:#49683f}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}button,textarea,input{font:inherit}button{cursor:pointer;color:inherit;border:0;transition:background .18s}button:disabled{opacity:.45;cursor:default}button:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #88ae74;outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.symbols{display:none}[hidden]{display:none!important}
    .topbar{height:86px;border-bottom:1px solid var(--line);background:#fafbf8}.topbar-inner{max-width:1100px;padding:0 34px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:9px;font-size:25px;font-weight:650;letter-spacing:-1.2px}.brand-mark{width:32px;height:32px;border-radius:10px;background:#cde6bf;color:#4b6940;display:grid;place-items:center}.brand-mark svg{width:23px;height:23px}.brand-dot{color:#89a978}.brand-divider{height:19px;width:1px;background:#dce2d6;margin:0 17px 0 21px}.brand-label{font-size:11px;color:#8a9584;font-weight:400;letter-spacing:0}.header-info{display:flex;align-items:center;gap:8px;color:#809176;font-size:11px}.header-info svg{width:15px;height:15px}.page{max-width:1000px;padding:34px 34px 20px;margin:0 auto}.intro{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:25px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.9px;color:#87957c;margin-bottom:10px;display:flex;align-items:center;gap:8px}.eyebrow span{width:5px;height:5px;background:#9ab187;border-radius:50%}h1{font-size:31px;line-height:1.2;letter-spacing:-1px;font-weight:550;margin:0 0 10px}.intro p{font-size:12px;color:#89927f;margin:0}.private-tag{display:flex;align-items:center;gap:7px;color:#849275;font-size:10px;white-space:nowrap;padding-bottom:3px}.private-tag svg{width:14px;height:14px}
    .chat{background:#fff;border:1px solid #e2e7dc;border-radius:17px;overflow:hidden;box-shadow:0 8px 35px #283b1904;display:flex;flex-direction:column;height:600px}.chat-header{height:88px;padding:0 27px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);flex-shrink:0}.avatar{height:43px;width:43px;border-radius:50%;display:grid;place-items:center;background:#e4edda;color:#6a8258;font-size:14px;font-weight:600;position:relative;flex-shrink:0}.avatar:after{content:'';width:8px;height:8px;border-radius:50%;position:absolute;right:0;bottom:1px;background:#86a86d;border:2px solid white}.agent-details h2{margin:0 0 3px;font-size:13px;font-weight:600;letter-spacing:-.15px}.agent-details p{margin:0;color:#96a08b;font-size:10px}.agent-details p span{display:inline-block;width:2px;height:2px;border-radius:50%;background:#adb5a3;margin:0 7px;vertical-align:middle}.chat-actions{margin-left:auto;display:flex;align-items:center;gap:15px}.icon-button{padding:8px;display:grid;place-items:center;background:transparent;color:#97a28a;border-radius:8px}.icon-button:hover{background:#f1f5ec}.icon-button svg{height:18px;width:18px}.action-divider{height:20px;width:1px;background:var(--line)}.end-chat{border:1px solid #e2e7da;background:#fff;padding:7px 12px;font-size:10px;border-radius:7px;color:#7b886e}.end-chat:hover{background:#f6f8f1}.chat-body{flex:1;min-height:0;overflow-y:auto;padding:23px 30px 18px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#dfe6d8 transparent}.day-label{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 24px;font-size:9px;color:#acb4a2}.day-label:before,.day-label:after{content:'';height:1px;width:35px;background:#eef1e9}.message{display:flex;align-items:flex-end;gap:9px;margin-bottom:19px}.mini-avatar{width:28px;height:28px;background:#e8efdf;border-radius:50%;display:grid;place-items:center;font-size:9px;font-weight:600;flex-shrink:0;color:#80916f;margin-bottom:20px}.message-content{max-width:70%;min-width:0}.bubble{padding:12px 16px;background:#f3f5ef;border:1px solid #eef1e9;border-radius:13px 13px 13px 3px;font-size:12px;line-height:1.8;color:#69755e;overflow-wrap:anywhere}.bubble p{margin:0}.bubble p+p{margin-top:5px}.message-meta{display:flex;gap:8px;align-items:center;font-size:9px;color:#a6af9b;margin-top:5px;padding-left:2px}.message.user{justify-content:flex-end;margin-left:45px}.user .message-content{max-width:77%}.user .bubble{background:#e8f1df;border-color:#e1ebd6;color:#60754f;border-radius:13px 13px 3px 13px}.user .message-meta{justify-content:flex-end;padding-right:2px}.meta-dot{width:2px;height:2px;background:#adb5a5;border-radius:50%}.file-in-message{display:flex;align-items:center;gap:10px;border:1px solid #d0debf;background:#ffffff50;padding:8px 10px;border-radius:7px;margin-top:8px}.file-in-message:first-child{margin-top:0}.file-in-message svg{width:16px;height:16px}.file-name{overflow-wrap:anywhere;font-size:11px}.file-size{display:block;font-size:9px;color:#94a184}.conversation-note{text-align:center;font-size:10px;color:#8d9980;padding:12px 10px;margin:15px 0}.conversation-note span{background:#f2f5ed;padding:7px 13px;border-radius:20px}
    .composer{padding:0 26px 0;flex-shrink:0}.input-box{border:1px solid #e1e7d9;background:#fcfdf9;border-radius:11px;padding:12px 14px 10px}.input-box:focus-within{border-color:#adc597;box-shadow:0 0 0 2px #eff5e9}.input-box textarea{display:block;border:0;outline:0;resize:none;width:100%;height:38px;max-height:120px;padding:0;color:#617351;font-size:12px;line-height:1.8;background:transparent}.input-box textarea::placeholder{color:#a5ad9b}.input-box textarea:focus-visible{outline:0}.input-toolbar{display:flex;justify-content:space-between;align-items:center}.attach-group{display:flex;align-items:center;gap:6px}.attach-button{padding:3px;background:transparent;display:grid;place-items:center;color:#96a487;border-radius:5px}.attach-button:hover{background:#edf3e7}.attach-button svg{width:17px;height:17px}.input-help{font-size:9px;color:#b0b7a5}.send{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 13px;background:#d6ebc9;border-radius:7px;color:#657d50;font-size:10px;font-weight:600}.send:hover:not(:disabled){background:#c5e0b5}.send svg{width:13px;height:13px}.composer-note{display:flex;justify-content:center;align-items:center;gap:5px;font-size:9px;color:#a3ad95;min-height:35px;text-align:center}.composer-note svg{height:11px;width:11px}.attachments{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}.attachment{display:flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #e0e8d7;background:#f1f6ea;border-radius:6px;font-size:10px;color:#81936f;max-width:100%}.attachment>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.attachment svg{width:12px;height:12px}.attachment button{background:none;display:grid;place-items:center;padding:2px;color:#889c75}.restart{width:100%;padding:15px;border:1px solid #d5e3c9;background:#eff6e8;border-radius:10px;font-size:12px;color:#698251}.restart:hover{background:#e4efd9}.page-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:16px;font-size:9px;color:#a1aa97}.preview-label{display:flex;align-items:center;gap:6px}.preview-label span{width:5px;height:5px;background:#c0c9b4;border-radius:50%;flex-shrink:0}.footer-link{background:transparent;color:#99a48c;padding:3px 0;font-size:9px;white-space:nowrap}.footer-link:hover{text-decoration:underline}
    dialog{border:1px solid #e0e7d8;border-radius:16px;width:calc(100% - 36px);max-width:420px;padding:26px;color:var(--ink);box-shadow:0 22px 80px #1d31192a}dialog::backdrop{background:#23321f55;backdrop-filter:blur(3px)}.modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:20px}.modal-header h2{font-size:21px;font-weight:550;letter-spacing:-.5px;margin:0}.modal-content{font-size:12px;line-height:1.9;color:#829174}.modal-content p{margin:0 0 12px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.modal-actions button{font-size:11px;padding:10px 14px;border-radius:7px;background:#d5e9c8;color:#617a4e}.modal-actions button.secondary{background:#f2f5ed;color:#869578}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:25px;background:#34452c;color:#f0f5e9;border-radius:9px;padding:12px 18px;font-size:12px;box-shadow:0 7px 25px #1f31182a;z-index:9;max-width:calc(100vw - 30px);width:max-content}
    @media(min-height:950px){.page{padding-top:48px}.intro{margin-bottom:31px}.chat{height:650px}}@media(max-width:700px){.topbar{height:68px}.topbar-inner{padding:0 21px}.brand{font-size:23px}.brand-divider{margin-left:16px;margin-right:13px}.brand-label{font-size:10px}.header-info{font-size:0;gap:0}.header-info svg{height:18px;width:18px}.page{padding:27px 18px 16px}.intro{margin-bottom:22px}.private-tag{display:none}h1{font-size:27px;letter-spacing:-.9px}.intro p{font-size:11px;max-width:290px;line-height:1.7}.eyebrow{font-size:8px;letter-spacing:1.6px}.chat{height:calc(100dvh - 270px);min-height:510px;border-radius:13px}.chat-header{height:77px;padding:0 17px;gap:10px}.avatar{width:37px;height:37px;font-size:12px}.agent-details h2{font-size:12px}.agent-details p{font-size:9px}.chat-actions{gap:9px}.end-chat{font-size:9px;padding:7px 9px}.icon-button{padding:5px}.chat-body{padding:21px 16px 15px}.message-content{max-width:82%}.user .message-content{max-width:92%}.message.user{margin-left:25px}.bubble{font-size:11px;padding:11px 13px}.mini-avatar{width:24px;height:24px;font-size:8px}.message{gap:7px}.composer{padding:0 14px}.input-box{padding:11px 12px 9px}.input-box textarea{font-size:11px}.input-help{font-size:8px}.composer-note{font-size:8px;min-height:35px}.page-footer{font-size:8px;align-items:flex-start;margin-top:14px}.footer-link{font-size:8px}.preview-label{max-width:260px;align-items:baseline}.preview-label span{position:relative;top:-1px}.action-divider{display:none}}
    @media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
  
input[type=email],input[type=password],input[type=search]{width:100%;padding:13px 14px;border:1px solid #dce4d5;border-radius:8px;background:#fcfdf9;color:#384d30;font:inherit;outline:none}input:focus{border-color:#89aa72;box-shadow:0 0 0 3px #eff5e9}label{display:block;font-size:12px;font-weight:600;margin:18px 0 7px}.entry{max-width:470px;margin:65px auto;padding:36px;background:white;border:1px solid var(--line);border-radius:18px}.entry h1{font-size:28px}.entry p{color:#87947b;font-size:13px;line-height:1.8}.entry .send{width:100%;font-size:13px;padding:13px;margin-top:18px}.entry .entry-note{font-size:11px;margin:17px 0 0}.form-error{color:#a34438!important;font-size:12px!important;min-height:18px;margin:10px 0 0!important}.status-line{min-height:18px;font-size:10px;color:#889a7a;margin-bottom:6px}.status-line.error{color:#a34438}.customer-email{font-size:10px;color:#89987b}.message-meta{flex-wrap:wrap}.attachment-download{display:flex;align-items:center;gap:8px;border:1px solid #d0debf;background:#ffffff65;padding:8px 10px;border-radius:7px;margin-top:8px;text-align:left;max-width:100%;color:inherit}.attachment-download span{overflow-wrap:anywhere}.empty-state{display:grid;place-items:center;text-align:center;color:#98a58d;min-height:160px;padding:30px;font-size:13px}.connection{color:#7d916c}.connection.offline{color:#a36b4b}.avatar:after{display:none}.admin-page{max-width:1240px;margin:30px auto;padding:0 28px 20px}.admin-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:25px 0}.admin-heading h1{font-size:27px;margin-bottom:4px}.admin-heading p{margin:0;color:#8a987e;font-size:12px}.admin-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:20px}.inbox{border:1px solid var(--line);border-radius:16px;background:white;overflow:hidden;display:flex;flex-direction:column;height:650px}.inbox-tools{padding:18px;border-bottom:1px solid var(--line)}.inbox-tools h2{font-size:14px;margin:0 0 14px}.inbox-tools input{font-size:12px;padding:10px}.filters{display:flex;gap:6px;margin-top:12px}.filters button{background:#f3f6ef;padding:6px 11px;border-radius:6px;color:#839775;font-size:11px}.filters button.active{background:#dceccd;color:#4a653a}.conversation-list{overflow-y:auto;flex:1}.conversation-item{display:block;width:100%;text-align:left;padding:17px 18px;background:white;border-bottom:1px solid #edf0e8;border-left:3px solid transparent}.conversation-item:hover{background:#f7f9f3}.conversation-item.active{background:#edf5e5;border-left-color:#8cac76}.conversation-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.conversation-item strong{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-item p{font-size:11px;color:#929e87;margin:7px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-item small{font-size:9px;color:#a4ae99}.unread{background:#7d9d66;color:white;border-radius:10px;padding:1px 6px;font-size:9px}.status-pill{font-size:9px;color:#8c9a80;background:#f0f3eb;border-radius:4px;padding:2px 6px}.admin-chat{height:650px}.admin-chat .chat-header{height:88px}.admin-chat .chat-header h2{max-width:320px;overflow-wrap:anywhere}.toolbar{display:flex;align-items:center;gap:12px}.admin-empty{height:650px;background:white;border:1px solid var(--line);border-radius:16px}.conversation-ref{font-size:10px;color:#a0aa96}.is-busy{opacity:.7}.file-progress{font-size:10px;color:#8b9b7e}.inline-error{font-size:11px;color:#ac5f45}.customer-email{word-break:break-all}.danger{color:#a36754}.inbox-count{font-size:11px;font-weight:400;color:#93a586;margin-left:6px}.admin-notice{font-size:11px;color:#91a081;margin-top:14px}.wait-note{font-size:11px;color:#95a38a;background:#f6f8f1;border-radius:8px;padding:12px 15px;margin-bottom:18px;line-height:1.7}.entry-mark{width:48px;height:48px;margin-bottom:24px;border-radius:14px;background:#e4efda;display:grid;place-items:center;color:#708d5a}.entry-mark svg{width:27px;height:27px}
@media(max-width:850px){.admin-layout{grid-template-columns:250px minmax(0,1fr)}.admin-chat .chat-header{padding:15px}.admin-chat .chat-header h2{max-width:180px}.admin-page{padding:0 16px}.admin-heading h1{font-size:23px}}
@media(max-width:650px){.entry{margin:25px auto;padding:28px 23px}.admin-layout{display:flex;flex-direction:column}.inbox{height:310px}.admin-chat,.admin-empty{height:570px}.admin-heading{align-items:flex-start}.admin-heading p{max-width:220px}.toolbar{gap:8px}.admin-chat .chat-header h2{max-width:185px}.admin-page{margin-top:20px}.admin-heading .end-chat{font-size:10px}.entry h1{font-size:25px}.wait-note{font-size:10px}}
