/* Luna Chat · public customer widget */
.lc-launch{position:fixed;z-index:120;bottom:24px;left:22px;display:flex;align-items:center;gap:10px;border:1px solid #dfc99b;border-radius:50px;background:#14392e;color:#fff;box-shadow:0 14px 34px #112d2377;padding:13px 17px;font:700 13px 'Be Vietnam Pro',system-ui,sans-serif;cursor:pointer;transition:transform .2s}
.lc-launch:hover{transform:translateY(-2px)}.lc-launch-icon{font-size:22px;color:#eed0a0}.lc-launch:focus-visible,.lc-panel button:focus-visible,.lc-panel input:focus-visible,.lc-panel textarea:focus-visible{outline:3px solid #dfbd80;outline-offset:2px}
.lc-panel[hidden]{display:none!important}.lc-panel{position:fixed;z-index:121;bottom:88px;left:22px;width:min(385px,calc(100vw - 30px));height:min(580px,calc(100dvh - 114px));display:flex;flex-direction:column;border-radius:21px;overflow:hidden;box-shadow:0 24px 65px #08211866;border:1px solid #e0d5bb;background:#fff;color:#183b2e;font:400 13px/1.65 'Be Vietnam Pro',system-ui,sans-serif}
.lc-head{display:flex;align-items:center;gap:12px;padding:15px 16px;background:linear-gradient(125deg,#143f31,#235540);color:#fff}.lc-head-brand{font-family:'Playfair Display',serif;font-size:23px;color:#edd1a1}.lc-head-title{display:grid;gap:0;flex:1}.lc-head-title strong{font-size:14px}.lc-head-title small{font-size:10px;color:#e1eddf}.lc-head-actions{display:flex;gap:4px}.lc-head button{color:#fff;background:transparent;border:0;font-size:22px;padding:3px 8px;cursor:pointer}
.lc-body{flex:1;overflow-y:auto;min-height:0;display:flex;flex-direction:column;background:#faf8f3}.lc-start{padding:24px 19px;display:grid;gap:12px}.lc-start p{margin:0 0 4px;color:#577365}.lc-start label{display:grid;gap:5px;font-size:12px;font-weight:700}.lc-start input{width:100%;box-sizing:border-box;padding:12px 13px;border-radius:10px;border:1px solid #d7dbcf;background:#fff;font:inherit}.lc-primary{padding:12px 15px;border:0;border-radius:10px;color:#fff;background:#1c5b43;cursor:pointer;font:700 12px 'Be Vietnam Pro',system-ui,sans-serif}.lc-muted{color:#788b7e;font-size:10px;line-height:1.6}.lc-messages{display:flex;flex-direction:column;gap:12px;padding:17px 14px;min-height:100%}.lc-message{max-width:90%;width:fit-content;white-space:pre-wrap;overflow-wrap:anywhere;padding:11px 13px;border-radius:15px;background:#f0eee7;color:#244638;box-shadow:0 2px 8px #00000008}.lc-message[data-sender=guest]{align-self:flex-end;background:#1d5943;color:#fff;border-bottom-right-radius:4px}.lc-message[data-sender=staff]{background:#e2f0e7;border:1px solid #bedac8}.lc-message[data-sender=auto]{border:1px solid #e7dfd0}.lc-message small{display:block;color:inherit;opacity:.65;font-size:9px;margin-bottom:4px}.lc-compose{display:flex;align-items:flex-end;gap:7px;padding:12px;background:white;border-top:1px solid #e9e3d5}.lc-compose[hidden]{display:none}.lc-compose textarea{flex:1;min-height:42px;max-height:100px;resize:vertical;border:1px solid #d8ded6;border-radius:11px;padding:10px 11px;font:inherit;box-sizing:border-box}.lc-compose button{border:0;background:#1c5b43;color:white;border-radius:11px;height:42px;padding:0 14px;font-weight:700;cursor:pointer}.lc-compose button:disabled,.lc-primary:disabled{opacity:.55;cursor:not-allowed}.lc-status{min-height:20px;color:#9a6039;font-size:10px;padding:2px 13px;background:#fff}.lc-foot{border-top:1px solid #eee9e0;padding:8px 13px;display:flex;justify-content:space-between;align-items:center;font-size:10px;background:#fff;gap:8px}.lc-foot button{background:transparent;border:0;color:#73674e;text-decoration:underline;cursor:pointer;font-size:10px}
@media(max-width:620px){.lc-launch{left:12px;bottom:17px;padding:11px 13px;font-size:12px}.lc-panel{left:8px;bottom:78px;width:calc(100vw - 16px);height:min(620px,calc(100dvh - 93px));border-radius:16px}}
/* Ensure hidden HTML states override presentation styles. */
.lc-start[hidden],.lc-compose[hidden],#lunaChatConversation[hidden],.lc-panel[hidden]{display:none!important}
#lunaChatConversation{min-height:100%;width:100%}

/* Luna Chat floating launcher: always visible, draggable, animated, keyboard accessible. */
#lunaChatLauncher.lc-launch{position:fixed;z-index:2147482000;left:16px;bottom:22px;top:auto;right:auto;display:flex;gap:11px;align-items:center;max-width:min(310px,calc(100vw - 20px));padding:8px 12px 8px 8px;background:linear-gradient(115deg,#123c30,#1e5b45 63%,#275b46);border:1px solid #e5c993;border-radius:999px;color:#fff;min-height:66px;box-shadow:0 9px 20px #07291f45,0 0 0 3px #dcb77832;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;transform:none;transition:box-shadow .2s,filter .2s;line-height:1.25;white-space:normal}
#lunaChatLauncher.lc-launch:hover{transform:none;filter:brightness(1.08);box-shadow:0 13px 28px #05221d70,0 0 0 5px #e8c78d3b}
#lunaChatLauncher.lc-launch.lc-dragging{cursor:grabbing;filter:brightness(1.13)}
.lc-launch-orb{width:48px;height:48px;display:grid;place-items:center;flex:none;position:relative;border-radius:50%;background:linear-gradient(135deg,#f8dfaa,#d8b66d);color:#174033;box-shadow:inset 0 0 0 1px #fff7d9,0 0 14px #f5cd7480;animation:lc-hovermoon 3.3s ease-in-out infinite}
.lc-launch-glyph{position:relative;z-index:1}.lc-launch-orb:after{content:'';position:absolute;inset:-6px;border-radius:50%;border:1px solid #eac77f99;animation:lc-halo 2.9s ease-out infinite;pointer-events:none}
.lc-orb-dot{width:7px;height:7px;border-radius:50%;background:#fff8d8;position:absolute;right:-1px;top:2px;box-shadow:0 0 0 3px #cfaa57}
.lc-launch-label{display:grid;gap:5px;text-align:left;min-width:0}.lc-launch-label strong{font-size:13px;line-height:1.3;letter-spacing:0;font-weight:800;white-space:nowrap}.lc-launch-label small{font-size:9px;color:#f4ddb0;letter-spacing:.025em;white-space:nowrap}
.lc-drag-handle{color:#e7c891;opacity:.75;font-size:20px;line-height:1;letter-spacing:-5px;margin-right:3px}
#lunaChatPanel.lc-panel{z-index:2147482001;left:14px;bottom:94px;top:auto;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);box-shadow:0 28px 70px #06251ba6}
@keyframes lc-hovermoon{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-4px) rotate(5deg)}}
@keyframes lc-halo{0%{transform:scale(.85);opacity:.8}85%,100%{transform:scale(1.16);opacity:0}}
@media(max-width:480px){#lunaChatLauncher.lc-launch{min-height:62px;padding:7px 10px 7px 7px;gap:9px}#lunaChatLauncher .lc-launch-orb{width:45px;height:45px}#lunaChatLauncher .lc-launch-label strong{font-size:11px}#lunaChatLauncher .lc-launch-label small{font-size:9px}#lunaChatLauncher .lc-drag-handle{font-size:15px}}
@media(prefers-reduced-motion:reduce){.lc-launch-orb,.lc-launch-orb:after{animation:none!important}}
