/* Parking Space Efficiency Calculator Styles */
* {box-sizing:border-box;margin:0;padding:0;}
body {font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;line-height:1.6;color:#333;background:#fff;}
.container {max-width:1200px;margin:0 auto;padding:1rem;}
.site-header {background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:1rem 0;box-shadow:0 2px 4px rgba(0,0,0,0.1);}
.site-header h1 {font-size:1.8rem;margin-bottom:0.5rem;}
.nav a {color:#ecf0f1;text-decoration:none;margin-left:1.5rem;font-size:0.9rem;transition:color 0.2s;}
.nav a:hover {color:#3498db;}
.main-content {display:flex;flex-wrap:wrap;gap:2rem;margin-top:1.5rem;}
.calculator-section {flex:1;min-width:300px;}
.input-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin-bottom:1.5rem;}
.input-group label {display:block;font-weight:600;margin-bottom:0.25rem;font-size:0.9rem;color:#555;}
.input-group input, .input-group select {width:100%;padding:0.5rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;}
.hidden {display:none;}
.controls {display:flex;gap:0.75rem;margin:1rem 0;}
.primary-btn {background:#3498db;color:#fff;border:none;padding:0.75rem 1.5rem;border-radius:4px;font-size:1rem;cursor:pointer;transition:background 0.2s;}
.primary-btn:hover {background:#2980b9;}
.secondary-btn {background:#eee;color:#555;border:none;padding:0.75rem 1.5rem;border-radius:4px;font-size:1rem;cursor:pointer;transition:background 0.2s;}
.secondary-btn:hover {background:#ddd;}
.results {margin-top:1.5rem;}
.result-card {background:#f8f9fa;border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:0 1px 3px rgba(0,0,0,0.1);}
.result-card h3 {font-size:1.1rem;margin-bottom:0.75rem;color:#2c3e50;border-bottom:1px solid #eee;padding-bottom:0.5rem;}
.metrics {display:flex;gap:2rem;flex-wrap:wrap;}
.metric {text-align:center;}
.value {font-size:1.8rem;font-weight:700;color:#3498db;}
.label {font-size:0.8rem;color:#666;margin-top:0.25rem;}
.diagram {background:#fff;border:1px solid #ddd;border-radius:4px;padding:0.5rem;}
svg {width:100%;height:auto;}
.actions {display:flex;gap:0.5rem;margin-top:1rem;}
.action-btn {background:#27ae60;color:#fff;border:none;padding:0.5rem 1rem;border-radius:4px;font-size:0.85rem;cursor:pointer;}
.action-btn:hover {background:#229954;}
.layout-info, .tips-section {flex:1;min-width:300px;}
.strategy-grid, .tips-grid {display:grid;gap:1rem;}
.strategy, .tip-card {background:#f8f9fa;padding:1rem;border-radius:8px;border-left:4px solid #3498db;}
.strategy h3, .tip-card h3 {color:#2c3e50;margin-bottom:0.5rem;font-size:1rem;}
.site-footer {background:#2c3e50;color:#ecf0f1;padding:1rem 0;margin-top:2rem;text-align:center;font-size:0.85rem;}
.site-footer a {color:#3498db;text-decoration:none;}
@media (max-width:768px) {
.main-content {flex-direction:column;}
.strategy-grid {grid-template-columns:1fr;}
.tips-grid {grid-template-columns:1fr;}
.controls {flex-direction:column;}
.metrics {gap:1rem;}
.value {font-size:1.5rem;}
}
@media (max-width:480px) {
.site-header h1 {font-size:1.5rem;}
.nav a {margin:0 0.5rem;}
.input-grid {grid-template-columns:1fr;}
.strategy, .tip-card {padding:0.75rem;}
}


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