:root {
  --brand: #0f5132;
  --brand-2: #198754;
  --sidebar-w: 260px;
  --bg: #f3f6f5;
}
body { background: var(--bg); font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #1f2937; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-w); background: linear-gradient(180deg, #0b3d26, #0f5132 60%, #136342); color: #d1e7dd; position: fixed; inset: 0 auto 0 0; overflow-y: auto; z-index: 1040; transition: transform .2s; }
.sidebar .brand { display: flex; gap: .6rem; align-items: center; padding: 1.1rem 1.2rem; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); line-height: 1.2; }
.sidebar .brand i { font-size: 1.5rem; color: #75d6a6; }
.sidebar nav { padding: .5rem 0 2rem; }
.nav-section { text-transform: uppercase; font-size: .7rem; letter-spacing: .08em; color: #8fc9ad; padding: 1rem 1.2rem .3rem; }
.sidebar .nav-link { color: #e2f2ea; padding: .45rem 1.2rem; display: flex; gap: .6rem; align-items: center; font-size: .92rem; border-left: 3px solid transparent; }
.sidebar .nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar .nav-link.active { background: rgba(255,255,255,.13); border-left-color: #75d6a6; color: #fff; font-weight: 600; }
.main { margin-left: var(--sidebar-w); flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { background: #fff; border-bottom: 1px solid #e5e7eb; padding: .7rem 1.5rem; display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 1030; }
.page-title { font-weight: 600; font-size: 1.1rem; }
.content { padding: 1.5rem; flex: 1; }
.content-public { max-width: 1200px; margin: 0 auto; padding: 1.2rem; }
.app-footer { padding: 1rem 1.5rem; }
.card { border: 1px solid #e3e8e6; border-radius: .75rem; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card-header { background: #fff; font-weight: 600; border-bottom: 1px solid #edf0ef; border-radius: .75rem .75rem 0 0 !important; }
.stat-card .stat-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.stat-label { font-size: .78rem; color: #6b7280; text-transform: uppercase; letter-spacing: .03em; }
.stat-value { font-size: 1.2rem; font-weight: 700; }
.table > :not(caption) > * > * { padding: .55rem .6rem; }
.table thead th { font-size: .78rem; text-transform: uppercase; color: #6b7280; letter-spacing: .03em; background: #f9fbfa; white-space: nowrap; }
.btn-success { background: var(--brand-2); border-color: var(--brand-2); }
.section-h { margin: 1rem 0 .6rem; color: var(--brand); border-bottom: 1px solid #e5e7eb; padding-bottom: .3rem; }
.hero { background: linear-gradient(120deg, #0f5132, #198754 70%, #20c997); color: #fff; border-radius: 1rem; }
.public-nav { padding: .4rem 0; }
.auth-wrap { min-height: 80vh; display: grid; place-items: center; }
.auth-card { width: 100%; max-width: 420px; }
.timeline { list-style: none; padding-left: 1rem; border-left: 2px solid #cfe5d9; }
.timeline li { position: relative; padding: 0 0 .7rem .6rem; }
.timeline li::before { content: ""; position: absolute; left: -1.38rem; top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2); }
.report-card:hover { border-color: var(--brand-2); box-shadow: 0 4px 12px rgba(25,135,84,.12); }
.search-filter { margin-bottom: .25rem; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  .main { margin-left: 0; }
  .content { padding: 1rem; }
}
@media print {
  .sidebar, .topbar, .app-footer, form, .btn, nav { display: none !important; }
  .main { margin: 0; }
  .card { border: none; box-shadow: none; }
  body { background: #fff; }
}
