:root { --farm: #206747; --ink: #20362b; --muted: #69776f; --line: #e1e8e3; }
* { box-sizing: border-box; letter-spacing: 0 !important; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
.login-page { margin: 0; min-height: 100vh; color: #fff; background: #163e2d; position: relative; }
.login-background, .login-shade { position: fixed; inset: 0; width: 100%; height: 100%; }
.login-background { object-fit: cover; object-position: center; }
.login-shade { background: rgba(6, 30, 18, .34); }
.login-brand { position: relative; display: flex; align-items: center; gap: 12px; padding: 32px 5%; font-size: 21px; font-weight: 750; }
.login-brand > i { background: #fff; color: var(--farm); padding: 13px; border-radius: 8px; }
.login-brand small { display: block; font-size: 11px; margin-top: 5px; font-weight: 400; }
.login-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 64px; align-items: center; max-width: 1360px; margin: auto; padding: 36px 5% 60px; min-height: calc(100vh - 190px); }
.login-intro { align-self: end; padding-bottom: 40px; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.login-kicker { font-size: 11px; font-weight: 700; }
.login-intro h1 { font-size: 48px; line-height: 1.12; margin: 18px 0; font-weight: 750; overflow-wrap: anywhere; }
.login-intro p { font-size: 21px; line-height: 1.55; margin: 0; }
.login-topics { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; font-size: 13px; }
.login-topics i { margin-right: 5px; }
.login-card { background: #fff; color: var(--ink); padding: 36px; border-radius: 8px; box-shadow: 0 16px 64px rgba(8, 30, 18, .2); }
.login-card-icon { display: grid; place-items: center; width: 44px; height: 44px; background: #eef6ef; color: var(--farm); border-radius: 8px; font-size: 20px; }
.login-card h2 { font-size: 27px; margin: 22px 0 8px; }
.login-description { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.login-card label { display: block; font-weight: 650; font-size: 13px; margin-bottom: 9px; }
.login-input { display: flex; align-items: center; border: 1px solid #cedbd2; border-radius: 6px; min-height: 48px; margin-bottom: 22px; }
.login-input:focus-within { outline: 3px solid #e0eee5; border-color: var(--farm); }
.login-input > i { color: #7d8d83; margin-left: 14px; font-size: 14px; }
.login-input input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; padding: 13px; font: inherit; color: var(--ink); }
.login-input button { background: transparent; border: 0; color: var(--muted); width: 44px; min-height: 44px; flex-shrink: 0; cursor: pointer; }
.login-submit { background: var(--farm); border: 0; color: white; border-radius: 6px; width: 100%; padding: 15px; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; cursor: pointer; }
.login-submit:hover { background: #184f36; }
.login-help { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; color: var(--muted); font-size: 12px; text-align: center; }
.login-help i { margin-right: 5px; }
.login-alert { background: #fff0ed; color: #a63628; padding: 12px; font-size: 13px; margin-bottom: 20px; border-radius: 6px; }
.login-footer { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 20px 5%; font-size: 11px; }
#content-wrapper { min-width: 0; background: #f4f7f5 !important; }
main.container-fluid { padding: 0 28px 32px; max-width: 1800px; }
.sidebar { width: 248px !important; flex: 0 0 248px; height: 100vh; position: sticky; top: 0; overflow-y: auto; background: #194d37 !important; scrollbar-width: thin; }
.sidebar .sidebar-brand { justify-content: flex-start !important; padding: 22px 18px; height: auto; min-height: 76px; }
.sidebar .sidebar-brand-text { font-size: 15px; text-align: left; text-transform: none; display: block !important; }
.sidebar .sidebar-brand-icon i { font-size: 23px; transform: none; }
.sidebar .nav-item .nav-link { width: auto !important; margin: 3px 10px; padding: 11px 12px; border-radius: 6px; display: flex; align-items: center; gap: 8px; text-align: left; color: #dfebe4; }
.sidebar .nav-item .nav-link span { display: inline !important; font-size: 12px; overflow-wrap: anywhere; }
.sidebar .nav-item .nav-link i { font-size: 13px; margin: 0; }
.sidebar .nav-link.active { border-left: 0; background: #fff !important; color: #194d37 !important; }
.sidebar .nav-link.active i { color: #194d37 !important; }
.sidebar .nav-link:hover { background: rgba(255, 255, 255, .09); }
.sidebar-group { padding: 0; list-style: none; }
.sidebar-group > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #c3d7cb; font-size: 11px; font-weight: 700; padding: 16px 21px 8px; list-style: none; }
.sidebar-group > summary::-webkit-details-marker, .filter-panel > summary::-webkit-details-marker { display: none; }
.sidebar-group summary .fa-chevron-down { font-size: 9px; margin-left: auto; }
.sidebar-group[open] summary .fa-chevron-down { transform: rotate(180deg); }
.sidebar-group ul { padding: 0; list-style: none; }
.sidebar .badge { display: none !important; }
.topbar { height: 72px; border-bottom: 1px solid var(--line); box-shadow: none !important; padding: 0 28px; }
.page-heading { align-items: center; margin-bottom: 24px; }
.page-heading h1 { font-size: 26px; color: var(--ink); }
.page-heading p { font-size: 13px; }
.eyebrow { font-size: 10px; color: var(--farm); }
.panel { box-shadow: none; border-color: var(--line); }
.panel-header { padding: 18px 20px; }
.panel-body { padding: 22px; }
.panel-title { font-size: 14px; }
.panel-subtitle { font-size: 12px; }
.filter-panel > summary { display: flex; align-items: center; cursor: pointer; list-style: none; padding: 17px 20px; font-size: 13px; font-weight: 700; color: var(--ink); }
.filter-count { margin-left: 12px; color: #6c7d72; font-size: 11px; font-weight: 400; }
.filter-panel .panel-header { border-top: 1px solid var(--line); }
.filter-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.form-label > span:last-child:not(:first-child) { color: #89948d; font-size: 10px; font-weight: 400; }
.form-grid { gap: 24px; }
.form-control, .custom-select { font-size: 13px; border-color: #d7e0d9; }
.form-control:disabled { background: #f4f6f4; }
.btn-success { background: var(--farm); border-color: var(--farm); }
.btn-primary { background: #326b8f; border-color: #326b8f; }
.btn-soft-primary { background: #edf4f8; color: #326b8f; border-color: #d5e5ef; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid #c8dfd2; outline-offset: 3px; }
.table { color: #35453c; font-size: 12px; }
.table th { text-transform: none; color: #607067; font-size: 11px; padding: 14px 16px; }
.table td { padding: 13px 16px; min-width: 100px; max-width: 300px; overflow-wrap: break-word; }
.table th.table-actions { background: #f8fafc; }
.table td.row-number, .table th.row-number { min-width: 44px; width: 44px; color: #8c9990; }
.data-table-wrap { max-width: 100%; }
.table-actions { position: sticky; right: 0; background: #fff; border-left: 1px solid #e6ede8; min-width: 130px !important; }
.table-toolbar .custom-select { width: 78px; min-height: 36px; }
.pagination-clean .page-link { font-size: 12px; min-height: 36px; }
.chart-box { height: 320px; min-width: 0; overflow: hidden; }
.nav-tabs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
.nav-tabs .nav-link { font-size: 12px; }
.app-footer { border-top: 1px solid var(--line); color: #7b8b80; font-size: 11px; display: flex; justify-content: space-between; padding: 18px 28px; margin-top: 24px; }
.navigation-backdrop { display: none; }
@media (min-width: 768px) { .sidebar-group[open] .nav-link { padding-left: 29px; } }
@media (max-width: 991px) { .login-shell { gap: 32px; } .login-intro h1 { font-size: 38px; } .login-intro p { font-size: 18px; } }
@media (max-width: 767px) {
  .login-background { object-position: 24% center; }
  .login-brand { padding: 24px; font-size: 18px; }
  .login-shell { display: block; min-height: auto; padding: 22px 24px 32px; }
  .login-intro { padding-bottom: 28px; }
  .login-intro h1 { font-size: 32px; margin: 10px 0; }
  .login-intro p { font-size: 16px; }
  .login-topics { display: none; }
  .login-card { padding: 26px; max-width: 460px; margin: 0 auto; }
  .login-card h2 { font-size: 24px; }
  .login-brand small { font-size: 10px; }
  .login-footer { flex-wrap: wrap; padding: 18px 24px; }
  .sidebar { display: none !important; position: fixed; z-index: 1100; left: 0; top: 0; width: 248px !important; }
  body.navigation-open .sidebar { display: flex !important; }
  body.navigation-open .navigation-backdrop { display: block; position: fixed; inset: 0; background: rgba(15, 35, 24, .45); z-index: 1090; border: 0; width: 100%; }
  .topbar { padding: 0 16px; height: 64px; }
  main.container-fluid { padding: 0 16px 20px; }
  .page-heading { align-items: stretch; gap: 16px; }
  .page-heading h1 { font-size: 23px; }
  .panel-body { padding: 16px; }
  .panel-header { padding: 16px; }
  .app-footer { padding: 18px 16px; gap: 12px; }
  .chart-box { height: 280px; min-height: 280px; }
}
@media print { .sidebar, .app-footer, .navigation-backdrop { display: none !important; } main.container-fluid { max-width: none; padding: 0; } .panel { box-shadow: none; break-inside: avoid; } }
