/* Bike Trailer Weight Calculator Styles */
* { 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: #333;
  background: #fafafa;
}
.container { max-width: 900px; margin: 0 auto; padding: 1rem; }
header { background: #2c3e50; color: white; padding: 1rem 0; }
header h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
nav a { color: #ecf0f1; text-decoration: none; font-weight: 500; }
nav a:hover { text-decoration: underline; }
main { padding: 2rem 0; }
h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #2c3e50; }
h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: #34495e; }
.calculator-section { background: white; border-radius: 8px; padding: 1.5rem; margin-bottom: 2rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.inputs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.input-group { display: flex; flex-direction: column; gap: 0.25rem; }
label { font-weight: 500; font-size: 0.9rem; }
select, input { padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }
.help-text { font-size: 0.8rem; color: #666; margin-top: 0.25rem; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.result-card { background: #f8f9fa; border-radius: 6px; padding: 1rem; border-left: 4px solid #4a90e2; }
.result-item { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid #eee; }
.result-item:last-child { border-bottom: none; }
.value { font-weight: 600; }
.status-ok { color: #27ae60; }
.status-warning { color: #f39c12; }
.status-danger { color: #e74c3c; }
.save-btn { background: #4a90e2; color: white; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; margin-top: 0.5rem; font-size: 0.9rem; }
.save-btn:hover { background: #357abd; }
.result-diagram { background: #f8f9fa; border-radius: 6px; padding: 1rem; }
.diagram-container { text-align: center; margin-top: 0.5rem; }
.diagram-note { font-size: 0.8rem; color: #666; margin-top: 0.5rem; }
.examples-section { margin: 2rem 0; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.scenario-card { background: white; border-radius: 8px; padding: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.scenario-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #2c3e50; }
.scenario-card p { font-size: 0.9rem; }
.reference-section { background: white; border-radius: 8px; padding: 1.5rem; margin: 2rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.ref-card { background: #f8f9fa; border-radius: 6px; padding: 1rem; }
.ref-card h3 { font-size: 1rem; margin-bottom: 0.75rem; color: #34495e; }
.ref-card table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.ref-card th, .ref-card td { padding: 0.5rem; border-bottom: 1px solid #eee; }
.ref-card ul { padding-left: 1.2rem; }
.ref-card li { margin-bottom: 0.25rem; }
.caveats-box {
  background: #fff3cd; border: 1px solid #ffc107; border-radius: 6px; padding: 1rem;
  margin-top: 1.5rem;
}
.caveats-box h3 { margin-bottom: 0.75rem; color: #856404; }
.caveats-box p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.save-section { background: white; border-radius: 8px; padding: 1.5rem; margin: 2rem 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.saved-list { margin: 1rem 0; }
.saved-config { background: #f8f9fa; padding: 0.75rem; border-radius: 4px; margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.saved-config:last-child { margin-bottom: 0; }
.clear-btn { background: #e74c3c; color: white; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; font-size: 0.9rem; }
.clear-btn:hover { background: #c0392b; }
footer { background: #2c3e50; color: #ecf0f1; padding: 1.5rem 0; text-align: center; font-size: 0.9rem; }
footer a { color: #3498db; }
@media (max-width: 600px) {
  header h1 { font-size: 1.5rem; }
  nav { flex-direction: column; gap: 0.5rem; }
  .results { flex-direction: column; }
  .caveats-box { font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .container { padding: 0.75rem; }
  header { padding: 0.75rem 0; }
}
/* AD_SLOT_720x120 */
/* ADSENSE_PLACEHOLDER */</arg_value>    },    {      


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