/* ── Brand ─────────────────────────────────────────────── */
:root {
  --brand: #297A52;
  --brand-dark: #1e5c3c;
}

body { font-family: 'Heebo', sans-serif; }

/* Override Bootstrap primary */
.bg-primary                    { background-color: var(--brand) !important; }
.text-primary                  { color: var(--brand) !important; }
.btn-primary                   { background-color: var(--brand) !important; border-color: var(--brand) !important; }
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active            { background-color: var(--brand-dark) !important; border-color: var(--brand-dark) !important; }
.btn-outline-primary           { color: var(--brand) !important; border-color: var(--brand) !important; }
.btn-outline-primary:hover     { background-color: var(--brand) !important; color: #fff !important; }
a                              { color: var(--brand); }
a:hover                        { color: var(--brand-dark); }

/* Shortfall colors */
.text-danger  { color: #dc3545 !important; }
.text-success { color: #198754 !important; }

/* Work entry grid: compact inputs */
.entry-input { width: 70px !important; min-width: 60px; padding: 2px 4px; }
.work-entry-table th, .work-entry-table td { white-space: nowrap; }

/* Sortable column header links */
thead a       { text-decoration: none; }
thead a:hover { text-decoration: underline; }

/* Logo in navbar */
.navbar-logo { height: 44px; width: auto; }

/* White navbar: green links */
.navbar-light .nav-link          { color: var(--brand) !important; }
.navbar-light .nav-link:hover    { color: var(--brand-dark) !important; }
.navbar-light .navbar-toggler    { border-color: var(--brand); }
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23297A52' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Print: hide nav, show clean tables */
@media print {
  nav, .d-print-none { display: none !important; }
  .table            { font-size: 11pt; }
  h3, h5            { margin-top: 1.5rem; }
}
