/* Song identity stays centered across both reading and editing layouts. */
#score-paper .score-heading{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:10px;margin-bottom:24px}
#score-paper .score-heading h2{width:100%;overflow-wrap:anywhere;text-align:center;line-height:1.4}
#score-paper .score-title-button{max-width:100%;white-space:normal;text-align:center}
#score-authors{width:100%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:22px;row-gap:6px;font-size:13px;line-height:1.6;color:#444}
#score-authors:empty{display:none}
.score-authors-button{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;max-width:100%;padding:0;border:0;background:transparent;text-align:center;white-space:normal;font:inherit;color:inherit}
.score-authors-button:hover{background:#f2f2f2;box-shadow:0 0 0 5px #f2f2f2}
.score-author{display:inline-flex;justify-content:center;gap:7px;max-width:100%;overflow-wrap:anywhere}
.score-author-role{flex:none;color:#666}
.score-author-add{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:#777;padding:2px 8px;font-size:12px}
#score-paper #score-meta{justify-content:center;flex-wrap:wrap;gap:8px 16px;color:#666}
.metadata-authors{margin:1px 0 16px}
.metadata-authors-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;color:#666;font-size:12px}
#metadata-form .author-add-button,#metadata-form .author-remove{display:grid;place-items:center;flex:none;width:29px;height:29px;min-height:29px;padding:6px;border:0;border-radius:50%;background:#f2f2f2}
#metadata-form .author-add-button:hover{background:#e8e8e8}
#metadata-form .author-add-button svg,#metadata-form .author-remove svg{width:17px;height:17px}
#metadata-form .author-remove{color:#b73d3d;background:transparent}
#metadata-form .author-remove:hover{background:#fff0f0}
.author-role-options{display:flex;flex-wrap:wrap;gap:6px;padding:7px;margin:0 0 9px;border:1px solid #e9e9e9;border-radius:12px;background:#fafafa}
.author-role-options button{border:1px solid #e5e5e5;border-radius:18px;padding:5px 12px;font-size:12px;background:white}
.author-role-options button:hover{border-color:#aaa;background:#f1f1f1}
.metadata-author-row{display:grid;grid-template-columns:38px minmax(0,1fr) 29px;align-items:center;gap:8px;margin-bottom:8px}
.metadata-author-row label{font-size:12px;color:#555}
#metadata-form .metadata-author-row input{width:100%;margin:0;min-width:0;padding:8px 10px}
#metadata-form .metadata-title-invalid{border-color:#b73d3d}
@media(max-width:760px){#score-paper .score-heading{align-items:center;gap:8px}#score-authors{column-gap:14px;font-size:12px}.score-authors-button{column-gap:14px}.score-author{gap:5px}}
@media print{#score-paper .score-heading,#score-paper .score-heading h2{text-align:center;align-items:center}.score-author-add{display:none}.score-authors-button{background:none;box-shadow:none}}
