:root {
  font: 15px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f5f1e8;
  background: #111;
  --black: #090909;
  --charcoal: #151515;
  --surface: #202020;
  --gold: #e0ad42;
  --gold-light: #ffd978;
  --red: #d8232a;
}
* { box-sizing: border-box; }
html { background-color: #090909; color-scheme: dark; }
html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  margin: 0; height: 100vh; height: 100dvh; height: var(--chat-height, 100dvh);
  position: absolute; top: var(--chat-top, 0px); left: 0; right: 0;
  display: flex; flex-direction: column; overflow: hidden; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(circle at 12% 18%, #e0ad4214 0, transparent 27%), radial-gradient(circle at 88% 82%, #d8232a12 0, transparent 25%), linear-gradient(145deg, #191919 0%, #0d0d0d 55%, #15100d 100%);
}
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .24; background-image: radial-gradient(#e0ad4245 .65px, transparent .65px); background-size: 16px 16px; }
header {
  min-height: 82px; background: linear-gradient(135deg, #080808 0%, #17120d 62%, #26090b 100%); color: #fff;
  display: flex; align-items: center; gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
  border-bottom: 1px solid #e0ad4266; box-shadow: 0 8px 30px #0009, inset 0 -1px #d8232a42; z-index: 2;
}
.avatar-wrap { position: relative; width: 56px; height: 56px; flex: 0 0 56px; padding: 0; border-radius: 50%; background: transparent; }
.avatar { width: 54px; height: 54px; display: block; border-radius: 50%; object-fit: cover; background: #050505; border: 1px solid var(--gold); box-shadow: 0 0 0 3px #e0ad421b, 0 5px 16px #000b; }
.avatar-badge { position: absolute; right: -1px; bottom: -1px; width: 20px; height: 20px; object-fit: cover; border: 2px solid #15110d; border-radius: 50%; background: #090909; box-shadow: 0 2px 5px #0008; }
.brand { min-width: 0; flex: 1; }
header strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--gold-light); font-size: 17px; letter-spacing: .015em; }
header small { display: block; font-size: 10px; }
.brand-claim { color: #f2e2bd; margin-top: 1px; font-weight: 700; letter-spacing: .015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.presence { color: #c9c1b4; margin-top: 3px; }
.online { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #54d889; box-shadow: 0 0 0 2px #54d88922; }
button, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
.header-actions { display: flex; align-items: center; gap: 3px; }
#install-chat, #help-chat, #close { min-width: 40px; height: 44px; padding: 0; border-radius: 12px; background: #ffffff08; color: #e8d8b5; line-height: 1; }
#install-chat { width: 52px; display: grid; place-content: center; gap: 2px; color: var(--gold-light); }
#install-chat[hidden] { display: none; }
#install-chat > span { font-size: 18px; font-weight: 900; }
#install-chat small { font-size: 9px; font-weight: 800; }
#help-chat { font-size: 21px; font-weight: 850; }
#close { width: 44px; font-size: 30px; }
html.fullscreen #close { display: none; }
html.embedded-compact header { display: none; }
html.embedded-compact .guide-action,
html.embedded-compact .upload-action.camera,
html.embedded-compact .upload-action.document { display: none !important; }
html.embedded-compact .upload-actions { grid-template-columns: 1fr; }
html.embedded-compact .upload-action.proof { min-height: 42px; border-color: #e0ad4275; border-radius: 13px; }
html.embedded-compact .preview-welcome { border-color: #e0ad4266; background: linear-gradient(145deg,#332817,#211a11); }
#install-chat:hover, #help-chat:hover, #close:hover { background: #e0ad4219; color: var(--gold-light); }
main {
  position: relative; z-index: 1; flex: 1; overflow: auto;
  padding: 18px max(12px, env(safe-area-inset-right)) 16px max(12px, env(safe-area-inset-left)); min-height: 0;
  display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.bubble {
  position: relative; max-width: 86%; padding: 9px 11px 7px; background: linear-gradient(145deg, #2a2a2a, #202020); color: #f7f3ea;
  border: 1px solid #ffffff10; border-radius: 13px 13px 13px 3px; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 5px 16px #0006;
}
.bubble.outgoing { align-self: flex-start; }
.bubble.incoming { align-self: flex-end; color: #fff9ec; background: linear-gradient(145deg, #6f171b, #431013); border-color: #ef4b503c; border-radius: 13px 13px 3px 13px; }
.bubble time { display: block; text-align: right; color: #aaa397; font-size: 10px; margin: 3px 0 0 18px; }
.bubble.incoming time { color: #e8c5be; }
.bubble.has-voice-note { padding: 3px 6px 2px; }
.bubble.has-voice-note > time { margin-top: 0; }
.chat-typing { min-width: 78px; min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; }
.chat-typing > img { width: 27px; height: 27px; border: 1px solid #e0ad4266; border-radius: 50%; object-fit: cover; }
.chat-typing .typing-dots { margin-left: 1px; }
.chat-typing .audio-wait-label { font-size: 11px; font-weight: 700; white-space: nowrap; }
.bubble a { display: block; color: var(--gold-light); font-weight: 750; margin-top: 6px; }
.bubble .attachment-preview { width: min(260px, 72vw); overflow: hidden; border-radius: 9px; background: #171717; border: 1px solid #e0ad423d; text-decoration: none; }
.attachment-preview img { display: block; width: 100%; max-height: 320px; object-fit: cover; background: #111; }
.attachment-preview img[hidden] { display: none; }
.attachment-preview span { display: block; padding: 7px 8px; color: var(--gold-light); font-size: 11px; text-align: center; }
.attachment-audio { min-width: min(218px, 68vw); margin-top: 3px; padding: 2px 4px; border: 1px solid #e0ad424a; border-radius: 16px; background: #161616; }
.attachment-audio audio { display: none; }
.voice-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.voice-play { position: relative; width: 32px; height: 32px; flex: 0 0 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--gold-light); }
.voice-play::before { content: ''; display: block; width: 0; height: 0; margin-left: 10px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 14px solid currentColor; }
.voice-play.is-playing::before { width: 12px; height: 16px; margin: 0 auto; border: 0; background: linear-gradient(90deg,currentColor 0 4px,transparent 4px 8px,currentColor 8px 12px); }
.voice-play:disabled { cursor: wait; opacity: .55; }
.voice-note-body { min-width: 0; flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 5px; align-items: center; }
.voice-wave { min-width: 0; height: 18px; display: flex; align-items: center; gap: 2px; overflow: hidden; }
.voice-wave i { width: 2px; height: var(--voice-height,9px); min-height: 3px; flex: 1 1 2px; max-width: 3px; border-radius: 999px; background: #897d69; transition: background .12s,transform .12s; }
.voice-wave i.played { background: var(--gold-light); }
.voice-duration { color: #aaa397; font-size: 10px; font-variant-numeric: tabular-nums; }
.voice-note-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; object-fit: cover; border: 2px solid #e0ad4266; }
.voice-note-customer-avatar { position: relative; overflow: hidden; background: linear-gradient(145deg,#f4d477,#b77916); border-color: #fff8; }
.voice-note-customer-avatar::before { content: ''; position: absolute; top: 5px; left: 9px; width: 8px; height: 8px; border-radius: 50%; background: #fff7df; }
.voice-note-customer-avatar::after { content: ''; position: absolute; left: 5px; bottom: 3px; width: 16px; height: 10px; border-radius: 12px 12px 5px 5px; background: #fff7df; }
.audio-loading { grid-column: 1 / -1; color: #aaa294; font-size: 10px; }
.attachment-audio .audio-fallback { flex: 0 0 calc(100% - 50px); margin: 0 7px 2px 50px; color: var(--gold-light); font-size: 11px; }
.delivery-check { margin-left: 4px; color: #8fd6ff; font-weight: 900; letter-spacing: -2px; }
.message-label { color: var(--gold-light); font-weight: 850; }
.message-heading { display: block; margin: 0 0 5px; color: var(--gold-light); font-weight: 900; letter-spacing: .02em; }
.message-card { display: block; margin: 9px 0; padding: 10px 11px; border-radius: 10px; white-space: pre-wrap; box-shadow: inset 0 1px #ffffff12, 0 4px 12px #0004; }
.continuity-card { border: 1px solid #4ea4dc66; background: linear-gradient(145deg,#182530,#111a21); color: #e8f5ff; }
.continuity-actions { display: grid; gap: 7px; margin-top: 11px; }
.continuity-action { min-height: 50px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 7px 11px; border: 1px solid #e0ad427d; border-radius: 12px; background: linear-gradient(145deg,#332818,#1d1912); color: #ffe7a8; text-align: left; box-shadow: 0 5px 14px #0005; }
.continuity-action > span { grid-row: 1 / 3; font-size: 23px; text-align: center; }.continuity-action b { font-size: 13px; }.continuity-action small { color: #cfc5b1; font-size: 10px; }
.continuity-action.whatsapp { border-color: #32c87588; background: linear-gradient(145deg,#163322,#10261a); color: #9df0bd; }
.continuity-arrow { color: #9db4c4; font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; }
.continuity-note { display: block; color: #aebdca; font-size: 10px; line-height: 1.35; text-align: center; }
.minimum-card { border: 1px solid #e0ad4285; border-left: 4px solid var(--gold); background: linear-gradient(135deg, #3a2b11, #211a10); color: #fff4d9; }
.payment-card { border: 1px solid #d8232a70; border-left: 4px solid var(--red); background: linear-gradient(135deg, #30171a, #211315); color: #f7e8e5; }
.payment-copy-actions { display: flex; gap: 7px; margin-top: 10px; white-space: normal; }
.payment-copy-actions button { min-height: 38px; flex: 1; border: 1px solid #e0ad4266; border-radius: 10px; background: #151515; color: #f6d982; font-weight: 800; }
.payment-copy-actions .copy-alias { border-color: #f0c35d; background: linear-gradient(145deg,#e7bb50,#b88322); color: #17110a; }
.payment-copy-actions button.copied { border-color: #44d989; background: #153922; color: #baf4d0; }
#status { position: relative; z-index: 1; min-height: 18px; font-size: 11px; padding: 0 max(14px, env(safe-area-inset-right)); margin: 2px 0 6px; color: #b7ae9e; }
#status.working { color: #f3d37b; font-weight: 750; }
.typing-dots { display: inline-flex; gap: 3px; align-items: center; margin-left: 7px; vertical-align: middle; }
.typing-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #e0ad42; animation: typing-dot 1.15s infinite ease-in-out; }
.typing-dots i:nth-child(2) { animation-delay: .16s; }
.typing-dots i:nth-child(3) { animation-delay: .32s; }
form {
  position: relative; z-index: 2; padding: 9px max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: linear-gradient(180deg, #1d1d1df5, #101010fa); border-top: 1px solid #e0ad424d; box-shadow: 0 -10px 30px #0005;
}
.guide-action { width: 100%; margin: 0 0 7px; padding: 5px 10px; border-radius: 10px; background: #e0ad4210; border: 1px solid #e0ad423a; color: #f0d79d; font-size: 11px; font-weight: 800; }
.upload-actions { display: grid; grid-template-columns: 48px 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.upload-action {
  position: relative; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid #e0ad425c; border-radius: 12px; background: linear-gradient(145deg, #292929, #1b1b1b); color: #f4dfb2;
  font-size: 12px; font-weight: 800; cursor: pointer; overflow: hidden; box-shadow: inset 0 1px #ffffff0b;
}
.upload-action.camera { width: 48px; border-color: #d8232a70; }
.upload-action.camera > span:last-of-type { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.upload-action.document { border-color: #7d72e7aa; }
.upload-icon { font-size: 18px; line-height: 1; color: var(--gold-light); }
.upload-action input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-action:focus-within { outline: 3px solid #f0bd4d; outline-offset: 2px; }
.compose-row { display: flex; align-items: flex-end; gap: 7px; }
.attach-toggle { display: none; width: 42px; height: 44px; flex: 0 0 42px; place-items: center; padding: 0; border-radius: 50%; background: transparent; color: #8696a0; }
.attach-toggle svg,.record-audio svg,.send-icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.send-icon { width: 21px; height: 21px; fill: currentColor; stroke: none; transform: translateX(1px); }
.compose-row textarea {
  min-width: 0; flex: 1; max-height: 110px; resize: none; border: 1px solid #5b4a2c; border-radius: 22px; padding: 10px 14px;
  background: #292929; color: #fff; outline: none; font-size: 16px; caret-color: var(--gold-light); box-shadow: inset 0 1px 5px #0006;
}
.compose-row textarea::placeholder { color: #aaa294; }
.compose-row textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px #e0ad4217; }
#submit {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; flex: 0 0 auto; border-radius: 50%;
  background: linear-gradient(145deg, #ef3940, #aa1117); color: #fff4d8; font-size: 19px; padding: 0; border: 1px solid #ff6a6e5e;
  box-shadow: 0 5px 14px #0008, inset 0 1px #ffffff30;
}
#submit-label { display: none; font-size: 13px; font-weight: 800; }
.has-file #submit { width: auto; padding: 0 16px; border-radius: 22px; }
.has-file #submit-label { display: inline; }
.record-audio { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 1px solid #e0ad4255; border-radius: 50%; background: linear-gradient(145deg,#e7bb50,#ad7419); color: #17110a; font-size: 20px; box-shadow: 0 5px 14px #0008; }
.record-audio[hidden],#submit[hidden] { display: none; }
.customer-audio-recorder { display: grid; gap: 8px; padding: 9px; border: 1px solid #e0ad425f; border-radius: 17px; background: #171717; }
.customer-audio-recorder[hidden] { display: none; }
.customer-audio-recorder .recording-dot { width: 9px; height: 9px; border-radius: 50%; background: #ef3940; box-shadow: 0 0 0 4px #ef394020; animation: guide-pulse 1.1s infinite; }
.audio-recorder-track { min-width: 0; display: grid; grid-template-columns: auto auto minmax(60px,1fr) auto; gap: 6px; align-items: center; }
.customer-audio-recorder.is-ready .audio-recorder-track { grid-template-columns: auto auto minmax(80px,1fr); }
.audio-recorder-track .recorder-wave { min-width: 80px; height: 28px; }
.customer-audio-recorder strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.customer-audio-recorder time { color: #aaa294; font-size: 16px; font-variant-numeric: tabular-nums; }
.customer-audio-recorder audio { display: none; }
.audio-recorder-actions { display: grid; grid-template-columns: 44px minmax(128px,1fr) 44px; gap: 8px; align-items: center; }
.customer-audio-recorder button { min-width: 42px; min-height: 42px; padding: 0 10px; border: 1px solid #e0ad424a; border-radius: 50%; background: #292929; color: #f4dfb2; font-weight: 800; }
.customer-audio-recorder .audio-review { min-width: 0; min-height: 28px; padding: 0 4px; border: 0; border-radius: 6px; background: transparent; color: #f4dfb2; font-size: 11px; }
.customer-audio-recorder .audio-review[hidden] { display: none; }
.customer-audio-recorder button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.audio-delete { border-radius: 50% !important; padding: 0 !important; color: #ff6870 !important; background: #34161a !important; }
.audio-pause { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 23px !important; }
#audio-pause-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.audio-pause-icon { width: 10px; height: 14px; background: linear-gradient(90deg,currentColor 0 3px,transparent 3px 7px,currentColor 7px 10px); }
.is-paused .audio-pause-icon,.is-ready .audio-pause:not(.is-playing) .audio-pause-icon { width: 0; height: 0; background: none; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid currentColor; }
#audio-finish { width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; border-color: #e0ad42; background: var(--gold); color: #17110a; font-size: 18px; }
.is-recording .customer-audio-recorder:not(.is-paused) .recorder-wave i { animation: voice-recording .85s ease-in-out infinite alternate; }
.customer-audio-recorder.is-paused .recording-dot { animation: none; opacity: .45; }
.customer-audio-recorder.is-ready .recording-dot { background: #46ce82; box-shadow: 0 0 0 4px #46ce8220; animation: none; }
.is-recording .upload-actions,.is-recording .guide-action,.is-recording .compose-row { display: none; }
.has-audio .upload-actions,.has-audio .guide-action,.has-audio .compose-row { display: none; }
.has-audio #file-selected { display: none; }
button:disabled { opacity: .5; cursor: wait; }
:focus-visible { outline: 3px solid #f0bd4d; outline-offset: 2px; }
#file-selected { margin: 0 0 8px; padding: 8px; border-radius: 12px; background: #272727; display: flex; align-items: center; gap: 9px; color: #d5cec1; font-size: 12px; border: 1px solid #e0ad424b; }
#file-selected[hidden] { display: none; }
#file-preview { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; background: #111; }
#file-selected > span { display: flex; flex: 1; min-width: 0; flex-direction: column; }
#file-selected strong { color: var(--gold-light); }
#file-name { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #aaa294; }
#remove-file { width: 40px; height: 40px; background: transparent; color: #d8caaa; font-size: 23px; padding: 0; }
#older { position: relative; z-index: 2; align-self: center; margin: 7px auto 0; border: 1px solid #e0ad424d; border-radius: 15px; background: #252525; color: var(--gold-light); box-shadow: 0 3px 10px #0006; font-size: 11px; padding: 5px 11px; }
.sheet { position: fixed; inset: 0; z-index: 20; display: grid; align-items: end; padding: 14px; background: #000b; backdrop-filter: blur(5px); }
.sheet[hidden] { display: none; }
.sheet-card { position: relative; width: min(100%, 430px); max-height: min(86dvh, 680px); overflow: auto; margin: 0 auto; padding: 22px 18px max(18px, env(safe-area-inset-bottom)); border: 1px solid #e0ad4266; border-radius: 22px; background: linear-gradient(155deg,#24201a,#111 56%,#1c0c0e); box-shadow: 0 24px 80px #000; text-align: left; }
.sheet-close { position: absolute; top: 9px; right: 9px; width: 44px; height: 44px; border-radius: 50%; background: #ffffff0c; color: #e8d8b5; font-size: 25px; }
.sheet-logo { display: block; width: 72px; height: 72px; margin: 0 auto 8px; border-radius: 50%; border: 1px solid var(--gold); }
.profile-card { padding: 0 0 18px; overflow: hidden; text-align: center; }
.profile-photo { display: block; width: 100%; max-height: min(68dvh,620px); object-fit: cover; object-position: center top; background: #111; }
.profile-card h2 { margin: 15px 42px 5px; }
.profile-card p { margin: 0 18px; }
.install-demo { position: relative; width: 180px; height: 74px; margin: 8px auto; overflow: hidden; border: 1px solid #e0ad424c; border-radius: 14px; background: #181818; }
.install-menu { position: absolute; top: 5px; right: 9px; color: #eee; font-size: 24px; animation: install-flow 4s infinite; }
.install-card { position: absolute; left: 12px; top: 27px; padding: 7px 10px; border-radius: 8px; background: #333; color: #fff; font-size: 11px; animation: install-flow 4s .8s infinite both; }
.install-demo img { position: absolute; right: 60px; top: 16px; width: 42px; height: 42px; border-radius: 50%; opacity: 0; animation: install-icon 4s 1.8s infinite; }
.sheet h2 { margin: 3px 30px 10px 0; color: var(--gold-light); font-size: 20px; line-height: 1.2; }
.sheet p, .sheet li { color: #ded6c8; font-size: 14px; line-height: 1.45; }
.sheet ol { padding-left: 22px; }
.sheet li { margin: 8px 0; }
.sheet-note { padding: 9px 11px; border-left: 3px solid var(--gold); border-radius: 8px; background: #e0ad4210; }
.load-guide-card { max-height: min(92dvh, 820px); padding-top: 18px; scroll-behavior: smooth; }
.guide-kicker { display: inline-block; margin: 0 44px 5px 0; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.guide-lead { margin: 0 0 12px; color: #cfc7ba!important; }
.load-choices { position: sticky; top: -22px; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 0 -5px 12px; padding: 8px 5px; background: linear-gradient(180deg,#211d18 74%,transparent); }
.load-choice { min-height: 88px; display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 6px; padding: 9px; border: 1px solid #e0ad4258; border-radius: 14px; background: linear-gradient(145deg,#29231a,#171512); color: #ffe7a8; text-align: left; transition: border-color .2s, transform .2s, background .2s; }
.load-choice > span { grid-row: 1 / 3; align-self: center; font-size: 21px; text-align: center; }
.load-choice b { font-size: 13px; line-height: 1.15; }
.load-choice small { color: #bfb6a7; font-size: 10px; line-height: 1.25; }
.load-choice.active { border-color: var(--gold); background: linear-gradient(145deg,#493719,#231b10); box-shadow: 0 0 0 2px #e0ad421c, 0 6px 18px #0006; transform: translateY(-1px); }
.load-choice.whatsapp-choice { border-color: #32c87555; color: #9df0bd; }
.load-choice.whatsapp-choice.active { border-color: #43d984; background: linear-gradient(145deg,#163b25,#0e2417); box-shadow: 0 0 0 2px #32c8751c, 0 6px 18px #0006; }
.guide-route[hidden] { display: none; }
.guide-route h3 { margin: 3px 0 6px; color: #fff0c7; font-size: 17px; }
.route-intro { margin: 0 0 9px; }
.installed-share-tip { margin: 9px 0 0; padding: 10px 11px; border: 1px solid #32c87577; border-radius: 11px; background: #10321e; color: #c8f5d8!important; }
.brave-share-tip { margin: 9px 0 0; padding: 10px 11px; border: 1px solid #e0ad4266; border-radius: 11px; background: #332818; color: #ffe7a8!important; }
.load-steps { list-style: none; padding: 0!important; counter-reset: load-step; }
.load-steps li { position: relative; min-height: 46px; margin: 7px 0; padding: 9px 9px 9px 44px; border: 1px solid #ffffff12; border-radius: 11px; background: #ffffff08; }
.load-steps li::before { counter-increment: load-step; content: counter(load-step); position: absolute; left: 9px; top: 9px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #17110a; font-weight: 900; }
.keep-chat-card { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: center; margin: 10px 0; padding: 11px; border: 1px solid #e0ad4247; border-radius: 13px; background: #e0ad420d; }
.keep-chat-card > div { min-width: 0; }
.keep-chat-card b, .keep-chat-card small { display: block; }
.keep-chat-card > div small { margin-top: 2px; color: #cfc5b1; font-size: 10px; line-height: 1.3; }
.keep-chat-card button { max-width: 142px; padding: 8px 10px; border: 1px solid #e0ad4270; border-radius: 10px; background: #2f2516; color: #ffe5a2; text-align: left; }
.keep-chat-card button b, .keep-chat-card button small { display: block; }
.keep-chat-card button small { color: #cfc5b1; font-size: 9px; }
.keep-chat-card button.installed { border-color: #42db85; background: #12301d; color: #aef3c7; }
.safe-return { display: grid; grid-template-columns: 35px 1fr; gap: 8px; align-items: center; margin: 10px 0; padding: 11px; border: 1px solid #55a9e266; border-radius: 13px; background: linear-gradient(145deg,#142838,#101b24); }
.safe-return > span { font-size: 24px; text-align: center; }
.safe-return b, .safe-return small { display: block; }
.safe-return small { margin-top: 2px; color: #bfd3e0; font-size: 10px; line-height: 1.35; }
.whatsapp-open { width: 100%; min-height: 58px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid #39cc78; border-radius: 14px; background: linear-gradient(145deg,#1d6e3c,#114326); color: #e5ffed; text-align: left; box-shadow: 0 7px 18px #0006; }
.whatsapp-open > span { grid-row: 1 / 3; font-size: 23px; }
.whatsapp-open small { color: #bce9cb; font-size: 10px; }
.sheet-primary { width: 100%; min-height: 46px; margin-top: 6px; border-radius: 14px; background: linear-gradient(145deg,#ef3940,#a80f15); color: white; font-weight: 850; }
.sheet-footer { position: sticky; bottom: -18px; z-index: 6; display: grid; grid-template-columns: .6fr .95fr 1.15fr; gap: 7px; margin: 12px -18px -18px; padding: 11px 18px max(15px, env(safe-area-inset-bottom)); border-top: 1px solid #e0ad4233; background: linear-gradient(180deg,#18130ff2,#0b0b0b 35%); backdrop-filter: blur(8px); }
.sheet-footer .sheet-primary { margin: 0; }
.sheet-secondary { min-height: 46px; border: 1px solid #e0ad4266; border-radius: 14px; background: #ffffff09; color: #ffe7a8; font-weight: 800; }
.sheet-top { min-height: 46px; border: 1px solid #ffffff1a; border-radius: 14px; background: #ffffff08; color: #cfc6b6; font-size: 11px; font-weight: 800; }
.walkthrough { margin: 10px 0 12px; padding: 12px 12px 9px; border: 1px solid #e0ad4240; border-radius: 17px; background: radial-gradient(circle at 50% 20%,#e0ad4215,transparent 44%),#0d0d0d; overflow: hidden; }
.whatsapp-walkthrough { border-color: #32c87555; background: radial-gradient(circle at 50% 20%,#32c87514,transparent 44%),#0d0d0d; }
.walk-phone { position: relative; width: 142px; height: 244px; margin: 0 auto; overflow: hidden; border: 5px solid #4a4030; border-radius: 27px; background: #090909; box-shadow: 0 12px 34px #000b, inset 0 0 0 1px #ffffff0c; }
.walk-speaker { position: absolute; z-index: 10; top: 7px; left: 50%; width: 36px; height: 5px; border-radius: 4px; background: #6f6453; transform: translateX(-50%); }
.walk-home { position: absolute; z-index: 10; left: 50%; bottom: 6px; width: 28px; height: 3px; border-radius: 3px; background: #d9cdaf; transform: translateX(-50%); }
.walk-scene { position: absolute; inset: 18px 5px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 12px 9px; border-radius: 17px; background: linear-gradient(155deg,#291f10,#151515); color: #f8df9b; text-align: center; opacity: 0; animation: guide-scene 21s linear infinite backwards; animation-delay: calc(var(--step) * 3s); }
.walk-scene strong { font-size: 12px; line-height: 1.2; }
.walk-scene small { min-height: 27px; color: #d2c9b9; font-size: 9px; line-height: 1.35; }
.walk-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #e0ad4255; border-radius: 16px; background: #ffffff0a; font-size: 29px; box-shadow: 0 7px 18px #0006; }
.bank-scene { background: linear-gradient(155deg,#16304a,#091723); color: #d7edff; }
.capture-scene { background: linear-gradient(155deg,#2a2a2a,#101010); }
.wa-scene { background: linear-gradient(155deg,#123922,#081a10); color: #c9f8d8; }
.fallback-scene { background: linear-gradient(155deg,#142e42,#0a1720); color: #d8efff; }
.success-scene { background: radial-gradient(circle at 50% 35%,#e0ad4230,transparent 40%),linear-gradient(155deg,#342711,#15120c); }
.mock-button,.mock-field,.mock-link { display: block; width: 100%; padding: 6px 7px; border-radius: 8px; font-size: 8px; font-style: normal; font-weight: 850; }
.mock-button.gold { background: linear-gradient(145deg,#e8bd58,#b77b1c); color: #17110a; }
.mock-button.blue { background: #2480c5; color: white; }
.mock-button.dark { border: 1px solid #e0ad4255; background: #1d1d1d; color: #f9dc92; }
.mock-button.green { background: #25a85c; color: white; }
.mock-field { border: 1px solid #6ba6cf; background: #ffffff0c; color: #e4f4ff; text-align: left; }
.mock-link { color: #64bfff; text-decoration: underline; }
.mini-message { width: 100%; padding: 8px; border-radius: 4px 11px 11px 11px; background: #d9fdd3; color: #15281a; font-size: 8px; line-height: 1.45; text-align: left; }
.mini-message u { color: #1778c8; font-weight: 800; }
.capture-flash { position: absolute; inset: 8px; border-radius: 13px; pointer-events: none; animation: guide-flash 21s linear infinite; animation-delay: calc(var(--step) * 3s); }
.walk-caption { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 8px; color: #cfc6b5; font-size: 10px; }
.walk-caption span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #e0ad4215; animation: guide-pulse 1.4s infinite; }
.whatsapp-walkthrough .walk-caption span { background: #35cf78; box-shadow: 0 0 0 4px #35cf7818; }
.walk-caption button { margin-left: auto; padding: 5px 7px; border: 1px solid #ffffff1b; border-radius: 8px; background: #ffffff08; color: #d8cfbf; font-size: 9px; font-weight: 800; }
.screenshot-help { margin: 10px 0; border: 1px solid #e0ad424b; border-radius: 12px; background: #171717; }
.screenshot-help summary { padding: 11px 13px; color: var(--gold-light); font-size: 13px; font-weight: 800; cursor: pointer; }
.screenshot-help > p { margin: 0; padding: 0 13px 13px; font-size: 13px; }
.screenshot-demo { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 13px 10px; color: #ddd2bd; font-size: 11px; }
.screenshot-phone { position: relative; width: 48px; height: 82px; flex: 0 0 auto; border: 3px solid #655a47; border-radius: 12px; background: #242424; }
.shot-power,.shot-volume { position: absolute; width: 4px; height: 17px; border-radius: 3px; background: #ef3940; animation: screenshot-buttons 2.4s infinite; }
.shot-power { right: -6px; top: 27px; }.shot-volume { left: -6px; top: 27px; }
.shot-screen { position: absolute; inset: 5px; display: grid; place-items: center; border-radius: 7px; background: #e0ad4217; color: var(--gold-light); font-size: 20px; animation: screenshot-flash 2.4s infinite; }
@keyframes guide-scene { 0% { opacity: 0; transform: translateX(20px) scale(.97); } .8%,11.8% { opacity: 1; transform: translateX(0) scale(1); } 13.5%,100% { opacity: 0; transform: translateX(-18px) scale(.97); } }
@keyframes guide-flash { 0%,6%,100% { background: transparent; } 7%,8% { background: #fff; box-shadow: 0 0 25px #fff; } }
@keyframes guide-pulse { 0%,100% { transform: scale(.8); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
@keyframes screenshot-buttons { 0%,28%,72%,100% { transform: scale(1); filter: brightness(1); } 38%,58% { transform: scale(.72); filter: brightness(1.8); } }
@keyframes screenshot-flash { 0%,35%,65%,100% { background: #e0ad4217; box-shadow: none; } 45%,55% { background: #fff; box-shadow: 0 0 18px #fff; } }
@keyframes typing-dot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes voice-recording { from { transform: scaleY(.45); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
@keyframes install-flow { 0%,22% { opacity: 1; transform: scale(1); } 30%,75% { opacity: .22; transform: scale(.94); } 86%,100% { opacity: 1; transform: scale(1); } }
@keyframes install-icon { 0%,30% { opacity: 0; transform: translateY(16px) scale(.5); } 45%,78% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-8px) scale(.9); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 480px) {
  header { min-height: 76px; }
  .avatar-wrap { width: 51px; height: 51px; flex-basis: 51px; }
  .avatar { width: 49px; height: 49px; }
  .bubble { max-width: 90%; }
  main { padding-top: 13px; padding-bottom: 12px; }
  .upload-actions { margin-bottom: 7px; }
}
@media (max-height: 560px) {
  header { min-height: 62px; padding-top: 6px; padding-bottom: 6px; }
  .avatar-wrap { width: 44px; height: 44px; flex-basis: 44px; }
  .avatar { width: 42px; height: 42px; }
  .upload-actions { margin-bottom: 5px; }
  #status { margin-bottom: 3px; }
}
@media (prefers-reduced-motion: reduce) { main,.load-guide-card { scroll-behavior: auto; } .walk-scene,.capture-flash,.walk-caption span,.install-demo img,.install-demo span,.shot-power,.shot-volume,.shot-screen,.typing-dots i,.recorder-wave i { animation: none !important; } .walk-scene { display: none; }.walk-scene:first-of-type { display: flex; opacity: 1; transform: none; }.install-demo img { display: none; } }
.credential-card{border:1px solid #e0ad4285;border-left:4px solid var(--gold);background:linear-gradient(135deg,#2f2818,#1d1912);user-select:text;-webkit-user-select:text}.credential-copy-actions{display:grid;grid-template-columns:1fr 1fr}.credential-copy-actions button:last-child{grid-column:1/-1}
.credited-card{border:1px solid #48d78780;border-left:4px solid #35cf78;background:linear-gradient(145deg,#163a28,#10271d);color:#effff5;user-select:text;-webkit-user-select:text}.credited-card .message-heading{color:#baf4d0}.credited-card a{color:#f6d982}.credited-copy-actions{display:grid;grid-template-columns:1fr 1fr}.credited-copy-actions button{border-color:#48d78780;background:#10271d;color:#c9f9da}.credited-copy-actions button:last-child{grid-column:1/-1;background:#1c6b40;color:#fff}

html.chat-whatsapp { color-scheme: light; background: #efeae2; }
html.chat-whatsapp body { background: #efeae2; color: #111b21; }
html.chat-whatsapp body::before { opacity: .32; background-image: radial-gradient(#8696a033 .7px,transparent .7px); background-size: 14px 14px; }
html.chat-whatsapp header { min-height: 70px; background: #075e54; border-bottom: 0; box-shadow: 0 2px 9px #0004; }
html.chat-whatsapp header strong,html.chat-whatsapp .brand-claim { color: #fff; }
html.chat-whatsapp .presence { color: #d7eeea; }
html.chat-whatsapp .avatar { width: 48px; height: 48px; flex-basis: 48px; border-color: #fff8; box-shadow: none; }
html.chat-whatsapp .avatar-wrap { width: 50px; height: 50px; flex-basis: 50px; }
html.chat-whatsapp .avatar-badge { width: 18px; height: 18px; border-color: #075e54; }
html.chat-whatsapp #install-chat,html.chat-whatsapp #help-chat,html.chat-whatsapp #close { color: #fff; background: transparent; }
html.chat-whatsapp main { background: linear-gradient(#efeae2e8,#efeae2e8),radial-gradient(#7f8c8d35 .8px,transparent .8px); background-size: auto,13px 13px; }
html.chat-whatsapp .bubble { background: #fff; color: #111b21; border: 0; border-radius: 8px 8px 8px 2px; box-shadow: 0 1px 2px #0003; }
html.chat-whatsapp .bubble.incoming { background: #d9fdd3; color: #111b21; border-radius: 8px 8px 2px 8px; }
html.chat-whatsapp .bubble time,html.chat-whatsapp .bubble.incoming time { color: #667781; }
html.chat-whatsapp .message-label,html.chat-whatsapp .message-heading,html.chat-whatsapp .bubble a { color: #087d72; }
html.chat-whatsapp #status { margin: 0; padding-top: 3px; padding-bottom: 3px; color: #54656f; background: #f0f2f5; }
html.chat-whatsapp form { background: #f0f2f5; border-top: 0; box-shadow: 0 -1px 5px #0002; }
html.chat-whatsapp .guide-action { background: #fff; border-color: #d8dde0; color: #54656f; }
html.chat-whatsapp .upload-actions { position: absolute; left: 10px; bottom: calc(100% - 8px); width: min(330px,calc(100% - 20px)); grid-template-columns: repeat(3,1fr); margin: 0; padding: 9px; border-radius: 17px; background: #fff; box-shadow: 0 7px 30px #0004; opacity: 0; pointer-events: none; transform: translateY(8px) scale(.98); transition: opacity .16s,transform .16s; }
html.chat-whatsapp form.attachments-open .upload-actions { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
html.chat-whatsapp .upload-action { min-height: 62px; width: auto; display: grid; place-items: center; align-content: center; gap: 3px; background: #fff; border: 0; color: #3b4a54; box-shadow: none; }
html.chat-whatsapp .upload-action.camera > span:last-of-type { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
html.chat-whatsapp .upload-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #7f66e9; color: #fff; }
html.chat-whatsapp .upload-action.camera .upload-icon { background: #e25a79; }
html.chat-whatsapp .upload-action.document .upload-icon { background: #526fe0; }
html.chat-whatsapp .attach-toggle { display: grid; }
html.chat-whatsapp .upload-action.camera { border-color: #d8dde0; }
html.chat-whatsapp .upload-icon { color: #00a884; }
html.chat-whatsapp .compose-row textarea { background: #fff; color: #111b21; border-color: transparent; box-shadow: none; }
html.chat-whatsapp .compose-row textarea::placeholder { color: #667781; }
html.chat-whatsapp .compose-row textarea:focus { border-color: #00a884; box-shadow: 0 0 0 2px #00a88422; }
html.chat-whatsapp #submit,html.chat-whatsapp .record-audio { background: #00a884; border-color: #00a884; color: #fff; box-shadow: none; }
html.chat-whatsapp .record-audio svg { width: 24px; height: 24px; stroke-width: 2; }
html.chat-whatsapp .customer-audio-recorder { background: #fff; border-color: #d8dde0; }
html.chat-whatsapp .customer-audio-recorder strong { color: #111b21; }
html.chat-whatsapp .customer-audio-recorder time { color: #667781; }
html.chat-whatsapp .customer-audio-recorder button { background: #f0f2f5; border-color: #d8dde0; color: #3b4a54; }
html.chat-whatsapp .customer-audio-recorder .audio-review { background: transparent; border: 0; color: #006d62; }
html.chat-whatsapp .customer-audio-recorder .audio-delete { color: #ea3b53 !important; background: #fff0f2 !important; border-color: transparent; }
html.chat-whatsapp .customer-audio-recorder .audio-pause { background: #e9edef; }
html.chat-whatsapp #audio-finish { background: #00a884; border-color: #00a884; color: #fff; }
html.chat-whatsapp .attachment-audio { background: transparent; border-color: transparent; }
html.chat-whatsapp .voice-play { color: #00a884; }
html.chat-whatsapp .voice-wave i { background: #8696a0; }
html.chat-whatsapp .voice-wave i.played { background: #00a884; }
html.chat-whatsapp .voice-duration,html.chat-whatsapp .audio-loading { color: #667781; }
html.chat-whatsapp .voice-note-avatar { border-color: #fff; }
html.chat-whatsapp .attachment-audio .audio-fallback { color: #087d72; }
html.chat-whatsapp .bubble.incoming .delivery-check { color: #53bdeb; }

@media (max-width: 350px) {
 .attachment-audio { min-width: min(200px,66vw); }
 .voice-wave { gap: 1px; }
 .audio-recorder-actions { grid-template-columns: 40px minmax(104px,1fr) 40px; gap: 6px; }
 .customer-audio-recorder button { min-width: 38px; min-height: 38px; }
 #audio-finish { width: 40px; height: 40px; min-width: 40px; min-height: 40px; }
}
/* Optional first-contact experiment; it disappears after the first customer message. */
.conversion-intro { align-self: stretch; max-width: 420px; padding: 15px; border: 1px solid #d9b568; border-radius: 16px; background: #211b15; color: #fff5e1; box-shadow: 0 5px 18px #0003; }
.conversion-intro h2 { margin: 0 0 4px; font-size: 18px; line-height: 1.25; }
.conversion-intro ol { margin: 9px 0 13px; padding-left: 23px; font-size: 14px; line-height: 1.45; }
.conversion-intro li + li { margin-top: 5px; }
.conversion-intro li::marker { color: #dfb953; font-weight: 800; }
.conversion-intro p { margin: 0 0 11px; font-size: 14px; line-height: 1.4; }
.conversion-intro .conversion-minimum { display: inline-block; margin-bottom: 12px; padding: 4px 9px; border-radius: 8px; background: #dfb953; color: #17201b; font-size: 13px; }
.conversion-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.conversion-actions button { min-height: 44px; padding: 7px; border: 1px solid #d9b56880; border-radius: 10px; background: #3a3228; color: inherit; font-weight: 700; line-height: 1.25; }
.conversion-actions .primary { grid-column: 1 / -1; background: #e6bd59; color: #17201b; }
.conversion-actions button:focus-visible,.conversion-whatsapp:focus-visible { outline: 3px solid #83d8cc; outline-offset: 2px; }
.conversion-intro .conversion-detail { margin: 12px 0 0; padding: 9px; border-radius: 9px; background: #ffffff12; }
.conversion-whatsapp { display: block; margin-top: 12px; color: #9ce5c2; font-size: 13px; font-weight: 700; }
.conversion-intro small { display: block; margin-top: 10px; opacity: .78; }
html.chat-whatsapp .conversion-intro { background: #fff; color: #182328; border-color: #dfd8c7; }
html.chat-whatsapp .conversion-intro li::marker { color: #087d72; }
html.chat-whatsapp .conversion-actions button { background: #f1f5f2; border-color: #cddbd4; color: #164a3c; }
html.chat-whatsapp .conversion-actions .primary { background: #087d72; border-color: #087d72; color: #fff; }
html.chat-whatsapp .conversion-intro .conversion-detail { background: #eaf4ef; }
html.chat-whatsapp .conversion-whatsapp { color: #087d72; }
@media (prefers-reduced-motion: reduce) { .conversion-intro * { animation: none !important; transition: none !important; } }
