.borrador-screen { position: fixed; inset: 0; background: #f6f6f6; display: flex; flex-direction: column; z-index: 100; }
.borrador-screen.hidden { display: none; }
.borrador-header { display: flex; align-items: center; gap: 1rem; padding: 0.5rem 1rem; background: #fff; border-bottom: 1px solid #ddd; }
.borrador-header h2 { flex: 1; font-size: 1rem; margin: 0; }
.borrador-meta { display: flex; gap: 0.5rem; align-items: center; }
.borrador-toolbar { display: flex; gap: 0.25rem; padding: 0.5rem 1rem; background: #fafafa; border-bottom: 1px solid #ddd; position: sticky; top: 0; z-index: 10; }
.borrador-toolbar button { padding: 0.25rem 0.5rem; border: 1px solid transparent; background: transparent; cursor: pointer; border-radius: 3px; min-width: 28px; }
.borrador-toolbar button:hover { background: #e8e8e8; }
.borrador-toolbar button.is-active { background: #e0e0e0; border-color: #aaa; }
.borrador-toolbar .sep { color: #aaa; margin: 0 0.25rem; }
.borrador-editor-wrapper { flex: 1; overflow-y: auto; padding: 2rem 1rem; }
.borrador-editor { max-width: 800px; margin: 0 auto 1rem; padding: 2rem; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.05); min-height: 400px; }
.borrador-editor .ProseMirror { outline: none; min-height: 350px; }
.borrador-editor .ProseMirror p { margin: 0 0 0.75em 0; }
.borrador-section { max-width: 800px; margin: 0 auto 1rem; padding: 1rem 1.5rem; background: #fff; border-radius: 4px; box-shadow: 0 0 10px rgba(0,0,0,0.05); }
.borrador-section h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 0.95rem; }
.borrador-section ul { margin: 0; padding-left: 1.5rem; }
.borrador-section li { margin-bottom: 0.25rem; }
.borrador-footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: #fff; border-top: 1px solid #ddd; }
.borrador-footer .muted { color: #888; font-size: 0.85rem; }
.borrador-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; }
.borrador-modal.hidden { display: none; }
.borrador-modal-content { background: #fff; padding: 2rem; border-radius: 6px; min-width: 400px; max-width: 500px; }
.borrador-modal-content h3 { margin-top: 0; }
.borrador-modal-actions { display: flex; gap: 1rem; margin-top: 1rem; }
.borrador-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.8rem; background: #eef4ff; color: #1d4ed8; margin-top: 0.4rem; cursor: pointer; }
.borrador-chip:hover { background: #dde9ff; }
.borrador-chip-aprobado { background: #ecfdf5; color: #047857; }
.borrador-chip-presentado { background: #f3f4f6; color: #4b5563; }
.borrador-chip-sin-accion { background: #f3f4f6; color: #6b7280; font-style: italic; }
.dashboard-borradores-card { background: linear-gradient(135deg, #eef4ff 0%, #ddeafe 100%); }
