.assistant-contact-card { width: min(100%, 710px); max-width: 710px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.assistant-contact-card [data-contact-details] { margin: 0; }
.contact-poster { position: relative; width: 100%; aspect-ratio: 1122 / 1402; overflow: hidden; isolation: isolate; container-type: inline-size; color: #fff; background: #92c234; font-family: "Arial", "PingFang SC", sans-serif; }
.contact-poster__base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.contact-poster__identity { position: absolute; left: 15.1%; right: 12%; top: 12.5%; height: 16%; }
.contact-poster__name { position: absolute; left: 0; top: 0; font-size: clamp(42px, 9.8vw, 90px); font-weight: 900; -webkit-text-stroke: 1.5px currentColor; letter-spacing: .02em; line-height: 1.13; white-space: nowrap; }
.contact-poster__keywords { max-width: 100%; overflow: hidden; text-overflow: ellipsis; position: absolute; left: 0; top: 73%; margin: 0; font-size: clamp(10px, 2vw, 17px); font-weight: 400; white-space: nowrap; }
.contact-poster__role { position: absolute; right: 0; top: 16%; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(7px, 1.7vw, 12px); font-size: clamp(13px, 2vw, 22px); font-weight: 700; line-height: 1.08; white-space: nowrap; }
.contact-poster__role span:first-child { font-weight: 500; letter-spacing: 0; }
.contact-poster__role span:last-child { font-size: 1.23em; font-weight: 800; letter-spacing: 0; }
.contact-poster__statement { position: absolute; z-index: 3; left: 54.2%; top: 27.1%; box-sizing: border-box; width: 37%; height: 6.4%; margin: 0; border: 4px solid #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px #73a323; color: #588520; background: #fff; font-size: clamp(10px, 1.55vw, 15px); font-weight: 800; white-space: nowrap; transform: rotate(6deg); }
.contact-poster__statement span { position: absolute; left: 50%; top: 50%; display: block; width: max-content; max-width: none; transform: translate(-50%, -50%) scaleX(var(--statement-scale, .75)); transform-origin: center; }
.contact-poster__bottom { position: absolute; z-index: 2; box-sizing: border-box; left: 30%; right: 6.4%; bottom: 6%; display: grid; grid-template-columns: 20% 46% 1fr; align-items: start; gap: 5%; height: 15.8%; padding: 3%; background: transparent; transform: translate(1.55%, 5%); }
.contact-poster__qr-button { position: relative; display: block; width: 86%; aspect-ratio: 1; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.contact-poster__qr-button img { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.contact-poster__contacts { display: grid; font-size: min(17px, 2.394366cqw); gap: min(14.4px, 2.028169cqw); transform: translateX(3%) scale(.88); transform-origin: top left; }
.contact-poster__contacts a { display: flex; gap: .75em; align-items: flex-start; color: #fff; font-size: inherit; font-weight: 700; line-height: 1.3; text-decoration: none; }
.contact-poster__contacts a:hover { text-decoration: underline; }
.contact-poster__contacts img { flex: 0 0 auto; width: 1.35em; height: 1.35em; object-fit: contain; }
.contact-poster__brand { align-self: start; display: grid; align-content: start; gap: 2%; padding-left: 5%; font-size: clamp(10px, 1.9vw, 16px); font-weight: 700; line-height: 1.1; transform: translateX(-18%) scale(.86); transform-origin: top left; }
.contact-poster__mark { display: block; width: 100%; aspect-ratio: 724 / 335; overflow: hidden; }
.contact-poster__mark img { display: block; width: 100%; height: auto; }
.assistant-contact-card .assistant-card-actions { margin-top: 16px; justify-content: flex-start; }
.assistant-contact-card .assistant-card-actions .assistant-action--secondary { color: #f1ede3; background: #1f201c; border-color: #66685e; }
.assistant-contact-card .assistant-card-actions .assistant-action--secondary:hover { border-color: #a8cf54; }
[data-view="conversation"] .assistant-contact-card { width: min(calc(100% - 54px), 710px); margin-left: 54px; padding: 0; border: 0; border-radius: 0; color: inherit; background: transparent; }
.contact-poster__qr-dialog { position: fixed; max-width: min(90vw, 420px); max-height: 90vh; padding: 48px 20px 20px; border: 0; border-radius: 12px; background: #fff; }
.contact-poster__qr-dialog img { display: block; width: 100%; max-height: calc(90vh - 68px); object-fit: contain; }
.contact-poster__qr-close { position: absolute; top: 8px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #222; background: #eee; font-size: 28px; line-height: 1; cursor: pointer; }
.contact-poster__qr-close:hover { background: #ddd; }

.contact-poster__contacts, .contact-poster__contacts a, .contact-poster__contacts a span { min-width: 0; }
.contact-poster__contacts a span { overflow-wrap: anywhere; white-space: normal; }

/* English names and roles need separate rows in the existing card artwork. */
html[lang="en"] .contact-poster__name { font-size: clamp(20px, 3.6vw, 44px); -webkit-text-stroke: .6px currentColor; }
html[lang="en"] .contact-poster__role { top: 44%; left: 0; right: auto; font-size: clamp(9px, 1.4vw, 15px); }
html[lang="en"] .contact-poster__role span:first-child { display: none; }

/* Keep the contact-request consent and submit button clear of fixed chat controls. */
.ai-assistant[data-active-task="callback"] .assistant-composer,
.ai-assistant[data-active-task="callback"] .assistant-welcome-actions { visibility: hidden; pointer-events: none; }
.assistant-callback-form { scroll-margin-top: 100px; }
