/*!
 * Developer Tools — what the six tools need beyond Public Tools' shared
 * styles (tools.css, loaded first). Plain CSS, dt- prefix.
 */
.dt-code { min-height: 14rem; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.dt-mt { margin-top: .6rem; }
.dt-gap { margin-top: 1rem; }

/* JSON: the line of input around an error, with a caret under it. */
.dt-json-snippet {
  margin-top: .5rem; padding: .5rem .65rem; border-radius: .4rem; background: #fff;
  border: 1px solid #fecaca; overflow-x: auto; display: flex; flex-direction: column;
}
/* .pt-ui in front beats a theme's own ".prose code" (not covered by not-prose). */
.pt-ui .dt-json-snippet code {
  font-family: var(--pt-mono, monospace); font-size: .8125rem; white-space: pre; color: #0f172a;
  background: none; padding: 0; border-radius: 0; font-weight: 400;
}
.pt-ui .dt-json-snippet .dt-json-caret { color: #dc2626; font-weight: 700; }
.dt-notes { list-style: disc; margin: .35rem 0 0 1.1rem; padding: 0; }
.dt-notes li { margin: .15rem 0; }

/* One-line results with their own copy button (encoders, timestamps). */
.dt-result { display: flex; align-items: center; gap: .5rem; }
.dt-result .pt-input { flex: 1 1 auto; }

/* UUID list and inspector. */
.dt-uuid-out { min-height: 12rem; font-size: .9rem; line-height: 1.65; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
@media (max-width: 640px) { .pt-ui .dt-uuid-out { font-size: .8125rem; } }

/* Timestamp: the live clock. */
.dt-now {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  padding: .85rem 1.1rem; border-radius: var(--pt-radius, .75rem);
  background: var(--pt-accent-soft, #eff6ff); border: 1px solid var(--pt-accent-line, #bfdbfe);
}
.dt-now__label { font-size: .8125rem; font-weight: 600; color: #1e3a8a; }
.dt-now__value { font-family: var(--pt-mono, monospace); font-size: 1.35rem; font-weight: 700; color: #0f172a; letter-spacing: .01em; font-variant-numeric: tabular-nums; }

/* Cron: the expression, large. */
.dt-cron-expr { font-family: var(--pt-mono, monospace); font-size: 1.15rem; letter-spacing: .04em; }
.dt-cron-say { font-size: 1.05rem; font-weight: 600; color: #0f172a; margin: .6rem 0 0; }
.dt-days { display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.dt-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dt-fieldset legend { padding: 0; margin-bottom: .35rem; font-size: .875rem; font-weight: 600; color: var(--pt-ink, #0f172a); }
.dt-runs { counter-reset: run; display: flex; flex-direction: column; gap: .3rem; font-family: var(--pt-mono, monospace); font-size: .875rem; }
.dt-runs li { display: flex; gap: .75rem; }
.dt-runs li::before { counter-increment: run; content: counter(run) "."; color: #94a3b8; min-width: 1.5rem; text-align: right; }

/* The article text under each tool. */
.dt-content { margin-top: .5rem; }
