:root{font-family:"Segoe UI",Helvetica,Arial,sans-serif;color:#111b21;background:#dfe5e7;color-scheme:light;--green:#008069;--action:#00a884;--muted:#667781;--wall:#efeae2;--out:#d9fdd3;--line:#d9e0e3}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
button,input,textarea{font:inherit}
button,a,input,textarea{-webkit-tap-highlight-color:transparent}
button{border:0;cursor:pointer;background:var(--green);color:#fff;font-weight:600;border-radius:8px;padding:12px 16px}
button:disabled{opacity:.48;cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #007fca;outline-offset:3px}
button svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.chat{height:var(--chat-height,100dvh);max-width:780px;margin:auto;display:flex;flex-direction:column;overflow:hidden;background:var(--wall);box-shadow:0 0 30px #20322b12}
.chat-header{flex-shrink:0;display:flex;align-items:center;gap:11px;padding:12px 18px;background:var(--green);color:white;z-index:4}
.chat-header img{border-radius:50%;background:#111;object-fit:cover}
.chat-header>div{flex:1;min-width:0}
h1{margin:0 0 3px;font-size:18px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.chat-header p{margin:0;font-size:13px;color:#e2f3ec}
.quiet{background:#fff;color:var(--green);border:1px solid var(--line);font-size:13px;padding:10px 14px}
.chat-header .quiet{border:0;color:white;background:#ffffff16}
#status{flex-shrink:0;min-height:0;margin:0;padding:9px 15px;background:#fff8dc;color:#63532e;font-size:13px;line-height:1.35;text-align:center}
#status:empty{display:none}
#status.is-routine{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
.channel-choices{display:flex;align-items:center;justify-content:center;gap:5px;background:#f0f2f5;padding:6px 10px;flex-shrink:0;border-bottom:1px solid #e4e7e9}
.chat-header h1,.chat-header p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#customerInstall{font-size:12px;padding-inline:7px;min-height:44px}
@media(max-width:420px){.chat-header{gap:4px;padding:10px 8px}.chat-header>img{width:32px;height:32px;flex-shrink:0}.chat-header>div{min-width:76px}.chat-header .quiet{flex-shrink:0;min-height:44px;padding-inline:6px}#customerGift,#customerMenuToggle{width:30px;padding-inline:0}.chat-header h1{font-size:16px}}
#install-help p{line-height:1.5}#install-help-close{min-height:44px}
.history{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#babfbd transparent;padding:12px 0 20px;background-color:var(--wall);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23978f81' stroke-opacity='.12' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m23 21 9-7 10 7v12H23zM27 33v-9h9v9M103 30c-15-16-24 5 0 17 24-12 15-33 0-17ZM188 22l4 8 9 1-7 6 2 9-8-4-8 4 2-9-7-6 9-1ZM63 92h22v16H73l-8 6v-6h-2zM67 98h14m-14 5h9M150 93l12 16-17 12-12-17zM142 94l9-6M20 168c9-16 26-4 18 8-7 9-15 0-12-7M107 175h22v15h-22zm4-5h14m-19 24h24M190 156c-12-7-18 10-7 16l12 7 5-10zM56 222l8-13 8 13zM211 220h13m-7-6v13M15 110h8m-4-4v8'/%3E%3Ccircle cx='211' cy='96' r='8'/%3E%3Cpath d='m207 96 3 3 5-6'/%3E%3C/svg%3E")}
.older{display:block;margin:0 auto 12px;border-radius:20px;box-shadow:0 1px 2px #0b141a12}
.conversation-note{width:fit-content;max-width:310px;margin:10px auto 18px;background:#ffefc7e8;color:#546166;padding:10px 14px;border-radius:8px;text-align:center;font-size:12px;line-height:1.5;box-shadow:0 1px 1px #0b141a12}
#messages{display:flex;flex-direction:column;gap:3px;padding:0 22px}
.date-divider{align-self:center;margin:14px 0;background:#fffffff0;color:#54656f;font-size:12px;line-height:1.4;padding:6px 12px;border-radius:7px;box-shadow:0 1px 1px #0b141a15}
.message{position:relative;max-width:85%;padding:7px 9px 5px;border-radius:8px;background:#fff;align-self:flex-start;box-shadow:0 1px 1px #0b141a24;overflow-wrap:anywhere;min-width:78px}
.message.in{background:var(--out);align-self:flex-end}
.message.group-start{margin-top:8px;border-top-left-radius:0}
.message.group-start::before{content:"";position:absolute;top:0;left:-7px;border-top:9px solid white;border-left:8px solid transparent}
.message.in.group-start{border-top-left-radius:8px;border-top-right-radius:0}
.message.in.group-start::before{left:auto;right:-7px;border-left:0;border-right:8px solid transparent;border-top-color:var(--out)}
.message-author{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.content{white-space:pre-wrap;font-size:16px;line-height:1.4}
.content:empty{display:none}
.content a{color:#027eb5;text-decoration:underline;text-underline-offset:2px;word-break:break-word}
.content code{background:#00000008;font-family:ui-monospace,monospace;border-radius:3px;padding:1px 3px;font-size:.9em}
.message time{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#667781;font-size:11px;line-height:1.3;margin:3px 0 0 24px;font-variant-numeric:tabular-nums}
.message-status{font-size:14px;color:#667781;line-height:1}
.message-status.is-error{color:#b42335}
.message img{display:block;max-width:100%;max-height:300px;border-radius:6px;object-fit:contain;margin:3px 0 5px}
.message a{color:#007c97}
.file-state{margin-top:3px;font-size:13px;line-height:1.5}
.file-state>a:not(:has(img)){display:flex;padding:12px;background:#00000005;border-radius:5px}
.quick-actions{flex-shrink:0;display:flex;justify-content:center;gap:7px;padding:7px 10px 1px;background:#f0f2f5}
.quick-card{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:5px 13px;border:1px solid #d7e4dd;border-radius:20px;background:#fff;color:#00735c;font-size:12px;font-weight:500}
.quick-card>span{font-size:20px;line-height:1}
.quick-card svg{width:16px;height:16px;stroke-width:1.6}
#composer{flex-shrink:0;display:flex;align-items:flex-end;gap:7px;padding:8px max(10px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#f0f2f5;z-index:8}
.compose-capsule{display:flex;align-items:flex-end;min-width:0;flex:1;border-radius:25px;background:#fff;box-shadow:0 1px 2px #0b141a12;padding:2px 6px}
.text-composer{min-width:0;flex:1;display:flex}
.text-composer textarea{display:block;resize:none;width:100%;max-height:120px;min-height:44px;line-height:22px;padding:11px 8px 11px 2px;border:0;color:#111b21;background:transparent;font-size:16px;scrollbar-width:thin}
.text-composer textarea::placeholder{color:#667781;opacity:1}
.text-composer textarea:focus-visible{outline:none;box-shadow:inset 0 -2px var(--green)}
.icon-button,.mic-button,.send-button,.record-send{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;padding:0;border-radius:50%}
.icon-button{width:42px;height:44px;background:transparent;color:#667781}
.mic-button,.send-button,.record-send{background:var(--action);color:white}
.send-button{display:none}
.composer-has-text .send-button{display:grid}
.composer-has-text .mic-button{display:none}
.attach-wrap{position:relative}
.attach-menu{position:absolute;left:-2px;bottom:58px;width:210px;padding:8px;background:#fff;border-radius:12px;box-shadow:0 6px 28px #0b141a30}
.attach-menu button{width:100%;display:flex;align-items:center;gap:12px;background:transparent;color:#33464f;padding:12px 10px;text-align:left;font-weight:500;font-size:14px}
.attach-menu button:hover{background:#f0f2f5}
.attach-menu svg{color:#008069}
.composer-recording>:not(.recording-panel){display:none!important}
body:has(.composer-recording) .quick-actions{display:none}
.recording-panel{display:grid;grid-template-columns:36px minmax(0,1fr) 48px;align-items:center;gap:8px;width:100%;padding:5px 0}
.record-delete{width:36px;color:#c83c4b}
.record-main{min-width:0}
.record-line{display:flex;gap:8px;align-items:center;min-height:28px}
.record-line b{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}
.record-label{font-size:12px;color:#667781}
.record-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#e65367;animation:record-pulse 1s ease-in-out infinite}
.wave{height:24px;flex:1;min-width:12px;background:repeating-linear-gradient(90deg,#7c9b8d 0 2px,transparent 2px 5px);mask:linear-gradient(180deg,transparent,#000 35% 65%,transparent)}
.record-actions{display:flex;gap:8px;margin-top:3px}
.pause-button{padding:7px 10px;background:#e0e8e5;color:#006b56;border-radius:18px;font-size:12px;font-weight:600;min-height:32px}
.recording-panel.is-paused .record-dot{animation:none;opacity:.4}
.recording-panel.is-paused .wave{opacity:.4}
#recordPreview .chat-audio{width:100%;min-width:0;margin:0;padding:0;grid-template-columns:30px minmax(0,1fr) 35px;gap:5px}
#recordPreview .chat-audio-avatar{display:none}
#recordPreview .chat-audio-play{width:30px}
.chat-audio{display:grid;grid-template-columns:36px minmax(0,1fr) 42px;align-items:center;column-gap:8px;width:270px;max-width:calc(100vw - 95px);padding:5px 1px 1px;position:relative}
.chat-audio-play{display:grid;place-items:center;grid-row:1/3;width:36px;height:40px;border-radius:50%;padding:0;background:transparent;color:#6f817f}
.chat-audio-play svg{width:26px;height:26px;fill:currentColor;stroke:none}
.chat-audio-wave{position:relative;display:flex;align-items:center;height:30px;grid-column:2;grid-row:1;min-width:0}
.chat-audio-wave svg{width:100%;height:28px;fill:none;stroke:#9aada2;stroke-width:2.6;stroke-linecap:round;pointer-events:none}
.chat-audio-wave .audio-progress{stroke:var(--green)}
.chat-audio-track{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:.01;cursor:pointer}
.chat-audio-wave:focus-within{outline:2px solid #007fca;border-radius:4px;outline-offset:2px}
.chat-audio-time{grid-column:2;grid-row:2;font-size:11px;color:#667781;font-variant-numeric:tabular-nums}
.chat-audio-speed{grid-column:3;grid-row:2;justify-self:center;min-width:38px;min-height:24px;padding:2px 3px;background:#00000009;color:#53645c;border-radius:12px;font-size:11px;font-weight:600}
.chat-audio-avatar{display:grid;place-items:center;grid-column:3;grid-row:1;width:30px;height:30px;margin:auto;border-radius:50%;background:#b7d6ae;color:#408057}
.message.out .chat-audio-avatar{background:#d9e5e2;color:#668b81}
.chat-audio-avatar svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.chat-audio audio{display:none}
.chat-audio.is-error .chat-audio-time{color:#b42335}
footer{flex-shrink:0;padding:2px 12px 7px;background:#f0f2f5;color:#667781;font-size:11px;text-align:center}
body.compact .chat{max-width:none;box-shadow:none}
body.compact .chat-header,body.compact footer{display:none}
body.compact .channel-choices{padding-block:4px}
#uploadRetry:not([hidden]){flex-shrink:0;display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:10px 14px;background:#fff1d1;color:#685020;font-size:13px}
#uploadRetry span{flex-basis:100%}
.customer-login{flex:1;min-height:0;overflow:auto;padding:35px 24px;text-align:center;background:#fafbfa}
.customer-login-mark{display:block;margin:0 auto 20px}
.customer-login h2{margin:0 0 10px;font-size:24px;font-weight:600;letter-spacing:-.4px}
.customer-login p{color:#667781;max-width:310px;line-height:1.6;font-size:14px;margin:0 auto 26px}
.customer-login form{display:grid;gap:15px;max-width:330px;margin:auto;text-align:left}
.customer-login label{display:grid;gap:7px;font-size:13px;color:#43534d}
.customer-login input{width:100%;padding:12px;border:1px solid #ccd8d2;border-radius:8px;background:white;color:#111b21;min-height:48px}
.customer-login button{min-height:48px;margin-top:5px;border-radius:24px}
.customer-login>small{display:block;margin-top:22px;color:#667781;font-size:12px}
body:has(#customerLogin:not([hidden])) .history,body:has(#customerLogin:not([hidden])) footer{display:none}
.sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.request-dialog{width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border:0;border-radius:18px;background:#fff;color:#111b21;padding:22px;box-shadow:0 24px 80px #0005}
.request-dialog::backdrop{background:#0b141a88}
.dialog-close{float:right;width:36px;height:36px;padding:0;border-radius:50%;background:#f0f2f5;color:#54656f;font-size:25px}
.request-hero{display:flex;align-items:center;gap:12px;padding:8px 0;margin-right:35px}
.request-hero>span{display:grid;place-items:center;flex:0 0 42px;height:42px;background:#e5f3eb;color:var(--green);border-radius:50%;font-size:22px}
.request-hero h2{font-size:20px;margin:5px 0;font-weight:600}
.request-hero small{font-size:10px;letter-spacing:.5px;color:var(--green)}
.request-dialog p{font-size:14px;line-height:1.5;color:#667781}
.amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0}
.amount-chip{min-width:0;min-height:44px;padding:8px 4px;font-size:12px;white-space:nowrap;background:#f3f6f4;color:#43564e;border:1px solid #dbe3de}
.amount-chip.selected{background:#d9fdd3;border-color:#008069;color:#006b56}
.custom-amount,.bank-fields label{display:grid;gap:6px;font-size:13px;margin:10px 0;color:#43534d}
.custom-amount input,.bank-fields input{min-height:46px;width:100%;padding:11px;border:1px solid #cbd8d1;border-radius:8px;background:#fff;color:#111b21}
.deposit-instructions,.proof-panel,.withdrawal-destination{margin:16px 0;padding:14px;border:1px solid #dce5df;border-radius:12px;background:#f8fbf9}
.section-heading small{display:block;margin-top:5px;font-size:12px;line-height:1.5;color:#667781}
.bank-note{font-size:12px!important}
.bank-summary{display:grid;gap:0;border:1px solid #dce5df;background:white;border-radius:8px;margin:12px 0;overflow:hidden}
.bank-summary span,.bank-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;border-bottom:1px solid #e7ece9}
.bank-summary small{color:#667781;font-size:12px}
.bank-summary b{font-size:14px;overflow-wrap:anywhere;text-align:right}
.bank-value{display:flex;align-items:center;gap:8px;min-width:0}
.copy-inline{padding:8px;font-size:12px}
.proof-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.proof-actions label{display:grid;place-items:center;min-height:48px;padding:8px;border-radius:8px;border:1px solid #c7d9cf;color:var(--green);background:white;font-size:13px;cursor:pointer}
.proof-actions.is-disabled{opacity:.45}
.proof-actions.is-disabled label{cursor:not-allowed}
.proof-retry,.request-submit{width:100%;margin-top:10px}
.transfer-state{margin:12px 0;padding:12px;border:1px solid #d7e1db;border-radius:8px;background:#f4f7f5;color:#53675d;font-size:13px;line-height:1.45}
.transfer-state.ready,.transfer-state.selected,.transfer-state.sent{background:#e5f6eb;color:#176546;border-color:#b6ddc5}
.transfer-state.error{background:#fff1f1;color:#a12839;border-color:#efb9c1}
.transfer-state.preparing,.transfer-state.sending{background:#eaf4fb;color:#285f80}
.saved-choice{display:flex;gap:8px;padding:12px;margin:10px 0;border:1px solid #d5e0da;border-radius:8px;background:#fff;font-size:14px}
.saved-choice input{accent-color:var(--green)}
.saved-choice small{display:block;margin-top:5px;color:#667781;font-size:12px;line-height:1.5}
.saved-choice:has(input:checked){border-color:var(--green);background:#f0fbf4}
.request-success{text-align:center;padding:20px 0}
.request-success>strong{font-size:42px;color:var(--green)}
@keyframes record-pulse{50%{opacity:.35}}
@media(min-width:800px){body{padding:24px 0}.chat{height:calc(100dvh - 48px);border-radius:12px}body.compact{padding:0}body.compact .chat{height:100dvh;border-radius:0}#messages{padding-inline:35px}}
@media(max-width:420px){.chat-header{padding:11px 12px}#messages{padding-inline:16px}.message{max-width:88%}.chat-audio{width:240px}.quick-card{padding-inline:11px}.request-dialog{padding:16px}.bank-summary span{align-items:flex-start;flex-direction:column}.bank-summary b{text-align:left}.bank-row{align-items:flex-start;flex-direction:column}.bank-value{width:100%;justify-content:space-between}.record-label{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}
 .message-status.is-read{color:#168cc5}
/* The optional device notices stay secondary to the conversation. */
.customer-notifications{padding:6px 14px;background:#f0f2f5;color:#33413d;font-size:12px}
.customer-notifications summary{cursor:pointer;min-height:24px;line-height:24px}
.customer-notifications label{display:flex;gap:8px;align-items:center;margin:6px 0}
.customer-notifications small{display:block;margin:5px 0;color:#596963}
.customer-notifications>button{margin-left:12px;min-height:40px}.customer-notifications summary{min-height:30px}
.shared-receipt{flex-shrink:0;max-height:52dvh;overflow:auto;padding:12px 16px;background:#fff;border-bottom:1px solid #dce5df;color:#111b21}.shared-receipt h2{margin:0 0 7px;font-size:17px}.shared-receipt p{margin:7px 0;overflow-wrap:anywhere;font-size:13px}.shared-receipt img{display:block;max-width:100%;max-height:150px;object-fit:contain;border-radius:6px}.shared-receipt>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.shared-receipt button{min-height:44px;border:0;border-radius:8px;padding:10px 14px;background:#008069;color:white}.shared-receipt button.quiet{background:#efeae2;color:#111b21}.shared-receipt button:disabled{opacity:.55}#sharedReceiptDestination{font-weight:600}#sharedReceiptNote{color:#667781}

.chat-header{position:relative}
#customerMenu{position:absolute;top:62px;right:12px;z-index:8;padding:6px;background:white;border-radius:8px;box-shadow:0 4px 24px #0003}
#customerMenu button{background:white;color:var(--green);min-height:44px}
.image-dialog{width:min(920px,96vw);max-height:94dvh;padding:52px 16px 18px;border:0;border-radius:12px;background:white;color:#111b21}
.image-dialog::backdrop{background:#0b141acc}
.image-dialog h2{font-size:18px;margin:0 0 14px;overflow-wrap:anywhere}
.image-dialog img{display:block;max-width:100%;max-height:72dvh;object-fit:contain;margin:auto}
#announcementText{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
#notificationDialog label{display:flex;gap:10px;align-items:center;min-height:48px}
#notificationDialog .customer-notifications{padding:12px 0;box-shadow:none}
#customerIdentity{overflow-wrap:anywhere}
#install-notices{position:fixed;z-index:60;left:12px;bottom:max(12px,env(safe-area-inset-bottom));width:min(360px,calc(100vw - 24px));max-height:70dvh;overflow:auto;padding:16px;border:1px solid #ccdcd3;border-radius:12px;background:#fff;color:#111b21;box-shadow:0 6px 28px #0004}#install-notices h2{margin:0 0 8px;font-size:18px}#install-notices p{font-size:14px;line-height:1.45}#install-notices button{min-height:44px;margin:4px 4px 0 0;padding:10px 14px;border:0;border-radius:8px;background:#008069;color:#fff}#install-notices #install-notices-skip{background:#efeae2;color:#111b21}#install-notices button:disabled{opacity:.6}
