.emp-favorite,.emp-note,.emp-panel{margin:1rem 0}
.emp-favorite-button,.emp-note-actions button{border:1px solid currentColor;border-radius:4px;padding:.6rem 1rem;background:transparent;color:inherit;cursor:pointer}
.emp-favorite-button[aria-pressed="true"]{font-weight:600}
.emp-note{padding:1.25rem;border:1px solid #ddd;border-radius:8px}
.emp-note h3{margin-top:0}
.emp-note label{display:block;margin-bottom:.5rem}
.emp-note textarea{width:100%;max-width:100%;padding:.7rem;border:1px solid #aaa;border-radius:4px;font:inherit}
.emp-note-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.75rem}
.emp-status{display:inline-block;margin-left:.5rem;font-size:.9em}
.emp-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}
.emp-panel{padding:1.25rem;border:1px solid #ddd;border-radius:8px;min-width:0}
.emp-panel h3{margin-top:0}
.emp-note-preview{padding:.8rem 0;border-top:1px solid #eee}
.emp-note-preview p{white-space:normal;overflow-wrap:anywhere}
.emp-note-preview h4{margin:.2rem 0}

/* Tableau de bord : index compact, sans contenu des notes */
.emp-dashboard .emp-panel > h3{color:#222!important;font-weight:400!important}
.emp-dashboard-item{padding:.7rem 0;border-top:1px solid #eee;display:flex;flex-direction:column;gap:.2rem}
.emp-dashboard-item:first-of-type{border-top:0}
.emp-dashboard .emp-item-action{font-size:.88em}
#emp-ma-note{scroll-margin-top:100px}

.emp-note .wp-editor-wrap{margin-top:.35rem}
.emp-note .wp-editor-container{border:1px solid #bbb}
.emp-note .emp-privacy{font-size:.83em;line-height:1.5;color:#666;margin:.85rem 0 .2rem}
.emp-note-actions .emp-delete-note{opacity:.7}
.emp-note-actions .emp-delete-note:hover{opacity:1}
.emp-login p{margin:.45rem 0 0}
