* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; margin: 0; padding: 0; background: #f8f9fa; color: #333; }
header { background: linear-gradient(135deg, #2c5282, #1a365d); color: white; padding: 2rem 1rem; text-align: center; }
header h1 { margin: 0; font-size: 2.5rem; }
.tagline { margin: 0.5rem 0 0; opacity: 0.9; font-size: 1.2rem; }
main { max-width: 800px; margin: 0 auto; padding: 1rem; }
section { background: white; margin: 1rem 0; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
section h2 { margin-top: 0; color: #2c5282; border-bottom: 2px solid #e2e8f0; padding-bottom: 0.5rem; }
.question-group { display: flex; flex-direction: column; gap: 0.75rem; }
.question { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; padding: 0.5rem; border-radius: 4px; transition: background 0.2s; }
.question:hover { background: #f7fafc; }
.question input[type="checkbox"] { margin-top: 0.2rem; width: 18px; height: 18px; cursor: pointer; }
.question span { flex: 1; }
.score-display { text-align: center; }
.score-bar { background: #e2e8f0; height: 30px; border-radius: 15px; overflow: hidden; margin: 1rem 0; }
.score-fill { background: linear-gradient(90deg, #e53e3e, #dd6b20, #38a169); height: 100%; width: 0; transition: width 0.5s ease; border-radius: 15px; }
.score-text { font-size: 1.5rem; font-weight: bold; color: #2c5282; }
.improvements ul { list-style: none; padding: 0; }
.improvements li { padding: 0.75rem; margin: 0.5rem 0; background: #fffaf0; border-left: 4px solid #ed8936; border-radius: 4px; }
.actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 2rem 0; }
.actions button { padding: 0.75rem 1.5rem; border: none; border-radius: 4px; cursor: pointer; font-size: 1rem; transition: transform 0.1s; }
.actions button:hover { transform: translateY(-2px); }
#resetBtn { background: #e2e8f0; color: #4a5568; }
#printBtn { background: #4299e1; color: white; }
#shareBtn { background: #48bb78; color: white; }
.supporting-content h2 { color: #2c5282; margin-top: 2rem; }
.supporting-content h3 { color: #4a5568; margin-top: 1.5rem; }
.supporting-content ul { margin: 0.5rem 0; padding-left: 1.5rem; }
footer { text-align: center; padding: 2rem 1rem; color: #718096; font-size: 0.9rem; }
footer a { color: #4a5568; }
.hub-link { margin-top: 0.5rem; }
@media (max-width: 600px) { header h1 { font-size: 1.8rem; } section { padding: 1rem; } .actions { flex-direction: column; } }
@media print { .actions, footer, header { display: none; } body { background: white; } section { box-shadow: none; page-break-inside: avoid; } }


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