/* Final visual alignment and color cleanup for Tax Facts pages. */
:root{
  --green-950:#17345f;--green-900:#17345f;--green-800:#4b2e83;--green-700:#5b247a;--green-600:#6e5b91;--green-100:#f3eef8;
}
body{font-family:"Segoe UI",Arial,sans-serif;color:#243041}
a{word-break:normal}
/* Prevent page notes and source text from running edge to edge. */
.sourcebox{width:min(1180px,calc(100% - 32px));margin:18px auto 0!important;line-height:1.55}
/* Keep page sections on the same restrained palette. */
.callout{border-left-color:#d8a400!important}
/* Accessibility page legacy green rules. */
body header:not(.ocoee-site-header){background:linear-gradient(90deg,#17345f,#32205f)!important}
body main h2{color:#17345f}
body main a{color:#17345f}
/* Budget simulator legacy color variables. */
body{--green:#17345f;--green2:#5b247a;--green3:#6d5a94}
/* TRIM tracker completed state, no green. */
.tour-step.done{border-color:#cfc6da!important;background:#f6f2f9!important;color:#4b2e83!important}
.tour-step.done span{background:#17345f!important;color:#fff!important}
/* Citizen help status marks and cards stay within the site palette. */
.truth-row.yes .mark,.truth-row.no .mark{background:#edf1f7!important;color:#17345f!important}
/* Make source and legal notes readable but visually quiet. */
.src,.caption,.sourcebox{color:#5b6880!important}
/* Consistent icon sizing where inline topic icons are used. */
.topic-icon{box-shadow:none!important;filter:drop-shadow(0 4px 7px rgba(23,52,95,.12))!important}
@media(max-width:700px){.sourcebox{width:min(100% - 24px,1180px)}}

/* Final palette normalization. */
body{
  --blue:#3f5f8d;
  --teal:#536a8e;
  --orange:#9a7135;
  --red:#7b4863;
  --ch-teal:#536a8e;
  --ch-green:#17345f;
  --focus-green:#d8a400;
  --focus-ring:#17345f;
}

/* Home page uses three useful entry points instead of repeating the full navigation. */
.home-start-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:24px 0 0;
}
.home-start-card{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:15px;
  align-items:start;
  min-height:154px;
  padding:20px;
  border:1px solid #dce3ee;
  border-radius:16px;
  background:#fff;
  color:#243041!important;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(23,52,95,.07);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.home-start-card:hover,.home-start-card:focus-visible{
  transform:translateY(-2px);
  border-color:#b8a7c8;
  box-shadow:0 12px 26px rgba(23,52,95,.11);
}
.home-start-card img{width:50px;height:50px;display:block}
.home-start-card h3{margin:0 0 7px;color:#17345f;font-size:1.05rem;line-height:1.25}
.home-start-card p{margin:0;color:#536177;font-size:.92rem;line-height:1.5}
.home-start-note{margin:20px 0 0!important;max-width:920px;color:#5c6980!important}
@media(max-width:900px){.home-start-grid{grid-template-columns:1fr}.home-start-card{min-height:0}}

/* Keep comparison language visually neutral and consistent. */
.cmp-stat .h,.snap h4{color:#17345f!important}

/* Remove remaining green accents from non Fire Assessment pages. */
.up{color:#17345f!important}
.page-shell .scale .low{background:#17345f!important}
.page-shell .mini-scale{background:linear-gradient(90deg,#17345f 0 30%,#d8a400 30% 60%,#6e5b91 60% 80%,#5b247a 80% 100%)!important}
