/* Horseplay member app shell (/app/). Brand colours match the theme. */
body.cogent-app {
	margin: 0;
	min-height: 100vh;
	background: #0a1628;
	color: #e2e8f0;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	padding-bottom: env(safe-area-inset-bottom);
}

.cogent-app__bar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
	background: #132038;
	border-bottom: 1px solid #263a57;
}
.cogent-app__bar img { border-radius: 6px; }
.cogent-app__brand { font-weight: 700; color: #e2c070; flex: 1; }
.cogent-app__who { font-size: 12px; color: #94a3b8; }
.cogent-app__login { color: #e2c070; font-weight: 600; text-decoration: none; }

.cogent-app__tabs {
	position: sticky;
	top: calc(53px + env(safe-area-inset-top));
	z-index: 9;
	display: flex;
	background: #132038;
	border-bottom: 1px solid #263a57;
}
.cogent-app__tabs button {
	flex: 1;
	padding: 12px 0;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	color: #94a3b8;
	font: inherit;
	font-weight: 600;
}
.cogent-app__tabs button[aria-selected="true"] { color: #e2c070; border-bottom-color: #c9a84c; }

.cogent-app__main { padding: 16px; max-width: 760px; margin: 0 auto; }
.cogent-app__panel[hidden] { display: none; }
.cogent-app__panel h2 { margin-top: 0; }
.cogent-app__note { color: #94a3b8; font-size: 14px; }
.cogent-app__note a { color: #e2c070; }

.cogent-app__install {
	background: #1c2d4a;
	border: 1px solid #263a57;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.cogent-app__prefs label {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #263a57;
}
.cogent-app__prefs input[type="checkbox"] { width: 20px; height: 20px; accent-color: #c9a84c; }
.cogent-app__off {
	margin-top: 16px;
	background: none;
	border: 1px solid #94a3b8;
	color: #e2e8f0;
	border-radius: 6px;
	padding: 10px 14px;
	font: inherit;
}
.cogent-app__status { min-height: 1.2em; color: #e2c070; }

.cogent-app .btn--gold {
	display: inline-block;
	background: #c9a84c;
	color: #0a1628;
	border: 0;
	border-radius: 6px;
	padding: 12px 18px;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
}

.cogent-app__footer {
	padding: 16px;
	text-align: center;
	font-size: 12px;
	color: #94a3b8;
	border-top: 1px solid #263a57;
}

/* The site's printed card button makes no sense inside the app. */
.cogent-app .cogent-daily-card__print { display: none; }
