#jta-assistant.jta-root { --jta-green: #184d3c; --jta-cream: #f5f5ee; --jta-ink: #20382d; position: fixed !important; left: auto !important; top: auto !important; right: 22px !important; bottom: calc(var(--jta-bottom, 96px) + env(safe-area-inset-bottom, 0px)) !important; width: max-content !important; min-width: 0 !important; max-width: calc(100vw - 44px); margin: 0 !important; padding: 0 !important; z-index: 1100; color: var(--jta-ink); font-family: Arial, sans-serif; font-size: 14px; line-height: 1.5; text-align: left; direction: ltr; }
.jta-root *, .jta-root *::before, .jta-root *::after { box-sizing: border-box; }
.jta-root [hidden] { display: none !important; }
.jta-root button, .jta-root textarea { font: inherit; letter-spacing: normal; text-transform: none; }
.jta-root button { cursor: pointer; }
.jta-root button:focus-visible, .jta-root a:focus-visible, .jta-root textarea:focus-visible { outline: 3px solid #c78f43; outline-offset: 3px; }
#jta-assistant .jta-launcher { position: relative; display: flex; align-items: center; width: 220px; min-height: 84px; max-width: 100%; padding: 12px 28px 12px 91px; border: 1px solid #d2d8bc; border-radius: 52% 14% 44% 15% / 32% 28% 40% 28%; background: #f4f4e6; color: #184d3c !important; box-shadow: 0 6px 24px #102b2b26, inset 0 0 0 4px #ffffff75; text-align: left; transition: transform .18s ease, box-shadow .18s ease; overflow: visible; }
#jta-assistant .jta-launcher:hover { transform: translateY(-3px); box-shadow: 0 10px 28px #102b2b35, inset 0 0 0 4px #ffffff75; background: #fbfbee; }
#jta-assistant .jta-flower { position: absolute; left: -12px; bottom: -8px; width: 96px; height: 104px; filter: drop-shadow(0 3px 2px #123b2b20); pointer-events: none; }
#jta-assistant .jta-launcher-copy { display: block; position: relative; color: #184d3c !important; }
#jta-assistant .jta-launcher-brand { display: block; color: #56704b !important; font: 700 8px/1.2 Arial, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 5px; }
#jta-assistant .jta-launcher-title { display: block; color: #184d3c !important; font: 20px/1.05 Georgia, serif; letter-spacing: -.4px; white-space: nowrap; }
#jta-assistant .jta-launcher-chat { position: absolute; right: 13px; top: 19px; opacity: .7; }
.jta-panel { position: absolute; right: 0; left: auto; bottom: 106px; width: 410px; height: 660px; max-height: calc(100vh - var(--jta-bottom, 96px) - 122px - env(safe-area-inset-bottom, 0px)); max-height: calc(100dvh - var(--jta-bottom, 96px) - 122px - env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; background: #fff; border: 1px solid #dce5de; border-radius: 22px 22px 9px 22px; box-shadow: 0 12px 48px #14352b30; overflow: hidden; }
.jta-header { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 22px 20px 18px; background: radial-gradient(ellipse at 100% 0%, #46724d 0, #184d3c 70%); color: #fff; }
.jta-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #ccdbb2; margin-bottom: 7px; }
.jta-header h2 { font-family: Georgia, serif; font-size: 23px; line-height: 1.2; font-weight: normal; color: #fff; margin: 0 0 6px; }
.jta-header p { margin: 0; font-size: 12px; color: #dbe7de; }
.jta-close { align-self: flex-start; border: 0; background: transparent; color: #fff; font-size: 27px !important; line-height: 1; width: 32px; height: 32px; padding: 0; flex-shrink: 0; }
.jta-messages { flex: 1; min-height: 80px; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px 6px; background: #fcfcf9; }
.jta-message { max-width: 95%; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; overflow-wrap: anywhere; font-size: 14px; }
.jta-message p { margin: 0; white-space: pre-wrap; }
#jta-assistant .jta-message p { color: inherit !important; }
#jta-assistant .jta-message.jta-user { background: #184d3c !important; color: #fff !important; }
#jta-assistant .jta-message.jta-user p { color: #fff !important; }
#jta-assistant .jta-message.jta-assistant p { color: #20382d !important; }
#jta-assistant .jta-message.jta-assistant { color: #20382d; }
.jta-assistant { background: #edf1e9; color: #20382d; border-bottom-left-radius: 3px; }
.jta-user { background: #184d3c; color: white; margin-left: auto; border-bottom-right-radius: 3px; }
.jta-sources { margin: 12px 0 0; padding: 10px 0 0 16px; border-top: 1px solid #cfd9cb; font-size: 12px; }
.jta-root .jta-sources a { color: #184d3c; text-decoration: underline; }
.jta-root .jta-contact-link { display: inline-block; margin-top: 10px; padding: 8px 12px; border: 1px solid #184d3c; border-radius: 8px; background: #fff; color: #184d3c; text-decoration: none; font-weight: bold; }
.jta-root .jta-contact-link:hover { background: #e2eee7; }
.jta-choices { margin-top: 12px; padding-top: 10px; border-top: 1px solid #cfd9cb; font-size: 12px; }
.jta-choices strong { display: block; margin-bottom: 5px; }
.jta-choices ul { margin: 0; padding-left: 16px; }
.jta-choices li { margin-top: 5px; }
.jta-root .jta-choices a { color: #184d3c; text-decoration: underline; }
.jta-followups { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.jta-root .jta-followups button { border: 1px solid #9ab295; border-radius: 16px; padding: 6px 10px; background: #fcfdf8; color: #184d3c; font-size: 12px; line-height: 1.4; text-align: left; }
.jta-root .jta-followups button:hover { background: #dfe9d7; }
.jta-root .jta-followups button:disabled { opacity: .5; cursor: default; }
.jta-suggestions { display: flex; flex-wrap: wrap; gap: 7px; padding: 8px 16px; background: #fcfcf9; }
.jta-suggestions button { padding: 6px 10px; background: white; border: 1px solid #b8cbb9; border-radius: 20px; color: #184d3c; font-size: 12px; }
.jta-status { margin: 0; min-height: 22px; padding: 2px 16px 5px; background: #fcfcf9; color: #5e655b; font-size: 12px; }
.jta-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 14px 6px; border-top: 1px solid #e5e8df; background: #fff; }
.jta-form textarea { display: block; min-height: 54px; max-height: 105px; resize: vertical; flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #bdcabe; border-radius: 8px; color: #20382d; background: #fff; font-size: 14px; line-height: 1.4; }
.jta-form textarea::placeholder { color: #6c746d; }
.jta-send { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; background: #184d3c; color: #fff; border: 0; border-radius: 50%; flex-shrink: 0; margin-bottom: 6px; }
.jta-send:disabled { opacity: 0.55; cursor: wait; }
.jta-mic { display: grid; place-items: center; width: 40px; height: 42px; padding: 0; flex-shrink: 0; margin-bottom: 6px; border: 1px solid #b8cbb9; border-radius: 50%; background: #fff; color: #184d3c; }
.jta-mic[aria-pressed="true"] { background: #fff0e8; color: #873b23; border-color: #873b23; }
.jta-mic:disabled { opacity: .5; cursor: default; }
#jta-assistant .jta-voice-status { margin: 0; padding: 5px 16px; color: #435c4e; background: #fcfcf9; font-size: 12px; }
.jta-footer { padding: 5px 16px 12px; font-size: 10px; color: #626e62; background: #fff; }
.jta-footer p { margin: 0 0 3px; line-height: 1.4; }
.jta-root .jta-footer a { color: #184d3c; text-decoration: underline; font-size: 11px; }
.jta-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 9px 12px 4px; background: #fcfcf9; }
.jta-toolbar button,.jta-order-view button { background: #fff; color: #184d3c; border: 1px solid #b8cbb9; border-radius: 7px; padding: 7px 9px; font-size: 12px; }
.jta-toolbar button:disabled { opacity: .5; }
.jta-mode { margin: 0; padding: 4px 14px 7px; font-size: 11px; background: #fcfcf9; color: #526650; border-bottom: 1px solid #e5e8df; }
.jta-chat-view { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.jta-chat-view .jta-messages { width: 100%; }
.jta-operator { background: #e2eee7; border-left: 3px solid #184d3c; }
.jta-operator strong { display: block; font-size: 11px; margin-bottom: 4px; }
.jta-system { padding: 4px 10px; background: transparent; font-size: 12px; color: #5e655b; text-align: center; }
.jta-order-view { flex: 1; min-height: 100px; overflow-y: auto; padding: 14px 16px; background: #fcfcf9; font-size: 13px; }
.jta-order-view h3 { margin: 14px 0 8px; color: #184d3c; font-size: 20px; }
.jta-order-view p { margin: 7px 0; }
.jta-order-view label { display: block; font-size: 12px; margin: 10px 0 4px; }
.jta-order-view input { display: block; width: 100%; padding: 9px; border: 1px solid #bdcabe; border-radius: 6px; font: inherit; background: #fff; color: #20382d; }
.jta-order-view button { margin-top: 8px; }
.jta-order-view button[type="submit"],.jta-account-orders { background: #184d3c; color: white; }
.jta-order-card { padding: 12px; margin: 12px 0; border: 1px solid #d5ded4; border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.jta-order-card h4 { margin: 0 0 9px; font-size: 15px; color: #184d3c; }
.jta-order-card a { color: #184d3c; text-decoration: underline; }
.jta-order-status { color: #6f521e; font-size: 12px; }
.jta-checking .jta-chat-view,.jta-checking .jta-order-view,.jta-checking .jta-form { visibility: hidden; }
.jta-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  #jta-assistant.jta-root { right: 12px !important; max-width: calc(100vw - 24px); }
  .jta-panel { position: fixed; top: 12px; right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; height: auto; max-height: none; }
  .jta-header { padding: 18px 16px 15px; }
  .jta-header h2 { font-size: 22px; }
}
/* Compact launcher on phones; keep the desktop design and chat panel size. */
@media (max-width: 600px) {
  #jta-assistant .jta-launcher { width: 160px; min-height: 60px; padding: 9px 20px 9px 64px; }
  #jta-assistant .jta-flower { left: -7px; bottom: -6px; width: 66px; height: 72px; }
  #jta-assistant .jta-launcher-brand { font-size: 7px; letter-spacing: 1px; margin-bottom: 3px; }
  #jta-assistant .jta-launcher-title { font-size: 16px; }
  #jta-assistant .jta-launcher-chat { width: 14px; height: 14px; right: 9px; top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .jta-root * { scroll-behavior: auto; transition: none !important; } }
@media (max-height: 620px) {
  .jta-panel { position: fixed; top: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: auto; max-height: none; max-width: calc(100vw - 24px); }
}

#jta-assistant .jta-flower { display: block; background: url("../img/plumeria-naturelle.png") center / contain no-repeat; }

#jta-assistant .jta-data-notice { margin: 2px 0 5px; }
#jta-assistant .jta-data-notice summary { cursor: pointer; color: #526650; font-size: 10px; padding: 4px 0; }
#jta-assistant .jta-data-notice summary:focus-visible { outline: 2px solid #c78f43; outline-offset: 2px; }
#jta-assistant .jta-data-notice[open] p { max-height: 120px; overflow-y: auto; margin-top: 6px; color: #526650; }
