/* ─── Fonts ──────────────────────────────────────────────────────────────── */
@font-face { font-family: 'PP Neue Montreal'; font-weight: 400; src: url('https://torch.s2cp.com/fonts/PPNeueMontreal-Book.woff2') format('woff2'); }
@font-face { font-family: 'PP Neue Montreal'; font-weight: 500; src: url('https://torch.s2cp.com/fonts/PPNeueMontreal-Medium.woff2') format('woff2'); }
@font-face { font-family: 'PP Neue Montreal'; font-weight: 700; src: url('https://torch.s2cp.com/fonts/PPNeueMontreal-Bold.woff2') format('woff2'); }

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'PP Neue Montreal', -apple-system, sans-serif;
  color: #1B1917;
  background: #FBF7F5;
  display: flex;
  overflow: hidden;
}

/* ─── Sidebar ────────────────────────────────────────────────────────────── */
#sidebar {
  width: 220px;
  min-width: 220px;
  background: #1b1c17;
  border-right: none;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 24px 16px;
  position: relative;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-header svg path { fill: #fff; }
.app-label {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  color: rgb(247, 244, 238);
  opacity: 0.88;
  text-transform: uppercase;
}

/* ─── Notification Bell ─────────────────────────────────────────────────── */
.notification-bell {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.15s ease;
  color: rgba(255,255,255,0.6);
}
.notification-bell:hover { background: rgba(255,255,255,0.1); color: #fff; }
.notification-bell svg { stroke: currentColor; display: block; }
.notification-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ─── Notification Panel ────────────────────────────────────────────────── */
.notification-panel {
  position: absolute;
  top: 68px;
  left: 12px;
  right: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 1000;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.notification-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #DFD5D0;
}
.notification-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #1B1917;
}
.notification-mark-all {
  font-size: 11px;
  font-weight: 500;
  color: #1a3a2a;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}
.notification-mark-all:hover { background: #F0EAE7; }
.notification-list {
  overflow-y: auto;
  max-height: 352px;
}
.notification-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f5f0ed;
}
.notification-item:hover { background: #FBF7F5; }
.notification-item.unread { background: #f0faf5; }
.notification-item.unread:hover { background: #e5f5ed; }
.notification-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a3a2a;
  flex-shrink: 0;
  margin-top: 5px;
}
.notification-item:not(.unread) .notification-dot { background: transparent; }
.notification-content { flex: 1; min-width: 0; }
.notification-title-text {
  font-size: 12px;
  font-weight: 600;
  color: #1B1917;
  margin-bottom: 2px;
}
.notification-message {
  font-size: 11px;
  color: #57534e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notification-time {
  font-size: 10px;
  color: #b8b3ae;
  margin-top: 4px;
}
.notification-empty {
  padding: 32px 16px;
  text-align: center;
  color: #b8b3ae;
  font-size: 13px;
}
.notification-type-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.notification-type-icon.bid { background: #FEF3C7; }
.notification-type-icon.milestone { background: #DBEAFE; }
.notification-type-icon.co { background: #FEE2E2; }
.notification-type-icon.budget { background: #D1FAE5; }
.notification-type-icon.po { background: #FCE7F3; }
.notification-type-icon.default { background: #F0EAE7; }
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}
.nav-link svg { stroke: rgba(255,255,255,0.55); }
.nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-link:hover svg { stroke: #fff; }
.nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.nav-link.active svg { stroke: #fff; }

/* ─── Main Content ───────────────────────────────────────────────────────── */
#main {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px;
}
#page-content { max-width: 1200px; }

/* ─── Page Header ────────────────────────────────────────────────────────── */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1B1917;
}
.page-header .subtitle {
  font-size: 13px;
  color: #776F67;
  margin-top: 4px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  text-decoration: none;
}
.btn-primary { background: #1B1917; color: #FBF7F5; }
.btn-primary:hover { background: #333; }
.btn-secondary { background: #fff; border: 1.5px solid #DFD5D0; color: #776F67; }
.btn-secondary:hover { border-color: #1B1917; color: #1B1917; }
.btn-danger { background: #fff; border: 1.5px solid #fca5a5; color: #ef4444; }
.btn-danger:hover { background: #fef2f2; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-icon {
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  color: #776F67;
  transition: all 0.15s ease;
}
.btn-icon:hover { background: #F0EAE7; color: #1B1917; }

/* ─── KPI Cards ──────────────────────────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.kpi-card {
  background: #fff;
  border: 1px solid #DFD5D0;
  border-radius: 10px;
  padding: 20px 24px;
}
.kpi-card .kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #776F67;
  margin-bottom: 8px;
}
.kpi-card .kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: #1B1917;
  line-height: 1;
}
.kpi-card .kpi-sub {
  font-size: 12px;
  color: #776F67;
  margin-top: 6px;
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #DFD5D0;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.card-header h2 {
  font-size: 16px;
  font-weight: 600;
}

/* ─── Tables ─────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #776F67;
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid #DFD5D0;
  white-space: nowrap;
}
td {
  padding: 12px;
  border-bottom: 1px solid #F0EAE7;
  font-size: 13px;
  color: #1B1917;
}
tr:hover td { background: #FAFAF8; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: #F0EAE7; }
tr.clickable-row { cursor: pointer; transition: background 0.12s ease; }
tr.clickable-row:hover td { background: #F0EAE7; }
tr.clickable-row:active td { background: #E8E0DC; }

/* ─── Status Badges ──────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-planning { background: #f3f0ff; color: #7c3aed; }
.badge-progress { background: #dbeafe; color: #2563eb; }
.badge-complete { background: #dcfce7; color: #16a34a; }
.badge-hold { background: #fef3c7; color: #d97706; }
.badge-pending { background: #fef3c7; color: #d97706; }
.badge-approved { background: #dcfce7; color: #16a34a; }
.badge-rejected { background: #fee2e2; color: #ef4444; }
.badge-paid { background: #dcfce7; color: #16a34a; }
.badge-overdue { background: #fee2e2; color: #ef4444; }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #57534e;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #DFD5D0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1B1917;
  background: #fff;
  transition: border-color 0.15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #1B1917;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #b8b3ae; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── Modal ──────────────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,25,23,0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start;
  padding-top: 60px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: 12px;
  width: 560px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #F0EAE7;
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #776F67;
  line-height: 1;
}
.modal-close:hover { color: #1B1917; }
#modal-body { padding: 24px; }
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #F0EAE7;
}

/* ─── Empty State ────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #776F67;
}
.empty-state svg { margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 16px; font-weight: 600; color: #57534e; margin-bottom: 8px; }
.empty-state p { font-size: 13px; margin-bottom: 20px; }

/* ─── Project Detail ─────────────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #776F67;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  cursor: pointer;
}
.back-link:hover { color: #1B1917; }
.project-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.project-meta .meta-item {
  font-size: 13px;
  color: #776F67;
}
.project-meta .meta-item strong { color: #1B1917; font-weight: 600; }
.detail-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #F0EAE7;
  margin-bottom: 24px;
}
.detail-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #776F67;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}
.detail-tab:hover { color: #1B1917; }
.detail-tab.active { color: #1B1917; border-bottom-color: #1B1917; }

/* ─── Budget Bar ─────────────────────────────────────────────────────────── */
.budget-bar-wrap { margin-top: 8px; }
.budget-bar {
  height: 8px;
  background: #F0EAE7;
  border-radius: 4px;
  overflow: hidden;
}
.budget-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.budget-bar-fill.green { background: #10b981; }
.budget-bar-fill.yellow { background: #f59e0b; }
.budget-bar-fill.red { background: #ef4444; }

/* ─── Search Bar ─────────────────────────────────────────────────────────── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.search-bar input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #DFD5D0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1B1917;
  background: #fff;
}
.search-bar input:focus { outline: none; border-color: #1B1917; }
.search-bar input::placeholder { color: #b8b3ae; }

/* ─── Filter Chips ───────────────────────────────────────────────────────── */
.filter-chips { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-chip {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid #DFD5D0;
  background: #fff;
  color: #776F67;
  transition: all 0.15s ease;
  font-family: inherit;
}
.filter-chip:hover { border-color: #1B1917; color: #1B1917; }
.filter-chip.active { background: #1B1917; color: #FBF7F5; border-color: #1B1917; }

/* ─── Contact Cards ──────────────────────────────────────────────────────── */
.contacts-section { margin-bottom: 32px; }
.contacts-section-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 2px solid #DFD5D0;
}
.contacts-section-header h2 { font-size: 16px; font-weight: 600; margin: 0; }
.contacts-section-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.contacts-section-count {
  background: #F0EAE7; color: #57534e; font-size: 12px; font-weight: 600;
  padding: 2px 10px; border-radius: 12px;
}
.contacts-table { margin-top: 4px; }
.contacts-table th { font-size: 11px; padding: 8px 12px; }
.contacts-table td { font-size: 13px; padding: 10px 12px; vertical-align: middle; }
.contact-row { cursor: pointer; transition: background 0.15s ease; }
.contact-row:hover { background: #F0EAE7; }
.contacts-table .badge { font-size: 11px; padding: 2px 8px; white-space: nowrap; }

/* ─── Milestone List ─────────────────────────────────────────────────────── */
.milestone-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F0EAE7;
}
.milestone-item:last-child { border-bottom: none; }
.milestone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.milestone-dot.pending { background: #f59e0b; }
.milestone-dot.complete { background: #10b981; }
.milestone-dot.overdue { background: #ef4444; }
.milestone-info { flex: 1; }
.milestone-info .title { font-size: 13px; font-weight: 500; }
.milestone-info .meta { font-size: 11px; color: #776F67; margin-top: 2px; }

/* ─── Utility ────────────────────────────────────────────────────────────── */
.text-right { text-align: right; }
.text-muted { color: #776F67; }
.text-sm { font-size: 12px; }
.mt-2 { margin-top: 8px; }
.mb-4 { margin-bottom: 16px; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.items-center { align-items: center; }

/* ─── Project Selector ───────────────────────────────────────────────────── */
.project-selector { }
.project-selector-header { margin-bottom: 24px; }
.project-selector-header h1 { font-size: 28px; font-weight: 700; color: #1B1917; }
.project-selector-header .subtitle { font-size: 13px; color: #776F67; margin-top: 4px; }

.project-selector-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.project-search-wrap {
  flex: 1;
  position: relative;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.project-search-input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1.5px solid #DFD5D0;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1B1917;
  background: #fff;
  transition: border-color 0.15s ease;
}
.project-search-input:focus { outline: none; border-color: #1B1917; }
.project-search-input::placeholder { color: #b8b3ae; }

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.project-card {
  background: #fff;
  border: 1.5px solid #DFD5D0;
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.project-card:hover {
  border-color: #1a3a2a;
  box-shadow: 0 4px 16px rgba(26, 58, 42, 0.08);
  transform: translateY(-1px);
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.project-card-type {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #776F67;
}
.project-card-type svg { stroke: #776F67; }
.project-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #1B1917;
  margin-bottom: 4px;
}
.project-card-location {
  font-size: 13px;
  color: #57534e;
  margin-bottom: 10px;
}
.project-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #776F67;
  flex-wrap: wrap;
}
.project-card-meta .dot { color: #DFD5D0; }
.project-card-client {
  font-size: 12px;
  color: #776F67;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #F0EAE7;
}

/* Pending bid badge on project cards */
.project-card-bids-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
}
.project-card-bids-badge svg { flex-shrink: 0; stroke: #92400e; }

/* Pending bid count on Bids tab header */
.tab-pending-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #f59e0b;
  border-radius: 9px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ─── Project Detail: Open Action Items / Upcoming Items list in KPI card ──── */
.project-action-card-list {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #F0EAE7;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.project-upcoming-note {
  margin-top: 12px;
  padding: 10px 12px;
  background: #FBF7F5;
  border: 1px solid #F0EAE7;
  border-radius: 8px;
}
.project-upcoming-note__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #776F67;
  margin-bottom: 4px;
}
.project-upcoming-note__body {
  font-size: 12px;
  color: #1B1917;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 120px;
  overflow-y: auto;
}
.project-action-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease;
  width: 100%;
}
.project-action-item:hover {
  background: #F7F3F0;
  border-color: #DFD5D0;
}
.project-action-item__badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.project-action-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.project-action-item__label {
  font-size: 13px;
  font-weight: 600;
  color: #1B1917;
  line-height: 1.3;
}
.project-action-item__detail {
  font-size: 12px;
  color: #776F67;
  line-height: 1.3;
}
.project-action-item__chevron {
  color: #b8b3ae;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 6px;
}
.project-action-item:hover .project-action-item__chevron {
  color: #57534e;
}

/* Dashboard table pending bid indicator */
.dash-pending-bids {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.project-selector-empty {
  text-align: center;
  padding: 80px 20px;
  color: #776F67;
}
.project-selector-empty svg { margin-bottom: 16px; opacity: 0.4; }
.project-selector-empty h3 { font-size: 16px; font-weight: 600; color: #57534e; margin-bottom: 8px; }
.project-selector-empty p { font-size: 13px; margin-bottom: 20px; }

/* ─── Toggle Switch ─────────────────────────────────────────────────────── */
.toggle-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #DFD5D0;
  border-radius: 13px;
  transition: 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: #1a3a2a; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: #1B1917;
}

/* ─── Wide Modal ────────────────────────────────────────────────────────── */
.modal.modal-wide {
  width: 680px;
}
.modal.modal-extra-wide {
  width: 860px;
}

/* ─── Project Info Grid ─────────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-item .info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #776F67;
}
.info-item .info-value {
  font-size: 14px;
  color: #1B1917;
  font-weight: 500;
}

/* ─── Toast Notifications ────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 380px;
  min-width: 260px;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-item.show { opacity: 1; transform: translateX(0); }
.toast-item.hide { opacity: 0; transform: translateX(40px); }
.toast-item .toast-icon { flex-shrink: 0; width: 18px; height: 18px; }
.toast-item .toast-msg { flex: 1; }
.toast-item .toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-size: 16px;
  padding: 0 0 0 6px;
  line-height: 1;
}
.toast-item .toast-close:hover { opacity: 1; }
.toast-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.toast-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.toast-info    { background: #eff6ff; color: #1e40af; border: 1px solid #93c5fd; }

/* ─── Budget Inline Table ──────────────────────────────────────────────── */
.budget-table-wrap { overflow-x: auto; }
.budget-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.budget-table thead th {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  color: #776F67; padding: 10px 8px; border-bottom: 2px solid #DFD5D0;
  text-align: left; white-space: normal; word-wrap: break-word; position: sticky; top: 0; background: #fff; z-index: 1; line-height: 1.3;
}
.budget-th-gl { width: 48px; }
.budget-th-cat { width: 220px; }
.budget-th-money { width: 100px; text-align: right !important; padding-right: 10px !important; }
.budget-th-markup { width: 80px; text-align: right !important; padding-right: 10px !important; }

.budget-group-header td {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  color: #776F67; padding: 18px 10px 7px; border-bottom: 2px solid #DFD5D0;
  background: #F5F0ED;
}
.budget-group-header:not(:first-child) td {
  border-top: 3px solid #DFD5D0;
}
.budget-row { transition: background 0.1s ease; }
.budget-row:hover { background: #faf8f7; }
.budget-row.has-data { background: #f9fdf9; }
.budget-row.has-data:hover { background: #f0f8f0; }
.budget-row td { padding: 4px 8px; border-bottom: 1px solid #F0EAE7; vertical-align: middle; }
.budget-gl { font-family: monospace; font-size: 11px; color: #776F67; white-space: nowrap; }
.budget-cat { font-size: 12.5px; font-weight: 500; color: #1B1917; white-space: normal; word-break: break-word; line-height: 1.35; }
.budget-cat.builder-sub-cat { font-size: 12px; color: #1B1917; }
.budget-calc { font-size: 12.5px; font-weight: 600; white-space: nowrap; color: #1B1917; }
.budget-remaining { font-size: 12.5px; font-weight: 700; white-space: nowrap; }

.budget-input {
  width: 100%; border: 1px solid transparent; border-radius: 6px; padding: 6px 8px;
  font-family: inherit; font-size: 12.5px; background: transparent; color: #1B1917;
  transition: all 0.15s ease;
}
.budget-input:hover { background: #fff; border-color: #DFD5D0; }
.budget-input:focus { background: #fff; border-color: #1a3a2a; outline: none; box-shadow: 0 0 0 2px rgba(26,58,42,0.1); }
.budget-money { text-align: right; font-variant-numeric: tabular-nums; padding-right: 10px !important; white-space: nowrap; }

.budget-totals-row td {
  padding: 12px 10px; border-top: 2px solid #DFD5D0; background: #f7f4f2;
  font-size: 13px;
}
.budget-totals-row .budget-money { text-align: right; padding-right: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.budget-totals-row .budget-totals-label {
  text-align: right; padding-right: 16px;
  text-transform: uppercase; letter-spacing: 1px;
  font-size: 12px; color: #1B1917;
  border-right: 1px solid #DFD5D0;
  white-space: nowrap;
}
/* ─── Group Subtotal Rows (Exterior / Interior) ─────────────────────────── */
.budget-subtotal-row td {
  padding: 9px 10px; background: #FAF8F6; border-top: 1px solid #E8E0DB;
  font-size: 12px; color: #1B1917;
}
.budget-subtotal-row .budget-money {
  text-align: right; padding-right: 10px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  font-weight: 500;
}
.budget-subtotal-row .budget-subtotal-label {
  text-align: right; padding-right: 16px;
  font-weight: 600; font-size: 11px;
  color: #57534e;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-right: 1px solid #DFD5D0;
  white-space: nowrap;
}

/* ─── Budget View Toggle (segmented control) ─────────────────────────────── */
.budget-view-toggle {
  display: inline-flex; padding: 3px; background: #F0EAE7; border: 1px solid #DFD5D0;
  border-radius: 6px; gap: 2px;
}
.budget-view-toggle button {
  border: none; background: transparent; color: #776F67;
  font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 4px;
  cursor: pointer; transition: all 0.15s ease; font-family: inherit;
  letter-spacing: 0.2px;
}
.budget-view-toggle button:hover { color: #1B1917; }
.budget-view-toggle button.active {
  background: #1B1917; color: #FBF7F5; box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

/* Margin summary strip */
.margin-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  padding: 14px 18px; background: #FAF8F6; border: 1px solid #DFD5D0;
  border-radius: 6px; margin: 14px 0 18px; font-size: 12px; color: #44403C;
}
.margin-strip .strip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; width: 100%; }
.margin-strip .strip-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: #78716C; font-weight: 600; }
.margin-strip .strip-value { font-size: 13px; font-weight: 600; color: #1B1917; font-variant-numeric: tabular-nums; }
.margin-strip .strip-sep { height: 14px; width: 1px; background: #DFD5D0; }
.margin-strip .strip-row + .strip-row { border-top: 1px dashed #DFD5D0; padding-top: 10px; margin-top: 2px; }
.margin-strip .strip-margin-pos { color: #10b981; }
.margin-strip .strip-margin-neg { color: #ef4444; }

/* Markup column */
.budget-markup-cell { padding: 4px 6px !important; }
.budget-markup-wrap { display: flex; align-items: center; gap: 2px; }
.budget-markup-pct {
  width: 52px !important; border: 1px solid transparent; border-radius: 6px; padding: 3px 5px;
  font-family: inherit; font-size: 12px; background: transparent; color: #1B1917;
  text-align: right; transition: all 0.15s ease; font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.budget-markup-pct::-webkit-outer-spin-button,
.budget-markup-pct::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.budget-markup-pct:hover { background: #fff; border-color: #DFD5D0; }
.budget-markup-pct:focus { background: #fff; border-color: #1a3a2a; outline: none; box-shadow: 0 0 0 2px rgba(26,58,42,0.1); }
.budget-markup-pct.budget-saving { border-color: #DFD5D0; opacity: 0.6; }
.budget-markup-pct.budget-saved {
  border-color: #10b981; background: rgba(16,185,129,0.06);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.budget-pct-sign { font-size: 11px; color: #776F67; font-weight: 500; user-select: none; }
.budget-markup-dollar { font-size: 11px; color: #776F67; text-align: right; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Clickable actual spend */
.budget-actual-cell { position: relative; transition: background 0.15s ease; }
.budget-actual-cell[style*="cursor:pointer"]:hover { background: #F0EAE7; border-radius: 6px; }
.budget-actual-value { margin-right: 4px; }
.budget-actual-chevron { vertical-align: middle; opacity: 0; transition: opacity 0.15s ease; }
.budget-actual-cell:hover .budget-actual-chevron { opacity: 1; }

/* ─── Budget Locked Rows & Change Orders ─────────────────────────────── */
.budget-locked td { background: #fefce8; }
.budget-locked:hover td { background: #fef9c3; }
.budget-locked .budget-input:disabled {
  color: #57534e; background: transparent; border-color: transparent;
  opacity: 0.9; cursor: not-allowed;
}
.budget-lock-icon { vertical-align: -1px; margin-right: 4px; opacity: 0.5; }
.budget-co-cell { position: relative; }
.budget-co-display { display: inline-block; text-align: right; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.btn-co-add {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border: 1px solid #DFD5D0; border-radius: 4px;
  background: #fff; cursor: pointer; vertical-align: middle; margin-left: 4px;
  transition: all 0.15s ease;
}
.btn-co-add:hover { background: #F0EAE7; border-color: #1a3a2a; }
.budget-commitment { font-size: 12.5px; color: #776F67; font-style: italic; }

/* ─── Scope Table ──────────────────────────────────────────────────────── */
.scope-table-wrap { overflow-x: auto; }
.scope-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.scope-table thead th {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
  color: #776F67; padding: 10px 8px; border-bottom: 2px solid #DFD5D0;
  text-align: left; position: sticky; top: 0; background: #fff; z-index: 1;
}
.scope-th-gl { width: 48px; }
.scope-th-cat { width: 180px; }
.scope-th-desc { width: auto; }

.scope-row { transition: background 0.1s ease; }
.scope-row:hover { background: #faf8f7; }
.scope-row.has-data { background: #f9fdf9; }
.scope-row.has-data:hover { background: #f0f8f0; }
.scope-row td { padding: 6px 8px; border-bottom: 1px solid #F0EAE7; vertical-align: top; }
.scope-gl { font-family: monospace; font-size: 11px; color: #776F67; white-space: nowrap; padding-top: 12px !important; }
.scope-cat {
  font-size: 12.5px; font-weight: 500; color: #1B1917; padding-top: 12px !important;
  /* Long category names like "Construction Dumpster/Containers/Fencing"
     need to wrap inside the cell instead of pushing the +/− button into
     the next column. table-layout:fixed already constrains the column
     width — these rules ensure the inner flex content respects it. */
  overflow: hidden;
  word-break: break-word;
}
.scope-desc-cell { padding: 4px 6px !important; }

.scope-textarea {
  width: 100%; min-height: 48px; border: 1px solid transparent; border-radius: 8px; padding: 8px 10px;
  font-family: inherit; font-size: 12.5px; background: transparent; color: #1B1917;
  resize: vertical; line-height: 1.5; transition: all 0.15s ease;
}
.scope-textarea:hover { background: #fff; border-color: #DFD5D0; }
.scope-textarea:focus { background: #fff; border-color: #1a3a2a; outline: none; box-shadow: 0 0 0 2px rgba(26,58,42,0.1); min-height: 80px; }
.scope-textarea::placeholder { color: #b8b3ae; }


/* Icon buttons */
.btn-icon {
  background: none; border: none; cursor: pointer; padding: 4px; border-radius: 4px;
  color: #776F67; transition: all 0.15s ease; vertical-align: middle;
}
.btn-icon:hover { background: #F0EAE7; color: #1B1917; }

/* ─── Photo Grid ───────────────────────────────────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.photo-card {
  background: #fff;
  border: 1px solid #DFD5D0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.photo-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.photo-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  cursor: pointer;
  background: #F0EAE7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.photo-img-wrap:hover img {
  transform: scale(1.05);
}
.photo-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #F0EAE7;
}
.photo-info .photo-caption {
  font-size: 13px;
  font-weight: 600;
  color: #1B1917;
  margin-bottom: 4px;
}
.photo-info .photo-meta {
  font-size: 11px;
  color: #776F67;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.photo-info .photo-category {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a3a2a;
  background: rgba(26,58,42,0.08);
  padding: 2px 8px;
  border-radius: 4px;
}
.photo-actions {
  display: flex;
  justify-content: flex-end;
  padding: 0 12px 12px;
}

/* ─── Document Table Icons ─────────────────────────────────────────────── */
.file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
}
.file-icon.pdf { background: #ef4444; }
.file-icon.excel { background: #10b981; }
.file-icon.word { background: #2196F3; }
.file-icon.default { background: #776F67; }

/* ─── Budget Variance ──────────────────────────────────────────────────── */
.variance-positive {
  color: #10b981;
  font-weight: 600;
}
.variance-negative {
  color: #ef4444;
  font-weight: 600;
}
.variance-zero {
  color: #776F67;
  font-weight: 500;
}

/* ─── Claim/Loss Section ───────────────────────────────────────────────── */
#claim-fields-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #DFD5D0;
}
#claim-fields-section h4 {
  font-size: 13px;
  font-weight: 600;
  color: #1a3a2a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ─── File Input Styling ───────────────────────────────────────────────── */
input[type="file"] {
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 13px;
  color: #57534e;
  padding: 8px 0;
}

/* ─── Budget Builder ──────────────────────────────────────────────────── */
.builder-table .builder-th-bids {
  min-width: 200px;
  white-space: normal;
}
.builder-table .builder-th-status {
  /* table-layout: fixed honors `width`, NOT `min-width`. Without a real
     width here the Status column collapses and the Finalized ✓ + Unfinalize
     link gets squeezed / wraps awkwardly against the right edge of the table. */
  width: 150px;
  text-align: center;
}
.builder-table .builder-status-cell {
  text-align: center;
  padding-left: 4px !important;
  padding-right: 4px !important;
  white-space: normal;
  vertical-align: middle;
}
.builder-table .builder-status-cell .badge { white-space: nowrap; }
.builder-bids-cell {
  padding: 4px 8px !important;
}
.builder-bid-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1B1917;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.builder-bid-link:hover {
  background: #F0EAE7;
  color: #1B1917;
}
.builder-bid-link svg {
  opacity: 0.4;
  transition: opacity 0.15s ease;
}
.builder-bid-link:hover svg {
  opacity: 1;
}
.builder-bid-count {
  font-weight: 400;
  color: #776F67;
  font-size: 11px;
}
.builder-status-cell {
  text-align: center !important;
  white-space: nowrap;
}
.btn-builder-action {
  font-size: 11px !important;
  padding: 3px 10px !important;
}
.btn-builder-action.unapprove {
  background: none;
  border: 1px solid #DFD5D0;
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
  color: #776F67;
  margin-left: 6px;
  vertical-align: middle;
  transition: all 0.15s ease;
}
.btn-builder-action.unapprove:hover {
  background: #FEF2F2;
  border-color: #ef4444;
  color: #ef4444;
}
.builder-finalized {
  background: #f0fdf4 !important;
}
.builder-finalized:hover {
  background: #ecfdf5 !important;
}
.builder-finalized input:disabled {
  background: transparent;
  color: #1B1917;
  opacity: 0.8;
}

/* ─── Builder: GL summary + subcategory rows ──────────────────────────── */
/* The Budget Builder is now grouped by GL: each GL renders one summary
   row (totals, read-only) and N subcategory rows below it (editable).
   The summary row gets a slightly heavier weight to read as a "header" for
   its sub block; sub rows are visually inset with a leading "↳" marker. */
tr.builder-gl-summary {
  background: #FAF8F6;
}
tr.builder-gl-summary:hover {
  background: #F5F0ED;
}
tr.builder-gl-summary.has-data {
  background: #F0EAE7;
}
tr.builder-gl-summary.builder-finalized {
  background: #f0fdf4 !important;
}
tr.builder-gl-summary td {
  border-bottom: 1px solid #DFD5D0;
}
tr.builder-sub-row td {
  background: #FFFFFF;
}
tr.builder-sub-row.has-data td {
  background: #FBF7F5;
}
tr.builder-sub-row.builder-finalized td {
  background: #f0fdf4;
}
.builder-toggle-btn:hover .builder-chevron {
  color: #1B1917;
}

/* Track mode — clickable cost cells (CO / Commitment / Actual Spend) */
td.track-clickable {
  position: relative;
  transition: background 0.12s ease, color 0.12s ease;
}
td.track-clickable:hover {
  background: #EFE7E2;
  color: #1B1917 !important;
}
td.track-clickable:hover svg {
  stroke: #1B1917 !important;
}
tr.track-gl-summary.has-data {
  background: #F0EAE7;
}
tr.track-gl-summary.has-data:hover {
  background: #EAE2DD;
}
tr.track-sub-row td {
  background: #FFFFFF;
}

/* Bulk Expand / Collapse buttons above the Builder table */
.btn-builder-bulk-toggle {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #DFD5D0;
  color: #57534e;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-builder-bulk-toggle:hover {
  background: #F0EAE7;
  color: #1B1917;
  border-color: #1B1917;
}
.btn-builder-bulk-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(27, 25, 23, 0.12);
}

/* ─── Builder: Scope hover popover on subcategory cells ─────────────── */
/* Each sub-row's category cell gets a small (i) icon when its (cat, sub)
   pair has linked scope items. Hovering / focusing the cell reveals a
   floating popover with the scope descriptions + dates. Pure CSS — the
   popover is part of the cell DOM and is positioned absolutely so it
   floats above the next row without shifting layout. */
.builder-sub-cat .builder-scope-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 6px;
  color: #94A3B8;
  opacity: 0.7;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.builder-sub-cat.has-scope { cursor: help; }
.builder-sub-cat.has-scope:hover .builder-scope-icon,
.builder-sub-cat.has-scope:focus-within .builder-scope-icon {
  opacity: 1;
  color: #1B1917;
}
.builder-scope-popover {
  position: absolute;
  top: calc(100% - 4px);
  left: 28px;
  z-index: 50;
  min-width: 280px;
  max-width: 420px;
  background: #1B1917;
  color: #FBF7F5;
  border-radius: 6px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.builder-sub-cat.has-scope:hover .builder-scope-popover,
.builder-sub-cat.has-scope:focus-within .builder-scope-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.builder-scope-popover-header {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94A3B8;
  margin-bottom: 6px;
}
.builder-scope-popover-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}
.builder-scope-popover-list li + li {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.builder-scope-popover-desc {
  white-space: pre-wrap;
  color: #FBF7F5;
}
.builder-scope-popover-meta {
  font-size: 10.5px;
  color: #94A3B8;
  margin-top: 3px;
}

/* ─── Bid Documents ─────────────────────────────────────────────────── */
.bid-docs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}
.bid-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #2563eb;
  text-decoration: none;
  padding: 2px 6px;
  border-radius: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  transition: all 0.15s ease;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bid-doc-link:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}
.btn-upload-bid-doc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #776F67;
  background: none;
  border: 1px dashed #DFD5D0;
  border-radius: 4px;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-upload-bid-doc:hover {
  border-color: #1B1917;
  color: #1B1917;
  background: #F0EAE7;
}
.btn-upload-bid-doc span {
  font-size: 11px;
}

/* ─── Bid File Dropzone ────────────────────────────────────────────────────── */
.bid-file-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px;
  border: 2px dashed #DFD5D0;
  border-radius: 10px;
  background: #FAFAF8;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}
.bid-file-dropzone:hover,
.bid-file-dropzone.drag-over {
  border-color: #1B1917;
  background: #F0EAE7;
}
.bid-file-dropzone.drag-over {
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(27,25,23,0.08);
}

/* ─── Cloud Sync ───────────────────────────────────────────────────────────── */
.spinner-sm {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid #DFD5D0;
  border-top-color: #ea580c;
  border-radius: 50%;
  animation: spin-sm 0.6s linear infinite;
}
@keyframes spin-sm {
  to { transform: rotate(360deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin-icon {
  animation: spin-sm 0.8s linear infinite;
  display: inline-block;
}

/* ─── Gantt / Timeline ──────────────────────────────────────────────────────── */
.gantt-container {
  display: flex;
  border: 1px solid #DFD5D0;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  background: #fff;
}
.gantt-labels {
  position: relative;
  flex-shrink: 0;
  background: #FDFBFA;
  border-right: 2px solid #DFD5D0;
  z-index: 2;
}
.gantt-labels-header {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #776F67;
  background: #f8f6f4;
  border-bottom: 1px solid #DFD5D0;
}
.gantt-label {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid #f0ece9;
}
.gantt-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gantt-label-text {
  font-size: 12px;
  font-weight: 500;
  color: #1B1917;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.gantt-label-text.gantt-overdue {
  color: #ef4444;
}
.gantt-label-due {
  font-size: 10px;
  color: #9a928c;
  white-space: nowrap;
  flex-shrink: 0;
}
.gantt-chart-scroll {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
}
.gantt-svg {
  display: block;
}
.gantt-bar {
  transition: opacity 0.15s ease;
}
.gantt-bar:hover {
  opacity: 1 !important;
  filter: brightness(1.05);
}

/* Gantt hover tooltip */
.gantt-tooltip {
  position: absolute;
  z-index: 100;
  min-width: 260px;
  max-width: 360px;
  background: #1B1917;
  color: #FBF7F5;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 14px 16px;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
  pointer-events: none;
  animation: gantt-tooltip-in 0.12s ease-out;
}
@keyframes gantt-tooltip-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gantt-tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.gantt-tooltip-cat {
  font-size: 10px;
  font-weight: 600;
  color: #FBF7F5;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.gantt-tooltip-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #FBF7F5;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
}
.gantt-tooltip-status {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.gantt-tooltip-desc {
  font-size: 12.5px;
  color: #E8E3DF;
  margin-bottom: 12px;
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 180px;
  overflow-y: auto;
}
.gantt-tooltip-desc.gantt-tooltip-empty {
  color: #9a928c;
  font-style: italic;
  font-size: 11.5px;
}
.gantt-tooltip-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.gantt-tooltip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
}
.gantt-tooltip-row span {
  color: #9a928c;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.gantt-tooltip-row strong {
  color: #FBF7F5;
  font-weight: 600;
  font-size: 12px;
}
.gantt-legend {
  display: flex;
  gap: 16px;
  align-items: center;
}
.gantt-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #776F67;
}
.gantt-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ─── Invoice Upload Drop Zone ─────────────────────────────────────────────── */
#invoice-drop-zone:hover,
#invoice-drop-zone.dragover {
  border-color: #1B1917;
  background: #F0EAE7;
}
#invoice-drop-zone.dragover {
  border-style: solid;
}

/* ─── Invoice Review Interface ─────────────────────────────────── */
.rev-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #776F67;
  margin-bottom: 4px;
}
.rev-input {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid #DFD5D0;
  border-radius: 6px;
  font-family: 'PP Neue Montreal', sans-serif;
  font-size: 12px;
  color: #1B1917;
  background: #fff;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.rev-input:focus {
  outline: none;
  border-color: #1B1917;
}
.rev-input:disabled {
  background: #f8f6f4;
  color: #776F67;
  cursor: not-allowed;
}
.rev-input-muted {
  background: #f8f6f4;
  color: #776F67;
  border-color: #ebe6e2;
}
select.rev-input {
  appearance: auto;
  cursor: pointer;
}
#rev-lines-body tr td {
  padding: 4px 4px;
  vertical-align: middle;
}

/* ─── Workday Status Pulse Animation ─────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ─── Login Screen ───────────────────────────────────────────────────────── */
#main.login-mode {
  margin-left: 0 !important;
  width: 100%;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3f 50%, #1a3a2a 100%);
  padding: 24px;
}

.login-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}

.login-app-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #57534e;
  background: #F0EAE7;
  padding: 3px 8px;
  border-radius: 4px;
}

.login-title {
  font-size: 22px;
  font-weight: 700;
  color: #1B1917;
  margin-bottom: 4px;
  text-align: center;
}

.login-subtitle {
  font-size: 13px;
  color: #776F67;
  margin-bottom: 24px;
  text-align: center;
}

.login-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid #fecaca;
}

/* ─── Sidebar User ───────────────────────────────────────────────────────── */
.sidebar-user {
  margin-top: auto;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.sidebar-user-details {
  overflow: hidden;
}

.sidebar-user-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-email {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-actions {
  display: flex;
  gap: 4px;
}

.sidebar-user-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.6);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
}

.sidebar-user-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ─── Role & Status Badges ───────────────────────────────────────────────── */
.role-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-admin {
  background: #fef3c7;
  color: #92400e;
}

.role-user {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.status-active {
  background: #d1fae5;
  color: #065f46;
}

.status-inactive {
  background: #f3f4f6;
  color: #6b7280;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.row-inactive {
  opacity: 0.5;
}

/* ─── Action Buttons (Admin Table) ───────────────────────────────────────── */
.action-btns {
  display: flex;
  gap: 4px;
}

.btn-icon {
  background: none;
  border: 1px solid #DFD5D0;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  color: #57534e;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
}

.btn-icon:hover {
  background: #F0EAE7;
  color: #1B1917;
  border-color: #c4b8b2;
}

/* ─── Project Access Modal ───────────────────────────────────────────────── */
.project-access-list {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #DFD5D0;
  border-radius: 10px;
  padding: 8px;
}

.project-access-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 13px;
}

.project-access-item:hover {
  background: #F0EAE7;
}

.project-access-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1a3a2a;
}

/* ─── Invite Link Box ────────────────────────────────────────────────────── */
.invite-link-box input {
  background: #f8f6f4;
  border: 1.5px solid #DFD5D0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  font-family: monospace;
  color: #1B1917;
}

/* ─── Suppliers + Invoice Wizard ────────────────────────────────────────── */
.wizard-steps {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid #F0EAE7;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #b8b3ae;
  padding: 6px 10px;
  border-radius: 20px;
}
.wizard-step.active { color: #1B1917; background: #F0EAE7; }
.wizard-step.done { color: #16a34a; }
.wizard-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #DFD5D0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.wizard-step.active .wizard-step-num { background: #1B1917; }
.wizard-step.done .wizard-step-num { background: #16a34a; }
.wizard-step-arrow { color: #DFD5D0; font-size: 14px; }

.wizard-body { padding: 8px 24px 24px; }
.wizard-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding: 16px 24px;
  border-top: 1px solid #F0EAE7;
}

.wizard-drop-zone {
  border: 2px dashed #DFD5D0;
  border-radius: 12px;
  padding: 48px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #FDFBFA;
}
.wizard-drop-zone.dragover { border-color: #1B1917; background: #F0EAE7; }

.supplier-picker-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #DFD5D0;
  border-radius: 8px;
  margin-top: 8px;
}
.supplier-picker-row {
  padding: 10px 14px;
  border-bottom: 1px solid #F0EAE7;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.supplier-picker-row:last-child { border-bottom: none; }
.supplier-picker-row:hover { background: #F0EAE7; }
.supplier-picker-row .code { color: #776F67; font-size: 11px; font-family: monospace; }

.warning-banner {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 12px 16px;
  color: #92400e;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.wizard-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #F0EAE7;
  font-size: 13px;
}
.wizard-summary-row:last-child { border-bottom: none; }
.wizard-summary-row .label { color: #776F67; font-weight: 500; }
.wizard-summary-row .value { color: #1B1917; font-weight: 600; }
.invoice-drop-zone {
  margin: 12px 16px 16px;
  padding: 18px;
  border: 2px dashed #DFD5D0;
  border-radius: 10px;
  background: #FAF7F5;
  color: #776F67;
  transition: all 0.15s ease;
  cursor: pointer;
}
.invoice-drop-zone.drag-over {
  border-color: #1B1917;
  background: #F0EAE7;
  color: #1B1917;
}
.invoice-drop-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  font-size: 13px;
}
.invoice-drop-inner a { color: #1B1917; text-decoration: underline; }

/* ─── Admin sub-tabs ─────────────────────────────────────── */
.subtab-btn {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #776F67;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  margin-bottom: -1.5px;
}
.subtab-btn:hover { color: #1B1917; background: #F0EAE7; }
.subtab-btn.active {
  color: #1B1917;
  border-bottom-color: #1B1917;
  font-weight: 600;
}

/* ─── Bulk upload review table ──────────────────────────── */
.bulk-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  border: 2px dashed #DFD5D0;
  border-radius: 10px;
  background: #FAF7F5;
  color: #776F67;
  transition: all 0.15s ease;
  cursor: pointer;
  text-align: center;
}
.bulk-upload-zone.drag-over { border-color: #1B1917; background: #F0EAE7; color: #1B1917; }
.bulk-upload-zone .big-icon { font-size: 28px; margin-bottom: 8px; }
.bulk-upload-zone .primary-text { font-size: 15px; font-weight: 600; color: #1B1917; }
.bulk-upload-zone .secondary-text { font-size: 12px; margin-top: 4px; }

.bulk-batch-card {
  border: 1px solid #DFD5D0;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}
.bulk-batch-card .header {
  padding: 14px 18px;
  background: #FAF7F5;
  border-bottom: 1px solid #DFD5D0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bulk-batch-card .header strong { font-size: 14px; }
.bulk-batch-card .header .meta { font-size: 12px; color: #776F67; margin-top: 2px; }

.bulk-item-row {
  display: grid;
  grid-template-columns: 32px minmax(180px, 1.6fr) 130px 110px minmax(180px, 1.4fr) minmax(160px, 1.2fr) 90px 36px;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #F1ECE8;
  font-size: 12.5px;
}
.bulk-item-row:last-child { border-bottom: 0; }
.bulk-item-row .file-name {
  font-weight: 500;
  color: #1B1917;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bulk-item-row input, .bulk-item-row select {
  width: 100%;
  border: 1.5px solid #DFD5D0;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12.5px;
  background: #fff;
  font-family: inherit;
}
.bulk-item-row.matched { background: #f6fbf7; }
.bulk-item-row.missing-project { background: #fff8f5; }
.bulk-item-row .ai-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bulk-item-row .ai-badge.ai-matched { background: #d1fae5; color: #047857; }
.bulk-item-row .ai-badge.ai-pending { background: #f1f1f1; color: #57534e; }
.bulk-item-row .ai-badge.ai-needs-review { background: #fef3c7; color: #b45309; }
.bulk-item-row .ai-badge.ai-running { background: #dbeafe; color: #1e40af; }
.bulk-item-row .ai-badge.ai-queued { background: #ede9fe; color: #6d28d9; }
.bulk-batch-card .footer {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FAF7F5;
  border-top: 1px solid #DFD5D0;
}
.bulk-row-thumb {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: #F0EAE7;
  color: #776F67;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}

/* ─── Contract Info disclosure section ───────────────────── */
.contract-info-section summary { list-style: none; }
.contract-info-section summary::-webkit-details-marker { display: none; }
.contract-info-section summary:hover { background: #FAF7F5; }
.contract-info-section .chev {
  display: inline-block;
  transition: transform 0.15s ease;
  color: #776F67;
  font-size: 12px;
}
.contract-info-section[open] .chev { transform: rotate(180deg); }

/* ─── Contract Detail Slide-Out Panel ───────────────────── */
.contract-detail-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
}
.contract-detail-panel.open { pointer-events: auto; }
.contract-detail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 25, 23, 0);
  transition: background 0.2s ease;
}
.contract-detail-panel.open .contract-detail-overlay { background: rgba(27, 25, 23, 0.4); }
.contract-detail-drawer {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 560px;
  background: #FBF7F5;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.contract-detail-panel.open .contract-detail-drawer { transform: translateX(0); }
.contract-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 28px 18px;
  border-bottom: 1px solid #DFD5D0;
  background: #fff;
}
.contract-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 28px 24px;
}
.contract-detail-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 28px;
  border-top: 1px solid #DFD5D0;
  background: #fff;
}
.contract-detail-section {
  padding: 22px 0;
  border-bottom: 1px solid #ECE6E2;
}
.contract-detail-section:last-child { border-bottom: 0; }
.contract-detail-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}
.contract-detail-row:last-child { margin-bottom: 0; }
.contract-detail-label {
  font-size: 11px;
  font-weight: 600;
  color: #776F67;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-top: 2px;
}
.contract-detail-value { color: #1B1917; }

/* Status timeline */
.contract-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.contract-timeline::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: #ECE6E2;
}
.contract-timeline-step {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  position: relative;
}
.contract-timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #DFD5D0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #94908b;
  flex-shrink: 0;
  z-index: 1;
}
.contract-timeline-step.complete .contract-timeline-dot {
  background: #1B1917;
  border-color: #1B1917;
  color: #fff;
}
.contract-timeline-step.active .contract-timeline-dot {
  background: #fff;
  border-color: #1B1917;
  color: #1B1917;
  box-shadow: 0 0 0 4px rgba(27, 25, 23, 0.08);
}
.contract-timeline-content { padding-top: 4px; }
.contract-timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: #1B1917;
}
.contract-timeline-step.pending .contract-timeline-label { color: #94908b; }
.contract-timeline-date {
  font-size: 11.5px;
  color: #776F67;
  margin-top: 1px;
}
