/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0f0f14;
  --bg-card: #1a1a24;
  --bg-input: #12121a;
  --bg-hover: #222233;
  --border: #2a2a3a;
  --border-focus: #6366f1;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --text-dim: #555570;
  --primary: #6366f1;
  --primary-hover: #5558e6;
  --primary-glow: rgba(99, 102, 241, 0.15);
  --accent: #8b5cf6;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Crimson Pro', Georgia, serif;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ── */
.hidden { display: none !important; }

/* ── Screens ── */
.screen {
  min-height: 100vh;
}

/* ── Auth Screens ── */
.auth-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(ellipse at top, rgba(99,102,241,0.08) 0%, transparent 60%);
}

.auth-logo {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo-icon {
  margin-bottom: 1rem;
}

.auth-logo h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e8e8f0, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.auth-form {
  width: 100%;
  max-width: 380px;
}

.auth-info {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.auth-switch {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--primary);
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* ── Forms ── */
.input-group {
  margin-bottom: 1.25rem;
}

.input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input[type="text"],
input[type="password"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea {
  resize: vertical;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: white;
}

.btn-full {
  width: 100%;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.icon-btn:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.error-msg {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* ── Top Bar ── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(15,15,20,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-title {
  font-weight: 600;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #e8e8f0, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── Main Content ── */
.main-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ── New Entry ── */
.new-entry-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.new-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.new-entry-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
}

.date-input {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.85rem !important;
  width: auto !important;
  background: var(--bg-input);
  color-scheme: dark;
}

/* ── Mode Toggle ── */
.mode-toggle {
  display: flex;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 1rem;
  gap: 4px;
}

.mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mode-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

/* ── Voice Recording ── */
.voice-lang-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.voice-lang-picker .meta-label {
  margin-bottom: 0;
}

.voice-lang-picker select {
  width: auto !important;
  min-width: 120px;
}

.voice-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
}

.voice-visualizer {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.voice-rings {
  position: absolute;
  inset: 0;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  transition: all 0.3s;
}

.recording .ring {
  animation: pulse-ring 2s ease-out infinite;
}

.recording .ring-1 { animation-delay: 0s; }
.recording .ring-2 { animation-delay: 0.5s; }
.recording .ring-3 { animation-delay: 1s; }

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.record-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: var(--bg-card);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.record-btn:hover {
  background: var(--primary-glow);
  transform: scale(1.05);
}

.recording .record-btn {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}

.recording-status {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.recording .recording-status {
  color: var(--danger);
  font-weight: 500;
}

.recording-timer {
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  margin-top: 0.5rem;
}

.transcript-area {
  margin-top: 1rem;
  width: 100%;
}

.transcript-area label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Mood & Tags ── */
.entry-meta {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.meta-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mood-picker {
  flex: 0 0 auto;
}

.mood-options {
  display: flex;
  gap: 0.25rem;
}

.mood-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: var(--bg-input);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mood-btn:hover {
  border-color: var(--primary);
  transform: scale(1.1);
}

.mood-btn.active {
  border-color: var(--primary);
  background: var(--primary-glow);
  transform: scale(1.15);
}

/* ── Search ── */
.search-section {
  margin-bottom: 1.5rem;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1rem;
  transition: border-color 0.2s;
}

.search-bar:focus-within {
  border-color: var(--border-focus);
}

.search-bar svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-bar input {
  border: none !important;
  background: transparent !important;
  padding: 0.85rem 0 !important;
  box-shadow: none !important;
}

.filters {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-sep {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.filter-select {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.85rem !important;
  width: auto !important;
  min-width: 120px;
  cursor: pointer;
}

/* ── Entries ── */
.entries-section {
  padding-bottom: 3rem;
}

.entry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.entry-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99,102,241,0.1);
}

.entry-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.entry-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.entry-mood {
  font-size: 1.2rem;
}

.entry-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  background: var(--bg-input);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  margin-left: 0.5rem;
}

.entry-content {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
}

.entry-content.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mood-stat-badge {
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(139,92,246,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state p {
  margin-top: 1rem;
  font-size: 1rem;
}

/* ── Load More ── */
.load-more-container {
  text-align: center;
  padding: 1rem;
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal-body {
  padding: 1.5rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-actions .btn {
  flex: 1;
}

/* ── Stats ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.stat-section {
  margin-top: 1.5rem;
}

.stat-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.activity-bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding: 0.5rem 0;
}

.activity-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.activity-fill {
  width: 100%;
  background: linear-gradient(to top, var(--primary), var(--accent));
  border-radius: 4px 4px 0 0;
  min-height: 4px;
  transition: height 0.3s;
}

.activity-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  max-height: 50px;
  overflow: hidden;
}

/* ── Toast ── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  animation: toast-in 0.3s ease;
  max-width: 320px;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--danger); }
.toast.info { border-left: 3px solid var(--primary); }

.toast-out {
  animation: toast-out 0.3s ease forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .main-content {
    padding: 1rem;
  }

  .new-entry-section {
    padding: 1rem;
  }

  .new-entry-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .entry-meta {
    flex-direction: column;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group {
    flex-wrap: wrap;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-content {
    max-height: 95vh;
    border-radius: var(--radius);
  }

  .top-bar {
    padding: 0.6rem 1rem;
  }

  .toast-container {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    max-width: none;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

/* ── Loading ── */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Entry date group header */
.date-group-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1.5rem 0 0.5rem;
}

.date-group-header:first-child {
  padding-top: 0;
}

/* ── Tag Confirmation Modal ── */
.tag-confirm-info {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.tag-section {
  margin-bottom: 1.25rem;
}

.tag-section-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.tag-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  min-height: 1.5rem;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-chip.checked {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.tag-chip input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary);
}

.tag-add-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tag-add-input {
  flex: 1;
  padding: 0.4rem 0.75rem !important;
  font-size: 0.85rem !important;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

/* ── Tracker Modal ── */
.modal-content-lg {
  max-width: 640px;
}

.tracker-tabs {
  display: flex;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 1.25rem;
  gap: 4px;
}

.tracker-tab {
  flex: 1;
  padding: 0.6rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tracker-tab.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.tracker-tab:hover:not(.active) {
  color: var(--text);
}

.tracker-content {
  min-height: 200px;
}

.tracker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tracker-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.tracker-item-name {
  font-weight: 500;
}

.tracker-item-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
}

.tracker-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tracker-edit-count-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.tracker-edit-count-btn:hover {
  color: var(--primary);
}

.tracker-delete-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  transition: color 0.2s;
}

.tracker-delete-btn:hover {
  color: var(--danger);
}

.tracker-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* Entry tag chips on cards */
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.entry-tag-chip {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent);
}

.entry-tag-chip.type-people { color: #a78bfa; }
.entry-tag-chip.type-places { color: #34d399; background: rgba(52, 211, 153, 0.15); }
.entry-tag-chip.type-activities { color: #fbbf24; background: rgba(251, 191, 36, 0.15); }
.entry-tag-chip.type-events { color: #f87171; background: rgba(248, 113, 113, 0.15); }

/* ── Events (red accent) ── */
.tag-section-events .tag-section-title {
  color: #f87171;
}

.tag-chip-event.checked {
  background: rgba(248, 113, 113, 0.15);
  border-color: #ef4444;
  color: #f87171;
}

.tag-chip-ref {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

.tracker-item-event {
  border-left: 3px solid #ef4444;
}

.tracker-item-event:hover {
  border-color: #ef4444;
}

.tracker-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  cursor: pointer;
}

.tracker-item-ref {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
}

.tag-add-row .tag-add-input + .tag-add-input {
  flex: 0.8;
}

