/* Thrifted Tool Restoration Path - Styles */
* { box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; margin: 0; padding: 0; line-height: 1.6; color: #333; background: #fff; }
a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 1rem; }
header { background: #2c3e50; color: white; padding: 1rem 0; }
header h1 { font-size: 1.5rem; margin: 0; }
nav a { margin-left: 1.5rem; color: #ecf0f1; }
nav a:hover { text-decoration: underline; }
.hero { background: linear-gradient(135deg, #3498db, #2c3e50); color: white; padding: 2rem 0; text-align: center; }
.hero h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.planner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.input-panel, .results-panel { background: #f8f9fa; border-radius: 8px; padding: 1.5rem; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.hidden { display: none; }
.field-group { margin-bottom: 1rem; }
.field-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.field-group input, .field-group select { width: 100%; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; }
.slider-group { margin-bottom: 1rem; }
.slider-group label { display: block; margin-bottom: 0.25rem; font-size: 0.9rem; }
slider-group input[type='range'] { width: 100%; }
.presets { margin-top: 1.5rem; }
.presets h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.preset-btn { background: #e74c3c; color: white; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; margin-right: 0.5rem; }
.preset-btn:hover { background: #c0392b; }
.primary-btn { background: #27ae60; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 4px; font-size: 1rem; cursor: pointer; width: 100%; margin-top: 1rem; }
.primary-btn:hover { background: #2ecc71; }
.path-summary { background: white; padding: 1rem; border-radius: 4px; margin-bottom: 1rem; }
.path-steps { max-height: 300px; overflow-y: auto; margin-bottom: 1rem; }
.step-item { background: white; padding: 0.75rem; margin-bottom: 0.5rem; border-radius: 4px; border-left: 4px solid #3498db; }
.step-item h4 { margin: 0 0 0.5rem 0; font-size: 0.95rem; }
.step-item p { margin: 0; font-size: 0.9rem; color: #666; }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.actions button { flex: 1; min-width: 120px; padding: 0.5rem; border: 1px solid #ccc; background: white; border-radius: 4px; cursor: pointer; }
.actions button:hover { background: #e9ecef; }
.example-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.example-card { background: white; padding: 1rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.example-card h4 { margin-top: 0; font-size: 1rem; color: #2c3e50; }
.example-card p { margin: 0.25rem 0; font-size: 0.85rem; }
.troubleshooting ul { padding-left: 1.5rem; }
.troubleshooting li { margin-bottom: 0.5rem; }
footer { background: #ecf0f1; padding: 1rem 0; text-align: center; font-size: 0.9rem; }
@media (max-width: 768px) { .planner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .example-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .actions button { flex: none; width: 100%; } }


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