* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; color: #1a1a1a; background: #f5f5f3; }
a { color: #2f5bb7; }
.bar { background: #1a1a1a; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; flex-wrap: wrap; position: sticky; top: 0; z-index: 5; }
.bar a { color: #ddd; text-decoration: none; }
.brand { font-weight: 700; color: #ff8a5c !important; padding: 14px 0; }
.bar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.bar nav a { padding: 14px 12px; }
.bar nav a:hover, .bar nav a.on { color: #fff; box-shadow: inset 0 -3px 0 #ff8a5c; }
.page { max-width: 1200px; margin: 0 auto; padding: 24px; }
.head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
h1 { margin: 0; font-size: 26px; } h2 { font-size: 18px; margin: 28px 0 10px; } h3 { margin: 24px 0 8px; font-size: 16px; }
.flash { background: #e6f4ea; border: 1px solid #b6dfc2; padding: 10px 14px; border-radius: 6px; }
.err { color: #b3261e; }
.hint, .muted, small { color: #777; }
small { display: inline-block; font-size: 12px; }
.btn { display: inline-block; background: #fff; border: 1px solid #ccc; border-radius: 6px; padding: 8px 14px; font: inherit; color: #1a1a1a; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: #888; }
.btn.primary { background: #d9552b; border-color: #d9552b; color: #fff; }
.btn.primary:hover { background: #c04820; }
.btn.danger { color: #b3261e; border-color: #e3b4b0; }
.btn.sm { padding: 4px 10px; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stats div { background: #fff; border-radius: 8px; padding: 16px; border: 1px solid #e5e5e5; }
.stats b { display: block; font-size: 30px; } .stats span { color: #777; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid #e5e5e5; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #777; background: #fafafa; }
.tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid #eee; vertical-align: middle; }
.tbl tr.off td { opacity: .5; } .tbl tr.past td { color: #888; }
.tbl td small { display: block; }
.right { text-align: right; } .nowrap { white-space: nowrap; }
.mini { width: 64px; height: 36px; object-fit: cover; border-radius: 3px; display: block; background: #eee; }
.num { width: 70px; }
.pill { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #eee; }
.pill.tour { background: #d9552b; color: #fff; }
.st-confirmed { background: #e6f4ea; color: #1e6b3a; } .st-soldout { background: #1a1a1a; color: #fff; }
.st-cancelled { background: #fbe4e2; color: #b3261e; } .st-postponed { background: #fff1d6; color: #8a5a00; }
.tgl { margin: 0; }
.switch { font: inherit; font-size: 11px; font-weight: 700; border: 0; border-radius: 99px; padding: 4px 10px; cursor: pointer; background: #ddd; color: #666; min-width: 48px; }
.switch.on.visible { background: #2f5bb7; color: #fff; } .switch.on.available { background: #2f8f5b; color: #fff; }
.form { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 20px 24px; }
.form.narrow { max-width: 720px; }
.form label { display: block; font-weight: 600; font-size: 13px; margin: 0 0 14px; }
.form input:not([type=checkbox]):not([type=file]), .form select, .form textarea, .filterbar select, .filterbar input[type=search], .login input {
  display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #ccc; border-radius: 6px; font: inherit; font-weight: 400; background: #fff; }
.form input.num { width: 110px; }
.form textarea.mono, code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.form input[type=file] { display: block; margin-top: 6px; font-weight: 400; }
.form label.inline { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.form label.inline input:not([type=checkbox]) { display: inline-block; width: 180px; margin: 0; }
.form label.pad { margin-top: 26px; }
.checks { border: 1px solid #eee; border-radius: 6px; padding: 10px 14px; margin: 0 0 16px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.checks label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 400; font-size: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 760px) { .grid2, .grid3 { grid-template-columns: 1fr; } .tbl { display: block; overflow-x: auto; } }
.preview { max-width: 100%; max-height: 220px; border-radius: 6px; margin: 4px 0 8px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.danger { margin-top: 18px; }
.filterbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.filterbar select { width: auto; margin: 0; }
.login { max-width: 360px; margin: 12vh auto; background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 28px; }
.login label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 14px; }
.login .btn { width: 100%; }

/* Réordonnancement des artistes */
.ordcol { width: 110px; }
.handle { cursor: grab; font-size: 20px; color: #999; padding: 4px 8px 4px 2px; user-select: none; vertical-align: middle; }
.handle:hover { color: #1a1a1a; }
.arrow { border: 1px solid #ddd; background: #fff; border-radius: 4px; font-size: 10px; line-height: 1; padding: 5px 6px; margin-left: 2px; cursor: pointer; color: #555; vertical-align: middle; }
.arrow:hover { border-color: #888; color: #000; }

tr.dragging { opacity: .35; }
tr.drop-before td { box-shadow: inset 0 3px 0 #d9552b; }
tr.drop-after td { box-shadow: inset 0 -3px 0 #d9552b; }
tr.moved td { animation: flashrow 1s ease; }
@keyframes flashrow { from { background: #fff1d6; } to { background: transparent; } }
.saved { min-height: 1.4em; margin: 0 0 8px; font-size: 13px; color: #1e6b3a; }
.saved.err { color: #b3261e; }
.tbl tr.group-head td { background: #f1f1ee; color: #777; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; padding: 10px; border-top: 2px solid #ddd; }
tbody tr[data-id]:first-child .arrow.up, tr.group-head + tr .arrow.up, tbody tr:last-child .arrow.down { visibility: hidden; }

/* --- Hub multi-sites --- */
:root { --rh: #d9552b; --cap: #2f5bb7; --ve: #c0392b; }
.tabs { display: flex; gap: 4px; margin: 0 0 14px; border-bottom: 1px solid #ddd; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; text-decoration: none; color: #555; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; font-weight: 600; }
.tabs a.on { background: #fff; border-color: #ddd; color: #1a1a1a; margin-bottom: -1px; }
.tabs a.t-rockethouse.on { box-shadow: inset 0 3px 0 var(--rh); } .tabs a.t-capitane.on { box-shadow: inset 0 3px 0 var(--cap); } .tabs a.t-verite.on { box-shadow: inset 0 3px 0 #E23220; }
.presence { display: flex; gap: 4px; }
.presence .switch { min-width: 0; padding: 4px 9px; font-size: 11px; }
.switch.on.s-rockethouse { background: var(--rh); color: #fff; } .switch.on.s-capitane { background: var(--cap); color: #fff; } .switch.on.s-verite { background: #E23220; color: #fff; }
.sdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 3px; }
.sdot.s-rockethouse { background: var(--rh); } .sdot.s-capitane { background: var(--cap); } .sdot.s-verite { background: #E23220; }
h2.sec { margin-top: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: #777; }
.sitebox { border: 1px solid #e5e5e5; border-radius: 8px; padding: 0 16px; margin: 16px 0; background: #fcfcfb; }
.sitebox[open] { padding-bottom: 8px; }
.sitebox summary { cursor: pointer; padding: 12px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; align-items: center; gap: 10px; }
.sitebox summary small { font-weight: 400; color: #888; }
.sitebox summary .dot { width: 12px; height: 12px; border-radius: 50%; }
.sitebox.s-rockethouse summary .dot { background: var(--rh); } .sitebox.s-capitane summary .dot { background: var(--cap); } .sitebox.s-verite summary .dot { background: #E23220; }
.multi { border: 1px solid #ccc; border-radius: 6px; margin: 4px 0 14px; background: #fff; }
.multi-filter { border: 0 !important; border-bottom: 1px solid #eee !important; border-radius: 6px 6px 0 0 !important; margin: 0 !important; }
.multi-list { max-height: 220px; overflow: auto; padding: 6px 10px; columns: 2; }
.multi-list label { display: block; font-weight: 400; margin: 0 0 4px; font-size: 14px; break-inside: avoid; }
.multi-list label[hidden] { display: none; }
.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.cover { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 8px; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.cover.off { opacity: 1; } .cover small { color: #888; }
.actions.sticky { position: sticky; bottom: 0; background: #fff; padding: 12px 0; border-top: 1px solid #eee; }
.nocover { width: 100%; aspect-ratio: 1; border: 2px dashed #e0b4a4; border-radius: 4px; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; text-align: center; color: #c0392b; font-size: 12px; background: #fff7f3; }
.cover { position: relative; }
.preo { position: absolute; top: 14px; left: 14px; background: #1a1a1a; color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 99px; }
.rel-ctl { display: flex; align-items: center; gap: 2px; margin-top: 6px; flex-wrap: wrap; }
.rel-ctl form { margin: 0; }
.fmt { width: 26px; height: 26px; border: 1px solid #e3e3e3; background: #fff; border-radius: 5px; padding: 3px; color: #bbb; cursor: pointer; display: flex; }
.fmt svg { width: 100%; height: 100%; } .fmt.on { color: #1a1a1a; border-color: #1a1a1a; }
.rel-ctl .vis { margin-left: auto; } .rel-ctl .switch { font-size: 10px; padding: 4px 8px; min-width: 0; }
.cover.off { opacity: 1; } .cover.off .rel-ctl { opacity: 1; }
/* Fiche sortie */
.rel-top { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
@media (max-width: 800px) { .rel-top { grid-template-columns: 1fr; } }
.rel-cover { position: relative; }
.rel-cover img, .rel-cover .nocover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.rel-cover .preo { top: 10px; left: 10px; }
.fmt-pick { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 4px; }
.fmt-pick label { display: flex !important; flex-direction: column; align-items: center; gap: 4px; width: 92px; padding: 10px 6px; border: 1px solid #ddd; border-radius: 8px; cursor: pointer; color: #aaa; font-weight: 400 !important; margin: 0 !important; }
.fmt-pick label.on { border-color: #1a1a1a; color: #1a1a1a; background: #fafaf8; }
.fmt-pick input { display: none; } .fmt-pick svg { width: 30px; height: 30px; } .fmt-pick span { font-size: 12px; }
.tracks td { padding: 4px 6px; } .tracks input { width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: 4px; font: inherit; font-size: 13px; }
.tracks input.xs { width: 82px; } .tracks input.num.xs { width: 46px; } .tracks input.sm { width: 130px; }
.tracks td.handle { cursor: grab; color: #aaa; font-size: 18px; width: 20px; }
.tracks tr.new input { background: #fcfcfb; } .tracks tr.removed { opacity: .35; } .tracks tr.dragging { opacity: .4; }
.cover-link { color: inherit; text-decoration: none; } .cover-link:hover { text-decoration: underline; }
.mini.sq { width: 40px; height: 40px; }
h2 .btn { vertical-align: middle; margin-left: 10px; }
.tracks td.ttl { width: 34%; } .tracks input.sm { width: 120px; }
.tracks input::placeholder { color: #c8c8c8; }
/* aperçu « Plusieurs dates » */
.bulk-preview tr.st-new td { background: #eef7ee; }
.bulk-preview tr.st-same td, .bulk-preview tr.st-dup td { color: #888; }
.bulk-preview tr.st-diff td { background: #fff6e5; }
.bulk-preview select { min-width: 12em; }
/* agenda : suppression groupée */
.bulkbar { margin: 0 0 8px; display: flex; gap: 10px; align-items: center; }
.tbl th.chk, .tbl td.chk { width: 28px; text-align: center; }
.pill.dupe { background: #fde2d6; color: #a2391a; }

/* croix de suppression en fin de ligne */
form.inline{display:inline;margin:0}
.btn.xdel{min-width:2em;padding-left:.5em;padding-right:.5em}

/* numéro d'ordre des artistes d'une date */
.multi-list .ord{display:inline-block;margin-left:.4em;min-width:1.4em;padding:0 .35em;border-radius:1em;background:#e8590c;color:#fff;font-size:.8em;font-weight:600;text-align:center;line-height:1.5}

/* --- S2b : sorties --- */
:root { --jb: #c9a227; --condor: #3a8d6b; }
.tabs a.t-justbegun.on { box-shadow: inset 0 3px 0 var(--jb); } .tabs a.t-condor.on { box-shadow: inset 0 3px 0 var(--condor); }
.sdot.s-justbegun { background: var(--jb); } .sdot.s-condor { background: var(--condor); }
.switch.on.s-justbegun { background: var(--jb); color: #fff; } .switch.on.s-condor { background: var(--condor); color: #fff; }
.pill.rs-prep { background: #fff1c2; color: #7a5a00; } .pill.rs-ready { background: #dcebff; color: #1d4f9c; } .pill.rs-published { background: #e3f3e6; color: #24653a; }
.pill.warn { background: #fde2d6; color: #a2391a; }
.ok { color: #24653a; font-size: 13px; }
h2.month { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid #ddd; padding-bottom: 6px; margin-top: 30px; }
h2.month small { font-weight: normal; } h2.month.now { color: var(--rh); border-color: var(--rh); }
.tbl.timeline td { vertical-align: middle; } .tbl.timeline small { display: block; }
.tl-date { width: 92px; color: #444; } .tl-cover { width: 44px; }
.tl-links a { font-size: 12px; margin-right: 6px; }
.mini.sq.empty { display: block; background: repeating-linear-gradient(45deg, #eee, #eee 4px, #f6f6f6 4px, #f6f6f6 8px); }
.filterbar .filters { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
section.suivi { background: #fafaf5; border: 1px solid #e6e3d3; border-radius: 6px; padding: 16px 18px; margin: 22px 0; }
section.suivi h2.sec small { text-transform: none; letter-spacing: 0; font-weight: normal; }
.form label a.open { font-size: 12px; float: right; font-weight: normal; }
.tbl.promo input, .tbl.promo select { margin: 0; } .tbl.promo td { padding: 3px 4px; } .tbl.promo tr.removed { opacity: .35; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tool { background: #fff; border: 1px solid #e3e3e3; border-radius: 6px; padding: 14px 16px; }
.tool h3 { margin-top: 0; } .tool input[type=file] { display: block; margin: 8px 0 10px; }
.tbl.timeline { table-layout: fixed; }
.tbl.timeline td:nth-child(1) { width: 104px; } .tbl.timeline td:nth-child(2) { width: 52px; } .tbl.timeline td:nth-child(4) { width: 190px; }
.tbl.timeline td:nth-child(5) { width: 128px; } .tbl.timeline td:nth-child(6) { width: 165px; } .tbl.timeline td:nth-child(7) { width: 96px; } .tbl.timeline td:nth-child(8) { width: 210px; white-space: normal; }
.tbl.promo th:nth-child(1) { width: 80px; } .tbl.promo th:nth-child(4) { width: 96px; } .tbl.promo th:nth-child(6) { width: 44px; }
.cover.cpick { cursor: pointer; } .cover.cpick img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 3px; } .cover.cpick span { display: block; margin-top: 6px; font-size: 13px; }

/* --- Checklist de sortie + badges de type (21.11) --- */
.kb { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 1px 6px; border-radius: 3px; margin-right: 4px; vertical-align: 1px; }
.kb-album { background: #1f1f1f; color: #fff; } .kb-ep { background: #2f5bb7; color: #fff; } .kb-single { background: #e9e6dc; color: #555; } .kb-compilation { background: #8a5a9e; color: #fff; }
.covers .cover { position: relative; } .covers .cover > .kb { position: absolute; top: 6px; left: 6px; z-index: 2; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.covers .cover.k-album img, .covers .cover.k-album .nocover { box-shadow: 0 0 0 3px #1f1f1f; } .covers .cover.k-ep img, .covers .cover.k-ep .nocover { box-shadow: 0 0 0 2px #2f5bb7; }
.covers .cover.k-single img, .covers .cover.k-single .nocover { transform: scale(.86); transform-origin: top center; }
.st-auto { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 22px; } .st-auto .lbl { font-weight: 600; font-size: 14px; }
.checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 6px 22px; }
.ck-phase h4 { margin: 10px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #777; }
label.ck { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 6px; font-weight: normal; font-size: 13.5px; padding: 4px 6px; margin: 0; border-radius: 4px; cursor: pointer; }
label.ck input { margin: 0; width: 16px; height: 16px; } label.ck.auto { cursor: default; }
.ckbox { width: 16px; height: 16px; border: 1px dashed #aaa; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #24653a; }
.ck-d { font-size: 12px; color: #666; white-space: nowrap; text-align: right; }
label.ck.st-done .ck-l { color: #888; text-decoration: line-through; text-decoration-color: #bbb; } label.ck.st-done .ckbox { border: 1px solid #24653a; background: #e3f3e6; }
label.ck.st-late { background: #fde2d6; } label.ck.st-late .ck-d { color: #a2391a; font-weight: 700; }
label.ck.st-soon { background: #fff1c2; } label.ck.st-soon .ck-d { color: #7a5a00; font-weight: 700; }
.late-t { color: #a2391a; } .soon-t { color: #7a5a00; }
a.prog { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; text-decoration: none; }
.prog-done { background: #e3f3e6; color: #24653a; } .prog-todo { background: #eee; color: #444; } .prog-soon { background: #fff1c2; color: #7a5a00; } .prog-late { background: #fde2d6; color: #a2391a; font-weight: 600; }
td small.ok { display: block; }
details.ckwrap { margin: 18px 0 8px; border: 1px solid #e6e3d3; border-radius: 6px; background: #fff; }
details.ckwrap > summary { cursor: pointer; padding: 10px 14px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
details.ckwrap > summary::-webkit-details-marker { display: none; }
details.ckwrap > summary::before { content: '▸'; color: #999; } details.ckwrap[open] > summary::before { content: '▾'; }
details.ckwrap .ck-toggle { margin-left: auto; font-size: 12px; color: #2f5bb7; }
details.ckwrap > .checklist, details.ckwrap > p.hint { padding: 0 14px; } details.ckwrap > p.hint { padding-bottom: 12px; }
/* Sorties : les albums ressortent (fond léger sur toute la ligne), EP plus discret, singles neutres */
.tbl.timeline tr.tl-k-album td, .tbl.timeline tr.tl-k-compilation td { background: #f6efe0; }
.tbl.timeline tr.tl-k-album td:first-child { box-shadow: inset 4px 0 0 #1f1f1f; }
.tbl.timeline tr.tl-k-album a b, .tbl.timeline tr.tl-k-album td:nth-child(3) > a { font-weight: 700; font-size: 15px; }
.tbl.timeline tr.tl-k-ep td { background: #f1f5fc; } .tbl.timeline tr.tl-k-ep td:first-child { box-shadow: inset 4px 0 0 #2f5bb7; }
.tbl.cklist-edit td { padding: 3px 4px; } .tbl.cklist-edit input, .tbl.cklist-edit select { margin: 0; }
.tbl.cklist-edit { table-layout: fixed; width: 100%; }
.tbl.cklist-edit th:nth-child(1) { width: 140px; } .tbl.cklist-edit th:nth-child(3) { width: 66px; }
.tbl.cklist-edit th:nth-child(4) { width: 118px; } .tbl.cklist-edit th:nth-child(5) { width: 190px; } .tbl.cklist-edit th:nth-child(6) { width: 96px; } .tbl.cklist-edit th:nth-child(7) { width: 140px; }
.tbl.cklist-edit input, .tbl.cklist-edit select { width: 100%; box-sizing: border-box; padding-left: 6px; padding-right: 4px; }

.checklist.chrono { display: block; column-count: 2; column-gap: 28px; padding-top: 6px; } .checklist.chrono label.ck { break-inside: avoid; }
.ck-ph { display: inline-block; margin-left: 4px; font-size: 10.5px; color: #999; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 900px) { .checklist.chrono { column-count: 1; } }
.tbl.cklist-edit th:nth-child(8) { width: 44px; } .tbl.cklist-edit tr.removed td { opacity: .35; text-decoration: line-through; } .tbl.cklist-edit tr.removed td:last-child { opacity: 1; }
details.ckwrap .ck-edit { margin-left: auto; font-size: 12px; color: #777; text-decoration: none; } details.ckwrap .ck-edit:hover { color: #2f5bb7; text-decoration: underline; }
details.ckwrap .ck-edit + .ck-toggle { margin-left: 12px; }
details.ckwrap > p.ck-top { margin: 0; padding: 0 14px; text-align: right; font-size: 12.5px; } details.ckwrap > p.ck-top a { color: #777; } details.ckwrap > p.ck-top a:hover { color: #2f5bb7; }

/* --- Fiche sortie : mode lecture (21.11) --- */
.rel-cancel { display: none; } body.reledit .rel-cancel { display: inline-block; } body.reledit .rel-edit { display: none; }
body:not(.relview):not(.reledit) .rel-edit { display: none; } /* sans JS : formulaire directement modifiable */
body:not(.relview):not(.reledit) .rel-cancel { display: none; }
.viewmode input:not([type=hidden]):not([type=checkbox]), .viewmode textarea, .viewmode select { display: none !important; }
.viewmode label > input[type=file], .viewmode .rel-cover label, .viewmode .rel-cover label.inline { display: none; }
.viewmode .view-val { display: block; padding: 6px 0 4px; min-height: 1.2em; font-size: 15px; line-height: 1.45; word-break: break-word; color: #222; }
.viewmode td .view-val { padding: 3px 4px; font-size: 14px; }
.viewmode label.v-empty { display: none; }
.viewmode label { font-weight: 600; font-size: 12px; color: #777; text-transform: none; }
.viewmode .fmt-pick label:not(.on) { display: none !important; } .viewmode .fmt-pick label { pointer-events: none; }
.viewmode label.inline:has(input[type=checkbox]:not(:checked)):not(.ck) { display: none; } .viewmode label.inline { pointer-events: none; }
.viewmode #tracks tr.new, .viewmode #promo tr.new, .viewmode .tdel, .viewmode .pdel, .viewmode #add-track, .viewmode #add-promo, .viewmode .hint:not(#checklist .hint) { display: none; }
.viewmode .handle { visibility: hidden; width: 10px; } .viewmode #tracks td .view-val { white-space: normal; } .viewmode #tracks td:nth-child(5) .view-val, .viewmode #tracks td:nth-child(6) .view-val { white-space: nowrap; }
.viewmode .actions.sticky, body.relview form.rel-del { display: none; }
.viewmode .tbl.promo select[name="p[sent][]"] + .view-val { font-weight: 600; }
.viewmode .open { display: none; } /* « ouvrir ↗ » : le lien lui-même est cliquable */
p.mailall { margin: 4px 0 10px; font-size: 13.5px; } p.mailall a { font-weight: 600; }
.viewmode #checklist label.ck input { pointer-events: auto; }

.viewmode span.inline:has(input[type=checkbox]:not(:checked)) { display: none; } .viewmode span.inline { pointer-events: none; }
.viewmode .v-hide { display: none !important; }
/* Sorties : filtres à cases à cocher (22.11.2026) */
.filterbar .checks { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; }
.filterbar .chk { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 6px; font-size: 13px; cursor: pointer; color: #888; user-select: none; }
.filterbar .chk input { margin: 0; }
.filterbar .chk.on { background: #fff; color: #111; box-shadow: 0 0 0 1px #ccc; }
.filterbar .chk .sdot { margin-right: 0; }
.filterbar .fbox { display: contents; }
.filterbar .fbox > summary { list-style: none; cursor: pointer; margin-left: auto; }
.filterbar .fbox > summary::-webkit-details-marker { display: none; }
.filterbar .fbox[open] > .filters { order: 9; flex-basis: 100%; justify-content: flex-end; margin-left: 0; }
.filterbar .factive { font-size: 13px; color: #555; margin-left: auto; }
.filterbar .factive ~ .fbox > summary { margin-left: 0; }
.filterbar .factive a { text-decoration: none; margin-left: 4px; color: #b33; font-weight: 600; }

/* Recentrage « Hub Capitane » (S2c, 22.11.2026) : séparation gestion / publication dans le menu ; sortie masquée = plus grisée */
.bar nav .nav-sep { display: inline-block; width: 1px; height: 18px; background: rgba(255,255,255,.25); margin: 0 8px; vertical-align: middle; }
.cover.off img { outline: 1px dashed #bbb; outline-offset: -1px; }
.subnav { margin: 4px 0 14px; display: flex; gap: 6px; }
.artists-all .lbl { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; margin-right: 6px; }
.artists-all tr.off td { opacity: .5; } .artists-all tr.off td:last-child { opacity: 1; }
.inline-form { display: inline; } .btn.ghost { background: transparent; border-color: transparent; color: #888; } .btn.ghost:hover { color: #111; border-color: #ccc; }
/* Fiche artiste : liste des vidéos (22.11.2026) */
.vlist { list-style: none; margin: 4px 0 10px; padding: 0; border: 1px solid #e3e3e3; border-radius: 8px; background: #fff; }
.vlist li { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-top: 1px solid #eee; }
.vlist li:first-child { border-top: 0; }
.vlist .handle { cursor: grab; color: #aaa; }
.vlist .vthumb { flex: 0 0 96px; height: 54px; background: #eee; border-radius: 4px; overflow: hidden; }
.vlist .vthumb img { width: 96px; height: 54px; object-fit: cover; display: block; }
.vlist .vtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vlist .vtxt b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.vlist li.hid .vthumb, .vlist li.hid .vtxt > a { opacity: .4; }
.vlist li.soon .vthumb { opacity: .55; } .vlist li.soon .vtxt small { color: #b26b00; }
.vlist li.dragging { opacity: .4; }
/* Tracklist : numéro de piste affiché (suit l'ordre, y compris après glisser-déposer ; renuméroté par disque à l'enregistrement) */

/* --- S7a : titres dépliables, label copy (musiciens, droits), fonctions techniques (22.11) --- */
.trk-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; } .trk-tools #trk-sum { font-size: 13px; margin-left: 6px; }
.trklist { counter-reset: trk; display: flex; flex-direction: column; gap: 6px; }
.trk { background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; }
.trk:not(.new):not(.removed) { counter-increment: trk; }
.trk.removed { opacity: .35; } .trk.dragging { opacity: .4; }
.trk-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.trk-row input { width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: 4px; font: inherit; font-size: 13px; margin: 0; }
.trk-row input::placeholder { color: #c8c8c8; } .trk.new .trk-row input { background: #fcfcfb; }
.trk .handle { cursor: grab; color: #aaa; font-size: 18px; width: 16px; flex: none; }
.trk-tog { border: 0; background: none; cursor: pointer; color: #666; font-size: 13px; width: 20px; padding: 0; flex: none; }
.trk.new .trk-tog { visibility: hidden; }
.trk .tnum { color: #888; font-variant-numeric: tabular-nums; width: 1.8em; text-align: right; flex: none; }
.trk:not(.new):not(.removed) .tnum::before { content: counter(trk); }
.trk .ttl { flex: 1 1 30%; min-width: 160px; } .trk .ttl input { font-weight: 600; font-size: 14px; }
.trk .tver { flex: 0 1 130px; } .trk .tdur { flex: 0 0 84px; } .trk .tisrc { flex: 0 0 130px; }
.trk-pills { flex: 0 1 auto; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; min-width: 120px; }
.trk-pills .pill { white-space: nowrap; } .pill.lcw { background: #fde9c8; color: #8a5300; }
.trk.new .trk-pills { visibility: hidden; }
.trk-det { display: none; border-top: 1px solid #eee; padding: 12px 16px 14px 52px; background: #fbfbfa; border-radius: 0 0 8px 8px; }
.trk.is-open .trk-det { display: block; }
.lc-cols { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(560px, 1.75fr); gap: 26px; }
.lc-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; position: relative; flex-wrap: wrap; gap: 6px; }
table.lc { width: 100%; border-collapse: collapse; }
table.lc th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #888; font-weight: 600; padding: 2px 4px; }
table.lc td { padding: 2px 3px; }
table.lc input, table.lc select { width: 100%; padding: 5px 7px; border: 1px solid #ddd; border-radius: 4px; font: inherit; font-size: 13px; margin: 0; background: #fff; }
table.lc th.pct, table.lc td.pct { width: 64px; } table.lc td.pct input { text-align: right; }
table.lc td:has(.lc-ipi) { width: 112px; } table.lc td:has(.lc-soc) { width: 88px; } table.lc td:has(.lc-role) { width: 140px; } table.lc th.pct, table.lc td.pct { width: 58px; }
.lc-m table.lc td:first-child { width: 42%; } table.lc td:last-child { width: 22px; }
.form .trk-row input:not([type=checkbox]), .form table.lc input:not([type=checkbox]), .form table.lc select, .form .tbl.lcfn input:not([type=checkbox]) { padding: 5px 7px; height: auto; min-height: 0; margin: 0; font-size: 13px; line-height: 1.3; }
.form .trk .ttl input:not([type=checkbox]) { font-size: 14px; }
table.lc tfoot td { padding-top: 6px; font-size: 13px; text-align: right; white-space: nowrap; } table.lc tfoot td.right { color: #555; }
table.lc tfoot b.ok { color: #24653a; } table.lc tfoot b.ko { color: #a2391a; }
.lcdel { border: 0; background: none; color: #aaa; cursor: pointer; font-size: 13px; padding: 2px 4px; } .lcdel:hover { color: #b3261e; }
.lnk { border: 0; background: none; padding: 0; color: #2f5bb7; cursor: pointer; font: inherit; font-size: 13px; } .lnk:hover { text-decoration: underline; }
.lc-add { margin: 4px 0 0 4px; }
.lc-pop { position: absolute; right: 0; top: 100%; z-index: 3; background: #fff; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.12); padding: 8px 10px; font-size: 13px; white-space: nowrap; }
.lc-ok { color: #24653a; font-size: 13px; }
.trk-shared { margin: 0 0 10px; font-size: 13px; background: #eef4ff; border: 1px solid #d5e2fb; border-radius: 6px; padding: 6px 10px; }
.trk-imp { margin: 10px 0 0; font-size: 12px; }
.tbl.lcfn td { padding: 4px 6px; } .tbl.lcfn input { width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: 4px; font: inherit; font-size: 13px; margin: 0; }
.tbl.lcfn td:first-child { width: 22%; } .tbl.lcfn td:nth-child(2) { width: 32%; } .tbl.lcfn td:last-child { width: 44px; }
.tbl.lcfn tr.new input { background: #fcfcfb; } .tbl.lcfn input::placeholder { color: #c8c8c8; }
.lcfn-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .lc-prod { margin-top: 10px; }
@media (max-width: 900px) { .lc-cols { grid-template-columns: 1fr; } .trk-det { padding-left: 14px; } }
/* mode lecture */
.viewmode .trk.new, .viewmode .lcdel, .viewmode .lc-add, .viewmode .lc-copy, .viewmode .lc-split, .viewmode .lc-imp, .viewmode #lcfn tr.new, .viewmode .fdel, .viewmode .lcfn-tools { display: none; }
.viewmode .trk-row .view-val { padding: 3px 4px; font-size: 14px; } .viewmode .trk .ttl .view-val { font-weight: 600; }
.viewmode .trk .tver .view-val, .viewmode .trk .tdur .view-val, .viewmode .trk .tisrc .view-val { color: #666; font-size: 13px; white-space: nowrap; }
.viewmode table.lc td .view-val { padding: 3px 4px; font-size: 13px; }
.viewmode .lc-r tfoot td.right b { display: inline; }


/* S3 : comptes */
.pill.u-ok { background: #e6f4ea; color: #1e6b34; } .pill.u-inv { background: #fdf0d9; color: #8a5300; } .pill.u-off { background: #eee; color: #888; }
.tbl.users td.u-act { text-align: right; white-space: nowrap; } .tbl.users td.u-act form { display: inline-block; margin-left: 4px; }
.manual-link { margin: 0 0 16px; background: #fffbea; border-color: #f0d98a; }
.manual-link input { width: 100%; max-width: 640px; margin: 8px 0 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; padding: 6px 8px; border: 1px solid #ddd; border-radius: 6px; }
.bar nav a.nav-user { font-weight: 600; }
.login .hint a { color: inherit; }

/* Checklist de sortie, maquette A+C (25.11.2026) : anneau + barres par phase, date en tête de ligne, repère « aujourd'hui » */
details.ckwrap > summary { display: block; padding: 12px 16px 14px; }
details.ckwrap > summary::before { content: none; }
.ck-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ck-ring { flex: none; }
.ck-sum { flex: 1; min-width: 220px; } .ck-sum b { display: block; font-size: 16px; } .ck-sum small { color: #666; }
.ck-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.ckp { font-size: 12px; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.ckp.late { background: #fde2d6; color: #a2391a; } .ckp.soon { background: #fff1c2; color: #7a5a00; } .ckp.ok { background: #e3f3e6; color: #24653a; }
details.ckwrap .ck-toggle { margin-left: 4px; }
details.ckwrap .ck-toggle::before { content: '▸ '; color: #999; } details.ckwrap[open] .ck-toggle::before { content: '▾ '; }
.ck-phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.ck-phase small { display: block; font-size: 11.5px; color: #777; margin-top: 4px; }
.ck-phase small.late { color: #a2391a; } .ck-phase small.soon { color: #7a5a00; } .ck-phase small.ok { color: #24653a; }
.ck-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #ecebe4; }
.ck-bar i { display: block; height: 100%; } .ck-bar .b-done { background: #2f8f5b; } .ck-bar .b-late { background: #c8492a; } .ck-bar .b-soon { background: #e3a92a; }
.checklist.chrono { column-count: 1; padding: 4px 16px 0; }
.checklist.chrono label.ck { grid-template-columns: 74px 20px minmax(0, 1fr) auto; gap: 10px; padding: 7px 8px; border-top: 1px solid #efede6; border-radius: 0; font-size: 14px; }
.checklist.chrono label.ck.st-late, .checklist.chrono label.ck.st-soon { background: none; }
.checklist.chrono .ck-d { text-align: left; font-size: 13px; line-height: 1.2; color: #555; font-weight: 600; }
.checklist.chrono .ck-d small { display: block; font-size: 11px; font-weight: 400; }
.checklist.chrono label.ck.st-late .ck-d { color: #a2391a; } .checklist.chrono label.ck.st-soon .ck-d { color: #7a5a00; }
.checklist.chrono label.ck.st-done .ck-d { color: #999; font-weight: 400; }
.checklist.chrono .ck-ph { margin: 0; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: #f1f0ea; color: #777; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.ck-auto { font-size: 11px; color: #2f5bb7; white-space: nowrap; }
.ck-today { display: flex; gap: 10px; align-items: baseline; border-top: 2px solid #1a1a1a; padding: 3px 8px 6px; font-size: 11.5px; }
.ck-today span { width: 74px; font-weight: 600; } .ck-today small { color: #999; }
details.ck-done { border-top: 1px solid #efede6; margin-top: 4px; }
details.ck-done > summary { cursor: pointer; font-size: 12.5px; color: #777; padding: 10px 8px 6px; list-style: none; }
details.ck-done > summary::-webkit-details-marker { display: none; }
details.ck-done > summary::before { content: '▸ '; } details.ck-done[open] > summary::before { content: '▾ '; }
details.ck-done[open] > summary { color: #555; }
.ck-empty { padding: 8px; }
@media (max-width: 640px) { .checklist.chrono label.ck { grid-template-columns: 58px 20px minmax(0, 1fr); } .checklist.chrono .ck-ph { display: none; } }
.checklist.chrono .ck-l { font-weight: 400; }
