/* Goals view (the long-term dashboard) — styles for web/focus.js only.
   Everything flows through the shared theme variables from styles.css,
   so the view follows the app's dark/light theme. All selectors are
   .fdash-prefixed to stay out of the shared stylesheet's namespace. */

.fdash { max-width: 1080px; margin: 0 auto; padding: 8px 4px 40px; }
.fdash-section { margin-top: 26px; }
.fdash-h { margin: 0 0 10px; font-size: 15px; letter-spacing: 0.02em; color: var(--ink); }
.fdash-card { padding: 6px 16px; }
.fdash-muted { color: var(--muted); font-size: 13.5px; }

/* North Stars */
.fdash-ns-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.fdash-ns-card { padding: 14px 16px; }
.fdash-ns-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.fdash-ns-head h3 { margin: 0; font-size: 15.5px; color: var(--ink); }
.fdash-milestone { margin-top: 8px; font-size: 13.5px; color: var(--ink); }
.fdash-due { color: var(--muted); }
.fdash-progress { margin-top: 12px; height: 6px; border-radius: 3px; background: var(--panel-3); overflow: hidden; }
.fdash-progress-bar { height: 100%; background: var(--accent); border-radius: 3px; }
.fdash-progress-label { margin-top: 6px; font-size: 12.5px; color: var(--muted); }

/* Chips */
.fdash-chip { flex: none; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.fdash-chip-warn { background: var(--warn-soft); color: var(--warn); }
.fdash-chip-why { background: var(--accent-soft); color: var(--accent-ink); }

/* Now */
.fdash-now-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.fdash-now-item:last-child { border-bottom: none; }
.fdash-now-title { font-size: 14.5px; color: var(--ink); }

/* Accountability loops */
.fdash-loop-group { padding: 10px 0 6px; }
.fdash-loop-group h4 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.fdash-loop-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.fdash-loop-row:last-child { border-bottom: none; }
.fdash-loop-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fdash-loop-who { font-weight: 600; font-size: 14px; color: var(--ink); }
.fdash-loop-summary { font-size: 13.5px; color: var(--ink); }
.fdash-loop-meta { font-size: 12.5px; color: var(--muted); }
.fdash-loop-overdue .fdash-loop-meta { color: var(--danger); font-weight: 600; }
.fdash-loop-actions { flex: none; display: flex; gap: 4px; }

/* Top 10 */
.fdash-top10-row { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.fdash-top10-row:last-child { border-bottom: none; }
.fdash-top10-rank { flex: none; width: 20px; text-align: right; font-weight: 700; color: var(--faint); }
.fdash-top10-title { font-size: 14.5px; color: var(--ink); }
.fdash-top10-reason { font-size: 12.5px; color: var(--muted); }

/* Aging strip */
.fdash-aging { margin-top: 26px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--muted); font-size: 13.5px; }
