/* Iron Lung Heritage Preserver Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }\nbody { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; line-height: 1.6; color: #1a1a1a; background-color: #f8f9fa; }\na { color: #2c5282; text-decoration: none; }\na:hover { text-decoration: underline; }\n\n/* Header & Navigation */\nheader { background: linear-gradient(135deg, #e8f4f8 0%, #d1ecf1 100%); border-bottom: 2px solid #4a90e2; }\n.logo { font-size: 1.5rem; font-weight: 700; color: #1a365d; padding: 1rem 2rem; display: inline-block; }\n.logo:hover { color: #2c5282; }\n.nav-links { display: flex; list-style: none; gap: 2rem; padding: 1rem 2rem; }\n.nav-links a { color: #2c5282; font-weight: 500; }\n.nav-links a:hover { color: #1a365d; }\n\n/* Hero Section */\n.hero { background: linear-gradient(120deg, #e3f2fd 0%, #bbdefb 100%); padding: 2.5rem 2rem; text-align: center; border-bottom: 1px solid #90caf9; }\n.hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; color: #0d47a1; }\n.subtitle { font-size: 1.1rem; color: #4a4a4a; margin-bottom: 1.5rem; }\n.preservation-stats { display: flex; justify-content: center; gap: 2rem; font-size: 0.9rem; color: #555; }\n\n/* Main Sections */\nsection { padding: 2rem 2rem; max-width: 1200px; margin: 0 auto; }\nsection:nth-of-type(2n+1) { background: #fff; }\nsection:nth-of-type(2n) { background: #f8f9fa; }\n\n.workspace-section h2, .catalog-section h2, .stories-section h2, .plans-section h2, .support-content h2 { color: #0d47a1; margin-bottom: 1rem; border-bottom: 2px solid #4a90e2; padding-bottom: 0.5rem; }\n.section-intro { color: #555; margin-bottom: 1.5rem; font-style: italic; }\n\n/* Controls */\n.workspace-controls, .catalog-controls, .stories-controls, .plans-controls { margin-bottom: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }\n.primary-btn { background: #4a90e2; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer; font-weight: 500; }\n.primary-btn:hover { background: #357abd; }\n.secondary-btn { background: #e0e0e0; color: #333; border: 1px solid #ccc; padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer; }\n.secondary-btn:hover { background: #d5d5d5; }\n.export-btn { background: #28a745; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer; font-weight: 500; }\n.export-btn:hover { background: #218838; }\n#catalog-search, #stories-search, #plans-search { flex: 1; min-width: 200px; padding: 0.75rem; border: 1px solid #ccc; border-radius: 6px; }\n#catalog-search:focus, #stories-search:focus, #plans-search:focus { outline: 2px solid #4a90e2; }\n\n/* Presets Panel */\n.presets-panel { background: #e8f4f8; padding: 1.5rem; border-radius: 8px; margin-top: 1rem; }\n.presets-panel h3 { margin-bottom: 1rem; color: #0d47a1; }\n.preset-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }\n.preset-card { background: white; padding: 1rem; border-radius: 8px; border-left: 4px solid #4a90e2; cursor: pointer; transition: transform 0.2s; }\n.preset-card:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }\n.preset-card h4 { font-size: 1rem; margin-bottom: 0.5rem; color: #0d47a1; }\n.preset-card p { font-size: 0.85rem; color: #555; }\n\n/* Catalog & Grid Layouts */\n.artifact-placeholder, .story-placeholder, .plan-placeholder { text-align: center; padding: 2rem; color: #777; border: 2px dashed #ccc; border-radius: 8px; background: #fafafa; }\n.artifact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }\n.story-grid, .plan-list { margin-top: 1rem; }\n\n/* Support Content */\n.support-content h3 { color: #0d47a1; margin: 1.5rem 0 0.5rem; }\n.support-content p { margin-bottom: 1rem; }\n\n/* Footer */\nfooter { background: #1a1a1a; color: #ddd; text-align: center; padding: 1.5rem 2rem; font-size: 0.9rem; }\nfooter a { color: #4a90e2; }\nfooter a:hover { color: #66b2ff; }\n\n/* Responsive Design */\n@media (max-width: 768px) { .nav-links { flex-wrap: wrap; gap: 1rem; padding: 1rem; } .workspace-controls, .catalog-controls, .stories-controls, .plans-controls { flex-direction: column; } .preservation-stats { flex-direction: column; gap: 0.5rem; } .hero { padding: 1.5rem 1rem; } section { padding: 1.5rem 1rem; } }\n@media (max-width: 480px) { .nav-links { flex-direction: column; } .preset-cards { grid-template-columns: 1fr; } }\n\n/* Accessible Focus Styles */\n:focus { outline: 2px solid #4a90e2; outline-offset: 2px; }\nbutton:focus, input:focus { outline: 2px solid #4a90e2; }\n\n/* Print Styles */\n@media print { header, footer, .workspace-controls, .catalog-controls, .stories-controls, .plans-controls { display: none; } main { padding: 0; } section { background: white !important; page-break-inside: avoid; } }\n\n/* Animations */\n@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }\n.fade-in { animation: fadeIn 0.3s ease-in; }


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