#bmiApp {
	--bm-ink: #0f172a;
	--bm-line: #e2e8f0;
	--bm-primary: #3b82f6;
	--bm-primary-hover: #2563eb;
	--bm-soft: #eff6ff;
	--bm-mid: #dbeafe;
	--bm-radius: 0.375rem;
	--bm-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}

#bmiApp .bm-shell {
	background:
		radial-gradient(1200px 420px at 10% -10%, rgba(59, 130, 246, 0.16), transparent 55%),
		radial-gradient(900px 360px at 100% 0%, rgba(37, 99, 235, 0.08), transparent 50%);
	border: 1px solid var(--bm-line);
	border-radius: var(--bm-radius);
	box-shadow: var(--bm-shadow);
	overflow: hidden;
	height: 100%;
}

#bmiApp .bm-panel {
	background: rgba(255, 255, 255, 0.92);
	height: 100%;
}

#bmiApp .bm-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.375rem;
}

#bmiApp .bm-hint {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--bm-radius);
	padding: 0.65rem 0.85rem;
}

#bmiApp .bm-input {
	font-variant-numeric: tabular-nums;
}

#bmiApp .bm-input:focus {
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 1px #3b82f6;
}

#bmiApp .bm-submit {
	height: 3rem;
	padding: 0 1.5rem;
	border: 0;
	border-radius: 0.5rem;
	background: var(--bm-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}

#bmiApp .bm-submit:hover {
	background: var(--bm-primary-hover);
}

#bmiApp .bm-clear {
	height: 3rem;
	padding: 0 1.5rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	background: #fff;
	color: #374151;
	font-weight: 600;
	cursor: pointer;
}

#bmiApp .bm-clear:hover {
	background: #f8fafc;
}

#bmiApp .bm-category {
	border-radius: 0.5rem;
	padding: 1rem 1.1rem;
	border: 1px solid #bfdbfe;
	background: linear-gradient(135deg, var(--bm-soft), #fff 62%);
}

#bmiApp .bm-category[data-tone="low"] {
	border-color: #fde68a;
	background: linear-gradient(135deg, #fffbeb, #fff 62%);
}

#bmiApp .bm-category[data-tone="high"] {
	border-color: #fecaca;
	background: linear-gradient(135deg, #fef2f2, #fff 62%);
}

#bmiApp .bm-category-label {
	margin: 0;
	font-size: 0.75rem;
	color: #64748b;
}

#bmiApp .bm-category-value {
	margin: 0.25rem 0 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--bm-ink);
	line-height: 1.2;
}

#bmiApp .bm-category-bmi {
	margin: 0.35rem 0 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #1d4ed8;
}

#bmiApp .bm-metrics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-top: 0.9rem;
}

#bmiApp .bm-metric {
	border: 1px solid var(--bm-line);
	border-radius: 0.5rem;
	background: #fff;
	padding: 0.75rem 0.9rem;
}

#bmiApp .bm-metric-label {
	margin: 0;
	font-size: 0.75rem;
	color: #64748b;
}

#bmiApp .bm-metric-value {
	margin: 0.3rem 0 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--bm-ink);
	line-height: 1.35;
}

#bmiApp .bm-empty {
	border: 1px dashed #e5e7eb;
	background: #f9fafb;
	border-radius: var(--bm-radius);
	color: #9ca3af;
}

#bmiApp .bm-note {
	margin-top: 0.85rem;
	font-size: 0.75rem;
	line-height: 1.6;
	color: #94a3b8;
}

#bmiApp .bm-notes {
	background: #fff;
	border-radius: var(--bm-radius);
	box-shadow: var(--bm-shadow);
	border: 1px solid var(--bm-line);
}

#bmiApp .bm-notes a {
	color: #2563eb;
}
