#mapper-review, #mapper-editor { margin: 0 0 1.5rem; border-top: 4px solid #217b77; }
#mapper-review[hidden], #mapper-editor[hidden], #mapper-removed[hidden], #mapper-editor-form[hidden], #upload-form[hidden],
.editing-mapper-course > :not(#mapper-editor) { display: none; }
#mapper-review ul { list-style: none; margin: 1rem 0; padding: 0; }
#mapper-review li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; border-top: 1px solid #cfdae1; padding: .8rem 0; }
#mapper-review li:last-child { border-bottom: 1px solid #cfdae1; }
#mapper-review li strong, #mapper-review li span { display: block; overflow-wrap: anywhere; }
#mapper-review li span { color: #475d70; font-size: .88rem; margin-top: .15rem; }
.mapper-actions { flex: none; display: flex; gap: .35rem; align-items: center; }
.mapper-actions a, .mapper-actions button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .45rem; border-radius: .45rem; border: 1px solid #b8cbd1; background: white; color: #145f67; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.mapper-actions .mapper-trash { color: #a32936; border-color: #dfbdc0; }
.mapper-actions :hover { background: #eef4f5; }
.mapper-actions .mapper-trash:hover { background: #fcf0ef; }
#mapper-removed { margin-bottom: 1rem; }
#mapper-removed summary { cursor: pointer; color: #165e66; padding: .5rem 0; }
#mapper-editor { max-width: 48rem; }
#mapper-editor h1 { margin: 1rem 0 .25rem; }
#mapper-editor label { display: grid; min-width: 0; gap: .3rem; margin: .7rem 0; font-weight: 600; font-size: .9rem; }
#mapper-editor select, #mapper-editor input { box-sizing: border-box; min-height: 44px; min-width: 0; width: 100%; padding: .5rem; border: 1px solid #9aaebd; border-radius: .4rem; color: #102d45; background: white; font: inherit; }
#mapper-editor .mapper-cancel { margin-left: 1rem; }
#mapper-delete { width: min(26rem, 90vw); box-sizing: border-box; padding: 1.4rem; border: 1px solid #aebec6; border-radius: .8rem; color: #102d45; background: white; overflow-wrap: anywhere; }
#mapper-delete::backdrop { background: rgb(9 30 48 / 55%); }
#mapper-delete h2 { margin-top: 0; }
#mapper-delete-confirm { background: #a32936; border-color: #a32936; color: white; }
#mapper-review :focus-visible, #mapper-editor :focus-visible, #mapper-delete :focus-visible { outline: 3px solid #24759a; outline-offset: 2px; }
@media (max-width: 600px) { #mapper-fields { grid-template-columns: minmax(0, 1fr); } }
