/* Income Impact Budget Reducer Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }\nbody { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; background: #fff; }\n.container { max-width: 78rem; margin: 0 auto; padding: 1.5rem; }\n.site-header, .site-footer { background: #f8f9fa; border-bottom: 1px solid #e9ecef; border-top: 1px solid #e9ecef; padding: 1.25rem 0; }\n.site-header h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.25rem; }\n.tagline { color: #666; font-size: 1rem; }\n.nav { display: flex; gap: 1rem; margin-top: 0.75rem; }\n.nav a { color: #0066cc; text-decoration: none; font-weight: 500; }\n.nav a:hover { text-decoration: underline; }\n.intro { text-align: center; margin-bottom: 2rem; }\n.intro h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }\n.intro p { color: #555; margin-bottom: 1rem; }\n.presets { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }\n.preset-btn { background: #0066cc; color: white; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; font-size: 0.9rem; }\n.preset-btn:hover, .preset-btn:focus { background: #0052a3; outline: 2px solid #0066cc; outline-offset: 2px; }\n.inputs h3, .results h3, .alternatives h3, .scenarios h3, .tips h3, .export h3 { font-size: 1.25rem; margin-bottom: 1rem; }\n.input-group { display: flex; flex-direction: column; gap: 0.25rem; }\n.input-group label { font-size: 0.875rem; font-weight: 500; }\n.input-group input { padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }\n.input-group input:focus { border-color: #0066cc; outline: none; box-shadow: 0 0 0 2px rgba(0,102,204,0.2); }\n.input-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }\n.input-row .input-group { flex: 1; min-width: 120px; }\n.result-card { background: #f8f9fa; border-left: 4px solid #0066cc; padding: 1rem; margin-bottom: 1rem; }\n.result-header { display: flex; justify-content: space-between; align-items: baseline; }\n.result-title { font-weight: 500; }\n.result-value { font-size: 1.5rem; font-weight: 700; color: #0066cc; }\n.result-note { font-size: 0.875rem; color: #666; margin-top: 0.25rem; }\n.alt-group { margin-bottom: 1.5rem; }\n.alt-group h4 { font-size: 1rem; margin-bottom: 0.5rem; color: #0066cc; }\n.alt-list { list-style: none; padding-left: 0; }\n.alt-list li { padding-left: 1.25rem; position: relative; }\n.alt-list li::before { content: '•'; position: absolute; left: 0; color: #0066cc; font-weight: bold; }\n.alt-list li + li { margin-top: 0.25rem; }\n.mistake-list { list-style: none; padding: 0; }\n.mistake-list li { margin-bottom: 0.75rem; padding-left: 1rem; position: relative; }\n.mistake-list li::before { content: '⚠'; position: absolute; left: 0; top: 0; }\n.mistake-list li strong { color: #c00; }\n.export-btn { background: #28a745; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 4px; cursor: pointer; font-size: 1rem; margin-right: 0.5rem; }\n.export-btn:hover, .export-btn:focus { background: #218838; outline: 2px solid #28a745; outline-offset: 2px; }\n.site-footer { text-align: center; font-size: 0.875rem; color: #666; }\n.site-footer p { margin-bottom: 0.25rem; }\n@media (max-width: 600px) { .container { padding: 1rem; } .input-row { flex-direction: column; gap: 0.5rem; } .site-header h1 { font-size: 1.5rem; } .tagline { font-size: 0.9rem; } .nav { flex-wrap: wrap; gap: 0.5rem; font-size: 0.9rem; } .result-header { flex-direction: column; align-items: flex-start; gap: 0.25rem; } .export-btn { width: 100%; margin-bottom: 0.5rem; } }



/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
