:root { --sidebar-width: 245px; --topbar-height: 56px; }
body { background: #f5f7f8; padding-top: var(--topbar-height); min-height: 100vh; }
.app-shell { display: flex; min-height: calc(100vh - var(--topbar-height)); }
.sidebar { width: var(--sidebar-width); background: #fff; border-right: 1px solid #dee2e6; padding: 1rem .75rem; position: fixed; top: var(--topbar-height); bottom: 0; overflow-y: auto; }
.sidebar-heading { color: #6c757d; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .5rem .75rem; }
.sidebar .nav-link { display: flex; align-items: center; gap: .7rem; color: #334155; border-radius: .65rem; margin-bottom: .25rem; padding: .65rem .75rem; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: #e8f5ee; color: #146c43; }
.content { margin-left: var(--sidebar-width); padding: 1.5rem; width: calc(100% - var(--sidebar-width)); }
.card-stat { border: 0; box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,.06); }
.card-stat .icon-wrap { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: #e8f5ee; color: #198754; font-size: 1.35rem; }
.table thead th { white-space: nowrap; }
.map-container { min-height: 560px; border-radius: .75rem; overflow: hidden; border: 1px solid #dee2e6; }
.hero { background: linear-gradient(120deg, rgba(16,101,64,.94), rgba(25,135,84,.88)); color: white; border-radius: 1rem; }
.auth-card { max-width: 520px; margin: 3rem auto; }
.footer { margin-left: var(--sidebar-width); background: #fff; border-top: 1px solid #dee2e6; }
@media (max-width: 991.98px) {
    .sidebar { position: static; width: 100%; border-right: 0; border-bottom: 1px solid #dee2e6; }
    .app-shell { display: block; }
    .content, .footer { margin-left: 0; width: 100%; }
}
