/*
 * The tds-symbols pages, as the approved G1 mock-up has them, inside the live Uncode theme. Everything is
 * scoped to .tdss so nothing leaks into the rest of the site. The site's gold (#e5a407) is kept, but
 * links are dark text with a gold underline and the gold button carries dark text: the site's link
 * colour and white-on-gold fail WCAG AA contrast on white.
 */
.tdss {
	--tdss-ink: #303133;
	--tdss-muted: #5a5f63;
	--tdss-faint: #6f7478;
	--tdss-line: #eaeaea;
	--tdss-gold: #e5a407;
	--tdss-dark: #32373c;
	color: var(--tdss-ink);
	font-family: Hind, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.55;
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 0 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.tdss *, .tdss *::before, .tdss *::after { box-sizing: border-box; }
.tdss a { color: var(--tdss-ink); text-decoration: underline; text-decoration-color: var(--tdss-gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* The site's own CSS sets `a:link` to #FAB938 in a style block printed after this stylesheet, and Uncode sets
   `.style-light a:not(.btn-text-skin):hover` to gold, both at least as specific as `.tdss a` and later in the page.
   So a link's colour is set on :link and :visited here (one class more), and its hover and focus colour doubles
   the root class (one more than the theme's hover rule). The buttons below restate their own hover colours at
   the same height, after this, or the theme would turn their labels gold. */
.tdss a:link, .tdss a:visited { color: var(--tdss-ink); }
.tdss.tdss a:link:hover, .tdss.tdss a:visited:hover, .tdss.tdss a:link:focus, .tdss.tdss a:visited:focus { color: #8a5a00; }
.tdss a:focus-visible, .tdss button:focus-visible, .tdss input:focus-visible, .tdss select:focus-visible { outline: 3px solid var(--tdss-gold); outline-offset: 2px; }
.tdss p { margin: 0; }
/* Uncode gives `.post-content ul:not(.no-list)...` a disc and 18px of left padding, with enough :not() terms to
   outrank any selector written here, so the list reset is !important. */
.tdss ul, .tdss ol { list-style: none !important; margin: 0; padding: 0 !important; }
.tdss li { list-style: none !important; }
.tdss-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tdss-num { font-variant-numeric: tabular-nums; }
.tdss-quiet { color: var(--tdss-muted); }
.tdss-small { font-size: 14px; line-height: 1.5; color: var(--tdss-muted); }

.tdss-crumbs { font-size: 14px; line-height: 1.4; color: var(--tdss-muted); }
.tdss-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.tdss-crumbs .tdss-sep { color: #8a9094; }
.tdss-crumbs [aria-current] { color: var(--tdss-ink); font-weight: 500; }

.tdss .tdss-h1 { margin: 18px 0 0; font: 700 48px/1.12 'Playfair Display', Georgia, serif; color: var(--tdss-ink); letter-spacing: normal; text-transform: none; }
.tdss-lead { margin-top: 14px !important; max-width: 66ch; font-size: 18px; line-height: 1.6; color: var(--tdss-muted); }
.tdss-site { margin-top: 10px !important; font-size: 15px; color: var(--tdss-muted); }
.tdss .tdss-h2 { margin: 0; font: 700 28px/1.25 'Playfair Display', Georgia, serif; color: var(--tdss-ink); letter-spacing: normal; text-transform: none; }
.tdss .tdss-h3 { margin: 44px 0 0; font: 600 20px/1.3 Hind, sans-serif; color: var(--tdss-ink); }
.tdss-h2-aside { font: 400 18px/1.3 Hind, sans-serif; color: var(--tdss-muted); }
.tdss-note { margin-top: 8px !important; max-width: 72ch; color: var(--tdss-muted); }
.tdss-section { margin-top: 48px; }

.tdss-pill { display: inline-block; margin-left: 4px; padding: 1px 9px; border: 1px solid #d6d8da; border-radius: 20px; background: #f2f2f2; color: var(--tdss-muted); font: 600 12px/18px Hind, sans-serif; vertical-align: 2px; letter-spacing: normal; }
.tdss-pill-label { border-color: #f0e2bd; background: #fbf6e9; color: #7a5600; }
.tdss .tdss-h1 .tdss-pill, .tdss .tdss-h2 .tdss-pill { vertical-align: 6px; }

.tdss-facts { display: flex; flex-wrap: wrap; gap: 14px 56px; margin: 28px 0 0; padding: 18px 0; border-top: 1px solid var(--tdss-line); border-bottom: 1px solid var(--tdss-line); }
.tdss-facts dt { font-size: 14px; line-height: 1.4; color: var(--tdss-muted); font-weight: 400; }
.tdss-facts dd { margin: 2px 0 0; font: 600 20px/1.3 Hind, sans-serif; color: var(--tdss-ink); }

.tdss-find { margin-top: 36px; padding: 28px 32px 26px; background: #f7f7f7; border: 1px solid var(--tdss-line); border-radius: 18px; }
.tdss-find h2 { margin: 0; font: 600 20px/1.3 Hind, sans-serif; color: var(--tdss-ink); }
.tdss-find form { margin: 16px 0 0; }
.tdss-find-fields { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-end; }
.tdss-field { flex: 1 1 200px; }
.tdss-field-q { flex: 2 1 320px; }
.tdss-field label { display: block; margin-bottom: 7px; font: 600 14px/1.4 Hind, sans-serif; color: var(--tdss-ink); }
.tdss-field input, .tdss-field select { width: 100%; height: 48px; margin: 0; padding: 0 18px; border: 1.5px solid #c9ccd0; border-radius: 50px; background-color: #ffffff; font: 400 16px Hind, sans-serif; color: var(--tdss-ink); text-overflow: ellipsis; }
/* Uncode draws a select's chevron as a background image on `.style-light select:not([multiple])` and keeps it from
   repeating with `background-repeat: no-repeat` on a bare `select`. A `background` shorthand here resets that
   repeat and position, which tiled the chevron across the field, so the select sets only background-color above
   and carries its own chevron with its placement, all !important against the theme's selector. */
.tdss-field select { -webkit-appearance: none; appearance: none; padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%23303133' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 20px center !important; background-size: 14px 9px !important; }
.tdss-button { flex: 0 0 auto; height: 48px; padding: 0 36px; border: 0; border-radius: 50px; background: var(--tdss-dark); color: #ffffff; font: 600 12px/1 Poppins, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
/* Uncode paints `.style-light button[type="submit"]` #f7f7f7, which left the white label unreadable. */
.tdss .tdss-find button.tdss-button { border: 0; background-color: var(--tdss-dark); color: #ffffff; }
.tdss .tdss-find button.tdss-button:hover, .tdss .tdss-find button.tdss-button:focus-visible { background-color: #1b1d1f; color: #ffffff; }
.tdss-find .tdss-small { margin-top: 14px; }

.tdss-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 18px !important; }
.tdss-chips a { display: inline-block; padding: 11px 22px; border: 1.5px solid #e4e4e2; border-radius: 50px; background: #ffffff; text-decoration: none; font: 500 16px/1.2 Hind, sans-serif; }
.tdss-chips a:hover { border-color: var(--tdss-gold); }

.tdss-brokers { margin-top: 22px !important; border-top: 2px solid var(--tdss-gold); }
.tdss-brokers > li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid var(--tdss-line); }
.tdss .tdss-broker-name { flex: 1 1 220px; margin: 0; font: 700 23px/1.3 'Playfair Display', Georgia, serif; }
.tdss-broker-about { flex: 3 1 520px; color: var(--tdss-muted); }
.tdss-broker-about .tdss-small { margin-top: 8px; }
.tdss-broker-about strong { color: var(--tdss-ink); font-weight: 600; }

.tdss-results { margin-top: 18px !important; border-top: 2px solid var(--tdss-gold); }
.tdss-results li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--tdss-line); }
.tdss-result-name { font: 600 18px/1.4 Hind, sans-serif; }

.tdss-scroll { margin-top: 18px; overflow-x: auto; }
.tdss-table { width: 100%; min-width: 640px; margin: 0; border: 0; border-collapse: collapse; font: 400 15px/1.45 Hind, sans-serif; color: var(--tdss-ink); }
.tdss-rows { min-width: 760px; }
.tdss-table th, .tdss-table td { padding: 12px 20px 12px 0; border: 0; border-bottom: 1px solid var(--tdss-line); text-align: left; vertical-align: top; background: none; }
.tdss-table thead th { padding: 0 20px 10px 0; border-bottom: 2px solid var(--tdss-gold); font-weight: 600; font-size: 14px; color: var(--tdss-muted); vertical-align: bottom; }
.tdss-table tbody th { font-weight: 600; }
.tdss-table .tdss-num { text-align: right; }
.tdss-table td.tdss-broker { font-weight: 500; }
.tdss-sym { font-weight: 600; }
.tdss-digits { margin-left: 10px; font-size: 13px; line-height: 1.4; color: var(--tdss-muted); }
.tdss-detail { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--tdss-muted); }
.tdss-end { display: inline-flex; align-items: center; gap: 7px; }
.tdss-end-ongoing { font-weight: 500; }
.tdss-end-discontinued { color: var(--tdss-muted); font-style: italic; }
.tdss-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tdss-gold); }
.tdss-end-discontinued .tdss-dot { background: none; border: 1.5px solid var(--tdss-faint); }

.tdss-cover-h { width: 34%; padding-right: 0 !important; }
.tdss-axis { position: relative; display: block; height: 16px; margin-top: 4px; font: 400 12px/16px Hind, sans-serif; color: var(--tdss-faint); }
.tdss-axis span { position: absolute; transform: translateX(-50%); }
.tdss-axis span.tdss-axis-first { transform: none; }
.tdss-table td.tdss-cover { padding: 19px 0 12px; }
.tdss-bar { position: relative; height: 8px; border-radius: 4px; background: #f1f1f1; }
.tdss-bar-fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--tdss-faint); }
.tdss-bar-fill.is-ongoing { background: var(--tdss-gold); }
.tdss-bar-tail { position: absolute; top: 3px; right: 0; border-top: 2px dotted var(--tdss-faint); }

.tdss-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px !important; font-size: 13px; line-height: 1.4; color: var(--tdss-muted); }
.tdss-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.tdss-key { width: 24px; height: 8px; border-radius: 4px; background: var(--tdss-faint); }
.tdss-key.is-ongoing { background: var(--tdss-gold); }
.tdss-key.is-tail { height: 0; border-radius: 0; background: none; border-top: 2px dotted var(--tdss-faint); }

.tdss-groups { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--tdss-line); border-radius: 14px; }
.tdss-groups h2 { margin: 0; font: 600 18px/1.3 Hind, sans-serif; color: var(--tdss-ink); }
.tdss-groups p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--tdss-muted); }
.tdss-groups strong { color: var(--tdss-ink); font-weight: 600; }

.tdss-related { margin-top: 16px !important; border-top: 2px solid var(--tdss-gold); }
.tdss-related li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--tdss-line); }
.tdss-related a { font: 600 18px/1.4 Hind, sans-serif; }

.tdss-pages { margin-top: 32px; }
.tdss-pages ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 600 13px/1 Poppins, sans-serif; }
.tdss-pages li > a, .tdss-pages li > span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border: 1.5px solid #e4e4e2; border-radius: 50px; text-decoration: none; }
.tdss-pages li > span[aria-current] { border-color: var(--tdss-ink); background: var(--tdss-ink); color: #ffffff; }
.tdss-pages .tdss-gap { padding: 0 4px; color: var(--tdss-faint); }
.tdss-pages a.tdss-step { padding: 0 22px; border-color: var(--tdss-dark); background: var(--tdss-dark); color: #ffffff; letter-spacing: 0.08em; text-transform: uppercase; }
.tdss .tdss-pages a.tdss-step:hover, .tdss .tdss-pages a.tdss-step:focus { color: #ffffff; }
.tdss-pages .tdss-small { margin-top: 12px; }

.tdss-years { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--tdss-line); max-width: 80ch; font-size: 14px; line-height: 1.6; color: var(--tdss-muted); }
.tdss-years strong { font-weight: 600; color: var(--tdss-ink); }
.tdss-years .tdss-asof { margin-top: 8px; }

.tdss-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; margin-top: 56px; padding: 44px 48px; border-radius: 18px; background: #232426; }
.tdss-cta-text { flex: 1 1 420px; max-width: 640px; }
.tdss .tdss-cta h2 { margin: 0; font: 700 32px/1.2 'Playfair Display', Georgia, serif; color: #ffffff; }
.tdss-cta p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: #dddddd; }
.tdss-cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.tdss .tdss-cta-buttons a { display: inline-flex; align-items: center; margin: 0; border-radius: 50px; text-decoration: none; font: 600 13px/1 Poppins, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: none; }
.tdss .tdss-cta-buttons a.tdss-cta-trial { padding: 16px 34px; border: 0; background: var(--tdss-gold); color: #1b1d1f; }
.tdss .tdss-cta-buttons a.tdss-cta-buy { padding: 14.5px 32px; border: 1.5px solid #ffffff; background: transparent; color: #ffffff; }
.tdss .tdss-cta-buttons a.tdss-cta-trial:hover, .tdss .tdss-cta-buttons a.tdss-cta-trial:focus { color: #1b1d1f; }
.tdss .tdss-cta-buttons a.tdss-cta-buy:hover, .tdss .tdss-cta-buttons a.tdss-cta-buy:focus { color: #ffffff; }

@media (max-width: 700px) {
	.tdss { padding-top: 28px; }
	.tdss .tdss-h1 { font-size: 38px; }
	.tdss-lead { font-size: 16px; }
	.tdss .tdss-h2 { font-size: 26px; }
	.tdss-facts { gap: 14px 36px; }
	.tdss-facts dd { font-size: 18px; }
	.tdss-find { padding: 22px 18px; }
	.tdss-cta { padding: 32px 22px; }
	/* Each table row becomes a card. */
	.tdss-scroll { overflow: visible; }
	.tdss-table, .tdss-rows { min-width: 0; }
	.tdss-table thead { display: none; }
	.tdss-table, .tdss-table tbody, .tdss-table tr { display: block; width: 100%; }
	.tdss-table tr { padding: 14px 0; border-bottom: 1px solid var(--tdss-line); }
	.tdss-table tbody th, .tdss-table td { display: block; padding: 2px 0; border: 0; }
	.tdss-table td[data-label]:not([data-label="Symbol"]):not([data-label="Broker"]):not([data-label="Listing"])::before { content: attr(data-label) ": "; color: var(--tdss-muted); }
	.tdss-table td[data-label="Start"], .tdss-table td[data-label="End"] { display: inline-block; margin-right: 18px; }
	.tdss-table td.tdss-cover { padding: 10px 0 4px; }
	.tdss-table td.tdss-broker { font-size: 17px; font-weight: 600; }
}
