/**
 * Maestro Kiosk — 43" portrait 1080 × 1920
 */

html.maestro-kiosk-html,
body.maestro-kiosk-body {
	margin: 0 !important;
	padding: 0 !important;
	width: 1080px;
	height: 1920px;
	overflow: hidden !important;
	background: #0f172a !important;
	font-family: 'Inter', system-ui, sans-serif;
	-webkit-user-select: none;
	user-select: none;
	touch-action: manipulation;
	overscroll-behavior: none;
}

body.maestro-kiosk-body * {
	box-sizing: border-box;
}

/* Hide anything theme might leak */
body.maestro-kiosk-body > *:not(#maestro-calculator):not(script):not(style) {
	display: none !important;
}

body.maestro-kiosk-body #maestro-calculator.maestro-kiosk {
	display: flex !important;
	flex-direction: column;
	width: 1080px;
	height: 1920px;
	max-width: none;
	margin: 0;
	padding: 36px 40px 32px;
	border: none;
	border-radius: 0;
	box-shadow: none;
	overflow: hidden;
	background:
		radial-gradient(ellipse 80% 40% at 50% 0%, rgba(235, 33, 40, 0.18), transparent 60%),
		linear-gradient(180deg, #111827 0%, #0f172a 40%, #1e293b 100%);
	color: #f8fafc;
	gap: 28px;
}

/* Header */
.maestro-kiosk .kiosk-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-shrink: 0;
}

.maestro-kiosk .kiosk-brand .brand-badge {
	display: inline-block;
	background: #eb2128;
	color: #fff;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 12px;
}

.maestro-kiosk .dashboard-title {
	font-size: 3.4rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 8px;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.maestro-kiosk .dashboard-title .script-text {
	font-family: 'Dancing Script', cursive;
	color: #eb2128;
	font-size: 3.8rem;
}

.maestro-kiosk .dashboard-subtitle {
	color: #94a3b8;
	font-size: 1.25rem;
	margin: 0;
}

.maestro-kiosk .kiosk-product {
	width: 200px;
	flex-shrink: 0;
}

.maestro-kiosk .kiosk-product img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

/* Stats */
.maestro-kiosk .kiosk-stats {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 20px;
	flex-shrink: 0;
}

.maestro-kiosk .stat-box {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	padding: 28px 32px;
	min-height: 160px;
	box-shadow: none;
}

.maestro-kiosk .stat-box:hover {
	transform: none;
	box-shadow: none;
}

.maestro-kiosk .stat-box.main-stat {
	background: linear-gradient(135deg, #eb2128 0%, #991b1b 100%);
	border: none;
}

.maestro-kiosk .stat-label {
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: #94a3b8;
	margin-bottom: 12px;
}

.maestro-kiosk .main-stat .stat-label,
.maestro-kiosk .main-stat .stat-note {
	color: rgba(255, 255, 255, 0.85);
}

.maestro-kiosk .stat-value {
	font-size: 3.2rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.maestro-kiosk .main-stat .stat-value {
	font-size: 3.6rem;
}

.maestro-kiosk .stat-note {
	margin-top: 10px;
	font-size: 0.95rem;
	color: #94a3b8;
}

/* Controls */
.maestro-kiosk .kiosk-controls {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	flex-shrink: 0;
}

.maestro-kiosk .kiosk-control-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 22px;
	padding: 22px 24px;
}

.maestro-kiosk .kiosk-control-card.usage-card {
	grid-column: 1 / -1;
	margin-top: 0;
	padding-bottom: 22px;
	border-bottom: none;
}

.maestro-kiosk .kiosk-control-card.highlight {
	border-color: rgba(235, 33, 40, 0.35);
	background: rgba(235, 33, 40, 0.08);
}

.maestro-kiosk .kiosk-control-card h2 {
	margin: 0 0 16px;
	font-size: 1.15rem;
	font-weight: 700;
	color: #e2e8f0;
}

.maestro-kiosk .kiosk-control-card h2 small {
	font-weight: 500;
	color: #94a3b8;
	font-size: 0.95rem;
}

.maestro-kiosk .touch-stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.maestro-kiosk .touch-stepper.locked input {
	width: 100%;
	max-width: none;
	cursor: default;
	background: rgba(15, 23, 42, 0.5);
	color: #94a3b8;
}

.maestro-kiosk .touch-btn {
	width: 88px;
	height: 88px;
	border-radius: 20px;
	border: 2px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.maestro-kiosk .touch-btn:active {
	background: #eb2128;
	border-color: #eb2128;
	transform: scale(0.96);
}

.maestro-kiosk .touch-stepper input {
	width: 180px;
	height: 88px;
	border-radius: 18px;
	border: 2px solid rgba(255, 255, 255, 0.12);
	background: rgba(15, 23, 42, 0.65);
	color: #fff;
	font-size: 2rem;
	font-weight: 800;
	text-align: center;
	-moz-appearance: textfield;
}

.maestro-kiosk .touch-stepper input::-webkit-outer-spin-button,
.maestro-kiosk .touch-stepper input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.maestro-kiosk .usage-value-display {
	margin-bottom: 10px;
}

.maestro-kiosk .usage-value-display span {
	font-size: 4rem;
	color: #eb2128;
}

.maestro-kiosk .usage-value-display small {
	font-size: 1.2rem;
	color: #94a3b8;
}

.maestro-kiosk .kiosk-slider {
	height: 14px;
	margin: 8px 0 20px;
	background: rgba(255, 255, 255, 0.15);
}

.maestro-kiosk .kiosk-slider::-webkit-slider-thumb {
	width: 44px;
	height: 44px;
	border: 5px solid #fff;
	background: #eb2128;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.maestro-kiosk .kiosk-slider::-moz-range-thumb {
	width: 44px;
	height: 44px;
	border: 5px solid #fff;
	background: #eb2128;
	border-radius: 50%;
}

/* Cost cards */
.maestro-kiosk .kiosk-costs {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex-shrink: 0;
}

.maestro-kiosk .cost-progression-card {
	margin-bottom: 0;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
	border-radius: 18px;
}

.maestro-kiosk .progression-header {
	background: rgba(255, 255, 255, 0.04);
	border-bottom-color: rgba(255, 255, 255, 0.08);
	padding: 14px 20px;
}

.maestro-kiosk .progression-header h4 {
	font-size: 0.9rem;
	color: #cbd5e1;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.maestro-kiosk .progression-grid {
	background: rgba(235, 33, 40, 0.12);
	border-top: none;
}

.maestro-kiosk .progression-step {
	padding: 14px 4px;
	border-right-color: rgba(255, 255, 255, 0.08);
}

.maestro-kiosk .step-label {
	font-size: 0.85rem;
	color: #94a3b8;
}

.maestro-kiosk .step-value {
	font-size: 0.95rem;
	color: #fff;
}

.maestro-kiosk .sade-yag-cost-grid .progression-step {
	padding: 16px 24px;
}

.maestro-kiosk .sade-yag-cost-grid .step-value {
	font-size: 1.35rem;
}

/* Table */
.maestro-kiosk .kiosk-table {
	flex: 1;
	min-height: 0;
	margin-bottom: 0;
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
}

.maestro-kiosk .kiosk-table .card-header h3 {
	color: #e2e8f0;
	font-size: 1.1rem;
	margin-bottom: 14px;
}

.maestro-kiosk .table-container {
	flex: 1;
	overflow: hidden;
}

.maestro-kiosk #results-table {
	min-width: 0;
	width: 100%;
}

.maestro-kiosk #results-table th {
	padding: 12px 10px;
	font-size: 0.85rem;
	color: #94a3b8;
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

.maestro-kiosk #results-table td {
	padding: 14px 10px;
	font-size: 1.05rem;
	color: #f1f5f9;
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

.maestro-kiosk #results-table th:first-child,
.maestro-kiosk #results-table td:first-child {
	color: #eb2128;
}
