/* Uses existing website font and main yellow accent. No ERP design shell. */
.wa { --wa-yellow: #ffc400; --wa-ink: #191b1e; --wa-muted: #555b61; font-family: inherit; font-size: 15px; line-height: 1.45; color: var(--wa-ink); }
.wa *, .wa *::before, .wa *::after { box-sizing: border-box; }
.wa [hidden] { display: none !important; }
.wa button, .wa input, .wa textarea { font: inherit; }
.wa button, .wa a { -webkit-tap-highlight-color: transparent; }
.wa button { cursor: pointer; }
.wa button:disabled { cursor: wait; opacity: .65; }
.wa :focus-visible { outline: 3px solid #2458c4; outline-offset: 3px; }
.wa-launcher { position: fixed; z-index: 70; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); min-height: 52px; padding: 14px 24px; border: 1px solid #ad8600; border-radius: 30px; color: var(--wa-ink); background: var(--wa-yellow); box-shadow: 0 8px 28px #191b1e25; font-weight: 750 !important; }
.wa-panel { position: fixed; z-index: 80; right: 24px; bottom: calc(90px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; width: min(410px, calc(100vw - 32px)); max-height: min(720px, calc(100dvh - 120px)); background: #fff; border: 1px solid #ddd; border-radius: 18px; box-shadow: 0 14px 60px #191b1e35; overflow: auto; }
.wa-header { padding: 16px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; background: var(--wa-yellow); border-radius: 17px 17px 0 0; }
.wa-header strong { font-size: 19px; }
.wa-header p { font-size: 12px; margin: 3px 0 0; }
.wa-close { background: transparent; color: inherit; border: 0; padding: 0 8px; font-size: 26px !important; min-width: 40px; min-height: 40px; }
.wa-log { flex: 1 1 auto; min-height: 120px; max-height: 340px; overflow-y: auto; padding: 18px; overscroll-behavior: contain; }
.wa-message { padding: 11px 13px; margin: 0 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 12px; background: #f4f5f6; }
.wa-user { margin-left: 36px; background: #fff3c7; }
.wa-source { font-size: 11px; color: var(--wa-muted); margin: -6px 0 16px; }
.wa-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.wa-action, .wa-suggestion { border: 1px solid #c5c5c5; background: #fff; border-radius: 8px; color: var(--wa-ink); padding: 9px 11px; text-align: left; text-decoration: none; }
.wa-suggestion { display: block; width: 100%; margin-bottom: 10px; }
.wa-chat-form { display: flex; align-items: end; gap: 8px; padding: 12px 16px; border-top: 1px solid #eee; }
.wa-chat-form textarea { width: 100%; min-width: 0; resize: vertical; max-height: 140px; padding: 10px; border: 1px solid #929292; border-radius: 8px; color: var(--wa-ink); background: #fff; }
.wa-chat-form button, .wa-review button[type=submit] { border: 0; border-radius: 8px; padding: 12px 14px; min-height: 44px; background: var(--wa-yellow); color: var(--wa-ink); font-weight: 700; }
.wa-status { margin: 0; padding: 0 16px; color: #714e00; font-size: 13px; }
.wa-status:empty { display: none; }
.wa-footer { display: flex; gap: 12px; padding: 0 16px 12px; }
.wa-link { padding: 4px 0; color: #484d52; text-decoration: underline; border: 0; background: none; font-size: 12px !important; }
.wa-review { padding: 16px; border-top: 1px solid #ddd; background: #fafafa; }
.wa-review h3 { margin: 0 0 8px; }
.wa-review p { font-size: 13px; }
.wa-review > label:not(.wa-consent) { display: block; font-size: 13px; margin: 12px 0 5px; }
.wa-review > input, .wa-review > textarea { display: block; width: 100%; border: 1px solid #929292; border-radius: 6px; padding: 9px; color: var(--wa-ink); background: #fff; }
.wa-review input[readonly] { background: #eee; }
.wa-consent { display: flex; gap: 9px; align-items: flex-start; margin-top: 16px; font-size: 13px; }
.wa-consent input { margin-top: 4px; accent-color: #8c6c00; }
.wa-review a { display: block; margin: 12px 0; color: #243d6a; }
.wa-review button[type=submit] { width: 100%; margin-top: 8px; }
.wa-sr { 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: 600px) { .wa-launcher { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); } .wa-panel { right: 8px; width: calc(100vw - 16px); bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 96px); } }
@media (prefers-reduced-motion: reduce) { .wa * { scroll-behavior: auto; } }

