.lb-chat{--orange:#ff662e;--ink:#191919;font:15px/1.5 Arial,sans-serif;color:var(--ink)}.lb-chat *{box-sizing:border-box}.lb-chat button,.lb-chat input,.lb-chat textarea,.admin-page button,.admin-page input,.admin-page textarea{font:inherit}.lb-chat button,.admin-page button{cursor:pointer}.lb-launch{position:fixed;left:24px;bottom:24px;z-index:30;border:0;border-radius:30px;padding:15px 22px;background:#191919;color:#fff;box-shadow:0 5px 24px #0003;font-weight:700!important}.lb-launch span{color:#ff8858;margin-right:8px}.lb-teaser{position:fixed;bottom:92px;left:24px;width:290px;padding:20px 34px 20px 20px;border:1px solid #e6d6cb;border-radius:16px;background:#fff8f2;box-shadow:0 6px 30px #0002;z-index:30}.lb-teaser button{position:absolute;right:8px;top:5px;border:0;background:none;font-size:22px}.lb-panel{position:fixed;z-index:40;bottom:24px;left:24px;width:390px;max-width:calc(100vw - 32px);height:610px;max-height:calc(100dvh - 32px);display:flex;flex-direction:column;background:#fff;border:1px solid #ddd;border-radius:20px;box-shadow:0 15px 70px #0003;overflow:hidden}.lb-panel[hidden],.lb-chat [hidden],.admin-page [hidden]{display:none!important}.lb-chat-head{padding:18px 20px;background:#191919;color:#fff;display:flex;justify-content:space-between;align-items:center}.lb-chat-head strong{font-size:19px}.lb-chat-head p{margin:3px 0 0;color:#ffd2bd;font-size:12px}.lb-chat-head button{border:0;background:none;color:white;font-size:26px}.lb-history{padding:18px;overflow:auto;flex:1;min-height:90px;background:#fffaf7}.lb-message{white-space:pre-wrap;overflow-wrap:anywhere;max-width:90%;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #eadfd8;margin-bottom:12px}.lb-message.mine{background:#ffe0ce;margin-left:auto;border-color:#ffd0b5}.lb-message small{display:block;color:#65594e;font-size:11px;margin-top:6px}.lb-intro{font-size:14px;color:#594e47;margin:0 0 18px}.lb-form{padding:14px 18px;border-top:1px solid #eee}.lb-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lb-chat label{font-size:12px;display:block}.lb-chat input,.lb-chat textarea{display:block;width:100%;padding:9px;border:1px solid #b6ada7;border-radius:7px;background:#fff;color:#191919}.lb-chat textarea{resize:vertical;min-height:70px;max-height:140px}.lb-chat label:has(textarea){margin-top:8px}.lb-form button[type=submit],.admin-primary{background:#191919;color:white;border:0;border-radius:7px;padding:10px 18px;font-weight:bold}.lb-form button[type=submit]{width:100%;margin-top:9px}.lb-chat button:disabled,.admin-page button:disabled{opacity:.5;cursor:default}.lb-note{font-size:11px;color:#695d55;margin:8px 0 0}.lb-error{font-size:12px;color:#a52e08;margin:6px 0}.lb-chat :focus-visible,.admin-page :focus-visible{outline:3px solid #ff662e;outline-offset:3px}.lb-email{margin-top:8px}.admin-page{margin:0;background:#fff8f2;color:#191919;font:15px/1.5 Arial,sans-serif}.admin-header{padding:22px 5%;background:#191919;color:white;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.admin-header a{color:#ff8858;text-decoration:none}.admin-header h1{font-size:22px;margin:0}.admin-controls{display:flex;gap:16px;align-items:center}.admin-controls button,.admin-secondary{background:white;color:#191919;border:1px solid #cfc0b7;border-radius:7px;padding:8px 12px}.admin-login{max-width:420px;margin:10vh auto;padding:32px;background:#fff;border:1px solid #e4d4c9;border-radius:16px}.admin-login h2{font-size:30px;margin:0 0 10px}.admin-login input{width:100%;padding:12px;border:1px solid #aaa;border-radius:6px;margin:8px 0 18px}.admin-workspace{display:grid;grid-template-columns:320px 1fr;height:calc(100dvh - 110px);max-width:1300px;margin:20px auto 0;background:white;border:1px solid #e4d4c9;border-radius:12px;overflow:hidden}.admin-sidebar{border-right:1px solid #e4d4c9;overflow:auto;padding:18px}.admin-sidebar h2{font-size:17px;margin-top:0}.admin-conversation{display:block;text-align:left;background:#fffaf7;border:1px solid #eadfd8;border-radius:9px;padding:14px;width:100%;margin-bottom:10px;color:#191919}.admin-conversation.active{border:2px solid #e9541f;background:#fff0e6}.admin-conversation strong,.admin-conversation span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-conversation span{font-size:12px;color:#6b5b50}.admin-detail{display:flex;flex-direction:column;min-height:0;min-width:0}.admin-detail-head{padding:18px 24px;border-bottom:1px solid #eee;display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}.admin-detail-head h2{margin:0;font-size:22px}.admin-detail-head p{margin:2px 0;font-size:13px;overflow-wrap:anywhere}.admin-messages{padding:24px;flex:1;overflow:auto;background:#fffaf7;min-height:100px}.admin-reply{padding:16px 24px}.admin-reply textarea{width:100%;padding:12px;border:1px solid #aaa;border-radius:6px;resize:vertical;min-height:75px;max-height:160px;margin-bottom:8px}.admin-empty{padding:40px;color:#736154}.admin-feedback{margin:0;padding:8px 5%;color:#a52e08}.admin-feedback:empty{display:none}.admin-pager{display:flex;gap:8px;margin-top:12px}.admin-danger{color:#a52e08!important}.admin-connection{font-size:12px;color:#ffd2bd}.admin-privacy{font-size:12px;color:#695d55}.admin-title-row{display:flex;gap:8px;align-items:center}.admin-reply-actions{display:flex;justify-content:space-between;gap:12px;align-items:center}@media(max-width:700px){.admin-workspace{margin:8px;height:calc(100dvh - 160px);grid-template-columns:130px 1fr}.admin-sidebar{padding:8px}.admin-sidebar h2{font-size:14px}.admin-conversation{padding:8px}.admin-detail-head,.admin-reply,.admin-messages{padding:12px}.admin-header{padding:16px}.admin-controls{gap:8px}.admin-detail-head h2{font-size:18px}.admin-login{margin:40px 16px}.admin-reply-actions{flex-wrap:wrap}}@media(max-width:430px){.lb-panel{left:8px;bottom:8px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.lb-launch{left:16px;bottom:16px}.lb-teaser{left:16px;bottom:80px}}@media print{.lb-chat{display:none!important}}
.admin-page *{box-sizing:border-box}.admin-messages .lb-message{max-width:78%}@media(max-width:700px){.admin-messages .lb-message{max-width:100%}}

/* The conversation is primary; contact details stay below the composer. */
.lb-panel{height:680px;width:410px}
.lb-chat-head{flex-shrink:0}
.lb-history{flex:1 1 auto;min-height:150px}
.lb-form{flex:0 1 auto;min-height:0;max-height:65%;overflow-y:auto;padding:14px 18px 12px}
.lb-composer>label{font-weight:700;margin-bottom:7px}
.lb-composer textarea{min-height:76px;max-height:110px;resize:vertical}
.lb-contact{margin-top:14px;padding-top:12px;border-top:1px solid #eee6e0}
.lb-contact-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.lb-contact-heading label{color:#695d55}
.lb-contact-toggle{border:0;background:none;color:#695d55;font-size:11px!important;padding:4px 0;text-decoration:underline;text-underline-offset:3px}
.lb-contact input{padding:8px 10px;font-size:13px;background:#fffcfa;border-color:#d9cec6}
#lb-contact-extra{display:grid;gap:8px;margin-top:10px}
#lb-contact-extra label{color:#695d55}
#lb-contact-extra input{margin-top:4px}
.lb-note{line-height:1.4;color:#786e67}
@media(max-height:600px){.lb-history{min-height:90px}.lb-form{max-height:62%}.lb-chat-head{padding:12px 18px}}

/* Keep both the launcher and its conversation on the right. */
.lb-launch,.lb-teaser,.lb-panel{left:auto;right:24px}
@media(max-width:430px){.lb-launch,.lb-teaser{left:auto;right:16px}.lb-panel{left:auto;right:8px}}
