/* CBS Aktietävling. Ärver typografi, knappar och inputs från temat. */

.cbs-at {
	margin: 30px 0;
	color: #151812;
}

.cbs-at p {
	margin-bottom: 10px;
}

.cbs-at .cbs-at-heading {
	font-size: 20px;
	margin: 30px 0 10px;
}

.cbs-at-meta {
	font-size: 14px !important;
	color: #51554c;
}

.cbs-at-label {
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #51554c;
}

.cbs-at-field {
	display: block;
	margin: 0 0 15px;
}

.cbs-at-field select,
.cbs-at-field input {
	min-width: 180px;
	background: transparent;
}

.cbs-at-qty {
	width: 180px;
}

/* Tabeller: täta, högerställda siffror. */
.cbs-at-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 10px;
}

.cbs-at-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}

.cbs-at-table th {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: #51554c;
	text-align: left;
	padding: 6px 10px;
	border-bottom: 1px solid #151812;
	white-space: nowrap;
}

.cbs-at-table tbody th {
	border-bottom: 1px solid #dbdfd7;
}

.cbs-at-table td {
	padding: 6px 10px;
	border-bottom: 1px solid #dbdfd7;
	white-space: nowrap;
}

.cbs-at-table .cbs-at-num {
	text-align: right;
}

.cbs-at-table abbr {
	text-decoration: none;
	border: 0;
}

.cbs-at-order-info {
	width: auto;
	min-width: 300px;
	margin-bottom: 15px;
}

.cbs-at-own td {
	font-weight: 700;
	color: #151812;
}

.cbs-at-gap td {
	color: #51554c;
	text-align: center;
}

.cbs-at-up {
	color: #85c441;
}

.cbs-at-down {
	color: #c44141;
}

.cbs-at-error {
	color: #c44141;
}

.cbs-at-closed {
	color: #51554c;
	font-weight: 700;
}

/* Grafer: alltid lika breda som sin plats, så att prisaxeln till höger syns även på mobil. */
.cbs-at-chart-wrap {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dbdfd7;
	margin-bottom: 5px;
}

.cbs-at-chart {
	width: 100%;
	min-width: 0;
	height: 320px;
}

.cbs-at-chart-placeholder {
	padding: 20px;
}

.cbs-at-tooltip {
	position: absolute;
	z-index: 3;
	background: #fff;
	border: 1px solid #dbdfd7;
	padding: 6px 8px;
	font-size: 13px;
	color: #151812;
	white-space: nowrap;
	pointer-events: none;
	font-variant-numeric: tabular-nums;
}

.cbs-at-tooltip[hidden] {
	display: none;
}

.cbs-at-periods {
	margin: 0 0 8px;
}

.cbs-at-periods button {
	background: #fff;
	border: 1px solid #dbdfd7;
	border-radius: 3px;
	color: #151812;
	font-size: 14px;
	line-height: 1.4;
	padding: 4px 10px;
	margin: 0 4px 4px 0;
}

.cbs-at-periods button[aria-pressed="true"] {
	border-color: #151812;
	font-weight: 700;
}

.cbs-at-link-button {
	background: none;
	border: 0;
	padding: 0;
	color: #85c441;
	font-size: 14px;
	text-decoration: underline;
}

.cbs-at-legend {
	font-size: 14px;
	color: #51554c;
}

.cbs-at-legend span::before {
	content: "";
	display: inline-block;
	width: 18px;
	margin-right: 6px;
	vertical-align: middle;
	border-top: 2px solid #151812;
}

.cbs-at-legend .cbs-at-legend-index {
	margin-left: 15px;
}

.cbs-at-legend .cbs-at-legend-index::before {
	border-top: 1px dashed #51554c;
}

/* Temat gör alla <button> helbreda och gröna. Våra små knappar ska inte ärva det. */
.cbs-at .cbs-at-periods button,
.cbs-at .cbs-at-tabs button,
.cbs-at .cbs-at-link-button {
	width: auto;
	height: auto;
}

.cbs-at .button {
	width: auto;
	margin: 0 10px 10px 0;
}

.cbs-at .button.outline {
	background: transparent;
}

.cbs-at .button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Samtycket vid anmälan. */
.cbs-at-consent {
	max-width: 620px;
	font-size: 14px;
	line-height: 1.5;
}

.cbs-at-consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
}

.cbs-at-consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: #85c441;
}

.cbs-at button:focus-visible,
.cbs-at a:focus-visible {
	outline: 2px solid #85c441;
	outline-offset: 2px;
}

.cbs-at-chart-wrap[hidden] {
	display: none;
}

/* Topplista: flikar */
.cbs-at-tabs {
	margin: 0 0 10px;
}

.cbs-at-tabs button {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	color: #51554c;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 15px;
	padding: 4px 0;
	margin-right: 20px;
}

.cbs-at-tabs button[aria-selected="true"] {
	color: #151812;
	border-bottom-color: #85c441;
}

.cbs-at-tab-panel[hidden] {
	display: none;
}

/* Sponsorer */
.cbs-at-sponsors {
	margin-top: 25px;
	padding-top: 15px;
	border-top: 1px solid #dbdfd7;
}

.cbs-at-sponsors ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 40px;
}

.cbs-at-sponsors li {
	margin: 0;
}

.cbs-at-sponsors img {
	display: block;
	height: 40px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
}

.cbs-at-sponsorer .cbs-at-sponsors {
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

/* Sponsorbandet överst på varje flik i Hela tävlingen */
.cbs-at-sponsor-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 40px;
	margin: 0 0 25px;
	padding: 20px 28px;
	border: 1px solid #dbdfd7;
	border-radius: 4px;
	background: #f6f7f4;
}

.cbs-at .cbs-at-sponsor-band-label {
	flex: 0 0 auto;
	margin: 0;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #4d7a1e;
	line-height: 1.4;
	text-align: center;
}

.cbs-at-sponsor-band ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
}

.cbs-at-sponsor-band li {
	margin: 0;
}

.cbs-at-sponsor-band a,
.cbs-at-sponsor-band li > img {
	display: block;
}

.cbs-at-sponsor-band img {
	display: block;
	height: 56px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

@media (max-width: 767.98px) {
	.cbs-at-sponsor-band {
		flex-direction: column;
		align-items: center;
		padding: 16px 18px;
	}

	.cbs-at-sponsor-band ul {
		gap: 10px;
	}


	.cbs-at-sponsor-band img {
		height: 30px;
		max-width: 120px;
	}
}

/* Temat ritar fokusram även vid musklick. Behåll den bara för tangentbord. */
.cbs-at button:focus:not(:focus-visible) {
	outline: none;
}

@media (max-width: 575.98px) {
	.cbs-at-sponsors ul {
		gap: 16px 28px;
	}

	.cbs-at-sponsors img {
		height: 32px;
		max-width: 130px;
	}
}

/* ---------- Sidmallen Aktietävling (bred) ---------- */

.cbs-at-page {
	padding-bottom: 60px;
}

.cbs-at-page-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.cbs-at-page-title {
	font-size: 44px;
	margin: 0 0 20px;
}

@media (max-width: 767.98px) {
	.cbs-at-page-title {
		font-size: 32px;
	}
}

/* ---------- Hela tävlingen (dashboard) ---------- */

.cbs-at-tavling .cbs-at {
	margin: 0;
}

.cbs-at-section-title,
.cbs-at .cbs-at-section-title {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #85c441;
	margin: 0 0 15px;
}

/* Kursremsa */
.cbs-at-tape {
	overflow: hidden;
	white-space: nowrap;
	border-top: 1px solid #dbdfd7;
	border-bottom: 1px solid #dbdfd7;
	padding: 10px 0;
	margin-bottom: 25px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	min-height: 42px;
}

.cbs-at-tape-track {
	display: inline-flex;
	white-space: nowrap;
}

.cbs-at-tape-ready .cbs-at-tape-track {
	animation: cbs-at-tape var(--cbs-at-tape-duration, 60s) linear infinite;
}

.cbs-at-tape:hover .cbs-at-tape-track {
	animation-play-state: paused;
}

.cbs-at-tape-copy {
	display: inline-flex;
}

.cbs-at-tape-item {
	margin-right: 36px;
	color: inherit;
	text-decoration: none;
}

.cbs-at-tape-item:hover b {
	text-decoration: underline;
}

.cbs-at-tape-item b {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
}

@keyframes cbs-at-tape {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Översikt */
.cbs-at-overview {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 20px;
	padding: 5px 0 20px;
	font-variant-numeric: tabular-nums;
}

.cbs-at-overview-wrap {
	margin-bottom: 30px;
	border-bottom: 1px solid #dbdfd7;
}

.cbs-at-overview-join {
	display: block;
}

.cbs-at-stat-value {
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 1.15;
	color: #151812;
	white-space: nowrap;
}

.cbs-at-stat-main .cbs-at-stat-value {
	font-size: 44px;
}

.cbs-at-stat-value.cbs-at-up {
	color: #85c441;
}

.cbs-at-stat-value.cbs-at-down {
	color: #c44141;
}

.cbs-at-stat-value span {
	font-size: 18px;
	vertical-align: middle;
}

.cbs-at-stat-sub {
	display: block;
	font-size: 14px;
	color: #51554c;
}

/* Rutnät */
.cbs-at-dash-main {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 40px;
	align-items: start;
}

.cbs-at-tavling .cbs-at-dash-main .cbs-at-chart {
	height: 420px;
}

.cbs-at-dash-side .cbs-at-order-info {
	width: 100%;
	min-width: 0;
}

.cbs-at-dash-side .cbs-at-qty {
	width: 100%;
}

.cbs-at-dash-bottom {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 40px;
	margin-top: 40px;
	align-items: start;
}

.cbs-at-dash-bottom.cbs-at-dash-single {
	grid-template-columns: minmax(0, 1fr);
}

.cbs-at-tavling > .cbs-at-kursgraf {
	margin-top: 10px;
}

/* Översikten visar redan summan. */
.cbs-at-tavling .cbs-at-summary {
	display: none;
}

@media (max-width: 991.98px) {
	.cbs-at-dash-main,
	.cbs-at-dash-bottom {
		grid-template-columns: minmax(0, 1fr);
	}

	.cbs-at-overview {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 15px 12px;
	}

	.cbs-at-stat-value {
		font-size: 22px;
	}

	.cbs-at-stat-main .cbs-at-stat-value {
		font-size: 36px;
	}

	.cbs-at-stat-main {
		grid-column: 1 / -1;
	}

	.cbs-at-tavling .cbs-at-dash-main .cbs-at-chart {
		height: 320px;
	}
}

/* Topplista: placering */
.cbs-at-move {
	font-size: 11px;
	margin-left: 4px;
}

.cbs-at-rank.cbs-at-top1,
.cbs-at-rank.cbs-at-top2,
.cbs-at-rank.cbs-at-top3 {
	font-weight: 700;
}

/* Blinkning vid ändrat värde */
.cbs-at-flash-up {
	animation: cbs-at-flash-up 1.2s ease-out;
}

.cbs-at-flash-down {
	animation: cbs-at-flash-down 1.2s ease-out;
}

@keyframes cbs-at-flash-up {
	from { background-color: rgba(133, 196, 65, 0.4); }
	to { background-color: transparent; }
}

@keyframes cbs-at-flash-down {
	from { background-color: rgba(224, 96, 95, 0.4); }
	to { background-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
	.cbs-at-tape {
		overflow-x: auto;
	}

	.cbs-at-tape-ready .cbs-at-tape-track {
		animation: none;
	}

	.cbs-at-tape-copy {
		display: none;
	}

	.cbs-at-flash-up,
	.cbs-at-flash-down {
		animation: none;
	}
}

/* ---------- Navigering: Översikt / Aktier ---------- */

.cbs-at-nav {
	display: flex;
	gap: 28px;
	margin: 0 0 25px;
	border-bottom: 1px solid #dbdfd7;
}

.cbs-at-nav a {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #51554c;
	padding: 6px 0 10px;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	text-decoration: none;
}

.cbs-at-nav a[aria-current="page"] {
	color: #151812;
	border-bottom-color: #85c441;
}

.cbs-at-section-gap {
	margin-top: 30px !important;
}

/* ---------- Bolagsloggor ---------- */

.cbs-at-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	vertical-align: middle;
	box-shadow: 0 0 0 1px #dbdfd7;
}

.cbs-at-logo img {
	width: 72%;
	height: 72%;
	object-fit: contain;
	display: block;
}

.cbs-at-logo-initials {
	background: #dbdfd7;
	color: #151812;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	box-shadow: none;
}

.cbs-at-stock-name {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.cbs-at-stock-name a {
	color: inherit;
	font-weight: 500;
}

/* ---------- Aktielistan ---------- */

.cbs-at-stocklist tbody tr[data-href] {
	cursor: pointer;
}

.cbs-at-stocklist tbody tr[data-href]:hover td {
	background-color: rgba(133, 196, 65, 0.08);
}

.cbs-at .cbs-at-sort {
	background: none;
	border: 0;
	padding: 0;
	width: auto;
	height: auto;
	font: inherit;
	color: inherit;
	text-align: inherit;
}

.cbs-at-stocklist th[aria-sort="ascending"] .cbs-at-sort::after {
	content: " ▲";
	font-size: 10px;
}

.cbs-at-stocklist th[aria-sort="descending"] .cbs-at-sort::after {
	content: " ▼";
	font-size: 10px;
}

/* ---------- Aktiesidan ---------- */

.cbs-at-stock-head {
	margin-bottom: 20px;
}

.cbs-at-back {
	display: inline-block;
	font-size: 14px;
	margin-bottom: 12px;
}

.cbs-at-stock-title {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cbs-at-stock-title h2 {
	font-size: 36px;
	margin: 0;
	line-height: 1.1;
}

.cbs-at-periods-returns {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.cbs-at .cbs-at-periods-returns button {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 62px;
	padding: 5px 8px;
	margin: 0;
	line-height: 1.25;
}

.cbs-at-period-return {
	font-size: 12px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}

.cbs-at .cbs-at-compare input {
	width: auto;
	min-width: 0;
	height: auto;
	margin: 0;
	flex: 0 0 auto;
}

/* Aktiesidan visar priset i prisrutan, så kursraden i Handla behövs inte där. */
.cbs-at-dash-side .cbs-at-quote {
	display: none;
}

.cbs-at-compare {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	margin: 4px 0 8px;
	cursor: pointer;
}

.cbs-at-pricebox {
	text-align: center;
	padding: 5px 0 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #dbdfd7;
}

.cbs-at-pricebox > span {
	display: block;
}

.cbs-at-pricebox-change {
	font-size: 18px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.cbs-at-pricebox-price {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
	color: #151812;
}

.cbs-at-hilo {
	display: flex;
	justify-content: space-between;
	margin-top: 12px;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.cbs-at-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px 20px;
	margin: 20px 0 0;
	padding-top: 15px;
	border-top: 1px solid #dbdfd7;
}

.cbs-at-stats-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 0;
	padding-top: 0;
	margin-top: 0;
}

.cbs-at-stats dt {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: #51554c;
}

.cbs-at-stats dd {
	margin: 0;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}

.cbs-at-compbox {
	margin-top: 30px;
}

/* ---------- Senaste affärer ---------- */

.cbs-at-trades {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.cbs-at-trades li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid #dbdfd7;
	margin: 0;
}

.cbs-at-trade-text {
	flex: 1 1 auto;
	min-width: 0;
}

.cbs-at-trade-time {
	flex: 0 0 auto;
	color: #51554c;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
	.cbs-at-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbs-at-stock-title h2 {
		font-size: 28px;
	}

	.cbs-at .cbs-at-periods-returns button {
		min-width: 56px;
	}
}

/* ---------- Marknader och flaggor ---------- */

.cbs-at-flag {
	display: inline-block;
	flex: 0 0 auto;
	border-radius: 2px;
	vertical-align: middle;
}

.cbs-at-logo-wrap {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	vertical-align: middle;
}

.cbs-at-logo-wrap .cbs-at-logo {
	width: 100% !important;
	height: 100% !important;
}

.cbs-at-logo-flag {
	position: absolute;
	right: -4px;
	bottom: -2px;
	line-height: 0;
}

.cbs-at-logo-flag .cbs-at-flag {
	box-shadow: 0 0 0 1.5px #fff;
}

.cbs-at-markets {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 12px;
}

.cbs-at-markets a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid #dbdfd7;
	border-radius: 3px;
	color: #51554c;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
}

.cbs-at-markets a[aria-selected="true"] {
	border-color: #85c441;
	color: #151812;
}

.cbs-at-markets .cbs-at-flag {
	border-radius: 2px;
}

.cbs-at-market-count {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: #51554c;
}

.cbs-at-pricebox-sek {
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	color: #51554c;
	margin-bottom: 4px;
}

.cbs-at-tape-index b {
	font-weight: 700;
}

/* ---------- Sök och "Visa fler" ---------- */

.cbs-at-search {
	display: block;
	max-width: 360px;
	margin: 0 0 10px;
}

.cbs-at .cbs-at-search input {
	width: 100%;
	background: transparent;
}

.cbs-at-more-wrap {
	text-align: center;
	margin-top: 15px;
}

.cbs-at .cbs-at-more[hidden] {
	display: none;
}

.cbs-at .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Deltagare: namn, program, profil ---------- */

.cbs-at .cbs-at-person {
	color: inherit;
	font-weight: 500;
	text-decoration: none;
}

.cbs-at .cbs-at-person:hover {
	text-decoration: underline;
}

.cbs-at-prog {
	display: inline-block;
	margin-left: 4px;
	padding: 0 6px;
	border: 1px solid #dbdfd7;
	border-radius: 3px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 11px;
	line-height: 17px;
	color: #51554c;
	vertical-align: 1px;
	white-space: nowrap;
}

.cbs-at-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #85c441;
	color: #0f130e;
	font-family: Georgia, serif;
	font-weight: 700;
	font-size: 22px;
	flex: 0 0 auto;
}

.cbs-at-stats-row {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cbs-at-callout {
	padding: 12px 16px;
	border-left: 3px solid #85c441;
	background: rgba(133, 196, 65, 0.08);
	font-size: 15px;
}

.cbs-at-rocket {
	font-size: 18px;
}

.cbs-at-unranked td {
	opacity: 0.6;
}

/* Märken */
.cbs-at-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cbs-at-badge {
	margin: 0;
	padding: 8px 12px;
	border: 1px solid #85c441;
	border-radius: 3px;
	font-size: 13px;
	min-width: 150px;
}

.cbs-at-badge strong {
	display: block;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 15px;
}

.cbs-at-badge span {
	color: #51554c;
}

/* Handel per marknad */
.cbs-at-bars {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cbs-at-bars li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-size: 14px;
}

.cbs-at-bar-label {
	width: 70px;
}

.cbs-at-bar {
	flex: 1 1 auto;
	height: 8px;
	background: #dbdfd7;
	border-radius: 3px;
	overflow: hidden;
}

.cbs-at-bar span {
	display: block;
	height: 100%;
	background: #85c441;
}

.cbs-at-bar-value {
	width: 44px;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* Bevakning */
.cbs-at .cbs-at-star {
	width: auto;
	height: auto;
	background: none;
	border: 0;
	padding: 0 2px;
	margin: 0 2px 0 0;
	font-size: 16px;
	line-height: 1;
	color: #dbdfd7;
	cursor: pointer;
	vertical-align: middle;
}

.cbs-at .cbs-at-star[aria-pressed="true"] {
	color: #85c441;
}

.cbs-at-stock-title h2 .cbs-at-star {
	font-size: 26px;
	margin-left: 6px;
	vertical-align: 4px;
}

.cbs-at-star-icon {
	color: #85c441;
}

.cbs-at-watch li .cbs-at-num {
	flex: 0 0 auto;
	font-variant-numeric: tabular-nums;
}

/* ---------- Vinnarsidan ---------- */

.cbs-at-winners {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid #dbdfd7;
}

.cbs-at-winners-lead {
	font-size: 18px;
}

.cbs-at-podium {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1.2fr 1fr;
	gap: 16px;
	align-items: end;
}

.cbs-at-podium li {
	margin: 0;
	padding: 20px 16px;
	border: 1px solid #dbdfd7;
	border-radius: 3px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.cbs-at-podium-1 {
	order: 2;
	border-color: #85c441 !important;
	padding-top: 34px !important;
}

.cbs-at-podium-2 {
	order: 1;
}

.cbs-at-podium-3 {
	order: 3;
}

.cbs-at-podium-place {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 40px;
	line-height: 1;
	color: #85c441;
}

.cbs-at-podium-name {
	font-size: 18px;
}

.cbs-at-podium-return {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 26px;
}

.cbs-at-diploma-link {
	font-size: 13px;
}

.cbs-at-winner-facts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
	.cbs-at-stats-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbs-at-podium {
		grid-template-columns: 1fr;
	}

	.cbs-at-podium li {
		order: 0 !important;
	}

	.cbs-at-winner-facts {
		grid-template-columns: 1fr;
	}
}

.cbs-at-trade-time.cbs-at-up {
	color: #85c441;
}

.cbs-at-trade-time.cbs-at-down {
	color: #c44141;
}

/* ---------- Detaljer enligt Web Interface Guidelines ---------- */

.cbs-at button,
.cbs-at a,
.cbs-at select {
	touch-action: manipulation;
}

.cbs-at h2,
.cbs-at h3,
.cbs-at-page-title {
	text-wrap: balance;
}

.cbs-at-tape {
	position: relative;
}

.cbs-at-tape-paused .cbs-at-tape-track {
	animation-play-state: paused;
}

.cbs-at .cbs-at-tape-pause {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid #dbdfd7;
	border-radius: 3px;
	background: #fff;
	color: #151812;
	font-size: 10px;
	line-height: 1;
}

.cbs-at .cbs-at-periods button:hover,
.cbs-at .cbs-at-markets a:hover {
	border-color: #151812;
}

.cbs-at .cbs-at-tabs button:hover,
.cbs-at-nav a:hover {
	color: #151812;
}

