html, body { height: 100%; margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.app { display: grid; grid-template-columns: 220px 1fr; height: 100vh; }
.sidebar { padding: 16px; border-right: 1px solid #ddd; }
.sidebar nav { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.sidebar a { text-decoration: none; color: #0366d6; font-weight: 600; }
.content { padding: 16px; }
.card { border: 1px solid #ddd; border-radius: 10px; padding: 12px; margin-top: 12px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.col-12 { grid-column: 1 / -1; }
.label { font-weight: 700; margin-bottom: 6px; display: block; }
input, select { width: 100%; padding: 10px; border-radius: 10px; border: 1px solid #ccc; }
button { padding: 14px; border-radius: 12px; border: none; font-size: 18px; font-weight: 800; cursor: pointer; width: 100%; }
.btn-success { background: #1a7f37; color: white; }
.btn-danger { background: #d1242f; color: white; }
.btn-primary { background: #0969da; color: white; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid #ddd; display:inline-block; }
.badge.est { border-color: #d1242f; }
.table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.table th, .table td { border-bottom: 1px solid #eee; padding: 10px; text-align: left; vertical-align: top; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: #555; }
.text-end { text-align: right; }
.alert { padding: 10px 12px; border-radius: 10px; background: #eef6ff; border: 1px solid #cfe3ff; margin-top: 12px; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid #ddd; }
  .row { grid-template-columns: 1fr; }
}
