/* EMADORA Luxury Concierge Chatbot */
.em-chat-launch{position:fixed;right:22px;bottom:94px;z-index:70;display:flex;align-items:center;gap:10px;border:1px solid rgba(216,179,107,.65);border-radius:999px;padding:11px 16px;background:#12100d;color:#ead19a;box-shadow:0 12px 36px #0005;font:600 11px/1.2 Inter,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:transform .2s,box-shadow .2s}
.em-chat-launch:hover{transform:translateY(-2px);box-shadow:0 16px 40px #0007}.em-chat-launch .em-chat-gem{width:28px;height:28px;border:1px solid #c6a15b;border-radius:50%;display:grid;place-items:center;font:18px Georgia,serif}
.em-chat-panel{position:fixed;right:22px;bottom:150px;z-index:71;width:min(390px,calc(100vw - 28px));height:min(600px,calc(100svh - 180px));display:flex;flex-direction:column;overflow:hidden;background:#100e0b;color:#f6f0e5;border:1px solid rgba(216,179,107,.55);box-shadow:0 24px 70px #0008;border-radius:13px;font-family:Inter,Arial,sans-serif}
.em-chat-panel[hidden],.em-chat-launch[hidden]{display:none!important}.em-chat-head{display:flex;align-items:center;gap:11px;padding:15px 16px;background:linear-gradient(120deg,#1c1811,#0d0c0a);border-bottom:1px solid rgba(216,179,107,.25)}.em-chat-logo{width:39px;height:39px;object-fit:contain}.em-chat-headcopy{flex:1;min-width:0}.em-chat-headcopy strong{display:block;color:#ead19a;font:500 18px Georgia,serif;letter-spacing:.04em}.em-chat-headcopy small{display:block;margin-top:3px;color:#b8ab91;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.em-chat-close{border:1px solid #6c5735;background:transparent;color:#e8d5ae;border-radius:50%;width:31px;height:31px;font-size:20px;cursor:pointer}.em-chat-log{flex:1;overflow-y:auto;padding:15px 13px 8px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}.em-chat-msg{max-width:88%;padding:11px 12px;font-size:12px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.em-chat-msg.bot{align-self:flex-start;background:#211d17;border:1px solid #403522;border-radius:3px 12px 12px 12px;color:#f2e9d8}.em-chat-msg.user{align-self:flex-end;background:#d8b36b;color:#17120a;border-radius:12px 3px 12px 12px}.em-chat-options{display:flex;flex-wrap:wrap;gap:7px;padding:0 13px 10px}.em-chat-options button{border:1px solid #987943;background:transparent;color:#e8d5ae;border-radius:3px;padding:9px 10px;font-size:10px;line-height:1.35;cursor:pointer}.em-chat-options button:hover{background:#292116}.em-chat-inputrow{display:flex;gap:8px;padding:11px;border-top:1px solid #3a3020;background:#14110d}.em-chat-inputrow input,.em-chat-inputrow select,.em-chat-inputrow textarea{min-width:0;flex:1;background:#090807;color:#f6f0e5;border:1px solid #59482d;border-radius:3px;padding:11px 10px;font:12px Inter,Arial,sans-serif;outline:none}.em-chat-inputrow input:focus,.em-chat-inputrow select:focus,.em-chat-inputrow textarea:focus{border-color:#d8b36b}.em-chat-inputrow input[type=date],.em-chat-inputrow input[type=number]{color-scheme:dark}.em-chat-send{width:42px;flex:0 0 42px;border:0;background:#d8b36b;color:#17120a;border-radius:3px;font-size:17px;cursor:pointer}.em-chat-foot{padding:0 13px 11px;color:#8e8069;font-size:9px;line-height:1.5}.em-chat-foot a{color:#d8b36b;text-decoration:underline}.em-chat-confirm{display:flex;flex-wrap:wrap;gap:7px}.em-chat-confirm button{flex:1;min-width:100px;border:1px solid #c6a15b;padding:10px 12px;font-size:10px;cursor:pointer}.em-chat-confirm .primary{background:#d8b36b;color:#17120a}.em-chat-confirm .secondary{background:transparent;color:#e8d5ae}.em-chat-msg a{color:#e8c87f;text-decoration:underline}.em-chat-msg.user a{color:#17120a}.em-chat-rtl .em-chat-msg{direction:rtl;text-align:right}.em-chat-rtl .em-chat-head{flex-direction:row-reverse}.em-chat-rtl .em-chat-inputrow{flex-direction:row-reverse}
@media(max-width:760px){.em-chat-launch{right:12px;bottom:151px;padding:8px 11px;font-size:9px;gap:7px}.em-chat-launch .em-chat-gem{width:25px;height:25px}.em-chat-panel{right:8px;bottom:202px;width:calc(100vw - 16px);height:min(570px,calc(100svh - 230px));border-radius:11px}.em-chat-head{padding:12px}.em-chat-log{padding:12px 10px 7px}.em-chat-msg{font-size:11px}.em-chat-options{padding-inline:10px}.em-chat-inputrow{padding:9px}.em-chat-foot{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.em-chat-launch,.em-chat-log{transition:none;scroll-behavior:auto}}
.em-chat-fallback-note{flex:1 0 100%;margin:0 0 2px;padding:10px 11px;border:1px solid #403522;border-radius:5px;background:#1b1711;color:#d4c7ae;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.em-chat-options .em-chat-confirm{width:100%}
.em-chat-options .em-chat-confirm button{min-height:40px}

/* V16: reliable fallback actions in the transcript; visible on mobile and desktop. */
.em-chat-recovery{align-self:stretch;max-width:100%;display:flex;flex-direction:column;gap:9px;margin:2px 0 4px}.em-chat-recovery-actions{display:flex;flex-wrap:wrap;gap:8px}.em-chat-recovery-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;flex:1 1 125px;padding:10px 13px;border:1px solid #c6a15b;border-radius:4px;text-decoration:none;font-size:12px;font-weight:600;overflow-wrap:anywhere}.em-chat-recovery-link.primary{background:#d8b36b;color:#17120a}.em-chat-recovery-link.secondary{background:#211d17;color:#f2e9d8}.em-chat-diagnostic{align-self:flex-start;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;color:#d6b978;border:1px dashed #6c5735;border-radius:6px;padding:8px 10px;font-size:10px;line-height:1.5}.em-chat-recovery-link:focus-visible{outline:2px solid #f2d69d;outline-offset:2px}
