/* Styles only this tool needs. Keep the shared look in kit/kit.css. */

/* Dark mode uses the brighter orange (accentDark in site.json); white text on it is too faint, so the badge and the
   Send button get dark text there. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --accent-ink: #1d1006; }
}
:root[data-theme="dark"] { --accent-ink: #1d1006; }

/* Phone: the kit cuts the title to one line ("User-prompt b…"); let it wrap so the full name shows. */
@media (max-width: 520px) {
  .k-title { white-space: normal; font-size: 18px; line-height: 1.2; }
}

/* The explain way: "Without it" / "With it" example blocks (main.js). The added lines are highlighted. */
.t1-example { margin: 8px 0; }
.t1-example + .t1-example { margin-top: 6px; }
.t1-with { border: 2px solid var(--accent); }
.t1-added { display: inline; background: rgba(224, 116, 43, 0.28); box-shadow: 0 0 0 2px rgba(224, 116, 43, 0.28); border-radius: 3px; color: #fff; }
.t1-legend { font-weight: 600; color: #f0b48a; }
