/* Insight Metrics Tests: brand bar, test-page additions, and the premium result / report page.
   The MBTI test screens themselves come from imt-test-base.css. */

/* ------------------------------------------------------------ tokens */
.imt-app {
	--imt-ink: #121212;
	--imt-ink2: #2a2c33;
	--imt-muted: #626775;
	--imt-line: #e7e2dc;
	--imt-bg: #f7f2ee;
	--imt-card: #ffffff;
	--imt-dark: #0b1020;
	--imt-dark2: #1e1b3a;
	--imt-accent: #6d4aff;
	--imt-accent2: #f97316;
	--imt-radius: 22px;
	--imt-serif: 'Fraunces', Georgia, serif;
	--imt-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--imt-mono: 'JetBrains Mono', ui-monospace, monospace;
	color: var(--imt-ink);
	-webkit-font-smoothing: antialiased;
}
body.imt-page { background: var(--imt-bg, #f7f2ee); }
body.im-test-page #pxl-main { padding-top: 0 !important; }
.imt-app *, .imt-app *::before, .imt-app *::after { box-sizing: border-box; }
.imt-app .imt-ico { display: inline-block; vertical-align: middle; flex: 0 0 auto; }


/* The theme capitalizes headings and uppercases buttons; keep our own casing. */
.imt-app h1, .imt-app h2, .imt-app h3, .imt-app h4, .imt-app p, .imt-app .imt-btn, .imt-app button.imt-btn, .imt-app a.imt-btn { text-transform: none; }
.imt-app .imt-r-title, .imt-app .imt-r-sec-head h2, .imt-app .imt-h3, .imt-app .imt-unlock-title, .imt-app .imt-more-title, .imt-app .imt-lock-title, .imt-app .imt-inline-cta-title { font-family: var(--imt-serif) !important; letter-spacing: -.3px; word-spacing: normal; }

/* ------------------------------------------------------- brand bar */
.imt-app .im-test-brandbar { position: relative; z-index: 5; margin: 0 calc(50% - 50vw); height: 64px; background: linear-gradient(160deg, #0b1020 0%, #111827 55%, #1e1b3a 100%); border-bottom: 1px solid rgba(255,255,255,.06); font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.imt-app .im-test-brandbar-in { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 14px; }
.imt-app .im-test-brandbar-logo { flex: 0 1 auto; display: flex; align-items: center; height: 100%; min-width: 0; }
.imt-app .im-test-brandbar-logo img { display: block; height: 34px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 4px 20px rgba(249,115,22,.18)); }
.imt-app .im-test-brandbar-spacer { flex: 1 1 auto; }
.imt-app .im-test-brandbar-secure { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid rgba(143,230,176,.28); border-radius: 999px; background: rgba(143,230,176,.07); color: #8fe6b0; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .2px; white-space: nowrap; }
@media (min-width: 700px) { .imt-app .im-test-brandbar { height: 68px; } .imt-app .im-test-brandbar-in { padding: 0 28px; } .imt-app .im-test-brandbar-logo img { height: 40px; } }
@media (max-width: 374px) { .imt-app .im-test-brandbar-in { padding: 0 14px; } .imt-app .im-test-brandbar-logo img { height: 28px; } }
/* 1.1.6: phones give the app 10 px of top padding, which showed as a strip above the brand bar. The bar now sits
   flush at the top and the 10 px goes under it, like /personality-test/ (the content below stays where it was). */
@media (max-width: 768px) { .imt-app > .im-test-brandbar:first-child { margin-top: -10px; margin-bottom: 10px; } }
.imt-app.imt-test-app #intro-section { padding-top: 26px; }

/* ---------------------------------------------------- test additions */
/* intro card = the MBTI card, short (1.0.3): no checklist box; fine print sits under the card */
.imt-app.imt-test-app #intro-section { flex-direction: column; align-items: center; }
/* warm cream wash behind the whole test, like the MBTI test page (body.mbti-test-active) */
body.imt-test-body, body.imt-test-body #pxl-main, .imt-app.imt-test-app { background: linear-gradient(180deg, #FFFAF5 0%, #FFF5EC 50%, #FFFAF5 100%); }
.imt-app.imt-test-app .imt-resume { font-size: 12px; }
.imt-app.imt-test-app .imt-resume button { font-size: 12px; }
.imt-app .imt-intro-legal { width: 100%; max-width: 520px; margin: 14px auto 0; padding: 0 12px; font-size: 10.5px; line-height: 1.55; color: #9a9fab; text-align: center; }
.imt-app .pa-counter-label { white-space: nowrap; }
.imt-app .imt-saves svg { flex-shrink: 0; }
/* how-to-answer tip under the first question */
.imt-app .qv3-q-sub .imt-q-hint { display: block; max-width: 440px; margin: 8px auto 0; padding: 8px 14px; border-radius: 12px; background: #fff7ed; border: 1px solid #fde3c8; color: #7c4a1e; font-size: 12.5px; font-weight: 500; line-height: 1.5; }
@media (max-width: 480px) {
	.imt-app .imt-intro-legal { font-size: 10px; margin-top: 12px; }
	.imt-app .qv3-q-sub .imt-q-hint { font-size: 12px; padding: 7px 12px; }
	/* short two-line headlines: keep the line break on phones (the MBTI CSS joins the lines) */
	.imt-app.imt-test-app .pa-headline br { display: inline; }
	.imt-app.imt-test-app .pa-headline .pa-headline-grad::before { content: none; }
	/* keep "Free to take · Free summary · Full report optional" on one line */
	.imt-app.imt-test-app .pa-meta-row { gap: 4px; }
	.imt-app.imt-test-app .pa-meta-sep { margin: 0 1px; }
}
.imt-app .imt-resume { width: 100%; text-align: center; font-size: 13px; color: var(--imt-muted); margin: 0 0 8px; }
.imt-app .imt-resume button { background: none; border: 0; padding: 0; margin-left: 6px; color: var(--imt-accent); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: 13px; }
.imt-app .imt-emblem { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 170px; height: 170px; margin: 0 auto; }
.imt-app .imt-emblem-text { font-family: var(--imt-serif); font-weight: 600; font-size: 38px; letter-spacing: 3px; color: #fff; text-shadow: 0 6px 30px rgba(249,115,22,.45); }
.imt-app .imt-emblem-text i { font-style: normal; opacity: .55; margin: 0 6px; }
.imt-app .imt-emblem-sm { font-size: 28px; letter-spacing: 2px; }
.imt-app .imt-emblem-heart { color: #fda4af; filter: drop-shadow(0 8px 26px rgba(229,72,111,.55)); animation: imtBeat 1.6s ease-in-out infinite; }
.imt-app .imt-emblem-heart .imt-ico path { fill: rgba(229,72,111,.35); }
.imt-app .imt-emblem-wheel { width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(from 90deg, #a3e635, #facc15, #fb923c, #ef4444, #a855f7, #3b82f6, #14b8a6, #22c55e, #a3e635); box-shadow: 0 10px 40px rgba(124,58,237,.35); animation: imtSpin 9s linear infinite; }
.imt-app .imt-emblem-load .imt-emblem-text, .imt-app .imt-emblem-load .imt-emblem-text i { color: #c2410c; text-shadow: none; }
@keyframes imtBeat { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes imtSpin { to { transform: rotate(360deg); } }

.imt-app .imt-pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 8px; }
.imt-app .imt-pick-btn { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #e9e4dd; background: #fff; font: 600 14px/1.25 var(--imt-sans); color: var(--imt-ink); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .15s; }
.imt-app .imt-pick-btn:hover { border-color: #c9c0f7; transform: translateY(-1px); }
.imt-app .imt-pick-btn.selected { border-color: var(--imt-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--imt-accent) 18%, transparent); }
.imt-app .imt-pick-dot { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
@media (max-width: 420px) { .imt-app .imt-pick-grid { grid-template-columns: 1fr; } }

.imt-app .imt-form-bullets { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.imt-app .imt-form-bullets li { display: flex; gap: 8px; font-size: 13px; color: #4b5060; line-height: 1.4; margin: 0; }
.imt-app .imt-form-bullets .imt-ico { color: #10b981; margin-top: 2px; }
.imt-app .imt-form-error { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: #fef2f2; color: #b91c1c; font-size: 13px; line-height: 1.4; }
.imt-app .imt-form-legal { margin: 10px 0 0; font-size: 11.5px; color: #8b8f9c; line-height: 1.5; text-align: center; }
.imt-app .imt-form-legal a { color: inherit; text-decoration: underline; }
.imt-app .imt-off { max-width: 560px; margin: 60px auto; padding: 28px; text-align: center; background: #fff; border-radius: 22px; font-family: var(--imt-sans); }

/* ------------------------------------------------------- buttons */
.imt-app .imt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 0; font: 600 15px/1.2 var(--imt-sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s; white-space: nowrap; }
.imt-app .imt-btn:hover { transform: translateY(-1px); }
.imt-app .imt-btn:disabled, .imt-app .imt-btn.is-busy { opacity: .6; cursor: progress; transform: none; }
.imt-app .imt-btn-accent { color: #fff; background: linear-gradient(135deg, var(--imt-accent) 0%, color-mix(in srgb, var(--imt-accent) 70%, var(--imt-accent2)) 100%); box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--imt-accent) 70%, transparent); }
.imt-app .imt-btn-dark { color: #fff; background: var(--imt-ink); }
.imt-app .imt-btn-light { color: var(--imt-ink); background: #fff; }
.imt-app .imt-btn-ghost { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.imt-app .imt-btn-sm { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.imt-app .imt-btn-lg { min-height: 56px; font-size: 16px; }
.imt-app .imt-btn-block { width: 100%; }
.imt-app .imt-btn-arrow { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--imt-ink); align-items: center; justify-content: center; margin-right: -10px; }

/* ------------------------------------------------------- result page */
.imt-result-app { font-family: var(--imt-sans); background: var(--imt-bg); padding-bottom: 0; }
.imt-result-app .imt-r-wrap { max-width: 1180px; margin: 0 auto; padding: 24px 16px 40px; }
.imt-result-app .imt-r-hero { position: relative; overflow: hidden; border-radius: 30px; background: linear-gradient(155deg, var(--imt-dark) 0%, #141a33 55%, var(--imt-dark2) 100%); color: #fff; padding: 34px 22px; box-shadow: 0 40px 80px -40px rgba(17,24,39,.6); }
.imt-result-app .imt-r-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.imt-result-app .imt-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.imt-result-app .imt-orb-1 { width: 380px; height: 380px; right: -120px; top: -140px; background: var(--imt-accent); }
.imt-result-app .imt-orb-2 { width: 300px; height: 300px; left: -120px; bottom: -160px; background: var(--imt-accent2); opacity: .35; }
.imt-result-app .imt-orb-3 { width: 180px; height: 180px; left: 45%; top: 30%; background: #22d3ee; opacity: .12; }
.imt-result-app .imt-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.imt-result-app .imt-r-hero-grid { position: relative; display: grid; gap: 26px; align-items: center; }
.imt-result-app .imt-r-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font: 600 11px/1 var(--imt-mono); letter-spacing: 1.2px; color: #e7e3ff; }
.imt-result-app .imt-r-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #8fe6b0; box-shadow: 0 0 0 4px rgba(143,230,176,.18); }
.imt-result-app .imt-r-for { margin: 14px 0 6px; font-size: 13px; color: #b9bdd0; }
.imt-result-app .imt-r-title { margin: 0; font-family: var(--imt-serif); font-weight: 500; font-size: clamp(30px, 7vw, 52px); line-height: 1.05; letter-spacing: -.6px; color: #fff; }
.imt-result-app .imt-r-title.is-sentence { font-size: clamp(26px, 5.2vw, 40px); line-height: 1.15; }
.imt-result-app .imt-r-score { margin: 12px 0 0; font-size: 15px; color: #cfd2e3; }
.imt-result-app .imt-r-score span { font: 700 26px/1 var(--imt-sans); color: #fff; margin-right: 6px; }
.imt-result-app .imt-r-nick { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-family: var(--imt-serif); font-style: italic; font-size: 22px; color: #f3f0ff; }
.imt-result-app .imt-r-sub { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: #cfd2e3; max-width: 560px; }
.imt-result-app .imt-r-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.imt-result-app .imt-r-msg { margin: 14px 0 0; padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.imt-result-app .imt-r-msg.is-ok { background: rgba(143,230,176,.14); color: #c9f5da; }
.imt-result-app .imt-r-msg.is-bad { background: rgba(254,202,202,.15); color: #fecaca; }
.imt-result-app .imt-r-hero-visual { background: rgba(255,255,255,.96); color: var(--imt-ink); border-radius: 24px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
@media (min-width: 900px) {
	.imt-result-app .imt-r-wrap { padding: 32px 24px 56px; }
	.imt-result-app .imt-r-hero { padding: 48px 48px; }
	.imt-result-app .imt-r-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 40px; }
}

.imt-result-app .imt-banner { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; padding: 16px 18px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.imt-result-app .imt-banner-ok { background: #ecfdf3; color: #14532d; border: 1px solid #bbf7d0; }
.imt-result-app .imt-banner .imt-ico { color: #16a34a; margin-top: 2px; }

.imt-result-app .imt-r-toc { display: flex; gap: 8px; overflow-x: auto; padding: 18px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.imt-result-app .imt-r-toc::-webkit-scrollbar { display: none; }
.imt-result-app .imt-toc-item { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--imt-line); color: var(--imt-ink2); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.imt-result-app .imt-toc-item:hover { border-color: #cfc7bd; }
.imt-result-app .imt-toc-num { font: 600 11px/1 var(--imt-mono); color: var(--imt-accent); }
.imt-result-app .imt-toc-item.is-locked { color: #8a8e9b; }
.imt-result-app .imt-toc-item.is-locked .imt-ico { color: #b3b6c2; }

.imt-result-app .imt-r-grid { display: grid; gap: 22px; margin-top: 14px; }
@media (min-width: 1024px) { .imt-result-app .imt-r-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.imt-result-app .imt-r-main { display: grid; gap: 18px; min-width: 0; }
.imt-result-app.is-paid .imt-r-grid { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }

.imt-result-app .imt-r-sec { position: relative; background: var(--imt-card); border-radius: var(--imt-radius); border: 1px solid #ede8e1; padding: 24px 20px; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 40px -32px rgba(17,24,39,.35); scroll-margin-top: 90px; overflow: hidden; }
@media (min-width: 700px) { .imt-result-app .imt-r-sec { padding: 30px 34px; } }
.imt-result-app .imt-r-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.imt-result-app .imt-r-num { font: 600 12px/1 var(--imt-mono); color: var(--imt-accent); background: color-mix(in srgb, var(--imt-accent) 10%, #fff); padding: 7px 9px; border-radius: 9px; }
.imt-result-app .imt-r-sec-head h2 { flex: 1 1 200px; margin: 0; font-family: var(--imt-serif); font-weight: 500; font-size: clamp(22px, 3.4vw, 28px); line-height: 1.2; color: var(--imt-ink); letter-spacing: -.2px; }
.imt-result-app .imt-tag { font: 600 10.5px/1 var(--imt-mono); letter-spacing: .8px; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.imt-result-app .imt-tag-free { color: #166534; background: #dcfce7; }
.imt-result-app .imt-tag-full { color: #5b21b6; background: #ede9fe; }

/* blocks */
.imt-app .imt-lead { font-size: 18px; line-height: 1.6; color: var(--imt-ink); margin: 0 0 14px; font-weight: 500; }
.imt-app .imt-p { font-size: 15.5px; line-height: 1.75; color: #33363f; margin: 0 0 14px; }
.imt-app .imt-p.imt-small { font-size: 13px; line-height: 1.6; color: var(--imt-muted); }
.imt-app .imt-p-label { display: block; font: 600 11px/1 var(--imt-mono); letter-spacing: .9px; text-transform: uppercase; color: var(--imt-accent); margin-bottom: 8px; }
.imt-app .imt-h3 { font-family: var(--imt-serif); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--imt-ink); margin: 24px 0 8px; }
.imt-app .imt-r-body > .imt-h3:first-child { margin-top: 0; }
.imt-app .imt-list-title { font: 600 11px/1 var(--imt-mono); letter-spacing: .9px; text-transform: uppercase; color: var(--imt-muted); margin: 16px 0 10px; }
.imt-app .imt-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 9px; }
.imt-app .imt-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: #33363f; margin: 0; }
.imt-app .imt-li-ico { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 1px; }
.imt-app .imt-list-check .imt-li-ico { background: color-mix(in srgb, var(--imt-accent) 12%, #fff); color: var(--imt-accent); }
.imt-app .imt-list-warn .imt-li-ico { background: #fff4e6; color: #c2410c; }
.imt-app .imt-list-dot li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--imt-accent); flex: 0 0 auto; margin-top: 10px; }
.imt-app ol.imt-list-num { counter-reset: n; }
.imt-app ol.imt-list-num li { counter-increment: n; }
.imt-app ol.imt-list-num li::before { content: counter(n); flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--imt-ink); color: #fff; font: 600 12px/26px var(--imt-mono); text-align: center; }

.imt-app .imt-bars { display: grid; gap: 16px; margin: 4px 0 16px; }
.imt-app .imt-bars-compact { gap: 12px; }
.imt-app .imt-bar-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.imt-app .imt-bar-label { font-weight: 600; font-size: 15px; color: var(--imt-ink); }
.imt-app .imt-bar-val { margin-left: auto; font: 700 15px/1 var(--imt-sans); color: var(--imt-ink); }
.imt-app .imt-chip { font: 600 10.5px/1 var(--imt-mono); text-transform: uppercase; letter-spacing: .6px; padding: 5px 8px; border-radius: 999px; background: #f3efe9; color: #5b5f6b; }
.imt-app .imt-chip-match { background: color-mix(in srgb, var(--imt-accent) 12%, #fff); color: var(--imt-accent); }
.imt-app .imt-bar-track { position: relative; height: 10px; border-radius: 99px; background: #efeae4; overflow: visible; }
.imt-app .imt-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 0%); border-radius: 99px; background: var(--bar, linear-gradient(90deg, var(--imt-accent), color-mix(in srgb, var(--imt-accent) 55%, var(--imt-accent2)))); animation: imtGrow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.imt-app .imt-bar-sub { margin: 7px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--imt-muted); }
@keyframes imtGrow { from { width: 0; } }
.imt-app .imt-bars-compact .imt-bar-track { height: 8px; }
.imt-app .imt-bars-compact .imt-bar-label { font-size: 14px; }

.imt-app .imt-minibars { display: grid; gap: 11px; }
.imt-app .imt-minibar { display: grid; grid-template-columns: 112px 1fr 30px; align-items: center; gap: 10px; font-size: 13px; }
.imt-app .imt-minibar-label { font-weight: 600; color: var(--imt-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imt-app .imt-minibar-track { height: 9px; border-radius: 99px; background: #efeae4; position: relative; overflow: hidden; }
.imt-app .imt-minibar-fill { position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 99px; background: linear-gradient(90deg, var(--imt-accent), color-mix(in srgb, var(--imt-accent) 50%, var(--imt-accent2))); animation: imtGrow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.imt-app .imt-minibar-val { font-weight: 700; text-align: right; }
.imt-app .imt-minibars-cols { grid-template-columns: repeat(6, 1fr); align-items: end; height: 170px; gap: 10px; }
.imt-app .imt-minibars-cols .imt-minibar { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; height: 100%; gap: 6px; text-align: center; }
.imt-app .imt-minibars-cols .imt-minibar-label { order: 3; font-family: var(--imt-mono); }
.imt-app .imt-minibars-cols .imt-minibar-val { order: 2; text-align: center; }
.imt-app .imt-minibars-cols .imt-minibar-track { order: 1; height: 100%; width: 100%; border-radius: 12px; }
.imt-app .imt-minibars-cols .imt-minibar-fill { inset: auto 0 0 0; width: 100%; height: var(--v); border-radius: 12px; background: linear-gradient(0deg, var(--imt-accent), color-mix(in srgb, var(--imt-accent) 45%, var(--imt-accent2))); animation: none; }

.imt-app .imt-dual { display: grid; gap: 15px; margin: 4px 0 16px; }
.imt-app .imt-dual-legend { display: flex; gap: 18px; margin: 0 0 4px; font-size: 13px; color: var(--imt-muted); }
.imt-app .imt-dual-legend span { display: inline-flex; align-items: center; gap: 7px; }
.imt-app .imt-key { display: inline-block; }
.imt-app .imt-key-need { width: 22px; height: 8px; border-radius: 9px; background: var(--imt-accent); }
.imt-app .imt-key-give { width: 12px; height: 12px; border-radius: 50%; background: var(--imt-accent2); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--imt-accent2); }
.imt-app .imt-give-dot { position: absolute; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; border-radius: 50%; background: var(--imt-accent2); box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.2); }
.imt-app .imt-dual-mini { gap: 12px; }
.imt-app .imt-dual-mini .imt-bar-label { font-size: 13px; }

.imt-app .imt-spectrum { padding: 22px 6px 4px; }
.imt-app .imt-spec-track { position: relative; height: 16px; border-radius: 99px; background: linear-gradient(90deg, #0e9f9a 0%, #7d83d6 50%, #6d4aff 100%); }
.imt-app .imt-spec-zone { position: absolute; top: -6px; bottom: -6px; border-radius: 10px; border: 2px dashed rgba(17,24,39,.35); background: rgba(255,255,255,.18); }
.imt-app .imt-spec-marker { position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--imt-ink), 0 8px 20px rgba(0,0,0,.25); }
.imt-app .imt-spec-marker span { position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%); background: var(--imt-ink); color: #fff; font: 700 12px/1 var(--imt-sans); padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.imt-app .imt-spec-labels { display: flex; justify-content: space-between; margin-top: 14px; font: 600 11px/1 var(--imt-mono); letter-spacing: .6px; text-transform: uppercase; color: var(--imt-muted); }

.imt-app .imt-wheel { text-align: center; margin: 0 0 10px; }
.imt-app .imt-wheel-svg { max-width: 100%; height: auto; }
.imt-app .imt-wheel-label { font: 600 12px var(--imt-sans); fill: #6b7080; }
.imt-app .imt-wheel-label.is-you { fill: var(--imt-ink); font-weight: 800; }
.imt-app .imt-wheel-center { font: 700 11px var(--imt-mono); fill: #111827; letter-spacing: 1px; }
.imt-app .imt-wheel-axes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin: 6px 0 0; font-size: 12.5px; color: var(--imt-muted); }
.imt-app .imt-swatch { display: inline-block; width: 16px; height: 16px; border-radius: 6px; vertical-align: -3px; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.imt-app .imt-swatch-lg { width: 26px; height: 26px; border-radius: 50%; margin: 0; box-shadow: 0 0 0 3px rgba(255,255,255,.4); }

.imt-app .imt-callout { display: flex; gap: 12px; margin: 6px 0 16px; padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, var(--imt-accent) 7%, #fff); border: 1px solid color-mix(in srgb, var(--imt-accent) 16%, #fff); }
.imt-app .imt-callout p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #33363f; }
.imt-app .imt-callout-title { font-weight: 700; color: var(--imt-ink) !important; margin-bottom: 4px !important; }
.imt-app .imt-callout-ico { color: var(--imt-accent); margin-top: 1px; }
.imt-app .imt-callout-warm { background: #fff7ed; border-color: #fed7aa; }
.imt-app .imt-callout-warm .imt-callout-ico { color: #ea580c; }
.imt-app .imt-callout-help { background: #f0fdf4; border-color: #bbf7d0; }
.imt-app .imt-callout-help .imt-callout-ico { color: #16a34a; }

.imt-app .imt-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 4px 0 14px; }
.imt-app .imt-card { position: relative; padding: 16px 16px 14px; border-radius: 18px; background: #faf8f5; border: 1px solid #efeae3; }
.imt-app .imt-card p { margin: 0; font-size: 14px; line-height: 1.6; color: #3b3e47; }
.imt-app .imt-card-title { font-weight: 700; color: var(--imt-ink) !important; margin-bottom: 6px !important; font-size: 14.5px !important; }
.imt-app .imt-card-dot { position: absolute; right: 14px; top: 16px; width: 14px; height: 14px; border-radius: 50%; }

.imt-app .imt-steps { display: grid; gap: 12px; margin: 4px 0 14px; }
.imt-app .imt-step { display: flex; gap: 14px; padding: 16px; border-radius: 18px; background: #faf8f5; border: 1px solid #efeae3; }
.imt-app .imt-step-num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--imt-ink); color: #fff; font: 600 13px/40px var(--imt-mono); text-align: center; }
.imt-app .imt-step-title { margin: 6px 0 8px; font-weight: 700; font-size: 15px; color: var(--imt-ink); }
.imt-app .imt-step ul { margin: 0; padding-left: 18px; }
.imt-app .imt-step li { font-size: 14.5px; line-height: 1.6; color: #3b3e47; margin: 0 0 4px; }

.imt-app .imt-kv { margin: 4px 0 14px; display: grid; gap: 0; border-top: 1px solid var(--imt-line); }
.imt-app .imt-kv > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--imt-line); }
.imt-app .imt-kv dt { font: 600 11px/1.5 var(--imt-mono); letter-spacing: .5px; text-transform: uppercase; color: var(--imt-muted); margin: 0; }
.imt-app .imt-kv dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--imt-ink); font-weight: 500; }

.imt-app .imt-careers { display: grid; gap: 10px; margin: 4px 0 14px; }
.imt-app .imt-career { padding: 14px 16px; border-radius: 16px; background: #faf8f5; border: 1px solid #efeae3; }
.imt-app .imt-career-top { display: flex; align-items: center; gap: 10px; }
.imt-app .imt-career-rank { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--imt-ink); color: #fff; font: 600 12px/28px var(--imt-mono); text-align: center; }
.imt-app .imt-career-title { flex: 1 1 auto; margin: 0; font-weight: 700; font-size: 15.5px; color: var(--imt-ink); }
.imt-app .imt-career-desc { margin: 8px 0 6px; font-size: 14px; line-height: 1.6; color: #3b3e47; }
.imt-app .imt-career-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 12.5px; color: var(--imt-muted); }
.imt-app .imt-code { font: 700 12px/1 var(--imt-mono); color: var(--imt-accent); background: color-mix(in srgb, var(--imt-accent) 10%, #fff); padding: 4px 7px; border-radius: 7px; }
.imt-app .imt-career-why { margin: 6px 0 0; font-size: 13px; color: var(--imt-muted); font-style: italic; }
.imt-app .imt-html p, .imt-app .imt-html li { font-size: 14.5px; line-height: 1.7; color: #3b3e47; }
.imt-app .imt-html a, .imt-app .imt-p a { color: var(--imt-accent); }
.imt-app .imt-cta-row { margin: 8px 0 4px; }

/* locked sections */
.imt-result-app .imt-r-sec.is-locked { min-height: 300px; }
.imt-result-app .imt-blurred { filter: blur(6px); user-select: none; pointer-events: none; opacity: .75; max-height: 230px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.imt-result-app .imt-fake-bars { display: grid; gap: 12px; margin-top: 10px; }
.imt-result-app .imt-fake-bars span { display: block; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--imt-accent) var(--v), #efeae4 var(--v)); }
.imt-result-app .imt-lock { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); width: min(420px, calc(100% - 32px)); text-align: center; padding: 22px 20px; border-radius: 22px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid #ece6ff; box-shadow: 0 24px 50px -24px rgba(91,63,214,.45); }
.imt-result-app .imt-lock-ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 16px; background: linear-gradient(135deg, var(--imt-accent), color-mix(in srgb, var(--imt-accent) 55%, var(--imt-accent2))); color: #fff; box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--imt-accent) 70%, transparent); }
.imt-result-app .imt-lock-title { margin: 12px 0 4px; font-family: var(--imt-serif); font-size: 19px; font-weight: 600; color: var(--imt-ink); }
.imt-result-app .imt-lock-text { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--imt-muted); }

.imt-result-app .imt-inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-radius: var(--imt-radius); background: linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--imt-accent) 8%, #fff) 100%); border: 1px solid color-mix(in srgb, var(--imt-accent) 18%, #fff); }
.imt-result-app .imt-inline-cta p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #3b3e47; max-width: 560px; }
.imt-result-app .imt-inline-cta-title { font-family: var(--imt-serif); font-size: 20px !important; font-weight: 600; color: var(--imt-ink) !important; margin-bottom: 4px !important; }

.imt-result-app .imt-r-side { display: none; }
@media (min-width: 1024px) { .imt-result-app .imt-r-side { display: block; position: sticky; top: 24px; } }
.imt-result-app .imt-side-card { background: #fff; border-radius: var(--imt-radius); border: 1px solid #ede8e1; padding: 22px; box-shadow: 0 30px 60px -40px rgba(17,24,39,.5); }
.imt-result-app .imt-side-kicker { margin: 0; font: 600 11px/1 var(--imt-mono); letter-spacing: 1.2px; color: var(--imt-accent); }
.imt-result-app .imt-side-price { margin: 10px 0 14px; font: 700 34px/1 var(--imt-sans); color: var(--imt-ink); }
.imt-result-app .imt-side-price span { font: 500 13px/1 var(--imt-sans); color: var(--imt-muted); margin-left: 8px; }
.imt-result-app .imt-side-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.imt-result-app .imt-side-list li { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.45; color: #3b3e47; margin: 0; }
.imt-result-app .imt-side-list .imt-ico { color: #10b981; margin-top: 2px; }
.imt-result-app .imt-side-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--imt-muted); }

/* unlock panel */
.imt-result-app .imt-unlock { position: relative; overflow: hidden; margin-top: 26px; border-radius: 30px; background: linear-gradient(155deg, var(--imt-dark) 0%, #161b36 60%, var(--imt-dark2) 100%); color: #fff; scroll-margin-top: 20px; }
.imt-result-app .imt-unlock-bg { position: absolute; inset: 0; pointer-events: none; }
.imt-result-app .imt-unlock-in { position: relative; display: grid; gap: 26px; padding: 30px 20px; }
@media (min-width: 900px) { .imt-result-app .imt-unlock-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding: 48px; gap: 40px; align-items: center; } }
.imt-result-app .imt-unlock-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 600 11px/1 var(--imt-mono); letter-spacing: 1.3px; color: #fdba74; }
.imt-result-app .imt-unlock-title { margin: 12px 0 10px; font-family: var(--imt-serif); font-weight: 500; font-size: clamp(28px, 5vw, 42px); line-height: 1.1; color: #fff; }
.imt-result-app .imt-unlock-sub { margin: 0 0 18px; color: #cfd2e3; font-size: 15.5px; line-height: 1.6; }
.imt-result-app .imt-unlock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.imt-result-app .imt-unlock-list li { display: flex; gap: 11px; font-size: 15px; line-height: 1.5; color: #e9eaf2; margin: 0; }
.imt-result-app .imt-unlock-check { display: inline-flex; width: 24px; height: 24px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: rgba(143,230,176,.16); color: #8fe6b0; }
.imt-result-app .imt-price-card { background: #fff; color: var(--imt-ink); border-radius: 24px; padding: 26px 22px; text-align: center; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.imt-result-app .imt-price-label { margin: 0; font: 600 11px/1 var(--imt-mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--imt-muted); }
.imt-result-app .imt-price { margin: 10px 0 6px; font: 700 48px/1 var(--imt-sans); letter-spacing: -1px; }
.imt-result-app .imt-price-note { margin: 0 0 18px; font-size: 13px; color: var(--imt-muted); }
.imt-result-app .imt-price-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12.5px; color: var(--imt-muted); }
.imt-result-app .imt-price-guarantee { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #3b3e47; }
.imt-result-app .imt-price-warn { margin: 10px 0 0; font-size: 13px; color: #b45309; }
.imt-result-app .imt-price-links { margin: 12px 0 0; font-size: 12px; color: var(--imt-muted); }
.imt-result-app .imt-price-links a { color: inherit; }

/* more tests */
.imt-result-app .imt-r-more { margin-top: 34px; }
.imt-result-app .imt-more-title { margin: 0 0 14px; font-family: var(--imt-serif); font-weight: 500; font-size: 26px; color: var(--imt-ink); }
.imt-result-app .imt-more-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.imt-result-app .imt-more-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid #ede8e1; text-decoration: none; color: var(--imt-ink); transition: transform .15s, box-shadow .2s; }
.imt-result-app .imt-more-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(17,24,39,.45); }
.imt-result-app .imt-more-kicker { font: 600 11px/1 var(--imt-mono); letter-spacing: .8px; text-transform: uppercase; color: var(--c, var(--imt-accent)); }
.imt-result-app .imt-more-name { font-weight: 700; font-size: 16px; padding-right: 30px; }
.imt-result-app .imt-more-go { position: absolute; right: 16px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--imt-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.imt-result-app .imt-retake { margin: 18px 0 0; text-align: center; }
.imt-result-app .imt-retake a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--imt-muted); }

/* sticky (phones) */
.imt-result-app .imt-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--imt-line); transform: translateY(110%); transition: transform .3s ease; }
.imt-result-app .imt-sticky.is-on { transform: none; }
.imt-result-app .imt-sticky-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.imt-result-app .imt-sticky-title { margin: 0; font-weight: 700; font-size: 14px; }
.imt-result-app .imt-sticky-price { margin: 2px 0 0; font-size: 12.5px; color: var(--imt-muted); }
@media (min-width: 1024px) { .imt-result-app .imt-sticky { display: none; } }
.imt-result-app .imt-notfound { max-width: 560px; margin: 40px auto; padding: 32px; text-align: center; background: #fff; border-radius: 26px; }
.imt-result-app .imt-notfound h1 { font-family: var(--imt-serif); font-weight: 500; }
.imt-result-app .mbti-footer { margin-top: 40px; }

@media print {
	.imt-result-app .im-test-brandbar, .imt-result-app .imt-r-actions, .imt-result-app .imt-r-toc, .imt-result-app .imt-sticky, .imt-result-app .imt-r-more, .imt-result-app .imt-unlock, .imt-result-app .imt-r-side { display: none !important; }
	.imt-result-app .imt-r-sec { break-inside: avoid-page; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
	.imt-app .imt-bar-fill, .imt-app .imt-minibar-fill, .imt-app .imt-emblem-heart, .imt-app .imt-emblem-wheel { animation: none !important; }
}

/* =====================================================================
   Result page in the MBTI result-page design (co-* before payment, dp-* after).
   The co-* / dp-* styles come from imt-result-base.css; these are our extra parts.
   ===================================================================== */
.imt-app.imt-co, .imt-app.imt-dp { --imt-accent: #b8862b; --imt-accent2: #b9441a; --imt-serif: 'Fraunces', Georgia, serif; background: #fbf7f0; }
.imt-app.imt-dp { background: #f8f5ee; }
.imt-app.imt-co #checkout-section { padding-bottom: 76px; }
.imt-app .co-type-big.imt-big-small { font-size: clamp(44px, 7vw, 66px); letter-spacing: .02em; word-break: break-word; }
.imt-app .co-type-big[style*="--imt-swatch"]::before { content: ''; display: block; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; background: var(--imt-swatch); box-shadow: 0 0 0 5px rgba(200,151,61,.18); }
.imt-app #checkout-section .co-report-card .imt-r-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.imt-app #checkout-section .imt-r-msg.is-ok { background: #ecfdf3; color: #14532d; }
.imt-app #checkout-section .imt-r-msg.is-bad { background: #fef2f2; color: #b91c1c; }
.imt-app #checkout-section .co-title em, .imt-app #checkout-section .co-h2 em { font-style: italic; }

/* free summary + full report section cards (ivory, MBTI look) */
.imt-app .imt-free-stack, .imt-app .imt-dp-report { display: grid; gap: 18px; text-align: left; }
.imt-app .imt-free-stack { max-width: 920px; margin: 26px auto 0; }
.imt-app .imt-rsec { background: #fffefb; border: 1px solid rgba(11,16,32,.1); border-radius: 18px; padding: 26px 22px; box-shadow: 0 30px 60px -48px rgba(11,16,32,.45); scroll-margin-top: 80px; }
@media (min-width: 760px) { .imt-app .imt-rsec { padding: 34px 40px; } }
.imt-app .imt-rsec-head { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(11,16,32,.08); flex-wrap: wrap; }
.imt-app .imt-rsec-num { font: 600 12px/1 'JetBrains Mono', monospace; letter-spacing: 1px; color: #b8862b; }
.imt-app .imt-rsec-head h2 { flex: 1 1 220px; margin: 0; font-family: 'Fraunces', Georgia, serif !important; font-weight: 500; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.15; color: #0b1020; letter-spacing: -.3px; text-transform: none; }
.imt-app .imt-rsec-tag { font: 600 10px/1 'Inter Tight', sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: #1f7a4d; background: #e8f3ec; padding: 6px 10px; border-radius: 999px; }
.imt-app .imt-rsec .imt-lead { font-family: 'Fraunces', Georgia, serif; font-size: 20px; line-height: 1.55; font-weight: 400; color: #0b1020; }
.imt-app .imt-rsec .imt-p { color: #3a3e52; }
.imt-app .imt-rsec .imt-h3 { color: #0b1020; }
.imt-app .imt-rsec .imt-bar-fill, .imt-app .co-report-card .co-bar i { background: linear-gradient(90deg, #8a651f, #c8973d); }
.imt-app .imt-rsec .imt-card, .imt-app .imt-rsec .imt-step, .imt-app .imt-rsec .imt-career { background: #fbf7f0; border-color: rgba(11,16,32,.08); }
.imt-app .imt-rsec .imt-step-num, .imt-app .imt-rsec .imt-career-rank { background: #0b1020; }
.imt-app .imt-free-actions { text-align: center; margin: 18px 0 0; }
.imt-app .imt-link-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid rgba(11,16,32,.18); border-radius: 999px; padding: 10px 18px; font: 600 14px/1 'Inter Tight', sans-serif; color: #0b1020; cursor: pointer; }

/* look-inside cards: placeholder lines instead of paid text */
.imt-app .imt-peek-lines { display: grid; gap: 9px; margin: 16px 0 6px; filter: blur(3px); opacity: .55; }
.imt-app .imt-peek-lines i { display: block; height: 9px; border-radius: 6px; background: rgba(11,16,32,.16); }
.imt-app .imt-peek-lines i:nth-child(2) { width: 88%; }
.imt-app .imt-peek-lines i:nth-child(3) { width: 94%; }
.imt-app .imt-peek-lines i:nth-child(4) { width: 62%; }
.imt-app .imt-guarantee { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: #5a6074; text-align: center; }
.imt-app .imt-price-warn { margin: 10px 0 0; font-size: 13px; color: #b45309; text-align: center; }
.imt-app #checkout-section .co-faq a { color: #8a651f; text-decoration: underline; }

/* more tests (both states) */
.imt-app .imt-more-co .imt-more-grid, .imt-app .imt-more-dp .imt-more-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 1000px; margin: 22px auto 0; text-align: left; }
.imt-app .imt-more-dp { margin: 40px 0 10px; }
.imt-app .imt-more-co .imt-more-card, .imt-app .imt-more-dp .imt-more-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: #fffefb; border: 1px solid rgba(11,16,32,.1); text-decoration: none; color: #0b1020; transition: transform .15s, box-shadow .2s; }
.imt-app .imt-more-co .imt-more-card:hover, .imt-app .imt-more-dp .imt-more-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -28px rgba(11,16,32,.45); }
.imt-app .imt-more-kicker { font: 600 10.5px/1 'Inter Tight', sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: #b8862b; }
.imt-app .imt-more-name { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 18px; padding-right: 30px; }
.imt-app .imt-more-go { position: absolute; right: 14px; bottom: 14px; width: 28px; height: 28px; border-radius: 50%; background: #0b1020; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.imt-app .imt-retake { margin: 18px 0 0; text-align: center; }
.imt-app .imt-retake a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #5a6074; }

/* checkout look: no strike-through on our own lines; last rows centred (owner's grid rule) */
.imt-app #checkout-section .co-includes-foot b { text-decoration: none; }
.imt-app #checkout-section .co-peek-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.imt-app #checkout-section .co-peek-grid .co-peek-card { flex: 0 1 calc(25% - 18px); min-width: 240px; }
@media (max-width: 760px) { .imt-app #checkout-section .co-peek-grid .co-peek-card { flex-basis: 100%; } }
.imt-app .imt-more-co .imt-more-grid, .imt-app .imt-more-dp .imt-more-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.imt-app .imt-more-co .imt-more-card, .imt-app .imt-more-dp .imt-more-card { flex: 0 1 calc(33.333% - 12px); min-width: 200px; }
@media (max-width: 640px) { .imt-app .imt-more-co .imt-more-card, .imt-app .imt-more-dp .imt-more-card { flex-basis: 100%; } }
.imt-app .imt-zone-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.imt-app .imt-zone-filter button { border: 1px solid rgba(11,16,32,.16); background: #fffefb; color: #0b1020; border-radius: 999px; padding: 8px 14px; font: 600 13px/1 'Inter Tight', sans-serif; cursor: pointer; text-transform: none; letter-spacing: 0; }
.imt-app .imt-zone-filter button.is-on { background: #0b1020; color: #fff; border-color: #0b1020; }

/* phones: report cards never wider than the screen; long buttons wrap instead of being cut */
.imt-app .imt-free-stack, .imt-app .imt-dp-report { grid-template-columns: minmax(0, 1fr); }
.imt-app .imt-rsec, .imt-app .imt-rsec .imt-r-body, .imt-app .imt-rsec-head h2 { min-width: 0; overflow-wrap: break-word; }
.imt-app .imt-rsec .imt-btn, .imt-app .imt-rsec .imt-cta-row .imt-btn { white-space: normal; text-align: center; max-width: 100%; }
.imt-app #checkout-section .co-cta { white-space: normal; text-align: center; line-height: 1.3; }
.imt-app.imt-dp .dp-section-head { flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 480px) {
	.imt-app .imt-rsec { padding: 22px 16px; border-radius: 16px; }
	.imt-app .imt-rsec .imt-lead { font-size: 18px; }
	.imt-app .imt-minibar { grid-template-columns: 96px 1fr 28px; }
	.imt-app .imt-kv > div { grid-template-columns: 1fr; gap: 4px; }
}

/* the copied MBTI styles colour every link; keep our buttons readable */
.imt-app #checkout-section a.imt-btn-dark, .imt-app.imt-dp a.imt-btn-dark, .imt-app #checkout-section a.imt-btn-accent, .imt-app.imt-dp a.imt-btn-accent { color: #fff !important; text-decoration: none; }
.imt-app #checkout-section a.imt-btn-light, .imt-app.imt-dp a.imt-btn-light { color: #121212 !important; text-decoration: none; }
.imt-app #checkout-section .imt-btn-arrow, .imt-app.imt-dp .imt-btn-arrow { color: #121212 !important; }

/* sticky unlock bar: shows after the hero, hides at the offer */
.imt-app.imt-co #checkout-section .co-sticky-bar { transform: translateY(110%); transition: transform .3s ease; }
.imt-app.imt-co #checkout-section .co-sticky-bar.imt-on { transform: none; }

/* paid state */
.imt-app.imt-dp .imt-dp-report { margin: 46px 0 0; }
.imt-app.imt-dp .imt-dp-report .dp-section-head { margin-bottom: 4px; }
.imt-app.imt-dp .dp-typeblock .code.imt-code-small { font-size: 22px; }
.imt-app.imt-dp .imt-banner { max-width: 920px; margin: 16px auto 0; }
.imt-app.imt-dp #imt-msg { margin: 14px 0 0; padding: 11px 14px; border-radius: 12px; font-size: 14px; }
.imt-app.imt-dp #imt-msg.is-ok { background: #ecfdf3; color: #14532d; }
.imt-app.imt-dp #imt-msg.is-bad { background: #fef2f2; color: #b91c1c; }
.imt-app.imt-dp a.dp-btn { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.imt-app .co-footer a { color: inherit; }

/* Test and result pages end at our footer, like the MBTI test page. The theme adds 100 px under the content on
   normal pages, which showed as an empty strip below the footer (owner, 7 Nov). */
body.imt-page #pxl-main, body.im-test-page #pxl-main { padding-top: 0; padding-bottom: 0; min-height: 0; }
/* phones: the app's 10 px padding showed as a thin strip under the dark footer (1.0.4) */
.imt-app.imt-test-app { padding-bottom: 0; }

/* ------------------------------------------------------------------------------------------------
   Country flag + dial-code picker on the form (1.0.5), ported from the Jeevi IQ plugin's jiq-dialpick.
   A custom listbox, because Chrome and Edge can't draw flag emoji inside a <select>. */
.imt-app .modal-field-phone { overflow: visible !important; z-index: 3; }
.imt-app .modal-phone-wrap::after { left: 86px !important; }
.imt-app .imt-dialpick { position: relative !important; flex: 0 0 84px !important; width: 84px !important; min-width: 84px !important; max-width: 84px !important; margin-right: 12px !important; display: block !important; }
.imt-app .imt-dialpick .imt-dialpick-btn { display: flex !important; align-items: center !important; gap: 6px !important; width: 100% !important; min-height: 28px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; cursor: pointer !important; font: inherit !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important; color: #0F0A06 !important; text-transform: none !important; letter-spacing: normal !important; -webkit-appearance: none !important; appearance: none !important; }
.imt-app .imt-dialpick .imt-dialpick-btn:hover, .imt-app .imt-dialpick .imt-dialpick-btn:focus { background: transparent !important; box-shadow: none !important; }
.imt-app .imt-dialpick .imt-dialpick-btn:focus-visible { outline: 2px solid #EA580C !important; outline-offset: 2px !important; }
.imt-app .imt-dialpick .imt-dialpick-code { white-space: nowrap !important; }
body .imt-dialpick-flag { width: 20px !important; height: 15px !important; flex: 0 0 20px !important; object-fit: contain !important; display: block !important; border-radius: 2px !important; background: #F3F7FC; margin: 0 !important; max-width: none !important; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.imt-app .imt-dialpick .imt-dialpick-caret { width: 0 !important; height: 0 !important; margin-left: auto !important; border-left: 5px solid transparent !important; border-right: 5px solid transparent !important; border-top: 6px solid #EA580C !important; flex: 0 0 auto !important; transition: transform .15s ease !important; }
.imt-app .imt-dialpick.is-open .imt-dialpick-caret { transform: rotate(180deg) !important; }
.imt-dialpick-pop { position: fixed !important; z-index: 100000 !important; width: 290px; max-width: calc(100vw - 24px) !important; background: #FFFFFF !important; border: 1px solid #FED7AA !important; border-radius: 12px !important; box-shadow: 0 16px 44px rgba(17, 24, 39, .22) !important; padding: 8px !important; overflow: hidden !important; text-align: left !important; font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; box-sizing: border-box !important; }
body .imt-dialpick-pop[hidden] { display: none !important; }
body .imt-dialpick-search { display: block !important; width: 100% !important; box-sizing: border-box !important; margin: 0 0 8px 0 !important; padding: 8px 10px !important; border: 1px solid #FED7AA !important; border-radius: 8px !important; background: #FFF !important; font-size: 16px !important; line-height: 1.3 !important; color: #1F2937 !important; box-shadow: none !important; min-height: 0 !important; height: auto !important; }
body .imt-dialpick-search:focus { outline: none !important; border-color: #EA580C !important; }
body .imt-dialpick-list { display: flex !important; flex-direction: column !important; list-style: none !important; margin: 0 !important; padding: 0 !important; max-height: 246px; overflow-y: auto !important; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
body .imt-dialpick-opt { display: flex !important; align-items: center !important; gap: 9px !important; margin: 0 !important; padding: 8px 9px !important; border-radius: 7px !important; cursor: pointer !important; font-size: 14px !important; line-height: 1.25 !important; color: #1F2937 !important; list-style: none !important; }
body .imt-dialpick-opt::marker, body .imt-dialpick-opt::before { content: none !important; }
body .imt-dialpick-name { flex: 1 1 auto !important; min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
body .imt-dialpick-dial { flex: 0 0 auto !important; color: #6B7280 !important; font-variant-numeric: tabular-nums !important; }
body .imt-dialpick-opt.is-active, body .imt-dialpick-opt:hover { background: #FFF3EA !important; }
body .imt-dialpick-opt.is-selected { background: #FFE9D9 !important; font-weight: 600 !important; }
body .imt-dialpick-opt[hidden] { display: none !important; }
body .imt-dialpick-empty { margin: 0 !important; padding: 12px 9px !important; font-size: 13px !important; color: #6B7280 !important; text-align: center !important; }
@media (max-width: 420px) {
	.imt-app .imt-dialpick { flex-basis: 80px !important; width: 80px !important; min-width: 80px !important; max-width: 80px !important; margin-right: 10px !important; }
	.imt-app .modal-phone-wrap::after { left: 82px !important; }
	.imt-app .imt-dialpick .imt-dialpick-btn { font-size: 14px !important; }
}

/* ------------------------------------------------------------------------------------------------
   Questions with their own answer options (A, B, C…), 1.0.5: the answer tiles of the Jeevi IQ plugin
   (white tile, warm ring and check when chosen). Keys 1–9 pick an answer, like the scale questions. */
.imt-app .imt-choice-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; max-width: 560px; margin: 18px auto 8px; }
.imt-app .imt-choice { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 13px 44px 13px 14px !important; margin: 0 !important; border: 1px solid #F0E6DA !important; border-radius: 16px !important; background: #fff !important; box-shadow: 0 1px 2px rgba(31, 41, 55, .05), 0 6px 14px -10px rgba(31, 41, 55, .16) !important; color: #1F2937 !important; font: 600 14.5px/1.35 var(--imt-sans, 'Poppins', sans-serif) !important; text-align: left; text-transform: none !important; letter-spacing: normal !important; cursor: pointer; -webkit-appearance: none; appearance: none; transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.imt-app .imt-choice-letter { flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: #FFF7ED; border: 1px solid rgba(194, 65, 12, .14); color: #C2410C; font: 700 12px/1 var(--imt-sans, 'Poppins', sans-serif); transition: color .25s ease, background .25s ease, border-color .25s ease; }
.imt-app .imt-choice-copy { flex: 1 1 auto; min-width: 0; white-space: normal; }
.imt-app .imt-choice-check { position: absolute; top: 50%; right: 14px; width: 20px; height: 20px; margin-top: -10px; display: grid; place-items: center; border-radius: 50%; background: #F97316; opacity: 0; transform: scale(.6); transition: opacity .25s ease, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) and (pointer: fine) {
	.imt-app .imt-choice:hover { transform: translateY(-2px); border-color: #FDBA74 !important; background: #FFFDFB !important; box-shadow: 0 2px 4px rgba(31, 41, 55, .06), 0 14px 26px -14px rgba(194, 65, 12, .4) !important; }
	.imt-app .imt-choice:hover .imt-choice-letter { background: #FFEDD5; border-color: rgba(194, 65, 12, .26); }
}
.imt-app .imt-choice:active { transform: scale(.97); }
.imt-app .imt-choice:focus-visible { outline: none; border-color: #FB923C !important; box-shadow: 0 0 0 3px rgba(249, 115, 22, .28), 0 6px 14px -10px rgba(31, 41, 55, .2) !important; }
.imt-app .imt-choice.selected { transform: translateY(-2px); background: #FFF9F2 !important; border-color: #F97316 !important; box-shadow: 0 0 0 2px #F97316, 0 14px 30px -14px rgba(194, 65, 12, .55) !important; color: #9A3412 !important; }
.imt-app .imt-choice.selected .imt-choice-letter { background: #F97316; border-color: #EA580C; color: #fff; }
.imt-app .imt-choice.selected .imt-choice-check { opacity: 1; transform: scale(1); }
@media (max-width: 420px) { .imt-app .imt-choice { min-height: 50px; padding: 11px 40px 11px 12px !important; font-size: 14px !important; } }
@media (prefers-reduced-motion: reduce) { .imt-app .imt-choice, .imt-app .imt-choice-check { transition: none; } .imt-app .imt-choice.selected, .imt-app .imt-choice:hover { transform: none; } }

/* ------------------------------------------------------------------------------------------------
   "quadrant" result block (1.1): two-axis map with four zones and the person's dot. */
.imt-app .imt-quad { text-align: center; margin: 0 0 12px; }
.imt-app .imt-quad-svg { max-width: 100%; height: auto; }
.imt-app .imt-quad-zone { font: 600 12px var(--imt-sans, 'Poppins', sans-serif); fill: #6b7080; }
.imt-app .imt-quad-zone.is-you { fill: #111827; font-weight: 800; }
.imt-app .imt-quad-axis { font: 500 10.5px var(--imt-sans, 'Poppins', sans-serif); fill: #8b8f9c; }
.imt-app .imt-quad-you { font: 700 10px var(--imt-mono, monospace); fill: #111827; letter-spacing: 1px; }
.imt-app .imt-quad-cap { margin: 6px auto 0; max-width: 420px; font-size: 13px; color: var(--imt-muted, #6b7280); }

/* Adaptive tie-break questions (1.1): a small label on the first one. */
.imt-app .imt-tb-note { display: table; margin: 0 auto 10px; padding: 4px 12px; border-radius: 99px; background: #FFF7ED; border: 1px solid #FED7AA; color: #C2410C; font: 600 11.5px/1.3 var(--imt-sans, 'Poppins', sans-serif); letter-spacing: .3px; }

/* 1.1.1: test and result pages run full width; the theme's centred box left wide empty sides on big screens (owner, 9 Nov). */
body.im-test-page #pxl-main .container, body.imt-page #pxl-main .container { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.im-test-page #pxl-main .pxl-content-wrap, body.imt-page #pxl-main .pxl-content-wrap { margin-left: 0 !important; margin-right: 0 !important; }
body.im-test-page #pxl-content-area, body.imt-page #pxl-content-area { padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; flex: 0 0 100% !important; width: 100% !important; }

/* 1.1.2: the delivery page (paid view) footer had no styles (they were scoped to the checkout view): giant logo. */
.imt-app.imt-dp .co-footer { padding: 30px 28px; text-align: center; background: #0B1020; color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 1.6; margin-top: 40px; }
.imt-app.imt-dp .co-footer p { margin: 0; color: rgba(255, 255, 255, .6); }
.imt-app.imt-dp .co-footer a { color: rgba(255, 255, 255, .8); text-decoration: underline; }
.imt-app.imt-dp .co-footer .co-logo-img { max-height: 32px; width: auto; max-width: 220px; margin: 0 auto 10px; display: block; }
@media (max-width: 640px) { .imt-app.imt-dp .co-footer { padding: 22px 18px; font-size: 11.5px; } .imt-app.imt-dp .co-footer .co-logo-img { max-height: 26px; } }
/* 1.1.2: long result names (e.g. "Steady Commitment") shrink to fit; words are never split mid-word. */
.imt-app #checkout-section .co-type-big.imt-big-small, .imt-app .co-type-big.imt-big-small { font-size: clamp(30px, 4.2vw, 54px) !important; line-height: 1.05; word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important; }

/* 1.1.3: launch offer on the result page (MBTI look, real data only). */
.imt-app #checkout-section .imt-live-pop[hidden] { display: none !important; }
.imt-app #checkout-section .imt-live-pop .co-pop-av { font-size: 16px; }
.imt-app #checkout-section .imt-offer-ends { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #b45309; }
.imt-app #checkout-section .co-cta-anchor .save { color: #15803d; font-weight: 600; }
.imt-app #checkout-section .co-top-strip .imt-cd, .imt-app #checkout-section .imt-offer-ends .imt-cd { font-variant-numeric: tabular-nums; font-weight: 700; }

.imt-app #checkout-section .imt-cd { white-space: nowrap; }
.imt-app #checkout-section .co-live-pop.imt-live-pop { bottom: 100px !important; }
@media (max-width: 600px) { .imt-app #checkout-section .co-sticky-info .imt-sm-hide { display: none; } }

/* 1.1.4: launch offer ended note */
.imt-app #checkout-section .imt-offer-over { color: #6b7280; font-weight: 500; }

/* 1.1.5: the question card is as tall as the question on screen, like /personality-test/.
   All cards share one grid cell, so the cell used to take the height of the test's longest
   question (often the last "pick one" list) and left an empty block under the answers.
   Only the card in focus now sizes the cell; the others sit on top of it while they fade. */
.imt-app #questions-section.qv3-mode .questions-list { position: relative; }
.imt-app #questions-section.qv3-mode .questions-list > .question-card.qv3-card:not(.in-focus) { position: absolute; top: 0; left: 0; right: 0; }

/* 1.2.0 extra downloads: free guide card, real sample pages, downloads grid (only on tests with test.json "extras"). */
.imt-app .imt-xguide { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 18px 0 4px; padding: 18px 20px; border: 1px solid rgba(20, 17, 43, .12); border-radius: 18px; background: #fff; }
.imt-app .imt-xguide > div { display: grid; gap: 4px; min-width: 0; flex: 1 1 260px; }
.imt-app .imt-xguide-k { font: 600 11px/1 var(--imt-mono, 'Azeret Mono', monospace); letter-spacing: .1em; text-transform: uppercase; color: #6B6880; }
.imt-app .imt-xguide b { font-size: 17px; color: #14112B; }
.imt-app .imt-xguide span:last-child { font-size: 14px; color: #55526A; line-height: 1.45; }
.imt-app .imt-xguide-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #14112B; color: #fff !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.imt-app .imt-samples-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.imt-app .imt-sample { margin: 0; }
.imt-app .imt-sample img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(20, 17, 43, .14); background: #fff; }
.imt-app .imt-sample figcaption { margin-top: 8px; font-size: 13px; color: #55526A; text-align: center; }
@media (max-width: 860px) { .imt-app .imt-samples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.imt-app .imt-x-head { margin-top: 28px; }
