:root {
  --bg: #0b1119; --panel: #131c28; --panel2: #1a2535; --line: #263447; --text: #e8edf4; --muted: #8fa0b5;
  --orange: #e5673f; --blue: #4a86c5; --ok: #46b97c; --bad: #e25555; --warn: #e9a23b; --live: #ff3b3b;
  --r: 10px; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.45 "Inter","Segoe UI",system-ui,sans-serif; overflow: hidden; }
a { color: var(--blue); text-decoration: none; } a:hover { text-decoration: underline; }
h2 { margin: 0 0 4px; font-size: 22px; } h3 { margin: 0 0 8px; font-size: 16px; } h4 { margin: 20px 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
h4 .muted, h3 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.muted { color: var(--muted); } .grow { flex: 1; min-width: 0; } .right { text-align: right; } .pad { padding: 12px; } .bad { color: var(--bad); }
code { background: var(--panel2); padding: 1px 5px; border-radius: 4px; }
pre { background: #070b11; padding: 12px; border-radius: 8px; overflow: auto; font-size: 12.5px; }

button, select, input, textarea { font: inherit; color: inherit; }
button { background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
button:hover:not(:disabled) { border-color: #3d5270; background: #213047; }
button:disabled { opacity: .45; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
button.primary { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 600; }
button.primary:hover:not(:disabled) { background: #f0764e; border-color: #f0764e; }
button.danger { color: #ff9c9c; } button.danger:hover:not(:disabled) { background: #4a1d1d; border-color: var(--bad); }
button.icon { padding: 4px 7px; background: transparent; border-color: transparent; color: var(--muted); }
button.icon:hover:not(:disabled) { color: var(--text); background: var(--panel2); }
button.link { background: none; border: 0; padding: 0 4px; color: var(--blue); }
button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
button.big { padding: 12px 18px; font-size: 16px; }
input[type=text], input[type=password], input[type=number], input[type=time], input:not([type]), select, textarea {
  background: #0c131d; border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; width: 100%; }
textarea { resize: vertical; line-height: 1.5; font-family: inherit; }
input[type=color] { width: 44px; height: 32px; padding: 2px; background: #0c131d; border: 1px solid var(--line); border-radius: 8px; }
input[type=range] { flex: 1; accent-color: var(--orange); min-width: 60px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; min-width: 0; }
.field > span:first-child { font-size: 12px; color: var(--muted); } .field small { color: var(--muted); font-size: 11.5px; }
.check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; margin: 4px 14px 4px 0; } .check input { accent-color: var(--orange); width: 16px; height: 16px; }
.checks { display: flex; flex-direction: column; justify-content: center; }
.range { display: flex; align-items: center; gap: 8px; } .range b { min-width: 52px; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 0; }
.scroll { overflow: auto; flex: 1; min-height: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 18px; }
.center-page { height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; }
.warn-bar { background: #3d2c0c; border: 1px solid #7a5a1a; color: #ffd58a; border-radius: 8px; padding: 8px 12px; margin: 6px 0 10px; }
table.plain { width: 100%; border-collapse: collapse; } table.plain th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; position: sticky; top: 0; background: var(--panel); }
table.plain td, table.plain th { padding: 6px 8px; border-bottom: 1px solid var(--line); } table.plain tr.selrow { background: #2a1d18; } table.plain td button { margin-left: 6px; }
table.plain td select { width: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--muted); } .dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); }

/* ---------- kader ---------- */
.app { height: 100%; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 14px; padding: 0 14px; height: 50px; background: var(--panel); border-bottom: 1px solid var(--line); flex: none; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 16px; } .brand img { height: 30px; } .brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 2px; height: 100%; } .top nav a { display: flex; align-items: center; padding: 0 13px; color: var(--muted); border-bottom: 2px solid transparent; font-weight: 500; }
.top nav a:hover { color: var(--text); text-decoration: none; } .top nav a.on { color: var(--text); border-bottom-color: var(--orange); }
.sync { display: flex; align-items: center; gap: 7px; background: transparent; border-color: transparent; color: var(--muted); }
.sync.ok .dot { background: var(--ok); } .sync.bad .dot { background: var(--bad); } .sync.busy .dot { background: var(--warn); animation: blink 1s infinite; } .sync.bad { color: #ffb1b1; }
@keyframes blink { 50% { opacity: .3; } }
.user { background: transparent; }
.offline-bar { background: #4a2a0c; color: #ffd9a1; padding: 7px 16px; border-bottom: 1px solid #7a4a14; flex: none; }
main { flex: 1; min-height: 0; overflow: hidden; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #24344b; border: 1px solid #3d5270; padding: 10px 18px; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.5); z-index: 100; max-width: 80vw; animation: fxSlideUpIn .25s; }
.toast.warn { background: #4a2a0c; border-color: #7a4a14; color: #ffd9a1; }
.login .card { width: min(380px, 92vw); text-align: center; } .login .field { text-align: left; } .login-logo { height: 110px; } .login button { width: 100%; margin-top: 8px; }
.modal-back { position: fixed; inset: 0; background: rgba(3,6,10,.7); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; width: min(480px, 100%); max-height: 90vh; display: flex; flex-direction: column; } .modal.wide { width: min(900px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 0; } .modal-head h3 { margin: 0; } .modal-body { padding: 10px 18px 18px; overflow: auto; }

/* ---------- panelen / lijsten ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--line); flex: none; } .tabs button { flex: 1; border: 0; border-radius: 0; background: transparent; color: var(--muted); padding: 9px 4px; font-size: 12.5px; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--text); border-bottom-color: var(--orange); background: transparent; }
.tabs.inline { border: 0; } .tabs.inline button { flex: none; padding: 6px 12px; }
.search { margin: 8px; width: calc(100% - 16px) !important; flex: none; }
.lib-row, .pl-item { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-bottom: 1px solid #1c2838; cursor: grab; color: var(--text); }
.lib-row:hover, .pl-item:hover { background: var(--panel2); text-decoration: none; }
.lib-row b, .pl-item b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-row small, .pl-item small { color: var(--muted); display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-row.sel, .pl-item.sel { background: #22324a; }
a.lib-row { cursor: pointer; }
.mini-thumb { width: 44px; height: 28px; border-radius: 4px; overflow: hidden; background: #000; flex: none; display: flex; align-items: center; justify-content: center; } .mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph { color: var(--muted); font-size: 18px; } .ph.spin { animation: spin 1.2s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.dragging { opacity: .4; }
.drop-before { box-shadow: inset 0 3px 0 var(--orange); } .order-row .drop-before, .bg-row .drop-before { box-shadow: -3px 0 0 var(--orange); }
.ico { width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--panel2); flex: none; font-size: 14px; }
.ico.k-song { background: #24426a; } .ico.k-media { background: #3a2f5c; } .ico.k-countdown { background: #6a3724; } .ico.k-text { background: #2d4a3c; } .ico.k-input { background: #5c2f45; }

/* ---------- dienst ---------- */
.svc { position: relative; height: 100%; display: grid; grid-template-columns: 250px 270px minmax(0, 1fr) 360px; gap: 8px; padding: 8px; }
@media (max-width: 1250px) { .svc { grid-template-columns: 210px 230px minmax(0, 1fr) 300px; } }
.pl-head { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--line); align-items: center; } .pl-head select { font-weight: 600; }
.pl-item.live { box-shadow: inset 3px 0 0 var(--live); } .pl-item.live.drop-before { box-shadow: inset 3px 0 0 var(--live), inset 0 3px 0 var(--orange); }
.pl-drop { padding: 22px 14px; color: var(--muted); text-align: center; font-size: 12.5px; border: 1px dashed var(--line); margin: 10px; border-radius: 8px; }
.sl-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); } .sl-head h3 { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opts { padding: 10px 12px; border-bottom: 1px solid var(--line); background: #101824; } .opts.row .field { margin: 0; flex-direction: row; align-items: center; gap: 8px; } .opts.row select { width: auto; }
.opts-head { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12.5px; }
.slide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; padding: 12px; }
.slide-card { padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; text-align: left; display: block; }
.slide-card:hover:not(:disabled) { border-color: var(--blue); background: #000; }
.slide-card .cap { display: flex; justify-content: space-between; padding: 3px 8px; background: var(--panel2); font-size: 12px; } .slide-card .cap i { color: #fff; background: var(--live); padding: 0 6px; border-radius: 4px; font-style: normal; font-weight: 700; font-size: 10.5px; }
.slide-card.t-c .cap { background: #5a3324; } .slide-card.t-b .cap { background: #3a2f5c; }
.slide-card.pv { border-color: var(--ok); } .slide-card.live { border-color: var(--live); box-shadow: 0 0 0 2px var(--live); }
.monitors { padding: 10px; gap: 8px; overflow: auto; }
.out-bar { display: flex; align-items: center; gap: 8px; } .out-bar select { width: auto; max-width: 150px; padding: 4px 6px; font-size: 12px; }
.mon-label { font-size: 11px; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .mon-label.live { color: var(--live); }
.stage-wrap.mon { border-radius: 8px; border: 1px solid var(--line); flex: none; } .stage-wrap.mon.small { width: 62%; cursor: pointer; }
.nav-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; } .nav-btns button { padding: 12px; font-size: 15px; }
.toggles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .toggles button.on { background: var(--live); border-color: var(--live); }
.video-ctl { display: flex; gap: 6px; align-items: center; }
.status-line { font-size: 12.5px; padding: 6px 9px; border-radius: 7px; background: #101824; } .status-line.ok { color: #8fd9b0; } .status-line.warn { color: #ffd58a; background: #3d2c0c; }
.links { display: flex; gap: 16px; font-size: 12.5px; }

/* ---------- volgorde-chips ---------- */
.order-row, .order-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .order-add { margin-top: 8px; font-size: 12.5px; }
.chip { display: inline-flex; align-items: center; gap: 3px; background: #24426a; border: 1px solid transparent; border-radius: 999px; padding: 3px 5px 3px 11px; font-weight: 600; cursor: grab; font-size: 13px; }
.chip button { background: transparent; border: 0; padding: 0 4px; color: rgba(255,255,255,.65); border-radius: 50%; } .chip button:hover { color: #fff; background: rgba(0,0,0,.25) !important; }
.chip.t-c { background: #8a4329; } .chip.t-b, .chip.t-p { background: #4b3d7a; } .chip.t-i, .chip.t-e, .chip.t-o { background: #3c4a5c; }
button.chip { padding: 3px 11px; cursor: pointer; } .chip.ghost { background: transparent; border: 1px dashed #4a5d78; color: var(--muted); font-weight: 500; } .chip.on { outline: 2px solid #fff; }

/* ---------- twee kolommen (liederen, countdown) ---------- */
.two-pane { height: 100%; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 8px; padding: 8px; } .two-pane:has(.side.narrow) { grid-template-columns: 240px minmax(0, 1fr); }
.side { padding: 0; } .side .toolbar { padding: 8px; } .side select { margin: 0 8px 8px; width: calc(100% - 16px); }
.main { overflow: auto; }
.song-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 22px; padding: 18px; align-items: start; } .song-edit:has(.wide) { grid-template-columns: minmax(0, 1fr) minmax(320px, 46%); }
.song-edit.page-pad { height: 100%; overflow: auto; }
.col.preview { position: sticky; top: 0; } .col.preview h4 { margin-top: 0; }
.pv-strip { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0; }
.section { background: #101824; border: 1px solid var(--line); border-left: 4px solid #2f5d99; border-radius: 8px; padding: 8px; margin-bottom: 8px; }
.section.t-c { border-left-color: var(--orange); } .section.t-b, .section.t-p { border-left-color: #7b63c9; } .section.t-i, .section.t-e, .section.t-o { border-left-color: #6b7c92; }
.sec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .sec-head select { width: auto; padding: 3px 6px; }
.handle { cursor: grab; color: var(--muted); font-size: 18px; padding: 0 4px; user-select: none; }
section[data-pv], .song-edit section { margin-bottom: 26px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* ---------- media ---------- */
.page { height: 100%; overflow: auto; padding: 18px 22px; } .page.dropping { outline: 3px dashed var(--orange); outline-offset: -8px; }
.page-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; flex-wrap: wrap; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } .media-grid.big { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 14px; }
.media-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; text-align: left; white-space: normal; }
button.media-card.sel { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.media-card .thumb { display: flex; aspect-ratio: 16/9; background: #000; align-items: center; justify-content: center; } .media-card .thumb img { width: 100%; height: 100%; object-fit: contain; } .media-card .ph { font-size: 34px; }
.media-card .name { padding: 6px 9px 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-card .meta { padding: 0 9px 6px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; align-items: center; min-height: 26px; }
.media-field { display: flex; align-items: center; gap: 8px; } .mf-thumb { width: 54px; height: 32px; background: #000; border-radius: 5px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; } .mf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mf-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bg-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.bg-thumb { width: 112px; height: 63px; border-radius: 7px; overflow: hidden; background: #000; position: relative; cursor: grab; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.bg-thumb img { width: 100%; height: 100%; object-fit: cover; } .bg-thumb button { position: absolute; top: 2px; right: 2px; padding: 0 6px; background: rgba(0,0,0,.7); border: 0; }
button.bg-thumb.add { flex-direction: column; background: var(--panel2); cursor: pointer; font-size: 20px; } .bg-thumb.add small { font-size: 11px; color: var(--muted); }
.prune-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; }
details { margin-top: 14px; } summary { cursor: pointer; color: var(--muted); }

/* ---------- beamervenster / volgscherm / afstandsbediening ---------- */
body.is-output { background: #000; cursor: none; }
.output { position: fixed; inset: 0; background: #000; display: flex; align-items: center; justify-content: center; }
.output .stage-wrap { width: min(100vw, 177.78vh); }
.output-hint { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.75); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; }
.remote { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 14px; max-width: 520px; margin: 0 auto; overflow: auto; }
.remote-top { display: flex; justify-content: space-between; align-items: center; } .remote-stage { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.remote-label { text-align: center; color: var(--muted); }
.remote-main { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; flex: 1; min-height: 160px; } .remote-main button { font-size: 22px; border-radius: 16px; }
.remote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .remote-row button { padding: 16px 4px; font-size: 15px; } .remote-row button.on { background: var(--live); border-color: var(--live); }
@media (max-width: 800px) { .svc, .two-pane, .song-edit { display: block; overflow: auto; } .svc > *, .two-pane > * { margin-bottom: 8px; max-height: 70vh; } .top nav a { padding: 0 8px; } .brand b, .user { display: none; } .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
.btn-link { display: block; text-decoration: none !important; } .btn-link button { width: 100%; margin: 8px 0 4px; }
.login .small { font-size: 12.5px; } .login .link { margin-top: 10px; }
.update-bar { background: #163a2a; color: #b8f0d2; padding: 7px 16px; border-bottom: 1px solid #2a6b4b; flex: none; display: flex; gap: 12px; align-items: center; }
.update-bar button { padding: 4px 12px; }
.changelog { white-space: pre-wrap; background: #0c131d; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; max-height: 260px; overflow: auto; font-size: 13px; }

/* ---------- aanleveren, voorvertoning, waarschuwingen ---------- */
.app.embed main { overflow: auto; }
.app.embed .page { padding: 10px; }
.submit .card { max-width: 900px; margin: 0 auto 14px; }
.day-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .day-chips input[type=date] { width: auto; }
.drop { border: 2px dashed #3d5270; border-radius: 12px; padding: 28px 16px; text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 4px; margin: 6px 0 4px; background: #0f1824; }
.drop:hover, .drop.over { border-color: var(--orange); background: #1d1a18; } .drop b { font-size: 16px; }
.sub-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sub-row b { display: block; word-break: break-word; } .sub-row small { display: block; color: var(--muted); } .sub-row .note { color: #c9d5e3; font-style: italic; }
.sub-thumb { width: 120px; aspect-ratio: 16/9; padding: 0; background: #000; overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.sub-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sub-act { display: flex; flex-direction: column; gap: 6px; align-items: stretch; } .sub-act select { width: auto; font-size: 12.5px; padding: 4px 6px; }
@media (max-width: 640px) { .sub-row { flex-wrap: wrap; } .sub-act { flex-direction: row; flex-wrap: wrap; width: 100%; } .sub-thumb { width: 96px; } }
.warnings { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; } .warnings.compact { font-size: 12.5px; }
.w-line { padding: 5px 9px; border-radius: 7px; background: #13202f; color: #b9cce2; line-height: 1.35; }
.w-line.warn { background: #3d2c0c; color: #ffd58a; } .w-line.error { background: #4a1d1d; color: #ffb4b4; } .w-line.ok { background: #12301f; color: #8fd9b0; font-size: 12.5px; }
.w-dot { color: var(--warn); font-size: 13px; }
.pv-box { background: #000; border-radius: 10px; display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; overflow: hidden; }
.pv-box img, .pv-box video { width: 100%; height: 100%; object-fit: contain; } .pv-box audio { width: 80%; } .pv-box p { padding: 20px; }
.pv-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 10px 0; } .pv-nav button { font-size: 18px; padding: 4px 16px; }
.pv-strip .pv-mini { width: 96px; aspect-ratio: 16/9; padding: 0; background: #000; overflow: hidden; } .pv-strip .pv-mini.on { outline: 2px solid var(--orange); }
.pv-mini img { width: 100%; height: 100%; object-fit: contain; }
.pv-strip { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
.media-card button.thumb { padding: 0; border: 0; border-radius: 0; width: 100%; }
.meta-acts { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 9px 8px; align-items: center; } .meta-acts button { padding: 4px 9px; font-size: 12.5px; }
.media-card .warnings { padding: 0 9px 9px; }
.lock-chip { font-size: 12px; background: #24426a; padding: 2px 8px; border-radius: 999px; } .lock-chip.other { background: #6a3724; }
.lib-group { padding: 8px 10px 4px; font-size: 11.5px; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pl-date { padding: 6px 8px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; } .pl-date input { padding: 3px 6px; font-size: 13px; width: auto; min-width: 0; max-width: 100%; } .pl-date input[type=date] { flex: 1 1 8em; width: 8em; } .pl-date .start-time { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; } .pl-date input[type=time] { width: 7.2em; } .pl-date { box-sizing: border-box; width: 100%; }
.info-bar { margin: 6px 8px 0; padding: 7px 10px; border-radius: 8px; background: #13304a; color: #b8dcff; font-size: 12.5px; }
.status-line.ppt { background: #3a1f12; color: #ffc6a8; }
.opts .row .check { margin: 0; }

/* ---------- afstandsbediening: hele dienst ---------- */
.remote-list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 30px; }
.rl-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .rl-head b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rl-head small { color: var(--muted); white-space: nowrap; }
.rl-slides { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.rl-slide { position: relative; padding: 0; aspect-ratio: 16/9; background: #000; overflow: hidden; border: 2px solid var(--line); border-radius: 7px; display: flex; align-items: center; justify-content: center; white-space: normal; }
.rl-slide img { width: 100%; height: 100%; object-fit: contain; }
.rl-slide .rl-text { font-size: 10.5px; padding: 4px 6px 14px; line-height: 1.25; color: #dfe7f1; overflow: hidden; max-height: 100%; text-align: center; }
.rl-slide i { position: absolute; left: 0; right: 0; bottom: 0; font-style: normal; font-size: 10px; background: rgba(0,0,0,.65); padding: 1px 4px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-slide.live { border-color: var(--live); box-shadow: 0 0 0 2px var(--live); } .rl-slide.t-c i { background: rgba(138,67,41,.85); }
.drop-veil { position: fixed; inset: 0; z-index: 80; background: rgba(10,18,30,.86); border: 4px dashed var(--orange); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; pointer-events: none; font-size: 22px; }
.drop-veil span { font-size: 14px; color: var(--muted); } .svc-picker { margin: 6px 0; } .check { display: flex; gap: 6px; align-items: center; } .muted.small { font-size: 12px; }
.icon-link, .btn-link { color: var(--text); text-decoration: none; border: 1px solid var(--line); border-radius: 7px; padding: 4px 9px; font-size: 13px; white-space: nowrap; } .icon-link:hover, .btn-link:hover { background: #1d2a3d; }
body.is-test { background: #0b121c; }
.output.test { position: fixed; inset: 0; background: #0b121c; flex-direction: column; gap: 10px; padding: 10px; }
.output.test .stage-wrap { width: min(calc(100vw - 20px), calc((100vh - 60px) * 1.7778)); outline: 1px solid #3d5270; }
.test-bar { background: #e8590c; color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; }
/* muziekteam */
.page.music { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.music-side { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; }
.music-side h3 { margin: 0 0 4px; } .plan-row { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 8px 12px; gap: 1px; } .plan-row.on { outline: 2px solid var(--orange); }
.plan-row small { color: var(--muted); } .music-main { min-width: 0; } .music-head { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; } .music-head h2 { margin: 0; }
.music-list { display: flex; flex-direction: column; gap: 12px; } .music-list > .drop-before { box-shadow: 0 -3px 0 var(--orange); }
.music-entry { background: var(--panel, #162234); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.me-head { display: flex; gap: 8px; align-items: center; } .me-head .handle { cursor: grab; color: var(--muted); } .me-nr { background: var(--orange); color: #fff; border-radius: 999px; min-width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.me-text { display: flex; flex-wrap: wrap; gap: 4px 22px; } .me-sec { min-width: 220px; } .me-lab { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); } .me-lines { white-space: pre-line; line-height: 1.4; }
.me-skip { width: 100%; font-size: 12px; color: var(--muted); font-style: italic; } .me-note { width: 100%; }
.pick-list { max-height: 55vh; overflow: auto; display: flex; flex-direction: column; gap: 2px; margin: 8px 0; } .pick-row { display: flex; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 8px; } .pick-row:hover { background: #1d2a3d; }
.pick-row .line1 { display: block; color: var(--muted); font-size: 12px; } .btn-link.disabled { opacity: .45; pointer-events: none; }
@media (max-width: 820px) { .page.music { grid-template-columns: 1fr; } .music-side { position: static; } }
.plan-row.on small { color: #fff; opacity: .85; }
/* sneltoetsen-balk */
.hk-bar { display: flex; gap: 4px; align-items: center; overflow-x: auto; max-width: 46vw; scrollbar-width: none; }
.hk { display: flex; align-items: center; gap: 5px; padding: 3px 6px 3px 7px; border-radius: 8px; font-size: 11px; background: transparent; border: 1px solid var(--line); }
.hk b { color: var(--muted); font-weight: 700; } .hk.on { border-color: var(--orange); background: rgba(232,89,12,.18); } .hk.on b { color: var(--orange); }
.hk-th { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 22.5px; border-radius: 3px; overflow: hidden; background: #000; outline: 1px solid rgba(255,255,255,.12); flex: none; }
.hk-th img { width: 100%; height: 100%; object-fit: cover; } .hk-th img.logo { width: auto; height: 80%; object-fit: contain; }
.hk-th i { position: absolute; font-style: normal; font-size: 9px; color: #fff; text-shadow: 0 0 3px #000; }
.start-clock { transition: background-color .8s ease, color .8s ease, border-color .8s ease; text-align: center; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.start-clock b { font-size: 14px; } .start-clock.soon { border-color: var(--orange); color: var(--orange); }
.start-clock.last, .start-clock.now { background: var(--orange); color: #fff; border-color: var(--orange); animation: scPulse 2s ease-in-out infinite; } .start-clock.last .muted, .start-clock.now .muted { color: #fff; transition: color .8s ease; }
.start-clock.running { color: var(--muted); }
@keyframes scPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,140,0,0); } 50% { box-shadow: 0 0 0 5px rgba(255,140,0,.35); } }
.req { color: var(--orange); font-size: 11px; text-transform: uppercase; margin-left: 6px; }
.big-time { font-size: 22px; padding: 6px 10px; width: 150px; } .big-time.missing, .start-time.missing input { outline: 2px solid var(--orange); }
.start-time { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.announce-cd { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 6px; }
.bt-n { position: absolute; left: 3px; bottom: 2px; font-size: 10px; background: rgba(0,0,0,.6); padding: 0 4px; border-radius: 4px; }
.pl-item:has(.k-announce) { border-left: 3px solid #e0b33a; }
/* mediabibliotheek met mappen */
.page.media-page { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: start; }
.folders { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; max-height: calc(100vh - 90px); overflow: auto; }
.folder { display: flex; gap: 7px; align-items: center; text-align: left; background: transparent; border: 1px solid transparent; padding: 6px 10px; border-radius: 8px; }
.folder:hover { background: #1d2a3d; } .folder.on { background: #1d2a3d; border-color: var(--line); font-weight: 600; } .folder small { color: var(--muted); }
.folder.over { border-color: var(--orange); background: rgba(232,89,12,.2); }
.media-main { min-width: 0; } .media-card { position: relative; } .media-card.sel { outline: 2px solid var(--orange); }
.mc-check { position: absolute; top: 6px; left: 6px; z-index: 2; width: 18px; height: 18px; opacity: .35; } .media-card:hover .mc-check, .mc-check:checked { opacity: 1; }
.sel-bar { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border: 1px solid var(--orange); border-radius: 10px; margin: 8px 0; }
@media (max-width: 820px) { .page.media-page { grid-template-columns: 1fr; } .folders { position: static; max-height: none; } }
/* opmaak */
.settings-page { display: grid; grid-template-columns: 240px minmax(0, 1fr) minmax(320px, 40%); gap: 20px; padding: 16px 18px; height: 100%; overflow: auto; align-items: start; }
.set-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; }
.set-nav button { display: flex; gap: 10px; align-items: center; text-align: left; padding: 9px 11px; background: transparent; border: 1px solid transparent; border-radius: 10px; }
.set-nav button:hover { background: #1d2a3d; } .set-nav button.on { background: #1d2a3d; border-color: var(--orange); }
.set-nav small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.set-ico { display: inline-flex; width: 32px; height: 32px; border-radius: 9px; align-items: center; justify-content: center; background: rgba(232,89,12,.16); font-size: 16px; flex: none; }
.set-body h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; } .set-body fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.set-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; } .set-card h4 { margin: 0 0 8px; }
.set-pv { position: sticky; top: 0; display: flex; flex-direction: column; gap: 8px; } .set-pv h4 { margin: 0; }
.fx-list { display: flex; flex-direction: column; gap: 8px; }
.fx-row { display: grid; grid-template-columns: 170px 1fr 1fr 200px; gap: 12px; align-items: center; margin: 0; }
.fx-name { display: flex; align-items: center; gap: 8px; } .fx-ico { font-size: 20px; width: 28px; text-align: center; }
.fx-pv { position: relative; } .fx-pv .stage-wrap { width: 200px; height: 112.5px; border-radius: 6px; overflow: hidden; }
.fx-play { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; border: 2px solid #fff; font-size: 15px; }
.keys td { padding: 5px 8px; vertical-align: middle; } kbd { background: #1d2a3d; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 2px 7px; font-weight: 700; }
@media (max-width: 1200px) { .settings-page { grid-template-columns: 200px 1fr; } .set-pv { grid-column: 2; position: static; } .fx-row { grid-template-columns: 1fr 1fr; } }
.settings-page.nopv { grid-template-columns: 240px minmax(0, 1fr); } .settings-page.nopv .set-body { max-width: 1100px; }
.fx-row select { min-width: 150px; }

/* Dienst zonder starttijd: de rest blijft wazig en onbruikbaar */
.svc.locked > .lib, .svc.locked > .slides, .svc.locked > .monitors, .svc.locked .pl-items { filter: blur(7px) grayscale(.4); pointer-events: none; user-select: none; opacity: .75; }
.svc .playlist { position: relative; }
.lock-note { position: absolute; left: 12px; right: 12px; top: 130px; z-index: 5; background: var(--panel, #1b2430); border: 2px solid var(--orange, #f0a37c); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.lock-note span { font-size: 13px; color: var(--muted); } .lock-note label { display: flex; gap: 8px; align-items: center; font-weight: 600; } .lock-note input { font-size: 20px; padding: 4px 8px; }

/* Een bestand uit de bibliotheek slepen: de mappen springen eruit */
.media-card img, .media-card video { -webkit-user-drag: none; user-select: none; }
.media-card.dragging { opacity: .45; }
body.dragging-media .folders { outline: 2px dashed var(--orange); outline-offset: 4px; background: rgba(232,89,12,.1); border-radius: 10px; position: relative; z-index: 60; }
body.dragging-media .folders::before { content: 'Laat los op een map'; display: block; font-size: 12px; font-weight: 700; color: var(--orange); padding: 2px 10px 6px; }
body.dragging-media .folder { background: #22344d; border: 1px solid #4b6a93; font-size: 15px; font-weight: 600; padding-top: 9px; padding-bottom: 9px; animation: folderPulse 1.1s ease-in-out infinite alternate; }
body.dragging-media .folder.over { background: rgba(232,89,12,.45); border: 2px solid var(--orange); transform: scale(1.04); animation: none; box-shadow: 0 0 0 4px rgba(232,89,12,.25); }
@keyframes folderPulse { to { border-color: var(--orange); } }
.txt-row { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }

.ver-chip { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; color: inherit; text-decoration: none; font-variant-numeric: tabular-nums; transition: border-color .6s, background-color .6s; }
.ver-chip.busy { border-color: var(--orange); } .ver-chip.ok { border-color: #2f9e44; }
/* tijdens het downloaden kleurt het hele versie-balkje van links naar rechts mee met de voortgang */
.ver-chip.dl { background: linear-gradient(90deg, rgba(232, 89, 12, .55) var(--pct, 0%), transparent var(--pct, 0%)); transition: border-color .6s, --pct .4s; }
@property --pct { syntax: '<percentage>'; inherits: false; initial-value: 0%; }

/* versleepbare naden tussen de kolommen van het dienst-scherm */
.col-handle { position: absolute; top: 8px; bottom: 8px; width: 10px; margin-left: -5px; margin-right: -5px; cursor: col-resize; z-index: 5; border-radius: 4px; touch-action: none; }
.col-handle::after { content: ''; position: absolute; left: 4px; top: 50%; width: 2px; height: 40px; margin-top: -20px; border-radius: 2px; background: var(--line); opacity: .7; transition: background .2s, height .2s, margin .2s; }
.col-handle:hover::after, body.col-resizing .col-handle::after { background: var(--orange); height: 80px; margin-top: -40px; opacity: 1; }
body.col-resizing { cursor: col-resize; user-select: none; } body.col-resizing iframe, body.col-resizing .stage-wrap { pointer-events: none; }
@media (max-width: 800px) { .col-handle { display: none; } }

.ver-chip.bad { border-color: #e03131; }
.desk-up { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.desk-up h4 { margin: 0 0 6px; }
.dl-bar { position: relative; height: 30px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; border: 1px solid var(--line); }
.dl-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #c2410c, var(--orange)); transition: width .4s linear; }
.dl-bar span { position: relative; display: block; line-height: 30px; padding: 0 12px; font-variant-numeric: tabular-nums; }

/* importvenster liederen */
.modal:has(.imp) { width: min(1400px, 100%); height: 92vh; } .modal:has(.imp) .modal-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.imp { display: flex; flex-direction: column; gap: 8px; min-height: 0; flex: 1; border-radius: 10px; }
.imp.over { outline: 2px dashed var(--orange); outline-offset: 4px; }
.imp-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 2px dashed var(--line); border-radius: 12px; padding: 40px; text-align: center; }
.imp-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; min-height: 0; flex: 1; }
.imp-left, .imp-right { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.imp-right { overflow: auto; padding-right: 4px; }
.imp-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border-radius: 999px; padding: 3px 10px; font-size: 12.5px; } .chip.on { background: var(--orange); color: #fff; border-color: var(--orange); } .chip b { margin-left: 3px; font-variant-numeric: tabular-nums; }
.imp-all { display: flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.imp-list { flex: 1; overflow: auto; border: 1px solid var(--line); border-radius: 8px; min-height: 120px; }
.imp-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-bottom: 1px solid var(--line); cursor: pointer; }
.imp-row:hover { background: rgba(255,255,255,.04); } .imp-row.cur { background: rgba(232, 89, 12, .16); } .imp-row.err b { color: #ff8787; }
.imp-row small { display: block; color: var(--muted); }
.ib { font-size: 11px; padding: 2px 7px; border-radius: 999px; white-space: nowrap; } .ib.ok { background: rgba(47,158,68,.25); } .ib.old { background: rgba(250,176,5,.22); } .ib.bad { background: rgba(224,49,49,.3); }
.imp-global { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; max-height: 42%; overflow: auto; }
.imp-global summary { cursor: pointer; padding: 2px 0 6px; }
.ig-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 5px 0; } .ig-row > span:first-child { width: 64px; color: var(--muted); font-size: 13px; }
.ig-row input:not([type=checkbox]) { width: 140px; } .ig-row button { padding: 4px 9px; font-size: 12.5px; }
.imp-head { display: flex; align-items: center; gap: 8px; }
.imp-sec { border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; margin-bottom: 6px; } .imp-sec textarea { width: 100%; margin-top: 4px; font-family: inherit; resize: vertical; }
.imp-foot { border-top: 1px solid var(--line); padding-top: 8px; }
.panel.drop-over { outline: 2px dashed var(--orange); outline-offset: -4px; }
.imp select { width: auto; } .imp .imp-sec .row { display: flex; align-items: center; gap: 8px; }
.imp-list { min-height: 260px; } .imp-global { max-height: 34%; flex: none; }
.imp-foot { display: flex; align-items: center; gap: 8px; } .imp-foot select { max-width: 360px; }
.imp-left > .toolbar { display: flex; align-items: center; gap: 10px; } .imp-left > .toolbar .search { margin: 0; }
/* Bijwerken: server en Desktop naast elkaar, changelog */
.ver-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 12px; margin: 10px 0; }
.ver-card { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: rgba(255,255,255,.02); }
.ver-card h4 { margin: 0 0 8px; }
.ver-rows { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 14px; align-items: center; margin-bottom: 8px; }
.ver-rows > span:nth-child(3n+1) { color: var(--muted, #9fb0c3); } .ver-rows b { font-size: 18px; font-variant-numeric: tabular-nums; }
.vbadge { display: inline-block; justify-self: start; font-size: 12px; padding: 1px 8px; border-radius: 99px; background: rgba(255,255,255,.08); } .vbadge.ok { background: rgba(60,180,110,.2); color: #7be0a6; } .vbadge.busy { background: rgba(240,163,124,.2); color: #f0a37c; }
.chlog-wrap { margin-top: 8px; } .chlog-wrap > summary { cursor: pointer; padding: 4px 0; }
.chlog { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; background: #0c131d; font-size: 13px; }
.chlog details { border-bottom: 1px solid var(--line); padding: 6px 0; } .chlog details:last-child { border: 0; } .chlog details.is-new { background: rgba(240,163,124,.05); }
.chlog summary { cursor: pointer; } .chlog ul { margin: 6px 0 2px 18px; padding: 0; } .chlog li { margin: 3px 0; } .chlog li.sub { margin-left: 18px; list-style: circle; } .chlog li.cont { list-style: none; margin-left: -18px; color: var(--muted, #9fb0c3); }
.long-verses { margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 8px; display: grid; gap: 6px; } .long-verses .row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .long-verses .lv { padding: 2px 0; }
.long-verses select { width: auto; max-width: 100%; }
.bi-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; border-top: 1px dashed var(--line); padding-top: 8px; } .bi-row select { width: auto; }
.ord-line { width: 16px; height: 2px; background: var(--orange); position: relative; flex: none; opacity: .85; } .ord-line::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 6px solid var(--orange); border-right: 0; }
.ord-start, .ord-end { color: var(--orange); font-size: 11px; flex: none; } .ord-start { margin-right: -2px; }
.ord-nr { font-style: normal; font-size: 10.5px; background: rgba(0,0,0,.35); border-radius: 99px; min-width: 16px; height: 16px; line-height: 16px; text-align: center; margin: 0 5px 0 -6px; font-variant-numeric: tabular-nums; }
.chip.t-m { background: #2f5d4c; } .chip.ghost.t-m { background: transparent; border-color: #3d7a63; color: #8fd6b8; }
.order-row { row-gap: 10px; }
.mon-box { position: relative; }
.ann-ring { position: relative; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 8px; vertical-align: middle; color: var(--text, #fff); letter-spacing: 0; }
.ann-ring svg { position: absolute; inset: 0; width: 26px; height: 26px; transform: rotate(-90deg) scaleY(-1); }
.ann-ring circle { fill: none; stroke-width: 3.2; } .ann-ring .bg { stroke: rgba(255,255,255,.18); } .ann-ring .fg { stroke: var(--orange); stroke-dasharray: 97.4; stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.ann-ring span { position: relative; font-weight: 700; font-size: 10.5px; font-variant-numeric: tabular-nums; } .ann-ring.paused .fg { stroke: #888; }
.me-text { align-items: flex-start; } .me-arrow { margin-top: 8px; } .me-lab .ord-nr { margin: 0 6px 0 0; display: inline-block; color: #fff; background: rgba(240,120,60,.35); padding: 0 4px; }
.bg-thumb .crop-btn { top: auto; bottom: 2px; right: auto; left: 2px; }
.crop-box { position: relative; width: 100%; max-width: 760px; aspect-ratio: 16 / 9; margin: 6px auto 12px; border-radius: 8px; overflow: hidden; background: #000; cursor: grab; touch-action: none; border: 1px solid var(--line); }
.crop-box:active { cursor: grabbing; } .crop-box .cd-crop { position: absolute; inset: 0; overflow: hidden; } .crop-box img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; pointer-events: none; }
.crop-grid { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 33.2%, rgba(255,255,255,.25) 33.3%, transparent 33.5%, transparent 66.5%, rgba(255,255,255,.25) 66.6%, transparent 66.8%), linear-gradient(transparent 33.2%, rgba(255,255,255,.25) 33.3%, transparent 33.5%, transparent 66.5%, rgba(255,255,255,.25) 66.6%, transparent 66.8%); }
.pick-media { display: grid; grid-template-columns: 210px 1fr; gap: 12px; min-height: 300px; } .pick-media .folders { max-height: 60vh; overflow: auto; border-right: 1px solid var(--line); padding-right: 8px; } .pick-media .media-grid { max-height: 60vh; overflow: auto; align-content: start; }
.ask-dlg { background: var(--panel, #141c28); color: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-width: 360px; } .ask-dlg::backdrop { background: rgba(0,0,0,.5); } .ask-dlg input { width: 100%; margin: 6px 0 12px; } .ask-dlg p { margin: 0 0 4px; }
.svc-list-pick { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; } .svc-list-pick .chip { padding: 6px 12px; font-size: 13.5px; }
.svc-new { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; margin-bottom: 10px; } .svc-new label { display: flex; align-items: center; gap: 6px; } .svc-new input.missing { outline: 1px solid var(--orange); }
.lib-folder { display: flex; align-items: center; gap: 6px; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 7px 8px; font-weight: 600; position: sticky; top: 0; z-index: 2; background: var(--panel, #141c28); }
.lib-folder .caret { width: 12px; color: var(--muted); } .lib-folder small { color: var(--muted); font-weight: 500; } .lib-folder:hover { background: rgba(255,255,255,.04); }
.lib-sub { padding-left: 10px; border-left: 2px solid rgba(240,120,60,.25); margin-left: 12px; }

/* slepen met de vinger */
.drag-ghost { position: fixed; z-index: 1000; pointer-events: none; opacity: .9; box-shadow: 0 8px 24px rgba(0,0,0,.5); margin: 0 !important; }
body.touch-dragging { user-select: none; -webkit-user-select: none; }
.chip, .handle { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* muziekteam op telefoon en tablet */
.me-head { flex-wrap: wrap; } .me-head .grow { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.me-text { flex-direction: row; } .me-sec { flex: 1 1 220px; }
@media (max-width: 700px) {
  .music-head h2 { font-size: 22px; width: 100%; } .music-head .grow { flex-basis: 100%; }
  .me-head .grow { flex-basis: calc(100% - 80px); } .me-head > button:not(.icon) { margin-left: auto; }
  .me-text { flex-direction: column; } .me-sec { flex: none; min-width: 0; }
}
@media (pointer: coarse) {
  .order-row .chip { padding: 7px 8px 7px 12px; font-size: 15px; } .order-row .chip button { padding: 4px 9px; font-size: 15px; }
  .order-add .chip { padding: 7px 12px; font-size: 14px; } .me-head .handle { font-size: 22px; padding: 4px 6px; touch-action: none; }
  .me-head button.icon { min-width: 40px; min-height: 40px; }
}
.music-pick { display: none; }
@media (max-width: 820px) { .music-pick { display: block; margin-bottom: 10px; } .music-pick select { width: 100%; font-size: 16px; padding: 10px; } .music-side { display: none; } }
.mon-label.ml-row { display: flex; align-items: center; overflow: visible; min-height: 26px; } .ml-row .ml-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .ml-row .ann-ring { flex: none; }
