/* ============================================
   办公协同平台 - 页面特定样式 (Pages)
   ============================================ */

/* ---- Login/Register ---- */
.login-form .input-group { margin-bottom: var(--space-4); }
.login-options { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); font-size: var(--text-sm); }
.forgot-link { color: var(--primary-500); }
.forgot-link:hover { text-decoration: underline; }

/* ---- Dashboard ---- */
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.dashboard-grid .card { min-height: 200px; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-bottom: var(--space-6); }
.quick-action-item {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  padding: var(--space-4); background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); cursor: pointer; transition: all var(--transition-fast);
}
.quick-action-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.quick-action-icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg); display: flex;
  align-items: center; justify-content: center; font-size: 22px;
}
.quick-action-icon.msg { background: var(--primary-50); color: var(--primary-500); }
.quick-action-icon.task { background: var(--success-50); color: var(--success-600); }
.quick-action-icon.doc { background: var(--warning-50); color: var(--warning-600); }
.quick-action-icon.meet { background: var(--info-50); color: var(--info-600); }
.quick-action-label { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--text-secondary); }

.timeline-list { display: flex; flex-direction: column; }
.timeline-item {
  display: flex; gap: var(--space-3); padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light); font-size: var(--text-sm);
}
.timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-300); margin-top: 6px; flex-shrink: 0; }
.timeline-content { flex: 1; }
.timeline-time { font-size: var(--text-xs); color: var(--text-quaternary); margin-top: 2px; }

.meeting-preview { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); background: var(--bg-hover); }
.meeting-preview-time { font-weight: var(--weight-semibold); color: var(--primary-500); min-width: 50px; text-align: center; }
.meeting-preview-info { flex: 1; }
.meeting-preview + .meeting-preview { margin-top: var(--space-2); }

@media (max-width: 768px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Chat Page ---- */
.emoji-picker {
  position: absolute; bottom: calc(100% + 8px); left: 0; width: 320px;
  background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: var(--z-dropdown);
  padding: var(--space-3); animation: fadeInUp var(--transition-fast);
}
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--space-1); }
.emoji-item { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); cursor: pointer; font-size: 20px; }
.emoji-item:hover { background: var(--bg-hover); }

.mention-popup {
  position: absolute; bottom: calc(100% + 4px); left: 0; width: 260px;
  background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: var(--z-dropdown);
  padding: var(--space-1); max-height: 200px; overflow-y: auto;
}

.message-reply-preview {
  display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3);
  background: var(--primary-50); border-left: 3px solid var(--primary-500);
  border-radius: var(--radius-sm); margin-bottom: var(--space-2); font-size: var(--text-sm);
}

.group-notice {
  display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4);
  background: var(--warning-50); border-bottom: 1px solid var(--warning-100);
  font-size: var(--text-sm); color: var(--warning-700);
}

/* ---- Voice/Video Call ---- */
.call-incoming-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: var(--z-call);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff;
}
.call-avatar-ring {
  position: relative; margin-bottom: var(--space-6);
}
.call-avatar-ring::before, .call-avatar-ring::after {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 2px solid rgba(43,92,230,0.4); animation: ring 2s infinite;
}
.call-avatar-ring::after { animation-delay: 0.5s; }

.call-actions { display: flex; gap: var(--space-8); margin-top: var(--space-8); }
.call-action-btn {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-2);
  cursor: pointer;
}
.call-action-circle {
  width: 60px; height: 60px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 24px;
  transition: all var(--transition-fast);
}
.call-action-circle.accept { background: var(--success-500); color: #fff; }
.call-action-circle.accept:hover { background: var(--success-600); transform: scale(1.05); }
.call-action-circle.reject { background: var(--error-500); color: #fff; }
.call-action-circle.reject:hover { background: var(--error-600); transform: scale(1.05); }
.call-action-label { font-size: var(--text-sm); color: rgba(255,255,255,0.7); }

.call-timer { font-size: var(--text-lg); color: rgba(255,255,255,0.8); font-variant-numeric: tabular-nums; }
.call-status { font-size: var(--text-sm); color: rgba(255,255,255,0.5); margin-top: var(--space-2); }

.waveform { display: flex; align-items: center; gap: 3px; height: 24px; margin-top: var(--space-3); }
.waveform-bar {
  width: 3px; background: var(--primary-400); border-radius: 2px;
  animation: waveform 1.2s ease-in-out infinite;
}
.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { animation-delay: 0.3s; }
.waveform-bar:nth-child(7) { animation-delay: 0.2s; }

.screen-share-indicator {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--primary-500); color: #fff; padding: var(--space-2) var(--space-4);
  border-radius: 0 0 var(--radius-md) var(--radius-md); font-size: var(--text-sm);
  z-index: var(--z-call); display: flex; align-items: center; gap: var(--space-2);
}

.add-participant-modal .participant-search { margin-bottom: var(--space-4); }
.participant-list { max-height: 300px; overflow-y: auto; }

/* ---- Contacts ---- */
.contacts-layout { display: flex; height: 100%; }
.contacts-sidebar { width: 280px; border-right: 1px solid var(--border-color); overflow-y: auto; }
.contacts-main { flex: 1; overflow-y: auto; padding: var(--space-6); }
.alpha-index {
  position: fixed; right: 4px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1px; z-index: 10;
}
.alpha-index-item {
  font-size: 10px; color: var(--text-quaternary); padding: 1px 4px;
  cursor: pointer; text-align: center;
}
.alpha-index-item:hover { color: var(--primary-500); }

.org-tree { padding: var(--space-4); }
.org-tree-node { margin-left: var(--space-5); }

/* ---- Projects & Tasks ---- */
.project-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-4); }
.project-card {
  background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: var(--space-5); cursor: pointer;
  transition: all var(--transition-fast);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.project-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  margin-bottom: var(--space-3);
}
.project-card-name { font-size: var(--text-md); font-weight: var(--weight-semibold); margin-bottom: var(--space-1); }
.project-card-desc { font-size: var(--text-sm); color: var(--text-tertiary); margin-bottom: var(--space-4); }
.project-card-footer { display: flex; align-items: center; justify-content: space-between; }
.project-card-members { display: flex; }
.project-card-members .avatar { margin-left: -6px; border: 2px solid var(--bg-surface); }
.project-card-members .avatar:first-child { margin-left: 0; }

.kanban-board { display: flex; gap: var(--space-3); overflow-x: auto; padding: var(--space-4); min-height: 400px; }

.gantt-chart { padding: var(--space-4); overflow-x: auto; }
.gantt-row { display: flex; align-items: center; height: 36px; border-bottom: 1px solid var(--border-light); }
.gantt-label { width: 200px; font-size: var(--text-sm); padding: 0 var(--space-3); flex-shrink: 0; }
.gantt-timeline { flex: 1; position: relative; height: 100%; }
.gantt-bar {
  position: absolute; height: 20px; top: 50%; transform: translateY(-50%);
  border-radius: var(--radius-sm); font-size: 11px; color: #fff;
  display: flex; align-items: center; padding: 0 var(--space-2);
}

.task-table { width: 100%; border-collapse: collapse; }
.task-table th {
  text-align: left; padding: var(--space-2) var(--space-3); font-size: var(--text-sm);
  font-weight: var(--weight-semibold); color: var(--text-tertiary); background: var(--bg-hover);
  border-bottom: 1px solid var(--border-color);
}
.task-table td {
  padding: var(--space-2) var(--space-3); font-size: var(--text-sm);
  border-bottom: 1px solid var(--border-light);
}
.task-table tr:hover { background: var(--bg-hover); }

/* ---- Doc Editor ---- */
.doc-sidebar { width: 260px; border-right: 1px solid var(--border-color); overflow-y: auto; padding: var(--space-3); }
.doc-sidebar .tree-item { padding: var(--space-2); }

.doc-collaborators { display: flex; align-items: center; gap: var(--space-1); }
.doc-collaborators .avatar { border: 2px solid var(--bg-surface); }

.doc-comments-panel { width: 280px; border-left: 1px solid var(--border-color); padding: var(--space-3); overflow-y: auto; }
.comment-item { padding: var(--space-3); border-bottom: 1px solid var(--border-light); }
.comment-author { font-weight: var(--weight-medium); font-size: var(--text-sm); }
.comment-time { font-size: var(--text-xs); color: var(--text-quaternary); }
.comment-text { font-size: var(--text-sm); color: var(--text-secondary); margin-top: var(--space-1); }

/* ---- API Docs ---- */
.api-sidebar { width: 280px; border-right: 1px solid var(--border-color); overflow-y: auto; }
.api-detail { flex: 1; overflow-y: auto; padding: var(--space-6); }

.api-method {
  display: inline-flex; padding: 2px 8px; border-radius: var(--radius-sm);
  font-size: var(--text-xs); font-weight: var(--weight-bold); text-transform: uppercase;
}
.api-method.get { background: #DBEAFE; color: #1D4ED8; }
.api-method.post { background: #D1FAE5; color: #047857; }
.api-method.put { background: #FEF3C7; color: #B45309; }
.api-method.delete { background: #FEE2E2; color: #B91C1C; }
.api-method.patch { background: #EDE9FE; color: #6D28D9; }
.api-method.head { background: #E0E7FF; color: #3730A3; }
.api-method.options { background: #F3F4F6; color: #374151; }

.api-path { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--text-secondary); margin-left: var(--space-2); }

.api-params-table { width: 100%; border-collapse: collapse; margin: var(--space-3) 0; }
.api-params-table th {
  text-align: left; padding: var(--space-2); font-size: var(--text-xs);
  font-weight: var(--weight-semibold); color: var(--text-tertiary);
  background: var(--bg-hover); border: 1px solid var(--border-color);
}
.api-params-table td {
  padding: var(--space-2); font-size: var(--text-sm);
  border: 1px solid var(--border-color);
}
.param-required { color: var(--error-500); font-weight: var(--weight-semibold); font-size: var(--text-xs); }

/* API Folder Tree */
.api-folder { margin-bottom: 4px; }
.api-folder-header {
  display: flex; align-items: center; gap: 6px; padding: 6px 8px;
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; border-radius: var(--radius-md); user-select: none;
}
.api-folder-header:hover { background: var(--bg-hover); }
.api-folder-arrow { font-size: 10px; transition: transform 0.15s ease; color: var(--text-quaternary); }
.api-folder.collapsed .api-folder-arrow { transform: rotate(-90deg); }
.api-folder.collapsed .api-folder-children { display: none; }
.api-folder-name { flex: 1; }
.api-folder-count {
  font-size: 10px; background: var(--bg-hover); color: var(--text-quaternary);
  padding: 0 6px; border-radius: var(--radius-full); font-weight: 500;
}
.api-endpoint-item { transition: background 0.1s ease; }
.api-endpoint-item.active { background: var(--primary-50); color: var(--primary-600); }

/* API Status Dots */
.api-status-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.api-status-dot.beta { background: var(--warning-500); }
.api-status-dot.alpha { background: var(--info-400); }
.api-status-dot.draft { background: var(--gray-400); }

/* Code Block */
.code-block {
  background: var(--gray-900); color: var(--gray-100);
  padding: var(--space-3); border-radius: var(--radius-md);
  font-family: var(--font-mono); font-size: var(--text-sm);
  white-space: pre; overflow-x: auto; line-height: 1.5;
}
.code-block-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-2) var(--space-3);
  background: var(--gray-800); color: var(--gray-300);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-size: var(--text-xs);
}
.code-block-header + .code-block { border-radius: 0 0 var(--radius-md) var(--radius-md); }

/* Notification Item */
.notification-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border-light);
  transition: background 0.1s ease;
}
.notification-item:hover { background: var(--bg-hover); }
.notification-item.unread { background: var(--primary-50); }

/* Calendar Grid */
.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--border-color);
}
.calendar-cell {
  min-height: 80px; padding: var(--space-2); border: 1px solid var(--border-light);
  font-size: var(--text-sm);
}
.calendar-cell.today { background: var(--primary-50); }
.calendar-cell-date { font-weight: var(--weight-semibold); margin-bottom: 4px; }
.calendar-event {
  font-size: 11px; padding: 2px 4px; margin-bottom: 2px;
  background: var(--primary-100); color: var(--primary-700);
  border-radius: var(--radius-sm); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ---- API Test ---- */
.request-builder { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); }
.method-select { width: 100px; }
.url-input { flex: 1; }

.response-panel {
  background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden;
}
.response-status {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-color); background: var(--bg-hover);
}
.status-code { font-weight: var(--weight-bold); font-family: var(--font-mono); }
.status-code.success { color: var(--success-600); }
.status-code.error { color: var(--error-600); }
.response-body { padding: var(--space-4); max-height: 400px; overflow: auto; }

/* ---- Meeting ---- */
.meeting-sidebar { width: 320px; background: #1A1D2E; border-left: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; }
.meeting-sidebar-tabs {
  display: flex; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.meeting-sidebar-tab {
  flex: 1; padding: var(--space-3); text-align: center; color: rgba(255,255,255,0.5);
  cursor: pointer; font-size: var(--text-sm); transition: color var(--transition-fast);
}
.meeting-sidebar-tab.active { color: #fff; border-bottom: 2px solid var(--primary-500); }
.meeting-sidebar-body { flex: 1; overflow-y: auto; padding: var(--space-3); }

.meeting-participant-item {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2);
  border-radius: var(--radius-md); color: #fff;
}
.meeting-participant-item:hover { background: rgba(255,255,255,0.05); }

.meeting-chat-msg { padding: var(--space-2); font-size: var(--text-sm); }
.meeting-chat-msg-author { color: var(--primary-300); font-weight: var(--weight-medium); }
.meeting-chat-msg-text { color: rgba(255,255,255,0.8); margin-top: 2px; }
.meeting-chat-msg-time { font-size: var(--text-xs); color: rgba(255,255,255,0.4); }

.reaction-bar {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  display: flex; gap: var(--space-2); background: rgba(0,0,0,0.6); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
}
.reaction-item { font-size: 24px; cursor: pointer; transition: transform var(--transition-fast); }
.reaction-item:hover { transform: scale(1.3); }

/* ---- Notifications ---- */
.notification-filters {
  display: flex; gap: var(--space-2); padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-color);
}
.notification-filter-btn {
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  font-size: var(--text-sm); color: var(--text-tertiary); cursor: pointer;
  transition: all var(--transition-fast);
}
.notification-filter-btn:hover { background: var(--bg-hover); }
.notification-filter-btn.active { background: var(--primary-50); color: var(--primary-500); }

/* ---- Search ---- */
.search-page-input {
  width: 100%; max-width: 640px; margin: 0 auto var(--space-6);
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-4); background: var(--bg-surface);
  border: 2px solid var(--border-color); border-radius: var(--radius-xl);
  transition: border-color var(--transition-fast);
}
.search-page-input:focus-within { border-color: var(--primary-500); box-shadow: var(--shadow-focus); }
.search-page-input input {
  flex: 1; font-size: var(--text-md); background: none; outline: none;
  color: var(--text-primary); border: none;
}
.search-results-section { margin-bottom: var(--space-6); }
.search-results-section-title { font-size: var(--text-sm); font-weight: var(--weight-semibold);
  color: var(--text-tertiary); margin-bottom: var(--space-3); text-transform: uppercase; letter-spacing: 0.5px; }
.search-highlight { background: var(--warning-100); padding: 1px 3px; border-radius: 2px; }

/* ---- AI Assistant ---- */
.ai-chat { flex: 1; display: flex; flex-direction: column; }
.ai-messages { flex: 1; overflow-y: auto; padding: var(--space-4); }
.ai-message { margin-bottom: var(--space-4); }
.ai-message.user { display: flex; justify-content: flex-end; }
.ai-message.assistant { display: flex; justify-content: flex-start; }
.ai-message-bubble {
  max-width: 80%; padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg); font-size: var(--text-base); line-height: 1.6;
}
.ai-message.user .ai-message-bubble { background: var(--primary-500); color: #fff; border-top-right-radius: var(--radius-sm); }
.ai-message.assistant .ai-message-bubble { background: var(--bg-hover); color: var(--text-primary); border-top-left-radius: var(--radius-sm); }
.ai-message-bubble code { background: rgba(0,0,0,0.1); padding: 1px 4px; border-radius: 3px; font-family: var(--font-mono); }

.ai-quick-actions {
  display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border-color);
}
.ai-quick-btn {
  padding: var(--space-2) var(--space-3); background: var(--bg-surface);
  border: 1px solid var(--border-color); border-radius: var(--radius-full);
  font-size: var(--text-sm); color: var(--text-secondary); cursor: pointer;
  transition: all var(--transition-fast);
}
.ai-quick-btn:hover { border-color: var(--primary-500); color: var(--primary-500); background: var(--primary-50); }

.ai-source-ref {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: 1px 6px; background: var(--primary-50); color: var(--primary-600);
  border-radius: var(--radius-sm); font-size: var(--text-xs); cursor: pointer;
  margin: 0 2px;
}

/* ---- Settings ---- */
.settings-layout { display: flex; height: 100%; }
.settings-sidebar {
  width: 240px; border-right: 1px solid var(--border-color); padding: var(--space-4);
  overflow-y: auto;
}
.settings-content { flex: 1; overflow-y: auto; padding: var(--space-6); max-width: 680px; }
.settings-nav-item {
  display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md); font-size: var(--text-sm); color: var(--text-secondary);
  cursor: pointer; transition: all var(--transition-fast); margin-bottom: var(--space-1);
}
.settings-nav-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.settings-nav-item.active { background: var(--primary-50); color: var(--primary-500); font-weight: var(--weight-medium); }

.setting-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-3) 0; border-bottom: 1px solid var(--border-light);
}
.setting-info { flex: 1; }
.setting-title { font-weight: var(--weight-medium); margin-bottom: 2px; }
.setting-desc { font-size: var(--text-sm); color: var(--text-tertiary); }

.shortcut-table { width: 100%; }
.shortcut-table td { padding: var(--space-2) 0; border-bottom: 1px solid var(--border-light); }
.shortcut-key {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px;
  background: var(--gray-100); border: 1px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-family: var(--font-mono);
}

/* ---- Org Management ---- */
.org-header { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-6); border-bottom: 1px solid var(--border-color); }
.org-logo { width: 64px; height: 64px; border-radius: var(--radius-lg); background: var(--primary-50);
  display: flex; align-items: center; justify-content: center; font-size: 28px; }

.member-table { width: 100%; border-collapse: collapse; }
.member-table th { text-align: left; padding: var(--space-3); font-size: var(--text-sm);
  font-weight: var(--weight-semibold); color: var(--text-tertiary); border-bottom: 2px solid var(--border-color); }
.member-table td { padding: var(--space-3); border-bottom: 1px solid var(--border-light); }
.member-table tr:hover { background: var(--bg-hover); }

.role-badge { padding: 2px 8px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: var(--weight-medium); }
.role-badge.admin { background: var(--error-50); color: var(--error-600); }
.role-badge.manager { background: var(--warning-50); color: var(--warning-700); }
.role-badge.member { background: var(--gray-100); color: var(--gray-600); }

.audit-log-item {
  display: flex; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-light); font-size: var(--text-sm);
}
.audit-action { font-weight: var(--weight-medium); }
.audit-target { color: var(--primary-500); }
.audit-time { color: var(--text-quaternary); margin-left: auto; flex-shrink: 0; }

/* ---- Milestones ---- */
.milestone-timeline { position: relative; padding-left: var(--space-8); }
.milestone-timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: var(--border-color);
}
.milestone-item { position: relative; margin-bottom: var(--space-6); }
.milestone-dot {
  position: absolute; left: calc(-1 * var(--space-8) + 8px); top: 4px;
  width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--primary-500);
  background: var(--bg-surface); z-index: 1;
}
.milestone-dot.completed { background: var(--primary-500); }
.milestone-card { padding: var(--space-4); background: var(--bg-surface); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); }
.milestone-card-title { font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }
.milestone-date { font-size: var(--text-sm); color: var(--text-tertiary); }

/* ---- Meeting List / Calendar ---- */
.calendar-header { display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4); }
.calendar-nav { display: flex; align-items: center; gap: var(--space-3); }
.calendar-title { font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.calendar-day-header { text-align: center; padding: var(--space-2); font-size: var(--text-sm);
  font-weight: var(--weight-semibold); color: var(--text-tertiary); background: var(--bg-hover); }

/* ---- Profile Card ---- */
.profile-header {
  display: flex; flex-direction: column; align-items: center; padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
  color: #fff; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.profile-avatar { width: 96px; height: 96px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.3);
  margin-bottom: var(--space-4); overflow: hidden; }
.profile-name { font-size: var(--text-xl); font-weight: var(--weight-bold); }
.profile-title { font-size: var(--text-sm); opacity: 0.8; margin-top: var(--space-1); }
.profile-actions { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.profile-action-btn {
  padding: var(--space-2) var(--space-4); background: rgba(255,255,255,0.2);
  color: #fff; border-radius: var(--radius-full); font-size: var(--text-sm);
  cursor: pointer; transition: background var(--transition-fast); display: flex;
  align-items: center; gap: var(--space-2);
}
.profile-action-btn:hover { background: rgba(255,255,255,0.3); }
.profile-info-section { padding: var(--space-4); }
.profile-info-row { display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-2) 0; font-size: var(--text-sm); }
.profile-info-label { color: var(--text-tertiary); width: 80px; flex-shrink: 0; }
.profile-info-value { color: var(--text-primary); }
