.p51-sd-page{padding:28px 34px 48px;color:#142033}.p51-sd-heading,.p51-sd-thread-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}.p51-sd-heading h1,.p51-sd-thread-head h1{font-size:28px;line-height:1.15;margin:5px 0 8px}.p51-sd-heading p,.p51-sd-thread-head p,.p51-sd-card-head p{margin:0;color:#667085}.p51-sd-eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#f2612c}.p51-sd-primary,.p51-sd-secondary{border:0;border-radius:10px;padding:11px 16px;font-weight:750;cursor:pointer}.p51-sd-primary{background:#f2612c;color:#fff}.p51-sd-secondary{background:#eef2f6;color:#172033}.p51-sd-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px}.p51-sd-card{background:#fff;border:1px solid #e2e8f0;border-radius:17px;box-shadow:0 5px 18px rgba(15,23,42,.035)}.p51-sd-list-card{overflow:hidden}.p51-sd-card-head{display:flex;justify-content:space-between;align-items:flex-start;padding:20px 22px;border-bottom:1px solid #edf1f5}.p51-sd-card-head h2{margin:0 0 5px;font-size:19px}.p51-sd-card-head span{color:#667085;font-size:13px}.p51-sd-help-card{padding:22px}.p51-sd-help-card h3{margin-top:0}.p51-sd-help-card p,.p51-sd-help-card li{color:#667085;font-size:14px;line-height:1.55}.p51-sd-empty{text-align:center;padding:50px 20px;color:#667085}.p51-sd-empty strong{display:block;color:#172033;margin-bottom:7px}.p51-sd-ticket-row{display:flex;justify-content:space-between;gap:20px;padding:17px 22px;border-bottom:1px solid #edf1f5;text-decoration:none;color:#172033}.p51-sd-ticket-row:hover{background:#fafbfc}.p51-sd-ticket-row strong,.p51-sd-ticket-row small{display:block}.p51-sd-ticket-row small{color:#667085;margin-top:5px}.p51-sd-row-meta{text-align:right;min-width:190px}.p51-sd-unread{display:inline-block;margin-top:7px;padding:3px 8px;border-radius:99px;background:#fff0e9;color:#d94d16;font-size:11px}.p51-sd-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:99px;font-size:12px;font-weight:750;white-space:nowrap;background:#eef2f6;color:#344054}.status-open{background:#fff0e9;color:#c94716}.status-in_progress{background:#e9f2ff;color:#245cab}.status-waiting_tenant{background:#fff8d9;color:#8a6200}.status-solution_proposed{background:#eee8ff;color:#6545a5}.status-resolved{background:#e8f8ef;color:#19764a}.status-closed{background:#eef2f6;color:#586174}.p51-sd-modal[hidden]{display:none}.p51-sd-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px}.p51-sd-modal-backdrop{position:absolute;inset:0;background:rgba(10,18,34,.58)}.p51-sd-modal-dialog{position:relative;width:min(680px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:25px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.p51-sd-modal-dialog h2{margin:0 0 20px}.p51-sd-modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#667085}.p51-sd-modal-open{overflow:hidden}.p51-sd-form{display:grid;gap:16px}.p51-sd-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#344054}.p51-sd-form input[type=text],.p51-sd-form select,.p51-sd-form textarea,.p51-sd-filters input,.p51-sd-filters select{width:100%;border:1px solid #d7dee8;border-radius:10px;padding:11px 12px;background:#fff;color:#172033;box-sizing:border-box}.p51-sd-form textarea{resize:vertical}.p51-sd-form label small{font-weight:400;color:#667085}.p51-sd-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.p51-sd-actions{display:flex;justify-content:flex-end;gap:10px}.p51-sd-notice{margin:0 0 18px;padding:13px 15px;border:1px solid #b7e4c9;border-radius:11px;background:#edf9f2;color:#16623c}.p51-sd-back{display:inline-block;margin-bottom:18px;color:#344054;text-decoration:none;font-weight:700}.p51-sd-thread{display:grid;gap:13px;margin:20px 0}.p51-sd-message{max-width:78%;padding:15px 17px;border:1px solid #e2e8f0;border-radius:15px;background:#fff}.p51-sd-message.is-staff{margin-left:auto;background:#fff5f0;border-color:#ffd8c7}.p51-sd-message.is-internal{max-width:100%;background:#fff9df;border-color:#f4dfa2}.p51-sd-message header{display:flex;justify-content:space-between;gap:20px;margin-bottom:9px;font-size:13px}.p51-sd-message time{color:#667085;font-weight:400}.p51-sd-message p{margin:0;line-height:1.55}.p51-sd-attachment{display:inline-block;margin-top:10px;color:#d94d16;font-weight:700;text-decoration:none}.p51-sd-reply-card,.p51-sd-platform-thread{padding:22px}.p51-sd-reply-card h3{margin-top:0}.p51-sd-solution-actions{display:grid;gap:14px}.p51-sd-inline-reply{display:grid;gap:10px}.p51-sd-inline-reply textarea{border:1px solid #d7dee8;border-radius:10px;padding:11px}.p51-sd-platform-tabs{display:flex;gap:8px;margin-bottom:16px}.p51-sd-platform-tabs a{padding:10px 14px;border:1px solid #d7dee8;border-radius:10px;text-decoration:none;color:#344054;background:#fff}.p51-sd-platform-tabs a.active{background:#101a2e;color:#fff;border-color:#101a2e}.p51-sd-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:16px}.p51-sd-metrics>div{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px}.p51-sd-metrics span,.p51-sd-metrics strong{display:block}.p51-sd-metrics span{font-size:13px;color:#667085}.p51-sd-metrics strong{font-size:27px;margin-top:3px}.p51-sd-filters{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr auto;gap:10px;padding:16px}.p51-sd-table-wrap{overflow:auto}.p51-sd-table{width:100%;border-collapse:collapse;font-size:13px}.p51-sd-table th,.p51-sd-table td{padding:14px 12px;border-top:1px solid #edf1f5;text-align:left;vertical-align:middle}.p51-sd-table th{font-size:11px;color:#667085;text-transform:uppercase}.p51-sd-table td a{text-decoration:none;color:#472286}.p51-sd-table td a strong,.p51-sd-table td a small{display:block}.p51-sd-table td a small{color:#667085;margin-top:4px}.p51-sd-table tr.is-unread{background:#fffaf7}.p51-sd-platform-thread{margin-top:18px}.p51-sd-checkbox{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;align-self:end;padding-bottom:10px}.p51-sd-checkbox input{width:auto}
@media(max-width:900px){.p51-sd-page{padding:20px 16px 40px}.p51-sd-grid{grid-template-columns:1fr}.p51-sd-help-card{display:none}.p51-sd-metrics{grid-template-columns:1fr 1fr}.p51-sd-filters{grid-template-columns:1fr 1fr}.p51-sd-heading{align-items:center}.p51-sd-message{max-width:92%}}
@media(max-width:600px){.p51-sd-heading,.p51-sd-thread-head{display:grid}.p51-sd-heading .p51-sd-primary{width:100%}.p51-sd-form-row,.p51-sd-filters{grid-template-columns:1fr}.p51-sd-ticket-row{display:grid}.p51-sd-row-meta{text-align:left;min-width:0}.p51-sd-metrics{grid-template-columns:1fr 1fr}.p51-sd-platform-tabs{overflow:auto}.p51-sd-message{max-width:100%}.p51-sd-message header{display:grid;gap:3px}}


/* === v1.0.9 · WhatsApp Support Router + AI-style Assistant === */
.p51-wa-hero{position:relative;display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;padding:28px;border:1px solid #dceae3;border-radius:22px;background:linear-gradient(135deg,#f7fcf9 0%,#fff 55%,#fff8f3 100%);overflow:hidden;margin-bottom:16px}.p51-wa-hero:after{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-100px;top:-130px;background:radial-gradient(circle,rgba(242,97,44,.13),transparent 68%)}.p51-wa-hero h1{margin:4px 0 7px;font-size:27px}.p51-wa-hero p{margin:0;color:#64736d;max-width:760px;line-height:1.5}.p51-wa-orb{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(145deg,#0c6b50,#15966f);box-shadow:0 14px 35px rgba(14,107,80,.2);position:relative}.p51-wa-orb span{position:absolute;border:1px solid rgba(255,255,255,.72);border-radius:50%;animation:p51waorb 3.4s ease-in-out infinite}.p51-wa-orb span:nth-child(1){width:17px;height:17px}.p51-wa-orb span:nth-child(2){width:31px;height:31px;animation-delay:.3s}.p51-wa-orb span:nth-child(3){width:45px;height:45px;animation-delay:.6s}.p51-wa-hero-badge{min-width:110px;padding:12px 14px;border-radius:15px;background:#fff;border:1px solid #dceae3;text-align:center;z-index:1}.p51-wa-hero-badge b{display:block;font-size:22px;color:#145b46}.p51-wa-hero-badge span{font-size:11px;color:#6e7b75}.p51-wa-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.p51-wa-metrics article{background:#fff;border:1px solid #e0e9e5;border-radius:17px;padding:16px}.p51-wa-metrics span,.p51-wa-metrics small,.p51-wa-metrics strong{display:block}.p51-wa-metrics span{font-size:11px;color:#6d7974}.p51-wa-metrics strong{font-size:23px;margin:3px 0;color:#142a22}.p51-wa-metrics small{font-size:10px;color:#8a9590}.p51-wa-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 12px}.p51-wa-toolbar>div:first-child{display:grid;gap:3px}.p51-wa-toolbar strong{font-size:17px}.p51-wa-toolbar span{font-size:12px;color:#6b7772}.p51-wa-filter{display:flex;gap:6px}.p51-wa-filter button{border:1px solid #d6e3dd;background:#fff;color:#345347;padding:8px 11px;border-radius:999px;font-weight:750;cursor:pointer}.p51-wa-filter button.active{background:#145b46;color:#fff;border-color:#145b46}.p51-wa-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.p51-wa-route-card{background:#fff;border:1px solid #dde8e3;border-radius:18px;padding:17px;display:grid;gap:14px;box-shadow:0 5px 17px rgba(21,56,43,.035)}.p51-wa-route-card[hidden]{display:none}.p51-wa-route-card header{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:start}.p51-wa-route-icon{width:38px;height:38px;border-radius:12px;background:#edf8f3;color:#145b46;display:grid;place-items:center;font-weight:900}.p51-wa-route-card header strong,.p51-wa-route-card header small{display:block}.p51-wa-route-card header strong{font-size:14px}.p51-wa-route-card header small{font-size:11px;color:#6e7c75;margin-top:3px;line-height:1.35}.p51-wa-route-card>label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#344d43}.p51-wa-route-card input[type=tel],.p51-wa-route-card textarea{border:1px solid #d9e3de;border-radius:11px;padding:10px 11px;font:inherit;color:#183228;resize:vertical}.p51-wa-route-card label small{font-size:9px;color:#84908b;font-weight:500}.p51-wa-vars{display:flex;gap:5px;flex-wrap:wrap}.p51-wa-vars span{font-size:9px;padding:4px 7px;border-radius:999px;background:#f0f5f2;color:#547067}.p51-wa-switch input{display:none}.p51-wa-switch span{display:block;width:38px;height:22px;border-radius:999px;background:#dbe3df;position:relative;cursor:pointer}.p51-wa-switch span:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;left:3px;top:3px;transition:.2s}.p51-wa-switch input:checked+span{background:#145b46}.p51-wa-switch input:checked+span:after{left:19px}.p51-wa-savebar{position:sticky;bottom:12px;z-index:4;margin-top:15px;padding:11px 12px;border:1px solid #d7e3dd;border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 10px 30px rgba(17,45,34,.09)}.p51-wa-savebar span{font-size:11px;color:#6e7b75}
@keyframes p51waorb{0%,100%{transform:scale(.88);opacity:.55}50%{transform:scale(1.08);opacity:1}}

.p51-help-launcher{position:fixed;right:24px;bottom:24px;z-index:9990;border:0;border-radius:999px;background:linear-gradient(135deg,#145b46,#0b7a59);color:#fff;padding:12px 16px 12px 12px;display:flex;align-items:center;gap:9px;font-weight:850;box-shadow:0 16px 38px rgba(9,77,56,.25);cursor:pointer;transition:.2s transform,.2s box-shadow}.p51-help-launcher:hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(9,77,56,.32)}.p51-help-launcher i{width:7px;height:7px;border-radius:50%;background:#9ff0c9;box-shadow:0 0 0 4px rgba(159,240,201,.15)}.p51-help-spark{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.14);font-size:17px}.p51-help-panel[hidden]{display:none}.p51-help-panel{position:fixed;right:24px;bottom:82px;z-index:9991;width:min(390px,calc(100vw - 28px));max-height:min(690px,calc(100vh - 120px));display:flex;flex-direction:column;background:rgba(255,255,255,.98);border:1px solid #dce8e2;border-radius:24px;box-shadow:0 28px 70px rgba(10,38,28,.22);overflow:hidden;animation:p51helpshow .2s ease-out}.p51-help-panel:before{content:"";position:absolute;width:180px;height:180px;right:-90px;top:-100px;border-radius:50%;background:radial-gradient(circle,rgba(242,97,44,.12),transparent 68%);pointer-events:none}.p51-help-head{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;padding:17px 18px 13px;border-bottom:1px solid #edf2ef}.p51-help-ai{width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#145b46,#15966f);display:grid;place-items:center;color:#fff;box-shadow:0 8px 18px rgba(20,91,70,.18)}.p51-help-head strong,.p51-help-head small{display:block}.p51-help-head strong{font-size:14px}.p51-help-head small{font-size:10px;color:#718079;margin-top:2px}.p51-help-head>button{border:0;background:#f2f6f4;width:34px;height:34px;border-radius:50%;font-size:20px;color:#62736b;cursor:pointer}.p51-help-context{display:flex;align-items:center;gap:7px;padding:8px 18px;background:#f7faf8;color:#6c7a74;font-size:9px}.p51-help-live-dot{width:7px;height:7px;border-radius:50%;background:#38a878;box-shadow:0 0 0 4px rgba(56,168,120,.11)}.p51-help-chat{padding:16px 18px 8px;display:flex;flex-direction:column;gap:8px;overflow:auto;min-height:88px}.p51-help-bubble{max-width:88%;padding:10px 12px;border-radius:14px;font-size:11px;line-height:1.5}.p51-help-bubble.is-ai{background:#f0f7f3;color:#28483c;border-bottom-left-radius:5px}.p51-help-bubble.is-user{align-self:flex-end;background:#145b46;color:#fff;border-bottom-right-radius:5px}.p51-help-typing{display:inline-flex!important;gap:3px;align-items:center}.p51-help-typing i{width:5px;height:5px;border-radius:50%;background:#77958a;animation:p51typing 1s infinite ease-in-out}.p51-help-typing i:nth-child(2){animation-delay:.14s}.p51-help-typing i:nth-child(3){animation-delay:.28s}.p51-help-quick{display:flex;gap:6px;overflow:auto;padding:7px 18px 12px;scrollbar-width:none}.p51-help-quick button{flex:0 0 auto;border:1px solid #d9e5df;border-radius:999px;background:#fff;padding:8px 10px;color:#294d3f;font-size:10px;font-weight:800;cursor:pointer}.p51-help-quick button:hover,.p51-help-quick button.is-suggested{border-color:#74b69f;background:#f2faf6}.p51-help-quick button span{margin-right:5px}.p51-help-compose{margin:0 18px 12px;border:1px solid #d7e4de;border-radius:15px;padding:5px 5px 5px 11px;display:grid;grid-template-columns:1fr auto;align-items:end;background:#fff}.p51-help-compose textarea{border:0;outline:0;resize:none;font:inherit;font-size:11px;padding:7px 0;min-height:38px;color:#17362a}.p51-help-compose button{border:0;width:38px;height:38px;border-radius:11px;background:#145b46;color:#fff;font-size:17px;cursor:pointer}.p51-help-action[hidden]{display:none}.p51-help-action{margin:0 18px 14px;padding:12px;border-radius:15px;background:linear-gradient(135deg,#f7fbf9,#fff);border:1px solid #d8e6df;display:grid;gap:9px}.p51-help-action div>span,.p51-help-action div>strong,.p51-help-action div>small{display:block}.p51-help-action div>span{font-size:8px;text-transform:uppercase;letter-spacing:.08em;color:#ef642f;font-weight:900}.p51-help-action div>strong{font-size:13px;margin:2px 0}.p51-help-action div>small{font-size:9px;color:#6c7a74;line-height:1.4}.p51-help-action>a{display:block;text-align:center;text-decoration:none;padding:10px;border-radius:11px;font-size:10px;font-weight:850}.p51-help-action>a[data-p51-help-whatsapp]{background:#145b46;color:#fff}.p51-help-action>a[data-p51-help-ticket]{background:#fff;color:#145b46;border:1px solid #d7e4de}.p51-help-panel footer{padding:9px 18px 12px;border-top:1px solid #eef3f0;color:#83908b;font-size:8px;line-height:1.4}.p51-help-panel.is-thinking .p51-help-compose{opacity:.6;pointer-events:none}
@keyframes p51helpshow{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes p51typing{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-3px);opacity:1}}
@media(max-width:900px){.p51-wa-route-grid{grid-template-columns:1fr}.p51-wa-metrics{grid-template-columns:1fr 1fr}.p51-wa-hero{grid-template-columns:auto 1fr}.p51-wa-hero-badge{grid-column:1/-1;width:max-content}.p51-help-launcher{right:14px;bottom:14px}.p51-help-panel{right:14px;bottom:72px}}
@media(max-width:600px){.p51-wa-metrics{grid-template-columns:1fr 1fr}.p51-wa-toolbar{display:grid}.p51-wa-filter{overflow:auto}.p51-wa-savebar{align-items:stretch;flex-direction:column}.p51-wa-savebar button{width:100%}}

/* v1.0.10 — Unified WhatsApp authority */
.p51-wa-experience-card{margin:0 0 18px;padding:20px;border:1px solid #d9e7e0;border-radius:18px;background:linear-gradient(135deg,#f6fbf8,#fff);display:grid;grid-template-columns:minmax(240px,.8fr) 1.4fr;gap:22px;align-items:start}
.p51-wa-experience-card h2{margin:4px 0 6px;font-size:20px}.p51-wa-experience-card p{margin:0;color:#687a72;line-height:1.5}
.p51-wa-experience-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.p51-wa-experience-grid label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#29463b}.p51-wa-experience-grid input{width:100%;border:1px solid #d2e0da;border-radius:10px;padding:10px 11px;background:#fff}
.p51-wa-audiences{display:flex;gap:5px;flex-wrap:wrap;margin:-2px 0 10px}.p51-wa-audiences span{padding:4px 7px;border-radius:999px;background:#eef7f2;color:#2b6953;font-size:9px;font-weight:850}
@media(max-width:900px){.p51-wa-experience-card{grid-template-columns:1fr}.p51-wa-experience-grid{grid-template-columns:1fr}}

/* v1.0.11 — Smart audience/context routing */
.p51-wa-visibility-map{margin:0 0 20px;padding:18px;border:1px solid #dce8e2;border-radius:19px;background:linear-gradient(135deg,#f9fcfa,#fff)}
.p51-wa-visibility-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:13px}.p51-wa-visibility-head h2{margin:3px 0 4px;font-size:18px}.p51-wa-visibility-head p{margin:0;color:#697871;font-size:11px}.p51-wa-smart-badge{padding:7px 10px;border-radius:999px;background:#eaf7f1;color:#145b46;font-size:10px;font-weight:850;white-space:nowrap}
.p51-wa-visibility-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.p51-wa-visibility-grid article{padding:12px;border:1px solid #e1e9e5;border-radius:14px;background:#fff}.p51-wa-visibility-grid header strong,.p51-wa-visibility-grid header small{display:block}.p51-wa-visibility-grid header strong{font-size:12px}.p51-wa-visibility-grid header small{font-size:9px;color:#7d8984;margin-top:2px}.p51-wa-visibility-grid article>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:10px}.p51-wa-visibility-grid article>div span{font-size:8px;padding:4px 6px;border-radius:999px;background:#f0f6f3;color:#385a4d}
.p51-wa-visibility-config{padding:11px;border:1px solid #e4ebe7;border-radius:13px;background:#fbfdfc}.p51-wa-visibility-config>strong{display:block;font-size:10px;margin-bottom:7px;color:#344d43}.p51-wa-audience-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.p51-wa-audience-checks label{display:flex!important;gap:7px!important;align-items:center!important;padding:7px 8px;border:1px solid #e1e9e5;border-radius:10px;background:#fff;font-weight:700!important}.p51-wa-audience-checks label span{font-size:10px}.p51-wa-audience-checks input{accent-color:#145b46}.p51-wa-contexts{margin-top:9px!important}.p51-wa-contexts input{border:1px solid #d9e3de;border-radius:10px;padding:9px 10px;font:inherit}.p51-wa-contexts small{line-height:1.45!important}
.p51-wa-template-audiences{border:1px solid #e2eae6;border-radius:12px;background:#fff;overflow:hidden}.p51-wa-template-audiences summary{cursor:pointer;padding:10px 11px;font-size:11px;font-weight:850;color:#28483c;list-style:none}.p51-wa-template-audiences summary::-webkit-details-marker{display:none}.p51-wa-template-audiences summary:after{content:'+';float:right;font-size:16px}.p51-wa-template-audiences[open] summary:after{content:'−'}.p51-wa-template-audiences summary span{display:block;font-size:9px;font-weight:500;color:#7b8983;margin-top:2px}.p51-wa-template-audiences>div{padding:0 11px 11px;display:grid;gap:9px}.p51-wa-template-audiences label{display:grid;gap:5px;font-size:10px;font-weight:800}.p51-wa-template-audiences textarea{border:1px solid #d9e3de;border-radius:10px;padding:9px 10px;resize:vertical;font:inherit;font-weight:500}
/* All visible support choices fit inside the assistant; no clipped horizontal chip rail. */
.p51-help-quick{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;overflow:visible!important;padding:7px 18px 12px!important}.p51-help-quick button{min-width:0!important;white-space:normal!important;text-align:left!important;border-radius:12px!important;line-height:1.25!important;display:flex!important;align-items:center!important}.p51-help-quick button span{flex:0 0 auto}.p51-help-panel{width:min(430px,calc(100vw - 28px))!important}
@media(max-width:1100px){.p51-wa-visibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.p51-wa-visibility-grid,.p51-wa-audience-checks,.p51-help-quick{grid-template-columns:1fr!important}.p51-wa-visibility-head{display:block}.p51-wa-smart-badge{display:inline-block;margin-top:8px}}

/* v1.0.12 — editable WhatsApp message preview */
.p51-help-message-preview{
  display:grid!important;
  gap:5px!important;
  padding:10px!important;
  border:1px solid #dce8e2!important;
  border-radius:12px!important;
  background:#fff!important;
}
.p51-help-message-preview>span{
  font-size:9px!important;
  text-transform:uppercase!important;
  letter-spacing:.06em!important;
  font-weight:900!important;
  color:#49665a!important;
}
.p51-help-message-preview textarea{
  width:100%!important;
  min-height:92px!important;
  resize:vertical!important;
  border:1px solid #e0e9e4!important;
  border-radius:10px!important;
  padding:10px!important;
  background:#f9fbfa!important;
  color:#17362a!important;
  font:inherit!important;
  font-size:11px!important;
  line-height:1.45!important;
  outline:none!important;
  box-sizing:border-box!important;
}
.p51-help-message-preview textarea:focus{
  border-color:#8fc3af!important;
  box-shadow:0 0 0 3px rgba(20,91,70,.08)!important;
}
.p51-help-message-preview small{
  font-size:9px!important;
  color:#788780!important;
}
