/**
 * JP Calorie Calculator — scoped styles.
 * Layout/controls come from UIkit; this file only adds scoping, chart
 * sizing and print behaviour.
 */

#jp-cc-app {
	position: relative;
}

.jpcc-chart {
	height: 220px;
	width: 100%;
}

.jpcc-results .jpcc-item {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.jpcc-results .jpcc-item:last-child {
	border-bottom: none;
}

.jpcc-totals > div {
	border-bottom: 1px dashed #e5e5e5;
	padding: 4px 0;
}

.jpcc-totals > div:last-child {
	border-bottom: none;
}

/* Print: hide the interactive app chrome, show the summary table only. */
.jpcc-print-summary {
	display: none;
	margin-top: 24px;
}

@media print {
	.jpcc-noprint {
		display: none !important;
	}

	.jpcc-print-summary {
		display: block !important;
	}
}
