/* ==========================================================================
   LLC Beige Flag Calculator — v1.1
   Brand: #0F172A (brand + text) · #7C3AED (alternate brand)
   Built for a light background. All tokens scoped to .txt-app.
   ========================================================================== */

.txt-app {
	/* body copy inherits the Astra theme font so it never fights the site */
	--txt-font: inherit;
	--txt-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, sans-serif;

	--txt-ink: #0f172a;
	--txt-ink-soft: #1e293b;

	--txt-violet: #7c3aed;
	--txt-violet-d: #6d28d9;
	--txt-violet-l: #a78bfa;
	--txt-violet-soft: #f5f3ff;
	--txt-violet-line: #ddd6fe;

	--txt-surface: #ffffff;
	--txt-surface-2: #f8fafc;
	--txt-border: #e2e8f0;
	--txt-muted: #475569;
	--txt-dim: #94a3b8;


	--txt-warn: #e11d48;
	--txt-good: #10b981;

	--txt-r: 14px;
}

.txt-app,
.txt-app *,
.txt-app *::before,
.txt-app *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.txt-app {
	max-width: 620px;
	margin: 32px auto;
	font-family: var(--txt-font);
	color: var(--txt-ink);
	background: var(--txt-surface);
	border: 1px solid var(--txt-border);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px rgba(15, 23, 42, .07);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

/* Font inherits, but do NOT force color here — it would override the
   button styles below on specificity and blank out their labels. */
.txt-app button,
.txt-app input {
	font-family: inherit;
}

.txt-app input[type="text"] { color: var(--txt-ink); }

.txt-app :focus-visible {
	outline: 2px solid var(--txt-violet);
	outline-offset: 2px;
	border-radius: 6px;
}

/* ============ HEADER ============ */

.txt-header {
	padding: 34px 26px 24px;
	text-align: center;
	background: linear-gradient(180deg, var(--txt-violet-soft) 0%, var(--txt-surface) 100%);
	border-bottom: 1px solid var(--txt-border);
}




.txt-title {
	font-family: var(--txt-display);
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.12;
	margin-bottom: 8px;
	color: var(--txt-ink);
}

.txt-sub {
	font-size: 15px;
	color: var(--txt-muted);
	max-width: 40ch;
	margin: 0 auto;
}

/* ============ QUIZ BODY ============ */

.txt-body,
.txt-results {
	padding: 22px 26px 28px;
}

.txt-setup {
	display: grid;
	gap: 16px;
	margin-bottom: 8px;
}

.txt-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--txt-ink);
	margin-bottom: 8px;
}

.txt-input {
	width: 100%;
	padding: 12px 15px;
	font-size: 15px;
	background: var(--txt-surface-2);
	border: 1.5px solid var(--txt-border);
	border-radius: 10px;
	transition: border-color .18s, background .18s;
}

.txt-input::placeholder { color: var(--txt-dim); }

.txt-input:focus {
	border-color: var(--txt-violet);
	background: var(--txt-surface);
	outline: none;
}

.txt-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.txt-mode { cursor: pointer; }
.txt-mode input { position: absolute; opacity: 0; width: 0; height: 0; }

.txt-mode span {
	display: inline-block;
	padding: 7px 15px;
	border-radius: 50px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--txt-muted);
	background: var(--txt-surface-2);
	border: 1.5px solid var(--txt-border);
	transition: all .18s;
}

.txt-mode:hover span { border-color: var(--txt-violet-l); color: var(--txt-ink); }

.txt-mode input:checked + span {
	border-color: var(--txt-violet);
	background: var(--txt-violet-soft);
	color: var(--txt-violet-d);
}

.txt-mode input:focus-visible + span {
	outline: 2px solid var(--txt-violet);
	outline-offset: 2px;
}

/* ============ PROGRESS ============ */

.txt-progress-wrap {
	position: sticky;
	top: 0;
	z-index: 3;
	padding: 14px 0 14px;
	margin-bottom: 4px;
	background: linear-gradient(180deg, var(--txt-surface) 74%, rgba(255, 255, 255, 0) 100%);
}

.txt-progress-meta {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--txt-dim);
	margin-bottom: 7px;
}

.txt-progress-track {
	height: 6px;
	background: var(--txt-border);
	border-radius: 3px;
	overflow: hidden;
}

.txt-progress-fill {
	height: 100%;
	width: 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--txt-violet), var(--txt-violet-l));
	transition: width .35s cubic-bezier(.4, 0, .2, 1);
}

/* ============ QUESTIONS ============ */

.txt-questions { display: grid; gap: 10px; }

.txt-q {
	background: var(--txt-surface);
	border: 1.5px solid var(--txt-border);
	border-radius: var(--txt-r);
	padding: 17px 18px 15px;
	transition: border-color .2s, background .2s;
}

.txt-q.is-done {
	border-color: var(--txt-violet-line);
	background: var(--txt-violet-soft);
}

.txt-q-num {
	font-size: 12px;
	font-weight: 600;
	color: var(--txt-dim);
	margin-bottom: 5px;
}

.txt-q-text {
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--txt-ink);
	margin-bottom: 13px;
}

.txt-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.txt-opt { cursor: pointer; flex: 1 1 auto; }
.txt-opt input { position: absolute; opacity: 0; width: 0; height: 0; }

.txt-opt span {
	display: block;
	text-align: center;
	padding: 9px 12px;
	border-radius: 9px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--txt-muted);
	background: var(--txt-surface);
	border: 1.5px solid var(--txt-border);
	transition: all .16s;
	white-space: nowrap;
}

.txt-opt:hover span { border-color: var(--txt-violet-l); color: var(--txt-ink); }

.txt-opt input:checked + span {
	border-color: var(--txt-violet);
	background: var(--txt-violet);
	color: #fff;
}

.txt-opt input:focus-visible + span {
	outline: 2px solid var(--txt-violet);
	outline-offset: 2px;
}

/* ============ CTA ============ */

.txt-go {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	margin-top: 20px;
	padding: 16px;
	border: none;
	border-radius: 11px;
	background: var(--txt-violet);
	color: #fff;
	font-family: var(--txt-display);
	font-size: 16.5px;
	font-weight: 600;
	letter-spacing: -.01em;
	cursor: pointer;
	transition: background .2s, transform .2s, box-shadow .2s;
	box-shadow: 0 4px 14px rgba(124, 58, 237, .25);
}

.txt-go:hover:not(:disabled) {
	background: var(--txt-violet-d);
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(124, 58, 237, .32);
}

.txt-go:disabled {
	background: var(--txt-surface-2);
	color: var(--txt-dim);
	box-shadow: none;
	cursor: not-allowed;
	border: 1.5px solid var(--txt-border);
}

.txt-go-emoji { font-size: 19px; }


/* ============ RESULTS ============ */

.txt-results[hidden] { display: none; }

.txt-score-card {
	background: var(--txt-surface-2);
	border: 1px solid var(--txt-border);
	border-radius: 18px;
	padding: 28px 24px 26px;
	text-align: center;
	margin-bottom: 12px;
}






@keyframes bfcWave {
	0%, 100% { transform: translateX(-58px) skewY(0deg); }
	50%      { transform: translateX(-58px) skewY(-1.6deg); }
}

.txt-score-num {
	font-family: var(--txt-display);
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1;
	color: var(--txt-ink);
}

.txt-score-pct { font-size: 30px; letter-spacing: -.02em; }

.txt-score-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--txt-dim);
	margin-top: 5px;
	margin-bottom: 16px;
}

.txt-tier {
	font-family: var(--txt-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--txt-violet-d);
	margin-bottom: 9px;
	line-height: 1.22;
}

.txt-verdict {
	font-size: 14.5px;
	color: var(--txt-muted);
	line-height: 1.62;
	max-width: 44ch;
	margin: 0 auto;
}




/* bars */
.txt-bars {
	background: var(--txt-surface);
	border: 1px solid var(--txt-border);
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.txt-bars h4 {
	font-family: var(--txt-display);
	font-size: 15px;
	font-weight: 600;
	color: var(--txt-ink);
	margin-bottom: 15px;
}

.txt-bar-row { margin-bottom: 13px; }
.txt-bar-row:last-child { margin-bottom: 0; }

.txt-bar-hd {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	margin-bottom: 5px;
}

.txt-bar-hd span:first-child { color: var(--txt-muted); font-weight: 500; }
.txt-bar-hd span:last-child { color: var(--txt-ink); font-weight: 700; }

.txt-bar-track {
	height: 8px;
	background: var(--txt-border);
	border-radius: 4px;
	overflow: hidden;
}

.txt-bar-fill {
	height: 100%;
	width: 0;
	border-radius: 4px;
	background: var(--txt-violet);
	transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

.txt-fill-warn { background: var(--txt-warn); }
.txt-fill-good { background: var(--txt-good); }

/* tip */
.txt-tip {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--txt-violet-soft);
	border: 1px solid var(--txt-violet-line);
	border-radius: 12px;
	padding: 15px 16px;
	margin-bottom: 18px;
}

.txt-tip-icon { font-size: 19px; flex-shrink: 0; line-height: 1.4; }
.txt-tip p { font-size: 13.5px; line-height: 1.6; color: var(--txt-ink-soft); }

/* actions */
.txt-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.txt-btn {
	flex: 1 1 160px;
	padding: 14px;
	border-radius: 11px;
	font-family: var(--txt-display);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s;
}

.txt-btn-share {
	border: none;
	background: var(--txt-ink);
	color: #fff;
}

.txt-btn-share:hover { background: var(--txt-ink-soft); transform: translateY(-1px); }

.txt-btn-ghost {
	background: var(--txt-surface);
	border: 1.5px solid var(--txt-border);
	color: var(--txt-muted);
}

.txt-btn-ghost:hover { border-color: var(--txt-violet); color: var(--txt-violet-d); }


@keyframes bfcFall {
	to { transform: translateY(105vh) rotate(300deg); opacity: 0; }
}

/* ============ RESPONSIVE ============ */

@media (max-width: 560px) {
	.txt-app { margin: 20px auto; border-radius: 16px; }
	.txt-header { padding: 28px 18px 20px; }
	.txt-title { font-size: 26px; }
	.txt-body, .txt-results { padding: 18px 16px 24px; }
	.txt-score-num { font-size: 54px; }
	.txt-tier { font-size: 21px; }
	.txt-opt { flex: 1 1 100%; }
	.txt-opt span { white-space: normal; }
}

/* ============ MOTION PREFERENCES ============ */

@media (prefers-reduced-motion: reduce) {
	.txt-app *,
	.txt-app *::before,
	.txt-app *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ============ CRUSH-SPECIFIC ============ */





/* category breakdown */






/* what to do next */




/* the honest reminder, shown at every score */




/* ============ ORANGE PEEL SPECIFIC ============ */

.txt-section-head {
	margin: 26px 0 12px;
	padding-top: 20px;
	border-top: 1px solid var(--txt-border);
}

.txt-section-head:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.txt-section-head h3 {
	font-family: var(--txt-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.01em;
	margin-bottom: 4px;
}

.txt-section-head p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--txt-muted);
}

/* the orange, which fills segment by segment with the score */





/* bars */
.txt-bars {
	background: var(--txt-surface);
	border: 1px solid var(--txt-border);
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.txt-bars h4 {
	font-family: var(--txt-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 15px;
}

.txt-bar-row { margin-bottom: 13px; }
.txt-bar-row:last-child { margin-bottom: 0; }

.txt-bar-hd {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	margin-bottom: 5px;
}

.txt-bar-hd span:first-child { color: var(--txt-muted); font-weight: 500; }
.txt-bar-hd span:last-child { color: var(--txt-ink); font-weight: 700; }

.txt-bar-track {
	height: 8px;
	background: var(--txt-border);
	border-radius: 4px;
	overflow: hidden;
}

.txt-bar-fill {
	height: 100%;
	width: 0;
	border-radius: 4px;
	background: var(--txt-violet);
	transition: width 1s cubic-bezier(.4,0,.2,1);
}

/* reciprocity: the two-sided read */









/* advice */
.txt-next {
	background: var(--txt-violet-soft);
	border: 1px solid var(--txt-violet-line);
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.txt-next h4 {
	font-family: var(--txt-display);
	font-size: 16px;
	font-weight: 600;
	color: var(--txt-violet-d);
	margin-bottom: 9px;
}

.txt-next p {
	font-size: 14px;
	line-height: 1.62;
	color: var(--txt-ink-soft);
}

/* honest limits */
.txt-real {
	background: var(--txt-surface-2);
	border: 1px solid var(--txt-border);
	border-left: 3px solid var(--txt-ink);
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 18px;
}

.txt-real p {
	font-size: 13.5px;
	line-height: 1.62;
	color: var(--txt-ink-soft);
}

.txt-real strong { color: var(--txt-ink); }

/* ============ BIRD TEST SPECIFIC ============ */

/* headline: turn-toward rate against the research benchmark */






/* tick sits ABOVE the label so the ticks stay aligned no matter how many
   lines each label wraps to */





/* response mix */










/* two-sided rates */





@media (max-width: 560px) {
}

/* ============ GHOSTLIGHTING SPECIFIC ============ */

.txt-bars {
	background: var(--txt-surface);
	border: 1px solid var(--txt-border);
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.txt-bars h4 {
	font-family: var(--txt-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 6px;
}

.txt-bars > p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--txt-muted);
	margin-bottom: 16px;
}

.txt-bar-row { margin-bottom: 15px; }
.txt-bar-row:last-child { margin-bottom: 0; }

.txt-bar-hd {
	display: flex;
	justify-content: space-between;
	font-size: 13.5px;
	margin-bottom: 5px;
}

.txt-bar-hd span:first-child { color: var(--txt-ink); font-weight: 600; }
.txt-bar-hd span:last-child { color: var(--txt-ink); font-weight: 700; }

.txt-bar-track {
	height: 8px;
	background: var(--txt-border);
	border-radius: 4px;
	overflow: hidden;
}

.txt-bar-fill {
	height: 100%;
	width: 0;
	border-radius: 4px;
	background: var(--txt-violet);
	transition: width 1s cubic-bezier(.4,0,.2,1);
}

.txt-bar-fill.is-high { background: #e11d48; }


/* the section about the effect on you, styled to stand apart */





/* what this is not */






/* steady closing note */



/* ============ BREADCRUMBING SPECIFIC ============ */

/* the 2x2: contact against progression */










/* the gap readout */
.txt-gap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

.txt-gap-box {
	background: var(--txt-surface-2);
	border: 1px solid var(--txt-border);
	border-radius: var(--txt-r);
	padding: 16px 14px;
	text-align: center;
}

.txt-gap-k {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--txt-muted);
	margin-bottom: 5px;
}

.txt-gap-v {
	font-family: var(--txt-display);
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1;
	color: var(--txt-ink);
}

.txt-gap-d { font-size: 12px; color: var(--txt-dim); margin-top: 4px; }

/* what it is not */
.txt-not {
	background: var(--txt-surface);
	border: 1px solid var(--txt-border);
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.txt-not h4 {
	font-family: var(--txt-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
}

.txt-not ul { list-style: none; }

.txt-not li {
	position: relative;
	padding: 8px 0 8px 24px;
	border-top: 1px solid var(--txt-border);
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--txt-ink-soft);
}

.txt-not li:first-child { border-top: none; }

.txt-not li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 16px;
	width: 8px;
	height: 2px;
	border-radius: 1px;
	background: var(--txt-dim);
}

.txt-support {
	background: var(--txt-surface-2);
	border: 1px solid var(--txt-border);
	border-left: 3px solid var(--txt-violet);
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 18px;
}

.txt-support p {
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--txt-ink-soft);
}

.txt-support strong { color: var(--txt-ink); }

@media (max-width: 560px) {
	.txt-gap { grid-template-columns: 1fr; }
}

/* ============ TRUST ISSUES SPECIFIC ============ */

.txt-section-head {
	margin: 24px 0 12px;
	padding-top: 18px;
	border-top: 1px solid var(--txt-border);
}

.txt-section-head:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.txt-section-head h3 {
	font-family: var(--txt-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -.01em;
	margin-bottom: 4px;
}

.txt-section-head p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--txt-muted);
}

/* the two readings side by side */





/* the validating / careful panel */
.txt-note-card {
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
	border: 1px solid var(--txt-violet-line);
	background: var(--txt-violet-soft);
}

.txt-note-card.is-grounded { border-color: #fed7aa; background: #fff7ed; }
.txt-note-card.is-calm { border-color: #a7f3d0; background: #ecfdf5; }

.txt-note-card h4 {
	font-family: var(--txt-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 9px;
	color: var(--txt-violet-d);
}

.txt-note-card.is-grounded h4 { color: #9a3412; }
.txt-note-card.is-calm h4 { color: #047857; }

.txt-note-card p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--txt-ink-soft);
	margin-bottom: 10px;
}

.txt-note-card p:last-child { margin-bottom: 0; }
.txt-note-card strong { color: var(--txt-ink); }

.txt-support {
	background: var(--txt-surface-2);
	border: 1px solid var(--txt-border);
	border-left: 3px solid var(--txt-violet);
	border-radius: 10px;
	padding: 16px 18px;
	margin-bottom: 18px;
}

.txt-support p { font-size: 13.5px; line-height: 1.65; color: var(--txt-ink-soft); }
.txt-support strong { color: var(--txt-ink); }

@media (max-width: 560px) {
}

/* ============ JEALOUSY SPECIFIC ============ */

/* the two-bar split: what you feel vs what you do */













/* triggers */








@media (max-width: 560px) {
}

/* ============ AM I THE PROBLEM SPECIFIC ============ */

/* three-bar readout */

/* the specific named patterns, which is the actionable part */













/* ============ EI RADAR SPECIFIC ============ */










/* domain detail list */











.txt-flag {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 50px;
	font-size: 10.5px;
	font-weight: 600;
	margin-left: 6px;
	vertical-align: middle;
}

.txt-flag.is-top { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.txt-flag.is-low { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }

/* focus block */
.txt-focus {
	background: var(--txt-violet-soft);
	border: 1px solid var(--txt-violet-line);
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.txt-focus h4 {
	font-family: var(--txt-display);
	font-size: 16px;
	font-weight: 600;
	color: var(--txt-violet-d);
	margin-bottom: 9px;
}

.txt-focus p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--txt-ink-soft);
	margin-bottom: 10px;
}

.txt-focus p:last-child { margin-bottom: 0; }
.txt-focus strong { color: var(--txt-ink); }

/* ============ SOULMATE / TWIN FLAME SPECIFIC ============ */






/* ranked type list */











/* the honesty panel, shown when turbulence is carrying the result */










/* ============ TEXTING SPECIFIC ============ */

.txt-dim { padding-bottom: 4px; }

.txt-side {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--txt-border);
}

.txt-side:first-of-type { border-top: none; padding-top: 0; margin-top: 10px; }

.txt-side-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--txt-dim);
	margin-bottom: 7px;
}

.txt-side-label.is-them { color: var(--txt-violet-d); }

/* headline */
.txt-headline {
	background: var(--txt-ink);
	border-radius: 18px;
	padding: 28px 24px;
	text-align: center;
	margin-bottom: 12px;
}

.txt-headline-k { font-size: 13px; font-weight: 600; color: var(--txt-violet-l); margin-bottom: 6px; }

.txt-headline-v {
	font-family: var(--txt-display);
	font-size: 58px;
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1;
	color: #fff;
}

.txt-headline-name {
	font-family: var(--txt-display);
	font-size: 22px;
	font-weight: 600;
	color: #fff;
	margin-top: 12px;
	letter-spacing: -.02em;
}

.txt-headline-sub { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #cbd5e1; max-width: 42ch; margin-left: auto; margin-right: auto; }

/* the comparison rows */
.txt-compare {
	background: var(--txt-surface);
	border: 1px solid var(--txt-border);
	border-radius: var(--txt-r);
	padding: 20px 22px;
	margin-bottom: 12px;
}

.txt-compare h4 {
	font-family: var(--txt-display);
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 14px;
}

.txt-row { padding: 14px 0; border-top: 1px solid var(--txt-border); }
.txt-row:first-of-type { border-top: none; padding-top: 0; }

.txt-row-hd {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.txt-row-name { font-size: 14px; font-weight: 700; color: var(--txt-ink); }

.txt-tag {
	flex-shrink: 0;
	padding: 3px 10px;
	border-radius: 50px;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
	border: 1px solid;
}

.txt-tag.is-match { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.txt-tag.is-near  { background: #f5f3ff; border-color: #ddd6fe; color: #6d28d9; }
.txt-tag.is-gap   { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }

.txt-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 8px;
}

.txt-cell {
	background: var(--txt-surface-2);
	border: 1px solid var(--txt-border);
	border-radius: 9px;
	padding: 9px 11px;
}

.txt-cell-k { font-size: 11px; font-weight: 600; color: var(--txt-dim); margin-bottom: 2px; overflow-wrap: break-word; }
.txt-cell-v { font-size: 13px; font-weight: 600; color: var(--txt-ink); line-height: 1.35; }

.txt-effect {
	font-size: 13px;
	line-height: 1.6;
	color: var(--txt-ink-soft);
	padding-left: 13px;
	border-left: 2px solid var(--txt-violet-line);
}

.txt-effect strong { font-weight: 600; }

.txt-fix {
	display: block;
	margin-top: 5px;
	font-size: 12.5px;
	color: var(--txt-muted);
}

@media (max-width: 560px) {
	.txt-pair { grid-template-columns: 1fr; }
	.txt-headline-v { font-size: 46px; }
}
