/* ── Design tokens ─────────────────────────────────────────────────────── */

:root {
	--tps-black:         #000000;
	--tps-black-rgb:     0, 0, 0;
	--tps-white:         #ffffff;
	--tps-white-rgb:     255, 255, 255;
	--tps-blue:          #1882ff;
	--tps-blue-rgb:      24, 130, 255;
	--tps-logo-prop-blue: #1882ff;
	--tps-logo-prop-blue-rgb: 24, 130, 255;
	--tps-cyan:          #00f2ff;
	--tps-cyan-rgb:      0, 242, 255;
	--tps-cyan-soft:     #dffbff;
	--tps-cyan-soft-rgb: 223, 251, 255;
	--tps-cyan-muted:    #7dd3fc;
	--tps-gold:          #fbbf24;
	--tps-gold-rgb:      251, 191, 36;
	--tps-gold-soft:     #ffdf90;
	--tps-violet:        #8b5cf6;
	--tps-violet-rgb:    139, 92, 246;
	--tps-violet-soft:   #d8b4fe;
	--tps-violet-soft-rgb: 216, 180, 254;
	--tps-success:       #10b981;
	--tps-success-rgb:   16, 185, 129;
	--tps-success-bright: #6ee7b7;
	--tps-danger:        #ff4f74;
	--tps-warning:       #f59e0b;
	--tps-base:          var(--tps-black);
	--tps-ink:           #050b14;
	--tps-ink-soft:      #061018;
	--tps-surface:       #0b1524;
	--tps-surface-2:     #0f2034;
	--tps-surface-3:     #0f172a;
	--tps-surface-deep:  #020712;
	--tps-surface-ink:   #01050d;
	--tps-border:        rgba(var(--tps-blue-rgb), 0.12);
	--tps-border-subtle: rgba(var(--tps-white-rgb), 0.06);
	--tps-primary:       var(--tps-blue);
	--tps-primary-dim:   rgba(var(--tps-blue-rgb), 0.15);
	--tps-secondary:     var(--tps-violet);
	--tps-secondary-dim: rgba(var(--tps-violet-rgb), 0.15);
	--tps-text:          #f3f4f6;
	--tps-text-rgb:      243, 244, 246;
	--tps-text-bright:   #f8fbff;
	--tps-text-soft:     #eef5ff;
	--tps-text-soft-rgb: 238, 245, 255;
	--tps-muted:         #9ca3af;
	--tps-muted-rgb:     156, 163, 175;
	--tps-muted-2:       #6b7280;
	--tps-muted-2-rgb:   107, 114, 128;
	--tps-muted-soft:    #b8c4d8;
	--tps-neutral-accent: #334155;
	--tps-neutral-accent-rgb: 51, 65, 85;
	--tps-font:          'Inter', system-ui, -apple-system, sans-serif;
	--tps-radius:        12px;
	--tps-radius-sm:     6px;
	--tps-radius-xs:     4px;
	--tps-container:     1280px;
	--tps-glass-bg:      rgba(11, 21, 36, 0.75);
	--tps-glass-blur:    blur(16px);
	--tps-header-height:  64px;
	--tps-firms-filter-sticky-height: 58px;
	--tps-firms-sticky-top: calc(var(--tps-header-height) + var(--tps-firms-filter-sticky-height));
	--tps-hero-scale:    1;
	--tps-compare-scale: 1;
}

/* ── Reset ────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
	max-width:       100%;
	overflow-x:      clip;
	overflow-y:      scroll;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	font-family:      var(--tps-font);
	font-size:        16px;
	line-height:      1.65;
	color:            var(--tps-text);
	background:       var(--tps-base);
	-webkit-font-smoothing: antialiased;
	max-width:        100%;
	overflow-x:       clip;
}

img { max-width: 100%; height: auto; display: block; }

a {
	color:           var(--tps-primary);
	text-decoration: none;
	transition:      color 0.15s, opacity 0.15s;
}
a:hover { opacity: 0.8; }

h1, h2, h3, h4 {
	line-height: 1.2;
	color:       var(--tps-text);
}

/* ── Layout container ─────────────────────────────────────────────────── */

.tps-container {
	max-width: var(--tps-container);
	margin:    0 auto;
	padding:   0 24px;
	overflow:  visible;
}

/* ── Site header ──────────────────────────────────────────────────────── */

.tps-site-header {
	position:         sticky;
	top:              0;
	z-index:          200;
	background:       rgba(5, 11, 20, 0.92);
	backdrop-filter:  var(--tps-glass-blur);
	border-bottom:    1px solid var(--tps-border);
}

.tps-site-header .tps-container {
	display:         flex;
	align-items:     center;
	justify-content: space-between;
	height:          64px;
	position:        relative;
}

.tps-site-title {
	display:     flex;
	align-items: center;
	line-height: 1;
}
.tps-site-title:hover { opacity: 0.85; }

.tps-site-logo {
	display:    block;
	height:     56px;
	width:      auto;
}

.tps-nav-toggle {
	display: none;
}

.tps-nav-menu {
	list-style: none;
	display:    flex;
	gap:        28px;
	margin:     0;
	padding:    0;
}

.tps-nav-menu a {
	color:       var(--tps-muted);
	font-size:   0.875rem;
	font-weight: 500;
	transition:  color 0.15s;
}
.tps-nav-menu a:hover { color: var(--tps-text); opacity: 1; }

.home,
.front-page {
	--tps-header-height: calc(64px * var(--tps-hero-scale));
}

.home .tps-site-header .tps-container,
.front-page .tps-site-header .tps-container {
	height:        calc(64px * var(--tps-hero-scale));
	max-width:    calc(var(--tps-container) * var(--tps-hero-scale));
	padding-left: calc(24px * var(--tps-hero-scale));
	padding-right: calc(24px * var(--tps-hero-scale));
}

.home .tps-site-logo,
.front-page .tps-site-logo {
	height: calc(56px * var(--tps-hero-scale));
}

.home .tps-nav-menu,
.front-page .tps-nav-menu {
	gap: calc(28px * var(--tps-hero-scale));
}

.home .tps-nav-menu a,
.front-page .tps-nav-menu a {
	font-size: calc(0.875rem * var(--tps-hero-scale));
}

.tps-page-compare-firms {
	--tps-header-height: calc(64px * var(--tps-compare-scale));
}

.tps-page-compare-firms .tps-site-header .tps-container {
	height:        calc(64px * var(--tps-compare-scale));
	max-width:    calc(var(--tps-container) * var(--tps-compare-scale));
	padding-left: calc(24px * var(--tps-compare-scale));
	padding-right: calc(24px * var(--tps-compare-scale));
}

.tps-page-compare-firms .tps-site-logo {
	height: calc(56px * var(--tps-compare-scale));
}

.tps-page-compare-firms .tps-nav-menu {
	gap: calc(28px * var(--tps-compare-scale));
}

.tps-page-compare-firms .tps-nav-menu a {
	font-size: calc(0.875rem * var(--tps-compare-scale));
}

/* ── Site main ────────────────────────────────────────────────────────── */

.tps-site-main {
	padding: 40px 0 80px;
}

.home .tps-site-main,
.front-page .tps-site-main {
	padding-top: calc(24px * var(--tps-hero-scale));
}

.tps-page-compare-firms .tps-site-main {
	padding-top: calc(24px * var(--tps-compare-scale));
}

/* ── Site footer ──────────────────────────────────────────────────────── */

.tps-site-footer {
	background:    var(--tps-surface);
	border-top:    1px solid var(--tps-border-subtle);
	padding:       28px 0;
	text-align:    center;
	font-size:     0.8rem;
	color:         var(--tps-muted-2);
}

/* ── Glass card utility ───────────────────────────────────────────────── */

.tps-glass {
	background:      var(--tps-glass-bg);
	border:          1px solid var(--tps-border);
	border-radius:   var(--tps-radius);
	backdrop-filter: var(--tps-glass-blur);
}

/* ══════════════════════════════════════════════════════════════════════
   ACCOUNT TYPE SINGLE PAGE
   ══════════════════════════════════════════════════════════════════════ */

.tps-account-page {
	max-width: 960px;
	margin:    0 auto;
}

/* ── Promo banner ─────────────────────────────────────────────────────── */

.tps-promo-banner {
	display:         flex;
	align-items:     center;
	gap:             12px;
	background:      var(--tps-primary-dim);
	border:          1px solid var(--tps-border);
	border-radius:   var(--tps-radius);
	padding:         12px 20px;
	margin-bottom:   20px;
	font-size:       0.875rem;
	color:           var(--tps-primary);
	font-weight:     500;
}

.tps-promo-label {
	opacity: 0.75;
	font-weight: 400;
}

.tps-promo-code {
	font-weight:     700;
	letter-spacing:  0.5px;
	background:      rgba(var(--tps-cyan-rgb), 0.15);
	border:          1px solid rgba(var(--tps-cyan-rgb), 0.3);
	border-radius:   var(--tps-radius-xs);
	padding:         2px 10px;
	font-size:       0.85rem;
}

/* ── Account card shell ───────────────────────────────────────────────── */

.tps-account-card {
	background:      var(--tps-glass-bg);
	border:          1px solid var(--tps-border);
	border-radius:   var(--tps-radius);
	backdrop-filter: var(--tps-glass-blur);
	overflow:        hidden;
}

/* ── Account hero ─────────────────────────────────────────────────────── */

.tps-account-hero {
	display:         flex;
	justify-content: space-between;
	align-items:     flex-start;
	gap:             24px;
	padding:         28px 28px 20px;
	border-bottom:   1px solid var(--tps-border-subtle);
}

.tps-account-name {
	font-size:   1.6rem;
	font-weight: 700;
	margin-bottom: 10px;
	display:     flex;
	align-items: center;
	flex-wrap:   wrap;
	gap:         12px;
}

.tps-account-badges {
	display:     flex;
	flex-wrap:   wrap;
	gap:         8px;
	margin-bottom: 8px;
}

.tps-badge {
	display:       inline-flex;
	align-items:   center;
	font-size:     0.75rem;
	font-weight:   600;
	padding:       3px 10px;
	border-radius: 99px;
	letter-spacing: 0.3px;
}

.tps-badge--phase {
	background: var(--tps-secondary-dim);
	border:     1px solid rgba(var(--tps-violet-rgb), 0.35);
	color:      var(--tps-violet-soft);
}

.tps-badge--drawdown {
	background: rgba(var(--tps-success-rgb), 0.1);
	border:     1px solid rgba(var(--tps-success-rgb), 0.3);
	color:      var(--tps-success-bright);
}

.tps-drawdown-help {
	position:       relative;
	display:        inline-flex;
	align-items:    center;
	vertical-align: middle;
}

.tps-drawdown-help-trigger {
	width:           18px;
	height:          18px;
	border-radius:  999px;
	border:         1px solid rgba(var(--tps-muted-rgb), 0.35);
	background:     rgba(var(--tps-muted-rgb), 0.16);
	color:          var(--tps-muted);
	font-size:      0.7rem;
	font-weight:    700;
	line-height:    1;
	padding:        0;
	cursor:         help;
	display:        inline-flex;
	align-items:    center;
	justify-content: center;
}

.tps-drawdown-help-trigger:hover,
.tps-drawdown-help-trigger:focus {
	border-color: rgba(var(--tps-muted-rgb), 0.65);
	color:        var(--tps-text);
	outline:      none;
}

.tps-drawdown-help-tip {
	position:       absolute;
	z-index:        20;
	top:            calc(100% + 10px);
	right:          0;
	width:          min(320px, calc(100vw - 40px));
	padding:        12px 14px;
	border-radius:  8px;
	border:         1px solid var(--tps-border-subtle);
	background:     var(--tps-surface-3);
	box-shadow:     0 18px 40px rgba(0, 0, 0, 0.32);
	color:          var(--tps-muted);
	font-size:      0.78rem;
	font-weight:    400;
	line-height:    1.45;
	letter-spacing: 0;
	opacity:        0;
	pointer-events: none;
	transform:      translateY(4px);
	transition:     opacity 0.15s, transform 0.15s;
}

.tps-drawdown-help-tip::before {
	content:    "";
	position:   absolute;
	top:        -6px;
	right:      5px;
	width:      10px;
	height:     10px;
	background: var(--tps-surface-3);
	border-left: 1px solid var(--tps-border-subtle);
	border-top:  1px solid var(--tps-border-subtle);
	transform:  rotate(45deg);
}

.tps-drawdown-help-tip strong {
	display:       block;
	margin-top:    8px;
	color:         var(--tps-success-bright);
	font-size:     0.72rem;
	font-weight:   700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tps-drawdown-help-item:first-child strong {
	margin-top: 0;
}

.tps-drawdown-help-item > span {
	display:    block;
	margin-top: 4px;
}

.tps-drawdown-help:hover .tps-drawdown-help-tip,
.tps-drawdown-help:focus-within .tps-drawdown-help-tip {
	opacity:   1;
	transform: translateY(0);
}

.tps-badge--platform {
	background: rgba(var(--tps-cyan-rgb), 0.12);
	border:     1px solid rgba(var(--tps-cyan-rgb), 0.3);
	color:      var(--tps-cyan-muted);
}

a.tps-badge {
	text-decoration: none;
	transition:      background 0.15s, border-color 0.15s, color 0.15s;
}

a.tps-badge--platform {
	color: var(--tps-cyan-muted);
}

a.tps-badge--platform:hover {
	background:   rgba(var(--tps-cyan-rgb), 0.25);
	border-color: rgba(var(--tps-cyan-rgb), 0.55);
	color:        var(--tps-cyan-muted);
	opacity:      1;
}

.tps-badges-label {
	font-size:   0.8rem;
	font-weight: 500;
	color:       var(--tps-muted);
	align-self:  center;
}

.tps-account-platform-line {
	font-size: 0.8rem;
	color:     var(--tps-muted);
}

/* ── Price display ────────────────────────────────────────────────────── */

.tps-price-display {
	text-align: right;
	flex-shrink: 0;
}

.tps-price-original {
	font-size:       1.6rem;
	font-weight:     700;
	color:           var(--tps-muted-2);
	text-decoration: line-through;
	display:         block;
}

.tps-price-current {
	font-size:   2.2rem;
	font-weight: 800;
	color:       var(--tps-text);
	line-height: 1.1;
}

.tps-price-platform {
	font-size: 0.75rem;
	color:     var(--tps-muted);
	margin-top: 2px;
}

.tps-price-save {
	display:        inline-block;
	margin-top:     6px;
	font-size:      0.75rem;
	font-weight:    600;
	letter-spacing: 0.3px;
	color:          var(--tps-success-bright);
	background:     rgba(var(--tps-success-rgb), 0.1);
	border:         1px solid rgba(var(--tps-success-rgb), 0.3);
	border-radius:  99px;
	padding:        3px 10px;
	text-decoration: none;
}
a.tps-price-save:hover {
	background: rgba(var(--tps-success-rgb), 0.2);
	color:      var(--tps-success-bright);
	opacity:    1;
}

/* ── Hero stats ───────────────────────────────────────────────────────── */

.tps-hero-stats {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   1px;
	border-top:            1px solid var(--tps-border-subtle);
	border-bottom:         1px solid var(--tps-border-subtle);
	background:            var(--tps-border-subtle);
}

.tps-hero-stat {
	background:  var(--tps-surface);
	padding:     22px 16px;
	text-align:  center;
}

.tps-hero-stat-value {
	font-size:   1.5rem;
	font-weight: 700;
	color:       var(--tps-text);
	line-height: 1.1;
}

.tps-hero-stat-label {
	font-size:  0.75rem;
	color:      var(--tps-muted);
	margin-top: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ── Two-column detail section ────────────────────────────────────────── */

.tps-account-columns {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   0;
}

.tps-account-columns.tps-acc-columns--count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tps-account-col {
	padding: 24px 28px;
}

.tps-account-col + .tps-account-col {
	border-left: 1px solid var(--tps-border-subtle);
}

.tps-col-heading {
	font-size:      1.4rem;
	font-weight:    700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color:          var(--tps-muted);
	margin-bottom:  16px;
	padding-bottom: 10px;
	border-bottom:  1px solid var(--tps-border-subtle);
}

.tps-col-heading--eval     { color: var(--tps-primary); }
.tps-col-heading--pa       { color: var(--tps-violet-soft); }
.tps-col-heading--pro_plus { color: var(--tps-success-bright); }

/* ── Detail rows ──────────────────────────────────────────────────────── */

.tps-detail-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.tps-detail-row {
	display:         flex;
	justify-content: space-between;
	align-items:     flex-start;
	gap:             12px;
	padding:         8px 0;
	border-bottom:   1px solid var(--tps-border-subtle);
	font-size:       0.875rem;
	min-width:       0;
}

.tps-detail-row:last-child {
	border-bottom: none;
}

.tps-detail-term {
	color:      var(--tps-muted);
	flex-shrink: 0;
	font-size:  0.8rem;
}

.tps-detail-def {
	display:     inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap:   wrap;
	gap:         6px;
	color:       var(--tps-text);
	font-weight: 500;
	text-align:  right;
	min-width:   0;
	max-width:   100%;
	overflow-wrap: anywhere;
	word-break:  normal;
}

.tps-detail-note {
	display: block;
	flex: 0 0 100%;
	margin-top: 0.2rem;
	color: var(--tps-text-muted, #667085);
	font-size: 0.78em;
	font-weight: 400;
	line-height: 1.35;
}

.tps-detail-def--none {
	color: var(--tps-muted-2);
	font-weight: 400;
}

.tps-detail-def--tooltip {
	position: relative;
	cursor: help;
	flex-wrap: nowrap;
}

.tps-detail-def__text {
	min-width: 0;
}

.tps-detail-tooltip-icon {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-left: 2px;
	border: 1px solid rgba(var(--tps-cyan-rgb), 0.62);
	border-radius: 999px;
	background: rgba(var(--tps-cyan-rgb), 0.12);
	box-shadow: inset 0 0 8px rgba(var(--tps-cyan-rgb), 0.18),
	            0 0 10px rgba(var(--tps-blue-rgb), 0.16);
	color: var(--tps-cyan-muted);
	font-size: 0.68rem;
	font-weight: 900;
	line-height: 1;
}

.tps-detail-def--tooltip:hover .tps-detail-tooltip-icon,
.tps-detail-def--tooltip:focus-visible .tps-detail-tooltip-icon {
	border-color: rgba(var(--tps-cyan-rgb), 0.95);
	background: rgba(var(--tps-blue-rgb), 0.24);
	color: var(--tps-text-soft);
	box-shadow: inset 0 0 10px rgba(var(--tps-cyan-rgb), 0.28),
	            0 0 14px rgba(var(--tps-blue-rgb), 0.34);
}

.tps-detail-def--tooltip::after {
	content: attr(data-tooltip);
	position: absolute;
	right: 0;
	bottom: calc(100% + 9px);
	z-index: 30;
	width: max-content;
	max-width: min(320px, 70vw);
	padding: 10px 12px;
	border: 1px solid rgba(var(--tps-cyan-rgb), 0.34);
	border-radius: 8px;
	background: rgba(5, 12, 30, 0.98);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42),
	            0 0 22px rgba(var(--tps-blue-rgb), 0.2);
	color: var(--tps-text-soft);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.42;
	text-align: left;
	white-space: normal;
	overflow-wrap: normal;
	opacity: 0;
	pointer-events: none;
	transform: translateY(5px);
	transition: opacity 0.14s ease, transform 0.14s ease;
}

.tps-detail-def--tooltip::before {
	content: "";
	position: absolute;
	right: 18px;
	bottom: calc(100% + 4px);
	z-index: 31;
	width: 10px;
	height: 10px;
	background: rgba(5, 12, 30, 0.98);
	border-right: 1px solid rgba(var(--tps-cyan-rgb), 0.34);
	border-bottom: 1px solid rgba(var(--tps-cyan-rgb), 0.34);
	opacity: 0;
	pointer-events: none;
	transform: translateY(5px) rotate(45deg);
	transition: opacity 0.14s ease, transform 0.14s ease;
}

.tps-detail-def--tooltip:hover::after,
.tps-detail-def--tooltip:focus-visible::after,
.tps-detail-def--tooltip:hover::before,
.tps-detail-def--tooltip:focus-visible::before {
	opacity: 1;
	transform: translateY(0);
}

.tps-firms-compare .tps-detail-def--tooltip::before,
.tps-firms-compare .tps-detail-def--tooltip::after {
	display: none;
}

.tps-cmp-floating-tooltip {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10000;
	max-width: min(360px, calc(100vw - 24px));
	padding: 10px 12px;
	border: 1px solid rgba(var(--tps-cyan-rgb), 0.42);
	border-radius: 8px;
	background: rgba(5, 12, 30, 0.99);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48),
	            0 0 26px rgba(var(--tps-blue-rgb), 0.28);
	color: var(--tps-text-soft);
	font: 600 0.78rem/1.42 'Inter', sans-serif;
	text-align: left;
	overflow-wrap: normal;
	pointer-events: none;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.12s ease, transform 0.12s ease;
}

.tps-cmp-floating-tooltip.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ── Scaling tiers ────────────────────────────────────────────────────── */

.tps-scaling-section {
	margin-top:    16px;
	padding-top:   16px;
	border-top:    1px solid var(--tps-border-subtle);
}

.tps-scaling-heading {
	font-size:      0.65rem;
	font-weight:    700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color:          var(--tps-secondary);
	margin-bottom:  10px;
}

.tps-scaling-row {
	display:         flex;
	justify-content: space-between;
	align-items:     center;
	padding:         6px 0;
	font-size:       0.8rem;
	border-bottom:   1px solid var(--tps-border-subtle);
}

.tps-scaling-row:last-child { border-bottom: none; }

.tps-scaling-contracts {
	color:       var(--tps-text);
	font-weight: 500;
}

.tps-scaling-range {
	color:     var(--tps-muted);
	font-size: 0.75rem;
}

/* ── Platform pricing table ───────────────────────────────────────────── */

.tps-platform-section {
	padding:    20px 28px;
	border-top: 1px solid var(--tps-border-subtle);
}

.tps-platform-heading {
	font-size:      0.7rem;
	font-weight:    700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color:          var(--tps-muted);
	margin-bottom:  14px;
}

.tps-platform-table {
	width:           100%;
	border-collapse: collapse;
	font-size:       0.825rem;
}

.tps-platform-table th {
	text-align:     left;
	font-size:      0.7rem;
	font-weight:    600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color:          var(--tps-muted-2);
	padding:        6px 10px;
	border-bottom:  1px solid var(--tps-border-subtle);
}

.tps-platform-table td {
	padding:      8px 10px;
	border-bottom: 1px solid var(--tps-border-subtle);
	color:        var(--tps-text);
}

.tps-platform-table tr:last-child td { border-bottom: none; }

.tps-platform-table td:first-child {
	font-weight: 600;
	color:       var(--tps-text);
}

.tps-platform-table .tps-total-cost {
	font-weight: 700;
	color:       var(--tps-primary);
}

.tps-platform-matrix {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tps-platform-matrix-row {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tps-border-subtle);
}

.tps-platform-matrix-row:last-child {
	border-bottom: none;
}

.tps-platform-matrix-provider {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--tps-text);
}

.tps-platform-matrix-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tps-platform-matrix-platforms span {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border: 1px solid var(--tps-border-subtle);
	border-radius: 99px;
	background: rgba(var(--tps-white-rgb), 0.03);
	color: var(--tps-muted);
	font-size: 0.75rem;
	font-weight: 500;
}

.tps-platform-matrix-pill {
	text-decoration: none;
	white-space: nowrap;
}
/* Override plugin's light-mode matrix pill styles */
.tps-platform-matrix .tps-platform-matrix-pill {
	background:   rgba(var(--tps-white-rgb), 0.03);
	border-color: var(--tps-border-subtle);
	color:        var(--tps-muted);
}
.tps-platform-matrix a.tps-platform-matrix-pill:hover {
	background:   var(--tps-primary-dim);
	border-color: var(--tps-border);
	color:        var(--tps-primary);
	opacity:      1;
}

.tps-buy-btn {
	display:       inline-block;
	font-size:     0.75rem;
	font-weight:   600;
	padding:       4px 12px;
	border-radius: 99px;
	background:    var(--tps-primary-dim);
	border:        1px solid var(--tps-border);
	color:         var(--tps-primary);
	transition:    background 0.15s;
}
.tps-buy-btn:hover {
	background: rgba(var(--tps-cyan-rgb), 0.25);
	opacity:    1;
}

/* ── Links section ────────────────────────────────────────────────────── */

.tps-rules-section {
	padding:    20px 28px;
	border-top: 1px solid var(--tps-border-subtle);
	background: rgba(0, 0, 0, 0.08);
}

.tps-account-links {
	display:     flex;
	flex-wrap:   wrap;
	gap:         10px;
	padding:     20px 28px;
	border-top:  1px solid var(--tps-border-subtle);
	background:  rgba(0, 0, 0, 0.15);
}

.tps-account-links--section {
	padding: 0;
	border-top: 0;
	background: transparent;
}

.tps-link-pill {
	display:       inline-flex;
	align-items:   center;
	gap:           6px;
	font-size:     0.8rem;
	font-weight:   500;
	padding:       6px 14px;
	border-radius: 99px;
	border:        1px solid var(--tps-border-subtle);
	color:         var(--tps-muted);
	background:    rgba(var(--tps-white-rgb), 0.03);
	transition:    background 0.15s, border-color 0.15s, color 0.15s;
}
.tps-link-pill:hover {
	border-color: var(--tps-border);
	color:        var(--tps-text);
	opacity:      1;
}
.tps-link-pill--primary:hover {
	background:   var(--tps-primary-dim);
	border-color: var(--tps-border);
	color:        var(--tps-primary);
}

/* ── Verified note ────────────────────────────────────────────────────── */

.tps-verified-note {
	padding:    12px 28px;
	font-size:  0.75rem;
	color:      var(--tps-muted-2);
	border-top: 1px solid var(--tps-border-subtle);
}

/* ── No linked account notice ─────────────────────────────────────────── */

.tps-no-pa-notice {
	padding:     24px 28px;
	color:       var(--tps-muted);
	font-size:   0.875rem;
	font-style:  italic;
	text-align:  center;
	border-left: 1px solid var(--tps-border-subtle);
}

/* ══════════════════════════════════════════════════════════════════════
   FIRM SINGLE PAGE
   ══════════════════════════════════════════════════════════════════════ */

.tps-firm-single {
	background:    var(--tps-glass-bg);
	border:        1px solid var(--tps-border);
	border-radius: var(--tps-radius);
	padding:       32px;
}

.tps-firm-header {
	display:       flex;
	gap:           24px;
	align-items:   flex-start;
	margin-bottom: 24px;
	flex-wrap:     wrap;
}

.tps-firm-logo-large {
	display:         flex;
	align-items:     center;
	justify-content: center;
	width:           210px;
	min-height:      72px;
}

.tps-firm-logo-large img {
	display:    block;
	max-width:  210px;
	max-height: 72px;
	width:      auto;
	height:     auto;
	object-fit: contain;
}

.tps-firm-title {
	font-size:     1.75rem;
	margin-bottom: 8px;
}

.tps-firm-region {
	color:     var(--tps-muted);
	font-size: 0.875rem;
}

.tps-status {
	display:       inline-block;
	font-size:     0.75rem;
	font-weight:   600;
	padding:       2px 10px;
	border-radius: 99px;
	background:    rgba(var(--tps-success-rgb), 0.12);
	border:        1px solid rgba(var(--tps-success-rgb), 0.3);
	color:         var(--tps-success-bright);
	margin-bottom: 8px;
}

.tps-external-link {
	font-size:  0.875rem;
	color:      var(--tps-primary);
}

.tps-trust-notes {
	background:    rgba(var(--tps-violet-rgb), 0.08);
	border-left:   3px solid var(--tps-secondary);
	padding:       12px 16px;
	border-radius: 0 var(--tps-radius-sm) var(--tps-radius-sm) 0;
	margin-bottom: 24px;
	font-size:     0.875rem;
	color:         var(--tps-muted);
}

.tps-firm-accounts { margin-top: 32px; }

.tps-entry-content {
	line-height:   1.75;
	margin-bottom: 24px;
	color:         var(--tps-muted);
}

.tps-source-note {
	margin-top: 16px;
	font-size:  0.8rem;
	color:      var(--tps-muted-2);
	display:    flex;
	gap:        12px;
	align-items: center;
}

/* ══════════════════════════════════════════════════════════════════════
   LEGACY SHORTCODE TABLES (firm page / archive)
   ══════════════════════════════════════════════════════════════════════ */

.tps-account-rules { margin-top: 24px; }
.tps-acc-sentinel  { height: 0; overflow: hidden; }

.tps-account-block {
	background:    var(--tps-glass-bg);
	border:        1px solid var(--tps-border);
	border-radius: var(--tps-radius);
	padding:       24px;
	margin-bottom: 20px;
}

.tps-account-title {
	font-size:     1.1rem;
	margin-bottom: 12px;
	display:       flex;
	align-items:   center;
	gap:           10px;
}

.tps-phase-badge {
	font-size:     0.7rem;
	font-weight:   600;
	padding:       2px 8px;
	border-radius: 99px;
}

.tps-phase-badge--evaluation {
	background: var(--tps-secondary-dim);
	border:     1px solid rgba(var(--tps-violet-rgb), 0.3);
	color:      var(--tps-violet-soft);
}

.tps-phase-badge--performance {
	background: rgba(var(--tps-success-rgb), 0.1);
	border:     1px solid rgba(var(--tps-success-rgb), 0.25);
	color:      var(--tps-success-bright);
}

.tps-phase-badge--instant,
.tps-phase-badge--funded {
	background: rgba(var(--tps-gold-rgb), 0.12);
	border:     1px solid rgba(var(--tps-gold-rgb), 0.3);
	color:      var(--tps-gold);
}

.tps-phase-badge--pro_plus {
	background: var(--tps-primary-dim);
	border:     1px solid rgba(var(--tps-cyan-rgb), 0.25);
	color:      var(--tps-primary);
}

.tps-linked-account {
	font-size:     0.825rem;
	color:         var(--tps-muted);
	margin-bottom: 14px;
}

.tps-table-scroll { overflow-x: auto; }

.tps-rules-table {
	width:           100%;
	border-collapse: collapse;
	font-size:       0.875rem;
}

.tps-rules-table th, .tps-rules-table td {
	padding:      9px 12px;
	border-bottom: 1px solid var(--tps-border-subtle);
	text-align:   left;
}

.tps-rules-table th {
	color:      var(--tps-muted);
	font-weight: 500;
	width:       40%;
}

.tps-rules-table td { color: var(--tps-text); }

.tps-platform-price-display,
.tps-scaling-tiers-display,
.tps-platform-matrix-display {
	width:           100%;
	border-collapse: collapse;
	font-size:       0.8rem;
}

.tps-platform-matrix-display {
	table-layout: fixed;
}

.tps-platform-matrix-display th {
	width: 112px;
}

.tps-platform-pill-list {
	display:   flex;
	flex-wrap: wrap;
	gap:       8px;
	min-width: 0;
}

.tps-platform-price-display th,
.tps-platform-price-display td,
.tps-scaling-tiers-display th,
.tps-scaling-tiers-display td,
.tps-platform-matrix-display th,
.tps-platform-matrix-display td {
	padding:      5px 8px;
	border-bottom: 1px solid var(--tps-border-subtle);
}

.tps-platform-price-display th,
.tps-scaling-tiers-display th,
.tps-platform-matrix-display th {
	color:       var(--tps-muted-2);
	font-size:   0.7rem;
	font-weight: 600;
	text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════
   ACCOUNT ACCORDION (firm single page)
   ══════════════════════════════════════════════════════════════════════ */

.tps-account-accordion {
	overflow: hidden; /* needed for border-radius clipping on open state */
}

.tps-acc--open.tps-account-accordion {
	background:    var(--tps-surface);
	border:        1px solid var(--tps-border);
	border-radius: var(--tps-radius);
	margin-bottom: 8px;
}

/* ── Size pill row ───────────────────────────────────────────────────────── */

.tps-size-pill-row {
	display:    flex;
	flex-wrap:  wrap;
	gap:        10px;
	padding:    14px 0 10px;
}

.tps-size-pill {
	padding:       8px 18px;
	background:    transparent;
	border:        1px solid var(--tps-border);
	border-radius: 999px;
	color:         var(--tps-muted);
	font-size:     0.9rem;
	font-weight:   600;
	cursor:        pointer;
	transition:    background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
	white-space:   nowrap;
}

.tps-size-pill:hover {
	border-color: var(--tps-primary);
	color:        var(--tps-primary);
}

.tps-size-pill--active {
	background:   var(--tps-primary-dim);
	border-color: var(--tps-primary);
	color:        var(--tps-primary);
	box-shadow:   0 0 10px rgba(var(--tps-cyan-rgb), 0.18);
}

/* ── Accordion header (legacy — kept for reference) ─────────────────────── */

.tps-acc-header {
	width:        100%;
	display:      flex;
	align-items:  center;
	gap:          14px;
	padding:      14px 20px;
	background:   transparent;
	border:       none;
	cursor:       pointer;
	text-align:   left;
	color:        var(--tps-text);
	transition:   background 0.15s;
}

.tps-acc-header:hover { background: rgba(var(--tps-white-rgb), 0.03); }

.tps-acc--open > .tps-acc-header {
	border-bottom: 1px solid var(--tps-border-subtle);
}

.tps-acc-header__identity {
	flex:        1;
	display:     flex;
	align-items: center;
	gap:         8px;
	min-width:   0;
}

.tps-acc-header__name {
	font-size:   0.875rem;
	font-weight: 600;
	line-height: 1.3;
}

.tps-acc-header__stats {
	flex:        0 0 auto;
	display:     flex;
	flex-wrap:   nowrap;
	gap:         6px;
	align-items: center;
}

.tps-acc-stat {
	display:        flex;
	flex-direction: column;
	padding:        3px 10px;
	background:     rgba(var(--tps-white-rgb), 0.04);
	border:         1px solid var(--tps-border-subtle);
	border-radius:  6px;
	line-height:    1.3;
}

.tps-acc-stat__key {
	font-size:      0.6rem;
	font-weight:    700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color:          var(--tps-muted-2);
}

.tps-acc-stat__val {
	font-size:   0.8rem;
	font-weight: 600;
	color:       var(--tps-text);
}

.tps-acc-stat__val--cyan   { color: var(--tps-primary); }
.tps-acc-stat__val--violet { color: var(--tps-secondary); }

.tps-acc-stat__original {
	display:         inline-block;
	margin-right:    5px;
	color:           var(--tps-muted-2);
	font-size:       0.92em;
	text-decoration: line-through;
	text-decoration-thickness: 1.3px;
	text-decoration-color: rgba(var(--tps-muted-rgb), 0.8);
}

.tps-acc-header__actions {
	flex-shrink: 0;
	display:     flex;
	align-items: center;
	gap:         10px;
}

.tps-acc-buy-btn {
	display:         inline-block;
	padding:         4px 14px;
	background:      var(--tps-primary);
	color:           var(--tps-base) !important;
	font-size:       0.75rem;
	font-weight:     700;
	border-radius:   99px;
	white-space:     nowrap;
	text-decoration: none;
	transition:      opacity 0.15s;
}

.tps-acc-buy-btn:hover { opacity: 0.85; }

.tps-acc-chevron {
	width:       18px;
	height:      18px;
	color:       var(--tps-muted-2);
	flex-shrink: 0;
	transition:  transform 0.25s ease, color 0.15s;
}

.tps-acc--open .tps-acc-chevron {
	transform: rotate(180deg);
	color:     var(--tps-primary);
}

/* Expand/collapse animation via grid-template-rows trick */
.tps-acc-body {
	display:            grid;
	grid-template-rows: 0fr;
	transition:         grid-template-rows 0.28s ease;
}

.tps-acc--open .tps-acc-body {
	grid-template-rows: 1fr;
}

.tps-acc-body__inner {
	overflow:   hidden;
	padding:    0 20px;
}

.tps-acc--open .tps-acc-body__inner {
	padding: 4px 20px 20px;
}

.tps-acc-body__inner .tps-linked-account {
	padding-top:   12px;
	margin-bottom: 10px;
	font-size:     0.8rem;
	color:         var(--tps-muted);
	border-bottom: 1px solid var(--tps-border-subtle);
	padding-bottom: 10px;
}

/* ── Dark overrides: neutralise plugin frontend.css light backgrounds ── */

.tps-account-accordion .tps-rules-table th,
.tps-account-accordion .tps-rules-table td {
	border-color: var(--tps-border-subtle);
}

.tps-account-accordion .tps-rules-table th {
	background:  rgba(var(--tps-white-rgb), 0.03);
	color:       var(--tps-muted);
	font-weight: 500;
	width:       38%;
}

.tps-account-accordion .tps-rules-table td { color: var(--tps-text); }

.tps-account-accordion .tps-platform-price-display th,
.tps-account-accordion .tps-platform-price-display td,
.tps-account-accordion .tps-scaling-tiers-display th,
.tps-account-accordion .tps-scaling-tiers-display td,
.tps-account-accordion .tps-platform-matrix-display th,
.tps-account-accordion .tps-platform-matrix-display td {
	border-color: var(--tps-border-subtle);
	color:        var(--tps-text);
}

.tps-account-accordion .tps-platform-price-display thead th,
.tps-account-accordion .tps-scaling-tiers-display thead th,
.tps-account-accordion .tps-platform-matrix-display th {
	background: rgba(var(--tps-white-rgb), 0.05);
	color:      var(--tps-muted-2);
}

.tps-account-accordion .tps-platform-matrix-pill {
	background:   rgba(var(--tps-cyan-rgb), 0.07);
	border-color: rgba(var(--tps-cyan-rgb), 0.2);
	color:        var(--tps-primary);
}

.tps-account-accordion a.tps-platform-matrix-pill:hover {
	background:   rgba(var(--tps-cyan-rgb), 0.15);
	border-color: rgba(var(--tps-cyan-rgb), 0.4);
	color:        var(--tps-primary);
	opacity:      1;
}

.tps-account-accordion .tps-source-note {
	margin-top: 14px;
	padding-top: 10px;
	border-top: 1px solid var(--tps-border-subtle);
}

@media (max-width: 768px) {
	.tps-account-columns,
	.tps-account-columns.tps-acc-columns--count-3 {
		grid-template-columns: 1fr;
	}

	.tps-account-col + .tps-account-col,
	.tps-acc-body__inner .tps-account-col + .tps-account-col,
	.tps-acc-columns--count-3 .tps-account-col + .tps-account-col {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid var(--tps-border-subtle);
	}

	.tps-acc-header          { flex-wrap: wrap; padding: 12px 16px; gap: 8px; }
	.tps-acc-header__actions { margin-left: auto; }
	.tps-acc-body__inner,
	.tps-acc--open .tps-acc-body__inner { padding-left: 16px; padding-right: 16px; }
	.tps-plan-tab-list       { gap: 2px; }
	.tps-plan-tab            { padding: 6px 12px; font-size: 0.75rem; }
	.tps-acc-summary         { gap: 6px; padding: 10px 0 8px; }
}

/* ── Plan folder tabs ─────────────────────────────────────────────────── */

.tps-tab-scroll {
	overflow-x:      auto;
	scrollbar-width: none;
}
.tps-tab-scroll::-webkit-scrollbar { display: none; }

.tps-plan-tab-list {
	display:   flex;
	align-items: flex-end;
	gap:         4px;
	min-width: max-content;
}

.tps-plan-tab {
	display:       flex;
	align-items:   center;
	gap:           6px;
	padding:       8px 18px;
	background:    rgba(var(--tps-white-rgb), 0.03);
	border:        1px solid var(--tps-border);
	border-bottom: none;
	border-radius: var(--tps-radius-sm) var(--tps-radius-sm) 0 0;
	color:         var(--tps-muted);
	font-size:     0.8rem;
	font-weight:   600;
	cursor:        pointer;
	transition:    background 0.15s, color 0.15s;
	position:      relative;
	margin-bottom: -1px;
	z-index:       1;
}

.tps-plan-tab:hover {
	background: rgba(var(--tps-white-rgb), 0.06);
	color:      var(--tps-text);
}

.tps-plan-tab__label {
	display:     inline-flex;
	align-items: center;
	gap:         6px;
	min-width:   0;
}

.tps-plan-tab__name {
	min-width:     0;
	overflow:      hidden;
	text-overflow: ellipsis;
	white-space:   nowrap;
}

.tps-tab--active {
	background:          var(--tps-surface);
	color:               var(--tps-primary);
	border-bottom-color: var(--tps-surface);
	z-index:             3;
}

.tps-plan-tab__count {
	display:         inline-flex;
	align-items:     center;
	justify-content: center;
	min-width:       18px;
	height:          18px;
	padding:         0 5px;
	background:      rgba(var(--tps-white-rgb), 0.08);
	border-radius:   99px;
	font-size:       0.65rem;
	font-weight:     700;
}

.tps-tab--active .tps-plan-tab__count,
.tps-sticky-tab--active .tps-plan-tab__count {
	background: var(--tps-primary-dim);
	color:      var(--tps-primary);
}

.tps-plan-panel {
	display: none;
}

.tps-panel--active {
	display:       block;
	border:        1px solid var(--tps-border);
	border-radius: var(--tps-radius-sm);
	padding:       12px;
	position:      relative;
	z-index:       2;
}

/* Single-group (no tabs): no outer frame */
.tps-account-rules > .tps-plan-panel.tps-panel--active {
	border:        none;
	border-radius: 0;
	padding:       0;
}

/* Accordion-scoped column overrides: strip the outer padding since
   .tps-acc-body__inner already provides horizontal breathing room */
.tps-acc-columns { border-top: 1px solid var(--tps-border-subtle); margin-top: 8px; }
.tps-acc-columns--single { border-top: none; margin-top: 0; }
.tps-acc-body__inner .tps-account-col { padding: 16px 14px 16px 0; }
.tps-acc-body__inner .tps-account-col + .tps-account-col { padding-left: 20px; }

.tps-acc-columns--count-3 .tps-account-col + .tps-account-col {
	padding-left: 14px;
}

/* Subtle per-column background tints — 2-col layout */
.tps-acc-columns.tps-acc-columns--count-2 .tps-account-col:nth-child(2) {
	background: rgba(var(--tps-violet-rgb), 0.05);
}

/* Subtle per-column background tints — 3-col layout */
.tps-acc-columns--count-3 .tps-account-col:nth-child(2) {
	background: rgba(var(--tps-violet-rgb), 0.05);
}
.tps-acc-columns--count-3 .tps-account-col:nth-child(3) {
	background: rgba(var(--tps-success-rgb), 0.05);
}

.tps-acc-columns--count-3 .tps-col-heading {
	font-size: 1rem;
	letter-spacing: 0.08em;
}

/* ── Sticky column header row ─────────────────────────────────────────── */

.tps-acc-col-headers {
	display: none; /* shown only when accordion is open */
}

.tps-acc--open .tps-acc-col-headers {
	display:    grid;
	position:   static;
	background: var(--tps-surface);
	border-top:    1px solid var(--tps-border-subtle);
	border-bottom: 1px solid var(--tps-border-subtle);
	margin:     0 20px; /* match .tps-acc-columns inner content width */
}

.tps-acc-col-headers--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tps-acc-col-headers--count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tps-acc-col-hd {
	padding:        10px 14px 10px 0;
	font-size:      1rem;
	font-weight:    700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tps-acc-col-hd + .tps-acc-col-hd {
	padding-left: 20px;
	border-left:  1px solid var(--tps-border-subtle);
}

/* Match column background tints */
.tps-acc-col-headers--count-2 .tps-acc-col-hd:nth-child(2) { background: rgba(var(--tps-violet-rgb), 0.05); }
.tps-acc-col-headers--count-3 .tps-acc-col-hd:nth-child(2) { background: rgba(var(--tps-violet-rgb), 0.05); }
.tps-acc-col-headers--count-3 .tps-acc-col-hd:nth-child(3) { background: rgba(var(--tps-success-rgb), 0.05); }

/* Full-width sub-sections (scaling tiers, matrix, pricing) */
.tps-acc-full-table {
	margin-top:  16px;
	padding-top: 14px;
	border-top:  1px solid var(--tps-border-subtle);
}

.tps-acc-sub-label {
	font-size:      0.68rem;
	font-weight:    700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color:          var(--tps-muted-2);
	margin-bottom:  10px;
}

/* ── Stat summary in expanded section ─────────────────────────────────── */

.tps-acc-summary {
	display:       flex;
	flex-wrap:     wrap;
	gap:           8px;
	padding:       14px 0 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--tps-border-subtle);
}

/* Section label dividers (Evaluation / Performance Account) */
.tps-phase-section-label {
	font-size:      0.68rem;
	font-weight:    700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color:          var(--tps-muted-2);
	padding:        10px 0 8px;
}

.tps-phase-section-label--eval { color: var(--tps-primary); }
.tps-phase-section-label--pa   { color: var(--tps-secondary); }

/* Performance Account merged sub-section */
.tps-pa-section {
	margin-top:  20px;
	padding-top: 16px;
	border-top:  1px solid var(--tps-border);
}

.tps-pa-section .tps-acc-summary {
	border-bottom-color: rgba(var(--tps-violet-rgb), 0.2);
}

/* ── Comparison table ─────────────────────────────────────────────────── */

.tps-comparison-table-wrap { overflow-x: auto; }

.tps-comparison-table {
	width:           100%;
	border-collapse: collapse;
	font-size:       0.875rem;
	background:      var(--tps-glass-bg);
	border:          1px solid var(--tps-border);
	border-radius:   var(--tps-radius);
	overflow:        hidden;
}

.tps-comparison-table th {
	background:     var(--tps-surface);
	color:          var(--tps-muted);
	font-size:      0.75rem;
	font-weight:    600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding:        10px 14px;
	text-align:     left;
	border-bottom:  1px solid var(--tps-border);
	cursor:         pointer;
}

.tps-comparison-table th:hover { color: var(--tps-text); }

.tps-comparison-table td {
	padding:       10px 14px;
	border-bottom: 1px solid var(--tps-border-subtle);
	color:         var(--tps-text);
}

.tps-comparison-table tr:last-child td { border-bottom: none; }

.tps-comparison-table tr:hover td { background: rgba(var(--tps-white-rgb), 0.02); }

.tps-firm-grid {
	display:               grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap:                   20px;
}

.tps-firm-card {
	background:    var(--tps-glass-bg);
	border:        1px solid var(--tps-border);
	border-radius: var(--tps-radius);
	padding:       20px;
	transition:    border-color 0.2s;
}

.tps-firm-card:hover { border-color: rgba(var(--tps-cyan-rgb), 0.3); }

.tps-firm-card-name {
	font-size:     1rem;
	font-weight:   600;
	margin-bottom: 8px;
}

/* ── Page / post generic ──────────────────────────────────────────────── */

.tps-post {
	background:    var(--tps-glass-bg);
	border:        1px solid var(--tps-border);
	border-radius: var(--tps-radius);
	padding:       32px;
}

.tps-page-title {
	font-size:     1.75rem;
	margin-bottom: 24px;
}

.tps-hero {
	text-align: center;
	padding:    64px 0 48px;
}

.tps-hero-title {
	font-size:     clamp(1.75rem, 4vw, 3rem);
	font-weight:   800;
	margin-bottom: 16px;
}

.tps-hero-subtitle {
	font-size:  1rem;
	color:      var(--tps-muted);
	max-width:  600px;
	margin:     0 auto;
	line-height: 1.7;
}

.tps-empty {
	color:     var(--tps-muted);
	font-size: 0.875rem;
	padding:   24px 0;
}

/* ── Recent rule changes ──────────────────────────────────────────────── */

.tps-changes-list { display: flex; flex-direction: column; gap: 12px; }

.tps-change-item {
	background:    var(--tps-surface);
	border:        1px solid var(--tps-border-subtle);
	border-radius: var(--tps-radius-sm);
	padding:       14px 16px;
}

.tps-change-date { font-size: 0.75rem; color: var(--tps-muted-2); }

.tps-severity--critical { border-left: 3px solid var(--tps-danger); }
.tps-severity--important { border-left: 3px solid var(--tps-warning); }
.tps-severity--info { border-left: 3px solid var(--tps-primary); }

/* ── Scoring page ─────────────────────────────────────────────────────── */

.tps-scoring-page {
	--tps-scoring-body-copy: rgba(226, 235, 255, 0.88);
	--tps-scoring-soft-copy: rgba(218, 228, 250, 0.82);
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.tps-scoring-page::before {
	content: "";
	position: absolute;
	top: -220px;
	left: 50%;
	z-index: 0;
	width: min(100vw, 1683px);
	aspect-ratio: 1683 / 934;
	pointer-events: none;
	background: url("../images/background-test_2.png") center top / contain no-repeat;
	transform: translateX(-50%);
}

.tps-scoring-page > * {
	position: relative;
	z-index: 1;
}

.tps-scoring-hero {
	position: relative;
	isolation: isolate;
	overflow: visible;
	display: grid;
	grid-template-columns: minmax(0, 1.38fr) minmax(330px, 0.62fr);
	gap: 28px;
	align-items: stretch;
	min-height: clamp(380px, 34vw, 470px);
	padding: clamp(30px, 3.4vw, 44px) 30px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.tps-scoring-hero::before {
	content: none;
}

.tps-scoring-hero__copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 260px;
}

.tps-scoring-kicker {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 12px;
	color: var(--tps-primary);
	font-size: 0.74rem;
	font-weight: 800;
	line-height: 1;
	text-shadow:
		0 2px 4px rgba(0, 0, 0, 0.95),
		0 0 14px rgba(0, 0, 0, 0.86);
	text-transform: uppercase;
}

.tps-scoring-hero h1 {
	margin: 0 0 16px;
	font-size: clamp(2.4rem, 7vw, 5.4rem);
	font-weight: 850;
	text-shadow:
		0 3px 2px rgba(0, 0, 0, 0.92),
		0 10px 24px rgba(0, 0, 0, 0.9),
		0 0 34px rgba(0, 0, 0, 0.82);
}

.tps-scoring-hero p {
	max-width: 720px;
	color: rgba(var(--tps-text-rgb), 0.82);
	font-size: 1rem;
	line-height: 1.8;
	text-shadow:
		0 2px 2px rgba(0, 0, 0, 0.92),
		0 6px 16px rgba(0, 0, 0, 0.88),
		0 0 22px rgba(0, 0, 0, 0.82);
}

.tps-scoring-hero__panel,
.tps-scoring-card,
.tps-scoring-note {
	background: rgba(11, 21, 36, 0.72);
	border: 1px solid var(--tps-border);
	border-radius: var(--tps-radius-sm);
}

.tps-scoring-hero__panel {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	padding: 0;
	overflow: visible;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.tps-scoring-hero__panel::before,
.tps-scoring-hero__panel::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.tps-scoring-hero__panel::before {
	content: none;
	inset: 8px;
	border: 1px solid rgba(var(--tps-blue-rgb), 0.18);
	border-radius: var(--tps-radius-sm);
	background:
		linear-gradient(90deg, rgba(var(--tps-blue-rgb), 0.18), transparent 18% 82%, rgba(var(--tps-violet-rgb), 0.18)),
		repeating-linear-gradient(90deg, transparent 0 29px, rgba(var(--tps-blue-rgb), 0.07) 30px 31px),
		repeating-linear-gradient(0deg, transparent 0 29px, rgba(var(--tps-violet-rgb), 0.06) 30px 31px);
	opacity: 0.6;
}

.tps-scoring-hero__panel::after {
	content: none;
	inset: auto 44px 11px;
	height: 2px;
	border-radius: 999px;
	background:
		linear-gradient(90deg, transparent, var(--tps-primary) 15%, var(--tps-secondary) 85%, transparent);
	box-shadow: 0 0 18px rgba(var(--tps-violet-rgb), 0.42);
}

.tps-scoring-card li,
.tps-scoring-note p {
	color: var(--tps-scoring-body-copy);
}

.tps-scoring-scorecard {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 12px;
	width: min(100%, 330px);
	min-height: 0;
	padding: 17px 15px 19px;
	border: 1px solid rgba(var(--tps-blue-rgb), 0.44);
	border-radius: 18px;
	background:
		radial-gradient(circle at 14% 4%, rgba(var(--tps-blue-rgb), 0.1), transparent 34%),
		radial-gradient(circle at 90% 10%, rgba(var(--tps-blue-rgb), 0.06), transparent 34%),
		linear-gradient(180deg, rgba(9, 21, 43, 0.16), rgba(4, 11, 25, 0.08) 48%, rgba(3, 9, 21, 0.14)),
		rgba(1, 5, 13, 0.08);
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-white-rgb), 0.06),
		inset 0 0 34px rgba(23, 74, 170, 0.08),
		0 0 0 1px rgba(var(--tps-blue-rgb), 0.2),
		0 0 30px rgba(var(--tps-blue-rgb), 0.28),
		0 18px 34px rgba(0, 0, 0, 0.38);
	backdrop-filter: blur(1px) saturate(0.76);
	-webkit-backdrop-filter: blur(10px) saturate(1.36);
	overflow: hidden;
}

.tps-scoring-scorecard::before,
.tps-scoring-scorecard::after {
	content: "";
	position: absolute;
	pointer-events: none;
}

.tps-scoring-scorecard::before {
	inset: 0;
	border-radius: 17px;
	background:
		linear-gradient(90deg, transparent 0 14px, rgba(var(--tps-blue-rgb), 0.92) 14px 62px, transparent 62px calc(100% - 62px), rgba(var(--tps-blue-rgb), 0.86) calc(100% - 62px) calc(100% - 14px), transparent calc(100% - 14px)) top / 100% 1px no-repeat,
		linear-gradient(90deg, transparent 0 38px, rgba(var(--tps-cyan-rgb), 0.42) 38px 44%, transparent 44% 56%, rgba(var(--tps-violet-rgb), 0.38) 56% calc(100% - 38px), transparent calc(100% - 38px)) bottom / 100% 1px no-repeat,
		linear-gradient(180deg, transparent 0 13px, rgba(var(--tps-blue-rgb), 0.84) 13px 56px, transparent 56px calc(100% - 56px), rgba(var(--tps-blue-rgb), 0.42) calc(100% - 56px) calc(100% - 13px), transparent calc(100% - 13px)) left / 1px 100% no-repeat,
		linear-gradient(180deg, transparent 0 13px, rgba(var(--tps-blue-rgb), 0.58) 13px 56px, transparent 56px calc(100% - 56px), rgba(var(--tps-violet-rgb), 0.48) calc(100% - 56px) calc(100% - 13px), transparent calc(100% - 13px)) right / 1px 100% no-repeat,
		radial-gradient(circle at 15px 15px, rgba(var(--tps-blue-rgb), 0.62) 0 1px, transparent 2px),
		radial-gradient(circle at calc(100% - 15px) 15px, rgba(var(--tps-blue-rgb), 0.56) 0 1px, transparent 2px),
		radial-gradient(circle at 15px calc(100% - 15px), rgba(var(--tps-cyan-rgb), 0.4) 0 1px, transparent 2px),
		radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), rgba(var(--tps-violet-rgb), 0.46) 0 1px, transparent 2px),
		linear-gradient(180deg, rgba(142, 184, 255, 0.08), transparent 26%),
		linear-gradient(90deg, rgba(var(--tps-blue-rgb), 0.1), transparent 22% 78%, rgba(var(--tps-blue-rgb), 0.1));
	opacity: 0.95;
}

.tps-scoring-scorecard::after {
	inset: 8px;
	border-radius: 13px;
	background:
		linear-gradient(90deg, rgba(var(--tps-blue-rgb), 0.85) 0 20px, transparent 20px calc(100% - 20px), rgba(var(--tps-blue-rgb), 0.7) calc(100% - 20px) 100%) top / 100% 1px no-repeat,
		linear-gradient(90deg, rgba(var(--tps-cyan-rgb), 0.54) 0 20px, transparent 20px calc(100% - 20px), rgba(var(--tps-violet-rgb), 0.5) calc(100% - 20px) 100%) bottom / 100% 1px no-repeat,
		linear-gradient(180deg, rgba(var(--tps-blue-rgb), 0.78) 0 18px, transparent 18px calc(100% - 18px), rgba(var(--tps-cyan-rgb), 0.42) calc(100% - 18px) 100%) left / 1px 100% no-repeat,
		linear-gradient(180deg, rgba(var(--tps-blue-rgb), 0.62) 0 18px, transparent 18px calc(100% - 18px), rgba(var(--tps-violet-rgb), 0.5) calc(100% - 18px) 100%) right / 1px 100% no-repeat;
	opacity: 0.72;
}

.tps-scoring-scorecard > * {
	position: relative;
	z-index: 1;
}

.tps-scoring-scorecard__tag {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 13px;
	padding: 0 28px;
	color: var(--tps-blue);
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
}

.tps-scoring-scorecard__tag::after {
	content: none;
}

.tps-scoring-scorecard__tag strong {
	display: block;
	max-width: 100%;
	overflow: hidden;
	color: var(--tps-blue);
	font-size: clamp(0.58rem, 0.72vw, 0.68rem);
	font-weight: 850;
	letter-spacing: 0.08em;
	line-height: 1;
	text-shadow:
		0 0 8px rgba(var(--tps-blue-rgb), 0.95),
		0 0 18px rgba(var(--tps-blue-rgb), 0.52);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tps-scoring-scorecard__tag small {
	display: block;
	grid-column: 1 / -1;
	grid-row: 2;
	color: rgba(174, 202, 240, 0.78);
	font-size: 0.66rem;
	font-weight: 500;
	line-height: 1.45;
	text-transform: none;
}

.tps-scoring-scorecard__mini-icon {
	position: relative;
	display: block;
	grid-column: 1;
	grid-row: 1;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(var(--tps-blue-rgb), 0.9);
	border-radius: 7px;
	filter: drop-shadow(0 0 12px rgba(var(--tps-blue-rgb), 0.34));
	transform: rotate(30deg);
}

.tps-scoring-scorecard__mini-icon::before {
	content: "";
	position: absolute;
	inset: 5px 7px 5px 7px;
	background:
		linear-gradient(180deg, transparent 54%, rgba(var(--tps-blue-rgb), 0.96) 54%) 0 0 / 3px 100% no-repeat,
		linear-gradient(180deg, transparent 32%, rgba(var(--tps-blue-rgb), 0.96) 32%) 5px 0 / 3px 100% no-repeat,
		linear-gradient(180deg, transparent 12%, rgba(var(--tps-blue-rgb), 0.96) 12%) 10px 0 / 3px 100% no-repeat;
	transform: rotate(-30deg);
}

.tps-scoring-scorecard__metrics {
	display: grid;
	align-content: stretch;
	gap: 9px;
}

.tps-scoring-scorecard__metric {
	position: relative;
	display: grid;
	grid-template-columns: 39px minmax(0, 1fr) 45px;
	gap: 9px;
	align-items: center;
	min-height: 73px;
	padding: 10px 10px;
	overflow: hidden;
	border: 1px solid rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.36);
	border-radius: 11px;
	background:
		radial-gradient(circle at 18% 50%, rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.12), transparent 44%),
		radial-gradient(circle at 92% 50%, rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.1), transparent 50%),
		linear-gradient(100deg, rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.12), transparent 42%, rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.06)),
		linear-gradient(180deg, rgba(16, 27, 46, 0.2), rgba(4, 12, 25, 0.12)),
		rgba(3, 8, 18, 0.1);
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-white-rgb), 0.02),
		0 0 24px rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.08);
	backdrop-filter: blur(6px) saturate(1.18);
	-webkit-backdrop-filter: blur(6px) saturate(1.18);
}

.tps-scoring-scorecard__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 35px;
	height: 35px;
	border: 0;
	border-radius: 0;
	filter:
		drop-shadow(0 0 8px rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.38))
		drop-shadow(0 0 14px rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.18));
}

.tps-scoring-scorecard__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgb(var(--accent-rgb, var(--tps-blue-rgb)));
	-webkit-mask: var(--tps-scorecard-icon) center / contain no-repeat;
	mask: var(--tps-scorecard-icon) center / contain no-repeat;
}

.tps-scoring-scorecard__icon::after {
	content: none;
}

.tps-scoring-scorecard__metric--price .tps-scoring-scorecard__icon {
	--tps-scorecard-icon: url("data:image/svg+xml,%3Csvg width='35' height='35' viewBox='0 0 35 35' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.5 2.8 30 9.7v14.6L17.5 32.2 5 24.3V9.7Z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M17.5 8.9v17.2' fill='none' stroke='white' stroke-width='2.1' stroke-linecap='round'/%3E%3Cpath d='M22.3 12.1c-1.4-1.1-3.1-1.5-4.8-1.5-2.6 0-4.3 1.2-4.3 2.9 0 1.8 1.7 2.5 4.6 3.1 3.2.7 4.9 1.7 4.9 3.8 0 2.2-2.1 3.5-5.1 3.5-2.1 0-4.1-.6-5.6-1.8' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tps-scoring-scorecard__metric--rules .tps-scoring-scorecard__icon {
	--tps-scorecard-icon: url("data:image/svg+xml,%3Csvg width='35' height='35' viewBox='0 0 35 35' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.5 2.8 30 9.7v14.6L17.5 32.2 5 24.3V9.7Z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M17.5 9.3 24.2 11.8v6.4c0 4.2-2.6 7.1-6.7 9.1-4.1-2-6.7-4.9-6.7-9.1v-6.4Z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M14 18.3 16.4 20.8 21 15.9' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tps-scoring-scorecard__metric--speed .tps-scoring-scorecard__icon {
	--tps-scorecard-icon: url("data:image/svg+xml,%3Csvg width='35' height='35' viewBox='0 0 35 35' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.5 2.8 30 9.7v14.6L17.5 32.2 5 24.3V9.7Z' fill='none' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M10.2 22.8a7.8 7.8 0 0 1 15.6 0' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M17.5 22.3 22.3 16.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='17.5' cy='22.6' r='1.8' fill='white'/%3E%3C/svg%3E");
}

.tps-scoring-scorecard__copy {
	position: relative;
	display: grid;
	gap: 5px;
	min-width: 0;
	padding-left: 9px;
	border-left: 1px solid rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.95);
}

.tps-scoring-scorecard__copy b {
	overflow: hidden;
	color: var(--tps-text-bright);
	font-size: clamp(0.66rem, 0.91vw, 0.81rem);
	font-weight: 850;
	letter-spacing: 0.03em;
	line-height: 1.08;
	text-overflow: ellipsis;
	text-shadow:
		0 2px 8px rgba(0, 0, 0, 0.82),
		0 0 8px rgba(var(--tps-white-rgb), 0.18);
	text-transform: uppercase;
	white-space: nowrap;
}

.tps-scoring-scorecard__copy small {
	overflow: hidden;
	color: rgba(181, 208, 244, 0.82);
	font-size: clamp(0.53rem, 0.72vw, 0.64rem);
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tps-scoring-scorecard__copy i {
	position: relative;
	display: block;
	width: min(100%, 145px);
	min-height: 10px;
	border-radius: 3px;
	background:
		linear-gradient(90deg, rgba(36, 54, 82, 0.58), rgba(8, 16, 30, 0.54));
	box-shadow:
		inset 0 0 0 1px rgba(96, 129, 174, 0.5),
		inset 0 0 8px rgba(0, 0, 0, 0.36);
	overflow: hidden;
	transform: skewX(-8deg);
}

.tps-scoring-scorecard__copy i::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--fill, 0%);
	border-radius: 3px;
	background:
		linear-gradient(90deg, rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.88), rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.98));
	box-shadow:
		0 0 14px rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.48),
		inset 0 0 8px rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.34);
}

.tps-scoring-scorecard__copy i::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		repeating-linear-gradient(
			90deg,
			transparent 0 calc(20% - 1px),
			rgba(2, 7, 16, 0.62) calc(20% - 1px) 20%
		);
}

.tps-scoring-scorecard.is-scorecard-animating .tps-scoring-scorecard__metrics em {
	text-shadow:
		0 2px 8px rgba(0, 0, 0, 0.86),
		0 0 18px rgba(var(--tps-blue-rgb), 0.54),
		0 0 26px rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.28);
}

.tps-scoring-scorecard__value {
	display: grid;
	justify-items: end;
	align-content: center;
	gap: 2px;
	width: 45px;
	min-width: 45px;
	font-variant-numeric: tabular-nums;
}

.tps-scoring-scorecard__value em {
	display: block;
	width: 100%;
	color: rgb(var(--accent-rgb, var(--tps-blue-rgb)));
	font-size: clamp(1.44rem, 1.95vw, 1.74rem);
	font-weight: 950;
	font-variant-numeric: tabular-nums;
	font-style: normal;
	line-height: 0.9;
	text-align: right;
	text-shadow:
		0 2px 9px rgba(0, 0, 0, 0.9),
		0 0 13px rgba(var(--accent-rgb, var(--tps-blue-rgb)), 0.54);
}

.tps-scoring-scorecard__value small {
	display: block;
	width: 100%;
	color: rgba(161, 194, 239, 0.78);
	font-size: 0.62rem;
	font-weight: 650;
	line-height: 1;
	text-align: right;
}

.tps-scoring-section-head {
	margin-bottom: 18px;
}

.tps-scoring-section-head h2 {
	margin: 0;
	font-size: clamp(1.45rem, 3vw, 2rem);
}

.tps-scoring-card {
	--tps-scoring-rgb: 24, 130, 255;
	background:
		linear-gradient(135deg, rgba(var(--tps-scoring-rgb), 0.14), rgba(11, 21, 36, 0.76) 64%),
		rgba(11, 21, 36, 0.72);
	box-shadow: inset 0 1px 0 rgba(var(--tps-scoring-rgb), 0.18);
}

.tps-scoring-theme--violet { --tps-scoring-rgb: var(--tps-violet-rgb); }
.tps-scoring-theme--cyan { --tps-scoring-rgb: var(--tps-cyan-rgb); }
.tps-scoring-theme--gold { --tps-scoring-rgb: var(--tps-gold-rgb); }
.tps-scoring-theme--primary { --tps-scoring-rgb: var(--tps-blue-rgb); }

.tps-scoring-methods {
	position: relative;
	isolation: isolate;
	padding: 8px 0 0;
}

.tps-scoring-methods .tps-scoring-section-head {
	max-width: 760px;
	margin: 0 0 22px;
	text-align: left;
}

.tps-scoring-methods .tps-scoring-section-head .tps-scoring-kicker {
	margin-right: 0;
	margin-left: 0;
	color: var(--tps-blue);
	text-shadow: 0 0 16px rgba(var(--tps-blue-rgb), 0.56);
}

.tps-scoring-methods .tps-scoring-section-head h2 {
	font-size: clamp(1.85rem, 3.35vw, 2.85rem);
	line-height: 1.06;
	text-shadow:
		0 2px 2px rgba(0, 0, 0, 0.9),
		0 0 18px rgba(var(--tps-white-rgb), 0.18);
}

.tps-scoring-methods .tps-scoring-section-head p {
	max-width: 650px;
	margin: 10px 0 0;
	color: rgba(var(--tps-text-rgb), 0.78);
	font-size: 1.02rem;
	line-height: 1.55;
}

.tps-method-grid {
	display: grid;
	gap: 12px;
}

.tps-method-item {
	--tps-method-rgb: var(--tps-scoring-rgb, var(--tps-blue-rgb));
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	min-width: 0;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	opacity: 1;
	filter: none;
	background:
		radial-gradient(circle at 12% 50%, rgba(var(--tps-method-rgb), 0.13), transparent 34%),
		linear-gradient(110deg, rgba(var(--tps-method-rgb), 0.055), rgba(0, 0, 0, 0.16) 44%, rgba(var(--tps-method-rgb), 0.025)),
		rgba(0, 0, 0, 0.38);
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-method-rgb), 0.36),
		0 0 28px rgba(var(--tps-method-rgb), 0.055);
	cursor: pointer;
	transition:
		box-shadow 220ms ease,
		background 220ms ease,
		opacity 180ms ease;
}

.tps-method-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tps-method-item {
	align-items: start;
	min-height: 148px;
	padding: 18px 22px 16px;
}

.tps-method-item::after {
	content: "";
	position: absolute;
	right: 18px;
	bottom: 16px;
	width: 10px;
	height: 10px;
	border-right: 2px solid rgb(var(--tps-method-rgb, var(--tps-blue-rgb)));
	border-bottom: 2px solid rgb(var(--tps-method-rgb, var(--tps-blue-rgb)));
	opacity: 0;
	transform: translate3d(-5px, 5px, 0) rotate(-45deg);
	transition: opacity 180ms ease, transform 220ms ease;
	pointer-events: none;
}

.tps-method-item > * {
	position: relative;
	z-index: 1;
}

.tps-method-item:hover,
.tps-method-item:focus-visible {
	z-index: 2;
	color: inherit;
	text-decoration: none;
	opacity: 1;
	background:
		radial-gradient(circle at 12% 50%, rgba(var(--tps-method-rgb), 0.28), transparent 40%),
		linear-gradient(110deg, rgba(var(--tps-method-rgb), 0.16), rgba(0, 0, 0, 0.09) 44%, rgba(var(--tps-method-rgb), 0.075)),
		rgba(8, 12, 18, 0.68);
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-method-rgb), 0.92),
		inset 0 0 34px rgba(var(--tps-method-rgb), 0.12),
		0 18px 44px rgba(0, 0, 0, 0.34),
		0 0 44px rgba(var(--tps-method-rgb), 0.3);
	outline: none;
}

.tps-method-item:hover::after,
.tps-method-item:focus-visible::after {
	opacity: 0.82;
	transform: translate3d(0, 0, 0) rotate(-45deg);
}

.tps-method-item:focus-visible {
	outline: 2px solid rgba(var(--tps-method-rgb), 0.78);
	outline-offset: 3px;
}

.tps-method-item:active {
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-method-rgb), 0.86),
		inset 0 0 26px rgba(var(--tps-method-rgb), 0.1),
		0 10px 28px rgba(0, 0, 0, 0.28),
		0 0 34px rgba(var(--tps-method-rgb), 0.22);
}

@media (prefers-reduced-motion: reduce) {
	.tps-method-item,
	.tps-method-item::after {
		transition: none;
	}
}

@media (max-width: 640px) {
	.tps-method-item::after {
		right: 14px;
		bottom: 14px;
	}
}

.tps-method-item--platforms {
	grid-column: 1 / -1;
}

@media (min-width: 901px) {
	.tps-method-item--platforms .tps-method-item__body {
		display: grid;
		grid-template-columns: minmax(260px, 0.68fr) minmax(360px, 1fr);
		column-gap: clamp(30px, 5vw, 64px);
		align-items: start;
	}

	.tps-method-item--platforms .tps-method-item__head,
	.tps-method-item--platforms p {
		grid-column: 1;
		max-width: 430px;
	}

	.tps-method-item--platforms ul {
		grid-column: 2;
		grid-row: 1 / span 2;
		align-self: start;
		max-width: 580px;
		margin-top: 4px;
	}
}

.tps-method-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	color: rgb(var(--tps-method-rgb, var(--tps-blue-rgb)));
	filter: drop-shadow(0 0 12px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.36));
	transition: filter 180ms ease, transform 180ms ease;
}

.tps-method-item:hover .tps-method-icon,
.tps-method-item:focus-visible .tps-method-icon {
	filter:
		drop-shadow(0 0 12px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.74))
		drop-shadow(0 0 24px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.34));
}

.tps-method-icon::before,
.tps-method-icon::after {
	content: "";
	position: absolute;
	clip-path: polygon(50% 0, 92% 24%, 92% 76%, 50% 100%, 8% 76%, 8% 24%);
}

.tps-method-icon::before {
	inset: 0;
	background: currentColor;
}

.tps-method-icon::after {
	inset: 2px;
	background:
		radial-gradient(circle at 50% 42%, rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.16), transparent 58%),
		var(--tps-surface-ink);
}

.tps-method-icon i {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	font-style: normal;
}

.tps-method-icon i::before {
	color: currentColor;
	font-size: 1.42rem;
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 0 14px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.72);
}

.tps-method-icon--overview i::before { content: "*"; }
.tps-method-icon--important i::before { content: "i"; }
.tps-method-icon--cost i::before { content: "$"; }
.tps-method-icon--speed i::before { content: ">"; }
.tps-method-icon--rules i::before { content: "#"; }
.tps-method-icon--drawdown i::before { content: "/"; }
.tps-method-icon--size i::before { content: "|||"; font-size: 1rem; letter-spacing: -0.08em; }
.tps-method-icon--payouts i::before { content: "$"; }
.tps-method-icon--platforms i::before { content: "="; }
.tps-method-icon--cap i::before { content: "OK"; font-size: 0.86rem; letter-spacing: 0; }

.tps-method-item h3 {
	margin: 0;
	color: rgb(var(--tps-method-rgb, var(--tps-blue-rgb)));
	font-size: 1.12rem;
	line-height: 1.05;
	text-shadow: 0 0 16px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.32);
	transition: color 180ms ease, text-shadow 180ms ease;
}

.tps-method-item:hover h3,
.tps-method-item:focus-visible h3 {
	color: var(--tps-white);
	text-shadow:
		0 0 14px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.72),
		0 1px 1px rgba(0, 0, 0, 0.84);
}

.tps-method-item p {
	margin: 8px 0 0;
	color: rgba(var(--tps-text-rgb), 0.82);
	font-size: 0.92rem;
	line-height: 1.42;
	transition: color 180ms ease, text-shadow 180ms ease;
}

.tps-method-item:hover p,
.tps-method-item:focus-visible p {
	color: rgba(var(--tps-white-rgb), 0.94);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.82);
}

.tps-method-item__head {
	margin-bottom: 8px;
}

.tps-method-item__head span {
	display: block;
	margin-top: 3px;
	color: rgb(var(--tps-method-rgb, var(--tps-blue-rgb)));
	font-size: 0.86rem;
	font-weight: 850;
	line-height: 1;
	transition: color 180ms ease, text-shadow 180ms ease;
}

.tps-method-item:hover .tps-method-item__head span,
.tps-method-item:focus-visible .tps-method-item__head span {
	color: rgb(var(--tps-method-rgb, var(--tps-blue-rgb)));
	text-shadow:
		0 0 14px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.82),
		0 1px 1px rgba(0, 0, 0, 0.72);
}

.tps-method-item ul {
	display: grid;
	gap: 4px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.tps-method-item li {
	position: relative;
	padding-left: 16px;
	color: rgba(var(--tps-text-rgb), 0.78);
	font-size: 0.83rem;
	line-height: 1.25;
	transition: color 180ms ease, text-shadow 180ms ease;
}

.tps-method-item:hover li,
.tps-method-item:focus-visible li {
	color: rgba(var(--tps-white-rgb), 0.91);
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.78);
}

.tps-method-item li::before {
	content: "";
	position: absolute;
	top: 0.58em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgb(var(--tps-method-rgb, var(--tps-blue-rgb)));
	box-shadow: 0 0 10px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.58);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.tps-method-item:hover li::before,
.tps-method-item:focus-visible li::before {
	box-shadow:
		0 0 10px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.9),
		0 0 18px rgba(var(--tps-method-rgb, var(--tps-blue-rgb)), 0.42);
	transform: scale(1.12);
}

.tps-scoring-methods__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: 18px;
}

.tps-scoring-card {
	position: relative;
	padding: 34px 38px;
	overflow: hidden;
	border-color: rgba(var(--tps-scoring-rgb), 0.42);
	background:
		linear-gradient(145deg, rgba(var(--tps-scoring-rgb), 0.2), rgba(11, 21, 36, 0.88) 44%, rgba(5, 11, 22, 0.92)),
		radial-gradient(circle at 14% 90%, rgba(var(--tps-scoring-rgb), 0.16), transparent 36%),
		rgba(11, 21, 36, 0.82);
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.08),
		inset 0 0 0 1px rgba(var(--tps-scoring-rgb), 0.09),
		0 22px 42px rgba(0, 0, 0, 0.28),
			0 0 34px rgba(var(--tps-scoring-rgb), 0.1);
}

.tps-scoring-card--cost,
.tps-scoring-card--speed,
.tps-scoring-card--rules,
.tps-scoring-card--drawdown,
.tps-scoring-card--size,
.tps-scoring-card--payouts,
.tps-scoring-card--platforms {
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.82);
	background-color: var(--tps-surface-deep);
	background-image: var(--tps-score-card-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	border-radius: 0;
	box-shadow:
		0 24px 46px rgba(0, 0, 0, 0.38),
		0 0 26px rgba(var(--tps-scoring-rgb), 0.14);
	border-color: transparent;
}

.tps-scoring-card--cost {
	--tps-score-card-image: url("../images/rating-rules-cards/score-price-normalized-v13.webp");
}

.tps-scoring-card--speed {
	--tps-score-card-image: url("../images/rating-rules-cards/score-speed-normalized-v13.webp");
}

.tps-scoring-card--rules {
	--tps-score-card-image: url("../images/rating-rules-cards/score-rules-normalized-v13.webp");
}

.tps-scoring-card--drawdown {
	--tps-score-card-image: url("../images/rating-rules-cards/score-drawdown-normalized-v13.webp");
}

.tps-scoring-card--size {
	--tps-score-card-image: url("../images/rating-rules-cards/score-size-normalized-v13.webp");
}

.tps-scoring-card--payouts {
	--tps-score-card-image: url("../images/rating-rules-cards/score-payouts-normalized-v13.webp");
}

.tps-scoring-card--platforms {
	--tps-score-card-image: url("../images/rating-rules-cards/score-platforms-normalized-v13.webp");
}

.tps-scoring-card--cost::after,
.tps-scoring-card--speed::after,
.tps-scoring-card--rules::after,
.tps-scoring-card--drawdown::after,
.tps-scoring-card--size::after,
.tps-scoring-card--payouts::after,
.tps-scoring-card--platforms::after {
	content: none;
}

.tps-scoring-card--cost .tps-scoring-card__art,
.tps-scoring-card--speed .tps-scoring-card__art,
.tps-scoring-card--rules .tps-scoring-card__art,
.tps-scoring-card--drawdown .tps-scoring-card__art,
.tps-scoring-card--size .tps-scoring-card__art,
.tps-scoring-card--payouts .tps-scoring-card__art,
.tps-scoring-card--platforms .tps-scoring-card__art {
	display: none;
	visibility: hidden;
}

.tps-scoring-card--cost .tps-scoring-card__formula,
.tps-scoring-card--speed .tps-scoring-card__formula,
.tps-scoring-card--rules .tps-scoring-card__formula,
.tps-scoring-card--drawdown .tps-scoring-card__formula,
.tps-scoring-card--size .tps-scoring-card__formula,
.tps-scoring-card--payouts .tps-scoring-card__formula,
.tps-scoring-card--platforms .tps-scoring-card__formula {
	max-width: min(390px, calc(100% - 170px));
}

.tps-scoring-card--cost::before,
.tps-scoring-card--speed::before,
.tps-scoring-card--rules::before,
.tps-scoring-card--drawdown::before,
.tps-scoring-card--size::before,
.tps-scoring-card--payouts::before,
.tps-scoring-card--platforms::before {
	content: none;
}

.tps-scoring-card--cost .tps-scoring-card__chart,
.tps-scoring-card--speed .tps-scoring-card__chart,
.tps-scoring-card--rules .tps-scoring-card__chart,
.tps-scoring-card--drawdown .tps-scoring-card__chart,
.tps-scoring-card--size .tps-scoring-card__chart,
.tps-scoring-card--payouts .tps-scoring-card__chart,
.tps-scoring-card--platforms .tps-scoring-card__chart {
	position: absolute;
	top: 20px;
	right: 30px;
	z-index: 4;
	width: 152px;
	gap: 9px;
	padding-top: 0;
	isolation: isolate;
}

.tps-scoring-card--cost .tps-scoring-card__chart::before,
.tps-scoring-card--speed .tps-scoring-card__chart::before,
.tps-scoring-card--rules .tps-scoring-card__chart::before,
.tps-scoring-card--drawdown .tps-scoring-card__chart::before,
.tps-scoring-card--size .tps-scoring-card__chart::before,
.tps-scoring-card--payouts .tps-scoring-card__chart::before,
.tps-scoring-card--platforms .tps-scoring-card__chart::before {
	content: none;
}

.tps-scoring-card--cost .tps-scoring-card__chart span,
.tps-scoring-card--speed .tps-scoring-card__chart span,
.tps-scoring-card--rules .tps-scoring-card__chart span,
.tps-scoring-card--drawdown .tps-scoring-card__chart span,
.tps-scoring-card--size .tps-scoring-card__chart span,
.tps-scoring-card--payouts .tps-scoring-card__chart span,
.tps-scoring-card--platforms .tps-scoring-card__chart span {
	height: 8px;
	background: rgba(3, 10, 22, 0.96);
	border-color: rgba(var(--tps-scoring-rgb), 0.22);
	box-shadow:
		0 0 0 3px rgba(3, 10, 22, 0.92),
		inset 0 0 10px rgba(0, 0, 0, 0.34);
}

.tps-scoring-card--cost .tps-scoring-card__chart span::before,
.tps-scoring-card--speed .tps-scoring-card__chart span::before,
.tps-scoring-card--rules .tps-scoring-card__chart span::before,
.tps-scoring-card--drawdown .tps-scoring-card__chart span::before,
.tps-scoring-card--size .tps-scoring-card__chart span::before,
.tps-scoring-card--payouts .tps-scoring-card__chart span::before,
.tps-scoring-card--platforms .tps-scoring-card__chart span::before {
	box-shadow:
		0 0 12px rgba(var(--tps-scoring-rgb), 0.34),
		0 0 0 1px rgba(var(--tps-scoring-rgb), 0.08);
}

.tps-scoring-card::before {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: calc(var(--tps-radius-sm) - 1px);
	background:
		linear-gradient(90deg, transparent 0 18%, rgba(var(--tps-scoring-rgb), 0.08) 18.2%, transparent 18.8%),
		linear-gradient(0deg, transparent 0 70%, rgba(var(--tps-scoring-rgb), 0.08) 70.2%, transparent 70.8%);
	background-size: 68px 68px;
	opacity: 0.34;
	pointer-events: none;
}

.tps-scoring-card::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: none;
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude;
	-webkit-mask-composite: xor;
	padding: 1px;
	pointer-events: none;
}

.tps-scoring-card.tps-scoring-card--cost::before,
.tps-scoring-card.tps-scoring-card--speed::before,
.tps-scoring-card.tps-scoring-card--rules::before,
.tps-scoring-card.tps-scoring-card--drawdown::before,
.tps-scoring-card.tps-scoring-card--size::before,
.tps-scoring-card.tps-scoring-card--payouts::before,
.tps-scoring-card.tps-scoring-card--platforms::before {
	content: none;
}

.tps-scoring-card.tps-scoring-card--cost::after,
.tps-scoring-card.tps-scoring-card--speed::after,
.tps-scoring-card.tps-scoring-card--rules::after,
.tps-scoring-card.tps-scoring-card--drawdown::after,
.tps-scoring-card.tps-scoring-card--size::after,
.tps-scoring-card.tps-scoring-card--payouts::after,
.tps-scoring-card.tps-scoring-card--platforms::after {
	content: none;
}

.tps-scoring-card > * {
	position: relative;
	z-index: 1;
}

.tps-scoring-card__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 138px;
	gap: 22px;
	align-items: start;
	margin-bottom: 18px;
}

.tps-scoring-card__top span {
	display: block;
	margin-bottom: 5px;
	color: rgb(var(--tps-scoring-rgb));
	font-size: 0.72rem;
	font-weight: 850;
	text-transform: uppercase;
}

.tps-scoring-card h3 {
	margin: 0;
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	letter-spacing: 0;
}

.tps-scoring-card__chart {
	display: grid;
	gap: 9px;
	padding-top: 5px;
}

.tps-scoring-card__chart span {
	display: block;
	width: 100%;
	height: 10px;
	margin: 0;
	background: rgba(var(--tps-white-rgb), 0.065);
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.24);
	border-radius: 999px;
	overflow: hidden;
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.32);
}

.tps-scoring-card__chart span::before {
	content: "";
	display: block;
	width: var(--bar);
	height: 100%;
	background: rgb(var(--tps-scoring-rgb));
	border-radius: inherit;
	box-shadow: 0 0 16px rgba(var(--tps-scoring-rgb), 0.38);
}

.tps-scoring-card__formula {
	max-width: 640px;
	margin: 0 0 22px;
	color: var(--tps-text);
	font-weight: 700;
	line-height: 1.55;
}

.tps-scoring-card__body {
	display: grid;
	grid-template-columns: minmax(150px, 0.65fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
}

.tps-scoring-card__art {
	position: relative;
	min-height: 202px;
	isolation: isolate;
	overflow: hidden;
}

.tps-scoring-card__art::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 8px;
	width: 168px;
	height: 68px;
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.64);
	border-radius: 50%;
	transform: translateX(-50%);
	background:
		radial-gradient(ellipse at 50% 52%, rgba(var(--tps-scoring-rgb), 0.38) 0 11%, transparent 46%),
		repeating-radial-gradient(ellipse at center, transparent 0 13px, rgba(var(--tps-scoring-rgb), 0.32) 14px 15px, transparent 16px 24px),
		linear-gradient(90deg, transparent 0 14%, rgba(var(--tps-scoring-rgb), 0.42) 15% 16%, transparent 17% 83%, rgba(var(--tps-scoring-rgb), 0.32) 84% 85%, transparent 86%);
	box-shadow:
		0 0 20px rgba(var(--tps-scoring-rgb), 0.46),
		0 0 42px rgba(var(--tps-scoring-rgb), 0.22),
		inset 0 0 24px rgba(var(--tps-scoring-rgb), 0.2);
	opacity: 0.95;
}

.tps-scoring-card__art::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 34px;
	width: 148px;
	height: 154px;
	transform: translateX(-50%);
	background:
		linear-gradient(90deg, transparent 0 9%, rgba(var(--tps-scoring-rgb), 0.2) 10% 10.6%, transparent 11.2% 43%, rgba(var(--tps-scoring-rgb), 0.4) 44% 44.8%, transparent 45.6% 68%, rgba(var(--tps-scoring-rgb), 0.2) 69% 69.8%, transparent 70.6%),
		linear-gradient(transparent 0 10%, rgba(var(--tps-scoring-rgb), 0.24) 12% 12.6%, transparent 13.2% 100%),
		radial-gradient(circle at 50% 96%, rgba(var(--tps-scoring-rgb), 0.5) 0 2px, transparent 3px),
		linear-gradient(180deg, transparent, rgba(var(--tps-scoring-rgb), 0.18), transparent);
	opacity: 0.7;
	z-index: 0;
}

.tps-scoring-card__art span,
.tps-scoring-card__art i {
	position: absolute;
	left: 50%;
	z-index: 2;
	display: block;
	color: rgb(var(--tps-scoring-rgb));
	transform: translateX(-50%);
}

.tps-scoring-card__art span {
	bottom: 54px;
	width: 88px;
	height: 92px;
	border: 2px solid rgb(var(--tps-scoring-rgb));
	border-radius: 12px;
	background: rgba(var(--tps-scoring-rgb), 0.04);
	box-shadow:
		0 0 16px rgba(var(--tps-scoring-rgb), 0.52),
		0 0 34px rgba(var(--tps-scoring-rgb), 0.22),
		inset 0 0 18px rgba(var(--tps-scoring-rgb), 0.1);
}

.tps-scoring-card__art i {
	bottom: 34px;
	width: 128px;
	height: 48px;
	border-radius: 50%;
	background:
		radial-gradient(ellipse at center, rgba(var(--tps-scoring-rgb), 0.38) 0 18%, transparent 58%),
		repeating-radial-gradient(ellipse at center, transparent 0 10px, rgba(var(--tps-scoring-rgb), 0.28) 11px 12px, transparent 13px 19px);
	filter: drop-shadow(0 0 14px rgba(var(--tps-scoring-rgb), 0.42));
	opacity: 0.9;
	z-index: 1;
}

.tps-scoring-card__art span::before,
.tps-scoring-card__art span::after,
.tps-scoring-card__art i::before,
.tps-scoring-card__art i::after {
	content: "";
	position: absolute;
	display: block;
}

.tps-scoring-card__art--cost span {
	bottom: 58px;
	width: 60px;
	height: 82px;
	border-radius: 50% / 14%;
	background:
		linear-gradient(180deg, rgba(var(--tps-scoring-rgb), 0.12), rgba(var(--tps-scoring-rgb), 0.03)),
		repeating-linear-gradient(to bottom, transparent 0 16px, rgba(var(--tps-scoring-rgb), 0.9) 17px 19px, transparent 20px 22px);
}

.tps-scoring-card__art--cost span::before,
.tps-scoring-card__art--cost span::after {
	left: -2px;
	width: 60px;
	height: 18px;
	border: 2px solid rgb(var(--tps-scoring-rgb));
	border-radius: 50%;
	background: rgba(var(--tps-scoring-rgb), 0.12);
	box-shadow: 0 0 16px rgba(var(--tps-scoring-rgb), 0.4);
}

.tps-scoring-card__art--cost span::before {
	top: -2px;
}

.tps-scoring-card__art--cost span::after {
	bottom: -2px;
}

.tps-scoring-card__art--speed span {
	bottom: 60px;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 58%, rgba(2, 7, 22, 0.96) 0 27px, transparent 28px),
		radial-gradient(circle at 50% 58%, rgba(var(--tps-scoring-rgb), 0.18) 0 10px, transparent 11px),
		conic-gradient(from 220deg, rgb(var(--tps-scoring-rgb)) 0 35deg, transparent 36deg 75deg, rgba(var(--tps-scoring-rgb), 0.75) 76deg 138deg, transparent 139deg 360deg);
}

.tps-scoring-card__art--speed span::before {
	left: 35px;
	top: 16px;
	width: 4px;
	height: 32px;
	border-radius: 999px;
	background: rgb(var(--tps-scoring-rgb));
	box-shadow: 0 0 12px rgba(var(--tps-scoring-rgb), 0.68);
	transform: rotate(42deg);
	transform-origin: 50% 100%;
}

.tps-scoring-card__art--speed span::after {
	left: 31px;
	top: 41px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: rgb(var(--tps-scoring-rgb));
	box-shadow: 0 0 16px rgba(var(--tps-scoring-rgb), 0.78);
}

.tps-scoring-card__art--speed i::before {
	left: 23px;
	top: -2px;
	width: 82px;
	height: 34px;
	background:
		linear-gradient(90deg, transparent 0 11%, rgba(var(--tps-scoring-rgb), 0.7) 12% 14%, transparent 15% 31%, rgba(var(--tps-scoring-rgb), 0.7) 32% 34%, transparent 35% 50%, rgba(var(--tps-scoring-rgb), 0.7) 51% 53%, transparent 54%),
		linear-gradient(transparent 0 50%, rgba(var(--tps-scoring-rgb), 0.54) 51% 55%, transparent 56%);
	opacity: 0.7;
}

.tps-scoring-card__art--rules span {
	bottom: 55px;
	width: 70px;
	height: 92px;
	border-radius: 12px;
	background:
		linear-gradient(90deg, transparent 0 24px, rgba(var(--tps-scoring-rgb), 0.9) 25px 27px, transparent 28px),
		linear-gradient(90deg, transparent 0 41px, rgba(var(--tps-scoring-rgb), 0.85) 42px 66px, transparent 67px),
		repeating-linear-gradient(to bottom, transparent 0 18px, rgba(var(--tps-scoring-rgb), 0.88) 19px 21px, transparent 22px 29px);
}

.tps-scoring-card__art--rules span::before {
	left: 18px;
	top: -13px;
	width: 32px;
	height: 20px;
	border: 2px solid rgb(var(--tps-scoring-rgb));
	border-radius: 12px 12px 5px 5px;
	background:
		radial-gradient(circle at 50% 0, rgba(var(--tps-scoring-rgb), 0.9) 0 4px, transparent 5px),
		rgba(2, 7, 22, 0.9);
}

.tps-scoring-card__art--rules span::after {
	left: 13px;
	top: 23px;
	width: 16px;
	height: 45px;
	background:
		linear-gradient(135deg, transparent 0 42%, rgb(var(--tps-scoring-rgb)) 43% 53%, transparent 54%),
		linear-gradient(45deg, transparent 0 42%, rgb(var(--tps-scoring-rgb)) 43% 53%, transparent 54%);
	background-size: 16px 13px;
	background-repeat: repeat-y;
}

.tps-scoring-card__art--drawdown span {
	bottom: 54px;
	width: 88px;
	height: 92px;
	border-radius: 0;
	clip-path: polygon(50% 2%, 91% 18%, 84% 72%, 50% 98%, 16% 72%, 9% 18%);
	background: rgba(var(--tps-scoring-rgb), 0.04);
}

.tps-scoring-card__art--drawdown span::before {
	inset: 11px 13px;
	clip-path: polygon(50% 0, 92% 18%, 82% 70%, 50% 96%, 18% 70%, 8% 18%);
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.56);
}

.tps-scoring-card__art--drawdown span::after {
	left: 19px;
	top: 39px;
	width: 52px;
	height: 34px;
	background: currentColor;
	clip-path: polygon(
		0 19%, 5% 13%, 35% 48%, 53% 31%, 83% 64%, 83% 49%,
		100% 82%, 66% 74%, 80% 69%, 52% 39%, 35% 57%, 0 19%
	);
	filter: drop-shadow(0 0 8px rgba(var(--tps-scoring-rgb), 0.58));
}

.tps-scoring-card__art--size span {
	bottom: 52px;
	width: 112px;
	height: 102px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: 0 0 22px rgba(var(--tps-scoring-rgb), 0.42);
}

.tps-scoring-card__art--size span::before,
.tps-scoring-card__art--size span::after {
	width: 48px;
	height: 42px;
	border: 1px solid rgb(var(--tps-scoring-rgb));
	clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
	background:
		linear-gradient(30deg, transparent 0 48%, rgba(var(--tps-scoring-rgb), 0.95) 49% 51%, transparent 52%),
		linear-gradient(150deg, transparent 0 48%, rgba(var(--tps-scoring-rgb), 0.95) 49% 51%, transparent 52%),
		linear-gradient(90deg, transparent 0 49%, rgba(var(--tps-scoring-rgb), 0.85) 50% 51%, transparent 52%),
		rgba(var(--tps-scoring-rgb), 0.05);
	filter: drop-shadow(0 0 10px rgba(var(--tps-scoring-rgb), 0.58));
}

.tps-scoring-card__art--size span::before {
	left: 32px;
	top: 2px;
}

.tps-scoring-card__art--size span::after {
	left: 7px;
	top: 48px;
}

.tps-scoring-card__art--size i::before {
	left: 72px;
	top: -22px;
	width: 48px;
	height: 42px;
	border: 1px solid rgb(var(--tps-scoring-rgb));
	clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
	background:
		linear-gradient(30deg, transparent 0 48%, rgba(var(--tps-scoring-rgb), 0.95) 49% 51%, transparent 52%),
		linear-gradient(150deg, transparent 0 48%, rgba(var(--tps-scoring-rgb), 0.95) 49% 51%, transparent 52%),
		linear-gradient(90deg, transparent 0 49%, rgba(var(--tps-scoring-rgb), 0.85) 50% 51%, transparent 52%),
		rgba(var(--tps-scoring-rgb), 0.05);
	filter: drop-shadow(0 0 10px rgba(var(--tps-scoring-rgb), 0.58));
}

.tps-scoring-card__art--payouts span {
	bottom: 54px;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background:
		radial-gradient(circle, rgba(var(--tps-scoring-rgb), 0.16) 0 43%, transparent 44%),
		radial-gradient(circle, transparent 0 62%, rgba(var(--tps-scoring-rgb), 0.9) 63% 65%, transparent 66%);
}

.tps-scoring-card__art--payouts span::before {
	content: "$";
	inset: 0;
	display: grid;
	place-items: center;
	color: rgb(var(--tps-scoring-rgb));
	font-size: 3.5rem;
	font-weight: 500;
	line-height: 1;
	text-shadow: 0 0 18px rgba(var(--tps-scoring-rgb), 0.8);
}

.tps-scoring-card__art--payouts span::after {
	inset: 10px;
	border: 2px solid rgba(var(--tps-scoring-rgb), 0.58);
	border-radius: 50%;
}

.tps-scoring-card__art--platforms span {
	bottom: 52px;
	width: 112px;
	height: 96px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: 0 0 22px rgba(var(--tps-scoring-rgb), 0.35);
}

.tps-scoring-card__art--platforms span::before,
.tps-scoring-card__art--platforms span::after,
.tps-scoring-card__art--platforms i::before {
	left: 16px;
	width: 80px;
	height: 28px;
	border: 2px solid rgb(var(--tps-scoring-rgb));
	border-radius: 4px;
	clip-path: none;
	background:
		linear-gradient(0deg, rgba(var(--tps-scoring-rgb), 0.12), rgba(var(--tps-scoring-rgb), 0.02));
	filter: drop-shadow(0 0 10px rgba(var(--tps-scoring-rgb), 0.48));
	transform: rotate(-18deg) skewX(28deg);
}

.tps-scoring-card__art--platforms span::before {
	top: 3px;
}

.tps-scoring-card__art--platforms span::after {
	top: 31px;
}

.tps-scoring-card__art--platforms i::before {
	top: 12px;
}

.tps-scoring-card ul {
	display: grid;
	gap: 14px;
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.tps-scoring-card li {
	position: relative;
	padding-left: 22px;
	font-size: 0.9rem;
	line-height: 1.55;
}

.tps-scoring-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgb(var(--tps-scoring-rgb));
	box-shadow: 0 0 14px rgba(var(--tps-scoring-rgb), 0.7);
}

@media (min-width: 641px) {
	.tps-scoring-card--cost,
	.tps-scoring-card--speed,
	.tps-scoring-card--rules,
	.tps-scoring-card--drawdown,
	.tps-scoring-card--size,
	.tps-scoring-card--payouts,
	.tps-scoring-card--platforms {
		min-height: 432px;
	}

	.tps-scoring-card--cost .tps-scoring-card__body,
	.tps-scoring-card--speed .tps-scoring-card__body,
	.tps-scoring-card--rules .tps-scoring-card__body,
	.tps-scoring-card--drawdown .tps-scoring-card__body,
	.tps-scoring-card--size .tps-scoring-card__body,
	.tps-scoring-card--payouts .tps-scoring-card__body,
	.tps-scoring-card--platforms .tps-scoring-card__body {
		display: block;
		position: static;
	}

	.tps-scoring-card--cost .tps-scoring-card__body ul,
	.tps-scoring-card--speed .tps-scoring-card__body ul,
	.tps-scoring-card--rules .tps-scoring-card__body ul,
	.tps-scoring-card--drawdown .tps-scoring-card__body ul,
	.tps-scoring-card--size .tps-scoring-card__body ul,
	.tps-scoring-card--payouts .tps-scoring-card__body ul,
		.tps-scoring-card--platforms .tps-scoring-card__body ul {
			position: absolute;
			top: 164px;
			right: 44px;
			left: 45%;
			z-index: 3;
			gap: 12px;
			align-content: start;
		}
}

.tps-scoring-note {
	padding: 24px;
}

.tps-scoring-note h2 {
	margin: 0 0 10px;
	font-size: 1.4rem;
}

.tps-scoring-note p {
	max-width: 820px;
	margin: 0 0 18px;
	line-height: 1.75;
}

.tps-scoring-details {
	position: relative;
	isolation: isolate;
	padding: 8px 0 0;
}

.tps-nitty-head {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	justify-content: space-between;
	max-width: none;
	margin: 0 0 22px;
	text-align: left;
}

.tps-nitty-head > div {
	max-width: 760px;
}

.tps-nitty-head h2 {
	margin: 0;
	color: var(--tps-text);
	font-size: clamp(1.85rem, 3.35vw, 2.85rem);
	font-weight: 700;
	line-height: 1.06;
	text-shadow:
		0 2px 2px rgba(0, 0, 0, 0.9),
		0 0 18px rgba(var(--tps-white-rgb), 0.18);
}

.tps-nitty-head h2 span {
	color: rgba(226, 235, 255, 0.58);
	font-size: 0.72em;
	font-weight: 600;
}

.tps-nitty-head p {
	max-width: 650px;
	margin: 10px 0 0;
	color: rgba(var(--tps-text-rgb), 0.78);
	font-size: 1.02rem;
	line-height: 1.55;
}

.tps-nitty-expand-all {
	--tps-method-rgb: 108, 71, 255;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid rgba(var(--tps-method-rgb), 0.54);
	border-radius: 6px;
	background: rgba(8, 9, 25, 0.74);
	color: rgba(218, 229, 255, 0.9);
	font: 800 0.75rem/1 'Inter', sans-serif;
	cursor: pointer;
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.05),
		0 0 22px rgba(var(--tps-method-rgb), 0.08);
	transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.tps-nitty-expand-all span[aria-hidden="true"] {
	color: rgb(var(--tps-method-rgb));
	font-size: 0.92rem;
	line-height: 1;
}

.tps-nitty-expand-all:hover,
.tps-nitty-expand-all:focus-visible {
	border-color: rgba(var(--tps-method-rgb), 0.9);
	color: var(--tps-white);
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.08),
		0 0 24px rgba(var(--tps-method-rgb), 0.18);
	outline: none;
}

.tps-nitty-layout {
	--tps-nitty-sticky-offset: var(--tps-header-height);
	display: grid;
	gap: 12px;
	min-width: 0;
}

.tps-nitty-nav {
	position: sticky;
	top: var(--tps-nitty-sticky-offset);
	z-index: 5;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: -4px 0 0;
	padding: 4px 0 10px;
	overflow: visible;
	background: linear-gradient(180deg, #00040c, rgba(0, 4, 12, 0.98));
	border-bottom: 1px solid rgba(var(--tps-blue-rgb), 0.24);
	box-shadow: 0 18px 22px rgba(0, 0, 0, 0.42);
	scrollbar-width: thin;
	scrollbar-color: rgba(var(--tps-blue-rgb), 0.48) rgba(var(--tps-white-rgb), 0.04);
}

.tps-nitty-tab {
	--tps-method-rgb: var(--tps-scoring-rgb, var(--tps-blue-rgb));
	appearance: none;
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	min-width: 0;
	min-height: 46px;
	padding: 8px 10px;
	overflow: hidden;
	color: var(--tps-text);
	font: inherit;
	text-align: left;
	background:
		radial-gradient(circle at 10% 50%, rgba(var(--tps-scoring-rgb), 0.18), transparent 42%),
		linear-gradient(112deg, rgba(var(--tps-scoring-rgb), 0.09), rgba(0, 0, 0, 0.24) 58%, rgba(var(--tps-scoring-rgb), 0.04)),
		rgba(0, 0, 0, 0.38);
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.28);
	border-radius: 5px;
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.04),
		0 0 24px rgba(var(--tps-scoring-rgb), 0.055);
	cursor: pointer;
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease,
		background 180ms ease;
}

.tps-nitty-tab::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	z-index: 0;
	background: rgb(var(--tps-scoring-rgb));
	opacity: 0;
	box-shadow: 0 0 16px rgba(var(--tps-scoring-rgb), 0.82);
	transition: opacity 180ms ease, width 180ms ease;
}

.tps-nitty-tab::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(var(--tps-scoring-rgb), 0.22), transparent 42%),
		linear-gradient(180deg, rgba(var(--tps-white-rgb), 0.08), transparent 48%);
	opacity: 0;
	box-shadow:
		inset 0 -2px 0 rgb(var(--tps-scoring-rgb)),
		inset 0 0 0 1px rgba(var(--tps-scoring-rgb), 0.42);
	transition: opacity 180ms ease;
}

.tps-nitty-tab > * {
	position: relative;
	z-index: 1;
}

.tps-nitty-tab:hover,
.tps-nitty-tab:focus-visible {
	border-color: rgba(var(--tps-scoring-rgb), 0.72);
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.07),
		inset 0 0 0 1px rgba(var(--tps-scoring-rgb), 0.1),
		0 0 26px rgba(var(--tps-scoring-rgb), 0.16);
}

.tps-nitty-tab:focus-visible {
	outline: 2px solid rgba(var(--tps-scoring-rgb), 0.72);
	outline-offset: 2px;
}

.tps-nitty-tab.is-active {
	border-color: rgba(var(--tps-scoring-rgb), 0.96);
	background:
		radial-gradient(circle at 12% 50%, rgba(var(--tps-scoring-rgb), 0.34), transparent 46%),
		linear-gradient(112deg, rgba(var(--tps-scoring-rgb), 0.18), rgba(0, 0, 0, 0.18) 58%, rgba(var(--tps-scoring-rgb), 0.08)),
		rgba(2, 8, 18, 0.74);
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.1),
		inset 0 0 0 1px rgba(var(--tps-scoring-rgb), 0.26),
		0 0 0 1px rgba(var(--tps-scoring-rgb), 0.32),
		0 0 30px rgba(var(--tps-scoring-rgb), 0.3),
		0 10px 28px rgba(0, 0, 0, 0.34);
}

.tps-nitty-tab.is-active::before {
	width: 5px;
	opacity: 1;
}

.tps-nitty-tab.is-active::after {
	opacity: 1;
}

.tps-nitty-tab .tps-method-icon {
	width: 30px;
	height: 30px;
	transition: filter 180ms ease, transform 180ms ease;
}

.tps-nitty-tab.is-active .tps-method-icon {
	filter:
		drop-shadow(0 0 10px rgba(var(--tps-scoring-rgb), 0.72))
		drop-shadow(0 0 22px rgba(var(--tps-scoring-rgb), 0.36));
	transform: scale(1.08);
}

.tps-nitty-tab .tps-method-icon i {
	width: 20px;
	height: 20px;
}

.tps-nitty-tab .tps-method-icon i::before {
	font-size: 0.72rem;
}

.tps-nitty-tab .tps-method-icon--size i::before {
	font-size: 0.52rem;
}

.tps-nitty-tab .tps-method-icon--cap i::before {
	font-size: 0.48rem;
}

.tps-nitty-tab__copy {
	display: grid;
	min-width: 0;
}

.tps-nitty-tab__copy strong {
	color: var(--tps-text);
	font-size: 0.76rem;
	font-weight: 850;
	line-height: 1.15;
	white-space: normal;
	overflow-wrap: anywhere;
}

.tps-nitty-tab.is-active .tps-nitty-tab__copy strong {
	color: var(--tps-white);
	text-shadow: 0 0 12px rgba(var(--tps-scoring-rgb), 0.62);
}

.tps-nitty-tab small,
.tps-nitty-overview small,
.tps-nitty-row__summary small {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-height: 22px;
	padding: 4px 7px;
	color: rgb(var(--tps-scoring-rgb));
	font-size: 0.58rem;
	font-weight: 850;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	background: rgba(8, 11, 24, 0.66);
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.34);
	border-radius: 6px;
	box-shadow: inset 0 1px 0 rgba(var(--tps-white-rgb), 0.04);
}

.tps-nitty-tab.is-active small {
	background: rgba(var(--tps-scoring-rgb), 0.18);
	border-color: rgba(var(--tps-scoring-rgb), 0.78);
	color: var(--tps-white);
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.1),
		0 0 16px rgba(var(--tps-scoring-rgb), 0.28);
	text-shadow: 0 0 10px rgba(var(--tps-scoring-rgb), 0.72);
}

.tps-nitty-stage {
	--tps-scoring-rgb: 24, 130, 255;
	scroll-margin-top: calc(var(--tps-header-height) + 80px);
}

.tps-nitty-stage[hidden],
.tps-nitty-stage-panel[hidden],
.tps-nitty-group-panel[hidden],
.tps-nitty-row[hidden],
.tps-nitty-row__body[hidden] {
	display: none;
}

.tps-nitty-stage-panel {
	display: grid;
	grid-template-columns: minmax(240px, 0.6fr) minmax(330px, 0.82fr) minmax(520px, 1.5fr);
	gap: 16px;
	padding: 14px;
	background:
		radial-gradient(circle at 8% 0, rgba(var(--tps-scoring-rgb), 0.2), transparent 32%),
		linear-gradient(150deg, rgba(var(--tps-scoring-rgb), 0.09), rgba(3, 7, 16, 0.86) 48%, rgba(0, 0, 0, 0.86)),
		rgba(5, 9, 18, 0.92);
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.34);
	border-radius: 7px;
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.05),
		0 0 30px rgba(var(--tps-scoring-rgb), 0.07);
	overflow: hidden;
}

.tps-nitty-overview,
.tps-nitty-groups,
.tps-nitty-group-panel,
.tps-nitty-inline-group {
	--tps-method-rgb: var(--tps-scoring-rgb, var(--tps-blue-rgb));
	position: relative;
	min-width: 0;
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.2);
	border-radius: 6px;
	background:
		linear-gradient(180deg, rgba(var(--tps-scoring-rgb), 0.055), transparent 72%),
		rgba(3, 7, 14, 0.68);
	box-shadow: inset 0 1px 0 rgba(var(--tps-white-rgb), 0.035);
}

.tps-nitty-overview {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 18px;
	padding: 26px 20px 22px;
	text-align: center;
}

.tps-nitty-overview .tps-method-icon {
	width: 86px;
	height: 86px;
}

.tps-nitty-overview .tps-method-icon i {
	width: 52px;
	height: 52px;
}

.tps-nitty-overview .tps-method-icon i::before {
	font-size: 1.42rem;
}

.tps-nitty-overview h3,
.tps-nitty-group-panel h4,
.tps-nitty-inline-group h3 {
	margin: 0;
	color: var(--tps-text-bright);
	font-size: 1.14rem;
	font-weight: 900;
	line-height: 1.14;
}

.tps-nitty-overview h3 {
	white-space: nowrap;
}

.tps-nitty-overview h3::after {
	content: "";
	display: block;
	width: 66px;
	height: 2px;
	margin: 18px auto 0;
	background: linear-gradient(90deg, rgb(var(--tps-scoring-rgb)), transparent);
	box-shadow: 0 0 16px rgba(var(--tps-scoring-rgb), 0.56);
}

.tps-nitty-overview p {
	margin: 0;
	color: rgba(226, 235, 255, 0.76);
	font-size: 0.86rem;
	line-height: 1.55;
}

.tps-nitty-overview small {
	min-width: 104px;
	color: rgb(var(--tps-scoring-rgb));
}

.tps-nitty-groups {
	display: grid;
	align-content: start;
	gap: 1px;
	padding: 0;
	overflow: hidden;
}

.tps-nitty-group-btn {
	appearance: none;
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 16px;
	gap: 10px;
	align-items: center;
	min-height: 42px;
	padding: 9px 12px 9px 16px;
	border: 0;
	border-bottom: 1px solid rgba(var(--tps-scoring-rgb), 0.12);
	background: transparent;
	color: var(--tps-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.tps-nitty-group-btn::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 0;
	width: 0;
	background: rgb(var(--tps-scoring-rgb));
	box-shadow: 0 0 14px rgba(var(--tps-scoring-rgb), 0.7);
	opacity: 0;
	transition: width 180ms ease, opacity 180ms ease;
}

.tps-nitty-group-btn > * {
	position: relative;
	z-index: 1;
}

.tps-nitty-group-btn:last-child {
	border-bottom: 0;
}

.tps-nitty-group-btn::after {
	content: "";
	position: relative;
	z-index: 1;
	width: 8px;
	height: 8px;
	border-right: 2px solid rgb(var(--tps-scoring-rgb));
	border-bottom: 2px solid rgb(var(--tps-scoring-rgb));
	transform: rotate(-45deg);
}

.tps-nitty-group-btn span {
	min-width: 0;
	font-size: 0.82rem;
	font-weight: 850;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tps-nitty-group-btn:hover,
.tps-nitty-group-btn:focus-visible,
.tps-nitty-group-btn.is-active {
	background: rgba(var(--tps-scoring-rgb), 0.08);
}

.tps-nitty-group-btn.is-active {
	background:
		linear-gradient(90deg, rgba(var(--tps-scoring-rgb), 0.16), rgba(var(--tps-scoring-rgb), 0.045) 58%, transparent),
		rgba(var(--tps-scoring-rgb), 0.05);
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-scoring-rgb), 0.18),
		0 0 18px rgba(var(--tps-scoring-rgb), 0.06);
}

.tps-nitty-group-btn.is-active::before {
	width: 4px;
	opacity: 1;
}

.tps-nitty-group-btn.is-active span {
	color: var(--tps-white);
	text-shadow: 0 0 12px rgba(var(--tps-scoring-rgb), 0.5);
}

.tps-nitty-group-btn:focus-visible {
	outline: 2px solid rgba(var(--tps-scoring-rgb), 0.62);
	outline-offset: -2px;
}

.tps-nitty-table-panels {
	min-width: 0;
}

.tps-nitty-group-panel {
	overflow: hidden;
}

.tps-nitty-group-panel header,
.tps-nitty-inline-group header {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	min-width: 0;
	padding: 16px 18px;
	border-bottom: 1px solid rgba(var(--tps-scoring-rgb), 0.14);
}

.tps-scoring-table-wrap {
	overflow-x: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(var(--tps-scoring-rgb), 0.55) rgba(var(--tps-white-rgb), 0.06);
}

.tps-scoring-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	font-size: 0.86rem;
}

.tps-scoring-table--compact {
	min-width: 0;
}

.tps-scoring-table th,
.tps-scoring-table td {
	padding: 10px 14px;
	border-bottom: 1px solid rgba(var(--tps-white-rgb), 0.065);
	text-align: left;
	vertical-align: top;
}

.tps-scoring-table thead th {
	color: rgba(245, 248, 255, 0.9);
	font-size: 0.72rem;
	font-weight: 850;
	background: rgba(2, 6, 14, 0.5);
	text-transform: uppercase;
}

.tps-scoring-table tbody th {
	width: 26%;
	color: rgba(245, 248, 255, 0.9);
	font-weight: 750;
}

.tps-nitty-group-panel .tps-scoring-table thead th:first-child,
.tps-nitty-inline-group .tps-scoring-table thead th:first-child,
.tps-nitty-group-panel .tps-scoring-table tbody th,
.tps-nitty-inline-group .tps-scoring-table tbody th {
	width: 58%;
}

.tps-scoring-table td {
	color: var(--tps-scoring-soft-copy);
}

.tps-scoring-table td.is-positive {
	color: var(--tps-cyan);
	font-weight: 800;
	text-shadow: 0 0 12px rgba(var(--tps-cyan-rgb), 0.35);
}

.tps-scoring-table td.is-negative {
	color: var(--tps-danger);
	font-weight: 800;
	text-shadow: 0 0 12px rgba(255, 93, 93, 0.28);
}

.tps-scoring-table tr:last-child th,
.tps-scoring-table tr:last-child td {
	border-bottom: 0;
}

.tps-nitty-row-list {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.tps-nitty-layout:not(.is-expanded-all) .tps-nitty-row-list {
	display: none;
}

.tps-nitty-layout.is-expanded-all .tps-nitty-row-list {
	display: grid;
}

.tps-nitty-row {
	--tps-method-rgb: var(--tps-scoring-rgb, var(--tps-blue-rgb));
	min-width: 0;
	background:
		radial-gradient(circle at 8% 50%, rgba(var(--tps-scoring-rgb), 0.13), transparent 32%),
		linear-gradient(112deg, rgba(var(--tps-scoring-rgb), 0.055), rgba(0, 0, 0, 0.28) 58%, rgba(var(--tps-scoring-rgb), 0.035)),
		rgba(0, 0, 0, 0.42);
	border: 1px solid rgba(var(--tps-scoring-rgb), 0.22);
	border-radius: 5px;
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.045),
		0 0 22px rgba(var(--tps-scoring-rgb), 0.045);
	overflow: hidden;
}

.tps-nitty-row__summary {
	appearance: none;
	position: relative;
	display: grid;
	grid-template-columns: 34px minmax(160px, 0.16fr) minmax(0, 1fr) auto 22px;
	gap: 12px;
	align-items: center;
	width: 100%;
	min-height: 38px;
	padding: 5px 12px;
	border: 0;
	background: transparent;
	color: var(--tps-text);
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.tps-nitty-row__summary:hover,
.tps-nitty-row__summary:focus-visible {
	background: rgba(var(--tps-scoring-rgb), 0.08);
}

.tps-nitty-row__summary:focus-visible {
	outline: 2px solid rgba(var(--tps-scoring-rgb), 0.62);
	outline-offset: -2px;
}

.tps-nitty-row__summary .tps-method-icon {
	width: 28px;
	height: 28px;
}

.tps-nitty-row__summary .tps-method-icon i {
	width: 18px;
	height: 18px;
}

.tps-nitty-row__summary .tps-method-icon i::before {
	font-size: 0.64rem;
}

.tps-nitty-row__copy {
	display: contents;
}

.tps-nitty-row__copy strong {
	color: var(--tps-text-bright);
	font-size: 0.78rem;
	font-weight: 850;
	line-height: 1.1;
}

.tps-nitty-row__copy em {
	min-width: 0;
	overflow: hidden;
	color: rgba(226, 235, 255, 0.78);
	font-size: 0.74rem;
	font-style: normal;
	line-height: 1.35;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tps-nitty-row__summary > i {
	width: 9px;
	height: 9px;
	border-right: 2px solid rgb(var(--tps-scoring-rgb));
	border-bottom: 2px solid rgb(var(--tps-scoring-rgb));
	transform: rotate(45deg);
	transition: transform 180ms ease;
}

.tps-nitty-row.is-expanded .tps-nitty-row__summary > i {
	transform: rotate(225deg);
}

.tps-nitty-row__body {
	display: grid;
	gap: 10px;
	padding: 12px;
	border-top: 1px solid rgba(var(--tps-scoring-rgb), 0.14);
}

.tps-nitty-inline-group {
	overflow: hidden;
}

@media (max-width: 1220px) {
	.tps-nitty-nav {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tps-nitty-stage-panel {
		grid-template-columns: minmax(220px, 0.56fr) minmax(300px, 0.78fr) minmax(420px, 1.36fr);
	}
}

@media (max-width: 900px) {
	.tps-scoring-hero,
	.tps-scoring-methods__grid,
	.tps-method-grid {
		grid-template-columns: 1fr;
	}

	.tps-scoring-hero__copy {
		min-height: 0;
	}

	.tps-scoring-hero__panel {
		min-height: 260px;
	}

	.tps-nitty-head {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
	}

	.tps-nitty-expand-all {
		width: fit-content;
	}

	.tps-nitty-nav {
		position: relative;
		top: auto;
		display: flex;
		gap: 8px;
		max-height: none;
		margin: 0;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 2px 2px 8px;
		scrollbar-width: thin;
		scrollbar-color: rgba(var(--tps-blue-rgb), 0.6) rgba(var(--tps-white-rgb), 0.05);
	}

	.tps-nitty-tab {
		grid-template-columns: 34px minmax(92px, 1fr) auto;
		min-width: 150px;
		min-height: 44px;
	}

	.tps-nitty-tab small {
		min-height: 22px;
		padding: 4px 7px;
		font-size: 0.58rem;
	}

	.tps-nitty-stage-panel {
		grid-template-columns: 1fr;
	}

	.tps-nitty-overview {
		justify-items: start;
		text-align: left;
	}

	.tps-nitty-overview h3::after {
		margin-right: auto;
		margin-left: 0;
	}

	.tps-nitty-row__summary {
		grid-template-columns: 30px minmax(0, 1fr) auto 20px;
	}

	.tps-nitty-row__copy {
		display: grid;
		gap: 3px;
	}

	.tps-nitty-row__copy em {
		white-space: normal;
	}
}

@media (max-width: 640px) {
	.tps-scoring-page {
		gap: 24px;
	}

	.tps-scoring-methods {
		padding-right: 18px;
		padding-left: 18px;
	}

	.tps-scoring-details {
		padding-right: 18px;
		padding-left: 18px;
	}

	.tps-scoring-hero,
	.tps-scoring-card,
	.tps-scoring-note {
		padding: 24px 18px;
	}

	.tps-scoring-hero h1 {
		font-size: clamp(2.25rem, 15vw, 3.25rem);
	}

	.tps-scoring-scorecard {
		gap: 12px;
		width: min(100%, 330px);
		min-height: 0;
		padding: 17px 15px 19px;
		border-radius: 18px;
	}

	.tps-scoring-scorecard__tag {
		min-height: 13px;
		padding: 0 24px;
	}

	.tps-scoring-scorecard__tag strong {
		font-size: 0.62rem;
		letter-spacing: 0.08em;
	}

	.tps-scoring-scorecard__tag small {
		font-size: 0.66rem;
	}

	.tps-scoring-scorecard__mini-icon {
		width: 25px;
		height: 25px;
	}

	.tps-scoring-scorecard__metrics {
		gap: 9px;
	}

	.tps-scoring-scorecard__metric {
		grid-template-columns: 39px minmax(0, 1fr) 45px;
		gap: 9px;
		min-height: 73px;
		padding: 10px 10px;
		border-radius: 11px;
	}

	.tps-scoring-scorecard__icon {
		width: 35px;
		height: 35px;
		border-radius: 9px;
	}

	.tps-scoring-scorecard__copy {
		gap: 5px;
		padding-left: 9px;
	}

	.tps-scoring-scorecard__copy b {
		font-size: 0.66rem;
	}

	.tps-scoring-scorecard__copy small {
		font-size: 0.53rem;
	}

	.tps-scoring-scorecard__copy i {
		width: min(100%, 145px);
		min-height: 10px;
	}

	.tps-scoring-scorecard__value em {
		font-size: 1.31rem;
	}

	.tps-scoring-scorecard__value small {
		font-size: 0.56rem;
	}

	.tps-scoring-methods .tps-scoring-section-head {
		margin-bottom: 18px;
		text-align: left;
	}

	.tps-scoring-methods .tps-scoring-section-head .tps-scoring-kicker {
		margin-left: 0;
	}

	.tps-scoring-methods .tps-scoring-section-head h2 {
		font-size: clamp(1.75rem, 9vw, 2.35rem);
	}

	.tps-scoring-methods .tps-scoring-section-head p {
		margin-left: 0;
		font-size: 0.94rem;
	}

	.tps-method-item {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 12px;
		padding: 14px;
	}

	.tps-method-icon {
		width: 48px;
		height: 48px;
	}

	.tps-method-icon i {
		width: 30px;
		height: 30px;
	}

	.tps-method-icon i::before {
		font-size: 1.1rem;
	}

	.tps-method-icon--size i::before {
		font-size: 0.76rem;
	}

	.tps-method-icon--cap i::before {
		font-size: 0.68rem;
	}

	.tps-method-item h3 {
		font-size: 1rem;
	}

	.tps-method-item p {
		font-size: 0.86rem;
	}

	.tps-method-item li {
		font-size: 0.8rem;
	}

	.tps-nitty-head {
		align-items: flex-start;
		gap: 12px;
		margin-bottom: 18px;
	}

	.tps-nitty-head h2 {
		font-size: clamp(1.75rem, 9vw, 2.35rem);
	}

	.tps-nitty-head h2 span {
		display: block;
		margin-top: 3px;
	}

	.tps-nitty-head p {
		font-size: 0.94rem;
	}

	.tps-nitty-layout {
		gap: 12px;
	}

	.tps-nitty-tab {
		grid-template-columns: 28px minmax(78px, 1fr) auto;
		gap: 7px;
		min-width: 132px;
		min-height: 40px;
		padding: 6px 8px;
	}

	.tps-nitty-tab .tps-method-icon {
		width: 26px;
		height: 26px;
	}

	.tps-nitty-tab .tps-method-icon i {
		width: 17px;
		height: 17px;
	}

	.tps-nitty-tab .tps-method-icon i::before {
		font-size: 0.62rem;
	}

	.tps-nitty-tab__copy strong {
		font-size: 0.66rem;
		line-height: 1.1;
	}

	.tps-nitty-tab small {
		font-size: 0.62rem;
	}

	.tps-nitty-stage-panel {
		gap: 10px;
		padding: 10px;
	}

	.tps-nitty-overview {
		gap: 12px;
		padding: 18px 14px;
	}

	.tps-nitty-overview .tps-method-icon {
		width: 58px;
		height: 58px;
	}

	.tps-nitty-overview .tps-method-icon i {
		width: 36px;
		height: 36px;
	}

	.tps-nitty-overview h3,
	.tps-nitty-group-panel h4,
	.tps-nitty-inline-group h3 {
		font-size: 1rem;
	}

	.tps-nitty-overview h3 {
		white-space: normal;
	}

	.tps-nitty-overview p {
		font-size: 0.82rem;
	}

	.tps-nitty-group-btn {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 11px 38px 11px 14px;
	}

	.tps-nitty-group-btn span {
		overflow: visible;
		text-overflow: clip;
		white-space: normal;
	}

	.tps-nitty-group-btn::after {
		position: absolute;
		right: 16px;
		top: 50%;
		transform: translateY(-50%) rotate(-45deg);
	}

	.tps-nitty-group-panel header,
	.tps-nitty-inline-group header {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
		padding: 13px 14px;
	}

	.tps-nitty-row__summary {
		grid-template-columns: 28px minmax(0, 1fr) auto;
		gap: 9px;
		padding: 9px 10px;
	}

	.tps-nitty-row__summary small {
		grid-column: 2;
		width: fit-content;
	}

	.tps-nitty-row__summary > i {
		grid-column: 3;
		grid-row: 1 / span 2;
	}

	.tps-nitty-row__body {
		padding: 10px;
	}

	.tps-scoring-card__top {
		grid-template-columns: 1fr;
	}

	.tps-scoring-card__body {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.tps-scoring-card__art {
		min-height: 154px;
	}

	.tps-scoring-card__art::before {
		width: 130px;
		height: 52px;
	}

	.tps-scoring-card__art span {
		transform: translateX(-50%) scale(0.84);
		transform-origin: center bottom;
	}

	.tps-scoring-card__chart {
		width: 100%;
	}

	.tps-scoring-card--cost,
	.tps-scoring-card--speed,
	.tps-scoring-card--rules,
	.tps-scoring-card--drawdown,
	.tps-scoring-card--size,
	.tps-scoring-card--payouts,
	.tps-scoring-card--platforms {
		min-height: 460px;
		padding: 24px 22px;
	}

	.tps-scoring-card--cost .tps-scoring-card__top,
	.tps-scoring-card--speed .tps-scoring-card__top,
	.tps-scoring-card--rules .tps-scoring-card__top,
	.tps-scoring-card--drawdown .tps-scoring-card__top,
	.tps-scoring-card--size .tps-scoring-card__top,
	.tps-scoring-card--payouts .tps-scoring-card__top,
	.tps-scoring-card--platforms .tps-scoring-card__top {
		grid-template-columns: minmax(0, 1fr) 104px;
		gap: 12px;
		margin-bottom: 18px;
	}

	.tps-scoring-card--cost .tps-scoring-card__formula,
	.tps-scoring-card--speed .tps-scoring-card__formula,
	.tps-scoring-card--rules .tps-scoring-card__formula,
	.tps-scoring-card--drawdown .tps-scoring-card__formula,
	.tps-scoring-card--size .tps-scoring-card__formula,
	.tps-scoring-card--payouts .tps-scoring-card__formula,
	.tps-scoring-card--platforms .tps-scoring-card__formula {
		max-width: calc(100% - 156px);
		margin-bottom: 18px;
		font-size: 0.86rem;
		line-height: 1.45;
	}

	.tps-scoring-card--cost .tps-scoring-card__body,
	.tps-scoring-card--speed .tps-scoring-card__body,
	.tps-scoring-card--rules .tps-scoring-card__body,
	.tps-scoring-card--drawdown .tps-scoring-card__body,
	.tps-scoring-card--size .tps-scoring-card__body,
	.tps-scoring-card--payouts .tps-scoring-card__body,
	.tps-scoring-card--platforms .tps-scoring-card__body {
		grid-template-columns: minmax(92px, 0.78fr) minmax(0, 1fr);
		gap: 14px;
		align-items: end;
	}

	.tps-scoring-card--cost .tps-scoring-card__art,
	.tps-scoring-card--speed .tps-scoring-card__art,
	.tps-scoring-card--rules .tps-scoring-card__art,
	.tps-scoring-card--drawdown .tps-scoring-card__art,
	.tps-scoring-card--size .tps-scoring-card__art,
	.tps-scoring-card--payouts .tps-scoring-card__art,
	.tps-scoring-card--platforms .tps-scoring-card__art {
		display: block;
		visibility: hidden;
		min-height: 170px;
	}

	.tps-scoring-card--cost li,
	.tps-scoring-card--speed li,
	.tps-scoring-card--rules li,
	.tps-scoring-card--drawdown li,
	.tps-scoring-card--size li,
	.tps-scoring-card--payouts li,
	.tps-scoring-card--platforms li {
		padding-left: 16px;
		font-size: 0.78rem;
		line-height: 1.42;
	}

	.tps-scoring-table-wrap {
		overflow-x: visible;
	}

	.tps-scoring-table {
		min-width: 0;
		font-size: 0.82rem;
	}

	.tps-scoring-table,
	.tps-scoring-table thead,
	.tps-scoring-table tbody,
	.tps-scoring-table tr,
	.tps-scoring-table th,
	.tps-scoring-table td {
		display: block;
		width: 100%;
	}

	.tps-scoring-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tps-scoring-table tbody tr {
		padding: 11px 14px;
		border-bottom: 1px solid var(--tps-border-subtle);
	}

	.tps-scoring-table tbody tr:last-child {
		border-bottom: 0;
	}

	.tps-scoring-table tbody th,
	.tps-scoring-table tbody td {
		width: 100%;
		padding: 0;
		border-bottom: 0;
	}

	.tps-nitty-group-panel .tps-scoring-table thead th:first-child,
	.tps-nitty-inline-group .tps-scoring-table thead th:first-child,
	.tps-nitty-group-panel .tps-scoring-table tbody th,
	.tps-nitty-inline-group .tps-scoring-table tbody th {
		width: 100%;
	}

	.tps-scoring-table tbody th {
		margin-bottom: 5px;
	}

	.tps-scoring-table tbody td + td {
		margin-top: 4px;
	}

}

/* ── Firms Listing ────────────────────────────────────────────────────── */

.tps-firms-hero {
	padding:    60px 0 40px;
	background: var(--tps-base);
	border-bottom: 1px solid var(--tps-border-subtle);
}
.tps-firms-hero__title {
	font-size:   2rem;
	font-weight: 800;
	color:       var(--tps-text);
	margin:      0 0 10px;
}
.tps-firms-hero__sub {
	font-size: 0.95rem;
	color:     var(--tps-muted);
	max-width: 560px;
	margin:    0;
}

.tps-firms-listing {
	padding: 32px 0 80px;
	background: var(--tps-base);
}

.tps-firms-size-control {
	display: flex;
	justify-content: center;
	margin: 0 0 28px;
}

.tps-firms-size-control .tps-hp-account-size {
	margin-top: 0;
}

/* Filter bar */
.tps-firms-filters {
	position: relative;
	z-index: 120;
	display:     flex;
	align-items: center;
	flex-wrap:   wrap;
	gap:         10px;
	margin: -10px 0 24px;
	padding: 10px 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.9));
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(var(--tps-blue-rgb), 0.08);
}

.tps-firms-filters.tps-is-fixed {
	position: fixed;
	margin: 0;
	box-sizing: border-box;
}

.tps-home-sticky-placeholder {
	display: none;
}

.tps-home-sticky-placeholder.is-active {
	display: block;
}

.tps-home-filter-size-host {
	display: flex;
	align-items: center;
	min-width: 0;
}

.tps-firms-filters__label {
	font-size:   0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color:       var(--tps-muted-2);
	margin-right: 4px;
}

.tps-filter-btn {
	display:         inline-flex;
	align-items:     center;
	gap:             6px;
	padding:         8px 16px;
	background:      rgba(var(--tps-white-rgb),0.04);
	border:          1px solid var(--tps-border-subtle);
	border-radius:   8px;
	color:           var(--tps-muted);
	font-size:       0.8rem;
	font-weight:     500;
	font-family:     inherit;
	cursor:          pointer;
	transition:      background 0.15s, border-color 0.15s, color 0.15s;
}
.tps-filter-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.tps-filter-btn:hover:not(:disabled) {
	background:   var(--tps-primary-dim);
	border-color: var(--tps-border);
	color:        var(--tps-primary);
}
.tps-filter-btn.is-active {
	background:   var(--tps-primary-dim);
	border-color: var(--tps-border);
	color:        var(--tps-primary);
}
/* Direction arrow on active sort buttons */
.tps-filter-btn.is-active[data-dir="asc"]::after  { content: ' ↑'; font-size: 0.7rem; }
.tps-filter-btn.is-active[data-dir="desc"]::after { content: ' ↓'; font-size: 0.7rem; }

.tps-filter-btn--disabled,
.tps-filter-btn:disabled {
	opacity: 0.4;
	cursor:  not-allowed;
}
.tps-filter-btn--reset {
	margin-left:  auto;
	border-color: transparent;
	background:   transparent;
	color:        var(--tps-muted-2);
	font-size:    0.75rem;
}
.tps-filter-btn--reset:hover {
	color:       var(--tps-text);
	background:  transparent;
	border-color: transparent;
}

/* Favorable badge on firm name */
.tps-favorable-badge,
.tps-quickest-badge,
.tps-lowest-cost-badge,
.tps-firm-feature-badge {
	display:        inline-block;
	font-size:      0.6rem;
	font-weight:    700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	border-radius:  99px;
	padding:        2px 8px;
	margin-left:    8px;
	vertical-align: middle;
}
.tps-favorable-badge {
	color:      var(--tps-success-bright);
	background: rgba(134,239,172,0.1);
	border:     1px solid rgba(134,239,172,0.2);
}
.tps-quickest-badge {
	color:      var(--tps-primary);
	background: rgba(var(--tps-cyan-rgb),0.08);
	border:     1px solid rgba(var(--tps-cyan-rgb),0.2);
}
.tps-lowest-cost-badge {
	color:      var(--tps-gold);
	background: rgba(var(--tps-gold-rgb),0.08);
	border:     1px solid rgba(var(--tps-gold-rgb),0.2);
}

/* Highlighted row when designated as most favorable */
.tps-firm-row--favorable {
	border-color: rgba(134,239,172,0.2);
}

.tps-firms-grid {
	display:        flex;
	flex-direction: column;
	gap:            16px;
}

.tps-firm-row {
	display:       grid;
	grid-template-columns: 1fr 280px auto;
	align-items:   center;
	gap:           32px;
	background:    var(--tps-surface);
	border:        1px solid var(--tps-border-subtle);
	border-radius: 14px;
	padding:       28px 32px;
	transition:    border-color 0.2s, box-shadow 0.2s;
}
.tps-firm-row:hover {
	border-color: var(--tps-border);
	box-shadow:   0 0 20px rgba(var(--tps-cyan-rgb),0.04);
}

.tps-firm-row__identity {
	display:        flex;
	flex-direction: column;
	align-items:    flex-start;
}

.tps-firm-row__logo {
	display:         inline-flex;
	align-items:     center;
	justify-content: flex-start;
	width:           min(190px, 100%);
	height:          52px;
	margin-bottom:   18px;
	text-decoration: none;
}

.tps-firm-row__logo img {
	display:    block;
	max-width:  100%;
	max-height: 52px;
	width:      auto;
	height:     auto;
	object-fit: contain;
}

.tps-firm-row__name {
	font-size:     1.15rem;
	font-weight:   700;
	margin:        0 0 12px;
}
.tps-firm-row__name a {
	color:           var(--tps-text);
	text-decoration: none;
}
.tps-firm-row__name a:hover { color: var(--tps-primary); }

.tps-firm-row__advantages {
	list-style:  none;
	padding:     0;
	margin:      0;
	display:     flex;
	flex-wrap:   wrap;
	gap:         6px 16px;
}
.tps-firm-row__advantages li {
	font-size:   0.8rem;
	color:       var(--tps-muted);
	padding-left: 14px;
	position:    relative;
}
.tps-firm-row__advantages li::before {
	content:   '✓';
	position:  absolute;
	left:      0;
	color:     var(--tps-primary);
	font-size: 0.7rem;
}

.tps-firm-row__no-adv {
	font-size:  0.75rem;
	color:      var(--tps-muted-2);
	font-style: italic;
	margin:     0;
}

/* Stats column */
.tps-firm-row__stats {
	display:        flex;
	flex-direction: column;
	gap:            14px;
}
.tps-firm-stat {
	display:        flex;
	flex-direction: column;
	gap:            3px;
}
.tps-firm-stat__label {
	font-size:      0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	color:          var(--tps-muted-2);
}
.tps-firm-stat__value {
	font-size:   1rem;
	font-weight: 600;
	color:       var(--tps-text);
}
.tps-firm-stat__value--highlight { color: var(--tps-primary); }
.tps-firm-stat__na               { color: var(--tps-muted-2); font-weight: 400; }
.tps-firm-stat__original {
	display:         inline-block;
	margin-right:    8px;
	color:           var(--tps-muted-2);
	font-size:       0.92em;
	font-weight:     600;
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(var(--tps-muted-rgb), 0.8);
}
.tps-firm-stat__original[hidden] { display: none; }

/* CTA column */
.tps-firm-row__ctas {
	display:        flex;
	flex-direction: column;
	gap:            10px;
	align-items:    stretch;
	min-width:      120px;
}
.tps-firm-buy-btn, .tps-firm-details-btn {
	text-align: center;
	padding:    10px 20px;
	font-size:  0.85rem;
}

.tps-firms-hero--home {
	padding-top: 44px;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.tps-firms-listing--home {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.tps-firms-hero--home > .tps-container,
.tps-firms-listing--home > .tps-container {
	width: 100%;
	max-width: none;
	padding-left: clamp(24px, 2.25vw, 42px);
	padding-right: clamp(24px, 2.25vw, 42px);
}

.tps-firms-hero--home {
	text-align: center;
}

.tps-firms-hero--home .tps-firms-hero__sub {
	margin-left: auto;
	margin-right: auto;
}

.tps-firms-listing--home .tps-firms-grid {
	gap: 12px;
}

.tps-home-firms-partition {
	display: grid;
	grid-template-columns: var(--tps-home-firms-split, minmax(220px, 0.68fr)) 14px minmax(0, 2.32fr);
	gap: 0;
	align-items: start;
}

.tps-home-firms-list {
	min-width: 0;
}

.tps-home-firms-resizer {
	position: relative;
	align-self: stretch;
	cursor: col-resize;
	touch-action: none;
	user-select: none;
	z-index: 5;
}

.tps-home-firms-resizer::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	transform: translateX(-50%);
	background: rgba(var(--tps-muted-rgb), 0.18);
	border-radius: 1px;
	transition: background 0.15s ease, box-shadow 0.15s ease;
}

.tps-home-firms-resizer:hover::before,
.tps-home-firms-resizer:focus-visible::before,
.tps-home-firms-resizer.is-dragging::before {
	background: rgba(var(--tps-cyan-rgb), 0.65);
	box-shadow: 0 0 12px rgba(var(--tps-cyan-rgb), 0.35);
}

body.tps-firms-resizing,
body.tps-firms-resizing * {
	cursor: col-resize !important;
	user-select: none !important;
}

.tps-home-firms-detail {
	position: relative;
	align-self: start;
	min-width: 0;
	z-index: 40;
	overflow-x: auto;
	overflow-y: visible;
	padding-bottom: 2px;
}

.tps-home-firms-detail.tps-is-fixed {
	position: fixed;
	box-sizing: border-box;
	z-index: 90;
}

.tps-firms-listing--home .tps-firm-row {
	--firm-accent: var(--tps-neutral-accent);
	--firm-accent-rgb: var(--tps-neutral-accent-rgb);
	--firm-bg-rgb: 9, 15, 30;
	position: relative;
	z-index: 1;
	grid-template-columns: 1fr;
	gap: 0;
	padding: 14px 24px;
	min-height: 0;
	align-items: start;
	cursor: pointer;
	background:
		radial-gradient(circle at 12% 18%, rgba(var(--firm-accent-rgb), 0.13), transparent 44%),
		linear-gradient(135deg, rgba(var(--firm-bg-rgb), 0.98), rgba(6, 13, 30, 0.96));
	border-color: rgba(var(--firm-accent-rgb), 0.26);
	box-shadow: inset 0 0 0 1px rgba(var(--firm-accent-rgb), 0.05),
	            inset 0 0 34px rgba(var(--firm-accent-rgb), 0.035);
	transform-origin: center;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.2s, opacity 0.2s;
}

.tps-firms-listing--home .tps-firm-feature-badge[hidden] {
	display: none !important;
}

.tps-firms-listing--home .tps-firm-row--expanded {
	padding: 16px 24px;
	border-color: rgba(var(--firm-accent-rgb), 0.82);
	background:
		radial-gradient(circle at 12% 16%, rgba(var(--firm-accent-rgb), 0.25), transparent 46%),
		linear-gradient(135deg, rgba(var(--firm-bg-rgb), 0.99), rgba(7, 17, 37, 0.96) 62%);
	box-shadow: inset 0 0 0 1px rgba(var(--firm-accent-rgb), 0.22),
	            inset 0 0 42px rgba(var(--firm-accent-rgb), 0.09),
	            0 0 0 1px rgba(var(--firm-accent-rgb), 0.10),
	            0 0 18px rgba(var(--firm-accent-rgb), 0.16);
	cursor: default;
}

.tps-firms-listing--home .tps-firm-row--compared {
	border-color: rgba(var(--firm-accent-rgb), 0.62);
	box-shadow: inset 0 0 0 1px rgba(var(--firm-accent-rgb), 0.14),
	            inset 0 0 36px rgba(var(--firm-accent-rgb), 0.07),
	            0 0 18px rgba(var(--firm-accent-rgb), 0.12);
}

.tps-firms-listing--home .tps-firm-row:hover:not(.tps-firm-row--expanded) {
	z-index: 3;
	transform: scale(1.015);
	border-color: rgba(var(--firm-accent-rgb), 0.62);
	background:
		linear-gradient(115deg, rgba(var(--firm-accent-rgb), 0.26), transparent 38%),
		radial-gradient(circle at 12% 18%, rgba(var(--firm-accent-rgb), 0.20), transparent 44%),
		linear-gradient(135deg, rgba(var(--firm-bg-rgb), 0.99), rgba(6, 13, 30, 0.97));
	box-shadow: inset 0 0 0 1px rgba(var(--firm-accent-rgb), 0.12),
	            inset 0 0 34px rgba(var(--firm-accent-rgb), 0.07),
	            0 0 22px rgba(var(--firm-accent-rgb), 0.14);
}

.tps-firms-listing--home .tps-firm-row--theme-neutral:hover:not(.tps-firm-row--expanded),
.tps-firms-listing--home .tps-firm-row--theme-blue:hover:not(.tps-firm-row--expanded) {
	background:
		linear-gradient(115deg, rgba(var(--tps-blue-rgb), 0.34), transparent 42%),
		radial-gradient(circle at 12% 18%, rgba(var(--tps-cyan-rgb), 0.16), transparent 46%),
		linear-gradient(135deg, rgba(8, 20, 48, 1), rgba(6, 13, 30, 0.97));
	border-color: rgba(var(--tps-cyan-rgb), 0.66);
	box-shadow: inset 0 0 0 1px rgba(var(--tps-cyan-rgb), 0.14),
	            inset 0 0 36px rgba(var(--tps-blue-rgb), 0.12),
	            0 0 24px rgba(var(--tps-cyan-rgb), 0.15);
}

.tps-firms-listing--home .tps-firm-row--theme-violet {
	--firm-accent: var(--tps-violet);
	--firm-accent-rgb: var(--tps-violet-rgb);
	--firm-bg-rgb: 28, 8, 48;
}

.tps-firms-listing--home .tps-firm-row--theme-cyan {
	--firm-accent: var(--tps-cyan);
	--firm-accent-rgb: var(--tps-cyan-rgb);
	--firm-bg-rgb: 5, 30, 44;
}

.tps-firms-listing--home .tps-firm-row--theme-gold {
	--firm-accent: var(--tps-gold);
	--firm-accent-rgb: var(--tps-gold-rgb);
	--firm-bg-rgb: 37, 31, 9;
}

.tps-firms-listing--home .tps-firm-row--theme-neutral {
	--firm-accent: var(--tps-blue);
	--firm-accent-rgb: var(--tps-blue-rgb);
	--firm-bg-rgb: 8, 20, 48;
}

.tps-firms-listing--home .tps-firm-row--theme-blue {
	--firm-accent: var(--tps-blue);
	--firm-accent-rgb: var(--tps-blue-rgb);
	--firm-bg-rgb: 8, 20, 48;
}

.tps-firms-listing--home .tps-firm-row__identity {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 18px;
	min-width: 0;
}

.tps-firms-listing--home .tps-firm-row__logo {
	grid-column: 1;
	height: 34px;
	width: min(160px, 100%);
	margin-bottom: 8px;
}

.tps-firms-listing--home .tps-firm-row__logo img {
	max-height: 34px;
}

.tps-firms-listing--home .tps-firm-row__name {
	grid-column: 1;
	margin-bottom: 6px;
}

.tps-firms-listing--home .tps-firm-row__name a:hover,
.tps-firms-listing--home .tps-firm-row__advantages li::before {
	color: var(--firm-accent);
}

.tps-firms-listing--home .tps-favorable-badge,
.tps-firms-listing--home .tps-quickest-badge,
.tps-firms-listing--home .tps-lowest-cost-badge,
.tps-firms-listing--home .tps-firm-feature-badge {
	color: var(--firm-accent);
	background: linear-gradient(180deg, rgba(var(--firm-accent-rgb), 0.3), rgba(var(--firm-accent-rgb), 0.12));
	border: 1px solid rgba(var(--firm-accent-rgb), 0.48);
	box-shadow: inset 0 0 10px rgba(var(--firm-accent-rgb), 0.15),
	            0 0 14px rgba(var(--firm-accent-rgb), 0.16);
	text-shadow: 0 0 10px rgba(var(--firm-accent-rgb), 0.24);
}

.tps-firms-listing--home .tps-firm-row__no-adv {
	grid-column: 1;
	line-height: 1.35;
}

.tps-firms-listing--home .tps-firm-row__advantages {
	grid-column: 1;
}

.tps-firm-row__home-actions {
	grid-column: 2;
	grid-row: 1 / span 3;
	display: flex;
	align-items: center;
	gap: 8px;
	justify-self: end;
	align-self: center;
}

.tps-firm-row__compare-btn,
.tps-firm-row__detail-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tps-firm-row__compare-btn {
	border: 1px solid rgba(var(--firm-accent-rgb), 0.48);
	background: rgba(var(--firm-accent-rgb), 0.10);
	color: var(--firm-accent);
	box-shadow: inset 0 0 14px rgba(var(--firm-accent-rgb), 0.08);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.tps-firm-row__compare-btn:hover,
.tps-firm-row__compare-btn:focus-visible,
.tps-firm-row__compare-btn.is-active {
	border-color: rgba(var(--firm-accent-rgb), 0.78);
	background: linear-gradient(180deg, rgba(var(--firm-accent-rgb), 0.32), rgba(var(--firm-accent-rgb), 0.13));
	color: var(--tps-text-bright);
	box-shadow: inset 0 0 16px rgba(var(--firm-accent-rgb), 0.16),
	            0 0 16px rgba(var(--firm-accent-rgb), 0.18);
}

.tps-firm-row__detail-link {
	border: 1px solid rgba(var(--tps-blue-rgb), 0.42);
	background: rgba(5, 12, 30, 0.46);
	color: var(--tps-muted-soft);
}

.tps-firm-row__detail-link:hover,
.tps-firm-row__detail-link:focus-visible {
	border-color: rgba(var(--tps-blue-rgb), 0.72);
	color: var(--tps-text-soft);
}

.tps-firm-row__home-detail {
	display: none;
	min-width: 0;
}

.tps-firm-row__home-detail.is-active,
.tps-firm-row__home-detail.is-compared {
	display: block;
}

.tps-home-firms-detail--compare {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: max-content;
	gap: 12px;
	align-items: start;
	scrollbar-width: thin;
	scrollbar-color: rgba(var(--tps-blue-rgb), 0.75) rgba(5, 12, 30, 0.72);
}

.tps-home-firms-detail--compare .tps-firm-row__home-detail {
	width: max-content;
	min-width: 0;
}

.tps-home-firms-detail--compare .tps-home-account-preview {
	width: max-content;
	min-width: 360px;
	max-width: 500px;
	padding: 10px;
}

.tps-home-account-preview {
	min-height: 720px;
	padding: 12px;
	border: 1px solid rgba(var(--tps-blue-rgb), 0.42);
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(8, 18, 41, 0.96), rgba(14, 10, 43, 0.9));
	box-shadow: inset 0 1px 0 rgba(var(--tps-white-rgb), 0.03);
}

.tps-home-account-preview__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.tps-home-account-preview__logo {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 38px;
}

.tps-home-account-preview__logo img {
	display: block;
	width: auto;
	max-width: min(210px, 58vw);
	height: 40px;
	max-height: 40px;
	object-fit: contain;
	object-position: left center;
	filter: drop-shadow(0 0 12px rgba(72, 111, 255, 0.16));
}

.tps-home-account-preview__head h3,
.tps-home-account-preview__fallback-title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.2;
}

.tps-home-account-preview__head a,
.tps-home-account-preview__remove {
	flex: 0 0 auto;
	color: var(--tps-primary);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.tps-home-account-preview__remove {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.tps-home-account-preview__head a:hover,
.tps-home-account-preview__remove:hover,
.tps-home-account-preview__remove:focus-visible {
	color: var(--tps-text);
}

.tps-home-account-preview .tps-plan-tab-list {
	min-width: 0;
	margin-bottom: 8px;
	flex-wrap: wrap;
	gap: 4px;
}

.tps-home-account-preview .tps-size-pill-row,
.tps-home-filter-size-host .tps-size-pill-row {
	margin: 0 0 10px;
	padding: 0;
	gap: 10px;
}

.tps-home-account-preview > .tps-size-pill-row[data-tps-home-shared-size-row] {
	display: none;
}

.tps-home-filter-size-host .tps-size-pill-row {
	display: flex;
	margin: 0;
}

.tps-home-account-preview .tps-size-pill,
.tps-home-filter-size-host .tps-size-pill {
	min-width:       92px;
	height:          34px;
	padding:         0 18px;
	min-height:      0;
	border:          1px solid rgba(var(--tps-blue-rgb), 0.58);
	border-radius:   999px;
	background:      rgba(5, 12, 30, 0.74);
	color:           var(--tps-muted-soft);
	font-size:       0.88rem;
	font-weight:     800;
	line-height:     1;
	box-shadow:      inset 0 0 18px rgba(0, 0, 0, 0.42),
	                 0 5px 18px rgba(0, 0, 0, 0.24);
	transition:      background 0.16s ease,
	                 border-color 0.16s ease,
	                 box-shadow 0.16s ease,
	                 color 0.16s ease,
	                 transform 0.16s ease;
}

.tps-home-account-preview .tps-size-pill:hover,
.tps-home-account-preview .tps-size-pill:focus-visible,
.tps-home-filter-size-host .tps-size-pill:hover,
.tps-home-filter-size-host .tps-size-pill:focus-visible {
	border-color: rgba(var(--tps-blue-rgb), 0.95);
	color:        var(--tps-text-soft);
	box-shadow:   inset 0 0 18px rgba(var(--tps-blue-rgb), 0.12),
	              0 0 18px rgba(var(--tps-blue-rgb), 0.28),
	              0 5px 18px rgba(0, 0, 0, 0.24);
	transform:    translateY(-1px);
	outline:      none;
}

.tps-home-account-preview .tps-size-pill.tps-size-pill--active,
.tps-home-filter-size-host .tps-size-pill.tps-size-pill--active {
	border-color: var(--tps-blue);
	background:   linear-gradient(180deg, rgba(13, 54, 159, 0.92), rgba(7, 32, 103, 0.92));
	color:        var(--tps-text-soft);
	box-shadow:   inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.36),
	              inset 0 0 20px rgba(var(--tps-blue-rgb), 0.32),
	              0 0 20px rgba(var(--tps-blue-rgb), 0.42),
	              0 5px 18px rgba(0, 0, 0, 0.28);
}

.tps-home-account-preview .tps-account-accordion {
	margin: 0;
	border-radius: 10px;
}

.tps-home-account-preview .tps-acc-col-headers {
	margin: 0 14px;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
	background: rgba(8, 18, 41, 0.92);
	border-left: 1px solid var(--tps-border-subtle);
	border-right: 1px solid var(--tps-border-subtle);
}

.tps-home-account-preview .tps-acc-body__inner {
	padding: 0 8px 8px;
}

.tps-home-account-preview .tps-acc-col-hd {
	padding: 12px 16px;
}

.tps-home-account-preview .tps-acc-col-hd + .tps-acc-col-hd {
	padding-left: 16px;
}

.tps-home-account-preview .tps-acc-columns {
	margin-top: 0;
	gap: 0;
	border-left: 1px solid var(--tps-border-subtle);
	border-right: 1px solid var(--tps-border-subtle);
	border-bottom: 1px solid var(--tps-border-subtle);
	border-radius: 0 0 12px 12px;
	overflow: hidden;
	background: rgba(8, 18, 41, 0.62);
}

.tps-home-account-preview .tps-acc-columns--single {
	display: block;
}

.tps-home-account-preview .tps-account-col {
	padding: 0 16px 10px;
	background: transparent;
	border: 0;
}

.tps-home-account-preview .tps-account-col + .tps-account-col {
	border-left: 1px solid var(--tps-border-subtle);
}

.tps-home-account-preview .tps-detail-row {
	padding: 9px 0;
	gap: 18px;
}

.tps-home-account-preview .tps-detail-term {
	font-size: 0.76rem;
}

.tps-home-account-preview .tps-detail-def {
	font-size: 0.85rem;
}

.tps-home-account-preview .tps-account-compare-grid {
	border:        1px solid var(--tps-border-subtle);
	border-radius: 10px;
	overflow:      hidden;
	background:    rgba(8, 18, 41, 0.72);
}

.tps-home-account-preview .tps-account-compare-row {
	display:               grid;
	grid-template-columns: minmax(112px, 0.22fr) minmax(0, 1fr);
	align-items:           stretch;
	min-width:             0;
	border-bottom:         1px solid var(--tps-border-subtle);
}

.tps-home-account-preview .tps-account-compare-row:last-child {
	border-bottom: none;
}

.tps-home-account-preview .tps-account-compare-row--legend {
	background: rgba(6, 14, 32, 0.62);
}

.tps-home-account-preview .tps-account-compare-row--legend .tps-account-compare-label,
.tps-home-account-preview .tps-account-compare-row--legend .tps-account-compare-values {
	padding-top:    7px;
	padding-bottom: 7px;
}

.tps-home-account-preview .tps-account-compare-row--legend .tps-account-compare-label {
	color:          rgba(var(--tps-muted-rgb), 0.86);
	font-size:      0.68rem;
	font-weight:    800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tps-home-account-preview .tps-account-compare-row--legend .tps-account-phase-value {
	font-size:      0.72rem;
	font-weight:    800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.tps-home-account-preview .tps-account-compare-label {
	display:        flex;
	align-items:    center;
	padding:        9px 11px;
	color:          var(--tps-muted);
	font-size:      0.75rem;
	font-weight:    600;
	line-height:    1.25;
	background:     rgba(5, 12, 28, 0.42);
	border-right:   1px solid var(--tps-border-subtle);
	overflow-wrap: anywhere;
}

.tps-home-account-preview .tps-account-compare-values {
	min-width:       0;
	padding:         9px 10px;
	background:      rgba(var(--tps-white-rgb), 0.018);
	text-align:      left;
}

.tps-home-account-preview .tps-account-compare-values--phase-grid {
	display:               grid;
	grid-template-columns: repeat(var(--tps-phase-count, 1), minmax(82px, 1fr));
	gap:                   8px;
	align-items:           center;
}

.tps-home-account-preview .tps-account-compare-values--shared {
	display:     flex;
	align-items: center;
}

.tps-home-account-preview .tps-account-phase-value {
	display:         flex;
	align-items:     center;
	justify-content: flex-start;
	min-width:       0;
	font-size:       0.84rem;
	line-height:     1.25;
}

.tps-home-account-preview .tps-account-phase-slot {
	display:     flex;
	align-items: center;
	min-width:   0;
}

.tps-home-account-preview .tps-account-phase-separator {
	color:       rgba(var(--tps-muted-rgb), 0.55);
	font-weight: 700;
}

.tps-home-account-preview .tps-account-phase-value--evaluation {
	color: var(--tps-primary);
}

.tps-home-account-preview .tps-account-phase-value--performance {
	color: var(--tps-violet-soft);
}

.tps-home-account-preview .tps-account-phase-value--pro_plus {
	color: var(--tps-success-bright);
}

.tps-home-account-preview .tps-account-phase-value--shared {
	color: var(--tps-text);
}

.tps-home-account-preview .tps-account-phase-value__text {
	display:         inline-flex;
	align-items:     center;
	justify-content: flex-start;
	gap:             5px;
	min-width:       0;
	color:           inherit;
	font-weight:     700;
	text-align:      left;
	overflow-wrap:   anywhere;
	word-break:      break-word;
}

.tps-home-account-preview .tps-account-phase-value__text a {
	color:           inherit;
	text-decoration: none;
}

.tps-home-account-preview .tps-account-phase-value__text a:hover,
.tps-home-account-preview .tps-account-phase-value__text a:focus-visible {
	color:           var(--tps-text-soft);
	text-decoration: underline;
}

.tps-home-account-preview .tps-account-phase-value.tps-detail-def--none .tps-account-phase-value__text {
	color: var(--tps-muted);
	font-weight: 600;
}

@media (max-width: 960px) {
	.tps-home-firms-partition {
		grid-template-columns: 1fr;
	}

	.tps-home-firms-resizer {
		display: none;
	}

	.tps-home-firms-detail {
		position: static;
	}

	.tps-home-account-preview {
		position: static;
		min-height: 0;
		max-height: none;
	}
}

@media (max-width: 720px) {
	.tps-home-account-preview .tps-account-compare-row {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
	}

	.tps-home-account-preview .tps-account-compare-label {
		white-space: normal;
		border-right:   0;
		border-bottom:  1px solid var(--tps-border-subtle);
		padding-bottom: 7px;
	}

	.tps-home-account-preview .tps-account-compare-values {
		min-width: 0;
		justify-content: flex-start;
		text-align:      left;
	}

	.tps-home-account-preview .tps-account-compare-values--phase-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tps-home-account-preview .tps-account-phase-value {
		justify-content: flex-start;
	}

	.tps-home-account-preview .tps-account-phase-slot,
	.tps-home-account-preview .tps-account-phase-value__text {
		min-width: 0;
		white-space: normal;
	}
}

@media (max-width: 520px) {
	.tps-firms-listing--home .tps-firm-row__identity {
		grid-template-columns: minmax(0, 1fr);
	}

	.tps-firm-row__home-actions {
		grid-column: 1;
		grid-row: auto;
		justify-self: start;
		margin-top: 10px;
	}

	.tps-home-account-preview .tps-account-phase-value__text {
		justify-content: flex-start;
		text-align:      left;
	}
}

/* ── Homepage Compare Firms (multi-firm side-by-side) ─────────────────── */

.tps-firms-compare--home {
	--tps-cmp-sticky-top: var(--tps-header-height);
	--tps-cmp-sticky-controls-height: calc(45px * var(--tps-compare-scale));
	padding: calc(56px * var(--tps-compare-scale)) 0 calc(88px * var(--tps-compare-scale));
	background: transparent;
}

.tps-page-compare-firms .tps-firms-compare--home {
	padding-top: 0;
}

.tps-firms-compare--home > .tps-container {
	width: min(calc(100vw - 48px), calc(1312px * var(--tps-compare-scale)));
	max-width: none;
	padding: 0;
}

@media (min-width: 1024px) {
	.tps-firms-compare--home {
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}
}

.tps-firms-compare__header {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: calc(4px * var(--tps-compare-scale)) calc(22px * var(--tps-compare-scale));
	align-items: end;
	margin-bottom: calc(18px * var(--tps-compare-scale));
	padding: 0 0 calc(16px * var(--tps-compare-scale)) calc(18px * var(--tps-compare-scale));
	border-bottom: 1px solid rgba(var(--tps-blue-rgb), 0.26);
}

.tps-firms-compare__header::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(2px * var(--tps-compare-scale));
	bottom: calc(16px * var(--tps-compare-scale));
	width: calc(3px * var(--tps-compare-scale));
	border-radius: 999px;
	background: linear-gradient(180deg, var(--tps-cyan), var(--tps-blue));
	box-shadow: 0 0 18px rgba(var(--tps-blue-rgb), 0.36);
}

.tps-firms-compare__header::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	width: min(360px, 34vw);
	height: 1px;
	background: linear-gradient(90deg, rgba(var(--tps-cyan-rgb), 0), rgba(var(--tps-cyan-rgb), 0.68));
}

.tps-firms-compare__eyebrow {
	grid-column: 1 / -1;
	color: var(--tps-cyan-muted);
	font: 800 calc(0.72rem * var(--tps-compare-scale))/1 'Inter', sans-serif;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tps-firms-compare__header h2 {
	font-family: 'Inter', sans-serif;
	font-size: clamp(1.7rem, calc(2.25rem * var(--tps-compare-scale)), 5.1rem);
	font-weight: 900;
	line-height: 0.98;
	margin: 0;
	color: var(--tps-text-bright);
	letter-spacing: 0;
}

.tps-firms-compare__subhead {
	justify-self: end;
	max-width: calc(560px * var(--tps-compare-scale));
	color: rgba(var(--tps-text-soft-rgb), 0.68);
	margin: 0;
	font-size: calc(0.86rem * var(--tps-compare-scale));
	line-height: 1.45;
	text-align: right;
}

.tps-firms-compare__controls {
	position: relative;
	z-index: 180;
	display: flex;
	align-items: center;
	gap: calc(14px * var(--tps-compare-scale));
	min-height: var(--tps-cmp-sticky-controls-height);
	margin: calc(16px * var(--tps-compare-scale)) 0 0;
	padding: calc(5px * var(--tps-compare-scale)) 0;
	flex-wrap: wrap;
	justify-content: space-between;
	background: transparent;
	backdrop-filter: none;
	border-bottom: 1px solid rgba(var(--tps-blue-rgb), 0.24);
}

.tps-firms-compare__controls.is-sticky {
	position: fixed;
	z-index: 190;
	margin: 0;
	padding-inline: 0;
	background: var(--tps-black);
	backdrop-filter: none;
	box-shadow:
		0 10px 24px rgba(0, 0, 0, 0.34),
		inset 0 -1px 0 rgba(var(--tps-blue-rgb), 0.24);
}

.tps-firms-compare__sort {
	display: flex;
	align-items: center;
	gap: calc(8px * var(--tps-compare-scale));
	flex-wrap: wrap;
}

.tps-cmp-size-control {
	display: flex;
	align-items: center;
	gap: calc(10px * var(--tps-compare-scale));
	flex-wrap: wrap;
}

.tps-cmp-firm-search {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: calc(8px * var(--tps-compare-scale));
	margin-right: calc(6px * var(--tps-compare-scale));
}

.tps-cmp-firm-picker {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
}

.tps-cmp-firm-select {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: calc(12px * var(--tps-compare-scale));
	min-width: calc(176px * var(--tps-compare-scale));
	height: calc(34px * var(--tps-compare-scale));
	padding: 0 calc(13px * var(--tps-compare-scale)) 0 calc(16px * var(--tps-compare-scale));
	border: 1px solid rgba(var(--tps-blue-rgb), 0.58);
	border-radius: 999px;
	background: rgba(5, 12, 30, 0.74);
	color: var(--tps-text-soft);
	font: 800 calc(0.86rem * var(--tps-compare-scale))/1 'Inter', sans-serif;
	cursor: pointer;
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.42),
	            0 5px 18px rgba(0, 0, 0, 0.24);
	transition: background 0.16s ease,
	            border-color 0.16s ease,
	            box-shadow 0.16s ease,
	            color 0.16s ease;
}

.tps-cmp-firm-select:hover,
.tps-cmp-firm-select:focus-visible,
.tps-cmp-firm-select[aria-expanded="true"] {
	border-color: rgba(var(--tps-blue-rgb), 0.95);
	background: rgba(5, 12, 30, 0.74);
	box-shadow: inset 0 0 18px rgba(var(--tps-blue-rgb), 0.12),
	            0 0 18px rgba(var(--tps-blue-rgb), 0.28),
	            0 5px 18px rgba(0, 0, 0, 0.24);
	outline: none;
}

.tps-cmp-firm-select__chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid rgba(142, 157, 199, 0.94);
	border-bottom: 2px solid rgba(142, 157, 199, 0.94);
	transform: rotate(45deg) translateY(-2px);
	transform-origin: 60% 60%;
	transition: transform 0.16s ease, border-color 0.16s ease;
}

.tps-cmp-firm-select[aria-expanded="true"] .tps-cmp-firm-select__chevron {
	border-color: rgba(var(--tps-cyan-rgb), 0.92);
	transform: rotate(225deg) translateY(-2px);
}

.tps-cmp-firm-search__menu {
	position: absolute;
	top: calc(100% + 7px);
	left: 0;
	z-index: 30;
	width: min(280px, 82vw);
	max-height: 350px;
	padding: 6px;
	overflow-y: auto;
	border: 1px solid rgba(var(--tps-blue-rgb), 0.66);
	border-radius: 10px;
	background: rgba(6, 10, 28, 0.98);
	box-shadow:
		inset 0 1px 0 rgba(148, 180, 255, 0.12),
		0 18px 34px rgba(0, 0, 0, 0.46),
		0 0 24px rgba(var(--tps-blue-rgb), 0.18);
}

.tps-cmp-firm-search__option {
	display: block;
	width: 100%;
	min-height: 32px;
	padding: 0 10px;
	border: 0;
	border-radius: 7px;
	background: transparent;
	color: var(--tps-text-soft);
	font: 800 0.82rem/1.1 'Inter', sans-serif;
	text-align: left;
	cursor: pointer;
}

.tps-cmp-firm-search__option:hover,
.tps-cmp-firm-search__option:focus-visible {
	background: rgba(var(--tps-blue-rgb), 0.24);
	color: var(--tps-white);
	outline: none;
}

.tps-cmp-size-btn {
	appearance: none;
	min-width: calc(92px * var(--tps-compare-scale));
	height: calc(34px * var(--tps-compare-scale));
	padding: 0 calc(18px * var(--tps-compare-scale));
	border: 1px solid rgba(var(--tps-blue-rgb), 0.58);
	border-radius: 999px;
	background: rgba(5, 12, 30, 0.74);
	color: var(--tps-muted-soft);
	font: 800 calc(0.88rem * var(--tps-compare-scale))/1 'Inter', sans-serif;
	cursor: pointer;
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.42),
	            0 5px 18px rgba(0, 0, 0, 0.24);
	transition: background 0.16s ease,
	            border-color 0.16s ease,
	            box-shadow 0.16s ease,
	            color 0.16s ease,
	            transform 0.16s ease;
}

.tps-cmp-size-btn:hover,
.tps-cmp-size-btn:focus-visible {
	border-color: rgba(var(--tps-blue-rgb), 0.95);
	color: var(--tps-text-soft);
	box-shadow: inset 0 0 18px rgba(var(--tps-blue-rgb), 0.12),
	            0 0 18px rgba(var(--tps-blue-rgb), 0.28),
	            0 5px 18px rgba(0, 0, 0, 0.24);
	transform: translateY(-1px);
	outline: none;
}

.tps-cmp-size-btn.is-active {
	border-color: var(--tps-blue);
	background: linear-gradient(180deg, rgba(13, 54, 159, 0.92), rgba(7, 32, 103, 0.92));
	color: var(--tps-text-soft);
	box-shadow: inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.36),
	            inset 0 0 20px rgba(var(--tps-blue-rgb), 0.32),
	            0 0 20px rgba(var(--tps-blue-rgb), 0.42),
	            0 5px 18px rgba(0, 0, 0, 0.28);
}

.tps-firms-compare__controls-label {
	color: rgba(var(--tps-text-soft-rgb), 0.7);
	font-weight: 600;
	font-size: calc(0.86rem * var(--tps-compare-scale));
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-right: 2px;
}

.tps-cmp-sort {
	appearance: none;
	min-width: calc(92px * var(--tps-compare-scale));
	height: calc(34px * var(--tps-compare-scale));
	padding: 0 calc(18px * var(--tps-compare-scale));
	background: rgba(5, 12, 30, 0.74);
	color: var(--tps-muted-soft);
	border: 1px solid rgba(var(--tps-blue-rgb), 0.58);
	border-radius: 999px;
	font: 800 calc(0.88rem * var(--tps-compare-scale))/1 'Inter', sans-serif;
	cursor: pointer;
	box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.42),
	            0 5px 18px rgba(0, 0, 0, 0.24);
	transition: background 0.16s ease,
	            border-color 0.16s ease,
	            box-shadow 0.16s ease,
	            color 0.16s ease,
	            transform 0.16s ease;
}

.tps-cmp-sort:hover,
.tps-cmp-sort:focus-visible {
	border-color: rgba(var(--tps-blue-rgb), 0.95);
	color: var(--tps-text-soft);
	background: rgba(5, 12, 30, 0.74);
	box-shadow: inset 0 0 18px rgba(var(--tps-blue-rgb), 0.12),
	            0 0 18px rgba(var(--tps-blue-rgb), 0.28),
	            0 5px 18px rgba(0, 0, 0, 0.24);
	transform: translateY(-1px);
	outline: none;
}

.tps-cmp-sort.is-active {
	border-color: var(--tps-blue);
	background: linear-gradient(180deg, rgba(13, 54, 159, 0.92), rgba(7, 32, 103, 0.92));
	color: var(--tps-text-soft);
	box-shadow: inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.36),
	            inset 0 0 20px rgba(var(--tps-blue-rgb), 0.32),
	            0 0 20px rgba(var(--tps-blue-rgb), 0.42),
	            0 5px 18px rgba(0, 0, 0, 0.28);
}

.tps-cmp-sort--reset {
	margin-left: auto;
	color: rgba(var(--tps-text-soft-rgb), 0.55);
}

.tps-firms-compare__scroll-frame {
	position: relative;
}

.tps-firms-compare__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: calc(14px * var(--tps-compare-scale));
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.tps-cmp-scroll-rail {
	position: absolute;
	top: 0;
	width: calc(34px * var(--tps-compare-scale));
	height: calc(132px * var(--tps-compare-scale));
	z-index: 22;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 14px 0 0 0;
	background: transparent;
	color: rgba(var(--tps-text-soft-rgb), 0.88);
	opacity: 0.86;
	cursor: pointer;
	pointer-events: none;
	backdrop-filter: none;
	box-shadow: none;
	transition: opacity 0.16s ease,
	            color 0.16s ease,
	            box-shadow 0.16s ease;
}

.tps-cmp-scroll-rail--left {
	left: calc(var(--tps-cmp-label-col, 220px) + 1px);
}

.tps-cmp-scroll-rail--right {
	right: 0;
	border-radius: 0 14px 0 0;
	background: transparent;
	box-shadow: none;
}

.tps-cmp-scroll-rail span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font: 900 2.05rem/0.8 'Inter', sans-serif;
	pointer-events: auto;
	text-shadow: 0 0 10px rgba(var(--tps-cyan-rgb), 0.42),
	             0 0 18px rgba(6, 12, 32, 0.88);
	box-shadow: none;
}

.tps-cmp-scroll-rail:hover,
.tps-cmp-scroll-rail:focus-visible {
	opacity: 1;
	color: var(--tps-white);
	background: transparent;
	box-shadow: none;
	outline: none;
}

.tps-cmp-scroll-rail--right:hover,
.tps-cmp-scroll-rail--right:focus-visible {
	background: transparent;
	box-shadow: none;
}

.tps-cmp-scroll-rail.is-disabled {
	opacity: 0.18;
	cursor: default;
}

.tps-cmp-scroll-rail.is-sticky {
	position: fixed;
	z-index: 166;
	border-radius: 0;
}

.tps-cmp-scroll-rail[hidden] {
	display: none !important;
}

@media (min-width: 760px) {
	.tps-cmp-scroll-rail {
		display: flex;
	}
}

.tps-firms-compare__scroll::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.tps-firms-compare__grid {
	--tps-cmp-label-col: calc(220px * var(--tps-compare-scale));
	--tps-cmp-data-col: calc(170px * var(--tps-compare-scale));
	min-width: max-content;
	border: 1px solid rgba(var(--tps-blue-rgb), 0.32);
	border-radius: calc(14px * var(--tps-compare-scale));
	background: linear-gradient(135deg, rgba(8, 18, 41, 0.94), rgba(14, 10, 43, 0.88));
	overflow: visible;
}

.tps-cmp-row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid rgba(var(--tps-blue-rgb), 0.16);
	max-height: calc(220px * var(--tps-compare-scale));
	opacity: 1;
	overflow: visible;
	transform-origin: top center;
	transition:
		max-height 0.44s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.26s ease,
		transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.34s ease,
		border-color 0.3s ease,
		box-shadow 0.28s ease,
		background 0.28s ease;
	transition-delay:
		calc(min(var(--tps-cmp-row-index, 0), 8) * 18ms),
		calc(min(var(--tps-cmp-row-index, 0), 8) * 18ms),
		calc(min(var(--tps-cmp-row-index, 0), 8) * 18ms),
		calc(min(var(--tps-cmp-row-index, 0), 8) * 18ms),
		0ms,
		0ms,
		0ms;
	will-change: max-height, opacity, transform;
}

.tps-cmp-row:last-child {
	border-bottom: 0;
}

.tps-cmp-cell {
	flex: 0 0 var(--tps-cmp-data-col);
	padding: calc(12px * var(--tps-compare-scale)) calc(14px * var(--tps-compare-scale));
	color: var(--tps-text-soft);
	font-size: calc(0.9rem * var(--tps-compare-scale));
	line-height: 1.4;
	min-width: 0;
	box-sizing: border-box;
}

.tps-cmp-cell--label {
	flex: 0 0 var(--tps-cmp-label-col);
	order: 0;
	position: sticky;
	left: 0;
	z-index: 28;
	background: transparent;
	color: rgba(var(--tps-text-soft-rgb), 0.72);
	font-weight: 600;
	font-size: calc(0.86rem * var(--tps-compare-scale));
	border-right: 1px solid rgba(var(--tps-blue-rgb), 0.22);
	border-left: 1px solid rgba(var(--tps-blue-rgb), 0.44);
	box-shadow: inset -1px 0 0 rgba(92, 139, 220, 0.34),
	            inset 1px 0 0 rgba(92, 139, 220, 0.18),
	            1px 0 0 rgba(20, 35, 82, 0.74);
	isolation: isolate;
}

.tps-cmp-cell--corner {
	z-index: 32;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	padding: 0;
}

.tps-cmp-cell--label::before,
.tps-cmp-section-title::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.tps-cmp-cell--label::before {
	background: linear-gradient(135deg, #070e20, #0c0826);
}

.tps-cmp-award-legend {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: calc(4px * var(--tps-compare-scale));
	width: 100%;
	height: 100%;
	max-width: none;
	padding: calc(12px * var(--tps-compare-scale)) calc(12px * var(--tps-compare-scale)) calc(12px * var(--tps-compare-scale)) calc(14px * var(--tps-compare-scale));
	border: 0;
	border-radius: 0;
	background:
		radial-gradient(120% 50% at 0% 18%, rgba(var(--tps-violet-rgb), 0.22), transparent 60%),
		radial-gradient(120% 55% at 100% 55%, rgba(var(--tps-cyan-rgb), 0.16), transparent 60%),
		radial-gradient(120% 55% at 0% 100%, rgba(var(--tps-gold-rgb), 0.18), transparent 62%);
	box-shadow: inset 0 1px 0 rgba(200, 220, 255, 0.06);
	color: rgba(var(--tps-text-soft-rgb), 0.88);
	font-family: 'Inter', sans-serif;
	box-sizing: border-box;
	isolation: isolate;
	overflow: hidden;
}

.tps-cmp-award-legend::before,
.tps-cmp-award-legend::after {
	content: none;
}

.tps-cmp-award-legend__title {
	display: flex;
	align-items: center;
	gap: calc(8px * var(--tps-compare-scale));
	margin: 0 calc(2px * var(--tps-compare-scale)) calc(2px * var(--tps-compare-scale));
	color: rgba(186, 207, 244, 0.72);
	font-size: calc(0.56rem * var(--tps-compare-scale));
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	white-space: nowrap;
}

.tps-cmp-award-legend__title::before,
.tps-cmp-award-legend__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(120, 165, 235, 0.38), transparent);
}

.tps-cmp-award-legend__title span {
	display: inline-block;
	padding: 0 2px;
	background: linear-gradient(180deg, var(--tps-text-soft) 0%, var(--tps-text-soft) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.tps-cmp-award-legend__item {
	--tps-cmp-legend-rgb: var(--tps-blue-rgb);
	position: relative;
	display: flex;
	align-items: center;
	gap: calc(10px * var(--tps-compare-scale));
	min-width: 0;
	width: 100%;
	flex: 1 1 0;
	min-height: calc(28px * var(--tps-compare-scale));
	margin: 0;
	padding: calc(4px * var(--tps-compare-scale)) calc(8px * var(--tps-compare-scale));
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: rgba(232, 241, 255, 0.92);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background 220ms ease, transform 200ms ease;
}

.tps-cmp-award-legend__item::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 50%;
	width: 3px;
	height: 0;
	border-radius: 999px;
	background: rgba(var(--tps-cmp-legend-rgb), 0.95);
	box-shadow: 0 0 10px rgba(var(--tps-cmp-legend-rgb), 0.7);
	transform: translateY(-50%);
	transition: height 220ms ease, left 220ms ease;
	pointer-events: none;
}

.tps-cmp-award-legend__item:hover,
.tps-cmp-award-legend__item:focus-visible {
	background: linear-gradient(90deg, rgba(var(--tps-cmp-legend-rgb), 0.22), rgba(var(--tps-cmp-legend-rgb), 0.02) 80%);
	transform: translateX(2px);
	outline: none;
}

.tps-cmp-award-legend__item:hover .tps-cmp-award-legend__medal,
.tps-cmp-award-legend__item:focus-visible .tps-cmp-award-legend__medal {
	box-shadow:
		inset 0 0 10px rgba(var(--tps-cmp-legend-rgb), 0.55),
		0 0 18px rgba(var(--tps-cmp-legend-rgb), 0.55);
	transform: rotate(-4deg) scale(1.06);
}

.tps-cmp-award-legend__item.is-active {
	background: linear-gradient(90deg, rgba(var(--tps-cmp-legend-rgb), 0.30), rgba(var(--tps-cmp-legend-rgb), 0.05) 80%);
}

.tps-cmp-award-legend__item.is-active::before {
	height: 72%;
	left: -4px;
}

.tps-cmp-award-legend__item.is-active .tps-cmp-award-legend__medal {
	box-shadow:
		inset 0 0 10px rgba(var(--tps-cmp-legend-rgb), 0.55),
		0 0 18px rgba(var(--tps-cmp-legend-rgb), 0.55);
}

.tps-cmp-award-legend__medal {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(22px * var(--tps-compare-scale));
	height: calc(22px * var(--tps-compare-scale));
	border-radius: 50%;
	color: rgba(var(--tps-cmp-legend-rgb), 1);
	background:
		radial-gradient(circle at 32% 28%, rgba(var(--tps-white-rgb), 0.30), transparent 55%),
		linear-gradient(140deg, rgba(var(--tps-cmp-legend-rgb), 0.42), rgba(var(--tps-cmp-legend-rgb), 0.10));
	border: 1px solid rgba(var(--tps-cmp-legend-rgb), 0.70);
	box-shadow:
		inset 0 0 8px rgba(var(--tps-cmp-legend-rgb), 0.35),
		0 0 10px rgba(var(--tps-cmp-legend-rgb), 0.32);
	transition: box-shadow 220ms ease, transform 220ms ease;
}

.tps-cmp-award-legend__medal svg {
	width: calc(12px * var(--tps-compare-scale));
	height: calc(12px * var(--tps-compare-scale));
	display: block;
	filter: drop-shadow(0 0 3px rgba(var(--tps-cmp-legend-rgb), 0.6));
}

.tps-cmp-award-legend__label {
	font-size: calc(0.62rem * var(--tps-compare-scale));
	font-weight: 800;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	color: rgba(var(--tps-cmp-legend-rgb), 1);
	text-shadow: 0 0 8px rgba(var(--tps-cmp-legend-rgb), 0.28);
}

.tps-cmp-award-legend__item--violet {
	--tps-cmp-legend-rgb: var(--tps-violet-rgb);
}
.tps-cmp-award-legend__item--violet .tps-cmp-award-legend__label { color: var(--tps-violet-soft); }

.tps-cmp-award-legend__item--cyan {
	--tps-cmp-legend-rgb: var(--tps-cyan-rgb);
}
.tps-cmp-award-legend__item--cyan .tps-cmp-award-legend__label { color: var(--tps-cyan-soft); }

.tps-cmp-award-legend__item--gold {
	--tps-cmp-legend-rgb: var(--tps-gold-rgb);
}
.tps-cmp-award-legend__item--gold .tps-cmp-award-legend__label { color: var(--tps-gold-soft); }

.tps-firms-compare__scroll.is-scrolled-x .tps-cmp-cell--label,
.tps-firms-compare__scroll.is-scrolled-x .tps-cmp-section-title,
.tps-cmp-sticky-frame.is-scrolled-x .tps-cmp-cell--label {
	left: 1px;
}

.tps-cmp-cell--data {
	text-align: center;
}

.tps-cmp-cell--data.is-compare-sticky,
.tps-cmp-cell--section-score.is-compare-sticky,
.tps-cmp-col--header.is-compare-sticky {
	position: sticky;
	left: var(--tps-cmp-pin-left, var(--tps-cmp-label-col));
	z-index: 7;
	background: linear-gradient(135deg, rgba(13, 8, 39, 0.99), rgba(18, 9, 50, 0.98));
	box-shadow: 1px 0 0 rgba(var(--tps-blue-rgb), 0.26),
	            12px 0 20px rgba(4, 8, 22, 0.26);
}

.tps-cmp-col--header.is-compare-sticky {
	z-index: 10;
	background: linear-gradient(180deg, rgba(19, 9, 51, 0.99), rgba(12, 8, 35, 0.98));
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.3),
		inset 0 0 28px rgba(var(--tps-blue-rgb), 0.16),
		1px 0 0 rgba(var(--tps-blue-rgb), 0.26),
		12px 0 20px rgba(4, 8, 22, 0.26);
}

.tps-cmp-cell--section-score.is-compare-sticky {
	z-index: 8;
	background: linear-gradient(180deg, rgba(18, 25, 58, 0.99), rgba(13, 16, 45, 0.99));
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.18),
		inset 0 0 20px rgba(var(--tps-blue-rgb), 0.1),
		1px 0 0 rgba(var(--tps-blue-rgb), 0.26),
		12px 0 20px rgba(4, 8, 22, 0.26);
}

.tps-cmp-cell--data,
.tps-cmp-cell--section-score,
.tps-cmp-col--header {
	border-left: 1px solid rgba(var(--tps-blue-rgb), 0.32);
	transition: opacity 0.18s ease, filter 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tps-cmp-cell--data.is-compare-muted,
.tps-cmp-cell--section-score.is-compare-muted,
.tps-cmp-col--header.is-compare-muted {
	opacity: 0.56;
	filter: saturate(0.72) brightness(0.86);
}

.tps-cmp-col--header.is-compare-muted .tps-cmp-compare-toggle {
	opacity: 1;
	filter: none;
}

.tps-cmp-cell--data.is-compare-muted:hover,
.tps-cmp-cell--section-score.is-compare-muted:hover,
.tps-cmp-col--header.is-compare-muted:hover {
	opacity: 0.74;
	filter: saturate(0.9) brightness(0.94);
}

.tps-cmp-cell--data.is-compare-muted.is-compare-priority,
.tps-cmp-cell--section-score.is-compare-muted.is-compare-priority,
.tps-cmp-col--header.is-compare-muted.is-compare-priority {
	opacity: 0.84;
	filter: saturate(1.05) brightness(1);
}

.tps-cmp-col--header.is-compare-muted.is-compare-priority[data-tps-cmp-award-theme],
.tps-cmp-cell--data.is-compare-muted.is-compare-priority[data-tps-cmp-award-theme],
.tps-cmp-cell--section-score.is-compare-muted.is-compare-priority[data-tps-cmp-award-theme] {
	background:
		linear-gradient(135deg, rgba(var(--tps-cmp-award-rgb), 0.18), rgba(13, 8, 39, 0.94) 62%),
		linear-gradient(180deg, rgba(18, 9, 50, 0.98), rgba(10, 8, 34, 0.96));
	box-shadow:
		inset 1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.27),
		inset -1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.16),
		inset 0 0 22px rgba(var(--tps-cmp-award-rgb), 0.08);
}

.tps-cmp-col--header[data-tps-cmp-award-theme],
.tps-cmp-cell--data[data-tps-cmp-award-theme],
.tps-cmp-cell--section-score[data-tps-cmp-award-theme] {
	--tps-cmp-award-rgb: var(--tps-blue-rgb);
	background:
		linear-gradient(135deg, rgba(var(--tps-cmp-award-rgb), 0.13), rgba(13, 8, 39, 0.92) 62%),
		linear-gradient(180deg, rgba(18, 9, 50, 0.96), rgba(10, 8, 34, 0.94));
	box-shadow: inset 1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.18),
	            inset -1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.10);
}

.tps-cmp-col--header[data-tps-cmp-award-theme] {
	background:
		linear-gradient(180deg, rgba(var(--tps-cmp-award-rgb), 0.17), rgba(13, 8, 39, 0.94) 64%),
		linear-gradient(180deg, rgba(19, 9, 51, 0.98), rgba(12, 8, 35, 0.96));
	box-shadow: inset 1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.24),
	            inset -1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.14),
	            inset 0 1px 0 rgba(var(--tps-cmp-award-rgb), 0.16);
}

.tps-cmp-col--header.is-compare-sticky[data-tps-cmp-award-theme],
.tps-cmp-cell--data.is-compare-sticky[data-tps-cmp-award-theme],
.tps-cmp-cell--section-score.is-compare-sticky[data-tps-cmp-award-theme] {
	background:
		linear-gradient(135deg, rgba(var(--tps-cmp-award-rgb), 0.16), rgba(13, 8, 39, 0.98) 62%),
		linear-gradient(180deg, rgba(19, 9, 51, 0.99), rgba(12, 8, 35, 0.98));
	box-shadow: inset 1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.28),
	            inset -1px 0 0 rgba(var(--tps-cmp-award-rgb), 0.16),
	            inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.18),
	            inset 0 0 24px rgba(var(--tps-blue-rgb), 0.12),
	            12px 0 20px rgba(4, 8, 22, 0.26);
}

.tps-cmp-col--header[data-tps-cmp-award-theme="violet"],
.tps-cmp-cell--data[data-tps-cmp-award-theme="violet"],
.tps-cmp-cell--section-score[data-tps-cmp-award-theme="violet"] {
	--tps-cmp-award-rgb: var(--tps-violet-rgb);
}

.tps-cmp-col--header[data-tps-cmp-award-theme="cyan"],
.tps-cmp-cell--data[data-tps-cmp-award-theme="cyan"],
.tps-cmp-cell--section-score[data-tps-cmp-award-theme="cyan"] {
	--tps-cmp-award-rgb: var(--tps-cyan-rgb);
}

.tps-cmp-col--header[data-tps-cmp-award-theme="gold"],
.tps-cmp-cell--data[data-tps-cmp-award-theme="gold"],
.tps-cmp-cell--section-score[data-tps-cmp-award-theme="gold"] {
	--tps-cmp-award-rgb: var(--tps-gold-rgb);
}

.tps-cmp-cell--strike {
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	text-decoration-color: rgba(var(--tps-text-soft-rgb), 0.72);
}

.tps-cmp-row[data-tps-cmp-field-row="coupon_code"] .tps-cmp-cell--data {
	color: var(--tps-text-soft);
	font-size: calc(0.82rem * var(--tps-compare-scale));
	font-weight: 750;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.tps-cmp-row[data-tps-cmp-field-row="total_funded"] .tps-cmp-cell--data {
	color: var(--tps-white);
	font-weight: 700;
}

.tps-cmp-cell--data .tps-cmp-cell-tooltip {
	align-items: center;
	gap: 6px;
	justify-content: center;
	max-width: 100%;
	text-align: center;
	white-space: normal;
}

.tps-cmp-cell--data .tps-detail-def__text {
	min-width: 0;
	text-align: center;
	overflow-wrap: anywhere;
}

.tps-cmp-rules-links {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: calc(4px * var(--tps-compare-scale)) calc(6px * var(--tps-compare-scale));
	max-width: 100%;
	font-size: calc(0.82rem * var(--tps-compare-scale));
	font-weight: 700;
}

.tps-cmp-rules-links a {
	color: var(--tps-cyan-muted);
	text-decoration: none;
	border-bottom: 1px solid rgba(var(--tps-cyan-rgb), 0.36);
}

.tps-cmp-rules-links a:hover,
.tps-cmp-rules-links a:focus-visible {
	color: var(--tps-cyan-soft);
	border-bottom-color: rgba(232, 248, 255, 0.86);
}

.tps-cmp-rules-sep {
	color: rgba(180, 204, 246, 0.44);
}

.tps-cmp-cell--start-trading,
.tps-cmp-cell--coupon-code {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: calc(8px * var(--tps-compare-scale));
	transition: box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.tps-cmp-cell--start-trading::before,
.tps-cmp-cell--coupon-code::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgb(var(--tps-cmp-award-rgb, var(--tps-blue-rgb)));
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.tps-cmp-cell--start-trading:has(.tps-cmp-start-trading-link:hover),
.tps-cmp-cell--start-trading:has(.tps-cmp-start-trading-link:focus-visible),
.tps-cmp-cell--start-trading:has(.tps-cmp-start-trading-link:active),
.tps-cmp-cell--coupon-code:has(.tps-cmp-start-trading-link:hover),
.tps-cmp-cell--coupon-code:has(.tps-cmp-start-trading-link:focus-visible),
.tps-cmp-cell--coupon-code:has(.tps-cmp-start-trading-link:active) {
	box-shadow: inset 0 0 0 1px rgba(var(--tps-white-rgb), 0.16),
	            inset 0 0 22px rgba(var(--tps-white-rgb), 0.08),
	            0 0 18px rgba(var(--tps-cmp-award-rgb, var(--tps-blue-rgb)), 0.34);
}

.tps-cmp-cell--start-trading:has(.tps-cmp-start-trading-link:hover)::before,
.tps-cmp-cell--start-trading:has(.tps-cmp-start-trading-link:focus-visible)::before,
.tps-cmp-cell--start-trading:has(.tps-cmp-start-trading-link:active)::before,
.tps-cmp-cell--coupon-code:has(.tps-cmp-start-trading-link:hover)::before,
.tps-cmp-cell--coupon-code:has(.tps-cmp-start-trading-link:focus-visible)::before,
.tps-cmp-cell--coupon-code:has(.tps-cmp-start-trading-link:active)::before {
	opacity: 0.96;
}

.tps-cmp-start-trading-link {
	--tps-cmp-start-rgb: var(--tps-cmp-award-rgb, var(--tps-blue-rgb));
	position: relative;
	isolation: isolate;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: min(100%, calc(150px * var(--tps-compare-scale)));
	min-height: calc(27px * var(--tps-compare-scale));
	padding: calc(6px * var(--tps-compare-scale)) calc(12px * var(--tps-compare-scale));
	border: 1px solid rgba(var(--tps-cmp-start-rgb), 0.34);
	border-radius: calc(7px * var(--tps-compare-scale));
	overflow: hidden;
	background: rgba(9, 13, 34, 0.66);
	box-shadow:
		inset 0 1px 0 rgba(var(--tps-white-rgb), 0.06),
		0 0 0 1px rgba(4, 8, 22, 0.32);
	color: var(--tps-white);
	font: 850 calc(0.78rem * var(--tps-compare-scale))/1 "Inter", sans-serif;
	letter-spacing: 0.045em;
	text-decoration: none;
	text-transform: none;
	box-sizing: border-box;
	transition:
		color 0.26s ease,
		border-color 0.28s ease,
		background 0.28s ease,
		box-shadow 0.28s ease,
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.tps-cmp-start-trading-link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background: transparent;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease, background 0.18s ease;
}

.tps-cmp-start-trading-link::after {
	content: "Get the Discount!";
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--tps-white);
	font: 900 calc(0.88rem * var(--tps-compare-scale))/1 "Inter", sans-serif;
	letter-spacing: 0.015em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.82),
	             0 0 8px rgba(var(--tps-white-rgb), 0.28);
	opacity: 0;
	transform: translateY(5px) scale(0.98);
	transition: opacity 0.24s ease 0.04s,
	            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
	pointer-events: none;
	white-space: nowrap;
}

.tps-cmp-start-trading-link span {
	position: relative;
	z-index: 2;
	color: var(--tps-white);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: opacity 0.22s ease,
	            transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.tps-cmp-start-trading-link:hover,
.tps-cmp-start-trading-link:focus-visible,
.tps-cmp-start-trading-link:active {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	color: var(--tps-white);
	outline: none;
	transform: none;
}

.tps-cmp-start-trading-link:hover::before,
.tps-cmp-start-trading-link:focus-visible::before,
.tps-cmp-start-trading-link:active::before {
	background: transparent;
	opacity: 0;
}

.tps-cmp-start-trading-link:hover::after,
.tps-cmp-start-trading-link:focus-visible::after,
.tps-cmp-start-trading-link:active::after {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.tps-cmp-start-trading-link:hover span,
.tps-cmp-start-trading-link:focus-visible span,
.tps-cmp-start-trading-link:active span {
	opacity: 0;
	transform: translateY(-4px) scale(0.98);
}

.tps-cmp-start-trading-link:hover,
.tps-cmp-start-trading-link:focus-visible,
.tps-cmp-start-trading-link:active,
.tps-cmp-start-trading-link:visited:hover,
.tps-cmp-start-trading-link:visited:focus-visible {
	color: var(--tps-white);
}

.tps-cmp-start-trading-link:hover span,
.tps-cmp-start-trading-link:focus-visible span,
.tps-cmp-start-trading-link:active span,
.tps-cmp-start-trading-link:visited:hover span,
.tps-cmp-start-trading-link:visited:focus-visible span {
	color: var(--tps-white);
	opacity: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.78),
	             0 0 7px rgba(var(--tps-white-rgb), 0.24);
}

.tps-cmp-row--header {
	position: relative;
	z-index: 10;
	border-bottom: 1px solid rgba(var(--tps-blue-rgb), 0.42);
	background: linear-gradient(180deg, rgba(16, 10, 45, 0.98), rgba(10, 8, 34, 0.96));
	box-shadow: none;
}

.tps-cmp-row--header.is-sticky {
	position: absolute;
	top: 0;
	z-index: 1;
}

.tps-cmp-col.is-filtered-out,
.tps-cmp-cell.is-filtered-out {
	display: none;
}

.tps-cmp-col.is-left-clipped,
.tps-cmp-cell.is-left-clipped {
	visibility: hidden;
}

.tps-cmp-col.is-reordering,
.tps-cmp-cell.is-reordering {
	pointer-events: none;
	transition: transform 0.72s cubic-bezier(0.19, 1, 0.22, 1) !important;
	will-change: transform;
}

.tps-cmp-sticky-placeholder {
	display: none;
	flex: 0 0 auto;
	pointer-events: none;
	visibility: hidden;
}

.tps-cmp-sticky-placeholder.is-active {
	display: block;
}

/* Solid fill behind the sticky controls/header stack so page content never
   shows through the seams above the SORT bar or the firm header row. */
.tps-cmp-sticky-backdrop {
	display: none;
	position: fixed;
	top: 0;
	z-index: 150;
	background: var(--tps-black);
	pointer-events: none;
}

.tps-cmp-sticky-backdrop.is-active {
	display: block;
}

.tps-cmp-sticky-frame {
	display: none;
	position: fixed;
	z-index: 160;
	overflow: hidden;
	border-radius: calc(14px * var(--tps-compare-scale)) calc(14px * var(--tps-compare-scale)) 0 0;
	box-shadow: none;
	pointer-events: auto;
}

.tps-cmp-sticky-frame.is-active {
	display: block;
}

.tps-cmp-col--header {
	flex: 0 0 var(--tps-cmp-data-col);
	padding: calc(12px * var(--tps-compare-scale)) calc(12px * var(--tps-compare-scale)) calc(9px * var(--tps-compare-scale));
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: calc(6px * var(--tps-compare-scale));
	text-align: center;
	box-sizing: border-box;
	position: relative;
	z-index: 9;
}

.tps-cmp-col--header.is-rail-offset {
	padding-left: 48px;
}

.tps-cmp-col--header.is-rail-offset-right {
	padding-right: 48px;
}

.tps-cmp-firm-link {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 0;
	padding: calc(8px * var(--tps-compare-scale)) 0 calc(2px * var(--tps-compare-scale));
	text-decoration: none;
	transition: opacity 0.15s;
}

.tps-cmp-firm-link:hover {
	opacity: 0.85;
}

.tps-cmp-firm-logo {
	height: calc(54px * var(--tps-compare-scale));
	width: calc(150px * var(--tps-compare-scale));
	max-width: 100%;
	object-fit: contain;
	display: block;
}

.tps-cmp-firm-name {
	font-weight: 700;
	color: var(--tps-text-soft);
	font-size: calc(0.95rem * var(--tps-compare-scale));
}

.tps-cmp-firm-meta {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	min-height: 36px;
	justify-content: center;
}

.tps-cmp-firm-plan {
	font-size: 0.72rem;
	color: rgba(var(--tps-text-soft-rgb), 0.62);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
}

.tps-cmp-firm-plan:empty {
	display: none;
}

.tps-cmp-plan-select-wrap {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	max-width: 100%;
	width: 100%;
}

.tps-cmp-plan-select-wrap::after {
	content: "";
	position: absolute;
	right: calc(10px * var(--tps-compare-scale));
	top: 50%;
	width: calc(8px * var(--tps-compare-scale));
	height: calc(8px * var(--tps-compare-scale));
	border-right: 2px solid rgba(var(--tps-text-soft-rgb), 0.55);
	border-bottom: 2px solid rgba(var(--tps-text-soft-rgb), 0.55);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
	transition: border-color 0.15s;
}

.tps-cmp-plan-select-wrap:hover::after,
.tps-cmp-plan-select-wrap:focus-within::after {
	border-right-color: rgba(var(--tps-cyan-rgb), 0.85);
	border-bottom-color: rgba(var(--tps-cyan-rgb), 0.85);
}

.tps-cmp-plan-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: rgba(20, 30, 60, 0.65);
	color: rgba(216, 230, 255, 0.9);
	border: 1px solid rgba(80, 120, 180, 0.45);
	border-radius: calc(8px * var(--tps-compare-scale));
	padding: calc(5px * var(--tps-compare-scale)) calc(26px * var(--tps-compare-scale)) calc(5px * var(--tps-compare-scale)) calc(10px * var(--tps-compare-scale));
	font: 600 calc(0.74rem * var(--tps-compare-scale))/1.25 'Inter', sans-serif;
	cursor: pointer;
	letter-spacing: 0.03em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-overflow: ellipsis;
	transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
}

.tps-cmp-plan-select:hover,
.tps-cmp-plan-select:focus {
	border-color: rgba(var(--tps-cyan-rgb), 0.7);
	color: var(--tps-cyan-soft);
	outline: none;
	box-shadow: 0 0 10px rgba(var(--tps-cyan-rgb), 0.18);
}

.tps-cmp-plan-select option {
	background: #0a1330;
	color: var(--tps-cyan-soft);
	font-weight: 500;
}

.tps-cmp-plan-select option:disabled {
	color: rgba(var(--tps-text-soft-rgb), 0.32);
}

/* Account-modifier control row: plan select plus optional modifier popover
   toggle share ONE row so every firm header keeps an identical control
   footprint and the logos stay on a single horizontal axis. */
.tps-cmp-plan-row {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: calc(5px * var(--tps-compare-scale));
	width: 100%;
	max-width: 100%;
}

.tps-cmp-plan-row .tps-cmp-plan-select-wrap {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.tps-cmp-mod-toggle {
	position: relative;
	flex: 0 0 calc(30px * var(--tps-compare-scale));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: rgba(20, 30, 60, 0.65);
	border: 1px solid rgba(80, 120, 180, 0.45);
	border-radius: calc(8px * var(--tps-compare-scale));
	color: rgba(159, 195, 234, 0.85);
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.tps-cmp-mod-toggle svg {
	width: calc(15px * var(--tps-compare-scale));
	height: calc(15px * var(--tps-compare-scale));
}

.tps-cmp-mod-toggle:hover,
.tps-cmp-mod-toggle:focus-visible,
.tps-cmp-mod-toggle[aria-expanded="true"] {
	border-color: rgba(var(--tps-cyan-rgb), 0.7);
	color: var(--tps-cyan-soft);
	outline: none;
	box-shadow: 0 0 10px rgba(var(--tps-cyan-rgb), 0.18);
}

.tps-cmp-mod-pop {
	position: fixed;
	z-index: 300;
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	gap: 6px;
	max-width: min(250px, calc(100vw - 16px));
	padding: 8px;
	background: #0f1536;
	border: 1px solid rgba(var(--tps-cyan-rgb), 0.45);
	border-radius: 9px;
	box-shadow: 0 10px 24px rgba(2, 6, 20, 0.6);
}

.tps-cmp-mod-pop[hidden] {
	display: none;
}

.tps-cmp-mod-chip {
	font: 600 calc(0.7rem * var(--tps-compare-scale))/1.25 'Inter', sans-serif;
	letter-spacing: 0.03em;
	padding: 6px 10px;
	border-radius: 7px;
	background: transparent;
	border: 1px solid rgba(80, 120, 180, 0.4);
	color: rgba(var(--tps-text-soft-rgb), 0.75);
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.tps-cmp-mod-chip:hover,
.tps-cmp-mod-chip:focus-visible {
	border-color: rgba(var(--tps-cyan-rgb), 0.6);
	color: var(--tps-cyan-soft);
	outline: none;
}

.tps-cmp-mod-chip.is-active {
	background: rgba(var(--tps-cyan-rgb), 0.16);
	border-color: rgba(var(--tps-cyan-rgb), 0.6);
	color: var(--tps-cyan-soft);
}

/* Contextual row chips: the same modifier mirrored into the data row it
   most directly affects (e.g. DLL toggle inside Daily Loss Limit). The
   group is block-level so it always sits on its own line under the value. */
.tps-cmp-row-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	margin: calc(5px * var(--tps-compare-scale)) auto 0;
	border: 1px solid rgba(var(--tps-cyan-rgb), 0.4);
	border-radius: 7px;
	overflow: hidden;
}

/* Rows that carry chips get vertically centered cells so single-line values
   in neighboring columns stay on-axis with the taller chip cell. */
.tps-cmp-row:has(.tps-cmp-row-chips) .tps-cmp-cell--data {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.tps-cmp-row-chip {
	font: 600 calc(0.62rem * var(--tps-compare-scale))/1.3 'Inter', sans-serif;
	letter-spacing: 0.04em;
	padding: 4px 9px;
	border: 0;
	background: rgba(20, 30, 60, 0.5);
	color: rgba(var(--tps-text-soft-rgb), 0.65);
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.tps-cmp-row-chip:hover,
.tps-cmp-row-chip:focus-visible {
	color: var(--tps-cyan-soft);
	outline: none;
}

.tps-cmp-row-chip.is-active {
	background: rgba(var(--tps-cyan-rgb), 0.85);
	color: #04222b;
}

.tps-cmp-compare-toggle {
	--tps-cmp-pin-rgb: var(--tps-cmp-award-rgb, 94, 149, 255);
	appearance: none;
	position: absolute;
	z-index: 18;
	top: calc(3px * var(--tps-compare-scale));
	right: calc(10px * var(--tps-compare-scale));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: calc(34px * var(--tps-compare-scale));
	height: calc(24px * var(--tps-compare-scale));
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: rgba(203, 213, 225, 0.52);
	cursor: pointer;
	box-shadow: none;
	transition: box-shadow 0.16s ease,
	            color 0.16s ease,
	            opacity 0.16s ease,
	            transform 0.16s ease;
}

.tps-cmp-compare-toggle:hover,
.tps-cmp-compare-toggle:focus-visible {
	color: rgba(var(--tps-text-soft-rgb), 0.86);
	box-shadow: 0 0 10px rgba(var(--tps-muted-rgb), 0.18);
	transform: translateY(-1px);
	outline: none;
}

.tps-cmp-compare-toggle.is-active {
	background: transparent;
	color: rgb(var(--tps-cmp-pin-rgb));
	box-shadow: 0 0 14px rgba(var(--tps-cmp-pin-rgb), 0.28);
}

.tps-cmp-compare-toggle__text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tps-cmp-compare-toggle__icon {
	position: relative;
	display: block;
	width: calc(30px * var(--tps-compare-scale));
	height: calc(16px * var(--tps-compare-scale));
	border-radius: 999px;
	background: rgba(var(--tps-muted-rgb), 0.16);
	box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.22),
	            inset 0 0 10px rgba(0, 0, 0, 0.44);
	transition: background 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.tps-cmp-compare-toggle__icon::before {
	content: "";
	position: absolute;
	top: 50%;
	left: calc(3px * var(--tps-compare-scale));
	width: calc(10px * var(--tps-compare-scale));
	height: calc(10px * var(--tps-compare-scale));
	border-radius: 50%;
	background: rgba(226, 232, 240, 0.72);
	transform: translateY(-50%);
	box-shadow: 0 0 6px rgba(var(--tps-muted-rgb), 0.16);
	transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.tps-cmp-compare-toggle:hover .tps-cmp-compare-toggle__icon,
.tps-cmp-compare-toggle:focus-visible .tps-cmp-compare-toggle__icon {
	background: rgba(var(--tps-muted-rgb), 0.24);
	box-shadow: inset 0 0 0 1px rgba(var(--tps-text-soft-rgb), 0.28),
	            inset 0 0 10px rgba(0, 0, 0, 0.44),
	            0 0 10px rgba(var(--tps-muted-rgb), 0.14);
}

.tps-cmp-compare-toggle.is-active .tps-cmp-compare-toggle__icon {
	background: rgba(var(--tps-cmp-pin-rgb), 0.36);
	box-shadow: inset 0 0 0 1px rgba(var(--tps-cmp-pin-rgb), 0.88),
	            inset 0 0 12px rgba(var(--tps-cmp-pin-rgb), 0.2),
	            0 0 12px rgba(var(--tps-cmp-pin-rgb), 0.34);
	filter: drop-shadow(0 0 6px rgba(var(--tps-cmp-pin-rgb), 0.5));
}

.tps-cmp-compare-toggle.is-active .tps-cmp-compare-toggle__icon::before {
	background: var(--tps-white);
	box-shadow: 0 0 8px rgba(var(--tps-cmp-pin-rgb), 0.7);
	transform: translate(calc(14px * var(--tps-compare-scale)), -50%);
}

.tps-cmp-col--unavailable {
	opacity: 0.45;
}

.tps-cmp-col--unavailable .tps-cmp-firm-plan::after {
	content: " · n/a";
	color: rgba(255, 150, 150, 0.7);
}

.tps-cmp-row--section {
	--tps-cmp-section-border: rgba(var(--tps-blue-rgb), 0.32);
	position: relative;
	z-index: 4;
	background: linear-gradient(180deg, rgba(28, 42, 88, 0.42), rgba(16, 22, 52, 0.42));
	border-bottom: 0;
	border-top: 1px solid var(--tps-cmp-section-border);
	cursor: pointer;
	overflow: visible;
}

.tps-cmp-row--section::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	height: 1px;
	background: var(--tps-cmp-section-border);
	pointer-events: none;
}

.tps-cmp-row.is-focused {
	background: linear-gradient(180deg, rgba(var(--tps-cyan-rgb), 0.22), rgba(30, 64, 175, 0.24));
	border-color: rgba(var(--tps-cyan-rgb), 0.72);
	box-shadow: inset 0 0 0 1px rgba(var(--tps-cyan-rgb), 0.32), 0 0 18px rgba(var(--tps-cyan-rgb), 0.2);
}

.tps-cmp-row.is-focused .tps-cmp-cell,
.tps-cmp-row.is-focused .tps-cmp-section-title {
	background-image:
		linear-gradient(90deg, rgba(var(--tps-cyan-rgb), 0), rgba(var(--tps-cyan-rgb), 0.13), rgba(var(--tps-cyan-rgb), 0));
}

.tps-cmp-row:not(.tps-cmp-row--section).is-focused .tps-cmp-cell--label {
	color: var(--tps-cyan-soft);
	text-shadow: 0 0 12px rgba(var(--tps-cyan-rgb), 0.42);
}

.tps-cmp-row:not(.tps-cmp-row--section).is-focused .tps-cmp-cell--data {
	color: var(--tps-white);
}

.tps-cmp-col--header.is-firm-focused,
.tps-cmp-cell--data.is-firm-focused,
.tps-cmp-cell--section-score.is-firm-focused {
	position: relative;
	z-index: 12;
	box-shadow:
		inset 0 0 0 1px rgba(var(--tps-cyan-rgb), 0.62),
		inset 0 0 24px rgba(var(--tps-cyan-rgb), 0.18),
		0 0 22px rgba(var(--tps-cyan-rgb), 0.24);
	animation: tps-cmp-firm-focus-pulse 1.28s ease-out both;
}

.tps-cmp-col--header.is-compare-sticky.is-firm-focused,
.tps-cmp-cell--data.is-compare-sticky.is-firm-focused,
.tps-cmp-cell--section-score.is-compare-sticky.is-firm-focused {
	position: sticky;
}

@keyframes tps-cmp-firm-focus-pulse {
	0% {
		filter: brightness(1.34) saturate(1.26);
	}
	55% {
		filter: brightness(1.14) saturate(1.1);
	}
	100% {
		filter: none;
	}
}

.tps-cmp-row.is-collapsed {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(-8px) scaleY(0.96);
	filter: saturate(0.82) blur(0.35px);
	border-bottom-width: 0;
	border-bottom-color: transparent;
	pointer-events: none;
}

.tps-cmp-row.is-transitioning {
	overflow: hidden;
}

.tps-cmp-row.is-opening {
	max-height: calc(220px * var(--tps-compare-scale));
	opacity: 1;
	overflow: visible;
	transform: none;
	filter: none;
	border-bottom-width: 1px;
	border-bottom-color: rgba(var(--tps-blue-rgb), 0.16);
	pointer-events: auto;
	transition: none !important;
	transition-delay: 0ms !important;
}

.tps-cmp-row[data-tps-cmp-field-row="trading_platforms"]:not(.is-collapsed),
.tps-cmp-row[data-tps-cmp-field-row="data_providers"]:not(.is-collapsed) {
	max-height: none;
}

.tps-cmp-row[data-tps-cmp-field-row="trading_platforms"] .tps-cmp-cell,
.tps-cmp-row[data-tps-cmp-field-row="data_providers"] .tps-cmp-cell {
	overflow-wrap: anywhere;
}

.tps-cmp-section-title {
	flex: 0 0 var(--tps-cmp-label-col);
	color: var(--tps-text-soft);
	font-weight: 700;
	font-size: calc(0.78rem * var(--tps-compare-scale));
	text-transform: uppercase;
	letter-spacing: 0.1em;
	position: sticky;
	left: 0;
	z-index: 30;
	background: transparent;
	border-right: 1px solid rgba(var(--tps-blue-rgb), 0.22);
	border-left: 1px solid rgba(var(--tps-blue-rgb), 0.44);
	box-shadow: inset -1px 0 0 rgba(92, 139, 220, 0.36),
	            inset 1px 0 0 rgba(92, 139, 220, 0.18),
	            1px 0 0 rgba(20, 35, 82, 0.74);
	box-sizing: border-box;
	isolation: isolate;
}

.tps-cmp-section-title::before {
	background: linear-gradient(180deg, #12193a, #0d102d);
}

.tps-cmp-cell--section-score {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(8px * var(--tps-compare-scale)) calc(12px * var(--tps-compare-scale));
	background: rgba(12, 8, 35, 0.18);
}

.tps-cmp-score-bar {
	--tps-cmp-score-accent-rgb: 24, 130, 255;
	position: relative;
	display: block;
	width: 100%;
	height: calc(7px * var(--tps-compare-scale));
	min-height: calc(7px * var(--tps-compare-scale));
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(var(--tps-cmp-score-accent-rgb), 0.42);
	border-radius: 999px;
	background: rgba(3, 10, 28, 0.68);
	box-sizing: border-box;
	box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.58),
	            0 0 8px rgba(var(--tps-cmp-score-accent-rgb), 0.18);
}

[data-tps-cmp-award-theme="violet"] .tps-cmp-score-bar {
	--tps-cmp-score-accent-rgb: 168, 85, 247;
}

[data-tps-cmp-award-theme="cyan"] .tps-cmp-score-bar {
	--tps-cmp-score-accent-rgb: 34, 211, 238;
}

[data-tps-cmp-award-theme="gold"] .tps-cmp-score-bar {
	--tps-cmp-score-accent-rgb: 234, 179, 8;
}

.tps-cmp-score-bar--empty {
	color: transparent;
	border-color: rgba(var(--tps-blue-rgb), 0.28);
	background: rgba(3, 10, 28, 0.52);
}

.tps-cmp-score-bar__fill {
	display: block;
	width: var(--tps-cmp-score-pct, 0%);
	height: 100%;
	min-width: 5%;
	border-radius: inherit;
	background: rgba(var(--tps-cmp-score-accent-rgb), 0.86);
	box-shadow: 0 0 12px rgba(var(--tps-cmp-score-accent-rgb), 0.72),
	            inset 0 0 10px rgba(var(--tps-white-rgb), 0.24);
	transition: width 0.52s cubic-bezier(0.22, 1, 0.36, 1),
	            box-shadow 0.18s ease,
	            filter 0.18s ease;
}

.tps-cmp-score-bar.tps-detail-def--tooltip {
	cursor: help;
}

.tps-cmp-score-bar.tps-detail-def--tooltip:hover,
.tps-cmp-score-bar.tps-detail-def--tooltip:focus-visible {
	filter: brightness(1.08);
	outline: none;
}

.tps-cmp-score-bar.tps-detail-def--tooltip:hover .tps-cmp-score-bar__fill,
.tps-cmp-score-bar.tps-detail-def--tooltip:focus-visible .tps-cmp-score-bar__fill {
	box-shadow: 0 0 17px rgba(var(--tps-cmp-score-accent-rgb), 0.86),
	            inset 0 0 10px rgba(var(--tps-white-rgb), 0.28);
}

.tps-cmp-section-toggle {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: calc(9px * var(--tps-compare-scale));
	width: 100%;
	padding: calc(9px * var(--tps-compare-scale)) calc(14px * var(--tps-compare-scale));
	font: inherit;
	letter-spacing: inherit;
	text-align: left;
	text-transform: inherit;
}

.tps-cmp-section-toggle::before {
	content: "";
	width: calc(7px * var(--tps-compare-scale));
	height: calc(7px * var(--tps-compare-scale));
	border-right: 2px solid rgba(158, 214, 255, 0.9);
	border-bottom: 2px solid rgba(158, 214, 255, 0.9);
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.16s ease, border-color 0.16s ease;
}

.tps-cmp-section-toggle:hover,
.tps-cmp-section-toggle:focus-visible {
	color: var(--tps-text-bright);
	outline: none;
}

.tps-cmp-section-toggle:hover::before,
.tps-cmp-section-toggle:focus-visible::before {
	border-right-color: rgba(var(--tps-cyan-rgb), 0.95);
	border-bottom-color: rgba(var(--tps-cyan-rgb), 0.95);
}

.tps-cmp-section-toggle:focus-visible {
	box-shadow: inset 0 0 0 2px rgba(var(--tps-cyan-rgb), 0.4);
}

.tps-cmp-section-toggle.is-collapsed::before {
	transform: translateX(-2px) rotate(-45deg);
}

/* ── Compact firm chooser (only shown in focus mode below) ───────────── */
.tps-cmp-focus-bar {
	display: none;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
}

.tps-cmp-focus-slot-wrap {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
}

.tps-cmp-focus-slot-wrap::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid rgba(var(--tps-text-soft-rgb), 0.55);
	border-bottom: 2px solid rgba(var(--tps-text-soft-rgb), 0.55);
	transform: translateY(-65%) rotate(45deg);
	pointer-events: none;
	transition: border-color 0.15s;
}

.tps-cmp-focus-slot-wrap:hover::after,
.tps-cmp-focus-slot-wrap:focus-within::after {
	border-right-color: rgba(var(--tps-cyan-rgb), 0.85);
	border-bottom-color: rgba(var(--tps-cyan-rgb), 0.85);
}

.tps-cmp-focus-slot {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: rgba(20, 30, 60, 0.65);
	color: rgba(216, 230, 255, 0.9);
	border: 1px solid rgba(80, 120, 180, 0.45);
	border-radius: 8px;
	padding: 6px 26px 6px 10px;
	font: 600 0.8rem/1.25 'Inter', sans-serif;
	cursor: pointer;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-overflow: ellipsis;
	transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.tps-cmp-focus-slot:hover,
.tps-cmp-focus-slot:focus {
	border-color: rgba(var(--tps-cyan-rgb), 0.7);
	color: var(--tps-cyan-soft);
	outline: none;
	box-shadow: 0 0 10px rgba(var(--tps-cyan-rgb), 0.18);
}

.tps-cmp-focus-slot option {
	background: #0a1330;
	color: var(--tps-cyan-soft);
}

/* ── Focus mode: tablet 3-up (≤1024px) ──────────────────────────────── */
@media (max-width: 1024px) {
	.tps-firms-compare--home {
		padding: 36px 0 56px;
	}

	.tps-firms-compare__header {
		grid-template-columns: 1fr;
		padding-left: 14px;
	}

	.tps-firms-compare__subhead {
		justify-self: start;
		max-width: 100%;
		text-align: left;
	}

	.tps-firms-compare__header::after {
		width: 46vw;
	}

	/* Reveal the compact firm chooser; hide the desktop picker + scroll rails. */
	.tps-cmp-focus-bar {
		display: flex;
		flex: 1 1 100%;
		order: 3;
		width: 100%;
	}

	.tps-cmp-firm-search {
		display: none;
	}

	.tps-cmp-scroll-rail {
		display: none !important;
	}

	/* Stop horizontal scrolling — let the grid fill the viewport. */
	.tps-firms-compare__scroll {
		overflow-x: visible;
	}

	.tps-firms-compare__scroll-frame {
		overflow: visible;
	}

	.tps-firms-compare__grid {
		min-width: 0;
		width: 100%;
		--tps-cmp-label-col: 124px;
		--tps-cmp-section-row-h: 58px;
		--tps-cmp-sticky-overlap: 1px;
	}

	/* The visible (non-display:none) firm columns split the remaining width. */
	.tps-cmp-col--header,
	.tps-cmp-cell--data,
	.tps-cmp-cell--section-score {
		flex: 1 1 0;
		min-width: 0;
	}

	.tps-cmp-cell {
		font-size: 0.84rem;
		padding: 10px 10px;
	}

	/* Long values must wrap, not bleed past the narrow column; clip any residual. */
	.tps-cmp-cell--data {
		overflow: hidden;
	}

	.tps-cmp-cell--data .tps-detail-def__text,
	.tps-cmp-cell--data .tps-cmp-start-trading-link span,
	.tps-cmp-cell--data .tps-cmp-coupon-link span {
		white-space: normal;
		overflow-wrap: anywhere;
	}

	.tps-cmp-cell--label {
		font-size: 0.78rem;
	}

	.tps-cmp-firm-logo {
		max-height: 30px;
		max-width: 100%;
	}

	.tps-cmp-firm-name {
		font-size: 0.86rem;
	}

	/* Focus mode: slightly slimmer modifier toggle with an enlarged
	   invisible tap target (~40px) for touch. */
	.tps-cmp-mod-toggle {
		flex-basis: 28px;
	}

	.tps-cmp-mod-toggle::before {
		content: "";
		position: absolute;
		inset: -7px;
	}

	.tps-cmp-mod-pop {
		max-width: calc(100vw - 16px);
	}

	.tps-cmp-mod-chip {
		padding: 8px 10px;
	}

	.tps-cmp-row-chip {
		padding: 6px 8px;
	}

	.tps-cmp-cell--section-score {
		padding: 7px 8px;
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-row--section {
		min-height: var(--tps-cmp-section-row-h);
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-section-title,
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--section-score:not(.is-filtered-out) {
		min-height: var(--tps-cmp-section-row-h);
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-section-title {
		letter-spacing: 0;
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-section-toggle {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		min-height: 100%;
		padding: 0 12px;
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-section-toggle span {
		display: -webkit-box;
		line-height: 1.18;
		overflow: hidden;
		overflow-wrap: anywhere;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	/* Per-column pin toggle is replaced by the chooser in focus mode — hide it
	   (it also un-hides every firm, which breaks the 2/3-up layout). */
	.tps-cmp-compare-toggle {
		display: none !important;
	}

	/* Vertically center the left label and the value so wrapped labels and
	   multi-line values stay aligned across the row.
	   :not(.is-filtered-out) is required so this display:flex does not override
	   the .is-filtered-out { display:none } that hides non-focused firms. */
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--label,
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--data:not(.is-filtered-out),
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-section-title {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	/* Center the collapsed-section score bars in their rows so they line up with
	   the centered section label instead of floating at the top. */
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--section-score:not(.is-filtered-out) {
		justify-content: center;
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--label,
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-section-title {
		align-items: flex-start;
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--data:not(.is-filtered-out) {
		align-items: center;
		text-align: center;
	}

	/* Chooser-selected columns get the highlighted "is-compare-sticky" look,
	   but NOT the desktop sticky side-by-side positioning (which would overlap
	   the columns). Keep the glow/background, drop the position:sticky. */
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-col--header.is-compare-sticky,
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--data.is-compare-sticky,
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-cell--section-score.is-compare-sticky {
		position: static;
		left: auto;
		box-shadow:
			inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.22),
			inset 0 0 22px rgba(var(--tps-blue-rgb), 0.12);
	}

	/* Native sticky header (the JS clone is torn down in focus mode).
	   --tps-cmp-sticky-top is set in JS to the real site-header height. */
	.tps-firms-compare__grid.is-focus-mode .tps-cmp-row--header {
		position: sticky;
		top: calc(var(--tps-cmp-sticky-top, 64px) - var(--tps-cmp-sticky-overlap, 0px));
		z-index: 30;
		background: var(--tps-base);
	}

	.tps-firms-compare__controls {
		gap: 10px;
		justify-content: flex-start;
	}

	.tps-firms-compare__sort,
	.tps-cmp-size-control {
		width: 100%;
		gap: 6px;
	}

	.tps-firms-compare__sort {
		order: 1;
	}

	.tps-cmp-size-control {
		order: 2;
	}

	.tps-cmp-sort {
		padding: 6px 12px;
		font-size: 0.78rem;
	}

	.tps-cmp-sort--reset {
		margin-left: 0;
	}

	.tps-cmp-size-btn {
		min-width: 0;
		flex: 1 1 auto;
		height: 32px;
		padding: 0 12px;
		font-size: 0.82rem;
	}

	.tps-cmp-plan-select {
		font-size: 0.68rem;
		padding: 4px 22px 4px 8px;
	}
}

/* ── Focus mode: mobile 2-up (≤600px) ───────────────────────────────── */
@media (max-width: 600px) {
	/* Drop the 3rd chooser slot — only 2 firms fit. */
	.tps-cmp-focus-bar .tps-cmp-focus-slot-wrap:nth-child(4) {
		display: none;
	}

	/* Reclaim width: drop the "Sort/Compare/Size" labels and keep each
	   control group on a single non-wrapping row of evenly-sized buttons. */
	.tps-firms-compare__controls-label {
		display: none;
	}

	.tps-firms-compare__sort,
	.tps-cmp-size-control {
		flex-wrap: nowrap;
		gap: 6px;
	}

	.tps-cmp-sort,
	.tps-cmp-size-btn {
		flex: 1 1 0;
		min-width: 0;
		padding-left: 4px;
		padding-right: 4px;
		font-size: 0.72rem;
	}

	.tps-firms-compare__grid {
		--tps-cmp-label-col: 106px;
		--tps-cmp-section-row-h: 50px;
	}

	.tps-cmp-award-legend {
		align-items: center;
		justify-content: center;
		gap: 5px;
		padding: 8px 0;
	}

	.tps-cmp-award-legend__title,
	.tps-cmp-award-legend__label {
		display: none;
	}

	.tps-cmp-award-legend__item {
		flex: 0 0 30px;
		justify-content: center;
		width: 34px;
		min-height: 30px;
		padding: 0;
		border-radius: 10px;
	}

	.tps-cmp-award-legend__item::before {
		left: -6px;
		width: 3px;
	}

	.tps-cmp-award-legend__item:hover,
	.tps-cmp-award-legend__item:focus-visible {
		transform: scale(1.04);
	}

	.tps-cmp-award-legend__item.is-active::before {
		left: -6px;
		height: 70%;
	}

	/* Tighter, more uniform grid: smaller type + padding so rows stay short
	   and even and values wrap less. */
	.tps-cmp-cell {
		font-size: 0.72rem;
		padding: 6px 7px;
	}

	.tps-cmp-cell--label {
		font-size: 0.64rem;
		padding: 6px 7px;
		letter-spacing: 0.01em;
	}

	.tps-cmp-cell--section-score {
		padding: 6px 7px;
	}

	.tps-cmp-section-title {
		font-size: 0.66rem;
	}

	.tps-firms-compare__grid.is-focus-mode .tps-cmp-section-toggle {
		gap: 6px;
		padding: 0 7px;
	}

	.tps-cmp-firm-name {
		font-size: 0.76rem;
	}

	.tps-cmp-firm-logo {
		max-height: 26px;
	}

	/* Coupon / "I'm Ready" pills: smaller so "GOONIE - 90% OFF" stays compact. */
	.tps-cmp-start-trading-link {
		padding: 4px 8px;
	}

	.tps-cmp-start-trading-link span {
		font-size: 0.66rem;
	}

	.tps-cmp-cell--data .tps-detail-def__text {
		font-size: 0.72rem;
	}

	.tps-cmp-score-bar {
		height: 6px;
		min-height: 6px;
	}

	.tps-cmp-plan-select {
		font-size: 0.62rem;
		padding: 4px 20px 4px 7px;
	}
}

/* ── Homepage Hero ────────────────────────────────────────────────────── */

.tps-hp-hero {
	position:    relative;
	overflow:    hidden;
	padding:     0 0 calc(96px * var(--tps-hero-scale));
	background:  var(--tps-base);
	min-height:  calc(850px * var(--tps-hero-scale));
	width:       100vw;
	margin-left: calc(50% - 50vw);
}

.tps-hp-hero::before {
	content: none;
}

.tps-hp-hero::after {
	content: none;
}

/* Glowing orb decorations */
.tps-hero-glow {
	display: none;
}
.tps-hero-glow--1 {
	width:      700px;
	height:     700px;
	right:      0;
	top:        50%;
	transform:  translateY(-50%);
	background: radial-gradient(ellipse, rgba(var(--tps-cyan-rgb),0.13) 0%, rgba(0,120,255,0.08) 38%, rgba(var(--tps-violet-rgb),0.05) 60%, transparent 78%);
}
.tps-hero-glow--2 {
	width:      300px;
	height:     300px;
	left:       -80px;
	bottom:     -60px;
	background: radial-gradient(ellipse, rgba(var(--tps-violet-rgb),0.08) 0%, transparent 70%);
}

.tps-hp-hero__inner {
	display:        flex;
	flex-direction: column;
	align-items:    center;
	gap:            calc(12px * var(--tps-hero-scale));
	position:       relative;
	z-index:        1;
	width:          100%;
	max-width:      max(calc(1548px * var(--tps-hero-scale)), 1548px);
	padding-left:   calc(24px * var(--tps-hero-scale));
	padding-right:  calc(24px * var(--tps-hero-scale));
}

/* Left column */
.tps-hp-hero__content {
	width:          min(calc(760px * var(--tps-hero-scale)), 100%);
	min-width:      0;
	text-align:     center;
	padding-bottom: calc(41px * var(--tps-hero-scale));
	position:       relative;
	z-index:        5;
	isolation:      isolate;
}

.tps-hp-hero__content::before {
	content:        "";
	position:       absolute;
	left:           50%;
	top:            calc(-22px * var(--tps-hero-scale));
	width:          min(calc(780px * var(--tps-hero-scale)), calc(100vw - 48px));
	height:         calc(240px * var(--tps-hero-scale));
	transform:      translateX(-50%);
	border-radius:  50%;
	background:     radial-gradient(ellipse at center, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.48) 34%, rgba(0, 0, 0, 0.16) 64%, transparent 78%);
	filter:         blur(12px);
	pointer-events: none;
	z-index:        -1;
}

.tps-hp-eyebrow {
	display:        inline-block;
	font-size:      0.7rem;
	font-weight:    700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color:          var(--tps-primary);
	border:         1px solid var(--tps-border);
	border-radius:  99px;
	padding:        4px 12px;
	margin-bottom:  20px;
}

.tps-hp-headline {
	font-size:      clamp(2.25rem, calc(3.8rem * var(--tps-hero-scale)), 17.1rem);
	font-weight:    800;
	line-height:    1.02;
	color:          var(--tps-text);
	margin:         0 0 calc(12px * var(--tps-hero-scale));
	text-shadow:
		0 4px 2px rgba(0, 0, 0, 1),
		0 8px 8px rgba(0, 0, 0, 0.96),
		0 14px 28px rgba(0, 0, 0, 0.94),
		0 0 46px rgba(0, 0, 0, 1),
		0 0 74px rgba(0, 0, 0, 0.82);
}

.tps-hp-subhead {
	font-size:   1rem;
	color:       var(--tps-muted);
	line-height: 1.65;
	max-width:   620px;
	margin:      0 auto 18px;
}

.tps-hp-ctas {
	display:     flex;
	justify-content: center;
	gap:         14px;
	flex-wrap:   wrap;
	margin-bottom: 20px;
}

.tps-btn {
	display:         inline-flex;
	align-items:     center;
	justify-content: center;
	padding:         12px 28px;
	border-radius:   8px;
	font-size:       0.9rem;
	font-weight:     600;
	text-decoration: none;
	transition:      background 0.2s, color 0.2s, opacity 0.2s;
}
.tps-btn--primary {
	background: var(--tps-primary);
	color:      var(--tps-white);
}
.tps-btn--primary:hover { background: var(--tps-cyan); color: var(--tps-ink); }
.tps-btn--ghost {
	background:  transparent;
	color:       var(--tps-text);
	border:      1px solid var(--tps-border);
}
.tps-btn--ghost:hover {
	background:  var(--tps-primary-dim);
	border-color: var(--tps-border);
	color:       var(--tps-primary);
}

.tps-hp-stats-row {
	display:     flex;
	justify-content: center;
	align-items: center;
	gap:         calc(24px * var(--tps-hero-scale));
}
.tps-hp-mini-stat { display: flex; flex-direction: column; gap: 2px; }
.tps-hp-mini-num  { font-size: calc(1.4rem * var(--tps-hero-scale)); font-weight: 800; color: var(--tps-text); text-shadow: 0 3px 2px rgba(0, 0, 0, 1), 0 8px 16px rgba(0, 0, 0, 0.96), 0 0 28px rgba(0, 0, 0, 0.96); }
.tps-hp-mini-label { font-size: calc(0.7rem * var(--tps-hero-scale)); font-weight: 700; color: var(--tps-muted-soft); text-transform: uppercase; letter-spacing: 0.8px; text-shadow: 0 2px 2px rgba(0, 0, 0, 1), 0 7px 16px rgba(0, 0, 0, 0.96), 0 0 24px rgba(0, 0, 0, 0.94); }
.tps-hp-stat-divider { width: 1px; height: calc(32px * var(--tps-hero-scale)); background: var(--tps-border-subtle); }

.tps-hp-account-size {
	display:         inline-flex;
	align-items:     center;
	justify-content: center;
	gap:             calc(10px * var(--tps-hero-scale));
	margin-top:      calc(14px * var(--tps-hero-scale));
	padding:         0;
	position:        relative;
	z-index:         1;
}

.tps-hp-account-size__btn {
	min-width:       calc(92px * var(--tps-hero-scale));
	height:          calc(34px * var(--tps-hero-scale));
	padding:         0 calc(18px * var(--tps-hero-scale));
	border:          1px solid rgba(var(--tps-blue-rgb), 0.58);
	border-radius:   999px;
	background:      rgba(5, 12, 30, 0.74);
	color:           var(--tps-muted-soft);
	font:            inherit;
	font-size:       calc(0.88rem * var(--tps-hero-scale));
	font-weight:     800;
	line-height:     1;
	cursor:          pointer;
	box-shadow:      inset 0 0 18px rgba(0, 0, 0, 0.42),
	                 0 5px 18px rgba(0, 0, 0, 0.24);
	transition:      background 0.16s ease,
	                 border-color 0.16s ease,
	                 box-shadow 0.16s ease,
	                 color 0.16s ease,
	                 transform 0.16s ease;
}

.tps-hp-account-size__btn:hover,
.tps-hp-account-size__btn:focus-visible {
	border-color: rgba(var(--tps-blue-rgb), 0.95);
	color:        var(--tps-text-soft);
	box-shadow:   inset 0 0 18px rgba(var(--tps-blue-rgb), 0.12),
	              0 0 18px rgba(var(--tps-blue-rgb), 0.28),
	              0 5px 18px rgba(0, 0, 0, 0.24);
	transform:    translateY(-1px);
	outline:      none;
}

.tps-hp-account-size__btn.is-active {
	border-color: var(--tps-blue);
	background:   linear-gradient(180deg, rgba(13, 54, 159, 0.92), rgba(7, 32, 103, 0.92));
	color:        var(--tps-text-soft);
	box-shadow:   inset 0 0 0 1px rgba(var(--tps-blue-rgb), 0.36),
	              inset 0 0 20px rgba(var(--tps-blue-rgb), 0.32),
	              0 0 20px rgba(var(--tps-blue-rgb), 0.42),
	              0 5px 18px rgba(0, 0, 0, 0.28);
}

/* Right column: dashboard visual */
.tps-hp-hero__visual {
	--tps-hc-stage-width:  min(calc(100vw - 48px), calc(1500px * var(--tps-hero-scale)));
	--tps-hc-stage-height: calc(640px * var(--tps-hero-scale));
	position:    relative;
	flex:        none;
	width:       var(--tps-hc-stage-width);
	max-width:   100%;
	margin-top:  0;
}

.tps-dash-card {
	background:    rgba(11, 21, 36, 0.85);
	border:        1px solid var(--tps-border);
	border-radius: 16px;
	padding:       24px;
	backdrop-filter: blur(12px);
	box-shadow:    0 0 40px rgba(var(--tps-cyan-rgb), 0.06);
	position:      relative;
	z-index:       1;
}

.tps-dash-card__header {
	display:         flex;
	align-items:     center;
	justify-content: space-between;
	margin-bottom:   20px;
}
.tps-dash-card__title { font-size: 0.85rem; font-weight: 600; color: var(--tps-text); }

.tps-dash-live {
	display:     flex;
	align-items: center;
	gap:         6px;
	font-size:   0.7rem;
	color:       var(--tps-muted-2);
}
.tps-dash-live__dot {
	display:       inline-block;
	width:         7px;
	height:        7px;
	border-radius: 50%;
	background:    var(--tps-success);
	box-shadow:    0 0 6px rgba(var(--tps-success-rgb),0.7);
	animation:     tps-pulse 2s ease-in-out infinite;
}
@keyframes tps-pulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.4; }
}

.tps-dash-card__metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
.tps-dash-metric {
	background:    rgba(var(--tps-white-rgb),0.03);
	border:        1px solid var(--tps-border-subtle);
	border-radius: 10px;
	padding:       14px;
	position:      relative;
}

a.tps-dash-metric {
	color:           inherit;
	text-decoration: none;
	display:         block;
	cursor:          pointer;
	transition:      border-color 0.3s;
}
a.tps-dash-metric:hover { border-color: rgba(var(--tps-cyan-rgb),0.35); }

.tps-dash-metric__glow {
	position:       absolute;
	width:          260px;
	height:         260px;
	top:            50%;
	left:           50%;
	transform:      translate(-50%, -50%);
	border-radius:  50%;
	filter:         blur(45px);
	opacity:        0;
	transition:     opacity 0.4s ease;
	pointer-events: none;
	z-index:        0;
	background:     radial-gradient(ellipse at center, rgba(var(--tps-cyan-rgb),0.22) 0%, rgba(var(--tps-cyan-rgb),0.08) 45%, transparent 72%);
}
a.tps-dash-metric:hover .tps-dash-metric__glow { opacity: 1; }
.tps-dash-metric > *:not(.tps-dash-metric__glow) { position: relative; z-index: 1; }
.tps-dash-metric__label {
	font-size:     0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color:         var(--tps-muted-2);
	margin-bottom: 6px;
}
.tps-dash-metric__value {
	font-size:   1.35rem;
	font-weight: 800;
	margin-bottom: 10px;
}
.tps-dash-metric__value--cyan   { color: var(--tps-primary); }
.tps-dash-metric__value--violet { color: var(--tps-violet-soft); }

.tps-dash-chart {
	display: block;
	width:   100%;
	height:  36px;
	overflow: visible;
}

.tps-dash-card__legend {
	display:     flex;
	gap:         16px;
	flex-wrap:   wrap;
}
.tps-dash-legend-item {
	font-size:   0.68rem;
	color:       var(--tps-muted-2);
}
.tps-dash-legend-item::before {
	content:       '■ ';
	margin-right:  2px;
}
.tps-dash-legend-item--cyan   { color: var(--tps-primary); }
.tps-dash-legend-item--violet { color: var(--tps-violet-soft); }

/* ── Hero Carousel ───────────────────────────────────────────────────────── */

.tps-hc-stage {
	position:    relative;
	width:       100%;
	height:      var(--tps-hc-stage-height);
	aspect-ratio: 1672 / 941;
	user-select: none;
	background:  none;
	overflow:    visible;
}

.tps-hc-stage::before {
	display: none;
}

.tps-hc-stage__platform-wrap {
	position:       absolute;
	left:           50%;
	bottom:         4%;
	width:          112%;
	max-width:      none;
	transform:      translateX(-50%);
	pointer-events: none;
	user-select:    none;
	z-index:        0;
}

.tps-hc-stage__platform {
	display:        block;
	width:          100%;
	height:         auto;
	max-width:      none;
	pointer-events: none;
	user-select:    none;
}

.tps-hc-track {
	position:    relative;
	width:       100%;
	height:      var(--tps-hc-stage-height);
	perspective: 1000px;
	z-index:     3;
	isolation:   isolate;
	transform-style: preserve-3d;
}

.tps-hc-card {
	position:            absolute;
	top:                 37%;
	left:                50%;
	width:               421px;
	height:              563px;
	aspect-ratio:        1150 / 1537;
	margin-top:          -281.5px;
	margin-left:         -210.5px;
	border:              none;
	border-radius:       30px;
	padding:             0;
	display:             flex;
	flex-direction:      column;
	text-decoration:     none;
	color:               inherit;
	transition:          transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94),
	                     opacity 0.55s ease,
	                     translate 0.3s ease;
	will-change:         transform, opacity;
	contain:             layout style;
	overflow:            visible;
	cursor:              pointer;
	backface-visibility: hidden;
	transform-style:     preserve-3d;
	background:          transparent;
	--hc-accent:         var(--tps-blue);
	--hc-accent-rgb:     var(--tps-blue-rgb);
	--hc-text-dim:       rgba(150, 213, 255, 0.58);
}

.tps-hc-card::before {
	content:        "";
	position:       absolute;
	inset:          34px 36px 40px;
	border:         none;
	border-radius:  26px;
	pointer-events: none;
	z-index:        -1;
	opacity:        0.84;
	background:     rgba(var(--hc-accent-rgb), 0.12);
	box-shadow:     0 0 22px rgba(var(--hc-accent-rgb), 0.68),
	                0 0 50px rgba(var(--hc-accent-rgb), 0.46),
	                0 0 84px rgba(var(--hc-accent-rgb), 0.27),
	                0 6px 14px rgba(0, 0, 0, 0.28);
	transform:      translateZ(-1px);
}

.tps-hc-card--active {
	--hc-glow-boost: 1;
}

.tps-hc-card--active::before {
	opacity:    1;
	background: rgba(var(--hc-accent-rgb), 0.15);
	box-shadow: 0 0 27px rgba(var(--hc-accent-rgb), 0.84),
	            0 0 64px rgba(var(--hc-accent-rgb), 0.60),
	            0 0 108px rgba(var(--hc-accent-rgb), 0.34),
	            0 8px 18px rgba(0, 0, 0, 0.30);
}

.tps-hc-card--active:hover {
	z-index:    20;
	transition: transform 0.275s cubic-bezier(0.25,0.46,0.45,0.94),
	            opacity   0.55s ease,
	            translate 0.3s ease;
}

.tps-hc-card:not(.tps-hc-card--active):hover {
	opacity:   1 !important;
	translate: 0 -10px;
	z-index:   15;
}

.tps-hc-card:not(.tps-hc-card--active):hover::before {
	opacity: 0.86;
}

.tps-hc-card--violet {
	--hc-accent:     var(--tps-violet);
	--hc-accent-rgb: var(--tps-violet-rgb);
	--hc-text-dim:   rgba(218, 176, 255, 0.60);
}

.tps-hc-card--cyan {
	--hc-accent:     var(--tps-cyan);
	--hc-accent-rgb: var(--tps-cyan-rgb);
	--hc-text-dim:   rgba(164, 245, 255, 0.62);
}

.tps-hc-card--gold {
	--hc-accent:     var(--tps-gold);
	--hc-accent-rgb: var(--tps-gold-rgb);
	--hc-text-dim:   rgba(255, 226, 133, 0.62);
}

.tps-hc-card--blue {
	--hc-accent:     var(--tps-blue);
	--hc-accent-rgb: var(--tps-blue-rgb);
	--hc-text-dim:   rgba(169, 211, 255, 0.62);
}

.tps-hc-card__bg {
	position: absolute;
	inset:    0;
	z-index:  0;
	backface-visibility: hidden;
}

.tps-hc-card__bg picture {
	display: block;
	width:   100%;
	height:  100%;
}

.tps-hc-card__bg img {
	width:      100%;
	height:     100%;
	object-fit: fill;
	display:    block;
	backface-visibility: hidden;
	image-rendering: auto;
}

.tps-hc-card__content {
	position:       absolute;
	inset:          0;
	z-index:        1;
	display:        block;
	padding:        0;
	height:         auto;
	overflow:       hidden;
	border-radius:  30px;
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
}

.tps-hc-card--violet .tps-hc-card__content::after,
.tps-hc-card--cyan .tps-hc-card__content::after,
.tps-hc-card--gold .tps-hc-card__content::after {
	content: "";
	position: absolute;
	inset: 5.8% 6.1% 6.2%;
	z-index: 12;
	pointer-events: none;
	border-radius: 18px;
	background:
		linear-gradient(112deg,
			transparent 0%,
			transparent 42%,
			rgba(var(--tps-white-rgb), 0.08) 46%,
			rgba(var(--tps-white-rgb), 0.46) 50%,
			rgba(var(--hc-accent-rgb), 0.18) 53%,
			rgba(var(--tps-white-rgb), 0.07) 57%,
			transparent 64%,
			transparent 100%);
	mix-blend-mode: screen;
	opacity: 0;
	transform: translateX(-120%);
	animation: tps-hc-card-face-sheen 10.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
	animation-delay: var(--hc-sheen-delay, 0s);
}

.tps-hc-card--gold { --hc-sheen-delay: 1.2s; }
.tps-hc-card--violet { --hc-sheen-delay: 3.8s; }
.tps-hc-card--cyan { --hc-sheen-delay: 6.2s; }

@keyframes tps-hc-card-face-sheen {
	0%,
	72% {
		opacity: 0;
		transform: translateX(-120%);
	}
	75% {
		opacity: 0.2;
	}
	80% {
		opacity: 0.56;
	}
	86% {
		opacity: 0.14;
		transform: translateX(120%);
	}
	100% {
		opacity: 0;
		transform: translateX(120%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tps-hc-card--violet .tps-hc-card__content::after,
	.tps-hc-card--cyan .tps-hc-card__content::after,
	.tps-hc-card--gold .tps-hc-card__content::after {
		animation: none;
	}
}

.tps-hc-card__spark,
.tps-hc-card__stats,
.tps-hc-card__cost {
	display: none;
}

.tps-hc-card__badge {
	position:       absolute;
	top:            2.05%;
	left:           50%;
	width:          46%;
	transform:      translateX(-50%);
	overflow:       hidden;
	text-align:     center;
	white-space:    nowrap;
	text-overflow:  ellipsis;
	font-size:      0.76rem;
	font-weight:    800;
	letter-spacing: 2px;
	line-height:    1;
	color:          var(--hc-accent);
	text-shadow:    0 0 10px rgba(var(--hc-accent-rgb), 0.65);
}

.tps-hc-card__header {
	position:        absolute;
	left:            6.25%;
	top:             6.05%;
	width:           87.5%;
	height:          14.95%;
	display:         flex;
	align-items:     center;
	justify-content: center;
	overflow:        hidden;
	padding:         1.4% 4.5%;
}

.tps-hc-card__header::before {
	content:        "";
	position:       absolute;
	inset:          3px;
	border-radius:  16px;
	background:     radial-gradient(circle at 50% 50%, rgba(var(--hc-accent-rgb), 0.17), transparent 68%);
	box-shadow:     0 0 0 rgba(var(--hc-accent-rgb), 0);
	opacity:        0;
	pointer-events: none;
	transition:     opacity 0.18s ease, box-shadow 0.18s ease;
	z-index:        0;
}

.tps-hc-card__header > * {
	position: relative;
	z-index:  1;
}

.tps-hc-card__header:hover::before,
.tps-hc-card__header:focus-within::before {
	box-shadow: inset 0 0 18px rgba(var(--hc-accent-rgb), 0.16),
	            0 0 18px rgba(var(--hc-accent-rgb), 0.34);
	opacity:    1;
}

.tps-hc-card__logo {
	width:      100%;
	height:     100%;
	object-fit: contain;
	display:    block;
}

.tps-hc-card__name {
	font-size:      1.04rem;
	font-weight:    700;
	letter-spacing: 1.13px;
	color:          var(--tps-cyan-soft);
	line-height:    1.05;
	text-align:     center;
	text-shadow:    0 0 10px rgba(var(--hc-accent-rgb),0.5);
}

.tps-hc-metric {
	position: absolute;
	left:     5.75%;
	width:    88.6%;
	height:   18.9%;
	overflow: hidden;
}

.tps-hc-metric::before,
.tps-hc-bottom-stat::before {
	content:        "";
	position:       absolute;
	inset:          3px;
	border-radius:  18px;
	background:     radial-gradient(circle at 50% 50%, rgba(var(--hc-accent-rgb), 0.18), transparent 66%);
	box-shadow:     0 0 0 rgba(var(--hc-accent-rgb), 0);
	opacity:        0;
	pointer-events: none;
	transition:     opacity 0.18s ease, box-shadow 0.18s ease;
	z-index:        0;
}

.tps-hc-metric > *,
.tps-hc-bottom-stat > * {
	position: relative;
	z-index:  1;
}

.tps-hc-metric:hover::before,
.tps-hc-metric:focus-within::before,
.tps-hc-bottom-stat:hover::before,
.tps-hc-bottom-stat:focus-within::before {
	box-shadow:   inset 0 0 18px rgba(var(--hc-accent-rgb), 0.18),
	              0 0 18px rgba(var(--hc-accent-rgb), 0.36);
	opacity:      1;
}

.tps-hc-metric--cost { top: 22.65%; }
.tps-hc-metric--drawdown { top: 42.7%; }
.tps-hc-metric--rules { top: 62.7%; }

.tps-hc-metric__label {
	position:       absolute;
	left:           6.2%;
	top:            14.2%;
	max-width:      64%;
	overflow:       hidden;
	text-overflow:  ellipsis;
	white-space:    nowrap;
	color:          var(--tps-text-bright);
	font-size:      1.08rem;
	font-weight:    850;
	line-height:    1;
	text-transform: uppercase;
	letter-spacing: 0.24px;
	text-shadow:    0 2px 8px rgba(0, 0, 0, 0.82),
	                0 0 10px rgba(var(--hc-accent-rgb), 0.28);
	transition:     color 0.18s ease, text-shadow 0.18s ease;
}

.tps-hc-metric__value {
	position:    absolute;
	top:         10%;
	right:       5.2%;
	max-width:   34%;
	overflow:    hidden;
	color:       var(--tps-white);
	font-size:   1.52rem;
	font-weight: 900;
	line-height: 1;
	text-align:  right;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.86),
	             0 0 12px rgba(var(--tps-white-rgb), 0.16);
	white-space: nowrap;
	transition:  text-shadow 0.18s ease;
}

.tps-hc-metric--rules .tps-hc-metric__value {
	font-size:      1.34rem;
	text-transform: uppercase;
}

.tps-hc-metric:hover .tps-hc-metric__label,
.tps-hc-metric:focus-within .tps-hc-metric__label,
.tps-hc-bottom-stat:hover .tps-hc-bottom-stat__label,
.tps-hc-bottom-stat:focus-within .tps-hc-bottom-stat__label {
	color:       var(--tps-white);
	text-shadow: 0 0 12px rgba(var(--hc-accent-rgb), 0.78),
	             0 2px 7px rgba(0, 0, 0, 0.76);
}

.tps-hc-metric:hover .tps-hc-metric__value,
.tps-hc-metric:focus-within .tps-hc-metric__value,
.tps-hc-bottom-stat:hover strong,
.tps-hc-bottom-stat:focus-within strong {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.84),
	             0 0 15px rgba(var(--hc-accent-rgb), 0.34),
	             0 0 10px rgba(var(--tps-white-rgb), 0.18);
}

.tps-hc-meter {
	position:      absolute;
	left:          5.3%;
	right:         5.3%;
	top:           47%;
	height:        7%;
	border-radius: 999px;
	overflow:      hidden;
}

.tps-hc-meter span {
	display:       block;
	width:         var(--metric-fill, 0%);
	height:        100%;
	min-width:     5%;
	border-radius: inherit;
	background:    linear-gradient(90deg,
	               rgba(var(--hc-accent-rgb), 0.62),
	               rgba(var(--hc-accent-rgb), 0.96) 62%,
	               rgba(var(--tps-white-rgb), 0.82));
	box-shadow:    0 0 12px rgba(var(--hc-accent-rgb), 0.72),
	               inset 0 0 10px rgba(var(--tps-white-rgb), 0.24);
	transition:    width 0.52s cubic-bezier(0.22, 1, 0.36, 1),
	               box-shadow 0.18s ease,
	               filter 0.18s ease;
}

.tps-hc-metric:hover .tps-hc-meter span,
.tps-hc-metric:focus-within .tps-hc-meter span {
	box-shadow: 0 0 17px rgba(var(--hc-accent-rgb), 0.86),
	            inset 0 0 10px rgba(var(--tps-white-rgb), 0.28);
	filter:     brightness(1.08);
}

.tps-hc-scale {
	position:        absolute;
	left:            5.3%;
	right:           5.3%;
	bottom:          10.5%;
	display:         grid;
	grid-template-columns: repeat(3, 1fr);
	align-items:     center;
	color:           rgba(245, 248, 255, 0.88);
	font-size:       0.88rem;
	font-weight:     800;
	line-height:     1;
	text-transform:  uppercase;
	text-shadow:     0 2px 5px rgba(0, 0, 0, 0.82);
	white-space:     nowrap;
}

.tps-hc-scale span:nth-child(1) { text-align: left; }
.tps-hc-scale span:nth-child(2) { text-align: center; }
.tps-hc-scale span:nth-child(3) { text-align: right; }

.tps-hc-scale--rules {
	display:         block;
	bottom:          26.5%;
	color:           rgba(245, 248, 255, 0.82);
	font-size:       0.76rem;
	letter-spacing:  0;
}

.tps-hc-scale--rules span {
	position:   absolute;
	top:        0;
	text-align: center;
	transform:  translateX(-50%);
}

.tps-hc-scale--rules span:nth-child(1) {
	left:      0;
	text-align: left;
	transform: none;
}

.tps-hc-scale--rules span:nth-child(2) { left: 33.333%; }
.tps-hc-scale--rules span:nth-child(3) { left: 66.666%; }

.tps-hc-scale--rules span:nth-child(4) {
	left:       100%;
	text-align: right;
	transform:  translateX(-100%);
}

.tps-hc-card__bottom {
	position:              absolute;
	left:                  5.7%;
	top:                   82.75%;
	width:                 88.7%;
	height:                13.3%;
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   2.8%;
}

.tps-hc-bottom-stat {
	position:        relative;
	display:         flex;
	flex-direction:  column;
	align-items:     center;
	justify-content: center;
	min-width:       0;
	overflow:        hidden;
	padding-left:    0;
	text-align:      center;
}

.tps-hc-bottom-stat::before {
	inset:          2px;
	border-radius:  14px;
}

.tps-hc-bottom-stat::after {
	content:       "";
	position:      absolute;
	left:          16%;
	right:         16%;
	bottom:        8%;
	height:        3px;
	border-radius: 999px;
	background:    linear-gradient(90deg, transparent, rgba(var(--hc-accent-rgb), 0.90), transparent);
	box-shadow:    0 0 10px rgba(var(--hc-accent-rgb), 0.72);
	opacity:       max(0.35, calc(var(--metric-fill, 0%) / 100));
}

.tps-hc-bottom-stat__label {
	display:        block;
	max-width:      100%;
	overflow:       hidden;
	color:          var(--hc-accent);
	font-size:      0.86rem;
	font-weight:    900;
	line-height:    1;
	text-transform: uppercase;
	letter-spacing: 0.28px;
	text-overflow:  ellipsis;
	white-space:    nowrap;
	text-shadow:    0 0 10px rgba(var(--hc-accent-rgb), 0.62),
	                0 2px 5px rgba(0, 0, 0, 0.72);
	transition:     color 0.18s ease, text-shadow 0.18s ease;
}

.tps-hc-bottom-stat--days .tps-hc-bottom-stat__label {
	max-width:      94%;
	font-size:      0.82rem;
	line-height:    0.98;
	letter-spacing: 0.08px;
	white-space:    normal;
}

.tps-hc-bottom-stat strong {
	display:       block;
	max-width:     100%;
	margin-top:    4px;
	overflow:      hidden;
	color:         var(--tps-white);
	font-size:     2.1rem;
	font-weight:   900;
	line-height:   1;
	text-overflow: ellipsis;
	text-shadow:   0 2px 8px rgba(0, 0, 0, 0.86),
	               0 0 14px rgba(var(--tps-white-rgb), 0.18);
	white-space:   nowrap;
	transition:    text-shadow 0.18s ease;
}

/* SVG zone 2: large pricing/chart panel */
.tps-hc-card__cost {
	position:       absolute;
	left:           14.333%;
	top:            29%;
	width:          71.333%;
	height:         29%;
	overflow:       hidden;
	display:        block;
	padding:        2.5% 3.667%;
}

.tps-hc-cost-original {
	display:         block;
	font-size:       1rem;
	color:           rgba(185, 213, 235, 0.48);
	text-decoration: line-through;
	line-height:     1;
	white-space:     nowrap;
	max-width:       100%;
	overflow:        hidden;
	text-overflow:   ellipsis;
}

.tps-hc-cost-main {
	display:     block;
	font-size:   1.88rem;
	font-weight: 800;
	color:       var(--hc-accent);
	line-height: 1.02;
	text-shadow: 0 0 16px rgba(var(--hc-accent-rgb),0.62);
	white-space: nowrap;
}

.tps-hc-cost-label {
	display:        block;
	font-size:      0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.75px;
	color:          var(--hc-text-dim);
	margin-top:     1px;
	white-space:    nowrap;
	overflow:       hidden;
	text-overflow:  ellipsis;
}

.tps-hc-card__spark {
	position: absolute;
	left:     6.075%;
	right:    6.075%;
	bottom:   7.759%;
	width:    auto;
	height:   39.655%;
	overflow: visible;
}

.tps-hc-card__spark-line {
	fill:         none;
	stroke:       var(--hc-accent);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter:       drop-shadow(0 0 5px rgba(var(--hc-accent-rgb), 0.70));
}

.tps-hc-card__spark-fill {
	fill:    rgba(var(--hc-accent-rgb), 0.20);
	opacity: 0.95;
}

/* SVG zone 3: lower metric modules */
.tps-hc-card__stats {
	position:              absolute;
	left:                  14.333%;
	top:                   63%;
	width:                 71.333%;
	height:                24%;
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   3.271%;
	overflow:              hidden;
}

.tps-hc-stat {
	display:         flex;
	flex-direction:  column;
	align-items:     center;
	justify-content: center;
	text-align:      center;
	gap:             6px;
	min-width:       0;
	padding:         8% 4%;
	overflow:        hidden;
	border-top:      1px solid rgba(var(--hc-accent-rgb), 0.22);
	box-shadow:      inset 0 1px 6px rgba(var(--hc-accent-rgb), 0.06);
}

.tps-hc-stat__label {
	font-size:      0.86rem;
	font-weight:    700;
	text-transform: uppercase;
	letter-spacing: 0.9px;
	color:          rgba(var(--hc-accent-rgb), 0.90);
	line-height:    1.25;
	text-shadow:    0 0 10px rgba(var(--hc-accent-rgb), 0.70),
	                0 0 3px  rgba(var(--hc-accent-rgb), 0.45);
	padding-bottom: 5px;
	border-bottom:  1px solid rgba(var(--hc-accent-rgb), 0.25);
	width:          100%;
	text-align:     center;
	word-break:     break-word;
	overflow:       hidden;
}

.tps-hc-stat__val {
	font-size:     1.75rem;
	font-weight:   800;
	color:         var(--tps-cyan-soft);
	line-height:   1;
	text-shadow:   0 0 22px rgba(var(--hc-accent-rgb), 0.65),
	               0 0 6px  rgba(var(--hc-accent-rgb), 0.40);
	white-space:   nowrap;
	overflow:      hidden;
	text-overflow: ellipsis;
}

.tps-hc-card__cost,
.tps-hc-card__spark,
.tps-hc-card__stats {
	display: none !important;
}

.tps-hc-arrow {
	position:        absolute;
	top:             50%;
	transform:       translateY(-50%);
	z-index:         20;
	background:      rgba(4,18,40,0.88);
	border:          calc(2px * var(--tps-hero-scale)) solid rgba(var(--tps-cyan-rgb),0.60);
	border-radius:   50%;
	width:           calc(48px * var(--tps-hero-scale));
	height:          calc(48px * var(--tps-hero-scale));
	display:         flex;
	align-items:     center;
	justify-content: center;
	cursor:          pointer;
	color:           var(--tps-cyan);
	box-shadow:      0 6px 4px rgba(0, 0, 0, 0.90),
	                 0 14px 30px rgba(0, 0, 0, 0.88),
	                 0 0 18px rgba(var(--tps-cyan-rgb),0.45),
	                 0 0 6px  rgba(var(--tps-cyan-rgb),0.30);
	transition:      color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
	backdrop-filter: blur(10px);
	padding:         0;
}

.tps-hc-arrow:hover {
	color:        var(--tps-cyan);
	border-color: rgba(var(--tps-cyan-rgb),0.90);
	background:   rgba(var(--tps-cyan-rgb),0.12);
	box-shadow:   0 8px 5px rgba(0, 0, 0, 0.92),
	              0 18px 34px rgba(0, 0, 0, 0.90),
	              0 0 36px rgba(var(--tps-cyan-rgb),0.70),
	              0 0 12px rgba(var(--tps-cyan-rgb),0.50),
	              inset 0 0 10px rgba(var(--tps-cyan-rgb),0.08);
}

.tps-hc-arrow svg  { width: calc(20px * var(--tps-hero-scale)); height: calc(20px * var(--tps-hero-scale)); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.9)); }
.tps-hc-arrow--prev { left:  calc(8px * var(--tps-hero-scale)); }
.tps-hc-arrow--next { right: calc(8px * var(--tps-hero-scale)); }

/* Multi-ring glowing platform */
.tps-hc-ring {
	display: none;
}

.tps-hc-ring::before {
	content:       '';
	position:      absolute;
	left:          50%;
	top:           50%;
	transform:     translate(-50%, -50%);
	width:         124%;
	height:        175%;
	border-radius: 50%;
	border:        1px solid rgba(var(--tps-blue-rgb),0.22);
	box-shadow:    0 0 20px rgba(var(--tps-blue-rgb),0.09);
}

.tps-hc-ring::after {
	content:       '';
	position:      absolute;
	left:          50%;
	top:           50%;
	transform:     translate(-50%, -50%);
	width:         160%;
	height:        260%;
	border-radius: 50%;
	border:        1px solid rgba(var(--tps-blue-rgb),0.10);
}

.tps-market-orbit {
	position:       absolute;
	inset:          0;
	z-index:        1;
	pointer-events: none;
	overflow:       visible;
	--ticker-duration: 32s;
}

.tps-market-orbit__rail {
	display: none;
}

.tps-market-orbit__canvas {
	position: absolute;
	inset:    0;
	display:  block;
	width:    100%;
	height:   100%;
	opacity:  0;
	filter:   saturate(1.12);
}

.tps-market-orbit--webgl .tps-market-orbit__canvas {
	opacity: 0.96;
}

.tps-market-orbit--calibrating {
	pointer-events: auto;
	z-index:        50;
}

.tps-market-trace {
	position:       absolute;
	inset:          0;
	z-index:        35;
	width:          100%;
	height:         100%;
	pointer-events: auto;
	touch-action:   none;
	user-select:    none;
}

.tps-market-trace__fill {
	fill:   rgba(var(--tps-cyan-rgb), 0.10);
	stroke: none;
}

.tps-market-grid {
	pointer-events: none;
}

.tps-market-grid__bounds {
	fill:          rgba(0, 8, 20, 0.05);
	stroke:        rgba(var(--tps-cyan-rgb), 0.30);
	stroke-width:  1.5;
	vector-effect: non-scaling-stroke;
}

.tps-market-grid__line {
	stroke:        rgba(var(--tps-cyan-rgb), 0.13);
	stroke-width:  1;
	vector-effect: non-scaling-stroke;
}

.tps-market-grid__line--major {
	stroke:       rgba(var(--tps-cyan-rgb), 0.24);
	stroke-width: 1.5;
}

.tps-market-grid__label {
	fill:          rgba(var(--tps-cyan-soft-rgb), 0.58);
	font:          10px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
	paint-order:   stroke;
	stroke:        rgba(0, 8, 20, 0.86);
	stroke-width:  2;
	vector-effect: non-scaling-stroke;
}

.tps-market-trace__line {
	fill:           none;
	stroke-width:   2;
	stroke-dasharray: 7 5;
	vector-effect:  non-scaling-stroke;
}

.tps-market-trace__line--top {
	stroke: rgba(24, 246, 165, 0.90);
}

.tps-market-trace__line--bottom {
	stroke: rgba(255, 79, 116, 0.90);
}

.tps-market-trace__leader {
	stroke:           rgba(var(--tps-cyan-soft-rgb), 0.52);
	stroke-width:     1.5;
	stroke-dasharray: 2 3;
	vector-effect:    non-scaling-stroke;
	pointer-events:   none;
}

.tps-market-trace__handle {
	cursor:         grab;
	stroke:         rgba(0, 8, 20, 0.92);
	stroke-width:   2;
	vector-effect:  non-scaling-stroke;
	pointer-events: auto;
	filter:         drop-shadow(0 0 8px rgba(var(--tps-cyan-rgb), 0.75));
}

.tps-market-trace__handle:active {
	cursor: grabbing;
}

.tps-market-trace__handle.is-active {
	stroke:       var(--tps-white);
	stroke-width: 3;
}

.tps-market-trace__handle--top {
	fill: var(--tps-success-bright);
}

.tps-market-trace__handle--bottom {
	fill: var(--tps-danger);
}

.tps-market-curve__line {
	stroke:           rgba(var(--tps-gold-rgb), 0.42);
	stroke-width:     1.4;
	stroke-dasharray: 2 4;
	vector-effect:    non-scaling-stroke;
	pointer-events:   none;
}

.tps-market-curve__handle {
	cursor:         grab;
	fill:           var(--tps-gold);
	stroke:         rgba(0, 8, 20, 0.92);
	stroke-width:   2;
	vector-effect:  non-scaling-stroke;
	pointer-events: auto;
	filter:         drop-shadow(0 0 8px rgba(var(--tps-gold-rgb), 0.76));
}

.tps-market-curve__handle:active {
	cursor: grabbing;
}

.tps-market-curve__handle.is-active {
	fill:         var(--tps-white);
	stroke:       var(--tps-gold);
	stroke-width: 3;
}

.tps-market-curve__handle--bottom {
	fill: var(--tps-gold-soft);
}

.tps-market-perspective__line {
	stroke:           rgba(var(--tps-violet-rgb), 0.78);
	stroke-width:     2;
	stroke-dasharray: 3 4;
	vector-effect:    non-scaling-stroke;
	pointer-events:   none;
}

.tps-market-perspective__leader {
	stroke:           rgba(var(--tps-violet-soft-rgb), 0.62);
	stroke-width:     1.5;
	stroke-dasharray: 2 3;
	vector-effect:    non-scaling-stroke;
	pointer-events:   none;
}

.tps-market-perspective__handle {
	cursor:         grab;
	fill:           var(--tps-violet);
	stroke:         rgba(var(--tps-white-rgb), 0.94);
	stroke-width:   2;
	vector-effect:  non-scaling-stroke;
	pointer-events: auto;
	filter:         drop-shadow(0 0 10px rgba(var(--tps-violet-rgb), 0.86));
}

.tps-market-perspective__handle:active {
	cursor: grabbing;
}

.tps-market-perspective__handle.is-active {
	fill:         var(--tps-white);
	stroke:       var(--tps-violet);
	stroke-width: 3;
}

.tps-market-orbit__calibration {
	position:       absolute;
	right:          0;
	bottom:         100%;
	z-index:        40;
	width:          340px;
	max-height:     220px;
	margin:         0 0 8px;
	padding:        10px;
	border:         1px solid rgba(var(--tps-cyan-rgb), 0.45);
	border-radius:  6px;
	background:     rgba(0, 8, 20, 0.88);
	color:          var(--tps-cyan-soft);
	font:           11px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
	text-align:     left;
	white-space:    pre-wrap;
	pointer-events: auto;
	user-select:    text;
	cursor:         text;
	overflow:       auto;
}

.tps-market-tick {
	position:       absolute;
	width:          1px;
	height:         1px;
	margin:         -1px;
	padding:        0;
	border:         0;
	clip:           rect(0 0 0 0);
	clip-path:      inset(50%);
	overflow:       hidden;
	white-space:    nowrap;
}

.tps-market-orbit--fallback {
	inset:     auto auto 92px 50%;
	width:     min(1120px, 91%);
	height:    118px;
	transform: translateX(-50%);
	overflow: visible;
}

.tps-market-orbit--fallback .tps-market-tick {
	left:           50%;
	top:            50%;
	display:        inline-flex;
	align-items:    baseline;
	gap:            8px;
	width:          auto;
	height:         auto;
	min-width:      205px;
	margin:         0;
	padding:        3px 10px;
	clip:           auto;
	clip-path:      none;
	border:         1px solid rgba(var(--tps-cyan-rgb), 0.12);
	border-radius:  6px;
	background:     linear-gradient(180deg, rgba(3, 16, 35, 0.34), rgba(0, 8, 22, 0.18));
	color:          var(--tps-cyan-soft);
	font-size:      0.66rem;
	line-height:    1;
	letter-spacing: 0;
	text-shadow:    0 0 10px rgba(var(--tps-cyan-rgb), 0.32);
	box-shadow:     0 0 10px rgba(var(--tps-cyan-rgb), 0.06);
	white-space:    nowrap;
	animation:      tps-market-orbit var(--ticker-duration) linear infinite;
	animation-delay: calc(var(--tick-i) * -4s);
	will-change:    transform, opacity, filter;
}

.tps-market-tick__label {
	color:          rgba(var(--tps-cyan-rgb), 0.82);
	font-weight:    600;
	text-transform: uppercase;
}

.tps-market-tick__price {
	color:       var(--tps-text-bright);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.tps-market-orbit--fallback .tps-market-tick__price {
	display: none;
}

.tps-market-tick__change {
	color:       var(--tps-success-bright);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.tps-market-tick--down .tps-market-tick__change {
	color: var(--tps-danger);
}

.tps-market-tick--flat .tps-market-tick__change {
	color: rgba(var(--tps-cyan-soft-rgb), 0.78);
}

.tps-market-tick--stale {
	opacity: 0.56;
	filter:  saturate(0.75);
}

.tps-market-orbit[data-status="offline"] .tps-market-tick__change,
.tps-market-orbit[data-status="reconnecting"] .tps-market-tick__change {
	color: rgba(var(--tps-cyan-rgb), 0.68);
}

@keyframes tps-market-orbit {
	0% {
		transform: translate(-505px, -6px) scale(0.45) rotate(-9deg);
		opacity:   0;
	}
	10% {
		transform: translate(-435px, 8px) scale(0.62) rotate(-7deg);
		opacity:   0.35;
	}
	22% {
		transform: translate(-330px, 28px) scale(0.78) rotate(-5deg);
		opacity:   0.72;
	}
	36% {
		transform: translate(-160px, 45px) scale(0.92) rotate(-2deg);
		opacity:   1;
	}
	50% {
		transform: translate(0, 50px) scale(1) rotate(0deg);
		opacity:   1;
	}
	64% {
		transform: translate(160px, 45px) scale(0.92) rotate(2deg);
		opacity:   1;
	}
	78% {
		transform: translate(330px, 28px) scale(0.78) rotate(5deg);
		opacity:   0.72;
	}
	92% {
		transform: translate(435px, 8px) scale(0.62) rotate(7deg);
		opacity:   0.35;
	}
	100% {
		transform: translate(505px, -6px) scale(0.45) rotate(9deg);
		opacity:   0;
	}
}

@media (max-width: 768px) {
	.tps-market-orbit {
		display: none;
	}
}

/* ── Feature Cards (Top Picks) ────────────────────────────────────────── */

.tps-top-picks {
	display:    none;
	padding:    10px 0 92px;
	background: var(--tps-base);
	overflow:   visible;
}

.tps-top-picks__head {
	max-width: 760px;
	margin: 0 auto 42px;
	text-align: center;
}

.tps-top-picks__head h2 {
	margin: 0;
	color: var(--tps-text);
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	letter-spacing: 0;
}

.tps-top-picks__head p {
	margin: 14px auto 0;
	max-width: 620px;
	color: var(--tps-muted);
	font-size: 1rem;
	line-height: 1.6;
}

.tps-top-picks__viewport {
	overflow: visible;
}

.tps-top-picks__grid {
	display:               grid;
	grid-template-columns: repeat(3, minmax(0, 350px));
	align-items:           center;
	justify-content:       center;
	gap:                   28px;
	overflow:              visible;
	padding:               48px;
	margin:                -48px;
}

.tps-pick-wrap {
	position:   relative;
	transition: transform 0.35s ease;
	z-index:    0;
}
.tps-pick-wrap:hover {
	transform: scale(1.035);
	z-index:   1;
}
.tps-top-picks__grid:has(.tps-pick-wrap:hover) .tps-pick-wrap:not(:hover) {
	transform: scale(0.985);
}

.tps-pick-glow {
	position:       absolute;
	width:          430px;
	height:         620px;
	top:            50%;
	left:           50%;
	transform:      translate(-50%, -50%);
	border-radius:  50%;
	filter:         blur(70px);
	opacity:        0.28;
	transition:     opacity 0.4s ease;
	pointer-events: none;
	z-index:        0;
}
.tps-pick-wrap:hover .tps-pick-glow { opacity: 0.72; }
.tps-pick-wrap--violet .tps-pick-glow { background: radial-gradient(ellipse at center, rgba(var(--tps-violet-rgb), 0.36) 0%, rgba(var(--tps-violet-rgb), 0.13) 48%, transparent 74%); }
.tps-pick-wrap--cyan .tps-pick-glow { background: radial-gradient(ellipse at center, rgba(var(--tps-cyan-rgb), 0.45) 0%, rgba(var(--tps-cyan-rgb), 0.16) 48%, transparent 74%); }
.tps-pick-wrap--gold .tps-pick-glow { background: radial-gradient(ellipse at center, rgba(var(--tps-gold-rgb), 0.34) 0%, rgba(var(--tps-gold-rgb), 0.12) 48%, transparent 74%); }
.tps-pick-wrap--blue .tps-pick-glow { background: radial-gradient(ellipse at center, rgba(var(--tps-blue-rgb), 0.36) 0%, rgba(var(--tps-blue-rgb), 0.13) 48%, transparent 74%); }

.tps-pick-border {
	position:      relative;
	border-radius: 24px;
	padding:       2px;
	overflow:      hidden;
	z-index:       1;
}
.tps-pick-border::before {
	content:    '';
	position:   absolute;
	inset:      -100%;
	animation:  tps-border-travel 24s linear infinite;
}
@keyframes tps-border-travel {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}
.tps-pick-wrap--violet .tps-pick-border::before {
	background: conic-gradient(rgba(var(--tps-white-rgb),0.05) 0%, rgba(var(--tps-white-rgb),0.05) 22%, rgba(var(--tps-violet-rgb),0.95) 32%, rgba(var(--tps-white-rgb),0.05) 40%, rgba(var(--tps-white-rgb),0.05) 72%, rgba(var(--tps-violet-rgb),0.95) 82%, rgba(var(--tps-white-rgb),0.05) 90%);
}
.tps-pick-wrap--cyan .tps-pick-border::before {
	background: conic-gradient(rgba(var(--tps-white-rgb),0.05) 0%, rgba(var(--tps-white-rgb),0.05) 22%, rgba(var(--tps-cyan-rgb),0.95) 32%, rgba(var(--tps-white-rgb),0.05) 40%, rgba(var(--tps-white-rgb),0.05) 72%, rgba(var(--tps-cyan-rgb),0.95) 82%, rgba(var(--tps-white-rgb),0.05) 90%);
}
.tps-pick-wrap--gold .tps-pick-border::before {
	background: conic-gradient(rgba(var(--tps-white-rgb),0.05) 0%, rgba(var(--tps-white-rgb),0.05) 22%, rgba(var(--tps-gold-rgb),0.95) 32%, rgba(var(--tps-white-rgb),0.05) 40%, rgba(var(--tps-white-rgb),0.05) 72%, rgba(var(--tps-gold-rgb),0.95) 82%, rgba(var(--tps-white-rgb),0.05) 90%);
}

.tps-pick-card {
	height:         540px;
	background:
		linear-gradient(180deg, rgba(var(--tps-white-rgb),0.045), rgba(var(--tps-white-rgb),0.018) 42%, rgba(var(--tps-white-rgb),0.035)),
		rgba(10, 13, 24, 0.92);
	border-radius:  22px;
	padding:        28px 26px 24px;
	display:        flex;
	flex-direction: column;
	gap:            20px;
	position:       relative;
	overflow:       hidden;
	box-shadow:     0 22px 56px rgba(0, 0, 0, 0.34);
	isolation:      isolate;
}
.tps-pick-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 0 70%, rgba(var(--tps-white-rgb),0.045));
	pointer-events: none;
	z-index: -1;
}
.tps-pick-card--violet { --pick-accent: var(--tps-violet); --pick-accent-rgb: var(--tps-violet-rgb); }
.tps-pick-card--cyan { --pick-accent: var(--tps-cyan); --pick-accent-rgb: var(--tps-cyan-rgb); }
.tps-pick-card--gold { --pick-accent: var(--tps-gold); --pick-accent-rgb: var(--tps-gold-rgb); }
.tps-pick-card--cyan {
	background:
		linear-gradient(180deg, rgba(var(--tps-cyan-rgb), 0.16), rgba(6, 18, 30, 0.90) 20%, rgba(5, 17, 23, 0.94)),
		rgba(8, 16, 24, 0.96);
}
.tps-pick-card--gold {
	background:
		linear-gradient(180deg, rgba(var(--tps-gold-rgb), 0.12), rgba(18, 15, 9, 0.91) 28%, rgba(12, 13, 18, 0.94)),
		rgba(12, 13, 18, 0.94);
}

.tps-pick-card__asset {
	position: absolute;
	inset: 4px;
	width: calc(100% - 8px);
	height: calc(100% - 8px);
	object-fit: cover;
	opacity: 0.045;
	filter: saturate(0.9);
	pointer-events: none;
	z-index: -1;
}

a.tps-pick-card {
	color:           inherit;
	text-decoration: none;
	cursor:          pointer;
}
a.tps-pick-card:hover { opacity: 1; }

.tps-pick-card__badge {
	position: absolute;
	inset: 0 0 auto;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(90deg, rgba(var(--pick-accent-rgb), 0.62), var(--pick-accent), rgba(var(--pick-accent-rgb), 0.62));
	color: var(--tps-ink-soft);
	font-size: 0.72rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 3px;
}

.tps-pick-card__top {
	display:         flex;
	align-items:     center;
	gap:             18px;
	min-height:      76px;
	margin-top:      42px;
}

.tps-pick-card__icon {
	width:          64px;
	height:         64px;
	border-radius:  12px;
	display:        flex;
	align-items:    center;
	justify-content: center;
	flex-shrink:    0;
	background: rgba(var(--tps-white-rgb),0.055);
	border: 1px solid rgba(var(--pick-accent-rgb), 0.28);
	box-shadow: 0 0 22px rgba(var(--pick-accent-rgb), 0.14);
}
.tps-pick-card__icon img {
	display: block;
	max-width: 50px;
	max-height: 44px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.tps-pick-card__title {
	min-width: 0;
}

.tps-pick-card__firm {
	font-size:   clamp(1.35rem, 2vw, 2rem);
	font-weight: 800;
	color:       var(--tps-text);
	line-height: 1.2;
}

.tps-pick-card__desc {
	font-size: 0.78rem;
	color:     var(--pick-accent);
	font-weight: 700;
	margin-top: 8px;
}

.tps-pick-card__unset {
	color:      var(--tps-muted-2);
	font-style: italic;
	font-weight: 400;
}

.tps-pick-card__metrics {
	display: flex;
	flex-direction: column;
	margin-top: 4px;
}

.tps-pick-metric {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 58px;
	padding: 0 8px;
	border-top: 1px solid rgba(var(--tps-white-rgb),0.08);
	color: var(--tps-muted);
}
.tps-pick-metric:last-child {
	border-bottom: 1px solid rgba(var(--tps-white-rgb),0.08);
}
.tps-pick-metric__icon {
	width: 28px;
	height: 28px;
	border-radius: 7px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(var(--tps-white-rgb),0.075);
	color: var(--tps-muted);
}
.tps-pick-metric__icon svg {
	width: 17px;
	height: 17px;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.tps-pick-metric__label {
	font-size: 0.86rem;
	color: var(--tps-muted);
}
.tps-pick-metric strong {
	font-size: 1.02rem;
	color: var(--tps-text);
	white-space: nowrap;
}

.tps-pick-card__cta {
	height: 42px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(var(--tps-white-rgb),0.08);
	border-radius: 8px;
	background: rgba(var(--tps-white-rgb),0.055);
	color: rgba(var(--tps-white-rgb),0.74);
	font-size: 0.82rem;
	margin-top: auto;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.tps-pick-card:hover .tps-pick-card__cta {
	border-color: rgba(var(--pick-accent-rgb), 0.45);
	color: var(--tps-text);
	background: rgba(var(--pick-accent-rgb), 0.12);
}

.tps-pick-card__offer {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	min-height: 60px;
	padding: 12px 14px;
	border: 1px solid rgba(var(--pick-accent-rgb), 0.45);
	border-radius: 8px;
	background: linear-gradient(90deg, rgba(var(--pick-accent-rgb), 0.20), rgba(var(--pick-accent-rgb), 0.08));
	box-shadow: inset 0 0 22px rgba(var(--pick-accent-rgb), 0.12);
}
.tps-pick-card__offer strong {
	display: block;
	color: var(--tps-text);
	font-size: 1.05rem;
	line-height: 1;
}
.tps-pick-card__offer span {
	display: block;
	margin-top: 4px;
	color: var(--pick-accent);
	font-size: 0.62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.7px;
}
.tps-pick-card__offer-code {
	flex: 0 0 auto;
	min-width: 66px;
	height: 34px;
	border-radius: 8px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	background: var(--pick-accent);
	color: var(--tps-ink-soft) !important;
	font-size: 0.72rem !important;
	font-weight: 900 !important;
	letter-spacing: 0 !important;
	text-transform: uppercase;
}

.tps-mobile-card.tps-hc-card {
	position:       relative;
	top:            auto;
	left:           auto;
	width:          min(100%, 375px);
	height:         563px;
	margin:         0 auto;
	transform:      none !important;
	opacity:        1 !important;
	visibility:     visible !important;
	pointer-events: auto !important;
}

.tps-mobile-card.tps-hc-card:hover {
	translate: 0 -8px;
}

.tps-mobile-picks__dots {
	display: none;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 768px) {
	.home,
	.front-page {
		--tps-header-height: 56px;
	}

	.home .tps-site-header .tps-container,
	.front-page .tps-site-header .tps-container,
	.tps-site-header .tps-container {
		flex-direction: row;
		height:         56px;
		padding:        0 14px;
		gap:            10px;
	}

	.home .tps-site-logo,
	.front-page .tps-site-logo,
	.tps-site-logo {
		height:    36px;
		max-width: calc(100vw - 94px);
	}

	.tps-site-title {
		min-width: 0;
	}

	.tps-nav-toggle {
		appearance: none;
		-webkit-appearance: none;
		display: inline-flex;
		flex: 0 0 40px;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 5px;
		margin-left: auto;
		border: 1px solid var(--tps-logo-prop-blue);
		border-radius: 10px;
		background: rgba(10, 18, 36, 0.72);
		box-shadow: inset 0 0 14px rgba(var(--tps-logo-prop-blue-rgb), 0.12);
		cursor: pointer;
	}

	.tps-nav-toggle:hover,
	.tps-nav-toggle:focus-visible {
		border-color: var(--tps-logo-prop-blue);
		outline: none;
		box-shadow:
			inset 0 0 14px rgba(var(--tps-logo-prop-blue-rgb), 0.2),
			0 0 14px rgba(var(--tps-logo-prop-blue-rgb), 0.18);
	}

	.tps-nav-toggle__bar {
		display: block;
		width: 18px;
		height: 2px;
		border-radius: 999px;
		background: var(--tps-text-soft);
		transition: transform 0.18s ease, opacity 0.18s ease;
	}

	.tps-site-header.is-nav-open .tps-nav-toggle__bar:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.tps-site-header.is-nav-open .tps-nav-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	.tps-site-header.is-nav-open .tps-nav-toggle__bar:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.tps-nav {
		position: fixed;
		top: 56px;
		right: 0;
		z-index: 220;
		width: min(320px, 86vw);
		height: calc(100dvh - 56px);
		padding: 14px;
		border: 1px solid rgba(var(--tps-logo-prop-blue-rgb), 0.42);
		border-right: 0;
		border-radius: 12px 0 0 12px;
		background: rgba(3, 8, 20, 0.96);
		box-shadow:
			-18px 0 36px rgba(0, 0, 0, 0.42),
			inset 0 1px 0 rgba(var(--tps-white-rgb), 0.05);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateX(105%);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	}

	.tps-site-header:not(.is-nav-open) .tps-nav {
		display: none;
	}

	.tps-site-header.is-nav-open .tps-nav {
		display: block;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateX(0);
	}

	.home .tps-nav-menu,
	.front-page .tps-nav-menu,
	.tps-nav-menu {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 2px;
		justify-content: flex-start;
	}

	.home .tps-nav-menu a,
	.front-page .tps-nav-menu a,
	.tps-nav-menu a {
		display: block;
		padding: 10px 11px;
		border-radius: 8px;
		color: rgba(var(--tps-text-soft-rgb), 0.86);
		font-size: 0.92rem;
	}

	.tps-nav-menu .current-menu-item > a,
	.tps-nav-menu a:hover,
	.tps-nav-menu a:focus-visible {
		background: rgba(var(--tps-blue-rgb), 0.16);
		color: var(--tps-text-bright);
		outline: none;
	}

	.tps-account-hero {
		flex-direction: column;
		gap:            16px;
	}

	.tps-price-display { text-align: left; }

	.tps-hero-stats { grid-template-columns: repeat(3, 1fr); }

	.tps-hero-stat-value { font-size: 1.15rem; }

	.tps-account-columns {
		grid-template-columns: 1fr;
	}

	.tps-account-col + .tps-account-col {
		border-left:  none;
		border-top:   1px solid var(--tps-border-subtle);
	}

	.tps-account-hero,
	.tps-account-col,
	.tps-platform-section,
	.tps-account-links { padding: 20px; }

	.tps-platform-matrix-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.tps-firm-single { padding: 20px; }

	.tps-hero-stats { gap: 0; }

	/* Firms listing */
	.tps-firm-row { grid-template-columns: 1fr; gap: 20px; }
	.tps-firm-row__ctas { flex-direction: row; }
	.tps-firms-size-control {
		justify-content: flex-start;
		margin-bottom: 22px;
	}

	/* Homepage hero */
	.tps-hp-hero {
		min-height: 0;
		padding-bottom: 20px;
	}
	.tps-hp-hero__inner { flex-direction: column; gap: 40px; }
	.tps-hp-hero__visual { display: none; }
	.tps-hp-hero__content { padding-bottom: 0; }
	.tps-hp-headline { font-size: 2.2rem; }
	.tps-hp-account-size {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: min(100%, 330px);
		gap: 8px;
		margin-top: 16px;
	}
	.tps-hp-account-size__btn {
		width: 100%;
		min-width: 0;
		height: 32px;
		padding: 0 12px;
		font-size: 0.82rem;
	}

	/* Feature cards */
	.tps-top-picks {
		display:  block;
		overflow: hidden;
		padding-top: 0;
	}

	.tps-top-picks__head {
		display: none;
	}

	.tps-top-picks__viewport {
		position: relative;
		overflow: visible;
		margin-inline: -24px;
		padding-inline: 0;
		padding-block: 8px 16px;
	}

	.tps-top-picks__grid {
		position:        relative;
		display:         block;
		width:           100%;
		height:          min(123vw, 510px);
		margin:          0;
		padding:         0;
		perspective:     1400px;
		transform-style: preserve-3d;
	}

	.tps-pick-wrap,
	.tps-pick-wrap:hover,
	.tps-top-picks__grid:has(.tps-pick-wrap:hover) .tps-pick-wrap:not(:hover) {
		transform: translate(-50%, -50%);
	}

	.tps-pick-wrap {
		position:            absolute;
		top:                 50%;
		left:                50%;
		margin:              0;
		display:             block;
		flex:                initial;
		transition:          transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
		will-change:         transform, opacity;
		transform-origin:    center;
		transform-style:     preserve-3d;
		backface-visibility: hidden;
	}

	.tps-pick-card,
	.tps-pick-card--cyan {
		height: auto;
		min-height: 500px;
	}

	.tps-mobile-card.tps-hc-card {
		width:  min(86vw, 342px);
		height: min(115vw, 457px);
	}

	.tps-mobile-card .tps-hc-card__header {
		padding: 0.75% 2%;
	}

	.tps-mobile-card .tps-hc-card__logo {
		width:  100%;
		height: 100%;
		object-fit: contain;
	}

	.tps-mobile-card .tps-hc-card__badge {
		font-size: 0.5rem;
		letter-spacing: 0.9px;
	}

	.tps-mobile-card .tps-hc-metric__label {
		font-size: 0.74rem;
		letter-spacing: 0.04px;
	}

	.tps-mobile-card .tps-hc-metric__value {
		font-size: 1.08rem;
	}

	.tps-mobile-card .tps-hc-scale {
		font-size: 0.64rem;
	}

	.tps-mobile-card .tps-hc-scale--rules {
		font-size: 0.56rem;
		letter-spacing: 0;
	}

	.tps-mobile-card .tps-hc-bottom-stat__label {
		font-size: 0.6rem;
		letter-spacing: 0.04px;
	}

	.tps-mobile-card .tps-hc-bottom-stat strong {
		font-size: 1.48rem;
	}

	.tps-mobile-picks__dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		margin: 4px 0 8px;
	}

	.tps-mobile-picks__dot {
		width: 9px;
		height: 9px;
		border: 1px solid rgba(var(--tps-cyan-rgb), 0.45);
		border-radius: 999px;
		padding: 0;
		background: rgba(var(--tps-cyan-rgb), 0.12);
		box-shadow: none;
		transition: width 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	}

	.tps-mobile-picks__dot.is-active {
		width: 24px;
		background: var(--tps-cyan);
		box-shadow: 0 0 16px rgba(var(--tps-cyan-rgb), 0.55);
	}
}

@media (min-width: 769px) and (max-width: 900px) {
	.tps-top-picks {
		overflow: hidden;
	}

	.tps-top-picks__grid {
		margin:  0;
		padding: 36px 0;
	}
}

@media (max-width: 480px) {
	.tps-hero-stats { grid-template-columns: 1fr; }
	.tps-hero-stat { border-bottom: 1px solid var(--tps-border-subtle); }

	.tps-firms-filters {
		align-items: center;
		gap:         10px 8px;
	}

	.tps-firms-filters__label {
		order: 1;
		margin-right: 0;
	}

	.tps-filter-btn--reset {
		order:       2;
		margin-left: auto;
		padding:     4px 0;
	}

	.tps-firms-filters .tps-filter-btn:not(.tps-filter-btn--reset) {
		order: 3;
	}

	.tps-firms-filters .tps-filter-btn[data-action="sort-favorable"] {
		flex-basis: 100%;
	}

	.tps-home-filter-size-host {
		order: 4;
		flex-basis: 100%;
	}
}

/* ── Sticky account navigator ─────────────────────────────────────────── */

.tps-sticky-nav {
	position:        fixed;
	top:             var(--tps-sticky-nav-top, 64px);
	left:            0;
	right:           0;
	z-index:         150;
	background:      rgba(5, 11, 20, 0.96);
	backdrop-filter: var(--tps-glass-blur);
	border-bottom:   1px solid var(--tps-border);
	transform:       translateY(-110%);
	transition:      transform 0.2s ease;
	pointer-events:  none;
}

.tps-sticky-nav--visible {
	transform:      translateY(0);
	pointer-events: auto;
}

.tps-sticky-nav__inner {
	display:         flex;
	flex-direction:  column;
	align-items:     stretch;
	gap:             0;
	min-height:      48px;
}

.tps-sticky-nav__controls {
	display:         flex;
	align-items:     center;
	gap:             0;
	height:          48px;
	overflow-x:      auto;
	scrollbar-width: none;
}

.tps-sticky-nav__controls::-webkit-scrollbar { display: none; }

/* Plan group tabs — folder style, flush left */
.tps-sticky-nav__tabs {
	display:       flex;
	align-items:   center;
	gap:           4px;
	flex-shrink:   0;
	padding-right: 12px;
	border-right:  1px solid var(--tps-border-subtle);
	margin-right:  12px;
	height:        100%;
}

.tps-sticky-tab {
	display:     flex;
	align-items: center;
	gap:         6px;
	padding:     4px 14px;
	background:  rgba(var(--tps-white-rgb), 0.03);
	border:      1px solid var(--tps-border);
	border-radius: var(--tps-radius-xs);
	color:       var(--tps-muted);
	font-size:   0.78rem;
	font-weight: 600;
	cursor:      pointer;
	transition:  background 0.15s, color 0.15s;
	white-space: nowrap;
}

.tps-sticky-tab:hover { background: rgba(var(--tps-white-rgb), 0.06); color: var(--tps-text); }

.tps-sticky-tab--active {
	background:   var(--tps-primary-dim);
	color:        var(--tps-primary);
	border-color: rgba(var(--tps-cyan-rgb), 0.25);
}

/* Account size buttons */
.tps-sticky-nav__sizes {
	display:     flex;
	align-items: center;
	gap:         5px;
}

.tps-sticky-size {
	padding:       4px 13px;
	background:    rgba(var(--tps-white-rgb), 0.04);
	border:        1px solid var(--tps-border);
	border-radius: var(--tps-radius-xs);
	color:         var(--tps-muted);
	font-size:     0.78rem;
	font-weight:   600;
	cursor:        pointer;
	transition:    background 0.15s, color 0.15s, border-color 0.15s;
	white-space:   nowrap;
}

.tps-sticky-size:hover { background: rgba(var(--tps-white-rgb), 0.08); color: var(--tps-text); }

.tps-sticky-size--active {
	background:   var(--tps-surface-2);
	border-color: var(--tps-primary);
	color:        var(--tps-primary);
}

.tps-sticky-size--hidden { display: none; }

/* Phase column labels — shown when an accordion is open */
.tps-sticky-nav__phases {
	display:       grid;
	width:         100%;
	box-sizing:    border-box;
	background:    var(--tps-surface);
	border:        1px solid var(--tps-border);
	border-bottom: 1px solid var(--tps-border-subtle);
	border-radius: var(--tps-radius) var(--tps-radius) 0 0;
	overflow:      hidden;
}

.tps-sticky-nav__phases[aria-hidden="true"] { display: none; }

.tps-sticky-nav__phases--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tps-sticky-nav__phases--count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tps-sticky-phase {
	display:        block;
	padding:        10px 18px;
	font-size:      1rem;
	font-weight:    700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space:   nowrap;
}

.tps-sticky-phase + .tps-sticky-phase {
	border-left: 1px solid var(--tps-border-subtle);
}

.tps-sticky-phase--evaluation,
.tps-sticky-phase--instant {
	color: var(--tps-primary);
}

.tps-sticky-phase--performance {
	background: rgba(var(--tps-violet-rgb), 0.12);
	color:      var(--tps-violet-soft);
}

.tps-sticky-phase--pro_plus,
.tps-sticky-phase--funded {
	background: rgba(var(--tps-cyan-rgb), 0.07);
	color:      var(--tps-primary);
}

.tps-account-size-swap .tps-account-accordion .tps-acc-body {
	transition: none !important;
}

.tps-account-size-swap,
.tps-account-size-swap body,
.tps-account-size-swap .tps-account-rules,
.tps-account-size-swap .tps-account-accordion {
	overflow-anchor: none;
}

/* Firm account accordions: phone layout.
   The desktop phase header is a multi-column grid; on small screens the
   columns stack, so each stacked column gets its own local phase label. */
@media (max-width: 768px) {
	.tps-site-main {
		padding-top:    24px;
		padding-bottom: 56px;
	}

	.tps-site-main > .tps-container {
		padding-left:  clamp(5px, 2vw, 10px);
		padding-right: clamp(5px, 2vw, 10px);
	}

	.tps-firm-single,
	.tps-account-rules,
	.tps-plan-panel,
	.tps-account-accordion,
	.tps-acc-body,
	.tps-acc-body__inner,
	.tps-acc-summary,
	.tps-acc-columns,
	.tps-detail-list,
	.tps-detail-row {
		box-sizing: border-box;
		min-width:  0;
		max-width:  100%;
	}

	.tps-firm-single {
		padding: clamp(8px, 2.8vw, 14px);
	}

	.tps-panel--active {
		padding: clamp(4px, 1.6vw, 8px);
	}

	.tps-account-rules > .tps-plan-panel.tps-panel--active {
		padding: 0;
	}

	.tps-tab-scroll {
		overflow-x: auto;
	}

	.tps-plan-tab-list {
		display:     flex;
		align-items: stretch;
		gap:         6px;
		width:       100%;
		min-width:   0;
	}

	.tps-plan-tab {
		width:           100%;
		min-width:       0;
		flex:            1 1 0;
		flex-direction:  column;
		justify-content: flex-start;
		align-items:     flex-start;
		flex-wrap:       nowrap;
		border-bottom:   1px solid var(--tps-border);
		border-radius:   var(--tps-radius-xs);
		margin-bottom:   0;
		line-height:     1.25;
	}

	.tps-plan-tab__label {
		width:       100%;
		gap:         4px;
		line-height: 1.2;
	}

	.tps-plan-tab__count {
		min-width:       0;
		height:          auto;
		padding:         0;
		background:      transparent;
		border-radius:   0;
		color:           inherit;
		font-size:       inherit;
		font-weight:     inherit;
	}

	.tps-tab--active .tps-plan-tab__count,
	.tps-sticky-tab--active .tps-plan-tab__count {
		background: transparent;
		color:      inherit;
	}

	.tps-plan-tab__count::before { content: "("; }
	.tps-plan-tab__count::after  { content: ")"; }

	.tps-plan-tab .tps-phase-badge {
		align-self:     flex-start;
		max-width:     100%;
		white-space:   normal;
		overflow-wrap: anywhere;
	}

	.tps-acc--open .tps-acc-col-headers {
		display: none;
	}

	.tps-account-columns.tps-acc-columns,
	.tps-account-columns.tps-acc-columns--count-2,
	.tps-account-columns.tps-acc-columns--count-3,
	.tps-acc-columns.tps-acc-columns--single {
		display:               grid;
		grid-template-columns: minmax(0, 1fr) !important;
		width:                 100%;
		max-width:             100%;
	}

	.tps-acc--open .tps-acc-body__inner {
		width:         100%;
		overflow:      hidden;
		padding-left:  clamp(5px, 1.8vw, 8px);
		padding-right: clamp(5px, 1.8vw, 8px);
	}

	.tps-mobile-size-swap .tps-account-accordion .tps-acc-body {
		transition: none !important;
	}

	.tps-mobile-size-swap,
	.tps-mobile-size-swap body,
	.tps-mobile-size-swap .tps-account-rules,
	.tps-mobile-size-swap .tps-account-accordion {
		overflow-anchor: none;
	}

	.tps-account-accordion.tps-acc-swap-in .tps-acc-body__inner {
		animation: tps-mobile-account-swap-in 0.18s ease-out both;
	}

	.tps-acc-summary {
		width:     100%;
		max-width: 100%;
	}

	.tps-acc-stat {
		min-width: 0;
		max-width: 100%;
	}

	.tps-acc-stat__key,
	.tps-acc-stat__val {
		max-width:     100%;
		white-space:   normal;
		overflow-wrap: anywhere;
	}

	.tps-acc-body__inner .tps-account-col,
	.tps-acc-body__inner .tps-account-col + .tps-account-col,
	.tps-acc-columns--count-3 .tps-account-col + .tps-account-col {
		min-width:    0;
		padding:      16px clamp(10px, 3vw, 14px) !important;
		border-left:  none;
		border-top:   1px solid var(--tps-border-subtle);
	}

	.tps-detail-row {
		width:      100%;
		flex-wrap:  wrap;
	}

	.tps-detail-term {
		flex:          1 1 8rem;
		min-width:     0;
		max-width:     100%;
		overflow-wrap: anywhere;
	}

	.tps-detail-def {
		flex:           1 1 auto;
		min-width:      min-content;
		overflow-wrap:  anywhere;
		word-break:     break-word;
	}

	.tps-acc-full-table,
	.tps-table-scroll {
		width:     100%;
		max-width: 100%;
		min-width: 0;
	}

	.tps-account-accordion .tps-table-scroll:has(.tps-scaling-tiers-display),
	.tps-account-accordion .tps-table-scroll:has(.tps-platform-price-display),
	.tps-account-accordion .tps-table-scroll:has(.tps-platform-matrix-display) {
		overflow-x: visible;
	}

	.tps-account-accordion .tps-scaling-tiers-display,
	.tps-account-accordion .tps-platform-price-display,
	.tps-account-accordion .tps-platform-matrix-display {
		display:   block;
		width:     100%;
		max-width: 100%;
		min-width: 0;
	}

	.tps-account-accordion .tps-scaling-tiers-display thead,
	.tps-account-accordion .tps-platform-price-display thead {
		display: none;
	}

	.tps-account-accordion .tps-scaling-tiers-display tbody,
	.tps-account-accordion .tps-platform-price-display tbody,
	.tps-account-accordion .tps-platform-matrix-display tbody,
	.tps-account-accordion .tps-scaling-tiers-display tr,
	.tps-account-accordion .tps-platform-price-display tr,
	.tps-account-accordion .tps-platform-matrix-display tr {
		display: block;
		width:   100%;
	}

	.tps-account-accordion .tps-scaling-tiers-display tr,
	.tps-account-accordion .tps-platform-price-display tr,
	.tps-account-accordion .tps-platform-matrix-display tr {
		margin-bottom:  10px;
		padding:        8px 10px;
		background:     rgba(var(--tps-white-rgb), 0.025);
		border:         1px solid var(--tps-border-subtle);
		border-radius:  var(--tps-radius-xs);
	}

	.tps-account-accordion .tps-scaling-tiers-display th,
	.tps-account-accordion .tps-scaling-tiers-display td,
	.tps-account-accordion .tps-platform-price-display th,
	.tps-account-accordion .tps-platform-price-display td,
	.tps-account-accordion .tps-platform-matrix-display th,
	.tps-account-accordion .tps-platform-matrix-display td {
		display:     flex;
		width:       100% !important;
		box-sizing:  border-box;
		border:      none;
		background:  transparent;
		padding:     6px 0;
		white-space: normal;
	}

	.tps-account-accordion .tps-scaling-tiers-display td,
	.tps-account-accordion .tps-platform-price-display td {
		justify-content: space-between;
		gap:             14px;
		text-align:      right;
	}

	.tps-account-accordion .tps-scaling-tiers-display td::before,
	.tps-account-accordion .tps-platform-price-display td::before {
		flex:        0 0 auto;
		color:       var(--tps-muted);
		font-size:   0.75rem;
		font-weight: 600;
		text-align:  left;
	}

	.tps-account-accordion .tps-scaling-tiers-display td:nth-child(1)::before { content: "Level"; }
	.tps-account-accordion .tps-scaling-tiers-display td:nth-child(2)::before { content: "Profit Range"; }
	.tps-account-accordion .tps-scaling-tiers-display td:nth-child(3)::before { content: "Max Contracts"; }
	.tps-account-accordion .tps-scaling-tiers-display td:nth-child(4)::before { content: "Daily Loss Limit"; }

	.tps-account-accordion .tps-platform-price-display td:nth-child(1)::before { content: "Platform"; }
	.tps-account-accordion .tps-platform-price-display td:nth-child(2)::before { content: "One-Time"; }
	.tps-account-accordion .tps-platform-price-display td:nth-child(3)::before { content: "Monthly"; }
	.tps-account-accordion .tps-platform-price-display td:nth-child(4)::before { content: "Discounted"; }
	.tps-account-accordion .tps-platform-price-display td:nth-child(5)::before { content: "Total Cost"; }

	.tps-account-accordion .tps-platform-matrix-display th,
	.tps-account-accordion .tps-platform-matrix-display td {
		display: block;
	}

	.tps-account-accordion .tps-platform-matrix-display th {
		color:          var(--tps-muted);
		font-size:      0.75rem;
		font-weight:    700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}

	.tps-acc-columns > .tps-account-col[data-phase-label]::before {
		content:        attr(data-phase-label);
		display:        block;
		margin-bottom:  14px;
		padding-bottom: 10px;
		border-bottom:  1px solid var(--tps-border-subtle);
		color:          var(--tps-primary);
		font-size:      1rem;
		font-weight:    800;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		line-height:    1.25;
		overflow-wrap:  anywhere;
	}

	.tps-acc-columns > .tps-account-col[data-phase-label]:nth-child(2)::before {
		color: var(--tps-violet-soft);
	}

	.tps-acc-columns > .tps-account-col[data-phase-label]:nth-child(3)::before {
		color: var(--tps-success-bright);
	}

	.tps-sticky-nav__phases {
		display: none !important;
	}

	.tps-sticky-nav__controls {
		flex-direction: column;
		align-items:    stretch;
		gap:            6px;
		height:         auto;
		padding:        6px 0;
		overflow:       visible;
	}

	.tps-sticky-nav__tabs {
		display:       flex;
		align-items:   stretch;
		gap:           5px;
		width:         100%;
		height:        auto;
		padding-right: 0;
		margin-right:  0;
		border-right:  none;
		flex-shrink:   1;
		min-width:     0;
	}

	.tps-sticky-tab {
		flex:            1 1 0;
		flex-direction:  column;
		justify-content: center;
		gap:             3px;
		min-width:       0;
		padding:         5px 4px;
		font-size:       0.72rem;
	}

	.tps-sticky-tab .tps-plan-tab__label {
		justify-content: center;
	}

	.tps-sticky-tab .tps-phase-badge {
		display:       inline-flex;
		order:         -1;
		align-self:    center;
		max-width:     100%;
		padding:       2px 6px;
		font-size:     0.58rem;
		line-height:   1.05;
		white-space:   nowrap;
		overflow:      hidden;
		text-overflow: ellipsis;
	}

	.tps-sticky-nav__sizes {
		width:           100%;
		min-width:       0;
		overflow-x:      auto;
		scrollbar-width: none;
	}

	.tps-sticky-nav__sizes::-webkit-scrollbar {
		display: none;
	}

	.tps-sticky-size {
		flex: 0 0 auto;
	}
}

@keyframes tps-mobile-account-swap-in {
	from { opacity: 0.86; }
	to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.tps-account-accordion.tps-acc-swap-in .tps-acc-body__inner {
		animation: none;
	}

	.tps-cmp-row,
	.tps-cmp-score-bar__fill {
		transition: none;
	}

	.tps-cmp-col.is-reordering,
	.tps-cmp-cell.is-reordering {
		transition: none !important;
	}
}

.tps-bot-page {
	padding: clamp(48px, 7vw, 90px) clamp(18px, 4vw, 48px) clamp(70px, 8vw, 110px);
	background: var(--tps-base);
}

.tps-bot-page__inner {
	width: min(1120px, 100%);
	margin: 0 auto;
}

.tps-bot-page h1 {
	max-width: 780px;
	margin: 0 0 14px;
	font-size: clamp(2.2rem, 4vw, 4.4rem);
	line-height: 0.98;
	letter-spacing: 0;
}

.tps-bot-page p {
	max-width: 820px;
	margin: 0 0 28px;
	color: var(--tps-muted);
	font-size: 1rem;
	line-height: 1.7;
}

.tps-bot-page__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 28px;
}

.tps-bot-page__panel {
	border: 1px solid rgba(var(--tps-cyan-rgb), 0.22);
	border-radius: 8px;
	background: rgba(5, 10, 24, 0.78);
	padding: 22px;
	box-shadow: inset 0 1px 0 rgba(var(--tps-white-rgb), 0.05);
}

.tps-bot-page__panel h2 {
	margin: 0 0 14px;
	font-size: 1rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tps-cyan);
}

.tps-bot-page__panel dl,
.tps-bot-page__panel ul {
	margin: 0;
	color: var(--tps-text);
}

.tps-bot-page__panel dt {
	margin-top: 14px;
	color: var(--tps-muted);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.tps-bot-page__panel dt:first-child {
	margin-top: 0;
}

.tps-bot-page__panel dd {
	margin: 5px 0 0;
	line-height: 1.55;
}

.tps-bot-page__panel li {
	margin: 0 0 10px;
	line-height: 1.55;
}

.tps-bot-page__panel code {
	white-space: normal;
	word-break: break-word;
	color: var(--tps-cyan-soft);
}

@media (max-width: 760px) {
	.tps-bot-page__grid {
		grid-template-columns: 1fr;
	}
}

/* Account access and legal surfaces. Header links intentionally inherit the
   existing .tps-nav-menu styles so they remain native peer navigation items. */
.tps-legal-links {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 6px;
}

.tps-legal-links a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: rgba(var(--tps-text-soft-rgb), 0.3);
	text-underline-offset: 3px;
}

.tps-legal-page {
	width: min(860px, calc(100% - 32px));
	margin: 0 auto;
	padding: 36px 0 80px;
	color: var(--tps-text-soft);
}

.tps-legal-page__header {
	padding-bottom: 24px;
	border-bottom: 1px solid var(--tps-border-subtle);
}

.tps-legal-page__eyebrow,
.tps-auth-kicker {
	margin: 0 0 7px;
	color: var(--tps-cyan);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tps-legal-page h1 {
	margin: 0 0 8px;
	font-size: clamp(2.1rem, 5vw, 3.5rem);
}

.tps-legal-page__effective {
	color: var(--tps-muted);
	font-size: 0.88rem;
}

.tps-legal-page__contents {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 20px;
	margin: 28px 0 36px;
	padding: 20px;
	border: 1px solid var(--tps-border);
	border-radius: 8px;
	background: rgba(7, 15, 30, 0.7);
}

.tps-legal-page__contents strong {
	grid-column: 1 / -1;
	margin-bottom: 4px;
	color: var(--tps-text);
}

.tps-legal-page__contents a {
	font-size: 0.88rem;
}

.tps-legal-page section {
	scroll-margin-top: 84px;
	margin-top: 32px;
}

.tps-legal-page h2 {
	margin: 0 0 10px;
	font-size: 1.35rem;
}

.tps-legal-page p,
.tps-legal-page li {
	line-height: 1.72;
}

.tps-legal-page ul {
	padding-left: 22px;
}

.tps-account-action-page {
	min-height: 55vh;
	width: min(720px, calc(100% - 32px));
	margin: 0 auto;
	padding: 72px 0;
	text-align: center;
}

.tps-auth-open {
	overflow: hidden;
}

.tps-auth-layer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.tps-auth-layer[hidden],
.tps-auth-panel[hidden] {
	display: none !important;
}

.tps-auth-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	background: rgba(0, 0, 0, 0.18);
	cursor: default;
}

.tps-auth-dialog {
	position: absolute;
	top: 70px;
	right: max(24px, calc((100vw - var(--tps-container)) / 2 + 24px));
	width: min(390px, calc(100vw - 32px));
	max-height: calc(100dvh - 86px);
	overflow-y: auto;
	padding: 25px;
	border: 1px solid rgba(var(--tps-logo-prop-blue-rgb), 0.5);
	border-radius: 10px;
	background: rgba(4, 10, 23, 0.98);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(var(--tps-white-rgb), 0.06);
	color: var(--tps-text);
}

.tps-auth-dialog:focus {
	outline: none;
}

.tps-auth-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tps-muted);
	font-size: 1.55rem;
	cursor: pointer;
}

.tps-auth-brand {
	margin-bottom: 22px;
	color: var(--tps-text-bright);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.tps-auth-brand span {
	color: var(--tps-logo-prop-blue);
}

.tps-auth-panel h2 {
	margin: 0 0 7px;
	font-size: 1.55rem;
}

.tps-auth-intro {
	margin: 0 0 20px;
	color: var(--tps-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.tps-auth-panel form {
	display: grid;
	gap: 14px;
}

.tps-auth-panel label {
	display: grid;
	gap: 6px;
	color: var(--tps-text-soft);
	font-size: 0.8rem;
	font-weight: 600;
}

.tps-auth-panel input,
.tps-auth-panel select {
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid rgba(var(--tps-text-soft-rgb), 0.22);
	border-radius: 6px;
	background: rgba(1, 6, 17, 0.82);
	color: var(--tps-text);
	font: inherit;
}

.tps-auth-panel input:focus,
.tps-auth-panel select:focus {
	border-color: var(--tps-logo-prop-blue);
	outline: 2px solid rgba(var(--tps-logo-prop-blue-rgb), 0.18);
}

.tps-auth-panel input[readonly] {
	color: var(--tps-muted);
	cursor: not-allowed;
}

.tps-auth-panel small {
	color: var(--tps-muted-2);
	font-weight: 400;
}

.tps-auth-check {
	display: grid !important;
	grid-template-columns: 17px 1fr;
	align-items: start;
	gap: 9px !important;
	font-weight: 400 !important;
	line-height: 1.45;
}

.tps-auth-check input {
	width: 17px;
	height: 17px;
	min-height: 0;
	margin: 2px 0 0;
	accent-color: var(--tps-logo-prop-blue);
}

.tps-auth-honeypot {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tps-auth-submit {
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid var(--tps-logo-prop-blue);
	border-radius: 6px;
	background: var(--tps-logo-prop-blue);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.tps-auth-submit:disabled {
	opacity: 0.55;
	cursor: wait;
}

.tps-auth-links {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
}

.tps-auth-links button,
.tps-auth-account-actions button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--tps-cyan-soft);
	font-size: 0.8rem;
	cursor: pointer;
}

.tps-auth-message {
	min-height: 1.4em;
	margin: 15px 0 0;
	color: var(--tps-cyan-soft);
	font-size: 0.82rem;
	line-height: 1.45;
}

.tps-auth-message.is-error {
	color: #ff8b9a;
}

.tps-auth-account-actions {
	display: grid;
	gap: 18px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--tps-border-subtle);
}

.tps-auth-account-actions form {
	display: grid;
	gap: 9px;
}

@media (max-width: 768px) {
	.tps-legal-page {
		width: min(100% - 28px, 860px);
		padding-top: 24px;
	}

	.tps-legal-page__contents {
		grid-template-columns: 1fr;
	}

	.tps-auth-backdrop {
		background: rgba(0, 0, 0, 0.72);
		backdrop-filter: blur(5px);
	}

	.tps-auth-dialog {
		top: 50%;
		right: auto;
		left: 50%;
		width: min(430px, calc(100vw - 24px));
		max-height: calc(100dvh - 24px);
		transform: translate(-50%, -50%);
		padding: 23px 20px;
	}
}

@media print {
	.tps-site-header,
	.tps-site-footer,
	.tps-auth-layer,
	.tps-legal-page__contents {
		display: none !important;
	}

	.tps-legal-page {
		width: 100%;
		padding: 0;
		color: #111;
	}

	.tps-legal-page h1,
	.tps-legal-page h2 {
		color: #000;
	}
}
