/* Automation (web/scheduler.js): the status card, the tasks, the journal, and the line on Today */
.au-card { background: var(--surface); border-radius: var(--r-group); padding: 16px; margin: 4px 0 6px; box-shadow: inset 0 0 0 1px var(--line); }
.au-card.problems { box-shadow: inset 0 0 0 1.5px var(--amber); }
.au-card.paused, .au-card.off, .au-card.idle { box-shadow: inset 0 0 0 1px var(--line); }
.au-head { display: flex; align-items: center; gap: 10px; }
.au-head .sig { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.au-head .sig::before { width: 11px; height: 11px; }
.au-next { margin: 10px 0 0; font-size: 16px; color: var(--ink); }
.au-next small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13.5px; }
.au-beat { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13.5px; color: var(--ink-3); }
.au-beat.ok svg { color: var(--moss); }
.au-beat.bad { color: var(--brick); }
.au-actions { margin-top: 14px; flex-wrap: wrap; gap: 8px; }
.au-days .chip { min-width: 52px; justify-content: center; }
.au-task { align-items: flex-start; }
.au-task.off { opacity: .65; }
.au-task label b { display: block; font-weight: 600; }
.au-task .au-sub { color: var(--ink-2); }
.au-task .au-last { margin-top: 4px; display: flex; gap: 8px; align-items: center; }
.au-task .au-last .when, .au-row .when { color: var(--ink-3); font-weight: 400; margin-left: 8px; font-size: 13px; }
.au-ctl { display: flex; align-items: center; gap: 10px; flex: none; padding-top: 2px; }
.au-row { display: flex; align-items: center; gap: 8px; }
.au-row .body { flex: 1; min-width: 0; }
.au-row .t { display: flex; align-items: baseline; flex-wrap: wrap; }
.au-row .s { white-space: normal; }
.au-row .au-why { color: var(--ink-2); margin-top: 2px; font-size: 13.5px; }
.au-more { margin-top: 18px; }
.au-more summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 4px; list-style-position: inside; }
.au-more .group { margin-top: 6px; }
.form-row .inp[type="number"] { text-align: right; }
.au-today { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 12px; padding: 8px 12px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; width: fit-content; max-width: 100%; }
.au-today.problems { box-shadow: inset 0 0 0 1.5px var(--amber); }
.au-today small { color: var(--ink-3); font-size: 13px; }
@media (max-width: 520px) {
  .au-task { flex-wrap: wrap; }
  .au-ctl { width: 100%; justify-content: flex-end; }
  .form-row #au-off, .form-row #au-times { max-width: 100%; }
}
.au .form-row.stack > .lbl { flex: none; }
