/* SPDX-License-Identifier: LicenseRef-LiberUnda-Freeware
   Copyright (C) 2026 Christophe Nutoni. All rights reserved.
   The Shows screen. */
body[data-view="shows"] .panel.log, body[data-view="shows"] aside:not(.al-col) { display: none; }
.sh-warn { margin: 0 0 10px; color: var(--amber); font-size: 13px; }
.sh-warn[hidden] { display: none; }
.al-form label.sh-c-open[hidden] { display: none; }
.sh-list, .sh-eps, .sh-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sh-list li { display: flex; gap: 6px; align-items: stretch; }
.sh-show { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; text-align: left; border-radius: 9px; border: 1px solid var(--edge); border-left: 4px solid var(--voice); background: none; color: var(--text); font: inherit; cursor: pointer; }
.sh-show.on { background: color-mix(in srgb, var(--voice) 16%, transparent); }
.sh-show small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.sh-rec { color: var(--red); font-size: 12px; font-weight: 700; }
.sh-ep { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--edge); }
.sh-ep > div { display: flex; flex-direction: column; min-width: 0; }
.sh-ep small { color: var(--soft); font-size: 12px; }
.sh-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sh-titles { flex-basis: 100%; margin: 4px 0 0; padding-left: 20px; font-size: 12px; color: var(--soft); }
.sh-titles[hidden] { display: none; }
.sh-titles time { font-family: var(--mono); color: var(--muted); }
#sh-audio { width: 100%; margin-top: 8px; }
#sh-audio[hidden] { display: none; }
.sh-note { margin-top: 14px; font-size: 12px; }
.sh-label { font-size: 12px; color: var(--soft); }
.sh-slots li { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 6px; }
.sh-slots label { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--soft); }
.sh-days { display: flex; flex-wrap: wrap; gap: 4px; }
.sh-days label { flex-direction: row !important; align-items: center; gap: 2px; }
.sh-error { color: var(--red); font-size: 13px; min-height: 1em; }
.sh-acts a.btn { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); }
.sh-claim { color: var(--amber, #F2A33A); font-weight: 600; }
.sh-due { color: var(--red); font-weight: 600; }

/* The week of the shows, and preparing one (23/11/2026). */
.sw, .shp { margin: 0 0 16px; }
.sw[hidden], .shp[hidden], .shp-list[hidden], .shp-band[hidden], #sh-body[hidden] { display: none; }
.sw-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sw-head .muted { font-size: 12px; color: var(--amber); }
.sw-grid { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.sw-grid > p { grid-column: 1 / -1; padding: 12px; margin: 0; }
.sw-c { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 58px; padding: 4px; }
.sw-hd { min-height: 0; padding: 6px 4px; text-align: center; font-size: 12px; color: var(--muted); background: #0F1318; }
.sw-hr { font: 11px var(--mono); color: var(--muted); text-align: right; padding-top: 8px; }
.sw-blk { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px 7px; border-radius: 7px; border: 1px solid var(--edge); border-left: 3px solid var(--jingle); background: rgba(242,163,58,.07); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.sw-blk:hover { background: rgba(242,163,58,.14); }
.sw-blk b { font-size: 12.5px; } .sw-blk small { font-size: 11px; color: var(--muted); }
.sw-tag, .shp-fill-tag { font-size: 10.5px; padding: 1px 7px; border-radius: 10px; border: 1px solid #2E3743; color: var(--muted); white-space: nowrap; }
.sw-tag.ok, .shp-fill-tag.ok { color: #7FE0A8; border-color: #1F6B46; }
.sw-tag.half, .shp-fill-tag.half { color: #FFCF7A; border-color: #7A5320; }
.shp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.shp-title { display: flex; flex-direction: column; flex: 1; min-width: 180px; }
.shp-title b { font-size: 16px; } .shp-title small { color: var(--muted); font-size: 12px; }
.shp-mode { display: flex; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; }
.shp-mode button { border: 0; background: none; color: var(--soft); padding: 5px 11px; font: inherit; font-size: 12.5px; cursor: pointer; }
.shp-mode button.on { background: #24303C; color: var(--text); }
.shp-air { background: linear-gradient(180deg, #7A2620, #4A1612) !important; border-color: #A8352C !important; }
.shp-fill { height: 6px; border-radius: 3px; background: #232A34; overflow: hidden; margin: 10px 0; }
.shp-fill i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2F7D52, #3DD68C); transition: width .2s; }
.shp-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 14px; }
.shp-drop { border: 1px solid var(--edge); border-radius: 10px; padding: 6px; min-height: 260px; }
.shp-drop.over { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(255,181,71,.15) inset; }
.shp-list, .shp-res { list-style: none; margin: 0; padding: 0; }
.shp-list li, .shp-res li { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.shp-list li[data-i], .shp-res li[data-r] { cursor: grab; }
.shp-list li i, .shp-res li i { width: 4px; align-self: stretch; border-radius: 2px; background: var(--c); flex: none; }
.shp-list time { font: 11.5px var(--mono); color: var(--muted); width: 40px; flex: none; }
.shp-ti { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.shp-ti b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shp-ti small { color: var(--muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shp-d { font: 11.5px var(--mono); color: var(--muted); }
.shp-x, .shp-add { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--edge); background: #1C2128; color: var(--soft); cursor: pointer; flex: none; }
.shp-list li.shp-before, .shp-list.shp-before { box-shadow: inset 0 2px 0 var(--amber); }
.shp-list.shp-before { box-shadow: inset 0 -2px 0 var(--amber); }
.shp-empty { color: var(--muted); justify-content: center; padding: 40px 10px !important; border: 0 !important; }
.shp-hint { font-size: 12px; margin: 8px 4px 2px; }
.shp-lib { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.shp-lib input { width: 100%; }
.shp-res { max-height: 520px; overflow: auto; border: 1px solid var(--edge); border-radius: 10px; }
.shp-band { position: relative; height: 130px; margin: 8px 4px; border-radius: 8px; background: #0F1318; border: 1px solid var(--line); overflow: hidden; }
.shp-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: #1E252E; }
.shp-tick em { position: absolute; top: 4px; left: 4px; font: 10.5px var(--mono); font-style: normal; color: var(--muted); white-space: nowrap; }
.shp-seg { position: absolute; top: 30px; height: 70px; border-radius: 5px; background: var(--c); color: #0B0D10; font-size: 10.5px; font-weight: 600; padding: 3px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-shadow: inset -1px 0 0 rgba(0,0,0,.35); }
.shp-gap { position: absolute; top: 30px; height: 70px; border-radius: 5px; border: 1px dashed #4B5563; background: repeating-linear-gradient(135deg, #2A3038 0 6px, #20252C 6px 12px); color: var(--soft); font-size: 11px; display: grid; place-items: center; }
.shp-top { position: absolute; right: 0; top: 0; bottom: 0; width: 2px; background: var(--red); box-shadow: 0 0 6px var(--red); }
.shp-note { font-size: 12px; margin: 8px 0 0; }
.shp-opt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid var(--edge); border-radius: 9px; margin-top: 8px; cursor: pointer; }
.shp-opt:has(input:checked) { border-color: #2F7D52; background: rgba(61,214,140,.07); }
.shp-opt:has(input:disabled) { opacity: .45; cursor: default; }
.shp-opt > span { display: flex; flex-direction: column; } .shp-opt small { color: var(--muted); font-size: 12px; }
@media (max-width: 1100px) { .shp-body { grid-template-columns: 1fr; } }
.shp-add-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 6px 4px 10px; }
.shp-add-row .muted { font-size: 12.5px; }

.shp-lib-head { display: flex; align-items: baseline; gap: 8px; }
.shp-lib-head b { font-size: 14px; } .shp-lib-head .muted { font-size: 12px; }
.shp-lib .lib-tools { display: flex; }
.shp-libempty { color: var(--soft); line-height: 1.5; padding: 18px 14px !important; border: 0 !important; }
.shp-play { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #3A4756; background: #1E252E; color: var(--soft); font-size: 10px; cursor: pointer; flex: none; }
.shp-play.on { background: var(--amber); border-color: var(--amber); color: #0B0D10; }
.shp-list li .shp-ti { flex: 0 0 var(--shp-title-w, 220px); max-width: 70%; }
.shp-wave { flex: 1 1 auto; min-width: 60px; height: 28px; cursor: pointer; }
.shp-list li.shp-seam { padding: 0 8px 0 58px !important; border-bottom: 0 !important; cursor: default; }
.shp-seam-b { border: 0; background: none; color: #B98A3C; font: inherit; font-size: 11px; padding: 1px 6px; border-left: 2px dashed #7A5320; cursor: pointer; }
.shp-seam-b.on { color: var(--amber); }
.shp-out { font-size: 12px; color: var(--soft); }
.shp-add-row .spacer { flex: 1; }
.shp-vhere { border-left: 0; color: #3FAE77; }
.shp-vsheet { width: min(620px, 94vw); }
.shp-vtabs { margin: 0 0 12px; width: max-content; }
.shp-vpane[hidden] { display: none; }
.shp-recrow { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.shp-rectime { font: 600 20px var(--mono); color: var(--amber); }
.shp-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--soft); margin-bottom: 8px; }
.shp-field textarea, .shp-field select { font: inherit; font-size: 14px; color: var(--text); background: #0E1115; border: 1px solid #2D333C; border-radius: 8px; padding: 8px 10px; }
#shp-made { max-height: 300px; }
#shp-made li { cursor: pointer; } #shp-made li.sel { background: rgba(61,214,140,.12); }
.shp-band { display: block; }
.shp-band.compact { height: 84px; margin: 2px 4px 8px; }
.shp-band.compact .shp-seg, .shp-band.compact .shp-gap { height: 18%; font-size: 0; padding: 0; }
.shp-band:not(.compact) .shp-seg, .shp-band:not(.compact) .shp-gap { height: 22%; }
.shp-band .shp-gap { top: 22%; height: 74% !important; opacity: .35; }
.shp-band.compact .shp-gap { font-size: 0; }
.shp-lane { position: absolute; left: 4px; font-size: 9.5px; color: #59606B; letter-spacing: .04em; pointer-events: none; z-index: 0; }
.shp-seg { cursor: pointer; z-index: 1; }
.shp-bhead { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 6px #fff; z-index: 2; }
.shp-bhead[hidden] { display: none; }
.shp-grip { flex: none; width: 9px; align-self: stretch; margin: -6px 0; cursor: col-resize; position: relative; }
.shp-grip::after { content: ''; position: absolute; left: 4px; top: 25%; bottom: 25%; width: 1px; background: #2E3743; }
.shp-grip:hover::after, .shp-resizing .shp-grip::after { background: var(--amber); width: 2px; }
body.shp-resizing { cursor: col-resize; user-select: none; -webkit-user-select: none; }
/* Voice track in Shows (26/11/2026) */
#shp-list li .shp-vtw { flex: 0 0 auto; width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer; background: rgba(61,214,140,0.12); border: 1px solid rgba(61,214,140,0.55); margin-left: 6px; }
#shp-list li .shp-vtw svg { width: 15px; height: 15px; fill: none; stroke: #3DD68C; stroke-width: 2; stroke-linecap: round; }
#shp-list li .shp-vtw:hover { background: rgba(61,214,140,0.24); }
.shp-badge { flex: 0 0 auto; font-size: 11px; padding: 2px 8px; border-radius: 9px; background: #1b2230; color: #b8c4d4; cursor: pointer; white-space: nowrap; margin-left: 6px; }
.shp-badge.ok { background: rgba(61,214,140,.14); color: #9fe7c2; }
.shp-badge.w { background: rgba(242,163,58,.16); color: #ffd58a; }
.shp-vt-sheet { width: min(1100px, 96vw); max-height: 92vh; overflow: auto; }

/* « Ready » said by the host on « My shows » (26/11/2026). */
.sw-ready { display: block; font-size: 11px; color: #3DD68C; margin-top: 2px; }
