/* Start custom CSS *//* TEMPORARY BRIDGE: copy of ARA Fee Estimator 1.2.0 assets/estimator.css (commit 981f3b9). Remove this page CSS after plugin 1.2.0 is installed. */
/*
 * ARA Fee Estimator styles. Every rule is scoped beneath the .ara-fe root.
 *
 * Isolation, because the estimator is embedded in themes and Elementor kits that
 * style bare elements site-wide (staging, for example: body weight 100 and
 * letter-spacing -0.15px; `.elementor-kit-N a` at 71px, and 1px at tablet width;
 * `.elementor-kit-N button` in Chivo 24px; the theme reset's `label` line-height 1
 * and pink `[type=button]:hover`):
 *  - The root sets every inheritable text property, so nothing the page
 *    inherits reaches the estimator's text.
 *  - Text components use `.ara-fe .ara-fe-x` (0,2,0), which outranks element
 *    rules such as `label`, `p` or `.elementor-kit-N h5` (0,1,1).
 *  - The elements kits restyle directly (a, button, input, label) use
 *    `.ara-fe .ara-fe-parent tag.ara-fe-x` (0,3,1), which outranks kit rules
 *    such as `.elementor-kit-N input[type="button"]` (0,2,1) and theme rules
 *    such as `[type=button]:focus` (0,2,0).
 */
.ara-fe {
	--ara-ink: #0E1A3A; --ara-slate: #233043; --ara-steel: #8AAAC4; --ara-blue: #2F5C82;
	--ara-paper: #F7F5F0; --ara-line: #DDD8CC; --ara-muted: #4A5568; --ara-sel: #EAF0F6;
	--ara-font: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif; --ara-serif: Fraunces, Georgia, serif;
	font-family: var(--ara-font); font-size: 16px; font-weight: 400; font-style: normal; line-height: 1.55;
	letter-spacing: normal; text-transform: none; text-align: left; color: var(--ara-slate);
	max-width: 1200px; margin: 0 auto; box-sizing: border-box; container-type: inline-size;
}
.ara-fe *, .ara-fe *::before, .ara-fe *::after { box-sizing: border-box; }
/* Theme resets give p a bottom margin; components set only margin-top, so the
   top reset stays weak enough for them to override. */
.ara-fe p, .ara-fe ul, .ara-fe fieldset, .ara-fe legend { margin-top: 0; }
.ara-fe :is(.ara-fe-layout, .ara-fe-unavailable) :is(p, ul, fieldset, legend) { margin-bottom: 0; margin-left: 0; margin-right: 0; }
.ara-fe [hidden] { display: none !important; }

/* Layout */
.ara-fe .ara-fe-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
.ara-fe .ara-fe-form, .ara-fe .ara-fe-result, .ara-fe .ara-fe-unavailable {
	background: #FFFFFF; border: 1px solid var(--ara-line); border-radius: 12px;
	box-shadow: 0 1px 2px rgba(14, 26, 58, 0.04), 0 6px 20px rgba(14, 26, 58, 0.05);
}
.ara-fe .ara-fe-form { padding: 32px; display: flex; flex-direction: column; gap: 28px; margin: 0; }
.ara-fe .ara-fe-group { display: flex; flex-direction: column; gap: 22px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--ara-line); }
.ara-fe .ara-fe-result {
	padding: 28px 28px 24px; position: sticky; top: 24px; background: var(--ara-paper);
	border-top: 4px solid var(--ara-ink); box-shadow: 0 2px 4px rgba(14, 26, 58, 0.05), 0 12px 32px rgba(14, 26, 58, 0.08);
}
.ara-fe .ara-fe-unavailable { padding: 40px 32px; text-align: center; max-width: 760px; background: var(--ara-paper); }
.ara-fe .ara-fe-unavailable > p + p { margin-top: 10px; color: var(--ara-muted); }

/* Questions */
.ara-fe .ara-fe-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.ara-fe .ara-fe-field legend, .ara-fe .ara-fe-count > label {
	display: block; float: none; width: auto; padding: 0; margin: 0;
	font-family: var(--ara-font); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: normal; color: var(--ara-ink);
}
/* A legend sits outside its fieldset's flex gap, so space it from the first option. */
.ara-fe fieldset.ara-fe-group > legend { padding-bottom: 12px; }
.ara-fe .ara-fe-hint { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--ara-muted); }

.ara-fe .ara-fe-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ara-fe .ara-fe-choices label.ara-fe-choice { position: relative; flex: 1 1 150px; display: flex; margin: 0; line-height: 1.3; cursor: pointer; }
.ara-fe .ara-fe-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ara-fe .ara-fe-choice span {
	flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 10px 14px;
	border: 1px solid var(--ara-line); border-radius: 6px; background: #FFFFFF;
	font-family: var(--ara-font); font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: normal; text-transform: none; color: var(--ara-ink);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.ara-fe .ara-fe-choice:hover span { border-color: var(--ara-steel); }
.ara-fe .ara-fe-choice input:checked + span { border-color: var(--ara-blue); background: var(--ara-sel); box-shadow: inset 0 0 0 1px var(--ara-blue); font-weight: 600; }
.ara-fe .ara-fe-choice input:focus-visible + span { outline: 3px solid var(--ara-steel); outline-offset: 2px; }

.ara-fe .ara-fe-stepper { display: inline-flex; margin-top: 12px; border: 1px solid var(--ara-line); border-radius: 6px; overflow: hidden; background: #FFFFFF; }
.ara-fe .ara-fe-stepper button.ara-fe-step {
	display: block; width: 48px; min-width: 48px; height: 48px; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none;
	background-color: var(--ara-paper); color: var(--ara-ink); cursor: pointer;
	font-family: var(--ara-font); font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: normal; text-transform: none; text-shadow: none;
}
.ara-fe .ara-fe-stepper button.ara-fe-step:hover, .ara-fe .ara-fe-stepper button.ara-fe-step:focus { background-color: var(--ara-sel); color: var(--ara-ink); border: 0; }
.ara-fe .ara-fe-stepper button.ara-fe-step:focus-visible { outline: 3px solid var(--ara-steel); outline-offset: -3px; }
.ara-fe .ara-fe-stepper input[type="number"] {
	width: 60px; height: 48px; padding: 0; margin: 0; border-radius: 0; border-style: solid; border-width: 0 1px; border-color: var(--ara-line);
	background-color: #FFFFFF; color: var(--ara-ink); box-shadow: none; text-align: center;
	font-family: var(--ara-font); font-size: 16px; font-weight: 600; line-height: normal; letter-spacing: normal;
	-moz-appearance: textfield; appearance: textfield;
}
.ara-fe .ara-fe-stepper input[type="number"]::-webkit-outer-spin-button, .ara-fe .ara-fe-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ara-fe .ara-fe-stepper input[type="number"]:focus { border-color: var(--ara-line); }
.ara-fe .ara-fe-stepper input[type="number"]:focus-visible { outline: 3px solid var(--ara-steel); outline-offset: -3px; }

.ara-fe .ara-fe-check { display: flex; align-items: flex-start; gap: 12px; }
.ara-fe .ara-fe-check input[type="checkbox"] { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ara-blue); cursor: pointer; }
.ara-fe .ara-fe-check input[type="checkbox"]:focus-visible { outline: 3px solid var(--ara-steel); outline-offset: 2px; }
.ara-fe .ara-fe-check label { display: block; margin: 0; line-height: 1.4; cursor: pointer; }
.ara-fe .ara-fe-check-label { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--ara-ink); }

/* Summary */
.ara-fe .ara-fe-eyebrow { font-size: 13px; font-weight: 600; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ara-blue); }
.ara-fe .ara-fe-total {
	margin-top: 6px; font-family: var(--ara-serif); font-weight: 500; font-size: 36px; line-height: 1.15;
	letter-spacing: normal; color: var(--ara-ink); font-variant-numeric: tabular-nums;
}
.ara-fe .ara-fe-quote-title { margin-top: 8px; font-family: var(--ara-serif); font-weight: 500; font-size: 26px; line-height: 1.25; color: var(--ara-ink); }
.ara-fe .ara-fe-items, .ara-fe .ara-fe-reasons { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--ara-line); }
.ara-fe .ara-fe-items li {
	display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--ara-line);
	font-size: 15px; line-height: 1.45; list-style: none;
}
.ara-fe .ara-fe-amt { font-size: 15px; font-weight: 600; color: var(--ara-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ara-fe .ara-fe-item { display: flex; flex-direction: column; min-width: 0; }
.ara-fe .ara-fe-item-label { font-size: 15px; font-weight: 500; color: var(--ara-ink); }
.ara-fe .ara-fe-items .ara-fe-hint { margin-top: 2px; font-size: 14px; }
.ara-fe .ara-fe-items li.is-review .ara-fe-amt { color: var(--ara-blue); font-size: 14px; }
.ara-fe .ara-fe-total-note { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ara-blue); }
.ara-fe .ara-fe-reasons li { position: relative; margin: 0; padding: 10px 0 10px 18px; border-bottom: 1px solid var(--ara-line); font-size: 15px; line-height: 1.45; list-style: none; }
.ara-fe .ara-fe-reasons li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--ara-blue); }

/* Actions */
.ara-fe .ara-fe-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.ara-fe .ara-fe-unavailable .ara-fe-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.ara-fe .ara-fe-actions a.ara-fe-btn {
	display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; padding: 12px 20px;
	border-radius: 6px; border: 1px solid transparent; box-shadow: none; cursor: pointer;
	font-family: var(--ara-font); font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: normal;
	text-transform: none; text-shadow: none; text-decoration: none; text-align: center; white-space: normal; overflow-wrap: anywhere;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.ara-fe .ara-fe-unavailable .ara-fe-actions a.ara-fe-btn { display: inline-flex; }
.ara-fe .ara-fe-actions a.ara-fe-btn-primary, .ara-fe .ara-fe-actions a.ara-fe-btn-primary:visited { background-color: var(--ara-ink); border-color: var(--ara-ink); color: #FFFFFF; }
.ara-fe .ara-fe-actions a.ara-fe-btn-primary:hover, .ara-fe .ara-fe-actions a.ara-fe-btn-primary:focus { background-color: var(--ara-blue); border-color: var(--ara-blue); color: #FFFFFF; }
.ara-fe .ara-fe-actions a.ara-fe-btn-secondary, .ara-fe .ara-fe-actions a.ara-fe-btn-secondary:visited { background-color: #FFFFFF; border-color: var(--ara-line); color: var(--ara-ink); }
.ara-fe .ara-fe-actions a.ara-fe-btn-secondary:hover, .ara-fe .ara-fe-actions a.ara-fe-btn-secondary:focus { background-color: #FFFFFF; border-color: var(--ara-blue); color: var(--ara-ink); }
.ara-fe .ara-fe-actions a.ara-fe-btn:focus-visible { outline: 3px solid var(--ara-steel); outline-offset: 3px; }
.ara-fe .ara-fe-email-note { margin-top: 10px; font-size: 13px; }
.ara-fe .ara-fe-disclaimer { margin-top: 20px; font-size: 13px; font-weight: 400; line-height: 1.55; color: var(--ara-muted); }
.ara-fe .ara-fe-preview-note { margin: 0 0 16px; padding: 12px 16px; border: 1px dashed var(--ara-blue); border-radius: 6px; background: var(--ara-sel); color: var(--ara-ink); font-size: 14px; font-weight: 600; }

/* Narrower containers: stack the summary under the questions, then tighten. */
@container (max-width: 820px) {
	.ara-fe .ara-fe-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.ara-fe .ara-fe-result { position: static; }
}
@container (max-width: 520px) {
	.ara-fe .ara-fe-form, .ara-fe .ara-fe-result { padding: 22px 18px; }
	.ara-fe .ara-fe-unavailable { padding: 32px 20px; }
	.ara-fe .ara-fe-total { font-size: 32px; }
	.ara-fe .ara-fe-choices label.ara-fe-choice { flex-basis: 100%; }
}/* End custom CSS */