/* ─── Navigation ─── */
.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.3s ease both;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--pink), var(--voice-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.78rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--dim);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover {
  color: var(--text);
  background: var(--card);
  border-color: var(--border);
}

.nav-link.active {
  color: var(--pink);
  background: var(--pink-dim);
  border-color: var(--pink-dim);
  font-weight: 600;
}

.nav-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--pink);
  color: var(--bg-deep);
  padding: 0.05rem 0.35rem;
  border-radius: 8px;
  min-width: 1.1rem;
  text-align: center;
}

.nav-link.active .nav-badge {
  background: var(--bg-deep);
  color: var(--pink);
}

/* ─── Mode switcher ─── */
.mode-switcher {
  display: flex;
  gap: 0.2rem;
  margin-left: auto;
  flex-shrink: 0;
}

.mode-btn {
  font-size: 0.68rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dimmer);
  transition: all 0.2s;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mode-btn:hover {
  color: var(--text);
  border-color: var(--pink-dim);
}

.mode-btn.active {
  border-color: var(--mode-personal);
  color: var(--mode-personal);
  background: rgba(255, 107, 157, 0.1);
}

.mode-btn.active[data-mode="arebladet"] {
  border-color: var(--mode-arebladet);
  color: var(--mode-arebladet);
  background: rgba(100, 181, 246, 0.1);
}

.mode-btn.active[data-mode="parception"] {
  border-color: var(--mode-parception);
  color: var(--mode-parception);
  background: rgba(179, 136, 255, 0.1);
}

/* ─── Stats bar ─── */
.stats-bar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: fadeUp 0.4s ease both;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  transition: border-color 0.2s;
}

.stat:hover { border-color: var(--pink-dim); }

.stat .num {
  font-weight: 700;
  font-size: 1rem;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}

.stat .label { color: var(--dim); }
.stat.today .num { color: var(--success); }
.stat.warn .num { color: var(--warning); }
.stat.danger .num { color: var(--danger); }

/* ─── Right Now — single-focus hero view ─── */
.focus-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  animation: fadeUp 0.35s ease both;
}

/* Queue dots */
.focus-queue {
  display: flex;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.focus-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dimmer);
  transition: all 0.3s;
}

.focus-dot.active {
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink-glow);
  transform: scale(1.3);
}

/* The directive */
.focus-directive {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dimmer);
  margin-bottom: 1rem;
}

/* Main card */
.focus-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--pink-dim);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  animation: fadeUp 0.4s ease both;
  transition: opacity 0.3s, transform 0.3s;
}

/* Context line */
.focus-context {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.focus-project {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.focus-project-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.focus-cat {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--dim);
  background: var(--bg-deep);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* The actual text — big and readable */
.focus-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Dates */
.focus-dates {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.focus-date {
  font-size: 0.72rem;
  color: var(--dim);
  background: var(--bg-deep);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.focus-date.overdue {
  color: var(--danger);
  background: #ff555515;
}

.focus-date.past {
  color: var(--warning);
  background: #ffb86b15;
}

.focus-date.today {
  color: var(--success);
  background: #6bffa815;
}

/* AI reason */
.focus-reason {
  font-size: 0.75rem;
  color: var(--dim);
  font-style: italic;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.focus-reason::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--voice-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Action buttons — big and tactile */
.focus-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  width: 100%;
}

.focus-btn {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.focus-btn-icon {
  font-size: 1rem;
}

.focus-btn-done {
  background: var(--pink);
  color: var(--bg-deep);
  border-color: var(--pink);
  flex: 1.5;
}

.focus-btn-done:hover {
  background: var(--hot);
  border-color: var(--hot);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--pink-glow);
}

.focus-btn-snooze:hover {
  color: var(--text);
  border-color: var(--pink-dim);
  background: var(--card-hover);
}

.focus-btn-skip:hover {
  color: var(--text);
  border-color: var(--pink-dim);
  background: var(--card-hover);
}

/* Remaining count */
.focus-remaining {
  font-size: 0.68rem;
  color: var(--dimmer);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* Clear state */
.focus-clear {
  text-align: center;
  padding: 4rem 1rem;
  animation: fadeUp 0.4s ease both;
}

.focus-clear-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success);
  color: var(--bg-deep);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 0 30px rgba(107, 255, 168, 0.2);
}

.focus-clear-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.focus-clear-sub {
  font-size: 0.82rem;
  color: var(--dim);
}

/* ─── Pulse / Project grid ─── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.7rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  animation: fadeUp 0.35s ease both;
}

.project-card:hover {
  border-color: var(--pink-dim);
  transform: translateY(-1px);
}

.project-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.project-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.project-card-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.project-card-status {
  font-size: 0.65rem;
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Health indicators */
.health-active { color: var(--success); }
.health-slowing { color: var(--warning); }
.health-stale { color: var(--danger); }

.project-card-stats {
  font-size: 0.72rem;
  color: var(--dimmer);
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.project-card-stats .num {
  font-weight: 700;
  color: var(--dim);
}

/* Sparkline */
.sparkline {
  height: 24px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-top: 0.4rem;
}

.sparkline-bar {
  flex: 1;
  background: var(--pink);
  border-radius: 1px;
  min-height: 2px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.sparkline-bar:last-child {
  opacity: 1;
}

.project-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.project-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s;
}

/* ─── Arc view ─── */
.arc-narrative {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.4rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  animation: fadeUp 0.35s ease both;
}

.arc-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--dimmer);
}

.arc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.arc-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem;
  text-align: center;
  animation: fadeUp 0.3s ease both;
}

.arc-stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pink);
  font-variant-numeric: tabular-nums;
}

.arc-stat-label {
  font-size: 0.68rem;
  color: var(--dim);
  margin-top: 0.15rem;
}

/* ─── Settings view ─── */
.settings-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.3s ease both;
}

.settings-section h3 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.settings-section p {
  font-size: 0.78rem;
  color: var(--dim);
  line-height: 1.5;
}

/* ─── Expanded project items ─── */
.project-items-panel {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem;
  margin-top: 0.5rem;
  animation: fadeUp 0.2s ease both;
}

.project-items-panel .item-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  border-bottom: 1px solid var(--border);
}

.project-items-panel .item-row:last-child {
  border-bottom: none;
}

/* ─── Årebladet — Countdown strip ─── */
.countdown-strip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
  cursor: pointer;
  font-size: 0.78rem;
  transition: all 0.2s;
  animation: fadeUp 0.35s ease both;
  border: 1px solid var(--border);
  background: var(--card);
}

.countdown-strip:hover {
  border-color: var(--mode-arebladet);
  transform: translateY(-1px);
}

.countdown-ok { border-left: 3px solid var(--success); }
.countdown-soon { border-left: 3px solid var(--mode-arebladet); }
.countdown-urgent { border-left: 3px solid var(--warning); }
.countdown-overdue { border-left: 3px solid var(--danger); background: #ff555508; }

.countdown-label {
  font-weight: 700;
  color: var(--text);
}

.countdown-days {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.countdown-ok .countdown-days { color: var(--success); }
.countdown-soon .countdown-days { color: var(--mode-arebladet); }
.countdown-urgent .countdown-days { color: var(--warning); }
.countdown-overdue .countdown-days { color: var(--danger); }

.countdown-stories {
  color: var(--dim);
  font-size: 0.72rem;
}

.countdown-status {
  margin-left: auto;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dimmer);
  font-weight: 600;
}

/* ─── Årebladet — Issue grid ─── */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.7rem;
}

.issue-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  animation: fadeUp 0.35s ease both;
}

.issue-card:hover {
  border-color: var(--mode-arebladet);
  transform: translateY(-1px);
}

.issue-card.issue-overdue { border-left: 3px solid var(--danger); }
.issue-card.issue-urgent { border-left: 3px solid var(--warning); }
.issue-card.issue-soon { border-left: 3px solid var(--mode-arebladet); }
.issue-card.issue-ok { border-left: 3px solid var(--success); }

.issue-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.issue-number {
  font-weight: 800;
  font-size: 1rem;
  color: var(--mode-arebladet);
}

.issue-countdown {
  font-weight: 700;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.issue-countdown.issue-ok { color: var(--success); }
.issue-countdown.issue-soon { color: var(--mode-arebladet); }
.issue-countdown.issue-urgent { color: var(--warning); }
.issue-countdown.issue-overdue { color: var(--danger); }

.issue-status-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: var(--bg-deep);
  color: var(--dim);
}

.issue-status-planning { color: var(--dimmer); }
.issue-status-writing { color: var(--mode-arebladet); background: rgba(100, 181, 246, 0.1); }
.issue-status-layout { color: var(--warning); background: rgba(255, 184, 107, 0.1); }
.issue-status-print-ready { color: var(--success); background: rgba(107, 255, 168, 0.1); }
.issue-status-published { color: var(--dim); background: var(--bg-deep); }

.issue-dates {
  display: flex;
  gap: 0.8rem;
  font-size: 0.72rem;
  color: var(--dim);
  margin-bottom: 0.6rem;
}

/* ─── Slot pips ─── */
.issue-slots { margin-bottom: 0.5rem; }

.issue-slots-bar {
  display: flex;
  gap: 3px;
  margin-bottom: 0.25rem;
}

.slot-pip {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  transition: all 0.2s;
}

.slot-pip.empty { background: var(--border); }
.slot-pip.planned { background: var(--dim); }
.slot-pip.confirmed { background: var(--mode-arebladet); }
.slot-pip.draft { background: var(--warning); }
.slot-pip.ready { background: var(--success); }

.issue-slots-label {
  font-size: 0.65rem;
  color: var(--dimmer);
}

/* ─── Progress steps ─── */
.issue-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.5rem;
}

.progress-step {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.2s;
  flex-shrink: 0;
}

.progress-step.done {
  background: var(--mode-arebladet);
  box-shadow: 0 0 6px rgba(100, 181, 246, 0.3);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: all 0.2s;
}

.progress-line.done {
  background: var(--mode-arebladet);
}

.issue-checklist-summary {
  font-size: 0.68rem;
  color: var(--dimmer);
}

/* ─── Issue detail ─── */
.issue-detail-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.issue-detail-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--dim);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.issue-detail-meta strong {
  color: var(--text);
}

/* ─── Story rows ─── */
.story-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.story-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
  transition: border-color 0.2s;
}

.story-row:hover {
  border-color: var(--mode-arebladet);
}

.story-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.story-id {
  font-weight: 600;
  color: var(--text);
}

.story-status-select {
  font-size: 0.72rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  font-family: inherit;
  cursor: pointer;
  margin-left: auto;
}

.story-status-select:focus {
  outline: none;
  border-color: var(--mode-arebladet);
}

/* ─── Checklist rows ─── */
.checklist-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.checklist-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.78rem;
  border-radius: 4px;
  transition: background 0.15s;
}

.checklist-row:hover {
  background: var(--card);
}

.checklist-label {
  color: var(--text);
}

.checklist-label.checked {
  color: var(--dimmer);
  text-decoration: line-through;
}

/* ─── Issue notes ─── */
.issue-notes {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s;
  white-space: pre-wrap;
  min-height: 2rem;
}

.issue-notes:hover {
  border-color: var(--mode-arebladet);
}

.text-edit-area {
  background: var(--bg-deep);
  border: 1px solid var(--mode-arebladet);
  color: var(--text);
  font-size: 0.82rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-family: inherit;
  line-height: 1.6;
  resize: vertical;
}

.text-edit-area:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.2);
}

/* ─── Pärception — Pipeline kanban ─── */
.pipeline-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  min-height: 200px;
}

.pipeline-column {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
}

.pipeline-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0.4rem;
  margin-bottom: 0.5rem;
}

.pipeline-stage-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dim);
}

.pipeline-stage-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mode-parception);
  background: rgba(179, 136, 255, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  min-width: 1rem;
  text-align: center;
}

.pipeline-column-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 60px;
  border-radius: 6px;
  transition: background 0.15s;
}

.pipeline-column-body.drag-over {
  background: rgba(179, 136, 255, 0.08);
  outline: 2px dashed var(--mode-parception);
  outline-offset: -2px;
}

.pipeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  animation: fadeUp 0.3s ease both;
}

.pipeline-card:hover {
  border-color: var(--mode-parception);
  transform: translateY(-1px);
}

.pipeline-card.stale {
  border-left: 3px solid var(--warning);
}

.pipeline-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.pipeline-card-company {
  font-size: 0.68rem;
  color: var(--dim);
  margin-bottom: 0.3rem;
}

.pipeline-card-meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.65rem;
  color: var(--dimmer);
}

.pipeline-empty {
  font-size: 0.72rem;
  color: var(--dimmer);
  font-style: italic;
  text-align: center;
  padding: 1.5rem 0;
}

/* ─── Client detail ─── */
.client-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.client-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.client-company {
  font-size: 0.85rem;
  color: var(--dim);
  margin-bottom: 0.5rem;
}

.client-status {
  display: inline-block;
}

.client-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
}

.client-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.client-detail {
  font-size: 0.78rem;
  color: var(--text);
}

.client-detail-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dimmer);
  margin-right: 0.3rem;
}

/* ─── Touchpoints ─── */
.touchpoint-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.touchpoint-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  transition: background 0.15s;
}

.touchpoint-row:hover {
  background: var(--card);
}

.touchpoint-icon {
  font-size: 0.82rem;
  color: var(--mode-parception);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.touchpoint-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.touchpoint-note {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
}

.touchpoint-date {
  font-size: 0.65rem;
  color: var(--dimmer);
}

/* ─── Footer ─── */
.site-footer {
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.72rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--dimmer);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--pink);
}

/* ─── Mobile adjustments ─── */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 0.2rem;
  }

  .nav-brand {
    width: 100%;
    margin-bottom: 0.3rem;
    margin-right: 0;
  }

  .nav-link {
    font-size: 0.72rem;
    padding: 0.3rem 0.5rem;
  }

  .mode-switcher {
    width: 100%;
    margin-left: 0;
    margin-top: 0.3rem;
  }

  .focus-card {
    padding: 1.2rem 1.2rem;
    border-radius: 10px;
  }

  .focus-text {
    font-size: 1rem;
  }

  .focus-actions {
    flex-direction: column;
    gap: 0.4rem;
  }

  .focus-btn-done {
    flex: unset;
  }

  .issue-grid {
    grid-template-columns: 1fr;
  }

  .countdown-strip {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .countdown-status {
    margin-left: 0;
    width: 100%;
  }

  .issue-detail-meta {
    flex-direction: column;
    gap: 0.4rem;
  }

  .pipeline-kanban {
    grid-template-columns: 1fr;
  }

  .pipeline-column-body {
    min-height: 40px;
  }
}
