/* Chat widget styles for the standalone /partner/car master (scoped to .contact-widget; extracted from styles.css rules for the chat window). */
.contact-widget{--muted:#6e6e73;--fw-heading:600;--fw-ui:500;font-family:Prompt,Poppins,sans-serif;color:#1d1d1f;line-height:1.5}
.contact-widget *,.contact-widget *::before,.contact-widget *::after{box-sizing:border-box}
.contact-widget .contact-panel{color:#1d1d1f;background:#fff}
.contact-widget .btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid transparent;border-radius:980px;font-weight:500;box-shadow:none;cursor:pointer}
.contact-widget .btn-primary{background:#0043a1;color:#fff}
.contact-widget .btn-primary:hover{background:#0a2777}
.contact-widget a{text-decoration:none}
.contact-widget textarea,.contact-widget button{font-family:inherit}
@keyframes contact-up{from{transform:translateY(16px);opacity:0}to{transform:translateY(0);opacity:1}}
.chat-float{position:fixed;left:24px;bottom:22px;z-index:70;display:flex;gap:10px;align-items:center;justify-content:center;border:0;border-radius:999px;background:#0043a1;color:#fff;padding:16px 20px;box-shadow:0 8px 30px #0043a133;font:500 13px Prompt,sans-serif;cursor:pointer;min-height:52px}
.chat-float svg{width:24px;height:24px}
.contact-panel[hidden]{display:none!important}
.contact-panel{position:fixed;left:24px;bottom:92px;width:370px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 120px);overflow:auto;background:#fff;border:1px solid #e6e8ec;box-shadow:0 20px 75px #001c4840;border-radius:26px;padding:28px;z-index:75;color:#1d1d1f;animation:contact-up .22s ease-out}
.contact-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.contact-mark{display:grid;place-items:center;background:#bdf3df;color:#0043a1;border-radius:14px;width:46px;height:46px}
.contact-mark svg{width:26px;height:26px}
.close-contact{border:0;border-radius:50%;background:#f5f6f8;color:#1d1d1f;width:36px;height:36px;font-size:24px;cursor:pointer}
.contact-eyebrow{font:500 10px Poppins,sans-serif;letter-spacing:.13em;color:#6e6e73;margin:0 0 8px}
.contact-panel h2{font-size:26px;line-height:1.2;font-weight:700;margin:0 0 10px;letter-spacing:-.02em}
.contact-panel #contact-car{font-size:13px;color:#0043a1;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}
.contact-disclaimer{font-size:13px;color:#6e6e73;margin:0 0 22px;line-height:1.65}
.contact-topics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:24px}
.contact-topics button{font:500 12px Prompt,sans-serif;background:#f5f6f8;border:1px solid transparent;color:#1d1d1f;border-radius:12px;padding:12px 7px;cursor:pointer}
.contact-topics button[aria-pressed=true]{border-color:#0043a1;color:#0043a1;background:#f0f6ff}
.contact-routes .btn{display:flex;justify-content:center;align-items:center;min-height:46px;font-size:14px}
.contact-phone{display:block;text-align:center;font-size:14px;margin:16px 0}
.contact-fallback{font-size:11px;color:#6e6e73;line-height:1.6;margin-bottom:10px}
.contact-panel #contact-listing{font-size:12px}
@media(max-width:720px){.chat-float{left:18px;bottom:20px;width:52px;height:52px;padding:0}.chat-float>span{display:none}.contact-panel{left:20px;bottom:88px;width:calc(100vw - 40px);padding:24px;max-height:calc(100dvh - 112px);border-radius:24px}.contact-panel h2{font-size:24px}.contact-top{margin-bottom:18px}.contact-topics{margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.contact-panel{animation:none}}
.directory-contact-note a{color:#0043a1;white-space:nowrap}
.contact-channel{display:block;text-align:center;color:#0043a1;font-size:13px;line-height:1.6;margin:12px 0}
.directory-contact-note{line-height:1.9}
.directory-contact-note a{white-space:nowrap}
.contact-qr[hidden]{display:none!important}
.contact-qr{margin:14px 0;padding:12px;border:1px solid #e2e8ef;background:#f7f9fc;border-radius:16px;text-align:center}
.contact-qr>span{display:block;font:500 10px Poppins,Prompt,sans-serif;color:#0043a1;margin-bottom:8px}
.contact-qr img{display:block;margin:auto;width:128px;height:128px;background:#fff;border-radius:8px}
.contact-qr p{font-size:11px;line-height:1.6;margin:8px 0}
.contact-qr a{display:block;font-size:10px;color:#0043a1;line-height:1.6;margin-top:8px}
.contact-panel .contact-topics{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.contact-panel .contact-topics button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:8px 4px;border:1px solid #dce2ea;background:#f5f6f8;border-radius:14px;font:500 10px/1.5 Prompt,sans-serif;white-space:normal;color:#1d1d1f}
.contact-panel .contact-topics button[aria-pressed=true]{border-color:#0043a1;color:#0043a1;background:#f0f6ff}
#contact-panel .contact-routes{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
#contact-panel .contact-route-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin:0;padding:12px 16px;border:1px solid #0043a1;border-radius:999px;font:500 14px/1.5 Prompt,Poppins,sans-serif;text-align:center;box-sizing:border-box}
#contact-panel #contact-line{background:#0043a1;color:#fff}
#contact-panel #contact-whatsapp{background:#fff;color:#0043a1}
#contact-panel .contact-phone{margin:6px 0 0;text-align:center;font-size:13px}
#contact-panel .contact-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:8px;align-items:stretch}
#contact-panel .contact-topics>button{display:flex!important;align-items:center;justify-content:center;min-height:48px;height:100%;width:100%;padding:9px 5px!important;border:1px solid #d3dbe5!important;border-radius:999px!important;background:#f1f3f6!important;color:#25364a;font:500 11px/1.5 Prompt,Poppins,sans-serif;text-align:center;white-space:normal;overflow-wrap:break-word;box-sizing:border-box}
#contact-panel .contact-topics>button[aria-pressed=true]{border-color:#0043a1!important;background:#edf4ff!important;color:#0043a1}
.contact-widget .chat-float{left:auto;right:20px;bottom:calc(76px + env(safe-area-inset-bottom));min-height:40px;height:40px;padding:9px 13px;font-size:11px;gap:7px}
.contact-widget .chat-float svg{width:18px;height:18px}
.contact-widget .contact-panel{left:auto;right:20px;bottom:calc(128px + env(safe-area-inset-bottom));max-height:calc(100dvh - 192px)}
@media(max-width:767px){.contact-widget .chat-float{right:16px;left:auto;width:44px;height:44px;min-height:44px;padding:0}.contact-widget .contact-panel{left:16px;right:16px;width:calc(100vw - 32px);bottom:calc(132px + env(safe-area-inset-bottom));max-height:calc(100dvh - 196px)}}
@media(max-width:767px){.contact-widget .chat-float{width:40px;height:40px;min-width:40px;min-height:40px;border-radius:50%;right:16px;bottom:calc(72px + env(safe-area-inset-bottom));padding:0}.contact-widget .chat-float>span{display:none}.contact-widget .chat-float[data-mobile-obscured="true"]{visibility:hidden;pointer-events:none}}
.contact-widget .contact-eyebrow{
 display:block !important; margin-top:0 !important; margin-bottom:16px !important; line-height:1.5 !important;
 color:var(--eyebrow-secondary,var(--muted)) !important; opacity:1 !important;
}
.contact-widget .contact-eyebrow + h2{ margin-top:0; }
.contact-widget .contact-panel.is-chat{display:flex;flex-direction:column}
.contact-widget .contact-panel.is-chat .contact-chat{display:flex;flex-direction:column;flex:1;min-height:0;margin:0 0 12px}
.contact-widget .contact-panel.is-chat{overflow:hidden}
.contact-widget .contact-panel.is-chat .contact-chat{margin:0;overflow:hidden}
.contact-widget .contact-panel.is-chat{bottom:calc(16px + env(safe-area-inset-bottom));max-height:calc(100dvh - 32px)}
.contact-widget .contact-panel.is-chat .contact-chat-log{flex:1 1 auto;min-height:140px;max-height:none}
.contact-widget:has(.contact-panel:not([hidden])) .chat-float{visibility:hidden;pointer-events:none}
.contact-widget .contact-panel.is-chat .contact-chat .contact-routes,
.contact-widget .contact-panel.is-chat .contact-chat-form,
.contact-widget .contact-panel.is-chat .contact-chat-status{flex:0 0 auto;position:static!important;bottom:auto!important;inset:auto!important;z-index:auto}
.contact-widget .contact-panel.is-chat .contact-chat .contact-routes{margin:8px 0 0;gap:8px}
.contact-widget .contact-panel.is-chat .contact-chat-form{margin:8px 0 0}
.contact-widget .contact-chat[hidden]{display:none!important}
.contact-widget .contact-chat-log{flex:1;min-height:140px;max-height:220px;overflow:auto;padding:8px;margin:0 0 10px;border:1px solid #e6e8ec;border-radius:16px;background:#f7f9fc}
.contact-widget .contact-chat-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0 0 8px;max-width:86%}
.contact-widget .contact-chat-row.is-mine{margin-left:auto;align-items:flex-end}
.contact-widget .contact-chat-name{font:500 10px Poppins,Prompt,sans-serif;color:#6e6e73}
.contact-widget .contact-chat-row p{margin:0;padding:8px 10px;border-radius:12px;background:#fff;border:1px solid #e6e8ec;font:400 13px/1.5 Prompt,Poppins,sans-serif;color:#1d1d1f;overflow-wrap:anywhere}
.contact-widget .contact-chat-row.is-mine p{background:#0043a1;color:#fff;border-color:#0043a1}
.contact-widget .contact-chat-image{display:block;width:120px;max-width:100%;height:auto;border-radius:10px}
.contact-widget .contact-chat-file{font:500 12px Prompt,sans-serif;color:#0043a1}
.contact-widget .contact-chat-form{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}
.contact-widget .contact-chat-form textarea{width:100%;min-height:44px;max-height:88px;margin:0;padding:10px 12px;border:1px solid #d3dbe5;border-radius:12px;background:#fff;color:#1d1d1f;font:400 13px/1.5 Prompt,Poppins,sans-serif;resize:none;box-sizing:border-box}
.contact-widget .contact-chat-attach,
.contact-widget .contact-chat-send{min-height:44px;padding:8px 12px;border:1px solid #0043a1;border-radius:12px;background:#fff;color:#0043a1;font:500 12px Prompt,Poppins,sans-serif;cursor:pointer}
.contact-widget .contact-chat-send{background:#0043a1;color:#fff}
.contact-widget .contact-chat-status{margin:6px 0 0;font:400 12px/1.5 Prompt,sans-serif;color:#6e6e73}
.contact-widget .chat-unread{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#d4483a;color:#fff;font:600 9px/16px Poppins,sans-serif;text-align:center}
.contact-widget .chat-float{position:fixed}
.contact-widget .chat-unread[hidden]{display:none!important}
.contact-panel h2{
  font-weight: var(--fw-heading);
}
.contact-routes .btn{
  font-weight: var(--fw-ui);
}
.contact-other-ways:not([open])>.contact-other-list,
.contact-other-ways:not([open]) #contact-whatsapp,
.contact-other-ways:not([open]) .contact-phone{display:none!important}

/* /partner/car only: dark page (#060914) — keep the button visible with a light ring, and lift it above the page's sticky bottom bar on phones. */
.contact-widget .chat-float{box-shadow:0 0 0 2px rgba(255,255,255,.85),0 8px 30px rgba(0,0,0,.45)}
@media(max-width:767px){.contact-widget .chat-float{bottom:calc(var(--pc-chat-offset,16px) + env(safe-area-inset-bottom))}}
.contact-widget .chat-float[data-pc-cover="true"]{visibility:hidden;pointer-events:none}
@media(max-width:767px){.contact-widget .chat-float[data-pc-side="left"]{left:16px;right:auto}}
/* Match the chat window on the other /partner pages (the master's own h2/link/body styles must not leak in). */
.contact-widget{font-family:Prompt,system-ui,sans-serif;font-weight:400;letter-spacing:-.085px}
.contact-widget .contact-panel h2,.contact-widget #contact-heading{color:#1d1d1f;font-weight:500;line-height:1.3}
.contact-widget .contact-eyebrow{font-family:Prompt,system-ui,sans-serif;line-height:1.5}
.contact-widget .contact-phone{color:#0043a1}
.contact-widget .close-contact{font-weight:400}
