/* === Note / warning utilities (retained from the removed accounting module; used by Reminders & Running Meters) === */
.acc-note { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.acc-note code, .acc-warn code, .mono { font-family: var(--font-mono); font-size: 12.5px; background: rgba(127,127,127,.16); padding: 1px 6px; border-radius: 4px; }
textarea.mono { padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-input); color: var(--text); }
.acc-warn { background: rgba(242,183,5,.16); border: 1px solid var(--primary); color: var(--text); padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14px; }
.acc-ok { background: rgba(16,185,129,.16); border: 1px solid var(--success); color: var(--text); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }

/* === Time Tracking === */
.timer-display {
  text-align: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.timer-time { font-size: 48px; font-weight: 700; font-family: 'Courier New', monospace; color: var(--text); margin-bottom: 8px; }
.timer-task { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
.timer-controls { display: flex; gap: 8px; justify-content: center; }

.time-entries-list { margin-top: 16px; }
.time-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.time-entry-info { flex: 1; }
.time-entry-task { font-size: 14px; font-weight: 500; }
.time-entry-project { font-size: 12px; color: var(--text-muted); }
.time-entry-duration { font-size: 15px; font-weight: 600; font-family: monospace; color: var(--primary); min-width: 70px; text-align: right; }
.time-entry-date { font-size: 12px; color: var(--text-muted); min-width: 80px; text-align: right; }

/* === Documents === */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.doc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.doc-icon { font-size: 40px; margin-bottom: 8px; }
.doc-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; word-break: break-word; }
.doc-meta { font-size: 12px; color: var(--text-muted); }
.doc-status { margin-top: 8px; }

/* === Approvals === */
.approval-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.approval-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.approval-title { font-size: 15px; font-weight: 600; }
.approval-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; flex-wrap: wrap; }
.approval-meta span { display: flex; align-items: center; gap: 4px; }
.approval-chain { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.approval-step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid var(--border);
}
.approval-step.done { background: #d1fae5; border-color: var(--success); }
.approval-step.current { background: #fef3c7; border-color: var(--primary); font-weight: 600; }
.approval-step.waiting { opacity: .5; background: #e2e8f0; }
.approval-step { color: #000; }   /* pills have light backgrounds in both themes */
.approval-arrow { color: var(--text-muted); }
.approval-actions { display: flex; gap: 8px; margin-top: 16px; }

/* === Reports === */
.report-card { margin-bottom: 24px; }
.report-chart { padding: 20px; min-height: 200px; }
.stat-row { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.stat-box {
  flex: 1;
  min-width: 150px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-box .stat-value { font-size: 24px; font-weight: 700; color: var(--primary); }
.stat-box .stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* === Team === */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-card-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600;
  margin: 0 auto 12px;
}
.team-card-name { font-size: 16px; font-weight: 600; }
.team-card-role { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.team-card-stats { display: flex; justify-content: center; gap: 20px; margin-top: 12px; }
.team-card-stat { text-align: center; }
.team-card-stat .stat-num { font-size: 18px; font-weight: 700; }
.team-card-stat .stat-lbl { font-size: 11px; color: var(--text-muted); }

/* === Settings === */
.settings-section { margin-bottom: 32px; }
.settings-section h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.settings-row label { font-size: 14px; }
.settings-row .settings-desc { font-size: 12px; color: var(--text-muted); }
.toggle-switch {
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-switch.active { background: var(--primary); }
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
}
.toggle-switch.active::after { transform: translateX(20px); }
