/* Dealer portal palette and shared component styling. Page-specific CSS stays in the Dealer area. */
.portal-public-shell,
.dealer-portal-shell,
.dealer-portal-embed,
.dealer-portal-dialog {
	--portal-ink:#353368;
	--portal-violet:#806cd9;
	--portal-violet-dark:#6b5bc4;
	--portal-forest:#557b2c;
	--portal-forest-dark:#456424;
	--portal-teal:#277c80;
	--portal-teal-dark:#20666a;
	--portal-sage:#aec78f;
	--portal-lavender:#e6e2f8;
	--portal-paper:#fff;
	--portal-canvas:#f3f5f7;
	--portal-border:#dfe3e7;
	--portal-text:#212529;
	font-family:'Inter', Arial, sans-serif;
}

.dealer-portal-shell main .table a:not(.btn),
.dealer-portal-shell main .panel-body a:not(.btn),
.dealer-portal-embed main .table a:not(.btn),
.dealer-portal-dialog .modal-body a:not(.btn):not(.item) {
	color:var(--portal-teal);
}

.dealer-portal-shell main .table a:not(.btn):hover,
.dealer-portal-shell main .panel-body a:not(.btn):hover,
.dealer-portal-embed main .table a:not(.btn):hover,
.dealer-portal-dialog .modal-body a:not(.btn):not(.item):hover {
	color:var(--portal-ink);
}

/* Shell, navigation, and logged-in identity. */
.dealer-portal-shell .portal-brand__section,
.dealer-portal-shell .portal-account__identity span {
	color:#67619c;
}

.dealer-portal-shell .portal-account__menu > a > .portal-account__avatar {
	display:flex;
	align-items:center;
	justify-content:center;
	background:var(--portal-lavender);
	color:var(--portal-ink);
}

.dealer-portal-shell .portal-account__avatar .fa-user {
	margin:0;
}

.dealer-portal-shell .portal-account__menu > a > .portal-account__identity {
	display:flex;
	flex-direction:column;
}

.dealer-portal-shell .portal-account__identity > span {
	display:block;
	height:auto;
	text-align:left;
}

.dealer-portal-shell .portal-account__chevron {
	color:var(--portal-violet);
}

.dealer-portal-shell .portal-account__menu .dropdown-menu li a:hover {
	background:#f0eef9;
}

.dealer-portal-shell .portal-nav__list li a.active {
	border-bottom-color:var(--portal-sage);
}

.dealer-portal-shell .portal-nav__list li a,
.dealer-portal-shell .portal-nav__list li a:hover,
.dealer-portal-shell .portal-nav__list li a:visited,
.dealer-portal-shell .portal-nav__list li a:focus {
	color:#fff;
}

@media (max-width:992px) {
	.dealer-portal-shell .portal-nav__list li a.active {
		border-left-color:var(--portal-sage);
	}
}

/* Account options, resource links, and dashboard summaries. */
.dealer-portal-shell .box-list .item {
	border-radius:6px;
}

.dealer-portal-shell .box-list a.item span {
	border-radius:0 0 6px 6px;
}

.dealer-portal-shell .box-list .item.green,
.dealer-portal-shell .total-summary .item {
	background-color:var(--portal-forest);
}

.dealer-portal-shell .box-list .item.green:hover {
	background-color:var(--portal-forest-dark);
}

.dealer-portal-shell .box-list .item.red {
	background-color:var(--portal-violet);
}

.dealer-portal-shell .box-list .item.red:hover {
	background-color:var(--portal-violet-dark);
}

.dealer-portal-shell .box-list .item.blue {
	background-color:var(--portal-teal);
}

.dealer-portal-shell .box-list .item.blue:hover {
	background-color:var(--portal-teal-dark);
}

.dealer-portal-shell .box-list .item.yellow {
	background-color:var(--portal-ink);
}

.dealer-portal-shell .box-list .item.yellow:hover {
	background-color:#29274f;
}

.dealer-portal-shell .total-summary .item.blue {
	background-color:var(--portal-teal);
}

.dealer-portal-shell .total-summary .item.red {
	background-color:var(--portal-violet);
}

.dealer-portal-shell .total-summary h5,
.dealer-portal-shell .total-summary p,
.dealer-portal-shell .total-summary a {
	color:#fff;
}

/* Shared forms, filters, actions, and data surfaces. */
.dealer-portal-shell .filters {
	height:auto;
	min-height:77px;
	background:var(--portal-ink);
}

.dealer-portal-shell .form-control,
.dealer-portal-dialog .form-control {
	border-color:#b8c1c8;
	box-shadow:none;
}

.dealer-portal-shell .form-control:focus,
.dealer-portal-dialog .form-control:focus,
.portal-public-shell .form-control:focus {
	border-color:var(--portal-violet);
	box-shadow:0 0 0 3px rgba(128,108,217,.16);
}

.dealer-portal-shell .btn-default,
.dealer-portal-dialog .btn-default {
	border-color:#b8c1c8;
	background:#fff;
	color:var(--portal-ink);
}

.dealer-portal-shell .btn-default:hover,
.dealer-portal-dialog .btn-default:hover {
	border-color:var(--portal-violet);
	background:#f4f2fb;
	color:var(--portal-ink);
}

.dealer-portal-shell .btn-primary,
.dealer-portal-dialog .btn-primary {
	border-color:var(--portal-violet);
	background:var(--portal-violet);
	color:#fff;
}

.dealer-portal-shell .btn-primary:hover,
.dealer-portal-dialog .btn-primary:hover {
	border-color:var(--portal-violet-dark);
	background:var(--portal-violet-dark);
}

.dealer-portal-shell .btn-success,
.dealer-portal-shell .fep.btn-success,
.dealer-portal-dialog .btn-success {
	border-color:var(--portal-forest);
	background:var(--portal-forest);
	color:#fff;
}

.dealer-portal-shell .btn-success:hover,
.dealer-portal-shell .btn-success:focus,
.dealer-portal-shell .fep.btn-success:hover,
.dealer-portal-shell .fep.btn-success:focus,
.dealer-portal-dialog .btn-success:hover {
	border-color:var(--portal-forest-dark);
	background:var(--portal-forest-dark);
}

.dealer-portal-shell .table,
.dealer-portal-shell .panel,
.dealer-portal-shell .modal-content {
	border-color:var(--portal-border);
	background:var(--portal-paper);
}

.dealer-portal-shell .table > thead > tr > th {
	border-bottom-color:var(--portal-border);
	background:#efedf8;
	color:var(--portal-ink);
}

.dealer-portal-shell .table-striped > tbody > tr:nth-of-type(odd) {
	background:#f8f9fb;
}

.dealer-portal-shell .fep.table tr:nth-child(2n + 1) td {
	background:#f8f9fb;
}

.dealer-portal-shell .table-hover > tbody > tr:hover {
	background:#f0eef9;
}

.dealer-portal-shell .panel-heading,
.dealer-portal-shell .group-head {
	border-color:var(--portal-border);
	background:#efedf8;
	color:var(--portal-ink);
}

.dealer-portal-shell .breadcrumbs,
.dealer-portal-shell .loan-profile-menu .btn.active {
	border-color:var(--portal-border);
	background:#efedf8;
	color:var(--portal-ink);
}

.dealer-portal-shell .pagination > .active > a,
.dealer-portal-shell .pagination > .active > span {
	border-color:var(--portal-violet);
	background:var(--portal-violet);
	color:#fff;
}

/* Wizard accents stay separate from the contract and print surfaces. */
.dealer-portal-shell .fep-progress-bar span {
	background:var(--portal-teal);
}

.dealer-portal-shell .summary .foo div:nth-child(2) > span {
	color:var(--portal-forest);
}

.dealer-portal-shell .summary .foo div:nth-child(3) > span {
	color:var(--portal-teal);
}

.dealer-portal-shell .plan-table .bg-blue {
	background:#edf6f6;
}

.dealer-portal-embed > nav {
	background:var(--portal-ink);
}

.dealer-portal-embed > nav a,
.dealer-portal-embed > nav a:hover,
.dealer-portal-embed > nav a:focus {
	color:#fff;
}

.dealer-portal-embed .title {
	color:var(--portal-ink);
}

/* Public authentication and dealer popups use the same palette. */
.portal-public-shell .portal-login__panel {
	border-top-color:var(--portal-forest);
}

.portal-public-shell .portal-login__submit,
.portal-public-shell .portal-login__submit:hover,
.portal-public-shell .portal-login__submit:focus {
	background:var(--portal-violet);
	color:#fff;
}

.portal-public-shell .portal-login__submit:hover,
.portal-public-shell .portal-login__submit:focus {
	background:var(--portal-violet-dark);
}

.dealer-portal-dialog .modal-header,
.dealer-portal-dialog .modal-title {
	color:var(--portal-ink);
}

.dealer-portal-dialog .modal-footer {
	border-top-color:var(--portal-border);
}

@media (max-width:600px) {
	.dealer-portal-shell .loan-profile-menu {
		width:100% !important;
	}

	.portal-public-shell .portal-login {
		padding-bottom:155px;
	}
}

@media print {
	.dealer-portal-shell .table > thead > tr > th,
	.dealer-portal-shell .panel-heading,
	.dealer-portal-shell .group-head {
		background:transparent;
		color:#000;
	}
}

/* Dealer enrollment flow: compact working surfaces without altering calculations or contract data. */
.dealer-portal-shell .wizard-options__intro {
	max-width:650px;
	margin:-18px auto 28px;
	color:#687078;
	font-size:15px;
	line-height:1.55;
	text-align:center;
}

/* Standalone pre-application payment estimate. */
.dealer-portal-shell .sales-aid-tool { max-width: 960px; }
.dealer-portal-shell .sales-aid-tool__intro { margin: 28px 0 20px; }
.dealer-portal-shell .sales-aid-tool__intro p,
.dealer-portal-shell .sales-aid-tool__help { color: #687078; max-width: 720px; }
.dealer-portal-shell .sales-aid-tool__estimate-status { color: #8a5b00; margin: 12px 0 0; }
.dealer-portal-shell .sales-aid-tool__card { background: #fff; border: 1px solid #dce2e8; border-radius: 10px; box-shadow: 0 8px 20px rgba(32, 45, 61, .06); margin: 20px 0; padding: 28px; }
.dealer-portal-shell .sales-aid-tool__card h2 { color: #353368; font-size: 22px; margin: 0 0 8px; }
.dealer-portal-shell .sales-aid-tool__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 16px; }
.dealer-portal-shell .sales-aid-tool__result-heading { align-items: center; display: flex; gap: 16px; justify-content: space-between; }
.dealer-portal-shell .sales-aid-tool__comparison { margin-top: 20px; }
.dealer-portal-shell .sales-aid-tool__comparison h3,
.dealer-portal-shell .sales-aid-tool__notes h3 { color: #353368; font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.dealer-portal-shell .sales-aid-tool__comparison td:first-child { font-weight: 600; text-align: left; }
.dealer-portal-shell .sales-aid-tool__highlight td { background: #eef5e9 !important; color: #557B2C; font-weight: 700; }
.dealer-portal-shell .sales-aid-tool__equity-scroll { max-height: 315px; overflow: auto; }
.dealer-portal-shell .sales-aid-tool__small { color: #687078; font-size: 12px; line-height: 1.45; }
.dealer-portal-shell .sales-aid-tool__notes { border-top: 1px solid #e2e7eb; margin-top: 22px; padding-top: 22px; }
.dealer-portal-shell .sales-aid-tool__notes p,
.dealer-portal-shell .sales-aid-tool__notes li { color: #50565e; font-size: 13px; line-height: 1.45; }
.dealer-portal-shell .sales-aid-tool__disclosure { border-top: 1px solid #e2e7eb; color: #50565e; margin: 20px 0 0; padding-top: 18px; }
.dealer-portal-shell .sales-aid-tool__training h3 { color: #353368; font-size: 16px; margin-top: 12px; }
.dealer-portal-shell .sales-aid-tool__training p { color: #50565e; line-height: 1.5; }

/* The configured Sales Aid is a read-only review of the saved draft. It has no
   calculator controls: Continue resumes that same draft and Opt Out closes it. */
.dealer-portal-shell .sales-aid-summary { max-width: 1060px; }
.dealer-portal-shell .sales-aid-summary__intro { margin: 28px 0 20px; }
.dealer-portal-shell .sales-aid-summary__intro p { color: #687078; max-width: 720px; }
.dealer-portal-shell .sales-aid-summary__card { background: #fff; border: 1px solid #dce2e8; border-radius: 10px; box-shadow: 0 8px 20px rgba(32, 45, 61, .06); margin: 20px 0; overflow: hidden; }
.dealer-portal-shell .sales-aid-summary__heading { align-items: baseline; background: #f5f8f3; border-bottom: 1px solid #dce2e8; display: flex; justify-content: space-between; padding: 18px 22px; }
.dealer-portal-shell .sales-aid-summary__heading h2, .dealer-portal-shell .sales-aid-summary__notes h2 { color: #353368; font-size: 19px; font-weight: 700; margin: 0; }
.dealer-portal-shell .sales-aid-summary__heading span { color: #687078; font-size: 13px; }
.dealer-portal-shell .sales-aid-summary__table-wrap { overflow-x: auto; }
.dealer-portal-shell .sales-aid-summary__choice-table, .dealer-portal-shell .sales-aid-summary__equity-table { margin: 0; min-width: 620px; }
.dealer-portal-shell .sales-aid-summary__choice-table td:first-child { font-weight: 600; text-align: left; }
.dealer-portal-shell .sales-aid-summary__highlight td { background: #eef5e9 !important; color: #557b2c; font-weight: 700; }
.dealer-portal-shell .sales-aid-summary__small { color: #687078; font-size: 12px; line-height: 1.5; margin: 0; padding: 16px 22px 20px; }
.dealer-portal-shell .sales-aid-summary__notes { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 24px; }
.dealer-portal-shell .sales-aid-summary__notes > div { background: #fff; border: 1px solid #dce2e8; border-radius: 10px; box-shadow: 0 8px 20px rgba(32, 45, 61, .06); padding: 22px; }
.dealer-portal-shell .sales-aid-summary__notes h2 { margin-bottom: 14px; }
.dealer-portal-shell .sales-aid-summary__notes p, .dealer-portal-shell .sales-aid-summary__notes li { color: #50565e; font-size: 13px; line-height: 1.5; }
.dealer-portal-shell .sales-aid-summary__notes p:last-child, .dealer-portal-shell .sales-aid-summary__notes ul:last-child { margin-bottom: 0; }
.dealer-portal-shell .sales-aid-summary__stop-notice { color: #50565e; font-size: 13px; font-weight: 600; margin: 20px 0 0; text-align: center; }
.dealer-portal-shell .sales-aid-summary__actions { display: flex; justify-content: space-between; margin-top: 24px; }

@media (max-width: 767px) {
	.dealer-portal-shell .sales-aid-summary__heading { align-items: flex-start; flex-direction: column; gap: 4px; padding: 16px; }
	.dealer-portal-shell .sales-aid-summary__small { padding: 14px 16px 18px; }
	.dealer-portal-shell .sales-aid-summary__notes { grid-template-columns: 1fr; }
	.dealer-portal-shell .sales-aid-summary__notes > div { padding: 18px 16px; }
	.dealer-portal-shell .sales-aid-summary__actions { gap: 12px; }
	.dealer-portal-shell .sales-aid-summary__actions .btn { flex: 1 1 0; }
}

.dealer-portal-shell .summary,
.dealer-portal-shell .schedule {
	max-width:1200px;
	margin-right:auto;
	margin-left:auto;
}

.dealer-portal-shell .summary .head,
.dealer-portal-shell .schedule .head {
	display:flex;
	align-items:center;
	gap:10px;
	min-height:64px;
	padding:12px 16px;
	border-bottom:1px solid var(--portal-border);
	background:#fbfcfd;
}

.dealer-portal-shell .summary:not(.additional-benefits) .head {
	justify-content:center;
}

.dealer-portal-shell .summary .head .pull-left,
.dealer-portal-shell .schedule .head .pull-left,
.dealer-portal-shell .schedule .head .pull-right {
	float:none !important;
	margin:0;
}

.dealer-portal-shell .schedule .head .pull-right {
	margin-left:auto;
}

.dealer-portal-shell .summary .scroll-x {
	padding:8px;
}

.dealer-portal-shell .summary .fep.table {
	margin:0;
	border:0;
}

.dealer-portal-shell .summary .foo {
	display:grid;
	grid-template-columns:repeat(3, minmax(0, 1fr));
	gap:0;
	margin:0;
	padding:0;
}

.dealer-portal-shell .summary .foo > div {
	min-height:124px;
	padding:20px;
	border-right:1px solid var(--portal-border);
}

.dealer-portal-shell .summary .foo > div:last-child {
	border-right:0;
}

.dealer-portal-shell .summary .foo .btn {
	margin-top:14px;
}

.dealer-portal-shell .schedule {
	padding:0;
	border:1px solid var(--portal-border);
	border-radius:10px;
	background:#fff;
	box-shadow:0 8px 24px rgba(53,51,104,.05);
}

.dealer-portal-shell .schedule > .row {
	display:flex;
	margin:0;
	padding:24px;
}

.dealer-portal-shell .schedule > .row > [class*="col-"] {
	padding-right:12px;
	padding-left:12px;
}

.dealer-portal-shell .schedule .total,
.dealer-portal-shell .schedule .box {
	margin-bottom:16px;
	border:1px solid var(--portal-border);
	border-radius:8px;
	background:#fbfcfd;
	box-shadow:none;
}

.dealer-portal-shell .schedule .total {
	padding:6px 18px;
}

.dealer-portal-shell .schedule .total li {
	display:flex;
	justify-content:space-between;
	gap:12px;
	padding:10px 0;
	border-bottom:1px solid #e7ebee;
}

.dealer-portal-shell .schedule .total li:last-child {
	border-bottom:0;
}

.dealer-portal-shell .schedule .box {
	padding:14px 18px;
}

.dealer-portal-shell .schedule .box > div {
	display:grid;
	grid-template-columns:74px 1fr auto;
	gap:10px;
	padding:8px 0;
	border-bottom:1px solid #e7ebee;
}

.dealer-portal-shell .schedule .box > div > span {
	width:auto !important;
	margin:0;
	color:#454b52;
	font-size:15px;
	font-weight:600;
	line-height:1.4;
}

.dealer-portal-shell .schedule .box > div > span:nth-child(2) {
	text-align:left;
}

.dealer-portal-shell .schedule .box > div > span:nth-child(3) {
	color:var(--portal-forest);
	font-weight:700;
	text-align:right;
}

.dealer-portal-shell .schedule .box > div:last-of-type {
	border-bottom:0;
}

.dealer-portal-shell .schedule .box .edit {
	display:inline-flex;
	align-items:center;
	float:none !important;
	margin-top:12px;
	color:var(--portal-violet);
	font-weight:700;
	text-decoration:none;
}

.dealer-portal-shell .schedule .box > span.cl {
	display:flex;
	justify-content:center;
	padding-top:4px;
}

.dealer-portal-shell .schedule .box .edit:hover,
.dealer-portal-shell .schedule .box .edit:focus {
	color:var(--portal-violet-dark);
	text-decoration:none;
}

.dealer-portal-shell .schedule .box .edit i {
	margin-right:6px;
}

.dealer-portal-shell .schedule #Step3ApplyButton {
	display:table;
	margin:18px auto 0;
}

.dealer-portal-shell .schedule p.text-right {
	text-align:center;
}

.dealer-portal-shell .schedule .fep.table {
	box-shadow:0 4px 14px rgba(53,51,104,.04);
}

.dealer-portal-shell .schedule > .row .text.small {
	margin-top:28px;
	padding:0 24px 24px;
}

.dealer-portal-shell .schedule > .row .text.small p {
	margin-bottom:14px;
	line-height:1.5;
}

.dealer-portal-shell #BankWithdrawalDates .modal-dialog {
	width:auto;
	max-width:980px;
	margin:32px auto;
}

.dealer-portal-shell #BankWithdrawalDates .modal-header {
	display:flex;
	align-items:center;
	gap:16px;
	min-height:72px;
	background:#fff;
}

.dealer-portal-shell #BankWithdrawalDates .modal-header .logo img {
	max-width:150px;
	max-height:38px;
}

.dealer-portal-shell #BankWithdrawalDates .modal-body {
	padding:28px;
	background:#f7f8fa;
}

.dealer-portal-shell #BankWithdrawalDates .modal-body > .title {
	margin:0 0 20px;
	font-size:22px;
}

.dealer-portal-shell #BankWithdrawalDates .table {
	margin-bottom:18px;
	border-radius:7px;
	box-shadow:0 4px 12px rgba(53,51,104,.05);
	overflow:hidden;
}

.dealer-portal-shell .application {
	max-width:1200px;
	margin-right:auto;
	margin-left:auto;
}

.dealer-portal-shell .application > .title {
	max-width:1200px;
	margin-right:auto;
	margin-left:auto;
	padding:0 4px 16px;
}

.dealer-portal-shell .application > .form {
	width:100%;
	max-width:1200px !important;
	display:grid;
	grid-template-columns:repeat(2, minmax(0, 1fr));
	align-items:start;
	gap:18px;
}

.dealer-portal-shell .application > .form > fieldset {
	min-width:0;
	margin:0;
}

.dealer-portal-shell .application #Step4FinanceInformationFieldSet {
	grid-column:1 / -1;
}

.dealer-portal-shell .application > .form > .cl {
	grid-column:1 / -1;
	margin-top:4px;
	padding-top:18px;
	border-top:1px solid var(--portal-border);
}

.dealer-portal-shell .agreement .fep-box-header,
.dealer-portal-shell .agreement .plan-table .head {
	background:#efedf8;
	color:var(--portal-ink);
}

/* The legacy contract table explicitly made its heading text white for a green header.
   The redesigned header is light, so keep every heading readable on that surface. */
.dealer-portal-shell .agreement .fep-box-header strong,
.dealer-portal-shell .agreement .fep-box-header span,
.dealer-portal-shell .agreement .plan-table .head strong {
	color:var(--portal-ink);
}

.dealer-portal-shell .agreement .fep-box-header {
	border-bottom:1px solid var(--portal-border);
}

@media (max-width:767px) {
	.dealer-portal-shell .sales-aid-tool__card { padding: 20px 16px; }
	.dealer-portal-shell .sales-aid-tool__result-heading { align-items: flex-start; flex-direction: column; }
	.dealer-portal-shell .wizard-options__intro {
		margin:-10px 16px 22px;
		font-size:14px;
	}

	.dealer-portal-shell .summary .head,
	.dealer-portal-shell .schedule .head {
		flex-wrap:wrap;
	}

	.dealer-portal-shell .schedule .head .pull-right {
		width:100%;
		margin-left:0;
	}

	.dealer-portal-shell .summary .foo {
		grid-template-columns:1fr;
	}

	.dealer-portal-shell .summary .foo > div {
		min-height:0;
		border-right:0;
		border-bottom:1px solid var(--portal-border);
	}

	.dealer-portal-shell .summary .foo > div:last-child {
		border-bottom:0;
	}

	.dealer-portal-shell .schedule > .row {
		display:block;
		padding:16px;
	}

	.dealer-portal-shell .schedule > .row > [class*="col-"] {
		padding:0;
	}

	.dealer-portal-shell .schedule .box > div {
		grid-template-columns:64px 1fr;
	}

	.dealer-portal-shell .schedule .box {
		width:auto !important;
		height:auto !important;
		float:none !important;
		margin:0 0 16px;
	}

	.dealer-portal-shell .schedule > .row .text.small {
		margin-top:18px;
		padding:0 16px 18px;
	}

	.dealer-portal-shell .schedule .box > div span:last-child {
		grid-column:2;
	}

	.dealer-portal-shell #BankWithdrawalDates .modal-dialog {
		max-width:none;
		margin:10px;
	}

	.dealer-portal-shell #BankWithdrawalDates .modal-body {
		padding:18px 14px;
	}

	.dealer-portal-shell .application > .form {
		display:block;
	}

	.dealer-portal-shell .application > .form > fieldset {
		margin-bottom:18px;
	}
}

/* Dealer workspace: shared presentation for views that retain the legacy markup. */
.dealer-portal-shell main {
	padding-top:38px;
	padding-bottom:48px;
}

.dealer-portal-shell .title {
	margin-bottom:30px;
	color:var(--portal-ink);
	font-size:28px;
	font-weight:700;
	letter-spacing:-.02em;
	line-height:1.15;
	text-transform:none;
}

.dealer-portal-shell .title.small {
	margin-bottom:16px;
	font-size:20px;
}

.dealer-portal-shell .title.grey {
	color:var(--portal-ink);
}

.dealer-portal-shell .text-muted,
.dealer-portal-shell .help-block,
.dealer-portal-shell .form-group .txt,
.dealer-portal-dialog .help-block {
	color:#687078;
}

.dealer-portal-shell .application,
.dealer-portal-shell .fep-box,
.dealer-portal-shell .loan-list .panel,
.dealer-portal-shell section.notification .list {
	border:1px solid var(--portal-border);
	border-radius:10px;
	box-shadow:0 8px 24px rgba(53,51,104,.06);
}

.dealer-portal-shell .application,
.dealer-portal-shell .fep-box {
	padding:28px;
	background:var(--portal-paper);
}

.dealer-portal-shell .application > .title {
	margin-top:0;
	padding-bottom:18px;
	border-bottom:1px solid var(--portal-border);
	text-align:left;
}

.dealer-portal-shell .application fieldset {
	margin-bottom:26px;
	padding:22px 24px 8px;
	border:1px solid var(--portal-border);
	border-radius:8px;
	background:#fbfcfd;
}

.dealer-portal-shell .application legend {
	width:auto;
	margin:0;
	padding:0 8px;
	border:0;
	color:var(--portal-ink);
	font-size:15px;
	font-weight:700;
}

.dealer-portal-shell label,
.dealer-portal-dialog label {
	color:#454b52;
	font-size:12px;
	font-weight:700;
	letter-spacing:.01em;
}

.dealer-portal-shell .form-control,
.dealer-portal-dialog .form-control,
.dealer-portal-shell .select2-selection,
.dealer-portal-shell .select2-container--default .select2-selection--single {
	min-height:40px;
	border:1px solid #b8c1c8;
	border-radius:5px;
	background:#fff;
	color:#252b31;
	font-size:14px;
	line-height:1.4;
}

.dealer-portal-shell textarea.form-control,
.dealer-portal-dialog textarea.form-control {
	min-height:96px;
	padding-top:10px;
}

.dealer-portal-shell select.form-control,
.dealer-portal-dialog select.form-control {
	padding-top:8px;
	padding-bottom:8px;
}

.dealer-portal-shell .form-control[disabled],
.dealer-portal-shell .form-control.disabled,
.dealer-portal-dialog .form-control[disabled] {
	border-color:#e1e5e8;
	background:#f1f3f5;
	color:#747d85;
	opacity:1;
}

.dealer-portal-shell .form-group.error .form-control,
.dealer-portal-shell .form-control.error,
.dealer-portal-dialog .form-group.error .form-control {
	border-color:#bd4553;
	background:#fffafb;
}

.dealer-portal-shell .form-group.error .txt,
.dealer-portal-shell .form-group .txt.error-text,
.dealer-portal-dialog .error-text {
	color:#b33f4e;
}

.dealer-portal-shell .form-group.error .txt.error-text {
	font-weight:600;
}

.dealer-portal-shell input[type="checkbox"],
.dealer-portal-shell input[type="radio"] {
	accent-color:var(--portal-violet);
}

.dealer-portal-shell .btn,
.dealer-portal-dialog .btn {
	border-radius:5px;
	font-weight:700;
	letter-spacing:.01em;
	transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.dealer-portal-shell .btn:focus,
.dealer-portal-dialog .btn:focus,
.dealer-portal-shell a:focus-visible,
.dealer-portal-dialog a:focus-visible {
	outline:0;
	box-shadow:0 0 0 3px rgba(128,108,217,.28);
}

.dealer-portal-shell .btn:hover,
.dealer-portal-dialog .btn:hover {
	transform:translateY(-1px);
}

.dealer-portal-shell .btn-danger,
.dealer-portal-dialog .btn-danger {
	border-color:#b64a58;
	background:#b64a58;
}

.dealer-portal-shell .btn-danger:hover,
.dealer-portal-dialog .btn-danger:hover {
	border-color:#983946;
	background:#983946;
}

/* Data-heavy pages. */
.dealer-portal-shell .filters {
	min-height:0;
	margin-bottom:28px;
	padding:16px 20px;
	border:1px solid rgba(255,255,255,.12);
	border-radius:8px;
	background:var(--portal-ink);
	box-shadow:0 8px 18px rgba(53,51,104,.12);
}

.dealer-portal-shell .filters .form-group {
	margin-bottom:0;
}

.dealer-portal-shell .filters .form-control {
	border-color:transparent;
}

.dealer-portal-shell .filters .btn-default {
	border-color:rgba(255,255,255,.3);
	background:transparent;
	color:#fff;
}

.dealer-portal-shell .filters .btn-default:hover {
	border-color:#fff;
	background:rgba(255,255,255,.12);
	color:#fff;
}

.dealer-portal-shell .panel,
.dealer-portal-shell .fep-scroll {
	overflow:hidden;
}

.dealer-portal-shell .panel-heading {
	padding:14px 18px;
	border-bottom:1px solid var(--portal-border);
	font-size:14px;
	font-weight:700;
}

.dealer-portal-shell .panel-body {
	padding:18px;
}

.dealer-portal-shell .table {
	margin-bottom:0;
	border-color:var(--portal-border);
	color:#343a40;
}

.dealer-portal-shell .table > thead > tr > th {
	padding:13px 14px;
	border-color:var(--portal-border);
	font-size:11px;
	font-weight:700;
	letter-spacing:.04em;
	text-transform:uppercase;
	vertical-align:middle;
}

.dealer-portal-shell .table > tbody > tr > td {
	padding:12px 14px;
	border-color:var(--portal-border);
	vertical-align:middle;
}

.dealer-portal-shell .table-bordered > thead > tr > th,
.dealer-portal-shell .table-bordered > tbody > tr > th,
.dealer-portal-shell .table-bordered > tbody > tr > td {
	border-color:var(--portal-border);
}

.dealer-portal-shell .fep.table th {
	background:#efedf8;
	color:var(--portal-ink);
	font-size:11px;
	font-weight:700;
	letter-spacing:.04em;
	text-transform:uppercase;
}

.dealer-portal-shell .fep.table td,
.dealer-portal-shell .fep.table tr:nth-child(2n + 1) td {
	background:#fff;
	color:#343a40;
}

.dealer-portal-shell .fep.table tr:nth-child(2n + 1) td {
	background:#f8f9fb;
}

.dealer-portal-shell .dataTables_wrapper .dataTables_filter input,
.dealer-portal-shell .dataTables_wrapper .dataTables_length select {
	border:1px solid #b8c1c8;
	border-radius:4px;
	background:#fff;
	padding:5px 8px;
}

.dealer-portal-shell .pagination > li > a,
.dealer-portal-shell .pagination > li > span {
	border-color:var(--portal-border);
	color:var(--portal-ink);
}

.dealer-portal-shell .pagination > li > a:hover {
	background:#f0eef9;
	color:var(--portal-ink);
}

/* Wizard, application review, and loan detail surfaces. */
.dealer-portal-shell .fep-progress {
	margin-bottom:28px;
}

.dealer-portal-shell .fep-progress a {
	border:2px solid #cfd5da;
	background:#fff;
	box-shadow:none;
	color:#6d747b;
	text-shadow:none;
}

.dealer-portal-shell .fep-progress .active a,
.dealer-portal-shell .fep-progress li.done.selected a {
	border-color:var(--portal-violet);
	background:var(--portal-violet);
	color:#fff;
	box-shadow:0 3px 8px rgba(128,108,217,.3);
}

.dealer-portal-shell .fep-progress li.done a,
.dealer-portal-shell .fep-progress li.done a:before {
	background-color:var(--portal-teal);
	background-image:none;
	color:#fff;
}

.dealer-portal-shell .fep-progress li.done:not(.selected) a:before {
	background-color:var(--portal-teal);
	background-image:none;
	color:#fff;
}

.dealer-portal-shell .fep-progress-bar {
	background:#dfe3e7;
}

.dealer-portal-shell .fep-progress-bar span {
	background:var(--portal-teal);
}

.dealer-portal-shell .fep-progress li span {
	color:#5f6770;
	font-weight:600;
}

.dealer-portal-shell .summary,
.dealer-portal-shell .plan-table {
	border:1px solid var(--portal-border);
	border-radius:9px;
	background:#fff;
	box-shadow:0 8px 24px rgba(53,51,104,.05);
}

.dealer-portal-shell .summary .head,
.dealer-portal-shell .plan-table .head,
.dealer-portal-shell .plan-table-nested .row.head {
	background:#efedf8;
	color:var(--portal-ink);
}

.dealer-portal-shell .summary .foo {
	border-top:1px solid var(--portal-border);
	background:#fbfcfd;
}

.dealer-portal-shell .plan-table .body .row:nth-child(2n),
.dealer-portal-shell .plan-table-nested .bg-blue {
	background:#f5f8f3;
}

.dealer-portal-shell .loan-profile-menu {
	width:auto !important;
	max-width:100%;
	margin:0 auto 26px;
	padding:5px;
	border:1px solid var(--portal-border);
	border-radius:8px;
	background:#fff;
	box-shadow:0 4px 14px rgba(53,51,104,.05);
}

.dealer-portal-shell .loan-profile-menu a {
	border-radius:5px;
	color:#59616a;
	font-size:13px !important;
	font-weight:700;
}

.dealer-portal-shell .loan-profile-menu a:hover,
.dealer-portal-shell .loan-profile-menu .active {
	background:#efedf8;
	color:var(--portal-ink);
}

.dealer-portal-shell .total-summary .item {
	min-height:148px;
	border-radius:10px;
	box-shadow:0 8px 18px rgba(53,51,104,.12);
}

.dealer-portal-shell .total-summary .item h5 {
	font-size:12px;
	letter-spacing:.05em;
}

.dealer-portal-shell .total-summary .item p {
	font-size:16px;
}

.dealer-portal-shell .no-data {
	padding:36px 20px;
	color:#687078;
	font-size:16px;
}

/* Help, notifications, and dialog states. */
.dealer-portal-shell .video,
.dealer-portal-shell .box-list .item {
	border:1px solid rgba(53,51,104,.1);
	box-shadow:0 8px 20px rgba(53,51,104,.1);
}

.dealer-portal-shell .video:focus-visible,
.dealer-portal-shell .box-list .item:focus-visible {
	outline:3px solid rgba(128,108,217,.45);
	outline-offset:3px;
}

.dealer-portal-shell .portal-resource-links .item {
	min-height:120px;
}

.dealer-portal-shell section.notification .list {
	padding:0 24px;
	background:#fff;
}

.dealer-portal-shell section.notification .task-head,
.dealer-portal-shell section.notification .msg-head {
	color:var(--portal-ink);
	font-weight:700;
}

.dealer-portal-shell .alert {
	border-radius:6px;
	font-weight:600;
}

.dealer-portal-dialog .modal-header,
.dealer-portal-dialog .modal-footer {
	padding:18px 22px;
	background:#fff;
}

.dealer-portal-dialog .modal-header {
	border-bottom:1px solid var(--portal-border);
}

.dealer-portal-dialog .modal-body {
	padding:22px;
	background:#fbfcfd;
}

.dealer-portal-dialog .modal-footer {
	border-top:1px solid var(--portal-border);
}

.dealer-portal-shell .modal-content {
	padding:0;
	border:1px solid var(--portal-border);
	border-radius:10px;
	box-shadow:0 18px 44px rgba(33,37,41,.22);
}

.dealer-portal-shell .modal-header {
	padding:20px 24px;
	border-bottom:1px solid var(--portal-border);
}

.dealer-portal-shell .modal-body {
	padding:24px;
}

.dealer-portal-shell .modal-footer {
	padding:18px 24px;
	border-top:1px solid var(--portal-border);
}

.dealer-portal-shell .signature-modal .modal-content,
.dealer-portal-shell .signature-modal .modal-body {
	background:#f7f8fa;
}

.dealer-portal-shell .signature-modal .modal-header {
	background:#fff;
}

.dealer-portal-shell .signature-modal .bhoechie-tab-menu a.active {
	border-left-color:var(--portal-violet);
	color:var(--portal-violet);
}

@media (max-width:992px) {
	.dealer-portal-shell main {
		padding-top:28px;
	}

	.dealer-portal-shell .filters {
		margin-right:16px;
		margin-left:16px;
	}

	.dealer-portal-shell .filters .form-group {
		margin-bottom:12px;
	}

	.dealer-portal-shell .application,
	.dealer-portal-shell .fep-box {
		padding:22px;
	}
}

@media (max-width:767px) {
	.dealer-portal-shell main {
		padding-top:24px;
		padding-bottom:32px;
	}

	.dealer-portal-shell .title {
		margin-bottom:22px;
		font-size:24px;
	}

	.dealer-portal-shell .application,
	.dealer-portal-shell .fep-box {
		border-right:0;
		border-left:0;
		border-radius:0;
		padding:20px 16px;
	}

	.dealer-portal-shell .application fieldset {
		padding:18px 14px 4px;
	}

	.dealer-portal-shell .filters {
		margin:0 10px 22px;
		padding:14px;
	}

	.dealer-portal-shell .filters .btn,
	.dealer-portal-shell .filters .form-control {
		width:100%;
	}

	.dealer-portal-shell .panel,
	.dealer-portal-shell .reporting-comissions,
	.dealer-portal-shell .box-list,
	.dealer-portal-shell .fep-scroll {
		overflow-x:auto;
		-webkit-overflow-scrolling:touch;
	}

	.dealer-portal-shell .panel .table,
	.dealer-portal-shell .reporting-comissions .table,
	.dealer-portal-shell .box-list .table {
		min-width:640px;
	}

	.dealer-portal-shell .table > thead > tr > th,
	.dealer-portal-shell .table > tbody > tr > td {
		padding:10px;
	}

	.dealer-portal-shell .total-summary > div {
		margin-bottom:14px;
	}

	.dealer-portal-shell .total-summary .item {
		min-height:0;
	}

	.dealer-portal-shell .loan-profile-menu {
		display:flex;
		overflow-x:auto;
		white-space:nowrap;
	}

	.dealer-portal-shell .loan-profile-menu a {
		flex:0 0 auto;
	}

	.dealer-portal-shell .portal-resource-links {
		grid-template-columns:1fr;
	}

	.dealer-portal-shell .modal-dialog {
		margin:10px;
	}

	.dealer-portal-shell .modal-header,
	.dealer-portal-shell .modal-body,
	.dealer-portal-shell .modal-footer {
		padding-right:16px;
		padding-left:16px;
	}

	.dealer-portal-shell .signature-modal .bhoechie-tabs {
		flex-direction:column;
	}

	.dealer-portal-shell .signature-modal .bhoechie-tab-menu {
		display:flex;
		width:100%;
		border-top:0;
	}

	.dealer-portal-shell .signature-modal .bhoechie-tab-menu a {
		width:50%;
		border-bottom:3px solid transparent;
		border-left:0;
	}

	.dealer-portal-shell .signature-modal .bhoechie-tab-menu a.active {
		border-bottom-color:var(--portal-violet);
	}

	.dealer-portal-shell .signature-modal .bhoechie-tab-content,
	.dealer-portal-shell .signature-modal .modal-footer {
		padding-right:16px;
		padding-left:16px;
	}
}

/* The legacy normal-summary variant hides the third panel. Keep its two remaining
   panels aligned rather than retaining the three-column geometry. */
.dealer-portal-shell .summary .foo {
	display:grid !important;
	align-items:stretch;
}

.dealer-portal-shell .summary .foo > div {
	float:none !important;
	width:auto !important;
	min-width:0;
}

.dealer-portal-shell .summary:not(.additional-benefits) .foo {
	grid-template-areas:"labels values";
	grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
}

.dealer-portal-shell .summary:not(.additional-benefits) .foo > div:nth-child(1) {
	grid-area:labels;
	align-self:start;
	padding-right:28px;
	text-align:right;
}

.dealer-portal-shell .summary:not(.additional-benefits) .foo > div:nth-child(1) p {
	text-align:right !important;
}

.dealer-portal-shell .summary:not(.additional-benefits) .foo > div:nth-child(2) {
	grid-area:values;
	align-self:start;
	padding-left:28px;
	text-align:left;
}

.dealer-portal-shell .summary:not(.additional-benefits) .foo > div:nth-child(3) {
	display:none;
}

.dealer-portal-shell .summary .foo > div > span {
	font-size:17px;
	line-height:1.45;
}

.dealer-portal-shell .summary .foo .btn {
	min-width:156px;
	margin-top:16px;
}

.dealer-portal-shell .summary > .row.text.small {
	max-width:1200px;
	margin:18px auto 0 !important;
	padding:0;
	border:0;
	border-radius:0;
	background:transparent;
	box-shadow:none;
}

.dealer-portal-shell .summary > .row.text.small > [class*="col-"] {
	padding:22px 28px 8px !important;
}

.dealer-portal-shell .summary > .row.text.small p {
	margin:0 0 14px;
	color:#4e555d;
	font-size:13px;
	line-height:1.5;
}

@media (max-width:767px) {
	.dealer-portal-shell .summary:not(.additional-benefits) .foo {
		grid-template-areas:"labels" "values";
		grid-template-columns:1fr;
	}

	.dealer-portal-shell .summary:not(.additional-benefits) .foo > div:nth-child(1),
	.dealer-portal-shell .summary:not(.additional-benefits) .foo > div:nth-child(2) {
		padding-right:20px;
		padding-left:20px;
		text-align:left;
	}

	.dealer-portal-shell .summary > .row.text.small {
		margin:14px 10px 0 !important;
	}

	.dealer-portal-shell .summary > .row.text.small > [class*="col-"] {
		padding:18px 20px 6px !important;
	}
}
