/* Macro Optics Market Charts — dark design matching the client's website. */
.momc {
	--momc-ink: #f3f4f6;
	--momc-ink-2: #94A3B8;
	--momc-ink-3: #6b7480;
	--momc-card: #0b1521;
	--momc-grid: #1b2330;
	--momc-rule: #2a323d;
	--momc-bull: #17B26A;
	--momc-neut: #8b919a;
	--momc-bear: #F04438;
	--momc-line: #e8f0ff;
	--momc-tab-bg: #353940;
	--momc-tab-bd: #717479;
	--momc-accent: #3b82f6;
	--momc-accent-bg: rgba(37, 99, 235, .16);
	--momc-strip-bg: linear-gradient(180deg, #0d1b36, #0a1426);
	--momc-strip-bd: #1f3f8f;
	--momc-chip-bg: #2b3037;
	--momc-chip-bd: #3d434b;
	--momc-tip-bg: #1b222d;
	--momc-tip-bd: #2d3643;
	box-sizing: border-box;
	margin: 0 auto;
	/* max-width: 1080px; */
	color: var(--momc-ink);
	font: 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-variant-numeric: tabular-nums;
}

.momc *,
.momc *::before,
.momc *::after {
	box-sizing: inherit;
}

.momc[data-theme="light"] {
	--momc-ink: #0b0b0b;
	--momc-ink-2: #52514e;
	--momc-ink-3: #8b8a86;
	--momc-card: #fcfcfb;
	--momc-grid: #ecebe7;
	--momc-rule: #e6e5e1;
	--momc-bull: #17B26A;
	--momc-bear: #F04438;
	--momc-line: #1e2a44;
	--momc-tab-bg: #fff;
	--momc-tab-bd: #d9d8d3;
	--momc-accent: #1d4ed8;
	--momc-accent-bg: rgba(29, 78, 216, .08);
	--momc-strip-bg: #f4f6fb;
	--momc-strip-bd: #c7d2f0;
	--momc-chip-bg: #fff;
	--momc-chip-bd: #dcdbd6;
	--momc-tip-bg: #fff;
	--momc-tip-bd: #e6e5e1;
}

@media (prefers-color-scheme: light) {
	.momc[data-theme="auto"] {
		--momc-ink: #0b0b0b;
		--momc-ink-2: #52514e;
		--momc-ink-3: #8b8a86;
		--momc-card: #fcfcfb;
		--momc-grid: #ecebe7;
		--momc-rule: #e6e5e1;
		--momc-bull: #17B26A;
		--momc-bear: #F04438;
		--momc-tab-bg: #fff;
		--momc-tab-bd: #d9d8d3;
		--momc-accent: #1d4ed8;
		--momc-accent-bg: rgba(29, 78, 216, .08);
		--momc-strip-bg: #f4f6fb;
		--momc-strip-bd: #c7d2f0;
		--momc-chip-bg: #fff;
		--momc-chip-bd: #dcdbd6;
		--momc-tip-bg: #fff;
		--momc-tip-bd: #e6e5e1;
	}
}

/* Heading */
.momc .wv-sec-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 2rem;
	margin-inline: auto;
	text-align: center;
}

.single-content .momc-heading {
	color: var(--global-palette4);
	margin-bottom: 16px;
	margin-top: 0;
}

.momc-sub {
	color: var(--global-palette4);
}

p.momc-hint svg {
	width: 20px;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
}

.single-content p.momc-hint {
	margin-top: 24px;
}

/* Category tabs */
.momc-tabs {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 32px;
	padding: 0;
	column-gap: 18px;
	row-gap: 8px;
	justify-content: center;
}

.momc details {
	display: none;
}

.momc-tab {
	appearance: none;
	cursor: pointer;
	padding: 10px 16px;
	font-size: 14px;
	white-space: nowrap;
	letter-spacing: 0;
	text-transform: none;
	border: 1px solid var(--momc-tab-bd);
	border-radius: 8px;
	box-shadow: none;
	transition: border-color .12s, background-color .12s, color .12s;
	font-family: var(--head-font);
	font-weight: 600;
	background: var(--momc-tab-bg);
}

.momc-card .item.chart-label .tk {
	font-weight: bold;
	color: #fff;
}

.momc-card .item.chart-label span:last-child {
	font-weight: normal;
	color: #82abff;
}

.momc-card .item.chart-label span {
	font-size: 22px;
}

.momc-tab:hover {
	border-color: var(--global-palette5);
	background: var(--global-palette5);
	/* color: var(--momc-ink); */
	box-shadow: unset;
}

.momc-tab:focus-visible,
.momc-chart svg:focus-visible,
.momc summary:focus-visible {
	outline: 2px solid var(--momc-accent);
	outline-offset: 2px;
}

.momc-tab[aria-selected="true"] {
	color: var(--momc-accent);
	background: var(--momc-accent-bg);
	border-color: var(--momc-accent);
}

/* Card */
.momc-panel.momc-loading {
	min-height: 420px;
}

.momc-panel[aria-busy="true"] .momc-body {
	opacity: .5;
	transition: opacity .15s;
}

.momc-msg {
	padding: 32px 8px;
	color: var(--momc-ink-2);
	text-align: center;
}

.momc-msg button {
	margin-left: 8px;
	cursor: pointer;
	font: inherit;
	padding: 4px 12px;
	border-radius: 4px;
	border: 1px solid var(--momc-tab-bd);
	background: var(--momc-tab-bg);
	color: var(--momc-ink);
}

.momc-wrapper {
	background: var(--momc-card);
	border-radius: 14px;
	padding: 24px;
	border: 1px solid #182840;
}

.momc-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0 0 12px;
	padding: 0;
}

.momc-legend .item {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: white;
	font-family: var(--body-font);
	font-weight: 500;
}

.momc-legend .sw {
	width: 27px;
	height: 0;
	border-top: 6px solid;
	border-radius: 50px;
}

/* Chart */
.momc-chart {
	position: relative;
	width: 100%;
}

.momc-chart svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}

.momc-chart svg text {
	fill: var(--momc-ink-2);
	font-size: 10px;
	font-family: inherit;
}

.momc-chart .grid line {
	stroke: var(--momc-grid);
	stroke-width: 1;
}

.momc-chart .per {
	cursor: pointer;
	/*shape-rendering: crispEdges;*/
}

.momc-chart .per.B {
	/* fill: rgba(23, 178, 106, .34); */
	fill: #0f4a39;
}

.momc-chart .per.N {
	fill: rgba(139, 145, 154, .34);
}

.momc-chart .per.R {
	/* fill: rgba(240, 68, 56, .36); */
	fill: #5e2629;
}

.momc-chart .per:hover,
.momc-chart .per.sel {
	filter: brightness(1.1);
}

.momc-card .item.chart-label {
	display: block;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--momc-ink-2);
	font-family: var(--body-font);
}

.momc-card .item.chart-label.old {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	/* padding: 8px 14px; */
	font-size: 16px;
	font-weight: 600;
	color: white;
	font-family: var(--body-font);
	/* background: var(--momc-tab-bg); */
	/* border: 1px solid var(--momc-tab-bd); */
	border-radius: 8px;
}

.momc-card .item.chart-label .tk {
	color: #2970FF;
}

.momc-chart .series path {
	fill: none;
	stroke: var(--momc-line);
	stroke-width: 1.5;
	stroke-linejoin: round;
	stroke-linecap: round;
	pointer-events: none;
}

.momc-chart .xhair {
	stroke: var(--momc-ink-3);
	stroke-width: 1;
	stroke-dasharray: 3 3;
	opacity: 0;
}

.momc-chart .dot {
	stroke: var(--momc-card);
	stroke-width: 2;
	opacity: 0;
}

.momc-tip {
	position: absolute;
	z-index: 2;
	min-width: 140px;
	padding: 8px 10px;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, 0);
	transition: opacity .08s;
	background: var(--momc-tip-bg);
	color: var(--momc-ink);
	border: 1px solid var(--momc-tip-bd);
	border-radius: 6px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
	font-size: 12px;
	line-height: 1.35;
}

.momc-tip .d {
	color: var(--momc-ink-2);
	font-size: 11px;
	margin-bottom: 2px;
}

.momc-tip .p {
	font-weight: 600;
	font-size: 14px;
}

.momc-tip .s {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

.momc-tip .s i {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.momc-tip .s small {
	color: var(--momc-ink-3);
}

/* Status strip */
.momc-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin: 44px 0 0;
	padding: 24px;
	background: #2970FF0F;
	border: 1px solid #2970FF;
	border-radius: 14px;
}

.momc-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	font-size: 16px;
	color: var(--momc-ink-2);
	background: var(--momc-tab-bg);
	border: 1px solid var(--momc-tab-bd);
	border-radius: 8px;
}

.momc-chip .sw {
	width: 27px;
	height: 0;
	border-top: 7px solid;
	border-radius: 50px;
}

.momc-chip .pct,
.momc-chip b {
	font-weight: 600;
	font-size: 18px;
	color: white;

}

/* Timeframe buttons */
.momc-ranges {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.momc-range {
	appearance: none;
	cursor: pointer;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	font-family: var(--body-font, inherit);
	color: var(--momc-ink-2);
	background: transparent;
	border: 1px solid var(--momc-tab-bd);
	border-radius: 8px;
	box-shadow: none;
	transition: border-color .12s, background-color .12s, color .12s;
}

.momc-range:hover {
	color: var(--momc-ink);
	border-color: var(--momc-accent);
	background: transparent;
}

.momc-range[aria-pressed="true"] {
	color: var(--momc-accent);
	background: var(--momc-accent-bg);
	border-color: var(--momc-accent);
}

.momc-range:focus-visible {
	outline: 2px solid var(--momc-accent);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.momc-ranges {
		margin-top: 10px;
		gap: 6px;
	}

	.momc-range {
		padding: 5px 12px;
		font-size: 12px;
	}
}

/* Note + table */
.single-content .momc-note {
	margin: 32px 0 0;
	font-size: 16px;
	line-height: 150%;
	color: var(--global-palette3);
}

.momc details {
	margin-top: 32px;
}

.momc summary {
	cursor: pointer;
	color: var(--momc-accent);
	font-size: 16px;
	font-weight: 600;
	position: relative;
	padding-left: 25px;
	list-style-type: none;
}

.momc summary::before {
	content: '';
	position: absolute;
	top: 4px;
	left: 0;
	width: 20px;
	height: 20px;
	background: url("/wp-content/uploads/2026/10/right-triangle.webp");
	transition: all 0.3s ease;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.momc details[open] summary::before {
	transform: rotate(90deg);
}

.momc-tbl-wrapper {
	overflow: hidden;
	margin-top: 16px;
	/* background-image: linear-gradient(-45deg, #0B1220, #05070D); */
	border-radius: 16px;
	border: 1px solid #2970FF;
	padding: 32px;
	background-color: #05070D;
	max-width: 768px;
}

.momc-tblwrap {
	overflow: auto;
	max-height: 420px;
	scrollbar-color: #ffffff #232323;
}

.momc-tblwrap::-webkit-scrollbar-track {
	background: #232323
}

.momc-tblwrap::-webkit-scrollbar-thumb {
	background: #ffffff;
}

.momc table {
	border-collapse: collapse;
	width: 100%;
	/* max-width: 640px; */
	font-size: 12px;
}

.momc th,
.momc td {
	text-align: left;
	padding: 7px 24px;
	color: #FFFFFFB2;
	background: transparent;
	font-size: 14px;
	font-weight: 400;
	font-family: var(--body-font);
}

.momc tbody td:first-child,
.momc thead tr th:first-child {
	padding-left: 0;
	min-width: 100px;
}

.momc tbody td:last-child,
.momc thead tr th:last-child {
	padding-right: 0;
	min-width: 150px;
}

.momc thead tr {
	border-bottom: 10px solid transparent;
}

.momc thead tr th::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: #85888E80;
}

.momc thead th {
	white-space: nowrap;
}

.momc th {
	font-size: 18px;
	/* text-transform: uppercase; */
	color: white;
	font-weight: 400;
	position: sticky;
	top: 0;
	padding-bottom: 24px;
	background-color: #05070D;
	font-family: var(--body-font);
	padding-top: 0;
}

.momc-pill {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 400;
	color: #fff;
}

.momc-pill.B {
	background: var(--momc-bull);
}

.momc-pill.N {
	background: var(--momc-neut);
}

.momc-pill.R {
	background: var(--momc-bear);
}


@media (prefers-reduced-motion: reduce) {

	.momc-tip,
	.momc-tab,
	.momc-panel .momc-body {
		transition: none;
	}
}

/* Eyebrow, publication line */
.single-content .momc-eyebrow {
	margin-bottom: 10px;
}

.momc-eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--momc-accent);
}

.single-content .momc-sub {
	margin-bottom: 20px;
}

.single-content .momc-since {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 24px 0 0;
	font-size: 14px;
	color: var(--momc-ink-2);
}

.momc-since .momc-icon {
	display: flex;
	width: 20px;
	height: 20px;
}

.momc-since .momc-icon svg {
	stroke: var(--momc-ink-2);
}

/* Legend + hint */
.momc-key {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 16px;
	padding: 14px 8px;
	border: 1px solid rgb(32, 51, 78);
	border-radius: 10px;
	text-align: center;
	background-color: rgb(11, 18, 28);
}

.momc-key-item {
	position: relative;
}

.momc-key-content {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: left;
	flex-wrap: wrap;
	row-gap: 4px;
}

.momc-key-item:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 1px;
	background-color: rgb(32, 51, 78);
	height: 100%;
}

.momc-key-item .k {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.momc-key-info {
	color: var(--momc-ink);
	font-size: 18px;
	width: 100%;
	text-align: center;
}

.momc-key-item .k b {
	font-size: 18px;
	display: block;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 3px;
}

.momc-key-info span {
	display: block;
	margin-top: 0;
	font-size: 13px;
	color: var(--momc-ink-2);
	line-height: 1
}

.momc-key .sw {
	width: 22px;
	height: 22px;
	border-radius: 100px;
}

.momc-key .sw.B {
	background: var(--momc-bull);
}

.momc-key .sw.N {
	background: var(--momc-neut);
}

.momc-key .sw.R {
	background: var(--momc-bear);
}

.momc-hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 14px;
	color: var(--momc-ink-2);
}

.momc .momc-hint svg {
	flex: none;
	width: 24px;
	height: 24px;
	display: inline-block;
}

.single-content .momc-note {
	font-size: 14px;
	text-align: center;
	margin-top: 24px;
}



/* Responsive Design code */
@media (max-width: 1280px) {
	.momc-tabs {
		gap: 8px;
	}

	.momc-strip {
		gap: 8px;
		padding: 16px;
	}

	.momc-chip .pct,
	.momc-chip b {
		font-size: 14px;
	}

	.momc-chip .sw {
		width: 20px;
		border-top: 3px solid;
	}

	.momc-chip {
		gap: 6px;
		padding: 8px 12px;
		font-size: 14px;
	}
}

@media (max-width: 1024px) {
	.momc-tab {
		padding: 8px 14px;
		font-size: 12px;
	}
}

@media (max-width: 767px) {
	.momc-tbl-wrapper {
		padding: 16px;
	}

	.momc th {
		font-size: 16px;
		padding-bottom: 16px;
	}

	.momc summary::before {
		width: 16px;
		height: 16px;
	}

	.single-content .momc-heading {
		margin-bottom: 8px;
	}

	.single-content .momc-sub {
		margin-bottom: 8px;
		font-size: 14px;
	}

	.single-content .momc-since {
		font-size: 12px;
		gap: 5px;
		margin-top: 10px;
	}

	.momc .wv-sec-head {
		margin-bottom: 18px;
	}

	.momc-tab {
		padding: 5px 9px;
		flex: 1;
	}

	.momc-tabs {
		margin-bottom: 8px;
	}

	.momc-card .item.chart-label {
		font-size: 11px;
		margin-bottom: 2px;
	}

	.momc-key {
		margin-top: 8px;
		padding-block: 8px;
	}

	.momc-key-content {
		justify-content: center;
		max-width: 120px;
		margin-inline: auto;
	}

	.momc-key-info {
		text-align: left;
	}

	.momc-key-item .k {
		gap: 6px;
		margin-left: -8px;
	}

	.momc-key-info span {
		text-align: center;
	}

	.momc-key .sw {
		width: 10px;
		height: 10px;
	}

	.single-content p.momc-hint {
		margin-top: 0;
		font-size: 11px;
		gap: 2px;
		margin-bottom: 10px;
	}

	.momc .momc-hint svg {
		width: 20px;
		height: 20px;
	}

	.single-content .momc-note {
		font-size: 10px;
		text-align: center;
		margin-top: 8px;
	}

	.momc-since .momc-icon {
		width: 16px;
		height: 16px;
	}

	.momc-key-item .k b {
		font-size: 13px;
	}
}

@media (max-width: 640px) {

	.momc-key-info span {
		font-size: 10px;
	}

	.momc-tabs {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		margin-inline: -4px;
		padding: 0 4px 6px;
		scrollbar-width: thin;
		justify-content: unset;
	}

	.momc-tabs .momc-tab:first-child {
		margin-left: auto;
	}

	.momc-tabs .momc-tab:last-child {
		margin-right: auto;
	}

	.momc-wrapper {
		padding: 10px;
		border-radius: 10px;
	}

	.momc-strip {
		padding: 10px;
		gap: 8px;
	}

	.momc-chip {
		flex: 1 1 100%;
		justify-content: center;
	}

	.momc-key-content {
		max-width: 92px;
	}
}