.topbar nav { flex-wrap: wrap; justify-content: flex-end; }
.nav-logout { margin: 0; }
.nav-logout button { border: 0; border-radius: .5rem; padding: .55rem .7rem; background: transparent; color: var(--ink); cursor: pointer; }
.nav-logout button:hover { background: var(--green-soft); }
.editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.editor-heading h1 { margin: .25rem 0; }
.editor-heading p { color: var(--muted); }
.editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.editor-actions form { margin: 0; }
.editor-notice { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: 1.5rem; padding: 1rem 1.25rem; background: var(--green-soft); border-radius: .8rem; }
.editor-form { display: grid; gap: 1.5rem; }
.editor-form fieldset, .editor-publication { min-width: 0; margin: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.editor-form legend { padding: 0 .5rem; font-size: 1.2rem; font-weight: 700; }
.editor-field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.editor-field label { font-weight: 600; }
.editor-field input:not([type="checkbox"]), .editor-field textarea, .editor-field select { width: 100%; max-width: 100%; min-height: 2.75rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--ink); background: var(--paper); font: inherit; }
.editor-field textarea { min-height: 7rem; resize: vertical; }
.editor-field select[multiple] { min-height: 12rem; }
.editor-field input[type="checkbox"] { width: 1.2rem; height: 1.2rem; }
.editor-field input:focus-visible, .editor-field textarea:focus-visible, .editor-field select:focus-visible { outline: 3px solid var(--green-soft); border-color: var(--green); }
.editor-field small, .editor-help { color: var(--muted); font-size: .9rem; }
.editor-row { padding: 1rem 0; border-top: 1px solid var(--line); }
.editor-form .errorlist { margin: .3rem 0; padding-left: 1.25rem; color: #a12f26; }
.editor-publication { margin-top: 2rem; }
.editor-publication h2 { margin-top: 0; }
.editor-compact { max-width: 40rem; margin: 0 auto; }
.editor-actions button { cursor: pointer; }
@media (max-width: 700px) { .editor-heading { align-items: flex-start; flex-direction: column; } .editor-form fieldset, .editor-publication { padding: 1rem; } .topbar nav { justify-content: flex-start; } }