/* Focused application layout. The public information pages retain their own layout. */
.checkout-page { background: #f5f7f3; line-height: 1.55; }
.checkout-page .site-header { position: sticky; }
.checkout-page .header-inner { height: 68px; width: min(1120px, calc(100% - 48px)); }
.checkout-page .brand-name { font-size: 19px; }
.checkout-page .brand-name small { font-size: 10px; margin-top: 3px; }
.checkout-page .mark { width: 35px; height: 38px; font-size: 26px; }
.checkout-page .desktop-nav { margin-left: auto; }
.checkout-page .desktop-nav a:not(:last-child),
.checkout-page .header-cta,
.checkout-page .menu-toggle,
.checkout-page .site-footer { display: none; }
.checkout-shell { width: min(1080px, calc(100% - 48px)); margin: 28px auto 20px; }
.checkout-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.checkout-heading .eyebrow { margin: 0 0 4px; font-size: 10px; }
.checkout-heading h1 { font-size: 28px; margin: 0; letter-spacing: -.035em; }
#step-counter { font-size: 12px; color: var(--muted); white-space: nowrap; }
.checkout-progress { margin-bottom: 22px; }
.checkout-page .form-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0; }
.checkout-page .form-steps li { flex: 1; padding: 0; border: 0; background: none; color: var(--muted); font-size: 12px; }
.form-steps button { display: flex; align-items: center; gap: 7px; width: 100%; padding: 8px 6px; min-height: 44px; border: 0; border-radius: 6px; background: none; color: inherit; text-align: left; font-weight: 500; }
.form-steps button:disabled { cursor: default; }
.step-number { width: 24px; height: 24px; border: 1px solid #c9d4c4; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 11px; }
.form-steps [aria-current=step] button { color: var(--ink); background: #e9f1de; font-weight: 650; }
.form-steps [aria-current=step] .step-number { background: var(--lime); border-color: #92b74e; }
.form-steps [data-complete=true] .step-number { background: #e4ebdf; color: #456837; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.checkout-page .form-panel { border: 1px solid var(--line); border-radius: 12px; padding: 28px 32px 0; background: #fff; min-width: 0; box-shadow: 0 5px 24px #152b3a03; }
.checkout-page fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.checkout-page legend { float: left; width: 100%; padding: 0; margin: 0 0 6px; font: 600 23px/1.25 Jakarta, Inter, sans-serif; letter-spacing: -.035em; }
.checkout-page legend + * { clear: both; }
.checkout-page .step-intro { margin: 0 0 23px; color: var(--muted); font-size: 14px; }
.checkout-page .field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 550; margin: 0 0 18px; }
.checkout-page .field input, .checkout-page .field select, .checkout-page .field textarea { width: 100%; min-height: 46px; border: 1px solid #c8d3c8; border-radius: 6px; background: #fff; color: var(--ink); padding: 10px 12px; font-size: 16px; font-weight: 400; line-height: 1.45; box-shadow: none; }
.checkout-page .field input:hover, .checkout-page .field select:hover, .checkout-page .field textarea:hover { border-color: #8e9f8c; }
.checkout-page .field input:focus, .checkout-page .field select:focus, .checkout-page .field textarea:focus { outline: 2px solid #7fa346; outline-offset: 1px; }
.checkout-page .field textarea { min-height: 96px; resize: vertical; }
.checkout-page .field input[aria-invalid=true], .checkout-page .field select[aria-invalid=true], .checkout-page .field textarea[aria-invalid=true] { border-color: #b04037; }
.checkout-page .field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkout-page .hint { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0 0 18px; }
.checkout-page .checkbox { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; margin: 0; font-size: 13px; }
.checkout-page .checkbox input { width: 19px; height: 19px; margin: 1px 0 0; flex-shrink: 0; accent-color: #456d32; }
.checkout-page .checkbox label { cursor: pointer; line-height: 1.5; padding: 0; }
.route-options { display: grid; gap: 9px; margin-bottom: 24px; }
.route-option { position: relative; display: flex; gap: 12px; align-items: center; padding: 13px 15px; border: 1px solid #d7dfd3; border-radius: 8px; cursor: pointer; min-height: 68px; }
.route-option:hover { border-color: #90a77f; }
.route-option:has(input:checked) { background: #f2f8e9; border-color: #7da34b; box-shadow: inset 0 0 0 1px #7da34b; }
.route-option input { position: absolute; opacity: 0; width: 1px; }
.route-option:has(input:focus-visible) { outline: 3px solid #47741f; outline-offset: 3px; }
.route-radio { width: 18px; height: 18px; border: 1px solid #9eac97; border-radius: 50%; flex-shrink: 0; background: white; }
.route-option input:checked + .route-radio { border: 5px solid #507c31; }
.route-option strong { display: block; font-size: 14px; font-weight: 650; }
.route-option small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.eligibility { margin: 20px 0 12px; }
.checkout-page .eligibility h2 { font: 600 14px/1.5 Inter, sans-serif; letter-spacing: 0; margin: 0 0 6px; }
.checkout-page .compact-help { padding: 12px 0; margin: 8px 0 20px; border-top: 1px solid #e8ede5; border-bottom: 1px solid #e8ede5; border-radius: 0; font-size: 12px; background: none; }
.compact-help summary { cursor: pointer; color: #456837; font-weight: 550; }
.checkout-page .compact-help p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.checkout-page .route-result { background: #f5f8f0; border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin: 0 0 26px; font-size: 14px; }
.checkout-page .route-result h2 { font-size: 20px; margin: 0 0 10px; }
.checkout-page .route-result p { margin: 0 0 15px; }
.route-result .text-link { display: block; font-size: 12px; margin-top: 14px; }
.checkout-page .actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 25px -32px 0; padding: 18px 32px; border-top: 1px solid #e4eae0; background: #fff; border-radius: 0 0 12px 12px; }
.checkout-page .button { min-height: 46px; padding: 11px 20px; border-radius: 6px; font-size: 14px; gap: 18px; }
.checkout-page .button-quiet { border-color: transparent; padding-left: 0; background: none; color: var(--muted); }
.checkout-page .button-quiet:hover { color: var(--ink); text-decoration: underline; }
.checkout-page .codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.checkout-page .codes .checkbox { border: 1px solid #dce5d6; border-radius: 6px; padding: 11px; }
.codes .checkbox:has(input:checked) { background: #f2f8e9; border-color: #7da34b; }
.codes label { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; }
.codes label strong { font-variant-numeric: tabular-nums; color: #426327; }
.checkout-page .form-aside { position: sticky; top: 92px; min-width: 0; }
.checkout-summary { border: 1px solid #dae3d4; border-radius: 12px; background: #edf3e6; padding: 22px; }
.checkout-summary h2 { font-size: 18px; margin: 0 0 18px; }
.summary-price, .summary-total { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin: 0 0 18px; font-size: 12px; }
.summary-price small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.summary-price strong { font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.3; }
.summary-total { padding-top: 14px; border-top: 1px solid #d3ddcb; margin-bottom: 22px; font-weight: 600; }
.next-steps { padding: 0 0 0 17px; margin: 0 0 18px; font-size: 12px; }
.next-steps li { margin: 0 0 9px; padding-left: 2px; }
.checkout-summary .hint { margin: 0; font-size: 10px; }
.checkout-contact { display: flex; justify-content: space-between; padding: 16px 5px; font-size: 12px; color: var(--muted); text-decoration: none; }
.checkout-contact:hover { text-decoration: underline; }
.checkout-privacy { text-align: center; font-size: 10px; color: var(--muted); margin: 20px 0 0; }
.checkout-page .form-error { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #e4b9b4; background: #fff5f3; border-radius: 6px; color: #90372e; font-size: 13px; }
.checkout-page .review { margin: 0 0 18px; border: 1px solid #dfe6d9; border-radius: 8px; padding: 4px 16px; }
.checkout-page .review > div { display: grid; grid-template-columns: 110px minmax(0,1fr) auto; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e7ece3; font-size: 12px; }
.checkout-page .review > div:last-child { border-bottom: 0; }
.review dt { color: var(--muted); }
.checkout-page .review dd { margin: 0; overflow-wrap: anywhere; }
.review button { padding: 0; border: 0; background: none; color: #426327; font-size: 11px; text-decoration: underline; }
.mobile-prices { display: none; }
.checkout-page .payment-note { font-size: 10px; color: var(--muted); text-align: center; margin: 12px 0 15px; }
.checkout-page [hidden] { display: none !important; }
@media (max-width: 850px) {
 .checkout-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 18px; }
 .checkout-page .form-panel { padding: 24px 24px 0; }
 .checkout-page .actions { margin-right: -24px; margin-left: -24px; padding: 16px 24px; }
 .step-name { display: none; }
 .form-steps [aria-current=step] { flex: 3; }
 .form-steps [aria-current=step] .step-name { display: block; }
}
@media (max-width: 680px) {
 .checkout-page .header-inner { height: 57px; width: calc(100% - 32px); }
 .checkout-page .brand-name { font-size: 16px; }
 .checkout-page .brand-name small { font-size: 8px; }
 .checkout-page .mark { width: 29px; height: 32px; font-size: 23px; }
 .checkout-page .desktop-nav { display: flex; font-size: 12px; }
 .checkout-shell { width: 100%; margin: 19px 0 0; }
 .checkout-heading { padding: 0 18px; margin-bottom: 12px; }
 .checkout-heading h1 { font-size: 23px; }
 .checkout-heading .eyebrow { font-size: 9px; }
 .checkout-progress { padding: 0 12px; margin-bottom: 13px; }
 .checkout-page .form-steps { gap: 0; }
 .form-steps button { padding: 6px; gap: 6px; }
 .form-steps [aria-current=step] { flex: 3.3; }
 .step-name { font-size: 10px; }
 .step-number { width: 23px; height: 23px; }
 .checkout-layout { display: block; }
 .checkout-page .form-panel { padding: 22px 18px 0; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
 .checkout-page legend { font-size: 22px; }
 .checkout-page .step-intro { font-size: 13px; margin-bottom: 20px; }
 .checkout-page .form-aside { position: static; padding: 18px; }
 .checkout-summary { padding: 18px; }
 .checkout-summary h2 { margin-bottom: 16px; }
 .summary-price { margin-bottom: 12px; }
 .summary-total { margin-bottom: 0; }
 .checkout-summary .next-steps, .checkout-summary .hint { display: none; }
 .checkout-contact { padding-bottom: 0; }
 .checkout-page .actions { position: sticky; bottom: 0; z-index: 10; margin: 24px -18px 0; padding: 12px 18px max(12px, env(safe-area-inset-bottom)); box-shadow: 0 -6px 16px #152b3a05; border-radius: 0; }
 .checkout-page .field-grid { grid-template-columns: 1fr; gap: 0; }
 .checkout-page .field { margin-bottom: 17px; }
 .checkout-page .codes { grid-template-columns: 1fr; gap: 7px; }
 .checkout-page .codes .checkbox { padding: 12px; }
 .checkout-page .checkbox { padding: 11px 0; }
 .checkout-page .review > div { grid-template-columns: 1fr auto; gap: 4px 12px; }
 .review dt { grid-row: 1; }
 .checkout-page .review dd { grid-column: 1; grid-row: 2; }
 .review button { grid-column: 2; grid-row: 1 / span 2; }
 .checkout-page .payment-note { padding-bottom: 13px; }
 .checkout-privacy { padding: 0 18px 18px; margin: 0; }
 .mobile-prices { display: block; background: #f2f7eb; padding: 14px 16px; border-radius: 7px; margin-bottom: 18px; }
 .mobile-prices > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; padding: 4px 0; }
 .mobile-prices > div:last-child { margin-top: 5px; border-top: 1px solid #d7e1cd; padding-top: 9px; }
 .checkout-page:has([data-step="5"]:not([hidden])) .form-aside { display: none; }
}
@media (prefers-reduced-motion: reduce) { .checkout-page { scroll-behavior: auto; } }
.rp-intake { max-width: 720px; margin: 24px auto; border: 1px solid var(--line); background: white; padding: 28px 32px 0; border-radius: 12px; }
.checkout-page .rp-intake h2 { font-size: 19px; margin: 24px 0 16px; }
.rp-price-note { background: #f0f5e9; border-radius: 7px; padding: 16px; font-size: 13px; margin: 16px 0; }
.rp-price-note p { margin: 5px 0 0; }
.rp-checklist { list-style: none; padding: 0; }
.rp-checklist li { border-top: 1px solid var(--line); padding: 15px 0; font-size: 13px; }
.rp-checklist span { display: block; color: var(--muted); margin-top: 4px; }
#rp-receipt, #rp-status { padding-bottom: 28px; }
@media (max-width: 680px) {
 .rp-intake { margin: 15px 0 0; border-left: 0; border-right: 0; border-radius: 0; padding: 22px 18px 0; }
}
