/* V474 — compact public-only Wariatric footer, no fixed mobile dock.
   Existing public header, sidebar, medical modules and typography untouched. */
footer:has(> .wcf){padding:0!important;min-height:0!important;text-align:initial!important;background:#f7fbf9!important;border-top:1px solid #d5e8e0!important}
.wcf,.wcf *{box-sizing:border-box}
.wcf{--wcf-ink:#174b45;--wcf-mint:#deefe8;--wcf-teal:#08766a;
 direction:rtl;width:min(1060px,calc(100% - 32px));margin:auto;padding:19px 0 23px;
 color:var(--wcf-ink);font-family:var(--w-font-family);text-align:right}
.wcf__identity{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:3px 4px 18px}
.wcf__logo{object-fit:contain;width:154px;height:44px;max-width:45%}
.wcf__socials{display:flex;align-items:center;gap:11px}
.wcf__social{width:49px;height:49px;min-width:49px;display:grid;place-items:center;border:1px solid #d3e7df;border-radius:15px;
 background:#fff;color:var(--wcf-teal);text-decoration:none!important;box-shadow:0 3px 12px #0f4c3c0e;
 transition:transform .18s ease,box-shadow .18s ease}
.wcf__social svg{width:25px;height:25px;display:block}
.wcf__social--whatsapp{color:#25d366}
.wcf__social--telegram{color:#229ed9}
.wcf__social--phone{color:#08766a}
.wcf__social:hover{transform:translateY(-2px);box-shadow:0 7px 17px #0c53421d}
.wcf__chat{background:linear-gradient(125deg,#f7fffb,#fff);border:1px solid #cee6dd;border-radius:21px;padding:21px 24px;
 box-shadow:0 9px 26px #0d614018}
.wcf__chat-head{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.wcf__chat-mark{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:13px;
 background:var(--wcf-mint);color:#087568;font-size:var(--w-text-h2)}
.wcf__chat-head h2{font-size:var(--w-text-h4);line-height:1.55;margin:0;color:var(--wcf-ink);font-weight:800}
.wcf__chat-head p{font-size:var(--w-text-small);margin:2px 0 0;line-height:1.85;color:#55766d}
.wcf__label{display:block;font-weight:700;margin-bottom:7px;font-size:var(--w-text-body)}
.wcf__form{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:end}
.wcf__form .wcf__label{grid-column:1/-1}
.wcf__form textarea{font:inherit;font-size:var(--w-text-control);line-height:1.8;resize:vertical;min-height:69px;max-height:230px;
 width:100%;background:#fff;color:#133e35;border:1px solid #a6ccc0;border-radius:13px;padding:11px 14px}
.wcf__form button,.wcf__escalate{font:inherit;cursor:pointer;min-height:50px;border-radius:13px;padding:10px 19px;font-size:var(--w-text-control);
 background:#087769;color:#fff;border:1px solid #087769;font-weight:750;white-space:normal;line-height:1.65}
.wcf__form button{min-height:69px}
.wcf__form button:hover,.wcf__escalate:hover{background:#075e54}
.wcf__form button:disabled,.wcf__escalate:disabled{opacity:.65;cursor:wait}
.wcf__status{font-size:var(--w-text-small);line-height:1.8;min-height:0;margin-top:10px;color:#376e60}
.wcf__status[data-kind="error"]{color:#a32929}
.wcf__status[data-kind="success"]{color:#075f51;font-weight:700}
.wcf__results{margin-top:11px;padding:13px 16px;border-radius:14px;border:1px solid #d1e4dc;background:#fff}
.wcf__results[hidden],.wcf__escalate[hidden],.wcf__auth[hidden]{display:none!important}
.wcf__results strong{display:block;font-size:var(--w-text-body);margin-bottom:7px}
.wcf__results ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.wcf__results a{display:block;line-height:1.8;padding:9px 11px;border-radius:10px;background:#f2faf6;
 color:#076557;text-decoration:none!important;border:1px solid #dfede6}
.wcf__results a:hover{background:#e5f4ed}
.wcf__results details{font-size:var(--w-text-body);line-height:1.8}
.wcf__results summary{cursor:pointer;color:#086c5f;font-weight:700}
.wcf__results p{font-size:var(--w-text-body);line-height:1.85}
.wcf__history-toggle{font:inherit;font-size:var(--w-text-small);display:inline-flex;gap:7px;align-items:center;
 margin:13px 0 0;padding:8px 12px;min-height:44px;color:#076a60;background:transparent;
 border:1px solid #c8e5d8;border-radius:11px;cursor:pointer;font-weight:750}
.wcf__history-toggle:hover{background:#eaf8f1}
.wcf__history{display:grid;gap:10px;margin-top:10px;padding:12px;border:1px solid #d2e9de;border-radius:14px;background:#fff}
.wcf__history[hidden]{display:none!important}
.wcf__history p{font-size:var(--w-text-body);line-height:1.85;margin:0;color:#244d43;overflow-wrap:anywhere}
.wcf__history-item{padding:12px 14px;border:1px solid #e0ede7;background:#fbfefa;border-radius:12px}
.wcf__history-state{display:inline-block;font-size:var(--w-text-caption);font-weight:750;color:#156c5e;margin-bottom:6px}
.wcf__history .wcf__history-answer{border-right:3px solid #75b9a3;margin-top:9px;padding:5px 11px;color:#155e50}
.wcf__history a{font-weight:750;color:#006b62}
.wcf__escalate{margin-top:12px;background:#fff;color:#075f54;min-height:45px;border-color:#75baa5;width:100%}
.wcf__escalate:hover{background:#e9f6f0;color:#06473f}
.wcf__auth{font-size:var(--w-text-small);background:#fff4e7;color:#75511b;
 border:1px solid #edd4ad;border-radius:12px;padding:12px 15px;line-height:1.85;margin-top:13px}
.wcf__auth a{color:#006c65;text-underline-offset:3px;font-weight:750}
.wcf__notice{font-size:var(--w-text-caption);color:#687f78;line-height:1.8;margin:13px 0 0}
.wcf :is(a,button,textarea,summary):focus-visible{outline:3px solid #00776b;outline-offset:3px}
body:has(.wcf) .wa-chat{display:none!important}
@media(max-width:760px){
 .wcf{width:calc(100% - 28px);padding:15px 0 calc(20px + env(safe-area-inset-bottom))}
 .wcf__identity{padding:0 3px 14px}
 .wcf__socials{gap:8px}
 .wcf__social{width:44px;height:44px;min-width:44px;border-radius:13px}
 .wcf__social svg{width:23px;height:23px}
 .wcf__chat{padding:17px 15px;border-radius:17px}
 .wcf__form{grid-template-columns:minmax(0,1fr);gap:9px}
 .wcf__form button{min-height:48px}
 .wcf__chat-head h2{font-size:var(--w-text-h4)}
}
@media(max-width:370px){
 .wcf__logo{width:126px;height:39px}
 .wcf__socials{gap:5px}
 .wcf__social{width:40px;height:40px;min-width:40px}
}
@media(prefers-reduced-motion:reduce){.wcf__social{transition:none}.wcf__social:hover{transform:none}}
@media print{.wcf__chat,.wcf__socials{display:none!important}}
