/* Marketasset IPO pages. Scoped to .ma-ipo so it never affects the rest of the site. */
:is(#ma-root,body) .ma-ipo {
	--ma-accent: #6d5ce8;
	--ma-text: #1c1d3f;
	--ma-head: #0b0b52;
	--ma-muted: #5d607d;
	--ma-line: #e9e8f5;
	--ma-soft: #f7f6fd;
	--ma-good: #0f9d58;
	--ma-warn: #9a6700;
	--ma-bad: #d93f4c;
	max-width: 960px;
	margin: 0 auto;
	padding: 24px 16px 48px;
	color: var(--ma-text);
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
	font-family: inherit;
}
:is(#ma-root,body) .ma-ipo *, :is(#ma-root,body) .ma-ipo *::before, :is(#ma-root,body) .ma-ipo *::after { box-sizing: inherit; }
:is(#ma-root,body) .ma-ipo h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1.2; margin: 8px 0 4px; }
:is(#ma-root,body) .ma-ipo h2 { font-size: 1.35rem; line-height: 1.3; margin: 0 0 12px; }
:is(#ma-root,body) .ma-ipo h3 { font-size: 1.05rem; margin: 18px 0 6px; }
:is(#ma-root,body) .ma-ipo a { color: var(--ma-accent); }
:is(#ma-root,body) .ma-ipo p { margin: 0 0 12px; }
:is(#ma-root,body) .ma-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ma-muted); }
:is(#ma-root,body) .ma-crumbs li + li::before { content: "›"; margin-right: 6px; }
:is(#ma-root,body) .ma-crumbs a { color: var(--ma-muted); text-decoration: none; }
:is(#ma-root,body) .ma-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
:is(#ma-root,body) .ma-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--ma-soft); color: var(--ma-muted); border: 1px solid var(--ma-line); }
:is(#ma-root,body) .ma-badge-open { background: #e8f5ee; color: var(--ma-good); border-color: #bfe3cf; }
:is(#ma-root,body) .ma-badge-upcoming { background: #eef3fb; color: #1d4ed8; border-color: #cbdaf5; }
:is(#ma-root,body) .ma-badge-listed { background: #f1effa; color: #5b3fb0; border-color: #ddd5f3; }
:is(#ma-root,body) .ma-updated { font-size: 14px; color: var(--ma-muted); }
:is(#ma-root,body) .ma-toc { font-size: 15px; background: #fff; border: 1px solid var(--ma-line); border-radius: 8px; padding: 12px 18px; margin: 0 0 32px; }
:is(#ma-root,body) .ma-toc-title { font-weight: 700; color: var(--ma-head); cursor: pointer; }
:is(#ma-root,body) .ma-toc ol { margin: 10px 0 2px; padding-left: 22px; columns: 2 220px; column-gap: 28px; }
:is(#ma-root,body) .ma-toc li { margin: 0 0 6px; break-inside: avoid; }
:is(#ma-root,body) .ma-toc a { text-decoration: none; }
:is(#ma-root,body) .ma-toc a:hover { text-decoration: underline; }
:is(#ma-root,body) .ma-figure { margin: 18px 0 22px; }
:is(#ma-root,body) .ma-figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--ma-line); }
:is(#ma-root,body) .ma-figure figcaption { font-size: 13px; color: var(--ma-muted); margin-top: 6px; }
:is(#ma-root,body) .ma-figure-hero { margin: 18px 0 24px; }
:is(#ma-root,body) .ma-review { padding-left: 20px; }
:is(#ma-root,body) .ma-review li { margin: 0 0 10px; }
:is(#ma-root,body) .ma-video { position: relative; padding-top: 56.25%; border-radius: 10px; overflow: hidden; background: #000; margin: 0 0 10px; }
:is(#ma-root,body) .ma-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
:is(#ma-root,body) .ma-answer { background: var(--ma-soft); border: 1px solid var(--ma-line); border-left: 4px solid var(--ma-accent); border-radius: 8px; padding: 18px 20px; margin-bottom: 32px; }
:is(#ma-root,body) .ma-lead { font-size: 1.08rem; }
:is(#ma-root,body) .ma-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 14px 0 0; }
:is(#ma-root,body) .ma-facts div { background: #fff; border: 1px solid var(--ma-line); border-radius: 6px; padding: 8px 12px; }
:is(#ma-root,body) .ma-facts dt { font-size: 12px; color: var(--ma-muted); text-transform: uppercase; letter-spacing: .03em; }
:is(#ma-root,body) .ma-facts dd { margin: 2px 0 0; font-weight: 600; }
:is(#ma-root,body) .ma-section { margin: 0 0 36px; scroll-margin-top: 80px; }
:is(#ma-root,body) .ma-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 10px; }
:is(#ma-root,body) .ma-table { width: 100%; border-collapse: collapse; font-size: 15px; }
:is(#ma-root,body) .ma-table th, :is(#ma-root,body) .ma-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--ma-line); vertical-align: top; }
:is(#ma-root,body) .ma-table thead th { background: var(--ma-soft); font-size: 13px; color: var(--ma-muted); font-weight: 600; }
:is(#ma-root,body) .ma-kv th[scope="row"] { width: 42%; font-weight: 500; color: var(--ma-muted); }
:is(#ma-root,body) .ma-sub td:last-child, :is(#ma-root,body) .ma-fin td:not(:first-child), :is(#ma-root,body) .ma-fin th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
:is(#ma-root,body) .ma-note, :is(#ma-root,body) .ma-muted { font-size: 14px; color: var(--ma-muted); }
:is(#ma-root,body) .ma-empty { color: var(--ma-muted); background: var(--ma-soft); border: 1px dashed var(--ma-line); border-radius: 6px; padding: 12px 14px; }
:is(#ma-root,body) .ma-timeline { list-style: none; margin: 0 0 10px; padding: 0; border-left: 2px solid var(--ma-line); }
:is(#ma-root,body) .ma-step { position: relative; padding: 6px 0 6px 20px; }
:is(#ma-root,body) .ma-step::before { content: ""; position: absolute; left: -7px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--ma-line); }
:is(#ma-root,body) .ma-step-done::before { background: var(--ma-accent); border-color: var(--ma-accent); }
:is(#ma-root,body) .ma-step-today::before { background: #fff; border-color: var(--ma-accent); box-shadow: 0 0 0 3px rgba(109, 92, 232, .18); }
:is(#ma-root,body) .ma-step-label { font-weight: 600; display: inline-block; min-width: 210px; }
:is(#ma-root,body) .ma-est { font-size: 12px; color: var(--ma-warn); border: 1px solid #f0d9a8; background: #fff8e6; border-radius: 4px; padding: 0 6px; margin-left: 4px; }
:is(#ma-root,body) .ma-rating { font-weight: 600; white-space: nowrap; }
:is(#ma-root,body) .ma-rating-subscribe, :is(#ma-root,body) .ma-rating-subscribe-for-long-term, :is(#ma-root,body) .ma-rating-subscribe-may-apply { color: var(--ma-good); }
:is(#ma-root,body) .ma-rating-neutral { color: var(--ma-warn); }
:is(#ma-root,body) .ma-rating-avoid { color: var(--ma-bad); }
:is(#ma-root,body) .ma-tally { font-size: 15px; }
:is(#ma-root,body) .ma-steps { padding-left: 20px; }
:is(#ma-root,body) .ma-steps li { margin-bottom: 6px; }
:is(#ma-root,body) .ma-faq-item { border-bottom: 1px solid var(--ma-line); padding: 4px 0 8px; }
:is(#ma-root,body) .ma-faq-item h3 { margin-top: 12px; }
:is(#ma-root,body) .ma-related { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
:is(#ma-root,body) .ma-related li { border: 1px solid var(--ma-line); border-radius: 8px; padding: 10px 12px; }
:is(#ma-root,body) .ma-related a { text-decoration: none; display: block; }
:is(#ma-root,body) .ma-related span { font-size: 13px; color: var(--ma-muted); }
:is(#ma-root,body) .ma-foot { border-top: 1px solid var(--ma-line); padding-top: 16px; margin-top: 24px; }
:is(#ma-root,body) .ma-disclaimer { font-size: 13px; color: var(--ma-muted); }
:is(#ma-root,body) .ma-ipo-link { font-weight: 600; text-decoration: none; }
@media (max-width: 600px) {
:is(#ma-root,body) .ma-step-label { min-width: 0; display: block; }
:is(#ma-root,body) .ma-kv th[scope="row"] { width: 48%; }
:is(#ma-root,body) .ma-answer { padding: 14px; }
}
:is(#ma-root,body) .ma-ipo h1, :is(#ma-root,body) .ma-ipo h2, :is(#ma-root,body) .ma-ipo h3 { color: var(--ma-head); font-weight: 700; letter-spacing: -0.01em; }
:is(#ma-root,body) .ma-ipo h3 { font-weight: 600; }
:is(#ma-root,body) .ma-ipo strong { font-weight: 600; }
:is(#ma-root,body) .ma-ipo .ma-section ul:not(.ma-related):not(.ma-guides) { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
:is(#ma-root,body) .ma-ipo .ma-guides, :is(#ma-root,body) .ma-ipo .ma-sources { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
:is(#ma-root,body) .ma-ipo .ma-steps { list-style: decimal; }
:is(#ma-root,body) .ma-ipo .ma-section li { margin-bottom: 4px; }
:is(#ma-root,body) .ma-ipo a:hover { text-decoration: underline; }
:is(#ma-root,body) .ma-ipo .ma-toc a:hover, :is(#ma-root,body) .ma-ipo .ma-related a:hover { text-decoration: none; }
:is(#ma-root,body) .ma-ipo .ma-badge-open { background: #e7f6ee; color: var(--ma-good); border-color: #bfe6cf; }
:is(#ma-root,body) .ma-ipo .ma-badge-upcoming { background: #f0edff; color: var(--ma-accent); border-color: #ddd7fb; }
:is(#ma-root,body) .ma-ipo .ma-badge-listed { background: #eef0ff; color: var(--ma-head); border-color: #d9dcf5; }
:is(#ma-root,body) .ma-ipo .ma-steps > li { list-style: decimal; }
:is(#ma-root,body) .ma-ipo .ma-section ul:not(.ma-related) > li, :is(#ma-root,body) .ma-ipo .ma-sources > li { list-style: disc; }
:is(#ma-root,body) .ma-ipo .ma-section ol > li::marker, :is(#ma-root,body) .ma-ipo .ma-section ul > li::marker { color: var(--ma-muted); }
:is(#ma-root,body) .ma-ipo .ma-step::before { content: ""; }
:is(#ma-root,body) .ma-ipo .ma-swot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 10px; }
:is(#ma-root,body) .ma-ipo .ma-swot-cell { border: 1px solid var(--ma-line); border-radius: 8px; padding: 12px 14px; background: #fff; }
:is(#ma-root,body) .ma-ipo .ma-swot-cell h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
:is(#ma-root,body) .ma-ipo .ma-swot-cell ul { margin: 0; }
:is(#ma-root,body) .ma-ipo .ma-swot-s { border-top: 3px solid var(--ma-good); }
:is(#ma-root,body) .ma-ipo .ma-swot-w { border-top: 3px solid var(--ma-bad); }
:is(#ma-root,body) .ma-ipo .ma-swot-o { border-top: 3px solid var(--ma-accent); }
:is(#ma-root,body) .ma-ipo .ma-swot-t { border-top: 3px solid var(--ma-warn); }
:is(#ma-root,body) .ma-ipo .ma-swot-s h4 { color: var(--ma-good); }
:is(#ma-root,body) .ma-ipo .ma-swot-w h4 { color: var(--ma-bad); }
:is(#ma-root,body) .ma-ipo .ma-swot-o h4 { color: var(--ma-accent); }
:is(#ma-root,body) .ma-ipo .ma-swot-t h4 { color: var(--ma-warn); }
@media (max-width: 600px) { :is(#ma-root,body) .ma-ipo .ma-swot { grid-template-columns: 1fr; } }

:is(#ma-root,body) .ma-ipo .ma-gmp { max-width: 560px; }
:is(#ma-root,body) .ma-ipo .ma-gmp .ma-kv tr:first-child td { font-size: 1.15rem; font-weight: 700; color: var(--ma-head); }
/* About: Read more / Read less */
:is(#ma-root,body) .ma-more-on { position: relative; max-height: 7em; overflow: hidden; }
:is(#ma-root,body) .ma-more-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
:is(#ma-root,body) .ma-more-on.ma-more-open { max-height: none; overflow: visible; }
:is(#ma-root,body) .ma-more-on.ma-more-open::after { display: none; }
:is(#ma-root,body) .ma-more-btn { margin: 8px 0 0; padding: 7px 16px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ma-accent); background: #fff; border: 1px solid var(--ma-accent); border-radius: 999px; cursor: pointer; }
:is(#ma-root,body) .ma-more-btn:hover, :is(#ma-root,body) .ma-more-btn:focus-visible { background: var(--ma-accent); color: #fff; }
/* Blue box document link */
:is(#ma-root,body) .ma-docs { margin: 12px 0 0; font-size: 14px; font-weight: 600; }
/* Quota, anchors, bids, peers */
:is(#ma-root,body) .ma-yes, :is(#ma-root,body) .ma-no { padding: 10px 14px; border-radius: 6px; border: 1px solid var(--ma-line); }
:is(#ma-root,body) .ma-yes { background: #e8f5ee; border-color: #bfe3cf; color: #0b5d36; }
:is(#ma-root,body) .ma-no { background: var(--ma-soft); }
:is(#ma-root,body) .ma-bids td:not(:first-child), :is(#ma-root,body) .ma-bids th:not(:first-child), :is(#ma-root,body) .ma-peers td:not(:first-child), :is(#ma-root,body) .ma-peers th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* FAQ: show more / fewer */
:is(#ma-root,body) .ma-ipo [hidden] { display: none !important; }
:is(#ma-root,body) .ma-faq-btn { margin-top: 4px; }
/* Sources: one link that opens the list */
:is(#ma-root,body) details.ma-sources { margin: 0 0 14px; }
:is(#ma-root,body) details.ma-sources summary { cursor: pointer; color: var(--ma-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; width: max-content; }
:is(#ma-root,body) details.ma-sources ol { margin: 8px 0 0; padding-left: 22px; list-style: decimal; font-size: 14px; }
:is(#ma-root,body) details.ma-sources li { list-style: decimal; margin: 2px 0; overflow-wrap: anywhere; }
:is(#ma-root,body) .ma-ipo details.ma-sources { padding-left: 0; list-style: none; }
