/* You Picket Fence Co. chat widget - brand: navy #07366d, dark #071c35, gray #666, Oswald/Roboto */
#ypf-chat,#ypf-chat *{box-sizing:border-box}
#ypf-chat{--ypf-navy:#07366d;--ypf-dark:#071c35;--ypf-gray:#666;--ypf-line:#dce1e7;--ypf-bg:#f5f6f7;position:fixed;right:20px;bottom:20px;z-index:2147483000;font-family:Roboto,Arial,sans-serif;font-size:15px;line-height:1.45;color:#111}
#ypf-chat .ypf-bubble{width:62px;height:62px;border-radius:50%;border:0;background:var(--ypf-navy);color:#fff;cursor:pointer;box-shadow:0 6px 20px rgba(7,28,53,.35);display:flex;align-items:center;justify-content:center;margin-left:auto}
#ypf-chat .ypf-bubble:hover{background:var(--ypf-dark)}
#ypf-chat .ypf-bubble svg{width:30px;height:30px;fill:currentColor}
#ypf-chat button:focus-visible,#ypf-chat input:focus-visible,#ypf-chat select:focus-visible,#ypf-chat a:focus-visible{outline:3px solid #fbbc04;outline-offset:2px}
#ypf-chat .ypf-panel{display:none;flex-direction:column;width:370px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 110px);background:#fff;border-radius:14px;box-shadow:0 12px 40px rgba(7,28,53,.3);overflow:hidden;margin-bottom:12px}
#ypf-chat.ypf-open .ypf-panel{display:flex}
#ypf-chat .ypf-head{background:var(--ypf-navy);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:10px}
#ypf-chat .ypf-head h2{font-family:Oswald,Roboto,Arial,sans-serif;font-size:18px;margin:0;font-weight:600;letter-spacing:.3px;color:#fff}
#ypf-chat .ypf-head p{margin:0;font-size:12px;opacity:.85}
#ypf-chat .ypf-close{margin-left:auto;background:transparent;border:0;color:#fff;font-size:26px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:6px}
#ypf-chat .ypf-log{flex:1;overflow-y:auto;padding:14px;background:var(--ypf-bg);display:flex;flex-direction:column;gap:8px}
#ypf-chat .ypf-msg{max-width:86%;padding:10px 13px;border-radius:12px;white-space:pre-line;word-wrap:break-word}
#ypf-chat .ypf-bot{background:#fff;border:1px solid var(--ypf-line);align-self:flex-start;border-bottom-left-radius:4px}
#ypf-chat .ypf-user{background:var(--ypf-navy);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
#ypf-chat .ypf-bot a{color:var(--ypf-navy);font-weight:700}
#ypf-chat .ypf-quick{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;border-top:1px solid var(--ypf-line);background:#fff;max-height:170px;overflow-y:auto}
#ypf-chat .ypf-quick button{background:#fff;color:var(--ypf-navy);border:1.5px solid var(--ypf-navy);border-radius:999px;padding:8px 12px;font:600 13px Roboto,Arial,sans-serif;cursor:pointer;min-height:36px}
#ypf-chat .ypf-quick button:hover{background:var(--ypf-navy);color:#fff}
#ypf-chat .ypf-quick button.ypf-primary{background:var(--ypf-navy);color:#fff}
#ypf-chat .ypf-form{display:none;gap:8px;padding:10px 12px;border-top:1px solid var(--ypf-line);background:#fff}
#ypf-chat .ypf-form.ypf-show{display:flex}
#ypf-chat .ypf-form input,#ypf-chat .ypf-form select{flex:1;min-width:0;border:1px solid #c5ccd5;border-radius:9px;padding:10px 12px;font:16px Roboto,Arial,sans-serif;min-height:44px}
#ypf-chat .ypf-form button{background:var(--ypf-gray);color:#fff;border:0;border-radius:9px;padding:0 16px;font-weight:700;cursor:pointer;min-height:44px}
#ypf-chat .ypf-form button:hover{background:var(--ypf-dark)}
#ypf-chat .ypf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
#ypf-chat .ypf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:767px){
 #ypf-chat{right:12px;bottom:12px}
 #ypf-chat.ypf-open{left:0;right:0;bottom:0;top:0}
 #ypf-chat.ypf-open .ypf-panel{width:100%;max-width:100%;height:100%;max-height:100%;border-radius:0;margin:0}
 #ypf-chat.ypf-open .ypf-bubble{display:none}
}
@media (prefers-reduced-motion:no-preference){#ypf-chat .ypf-panel{animation:ypfIn .2s ease-out}@keyframes ypfIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}
#ypf-chat .ypf-thumbs{display:flex;gap:6px;flex-wrap:wrap;background:transparent;padding:0}
#ypf-chat .ypf-thumb{position:relative;width:64px;height:64px}
#ypf-chat .ypf-thumb img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #ccc}
#ypf-chat .ypf-thumb button{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border-radius:50%;border:0;background:#333;color:#fff;font-size:14px;line-height:22px;padding:0;cursor:pointer}
