/* ls_tools.css — the tool pages: /tools/ and the three checkers
 * (/foreclosure-risk-checker/, /political-sign-rules/, /str-rules/).
 *
 * They were Ghost-layout pages until 2026-10-14 (owner). They now use the
 * same architecture as /privacy/ and /terms/ (.hw-hero then .hw-article on
 * ls_evergreen.css), wrapped in #hw-solar.hw-tool.
 *
 * Each checker's script injects its own LIGHT stylesheet into <head> at
 * runtime (navy #1F3A5F on off-white), and the summary table under it uses
 * the same skin. These ID-scoped rules outrank it and give the widget and
 * the table the DG4 dark skin — the same treatment ls_evergreen.css gives
 * the foreclosure checker embedded on the evergreen pages. Presentation
 * only: tool text, data and behaviour are untouched.
 *
 * EVERY RULE IS SCOPED TO #hw-solar.hw-tool (inert on every other page).
 * PX ONLY: the Ghost theme sets html{font-size:62.5%}, so rem would shrink.
 */

#hw-solar.hw-tool .hoastr,
#hw-solar.hw-tool .hoaps,
#hw-solar.hw-tool .hoafrc {
  background: rgba(255, 255, 255, 0.02) !important;
  color: rgba(244, 241, 233, 0.92) !important;
  border: 1px solid var(--hairline) !important;
  border-left: 4px solid var(--gold) !important;
  border-radius: 8px;
}

#hw-solar.hw-tool .hoastr-label, #hw-solar.hw-tool .hoastr-form legend, #hw-solar.hw-tool .hoastr-results-h, #hw-solar.hw-tool .hoastr-radio, #hw-solar.hw-tool .hoastr-p,
#hw-solar.hw-tool .hoaps-label, #hw-solar.hw-tool .hoaps-form legend, #hw-solar.hw-tool .hoaps-results-h, #hw-solar.hw-tool .hoaps-radio, #hw-solar.hw-tool .hoaps-p,
#hw-solar.hw-tool .hoafrc-label, #hw-solar.hw-tool .hoafrc-form legend, #hw-solar.hw-tool .hoafrc-results-h, #hw-solar.hw-tool .hoafrc-radio, #hw-solar.hw-tool .hoafrc-p {
  color: rgba(244, 241, 233, 0.92) !important;
}

#hw-solar.hw-tool .hoastr-help, #hw-solar.hw-tool .hoastr-gov, #hw-solar.hw-tool .hoastr-same, #hw-solar.hw-tool .hoastr-sec-h, #hw-solar.hw-tool .hoastr-verified, #hw-solar.hw-tool .hoastr-disclaimer,
#hw-solar.hw-tool .hoaps-help, #hw-solar.hw-tool .hoaps-gov, #hw-solar.hw-tool .hoaps-same, #hw-solar.hw-tool .hoaps-sec-h, #hw-solar.hw-tool .hoaps-verified, #hw-solar.hw-tool .hoaps-disclaimer,
#hw-solar.hw-tool .hoafrc-help, #hw-solar.hw-tool .hoafrc-gov, #hw-solar.hw-tool .hoafrc-same, #hw-solar.hw-tool .hoafrc-sec-h, #hw-solar.hw-tool .hoafrc-verified, #hw-solar.hw-tool .hoafrc-disclaimer {
  color: var(--ink-dim) !important;
}

#hw-solar.hw-tool .hoastr-select, #hw-solar.hw-tool .hoastr-input,
#hw-solar.hw-tool .hoaps-select, #hw-solar.hw-tool .hoaps-input,
#hw-solar.hw-tool .hoafrc-select, #hw-solar.hw-tool .hoafrc-input {
  background: #0a0c10 !important;
  color: rgba(244, 241, 233, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

#hw-solar.hw-tool .hoastr-select:focus, #hw-solar.hw-tool .hoastr-input:focus, #hw-solar.hw-tool .hoastr-btn:focus, #hw-solar.hw-tool .hoastr-chip:focus,
#hw-solar.hw-tool .hoaps-select:focus, #hw-solar.hw-tool .hoaps-input:focus, #hw-solar.hw-tool .hoaps-btn:focus, #hw-solar.hw-tool .hoaps-chip:focus,
#hw-solar.hw-tool .hoafrc-select:focus, #hw-solar.hw-tool .hoafrc-input:focus, #hw-solar.hw-tool .hoafrc-btn:focus, #hw-solar.hw-tool .hoafrc-chip:focus {
  outline: 2px solid var(--gold-dim) !important;
}

#hw-solar.hw-tool .hoastr-radio input,
#hw-solar.hw-tool .hoaps-radio input,
#hw-solar.hw-tool .hoafrc-radio input {
  accent-color: var(--gold) !important;
}

#hw-solar.hw-tool .hoastr-btn, #hw-solar.hw-tool .hoastr a.hoastr-btn, #hw-solar.hw-tool .hoastr button.hoastr-btn,
#hw-solar.hw-tool .hoaps-btn, #hw-solar.hw-tool .hoaps a.hoaps-btn, #hw-solar.hw-tool .hoaps button.hoaps-btn,
#hw-solar.hw-tool .hoafrc-btn, #hw-solar.hw-tool .hoafrc a.hoafrc-btn, #hw-solar.hw-tool .hoafrc button.hoafrc-btn {
  background: var(--gold) !important;
  border: 1px solid var(--gold) !important;
  color: #fff !important;
}

#hw-solar.hw-tool .hoastr-btn:hover, #hw-solar.hw-tool .hoastr a.hoastr-btn:hover, #hw-solar.hw-tool .hoastr button.hoastr-btn:hover,
#hw-solar.hw-tool .hoaps-btn:hover, #hw-solar.hw-tool .hoaps a.hoaps-btn:hover, #hw-solar.hw-tool .hoaps button.hoaps-btn:hover,
#hw-solar.hw-tool .hoafrc-btn:hover, #hw-solar.hw-tool .hoafrc a.hoafrc-btn:hover, #hw-solar.hw-tool .hoafrc button.hoafrc-btn:hover {
  background: var(--gold-bright) !important;
  border-color: var(--gold-bright) !important;
}

#hw-solar.hw-tool .hoastr-btn-ghost, #hw-solar.hw-tool .hoastr a.hoastr-btn-ghost, #hw-solar.hw-tool .hoastr button.hoastr-btn-ghost,
#hw-solar.hw-tool .hoaps-btn-ghost, #hw-solar.hw-tool .hoaps a.hoaps-btn-ghost, #hw-solar.hw-tool .hoaps button.hoaps-btn-ghost,
#hw-solar.hw-tool .hoafrc-btn-ghost, #hw-solar.hw-tool .hoafrc a.hoafrc-btn-ghost, #hw-solar.hw-tool .hoafrc button.hoafrc-btn-ghost {
  background: transparent !important;
  color: var(--gold) !important;
  border-color: var(--gold) !important;
}

#hw-solar.hw-tool .hoastr a.hoastr-btn-ghost:hover,
#hw-solar.hw-tool .hoaps a.hoaps-btn-ghost:hover,
#hw-solar.hw-tool .hoafrc a.hoafrc-btn-ghost:hover {
  background: var(--gold) !important;
  color: #fff !important;
}

#hw-solar.hw-tool .hoastr-chip, #hw-solar.hw-tool .hoastr a.hoastr-chip,
#hw-solar.hw-tool .hoaps-chip, #hw-solar.hw-tool .hoaps a.hoaps-chip,
#hw-solar.hw-tool .hoafrc-chip, #hw-solar.hw-tool .hoafrc a.hoafrc-chip {
  color: var(--gold) !important;
  border: 1px solid var(--gold-dim) !important;
}

#hw-solar.hw-tool .hoastr-chip:hover, #hw-solar.hw-tool .hoastr a.hoastr-chip:hover,
#hw-solar.hw-tool .hoaps-chip:hover, #hw-solar.hw-tool .hoaps a.hoaps-chip:hover,
#hw-solar.hw-tool .hoafrc-chip:hover, #hw-solar.hw-tool .hoafrc a.hoafrc-chip:hover {
  background: var(--gold) !important;
  color: #fff !important;
}

#hw-solar.hw-tool .hoastr-card,
#hw-solar.hw-tool .hoaps-card,
#hw-solar.hw-tool .hoafrc-card {
  border-top: 2px solid var(--gold) !important;
}

#hw-solar.hw-tool .hoastr-stack-h,
#hw-solar.hw-tool .hoaps-stack-h,
#hw-solar.hw-tool .hoafrc-stack-h {
  color: var(--gold) !important;
}

#hw-solar.hw-tool .hoastr-gov a,
#hw-solar.hw-tool .hoaps-gov a,
#hw-solar.hw-tool .hoafrc-gov a {
  color: var(--gold) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#hw-solar.hw-tool .hoastr-badge,
#hw-solar.hw-tool .hoaps-badge,
#hw-solar.hw-tool .hoafrc-badge {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: rgba(244, 241, 233, 0.75) !important;
}

#hw-solar.hw-tool .hoastr-eval-below,
#hw-solar.hw-tool .hoaps-eval-below,
#hw-solar.hw-tool .hoafrc-eval-below {
  color: var(--gold) !important;
}

#hw-solar.hw-tool .hoastr-eval-meets,
#hw-solar.hw-tool .hoaps-eval-meets,
#hw-solar.hw-tool .hoafrc-eval-meets {
  color: var(--ink) !important;
}

#hw-solar.hw-tool .hoastr-err,
#hw-solar.hw-tool .hoaps-err,
#hw-solar.hw-tool .hoafrc-err {
  color: var(--gold) !important;
}

#hw-solar.hw-tool .hoastr-foot,
#hw-solar.hw-tool .hoaps-foot,
#hw-solar.hw-tool .hoafrc-foot {
  border-top: 1px solid var(--hairline) !important;
}

#hw-solar.hw-tool .hoastr-static-table,
#hw-solar.hw-tool .hoaps-static-table,
#hw-solar.hw-tool .hoafrc-static-table {
  max-width: 880px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#hw-solar.hw-tool .hoastr-static-table table,
#hw-solar.hw-tool .hoaps-static-table table,
#hw-solar.hw-tool .hoafrc-static-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-dim);
}

#hw-solar.hw-tool .hoastr-static-table th,
#hw-solar.hw-tool .hoaps-static-table th,
#hw-solar.hw-tool .hoafrc-static-table th {
  background: transparent !important;
  color: var(--gold) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 10px;
  border-bottom: 1px solid var(--gold-dim);
  white-space: normal !important;   /* the widget's nowrap headers starved the citation column */
}

#hw-solar.hw-tool .hoastr-static-table td,
#hw-solar.hw-tool .hoaps-static-table td,
#hw-solar.hw-tool .hoafrc-static-table td {
  border: 0 !important;
  border-bottom: 1px solid var(--hairline) !important;
  padding: 9px 10px;
  vertical-align: top;
}

#hw-solar.hw-tool .hoastr-static-table tr:nth-child(even) td,
#hw-solar.hw-tool .hoaps-static-table tr:nth-child(even) td,
#hw-solar.hw-tool .hoafrc-static-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02) !important;
}

#hw-solar.hw-tool .hoastr-static-table td:first-child,
#hw-solar.hw-tool .hoaps-static-table td:first-child,
#hw-solar.hw-tool .hoafrc-static-table td:first-child {
  color: var(--ink);
  white-space: nowrap;
}

#hw-solar.hw-tool .hoastr-static-table a,
#hw-solar.hw-tool .hoaps-static-table a,
#hw-solar.hw-tool .hoafrc-static-table a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#hw-solar.hw-tool .hoastr-static-table a:hover,
#hw-solar.hw-tool .hoaps-static-table a:hover,
#hw-solar.hw-tool .hoafrc-static-table a:hover {
  color: var(--gold-bright);
}

#hw-solar.hw-tool .hoastr-table-src,
#hw-solar.hw-tool .hoaps-table-src,
#hw-solar.hw-tool .hoafrc-table-src {
  color: var(--ink-faint) !important;
  font-size: 12.5px;
}

/* ── spacing: ls_evergreen.css resets every element under #hw-solar to
 * margin/padding 0 with an ID selector, which outranks the widget's own
 * class rules, so the widget's spacing is restated here. ─────────────── */
#hw-solar.hw-tool .hoastr,
#hw-solar.hw-tool .hoaps,
#hw-solar.hw-tool .hoafrc {
  padding: 24px 26px !important;
  margin: 20px 0 32px !important;
  font-size: 15.5px;
  line-height: 1.6;
}

#hw-solar.hw-tool .hoastr-form,
#hw-solar.hw-tool .hoaps-form,
#hw-solar.hw-tool .hoafrc-form {
  gap: 18px 22px !important;
}

#hw-solar.hw-tool .hoastr-label, #hw-solar.hw-tool .hoastr-form legend,
#hw-solar.hw-tool .hoaps-label, #hw-solar.hw-tool .hoaps-form legend,
#hw-solar.hw-tool .hoafrc-label, #hw-solar.hw-tool .hoafrc-form legend {
  margin: 0 0 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

#hw-solar.hw-tool .hoastr-select, #hw-solar.hw-tool .hoastr-input,
#hw-solar.hw-tool .hoaps-select, #hw-solar.hw-tool .hoaps-input,
#hw-solar.hw-tool .hoafrc-select, #hw-solar.hw-tool .hoafrc-input {
  padding: 10px 12px !important;
  border-radius: 4px !important;
  font-size: 15px;
}

#hw-solar.hw-tool .hoastr-radio,
#hw-solar.hw-tool .hoaps-radio,
#hw-solar.hw-tool .hoafrc-radio {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 4px 22px 4px 0 !important;
  font-size: 15px;
}

#hw-solar.hw-tool .hoastr-btn, #hw-solar.hw-tool .hoastr a.hoastr-btn, #hw-solar.hw-tool .hoastr button.hoastr-btn,
#hw-solar.hw-tool .hoaps-btn, #hw-solar.hw-tool .hoaps a.hoaps-btn, #hw-solar.hw-tool .hoaps button.hoaps-btn,
#hw-solar.hw-tool .hoafrc-btn, #hw-solar.hw-tool .hoafrc a.hoafrc-btn, #hw-solar.hw-tool .hoafrc button.hoafrc-btn {
  padding: 12px 22px !important;
  margin: 0 10px 10px 0 !important;
  border-radius: 4px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#hw-solar.hw-tool .hoastr-results-h,
#hw-solar.hw-tool .hoaps-results-h,
#hw-solar.hw-tool .hoafrc-results-h {
  margin: 28px 0 8px !important;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px !important;
  color: #fbf9f4 !important;
}

#hw-solar.hw-tool .hoastr-card,
#hw-solar.hw-tool .hoaps-card,
#hw-solar.hw-tool .hoafrc-card {
  margin: 18px 0 0 !important;
  padding: 14px 0 0 !important;
}

#hw-solar.hw-tool .hoastr-stack-h,
#hw-solar.hw-tool .hoaps-stack-h,
#hw-solar.hw-tool .hoafrc-stack-h {
  margin: 12px 0 4px !important;
  font-size: 15px;
}

#hw-solar.hw-tool .hoastr-sec,
#hw-solar.hw-tool .hoaps-sec,
#hw-solar.hw-tool .hoafrc-sec {
  margin: 16px 0 0 !important;
}

#hw-solar.hw-tool .hoastr-sec-h,
#hw-solar.hw-tool .hoaps-sec-h,
#hw-solar.hw-tool .hoafrc-sec-h {
  margin: 0 0 6px !important;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#hw-solar.hw-tool .hoastr-p, #hw-solar.hw-tool .hoastr-same, #hw-solar.hw-tool .hoastr-gov,
#hw-solar.hw-tool .hoaps-p, #hw-solar.hw-tool .hoaps-same, #hw-solar.hw-tool .hoaps-gov,
#hw-solar.hw-tool .hoafrc-p, #hw-solar.hw-tool .hoafrc-same, #hw-solar.hw-tool .hoafrc-gov {
  margin: 0 0 8px !important;
}

#hw-solar.hw-tool .hoastr-chip, #hw-solar.hw-tool .hoastr a.hoastr-chip,
#hw-solar.hw-tool .hoaps-chip, #hw-solar.hw-tool .hoaps a.hoaps-chip,
#hw-solar.hw-tool .hoafrc-chip, #hw-solar.hw-tool .hoafrc a.hoafrc-chip {
  padding: 2px 10px !important;
  margin: 3px 6px 3px 0 !important;
  border-radius: 999px;
  font-size: 12.5px;
  text-decoration: none !important;
}

#hw-solar.hw-tool .hoastr-badge,
#hw-solar.hw-tool .hoaps-badge,
#hw-solar.hw-tool .hoafrc-badge {
  padding: 1px 7px !important;
  margin-left: 8px !important;
  border-radius: 3px;
  font-size: 11px;
}

#hw-solar.hw-tool .hoastr-foot,
#hw-solar.hw-tool .hoaps-foot,
#hw-solar.hw-tool .hoafrc-foot {
  margin-top: 22px !important;
  padding-top: 14px !important;
}

#hw-solar.hw-tool .hoastr-verified, #hw-solar.hw-tool .hoastr-disclaimer, #hw-solar.hw-tool .hoastr-help,
#hw-solar.hw-tool .hoaps-verified, #hw-solar.hw-tool .hoaps-disclaimer, #hw-solar.hw-tool .hoaps-help,
#hw-solar.hw-tool .hoafrc-verified, #hw-solar.hw-tool .hoafrc-disclaimer, #hw-solar.hw-tool .hoafrc-help {
  margin: 0 0 10px !important;
  font-size: 13px;
}

#hw-solar.hw-tool .hoastr-err,
#hw-solar.hw-tool .hoaps-err,
#hw-solar.hw-tool .hoafrc-err {
  margin: 8px 0 0 !important;
}

/* ── summary table layout and the results heading ── */
#hw-solar.hw-tool .hoastr-static-table table,
#hw-solar.hw-tool .hoaps-static-table table,
#hw-solar.hw-tool .hoafrc-static-table table {
  table-layout: auto !important;   /* ls_evergreen's fixed layout made every column equal */
  min-width: 720px;                 /* below this the wrapper scrolls sideways */
}

#hw-solar.hw-tool .hoastr-static-table td:last-child,
#hw-solar.hw-tool .hoaps-static-table td:last-child,
#hw-solar.hw-tool .hoafrc-static-table td:last-child {
  width: 34%;                       /* the citation column carries the long text */
}

#hw-solar.hw-tool .hoastr-results-h:focus,
#hw-solar.hw-tool .hoaps-results-h:focus,
#hw-solar.hw-tool .hoafrc-results-h:focus {
  outline: none;                    /* focused by the script for screen readers */
}

/* ── /tools/: each tool's name is a link inside its section header, so it
 * gets an arrow and a hover to read as one (component link: no underline). */
#hw-solar.hw-tool .hw-article-in h2 > a {
  color: var(--gold);
  text-decoration: none;
}
#hw-solar.hw-tool .hw-article-in h2 > a::after {
  content: " \2192";
}
#hw-solar.hw-tool .hw-article-in h2 > a:hover {
  color: var(--gold-bright);
}

/* ── the page's one-line summary under the h1 (Ghost's article excerpt,
 * carried verbatim into the hero, 2026-10-14) ── */
#hw-solar.hw-tool .hw-hero-dek {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-dim);
}
