.note-dialog { width:min(760px,calc(100% - 2rem)); max-height:calc(100dvh - 2rem); padding:1.5rem; border:1px solid var(--farge-kant); border-radius:8px; background:var(--farge-bakgrunn); color:var(--farge-tekst); }
.note-dialog::backdrop { background:rgb(0 0 0 / 45%); }
.note-dialog-top { display:flex; align-items:start; justify-content:space-between; gap:1rem; margin-bottom:1rem; }
.note-dialog h2 { margin:0; font-family:Georgia,serif; font-size:1.65rem; }
.note-player { max-width:760px; }
.note-player label { display:block; font-weight:600; }
.note-player input[type=range] { display:block; width:100%; min-height:32px; accent-color:var(--farge-accent); }
.note-player output { display:inline; }
.note-player select { width:100%; min-height:44px; font:inherit; padding:.5rem; border:1px solid var(--farge-kontrollkant); border-radius:5px; background:white; color:var(--farge-tekst); }
.note-player button,.note-close { min-height:44px; padding:.55rem 1rem; font:inherit; border:1px solid var(--farge-kontrollkant); border-radius:5px; background:white; color:var(--farge-tekst); cursor:pointer; }
.note-player button:disabled { opacity:.5; cursor:default; }
.note-player .note-play { background:var(--farge-accent); color:white; min-width:135px; }
.note-player :is(button,input,select):focus-visible,.note-close:focus-visible { outline:3px solid var(--farge-accent); outline-offset:3px; }
.note-controls { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin:1.5rem 0 1rem; }
.note-controls > label:not(.note-repeat) { flex:1; min-width:180px; }
.note-player .note-repeat { display:flex; flex-direction:row; align-items:center; gap:.5rem; min-height:44px; }
.note-repeat input { width:20px; height:20px; accent-color:var(--farge-accent); }
.note-seek-label { margin-bottom:1rem; }
.note-seek-label span { float:right; font-weight:400; }
.note-volume { max-width:250px; }
.note-comment:empty { display:none; }
.note-credit { font-size:.875rem; color:var(--farge-mjuk-tekst); margin-top:1.5rem; }
.note-page { max-width:1000px; margin:0 auto; padding:1.5rem 1rem 3rem; }
.note-page h1 { font-size:clamp(1.8rem,4vw,2.3rem); }
.note-page .note-player { border-block:1px solid var(--farge-kant); padding-block:1.5rem; margin-top:1.5rem; }
.note-song-list { padding-left:1.4rem; }
.note-song-list li { padding:.35rem 0; }
.melodi-knapp { font-size:.875rem; min-height:32px; padding:.3rem .65rem; }
@media(max-width:520px) { .note-dialog { padding:1rem; } .note-dialog-top { gap:.5rem; } .note-controls > label:not(.note-repeat) { flex-basis:100%; } .note-dialog h2 { font-size:1.4rem; } }

/* Følg kolonnenamnet, også når andre kolonnar er skjulte. */
table.dataTable .brigde-kolonne { text-align:center; }
