.tdsm-widget {
	--tdsm-navy: #102b4e;
	--tdsm-blue: #1769aa;
	--tdsm-border: #e4eaf1;
	--tdsm-muted: #68788c;
	--tdsm-green: #138a50;
	--tdsm-red: #cf3545;
	box-sizing: border-box;
	width: 100%;
	margin: 22px 0;
	padding: 24px;
	color: #1d2939;
	background: #fff;
	border: 1px solid var(--tdsm-border);
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(16, 43, 78, .07);
	font-family: inherit;
}
.tdsm-widget *, .tdsm-widget *::before, .tdsm-widget *::after { box-sizing: border-box; }
.tdsm-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; }
.tdsm-eyebrow { display: inline-block; margin-bottom: 7px; color: var(--tdsm-blue); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.tdsm-heading h2 { margin: 0 0 6px; color: var(--tdsm-navy); font-size: clamp(21px, 3vw, 28px); line-height: 1.25; font-weight: 750; }
.tdsm-heading p { margin: 0; color: var(--tdsm-muted); font-size: 13px; line-height: 1.5; }
.tdsm-refresh { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 15px; color: #fff; background: var(--tdsm-blue); border: 1px solid var(--tdsm-blue); border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.tdsm-refresh:hover { background: var(--tdsm-navy); border-color: var(--tdsm-navy); color: #fff; }
.tdsm-refresh:disabled { opacity: .65; cursor: wait; }
.tdsm-refresh-icon { font-size: 19px; line-height: 12px; }
.tdsm-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; background: #f5f8fc; border: 1px solid #e9eff6; border-radius: 10px; }
.tdsm-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tdsm-tab { min-height: 37px; padding: 8px 15px; color: #526277; background: transparent; border: 1px solid transparent; border-radius: 7px; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.tdsm-tab:hover { color: var(--tdsm-navy); background: #eaf1f8; }
.tdsm-tab.is-active { color: #fff; background: var(--tdsm-navy); border-color: var(--tdsm-navy); }
.tdsm-row-options { display: inline-flex; align-items: center; gap: 5px; color: var(--tdsm-muted); font-size: 12px; }
.tdsm-row-options span { margin-right: 3px; }
.tdsm-row-options button { min-width: 31px; height: 29px; padding: 3px 7px; color: #526277; background: #fff; border: 1px solid #dce5ef; border-radius: 6px; font: inherit; font-weight: 700; cursor: pointer; }
.tdsm-row-options button.is-active { color: var(--tdsm-blue); border-color: var(--tdsm-blue); background: #edf6ff; }
.tdsm-data-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 2px 10px; color: var(--tdsm-muted); font-size: 11px; }
.tdsm-market-label { display: inline-flex; align-items: center; gap: 7px; color: #47566a; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.tdsm-market-label i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1ba66a; box-shadow: 0 0 0 3px rgba(27,166,106,.12); }
.tdsm-message { margin: 8px 0; padding: 18px 14px; color: #526277; background: #f7f9fc; border: 1px solid var(--tdsm-border); border-radius: 9px; text-align: center; font-size: 13px; }
.tdsm-message.is-error { color: #9d2634; background: #fff5f5; border-color: #f5d5d8; }
.tdsm-message.is-warning { color: #805916; background: #fff9e9; border-color: #f4e6bb; }
.tdsm-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--tdsm-border); border-radius: 10px; }
.tdsm-table { width: 100%; min-width: 650px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.tdsm-table th { padding: 13px 14px; color: #53657b; background: #f7f9fc; border: 0; border-bottom: 1px solid var(--tdsm-border); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-align: left; white-space: nowrap; }
.tdsm-table td { padding: 13px 14px; color: #29384a; background: #fff; border: 0; border-bottom: 1px solid #edf1f5; vertical-align: middle; }
.tdsm-table tbody tr:last-child td { border-bottom: 0; }
.tdsm-table tbody tr:hover td { background: #fafcff; }
.tdsm-table .tdsm-rank { width: 48px; color: #8794a5; text-align: center; }
.tdsm-table .tdsm-number { text-align: right; }
.tdsm-company { display: block; max-width: 255px; color: var(--tdsm-navy); font-weight: 700; }
.tdsm-symbol { display: inline-block; padding: 4px 7px; color: #475c73; background: #f1f5f9; border: 1px solid #e6edf4; border-radius: 5px; font-size: 11px; font-weight: 750; letter-spacing: .02em; }
.tdsm-positive { color: var(--tdsm-green) !important; font-weight: 750; white-space: nowrap; }
.tdsm-negative { color: var(--tdsm-red) !important; font-weight: 750; white-space: nowrap; }
.tdsm-change-pill { display: inline-block; min-width: 76px; padding: 5px 8px; border-radius: 6px; text-align: center; }
.tdsm-change-pill.tdsm-positive { background: #eaf7ef; }
.tdsm-change-pill.tdsm-negative { background: #fff0f1; }
.tdsm-source-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 15px; padding: 13px 2px 9px; color: #7b8796; font-size: 11px; }
.tdsm-source-row a { color: var(--tdsm-blue); font-weight: 700; text-decoration: none; }
.tdsm-source-row a:hover { text-decoration: underline; }
.tdsm-disclaimer { margin-top: 5px; padding: 12px 14px; color: #68788c; background: #f8fafc; border-left: 3px solid #9eb4ca; border-radius: 5px; font-size: 11px; line-height: 1.65; }
.tdsm-disclaimer strong { color: #46566b; }
@media (max-width: 640px) {
	.tdsm-widget { padding: 15px; border-radius: 12px; }
	.tdsm-heading { align-items: flex-start; }
	.tdsm-heading h2 { font-size: 21px; }
	.tdsm-refresh { padding: 8px 10px; }
	.tdsm-toolbar { align-items: flex-start; }
	.tdsm-data-meta { align-items: flex-start; flex-direction: column; }
	.tdsm-source-row { flex-direction: column; }
}
.tdsm-widget [hidden] { display: none !important; }
.tdsm-count-label { color: #68788c; font-size: 12px; font-weight: 650; }
