/* Pension Fund Investment Transparency Checker */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
  padding: 1rem;
}
.site-header { background: #003366; color: #fff; padding: 1rem 0; }
.nav-container { display: flex; align-items: center; gap: 1rem; }
.nav-brand { color: #fff; text-decoration: none; font-weight: 600; font-size: 1.25rem; }
.main-content { max-width: 1200px; margin: 0 auto; }
.hero-section { text-align: center; margin-bottom: 2rem; padding: 1.5rem; background: #f8f9fa; border-radius: 8px; }
.hero-title { font-size: 2rem; margin-bottom: 0.5rem; color: #003366; }
.hero-subtitle { color: #555; margin-bottom: 1rem; }
.scheme-selector { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.scheme-selector label { font-weight: 500; }
.scheme-selector select, .scheme-selector input { padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; min-width: 280px; }
.last-updated { font-size: 0.875rem; color: #666; margin-top: 0.5rem; }
audit-workspace { margin-bottom: 2rem; }
audit-columns { display: flex; gap: 1.5rem; flex-wrap: wrap; }
audit-panel { flex: 1; min-width: 280px; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 1rem; }
audit-panel h2 { font-size: 1.25rem; margin-bottom: 1rem; color: #003366; border-bottom: 2px solid #003366; padding-bottom: 0.5rem; }
audit-panel h3 { font-size: 1rem; margin: 1rem 0 0.5rem; color: #555; }
.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.check-item { display: flex; align-items: center; gap: 0.5rem; }
.check-item label { cursor: pointer; }
textarea { width: 100%; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; resize: vertical; }
.score-display { font-size: 1.125rem; font-weight: 600; color: #003366; margin: 0.5rem 0 1rem; }
.question-generator { background: #f8f9fa; padding: 1.5rem; border-radius: 8px; margin: 2rem 0; }
.question-generator h2 { margin-bottom: 1rem; color: #003366; }
.intro-text { color: #555; margin-bottom: 1rem; }
.questions-container { background: #fff; padding: 1rem; border-radius: 8px; border: 1px solid #e0e0e0; margin-bottom: 1rem; }
.question-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 0.75rem; background: #f5f5f5; border-radius: 4px; margin-bottom: 0.75rem; }
.question-text { flex: 1; margin: 0; }
.copy-btn { background: #003366; color: #fff; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; font-size: 0.875rem; }
.copy-btn:hover { background: #002244; }
.questions-add textarea { margin-top: 1rem; }
.export-controls { display: flex; gap: 1rem; margin-top: 1rem; }
.primary-btn { background: #003366; color: #fff; border: none; padding: 0.75rem 1.5rem; border-radius: 4px; cursor: pointer; font-weight: 500; }
.primary-btn:hover { background: #002244; }
.secondary-btn { background: #fff; color: #003366; border: 1px solid #003366; padding: 0.75rem 1.5rem; border-radius: 4px; cursor: pointer; }
.secondary-btn:hover { background: #f0f0f0; }
.content-section { margin: 2rem 0; }
.content-section h2 { color: #003366; margin-bottom: 0.75rem; font-size: 1.25rem; }
.content-section ul { margin-left: 1.5rem; }
.content-section li { margin-bottom: 0.5rem; }
.content-section strong { color: #003366; }
.site-footer { text-align: center; padding: 1.5rem; margin-top: 2rem; border-top: 1px solid #e0e0e0; }
.footer-note { color: #666; margin-bottom: 0.5rem; }
.footer-links a { color: #003366; text-decoration: none; margin: 0 0.5rem; }
.footer-links a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  audit-columns { flex-direction: column; }
  .scheme-selector select, .scheme-selector input { min-width: auto; }
  .hero-title { font-size: 1.75rem; }
  .export-controls { flex-direction: column; }
}
@media (max-width: 480px) {
  .site-header { padding: 0.75rem 0; }
  .hero-section { padding: 1rem; }
}


/* 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;
}
