/* OSHA Hazard System basic styles - mobile friendly */
.osha-form, #osha-admin { max-width: 960px; margin: 0 auto; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.osha-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.osha-field input[type="text"],
.osha-field input[type="email"],
.osha-field input[type="password"],
.osha-field input[type="date"],
.osha-field input[type="time"],
.osha-field select,
.osha-field textarea { padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; width: 100%; box-sizing: border-box; }
.osha-btn { background: #1e88e5; color: #fff; padding: 10px 14px; border: none; border-radius: 10px; font-size: 16px; cursor: pointer; }
.osha-btn.small { font-size: 14px; padding: 8px 12px; }
.osha-btn.tiny { font-size: 12px; padding: 6px 10px; }
.osha-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.osha-table th, .osha-table td { border: 1px solid #eee; padding: 8px; text-align: left; vertical-align: top; }
.osha-tabs { display: flex; gap: 8px; margin: 10px 0; }
.osha-tablink { background: #eee; border: none; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.osha-tablink.active { background: #1e88e5; color: #fff; }
.osha-tab { display: none; }
.osha-tab.active { display: block; }
.osha-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.osha-feedback { margin-top: 10px; }
.osha-actions { margin-bottom: 8px; }
.osha-report .osha-metrics { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 10px; margin: 12px 0; }
.osha-report .osha-metrics > div { background: #fafafa; border: 1px solid #eee; border-radius: 8px; padding: 10px; }
.osha-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 680px){
  .osha-report .osha-metrics { grid-template-columns: 1fr 1fr; }
  .osha-cols { grid-template-columns: 1fr; }
}
