/*! BrainLens Mind Tools v1.1.0 — scoped styles (.blt) */
.blt {
	--blt-a1: #6d5dfc;
	--blt-a2: #b45cf6;
	--blt-rgb: 109, 93, 252;
	--blt-ink: #17163a;
	--blt-muted: #62617f;
	--blt-line: #e7e6f3;
	--blt-card: #ffffff;
	--blt-soft: #f6f5ff;
	--blt-radius: 24px;
	position: relative;
	max-width: 860px;
	margin: 32px auto;
	padding: clamp(20px, 4vw, 44px);
	border-radius: var(--blt-radius);
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(var(--blt-rgb), .13) 0%, transparent 55%),
		radial-gradient(90% 70% at 0% 100%, rgba(var(--blt-rgb), .08) 0%, transparent 60%),
		var(--blt-card);
	border: 1px solid rgba(var(--blt-rgb), .16);
	box-shadow: 0 1px 2px rgba(23, 22, 58, .04), 0 24px 60px -24px rgba(var(--blt-rgb), .35);
	color: var(--blt-ink);
	font-size: 16px;
	line-height: 1.6;
	overflow: hidden;
	text-align: left;
	isolation: isolate;
	-webkit-font-smoothing: antialiased;
}
.blt *, .blt *::before, .blt *::after { box-sizing: border-box; }
.blt svg { display: inline-block; vertical-align: middle; }
.blt p, .blt ul, .blt ol { margin: 0; padding: 0; }
.blt ul { list-style: none; }

/* Reset theme button styles inside the tool */
.blt.blt button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}
.blt.blt button:focus-visible { outline: 3px solid rgba(var(--blt-rgb), .45); outline-offset: 3px; }

.blt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Transitions ---------- */
.blt-enter { opacity: 0; transform: translateY(14px); }
.blt-enter-active { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }

/* ---------- Common ---------- */
.blt .blt-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--blt-a1);
	background: rgba(var(--blt-rgb), .10);
	padding: 6px 12px; border-radius: 999px;
}
.blt .blt-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(var(--blt-rgb), .18); }

.blt.blt .blt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 14px;
	font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.blt .blt-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.blt.blt .blt-btn-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--blt-a1), var(--blt-a2));
	box-shadow: 0 10px 24px -10px rgba(var(--blt-rgb), .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.blt.blt .blt-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(var(--blt-rgb), .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.blt.blt .blt-btn-primary:hover svg { transform: translateX(3px); }
.blt.blt .blt-btn-ghost { color: var(--blt-ink); background: #fff; border: 1.5px solid var(--blt-line); }
.blt.blt .blt-btn-ghost:hover { border-color: rgba(var(--blt-rgb), .5); color: var(--blt-a1); }

/* ---------- Intro ---------- */
.blt-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.blt .blt-title {
	margin: 18px 0 12px; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.02em;
	color: var(--blt-ink);
}
.blt .blt-lead { font-size: 17px; color: var(--blt-muted); margin-bottom: 22px; }
.blt .blt-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.blt .blt-meta li {
	display: inline-flex; align-items: center; gap: 7px; margin: 0;
	font-size: 14px; font-weight: 600; color: var(--blt-ink);
	background: #fff; border: 1px solid var(--blt-line); padding: 7px 12px; border-radius: 10px;
}
.blt .blt-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--blt-a1); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.blt .blt-fine { margin-top: 14px; font-size: 13px; color: var(--blt-muted); }

.blt-intro-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.blt-intro-art svg { width: 100%; max-width: 250px; height: auto; overflow: visible; }
.blt-measures { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 300px; }
.blt-measures small { width: 100%; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blt-muted); }
.blt-measures span { font-size: 12.5px; font-weight: 600; color: var(--blt-a1); background: rgba(var(--blt-rgb), .08); padding: 4px 10px; border-radius: 999px; }

.blt .blt-spin { transform-origin: 100px 100px; animation: blt-spin 28s linear infinite; }
.blt .blt-draw { stroke-dasharray: 420; stroke-dashoffset: 420; animation: blt-draw 2.6s cubic-bezier(.6, .1, .2, 1) .2s forwards, blt-breathe 5s ease-in-out 2.8s infinite; }
.blt .blt-orbit { transform-origin: 100px 100px; animation: blt-spin 9s linear infinite; }
.blt .blt-orbit-2 { animation-duration: 14s; animation-direction: reverse; }
.blt .blt-bob { animation: blt-bob 1.6s ease-in-out infinite; transform-origin: 166px 104px; }
@keyframes blt-spin { to { transform: rotate(360deg); } }
@keyframes blt-draw { to { stroke-dashoffset: 0; } }
@keyframes blt-breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes blt-bob { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }

/* ---------- Question ---------- */
.blt-question-view { max-width: 640px; margin: 0 auto; }
.blt-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; min-height: 32px; }
.blt.blt .blt-link {
	display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blt-muted);
	padding: 6px 10px 6px 4px; border-radius: 8px; transition: color .2s ease;
}
.blt.blt .blt-link:hover { color: var(--blt-a1); }
.blt .blt-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.blt .blt-count { font-size: 14px; color: var(--blt-muted); font-variant-numeric: tabular-nums; }
.blt .blt-count b { color: var(--blt-ink); font-size: 16px; }
.blt-progress { height: 8px; background: rgba(var(--blt-rgb), .12); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.blt-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blt-a1), var(--blt-a2)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.blt .blt-chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--blt-a1); border: 1px solid rgba(var(--blt-rgb), .3); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.blt .blt-timeframe { font-size: 14px; color: var(--blt-muted); margin-bottom: 6px; }
.blt .blt-question { font-size: clamp(20px, 2.8vw, 25px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 24px; color: var(--blt-ink); }
.blt-options { display: grid; gap: 10px; }
.blt.blt .blt-opt {
	display: flex; align-items: center; gap: 14px; width: 100%;
	padding: 14px 16px; border-radius: 14px;
	background: #fff; border: 1.5px solid var(--blt-line);
	font-size: 16px; font-weight: 600; color: var(--blt-ink);
	transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.blt.blt .blt-opt:hover { border-color: rgba(var(--blt-rgb), .55); transform: translateX(3px); box-shadow: 0 8px 20px -14px rgba(var(--blt-rgb), .7); }
.blt.blt .blt-opt.is-selected { border-color: var(--blt-a1); background: rgba(var(--blt-rgb), .07); box-shadow: 0 0 0 3px rgba(var(--blt-rgb), .15); }
.blt .blt-key {
	flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
	font-size: 13px; font-weight: 800; color: var(--blt-a1); background: rgba(var(--blt-rgb), .09);
	transition: background .18s ease, color .18s ease;
}
.blt .blt-opt.is-selected .blt-key { background: linear-gradient(135deg, var(--blt-a1), var(--blt-a2)); color: #fff; }
.blt .blt-opt-label { flex: 1; }
.blt .blt-opt-meter { display: inline-flex; gap: 3px; }
.blt .blt-opt-meter i { display: block; width: 14px; height: 6px; border-radius: 3px; background: var(--blt-line); }
.blt .blt-opt-meter i.on { background: rgba(var(--blt-rgb), .55); }
.blt .blt-opt.is-selected .blt-opt-meter i.on { background: var(--blt-a1); }
.blt .blt-hint { margin-top: 16px; font-size: 13px; color: var(--blt-muted); text-align: center; }
.blt kbd { font: inherit; font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 5px; border: 1px solid var(--blt-line); border-bottom-width: 2px; background: #fff; color: var(--blt-ink); }

/* ---------- Loading ---------- */
.blt-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 320px; text-align: center; }
.blt-loading p { font-weight: 700; font-size: 18px; color: var(--blt-ink); }
.blt-loader { position: relative; width: 84px; height: 84px; }
.blt-loader span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--blt-a1); animation: blt-spin 1.1s cubic-bezier(.5, .1, .5, .9) infinite; }
.blt-loader span:nth-child(2) { inset: 12px; border-top-color: var(--blt-a2); animation-duration: 1.5s; animation-direction: reverse; }
.blt-loader span:nth-child(3) { inset: 26px; background: rgba(var(--blt-rgb), .15); border: 0; animation: blt-bob 1.2s ease-in-out infinite; }

/* ---------- Result ---------- */
.blt-res-head { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; margin-bottom: 26px; }
.blt-gauge { position: relative; width: 190px; height: 190px; }
.blt-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.blt-g-bg { fill: none; stroke: rgba(var(--blt-rgb), .1); stroke-width: 11; }
.blt-g-fg { fill: none; stroke: var(--lvl); stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.3, .8, .2, 1); }
.blt-g-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.blt-g-num strong { font-size: 54px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blt-ink); font-variant-numeric: tabular-nums; }
.blt-g-num span { font-size: 22px; font-weight: 700; color: var(--blt-muted); margin: 0 0 18px 2px; align-self: center; }
.blt .blt-level { font-size: clamp(26px, 3.8vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--lvl); margin: 12px 0 8px; outline: none; }
.blt .blt-res-intro p { color: var(--blt-muted); font-size: 16px; }

.blt-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 30px; }
.blt-scale-seg { display: flex; flex-direction: column; gap: 6px; opacity: .55; transition: opacity .3s ease; }
.blt-scale-seg i { display: block; height: 8px; border-radius: 999px; background: var(--seg); }
.blt-scale-seg span { font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--blt-ink); }
.blt-scale-seg small { font-size: 12px; color: var(--blt-muted); }
.blt-scale-seg.is-current { opacity: 1; }
.blt-scale-seg.is-current i { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--seg); }

.blt-section { margin-top: 26px; padding-top: 26px; border-top: 1px dashed var(--blt-line); }
.blt .blt-h { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--blt-ink); margin-bottom: 16px; }
.blt .blt-h svg { width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: rgba(var(--blt-rgb), .1); fill: none; stroke: var(--blt-a1); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; box-sizing: content-box; }

.blt-bars { display: grid; gap: 14px; }
.blt-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.blt-bar-head b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.blt .blt-band { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; margin-left: 6px; }
.blt .blt-band-low { color: #15803d; background: #dcfce7; }
.blt .blt-band-moderate { color: #a16207; background: #fef3c7; }
.blt .blt-band-high { color: #be123c; background: #ffe4e6; }
.blt-bar-track { height: 10px; border-radius: 999px; background: rgba(var(--blt-rgb), .1); overflow: hidden; }
.blt-bar-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blt-a1), var(--blt-a2)); transition: width 1.2s cubic-bezier(.3, .8, .2, 1) .25s; }

.blt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.blt-card { background: #fff; border: 1px solid var(--blt-line); border-radius: 16px; padding: 18px; box-shadow: 0 10px 24px -20px rgba(var(--blt-rgb), .8); }
.blt-card-head { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 8px; }
.blt-card-head svg { width: 18px; height: 18px; fill: none; stroke: var(--blt-a1); stroke-width: 2.2; }
.blt-card-head span { flex: 1; }
.blt-card-head b { color: var(--blt-a1); font-variant-numeric: tabular-nums; }
.blt .blt-card p { font-size: 15px; color: var(--blt-muted); }

.blt .blt-tips { counter-reset: blt; display: grid; gap: 10px; list-style: none; }
.blt .blt-tips li { counter-increment: blt; position: relative; margin: 0; padding: 12px 14px 12px 52px; background: var(--blt-soft); background: rgba(var(--blt-rgb), .05); border-radius: 12px; font-size: 15.5px; }
.blt .blt-tips li::before {
	content: counter(blt); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 8px;
	display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, var(--blt-a1), var(--blt-a2));
}

.blt-alert { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: #fff1f2; border: 1px solid #fecdd3; color: #881337; }
.blt-alert svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.blt .blt-alert p { font-size: 15px; font-weight: 600; }

.blt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.blt .blt-disclaimer { margin-top: 18px; font-size: 13px; color: var(--blt-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
	.blt { margin: 20px auto; border-radius: 20px; }
	.blt-intro { grid-template-columns: 1fr; gap: 8px; }
	.blt-intro-art { order: -1; flex-direction: row; justify-content: center; }
	.blt-intro-art svg { max-width: 120px; }
	.blt-measures { display: none; }
	.blt.blt .blt-btn { width: 100%; }
	.blt-res-head { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; }
	.blt-gauge { width: 168px; height: 168px; }
	.blt-scale { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
	.blt .blt-opt-meter { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.blt *, .blt *::before, .blt *::after { animation: none !important; transition: none !important; }
	.blt .blt-draw { stroke-dashoffset: 0; }
}

/* ---------- SEO article + FAQ (v1.1.0) ---------- */
.blt-article {
	--blt-line: rgba(127, 127, 160, .25);
	max-width: 860px;
	margin: 40px auto;
	font-size: 17px;
	line-height: 1.75;
}
.blt-article > * + * { margin-top: 1em; }
.blt-article h2 { margin: 2.2em 0 .6em; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; scroll-margin-top: 90px; }
.blt-article h3 { scroll-margin-top: 90px; }
.blt-article ul, .blt-article ol { padding-left: 1.4em; margin-bottom: 1em; }
.blt-article li { margin: .4em 0; }
.blt-article li::marker { color: var(--blt-a1); font-weight: 700; }
.blt-article a { color: var(--blt-a1); }

.blt-takeaways {
	padding: 22px 26px; border-radius: 18px;
	background: rgba(var(--blt-rgb), .07);
	border: 1px solid rgba(var(--blt-rgb), .22);
	border-left: 5px solid var(--blt-a1);
}
.blt-takeaways ul { margin: 0; }
.blt-takeaways-title, .blt-toc-title {
	margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blt-a1);
}

.blt-toc { padding: 18px 24px; border-radius: 16px; border: 1px solid var(--blt-line); }
.blt-toc ol { margin: 0; columns: 2; column-gap: 32px; }
.blt-toc li { break-inside: avoid; margin: .25em 0; font-size: 15.5px; }
.blt-toc a { text-decoration: none; }
.blt-toc a:hover { text-decoration: underline; }

.blt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid var(--blt-line); margin: 1.2em 0; }
.blt-article table { width: 100%; min-width: 480px; border-collapse: collapse; margin: 0; font-size: 15.5px; line-height: 1.5; border: 0; }
.blt-article th, .blt-article td { padding: 12px 14px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--blt-line); }
.blt-article thead th { background: rgba(var(--blt-rgb), .09); font-weight: 800; }
.blt-article tbody tr:last-child td, .blt-article tbody tr:last-child th { border-bottom: 0; }
.blt-article tbody th { font-weight: 700; }
.blt-article td:first-child { white-space: nowrap; }

.blt-note { font-size: 14.5px; opacity: .8; }

.blt-faq { margin-top: 2.6em; }
.blt-faq-item { border: 1px solid var(--blt-line); border-radius: 14px; margin: 10px 0; transition: border-color .2s ease, box-shadow .2s ease; }
.blt-faq-item[open] { border-color: rgba(var(--blt-rgb), .45); box-shadow: 0 10px 26px -20px rgba(var(--blt-rgb), .9); }
.blt-faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; }
.blt-faq-item summary::-webkit-details-marker { display: none; }
.blt-faq-item summary::after {
	content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2.5px solid var(--blt-a1); border-bottom: 2.5px solid var(--blt-a1);
	transform: rotate(45deg); transition: transform .25s ease;
}
.blt-faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.blt-faq-item summary:focus-visible { outline: 3px solid rgba(var(--blt-rgb), .45); outline-offset: 2px; border-radius: 14px; }
.blt-faq-item summary h3 { display: inline; margin: 0; font-size: 17px; line-height: 1.45; font-weight: 700; }
.blt-faq-a { padding: 0 20px 18px; }
.blt-faq-a p { margin: 0; }

@media (max-width: 760px) {
	.blt-article { font-size: 16px; margin: 28px auto; }
	.blt-toc ol { columns: 1; }
	.blt-takeaways { padding: 18px 18px; }
}
