/*
 * AbhiArya Mega Menu (desktop only).
 * Everything lives inside @media (min-width: 1240px), the same breakpoint where the theme switches to its
 * desktop bar, so phones and tablets keep the theme's full-screen menu untouched. All selectors are scoped
 * to .aamm / .aamm-host.
 */
.aamm { display: none; }

@media (min-width: 1240px) {
	.aamm-host {
		--aamm-bg: #fffaf4;
		--aamm-line: #e9ded2;
		--aamm-edge: #e6cdb8;
		--aamm-ink: var(--ink, #25211d);
		--aamm-mut: #6d675f;
		--aamm-green: #176b4d;
		--aamm-gt: #e5f0e6;
		--aamm-o: var(--accent, #b63f22);
		--aamm-ot: #fbe3d6;
		--aamm-up: #078449;
		--aamm-dn: #c0392b;
		--aamm-serif: var(--serif, Georgia, serif);
		--aamm-sans: var(--sans, system-ui, sans-serif);
	}
	.nav__list > li.aamm-host { position: static; }
	.nav__list > li.aamm-host > .sub-menu { display: none !important; }
	.nav__list > li.aamm-host.aamm-open > a::after { transform: scaleX(1); }
	.nav__list > li.aamm-host.aamm-open > a::before { transform: rotate(225deg); margin-top: -1px; }

	.aamm-host .aamm {
		display: block;
		position: absolute; top: 100%; left: 0; z-index: 70;
		margin-top: 6px;
		background: var(--aamm-bg);
		border: 1px solid var(--aamm-edge);
		border-radius: 20px;
		box-shadow: 0 14px 34px rgba(67, 54, 41, .18);
		color: var(--aamm-ink);
		font-family: var(--aamm-sans);
		font-size: 14px; line-height: 1.4; text-align: left; white-space: normal;
		opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px);
		transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
	}
	.aamm-host.aamm-open > .aamm { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
	.aamm::before { content: ""; position: absolute; top: -8px; left: var(--aamm-notch, 60px); width: 14px; height: 14px; margin-left: -7px; background: var(--aamm-bg); border-left: 1px solid var(--aamm-edge); border-top: 1px solid var(--aamm-edge); transform: rotate(45deg); border-radius: 3px 0 0 0; }
	.aamm::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
	.aamm__in { max-height: calc(100vh - var(--header-h, 68px) - 40px); overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; display: grid; }
	.aamm--trading { width: min(1035px, calc(100vw - 40px)); }
	.aamm--trading .aamm__in { grid-template-columns: 1fr 1.02fr 1.17fr; padding: 0; }
	.aamm--generic.aamm--c1 { width: min(400px, calc(100vw - 40px)); }
	.aamm--generic.aamm--c2 { width: min(760px, calc(100vw - 40px)); }
	.aamm--generic.aamm--c3 { width: min(1020px, calc(100vw - 40px)); }

	/* Reset the theme's link styling inside the panel (.nav__list a adds padding, underline, size). */
	.aamm-host .aamm a { display: flex; padding: 0; font-size: inherit; color: inherit; text-decoration: none; white-space: normal; }
	.aamm-host .aamm a::after { display: none; }
	.aamm-host .aamm ul { list-style: none; margin: 0; padding: 0; }
	.aamm-host .aamm li { margin: 0; padding: 0; }
	.aamm-host .aamm p { margin: 0; }
	.aamm-host .aamm small { display: block; }

	.aamm__col { padding: 26px 22px 24px 26px; min-width: 0; }
	.aamm--trading .aamm__col { border-right: 1px solid var(--aamm-line); }
	.aamm--trading .aamm__col:nth-child(2) { padding-left: 20px; }
	.aamm--trading .aamm__col--side { border-right: 0; padding: 26px 30px 24px 20px; }
	.aamm--generic .aamm__col { padding: 22px 26px 22px; }

	.aamm__hd { display: flex; align-items: center; gap: 14px; min-height: 62px; padding-bottom: 12px; margin-bottom: 2px; border-bottom: 1px solid var(--aamm-line); }
	.aamm__hx { display: grid; gap: 2px; }
	.aamm__hx b, .aamm__hx-t { font-family: var(--aamm-serif); font-size: 17px; font-weight: 700; line-height: 1.2; }
	.aamm__hx small { font-size: 12px; color: var(--aamm-mut); }

	.aamm__t { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; }
	.aamm__t svg { width: 20px; height: 20px; }
	.aamm__t--lg { width: 42px; height: 42px; }
	.aamm__t--lg svg { width: 22px; height: 22px; }
	.aamm__t--g { background: var(--aamm-gt); color: var(--aamm-green); }
	.aamm__t--o { background: var(--aamm-ot); color: var(--aamm-o); }

	.aamm__list--grid { display: grid; grid-template-columns: repeat(var(--aamm-cols, 1), minmax(0, 1fr)); column-gap: 22px; }
	.aamm--c2 .aamm__list--grid { --aamm-cols: 2; }
	.aamm--c3 .aamm__list--grid { --aamm-cols: 3; }
	.aamm__list > li { border-bottom: 1px solid #f0e6da; }
	.aamm__list > li:last-child { border-bottom: 0; }
	.aamm-host .aamm a.aamm__i { align-items: center; gap: 14px; min-height: 70px; padding: 8px 6px 8px 4px; border-radius: 12px; transition: background .18s ease; }
	.aamm-host .aamm a.aamm__i:hover { background: #fbf1e6; }
	.aamm-host .aamm a:focus-visible { outline: 2px solid var(--aamm-o); outline-offset: 2px; border-radius: 12px; }
	.aamm__x { flex: 1; min-width: 0; display: grid; gap: 3px; }
	.aamm__x b { font-size: 14px; font-weight: 600; }
	.aamm__x small { font-size: 12px; color: var(--aamm-mut); line-height: 1.35; }
	.aamm__c { color: #7b746a; display: grid; transition: transform .18s ease; }
	.aamm__c svg { width: 14px; height: 14px; }
	.aamm-host .aamm a.aamm__i:hover .aamm__c { transform: translateX(2px); color: var(--aamm-o); }
	.aamm--generic .aamm__i { min-height: 58px; }
	.aamm__all { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 4px !important; font-weight: 600; font-size: 13px; color: var(--aamm-green) !important; }
	.aamm__all svg { width: 14px; height: 14px; }
	.aamm__all:hover { color: var(--aamm-o) !important; }

	/* Market snapshot */
	.aamm__snap { background: #f1f7ef; border: 1px solid #dce9db; border-radius: 16px; padding: 16px 18px 14px; }
	.aamm__snap-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
	.aamm__snap-t { display: flex; align-items: center; font-family: var(--aamm-serif); font-size: 15px; font-weight: 700; }
	.aamm__dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa59b; margin-right: 8px; flex: none; }
	.aamm__dot.is-on { background: #14894f; }
	.aamm__st { font-size: 12px; color: var(--aamm-green); white-space: nowrap; }
	.aamm__st--off { font-size: 10.5px; font-weight: 700; color: var(--aamm-o); background: var(--aamm-ot); padding: 3px 9px; border-radius: 99px; }
	.aamm__tabs { display: flex; gap: 4px; margin: 12px 0 10px; }
	.aamm-host .aamm__tab { font: inherit; font-size: 12px; padding: 6px 11px; border: 0; border-radius: 8px; background: transparent; color: #45423b; cursor: pointer; transition: background .15s; }
	.aamm__tab:hover { background: #e4eee2; }
	.aamm-host .aamm__tab.is-on { background: #dceee0; color: var(--aamm-green); font-weight: 600; }
	.aamm-host .aamm__tab:focus-visible { outline: 2px solid var(--aamm-o); outline-offset: 1px; }
	.aamm__val { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; min-height: 66px; }
	.aamm__val > div { min-width: 0; }
	.aamm__val b { display: block; font-size: 25px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
	.aamm__val b.aamm__na { color: #8a8a80; }
	.aamm__chg { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
	.aamm__chg.is-up, .is-up { color: var(--aamm-up); }
	.aamm__chg.is-dn, .is-dn { color: var(--aamm-dn); }
	.aamm__chg--na { font-size: 11.5px; font-weight: 400; color: var(--aamm-mut); }
	.aamm__spw { flex: none; width: 112px; height: 56px; color: #14894f; }
	.aamm__spw.is-dn { color: var(--aamm-dn); }
	.aamm__sp { display: block; width: 100%; height: 100%; }
	.aamm__sp--empty { color: #b9c4ba; }
	.aamm__hl { font-size: 12px; color: #45423b; margin: 6px 0 10px; }
	.aamm__hl span { color: var(--aamm-mut); margin: 0 10px 0 4px; font-variant-numeric: tabular-nums; }
	.aamm__tbl { width: 100%; border-collapse: collapse; font-size: 12px; color: #45423b; }
	.aamm__tbl th, .aamm__tbl td { height: 32px; padding: 0; border-top: 1px solid #e3ecdf; font-weight: 400; text-align: left; font-variant-numeric: tabular-nums; }
	.aamm__tbl td { text-align: right; }
	.aamm__tbl td:last-child { width: 76px; font-weight: 600; }
	.aamm__asof { font-size: 11px; color: var(--aamm-mut); margin-top: 6px; }
	.aamm-host .aamm a.aamm__view { justify-content: center; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 99px; background: #dceee0; color: var(--aamm-green); font-size: 12.5px; font-weight: 500; transition: background .15s; }
	.aamm__view:hover { background: #cfe6d5; }
	.aamm__view svg { width: 14px; height: 14px; }

	/* Promo card */
	.aamm__promo { position: relative; overflow: hidden; margin-top: 14px; min-height: 176px; padding: 20px 20px 62px; border-radius: 16px; background: linear-gradient(120deg, #f7dfcf 45%, #f2c9b3); color: #30231d; }
	.aamm__rk { position: absolute; top: 18px; left: 18px; color: var(--aamm-o); display: none; }
	.aamm__promo-t { position: relative; z-index: 1; max-width: 230px; margin-bottom: 8px !important; font-family: var(--aamm-serif); font-size: 18px; font-weight: 700; line-height: 1.2; }
	.aamm__promo-p { position: relative; z-index: 1; max-width: 190px; font-size: 13px; line-height: 1.5; color: #54443b; }
	.aamm-host .aamm a.aamm__btn { position: absolute; left: 20px; bottom: 18px; z-index: 1; align-items: center; gap: 8px; padding: 8px 18px; border: 1px solid var(--aamm-o); border-radius: 99px; background: var(--aamm-bg); color: var(--aamm-o); font-size: 13px; font-weight: 500; transition: background .15s, color .15s; }
	.aamm__btn:hover { background: var(--aamm-o); color: #fff; }
	.aamm__btn svg { width: 14px; height: 14px; }
	.aamm__art { position: absolute; right: 0; top: 0; width: 44%; height: 100%; object-fit: cover; object-position: 50% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }

	/* Travel & Experiences */
	.aamm--travel { width: min(1010px, calc(100vw - 40px)); }
	.aamm--travel .aamm__in { grid-template-columns: minmax(0, 1fr) 440px; }
	.aamm--travel .aamm__col--dest { padding: 24px 26px 8px 26px; border-right: 1px solid var(--aamm-line); }
	.aamm--travel .aamm__col--feat { padding: 20px 22px 8px 20px; }
	.aamm__hd--big { border-bottom: 0; min-height: 0; padding-bottom: 10px; align-items: flex-start; }
	.aamm__cmp { color: var(--aamm-o); flex: none; }
	.aamm__cmp svg { width: 38px; height: 38px; stroke-width: 1.5; }
	.aamm__hd--big .aamm__hx-t { font-size: 24px; }
	.aamm__hd--big small { font-size: 13px; }
	.aamm__list--dest { max-height: 430px; overflow-y: auto; }
	.aamm__list--dest > li { border-bottom: 1px solid #efe5d8; }
	.aamm-host .aamm a.aamm__dest { align-items: center; gap: 18px; padding: 8px 4px; min-height: 96px; border-radius: 12px; transition: background .18s ease; }
	.aamm-host .aamm a.aamm__dest:hover { background: #fbf1e6; }
	.aamm__ph { flex: none; width: 146px; height: 82px; border-radius: 10px; overflow: hidden; background: var(--aamm-ot); display: grid; place-items: center; }
	.aamm__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
	.aamm__ph--ic { color: var(--aamm-o); }
	.aamm__ph--ic svg { width: 30px; height: 30px; }
	.aamm__dest .aamm__x b { font-size: 17px; }
	.aamm__dest .aamm__x small { font-size: 13px; }
	.aamm__go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--aamm-ot); color: var(--aamm-o); transition: background .18s, color .18s; }
	.aamm__go svg { width: 16px; height: 16px; }
	.aamm__dest:hover .aamm__go { background: var(--aamm-o); color: #fff; }
	.aamm__feat { position: relative; overflow: hidden; border-radius: 16px; background: #f7ece0; border: 1px solid #f0e0cf; }
	.aamm__fimg { position: relative; background: var(--aamm-ot); }
	.aamm__fimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
	.aamm__tag { position: absolute; top: 12px; right: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(40, 34, 28, .82); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
	.aamm__tag--in { position: static; display: inline-block; margin: 14px 0 0 16px; }
	.aamm__fb { padding: 16px 20px 22px; }
	.aamm__pl { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--aamm-o); }
	.aamm__pl svg { width: 13px; height: 13px; }
	.aamm__ft { margin: 6px 0 8px !important; font-family: var(--aamm-serif); font-size: 27px; font-weight: 600; line-height: 1.2; }
	.aamm__fp { font-size: 14px; line-height: 1.5; color: #5d544b; }
	.aamm-host .aamm a.aamm__fbtn { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 11px 24px; border-radius: 99px; background: var(--aamm-o); color: #fff; font-weight: 500; font-size: 15px; transition: filter .15s; }
	.aamm__fbtn:hover { filter: brightness(1.1); }
	.aamm__fbtn svg { width: 15px; height: 15px; }
	.aamm__strip { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 10px 26px 0 !important; border-top: 1px solid var(--aamm-line); }
	.aamm__strip > li + li { border-left: 1px solid var(--aamm-line); }
	.aamm-host .aamm a.aamm__lk { align-items: center; gap: 8px; padding: 14px 8px; }
	.aamm__lk { display: flex; }
	.aamm__lki { color: var(--aamm-o); flex: none; display: grid; }
	.aamm__lki svg { width: 24px; height: 24px; }
	.aamm__lk .aamm__x b { font-family: var(--aamm-serif); font-size: 13px; letter-spacing: -.01em; }
	.aamm__lk .aamm__x small { font-size: 11.5px; }
	.aamm-host .aamm a.aamm__lk:hover .aamm__c { color: var(--aamm-o); transform: translateX(2px); }

	/* Developer Tools */
	.aamm--dev { width: min(1090px, calc(100vw - 40px)); }
	.aamm--dev .aamm__in { grid-template-columns: 1fr 1fr 400px; }
	.aamm--dev .aamm__col { padding: 24px 22px 6px 26px; border-right: 1px solid var(--aamm-line); }
	.aamm--dev .aamm__col--promo { border-right: 0; padding: 24px 24px 6px 20px; }
	.aamm--dev .aamm__col:nth-child(2) { padding-left: 22px; }
	.aamm__t--xl { width: 48px; height: 48px; border-radius: 12px; }
	.aamm__t--xl svg { width: 24px; height: 24px; }
	.aamm__t--b { background: #e8ecf6; color: #3b4f86; }
	.aamm__hd--dev { align-items: flex-start; border-bottom: 0; min-height: 0; padding-bottom: 8px; }
	.aamm__hd--dev .aamm__hx-t { font-size: 19px; white-space: nowrap; }
	.aamm__hd--dev small { font-size: 13px; line-height: 1.45; }
	.aamm__list--dev > li { border-bottom: 1px solid #efe5d8; }
	.aamm__list--dev > li:last-child { border-bottom: 0; }
	.aamm-host .aamm a.aamm__dev { gap: 16px; min-height: 76px; padding: 8px 4px; }
	.aamm__dev .aamm__x b { font-family: var(--aamm-serif); font-size: 16px; font-weight: 600; }
	.aamm__dev .aamm__x small { font-size: 13px; line-height: 1.4; }
	.aamm__dvp { position: relative; overflow: hidden; height: 100%; min-height: 470px; border-radius: 16px; background: linear-gradient(135deg, #fbe7dc, #f6d9c8); }
	.aamm__dvimg { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: none; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%); }
	.aamm__dvb { position: relative; z-index: 1; padding: 26px 22px; max-width: 240px; }
	.aamm__dvl { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--aamm-o); }
	.aamm__dvt { margin: 10px 0 12px !important; font-family: var(--aamm-serif); font-size: 31px; font-weight: 700; line-height: 1.12; color: #1d2433; }
	.aamm__dvx { font-size: 14px; line-height: 1.55; color: #4d4a46; }
	.aamm-host .aamm a.aamm__dvbtn { margin-top: 20px; padding: 12px 22px; white-space: nowrap; }
	.aamm__qa { grid-column: 1 / -1; margin: 6px 26px 0; padding: 14px 0 20px; border-top: 1px solid var(--aamm-line); display: grid; gap: 12px; }
	.aamm__qah { display: flex; align-items: center; gap: 14px; }
	.aamm__hx-t--s { font-size: 16px !important; }
	.aamm__chips { display: grid !important; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 8px; margin: 0 !important; }
	.aamm__chips > li { display: flex; border: 0 !important; }
	.aamm__chip > span:last-child { min-width: 0; overflow-wrap: anywhere; }
	.aamm-host .aamm a.aamm__chip { flex: 1; align-items: center; justify-content: flex-start; gap: 8px; padding: 8px 10px; min-height: 52px; min-width: 0; text-align: left; border: 1px solid #efe0d1; border-radius: 12px; background: #fdf6ee; font-size: 12px; font-weight: 500; line-height: 1.2; transition: background .15s, border-color .15s; }
	.aamm-host .aamm a.aamm__chip:hover { background: #fbeadb; border-color: #e6cdb8; }
	.aamm__chi { flex: none; display: grid; width: 22px; height: 22px; color: var(--aamm-o); }
	.aamm__chi svg { width: 22px; height: 22px; }
	.aamm__chi--g { color: var(--aamm-green); }
	.aamm__chi--b { color: #3b4f86; }

	/* Interactive Lab */
	.aamm--lab { width: min(1120px, calc(100vw - 40px)); }
	.aamm--lab .aamm__in { grid-template-columns: 1fr 1fr 410px; }
	.aamm--lab .aamm__col { padding: 24px 22px 6px 26px; border-right: 1px solid var(--aamm-line); }
	.aamm--lab .aamm__col--promo { border-right: 0; padding: 24px 24px 6px 20px; }
	.aamm--lab .aamm__col:nth-child(2) { padding-left: 22px; }
	.aamm--lab .aamm__hd--dev .aamm__hx-t { font-size: 24px; white-space: normal; }
	.aamm__labp { min-height: 430px; background: linear-gradient(135deg, #fbe7dc, #f7dccb); }
	.aamm__labimg { position: absolute; right: 0; top: 0; width: 42%; height: 100%; object-fit: cover; object-position: 50% 42%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
	.aamm__labb { max-width: 250px; padding-top: 52px; }
	.aamm__labp .aamm__dvx { font-size: 13.5px; }
	.aamm__pill { display: inline-block; padding: 6px 14px; border: 1px solid #e8b99f; border-radius: 99px; background: rgba(255, 250, 244, .7); color: var(--aamm-o); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
	.aamm__labp .aamm__dvt { font-size: 32px; }
	.aamm__strip--lab { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.aamm__strip--lab .aamm__lki svg { width: 34px; height: 34px; }
	.aamm-host .aamm__strip--lab a.aamm__lk { padding: 16px 14px; gap: 14px; }
	.aamm__strip--lab .aamm__x b { font-size: 15px; }
	.aamm__strip--lab .aamm__x small { font-size: 12.5px; }

	/* Projects */
	.aamm--proj { width: min(760px, calc(100vw - 40px)); }
	.aamm--proj .aamm__in { grid-template-columns: 1fr 320px; }
	.aamm--proj .aamm__col--plist { padding: 24px 24px 18px 26px; border-right: 1px solid var(--aamm-line); }
	.aamm--proj .aamm__hd--dev .aamm__hx-t { font-size: 24px; white-space: normal; }
	.aamm--proj .aamm__col--feat { padding: 18px 20px 20px 18px; }
	.aamm__pimg { border-radius: 14px; overflow: hidden; aspect-ratio: 530 / 565; background: var(--aamm-ot); }
	.aamm__pimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
	.aamm__pfb { padding: 14px 4px 0; }
	.aamm__plab { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aamm-o); }
	.aamm--proj .aamm__ft { font-size: 24px; margin: 4px 0 6px !important; }
	.aamm--proj .aamm__fp { color: #3f3a35; }
	.aamm-host .aamm--proj a.aamm__all { margin-top: 8px; }

	/* First */
	.aamm--first { width: min(1120px, calc(100vw - 40px)); }
	.aamm--first .aamm__in { grid-template-columns: 1fr 440px; }
	.aamm--first .aamm__col--flist { padding: 24px 24px 18px 26px; border-right: 1px solid var(--aamm-line); }
	.aamm--first .aamm__col--promo { border-right: 0; padding: 20px 22px 20px 20px; }
	.aamm--first .aamm__hd--dev { border-bottom: 1px solid var(--aamm-line); padding-bottom: 14px; margin-bottom: 6px; }
	.aamm--first .aamm__hd--dev .aamm__hx-t { font-size: 28px; white-space: normal; }
	.aamm--first .aamm__hd--dev small { font-size: 15px; }
	.aamm__list--two { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 0; }
	.aamm__list--two > li:nth-child(odd) { padding-right: 18px; border-right: 1px solid #efe5d8; }
	.aamm__list--two > li:nth-child(even) { padding-left: 18px; }
	.aamm__list--two > li:nth-last-child(-n+2) { border-bottom: 0; }
	.aamm__list--two > li:last-child:nth-child(odd) { border-bottom: 0; }
	.aamm__list--sans .aamm__dev .aamm__x b { font-family: var(--aamm-sans); font-weight: 600; font-size: 15px; }
	.aamm__fsp { min-height: 470px; background: linear-gradient(180deg, #f8dcc3 0%, #f1ddcf 48%, #ebded2 100%); }
	.aamm__fsimg { position: absolute; right: 0; top: 0; width: 56%; height: 100%; object-fit: cover; object-position: 60% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
	.aamm__fsb { max-width: 270px; padding-top: 44px; }
	.aamm__pill--w { background: rgba(255, 252, 248, .92); border-color: transparent; }
	.aamm__fst { font-size: 36px !important; line-height: 1.08 !important; font-weight: 600 !important; margin: 16px 0 14px !important; color: #1b1a17 !important; }
	.aamm__fst em { display: block; color: var(--aamm-o); font-weight: 500; }
	.aamm--first .aamm__fst em { display: inline; }
	.aamm--jy .aamm__fst em { display: block; }
	.aamm--first .aamm__dvx { max-width: 215px; color: #2f2c28; }

	/* ---- Compact (all panels) ---------------------------------------------------------------- */
	.aamm--trading { width: min(900px, calc(100vw - 40px)); }
	.aamm--generic.aamm--c2 { width: min(660px, calc(100vw - 40px)); }
	.aamm--generic.aamm--c3 { width: min(900px, calc(100vw - 40px)); }
	.aamm--travel { width: min(860px, calc(100vw - 40px)); }
	.aamm--travel .aamm__in { grid-template-columns: minmax(0, 1fr) 370px; }
	.aamm--dev { width: min(960px, calc(100vw - 40px)); }
	.aamm--dev .aamm__in { grid-template-columns: 1fr 1fr 330px; }
	.aamm--lab { width: min(960px, calc(100vw - 40px)); }
	.aamm--lab .aamm__in { grid-template-columns: 1fr 1fr 340px; }
	.aamm--proj { width: min(660px, calc(100vw - 40px)); }
	.aamm--proj .aamm__in { grid-template-columns: 1fr 270px; }
	.aamm--first { width: min(900px, calc(100vw - 40px)); }
	.aamm--first .aamm__in { grid-template-columns: 1fr 360px; }

	.aamm__col { padding: 16px 16px 14px 18px; }
	.aamm--trading .aamm__col--side { padding: 16px 20px 14px 14px; }
	.aamm--generic .aamm__col { padding: 16px 20px 14px; }
	.aamm--travel .aamm__col--dest { padding: 16px 18px 6px 18px; }
	.aamm--travel .aamm__col--feat { padding: 14px 16px 6px 14px; }
	.aamm--dev .aamm__col, .aamm--lab .aamm__col { padding: 16px 16px 4px 18px; }
	.aamm--dev .aamm__col--promo, .aamm--lab .aamm__col--promo { padding: 16px 16px 4px 14px; }
	.aamm--proj .aamm__col--plist { padding: 16px 18px 12px 18px; }
	.aamm--proj .aamm__col--feat { padding: 14px 14px 14px 12px; }
	.aamm--first .aamm__col--flist { padding: 16px 16px 12px 18px; }
	.aamm--first .aamm__col--promo { padding: 14px 14px 14px 12px; }

	.aamm__hd { min-height: 50px; padding-bottom: 8px; gap: 12px; }
	.aamm__t { width: 32px; height: 32px; border-radius: 9px; }
	.aamm__t svg { width: 17px; height: 17px; }
	.aamm__t--lg { width: 36px; height: 36px; }
	.aamm__t--lg svg { width: 19px; height: 19px; }
	.aamm__t--xl { width: 38px; height: 38px; border-radius: 10px; }
	.aamm__t--xl svg { width: 20px; height: 20px; }
	.aamm__hx b, .aamm__hx-t { font-size: 15.5px; }
	.aamm__hx small, .aamm__hd--dev small, .aamm__hd--big small { font-size: 12px; }
	.aamm__hd--big .aamm__hx-t { font-size: 20px; }
	.aamm__hd--dev .aamm__hx-t { font-size: 17px; }
	.aamm--lab .aamm__hd--dev .aamm__hx-t, .aamm--proj .aamm__hd--dev .aamm__hx-t { font-size: 20px; }
	.aamm--first .aamm__hd--dev .aamm__hx-t { font-size: 22px; }
	.aamm--first .aamm__hd--dev small { font-size: 13px; }
	.aamm__hd--dev { padding-bottom: 6px; }
	.aamm__cmp svg { width: 32px; height: 32px; }

	.aamm-host .aamm a.aamm__i { min-height: 54px; gap: 12px; padding: 6px 6px 6px 4px; }
	.aamm--generic .aamm__i { min-height: 48px; }
	.aamm__x { gap: 2px; }
	.aamm__x b { font-size: 13.5px; }
	.aamm__x small { font-size: 11.5px; line-height: 1.3; }
	.aamm-host .aamm a.aamm__dev { gap: 12px; min-height: 60px; padding: 6px 4px; }
	.aamm__dev .aamm__x b { font-size: 14.5px; }
	.aamm__dev .aamm__x small { font-size: 12px; line-height: 1.3; }
	.aamm__list--sans .aamm__dev .aamm__x b { font-size: 14px; }
	.aamm-host .aamm a.aamm__dest { min-height: 78px; gap: 14px; padding: 6px 4px; }
	.aamm__ph { width: 118px; height: 66px; }
	.aamm__dest .aamm__x b { font-size: 15px; }
	.aamm__dest .aamm__x small { font-size: 12px; }
	.aamm__go { width: 32px; height: 32px; }
	.aamm__go svg { width: 14px; height: 14px; }
	.aamm__list--dest { max-height: 380px; }
	.aamm__list--two > li:nth-child(odd) { padding-right: 12px; }
	.aamm__list--two > li:nth-child(even) { padding-left: 12px; }
	.aamm__all { margin-top: 6px; padding: 6px 4px !important; font-size: 12.5px; }

	.aamm__snap { padding: 12px 14px 10px; }
	.aamm__val { min-height: 54px; }
	.aamm__val b { font-size: 22px; }
	.aamm__tbl th, .aamm__tbl td { height: 28px; }
	.aamm-host .aamm a.aamm__view { margin-top: 8px; padding: 7px 12px; }
	.aamm__promo { margin-top: 10px; min-height: 150px; padding: 16px 16px 52px; }
	.aamm__promo-t { font-size: 16px; }
	.aamm__promo-p { font-size: 12px; }
	.aamm-host .aamm a.aamm__btn { left: 16px; bottom: 14px; padding: 6px 14px; font-size: 12px; }

	.aamm__fb { padding: 12px 16px 16px; }
	.aamm__ft { font-size: 22px; }
	.aamm__fp { font-size: 13px; }
	.aamm-host .aamm a.aamm__fbtn { margin-top: 8px; padding: 9px 20px; font-size: 13px; }
	.aamm__strip { margin: 6px 18px 0 !important; }
	.aamm-host .aamm a.aamm__lk { padding: 10px 8px; }
	.aamm__dvp, .aamm__labp, .aamm__fsp { min-height: 0; height: 100%; }
	.aamm--dev .aamm__dvp { min-height: 400px; }
	.aamm--lab .aamm__labp { min-height: 360px; }
	.aamm--first .aamm__fsp { min-height: 400px; }
	.aamm__dvb { padding: 20px 18px; max-width: 210px; }
	.aamm__dvt { font-size: 25px; margin: 8px 0 10px !important; }
	.aamm__labp .aamm__dvt { font-size: 26px; }
	.aamm__dvx, .aamm__labp .aamm__dvx { font-size: 12.5px; line-height: 1.5; }
	.aamm-host .aamm a.aamm__dvbtn { margin-top: 14px; padding: 9px 18px; font-size: 13px; }
	.aamm__pill { padding: 5px 12px; font-size: 10px; }
	.aamm__fst { font-size: 29px !important; margin: 12px 0 10px !important; }
	.aamm__fsb { padding-top: 30px; max-width: 220px; }
	.aamm--first .aamm__dvx { max-width: 185px; }
	.aamm--proj .aamm__ft { font-size: 20px; }
	.aamm__qa { margin: 4px 18px 0; padding: 10px 0 14px; gap: 8px; }
	.aamm-host .aamm a.aamm__chip { padding: 6px 8px; min-height: 42px; }
	.aamm__chips { gap: 6px; }

	/* ---- Pattern pass: one rhythm for every panel ------------------------------------------------ */
	/* Header: single-header panels 20px, column headers 17px. */
	.aamm__hd--big .aamm__hx-t, .aamm--proj .aamm__hd--dev .aamm__hx-t, .aamm--first .aamm__hd--dev .aamm__hx-t { font-size: 20px; }
	.aamm--lab .aamm__hd--dev .aamm__hx-t, .aamm--dev .aamm__hd--dev .aamm__hx-t { font-size: 17px; }
	.aamm--first .aamm__hd--dev small, .aamm--proj .aamm__hd--dev small { font-size: 12.5px; }
	/* Hero cards: same width (340px) on every panel that has one. */
	.aamm--dev { width: min(1000px, calc(100vw - 40px)); }
	.aamm--dev .aamm__in { grid-template-columns: 1fr 1fr 340px; }
	.aamm--lab .aamm__in { grid-template-columns: 1fr 1fr 340px; }
	.aamm--first .aamm__in { grid-template-columns: 1fr 340px; }
	.aamm--first { width: min(880px, calc(100vw - 40px)); }
	.aamm--travel .aamm__in { grid-template-columns: minmax(0, 1fr) 340px; }
	.aamm--travel { width: min(840px, calc(100vw - 40px)); }
	.aamm--trading { width: min(940px, calc(100vw - 40px)); }
	/* Text never runs over the photo. */
	.aamm--dev .aamm__dvb { max-width: 190px; }
	.aamm--dev .aamm__dvx { max-width: 170px; }
	.aamm__dvimg { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
	.aamm--first .aamm__dvx { max-width: 150px; }
	.aamm--first .aamm__fst { font-size: 27px !important; }
	.aamm--first .aamm__fsimg { width: 52%; }
	.aamm--lab .aamm__dvx { max-width: 180px; }
	/* Row arrows and tiles in 2-column lists. */
	.aamm__list--two .aamm__go { width: 28px; height: 28px; }
	.aamm__list--two .aamm__go svg { width: 13px; height: 13px; }
	.aamm__list--two a.aamm__dev { gap: 10px !important; }
	.aamm__list--two .aamm__dev .aamm__x b { font-size: 14px; }
	/* Snapshot + promo card in Trading. */
	.aamm__snap-t { font-size: 14px; white-space: nowrap; }
	.aamm__st--off { font-size: 10px; padding: 3px 8px; }
	.aamm__art { width: 38%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
	.aamm__promo-p { max-width: 165px; }
	/* Quick Access chips: no mid-word breaks. */
	.aamm__chip > span:last-child { overflow-wrap: normal; word-break: normal; hyphens: none; }
	.aamm-host .aamm a.aamm__chip { gap: 6px; padding: 6px 6px; font-size: 11.5px; }
	.aamm__chi svg { width: 17px; height: 17px; }

	.aamm--jy .aamm__fst { max-width: none; }
	.aamm--few .aamm__fst { font-size: 23px !important; }
	/* Few items (3 or fewer): single column, narrower panel, so it never looks empty. */
	.aamm--few { width: min(640px, calc(100vw - 40px)); }
	.aamm--few .aamm__in { grid-template-columns: 1fr 300px; }
	.aamm--few .aamm__list--two { grid-template-columns: 1fr; }
	.aamm--few .aamm__list--two > li:nth-child(odd) { padding-right: 0; border-right: 0; }
	.aamm--few .aamm__list--two > li:nth-child(even) { padding-left: 0; }
	.aamm--few .aamm__list--two > li:nth-last-child(-n+2) { border-bottom: 1px solid #efe5d8; }
	.aamm--few .aamm__list--two > li:last-child { border-bottom: 0; }
	.aamm--few .aamm__fsp { min-height: 340px; }

	/* ---- Snapshot card polish ---- */
	.aamm__snap { padding: 14px 16px 12px; }
	.aamm__st { padding: 3px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; }
	.aamm__st--on { background: #d6ecdc; color: #14703f; }
	.aamm__st--closed { background: #e7ece6; color: #56625a; }
	.aamm__tabs { margin: 10px 0 8px; padding: 3px; gap: 2px; background: #e8f0e6; border-radius: 10px; width: max-content; max-width: 100%; }
	.aamm-host .aamm__tab { padding: 5px 11px; border-radius: 7px; }
	.aamm-host .aamm__tab.is-on { background: #fff; box-shadow: 0 1px 2px rgba(30, 60, 40, .14); }
	.aamm__tab:hover { background: rgba(255, 255, 255, .6); }
	.aamm__val { min-height: 0; padding: 4px 0 2px; align-items: flex-start; }
	.aamm__val b { font-size: 26px; letter-spacing: -.01em; }
	.aamm__chg { margin-top: 2px; font-size: 13px; }
	.aamm__rng { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 10px; margin: 8px 0 10px; font-size: 12px; font-variant-numeric: tabular-nums; color: #3c433d; }
	.aamm__rng small { display: block; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--aamm-mut); }
	.aamm__rh { text-align: right; }
	.aamm__rt { position: relative; height: 4px; margin-bottom: 6px; border-radius: 99px; background: #d4e2d3; }
	.aamm__rt i { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid #fff; background: #14894f; box-shadow: 0 0 0 1px #14894f; }
	.aamm__rng.is-dn .aamm__rt i { background: var(--aamm-dn); box-shadow: 0 0 0 1px var(--aamm-dn); }
	.aamm__tbl th, .aamm__tbl td { height: 29px; }
	.aamm__asof { margin: 6px 0 0; }
}

@media (min-width: 1240px) and (max-width: 1359px) {
	.aamm--trading .aamm__col { padding-left: 20px; padding-right: 16px; }
	.aamm__spw { width: 96px; }
	.aamm--dev .aamm__in { grid-template-columns: 1fr 1fr 300px; }
	.aamm--lab .aamm__in { grid-template-columns: 1fr 1fr 310px; }
	.aamm--first .aamm__in { grid-template-columns: 1fr 320px; }
	.aamm__chips { gap: 6px; }
	.aamm-host .aamm a.aamm__chip { padding: 8px 7px; gap: 6px; font-size: 11px; min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	.aamm-host .aamm, .aamm__i, .aamm__c, .aamm__btn { transition: none !important; transform: none !important; }
}
