/* Attachment Style Quiz: styles for this test only (loaded on its landing, test and result pages). */

/* Prep / loading emblem: the four areas of the map with a dot. */
.imt-app .imt-as-emblem { display: inline-flex; filter: drop-shadow(0 10px 28px rgba(47, 107, 216, .45)); animation: imtAsFloat 3.4s ease-in-out infinite; }
.imt-app .imt-as-emblem svg rect { opacity: .94; }
.imt-app .imt-emblem-load .imt-as-emblem { filter: drop-shadow(0 8px 20px rgba(47, 107, 216, .25)); }
@keyframes imtAsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* "Which description sounds most like you?": long answers, so sentence case in one column. */
.imt-app .question-card[data-question="self"] .imt-pick-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; max-width: 560px; margin: 18px auto 8px; }
.imt-app .question-card[data-question="self"] .imt-pick-btn { min-height: 54px; padding: 13px 16px !important; margin: 0 !important; border-radius: 16px !important; font: 500 14.5px/1.42 var(--imt-sans, 'Poppins', sans-serif) !important; text-transform: none !important; letter-spacing: normal !important; text-align: left; white-space: normal; }
.imt-app .question-card[data-question="self"] .imt-pick-label { text-transform: none !important; letter-spacing: normal !important; white-space: normal; }

/* Result card: the big word is the area name (SECURE, ANXIOUS, DISMISSIVE, FEARFUL or NEAR THE CENTER).
   Sized so the longest single word fits a 375 px phone card; DISMISSIVE (10 letters) is matched by its
   map colour in the swatch style the module sets, and gets a smaller size. */
.imt-app[data-test="attachment-style"] #checkout-section .co-type-big.imt-big-small { font-size: clamp(40px, 12vw, 80px); letter-spacing: .02em; line-height: 1.05; word-break: normal; overflow-wrap: normal; }
.imt-app[data-test="attachment-style"] #checkout-section .co-type-big.imt-big-small[style*="3B82F6"] { font-size: clamp(24px, 8.6vw, 62px); }

/* Result: the attachment map a little larger on wide screens, full width on phones. */
.imt-app .imt-quad { margin: 4px auto 14px; }
/* A white halo keeps the area names and the YOU label readable when the dot sits close to a corner. */
.imt-app .imt-quad-zone, .imt-app .imt-quad-you { paint-order: stroke fill; stroke: rgba(255, 255, 255, .9); stroke-width: 3.5px; stroke-linejoin: round; }
@media (min-width: 760px) { .imt-app .imt-quad-svg { width: 380px; height: 380px; } }

@media (prefers-reduced-motion: reduce) { .imt-app .imt-as-emblem { animation: none; } }
