/* Abhi Arya — Today's IPO Listings. Warm editorial look (cream paper, charcoal type, one orange accent, thin borders).
   Uses the site's theme tokens when present, with the same values as fallbacks. Adapts to the content width (container queries). */

.aatl {
	--aatl-paper: var(--paper, #f7f3ec);
	--aatl-card: #fffefb;
	--aatl-ink: var(--ink, #1f1d1a);
	--aatl-stone: var(--stone, #6a655b);
	--aatl-line: rgba(31, 29, 26, 0.11);
	--aatl-accent: var(--sunrise, #d9541e);
	--aatl-accent-soft: rgba(217, 84, 30, 0.1);
	--aatl-accent-line: rgba(217, 84, 30, 0.42);
	--aatl-up: #1f8a4c;
	--aatl-down: #c9372c;
	--aatl-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--aatl-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-family: var(--aatl-sans);
	color: var(--aatl-ink);
	font-size: 16px;
	line-height: 1.5;
	width: min(1240px, calc(100vw - 2rem)) !important;
	max-width: none !important;
	margin: 0;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
	overflow-wrap: anywhere;
	container-type: inline-size;
	container-name: aatl;
}
.aatl *, .aatl *::before, .aatl *::after { box-sizing: inherit; }
.aatl [hidden] { display: none !important; }
.aatl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aatl .aatl-ic { width: 1.25em; height: 1.25em; flex: none; }

/* breadcrumb + header */
.aatl .aatl-bc { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .86rem; color: var(--aatl-stone); margin: 0 0 .6rem; }
.aatl .aatl-bc a { color: inherit; text-decoration: none; }
.aatl .aatl-bc a:hover { color: var(--aatl-accent); }
.aatl .aatl-bc [aria-current] { color: var(--aatl-ink); }
.aatl .aatl-head { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-start; justify-content: space-between; margin: 0 0 1.4rem; }
.aatl .aatl-h1 { font-family: var(--aatl-serif); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.08; margin: 0 0 .5rem; letter-spacing: -0.02em; color: var(--aatl-ink); }
.aatl .aatl-lead { margin: 0; color: var(--aatl-stone); font-size: 1.02rem; max-width: 62ch; }
.aatl .aatl-date { display: flex; gap: .85rem; align-items: center; background: var(--aatl-card); border: 1px solid var(--aatl-line); border-radius: 14px; padding: .8rem 1.1rem; min-width: 14.5rem; }
.aatl .aatl-date .aatl-ic { width: 2.1rem; height: 2.1rem; color: var(--aatl-accent); }
.aatl .aatl-date span { display: block; font-size: .78rem; color: var(--aatl-stone); }
.aatl .aatl-date strong { display: block; font-size: 1.12rem; line-height: 1.25; }
.aatl .aatl-date em { font-style: normal; font-size: .8rem; color: var(--aatl-stone); }

/* summary cards */
.aatl .aatl-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .85rem; margin: 0 0 1.4rem; }
.aatl .aatl-sc { display: flex; align-items: center; gap: .9rem; background: var(--aatl-card); border: 1px solid var(--aatl-line); border-radius: 14px; padding: .85rem 1rem; }
.aatl .aatl-sci { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--aatl-accent-soft); color: var(--aatl-accent); flex: none; }
.aatl .aatl-sci .aatl-ic { width: 1.5rem; height: 1.5rem; }
.aatl .aatl-sc > div > span { display: block; font-size: .84rem; color: var(--aatl-ink); }
.aatl .aatl-sc strong { display: block; font-family: var(--aatl-serif); font-size: 1.9rem; line-height: 1.05; font-weight: 600; }

/* messages */
.aatl .aatl-msg { background: var(--aatl-card); border: 1px solid var(--aatl-line); border-radius: 14px; padding: 1.6rem 1.4rem; text-align: center; }
.aatl .aatl-msg strong { font-family: var(--aatl-serif); font-size: 1.3rem; font-weight: 600; }
.aatl .aatl-msg p { margin: .4rem 0 0; color: var(--aatl-stone); }

/* IPO card */
.aatl .aatl-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem 1.4rem; background: var(--aatl-card); border: 1px solid var(--aatl-accent-line); border-radius: 16px; padding: 1.15rem; margin: 0 0 1.1rem; }
@container aatl (min-width: 900px) {
	.aatl .aatl-card { grid-template-columns: minmax(250px, 340px) minmax(0, 1fr); padding: 1.3rem; }
}
.aatl .aatl-id { display: flex; gap: .9rem; align-items: center; margin: 0 0 1.1rem; }
.aatl .aatl-av { display: grid; place-items: center; width: 3.7rem; height: 3.7rem; border-radius: 50%; border: 1px solid var(--aatl-line); background: var(--aatl-paper); color: var(--aatl-accent); font-weight: 800; font-size: 1.25rem; flex: none; letter-spacing: -0.02em; }
.aatl .aatl-name { font-family: var(--aatl-serif); font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 600; line-height: 1.2; margin: 0 0 .4rem; letter-spacing: -0.01em; color: var(--aatl-ink); }
.aatl .aatl-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.aatl .aatl-chip { font-size: .76rem; padding: .12rem .6rem; border: 1px solid var(--aatl-line); border-radius: 6px; color: var(--aatl-stone); background: var(--aatl-paper); }
.aatl .aatl-chip.aatl-pill { color: var(--aatl-accent); background: var(--aatl-accent-soft); border-color: transparent; font-weight: 600; }
.aatl .aatl-facts { margin: 0; }
.aatl .aatl-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--aatl-line); font-size: .94rem; }
.aatl .aatl-facts > div:last-child { border-bottom: 0; }
.aatl .aatl-facts dt { color: var(--aatl-stone); }
.aatl .aatl-facts dd { margin: 0; font-weight: 600; text-align: right; display: inline-flex; align-items: center; gap: .35rem; }
.aatl .aatl-i { display: inline-flex; color: var(--aatl-stone); cursor: help; }
.aatl .aatl-i .aatl-ic { width: 1.05rem; height: 1.05rem; }

/* metrics strip */
.aatl .aatl-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--aatl-line); border-radius: 12px; margin: 0 0 1rem; overflow: hidden; }
.aatl .aatl-m { padding: .8rem .95rem; border-right: 1px solid var(--aatl-line); border-bottom: 1px solid var(--aatl-line); min-width: 0; }
.aatl .aatl-m:nth-child(2n) { border-right: 0; }
.aatl .aatl-m:nth-last-child(-n+2) { border-bottom: 0; }
.aatl .aatl-ml { display: block; font-size: .8rem; color: var(--aatl-ink); font-weight: 600; margin: 0 0 .15rem; }
.aatl .aatl-mv { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.aatl .aatl-big { font-family: var(--aatl-serif); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.aatl .aatl-txt { font-family: var(--aatl-serif); font-size: 1.2rem; font-weight: 500; }
.aatl .aatl-sub { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; color: var(--aatl-stone); margin-top: .1rem; }
.aatl .aatl-sub .aatl-ic { width: 1rem; height: 1rem; color: var(--aatl-accent); }
.aatl .aatl-pct { font-weight: 600; }
.aatl .aatl-sub i, .aatl .aatl-big i { font-style: normal; font-size: .72em; }
.aatl .is-up { color: var(--aatl-up); }
.aatl .is-down { color: var(--aatl-down); }
.aatl .aatl-m-s .aatl-mv { font-size: 1.12rem; }
@container aatl (min-width: 560px) {
	.aatl .aatl-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.aatl .aatl-m:nth-child(2n) { border-right: 1px solid var(--aatl-line); }
	.aatl .aatl-m:nth-child(3n) { border-right: 0; }
	.aatl .aatl-m:nth-last-child(-n+2) { border-bottom: 1px solid var(--aatl-line); }
	.aatl .aatl-m:nth-last-child(-n+3) { border-bottom: 0; }
}
@container aatl (min-width: 1180px) {
	.aatl .aatl-metrics { grid-template-columns: 1.25fr 1.15fr 1.25fr .8fr .8fr 1fr; }
	.aatl .aatl-m, .aatl .aatl-m:nth-child(n) { border-bottom: 0; border-right: 1px solid var(--aatl-line); }
	.aatl .aatl-m:last-child { border-right: 0; }
}
.aatl .aatl-chipst { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--aatl-stone); margin-top: .1rem; }
.aatl .aatl-chipst i { width: .55rem; height: .55rem; border-radius: 50%; background: #8a857b; }
.aatl .aatl-chipst.is-live { color: var(--aatl-up); }
.aatl .aatl-chipst.is-live i { background: var(--aatl-up); }
.aatl .aatl-chipst.is-delayed { color: #a8650a; }
.aatl .aatl-chipst.is-delayed i { background: #d68a1a; }

/* chart */
.aatl .aatl-chartbox { position: relative; border: 1px solid var(--aatl-line); border-radius: 12px; padding: 1rem 1rem .8rem; background: var(--aatl-card); }
.aatl .aatl-ch { font-family: var(--aatl-serif); font-size: 1.08rem; font-weight: 600; margin: 0 0 .6rem; color: var(--aatl-ink); letter-spacing: 0; text-transform: none; }
.aatl .aatl-chart { position: relative; width: 100%; min-height: 230px; color: var(--aatl-accent); }
.aatl .aatl-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.aatl .aatl-grid { stroke: rgba(31, 29, 26, 0.09); stroke-width: 1; }
.aatl .aatl-base { stroke: rgba(31, 29, 26, 0.25); stroke-width: 1; }
.aatl .aatl-axis { fill: var(--aatl-stone); font-size: 11.5px; font-family: var(--aatl-sans); }
.aatl .aatl-line { stroke: var(--aatl-accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.aatl .aatl-area { color: var(--aatl-accent); }
.aatl .aatl-lpline { stroke: var(--aatl-stone); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.aatl .aatl-lptxt { fill: var(--aatl-stone); font-size: 11px; font-family: var(--aatl-sans); }
.aatl .aatl-dot { fill: var(--aatl-accent); stroke: #fff; stroke-width: 2; transition: r .12s; }
.aatl .aatl-dot.is-hi { fill: var(--aatl-up); }
.aatl .aatl-dot.is-lo { fill: var(--aatl-down); }
.aatl .aatl-dot.is-on { stroke: var(--aatl-ink); }
.aatl .aatl-pill rect { fill: var(--aatl-up); }
.aatl .aatl-pill.is-lo rect { fill: var(--aatl-down); }
.aatl .aatl-pill text { fill: #fff; font-size: 11.5px; font-weight: 600; font-family: var(--aatl-sans); }
.aatl .aatl-tt { position: absolute; z-index: 2; pointer-events: none; background: #23201c; color: #fff; border-radius: 8px; padding: .35rem .6rem; font-size: .8rem; line-height: 1.3; white-space: nowrap; display: grid; text-align: center; }
.aatl .aatl-tt b { font-weight: 600; font-size: .78rem; opacity: .9; }
.aatl .aatl-tt span { font-weight: 700; font-size: .95rem; }
.aatl .aatl-tt small { font-size: .7rem; opacity: .75; }
.aatl .aatl-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; list-style: none; margin: .5rem 0 0; padding: 0; font-size: .82rem; color: var(--aatl-stone); }
.aatl .aatl-legend li { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: 0; }
.aatl .aatl-legend i { width: .62rem; height: .62rem; border-radius: 50%; display: inline-block; }
.aatl .aatl-legend .d-price { background: var(--aatl-accent); }
.aatl .aatl-legend .d-high { background: var(--aatl-up); }
.aatl .aatl-legend .d-low { background: var(--aatl-down); }
.aatl .aatl-legend .d-lp { width: 1rem; height: 0; border-radius: 0; border-top: 1.5px dashed var(--aatl-stone); }
.aatl .aatl-src, .aatl .aatl-note { font-size: .8rem; color: var(--aatl-stone); margin: .5rem 0 0; }
.aatl .aatl-empty { display: grid; justify-items: center; text-align: center; gap: .15rem; border: 1.5px dashed var(--aatl-line); border-radius: 12px; padding: 2.2rem 1rem; background: rgba(31, 29, 26, 0.012); color: var(--aatl-stone); }
.aatl .aatl-empty .aatl-ic { width: 2.1rem; height: 2.1rem; margin-bottom: .35rem; }
.aatl .aatl-empty strong { font-family: var(--aatl-serif); font-size: 1.15rem; color: var(--aatl-ink); font-weight: 600; }
.aatl .aatl-empty p { margin: .1rem 0 0; max-width: 46ch; }

/* footer */
.aatl .aatl-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .84rem; color: var(--aatl-stone); margin: .4rem 0 0; }
.aatl .aatl-foot p { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.aatl .aatl-foot .aatl-ic { width: 1.1rem; height: 1.1rem; }
.aatl .aatl-auto i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--aatl-up); display: inline-block; }

@media (max-width: 480px) {
	.aatl .aatl-date { width: 100%; }
	.aatl .aatl-big { font-size: 1.45rem; }
	.aatl .aatl-chartbox { padding: .8rem .6rem .7rem; }
}
@media (prefers-reduced-motion: reduce) { .aatl .aatl-dot { transition: none; } }
