.fee-estimator {
  --fe-ink: #17202e;
  --fe-muted: #5c6573;
  --fe-accent: #e74b36;
  --fe-accent-dark: #bd3526;
  --fe-border: #d9dfe7;
  --fe-selected: #eef9f3;
  --fe-selected-border: #178251;
  color: var(--fe-ink);
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  font-size: 1rem;
  line-height: 1.65;
}
.fee-estimator *, .fee-estimator *::before, .fee-estimator *::after { box-sizing: border-box; }
.fee-estimator .fe-intro { margin-bottom: 32px; }
.fee-estimator .fe-kicker { color: var(--fe-accent); font-size: .9rem; font-weight: 750; letter-spacing: .08em; margin: 0 0 12px; }
.fee-estimator h1 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.035em; line-height: 1.25; margin: 0 0 16px; }
.fee-estimator .fe-intro p:last-child { color: var(--fe-muted); margin: 0; max-width: 780px; }
.fee-estimator .fe-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: 28px; }
.fee-estimator .fe-form, .fee-estimator .fe-results { background: #fff; border: 1px solid var(--fe-border); border-radius: 20px; box-shadow: 0 8px 28px rgba(19, 32, 48, .04); }
.fee-estimator .fe-form { padding: 28px; }
.fee-estimator .fe-question { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.fee-estimator .fe-question legend, .fee-estimator .fe-question > label { display: block; font-size: 1rem; line-height: 1.65; font-weight: 750; padding: 0; margin: 0 0 12px; width: 100%; }
.fee-estimator .fe-options { display: grid; gap: 10px; }
.fee-estimator .fe-options-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fee-estimator .fe-choice { display: flex; align-items: center; gap: 12px; padding: 15px 16px; min-height: 60px; border: 2px solid var(--fe-border); border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s ease, background .15s ease; }
.fee-estimator .fe-choice:hover { border-color: #7b8797; }
.fee-estimator .fe-choice:has(input:checked) { background: var(--fe-selected); border-color: var(--fe-selected-border); }
.fee-estimator .fe-choice:has(input:focus-visible) { outline: 3px solid var(--fe-accent); outline-offset: 3px; }
.fee-estimator .fe-choice input { flex: 0 0 auto; accent-color: var(--fe-selected-border); width: 18px; height: 18px; margin: 0; }
.fee-estimator .fe-choice span { min-width: 0; }
.fee-estimator .fe-choice strong { display: block; font-size: 1rem; }
.fee-estimator .fe-choice small { display: block; font-size: .9rem; line-height: 1.6; color: var(--fe-muted); margin-top: 4px; }
.fee-estimator .fe-input-label { display: block; color: var(--fe-muted); margin: 12px 0 6px; font-size: .9rem; }
.fee-estimator .fe-input { display: block; width: 100%; font: inherit; min-height: 58px; padding: 13px 16px; border: 1px solid var(--fe-border); border-radius: 10px; background: #fff; color: var(--fe-ink); }
.fee-estimator .fe-input::placeholder { color: #697484; opacity: 1; }
.fee-estimator .fe-input:focus-visible { outline: 3px solid var(--fe-accent); outline-offset: 2px; }
.fee-estimator .fe-input:disabled { opacity: 1; color: var(--fe-muted); -webkit-text-fill-color: var(--fe-muted); background: #f1f3f6; }
.fee-estimator #sales:disabled { color: #fff; -webkit-text-fill-color: #fff; background: #17202e; border-color: #17202e; }
.fee-estimator .fe-input[aria-invalid="true"] { border: 2px solid #b42318; }
.fee-estimator .fe-submit { appearance: none; width: 100%; min-height: 56px; padding: 14px 20px; font: inherit; font-weight: 750; color: #fff; background: var(--fe-accent); border: 0; border-radius: 11px; cursor: pointer; }
.fee-estimator .fe-submit:hover { background: var(--fe-accent-dark); }
.fee-estimator .fe-submit:focus-visible, .fee-estimator .fe-contact:focus-visible { outline: 3px solid var(--fe-ink); outline-offset: 3px; }
.fee-estimator .fe-error { color: #b42318; background: #fff1ef; border: 1px solid #f7bcb5; border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; }
.fee-estimator [hidden] { display: none !important; }
.fee-estimator .fe-results { position: sticky; top: 112px; padding: 26px; }
.fee-estimator .fe-results h2 { font-size: 1.3rem; letter-spacing: -.02em; margin: 0 0 20px; }
.fee-estimator .fe-empty { color: var(--fe-muted); background: #f4f6f8; border-radius: 12px; padding: 24px 18px; margin: 0; }
.fee-estimator .fe-fees { display: grid; gap: 10px; scroll-margin-top: 120px; border-radius: 12px; }
.fee-estimator .fe-fees:focus { outline: none; }
.fee-estimator .fe-fees:focus-visible { outline: 2px solid var(--fe-accent); outline-offset: 6px; }
.fee-estimator .fe-total { display: grid; gap: 5px; padding: 22px; border-radius: 12px; background: #e8f7f2; color: #07523b; }
.fee-estimator .fe-total-label { font-size: 1rem; font-weight: 700; }
.fee-estimator .fe-total-number { font-size: clamp(1.7rem, 3.2vw, 2.25rem); letter-spacing: -.035em; line-height: 1.25; overflow-wrap: anywhere; }
.fee-estimator .fe-fee-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px; border-radius: 9px; font-size: .95rem; }
.fee-estimator .fe-fee-row > span { min-width: 0; }
.fee-estimator .fe-fee-row strong { text-align: right; white-space: nowrap; }
.fee-estimator .fe-fee-accounting { background: #fff4cc; }
.fee-estimator .fe-fee-audit { background: #e8f1ff; }
.fee-estimator .fe-fee-tax { background: #e7f7e9; }
.fee-estimator .fe-exclusions { color: var(--fe-muted); font-size: .875rem; line-height: 1.65; margin: 18px 0 22px; }
.fee-estimator .fe-exclusions p { margin: 6px 0; }
.fee-estimator .fe-contact { display: block; padding: 14px 16px; border-radius: 10px; color: #fff; background: #157a45; text-decoration: none; text-align: center; font-weight: 700; font-size: .95rem; line-height: 1.5; }
.fee-estimator .fe-contact:hover { background: #10663a; color: #fff; }
.fee-estimator .fe-contact-detail { text-align: center; font-size: .875rem; color: var(--fe-muted); margin: 10px 0 0; }
.fee-estimator .fe-noscript { background: #fff4cc; border-radius: 10px; padding: 18px; }
@media (max-width: 940px) {
  .fee-estimator .fe-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fee-estimator .fe-results { position: static; }
  .fee-estimator .fe-total { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
}
@media (max-width: 540px) {
  .fee-estimator { padding: 32px 16px 48px; }
  .fee-estimator .fe-form, .fee-estimator .fe-results { padding: 20px; border-radius: 16px; }
  .fee-estimator .fe-choice { padding: 12px; gap: 10px; }
  .fee-estimator .fe-options-pair { grid-template-columns: minmax(0, 1fr); }
  .fee-estimator .fe-question { margin-bottom: 26px; }
  .fee-estimator .fe-total { display: grid; grid-template-columns: minmax(0, 1fr); }
  .fee-estimator .fe-fee-row { flex-wrap: wrap; gap: 5px 14px; }
  .fee-estimator .fe-fee-row strong { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .fee-estimator * { transition: none !important; scroll-behavior: auto !important; }
}
