* { box-sizing: border-box; }
body {
  font-family: -apple-system, system-ui, 'Segoe UI', sans-serif;
  margin: 0; padding: 0; background: #faf8f3; color: #222;
  -webkit-font-smoothing: antialiased; line-height: 1.55;
}
.hero {
  background: #faf8f3;
  color: #2b2b28; padding: 40px 20px 28px; text-align: center; /* s177 b02 — b16 de-gradient changed bg but left color:#fff → h1 rendered white-on-cream (invisible); fixed to charcoal */
}
.hero .label {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(74,107,63,0.10); border: 1px solid rgba(74,107,63,0.22); color: #4a6b3f;
  border-radius: 999px;
}
.hero h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.25; }
.hero .sub { font-size: 14px; color: #6c6c64; max-width: 540px; margin: 0 auto; }
main { max-width: 740px; margin: 0 auto; padding: 24px 20px 60px; }
.card {
  background: #fff; border-radius: 12px; padding: 22px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08); margin-bottom: 20px;
}
.card h2 { color: #4a6b3f; font-size: 18px; margin: 0 0 14px; }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: #444; margin-bottom: 4px;
}
.field input, .field select {
  width: 100%; padding: 11px 13px; border: 1px solid #ccc; border-radius: 8px;
  font-size: 15px; background: #fff;
}
.field input:focus, .field select:focus {
  outline: none; border-color: #4a6b3f; box-shadow: 0 0 0 2px rgba(43,43,40,0.15);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .row-2, .row-3 { grid-template-columns: 1fr; } }
.btn {
  width: 100%; padding: 13px; border: none; border-radius: 8px;
  background: #4a6b3f; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer;
}
.btn:hover { background: #234012; }
.btn:disabled { background: #aaa; cursor: not-allowed; }
.results { display: none; }
.results.show { display: block; }
.results-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px;
}
@media (max-width: 540px) { .results-grid { grid-template-columns: 1fr; } }
.metric {
  background: #f3f7ee; border-radius: 8px; padding: 14px;
}
.metric .label { font-size: 11px; color: #6a7355; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.metric .value { font-size: 22px; font-weight: 700; color: #4a6b3f; margin-top: 4px; }
.metric.highlight { background: #4a6b3f; color: #fff; }
.metric.highlight .label { color: rgba(255,255,255,0.8); }
.metric.highlight .value { color: #fff; }
.disclaimers {
  background: #fff8e1; border-left: 4px solid #e65100;
  padding: 14px 16px; margin: 16px 0; border-radius: 0 8px 8px 0;
  font-size: 13px;
}
.disclaimers strong { color: #b54e00; display: block; margin-bottom: 4px; }
.disclaimers ul { margin: 6px 0 0 18px; padding: 0; }
.disclaimers li { margin-bottom: 3px; }
.error-msg { margin: 14px 0; padding: 12px 14px; border-radius: 8px;
  background: #ffebee; color: #b71c1c; font-size: 14px; display: none; }
.footer-nav {
  text-align: center; font-size: 12px; color: #777;
  border-top: 1px solid #e7e9d8; padding: 20px 16px; background: #f3f7ee;
}
.footer-nav a { color: #4a6b3f; text-decoration: none; margin: 0 8px; }

  /* Extracted utility classes (previously inline styles). */
  ._si1 { margin-bottom: 18px; padding: 12px 14px; background: #f9fafb; border: 1px solid #e2e8f0; border-radius: 8px; }
  ._si2 { font-size: 12px; font-weight: 600; color: #1f2937; margin-bottom: 8px; }
  ._si3 { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; cursor: pointer; font-size: 13px; }
  ._si4 { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
  ._si5 { margin: 12px 0; }
  ._si6 { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; }
  ._si7 { margin-top: 3px; flex-shrink: 0; }
  ._si8 { display:none; margin-top: 10px; }
  ._si9 { font-size: 13px; color: #555; margin-top: 14px; }
  ._si10 { text-align: center; margin-top: 20px; }
  ._si11 { display: inline-block; padding: 12px 24px; text-decoration: none; }
