/* Cron expression page. Colours come from tokens.css only. */
body.v2 .cx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.v2 .cx-tool { margin: 24px 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); }
body.v2 .cx-tool h2 { margin: 0 0 12px; }
body.v2 .cx-form { display: grid; gap: 16px; }
body.v2 .cx-form label, body.v2 .cx-presets-label { display: block; margin-bottom: 6px; color: var(--fg); font-size: 14px; font-weight: 600; }
body.v2 .cx-form input, body.v2 .cx-form select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border-control);
  border-radius: 8px;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.4 var(--font-sans);
}
body.v2 .cx-form input { font-family: var(--font-mono); font-size: 18px; }
body.v2 .cx-form input[aria-invalid="true"] { border-color: var(--down); }
body.v2 .cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.v2 .cx-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
body.v2 .cx-tool .btn { min-height: 44px; }
body.v2 .cx-hint { margin: 6px 0 0; color: var(--fg-muted); font-size: 14px; }
body.v2 .cx-err { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--down); background: var(--bg); color: var(--fg); font-size: 15px; }
body.v2 .cx-presets { margin-top: 20px; }
body.v2 .cx-presets .btn { font: 500 14px/1 var(--font-mono); }
body.v2 .cx-out { margin-top: 20px; }
body.v2 .cx-desc { margin: 0 0 12px; color: var(--fg); font-size: 18px; font-weight: 500; }
body.v2 .cx-notes, body.v2 .cx-trans { margin: 0 0 16px; padding-left: 20px; color: var(--fg-muted); }
body.v2 .cx-notes li, body.v2 .cx-trans li { margin: 4px 0; }
body.v2 .cx-warn { color: var(--fg); }
body.v2 .cx-sub { margin: 20px 0 8px; font-size: 16px; }
body.v2 .cx-muted { color: var(--fg-muted); font-size: 14px; }
body.v2 .guide-body .cx-out table { margin: 12px 0 16px; background: var(--bg); }
body.v2 .cx-out caption { padding: 0 0 8px; color: var(--fg-muted); font-size: 14px; text-align: left; caption-side: top; }
body.v2 .cx-runs td:nth-child(2) { color: var(--fg); white-space: nowrap; }
body.v2 .cx-runs td:nth-child(3) { white-space: nowrap; }
body.v2 .cx-badge { display: inline-block; padding: 1px 8px; border: 1px solid var(--late); border-radius: 999px; color: var(--fg); font-size: 13px; }
body.v2 .cx-catchup td { font-style: italic; }
body.v2 .cx-more { margin-top: 4px; }
body.v2 .guide-body .cx-presets-table code { white-space: nowrap; }
@media (max-width: 640px) {
  body.v2 .cx-tool { padding: 16px; }
  body.v2 .cx-grid { grid-template-columns: minmax(0, 1fr); }
  body.v2 .cx-runs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.v2 .cx-runs tr, body.v2 .cx-runs td { display: block; }
  body.v2 .cx-runs tr { padding: 10px 0; border-bottom: 1px solid var(--border); }
  body.v2 .guide-body .cx-runs td { padding: 2px 12px; border: 0; }
  body.v2 .cx-runs td::before { content: attr(data-label) ": "; color: var(--fg-muted); }
  body.v2 .cx-runs td:nth-child(2), body.v2 .cx-runs td:nth-child(3) { white-space: normal; }
}
