/* W1 recurring task series (task-series-view.js / task-series-pages.js) on the Mihwar design system r51. Cards,
   chips, notes, .hist, .cmp and states come from the verbatim lifeos.css (W0); this file only arranges the series
   panel with those tokens. No new colors. */

.ts-panel, .ts-occurrence, .ts-series-card, .ts-form { min-width: 0; }
.ts-occurrences, .ts-series-list { display: flex; flex-direction: column; gap: 10px; }
.ts-occurrence.is-done .h3 { color: var(--ink-3); }
.ts-original { padding-top: 2px; }
.ts-pin { font-size: 12.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.ts-tools .select { flex: 1 1 220px; min-width: 0; }

/* weekday choices: the board's selectable chips, each a real checkbox */
.ts-weekdays { border: 0; padding: 0; margin: 0; min-width: 0; }
.ts-day { cursor: pointer; }
.ts-day input { margin: 0; accent-color: var(--accent); }
.ts-day:has(input:checked) { background: var(--accent-soft); color: var(--accent-soft-ink); border-color: transparent; }
.ts-form .ts-grid > .field[hidden] { display: none; }
.ts-form input, .ts-form select, .ts-form textarea { font-size: 16px; }

@media (max-width: 600px) {
  .ts-panel .btn, .ts-panel .chip-btn, .ts-panel summary, .ts-form .btn { min-block-size: 44px; }
  .ts-panel .btn-row .btn { flex: 1 1 auto; }
}
