/* ═══════════════════════════════════════
   DEAGENTUR — Premium Minimal Design System
   Inspired by Linear, Notion, Arc, iOS 17
   ═══════════════════════════════════════ */

:root {
  --bg: #F5F3F2;
  --surface: #FFFFFF;
  --surface-dark: #2D2D2D;
  --surface-dark2: #3A3A3A;
  --purple: #C58AF9;
  --purple-light: #E8D5FF;
  --purple-soft: #F3EAFF;
  --text: #111111;
  --text-secondary: #7B7B7B;
  --text-muted: #ABABAB;
  --border: rgba(0,0,0,0.06);
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-med: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-float: 0 4px 16px rgba(0,0,0,0.04);
  --red: #F45B69;
  --amber: #F5A623;
  --green: #4CD964;
  --blue: #5AC8FA;
  --r-card: 28px;
  --r-mini: 20px;
  --r-pill: 999px;
  --r-grid: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

html, body {
  height:100%;
  font-family: -apple-system, "SF Pro Display", "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app { display:flex; flex-direction:column; height:100%; position:relative; }

/* ─── HEADER ─── */
#header {
  flex-shrink:0;
  padding: 20px 20px 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
}
#header h1 {
  font-size: 26px;
  font-weight: 700;
  flex: 1;
  letter-spacing: -0.5px;
  color: var(--text);
}
#header .back-btn {
  background: var(--surface);
  border: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
#header .back-btn:active { transform: scale(0.92); }
#header .action-btn {
  background: var(--surface-dark);
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
#header .action-btn:active { transform: scale(0.92); }

/* ─── CONTENT ─── */
#content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 100px;
}

/* ─── FLOATING BOTTOM NAV ─── */
#tabbar {
  position: fixed;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 12px 16px;
  z-index: 50;
  box-shadow: var(--shadow-med);
  padding-bottom: calc(12px + var(--safe-bottom));
}
.tab-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.tab-btn:active { transform: scale(0.88); }
.tab-btn.active {
  background: var(--surface-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.tab-btn span { display: none; }
.tab-btn.fab {
  background: var(--purple);
  color: #fff;
  width: 48px;
  height: 48px;
  box-shadow: 0 6px 20px rgba(197,138,249,0.35);
}
.tab-btn.fab:active { transform: scale(0.88); }

/* ─── CARDS ─── */
.card {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 20px;
  margin: 0 20px 12px;
  box-shadow: var(--shadow-soft);
}
.card-dark {
  background: var(--surface-dark);
  border-radius: var(--r-card);
  padding: 20px;
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.card-purple {
  background: var(--purple);
  border-radius: var(--r-card);
  padding: 20px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(197,138,249,0.25);
}

/* ─── STAT GRID ─── */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 20px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--r-mini);
  padding: 20px;
  box-shadow: var(--shadow-float);
}
.stat-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  margin: 4px 0;
  letter-spacing: -1px;
  color: var(--text);
}
.stat-card .stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card.purple .stat-value { color: var(--purple); }
.stat-card.red .stat-value { color: var(--red); }
.stat-card.amber .stat-value { color: var(--amber); }
.stat-card.green .stat-value { color: var(--green); }

/* ─── PROJECT FOLDER CARDS ─── */
.project-folder {
  background: var(--surface);
  border-radius: var(--r-card);
  padding: 20px;
  margin: 12px 20px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  position: relative;
}
.project-folder:active { transform: scale(0.97); box-shadow: var(--shadow-float); }
.project-folder.dark { background: var(--surface-dark); color: #fff; }
.project-folder.purple { background: var(--purple); color: #fff; box-shadow: 0 8px 24px rgba(197,138,249,0.25); }
.project-folder .folder-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 10px;
}
.project-folder .folder-tab.ongoing { background: var(--purple-soft); color: #7B4DB3; }
.project-folder .folder-tab.completed { background: #E8F8EC; color: #2D7A3E; }
.project-folder .folder-tab.future { background: var(--surface-dark); color: #fff; }
.project-folder .folder-tab.overdue { background: #FFF0F1; color: #C0392B; }
.project-folder .folder-title { font-size: 18px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.3px; }
.project-folder .folder-meta { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.project-folder.dark .folder-meta { color: rgba(255,255,255,0.6); }
.project-folder .folder-owe {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: #FFF0F1;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.project-folder .folder-progress { margin-top: 12px; }
.progress-bar { height: 4px; background: rgba(0,0,0,0.06); border-radius: 2px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: var(--purple); border-radius: 2px; transition: width 0.5s cubic-bezier(0.34,1.56,0.64,1); }
.project-folder.dark .progress-bar { background: rgba(255,255,255,0.1); }

/* ─── LIST STYLES ─── */
.list-section { padding: 8px 0; }
.list-section h3 {
  padding: 16px 20px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}
.list-group { margin: 0 20px 12px; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  min-height: 60px;
}
.list-item:active { transform: scale(0.98); }
.list-item + .list-item { border-top: 1px solid var(--border); }

/* ─── AVATAR ─── */
.avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--r-grid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.list-item-content { flex: 1; min-width: 0; }
.list-item-title { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.list-item-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.badge { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); display: inline-block; }
.badge-red { background: #FFF0F1; color: var(--red); }
.badge-green { background: #E8F8EC; color: #2D7A3E; }
.badge-purple { background: var(--purple-light); color: #7B4DB3; }

/* ─── DOTS ─── */
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: var(--red); animation: pulse 2s infinite; }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--green); }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

/* ─── FILTER CHIPS ─── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  background: var(--surface);
  color: var(--text-secondary);
  box-shadow: var(--shadow-float);
  white-space: nowrap;
  transition: all 0.2s;
}
.pill.active { background: var(--surface-dark); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.pills-row { display: flex; gap: 8px; padding: 0 20px; margin-bottom: 20px; overflow-x: auto; flex-wrap: nowrap; }
.pills-row::-webkit-scrollbar { display: none; }

/* ─── TIMELINE ─── */
.timeline { padding: 16px 20px; padding-bottom: 80px; }
.timeline-track { position: relative; padding-left: 44px; }
.timeline-track::before { content:''; position: absolute; left: 14px; top: 0; bottom: 0; width: 1.5px; background: var(--border); }
.timeline-node { position: relative; margin-bottom: 16px; }
.timeline-node .node-dot {
  position: absolute;
  left: -44px;
  top: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-float);
  z-index: 1;
}
.timeline-node.milestone .node-dot { background: var(--purple); color: #fff; box-shadow: 0 4px 12px rgba(197,138,249,0.3); }
.timeline-node.todo .node-dot { background: var(--surface-dark); color: #fff; }
.timeline-node.completed .node-dot { background: var(--green); color: #fff; }
.timeline-node .node-card {
  background: var(--surface);
  border-radius: var(--r-mini);
  padding: 16px 18px;
  box-shadow: var(--shadow-float);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.timeline-node .node-card:active { transform: scale(0.97); }
.timeline-node.milestone .node-card { background: var(--purple); color: #fff; box-shadow: 0 8px 24px rgba(197,138,249,0.2); }
.timeline-node.milestone .node-card .node-time { color: rgba(255,255,255,0.7); }
.node-card .node-title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; color: var(--text); }
.timeline-node.milestone .node-card .node-title { color: #fff; }
.node-card .node-time { font-size: 11px; color: var(--text-secondary); margin-top: 4px; font-weight: 400; }
.node-card .node-body { font-size: 14px; color: var(--text-secondary); margin-top: 8px; line-height: 1.6; display: none; }
.timeline-node.expanded .node-body { display: block; }
.timeline-node.milestone.expanded .node-body { color: rgba(255,255,255,0.8); }
.node-card .node-actions { display: none; margin-top: 12px; gap: 8px; }
.timeline-node.expanded .node-actions { display: flex; }

/* ─── TODO ─── */
.todo-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.todo-circle:active { transform: scale(0.8); }
.todo-circle.done { background: var(--green); border-color: var(--green); }
.todo-circle.done::after { content:'✓'; color: #fff; font-size: 12px; font-weight: 700; }
.todo-title.done { text-decoration: line-through; color: var(--text-muted); }

/* ─── BOTTOM SHEET ─── */
#sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
}
#sheet-overlay.visible { opacity: 1; }
#sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-radius: var(--r-card) var(--r-card) 0 0;
  z-index: 101;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 90vh;
  overflow-y: auto;
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.1);
}
#sheet.visible { transform: translateY(0); }
.sheet-handle { width: 36px; height: 4px; background: rgba(0,0,0,0.1); border-radius: 2px; margin: 10px auto; }
.sheet-content { padding: 24px 20px; }
.sheet-title { font-size: 22px; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.5px; color: var(--text); }

/* ─── FORMS ─── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-mini);
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}
.form-input:focus { border-color: var(--purple); background: #fff; box-shadow: 0 0 0 4px rgba(197,138,249,0.1); }
textarea.form-input { resize: vertical; min-height: 88px; }
.btn {
  padding: 16px 24px;
  border-radius: var(--r-mini);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
  letter-spacing: -0.2px;
}
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--surface-dark); color: #fff; box-shadow: var(--shadow-soft); }
.btn-danger { background: var(--red); color: #fff; }
.btn-ghost { background: none; color: var(--text-secondary); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-row { display: flex; gap: 8px; margin-top: 16px; }
.btn-row .btn { flex: 1; }

/* ─── SEGMENTED ─── */
.segmented { display: flex; background: var(--bg); border-radius: var(--r-mini); padding: 4px; margin: 0 20px 16px; }
.seg-btn {
  flex: 1;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.seg-btn.active { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: var(--shadow-float); }

/* ─── URGENCY ─── */
.urgency-sel { display: flex; gap: 12px; }
.urgency-btn { width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1); opacity: 0.4; box-shadow: var(--shadow-float); }
.urgency-btn.sel { transform: scale(1.2); opacity: 1; }
.urgency-btn.u-red { background: var(--red); }
.urgency-btn.u-amber { background: var(--amber); }
.urgency-btn.u-green { background: var(--green); }

/* ─── QUICK ADD BAR ─── */
.quick-add-bar {
  display: flex;
  justify-content: space-around;
  padding: 14px 12px;
  margin: 0 20px 16px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
}
.quick-add-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 500;
  padding: 8px;
  min-width: 48px;
  border-radius: var(--r-grid);
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.quick-add-btn:active { background: var(--purple-soft); color: #7B4DB3; transform: scale(0.9); }

/* ─── CALENDAR ─── */
.cal-container { padding: 20px; }
.cal-month-title { font-size: 22px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.5px; color: var(--text); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.cal-header { text-align: center; font-size: 11px; font-weight: 500; color: var(--text-muted); padding: 8px 0; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-grid);
  cursor: pointer;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.cal-day:active { transform: scale(0.88); }
.cal-day.today { background: var(--purple); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(197,138,249,0.3); }
.cal-day.other-month { color: var(--text-muted); }
.cal-day.has-tasks { background: var(--purple-soft); }
.cal-day.busy { background: var(--purple-light); color: #7B4DB3; }
.cal-dots { display: flex; gap: 2px; margin-top: 2px; }
.cal-dots .cal-dot { width: 4px; height: 4px; border-radius: 50%; }

/* ─── WEEK HEATMAP ─── */
.week-timeline { margin: 0 20px 12px; background: var(--surface); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-soft); }
.week-timeline h3 { font-size: 12px; font-weight: 500; margin-bottom: 14px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.week-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.week-col { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.week-col-header { font-size: 11px; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; }
.week-block { width: 100%; aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; transition: transform 0.2s; }
.week-block:active { transform: scale(0.9); }
.week-block.empty { background: rgba(0,0,0,0.03); color: var(--text-muted); }
.week-block.low { background: var(--purple-soft); color: #7B4DB3; }
.week-block.med { background: var(--purple-light); color: #7B4DB3; }
.week-block.high { background: var(--purple); color: #fff; }
.week-block.done { background: #E8F8EC; color: #2D7A3E; }

/* ─── TOAST ─── */
#toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--surface-dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
  box-shadow: var(--shadow-med);
}
#toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── AUTH ─── */
.auth-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
  background: var(--bg);
}
.auth-logo { font-size: 56px; font-weight: 700; color: var(--purple); letter-spacing: -3px; margin-bottom: 4px; }
.auth-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 40px; }
.auth-form { width: 100%; max-width: 320px; }

/* ─── ONBOARDING ─── */
#onboarding {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  padding: 32px;
  text-align: center;
}
#onboarding.hidden { display: none; }
.onboard-logo { font-size: 72px; font-weight: 700; color: var(--purple); margin-bottom: 4px; letter-spacing: -3px; }
.onboard-name { font-size: 28px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.5px; color: var(--text); }
.onboard-sub { font-size: 14px; color: var(--text-secondary); margin-bottom: 48px; line-height: 1.6; }

/* ─── SKELETON ─── */
.skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-mini);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.hidden { display:none !important; }

/* ─── SEARCH ─── */
.search-bar { padding: 8px 20px; position: sticky; top: 0; z-index: 10; background: var(--bg); }
.search-bar input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--r-pill);
  border: none;
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  box-shadow: var(--shadow-float);
}
.search-bar input:focus { outline: none; box-shadow: var(--shadow-soft); }
.search-bar input::placeholder { color: var(--text-muted); }

/* ─── EMPTY STATE ─── */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 32px; text-align: center; color: var(--text-secondary); }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.6; }
.empty-state p { font-size: 14px; line-height: 1.6; }

/* ─── GREETING ─── */
.greeting { padding: 0 20px; margin-bottom: 24px; }
.greeting h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.8px; color: var(--text); }
.greeting p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ─── PROJECT HEADER ─── */
.project-header { margin: 0 20px 12px; background: var(--surface); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-soft); }
.project-header .ph-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.project-header .ph-client { font-size: 12px; color: var(--purple); cursor: pointer; font-weight: 600; }
.project-header .ph-badge { font-size: 11px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--purple-soft); color: #7B4DB3; font-weight: 500; }

/* ─── FINANCIAL ─── */
.fin-summary { padding: 20px; }
.fin-row { display: flex; justify-content: space-between; padding: 12px 0; }
.fin-row + .fin-row { border-top: 1px solid var(--border); }
.fin-label { color: var(--text-secondary); font-size: 14px; }
.fin-value { font-weight: 600; font-size: 14px; color: var(--text); }
.fin-value.outstanding { color: var(--red); }

/* ─── TOUR ─── */
@keyframes tourFadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
