:root {
	color-scheme: light;

	/* Flat system: hierarchy comes from button tiers, type, layout, and a
	   subtle recessed gray surface -- NOT from shadow, rounding, or color bars. */
	--ezv2-page: #f4f4f5;
	--ezv2-surface: #ffffff;
	--ezv2-inset: #f4f4f5;
	--ezv2-line: #e4e4e7;
	--ezv2-line-soft: #ededee;

	--ezv2-blue: #2563eb;
	--ezv2-blue-strong: #1d4ed8;
}

html.dark {
	color-scheme: dark;
	--ezv2-page: #09090b;
	--ezv2-surface: #18181b;
	--ezv2-inset: #27272a;
	--ezv2-line: #303038;
	--ezv2-line-soft: #25252c;
	--ezv2-blue: #3b82f6;
	--ezv2-blue-strong: #60a5fa;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--ezv2-page);
}

.ezv2-body {
	min-height: 100%;
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

.ezv2-body a {
	text-decoration: none;
}

.ezv2-body a[href],
.ezv2-body button,
.ezv2-body select,
.ezv2-body label[for],
.ezv2-body .ezv2-result-row[data-href] {
	cursor: pointer;
}

.ezv2-body button:disabled,
.ezv2-body select:disabled {
	cursor: not-allowed;
}

.ezv2-body input,
.ezv2-body button,
.ezv2-body textarea,
.ezv2-body select {
	font: inherit;
}

.ezv2-body ::selection {
	background: rgba(37, 99, 235, 0.18);
}

/* -------------------------------------------------------------------------
   Surfaces (flat, sharp -- consistent with the Results page)
   Card  = primary white panel with a single hairline border.
   Inset = recessed detail block: light gray fill, no border (avoids the
           double-border noise of a box inside a box).
   ------------------------------------------------------------------------- */
.ezv2-card {
	background: var(--ezv2-surface);
	border: 1px solid var(--ezv2-line);
}

.ezv2-inset {
	background: var(--ezv2-inset);
}

.ezv2-divide-y > * + * {
	border-top: 1px solid var(--ezv2-line);
}
.ezv2-divide-x > * + * {
	border-left: 1px solid var(--ezv2-line);
}

/* -------------------------------------------------------------------------
   Buttons  (this is where "which action is primary" is answered)
   primary   = solid blue            -> the main action
   secondary = white, hairline border -> supporting action
   ghost     = blue text only         -> tertiary / link action
   ------------------------------------------------------------------------- */
.ezv2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.25rem;
	padding: 0 0.875rem;
	border: 1px solid transparent;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
	vertical-align: middle;
}
.ezv2-btn--sm {
	height: 2rem;
	padding: 0 0.75rem;
	font-size: 0.75rem;
}
.ezv2-btn--input {
	height: 2.5rem;
}
.ezv2-btn--block {
	width: 100%;
}
.ezv2-btn--primary {
	background: var(--ezv2-blue);
	color: #fff;
}
.ezv2-btn--primary:hover {
	background: var(--ezv2-blue-strong);
}
.ezv2-btn--secondary {
	background: #fff;
	color: #18181b;
	border-color: #d4d4d8;
}
.ezv2-btn--secondary:hover {
	background: #f4f4f5;
}
.ezv2-btn--ghost {
	background: transparent;
	color: var(--ezv2-blue-strong);
}
.ezv2-btn--ghost:hover {
	color: #1e40af;
	text-decoration: underline;
}
.ezv2-btn--locked {
	border-color: #d4d4d8;
	background: #f4f4f5;
	color: #52525b;
}
.ezv2-btn--locked:hover {
	background: #e4e4e7;
	color: #18181b;
	text-decoration: none;
}

/* Flat form controls (sharp, consistent with the rest of the v2 system). */
.ezv2-input {
	display: block;
	width: 100%;
	height: 2.5rem;
	padding: 0 0.75rem;
	background: #fff;
	border: 1px solid #d4d4d8;
	color: #18181b;
	font-size: 0.875rem;
	line-height: 1.25rem;
	outline: none;
}
.ezv2-input:focus {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
}
.ezv2-input:disabled {
	background: #f4f4f5;
	color: #a1a1aa;
}
select.ezv2-input {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2371717a'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.19l3.71-3.96a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.5rem center;
	background-size: 1.1rem;
	padding-right: 2rem;
}
.ezv2-input--sm {
	height: 2.125rem;
	font-size: 0.8125rem;
}

.ezv2-search-row {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
}
.ezv2-search-row .ezv2-input {
	min-width: 0;
	flex: 1 1 18rem;
}
.ezv2-search-row .ezv2-input,
.ezv2-search-row .ezv2-btn {
	height: 2.5rem;
}

@media (max-width: 640px) {
	.ezv2-search-row {
		flex-direction: column;
	}
	.ezv2-search-row .ezv2-btn {
		width: 100%;
	}
}

.ezv2-ai-credit-meter {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border: 1px solid var(--ezv2-line);
	background: #f8fafc;
	color: #52525b;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}
.ezv2-ai-credit-meter strong {
	color: #18181b;
	font-size: 1rem;
	font-weight: 700;
}
.ezv2-ai-textarea {
	display: block;
	width: 100%;
	min-height: 5.75rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #18181b;
	font-size: 0.875rem;
	line-height: 1.5;
	outline: none;
	resize: vertical;
}
.ezv2-ai-textarea:focus {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
}
.ezv2-ai-submit {
	height: 2.5rem;
}
.ezv2-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background: rgba(9, 9, 11, 0.45);
}
.ezv2-modal-backdrop.hidden {
	display: none;
}
.ezv2-btn.hidden,
.ezv2-modal-panel [hidden],
[data-ai-modal-upgrade][hidden] {
	display: none !important;
}
.ezv2-modal-panel {
	width: min(100%, 32rem);
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	background: var(--ezv2-surface);
	border: 1px solid var(--ezv2-line);
}
.ezv2-modal-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #71717a;
	font-size: 1.25rem;
	line-height: 1;
}
.ezv2-modal-close:hover,
.ezv2-modal-close:focus-visible {
	color: #18181b;
	background: #f4f4f5;
	outline: none;
}
.ezv2-tradesviz-note-modal {
	width: min(100%, 26rem);
	padding: 1rem;
}
.ezv2-tradesviz-note-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}
.ezv2-tradesviz-note-modal__eyebrow {
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1rem;
	text-transform: uppercase;
	color: var(--ezv2-blue-strong);
}
.ezv2-tradesviz-note-modal__title {
	margin: 0.25rem 0 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: #18181b;
}
.ezv2-tradesviz-note-modal__body {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.5;
	color: #3f3f46;
}
.ezv2-tradesviz-note-modal__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.25rem;
}
.ezv2-tradesviz-note-modal.is-success {
	border-color: #a7f3d0;
}
.ezv2-tradesviz-note-modal.is-success .ezv2-tradesviz-note-modal__eyebrow {
	color: #047857;
}
.ezv2-tradesviz-note-modal.is-error {
	border-color: #fecdd3;
}
.ezv2-tradesviz-note-modal.is-error .ezv2-tradesviz-note-modal__eyebrow {
	color: #be123c;
}

.ezv2-builder-filter-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}

.ezv2-chart-control-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--ezv2-line);
	background: #fff;
}
.ezv2-toggle-line {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.375rem;
	padding: 0.5rem 0.75rem;
	border-right: 1px solid var(--ezv2-line);
	color: #27272a;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
}
.ezv2-toggle-line:last-child {
	border-right: 0;
}
.ezv2-toggle-line input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--ezv2-blue);
	flex: none;
}
.ezv2-toggle-line span {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* -------------------------------------------------------------------------
   Condition builder (two-column query builder)
   ------------------------------------------------------------------------- */
.ezv2-cond-list {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}
.ezv2-cond-row {
	display: flex;
	align-items: flex-start;
	gap: 0.375rem;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid #e4e4e7;
	padding: 0.375rem;
}
.ezv2-cond-row.is-dragging {
	opacity: 0.45;
}
.ezv2-cond-row.is-dragover {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
}
.ezv2-cond-main {
	display: flex;
	align-items: flex-start;
	gap: 0.375rem;
	flex: 1 1 auto;
	min-width: 0;
	flex-wrap: wrap;
}
.ezv2-grip {
	cursor: grab;
	color: #a1a1aa;
	font-size: 0.85rem;
	line-height: 1;
	user-select: none;
	padding: 0 0.125rem;
	flex: none;
}
.ezv2-grip[draggable="true"] {
	touch-action: none;
}
.ezv2-grip:active {
	cursor: grabbing;
}
.ezv2-cond-remove {
	appearance: none;
	border: 0;
	background: transparent;
	color: #a1a1aa;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.25rem;
	flex: none;
}
.ezv2-cond-remove:hover {
	color: #b91c1c;
}
.ezv2-conn {
	display: flex;
	justify-content: center;
	padding: 0.0625rem 0;
}
.ezv2-conn-btn {
	appearance: none;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #3f3f46;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 0.125rem 0.5rem;
	cursor: pointer;
	min-width: 2.75rem;
	text-align: center;
}
.ezv2-conn-btn[data-conn="OR"] {
	color: #b45309;
	border-color: #fcd34d;
	background: #fffbeb;
}
.ezv2-seg {
	display: inline-flex;
	border: 1px solid #d4d4d8;
}
.ezv2-seg button {
	appearance: none;
	border: 0;
	background: #fff;
	color: #52525b;
	font-size: 0.6875rem;
	font-weight: 600;
	padding: 0.25rem 0.625rem;
	cursor: pointer;
}
.ezv2-seg button + button {
	border-left: 1px solid #d4d4d8;
}
.ezv2-seg button.is-active {
	background: var(--ezv2-blue);
	color: #fff;
}
.ezv2-cond-textarea {
	display: block;
	width: 100%;
	min-height: 9rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid #d4d4d8;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #18181b;
	outline: none;
	resize: vertical;
}
.ezv2-cond-textarea:focus {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
}

/* Named technical condition chip */
.ezv2-cond-label {
	font-size: 0.8125rem;
	color: #18181b;
	font-weight: 500;
	overflow: visible;
	overflow-wrap: anywhere;
	text-overflow: clip;
	white-space: normal;
	flex: 1 1 14rem;
	min-width: 0;
	line-height: 1.35;
}
.ezv2-tag {
	display: inline-flex;
	align-items: center;
	padding: 0.0625rem 0.375rem;
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #eef2ff;
	color: #4338ca;
	flex: none;
}
.ezv2-cond-main > .ezv2-tag {
	margin-top: 0.125rem;
}
.ezv2-cond-edit {
	appearance: none;
	border: 0;
	background: transparent;
	color: #a1a1aa;
	cursor: pointer;
	padding: 0 0.25rem;
	font-size: 0.9rem;
	line-height: 1;
	flex: none;
}
.ezv2-cond-edit:hover,
.ezv2-cond-edit.is-active {
	color: var(--ezv2-blue);
}
.ezv2-fund-editor {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	flex: 1 1 auto;
	min-width: 0;
	flex-wrap: nowrap;
}
.ezv2-fund-editor.is-hidden {
	display: none;
}
.ezv2-cond-row.is-editing {
	flex-wrap: nowrap;
}
.ezv2-cond-row.is-editing .ezv2-cond-main {
	flex: 1 1 auto;
	flex-wrap: nowrap;
}
.ezv2-cond-row.is-editing .ezv2-cond-field,
.ezv2-cond-row.is-editing .ezv2-cond-op,
.ezv2-cond-row.is-editing .ezv2-cond-val {
	min-width: 0;
}

/* Searchable condition picker */
.ezv2-combo {
	position: relative;
}
.ezv2-combo-panel {
	position: absolute;
	z-index: 20;
	left: 0;
	right: 0;
	top: calc(100% + 2px);
	background: #fff;
	border: 1px solid #d4d4d8;
	box-shadow: 0 6px 20px -6px rgb(9 9 11 / 0.18);
	max-height: 16rem;
	overflow-y: auto;
}
.ezv2-combo-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.5rem;
	cursor: pointer;
	font-size: 0.8125rem;
	color: #18181b;
	border-top: 1px solid #f4f4f5;
}
.ezv2-combo-item:first-child {
	border-top: 0;
}
.ezv2-combo-item.is-active,
.ezv2-combo-item:hover {
	background: #eff6ff;
}
.ezv2-combo-item.is-pro-locked {
	color: #71717a;
	background: #fafafa;
}
.ezv2-combo-item.is-pro-locked:hover {
	background: #fff7ed;
}
.ezv2-combo-item .ezv2-combo-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ezv2-combo-item .ezv2-combo-expr {
	flex: none;
	max-width: 45%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.6875rem;
	color: #71717a;
}
.ezv2-global-search-panel {
	z-index: 70;
	max-height: min(24rem, calc(100vh - 5rem));
	overflow-y: auto;
	overscroll-behavior: contain;
}
.ezv2-global-search-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.625rem 0.75rem;
	border-bottom: 1px solid #e4e4e7;
	background: #fafafa;
	color: #71717a;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ezv2-global-search-heading strong {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #18181b;
	font-size: 0.8125rem;
	text-transform: none;
	letter-spacing: 0;
}
.ezv2-global-search-section {
	border-top: 1px solid #e4e4e7;
}
.ezv2-global-search-section:first-of-type {
	border-top: 0;
}
.ezv2-global-search-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.4375rem 0.75rem;
	background: #f8fafc;
	color: #52525b;
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.ezv2-global-search-section-heading span:last-child {
	flex: none;
	color: #71717a;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0;
}
.ezv2-global-search-loading,
.ezv2-global-search-empty {
	padding: 0.625rem 0.75rem;
	font-size: 0.8125rem;
	color: #71717a;
}
.ezv2-global-search-loading {
	position: relative;
	background: linear-gradient(90deg, #fff 0%, #f4f4f5 45%, #fff 90%);
	background-size: 220% 100%;
	animation: ezv2-search-loading 1.1s ease-in-out infinite;
}
@keyframes ezv2-search-loading {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}
.ezv2-global-search-option {
	width: 100%;
	min-height: 3.375rem;
	padding: 0.625rem 0.75rem;
	background: #fff;
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
	font: inherit;
	text-align: left;
	text-decoration: none;
}
.ezv2-global-search-option .ezv2-combo-name {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}
.ezv2-global-search-label {
	font-size: 0.875rem;
	font-weight: 700;
	color: #18181b;
}
.ezv2-global-search-action {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 0.75rem;
	font-weight: 500;
	color: #52525b;
}
.ezv2-global-search-option .ezv2-combo-expr {
	max-width: 42%;
	font-family: inherit;
	font-size: 0.75rem;
}

.ezv2-pulse-control-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 56rem;
	flex-wrap: nowrap;
}
.ezv2-pulse-choice {
	position: relative;
	flex: 1 1 34rem;
	min-width: 0;
}
.ezv2-pulse-choice-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 2rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #18181b;
	padding: 0 1.875rem 0 0.625rem;
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1;
	text-align: left;
	position: relative;
}
.ezv2-pulse-choice-toggle::after {
	content: "";
	position: absolute;
	right: 0.625rem;
	top: 50%;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid #71717a;
	border-bottom: 1.5px solid #71717a;
	transform: translateY(-65%) rotate(45deg);
}
.ezv2-pulse-choice-label {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ezv2-pulse-choice-panel {
	min-width: 0;
	width: min(40rem, calc(100vw - 2rem));
	max-width: calc(100vw - 2rem);
	right: auto;
	overflow-x: hidden;
	max-height: 22rem;
}
.ezv2-pulse-choice-item {
	min-height: 2.75rem;
	min-width: 0;
	width: 100%;
	padding: 0.5rem 0.625rem;
}
.ezv2-pulse-choice-tags {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	gap: 0.25rem;
	max-width: min(40%, 16rem);
	min-width: 0;
	overflow: hidden;
}
.ezv2-pulse-choice-panel .ezv2-combo-search {
	height: 2.25rem;
	font-size: 0.875rem;
}
.ezv2-pulse-choice-tags .ezv2-tag {
	display: block;
	max-width: 8rem;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ezv2-pulse-choice-item .ezv2-combo-name {
	flex: 1 1 14rem;
}
.ezv2-pulse-choice-item .ezv2-combo-expr {
	flex: 0 1 38%;
	max-width: 38%;
	min-width: 0;
}

.ezv2-bt-choice {
	position: relative;
	min-width: 0;
}
.ezv2-bt-setup-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1rem;
	padding: 1.25rem;
}
.ezv2-bt-field {
	min-width: 0;
}
.ezv2-bt-field--span-2 {
	grid-column: span 2;
}
.ezv2-bt-field--span-4 {
	grid-column: span 4;
}
.ezv2-bt-field--span-5 {
	grid-column: span 5;
}
.ezv2-bt-field--span-6 {
	grid-column: span 6;
}
.ezv2-bt-field--span-12 {
	grid-column: 1 / -1;
}
.ezv2-bt-field--apply {
	display: flex;
	align-items: flex-end;
}
.ezv2-bt-date {
	height: 2.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
}
.ezv2-bt-rows-label {
	margin-left: 0.5rem;
	white-space: nowrap;
}
.ezv2-bt-choice-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	width: 100%;
	height: 2.75rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #18181b;
	padding: 0 2rem 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	text-align: left;
	outline: none;
}
.ezv2-bt-choice-toggle:focus-visible {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
}
.ezv2-bt-choice-toggle::after {
	content: "";
	position: absolute;
	right: 0.75rem;
	top: 50%;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid #71717a;
	border-bottom: 1.5px solid #71717a;
	transform: translateY(-65%) rotate(45deg);
}
.ezv2-bt-choice-label {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ezv2-bt-choice-panel {
	min-width: 0;
	width: min(26rem, calc(100vw - 2rem));
	max-width: calc(100vw - 2rem);
	right: auto;
	overflow-x: hidden;
	max-height: 22rem;
	z-index: 50;
}
.ezv2-bt-choice-panel--wide {
	width: min(45rem, calc(100vw - 2rem));
}
.ezv2-bt-choice-panel .ezv2-combo-search {
	height: 2.25rem;
	font-size: 0.875rem;
}
.ezv2-bt-choice-item {
	min-height: 2.625rem;
	min-width: 0;
	width: 100%;
	padding: 0.5rem 0.625rem;
}
.ezv2-bt-choice-tags {
	display: flex;
	flex: 0 1 auto;
	align-items: center;
	gap: 0.25rem;
	max-width: min(40%, 16rem);
	min-width: 0;
	overflow: hidden;
}
.ezv2-bt-choice-tags .ezv2-tag {
	display: block;
	max-width: 8rem;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ezv2-bt-choice-item .ezv2-combo-name {
	flex: 1 1 12rem;
}
.ezv2-bt-choice-item .ezv2-combo-expr {
	flex: 0 1 36%;
	max-width: 36%;
	min-width: 0;
}
.ezv2-bt-loading {
	opacity: 0.55;
	pointer-events: none;
}
.ezv2-running-label {
	display: inline-flex;
	align-items: baseline;
	min-width: 9rem;
	letter-spacing: 0;
	white-space: nowrap;
}
.ezv2-running-dots {
	display: inline-flex;
	width: 1.75rem;
	margin-left: 0.125rem;
}
.ezv2-running-dots span {
	animation: ezv2-running-dot 1.1s ease-in-out infinite;
	opacity: 0.2;
}
.ezv2-running-dots span:nth-child(2) {
	animation-delay: 0.18s;
}
.ezv2-running-dots span:nth-child(3) {
	animation-delay: 0.36s;
}
@keyframes ezv2-running-dot {
	0%,
	80%,
	100% {
		opacity: 0.2;
	}
	35% {
		opacity: 1;
	}
}
@media (max-width: 720px) {
	.ezv2-builder-filter-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ezv2-chart-control-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ezv2-toggle-line:nth-child(2n) {
		border-right: 0;
	}
	.ezv2-toggle-line:nth-child(n + 3) {
		border-top: 1px solid var(--ezv2-line);
	}
	.ezv2-pulse-control-row {
		align-items: stretch;
		flex-wrap: wrap;
	}
	.ezv2-pulse-choice {
		flex-basis: 100%;
	}
	.ezv2-bt-choice-tags,
	.ezv2-bt-choice-item .ezv2-combo-expr {
		display: none;
	}
	.ezv2-global-search-panel {
		position: fixed;
		left: 1rem;
		right: 1rem;
		top: 4rem;
		width: auto;
	}
	.ezv2-global-search-option .ezv2-combo-expr {
		display: none;
	}
}
@media (max-width: 480px) {
	.ezv2-builder-filter-row {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 960px) {
	.ezv2-bt-setup-grid {
		grid-template-columns: 1fr;
	}
	.ezv2-bt-field--span-2,
	.ezv2-bt-field--span-4,
	.ezv2-bt-field--span-5,
	.ezv2-bt-field--span-6,
	.ezv2-bt-field--span-12 {
		grid-column: 1 / -1;
	}
}

.ezv2-text-action {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--ezv2-blue-strong);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1rem;
	margin: 0;
	padding: 0;
	text-align: right;
	white-space: nowrap;
}
.ezv2-text-action:hover {
	text-decoration: underline;
}
.ezv2-tradesviz-note-trigger {
	font-weight: 400;
}
.ezv2-tradesviz-note-trigger--strong {
	font-weight: 600;
}
.ezv2-text-action--danger {
	color: #be123c;
}
.ezv2-text-action--danger:hover {
	color: #9f1239;
}

/* Compatibility pass for v2 templates that still have one-off Tailwind action
   classes. Keep primary/secondary action buttons visually consistent while
   templates migrate to .ezv2-btn. */
.ezv2-body a[href][class*="bg-blue-600"][class*="font-semibold"],
.ezv2-body button[class*="bg-blue-600"][class*="font-semibold"],
.ezv2-body a[href][class*="border-zinc-300"][class*="font-semibold"],
.ezv2-body button[class*="border-zinc-300"][class*="font-semibold"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: 2.25rem;
	padding: 0 0.875rem;
	border: 1px solid transparent;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-align: center;
	vertical-align: middle;
}
.ezv2-body a[href][class*="bg-blue-600"][class*="font-semibold"],
.ezv2-body button[class*="bg-blue-600"][class*="font-semibold"] {
	background: var(--ezv2-blue);
	color: #fff;
}
.ezv2-body a[href][class*="bg-blue-600"][class*="font-semibold"]:hover,
.ezv2-body button[class*="bg-blue-600"][class*="font-semibold"]:hover {
	background: var(--ezv2-blue-strong);
}
.ezv2-body a[href][class*="border-zinc-300"][class*="font-semibold"],
.ezv2-body button[class*="border-zinc-300"][class*="font-semibold"] {
	background: #fff;
	border-color: #d4d4d8;
	color: #18181b;
}
.ezv2-body a[href][class*="border-zinc-300"][class*="font-semibold"]:hover,
.ezv2-body button[class*="border-zinc-300"][class*="font-semibold"]:hover {
	background: #f4f4f5;
}
.ezv2-body a[href][class*="text-xs"][class*="font-semibold"][class*="bg-blue-600"],
.ezv2-body button[class*="text-xs"][class*="font-semibold"][class*="bg-blue-600"],
.ezv2-body a[href][class*="text-xs"][class*="font-semibold"][class*="border-zinc-300"],
.ezv2-body button[class*="text-xs"][class*="font-semibold"][class*="border-zinc-300"] {
	height: 2rem;
	padding: 0 0.75rem;
	font-size: 0.75rem;
}
.ezv2-body button.ezv2-bt-apply-button[class*="bg-blue-600"][class*="font-semibold"] {
	height: 2.75rem;
	width: 100%;
	padding: 0 1rem;
	font-size: 0.875rem;
}

/* -------------------------------------------------------------------------
   Sidebar / rail nav  (sharp left-border active state, no shadow)
   ------------------------------------------------------------------------- */
:root {
	--ezv2-sidebar-collapsed-width: 5.25rem;
	--ezv2-sidebar-expanded-width: 18rem;
	--ezv2-sidebar-current-width: var(--ezv2-sidebar-collapsed-width);
}

html.ezv2-sidebar-open,
html.ezv2-sidebar-locked {
	--ezv2-sidebar-current-width: var(--ezv2-sidebar-expanded-width);
}

@media (min-width: 1024px) {
	.ezv2-sidebar {
		width: var(--ezv2-sidebar-current-width);
		transition: width 160ms ease;
	}

	.ezv2-main-shell {
		padding-left: var(--ezv2-sidebar-current-width);
		transition: padding-left 160ms ease;
	}
}

.ezv2-main-shell {
	min-height: 100vh;
}

.ezv2-sidebar-shell {
	overflow-x: hidden;
}

.ezv2-sidebar-brand {
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	height: 5.5rem;
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

html.ezv2-sidebar-open .ezv2-sidebar-brand,
html.ezv2-sidebar-locked .ezv2-sidebar-brand {
	flex-direction: row;
	justify-content: flex-start;
	gap: 0.75rem;
	height: 5rem;
	padding-left: 1.5rem;
	padding-right: 1rem;
}

.ezv2-sidebar-brand-copy {
	display: none;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
	transition: max-width 160ms ease, opacity 120ms ease;
}

html.ezv2-sidebar-open .ezv2-sidebar-brand-copy,
html.ezv2-sidebar-locked .ezv2-sidebar-brand-copy {
	display: block;
	max-width: 12rem;
	opacity: 1;
	pointer-events: auto;
}

.ezv2-sidebar-toggle {
	margin-left: 0;
	border: 0;
	background: transparent;
	color: #a1a1aa;
}

.ezv2-sidebar-toggle:hover,
.ezv2-sidebar-toggle[aria-pressed="true"] {
	color: #71717a;
}

html.ezv2-sidebar-open .ezv2-sidebar-toggle,
html.ezv2-sidebar-locked .ezv2-sidebar-toggle {
	margin-left: auto;
}

.ezv2-sidebar nav {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
}

html.ezv2-sidebar-open .ezv2-sidebar nav,
html.ezv2-sidebar-locked .ezv2-sidebar nav {
	padding-left: 1rem;
	padding-right: 1rem;
}

.ezv2-sidebar-section,
.ezv2-sidebar-footer {
	display: none;
}

html.ezv2-sidebar-open .ezv2-sidebar-section,
html.ezv2-sidebar-locked .ezv2-sidebar-section,
html.ezv2-sidebar-open .ezv2-sidebar-footer,
html.ezv2-sidebar-locked .ezv2-sidebar-footer {
	display: block;
}

.ezv2-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	position: relative;
	padding: 0.5rem 0.75rem;
	border-left: 3px solid transparent;
	font-size: 0.875rem;
	font-weight: 600;
	color: #3f3f46;
}
html.ezv2-sidebar-open .ezv2-nav,
html.ezv2-sidebar-locked .ezv2-nav {
	justify-content: flex-start;
	gap: 0.75rem;
}
.ezv2-nav:hover {
	background: #f4f4f5;
	color: #18181b;
}
.ezv2-nav .ezv2-nav-icon {
	color: #a1a1aa;
	flex: none;
}
.ezv2-sidebar .ezv2-nav span {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	white-space: nowrap;
	transition: max-width 160ms ease, opacity 120ms ease;
}
html.ezv2-sidebar-open .ezv2-sidebar .ezv2-nav span,
html.ezv2-sidebar-locked .ezv2-sidebar .ezv2-nav span {
	max-width: 13rem;
	opacity: 1;
}
.ezv2-nav.is-active {
	background: #eff6ff;
	color: #1d4ed8;
	border-left-color: var(--ezv2-blue);
}
.ezv2-nav.is-active .ezv2-nav-icon {
	color: var(--ezv2-blue);
}

.ezv2-sidebar-mobile-backdrop {
	display: none;
	border: 0;
	padding: 0;
	background: transparent;
}

.ezv2-sidebar {
	position: fixed;
	z-index: 40;
	display: flex;
	flex-direction: column;
	top: 0;
	bottom: 0;
	left: 0;
}

.ezv2-mobile-sidebar-toggle {
	border: 0;
	background: transparent;
	color: #71717a;
}
.ezv2-mobile-sidebar-toggle:hover,
.ezv2-mobile-sidebar-toggle[aria-expanded="true"] {
	background: #f4f4f5;
	color: #18181b;
}

@media (max-width: 1023px) {
	.ezv2-ai-submit {
		width: 100%;
	}

	html.ezv2-sidebar-mobile-open,
	html.ezv2-sidebar-mobile-open body {
		overflow: hidden;
	}

	.ezv2-sidebar {
		width: min(18rem, calc(100vw - 3rem));
		transform: translateX(-105%);
		transition: transform 180ms ease;
		z-index: 70;
	}

	html.ezv2-sidebar-mobile-open .ezv2-sidebar {
		transform: translateX(0);
	}

	.ezv2-sidebar-mobile-backdrop {
		position: fixed;
		inset: 0;
		z-index: 60;
		background: rgba(24, 24, 27, 0.38);
	}

	html.ezv2-sidebar-mobile-open .ezv2-sidebar-mobile-backdrop {
		display: block;
	}

	.ezv2-sidebar-shell {
		width: 100%;
	}

	.ezv2-sidebar-brand {
		flex-direction: row;
		justify-content: flex-start;
		gap: 0.75rem;
		height: 5rem;
		padding-left: 1.5rem;
		padding-right: 1rem;
	}

	.ezv2-sidebar-brand-copy,
	.ezv2-sidebar-section,
	.ezv2-sidebar-footer {
		display: block;
	}

	.ezv2-sidebar-brand-copy {
		max-width: 12rem;
		opacity: 1;
		pointer-events: auto;
	}

	.ezv2-sidebar-toggle {
		margin-left: auto;
	}

	.ezv2-sidebar nav {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.ezv2-nav {
		justify-content: flex-start;
		gap: 0.75rem;
	}

	.ezv2-sidebar .ezv2-nav span {
		max-width: 13rem;
		opacity: 1;
	}
}

@media (min-width: 1024px) {
	.ezv2-sidebar-mobile-backdrop,
	.ezv2-mobile-sidebar-toggle {
		display: none !important;
	}
}

.ezv2-profile-trigger {
	border: 1px solid transparent;
	background: transparent;
	color: #52525b;
}
.ezv2-profile-trigger:hover,
.ezv2-profile-trigger[aria-expanded="true"] {
	background: #f4f4f5;
	color: #18181b;
}
.ezv2-profile-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 0.5rem);
	z-index: 60;
	width: 13.5rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	padding: 0.35rem;
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}
.ezv2-profile-menu form {
	margin: 0;
}
.ezv2-profile-menu-divider {
	border-top: 1px solid #e4e4e7;
	margin-top: 0.35rem;
	padding-top: 0.35rem;
}
.ezv2-profile-menu-item {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 0.625rem 0.75rem;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	color: #3f3f46;
	cursor: pointer;
	text-align: left;
}
.ezv2-profile-menu-item:hover,
.ezv2-profile-menu-item:focus {
	background: #eff6ff;
	color: #1d4ed8;
	outline: none;
}

/* -------------------------------------------------------------------------
   Metadata bits
   ------------------------------------------------------------------------- */
.ezv2-eyebrow {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #71717a;
}

.ezv2-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.1875rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.1;
	color: #52525b;
	background: #f4f4f5;
}

.ezv2-help {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #71717a;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	cursor: help;
}
.ezv2-help:hover,
.ezv2-help:focus-visible {
	border-color: #94a3b8;
	color: #18181b;
	outline: none;
}
.ezv2-help::after {
	content: attr(aria-label);
	position: absolute;
	z-index: 30;
	left: 50%;
	bottom: calc(100% + 0.5rem);
	width: min(18rem, 80vw);
	transform: translateX(-50%);
	border: 1px solid #27272a;
	background: #18181b;
	color: #fff;
	padding: 0.5rem 0.625rem;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 120ms ease;
}
.ezv2-help:hover::after,
.ezv2-help:focus-visible::after {
	opacity: 1;
}

.ezv2-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.125rem 0.4375rem;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.2;
}
.ezv2-badge--beginner { background: #f4f4f5; color: #52525b; }
.ezv2-badge--intermediate { background: #fffbeb; color: #b45309; }
.ezv2-badge--advanced { background: #fef2f2; color: #b91c1c; }

.ezv2-pro-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.125rem;
	padding: 0.0625rem 0.375rem;
	border: 1px solid #18181b;
	background: #18181b;
	color: #fff;
	font-size: 0.5625rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
}
.ezv2-pro-badge--soft {
	border-color: #f59e0b;
	background: #fffbeb;
	color: #92400e;
}
.ezv2-locked-note {
	border: 1px solid #fed7aa;
	background: #fff7ed;
	color: #9a3412;
	padding: 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.45;
}
.ezv2-limit-note {
	border: 1px solid #e4e4e7;
	background: #fff;
	color: #52525b;
	padding: 0.75rem;
	font-size: 0.8125rem;
	line-height: 1.45;
}

/* -------------------------------------------------------------------------
   Category color key -- kept minimal: a small tinted label chip and a solid
   swatch dot only. No colored card borders / spines.
   ------------------------------------------------------------------------- */
.ezv2-cat {
	display: inline-flex;
	align-items: center;
	padding: 0.1875rem 0.5rem;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0.01em;
}
.ezv2-cat--momentum { background: #eff6ff; color: #1d4ed8; }
.ezv2-cat--pullback,
.ezv2-cat--pullbacks { background: #fffbeb; color: #b45309; }
.ezv2-cat--quality { background: #f5f3ff; color: #6d28d9; }
.ezv2-cat--value,
.ezv2-cat--valuation { background: #fefce8; color: #a16207; }
.ezv2-cat--growth { background: #ecfeff; color: #0e7490; }
.ezv2-cat--profitability { background: #ecfdf5; color: #047857; }
.ezv2-cat--cashflow { background: #f0fdf4; color: #15803d; }
.ezv2-cat--balance-sheet { background: #f1f5f9; color: #475569; }
.ezv2-cat--dividend { background: #f0fdfa; color: #0f766e; }
.ezv2-cat--risk { background: #fef2f2; color: #b91c1c; }
.ezv2-cat--tradesviz { background: #eef2ff; color: #4338ca; }
.ezv2-cat--all { background: #f4f4f5; color: #52525b; }

.ezv2-swatch--momentum { background: #3b82f6; }
.ezv2-swatch--pullback,
.ezv2-swatch--pullbacks { background: #f59e0b; }
.ezv2-swatch--quality { background: #8b5cf6; }
.ezv2-swatch--value,
.ezv2-swatch--valuation { background: #ca8a04; }
.ezv2-swatch--growth { background: #06b6d4; }
.ezv2-swatch--profitability { background: #10b981; }
.ezv2-swatch--cashflow { background: #22c55e; }
.ezv2-swatch--balance-sheet { background: #64748b; }
.ezv2-swatch--dividend { background: #14b8a6; }
.ezv2-swatch--risk { background: #f43f5e; }
.ezv2-swatch--tradesviz { background: #6366f1; }

/* -------------------------------------------------------------------------
   Data rows (clickable table rows keep a flat hover/focus/selected state)
   ------------------------------------------------------------------------- */
.ezv2-result-row {
	cursor: pointer;
}
.ezv2-result-row:hover td {
	background: #f6f8fb;
}
.ezv2-result-row:focus-visible td {
	background: #eff6ff;
}
.ezv2-result-row.is-selected td {
	background: #eaf2ff;
}
.ezv2-result-row.is-selected:hover td,
.ezv2-result-row.is-selected:focus-visible td {
	background: #dbeafe;
}

.ezv2-reference-table {
	width: 100%;
	table-layout: fixed;
}

.ezv2-reference-table th,
.ezv2-reference-table td {
	vertical-align: top;
	overflow-wrap: anywhere;
}

.ezv2-reference-col--indicator {
	width: 28%;
}

.ezv2-reference-col--category {
	width: 16%;
}

.ezv2-reference-col--syntax {
	width: 56%;
}

.ezv2-reference-col--metric {
	width: 30%;
}

.ezv2-reference-col--fund-category {
	width: 18%;
}

.ezv2-reference-col--description {
	width: 52%;
}

.ezv2-reference-code {
	display: block;
	max-width: 100%;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.45;
}

.ezv2-reference-description {
	max-width: 100%;
	margin: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	line-height: 1.5;
}

.ezv2-scroll-target {
	scroll-margin-top: 6rem;
}

@media (min-width: 1280px) {
	.ezv2-saved-detail-rail {
		position: sticky;
		top: 5rem;
		align-self: flex-start;
		max-height: calc(100vh - 6rem);
		overflow-y: auto;
		padding-right: 0.25rem;
	}
}

.ezv2-watchlist-main-column {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ezv2-watchlist-library { order: 1; }
.ezv2-watchlist-analysis { order: 2; }
.ezv2-watchlist-symbols { order: 3; }

.ezv2-watchlist-symbol-table {
	width: 100%;
	table-layout: fixed;
}

.ezv2-watchlist-symbol-col--index { width: 5rem; }
.ezv2-watchlist-symbol-col--symbol { width: 11rem; }
.ezv2-watchlist-symbol-col--market { width: 6rem; }
.ezv2-watchlist-symbol-col--action { width: 5.75rem; }

.ezv2-watchlist-symbol-table .ezv2-symbol-cell--compact {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 8.75rem;
}

.ezv2-watchlist-symbol-table .ezv2-symbol-main,
.ezv2-watchlist-symbol-table .ezv2-symbol-main a {
	flex: none;
	white-space: nowrap;
}

.ezv2-watchlist-symbol-name {
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
	line-height: 1.4;
}

@media (max-width: 1024px) {
	.ezv2-watchlist-symbol-name {
		font-size: 0.8125rem;
		line-height: 1.35;
	}
}

.ezv2-analysis-pill {
	display: inline-grid;
	grid-template-columns: minmax(8.75rem, 1fr) 1.875rem;
	align-items: stretch;
	min-width: 11.75rem;
	height: 1.625rem;
	overflow: hidden;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #18181b;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	vertical-align: middle;
}
.ezv2-analysis-pill__label {
	display: flex;
	align-items: center;
	min-width: 0;
	padding: 0 0.625rem;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.ezv2-analysis-pill__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	border-left: 1px solid var(--ezv2-analysis-border, #d4d4d8);
	background: rgba(255, 255, 255, 0.7);
}
.ezv2-analysis-pill svg {
	width: 0.875rem;
	height: 0.875rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ezv2-analysis-pill--done {
	--ezv2-analysis-border: #86efac;
	border-color: #86efac;
	background: #ecfdf5;
	color: #047857;
}
.ezv2-analysis-pill--needed {
	--ezv2-analysis-border: #fbbf24;
	border-color: #fbbf24;
	background: #fffbeb;
	color: #b45309;
}
.ezv2-analysis-pill:hover,
.ezv2-analysis-pill:focus-visible {
	filter: brightness(0.98);
	outline: none;
}
.ezv2-analysis-pill[aria-disabled="true"] {
	--ezv2-analysis-border: #d4d4d8;
	border-color: #d4d4d8;
	background: #f4f4f5;
	color: #71717a;
}
.ezv2-spin {
	animation: ezv2-spin 0.9s linear infinite;
}
@keyframes ezv2-spin {
	to { transform: rotate(360deg); }
}
.ezv2-analysis-note {
	display: block;
	margin-top: 0.25rem;
	max-width: 12rem;
	color: #64748b;
	font-size: 0.75rem;
	line-height: 1.2;
}

.ezv2-results-table {
	width: 100%;
	table-layout: fixed;
}

.ezv2-results-col-symbol {
	width: 22%;
}
.ezv2-results-col-price {
	width: 8%;
}
.ezv2-results-col-move {
	width: 7%;
}
.ezv2-results-col-score {
	width: 7%;
}
.ezv2-results-col-trend {
	width: 9%;
}
.ezv2-results-col-review {
	width: 7rem;
}

.ezv2-results-table th,
.ezv2-results-table td {
	overflow-wrap: anywhere;
}

.ezv2-results-nowrap {
	white-space: nowrap;
}

.ezv2-results-symbol-company,
.ezv2-results-why {
	white-space: normal;
	overflow-wrap: anywhere;
}

.ezv2-results-chart-options {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.25rem;
	flex-wrap: wrap;
}
.ezv2-results-chart-options span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.25rem;
	padding: 0 0.875rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #18181b;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: default;
}

.ezv2-results-view-toggle {
	display: inline-flex;
	height: 2rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	flex: none;
}

.ezv2-results-view-toggle a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 4.25rem;
	border-right: 1px solid #d4d4d8;
	padding: 0 0.75rem;
	color: #3f3f46;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.ezv2-results-view-toggle a:last-child {
	border-right: 0;
}

.ezv2-results-view-toggle a:hover {
	background: #f4f4f5;
	color: #18181b;
}

.ezv2-results-view-toggle a.is-active {
	background: #18181b;
	color: #fff;
}

.ezv2-result-chart-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 31rem), 1fr));
	gap: 1rem;
	background: #f8fafc;
}

.ezv2-result-chart-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid #d4d4d8;
	background: #fff;
}

.ezv2-result-chart-card__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 1rem;
	border-bottom: 1px solid #e4e4e7;
	padding: 0.875rem 1rem;
}

.ezv2-result-chart-card__symbol {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
	color: #18181b;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.ezv2-result-chart-card__symbol:hover {
	color: var(--ezv2-blue);
}

.ezv2-result-chart-card__company {
	margin-top: 0.1875rem;
	color: #71717a;
	font-size: 0.75rem;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.ezv2-result-chart-card__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.125rem;
	min-width: 5rem;
	color: #18181b;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: right;
}

.ezv2-result-chart-card__price strong {
	font-size: 0.8125rem;
	font-weight: 800;
}

.ezv2-result-chart-card__price .is-positive {
	color: #059669;
}

.ezv2-result-chart-card__price .is-negative {
	color: #e11d48;
}

.ezv2-result-chart-card__chart {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 20rem;
	border: 0;
	border-bottom: 1px solid #e4e4e7;
	background: #fff;
	padding: 0;
	text-align: left;
	overflow: hidden;
}

.ezv2-result-chart-card__canvas {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	position: relative;
	width: 100%;
	height: 100%;
}

.ezv2-result-chart-card__legend {
	position: relative;
	flex: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	align-items: center;
	min-height: 2rem;
	border-bottom: 1px solid #e4e4e7;
	padding: 0.4rem 0.625rem;
	color: #52525b;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.15;
	pointer-events: none;
}

.ezv2-result-chart-card__price-pane {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	cursor: crosshair;
	touch-action: none;
	user-select: none;
}

.ezv2-result-chart-card__indicator-pane {
	position: relative;
	flex: 0 0 7rem;
	min-height: 7rem;
	width: 100%;
	border-top: 1px solid #e4e4e7;
	cursor: crosshair;
	touch-action: none;
	user-select: none;
}

.ezv2-result-chart-card__legend--interactive {
	pointer-events: none;
}

.ezv2-result-chart-card__legend span,
.ezv2-result-chart-card__legend-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	max-width: 10rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ezv2-result-chart-card__legend-toggle {
	border: 0;
	background: transparent;
	padding: 0;
	color: inherit;
	font: inherit;
	cursor: pointer;
	pointer-events: auto;
}

.ezv2-result-chart-card__legend-toggle:hover,
.ezv2-result-chart-card__legend-toggle:focus-visible {
	color: #18181b;
	outline: none;
}

.ezv2-result-chart-card__legend-toggle.is-off {
	color: #a1a1aa;
	opacity: 0.64;
}

.ezv2-result-chart-card__legend-toggle.is-off i {
	opacity: 0.35;
}

.ezv2-result-chart-card__legend i {
	display: inline-block;
	width: 0.75rem;
	height: 0.35rem;
	flex: none;
	border-radius: 999px;
}

.ezv2-result-chart-card__status {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(90deg, #fff 0%, #f4f4f5 45%, #fff 90%);
	background-size: 220% 100%;
	animation: ezv2-search-loading 1.1s ease-in-out infinite;
	color: #52525b;
	font-size: 0.8125rem;
	font-weight: 700;
}

.ezv2-result-chart-card__status.is-error {
	background: #fff1f2;
	color: #be123c;
	animation: none;
}

.ezv2-result-chart-card__status.hidden {
	display: none;
}

.ezv2-result-chart-card__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-bottom: 1px solid #e4e4e7;
}

.ezv2-result-chart-card__stats div {
	min-width: 0;
	border-right: 1px solid #e4e4e7;
	padding: 0.625rem 0.75rem;
}

.ezv2-result-chart-card__stats div:last-child {
	border-right: 0;
}

.ezv2-result-chart-card__stats span {
	display: block;
	color: #71717a;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.ezv2-result-chart-card__stats strong {
	display: block;
	margin-top: 0.25rem;
	overflow: hidden;
	color: #18181b;
	font-size: 0.875rem;
	font-weight: 800;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ezv2-result-chart-card__body {
	flex: 1 1 auto;
	padding: 0.875rem 1rem;
}

.ezv2-result-chart-card__body p {
	color: #3f3f46;
	font-size: 0.875rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.ezv2-result-chart-card__body ul {
	margin-top: 0.625rem;
	display: grid;
	gap: 0.375rem;
	color: #52525b;
	font-size: 0.75rem;
	line-height: 1.35;
}

.ezv2-result-chart-card__body li {
	position: relative;
	padding-left: 0.75rem;
	overflow-wrap: anywhere;
}

.ezv2-result-chart-card__body li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.48rem;
	width: 0.25rem;
	height: 0.25rem;
	background: var(--ezv2-blue);
}

.ezv2-result-chart-card__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.5rem;
	border-top: 1px solid #e4e4e7;
	padding: 0.75rem 1rem;
}

.ezv2-technical-chart-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 34rem), 1fr));
	gap: 1rem;
}

.ezv2-technical-chart-grid--1 {
	grid-template-columns: minmax(0, 1fr);
}

.ezv2-technical-chart-grid--1 .ezv2-technical-chart-card__chart {
	height: 34rem;
}

.ezv2-technical-workspace-fields {
	display: grid;
	grid-template-columns: minmax(10.625rem, 1fr) minmax(11.875rem, 1fr) minmax(11.875rem, 1fr);
	gap: 1rem;
	align-items: end;
}

.ezv2-technical-workspace-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	border-top: 1px solid #e4e4e7;
	padding-top: 1rem;
}

.ezv2-technical-workspace-actions > button[type="submit"] {
	margin-left: auto;
}

.ezv2-technical-chart-grid--2 .ezv2-technical-chart-card__chart {
	height: 26rem;
}

.ezv2-technical-chart-card__header {
	grid-template-columns: minmax(0, 1fr) minmax(6rem, auto);
}

.ezv2-technical-chart-card__controls {
	border-bottom: 1px solid #e4e4e7;
	padding: 0.875rem 1rem;
}

.ezv2-technical-chart-card__control-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(8rem, 12rem) auto;
	gap: 0.75rem;
	align-items: end;
}

.ezv2-technical-indicator-input {
	display: block;
	width: 100%;
	min-height: 3.75rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #18181b;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 0.8125rem;
	line-height: 1.45;
	outline: none;
	resize: vertical;
}

.ezv2-technical-indicator-input:focus {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
}

.ezv2-technical-indicator-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
}

.ezv2-technical-indicator-picker {
	position: relative;
	flex: 0 1 11rem;
	min-width: 7.5rem;
}

.ezv2-technical-indicator-search {
	display: block;
	width: 100%;
	height: 1.875rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	padding: 0 0.5rem;
	color: #18181b;
	font-size: 0.75rem;
	line-height: 1;
	outline: none;
}

.ezv2-technical-indicator-search:focus {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
}

.ezv2-technical-indicator-suggestions {
	position: absolute;
	top: calc(100% + 0.25rem);
	left: 0;
	right: 0;
	z-index: 30;
	max-height: 13rem;
	overflow-y: auto;
	border: 1px solid #a1a1aa;
	background: #fff;
	box-shadow: 0 6px 14px rgb(24 24 27 / 0.12);
}

.ezv2-technical-indicator-suggestions.hidden {
	display: none;
}

.ezv2-technical-indicator-suggestion {
	display: grid;
	gap: 0.125rem;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #e4e4e7;
	background: #fff;
	padding: 0.5rem 0.625rem;
	color: #18181b;
	text-align: left;
}

.ezv2-technical-indicator-suggestion:last-child {
	border-bottom: 0;
}

.ezv2-technical-indicator-suggestion:hover,
.ezv2-technical-indicator-suggestion.is-active {
	background: #eff6ff;
}

.ezv2-technical-indicator-suggestion strong {
	font-size: 0.75rem;
	font-weight: 800;
}

.ezv2-technical-indicator-suggestion span {
	overflow: hidden;
	color: #71717a;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 0.6875rem;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ezv2-technical-indicator-feedback {
	display: none;
	margin-top: 0.375rem;
	color: #be123c;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.35;
}

.ezv2-technical-indicator-feedback.is-visible {
	display: block;
}

.ezv2-technical-indicator-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 7.5rem;
	gap: 0.75rem;
	align-items: end;
}

.ezv2-technical-indicator-actions {
	position: relative;
	display: flex;
	align-self: start;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 2.3125rem;
}

.ezv2-technical-indicator-actions .ezv2-btn {
	width: 100%;
}

.ezv2-technical-action-status {
	display: block;
	width: 100%;
	min-height: 1rem;
	color: #71717a;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1rem;
	text-align: right;
}

.ezv2-technical-action-status:empty {
	visibility: hidden;
}

.ezv2-technical-action-status.is-error {
	color: #be123c;
}

.ezv2-technical-chart-card__chart {
	height: 22rem;
}

html.dark .ezv2-technical-indicator-feedback,
html.dark .ezv2-technical-action-status.is-error {
	color: #fda4af;
}

html.dark .ezv2-technical-indicator-suggestions {
	border-color: #52525b;
	background: #18181b;
	box-shadow: 0 6px 14px rgb(0 0 0 / 0.32);
}

html.dark .ezv2-technical-indicator-suggestion {
	border-bottom-color: #3f3f46;
	background: #18181b;
	color: #f4f4f5;
}

html.dark .ezv2-technical-indicator-suggestion:hover,
html.dark .ezv2-technical-indicator-suggestion.is-active {
	background: #1e3a5f;
}

html.dark .ezv2-technical-indicator-suggestion span {
	color: #a1a1aa;
}

html.dark .ezv2-technical-indicator-search {
	border-color: #52525b;
	background: #18181b;
	color: #f4f4f5;
}

.ezv2-technical-chart-card.has-sub-indicator-panels .ezv2-technical-chart-card__chart {
	height: calc(21rem + var(--ezv2-sub-indicator-height, 7rem));
}

@media (min-width: 1100px) {
	.ezv2-technical-chart-grid--2,
	.ezv2-technical-chart-grid--4,
	.ezv2-technical-chart-grid--6,
	.ezv2-technical-chart-grid--8 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1500px) {
	.ezv2-technical-chart-grid--6,
	.ezv2-technical-chart-grid--8 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.ezv2-technical-workspace-fields {
		grid-template-columns: minmax(0, 1fr);
	}
	.ezv2-technical-workspace-actions {
		flex-wrap: wrap;
	}
	.ezv2-technical-workspace-actions > button[type="submit"] {
		margin-left: 0;
	}
	.ezv2-technical-chart-card__control-row {
		grid-template-columns: minmax(0, 1fr);
	}
	.ezv2-technical-indicator-row {
		grid-template-columns: minmax(0, 1fr);
	}
	.ezv2-technical-indicator-picker {
		flex-basis: 10rem;
	}
	.ezv2-technical-indicator-actions {
		align-self: stretch;
		flex-direction: row;
		flex-wrap: wrap;
		margin-top: 0;
	}
	.ezv2-technical-indicator-actions .ezv2-btn {
		flex: 1 1 0;
	}
	.ezv2-technical-action-status {
		flex-basis: 100%;
		text-align: left;
	}
	.ezv2-technical-chart-grid--1 .ezv2-technical-chart-card__chart,
	.ezv2-technical-chart-grid--2 .ezv2-technical-chart-card__chart,
	.ezv2-technical-chart-card__chart {
		height: 20rem;
	}
}

.ezv2-symbol-cell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 4.75rem;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.ezv2-symbol-cell--compact {
	grid-template-columns: minmax(0, 1fr) 4.25rem;
	gap: 0.5rem;
}

.ezv2-symbol-main {
	min-width: 0;
}

.ezv2-symbol-main a,
.ezv2-symbol-main span {
	min-width: 0;
}

.ezv2-symbol-sparkline {
	position: relative;
	display: block;
	width: 4.75rem;
	height: 2.125rem;
	padding: 0;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: inherit;
	overflow: hidden;
	flex: none;
	outline: none;
	cursor: pointer;
}

.ezv2-symbol-cell--compact .ezv2-symbol-sparkline {
	width: 4.25rem;
	height: 1.875rem;
}

.ezv2-symbol-sparkline:hover,
.ezv2-symbol-sparkline:focus-visible {
	border-color: var(--ezv2-blue);
	box-shadow: inset 0 0 0 1px var(--ezv2-blue);
	cursor: pointer !important;
}

.ezv2-symbol-sparkline-chart {
	display: block;
	width: 100%;
	height: 100%;
}

.ezv2-symbol-sparkline[data-chart-state="loading"]::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #fff 0%, #f4f4f5 45%, #fff 90%);
	background-size: 220% 100%;
	animation: ezv2-search-loading 1.1s ease-in-out infinite;
}

.ezv2-symbol-sparkline[data-chart-state="empty"]::before {
	content: "";
	position: absolute;
	left: 0.625rem;
	right: 0.625rem;
	top: 50%;
	border-top: 1px solid #d4d4d8;
}

.ezv2-chart-overlay-open {
	overflow: hidden;
}

.ezv2-chart-overlay.hidden {
	display: none;
}

.ezv2-chart-overlay {
	position: fixed;
	inset: 0;
	z-index: 90;
}

.ezv2-chart-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(24, 24, 27, 0.56);
}

.ezv2-chart-overlay__panel {
	position: absolute;
	inset: 2rem;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	border: 1px solid #18181b;
	background: #fff;
}

.ezv2-chart-overlay__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 1px solid #e4e4e7;
	padding: 0.875rem 1rem;
}

.ezv2-chart-overlay__eyebrow {
	margin: 0;
	color: #71717a;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ezv2-chart-overlay__title {
	margin: 0.125rem 0 0;
	color: #18181b;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}

.ezv2-chart-overlay__actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
}

.ezv2-chart-overlay__review {
	display: inline-flex;
	align-items: center;
	height: 2rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	padding: 0 0.75rem;
	color: #18181b;
	font-size: 0.75rem;
	font-weight: 700;
}

.ezv2-chart-overlay__review:hover {
	background: #f4f4f5;
}

.ezv2-chart-overlay__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border: 1px solid #d4d4d8;
	background: #fff;
	color: #18181b;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.ezv2-chart-overlay__close:hover,
.ezv2-chart-overlay__close:focus-visible {
	border-color: #18181b;
	outline: none;
}

.ezv2-chart-overlay__status {
	border-bottom: 1px solid #e4e4e7;
	background: #f8fafc;
	padding: 0.75rem 1rem;
	color: #52525b;
	font-size: 0.875rem;
	font-weight: 600;
}

.ezv2-chart-overlay__status.is-error {
	background: #fff1f2;
	color: #be123c;
}

.ezv2-chart-overlay__status.hidden {
	display: none;
}

.ezv2-chart-overlay__chart {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}

@media (max-width: 720px) {
	.ezv2-body main {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.ezv2-body main .overflow-x-auto {
		overflow-x: visible;
	}

	.ezv2-body main table {
		display: block;
		width: 100%;
		min-width: 0 !important;
		table-layout: auto !important;
	}

	.ezv2-body main table colgroup,
	.ezv2-body main table thead {
		display: none;
	}

	.ezv2-body main table tbody {
		display: block;
		width: 100%;
	}

	.ezv2-body main table tbody tr {
		display: block;
		width: 100%;
		border-bottom: 1px solid var(--ezv2-line);
		background: var(--ezv2-surface);
	}

	.ezv2-body main table tbody tr:last-child {
		border-bottom: 0;
	}

	.ezv2-body main table tbody td {
		display: grid !important;
		grid-template-columns: minmax(6.75rem, 34%) minmax(0, 1fr);
		align-items: start;
		gap: 0.75rem;
		min-width: 0 !important;
		width: 100%;
		padding: 0.75rem 1rem !important;
		border: 0 !important;
		text-align: left !important;
		white-space: normal !important;
		overflow-wrap: anywhere;
	}

	.ezv2-body main table tbody td::before {
		content: attr(data-label);
		color: #71717a;
		font-size: 0.6875rem;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1.2;
		text-transform: uppercase;
	}

	.ezv2-body main table tbody td:not([data-label])::before,
	.ezv2-body main table tbody td[colspan]::before {
		display: none;
	}

	.ezv2-body main table tbody td[colspan] {
		display: block !important;
	}

	.ezv2-body main table tbody td > * {
		min-width: 0;
		max-width: 100%;
	}

	.ezv2-body main table .ezv2-results-nowrap,
	.ezv2-body main table .whitespace-nowrap {
		white-space: normal !important;
	}

	.ezv2-body main table .ezv2-btn,
	.ezv2-body main table a[class*="border-zinc-300"],
	.ezv2-body main table button[class*="border-zinc-300"],
	.ezv2-body main table a[class*="bg-blue-600"],
	.ezv2-body main table button[class*="bg-blue-600"] {
		width: max-content;
		max-width: 100%;
	}

	.ezv2-symbol-cell {
		grid-template-columns: minmax(0, 1fr) 4.75rem;
		gap: 0.5rem;
	}
	.ezv2-symbol-sparkline {
		width: 4.75rem;
		height: 2.125rem;
	}
	.ezv2-watchlist-symbol-table .ezv2-symbol-sparkline {
		width: 4.25rem;
		height: 1.875rem;
	}
	.ezv2-watchlist-symbol-name {
		font-size: 0.75rem;
		line-height: 1.3;
	}
	.ezv2-result-chart-grid {
		grid-template-columns: 1fr;
		padding: 0.75rem;
	}
	.ezv2-result-chart-card__header {
		grid-template-columns: minmax(0, 1fr);
	}
	.ezv2-result-chart-card__price {
		align-items: flex-start;
		text-align: left;
	}
	.ezv2-result-chart-card__chart {
		height: 17rem;
	}
	.ezv2-result-chart-card__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ezv2-result-chart-card__stats div:nth-child(2n) {
		border-right: 0;
	}
	.ezv2-chart-overlay__panel {
		inset: 0.75rem;
	}
	.ezv2-chart-overlay__header {
		align-items: flex-start;
		flex-direction: column;
	}
	.ezv2-chart-overlay__actions {
		width: 100%;
		justify-content: space-between;
	}
}

/* -------------------------------------------------------------------------
   Dark mode
   ------------------------------------------------------------------------- */
html.dark,
html.dark body,
html.dark .ezv2-body {
	background: var(--ezv2-page);
	color: #e4e4e7;
}

[data-ez-theme-icon="dark"] {
	display: none;
}
html.dark [data-ez-theme-icon="light"] {
	display: none;
}
html.dark [data-ez-theme-icon="dark"] {
	display: block;
}

html.dark .ezv2-body .bg-white {
	background-color: var(--ezv2-surface);
}
html.dark .ezv2-body .bg-zinc-50,
html.dark .ezv2-body .bg-zinc-100 {
	background-color: var(--ezv2-inset);
}
html.dark .ezv2-body .bg-blue-50 {
	background-color: rgba(37, 99, 235, 0.18);
}
html.dark .ezv2-body .border-zinc-100,
html.dark .ezv2-body .border-zinc-200,
html.dark .ezv2-body .border-zinc-300 {
	border-color: var(--ezv2-line);
}
html.dark .ezv2-body :where(.divide-zinc-100, .divide-zinc-200, .divide-zinc-300) > :not(:last-child),
html.dark .ezv2-body :where(.divide-zinc-100, .divide-zinc-200, .divide-zinc-300) > :not([hidden]) ~ :not([hidden]) {
	border-color: var(--ezv2-line) !important;
}
html.dark .ezv2-body :where(table, thead, tbody, tfoot, tr, th, td) {
	border-color: var(--ezv2-line) !important;
}
html.dark .ezv2-body .text-zinc-950,
html.dark .ezv2-body .text-zinc-900,
html.dark .ezv2-body .text-zinc-800 {
	color: #f4f4f5;
}
html.dark .ezv2-body .text-zinc-700,
html.dark .ezv2-body .text-zinc-600 {
	color: #d4d4d8;
}
html.dark .ezv2-body .text-zinc-500,
html.dark .ezv2-body .text-zinc-400 {
	color: #a1a1aa;
}
html.dark .ezv2-body .text-blue-700,
html.dark .ezv2-body .text-blue-600 {
	color: #60a5fa;
}
html.dark .ezv2-body .hover\:bg-zinc-50:hover,
html.dark .ezv2-body .hover\:bg-zinc-100:hover {
	background-color: #27272a;
}
html.dark .ezv2-body .hover\:text-blue-700:hover {
	color: #93c5fd;
}
html.dark .ezv2-body .focus\:bg-white:focus {
	background-color: #18181b;
}

html.dark .ezv2-body input,
html.dark .ezv2-body textarea,
html.dark .ezv2-body select,
html.dark .ezv2-input {
	background-color: #18181b;
	border-color: var(--ezv2-line);
	color: #f4f4f5;
}
html.dark .ezv2-body input::placeholder,
html.dark .ezv2-body textarea::placeholder {
	color: #71717a;
}
html.dark .ezv2-ai-credit-meter,
html.dark .ezv2-modal-close {
	background: #18181b;
	border-color: var(--ezv2-line);
	color: #d4d4d8;
}
html.dark .ezv2-ai-credit-meter strong {
	color: #f4f4f5;
}
html.dark .ezv2-modal-close:hover,
html.dark .ezv2-modal-close:focus-visible {
	background: #27272a;
	color: #f4f4f5;
}
html.dark .ezv2-tradesviz-note-modal__title {
	color: #f4f4f5;
}
html.dark .ezv2-tradesviz-note-modal__body {
	color: #d4d4d8;
}
html.dark .ezv2-tradesviz-note-modal.is-success {
	border-color: #047857;
}
html.dark .ezv2-tradesviz-note-modal.is-error {
	border-color: #be123c;
}
html.dark select.ezv2-input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a1a1aa'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 0 1 1.06.02L10 11.19l3.71-3.96a.75.75 0 1 1 1.08 1.04l-4.25 4.5a.75.75 0 0 1-1.08 0l-4.25-4.5a.75.75 0 0 1 .02-1.06Z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

html.dark .ezv2-card,
html.dark .ezv2-modal-panel,
html.dark .ezv2-chart-control-grid,
html.dark .ezv2-global-search-panel,
html.dark .ezv2-pulse-choice-panel,
html.dark .ezv2-bt-choice-panel,
html.dark .ezv2-result-chart-card,
html.dark .ezv2-chart-overlay__panel {
	background: var(--ezv2-surface);
	border-color: var(--ezv2-line);
	color: #e4e4e7;
}
html.dark .ezv2-inset,
html.dark .ezv2-chip,
html.dark .ezv2-tag,
html.dark .ezv2-global-search-heading,
html.dark .ezv2-symbol-sparkline,
html.dark .ezv2-results-chart-options span,
html.dark .ezv2-results-view-toggle,
html.dark .ezv2-result-chart-grid,
html.dark .ezv2-result-chart-card__chart,
html.dark .ezv2-technical-indicator-input,
html.dark .ezv2-chart-overlay__status {
	background: var(--ezv2-inset);
	color: #d4d4d8;
}
html.dark .ezv2-chip,
html.dark .ezv2-tag {
	background: #22232a;
	color: #cbd5e1;
}
html.dark .ezv2-global-search-panel {
	background: #14151a;
	border-color: var(--ezv2-line);
	box-shadow: 0 12px 30px -12px rgb(0 0 0 / 0.72);
}
html.dark .ezv2-global-search-heading {
	background: #202127;
	border-bottom-color: var(--ezv2-line);
	color: #a1a1aa;
}
html.dark .ezv2-global-search-heading strong {
	color: #f4f4f5;
}
html.dark .ezv2-global-search-section {
	border-top-color: var(--ezv2-line);
}
html.dark .ezv2-global-search-section-heading {
	background: #202127;
	color: #cbd5e1;
}
html.dark .ezv2-global-search-section-heading span:last-child {
	color: #a1a1aa;
}
html.dark .ezv2-global-search-option {
	background: #14151a;
	border-top-color: var(--ezv2-line-soft);
	color: #e4e4e7;
}
html.dark .ezv2-global-search-option:hover,
html.dark .ezv2-global-search-option.is-active {
	background: #202127;
}
html.dark .ezv2-global-search-label {
	color: #f4f4f5;
}
html.dark .ezv2-global-search-action,
html.dark .ezv2-global-search-option .ezv2-combo-expr {
	color: #a1a1aa;
}
html.dark .ezv2-global-search-empty {
	background: #14151a;
	color: #a1a1aa;
}
html.dark .ezv2-global-search-loading {
	background: linear-gradient(90deg, #14151a 0%, #202127 45%, #14151a 90%);
	background-size: 220% 100%;
	color: #a1a1aa;
}
html.dark .ezv2-cat {
	background: #202127 !important;
	color: #d4d4d8 !important;
}
html.dark .ezv2-cat--momentum {
	background: rgba(37, 99, 235, 0.18) !important;
	color: #93c5fd !important;
}
html.dark .ezv2-cat--pullback,
html.dark .ezv2-cat--pullbacks,
html.dark .ezv2-cat--value,
html.dark .ezv2-cat--valuation {
	background: rgba(180, 83, 9, 0.16) !important;
	color: #fbbf24 !important;
}
html.dark .ezv2-cat--quality,
html.dark .ezv2-cat--tradesviz {
	background: rgba(124, 58, 237, 0.18) !important;
	color: #c4b5fd !important;
}
html.dark .ezv2-cat--growth {
	background: rgba(8, 145, 178, 0.18) !important;
	color: #67e8f9 !important;
}
html.dark .ezv2-cat--profitability,
html.dark .ezv2-cat--cashflow,
html.dark .ezv2-cat--dividend {
	background: rgba(5, 150, 105, 0.16) !important;
	color: #6ee7b7 !important;
}
html.dark .ezv2-cat--balance-sheet,
html.dark .ezv2-cat--all {
	background: #25262d !important;
	color: #cbd5e1 !important;
}
html.dark .ezv2-cat--risk {
	background: rgba(190, 18, 60, 0.18) !important;
	color: #fb7185 !important;
}
html.dark .ezv2-badge--beginner {
	background: #25262d;
	color: #d4d4d8;
}
html.dark .ezv2-badge--intermediate {
	background: rgba(180, 83, 9, 0.16);
	color: #fbbf24;
}
html.dark .ezv2-badge--advanced {
	background: rgba(190, 18, 60, 0.18);
	color: #fb7185;
}
html.dark .ezv2-divide-y > * + *,
html.dark .ezv2-divide-x > * + *,
html.dark .ezv2-global-search-section,
html.dark .ezv2-cond-row,
html.dark .ezv2-conn-btn,
html.dark .ezv2-seg,
html.dark .ezv2-toggle-line,
html.dark .ezv2-help,
html.dark .ezv2-bt-choice-toggle,
html.dark .ezv2-pulse-choice-toggle,
html.dark .ezv2-results-view-toggle,
html.dark .ezv2-results-view-toggle a,
html.dark .ezv2-results-chart-options span,
html.dark .ezv2-result-chart-card__header,
html.dark .ezv2-result-chart-card__chart,
html.dark .ezv2-result-chart-card__stats,
html.dark .ezv2-result-chart-card__stats div,
html.dark .ezv2-result-chart-card__actions,
html.dark .ezv2-technical-chart-card__controls,
html.dark .ezv2-technical-indicator-input,
html.dark .ezv2-chart-overlay__header,
html.dark .ezv2-chart-overlay__status,
html.dark .ezv2-chart-overlay__review,
html.dark .ezv2-chart-overlay__close {
	border-color: var(--ezv2-line);
}

html.dark .ezv2-technical-action-status {
	color: #a1a1aa;
}

html.dark .ezv2-technical-action-status.is-error {
	color: #fca5a5;
}

html.dark .ezv2-btn--secondary,
html.dark .ezv2-body a[href][class*="border-zinc-300"][class*="font-semibold"],
html.dark .ezv2-body button[class*="border-zinc-300"][class*="font-semibold"],
html.dark .ezv2-chart-overlay__review,
html.dark .ezv2-chart-overlay__close {
	background: #18181b;
	border-color: var(--ezv2-line);
	color: #f4f4f5;
}
html.dark .ezv2-btn--secondary:hover,
html.dark .ezv2-body a[href][class*="border-zinc-300"][class*="font-semibold"]:hover,
html.dark .ezv2-body button[class*="border-zinc-300"][class*="font-semibold"]:hover,
html.dark .ezv2-chart-overlay__review:hover {
	background: #27272a;
}
html.dark .ezv2-btn--ghost {
	color: #93c5fd;
}
html.dark .ezv2-btn--ghost:hover {
	color: #bfdbfe;
}

html.dark .ezv2-results-view-toggle a {
	color: #d4d4d8;
}
html.dark .ezv2-toggle-line,
html.dark .ezv2-cond-label,
html.dark .ezv2-results-chart-options span {
	color: #d4d4d8;
}
html.dark .ezv2-results-view-toggle a:hover {
	background: #27272a;
	color: #f4f4f5;
}
html.dark .ezv2-results-view-toggle a.is-active {
	background: #f4f4f5;
	color: #18181b;
}
html.dark .ezv2-result-chart-card__symbol,
html.dark .ezv2-result-chart-card__price,
html.dark .ezv2-result-chart-card__stats strong {
	color: #f4f4f5;
}
html.dark .ezv2-result-chart-card__company,
html.dark .ezv2-result-chart-card__stats span,
html.dark .ezv2-result-chart-card__legend,
html.dark .ezv2-result-chart-card__body ul {
	color: #a1a1aa;
}
html.dark .ezv2-result-chart-card__legend-toggle:hover,
html.dark .ezv2-result-chart-card__legend-toggle:focus-visible {
	color: #f4f4f5;
}
html.dark .ezv2-result-chart-card__legend-toggle.is-off {
	color: #71717a;
}
html.dark .ezv2-result-chart-card__body p {
	color: #d4d4d8;
}
html.dark .ezv2-result-chart-card__status {
	background: linear-gradient(90deg, #18181b 0%, #27272a 45%, #18181b 90%);
	background-size: 220% 100%;
	color: #d4d4d8;
}
html.dark .ezv2-result-chart-card__status.is-error {
	background: rgba(190, 18, 60, 0.18);
	color: #fb7185;
}

html.dark .ezv2-sidebar-toggle {
	background: transparent;
	color: #71717a;
}
html.dark .ezv2-sidebar-toggle:hover,
html.dark .ezv2-sidebar-toggle[aria-pressed="true"] {
	color: #a1a1aa;
}
html.dark .ezv2-mobile-sidebar-toggle {
	color: #a1a1aa;
}
html.dark .ezv2-mobile-sidebar-toggle:hover,
html.dark .ezv2-mobile-sidebar-toggle[aria-expanded="true"] {
	background: #27272a;
	color: #f4f4f5;
}
html.dark .ezv2-body main table tbody td::before {
	color: #a1a1aa;
}

html.dark .ezv2-profile-trigger {
	color: #d4d4d8;
}
html.dark .ezv2-profile-trigger:hover,
html.dark .ezv2-profile-trigger[aria-expanded="true"] {
	background: #27272a;
	color: #f4f4f5;
}
html.dark .ezv2-profile-menu {
	border-color: #3f3f46;
	background: #18181b;
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}
html.dark .ezv2-profile-menu-divider {
	border-top-color: #3f3f46;
}
html.dark .ezv2-profile-menu-item {
	color: #d4d4d8;
}
html.dark .ezv2-profile-menu-item:hover,
html.dark .ezv2-profile-menu-item:focus {
	background: rgba(37, 99, 235, 0.18);
	color: #93c5fd;
}

html.dark .ezv2-nav {
	color: #d4d4d8;
}
html.dark .ezv2-nav:hover {
	background: #27272a;
	color: #f4f4f5;
}
html.dark .ezv2-nav .ezv2-nav-icon {
	color: #71717a;
}
html.dark .ezv2-nav.is-active {
	background: rgba(37, 99, 235, 0.18);
	color: #93c5fd;
}
html.dark .ezv2-nav.is-active .ezv2-nav-icon {
	color: #60a5fa;
}

html.dark .ezv2-btn--locked,
html.dark .ezv2-locked-note,
html.dark .ezv2-limit-note {
	background: #202127;
	border-color: var(--ezv2-line-soft);
	color: #d4d4d8;
}
html.dark .ezv2-pro-badge {
	border-color: #f4f4f5;
	background: #f4f4f5;
	color: #09090b;
}
html.dark .ezv2-pro-badge--soft {
	border-color: #b45309;
	background: rgba(245, 158, 11, 0.16);
	color: #fbbf24;
}
html.dark .ezv2-combo-item.is-pro-locked {
	background: #14151a;
	color: #a1a1aa;
}
html.dark .ezv2-combo-item.is-pro-locked:hover {
	background: rgba(245, 158, 11, 0.12);
}

html.dark .ezv2-cond-row,
html.dark .ezv2-conn-btn,
html.dark .ezv2-seg button,
html.dark .ezv2-help,
html.dark .ezv2-bt-choice-toggle,
html.dark .ezv2-pulse-choice-toggle,
html.dark .ezv2-bt-choice-item,
html.dark .ezv2-pulse-choice-item {
	background: #18181b;
	color: #e4e4e7;
}
html.dark .ezv2-seg {
	border-color: var(--ezv2-line-soft);
}
html.dark .ezv2-seg button + button {
	border-left-color: var(--ezv2-line-soft);
}
html.dark .ezv2-bt-choice-item:hover,
html.dark .ezv2-pulse-choice-item:hover,
html.dark .ezv2-seg button.is-active {
	background: #27272a;
}
html.dark .ezv2-reference-code,
html.dark .ezv2-body code {
	background: #111217 !important;
	border-color: var(--ezv2-line) !important;
	color: #d4d4d8 !important;
}
html.dark .ezv2-conn-btn[data-conn="OR"] {
	background: rgba(180, 83, 9, 0.18);
	border-color: #b45309;
	color: #fbbf24;
}
html.dark .ezv2-grip,
html.dark .ezv2-cond-remove,
html.dark .ezv2-global-search-empty,
html.dark .ezv2-global-search-loading,
html.dark .ezv2-combo-expr,
html.dark .ezv2-chart-overlay__eyebrow {
	color: #a1a1aa;
}
html.dark .ezv2-cond-remove:hover {
	color: #fb7185;
}
html.dark .ezv2-result-row:hover td,
html.dark .ezv2-result-row:focus-visible td {
	background: #27272a;
}
html.dark .ezv2-result-row.is-selected td,
html.dark .ezv2-result-row.is-selected:hover td,
html.dark .ezv2-result-row.is-selected:focus-visible td {
	background: rgba(37, 99, 235, 0.18);
}
html.dark .ezv2-watchlist-main-column :where(a[href][class*="bg-blue-600"][class*="font-semibold"], button[class*="bg-blue-600"][class*="font-semibold"]),
html.dark aside[aria-label="Selected watchlist detail"] :where(a[href][class*="bg-blue-600"][class*="font-semibold"], button[class*="bg-blue-600"][class*="font-semibold"]) {
	background: rgba(37, 99, 235, 0.24);
	border-color: rgba(96, 165, 250, 0.32);
	color: #bfdbfe;
}
html.dark .ezv2-watchlist-main-column :where(a[href][class*="bg-blue-600"][class*="font-semibold"], button[class*="bg-blue-600"][class*="font-semibold"]):hover,
html.dark aside[aria-label="Selected watchlist detail"] :where(a[href][class*="bg-blue-600"][class*="font-semibold"], button[class*="bg-blue-600"][class*="font-semibold"]):hover {
	background: rgba(37, 99, 235, 0.34);
	color: #dbeafe;
}
html.dark .ezv2-watchlist-main-column :where(a[href][class*="border-zinc-300"][class*="font-semibold"], button[class*="border-zinc-300"][class*="font-semibold"]),
html.dark aside[aria-label="Selected watchlist detail"] :where(a[href][class*="border-zinc-300"][class*="font-semibold"], button[class*="border-zinc-300"][class*="font-semibold"]) {
	background: #202127;
	border-color: var(--ezv2-line-soft);
	color: #d4d4d8;
}
html.dark .ezv2-watchlist-main-column :where(a[href][class*="border-zinc-300"][class*="font-semibold"], button[class*="border-zinc-300"][class*="font-semibold"]):hover,
html.dark aside[aria-label="Selected watchlist detail"] :where(a[href][class*="border-zinc-300"][class*="font-semibold"], button[class*="border-zinc-300"][class*="font-semibold"]):hover {
	background: #282930;
	border-color: #3a3b44;
	color: #f4f4f5;
}
html.dark .ezv2-watchlist-main-column :where(span[class*="bg-blue-50"][class*="text-blue-700"], span[class*="bg-blue-50"][class*="text-blue-900"]),
html.dark aside[aria-label="Selected watchlist detail"] :where(span[class*="bg-blue-50"][class*="text-blue-700"], span[class*="bg-blue-50"][class*="text-blue-900"]) {
	background: rgba(37, 99, 235, 0.18);
	border-color: rgba(96, 165, 250, 0.32);
	color: #93c5fd;
}
html.dark .ezv2-watchlist-main-column :where(span[class*="bg-zinc-100"][class*="font-semibold"], span[class*="bg-zinc-50"][class*="font-semibold"]),
html.dark aside[aria-label="Selected watchlist detail"] :where(span[class*="bg-zinc-100"][class*="font-semibold"], span[class*="bg-zinc-50"][class*="font-semibold"]) {
	background: #22232a;
	border-color: var(--ezv2-line-soft);
	color: #cbd5e1;
}
html.dark .ezv2-analysis-pill {
	background: #202127;
	border-color: var(--ezv2-line-soft);
	color: #d4d4d8;
}
html.dark .ezv2-analysis-pill__icon {
	background: rgba(255, 255, 255, 0.035);
	border-left-color: var(--ezv2-analysis-border, var(--ezv2-line-soft));
}
html.dark .ezv2-analysis-pill--done {
	--ezv2-analysis-border: rgba(16, 185, 129, 0.34);
	background: rgba(16, 185, 129, 0.13);
	border-color: var(--ezv2-analysis-border);
	color: #6ee7b7;
}
html.dark .ezv2-analysis-pill--needed {
	--ezv2-analysis-border: rgba(245, 158, 11, 0.36);
	background: rgba(245, 158, 11, 0.13);
	border-color: var(--ezv2-analysis-border);
	color: #fbbf24;
}
html.dark .ezv2-analysis-pill[aria-disabled="true"] {
	--ezv2-analysis-border: var(--ezv2-line-soft);
	background: #202127;
	border-color: var(--ezv2-line-soft);
	color: #8b8f9c;
}
html.dark .ezv2-analysis-pill:hover,
html.dark .ezv2-analysis-pill:focus-visible {
	filter: brightness(1.08);
}
html.dark .ezv2-analysis-note {
	color: #8792a8;
}
html.dark .ezv2-symbol-sparkline:hover,
html.dark .ezv2-symbol-sparkline:focus-visible {
	border-color: #60a5fa;
	background: #18181b;
}
html.dark .ezv2-symbol-sparkline {
	border-color: var(--ezv2-line-soft);
	background: #14151a;
}
html.dark .ezv2-symbol-sparkline[data-chart-state="loading"]::before {
	background: linear-gradient(90deg, #14151a 0%, #202127 45%, #14151a 90%);
}
html.dark .ezv2-symbol-sparkline[data-chart-state="empty"]::before {
	border-top-color: var(--ezv2-line);
}
html.dark .ezv2-chart-overlay__backdrop {
	background: rgba(0, 0, 0, 0.72);
}

/* Fundamental Analysis workspace */
.ezv2-research-control-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.875rem;
	align-items: end;
}

.ezv2-research-action-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ezv2-line);
}

.ezv2-research-quick-grid {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
}

.ezv2-research-chart-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin-top: 1.5rem;
}

.ezv2-research-chart-grid--1 .ezv2-research-chart-card__canvas-wrap {
	height: 34rem;
}

.ezv2-research-chart-grid--2 .ezv2-research-chart-card__canvas-wrap {
	height: 27rem;
}

.ezv2-research-chart-card[hidden] {
	display: none !important;
}

.ezv2-research-chart-card__header {
	grid-template-columns: minmax(0, 1fr) auto;
}

.ezv2-research-chart-card__title {
	display: block;
	overflow: hidden;
	color: #18181b;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ezv2-research-chart-card__controls {
	display: grid;
	grid-template-columns: minmax(9rem, 0.8fr) minmax(12rem, 1.2fr);
	gap: 0.875rem;
}

.ezv2-research-metric-control,
.ezv2-research-chart-card__mini-controls {
	grid-column: 1 / -1;
}

.ezv2-research-chart-card__mini-controls {
	display: grid;
	grid-template-columns: minmax(10rem, 14rem) auto auto;
	gap: 0.875rem;
	align-items: end;
}

.ezv2-research-chart-card__mini-controls .ezv2-toggle-line {
	min-height: 2.5rem;
	margin-top: 0;
}

.ezv2-research-chart-card__canvas-wrap {
	height: 24.5rem;
}

.ezv2-research-chart-canvas {
	width: 100%;
	height: 100%;
}

.ezv2-symbol-search {
	position: relative;
	display: block;
}

.ezv2-symbol-search__suggestions {
	position: absolute;
	top: calc(100% + 0.25rem);
	left: 0;
	z-index: 40;
	width: min(30rem, calc(100vw - 3rem));
	max-height: 17rem;
	overflow-y: auto;
	border: 1px solid #d4d4d8;
	background: #fff;
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.ezv2-symbol-search__suggestions.hidden {
	display: none;
}

.ezv2-symbol-search__option {
	display: grid;
	width: 100%;
	grid-template-columns: minmax(5.5rem, 0.7fr) minmax(0, 1.4fr) minmax(3.5rem, auto);
	gap: 0.75rem;
	border: 0;
	border-bottom: 1px solid #f4f4f5;
	background: transparent;
	padding: 0.65rem 0.75rem;
	color: #18181b;
	text-align: left;
	cursor: pointer;
}

.ezv2-symbol-search__option:hover,
.ezv2-symbol-search__option.is-active {
	background: #eff6ff;
}

.ezv2-symbol-search__symbol {
	font-weight: 800;
}

.ezv2-symbol-search__name,
.ezv2-symbol-search__market,
.ezv2-research-metrics-summary {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ezv2-symbol-search__name,
.ezv2-symbol-search__market {
	color: #71717a;
}

.ezv2-research-metrics-summary {
	color: var(--ezv2-blue);
	font-size: 0.75rem;
	font-weight: 800;
	text-align: right;
}

.ezv2-research-metric-search {
	position: sticky;
	top: 0;
	z-index: 1;
	grid-column: 1 / -1;
	width: min(100%, 15rem);
	background: #fff;
}

.ezv2-research-metric-search .ezv2-input {
	height: 2.125rem;
	padding-right: 2.25rem;
	font-size: 0.8125rem;
}

.ezv2-research-metric-search__clear {
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.625rem;
	height: 1.625rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: #52525b;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.ezv2-research-metric-search__clear:hover {
	background: #f4f4f5;
	color: #18181b;
}

.ezv2-research-metric-search__clear[hidden],
.ezv2-research-metric-search__empty[hidden] {
	display: none;
}

.ezv2-research-metric-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.ezv2-research-metric-search__empty {
	grid-column: 1 / -1;
	margin: 0.5rem 0 0;
	color: #71717a;
	font-size: 0.75rem;
	font-weight: 600;
}

.ezv2-research-metric-picker {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.625rem 1rem;
	align-content: start;
	max-height: 10rem;
	overflow-y: auto;
	border: 1px solid #d4d4d8;
	background: #fff;
	padding: 0.75rem;
}

.ezv2-research-metric-group {
	min-width: 0;
}

.ezv2-research-metric-group__label {
	margin-bottom: 0.35rem;
	color: #52525b;
	font-size: 0.6875rem;
	font-weight: 800;
	text-transform: uppercase;
}

.ezv2-research-metric-option {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 1.75rem;
	color: #18181b;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
}

.ezv2-research-metric-option input {
	flex: 0 0 auto;
}

.ezv2-research-metric-option span {
	overflow-wrap: anywhere;
}

.ezv2-research-chart-correlation {
	border-top: 1px solid var(--ezv2-line);
	color: #71717a;
	font-size: 0.75rem;
}

.ezv2-research-chart-correlation summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	color: #52525b;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.ezv2-research-chart-correlation summary::-webkit-details-marker {
	display: none;
}

.ezv2-research-chart-correlation summary::before {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	margin-right: 0.5rem;
	border: 1px solid #d4d4d8;
	color: #52525b;
	font-weight: 800;
}

.ezv2-research-chart-correlation[open] summary::before {
	content: "-";
}

.ezv2-research-chart-correlation summary span:first-child {
	margin-right: auto;
}

.ezv2-research-chart-correlation p,
.ezv2-research-correlation-empty {
	margin: 0;
	padding: 0 1rem 0.75rem;
	color: #71717a;
}

.ezv2-research-chart-correlation [data-ezv2-research-correlation-body] {
	padding: 0 1rem 1rem;
}

.ezv2-research-chart-correlation table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}

.ezv2-research-chart-correlation th,
.ezv2-research-chart-correlation td {
	overflow: hidden;
	border-bottom: 1px solid #f4f4f5;
	padding: 0.4rem 0.35rem;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ezv2-research-chart-correlation th {
	color: #52525b;
	font-weight: 800;
}

@media (min-width: 980px) {
	.ezv2-research-chart-grid--2,
	.ezv2-research-chart-grid--4,
	.ezv2-research-chart-grid--6,
	.ezv2-research-chart-grid--8 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1500px) {
	.ezv2-research-chart-grid--6,
	.ezv2-research-chart-grid--8 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ezv2-research-control-row,
	.ezv2-research-chart-card__controls,
	.ezv2-research-chart-card__mini-controls {
		grid-template-columns: minmax(0, 1fr);
	}

	.ezv2-research-action-row {
		align-items: stretch;
		flex-direction: column;
	}

	.ezv2-research-quick-grid {
		flex-wrap: wrap;
	}

	.ezv2-research-action-row .ezv2-btn {
		width: 100%;
	}

	.ezv2-research-metric-picker {
		grid-template-columns: minmax(0, 1fr);
	}

	.ezv2-research-chart-grid--1 .ezv2-research-chart-card__canvas-wrap,
	.ezv2-research-chart-grid--2 .ezv2-research-chart-card__canvas-wrap,
	.ezv2-research-chart-card__canvas-wrap {
		height: 22rem;
	}

	.ezv2-symbol-search__option {
		grid-template-columns: minmax(4.5rem, 0.75fr) minmax(0, 1.25fr);
	}

	.ezv2-symbol-search__market {
		display: none;
	}
}

html.dark .ezv2-research-chart-card__title,
html.dark .ezv2-research-chart-correlation th {
	color: #f4f4f5;
}

html.dark .ezv2-symbol-search__suggestions,
html.dark .ezv2-research-metric-picker {
	border-color: #3f3f46;
	background: #18181b;
}

html.dark .ezv2-symbol-search__option {
	border-bottom-color: #27272a;
	color: #f4f4f5;
}

html.dark .ezv2-symbol-search__option:hover,
html.dark .ezv2-symbol-search__option.is-active {
	background: rgba(37, 99, 235, 0.18);
}

html.dark .ezv2-symbol-search__name,
html.dark .ezv2-symbol-search__market,
html.dark .ezv2-research-metric-group__label,
html.dark .ezv2-research-chart-correlation p,
html.dark .ezv2-research-correlation-empty {
	color: #a1a1aa;
}

html.dark .ezv2-research-metric-option {
	color: #e4e4e7;
}

html.dark .ezv2-research-metrics-summary {
	color: #93c5fd;
}

html.dark .ezv2-research-metric-search__clear {
	border: 0;
	background: transparent;
	color: #d4d4d8;
}

html.dark .ezv2-research-metric-search__clear:hover {
	background: #27272a;
	color: #f4f4f5;
}

html.dark .ezv2-research-metric-search__empty {
	color: #a1a1aa;
}

html.dark .ezv2-research-metric-search {
	background: #18181b;
}

html.dark .ezv2-research-chart-correlation {
	border-color: #27272a;
	color: #a1a1aa;
}

html.dark .ezv2-research-chart-correlation summary {
	color: #d4d4d8;
}

html.dark .ezv2-research-chart-correlation summary::before {
	border-color: #3f3f46;
	color: #d4d4d8;
}

html.dark .ezv2-research-chart-correlation th,
html.dark .ezv2-research-chart-correlation td {
	border-bottom-color: #27272a;
}
