/* Site chrome: matches canosahills.com (Fewer theme) */
body {
  margin: 0;
  background: #ffffff;
  color: #272727;
  font-family: 'Book Antiqua', 'Palatino Linotype', Palatino, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

.site-header { border-bottom: 1px solid #406325; padding: 1rem 1.5rem; }
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { display: block; width: 170px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.site-nav a { font-family: 'Albert Sans', Arial, sans-serif; color: #406325; text-decoration: none; font-size: .95rem; }
.site-nav a:hover { text-decoration: underline; color: #172f04; }
.site-nav a[aria-current="page"] { color: #172f04; font-weight: 600; text-decoration: underline; }

.site-main { padding: 2rem 1.25rem 1rem; }

.site-footer { border-top: 1px solid #406325; padding: 1.5rem; margin-top: 2rem; font-size: .95rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.site-footer a { color: #406325; }
.site-footer p { margin: 0; }

.page-actions { max-width: 760px; margin: 1.5rem auto 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-primary, .btn-secondary {
  font-family: 'Albert Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: .75rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}
.btn-primary { background: #406325; color: #ffffff; }
.btn-primary:hover { background: #172f04; }
.btn-secondary { border: 2px solid #406325; color: #172f04; background: #ffffff; }
.btn-secondary:hover { background: #e8efe3; }
.btn-primary:focus-visible, .btn-secondary:focus-visible, .site-nav a:focus-visible { outline: 3px solid #172f04; outline-offset: 2px; }

/* Calculator */
#chd-fee-calc, #chd-fee-calc * { box-sizing: border-box; }
#chd-fee-calc { font-family: 'Book Antiqua', 'Palatino Linotype', Palatino, Georgia, serif; color: #272727; max-width: 760px; margin: 0 auto; line-height: 1.5; }
#chd-fee-calc h2, #chd-fee-calc h3, #chd-fee-calc .lbl { font-family: 'Albert Sans', 'Helvetica Neue', Arial, sans-serif; color: #172f04; }
#chd-fee-calc h2 { font-size: 1.6rem; margin: 0 0 .25rem; font-weight: 600; }
#chd-fee-calc h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; font-weight: 600; }
#chd-fee-calc .intro { color: #595959; margin: 0 0 1.25rem; }
#chd-fee-calc .panel { background: #fff; border: 1px solid #cccccc; border-radius: 6px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
#chd-fee-calc .lbl { display: block; font-size: .95rem; font-weight: 600; margin-bottom: .35rem; }
#chd-fee-calc .types { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
#chd-fee-calc .types button { font: inherit; font-family: 'Albert Sans', Arial, sans-serif; font-size: .95rem; padding: .6rem .5rem; border: 2px solid #406325; background: #fff; color: #172f04; border-radius: 4px; cursor: pointer; }
#chd-fee-calc .types button[aria-pressed="true"] { background: #406325; color: #fff; }
#chd-fee-calc .types button:focus-visible, #chd-fee-calc select:focus-visible, #chd-fee-calc input:focus-visible, #chd-fee-calc .go:focus-visible { outline: 3px solid #172f04; outline-offset: 2px; }
#chd-fee-calc select, #chd-fee-calc input[type="number"] { font: inherit; width: 100%; padding: .5rem .6rem; border: 1px solid #595959; border-radius: 4px; background: #fff; color: #272727; }
#chd-fee-calc .row { display: grid; grid-template-columns: 1fr 150px; gap: .6rem; align-items: center; margin-top: .4rem; }
#chd-fee-calc input[type="range"] { width: 100%; accent-color: #406325; }
#chd-fee-calc .field { margin-top: 1rem; }
#chd-fee-calc .hint { font-size: .85rem; color: #595959; margin-top: .3rem; }
#chd-fee-calc .hidden { display: none; }
#chd-fee-calc .results { display: grid; gap: .6rem; margin-top: .5rem; }
#chd-fee-calc .res { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid #cccccc; padding: .6rem 0; flex-wrap: wrap; }
#chd-fee-calc .res:last-child { border-bottom: none; }
#chd-fee-calc .res .name { font-family: 'Albert Sans', Arial, sans-serif; font-weight: 600; color: #172f04; }
#chd-fee-calc .res .amt { font-size: 1.15rem; color: #172f04; white-space: nowrap; }
#chd-fee-calc .res .amt small { display: block; font-size: .8rem; color: #595959; text-align: right; }
#chd-fee-calc .total { background: #e8efe3; border-radius: 6px; padding: .8rem 1rem; }
#chd-fee-calc .notes { font-size: .9rem; color: #272727; }
#chd-fee-calc .notes ul { margin: .3rem 0 .6rem 1.2rem; padding: 0; }
#chd-fee-calc .go { font-family: 'Albert Sans', Arial, sans-serif; font-size: 1rem; background: #406325; color: #fff; border: none; border-radius: 4px; padding: .75rem 1.1rem; cursor: pointer; text-decoration: none; display: inline-block; margin-top: .75rem; }
#chd-fee-calc .go:hover { background: #172f04; }
#chd-fee-calc .warn { border-left: 4px solid #70582a; background: #fff; padding: .6rem .9rem; font-size: .9rem; margin-top: .75rem; }
@media (max-width: 560px) {
  #chd-fee-calc .types { grid-template-columns: 1fr; }
  #chd-fee-calc .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .site-nav { gap: .75rem; }
}
