/* Construction Module Styles */

/* Tab bar - horizontally scrollable on mobile */
.cx-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cx-tabs::-webkit-scrollbar { display: none; }
.cx-tab {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}
.cx-tab:hover { color: var(--text); background: #f8fafc; }
.cx-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Gantt chart */
.gantt-container { overflow-x: auto; padding: 8px 0; }
.gantt-timeline { min-width: 800px; }
.gantt-header {
  display: flex;
  align-items: center;
  padding: 6px 0;
  border-bottom: 2px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.gantt-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  min-height: 40px;
}
.gantt-row:hover { background: #fafbfc; }
.gantt-label {
  width: 300px;
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gantt-label-name { font-weight: 500; }
.gantt-label-meta { font-size: 11px; color: var(--text-secondary); }
.gantt-bar-area {
  flex: 1;
  position: relative;
  height: 32px;
  min-width: 500px;
}
.gantt-bar {
  position: absolute;
  height: 20px;
  border-radius: 4px;
  top: 6px;
  min-width: 6px;
  font-size: 10px;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 6px;
  overflow: hidden;
  white-space: nowrap;
}
.gantt-bar.not-started { background: #cbd5e1; }
.gantt-bar.in-progress { background: var(--primary); }
.gantt-bar.completed { background: var(--success); }
.gantt-bar.delayed { background: var(--danger); }
.gantt-bar.blocked { background: var(--warning); }
.gantt-milestone {
  width: 14px;
  height: 14px;
  background: var(--primary);
  transform: rotate(45deg);
  position: absolute;
  top: 9px;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.gantt-milestone.completed { background: var(--success); }
.gantt-milestone.delayed { background: var(--danger); }

/* Notification bell */
.notification-bell {
  position: relative;
  cursor: pointer;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  transition: background 0.15s;
}
.notification-bell:hover { background: #f1f5f9; }
.notif-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.notif-dropdown {
  position: fixed;
  top: 80px;
  right: 30px;
  width: 380px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  max-height: 420px;
  overflow-y: auto;
  z-index: 300;
}
.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.1s;
}
.notif-item:hover { background: #f8fafc; }
.notif-item.unread { background: #ecfdf5; }
.notif-item.unread:hover { background: #dbeafe; }
.notif-item-title { font-weight: 600; margin-bottom: 2px; }
.notif-item-msg { color: var(--text-secondary); font-size: 12px; }
.notif-item-time { color: var(--text-secondary); font-size: 11px; margin-top: 4px; }

/* Folder-grouped documents */
.folder-group { margin-bottom: 4px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.folder-header {
  padding: 10px 16px;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.folder-header:hover { background: #f1f5f9; }
.folder-header .folder-icon { margin-right: 8px; }
.folder-header .folder-count { color: var(--text-secondary); font-weight: 400; font-size: 12px; }
.folder-content { display: none; }
.folder-content.open { display: block; }

/* Weather icons */
.weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.weather-badge.sunny { background: #fef3c7; color: #92400e; }
.weather-badge.cloudy { background: #f1f5f9; color: #475569; }
.weather-badge.rainy { background: #dbeafe; color: #1e40af; }
.weather-badge.stormy { background: #fecaca; color: #991b1b; }
.weather-badge.snowy { background: #e0f2fe; color: #0369a1; }
.weather-badge.windy { background: #ecfdf5; color: #065f46; }

/* Daily log card */
.daily-log-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.daily-log-header {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.daily-log-body { padding: 16px; }
.daily-log-section { margin-bottom: 12px; }
.daily-log-section:last-child { margin-bottom: 0; }
.daily-log-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.daily-log-section-text { font-size: 13px; white-space: pre-line; }
.daily-log-section.alert { background: #fef3c7; padding: 8px 12px; border-radius: 6px; }
.daily-log-section.danger { background: #fee2e2; padding: 8px 12px; border-radius: 6px; }

/* 2-column grid */
.cx-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .cx-grid-2 { grid-template-columns: 1fr; } }

/* Progress bar with label */
.cx-progress-wrap { margin: 8px 0; }
.cx-progress-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.cx-progress-bar { height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.cx-progress-fill { height: 100%; border-radius: 4px; transition: width 0.3s; }

/* ==================== SCHEDULE MODULE ==================== */

/* --- Toolbar / View Switcher --- */
.sched-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
  padding: 12px 16px; background: white; border: 1px solid var(--border);
  border-radius: 10px;
}
.sched-view-tabs { display: flex; gap: 4px; }
.sched-view-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px; border: 1px solid var(--border); border-radius: 6px;
  background: white; font-size: 13px; font-weight: 500; cursor: pointer;
  color: var(--text-secondary); transition: all .15s;
}
.sched-view-btn:hover { background: #f8fafc; color: var(--text); }
.sched-view-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.sched-view-icon { font-size: 15px; }
.sched-toolbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sched-stats-mini { display: flex; gap: 10px; }
.sched-stat-chip {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
}
.sched-stat-dot { width: 8px; height: 8px; border-radius: 50%; }

/* --- Toggle Buttons --- */
.sched-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border: 1px solid var(--border); border-radius: 6px;
  background: white; font-size: 12px; cursor: pointer; color: var(--text-secondary);
  transition: all .15s; white-space: nowrap;
}
.sched-toggle:hover { background: #f8fafc; }
.sched-toggle.active { background: #ecfdf5; border-color: var(--primary); color: var(--primary); font-weight: 600; }
.sched-toggle-dot { width: 8px; height: 8px; border-radius: 50%; }

/* --- Zoom Controls --- */
.sched-zoom-group { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.sched-zoom-btn {
  padding: 5px 12px; border: none; border-right: 1px solid var(--border);
  background: white; font-size: 12px; cursor: pointer; color: var(--text-secondary);
  transition: all .15s;
}
.sched-zoom-btn:last-child { border-right: none; }
.sched-zoom-btn:hover { background: #f8fafc; }
.sched-zoom-btn.active { background: var(--primary); color: white; }

/* --- Gantt Controls Bar --- */
.sched-gantt-controls {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; margin-bottom: 12px;
  padding: 10px 14px; background: #f8fafc; border: 1px solid var(--border);
  border-radius: 8px;
}
.sched-gantt-toggles { display: flex; gap: 6px; flex-wrap: wrap; }
.sched-gantt-controls-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* --- Gantt Split Layout --- */
.sched-gantt-wrapper {
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: white;
}
.sched-gantt-split { display: flex; height: 560px; }

/* Left Grid */
.sched-gantt-grid {
  width: 440px; min-width: 300px; flex-shrink: 0;
  border-right: 2px solid var(--border); display: flex; flex-direction: column;
  overflow: hidden;
}
.sched-grid-header {
  display: flex; border-bottom: 2px solid var(--border); background: #f8fafc;
  font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-secondary);
  flex-shrink: 0;
}
.sched-grid-body { overflow-y: auto; flex: 1; }
.sched-grid-col { padding: 8px 6px; display: flex; align-items: center; font-size: 12px; }
.sched-col-name { flex: 1; min-width: 140px; }
.sched-col-duration { width: 50px; justify-content: center; }
.sched-col-start { width: 85px; }
.sched-col-end { width: 85px; }
.sched-col-pct { width: 40px; justify-content: center; }
.sched-col-assigned { width: 90px; }

.sched-grid-row { display: flex; border-bottom: 1px solid #f1f5f9; min-height: 36px; cursor: default; }
.sched-grid-row:hover { background: #fafbfc; }
.sched-row-summary { background: #f0f4f8; font-weight: 600; cursor: pointer; }
.sched-row-summary:hover { background: #e8edf2; }
.sched-row-critical .sched-col-name { color: #dc2626; }
.sched-expand-icon { font-size: 9px; margin-right: 4px; color: var(--text-secondary); }
.sched-phase-count { font-weight: 400; color: var(--text-secondary); font-size: 11px; }

/* Resizer */
.sched-gantt-resizer {
  width: 5px; cursor: col-resize; background: var(--border);
  transition: background .15s; flex-shrink: 0;
}
.sched-gantt-resizer:hover { background: var(--primary); }

/* Right Timeline */
.sched-gantt-timeline-wrap {
  flex: 1; overflow-x: auto; overflow-y: hidden; position: relative;
}
.sched-timeline-header {
  position: sticky; top: 0; z-index: 5; background: #f8fafc;
  border-bottom: 2px solid var(--border);
}
.sched-timeline-col-header {
  padding: 10px 4px; text-align: center; font-size: 11px; font-weight: 600;
  color: var(--text-secondary); border-right: 1px solid #f1f5f9;
  text-transform: uppercase; white-space: nowrap;
}
.sched-timeline-body { position: relative; }
.sched-timeline-row {
  position: relative; min-height: 36px; border-bottom: 1px solid #f1f5f9;
}
.sched-trow-summary { background: #f0f4f8; }

/* Gantt Bars */
.sched-tbar {
  position: absolute; top: 8px; height: 20px; border-radius: 4px;
  overflow: hidden; z-index: 2; cursor: pointer;
  transition: opacity .15s;
}
.sched-tbar:hover { opacity: 0.85; }
.sched-tbar-summary { background: #1e293b; height: 10px; top: 13px; border-radius: 2px; z-index: 1; }
.sched-tbar-normal { background: #10b981; }
.sched-tbar-critical { background: #dc2626; }
.sched-tbar-done { background: #16a34a; }
.sched-tbar-delayed { background: #dc2626; background: repeating-linear-gradient(45deg, #dc2626, #dc2626 4px, #ef4444 4px, #ef4444 8px); }
.sched-tbar-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: rgba(255,255,255,0.3); border-radius: 4px 0 0 4px;
}
.sched-tbar-label {
  position: relative; z-index: 1; padding: 0 6px;
  font-size: 10px; color: white; white-space: nowrap;
  line-height: 20px; text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.sched-tbar-baseline {
  position: absolute; top: 24px; height: 6px; border-radius: 2px; z-index: 1;
  background: repeating-linear-gradient(45deg, #94a3b8, #94a3b8 3px, #cbd5e1 3px, #cbd5e1 6px);
  opacity: 0.7;
}

/* Milestones */
.sched-tbar-milestone {
  position: absolute; top: 10px; width: 14px; height: 14px;
  background: #10b981; transform: rotate(45deg) translateX(-50%);
  border: 2px solid white; box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  z-index: 3;
}
.sched-tbar-milestone.critical { background: #dc2626; }
.sched-tbar-milestone.completed { background: #16a34a; }

/* Today Line */
.sched-today-line {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: #f97316; z-index: 10; pointer-events: none;
}
.sched-today-label {
  position: absolute; top: -18px; left: -16px;
  background: #f97316; color: white; font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 3px; white-space: nowrap;
}

/* ==================== CALENDAR VIEW ==================== */
.sched-cal-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
}
.sched-cal-nav { display: flex; align-items: center; gap: 8px; }
.sched-cal-title { font-size: 18px; font-weight: 700; margin: 0; min-width: 180px; text-align: center; }
.sched-cal-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sched-cal-check { display: flex; align-items: center; gap: 4px; font-size: 12px; cursor: pointer; color: var(--text-secondary); }

/* Month Grid */
.sched-cal-grid-month { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: white; }
.sched-cal-daynames { display: grid; grid-template-columns: repeat(7, 1fr); background: #f8fafc; border-bottom: 1px solid var(--border); }
.sched-cal-dayname { padding: 10px; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.sched-cal-cells { display: grid; grid-template-columns: repeat(7, 1fr); }
.sched-cal-cell {
  min-height: 110px; border-right: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9;
  padding: 4px; position: relative; overflow: hidden;
}
.sched-cal-cell:nth-child(7n) { border-right: none; }
.sched-cal-cell-out { background: #fafbfc; }
.sched-cal-cell-out .sched-cal-date { color: #cbd5e1; }
.sched-cal-cell-today { background: #fffbeb; }
.sched-cal-date { font-size: 12px; font-weight: 500; padding: 2px 6px; color: var(--text-secondary); }
.sched-cal-date-today {
  background: var(--primary); color: white; border-radius: 50%;
  width: 24px; height: 24px; display: inline-flex; align-items: center;
  justify-content: center; font-weight: 700;
}
.sched-cal-tasks { margin-top: 2px; display: flex; flex-direction: column; gap: 1px; }
.sched-cal-task-bar {
  font-size: 10px; padding: 2px 4px; color: white; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; line-height: 16px;
  border-radius: 0;
}
.sched-cal-task-bar.border-radius-l { border-radius: 3px 0 0 3px; }
.sched-cal-task-bar.border-radius-r { border-radius: 0 3px 3px 0; }
.sched-cal-task-bar.border-radius-l.border-radius-r { border-radius: 3px; }
.sched-cal-task-normal { background: #10b981; }
.sched-cal-task-critical { background: #dc2626; }
.sched-cal-task-done { background: #16a34a; }
.sched-cal-task-delayed { background: #f97316; }
.sched-cal-more { font-size: 10px; color: var(--text-secondary); padding: 1px 4px; cursor: pointer; }
.sched-cal-more:hover { color: var(--primary); }

/* Week View */
.sched-cal-week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.sched-cal-week-col {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  min-height: 400px; overflow: hidden;
}
.sched-cal-week-today { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.sched-cal-week-header {
  padding: 10px 12px; background: #f8fafc; border-bottom: 1px solid var(--border);
  text-align: center;
}
.sched-cal-week-day { display: block; font-size: 11px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; }
.sched-cal-week-date { font-size: 13px; font-weight: 600; }
.sched-cal-week-tasks { padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.sched-cal-week-task {
  padding: 6px 8px; border-radius: 6px; cursor: pointer;
  border-left: 3px solid; font-size: 12px; transition: background .1s;
}
.sched-cal-week-task:hover { opacity: 0.85; }
.sched-cal-week-task-normal { background: #ecfdf5; border-color: #10b981; }
.sched-cal-week-task-critical { background: #fef2f2; border-color: #dc2626; }
.sched-cal-week-task-done { background: #f0fdf4; border-color: #16a34a; }
.sched-cal-week-task-delayed { background: #fff7ed; border-color: #f97316; }
.sched-cal-week-task-name { font-weight: 600; font-size: 12px; }
.sched-cal-week-task-meta { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }

/* Day View */
.sched-cal-day-view { background: white; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.sched-cal-day-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; background: #f8fafc; border-bottom: 1px solid var(--border);
}
.sched-cal-day-header h3 { margin: 0; font-size: 16px; }
.sched-cal-day-count { color: var(--text-secondary); font-size: 13px; }
.sched-cal-day-list { padding: 8px; }
.sched-cal-day-empty { padding: 40px; text-align: center; color: var(--text-secondary); font-size: 14px; }
.sched-cal-day-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: 8px; margin-bottom: 4px; cursor: pointer; transition: background .1s;
}
.sched-cal-day-item:hover { background: #f8fafc; }
.sched-cal-day-item-indicator { width: 4px; height: 40px; border-radius: 2px; flex-shrink: 0; }
.sched-cal-day-item-normal .sched-cal-day-item-indicator { background: #10b981; }
.sched-cal-day-item-critical .sched-cal-day-item-indicator { background: #dc2626; }
.sched-cal-day-item-done .sched-cal-day-item-indicator { background: #16a34a; }
.sched-cal-day-item-delayed .sched-cal-day-item-indicator { background: #f97316; }
.sched-cal-day-item-body { flex: 1; }
.sched-cal-day-item-name { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.sched-cal-day-item-details { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-secondary); flex-wrap: wrap; }
.sched-cal-day-item-pct { flex-shrink: 0; }

/* ==================== LOOKAHEADS VIEW ==================== */
.sched-la-toolbar {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 16px;
  padding: 14px 16px; background: white; border: 1px solid var(--border); border-radius: 10px;
}
.sched-la-toolbar-left { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.sched-la-toolbar-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sched-la-field label { display: block; font-size: 11px; font-weight: 600; color: var(--text-secondary); margin-bottom: 3px; text-transform: uppercase; }
.sched-la-task-count { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.sched-la-variance { color: #f97316; font-size: 14px; margin-left: 4px; cursor: help; }

/* Lookahead Split Layout */
.sched-la-container { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: white; }
.sched-la-split { display: flex; min-height: 450px; }

/* Lookahead Left Grid */
.sched-la-grid { width: 480px; min-width: 360px; flex-shrink: 0; border-right: 2px solid var(--border); overflow-y: auto; }
.sched-la-grid-header {
  display: flex; position: sticky; top: 0; z-index: 2;
  background: #f8fafc; border-bottom: 2px solid var(--border);
  font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--text-secondary);
}
.sched-la-grid-body { }
.sched-la-col { padding: 8px 6px; font-size: 12px; display: flex; align-items: center; }
.sched-la-col-name { flex: 1; min-width: 120px; }
.sched-la-col-resource { width: 80px; }
.sched-la-col-company { width: 80px; }
.sched-la-col-start { width: 65px; }
.sched-la-col-end { width: 65px; }
.sched-la-col-pct { width: 36px; justify-content: center; }
.sched-la-row { display: flex; border-bottom: 1px solid #f1f5f9; min-height: 34px; }
.sched-la-row:hover { background: #fafbfc; }
.sched-la-row-phase { background: #f0f4f8; }
.sched-la-row-critical .sched-la-col-name { color: #dc2626; font-weight: 600; }

/* Lookahead Right Timeline */
.sched-la-timeline-wrap { flex: 1; overflow-x: auto; overflow-y: hidden; }
.sched-la-timeline-header { position: sticky; top: 0; z-index: 2; background: #f8fafc; border-bottom: 2px solid var(--border); }
.sched-la-time-weeks { display: flex; border-bottom: 1px solid var(--border); }
.sched-la-week-label {
  padding: 6px 8px; font-size: 11px; font-weight: 600;
  text-align: center; border-right: 1px solid var(--border); color: var(--text);
}
.sched-la-time-days { display: flex; }
.sched-la-day-col {
  flex: 1; min-width: 32px; padding: 4px 2px; text-align: center;
  border-right: 1px solid #f1f5f9; font-size: 10px;
}
.sched-la-day-num { display: block; font-weight: 600; color: var(--text); }
.sched-la-day-letter { display: block; color: var(--text-secondary); font-size: 9px; }
.sched-la-weekend { background: #fafbfc; }

.sched-la-timeline-body { position: relative; }
.sched-la-trow { display: flex; min-height: 34px; border-bottom: 1px solid #f1f5f9; position: relative; }
.sched-la-trow-phase { background: #f0f4f8; }
.sched-la-day-bg { flex: 1; min-width: 32px; border-right: 1px solid #f8fafc; }
.sched-la-weekend-bg { background: #fafbfc; }
.sched-la-today-bg { background: #fffbeb; }

/* Lookahead Bars */
.sched-la-bar {
  position: absolute; top: 7px; height: 20px; border-radius: 4px;
  overflow: hidden; z-index: 2; cursor: pointer;
}
.sched-la-bar-normal { background: #10b981; }
.sched-la-bar-critical { background: #dc2626; }
.sched-la-bar-done { background: #16a34a; }
.sched-la-bar-delayed { background: #f97316; }
.sched-la-bar-fill {
  position: absolute; left: 0; top: 0; height: 100%;
  background: rgba(255,255,255,0.3); border-radius: 4px 0 0 4px;
}
.sched-la-bar-text {
  position: relative; z-index: 1; padding: 0 6px;
  font-size: 10px; color: white; white-space: nowrap; line-height: 20px;
}
.sched-la-bar-baseline {
  position: absolute; top: 23px; height: 5px; border-radius: 2px; z-index: 1;
  background: repeating-linear-gradient(45deg, #94a3b8, #94a3b8 3px, #cbd5e1 3px, #cbd5e1 6px);
  opacity: 0.6;
}
.sched-la-milestone {
  position: absolute; top: 10px; width: 12px; height: 12px;
  background: #10b981; transform: rotate(45deg);
  border: 2px solid white; box-shadow: 0 1px 2px rgba(0,0,0,0.15); z-index: 3;
}
.sched-la-milestone.critical { background: #dc2626; }

/* Form control small */
.form-control-sm { padding: 5px 10px; font-size: 12px; height: 32px; }
