.editor-card textarea.short{min-height:68px}
.upload{margin-top:6px!important}
.upload input{position:absolute;width:1px!important;height:1px;opacity:0;pointer-events:none}
.upload-preview{height:145px;border:1.5px dashed #c9c9cf;border-radius:15px;background:#f7f7f8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#777;overflow:hidden;cursor:pointer;position:relative}
.upload-preview>span:first-child{font-size:27px;color:var(--red)}
.upload-preview b{font-size:12px;color:#333}
.upload-preview small{font-size:9px}
.upload-preview img{width:100%;height:100%;object-fit:cover}
.change-image{position:absolute;right:8px;bottom:8px;background:#111d;color:#fff;padding:6px 8px;border-radius:8px;font-size:9px}
.test-note{font-size:9px;color:var(--muted);text-align:center;margin:12px 4px 0}
.url-preview{height:125px;margin-top:8px;border:1.5px dashed #c9c9cf;border-radius:15px;background:#f7f7f8;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#888;font-size:10px;text-align:center;padding:12px}
.url-preview img{width:100%;height:100%;object-fit:cover}
.url-preview.invalid:after{content:"Impossible de charger cette image";color:var(--red);font-weight:800}
.url-preview.invalid img{display:none}
.edit-article{float:right;border:0;border-radius:9px;background:#ededf0;color:#444;padding:7px 9px;font-size:9px;font-weight:900;cursor:pointer}
.edit-article.saving{background:var(--red);color:#fff}
[contenteditable="true"]{outline:2px solid #e3192b55;border-radius:6px;background:#e3192b08;padding:4px}
.byline em{font-style:normal;color:var(--muted);font-size:9px}
.app.dark .edit-article{background:#29292f;color:#eee}
