.wa-header,.wa-connection{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.wa-header{background:linear-gradient(120deg,#e5f8ef,#fff);border:1px solid #cce9da}.wa-header h2{margin:8px 0;font-size:clamp(23px,3vw,34px)}.wa-eyebrow{color:#087749;font-weight:700}.wa-inbox{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,2fr);gap:18px;align-items:start}.wa-inbox .card{min-width:0}.wa-connection p{margin:8px 0}.wa-mode,#waQr,#waConfirm{width:100%}#waQr:empty,#waConfirm:empty{display:none}#waQr{text-align:center;background:#f7faf8;padding:20px;border-radius:16px}#waQr img{max-width:100%;height:auto;background:white;border-radius:12px}.wa-thread{display:flex;flex-direction:column;width:100%;text-align:start;gap:7px;background:#f3f7f5!important;color:#163e2d!important;margin:8px 0;white-space:normal}.wa-thread span{font-size:13px;font-weight:400}.wa-empty{padding:30px 10px;text-align:center;color:#64746c}.wa-messages{max-height:500px;overflow:auto;padding:16px 4px;display:flex;flex-direction:column;gap:12px}.wa-message{background:#f1f3f6;border-radius:16px;padding:12px 16px;width:85%;align-self:flex-start;overflow-wrap:anywhere}.wa-message p{white-space:pre-wrap;margin:8px 0}.wa-out{background:#e5f6ec;align-self:flex-end}.wa-draft{border:1px dashed #ca9d40;background:#fff9e9;align-self:flex-end}.wa-message small{font-size:12px;color:#5e6d64}#waReply textarea{min-height:95px;width:100%}#waReply{border-top:1px solid #e6ebe8;padding-top:16px}#waConfirm{background:#fff6e8;padding:15px;border-radius:12px}@media(max-width:760px){.wa-inbox{grid-template-columns:1fr}.wa-inbox aside{max-height:260px;overflow:auto}.wa-message{width:95%}.wa-connection .actions{width:100%;flex-wrap:wrap}}
.wa-admin-notice{padding:14px 18px;border:1px solid #eccb8b;border-radius:12px;background:#fff8e8;color:#614111;margin:12px 0;line-height:1.8}.wa-admin-store form{margin-top:18px;border-top:1px solid #e3ebe8;padding-top:18px}.wa-admin-store select{max-width:360px}.wa-maintenance p{max-width:850px}.wa-maintenance .row{gap:20px;align-items:center}.wa-admin-store .store-metrics{flex-wrap:wrap} @media(max-width:650px){.wa-maintenance .row{display:block}.wa-maintenance button{margin-top:10px}.wa-admin-store .actions{flex-wrap:wrap}}
.wa-recovery-item{padding:18px 0;border-top:1px solid #e0e8e5}.wa-recovery-item:first-of-type{border-top:0}.wa-recovery-item textarea,#waRestoreReason{width:100%;min-height:90px}.wa-recovery-reason,.wa-recovery-status p{white-space:pre-wrap;overflow-wrap:anywhere}.wa-recovery-status article{margin-top:16px;padding:14px;border-radius:12px;background:#f2f7f5}.wa-recovery-admin .row{gap:12px;flex-wrap:wrap}
.wa-header{margin-bottom:18px}.wa-header h2{font-size:27px}.wa-nav{margin-bottom:22px}.wa-inbox{grid-template-columns:minmax(240px,320px) minmax(0,1fr)}.wa-inbox>aside{padding:18px!important;position:sticky;top:20px}.wa-inbox>aside input[type=search]{width:100%;margin:12px 0;border-radius:12px}.wa-inbox #waThreads{max-height:540px;overflow:auto}.wa-thread{border:1px solid #e1ebe5!important;border-radius:12px!important;padding:14px!important}.wa-thread[hidden]{display:none!important}.wa-conversation{min-height:520px}.wa-conversation>.row{padding-bottom:16px;border-bottom:1px solid #e1e9e5;gap:12px;flex-wrap:wrap}.wa-conversation>.row>div{flex:1}.wa-conversation>.row button{padding:9px 12px;font-size:12px}.wa-connection{align-items:flex-start}.wa-connection>div:first-child{flex:1;min-width:230px}.wa-connection>div:first-child .hint{max-width:720px}.wa-connection .actions{max-width:360px}.wa-conversation .wa-messages{min-height:230px;max-height:440px}.wa-messages::-webkit-scrollbar{width:6px}.wa-messages::-webkit-scrollbar-thumb{background:#c7d9ce;border-radius:6px}@media(max-width:760px){.wa-nav{grid-template-columns:1fr}.wa-inbox{grid-template-columns:1fr}.wa-inbox>aside{position:static;max-height:280px}.wa-inbox #waThreads{max-height:150px}.wa-conversation{min-height:420px}.wa-conversation>.row h3{font-size:16px}.wa-conversation .wa-message{width:94%}.wa-header h2{font-size:23px}}

.wa-features-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.wa-features-intro h3{margin:0 0 8px;font-size:23px}.wa-features-intro p{margin:0;color:#64746c}.wa-features-note{padding:14px 18px;border-radius:14px;background:#eaf5f0;color:#315b49;line-height:1.8;margin:0 0 22px}.wa-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wa-feature-card{display:flex;flex-direction:column;align-items:stretch;padding:24px;background:#fff;border:1px solid #e1eae6;border-radius:20px;min-width:0}.wa-feature-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.wa-feature-icon{display:grid;place-items:center;background:#eaf5ef;color:#117753;width:46px;height:46px;border-radius:14px;flex-shrink:0}.wa-feature-icon svg{width:24px;height:24px}.wa-feature-state{font-size:12px;line-height:1.6;border-radius:20px;padding:5px 10px;background:#f0f2f4;color:#52616a}.wa-feature-state.is-on{background:#e3f5e9;color:#146b3b}.wa-feature-state.is-test{background:#fff4d9;color:#805915}.wa-feature-card h4{font-size:19px;margin:20px 0 10px;color:#193a2d}.wa-feature-card p{font-size:14px;line-height:1.9;color:#617069;margin:0 0 22px;flex:1}.wa-feature-card button{align-self:flex-start;text-align:start;white-space:normal}.wa-feature-card button span{margin-inline-start:12px}@media(max-width:1150px){.wa-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.wa-feature-grid{grid-template-columns:1fr}.wa-feature-card{padding:20px}.wa-features-intro h3{font-size:20px}}
.wa-controls{margin-bottom:24px;padding:22px;border:1px solid var(--line,#dfe6e4);border-radius:18px;background:var(--surface,#fff)}
.wa-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.wa-control{display:flex!important;align-items:center;gap:12px;padding:16px;border:1px solid #dfe6e4;border-radius:12px;cursor:pointer}
.wa-control input,.wa-coupon input{width:22px!important;height:22px!important;flex-shrink:0;accent-color:#128c7e}
.wa-control strong,.wa-control small{display:block}.wa-control small{font-weight:400;margin-top:5px;color:#52616b}
.wa-knowledge form{margin-top:24px}.wa-sync-status{padding:14px 18px;background:#f3f7f6;border-radius:12px;margin:16px 0}
.wa-coupon{display:flex!important;align-items:center;gap:10px;margin:8px 0}.wa-case-reason{padding:12px;background:#fff1d6;color:#6c4200;border-radius:10px}
.wa-thread small{display:block;font-size:11px;margin:5px 0;font-weight:400}.wa-inbox aside select{margin:10px 0;width:100%}
@media(max-width:650px){.wa-controls-grid{grid-template-columns:1fr}.wa-controls{padding:14px}.wa-knowledge .row{flex-wrap:wrap}}
/* Preserve the composer and scroll position while only changed messages update. */
.wa-thread.selected{background:#dff3eb!important;border-color:#15856b!important}.wa-thread-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e2ebe6;padding-bottom:12px}.wa-thread-title{flex:1;min-width:0}.wa-thread-title h3{margin:4px 0;font-size:18px;text-align:start;overflow-wrap:anywhere}.wa-thread-title span{font-size:12px;color:#52695e}.wa-thread-actions{position:relative}.wa-thread-actions summary{cursor:pointer;font-size:12px;padding:9px;border:1px solid #dce6dd;border-radius:8px}.wa-thread-actions .actions{margin-top:8px;display:flex;flex-wrap:wrap}.wa-back{display:none}.wa-message-sender{font-size:12px;display:block;color:#17634d}.wa-message{flex-shrink:0}.wa-conversation .wa-messages{overscroll-behavior:contain;overflow-anchor:none}.wa-composer-actions{display:flex;align-items:center;gap:12px;justify-content:space-between}.wa-reply-note{color:#68766e;font-size:11px}.wa-composer-actions button{flex-shrink:0}.wa-thread-actions button{font-size:12px}.wa-case-reason{font-size:12px;margin:8px 0}.wa-message p{line-height:1.85}.wa-loading{min-height:150px;display:grid;place-items:center}
@media(max-width:850px){
 .wa-nav{position:sticky;top:60px;z-index:10;background:#f5f8f6;padding-top:8px;margin-bottom:14px}.wa-nav button{white-space:nowrap}.wa-header{padding:16px!important;margin-bottom:10px}.wa-header h2{font-size:21px;margin:4px 0}.wa-header p{margin:4px 0;font-size:12px}.wa-header .wa-eyebrow{display:none}
 .wa-inbox{display:block}.wa-inbox>aside{max-height:none;position:static;padding:14px!important}.wa-inbox #waThreads{max-height:60dvh}.wa-inbox .wa-conversation{display:none}.wa-inbox.has-conversation>aside{display:none}.wa-inbox.has-conversation>.wa-conversation{display:flex;flex-direction:column;min-height:480px;height:calc(100dvh - 150px);max-height:850px;margin:0;padding:12px!important}.wa-back{display:inline-flex!important;font-size:12px;padding:8px 10px;align-items:center;min-height:40px}.wa-thread-toolbar{gap:8px;flex-shrink:0}.wa-thread-title h3{font-size:16px}.wa-thread-title span{font-size:11px}.wa-thread-actions{width:100%}.wa-thread-actions summary{padding:5px 9px;font-size:11px}.wa-thread-actions .actions{margin:5px 0}.wa-conversation .wa-messages{min-height:100px;max-height:none;flex:1;overflow-y:auto;padding:12px 0}.wa-conversation .wa-message{width:90%;padding:10px 12px}.wa-message p{font-size:14px;margin:6px 0}.wa-message small{font-size:10px}.wa-case-info{flex-shrink:0;max-height:88px;overflow:auto}.wa-conversation #waReply{padding-top:10px;flex-shrink:0;margin:0}.wa-conversation #waReply label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.wa-conversation #waReply textarea{min-height:58px;max-height:130px;margin:0 0 6px;resize:vertical}.wa-composer-actions{gap:8px}.wa-composer-actions button{padding:9px 16px}.wa-inbox.has-conversation~details{display:none}
 #panel[data-wa-view=inbox]>.wa-header{display:none}.wa-features-intro h3{font-size:18px}.wa-controls{padding:14px;margin-bottom:16px}.wa-controls h3{margin-top:0}.wa-control{padding:12px;gap:10px}.wa-control small{font-size:12px}.wa-feature-grid{gap:12px}.wa-feature-card{padding:16px;border-radius:14px}.wa-feature-card h4{margin:12px 0 6px}.wa-feature-card p{margin-bottom:12px}.wa-connection>div:first-child{min-width:0;width:100%}.wa-connection .actions{max-width:none}.wa-mode{font-size:12px!important}
}
@media(max-width:850px){
 .merchant-page .commerce-nav{display:flex!important;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}.merchant-page .commerce-nav button{flex:0 0 auto;white-space:nowrap}
 .wa-inbox.has-conversation>.wa-conversation{position:fixed;inset:0;z-index:30;border:0;border-radius:0;min-height:0;max-height:none;height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))!important;background:#fff;box-sizing:border-box;overflow:hidden}
 body:has(.wa-inbox.has-conversation:not([hidden])){overflow:hidden}.wa-inbox.has-conversation>.wa-conversation{top:var(--wa-view-top,0px);bottom:auto;height:var(--wa-view-height,100dvh)}.wa-inbox.has-conversation .wa-thread-toolbar{padding-bottom:8px}.wa-inbox.has-conversation .wa-thread-actions summary{min-height:30px}
}
/* Compact, readable shipping evidence on phones and desktops. */
.wa-shipping-knowledge{margin-block:18px;padding:16px;border:1px solid var(--border,#dce8e2);border-radius:14px;overflow-wrap:anywhere}
.wa-shipping-zone{padding-block:10px;border-bottom:1px solid var(--border,#dce8e2)}
.wa-shipping-knowledge summary{cursor:pointer;font-weight:600}
.wa-shipping-knowledge p{margin-block:7px;font-size:14px;line-height:1.7}
@media(max-width:600px){.wa-shipping-knowledge{padding:12px}.wa-shipping-knowledge p{font-size:12px}.wa-shipping-knowledge .row{align-items:flex-start;gap:8px;flex-wrap:wrap}}
