/* Crea con BitPull: drafts (drafts.js). Same tokens as create.css, light and dark. */
.dr-badge { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #e7a40055; background: #e7a4001a; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; max-width: 40vw; overflow: hidden; text-overflow: ellipsis; }
.dr-badge:hover { background: #e7a40029; }
.dr-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dr-dot { width: 8px; height: 8px; border-radius: 50%; background: #e7a400; flex: none; display: inline-block; }
@media (max-width: 520px) { .dr-badge { padding: 0 9px; font-size: 12px; } }
.dr-title { display: flex; align-items: center; gap: 8px; margin: 12px 2px 0; font-size: 16px; }
.dr-h { margin: 22px 2px 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
.dr-files { display: grid; gap: 6px; }
.dr-file { width: 100%; border: 0; text-align: start; cursor: pointer; font: inherit; color: inherit; }
.dr-file:hover { background: var(--surface3); }
.dr-file.added code { color: var(--ok); }
.dr-file.removed code { color: var(--bad); text-decoration: line-through; }
.dr-diff { margin: 4px 0 8px; }
.dr-lines { margin: 0; max-height: 50vh; overflow: auto; padding: 8px 0; border-radius: 12px; background: var(--surface2); font: 12.5px/1.5 var(--mono); text-align: left; }
.dr-lines > span { display: block; padding: 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dr-lines > span > i { display: inline-block; width: 1.4em; font-style: normal; color: var(--faint); user-select: none; }
.dr-lines .dr-add { background: var(--ok-bg); }
.dr-lines .dr-add > i { color: var(--ok); }
.dr-lines .dr-del { background: var(--bad-bg); }
.dr-lines .dr-del > i { color: var(--bad); }
.dr-lines .dr-gap { color: var(--faint); font-style: italic; padding-block: 2px; }
.dr-new select { flex: 0 1 180px; }
.dr-made { margin: 10px 0; }
.dr-made input { font-family: var(--mono); font-size: 13px !important; }
.dr-link .link-btn { margin-inline-start: auto; flex: none; }
.dr-link span { min-width: 0; }
