* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	background: #1c1c1c;
	color: #ccc;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 13px;
	padding: 20px;
	line-height: 1.4;
}

.wrap {
	max-width: 560px;
	margin: 0 auto;
}

h1 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #eee;
	margin-bottom: 2px;
}

.subtitle {
	font-size: 11px;
	color: #777;
	margin-bottom: 16px;
}

.panel-group {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.panel {
	background: #252525;
	border-radius: 3px;
	padding: 14px;
}

.panel-title {
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #888;
	font-weight: 700;
	margin-bottom: 8px;
}

select, input[type="text"] {
	width: 100%;
	background: #2e2e2e;
	border: none;
	border-radius: 3px;
	color: #eee;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	padding: 10px 12px;
	outline: none;
}

select:focus, input[type="text"]:focus {
	box-shadow: 0 0 0 1px #4e9fd4;
}

select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0 L5 6 L10 0' fill='none' stroke='%23888' stroke-width='1.5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 30px;
	cursor: pointer;
}

.io-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}

.metric-tile {
	background: #252525;
	border-top: 2px solid #4e9fd4;
	border-radius: 3px;
	padding: 14px;
}

.metric-label {
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #888;
	font-weight: 700;
	margin-bottom: 8px;
}

.result-panel {
	background: #252525;
	border-left: 2px solid #4e9fd4;
	border-radius: 3px;
	padding: 14px 16px;
}

.result-row {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #999;
	padding: 3px 0;
}

.result-row span:last-child {
	color: #ccc;
	font-variant-numeric: tabular-nums;
}

.fps-fraction {
	color: #4e9fd4;
}

footer {
	margin-top: 16px;
	font-size: 10px;
	color: #555;
	text-align: center;
}