.wa-pilot {--wa-line:#d4e1d7;--wa-muted:#4d6559;color:#143c33}
.wa-status {display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:.15rem 0 1rem;color:var(--wa-muted);font-size:.85rem}
.wa-status-badge {display:inline-flex;align-items:center;gap:.45rem;background:#fff1cc;color:#674b09;border:1px solid #e9d49b;padding:.36rem .72rem;border-radius:50px;font-weight:700}
.wa-status-badge svg,.wa-connection>svg {width:1.1rem;height:1.1rem;flex:none}
.wa-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);align-items:start;gap:clamp(14px,2vw,28px)}
.wa-card {min-width:0;background:white;border:1px solid var(--wa-line);border-radius:16px;box-shadow:0 4px 16px #163f3010;overflow:hidden}
.wa-card h2,.wa-account-link h2 {margin:0;color:#163f35;font-size:clamp(1.1rem,1.7vw,1.4rem);line-height:1.25;letter-spacing:-.02em}
.wa-form {padding:clamp(18px,2.2vw,30px);display:grid;gap:.4rem}
.wa-form header {margin-bottom:.3rem}
.wa-form label {font-size:.87rem;font-weight:700;margin-top:.75rem}
.wa-form :is(select,textarea) {box-sizing:border-box;width:100%;background:#fbfdfb;border:1px solid #a7bead;border-radius:9px;color:#193e34;font:inherit;font-size:.95rem;line-height:1.4;padding:.62rem .75rem;min-height:44px}
.wa-form textarea {resize:vertical}
.wa-form :is(select,textarea,button):focus-visible,.wa-choices input:focus-visible+span {outline:3px solid #367a5f;outline-offset:2px}
.wa-help,.wa-preview header p,.wa-connection p {margin:.15rem 0 0;font-size:.85rem;line-height:1.45;color:var(--wa-muted)}
.wa-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:1rem}
.wa-actions [role=status] {color:#305b48;font-size:.83rem}
.wa-preview header,.wa-connection {display:flex;align-items:center;gap:.85rem;padding:clamp(16px,2vw,24px)}
.wa-preview header {background:#164b3e;color:#fff}
.wa-preview header h2 {color:white}
.wa-preview header p {color:#d9e8dc}
.wa-chat-icon {width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#d7edcf;color:#174d38;flex:none}
.wa-chat-icon svg {width:23px;height:23px}
.wa-choices {border:0;padding:16px clamp(16px,2vw,24px);margin:0;display:flex;flex-wrap:wrap;gap:6px}
.wa-choices label {display:inline-block;position:relative}
.wa-choices input,.wa-sr {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wa-choices span {cursor:pointer;display:inline-block;border:1px solid var(--wa-line);border-radius:2rem;padding:.46rem .75rem;color:var(--wa-muted);font-size:.82rem;font-weight:650}
.wa-choices input:checked+span {background:#194d3d;border-color:#194d3d;color:white}
.wa-chat {display:grid;gap:17px;align-content:start;padding:clamp(20px,3vw,36px) clamp(16px,2vw,24px);min-height:225px;background-color:#ecf2e9;background-image:radial-gradient(#cfdccc .85px,transparent .85px);background-size:12px 12px;border-block:1px solid var(--wa-line)}
.wa-bubble {width:fit-content;max-width:87%;border:1px solid #ccdacc;padding:10px 15px;overflow-wrap:anywhere;box-shadow:0 2px 5px #1c392b0b}
.wa-bubble p {margin:4px 0 0;font-size:.98rem;line-height:1.42;white-space:pre-wrap}
.wa-bubble small {font-size:.73rem;color:#386145;font-weight:700}
.wa-customer {background:white;border-radius:3px 15px 15px 15px}
.wa-assistant {background:#d7ebcf;justify-self:end;border-radius:15px 3px 15px 15px}
.wa-connection>svg {color:#43735b}
.wa-connection strong {font-size:.92rem}
.wa-account-link {margin-top:1rem}
.wa-account-link a {display:inline-block;margin-top:.65rem;color:#165641;font-weight:650}
.panel-nav button[data-view="whatsapp"][hidden] {display:none}
@media(max-width:870px) {.wa-layout {grid-template-columns:1fr}}
@media(max-width:650px) {.panel-nav:has([data-view="whatsapp"]:not([hidden])) {grid-template-columns:repeat(3,minmax(0,1fr))}.wa-status {gap:.4rem}.wa-bubble {max-width:94%}}
