/* VHS Player Maintenance Guide Styles */
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
  margin: 0;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
}
.tagline {
  color: #a0a0a0;
  margin: 0.5rem 0 0;
  font-size: 1rem;
}
.site-nav {
  margin-top: 1rem;
}
.site-nav a {
  color: #4a90d9;
  text-decoration: none;
  margin: 0 0.5rem;
  font-size: 0.95rem;
}
.site-nav a:hover {
  text-decoration: underline;
}
.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
@media (min-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.hero-content h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.hero-content p { color: #555; }
.model-selector {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.model-selector select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}
.model-selector button {
  background: #4a90d9;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}
.model-selector button:hover { background: #357abd; }
.model-info {
  background: #f0f8ff;
  border-left: 4px solid #4a90d9;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 0 4px 4px 0;
}
.player-diagram {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}
section { margin: 2rem 0; }
section h2 { font-size: 1.5rem; border-bottom: 2px solid #4a90d9; padding-bottom: 0.25rem; }
schedule-grid, .issue-grid, .recipe-grid, .tools-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.schedule-card, .issue-card, .recipe-card, .tool-item {
  background: #fff;
  padding: 1.25rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
schedule-card, .issue-card, .recipe-card { border-top: 4px solid #4a90d9; }
.tool-item { border-left: 4px solid #27ae60; }
.schedule-list { margin: 0; padding-left: 1.25rem; }
schedule-list li { margin: 0.25rem 0; }
.issue-details p { margin: 0.25rem 0; }
.ingredients { font-size: 0.9rem; color: #666; font-family: monospace; }
.usage { font-size: 0.9rem; color: #555; }
.note { font-size: 0.85rem; color: #666; margin-top: 0.5rem; }
.calculator-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: end;
}
.calc-item label { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }
.calc-item input, .calc-item output {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
}
.btn-primary { background: #4a90d9; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 6px; cursor: pointer; font-size: 1rem; }
.btn-primary:hover { background: #357abd; }
.site-footer {
  background: #1a1a2e;
  color: #a0a0a0;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}
.site-footer a { color: #4a90d9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.last-updated { text-align: center; color: #666; font-size: 0.9rem; margin: 2rem 0; }
@media (max-width: 767px) {
  .model-selector { flex-direction: column; }
  .hero-content { text-align: center; }
  section { padding: 0.5rem; }
  .schedule-card, .issue-card, .recipe-card { 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;
}
