body {
	font-family: Arial, sans-serif;
	max-width: 900px;
	margin: 20px auto;
	position: relative;
	padding: 0 20px;
}
.controls {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin: 15px 0;
}
.card-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
	margin: 20px 0;
}
.card {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px;
	background: #fafafa;
}
.value {
	font-size: 1.5rem;
	font-weight: bold;
}
canvas {
	max-height: 450px;
	margin: 20px 0;
}
#detailsSection{
	margin-top:30px;
}

#detailsSection summary{
	cursor:pointer;
	font-size:1.2rem;
	font-weight:bold;
	padding:10px;
	background:#f5f5f5;
	border:1px solid #ddd;
	border-radius:6px;
}

#detailsSection[open] summary{
	border-bottom-left-radius:0;
	border-bottom-right-radius:0;
}

.details-content{
	padding-top:15px;
}

#detailsSection summary:hover{
	background:#ececec;
}

table {
	width: 100%;
	border-collapse: collapse;
}
th,
td {
	border: 1px solid #ddd;
	padding: 6px;
}
.positive {
	color: green;
}
.negative {
	color: red;
}
.past-row{
	background-color:#f5f5f5;
	color:#9ca3af;
}

.past-row td{
	color:#9ca3af;
}

.past-cell{
	color:#9ca3af !important;
}


#ssp-banner {
	top: 0px;
	right: 20px;
	text-align: center;
	padding: 5px;
	transition-duration: .2s;
}
#ssp-banner:hover {
	border-color:#c00000;
	box-shadow:0 0 12px rgba(192,0,0,0.35);
	transform:scale(1.03);
}

@media (min-width: 800px) {
	#ssp-banner{
		position: absolute;
	}
}

#ssp-text{
	font-weight: bold;
	font-size: 1.1rem;
	color: #c00000;
	margin-bottom: 8px;
}

#ssp-banner img{
	width: 300px;
	max-width: 35vw;
	height: auto;
}

@media (min-width: 800px) {
	#ssp-banner img{
		width: 200px;
	}
}

