/* Dispatch Board — Getting started checklist (top bar button, drawer) and the "Sample data is on" banner. js/start.js. */

/* Top bar button: a progress ring and "3/9". Colours follow currentColor so it reads on both wallpaper tones. */
.start-btn .start-ring {
  --pct: 0;
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: conic-gradient(var(--status-available) calc(var(--pct) * 1%), color-mix(in srgb, currentColor 24%, transparent) 0);
  -webkit-mask: radial-gradient(circle, transparent 5.2px, #000 5.7px);
          mask: radial-gradient(circle, transparent 5.2px, #000 5.7px);
}
.start-btn .start-count {
  font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 6px; border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent); font-variant-numeric: tabular-nums;
}

/* Banner under the toolbar while sample data is on. */
.sample-banner {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; padding: 9px 14px;
  border-radius: var(--radius); font-size: 13px; border: 1px dashed var(--status-risk);
  background: var(--status-risk-soft); color: var(--status-risk);
}
.sample-banner strong { text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--fs-sm); white-space: nowrap; }
.sample-banner .sample-text { flex: 1; min-width: 220px; color: var(--ink); }

/* Drawer */
.start-progress { margin: 4px 0 16px; }
.start-progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.start-progress-top span { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.start-bar { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.start-bar span { display: block; height: 100%; border-radius: inherit; background: var(--status-available); transition: width .3s ease; }
.start-done-note { margin: 0 0 14px; padding: 10px 12px; border-radius: var(--radius); background: var(--status-available-soft); color: var(--ink); font-size: 13px; }

.start-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.start-step { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.start-step:last-child { border-bottom: 0; }
.start-check {
  width: 24px; height: 24px; flex: none; margin-top: 1px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--border-strong); color: var(--ink-muted); font-size: var(--fs-sm); font-weight: 700;
}
.start-step.done .start-check { background: var(--status-available); border-color: var(--status-available); color: var(--surface); }
.start-step.locked .start-check { border-style: dashed; }
.start-body { flex: 1; min-width: 0; }
.start-title { font-weight: 600; font-size: var(--fs-lg); color: var(--ink); }
.start-step.done .start-title { color: var(--ink-muted); }
.start-tag { display: inline-block; margin-left: 6px; background: var(--surface-3); color: var(--ink-muted); vertical-align: 1px; }
.start-text { font-size: var(--fs-sm); color: var(--ink-muted); margin-top: 2px; }
.start-found { font-size: 12px; color: var(--status-available); margin-top: 3px; }
.start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 7px; }
.start-actions .start-how { font-size: var(--fs-sm); color: var(--accent); text-decoration: none; }
.start-actions .start-how:hover { text-decoration: underline; }

.start-sample { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); padding: 12px 14px; }
.start-sample p { margin: 0 0 10px; font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.start-sample p b { color: var(--ink); }
.start-sample .start-sample-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.start-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.start-footer .hint { flex: 1; min-width: 180px; font-size: 12px; color: var(--ink-faint); }
