.zcas-quote {
	box-sizing: border-box;
	color: #777;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.65;
	margin: 2.5rem 0;
}

.zcas-quote *,
.zcas-quote *::before,
.zcas-quote *::after {
	box-sizing: inherit;
}

.zcas-quote__panel {
	max-width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.zcas-quote__header {
	margin: 0 0 1.8rem;
	padding: 0;
	border: 0;
}

.zcas-quote__eyebrow {
	margin: 0 0 .45rem;
	color: #2e164e;
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.zcas-quote h2,
.zcas-quote h3 {
	margin: 0;
	color: #4b4b4b;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 500;
	line-height: 1.2;
}

.zcas-quote h2 {
	font-size: clamp(1.9rem, 3vw, 2.5rem);
}

.zcas-quote h2::after {
	display: block;
	width: 96px;
	height: 6px;
	margin: 18px 0 0;
	background: #e4a024;
	content: "";
}

.zcas-quote h3 {
	font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.zcas-quote__header p:last-child {
	max-width: 860px;
	margin: 1.15rem 0 0;
	color: #777;
}

.zcas-quote__status {
	margin: 0 0 1.2rem;
	padding: .8rem 1rem;
	border: 1px solid #d6d6d6;
	background: #fff;
	color: #777;
}

.zcas-quote__status--error,
.zcas-quote__error {
	margin: 1rem 0 0;
	padding: .85rem 1rem;
	border: 1px solid #d6d6d6;
	border-left: 4px solid #b42318;
	background: #fff;
	color: #8b1a1a;
}

.zcas-quote__body {
	padding: 0;
}

.zcas-quote__controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 1.5rem;
	margin-bottom: 1.1rem;
}

.zcas-quote__courses {
	margin-top: .5rem;
	padding-top: .5rem;
	border-top: 1px solid #eee;
}

.zcas-quote__course-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 210px auto;
	gap: .75rem;
	align-items: end;
	margin-top: .75rem;
}

.zcas-quote label span {
	display: block;
	margin: 0 0 .45rem;
	color: #555;
	font-size: .95rem;
	font-weight: 400;
}

.zcas-quote select {
	width: 100%;
	min-height: 44px;
	padding: .65rem .75rem;
	border: 1px solid #ccc;
	border-radius: 0;
	background: #fff;
	color: #555;
	font: inherit;
}

.zcas-quote select:focus {
	outline: none;
	border-color: #2e164e;
	box-shadow: none;
}

.zcas-quote__actions,
.zcas-quote__result-head {
	display: flex;
	gap: .75rem;
	align-items: center;
	justify-content: space-between;
	margin-top: 1.3rem;
}

.zcas-quote__result-actions {
	display: inline-flex;
	gap: .6rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.zcas-quote button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: .65rem 1.05rem;
	border: 1px solid #2e164e;
	border-radius: 0;
	background: #2e164e;
	color: #fff;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

.zcas-quote button[data-zcas-calculate],
.zcas-quote button[data-zcas-download-pdf] {
	border-color: #e4a024;
	background: #e4a024;
	color: #fff;
}

.zcas-quote button[data-zcas-add-course],
.zcas-quote__remove,
.zcas-quote__result-head button[data-zcas-print] {
	background: #fff;
	color: #2e164e;
}

.zcas-quote button:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.zcas-quote__result {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #ddd;
}

.zcas-quote__table {
	width: 100%;
	margin-top: 1rem;
	border-collapse: collapse;
	color: #555;
	font-size: .95rem;
}

.zcas-quote__table th,
.zcas-quote__table td {
	padding: .75rem .9rem;
	border: 1px solid #ccc;
	text-align: left;
	vertical-align: top;
}

.zcas-quote__table th {
	background: #fff;
	color: #4b4b4b;
	font-weight: 500;
}

.zcas-quote__table th:last-child,
.zcas-quote__table td:last-child {
	text-align: right;
	white-space: nowrap;
}

.zcas-quote__summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1.2rem;
	border: 1px solid #ccc;
	background: #fff;
}

.zcas-quote__summary p {
	margin: 0;
	padding: .75rem .9rem;
	border-bottom: 1px solid #ccc;
	color: #555;
}

.zcas-quote__summary p:nth-child(odd) {
	border-right: 1px solid #ccc;
}

.zcas-quote__summary p:last-child,
.zcas-quote__summary p:nth-last-child(2):nth-child(odd) {
	border-bottom: 0;
}

.zcas-quote__summary p:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	border-right: 0;
}

.zcas-quote__muted {
	color: #666;
	font-size: .85rem;
	font-style: italic;
}

.zcas-quote__disclaimer {
	margin: 1rem 0 0;
	color: #777;
	font-size: .95rem;
}

@media (max-width: 760px) {
	.zcas-quote__controls,
	.zcas-quote__course-row,
	.zcas-quote__summary {
		grid-template-columns: 1fr;
	}

	.zcas-quote__actions,
	.zcas-quote__result-head {
		align-items: stretch;
		flex-direction: column;
	}

	.zcas-quote__result-actions {
		justify-content: stretch;
	}

	.zcas-quote button,
	.zcas-quote__result-actions button {
		width: 100%;
	}

	.zcas-quote__summary p:nth-child(odd) {
		border-right: 0;
	}
}

@media print {
	body * {
		visibility: hidden;
	}

	.zcas-quote,
	.zcas-quote * {
		visibility: visible;
	}

	.zcas-quote {
		position: absolute;
		inset: 0;
		margin: 0;
	}

	.zcas-quote__controls,
	.zcas-quote__courses,
	.zcas-quote__actions,
	.zcas-quote__result-head button {
		display: none;
	}
}
