/* =====================================================
   StridorCAD — Global Stylesheet
   Stridor LLC © 2026
   ===================================================== */

:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-card: #1c2128;
  --border: #30363d;
  --accent: #1f6feb;
  --accent-hover: #388bfd;
  --accent-red: #da3633;
  --accent-red-hover: #f85149;
  --accent-green: #238636;
  --accent-green-hover: #2ea043;
  --accent-yellow: #9e6a03;
  --accent-yellow-bg: #272115;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #484f58;
  --sidebar-width: 220px;
  --topbar-height: 52px;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'Cascadia Code', 'Consolas', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

a { color: var(--accent-hover); text-decoration: none; }

/* ── SCREENS ──────────────────────────────────────── */
.screen { display: none; height: 100vh; }
.screen.active { display: flex; flex-direction: column; }

/* ── LOGIN ────────────────────────────────────────── */
#login-screen {
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at top, #131c30 0%, #0d1117 60%);
}

.login-container {
  width: 380px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.login-logo { text-align: center; margin-bottom: 32px; }
.logo-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  border-radius: 10px;
  padding: 10px 20px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.login-logo h1 { font-size: 28px; font-weight: 700; color: var(--text-primary); }
.login-sub { color: var(--text-secondary); font-size: 13px; margin-top: 4px; }
.login-dev { color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.login-footer { text-align: center; color: var(--text-muted); font-size: 11px; margin-top: 24px; }

/* ── TOPBAR ───────────────────────────────────────── */
.topbar {
  height: var(--topbar-height);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.topbar-logo { font-weight: 700; font-size: 16px; color: var(--accent-hover); }
.topbar-badge {
  background: var(--accent-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

.topbar-center { flex: 1; text-align: center; font-weight: 600; font-size: 15px; color: var(--text-secondary); }
.topbar-right { display: flex; align-items: center; gap: 16px; min-width: 180px; justify-content: flex-end; }

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
}
.sidebar-toggle:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.notif-bell {
  position: relative;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  user-select: none;
}
.notif-count {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  position: relative;
  user-select: none;
}
.user-chip:hover { border-color: var(--accent); }
.user-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 180px;
  box-shadow: var(--shadow);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 4px 0;
}
.user-dropdown.open { display: flex; }
.dropdown-item {
  background: none;
  border: none;
  padding: 8px 16px;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
}
.dropdown-item:hover { background: var(--bg-tertiary); }
.dropdown-item.danger { color: var(--accent-red-hover); }
.dropdown-item hr { border-color: var(--border); margin: 4px 0; }

/* ── APP LAYOUT ───────────────────────────────────── */
#app-screen { flex-direction: column; }
.app-layout { display: flex; flex: 1; overflow: hidden; }

/* ── SIDEBAR ──────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  flex-shrink: 0;
  padding: 12px 0 20px;
  transition: width 0.2s;
}
.sidebar.collapsed { width: 0; overflow: hidden; }

.sidebar-section { margin-bottom: 8px; }
.sidebar-label {
  padding: 6px 14px 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  color: var(--text-secondary);
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: all 0.15s;
  font-size: 13px;
  white-space: nowrap;
}
.nav-item:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.nav-item.active {
  background: rgba(31,111,235,0.12);
  color: var(--accent-hover);
  border-left-color: var(--accent);
}
.nav-icon { font-size: 14px; width: 18px; text-align: center; }

/* ── MAIN CONTENT ─────────────────────────────────── */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: var(--bg-primary);
}

/* ── PAGE HEADER ──────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.page-header h2 { font-size: 22px; font-weight: 700; }
.page-header .header-actions { display: flex; gap: 10px; }

/* ── CARDS ────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── STAT GRID ────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card .stat-icon { font-size: 26px; }
.stat-card .stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; }
.stat-card.accent-blue { border-left: 3px solid var(--accent); }
.stat-card.accent-green { border-left: 3px solid var(--accent-green-hover); }
.stat-card.accent-red { border-left: 3px solid var(--accent-red); }
.stat-card.accent-yellow { border-left: 3px solid #e3b341; }

/* ── GRID ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* ── TABLE ────────────────────────────────────────── */
.table-container { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
thead tr { background: var(--bg-tertiary); }
th {
  text-align: left;
  padding: 10px 14px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(48,54,61,0.6);
  vertical-align: middle;
}
tr:hover td { background: rgba(48,54,61,0.4); }
tr:last-child td { border-bottom: none; }

/* ── FORMS ────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31,111,235,0.2);
}
textarea { resize: vertical; min-height: 80px; }
select option { background: var(--bg-secondary); }
input[type="checkbox"] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }

.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row label { margin-bottom: 0; cursor: pointer; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger { background: var(--accent-red); color: #fff; border-color: var(--accent-red); }
.btn-danger:hover { background: var(--accent-red-hover); }
.btn-success { background: var(--accent-green); color: #fff; border-color: var(--accent-green); }
.btn-success:hover { background: var(--accent-green-hover); }
.btn-outline { background: transparent; color: var(--text-secondary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text-secondary); color: var(--text-primary); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; padding: 10px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── BADGES ───────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-blue { background: rgba(31,111,235,0.2); color: #388bfd; }
.badge-green { background: rgba(35,134,54,0.2); color: #3fb950; }
.badge-red { background: rgba(218,54,51,0.2); color: #f85149; }
.badge-yellow { background: rgba(158,106,3,0.2); color: #e3b341; }
.badge-gray { background: rgba(110,118,129,0.2); color: #8b949e; }
.badge-purple { background: rgba(163,113,247,0.2); color: #d2a8ff; }

/* ── ALERTS ───────────────────────────────────────── */
.alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 12px;
}
.alert-error { background: rgba(218,54,51,0.15); border: 1px solid rgba(218,54,51,0.4); color: #f85149; }
.alert-success { background: rgba(35,134,54,0.15); border: 1px solid rgba(35,134,54,0.4); color: #3fb950; }
.alert-info { background: rgba(31,111,235,0.15); border: 1px solid rgba(31,111,235,0.4); color: #388bfd; }
.alert-warning { background: rgba(158,106,3,0.2); border: 1px solid rgba(158,106,3,0.4); color: #e3b341; }

/* ── MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 560px;
  max-width: 96vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.modal-box.modal-lg { width: 800px; }
.modal-box.modal-xl { width: 1000px; }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.modal-close:hover { color: var(--text-primary); }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* ── TABS ─────────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 20px; gap: 2px; }
.tab {
  padding: 8px 18px;
  cursor: pointer;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent-hover); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── SEARCH ───────────────────────────────────────── */
.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  align-items: center;
}
.search-bar input { flex: 1; }

/* ── CALL STATUS COLORS ───────────────────────────── */
.call-pending { background: rgba(158,106,3,0.15); }
.call-active { background: rgba(35,134,54,0.1); }
.call-closed { background: rgba(110,118,129,0.1); }
.priority-high { color: var(--accent-red-hover); font-weight: 700; }
.priority-medium { color: #e3b341; font-weight: 600; }
.priority-low { color: var(--accent-green-hover); }

/* ── CALENDAR ─────────────────────────────────────── */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-top: 8px;
}
.cal-day-name {
  text-align: center;
  padding: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.cal-day {
  min-height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.cal-day:hover { border-color: var(--accent); }
.cal-day.today { border-color: var(--accent); background: rgba(31,111,235,0.08); }
.cal-day.other-month { opacity: 0.3; }
.cal-day-num { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.cal-event {
  font-size: 10px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  padding: 1px 4px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── MESSAGES ─────────────────────────────────────── */
.msg-layout { display: flex; height: calc(100vh - 140px); gap: 0; }
.msg-sidebar {
  width: 260px;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  flex-shrink: 0;
}
.msg-thread-list { padding: 8px; }
.msg-thread {
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 2px;
}
.msg-thread:hover { background: var(--bg-tertiary); }
.msg-thread.active { background: rgba(31,111,235,0.15); }
.msg-thread-name { font-weight: 600; font-size: 13px; }
.msg-thread-preview { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-thread-badge { background: var(--accent); color: #fff; border-radius: 10px; font-size: 10px; padding: 1px 5px; float: right; }
.msg-main { flex: 1; display: flex; flex-direction: column; }
.msg-header { padding: 14px 20px; border-bottom: 1px solid var(--border); font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.msg-messages { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.msg-bubble { max-width: 66%; }
.msg-bubble.mine { align-self: flex-end; }
.msg-bubble .bubble-text {
  padding: 8px 14px;
  border-radius: 16px;
  font-size: 13px;
  word-break: break-word;
}
.msg-bubble.mine .bubble-text { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.msg-bubble.theirs .bubble-text { background: var(--bg-tertiary); border-bottom-left-radius: 4px; }
.msg-bubble .bubble-meta { font-size: 10px; color: var(--text-muted); margin-top: 3px; }
.msg-bubble.mine .bubble-meta { text-align: right; }
.msg-input-area {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.msg-input-area textarea { flex: 1; min-height: 40px; max-height: 120px; resize: none; }

/* ── PERMISSIONS GRID ─────────────────────────────── */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.perm-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg-tertiary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.perm-item label { font-size: 12px; color: var(--text-secondary); cursor: pointer; }

/* ── PRINT STYLES ─────────────────────────────────── */
@media print {
  .topbar, .sidebar, .page-header .header-actions, .btn, nav { display: none !important; }
  .main-content { padding: 0; }
  .card { border: 1px solid #ccc; break-inside: avoid; }
  body { background: white; color: black; }
}

/* ── UTILITIES ────────────────────────────────────── */
.hidden { display: none !important; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-sm { font-size: 12px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-mono { font-family: var(--font-mono); font-size: 12px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

/* ── NOTIFICATION PANEL ───────────────────────────── */
.notif-panel {
  position: fixed;
  top: calc(var(--topbar-height) + 8px);
  right: 12px;
  width: 320px;
  max-height: 420px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 500;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.notif-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 13px;
}
.notif-panel-header button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
}
#notif-list { overflow-y: auto; flex: 1; }
.notif-item {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(48,54,61,0.5);
  font-size: 12px;
}
.notif-item:last-child { border-bottom: none; }
.notif-item .notif-title { font-weight: 600; margin-bottom: 2px; }
.notif-item .notif-time { color: var(--text-muted); font-size: 11px; }

/* ── SCROLLBAR ────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { position: fixed; top: var(--topbar-height); left: 0; bottom: 0; z-index: 90; transform: translateX(-100%); transition: transform 0.2s; }
  .sidebar.mobile-open { transform: translateX(0); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .msg-layout { flex-direction: column; }
  .msg-sidebar { width: 100%; height: 200px; border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── CALL CARD ────────────────────────────────────── */
.call-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.15s;
}
.call-card:hover { border-color: var(--accent); }
.call-card-id { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.call-card-info { flex: 1; }
.call-card-title { font-weight: 600; margin-bottom: 4px; }
.call-card-meta { font-size: 12px; color: var(--text-secondary); }
.call-card-actions { display: flex; gap: 6px; align-items: center; }

/* ── TIMECARD ─────────────────────────────────────── */
.timecard-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.timecard-header { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
