Chargement...
';
+ document.getElementById('version-preview').style.display = 'none';
+ document.getElementById('version-actions').style.display = 'none';
+ document.getElementById('version-panel').classList.add('open');
+
+ try {
+ const r = await fetch('/api/archives');
+ const data = await r.json();
+ versionList = data.list || [];
+ renderArchiveList();
+ } catch (e) {
+ document.getElementById('version-list').innerHTML = 'Aucune fiche supprimée.
';
+ return;
+ }
+ container.innerHTML = '';
+ for (const v of versionList) {
+ const div = document.createElement('div');
+ div.className = 'version-item';
+ div.dataset.id = v.Id;
+ const date = new Date(v.CreatedAt);
+ const dateStr = date.toLocaleDateString('fr-FR', { day: 'numeric', month: 'long', year: 'numeric', hour: '2-digit', minute: '2-digit' });
+ let title = '', preview = '';
+ try {
+ const snap = JSON.parse(v.Snapshot);
+ title = snap.Title || snap.Titre || 'Sans titre';
+ preview = [snap.Acte, snap['Résumé']].filter(Boolean).join(' — ');
+ } catch (e) { title = 'Fiche'; }
+ div.innerHTML = `${title.replace(/` +
+ (preview ? `
${preview.replace(/` : '');
+ div.onclick = () => selectArchive(v.Id);
+ container.appendChild(div);
+ }
+}
+
+function selectArchive(id) {
+ selectedVersionId = id;
+ versionType = 'archive';
+ document.querySelectorAll('.version-item').forEach(el => el.classList.toggle('selected', Number(el.dataset.id) === id));
+ const v = versionList.find(x => x.Id === id);
+ if (!v) return;
+ try {
+ const snap = JSON.parse(v.Snapshot);
+ const content = document.getElementById('version-preview-content');
+ const parts = [];
+ if (snap.Title) parts.push(`
${snap.Title.replace(/`);
+ if (snap.Acte) parts.push(`${snap.Acte}`);
+ if (snap.Personnage) parts.push('Personnages : ' + snap.Personnage.replace(/Intérêt : ' + snap['Intérêt narratif'].replace(/Tags : ' + snap.Tags.replace(/');
+ if (snap.Notes) parts.push('
Notes : ' + snap.Notes.replace(/');
+ document.getElementById('version-preview').style.display = '';
+ document.getElementById('version-actions').style.display = '';
+ } catch (e) {
+ document.getElementById('version-preview').style.display = 'none';
+ }
+}
+
+// Close popup on version panel click outside
+document.addEventListener('click', (e) => {
+ const panel = document.getElementById('version-panel');
+ if (panel.classList.contains('open') && !panel.contains(e.target) && !e.target.closest('.btn-history')) {
+ closeVersionPanel();
+ }
+});
diff --git a/public/index.html b/public/index.html
index 497e075..c5a025d 100644
--- a/public/index.html
+++ b/public/index.html
@@ -39,523 +39,7 @@ window.TiptapStarterKit = StarterKit;
window.TiptapComment = Comment;
window.dispatchEvent(new Event('tiptap-loaded'));
-
+
@@ -877,2419 +361,7 @@ window.dispatchEvent(new Event('tiptap-loaded'));
-
+
diff --git a/public/styles.css b/public/styles.css
new file mode 100644
index 0000000..af8030e
--- /dev/null
+++ b/public/styles.css
@@ -0,0 +1,515 @@
+ * { margin: 0; padding: 0; box-sizing: border-box; }
+
+ /* ── Light theme (default) ── */
+ :root {
+ --bg: #e8e0d4;
+ --bg-alt: #ddd5c8;
+ --bg-card: #f0e9de;
+ --bg-input: #e8e0d4;
+ --border: #cdc0b0;
+ --border-light: #ddd6ca;
+ --text: #2c1810;
+ --text-muted: #6e5d4e;
+ --text-hint: #8a7562;
+ --text-light: #a89888;
+ --accent: #7a6050;
+ --accent-hover: #5c3d2e;
+ --brown: #5c3d2e;
+ --terra: #b85c3a;
+ --olive: #6a7a42;
+ --blue-grey: #6a7a8a;
+ --plum: #8a6a8a;
+ --shadow: rgba(92,61,46,0.10);
+ --shadow-hover: rgba(92,61,46,0.18);
+ --overlay: rgba(44,24,16,0.5);
+ }
+
+ /* ── Dark theme ── */
+ .dark {
+ --bg: #1a1614;
+ --bg-alt: #231f1c;
+ --bg-card: #2a2420;
+ --bg-input: #1a1614;
+ --border: #3d3530;
+ --border-light: #332c27;
+ --text: #e8ddd0;
+ --text-muted: #a09080;
+ --text-hint: #807060;
+ --text-light: #5a4e44;
+ --accent: #c4a882;
+ --accent-hover: #e0c8a8;
+ --brown: #c4a882;
+ --terra: #d4845a;
+ --olive: #8aaa5a;
+ --blue-grey: #8a9aaa;
+ --plum: #aa8aaa;
+ --shadow: rgba(0,0,0,0.2);
+ --shadow-hover: rgba(0,0,0,0.35);
+ --overlay: rgba(0,0,0,0.6);
+ }
+
+ body { font-family: 'Lora', Georgia, serif; background: var(--bg); color: var(--text); min-height: 100vh; transition: background 0.3s, color 0.3s; }
+
+ /* Layout */
+ .app { display: flex; min-height: 100vh; }
+
+ /* Sidebar */
+ .sidebar { width: 220px; background: var(--bg-alt); border-right: 1px solid var(--border); padding: 24px 0; flex-shrink: 0; display: flex; flex-direction: column; }
+ .sidebar-logo { padding: 0 22px 20px; font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--brown); }
+ .sidebar-project { padding: 12px 16px; margin: 0 14px 18px; background: var(--bg-card); border-radius: 10px; font-size: 16px; color: var(--brown); border: 1px solid var(--border); }
+ .nav-item { padding: 12px 18px; margin: 2px 14px; border-radius: 10px; font-size: 17px; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 10px; }
+ .nav-item:hover { background: var(--border); color: var(--text); }
+ .nav-item.active { background: var(--border); color: var(--text); font-weight: 500; }
+ .nav-icon { width: 34px; height: 34px; background: var(--border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
+ .nav-icon svg { width: 16px; height: 16px; stroke: var(--text-muted); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
+ .nav-item.active .nav-icon svg { stroke: var(--text); }
+ .nav-icon svg.fill-icon { fill: var(--text-muted); stroke: none; }
+ .nav-item.active .nav-icon svg.fill-icon { fill: var(--text); }
+ .nav-item.active .nav-icon .frise-dot { fill: var(--text); }
+ .sidebar-footer { margin-top: auto; padding: 16px 22px; font-size: 13px; color: var(--text-hint); }
+
+ /* Main */
+ .main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
+
+ /* Topbar */
+ .topbar { height: 58px; background: var(--bg-card); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 28px; flex-shrink: 0; }
+ .topbar-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 600; }
+ .topbar-right { display: flex; align-items: center; gap: 14px; }
+ .btn-new { padding: 10px 22px; background: var(--accent); color: var(--bg); border: none; border-radius: 8px; font-size: 16px; font-weight: 600; font-family: 'Lora', serif; cursor: pointer; }
+ .btn-new:hover { background: var(--accent-hover); }
+ .dark-toggle { width: 36px; height: 20px; background: var(--border); border-radius: 10px; position: relative; cursor: pointer; border: none; flex-shrink: 0; }
+ .dark-toggle::after { content: '☀'; font-size: 12px; position: absolute; top: 2px; left: 3px; width: 16px; height: 16px; background: var(--bg-card); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: left 0.2s; }
+ .dark .dark-toggle::after { content: '☾'; left: 17px; }
+ .avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; }
+ .avatar.e { background: #5c3d2e; }
+ .avatar.m { background: #b85c3a; }
+
+ /* ── Filter bar ── */
+ .filter-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 10px 28px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
+ .filter-bar select, .filter-bar input { padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: 'Lora', serif; color: var(--text); background: var(--bg-input); outline: none; }
+ .filter-bar select:focus, .filter-bar input:focus { border-color: var(--accent); }
+ .filter-bar label { font-size: 12px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
+ .filter-group { display: flex; align-items: center; gap: 6px; }
+ .btn-clear-filters { padding: 6px 14px; background: transparent; border: 1px solid var(--border); border-radius: 8px; font-size: 12px; font-family: 'Lora', serif; color: var(--text-muted); cursor: pointer; }
+ .btn-clear-filters:hover { background: var(--border); color: var(--text); }
+ .card.filtered-out { display: none; }
+
+ /* ── Frise container ── */
+ .frise-wrapper { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
+
+ /* Timeline area */
+ .timeline-area { flex: 1; overflow-x: auto; overflow-y: auto; padding: 20px 24px 12px; position: relative; }
+
+ /* Acte markers row */
+ .acte-markers { display: flex; gap: 0; min-width: min-content; margin-bottom: 0; position: relative; }
+ .acte-section { min-width: 200px; flex-shrink: 0; position: relative; }
+ .acte-header { text-align: center; padding-bottom: 12px; }
+ .acte-label { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
+ .acte-section[data-acte="Prologue"] .acte-label { color: var(--blue-grey); }
+ .acte-section[data-acte="Acte 1"] .acte-label { color: var(--brown); }
+ .acte-section[data-acte="Acte 2"] .acte-label { color: var(--terra); }
+ .acte-section[data-acte="Acte 3"] .acte-label { color: var(--olive); }
+ .acte-section[data-acte="Épilogue"] .acte-label { color: var(--plum); }
+
+ /* Timeline line */
+ .timeline-line { height: 3px; background: var(--border); display: flex; min-width: min-content; border-radius: 2px; }
+ .timeline-segment { flex-shrink: 0; height: 3px; }
+ .acte-section[data-acte="Prologue"] .timeline-segment { background: var(--blue-grey); }
+ .acte-section[data-acte="Acte 1"] .timeline-segment { background: var(--brown); }
+ .acte-section[data-acte="Acte 2"] .timeline-segment { background: var(--terra); }
+ .acte-section[data-acte="Acte 3"] .timeline-segment { background: var(--olive); }
+ .acte-section[data-acte="Épilogue"] .timeline-segment { background: var(--plum); }
+
+ /* Cards row under each acte */
+ .cards-row { display: flex; gap: 14px; padding: 16px 10px 10px; min-height: 140px; align-items: flex-start; }
+
+ /* Cards */
+ .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; cursor: grab; border-top: 5px solid var(--border); width: 260px; min-width: 260px; flex-shrink: 0; box-shadow: 0 1px 4px var(--shadow); transition: box-shadow 0.15s; }
+ .card:hover { box-shadow: 0 4px 14px var(--shadow-hover); }
+ .card.sortable-ghost { opacity: 0.3; }
+ .card.sortable-chosen { box-shadow: 0 6px 20px var(--shadow-hover); }
+ .card-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
+ .card-summary { font-size: 15px; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
+ .card-summary p { margin: 0 0 4px; }
+ .card-summary ul, .card-summary ol { margin: 0 0 4px; padding-left: 18px; }
+ .card-summary li { margin-bottom: 2px; }
+ .card-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
+ .card-badge { font-size: 13px; padding: 4px 10px; border-radius: 8px; font-weight: 500; }
+ .card-likes { display: flex; gap: 4px; margin-left: auto; }
+ .like-btn { background: none; border: none; cursor: pointer; padding: 3px 6px; border-radius: 6px; font-size: 14px; color: var(--text-light); transition: color 0.15s, transform 0.15s; display: flex; align-items: center; gap: 2px; }
+ .like-btn:hover { color: var(--accent); transform: scale(1.15); }
+ .like-btn.liked { color: var(--terra); }
+ .like-btn .like-who { font-size: 10px; font-weight: 700; letter-spacing: 0.3px; }
+ .card-comment-count { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 3px; margin-left: 4px; }
+ .card-comment-count span { font-size: 13px; }
+
+ /* Comments in modal */
+ .modal-comments { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; }
+ .modal-comments h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-hint); font-weight: 600; margin-bottom: 12px; }
+ .comment-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; max-height: 240px; overflow-y: auto; }
+ .comment-item { background: var(--bg); border-radius: 8px; padding: 10px 14px; }
+ .comment-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
+ .comment-author { font-size: 12px; font-weight: 700; }
+ .comment-author.e { color: var(--brown); }
+ .comment-author.m { color: var(--plum); }
+ .comment-date { font-size: 11px; color: var(--text-light); }
+ .comment-delete { margin-left: auto; background: none; border: none; font-size: 13px; color: var(--text-light); cursor: pointer; padding: 0 4px; }
+ .comment-delete:hover { color: #8b3030; }
+ .comment-text { font-size: 14px; color: var(--text); line-height: 1.5; }
+ .comment-add { display: flex; flex-direction: column; gap: 8px; }
+ .comment-add textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: 'Lora', serif; color: var(--text); background: var(--bg-input); resize: none; min-height: 36px; max-height: 80px; outline: none; }
+ .comment-add textarea:focus { border-color: var(--accent); }
+ .comment-add-btns { display: flex; gap: 8px; justify-content: flex-end; }
+ .comment-send { padding: 6px 14px; background: var(--accent); color: var(--bg); border: none; border-radius: 6px; font-size: 12px; font-weight: 600; font-family: 'Lora', serif; cursor: pointer; white-space: nowrap; }
+ .comment-send:hover { background: var(--accent-hover); }
+ .comment-author-toggle { padding: 5px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; font-family: 'Lora', serif; color: var(--text-muted); }
+ .comment-author-toggle:hover { border-color: var(--accent); }
+
+ /* Acte colors on card top border */
+ .card[data-acte="Prologue"] { border-top-color: var(--blue-grey); }
+ .card[data-acte="Acte 1"] { border-top-color: var(--brown); }
+ .card[data-acte="Acte 2"] { border-top-color: var(--terra); }
+ .card[data-acte="Acte 3"] { border-top-color: var(--olive); }
+ .card[data-acte="Épilogue"] { border-top-color: var(--plum); }
+ .card[data-acte="En attente"] { border-top-color: var(--border); }
+
+ /* Status badge colors (now applied to tags) */
+ .badge-validee { background: #eef3e8; color: #5a7a3a; }
+ .badge-etudier { background: #f5f0e4; color: #a07850; }
+ .badge-abandonnee { background: var(--border); color: var(--text-hint); text-decoration: line-through; }
+ .badge-conflit { background: #f5e4e4; color: #8b3030; }
+ .dark .badge-etudier { background: #3a3020; color: #c49860; }
+ .dark .badge-validee { background: #2a3520; color: #8aaa6a; }
+ .dark .badge-conflit { background: #3a2020; color: #c06060; }
+ .badge-perso { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
+ .badge-tag { background: #ede8e0; color: #6b5a4a; border: 1px solid #d4c9ba; font-size: 12px; }
+ .dark .badge-tag { background: #3a3020; color: #c4a870; border-color: #5a4a30; }
+
+ /* Personnages enrichis */
+ .perso-card-section { margin-top: 10px; }
+ .perso-card-section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-hint); font-weight: 600; margin-bottom: 4px; }
+ .perso-card-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
+ .perso-card-text p { margin: 0 0 4px; }
+ .perso-card-text ul, .perso-card-text ol { margin: 0 0 4px; padding-left: 18px; }
+
+ /* Tags input */
+ .tags-input-container { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-input); align-items: center; min-height: 36px; }
+ .tags-input-container:focus-within { border-color: var(--accent); }
+ .tags-input { border: none; outline: none; font-size: 13px; font-family: 'Lora', serif; color: var(--text); background: transparent; flex: 1; min-width: 80px; padding: 2px 0; }
+ .tag-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; background: #ede8e0; color: #6b5a4a; border-radius: 6px; font-size: 12px; font-family: 'Lora', serif; }
+ .dark .tag-chip { background: #3a3020; color: #c4a870; }
+ .tag-chip-remove { cursor: pointer; font-size: 14px; line-height: 1; opacity: 0.6; }
+ .tag-chip-remove:hover { opacity: 1; }
+
+ /* ── Waiting zone (bottom) ── */
+ .waiting-zone { border-top: 2px dashed var(--border); padding: 14px 24px; background: var(--bg-alt); flex-shrink: 0; }
+ .waiting-header { font-size: 13px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; font-weight: 600; }
+ .waiting-cards { display: flex; gap: 12px; overflow-x: auto; min-height: 100px; padding: 4px 0; align-items: flex-start; }
+ .waiting-cards .card { border-style: dashed; border-top: 4px dashed var(--border); }
+
+ /* ── Modal ── */
+ .modal-overlay { display: none; position: fixed; inset: 0; background: var(--overlay); z-index: 100; align-items: center; justify-content: center; }
+ .modal-overlay.open { display: flex; }
+ .modal { background: var(--bg-card); border-radius: 16px; width: 580px; max-width: 92vw; max-height: 88vh; overflow-y: auto; box-shadow: 0 12px 40px var(--shadow-hover); }
+ .modal-header { padding: 22px 26px 0; display: flex; justify-content: space-between; align-items: start; }
+ .modal-close { background: none; border: none; font-size: 22px; color: var(--text-hint); cursor: pointer; padding: 4px 8px; }
+ .modal-close:hover { color: var(--text); }
+ .modal-body { padding: 14px 26px 26px; }
+ .modal-body .field { margin-bottom: 16px; }
+ .modal-body .field label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-hint); font-weight: 600; margin-bottom: 5px; }
+ .modal-body .field input,
+ .modal-body .field textarea,
+ .modal-body .field select { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'Lora', serif; color: var(--text); outline: none; background: var(--bg-input); }
+ .modal-body .field input:focus,
+ .modal-body .field textarea:focus,
+ .modal-body .field select:focus { border-color: var(--accent); }
+ .modal-body .field textarea { min-height: 70px; resize: vertical; line-height: 1.6; }
+ .modal-body .field textarea#f-resume { min-height: 140px; }
+ .modal-body .field-title input { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; border: none; background: transparent; padding: 0; }
+ .modal-body .field-title input:focus { border-bottom: 2px solid var(--accent); }
+ .modal-body .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
+ .multi-select-container { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-input); min-height: 38px; }
+ .multi-select-container .ms-tag { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: var(--border); color: var(--text-muted); cursor: pointer; }
+ .multi-select-container .ms-tag.selected { background: var(--accent); color: var(--bg); }
+ .multi-select-container .ms-add { font-size: 12px; padding: 3px 9px; border-radius: 6px; background: transparent; border: 1px dashed var(--border); color: var(--text-hint); cursor: pointer; }
+ .multi-select-container .ms-add:hover { border-color: var(--accent); color: var(--accent); }
+ .modal-actions { display: flex; gap: 10px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light); }
+ .modal-actions-spacer { flex: 1; }
+ .btn-save { padding: 9px 22px; background: var(--accent); color: var(--bg); border: none; border-radius: 8px; font-size: 14px; font-weight: 600; font-family: 'Lora', serif; cursor: pointer; }
+ .btn-save:hover { background: var(--accent-hover); }
+ .btn-delete { padding: 9px 14px; background: transparent; color: #8b3030; border: 1px solid #e8c4c0; border-radius: 8px; font-size: 13px; font-family: 'Lora', serif; cursor: pointer; }
+ .btn-delete:hover { background: #fdf0ef; }
+ .dark .btn-delete { border-color: #5a3030; }
+ .dark .btn-delete:hover { background: #3a2020; }
+
+ .loading { text-align: center; padding: 60px; color: var(--text-hint); font-style: italic; }
+
+ /* ── Vision page ── */
+ .view { display: none; }
+ .view.active { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
+
+ .vision-content { flex: 1; overflow-y: auto; padding: 28px 36px; }
+ .vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
+ .v-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px var(--shadow); }
+ .v-card.full { grid-column: 1 / -1; }
+ .v-card h3 { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 600; color: var(--text-hint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
+
+ .hero-banner { grid-column: 1 / -1; border-radius: 12px; height: 400px; background-image: linear-gradient(135deg, #d4a574 0%, #c4956a 30%, #a07850 60%, #7a5c40 100%); background-size: cover; background-position: center; background-repeat: no-repeat; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
+ .dark .hero-banner { background-image: linear-gradient(135deg, #5a4030 0%, #4a3528 30%, #3a2a20 60%, #2a1e18 100%); }
+ .hero-banner.has-image { background-color: #1a1614; cursor: grab; }
+ .hero-banner.has-image.dragging { cursor: grabbing; }
+ .hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(44,24,16,0.55)); pointer-events: none; }
+ .hero-overlay { position: relative; z-index: 1; padding: 24px 32px; width: 100%; pointer-events: none; }
+ .hero-overlay [contenteditable] { pointer-events: auto; }
+ .hero-controls { position: absolute; top: 10px; right: 12px; z-index: 3; display: flex; gap: 8px; align-items: center; opacity: 0; transition: opacity 0.2s; }
+ .hero-banner:hover .hero-controls { opacity: 1; }
+ .hero-btn { font-size: 12px; color: rgba(255,255,255,0.8); background: rgba(44,24,16,0.5); padding: 4px 12px; border-radius: 6px; border: none; cursor: pointer; backdrop-filter: blur(4px); }
+ .hero-btn:hover { background: rgba(44,24,16,0.7); color: #fff; }
+ .hero-overlay .three-words { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 2px; }
+ .hero-overlay .hero-sub { font-size: 14px; color: rgba(255,255,255,0.75); margin-top: 6px; font-style: italic; }
+
+ .vision-phrase { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; font-style: italic; line-height: 1.7; color: var(--text); }
+ .vision-detail { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-top: 12px; }
+
+ .tag-group { display: flex; flex-wrap: wrap; gap: 8px; }
+ .tag { padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; }
+ .tag.ambiance { background: #f5ede4; color: #8b5e3c; border: 1px solid #ddc9b4; }
+ .tag.epoque { background: #eef3e8; color: #5a7a3a; border: 1px solid #c8d8b4; }
+ .tag.rythme { background: #f5e8e4; color: #a0523d; border: 1px solid #ddc0b4; }
+ .tag.genre { background: #e8ecf3; color: #4a5a7a; border: 1px solid #b4c0d8; }
+ .tag.theme { background: #f0eaf5; color: #6a4a7a; border: 1px solid #d0c0e0; }
+ .dark .tag.ambiance { background: #3a2e20; color: #c49060; border-color: #5a4530; }
+ .dark .tag.epoque { background: #2a3520; color: #8aaa6a; border-color: #3a4a30; }
+ .dark .tag.rythme { background: #3a2520; color: #c07050; border-color: #5a3530; }
+ .dark .tag.genre { background: #20283a; color: #7a8aaa; border-color: #303a50; }
+ .dark .tag.theme { background: #2a2035; color: #a080b0; border-color: #403050; }
+
+ .two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
+ .list-block h4 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
+ .list-block h4.yes, .v-card h3.yes { color: #5a7a3a; }
+ .list-block h4.no, .v-card h3.no { color: #a0523d; }
+ .dark .list-block h4.yes, .dark .v-card h3.yes { color: #8aaa6a; }
+ .dark .list-block h4.no, .dark .v-card h3.no { color: #c07050; }
+ .list-item { padding: 10px 0; font-size: 15px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; }
+ .list-item .bullet { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
+ .list-item.yes .bullet { background: #5a7a3a; }
+ .list-item.no .bullet { background: #a0523d; }
+ .dark .list-item.yes .bullet { background: #8aaa6a; }
+ .dark .list-item.no .bullet { background: #c07050; }
+ .list-item-title { font-weight: 600; }
+ .list-item-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-top: 4px; }
+ .list-item.expanded { background: var(--bg-alt); border-radius: 8px; padding: 12px; border-left: 3px solid; margin: 4px 0; }
+ .list-item.expanded.yes { border-left-color: #5a7a3a; }
+ .list-item.expanded.no { border-left-color: #a0523d; }
+ .dark .list-item.expanded.yes { border-left-color: #8aaa6a; }
+ .dark .list-item.expanded.no { border-left-color: #c07050; }
+ .list-item-expand { font-size: 12px; color: var(--text-hint); cursor: pointer; margin-left: 8px; white-space: nowrap; }
+ .list-item-expand:hover { color: var(--accent); }
+
+ .mood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
+ .mood-card { position: relative; border-radius: 10px; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--border); }
+ .mood-card-img { width: 100%; aspect-ratio: 1; background-size: cover; background-position: center; background-repeat: no-repeat; cursor: pointer; background-color: var(--bg-alt); display: flex; align-items: center; justify-content: center; user-select: none; }
+ .mood-card-img.has-image { cursor: grab; }
+ .mood-card-img.has-image.dragging { cursor: grabbing; }
+ .mood-card-img.empty { border: 1px dashed var(--border); border-radius: 10px 10px 0 0; }
+ .mood-card-img.empty::after { content: '+'; font-size: 28px; color: var(--text-hint); }
+ .mood-card-caption { padding: 8px 10px; font-size: 13px; color: var(--text); min-height: 32px; }
+ .mood-card-remove { position: absolute; top: 4px; right: 4px; display: none; background: rgba(139,48,48,0.8); color: #fff; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; cursor: pointer; align-items: center; justify-content: center; z-index: 2; }
+ .mood-card:hover .mood-card-remove { display: flex; }
+ .mood-card-handle { position: absolute; top: 4px; left: 4px; display: none; background: rgba(0,0,0,0.5); color: #fff; border: none; border-radius: 4px; width: 22px; height: 22px; font-size: 14px; cursor: grab; align-items: center; justify-content: center; z-index: 2; user-select: none; }
+ .mood-card:hover .mood-card-handle { display: flex; }
+ .mood-card-handle:active { cursor: grabbing; }
+ .mood-card.drag-over { outline: 2px solid var(--accent); outline-offset: -2px; }
+ .mood-card.dragging-card { opacity: 0.4; }
+ .mood-add { border: 1px dashed var(--border); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; min-height: 120px; border-radius: 10px; }
+ .mood-add:hover { background: var(--bg-alt); }
+ .mood-add-icon { font-size: 24px; color: var(--text-hint); }
+
+ .vision-quote { font-family: 'Playfair Display', serif; font-size: 17px; font-style: italic; color: var(--text-muted); line-height: 1.7; border-left: 3px solid var(--accent); padding-left: 16px; margin: 12px 0; }
+
+ /* ── Editable Vision ── */
+ [contenteditable] { outline: none; border-radius: 6px; transition: background 0.15s, box-shadow 0.15s; cursor: text; }
+ [contenteditable]:hover { background: rgba(138,112,96,0.06); }
+ [contenteditable]:focus { background: rgba(138,112,96,0.08); box-shadow: 0 0 0 2px var(--accent); }
+ .dark [contenteditable]:hover { background: rgba(196,168,130,0.08); }
+ .dark [contenteditable]:focus { background: rgba(196,168,130,0.1); }
+ [contenteditable].placeholder { color: var(--text-light); font-style: italic; }
+ .vision-saving { position: fixed; bottom: 20px; right: 20px; background: var(--accent); color: var(--bg); padding: 8px 18px; border-radius: 8px; font-size: 13px; font-family: 'Lora', serif; opacity: 0; transition: opacity 0.3s; z-index: 200; pointer-events: none; }
+ .vision-saving.show { opacity: 1; }
+
+ .tag-remove { display: none; margin-left: 4px; cursor: pointer; font-size: 11px; opacity: 0.5; }
+ .tag:hover .tag-remove { display: inline; }
+ .tag-remove:hover { opacity: 1; }
+ .tag-add { padding: 8px 16px; border-radius: 20px; font-size: 14px; border: 1px dashed var(--border); background: transparent; color: var(--text-hint); cursor: pointer; font-family: 'Lora', serif; }
+ .tag-add:hover { background: var(--bg-alt); color: var(--text); }
+
+ .list-item-desc-preview { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-top: 4px; }
+ .list-item-desc-preview ul, .list-item-desc-preview ol { margin: 4px 0 4px 20px; }
+ .list-item-desc-preview li { margin: 2px 0; }
+ .list-item-desc-preview p { margin: 4px 0; }
+ .list-item-desc-preview p:first-child { margin-top: 0; }
+ .list-item-desc-preview p:last-child { margin-bottom: 0; }
+
+ .list-item-text { flex: 1; }
+ .list-item-remove { visibility: hidden; cursor: pointer; color: var(--text-hint); font-size: 14px; margin-left: 8px; flex-shrink: 0; }
+ .list-item:hover .list-item-remove { visibility: visible; }
+ .list-item-remove:hover { color: #8b3030; }
+ .list-add { padding: 6px 0; font-size: 14px; color: var(--text-hint); cursor: pointer; display: flex; align-items: center; gap: 6px; }
+ .list-add:hover { color: var(--accent); }
+
+
+ /* ── Vue Rédaction ── */
+ .redaction-filters { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 8px 28px; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
+ .redaction-filters select, .redaction-filters input { padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: 'Lora', serif; color: var(--text); background: var(--bg-input); outline: none; }
+ .redaction-filters label { font-size: 12px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
+ .redaction-layout { display: flex; height: calc(100vh - 100px); }
+ .binder { width: 260px; flex-shrink: 0; background: var(--bg-alt); border-right: 1px solid var(--border); overflow-y: auto; padding: 16px 0; display: flex; flex-direction: column; }
+ .binder-acte { padding: 0 12px; margin-bottom: 4px; }
+ .binder-acte-title { font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 12px 6px; cursor: pointer; user-select: none; }
+ .binder-acte-title:hover { color: var(--text); }
+ .binder-scene { padding: 8px 12px 8px 24px; font-size: 14px; color: var(--text-muted); cursor: pointer; border-radius: 6px; margin: 1px 8px; display: flex; align-items: center; gap: 8px; line-height: 1.3; }
+ .binder-scene:hover { background: var(--border); color: var(--text); }
+ .binder-scene.active { background: var(--accent); color: #fff; }
+ .dark .binder-scene.active { color: var(--bg); }
+ .binder-scene .scene-status { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
+ .binder-scene .scene-words { font-size: 11px; color: var(--text-light); margin-left: auto; white-space: nowrap; }
+ .binder-scene.active .scene-words { color: rgba(255,255,255,0.6); }
+
+ .editor-pane { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
+ .editor-header { padding: 20px 32px 12px; border-bottom: 1px solid var(--border-light); display: flex; align-items: flex-start; gap: 12px; }
+ .editor-scene-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; color: var(--text); }
+ .editor-scene-meta { font-size: 13px; color: var(--text-hint); margin-top: 4px; display: flex; gap: 16px; }
+ .editor-body { flex: 1; overflow-y: auto; padding: 24px 32px 80px; max-width: 720px; }
+ .editor-body .tiptap { outline: none; font-family: 'Lora', Georgia, serif; font-size: 16px; line-height: 1.8; color: var(--text); min-height: 300px; }
+ .editor-body .tiptap p { margin-bottom: 12px; }
+ .editor-body .tiptap h2 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; margin: 24px 0 12px; }
+ .editor-body .tiptap h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; margin: 20px 0 8px; }
+ .editor-body .tiptap strong { font-weight: 600; }
+ .editor-body .tiptap em { font-style: italic; }
+ .editor-body .tiptap ul, .editor-body .tiptap ol { margin: 8px 0 8px 24px; }
+ .editor-body .tiptap li { margin-bottom: 4px; }
+ .editor-body .tiptap hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
+ .editor-body .tiptap blockquote { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--text-muted); font-style: italic; margin: 16px 0; }
+ /* Panneau fiche (intention) — sticky en haut de l'éditeur */
+ .editor-fiche { background: var(--bg-alt); border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); line-height: 1.5; }
+ .editor-fiche-toggle { display: flex; align-items: center; gap: 8px; padding: 8px 32px; cursor: pointer; user-select: none; }
+ .editor-fiche-toggle:hover { background: var(--border-light); }
+ .editor-fiche-toggle-icon { font-size: 12px; transition: transform 0.2s; color: var(--text-hint); }
+ .editor-fiche-toggle-icon.open { transform: rotate(90deg); }
+ .editor-fiche-toggle-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-hint); font-weight: 600; }
+ .editor-fiche-content { padding: 0 32px 14px; display: none; }
+ .editor-fiche-content.open { display: block; }
+ .editor-fiche-field { margin-bottom: 10px; }
+ .editor-fiche-field-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-hint); font-weight: 600; margin-bottom: 3px; }
+ .editor-fiche-field-value { color: var(--text); }
+ .editor-fiche-field-value p { margin: 0 0 4px; }
+ .editor-fiche-field-value ul, .editor-fiche-field-value ol { margin: 0 0 4px; padding-left: 18px; }
+ .editor-fiche-tags { display: flex; gap: 4px; flex-wrap: wrap; }
+ .editor-fiche-persos { display: flex; gap: 6px; flex-wrap: wrap; }
+
+ .editor-toolbar { display: flex; gap: 2px; padding: 8px 32px; border-bottom: 1px solid var(--border-light); background: var(--bg); }
+ .editor-toolbar button { background: none; border: none; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 14px; color: var(--text-muted); font-family: 'Lora', serif; }
+ .editor-toolbar button:hover { background: var(--bg-alt); color: var(--text); }
+ .editor-toolbar button.is-active { background: var(--border); color: var(--text); font-weight: 600; }
+ .editor-empty { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 16px; font-style: italic; }
+ .editor-saving { position: fixed; bottom: 20px; right: 20px; background: var(--accent); color: var(--bg); padding: 8px 18px; border-radius: 8px; font-size: 13px; font-family: 'Lora', serif; opacity: 0; transition: opacity 0.3s; z-index: 200; pointer-events: none; }
+ .editor-saving.show { opacity: 1; }
+ .word-count { font-size: 12px; color: var(--text-hint); padding: 8px 32px; border-top: 1px solid var(--border-light); background: var(--bg); }
+ .binder-legend { padding: 12px 20px; border-bottom: 1px solid var(--border); }
+ .binder-legend-title { font-size: 11px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
+ .binder-legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-bottom: 3px; }
+ .binder-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
+
+ /* Comments */
+ .comment-mark { cursor: pointer; border-radius: 2px; padding: 1px 0; }
+ .comment-mark.comment-e { background: rgba(106,122,66,0.15); border-bottom: 2px solid rgba(106,122,66,0.4); }
+ .comment-mark.comment-m { background: rgba(184,92,58,0.15); border-bottom: 2px solid rgba(184,92,58,0.4); }
+ .dark .comment-mark.comment-e { background: rgba(138,170,90,0.2); border-bottom-color: rgba(138,170,90,0.4); }
+ .dark .comment-mark.comment-m { background: rgba(212,132,90,0.2); border-bottom-color: rgba(212,132,90,0.4); }
+
+ /* ── Version history panel ── */
+ .version-panel { position: fixed; top: 0; right: -420px; width: 400px; height: 100vh; background: var(--bg-card); border-left: 1px solid var(--border); z-index: 250; transition: right 0.3s ease; display: flex; flex-direction: column; box-shadow: -4px 0 20px var(--shadow); }
+ .version-panel.open { right: 0; }
+ .version-panel-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; }
+ .version-panel-header h3 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; }
+ .version-panel-list { flex: 1; overflow-y: auto; padding: 12px; }
+ .version-item { padding: 14px 16px; border: 1px solid var(--border-light); border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: border-color 0.2s; }
+ .version-item:hover { border-color: var(--accent); }
+ .version-item.selected { border-color: var(--accent); background: var(--bg-alt); }
+ .version-item-date { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
+ .version-item-label { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
+ .version-item-preview { font-size: 12px; color: var(--text-hint); line-height: 1.5; max-height: 60px; overflow: hidden; }
+ .version-preview-pane { padding: 16px 24px; border-top: 1px solid var(--border-light); max-height: 40vh; overflow-y: auto; }
+ .version-preview-pane h4 { font-family: 'Playfair Display', serif; font-size: 14px; margin-bottom: 10px; color: var(--text-muted); }
+ .version-preview-content { font-size: 13px; line-height: 1.6; }
+ .version-actions { padding: 12px 24px 20px; border-top: 1px solid var(--border-light); display: flex; gap: 10px; }
+ .version-actions button { flex: 1; }
+ .btn-history { background: none; border: 1px solid var(--border); padding: 6px 14px; border-radius: 8px; font-family: 'Lora', serif; font-size: 13px; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
+ .btn-history:hover { border-color: var(--accent); color: var(--text); }
+
+ .comment-popup { position: fixed; z-index: 300; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; box-shadow: 0 4px 20px var(--shadow-hover); max-width: 320px; min-width: 200px; }
+ .comment-popup-author { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
+ .comment-popup-author.e { color: var(--olive); }
+ .comment-popup-author.m { color: var(--terra); }
+ .comment-popup-date { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
+ .comment-popup-text { font-size: 14px; color: var(--text); line-height: 1.5; }
+ .comment-popup-actions { margin-top: 10px; display: flex; gap: 8px; justify-content: flex-end; }
+ .comment-popup-actions button { font-size: 12px; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text-muted); cursor: pointer; font-family: 'Lora', serif; }
+ .comment-popup-actions button:hover { background: var(--bg-alt); color: var(--text); }
+ .comment-popup-actions button.delete { border-color: #8b3030; color: #8b3030; }
+ .comment-popup-actions button.delete:hover { background: #8b3030; color: #fff; }
+
+ .toolbar-sep { width: 1px; background: var(--border); margin: 4px 6px; }
+
+ /* ── Pages Personnages & Ressources ── */
+ .page-content { padding: 28px; overflow-y: auto; height: calc(100vh - 60px); }
+ .page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
+ .page-header h2 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; margin: 0; }
+
+ .perso-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
+ .perso-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: box-shadow 0.15s; }
+ .perso-card:hover { box-shadow: 0 4px 14px var(--shadow-hover); }
+ .perso-card-portrait { width: 100%; height: 200px; object-fit: cover; background: var(--bg-alt); }
+ .perso-card-body { padding: 16px 20px; }
+ .perso-card-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; margin-bottom: 4px; }
+ .perso-card-role { font-size: 14px; color: var(--accent); margin-bottom: 8px; font-weight: 500; }
+ .perso-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
+ .perso-card-tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
+ .perso-card-scene-count { margin-top: 10px; font-size: 12px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
+ .perso-modal-scenes { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
+ .perso-modal-scenes-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-hint); font-weight: 600; margin-bottom: 8px; }
+ .perso-modal-scenes-acte { font-size: 11px; color: var(--accent); font-weight: 600; margin-top: 8px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.3px; }
+ .perso-modal-scenes-list { display: flex; flex-direction: column; gap: 2px; }
+ .perso-modal-scenes-list a { font-size: 13px; color: var(--text); text-decoration: none; cursor: pointer; padding: 2px 0; }
+ .perso-modal-scenes-list a:hover { color: var(--accent); }
+
+ .res-filters { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
+ .res-filters select, .res-filters input { padding: 6px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-family: 'Lora', serif; color: var(--text); background: var(--bg-input); outline: none; }
+ .res-filters label { font-size: 12px; color: var(--text-hint); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
+ .res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
+ .res-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: box-shadow 0.15s; }
+ .res-card:hover { box-shadow: 0 4px 14px var(--shadow-hover); }
+ .res-card-img { width: 100%; height: 160px; object-fit: cover; background: var(--bg-alt); }
+ .res-card-body { padding: 14px 16px; }
+ .res-card-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
+ .res-card-cat { font-size: 12px; color: var(--accent); font-weight: 500; margin-bottom: 6px; }
+ .res-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
+ .res-card-tags { margin-top: 8px; display: flex; gap: 4px; flex-wrap: wrap; }
+ .res-card-link { margin-top: 8px; font-size: 12px; display: flex; align-items: center; gap: 4px; }
+ .res-card-link a { color: var(--accent); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+ .res-card-link a:hover { text-decoration: underline; }
+ .res-card-link svg { width: 12px; height: 12px; flex-shrink: 0; stroke: var(--accent); fill: none; stroke-width: 2; }
+ .res-modal-link { margin-top: 4px; }
+ .res-modal-link a { color: var(--accent); text-decoration: none; font-size: 14px; word-break: break-all; }
+ .res-modal-link a:hover { text-decoration: underline; }
+
+ /* Responsive */
+ @media (max-width: 768px) {
+ .sidebar { display: none; }
+ .modal { width: 100%; max-width: 100%; border-radius: 12px 12px 0 0; }
+ .card { width: 150px; min-width: 150px; }
+ .vision-grid { grid-template-columns: 1fr; }
+ .two-cols { grid-template-columns: 1fr; }
+ .binder { width: 200px; }
+ .editor-body { padding: 16px; }
+ }